Refactor API calls to use csrfFetch for enhanced security across multiple views, including loop-monitor, mcp-manager, memory, prompt-history, rules-manager, session-detail, and skills-manager. Additionally, add Phase 1 and Phase 2 documentation for session initialization and orchestration loop in the ccw-loop-b skill.

This commit is contained in:
catlog22
2026-02-07 10:54:12 +08:00
parent f7dfbc0512
commit 92b0d175a7
49 changed files with 2003 additions and 480 deletions

View File

@@ -8,7 +8,7 @@ export default defineConfig({
workers: process.env.CI ? 1 : undefined,
reporter: 'html',
use: {
baseURL: 'http://localhost:5173',
baseURL: 'http://localhost:5173/react/',
trace: 'on-first-retry',
},
projects: [
@@ -27,7 +27,7 @@ export default defineConfig({
],
webServer: {
command: 'npm run dev',
url: 'http://localhost:5173',
url: 'http://localhost:5173/react/',
reuseExistingServer: !process.env.CI,
timeout: 120 * 1000,
},