Skip to content

Self-hosted, Self-Improving, Federated Everything App — dev management, agent orchestration, persistent mind, digital twin, second brain, and creative pipeline from a single dashboard over Tailscale to port the user into the OS

feat: add API explorer and agent tool interface (#5248)

[._.]/ Adam Eivy3c2abdc6a9e4
diff --git a/README.md b/README.md
index e9ee13e3a3..d1b60cb1c5 100644
--- a/README.md
+++ b/README.md
@@ -237,7 +237,7 @@ Everything you need to manage your dev environment without leaving the browser.
- **Flows** — Rendered architecture/data-flow diagrams of how PortOS subsystems and integrations actually connect
- **Video Downloader** — Pull clips from YouTube/X via `yt-dlp` into the media library
- **Local LLM Playground** — Side-by-side comparison of local Ollama/LM Studio models with TTFT and tokens/sec
-- **API Access** — Public REST surface (OpenAPI/Swagger) for the TTS, image, and voice endpoints, with explicit auth gating
+- **API Explorer** — Searchable complete HTTP and Socket.IO inventories, rendered OpenAPI 3.1, AsyncAPI 3, and governed agent-tool contracts; external TTS/image exposure remains explicitly gated
- **Templates** — Scaffold new apps from pre-built templates wired up to your AI providers
- **Review Hub** — Single inbox for actionable items (CoS approvals, alerts, todos, briefings) across every PortOS subsystem
@@ -425,7 +425,7 @@ Full catalog (including design plans, ADRs, and research notes): [docs/README.md
- [Voice Mode](./docs/features/voice.md) — local STT/TTS/LLM voice assistant setup
- [Chief of Staff](./docs/features/chief-of-staff.md) — Autonomous agent orchestrator
- [Operational Goals](./docs/GOALS_OPERATIONAL.md) — Runtime priorities the CoS reads when generating work
-- [Agent Context](./docs/features/agent-context.md) — Per-task execution context and history tracking
+- [Agent Tools (MCP)](./docs/features/agent-context.md) — Loopback-only bounded context plus independently granted semantic PortOS tools for local CoS agents
- [Agent Skills](./docs/features/agent-skills.md) — Task-type-specific agent prompts
- [Claude on Ollama](./docs/features/claude-ollama.md) — Run agent tasks on a local model
- [CoS Agent Runner](./docs/features/cos-agent-runner.md) — Isolated agent process architecture
diff --git a/client/package-lock.json b/client/package-lock.json
index cd8e47b9fe..9ad8a3728c 100644
--- a/client/package-lock.json
+++ b/client/package-lock.json
@@ -12,6 +12,7 @@
"@dnd-kit/sortable": "10.0.0",
"@react-three/drei": "10.7.8",
"@react-three/fiber": "9.7.0",
+ "@scalar/api-reference-react": "0.9.65",
"@xterm/addon-fit": "0.11.0",
"@xterm/addon-web-links": "0.12.0",
"@xterm/xterm": "6.0.0",
@@ -50,6 +51,69 @@
"dev": true,
"license": "MIT"
},
+ "node_modules/@ai-sdk/gateway": {
+ "version": "3.0.13",
+ "resolved": "https://registry.npmjs.org/@ai-sdk/gateway/-/gateway-3.0.13.tgz",
+ "integrity": "sha512-g7nE4PFtngOZNZSy1lOPpkC+FAiHxqBJXqyRMEG7NUrEVZlz5goBdtHg1YgWRJIX776JTXAmbOI5JreAKVAsVA==",
+ "license": "Apache-2.0",
+ "dependencies": {
+ "@ai-sdk/provider": "3.0.2",
+ "@ai-sdk/provider-utils": "4.0.5",
+ "@vercel/oidc": "3.1.0"
+ },
+ "engines": {
+ "node": ">=18"
+ },
+ "peerDependencies": {
+ "zod": "^3.25.76 || ^4.1.8"
+ }
+ },
+ "node_modules/@ai-sdk/provider": {
+ "version": "3.0.2",
+ "resolved": "https://registry.npmjs.org/@ai-sdk/provider/-/provider-3.0.2.tgz",
+ "integrity": "sha512-HrEmNt/BH/hkQ7zpi2o6N3k1ZR1QTb7z85WYhYygiTxOQuaml4CMtHCWRbric5WPU+RNsYI7r1EpyVQMKO1pYw==",
+ "license": "Apache-2.0",
+ "dependencies": {
+ "json-schema": "^0.4.0"
+ },
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@ai-sdk/provider-utils": {
+ "version": "4.0.5",
+ "resolved": "https://registry.npmjs.org/@ai-sdk/provider-utils/-/provider-utils-4.0.5.tgz",
+ "integrity": "sha512-Ow/X/SEkeExTTc1x+nYLB9ZHK2WUId8+9TlkamAx7Tl9vxU+cKzWx2dwjgMHeCN6twrgwkLrrtqckQeO4mxgVA==",
+ "license": "Apache-2.0",
+ "dependencies": {
+ "@ai-sdk/provider": "3.0.2",
+ "@standard-schema/spec": "^1.1.0",
+ "eventsource-parser": "^3.0.6"
+ },
+ "engines": {
+ "node": ">=18"
+ },
+ "peerDependencies": {
+ "zod": "^3.25.76 || ^4.1.8"
+ }
+ },
+ "node_modules/@ai-sdk/vue": {
+ "version": "3.0.33",
+ "resolved": "https://registry.npmjs.org/@ai-sdk/vue/-/vue-3.0.33.tgz",
+ "integrity": "sha512-czM9Js3a7f+Eo35gjEYEeJYUoPvMg5Dfi4bOLyDBghLqn0gaVg8yTmTaSuHCg+3K/+1xPjyXd4+2XcQIohWWiQ==",
+ "license": "Apache-2.0",
+ "dependencies": {
+ "@ai-sdk/provider-utils": "4.0.5",
+ "ai": "6.0.33",
+ "swrv": "^1.0.4"
+ },
+ "engines": {
+ "node": ">=18"
+ },
+ "peerDependencies": {
+ "vue": "^3.3.4"
+ }
+ },
"node_modules/@alloc/quick-lru": {
"version": "5.2.0",
"resolved": "https://registry.npmjs.org/@alloc/quick-lru/-/quick-lru-5.2.0.tgz",
@@ -131,16 +195,39 @@
"node": ">=6.9.0"
}
},
+ "node_modules/@babel/helper-string-parser": {
+ "version": "7.29.7",
+ "resolved": "https://registry.npmjs.org/@babel/helper-string-parser/-/helper-string-parser-7.29.7.tgz",
+ "integrity": "sha512-Pb5ijPrZ89GDH8223L4UP8i6QApWxs04RbPQJTeWDV0/keR2E36MeKnyr6LYmUUvqRRI+Iv87SuF1W6ErINzYw==",
+ "license": "MIT",
+ "engines": {
+ "node": ">=6.9.0"
+ }
+ },
"node_modules/@babel/helper-validator-identifier": {
"version": "7.29.7",
"resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.29.7.tgz",
"integrity": "sha512-qehxGkRj55h/ff8EMaJ+cYhyaKlHIxqYDn682wQD7RNp9UujOQsHog2uS0r2vzr4pW+sXf90NeeayjcNaX3fFg==",
- "dev": true,
"license": "MIT",
"engines": {
"node": ">=6.9.0"
}
},
+ "node_modules/@babel/parser": {
+ "version": "7.29.8",
+ "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.29.8.tgz",
+ "integrity": "sha512-E8lTAYNB1KW+FH+VGJuZM1ioAx2E6oVlvQFRrf5P8ZZmsiJXYAD9vTFV7yyEURNzgh1dFqMZuO6tUwcARbqFCA==",
+ "license": "MIT",
+ "dependencies": {
+ "@babel/types": "^7.29.8"
+ },
+ "bin": {
+ "parser": "bin/babel-parser.js"
+ },
+ "engines": {
+ "node": ">=6.0.0"
+ }
+ },
"node_modules/@babel/runtime": {
"version": "7.29.7",
"resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.29.7.tgz",
@@ -150,6 +237,19 @@
"node": ">=6.9.0"
}
},
+ "node_modules/@babel/types": {
+ "version": "7.29.8",
+ "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.29.8.tgz",
+ "integrity": "sha512-Vj1jF3cPfxg7OAfoI7QnVKLoILlm2JF9pnVHrX8qx7AHMiYWT+NDAA7jChlNgRS4WTLc/fD1lXLmPixluj+3Gg==",
+ "license": "MIT",
+ "dependencies": {
+ "@babel/helper-string-parser": "^7.29.7",
+ "@babel/helper-validator-identifier": "^7.29.7"
+ },
+ "engines": {
+ "node": ">=6.9.0"
+ }
+ },
"node_modules/@biomejs/biome": {
"version": "2.5.10",
"resolved": "https://registry.npmjs.org/@biomejs/biome/-/biome-2.5.10.tgz",
@@ -338,6 +438,160 @@
"specificity": "bin/cli.js"
}
},
+ "node_modules/@codemirror/autocomplete": {
+ "version": "6.20.3",
+ "resolved": "https://registry.npmjs.org/@codemirror/autocomplete/-/autocomplete-6.20.3.tgz",
+ "integrity": "sha512-tlosUqb+3BbxCxZdu4tKeRghPFC+QM7q4X5YhKV2eCmPG+1r2F3f4AaSz5sCrFqUtX4Jh20VFTKecl16MgiV9g==",
+ "license": "MIT",
+ "dependencies": {
+ "@codemirror/language": "^6.0.0",
+ "@codemirror/state": "^6.0.0",
+ "@codemirror/view": "^6.17.0",
+ "@lezer/common": "^1.0.0"
+ }
+ },
+ "node_modules/@codemirror/commands": {
+ "version": "6.11.0",
+ "resolved": "https://registry.npmjs.org/@codemirror/commands/-/commands-6.11.0.tgz",
+ "integrity": "sha512-/K4Rl5BN0OtTiPWmJCdqODu38XnDMsDxKY5rgrPnCkutPTJf2wVbkoixLfealF5Kwse/s8P8M5jAiURiwSwnFA==",
+ "license": "MIT",
+ "dependencies": {
+ "@codemirror/language": "^6.0.0",
+ "@codemirror/state": "^6.7.0",
+ "@codemirror/view": "^6.27.0",
+ "@lezer/common": "^1.1.0"
+ }
+ },
+ "node_modules/@codemirror/lang-css": {
+ "version": "6.3.1",
+ "resolved": "https://registry.npmjs.org/@codemirror/lang-css/-/lang-css-6.3.1.tgz",
+ "integrity": "sha512-kr5fwBGiGtmz6l0LSJIbno9QrifNMUusivHbnA1H6Dmqy4HZFte3UAICix1VuKo0lMPKQr2rqB+0BkKi/S3Ejg==",
+ "license": "MIT",
+ "dependencies": {
+ "@codemirror/autocomplete": "^6.0.0",
+ "@codemirror/language": "^6.0.0",
+ "@codemirror/state": "^6.0.0",
+ "@lezer/common": "^1.0.2",
+ "@lezer/css": "^1.1.7"
+ }
+ },
+ "node_modules/@codemirror/lang-html": {
+ "version": "6.4.12",
+ "resolved": "https://registry.npmjs.org/@codemirror/lang-html/-/lang-html-6.4.12.tgz",
+ "integrity": "sha512-pw2ReWKUqSkbvh76RAT4NYxiogRu+PWkR2ukAwO9uOgrm8uipkzjtKKtNpyeAQwHOqxEeSvAXZ6vr3AfyB9y/w==",
+ "license": "MIT",
+ "dependencies": {
+ "@codemirror/autocomplete": "^6.0.0",
+ "@codemirror/lang-css": "^6.0.0",
+ "@codemirror/lang-javascript": "^6.0.0",
+ "@codemirror/language": "^6.4.0",
+ "@codemirror/state": "^6.0.0",
+ "@codemirror/view": "^6.17.0",
+ "@lezer/common": "^1.0.0",
+ "@lezer/css": "^1.1.0",
+ "@lezer/html": "^1.3.12"
+ }
+ },
+ "node_modules/@codemirror/lang-javascript": {
+ "version": "6.2.5",
+ "resolved": "https://registry.npmjs.org/@codemirror/lang-javascript/-/lang-javascript-6.2.5.tgz",
+ "integrity": "sha512-zD4e5mS+50htS7F+TYjBPsiIFGanfVqg4HyUz6WNFikgOPf2BgKlx+TQedI1w6n/IqRBVBbBWmGFdLB/7uxO4A==",
+ "license": "MIT",
+ "dependencies": {
+ "@codemirror/autocomplete": "^6.0.0",
+ "@codemirror/language": "^6.6.0",
+ "@codemirror/lint": "^6.0.0",
+ "@codemirror/state": "^6.0.0",
+ "@codemirror/view": "^6.17.0",
+ "@lezer/common": "^1.0.0",
+ "@lezer/javascript": "^1.0.0"
+ }
+ },
+ "node_modules/@codemirror/lang-json": {
+ "version": "6.0.2",
+ "resolved": "https://registry.npmjs.org/@codemirror/lang-json/-/lang-json-6.0.2.tgz",
+ "integrity": "sha512-x2OtO+AvwEHrEwR0FyyPtfDUiloG3rnVTSZV1W8UteaLL8/MajQd8DpvUb2YVzC+/T18aSDv0H9mu+xw0EStoQ==",
+ "license": "MIT",
+ "dependencies": {
+ "@codemirror/language": "^6.0.0",
+ "@lezer/json": "^1.0.0"
+ }
+ },
+ "node_modules/@codemirror/lang-xml": {
+ "version": "6.1.0",
+ "resolved": "https://registry.npmjs.org/@codemirror/lang-xml/-/lang-xml-6.1.0.tgz",
+ "integrity": "sha512-3z0blhicHLfwi2UgkZYRPioSgVTo9PV5GP5ducFH6FaHy0IAJRg+ixj5gTR1gnT/glAIC8xv4w2VL1LoZfs+Jg==",
+ "license": "MIT",
+ "dependencies": {
+ "@codemirror/autocomplete": "^6.0.0",
+ "@codemirror/language": "^6.4.0",
+ "@codemirror/state": "^6.0.0",
+ "@codemirror/view": "^6.0.0",
+ "@lezer/common": "^1.0.0",
+ "@lezer/xml": "^1.0.0"
+ }
+ },
+ "node_modules/@codemirror/lang-yaml": {
+ "version": "6.1.3",
+ "resolved": "https://registry.npmjs.org/@codemirror/lang-yaml/-/lang-yaml-6.1.3.tgz",
+ "integrity": "sha512-AZ8DJBuXGVHybpBQhmZtgew5//4hv3tdkXnr3vDmOUMJRuB6vn/uuwtmTOTlqEaQFg3hQSVeA90NmvIQyUV6FQ==",
+ "license": "MIT",
+ "dependencies": {
+ "@codemirror/autocomplete": "^6.0.0",
+ "@codemirror/language": "^6.0.0",
+ "@codemirror/state": "^6.0.0",
+ "@lezer/common": "^1.2.0",
+ "@lezer/highlight": "^1.2.0",
+ "@lezer/lr": "^1.0.0",
+ "@lezer/yaml": "^1.0.0"
+ }
+ },
+ "node_modules/@codemirror/language": {
+ "version": "6.12.4",
+ "resolved": "https://registry.npmjs.org/@codemirror/language/-/language-6.12.4.tgz",
+ "integrity": "sha512-1q4PaT+o6PbgpkJt4Q8Fv5XJxTy4FUZ4MWETtyiDw3J0Pyr9E2vqcKL+k9wcvjNTIsauxvE7OfmWj3FRPHQ76A==",
+ "license": "MIT",
+ "dependencies": {
+ "@codemirror/state": "^6.0.0",
+ "@codemirror/view": "^6.23.0",
+ "@lezer/common": "^1.5.0",
+ "@lezer/highlight": "^1.0.0",
+ "@lezer/lr": "^1.0.0",
+ "style-mod": "^4.0.0"
+ }
+ },
+ "node_modules/@codemirror/lint": {
+ "version": "6.9.7",
+ "resolved": "https://registry.npmjs.org/@codemirror/lint/-/lint-6.9.7.tgz",
+ "integrity": "sha512-28/+iWLYxKxsvGYhSYL7zaCZqLz5+FFFDq9tVsvGv9kv8RY4fFAchJ5WX9M3YrrRlTIsECjsXPqeNgnSmNP2dg==",
+ "license": "MIT",
+ "dependencies": {
+ "@codemirror/state": "^6.0.0",
+ "@codemirror/view": "^6.42.0",
+ "crelt": "^1.0.5"
+ }
+ },
+ "node_modules/@codemirror/state": {
+ "version": "6.7.1",
+ "resolved": "https://registry.npmjs.org/@codemirror/state/-/state-6.7.1.tgz",
+ "integrity": "sha512-9QzNDgE4EYDnAHfrTlR2lwiPciiOymLtwKK+8yHQzCc7GXhAP9xdEbEJFy2IWB1j9UGUl9BsgMmTo/ImA02T7A==",
+ "license": "MIT",
+ "dependencies": {
+ "@marijn/find-cluster-break": "^1.0.0"
+ }
+ },
+ "node_modules/@codemirror/view": {
+ "version": "6.43.9",
+ "resolved": "https://registry.npmjs.org/@codemirror/view/-/view-6.43.9.tgz",
+ "integrity": "sha512-sTuUzTpPMFebRhg6dawChoKKgndIwfjmJgKVxBefPElcU2NwQ6AFroupk0SFqEerQyZOGRfDNnSN8Dw/lMAsXw==",
+ "license": "MIT",
+ "dependencies": {
+ "@codemirror/state": "^6.7.0",
+ "crelt": "^1.0.6",
+ "style-mod": "^4.1.0",
+ "w3c-keyname": "^2.2.4"
+ }
+ },
"node_modules/@csstools/color-helpers": {
"version": "6.1.0",
"resolved": "https://registry.npmjs.org/@csstools/color-helpers/-/color-helpers-6.1.0.tgz",
@@ -555,6 +809,125 @@
}
}
},
+ "node_modules/@floating-ui/core": {
+ "version": "1.8.0",
+ "resolved": "https://registry.npmjs.org/@floating-ui/core/-/core-1.8.0.tgz",
+ "integrity": "sha512-0CIZ5itps/8x7BG8dEIhs53BvCUH2PCoogtakwRTut+Arm58sJooJ0AuZhLw2HJYIR5cMLNPBSS728sPho2khQ==",
+ "license": "MIT",
+ "dependencies": {
+ "@floating-ui/utils": "^0.2.12"
+ }
+ },
+ "node_modules/@floating-ui/core/node_modules/@floating-ui/utils": {
+ "version": "0.2.12",
+ "resolved": "https://registry.npmjs.org/@floating-ui/utils/-/utils-0.2.12.tgz",
+ "integrity": "sha512-HpCo8tmWzLVad5s2d19EhAz5zqrrQ6s69qd6moPMQvkOuSwDT1YgRfWSVuc4ennqrgv3OHppiOGMQ7oC13yIww==",
+ "license": "MIT"
+ },
+ "node_modules/@floating-ui/dom": {
+ "version": "1.8.0",
+ "resolved": "https://registry.npmjs.org/@floating-ui/dom/-/dom-1.8.0.tgz",
+ "integrity": "sha512-yXSrzeHZBTZadLOlfyhCkJHNeLJnHRnRInwdZ40L7ZiaAtrBwoYlsDrX3v5zB1Utk7CLfzcOVnVVWoXEky7Ceg==",
+ "license": "MIT",
+ "dependencies": {
+ "@floating-ui/core": "^1.8.0",
+ "@floating-ui/utils": "^0.2.12"
+ }
+ },
+ "node_modules/@floating-ui/dom/node_modules/@floating-ui/utils": {
+ "version": "0.2.12",
+ "resolved": "https://registry.npmjs.org/@floating-ui/utils/-/utils-0.2.12.tgz",
+ "integrity": "sha512-HpCo8tmWzLVad5s2d19EhAz5zqrrQ6s69qd6moPMQvkOuSwDT1YgRfWSVuc4ennqrgv3OHppiOGMQ7oC13yIww==",
+ "license": "MIT"
+ },
+ "node_modules/@floating-ui/utils": {
+ "version": "0.2.10",
+ "resolved": "https://registry.npmjs.org/@floating-ui/utils/-/utils-0.2.10.tgz",
+ "integrity": "sha512-aGTxbpbg8/b5JfU1HXSrbH3wXZuLPJcNEcZQFMxLs3oSzgtVu6nFPkbbGGUvBcUjKV2YyB9Wxxabo+HEH9tcRQ==",
+ "license": "MIT"
+ },
+ "node_modules/@floating-ui/vue": {
+ "version": "1.1.9",
+ "resolved": "https://registry.npmjs.org/@floating-ui/vue/-/vue-1.1.9.tgz",
+ "integrity": "sha512-BfNqNW6KA83Nexspgb9DZuz578R7HT8MZw1CfK9I6Ah4QReNWEJsXWHN+SdmOVLNGmTPDi+fDT535Df5PzMLbQ==",
+ "license": "MIT",
+ "dependencies": {
+ "@floating-ui/dom": "^1.7.4",
+ "@floating-ui/utils": "^0.2.10",
+ "vue-demi": ">=0.13.0"
+ }
+ },
+ "node_modules/@floating-ui/vue/node_modules/vue-demi": {
+ "version": "0.14.10",
+ "resolved": "https://registry.npmjs.org/vue-demi/-/vue-demi-0.14.10.tgz",
+ "integrity": "sha512-nMZBOwuzabUO0nLgIcc6rycZEebF6eeUfaiQx9+WSk8e29IbLvPU9feI6tqW4kTo3hvoYAJkMh8n8D0fuISphg==",
+ "hasInstallScript": true,
+ "license": "MIT",
+ "bin": {
+ "vue-demi-fix": "bin/vue-demi-fix.js",
+ "vue-demi-switch": "bin/vue-demi-switch.js"
+ },
+ "engines": {
+ "node": ">=12"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/antfu"
+ },
+ "peerDependencies": {
+ "@vue/composition-api": "^1.0.0-rc.1",
+ "vue": "^3.0.0-0 || ^2.6.0"
+ },
+ "peerDependenciesMeta": {
+ "@vue/composition-api": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@headlessui/tailwindcss": {
+ "version": "0.2.2",
+ "resolved": "https://registry.npmjs.org/@headlessui/tailwindcss/-/tailwindcss-0.2.2.tgz",
+ "integrity": "sha512-xNe42KjdyA4kfUKLLPGzME9zkH7Q3rOZ5huFihWNWOQFxnItxPB3/67yBI8/qBfY8nwBRx5GHn4VprsoluVMGw==",
+ "license": "MIT",
+ "engines": {
+ "node": ">=10"
+ },
+ "peerDependencies": {
+ "tailwindcss": "^3.0 || ^4.0"
+ }
+ },
+ "node_modules/@headlessui/vue": {
+ "version": "1.7.23",
+ "resolved": "https://registry.npmjs.org/@headlessui/vue/-/vue-1.7.23.tgz",
+ "integrity": "sha512-JzdCNqurrtuu0YW6QaDtR2PIYCKPUWq28csDyMvN4zmGccmE7lz40Is6hc3LA4HFeCI7sekZ/PQMTNmn9I/4Wg==",
+ "license": "MIT",
+ "dependencies": {
+ "@tanstack/vue-virtual": "^3.0.0-beta.60"
+ },
+ "engines": {
+ "node": ">=10"
+ },
+ "peerDependencies": {
+ "vue": "^3.2.0"
+ }
+ },
+ "node_modules/@internationalized/date": {
+ "version": "3.12.3",
+ "resolved": "https://registry.npmjs.org/@internationalized/date/-/date-3.12.3.tgz",
+ "integrity": "sha512-fuLX+3ZKLsxI73y8b01EG/WjHb6gE6weCqlfawPO27kBWGMh9G1yH6Csv1uU7/cac9H2GHmOMt6CjmuQ1aia4Q==",
+ "license": "Apache-2.0",
+ "dependencies": {
+ "@swc/helpers": "^0.5.0"
+ }
+ },
+ "node_modules/@internationalized/number": {
+ "version": "3.6.7",
+ "resolved": "https://registry.npmjs.org/@internationalized/number/-/number-3.6.7.tgz",
+ "integrity": "sha512-3ji1fcrT+FPAK86UqEhB/psHixYo6niWPJtt7+qRaYFynt/BaJG8GhAPimtWUpEiVSTq8ZM8L5psMxGquiB/Vg==",
+ "license": "Apache-2.0",
+ "dependencies": {
+ "@swc/helpers": "^0.5.0"
+ }
+ },
"node_modules/@jridgewell/gen-mapping": {
"version": "0.3.13",
"resolved": "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.3.13.tgz",
@@ -591,7 +964,6 @@
"version": "1.5.5",
"resolved": "https://registry.npmjs.org/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.5.5.tgz",
"integrity": "sha512-cYQ9310grqxueWbl+WuIUIaiUaDcj7WOq5fVhEljNVgRfOUhY9fy2zTvfoqWsnebh8Sl70VScFbICvJnLKB0Og==",
- "dev": true,
"license": "MIT"
},
"node_modules/@jridgewell/trace-mapping": {
@@ -605,6 +977,102 @@
"@jridgewell/sourcemap-codec": "^1.4.14"
}
},
+ "node_modules/@lezer/common": {
+ "version": "1.5.2",
+ "resolved": "https://registry.npmjs.org/@lezer/common/-/common-1.5.2.tgz",
+ "integrity": "sha512-sxQE460fPZyU3sdc8lafxiPwJHBzZRy/udNFynGQky1SePYBdhkBl1kOagA9uT3pxR8K09bOrmTUqA9wb/PjSQ==",
+ "license": "MIT"
+ },
+ "node_modules/@lezer/css": {
+ "version": "1.3.6",
+ "resolved": "https://registry.npmjs.org/@lezer/css/-/css-1.3.6.tgz",
+ "integrity": "sha512-YJE78Wcg+zX8f10hiHWQ4Az48Qr/c13eId0VtRQYLBpxHDmDeSrXIlkbl+fJGW42rWC/uoUco9mhBZeVWP/A1g==",
+ "license": "MIT",
+ "dependencies": {
+ "@lezer/common": "^1.2.0",
+ "@lezer/highlight": "^1.0.0",
+ "@lezer/lr": "^1.3.0"
+ }
+ },
+ "node_modules/@lezer/highlight": {
+ "version": "1.2.3",
+ "resolved": "https://registry.npmjs.org/@lezer/highlight/-/highlight-1.2.3.tgz",
+ "integrity": "sha512-qXdH7UqTvGfdVBINrgKhDsVTJTxactNNxLk7+UMwZhU13lMHaOBlJe9Vqp907ya56Y3+ed2tlqzys7jDkTmW0g==",
+ "license": "MIT",
+ "dependencies": {
+ "@lezer/common": "^1.3.0"
+ }
+ },
+ "node_modules/@lezer/html": {
+ "version": "1.3.13",
+ "resolved": "https://registry.npmjs.org/@lezer/html/-/html-1.3.13.tgz",
+ "integrity": "sha512-oI7n6NJml729m7pjm9lvLvmXbdoMoi2f+1pwSDJkl9d68zGr7a9Btz8NdHTGQZtW2DA25ybeuv/SyDb9D5tseg==",
+ "license": "MIT",
+ "dependencies": {
+ "@lezer/common": "^1.2.0",
+ "@lezer/highlight": "^1.0.0",
+ "@lezer/lr": "^1.0.0"
+ }
+ },
+ "node_modules/@lezer/javascript": {
+ "version": "1.5.4",
+ "resolved": "https://registry.npmjs.org/@lezer/javascript/-/javascript-1.5.4.tgz",
+ "integrity": "sha512-vvYx3MhWqeZtGPwDStM2dwgljd5smolYD2lR2UyFcHfxbBQebqx8yjmFmxtJ/E6nN6u1D9srOiVWm3Rb4tmcUA==",
+ "license": "MIT",
+ "dependencies": {
+ "@lezer/common": "^1.2.0",
+ "@lezer/highlight": "^1.1.3",
+ "@lezer/lr": "^1.3.0"
+ }
+ },
+ "node_modules/@lezer/json": {
+ "version": "1.0.3",
+ "resolved": "https://registry.npmjs.org/@lezer/json/-/json-1.0.3.tgz",
+ "integrity": "sha512-BP9KzdF9Y35PDpv04r0VeSTKDeox5vVr3efE7eBbx3r4s3oNLfunchejZhjArmeieBH+nVOpgIiBJpEAv8ilqQ==",
+ "license": "MIT",
+ "dependencies": {
+ "@lezer/common": "^1.2.0",
+ "@lezer/highlight": "^1.0.0",
+ "@lezer/lr": "^1.0.0"
+ }
+ },
+ "node_modules/@lezer/lr": {
+ "version": "1.4.10",
+ "resolved": "https://registry.npmjs.org/@lezer/lr/-/lr-1.4.10.tgz",
+ "integrity": "sha512-rnCpTIBafOx4mRp43xOxDJbFipJm/c0cia/V5TiGlhmMa+wsSdoGmUN3w5Bqrks/09Q/D4tNAmWaT8p6NRi77A==",
+ "license": "MIT",
+ "dependencies": {
+ "@lezer/common": "^1.0.0"
+ }
+ },
+ "node_modules/@lezer/xml": {
+ "version": "1.0.6",
+ "resolved": "https://registry.npmjs.org/@lezer/xml/-/xml-1.0.6.tgz",
+ "integrity": "sha512-CdDwirL0OEaStFue/66ZmFSeppuL6Dwjlk8qk153mSQwiSH/Dlri4GNymrNWnUmPl2Um7QfV1FO9KFUyX3Twww==",
+ "license": "MIT",
+ "dependencies": {
+ "@lezer/common": "^1.2.0",
+ "@lezer/highlight": "^1.0.0",
+ "@lezer/lr": "^1.0.0"
+ }
+ },
+ "node_modules/@lezer/yaml": {
+ "version": "1.0.4",
+ "resolved": "https://registry.npmjs.org/@lezer/yaml/-/yaml-1.0.4.tgz",
+ "integrity": "sha512-2lrrHqxalACEbxIbsjhqGpSW8kWpUKuY6RHgnSAFZa6qK62wvnPxA8hGOwOoDbwHcOFs5M4o27mjGu+P7TvBmw==",
+ "license": "MIT",
+ "dependencies": {
+ "@lezer/common": "^1.2.0",
+ "@lezer/highlight": "^1.0.0",
+ "@lezer/lr": "^1.4.0"
+ }
+ },
+ "node_modules/@marijn/find-cluster-break": {
+ "version": "1.0.4",
+ "resolved": "https://registry.npmjs.org/@marijn/find-cluster-break/-/find-cluster-break-1.0.4.tgz",
+ "integrity": "sha512-Wy0V7+SGUjnF9/TkiM1hKVDPj7jKXduPNboMVtHTA8dySMURWqfg/JZ9E2Sq8JgSJmkl7k7Qe9FLeMSrSraWmQ==",
+ "license": "MIT"
+ },
"node_modules/@mediapipe/tasks-vision": {
"version": "0.10.17",
"resolved": "https://registry.npmjs.org/@mediapipe/tasks-vision/-/tasks-vision-0.10.17.tgz",
@@ -623,6 +1091,15 @@
"three": ">= 0.159.0"
}
},
+ "node_modules/@opentelemetry/api": {
+ "version": "1.9.0",
+ "resolved": "https://registry.npmjs.org/@opentelemetry/api/-/api-1.9.0.tgz",
+ "integrity": "sha512-3giAOQvZiH5F9bMlMiv8+GSPMeqg0dbaeo58/0SlA9sxSqZhnUtxzX9/2FzyhS9sWQf5S0GJE0AKBrFqjpeYcg==",
+ "license": "Apache-2.0",
+ "engines": {
+ "node": ">=8.0.0"
+ }
+ },
"node_modules/@oxc-project/types": {
"version": "0.146.0",
"resolved": "https://registry.npmjs.org/@oxc-project/types/-/types-0.146.0.tgz",
@@ -633,6 +1110,12 @@
"url": "https://github.com/sponsors/Boshen"
}
},
+ "node_modules/@phosphor-icons/core": {
+ "version": "2.1.1",
+ "resolved": "https://registry.npmjs.org/@phosphor-icons/core/-/core-2.1.1.tgz",
+ "integrity": "sha512-v4ARvrip4qBCImOE5rmPUylOEK4iiED9ZyKjcvzuezqMaiRASCHKcRIuvvxL/twvLpkfnEODCOJp5dM4eZilxQ==",
+ "license": "MIT"
+ },
"node_modules/@react-three/drei": {
"version": "10.7.8",
"resolved": "https://registry.npmjs.org/@react-three/drei/-/drei-10.7.8.tgz",
@@ -747,6 +1230,17 @@
}
}
},
+ "node_modules/@replit/codemirror-css-color-picker": {
+ "version": "6.3.0",
+ "resolved": "https://registry.npmjs.org/@replit/codemirror-css-color-picker/-/codemirror-css-color-picker-6.3.0.tgz",
+ "integrity": "sha512-19biDANghUm7Fz7L1SNMIhK48tagaWuCOHj4oPPxc7hxPGkTVY2lU/jVZ8tsbTKQPVG7BO2CBDzs7CBwb20t4A==",
+ "license": "MIT",
+ "peerDependencies": {
+ "@codemirror/language": "^6.0.0",
+ "@codemirror/state": "^6.0.0",
+ "@codemirror/view": "^6.0.0"
+ }
+ },
"node_modules/@rolldown/binding-android-arm-eabi": {
"version": "1.2.5",
"resolved": "https://registry.npmjs.org/@rolldown/binding-android-arm-eabi/-/binding-android-arm-eabi-1.2.5.tgz",
@@ -1027,43 +1521,504 @@
"dev": true,
"license": "MIT"
},
- "node_modules/@socket.io/component-emitter": {
- "version": "3.1.2",
- "resolved": "https://registry.npmjs.org/@socket.io/component-emitter/-/component-emitter-3.1.2.tgz",
- "integrity": "sha512-9BCxFwvbGg/RsZK9tjXd8s4UcwR0MWeFQ1XEKIQVVvAGJyINdrqKMcTRyLoK8Rse1GjzLV9cwjWV1olXRWEXVA==",
- "license": "MIT"
- },
- "node_modules/@standard-schema/spec": {
- "version": "1.1.0",
- "resolved": "https://registry.npmjs.org/@standard-schema/spec/-/spec-1.1.0.tgz",
- "integrity": "sha512-l2aFy5jALhniG5HgqrD6jXLi/rUWrKvqN/qJx6yoJsgKhblVd+iqqU4RCXavm/jPityDo5TCvKMnpjKnOriy0w==",
- "license": "MIT"
- },
- "node_modules/@standard-schema/utils": {
- "version": "0.3.0",
- "resolved": "https://registry.npmjs.org/@standard-schema/utils/-/utils-0.3.0.tgz",
- "integrity": "sha512-e7Mew686owMaPJVNNLs55PUvgz371nKgwsc4vxE49zsODpJEnxgxRo2y/OKrqueavXgZNMDVj3DdHFlaSAeU8g==",
- "license": "MIT"
- },
- "node_modules/@tailwindcss/node": {
- "version": "4.3.3",
- "resolved": "https://registry.npmjs.org/@tailwindcss/node/-/node-4.3.3.tgz",
- "integrity": "sha512-/T8IKEsf9VTU6tLjgC7+sv2mOPtQxzE2jMw7u4Tt40Tx+QSZxpzh95/H6cMKoja9XuW7iMdLJYBB0o9G1CaAgg==",
- "dev": true,
+ "node_modules/@scalar/agent-chat": {
+ "version": "0.12.28",
+ "resolved": "https://registry.npmjs.org/@scalar/agent-chat/-/agent-chat-0.12.28.tgz",
+ "integrity": "sha512-N1ZEIKHrOhbB6mSUuaeMbNEK8G0lhXu8aHj8RqPMjKAkm0IbZVGCEkFgRCzaqDMcdsXKqQKygzx2a5pV5gX6Ow==",
"license": "MIT",
"dependencies": {
- "@jridgewell/remapping": "^2.3.5",
- "enhanced-resolve": "^5.24.1",
- "jiti": "^2.7.0",
- "lightningcss": "1.32.0",
- "magic-string": "^0.30.21",
- "source-map-js": "^1.2.1",
- "tailwindcss": "4.3.3"
+ "@ai-sdk/vue": "3.0.33",
+ "@scalar/api-client": "3.16.3",
+ "@scalar/components": "0.28.1",
+ "@scalar/helpers": "0.11.1",
+ "@scalar/icons": "0.7.6",
+ "@scalar/json-magic": "0.13.2",
+ "@scalar/openapi-types": "0.9.5",
+ "@scalar/schemas": "0.8.3",
+ "@scalar/themes": "0.17.3",
+ "@scalar/types": "0.18.2",
+ "@scalar/use-toasts": "0.10.5",
+ "@scalar/validation": "0.6.3",
+ "@scalar/workspace-store": "0.58.1",
+ "@vueuse/core": "13.9.0",
+ "ai": "6.0.33",
+ "js-base64": "^3.9.2",
+ "neverpanic": "0.0.8",
+ "truncate-json": "3.0.1",
+ "vue": "^3.5.40"
+ },
+ "engines": {
+ "node": ">=22"
}
},
- "node_modules/@tailwindcss/oxide": {
- "version": "4.3.3",
- "resolved": "https://registry.npmjs.org/@tailwindcss/oxide/-/oxide-4.3.3.tgz",
+ "node_modules/@scalar/api-client": {
+ "version": "3.16.3",
+ "resolved": "https://registry.npmjs.org/@scalar/api-client/-/api-client-3.16.3.tgz",
+ "integrity": "sha512-4F0aZtdnCWZN5EvJQTAlXPzVetniu9pQqPeukck/AUNtvsk59CdNHjd8DjAB3+SS3wv3gfNj0C+obhzjUbCNZg==",
+ "license": "MIT",
+ "dependencies": {
+ "@headlessui/tailwindcss": "^0.2.2",
+ "@headlessui/vue": "1.7.23",
+ "@scalar/blocks": "0.1.14",
+ "@scalar/components": "0.28.1",
+ "@scalar/helpers": "0.11.1",
+ "@scalar/icons": "0.7.6",
+ "@scalar/oas-utils": "0.19.14",
+ "@scalar/openapi-types": "0.9.5",
+ "@scalar/sidebar": "0.10.1",
+ "@scalar/snippetz": "0.9.28",
+ "@scalar/themes": "0.17.3",
+ "@scalar/typebox": "^0.1.3",
+ "@scalar/types": "0.18.2",
+ "@scalar/use-codemirror": "0.14.15",
+ "@scalar/use-hooks": "0.4.10",
+ "@scalar/use-toasts": "0.10.5",
+ "@scalar/workspace-store": "0.58.1",
+ "@vueuse/core": "13.9.0",
+ "@vueuse/integrations": "13.9.0",
+ "focus-trap": "^7.8.0",
+ "fuse.js": "^7.5.0",
+ "js-base64": "^3.9.2",
+ "jsonc-parser": "3.3.1",
+ "nanoid": "^5.1.6",
+ "pretty-ms": "^9.3.0",
+ "radix-vue": "^1.9.17",
+ "set-cookie-parser": "3.1.0",
+ "vue": "^3.5.40",
+ "yaml": "^2.9.0",
+ "zod": "^4.3.5"
+ },
+ "engines": {
+ "node": ">=22"
+ }
+ },
+ "node_modules/@scalar/api-reference": {
+ "version": "1.66.1",
+ "resolved": "https://registry.npmjs.org/@scalar/api-reference/-/api-reference-1.66.1.tgz",
+ "integrity": "sha512-+iHSJX8HPUyDGinNiLRV8qgFb+fbNwAjGDWzl8Wg/VNEcbmA40t1ZuL/WoWNqphI2QaPfjiCLtmsIhanWAed3w==",
+ "license": "MIT",
+ "dependencies": {
+ "@headlessui/vue": "1.7.23",
+ "@scalar/agent-chat": "0.12.28",
+ "@scalar/api-client": "3.16.3",
+ "@scalar/blocks": "0.1.14",
+ "@scalar/code-highlight": "0.4.5",
+ "@scalar/components": "0.28.1",
+ "@scalar/helpers": "0.11.1",
+ "@scalar/icons": "0.7.6",
+ "@scalar/oas-utils": "0.19.14",
+ "@scalar/schemas": "0.8.3",
+ "@scalar/sidebar": "0.10.1",
+ "@scalar/snippetz": "0.9.28",
+ "@scalar/themes": "0.17.3",
+ "@scalar/types": "0.18.2",
+ "@scalar/use-hooks": "0.4.10",
+ "@scalar/use-toasts": "0.10.5",
+ "@scalar/validation": "0.6.3",
+ "@scalar/workspace-store": "0.58.1",
+ "@unhead/vue": "^2.1.4",
+ "@vueuse/core": "13.9.0",
+ "fuse.js": "^7.5.0",
+ "microdiff": "^1.5.0",
+ "nanoid": "^5.1.6",
+ "vue": "^3.5.40",
+ "yaml": "^2.9.0"
+ },
+ "engines": {
+ "node": ">=22"
+ }
+ },
+ "node_modules/@scalar/api-reference-react": {
+ "version": "0.9.65",
+ "resolved": "https://registry.npmjs.org/@scalar/api-reference-react/-/api-reference-react-0.9.65.tgz",
+ "integrity": "sha512-0kBuLtyZcvLcMIhuLGr3WHalytf5eqGPvT5soMSP0tdHZkIoTkzeOHCQNiDCiuq7Jct3a2IqsRrDrokukf9N2A==",
+ "license": "MIT",
+ "dependencies": {
+ "@scalar/api-reference": "1.66.1",
+ "@scalar/types": "0.18.2"
+ },
+ "engines": {
+ "node": ">=22"
+ },
+ "peerDependencies": {
+ "react": "^18.0.0 || ^19.0.0"
+ }
+ },
+ "node_modules/@scalar/asyncapi-upgrader": {
+ "version": "0.1.7",
+ "resolved": "https://registry.npmjs.org/@scalar/asyncapi-upgrader/-/asyncapi-upgrader-0.1.7.tgz",
+ "integrity": "sha512-RU3CrNV77hWiZ9Ik0GJHDf/bEg8C0iF9Rg5b6GDJz3F9Y7ZyBJcgqq++do9GUzPTKzftfOORfQ9180s09XQp7Q==",
+ "license": "MIT",
+ "dependencies": {
+ "@scalar/helpers": "0.11.1"
+ },
+ "engines": {
+ "node": ">=22"
+ }
+ },
+ "node_modules/@scalar/blocks": {
+ "version": "0.1.14",
+ "resolved": "https://registry.npmjs.org/@scalar/blocks/-/blocks-0.1.14.tgz",
+ "integrity": "sha512-4goVCRnz8QWCzQIuMV58GUSoj+WJNZBSGS5L6n3kc8TAKY6qiTOf+Unc5oy2DgwHCJJ6AO531hnGDAsMx7sNaQ==",
+ "license": "MIT",
+ "dependencies": {
+ "@scalar/components": "0.28.1",
+ "@scalar/helpers": "0.11.1",
+ "@scalar/icons": "0.7.6",
+ "@scalar/snippetz": "0.9.28",
+ "@scalar/themes": "0.17.3",
+ "@scalar/types": "0.18.2",
+ "@scalar/workspace-store": "0.58.1",
+ "@types/har-format": "^1.2.16",
+ "js-base64": "^3.9.2",
+ "vue": "^3.5.40"
+ },
+ "engines": {
+ "node": ">=22"
+ }
+ },
+ "node_modules/@scalar/code-highlight": {
+ "version": "0.4.5",
+ "resolved": "https://registry.npmjs.org/@scalar/code-highlight/-/code-highlight-0.4.5.tgz",
+ "integrity": "sha512-OCZvBYwodCR1cWemO3MXMwXumI18kFOy8k2nwP+Ic8zFLK1ObyXECRoM+UH+GTw+O4TJsrjNIdLjsnXPO1MvyA==",
+ "license": "MIT",
+ "dependencies": {
+ "hast-util-to-text": "^4.0.2",
+ "highlight.js": "^11.11.1",
+ "lowlight": "^3.3.0",
+ "rehype-external-links": "^3.0.0",
+ "rehype-format": "^5.0.1",
+ "rehype-parse": "^9.0.1",
+ "rehype-raw": "^7.0.0",
+ "rehype-sanitize": "^6.0.0",
+ "rehype-stringify": "^10.0.1",
+ "remark-gfm": "^4.0.1",
+ "remark-parse": "^11.0.0",
+ "remark-rehype": "^11.1.2",
+ "remark-stringify": "^11.0.0",
+ "unified": "^11.0.5",
+ "unist-util-visit": "^5.1.0"
+ },
+ "engines": {
+ "node": ">=22"
+ }
+ },
+ "node_modules/@scalar/components": {
+ "version": "0.28.1",
+ "resolved": "https://registry.npmjs.org/@scalar/components/-/components-0.28.1.tgz",
+ "integrity": "sha512-mYI2WwvVM6a9E/o6vrft9FKoLP7Chcit5kOc+Iz+MV6xQ63Cjx2e/dACagEXE9O5i3b4+8+8C00iy4p1TS6P0A==",
+ "license": "MIT",
+ "dependencies": {
+ "@floating-ui/utils": "0.2.10",
+ "@floating-ui/vue": "1.1.9",
+ "@headlessui/tailwindcss": "^0.2.2",
+ "@headlessui/vue": "1.7.23",
+ "@scalar/code-highlight": "0.4.5",
+ "@scalar/helpers": "0.11.1",
+ "@scalar/icons": "0.7.6",
+ "@scalar/themes": "0.17.3",
+ "@scalar/use-hooks": "0.4.10",
+ "@vueuse/core": "13.9.0",
+ "cva": "1.0.0-beta.4",
+ "radix-vue": "^1.9.17",
+ "vue": "^3.5.40",
+ "vue-component-type-helpers": "^3.2.6"
+ },
+ "engines": {
+ "node": ">=22"
+ }
+ },
+ "node_modules/@scalar/helpers": {
+ "version": "0.11.1",
+ "resolved": "https://registry.npmjs.org/@scalar/helpers/-/helpers-0.11.1.tgz",
+ "integrity": "sha512-Knwbe0IYqFk0PPDoOKLasqglBHfyf9/zwWWqFsSNi/AtdjM29wSZXN6p8DFid6iB5B9epYH9YiSgJ6tpD00TEw==",
+ "license": "MIT",
+ "engines": {
+ "node": ">=22"
+ }
+ },
+ "node_modules/@scalar/icons": {
+ "version": "0.7.6",
+ "resolved": "https://registry.npmjs.org/@scalar/icons/-/icons-0.7.6.tgz",
+ "integrity": "sha512-UIQ7K/xNDo7Mgez/Z+ArG7JZnS8QRZNOl+s9frdS1T8uEJYuTqT1lnS7R0ECwIw3y6dn6EIfjaZKPihjYC7+qw==",
+ "license": "MIT",
+ "dependencies": {
+ "@phosphor-icons/core": "^2.1.1",
+ "@types/node": "^24.1.0",
+ "chalk": "^5.6.2",
+ "vue": "^3.5.40"
+ },
+ "engines": {
+ "node": ">=22"
+ }
+ },
+ "node_modules/@scalar/json-magic": {
+ "version": "0.13.2",
+ "resolved": "https://registry.npmjs.org/@scalar/json-magic/-/json-magic-0.13.2.tgz",
+ "integrity": "sha512-T8rQw5u7+MSTDpUcd5ShX1taOUxpZMv2b/P6xsahdlv/u68VX/Bq/+uzuAf2xW8IIOy7BEP4MBggle/vMDgAXw==",
+ "license": "MIT",
+ "dependencies": {
+ "@scalar/helpers": "0.11.1",
+ "pathe": "^2.0.3",
+ "yaml": "^2.9.0"
+ },
+ "engines": {
+ "node": ">=22"
+ }
+ },
+ "node_modules/@scalar/oas-utils": {
+ "version": "0.19.14",
+ "resolved": "https://registry.npmjs.org/@scalar/oas-utils/-/oas-utils-0.19.14.tgz",
+ "integrity": "sha512-rnVIOK6+oHTc4SeXQBkEj+Kb2xB/VUJxckKGNdHnHHlsLjpN4VXhwUBldYAvV9dA/AENfeMj5ys6GubP0RyNwQ==",
+ "license": "MIT",
+ "dependencies": {
+ "@scalar/helpers": "0.11.1",
+ "@scalar/themes": "0.17.3",
+ "@scalar/types": "0.18.2",
+ "@scalar/workspace-store": "0.58.1",
+ "flatted": "^3.4.0",
+ "vue": "^3.5.40",
+ "yaml": "^2.9.0"
+ },
+ "engines": {
+ "node": ">=22"
+ }
+ },
+ "node_modules/@scalar/openapi-types": {
+ "version": "0.9.5",
+ "resolved": "https://registry.npmjs.org/@scalar/openapi-types/-/openapi-types-0.9.5.tgz",
+ "integrity": "sha512-czrz/zkVm1oPzrpYo3hI/iymfiw1s4dgJiQtwNi2U77Sqf3EQOGKsif4VNRa5suWMYRuPaFx5EiFM1FNEV4Whg==",
+ "license": "MIT",
+ "engines": {
+ "node": ">=22"
+ }
+ },
+ "node_modules/@scalar/openapi-upgrader": {
+ "version": "0.2.15",
+ "resolved": "https://registry.npmjs.org/@scalar/openapi-upgrader/-/openapi-upgrader-0.2.15.tgz",
+ "integrity": "sha512-yqROK9U96ElasEL4Wl/+PIjQZlqrQXVUUpXk9PA6xBnrp8KdEv7at8pR5gsZkvddJfYVwLILPlctyqUg4u4YZA==",
+ "license": "MIT",
+ "dependencies": {
+ "@scalar/openapi-types": "0.9.5"
+ },
+ "engines": {
+ "node": ">=22"
+ }
+ },
+ "node_modules/@scalar/schemas": {
+ "version": "0.8.3",
+ "resolved": "https://registry.npmjs.org/@scalar/schemas/-/schemas-0.8.3.tgz",
+ "integrity": "sha512-cTjgiJxXFXMqXlFZafXOyTOKm1lUfbDTbe9La+dPcQPe6q0zXAiVtys0IKILQWNrjXPidY0eaB9Va/rd16bfxw==",
+ "license": "MIT",
+ "dependencies": {
+ "@scalar/helpers": "0.11.1",
+ "@scalar/validation": "0.6.3"
+ },
+ "engines": {
+ "node": ">=22"
+ }
+ },
+ "node_modules/@scalar/sidebar": {
+ "version": "0.10.1",
+ "resolved": "https://registry.npmjs.org/@scalar/sidebar/-/sidebar-0.10.1.tgz",
+ "integrity": "sha512-RbDJD22tAMGquDh7ItUeVujSvQxLoc7Eo95gPhHaokEYJprBs/B30Es3J1qhNZQ6IVZ0kcxCjuD4haI1h/UmrQ==",
+ "license": "MIT",
+ "dependencies": {
+ "@scalar/components": "0.28.1",
+ "@scalar/helpers": "0.11.1",
+ "@scalar/icons": "0.7.6",
+ "@scalar/themes": "0.17.3",
+ "@scalar/use-hooks": "0.4.10",
+ "@scalar/workspace-store": "0.58.1",
+ "vue": "^3.5.40"
+ },
+ "engines": {
+ "node": ">=22"
+ }
+ },
+ "node_modules/@scalar/snippetz": {
+ "version": "0.9.28",
+ "resolved": "https://registry.npmjs.org/@scalar/snippetz/-/snippetz-0.9.28.tgz",
+ "integrity": "sha512-xpzQ5NgJDfV5Y5Xmpo2lDZclbXuIRolIm6qAaShNVBvO3q2GYtxJ9RSsrMFTpuk1NIqcQ4WKVAVRllRhYuzlWg==",
+ "license": "MIT",
+ "dependencies": {
+ "@scalar/helpers": "0.11.1",
+ "@scalar/types": "0.18.2",
+ "js-base64": "^3.9.2",
+ "stringify-object": "^6.0.0"
+ },
+ "engines": {
+ "node": ">=22"
+ }
+ },
+ "node_modules/@scalar/themes": {
+ "version": "0.17.3",
+ "resolved": "https://registry.npmjs.org/@scalar/themes/-/themes-0.17.3.tgz",
+ "integrity": "sha512-QJPHeGCg0hF30IGPjX2nMcMOvBYyd62d5vey1mIC17CLhOe5tLVTn9D6G175D+jPVb0WhVPcSbaax6KxSZTUEQ==",
+ "license": "MIT",
+ "dependencies": {
+ "nanoid": "^5.1.6"
+ },
+ "engines": {
+ "node": ">=22"
+ }
+ },
+ "node_modules/@scalar/typebox": {
+ "version": "0.1.3",
+ "resolved": "https://registry.npmjs.org/@scalar/typebox/-/typebox-0.1.3.tgz",
+ "integrity": "sha512-lU055AUccECZMIfGA0z/C1StYmboAYIPJLDFBzOO81yXBi35Pxdq+I4fWX6iUZ8qcoHneiLGk9jAUM1rA93iEg==",
+ "license": "MIT"
+ },
+ "node_modules/@scalar/types": {
+ "version": "0.18.2",
+ "resolved": "https://registry.npmjs.org/@scalar/types/-/types-0.18.2.tgz",
+ "integrity": "sha512-q7fGMn0IygdLbYk9W4quM0w1caHDfL9FIxsYXNsgIep6uuO0T/t4BOStyf0qyzQ3pjt0B7rWFxO//EM9I7F/Tw==",
+ "license": "MIT",
+ "dependencies": {
+ "@scalar/helpers": "0.11.1",
+ "nanoid": "^5.1.6",
+ "type-fest": "^5.8.0",
+ "zod": "^4.3.5"
+ },
+ "engines": {
+ "node": ">=22"
+ }
+ },
+ "node_modules/@scalar/use-codemirror": {
+ "version": "0.14.15",
+ "resolved": "https://registry.npmjs.org/@scalar/use-codemirror/-/use-codemirror-0.14.15.tgz",
+ "integrity": "sha512-Uvjx0qvOsWPs+I32FL+3v//+VKwtp8ROXgbIAMauNypuw52VeF7R4RM7YoN2Xg1EAEiMtM8ZhWVzCoYTFr6AKQ==",
+ "license": "MIT",
+ "dependencies": {
+ "@codemirror/autocomplete": "^6.18.3",
+ "@codemirror/commands": "^6.7.1",
+ "@codemirror/lang-css": "^6.3.1",
+ "@codemirror/lang-html": "^6.4.8",
+ "@codemirror/lang-json": "^6.0.0",
+ "@codemirror/lang-xml": "^6.0.0",
+ "@codemirror/lang-yaml": "^6.1.2",
+ "@codemirror/language": "^6.10.7",
+ "@codemirror/lint": "^6.8.4",
+ "@codemirror/state": "^6.5.0",
+ "@codemirror/view": "^6.35.3",
+ "@lezer/common": "^1.2.3",
+ "@lezer/highlight": "^1.2.1",
+ "@replit/codemirror-css-color-picker": "^6.3.0",
+ "vue": "^3.5.40"
+ },
+ "engines": {
+ "node": ">=22"
+ }
+ },
+ "node_modules/@scalar/use-hooks": {
+ "version": "0.4.10",
+ "resolved": "https://registry.npmjs.org/@scalar/use-hooks/-/use-hooks-0.4.10.tgz",
+ "integrity": "sha512-YDIohEujqRmPCLpRlE+NTzjKPjeMJZtI4oJcZ5uH2vA1gR8wiaEStK8djBsldOFIn+LmhHagl+HHn6NX054f7Q==",
+ "license": "MIT",
+ "dependencies": {
+ "@scalar/use-toasts": "0.10.5",
+ "@scalar/validation": "0.6.3",
+ "@vueuse/core": "13.9.0",
+ "cva": "1.0.0-beta.4",
+ "tailwind-merge": "3.5.0",
+ "vue": "^3.5.40"
+ },
+ "engines": {
+ "node": ">=22"
+ }
+ },
+ "node_modules/@scalar/use-toasts": {
+ "version": "0.10.5",
+ "resolved": "https://registry.npmjs.org/@scalar/use-toasts/-/use-toasts-0.10.5.tgz",
+ "integrity": "sha512-5a8qTVd9eXvMDeD0ifqHvnzg0i2v15clhyFToXDHYmInQD51oBRwByCFqFO+m9ymxSLOHZ7/FiEcU6F90/QTlg==",
+ "license": "MIT",
+ "dependencies": {
+ "vue": "^3.5.40",
+ "vue-sonner": "^1.3.2"
+ },
+ "engines": {
+ "node": ">=22"
+ }
+ },
+ "node_modules/@scalar/validation": {
+ "version": "0.6.3",
+ "resolved": "https://registry.npmjs.org/@scalar/validation/-/validation-0.6.3.tgz",
+ "integrity": "sha512-j3s9XPv8Wo1EG5/naBi4XGF0uXYQ2A3QZNI0NKWgCMxRHVrDJGlZEYymcHDHY7fquRm73P8U3c8xqJqB5yad6w==",
+ "license": "MIT",
+ "engines": {
+ "node": ">=20"
+ }
+ },
+ "node_modules/@scalar/workspace-store": {
+ "version": "0.58.1",
+ "resolved": "https://registry.npmjs.org/@scalar/workspace-store/-/workspace-store-0.58.1.tgz",
+ "integrity": "sha512-aKBwM7Tp+VzdxqVC971c8uxM8w9cw+RS7JY5V/VHj29HyNwKQTSJX6+qf8gma46bgUK0W15Ra/T8rN1mAR+EIw==",
+ "license": "MIT",
+ "dependencies": {
+ "@scalar/asyncapi-upgrader": "0.1.7",
+ "@scalar/helpers": "0.11.1",
+ "@scalar/json-magic": "0.13.2",
+ "@scalar/openapi-upgrader": "0.2.15",
+ "@scalar/schemas": "0.8.3",
+ "@scalar/snippetz": "0.9.28",
+ "@scalar/typebox": "0.1.3",
+ "@scalar/types": "0.18.2",
+ "@scalar/validation": "0.6.3",
+ "js-base64": "^3.9.2",
+ "type-fest": "^5.8.0",
+ "vue": "^3.5.40",
+ "yaml": "^2.9.0"
+ },
+ "engines": {
+ "node": ">=22"
+ }
+ },
+ "node_modules/@socket.io/component-emitter": {
+ "version": "3.1.2",
+ "resolved": "https://registry.npmjs.org/@socket.io/component-emitter/-/component-emitter-3.1.2.tgz",
+ "integrity": "sha512-9BCxFwvbGg/RsZK9tjXd8s4UcwR0MWeFQ1XEKIQVVvAGJyINdrqKMcTRyLoK8Rse1GjzLV9cwjWV1olXRWEXVA==",
+ "license": "MIT"
+ },
+ "node_modules/@standard-schema/spec": {
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/@standard-schema/spec/-/spec-1.1.0.tgz",
+ "integrity": "sha512-l2aFy5jALhniG5HgqrD6jXLi/rUWrKvqN/qJx6yoJsgKhblVd+iqqU4RCXavm/jPityDo5TCvKMnpjKnOriy0w==",
+ "license": "MIT"
+ },
+ "node_modules/@standard-schema/utils": {
+ "version": "0.3.0",
+ "resolved": "https://registry.npmjs.org/@standard-schema/utils/-/utils-0.3.0.tgz",
+ "integrity": "sha512-e7Mew686owMaPJVNNLs55PUvgz371nKgwsc4vxE49zsODpJEnxgxRo2y/OKrqueavXgZNMDVj3DdHFlaSAeU8g==",
+ "license": "MIT"
+ },
+ "node_modules/@swc/helpers": {
+ "version": "0.5.23",
+ "resolved": "https://registry.npmjs.org/@swc/helpers/-/helpers-0.5.23.tgz",
+ "integrity": "sha512-5lSsMOTXURePglDfvuAQUqkGek9Hg2kksOYay2m0+XR++b2NWYL/4sWyuvVBIs8oKnJaxkdi9whaL/sqN13afw==",
+ "license": "Apache-2.0",
+ "dependencies": {
+ "tslib": "^2.8.0"
+ }
+ },
+ "node_modules/@tailwindcss/node": {
+ "version": "4.3.3",
+ "resolved": "https://registry.npmjs.org/@tailwindcss/node/-/node-4.3.3.tgz",
+ "integrity": "sha512-/T8IKEsf9VTU6tLjgC7+sv2mOPtQxzE2jMw7u4Tt40Tx+QSZxpzh95/H6cMKoja9XuW7iMdLJYBB0o9G1CaAgg==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@jridgewell/remapping": "^2.3.5",
+ "enhanced-resolve": "^5.24.1",
+ "jiti": "^2.7.0",
+ "lightningcss": "1.32.0",
+ "magic-string": "^0.30.21",
+ "source-map-js": "^1.2.1",
+ "tailwindcss": "4.3.3"
+ }
+ },
+ "node_modules/@tailwindcss/oxide": {
+ "version": "4.3.3",
+ "resolved": "https://registry.npmjs.org/@tailwindcss/oxide/-/oxide-4.3.3.tgz",
"integrity": "sha512-krXjAikiaFSPaK/FkAQT5UTx3VormQaiZ5hBFlJZ9UFQGB/rwg1MZIhHAG9smMQRTdyJxP6Qt5MwMtdyU5FWrA==",
"dev": true,
"license": "MIT",
@@ -1394,6 +2349,32 @@
"tailwindcss": "4.3.3"
}
},
+ "node_modules/@tanstack/virtual-core": {
+ "version": "3.17.8",
+ "resolved": "https://registry.npmjs.org/@tanstack/virtual-core/-/virtual-core-3.17.8.tgz",
+ "integrity": "sha512-BfEvehNpOT75r5Ksc5xW6NZuXujTfb7nlSEyVu4XHG3gdxNg1KqXruWbDewXOUaUYIo4oRbSfkjIajz4MAT8tA==",
+ "license": "MIT",
+ "funding": {
+ "type": "github",
+ "url": "https://github.com/sponsors/tannerlinsley"
+ }
+ },
+ "node_modules/@tanstack/vue-virtual": {
+ "version": "3.13.36",
+ "resolved": "https://registry.npmjs.org/@tanstack/vue-virtual/-/vue-virtual-3.13.36.tgz",
+ "integrity": "sha512-gKpExv4RbB9luVG+SucTXoqPZv/gzu/Yvz6BNO+8kpNxJ2x+I/ulryzl5W9BRciahZGp5Tls3Dp5XP1ztVGbMw==",
+ "license": "MIT",
+ "dependencies": {
+ "@tanstack/virtual-core": "3.17.8"
+ },
+ "funding": {
+ "type": "github",
+ "url": "https://github.com/sponsors/tannerlinsley"
+ },
+ "peerDependencies": {
+ "vue": "^2.7.0 || ^3.0.0"
+ }
+ },
"node_modules/@testing-library/dom": {
"version": "10.4.1",
"resolved": "https://registry.npmjs.org/@testing-library/dom/-/dom-10.4.1.tgz",
@@ -1579,6 +2560,15 @@
"integrity": "sha512-Ps3T8E8dZDam6fUyNiMkekK3XUsaUEik+idO9/YjPtfj2qruF8tFBXS7XhtE4iIXBLxhmLjP3SXpLhVf21I9Lw==",
"license": "MIT"
},
+ "node_modules/@types/debug": {
+ "version": "4.1.13",
+ "resolved": "https://registry.npmjs.org/@types/debug/-/debug-4.1.13.tgz",
+ "integrity": "sha512-KSVgmQmzMwPlmtljOomayoR89W4FynCAi3E8PPs7vmDVPe84hT+vGPKkJfThkmXs0x0jAaa9U8uW8bbfyS2fWw==",
+ "license": "MIT",
+ "dependencies": {
+ "@types/ms": "*"
+ }
+ },
"node_modules/@types/deep-eql": {
"version": "4.0.2",
"resolved": "https://registry.npmjs.org/@types/deep-eql/-/deep-eql-4.0.2.tgz",
@@ -1599,6 +2589,45 @@
"dev": true,
"license": "MIT"
},
+ "node_modules/@types/har-format": {
+ "version": "1.2.16",
+ "resolved": "https://registry.npmjs.org/@types/har-format/-/har-format-1.2.16.tgz",
+ "integrity": "sha512-fluxdy7ryD3MV6h8pTfTYpy/xQzCFC7m89nOH9y94cNqJ1mDIDPut7MnRHI3F6qRmh/cT2fUjG1MLdCNb4hE9A==",
+ "license": "MIT"
+ },
+ "node_modules/@types/hast": {
+ "version": "3.0.5",
+ "resolved": "https://registry.npmjs.org/@types/hast/-/hast-3.0.5.tgz",
+ "integrity": "sha512-rp/ezSWaD1m44dPKICGhiskI13nVr7qTloFwDa/IYkhhf5nzwP+zIQcIJh3WIFSBOy/H1PzB40jPjMDksN4F+g==",
+ "license": "MIT",
+ "dependencies": {
+ "@types/unist": "*"
+ }
+ },
+ "node_modules/@types/mdast": {
+ "version": "4.0.4",
+ "resolved": "https://registry.npmjs.org/@types/mdast/-/mdast-4.0.4.tgz",
+ "integrity": "sha512-kGaNbPh1k7AFzgpud/gMdvIm5xuECykRR+JnWKQno9TAXVa6WIVCGTPvYGekIDL4uwCZQSYbUxNBSb1aUo79oA==",
+ "license": "MIT",
+ "dependencies": {
+ "@types/unist": "*"
+ }
+ },
+ "node_modules/@types/ms": {
+ "version": "2.1.0",
+ "resolved": "https://registry.npmjs.org/@types/ms/-/ms-2.1.0.tgz",
+ "integrity": "sha512-GsCCIZDE/p3i96vtEqx+7dBUGXrc7zeSK3wwPHIaRThS+9OhWIXRqzs4d6k1SVU8g91DrNRWxWUGhp5KXQb2VA==",
+ "license": "MIT"
+ },
+ "node_modules/@types/node": {
+ "version": "24.13.3",
+ "resolved": "https://registry.npmjs.org/@types/node/-/node-24.13.3.tgz",
+ "integrity": "sha512-Dh8vAsV36ig5wa9OX4pXvMc9D3Veibfw2wix0CUwYODLD8nkj9UsLjASr49nPg+2eKzxhBV+v7L8pXvT4e639Q==",
+ "license": "MIT",
+ "dependencies": {
+ "undici-types": "~7.18.0"
+ }
+ },
"node_modules/@types/offscreencanvas": {
"version": "2019.7.3",
"resolved": "https://registry.npmjs.org/@types/offscreencanvas/-/offscreencanvas-2019.7.3.tgz",
@@ -1644,18 +2673,52 @@
"meshoptimizer": "~1.1.1"
}
},
+ "node_modules/@types/unist": {
+ "version": "3.0.3",
+ "resolved": "https://registry.npmjs.org/@types/unist/-/unist-3.0.3.tgz",
+ "integrity": "sha512-ko/gIFJRv177XgZsZcBwnqJN5x/Gien8qNOn0D5bQU/zAzVf9Zt3BlcUiLqhV9y4ARk0GbT3tnUiPNgnTXzc/Q==",
+ "license": "MIT"
+ },
"node_modules/@types/use-sync-external-store": {
"version": "0.0.6",
"resolved": "https://registry.npmjs.org/@types/use-sync-external-store/-/use-sync-external-store-0.0.6.tgz",
"integrity": "sha512-zFDAD+tlpf2r4asuHEj0XH6pY6i0g5NeAHPn+15wk3BV6JA69eERFXC1gyGThDkVa1zCyKr5jox1+2LbV/AMLg==",
"license": "MIT"
},
+ "node_modules/@types/web-bluetooth": {
+ "version": "0.0.21",
+ "resolved": "https://registry.npmjs.org/@types/web-bluetooth/-/web-bluetooth-0.0.21.tgz",
+ "integrity": "sha512-oIQLCGWtcFZy2JW77j9k8nHzAOpqMHLQejDA48XXMWH6tjCQHz5RCFz1bzsmROyL6PUm+LLnUiI4BCn221inxA==",
+ "license": "MIT"
+ },
"node_modules/@types/webxr": {
"version": "0.5.24",
"resolved": "https://registry.npmjs.org/@types/webxr/-/webxr-0.5.24.tgz",
"integrity": "sha512-h8fgEd/DpoS9CBrjEQXR+dIDraopAEfu4wYVNY2tEPwk60stPWhvZMf4Foo5FakuQ7HFZoa8WceaWFervK2Ovg==",
"license": "MIT"
},
+ "node_modules/@ungap/structured-clone": {
+ "version": "1.4.0",
+ "resolved": "https://registry.npmjs.org/@ungap/structured-clone/-/structured-clone-1.4.0.tgz",
+ "integrity": "sha512-1mEZtMKPM09vDmQt5y7YvmN2+DFTP7Tg0EWXdic8/C6VRnpb33e4ghisCIE3WZjsE2N8mf+QV1Zqh7ZFYLWInQ==",
+ "license": "ISC"
+ },
+ "node_modules/@unhead/vue": {
+ "version": "2.1.17",
+ "resolved": "https://registry.npmjs.org/@unhead/vue/-/vue-2.1.17.tgz",
+ "integrity": "sha512-pnC8x9HLV3qQXdvWfylUEU25uhfCAy3ly9nmpQz84j9py818DRfU8jOsQ5wjdWtxyU1vX/fW2udfm4jtxUK8Bg==",
+ "license": "MIT",
+ "dependencies": {
+ "hookable": "^6.0.1",
+ "unhead": "2.1.17"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/harlan-zw"
+ },
+ "peerDependencies": {
+ "vue": ">=3.5.18"
+ }
+ },
"node_modules/@use-gesture/core": {
"version": "10.3.1",
"resolved": "https://registry.npmjs.org/@use-gesture/core/-/core-10.3.1.tgz",
@@ -1674,8 +2737,17 @@
"react": ">= 16.8.0"
}
},
- "node_modules/@vitejs/plugin-react": {
- "version": "6.1.0",
+ "node_modules/@vercel/oidc": {
+ "version": "3.1.0",
+ "resolved": "https://registry.npmjs.org/@vercel/oidc/-/oidc-3.1.0.tgz",
+ "integrity": "sha512-Fw28YZpRnA3cAHHDlkt7xQHiJ0fcL+NRcIqsocZQUSmbzeIKRpwttJjik5ZGanXP+vlA4SbTg+AbA3bP363l+w==",
+ "license": "Apache-2.0",
+ "engines": {
+ "node": ">= 20"
+ }
+ },
+ "node_modules/@vitejs/plugin-react": {
+ "version": "6.1.0",
"resolved": "https://registry.npmjs.org/@vitejs/plugin-react/-/plugin-react-6.1.0.tgz",
"integrity": "sha512-qd2BzUBehkov86WFhg0JkEFEYyCLG9uPCe6qWTY/kRlss9OvJrOF2UbIWT7p+8IzZHkEu0DNGHc4HSv+JdDLsw==",
"dev": true,
@@ -1817,6 +2889,232 @@
"url": "https://opencollective.com/vitest"
}
},
+ "node_modules/@vue/compiler-core": {
+ "version": "3.5.42",
+ "resolved": "https://registry.npmjs.org/@vue/compiler-core/-/compiler-core-3.5.42.tgz",
+ "integrity": "sha512-2Ye1ilMtKXxl8qZUrQ5j0CdgenFp/HFQmta6rfRyfEsTG69L6Wk+tWuNoHYHMx9E8tF2Slvdg1FuwDvAXdy1LQ==",
+ "license": "MIT",
+ "dependencies": {
+ "@babel/parser": "^7.29.8",
+ "@vue/shared": "3.5.42",
+ "entities": "^7.0.1",
+ "estree-walker": "^2.0.2",
+ "source-map-js": "^1.2.1"
+ }
+ },
+ "node_modules/@vue/compiler-core/node_modules/entities": {
+ "version": "7.0.1",
+ "resolved": "https://registry.npmjs.org/entities/-/entities-7.0.1.tgz",
+ "integrity": "sha512-TWrgLOFUQTH994YUyl1yT4uyavY5nNB5muff+RtWaqNVCAK408b5ZnnbNAUEWLTCpum9w6arT70i1XdQ4UeOPA==",
+ "license": "BSD-2-Clause",
+ "engines": {
+ "node": ">=0.12"
+ },
+ "funding": {
+ "url": "https://github.com/fb55/entities?sponsor=1"
+ }
+ },
+ "node_modules/@vue/compiler-core/node_modules/estree-walker": {
+ "version": "2.0.2",
+ "resolved": "https://registry.npmjs.org/estree-walker/-/estree-walker-2.0.2.tgz",
+ "integrity": "sha512-Rfkk/Mp/DL7JVje3u18FxFujQlTNR2q6QfMSMB7AvCBx91NGj/ba3kCfza0f6dVDbw7YlRf/nDrn7pQrCCyQ/w==",
+ "license": "MIT"
+ },
+ "node_modules/@vue/compiler-dom": {
+ "version": "3.5.42",
+ "resolved": "https://registry.npmjs.org/@vue/compiler-dom/-/compiler-dom-3.5.42.tgz",
+ "integrity": "sha512-qbhQZEFmycr+ni/qyuccS4sucNN7VAbDfbkvNxWOX2VfgFm90MNs3/UhRNKoPMEIVn0F8gdlYjLPvqxHwHeQOA==",
+ "license": "MIT",
+ "dependencies": {
+ "@vue/compiler-core": "3.5.42",
+ "@vue/shared": "3.5.42"
+ }
+ },
+ "node_modules/@vue/compiler-sfc": {
+ "version": "3.5.42",
+ "resolved": "https://registry.npmjs.org/@vue/compiler-sfc/-/compiler-sfc-3.5.42.tgz",
+ "integrity": "sha512-fkCAFB4okcAANGMThboWnScp/gzWjU0ZSkVnjTIiplmMDq2uq0tIB3j+xVu4rhv5rvOgBySCysudmbMd6xRRqw==",
+ "license": "MIT",
+ "dependencies": {
+ "@babel/parser": "^7.29.8",
+ "@vue/compiler-core": "3.5.42",
+ "@vue/compiler-dom": "3.5.42",
+ "@vue/compiler-ssr": "3.5.42",
+ "@vue/shared": "3.5.42",
+ "estree-walker": "^2.0.2",
+ "magic-string": "^0.30.21",
+ "postcss": "^8.5.19",
+ "source-map-js": "^1.2.1"
+ }
+ },
+ "node_modules/@vue/compiler-sfc/node_modules/estree-walker": {
+ "version": "2.0.2",
+ "resolved": "https://registry.npmjs.org/estree-walker/-/estree-walker-2.0.2.tgz",
+ "integrity": "sha512-Rfkk/Mp/DL7JVje3u18FxFujQlTNR2q6QfMSMB7AvCBx91NGj/ba3kCfza0f6dVDbw7YlRf/nDrn7pQrCCyQ/w==",
+ "license": "MIT"
+ },
+ "node_modules/@vue/compiler-ssr": {
+ "version": "3.5.42",
+ "resolved": "https://registry.npmjs.org/@vue/compiler-ssr/-/compiler-ssr-3.5.42.tgz",
+ "integrity": "sha512-xmLk3wLkbizPAiLyomjgFFosf2ys9b5Ghb+oh/k2tnvipNz8OFrQOiTcWCzyK7MpBp9KkyGtfvgfLUivbmuGYA==",
+ "license": "MIT",
+ "dependencies": {
+ "@vue/compiler-dom": "3.5.42",
+ "@vue/shared": "3.5.42"
+ }
+ },
+ "node_modules/@vue/reactivity": {
+ "version": "3.5.42",
+ "resolved": "https://registry.npmjs.org/@vue/reactivity/-/reactivity-3.5.42.tgz",
+ "integrity": "sha512-TzNNfKpb7hDxbQltwAut8VDQA5YP+BuRlxntHUuRjyKwlMvmAPbs3unhCvieijifY6vFfVBwsS7wG/C7uq+bEQ==",
+ "license": "MIT",
+ "dependencies": {
+ "@vue/shared": "3.5.42"
+ }
+ },
+ "node_modules/@vue/runtime-core": {
+ "version": "3.5.42",
+ "resolved": "https://registry.npmjs.org/@vue/runtime-core/-/runtime-core-3.5.42.tgz",
+ "integrity": "sha512-9uACtuHs7vJGkm5Bp3xu4xRDLFTIYy5DgxpToVjqGIAhAEKwQfsaLvKINhM6nFVp6bZPRFGdDqd1g52MqKsotA==",
+ "license": "MIT",
+ "dependencies": {
+ "@vue/reactivity": "3.5.42",
+ "@vue/shared": "3.5.42"
+ }
+ },
+ "node_modules/@vue/runtime-dom": {
+ "version": "3.5.42",
+ "resolved": "https://registry.npmjs.org/@vue/runtime-dom/-/runtime-dom-3.5.42.tgz",
+ "integrity": "sha512-rsCmhiWLaRxGltLwhlCWyYkFn7WAbKRh0q17eZ1A6Dq6eqc2ACQ61IIryxz0LrsvCzHSilLA9JHovVwM8CNE2g==",
+ "license": "MIT",
+ "dependencies": {
+ "@vue/reactivity": "3.5.42",
+ "@vue/runtime-core": "3.5.42",
+ "@vue/shared": "3.5.42",
+ "csstype": "^3.2.3"
+ }
+ },
+ "node_modules/@vue/server-renderer": {
+ "version": "3.5.42",
+ "resolved": "https://registry.npmjs.org/@vue/server-renderer/-/server-renderer-3.5.42.tgz",
+ "integrity": "sha512-2++5dUyYS4gvo7xQXSECUDhB7TS0aOl5SeVfC5qSq1Jgfhjvegw1zqhwTIR3imZ+QYPJQw9gfcFvXGAjGZ7ajQ==",
+ "license": "MIT",
+ "dependencies": {
+ "@vue/compiler-ssr": "3.5.42",
+ "@vue/runtime-dom": "3.5.42",
+ "@vue/shared": "3.5.42"
+ }
+ },
+ "node_modules/@vue/shared": {
+ "version": "3.5.42",
+ "resolved": "https://registry.npmjs.org/@vue/shared/-/shared-3.5.42.tgz",
+ "integrity": "sha512-2rPxex1jQf4jvl9MOHl6YaXCPcrNqz/FstMOEh3QWY+/OME9nQTvl9WYeCwhW7AFjaR0SnngZGlp/wkR6rkI6g==",
+ "license": "MIT"
+ },
+ "node_modules/@vueuse/core": {
+ "version": "13.9.0",
+ "resolved": "https://registry.npmjs.org/@vueuse/core/-/core-13.9.0.tgz",
+ "integrity": "sha512-ts3regBQyURfCE2BcytLqzm8+MmLlo5Ln/KLoxDVcsZ2gzIwVNnQpQOL/UKV8alUqjSZOlpFZcRNsLRqj+OzyA==",
+ "license": "MIT",
+ "dependencies": {
+ "@types/web-bluetooth": "^0.0.21",
+ "@vueuse/metadata": "13.9.0",
+ "@vueuse/shared": "13.9.0"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/antfu"
+ },
+ "peerDependencies": {
+ "vue": "^3.5.0"
+ }
+ },
+ "node_modules/@vueuse/integrations": {
+ "version": "13.9.0",
+ "resolved": "https://registry.npmjs.org/@vueuse/integrations/-/integrations-13.9.0.tgz",
+ "integrity": "sha512-SDobKBbPIOe0cVL7QxMzGkuUGHvWTdihi9zOrrWaWUgFKe15cwEcwfWmgrcNzjT6kHnNmWuTajPHoIzUjYNYYQ==",
+ "license": "MIT",
+ "dependencies": {
+ "@vueuse/core": "13.9.0",
+ "@vueuse/shared": "13.9.0"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/antfu"
+ },
+ "peerDependencies": {
+ "async-validator": "^4",
+ "axios": "^1",
+ "change-case": "^5",
+ "drauu": "^0.4",
+ "focus-trap": "^7",
+ "fuse.js": "^7",
+ "idb-keyval": "^6",
+ "jwt-decode": "^4",
+ "nprogress": "^0.2",
+ "qrcode": "^1.5",
+ "sortablejs": "^1",
+ "universal-cookie": "^7 || ^8",
+ "vue": "^3.5.0"
+ },
+ "peerDependenciesMeta": {
+ "async-validator": {
+ "optional": true
+ },
+ "axios": {
+ "optional": true
+ },
+ "change-case": {
+ "optional": true
+ },
+ "drauu": {
+ "optional": true
+ },
+ "focus-trap": {
+ "optional": true
+ },
+ "fuse.js": {
+ "optional": true
+ },
+ "idb-keyval": {
+ "optional": true
+ },
+ "jwt-decode": {
+ "optional": true
+ },
+ "nprogress": {
+ "optional": true
+ },
+ "qrcode": {
+ "optional": true
+ },
+ "sortablejs": {
+ "optional": true
+ },
+ "universal-cookie": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@vueuse/metadata": {
+ "version": "13.9.0",
+ "resolved": "https://registry.npmjs.org/@vueuse/metadata/-/metadata-13.9.0.tgz",
+ "integrity": "sha512-1AFRvuiGphfF7yWixZa0KwjYH8ulyjDCC0aFgrGRz8+P4kvDFSdXLVfTk5xAN9wEuD1J6z4/myMoYbnHoX07zg==",
+ "license": "MIT",
+ "funding": {
+ "url": "https://github.com/sponsors/antfu"
+ }
+ },
+ "node_modules/@vueuse/shared": {
+ "version": "13.9.0",
+ "resolved": "https://registry.npmjs.org/@vueuse/shared/-/shared-13.9.0.tgz",
+ "integrity": "sha512-e89uuTLMh0U5cZ9iDpEI2senqPGfbPRTHM/0AaQkcxnpqjkZqDYP8rpfm7edOz8s+pOCOROEy1PIveSW8+fL5g==",
+ "license": "MIT",
+ "funding": {
+ "url": "https://github.com/sponsors/antfu"
+ },
+ "peerDependencies": {
+ "vue": "^3.5.0"
+ }
+ },
"node_modules/@xterm/addon-fit": {
"version": "0.11.0",
"resolved": "https://registry.npmjs.org/@xterm/addon-fit/-/addon-fit-0.11.0.tgz",
@@ -1838,6 +3136,24 @@
"addons/*"
]
},
+ "node_modules/ai": {
+ "version": "6.0.33",
+ "resolved": "https://registry.npmjs.org/ai/-/ai-6.0.33.tgz",
+ "integrity": "sha512-bVokbmy2E2QF6Efl+5hOJx5MRWoacZ/CZY/y1E+VcewknvGlgaiCzMu8Xgddz6ArFJjiMFNUPHKxAhIePE4rmg==",
+ "license": "Apache-2.0",
+ "dependencies": {
+ "@ai-sdk/gateway": "3.0.13",
+ "@ai-sdk/provider": "3.0.2",
+ "@ai-sdk/provider-utils": "4.0.5",
+ "@opentelemetry/api": "1.9.0"
+ },
+ "engines": {
+ "node": ">=18"
+ },
+ "peerDependencies": {
+ "zod": "^3.25.76 || ^4.1.8"
+ }
+ },
"node_modules/ansi-regex": {
"version": "5.0.1",
"resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz",
@@ -1861,6 +3177,18 @@
"url": "https://github.com/chalk/ansi-styles?sponsor=1"
}
},
+ "node_modules/aria-hidden": {
+ "version": "1.2.6",
+ "resolved": "https://registry.npmjs.org/aria-hidden/-/aria-hidden-1.2.6.tgz",
+ "integrity": "sha512-ik3ZgC9dY/lYVVM++OISsaYDeg1tb0VtP5uL3ouh1koGOaUMDPpbFIei4JkFimWUFPn90sbMNMXQAIVOlnYKJA==",
+ "license": "MIT",
+ "dependencies": {
+ "tslib": "^2.0.0"
+ },
+ "engines": {
+ "node": ">=10"
+ }
+ },
"node_modules/aria-query": {
"version": "5.3.0",
"resolved": "https://registry.npmjs.org/aria-query/-/aria-query-5.3.0.tgz",
@@ -1881,6 +3209,16 @@
"node": ">=12"
}
},
+ "node_modules/bail": {
+ "version": "2.0.2",
+ "resolved": "https://registry.npmjs.org/bail/-/bail-2.0.2.tgz",
+ "integrity": "sha512-0xO6mYd7JB2YesxDKplafRpsiOzPt9V02ddPCLbY1xYGPOX24NTyN50qnUxgCPcSoYMhKpAuBTjQoRZCAkUDRw==",
+ "license": "MIT",
+ "funding": {
+ "type": "github",
+ "url": "https://github.com/sponsors/wooorm"
+ }
+ },
"node_modules/base64-js": {
"version": "1.5.1",
"resolved": "https://registry.npmjs.org/base64-js/-/base64-js-1.5.1.tgz",
@@ -1963,6 +3301,16 @@
"three": ">=0.126.1"
}
},
+ "node_modules/ccount": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/ccount/-/ccount-2.0.1.tgz",
+ "integrity": "sha512-eyrF0jiFpY+3drT6383f1qhkbGsLSifNAjA61IUjZjmLCWjItY6LB9ft9YhoDgwfmclB2zhu51Lc7+95b8NRAg==",
+ "license": "MIT",
+ "funding": {
+ "type": "github",
+ "url": "https://github.com/sponsors/wooorm"
+ }
+ },
"node_modules/chai": {
"version": "6.2.2",
"resolved": "https://registry.npmjs.org/chai/-/chai-6.2.2.tgz",
@@ -1973,6 +3321,48 @@
"node": ">=18"
}
},
+ "node_modules/chalk": {
+ "version": "5.6.2",
+ "resolved": "https://registry.npmjs.org/chalk/-/chalk-5.6.2.tgz",
+ "integrity": "sha512-7NzBL0rN6fMUW+f7A6Io4h40qQlG+xGmtMxfbnH/K7TAtt8JQWVQK+6g0UXKMeVJoyV5EkkNsErQ8pVD3bLHbA==",
+ "license": "MIT",
+ "engines": {
+ "node": "^12.17.0 || ^14.13 || >=16.0.0"
+ },
+ "funding": {
+ "url": "https://github.com/chalk/chalk?sponsor=1"
+ }
+ },
+ "node_modules/character-entities": {
+ "version": "2.0.2",
+ "resolved": "https://registry.npmjs.org/character-entities/-/character-entities-2.0.2.tgz",
+ "integrity": "sha512-shx7oQ0Awen/BRIdkjkvz54PnEEI/EjwXDSIZp86/KKdbafHh1Df/RYGBhn4hbe2+uKC9FnT5UCEdyPz3ai9hQ==",
+ "license": "MIT",
+ "funding": {
+ "type": "github",
+ "url": "https://github.com/sponsors/wooorm"
+ }
+ },
+ "node_modules/character-entities-html4": {
+ "version": "2.1.0",
+ "resolved": "https://registry.npmjs.org/character-entities-html4/-/character-entities-html4-2.1.0.tgz",
+ "integrity": "sha512-1v7fgQRj6hnSwFpq1Eu0ynr/CDEw0rXo2B61qXrLNdHZmPKgb7fqS1a2JwF0rISo9q77jDI8VMEHoApn8qDoZA==",
+ "license": "MIT",
+ "funding": {
+ "type": "github",
+ "url": "https://github.com/sponsors/wooorm"
+ }
+ },
+ "node_modules/character-entities-legacy": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/character-entities-legacy/-/character-entities-legacy-3.0.0.tgz",
+ "integrity": "sha512-RpPp0asT/6ufRm//AJVwpViZbGM/MkjQFxJccQRHmISF/22NBtsHqAWmL+/pmkPWoIUJdWyeVleTl1wydHATVQ==",
+ "license": "MIT",
+ "funding": {
+ "type": "github",
+ "url": "https://github.com/sponsors/wooorm"
+ }
+ },
"node_modules/cliui": {
"version": "9.0.1",
"resolved": "https://registry.npmjs.org/cliui/-/cliui-9.0.1.tgz",
@@ -2015,6 +3405,28 @@
"node": ">=6"
}
},
+ "node_modules/comma-separated-tokens": {
+ "version": "2.0.3",
+ "resolved": "https://registry.npmjs.org/comma-separated-tokens/-/comma-separated-tokens-2.0.3.tgz",
+ "integrity": "sha512-Fu4hJdvzeylCfQPp9SGWidpzrMs7tTrlu6Vb8XGaRGck8QSNZJJp538Wrb60Lax4fPwR64ViY468OIUTbRlGZg==",
+ "license": "MIT",
+ "funding": {
+ "type": "github",
+ "url": "https://github.com/sponsors/wooorm"
+ }
+ },
+ "node_modules/convert-hrtime": {
+ "version": "5.0.0",
+ "resolved": "https://registry.npmjs.org/convert-hrtime/-/convert-hrtime-5.0.0.tgz",
+ "integrity": "sha512-lOETlkIeYSJWcbbcvjRKGxVMXJR+8+OQb/mTPbA4ObPMytYIsUbuOE0Jzy60hjARYszq1id0j8KgVhC+WGZVTg==",
+ "license": "MIT",
+ "engines": {
+ "node": ">=12"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
"node_modules/convert-source-map": {
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/convert-source-map/-/convert-source-map-2.0.0.tgz",
@@ -2028,6 +3440,12 @@
"integrity": "sha512-UaXxwISYJPTr9hwQxMFYZ7kNhSXboMXP+Z3TRX6f1/NyaGPfuNUZOWP1pUEb75B2HjfklIYLVRfWiFZJyC6Npg==",
"license": "MIT"
},
+ "node_modules/crelt": {
+ "version": "1.0.7",
+ "resolved": "https://registry.npmjs.org/crelt/-/crelt-1.0.7.tgz",
+ "integrity": "sha512-aK6BbWfhf4U/wCcLHKPJl/xa6VkVstRaPywWtMKGwuOLc/wZTyQYuoxgvZnNsBvv7Kg3YTBQYYBCggcviQczuA==",
+ "license": "MIT"
+ },
"node_modules/cross-env": {
"version": "7.0.3",
"resolved": "https://registry.npmjs.org/cross-env/-/cross-env-7.0.3.tgz",
@@ -2085,8 +3503,27 @@
"version": "3.2.3",
"resolved": "https://registry.npmjs.org/csstype/-/csstype-3.2.3.tgz",
"integrity": "sha512-z1HGKcYy2xA8AGQfwrn0PAy+PB7X/GSj3UVJW9qKyn43xWa+gl5nXmU4qqLMRzWVLFC8KusUX8T/0kCiOYpAIQ==",
- "license": "MIT",
- "peer": true
+ "license": "MIT"
+ },
+ "node_modules/cva": {
+ "version": "1.0.0-beta.4",
+ "resolved": "https://registry.npmjs.org/cva/-/cva-1.0.0-beta.4.tgz",
+ "integrity": "sha512-F/JS9hScapq4DBVQXcK85l9U91M6ePeXoBMSp7vypzShoefUBxjQTo3g3935PUHgQd+IW77DjbPRIxugy4/GCQ==",
+ "license": "Apache-2.0",
+ "dependencies": {
+ "clsx": "^2.1.1"
+ },
+ "funding": {
+ "url": "https://polar.sh/cva"
+ },
+ "peerDependencies": {
+ "typescript": ">= 4.5.5"
+ },
+ "peerDependenciesMeta": {
+ "typescript": {
+ "optional": true
+ }
+ }
},
"node_modules/d3-array": {
"version": "3.2.4",
@@ -2253,6 +3690,19 @@
"integrity": "sha512-qIMFpTMZmny+MMIitAB6D7iVPEorVw6YQRWkvarTkT4tBeSLLiHzcwj6q0MmYSFCiVpiqPJTJEYIrpcPzVEIvg==",
"license": "MIT"
},
+ "node_modules/decode-named-character-reference": {
+ "version": "1.3.0",
+ "resolved": "https://registry.npmjs.org/decode-named-character-reference/-/decode-named-character-reference-1.3.0.tgz",
+ "integrity": "sha512-GtpQYB283KrPp6nRw50q3U9/VfOutZOe103qlN7BPP6Ad27xYnOIWv4lPzo8HCAL+mMZofJ9KEy30fq6MfaK6Q==",
+ "license": "MIT",
+ "dependencies": {
+ "character-entities": "^2.0.0"
+ },
+ "funding": {
+ "type": "github",
+ "url": "https://github.com/sponsors/wooorm"
+ }
+ },
"node_modules/default-browser": {
"version": "5.5.0",
"resolved": "https://registry.npmjs.org/default-browser/-/default-browser-5.5.0.tgz",
@@ -2296,11 +3746,16 @@
"url": "https://github.com/sponsors/sindresorhus"
}
},
+ "node_modules/defu": {
+ "version": "6.1.7",
+ "resolved": "https://registry.npmjs.org/defu/-/defu-6.1.7.tgz",
+ "integrity": "sha512-7z22QmUWiQ/2d0KkdYmANbRUVABpZ9SNYyH5vx6PZ+nE5bcC0l7uFvEfHlyld/HcGBFTL536ClDt3DEcSlEJAQ==",
+ "license": "MIT"
+ },
"node_modules/dequal": {
"version": "2.0.3",
"resolved": "https://registry.npmjs.org/dequal/-/dequal-2.0.3.tgz",
"integrity": "sha512-0je+qPKHEMohvfRTCEo3CrPG6cAzAYgmzKyxRiYSSDkS6eGJdyVJm7WaYA5ECaAD9wLB2T4EEeymA5aFVcYXCA==",
- "dev": true,
"license": "MIT",
"engines": {
"node": ">=6"
@@ -2325,6 +3780,19 @@
"node": ">=8"
}
},
+ "node_modules/devlop": {
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/devlop/-/devlop-1.1.0.tgz",
+ "integrity": "sha512-RWmIqhcFf1lRYBvNmr7qTNuyCt/7/ns2jbpp1+PalgE/rDQcBT0fioSMUpJ93irlUhC5hrg4cYqe6U+0ImW0rA==",
+ "license": "MIT",
+ "dependencies": {
+ "dequal": "^2.0.0"
+ },
+ "funding": {
+ "type": "github",
+ "url": "https://github.com/sponsors/wooorm"
+ }
+ },
"node_modules/dom-accessibility-api": {
"version": "0.5.16",
"resolved": "https://registry.npmjs.org/dom-accessibility-api/-/dom-accessibility-api-0.5.16.tgz",
@@ -2421,6 +3889,18 @@
"node": ">=6"
}
},
+ "node_modules/escape-string-regexp": {
+ "version": "5.0.0",
+ "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-5.0.0.tgz",
+ "integrity": "sha512-/veY75JbMK4j1yjvuUxuVsiS/hr/4iHs9FTT6cgTexxdE0Ly/glccBAkloH/DofkjRbZU3bnoj38mOmhkZ0lHw==",
+ "license": "MIT",
+ "engines": {
+ "node": ">=12"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
"node_modules/estree-walker": {
"version": "3.0.3",
"resolved": "https://registry.npmjs.org/estree-walker/-/estree-walker-3.0.3.tgz",
@@ -2437,6 +3917,15 @@
"integrity": "sha512-mlsTRyGaPBjPedk6Bvw+aqbsXDtoAyAzm5MO7JgU+yVRyMQ5O8bD4Kcci7BS85f93veegeCPkL8R4GLClnjLFw==",
"license": "MIT"
},
+ "node_modules/eventsource-parser": {
+ "version": "3.1.1",
+ "resolved": "https://registry.npmjs.org/eventsource-parser/-/eventsource-parser-3.1.1.tgz",
+ "integrity": "sha512-EKN1vKAMcZ8MlYMpaNuxN6R9yakzH6uajHcHVTqWJzvu5pWw9DyhbP35HH8MVBQ+dZjAfDxk+A8NiR9KWaXiyQ==",
+ "license": "MIT",
+ "engines": {
+ "node": ">=18.0.0"
+ }
+ },
"node_modules/expect-type": {
"version": "1.3.0",
"resolved": "https://registry.npmjs.org/expect-type/-/expect-type-1.3.0.tgz",
@@ -2447,6 +3936,18 @@
"node": ">=12.0.0"
}
},
+ "node_modules/extend": {
+ "version": "3.0.2",
+ "resolved": "https://registry.npmjs.org/extend/-/extend-3.0.2.tgz",
+ "integrity": "sha512-fjquC59cD7CyW6urNXK0FBufkZcoiGG80wTuPujX590cB5Ttln20E2UB4S/WARVqhXffZl2LNgS+gQdPIIim/g==",
+ "license": "MIT"
+ },
+ "node_modules/fast-deep-equal": {
+ "version": "3.1.3",
+ "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz",
+ "integrity": "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==",
+ "license": "MIT"
+ },
"node_modules/fdir": {
"version": "6.5.0",
"resolved": "https://registry.npmjs.org/fdir/-/fdir-6.5.0.tgz",
@@ -2471,6 +3972,21 @@
"integrity": "sha512-tbZNuJrLwGUp3zshBtdy4W+ORxZuIh8a5ilyIEQDC5rY1f3U20JMry0Ll3WBzU58EZKsEuJFXhb5gwv8CsPvgA==",
"license": "MIT"
},
+ "node_modules/flatted": {
+ "version": "3.4.4",
+ "resolved": "https://registry.npmjs.org/flatted/-/flatted-3.4.4.tgz",
+ "integrity": "sha512-5+ybhBZANEJxaH3X5evAFatUxLfEHSr7n6kYJ+1Qd0mUqr4eu9gIf6GDbWHf8RJijHrjjO8G+la14SlL2SeS1Q==",
+ "license": "ISC"
+ },
+ "node_modules/focus-trap": {
+ "version": "7.8.0",
+ "resolved": "https://registry.npmjs.org/focus-trap/-/focus-trap-7.8.0.tgz",
+ "integrity": "sha512-/yNdlIkpWbM0ptxno3ONTuf+2g318kh2ez3KSeZN5dZ8YC6AAmgeWz+GasYYiBJPFaYcSAPeu4GfhUaChzIJXA==",
+ "license": "MIT",
+ "dependencies": {
+ "tabbable": "^6.4.0"
+ }
+ },
"node_modules/fsevents": {
"version": "2.3.3",
"resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.3.tgz",
@@ -2486,18 +4002,43 @@
"node": "^8.16.0 || ^10.6.0 || >=11.0.0"
}
},
- "node_modules/get-caller-file": {
- "version": "2.0.5",
- "resolved": "https://registry.npmjs.org/get-caller-file/-/get-caller-file-2.0.5.tgz",
- "integrity": "sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg==",
- "dev": true,
- "license": "ISC",
+ "node_modules/function-timeout": {
+ "version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/function-timeout/-/function-timeout-1.0.2.tgz",
+ "integrity": "sha512-939eZS4gJ3htTHAldmyyuzlrD58P03fHG49v2JfFXbV6OhvZKRC9j2yAtdHw/zrp2zXHuv05zMIy40F0ge7spA==",
+ "license": "MIT",
"engines": {
- "node": "6.* || 8.* || >= 10.*"
+ "node": ">=18"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
}
},
- "node_modules/get-east-asian-width": {
- "version": "1.6.0",
+ "node_modules/fuse.js": {
+ "version": "7.5.0",
+ "resolved": "https://registry.npmjs.org/fuse.js/-/fuse.js-7.5.0.tgz",
+ "integrity": "sha512-sQtrEfA+ez/3G0cCZecF70oqpCRttCexYUG4mUrtWL49ULUzUyxokt5kyqwtKzj1270RaKih+hcP3qLcumccow==",
+ "license": "Apache-2.0",
+ "engines": {
+ "node": ">=10"
+ },
+ "funding": {
+ "type": "github",
+ "url": "https://github.com/sponsors/krisk"
+ }
+ },
+ "node_modules/get-caller-file": {
+ "version": "2.0.5",
+ "resolved": "https://registry.npmjs.org/get-caller-file/-/get-caller-file-2.0.5.tgz",
+ "integrity": "sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg==",
+ "dev": true,
+ "license": "ISC",
+ "engines": {
+ "node": "6.* || 8.* || >= 10.*"
+ }
+ },
+ "node_modules/get-east-asian-width": {
+ "version": "1.6.0",
"resolved": "https://registry.npmjs.org/get-east-asian-width/-/get-east-asian-width-1.6.0.tgz",
"integrity": "sha512-QRbvDIbx6YklUe6RxeTeleMR0yv3cYH6PsPZHcnVn7xv7zO1BHN8r0XETu8n6Ye3Q+ahtSarc3WgtNWmehIBfA==",
"dev": true,
@@ -2509,6 +4050,18 @@
"url": "https://github.com/sponsors/sindresorhus"
}
},
+ "node_modules/get-own-enumerable-keys": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/get-own-enumerable-keys/-/get-own-enumerable-keys-1.0.0.tgz",
+ "integrity": "sha512-PKsK2FSrQCyxcGHsGrLDcK0lx+0Ke+6e8KFFozA9/fIQLhQzPaRvJFdcz7+Axg3jUH/Mq+NI4xa5u/UT2tQskA==",
+ "license": "MIT",
+ "engines": {
+ "node": ">=14.16"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
"node_modules/glsl-noise": {
"version": "0.0.0",
"resolved": "https://registry.npmjs.org/glsl-noise/-/glsl-noise-0.0.0.tgz",
@@ -2522,12 +4075,369 @@
"dev": true,
"license": "ISC"
},
+ "node_modules/guess-json-indent": {
+ "version": "3.0.1",
+ "resolved": "https://registry.npmjs.org/guess-json-indent/-/guess-json-indent-3.0.1.tgz",
+ "integrity": "sha512-LWZ3Vr8BG7DHE3TzPYFqkhjNRw4vYgFSsv2nfMuHklAlOfiy54/EwiDQuQfFVLxENCVv20wpbjfTayooQHrEhQ==",
+ "license": "MIT",
+ "engines": {
+ "node": ">=18.18.0"
+ }
+ },
+ "node_modules/hast-util-embedded": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/hast-util-embedded/-/hast-util-embedded-3.0.0.tgz",
+ "integrity": "sha512-naH8sld4Pe2ep03qqULEtvYr7EjrLK2QHY8KJR6RJkTUjPGObe1vnx585uzem2hGra+s1q08DZZpfgDVYRbaXA==",
+ "license": "MIT",
+ "dependencies": {
+ "@types/hast": "^3.0.0",
+ "hast-util-is-element": "^3.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/unified"
+ }
+ },
+ "node_modules/hast-util-format": {
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/hast-util-format/-/hast-util-format-1.1.0.tgz",
+ "integrity": "sha512-yY1UDz6bC9rDvCWHpx12aIBGRG7krurX0p0Fm6pT547LwDIZZiNr8a+IHDogorAdreULSEzP82Nlv5SZkHZcjA==",
+ "license": "MIT",
+ "dependencies": {
+ "@types/hast": "^3.0.0",
+ "hast-util-embedded": "^3.0.0",
+ "hast-util-minify-whitespace": "^1.0.0",
+ "hast-util-phrasing": "^3.0.0",
+ "hast-util-whitespace": "^3.0.0",
+ "html-whitespace-sensitive-tag-names": "^3.0.0",
+ "unist-util-visit-parents": "^6.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/unified"
+ }
+ },
+ "node_modules/hast-util-from-html": {
+ "version": "2.0.3",
+ "resolved": "https://registry.npmjs.org/hast-util-from-html/-/hast-util-from-html-2.0.3.tgz",
+ "integrity": "sha512-CUSRHXyKjzHov8yKsQjGOElXy/3EKpyX56ELnkHH34vDVw1N1XSQ1ZcAvTyAPtGqLTuKP/uxM+aLkSPqF/EtMw==",
+ "license": "MIT",
+ "dependencies": {
+ "@types/hast": "^3.0.0",
+ "devlop": "^1.1.0",
+ "hast-util-from-parse5": "^8.0.0",
+ "parse5": "^7.0.0",
+ "vfile": "^6.0.0",
+ "vfile-message": "^4.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/unified"
+ }
+ },
+ "node_modules/hast-util-from-html/node_modules/entities": {
+ "version": "6.0.1",
+ "resolved": "https://registry.npmjs.org/entities/-/entities-6.0.1.tgz",
+ "integrity": "sha512-aN97NXWF6AWBTahfVOIrB/NShkzi5H7F9r1s9mD3cDj4Ko5f2qhhVoYMibXF7GlLveb/D2ioWay8lxI97Ven3g==",
+ "license": "BSD-2-Clause",
+ "engines": {
+ "node": ">=0.12"
+ },
+ "funding": {
+ "url": "https://github.com/fb55/entities?sponsor=1"
+ }
+ },
+ "node_modules/hast-util-from-html/node_modules/parse5": {
+ "version": "7.3.0",
+ "resolved": "https://registry.npmjs.org/parse5/-/parse5-7.3.0.tgz",
+ "integrity": "sha512-IInvU7fabl34qmi9gY8XOVxhYyMyuH2xUNpb2q8/Y+7552KlejkRvqvD19nMoUW/uQGGbqNpA6Tufu5FL5BZgw==",
+ "license": "MIT",
+ "dependencies": {
+ "entities": "^6.0.0"
+ },
+ "funding": {
+ "url": "https://github.com/inikulin/parse5?sponsor=1"
+ }
+ },
+ "node_modules/hast-util-from-parse5": {
+ "version": "8.0.3",
+ "resolved": "https://registry.npmjs.org/hast-util-from-parse5/-/hast-util-from-parse5-8.0.3.tgz",
+ "integrity": "sha512-3kxEVkEKt0zvcZ3hCRYI8rqrgwtlIOFMWkbclACvjlDw8Li9S2hk/d51OI0nr/gIpdMHNepwgOKqZ/sy0Clpyg==",
+ "license": "MIT",
+ "dependencies": {
+ "@types/hast": "^3.0.0",
+ "@types/unist": "^3.0.0",
+ "devlop": "^1.0.0",
+ "hastscript": "^9.0.0",
+ "property-information": "^7.0.0",
+ "vfile": "^6.0.0",
+ "vfile-location": "^5.0.0",
+ "web-namespaces": "^2.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/unified"
+ }
+ },
+ "node_modules/hast-util-has-property": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/hast-util-has-property/-/hast-util-has-property-3.0.0.tgz",
+ "integrity": "sha512-MNilsvEKLFpV604hwfhVStK0usFY/QmM5zX16bo7EjnAEGofr5YyI37kzopBlZJkHD4t887i+q/C8/tr5Q94cA==",
+ "license": "MIT",
+ "dependencies": {
+ "@types/hast": "^3.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/unified"
+ }
+ },
+ "node_modules/hast-util-is-body-ok-link": {
+ "version": "3.0.1",
+ "resolved": "https://registry.npmjs.org/hast-util-is-body-ok-link/-/hast-util-is-body-ok-link-3.0.1.tgz",
+ "integrity": "sha512-0qpnzOBLztXHbHQenVB8uNuxTnm/QBFUOmdOSsEn7GnBtyY07+ENTWVFBAnXd/zEgd9/SUG3lRY7hSIBWRgGpQ==",
+ "license": "MIT",
+ "dependencies": {
+ "@types/hast": "^3.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/unified"
+ }
+ },
+ "node_modules/hast-util-is-element": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/hast-util-is-element/-/hast-util-is-element-3.0.0.tgz",
+ "integrity": "sha512-Val9mnv2IWpLbNPqc/pUem+a7Ipj2aHacCwgNfTiK0vJKl0LF+4Ba4+v1oPHFpf3bLYmreq0/l3Gud9S5OH42g==",
+ "license": "MIT",
+ "dependencies": {
+ "@types/hast": "^3.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/unified"
+ }
+ },
+ "node_modules/hast-util-minify-whitespace": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/hast-util-minify-whitespace/-/hast-util-minify-whitespace-1.0.1.tgz",
+ "integrity": "sha512-L96fPOVpnclQE0xzdWb/D12VT5FabA7SnZOUMtL1DbXmYiHJMXZvFkIZfiMmTCNJHUeO2K9UYNXoVyfz+QHuOw==",
+ "license": "MIT",
+ "dependencies": {
+ "@types/hast": "^3.0.0",
+ "hast-util-embedded": "^3.0.0",
+ "hast-util-is-element": "^3.0.0",
+ "hast-util-whitespace": "^3.0.0",
+ "unist-util-is": "^6.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/unified"
+ }
+ },
+ "node_modules/hast-util-parse-selector": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/hast-util-parse-selector/-/hast-util-parse-selector-4.0.0.tgz",
+ "integrity": "sha512-wkQCkSYoOGCRKERFWcxMVMOcYE2K1AaNLU8DXS9arxnLOUEWbOXKXiJUNzEpqZ3JOKpnha3jkFrumEjVliDe7A==",
+ "license": "MIT",
+ "dependencies": {
+ "@types/hast": "^3.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/unified"
+ }
+ },
+ "node_modules/hast-util-phrasing": {
+ "version": "3.0.1",
+ "resolved": "https://registry.npmjs.org/hast-util-phrasing/-/hast-util-phrasing-3.0.1.tgz",
+ "integrity": "sha512-6h60VfI3uBQUxHqTyMymMZnEbNl1XmEGtOxxKYL7stY2o601COo62AWAYBQR9lZbYXYSBoxag8UpPRXK+9fqSQ==",
+ "license": "MIT",
+ "dependencies": {
+ "@types/hast": "^3.0.0",
+ "hast-util-embedded": "^3.0.0",
+ "hast-util-has-property": "^3.0.0",
+ "hast-util-is-body-ok-link": "^3.0.0",
+ "hast-util-is-element": "^3.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/unified"
+ }
+ },
+ "node_modules/hast-util-raw": {
+ "version": "9.1.0",
+ "resolved": "https://registry.npmjs.org/hast-util-raw/-/hast-util-raw-9.1.0.tgz",
+ "integrity": "sha512-Y8/SBAHkZGoNkpzqqfCldijcuUKh7/su31kEBp67cFY09Wy0mTRgtsLYsiIxMJxlu0f6AA5SUTbDR8K0rxnbUw==",
+ "license": "MIT",
+ "dependencies": {
+ "@types/hast": "^3.0.0",
+ "@types/unist": "^3.0.0",
+ "@ungap/structured-clone": "^1.0.0",
+ "hast-util-from-parse5": "^8.0.0",
+ "hast-util-to-parse5": "^8.0.0",
+ "html-void-elements": "^3.0.0",
+ "mdast-util-to-hast": "^13.0.0",
+ "parse5": "^7.0.0",
+ "unist-util-position": "^5.0.0",
+ "unist-util-visit": "^5.0.0",
+ "vfile": "^6.0.0",
+ "web-namespaces": "^2.0.0",
+ "zwitch": "^2.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/unified"
+ }
+ },
+ "node_modules/hast-util-raw/node_modules/entities": {
+ "version": "6.0.1",
+ "resolved": "https://registry.npmjs.org/entities/-/entities-6.0.1.tgz",
+ "integrity": "sha512-aN97NXWF6AWBTahfVOIrB/NShkzi5H7F9r1s9mD3cDj4Ko5f2qhhVoYMibXF7GlLveb/D2ioWay8lxI97Ven3g==",
+ "license": "BSD-2-Clause",
+ "engines": {
+ "node": ">=0.12"
+ },
+ "funding": {
+ "url": "https://github.com/fb55/entities?sponsor=1"
+ }
+ },
+ "node_modules/hast-util-raw/node_modules/parse5": {
+ "version": "7.3.0",
+ "resolved": "https://registry.npmjs.org/parse5/-/parse5-7.3.0.tgz",
+ "integrity": "sha512-IInvU7fabl34qmi9gY8XOVxhYyMyuH2xUNpb2q8/Y+7552KlejkRvqvD19nMoUW/uQGGbqNpA6Tufu5FL5BZgw==",
+ "license": "MIT",
+ "dependencies": {
+ "entities": "^6.0.0"
+ },
+ "funding": {
+ "url": "https://github.com/inikulin/parse5?sponsor=1"
+ }
+ },
+ "node_modules/hast-util-sanitize": {
+ "version": "5.0.2",
+ "resolved": "https://registry.npmjs.org/hast-util-sanitize/-/hast-util-sanitize-5.0.2.tgz",
+ "integrity": "sha512-3yTWghByc50aGS7JlGhk61SPenfE/p1oaFeNwkOOyrscaOkMGrcW9+Cy/QAIOBpZxP1yqDIzFMR0+Np0i0+usg==",
+ "license": "MIT",
+ "dependencies": {
+ "@types/hast": "^3.0.0",
+ "@ungap/structured-clone": "^1.0.0",
+ "unist-util-position": "^5.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/unified"
+ }
+ },
+ "node_modules/hast-util-to-html": {
+ "version": "9.0.5",
+ "resolved": "https://registry.npmjs.org/hast-util-to-html/-/hast-util-to-html-9.0.5.tgz",
+ "integrity": "sha512-OguPdidb+fbHQSU4Q4ZiLKnzWo8Wwsf5bZfbvu7//a9oTYoqD/fWpe96NuHkoS9h0ccGOTe0C4NGXdtS0iObOw==",
+ "license": "MIT",
+ "dependencies": {
+ "@types/hast": "^3.0.0",
+ "@types/unist": "^3.0.0",
+ "ccount": "^2.0.0",
+ "comma-separated-tokens": "^2.0.0",
+ "hast-util-whitespace": "^3.0.0",
+ "html-void-elements": "^3.0.0",
+ "mdast-util-to-hast": "^13.0.0",
+ "property-information": "^7.0.0",
+ "space-separated-tokens": "^2.0.0",
+ "stringify-entities": "^4.0.0",
+ "zwitch": "^2.0.4"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/unified"
+ }
+ },
+ "node_modules/hast-util-to-parse5": {
+ "version": "8.0.1",
+ "resolved": "https://registry.npmjs.org/hast-util-to-parse5/-/hast-util-to-parse5-8.0.1.tgz",
+ "integrity": "sha512-MlWT6Pjt4CG9lFCjiz4BH7l9wmrMkfkJYCxFwKQic8+RTZgWPuWxwAfjJElsXkex7DJjfSJsQIt931ilUgmwdA==",
+ "license": "MIT",
+ "dependencies": {
+ "@types/hast": "^3.0.0",
+ "comma-separated-tokens": "^2.0.0",
+ "devlop": "^1.0.0",
+ "property-information": "^7.0.0",
+ "space-separated-tokens": "^2.0.0",
+ "web-namespaces": "^2.0.0",
+ "zwitch": "^2.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/unified"
+ }
+ },
+ "node_modules/hast-util-to-text": {
+ "version": "4.0.2",
+ "resolved": "https://registry.npmjs.org/hast-util-to-text/-/hast-util-to-text-4.0.2.tgz",
+ "integrity": "sha512-KK6y/BN8lbaq654j7JgBydev7wuNMcID54lkRav1P0CaE1e47P72AWWPiGKXTJU271ooYzcvTAn/Zt0REnvc7A==",
+ "license": "MIT",
+ "dependencies": {
+ "@types/hast": "^3.0.0",
+ "@types/unist": "^3.0.0",
+ "hast-util-is-element": "^3.0.0",
+ "unist-util-find-after": "^5.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/unified"
+ }
+ },
+ "node_modules/hast-util-whitespace": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/hast-util-whitespace/-/hast-util-whitespace-3.0.0.tgz",
+ "integrity": "sha512-88JUN06ipLwsnv+dVn+OIYOvAuvBMy/Qoi6O7mQHxdPXpjy+Cd6xRkWwux7DKO+4sYILtLBRIKgsdpS2gQc7qw==",
+ "license": "MIT",
+ "dependencies": {
+ "@types/hast": "^3.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/unified"
+ }
+ },
+ "node_modules/hastscript": {
+ "version": "9.0.1",
+ "resolved": "https://registry.npmjs.org/hastscript/-/hastscript-9.0.1.tgz",
+ "integrity": "sha512-g7df9rMFX/SPi34tyGCyUBREQoKkapwdY/T04Qn9TDWfHhAYt4/I0gMVirzK5wEzeUqIjEB+LXC/ypb7Aqno5w==",
+ "license": "MIT",
+ "dependencies": {
+ "@types/hast": "^3.0.0",
+ "comma-separated-tokens": "^2.0.0",
+ "hast-util-parse-selector": "^4.0.0",
+ "property-information": "^7.0.0",
+ "space-separated-tokens": "^2.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/unified"
+ }
+ },
+ "node_modules/highlight.js": {
+ "version": "11.12.0",
+ "resolved": "https://registry.npmjs.org/highlight.js/-/highlight.js-11.12.0.tgz",
+ "integrity": "sha512-nbfWpyRMcMrPMmDwJB+dhX/eiaPKtc2RB+0QZskqJ3WjRA/FDS0e9hZrx8EC/lbEv8gXy98FcDbNa/dspAaJMg==",
+ "license": "BSD-3-Clause",
+ "engines": {
+ "node": ">=12.0.0"
+ }
+ },
"node_modules/hls.js": {
"version": "1.6.16",
"resolved": "https://registry.npmjs.org/hls.js/-/hls.js-1.6.16.tgz",
"integrity": "sha512-VSIRpLfRwlAAdGL4wiTucx2ScRipo0ed1FBatWkyt832jC4CReKstga6yIhYVwGu9LOBjuX9wzmRMeQdBJtzEA==",
"license": "Apache-2.0"
},
+ "node_modules/hookable": {
+ "version": "6.1.1",
+ "resolved": "https://registry.npmjs.org/hookable/-/hookable-6.1.1.tgz",
+ "integrity": "sha512-U9LYDy1CwhMCnprUfeAZWZGByVbhd54hwepegYTK7Pi5NvqEj63ifz5z+xukznehT7i6NIZRu89Ay1AZmRsLEQ==",
+ "license": "MIT"
+ },
"node_modules/html-encoding-sniffer": {
"version": "6.0.0",
"resolved": "https://registry.npmjs.org/html-encoding-sniffer/-/html-encoding-sniffer-6.0.0.tgz",
@@ -2541,6 +4451,41 @@
"node": "^20.19.0 || ^22.12.0 || >=24.0.0"
}
},
+ "node_modules/html-void-elements": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/html-void-elements/-/html-void-elements-3.0.0.tgz",
+ "integrity": "sha512-bEqo66MRXsUGxWHV5IP0PUiAWwoEjba4VCzg0LjFJBpchPaTfyfCKTG6bc5F8ucKec3q5y6qOdGyYTSBEvhCrg==",
+ "license": "MIT",
+ "funding": {
+ "type": "github",
+ "url": "https://github.com/sponsors/wooorm"
+ }
+ },
+ "node_modules/html-whitespace-sensitive-tag-names": {
+ "version": "3.0.1",
+ "resolved": "https://registry.npmjs.org/html-whitespace-sensitive-tag-names/-/html-whitespace-sensitive-tag-names-3.0.1.tgz",
+ "integrity": "sha512-q+310vW8zmymYHALr1da4HyXUQ0zgiIwIicEfotYPWGN0OJVEN/58IJ3A4GBYcEq3LGAZqKb+ugvP0GNB9CEAA==",
+ "license": "MIT",
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/unified"
+ }
+ },
+ "node_modules/identifier-regex": {
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/identifier-regex/-/identifier-regex-1.1.0.tgz",
+ "integrity": "sha512-SLX4H/vtcYlYnL7XqnuJKHU7Z8517TgsW9nmQiGOgMCjQ8V/deLYu6bEmbGoXe7WMMhc9+EUGyFFneHja8KabA==",
+ "license": "MIT",
+ "dependencies": {
+ "reserved-identifiers": "^1.0.0"
+ },
+ "engines": {
+ "node": ">=18"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
"node_modules/ieee754": {
"version": "1.2.1",
"resolved": "https://registry.npmjs.org/ieee754/-/ieee754-1.2.1.tgz",
@@ -2596,6 +4541,18 @@
"node": ">=12"
}
},
+ "node_modules/is-absolute-url": {
+ "version": "4.0.1",
+ "resolved": "https://registry.npmjs.org/is-absolute-url/-/is-absolute-url-4.0.1.tgz",
+ "integrity": "sha512-/51/TKE88Lmm7Gc4/8btclNXWS+g50wXhYJq8HWIBAGUBnoAdRu1aXeh364t/O7wXDAcTJDP8PNuNKWUDWie+A==",
+ "license": "MIT",
+ "engines": {
+ "node": "^12.20.0 || ^14.13.1 || >=16.0.0"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
"node_modules/is-docker": {
"version": "3.0.0",
"resolved": "https://registry.npmjs.org/is-docker/-/is-docker-3.0.0.tgz",
@@ -2612,6 +4569,22 @@
"url": "https://github.com/sponsors/sindresorhus"
}
},
+ "node_modules/is-identifier": {
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/is-identifier/-/is-identifier-1.1.0.tgz",
+ "integrity": "sha512-NhOds0mDx9lJu+1lBRO0xbwFo5nobA7GCk/0e5xjr6+6XugX985+0OyGX35BNrTkPAsdLcIKg02HUQJOK8D8kw==",
+ "license": "MIT",
+ "dependencies": {
+ "identifier-regex": "^1.1.0",
+ "super-regex": "^1.1.0"
+ },
+ "engines": {
+ "node": ">=18"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
"node_modules/is-in-ssh": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/is-in-ssh/-/is-in-ssh-1.0.0.tgz",
@@ -2644,19 +4617,55 @@
"url": "https://github.com/sponsors/sindresorhus"
}
},
- "node_modules/is-potential-custom-element-name": {
- "version": "1.0.1",
- "resolved": "https://registry.npmjs.org/is-potential-custom-element-name/-/is-potential-custom-element-name-1.0.1.tgz",
- "integrity": "sha512-bCYeRA2rVibKZd+s2625gGnGF/t7DSqDs4dP7CrLA1m7jKWz6pps0LpYLJN8Q64HtmPKJ1hrN3nzPNKFEKOUiQ==",
- "dev": true,
- "license": "MIT"
- },
- "node_modules/is-promise": {
- "version": "2.2.2",
- "resolved": "https://registry.npmjs.org/is-promise/-/is-promise-2.2.2.tgz",
- "integrity": "sha512-+lP4/6lKUBfQjZ2pdxThZvLUAafmZb8OAxFb8XXtiQmS35INgr85hdOGoEs124ez1FCnZJt6jau/T+alh58QFQ==",
- "license": "MIT"
- },
+ "node_modules/is-obj": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/is-obj/-/is-obj-3.0.0.tgz",
+ "integrity": "sha512-IlsXEHOjtKhpN8r/tRFj2nDyTmHvcfNeu/nrRIcXE17ROeatXchkojffa1SpdqW4cr/Fj6QkEf/Gn4zf6KKvEQ==",
+ "license": "MIT",
+ "engines": {
+ "node": ">=12"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/is-plain-obj": {
+ "version": "4.1.0",
+ "resolved": "https://registry.npmjs.org/is-plain-obj/-/is-plain-obj-4.1.0.tgz",
+ "integrity": "sha512-+Pgi+vMuUNkJyExiMBt5IlFoMyKnr5zhJ4Uspz58WOhBF5QoIZkFyNHIbBAtHwzVAgk5RtndVNsDRN61/mmDqg==",
+ "license": "MIT",
+ "engines": {
+ "node": ">=12"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/is-potential-custom-element-name": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/is-potential-custom-element-name/-/is-potential-custom-element-name-1.0.1.tgz",
+ "integrity": "sha512-bCYeRA2rVibKZd+s2625gGnGF/t7DSqDs4dP7CrLA1m7jKWz6pps0LpYLJN8Q64HtmPKJ1hrN3nzPNKFEKOUiQ==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/is-promise": {
+ "version": "2.2.2",
+ "resolved": "https://registry.npmjs.org/is-promise/-/is-promise-2.2.2.tgz",
+ "integrity": "sha512-+lP4/6lKUBfQjZ2pdxThZvLUAafmZb8OAxFb8XXtiQmS35INgr85hdOGoEs124ez1FCnZJt6jau/T+alh58QFQ==",
+ "license": "MIT"
+ },
+ "node_modules/is-regexp": {
+ "version": "3.1.0",
+ "resolved": "https://registry.npmjs.org/is-regexp/-/is-regexp-3.1.0.tgz",
+ "integrity": "sha512-rbku49cWloU5bSMI+zaRaXdQHXnthP6DZ/vLnfdSKyL4zUzuWnomtOEiZZOd+ioQ+avFo/qau3KPTc7Fjy1uPA==",
+ "license": "MIT",
+ "engines": {
+ "node": ">=12"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
"node_modules/is-wsl": {
"version": "3.1.1",
"resolved": "https://registry.npmjs.org/is-wsl/-/is-wsl-3.1.1.tgz",
@@ -2701,6 +4710,12 @@
"jiti": "lib/jiti-cli.mjs"
}
},
+ "node_modules/js-base64": {
+ "version": "3.9.3",
+ "resolved": "https://registry.npmjs.org/js-base64/-/js-base64-3.9.3.tgz",
+ "integrity": "sha512-uwYQp+VJ38FVvtim6qNbit6e9uT6dwWQ4Y1+H9TxhW5hcHjpHwoxlR0nMpqUmIFOmu4VqMxwdJA88gIVuZJQ/g==",
+ "license": "BSD-3-Clause"
+ },
"node_modules/js-tokens": {
"version": "4.0.0",
"resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz",
@@ -2774,6 +4789,18 @@
"node": "^22.14.0 || >=24.0.0"
}
},
+ "node_modules/json-schema": {
+ "version": "0.4.0",
+ "resolved": "https://registry.npmjs.org/json-schema/-/json-schema-0.4.0.tgz",
+ "integrity": "sha512-es94M3nTIfsEPisRafak+HDLfHXnKBhV3vU5eqPcS3flIWqcxJWgXHXiey3YrpaNsanY5ei1VoYEbOzijuq9BA==",
+ "license": "(AFL-2.1 OR BSD-3-Clause)"
+ },
+ "node_modules/jsonc-parser": {
+ "version": "3.3.1",
+ "resolved": "https://registry.npmjs.org/jsonc-parser/-/jsonc-parser-3.3.1.tgz",
+ "integrity": "sha512-HUgH65KyejrUFPvHFPbqOY0rsFip3Bo5wb4ngvdi1EpCYWUQDC5V+Y7mZws+DLkr4M//zQJoanu1SP+87Dv1oQ==",
+ "license": "MIT"
+ },
"node_modules/lie": {
"version": "3.3.0",
"resolved": "https://registry.npmjs.org/lie/-/lie-3.3.0.tgz",
@@ -3056,6 +5083,40 @@
"url": "https://opencollective.com/parcel"
}
},
+ "node_modules/longest-streak": {
+ "version": "3.1.0",
+ "resolved": "https://registry.npmjs.org/longest-streak/-/longest-streak-3.1.0.tgz",
+ "integrity": "sha512-9Ri+o0JYgehTaVBBDoMqIl8GXtbWg711O3srftcHhZ0dqnETqLaoIK0x17fUw9rFSlK/0NlsKe0Ahhyl5pXE2g==",
+ "license": "MIT",
+ "funding": {
+ "type": "github",
+ "url": "https://github.com/sponsors/wooorm"
+ }
+ },
+ "node_modules/lowlight": {
+ "version": "3.3.0",
+ "resolved": "https://registry.npmjs.org/lowlight/-/lowlight-3.3.0.tgz",
+ "integrity": "sha512-0JNhgFoPvP6U6lE/UdVsSq99tn6DhjjpAj5MxG49ewd2mOBVtwWYIT8ClyABhq198aXXODMU6Ox8DrGy/CpTZQ==",
+ "license": "MIT",
+ "dependencies": {
+ "@types/hast": "^3.0.0",
+ "devlop": "^1.0.0",
+ "highlight.js": "~11.11.0"
+ },
+ "funding": {
+ "type": "github",
+ "url": "https://github.com/sponsors/wooorm"
+ }
+ },
+ "node_modules/lowlight/node_modules/highlight.js": {
+ "version": "11.11.2",
+ "resolved": "https://registry.npmjs.org/highlight.js/-/highlight.js-11.11.2.tgz",
+ "integrity": "sha512-oaXMACAU0kzOMXBjWpNcX+vlwSBCIAiZ9BHa7gA15NOTtT2L/l8OSZDuqS2XppOhZBPJ7hm4o8ep2kyuip2uEQ==",
+ "license": "BSD-3-Clause",
+ "engines": {
+ "node": ">=12.0.0"
+ }
+ },
"node_modules/lucide-react": {
"version": "1.34.0",
"resolved": "https://registry.npmjs.org/lucide-react/-/lucide-react-1.34.0.tgz",
@@ -3071,50 +5132,867 @@
"integrity": "sha512-h5bgJWpxJNswbU7qCrV0tIKQCaS3blPDrqKWx+QxzuzL1zGUzij9XCWLrSLsJPu5t+eWA/ycetzYAO5IOMcWAQ==",
"dev": true,
"license": "MIT",
- "bin": {
- "lz-string": "bin/bin.js"
+ "bin": {
+ "lz-string": "bin/bin.js"
+ }
+ },
+ "node_modules/maath": {
+ "version": "0.10.8",
+ "resolved": "https://registry.npmjs.org/maath/-/maath-0.10.8.tgz",
+ "integrity": "sha512-tRvbDF0Pgqz+9XUa4jjfgAQ8/aPKmQdWXilFu2tMy4GWj4NOsx99HlULO4IeREfbO3a0sA145DZYyvXPkybm0g==",
+ "license": "MIT",
+ "peerDependencies": {
+ "@types/three": ">=0.134.0",
+ "three": ">=0.134.0"
+ }
+ },
+ "node_modules/magic-string": {
+ "version": "0.30.21",
+ "resolved": "https://registry.npmjs.org/magic-string/-/magic-string-0.30.21.tgz",
+ "integrity": "sha512-vd2F4YUyEXKGcLHoq+TEyCjxueSeHnFxyyjNp80yg0XV4vUhnDer/lvvlqM/arB5bXQN5K2/3oinyCRyx8T2CQ==",
+ "license": "MIT",
+ "dependencies": {
+ "@jridgewell/sourcemap-codec": "^1.5.5"
+ }
+ },
+ "node_modules/make-asynchronous": {
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/make-asynchronous/-/make-asynchronous-1.1.0.tgz",
+ "integrity": "sha512-ayF7iT+44LXdxJLTrTd3TLQpFDDvPCBxXxbv+pMUSuHA5Q8zyAfwkRP6aHHwNVFBUFWtxAHqwNJxF8vMZLAbVg==",
+ "license": "MIT",
+ "dependencies": {
+ "p-event": "^6.0.0",
+ "type-fest": "^4.6.0",
+ "web-worker": "^1.5.0"
+ },
+ "engines": {
+ "node": ">=18"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/make-asynchronous/node_modules/type-fest": {
+ "version": "4.41.0",
+ "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-4.41.0.tgz",
+ "integrity": "sha512-TeTSQ6H5YHvpqVwBRcnLDCBnDOHWYu7IvGbHT6N8AOymcr9PJGjc1GTtiWZTYg0NCgYwvnYWEkVChQAr9bjfwA==",
+ "license": "(MIT OR CC0-1.0)",
+ "engines": {
+ "node": ">=16"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/markdown-table": {
+ "version": "3.0.4",
+ "resolved": "https://registry.npmjs.org/markdown-table/-/markdown-table-3.0.4.tgz",
+ "integrity": "sha512-wiYz4+JrLyb/DqW2hkFJxP7Vd7JuTDm77fvbM8VfEQdmSMqcImWeeRbHwZjBjIFki/VaMK2BhFi7oUUZeM5bqw==",
+ "license": "MIT",
+ "funding": {
+ "type": "github",
+ "url": "https://github.com/sponsors/wooorm"
+ }
+ },
+ "node_modules/mdast-util-find-and-replace": {
+ "version": "3.0.2",
+ "resolved": "https://registry.npmjs.org/mdast-util-find-and-replace/-/mdast-util-find-and-replace-3.0.2.tgz",
+ "integrity": "sha512-Tmd1Vg/m3Xz43afeNxDIhWRtFZgM2VLyaf4vSTYwudTyeuTneoL3qtWMA5jeLyz/O1vDJmmV4QuScFCA2tBPwg==",
+ "license": "MIT",
+ "dependencies": {
+ "@types/mdast": "^4.0.0",
+ "escape-string-regexp": "^5.0.0",
+ "unist-util-is": "^6.0.0",
+ "unist-util-visit-parents": "^6.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/unified"
+ }
+ },
+ "node_modules/mdast-util-from-markdown": {
+ "version": "2.0.3",
+ "resolved": "https://registry.npmjs.org/mdast-util-from-markdown/-/mdast-util-from-markdown-2.0.3.tgz",
+ "integrity": "sha512-W4mAWTvSlKvf8L6J+VN9yLSqQ9AOAAvHuoDAmPkz4dHf553m5gVj2ejadHJhoJmcmxEnOv6Pa8XJhpxE93kb8Q==",
+ "license": "MIT",
+ "dependencies": {
+ "@types/mdast": "^4.0.0",
+ "@types/unist": "^3.0.0",
+ "decode-named-character-reference": "^1.0.0",
+ "devlop": "^1.0.0",
+ "mdast-util-to-string": "^4.0.0",
+ "micromark": "^4.0.0",
+ "micromark-util-decode-numeric-character-reference": "^2.0.0",
+ "micromark-util-decode-string": "^2.0.0",
+ "micromark-util-normalize-identifier": "^2.0.0",
+ "micromark-util-symbol": "^2.0.0",
+ "micromark-util-types": "^2.0.0",
+ "unist-util-stringify-position": "^4.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/unified"
+ }
+ },
+ "node_modules/mdast-util-gfm": {
+ "version": "3.1.0",
+ "resolved": "https://registry.npmjs.org/mdast-util-gfm/-/mdast-util-gfm-3.1.0.tgz",
+ "integrity": "sha512-0ulfdQOM3ysHhCJ1p06l0b0VKlhU0wuQs3thxZQagjcjPrlFRqY215uZGHHJan9GEAXd9MbfPjFJz+qMkVR6zQ==",
+ "license": "MIT",
+ "dependencies": {
+ "mdast-util-from-markdown": "^2.0.0",
+ "mdast-util-gfm-autolink-literal": "^2.0.0",
+ "mdast-util-gfm-footnote": "^2.0.0",
+ "mdast-util-gfm-strikethrough": "^2.0.0",
+ "mdast-util-gfm-table": "^2.0.0",
+ "mdast-util-gfm-task-list-item": "^2.0.0",
+ "mdast-util-to-markdown": "^2.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/unified"
+ }
+ },
+ "node_modules/mdast-util-gfm-autolink-literal": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/mdast-util-gfm-autolink-literal/-/mdast-util-gfm-autolink-literal-2.0.1.tgz",
+ "integrity": "sha512-5HVP2MKaP6L+G6YaxPNjuL0BPrq9orG3TsrZ9YXbA3vDw/ACI4MEsnoDpn6ZNm7GnZgtAcONJyPhOP8tNJQavQ==",
+ "license": "MIT",
+ "dependencies": {
+ "@types/mdast": "^4.0.0",
+ "ccount": "^2.0.0",
+ "devlop": "^1.0.0",
+ "mdast-util-find-and-replace": "^3.0.0",
+ "micromark-util-character": "^2.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/unified"
+ }
+ },
+ "node_modules/mdast-util-gfm-footnote": {
+ "version": "2.1.0",
+ "resolved": "https://registry.npmjs.org/mdast-util-gfm-footnote/-/mdast-util-gfm-footnote-2.1.0.tgz",
+ "integrity": "sha512-sqpDWlsHn7Ac9GNZQMeUzPQSMzR6Wv0WKRNvQRg0KqHh02fpTz69Qc1QSseNX29bhz1ROIyNyxExfawVKTm1GQ==",
+ "license": "MIT",
+ "dependencies": {
+ "@types/mdast": "^4.0.0",
+ "devlop": "^1.1.0",
+ "mdast-util-from-markdown": "^2.0.0",
+ "mdast-util-to-markdown": "^2.0.0",
+ "micromark-util-normalize-identifier": "^2.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/unified"
+ }
+ },
+ "node_modules/mdast-util-gfm-strikethrough": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/mdast-util-gfm-strikethrough/-/mdast-util-gfm-strikethrough-2.0.0.tgz",
+ "integrity": "sha512-mKKb915TF+OC5ptj5bJ7WFRPdYtuHv0yTRxK2tJvi+BDqbkiG7h7u/9SI89nRAYcmap2xHQL9D+QG/6wSrTtXg==",
+ "license": "MIT",
+ "dependencies": {
+ "@types/mdast": "^4.0.0",
+ "mdast-util-from-markdown": "^2.0.0",
+ "mdast-util-to-markdown": "^2.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/unified"
+ }
+ },
+ "node_modules/mdast-util-gfm-table": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/mdast-util-gfm-table/-/mdast-util-gfm-table-2.0.0.tgz",
+ "integrity": "sha512-78UEvebzz/rJIxLvE7ZtDd/vIQ0RHv+3Mh5DR96p7cS7HsBhYIICDBCu8csTNWNO6tBWfqXPWekRuj2FNOGOZg==",
+ "license": "MIT",
+ "dependencies": {
+ "@types/mdast": "^4.0.0",
+ "devlop": "^1.0.0",
+ "markdown-table": "^3.0.0",
+ "mdast-util-from-markdown": "^2.0.0",
+ "mdast-util-to-markdown": "^2.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/unified"
+ }
+ },
+ "node_modules/mdast-util-gfm-task-list-item": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/mdast-util-gfm-task-list-item/-/mdast-util-gfm-task-list-item-2.0.0.tgz",
+ "integrity": "sha512-IrtvNvjxC1o06taBAVJznEnkiHxLFTzgonUdy8hzFVeDun0uTjxxrRGVaNFqkU1wJR3RBPEfsxmU6jDWPofrTQ==",
+ "license": "MIT",
+ "dependencies": {
+ "@types/mdast": "^4.0.0",
+ "devlop": "^1.0.0",
+ "mdast-util-from-markdown": "^2.0.0",
+ "mdast-util-to-markdown": "^2.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/unified"
+ }
+ },
+ "node_modules/mdast-util-phrasing": {
+ "version": "4.1.0",
+ "resolved": "https://registry.npmjs.org/mdast-util-phrasing/-/mdast-util-phrasing-4.1.0.tgz",
+ "integrity": "sha512-TqICwyvJJpBwvGAMZjj4J2n0X8QWp21b9l0o7eXyVJ25YNWYbJDVIyD1bZXE6WtV6RmKJVYmQAKWa0zWOABz2w==",
+ "license": "MIT",
+ "dependencies": {
+ "@types/mdast": "^4.0.0",
+ "unist-util-is": "^6.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/unified"
+ }
+ },
+ "node_modules/mdast-util-to-hast": {
+ "version": "13.2.1",
+ "resolved": "https://registry.npmjs.org/mdast-util-to-hast/-/mdast-util-to-hast-13.2.1.tgz",
+ "integrity": "sha512-cctsq2wp5vTsLIcaymblUriiTcZd0CwWtCbLvrOzYCDZoWyMNV8sZ7krj09FSnsiJi3WVsHLM4k6Dq/yaPyCXA==",
+ "license": "MIT",
+ "dependencies": {
+ "@types/hast": "^3.0.0",
+ "@types/mdast": "^4.0.0",
+ "@ungap/structured-clone": "^1.0.0",
+ "devlop": "^1.0.0",
+ "micromark-util-sanitize-uri": "^2.0.0",
+ "trim-lines": "^3.0.0",
+ "unist-util-position": "^5.0.0",
+ "unist-util-visit": "^5.0.0",
+ "vfile": "^6.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/unified"
+ }
+ },
+ "node_modules/mdast-util-to-markdown": {
+ "version": "2.1.2",
+ "resolved": "https://registry.npmjs.org/mdast-util-to-markdown/-/mdast-util-to-markdown-2.1.2.tgz",
+ "integrity": "sha512-xj68wMTvGXVOKonmog6LwyJKrYXZPvlwabaryTjLh9LuvovB/KAH+kvi8Gjj+7rJjsFi23nkUxRQv1KqSroMqA==",
+ "license": "MIT",
+ "dependencies": {
+ "@types/mdast": "^4.0.0",
+ "@types/unist": "^3.0.0",
+ "longest-streak": "^3.0.0",
+ "mdast-util-phrasing": "^4.0.0",
+ "mdast-util-to-string": "^4.0.0",
+ "micromark-util-classify-character": "^2.0.0",
+ "micromark-util-decode-string": "^2.0.0",
+ "unist-util-visit": "^5.0.0",
+ "zwitch": "^2.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/unified"
+ }
+ },
+ "node_modules/mdast-util-to-string": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/mdast-util-to-string/-/mdast-util-to-string-4.0.0.tgz",
+ "integrity": "sha512-0H44vDimn51F0YwvxSJSm0eCDOJTRlmN0R1yBh4HLj9wiV1Dn0QoXGbvFAWj2hSItVTlCmBF1hqKlIyUBVFLPg==",
+ "license": "MIT",
+ "dependencies": {
+ "@types/mdast": "^4.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/unified"
+ }
+ },
+ "node_modules/mdn-data": {
+ "version": "2.27.1",
+ "resolved": "https://registry.npmjs.org/mdn-data/-/mdn-data-2.27.1.tgz",
+ "integrity": "sha512-9Yubnt3e8A0OKwxYSXyhLymGW4sCufcLG6VdiDdUGVkPhpqLxlvP5vl1983gQjJl3tqbrM731mjaZaP68AgosQ==",
+ "dev": true,
+ "license": "CC0-1.0"
+ },
+ "node_modules/meshline": {
+ "version": "3.3.1",
+ "resolved": "https://registry.npmjs.org/meshline/-/meshline-3.3.1.tgz",
+ "integrity": "sha512-/TQj+JdZkeSUOl5Mk2J7eLcYTLiQm2IDzmlSvYm7ov15anEcDJ92GHqqazxTSreeNgfnYu24kiEvvv0WlbCdFQ==",
+ "license": "MIT",
+ "peerDependencies": {
+ "three": ">=0.137"
+ }
+ },
+ "node_modules/meshoptimizer": {
+ "version": "1.1.1",
+ "resolved": "https://registry.npmjs.org/meshoptimizer/-/meshoptimizer-1.1.1.tgz",
+ "integrity": "sha512-oRFNWJRDA/WTrVj7NWvqa5HqE1t9MYDj2VaWirQCzCCrAd2GHrqR/sQezCxiWATPNlKTcRaPRHPJwIRoPBAp5g==",
+ "license": "MIT"
+ },
+ "node_modules/microdiff": {
+ "version": "1.6.0",
+ "resolved": "https://registry.npmjs.org/microdiff/-/microdiff-1.6.0.tgz",
+ "integrity": "sha512-w7JWt8Bno6I8h0rEqlxr4lNG4UbT1FVtWo42wWosIiaJ+rP3pXh7shCYDnyqBrYx36LJ1CZ64p8A62aVp0sJpQ==",
+ "license": "MIT"
+ },
+ "node_modules/micromark": {
+ "version": "4.0.2",
+ "resolved": "https://registry.npmjs.org/micromark/-/micromark-4.0.2.tgz",
+ "integrity": "sha512-zpe98Q6kvavpCr1NPVSCMebCKfD7CA2NqZ+rykeNhONIJBpc1tFKt9hucLGwha3jNTNI8lHpctWJWoimVF4PfA==",
+ "funding": [
+ {
+ "type": "GitHub Sponsors",
+ "url": "https://github.com/sponsors/unifiedjs"
+ },
+ {
+ "type": "OpenCollective",
+ "url": "https://opencollective.com/unified"
+ }
+ ],
+ "license": "MIT",
+ "dependencies": {
+ "@types/debug": "^4.0.0",
+ "debug": "^4.0.0",
+ "decode-named-character-reference": "^1.0.0",
+ "devlop": "^1.0.0",
+ "micromark-core-commonmark": "^2.0.0",
+ "micromark-factory-space": "^2.0.0",
+ "micromark-util-character": "^2.0.0",
+ "micromark-util-chunked": "^2.0.0",
+ "micromark-util-combine-extensions": "^2.0.0",
+ "micromark-util-decode-numeric-character-reference": "^2.0.0",
+ "micromark-util-encode": "^2.0.0",
+ "micromark-util-normalize-identifier": "^2.0.0",
+ "micromark-util-resolve-all": "^2.0.0",
+ "micromark-util-sanitize-uri": "^2.0.0",
+ "micromark-util-subtokenize": "^2.0.0",
+ "micromark-util-symbol": "^2.0.0",
+ "micromark-util-types": "^2.0.0"
+ }
+ },
+ "node_modules/micromark-core-commonmark": {
+ "version": "2.0.3",
+ "resolved": "https://registry.npmjs.org/micromark-core-commonmark/-/micromark-core-commonmark-2.0.3.tgz",
+ "integrity": "sha512-RDBrHEMSxVFLg6xvnXmb1Ayr2WzLAWjeSATAoxwKYJV94TeNavgoIdA0a9ytzDSVzBy2YKFK+emCPOEibLeCrg==",
+ "funding": [
+ {
+ "type": "GitHub Sponsors",
+ "url": "https://github.com/sponsors/unifiedjs"
+ },
+ {
+ "type": "OpenCollective",
+ "url": "https://opencollective.com/unified"
+ }
+ ],
+ "license": "MIT",
+ "dependencies": {
+ "decode-named-character-reference": "^1.0.0",
+ "devlop": "^1.0.0",
+ "micromark-factory-destination": "^2.0.0",
+ "micromark-factory-label": "^2.0.0",
+ "micromark-factory-space": "^2.0.0",
+ "micromark-factory-title": "^2.0.0",
+ "micromark-factory-whitespace": "^2.0.0",
+ "micromark-util-character": "^2.0.0",
+ "micromark-util-chunked": "^2.0.0",
+ "micromark-util-classify-character": "^2.0.0",
+ "micromark-util-html-tag-name": "^2.0.0",
+ "micromark-util-normalize-identifier": "^2.0.0",
+ "micromark-util-resolve-all": "^2.0.0",
+ "micromark-util-subtokenize": "^2.0.0",
+ "micromark-util-symbol": "^2.0.0",
+ "micromark-util-types": "^2.0.0"
+ }
+ },
+ "node_modules/micromark-extension-gfm": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/micromark-extension-gfm/-/micromark-extension-gfm-3.0.0.tgz",
+ "integrity": "sha512-vsKArQsicm7t0z2GugkCKtZehqUm31oeGBV/KVSorWSy8ZlNAv7ytjFhvaryUiCUJYqs+NoE6AFhpQvBTM6Q4w==",
+ "license": "MIT",
+ "dependencies": {
+ "micromark-extension-gfm-autolink-literal": "^2.0.0",
+ "micromark-extension-gfm-footnote": "^2.0.0",
+ "micromark-extension-gfm-strikethrough": "^2.0.0",
+ "micromark-extension-gfm-table": "^2.0.0",
+ "micromark-extension-gfm-tagfilter": "^2.0.0",
+ "micromark-extension-gfm-task-list-item": "^2.0.0",
+ "micromark-util-combine-extensions": "^2.0.0",
+ "micromark-util-types": "^2.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/unified"
+ }
+ },
+ "node_modules/micromark-extension-gfm-autolink-literal": {
+ "version": "2.1.0",
+ "resolved": "https://registry.npmjs.org/micromark-extension-gfm-autolink-literal/-/micromark-extension-gfm-autolink-literal-2.1.0.tgz",
+ "integrity": "sha512-oOg7knzhicgQ3t4QCjCWgTmfNhvQbDDnJeVu9v81r7NltNCVmhPy1fJRX27pISafdjL+SVc4d3l48Gb6pbRypw==",
+ "license": "MIT",
+ "dependencies": {
+ "micromark-util-character": "^2.0.0",
+ "micromark-util-sanitize-uri": "^2.0.0",
+ "micromark-util-symbol": "^2.0.0",
+ "micromark-util-types": "^2.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/unified"
+ }
+ },
+ "node_modules/micromark-extension-gfm-footnote": {
+ "version": "2.1.0",
+ "resolved": "https://registry.npmjs.org/micromark-extension-gfm-footnote/-/micromark-extension-gfm-footnote-2.1.0.tgz",
+ "integrity": "sha512-/yPhxI1ntnDNsiHtzLKYnE3vf9JZ6cAisqVDauhp4CEHxlb4uoOTxOCJ+9s51bIB8U1N1FJ1RXOKTIlD5B/gqw==",
+ "license": "MIT",
+ "dependencies": {
+ "devlop": "^1.0.0",
+ "micromark-core-commonmark": "^2.0.0",
+ "micromark-factory-space": "^2.0.0",
+ "micromark-util-character": "^2.0.0",
+ "micromark-util-normalize-identifier": "^2.0.0",
+ "micromark-util-sanitize-uri": "^2.0.0",
+ "micromark-util-symbol": "^2.0.0",
+ "micromark-util-types": "^2.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/unified"
+ }
+ },
+ "node_modules/micromark-extension-gfm-strikethrough": {
+ "version": "2.1.0",
+ "resolved": "https://registry.npmjs.org/micromark-extension-gfm-strikethrough/-/micromark-extension-gfm-strikethrough-2.1.0.tgz",
+ "integrity": "sha512-ADVjpOOkjz1hhkZLlBiYA9cR2Anf8F4HqZUO6e5eDcPQd0Txw5fxLzzxnEkSkfnD0wziSGiv7sYhk/ktvbf1uw==",
+ "license": "MIT",
+ "dependencies": {
+ "devlop": "^1.0.0",
+ "micromark-util-chunked": "^2.0.0",
+ "micromark-util-classify-character": "^2.0.0",
+ "micromark-util-resolve-all": "^2.0.0",
+ "micromark-util-symbol": "^2.0.0",
+ "micromark-util-types": "^2.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/unified"
+ }
+ },
+ "node_modules/micromark-extension-gfm-table": {
+ "version": "2.1.1",
+ "resolved": "https://registry.npmjs.org/micromark-extension-gfm-table/-/micromark-extension-gfm-table-2.1.1.tgz",
+ "integrity": "sha512-t2OU/dXXioARrC6yWfJ4hqB7rct14e8f7m0cbI5hUmDyyIlwv5vEtooptH8INkbLzOatzKuVbQmAYcbWoyz6Dg==",
+ "license": "MIT",
+ "dependencies": {
+ "devlop": "^1.0.0",
+ "micromark-factory-space": "^2.0.0",
+ "micromark-util-character": "^2.0.0",
+ "micromark-util-symbol": "^2.0.0",
+ "micromark-util-types": "^2.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/unified"
+ }
+ },
+ "node_modules/micromark-extension-gfm-tagfilter": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/micromark-extension-gfm-tagfilter/-/micromark-extension-gfm-tagfilter-2.0.0.tgz",
+ "integrity": "sha512-xHlTOmuCSotIA8TW1mDIM6X2O1SiX5P9IuDtqGonFhEK0qgRI4yeC6vMxEV2dgyr2TiD+2PQ10o+cOhdVAcwfg==",
+ "license": "MIT",
+ "dependencies": {
+ "micromark-util-types": "^2.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/unified"
+ }
+ },
+ "node_modules/micromark-extension-gfm-task-list-item": {
+ "version": "2.1.0",
+ "resolved": "https://registry.npmjs.org/micromark-extension-gfm-task-list-item/-/micromark-extension-gfm-task-list-item-2.1.0.tgz",
+ "integrity": "sha512-qIBZhqxqI6fjLDYFTBIa4eivDMnP+OZqsNwmQ3xNLE4Cxwc+zfQEfbs6tzAo2Hjq+bh6q5F+Z8/cksrLFYWQQw==",
+ "license": "MIT",
+ "dependencies": {
+ "devlop": "^1.0.0",
+ "micromark-factory-space": "^2.0.0",
+ "micromark-util-character": "^2.0.0",
+ "micromark-util-symbol": "^2.0.0",
+ "micromark-util-types": "^2.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/unified"
+ }
+ },
+ "node_modules/micromark-factory-destination": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/micromark-factory-destination/-/micromark-factory-destination-2.0.1.tgz",
+ "integrity": "sha512-Xe6rDdJlkmbFRExpTOmRj9N3MaWmbAgdpSrBQvCFqhezUn4AHqJHbaEnfbVYYiexVSs//tqOdY/DxhjdCiJnIA==",
+ "funding": [
+ {
+ "type": "GitHub Sponsors",
+ "url": "https://github.com/sponsors/unifiedjs"
+ },
+ {
+ "type": "OpenCollective",
+ "url": "https://opencollective.com/unified"
+ }
+ ],
+ "license": "MIT",
+ "dependencies": {
+ "micromark-util-character": "^2.0.0",
+ "micromark-util-symbol": "^2.0.0",
+ "micromark-util-types": "^2.0.0"
+ }
+ },
+ "node_modules/micromark-factory-label": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/micromark-factory-label/-/micromark-factory-label-2.0.1.tgz",
+ "integrity": "sha512-VFMekyQExqIW7xIChcXn4ok29YE3rnuyveW3wZQWWqF4Nv9Wk5rgJ99KzPvHjkmPXF93FXIbBp6YdW3t71/7Vg==",
+ "funding": [
+ {
+ "type": "GitHub Sponsors",
+ "url": "https://github.com/sponsors/unifiedjs"
+ },
+ {
+ "type": "OpenCollective",
+ "url": "https://opencollective.com/unified"
+ }
+ ],
+ "license": "MIT",
+ "dependencies": {
+ "devlop": "^1.0.0",
+ "micromark-util-character": "^2.0.0",
+ "micromark-util-symbol": "^2.0.0",
+ "micromark-util-types": "^2.0.0"
+ }
+ },
+ "node_modules/micromark-factory-space": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/micromark-factory-space/-/micromark-factory-space-2.0.1.tgz",
+ "integrity": "sha512-zRkxjtBxxLd2Sc0d+fbnEunsTj46SWXgXciZmHq0kDYGnck/ZSGj9/wULTV95uoeYiK5hRXP2mJ98Uo4cq/LQg==",
+ "funding": [
+ {
+ "type": "GitHub Sponsors",
+ "url": "https://github.com/sponsors/unifiedjs"
+ },
+ {
+ "type": "OpenCollective",
+ "url": "https://opencollective.com/unified"
+ }
+ ],
+ "license": "MIT",
+ "dependencies": {
+ "micromark-util-character": "^2.0.0",
+ "micromark-util-types": "^2.0.0"
+ }
+ },
+ "node_modules/micromark-factory-title": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/micromark-factory-title/-/micromark-factory-title-2.0.1.tgz",
+ "integrity": "sha512-5bZ+3CjhAd9eChYTHsjy6TGxpOFSKgKKJPJxr293jTbfry2KDoWkhBb6TcPVB4NmzaPhMs1Frm9AZH7OD4Cjzw==",
+ "funding": [
+ {
+ "type": "GitHub Sponsors",
+ "url": "https://github.com/sponsors/unifiedjs"
+ },
+ {
+ "type": "OpenCollective",
+ "url": "https://opencollective.com/unified"
+ }
+ ],
+ "license": "MIT",
+ "dependencies": {
+ "micromark-factory-space": "^2.0.0",
+ "micromark-util-character": "^2.0.0",
+ "micromark-util-symbol": "^2.0.0",
+ "micromark-util-types": "^2.0.0"
+ }
+ },
+ "node_modules/micromark-factory-whitespace": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/micromark-factory-whitespace/-/micromark-factory-whitespace-2.0.1.tgz",
+ "integrity": "sha512-Ob0nuZ3PKt/n0hORHyvoD9uZhr+Za8sFoP+OnMcnWK5lngSzALgQYKMr9RJVOWLqQYuyn6ulqGWSXdwf6F80lQ==",
+ "funding": [
+ {
+ "type": "GitHub Sponsors",
+ "url": "https://github.com/sponsors/unifiedjs"
+ },
+ {
+ "type": "OpenCollective",
+ "url": "https://opencollective.com/unified"
+ }
+ ],
+ "license": "MIT",
+ "dependencies": {
+ "micromark-factory-space": "^2.0.0",
+ "micromark-util-character": "^2.0.0",
+ "micromark-util-symbol": "^2.0.0",
+ "micromark-util-types": "^2.0.0"
+ }
+ },
+ "node_modules/micromark-util-character": {
+ "version": "2.1.1",
+ "resolved": "https://registry.npmjs.org/micromark-util-character/-/micromark-util-character-2.1.1.tgz",
+ "integrity": "sha512-wv8tdUTJ3thSFFFJKtpYKOYiGP2+v96Hvk4Tu8KpCAsTMs6yi+nVmGh1syvSCsaxz45J6Jbw+9DD6g97+NV67Q==",
+ "funding": [
+ {
+ "type": "GitHub Sponsors",
+ "url": "https://github.com/sponsors/unifiedjs"
+ },
+ {
+ "type": "OpenCollective",
+ "url": "https://opencollective.com/unified"
+ }
+ ],
+ "license": "MIT",
+ "dependencies": {
+ "micromark-util-symbol": "^2.0.0",
+ "micromark-util-types": "^2.0.0"
+ }
+ },
+ "node_modules/micromark-util-chunked": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/micromark-util-chunked/-/micromark-util-chunked-2.0.1.tgz",
+ "integrity": "sha512-QUNFEOPELfmvv+4xiNg2sRYeS/P84pTW0TCgP5zc9FpXetHY0ab7SxKyAQCNCc1eK0459uoLI1y5oO5Vc1dbhA==",
+ "funding": [
+ {
+ "type": "GitHub Sponsors",
+ "url": "https://github.com/sponsors/unifiedjs"
+ },
+ {
+ "type": "OpenCollective",
+ "url": "https://opencollective.com/unified"
+ }
+ ],
+ "license": "MIT",
+ "dependencies": {
+ "micromark-util-symbol": "^2.0.0"
+ }
+ },
+ "node_modules/micromark-util-classify-character": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/micromark-util-classify-character/-/micromark-util-classify-character-2.0.1.tgz",
+ "integrity": "sha512-K0kHzM6afW/MbeWYWLjoHQv1sgg2Q9EccHEDzSkxiP/EaagNzCm7T/WMKZ3rjMbvIpvBiZgwR3dKMygtA4mG1Q==",
+ "funding": [
+ {
+ "type": "GitHub Sponsors",
+ "url": "https://github.com/sponsors/unifiedjs"
+ },
+ {
+ "type": "OpenCollective",
+ "url": "https://opencollective.com/unified"
+ }
+ ],
+ "license": "MIT",
+ "dependencies": {
+ "micromark-util-character": "^2.0.0",
+ "micromark-util-symbol": "^2.0.0",
+ "micromark-util-types": "^2.0.0"
+ }
+ },
+ "node_modules/micromark-util-combine-extensions": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/micromark-util-combine-extensions/-/micromark-util-combine-extensions-2.0.1.tgz",
+ "integrity": "sha512-OnAnH8Ujmy59JcyZw8JSbK9cGpdVY44NKgSM7E9Eh7DiLS2E9RNQf0dONaGDzEG9yjEl5hcqeIsj4hfRkLH/Bg==",
+ "funding": [
+ {
+ "type": "GitHub Sponsors",
+ "url": "https://github.com/sponsors/unifiedjs"
+ },
+ {
+ "type": "OpenCollective",
+ "url": "https://opencollective.com/unified"
+ }
+ ],
+ "license": "MIT",
+ "dependencies": {
+ "micromark-util-chunked": "^2.0.0",
+ "micromark-util-types": "^2.0.0"
+ }
+ },
+ "node_modules/micromark-util-decode-numeric-character-reference": {
+ "version": "2.0.2",
+ "resolved": "https://registry.npmjs.org/micromark-util-decode-numeric-character-reference/-/micromark-util-decode-numeric-character-reference-2.0.2.tgz",
+ "integrity": "sha512-ccUbYk6CwVdkmCQMyr64dXz42EfHGkPQlBj5p7YVGzq8I7CtjXZJrubAYezf7Rp+bjPseiROqe7G6foFd+lEuw==",
+ "funding": [
+ {
+ "type": "GitHub Sponsors",
+ "url": "https://github.com/sponsors/unifiedjs"
+ },
+ {
+ "type": "OpenCollective",
+ "url": "https://opencollective.com/unified"
+ }
+ ],
+ "license": "MIT",
+ "dependencies": {
+ "micromark-util-symbol": "^2.0.0"
+ }
+ },
+ "node_modules/micromark-util-decode-string": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/micromark-util-decode-string/-/micromark-util-decode-string-2.0.1.tgz",
+ "integrity": "sha512-nDV/77Fj6eH1ynwscYTOsbK7rR//Uj0bZXBwJZRfaLEJ1iGBR6kIfNmlNqaqJf649EP0F3NWNdeJi03elllNUQ==",
+ "funding": [
+ {
+ "type": "GitHub Sponsors",
+ "url": "https://github.com/sponsors/unifiedjs"
+ },
+ {
+ "type": "OpenCollective",
+ "url": "https://opencollective.com/unified"
+ }
+ ],
+ "license": "MIT",
+ "dependencies": {
+ "decode-named-character-reference": "^1.0.0",
+ "micromark-util-character": "^2.0.0",
+ "micromark-util-decode-numeric-character-reference": "^2.0.0",
+ "micromark-util-symbol": "^2.0.0"
+ }
+ },
+ "node_modules/micromark-util-encode": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/micromark-util-encode/-/micromark-util-encode-2.0.1.tgz",
+ "integrity": "sha512-c3cVx2y4KqUnwopcO9b/SCdo2O67LwJJ/UyqGfbigahfegL9myoEFoDYZgkT7f36T0bLrM9hZTAaAyH+PCAXjw==",
+ "funding": [
+ {
+ "type": "GitHub Sponsors",
+ "url": "https://github.com/sponsors/unifiedjs"
+ },
+ {
+ "type": "OpenCollective",
+ "url": "https://opencollective.com/unified"
+ }
+ ],
+ "license": "MIT"
+ },
+ "node_modules/micromark-util-html-tag-name": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/micromark-util-html-tag-name/-/micromark-util-html-tag-name-2.0.1.tgz",
+ "integrity": "sha512-2cNEiYDhCWKI+Gs9T0Tiysk136SnR13hhO8yW6BGNyhOC4qYFnwF1nKfD3HFAIXA5c45RrIG1ub11GiXeYd1xA==",
+ "funding": [
+ {
+ "type": "GitHub Sponsors",
+ "url": "https://github.com/sponsors/unifiedjs"
+ },
+ {
+ "type": "OpenCollective",
+ "url": "https://opencollective.com/unified"
+ }
+ ],
+ "license": "MIT"
+ },
+ "node_modules/micromark-util-normalize-identifier": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/micromark-util-normalize-identifier/-/micromark-util-normalize-identifier-2.0.1.tgz",
+ "integrity": "sha512-sxPqmo70LyARJs0w2UclACPUUEqltCkJ6PhKdMIDuJ3gSf/Q+/GIe3WKl0Ijb/GyH9lOpUkRAO2wp0GVkLvS9Q==",
+ "funding": [
+ {
+ "type": "GitHub Sponsors",
+ "url": "https://github.com/sponsors/unifiedjs"
+ },
+ {
+ "type": "OpenCollective",
+ "url": "https://opencollective.com/unified"
+ }
+ ],
+ "license": "MIT",
+ "dependencies": {
+ "micromark-util-symbol": "^2.0.0"
}
},
- "node_modules/maath": {
- "version": "0.10.8",
- "resolved": "https://registry.npmjs.org/maath/-/maath-0.10.8.tgz",
- "integrity": "sha512-tRvbDF0Pgqz+9XUa4jjfgAQ8/aPKmQdWXilFu2tMy4GWj4NOsx99HlULO4IeREfbO3a0sA145DZYyvXPkybm0g==",
+ "node_modules/micromark-util-resolve-all": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/micromark-util-resolve-all/-/micromark-util-resolve-all-2.0.1.tgz",
+ "integrity": "sha512-VdQyxFWFT2/FGJgwQnJYbe1jjQoNTS4RjglmSjTUlpUMa95Htx9NHeYW4rGDJzbjvCsl9eLjMQwGeElsqmzcHg==",
+ "funding": [
+ {
+ "type": "GitHub Sponsors",
+ "url": "https://github.com/sponsors/unifiedjs"
+ },
+ {
+ "type": "OpenCollective",
+ "url": "https://opencollective.com/unified"
+ }
+ ],
"license": "MIT",
- "peerDependencies": {
- "@types/three": ">=0.134.0",
- "three": ">=0.134.0"
+ "dependencies": {
+ "micromark-util-types": "^2.0.0"
}
},
- "node_modules/magic-string": {
- "version": "0.30.21",
- "resolved": "https://registry.npmjs.org/magic-string/-/magic-string-0.30.21.tgz",
- "integrity": "sha512-vd2F4YUyEXKGcLHoq+TEyCjxueSeHnFxyyjNp80yg0XV4vUhnDer/lvvlqM/arB5bXQN5K2/3oinyCRyx8T2CQ==",
- "dev": true,
+ "node_modules/micromark-util-sanitize-uri": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/micromark-util-sanitize-uri/-/micromark-util-sanitize-uri-2.0.1.tgz",
+ "integrity": "sha512-9N9IomZ/YuGGZZmQec1MbgxtlgougxTodVwDzzEouPKo3qFWvymFHWcnDi2vzV1ff6kas9ucW+o3yzJK9YB1AQ==",
+ "funding": [
+ {
+ "type": "GitHub Sponsors",
+ "url": "https://github.com/sponsors/unifiedjs"
+ },
+ {
+ "type": "OpenCollective",
+ "url": "https://opencollective.com/unified"
+ }
+ ],
"license": "MIT",
"dependencies": {
- "@jridgewell/sourcemap-codec": "^1.5.5"
+ "micromark-util-character": "^2.0.0",
+ "micromark-util-encode": "^2.0.0",
+ "micromark-util-symbol": "^2.0.0"
}
},
- "node_modules/mdn-data": {
- "version": "2.27.1",
- "resolved": "https://registry.npmjs.org/mdn-data/-/mdn-data-2.27.1.tgz",
- "integrity": "sha512-9Yubnt3e8A0OKwxYSXyhLymGW4sCufcLG6VdiDdUGVkPhpqLxlvP5vl1983gQjJl3tqbrM731mjaZaP68AgosQ==",
- "dev": true,
- "license": "CC0-1.0"
- },
- "node_modules/meshline": {
- "version": "3.3.1",
- "resolved": "https://registry.npmjs.org/meshline/-/meshline-3.3.1.tgz",
- "integrity": "sha512-/TQj+JdZkeSUOl5Mk2J7eLcYTLiQm2IDzmlSvYm7ov15anEcDJ92GHqqazxTSreeNgfnYu24kiEvvv0WlbCdFQ==",
+ "node_modules/micromark-util-subtokenize": {
+ "version": "2.1.0",
+ "resolved": "https://registry.npmjs.org/micromark-util-subtokenize/-/micromark-util-subtokenize-2.1.0.tgz",
+ "integrity": "sha512-XQLu552iSctvnEcgXw6+Sx75GflAPNED1qx7eBJ+wydBb2KCbRZe+NwvIEEMM83uml1+2WSXpBAcp9IUCgCYWA==",
+ "funding": [
+ {
+ "type": "GitHub Sponsors",
+ "url": "https://github.com/sponsors/unifiedjs"
+ },
+ {
+ "type": "OpenCollective",
+ "url": "https://opencollective.com/unified"
+ }
+ ],
"license": "MIT",
- "peerDependencies": {
- "three": ">=0.137"
+ "dependencies": {
+ "devlop": "^1.0.0",
+ "micromark-util-chunked": "^2.0.0",
+ "micromark-util-symbol": "^2.0.0",
+ "micromark-util-types": "^2.0.0"
}
},
- "node_modules/meshoptimizer": {
- "version": "1.1.1",
- "resolved": "https://registry.npmjs.org/meshoptimizer/-/meshoptimizer-1.1.1.tgz",
- "integrity": "sha512-oRFNWJRDA/WTrVj7NWvqa5HqE1t9MYDj2VaWirQCzCCrAd2GHrqR/sQezCxiWATPNlKTcRaPRHPJwIRoPBAp5g==",
+ "node_modules/micromark-util-symbol": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/micromark-util-symbol/-/micromark-util-symbol-2.0.1.tgz",
+ "integrity": "sha512-vs5t8Apaud9N28kgCrRUdEed4UJ+wWNvicHLPxCa9ENlYuAY31M0ETy5y1vA33YoNPDFTghEbnh6efaE8h4x0Q==",
+ "funding": [
+ {
+ "type": "GitHub Sponsors",
+ "url": "https://github.com/sponsors/unifiedjs"
+ },
+ {
+ "type": "OpenCollective",
+ "url": "https://opencollective.com/unified"
+ }
+ ],
+ "license": "MIT"
+ },
+ "node_modules/micromark-util-types": {
+ "version": "2.0.2",
+ "resolved": "https://registry.npmjs.org/micromark-util-types/-/micromark-util-types-2.0.2.tgz",
+ "integrity": "sha512-Yw0ECSpJoViF1qTU4DC6NwtC4aWGt1EkzaQB8KPPyCRR8z9TWeV0HbEFGTO+ZY1wB22zmxnJqhPyTpOVCpeHTA==",
+ "funding": [
+ {
+ "type": "GitHub Sponsors",
+ "url": "https://github.com/sponsors/unifiedjs"
+ },
+ {
+ "type": "OpenCollective",
+ "url": "https://opencollective.com/unified"
+ }
+ ],
"license": "MIT"
},
"node_modules/min-indent": {
@@ -3137,7 +6015,6 @@
"version": "3.3.18",
"resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.18.tgz",
"integrity": "sha512-DTg4MJbGMWkfi6VZFdNt2/caMbQy4Ou+Op/hJQvGEWcnVfoA1QA+xzRKAzw9jD6+GVOOeYr/mIcuDSdug6F6+w==",
- "dev": true,
"funding": [
{
"type": "github",
@@ -3152,6 +6029,12 @@
"node": "^10 || ^12 || ^13.7 || ^14 || >=15.0.1"
}
},
+ "node_modules/neverpanic": {
+ "version": "0.0.8",
+ "resolved": "https://registry.npmjs.org/neverpanic/-/neverpanic-0.0.8.tgz",
+ "integrity": "sha512-vVdkelrLxaow/fdWDumzNBO+jwm6X8bxeLJc34THtpj70u0C5QBkcV6CRCu2X726km7XD45N0A3QtYCla4RvKw==",
+ "license": "MIT"
+ },
"node_modules/obug": {
"version": "2.1.1",
"resolved": "https://registry.npmjs.org/obug/-/obug-2.1.1.tgz",
@@ -3184,6 +6067,45 @@
"url": "https://github.com/sponsors/sindresorhus"
}
},
+ "node_modules/p-event": {
+ "version": "6.0.1",
+ "resolved": "https://registry.npmjs.org/p-event/-/p-event-6.0.1.tgz",
+ "integrity": "sha512-Q6Bekk5wpzW5qIyUP4gdMEujObYstZl6DMMOSenwBvV0BlE5LkDwkjs5yHbZmdCEq2o4RJx4tE1vwxFVf2FG1w==",
+ "license": "MIT",
+ "dependencies": {
+ "p-timeout": "^6.1.2"
+ },
+ "engines": {
+ "node": ">=16.17"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/p-timeout": {
+ "version": "6.1.4",
+ "resolved": "https://registry.npmjs.org/p-timeout/-/p-timeout-6.1.4.tgz",
+ "integrity": "sha512-MyIV3ZA/PmyBN/ud8vV9XzwTrNtR4jFrObymZYnZqMmW0zA8Z17vnT0rBgFE/TlohB+YCHqXMgZzb3Csp49vqg==",
+ "license": "MIT",
+ "engines": {
+ "node": ">=14.16"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/parse-ms": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/parse-ms/-/parse-ms-4.0.0.tgz",
+ "integrity": "sha512-TXfryirbmq34y8QBwgqCVLi+8oA3oWx2eAnSn62ITyEhEYaWRlVZ2DvMM9eZbMs/RfxPu/PK/aBLyGj4IrqMHw==",
+ "license": "MIT",
+ "engines": {
+ "node": ">=18"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
"node_modules/parse5": {
"version": "8.0.1",
"resolved": "https://registry.npmjs.org/parse5/-/parse5-8.0.1.tgz",
@@ -3210,14 +6132,12 @@
"version": "2.0.3",
"resolved": "https://registry.npmjs.org/pathe/-/pathe-2.0.3.tgz",
"integrity": "sha512-WUjGcAqP1gQacoQe+OBJsFA7Ld4DyXuUIjZ5cc75cLHvJ7dtNsTugphxIADwspS+AraAUePCKrSVtPLFj/F88w==",
- "dev": true,
"license": "MIT"
},
"node_modules/picocolors": {
"version": "1.1.1",
"resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.1.1.tgz",
"integrity": "sha512-xceH2snhtb5M9liqDsmEw56le376mTZkEX/jEb/RxNFyegNul7eNslCXP9FDj/Lcu0X8KEyMceP2ntpaHrDEVA==",
- "dev": true,
"license": "ISC"
},
"node_modules/picomatch": {
@@ -3237,7 +6157,6 @@
"version": "8.5.26",
"resolved": "https://registry.npmjs.org/postcss/-/postcss-8.5.26.tgz",
"integrity": "sha512-u82N74LFzG8ca+dD8puPnplTXoGH4fTPpVGuIbt36G3qvNlkvfD0lEAZSxaly3KX8TS/L1A1gsCEmvKmBcVbkQ==",
- "dev": true,
"funding": [
{
"type": "opencollective",
@@ -3316,6 +6235,21 @@
"dev": true,
"license": "MIT"
},
+ "node_modules/pretty-ms": {
+ "version": "9.3.0",
+ "resolved": "https://registry.npmjs.org/pretty-ms/-/pretty-ms-9.3.0.tgz",
+ "integrity": "sha512-gjVS5hOP+M3wMm5nmNOucbIrqudzs9v/57bWRHQWLYklXqoXKrVfYW2W9+glfGsqtPgpiz5WwyEEB+ksXIx3gQ==",
+ "license": "MIT",
+ "dependencies": {
+ "parse-ms": "^4.0.0"
+ },
+ "engines": {
+ "node": ">=18"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
"node_modules/promise-worker-transferable": {
"version": "1.0.4",
"resolved": "https://registry.npmjs.org/promise-worker-transferable/-/promise-worker-transferable-1.0.4.tgz",
@@ -3326,6 +6260,16 @@
"lie": "^3.0.2"
}
},
+ "node_modules/property-information": {
+ "version": "7.2.0",
+ "resolved": "https://registry.npmjs.org/property-information/-/property-information-7.2.0.tgz",
+ "integrity": "sha512-IAtzIB6sUiWaJYrX9smp3V46pBGbBeLFRGdh25kg1334VcBlD8HzhPeNIWQH9zhGmo2itIe25EHt9dQP7G5hmg==",
+ "license": "MIT",
+ "funding": {
+ "type": "github",
+ "url": "https://github.com/sponsors/wooorm"
+ }
+ },
"node_modules/punycode": {
"version": "2.3.1",
"resolved": "https://registry.npmjs.org/punycode/-/punycode-2.3.1.tgz",
@@ -3336,6 +6280,122 @@
"node": ">=6"
}
},
+ "node_modules/radix-vue": {
+ "version": "1.9.17",
+ "resolved": "https://registry.npmjs.org/radix-vue/-/radix-vue-1.9.17.tgz",
+ "integrity": "sha512-mVCu7I2vXt1L2IUYHTt0sZMz7s1K2ZtqKeTIxG3yC5mMFfLBG4FtE1FDeRMpDd+Hhg/ybi9+iXmAP1ISREndoQ==",
+ "license": "MIT",
+ "dependencies": {
+ "@floating-ui/dom": "^1.6.7",
+ "@floating-ui/vue": "^1.1.0",
+ "@internationalized/date": "^3.5.4",
+ "@internationalized/number": "^3.5.3",
+ "@tanstack/vue-virtual": "^3.8.1",
+ "@vueuse/core": "^10.11.0",
+ "@vueuse/shared": "^10.11.0",
+ "aria-hidden": "^1.2.4",
+ "defu": "^6.1.4",
+ "fast-deep-equal": "^3.1.3",
+ "nanoid": "^5.0.7"
+ },
+ "peerDependencies": {
+ "vue": ">= 3.2.0"
+ }
+ },
+ "node_modules/radix-vue/node_modules/@types/web-bluetooth": {
+ "version": "0.0.20",
+ "resolved": "https://registry.npmjs.org/@types/web-bluetooth/-/web-bluetooth-0.0.20.tgz",
+ "integrity": "sha512-g9gZnnXVq7gM7v3tJCWV/qw7w+KeOlSHAhgF9RytFyifW6AF61hdT2ucrYhPq9hLs5JIryeupHV3qGk95dH9ow==",
+ "license": "MIT"
+ },
+ "node_modules/radix-vue/node_modules/@vueuse/core": {
+ "version": "10.11.1",
+ "resolved": "https://registry.npmjs.org/@vueuse/core/-/core-10.11.1.tgz",
+ "integrity": "sha512-guoy26JQktXPcz+0n3GukWIy/JDNKti9v6VEMu6kV2sYBsWuGiTU8OWdg+ADfUbHg3/3DlqySDe7JmdHrktiww==",
+ "license": "MIT",
+ "dependencies": {
+ "@types/web-bluetooth": "^0.0.20",
+ "@vueuse/metadata": "10.11.1",
+ "@vueuse/shared": "10.11.1",
+ "vue-demi": ">=0.14.8"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/antfu"
+ }
+ },
+ "node_modules/radix-vue/node_modules/@vueuse/core/node_modules/vue-demi": {
+ "version": "0.14.10",
+ "resolved": "https://registry.npmjs.org/vue-demi/-/vue-demi-0.14.10.tgz",
+ "integrity": "sha512-nMZBOwuzabUO0nLgIcc6rycZEebF6eeUfaiQx9+WSk8e29IbLvPU9feI6tqW4kTo3hvoYAJkMh8n8D0fuISphg==",
+ "hasInstallScript": true,
+ "license": "MIT",
+ "bin": {
+ "vue-demi-fix": "bin/vue-demi-fix.js",
+ "vue-demi-switch": "bin/vue-demi-switch.js"
+ },
+ "engines": {
+ "node": ">=12"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/antfu"
+ },
+ "peerDependencies": {
+ "@vue/composition-api": "^1.0.0-rc.1",
+ "vue": "^3.0.0-0 || ^2.6.0"
+ },
+ "peerDependenciesMeta": {
+ "@vue/composition-api": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/radix-vue/node_modules/@vueuse/metadata": {
+ "version": "10.11.1",
+ "resolved": "https://registry.npmjs.org/@vueuse/metadata/-/metadata-10.11.1.tgz",
+ "integrity": "sha512-IGa5FXd003Ug1qAZmyE8wF3sJ81xGLSqTqtQ6jaVfkeZ4i5kS2mwQF61yhVqojRnenVew5PldLyRgvdl4YYuSw==",
+ "license": "MIT",
+ "funding": {
+ "url": "https://github.com/sponsors/antfu"
+ }
+ },
+ "node_modules/radix-vue/node_modules/@vueuse/shared": {
+ "version": "10.11.1",
+ "resolved": "https://registry.npmjs.org/@vueuse/shared/-/shared-10.11.1.tgz",
+ "integrity": "sha512-LHpC8711VFZlDaYUXEBbFBCQ7GS3dVU9mjOhhMhXP6txTV4EhYQg/KGnQuvt/sPAtoUKq7VVUnL6mVtFoL42sA==",
+ "license": "MIT",
+ "dependencies": {
+ "vue-demi": ">=0.14.8"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/antfu"
+ }
+ },
+ "node_modules/radix-vue/node_modules/@vueuse/shared/node_modules/vue-demi": {
+ "version": "0.14.10",
+ "resolved": "https://registry.npmjs.org/vue-demi/-/vue-demi-0.14.10.tgz",
+ "integrity": "sha512-nMZBOwuzabUO0nLgIcc6rycZEebF6eeUfaiQx9+WSk8e29IbLvPU9feI6tqW4kTo3hvoYAJkMh8n8D0fuISphg==",
+ "hasInstallScript": true,
+ "license": "MIT",
+ "bin": {
+ "vue-demi-fix": "bin/vue-demi-fix.js",
+ "vue-demi-switch": "bin/vue-demi-switch.js"
+ },
+ "engines": {
+ "node": ">=12"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/antfu"
+ },
+ "peerDependencies": {
+ "@vue/composition-api": "^1.0.0-rc.1",
+ "vue": "^3.0.0-0 || ^2.6.0"
+ },
+ "peerDependenciesMeta": {
+ "@vue/composition-api": {
+ "optional": true
+ }
+ }
+ },
"node_modules/react": {
"version": "19.2.8",
"resolved": "https://registry.npmjs.org/react/-/react-19.2.8.tgz",
@@ -3478,8 +6538,165 @@
"resolved": "https://registry.npmjs.org/redux-thunk/-/redux-thunk-3.1.0.tgz",
"integrity": "sha512-NW2r5T6ksUKXCabzhL9z+h206HQw/NJkcLm1GPImRQ8IzfXwRGqjVhKJGauHirT0DAuyy6hjdnMZaRoAcy0Klw==",
"license": "MIT",
- "peerDependencies": {
- "redux": "^5.0.0"
+ "peerDependencies": {
+ "redux": "^5.0.0"
+ }
+ },
+ "node_modules/rehype-external-links": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/rehype-external-links/-/rehype-external-links-3.0.0.tgz",
+ "integrity": "sha512-yp+e5N9V3C6bwBeAC4n796kc86M4gJCdlVhiMTxIrJG5UHDMh+PJANf9heqORJbt1nrCbDwIlAZKjANIaVBbvw==",
+ "license": "MIT",
+ "dependencies": {
+ "@types/hast": "^3.0.0",
+ "@ungap/structured-clone": "^1.0.0",
+ "hast-util-is-element": "^3.0.0",
+ "is-absolute-url": "^4.0.0",
+ "space-separated-tokens": "^2.0.0",
+ "unist-util-visit": "^5.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/unified"
+ }
+ },
+ "node_modules/rehype-format": {
+ "version": "5.0.1",
+ "resolved": "https://registry.npmjs.org/rehype-format/-/rehype-format-5.0.1.tgz",
+ "integrity": "sha512-zvmVru9uB0josBVpr946OR8ui7nJEdzZobwLOOqHb/OOD88W0Vk2SqLwoVOj0fM6IPCCO6TaV9CvQvJMWwukFQ==",
+ "license": "MIT",
+ "dependencies": {
+ "@types/hast": "^3.0.0",
+ "hast-util-format": "^1.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/unified"
+ }
+ },
+ "node_modules/rehype-parse": {
+ "version": "9.0.1",
+ "resolved": "https://registry.npmjs.org/rehype-parse/-/rehype-parse-9.0.1.tgz",
+ "integrity": "sha512-ksCzCD0Fgfh7trPDxr2rSylbwq9iYDkSn8TCDmEJ49ljEUBxDVCzCHv7QNzZOfODanX4+bWQ4WZqLCRWYLfhag==",
+ "license": "MIT",
+ "dependencies": {
+ "@types/hast": "^3.0.0",
+ "hast-util-from-html": "^2.0.0",
+ "unified": "^11.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/unified"
+ }
+ },
+ "node_modules/rehype-raw": {
+ "version": "7.0.0",
+ "resolved": "https://registry.npmjs.org/rehype-raw/-/rehype-raw-7.0.0.tgz",
+ "integrity": "sha512-/aE8hCfKlQeA8LmyeyQvQF3eBiLRGNlfBJEvWH7ivp9sBqs7TNqBL5X3v157rM4IFETqDnIOO+z5M/biZbo9Ww==",
+ "license": "MIT",
+ "dependencies": {
+ "@types/hast": "^3.0.0",
+ "hast-util-raw": "^9.0.0",
+ "vfile": "^6.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/unified"
+ }
+ },
+ "node_modules/rehype-sanitize": {
+ "version": "6.0.0",
+ "resolved": "https://registry.npmjs.org/rehype-sanitize/-/rehype-sanitize-6.0.0.tgz",
+ "integrity": "sha512-CsnhKNsyI8Tub6L4sm5ZFsme4puGfc6pYylvXo1AeqaGbjOYyzNv3qZPwvs0oMJ39eryyeOdmxwUIo94IpEhqg==",
+ "license": "MIT",
+ "dependencies": {
+ "@types/hast": "^3.0.0",
+ "hast-util-sanitize": "^5.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/unified"
+ }
+ },
+ "node_modules/rehype-stringify": {
+ "version": "10.0.1",
+ "resolved": "https://registry.npmjs.org/rehype-stringify/-/rehype-stringify-10.0.1.tgz",
+ "integrity": "sha512-k9ecfXHmIPuFVI61B9DeLPN0qFHfawM6RsuX48hoqlaKSF61RskNjSm1lI8PhBEM0MRdLxVVm4WmTqJQccH9mA==",
+ "license": "MIT",
+ "dependencies": {
+ "@types/hast": "^3.0.0",
+ "hast-util-to-html": "^9.0.0",
+ "unified": "^11.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/unified"
+ }
+ },
+ "node_modules/remark-gfm": {
+ "version": "4.0.1",
+ "resolved": "https://registry.npmjs.org/remark-gfm/-/remark-gfm-4.0.1.tgz",
+ "integrity": "sha512-1quofZ2RQ9EWdeN34S79+KExV1764+wCUGop5CPL1WGdD0ocPpu91lzPGbwWMECpEpd42kJGQwzRfyov9j4yNg==",
+ "license": "MIT",
+ "dependencies": {
+ "@types/mdast": "^4.0.0",
+ "mdast-util-gfm": "^3.0.0",
+ "micromark-extension-gfm": "^3.0.0",
+ "remark-parse": "^11.0.0",
+ "remark-stringify": "^11.0.0",
+ "unified": "^11.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/unified"
+ }
+ },
+ "node_modules/remark-parse": {
+ "version": "11.0.0",
+ "resolved": "https://registry.npmjs.org/remark-parse/-/remark-parse-11.0.0.tgz",
+ "integrity": "sha512-FCxlKLNGknS5ba/1lmpYijMUzX2esxW5xQqjWxw2eHFfS2MSdaHVINFmhjo+qN1WhZhNimq0dZATN9pH0IDrpA==",
+ "license": "MIT",
+ "dependencies": {
+ "@types/mdast": "^4.0.0",
+ "mdast-util-from-markdown": "^2.0.0",
+ "micromark-util-types": "^2.0.0",
+ "unified": "^11.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/unified"
+ }
+ },
+ "node_modules/remark-rehype": {
+ "version": "11.1.2",
+ "resolved": "https://registry.npmjs.org/remark-rehype/-/remark-rehype-11.1.2.tgz",
+ "integrity": "sha512-Dh7l57ianaEoIpzbp0PC9UKAdCSVklD8E5Rpw7ETfbTl3FqcOOgq5q2LVDhgGCkaBv7p24JXikPdvhhmHvKMsw==",
+ "license": "MIT",
+ "dependencies": {
+ "@types/hast": "^3.0.0",
+ "@types/mdast": "^4.0.0",
+ "mdast-util-to-hast": "^13.0.0",
+ "unified": "^11.0.0",
+ "vfile": "^6.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/unified"
+ }
+ },
+ "node_modules/remark-stringify": {
+ "version": "11.0.0",
+ "resolved": "https://registry.npmjs.org/remark-stringify/-/remark-stringify-11.0.0.tgz",
+ "integrity": "sha512-1OSmLd3awB/t8qdoEOMazZkNsfVTeY4fTsgzcQFdXNq8ToTN4ZGwrMnlda4K6smTFKD+GRV6O48i6Z4iKgPPpw==",
+ "license": "MIT",
+ "dependencies": {
+ "@types/mdast": "^4.0.0",
+ "mdast-util-to-markdown": "^2.0.0",
+ "unified": "^11.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/unified"
}
},
"node_modules/require-from-string": {
@@ -3497,6 +6714,18 @@
"integrity": "sha512-AgZ3UOZm3YndfrJ4OYjgrT7bmCm/1iqkjvEfH/oYjzh6PD2qw4QuT3jjnXIrpdt4MTpMXclMT3lXbmRY+XRakw==",
"license": "MIT"
},
+ "node_modules/reserved-identifiers": {
+ "version": "1.2.0",
+ "resolved": "https://registry.npmjs.org/reserved-identifiers/-/reserved-identifiers-1.2.0.tgz",
+ "integrity": "sha512-yE7KUfFvaBFzGPs5H3Ops1RevfUEsDc5Iz65rOwWg4lE8HJSYtle77uul3+573457oHvBKuHYDl/xqUkKpEEdw==",
+ "license": "MIT",
+ "engines": {
+ "node": ">=18"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
"node_modules/rolldown": {
"version": "1.2.5",
"resolved": "https://registry.npmjs.org/rolldown/-/rolldown-1.2.5.tgz",
@@ -3594,6 +6823,12 @@
"integrity": "sha512-eNv+WrVbKu1f3vbYJT/xtiF5syA5HPIMtf9IgY/nKg0sWqzAUEvqY/xm7OcZc/qafLx/iO9FgOmeSAp4v5ti/Q==",
"license": "MIT"
},
+ "node_modules/set-cookie-parser": {
+ "version": "3.1.0",
+ "resolved": "https://registry.npmjs.org/set-cookie-parser/-/set-cookie-parser-3.1.0.tgz",
+ "integrity": "sha512-kjnC1DXBHcxaOaOXBHBeRtltsDG2nUiUni+jP92M9gYdW12rsmx92UsfpH7o5tDRs7I1ZZPSQJQGv3UaRfCiuw==",
+ "license": "MIT"
+ },
"node_modules/shebang-command": {
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-2.0.0.tgz",
@@ -3664,12 +6899,21 @@
"version": "1.2.1",
"resolved": "https://registry.npmjs.org/source-map-js/-/source-map-js-1.2.1.tgz",
"integrity": "sha512-UXWMKhLOwVKb728IUtQPXxfYU+usdybtUrK/8uGE8CQMvrhOpwvzDBwj0QhSL7MQc7vIsISBG8VQ8+IDQxpfQA==",
- "dev": true,
"license": "BSD-3-Clause",
"engines": {
"node": ">=0.10.0"
}
},
+ "node_modules/space-separated-tokens": {
+ "version": "2.0.2",
+ "resolved": "https://registry.npmjs.org/space-separated-tokens/-/space-separated-tokens-2.0.2.tgz",
+ "integrity": "sha512-PEGlAwrG8yXGXRjW32fGbg66JAlOAwbObuqVoJpv/mRgoWDQfgH1wDPvtzWyUSNAXBGSk8h755YDbbcEy3SH2Q==",
+ "license": "MIT",
+ "funding": {
+ "type": "github",
+ "url": "https://github.com/sponsors/wooorm"
+ }
+ },
"node_modules/stackback": {
"version": "0.0.2",
"resolved": "https://registry.npmjs.org/stackback/-/stackback-0.0.2.tgz",
@@ -3704,6 +6948,24 @@
"dev": true,
"license": "MIT"
},
+ "node_modules/string-byte-length": {
+ "version": "3.0.1",
+ "resolved": "https://registry.npmjs.org/string-byte-length/-/string-byte-length-3.0.1.tgz",
+ "integrity": "sha512-yJ8vP0HMwZ54CcA8S8mKoXbkezpZHANFtmafFo8lGxZThCQcAwRHjdFabuSLgOzxj9OFJcmssmiAvmcOK4O2Hw==",
+ "license": "MIT",
+ "engines": {
+ "node": ">=18.18.0"
+ }
+ },
+ "node_modules/string-byte-slice": {
+ "version": "3.0.1",
+ "resolved": "https://registry.npmjs.org/string-byte-slice/-/string-byte-slice-3.0.1.tgz",
+ "integrity": "sha512-GWv2K4lYyd2+AhmKH3BV+OVx62xDX+99rSLfKpaqFiQU7uOMaUY1tDjdrRD4gsrCr9lTyjMgjna7tZcCOw+Smg==",
+ "license": "MIT",
+ "engines": {
+ "node": ">=18.18.0"
+ }
+ },
"node_modules/string-width": {
"version": "8.2.2",
"resolved": "https://registry.npmjs.org/string-width/-/string-width-8.2.2.tgz",
@@ -3721,6 +6983,38 @@
"url": "https://github.com/sponsors/sindresorhus"
}
},
+ "node_modules/stringify-entities": {
+ "version": "4.0.4",
+ "resolved": "https://registry.npmjs.org/stringify-entities/-/stringify-entities-4.0.4.tgz",
+ "integrity": "sha512-IwfBptatlO+QCJUo19AqvrPNqlVMpW9YEL2LIVY+Rpv2qsjCGxaDLNRgeGsQWJhfItebuJhsGSLjaBbNSQ+ieg==",
+ "license": "MIT",
+ "dependencies": {
+ "character-entities-html4": "^2.0.0",
+ "character-entities-legacy": "^3.0.0"
+ },
+ "funding": {
+ "type": "github",
+ "url": "https://github.com/sponsors/wooorm"
+ }
+ },
+ "node_modules/stringify-object": {
+ "version": "6.0.0",
+ "resolved": "https://registry.npmjs.org/stringify-object/-/stringify-object-6.0.0.tgz",
+ "integrity": "sha512-6f94vIED6vmJJfh3lyVsVWxCYSfI5uM+16ntED/Ql37XIyV6kj0mRAAiTeMMc/QLYIaizC3bUprQ8pQnDDrKfA==",
+ "license": "BSD-2-Clause",
+ "dependencies": {
+ "get-own-enumerable-keys": "^1.0.0",
+ "is-identifier": "^1.0.1",
+ "is-obj": "^3.0.0",
+ "is-regexp": "^3.1.0"
+ },
+ "engines": {
+ "node": ">=20"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
"node_modules/strip-ansi": {
"version": "7.2.0",
"resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-7.2.0.tgz",
@@ -3763,6 +7057,29 @@
"node": ">=8"
}
},
+ "node_modules/style-mod": {
+ "version": "4.1.3",
+ "resolved": "https://registry.npmjs.org/style-mod/-/style-mod-4.1.3.tgz",
+ "integrity": "sha512-i/n8VsZydrugj3Iuzll8+x/00GH2vnYsk1eomD8QiRrSAeW6ItbCQDtfXCeJHd0iwiNagqjQkvpvREEPtW3IoQ==",
+ "license": "MIT"
+ },
+ "node_modules/super-regex": {
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/super-regex/-/super-regex-1.1.0.tgz",
+ "integrity": "sha512-WHkws2ZflZe41zj6AolvvmaTrWds/VuyeYr9iPVv/oQeaIoVxMKaushfFWpOGDT+GuBrM/sVqF8KUCYQlSSTdQ==",
+ "license": "MIT",
+ "dependencies": {
+ "function-timeout": "^1.0.1",
+ "make-asynchronous": "^1.0.1",
+ "time-span": "^5.1.0"
+ },
+ "engines": {
+ "node": ">=18"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
"node_modules/suspend-react": {
"version": "0.1.3",
"resolved": "https://registry.npmjs.org/suspend-react/-/suspend-react-0.1.3.tgz",
@@ -3772,6 +7089,15 @@
"react": ">=17.0"
}
},
+ "node_modules/swrv": {
+ "version": "1.2.0",
+ "resolved": "https://registry.npmjs.org/swrv/-/swrv-1.2.0.tgz",
+ "integrity": "sha512-lH/g4UcNyj+7lzK4eRGT4C68Q4EhQ6JtM9otPRIASfhhzfLWtbZPHcMuhuba7S9YVYuxkMUGImwMyGpfbkH07A==",
+ "license": "Apache-2.0",
+ "peerDependencies": {
+ "vue": ">=3.2.26 < 4"
+ }
+ },
"node_modules/symbol-tree": {
"version": "3.2.4",
"resolved": "https://registry.npmjs.org/symbol-tree/-/symbol-tree-3.2.4.tgz",
@@ -3779,11 +7105,38 @@
"dev": true,
"license": "MIT"
},
+ "node_modules/tabbable": {
+ "version": "6.5.0",
+ "resolved": "https://registry.npmjs.org/tabbable/-/tabbable-6.5.0.tgz",
+ "integrity": "sha512-wieBHXygIm7OyQOu5hQlkk62/WyCFYGlWg7L6/ZCUZwx0o398Zkn4pVmMyfYhfMG8kGrj/Krt8eIk6UKC6VzwA==",
+ "license": "MIT"
+ },
+ "node_modules/tagged-tag": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/tagged-tag/-/tagged-tag-1.0.0.tgz",
+ "integrity": "sha512-yEFYrVhod+hdNyx7g5Bnkkb0G6si8HJurOoOEgC8B/O0uXLHlaey/65KRv6cuWBNhBgHKAROVpc7QyYqE5gFng==",
+ "license": "MIT",
+ "engines": {
+ "node": ">=20"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/tailwind-merge": {
+ "version": "3.5.0",
+ "resolved": "https://registry.npmjs.org/tailwind-merge/-/tailwind-merge-3.5.0.tgz",
+ "integrity": "sha512-I8K9wewnVDkL1NTGoqWmVEIlUcB9gFriAEkXkfCjX5ib8ezGxtR3xD7iZIxrfArjEsH7F1CHD4RFUtxefdqV/A==",
+ "license": "MIT",
+ "funding": {
+ "type": "github",
+ "url": "https://github.com/sponsors/dcastil"
+ }
+ },
"node_modules/tailwindcss": {
"version": "4.3.3",
"resolved": "https://registry.npmjs.org/tailwindcss/-/tailwindcss-4.3.3.tgz",
"integrity": "sha512-gOhV3P7ufE62QDGg1zVaTgCR+EtPv92k2nIhVcVKcLmxT1sUBsQGhnZj175j+MqRt4zLF7ic+sCYjfhxMxj7YQ==",
- "dev": true,
"license": "MIT"
},
"node_modules/tapable": {
@@ -3838,6 +7191,21 @@
"integrity": "sha512-IQrh3lEPM93wVCEczc9SaAOvkmcoQn/G8Bo1e8ZPlY3X3bnAxWaBdvTdvM1hP62iZp0BXWDy4vTAy4fF0+Dlpg==",
"license": "MIT"
},
+ "node_modules/time-span": {
+ "version": "5.1.0",
+ "resolved": "https://registry.npmjs.org/time-span/-/time-span-5.1.0.tgz",
+ "integrity": "sha512-75voc/9G4rDIJleOo4jPvN4/YC4GRZrY8yy1uU4lwrB3XEQbWve8zXoO5No4eFrGcTAMYyoY67p8jRQdtA1HbA==",
+ "license": "MIT",
+ "dependencies": {
+ "convert-hrtime": "^5.0.0"
+ },
+ "engines": {
+ "node": ">=12"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
"node_modules/tiny-invariant": {
"version": "1.3.3",
"resolved": "https://registry.npmjs.org/tiny-invariant/-/tiny-invariant-1.3.3.tgz",
@@ -3934,6 +7302,16 @@
"node": ">=20"
}
},
+ "node_modules/trim-lines": {
+ "version": "3.0.1",
+ "resolved": "https://registry.npmjs.org/trim-lines/-/trim-lines-3.0.1.tgz",
+ "integrity": "sha512-kRj8B+YHZCc9kQYdWfJB2/oUl9rA99qbowYYBtr4ui4mZyAQ2JpvVBd/6U2YloATfqBhBTSMhTpgBHtU0Mf3Rg==",
+ "license": "MIT",
+ "funding": {
+ "type": "github",
+ "url": "https://github.com/sponsors/wooorm"
+ }
+ },
"node_modules/troika-three-text": {
"version": "0.52.4",
"resolved": "https://registry.npmjs.org/troika-three-text/-/troika-three-text-0.52.4.tgz",
@@ -3964,6 +7342,30 @@
"integrity": "sha512-W1CpvTHykaPH5brv5VHLfQo9D1OYuo0cSBEUQFFT/nBUzM8iD6Lq2/tgG/f1OelbAS1WtaTPQzE5uM49egnngw==",
"license": "MIT"
},
+ "node_modules/trough": {
+ "version": "2.2.0",
+ "resolved": "https://registry.npmjs.org/trough/-/trough-2.2.0.tgz",
+ "integrity": "sha512-tmMpK00BjZiUyVyvrBK7knerNgmgvcV/KLVyuma/SC+TQN167GrMRciANTz09+k3zW8L8t60jWO1GpfkZdjTaw==",
+ "license": "MIT",
+ "funding": {
+ "type": "github",
+ "url": "https://github.com/sponsors/wooorm"
+ }
+ },
+ "node_modules/truncate-json": {
+ "version": "3.0.1",
+ "resolved": "https://registry.npmjs.org/truncate-json/-/truncate-json-3.0.1.tgz",
+ "integrity": "sha512-QVsbr1WhGLq2F0oDyYbqtOXcf3gcnL8C9H5EX8bBwAr8ZWvWGJzukpPrDrWgJMrNtgDbo74BIjI4kJu3q2xQWw==",
+ "license": "MIT",
+ "dependencies": {
+ "guess-json-indent": "^3.0.1",
+ "string-byte-length": "^3.0.1",
+ "string-byte-slice": "^3.0.1"
+ },
+ "engines": {
+ "node": ">=18.18.0"
+ }
+ },
"node_modules/tslib": {
"version": "2.8.1",
"resolved": "https://registry.npmjs.org/tslib/-/tslib-2.8.1.tgz",
@@ -4007,6 +7409,21 @@
}
}
},
+ "node_modules/type-fest": {
+ "version": "5.8.0",
+ "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-5.8.0.tgz",
+ "integrity": "sha512-YGYEVz3Fm5iy/AybuA0oyNFq7H4CgQNfRp/qfe8nurE1kuCeNm3/vfm9X4Mtl+qLyaKJUh5xrFZwogr41SMjYA==",
+ "license": "(MIT OR CC0-1.0)",
+ "dependencies": {
+ "tagged-tag": "^1.0.0"
+ },
+ "engines": {
+ "node": ">=20"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
"node_modules/undici": {
"version": "8.9.0",
"resolved": "https://registry.npmjs.org/undici/-/undici-8.9.0.tgz",
@@ -4017,6 +7434,125 @@
"node": ">=22.19.0"
}
},
+ "node_modules/undici-types": {
+ "version": "7.18.2",
+ "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-7.18.2.tgz",
+ "integrity": "sha512-AsuCzffGHJybSaRrmr5eHr81mwJU3kjw6M+uprWvCXiNeN9SOGwQ3Jn8jb8m3Z6izVgknn1R0FTCEAP2QrLY/w==",
+ "license": "MIT"
+ },
+ "node_modules/unhead": {
+ "version": "2.1.17",
+ "resolved": "https://registry.npmjs.org/unhead/-/unhead-2.1.17.tgz",
+ "integrity": "sha512-HLMKXOszRhAPBrr6VlqCeVeJq2kbC4kXwzGLEZvvojPLWNYTJw22xG7Bfwhsvs31+IBet3Wl8ADg9dwYdyphfQ==",
+ "license": "MIT",
+ "dependencies": {
+ "hookable": "^6.0.1"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/harlan-zw"
+ }
+ },
+ "node_modules/unified": {
+ "version": "11.0.5",
+ "resolved": "https://registry.npmjs.org/unified/-/unified-11.0.5.tgz",
+ "integrity": "sha512-xKvGhPWw3k84Qjh8bI3ZeJjqnyadK+GEFtazSfZv/rKeTkTjOJho6mFqh2SM96iIcZokxiOpg78GazTSg8+KHA==",
+ "license": "MIT",
+ "dependencies": {
+ "@types/unist": "^3.0.0",
+ "bail": "^2.0.0",
+ "devlop": "^1.0.0",
+ "extend": "^3.0.0",
+ "is-plain-obj": "^4.0.0",
+ "trough": "^2.0.0",
+ "vfile": "^6.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/unified"
+ }
+ },
+ "node_modules/unist-util-find-after": {
+ "version": "5.0.0",
+ "resolved": "https://registry.npmjs.org/unist-util-find-after/-/unist-util-find-after-5.0.0.tgz",
+ "integrity": "sha512-amQa0Ep2m6hE2g72AugUItjbuM8X8cGQnFoHk0pGfrFeT9GZhzN5SW8nRsiGKK7Aif4CrACPENkA6P/Lw6fHGQ==",
+ "license": "MIT",
+ "dependencies": {
+ "@types/unist": "^3.0.0",
+ "unist-util-is": "^6.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/unified"
+ }
+ },
+ "node_modules/unist-util-is": {
+ "version": "6.0.1",
+ "resolved": "https://registry.npmjs.org/unist-util-is/-/unist-util-is-6.0.1.tgz",
+ "integrity": "sha512-LsiILbtBETkDz8I9p1dQ0uyRUWuaQzd/cuEeS1hoRSyW5E5XGmTzlwY1OrNzzakGowI9Dr/I8HVaw4hTtnxy8g==",
+ "license": "MIT",
+ "dependencies": {
+ "@types/unist": "^3.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/unified"
+ }
+ },
+ "node_modules/unist-util-position": {
+ "version": "5.0.0",
+ "resolved": "https://registry.npmjs.org/unist-util-position/-/unist-util-position-5.0.0.tgz",
+ "integrity": "sha512-fucsC7HjXvkB5R3kTCO7kUjRdrS0BJt3M/FPxmHMBOm8JQi2BsHAHFsy27E0EolP8rp0NzXsJ+jNPyDWvOJZPA==",
+ "license": "MIT",
+ "dependencies": {
+ "@types/unist": "^3.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/unified"
+ }
+ },
+ "node_modules/unist-util-stringify-position": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/unist-util-stringify-position/-/unist-util-stringify-position-4.0.0.tgz",
+ "integrity": "sha512-0ASV06AAoKCDkS2+xw5RXJywruurpbC4JZSm7nr7MOt1ojAzvyyaO+UxZf18j8FCF6kmzCZKcAgN/yu2gm2XgQ==",
+ "license": "MIT",
+ "dependencies": {
+ "@types/unist": "^3.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/unified"
+ }
+ },
+ "node_modules/unist-util-visit": {
+ "version": "5.1.0",
+ "resolved": "https://registry.npmjs.org/unist-util-visit/-/unist-util-visit-5.1.0.tgz",
+ "integrity": "sha512-m+vIdyeCOpdr/QeQCu2EzxX/ohgS8KbnPDgFni4dQsfSCtpz8UqDyY5GjRru8PDKuYn7Fq19j1CQ+nJSsGKOzg==",
+ "license": "MIT",
+ "dependencies": {
+ "@types/unist": "^3.0.0",
+ "unist-util-is": "^6.0.0",
+ "unist-util-visit-parents": "^6.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/unified"
+ }
+ },
+ "node_modules/unist-util-visit-parents": {
+ "version": "6.0.2",
+ "resolved": "https://registry.npmjs.org/unist-util-visit-parents/-/unist-util-visit-parents-6.0.2.tgz",
+ "integrity": "sha512-goh1s1TBrqSqukSc8wrjwWhL0hiJxgA8m4kFxGlQ+8FYQ3C/m11FcTs4YYem7V664AhHVvgoQLk890Ssdsr2IQ==",
+ "license": "MIT",
+ "dependencies": {
+ "@types/unist": "^3.0.0",
+ "unist-util-is": "^6.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/unified"
+ }
+ },
"node_modules/use-sync-external-store": {
"version": "1.6.0",
"resolved": "https://registry.npmjs.org/use-sync-external-store/-/use-sync-external-store-1.6.0.tgz",
@@ -4035,6 +7571,48 @@
"node": ">= 4"
}
},
+ "node_modules/vfile": {
+ "version": "6.0.3",
+ "resolved": "https://registry.npmjs.org/vfile/-/vfile-6.0.3.tgz",
+ "integrity": "sha512-KzIbH/9tXat2u30jf+smMwFCsno4wHVdNmzFyL+T/L3UGqqk6JKfVqOFOZEpZSHADH1k40ab6NUIXZq422ov3Q==",
+ "license": "MIT",
+ "dependencies": {
+ "@types/unist": "^3.0.0",
+ "vfile-message": "^4.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/unified"
+ }
+ },
+ "node_modules/vfile-location": {
+ "version": "5.0.3",
+ "resolved": "https://registry.npmjs.org/vfile-location/-/vfile-location-5.0.3.tgz",
+ "integrity": "sha512-5yXvWDEgqeiYiBe1lbxYF7UMAIm/IcopxMHrMQDq3nvKcjPKIhZklUKL+AE7J7uApI4kwe2snsK+eI6UTj9EHg==",
+ "license": "MIT",
+ "dependencies": {
+ "@types/unist": "^3.0.0",
+ "vfile": "^6.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/unified"
+ }
+ },
+ "node_modules/vfile-message": {
+ "version": "4.0.3",
+ "resolved": "https://registry.npmjs.org/vfile-message/-/vfile-message-4.0.3.tgz",
+ "integrity": "sha512-QTHzsGd1EhbZs4AsQ20JX1rC3cOlt/IWJruk893DfLRr57lcnOeMaWG4K0JrRta4mIJZKth2Au3mM3u03/JWKw==",
+ "license": "MIT",
+ "dependencies": {
+ "@types/unist": "^3.0.0",
+ "unist-util-stringify-position": "^4.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/unified"
+ }
+ },
"node_modules/victory-vendor": {
"version": "37.3.6",
"resolved": "https://registry.npmjs.org/victory-vendor/-/victory-vendor-37.3.6.tgz",
@@ -4498,6 +8076,45 @@
}
}
},
+ "node_modules/vue": {
+ "version": "3.5.42",
+ "resolved": "https://registry.npmjs.org/vue/-/vue-3.5.42.tgz",
+ "integrity": "sha512-4RyHQTbQvOPs3MfvUO1Sg0YRrKNnA0mAVtvpd12Tg1fKDN7OHBUl1IqSn8zGJjK9nI3NkNp8cgTpVrSZC5TTcA==",
+ "license": "MIT",
+ "dependencies": {
+ "@vue/compiler-dom": "3.5.42",
+ "@vue/compiler-sfc": "3.5.42",
+ "@vue/runtime-dom": "3.5.42",
+ "@vue/server-renderer": "3.5.42",
+ "@vue/shared": "3.5.42"
+ },
+ "peerDependencies": {
+ "typescript": "*"
+ },
+ "peerDependenciesMeta": {
+ "typescript": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/vue-component-type-helpers": {
+ "version": "3.3.11",
+ "resolved": "https://registry.npmjs.org/vue-component-type-helpers/-/vue-component-type-helpers-3.3.11.tgz",
+ "integrity": "sha512-LwcxzeliO9fkQcpJG0PoX8X5kmAhKmH9wkpDLxNabwzkQ9Zeib2YVHwFV4pcWmMLfXVfjr/dSV+DaJ3cIPgSNA==",
+ "license": "MIT"
+ },
+ "node_modules/vue-sonner": {
+ "version": "1.3.2",
+ "resolved": "https://registry.npmjs.org/vue-sonner/-/vue-sonner-1.3.2.tgz",
+ "integrity": "sha512-UbZ48E9VIya3ToiRHAZUbodKute/z/M1iT8/3fU8zEbwBRE11AKuHikssv18LMk2gTTr6eMQT4qf6JoLHWuj/A==",
+ "license": "MIT"
+ },
+ "node_modules/w3c-keyname": {
+ "version": "2.2.8",
+ "resolved": "https://registry.npmjs.org/w3c-keyname/-/w3c-keyname-2.2.8.tgz",
+ "integrity": "sha512-dpojBhNsCNN7T82Tm7k26A6G9ML3NkhDsnw9n/eoxSRlVBB4CEtIQ/KTCLI2Fwf3ataSXRhYFkQi3SlnFwPvPQ==",
+ "license": "MIT"
+ },
"node_modules/w3c-xmlserializer": {
"version": "5.0.0",
"resolved": "https://registry.npmjs.org/w3c-xmlserializer/-/w3c-xmlserializer-5.0.0.tgz",
@@ -4511,6 +8128,22 @@
"node": ">=18"
}
},
+ "node_modules/web-namespaces": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/web-namespaces/-/web-namespaces-2.0.1.tgz",
+ "integrity": "sha512-bKr1DkiNa2krS7qxNtdrtHAmzuYGFQLiQ13TsorsdT6ULTkPLKuu5+GsFpDlg6JFjUTwX2DyhMPG2be8uPrqsQ==",
+ "license": "MIT",
+ "funding": {
+ "type": "github",
+ "url": "https://github.com/sponsors/wooorm"
+ }
+ },
+ "node_modules/web-worker": {
+ "version": "1.5.0",
+ "resolved": "https://registry.npmjs.org/web-worker/-/web-worker-1.5.0.tgz",
+ "integrity": "sha512-RiMReJrTAiA+mBjGONMnjVDP2u3p9R1vkcGz6gDIrOMT3oGuYwX2WRMYI9ipkphSuE5XKEhydbhNEJh4NY9mlw==",
+ "license": "Apache-2.0"
+ },
"node_modules/webgl-constants": {
"version": "1.1.1",
"resolved": "https://registry.npmjs.org/webgl-constants/-/webgl-constants-1.1.1.tgz",
@@ -4698,6 +8331,21 @@
"node": ">=10"
}
},
+ "node_modules/yaml": {
+ "version": "2.9.0",
+ "resolved": "https://registry.npmjs.org/yaml/-/yaml-2.9.0.tgz",
+ "integrity": "sha512-2AvhNX3mb8zd6Zy7INTtSpl1F15HW6Wnqj0srWlkKLcpYl/gMIMJiyuGq2KeI2YFxUPjdlB+3Lc10seMLtL4cA==",
+ "license": "ISC",
+ "bin": {
+ "yaml": "bin.mjs"
+ },
+ "engines": {
+ "node": ">= 14.6"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/eemeli"
+ }
+ },
"node_modules/yargs": {
"version": "18.1.0",
"resolved": "https://registry.npmjs.org/yargs/-/yargs-18.1.0.tgz",
@@ -4726,6 +8374,15 @@
"node": "^20.19.0 || ^22.12.0 || >=23"
}
},
+ "node_modules/zod": {
+ "version": "4.4.3",
+ "resolved": "https://registry.npmjs.org/zod/-/zod-4.4.3.tgz",
+ "integrity": "sha512-ytENFjIJFl2UwYglde2jchW2Hwm4GJFLDiSXWdTrJQBIN9Fcyp7n4DhxJEiWNAJMV1/BqWfW/kkg71UDcHJyTQ==",
+ "license": "MIT",
+ "funding": {
+ "url": "https://github.com/sponsors/colinhacks"
+ }
+ },
"node_modules/zustand": {
"version": "5.0.14",
"resolved": "https://registry.npmjs.org/zustand/-/zustand-5.0.14.tgz",
@@ -4754,6 +8411,16 @@
"optional": true
}
}
+ },
+ "node_modules/zwitch": {
+ "version": "2.0.4",
+ "resolved": "https://registry.npmjs.org/zwitch/-/zwitch-2.0.4.tgz",
+ "integrity": "sha512-bXE4cR/kVZhKZX/RjPEflHaKVhUVl85noU3v6b8apfQEc1x4A+zBxjZ4lN8LqGd6WZ3dl98pY4o717VFmoPp+A==",
+ "license": "MIT",
+ "funding": {
+ "type": "github",
+ "url": "https://github.com/sponsors/wooorm"
+ }
}
}
}
diff --git a/client/package.json b/client/package.json
index a687e2c81e..8a7bef876c 100644
--- a/client/package.json
+++ b/client/package.json
@@ -22,6 +22,7 @@
"@dnd-kit/sortable": "10.0.0",
"@react-three/drei": "10.7.8",
"@react-three/fiber": "9.7.0",
+ "@scalar/api-reference-react": "0.9.65",
"@xterm/addon-fit": "0.11.0",
"@xterm/addon-web-links": "0.12.0",
"@xterm/xterm": "6.0.0",
diff --git a/client/src/App.jsx b/client/src/App.jsx
index a8048a2e40..164fde913e 100644
--- a/client/src/App.jsx
+++ b/client/src/App.jsx
@@ -89,6 +89,7 @@ const Privacy = lazyWithReload(() => import('./pages/Privacy'));
const Agents = lazyWithReload(() => import('./pages/Agents'));
const Uploads = lazyWithReload(() => import('./pages/Uploads'));
const Settings = lazyWithReload(() => import('./pages/Settings'));
+const ApiExplorer = lazyWithReload(() => import('./pages/ApiExplorer'));
const LocalLlmPlayground = lazyWithReload(() => import('./pages/LocalLlmPlayground'));
const Models = lazyWithReload(() => import('./pages/Models'));
const Shell = lazyWithReload(() => import('./pages/Shell'));
@@ -320,6 +321,8 @@ export default function App() {
(#4728) — it picks a model, not a preference. */}
<Route path="settings/embeddings" element={<Navigate to="/models/embeddings" replace />} />
<Route path="settings/:tab" element={<Settings />} />
+ <Route path="api-reference" element={<Navigate to="/api-reference/catalog" replace />} />
+ <Route path="api-reference/:tab" element={<ApiExplorer />} />
<Route path="models" element={<Navigate to="/models/performance" replace />} />
{/* A tab's drill-down (today: the LoRA dataset workbench) renders through
Models itself, so it keeps the section header and tab bar — see
diff --git a/client/src/components/Layout.jsx b/client/src/components/Layout.jsx
index 41b7b1b939..a31355f7b5 100644
--- a/client/src/components/Layout.jsx
+++ b/client/src/components/Layout.jsx
@@ -287,6 +287,7 @@ export const NAV_PRESENTATION = {
'/models/training': { icon: GraduationCap },
'/settings/ai-assignments': { icon: Bot },
'/settings/api-access': { icon: Globe },
+ '/api-reference/catalog': { icon: Braces },
'/settings/autofixer': { icon: Wrench },
'/settings/backup': { icon: Download },
'/settings/code-reviewers': { icon: ShieldCheck },
@@ -583,6 +584,7 @@ const FULL_WIDTH_PATH_PREFIXES = [
// body, so the page owns its own scroll. Without this it nests inside the
// padded scrolling main and the inner `h-full` clips below the fold.
'/models',
+ '/api-reference',
'/settings',
// Round EDITOR (/rounds/:id) and the Learning Guide (/rounds/guide)
// are full-width and own their own scroll; the bare /rounds index
diff --git a/client/src/components/Layout.test.jsx b/client/src/components/Layout.test.jsx
index 93940a12d2..5a7f4fed8b 100644
--- a/client/src/components/Layout.test.jsx
+++ b/client/src/components/Layout.test.jsx
@@ -218,6 +218,13 @@ describe('Layout — instance feature gating', () => {
expect(screen.getByRole('button', { name: 'POST' })).toBeTruthy();
});
+ it('shows API Explorer inside Dev Tools navigation', async () => {
+ await renderLayout('/api-reference/catalog');
+
+ expect(NAV_COMMANDS.find((command) => command.path === '/api-reference/catalog')?.section).toBe('Dev Tools');
+ expect(screen.getByRole('link', { name: 'API Explorer' })).toHaveAttribute('href', '/api-reference/catalog');
+ });
+
it('drops only the rows of the features this install turned off', async () => {
featureMock.features = allFeaturesOn()
.map((f) => (f.id === 'post' ? f : { ...f, enabled: false }));
diff --git a/client/src/components/api-explorer/ScalarReference.jsx b/client/src/components/api-explorer/ScalarReference.jsx
new file mode 100644
index 0000000000..ff82156444
--- /dev/null
+++ b/client/src/components/api-explorer/ScalarReference.jsx
@@ -0,0 +1,19 @@
+import { useMemo } from 'react';
+import { ApiReferenceReact } from '@scalar/api-reference-react';
+import '@scalar/api-reference-react/style.css';
+import '../../pages/ApiExplorer.css';
+
+export default function ScalarReference({ url }) {
+ const configuration = useMemo(() => ({
+ url,
+ agent: { disabled: true },
+ hideClientButton: true,
+ hideTestRequestButton: true,
+ showDeveloperTools: 'never',
+ theme: 'purple',
+ layout: 'modern',
+ operationTitleSource: 'summary',
+ }), [url]);
+
+ return <ApiReferenceReact configuration={configuration} />;
+}
diff --git a/client/src/components/cos/PersistentMindTaskAccessControls.jsx b/client/src/components/cos/PersistentMindTaskAccessControls.jsx
index 3b34393315..1f3d050dc8 100644
--- a/client/src/components/cos/PersistentMindTaskAccessControls.jsx
+++ b/client/src/components/cos/PersistentMindTaskAccessControls.jsx
@@ -3,34 +3,55 @@ import * as api from '../../services/api';
import toast from '../ui/Toast';
const normalizeCapabilities = (value) => ({
- schemaVersion: 1,
+ schemaVersion: 2,
createTasks: value?.createTasks === true,
+ readPortos: value?.readPortos === true,
+ writePortos: value?.writePortos === true,
});
+const OPTIONS = [
+ {
+ key: 'readPortos',
+ label: 'Allow bounded PortOS reads',
+ hint: 'Lets the mind inspect the selected Brain, goals, journal, calendar, health, feed, catalog, and runtime adapters.',
+ },
+ {
+ key: 'writePortos',
+ label: 'Allow bounded PortOS updates',
+ hint: 'Lets the mind use typed Brain, journal, goals, health-log, and feed-state actions. Process control, browser actions, messaging, and paid generation stay excluded.',
+ },
+ {
+ key: 'createTasks',
+ label: 'Allow mind to queue CoS agent tasks',
+ hint: 'Queues typed tasks through isolated worktrees, capacity, budget, review, CI, and landing-policy gates.',
+ },
+];
+
export default function PersistentMindTaskAccessControls({
capabilities,
disabled = false,
onSaved,
onSavingChange,
}) {
- const createTasksId = useId();
+ const idPrefix = useId();
const [draft, setDraft] = useState(() => normalizeCapabilities(capabilities));
const [saving, setSaving] = useState(false);
useEffect(() => {
if (!saving) setDraft(normalizeCapabilities(capabilities));
- }, [capabilities?.schemaVersion, capabilities?.createTasks, saving]);
+ }, [capabilities?.schemaVersion, capabilities?.createTasks, capabilities?.readPortos, capabilities?.writePortos, saving]);
- const save = async (createTasks) => {
+ const save = async (key, enabled) => {
const previous = draft;
- const next = { ...draft, createTasks };
+ const next = { ...draft, [key]: enabled };
setDraft(next);
setSaving(true);
onSavingChange?.(true);
try {
await api.updateCosConfig({ persistentMindCapabilities: next }, { silent: true });
onSaved?.(next);
- toast.success(createTasks ? 'Persistent mind task access enabled' : 'Persistent mind task access disabled');
+ const option = OPTIONS.find((candidate) => candidate.key === key);
+ toast.success(`${option?.label || 'Capability'} ${enabled ? 'enabled' : 'disabled'}`);
} catch (error) {
setDraft(previous);
toast.error(error.message);
@@ -41,31 +62,36 @@ export default function PersistentMindTaskAccessControls({
};
return (
- <div className="space-y-3">
- <div className="flex items-start justify-between gap-4">
- <div>
- <label htmlFor={createTasksId} className="text-sm text-port-text">Allow mind to queue CoS agent tasks</label>
- <p className="mt-0.5 text-xs text-port-text-muted">
- Grants the reasoning loop one typed action: create auto-approved internal tasks in isolated worktrees. It cannot edit files or run arbitrary tools directly.
- </p>
- </div>
- <input
- id={createTasksId}
- type="checkbox"
- checked={draft.createTasks}
- disabled={disabled || saving}
- onChange={(event) => save(event.target.checked)}
- className="mt-1 h-4 w-4 accent-port-accent disabled:opacity-50"
- />
+ <div className="space-y-4">
+ {OPTIONS.map((option) => {
+ const id = `${idPrefix}-${option.key}`;
+ return (
+ <div key={option.key} className="flex items-start justify-between gap-4">
+ <div>
+ <label htmlFor={id} className="text-sm text-port-text">{option.label}</label>
+ <p className="mt-0.5 text-xs text-port-text-muted">{option.hint}</p>
+ </div>
+ <input
+ id={id}
+ type="checkbox"
+ checked={draft[option.key]}
+ disabled={disabled || saving}
+ onChange={(event) => save(option.key, event.target.checked)}
+ className="mt-1 h-4 w-4 accent-port-accent disabled:opacity-50"
+ />
+ </div>
+ );
+ })}
+ <div className="rounded border border-port-border bg-port-bg/40 px-3 py-2 text-xs text-port-text-muted">
+ <p className="font-medium text-port-text">Typed authority only</p>
+ <p className="mt-1">Every tool has a closed input schema, explicit side-effect policy, stable request id, and normalized result. Raw PortOS routes are never accepted as tool arguments.</p>
</div>
<div className="rounded border border-port-border bg-port-bg/40 px-3 py-2 text-xs text-port-text-muted">
- <p className="font-medium text-port-text">The mind chooses per task</p>
- <p className="mt-1">Target app · AI provider · model · thinking effort · priority</p>
- <p className="mt-1">Mode: implement and ship · or Plan &amp; File Issue for GitHub/GitLab apps</p>
- <p className="mt-1">Landing gate: code review then merge · merge when CI is green · leave open for human review</p>
+ <p className="font-medium text-port-text">Task landing policy stays authoritative</p>
+ <p className="mt-1">A task can run code review then merge, merge when CI is green, or leave open for human review. The selected per-task landing policy is never widened by this grant.</p>
</div>
<p className="text-xs text-port-text-muted">
- The grant defaults off. Capacity, CoS autonomy, daily budgets, configured review defaults, and CI remain authoritative after a task is queued.
+ All grants default off. CoS autonomy, capacity, daily budgets, task review defaults, CI, and the tool-specific validation remain authoritative.
</p>
</div>
);
diff --git a/client/src/components/cos/tabs/MindTab.test.jsx b/client/src/components/cos/tabs/MindTab.test.jsx
index 3921105364..746e5b7d21 100644
--- a/client/src/components/cos/tabs/MindTab.test.jsx
+++ b/client/src/components/cos/tabs/MindTab.test.jsx
@@ -258,7 +258,7 @@ describe('MindTab', () => {
await user.click(taskAccess);
await waitFor(() => expect(api.updateCosConfig).toHaveBeenCalledWith(
- { persistentMindCapabilities: { schemaVersion: 1, createTasks: true } },
+ { persistentMindCapabilities: { schemaVersion: 2, createTasks: true, readPortos: false, writePortos: false } },
{ silent: true },
));
expect(screen.getByText(/code review then merge/i)).toBeInTheDocument();
diff --git a/client/src/components/settings/ApiAccessTab.jsx b/client/src/components/settings/ApiAccessTab.jsx
index c085e4afb1..2810264142 100644
--- a/client/src/components/settings/ApiAccessTab.jsx
+++ b/client/src/components/settings/ApiAccessTab.jsx
@@ -1,40 +1,18 @@
import { useState, useEffect, useCallback } from 'react';
-import { Bot, Globe, Lock, Unlock, Copy, RefreshCw } from 'lucide-react';
+import { Link } from 'react-router';
+import { Bot, Globe, Lock, Unlock, Copy, RefreshCw, ExternalLink } from 'lucide-react';
import toast from '../ui/Toast';
import BrailleSpinner from '../BrailleSpinner';
-import { getSettings, updateSettings, getOpenApiSpec } from '../../services/apiSystem';
+import { getApiCatalog, getSettings, updateSettings, getOpenApiSpec } from '../../services/apiSystem';
import { copyToClipboard } from '../../lib/clipboard';
-// Mirror of server/lib/apiRegistry.js — the client can't import the server
-// module, so the display metadata is duplicated here. The server stays the
-// source of truth for gating; this only drives the UI cards. The OpenAPI spec
-// (fetched below) is what actually reflects which paths exist per API.
-const API_CARDS = [
- {
- id: 'voice',
- label: 'Voice / TTS',
- description: 'Text-to-speech synthesis and voice enumeration (Kokoro, Piper).',
- publicBase: '/api/voice/public',
- exampleCurl: (base) =>
- `curl -X POST ${base}/api/voice/public/synthesize \\\n` +
- ` -H 'content-type: application/json' \\\n` +
- ` -d '{"text":"Hello from PortOS","engine":"kokoro"}' \\\n` +
- ` --output speech.wav`,
- },
- {
- id: 'sdapi',
- label: 'Image Gen (A1111-compatible)',
- description: 'AUTOMATIC1111-compatible txt2img + model/sampler catalog. Also requires the "Expose A1111 API" toggle under Settings → Image Gen.',
- publicBase: '/sdapi/v1',
- exampleCurl: (base) =>
- `curl -X POST ${base}/sdapi/v1/txt2img \\\n` +
- ` -H 'content-type: application/json' \\\n` +
- ` -d '{"prompt":"a neon city","steps":20}'`,
- },
-];
-
const DEFAULT_ACCESS = { exposed: false, requireAuth: false };
-const DEFAULT_AGENT_CONTEXT = { enabled: false, profile: 'metadata', scopes: ['navigation', 'workspaces'] };
+const DEFAULT_AGENT_CONTEXT = {
+ enabled: false,
+ profile: 'metadata',
+ scopes: ['navigation', 'workspaces'],
+ actions: { readPortos: false, writePortos: false },
+};
const AGENT_CONTEXT_SCOPES = [
{ id: 'navigation', label: 'Navigation', hint: 'PortOS page labels, aliases, and paths.' },
{ id: 'workspaces', label: 'Workspaces', hint: 'App presence and task counts; never repository paths or branches.' },
@@ -42,6 +20,17 @@ const AGENT_CONTEXT_SCOPES = [
{ id: 'identity', label: 'Identity export', hint: 'Section presence only; never raw identity records or Privacy Vault data.' },
];
+const exampleCurl = (card, baseUrl) => {
+ const example = card.example || {};
+ const lines = [`curl -X ${example.method || 'GET'} ${baseUrl}${example.path || card.publicBase}`];
+ if (example.body) {
+ lines.push(" -H 'content-type: application/json'");
+ lines.push(` -d '${JSON.stringify(example.body)}'`);
+ }
+ if (example.output) lines.push(` --output ${example.output}`);
+ return lines.join(' \\\n');
+};
+
const Toggle = ({ id, checked, onChange, label, hint, disabled }) => (
<div className={`flex items-start gap-3 ${disabled ? 'opacity-50' : ''}`}>
<input
@@ -66,6 +55,8 @@ export function ApiAccessTab() {
const [access, setAccess] = useState({});
const [agentContext, setAgentContext] = useState(DEFAULT_AGENT_CONTEXT);
const [spec, setSpec] = useState(null);
+ const [apiCards, setApiCards] = useState(null);
+ const [apiCatalogError, setApiCatalogError] = useState('');
// window.location.origin is the tailnet host the user is browsing from, so
// the example curls are copy-pasteable from this machine.
@@ -77,6 +68,13 @@ export function ApiAccessTab() {
.catch(() => setSpec(null));
}, []);
+ const loadApiCards = useCallback(() => {
+ setApiCatalogError('');
+ getApiCatalog({ silent: true })
+ .then((catalog) => setApiCards(catalog.externallyExposableApis || []))
+ .catch((error) => setApiCatalogError(error?.message || 'API catalog unavailable'));
+ }, []);
+
useEffect(() => {
getSettings({ silent: true })
.then((s) => {
@@ -85,12 +83,14 @@ export function ApiAccessTab() {
...DEFAULT_AGENT_CONTEXT,
...(s?.agentContext || {}),
scopes: s?.agentContext?.scopes?.length ? s.agentContext.scopes : DEFAULT_AGENT_CONTEXT.scopes,
+ actions: { ...DEFAULT_AGENT_CONTEXT.actions, ...(s?.agentContext?.actions || {}) },
});
})
.catch(() => toast.error('Failed to load API access settings'))
.finally(() => setLoading(false));
+ loadApiCards();
loadSpec();
- }, [loadSpec]);
+ }, [loadApiCards, loadSpec]);
const entryFor = (id) => ({ ...DEFAULT_ACCESS, ...(access[id] || {}) });
@@ -137,6 +137,10 @@ export function ApiAccessTab() {
if (scopes.length > 0) patchAgentContext({ scopes });
};
+ const patchAgentContextAction = (action, checked) => patchAgentContext({
+ actions: { ...agentContext.actions, [action]: checked },
+ });
+
if (loading) return <BrailleSpinner text="Loading API access settings" />;
return (
@@ -154,16 +158,28 @@ export function ApiAccessTab() {
password while leaving the rest open. Only read/synthesis endpoints are public;
config and control endpoints always require the password.
</p>
+ <Link to="/api-reference/catalog" className="inline-flex items-center gap-1 text-xs font-medium text-port-accent hover:underline">
+ Browse all APIs <ExternalLink size={11} />
+ </Link>
</div>
- {API_CARDS.map((card) => {
- const entry = entryFor(card.id);
+ {apiCatalogError && (
+ <div role="alert" className="flex flex-wrap items-center justify-between gap-3 rounded-xl border border-port-error/40 bg-port-error/5 p-4 text-sm text-port-error">
+ <span>API exposure controls are unavailable: {apiCatalogError}</span>
+ <button type="button" onClick={loadApiCards} className="rounded border border-port-error/40 px-3 py-1.5 text-xs hover:bg-port-error/10">Retry</button>
+ </div>
+ )}
+ {apiCards === null && !apiCatalogError && <BrailleSpinner text="Loading API catalog" />}
+
+ {(apiCards || []).map((card) => {
+ const settingsKey = card.settingsKey || card.id;
+ const entry = entryFor(settingsKey);
// Disable EVERY card's toggles while ANY save is in flight, not just
// this card's. Each PUT sends a full apiAccess snapshot and the server
// replaces the whole key, so two overlapping saves could let the older
// one land last and clobber the newer toggle. Serializing to one save
// at a time removes the race. `cardBusy` still drives this card's spinner.
- const cardBusy = savingId === card.id;
+ const cardBusy = savingId === settingsKey;
const busy = savingId !== null;
return (
<div key={card.id} className="bg-port-card border border-port-border rounded-xl p-4 sm:p-6 space-y-4">
@@ -189,7 +205,7 @@ export function ApiAccessTab() {
id={`api-${card.id}-exposed`}
checked={entry.exposed}
disabled={busy}
- onChange={(v) => patchAccess(card.id, { exposed: v })}
+ onChange={(v) => patchAccess(settingsKey, { exposed: v })}
label="Expose on the network"
hint="Off by default. Nothing is reachable until you turn this on."
/>
@@ -197,7 +213,7 @@ export function ApiAccessTab() {
id={`api-${card.id}-auth`}
checked={entry.requireAuth}
disabled={busy || !entry.exposed}
- onChange={(v) => patchAccess(card.id, { requireAuth: v })}
+ onChange={(v) => patchAccess(settingsKey, { requireAuth: v })}
label="Require auth (password)"
hint="When off, this API is callable without the PortOS password."
/>
@@ -214,11 +230,11 @@ export function ApiAccessTab() {
<summary className="cursor-pointer select-none">Example request</summary>
<div className="mt-2 relative">
<pre className="bg-port-bg border border-port-border rounded-lg p-3 overflow-x-auto text-[11px] text-gray-300 whitespace-pre">
-{card.exampleCurl(baseUrl)}
+{exampleCurl(card, baseUrl)}
</pre>
<button
type="button"
- onClick={() => copyToClipboard(card.exampleCurl(baseUrl), 'Example copied')}
+ onClick={() => copyToClipboard(exampleCurl(card, baseUrl), 'Example copied')}
className="absolute top-2 right-2 p-1.5 rounded bg-port-border hover:bg-port-border/70 text-white"
aria-label="Copy example request"
title="Copy example request"
@@ -236,15 +252,15 @@ export function ApiAccessTab() {
<div className="min-w-0">
<div className="flex items-center gap-2 text-white">
<Bot size={18} />
- <h3 className="text-base font-semibold">Agent Context (MCP)</h3>
+ <h3 className="text-base font-semibold">Agent Tools (MCP)</h3>
<span className={`text-xs ${agentContext.enabled ? 'text-port-success' : 'text-gray-500'}`}>
{agentContext.enabled ? 'local access enabled' : 'disabled'}
</span>
</div>
<p className="text-xs text-gray-500 mt-1">
- A read-only context surface for agents running on this machine. It accepts loopback
- connections only, never tailnet or public traffic, and makes no LLM calls. PortOS
- password authentication still applies when configured.
+ A governed context and semantic-action surface for CoS agents running on this machine.
+ It accepts loopback connections only, never tailnet or public traffic, and makes no LLM
+ calls by itself. Context and action grants are independently opt-in.
</p>
</div>
{savingId === 'agent-context' && <BrailleSpinner />}
@@ -279,6 +295,31 @@ export function ApiAccessTab() {
</div>
</fieldset>
+ <fieldset className="space-y-2" disabled={savingId !== null}>
+ <legend className="text-xs font-medium text-gray-300 mb-2">Semantic action grants</legend>
+ <div className="grid grid-cols-1 sm:grid-cols-2 gap-3">
+ <Toggle
+ id="agent-context-action-read"
+ checked={agentContext.actions.readPortos}
+ disabled={savingId !== null}
+ onChange={(value) => patchAgentContextAction('readPortos', value)}
+ label="Allow semantic PortOS reads"
+ hint="Brain, goals, journal, calendar, health, feed, catalog, and runtime adapters."
+ />
+ <Toggle
+ id="agent-context-action-write"
+ checked={agentContext.actions.writePortos}
+ disabled={savingId !== null}
+ onChange={(value) => patchAgentContextAction('writePortos', value)}
+ label="Allow semantic PortOS updates"
+ hint="Typed Brain, journal, goals, health-log, and feed-state actions; no raw routes or shell."
+ />
+ </div>
+ <p className="text-xs text-gray-500">
+ Both default off. MCP advertises only granted actions, with schemas generated from the same contracts used at runtime.
+ </p>
+ </fieldset>
+
<div className="space-y-1">
<label htmlFor="agent-context-profile" className="text-xs font-medium text-gray-300">Disclosure profile</label>
<select
@@ -322,6 +363,9 @@ export function ApiAccessTab() {
Machine-readable description of every exposed API. Served at{' '}
<code className="text-port-accent">/api/api-docs/openapi.json</code>.
</p>
+ <Link to="/api-reference/rest" className="inline-flex items-center gap-1 text-xs text-port-accent hover:underline">
+ Open rendered reference <ExternalLink size={11} />
+ </Link>
{spec ? (
<div className="text-xs text-gray-400">
<span className="text-port-success">{Object.keys(spec.paths || {}).length}</span> path(s) documented
diff --git a/client/src/components/settings/ApiAccessTab.test.jsx b/client/src/components/settings/ApiAccessTab.test.jsx
index 935e404308..fbd3f29532 100644
--- a/client/src/components/settings/ApiAccessTab.test.jsx
+++ b/client/src/components/settings/ApiAccessTab.test.jsx
@@ -1,10 +1,12 @@
import { describe, it, expect, vi, beforeEach } from 'vitest';
import { render, screen, fireEvent, waitFor, act } from '@testing-library/react';
+import { MemoryRouter } from 'react-router';
vi.mock('../../services/apiSystem', () => ({
getSettings: vi.fn(),
updateSettings: vi.fn(),
getOpenApiSpec: vi.fn(),
+ getApiCatalog: vi.fn(),
}));
vi.mock('../ui/Toast', () => ({
default: Object.assign(vi.fn(), {
@@ -14,17 +16,29 @@ vi.mock('../ui/Toast', () => ({
// copyToClipboard is unused in these tests but imported by the component.
vi.mock('../../lib/clipboard', () => ({ copyToClipboard: vi.fn() }));
-import { getSettings, updateSettings, getOpenApiSpec } from '../../services/apiSystem';
+import { getApiCatalog, getSettings, updateSettings, getOpenApiSpec } from '../../services/apiSystem';
import { ApiAccessTab } from './ApiAccessTab';
beforeEach(() => {
vi.clearAllMocks();
getOpenApiSpec.mockResolvedValue({ paths: {} });
+ getApiCatalog.mockResolvedValue({
+ externallyExposableApis: [
+ {
+ id: 'voice', label: 'Voice / TTS', description: 'Text-to-speech synthesis.', publicBase: '/api/voice/public',
+ example: { method: 'POST', path: '/api/voice/public/synthesize', body: { text: 'Hello from PortOS' }, output: 'speech.wav' },
+ },
+ {
+ id: 'sdapi', label: 'Image Gen (A1111-compatible)', description: 'Text-to-image generation.', publicBase: '/sdapi/v1',
+ example: { method: 'POST', path: '/sdapi/v1/txt2img', body: { prompt: 'a neon city' } },
+ },
+ ],
+ });
updateSettings.mockResolvedValue({});
});
const renderTab = async () => {
- render(<ApiAccessTab />);
+ render(<MemoryRouter><ApiAccessTab /></MemoryRouter>);
// Wait for the loading spinner to clear (cards render post-load).
await waitFor(() => expect(screen.getByText('Voice / TTS')).toBeTruthy());
};
@@ -110,6 +124,41 @@ describe('ApiAccessTab', () => {
expect(screen.getAllByText('not exposed').length).toBe(2);
});
+ it('persists registry settings by settingsKey instead of display id', async () => {
+ getSettings.mockResolvedValue({ apiAccess: { voice: { exposed: true, requireAuth: false } } });
+ getApiCatalog.mockResolvedValue({
+ externallyExposableApis: [{
+ id: 'voice-display', settingsKey: 'voice', label: 'Voice / TTS', description: 'Text-to-speech synthesis.',
+ publicBase: '/api/voice/public', example: { method: 'GET', path: '/api/voice/public/voices' },
+ }],
+ });
+ await renderTab();
+ expect(screen.getByLabelText('Expose on the network').checked).toBe(true);
+ fireEvent.click(screen.getByLabelText('Require auth (password)'));
+ await waitFor(() => expect(updateSettings).toHaveBeenCalled());
+ expect(updateSettings.mock.calls[0][0].apiAccess).toMatchObject({
+ voice: { exposed: true, requireAuth: true },
+ });
+ expect(updateSettings.mock.calls[0][0].apiAccess['voice-display']).toBeUndefined();
+ });
+
+ it('distinguishes a failed catalog load from an empty registry and supports retry', async () => {
+ getSettings.mockResolvedValue({});
+ getApiCatalog
+ .mockRejectedValueOnce(new Error('temporarily offline'))
+ .mockResolvedValueOnce({
+ externallyExposableApis: [{
+ id: 'voice', settingsKey: 'voice', label: 'Voice / TTS', description: 'Text-to-speech synthesis.',
+ publicBase: '/api/voice/public', example: { method: 'GET', path: '/api/voice/public/voices' },
+ }],
+ });
+ render(<MemoryRouter><ApiAccessTab /></MemoryRouter>);
+ expect(await screen.findByRole('alert')).toHaveTextContent('temporarily offline');
+ expect(screen.queryByText('Voice / TTS')).toBeNull();
+ fireEvent.click(screen.getByRole('button', { name: 'Retry' }));
+ expect(await screen.findByText('Voice / TTS')).toBeTruthy();
+ });
+
it('defaults agent context to disabled metadata with minimal scopes', async () => {
getSettings.mockResolvedValue({});
await renderTab();
@@ -118,6 +167,8 @@ describe('ApiAccessTab', () => {
expect(screen.getByLabelText('Workspaces').checked).toBe(true);
expect(screen.getByLabelText('Brain').checked).toBe(false);
expect(screen.getByLabelText('Disclosure profile').value).toBe('metadata');
+ expect(screen.getByLabelText('Allow semantic PortOS reads').checked).toBe(false);
+ expect(screen.getByLabelText('Allow semantic PortOS updates').checked).toBe(false);
});
it('persists the complete agent-context opt-in configuration', async () => {
@@ -129,6 +180,23 @@ describe('ApiAccessTab', () => {
enabled: true,
profile: 'metadata',
scopes: ['navigation', 'workspaces'],
+ actions: { readPortos: false, writePortos: false },
+ },
+ }, { silent: true }));
+ });
+
+ it('persists semantic MCP grants independently of context scopes', async () => {
+ getSettings.mockResolvedValue({
+ agentContext: { enabled: true, profile: 'metadata', scopes: ['navigation'], actions: { readPortos: false, writePortos: false } },
+ });
+ await renderTab();
+ fireEvent.click(screen.getByLabelText('Allow semantic PortOS reads'));
+ await waitFor(() => expect(updateSettings).toHaveBeenCalledWith({
+ agentContext: {
+ enabled: true,
+ profile: 'metadata',
+ scopes: ['navigation'],
+ actions: { readPortos: true, writePortos: false },
},
}, { silent: true }));
});
diff --git a/client/src/pages/ApiExplorer.css b/client/src/pages/ApiExplorer.css
new file mode 100644
index 0000000000..0d01c4b0df
--- /dev/null
+++ b/client/src/pages/ApiExplorer.css
@@ -0,0 +1,13 @@
+.portos-api-reference {
+ --scalar-background-1: rgb(var(--port-bg-rgb, 15 17 23));
+ --scalar-background-2: rgb(var(--port-card-rgb, 24 27 36));
+ --scalar-background-3: rgb(var(--port-border-rgb, 42 46 58));
+ --scalar-color-1: #f3f4f6;
+ --scalar-color-2: #9ca3af;
+ --scalar-color-3: #6b7280;
+ min-height: 100%;
+}
+
+.portos-api-reference .scalar-app {
+ min-height: 100%;
+}
diff --git a/client/src/pages/ApiExplorer.jsx b/client/src/pages/ApiExplorer.jsx
new file mode 100644
index 0000000000..6bc9872aaa
--- /dev/null
+++ b/client/src/pages/ApiExplorer.jsx
@@ -0,0 +1,403 @@
+import { lazy, Suspense, useEffect, useMemo, useState } from 'react';
+import { Link, Navigate, useNavigate, useParams } from 'react-router';
+import {
+ Bot, Braces, CheckCircle2, Copy, ExternalLink, RadioTower, Search,
+} from 'lucide-react';
+import PageHeader from '../components/PageHeader';
+import RouteTabsHeader from '../components/ui/RouteTabsHeader';
+import BrailleSpinner from '../components/BrailleSpinner';
+import { copyToClipboard } from '../lib/clipboard';
+import * as api from '../services/api';
+
+const ScalarReference = lazy(() => import('../components/api-explorer/ScalarReference'));
+
+const TABS = [
+ { id: 'catalog', label: 'API Catalog', to: '/api-reference/catalog' },
+ { id: 'rest', label: 'REST Reference', to: '/api-reference/rest' },
+ { id: 'events', label: 'Event API', to: '/api-reference/events' },
+ { id: 'tools', label: 'Agent Tools', to: '/api-reference/tools' },
+];
+
+const VALID_TABS = new Set(TABS.map((tab) => tab.id));
+const PAGE_SIZE = 100;
+
+const METHOD_STYLE = {
+ GET: 'text-sky-300 bg-sky-500/10 border-sky-500/30',
+ POST: 'text-emerald-300 bg-emerald-500/10 border-emerald-500/30',
+ PUT: 'text-amber-300 bg-amber-500/10 border-amber-500/30',
+ PATCH: 'text-violet-300 bg-violet-500/10 border-violet-500/30',
+ DELETE: 'text-red-300 bg-red-500/10 border-red-500/30',
+};
+
+function Stat({ label, value, hint }) {
+ return (
+ <div className="rounded-lg border border-port-border bg-port-card px-3 py-2 min-w-0">
+ <div className="text-xl font-bold text-white">{value ?? '—'}</div>
+ <div className="text-xs font-medium text-gray-300">{label}</div>
+ {hint && <div className="text-[11px] text-gray-500 truncate">{hint}</div>}
+ </div>
+ );
+}
+
+function CatalogView() {
+ const [catalog, setCatalog] = useState(null);
+ const [error, setError] = useState('');
+ const [query, setQuery] = useState('');
+ const [method, setMethod] = useState('all');
+ const [domain, setDomain] = useState('all');
+ const [coverage, setCoverage] = useState('all');
+ const [limit, setLimit] = useState(PAGE_SIZE);
+
+ useEffect(() => {
+ api.getApiCatalog({ silent: true }).then(setCatalog).catch((err) => setError(err.message));
+ }, []);
+
+ const filtered = useMemo(() => {
+ if (!catalog?.operations) return [];
+ const needle = query.trim().toLowerCase();
+ return catalog.operations.filter((operation) =>
+ (method === 'all' || operation.method === method)
+ && (domain === 'all' || operation.domain === domain)
+ && (coverage === 'all' || operation.contractStatus === coverage)
+ && (!needle || `${operation.method} ${operation.path} ${operation.summary} ${operation.domain}`.toLowerCase().includes(needle)));
+ }, [catalog, coverage, domain, method, query]);
+
+ useEffect(() => { setLimit(PAGE_SIZE); }, [coverage, domain, method, query]);
+
+ if (error) return <div className="p-6 text-port-error">API catalog unavailable: {error}</div>;
+ if (!catalog) return <div className="p-6"><BrailleSpinner text="Loading API catalog" /></div>;
+
+ return (
+ <div className="p-3 sm:p-4 space-y-4 max-w-[1500px] mx-auto">
+ <div className="grid grid-cols-2 md:grid-cols-5 gap-2">
+ <Stat label="HTTP operations" value={catalog.stats.operations} hint={`${catalog.stats.sourceFiles} route files`} />
+ <Stat label="Domains" value={catalog.stats.domains} hint={`${catalog.stats.mounts} mounts`} />
+ <Stat label="Modeled" value={catalog.stats.modeled} hint="Detailed schemas" />
+ <Stat label="Generated" value={catalog.stats.generated} hint="Discoverable inventory" />
+ <Stat label="Spec version" value="3.1" hint="OpenAPI" />
+ </div>
+
+ <div className="rounded-xl border border-port-border bg-port-card p-3 space-y-3">
+ <div className="flex flex-col lg:flex-row gap-2">
+ <label className="relative flex-1 min-w-0">
+ <span className="sr-only">Search API operations</span>
+ <Search size={15} className="absolute left-3 top-1/2 -translate-y-1/2 text-gray-500" />
+ <input
+ value={query}
+ onChange={(event) => setQuery(event.target.value)}
+ placeholder="Search method, path, summary, or domain"
+ className="w-full rounded-lg border border-port-border bg-port-bg py-2 pl-9 pr-3 text-sm text-white"
+ />
+ </label>
+ <label className="flex items-center gap-2 text-xs text-gray-400">
+ Method
+ <select value={method} onChange={(event) => setMethod(event.target.value)} className="rounded-lg border border-port-border bg-port-bg px-2 py-2 text-sm text-white">
+ <option value="all">All</option>
+ {['GET', 'POST', 'PUT', 'PATCH', 'DELETE'].map((value) => <option key={value}>{value}</option>)}
+ </select>
+ </label>
+ <label className="flex items-center gap-2 text-xs text-gray-400">
+ Domain
+ <select value={domain} onChange={(event) => setDomain(event.target.value)} className="max-w-52 rounded-lg border border-port-border bg-port-bg px-2 py-2 text-sm text-white">
+ <option value="all">All domains</option>
+ {catalog.domains.map((value) => <option key={value.id} value={value.id}>{value.label} ({value.operations})</option>)}
+ </select>
+ </label>
+ <label className="flex items-center gap-2 text-xs text-gray-400">
+ Contract
+ <select value={coverage} onChange={(event) => setCoverage(event.target.value)} className="rounded-lg border border-port-border bg-port-bg px-2 py-2 text-sm text-white">
+ <option value="all">All</option>
+ <option value="modeled">Modeled</option>
+ <option value="generated">Generated</option>
+ </select>
+ </label>
+ </div>
+ <div className="flex flex-wrap items-center justify-between gap-2 text-xs text-gray-500">
+ <span>{filtered.length.toLocaleString()} matching operations</span>
+ <div className="flex items-center gap-3">
+ <Link to="/settings/api-access" className="text-port-accent hover:underline">Configure external access</Link>
+ <a href="/api/api-docs/internal/openapi.json" target="_blank" rel="noreferrer" className="inline-flex items-center gap-1 text-port-accent hover:underline">
+ Open JSON <ExternalLink size={11} />
+ </a>
+ </div>
+ </div>
+ </div>
+
+ <div className="rounded-xl border border-port-border overflow-hidden">
+ <div className="divide-y divide-port-border">
+ {filtered.slice(0, limit).map((operation) => (
+ <div key={`${operation.method}-${operation.path}`} className="bg-port-card px-3 py-2.5 hover:bg-port-border/20">
+ <div className="flex items-start gap-2">
+ <span className={`mt-0.5 w-16 shrink-0 rounded border px-1.5 py-0.5 text-center text-[11px] font-bold ${METHOD_STYLE[operation.method] || 'text-gray-300 border-port-border'}`}>
+ {operation.method}
+ </span>
+ <div className="min-w-0 flex-1">
+ <div className="flex flex-wrap items-center gap-x-2 gap-y-1">
+ <code className="text-sm text-white break-all">{operation.path}</code>
+ <span className="rounded bg-port-bg px-1.5 py-0.5 text-[10px] text-gray-400">{operation.domainLabel}</span>
+ <span className={`rounded px-1.5 py-0.5 text-[10px] ${operation.contractStatus === 'modeled' ? 'bg-port-success/10 text-port-success' : 'bg-port-warning/10 text-port-warning'}`}>
+ {operation.contractStatus}
+ </span>
+ <span className="rounded bg-port-bg px-1.5 py-0.5 text-[10px] text-gray-400">{operation.sideEffect}</span>
+ </div>
+ <p className="mt-1 text-xs text-gray-500">{operation.summary} · {operation.access}</p>
+ </div>
+ <button type="button" onClick={() => copyToClipboard(`${operation.method} ${operation.path}`, 'Operation copied')} className="p-1.5 text-gray-500 hover:text-white" aria-label={`Copy ${operation.method} ${operation.path}`}>
+ <Copy size={13} />
+ </button>
+ </div>
+ </div>
+ ))}
+ {filtered.length === 0 && <div className="bg-port-card p-8 text-center text-sm text-gray-500">No operations match these filters.</div>}
+ </div>
+ </div>
+ {limit < filtered.length && (
+ <button type="button" onClick={() => setLimit((value) => value + PAGE_SIZE)} className="block mx-auto rounded-lg border border-port-border bg-port-card px-4 py-2 text-sm text-white hover:border-port-accent">
+ Show {Math.min(PAGE_SIZE, filtered.length - limit)} more
+ </button>
+ )}
+ </div>
+ );
+}
+
+function RestReferenceView() {
+ const [surface, setSurface] = useState('internal');
+ const url = surface === 'internal' ? '/api/api-docs/internal/openapi.json' : '/api/api-docs/openapi.json';
+
+ return (
+ <div className="flex h-full min-h-0 flex-col">
+ <div className="shrink-0 flex flex-wrap items-center justify-between gap-2 border-b border-port-border bg-port-card px-3 py-2">
+ <div>
+ <div className="text-sm font-medium text-white">{surface === 'internal' ? 'Complete internal surface' : 'Currently exposed public surface'}</div>
+ <div className="text-xs text-gray-500">Read-only reference; request execution and Scalar Agent are disabled.</div>
+ </div>
+ <div role="group" aria-label="REST API surface" className="flex rounded-lg border border-port-border p-0.5">
+ {['internal', 'public'].map((value) => (
+ <button key={value} type="button" aria-pressed={surface === value} onClick={() => setSurface(value)} className={`rounded-md px-3 py-1.5 text-xs ${surface === value ? 'bg-port-accent text-black' : 'text-gray-400 hover:text-white'}`}>
+ {value === 'internal' ? 'Internal' : 'Exposed'}
+ </button>
+ ))}
+ </div>
+ </div>
+ <div className="portos-api-reference min-h-0 flex-1 overflow-auto bg-port-bg">
+ <Suspense fallback={<div className="p-6"><BrailleSpinner text="Loading REST reference" /></div>}>
+ <ScalarReference url={url} />
+ </Suspense>
+ </div>
+ </div>
+ );
+}
+
+function EventCatalogView() {
+ const [catalog, setCatalog] = useState(null);
+ const [error, setError] = useState('');
+ const [query, setQuery] = useState('');
+ const [direction, setDirection] = useState('all');
+ const [domain, setDomain] = useState('all');
+ const [coverage, setCoverage] = useState('all');
+
+ useEffect(() => {
+ api.getSocketEventCatalog({ silent: true }).then(setCatalog).catch((err) => setError(err.message));
+ }, []);
+
+ const events = useMemo(() => {
+ if (!catalog?.events) return [];
+ const needle = query.trim().toLowerCase();
+ return catalog.events.filter((event) =>
+ (direction === 'all' || event.directions.includes(direction))
+ && (domain === 'all' || event.domain === domain)
+ && (coverage === 'all' || event.contractStatus === coverage)
+ && (!needle || `${event.event} ${event.summary} ${event.domain}`.toLowerCase().includes(needle)));
+ }, [catalog, coverage, direction, domain, query]);
+
+ if (error) return <div className="p-6 text-port-error">Event catalog unavailable: {error}</div>;
+ if (!catalog) return <div className="p-6"><BrailleSpinner text="Loading event catalog" /></div>;
+
+ return (
+ <div className="p-3 sm:p-4 space-y-4 max-w-[1500px] mx-auto">
+ <div className="grid grid-cols-2 md:grid-cols-5 gap-2">
+ <Stat label="Socket.IO events" value={catalog.stats.events} hint={`${catalog.stats.sourceFiles} source files`} />
+ <Stat label="Client → server" value={catalog.stats.clientToServer} hint="Commands and subscriptions" />
+ <Stat label="Server → client" value={catalog.stats.serverToClient} hint="Progress and live state" />
+ <Stat label="Modeled payloads" value={catalog.stats.modeled} hint="Runtime-backed schemas" />
+ <Stat label="Spec version" value="3.0" hint="AsyncAPI" />
+ </div>
+
+ <div className="rounded-xl border border-port-border bg-port-card p-3 space-y-3">
+ <div className="flex flex-col lg:flex-row gap-2">
+ <label className="relative flex-1 min-w-0">
+ <span className="sr-only">Search Socket.IO events</span>
+ <Search size={15} className="absolute left-3 top-1/2 -translate-y-1/2 text-gray-500" />
+ <input value={query} onChange={(event) => setQuery(event.target.value)} placeholder="Search event, summary, or domain" className="w-full rounded-lg border border-port-border bg-port-bg py-2 pl-9 pr-3 text-sm text-white" />
+ </label>
+ <label className="flex items-center gap-2 text-xs text-gray-400">
+ Direction
+ <select value={direction} onChange={(event) => setDirection(event.target.value)} className="rounded-lg border border-port-border bg-port-bg px-2 py-2 text-sm text-white">
+ <option value="all">All</option>
+ <option value="client-to-server">Client → server</option>
+ <option value="server-to-client">Server → client</option>
+ </select>
+ </label>
+ <label className="flex items-center gap-2 text-xs text-gray-400">
+ Domain
+ <select value={domain} onChange={(event) => setDomain(event.target.value)} className="max-w-52 rounded-lg border border-port-border bg-port-bg px-2 py-2 text-sm text-white">
+ <option value="all">All domains</option>
+ {catalog.domains.map((value) => <option key={value.id} value={value.id}>{value.label} ({value.events})</option>)}
+ </select>
+ </label>
+ <label className="flex items-center gap-2 text-xs text-gray-400">
+ Contract
+ <select value={coverage} onChange={(event) => setCoverage(event.target.value)} className="rounded-lg border border-port-border bg-port-bg px-2 py-2 text-sm text-white">
+ <option value="all">All</option>
+ <option value="modeled">Modeled</option>
+ <option value="generated">Generated</option>
+ </select>
+ </label>
+ </div>
+ <div className="flex flex-wrap items-center justify-between gap-2 text-xs text-gray-500">
+ <span>{events.length.toLocaleString()} matching events</span>
+ <a href="/api/api-docs/asyncapi.json" target="_blank" rel="noreferrer" className="inline-flex items-center gap-1 text-port-accent hover:underline">Open AsyncAPI JSON <ExternalLink size={11} /></a>
+ </div>
+ </div>
+
+ <div className="rounded-xl border border-port-border overflow-hidden divide-y divide-port-border">
+ {events.map((event) => (
+ <div key={event.event} className="bg-port-card px-3 py-3 hover:bg-port-border/20">
+ <div className="flex items-start gap-3">
+ <RadioTower size={15} className="mt-1 shrink-0 text-port-accent" />
+ <div className="min-w-0 flex-1">
+ <div className="flex flex-wrap items-center gap-2">
+ <code className="text-sm text-white break-all">{event.event}</code>
+ {event.directions.map((value) => <span key={value} className="rounded bg-port-bg px-1.5 py-0.5 text-[10px] text-gray-400">{value === 'client-to-server' ? 'client → server' : 'server → client'}</span>)}
+ <span className={`rounded px-1.5 py-0.5 text-[10px] ${event.contractStatus === 'modeled' ? 'bg-port-success/10 text-port-success' : 'bg-port-warning/10 text-port-warning'}`}>{event.contractStatus}</span>
+ </div>
+ <p className="mt-1 text-xs text-gray-500">{event.summary} · {event.domainLabel}</p>
+ {Object.keys(event.payloadSchemas).length > 0 && (
+ <details className="mt-2 text-xs text-gray-500">
+ <summary className="cursor-pointer">Payload schema</summary>
+ <pre className="mt-2 overflow-x-auto rounded border border-port-border bg-port-bg p-3 text-[11px] text-gray-300">{JSON.stringify(event.payloadSchemas, null, 2)}</pre>
+ </details>
+ )}
+ </div>
+ <button type="button" onClick={() => copyToClipboard(event.event, 'Event copied')} className="p-1.5 text-gray-500 hover:text-white" aria-label={`Copy ${event.event}`}><Copy size={13} /></button>
+ </div>
+ </div>
+ ))}
+ {events.length === 0 && <div className="bg-port-card p-8 text-center text-sm text-gray-500">No events match these filters.</div>}
+ </div>
+ </div>
+ );
+}
+
+function AgentToolsView() {
+ const [data, setData] = useState(null);
+ const [error, setError] = useState('');
+
+ useEffect(() => {
+ Promise.all([
+ api.getCosToolCatalog({ scope: 'mind', silent: true }),
+ api.getCosToolCatalog({ scope: 'agent', silent: true }),
+ api.getPersistentMindTools({ silent: true }),
+ api.getSettings({ silent: true }),
+ ]).then(([catalog, agentCatalog, authority, settings]) =>
+ setData({ catalog, agentCatalog, authority, agentContext: settings.agentContext || {} })).catch((err) => setError(err.message));
+ }, []);
+
+ if (error) return <div className="p-6 text-port-error">Agent tool catalog unavailable: {error}</div>;
+ if (!data) return <div className="p-6"><BrailleSpinner text="Loading agent tools" /></div>;
+
+ const { catalog, agentCatalog, authority, agentContext } = data;
+ const agentToolsByName = new Map(agentCatalog.tools.map((tool) => [tool.name, tool]));
+
+ return (
+ <div className="p-3 sm:p-4 space-y-4 max-w-5xl mx-auto">
+ <div className="rounded-xl border border-port-border bg-port-card p-4">
+ <div className="flex flex-wrap items-center justify-between gap-2">
+ <div>
+ <div className="flex items-center gap-2 text-white"><Bot size={18} /><h2 className="font-semibold">Semantic tool catalog</h2></div>
+ <p className="mt-1 text-sm text-gray-500">{catalog.stats.total} governed actions adapt PortOS services without exposing a raw HTTP proxy.</p>
+ </div>
+ <div className="flex flex-wrap gap-2 text-xs">
+ {['portos', 'openai', 'anthropic', 'mcp'].map((format) => (
+ <a key={format} href={`/api/cos/tools?scope=mind&format=${format}`} target="_blank" rel="noreferrer" className="rounded border border-port-border px-2 py-1 text-port-accent hover:border-port-accent">
+ {format}
+ </a>
+ ))}
+ </div>
+ </div>
+ </div>
+ <div className="grid grid-cols-1 md:grid-cols-2 gap-3">
+ <div className="rounded-xl border border-port-border bg-port-card p-4">
+ <h3 className="text-sm font-medium text-white">Persistent Mind adapter</h3>
+ <p className="mt-1 text-xs text-gray-500">Process-local multi-round tool loop. {catalog.stats.granted} of {catalog.stats.total} actions granted.</p>
+ <Link to="/cos/tools" className="mt-2 inline-flex items-center gap-1 text-xs text-port-accent hover:underline">Configure Mind grants <ExternalLink size={11} /></Link>
+ </div>
+ <div className="rounded-xl border border-port-border bg-port-card p-4">
+ <div className="flex flex-wrap items-center gap-2">
+ <h3 className="text-sm font-medium text-white">CoS Agent MCP</h3>
+ <span className={`rounded px-1.5 py-0.5 text-[10px] ${agentContext.enabled ? 'bg-port-success/10 text-port-success' : 'bg-port-bg text-gray-500'}`}>{agentContext.enabled ? 'enabled' : 'disabled'}</span>
+ </div>
+ <p className="mt-1 text-xs text-gray-500">Loopback-only Streamable HTTP. {agentCatalog.stats.granted} of {agentCatalog.stats.total} semantic actions granted, plus bounded context tools.</p>
+ <div className="mt-2 flex flex-wrap gap-3 text-xs">
+ <Link to="/settings/api-access" className="text-port-accent hover:underline">Configure MCP grants</Link>
+ <a href="/api/agent-context/manifest" target="_blank" rel="noreferrer" className="text-port-accent hover:underline">Open manifest</a>
+ </div>
+ </div>
+ </div>
+ {catalog.tools.map((tool) => (
+ <div key={tool.name} className="rounded-xl border border-port-border bg-port-card p-4 space-y-2">
+ <div className="flex flex-wrap items-center gap-2">
+ <code className="text-port-accent">{tool.name}</code>
+ <span className={`inline-flex items-center gap-1 rounded px-2 py-0.5 text-xs ${tool.granted ? 'bg-port-success/10 text-port-success' : 'bg-port-bg text-gray-500'}`}>
+ {tool.granted && <CheckCircle2 size={11} />}Mind: {tool.granted ? 'granted' : 'disabled'}
+ </span>
+ {agentToolsByName.has(tool.name) ? (
+ <span className={`inline-flex items-center gap-1 rounded px-2 py-0.5 text-xs ${agentToolsByName.get(tool.name).granted ? 'bg-port-success/10 text-port-success' : 'bg-port-bg text-gray-500'}`}>
+ {agentToolsByName.get(tool.name).granted && <CheckCircle2 size={11} />}CoS MCP: {agentToolsByName.get(tool.name).granted ? 'granted' : 'disabled'}
+ </span>
+ ) : <span className="rounded bg-port-bg px-2 py-0.5 text-xs text-gray-500">Mind-only</span>}
+ <span className="rounded bg-port-bg px-2 py-0.5 text-xs text-gray-500">{tool.policy.sideEffect}</span>
+ <span className="rounded bg-port-bg px-2 py-0.5 text-xs text-gray-500">{tool.providerName}</span>
+ </div>
+ <p className="text-sm text-gray-400">{tool.description}</p>
+ <details className="text-xs text-gray-500">
+ <summary className="cursor-pointer">Input contract</summary>
+ <pre className="mt-2 overflow-x-auto rounded border border-port-border bg-port-bg p-3 text-[11px] text-gray-300">{JSON.stringify(tool.input_schema, null, 2)}</pre>
+ </details>
+ </div>
+ ))}
+ <div className="rounded-xl border border-port-warning/30 bg-port-warning/5 p-4">
+ <h3 className="text-sm font-medium text-port-warning">Hard boundaries</h3>
+ <ul className="mt-2 list-disc pl-5 text-xs text-gray-400 space-y-1">
+ {authority.boundaries.map((boundary) => <li key={boundary}>{boundary}</li>)}
+ </ul>
+ </div>
+ <Link to="/cos/tools" className="inline-flex items-center gap-1 text-sm text-port-accent hover:underline">Configure Mind Tools <ExternalLink size={13} /></Link>
+ </div>
+ );
+}
+
+export default function ApiExplorer() {
+ const { tab = 'catalog' } = useParams();
+ const navigate = useNavigate();
+
+ if (!VALID_TABS.has(tab)) return <Navigate to="/api-reference/catalog" replace />;
+
+ return (
+ <div className="h-full min-h-0 flex flex-col bg-port-bg">
+ <PageHeader
+ icon={Braces}
+ title="API Explorer"
+ subtitle="PortOS HTTP, event, and semantic agent contracts"
+ actions={<button type="button" onClick={() => navigate('/settings/api-access')} className="text-xs text-port-accent hover:underline">API access settings</button>}
+ />
+ <RouteTabsHeader tabs={TABS} activeTab={tab} ariaLabel="API Explorer sections" />
+ <div role="tabpanel" className="min-h-0 flex-1 overflow-auto">
+ {tab === 'catalog' && <CatalogView />}
+ {tab === 'rest' && <RestReferenceView />}
+ {tab === 'events' && <EventCatalogView />}
+ {tab === 'tools' && <AgentToolsView />}
+ </div>
+ </div>
+ );
+}
diff --git a/client/src/pages/ApiExplorer.test.jsx b/client/src/pages/ApiExplorer.test.jsx
new file mode 100644
index 0000000000..6863ade2d5
--- /dev/null
+++ b/client/src/pages/ApiExplorer.test.jsx
@@ -0,0 +1,106 @@
+import { beforeEach, describe, expect, it, vi } from 'vitest';
+import { fireEvent, render, screen, waitFor } from '@testing-library/react';
+import { MemoryRouter, Route, Routes } from 'react-router';
+
+const api = vi.hoisted(() => ({
+ getApiCatalog: vi.fn(),
+ getPersistentMindTools: vi.fn(),
+ getCosToolCatalog: vi.fn(),
+ getSocketEventCatalog: vi.fn(),
+ getSettings: vi.fn(),
+}));
+
+vi.mock('../services/api', () => api);
+vi.mock('../components/api-explorer/ScalarReference', () => ({
+ default: ({ url }) => <div data-testid="scalar-reference">{url}</div>,
+}));
+vi.mock('../lib/clipboard', () => ({ copyToClipboard: vi.fn() }));
+
+import ApiExplorer from './ApiExplorer';
+
+const catalog = {
+ stats: { operations: 2050, sourceFiles: 221, domains: 124, mounts: 145, modeled: 10, generated: 2040 },
+ domains: [
+ { id: 'apps', label: 'Apps', operations: 2 },
+ { id: 'cos', label: 'Cos', operations: 1 },
+ ],
+ operations: [
+ { method: 'GET', path: '/api/apps', summary: 'Read Apps', domain: 'apps', domainLabel: 'Apps', contractStatus: 'generated', sideEffect: 'read', access: 'authenticated-ui' },
+ { method: 'POST', path: '/api/apps/:id/restart', summary: 'Create Or Run Restart', domain: 'apps', domainLabel: 'Apps', contractStatus: 'generated', sideEffect: 'process-control', access: 'authenticated-ui' },
+ { method: 'GET', path: '/api/cos/mind/tools', summary: 'Read Mind Tools', domain: 'cos', domainLabel: 'Cos', contractStatus: 'modeled', sideEffect: 'read', access: 'authenticated-ui' },
+ ],
+};
+
+const mindTools = {
+ boundaries: ['No arbitrary shell or file-system access'],
+};
+const semanticTools = {
+ stats: { total: 1, read: 0, write: 1, granted: 0 },
+ tools: [{
+ name: 'cos.create-task', providerName: 'cos_create_task', description: 'Queue a bounded task.', granted: false,
+ input_schema: { type: 'object', properties: {} }, policy: { sideEffect: 'supervised-write' },
+ }],
+};
+const agentSemanticTools = { stats: { total: 0, read: 0, write: 0, granted: 0 }, tools: [] };
+const agentContext = { enabled: false, tools: [], actions: { readPortos: false, writePortos: false } };
+const socketEvents = {
+ stats: { events: 229, sourceFiles: 73, clientToServer: 41, serverToClient: 189, modeled: 13, generated: 216 },
+ domains: [{ id: 'cos', label: 'Cos', events: 1 }],
+ events: [{
+ event: 'cos:mind:event', directions: ['server-to-client'], summary: 'Cos Mind Event Socket.IO event',
+ domain: 'cos', domainLabel: 'Cos', contractStatus: 'generated', modeledDirections: [], payloadSchemas: {},
+ }],
+};
+
+const renderPage = (path) => render(
+ <MemoryRouter initialEntries={[path]}>
+ <Routes>
+ <Route path="/api-reference/:tab" element={<ApiExplorer />} />
+ </Routes>
+ </MemoryRouter>,
+);
+
+beforeEach(() => {
+ vi.clearAllMocks();
+ api.getApiCatalog.mockResolvedValue(catalog);
+ api.getPersistentMindTools.mockResolvedValue(mindTools);
+ api.getCosToolCatalog.mockImplementation(({ scope }) => Promise.resolve(scope === 'agent' ? agentSemanticTools : semanticTools));
+ api.getSocketEventCatalog.mockResolvedValue(socketEvents);
+ api.getSettings.mockResolvedValue({ agentContext });
+});
+
+describe('ApiExplorer', () => {
+ it('renders the searchable generated catalog and coverage counts', async () => {
+ renderPage('/api-reference/catalog');
+ expect(await screen.findByText('2050')).toBeTruthy();
+ expect(screen.getByText('/api/cos/mind/tools')).toBeTruthy();
+ fireEvent.change(screen.getByPlaceholderText('Search method, path, summary, or domain'), { target: { value: 'restart' } });
+ await waitFor(() => expect(screen.queryByText('/api/cos/mind/tools')).toBeNull());
+ expect(screen.getByText('/api/apps/:id/restart')).toBeTruthy();
+ });
+
+ it('loads Scalar only on the REST reference tab with the internal spec', async () => {
+ renderPage('/api-reference/rest');
+ expect(await screen.findByTestId('scalar-reference')).toHaveTextContent('/api/api-docs/internal/openapi.json');
+ expect(screen.getByRole('button', { name: 'Internal' })).toHaveAttribute('aria-pressed', 'true');
+ expect(screen.getByRole('button', { name: 'Exposed' })).toHaveAttribute('aria-pressed', 'false');
+ fireEvent.click(screen.getByRole('button', { name: 'Exposed' }));
+ expect(screen.getByTestId('scalar-reference')).toHaveTextContent('/api/api-docs/openapi.json');
+ expect(screen.getByRole('button', { name: 'Exposed' })).toHaveAttribute('aria-pressed', 'true');
+ });
+
+ it('shows the persistent mind semantic tool boundary separately from raw HTTP', async () => {
+ renderPage('/api-reference/tools');
+ expect(await screen.findByText('cos.create-task')).toBeTruthy();
+ expect(screen.getByText('No arbitrary shell or file-system access')).toBeTruthy();
+ expect(screen.getByText('Mind: disabled')).toBeTruthy();
+ expect(screen.getByText('CoS Agent MCP')).toBeTruthy();
+ });
+
+ it('renders the generated Socket.IO catalog and AsyncAPI link', async () => {
+ renderPage('/api-reference/events');
+ expect(await screen.findByText('229')).toBeTruthy();
+ expect(screen.getByText('cos:mind:event')).toBeTruthy();
+ expect(screen.getByRole('link', { name: /Open AsyncAPI JSON/i })).toHaveAttribute('href', '/api/api-docs/asyncapi.json');
+ });
+});
diff --git a/client/src/pages/PersistentMindTools.jsx b/client/src/pages/PersistentMindTools.jsx
index e5cd1254f6..dc98d27faf 100644
--- a/client/src/pages/PersistentMindTools.jsx
+++ b/client/src/pages/PersistentMindTools.jsx
@@ -90,6 +90,16 @@ export default function PersistentMindTools() {
</div>
</section>
+ <section aria-labelledby="authority-controls-heading" className="rounded border border-port-border bg-port-card p-4">
+ <h2 id="authority-controls-heading" className="text-sm font-semibold uppercase tracking-wide text-port-text-muted">Authority controls</h2>
+ <div className="mt-4">
+ <PersistentMindTaskAccessControls
+ capabilities={data.capabilities}
+ onSaved={updateCapabilities}
+ />
+ </div>
+ </section>
+
{taskCatalog && (
<section aria-labelledby="task-catalog-heading" className="rounded border border-port-border bg-port-card p-4">
<h2 id="task-catalog-heading" className="text-sm font-semibold uppercase tracking-wide text-port-text-muted">Available task filing choices</h2>
@@ -144,15 +154,6 @@ export default function PersistentMindTools() {
</span>
</div>
- {tool.capability === 'createTasks' && (
- <div className="mt-4 border-t border-port-border pt-4">
- <PersistentMindTaskAccessControls
- capabilities={data.capabilities}
- onSaved={updateCapabilities}
- />
- </div>
- )}
-
{Array.isArray(tool.guardrails) && tool.guardrails.length > 0 && (
<div className="mt-4 rounded border border-port-border bg-port-bg/40 px-3 py-2">
<p className="text-xs font-semibold uppercase tracking-wide text-port-text-muted">Guardrails</p>
diff --git a/client/src/pages/PersistentMindTools.test.jsx b/client/src/pages/PersistentMindTools.test.jsx
index ebc5549d6b..ac1293a3cb 100644
--- a/client/src/pages/PersistentMindTools.test.jsx
+++ b/client/src/pages/PersistentMindTools.test.jsx
@@ -73,7 +73,7 @@ describe('PersistentMindTools', () => {
await user.click(toggle);
await waitFor(() => expect(api.updateCosConfig).toHaveBeenCalledWith(
- { persistentMindCapabilities: { schemaVersion: 1, createTasks: true } },
+ { persistentMindCapabilities: { schemaVersion: 2, createTasks: true, readPortos: false, writePortos: false } },
{ silent: true },
));
expect(await screen.findByText(/persistent-mind capabilities granted/)).toHaveTextContent('1 of 1');
diff --git a/client/src/services/apiAgents.js b/client/src/services/apiAgents.js
index d517978b8e..c7204a56aa 100644
--- a/client/src/services/apiAgents.js
+++ b/client/src/services/apiAgents.js
@@ -67,6 +67,19 @@ export const getPersistentMind = (filters = {}, options = {}) =>
request(`/cos/mind${runEventQuery(filters)}`, options);
export const getPersistentMindContext = (options = {}) => request('/cos/mind/context', options);
export const getPersistentMindTools = (options = {}) => request('/cos/mind/tools', options);
+export const getCosToolCatalog = ({ scope = 'all', format = 'portos', intent, ...options } = {}) => {
+ const params = new URLSearchParams({ scope, format });
+ if (intent) params.set('intent', intent);
+ return request(`/cos/tools?${params}`, options);
+};
+export const callCosTool = (call, options = {}) => request('/cos/tools/call', {
+ method: 'POST',
+ body: JSON.stringify(call),
+ ...options,
+ headers: { 'Idempotency-Key': call.requestId, ...(options.headers || {}) },
+});
+export const getCosToolCall = (requestId, options = {}) =>
+ request(`/cos/tools/calls/${encodeURIComponent(requestId)}`, options);
export const getPersistentMindRuntime = (options = {}) => request('/cos/mind/runtime', options);
export const getPersistentMindVisibility = (options = {}) => {
const { refresh, ...requestOptions } = options;
diff --git a/client/src/services/apiSystem.js b/client/src/services/apiSystem.js
index 78f012a866..0abd8ad5e5 100644
--- a/client/src/services/apiSystem.js
+++ b/client/src/services/apiSystem.js
@@ -87,6 +87,9 @@ export const getMediaShareCandidates = (options) => request('/settings/media-sha
// API Access — the OpenAPI 3.1 spec for the public API surface (built from the
// exposed entries in apiAccess settings). Rendered by the API Access settings tab.
export const getOpenApiSpec = (options) => request('/api-docs/openapi.json', options);
+export const getInternalOpenApiSpec = (options) => request('/api-docs/internal/openapi.json', options);
+export const getApiCatalog = (options) => request('/api-docs/catalog.json', options);
+export const getSocketEventCatalog = (options) => request('/api-docs/events.json', options);
export const updateAiAssignment = (id, data, options) => request(`/settings/ai-assignments/${encodeURIComponent(id)}`, {
method: 'PUT',
body: JSON.stringify(data),
diff --git a/client/vite.config.js b/client/vite.config.js
index e19f3afd0d..7451676856 100644
--- a/client/vite.config.js
+++ b/client/vite.config.js
@@ -115,7 +115,11 @@ export default defineConfig(({ mode }) => {
open: false,
allowedHosts: ['.ts.net', 'localhost'],
proxy: {
- '/api': {
+ // Anchor the API namespace so client routes such as `/api-reference`
+ // stay on Vite. A plain `/api` context uses `startsWith` and would
+ // steal every client page whose first segment begins with those
+ // characters.
+ '^/api(?:/|$)': {
target: API_TARGET,
changeOrigin: true,
secure: false
diff --git a/docs/API.md b/docs/API.md
index 4b25622599..64837c58f2 100644
--- a/docs/API.md
+++ b/docs/API.md
@@ -10,7 +10,17 @@ http://localhost:5555/api
When a TLS cert is provisioned (`npm run setup:cert`), `:5555` serves HTTPS instead and a loopback-only HTTP mirror runs on `http://127.0.0.1:5553` for local scripts. See [PORTS.md](./PORTS.md).
-This document covers the most commonly used endpoints plus a [complete route-domain index](#route-domain-index). A machine-readable OpenAPI 3.1 spec for the public API surface is served at `GET /api/api-docs/openapi.json` and rendered in the UI at `/api-access`.
+This document covers the most commonly used endpoints plus a [route-domain index](#route-domain-index). The in-app **API Explorer** at `/api-reference/catalog` is the exhaustive, generated reference:
+
+- `GET /api/api-docs/catalog.json` — searchable metadata for every mounted HTTP operation.
+- `GET /api/api-docs/internal/openapi.json` — OpenAPI 3.1 for the complete internal HTTP surface.
+- `GET /api/api-docs/openapi.json` — OpenAPI 3.1 for only the external APIs currently exposed in Settings.
+- `GET /api/api-docs/events.json` — searchable Socket.IO event inventory.
+- `GET /api/api-docs/asyncapi.json` — AsyncAPI 3 for the Socket.IO transport.
+
+Generated entries are explicitly marked `generated` until a runtime-backed payload contract exists; detailed entries are marked `modeled`. Regenerate the checked-in route and event manifests with `npm run generate:api-docs`. Drift tests fail when source declarations and committed manifests diverge.
+
+When adding an HTTP route, keep its request Zod schema in a reusable server library and register the detailed documentation in `server/lib/apiOperationContracts.js`; the route and OpenAPI should consume the same schema object. Socket payload schemas follow the same pattern in `server/lib/socketEventContracts.js`. The generators guarantee inventory coverage, while these small registries make richer contracts incremental without maintaining a second handwritten list of paths or events.
Building a native companion client? See [COMPANION_APP_API.md](./COMPANION_APP_API.md) — the stable, pre-auth-discoverable contract (discovery/identity, HTTP Basic auth, instance management, palette actions, daily-log, POST progress, and the iCloud-sync precedent) that the PortDeck app consumes.
@@ -123,14 +133,14 @@ own wire contract in [FEDERATED_MEDIA_PROVIDERS.md](./FEDERATED_MEDIA_PROVIDERS.
| GET | `/agents/:pid` | Get agent process details |
| DELETE | `/agents/:pid` | Kill agent process |
-### Agent Context (MCP)
+### Agent Tools (MCP)
| Method | Endpoint | Description |
|--------|----------|-------------|
-| GET | `/agent-context/manifest` | Inspect the local context profile, scopes, schemas, exclusions, and limits; available while MCP is disabled |
-| POST | `/agent-context/mcp` | Loopback-only, opt-in MCP Streamable HTTP endpoint for bounded read-only context tools |
+| GET | `/agent-context/manifest` | Inspect the local context profile, scopes, semantic-action grants, schemas, exclusions, and limits; available while MCP is disabled |
+| POST | `/agent-context/mcp` | Loopback-only, opt-in MCP Streamable HTTP endpoint for bounded context plus explicitly granted semantic PortOS tools |
-See [Agent Context (MCP)](./features/agent-context.md) for setup, transport headers, privacy profiles, and tool schemas.
+Context tools remain read-only. Semantic reads and writes are independent, default-off grants; MCP advertises only granted actions and never accepts a raw route, URL, shell command, or SQL query. See [Agent Tools (MCP)](./features/agent-context.md) for setup, transport headers, privacy profiles, grants, and tool schemas.
### Command Execution
@@ -188,6 +198,9 @@ See [Agent Context (MCP)](./features/agent-context.md) for setup, transport head
| POST | `/cos/start` | Start daemon |
| POST | `/cos/stop` | Stop daemon |
| GET | `/cos/config` | Get configuration |
+| GET | `/cos/tools` | Provider-neutral semantic tool catalog; `scope=agent|mind|ui|voice`, with PortOS/OpenAI/Anthropic/MCP output formats |
+| POST | `/cos/tools/call` | Execute one schema-validated semantic tool with server-derived authority and idempotency |
+| GET | `/cos/tools/calls/:requestId` | Read a retained normalized tool result |
| PUT | `/cos/config` | Update configuration |
| GET | `/cos/tasks` | Get all tasks |
| POST | `/cos/evaluate` | Force task evaluation |
@@ -537,7 +550,7 @@ Every mounted API prefix (see `server/index.js` for the authoritative list). Dom
| `/api/system/capabilities` | Local hardware capabilities for model/provider selection |
| `/api/system-resources` | System storage report and AI-assisted cleanup triage |
| `/api/capabilities` | Feature capability flags |
-| `/api/agent-context` | Opt-in, loopback-only read-only MCP context and runtime manifest |
+| `/api/agent-context` | Opt-in, loopback-only MCP context plus separately granted semantic PortOS actions |
| `/api/workspace-contexts` | Workspace context management |
| `/api/apps/:appId/reference-repos` | Per-app reference repos |
| `/api/network-exposure` | Network exposure checks |
@@ -569,7 +582,7 @@ Every mounted API prefix (see `server/index.js` for the authoritative list). Dom
| `/api/lmstudio`, `/api/local-llm` | Local LLM backends and the local runtime servers PortOS can start/stop (Ollama, LM Studio, `llama-server`, MTPLX — the last two as PM2 processes; `POST /api/local-llm/save-startup` is `pm2 save`), plus MTPLX's checkpoint catalog — `GET /api/local-llm/mtplx/models/search`, `POST .../models/pull` (byte progress on the `mtplx:download` socket event), `POST .../models/remove` |
| `/api/code-review` | Code review runs |
| `/api/voice`, `/api/voice/public` | Voice assistant |
-| `/api/api-docs` | OpenAPI 3.1 spec |
+| `/api/api-docs` | Generated HTTP/event catalogs, OpenAPI 3.1 documents, and AsyncAPI 3 document |
| `/api/data` | Data manager/sync |
| `/api/datadog`, `/api/jira`, `/api/github`, `/api/telegram` | External integrations |
| `/api/health` | Health check |
@@ -640,6 +653,8 @@ Every mounted API prefix (see `server/index.js` for the authoritative list). Dom
Connect to Socket.IO at `http://localhost:5555`.
+The complete generated event list is visible in **API Explorer → Event API** and available at `GET /api/api-docs/asyncapi.json` as AsyncAPI 3. The examples below highlight common flows rather than serving as the exhaustive inventory.
+
### Log Streaming
```javascript
diff --git a/docs/features/agent-context.md b/docs/features/agent-context.md
index d239a28c60..fcbc1446c7 100644
--- a/docs/features/agent-context.md
+++ b/docs/features/agent-context.md
@@ -1,10 +1,10 @@
-# Agent Context (MCP)
+# Agent Tools (MCP)
-PortOS can expose a bounded, read-only context surface to agents running on the same machine. The surface uses MCP Streamable HTTP, is disabled by default, and never initiates an LLM request.
+PortOS can expose bounded context and governed semantic tools to CoS agents running on the same machine. The surface uses MCP Streamable HTTP, is disabled by default, and never initiates an LLM request. Context scopes, semantic reads, and semantic writes are independently granted.
## Enable it
-Open **Settings → API Access → Agent Context (MCP)** and enable **local MCP context**. The setting is stored machine-locally in the existing `settings.json` store; no context data is copied into a new store.
+Open **Settings → API Access → Agent Tools (MCP)** and enable **local MCP context**. The setting is stored machine-locally in the existing `settings.json` store; no context data is copied into a new store. Enabling the transport does not grant semantic reads or writes; both action grants default off.
The endpoint is:
@@ -42,9 +42,9 @@ Scopes are independently configurable:
Privacy Vault records, credentials, secrets, authentication material, federation peers, network topology, machine identity, command/browser/message history, health records, and raw personal exports are excluded from every profile.
-## Tools and budgets
+## Context tools and budgets
-All advertised tools carry MCP `readOnlyHint: true`, `destructiveHint: false`, `idempotentHint: true`, and `openWorldHint: false`. Their advertised JSON Schemas are generated from the same Zod schemas that validate runtime calls and outputs.
+All context tools carry MCP `readOnlyHint: true`, `destructiveHint: false`, `idempotentHint: true`, and `openWorldHint: false`. Their advertised JSON Schemas are generated from the same Zod schemas that validate runtime calls and outputs.
| Tool | Purpose |
|---|---|
@@ -56,7 +56,20 @@ All advertised tools carry MCP `readOnlyHint: true`, `destructiveHint: false`, `
Calls are capped at 25 returned items, 1,000 inspected source items per scope, 320 characters per summary, 200 characters per query, 20,000 serialized characters, and approximately 5,000 tokens per structured result. Source failures produce an MCP tool error rather than masquerading as an empty result. A capped scan sets `sourceTruncated: true`; search/list also set `truncated: true`, so partial coverage cannot look complete. Data-bearing results also expose `sourceStatus: "fresh" | "stale"`, so a retained snapshot cannot be mistaken for a live read.
-## Contract evaluation
+## Semantic action grants
+
+The same MCP endpoint can advertise the curated `portos_tool` catalog used by Persistent Mind and the authenticated HTTP tool adapter. It never turns the HTTP route catalog into callable functions.
+
+| Grant | Default | Capability |
+|---|---|---|
+| Semantic PortOS reads | Off | Bounded Brain, goals, journal, calendar, health-summary, feed, catalog, time/weather, process-status, and CoS-status adapters. |
+| Semantic PortOS updates | Off | Typed Brain capture, journal append, goal progress/notes, health logging, and feed-state actions. |
+
+Every semantic tool has a stable namespaced ID, a provider-safe MCP name, a closed input schema, side-effect/idempotency annotations, and a normalized result. MCP `tools/list` includes only actions granted in Settings. Shell/filesystem access, raw HTTP, arbitrary URLs, SQL, browser control, process control, paid generation, external messaging, credentials, and Persistent Mind task creation are not part of the CoS-agent MCP catalog.
+
+For retry-safe semantic writes, send an `Idempotency-Key` header with the MCP POST. PortOS binds it to the normalized tool call; a repeated key with different content fails rather than executing a different action.
+
+## Context contract evaluation
The public manifest and tool-call contract have a fixture-backed black-box suite. It creates a fresh in-memory contract for every case, replaces every navigation/workspace/Brain/identity source with sanitized fake records, and never reads the running instance, a real workspace, the Privacy Vault, or an AI provider.
diff --git a/docs/superpowers/specs/2026-08-27-unified-cos-tool-calling-interface.md b/docs/superpowers/specs/2026-08-27-unified-cos-tool-calling-interface.md
index 03975fc2f8..7ec08f7383 100644
--- a/docs/superpowers/specs/2026-08-27-unified-cos-tool-calling-interface.md
+++ b/docs/superpowers/specs/2026-08-27-unified-cos-tool-calling-interface.md
@@ -1,6 +1,6 @@
# Unified CoS Tool-Calling Interface
-Status: preliminary proposed specification; pending route, quota-telemetry, and provider-fallback audit
+Status: implemented foundation; future expansion sections retained as design backlog
Date: 2026-08-27
Audience: PortOS server, Persistent Mind, voice, palette, and future agent integrations
@@ -9,6 +9,21 @@ Audience: PortOS server, Persistent Mind, voice, palette, and future agent integ
> defining a new interface. **[VERIFY]** marks a decision or integration detail
> that must be confirmed by the implementation audit before it becomes binding.
+## 0. Implemented foundation
+
+The initial production slice is implemented. This section supersedes proposal language elsewhere in the document when the two differ.
+
+- The generated HTTP inventory contains 2,066 mounted operations and feeds `GET /api/api-docs/catalog.json` plus the complete OpenAPI 3.1 document at `/api/api-docs/internal/openapi.json`.
+- A generated inventory of 253 Socket.IO events feeds `/api/api-docs/events.json` and the AsyncAPI 3 document at `/api/api-docs/asyncapi.json`.
+- `/api/cos/tools` exposes 23 Persistent Mind tools and 22 CoS-agent/UI/voice tools through the versioned provider-neutral catalog. OpenAI, Anthropic, and MCP translations derive from the same entries.
+- `/api/cos/tools/call` and `/api/cos/tools/calls/:requestId` implement server-derived UI authority, schema validation, normalized results, and replay conflict detection. Raw routes are not callable.
+- Persistent Mind has separate default-off read, write, and CoS-task grants and a bounded multi-round tool loop. `cos.create-task` reuses the existing scheduler, worktree, review, CI, and landing-policy path.
+- The existing loopback-only Agent Context MCP transport now optionally advertises the same semantic registry under separate default-off CoS-agent read/write grants. Its original bounded context scopes and privacy behavior remain intact.
+- The visible `/api-reference/:tab` Explorer provides HTTP catalog, rendered REST reference, event catalog, and agent-tool authority/format views. Navigation is registered in the shared manifest.
+- Voice/TTS and A1111 request validation now share canonical Zod contracts with OpenAPI. The semantic grant shape is also shared between Persistent Mind and CoS-agent MCP settings.
+
+The later provider-routing, quota fallback, confirmation-token, media-generation, and generic long-running-job sections remain design backlog. They are not required for the safe local semantic-tool foundation and must not be read as claims about current behavior.
+
## 1. Decision summary
PortOS should expose one capability-oriented tool interface to the Chief of Staff (CoS) mind. The interface should be a typed JSON HTTP API backed by a server-side adapter registry. Existing REST routes, Socket.IO events, SSE job streams, and the current voice-tool registry remain implementation details behind adapters.
@@ -169,7 +184,7 @@ The unified CoS interface must therefore:
3. Never become an accidental public API through `apiRegistry.js`.
4. Preserve CSRF and cross-origin behavior when auth is enabled.
5. Redact credentials, personal records, prompts containing PII, and provider responses from logs and errors.
-6. Treat Agent Context separately: it is loopback-only, origin-checked, opt-in, and read-only.
+6. Preserve Agent Tools MCP boundaries: it is loopback-only, origin-checked, and opt-in; its context tools remain read-only while separately granted semantic actions share the canonical registry.
The request body's `context`, including `source`, `mindId`, and `turnId`, is correlation metadata only. It cannot select authority. The server derives the caller and scope from one of these trusted paths: a process-local dispatch context created by the Persistent Mind supervisor; an authenticated, CSRF-checked PortOS UI/voice session; or a short-lived server-issued caller credential bound to a known scope and session. A peer credential derives only the federation scope. A passwordless install must reject direct HTTP mutations and privileged `mind`/`admin` claims unless the request carries such a server-issued credential; it must never treat a client-supplied scope as proof of identity. The catalog's optional scope filter may narrow the derived scope, never widen it.
@@ -206,7 +221,7 @@ The registry is the best starting point for adapter reuse, but it is not yet a c
| `GET /api/agent-context/manifest` | Report enabled state, profile, scopes, budgets, and advertised tools. |
| `POST /api/agent-context/mcp` | MCP `initialize`, `ping`, `tools/list`, and `tools/call`. Notifications/responses receive `202`. |
-Its five tools are `search_context`, `get_context`, `list_context`, `resolve_navigation` (only with the `navigation` scope), and `context_profile`. The surface is loopback-only, rejects non-loopback `Origin`, requires the feature to be enabled and configuration-valid, advertises read-only/idempotent/non-destructive annotations, and bounds input/output schemas. It should be reused as a read-only context provider by the new registry, not merged into the mutation-capable CoS endpoint without retaining those constraints.
+Its five context tools are `search_context`, `get_context`, `list_context`, `resolve_navigation` (only with the `navigation` scope), and `context_profile`. The surface is loopback-only, rejects non-loopback `Origin`, requires the feature to be enabled and configuration-valid, advertises those context tools as read-only/idempotent/non-destructive, and bounds input/output schemas. Separately granted semantic tools are advertised from the canonical registry and retain their own side-effect annotations; the context scopes themselves remain read-only.
### 3.4 Persistent Mind
@@ -398,7 +413,7 @@ The following is the endpoint map used to design adapter domains. Paths are rela
| `/api/autofix` | Auto-fix metrics: `GET /metrics`. |
| `/api/model-personality` | Explicit provider/model personality test, history delete, and scorer settings. Only `POST /run` calls an LLM and requires a named provider/model. |
| `/api/voice` | Authenticated voice config/status/voices, Piper fetch, TTS test/speak, Kokoro status/unload, and Whisper start/stop. `/api/voice/public` is the separate opt-in external TTS surface. |
-| `/api/api-docs` | Authenticated OpenAPI document: `GET /openapi.json`; documents only exposed public APIs. |
+| `/api/api-docs` | Authenticated catalogs and specifications: exposed/public and complete/internal OpenAPI 3.1, generated HTTP metadata, generated Socket.IO metadata, and AsyncAPI 3. |
| `/api/openclaw` | OpenClaw status/session/message reads and message send/stream. External agent messaging; stream/send require explicit policy and confirmation. |
| `/api/midi-runtime` | SSE installer: `GET /install`; multi-GB runtime setup, not a model tool. |
| `/api/devtools/video-download` | Video download/list/delete, progress SSE, cancel. Download starts external network and disk work; confirmation-gated if ever exposed. |
@@ -942,7 +957,7 @@ Trajectory events may record the tool ID, request ID, argument digest, status, a
## Appendix B: intentionally rejected designs
- **Expose every REST endpoint as a function:** rejected because it creates a 2,000-plus-function prompt, leaks route/storage details, and lacks uniform risk/lifecycle semantics.
-- **Use MCP as the only transport:** rejected because browser/voice clients already use REST, the Persistent Mind is local to PortOS, and long-running PortOS jobs need first-class authenticated HTTP/SSE semantics. MCP remains a supported read-only context transport.
+- **Use MCP as the only transport:** rejected because browser/voice clients already use REST, the Persistent Mind is local to PortOS, and long-running PortOS jobs need first-class authenticated HTTP/SSE semantics. MCP remains the local CoS-agent transport for read-only context plus separately granted semantic actions.
- **Use the existing Persistent Mind `tools` route for all CoS tools:** rejected because that route intentionally describes a much smaller authority inventory and its default-off boundary is a security contract.
- **Have the model call raw HTTP itself:** rejected because authorization, idempotency, request serialization, privacy, error mapping, and confirmation must be enforced server-side.
- **Return prose-only tool results:** rejected because the supervisor needs typed terminal state, replay behavior, job references, and safe machine-readable error handling.
diff --git a/package.json b/package.json
index 38244586d0..3c9fb303d3 100644
--- a/package.json
+++ b/package.json
@@ -14,6 +14,7 @@
"dev": "node scripts/checkNodeVersion.js && node scripts/checkNpmVersion.js && node scripts/dev-start.js",
"dev:stop": "node ./node_modules/pm2/bin/pm2 stop ecosystem.config.cjs",
"eval:agent-context": "node scripts/agent-context-eval.js",
+ "generate:api-docs": "node scripts/generate-api-route-catalog.js && node scripts/generate-socket-event-catalog.js",
"build": "npm run build --prefix client",
"start": "node scripts/checkNodeVersion.js && node scripts/checkNpmVersion.js && node scripts/ensure-deps.js && npm run build && node scripts/setup-db.js && node scripts/setup-cert.js && (node ./node_modules/pm2/bin/pm2 delete ecosystem.config.cjs --silent || echo pm2 delete skipped) && node ./node_modules/pm2/bin/pm2 start ecosystem.config.cjs && node ./node_modules/pm2/bin/pm2 save",
"pm2:start": "node ./node_modules/pm2/bin/pm2 start ecosystem.config.cjs",
diff --git a/scripts/dev-proxy-drift.test.js b/scripts/dev-proxy-drift.test.js
index 2344c8c65b..eed668d4bb 100644
--- a/scripts/dev-proxy-drift.test.js
+++ b/scripts/dev-proxy-drift.test.js
@@ -132,7 +132,7 @@ describe('vite dev proxy vs the server and the client router', () => {
// An empty list on either side would make every assertion below vacuously
// true — this is the one that fails if the wiring itself breaks.
expect(ASSET_ROUTE_PREFIXES.length).toBeGreaterThan(5);
- expect(contexts).toContain('/api');
+ expect(contexts).toContain('^/api(?:/|$)');
expect(navPaths.length).toBeGreaterThan(5);
});
diff --git a/scripts/generate-api-route-catalog.js b/scripts/generate-api-route-catalog.js
new file mode 100644
index 0000000000..eeaf948662
--- /dev/null
+++ b/scripts/generate-api-route-catalog.js
@@ -0,0 +1,295 @@
+#!/usr/bin/env node
+/**
+ * Generate the complete HTTP route inventory consumed by the PortOS API
+ * Explorer and internal OpenAPI document.
+ *
+ * Express routers are the runtime source of truth, but Express 5 deliberately
+ * hides a nested router's mount path inside a matcher closure. Introspecting
+ * private router internals would therefore lose paths such as
+ * `/api/brain/songbook/*` and would couple PortOS to an undocumented Express
+ * representation. This scanner follows the checked-in source graph instead:
+ *
+ * server/index.js app.use('/api/...', router)
+ * -> route module imports
+ * -> router.use('/optional-prefix', childRouter)
+ * -> router.get/post/put/patch/delete(...)
+ *
+ * PortOS route paths are string literals by convention, so the generated file
+ * is deterministic, works in packaged installs without a source scan, and is
+ * guarded against drift by `generate-api-route-catalog.test.js`.
+ *
+ * Usage: node scripts/generate-api-route-catalog.js
+ */
+
+import { existsSync, readFileSync, statSync, writeFileSync } from 'node:fs';
+import { dirname, extname, join, relative, resolve, sep } from 'node:path';
+import { fileURLToPath } from 'node:url';
+import { isDirectlyInvoked } from './lib/directInvocation.js';
+
+const HERE = dirname(fileURLToPath(import.meta.url));
+export const REPO_ROOT = resolve(HERE, '..');
+export const MANIFEST_RELATIVE_PATH = 'server/lib/apiRouteCatalog.generated.json';
+export const REGENERATE_COMMAND = 'node scripts/generate-api-route-catalog.js';
+
+const INDEX_RELATIVE_PATH = 'server/index.js';
+const ROUTE_METHODS = Object.freeze(['delete', 'get', 'head', 'options', 'patch', 'post', 'put']);
+const ROUTE_METHOD_SET = new Set([...ROUTE_METHODS, 'all']);
+
+const DEFAULT_IMPORT_RE = /\bimport\s+([A-Za-z_$][\w$]*)\s+from\s*(['"])(\.{1,2}\/[^'"\n]+)\2\s*;?/g;
+const NAMED_IMPORT_RE = /\bimport\s*\{([\s\S]*?)\}\s*from\s*(['"])(\.{1,2}\/[^'"\n]+)\2\s*;?/g;
+const ROUTER_DECL_RE = /\b(?:const|let)\s+([A-Za-z_$][\w$]*)\s*=\s*(?:express\.)?Router\s*\(/g;
+const DEFAULT_EXPORT_RE = /\bexport\s+default\s+([A-Za-z_$][\w$]*)\s*;?/;
+const ROUTE_DECL_RE = /\b([A-Za-z_$][\w$]*)\.(get|post|put|patch|delete|head|options|all)\(\s*(['"])([^'"\n]*)\3/g;
+const ROUTER_USE_RE = /\b([A-Za-z_$][\w$]*)\.use\(\s*(?:(['"])([^'"\n]*)\2\s*,\s*)?([A-Za-z_$][\w$]*(?:\.[A-Za-z_$][\w$]*)*)\s*\)/g;
+const APP_MOUNT_RE = /\bapp\.use\(\s*(['"])(\/(?:api|sdapi)[^'"\n]*)\1\s*,\s*([A-Za-z_$][\w$]*)(?:\s*\([^;]*?\))?\s*\)/g;
+const COMPOSED_ROUTER_RE = /^([A-Za-z_$][\w$]*)\.routes\.([A-Za-z_$][\w$]*)$/;
+const RETURN_COMPOSED_ROUTER_RE = /\breturn\s+([A-Za-z_$][\w$]*\.routes\.[A-Za-z_$][\w$]*)\s*;/;
+
+const toPosix = (path) => path.split(sep).join('/');
+
+const isFile = (path) => {
+ return existsSync(path) && statSync(path).isFile();
+};
+
+const isDirectory = (path) => {
+ return existsSync(path) && statSync(path).isDirectory();
+};
+
+export function resolveLocalModule(fromFile, specifier) {
+ const candidate = resolve(dirname(fromFile), specifier);
+ if (extname(candidate) && isFile(candidate)) return candidate;
+ if (isFile(`${candidate}.js`)) return `${candidate}.js`;
+ if (isDirectory(candidate) && isFile(join(candidate, 'index.js'))) return join(candidate, 'index.js');
+ return null;
+}
+
+const importedName = (fragment) => {
+ const normalized = fragment.trim().replace(/^type\s+/, '');
+ if (!normalized) return null;
+ const match = normalized.match(/^([A-Za-z_$][\w$]*)(?:\s+as\s+([A-Za-z_$][\w$]*))?$/);
+ return match ? { imported: match[1], local: match[2] || match[1] } : null;
+};
+
+export function parseImports(source, filePath) {
+ const imports = new Map();
+ for (const match of source.matchAll(DEFAULT_IMPORT_RE)) {
+ const resolved = resolveLocalModule(filePath, match[3]);
+ if (resolved) imports.set(match[1], { file: resolved, imported: 'default' });
+ }
+ for (const match of source.matchAll(NAMED_IMPORT_RE)) {
+ const resolved = resolveLocalModule(filePath, match[3]);
+ if (!resolved) continue;
+ for (const fragment of match[1].split(',')) {
+ const name = importedName(fragment);
+ if (name) imports.set(name.local, { file: resolved, imported: name.imported });
+ }
+ }
+ return imports;
+}
+
+const sourceLineFor = (source, index) => source.slice(0, index).split('\n').length;
+
+const resolveComposedRouter = (expression, repoRoot) => {
+ const routeName = expression.match(COMPOSED_ROUTER_RE)?.[2];
+ if (!routeName) return null;
+ const file = join(repoRoot, 'server', 'lib', 'aiToolkit', 'routes', `${routeName}.js`);
+ return isFile(file) ? { file, imported: 'factory-router' } : null;
+};
+
+export function parseRouteModule(filePath, repoRoot = REPO_ROOT) {
+ const source = readFileSync(filePath, 'utf8');
+ const routerIds = new Set([...source.matchAll(ROUTER_DECL_RE)].map((match) => match[1]));
+ const imports = parseImports(source, filePath);
+ const defaultExport = source.match(DEFAULT_EXPORT_RE)?.[1] || null;
+ const rootChild = resolveComposedRouter(source.match(RETURN_COMPOSED_ROUTER_RE)?.[1] || '', repoRoot);
+ const routes = [];
+ const mounts = [];
+
+ for (const match of source.matchAll(ROUTE_DECL_RE)) {
+ if (!routerIds.has(match[1]) || !ROUTE_METHOD_SET.has(match[2])) continue;
+ const methods = match[2] === 'all' ? ROUTE_METHODS : [match[2]];
+ for (const method of methods) {
+ routes.push({
+ routerId: match[1],
+ method,
+ path: match[4],
+ source: toPosix(relative(repoRoot, filePath)),
+ line: sourceLineFor(source, match.index),
+ });
+ }
+ }
+
+ for (const match of source.matchAll(ROUTER_USE_RE)) {
+ if (!routerIds.has(match[1])) continue;
+ const childId = match[4];
+ const child = imports.get(childId) || resolveComposedRouter(childId, repoRoot);
+ if (!routerIds.has(childId) && !child) continue;
+ mounts.push({
+ routerId: match[1],
+ prefix: match[3] || '',
+ childId,
+ child,
+ });
+ }
+
+ const rootRouterId = defaultExport && routerIds.has(defaultExport)
+ ? defaultExport
+ : routerIds.has('router') ? 'router' : [...routerIds][0] || null;
+
+ return { filePath, source, routerIds, imports, defaultExport, rootRouterId, rootChild, routes, mounts };
+}
+
+const joinRoutePath = (...parts) => {
+ const joined = parts
+ .filter((part) => typeof part === 'string' && part.length > 0)
+ .map((part) => part.replace(/^\/+|\/+$/g, ''))
+ .filter(Boolean)
+ .join('/');
+ return `/${joined}`.replace(/\/{2,}/g, '/');
+};
+
+const uniqueSortedSources = (sources) => [...new Map(
+ sources
+ .sort((a, b) => a.source.localeCompare(b.source) || a.line - b.line)
+ .map((entry) => [`${entry.source}:${entry.line}`, entry]),
+).values()];
+
+export function parseTopLevelMounts({ source, filePath, repoRoot = REPO_ROOT }) {
+ const imports = parseImports(source, filePath);
+ const mounts = [];
+ for (const match of source.matchAll(APP_MOUNT_RE)) {
+ const imported = imports.get(match[3]);
+ if (!imported) continue;
+ mounts.push({
+ mountPath: match[2],
+ routerName: match[3],
+ filePath: imported.file,
+ imported: imported.imported,
+ source: toPosix(relative(repoRoot, filePath)),
+ line: sourceLineFor(source, match.index),
+ });
+ }
+ return mounts;
+}
+
+export function buildApiRouteCatalog({ repoRoot = REPO_ROOT, indexSource } = {}) {
+ const indexPath = join(repoRoot, INDEX_RELATIVE_PATH);
+ const source = indexSource ?? readFileSync(indexPath, 'utf8');
+ const topLevelMounts = parseTopLevelMounts({ source, filePath: indexPath, repoRoot });
+ const moduleCache = new Map();
+ const operations = new Map();
+ const declarationKeys = new Set();
+
+ const readModule = (filePath) => {
+ if (!moduleCache.has(filePath)) moduleCache.set(filePath, parseRouteModule(filePath, repoRoot));
+ return moduleCache.get(filePath);
+ };
+
+ const record = ({ method, path, mountPath, declaration }) => {
+ const key = `${method.toUpperCase()} ${path}`;
+ declarationKeys.add(`${declaration.source}:${declaration.line}:${method}`);
+ const existing = operations.get(key) || {
+ method: method.toUpperCase(),
+ path,
+ mountPath,
+ sources: [],
+ };
+ existing.sources.push({ source: declaration.source, line: declaration.line });
+ operations.set(key, existing);
+ };
+
+ const walkRouter = ({ filePath, routerId, prefix, mountPath, ancestry }) => {
+ const cycleKey = `${filePath}#${routerId}`;
+ if (ancestry.has(cycleKey)) return;
+ const nextAncestry = new Set(ancestry).add(cycleKey);
+ const parsed = readModule(filePath);
+ if (!routerId) {
+ if (parsed.rootChild) {
+ const childModule = readModule(parsed.rootChild.file);
+ walkRouter({
+ filePath: parsed.rootChild.file,
+ routerId: childModule.rootRouterId,
+ prefix,
+ mountPath,
+ ancestry: nextAncestry,
+ });
+ }
+ return;
+ }
+
+ for (const route of parsed.routes.filter((entry) => entry.routerId === routerId)) {
+ record({
+ method: route.method,
+ path: joinRoutePath(prefix, route.path),
+ mountPath,
+ declaration: route,
+ });
+ }
+
+ for (const mount of parsed.mounts.filter((entry) => entry.routerId === routerId)) {
+ if (mount.child) {
+ const childModule = readModule(mount.child.file);
+ walkRouter({
+ filePath: mount.child.file,
+ routerId: childModule.rootRouterId,
+ prefix: joinRoutePath(prefix, mount.prefix),
+ mountPath,
+ ancestry: nextAncestry,
+ });
+ } else {
+ walkRouter({
+ filePath,
+ routerId: mount.childId,
+ prefix: joinRoutePath(prefix, mount.prefix),
+ mountPath,
+ ancestry: nextAncestry,
+ });
+ }
+ }
+ };
+
+ for (const mount of topLevelMounts) {
+ const parsed = readModule(mount.filePath);
+ walkRouter({
+ filePath: mount.filePath,
+ routerId: parsed.rootRouterId,
+ prefix: mount.mountPath,
+ mountPath: mount.mountPath,
+ ancestry: new Set(),
+ });
+ }
+
+ const routes = [...operations.values()]
+ .map((operation) => ({ ...operation, sources: uniqueSortedSources(operation.sources) }))
+ .sort((a, b) => a.path.localeCompare(b.path) || a.method.localeCompare(b.method));
+
+ return {
+ schemaVersion: 1,
+ mounts: [...new Set(topLevelMounts.map((mount) => mount.mountPath))].sort(),
+ routes,
+ stats: {
+ mounts: new Set(topLevelMounts.map((mount) => mount.mountPath)).size,
+ operations: routes.length,
+ declarations: declarationKeys.size,
+ sourceFiles: moduleCache.size,
+ },
+ };
+}
+
+export const serializeApiRouteCatalog = (catalog) => `${JSON.stringify(catalog, null, 2)}\n`;
+
+export function generateApiRouteCatalog(repoRoot = REPO_ROOT) {
+ return buildApiRouteCatalog({ repoRoot });
+}
+
+export function readApiRouteCatalog(repoRoot = REPO_ROOT) {
+ return JSON.parse(readFileSync(join(repoRoot, MANIFEST_RELATIVE_PATH), 'utf8'));
+}
+
+function main() {
+ const catalog = generateApiRouteCatalog();
+ writeFileSync(join(REPO_ROOT, MANIFEST_RELATIVE_PATH), serializeApiRouteCatalog(catalog), 'utf8');
+ console.log(`📚 Wrote ${MANIFEST_RELATIVE_PATH}: ${catalog.stats.operations} operations from ${catalog.stats.declarations} declarations across ${catalog.stats.mounts} mounts`);
+}
+
+if (isDirectlyInvoked(import.meta.url)) main();
diff --git a/scripts/generate-api-route-catalog.test.js b/scripts/generate-api-route-catalog.test.js
new file mode 100644
index 0000000000..b78c3767a6
--- /dev/null
+++ b/scripts/generate-api-route-catalog.test.js
@@ -0,0 +1,225 @@
+import { describe, it, expect } from 'vitest';
+import { mkdirSync, mkdtempSync, readFileSync, readdirSync, statSync, writeFileSync } from 'node:fs';
+import { join } from 'node:path';
+import { tmpdir } from 'node:os';
+
+import {
+ MANIFEST_RELATIVE_PATH,
+ REGENERATE_COMMAND,
+ REPO_ROOT,
+ buildApiRouteCatalog,
+ generateApiRouteCatalog,
+ parseRouteModule,
+ readApiRouteCatalog,
+ serializeApiRouteCatalog,
+} from './generate-api-route-catalog.js';
+
+const write = (root, path, source) => {
+ const target = join(root, path);
+ mkdirSync(join(target, '..'), { recursive: true });
+ writeFileSync(target, source, 'utf8');
+};
+
+const walk = (dir) => readdirSync(dir).flatMap((name) => {
+ const path = join(dir, name);
+ return statSync(path).isDirectory() ? walk(path) : [path];
+});
+
+describe('API route catalog scanner', () => {
+ it('resolves top-level mounts, imported child routers, local subrouters, and aliases', () => {
+ const root = mkdtempSync(join(tmpdir(), 'portos-api-catalog-'));
+ write(root, 'server/index.js', `
+ import widgetsRoutes from './routes/widgets.js';
+ app.use('/api/widgets', widgetsRoutes);
+ app.use('/api/legacy-widgets', widgetsRoutes);
+ `);
+ write(root, 'server/routes/widgets.js', `
+ import { Router } from 'express';
+ import childRoutes from './widgets-child.js';
+ const router = Router();
+ const setupRouter = Router();
+ router.get('/', handler);
+ setupRouter.post('/run/:runId', handler);
+ router.use('/setup', setupRouter);
+ router.use('/child', childRoutes);
+ export default router;
+ `);
+ write(root, 'server/routes/widgets-child.js', `
+ import { Router } from 'express';
+ const router = Router();
+ router.patch('/:id', handler);
+ export default router;
+ `);
+
+ const catalog = buildApiRouteCatalog({ repoRoot: root });
+ expect(catalog.routes.map(({ method, path }) => `${method} ${path}`)).toEqual([
+ 'GET /api/legacy-widgets',
+ 'PATCH /api/legacy-widgets/child/:id',
+ 'POST /api/legacy-widgets/setup/run/:runId',
+ 'GET /api/widgets',
+ 'PATCH /api/widgets/child/:id',
+ 'POST /api/widgets/setup/run/:runId',
+ ]);
+ expect(catalog.stats).toEqual({ mounts: 2, operations: 6, declarations: 3, sourceFiles: 2 });
+ });
+
+ it('deduplicates the same operation while retaining every declaration source', () => {
+ const root = mkdtempSync(join(tmpdir(), 'portos-api-catalog-'));
+ write(root, 'server/index.js', `
+ import routes from './routes/index.js';
+ app.use('/api/demo', routes);
+ `);
+ write(root, 'server/routes/index.js', `
+ import { Router } from 'express';
+ import first from './first.js';
+ import second from './second.js';
+ const router = Router();
+ router.use(first);
+ router.use(second);
+ export default router;
+ `);
+ for (const name of ['first', 'second']) {
+ write(root, `server/routes/${name}.js`, `
+ import { Router } from 'express';
+ const router = Router();
+ router.get('/status', handler);
+ export default router;
+ `);
+ }
+
+ const catalog = buildApiRouteCatalog({ repoRoot: root });
+ expect(catalog.routes).toHaveLength(1);
+ expect(catalog.routes[0].sources).toHaveLength(2);
+ expect(catalog.stats.declarations).toBe(2);
+ });
+
+ it('follows named factory returns and composed toolkit router properties', () => {
+ const root = mkdtempSync(join(tmpdir(), 'portos-api-catalog-'));
+ write(root, 'server/index.js', `
+ import { createRuns } from './routes/runs.js';
+ import { createProviders } from './routes/providers.js';
+ app.use('/api/runs', createRuns(toolkit));
+ app.use('/api/providers', createProviders(toolkit));
+ `);
+ write(root, 'server/routes/runs.js', `
+ export function createRuns(toolkit) { return toolkit.routes.runs; }
+ `);
+ write(root, 'server/routes/providers.js', `
+ import { Router } from 'express';
+ export function createProviders(toolkit) {
+ const router = Router();
+ router.get('/readiness', handler);
+ router.use('/', toolkit.routes.providers);
+ return router;
+ }
+ `);
+ write(root, 'server/lib/aiToolkit/routes/runs.js', `
+ import { Router } from 'express';
+ export function createRunsRoutes() {
+ const router = Router();
+ router.get('/:id', handler);
+ router.post('/:id/stop', handler);
+ return router;
+ }
+ `);
+ write(root, 'server/lib/aiToolkit/routes/providers.js', `
+ import { Router } from 'express';
+ export function createProvidersRoutes() {
+ const router = Router();
+ router.delete('/:id', handler);
+ router.post('/:id/test', handler);
+ return router;
+ }
+ `);
+
+ const operations = buildApiRouteCatalog({ repoRoot: root }).routes
+ .map(({ method, path }) => `${method} ${path}`);
+ expect(operations).toEqual([
+ 'DELETE /api/providers/:id',
+ 'POST /api/providers/:id/test',
+ 'GET /api/providers/readiness',
+ 'GET /api/runs/:id',
+ 'POST /api/runs/:id/stop',
+ ]);
+ });
+});
+
+describe('generated API route catalog', () => {
+ it('matches a fresh scan of the mounted route graph', () => {
+ const stale = `${MANIFEST_RELATIVE_PATH} is stale — run \`${REGENERATE_COMMAND}\` and commit the result.`;
+ const fresh = generateApiRouteCatalog();
+ expect(fresh, stale).toEqual(readApiRouteCatalog());
+ expect(readFileSync(join(REPO_ROOT, MANIFEST_RELATIVE_PATH), 'utf8'), stale)
+ .toBe(serializeApiRouteCatalog(fresh));
+ });
+
+ it('covers every HTTP declaration mounted below /api or /sdapi', () => {
+ const catalog = readApiRouteCatalog();
+ const covered = new Set(catalog.routes.flatMap((route) => route.sources.map(
+ (source) => `${source.source}:${source.line}:${route.method.toLowerCase()}`,
+ )));
+ const routeFiles = walk(join(REPO_ROOT, 'server', 'routes'))
+ .filter((path) => path.endsWith('.js') && !path.endsWith('.test.js'));
+ const omitted = [];
+ for (const file of routeFiles) {
+ for (const route of parseRouteModule(file).routes) {
+ // The noVNC HTML viewer intentionally lives outside /api. Its actual
+ // control API is mounted at /api/remote-desktop and is cataloged.
+ if (route.source === 'server/routes/remoteDesktopViewer.js') continue;
+ const key = `${route.source}:${route.line}:${route.method}`;
+ if (!covered.has(key)) omitted.push(key);
+ }
+ }
+ expect(omitted).toEqual([]);
+ });
+
+ it('is a unique, stable, complete inventory with source pointers', () => {
+ const catalog = readApiRouteCatalog();
+ expect(catalog.stats.mounts).toBeGreaterThan(140);
+ expect(catalog.stats.operations).toBeGreaterThan(2_000);
+ expect(catalog.routes).toHaveLength(catalog.stats.operations);
+ expect(new Set(catalog.routes.map((route) => `${route.method} ${route.path}`)).size)
+ .toBe(catalog.routes.length);
+ for (const route of catalog.routes) {
+ expect(route.path).toMatch(/^\/(?:api|sdapi)(?:\/|$)/);
+ expect(route.sources.length).toBeGreaterThan(0);
+ for (const source of route.sources) {
+ expect(source.source).toMatch(/^server\/(?:routes|lib\/aiToolkit\/routes)\/[\w./-]+\.js$/);
+ expect(source.line).toBeGreaterThan(0);
+ }
+ }
+ });
+
+ it('pins representative nested, aliased, toolkit, and public routes', () => {
+ const operations = new Set(readApiRouteCatalog().routes.map((route) => `${route.method} ${route.path}`));
+ for (const operation of [
+ 'POST /api/brain/songbook/import/url',
+ 'GET /api/city/introspection',
+ 'GET /api/openworld/introspection',
+ 'GET /api/providers/readiness',
+ 'DELETE /api/providers/:id',
+ 'POST /api/providers/:id/test',
+ 'POST /api/providers/:id/refresh-models',
+ 'GET /api/runs/:id',
+ 'GET /api/runs/:id/output',
+ 'POST /api/runs/:id/stop',
+ 'GET /api/cos/mind/tools',
+ 'POST /sdapi/v1/txt2img',
+ ]) expect(operations.has(operation), operation).toBe(true);
+ });
+
+ it('covers every declaration in the mounted toolkit providers and runs routers', () => {
+ const catalog = readApiRouteCatalog();
+ const covered = new Set(catalog.routes.flatMap((route) => route.sources.map(
+ (source) => `${source.source}:${source.line}:${route.method.toLowerCase()}`,
+ )));
+ for (const relativePath of [
+ 'server/lib/aiToolkit/routes/providers.js',
+ 'server/lib/aiToolkit/routes/runs.js',
+ ]) {
+ for (const route of parseRouteModule(join(REPO_ROOT, relativePath)).routes) {
+ expect(covered.has(`${route.source}:${route.line}:${route.method}`), `${relativePath}:${route.line}:${route.method}`).toBe(true);
+ }
+ }
+ });
+});
diff --git a/scripts/generate-socket-event-catalog.js b/scripts/generate-socket-event-catalog.js
new file mode 100644
index 0000000000..74dd0dd6fe
--- /dev/null
+++ b/scripts/generate-socket-event-catalog.js
@@ -0,0 +1,134 @@
+#!/usr/bin/env node
+/** Generate a deterministic Socket.IO event inventory from server and client call sites. */
+
+import { readFileSync, readdirSync, statSync, writeFileSync } from 'node:fs';
+import { dirname, join, relative, resolve, sep } from 'node:path';
+import { fileURLToPath } from 'node:url';
+import { isDirectlyInvoked } from './lib/directInvocation.js';
+
+const HERE = dirname(fileURLToPath(import.meta.url));
+export const REPO_ROOT = resolve(HERE, '..');
+export const MANIFEST_RELATIVE_PATH = 'server/lib/socketEventCatalog.generated.json';
+export const REGENERATE_COMMAND = 'node scripts/generate-socket-event-catalog.js';
+
+const SERVER_ROOT = 'server';
+const CLIENT_ROOT = 'client/src';
+const EXCLUDED_DIRECTORY_NAMES = new Set(['node_modules', 'coverage', 'dist']);
+const EXCLUDED_SERVER_PREFIXES = Object.freeze(['server/cos-runner/']);
+const SOCKET_CALL_RE = /\bsocket\??\.(on|once|emit)\(\s*(`(?:[^`\\]|\\.)*`|'(?:[^'\\]|\\.)*'|"(?:[^"\\]|\\.)*")/g;
+const SERVER_EMIT_RE = /\b(?:io|ioInstance)\??\.emit\(\s*(`(?:[^`\\]|\\.)*`|'(?:[^'\\]|\\.)*'|"(?:[^"\\]|\\.)*")/g;
+const SERVER_BROADCAST_RE = /\bbroadcastTo(?!Set\b)[A-Za-z]*\(\s*(`(?:[^`\\]|\\.)*`|'(?:[^'\\]|\\.)*'|"(?:[^"\\]|\\.)*")/g;
+const REGISTER_SUBSCRIBER_RE = /\bregisterSubscriber\(\s*socket\s*,\s*(['"])([^'"\n]+)\1/g;
+
+const toPosix = (path) => path.split(sep).join('/');
+const sourceLineFor = (source, index) => source.slice(0, index).split('\n').length;
+
+const walk = (path) => statSync(path).isDirectory()
+ ? readdirSync(path)
+ .filter((name) => !EXCLUDED_DIRECTORY_NAMES.has(name))
+ .flatMap((name) => walk(join(path, name)))
+ : [path];
+
+const sourceFiles = (repoRoot) => [
+ ...walk(join(repoRoot, SERVER_ROOT)),
+ ...walk(join(repoRoot, CLIENT_ROOT)),
+].filter((path) => {
+ const relativePath = toPosix(relative(repoRoot, path));
+ return /\.(?:js|jsx)$/.test(path)
+ && !path.endsWith('.test.js')
+ && !path.endsWith('.test.jsx')
+ && !EXCLUDED_SERVER_PREFIXES.some((prefix) => relativePath.startsWith(prefix));
+});
+
+const parseEventExpression = (expression) => {
+ const quote = expression[0];
+ const body = expression.slice(1, -1);
+ if (quote !== '`') return body;
+ if (/\$\{(?![A-Za-z_$][\w$]*\})/.test(body)) return null;
+ const normalized = body.replace(/\$\{([A-Za-z_$][\w$]*)\}/g, '{$1}');
+ // A leading placeholder is an internal helper pattern (for example
+ // `${namespace}:subscribed`), not a callable address. Concrete call sites
+ // and registerSubscriber expansion contribute the real event names.
+ return normalized.startsWith('{') ? null : normalized;
+};
+
+const directionFor = ({ side, method }) => {
+ if (side === 'server') return method === 'emit' ? 'server-to-client' : 'client-to-server';
+ return method === 'emit' ? 'client-to-server' : 'server-to-client';
+};
+
+export function scanSocketEventFile(filePath, repoRoot = REPO_ROOT) {
+ const source = readFileSync(filePath, 'utf8');
+ const path = toPosix(relative(repoRoot, filePath));
+ const side = path.startsWith('server/') ? 'server' : 'client';
+ const evidence = [];
+ const record = (match, method, expression = match[2]) => {
+ const event = parseEventExpression(expression);
+ if (!event) return;
+ evidence.push({ event, direction: directionFor({ side, method }), source: path, line: sourceLineFor(source, match.index) });
+ };
+
+ for (const match of source.matchAll(SOCKET_CALL_RE)) record(match, match[1]);
+ if (side === 'server') {
+ for (const match of source.matchAll(SERVER_EMIT_RE)) record(match, 'emit', match[1]);
+ for (const match of source.matchAll(SERVER_BROADCAST_RE)) record(match, 'emit', match[1]);
+ for (const match of source.matchAll(REGISTER_SUBSCRIBER_RE)) {
+ for (const suffix of ['subscribe', 'unsubscribe']) {
+ evidence.push({ event: `${match[2]}:${suffix}`, direction: 'client-to-server', source: path, line: sourceLineFor(source, match.index) });
+ }
+ for (const suffix of ['subscribed', 'unsubscribed']) {
+ evidence.push({ event: `${match[2]}:${suffix}`, direction: 'server-to-client', source: path, line: sourceLineFor(source, match.index) });
+ }
+ }
+ }
+ return evidence;
+}
+
+export function buildSocketEventCatalog({ repoRoot = REPO_ROOT } = {}) {
+ const byEvent = new Map();
+ for (const filePath of sourceFiles(repoRoot)) {
+ for (const evidence of scanSocketEventFile(filePath, repoRoot)) {
+ const entry = byEvent.get(evidence.event) || { event: evidence.event, directions: new Set(), sources: new Map() };
+ entry.directions.add(evidence.direction);
+ entry.sources.set(`${evidence.direction}:${evidence.source}:${evidence.line}`, {
+ direction: evidence.direction,
+ source: evidence.source,
+ line: evidence.line,
+ });
+ byEvent.set(evidence.event, entry);
+ }
+ }
+
+ const events = [...byEvent.values()].map((entry) => ({
+ event: entry.event,
+ directions: [...entry.directions].sort(),
+ sources: [...entry.sources.values()].sort((a, b) =>
+ a.source.localeCompare(b.source) || a.line - b.line || a.direction.localeCompare(b.direction)),
+ })).sort((a, b) => a.event.localeCompare(b.event));
+ const sourceCount = new Set(events.flatMap((event) => event.sources.map((source) => source.source))).size;
+ return {
+ schemaVersion: 1,
+ generatedFrom: ['server/**/*.js', '!server/cos-runner/**', 'client/src/**/*.{js,jsx}'],
+ events,
+ stats: {
+ events: events.length,
+ clientToServer: events.filter((event) => event.directions.includes('client-to-server')).length,
+ serverToClient: events.filter((event) => event.directions.includes('server-to-client')).length,
+ bidirectional: events.filter((event) => event.directions.length > 1).length,
+ sourceFiles: sourceCount,
+ },
+ };
+}
+
+export const serializeSocketEventCatalog = (catalog) => `${JSON.stringify(catalog, null, 2)}\n`;
+export const readSocketEventCatalog = (repoRoot = REPO_ROOT) => JSON.parse(
+ readFileSync(join(repoRoot, MANIFEST_RELATIVE_PATH), 'utf8'),
+);
+
+function main() {
+ const catalog = buildSocketEventCatalog();
+ writeFileSync(join(REPO_ROOT, MANIFEST_RELATIVE_PATH), serializeSocketEventCatalog(catalog), 'utf8');
+ console.log(`🔌 Wrote ${MANIFEST_RELATIVE_PATH}: ${catalog.stats.events} Socket.IO events across ${catalog.stats.sourceFiles} source files`);
+}
+
+if (isDirectlyInvoked(import.meta.url)) main();
diff --git a/scripts/generate-socket-event-catalog.test.js b/scripts/generate-socket-event-catalog.test.js
new file mode 100644
index 0000000000..4ff45fd8cc
--- /dev/null
+++ b/scripts/generate-socket-event-catalog.test.js
@@ -0,0 +1,82 @@
+import { describe, expect, it } from 'vitest';
+import { mkdirSync, mkdtempSync, readFileSync, writeFileSync } from 'node:fs';
+import { join } from 'node:path';
+import { tmpdir } from 'node:os';
+import {
+ MANIFEST_RELATIVE_PATH,
+ REGENERATE_COMMAND,
+ REPO_ROOT,
+ buildSocketEventCatalog,
+ readSocketEventCatalog,
+ scanSocketEventFile,
+ serializeSocketEventCatalog,
+} from './generate-socket-event-catalog.js';
+
+const write = (root, path, source) => {
+ const target = join(root, path);
+ mkdirSync(join(target, '..'), { recursive: true });
+ writeFileSync(target, source, 'utf8');
+};
+
+describe('Socket.IO event catalog scanner', () => {
+ it('merges client/server evidence and normalizes bounded template events', () => {
+ const root = mkdtempSync(join(tmpdir(), 'portos-socket-catalog-'));
+ write(root, 'server/services/socket.js', `
+ socket.on('demo:start', handler);
+ io.emit('demo:done', data);
+ io?.emit('demo:optional', data);
+ socket.emit(\`demo:step:\${kind}\`, data);
+ `);
+ write(root, 'server/sockets/empty.js', 'export default {};');
+ write(root, 'client/src/demo.jsx', `
+ socket.emit('demo:start', {});
+ socket.on('demo:done', handler);
+ `);
+ const catalog = buildSocketEventCatalog({ repoRoot: root });
+ expect(catalog.events.find((event) => event.event === 'demo:start').directions).toEqual(['client-to-server']);
+ expect(catalog.events.find((event) => event.event === 'demo:done').sources).toHaveLength(2);
+ expect(catalog.events.map((event) => event.event)).toContain('demo:optional');
+ expect(catalog.events.map((event) => event.event)).toContain('demo:step:{kind}');
+ });
+
+ it('does not classify client lifecycle listeners as outbound calls', () => {
+ const root = mkdtempSync(join(tmpdir(), 'portos-socket-file-'));
+ write(root, 'client/src/socket.js', `socket.on('connect', handler); socket.emit('shell:start', {});`);
+ expect(scanSocketEventFile(join(root, 'client/src/socket.js'), root)).toEqual([
+ expect.objectContaining({ event: 'connect', direction: 'server-to-client' }),
+ expect.objectContaining({ event: 'shell:start', direction: 'client-to-server' }),
+ ]);
+ });
+});
+
+describe('generated Socket.IO event catalog', () => {
+ it('matches a fresh source scan', () => {
+ const stale = `${MANIFEST_RELATIVE_PATH} is stale — run \`${REGENERATE_COMMAND}\` and commit the result.`;
+ const fresh = buildSocketEventCatalog();
+ expect(fresh, stale).toEqual(readSocketEventCatalog());
+ expect(readFileSync(join(REPO_ROOT, MANIFEST_RELATIVE_PATH), 'utf8'), stale)
+ .toBe(serializeSocketEventCatalog(fresh));
+ });
+
+ it('is a unique all-source inventory with representative lifecycle events', () => {
+ const catalog = readSocketEventCatalog();
+ expect(catalog.stats.events).toBeGreaterThan(100);
+ expect(new Set(catalog.events.map((event) => event.event)).size).toBe(catalog.events.length);
+ const names = new Set(catalog.events.map((event) => event.event));
+ for (const event of [
+ 'cos:mind:event',
+ 'cos:subscribe',
+ 'voice:text',
+ 'shell:start',
+ 'image-gen:completed',
+ 'error:occurred',
+ 'backup:failed',
+ 'calendar:sync:started',
+ 'digital-twin:test-progress',
+ 'sharing:inbox-updated',
+ ]) {
+ expect(names.has(event), event).toBe(true);
+ }
+ expect(catalog.events.flatMap((event) => event.sources).some((source) => source.source.startsWith('server/cos-runner/'))).toBe(false);
+ });
+});
diff --git a/scripts/trusted-rebuilds.test.js b/scripts/trusted-rebuilds.test.js
index 67833cbacc..659cfb379e 100644
--- a/scripts/trusted-rebuilds.test.js
+++ b/scripts/trusted-rebuilds.test.js
@@ -147,9 +147,14 @@ describe('trusted rebuild allowlist', () => {
// rebuild — recorded here so the lockfile-derived check stays honest rather than
// being loosened.
const FSEVENTS_STALE_FLAG = ['fsevents'];
+ // Scalar's Vue 3 renderer brings in vue-demi. Its postinstall only rewrites
+ // the shipped compatibility files when the host uses Vue 2; PortOS uses Vue
+ // 3 and the package already ships in Vue 3 mode. Keep the hook blocked rather
+ // than expanding the lifecycle-script allowlist for a no-op.
+ const VUE_DEMI_VUE3_NOOP = ['vue-demi'];
const DELIBERATELY_UNBUILT = {
root: FSEVENTS_STALE_FLAG,
- client: FSEVENTS_STALE_FLAG,
+ client: [...FSEVENTS_STALE_FLAG, ...VUE_DEMI_VUE3_NOOP],
server: FSEVENTS_STALE_FLAG
};
diff --git a/server/lib/README.md b/server/lib/README.md
index e8ac57cbac..932238c165 100644
--- a/server/lib/README.md
+++ b/server/lib/README.md
@@ -24,6 +24,8 @@ The barrel `server/lib/index.js` is a machine-checkable enumeration of every pub
| Module | Purpose |
|---|---|
| `appDeployFlags.js` | Shared allowlist of flags PortOS may forward to a managed app's `deploy.sh`, consumed by socket validation and deployment orchestration without reversing the lib/services dependency. |
+| `apiContractSchemas.js` | Canonical Zod request contracts for externally callable APIs plus `zodToOpenApiSchema`; runtime routes and OpenAPI use the same schema objects. |
+| `socketEventContracts.js` | Runtime-backed payload contracts for modeled inbound Socket.IO events, reusing the same Zod schemas as live validation. |
| `agentContextValidation.js` | Shared settings, MCP request/tool input/output schemas, result + approximate-token bounds, source-freshness status, and `advertiseAgentContextTools(scopes)` for the opt-in read-only agent-context surface. |
| `validation.js` | Catch-all Zod schemas (app/process/provider, social accounts, GitHub, backup/sharing, document/legacy-export) + the `validateRequest` middleware + shared helpers (`optionalBooleanMap`, `isSafeRecordId`, `parseIndexParam`, `parsePagination`). Re-exports the per-domain validation files below so existing deep imports keep working. |
| `taskDataInputCatalog.js` | Pure catalog and persisted ids for deterministic context sources that scheduled agent tasks can preload before dispatch. |
@@ -42,6 +44,7 @@ The barrel `server/lib/index.js` is a machine-checkable enumeration of every pub
| `agentSentinel.js` | The `.agent-done` completion sentinel: `DONE_SENTINEL_NAME`, `doneSentinelName(agentId)` → the per-instance filename `.agent-done-<agentId>` (worktree-less agents share one workspace, so a shared name lets concurrent runs clobber — and finalize on — each other's signal), `doneSentinelPath(workspacePath, agentId)` → the single path every producer and consumer resolves, + pure `parseSentinelPayload(contents)` → `{ summary, payload }`. Back-compat — a plain-markdown sentinel yields `payload: null`; a JSON object yields its structured `payload` for a programmatic-I/O task type's `processTaskOutput` hook. `salvageSentinelPayload(contents)` (async) is the lenient second tier — runs `jsonExtract` over a fenced/prose-trailed/control-char-corrupted envelope so a less-capable model's near-valid output still surfaces its `payload` instead of being dropped. `extractSentinelPayloadFromTranscript(transcript, isPayload)` (async) is the third tier for programmatic-I/O types ONLY — scans the ANSI-stripped PTY transcript, newest balanced JSON block first, for a payload the model PRINTED instead of writing, and adopts it only if the owning hook's shape predicate accepts it (#3640). `PROGRAMMATIC_OUTPUT_COMPLETION_HEADING` names the briefing section that prints this run's absolute sentinel path — a task-type hook renders its prompt before spawn, so it points the agent at that section by name rather than at a filename it cannot know. |
| `persistentMind.js` | Pure persistent-CoS-mind runtime state: default-off durable shape, normalization, FIFO-message/self-wake selection, interrupted-wake requeue, bounded exponential backoff, watchdog staleness, and next-wake projection. |
| `persistentMindCapabilities.js` | Default-off persistent-mind action grants plus the bounded typed CoS-task request contract (app/provider/model/effort and PR completion policy). |
+| `cosToolContracts.js` | Provider-neutral `portos_tool` catalog/call schema version, request-id and per-turn bounds, catalog query formats, and Persistent Mind tool-call shape. |
| `persistentMindTrajectory.js` | Pure persistent-mind trajectory vocabulary, sequence cursor parsing, replay projection, provenance-tagged rollup validation, and hard-budget context assembly with explicit empty/missing/failed/stale summary states. |
| `persistentMindProfile.js` | Versioned, default-off persistent-mind provider profile (`enabled`, provider/model/effort, text interface), its strict API schema, and safe partial-update merge that clears model/effort on a provider switch. |
| `persistentMindPrompt.js` | Editable persistent-mind identity and operating-instructions schema/defaults; saving it never starts inference. |
@@ -403,6 +406,10 @@ The barrel `server/lib/index.js` is a machine-checkable enumeration of every pub
| Module | Purpose |
|---|---|
+| `apiAccessPolicy.js` | Shared always-public path and gated non-`/api` prefix policy consumed by both `authGate` and API discovery. |
+| `apiCatalog.js` | Searchable projection of the generated Express route manifest: domain, access, side-effect, contract coverage, summaries, and Express-to-OpenAPI path conversion. |
+| `socketEventCatalog.js` | Searchable projection of the generated Socket.IO call-site manifest: direction, domain, source evidence, and runtime-schema coverage. |
+| `apiOperationContracts.js` | Detailed operation metadata for intentionally public APIs. It consumes the canonical route Zod contracts and feeds both public and internal OpenAPI documents. |
| `apiRegistry.js` | Single source of truth for which PortOS services are externally-callable HTTP APIs (`voice`, `sdapi`). `API_REGISTRY` declares each API's `publicPrefixes` (read/compute-safe surface only) + defaults; `isRegistryPublic(settings, path)` tells `authGate` when an `exposed && !requireAuth` API re-opens its prefix; `resolveApiAccess(settings)` merges persisted `apiAccess` flags for the Settings UI + OpenAPI docs. |
| `arrayUtils.js` | `shuffle(arr)` — Fisher-Yates shuffle (new array, never mutates). The canonical uniform shuffle — never `arr.sort(() => Math.random() - 0.5)`, which is biased. Shared by `meatspacePostCognitive.js` (Schulte table / mental rotation) and `meatspacePostMemory.js` (memory drill generators). |
| `assetRoutePrefixes.js` | Import-free leaf holding the URL prefixes the server owns: `ASSET_ROUTE_PREFIXES` (every `/data/**` static mount) and `SERVER_OWNED_PREFIXES` (what must never reach the SPA fallback, each with the exact `spaPaths` that ARE client routes). `scripts/dev-proxy-drift.test.js` checks the dev proxy's `^/data/` wildcard against the mounts, pins the route-registration order in `server/index.js` (a router added below the terminators is shadowed), and fails if a client route — from `NAV_COMMANDS` or `App.jsx`'s nested `<Route>` tree — is ever added under a server-owned prefix without being declared. |
@@ -419,7 +426,8 @@ The barrel `server/lib/index.js` is a machine-checkable enumeration of every pub
| `mapWithConcurrency.js` | Generic bounded-concurrency async mapper that preserves input order while capping in-flight work. |
| `markedSection.js` | Marker-delimited section replacement (pure). `buildMarkers(id)` → `{ start, end }` HTML-comment marker pair; `replaceMarkedSection(content, body, markers)` splices/replaces/removes an auto-generated region without touching surrounding user content (idempotent); `extractMarkedSection` / `hasMarkedSection` read it back. Powers the daily-log activity-digest auto-drafts (#2155) via `brainJournal.upsertAutoSection()`. |
| `objects.js` | Object utilities — `deepMerge` (recursive merge w/ array replacement), `isPlainObject` (non-null, non-array `object` guard for JSON / LLM payloads), `POLLUTING_KEYS` (shared `__proto__`/`constructor`/`prototype` denylist for sanitizers), `canonicalStringify` (recursive sorted-key JSON serialization for cross-machine content hashing), `isEmptyScalar` (true for null/undefined/whitespace-string/empty-array — merge gap-fill gate). |
-| `openapiSpec.js` | `buildOpenApiSpec(settings, { baseUrl, version })` — builds an OpenAPI 3.1 document for the currently-exposed public APIs from `apiRegistry`, reusing route Zod schemas via `z.toJSONSchema`. Exposed+`requireAuth` operations get a `security` requirement; passwordless ones don't. Served by `routes/apiDocs.js`. |
+| `openapiSpec.js` | Builds two OpenAPI 3.1 documents: the Settings-controlled exposed public surface and the complete internal HTTP inventory. Detailed operations reuse canonical Zod contracts; generated operations are visibly labeled rather than claiming unmodeled schemas. |
+| `asyncApiSpec.js` | Builds the AsyncAPI 3 Socket.IO document from the generated event catalog with direction-aware operations and explicit modeled/generated payload status. |
| `prDisposition.js` | `resolvePrCompletion(metadata)` resolves the explicit `review-then-merge` / `merge-on-green` / `leave-open` policy, with legacy `reviewLoop` fallback; `leavesPrForHuman(task)` + `PR_STAYS_OPEN_TASK_TYPES` keep JIRA hand-offs open. Shared by the agent prompt builder and `agentWorktreeCleanup` so both halves agree. `resolvePrCreation({taskOpenPR, agentOwnsPr, prClaimVerified})` → a `PR_CREATION` tri-state (`never` / `if-missing` / `always`) naming who opens the change request for a completing worktree agent, so the runner, TUI, and direct-CLI completion paths cannot drift into double-firing `gh pr create`. |
| `repoStateExpectations.js` | Post-completion repo-state audit, pure half. `resolveRepoStateExpectation({...})` answers whether one finished worktree agent should be audited — naming every not-audited path via `REPO_STATE_SKIPS` (a failed run is preserved for its retry; a review-loop follow-up or pr-watcher pending merge still owns the branch) — and returns just `staysOpen` + `prExpected`, from which `classifyRepoStateIssues(expectation, observed)` derives every check into `REPO_STATE_ISSUES` codes. Observations are tri-state: `null` ("could not ask") never produces an issue. `repoStateVerificationEnabled(app)` reads the per-app `verifyRepoStateOnCompletion` switch (unset = on). Probing + remediation live in `services/agentRepoStateVerification.js`. |
| `shellCd.js` | `buildCdCommand(path, shell)` + `formatShellCommandLine(command, args, shell)` + `detectShellFlavor(shell, platform?)` + `quoteForShell(value, flavor, position?)` — build `cd` and arbitrary command-token lines for the shell a PTY session is ACTUALLY running (`cmd.exe` → Windows-escaped double quotes, PowerShell → doubled single quotes with `&` for a quoted command token, everything else → POSIX `shellQuote`). The Shell page's "cd to app" picker used to hard-code the POSIX form, which on Windows both mis-quoted the path and silently refused to cross drives (a bare `cd` does not switch drive). Flavor comes from the shell binary name, not the platform, so git-bash on Windows still gets POSIX quoting. `formatShellCommandLine` joins a command + argv into one quoted line and is shared by `agentTuiSpawning.js#buildTuiSpawnConfig` and the AI Providers page's "Launch in Shell" deep link, so a hand-launched TUI provider is quoted exactly the way the CoS runner would quote it. Renders the LINE only; the Enter byte that submits it is `SUBMIT_KEY` in `tuiHandshake.js`. |
diff --git a/server/lib/agentContextValidation.js b/server/lib/agentContextValidation.js
index fa77e9c18a..534c17103a 100644
--- a/server/lib/agentContextValidation.js
+++ b/server/lib/agentContextValidation.js
@@ -1,6 +1,10 @@
import { z } from 'zod';
+import {
+ createDefaultPortosSemanticToolGrants,
+ portosSemanticToolGrantsSchema,
+} from './cosToolContracts.js';
-export const AGENT_CONTEXT_SCHEMA_VERSION = 2;
+export const AGENT_CONTEXT_SCHEMA_VERSION = 3;
export const AGENT_CONTEXT_PROTOCOL_VERSION = '2025-11-25';
export const AGENT_CONTEXT_SUPPORTED_PROTOCOL_VERSIONS = Object.freeze([
'2025-03-26',
@@ -11,6 +15,7 @@ export const AGENT_CONTEXT_SUPPORTED_PROTOCOL_VERSIONS = Object.freeze([
export const AGENT_CONTEXT_SCOPES = Object.freeze(['navigation', 'workspaces', 'brain', 'identity']);
export const AGENT_CONTEXT_PROFILES = Object.freeze(['metadata', 'summary']);
export const AGENT_CONTEXT_DEFAULT_SCOPES = Object.freeze(['navigation', 'workspaces']);
+export const AGENT_CONTEXT_DEFAULT_ACTIONS = Object.freeze(createDefaultPortosSemanticToolGrants());
export const AGENT_CONTEXT_LIMITS = Object.freeze({
defaultResults: 10,
maxResults: 25,
@@ -32,6 +37,7 @@ export const agentContextSettingsSchema = z.object({
.max(AGENT_CONTEXT_SCOPES.length)
.refine(uniqueScopes, 'Scopes must be unique')
.optional(),
+ actions: portosSemanticToolGrantsSchema.optional(),
}).strict();
const requestedScopesSchema = z.array(z.enum(AGENT_CONTEXT_SCOPES))
@@ -102,6 +108,7 @@ export const agentContextNavigationOutputSchema = z.object({
export const agentContextProfileOutputSchema = z.object({
profile: z.enum(AGENT_CONTEXT_PROFILES),
scopes: z.array(z.enum(AGENT_CONTEXT_SCOPES)),
+ actions: portosSemanticToolGrantsSchema,
limits: z.object({
defaultResults: z.number().int().positive(),
maxResults: z.number().int().positive(),
diff --git a/server/lib/agentContextValidation.test.js b/server/lib/agentContextValidation.test.js
index 02318a3ab2..4bd205866f 100644
--- a/server/lib/agentContextValidation.test.js
+++ b/server/lib/agentContextValidation.test.js
@@ -15,11 +15,21 @@ const advertisedSchema = (schema) => {
describe('agentContextValidation', () => {
it('accepts only bounded, unique known settings scopes', () => {
- expect(agentContextSettingsSchema.parse({ enabled: true, profile: 'metadata', scopes: ['navigation', 'brain'] }))
- .toEqual({ enabled: true, profile: 'metadata', scopes: ['navigation', 'brain'] });
+ expect(agentContextSettingsSchema.parse({
+ enabled: true,
+ profile: 'metadata',
+ scopes: ['navigation', 'brain'],
+ actions: { readPortos: true, writePortos: false },
+ })).toEqual({
+ enabled: true,
+ profile: 'metadata',
+ scopes: ['navigation', 'brain'],
+ actions: { readPortos: true, writePortos: false },
+ });
expect(agentContextSettingsSchema.safeParse({ scopes: ['brain', 'brain'] }).success).toBe(false);
expect(agentContextSettingsSchema.safeParse({ scopes: ['privacy-vault'] }).success).toBe(false);
expect(agentContextSettingsSchema.safeParse({ enabled: true, unknown: true }).success).toBe(false);
+ expect(agentContextSettingsSchema.safeParse({ actions: { shell: true } }).success).toBe(false);
});
it('advertises the same schemas used for runtime validation', () => {
diff --git a/server/lib/apiAccessPolicy.js b/server/lib/apiAccessPolicy.js
new file mode 100644
index 0000000000..755c9239f8
--- /dev/null
+++ b/server/lib/apiAccessPolicy.js
@@ -0,0 +1,15 @@
+/** Shared authentication-boundary metadata for HTTP API discovery and auth. */
+
+export const ALWAYS_PUBLIC_API_PATHS = Object.freeze([
+ '/api/auth/status',
+ '/api/auth/whoami',
+ '/api/auth/login',
+ '/api/auth/logout',
+ '/api/system/health',
+]);
+
+export const GATED_NON_API_PREFIXES = Object.freeze(['/sdapi/']);
+
+const alwaysPublicPathSet = new Set(ALWAYS_PUBLIC_API_PATHS);
+
+export const isAlwaysPublicApiPath = (path) => alwaysPublicPathSet.has(path);
diff --git a/server/lib/apiCatalog.js b/server/lib/apiCatalog.js
new file mode 100644
index 0000000000..62b56990dd
--- /dev/null
+++ b/server/lib/apiCatalog.js
@@ -0,0 +1,106 @@
+/**
+ * Searchable metadata projection of the generated HTTP route inventory.
+ *
+ * The generated manifest answers what is mounted. This module adds stable,
+ * explicitly-inferred documentation metadata without importing Express route
+ * modules or their service graphs.
+ */
+
+import { readFileSync } from 'node:fs';
+import { ALWAYS_PUBLIC_API_PATHS } from './apiAccessPolicy.js';
+import { modeledApiOperationKeys } from './apiOperationContracts.js';
+import { API_REGISTRY, resolveApiAccess } from './apiRegistry.js';
+
+const routeManifest = JSON.parse(readFileSync(
+ new URL('./apiRouteCatalog.generated.json', import.meta.url),
+ 'utf8',
+));
+
+const READ_METHODS = new Set(['GET', 'HEAD', 'OPTIONS']);
+const PROCESS_ACTION_RE = /\/(start|stop|restart|launch|open|install|uninstall|execute|run|cancel|interrupt|resume|pause|reload|sync|update)(?:\/|$)/i;
+const DESTRUCTIVE_ACTION_RE = /\/(delete|remove|clear|reset|revoke|terminate|logout|archive)(?:\/|$)/i;
+const alwaysPublicPaths = new Set(ALWAYS_PUBLIC_API_PATHS);
+const modeledOperationKeys = modeledApiOperationKeys();
+
+const titleCase = (value) => value
+ .replace(/[-_]+/g, ' ')
+ .replace(/\b\w/g, (char) => char.toUpperCase());
+
+export const expressPathToOpenApiPath = (path) => path
+ .replace(/:([A-Za-z0-9_]+)\??/g, '{$1}')
+ .replace(/\*([A-Za-z0-9_]+)/g, '{$1}');
+
+export const apiDomainForPath = (path) => {
+ const parts = path.split('/').filter(Boolean);
+ if (parts[0] === 'api') return parts[1] || 'api';
+ return parts[0] || 'root';
+};
+
+export const apiSideEffectFor = (method, path) => {
+ if (READ_METHODS.has(method)) return 'read';
+ if (method === 'DELETE' || DESTRUCTIVE_ACTION_RE.test(path)) return 'destructive';
+ if (PROCESS_ACTION_RE.test(path)) return 'process-control';
+ return 'write';
+};
+
+export const apiAccessForPath = (path) => {
+ if (alwaysPublicPaths.has(path)) return 'always-public';
+ if (path.startsWith('/api/agent-context/')) return 'loopback';
+ if (API_REGISTRY.some((entry) => entry.publicPrefixes.some((prefix) => path.startsWith(prefix)))) {
+ return 'externally-exposable';
+ }
+ return 'authenticated-ui';
+};
+
+export const apiSummaryFor = (method, path) => {
+ const segments = path.split('/').filter(Boolean).slice(path.startsWith('/api/') ? 2 : 1);
+ const resource = segments
+ .filter((segment) => !segment.startsWith(':') && !segment.startsWith('*'))
+ .slice(-2)
+ .join(' ');
+ const verbs = { GET: 'Read', POST: 'Create or run', PUT: 'Replace', PATCH: 'Update', DELETE: 'Delete' };
+ return `${verbs[method] || titleCase(method.toLowerCase())} ${titleCase(resource || apiDomainForPath(path))}`;
+};
+
+export const pathParametersFor = (path) => {
+ const matches = [...path.matchAll(/(?:^|\/)(?::([A-Za-z0-9_]+)\??|\*([A-Za-z0-9_]+))/g)];
+ return matches.map((match) => ({
+ name: match[1] || match[2],
+ in: 'path',
+ required: true,
+ schema: { type: 'string' },
+ }));
+};
+
+export const getApiRouteCatalog = () => routeManifest;
+
+export const buildApiCatalog = (settings = {}) => {
+ const operations = routeManifest.routes.map((route) => {
+ const domain = apiDomainForPath(route.path);
+ const key = `${route.method} ${route.path}`;
+ return {
+ ...route,
+ openApiPath: expressPathToOpenApiPath(route.path),
+ domain,
+ domainLabel: titleCase(domain),
+ summary: apiSummaryFor(route.method, route.path),
+ access: apiAccessForPath(route.path),
+ sideEffect: apiSideEffectFor(route.method, route.path),
+ contractStatus: modeledOperationKeys.has(key) ? 'modeled' : 'generated',
+ };
+ });
+
+ const domains = [...new Set(operations.map((operation) => operation.domain))]
+ .map((id) => ({ id, label: titleCase(id), operations: operations.filter((operation) => operation.domain === id).length }));
+ const modeled = operations.filter((operation) => operation.contractStatus === 'modeled').length;
+
+ return {
+ schemaVersion: 1,
+ generatedFrom: 'server/index.js and mounted Express routers',
+ regenerateCommand: 'node scripts/generate-api-route-catalog.js',
+ stats: { ...routeManifest.stats, domains: domains.length, modeled, generated: operations.length - modeled },
+ domains,
+ externallyExposableApis: resolveApiAccess(settings),
+ operations,
+ };
+};
diff --git a/server/lib/apiCatalog.test.js b/server/lib/apiCatalog.test.js
new file mode 100644
index 0000000000..778542df88
--- /dev/null
+++ b/server/lib/apiCatalog.test.js
@@ -0,0 +1,51 @@
+import { describe, expect, it } from 'vitest';
+import {
+ apiAccessForPath,
+ apiSideEffectFor,
+ buildApiCatalog,
+ expressPathToOpenApiPath,
+ pathParametersFor,
+} from './apiCatalog.js';
+
+describe('apiCatalog', () => {
+ it('projects every generated route with searchable metadata', () => {
+ const catalog = buildApiCatalog({});
+ expect(catalog.stats.operations).toBe(catalog.operations.length);
+ expect(catalog.stats.domains).toBe(catalog.domains.length);
+ expect(catalog.stats.modeled + catalog.stats.generated).toBe(catalog.stats.operations);
+ expect(catalog.operations.length).toBeGreaterThan(2000);
+ expect(catalog.operations.find((operation) => operation.path === '/api/cos/mind/tools')).toMatchObject({
+ method: 'GET', domain: 'cos', sideEffect: 'read', access: 'authenticated-ui',
+ });
+ });
+
+ it('converts Express parameters and wildcards to OpenAPI path templates', () => {
+ expect(expressPathToOpenApiPath('/api/apps/:id/documents/:filename')).toBe('/api/apps/{id}/documents/{filename}');
+ expect(expressPathToOpenApiPath('/api/music/models/:engine/*id')).toBe('/api/music/models/{engine}/{id}');
+ expect(pathParametersFor('/api/music/models/:engine/*id').map((parameter) => parameter.name)).toEqual(['engine', 'id']);
+ });
+
+ it('classifies access from the shared auth policy and public registry', () => {
+ expect(apiAccessForPath('/api/system/health')).toBe('always-public');
+ expect(apiAccessForPath('/api/agent-context/mcp')).toBe('loopback');
+ expect(apiAccessForPath('/api/voice/public/synthesize')).toBe('externally-exposable');
+ expect(apiAccessForPath('/api/settings')).toBe('authenticated-ui');
+ });
+
+ it('makes inferred side effects explicit', () => {
+ expect(apiSideEffectFor('GET', '/api/apps')).toBe('read');
+ expect(apiSideEffectFor('PATCH', '/api/apps/:id')).toBe('write');
+ expect(apiSideEffectFor('POST', '/api/apps/:id/restart')).toBe('process-control');
+ expect(apiSideEffectFor('DELETE', '/api/apps/:id')).toBe('destructive');
+ });
+
+ it('returns registry metadata and resolved exposure without a client mirror', () => {
+ const catalog = buildApiCatalog({ apiAccess: { voice: { exposed: true, requireAuth: true } } });
+ expect(catalog.externallyExposableApis.find((entry) => entry.id === 'voice')).toMatchObject({
+ publicBase: '/api/voice/public',
+ exposed: true,
+ requireAuth: true,
+ example: { method: 'POST', path: '/api/voice/public/synthesize' },
+ });
+ });
+});
diff --git a/server/lib/apiContractSchemas.js b/server/lib/apiContractSchemas.js
new file mode 100644
index 0000000000..9684e9740b
--- /dev/null
+++ b/server/lib/apiContractSchemas.js
@@ -0,0 +1,35 @@
+/**
+ * Shared request contracts for externally callable PortOS APIs.
+ *
+ * Routes validate these schemas and OpenAPI converts the same schema objects
+ * to JSON Schema, so runtime validation and published contracts cannot drift.
+ */
+
+import { z } from 'zod';
+
+export const VOICE_TEXT_MAX_CHARS = 4000;
+
+export const voiceSynthesizeBodySchema = z.object({
+ text: z.string().trim().min(1).max(VOICE_TEXT_MAX_CHARS),
+ engine: z.enum(['kokoro', 'piper']).optional(),
+ voice: z.string().max(128).optional(),
+ rate: z.number().min(0.25).max(4).optional()
+ .describe('Speech rate. Validated 0.25-4 (Piper). Kokoro clamps to 0.5-2.0.'),
+}).strict();
+
+export const sdapiTxt2imgBodySchema = z.object({
+ prompt: z.string().min(1).max(8000),
+ negative_prompt: z.string().max(8000).optional().nullable(),
+ width: z.number().int().min(64).max(2048).optional(),
+ height: z.number().int().min(64).max(2048).optional(),
+ steps: z.number().int().min(1).max(150).optional(),
+ cfg_scale: z.number().min(0).max(30).optional(),
+ seed: z.number().int().optional(),
+ sd_model_checkpoint: z.string().max(128).optional(),
+}).passthrough();
+
+export const zodToOpenApiSchema = (schema) => {
+ const jsonSchema = z.toJSONSchema(schema);
+ delete jsonSchema.$schema;
+ return jsonSchema;
+};
diff --git a/server/lib/apiOperationContracts.js b/server/lib/apiOperationContracts.js
new file mode 100644
index 0000000000..6dbad36f2b
--- /dev/null
+++ b/server/lib/apiOperationContracts.js
@@ -0,0 +1,138 @@
+/** Detailed OpenAPI contracts layered over the exhaustive generated inventory. */
+
+import {
+ sdapiTxt2imgBodySchema,
+ voiceSynthesizeBodySchema,
+ zodToOpenApiSchema,
+} from './apiContractSchemas.js';
+import { cosToolCallSchema } from './cosToolContracts.js';
+import { agentContextMcpInboundSchema } from './agentContextValidation.js';
+
+const jsonBody = (schema, required = true) => ({
+ required,
+ content: { 'application/json': { schema: zodToOpenApiSchema(schema) } },
+});
+
+export const API_OPERATION_CONTRACTS = Object.freeze({
+ '/api/api-docs/openapi.json': {
+ get: { summary: 'Read exposed OpenAPI document', responses: { 200: { description: 'OpenAPI 3.1 document for currently exposed external APIs' } } },
+ },
+ '/api/api-docs/internal/openapi.json': {
+ get: { summary: 'Read complete internal OpenAPI document', responses: { 200: { description: 'OpenAPI 3.1 document for every mounted HTTP operation' } } },
+ },
+ '/api/api-docs/catalog.json': {
+ get: { summary: 'Read HTTP API catalog', responses: { 200: { description: 'Searchable generated HTTP operation metadata and coverage' } } },
+ },
+ '/api/api-docs/events.json': {
+ get: { summary: 'Read Socket.IO event catalog', responses: { 200: { description: 'Searchable generated Socket.IO event metadata and coverage' } } },
+ },
+ '/api/api-docs/asyncapi.json': {
+ get: { summary: 'Read AsyncAPI document', responses: { 200: { description: 'AsyncAPI 3 document for the Socket.IO transport' } } },
+ },
+ '/api/agent-context/manifest': {
+ get: { summary: 'Read local Agent Tools MCP manifest', responses: { 200: { description: 'MCP transport, context scopes, semantic grants, schemas, and limits' } } },
+ },
+ '/api/agent-context/mcp': {
+ post: {
+ summary: 'Call local Agent Tools MCP',
+ description: 'Loopback-only, opt-in stateless MCP Streamable HTTP transport.',
+ requestBody: jsonBody(agentContextMcpInboundSchema),
+ responses: { 200: { description: 'JSON-RPC result' }, 202: { description: 'Notification accepted' }, 403: { description: 'Transport disabled or caller not local' } },
+ },
+ },
+ '/api/voice/public/synthesize': {
+ post: {
+ summary: 'Synthesize speech',
+ description: 'Convert text to spoken audio (WAV) using the selected engine and voice.',
+ requestBody: jsonBody(voiceSynthesizeBodySchema),
+ responses: {
+ 200: { description: 'WAV audio', content: { 'audio/wav': { schema: { type: 'string', format: 'binary' } } } },
+ 400: { description: 'Invalid payload or unknown voice' },
+ },
+ },
+ },
+ '/api/voice/public/voices': {
+ get: {
+ summary: 'List voices',
+ description: 'Enumerate available voices for an engine. Defaults to the active engine.',
+ parameters: [{ name: 'engine', in: 'query', required: false, schema: { type: 'string', enum: ['kokoro', 'piper'] } }],
+ responses: { 200: { description: 'Voice list' } },
+ },
+ },
+ '/api/voice/public/engines': {
+ get: {
+ summary: 'List engines',
+ description: 'Discover available TTS engines and the configured default voice per engine.',
+ responses: { 200: { description: 'Engine list and defaults' } },
+ },
+ },
+ '/sdapi/v1/txt2img': {
+ post: {
+ summary: 'Generate an image',
+ description: 'AUTOMATIC1111-compatible text-to-image generation through the active PortOS image provider.',
+ requestBody: jsonBody(sdapiTxt2imgBodySchema),
+ responses: {
+ 200: { description: 'Generated images in AUTOMATIC1111 response format' },
+ 400: { description: 'Invalid generation payload' },
+ 403: { description: 'A1111 API exposure is disabled' },
+ },
+ },
+ },
+ '/sdapi/v1/sd-models': {
+ get: { summary: 'List image models', responses: { 200: { description: 'Model catalog' } } },
+ },
+ '/sdapi/v1/samplers': {
+ get: { summary: 'List samplers', responses: { 200: { description: 'Sampler list' } } },
+ },
+ '/sdapi/v1/options': {
+ get: { summary: 'Read active image options', responses: { 200: { description: 'Active model and options' } } },
+ post: {
+ summary: 'Acknowledge image options',
+ description: 'Compatibility endpoint. PortOS does not switch its underlying model from this request.',
+ responses: { 200: { description: 'Acknowledgement' } },
+ },
+ },
+ '/sdapi/v1/progress': {
+ get: { summary: 'Read generation progress', responses: { 200: { description: 'Current generation progress or idle state' } } },
+ },
+ '/sdapi/v1/portos/video-models': {
+ get: { summary: 'List PortOS video models', responses: { 200: { description: 'Video model catalog and default' } } },
+ },
+ '/api/cos/tools': {
+ get: {
+ summary: 'List semantic CoS tools',
+ description: 'Return the provider-neutral tool catalog, optionally filtered and translated to OpenAI, Anthropic, or MCP syntax.',
+ parameters: [
+ { name: 'scope', in: 'query', schema: { type: 'string', enum: ['all', 'agent', 'mind', 'ui', 'voice'] } },
+ { name: 'intent', in: 'query', schema: { type: 'string', maxLength: 500 } },
+ { name: 'format', in: 'query', schema: { type: 'string', enum: ['portos', 'openai', 'anthropic', 'mcp'] } },
+ ],
+ responses: { 200: { description: 'Versioned semantic tool catalog' }, 304: { description: 'Catalog ETag is unchanged' } },
+ },
+ },
+ '/api/cos/tools/call': {
+ post: {
+ summary: 'Call a semantic CoS tool',
+ description: 'Execute one allowlisted tool. Mutations require a trusted authenticated UI session or process-local Persistent Mind authority.',
+ requestBody: jsonBody(cosToolCallSchema),
+ responses: {
+ 200: { description: 'Normalized tool result' },
+ 400: { description: 'Invalid call or arguments' },
+ 403: { description: 'Scope, capability, or authentication denied' },
+ 409: { description: 'Idempotency conflict' },
+ },
+ },
+ },
+ '/api/cos/tools/calls/:requestId': {
+ get: {
+ summary: 'Read a semantic tool result',
+ description: 'Read the normalized result retained for a prior process-local request id.',
+ responses: { 200: { description: 'Normalized tool result' }, 404: { description: 'Unknown or expired request id' } },
+ },
+ },
+});
+
+export const modeledApiOperationKeys = () => new Set(
+ Object.entries(API_OPERATION_CONTRACTS).flatMap(([path, pathItem]) =>
+ Object.keys(pathItem).map((method) => `${method.toUpperCase()} ${path}`)),
+);
diff --git a/server/lib/apiRegistry.js b/server/lib/apiRegistry.js
index 4ce0bd31a5..f44f23e7a2 100644
--- a/server/lib/apiRegistry.js
+++ b/server/lib/apiRegistry.js
@@ -33,6 +33,13 @@ export const API_REGISTRY = [
label: 'Voice / TTS',
description: 'Text-to-speech synthesis and voice enumeration (Kokoro, Piper).',
publicPrefixes: ['/api/voice/public/'],
+ publicBase: '/api/voice/public',
+ example: {
+ method: 'POST',
+ path: '/api/voice/public/synthesize',
+ body: { text: 'Hello from PortOS', engine: 'kokoro' },
+ output: 'speech.wav',
+ },
settingsKey: 'voice',
defaults: { exposed: false, requireAuth: false },
docPaths: [
@@ -44,8 +51,14 @@ export const API_REGISTRY = [
{
id: 'sdapi',
label: 'Image Gen (A1111-compatible)',
- description: 'AUTOMATIC1111-compatible txt2img + model/sampler catalog.',
+ description: 'AUTOMATIC1111-compatible txt2img + model/sampler catalog. Also requires the Image Gen exposure toggle.',
publicPrefixes: ['/sdapi/'],
+ publicBase: '/sdapi/v1',
+ example: {
+ method: 'POST',
+ path: '/sdapi/v1/txt2img',
+ body: { prompt: 'a neon city', steps: 20 },
+ },
settingsKey: 'sdapi',
defaults: { exposed: false, requireAuth: false },
docPaths: [
@@ -54,6 +67,7 @@ export const API_REGISTRY = [
'/sdapi/v1/samplers',
'/sdapi/v1/options',
'/sdapi/v1/progress',
+ '/sdapi/v1/portos/video-models',
],
},
];
diff --git a/server/lib/apiRouteCatalog.generated.json b/server/lib/apiRouteCatalog.generated.json
new file mode 100644
index 0000000000..29ed8601f7
--- /dev/null
+++ b/server/lib/apiRouteCatalog.generated.json
@@ -0,0 +1,22912 @@
+{
+ "schemaVersion": 1,
+ "mounts": [
+ "/api/agent-context",
+ "/api/agents",
+ "/api/agents/accounts",
+ "/api/agents/activity",
+ "/api/agents/personalities",
+ "/api/agents/schedules",
+ "/api/agents/tools",
+ "/api/agents/tools/moltworld",
+ "/api/agents/tools/moltworld/ws",
+ "/api/albums",
+ "/api/alerts",
+ "/api/api-docs",
+ "/api/apps",
+ "/api/apps/:appId/reference-repos",
+ "/api/artists",
+ "/api/ask",
+ "/api/attachments",
+ "/api/auth",
+ "/api/authors",
+ "/api/autofix",
+ "/api/avatar",
+ "/api/backup",
+ "/api/brain",
+ "/api/brain/import",
+ "/api/browser",
+ "/api/calendar",
+ "/api/capabilities",
+ "/api/catalog",
+ "/api/character",
+ "/api/city",
+ "/api/client-errors",
+ "/api/code-review",
+ "/api/commands",
+ "/api/conflict-journal",
+ "/api/contacts",
+ "/api/cos",
+ "/api/cos/gsd",
+ "/api/creative-commission",
+ "/api/creative-director",
+ "/api/daily-driver",
+ "/api/dashboard/daily-actions",
+ "/api/dashboard/layouts",
+ "/api/data",
+ "/api/database",
+ "/api/datadog",
+ "/api/detect",
+ "/api/devtools/video-download",
+ "/api/digital-twin",
+ "/api/digital-twin/autobiography",
+ "/api/digital-twin/identity",
+ "/api/digital-twin/social-accounts",
+ "/api/fableloom",
+ "/api/feature-agents",
+ "/api/federation/media/v1",
+ "/api/feeds",
+ "/api/games",
+ "/api/git",
+ "/api/github",
+ "/api/health",
+ "/api/history",
+ "/api/image-clean",
+ "/api/image-gen",
+ "/api/image-to-3d",
+ "/api/image-video/models",
+ "/api/imessage",
+ "/api/importer",
+ "/api/insights",
+ "/api/instances",
+ "/api/jira",
+ "/api/legacy-export",
+ "/api/lmstudio",
+ "/api/local-llm",
+ "/api/logs",
+ "/api/loops",
+ "/api/lora-datasets",
+ "/api/lora-training",
+ "/api/loras",
+ "/api/meatspace",
+ "/api/meatspace/genome",
+ "/api/media",
+ "/api/media-jobs",
+ "/api/media/annotations",
+ "/api/media/collections",
+ "/api/media/sketches",
+ "/api/memory",
+ "/api/messages",
+ "/api/midi-runtime",
+ "/api/model-personality",
+ "/api/mood-boards",
+ "/api/mortalloom",
+ "/api/music",
+ "/api/music-video",
+ "/api/network-exposure",
+ "/api/notes",
+ "/api/notifications",
+ "/api/openclaw",
+ "/api/openworld",
+ "/api/palette",
+ "/api/peer-sync",
+ "/api/pipeline",
+ "/api/ports",
+ "/api/privacy",
+ "/api/prompts",
+ "/api/providers",
+ "/api/quota-burn",
+ "/api/rapid-reader",
+ "/api/remote-desktop",
+ "/api/review",
+ "/api/rounds",
+ "/api/runs",
+ "/api/scaffold",
+ "/api/screenshots",
+ "/api/search",
+ "/api/settings",
+ "/api/sharing",
+ "/api/shell",
+ "/api/signal",
+ "/api/spotify",
+ "/api/sprites",
+ "/api/stacker-news",
+ "/api/standardize",
+ "/api/story-builder",
+ "/api/sync",
+ "/api/system",
+ "/api/system-resources",
+ "/api/system/capabilities",
+ "/api/telegram",
+ "/api/threejs-models",
+ "/api/timeline",
+ "/api/tools",
+ "/api/tracks",
+ "/api/tribe",
+ "/api/universe-builder",
+ "/api/update",
+ "/api/uploads",
+ "/api/usage",
+ "/api/video-gen",
+ "/api/video-timeline",
+ "/api/voice",
+ "/api/voice/public",
+ "/api/workspace-contexts",
+ "/api/writers-room",
+ "/api/x",
+ "/api/youtube",
+ "/sdapi/v1"
+ ],
+ "routes": [
+ {
+ "method": "GET",
+ "path": "/api/agent-context/manifest",
+ "mountPath": "/api/agent-context",
+ "sources": [
+ {
+ "source": "server/routes/agentContextMcp.js",
+ "line": 83
+ }
+ ]
+ },
+ {
+ "method": "DELETE",
+ "path": "/api/agent-context/mcp",
+ "mountPath": "/api/agent-context",
+ "sources": [
+ {
+ "source": "server/routes/agentContextMcp.js",
+ "line": 93
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/agent-context/mcp",
+ "mountPath": "/api/agent-context",
+ "sources": [
+ {
+ "source": "server/routes/agentContextMcp.js",
+ "line": 89
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/agent-context/mcp",
+ "mountPath": "/api/agent-context",
+ "sources": [
+ {
+ "source": "server/routes/agentContextMcp.js",
+ "line": 97
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/agents",
+ "mountPath": "/api/agents",
+ "sources": [
+ {
+ "source": "server/routes/agents.js",
+ "line": 8
+ }
+ ]
+ },
+ {
+ "method": "DELETE",
+ "path": "/api/agents/:pid",
+ "mountPath": "/api/agents",
+ "sources": [
+ {
+ "source": "server/routes/agents.js",
+ "line": 25
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/agents/:pid",
+ "mountPath": "/api/agents",
+ "sources": [
+ {
+ "source": "server/routes/agents.js",
+ "line": 14
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/agents/accounts",
+ "mountPath": "/api/agents/accounts",
+ "sources": [
+ {
+ "source": "server/routes/platformAccounts.js",
+ "line": 19
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/agents/accounts",
+ "mountPath": "/api/agents/accounts",
+ "sources": [
+ {
+ "source": "server/routes/platformAccounts.js",
+ "line": 50
+ }
+ ]
+ },
+ {
+ "method": "DELETE",
+ "path": "/api/agents/accounts/:id",
+ "mountPath": "/api/agents/accounts",
+ "sources": [
+ {
+ "source": "server/routes/platformAccounts.js",
+ "line": 155
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/agents/accounts/:id",
+ "mountPath": "/api/agents/accounts",
+ "sources": [
+ {
+ "source": "server/routes/platformAccounts.js",
+ "line": 38
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/agents/accounts/:id/claim",
+ "mountPath": "/api/agents/accounts",
+ "sources": [
+ {
+ "source": "server/routes/platformAccounts.js",
+ "line": 229
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/agents/accounts/:id/test",
+ "mountPath": "/api/agents/accounts",
+ "sources": [
+ {
+ "source": "server/routes/platformAccounts.js",
+ "line": 168
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/agents/activity",
+ "mountPath": "/api/agents/activity",
+ "sources": [
+ {
+ "source": "server/routes/agentActivity.js",
+ "line": 18
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/agents/activity/agent/:agentId",
+ "mountPath": "/api/agents/activity",
+ "sources": [
+ {
+ "source": "server/routes/agentActivity.js",
+ "line": 44
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/agents/activity/agent/:agentId/stats",
+ "mountPath": "/api/agents/activity",
+ "sources": [
+ {
+ "source": "server/routes/agentActivity.js",
+ "line": 59
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/agents/activity/cleanup",
+ "mountPath": "/api/agents/activity",
+ "sources": [
+ {
+ "source": "server/routes/agentActivity.js",
+ "line": 68
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/agents/activity/run-events",
+ "mountPath": "/api/agents/activity",
+ "sources": [
+ {
+ "source": "server/routes/agentActivity.js",
+ "line": 88
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/agents/activity/run-events/projections",
+ "mountPath": "/api/agents/activity",
+ "sources": [
+ {
+ "source": "server/routes/agentActivity.js",
+ "line": 99
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/agents/activity/run-events/reconcile",
+ "mountPath": "/api/agents/activity",
+ "sources": [
+ {
+ "source": "server/routes/agentActivity.js",
+ "line": 108
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/agents/activity/run-events/reconcile",
+ "mountPath": "/api/agents/activity",
+ "sources": [
+ {
+ "source": "server/routes/agentActivity.js",
+ "line": 114
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/agents/activity/run-events/run/:id",
+ "mountPath": "/api/agents/activity",
+ "sources": [
+ {
+ "source": "server/routes/agentActivity.js",
+ "line": 120
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/agents/activity/run-events/stats",
+ "mountPath": "/api/agents/activity",
+ "sources": [
+ {
+ "source": "server/routes/agentActivity.js",
+ "line": 94
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/agents/activity/timeline",
+ "mountPath": "/api/agents/activity",
+ "sources": [
+ {
+ "source": "server/routes/agentActivity.js",
+ "line": 31
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/agents/personalities",
+ "mountPath": "/api/agents/personalities",
+ "sources": [
+ {
+ "source": "server/routes/agentPersonalities.js",
+ "line": 17
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/agents/personalities",
+ "mountPath": "/api/agents/personalities",
+ "sources": [
+ {
+ "source": "server/routes/agentPersonalities.js",
+ "line": 40
+ }
+ ]
+ },
+ {
+ "method": "DELETE",
+ "path": "/api/agents/personalities/:id",
+ "mountPath": "/api/agents/personalities",
+ "sources": [
+ {
+ "source": "server/routes/agentPersonalities.js",
+ "line": 62
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/agents/personalities/:id",
+ "mountPath": "/api/agents/personalities",
+ "sources": [
+ {
+ "source": "server/routes/agentPersonalities.js",
+ "line": 28
+ }
+ ]
+ },
+ {
+ "method": "PUT",
+ "path": "/api/agents/personalities/:id",
+ "mountPath": "/api/agents/personalities",
+ "sources": [
+ {
+ "source": "server/routes/agentPersonalities.js",
+ "line": 49
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/agents/personalities/:id/toggle",
+ "mountPath": "/api/agents/personalities",
+ "sources": [
+ {
+ "source": "server/routes/agentPersonalities.js",
+ "line": 84
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/agents/personalities/generate",
+ "mountPath": "/api/agents/personalities",
+ "sources": [
+ {
+ "source": "server/routes/agentPersonalities.js",
+ "line": 75
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/agents/schedules",
+ "mountPath": "/api/agents/schedules",
+ "sources": [
+ {
+ "source": "server/routes/automationSchedules.js",
+ "line": 23
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/agents/schedules",
+ "mountPath": "/api/agents/schedules",
+ "sources": [
+ {
+ "source": "server/routes/automationSchedules.js",
+ "line": 60
+ }
+ ]
+ },
+ {
+ "method": "DELETE",
+ "path": "/api/agents/schedules/:id",
+ "mountPath": "/api/agents/schedules",
+ "sources": [
+ {
+ "source": "server/routes/automationSchedules.js",
+ "line": 112
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/agents/schedules/:id",
+ "mountPath": "/api/agents/schedules",
+ "sources": [
+ {
+ "source": "server/routes/automationSchedules.js",
+ "line": 47
+ }
+ ]
+ },
+ {
+ "method": "PUT",
+ "path": "/api/agents/schedules/:id",
+ "mountPath": "/api/agents/schedules",
+ "sources": [
+ {
+ "source": "server/routes/automationSchedules.js",
+ "line": 93
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/agents/schedules/:id/run",
+ "mountPath": "/api/agents/schedules",
+ "sources": [
+ {
+ "source": "server/routes/automationSchedules.js",
+ "line": 141
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/agents/schedules/:id/toggle",
+ "mountPath": "/api/agents/schedules",
+ "sources": [
+ {
+ "source": "server/routes/automationSchedules.js",
+ "line": 126
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/agents/schedules/stats",
+ "mountPath": "/api/agents/schedules",
+ "sources": [
+ {
+ "source": "server/routes/automationSchedules.js",
+ "line": 40
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/agents/tools/check-posts",
+ "mountPath": "/api/agents/tools",
+ "sources": [
+ {
+ "source": "server/routes/agentTools.js",
+ "line": 397
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/agents/tools/drafts",
+ "mountPath": "/api/agents/tools",
+ "sources": [
+ {
+ "source": "server/routes/agentTools.js",
+ "line": 526
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/agents/tools/drafts",
+ "mountPath": "/api/agents/tools",
+ "sources": [
+ {
+ "source": "server/routes/agentTools.js",
+ "line": 538
+ }
+ ]
+ },
+ {
+ "method": "DELETE",
+ "path": "/api/agents/tools/drafts/:draftId",
+ "mountPath": "/api/agents/tools",
+ "sources": [
+ {
+ "source": "server/routes/agentTools.js",
+ "line": 565
+ }
+ ]
+ },
+ {
+ "method": "PUT",
+ "path": "/api/agents/tools/drafts/:draftId",
+ "mountPath": "/api/agents/tools",
+ "sources": [
+ {
+ "source": "server/routes/agentTools.js",
+ "line": 547
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/agents/tools/engage",
+ "mountPath": "/api/agents/tools",
+ "sources": [
+ {
+ "source": "server/routes/agentTools.js",
+ "line": 154
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/agents/tools/feed",
+ "mountPath": "/api/agents/tools",
+ "sources": [
+ {
+ "source": "server/routes/agentTools.js",
+ "line": 231
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/agents/tools/generate-comment",
+ "mountPath": "/api/agents/tools",
+ "sources": [
+ {
+ "source": "server/routes/agentTools.js",
+ "line": 70
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/agents/tools/generate-post",
+ "mountPath": "/api/agents/tools",
+ "sources": [
+ {
+ "source": "server/routes/agentTools.js",
+ "line": 59
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/agents/tools/moltworld/balance",
+ "mountPath": "/api/agents/tools/moltworld",
+ "sources": [
+ {
+ "source": "server/routes/moltworldTools.js",
+ "line": 213
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/agents/tools/moltworld/build",
+ "mountPath": "/api/agents/tools/moltworld",
+ "sources": [
+ {
+ "source": "server/routes/moltworldTools.js",
+ "line": 77
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/agents/tools/moltworld/explore",
+ "mountPath": "/api/agents/tools/moltworld",
+ "sources": [
+ {
+ "source": "server/routes/moltworldTools.js",
+ "line": 108
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/agents/tools/moltworld/join",
+ "mountPath": "/api/agents/tools/moltworld",
+ "sources": [
+ {
+ "source": "server/routes/moltworldTools.js",
+ "line": 46
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/agents/tools/moltworld/queue",
+ "mountPath": "/api/agents/tools/moltworld",
+ "sources": [
+ {
+ "source": "server/routes/moltworldTools.js",
+ "line": 249
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/agents/tools/moltworld/queue/:agentId",
+ "mountPath": "/api/agents/tools/moltworld",
+ "sources": [
+ {
+ "source": "server/routes/moltworldTools.js",
+ "line": 241
+ }
+ ]
+ },
+ {
+ "method": "DELETE",
+ "path": "/api/agents/tools/moltworld/queue/:id",
+ "mountPath": "/api/agents/tools/moltworld",
+ "sources": [
+ {
+ "source": "server/routes/moltworldTools.js",
+ "line": 257
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/agents/tools/moltworld/queue/:id/complete",
+ "mountPath": "/api/agents/tools/moltworld",
+ "sources": [
+ {
+ "source": "server/routes/moltworldTools.js",
+ "line": 268
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/agents/tools/moltworld/queue/:id/fail",
+ "mountPath": "/api/agents/tools/moltworld",
+ "sources": [
+ {
+ "source": "server/routes/moltworldTools.js",
+ "line": 278
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/agents/tools/moltworld/rate-limits",
+ "mountPath": "/api/agents/tools/moltworld",
+ "sources": [
+ {
+ "source": "server/routes/moltworldTools.js",
+ "line": 227
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/agents/tools/moltworld/say",
+ "mountPath": "/api/agents/tools/moltworld",
+ "sources": [
+ {
+ "source": "server/routes/moltworldTools.js",
+ "line": 167
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/agents/tools/moltworld/status",
+ "mountPath": "/api/agents/tools/moltworld",
+ "sources": [
+ {
+ "source": "server/routes/moltworldTools.js",
+ "line": 195
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/agents/tools/moltworld/think",
+ "mountPath": "/api/agents/tools/moltworld",
+ "sources": [
+ {
+ "source": "server/routes/moltworldTools.js",
+ "line": 143
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/agents/tools/moltworld/ws/connect",
+ "mountPath": "/api/agents/tools/moltworld/ws",
+ "sources": [
+ {
+ "source": "server/routes/moltworldWs.js",
+ "line": 23
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/agents/tools/moltworld/ws/disconnect",
+ "mountPath": "/api/agents/tools/moltworld/ws",
+ "sources": [
+ {
+ "source": "server/routes/moltworldWs.js",
+ "line": 32
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/agents/tools/moltworld/ws/interact",
+ "mountPath": "/api/agents/tools/moltworld/ws",
+ "sources": [
+ {
+ "source": "server/routes/moltworldWs.js",
+ "line": 71
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/agents/tools/moltworld/ws/move",
+ "mountPath": "/api/agents/tools/moltworld/ws",
+ "sources": [
+ {
+ "source": "server/routes/moltworldWs.js",
+ "line": 44
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/agents/tools/moltworld/ws/nearby",
+ "mountPath": "/api/agents/tools/moltworld/ws",
+ "sources": [
+ {
+ "source": "server/routes/moltworldWs.js",
+ "line": 62
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/agents/tools/moltworld/ws/status",
+ "mountPath": "/api/agents/tools/moltworld/ws",
+ "sources": [
+ {
+ "source": "server/routes/moltworldWs.js",
+ "line": 39
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/agents/tools/moltworld/ws/think",
+ "mountPath": "/api/agents/tools/moltworld/ws",
+ "sources": [
+ {
+ "source": "server/routes/moltworldWs.js",
+ "line": 53
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/agents/tools/post/:postId",
+ "mountPath": "/api/agents/tools",
+ "sources": [
+ {
+ "source": "server/routes/agentTools.js",
+ "line": 286
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/agents/tools/publish-comment",
+ "mountPath": "/api/agents/tools",
+ "sources": [
+ {
+ "source": "server/routes/agentTools.js",
+ "line": 122
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/agents/tools/publish-post",
+ "mountPath": "/api/agents/tools",
+ "sources": [
+ {
+ "source": "server/routes/agentTools.js",
+ "line": 95
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/agents/tools/published",
+ "mountPath": "/api/agents/tools",
+ "sources": [
+ {
+ "source": "server/routes/agentTools.js",
+ "line": 334
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/agents/tools/rate-limits",
+ "mountPath": "/api/agents/tools",
+ "sources": [
+ {
+ "source": "server/routes/agentTools.js",
+ "line": 314
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/agents/tools/relevant-posts",
+ "mountPath": "/api/agents/tools",
+ "sources": [
+ {
+ "source": "server/routes/agentTools.js",
+ "line": 251
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/agents/tools/submolts",
+ "mountPath": "/api/agents/tools",
+ "sources": [
+ {
+ "source": "server/routes/agentTools.js",
+ "line": 266
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/albums",
+ "mountPath": "/api/albums",
+ "sources": [
+ {
+ "source": "server/routes/albums.js",
+ "line": 111
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/albums",
+ "mountPath": "/api/albums",
+ "sources": [
+ {
+ "source": "server/routes/albums.js",
+ "line": 117
+ }
+ ]
+ },
+ {
+ "method": "DELETE",
+ "path": "/api/albums/:id",
+ "mountPath": "/api/albums",
+ "sources": [
+ {
+ "source": "server/routes/albums.js",
+ "line": 138
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/albums/:id",
+ "mountPath": "/api/albums",
+ "sources": [
+ {
+ "source": "server/routes/albums.js",
+ "line": 124
+ }
+ ]
+ },
+ {
+ "method": "PATCH",
+ "path": "/api/albums/:id",
+ "mountPath": "/api/albums",
+ "sources": [
+ {
+ "source": "server/routes/albums.js",
+ "line": 130
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/alerts",
+ "mountPath": "/api/alerts",
+ "sources": [
+ {
+ "source": "server/routes/alerts.js",
+ "line": 16
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/alerts/summary",
+ "mountPath": "/api/alerts",
+ "sources": [
+ {
+ "source": "server/routes/alerts.js",
+ "line": 22
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/api-docs/asyncapi.json",
+ "mountPath": "/api/api-docs",
+ "sources": [
+ {
+ "source": "server/routes/apiDocs.js",
+ "line": 57
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/api-docs/catalog.json",
+ "mountPath": "/api/api-docs",
+ "sources": [
+ {
+ "source": "server/routes/apiDocs.js",
+ "line": 47
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/api-docs/events.json",
+ "mountPath": "/api/api-docs",
+ "sources": [
+ {
+ "source": "server/routes/apiDocs.js",
+ "line": 52
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/api-docs/internal/openapi.json",
+ "mountPath": "/api/api-docs",
+ "sources": [
+ {
+ "source": "server/routes/apiDocs.js",
+ "line": 41
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/api-docs/openapi.json",
+ "mountPath": "/api/api-docs",
+ "sources": [
+ {
+ "source": "server/routes/apiDocs.js",
+ "line": 35
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/apps",
+ "mountPath": "/api/apps",
+ "sources": [
+ {
+ "source": "server/routes/apps/crud.js",
+ "line": 33
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/apps",
+ "mountPath": "/api/apps",
+ "sources": [
+ {
+ "source": "server/routes/apps/crud.js",
+ "line": 95
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/apps/:appId/reference-repos",
+ "mountPath": "/api/apps/:appId/reference-repos",
+ "sources": [
+ {
+ "source": "server/routes/referenceRepos.js",
+ "line": 31
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/apps/:appId/reference-repos",
+ "mountPath": "/api/apps/:appId/reference-repos",
+ "sources": [
+ {
+ "source": "server/routes/referenceRepos.js",
+ "line": 36
+ }
+ ]
+ },
+ {
+ "method": "DELETE",
+ "path": "/api/apps/:appId/reference-repos/:refId",
+ "mountPath": "/api/apps/:appId/reference-repos",
+ "sources": [
+ {
+ "source": "server/routes/referenceRepos.js",
+ "line": 50
+ }
+ ]
+ },
+ {
+ "method": "PATCH",
+ "path": "/api/apps/:appId/reference-repos/:refId",
+ "mountPath": "/api/apps/:appId/reference-repos",
+ "sources": [
+ {
+ "source": "server/routes/referenceRepos.js",
+ "line": 43
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/apps/:appId/reference-repos/:refId/check",
+ "mountPath": "/api/apps/:appId/reference-repos",
+ "sources": [
+ {
+ "source": "server/routes/referenceRepos.js",
+ "line": 59
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/apps/:appId/reference-repos/:refId/reviewed",
+ "mountPath": "/api/apps/:appId/reference-repos",
+ "sources": [
+ {
+ "source": "server/routes/referenceRepos.js",
+ "line": 83
+ }
+ ]
+ },
+ {
+ "method": "DELETE",
+ "path": "/api/apps/:id",
+ "mountPath": "/api/apps",
+ "sources": [
+ {
+ "source": "server/routes/apps/crud.js",
+ "line": 172
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/apps/:id",
+ "mountPath": "/api/apps",
+ "sources": [
+ {
+ "source": "server/routes/apps/crud.js",
+ "line": 39
+ }
+ ]
+ },
+ {
+ "method": "PUT",
+ "path": "/api/apps/:id",
+ "mountPath": "/api/apps",
+ "sources": [
+ {
+ "source": "server/routes/apps/crud.js",
+ "line": 109
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/apps/:id/agents",
+ "mountPath": "/api/apps",
+ "sources": [
+ {
+ "source": "server/routes/apps/agents.js",
+ "line": 16
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/apps/:id/archive",
+ "mountPath": "/api/apps",
+ "sources": [
+ {
+ "source": "server/routes/apps/crud.js",
+ "line": 191
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/apps/:id/build",
+ "mountPath": "/api/apps",
+ "sources": [
+ {
+ "source": "server/routes/apps/lifecycle.js",
+ "line": 251
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/apps/:id/detect-icon",
+ "mountPath": "/api/apps",
+ "sources": [
+ {
+ "source": "server/routes/apps/icons.js",
+ "line": 97
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/apps/:id/documents",
+ "mountPath": "/api/apps",
+ "sources": [
+ {
+ "source": "server/routes/apps/documents.js",
+ "line": 26
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/apps/:id/documents/:filename",
+ "mountPath": "/api/apps",
+ "sources": [
+ {
+ "source": "server/routes/apps/documents.js",
+ "line": 54
+ }
+ ]
+ },
+ {
+ "method": "PUT",
+ "path": "/api/apps/:id/documents/:filename",
+ "mountPath": "/api/apps",
+ "sources": [
+ {
+ "source": "server/routes/apps/documents.js",
+ "line": 83
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/apps/:id/fix-vite-hosts",
+ "mountPath": "/api/apps",
+ "sources": [
+ {
+ "source": "server/routes/apps/viteTls.js",
+ "line": 111
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/apps/:id/icon",
+ "mountPath": "/api/apps",
+ "sources": [
+ {
+ "source": "server/routes/apps/icons.js",
+ "line": 21
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/apps/:id/issues",
+ "mountPath": "/api/apps",
+ "sources": [
+ {
+ "source": "server/routes/apps/issues.js",
+ "line": 23
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/apps/:id/layered-intelligence",
+ "mountPath": "/api/apps",
+ "sources": [
+ {
+ "source": "server/routes/apps/taskTypes.js",
+ "line": 97
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/apps/:id/layered-intelligence/outcomes",
+ "mountPath": "/api/apps",
+ "sources": [
+ {
+ "source": "server/routes/apps/taskTypes.js",
+ "line": 114
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/apps/:id/logs",
+ "mountPath": "/api/apps",
+ "sources": [
+ {
+ "source": "server/routes/apps/lifecycle.js",
+ "line": 299
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/apps/:id/native-launch",
+ "mountPath": "/api/apps",
+ "sources": [
+ {
+ "source": "server/routes/apps/lifecycle.js",
+ "line": 61
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/apps/:id/native-launch/status",
+ "mountPath": "/api/apps",
+ "sources": [
+ {
+ "source": "server/routes/apps/lifecycle.js",
+ "line": 95
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/apps/:id/open-claude",
+ "mountPath": "/api/apps",
+ "sources": [
+ {
+ "source": "server/routes/apps/launch.js",
+ "line": 120
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/apps/:id/open-editor",
+ "mountPath": "/api/apps",
+ "sources": [
+ {
+ "source": "server/routes/apps/launch.js",
+ "line": 76
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/apps/:id/open-folder",
+ "mountPath": "/api/apps",
+ "sources": [
+ {
+ "source": "server/routes/apps/launch.js",
+ "line": 139
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/apps/:id/open-xcode",
+ "mountPath": "/api/apps",
+ "sources": [
+ {
+ "source": "server/routes/apps/launch.js",
+ "line": 157
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/apps/:id/pull-requests",
+ "mountPath": "/api/apps",
+ "sources": [
+ {
+ "source": "server/routes/apps/pullRequests.js",
+ "line": 105
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/apps/:id/pull-requests/:number/resolve",
+ "mountPath": "/api/apps",
+ "sources": [
+ {
+ "source": "server/routes/apps/pullRequests.js",
+ "line": 114
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/apps/:id/refresh-config",
+ "mountPath": "/api/apps",
+ "sources": [
+ {
+ "source": "server/routes/apps/lifecycle.js",
+ "line": 315
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/apps/:id/restart",
+ "mountPath": "/api/apps",
+ "sources": [
+ {
+ "source": "server/routes/apps/lifecycle.js",
+ "line": 190
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/apps/:id/sprite-bindings",
+ "mountPath": "/api/apps",
+ "sources": [
+ {
+ "source": "server/routes/apps/spriteBindings.js",
+ "line": 21
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/apps/:id/start",
+ "mountPath": "/api/apps",
+ "sources": [
+ {
+ "source": "server/routes/apps/lifecycle.js",
+ "line": 110
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/apps/:id/status",
+ "mountPath": "/api/apps",
+ "sources": [
+ {
+ "source": "server/routes/apps/lifecycle.js",
+ "line": 280
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/apps/:id/stop",
+ "mountPath": "/api/apps",
+ "sources": [
+ {
+ "source": "server/routes/apps/lifecycle.js",
+ "line": 167
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/apps/:id/task-types",
+ "mountPath": "/api/apps",
+ "sources": [
+ {
+ "source": "server/routes/apps/taskTypes.js",
+ "line": 55
+ }
+ ]
+ },
+ {
+ "method": "PUT",
+ "path": "/api/apps/:id/task-types/:taskType",
+ "mountPath": "/api/apps",
+ "sources": [
+ {
+ "source": "server/routes/apps/taskTypes.js",
+ "line": 197
+ }
+ ]
+ },
+ {
+ "method": "PUT",
+ "path": "/api/apps/:id/task-types/all",
+ "mountPath": "/api/apps",
+ "sources": [
+ {
+ "source": "server/routes/apps/taskTypes.js",
+ "line": 183
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/apps/:id/unarchive",
+ "mountPath": "/api/apps",
+ "sources": [
+ {
+ "source": "server/routes/apps/crud.js",
+ "line": 208
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/apps/:id/update",
+ "mountPath": "/api/apps",
+ "sources": [
+ {
+ "source": "server/routes/apps/lifecycle.js",
+ "line": 228
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/apps/:id/upgrade-tls",
+ "mountPath": "/api/apps",
+ "sources": [
+ {
+ "source": "server/routes/apps/viteTls.js",
+ "line": 34
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/apps/:id/vite-host-check",
+ "mountPath": "/api/apps",
+ "sources": [
+ {
+ "source": "server/routes/apps/viteTls.js",
+ "line": 91
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/apps/:id/work-items",
+ "mountPath": "/api/apps",
+ "sources": [
+ {
+ "source": "server/routes/apps/taskTypes.js",
+ "line": 77
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/apps/:id/work-tracker",
+ "mountPath": "/api/apps",
+ "sources": [
+ {
+ "source": "server/routes/apps/taskTypes.js",
+ "line": 65
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/apps/:id/xcode-scripts/install",
+ "mountPath": "/api/apps",
+ "sources": [
+ {
+ "source": "server/routes/apps/xcode.js",
+ "line": 22
+ }
+ ]
+ },
+ {
+ "method": "PUT",
+ "path": "/api/apps/bulk-task-type/:taskType",
+ "mountPath": "/api/apps",
+ "sources": [
+ {
+ "source": "server/routes/apps/taskTypes.js",
+ "line": 40
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/apps/detect-icons",
+ "mountPath": "/api/apps",
+ "sources": [
+ {
+ "source": "server/routes/apps/icons.js",
+ "line": 74
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/artists",
+ "mountPath": "/api/artists",
+ "sources": [
+ {
+ "source": "server/routes/artists.js",
+ "line": 55
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/artists",
+ "mountPath": "/api/artists",
+ "sources": [
+ {
+ "source": "server/routes/artists.js",
+ "line": 61
+ }
+ ]
+ },
+ {
+ "method": "DELETE",
+ "path": "/api/artists/:id",
+ "mountPath": "/api/artists",
+ "sources": [
+ {
+ "source": "server/routes/artists.js",
+ "line": 77
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/artists/:id",
+ "mountPath": "/api/artists",
+ "sources": [
+ {
+ "source": "server/routes/artists.js",
+ "line": 66
+ }
+ ]
+ },
+ {
+ "method": "PATCH",
+ "path": "/api/artists/:id",
+ "mountPath": "/api/artists",
+ "sources": [
+ {
+ "source": "server/routes/artists.js",
+ "line": 72
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/ask",
+ "mountPath": "/api/ask",
+ "sources": [
+ {
+ "source": "server/routes/ask.js",
+ "line": 76
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/ask",
+ "mountPath": "/api/ask",
+ "sources": [
+ {
+ "source": "server/routes/ask.js",
+ "line": 126
+ }
+ ]
+ },
+ {
+ "method": "DELETE",
+ "path": "/api/ask/:id",
+ "mountPath": "/api/ask",
+ "sources": [
+ {
+ "source": "server/routes/ask.js",
+ "line": 88
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/ask/:id",
+ "mountPath": "/api/ask",
+ "sources": [
+ {
+ "source": "server/routes/ask.js",
+ "line": 81
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/ask/:id/promote",
+ "mountPath": "/api/ask",
+ "sources": [
+ {
+ "source": "server/routes/ask.js",
+ "line": 95
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/ask/:id/turns/:turnId/promote",
+ "mountPath": "/api/ask",
+ "sources": [
+ {
+ "source": "server/routes/ask.js",
+ "line": 106
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/attachments",
+ "mountPath": "/api/attachments",
+ "sources": [
+ {
+ "source": "server/routes/attachments.js",
+ "line": 76
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/attachments",
+ "mountPath": "/api/attachments",
+ "sources": [
+ {
+ "source": "server/routes/attachments.js",
+ "line": 26
+ }
+ ]
+ },
+ {
+ "method": "DELETE",
+ "path": "/api/attachments/:filename",
+ "mountPath": "/api/attachments",
+ "sources": [
+ {
+ "source": "server/routes/attachments.js",
+ "line": 54
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/attachments/:filename",
+ "mountPath": "/api/attachments",
+ "sources": [
+ {
+ "source": "server/routes/attachments.js",
+ "line": 49
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/auth/login",
+ "mountPath": "/api/auth",
+ "sources": [
+ {
+ "source": "server/routes/auth.js",
+ "line": 59
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/auth/logout",
+ "mountPath": "/api/auth",
+ "sources": [
+ {
+ "source": "server/routes/auth.js",
+ "line": 88
+ }
+ ]
+ },
+ {
+ "method": "DELETE",
+ "path": "/api/auth/password",
+ "mountPath": "/api/auth",
+ "sources": [
+ {
+ "source": "server/routes/auth.js",
+ "line": 116
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/auth/password",
+ "mountPath": "/api/auth",
+ "sources": [
+ {
+ "source": "server/routes/auth.js",
+ "line": 99
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/auth/status",
+ "mountPath": "/api/auth",
+ "sources": [
+ {
+ "source": "server/routes/auth.js",
+ "line": 39
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/auth/whoami",
+ "mountPath": "/api/auth",
+ "sources": [
+ {
+ "source": "server/routes/auth.js",
+ "line": 47
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/authors",
+ "mountPath": "/api/authors",
+ "sources": [
+ {
+ "source": "server/routes/authors.js",
+ "line": 48
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/authors",
+ "mountPath": "/api/authors",
+ "sources": [
+ {
+ "source": "server/routes/authors.js",
+ "line": 54
+ }
+ ]
+ },
+ {
+ "method": "DELETE",
+ "path": "/api/authors/:id",
+ "mountPath": "/api/authors",
+ "sources": [
+ {
+ "source": "server/routes/authors.js",
+ "line": 70
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/authors/:id",
+ "mountPath": "/api/authors",
+ "sources": [
+ {
+ "source": "server/routes/authors.js",
+ "line": 59
+ }
+ ]
+ },
+ {
+ "method": "PATCH",
+ "path": "/api/authors/:id",
+ "mountPath": "/api/authors",
+ "sources": [
+ {
+ "source": "server/routes/authors.js",
+ "line": 65
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/autofix/metrics",
+ "mountPath": "/api/autofix",
+ "sources": [
+ {
+ "source": "server/routes/autoFixMetrics.js",
+ "line": 19
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/avatar/model.glb",
+ "mountPath": "/api/avatar",
+ "sources": [
+ {
+ "source": "server/routes/avatar.js",
+ "line": 35
+ }
+ ]
+ },
+ {
+ "method": "HEAD",
+ "path": "/api/avatar/model.glb",
+ "mountPath": "/api/avatar",
+ "sources": [
+ {
+ "source": "server/routes/avatar.js",
+ "line": 22
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/backup/restore",
+ "mountPath": "/api/backup",
+ "sources": [
+ {
+ "source": "server/routes/backup.js",
+ "line": 62
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/backup/restore-db",
+ "mountPath": "/api/backup",
+ "sources": [
+ {
+ "source": "server/routes/backup.js",
+ "line": 70
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/backup/run",
+ "mountPath": "/api/backup",
+ "sources": [
+ {
+ "source": "server/routes/backup.js",
+ "line": 24
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/backup/snapshots",
+ "mountPath": "/api/backup",
+ "sources": [
+ {
+ "source": "server/routes/backup.js",
+ "line": 38
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/backup/snapshots/:snapshotId/download",
+ "mountPath": "/api/backup",
+ "sources": [
+ {
+ "source": "server/routes/backup.js",
+ "line": 45
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/backup/status",
+ "mountPath": "/api/backup",
+ "sources": [
+ {
+ "source": "server/routes/backup.js",
+ "line": 11
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/brain/admin",
+ "mountPath": "/api/brain",
+ "sources": [
+ {
+ "source": "server/routes/brainCrud.js",
+ "line": 163
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/brain/admin",
+ "mountPath": "/api/brain",
+ "sources": [
+ {
+ "source": "server/routes/brainCrud.js",
+ "line": 182
+ }
+ ]
+ },
+ {
+ "method": "DELETE",
+ "path": "/api/brain/admin/:id",
+ "mountPath": "/api/brain",
+ "sources": [
+ {
+ "source": "server/routes/brainCrud.js",
+ "line": 197
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/brain/admin/:id",
+ "mountPath": "/api/brain",
+ "sources": [
+ {
+ "source": "server/routes/brainCrud.js",
+ "line": 174
+ }
+ ]
+ },
+ {
+ "method": "PUT",
+ "path": "/api/brain/admin/:id",
+ "mountPath": "/api/brain",
+ "sources": [
+ {
+ "source": "server/routes/brainCrud.js",
+ "line": 188
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/brain/bridge-sync",
+ "mountPath": "/api/brain",
+ "sources": [
+ {
+ "source": "server/routes/brainSync.js",
+ "line": 33
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/brain/buckets",
+ "mountPath": "/api/brain",
+ "sources": [
+ {
+ "source": "server/routes/brainLinks.js",
+ "line": 295
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/brain/buckets",
+ "mountPath": "/api/brain",
+ "sources": [
+ {
+ "source": "server/routes/brainLinks.js",
+ "line": 305
+ }
+ ]
+ },
+ {
+ "method": "DELETE",
+ "path": "/api/brain/buckets/:id",
+ "mountPath": "/api/brain",
+ "sources": [
+ {
+ "source": "server/routes/brainLinks.js",
+ "line": 346
+ }
+ ]
+ },
+ {
+ "method": "PUT",
+ "path": "/api/brain/buckets/:id",
+ "mountPath": "/api/brain",
+ "sources": [
+ {
+ "source": "server/routes/brainLinks.js",
+ "line": 331
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/brain/buckets/reorder",
+ "mountPath": "/api/brain",
+ "sources": [
+ {
+ "source": "server/routes/brainLinks.js",
+ "line": 317
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/brain/capture",
+ "mountPath": "/api/brain",
+ "sources": [
+ {
+ "source": "server/routes/brainCapture.js",
+ "line": 26
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/brain/daily-log",
+ "mountPath": "/api/brain",
+ "sources": [
+ {
+ "source": "server/routes/brainDailyLog.js",
+ "line": 35
+ }
+ ]
+ },
+ {
+ "method": "DELETE",
+ "path": "/api/brain/daily-log/:date",
+ "mountPath": "/api/brain",
+ "sources": [
+ {
+ "source": "server/routes/brainDailyLog.js",
+ "line": 151
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/brain/daily-log/:date",
+ "mountPath": "/api/brain",
+ "sources": [
+ {
+ "source": "server/routes/brainDailyLog.js",
+ "line": 93
+ }
+ ]
+ },
+ {
+ "method": "PUT",
+ "path": "/api/brain/daily-log/:date",
+ "mountPath": "/api/brain",
+ "sources": [
+ {
+ "source": "server/routes/brainDailyLog.js",
+ "line": 137
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/brain/daily-log/:date/append",
+ "mountPath": "/api/brain",
+ "sources": [
+ {
+ "source": "server/routes/brainDailyLog.js",
+ "line": 102
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/brain/daily-log/:date/draft",
+ "mountPath": "/api/brain",
+ "sources": [
+ {
+ "source": "server/routes/brainDailyLog.js",
+ "line": 121
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/brain/daily-log/digest-settings",
+ "mountPath": "/api/brain",
+ "sources": [
+ {
+ "source": "server/routes/brainDailyLog.js",
+ "line": 76
+ }
+ ]
+ },
+ {
+ "method": "PUT",
+ "path": "/api/brain/daily-log/digest-settings",
+ "mountPath": "/api/brain",
+ "sources": [
+ {
+ "source": "server/routes/brainDailyLog.js",
+ "line": 84
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/brain/daily-log/settings",
+ "mountPath": "/api/brain",
+ "sources": [
+ {
+ "source": "server/routes/brainDailyLog.js",
+ "line": 48
+ }
+ ]
+ },
+ {
+ "method": "PUT",
+ "path": "/api/brain/daily-log/settings",
+ "mountPath": "/api/brain",
+ "sources": [
+ {
+ "source": "server/routes/brainDailyLog.js",
+ "line": 56
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/brain/daily-log/sync-obsidian",
+ "mountPath": "/api/brain",
+ "sources": [
+ {
+ "source": "server/routes/brainDailyLog.js",
+ "line": 66
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/brain/digest/latest",
+ "mountPath": "/api/brain",
+ "sources": [
+ {
+ "source": "server/routes/brainDigest.js",
+ "line": 19
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/brain/digest/run",
+ "mountPath": "/api/brain",
+ "sources": [
+ {
+ "source": "server/routes/brainDigest.js",
+ "line": 38
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/brain/digests",
+ "mountPath": "/api/brain",
+ "sources": [
+ {
+ "source": "server/routes/brainDigest.js",
+ "line": 28
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/brain/embeddings/status",
+ "mountPath": "/api/brain",
+ "sources": [
+ {
+ "source": "server/routes/brainSync.js",
+ "line": 46
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/brain/fix",
+ "mountPath": "/api/brain",
+ "sources": [
+ {
+ "source": "server/routes/brainCapture.js",
+ "line": 71
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/brain/graph",
+ "mountPath": "/api/brain",
+ "sources": [
+ {
+ "source": "server/routes/brainGraph.js",
+ "line": 36
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/brain/graph/search-index",
+ "mountPath": "/api/brain",
+ "sources": [
+ {
+ "source": "server/routes/brainGraph.js",
+ "line": 25
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/brain/ideas",
+ "mountPath": "/api/brain",
+ "sources": [
+ {
+ "source": "server/routes/brainCrud.js",
+ "line": 117
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/brain/ideas",
+ "mountPath": "/api/brain",
+ "sources": [
+ {
+ "source": "server/routes/brainCrud.js",
+ "line": 136
+ }
+ ]
+ },
+ {
+ "method": "DELETE",
+ "path": "/api/brain/ideas/:id",
+ "mountPath": "/api/brain",
+ "sources": [
+ {
+ "source": "server/routes/brainCrud.js",
+ "line": 151
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/brain/ideas/:id",
+ "mountPath": "/api/brain",
+ "sources": [
+ {
+ "source": "server/routes/brainCrud.js",
+ "line": 128
+ }
+ ]
+ },
+ {
+ "method": "PUT",
+ "path": "/api/brain/ideas/:id",
+ "mountPath": "/api/brain",
+ "sources": [
+ {
+ "source": "server/routes/brainCrud.js",
+ "line": 142
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/brain/import/chatgpt",
+ "mountPath": "/api/brain/import",
+ "sources": [
+ {
+ "source": "server/routes/brainImport.js",
+ "line": 70
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/brain/import/chatgpt/archive/:name",
+ "mountPath": "/api/brain/import",
+ "sources": [
+ {
+ "source": "server/routes/brainImport.js",
+ "line": 124
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/brain/import/chatgpt/preview",
+ "mountPath": "/api/brain/import",
+ "sources": [
+ {
+ "source": "server/routes/brainImport.js",
+ "line": 60
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/brain/import/chatgpt/zip",
+ "mountPath": "/api/brain/import",
+ "sources": [
+ {
+ "source": "server/routes/brainImport.js",
+ "line": 96
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/brain/import/sources",
+ "mountPath": "/api/brain/import",
+ "sources": [
+ {
+ "source": "server/routes/brainImport.js",
+ "line": 46
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/brain/inbox",
+ "mountPath": "/api/brain",
+ "sources": [
+ {
+ "source": "server/routes/brainCapture.js",
+ "line": 36
+ }
+ ]
+ },
+ {
+ "method": "DELETE",
+ "path": "/api/brain/inbox/:id",
+ "mountPath": "/api/brain",
+ "sources": [
+ {
+ "source": "server/routes/brainCapture.js",
+ "line": 127
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/brain/inbox/:id",
+ "mountPath": "/api/brain",
+ "sources": [
+ {
+ "source": "server/routes/brainCapture.js",
+ "line": 49
+ }
+ ]
+ },
+ {
+ "method": "PUT",
+ "path": "/api/brain/inbox/:id",
+ "mountPath": "/api/brain",
+ "sources": [
+ {
+ "source": "server/routes/brainCapture.js",
+ "line": 114
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/brain/inbox/:id/done",
+ "mountPath": "/api/brain",
+ "sources": [
+ {
+ "source": "server/routes/brainCapture.js",
+ "line": 91
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/brain/inbox/:id/retry",
+ "mountPath": "/api/brain",
+ "sources": [
+ {
+ "source": "server/routes/brainCapture.js",
+ "line": 81
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/brain/inbox/sent-to-catalog",
+ "mountPath": "/api/brain",
+ "sources": [
+ {
+ "source": "server/routes/brainCapture.js",
+ "line": 104
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/brain/links",
+ "mountPath": "/api/brain",
+ "sources": [
+ {
+ "source": "server/routes/brainLinks.js",
+ "line": 37
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/brain/links",
+ "mountPath": "/api/brain",
+ "sources": [
+ {
+ "source": "server/routes/brainLinks.js",
+ "line": 89
+ }
+ ]
+ },
+ {
+ "method": "DELETE",
+ "path": "/api/brain/links/:id",
+ "mountPath": "/api/brain",
+ "sources": [
+ {
+ "source": "server/routes/brainLinks.js",
+ "line": 153
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/brain/links/:id",
+ "mountPath": "/api/brain",
+ "sources": [
+ {
+ "source": "server/routes/brainLinks.js",
+ "line": 77
+ }
+ ]
+ },
+ {
+ "method": "PUT",
+ "path": "/api/brain/links/:id",
+ "mountPath": "/api/brain",
+ "sources": [
+ {
+ "source": "server/routes/brainLinks.js",
+ "line": 113
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/brain/links/:id/clone",
+ "mountPath": "/api/brain",
+ "sources": [
+ {
+ "source": "server/routes/brainLinks.js",
+ "line": 165
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/brain/links/:id/open-folder",
+ "mountPath": "/api/brain",
+ "sources": [
+ {
+ "source": "server/routes/brainLinks.js",
+ "line": 216
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/brain/links/:id/pull",
+ "mountPath": "/api/brain",
+ "sources": [
+ {
+ "source": "server/routes/brainLinks.js",
+ "line": 195
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/brain/links/:id/scan",
+ "mountPath": "/api/brain",
+ "sources": [
+ {
+ "source": "server/routes/brainLinks.js",
+ "line": 246
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/brain/links/:id/scan-report",
+ "mountPath": "/api/brain",
+ "sources": [
+ {
+ "source": "server/routes/brainLinks.js",
+ "line": 275
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/brain/links/reorder",
+ "mountPath": "/api/brain",
+ "sources": [
+ {
+ "source": "server/routes/brainLinks.js",
+ "line": 53
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/brain/memories",
+ "mountPath": "/api/brain",
+ "sources": [
+ {
+ "source": "server/routes/brainCrud.js",
+ "line": 209
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/brain/memories",
+ "mountPath": "/api/brain",
+ "sources": [
+ {
+ "source": "server/routes/brainCrud.js",
+ "line": 226
+ }
+ ]
+ },
+ {
+ "method": "DELETE",
+ "path": "/api/brain/memories/:id",
+ "mountPath": "/api/brain",
+ "sources": [
+ {
+ "source": "server/routes/brainCrud.js",
+ "line": 241
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/brain/memories/:id",
+ "mountPath": "/api/brain",
+ "sources": [
+ {
+ "source": "server/routes/brainCrud.js",
+ "line": 218
+ }
+ ]
+ },
+ {
+ "method": "PUT",
+ "path": "/api/brain/memories/:id",
+ "mountPath": "/api/brain",
+ "sources": [
+ {
+ "source": "server/routes/brainCrud.js",
+ "line": 232
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/brain/people",
+ "mountPath": "/api/brain",
+ "sources": [
+ {
+ "source": "server/routes/brainCrud.js",
+ "line": 27
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/brain/people",
+ "mountPath": "/api/brain",
+ "sources": [
+ {
+ "source": "server/routes/brainCrud.js",
+ "line": 44
+ }
+ ]
+ },
+ {
+ "method": "DELETE",
+ "path": "/api/brain/people/:id",
+ "mountPath": "/api/brain",
+ "sources": [
+ {
+ "source": "server/routes/brainCrud.js",
+ "line": 59
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/brain/people/:id",
+ "mountPath": "/api/brain",
+ "sources": [
+ {
+ "source": "server/routes/brainCrud.js",
+ "line": 36
+ }
+ ]
+ },
+ {
+ "method": "PUT",
+ "path": "/api/brain/people/:id",
+ "mountPath": "/api/brain",
+ "sources": [
+ {
+ "source": "server/routes/brainCrud.js",
+ "line": 50
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/brain/projects",
+ "mountPath": "/api/brain",
+ "sources": [
+ {
+ "source": "server/routes/brainCrud.js",
+ "line": 71
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/brain/projects",
+ "mountPath": "/api/brain",
+ "sources": [
+ {
+ "source": "server/routes/brainCrud.js",
+ "line": 90
+ }
+ ]
+ },
+ {
+ "method": "DELETE",
+ "path": "/api/brain/projects/:id",
+ "mountPath": "/api/brain",
+ "sources": [
+ {
+ "source": "server/routes/brainCrud.js",
+ "line": 105
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/brain/projects/:id",
+ "mountPath": "/api/brain",
+ "sources": [
+ {
+ "source": "server/routes/brainCrud.js",
+ "line": 82
+ }
+ ]
+ },
+ {
+ "method": "PUT",
+ "path": "/api/brain/projects/:id",
+ "mountPath": "/api/brain",
+ "sources": [
+ {
+ "source": "server/routes/brainCrud.js",
+ "line": 96
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/brain/reconcile/checksum",
+ "mountPath": "/api/brain",
+ "sources": [
+ {
+ "source": "server/routes/brainSync.js",
+ "line": 77
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/brain/reconcile/manifest",
+ "mountPath": "/api/brain",
+ "sources": [
+ {
+ "source": "server/routes/brainSync.js",
+ "line": 101
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/brain/reconcile/parity",
+ "mountPath": "/api/brain",
+ "sources": [
+ {
+ "source": "server/routes/brainSync.js",
+ "line": 111
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/brain/reconcile/parity",
+ "mountPath": "/api/brain",
+ "sources": [
+ {
+ "source": "server/routes/brainSync.js",
+ "line": 121
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/brain/reconcile/snapshot",
+ "mountPath": "/api/brain",
+ "sources": [
+ {
+ "source": "server/routes/brainSync.js",
+ "line": 88
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/brain/review/latest",
+ "mountPath": "/api/brain",
+ "sources": [
+ {
+ "source": "server/routes/brainDigest.js",
+ "line": 48
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/brain/review/resolve",
+ "mountPath": "/api/brain",
+ "sources": [
+ {
+ "source": "server/routes/brainCapture.js",
+ "line": 61
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/brain/review/run",
+ "mountPath": "/api/brain",
+ "sources": [
+ {
+ "source": "server/routes/brainDigest.js",
+ "line": 67
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/brain/reviews",
+ "mountPath": "/api/brain",
+ "sources": [
+ {
+ "source": "server/routes/brainDigest.js",
+ "line": 57
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/brain/settings",
+ "mountPath": "/api/brain",
+ "sources": [
+ {
+ "source": "server/routes/brainSettings.js",
+ "line": 20
+ }
+ ]
+ },
+ {
+ "method": "PUT",
+ "path": "/api/brain/settings",
+ "mountPath": "/api/brain",
+ "sources": [
+ {
+ "source": "server/routes/brainSettings.js",
+ "line": 29
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/brain/songbook",
+ "mountPath": "/api/brain",
+ "sources": [
+ {
+ "source": "server/routes/brainSongbook.js",
+ "line": 96
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/brain/songbook",
+ "mountPath": "/api/brain",
+ "sources": [
+ {
+ "source": "server/routes/brainSongbook.js",
+ "line": 112
+ }
+ ]
+ },
+ {
+ "method": "DELETE",
+ "path": "/api/brain/songbook/:id",
+ "mountPath": "/api/brain",
+ "sources": [
+ {
+ "source": "server/routes/brainSongbook.js",
+ "line": 136
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/brain/songbook/:id",
+ "mountPath": "/api/brain",
+ "sources": [
+ {
+ "source": "server/routes/brainSongbook.js",
+ "line": 107
+ }
+ ]
+ },
+ {
+ "method": "PATCH",
+ "path": "/api/brain/songbook/:id",
+ "mountPath": "/api/brain",
+ "sources": [
+ {
+ "source": "server/routes/brainSongbook.js",
+ "line": 120
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/brain/songbook/:id/attachments",
+ "mountPath": "/api/brain",
+ "sources": [
+ {
+ "source": "server/routes/brainSongbook.js",
+ "line": 198
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/brain/songbook/:id/attachments",
+ "mountPath": "/api/brain",
+ "sources": [
+ {
+ "source": "server/routes/brainSongbook.js",
+ "line": 169
+ }
+ ]
+ },
+ {
+ "method": "DELETE",
+ "path": "/api/brain/songbook/:id/attachments/:filename",
+ "mountPath": "/api/brain",
+ "sources": [
+ {
+ "source": "server/routes/brainSongbook.js",
+ "line": 220
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/brain/songbook/:id/attachments/:filename",
+ "mountPath": "/api/brain",
+ "sources": [
+ {
+ "source": "server/routes/brainSongbook.js",
+ "line": 211
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/brain/songbook/:id/practice",
+ "mountPath": "/api/brain",
+ "sources": [
+ {
+ "source": "server/routes/brainSongbook.js",
+ "line": 156
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/brain/songbook/import/url",
+ "mountPath": "/api/brain",
+ "sources": [
+ {
+ "source": "server/routes/brainSongbook.js",
+ "line": 86
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/brain/summary",
+ "mountPath": "/api/brain",
+ "sources": [
+ {
+ "source": "server/routes/brainSettings.js",
+ "line": 76
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/brain/sync",
+ "mountPath": "/api/brain",
+ "sources": [
+ {
+ "source": "server/routes/brainSync.js",
+ "line": 55
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/brain/sync",
+ "mountPath": "/api/brain",
+ "sources": [
+ {
+ "source": "server/routes/brainSync.js",
+ "line": 65
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/brain/youtube/ingest",
+ "mountPath": "/api/brain",
+ "sources": [
+ {
+ "source": "server/routes/brainYoutube.js",
+ "line": 23
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/brain/youtube/ingest/:jobId/cancel",
+ "mountPath": "/api/brain",
+ "sources": [
+ {
+ "source": "server/routes/brainYoutube.js",
+ "line": 37
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/brain/youtube/ingest/:jobId/events",
+ "mountPath": "/api/brain",
+ "sources": [
+ {
+ "source": "server/routes/brainYoutube.js",
+ "line": 30
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/brain/youtube/ingests",
+ "mountPath": "/api/brain",
+ "sources": [
+ {
+ "source": "server/routes/brainYoutube.js",
+ "line": 44
+ }
+ ]
+ },
+ {
+ "method": "DELETE",
+ "path": "/api/brain/youtube/ingests/:videoId",
+ "mountPath": "/api/brain",
+ "sources": [
+ {
+ "source": "server/routes/brainYoutube.js",
+ "line": 65
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/brain/youtube/ingests/:videoId",
+ "mountPath": "/api/brain",
+ "sources": [
+ {
+ "source": "server/routes/brainYoutube.js",
+ "line": 49
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/brain/youtube/ingests/:videoId/transcript",
+ "mountPath": "/api/brain",
+ "sources": [
+ {
+ "source": "server/routes/brainYoutube.js",
+ "line": 56
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/brain/youtube/settings",
+ "mountPath": "/api/brain",
+ "sources": [
+ {
+ "source": "server/routes/brainYoutube.js",
+ "line": 71
+ }
+ ]
+ },
+ {
+ "method": "PUT",
+ "path": "/api/brain/youtube/settings",
+ "mountPath": "/api/brain",
+ "sources": [
+ {
+ "source": "server/routes/brainYoutube.js",
+ "line": 75
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/browser",
+ "mountPath": "/api/browser",
+ "sources": [
+ {
+ "source": "server/routes/browser.js",
+ "line": 79
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/browser/config",
+ "mountPath": "/api/browser",
+ "sources": [
+ {
+ "source": "server/routes/browser.js",
+ "line": 85
+ }
+ ]
+ },
+ {
+ "method": "PUT",
+ "path": "/api/browser/config",
+ "mountPath": "/api/browser",
+ "sources": [
+ {
+ "source": "server/routes/browser.js",
+ "line": 91
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/browser/downloads",
+ "mountPath": "/api/browser",
+ "sources": [
+ {
+ "source": "server/routes/browser.js",
+ "line": 176
+ }
+ ]
+ },
+ {
+ "method": "DELETE",
+ "path": "/api/browser/downloads/:name",
+ "mountPath": "/api/browser",
+ "sources": [
+ {
+ "source": "server/routes/browser.js",
+ "line": 208
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/browser/downloads/:name",
+ "mountPath": "/api/browser",
+ "sources": [
+ {
+ "source": "server/routes/browser.js",
+ "line": 188
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/browser/health",
+ "mountPath": "/api/browser",
+ "sources": [
+ {
+ "source": "server/routes/browser.js",
+ "line": 142
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/browser/launch",
+ "mountPath": "/api/browser",
+ "sources": [
+ {
+ "source": "server/routes/browser.js",
+ "line": 98
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/browser/logs",
+ "mountPath": "/api/browser",
+ "sources": [
+ {
+ "source": "server/routes/browser.js",
+ "line": 169
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/browser/navigate",
+ "mountPath": "/api/browser",
+ "sources": [
+ {
+ "source": "server/routes/browser.js",
+ "line": 119
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/browser/pages",
+ "mountPath": "/api/browser",
+ "sources": [
+ {
+ "source": "server/routes/browser.js",
+ "line": 154
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/browser/process",
+ "mountPath": "/api/browser",
+ "sources": [
+ {
+ "source": "server/routes/browser.js",
+ "line": 148
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/browser/restart",
+ "mountPath": "/api/browser",
+ "sources": [
+ {
+ "source": "server/routes/browser.js",
+ "line": 112
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/browser/stop",
+ "mountPath": "/api/browser",
+ "sources": [
+ {
+ "source": "server/routes/browser.js",
+ "line": 105
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/browser/version",
+ "mountPath": "/api/browser",
+ "sources": [
+ {
+ "source": "server/routes/browser.js",
+ "line": 160
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/calendar/accounts",
+ "mountPath": "/api/calendar",
+ "sources": [
+ {
+ "source": "server/routes/calendar.js",
+ "line": 85
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/calendar/accounts",
+ "mountPath": "/api/calendar",
+ "sources": [
+ {
+ "source": "server/routes/calendar.js",
+ "line": 90
+ }
+ ]
+ },
+ {
+ "method": "DELETE",
+ "path": "/api/calendar/accounts/:id",
+ "mountPath": "/api/calendar",
+ "sources": [
+ {
+ "source": "server/routes/calendar.js",
+ "line": 108
+ }
+ ]
+ },
+ {
+ "method": "PUT",
+ "path": "/api/calendar/accounts/:id",
+ "mountPath": "/api/calendar",
+ "sources": [
+ {
+ "source": "server/routes/calendar.js",
+ "line": 97
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/calendar/accounts/:id/subcalendars",
+ "mountPath": "/api/calendar",
+ "sources": [
+ {
+ "source": "server/routes/calendar.js",
+ "line": 166
+ }
+ ]
+ },
+ {
+ "method": "PUT",
+ "path": "/api/calendar/accounts/:id/subcalendars",
+ "mountPath": "/api/calendar",
+ "sources": [
+ {
+ "source": "server/routes/calendar.js",
+ "line": 175
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/calendar/debug/clear-token",
+ "mountPath": "/api/calendar",
+ "sources": [
+ {
+ "source": "server/routes/calendar.js",
+ "line": 365
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/calendar/debug/test-token",
+ "mountPath": "/api/calendar",
+ "sources": [
+ {
+ "source": "server/routes/calendar.js",
+ "line": 342
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/calendar/debug/token-status",
+ "mountPath": "/api/calendar",
+ "sources": [
+ {
+ "source": "server/routes/calendar.js",
+ "line": 337
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/calendar/events",
+ "mountPath": "/api/calendar",
+ "sources": [
+ {
+ "source": "server/routes/calendar.js",
+ "line": 139
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/calendar/events/:accountId/:eventId",
+ "mountPath": "/api/calendar",
+ "sources": [
+ {
+ "source": "server/routes/calendar.js",
+ "line": 156
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/calendar/google/auth/clear",
+ "mountPath": "/api/calendar",
+ "sources": [
+ {
+ "source": "server/routes/calendar.js",
+ "line": 265
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/calendar/google/auth/credentials",
+ "mountPath": "/api/calendar",
+ "sources": [
+ {
+ "source": "server/routes/calendar.js",
+ "line": 226
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/calendar/google/auth/status",
+ "mountPath": "/api/calendar",
+ "sources": [
+ {
+ "source": "server/routes/calendar.js",
+ "line": 221
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/calendar/google/auth/url",
+ "mountPath": "/api/calendar",
+ "sources": [
+ {
+ "source": "server/routes/calendar.js",
+ "line": 236
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/calendar/google/auto-configure/capture",
+ "mountPath": "/api/calendar",
+ "sources": [
+ {
+ "source": "server/routes/calendar.js",
+ "line": 277
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/calendar/google/auto-configure/run",
+ "mountPath": "/api/calendar",
+ "sources": [
+ {
+ "source": "server/routes/calendar.js",
+ "line": 283
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/calendar/google/auto-configure/start",
+ "mountPath": "/api/calendar",
+ "sources": [
+ {
+ "source": "server/routes/calendar.js",
+ "line": 271
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/calendar/google/oauth/callback",
+ "mountPath": "/api/calendar",
+ "sources": [
+ {
+ "source": "server/routes/calendar.js",
+ "line": 245
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/calendar/review/:date",
+ "mountPath": "/api/calendar",
+ "sources": [
+ {
+ "source": "server/routes/calendar.js",
+ "line": 317
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/calendar/review/:date/confirm",
+ "mountPath": "/api/calendar",
+ "sources": [
+ {
+ "source": "server/routes/calendar.js",
+ "line": 326
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/calendar/review/history",
+ "mountPath": "/api/calendar",
+ "sources": [
+ {
+ "source": "server/routes/calendar.js",
+ "line": 311
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/calendar/sync/:accountId",
+ "mountPath": "/api/calendar",
+ "sources": [
+ {
+ "source": "server/routes/calendar.js",
+ "line": 120
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/calendar/sync/:accountId/api",
+ "mountPath": "/api/calendar",
+ "sources": [
+ {
+ "source": "server/routes/calendar.js",
+ "line": 291
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/calendar/sync/:accountId/discover",
+ "mountPath": "/api/calendar",
+ "sources": [
+ {
+ "source": "server/routes/calendar.js",
+ "line": 200
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/calendar/sync/:accountId/discover-api",
+ "mountPath": "/api/calendar",
+ "sources": [
+ {
+ "source": "server/routes/calendar.js",
+ "line": 300
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/calendar/sync/:accountId/google",
+ "mountPath": "/api/calendar",
+ "sources": [
+ {
+ "source": "server/routes/calendar.js",
+ "line": 211
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/calendar/sync/:accountId/push",
+ "mountPath": "/api/calendar",
+ "sources": [
+ {
+ "source": "server/routes/calendar.js",
+ "line": 189
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/calendar/sync/:accountId/status",
+ "mountPath": "/api/calendar",
+ "sources": [
+ {
+ "source": "server/routes/calendar.js",
+ "line": 129
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/capabilities",
+ "mountPath": "/api/capabilities",
+ "sources": [
+ {
+ "source": "server/routes/capabilities.js",
+ "line": 51
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/catalog/bulk-import",
+ "mountPath": "/api/catalog",
+ "sources": [
+ {
+ "source": "server/routes/catalog.js",
+ "line": 505
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/catalog/embeddings/backfill",
+ "mountPath": "/api/catalog",
+ "sources": [
+ {
+ "source": "server/routes/catalog.js",
+ "line": 715
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/catalog/export",
+ "mountPath": "/api/catalog",
+ "sources": [
+ {
+ "source": "server/routes/catalog.js",
+ "line": 641
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/catalog/facets",
+ "mountPath": "/api/catalog",
+ "sources": [
+ {
+ "source": "server/routes/catalog.js",
+ "line": 200
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/catalog/ingest/brain",
+ "mountPath": "/api/catalog",
+ "sources": [
+ {
+ "source": "server/routes/catalog.js",
+ "line": 146
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/catalog/ingest/file",
+ "mountPath": "/api/catalog",
+ "sources": [
+ {
+ "source": "server/routes/catalog.js",
+ "line": 132
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/catalog/ingest/url",
+ "mountPath": "/api/catalog",
+ "sources": [
+ {
+ "source": "server/routes/catalog.js",
+ "line": 126
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/catalog/ingest/voice",
+ "mountPath": "/api/catalog",
+ "sources": [
+ {
+ "source": "server/routes/catalog.js",
+ "line": 138
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/catalog/ingredients",
+ "mountPath": "/api/catalog",
+ "sources": [
+ {
+ "source": "server/routes/catalog.js",
+ "line": 181
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/catalog/ingredients",
+ "mountPath": "/api/catalog",
+ "sources": [
+ {
+ "source": "server/routes/catalog.js",
+ "line": 255
+ }
+ ]
+ },
+ {
+ "method": "DELETE",
+ "path": "/api/catalog/ingredients/:id",
+ "mountPath": "/api/catalog",
+ "sources": [
+ {
+ "source": "server/routes/catalog.js",
+ "line": 345
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/catalog/ingredients/:id",
+ "mountPath": "/api/catalog",
+ "sources": [
+ {
+ "source": "server/routes/catalog.js",
+ "line": 204
+ }
+ ]
+ },
+ {
+ "method": "PATCH",
+ "path": "/api/catalog/ingredients/:id",
+ "mountPath": "/api/catalog",
+ "sources": [
+ {
+ "source": "server/routes/catalog.js",
+ "line": 267
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/catalog/ingredients/:id/details",
+ "mountPath": "/api/catalog",
+ "sources": [
+ {
+ "source": "server/routes/catalog.js",
+ "line": 228
+ }
+ ]
+ },
+ {
+ "method": "DELETE",
+ "path": "/api/catalog/ingredients/:id/link",
+ "mountPath": "/api/catalog",
+ "sources": [
+ {
+ "source": "server/routes/catalog.js",
+ "line": 356
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/catalog/ingredients/:id/link",
+ "mountPath": "/api/catalog",
+ "sources": [
+ {
+ "source": "server/routes/catalog.js",
+ "line": 350
+ }
+ ]
+ },
+ {
+ "method": "DELETE",
+ "path": "/api/catalog/ingredients/:id/media",
+ "mountPath": "/api/catalog",
+ "sources": [
+ {
+ "source": "server/routes/catalog.js",
+ "line": 477
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/catalog/ingredients/:id/media",
+ "mountPath": "/api/catalog",
+ "sources": [
+ {
+ "source": "server/routes/catalog.js",
+ "line": 431
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/catalog/ingredients/:id/media",
+ "mountPath": "/api/catalog",
+ "sources": [
+ {
+ "source": "server/routes/catalog.js",
+ "line": 445
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/catalog/ingredients/:id/media/missing",
+ "mountPath": "/api/catalog",
+ "sources": [
+ {
+ "source": "server/routes/catalog.js",
+ "line": 439
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/catalog/ingredients/:id/media/portrait",
+ "mountPath": "/api/catalog",
+ "sources": [
+ {
+ "source": "server/routes/catalog.js",
+ "line": 463
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/catalog/ingredients/:id/media/upload",
+ "mountPath": "/api/catalog",
+ "sources": [
+ {
+ "source": "server/routes/catalog.js",
+ "line": 487
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/catalog/ingredients/:id/media/voice",
+ "mountPath": "/api/catalog",
+ "sources": [
+ {
+ "source": "server/routes/catalog.js",
+ "line": 495
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/catalog/ingredients/:id/refs",
+ "mountPath": "/api/catalog",
+ "sources": [
+ {
+ "source": "server/routes/catalog.js",
+ "line": 362
+ }
+ ]
+ },
+ {
+ "method": "DELETE",
+ "path": "/api/catalog/ingredients/:id/relations",
+ "mountPath": "/api/catalog",
+ "sources": [
+ {
+ "source": "server/routes/catalog.js",
+ "line": 413
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/catalog/ingredients/:id/relations",
+ "mountPath": "/api/catalog",
+ "sources": [
+ {
+ "source": "server/routes/catalog.js",
+ "line": 390
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/catalog/ingredients/:id/relations",
+ "mountPath": "/api/catalog",
+ "sources": [
+ {
+ "source": "server/routes/catalog.js",
+ "line": 396
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/catalog/ingredients/:id/revisions",
+ "mountPath": "/api/catalog",
+ "sources": [
+ {
+ "source": "server/routes/catalog.js",
+ "line": 305
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/catalog/ingredients/:id/revisions/:revisionId/restore",
+ "mountPath": "/api/catalog",
+ "sources": [
+ {
+ "source": "server/routes/catalog.js",
+ "line": 321
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/catalog/migration/rerun",
+ "mountPath": "/api/catalog",
+ "sources": [
+ {
+ "source": "server/routes/catalog.js",
+ "line": 765
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/catalog/refs/:refKind/:refId/ingredients",
+ "mountPath": "/api/catalog",
+ "sources": [
+ {
+ "source": "server/routes/catalog.js",
+ "line": 366
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/catalog/refs/:refKind/:refId/resolve",
+ "mountPath": "/api/catalog",
+ "sources": [
+ {
+ "source": "server/routes/catalog.js",
+ "line": 374
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/catalog/refs/dangling",
+ "mountPath": "/api/catalog",
+ "sources": [
+ {
+ "source": "server/routes/catalog.js",
+ "line": 383
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/catalog/scraps",
+ "mountPath": "/api/catalog",
+ "sources": [
+ {
+ "source": "server/routes/catalog.js",
+ "line": 60
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/catalog/scraps",
+ "mountPath": "/api/catalog",
+ "sources": [
+ {
+ "source": "server/routes/catalog.js",
+ "line": 72
+ }
+ ]
+ },
+ {
+ "method": "DELETE",
+ "path": "/api/catalog/scraps/:id",
+ "mountPath": "/api/catalog",
+ "sources": [
+ {
+ "source": "server/routes/catalog.js",
+ "line": 98
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/catalog/scraps/:id",
+ "mountPath": "/api/catalog",
+ "sources": [
+ {
+ "source": "server/routes/catalog.js",
+ "line": 65
+ }
+ ]
+ },
+ {
+ "method": "PATCH",
+ "path": "/api/catalog/scraps/:id",
+ "mountPath": "/api/catalog",
+ "sources": [
+ {
+ "source": "server/routes/catalog.js",
+ "line": 91
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/catalog/scraps/:id/commit",
+ "mountPath": "/api/catalog",
+ "sources": [
+ {
+ "source": "server/routes/catalog.js",
+ "line": 152
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/catalog/scraps/:id/extract",
+ "mountPath": "/api/catalog",
+ "sources": [
+ {
+ "source": "server/routes/catalog.js",
+ "line": 103
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/catalog/stats",
+ "mountPath": "/api/catalog",
+ "sources": [
+ {
+ "source": "server/routes/catalog.js",
+ "line": 56
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/catalog/sync",
+ "mountPath": "/api/catalog",
+ "sources": [
+ {
+ "source": "server/routes/catalog.js",
+ "line": 664
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/catalog/sync/apply",
+ "mountPath": "/api/catalog",
+ "sources": [
+ {
+ "source": "server/routes/catalog.js",
+ "line": 706
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/catalog/tags",
+ "mountPath": "/api/catalog",
+ "sources": [
+ {
+ "source": "server/routes/catalog.js",
+ "line": 176
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/catalog/types",
+ "mountPath": "/api/catalog",
+ "sources": [
+ {
+ "source": "server/routes/catalog.js",
+ "line": 786
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/catalog/types",
+ "mountPath": "/api/catalog",
+ "sources": [
+ {
+ "source": "server/routes/catalog.js",
+ "line": 802
+ }
+ ]
+ },
+ {
+ "method": "DELETE",
+ "path": "/api/catalog/types/:id",
+ "mountPath": "/api/catalog",
+ "sources": [
+ {
+ "source": "server/routes/catalog.js",
+ "line": 842
+ }
+ ]
+ },
+ {
+ "method": "PATCH",
+ "path": "/api/catalog/types/:id",
+ "mountPath": "/api/catalog",
+ "sources": [
+ {
+ "source": "server/routes/catalog.js",
+ "line": 825
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/character",
+ "mountPath": "/api/character",
+ "sources": [
+ {
+ "source": "server/routes/character.js",
+ "line": 70
+ }
+ ]
+ },
+ {
+ "method": "PUT",
+ "path": "/api/character",
+ "mountPath": "/api/character",
+ "sources": [
+ {
+ "source": "server/routes/character.js",
+ "line": 79
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/character/damage",
+ "mountPath": "/api/character",
+ "sources": [
+ {
+ "source": "server/routes/character.js",
+ "line": 92
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/character/event",
+ "mountPath": "/api/character",
+ "sources": [
+ {
+ "source": "server/routes/character.js",
+ "line": 106
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/character/reset",
+ "mountPath": "/api/character",
+ "sources": [
+ {
+ "source": "server/routes/character.js",
+ "line": 125
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/character/rest",
+ "mountPath": "/api/character",
+ "sources": [
+ {
+ "source": "server/routes/character.js",
+ "line": 99
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/character/sync/jira",
+ "mountPath": "/api/character",
+ "sources": [
+ {
+ "source": "server/routes/character.js",
+ "line": 113
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/character/sync/tasks",
+ "mountPath": "/api/character",
+ "sources": [
+ {
+ "source": "server/routes/character.js",
+ "line": 119
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/character/xp",
+ "mountPath": "/api/character",
+ "sources": [
+ {
+ "source": "server/routes/character.js",
+ "line": 85
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/city/introspection",
+ "mountPath": "/api/city",
+ "sources": [
+ {
+ "source": "server/routes/openWorldRoutes.js",
+ "line": 30
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/city/snapshots",
+ "mountPath": "/api/city",
+ "sources": [
+ {
+ "source": "server/routes/openWorldRoutes.js",
+ "line": 16
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/city/snapshots/capture",
+ "mountPath": "/api/city",
+ "sources": [
+ {
+ "source": "server/routes/openWorldRoutes.js",
+ "line": 23
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/city/snapshots/config",
+ "mountPath": "/api/city",
+ "sources": [
+ {
+ "source": "server/routes/openWorldRoutes.js",
+ "line": 35
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/client-errors",
+ "mountPath": "/api/client-errors",
+ "sources": [
+ {
+ "source": "server/routes/clientErrors.js",
+ "line": 17
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/code-review/defaults",
+ "mountPath": "/api/code-review",
+ "sources": [
+ {
+ "source": "server/routes/codeReview.js",
+ "line": 46
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/code-review/local",
+ "mountPath": "/api/code-review",
+ "sources": [
+ {
+ "source": "server/routes/codeReview.js",
+ "line": 55
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/commands/:id/stop",
+ "mountPath": "/api/commands",
+ "sources": [
+ {
+ "source": "server/routes/commands.js",
+ "line": 70
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/commands/allowed",
+ "mountPath": "/api/commands",
+ "sources": [
+ {
+ "source": "server/routes/commands.js",
+ "line": 81
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/commands/execute",
+ "mountPath": "/api/commands",
+ "sources": [
+ {
+ "source": "server/routes/commands.js",
+ "line": 12
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/commands/processes",
+ "mountPath": "/api/commands",
+ "sources": [
+ {
+ "source": "server/routes/commands.js",
+ "line": 86
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/commands/processes/:name/monit",
+ "mountPath": "/api/commands",
+ "sources": [
+ {
+ "source": "server/routes/commands.js",
+ "line": 92
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/conflict-journal",
+ "mountPath": "/api/conflict-journal",
+ "sources": [
+ {
+ "source": "server/routes/conflictJournal.js",
+ "line": 36
+ }
+ ]
+ },
+ {
+ "method": "DELETE",
+ "path": "/api/conflict-journal/:id",
+ "mountPath": "/api/conflict-journal",
+ "sources": [
+ {
+ "source": "server/routes/conflictJournal.js",
+ "line": 52
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/conflict-journal/:id",
+ "mountPath": "/api/conflict-journal",
+ "sources": [
+ {
+ "source": "server/routes/conflictJournal.js",
+ "line": 41
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/conflict-journal/:id/resolve",
+ "mountPath": "/api/conflict-journal",
+ "sources": [
+ {
+ "source": "server/routes/conflictJournal.js",
+ "line": 46
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/contacts/enrich-tribe",
+ "mountPath": "/api/contacts",
+ "sources": [
+ {
+ "source": "server/routes/contacts.js",
+ "line": 57
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/contacts/import-to-tribe",
+ "mountPath": "/api/contacts",
+ "sources": [
+ {
+ "source": "server/routes/contacts.js",
+ "line": 85
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/contacts/resolve",
+ "mountPath": "/api/contacts",
+ "sources": [
+ {
+ "source": "server/routes/contacts.js",
+ "line": 45
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/contacts/search",
+ "mountPath": "/api/contacts",
+ "sources": [
+ {
+ "source": "server/routes/contacts.js",
+ "line": 35
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/contacts/setup-check",
+ "mountPath": "/api/contacts",
+ "sources": [
+ {
+ "source": "server/routes/contacts.js",
+ "line": 13
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/contacts/status",
+ "mountPath": "/api/contacts",
+ "sources": [
+ {
+ "source": "server/routes/contacts.js",
+ "line": 19
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/contacts/suggest-tribe",
+ "mountPath": "/api/contacts",
+ "sources": [
+ {
+ "source": "server/routes/contacts.js",
+ "line": 67
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/contacts/sync",
+ "mountPath": "/api/contacts",
+ "sources": [
+ {
+ "source": "server/routes/contacts.js",
+ "line": 25
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/cos",
+ "mountPath": "/api/cos",
+ "sources": [
+ {
+ "source": "server/routes/cosStatusRoutes.js",
+ "line": 104
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/cos/actionable-insights",
+ "mountPath": "/api/cos",
+ "sources": [
+ {
+ "source": "server/routes/cosInsightRoutes.js",
+ "line": 51
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/cos/activity/today",
+ "mountPath": "/api/cos",
+ "sources": [
+ {
+ "source": "server/routes/cosReportRoutes.js",
+ "line": 146
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/cos/activity/while-away",
+ "mountPath": "/api/cos",
+ "sources": [
+ {
+ "source": "server/routes/cosReportRoutes.js",
+ "line": 153
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/cos/agents",
+ "mountPath": "/api/cos",
+ "sources": [
+ {
+ "source": "server/routes/cosAgentRoutes.js",
+ "line": 40
+ }
+ ]
+ },
+ {
+ "method": "DELETE",
+ "path": "/api/cos/agents/:id",
+ "mountPath": "/api/cos",
+ "sources": [
+ {
+ "source": "server/routes/cosAgentRoutes.js",
+ "line": 137
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/cos/agents/:id",
+ "mountPath": "/api/cos",
+ "sources": [
+ {
+ "source": "server/routes/cosAgentRoutes.js",
+ "line": 70
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/cos/agents/:id/btw",
+ "mountPath": "/api/cos",
+ "sources": [
+ {
+ "source": "server/routes/cosAgentRoutes.js",
+ "line": 157
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/cos/agents/:id/feedback",
+ "mountPath": "/api/cos",
+ "sources": [
+ {
+ "source": "server/routes/cosAgentRoutes.js",
+ "line": 143
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/cos/agents/:id/kill",
+ "mountPath": "/api/cos",
+ "sources": [
+ {
+ "source": "server/routes/cosAgentRoutes.js",
+ "line": 117
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/cos/agents/:id/pause",
+ "mountPath": "/api/cos",
+ "sources": [
+ {
+ "source": "server/routes/cosAgentRoutes.js",
+ "line": 98
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/cos/agents/:id/prompt",
+ "mountPath": "/api/cos",
+ "sources": [
+ {
+ "source": "server/routes/cosAgentRoutes.js",
+ "line": 82
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/cos/agents/:id/resume",
+ "mountPath": "/api/cos",
+ "sources": [
+ {
+ "source": "server/routes/cosAgentRoutes.js",
+ "line": 108
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/cos/agents/:id/stats",
+ "mountPath": "/api/cos",
+ "sources": [
+ {
+ "source": "server/routes/cosAgentRoutes.js",
+ "line": 123
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/cos/agents/:id/terminate",
+ "mountPath": "/api/cos",
+ "sources": [
+ {
+ "source": "server/routes/cosAgentRoutes.js",
+ "line": 90
+ }
+ ]
+ },
+ {
+ "method": "DELETE",
+ "path": "/api/cos/agents/completed",
+ "mountPath": "/api/cos",
+ "sources": [
+ {
+ "source": "server/routes/cosAgentRoutes.js",
+ "line": 130
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/cos/agents/history",
+ "mountPath": "/api/cos",
+ "sources": [
+ {
+ "source": "server/routes/cosAgentRoutes.js",
+ "line": 54
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/cos/agents/history/:date",
+ "mountPath": "/api/cos",
+ "sources": [
+ {
+ "source": "server/routes/cosAgentRoutes.js",
+ "line": 60
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/cos/app-activity",
+ "mountPath": "/api/cos",
+ "sources": [
+ {
+ "source": "server/routes/cosReportRoutes.js",
+ "line": 124
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/cos/app-activity/:appId",
+ "mountPath": "/api/cos",
+ "sources": [
+ {
+ "source": "server/routes/cosReportRoutes.js",
+ "line": 130
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/cos/app-activity/:appId/clear-cooldown",
+ "mountPath": "/api/cos",
+ "sources": [
+ {
+ "source": "server/routes/cosReportRoutes.js",
+ "line": 140
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/cos/briefings",
+ "mountPath": "/api/cos",
+ "sources": [
+ {
+ "source": "server/routes/cosReportRoutes.js",
+ "line": 70
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/cos/briefings/:date",
+ "mountPath": "/api/cos",
+ "sources": [
+ {
+ "source": "server/routes/cosReportRoutes.js",
+ "line": 82
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/cos/briefings/latest",
+ "mountPath": "/api/cos",
+ "sources": [
+ {
+ "source": "server/routes/cosReportRoutes.js",
+ "line": 76
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/cos/budget-usage",
+ "mountPath": "/api/cos",
+ "sources": [
+ {
+ "source": "server/routes/cosStatusRoutes.js",
+ "line": 144
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/cos/claude-changelog",
+ "mountPath": "/api/cos",
+ "sources": [
+ {
+ "source": "server/routes/cosReportRoutes.js",
+ "line": 92
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/cos/claude-changelog/cached",
+ "mountPath": "/api/cos",
+ "sources": [
+ {
+ "source": "server/routes/cosReportRoutes.js",
+ "line": 98
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/cos/config",
+ "mountPath": "/api/cos",
+ "sources": [
+ {
+ "source": "server/routes/cosStatusRoutes.js",
+ "line": 137
+ }
+ ]
+ },
+ {
+ "method": "PUT",
+ "path": "/api/cos/config",
+ "mountPath": "/api/cos",
+ "sources": [
+ {
+ "source": "server/routes/cosStatusRoutes.js",
+ "line": 150
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/cos/decisions",
+ "mountPath": "/api/cos",
+ "sources": [
+ {
+ "source": "server/routes/cosInsightRoutes.js",
+ "line": 300
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/cos/decisions/patterns",
+ "mountPath": "/api/cos",
+ "sources": [
+ {
+ "source": "server/routes/cosInsightRoutes.js",
+ "line": 314
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/cos/decisions/summary",
+ "mountPath": "/api/cos",
+ "sources": [
+ {
+ "source": "server/routes/cosInsightRoutes.js",
+ "line": 308
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/cos/digest",
+ "mountPath": "/api/cos",
+ "sources": [
+ {
+ "source": "server/routes/cosLearningRoutes.js",
+ "line": 203
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/cos/digest/:weekId",
+ "mountPath": "/api/cos",
+ "sources": [
+ {
+ "source": "server/routes/cosLearningRoutes.js",
+ "line": 242
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/cos/digest/compare",
+ "mountPath": "/api/cos",
+ "sources": [
+ {
+ "source": "server/routes/cosLearningRoutes.js",
+ "line": 227
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/cos/digest/generate",
+ "mountPath": "/api/cos",
+ "sources": [
+ {
+ "source": "server/routes/cosLearningRoutes.js",
+ "line": 258
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/cos/digest/list",
+ "mountPath": "/api/cos",
+ "sources": [
+ {
+ "source": "server/routes/cosLearningRoutes.js",
+ "line": 209
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/cos/digest/progress",
+ "mountPath": "/api/cos",
+ "sources": [
+ {
+ "source": "server/routes/cosLearningRoutes.js",
+ "line": 215
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/cos/digest/text",
+ "mountPath": "/api/cos",
+ "sources": [
+ {
+ "source": "server/routes/cosLearningRoutes.js",
+ "line": 221
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/cos/evaluate",
+ "mountPath": "/api/cos",
+ "sources": [
+ {
+ "source": "server/routes/cosTaskRoutes.js",
+ "line": 439
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/cos/feedback/stats",
+ "mountPath": "/api/cos",
+ "sources": [
+ {
+ "source": "server/routes/cosAgentRoutes.js",
+ "line": 176
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/cos/goal-progress",
+ "mountPath": "/api/cos",
+ "sources": [
+ {
+ "source": "server/routes/cosInsightRoutes.js",
+ "line": 284
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/cos/goal-progress/summary",
+ "mountPath": "/api/cos",
+ "sources": [
+ {
+ "source": "server/routes/cosInsightRoutes.js",
+ "line": 290
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/cos/gsd/projects",
+ "mountPath": "/api/cos/gsd",
+ "sources": [
+ {
+ "source": "server/routes/gsd.js",
+ "line": 57
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/cos/gsd/projects/:appId",
+ "mountPath": "/api/cos/gsd",
+ "sources": [
+ {
+ "source": "server/routes/gsd.js",
+ "line": 63
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/cos/gsd/projects/:appId/concerns",
+ "mountPath": "/api/cos/gsd",
+ "sources": [
+ {
+ "source": "server/routes/gsd.js",
+ "line": 72
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/cos/gsd/projects/:appId/concerns/tasks",
+ "mountPath": "/api/cos/gsd",
+ "sources": [
+ {
+ "source": "server/routes/gsd.js",
+ "line": 104
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/cos/gsd/projects/:appId/documents/:docName",
+ "mountPath": "/api/cos/gsd",
+ "sources": [
+ {
+ "source": "server/routes/gsd.js",
+ "line": 154
+ }
+ ]
+ },
+ {
+ "method": "PUT",
+ "path": "/api/cos/gsd/projects/:appId/documents/:docName",
+ "mountPath": "/api/cos/gsd",
+ "sources": [
+ {
+ "source": "server/routes/gsd.js",
+ "line": 180
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/cos/gsd/projects/:appId/phases",
+ "mountPath": "/api/cos/gsd",
+ "sources": [
+ {
+ "source": "server/routes/gsd.js",
+ "line": 81
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/cos/gsd/projects/:appId/phases/:phaseId",
+ "mountPath": "/api/cos/gsd",
+ "sources": [
+ {
+ "source": "server/routes/gsd.js",
+ "line": 91
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/cos/gsd/projects/:appId/phases/:phaseId/action",
+ "mountPath": "/api/cos/gsd",
+ "sources": [
+ {
+ "source": "server/routes/gsd.js",
+ "line": 127
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/cos/health",
+ "mountPath": "/api/cos",
+ "sources": [
+ {
+ "source": "server/routes/cosAgentRoutes.js",
+ "line": 27
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/cos/health/check",
+ "mountPath": "/api/cos",
+ "sources": [
+ {
+ "source": "server/routes/cosAgentRoutes.js",
+ "line": 33
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/cos/jobs",
+ "mountPath": "/api/cos",
+ "sources": [
+ {
+ "source": "server/routes/cosJobRoutes.js",
+ "line": 43
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/cos/jobs",
+ "mountPath": "/api/cos",
+ "sources": [
+ {
+ "source": "server/routes/cosJobRoutes.js",
+ "line": 110
+ }
+ ]
+ },
+ {
+ "method": "DELETE",
+ "path": "/api/cos/jobs/:id",
+ "mountPath": "/api/cos",
+ "sources": [
+ {
+ "source": "server/routes/cosJobRoutes.js",
+ "line": 271
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/cos/jobs/:id",
+ "mountPath": "/api/cos",
+ "sources": [
+ {
+ "source": "server/routes/cosJobRoutes.js",
+ "line": 101
+ }
+ ]
+ },
+ {
+ "method": "PUT",
+ "path": "/api/cos/jobs/:id",
+ "mountPath": "/api/cos",
+ "sources": [
+ {
+ "source": "server/routes/cosJobRoutes.js",
+ "line": 136
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/cos/jobs/:id/gate-check",
+ "mountPath": "/api/cos",
+ "sources": [
+ {
+ "source": "server/routes/cosJobRoutes.js",
+ "line": 95
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/cos/jobs/:id/toggle",
+ "mountPath": "/api/cos",
+ "sources": [
+ {
+ "source": "server/routes/cosJobRoutes.js",
+ "line": 156
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/cos/jobs/:id/trigger",
+ "mountPath": "/api/cos",
+ "sources": [
+ {
+ "source": "server/routes/cosJobRoutes.js",
+ "line": 165
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/cos/jobs/allowed-commands",
+ "mountPath": "/api/cos",
+ "sources": [
+ {
+ "source": "server/routes/cosJobRoutes.js",
+ "line": 73
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/cos/jobs/due",
+ "mountPath": "/api/cos",
+ "sources": [
+ {
+ "source": "server/routes/cosJobRoutes.js",
+ "line": 62
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/cos/jobs/gates",
+ "mountPath": "/api/cos",
+ "sources": [
+ {
+ "source": "server/routes/cosJobRoutes.js",
+ "line": 78
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/cos/jobs/intervals",
+ "mountPath": "/api/cos",
+ "sources": [
+ {
+ "source": "server/routes/cosJobRoutes.js",
+ "line": 68
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/cos/learning",
+ "mountPath": "/api/cos",
+ "sources": [
+ {
+ "source": "server/routes/cosLearningRoutes.js",
+ "line": 21
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/cos/learning/backfill",
+ "mountPath": "/api/cos",
+ "sources": [
+ {
+ "source": "server/routes/cosLearningRoutes.js",
+ "line": 33
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/cos/learning/confidence",
+ "mountPath": "/api/cos",
+ "sources": [
+ {
+ "source": "server/routes/cosLearningRoutes.js",
+ "line": 183
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/cos/learning/confidence/:taskType",
+ "mountPath": "/api/cos",
+ "sources": [
+ {
+ "source": "server/routes/cosLearningRoutes.js",
+ "line": 191
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/cos/learning/cooldown/:taskType",
+ "mountPath": "/api/cos",
+ "sources": [
+ {
+ "source": "server/routes/cosLearningRoutes.js",
+ "line": 64
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/cos/learning/durations",
+ "mountPath": "/api/cos",
+ "sources": [
+ {
+ "source": "server/routes/cosLearningRoutes.js",
+ "line": 27
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/cos/learning/insights",
+ "mountPath": "/api/cos",
+ "sources": [
+ {
+ "source": "server/routes/cosLearningRoutes.js",
+ "line": 92
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/cos/learning/insights",
+ "mountPath": "/api/cos",
+ "sources": [
+ {
+ "source": "server/routes/cosLearningRoutes.js",
+ "line": 102
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/cos/learning/performance",
+ "mountPath": "/api/cos",
+ "sources": [
+ {
+ "source": "server/routes/cosLearningRoutes.js",
+ "line": 80
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/cos/learning/recalculate-durations",
+ "mountPath": "/api/cos",
+ "sources": [
+ {
+ "source": "server/routes/cosLearningRoutes.js",
+ "line": 177
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/cos/learning/recalculate-model-tiers",
+ "mountPath": "/api/cos",
+ "sources": [
+ {
+ "source": "server/routes/cosLearningRoutes.js",
+ "line": 171
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/cos/learning/recommendations",
+ "mountPath": "/api/cos",
+ "sources": [
+ {
+ "source": "server/routes/cosLearningRoutes.js",
+ "line": 116
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/cos/learning/recommendations/:taskType",
+ "mountPath": "/api/cos",
+ "sources": [
+ {
+ "source": "server/routes/cosLearningRoutes.js",
+ "line": 161
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/cos/learning/recommendations/clear-dismissed",
+ "mountPath": "/api/cos",
+ "sources": [
+ {
+ "source": "server/routes/cosLearningRoutes.js",
+ "line": 155
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/cos/learning/recommendations/dismiss",
+ "mountPath": "/api/cos",
+ "sources": [
+ {
+ "source": "server/routes/cosLearningRoutes.js",
+ "line": 137
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/cos/learning/recommendations/dismissed",
+ "mountPath": "/api/cos",
+ "sources": [
+ {
+ "source": "server/routes/cosLearningRoutes.js",
+ "line": 131
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/cos/learning/recommendations/restore",
+ "mountPath": "/api/cos",
+ "sources": [
+ {
+ "source": "server/routes/cosLearningRoutes.js",
+ "line": 146
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/cos/learning/reset/:taskType",
+ "mountPath": "/api/cos",
+ "sources": [
+ {
+ "source": "server/routes/cosLearningRoutes.js",
+ "line": 51
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/cos/learning/routing",
+ "mountPath": "/api/cos",
+ "sources": [
+ {
+ "source": "server/routes/cosLearningRoutes.js",
+ "line": 74
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/cos/learning/skipped",
+ "mountPath": "/api/cos",
+ "sources": [
+ {
+ "source": "server/routes/cosLearningRoutes.js",
+ "line": 39
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/cos/learning/summary",
+ "mountPath": "/api/cos",
+ "sources": [
+ {
+ "source": "server/routes/cosLearningRoutes.js",
+ "line": 86
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/cos/mind",
+ "mountPath": "/api/cos",
+ "sources": [
+ {
+ "source": "server/routes/cosMindRoutes.js",
+ "line": 150
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/cos/mind/annotations",
+ "mountPath": "/api/cos",
+ "sources": [
+ {
+ "source": "server/routes/cosMindRoutes.js",
+ "line": 268
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/cos/mind/attachments",
+ "mountPath": "/api/cos",
+ "sources": [
+ {
+ "source": "server/routes/cosMindRoutes.js",
+ "line": 253
+ }
+ ]
+ },
+ {
+ "method": "DELETE",
+ "path": "/api/cos/mind/attachments/:attachmentId",
+ "mountPath": "/api/cos",
+ "sources": [
+ {
+ "source": "server/routes/cosMindRoutes.js",
+ "line": 258
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/cos/mind/context",
+ "mountPath": "/api/cos",
+ "sources": [
+ {
+ "source": "server/routes/cosMindRoutes.js",
+ "line": 177
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/cos/mind/events/:eventId/acknowledge",
+ "mountPath": "/api/cos",
+ "sources": [
+ {
+ "source": "server/routes/cosMindRoutes.js",
+ "line": 294
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/cos/mind/events/:eventId/promote",
+ "mountPath": "/api/cos",
+ "sources": [
+ {
+ "source": "server/routes/cosMindRoutes.js",
+ "line": 307
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/cos/mind/memories",
+ "mountPath": "/api/cos",
+ "sources": [
+ {
+ "source": "server/routes/cosMindRoutes.js",
+ "line": 239
+ }
+ ]
+ },
+ {
+ "method": "PUT",
+ "path": "/api/cos/mind/memories/:memoryId",
+ "mountPath": "/api/cos",
+ "sources": [
+ {
+ "source": "server/routes/cosMindRoutes.js",
+ "line": 245
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/cos/mind/messages",
+ "mountPath": "/api/cos",
+ "sources": [
+ {
+ "source": "server/routes/cosMindRoutes.js",
+ "line": 263
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/cos/mind/pause",
+ "mountPath": "/api/cos",
+ "sources": [
+ {
+ "source": "server/routes/cosMindRoutes.js",
+ "line": 280
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/cos/mind/resume",
+ "mountPath": "/api/cos",
+ "sources": [
+ {
+ "source": "server/routes/cosMindRoutes.js",
+ "line": 286
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/cos/mind/runtime",
+ "mountPath": "/api/cos",
+ "sources": [
+ {
+ "source": "server/routes/cosMindRoutes.js",
+ "line": 220
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/cos/mind/start",
+ "mountPath": "/api/cos",
+ "sources": [
+ {
+ "source": "server/routes/cosMindRoutes.js",
+ "line": 276
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/cos/mind/stop",
+ "mountPath": "/api/cos",
+ "sources": [
+ {
+ "source": "server/routes/cosMindRoutes.js",
+ "line": 290
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/cos/mind/tools",
+ "mountPath": "/api/cos",
+ "sources": [
+ {
+ "source": "server/routes/cosMindRoutes.js",
+ "line": 204
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/cos/mind/visibility",
+ "mountPath": "/api/cos",
+ "sources": [
+ {
+ "source": "server/routes/cosMindRoutes.js",
+ "line": 229
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/cos/pause",
+ "mountPath": "/api/cos",
+ "sources": [
+ {
+ "source": "server/routes/cosStatusRoutes.js",
+ "line": 124
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/cos/productivity",
+ "mountPath": "/api/cos",
+ "sources": [
+ {
+ "source": "server/routes/cosInsightRoutes.js",
+ "line": 18
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/cos/productivity/calendar",
+ "mountPath": "/api/cos",
+ "sources": [
+ {
+ "source": "server/routes/cosInsightRoutes.js",
+ "line": 43
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/cos/productivity/recalculate",
+ "mountPath": "/api/cos",
+ "sources": [
+ {
+ "source": "server/routes/cosInsightRoutes.js",
+ "line": 30
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/cos/productivity/summary",
+ "mountPath": "/api/cos",
+ "sources": [
+ {
+ "source": "server/routes/cosInsightRoutes.js",
+ "line": 24
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/cos/productivity/trends",
+ "mountPath": "/api/cos",
+ "sources": [
+ {
+ "source": "server/routes/cosInsightRoutes.js",
+ "line": 36
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/cos/quick-summary",
+ "mountPath": "/api/cos",
+ "sources": [
+ {
+ "source": "server/routes/cosInsightRoutes.js",
+ "line": 214
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/cos/recent-tasks",
+ "mountPath": "/api/cos",
+ "sources": [
+ {
+ "source": "server/routes/cosInsightRoutes.js",
+ "line": 206
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/cos/reports",
+ "mountPath": "/api/cos",
+ "sources": [
+ {
+ "source": "server/routes/cosReportRoutes.js",
+ "line": 41
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/cos/reports/:date",
+ "mountPath": "/api/cos",
+ "sources": [
+ {
+ "source": "server/routes/cosReportRoutes.js",
+ "line": 53
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/cos/reports/generate",
+ "mountPath": "/api/cos",
+ "sources": [
+ {
+ "source": "server/routes/cosReportRoutes.js",
+ "line": 63
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/cos/reports/today",
+ "mountPath": "/api/cos",
+ "sources": [
+ {
+ "source": "server/routes/cosReportRoutes.js",
+ "line": 47
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/cos/resume",
+ "mountPath": "/api/cos",
+ "sources": [
+ {
+ "source": "server/routes/cosStatusRoutes.js",
+ "line": 131
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/cos/schedule",
+ "mountPath": "/api/cos",
+ "sources": [
+ {
+ "source": "server/routes/cosScheduleRoutes.js",
+ "line": 95
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/cos/schedule/due",
+ "mountPath": "/api/cos",
+ "sources": [
+ {
+ "source": "server/routes/cosScheduleRoutes.js",
+ "line": 129
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/cos/schedule/due/:appId",
+ "mountPath": "/api/cos",
+ "sources": [
+ {
+ "source": "server/routes/cosScheduleRoutes.js",
+ "line": 135
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/cos/schedule/interval-types",
+ "mountPath": "/api/cos",
+ "sources": [
+ {
+ "source": "server/routes/cosScheduleRoutes.js",
+ "line": 219
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/cos/schedule/on-demand",
+ "mountPath": "/api/cos",
+ "sources": [
+ {
+ "source": "server/routes/cosScheduleRoutes.js",
+ "line": 157
+ }
+ ]
+ },
+ {
+ "method": "DELETE",
+ "path": "/api/cos/schedule/on-demand/:requestId",
+ "mountPath": "/api/cos",
+ "sources": [
+ {
+ "source": "server/routes/cosScheduleRoutes.js",
+ "line": 163
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/cos/schedule/reset",
+ "mountPath": "/api/cos",
+ "sources": [
+ {
+ "source": "server/routes/cosScheduleRoutes.js",
+ "line": 173
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/cos/schedule/task/:taskType",
+ "mountPath": "/api/cos",
+ "sources": [
+ {
+ "source": "server/routes/cosScheduleRoutes.js",
+ "line": 108
+ }
+ ]
+ },
+ {
+ "method": "PUT",
+ "path": "/api/cos/schedule/task/:taskType",
+ "mountPath": "/api/cos",
+ "sources": [
+ {
+ "source": "server/routes/cosScheduleRoutes.js",
+ "line": 116
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/cos/schedule/templates",
+ "mountPath": "/api/cos",
+ "sources": [
+ {
+ "source": "server/routes/cosScheduleRoutes.js",
+ "line": 188
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/cos/schedule/templates",
+ "mountPath": "/api/cos",
+ "sources": [
+ {
+ "source": "server/routes/cosScheduleRoutes.js",
+ "line": 194
+ }
+ ]
+ },
+ {
+ "method": "DELETE",
+ "path": "/api/cos/schedule/templates/:templateId",
+ "mountPath": "/api/cos",
+ "sources": [
+ {
+ "source": "server/routes/cosScheduleRoutes.js",
+ "line": 209
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/cos/schedule/trigger",
+ "mountPath": "/api/cos",
+ "sources": [
+ {
+ "source": "server/routes/cosScheduleRoutes.js",
+ "line": 142
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/cos/scripts",
+ "mountPath": "/api/cos",
+ "sources": [
+ {
+ "source": "server/routes/cosReportRoutes.js",
+ "line": 104
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/cos/scripts/:name",
+ "mountPath": "/api/cos",
+ "sources": [
+ {
+ "source": "server/routes/cosReportRoutes.js",
+ "line": 110
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/cos/start",
+ "mountPath": "/api/cos",
+ "sources": [
+ {
+ "source": "server/routes/cosStatusRoutes.js",
+ "line": 110
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/cos/stop",
+ "mountPath": "/api/cos",
+ "sources": [
+ {
+ "source": "server/routes/cosStatusRoutes.js",
+ "line": 117
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/cos/tasks",
+ "mountPath": "/api/cos",
+ "sources": [
+ {
+ "source": "server/routes/cosTaskRoutes.js",
+ "line": 79
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/cos/tasks",
+ "mountPath": "/api/cos",
+ "sources": [
+ {
+ "source": "server/routes/cosTaskRoutes.js",
+ "line": 323
+ }
+ ]
+ },
+ {
+ "method": "DELETE",
+ "path": "/api/cos/tasks/:id",
+ "mountPath": "/api/cos",
+ "sources": [
+ {
+ "source": "server/routes/cosTaskRoutes.js",
+ "line": 381
+ }
+ ]
+ },
+ {
+ "method": "PUT",
+ "path": "/api/cos/tasks/:id",
+ "mountPath": "/api/cos",
+ "sources": [
+ {
+ "source": "server/routes/cosTaskRoutes.js",
+ "line": 339
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/cos/tasks/:id/approve",
+ "mountPath": "/api/cos",
+ "sources": [
+ {
+ "source": "server/routes/cosTaskRoutes.js",
+ "line": 393
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/cos/tasks/:id/challenge",
+ "mountPath": "/api/cos",
+ "sources": [
+ {
+ "source": "server/routes/cosTaskRoutes.js",
+ "line": 406
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/cos/tasks/:id/challenge/resolve",
+ "mountPath": "/api/cos",
+ "sources": [
+ {
+ "source": "server/routes/cosTaskRoutes.js",
+ "line": 423
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/cos/tasks/:id/spawn",
+ "mountPath": "/api/cos",
+ "sources": [
+ {
+ "source": "server/routes/cosTaskRoutes.js",
+ "line": 445
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/cos/tasks/enhance",
+ "mountPath": "/api/cos",
+ "sources": [
+ {
+ "source": "server/routes/cosTaskRoutes.js",
+ "line": 133
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/cos/tasks/internal",
+ "mountPath": "/api/cos",
+ "sources": [
+ {
+ "source": "server/routes/cosTaskRoutes.js",
+ "line": 109
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/cos/tasks/jira-ticket",
+ "mountPath": "/api/cos",
+ "sources": [
+ {
+ "source": "server/routes/cosTaskRoutes.js",
+ "line": 289
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/cos/tasks/refresh",
+ "mountPath": "/api/cos",
+ "sources": [
+ {
+ "source": "server/routes/cosTaskRoutes.js",
+ "line": 115
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/cos/tasks/reorder",
+ "mountPath": "/api/cos",
+ "sources": [
+ {
+ "source": "server/routes/cosTaskRoutes.js",
+ "line": 121
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/cos/tasks/slashdo",
+ "mountPath": "/api/cos",
+ "sources": [
+ {
+ "source": "server/routes/cosTaskRoutes.js",
+ "line": 152
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/cos/tasks/user",
+ "mountPath": "/api/cos",
+ "sources": [
+ {
+ "source": "server/routes/cosTaskRoutes.js",
+ "line": 103
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/cos/templates",
+ "mountPath": "/api/cos",
+ "sources": [
+ {
+ "source": "server/routes/cosTemplateRoutes.js",
+ "line": 18
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/cos/templates",
+ "mountPath": "/api/cos",
+ "sources": [
+ {
+ "source": "server/routes/cosTemplateRoutes.js",
+ "line": 37
+ }
+ ]
+ },
+ {
+ "method": "DELETE",
+ "path": "/api/cos/templates/:id",
+ "mountPath": "/api/cos",
+ "sources": [
+ {
+ "source": "server/routes/cosTemplateRoutes.js",
+ "line": 69
+ }
+ ]
+ },
+ {
+ "method": "PUT",
+ "path": "/api/cos/templates/:id",
+ "mountPath": "/api/cos",
+ "sources": [
+ {
+ "source": "server/routes/cosTemplateRoutes.js",
+ "line": 56
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/cos/templates/:id/use",
+ "mountPath": "/api/cos",
+ "sources": [
+ {
+ "source": "server/routes/cosTemplateRoutes.js",
+ "line": 50
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/cos/templates/categories",
+ "mountPath": "/api/cos",
+ "sources": [
+ {
+ "source": "server/routes/cosTemplateRoutes.js",
+ "line": 31
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/cos/templates/from-task",
+ "mountPath": "/api/cos",
+ "sources": [
+ {
+ "source": "server/routes/cosTemplateRoutes.js",
+ "line": 43
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/cos/templates/popular",
+ "mountPath": "/api/cos",
+ "sources": [
+ {
+ "source": "server/routes/cosTemplateRoutes.js",
+ "line": 24
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/cos/tools",
+ "mountPath": "/api/cos",
+ "sources": [
+ {
+ "source": "server/routes/cosToolRoutes.js",
+ "line": 26
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/cos/tools/call",
+ "mountPath": "/api/cos",
+ "sources": [
+ {
+ "source": "server/routes/cosToolRoutes.js",
+ "line": 44
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/cos/tools/calls/:requestId",
+ "mountPath": "/api/cos",
+ "sources": [
+ {
+ "source": "server/routes/cosToolRoutes.js",
+ "line": 60
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/cos/upcoming",
+ "mountPath": "/api/cos",
+ "sources": [
+ {
+ "source": "server/routes/cosScheduleRoutes.js",
+ "line": 101
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/cos/watcher",
+ "mountPath": "/api/cos",
+ "sources": [
+ {
+ "source": "server/routes/cosReportRoutes.js",
+ "line": 119
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/cos/workflow",
+ "mountPath": "/api/cos",
+ "sources": [
+ {
+ "source": "server/routes/cosWorkflowRoutes.js",
+ "line": 12
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/cos/workflow/stages",
+ "mountPath": "/api/cos",
+ "sources": [
+ {
+ "source": "server/routes/cosWorkflowRoutes.js",
+ "line": 19
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/creative-commission",
+ "mountPath": "/api/creative-commission",
+ "sources": [
+ {
+ "source": "server/routes/creativeCommissions.js",
+ "line": 33
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/creative-commission",
+ "mountPath": "/api/creative-commission",
+ "sources": [
+ {
+ "source": "server/routes/creativeCommissions.js",
+ "line": 39
+ }
+ ]
+ },
+ {
+ "method": "DELETE",
+ "path": "/api/creative-commission/:id",
+ "mountPath": "/api/creative-commission",
+ "sources": [
+ {
+ "source": "server/routes/creativeCommissions.js",
+ "line": 78
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/creative-commission/:id",
+ "mountPath": "/api/creative-commission",
+ "sources": [
+ {
+ "source": "server/routes/creativeCommissions.js",
+ "line": 45
+ }
+ ]
+ },
+ {
+ "method": "PATCH",
+ "path": "/api/creative-commission/:id",
+ "mountPath": "/api/creative-commission",
+ "sources": [
+ {
+ "source": "server/routes/creativeCommissions.js",
+ "line": 50
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/creative-commission/:id/feedback",
+ "mountPath": "/api/creative-commission",
+ "sources": [
+ {
+ "source": "server/routes/creativeCommissions.js",
+ "line": 72
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/creative-commission/:id/run",
+ "mountPath": "/api/creative-commission",
+ "sources": [
+ {
+ "source": "server/routes/creativeCommissions.js",
+ "line": 62
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/creative-director",
+ "mountPath": "/api/creative-director",
+ "sources": [
+ {
+ "source": "server/routes/creativeDirector.js",
+ "line": 58
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/creative-director",
+ "mountPath": "/api/creative-director",
+ "sources": [
+ {
+ "source": "server/routes/creativeDirector.js",
+ "line": 123
+ }
+ ]
+ },
+ {
+ "method": "DELETE",
+ "path": "/api/creative-director/:id",
+ "mountPath": "/api/creative-director",
+ "sources": [
+ {
+ "source": "server/routes/creativeDirector.js",
+ "line": 158
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/creative-director/:id",
+ "mountPath": "/api/creative-director",
+ "sources": [
+ {
+ "source": "server/routes/creativeDirector.js",
+ "line": 117
+ }
+ ]
+ },
+ {
+ "method": "PATCH",
+ "path": "/api/creative-director/:id",
+ "mountPath": "/api/creative-director",
+ "sources": [
+ {
+ "source": "server/routes/creativeDirector.js",
+ "line": 139
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/creative-director/:id/auto-cast",
+ "mountPath": "/api/creative-director",
+ "sources": [
+ {
+ "source": "server/routes/creativeDirector.js",
+ "line": 179
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/creative-director/:id/directive",
+ "mountPath": "/api/creative-director",
+ "sources": [
+ {
+ "source": "server/routes/creativeDirector.js",
+ "line": 281
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/creative-director/:id/pause",
+ "mountPath": "/api/creative-director",
+ "sources": [
+ {
+ "source": "server/routes/creativeDirector.js",
+ "line": 393
+ }
+ ]
+ },
+ {
+ "method": "PATCH",
+ "path": "/api/creative-director/:id/plan",
+ "mountPath": "/api/creative-director",
+ "sources": [
+ {
+ "source": "server/routes/creativeDirector.js",
+ "line": 258
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/creative-director/:id/plan/step/:stepId",
+ "mountPath": "/api/creative-director",
+ "sources": [
+ {
+ "source": "server/routes/creativeDirector.js",
+ "line": 320
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/creative-director/:id/replan",
+ "mountPath": "/api/creative-director",
+ "sources": [
+ {
+ "source": "server/routes/creativeDirector.js",
+ "line": 302
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/creative-director/:id/resume",
+ "mountPath": "/api/creative-director",
+ "sources": [
+ {
+ "source": "server/routes/creativeDirector.js",
+ "line": 408
+ }
+ ]
+ },
+ {
+ "method": "PATCH",
+ "path": "/api/creative-director/:id/scene/:sceneId",
+ "mountPath": "/api/creative-director",
+ "sources": [
+ {
+ "source": "server/routes/creativeDirector.js",
+ "line": 342
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/creative-director/:id/start",
+ "mountPath": "/api/creative-director",
+ "sources": [
+ {
+ "source": "server/routes/creativeDirector.js",
+ "line": 363
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/creative-director/:id/stop",
+ "mountPath": "/api/creative-director",
+ "sources": [
+ {
+ "source": "server/routes/creativeDirector.js",
+ "line": 151
+ }
+ ]
+ },
+ {
+ "method": "PATCH",
+ "path": "/api/creative-director/:id/treatment",
+ "mountPath": "/api/creative-director",
+ "sources": [
+ {
+ "source": "server/routes/creativeDirector.js",
+ "line": 243
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/creative-director/auto-cast/suggest",
+ "mountPath": "/api/creative-director",
+ "sources": [
+ {
+ "source": "server/routes/creativeDirector.js",
+ "line": 133
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/creative-director/smoke-test",
+ "mountPath": "/api/creative-director",
+ "sources": [
+ {
+ "source": "server/routes/creativeDirector.js",
+ "line": 402
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/creative-director/tools",
+ "mountPath": "/api/creative-director",
+ "sources": [
+ {
+ "source": "server/routes/creativeDirector.js",
+ "line": 74
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/daily-driver",
+ "mountPath": "/api/daily-driver",
+ "sources": [
+ {
+ "source": "server/routes/dailyDriver.js",
+ "line": 19
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/daily-driver/handled",
+ "mountPath": "/api/daily-driver",
+ "sources": [
+ {
+ "source": "server/routes/dailyDriver.js",
+ "line": 25
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/dashboard/daily-actions",
+ "mountPath": "/api/dashboard/daily-actions",
+ "sources": [
+ {
+ "source": "server/routes/dashboardDailyActions.js",
+ "line": 15
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/dashboard/layouts",
+ "mountPath": "/api/dashboard/layouts",
+ "sources": [
+ {
+ "source": "server/routes/dashboardLayouts.js",
+ "line": 105
+ }
+ ]
+ },
+ {
+ "method": "DELETE",
+ "path": "/api/dashboard/layouts/:id",
+ "mountPath": "/api/dashboard/layouts",
+ "sources": [
+ {
+ "source": "server/routes/dashboardLayouts.js",
+ "line": 120
+ }
+ ]
+ },
+ {
+ "method": "PUT",
+ "path": "/api/dashboard/layouts/:id",
+ "mountPath": "/api/dashboard/layouts",
+ "sources": [
+ {
+ "source": "server/routes/dashboardLayouts.js",
+ "line": 115
+ }
+ ]
+ },
+ {
+ "method": "PUT",
+ "path": "/api/dashboard/layouts/active",
+ "mountPath": "/api/dashboard/layouts",
+ "sources": [
+ {
+ "source": "server/routes/dashboardLayouts.js",
+ "line": 109
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/data",
+ "mountPath": "/api/data",
+ "sources": [
+ {
+ "source": "server/routes/dataManager.js",
+ "line": 16
+ }
+ ]
+ },
+ {
+ "method": "DELETE",
+ "path": "/api/data/:category",
+ "mountPath": "/api/data",
+ "sources": [
+ {
+ "source": "server/routes/dataManager.js",
+ "line": 55
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/data/:category",
+ "mountPath": "/api/data",
+ "sources": [
+ {
+ "source": "server/routes/dataManager.js",
+ "line": 28
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/data/:category/archive",
+ "mountPath": "/api/data",
+ "sources": [
+ {
+ "source": "server/routes/dataManager.js",
+ "line": 35
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/data/backups",
+ "mountPath": "/api/data",
+ "sources": [
+ {
+ "source": "server/routes/dataManager.js",
+ "line": 22
+ }
+ ]
+ },
+ {
+ "method": "DELETE",
+ "path": "/api/data/backups/:filename",
+ "mountPath": "/api/data",
+ "sources": [
+ {
+ "source": "server/routes/dataManager.js",
+ "line": 46
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/database/destroy",
+ "mountPath": "/api/database",
+ "sources": [
+ {
+ "source": "server/routes/database.js",
+ "line": 42
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/database/export",
+ "mountPath": "/api/database",
+ "sources": [
+ {
+ "source": "server/routes/database.js",
+ "line": 53
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/database/fix",
+ "mountPath": "/api/database",
+ "sources": [
+ {
+ "source": "server/routes/database.js",
+ "line": 59
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/database/setup-native",
+ "mountPath": "/api/database",
+ "sources": [
+ {
+ "source": "server/routes/database.js",
+ "line": 48
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/database/start",
+ "mountPath": "/api/database",
+ "sources": [
+ {
+ "source": "server/routes/database.js",
+ "line": 30
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/database/status",
+ "mountPath": "/api/database",
+ "sources": [
+ {
+ "source": "server/routes/database.js",
+ "line": 14
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/database/stop",
+ "mountPath": "/api/database",
+ "sources": [
+ {
+ "source": "server/routes/database.js",
+ "line": 36
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/database/switch",
+ "mountPath": "/api/database",
+ "sources": [
+ {
+ "source": "server/routes/database.js",
+ "line": 19
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/database/sync",
+ "mountPath": "/api/database",
+ "sources": [
+ {
+ "source": "server/routes/database.js",
+ "line": 25
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/datadog/instances",
+ "mountPath": "/api/datadog",
+ "sources": [
+ {
+ "source": "server/routes/datadog.js",
+ "line": 32
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/datadog/instances",
+ "mountPath": "/api/datadog",
+ "sources": [
+ {
+ "source": "server/routes/datadog.js",
+ "line": 48
+ }
+ ]
+ },
+ {
+ "method": "DELETE",
+ "path": "/api/datadog/instances/:id",
+ "mountPath": "/api/datadog",
+ "sources": [
+ {
+ "source": "server/routes/datadog.js",
+ "line": 75
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/datadog/instances/:id/search-errors",
+ "mountPath": "/api/datadog",
+ "sources": [
+ {
+ "source": "server/routes/datadog.js",
+ "line": 93
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/datadog/instances/:id/test",
+ "mountPath": "/api/datadog",
+ "sources": [
+ {
+ "source": "server/routes/datadog.js",
+ "line": 84
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/detect/ai",
+ "mountPath": "/api/detect",
+ "sources": [
+ {
+ "source": "server/routes/detect.js",
+ "line": 239
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/detect/pm2",
+ "mountPath": "/api/detect",
+ "sources": [
+ {
+ "source": "server/routes/detect.js",
+ "line": 215
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/detect/port",
+ "mountPath": "/api/detect",
+ "sources": [
+ {
+ "source": "server/routes/detect.js",
+ "line": 171
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/detect/repo",
+ "mountPath": "/api/detect",
+ "sources": [
+ {
+ "source": "server/routes/detect.js",
+ "line": 33
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/devtools/video-download",
+ "mountPath": "/api/devtools/video-download",
+ "sources": [
+ {
+ "source": "server/routes/videoDownload.js",
+ "line": 28
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/devtools/video-download/:jobId/cancel",
+ "mountPath": "/api/devtools/video-download",
+ "sources": [
+ {
+ "source": "server/routes/videoDownload.js",
+ "line": 51
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/devtools/video-download/:jobId/events",
+ "mountPath": "/api/devtools/video-download",
+ "sources": [
+ {
+ "source": "server/routes/videoDownload.js",
+ "line": 45
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/devtools/video-download/downloads",
+ "mountPath": "/api/devtools/video-download",
+ "sources": [
+ {
+ "source": "server/routes/videoDownload.js",
+ "line": 35
+ }
+ ]
+ },
+ {
+ "method": "DELETE",
+ "path": "/api/devtools/video-download/downloads/:id",
+ "mountPath": "/api/devtools/video-download",
+ "sources": [
+ {
+ "source": "server/routes/videoDownload.js",
+ "line": 41
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/digital-twin",
+ "mountPath": "/api/digital-twin",
+ "sources": [
+ {
+ "source": "server/routes/digital-twin/status.js",
+ "line": 17
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/digital-twin/adversarial-tests",
+ "mountPath": "/api/digital-twin",
+ "sources": [
+ {
+ "source": "server/routes/digital-twin/tests.js",
+ "line": 139
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/digital-twin/adversarial-tests/history",
+ "mountPath": "/api/digital-twin",
+ "sources": [
+ {
+ "source": "server/routes/digital-twin/tests.js",
+ "line": 160
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/digital-twin/adversarial-tests/run",
+ "mountPath": "/api/digital-twin",
+ "sources": [
+ {
+ "source": "server/routes/digital-twin/tests.js",
+ "line": 149
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/digital-twin/analyze-writing",
+ "mountPath": "/api/digital-twin",
+ "sources": [
+ {
+ "source": "server/routes/digital-twin/analysis.js",
+ "line": 53
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/digital-twin/autobiography",
+ "mountPath": "/api/digital-twin/autobiography",
+ "sources": [
+ {
+ "source": "server/routes/autobiography.js",
+ "line": 52
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/digital-twin/autobiography/config",
+ "mountPath": "/api/digital-twin/autobiography",
+ "sources": [
+ {
+ "source": "server/routes/autobiography.js",
+ "line": 61
+ }
+ ]
+ },
+ {
+ "method": "PUT",
+ "path": "/api/digital-twin/autobiography/config",
+ "mountPath": "/api/digital-twin/autobiography",
+ "sources": [
+ {
+ "source": "server/routes/autobiography.js",
+ "line": 70
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/digital-twin/autobiography/prompt",
+ "mountPath": "/api/digital-twin/autobiography",
+ "sources": [
+ {
+ "source": "server/routes/autobiography.js",
+ "line": 93
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/digital-twin/autobiography/prompt/:id",
+ "mountPath": "/api/digital-twin/autobiography",
+ "sources": [
+ {
+ "source": "server/routes/autobiography.js",
+ "line": 102
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/digital-twin/autobiography/stories",
+ "mountPath": "/api/digital-twin/autobiography",
+ "sources": [
+ {
+ "source": "server/routes/autobiography.js",
+ "line": 118
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/digital-twin/autobiography/stories",
+ "mountPath": "/api/digital-twin/autobiography",
+ "sources": [
+ {
+ "source": "server/routes/autobiography.js",
+ "line": 127
+ }
+ ]
+ },
+ {
+ "method": "DELETE",
+ "path": "/api/digital-twin/autobiography/stories/:id",
+ "mountPath": "/api/digital-twin/autobiography",
+ "sources": [
+ {
+ "source": "server/routes/autobiography.js",
+ "line": 155
+ }
+ ]
+ },
+ {
+ "method": "PUT",
+ "path": "/api/digital-twin/autobiography/stories/:id",
+ "mountPath": "/api/digital-twin/autobiography",
+ "sources": [
+ {
+ "source": "server/routes/autobiography.js",
+ "line": 142
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/digital-twin/autobiography/stories/:id/chain",
+ "mountPath": "/api/digital-twin/autobiography",
+ "sources": [
+ {
+ "source": "server/routes/autobiography.js",
+ "line": 184
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/digital-twin/autobiography/stories/:id/follow-ups",
+ "mountPath": "/api/digital-twin/autobiography",
+ "sources": [
+ {
+ "source": "server/routes/autobiography.js",
+ "line": 171
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/digital-twin/autobiography/stories/:id/weave",
+ "mountPath": "/api/digital-twin/autobiography",
+ "sources": [
+ {
+ "source": "server/routes/autobiography.js",
+ "line": 193
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/digital-twin/autobiography/themes",
+ "mountPath": "/api/digital-twin/autobiography",
+ "sources": [
+ {
+ "source": "server/routes/autobiography.js",
+ "line": 84
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/digital-twin/autobiography/trigger",
+ "mountPath": "/api/digital-twin/autobiography",
+ "sources": [
+ {
+ "source": "server/routes/autobiography.js",
+ "line": 210
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/digital-twin/avatar-bio",
+ "mountPath": "/api/digital-twin",
+ "sources": [
+ {
+ "source": "server/routes/digital-twin/avatar-bio.js",
+ "line": 21
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/digital-twin/avatar-bio/polish",
+ "mountPath": "/api/digital-twin",
+ "sources": [
+ {
+ "source": "server/routes/digital-twin/avatar-bio.js",
+ "line": 32
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/digital-twin/confidence",
+ "mountPath": "/api/digital-twin",
+ "sources": [
+ {
+ "source": "server/routes/digital-twin/analysis.js",
+ "line": 132
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/digital-twin/confidence/calculate",
+ "mountPath": "/api/digital-twin",
+ "sources": [
+ {
+ "source": "server/routes/digital-twin/analysis.js",
+ "line": 141
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/digital-twin/documents",
+ "mountPath": "/api/digital-twin",
+ "sources": [
+ {
+ "source": "server/routes/digital-twin/documents.js",
+ "line": 28
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/digital-twin/documents",
+ "mountPath": "/api/digital-twin",
+ "sources": [
+ {
+ "source": "server/routes/digital-twin/documents.js",
+ "line": 50
+ }
+ ]
+ },
+ {
+ "method": "DELETE",
+ "path": "/api/digital-twin/documents/:id",
+ "mountPath": "/api/digital-twin",
+ "sources": [
+ {
+ "source": "server/routes/digital-twin/documents.js",
+ "line": 73
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/digital-twin/documents/:id",
+ "mountPath": "/api/digital-twin",
+ "sources": [
+ {
+ "source": "server/routes/digital-twin/documents.js",
+ "line": 38
+ }
+ ]
+ },
+ {
+ "method": "PUT",
+ "path": "/api/digital-twin/documents/:id",
+ "mountPath": "/api/digital-twin",
+ "sources": [
+ {
+ "source": "server/routes/digital-twin/documents.js",
+ "line": 60
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/digital-twin/enrich/analyze-list",
+ "mountPath": "/api/digital-twin",
+ "sources": [
+ {
+ "source": "server/routes/digital-twin/enrichment.js",
+ "line": 62
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/digital-twin/enrich/answer",
+ "mountPath": "/api/digital-twin",
+ "sources": [
+ {
+ "source": "server/routes/digital-twin/enrichment.js",
+ "line": 52
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/digital-twin/enrich/categories",
+ "mountPath": "/api/digital-twin",
+ "sources": [
+ {
+ "source": "server/routes/digital-twin/enrichment.js",
+ "line": 24
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/digital-twin/enrich/list-items/:category",
+ "mountPath": "/api/digital-twin",
+ "sources": [
+ {
+ "source": "server/routes/digital-twin/enrichment.js",
+ "line": 82
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/digital-twin/enrich/progress",
+ "mountPath": "/api/digital-twin",
+ "sources": [
+ {
+ "source": "server/routes/digital-twin/enrichment.js",
+ "line": 33
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/digital-twin/enrich/question",
+ "mountPath": "/api/digital-twin",
+ "sources": [
+ {
+ "source": "server/routes/digital-twin/enrichment.js",
+ "line": 42
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/digital-twin/enrich/save-list",
+ "mountPath": "/api/digital-twin",
+ "sources": [
+ {
+ "source": "server/routes/digital-twin/enrichment.js",
+ "line": 72
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/digital-twin/export",
+ "mountPath": "/api/digital-twin",
+ "sources": [
+ {
+ "source": "server/routes/digital-twin/export.js",
+ "line": 26
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/digital-twin/export/formats",
+ "mountPath": "/api/digital-twin",
+ "sources": [
+ {
+ "source": "server/routes/digital-twin/export.js",
+ "line": 17
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/digital-twin/feedback",
+ "mountPath": "/api/digital-twin",
+ "sources": [
+ {
+ "source": "server/routes/digital-twin/feedback.js",
+ "line": 18
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/digital-twin/feedback/recalculate",
+ "mountPath": "/api/digital-twin",
+ "sources": [
+ {
+ "source": "server/routes/digital-twin/feedback.js",
+ "line": 37
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/digital-twin/feedback/recent",
+ "mountPath": "/api/digital-twin",
+ "sources": [
+ {
+ "source": "server/routes/digital-twin/feedback.js",
+ "line": 46
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/digital-twin/feedback/stats",
+ "mountPath": "/api/digital-twin",
+ "sources": [
+ {
+ "source": "server/routes/digital-twin/feedback.js",
+ "line": 28
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/digital-twin/gaps",
+ "mountPath": "/api/digital-twin",
+ "sources": [
+ {
+ "source": "server/routes/digital-twin/analysis.js",
+ "line": 151
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/digital-twin/identity",
+ "mountPath": "/api/digital-twin/identity",
+ "sources": [
+ {
+ "source": "server/routes/identity.js",
+ "line": 34
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/digital-twin/identity/chronotype",
+ "mountPath": "/api/digital-twin/identity",
+ "sources": [
+ {
+ "source": "server/routes/identity.js",
+ "line": 44
+ }
+ ]
+ },
+ {
+ "method": "PUT",
+ "path": "/api/digital-twin/identity/chronotype",
+ "mountPath": "/api/digital-twin/identity",
+ "sources": [
+ {
+ "source": "server/routes/identity.js",
+ "line": 56
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/digital-twin/identity/chronotype/derive",
+ "mountPath": "/api/digital-twin/identity",
+ "sources": [
+ {
+ "source": "server/routes/identity.js",
+ "line": 50
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/digital-twin/identity/chronotype/energy-schedule",
+ "mountPath": "/api/digital-twin/identity",
+ "sources": [
+ {
+ "source": "server/routes/identity.js",
+ "line": 63
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/digital-twin/identity/cross-insights",
+ "mountPath": "/api/digital-twin/identity",
+ "sources": [
+ {
+ "source": "server/routes/identity.js",
+ "line": 73
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/digital-twin/identity/goals",
+ "mountPath": "/api/digital-twin/identity",
+ "sources": [
+ {
+ "source": "server/routes/identity.js",
+ "line": 99
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/digital-twin/identity/goals",
+ "mountPath": "/api/digital-twin/identity",
+ "sources": [
+ {
+ "source": "server/routes/identity.js",
+ "line": 118
+ }
+ ]
+ },
+ {
+ "method": "DELETE",
+ "path": "/api/digital-twin/identity/goals/:id",
+ "mountPath": "/api/digital-twin/identity",
+ "sources": [
+ {
+ "source": "server/routes/identity.js",
+ "line": 135
+ }
+ ]
+ },
+ {
+ "method": "PUT",
+ "path": "/api/digital-twin/identity/goals/:id",
+ "mountPath": "/api/digital-twin/identity",
+ "sources": [
+ {
+ "source": "server/routes/identity.js",
+ "line": 125
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/digital-twin/identity/goals/:id/accept-decomposition",
+ "mountPath": "/api/digital-twin/identity",
+ "sources": [
+ {
+ "source": "server/routes/identity.js",
+ "line": 287
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/digital-twin/identity/goals/:id/accept-phases",
+ "mountPath": "/api/digital-twin/identity",
+ "sources": [
+ {
+ "source": "server/routes/identity.js",
+ "line": 273
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/digital-twin/identity/goals/:id/activities",
+ "mountPath": "/api/digital-twin/identity",
+ "sources": [
+ {
+ "source": "server/routes/identity.js",
+ "line": 182
+ }
+ ]
+ },
+ {
+ "method": "DELETE",
+ "path": "/api/digital-twin/identity/goals/:id/activities/:activityName",
+ "mountPath": "/api/digital-twin/identity",
+ "sources": [
+ {
+ "source": "server/routes/identity.js",
+ "line": 192
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/digital-twin/identity/goals/:id/calendar-events",
+ "mountPath": "/api/digital-twin/identity",
+ "sources": [
+ {
+ "source": "server/routes/identity.js",
+ "line": 220
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/digital-twin/identity/goals/:id/calendars",
+ "mountPath": "/api/digital-twin/identity",
+ "sources": [
+ {
+ "source": "server/routes/identity.js",
+ "line": 201
+ }
+ ]
+ },
+ {
+ "method": "DELETE",
+ "path": "/api/digital-twin/identity/goals/:id/calendars/:subcalendarId",
+ "mountPath": "/api/digital-twin/identity",
+ "sources": [
+ {
+ "source": "server/routes/identity.js",
+ "line": 211
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/digital-twin/identity/goals/:id/check-in",
+ "mountPath": "/api/digital-twin/identity",
+ "sources": [
+ {
+ "source": "server/routes/identity.js",
+ "line": 317
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/digital-twin/identity/goals/:id/decompose",
+ "mountPath": "/api/digital-twin/identity",
+ "sources": [
+ {
+ "source": "server/routes/identity.js",
+ "line": 280
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/digital-twin/identity/goals/:id/generate-phases",
+ "mountPath": "/api/digital-twin/identity",
+ "sources": [
+ {
+ "source": "server/routes/identity.js",
+ "line": 266
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/digital-twin/identity/goals/:id/milestones",
+ "mountPath": "/api/digital-twin/identity",
+ "sources": [
+ {
+ "source": "server/routes/identity.js",
+ "line": 144
+ }
+ ]
+ },
+ {
+ "method": "PUT",
+ "path": "/api/digital-twin/identity/goals/:id/milestones/:milestoneId/complete",
+ "mountPath": "/api/digital-twin/identity",
+ "sources": [
+ {
+ "source": "server/routes/identity.js",
+ "line": 154
+ }
+ ]
+ },
+ {
+ "method": "PUT",
+ "path": "/api/digital-twin/identity/goals/:id/milestones/:milestoneId/tasks/:taskId/complete",
+ "mountPath": "/api/digital-twin/identity",
+ "sources": [
+ {
+ "source": "server/routes/identity.js",
+ "line": 294
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/digital-twin/identity/goals/:id/progress",
+ "mountPath": "/api/digital-twin/identity",
+ "sources": [
+ {
+ "source": "server/routes/identity.js",
+ "line": 163
+ }
+ ]
+ },
+ {
+ "method": "PUT",
+ "path": "/api/digital-twin/identity/goals/:id/progress",
+ "mountPath": "/api/digital-twin/identity",
+ "sources": [
+ {
+ "source": "server/routes/identity.js",
+ "line": 227
+ }
+ ]
+ },
+ {
+ "method": "DELETE",
+ "path": "/api/digital-twin/identity/goals/:id/progress/:entryId",
+ "mountPath": "/api/digital-twin/identity",
+ "sources": [
+ {
+ "source": "server/routes/identity.js",
+ "line": 173
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/digital-twin/identity/goals/:id/reschedule",
+ "mountPath": "/api/digital-twin/identity",
+ "sources": [
+ {
+ "source": "server/routes/identity.js",
+ "line": 336
+ }
+ ]
+ },
+ {
+ "method": "DELETE",
+ "path": "/api/digital-twin/identity/goals/:id/schedule",
+ "mountPath": "/api/digital-twin/identity",
+ "sources": [
+ {
+ "source": "server/routes/identity.js",
+ "line": 330
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/digital-twin/identity/goals/:id/schedule",
+ "mountPath": "/api/digital-twin/identity",
+ "sources": [
+ {
+ "source": "server/routes/identity.js",
+ "line": 324
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/digital-twin/identity/goals/:id/todos",
+ "mountPath": "/api/digital-twin/identity",
+ "sources": [
+ {
+ "source": "server/routes/identity.js",
+ "line": 237
+ }
+ ]
+ },
+ {
+ "method": "DELETE",
+ "path": "/api/digital-twin/identity/goals/:id/todos/:todoId",
+ "mountPath": "/api/digital-twin/identity",
+ "sources": [
+ {
+ "source": "server/routes/identity.js",
+ "line": 257
+ }
+ ]
+ },
+ {
+ "method": "PUT",
+ "path": "/api/digital-twin/identity/goals/:id/todos/:todoId",
+ "mountPath": "/api/digital-twin/identity",
+ "sources": [
+ {
+ "source": "server/routes/identity.js",
+ "line": 247
+ }
+ ]
+ },
+ {
+ "method": "PUT",
+ "path": "/api/digital-twin/identity/goals/birth-date",
+ "mountPath": "/api/digital-twin/identity",
+ "sources": [
+ {
+ "source": "server/routes/identity.js",
+ "line": 111
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/digital-twin/identity/goals/organize",
+ "mountPath": "/api/digital-twin/identity",
+ "sources": [
+ {
+ "source": "server/routes/identity.js",
+ "line": 303
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/digital-twin/identity/goals/organize/apply",
+ "mountPath": "/api/digital-twin/identity",
+ "sources": [
+ {
+ "source": "server/routes/identity.js",
+ "line": 310
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/digital-twin/identity/goals/tree",
+ "mountPath": "/api/digital-twin/identity",
+ "sources": [
+ {
+ "source": "server/routes/identity.js",
+ "line": 105
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/digital-twin/identity/image",
+ "mountPath": "/api/digital-twin",
+ "sources": [
+ {
+ "source": "server/routes/digital-twin/analysis.js",
+ "line": 75
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/digital-twin/identity/image/save",
+ "mountPath": "/api/digital-twin",
+ "sources": [
+ {
+ "source": "server/routes/digital-twin/analysis.js",
+ "line": 86
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/digital-twin/identity/longevity",
+ "mountPath": "/api/digital-twin/identity",
+ "sources": [
+ {
+ "source": "server/routes/identity.js",
+ "line": 83
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/digital-twin/identity/longevity/derive",
+ "mountPath": "/api/digital-twin/identity",
+ "sources": [
+ {
+ "source": "server/routes/identity.js",
+ "line": 89
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/digital-twin/import/analyze",
+ "mountPath": "/api/digital-twin",
+ "sources": [
+ {
+ "source": "server/routes/digital-twin/import.js",
+ "line": 65
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/digital-twin/import/save",
+ "mountPath": "/api/digital-twin",
+ "sources": [
+ {
+ "source": "server/routes/digital-twin/import.js",
+ "line": 83
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/digital-twin/import/sources",
+ "mountPath": "/api/digital-twin",
+ "sources": [
+ {
+ "source": "server/routes/digital-twin/import.js",
+ "line": 30
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/digital-twin/import/spotify/browser/import",
+ "mountPath": "/api/digital-twin",
+ "sources": [
+ {
+ "source": "server/routes/digital-twin/import.js",
+ "line": 56
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/digital-twin/import/spotify/browser/open",
+ "mountPath": "/api/digital-twin",
+ "sources": [
+ {
+ "source": "server/routes/digital-twin/import.js",
+ "line": 43
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/digital-twin/interview/analyze",
+ "mountPath": "/api/digital-twin",
+ "sources": [
+ {
+ "source": "server/routes/digital-twin/analysis.js",
+ "line": 164
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/digital-twin/multi-turn-tests",
+ "mountPath": "/api/digital-twin",
+ "sources": [
+ {
+ "source": "server/routes/digital-twin/tests.js",
+ "line": 174
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/digital-twin/multi-turn-tests/history",
+ "mountPath": "/api/digital-twin",
+ "sources": [
+ {
+ "source": "server/routes/digital-twin/tests.js",
+ "line": 195
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/digital-twin/multi-turn-tests/run",
+ "mountPath": "/api/digital-twin",
+ "sources": [
+ {
+ "source": "server/routes/digital-twin/tests.js",
+ "line": 184
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/digital-twin/personas",
+ "mountPath": "/api/digital-twin",
+ "sources": [
+ {
+ "source": "server/routes/digital-twin/personas.js",
+ "line": 27
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/digital-twin/personas",
+ "mountPath": "/api/digital-twin",
+ "sources": [
+ {
+ "source": "server/routes/digital-twin/personas.js",
+ "line": 35
+ }
+ ]
+ },
+ {
+ "method": "DELETE",
+ "path": "/api/digital-twin/personas/:id",
+ "mountPath": "/api/digital-twin",
+ "sources": [
+ {
+ "source": "server/routes/digital-twin/personas.js",
+ "line": 83
+ }
+ ]
+ },
+ {
+ "method": "PUT",
+ "path": "/api/digital-twin/personas/:id",
+ "mountPath": "/api/digital-twin",
+ "sources": [
+ {
+ "source": "server/routes/digital-twin/personas.js",
+ "line": 67
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/digital-twin/personas/active",
+ "mountPath": "/api/digital-twin",
+ "sources": [
+ {
+ "source": "server/routes/digital-twin/personas.js",
+ "line": 46
+ }
+ ]
+ },
+ {
+ "method": "PUT",
+ "path": "/api/digital-twin/personas/active",
+ "mountPath": "/api/digital-twin",
+ "sources": [
+ {
+ "source": "server/routes/digital-twin/personas.js",
+ "line": 54
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/digital-twin/settings",
+ "mountPath": "/api/digital-twin",
+ "sources": [
+ {
+ "source": "server/routes/digital-twin/settings.js",
+ "line": 17
+ }
+ ]
+ },
+ {
+ "method": "PUT",
+ "path": "/api/digital-twin/settings",
+ "mountPath": "/api/digital-twin",
+ "sources": [
+ {
+ "source": "server/routes/digital-twin/settings.js",
+ "line": 26
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/digital-twin/snapshots",
+ "mountPath": "/api/digital-twin",
+ "sources": [
+ {
+ "source": "server/routes/digital-twin/snapshots.js",
+ "line": 22
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/digital-twin/snapshots",
+ "mountPath": "/api/digital-twin",
+ "sources": [
+ {
+ "source": "server/routes/digital-twin/snapshots.js",
+ "line": 31
+ }
+ ]
+ },
+ {
+ "method": "DELETE",
+ "path": "/api/digital-twin/snapshots/:id",
+ "mountPath": "/api/digital-twin",
+ "sources": [
+ {
+ "source": "server/routes/digital-twin/snapshots.js",
+ "line": 57
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/digital-twin/snapshots/:id",
+ "mountPath": "/api/digital-twin",
+ "sources": [
+ {
+ "source": "server/routes/digital-twin/snapshots.js",
+ "line": 41
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/digital-twin/snapshots/compare",
+ "mountPath": "/api/digital-twin",
+ "sources": [
+ {
+ "source": "server/routes/digital-twin/snapshots.js",
+ "line": 73
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/digital-twin/social-accounts",
+ "mountPath": "/api/digital-twin/social-accounts",
+ "sources": [
+ {
+ "source": "server/routes/socialAccounts.js",
+ "line": 16
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/digital-twin/social-accounts",
+ "mountPath": "/api/digital-twin/social-accounts",
+ "sources": [
+ {
+ "source": "server/routes/socialAccounts.js",
+ "line": 53
+ }
+ ]
+ },
+ {
+ "method": "DELETE",
+ "path": "/api/digital-twin/social-accounts/:id",
+ "mountPath": "/api/digital-twin/social-accounts",
+ "sources": [
+ {
+ "source": "server/routes/socialAccounts.js",
+ "line": 98
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/digital-twin/social-accounts/:id",
+ "mountPath": "/api/digital-twin/social-accounts",
+ "sources": [
+ {
+ "source": "server/routes/socialAccounts.js",
+ "line": 44
+ }
+ ]
+ },
+ {
+ "method": "PUT",
+ "path": "/api/digital-twin/social-accounts/:id",
+ "mountPath": "/api/digital-twin/social-accounts",
+ "sources": [
+ {
+ "source": "server/routes/socialAccounts.js",
+ "line": 88
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/digital-twin/social-accounts/bulk",
+ "mountPath": "/api/digital-twin/social-accounts",
+ "sources": [
+ {
+ "source": "server/routes/socialAccounts.js",
+ "line": 60
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/digital-twin/social-accounts/platforms",
+ "mountPath": "/api/digital-twin/social-accounts",
+ "sources": [
+ {
+ "source": "server/routes/socialAccounts.js",
+ "line": 32
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/digital-twin/social-accounts/stats",
+ "mountPath": "/api/digital-twin/social-accounts",
+ "sources": [
+ {
+ "source": "server/routes/socialAccounts.js",
+ "line": 38
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/digital-twin/style/spoken-written",
+ "mountPath": "/api/digital-twin",
+ "sources": [
+ {
+ "source": "server/routes/digital-twin/analysis.js",
+ "line": 64
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/digital-twin/taste",
+ "mountPath": "/api/digital-twin",
+ "sources": [
+ {
+ "source": "server/routes/digital-twin/taste.js",
+ "line": 28
+ }
+ ]
+ },
+ {
+ "method": "DELETE",
+ "path": "/api/digital-twin/taste/:section",
+ "mountPath": "/api/digital-twin",
+ "sources": [
+ {
+ "source": "server/routes/digital-twin/taste.js",
+ "line": 129
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/digital-twin/taste/:section/next",
+ "mountPath": "/api/digital-twin",
+ "sources": [
+ {
+ "source": "server/routes/digital-twin/taste.js",
+ "line": 53
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/digital-twin/taste/:section/personalized-question",
+ "mountPath": "/api/digital-twin",
+ "sources": [
+ {
+ "source": "server/routes/digital-twin/taste.js",
+ "line": 109
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/digital-twin/taste/:section/responses",
+ "mountPath": "/api/digital-twin",
+ "sources": [
+ {
+ "source": "server/routes/digital-twin/taste.js",
+ "line": 79
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/digital-twin/taste/answer",
+ "mountPath": "/api/digital-twin",
+ "sources": [
+ {
+ "source": "server/routes/digital-twin/taste.js",
+ "line": 69
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/digital-twin/taste/sections",
+ "mountPath": "/api/digital-twin",
+ "sources": [
+ {
+ "source": "server/routes/digital-twin/taste.js",
+ "line": 37
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/digital-twin/taste/summary",
+ "mountPath": "/api/digital-twin",
+ "sources": [
+ {
+ "source": "server/routes/digital-twin/taste.js",
+ "line": 95
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/digital-twin/tests",
+ "mountPath": "/api/digital-twin",
+ "sources": [
+ {
+ "source": "server/routes/digital-twin/tests.js",
+ "line": 30
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/digital-twin/tests/generate",
+ "mountPath": "/api/digital-twin",
+ "sources": [
+ {
+ "source": "server/routes/digital-twin/tests.js",
+ "line": 90
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/digital-twin/tests/history",
+ "mountPath": "/api/digital-twin",
+ "sources": [
+ {
+ "source": "server/routes/digital-twin/tests.js",
+ "line": 80
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/digital-twin/tests/run",
+ "mountPath": "/api/digital-twin",
+ "sources": [
+ {
+ "source": "server/routes/digital-twin/tests.js",
+ "line": 39
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/digital-twin/tests/run-multi",
+ "mountPath": "/api/digital-twin",
+ "sources": [
+ {
+ "source": "server/routes/digital-twin/tests.js",
+ "line": 50
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/digital-twin/traits",
+ "mountPath": "/api/digital-twin",
+ "sources": [
+ {
+ "source": "server/routes/digital-twin/analysis.js",
+ "line": 103
+ }
+ ]
+ },
+ {
+ "method": "PUT",
+ "path": "/api/digital-twin/traits",
+ "mountPath": "/api/digital-twin",
+ "sources": [
+ {
+ "source": "server/routes/digital-twin/analysis.js",
+ "line": 122
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/digital-twin/traits/analyze",
+ "mountPath": "/api/digital-twin",
+ "sources": [
+ {
+ "source": "server/routes/digital-twin/analysis.js",
+ "line": 112
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/digital-twin/twin-evidence",
+ "mountPath": "/api/digital-twin",
+ "sources": [
+ {
+ "source": "server/routes/digital-twin/evidence.js",
+ "line": 25
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/digital-twin/twin-evidence/interpret",
+ "mountPath": "/api/digital-twin",
+ "sources": [
+ {
+ "source": "server/routes/digital-twin/evidence.js",
+ "line": 47
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/digital-twin/twin-evidence/recompute",
+ "mountPath": "/api/digital-twin",
+ "sources": [
+ {
+ "source": "server/routes/digital-twin/evidence.js",
+ "line": 34
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/digital-twin/validate/completeness",
+ "mountPath": "/api/digital-twin",
+ "sources": [
+ {
+ "source": "server/routes/digital-twin/analysis.js",
+ "line": 34
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/digital-twin/validate/contradictions",
+ "mountPath": "/api/digital-twin",
+ "sources": [
+ {
+ "source": "server/routes/digital-twin/analysis.js",
+ "line": 43
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/digital-twin/values-tests",
+ "mountPath": "/api/digital-twin",
+ "sources": [
+ {
+ "source": "server/routes/digital-twin/tests.js",
+ "line": 104
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/digital-twin/values-tests/history",
+ "mountPath": "/api/digital-twin",
+ "sources": [
+ {
+ "source": "server/routes/digital-twin/tests.js",
+ "line": 125
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/digital-twin/values-tests/run",
+ "mountPath": "/api/digital-twin",
+ "sources": [
+ {
+ "source": "server/routes/digital-twin/tests.js",
+ "line": 114
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/fableloom",
+ "mountPath": "/api/fableloom",
+ "sources": [
+ {
+ "source": "server/routes/fableLoom.js",
+ "line": 60
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/fableloom",
+ "mountPath": "/api/fableloom",
+ "sources": [
+ {
+ "source": "server/routes/fableLoom.js",
+ "line": 67
+ }
+ ]
+ },
+ {
+ "method": "DELETE",
+ "path": "/api/fableloom/:id",
+ "mountPath": "/api/fableloom",
+ "sources": [
+ {
+ "source": "server/routes/fableLoom.js",
+ "line": 83
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/fableloom/:id",
+ "mountPath": "/api/fableloom",
+ "sources": [
+ {
+ "source": "server/routes/fableLoom.js",
+ "line": 72
+ }
+ ]
+ },
+ {
+ "method": "PATCH",
+ "path": "/api/fableloom/:id",
+ "mountPath": "/api/fableloom",
+ "sources": [
+ {
+ "source": "server/routes/fableLoom.js",
+ "line": 78
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/fableloom/:id/episodes",
+ "mountPath": "/api/fableloom",
+ "sources": [
+ {
+ "source": "server/routes/fableLoom.js",
+ "line": 90
+ }
+ ]
+ },
+ {
+ "method": "DELETE",
+ "path": "/api/fableloom/:id/episodes/:episodeId",
+ "mountPath": "/api/fableloom",
+ "sources": [
+ {
+ "source": "server/routes/fableLoom.js",
+ "line": 100
+ }
+ ]
+ },
+ {
+ "method": "PATCH",
+ "path": "/api/fableloom/:id/episodes/:episodeId",
+ "mountPath": "/api/fableloom",
+ "sources": [
+ {
+ "source": "server/routes/fableLoom.js",
+ "line": 95
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/fableloom/:id/episodes/:episodeId/nodes",
+ "mountPath": "/api/fableloom",
+ "sources": [
+ {
+ "source": "server/routes/fableLoom.js",
+ "line": 114
+ }
+ ]
+ },
+ {
+ "method": "DELETE",
+ "path": "/api/fableloom/:id/episodes/:episodeId/nodes/:nodeId",
+ "mountPath": "/api/fableloom",
+ "sources": [
+ {
+ "source": "server/routes/fableLoom.js",
+ "line": 124
+ }
+ ]
+ },
+ {
+ "method": "PATCH",
+ "path": "/api/fableloom/:id/episodes/:episodeId/nodes/:nodeId",
+ "mountPath": "/api/fableloom",
+ "sources": [
+ {
+ "source": "server/routes/fableLoom.js",
+ "line": 119
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/fableloom/:id/episodes/:episodeId/nodes/:nodeId/branch",
+ "mountPath": "/api/fableloom",
+ "sources": [
+ {
+ "source": "server/routes/fableLoom.js",
+ "line": 162
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/fableloom/:id/episodes/:episodeId/nodes/:nodeId/transitions",
+ "mountPath": "/api/fableloom",
+ "sources": [
+ {
+ "source": "server/routes/fableLoom.js",
+ "line": 137
+ }
+ ]
+ },
+ {
+ "method": "DELETE",
+ "path": "/api/fableloom/:id/episodes/:episodeId/nodes/:nodeId/transitions/:transitionId",
+ "mountPath": "/api/fableloom",
+ "sources": [
+ {
+ "source": "server/routes/fableLoom.js",
+ "line": 149
+ }
+ ]
+ },
+ {
+ "method": "PATCH",
+ "path": "/api/fableloom/:id/episodes/:episodeId/nodes/:nodeId/transitions/:transitionId",
+ "mountPath": "/api/fableloom",
+ "sources": [
+ {
+ "source": "server/routes/fableLoom.js",
+ "line": 142
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/fableloom/:id/episodes/:episodeId/play",
+ "mountPath": "/api/fableloom",
+ "sources": [
+ {
+ "source": "server/routes/fableLoom.js",
+ "line": 172
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/fableloom/:id/episodes/:episodeId/reformat",
+ "mountPath": "/api/fableloom",
+ "sources": [
+ {
+ "source": "server/routes/fableLoom.js",
+ "line": 183
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/fableloom/:id/episodes/:episodeId/review",
+ "mountPath": "/api/fableloom",
+ "sources": [
+ {
+ "source": "server/routes/fableLoom.js",
+ "line": 167
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/fableloom/:id/episodes/:episodeId/validate",
+ "mountPath": "/api/fableloom",
+ "sources": [
+ {
+ "source": "server/routes/fableLoom.js",
+ "line": 105
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/fableloom/:id/episodes/:episodeId/weave",
+ "mountPath": "/api/fableloom",
+ "sources": [
+ {
+ "source": "server/routes/fableLoom.js",
+ "line": 157
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/feature-agents",
+ "mountPath": "/api/feature-agents",
+ "sources": [
+ {
+ "source": "server/routes/featureAgents.js",
+ "line": 13
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/feature-agents",
+ "mountPath": "/api/feature-agents",
+ "sources": [
+ {
+ "source": "server/routes/featureAgents.js",
+ "line": 27
+ }
+ ]
+ },
+ {
+ "method": "DELETE",
+ "path": "/api/feature-agents/:id",
+ "mountPath": "/api/feature-agents",
+ "sources": [
+ {
+ "source": "server/routes/featureAgents.js",
+ "line": 42
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/feature-agents/:id",
+ "mountPath": "/api/feature-agents",
+ "sources": [
+ {
+ "source": "server/routes/featureAgents.js",
+ "line": 19
+ }
+ ]
+ },
+ {
+ "method": "PUT",
+ "path": "/api/feature-agents/:id",
+ "mountPath": "/api/feature-agents",
+ "sources": [
+ {
+ "source": "server/routes/featureAgents.js",
+ "line": 34
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/feature-agents/:id/output",
+ "mountPath": "/api/feature-agents",
+ "sources": [
+ {
+ "source": "server/routes/featureAgents.js",
+ "line": 91
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/feature-agents/:id/pause",
+ "mountPath": "/api/feature-agents",
+ "sources": [
+ {
+ "source": "server/routes/featureAgents.js",
+ "line": 56
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/feature-agents/:id/resume",
+ "mountPath": "/api/feature-agents",
+ "sources": [
+ {
+ "source": "server/routes/featureAgents.js",
+ "line": 63
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/feature-agents/:id/runs",
+ "mountPath": "/api/feature-agents",
+ "sources": [
+ {
+ "source": "server/routes/featureAgents.js",
+ "line": 84
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/feature-agents/:id/start",
+ "mountPath": "/api/feature-agents",
+ "sources": [
+ {
+ "source": "server/routes/featureAgents.js",
+ "line": 49
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/feature-agents/:id/stop",
+ "mountPath": "/api/feature-agents",
+ "sources": [
+ {
+ "source": "server/routes/featureAgents.js",
+ "line": 77
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/feature-agents/:id/trigger",
+ "mountPath": "/api/feature-agents",
+ "sources": [
+ {
+ "source": "server/routes/featureAgents.js",
+ "line": 70
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/federation/media/v1/assets",
+ "mountPath": "/api/federation/media/v1",
+ "sources": [
+ {
+ "source": "server/routes/federatedMedia.js",
+ "line": 66
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/federation/media/v1/assets/:id",
+ "mountPath": "/api/federation/media/v1",
+ "sources": [
+ {
+ "source": "server/routes/federatedMedia.js",
+ "line": 79
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/federation/media/v1/jobs",
+ "mountPath": "/api/federation/media/v1",
+ "sources": [
+ {
+ "source": "server/routes/federatedMedia.js",
+ "line": 85
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/federation/media/v1/jobs/:id",
+ "mountPath": "/api/federation/media/v1",
+ "sources": [
+ {
+ "source": "server/routes/federatedMedia.js",
+ "line": 96
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/federation/media/v1/jobs/:id/cancel",
+ "mountPath": "/api/federation/media/v1",
+ "sources": [
+ {
+ "source": "server/routes/federatedMedia.js",
+ "line": 102
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/federation/media/v1/jobs/:id/result",
+ "mountPath": "/api/federation/media/v1",
+ "sources": [
+ {
+ "source": "server/routes/federatedMedia.js",
+ "line": 108
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/federation/media/v1/status",
+ "mountPath": "/api/federation/media/v1",
+ "sources": [
+ {
+ "source": "server/routes/federatedMedia.js",
+ "line": 53
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/feeds",
+ "mountPath": "/api/feeds",
+ "sources": [
+ {
+ "source": "server/routes/feeds.js",
+ "line": 29
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/feeds",
+ "mountPath": "/api/feeds",
+ "sources": [
+ {
+ "source": "server/routes/feeds.js",
+ "line": 54
+ }
+ ]
+ },
+ {
+ "method": "DELETE",
+ "path": "/api/feeds/:id",
+ "mountPath": "/api/feeds",
+ "sources": [
+ {
+ "source": "server/routes/feeds.js",
+ "line": 95
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/feeds/:id/refresh",
+ "mountPath": "/api/feeds",
+ "sources": [
+ {
+ "source": "server/routes/feeds.js",
+ "line": 86
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/feeds/items",
+ "mountPath": "/api/feeds",
+ "sources": [
+ {
+ "source": "server/routes/feeds.js",
+ "line": 41
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/feeds/items/:id/read",
+ "mountPath": "/api/feeds",
+ "sources": [
+ {
+ "source": "server/routes/feeds.js",
+ "line": 77
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/feeds/items/read-all",
+ "mountPath": "/api/feeds",
+ "sources": [
+ {
+ "source": "server/routes/feeds.js",
+ "line": 70
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/feeds/refresh-all",
+ "mountPath": "/api/feeds",
+ "sources": [
+ {
+ "source": "server/routes/feeds.js",
+ "line": 64
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/feeds/stats",
+ "mountPath": "/api/feeds",
+ "sources": [
+ {
+ "source": "server/routes/feeds.js",
+ "line": 35
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/games",
+ "mountPath": "/api/games",
+ "sources": [
+ {
+ "source": "server/routes/games.js",
+ "line": 48
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/games",
+ "mountPath": "/api/games",
+ "sources": [
+ {
+ "source": "server/routes/games.js",
+ "line": 56
+ }
+ ]
+ },
+ {
+ "method": "DELETE",
+ "path": "/api/games/:id",
+ "mountPath": "/api/games",
+ "sources": [
+ {
+ "source": "server/routes/games.js",
+ "line": 78
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/games/:id",
+ "mountPath": "/api/games",
+ "sources": [
+ {
+ "source": "server/routes/games.js",
+ "line": 61
+ }
+ ]
+ },
+ {
+ "method": "PATCH",
+ "path": "/api/games/:id",
+ "mountPath": "/api/games",
+ "sources": [
+ {
+ "source": "server/routes/games.js",
+ "line": 73
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/games/:id/artwork",
+ "mountPath": "/api/games",
+ "sources": [
+ {
+ "source": "server/routes/games.js",
+ "line": 110
+ }
+ ]
+ },
+ {
+ "method": "DELETE",
+ "path": "/api/games/:id/artwork/:bindingId",
+ "mountPath": "/api/games",
+ "sources": [
+ {
+ "source": "server/routes/games.js",
+ "line": 120
+ }
+ ]
+ },
+ {
+ "method": "PATCH",
+ "path": "/api/games/:id/artwork/:bindingId",
+ "mountPath": "/api/games",
+ "sources": [
+ {
+ "source": "server/routes/games.js",
+ "line": 115
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/games/:id/artwork/:bindingId/publish",
+ "mountPath": "/api/games",
+ "sources": [
+ {
+ "source": "server/routes/games.js",
+ "line": 124
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/games/:id/compile",
+ "mountPath": "/api/games",
+ "sources": [
+ {
+ "source": "server/routes/games.js",
+ "line": 129
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/games/:id/feedback",
+ "mountPath": "/api/games",
+ "sources": [
+ {
+ "source": "server/routes/games.js",
+ "line": 133
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/games/:id/integrity",
+ "mountPath": "/api/games",
+ "sources": [
+ {
+ "source": "server/routes/games.js",
+ "line": 67
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/games/:id/music",
+ "mountPath": "/api/games",
+ "sources": [
+ {
+ "source": "server/routes/games.js",
+ "line": 91
+ }
+ ]
+ },
+ {
+ "method": "DELETE",
+ "path": "/api/games/:id/music/:bindingId",
+ "mountPath": "/api/games",
+ "sources": [
+ {
+ "source": "server/routes/games.js",
+ "line": 101
+ }
+ ]
+ },
+ {
+ "method": "PATCH",
+ "path": "/api/games/:id/music/:bindingId",
+ "mountPath": "/api/games",
+ "sources": [
+ {
+ "source": "server/routes/games.js",
+ "line": 96
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/games/:id/music/:bindingId/publish",
+ "mountPath": "/api/games",
+ "sources": [
+ {
+ "source": "server/routes/games.js",
+ "line": 105
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/games/:id/sprites",
+ "mountPath": "/api/games",
+ "sources": [
+ {
+ "source": "server/routes/games.js",
+ "line": 82
+ }
+ ]
+ },
+ {
+ "method": "DELETE",
+ "path": "/api/games/:id/sprites/:spriteId",
+ "mountPath": "/api/games",
+ "sources": [
+ {
+ "source": "server/routes/games.js",
+ "line": 87
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/git/:appId",
+ "mountPath": "/api/git",
+ "sources": [
+ {
+ "source": "server/routes/git.js",
+ "line": 76
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/git/branch-comparison",
+ "mountPath": "/api/git",
+ "sources": [
+ {
+ "source": "server/routes/git.js",
+ "line": 155
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/git/branches",
+ "mountPath": "/api/git",
+ "sources": [
+ {
+ "source": "server/routes/git.js",
+ "line": 188
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/git/checkout",
+ "mountPath": "/api/git",
+ "sources": [
+ {
+ "source": "server/routes/git.js",
+ "line": 196
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/git/checkout-remote",
+ "mountPath": "/api/git",
+ "sources": [
+ {
+ "source": "server/routes/git.js",
+ "line": 242
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/git/cleanup-merged",
+ "mountPath": "/api/git",
+ "sources": [
+ {
+ "source": "server/routes/git.js",
+ "line": 264
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/git/commit",
+ "mountPath": "/api/git",
+ "sources": [
+ {
+ "source": "server/routes/git.js",
+ "line": 136
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/git/commits",
+ "mountPath": "/api/git",
+ "sources": [
+ {
+ "source": "server/routes/git.js",
+ "line": 106
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/git/delete-branch",
+ "mountPath": "/api/git",
+ "sources": [
+ {
+ "source": "server/routes/git.js",
+ "line": 273
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/git/diff",
+ "mountPath": "/api/git",
+ "sources": [
+ {
+ "source": "server/routes/git.js",
+ "line": 98
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/git/info",
+ "mountPath": "/api/git",
+ "sources": [
+ {
+ "source": "server/routes/git.js",
+ "line": 180
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/git/merge",
+ "mountPath": "/api/git",
+ "sources": [
+ {
+ "source": "server/routes/git.js",
+ "line": 231
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/git/pull",
+ "mountPath": "/api/git",
+ "sources": [
+ {
+ "source": "server/routes/git.js",
+ "line": 207
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/git/push",
+ "mountPath": "/api/git",
+ "sources": [
+ {
+ "source": "server/routes/git.js",
+ "line": 164
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/git/push-all",
+ "mountPath": "/api/git",
+ "sources": [
+ {
+ "source": "server/routes/git.js",
+ "line": 172
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/git/remote-branches",
+ "mountPath": "/api/git",
+ "sources": [
+ {
+ "source": "server/routes/git.js",
+ "line": 223
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/git/reset-to-default",
+ "mountPath": "/api/git",
+ "sources": [
+ {
+ "source": "server/routes/git.js",
+ "line": 256
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/git/stage",
+ "mountPath": "/api/git",
+ "sources": [
+ {
+ "source": "server/routes/git.js",
+ "line": 114
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/git/status",
+ "mountPath": "/api/git",
+ "sources": [
+ {
+ "source": "server/routes/git.js",
+ "line": 90
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/git/submodules/status",
+ "mountPath": "/api/git",
+ "sources": [
+ {
+ "source": "server/routes/git.js",
+ "line": 59
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/git/submodules/update",
+ "mountPath": "/api/git",
+ "sources": [
+ {
+ "source": "server/routes/git.js",
+ "line": 66
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/git/sync",
+ "mountPath": "/api/git",
+ "sources": [
+ {
+ "source": "server/routes/git.js",
+ "line": 215
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/git/unstage",
+ "mountPath": "/api/git",
+ "sources": [
+ {
+ "source": "server/routes/git.js",
+ "line": 125
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/git/update-branches",
+ "mountPath": "/api/git",
+ "sources": [
+ {
+ "source": "server/routes/git.js",
+ "line": 147
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/github/repos",
+ "mountPath": "/api/github",
+ "sources": [
+ {
+ "source": "server/routes/github.js",
+ "line": 11
+ }
+ ]
+ },
+ {
+ "method": "PUT",
+ "path": "/api/github/repos/:fullName",
+ "mountPath": "/api/github",
+ "sources": [
+ {
+ "source": "server/routes/github.js",
+ "line": 27
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/github/repos/:fullName/archive",
+ "mountPath": "/api/github",
+ "sources": [
+ {
+ "source": "server/routes/github.js",
+ "line": 37
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/github/repos/:fullName/unarchive",
+ "mountPath": "/api/github",
+ "sources": [
+ {
+ "source": "server/routes/github.js",
+ "line": 46
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/github/repos/sync",
+ "mountPath": "/api/github",
+ "sources": [
+ {
+ "source": "server/routes/github.js",
+ "line": 19
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/github/secrets",
+ "mountPath": "/api/github",
+ "sources": [
+ {
+ "source": "server/routes/github.js",
+ "line": 55
+ }
+ ]
+ },
+ {
+ "method": "PUT",
+ "path": "/api/github/secrets/:name",
+ "mountPath": "/api/github",
+ "sources": [
+ {
+ "source": "server/routes/github.js",
+ "line": 63
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/github/secrets/:name/sync",
+ "mountPath": "/api/github",
+ "sources": [
+ {
+ "source": "server/routes/github.js",
+ "line": 76
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/github/status",
+ "mountPath": "/api/github",
+ "sources": [
+ {
+ "source": "server/routes/github.js",
+ "line": 88
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/health/correlation",
+ "mountPath": "/api/health",
+ "sources": [
+ {
+ "source": "server/routes/appleHealth.js",
+ "line": 100
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/health/import/xml",
+ "mountPath": "/api/health",
+ "sources": [
+ {
+ "source": "server/routes/appleHealth.js",
+ "line": 108
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/health/ingest",
+ "mountPath": "/api/health",
+ "sources": [
+ {
+ "source": "server/routes/appleHealth.js",
+ "line": 51
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/health/metrics/:metricName",
+ "mountPath": "/api/health",
+ "sources": [
+ {
+ "source": "server/routes/appleHealth.js",
+ "line": 75
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/health/metrics/:metricName/daily",
+ "mountPath": "/api/health",
+ "sources": [
+ {
+ "source": "server/routes/appleHealth.js",
+ "line": 84
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/health/metrics/available",
+ "mountPath": "/api/health",
+ "sources": [
+ {
+ "source": "server/routes/appleHealth.js",
+ "line": 59
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/health/metrics/latest",
+ "mountPath": "/api/health",
+ "sources": [
+ {
+ "source": "server/routes/appleHealth.js",
+ "line": 66
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/health/range",
+ "mountPath": "/api/health",
+ "sources": [
+ {
+ "source": "server/routes/appleHealth.js",
+ "line": 93
+ }
+ ]
+ },
+ {
+ "method": "DELETE",
+ "path": "/api/history",
+ "mountPath": "/api/history",
+ "sources": [
+ {
+ "source": "server/routes/history.js",
+ "line": 49
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/history",
+ "mountPath": "/api/history",
+ "sources": [
+ {
+ "source": "server/routes/history.js",
+ "line": 18
+ }
+ ]
+ },
+ {
+ "method": "DELETE",
+ "path": "/api/history/:id",
+ "mountPath": "/api/history",
+ "sources": [
+ {
+ "source": "server/routes/history.js",
+ "line": 42
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/history/actions",
+ "mountPath": "/api/history",
+ "sources": [
+ {
+ "source": "server/routes/history.js",
+ "line": 37
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/history/stats",
+ "mountPath": "/api/history",
+ "sources": [
+ {
+ "source": "server/routes/history.js",
+ "line": 32
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/image-clean",
+ "mountPath": "/api/image-clean",
+ "sources": [
+ {
+ "source": "server/routes/imageClean.js",
+ "line": 115
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/image-clean/result/:jobId",
+ "mountPath": "/api/image-clean",
+ "sources": [
+ {
+ "source": "server/routes/imageClean.js",
+ "line": 311
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/image-clean/result/:jobId/save",
+ "mountPath": "/api/image-clean",
+ "sources": [
+ {
+ "source": "server/routes/imageClean.js",
+ "line": 352
+ }
+ ]
+ },
+ {
+ "method": "DELETE",
+ "path": "/api/image-gen/:filename",
+ "mountPath": "/api/image-gen",
+ "sources": [
+ {
+ "source": "server/routes/imageGen.js",
+ "line": 736
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/image-gen/:filename/clean",
+ "mountPath": "/api/image-gen",
+ "sources": [
+ {
+ "source": "server/routes/imageGen.js",
+ "line": 760
+ }
+ ]
+ },
+ {
+ "method": "PATCH",
+ "path": "/api/image-gen/:filename/prompt",
+ "mountPath": "/api/image-gen",
+ "sources": [
+ {
+ "source": "server/routes/imageGen.js",
+ "line": 755
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/image-gen/:filename/regenerate",
+ "mountPath": "/api/image-gen",
+ "sources": [
+ {
+ "source": "server/routes/imageGen.js",
+ "line": 789
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/image-gen/:filename/remove-watermark",
+ "mountPath": "/api/image-gen",
+ "sources": [
+ {
+ "source": "server/routes/imageGen.js",
+ "line": 774
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/image-gen/:filename/visibility",
+ "mountPath": "/api/image-gen",
+ "sources": [
+ {
+ "source": "server/routes/imageGen.js",
+ "line": 751
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/image-gen/:jobId/events",
+ "mountPath": "/api/image-gen",
+ "sources": [
+ {
+ "source": "server/routes/imageGen.js",
+ "line": 679
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/image-gen/active",
+ "mountPath": "/api/image-gen",
+ "sources": [
+ {
+ "source": "server/routes/imageGen.js",
+ "line": 330
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/image-gen/agy/models",
+ "mountPath": "/api/image-gen",
+ "sources": [
+ {
+ "source": "server/routes/imageGen.js",
+ "line": 334
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/image-gen/avatar",
+ "mountPath": "/api/image-gen",
+ "sources": [
+ {
+ "source": "server/routes/imageGen.js",
+ "line": 547
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/image-gen/cancel",
+ "mountPath": "/api/image-gen",
+ "sources": [
+ {
+ "source": "server/routes/imageGen.js",
+ "line": 685
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/image-gen/gallery",
+ "mountPath": "/api/image-gen",
+ "sources": [
+ {
+ "source": "server/routes/imageGen.js",
+ "line": 670
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/image-gen/generate",
+ "mountPath": "/api/image-gen",
+ "sources": [
+ {
+ "source": "server/routes/imageGen.js",
+ "line": 380
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/image-gen/loras",
+ "mountPath": "/api/image-gen",
+ "sources": [
+ {
+ "source": "server/routes/imageGen.js",
+ "line": 666
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/image-gen/models",
+ "mountPath": "/api/image-gen",
+ "sources": [
+ {
+ "source": "server/routes/imageGen.js",
+ "line": 569
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/image-gen/models/:modelId/download",
+ "mountPath": "/api/image-gen",
+ "sources": [
+ {
+ "source": "server/routes/imageGen.js",
+ "line": 647
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/image-gen/models/:modelId/repair",
+ "mountPath": "/api/image-gen",
+ "sources": [
+ {
+ "source": "server/routes/imageGen.js",
+ "line": 628
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/image-gen/models/status",
+ "mountPath": "/api/image-gen",
+ "sources": [
+ {
+ "source": "server/routes/imageGen.js",
+ "line": 580
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/image-gen/models/verify",
+ "mountPath": "/api/image-gen",
+ "sources": [
+ {
+ "source": "server/routes/imageGen.js",
+ "line": 608
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/image-gen/regen/availability",
+ "mountPath": "/api/image-gen",
+ "sources": [
+ {
+ "source": "server/routes/imageGen.js",
+ "line": 347
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/image-gen/setup/check",
+ "mountPath": "/api/image-gen",
+ "sources": [
+ {
+ "source": "server/routes/imageGenSetup.js",
+ "line": 158
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/image-gen/setup/create-venv",
+ "mountPath": "/api/image-gen",
+ "sources": [
+ {
+ "source": "server/routes/imageGenSetup.js",
+ "line": 170
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/image-gen/setup/flux2-install",
+ "mountPath": "/api/image-gen",
+ "sources": [
+ {
+ "source": "server/routes/imageGenSetup.js",
+ "line": 50
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/image-gen/setup/flux2-status",
+ "mountPath": "/api/image-gen",
+ "sources": [
+ {
+ "source": "server/routes/imageGenSetup.js",
+ "line": 97
+ }
+ ]
+ },
+ {
+ "method": "DELETE",
+ "path": "/api/image-gen/setup/hf-token",
+ "mountPath": "/api/image-gen",
+ "sources": [
+ {
+ "source": "server/routes/imageGenSetup.js",
+ "line": 147
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/image-gen/setup/hf-token",
+ "mountPath": "/api/image-gen",
+ "sources": [
+ {
+ "source": "server/routes/imageGenSetup.js",
+ "line": 136
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/image-gen/setup/hf-token-status",
+ "mountPath": "/api/image-gen",
+ "sources": [
+ {
+ "source": "server/routes/imageGenSetup.js",
+ "line": 124
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/image-gen/setup/install",
+ "mountPath": "/api/image-gen",
+ "sources": [
+ {
+ "source": "server/routes/imageGenSetup.js",
+ "line": 196
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/image-gen/setup/python",
+ "mountPath": "/api/image-gen",
+ "sources": [
+ {
+ "source": "server/routes/imageGenSetup.js",
+ "line": 32
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/image-gen/status",
+ "mountPath": "/api/image-gen",
+ "sources": [
+ {
+ "source": "server/routes/imageGen.js",
+ "line": 316
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/image-gen/style-presets",
+ "mountPath": "/api/image-gen",
+ "sources": [
+ {
+ "source": "server/routes/imageGen.js",
+ "line": 59
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/image-gen/upload",
+ "mountPath": "/api/image-gen",
+ "sources": [
+ {
+ "source": "server/routes/imageGen.js",
+ "line": 563
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/image-to-3d/models",
+ "mountPath": "/api/image-to-3d",
+ "sources": [
+ {
+ "source": "server/routes/imageTo3d.js",
+ "line": 253
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/image-to-3d/models",
+ "mountPath": "/api/image-to-3d",
+ "sources": [
+ {
+ "source": "server/routes/imageTo3d.js",
+ "line": 274
+ }
+ ]
+ },
+ {
+ "method": "DELETE",
+ "path": "/api/image-to-3d/models/:id",
+ "mountPath": "/api/image-to-3d",
+ "sources": [
+ {
+ "source": "server/routes/imageTo3d.js",
+ "line": 318
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/image-to-3d/models/:id",
+ "mountPath": "/api/image-to-3d",
+ "sources": [
+ {
+ "source": "server/routes/imageTo3d.js",
+ "line": 304
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/image-to-3d/models/:id/asset",
+ "mountPath": "/api/image-to-3d",
+ "sources": [
+ {
+ "source": "server/routes/imageTo3d.js",
+ "line": 280
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/image-to-3d/models/:id/full-mesh",
+ "mountPath": "/api/image-to-3d",
+ "sources": [
+ {
+ "source": "server/routes/imageTo3d.js",
+ "line": 294
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/image-to-3d/models/:id/generate",
+ "mountPath": "/api/image-to-3d",
+ "sources": [
+ {
+ "source": "server/routes/imageTo3d.js",
+ "line": 310
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/image-to-3d/targets",
+ "mountPath": "/api/image-to-3d",
+ "sources": [
+ {
+ "source": "server/routes/imageTo3d.js",
+ "line": 67
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/image-to-3d/targets/:targetId/install",
+ "mountPath": "/api/image-to-3d",
+ "sources": [
+ {
+ "source": "server/routes/imageTo3d.js",
+ "line": 241
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/image-to-3d/trellis2/install",
+ "mountPath": "/api/image-to-3d",
+ "sources": [
+ {
+ "source": "server/routes/imageTo3d.js",
+ "line": 245
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/image-video/models",
+ "mountPath": "/api/image-video/models",
+ "sources": [
+ {
+ "source": "server/routes/imageVideoModels.js",
+ "line": 41
+ }
+ ]
+ },
+ {
+ "method": "DELETE",
+ "path": "/api/image-video/models/custom/:id",
+ "mountPath": "/api/image-video/models",
+ "sources": [
+ {
+ "source": "server/routes/imageVideoModels.js",
+ "line": 166
+ }
+ ]
+ },
+ {
+ "method": "PATCH",
+ "path": "/api/image-video/models/custom/:id",
+ "mountPath": "/api/image-video/models",
+ "sources": [
+ {
+ "source": "server/routes/imageVideoModels.js",
+ "line": 158
+ }
+ ]
+ },
+ {
+ "method": "DELETE",
+ "path": "/api/image-video/models/hf/:dirName",
+ "mountPath": "/api/image-video/models",
+ "sources": [
+ {
+ "source": "server/routes/imageVideoModels.js",
+ "line": 170
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/image-video/models/install/huggingface",
+ "mountPath": "/api/image-video/models",
+ "sources": [
+ {
+ "source": "server/routes/imageVideoModels.js",
+ "line": 145
+ }
+ ]
+ },
+ {
+ "method": "DELETE",
+ "path": "/api/image-video/models/lora/:filename",
+ "mountPath": "/api/image-video/models",
+ "sources": [
+ {
+ "source": "server/routes/imageVideoModels.js",
+ "line": 182
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/image-video/models/registry",
+ "mountPath": "/api/image-video/models",
+ "sources": [
+ {
+ "source": "server/routes/imageVideoModels.js",
+ "line": 53
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/image-video/models/search",
+ "mountPath": "/api/image-video/models",
+ "sources": [
+ {
+ "source": "server/routes/imageVideoModels.js",
+ "line": 119
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/imessage/blocklist",
+ "mountPath": "/api/imessage",
+ "sources": [
+ {
+ "source": "server/routes/imessage.js",
+ "line": 82
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/imessage/blocklist",
+ "mountPath": "/api/imessage",
+ "sources": [
+ {
+ "source": "server/routes/imessage.js",
+ "line": 102
+ }
+ ]
+ },
+ {
+ "method": "PUT",
+ "path": "/api/imessage/blocklist",
+ "mountPath": "/api/imessage",
+ "sources": [
+ {
+ "source": "server/routes/imessage.js",
+ "line": 91
+ }
+ ]
+ },
+ {
+ "method": "DELETE",
+ "path": "/api/imessage/blocklist/:handle",
+ "mountPath": "/api/imessage",
+ "sources": [
+ {
+ "source": "server/routes/imessage.js",
+ "line": 109
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/imessage/conversations",
+ "mountPath": "/api/imessage",
+ "sources": [
+ {
+ "source": "server/routes/imessage.js",
+ "line": 43
+ }
+ ]
+ },
+ {
+ "method": "DELETE",
+ "path": "/api/imessage/conversations/:chatKey",
+ "mountPath": "/api/imessage",
+ "sources": [
+ {
+ "source": "server/routes/imessage.js",
+ "line": 65
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/imessage/conversations/:chatKey/events",
+ "mountPath": "/api/imessage",
+ "sources": [
+ {
+ "source": "server/routes/imessage.js",
+ "line": 54
+ }
+ ]
+ },
+ {
+ "method": "DELETE",
+ "path": "/api/imessage/events/:id",
+ "mountPath": "/api/imessage",
+ "sources": [
+ {
+ "source": "server/routes/imessage.js",
+ "line": 75
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/imessage/setup-check",
+ "mountPath": "/api/imessage",
+ "sources": [
+ {
+ "source": "server/routes/imessage.js",
+ "line": 14
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/imessage/stats",
+ "mountPath": "/api/imessage",
+ "sources": [
+ {
+ "source": "server/routes/imessage.js",
+ "line": 117
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/imessage/status",
+ "mountPath": "/api/imessage",
+ "sources": [
+ {
+ "source": "server/routes/imessage.js",
+ "line": 21
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/imessage/sync",
+ "mountPath": "/api/imessage",
+ "sources": [
+ {
+ "source": "server/routes/imessage.js",
+ "line": 28
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/importer/analyze",
+ "mountPath": "/api/importer",
+ "sources": [
+ {
+ "source": "server/routes/importer.js",
+ "line": 70
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/importer/classify",
+ "mountPath": "/api/importer",
+ "sources": [
+ {
+ "source": "server/routes/importer.js",
+ "line": 64
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/importer/commit",
+ "mountPath": "/api/importer",
+ "sources": [
+ {
+ "source": "server/routes/importer.js",
+ "line": 85
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/importer/config",
+ "mountPath": "/api/importer",
+ "sources": [
+ {
+ "source": "server/routes/importer.js",
+ "line": 56
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/importer/retry-issues",
+ "mountPath": "/api/importer",
+ "sources": [
+ {
+ "source": "server/routes/importer.js",
+ "line": 79
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/insights/genome-health",
+ "mountPath": "/api/insights",
+ "sources": [
+ {
+ "source": "server/routes/insights.js",
+ "line": 36
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/insights/goal-scorecard",
+ "mountPath": "/api/insights",
+ "sources": [
+ {
+ "source": "server/routes/insights.js",
+ "line": 70
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/insights/goal-scorecard/compute",
+ "mountPath": "/api/insights",
+ "sources": [
+ {
+ "source": "server/routes/insights.js",
+ "line": 75
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/insights/goal-scorecard/narrative",
+ "mountPath": "/api/insights",
+ "sources": [
+ {
+ "source": "server/routes/insights.js",
+ "line": 81
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/insights/goal-scorecard/rules",
+ "mountPath": "/api/insights",
+ "sources": [
+ {
+ "source": "server/routes/insights.js",
+ "line": 87
+ }
+ ]
+ },
+ {
+ "method": "PUT",
+ "path": "/api/insights/goal-scorecard/rules",
+ "mountPath": "/api/insights",
+ "sources": [
+ {
+ "source": "server/routes/insights.js",
+ "line": 92
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/insights/goal-scorecard/settings",
+ "mountPath": "/api/insights",
+ "sources": [
+ {
+ "source": "server/routes/insights.js",
+ "line": 99
+ }
+ ]
+ },
+ {
+ "method": "PUT",
+ "path": "/api/insights/goal-scorecard/settings",
+ "mountPath": "/api/insights",
+ "sources": [
+ {
+ "source": "server/routes/insights.js",
+ "line": 104
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/insights/narrative",
+ "mountPath": "/api/insights",
+ "sources": [
+ {
+ "source": "server/routes/insights.js",
+ "line": 55
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/insights/narrative/refresh",
+ "mountPath": "/api/insights",
+ "sources": [
+ {
+ "source": "server/routes/insights.js",
+ "line": 61
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/insights/themes",
+ "mountPath": "/api/insights",
+ "sources": [
+ {
+ "source": "server/routes/insights.js",
+ "line": 42
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/insights/themes/refresh",
+ "mountPath": "/api/insights",
+ "sources": [
+ {
+ "source": "server/routes/insights.js",
+ "line": 48
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/instances",
+ "mountPath": "/api/instances",
+ "sources": [
+ {
+ "source": "server/routes/instances.js",
+ "line": 125
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/instances/assignable",
+ "mountPath": "/api/instances",
+ "sources": [
+ {
+ "source": "server/routes/instances.js",
+ "line": 140
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/instances/peers",
+ "mountPath": "/api/instances",
+ "sources": [
+ {
+ "source": "server/routes/instances.js",
+ "line": 263
+ }
+ ]
+ },
+ {
+ "method": "DELETE",
+ "path": "/api/instances/peers/:id",
+ "mountPath": "/api/instances",
+ "sources": [
+ {
+ "source": "server/routes/instances.js",
+ "line": 291
+ }
+ ]
+ },
+ {
+ "method": "PUT",
+ "path": "/api/instances/peers/:id",
+ "mountPath": "/api/instances",
+ "sources": [
+ {
+ "source": "server/routes/instances.js",
+ "line": 277
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/instances/peers/:id/connect",
+ "mountPath": "/api/instances",
+ "sources": [
+ {
+ "source": "server/routes/instances.js",
+ "line": 298
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/instances/peers/:id/full-sync-coverage",
+ "mountPath": "/api/instances",
+ "sources": [
+ {
+ "source": "server/routes/instances.js",
+ "line": 363
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/instances/peers/:id/probe",
+ "mountPath": "/api/instances",
+ "sources": [
+ {
+ "source": "server/routes/instances.js",
+ "line": 335
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/instances/peers/:id/query",
+ "mountPath": "/api/instances",
+ "sources": [
+ {
+ "source": "server/routes/instances.js",
+ "line": 378
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/instances/peers/:id/reciprocate",
+ "mountPath": "/api/instances",
+ "sources": [
+ {
+ "source": "server/routes/instances.js",
+ "line": 323
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/instances/peers/:id/sync",
+ "mountPath": "/api/instances",
+ "sources": [
+ {
+ "source": "server/routes/instances.js",
+ "line": 347
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/instances/peers/announce",
+ "mountPath": "/api/instances",
+ "sources": [
+ {
+ "source": "server/routes/instances.js",
+ "line": 236
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/instances/peers/sync-categories",
+ "mountPath": "/api/instances",
+ "sources": [
+ {
+ "source": "server/routes/instances.js",
+ "line": 308
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/instances/provision-cert",
+ "mountPath": "/api/instances",
+ "sources": [
+ {
+ "source": "server/routes/instances.js",
+ "line": 205
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/instances/self",
+ "mountPath": "/api/instances",
+ "sources": [
+ {
+ "source": "server/routes/instances.js",
+ "line": 215
+ }
+ ]
+ },
+ {
+ "method": "PUT",
+ "path": "/api/instances/self",
+ "mountPath": "/api/instances",
+ "sources": [
+ {
+ "source": "server/routes/instances.js",
+ "line": 228
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/instances/sync-status",
+ "mountPath": "/api/instances",
+ "sources": [
+ {
+ "source": "server/routes/instances.js",
+ "line": 166
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/instances/tailnet-suffix",
+ "mountPath": "/api/instances",
+ "sources": [
+ {
+ "source": "server/routes/instances.js",
+ "line": 181
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/jira/instances",
+ "mountPath": "/api/jira",
+ "sources": [
+ {
+ "source": "server/routes/jira.js",
+ "line": 60
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/jira/instances",
+ "mountPath": "/api/jira",
+ "sources": [
+ {
+ "source": "server/routes/jira.js",
+ "line": 89
+ }
+ ]
+ },
+ {
+ "method": "DELETE",
+ "path": "/api/jira/instances/:id",
+ "mountPath": "/api/jira",
+ "sources": [
+ {
+ "source": "server/routes/jira.js",
+ "line": 118
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/jira/instances/:id/projects",
+ "mountPath": "/api/jira",
+ "sources": [
+ {
+ "source": "server/routes/jira.js",
+ "line": 136
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/jira/instances/:id/test",
+ "mountPath": "/api/jira",
+ "sources": [
+ {
+ "source": "server/routes/jira.js",
+ "line": 127
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/jira/instances/:id/tickets",
+ "mountPath": "/api/jira",
+ "sources": [
+ {
+ "source": "server/routes/jira.js",
+ "line": 145
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/jira/instances/:instanceId/board-columns/:projectKey",
+ "mountPath": "/api/jira",
+ "sources": [
+ {
+ "source": "server/routes/jira.js",
+ "line": 295
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/jira/instances/:instanceId/boards/:boardId/sprints",
+ "mountPath": "/api/jira",
+ "sources": [
+ {
+ "source": "server/routes/jira.js",
+ "line": 308
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/jira/instances/:instanceId/epics/:epicKey/children",
+ "mountPath": "/api/jira",
+ "sources": [
+ {
+ "source": "server/routes/jira.js",
+ "line": 337
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/jira/instances/:instanceId/issues/:issueKey",
+ "mountPath": "/api/jira",
+ "sources": [
+ {
+ "source": "server/routes/jira.js",
+ "line": 359
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/jira/instances/:instanceId/my-sprint-tickets/:projectKey",
+ "mountPath": "/api/jira",
+ "sources": [
+ {
+ "source": "server/routes/jira.js",
+ "line": 273
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/jira/instances/:instanceId/projects/:projectKey/boards",
+ "mountPath": "/api/jira",
+ "sources": [
+ {
+ "source": "server/routes/jira.js",
+ "line": 349
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/jira/instances/:instanceId/projects/:projectKey/epics",
+ "mountPath": "/api/jira",
+ "sources": [
+ {
+ "source": "server/routes/jira.js",
+ "line": 365
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/jira/instances/:instanceId/sprints/:sprintId/issues",
+ "mountPath": "/api/jira",
+ "sources": [
+ {
+ "source": "server/routes/jira.js",
+ "line": 322
+ }
+ ]
+ },
+ {
+ "method": "DELETE",
+ "path": "/api/jira/instances/:instanceId/tickets/:ticketId",
+ "mountPath": "/api/jira",
+ "sources": [
+ {
+ "source": "server/routes/jira.js",
+ "line": 238
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/jira/instances/:instanceId/tickets/:ticketId",
+ "mountPath": "/api/jira",
+ "sources": [
+ {
+ "source": "server/routes/jira.js",
+ "line": 167
+ }
+ ]
+ },
+ {
+ "method": "PUT",
+ "path": "/api/jira/instances/:instanceId/tickets/:ticketId",
+ "mountPath": "/api/jira",
+ "sources": [
+ {
+ "source": "server/routes/jira.js",
+ "line": 189
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/jira/instances/:instanceId/tickets/:ticketId/comments",
+ "mountPath": "/api/jira",
+ "sources": [
+ {
+ "source": "server/routes/jira.js",
+ "line": 203
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/jira/instances/:instanceId/tickets/:ticketId/labels",
+ "mountPath": "/api/jira",
+ "sources": [
+ {
+ "source": "server/routes/jira.js",
+ "line": 175
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/jira/instances/:instanceId/tickets/:ticketId/transition",
+ "mountPath": "/api/jira",
+ "sources": [
+ {
+ "source": "server/routes/jira.js",
+ "line": 250
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/jira/instances/:instanceId/tickets/:ticketId/transitions",
+ "mountPath": "/api/jira",
+ "sources": [
+ {
+ "source": "server/routes/jira.js",
+ "line": 226
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/jira/reports",
+ "mountPath": "/api/jira",
+ "sources": [
+ {
+ "source": "server/routes/jira.js",
+ "line": 382
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/jira/reports/:appId/:date",
+ "mountPath": "/api/jira",
+ "sources": [
+ {
+ "source": "server/routes/jira.js",
+ "line": 426
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/jira/reports/:appId/latest",
+ "mountPath": "/api/jira",
+ "sources": [
+ {
+ "source": "server/routes/jira.js",
+ "line": 414
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/jira/reports/generate",
+ "mountPath": "/api/jira",
+ "sources": [
+ {
+ "source": "server/routes/jira.js",
+ "line": 391
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/legacy-export",
+ "mountPath": "/api/legacy-export",
+ "sources": [
+ {
+ "source": "server/routes/legacyExport.js",
+ "line": 17
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/legacy-export/preview",
+ "mountPath": "/api/legacy-export",
+ "sources": [
+ {
+ "source": "server/routes/legacyExport.js",
+ "line": 10
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/lmstudio/analyze-task",
+ "mountPath": "/api/lmstudio",
+ "sources": [
+ {
+ "source": "server/routes/lmstudio.js",
+ "line": 116
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/lmstudio/classify-memory",
+ "mountPath": "/api/lmstudio",
+ "sources": [
+ {
+ "source": "server/routes/lmstudio.js",
+ "line": 132
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/lmstudio/completion",
+ "mountPath": "/api/lmstudio",
+ "sources": [
+ {
+ "source": "server/routes/lmstudio.js",
+ "line": 99
+ }
+ ]
+ },
+ {
+ "method": "PUT",
+ "path": "/api/lmstudio/config",
+ "mountPath": "/api/lmstudio",
+ "sources": [
+ {
+ "source": "server/routes/lmstudio.js",
+ "line": 154
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/lmstudio/download",
+ "mountPath": "/api/lmstudio",
+ "sources": [
+ {
+ "source": "server/routes/lmstudio.js",
+ "line": 63
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/lmstudio/embeddings",
+ "mountPath": "/api/lmstudio",
+ "sources": [
+ {
+ "source": "server/routes/lmstudio.js",
+ "line": 143
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/lmstudio/load",
+ "mountPath": "/api/lmstudio",
+ "sources": [
+ {
+ "source": "server/routes/lmstudio.js",
+ "line": 74
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/lmstudio/models",
+ "mountPath": "/api/lmstudio",
+ "sources": [
+ {
+ "source": "server/routes/lmstudio.js",
+ "line": 41
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/lmstudio/reset-cache",
+ "mountPath": "/api/lmstudio",
+ "sources": [
+ {
+ "source": "server/routes/lmstudio.js",
+ "line": 179
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/lmstudio/status",
+ "mountPath": "/api/lmstudio",
+ "sources": [
+ {
+ "source": "server/routes/lmstudio.js",
+ "line": 27
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/lmstudio/thinking-stats",
+ "mountPath": "/api/lmstudio",
+ "sources": [
+ {
+ "source": "server/routes/lmstudio.js",
+ "line": 170
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/lmstudio/unload",
+ "mountPath": "/api/lmstudio",
+ "sources": [
+ {
+ "source": "server/routes/lmstudio.js",
+ "line": 85
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/local-llm/assessments",
+ "mountPath": "/api/local-llm",
+ "sources": [
+ {
+ "source": "server/routes/localLlm.js",
+ "line": 501
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/local-llm/assessments/agent-benchmark",
+ "mountPath": "/api/local-llm",
+ "sources": [
+ {
+ "source": "server/routes/localLlm.js",
+ "line": 524
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/local-llm/assessments/delete",
+ "mountPath": "/api/local-llm",
+ "sources": [
+ {
+ "source": "server/routes/localLlm.js",
+ "line": 572
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/local-llm/assessments/run",
+ "mountPath": "/api/local-llm",
+ "sources": [
+ {
+ "source": "server/routes/localLlm.js",
+ "line": 509
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/local-llm/assessments/sweep",
+ "mountPath": "/api/local-llm",
+ "sources": [
+ {
+ "source": "server/routes/localLlm.js",
+ "line": 559
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/local-llm/assessments/sweep",
+ "mountPath": "/api/local-llm",
+ "sources": [
+ {
+ "source": "server/routes/localLlm.js",
+ "line": 540
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/local-llm/assessments/sweep/cancel",
+ "mountPath": "/api/local-llm",
+ "sources": [
+ {
+ "source": "server/routes/localLlm.js",
+ "line": 565
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/local-llm/capability-tests",
+ "mountPath": "/api/local-llm",
+ "sources": [
+ {
+ "source": "server/routes/localLlm.js",
+ "line": 596
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/local-llm/capability-tests/delete",
+ "mountPath": "/api/local-llm",
+ "sources": [
+ {
+ "source": "server/routes/localLlm.js",
+ "line": 632
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/local-llm/capability-tests/result",
+ "mountPath": "/api/local-llm",
+ "sources": [
+ {
+ "source": "server/routes/localLlm.js",
+ "line": 623
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/local-llm/capability-tests/run",
+ "mountPath": "/api/local-llm",
+ "sources": [
+ {
+ "source": "server/routes/localLlm.js",
+ "line": 603
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/local-llm/catalog",
+ "mountPath": "/api/local-llm",
+ "sources": [
+ {
+ "source": "server/routes/localLlm.js",
+ "line": 127
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/local-llm/compare",
+ "mountPath": "/api/local-llm",
+ "sources": [
+ {
+ "source": "server/routes/localLlm.js",
+ "line": 482
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/local-llm/delete",
+ "mountPath": "/api/local-llm",
+ "sources": [
+ {
+ "source": "server/routes/localLlm.js",
+ "line": 327
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/local-llm/huggingface-search",
+ "mountPath": "/api/local-llm",
+ "sources": [
+ {
+ "source": "server/routes/localLlm.js",
+ "line": 179
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/local-llm/install",
+ "mountPath": "/api/local-llm",
+ "sources": [
+ {
+ "source": "server/routes/localLlm.js",
+ "line": 277
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/local-llm/install-backend",
+ "mountPath": "/api/local-llm",
+ "sources": [
+ {
+ "source": "server/routes/localLlm.js",
+ "line": 211
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/local-llm/llama-server/download-model",
+ "mountPath": "/api/local-llm",
+ "sources": [
+ {
+ "source": "server/routes/localLlm.js",
+ "line": 665
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/local-llm/llama-server/download-model/cancel",
+ "mountPath": "/api/local-llm",
+ "sources": [
+ {
+ "source": "server/routes/localLlm.js",
+ "line": 679
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/local-llm/llama-server/install",
+ "mountPath": "/api/local-llm",
+ "sources": [
+ {
+ "source": "server/routes/localLlm.js",
+ "line": 706
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/local-llm/llama-server/start",
+ "mountPath": "/api/local-llm",
+ "sources": [
+ {
+ "source": "server/routes/localLlm.js",
+ "line": 691
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/local-llm/llama-server/status",
+ "mountPath": "/api/local-llm",
+ "sources": [
+ {
+ "source": "server/routes/localLlm.js",
+ "line": 646
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/local-llm/llama-server/stop",
+ "mountPath": "/api/local-llm",
+ "sources": [
+ {
+ "source": "server/routes/localLlm.js",
+ "line": 699
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/local-llm/llama-server/update-status",
+ "mountPath": "/api/local-llm",
+ "sources": [
+ {
+ "source": "server/routes/localLlm.js",
+ "line": 657
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/local-llm/llama-server/upgrade",
+ "mountPath": "/api/local-llm",
+ "sources": [
+ {
+ "source": "server/routes/localLlm.js",
+ "line": 717
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/local-llm/lmstudio-service",
+ "mountPath": "/api/local-llm",
+ "sources": [
+ {
+ "source": "server/routes/localLlm.js",
+ "line": 259
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/local-llm/loaded",
+ "mountPath": "/api/local-llm",
+ "sources": [
+ {
+ "source": "server/routes/localLlm.js",
+ "line": 377
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/local-llm/migrate",
+ "mountPath": "/api/local-llm",
+ "sources": [
+ {
+ "source": "server/routes/localLlm.js",
+ "line": 351
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/local-llm/mtplx/install",
+ "mountPath": "/api/local-llm",
+ "sources": [
+ {
+ "source": "server/routes/localLlm.js",
+ "line": 769
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/local-llm/mtplx/models/pull",
+ "mountPath": "/api/local-llm",
+ "sources": [
+ {
+ "source": "server/routes/localLlm.js",
+ "line": 797
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/local-llm/mtplx/models/remove",
+ "mountPath": "/api/local-llm",
+ "sources": [
+ {
+ "source": "server/routes/localLlm.js",
+ "line": 808
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/local-llm/mtplx/models/search",
+ "mountPath": "/api/local-llm",
+ "sources": [
+ {
+ "source": "server/routes/localLlm.js",
+ "line": 788
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/local-llm/mtplx/start",
+ "mountPath": "/api/local-llm",
+ "sources": [
+ {
+ "source": "server/routes/localLlm.js",
+ "line": 747
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/local-llm/mtplx/status",
+ "mountPath": "/api/local-llm",
+ "sources": [
+ {
+ "source": "server/routes/localLlm.js",
+ "line": 742
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/local-llm/mtplx/stop",
+ "mountPath": "/api/local-llm",
+ "sources": [
+ {
+ "source": "server/routes/localLlm.js",
+ "line": 762
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/local-llm/ollama-service",
+ "mountPath": "/api/local-llm",
+ "sources": [
+ {
+ "source": "server/routes/localLlm.js",
+ "line": 228
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/local-llm/save-startup",
+ "mountPath": "/api/local-llm",
+ "sources": [
+ {
+ "source": "server/routes/localLlm.js",
+ "line": 826
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/local-llm/status",
+ "mountPath": "/api/local-llm",
+ "sources": [
+ {
+ "source": "server/routes/localLlm.js",
+ "line": 99
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/local-llm/switch",
+ "mountPath": "/api/local-llm",
+ "sources": [
+ {
+ "source": "server/routes/localLlm.js",
+ "line": 335
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/local-llm/test",
+ "mountPath": "/api/local-llm",
+ "sources": [
+ {
+ "source": "server/routes/localLlm.js",
+ "line": 421
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/local-llm/test/stream",
+ "mountPath": "/api/local-llm",
+ "sources": [
+ {
+ "source": "server/routes/localLlm.js",
+ "line": 434
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/local-llm/tool-use-models",
+ "mountPath": "/api/local-llm",
+ "sources": [
+ {
+ "source": "server/routes/localLlm.js",
+ "line": 119
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/local-llm/unload",
+ "mountPath": "/api/local-llm",
+ "sources": [
+ {
+ "source": "server/routes/localLlm.js",
+ "line": 400
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/local-llm/upgrade-backend",
+ "mountPath": "/api/local-llm",
+ "sources": [
+ {
+ "source": "server/routes/localLlm.js",
+ "line": 310
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/local-llm/vision-models",
+ "mountPath": "/api/local-llm",
+ "sources": [
+ {
+ "source": "server/routes/localLlm.js",
+ "line": 106
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/logs/:processName",
+ "mountPath": "/api/logs",
+ "sources": [
+ {
+ "source": "server/routes/logs.js",
+ "line": 33
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/logs/app/:appId",
+ "mountPath": "/api/logs",
+ "sources": [
+ {
+ "source": "server/routes/logs.js",
+ "line": 112
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/logs/processes",
+ "mountPath": "/api/logs",
+ "sources": [
+ {
+ "source": "server/routes/logs.js",
+ "line": 27
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/loops",
+ "mountPath": "/api/loops",
+ "sources": [
+ {
+ "source": "server/routes/loops.js",
+ "line": 19
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/loops",
+ "mountPath": "/api/loops",
+ "sources": [
+ {
+ "source": "server/routes/loops.js",
+ "line": 38
+ }
+ ]
+ },
+ {
+ "method": "DELETE",
+ "path": "/api/loops/:id",
+ "mountPath": "/api/loops",
+ "sources": [
+ {
+ "source": "server/routes/loops.js",
+ "line": 76
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/loops/:id",
+ "mountPath": "/api/loops",
+ "sources": [
+ {
+ "source": "server/routes/loops.js",
+ "line": 31
+ }
+ ]
+ },
+ {
+ "method": "PUT",
+ "path": "/api/loops/:id",
+ "mountPath": "/api/loops",
+ "sources": [
+ {
+ "source": "server/routes/loops.js",
+ "line": 50
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/loops/:id/resume",
+ "mountPath": "/api/loops",
+ "sources": [
+ {
+ "source": "server/routes/loops.js",
+ "line": 64
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/loops/:id/stop",
+ "mountPath": "/api/loops",
+ "sources": [
+ {
+ "source": "server/routes/loops.js",
+ "line": 58
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/loops/:id/trigger",
+ "mountPath": "/api/loops",
+ "sources": [
+ {
+ "source": "server/routes/loops.js",
+ "line": 70
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/loops/providers",
+ "mountPath": "/api/loops",
+ "sources": [
+ {
+ "source": "server/routes/loops.js",
+ "line": 25
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/lora-datasets",
+ "mountPath": "/api/lora-datasets",
+ "sources": [
+ {
+ "source": "server/routes/loraDatasets.js",
+ "line": 45
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/lora-datasets",
+ "mountPath": "/api/lora-datasets",
+ "sources": [
+ {
+ "source": "server/routes/loraDatasets.js",
+ "line": 58
+ }
+ ]
+ },
+ {
+ "method": "DELETE",
+ "path": "/api/lora-datasets/:id",
+ "mountPath": "/api/lora-datasets",
+ "sources": [
+ {
+ "source": "server/routes/loraDatasets.js",
+ "line": 93
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/lora-datasets/:id",
+ "mountPath": "/api/lora-datasets",
+ "sources": [
+ {
+ "source": "server/routes/loraDatasets.js",
+ "line": 64
+ }
+ ]
+ },
+ {
+ "method": "PATCH",
+ "path": "/api/lora-datasets/:id",
+ "mountPath": "/api/lora-datasets",
+ "sources": [
+ {
+ "source": "server/routes/loraDatasets.js",
+ "line": 87
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/lora-datasets/:id/caption",
+ "mountPath": "/api/lora-datasets",
+ "sources": [
+ {
+ "source": "server/routes/loraDatasets.js",
+ "line": 168
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/lora-datasets/:id/caption-runs/:runId/events",
+ "mountPath": "/api/lora-datasets",
+ "sources": [
+ {
+ "source": "server/routes/loraDatasets.js",
+ "line": 173
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/lora-datasets/:id/generate",
+ "mountPath": "/api/lora-datasets",
+ "sources": [
+ {
+ "source": "server/routes/loraDatasets.js",
+ "line": 140
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/lora-datasets/:id/images",
+ "mountPath": "/api/lora-datasets",
+ "sources": [
+ {
+ "source": "server/routes/loraDatasets.js",
+ "line": 105
+ }
+ ]
+ },
+ {
+ "method": "DELETE",
+ "path": "/api/lora-datasets/:id/images/:imageId",
+ "mountPath": "/api/lora-datasets",
+ "sources": [
+ {
+ "source": "server/routes/loraDatasets.js",
+ "line": 192
+ }
+ ]
+ },
+ {
+ "method": "PATCH",
+ "path": "/api/lora-datasets/:id/images/:imageId",
+ "mountPath": "/api/lora-datasets",
+ "sources": [
+ {
+ "source": "server/routes/loraDatasets.js",
+ "line": 187
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/lora-datasets/:id/import-gallery",
+ "mountPath": "/api/lora-datasets",
+ "sources": [
+ {
+ "source": "server/routes/loraDatasets.js",
+ "line": 126
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/lora-datasets/:id/slice-reference-sheet",
+ "mountPath": "/api/lora-datasets",
+ "sources": [
+ {
+ "source": "server/routes/loraDatasets.js",
+ "line": 157
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/lora-datasets/:id/strip-shared-fragments",
+ "mountPath": "/api/lora-datasets",
+ "sources": [
+ {
+ "source": "server/routes/loraDatasets.js",
+ "line": 182
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/lora-datasets/:id/variation-axes",
+ "mountPath": "/api/lora-datasets",
+ "sources": [
+ {
+ "source": "server/routes/loraDatasets.js",
+ "line": 74
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/lora-training/runs",
+ "mountPath": "/api/lora-training",
+ "sources": [
+ {
+ "source": "server/routes/loraTraining.js",
+ "line": 69
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/lora-training/runs",
+ "mountPath": "/api/lora-training",
+ "sources": [
+ {
+ "source": "server/routes/loraTraining.js",
+ "line": 58
+ }
+ ]
+ },
+ {
+ "method": "DELETE",
+ "path": "/api/lora-training/runs/:id",
+ "mountPath": "/api/lora-training",
+ "sources": [
+ {
+ "source": "server/routes/loraTraining.js",
+ "line": 111
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/lora-training/runs/:id",
+ "mountPath": "/api/lora-training",
+ "sources": [
+ {
+ "source": "server/routes/loraTraining.js",
+ "line": 74
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/lora-training/runs/:id/cancel",
+ "mountPath": "/api/lora-training",
+ "sources": [
+ {
+ "source": "server/routes/loraTraining.js",
+ "line": 90
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/lora-training/runs/:id/checkpoints",
+ "mountPath": "/api/lora-training",
+ "sources": [
+ {
+ "source": "server/routes/loraTraining.js",
+ "line": 134
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/lora-training/runs/:id/events",
+ "mountPath": "/api/lora-training",
+ "sources": [
+ {
+ "source": "server/routes/loraTraining.js",
+ "line": 81
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/lora-training/runs/:id/promote-checkpoint",
+ "mountPath": "/api/lora-training",
+ "sources": [
+ {
+ "source": "server/routes/loraTraining.js",
+ "line": 140
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/lora-training/runs/:id/resume",
+ "mountPath": "/api/lora-training",
+ "sources": [
+ {
+ "source": "server/routes/loraTraining.js",
+ "line": 106
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/lora-training/runs/:id/samples",
+ "mountPath": "/api/lora-training",
+ "sources": [
+ {
+ "source": "server/routes/loraTraining.js",
+ "line": 150
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/lora-training/runs/:id/samples/:filename",
+ "mountPath": "/api/lora-training",
+ "sources": [
+ {
+ "source": "server/routes/loraTraining.js",
+ "line": 155
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/lora-training/status",
+ "mountPath": "/api/lora-training",
+ "sources": [
+ {
+ "source": "server/routes/loraTraining.js",
+ "line": 42
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/loras",
+ "mountPath": "/api/loras",
+ "sources": [
+ {
+ "source": "server/routes/loras.js",
+ "line": 41
+ }
+ ]
+ },
+ {
+ "method": "DELETE",
+ "path": "/api/loras/:filename",
+ "mountPath": "/api/loras",
+ "sources": [
+ {
+ "source": "server/routes/loras.js",
+ "line": 257
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/loras/:filename",
+ "mountPath": "/api/loras",
+ "sources": [
+ {
+ "source": "server/routes/loras.js",
+ "line": 223
+ }
+ ]
+ },
+ {
+ "method": "PATCH",
+ "path": "/api/loras/:filename",
+ "mountPath": "/api/loras",
+ "sources": [
+ {
+ "source": "server/routes/loras.js",
+ "line": 251
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/loras/:filename/effect",
+ "mountPath": "/api/loras",
+ "sources": [
+ {
+ "source": "server/routes/loras.js",
+ "line": 236
+ }
+ ]
+ },
+ {
+ "method": "DELETE",
+ "path": "/api/loras/auth/civitai",
+ "mountPath": "/api/loras",
+ "sources": [
+ {
+ "source": "server/routes/loras.js",
+ "line": 111
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/loras/auth/civitai",
+ "mountPath": "/api/loras",
+ "sources": [
+ {
+ "source": "server/routes/loras.js",
+ "line": 91
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/loras/auth/civitai",
+ "mountPath": "/api/loras",
+ "sources": [
+ {
+ "source": "server/routes/loras.js",
+ "line": 102
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/loras/by-character",
+ "mountPath": "/api/loras",
+ "sources": [
+ {
+ "source": "server/routes/loras.js",
+ "line": 218
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/loras/install",
+ "mountPath": "/api/loras",
+ "sources": [
+ {
+ "source": "server/routes/loras.js",
+ "line": 137
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/loras/install/huggingface",
+ "mountPath": "/api/loras",
+ "sources": [
+ {
+ "source": "server/routes/loras.js",
+ "line": 153
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/loras/install/huggingface/stream",
+ "mountPath": "/api/loras",
+ "sources": [
+ {
+ "source": "server/routes/loras.js",
+ "line": 176
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/loras/search",
+ "mountPath": "/api/loras",
+ "sources": [
+ {
+ "source": "server/routes/loras.js",
+ "line": 76
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/loras/suggestions",
+ "mountPath": "/api/loras",
+ "sources": [
+ {
+ "source": "server/routes/loras.js",
+ "line": 54
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/meatspace",
+ "mountPath": "/api/meatspace",
+ "sources": [
+ {
+ "source": "server/routes/meatspaceCoreRoutes.js",
+ "line": 25
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/meatspace/activities",
+ "mountPath": "/api/meatspace",
+ "sources": [
+ {
+ "source": "server/routes/meatspaceCalendarRoutes.js",
+ "line": 37
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/meatspace/activities",
+ "mountPath": "/api/meatspace",
+ "sources": [
+ {
+ "source": "server/routes/meatspaceCalendarRoutes.js",
+ "line": 46
+ }
+ ]
+ },
+ {
+ "method": "DELETE",
+ "path": "/api/meatspace/activities/:index",
+ "mountPath": "/api/meatspace",
+ "sources": [
+ {
+ "source": "server/routes/meatspaceCalendarRoutes.js",
+ "line": 70
+ }
+ ]
+ },
+ {
+ "method": "PUT",
+ "path": "/api/meatspace/activities/:index",
+ "mountPath": "/api/meatspace",
+ "sources": [
+ {
+ "source": "server/routes/meatspaceCalendarRoutes.js",
+ "line": 56
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/meatspace/alcohol",
+ "mountPath": "/api/meatspace",
+ "sources": [
+ {
+ "source": "server/routes/meatspaceAlcoholRoutes.js",
+ "line": 28
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/meatspace/alcohol/custom-drinks",
+ "mountPath": "/api/meatspace",
+ "sources": [
+ {
+ "source": "server/routes/meatspaceAlcoholRoutes.js",
+ "line": 89
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/meatspace/alcohol/custom-drinks",
+ "mountPath": "/api/meatspace",
+ "sources": [
+ {
+ "source": "server/routes/meatspaceAlcoholRoutes.js",
+ "line": 98
+ }
+ ]
+ },
+ {
+ "method": "DELETE",
+ "path": "/api/meatspace/alcohol/custom-drinks/:index",
+ "mountPath": "/api/meatspace",
+ "sources": [
+ {
+ "source": "server/routes/meatspaceAlcoholRoutes.js",
+ "line": 122
+ }
+ ]
+ },
+ {
+ "method": "PUT",
+ "path": "/api/meatspace/alcohol/custom-drinks/:index",
+ "mountPath": "/api/meatspace",
+ "sources": [
+ {
+ "source": "server/routes/meatspaceAlcoholRoutes.js",
+ "line": 108
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/meatspace/alcohol/daily",
+ "mountPath": "/api/meatspace",
+ "sources": [
+ {
+ "source": "server/routes/meatspaceAlcoholRoutes.js",
+ "line": 37
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/meatspace/alcohol/log",
+ "mountPath": "/api/meatspace",
+ "sources": [
+ {
+ "source": "server/routes/meatspaceAlcoholRoutes.js",
+ "line": 46
+ }
+ ]
+ },
+ {
+ "method": "DELETE",
+ "path": "/api/meatspace/alcohol/log/:date/:index",
+ "mountPath": "/api/meatspace",
+ "sources": [
+ {
+ "source": "server/routes/meatspaceAlcoholRoutes.js",
+ "line": 71
+ }
+ ]
+ },
+ {
+ "method": "PUT",
+ "path": "/api/meatspace/alcohol/log/:date/:index",
+ "mountPath": "/api/meatspace",
+ "sources": [
+ {
+ "source": "server/routes/meatspaceAlcoholRoutes.js",
+ "line": 56
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/meatspace/birth-date",
+ "mountPath": "/api/meatspace",
+ "sources": [
+ {
+ "source": "server/routes/meatspaceCoreRoutes.js",
+ "line": 80
+ }
+ ]
+ },
+ {
+ "method": "PUT",
+ "path": "/api/meatspace/birth-date",
+ "mountPath": "/api/meatspace",
+ "sources": [
+ {
+ "source": "server/routes/meatspaceCoreRoutes.js",
+ "line": 89
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/meatspace/blood",
+ "mountPath": "/api/meatspace",
+ "sources": [
+ {
+ "source": "server/routes/meatspaceHealthRoutes.js",
+ "line": 31
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/meatspace/blood",
+ "mountPath": "/api/meatspace",
+ "sources": [
+ {
+ "source": "server/routes/meatspaceHealthRoutes.js",
+ "line": 40
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/meatspace/blood-pressure",
+ "mountPath": "/api/meatspace",
+ "sources": [
+ {
+ "source": "server/routes/meatspaceHealthRoutes.js",
+ "line": 69
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/meatspace/blood-pressure",
+ "mountPath": "/api/meatspace",
+ "sources": [
+ {
+ "source": "server/routes/meatspaceHealthRoutes.js",
+ "line": 78
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/meatspace/body",
+ "mountPath": "/api/meatspace",
+ "sources": [
+ {
+ "source": "server/routes/meatspaceHealthRoutes.js",
+ "line": 50
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/meatspace/body",
+ "mountPath": "/api/meatspace",
+ "sources": [
+ {
+ "source": "server/routes/meatspaceHealthRoutes.js",
+ "line": 59
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/meatspace/calendar",
+ "mountPath": "/api/meatspace",
+ "sources": [
+ {
+ "source": "server/routes/meatspaceCalendarRoutes.js",
+ "line": 28
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/meatspace/config",
+ "mountPath": "/api/meatspace",
+ "sources": [
+ {
+ "source": "server/routes/meatspaceCoreRoutes.js",
+ "line": 47
+ }
+ ]
+ },
+ {
+ "method": "PUT",
+ "path": "/api/meatspace/config",
+ "mountPath": "/api/meatspace",
+ "sources": [
+ {
+ "source": "server/routes/meatspaceCoreRoutes.js",
+ "line": 56
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/meatspace/death-clock",
+ "mountPath": "/api/meatspace",
+ "sources": [
+ {
+ "source": "server/routes/meatspaceCoreRoutes.js",
+ "line": 103
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/meatspace/epigenetic",
+ "mountPath": "/api/meatspace",
+ "sources": [
+ {
+ "source": "server/routes/meatspaceHealthRoutes.js",
+ "line": 107
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/meatspace/epigenetic",
+ "mountPath": "/api/meatspace",
+ "sources": [
+ {
+ "source": "server/routes/meatspaceHealthRoutes.js",
+ "line": 116
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/meatspace/export/mortalloom",
+ "mountPath": "/api/meatspace",
+ "sources": [
+ {
+ "source": "server/routes/meatspaceExportRoutes.js",
+ "line": 25
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/meatspace/eyes",
+ "mountPath": "/api/meatspace",
+ "sources": [
+ {
+ "source": "server/routes/meatspaceHealthRoutes.js",
+ "line": 126
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/meatspace/eyes",
+ "mountPath": "/api/meatspace",
+ "sources": [
+ {
+ "source": "server/routes/meatspaceHealthRoutes.js",
+ "line": 135
+ }
+ ]
+ },
+ {
+ "method": "DELETE",
+ "path": "/api/meatspace/eyes/:index",
+ "mountPath": "/api/meatspace",
+ "sources": [
+ {
+ "source": "server/routes/meatspaceHealthRoutes.js",
+ "line": 159
+ }
+ ]
+ },
+ {
+ "method": "PUT",
+ "path": "/api/meatspace/eyes/:index",
+ "mountPath": "/api/meatspace",
+ "sources": [
+ {
+ "source": "server/routes/meatspaceHealthRoutes.js",
+ "line": 145
+ }
+ ]
+ },
+ {
+ "method": "DELETE",
+ "path": "/api/meatspace/genome",
+ "mountPath": "/api/meatspace/genome",
+ "sources": [
+ {
+ "source": "server/routes/genome.js",
+ "line": 218
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/meatspace/genome",
+ "mountPath": "/api/meatspace/genome",
+ "sources": [
+ {
+ "source": "server/routes/genome.js",
+ "line": 20
+ }
+ ]
+ },
+ {
+ "method": "DELETE",
+ "path": "/api/meatspace/genome/clinvar",
+ "mountPath": "/api/meatspace/genome",
+ "sources": [
+ {
+ "source": "server/routes/genome.js",
+ "line": 142
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/meatspace/genome/clinvar/scan",
+ "mountPath": "/api/meatspace/genome",
+ "sources": [
+ {
+ "source": "server/routes/genome.js",
+ "line": 121
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/meatspace/genome/clinvar/status",
+ "mountPath": "/api/meatspace/genome",
+ "sources": [
+ {
+ "source": "server/routes/genome.js",
+ "line": 96
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/meatspace/genome/clinvar/sync",
+ "mountPath": "/api/meatspace/genome",
+ "sources": [
+ {
+ "source": "server/routes/genome.js",
+ "line": 102
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/meatspace/genome/epigenetic",
+ "mountPath": "/api/meatspace/genome",
+ "sources": [
+ {
+ "source": "server/routes/genome.js",
+ "line": 150
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/meatspace/genome/epigenetic",
+ "mountPath": "/api/meatspace/genome",
+ "sources": [
+ {
+ "source": "server/routes/genome.js",
+ "line": 170
+ }
+ ]
+ },
+ {
+ "method": "DELETE",
+ "path": "/api/meatspace/genome/epigenetic/:id",
+ "mountPath": "/api/meatspace/genome",
+ "sources": [
+ {
+ "source": "server/routes/genome.js",
+ "line": 205
+ }
+ ]
+ },
+ {
+ "method": "PUT",
+ "path": "/api/meatspace/genome/epigenetic/:id",
+ "mountPath": "/api/meatspace/genome",
+ "sources": [
+ {
+ "source": "server/routes/genome.js",
+ "line": 191
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/meatspace/genome/epigenetic/:id/log",
+ "mountPath": "/api/meatspace/genome",
+ "sources": [
+ {
+ "source": "server/routes/genome.js",
+ "line": 177
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/meatspace/genome/epigenetic/compliance",
+ "mountPath": "/api/meatspace/genome",
+ "sources": [
+ {
+ "source": "server/routes/genome.js",
+ "line": 163
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/meatspace/genome/epigenetic/recommendations",
+ "mountPath": "/api/meatspace/genome",
+ "sources": [
+ {
+ "source": "server/routes/genome.js",
+ "line": 156
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/meatspace/genome/markers",
+ "mountPath": "/api/meatspace/genome",
+ "sources": [
+ {
+ "source": "server/routes/genome.js",
+ "line": 60
+ }
+ ]
+ },
+ {
+ "method": "DELETE",
+ "path": "/api/meatspace/genome/markers/:id",
+ "mountPath": "/api/meatspace/genome",
+ "sources": [
+ {
+ "source": "server/routes/genome.js",
+ "line": 81
+ }
+ ]
+ },
+ {
+ "method": "PUT",
+ "path": "/api/meatspace/genome/markers/:id/notes",
+ "mountPath": "/api/meatspace/genome",
+ "sources": [
+ {
+ "source": "server/routes/genome.js",
+ "line": 67
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/meatspace/genome/scan",
+ "mountPath": "/api/meatspace/genome",
+ "sources": [
+ {
+ "source": "server/routes/genome.js",
+ "line": 40
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/meatspace/genome/search",
+ "mountPath": "/api/meatspace/genome",
+ "sources": [
+ {
+ "source": "server/routes/genome.js",
+ "line": 53
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/meatspace/genome/upload",
+ "mountPath": "/api/meatspace/genome",
+ "sources": [
+ {
+ "source": "server/routes/genome.js",
+ "line": 26
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/meatspace/lev",
+ "mountPath": "/api/meatspace",
+ "sources": [
+ {
+ "source": "server/routes/meatspaceCoreRoutes.js",
+ "line": 112
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/meatspace/life-events",
+ "mountPath": "/api/meatspace",
+ "sources": [
+ {
+ "source": "server/routes/meatspaceCalendarRoutes.js",
+ "line": 87
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/meatspace/life-events",
+ "mountPath": "/api/meatspace",
+ "sources": [
+ {
+ "source": "server/routes/meatspaceCalendarRoutes.js",
+ "line": 96
+ }
+ ]
+ },
+ {
+ "method": "DELETE",
+ "path": "/api/meatspace/life-events/:id",
+ "mountPath": "/api/meatspace",
+ "sources": [
+ {
+ "source": "server/routes/meatspaceCalendarRoutes.js",
+ "line": 117
+ }
+ ]
+ },
+ {
+ "method": "PUT",
+ "path": "/api/meatspace/life-events/:id",
+ "mountPath": "/api/meatspace",
+ "sources": [
+ {
+ "source": "server/routes/meatspaceCalendarRoutes.js",
+ "line": 106
+ }
+ ]
+ },
+ {
+ "method": "PUT",
+ "path": "/api/meatspace/lifestyle",
+ "mountPath": "/api/meatspace",
+ "sources": [
+ {
+ "source": "server/routes/meatspaceCoreRoutes.js",
+ "line": 66
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/meatspace/logging-stats",
+ "mountPath": "/api/meatspace",
+ "sources": [
+ {
+ "source": "server/routes/meatspaceCoreRoutes.js",
+ "line": 34
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/meatspace/nicotine",
+ "mountPath": "/api/meatspace",
+ "sources": [
+ {
+ "source": "server/routes/meatspaceNicotineRoutes.js",
+ "line": 28
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/meatspace/nicotine/custom-products",
+ "mountPath": "/api/meatspace",
+ "sources": [
+ {
+ "source": "server/routes/meatspaceNicotineRoutes.js",
+ "line": 89
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/meatspace/nicotine/custom-products",
+ "mountPath": "/api/meatspace",
+ "sources": [
+ {
+ "source": "server/routes/meatspaceNicotineRoutes.js",
+ "line": 98
+ }
+ ]
+ },
+ {
+ "method": "DELETE",
+ "path": "/api/meatspace/nicotine/custom-products/:index",
+ "mountPath": "/api/meatspace",
+ "sources": [
+ {
+ "source": "server/routes/meatspaceNicotineRoutes.js",
+ "line": 122
+ }
+ ]
+ },
+ {
+ "method": "PUT",
+ "path": "/api/meatspace/nicotine/custom-products/:index",
+ "mountPath": "/api/meatspace",
+ "sources": [
+ {
+ "source": "server/routes/meatspaceNicotineRoutes.js",
+ "line": 108
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/meatspace/nicotine/daily",
+ "mountPath": "/api/meatspace",
+ "sources": [
+ {
+ "source": "server/routes/meatspaceNicotineRoutes.js",
+ "line": 37
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/meatspace/nicotine/log",
+ "mountPath": "/api/meatspace",
+ "sources": [
+ {
+ "source": "server/routes/meatspaceNicotineRoutes.js",
+ "line": 46
+ }
+ ]
+ },
+ {
+ "method": "DELETE",
+ "path": "/api/meatspace/nicotine/log/:date/:index",
+ "mountPath": "/api/meatspace",
+ "sources": [
+ {
+ "source": "server/routes/meatspaceNicotineRoutes.js",
+ "line": 71
+ }
+ ]
+ },
+ {
+ "method": "PUT",
+ "path": "/api/meatspace/nicotine/log/:date/:index",
+ "mountPath": "/api/meatspace",
+ "sources": [
+ {
+ "source": "server/routes/meatspaceNicotineRoutes.js",
+ "line": 56
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/meatspace/post/adaptive-preview",
+ "mountPath": "/api/meatspace",
+ "sources": [
+ {
+ "source": "server/routes/meatspacePostRoutes.js",
+ "line": 264
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/meatspace/post/benchmark/protocol",
+ "mountPath": "/api/meatspace",
+ "sources": [
+ {
+ "source": "server/routes/meatspacePostRoutes.js",
+ "line": 79
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/meatspace/post/cognitive-progress",
+ "mountPath": "/api/meatspace",
+ "sources": [
+ {
+ "source": "server/routes/meatspacePostRoutes.js",
+ "line": 240
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/meatspace/post/config",
+ "mountPath": "/api/meatspace",
+ "sources": [
+ {
+ "source": "server/routes/meatspacePostRoutes.js",
+ "line": 54
+ }
+ ]
+ },
+ {
+ "method": "PUT",
+ "path": "/api/meatspace/post/config",
+ "mountPath": "/api/meatspace",
+ "sources": [
+ {
+ "source": "server/routes/meatspacePostRoutes.js",
+ "line": 63
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/meatspace/post/drill",
+ "mountPath": "/api/meatspace",
+ "sources": [
+ {
+ "source": "server/routes/meatspacePostRoutes.js",
+ "line": 157
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/meatspace/post/drill-cache/fill",
+ "mountPath": "/api/meatspace",
+ "sources": [
+ {
+ "source": "server/routes/meatspacePostRoutes.js",
+ "line": 316
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/meatspace/post/drill-cache/status",
+ "mountPath": "/api/meatspace",
+ "sources": [
+ {
+ "source": "server/routes/meatspacePostRoutes.js",
+ "line": 305
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/meatspace/post/memory-drill",
+ "mountPath": "/api/meatspace",
+ "sources": [
+ {
+ "source": "server/routes/meatspacePostRoutes.js",
+ "line": 513
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/meatspace/post/memory-items",
+ "mountPath": "/api/meatspace",
+ "sources": [
+ {
+ "source": "server/routes/meatspacePostRoutes.js",
+ "line": 411
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/meatspace/post/memory-items",
+ "mountPath": "/api/meatspace",
+ "sources": [
+ {
+ "source": "server/routes/meatspacePostRoutes.js",
+ "line": 440
+ }
+ ]
+ },
+ {
+ "method": "DELETE",
+ "path": "/api/meatspace/post/memory-items/:id",
+ "mountPath": "/api/meatspace",
+ "sources": [
+ {
+ "source": "server/routes/meatspacePostRoutes.js",
+ "line": 461
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/meatspace/post/memory-items/:id",
+ "mountPath": "/api/meatspace",
+ "sources": [
+ {
+ "source": "server/routes/meatspacePostRoutes.js",
+ "line": 430
+ }
+ ]
+ },
+ {
+ "method": "PUT",
+ "path": "/api/meatspace/post/memory-items/:id",
+ "mountPath": "/api/meatspace",
+ "sources": [
+ {
+ "source": "server/routes/meatspacePostRoutes.js",
+ "line": 450
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/meatspace/post/memory-items/:id/attest-mastery",
+ "mountPath": "/api/meatspace",
+ "sources": [
+ {
+ "source": "server/routes/meatspacePostRoutes.js",
+ "line": 482
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/meatspace/post/memory-items/:id/chunk-mastery",
+ "mountPath": "/api/meatspace",
+ "sources": [
+ {
+ "source": "server/routes/meatspacePostRoutes.js",
+ "line": 503
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/meatspace/post/memory-items/:id/mastery",
+ "mountPath": "/api/meatspace",
+ "sources": [
+ {
+ "source": "server/routes/meatspacePostRoutes.js",
+ "line": 493
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/meatspace/post/memory-items/:id/practice",
+ "mountPath": "/api/meatspace",
+ "sources": [
+ {
+ "source": "server/routes/meatspacePostRoutes.js",
+ "line": 471
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/meatspace/post/memory-items/due",
+ "mountPath": "/api/meatspace",
+ "sources": [
+ {
+ "source": "server/routes/meatspacePostRoutes.js",
+ "line": 421
+ }
+ ]
+ },
+ {
+ "method": "PUT",
+ "path": "/api/meatspace/post/morse/level",
+ "mountPath": "/api/meatspace",
+ "sources": [
+ {
+ "source": "server/routes/meatspacePostRoutes.js",
+ "line": 397
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/meatspace/post/morse/progress",
+ "mountPath": "/api/meatspace",
+ "sources": [
+ {
+ "source": "server/routes/meatspacePostRoutes.js",
+ "line": 386
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/meatspace/post/morse/rounds",
+ "mountPath": "/api/meatspace",
+ "sources": [
+ {
+ "source": "server/routes/meatspacePostRoutes.js",
+ "line": 375
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/meatspace/post/multiplication-progress",
+ "mountPath": "/api/meatspace",
+ "sources": [
+ {
+ "source": "server/routes/meatspacePostRoutes.js",
+ "line": 223
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/meatspace/post/powers-progress",
+ "mountPath": "/api/meatspace",
+ "sources": [
+ {
+ "source": "server/routes/meatspacePostRoutes.js",
+ "line": 229
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/meatspace/post/progress",
+ "mountPath": "/api/meatspace",
+ "sources": [
+ {
+ "source": "server/routes/meatspacePostRoutes.js",
+ "line": 132
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/meatspace/post/recommendations",
+ "mountPath": "/api/meatspace",
+ "sources": [
+ {
+ "source": "server/routes/meatspacePostRoutes.js",
+ "line": 145
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/meatspace/post/review/reps",
+ "mountPath": "/api/meatspace",
+ "sources": [
+ {
+ "source": "server/routes/meatspacePostRoutes.js",
+ "line": 252
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/meatspace/post/rhetoric/evaluate",
+ "mountPath": "/api/meatspace",
+ "sources": [
+ {
+ "source": "server/routes/meatspacePostRoutes.js",
+ "line": 287
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/meatspace/post/score-llm",
+ "mountPath": "/api/meatspace",
+ "sources": [
+ {
+ "source": "server/routes/meatspacePostRoutes.js",
+ "line": 273
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/meatspace/post/sessions",
+ "mountPath": "/api/meatspace",
+ "sources": [
+ {
+ "source": "server/routes/meatspacePostRoutes.js",
+ "line": 88
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/meatspace/post/sessions",
+ "mountPath": "/api/meatspace",
+ "sources": [
+ {
+ "source": "server/routes/meatspacePostRoutes.js",
+ "line": 109
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/meatspace/post/sessions/:id",
+ "mountPath": "/api/meatspace",
+ "sources": [
+ {
+ "source": "server/routes/meatspacePostRoutes.js",
+ "line": 97
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/meatspace/post/stats",
+ "mountPath": "/api/meatspace",
+ "sources": [
+ {
+ "source": "server/routes/meatspacePostRoutes.js",
+ "line": 119
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/meatspace/post/training",
+ "mountPath": "/api/meatspace",
+ "sources": [
+ {
+ "source": "server/routes/meatspacePostRoutes.js",
+ "line": 330
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/meatspace/post/training/entries",
+ "mountPath": "/api/meatspace",
+ "sources": [
+ {
+ "source": "server/routes/meatspacePostRoutes.js",
+ "line": 361
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/meatspace/post/training/runs",
+ "mountPath": "/api/meatspace",
+ "sources": [
+ {
+ "source": "server/routes/meatspacePostRoutes.js",
+ "line": 340
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/meatspace/post/training/stats",
+ "mountPath": "/api/meatspace",
+ "sources": [
+ {
+ "source": "server/routes/meatspacePostRoutes.js",
+ "line": 350
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/meatspace/workouts",
+ "mountPath": "/api/meatspace",
+ "sources": [
+ {
+ "source": "server/routes/meatspaceHealthRoutes.js",
+ "line": 88
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/meatspace/workouts",
+ "mountPath": "/api/meatspace",
+ "sources": [
+ {
+ "source": "server/routes/meatspaceHealthRoutes.js",
+ "line": 97
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/media-jobs",
+ "mountPath": "/api/media-jobs",
+ "sources": [
+ {
+ "source": "server/routes/mediaJobs.js",
+ "line": 102
+ }
+ ]
+ },
+ {
+ "method": "DELETE",
+ "path": "/api/media-jobs/:id",
+ "mountPath": "/api/media-jobs",
+ "sources": [
+ {
+ "source": "server/routes/mediaJobs.js",
+ "line": 358
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/media-jobs/:id",
+ "mountPath": "/api/media-jobs",
+ "sources": [
+ {
+ "source": "server/routes/mediaJobs.js",
+ "line": 131
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/media-jobs/:id/cancel",
+ "mountPath": "/api/media-jobs",
+ "sources": [
+ {
+ "source": "server/routes/mediaJobs.js",
+ "line": 144
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/media-jobs/:id/retry",
+ "mountPath": "/api/media-jobs",
+ "sources": [
+ {
+ "source": "server/routes/mediaJobs.js",
+ "line": 256
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/media-jobs/:id/run-now",
+ "mountPath": "/api/media-jobs",
+ "sources": [
+ {
+ "source": "server/routes/mediaJobs.js",
+ "line": 374
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/media-jobs/cancel-queued",
+ "mountPath": "/api/media-jobs",
+ "sources": [
+ {
+ "source": "server/routes/mediaJobs.js",
+ "line": 386
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/media-jobs/prompt-from-media",
+ "mountPath": "/api/media-jobs",
+ "sources": [
+ {
+ "source": "server/routes/mediaJobs.js",
+ "line": 126
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/media-jobs/refine-prompt",
+ "mountPath": "/api/media-jobs",
+ "sources": [
+ {
+ "source": "server/routes/mediaJobs.js",
+ "line": 121
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/media/annotations",
+ "mountPath": "/api/media/annotations",
+ "sources": [
+ {
+ "source": "server/routes/mediaAnnotations.js",
+ "line": 33
+ }
+ ]
+ },
+ {
+ "method": "PATCH",
+ "path": "/api/media/annotations/:key",
+ "mountPath": "/api/media/annotations",
+ "sources": [
+ {
+ "source": "server/routes/mediaAnnotations.js",
+ "line": 37
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/media/audio",
+ "mountPath": "/api/media",
+ "sources": [
+ {
+ "source": "server/routes/media.js",
+ "line": 112
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/media/collections",
+ "mountPath": "/api/media/collections",
+ "sources": [
+ {
+ "source": "server/routes/mediaCollections.js",
+ "line": 63
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/media/collections",
+ "mountPath": "/api/media/collections",
+ "sources": [
+ {
+ "source": "server/routes/mediaCollections.js",
+ "line": 69
+ }
+ ]
+ },
+ {
+ "method": "DELETE",
+ "path": "/api/media/collections/:id",
+ "mountPath": "/api/media/collections",
+ "sources": [
+ {
+ "source": "server/routes/mediaCollections.js",
+ "line": 85
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/media/collections/:id",
+ "mountPath": "/api/media/collections",
+ "sources": [
+ {
+ "source": "server/routes/mediaCollections.js",
+ "line": 74
+ }
+ ]
+ },
+ {
+ "method": "PATCH",
+ "path": "/api/media/collections/:id",
+ "mountPath": "/api/media/collections",
+ "sources": [
+ {
+ "source": "server/routes/mediaCollections.js",
+ "line": 79
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/media/collections/:id/items",
+ "mountPath": "/api/media/collections",
+ "sources": [
+ {
+ "source": "server/routes/mediaCollections.js",
+ "line": 90
+ }
+ ]
+ },
+ {
+ "method": "DELETE",
+ "path": "/api/media/collections/:id/items/:key",
+ "mountPath": "/api/media/collections",
+ "sources": [
+ {
+ "source": "server/routes/mediaCollections.js",
+ "line": 106
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/media/collections/:id/items/bulk",
+ "mountPath": "/api/media/collections",
+ "sources": [
+ {
+ "source": "server/routes/mediaCollections.js",
+ "line": 99
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/media/devices",
+ "mountPath": "/api/media",
+ "sources": [
+ {
+ "source": "server/routes/media.js",
+ "line": 17
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/media/sketches",
+ "mountPath": "/api/media/sketches",
+ "sources": [
+ {
+ "source": "server/routes/mediaSketches.js",
+ "line": 29
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/media/sketches/:key",
+ "mountPath": "/api/media/sketches",
+ "sources": [
+ {
+ "source": "server/routes/mediaSketches.js",
+ "line": 33
+ }
+ ]
+ },
+ {
+ "method": "PUT",
+ "path": "/api/media/sketches/:key",
+ "mountPath": "/api/media/sketches",
+ "sources": [
+ {
+ "source": "server/routes/mediaSketches.js",
+ "line": 44
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/media/sketches/:key/png",
+ "mountPath": "/api/media/sketches",
+ "sources": [
+ {
+ "source": "server/routes/mediaSketches.js",
+ "line": 38
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/media/start",
+ "mountPath": "/api/media",
+ "sources": [
+ {
+ "source": "server/routes/media.js",
+ "line": 31
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/media/status",
+ "mountPath": "/api/media",
+ "sources": [
+ {
+ "source": "server/routes/media.js",
+ "line": 23
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/media/stop",
+ "mountPath": "/api/media",
+ "sources": [
+ {
+ "source": "server/routes/media.js",
+ "line": 50
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/media/video",
+ "mountPath": "/api/media",
+ "sources": [
+ {
+ "source": "server/routes/media.js",
+ "line": 56
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/memory",
+ "mountPath": "/api/memory",
+ "sources": [
+ {
+ "source": "server/routes/memory.js",
+ "line": 28
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/memory",
+ "mountPath": "/api/memory",
+ "sources": [
+ {
+ "source": "server/routes/memory.js",
+ "line": 128
+ }
+ ]
+ },
+ {
+ "method": "DELETE",
+ "path": "/api/memory/:id",
+ "mountPath": "/api/memory",
+ "sources": [
+ {
+ "source": "server/routes/memory.js",
+ "line": 219
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/memory/:id",
+ "mountPath": "/api/memory",
+ "sources": [
+ {
+ "source": "server/routes/memory.js",
+ "line": 166
+ }
+ ]
+ },
+ {
+ "method": "PUT",
+ "path": "/api/memory/:id",
+ "mountPath": "/api/memory",
+ "sources": [
+ {
+ "source": "server/routes/memory.js",
+ "line": 182
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/memory/:id/approve",
+ "mountPath": "/api/memory",
+ "sources": [
+ {
+ "source": "server/routes/memory.js",
+ "line": 201
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/memory/:id/reject",
+ "mountPath": "/api/memory",
+ "sources": [
+ {
+ "source": "server/routes/memory.js",
+ "line": 210
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/memory/:id/related",
+ "mountPath": "/api/memory",
+ "sources": [
+ {
+ "source": "server/routes/memory.js",
+ "line": 175
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/memory/backend/status",
+ "mountPath": "/api/memory",
+ "sources": [
+ {
+ "source": "server/routes/memory.js",
+ "line": 68
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/memory/categories",
+ "mountPath": "/api/memory",
+ "sources": [
+ {
+ "source": "server/routes/memory.js",
+ "line": 42
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/memory/consolidate",
+ "mountPath": "/api/memory",
+ "sources": [
+ {
+ "source": "server/routes/memory.js",
+ "line": 139
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/memory/decay",
+ "mountPath": "/api/memory",
+ "sources": [
+ {
+ "source": "server/routes/memory.js",
+ "line": 153
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/memory/embeddings/status",
+ "mountPath": "/api/memory",
+ "sources": [
+ {
+ "source": "server/routes/memory.js",
+ "line": 98
+ }
+ ]
+ },
+ {
+ "method": "DELETE",
+ "path": "/api/memory/expired",
+ "mountPath": "/api/memory",
+ "sources": [
+ {
+ "source": "server/routes/memory.js",
+ "line": 160
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/memory/graph",
+ "mountPath": "/api/memory",
+ "sources": [
+ {
+ "source": "server/routes/memory.js",
+ "line": 62
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/memory/link",
+ "mountPath": "/api/memory",
+ "sources": [
+ {
+ "source": "server/routes/memory.js",
+ "line": 146
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/memory/search",
+ "mountPath": "/api/memory",
+ "sources": [
+ {
+ "source": "server/routes/memory.js",
+ "line": 104
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/memory/stats",
+ "mountPath": "/api/memory",
+ "sources": [
+ {
+ "source": "server/routes/memory.js",
+ "line": 36
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/memory/sync",
+ "mountPath": "/api/memory",
+ "sources": [
+ {
+ "source": "server/routes/memory.js",
+ "line": 75
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/memory/sync",
+ "mountPath": "/api/memory",
+ "sources": [
+ {
+ "source": "server/routes/memory.js",
+ "line": 87
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/memory/tags",
+ "mountPath": "/api/memory",
+ "sources": [
+ {
+ "source": "server/routes/memory.js",
+ "line": 48
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/memory/timeline",
+ "mountPath": "/api/memory",
+ "sources": [
+ {
+ "source": "server/routes/memory.js",
+ "line": 54
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/messages/:accountId/:messageId",
+ "mountPath": "/api/messages",
+ "sources": [
+ {
+ "source": "server/routes/messages.js",
+ "line": 500
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/messages/:accountId/:messageId/action",
+ "mountPath": "/api/messages",
+ "sources": [
+ {
+ "source": "server/routes/messages.js",
+ "line": 435
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/messages/:accountId/:messageId/refresh",
+ "mountPath": "/api/messages",
+ "sources": [
+ {
+ "source": "server/routes/messages.js",
+ "line": 384
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/messages/accounts",
+ "mountPath": "/api/messages",
+ "sources": [
+ {
+ "source": "server/routes/messages.js",
+ "line": 87
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/messages/accounts",
+ "mountPath": "/api/messages",
+ "sources": [
+ {
+ "source": "server/routes/messages.js",
+ "line": 92
+ }
+ ]
+ },
+ {
+ "method": "DELETE",
+ "path": "/api/messages/accounts/:id",
+ "mountPath": "/api/messages",
+ "sources": [
+ {
+ "source": "server/routes/messages.js",
+ "line": 110
+ }
+ ]
+ },
+ {
+ "method": "PUT",
+ "path": "/api/messages/accounts/:id",
+ "mountPath": "/api/messages",
+ "sources": [
+ {
+ "source": "server/routes/messages.js",
+ "line": 99
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/messages/accounts/:id/cache/clear",
+ "mountPath": "/api/messages",
+ "sources": [
+ {
+ "source": "server/routes/messages.js",
+ "line": 425
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/messages/debug/clear-token",
+ "mountPath": "/api/messages",
+ "sources": [
+ {
+ "source": "server/routes/messages.js",
+ "line": 492
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/messages/debug/test-token",
+ "mountPath": "/api/messages",
+ "sources": [
+ {
+ "source": "server/routes/messages.js",
+ "line": 456
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/messages/debug/token-status",
+ "mountPath": "/api/messages",
+ "sources": [
+ {
+ "source": "server/routes/messages.js",
+ "line": 451
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/messages/drafts",
+ "mountPath": "/api/messages",
+ "sources": [
+ {
+ "source": "server/routes/messages.js",
+ "line": 199
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/messages/drafts",
+ "mountPath": "/api/messages",
+ "sources": [
+ {
+ "source": "server/routes/messages.js",
+ "line": 208
+ }
+ ]
+ },
+ {
+ "method": "DELETE",
+ "path": "/api/messages/drafts/:id",
+ "mountPath": "/api/messages",
+ "sources": [
+ {
+ "source": "server/routes/messages.js",
+ "line": 295
+ }
+ ]
+ },
+ {
+ "method": "PUT",
+ "path": "/api/messages/drafts/:id",
+ "mountPath": "/api/messages",
+ "sources": [
+ {
+ "source": "server/routes/messages.js",
+ "line": 264
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/messages/drafts/:id/approve",
+ "mountPath": "/api/messages",
+ "sources": [
+ {
+ "source": "server/routes/messages.js",
+ "line": 274
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/messages/drafts/:id/send",
+ "mountPath": "/api/messages",
+ "sources": [
+ {
+ "source": "server/routes/messages.js",
+ "line": 283
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/messages/drafts/generate",
+ "mountPath": "/api/messages",
+ "sources": [
+ {
+ "source": "server/routes/messages.js",
+ "line": 222
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/messages/evaluate",
+ "mountPath": "/api/messages",
+ "sources": [
+ {
+ "source": "server/routes/messages.js",
+ "line": 175
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/messages/fetch-full/:accountId",
+ "mountPath": "/api/messages",
+ "sources": [
+ {
+ "source": "server/routes/messages.js",
+ "line": 400
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/messages/gmail/enable-api",
+ "mountPath": "/api/messages",
+ "sources": [
+ {
+ "source": "server/routes/messages.js",
+ "line": 318
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/messages/inbox",
+ "mountPath": "/api/messages",
+ "sources": [
+ {
+ "source": "server/routes/messages.js",
+ "line": 145
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/messages/launch/:accountId",
+ "mountPath": "/api/messages",
+ "sources": [
+ {
+ "source": "server/routes/messages.js",
+ "line": 305
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/messages/selectors",
+ "mountPath": "/api/messages",
+ "sources": [
+ {
+ "source": "server/routes/messages.js",
+ "line": 343
+ }
+ ]
+ },
+ {
+ "method": "PUT",
+ "path": "/api/messages/selectors/:provider",
+ "mountPath": "/api/messages",
+ "sources": [
+ {
+ "source": "server/routes/messages.js",
+ "line": 350
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/messages/selectors/:provider/test",
+ "mountPath": "/api/messages",
+ "sources": [
+ {
+ "source": "server/routes/messages.js",
+ "line": 359
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/messages/sync/:accountId",
+ "mountPath": "/api/messages",
+ "sources": [
+ {
+ "source": "server/routes/messages.js",
+ "line": 124
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/messages/sync/:accountId/status",
+ "mountPath": "/api/messages",
+ "sources": [
+ {
+ "source": "server/routes/messages.js",
+ "line": 135
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/messages/thread/:accountId/:threadId",
+ "mountPath": "/api/messages",
+ "sources": [
+ {
+ "source": "server/routes/messages.js",
+ "line": 368
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/messages/triage-rules",
+ "mountPath": "/api/messages",
+ "sources": [
+ {
+ "source": "server/routes/messages.js",
+ "line": 161
+ }
+ ]
+ },
+ {
+ "method": "DELETE",
+ "path": "/api/messages/triage-rules/:index",
+ "mountPath": "/api/messages",
+ "sources": [
+ {
+ "source": "server/routes/messages.js",
+ "line": 166
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/midi-runtime/install",
+ "mountPath": "/api/midi-runtime",
+ "sources": [
+ {
+ "source": "server/routes/midiRuntime.js",
+ "line": 41
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/model-personality/history",
+ "mountPath": "/api/model-personality",
+ "sources": [
+ {
+ "source": "server/routes/model-personality.js",
+ "line": 37
+ }
+ ]
+ },
+ {
+ "method": "DELETE",
+ "path": "/api/model-personality/history/:runId",
+ "mountPath": "/api/model-personality",
+ "sources": [
+ {
+ "source": "server/routes/model-personality.js",
+ "line": 43
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/model-personality/run",
+ "mountPath": "/api/model-personality",
+ "sources": [
+ {
+ "source": "server/routes/model-personality.js",
+ "line": 27
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/model-personality/settings",
+ "mountPath": "/api/model-personality",
+ "sources": [
+ {
+ "source": "server/routes/model-personality.js",
+ "line": 50
+ }
+ ]
+ },
+ {
+ "method": "PUT",
+ "path": "/api/model-personality/settings",
+ "mountPath": "/api/model-personality",
+ "sources": [
+ {
+ "source": "server/routes/model-personality.js",
+ "line": 56
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/mood-boards",
+ "mountPath": "/api/mood-boards",
+ "sources": [
+ {
+ "source": "server/routes/moodBoard.js",
+ "line": 45
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/mood-boards",
+ "mountPath": "/api/mood-boards",
+ "sources": [
+ {
+ "source": "server/routes/moodBoard.js",
+ "line": 59
+ }
+ ]
+ },
+ {
+ "method": "DELETE",
+ "path": "/api/mood-boards/:id",
+ "mountPath": "/api/mood-boards",
+ "sources": [
+ {
+ "source": "server/routes/moodBoard.js",
+ "line": 71
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/mood-boards/:id",
+ "mountPath": "/api/mood-boards",
+ "sources": [
+ {
+ "source": "server/routes/moodBoard.js",
+ "line": 53
+ }
+ ]
+ },
+ {
+ "method": "PATCH",
+ "path": "/api/mood-boards/:id",
+ "mountPath": "/api/mood-boards",
+ "sources": [
+ {
+ "source": "server/routes/moodBoard.js",
+ "line": 65
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/mood-boards/:id/items",
+ "mountPath": "/api/mood-boards",
+ "sources": [
+ {
+ "source": "server/routes/moodBoard.js",
+ "line": 77
+ }
+ ]
+ },
+ {
+ "method": "DELETE",
+ "path": "/api/mood-boards/:id/items/:itemId",
+ "mountPath": "/api/mood-boards",
+ "sources": [
+ {
+ "source": "server/routes/moodBoard.js",
+ "line": 89
+ }
+ ]
+ },
+ {
+ "method": "PATCH",
+ "path": "/api/mood-boards/:id/items/:itemId",
+ "mountPath": "/api/mood-boards",
+ "sources": [
+ {
+ "source": "server/routes/moodBoard.js",
+ "line": 83
+ }
+ ]
+ },
+ {
+ "method": "DELETE",
+ "path": "/api/mood-boards/:id/pinterest",
+ "mountPath": "/api/mood-boards",
+ "sources": [
+ {
+ "source": "server/routes/moodBoard.js",
+ "line": 120
+ }
+ ]
+ },
+ {
+ "method": "PUT",
+ "path": "/api/mood-boards/:id/pinterest",
+ "mountPath": "/api/mood-boards",
+ "sources": [
+ {
+ "source": "server/routes/moodBoard.js",
+ "line": 114
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/mood-boards/:id/pinterest/sync",
+ "mountPath": "/api/mood-boards",
+ "sources": [
+ {
+ "source": "server/routes/moodBoard.js",
+ "line": 126
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/mood-boards/:id/synthesize-style",
+ "mountPath": "/api/mood-boards",
+ "sources": [
+ {
+ "source": "server/routes/moodBoard.js",
+ "line": 106
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/mortalloom/app-store",
+ "mountPath": "/api/mortalloom",
+ "sources": [
+ {
+ "source": "server/routes/mortalloom.js",
+ "line": 12
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/mortalloom/import",
+ "mountPath": "/api/mortalloom",
+ "sources": [
+ {
+ "source": "server/routes/mortalloom.js",
+ "line": 16
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/mortalloom/status",
+ "mountPath": "/api/mortalloom",
+ "sources": [
+ {
+ "source": "server/routes/mortalloom.js",
+ "line": 7
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/music-video",
+ "mountPath": "/api/music-video",
+ "sources": [
+ {
+ "source": "server/routes/musicVideo.js",
+ "line": 71
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/music-video",
+ "mountPath": "/api/music-video",
+ "sources": [
+ {
+ "source": "server/routes/musicVideo.js",
+ "line": 85
+ }
+ ]
+ },
+ {
+ "method": "DELETE",
+ "path": "/api/music-video/:id",
+ "mountPath": "/api/music-video",
+ "sources": [
+ {
+ "source": "server/routes/musicVideo.js",
+ "line": 102
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/music-video/:id",
+ "mountPath": "/api/music-video",
+ "sources": [
+ {
+ "source": "server/routes/musicVideo.js",
+ "line": 79
+ }
+ ]
+ },
+ {
+ "method": "PATCH",
+ "path": "/api/music-video/:id",
+ "mountPath": "/api/music-video",
+ "sources": [
+ {
+ "source": "server/routes/musicVideo.js",
+ "line": 96
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/music-video/:id/analyze",
+ "mountPath": "/api/music-video",
+ "sources": [
+ {
+ "source": "server/routes/musicVideo.js",
+ "line": 130
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/music-video/:id/analyze/manual",
+ "mountPath": "/api/music-video",
+ "sources": [
+ {
+ "source": "server/routes/musicVideo.js",
+ "line": 149
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/music-video/:id/clone",
+ "mountPath": "/api/music-video",
+ "sources": [
+ {
+ "source": "server/routes/musicVideo.js",
+ "line": 91
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/music-video/:id/plan",
+ "mountPath": "/api/music-video",
+ "sources": [
+ {
+ "source": "server/routes/musicVideo.js",
+ "line": 172
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/music-video/:id/render",
+ "mountPath": "/api/music-video",
+ "sources": [
+ {
+ "source": "server/routes/musicVideo.js",
+ "line": 237
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/music-video/:id/scenes",
+ "mountPath": "/api/music-video",
+ "sources": [
+ {
+ "source": "server/routes/musicVideo.js",
+ "line": 254
+ }
+ ]
+ },
+ {
+ "method": "DELETE",
+ "path": "/api/music-video/:id/scenes/:sceneId",
+ "mountPath": "/api/music-video",
+ "sources": [
+ {
+ "source": "server/routes/musicVideo.js",
+ "line": 266
+ }
+ ]
+ },
+ {
+ "method": "PATCH",
+ "path": "/api/music-video/:id/scenes/:sceneId",
+ "mountPath": "/api/music-video",
+ "sources": [
+ {
+ "source": "server/routes/musicVideo.js",
+ "line": 260
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/music-video/:id/scenes/reorder",
+ "mountPath": "/api/music-video",
+ "sources": [
+ {
+ "source": "server/routes/musicVideo.js",
+ "line": 271
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/music-video/:id/transcribe-midi",
+ "mountPath": "/api/music-video",
+ "sources": [
+ {
+ "source": "server/routes/musicVideo.js",
+ "line": 186
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/music-video/render/:jobId/cancel",
+ "mountPath": "/api/music-video",
+ "sources": [
+ {
+ "source": "server/routes/musicVideo.js",
+ "line": 248
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/music-video/render/:jobId/events",
+ "mountPath": "/api/music-video",
+ "sources": [
+ {
+ "source": "server/routes/musicVideo.js",
+ "line": 243
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/music-video/transcribe-midi/:jobId/cancel",
+ "mountPath": "/api/music-video",
+ "sources": [
+ {
+ "source": "server/routes/musicVideo.js",
+ "line": 229
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/music-video/transcribe-midi/:jobId/events",
+ "mountPath": "/api/music-video",
+ "sources": [
+ {
+ "source": "server/routes/musicVideo.js",
+ "line": 223
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/music/describe",
+ "mountPath": "/api/music",
+ "sources": [
+ {
+ "source": "server/routes/music.js",
+ "line": 314
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/music/engines",
+ "mountPath": "/api/music",
+ "sources": [
+ {
+ "source": "server/routes/music.js",
+ "line": 61
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/music/generate",
+ "mountPath": "/api/music",
+ "sources": [
+ {
+ "source": "server/routes/music.js",
+ "line": 398
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/music/lyrics",
+ "mountPath": "/api/music",
+ "sources": [
+ {
+ "source": "server/routes/music.js",
+ "line": 330
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/music/models",
+ "mountPath": "/api/music",
+ "sources": [
+ {
+ "source": "server/routes/music.js",
+ "line": 230
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/music/models/:engine",
+ "mountPath": "/api/music",
+ "sources": [
+ {
+ "source": "server/routes/music.js",
+ "line": 217
+ }
+ ]
+ },
+ {
+ "method": "DELETE",
+ "path": "/api/music/models/:engine/*id",
+ "mountPath": "/api/music",
+ "sources": [
+ {
+ "source": "server/routes/music.js",
+ "line": 272
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/music/setup/runtime-install",
+ "mountPath": "/api/music",
+ "sources": [
+ {
+ "source": "server/routes/music.js",
+ "line": 92
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/music/setup/runtime-status",
+ "mountPath": "/api/music",
+ "sources": [
+ {
+ "source": "server/routes/music.js",
+ "line": 71
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/network-exposure/status",
+ "mountPath": "/api/network-exposure",
+ "sources": [
+ {
+ "source": "server/routes/networkExposure.js",
+ "line": 7
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/notes/detect",
+ "mountPath": "/api/notes",
+ "sources": [
+ {
+ "source": "server/routes/notes.js",
+ "line": 67
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/notes/vaults",
+ "mountPath": "/api/notes",
+ "sources": [
+ {
+ "source": "server/routes/notes.js",
+ "line": 62
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/notes/vaults",
+ "mountPath": "/api/notes",
+ "sources": [
+ {
+ "source": "server/routes/notes.js",
+ "line": 72
+ }
+ ]
+ },
+ {
+ "method": "DELETE",
+ "path": "/api/notes/vaults/:id",
+ "mountPath": "/api/notes",
+ "sources": [
+ {
+ "source": "server/routes/notes.js",
+ "line": 86
+ }
+ ]
+ },
+ {
+ "method": "PUT",
+ "path": "/api/notes/vaults/:id",
+ "mountPath": "/api/notes",
+ "sources": [
+ {
+ "source": "server/routes/notes.js",
+ "line": 79
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/notes/vaults/:id/folders",
+ "mountPath": "/api/notes",
+ "sources": [
+ {
+ "source": "server/routes/notes.js",
+ "line": 162
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/notes/vaults/:id/graph",
+ "mountPath": "/api/notes",
+ "sources": [
+ {
+ "source": "server/routes/notes.js",
+ "line": 168
+ }
+ ]
+ },
+ {
+ "method": "DELETE",
+ "path": "/api/notes/vaults/:id/note",
+ "mountPath": "/api/notes",
+ "sources": [
+ {
+ "source": "server/routes/notes.js",
+ "line": 134
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/notes/vaults/:id/note",
+ "mountPath": "/api/notes",
+ "sources": [
+ {
+ "source": "server/routes/notes.js",
+ "line": 111
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/notes/vaults/:id/note",
+ "mountPath": "/api/notes",
+ "sources": [
+ {
+ "source": "server/routes/notes.js",
+ "line": 119
+ }
+ ]
+ },
+ {
+ "method": "PUT",
+ "path": "/api/notes/vaults/:id/note",
+ "mountPath": "/api/notes",
+ "sources": [
+ {
+ "source": "server/routes/notes.js",
+ "line": 126
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/notes/vaults/:id/scan",
+ "mountPath": "/api/notes",
+ "sources": [
+ {
+ "source": "server/routes/notes.js",
+ "line": 98
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/notes/vaults/:id/search",
+ "mountPath": "/api/notes",
+ "sources": [
+ {
+ "source": "server/routes/notes.js",
+ "line": 148
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/notes/vaults/:id/tags",
+ "mountPath": "/api/notes",
+ "sources": [
+ {
+ "source": "server/routes/notes.js",
+ "line": 156
+ }
+ ]
+ },
+ {
+ "method": "DELETE",
+ "path": "/api/notifications",
+ "mountPath": "/api/notifications",
+ "sources": [
+ {
+ "source": "server/routes/notifications.js",
+ "line": 60
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/notifications",
+ "mountPath": "/api/notifications",
+ "sources": [
+ {
+ "source": "server/routes/notifications.js",
+ "line": 12
+ }
+ ]
+ },
+ {
+ "method": "DELETE",
+ "path": "/api/notifications/:id",
+ "mountPath": "/api/notifications",
+ "sources": [
+ {
+ "source": "server/routes/notifications.js",
+ "line": 51
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/notifications/:id/read",
+ "mountPath": "/api/notifications",
+ "sources": [
+ {
+ "source": "server/routes/notifications.js",
+ "line": 36
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/notifications/count",
+ "mountPath": "/api/notifications",
+ "sources": [
+ {
+ "source": "server/routes/notifications.js",
+ "line": 24
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/notifications/counts",
+ "mountPath": "/api/notifications",
+ "sources": [
+ {
+ "source": "server/routes/notifications.js",
+ "line": 30
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/notifications/read-all",
+ "mountPath": "/api/notifications",
+ "sources": [
+ {
+ "source": "server/routes/notifications.js",
+ "line": 45
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/openclaw/sessions",
+ "mountPath": "/api/openclaw",
+ "sources": [
+ {
+ "source": "server/routes/openclaw.js",
+ "line": 98
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/openclaw/sessions/:id/messages",
+ "mountPath": "/api/openclaw",
+ "sources": [
+ {
+ "source": "server/routes/openclaw.js",
+ "line": 103
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/openclaw/sessions/:id/messages",
+ "mountPath": "/api/openclaw",
+ "sources": [
+ {
+ "source": "server/routes/openclaw.js",
+ "line": 127
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/openclaw/sessions/:id/messages/stream",
+ "mountPath": "/api/openclaw",
+ "sources": [
+ {
+ "source": "server/routes/openclaw.js",
+ "line": 146
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/openclaw/status",
+ "mountPath": "/api/openclaw",
+ "sources": [
+ {
+ "source": "server/routes/openclaw.js",
+ "line": 93
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/openworld/introspection",
+ "mountPath": "/api/openworld",
+ "sources": [
+ {
+ "source": "server/routes/openWorldRoutes.js",
+ "line": 30
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/openworld/snapshots",
+ "mountPath": "/api/openworld",
+ "sources": [
+ {
+ "source": "server/routes/openWorldRoutes.js",
+ "line": 16
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/openworld/snapshots/capture",
+ "mountPath": "/api/openworld",
+ "sources": [
+ {
+ "source": "server/routes/openWorldRoutes.js",
+ "line": 23
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/openworld/snapshots/config",
+ "mountPath": "/api/openworld",
+ "sources": [
+ {
+ "source": "server/routes/openWorldRoutes.js",
+ "line": 35
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/palette/action/:id",
+ "mountPath": "/api/palette",
+ "sources": [
+ {
+ "source": "server/routes/palette.js",
+ "line": 85
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/palette/manifest",
+ "mountPath": "/api/palette",
+ "sources": [
+ {
+ "source": "server/routes/palette.js",
+ "line": 76
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/peer-sync/cos-agent-archive",
+ "mountPath": "/api/peer-sync",
+ "sources": [
+ {
+ "source": "server/routes/peerSync.js",
+ "line": 213
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/peer-sync/cos-history-manifest",
+ "mountPath": "/api/peer-sync",
+ "sources": [
+ {
+ "source": "server/routes/peerSync.js",
+ "line": 186
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/peer-sync/cos-tasks",
+ "mountPath": "/api/peer-sync",
+ "sources": [
+ {
+ "source": "server/routes/peerSync.js",
+ "line": 201
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/peer-sync/integrity",
+ "mountPath": "/api/peer-sync",
+ "sources": [
+ {
+ "source": "server/routes/peerSync.js",
+ "line": 261
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/peer-sync/library-manifest",
+ "mountPath": "/api/peer-sync",
+ "sources": [
+ {
+ "source": "server/routes/peerSync.js",
+ "line": 173
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/peer-sync/manifest",
+ "mountPath": "/api/peer-sync",
+ "sources": [
+ {
+ "source": "server/routes/peerSync.js",
+ "line": 149
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/peer-sync/pull-metadata",
+ "mountPath": "/api/peer-sync",
+ "sources": [
+ {
+ "source": "server/routes/peerSync.js",
+ "line": 307
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/peer-sync/pull-record",
+ "mountPath": "/api/peer-sync",
+ "sources": [
+ {
+ "source": "server/routes/peerSync.js",
+ "line": 289
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/peer-sync/push",
+ "mountPath": "/api/peer-sync",
+ "sources": [
+ {
+ "source": "server/routes/peerSync.js",
+ "line": 96
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/peer-sync/record",
+ "mountPath": "/api/peer-sync",
+ "sources": [
+ {
+ "source": "server/routes/peerSync.js",
+ "line": 236
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/peer-sync/subscriptions",
+ "mountPath": "/api/peer-sync",
+ "sources": [
+ {
+ "source": "server/routes/peerSync.js",
+ "line": 108
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/peer-sync/subscriptions",
+ "mountPath": "/api/peer-sync",
+ "sources": [
+ {
+ "source": "server/routes/peerSync.js",
+ "line": 122
+ }
+ ]
+ },
+ {
+ "method": "DELETE",
+ "path": "/api/peer-sync/subscriptions/:id",
+ "mountPath": "/api/peer-sync",
+ "sources": [
+ {
+ "source": "server/routes/peerSync.js",
+ "line": 135
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/peer-sync/sync-now",
+ "mountPath": "/api/peer-sync",
+ "sources": [
+ {
+ "source": "server/routes/peerSync.js",
+ "line": 298
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/peer-sync/sync-record",
+ "mountPath": "/api/peer-sync",
+ "sources": [
+ {
+ "source": "server/routes/peerSync.js",
+ "line": 281
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/pipeline/audio/music-library",
+ "mountPath": "/api/pipeline",
+ "sources": [
+ {
+ "source": "server/routes/pipeline/audio.js",
+ "line": 285
+ }
+ ]
+ },
+ {
+ "method": "DELETE",
+ "path": "/api/pipeline/audio/music-library/:filename",
+ "mountPath": "/api/pipeline",
+ "sources": [
+ {
+ "source": "server/routes/pipeline/audio.js",
+ "line": 577
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/pipeline/audio/music/generators",
+ "mountPath": "/api/pipeline",
+ "sources": [
+ {
+ "source": "server/routes/pipeline/audio.js",
+ "line": 294
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/pipeline/config",
+ "mountPath": "/api/pipeline",
+ "sources": [
+ {
+ "source": "server/routes/pipeline/issues.js",
+ "line": 384
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/pipeline/editorial/checks",
+ "mountPath": "/api/pipeline",
+ "sources": [
+ {
+ "source": "server/routes/pipeline/editorial.js",
+ "line": 327
+ }
+ ]
+ },
+ {
+ "method": "PATCH",
+ "path": "/api/pipeline/editorial/checks/:id",
+ "mountPath": "/api/pipeline",
+ "sources": [
+ {
+ "source": "server/routes/pipeline/editorial.js",
+ "line": 369
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/pipeline/editorial/custom-checks",
+ "mountPath": "/api/pipeline",
+ "sources": [
+ {
+ "source": "server/routes/pipeline/editorial.js",
+ "line": 413
+ }
+ ]
+ },
+ {
+ "method": "DELETE",
+ "path": "/api/pipeline/editorial/custom-checks/:id",
+ "mountPath": "/api/pipeline",
+ "sources": [
+ {
+ "source": "server/routes/pipeline/editorial.js",
+ "line": 450
+ }
+ ]
+ },
+ {
+ "method": "PATCH",
+ "path": "/api/pipeline/editorial/custom-checks/:id",
+ "mountPath": "/api/pipeline",
+ "sources": [
+ {
+ "source": "server/routes/pipeline/editorial.js",
+ "line": 427
+ }
+ ]
+ },
+ {
+ "method": "PATCH",
+ "path": "/api/pipeline/editorial/readiness-gate",
+ "mountPath": "/api/pipeline",
+ "sources": [
+ {
+ "source": "server/routes/pipeline/editorial.js",
+ "line": 356
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/pipeline/findings/:commentId/locate",
+ "mountPath": "/api/pipeline",
+ "sources": [
+ {
+ "source": "server/routes/pipeline/manuscript.js",
+ "line": 194
+ }
+ ]
+ },
+ {
+ "method": "DELETE",
+ "path": "/api/pipeline/issues/:id",
+ "mountPath": "/api/pipeline",
+ "sources": [
+ {
+ "source": "server/routes/pipeline/issues.js",
+ "line": 428
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/pipeline/issues/:id",
+ "mountPath": "/api/pipeline",
+ "sources": [
+ {
+ "source": "server/routes/pipeline/issues.js",
+ "line": 417
+ }
+ ]
+ },
+ {
+ "method": "PATCH",
+ "path": "/api/pipeline/issues/:id",
+ "mountPath": "/api/pipeline",
+ "sources": [
+ {
+ "source": "server/routes/pipeline/issues.js",
+ "line": 422
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/pipeline/issues/:id/auto-run-text",
+ "mountPath": "/api/pipeline",
+ "sources": [
+ {
+ "source": "server/routes/pipeline/issues.js",
+ "line": 1074
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/pipeline/issues/:id/auto-run-text/cancel",
+ "mountPath": "/api/pipeline",
+ "sources": [
+ {
+ "source": "server/routes/pipeline/issues.js",
+ "line": 1093
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/pipeline/issues/:id/auto-run-text/progress",
+ "mountPath": "/api/pipeline",
+ "sources": [
+ {
+ "source": "server/routes/pipeline/issues.js",
+ "line": 1086
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/pipeline/issues/:id/canon-readiness",
+ "mountPath": "/api/pipeline",
+ "sources": [
+ {
+ "source": "server/routes/pipeline/canon.js",
+ "line": 20
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/pipeline/issues/:id/comic.pdf",
+ "mountPath": "/api/pipeline",
+ "sources": [
+ {
+ "source": "server/routes/pipeline/covers.js",
+ "line": 184
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/pipeline/issues/:id/cover-concepts/generate",
+ "mountPath": "/api/pipeline",
+ "sources": [
+ {
+ "source": "server/routes/pipeline/covers.js",
+ "line": 148
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/pipeline/issues/:id/editorial",
+ "mountPath": "/api/pipeline",
+ "sources": [
+ {
+ "source": "server/routes/pipeline/editorial.js",
+ "line": 83
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/pipeline/issues/:id/editorial/analyze",
+ "mountPath": "/api/pipeline",
+ "sources": [
+ {
+ "source": "server/routes/pipeline/editorial.js",
+ "line": 90
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/pipeline/issues/:id/judge",
+ "mountPath": "/api/pipeline",
+ "sources": [
+ {
+ "source": "server/routes/pipeline/editorial.js",
+ "line": 133
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/pipeline/issues/:id/judge",
+ "mountPath": "/api/pipeline",
+ "sources": [
+ {
+ "source": "server/routes/pipeline/editorial.js",
+ "line": 140
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/pipeline/issues/:id/pov-rewrites",
+ "mountPath": "/api/pipeline",
+ "sources": [
+ {
+ "source": "server/routes/pipeline/perspectiveRewrite.js",
+ "line": 33
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/pipeline/issues/:id/pov-rewrites",
+ "mountPath": "/api/pipeline",
+ "sources": [
+ {
+ "source": "server/routes/pipeline/perspectiveRewrite.js",
+ "line": 40
+ }
+ ]
+ },
+ {
+ "method": "DELETE",
+ "path": "/api/pipeline/issues/:id/pov-rewrites/:rewriteId",
+ "mountPath": "/api/pipeline",
+ "sources": [
+ {
+ "source": "server/routes/pipeline/perspectiveRewrite.js",
+ "line": 58
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/pipeline/issues/:id/stages/:stageId/describe-canon",
+ "mountPath": "/api/pipeline",
+ "sources": [
+ {
+ "source": "server/routes/pipeline/issues.js",
+ "line": 768
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/pipeline/issues/:id/stages/:stageId/extract-canon",
+ "mountPath": "/api/pipeline",
+ "sources": [
+ {
+ "source": "server/routes/pipeline/issues.js",
+ "line": 682
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/pipeline/issues/:id/stages/:stageId/generate",
+ "mountPath": "/api/pipeline",
+ "sources": [
+ {
+ "source": "server/routes/pipeline/issues.js",
+ "line": 437
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/pipeline/issues/:id/stages/:stageId/generate/progress",
+ "mountPath": "/api/pipeline",
+ "sources": [
+ {
+ "source": "server/routes/pipeline/issues.js",
+ "line": 454
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/pipeline/issues/:id/stages/:stageId/restore",
+ "mountPath": "/api/pipeline",
+ "sources": [
+ {
+ "source": "server/routes/pipeline/issues.js",
+ "line": 464
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/pipeline/issues/:id/stages/:stageId/visual",
+ "mountPath": "/api/pipeline",
+ "sources": [
+ {
+ "source": "server/routes/pipeline/issues.js",
+ "line": 1051
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/pipeline/issues/:id/stages/audio/cues/:cueIdx/render",
+ "mountPath": "/api/pipeline",
+ "sources": [
+ {
+ "source": "server/routes/pipeline/audio.js",
+ "line": 507
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/pipeline/issues/:id/stages/audio/cues/generate",
+ "mountPath": "/api/pipeline",
+ "sources": [
+ {
+ "source": "server/routes/pipeline/audio.js",
+ "line": 453
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/pipeline/issues/:id/stages/audio/extract-lines",
+ "mountPath": "/api/pipeline",
+ "sources": [
+ {
+ "source": "server/routes/pipeline/audio.js",
+ "line": 117
+ }
+ ]
+ },
+ {
+ "method": "PATCH",
+ "path": "/api/pipeline/issues/:id/stages/audio/lines/:lineIdx",
+ "mountPath": "/api/pipeline",
+ "sources": [
+ {
+ "source": "server/routes/pipeline/audio.js",
+ "line": 159
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/pipeline/issues/:id/stages/audio/lines/:lineIdx/render",
+ "mountPath": "/api/pipeline",
+ "sources": [
+ {
+ "source": "server/routes/pipeline/audio.js",
+ "line": 197
+ }
+ ]
+ },
+ {
+ "method": "DELETE",
+ "path": "/api/pipeline/issues/:id/stages/audio/music",
+ "mountPath": "/api/pipeline",
+ "sources": [
+ {
+ "source": "server/routes/pipeline/audio.js",
+ "line": 423
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/pipeline/issues/:id/stages/audio/music/attach",
+ "mountPath": "/api/pipeline",
+ "sources": [
+ {
+ "source": "server/routes/pipeline/audio.js",
+ "line": 397
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/pipeline/issues/:id/stages/audio/music/generate",
+ "mountPath": "/api/pipeline",
+ "sources": [
+ {
+ "source": "server/routes/pipeline/audio.js",
+ "line": 341
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/pipeline/issues/:id/stages/audio/music/upload",
+ "mountPath": "/api/pipeline",
+ "sources": [
+ {
+ "source": "server/routes/pipeline/audio.js",
+ "line": 367
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/pipeline/issues/:id/stages/comicPages/back-cover/render",
+ "mountPath": "/api/pipeline",
+ "sources": [
+ {
+ "source": "server/routes/pipeline/covers.js",
+ "line": 174
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/pipeline/issues/:id/stages/comicPages/cover/render",
+ "mountPath": "/api/pipeline",
+ "sources": [
+ {
+ "source": "server/routes/pipeline/covers.js",
+ "line": 165
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/pipeline/issues/:id/stages/comicPages/extract-pages",
+ "mountPath": "/api/pipeline",
+ "sources": [
+ {
+ "source": "server/routes/pipeline/issues.js",
+ "line": 610
+ }
+ ]
+ },
+ {
+ "method": "PATCH",
+ "path": "/api/pipeline/issues/:id/stages/comicPages/pages/:pageIndex",
+ "mountPath": "/api/pipeline",
+ "sources": [
+ {
+ "source": "server/routes/pipeline/issues.js",
+ "line": 831
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/pipeline/issues/:id/stages/comicPages/pages/:pageIndex/panels/:panelIndex/image-prompts",
+ "mountPath": "/api/pipeline",
+ "sources": [
+ {
+ "source": "server/routes/pipeline/issues.js",
+ "line": 972
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/pipeline/issues/:id/stages/comicPages/pages/:pageIndex/panels/:panelIndex/refine-prompt",
+ "mountPath": "/api/pipeline",
+ "sources": [
+ {
+ "source": "server/routes/pipeline/issues.js",
+ "line": 956
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/pipeline/issues/:id/stages/comicPages/pages/:pageIndex/refine-render",
+ "mountPath": "/api/pipeline",
+ "sources": [
+ {
+ "source": "server/routes/pipeline/issues.js",
+ "line": 921
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/pipeline/issues/:id/stages/comicPages/pages/:pageIndex/render",
+ "mountPath": "/api/pipeline",
+ "sources": [
+ {
+ "source": "server/routes/pipeline/issues.js",
+ "line": 881
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/pipeline/issues/:id/stages/storyboards/extract-scenes",
+ "mountPath": "/api/pipeline",
+ "sources": [
+ {
+ "source": "server/routes/pipeline/issues.js",
+ "line": 484
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/pipeline/issues/:id/stages/storyboards/scenes/:index/image-prompts",
+ "mountPath": "/api/pipeline",
+ "sources": [
+ {
+ "source": "server/routes/pipeline/issues.js",
+ "line": 1000
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/pipeline/issues/:id/stages/storyboards/scenes/:index/refine-prompt",
+ "mountPath": "/api/pipeline",
+ "sources": [
+ {
+ "source": "server/routes/pipeline/issues.js",
+ "line": 987
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/pipeline/issues/:id/stages/storyboards/scenes/:index/video",
+ "mountPath": "/api/pipeline",
+ "sources": [
+ {
+ "source": "server/routes/pipeline/issues.js",
+ "line": 1038
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/pipeline/issues/:id/stages/storyboards/scenes/:sceneIndex/shots/:shotIndex/render",
+ "mountPath": "/api/pipeline",
+ "sources": [
+ {
+ "source": "server/routes/pipeline/issues.js",
+ "line": 1018
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/pipeline/issues/recent",
+ "mountPath": "/api/pipeline",
+ "sources": [
+ {
+ "source": "server/routes/pipeline/issues.js",
+ "line": 393
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/pipeline/series",
+ "mountPath": "/api/pipeline",
+ "sources": [
+ {
+ "source": "server/routes/pipeline/series.js",
+ "line": 349
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/pipeline/series",
+ "mountPath": "/api/pipeline",
+ "sources": [
+ {
+ "source": "server/routes/pipeline/series.js",
+ "line": 355
+ }
+ ]
+ },
+ {
+ "method": "DELETE",
+ "path": "/api/pipeline/series/:id",
+ "mountPath": "/api/pipeline",
+ "sources": [
+ {
+ "source": "server/routes/pipeline/series.js",
+ "line": 471
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/pipeline/series/:id",
+ "mountPath": "/api/pipeline",
+ "sources": [
+ {
+ "source": "server/routes/pipeline/series.js",
+ "line": 449
+ }
+ ]
+ },
+ {
+ "method": "PATCH",
+ "path": "/api/pipeline/series/:id",
+ "mountPath": "/api/pipeline",
+ "sources": [
+ {
+ "source": "server/routes/pipeline/series.js",
+ "line": 454
+ }
+ ]
+ },
+ {
+ "method": "PATCH",
+ "path": "/api/pipeline/series/:id/arc-fields/:field/lock",
+ "mountPath": "/api/pipeline",
+ "sources": [
+ {
+ "source": "server/routes/pipeline/series.js",
+ "line": 464
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/pipeline/series/:id/arc/derive-from-manuscript",
+ "mountPath": "/api/pipeline",
+ "sources": [
+ {
+ "source": "server/routes/pipeline/arcs.js",
+ "line": 221
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/pipeline/series/:id/arc/derive-from-manuscript/commit",
+ "mountPath": "/api/pipeline",
+ "sources": [
+ {
+ "source": "server/routes/pipeline/arcs.js",
+ "line": 231
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/pipeline/series/:id/arc/generate",
+ "mountPath": "/api/pipeline",
+ "sources": [
+ {
+ "source": "server/routes/pipeline/arcs.js",
+ "line": 81
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/pipeline/series/:id/arc/resolve-issues",
+ "mountPath": "/api/pipeline",
+ "sources": [
+ {
+ "source": "server/routes/pipeline/arcs.js",
+ "line": 210
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/pipeline/series/:id/arc/verify",
+ "mountPath": "/api/pipeline",
+ "sources": [
+ {
+ "source": "server/routes/pipeline/arcs.js",
+ "line": 154
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/pipeline/series/:id/autopilot/cancel",
+ "mountPath": "/api/pipeline",
+ "sources": [
+ {
+ "source": "server/routes/pipeline/autopilot.js",
+ "line": 242
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/pipeline/series/:id/autopilot/model-metrics",
+ "mountPath": "/api/pipeline",
+ "sources": [
+ {
+ "source": "server/routes/pipeline/autopilot.js",
+ "line": 269
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/pipeline/series/:id/autopilot/model-outcomes",
+ "mountPath": "/api/pipeline",
+ "sources": [
+ {
+ "source": "server/routes/pipeline/autopilot.js",
+ "line": 278
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/pipeline/series/:id/autopilot/pause",
+ "mountPath": "/api/pipeline",
+ "sources": [
+ {
+ "source": "server/routes/pipeline/autopilot.js",
+ "line": 247
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/pipeline/series/:id/autopilot/progress",
+ "mountPath": "/api/pipeline",
+ "sources": [
+ {
+ "source": "server/routes/pipeline/autopilot.js",
+ "line": 235
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/pipeline/series/:id/autopilot/start",
+ "mountPath": "/api/pipeline",
+ "sources": [
+ {
+ "source": "server/routes/pipeline/autopilot.js",
+ "line": 217
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/pipeline/series/:id/autopilot/status",
+ "mountPath": "/api/pipeline",
+ "sources": [
+ {
+ "source": "server/routes/pipeline/autopilot.js",
+ "line": 252
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/pipeline/series/:id/canon-readiness",
+ "mountPath": "/api/pipeline",
+ "sources": [
+ {
+ "source": "server/routes/pipeline/canon.js",
+ "line": 26
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/pipeline/series/:id/continuity-bible",
+ "mountPath": "/api/pipeline",
+ "sources": [
+ {
+ "source": "server/routes/pipeline/continuityBible.js",
+ "line": 27
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/pipeline/series/:id/continuity-bible/generate",
+ "mountPath": "/api/pipeline",
+ "sources": [
+ {
+ "source": "server/routes/pipeline/continuityBible.js",
+ "line": 33
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/pipeline/series/:id/continuity-bible/generate/cancel",
+ "mountPath": "/api/pipeline",
+ "sources": [
+ {
+ "source": "server/routes/pipeline/continuityBible.js",
+ "line": 55
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/pipeline/series/:id/continuity-bible/generate/progress",
+ "mountPath": "/api/pipeline",
+ "sources": [
+ {
+ "source": "server/routes/pipeline/continuityBible.js",
+ "line": 43
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/pipeline/series/:id/continuity-bible/generate/status",
+ "mountPath": "/api/pipeline",
+ "sources": [
+ {
+ "source": "server/routes/pipeline/continuityBible.js",
+ "line": 51
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/pipeline/series/:id/discover-voice",
+ "mountPath": "/api/pipeline",
+ "sources": [
+ {
+ "source": "server/routes/pipeline/series.js",
+ "line": 499
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/pipeline/series/:id/editorial",
+ "mountPath": "/api/pipeline",
+ "sources": [
+ {
+ "source": "server/routes/pipeline/editorial.js",
+ "line": 65
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/pipeline/series/:id/editorial/analyze",
+ "mountPath": "/api/pipeline",
+ "sources": [
+ {
+ "source": "server/routes/pipeline/editorial.js",
+ "line": 97
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/pipeline/series/:id/editorial/analyze/cancel",
+ "mountPath": "/api/pipeline",
+ "sources": [
+ {
+ "source": "server/routes/pipeline/editorial.js",
+ "line": 119
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/pipeline/series/:id/editorial/analyze/progress",
+ "mountPath": "/api/pipeline",
+ "sources": [
+ {
+ "source": "server/routes/pipeline/editorial.js",
+ "line": 107
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/pipeline/series/:id/editorial/analyze/status",
+ "mountPath": "/api/pipeline",
+ "sources": [
+ {
+ "source": "server/routes/pipeline/editorial.js",
+ "line": 115
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/pipeline/series/:id/editorial/checks/run",
+ "mountPath": "/api/pipeline",
+ "sources": [
+ {
+ "source": "server/routes/pipeline/editorial.js",
+ "line": 491
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/pipeline/series/:id/editorial/checks/run/cancel",
+ "mountPath": "/api/pipeline",
+ "sources": [
+ {
+ "source": "server/routes/pipeline/editorial.js",
+ "line": 526
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/pipeline/series/:id/editorial/checks/run/progress",
+ "mountPath": "/api/pipeline",
+ "sources": [
+ {
+ "source": "server/routes/pipeline/editorial.js",
+ "line": 514
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/pipeline/series/:id/editorial/checks/run/status",
+ "mountPath": "/api/pipeline",
+ "sources": [
+ {
+ "source": "server/routes/pipeline/editorial.js",
+ "line": 522
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/pipeline/series/:id/editorial/custom-checks/preview",
+ "mountPath": "/api/pipeline",
+ "sources": [
+ {
+ "source": "server/routes/pipeline/editorial.js",
+ "line": 478
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/pipeline/series/:id/editorial/health",
+ "mountPath": "/api/pipeline",
+ "sources": [
+ {
+ "source": "server/routes/pipeline/editorial.js",
+ "line": 339
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/pipeline/series/:id/editorial/panel",
+ "mountPath": "/api/pipeline",
+ "sources": [
+ {
+ "source": "server/routes/pipeline/editorial.js",
+ "line": 155
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/pipeline/series/:id/editorial/panel/run",
+ "mountPath": "/api/pipeline",
+ "sources": [
+ {
+ "source": "server/routes/pipeline/editorial.js",
+ "line": 161
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/pipeline/series/:id/editorial/panel/run/cancel",
+ "mountPath": "/api/pipeline",
+ "sources": [
+ {
+ "source": "server/routes/pipeline/editorial.js",
+ "line": 183
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/pipeline/series/:id/editorial/panel/run/progress",
+ "mountPath": "/api/pipeline",
+ "sources": [
+ {
+ "source": "server/routes/pipeline/editorial.js",
+ "line": 171
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/pipeline/series/:id/editorial/panel/run/status",
+ "mountPath": "/api/pipeline",
+ "sources": [
+ {
+ "source": "server/routes/pipeline/editorial.js",
+ "line": 179
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/pipeline/series/:id/editorial/rank",
+ "mountPath": "/api/pipeline",
+ "sources": [
+ {
+ "source": "server/routes/pipeline/editorial.js",
+ "line": 205
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/pipeline/series/:id/editorial/rank",
+ "mountPath": "/api/pipeline",
+ "sources": [
+ {
+ "source": "server/routes/pipeline/editorial.js",
+ "line": 213
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/pipeline/series/:id/export/book.epub",
+ "mountPath": "/api/pipeline",
+ "sources": [
+ {
+ "source": "server/routes/pipeline/proseExport.js",
+ "line": 39
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/pipeline/series/:id/export/interior.pdf",
+ "mountPath": "/api/pipeline",
+ "sources": [
+ {
+ "source": "server/routes/pipeline/proseExport.js",
+ "line": 46
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/pipeline/series/:id/export/manuscript.md",
+ "mountPath": "/api/pipeline",
+ "sources": [
+ {
+ "source": "server/routes/pipeline/proseExport.js",
+ "line": 30
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/pipeline/series/:id/generate-title-logo",
+ "mountPath": "/api/pipeline",
+ "sources": [
+ {
+ "source": "server/routes/pipeline/series.js",
+ "line": 483
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/pipeline/series/:id/issues",
+ "mountPath": "/api/pipeline",
+ "sources": [
+ {
+ "source": "server/routes/pipeline/series.js",
+ "line": 506
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/pipeline/series/:id/issues",
+ "mountPath": "/api/pipeline",
+ "sources": [
+ {
+ "source": "server/routes/pipeline/series.js",
+ "line": 522
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/pipeline/series/:id/judge",
+ "mountPath": "/api/pipeline",
+ "sources": [
+ {
+ "source": "server/routes/pipeline/editorial.js",
+ "line": 126
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/pipeline/series/:id/manuscript",
+ "mountPath": "/api/pipeline",
+ "sources": [
+ {
+ "source": "server/routes/pipeline/manuscript.js",
+ "line": 164
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/pipeline/series/:id/manuscript/completeness",
+ "mountPath": "/api/pipeline",
+ "sources": [
+ {
+ "source": "server/routes/pipeline/manuscript.js",
+ "line": 102
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/pipeline/series/:id/manuscript/completeness/cancel",
+ "mountPath": "/api/pipeline",
+ "sources": [
+ {
+ "source": "server/routes/pipeline/manuscript.js",
+ "line": 155
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/pipeline/series/:id/manuscript/completeness/progress",
+ "mountPath": "/api/pipeline",
+ "sources": [
+ {
+ "source": "server/routes/pipeline/manuscript.js",
+ "line": 143
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/pipeline/series/:id/manuscript/completeness/status",
+ "mountPath": "/api/pipeline",
+ "sources": [
+ {
+ "source": "server/routes/pipeline/manuscript.js",
+ "line": 151
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/pipeline/series/:id/manuscript/completeness/stream",
+ "mountPath": "/api/pipeline",
+ "sources": [
+ {
+ "source": "server/routes/pipeline/manuscript.js",
+ "line": 127
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/pipeline/series/:id/manuscript/cuts/apply",
+ "mountPath": "/api/pipeline",
+ "sources": [
+ {
+ "source": "server/routes/pipeline/manuscript.js",
+ "line": 286
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/pipeline/series/:id/manuscript/cuts/preview",
+ "mountPath": "/api/pipeline",
+ "sources": [
+ {
+ "source": "server/routes/pipeline/manuscript.js",
+ "line": 265
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/pipeline/series/:id/manuscript/reformat",
+ "mountPath": "/api/pipeline",
+ "sources": [
+ {
+ "source": "server/routes/pipeline/manuscript.js",
+ "line": 252
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/pipeline/series/:id/manuscript/review",
+ "mountPath": "/api/pipeline",
+ "sources": [
+ {
+ "source": "server/routes/pipeline/manuscript.js",
+ "line": 181
+ }
+ ]
+ },
+ {
+ "method": "PATCH",
+ "path": "/api/pipeline/series/:id/manuscript/review/comments/:commentId",
+ "mountPath": "/api/pipeline",
+ "sources": [
+ {
+ "source": "server/routes/pipeline/manuscript.js",
+ "line": 200
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/pipeline/series/:id/manuscript/review/comments/:commentId/accept",
+ "mountPath": "/api/pipeline",
+ "sources": [
+ {
+ "source": "server/routes/pipeline/manuscript.js",
+ "line": 218
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/pipeline/series/:id/manuscript/review/comments/:commentId/fix",
+ "mountPath": "/api/pipeline",
+ "sources": [
+ {
+ "source": "server/routes/pipeline/manuscript.js",
+ "line": 209
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/pipeline/series/:id/manuscript/review/comments/:commentId/undo",
+ "mountPath": "/api/pipeline",
+ "sources": [
+ {
+ "source": "server/routes/pipeline/manuscript.js",
+ "line": 228
+ }
+ ]
+ },
+ {
+ "method": "PUT",
+ "path": "/api/pipeline/series/:id/manuscript/sections/:issueId",
+ "mountPath": "/api/pipeline",
+ "sources": [
+ {
+ "source": "server/routes/pipeline/manuscript.js",
+ "line": 238
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/pipeline/series/:id/reverse-outline",
+ "mountPath": "/api/pipeline",
+ "sources": [
+ {
+ "source": "server/routes/pipeline/reverseOutline.js",
+ "line": 27
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/pipeline/series/:id/reverse-outline/generate",
+ "mountPath": "/api/pipeline",
+ "sources": [
+ {
+ "source": "server/routes/pipeline/reverseOutline.js",
+ "line": 33
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/pipeline/series/:id/reverse-outline/generate/cancel",
+ "mountPath": "/api/pipeline",
+ "sources": [
+ {
+ "source": "server/routes/pipeline/reverseOutline.js",
+ "line": 55
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/pipeline/series/:id/reverse-outline/generate/progress",
+ "mountPath": "/api/pipeline",
+ "sources": [
+ {
+ "source": "server/routes/pipeline/reverseOutline.js",
+ "line": 43
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/pipeline/series/:id/reverse-outline/generate/status",
+ "mountPath": "/api/pipeline",
+ "sources": [
+ {
+ "source": "server/routes/pipeline/reverseOutline.js",
+ "line": 51
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/pipeline/series/:id/review",
+ "mountPath": "/api/pipeline",
+ "sources": [
+ {
+ "source": "server/routes/pipeline/editorial.js",
+ "line": 241
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/pipeline/series/:id/review",
+ "mountPath": "/api/pipeline",
+ "sources": [
+ {
+ "source": "server/routes/pipeline/editorial.js",
+ "line": 251
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/pipeline/series/:id/review/cancel",
+ "mountPath": "/api/pipeline",
+ "sources": [
+ {
+ "source": "server/routes/pipeline/editorial.js",
+ "line": 279
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/pipeline/series/:id/review/fix",
+ "mountPath": "/api/pipeline",
+ "sources": [
+ {
+ "source": "server/routes/pipeline/editorial.js",
+ "line": 293
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/pipeline/series/:id/review/fix/cancel",
+ "mountPath": "/api/pipeline",
+ "sources": [
+ {
+ "source": "server/routes/pipeline/editorial.js",
+ "line": 318
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/pipeline/series/:id/review/fix/progress",
+ "mountPath": "/api/pipeline",
+ "sources": [
+ {
+ "source": "server/routes/pipeline/editorial.js",
+ "line": 307
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/pipeline/series/:id/review/fix/status",
+ "mountPath": "/api/pipeline",
+ "sources": [
+ {
+ "source": "server/routes/pipeline/editorial.js",
+ "line": 314
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/pipeline/series/:id/review/progress",
+ "mountPath": "/api/pipeline",
+ "sources": [
+ {
+ "source": "server/routes/pipeline/editorial.js",
+ "line": 267
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/pipeline/series/:id/review/status",
+ "mountPath": "/api/pipeline",
+ "sources": [
+ {
+ "source": "server/routes/pipeline/editorial.js",
+ "line": 275
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/pipeline/series/:id/seasons",
+ "mountPath": "/api/pipeline",
+ "sources": [
+ {
+ "source": "server/routes/pipeline/series.js",
+ "line": 535
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/pipeline/series/:id/seasons",
+ "mountPath": "/api/pipeline",
+ "sources": [
+ {
+ "source": "server/routes/pipeline/series.js",
+ "line": 541
+ }
+ ]
+ },
+ {
+ "method": "DELETE",
+ "path": "/api/pipeline/series/:id/seasons/:seasonId",
+ "mountPath": "/api/pipeline",
+ "sources": [
+ {
+ "source": "server/routes/pipeline/series.js",
+ "line": 556
+ }
+ ]
+ },
+ {
+ "method": "PATCH",
+ "path": "/api/pipeline/series/:id/seasons/:seasonId",
+ "mountPath": "/api/pipeline",
+ "sources": [
+ {
+ "source": "server/routes/pipeline/series.js",
+ "line": 549
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/pipeline/series/:id/seasons/:seasonId/back-cover/render",
+ "mountPath": "/api/pipeline",
+ "sources": [
+ {
+ "source": "server/routes/pipeline/covers.js",
+ "line": 119
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/pipeline/series/:id/seasons/:seasonId/cover-concepts/generate",
+ "mountPath": "/api/pipeline",
+ "sources": [
+ {
+ "source": "server/routes/pipeline/covers.js",
+ "line": 88
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/pipeline/series/:id/seasons/:seasonId/cover/render",
+ "mountPath": "/api/pipeline",
+ "sources": [
+ {
+ "source": "server/routes/pipeline/covers.js",
+ "line": 113
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/pipeline/series/:id/seasons/:seasonId/episodes/generate",
+ "mountPath": "/api/pipeline",
+ "sources": [
+ {
+ "source": "server/routes/pipeline/arcs.js",
+ "line": 110
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/pipeline/series/:id/seasons/:seasonId/generate-beats",
+ "mountPath": "/api/pipeline",
+ "sources": [
+ {
+ "source": "server/routes/pipeline/arcs.js",
+ "line": 179
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/pipeline/series/:id/seasons/:seasonId/generate-beats/cancel",
+ "mountPath": "/api/pipeline",
+ "sources": [
+ {
+ "source": "server/routes/pipeline/arcs.js",
+ "line": 203
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/pipeline/series/:id/seasons/:seasonId/generate-beats/progress",
+ "mountPath": "/api/pipeline",
+ "sources": [
+ {
+ "source": "server/routes/pipeline/arcs.js",
+ "line": 196
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/pipeline/series/:id/seasons/:seasonId/verify",
+ "mountPath": "/api/pipeline",
+ "sources": [
+ {
+ "source": "server/routes/pipeline/arcs.js",
+ "line": 166
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/pipeline/series/:id/seasons/:seasonId/volume.pdf",
+ "mountPath": "/api/pipeline",
+ "sources": [
+ {
+ "source": "server/routes/pipeline/covers.js",
+ "line": 129
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/pipeline/series/:id/voice-fingerprint",
+ "mountPath": "/api/pipeline",
+ "sources": [
+ {
+ "source": "server/routes/pipeline/editorial.js",
+ "line": 77
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/pipeline/series/duplicates",
+ "mountPath": "/api/pipeline",
+ "sources": [
+ {
+ "source": "server/routes/pipeline/series.js",
+ "line": 393
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/pipeline/series/generate-concept",
+ "mountPath": "/api/pipeline",
+ "sources": [
+ {
+ "source": "server/routes/pipeline/series.js",
+ "line": 442
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/pipeline/series/merge",
+ "mountPath": "/api/pipeline",
+ "sources": [
+ {
+ "source": "server/routes/pipeline/series.js",
+ "line": 404
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/pipeline/series/merge/ai-resolve",
+ "mountPath": "/api/pipeline",
+ "sources": [
+ {
+ "source": "server/routes/pipeline/series.js",
+ "line": 414
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/pipeline/series/merge/preview",
+ "mountPath": "/api/pipeline",
+ "sources": [
+ {
+ "source": "server/routes/pipeline/series.js",
+ "line": 397
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/pipeline/tts/narrate",
+ "mountPath": "/api/pipeline",
+ "sources": [
+ {
+ "source": "server/routes/pipeline/audio.js",
+ "line": 105
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/pipeline/tts/preview",
+ "mountPath": "/api/pipeline",
+ "sources": [
+ {
+ "source": "server/routes/pipeline/audio.js",
+ "line": 54
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/pipeline/tts/synthesize",
+ "mountPath": "/api/pipeline",
+ "sources": [
+ {
+ "source": "server/routes/pipeline/audio.js",
+ "line": 86
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/pipeline/tts/voices",
+ "mountPath": "/api/pipeline",
+ "sources": [
+ {
+ "source": "server/routes/pipeline/audio.js",
+ "line": 42
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/ports/allocate",
+ "mountPath": "/api/ports",
+ "sources": [
+ {
+ "source": "server/routes/ports.js",
+ "line": 22
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/ports/check",
+ "mountPath": "/api/ports",
+ "sources": [
+ {
+ "source": "server/routes/ports.js",
+ "line": 15
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/ports/scan",
+ "mountPath": "/api/ports",
+ "sources": [
+ {
+ "source": "server/routes/ports.js",
+ "line": 9
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/privacy/broker-cases",
+ "mountPath": "/api/privacy",
+ "sources": [
+ {
+ "source": "server/routes/privacy.js",
+ "line": 304
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/privacy/broker-cases/:id/recheck",
+ "mountPath": "/api/privacy",
+ "sources": [
+ {
+ "source": "server/routes/privacy.js",
+ "line": 312
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/privacy/broker-cases/:id/transition",
+ "mountPath": "/api/privacy",
+ "sources": [
+ {
+ "source": "server/routes/privacy.js",
+ "line": 320
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/privacy/brokers",
+ "mountPath": "/api/privacy",
+ "sources": [
+ {
+ "source": "server/routes/privacy.js",
+ "line": 282
+ }
+ ]
+ },
+ {
+ "method": "PUT",
+ "path": "/api/privacy/brokers/:id",
+ "mountPath": "/api/privacy",
+ "sources": [
+ {
+ "source": "server/routes/privacy.js",
+ "line": 298
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/privacy/brokers/refresh",
+ "mountPath": "/api/privacy",
+ "sources": [
+ {
+ "source": "server/routes/privacy.js",
+ "line": 291
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/privacy/changes",
+ "mountPath": "/api/privacy",
+ "sources": [
+ {
+ "source": "server/routes/privacy.js",
+ "line": 248
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/privacy/changes",
+ "mountPath": "/api/privacy",
+ "sources": [
+ {
+ "source": "server/routes/privacy.js",
+ "line": 255
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/privacy/changes/:id",
+ "mountPath": "/api/privacy",
+ "sources": [
+ {
+ "source": "server/routes/privacy.js",
+ "line": 260
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/privacy/changes/:id/orgs/:orgId/draft-email",
+ "mountPath": "/api/privacy",
+ "sources": [
+ {
+ "source": "server/routes/privacy.js",
+ "line": 275
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/privacy/changes/:id/orgs/:orgId/removed",
+ "mountPath": "/api/privacy",
+ "sources": [
+ {
+ "source": "server/routes/privacy.js",
+ "line": 270
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/privacy/changes/:id/orgs/:orgId/updated",
+ "mountPath": "/api/privacy",
+ "sources": [
+ {
+ "source": "server/routes/privacy.js",
+ "line": 265
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/privacy/optout",
+ "mountPath": "/api/privacy",
+ "sources": [
+ {
+ "source": "server/routes/privacy.js",
+ "line": 342
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/privacy/optout/digest",
+ "mountPath": "/api/privacy",
+ "sources": [
+ {
+ "source": "server/routes/privacy.js",
+ "line": 358
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/privacy/optout/schedule",
+ "mountPath": "/api/privacy",
+ "sources": [
+ {
+ "source": "server/routes/privacy.js",
+ "line": 364
+ }
+ ]
+ },
+ {
+ "method": "PUT",
+ "path": "/api/privacy/optout/schedule",
+ "mountPath": "/api/privacy",
+ "sources": [
+ {
+ "source": "server/routes/privacy.js",
+ "line": 372
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/privacy/optout/verify",
+ "mountPath": "/api/privacy",
+ "sources": [
+ {
+ "source": "server/routes/privacy.js",
+ "line": 351
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/privacy/orgs",
+ "mountPath": "/api/privacy",
+ "sources": [
+ {
+ "source": "server/routes/privacy.js",
+ "line": 196
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/privacy/orgs",
+ "mountPath": "/api/privacy",
+ "sources": [
+ {
+ "source": "server/routes/privacy.js",
+ "line": 203
+ }
+ ]
+ },
+ {
+ "method": "DELETE",
+ "path": "/api/privacy/orgs/:id",
+ "mountPath": "/api/privacy",
+ "sources": [
+ {
+ "source": "server/routes/privacy.js",
+ "line": 228
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/privacy/orgs/:id",
+ "mountPath": "/api/privacy",
+ "sources": [
+ {
+ "source": "server/routes/privacy.js",
+ "line": 215
+ }
+ ]
+ },
+ {
+ "method": "PUT",
+ "path": "/api/privacy/orgs/:id",
+ "mountPath": "/api/privacy",
+ "sources": [
+ {
+ "source": "server/routes/privacy.js",
+ "line": 222
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/privacy/orgs/:id/holdings",
+ "mountPath": "/api/privacy",
+ "sources": [
+ {
+ "source": "server/routes/privacy.js",
+ "line": 233
+ }
+ ]
+ },
+ {
+ "method": "PUT",
+ "path": "/api/privacy/orgs/:id/holdings",
+ "mountPath": "/api/privacy",
+ "sources": [
+ {
+ "source": "server/routes/privacy.js",
+ "line": 240
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/privacy/scan",
+ "mountPath": "/api/privacy",
+ "sources": [
+ {
+ "source": "server/routes/privacy.js",
+ "line": 332
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/privacy/scan/status",
+ "mountPath": "/api/privacy",
+ "sources": [
+ {
+ "source": "server/routes/privacy.js",
+ "line": 326
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/privacy/social-account-links",
+ "mountPath": "/api/privacy",
+ "sources": [
+ {
+ "source": "server/routes/privacy.js",
+ "line": 210
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/privacy/status",
+ "mountPath": "/api/privacy",
+ "sources": [
+ {
+ "source": "server/routes/privacy.js",
+ "line": 154
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/privacy/subjects",
+ "mountPath": "/api/privacy",
+ "sources": [
+ {
+ "source": "server/routes/privacy.js",
+ "line": 110
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/privacy/subjects",
+ "mountPath": "/api/privacy",
+ "sources": [
+ {
+ "source": "server/routes/privacy.js",
+ "line": 114
+ }
+ ]
+ },
+ {
+ "method": "DELETE",
+ "path": "/api/privacy/subjects/:id",
+ "mountPath": "/api/privacy",
+ "sources": [
+ {
+ "source": "server/routes/privacy.js",
+ "line": 134
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/privacy/subjects/:id",
+ "mountPath": "/api/privacy",
+ "sources": [
+ {
+ "source": "server/routes/privacy.js",
+ "line": 119
+ }
+ ]
+ },
+ {
+ "method": "PUT",
+ "path": "/api/privacy/subjects/:id",
+ "mountPath": "/api/privacy",
+ "sources": [
+ {
+ "source": "server/routes/privacy.js",
+ "line": 126
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/privacy/subjects/:id/consents",
+ "mountPath": "/api/privacy",
+ "sources": [
+ {
+ "source": "server/routes/privacy.js",
+ "line": 139
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/privacy/subjects/:id/consents",
+ "mountPath": "/api/privacy",
+ "sources": [
+ {
+ "source": "server/routes/privacy.js",
+ "line": 148
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/privacy/vault",
+ "mountPath": "/api/privacy",
+ "sources": [
+ {
+ "source": "server/routes/privacy.js",
+ "line": 159
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/privacy/vault",
+ "mountPath": "/api/privacy",
+ "sources": [
+ {
+ "source": "server/routes/privacy.js",
+ "line": 166
+ }
+ ]
+ },
+ {
+ "method": "DELETE",
+ "path": "/api/privacy/vault/:id",
+ "mountPath": "/api/privacy",
+ "sources": [
+ {
+ "source": "server/routes/privacy.js",
+ "line": 184
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/privacy/vault/:id",
+ "mountPath": "/api/privacy",
+ "sources": [
+ {
+ "source": "server/routes/privacy.js",
+ "line": 171
+ }
+ ]
+ },
+ {
+ "method": "PUT",
+ "path": "/api/privacy/vault/:id",
+ "mountPath": "/api/privacy",
+ "sources": [
+ {
+ "source": "server/routes/privacy.js",
+ "line": 178
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/privacy/vault/:id/reveal",
+ "mountPath": "/api/privacy",
+ "sources": [
+ {
+ "source": "server/routes/privacy.js",
+ "line": 189
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/prompts",
+ "mountPath": "/api/prompts",
+ "sources": [
+ {
+ "source": "server/routes/prompts.js",
+ "line": 31
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/prompts",
+ "mountPath": "/api/prompts",
+ "sources": [
+ {
+ "source": "server/routes/prompts.js",
+ "line": 140
+ }
+ ]
+ },
+ {
+ "method": "DELETE",
+ "path": "/api/prompts/:stage",
+ "mountPath": "/api/prompts",
+ "sources": [
+ {
+ "source": "server/routes/prompts.js",
+ "line": 197
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/prompts/:stage",
+ "mountPath": "/api/prompts",
+ "sources": [
+ {
+ "source": "server/routes/prompts.js",
+ "line": 130
+ }
+ ]
+ },
+ {
+ "method": "PUT",
+ "path": "/api/prompts/:stage",
+ "mountPath": "/api/prompts",
+ "sources": [
+ {
+ "source": "server/routes/prompts.js",
+ "line": 156
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/prompts/:stage/preview",
+ "mountPath": "/api/prompts",
+ "sources": [
+ {
+ "source": "server/routes/prompts.js",
+ "line": 212
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/prompts/:stage/usage",
+ "mountPath": "/api/prompts",
+ "sources": [
+ {
+ "source": "server/routes/prompts.js",
+ "line": 177
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/prompts/reload",
+ "mountPath": "/api/prompts",
+ "sources": [
+ {
+ "source": "server/routes/prompts.js",
+ "line": 219
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/prompts/skills/jobs",
+ "mountPath": "/api/prompts",
+ "sources": [
+ {
+ "source": "server/routes/prompts.js",
+ "line": 77
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/prompts/skills/jobs/:name",
+ "mountPath": "/api/prompts",
+ "sources": [
+ {
+ "source": "server/routes/prompts.js",
+ "line": 83
+ }
+ ]
+ },
+ {
+ "method": "PUT",
+ "path": "/api/prompts/skills/jobs/:name",
+ "mountPath": "/api/prompts",
+ "sources": [
+ {
+ "source": "server/routes/prompts.js",
+ "line": 104
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/prompts/skills/jobs/:name/preview",
+ "mountPath": "/api/prompts",
+ "sources": [
+ {
+ "source": "server/routes/prompts.js",
+ "line": 114
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/prompts/variables",
+ "mountPath": "/api/prompts",
+ "sources": [
+ {
+ "source": "server/routes/prompts.js",
+ "line": 37
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/prompts/variables",
+ "mountPath": "/api/prompts",
+ "sources": [
+ {
+ "source": "server/routes/prompts.js",
+ "line": 52
+ }
+ ]
+ },
+ {
+ "method": "DELETE",
+ "path": "/api/prompts/variables/:key",
+ "mountPath": "/api/prompts",
+ "sources": [
+ {
+ "source": "server/routes/prompts.js",
+ "line": 69
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/prompts/variables/:key",
+ "mountPath": "/api/prompts",
+ "sources": [
+ {
+ "source": "server/routes/prompts.js",
+ "line": 43
+ }
+ ]
+ },
+ {
+ "method": "PUT",
+ "path": "/api/prompts/variables/:key",
+ "mountPath": "/api/prompts",
+ "sources": [
+ {
+ "source": "server/routes/prompts.js",
+ "line": 62
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/providers",
+ "mountPath": "/api/providers",
+ "sources": [
+ {
+ "source": "server/lib/aiToolkit/routes/providers.js",
+ "line": 24
+ },
+ {
+ "source": "server/routes/providers.js",
+ "line": 159
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/providers",
+ "mountPath": "/api/providers",
+ "sources": [
+ {
+ "source": "server/lib/aiToolkit/routes/providers.js",
+ "line": 68
+ },
+ {
+ "source": "server/routes/providers.js",
+ "line": 686
+ }
+ ]
+ },
+ {
+ "method": "DELETE",
+ "path": "/api/providers/:id",
+ "mountPath": "/api/providers",
+ "sources": [
+ {
+ "source": "server/lib/aiToolkit/routes/providers.js",
+ "line": 95
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/providers/:id",
+ "mountPath": "/api/providers",
+ "sources": [
+ {
+ "source": "server/lib/aiToolkit/routes/providers.js",
+ "line": 58
+ },
+ {
+ "source": "server/routes/providers.js",
+ "line": 640
+ }
+ ]
+ },
+ {
+ "method": "PUT",
+ "path": "/api/providers/:id",
+ "mountPath": "/api/providers",
+ "sources": [
+ {
+ "source": "server/lib/aiToolkit/routes/providers.js",
+ "line": 78
+ },
+ {
+ "source": "server/routes/providers.js",
+ "line": 652
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/providers/:id/refresh-models",
+ "mountPath": "/api/providers",
+ "sources": [
+ {
+ "source": "server/lib/aiToolkit/routes/providers.js",
+ "line": 110
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/providers/:id/status",
+ "mountPath": "/api/providers",
+ "sources": [
+ {
+ "source": "server/routes/providers.js",
+ "line": 600
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/providers/:id/status/recover",
+ "mountPath": "/api/providers",
+ "sources": [
+ {
+ "source": "server/routes/providers.js",
+ "line": 608
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/providers/:id/test",
+ "mountPath": "/api/providers",
+ "sources": [
+ {
+ "source": "server/lib/aiToolkit/routes/providers.js",
+ "line": 105
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/providers/:id/test-vision",
+ "mountPath": "/api/providers",
+ "sources": [
+ {
+ "source": "server/routes/providers.js",
+ "line": 619
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/providers/:id/vision-health",
+ "mountPath": "/api/providers",
+ "sources": [
+ {
+ "source": "server/routes/providers.js",
+ "line": 614
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/providers/:id/vision-suite",
+ "mountPath": "/api/providers",
+ "sources": [
+ {
+ "source": "server/routes/providers.js",
+ "line": 633
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/providers/active",
+ "mountPath": "/api/providers",
+ "sources": [
+ {
+ "source": "server/lib/aiToolkit/routes/providers.js",
+ "line": 29
+ },
+ {
+ "source": "server/routes/providers.js",
+ "line": 174
+ }
+ ]
+ },
+ {
+ "method": "PUT",
+ "path": "/api/providers/active",
+ "mountPath": "/api/providers",
+ "sources": [
+ {
+ "source": "server/lib/aiToolkit/routes/providers.js",
+ "line": 34
+ },
+ {
+ "source": "server/routes/providers.js",
+ "line": 181
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/providers/opencode/install",
+ "mountPath": "/api/providers",
+ "sources": [
+ {
+ "source": "server/routes/providers.js",
+ "line": 565
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/providers/opencode/installation",
+ "mountPath": "/api/providers",
+ "sources": [
+ {
+ "source": "server/routes/providers.js",
+ "line": 560
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/providers/readiness",
+ "mountPath": "/api/providers",
+ "sources": [
+ {
+ "source": "server/routes/providers.js",
+ "line": 225
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/providers/readiness/serve-model",
+ "mountPath": "/api/providers",
+ "sources": [
+ {
+ "source": "server/routes/providers.js",
+ "line": 478
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/providers/readiness/setup",
+ "mountPath": "/api/providers",
+ "sources": [
+ {
+ "source": "server/routes/providers.js",
+ "line": 380
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/providers/runtimes",
+ "mountPath": "/api/providers",
+ "sources": [
+ {
+ "source": "server/routes/providers.js",
+ "line": 206
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/providers/runtimes/install",
+ "mountPath": "/api/providers",
+ "sources": [
+ {
+ "source": "server/routes/providers.js",
+ "line": 553
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/providers/samples",
+ "mountPath": "/api/providers",
+ "sources": [
+ {
+ "source": "server/lib/aiToolkit/routes/providers.js",
+ "line": 50
+ },
+ {
+ "source": "server/routes/providers.js",
+ "line": 194
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/providers/status",
+ "mountPath": "/api/providers",
+ "sources": [
+ {
+ "source": "server/routes/providers.js",
+ "line": 587
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/quota-burn",
+ "mountPath": "/api/quota-burn",
+ "sources": [
+ {
+ "source": "server/routes/quotaBurn.js",
+ "line": 25
+ }
+ ]
+ },
+ {
+ "method": "PUT",
+ "path": "/api/quota-burn",
+ "mountPath": "/api/quota-burn",
+ "sources": [
+ {
+ "source": "server/routes/quotaBurn.js",
+ "line": 61
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/quota-burn/catalog",
+ "mountPath": "/api/quota-burn",
+ "sources": [
+ {
+ "source": "server/routes/quotaBurn.js",
+ "line": 35
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/quota-burn/rearm",
+ "mountPath": "/api/quota-burn",
+ "sources": [
+ {
+ "source": "server/routes/quotaBurn.js",
+ "line": 85
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/quota-burn/run",
+ "mountPath": "/api/quota-burn",
+ "sources": [
+ {
+ "source": "server/routes/quotaBurn.js",
+ "line": 70
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/rapid-reader/accelerando",
+ "mountPath": "/api/rapid-reader",
+ "sources": [
+ {
+ "source": "server/routes/rapidReader.js",
+ "line": 7
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/remote-desktop/sessions",
+ "mountPath": "/api/remote-desktop",
+ "sources": [
+ {
+ "source": "server/routes/remoteDesktop.js",
+ "line": 19
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/remote-desktop/status",
+ "mountPath": "/api/remote-desktop",
+ "sources": [
+ {
+ "source": "server/routes/remoteDesktop.js",
+ "line": 8
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/review/briefing",
+ "mountPath": "/api/review",
+ "sources": [
+ {
+ "source": "server/routes/review.js",
+ "line": 39
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/review/counts",
+ "mountPath": "/api/review",
+ "sources": [
+ {
+ "source": "server/routes/review.js",
+ "line": 33
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/review/items",
+ "mountPath": "/api/review",
+ "sources": [
+ {
+ "source": "server/routes/review.js",
+ "line": 26
+ }
+ ]
+ },
+ {
+ "method": "DELETE",
+ "path": "/api/review/items/:id",
+ "mountPath": "/api/review",
+ "sources": [
+ {
+ "source": "server/routes/review.js",
+ "line": 126
+ }
+ ]
+ },
+ {
+ "method": "PATCH",
+ "path": "/api/review/items/:id",
+ "mountPath": "/api/review",
+ "sources": [
+ {
+ "source": "server/routes/review.js",
+ "line": 100
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/review/items/:id/complete",
+ "mountPath": "/api/review",
+ "sources": [
+ {
+ "source": "server/routes/review.js",
+ "line": 107
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/review/items/:id/dismiss",
+ "mountPath": "/api/review",
+ "sources": [
+ {
+ "source": "server/routes/review.js",
+ "line": 113
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/review/items/bulk-status",
+ "mountPath": "/api/review",
+ "sources": [
+ {
+ "source": "server/routes/review.js",
+ "line": 119
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/review/queue",
+ "mountPath": "/api/review",
+ "sources": [
+ {
+ "source": "server/routes/review.js",
+ "line": 46
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/review/queue/promote-ask",
+ "mountPath": "/api/review",
+ "sources": [
+ {
+ "source": "server/routes/review.js",
+ "line": 82
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/review/queue/resolve",
+ "mountPath": "/api/review",
+ "sources": [
+ {
+ "source": "server/routes/review.js",
+ "line": 60
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/review/todo",
+ "mountPath": "/api/review",
+ "sources": [
+ {
+ "source": "server/routes/review.js",
+ "line": 89
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/rounds",
+ "mountPath": "/api/rounds",
+ "sources": [
+ {
+ "source": "server/routes/rounds.js",
+ "line": 225
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/rounds",
+ "mountPath": "/api/rounds",
+ "sources": [
+ {
+ "source": "server/routes/rounds.js",
+ "line": 292
+ }
+ ]
+ },
+ {
+ "method": "DELETE",
+ "path": "/api/rounds/:id",
+ "mountPath": "/api/rounds",
+ "sources": [
+ {
+ "source": "server/routes/rounds.js",
+ "line": 304
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/rounds/:id",
+ "mountPath": "/api/rounds",
+ "sources": [
+ {
+ "source": "server/routes/rounds.js",
+ "line": 230
+ }
+ ]
+ },
+ {
+ "method": "PATCH",
+ "path": "/api/rounds/:id",
+ "mountPath": "/api/rounds",
+ "sources": [
+ {
+ "source": "server/routes/rounds.js",
+ "line": 298
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/rounds/:id/derive-parts",
+ "mountPath": "/api/rounds",
+ "sources": [
+ {
+ "source": "server/routes/rounds.js",
+ "line": 360
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/rounds/:id/evaluate",
+ "mountPath": "/api/rounds",
+ "sources": [
+ {
+ "source": "server/routes/rounds.js",
+ "line": 348
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/rounds/:id/generate",
+ "mountPath": "/api/rounds",
+ "sources": [
+ {
+ "source": "server/routes/rounds.js",
+ "line": 330
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/rounds/:id/refresh-template",
+ "mountPath": "/api/rounds",
+ "sources": [
+ {
+ "source": "server/routes/rounds.js",
+ "line": 312
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/rounds/generate",
+ "mountPath": "/api/rounds",
+ "sources": [
+ {
+ "source": "server/routes/rounds.js",
+ "line": 321
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/rounds/reference-audio/import",
+ "mountPath": "/api/rounds",
+ "sources": [
+ {
+ "source": "server/routes/rounds.js",
+ "line": 246
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/rounds/reference-audio/import/:jobId/cancel",
+ "mountPath": "/api/rounds",
+ "sources": [
+ {
+ "source": "server/routes/rounds.js",
+ "line": 257
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/rounds/reference-audio/import/:jobId/events",
+ "mountPath": "/api/rounds",
+ "sources": [
+ {
+ "source": "server/routes/rounds.js",
+ "line": 251
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/rounds/reference-audio/transcribe-midi",
+ "mountPath": "/api/rounds",
+ "sources": [
+ {
+ "source": "server/routes/rounds.js",
+ "line": 272
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/rounds/reference-audio/transcribe-midi/:jobId/cancel",
+ "mountPath": "/api/rounds",
+ "sources": [
+ {
+ "source": "server/routes/rounds.js",
+ "line": 288
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/rounds/reference-audio/transcribe-midi/:jobId/events",
+ "mountPath": "/api/rounds",
+ "sources": [
+ {
+ "source": "server/routes/rounds.js",
+ "line": 282
+ }
+ ]
+ },
+ {
+ "method": "DELETE",
+ "path": "/api/runs",
+ "mountPath": "/api/runs",
+ "sources": [
+ {
+ "source": "server/lib/aiToolkit/routes/runs.js",
+ "line": 227
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/runs",
+ "mountPath": "/api/runs",
+ "sources": [
+ {
+ "source": "server/lib/aiToolkit/routes/runs.js",
+ "line": 13
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/runs",
+ "mountPath": "/api/runs",
+ "sources": [
+ {
+ "source": "server/lib/aiToolkit/routes/runs.js",
+ "line": 22
+ }
+ ]
+ },
+ {
+ "method": "DELETE",
+ "path": "/api/runs/:id",
+ "mountPath": "/api/runs",
+ "sources": [
+ {
+ "source": "server/lib/aiToolkit/routes/runs.js",
+ "line": 217
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/runs/:id",
+ "mountPath": "/api/runs",
+ "sources": [
+ {
+ "source": "server/lib/aiToolkit/routes/runs.js",
+ "line": 173
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/runs/:id/output",
+ "mountPath": "/api/runs",
+ "sources": [
+ {
+ "source": "server/lib/aiToolkit/routes/runs.js",
+ "line": 187
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/runs/:id/prompt",
+ "mountPath": "/api/runs",
+ "sources": [
+ {
+ "source": "server/lib/aiToolkit/routes/runs.js",
+ "line": 197
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/runs/:id/stop",
+ "mountPath": "/api/runs",
+ "sources": [
+ {
+ "source": "server/lib/aiToolkit/routes/runs.js",
+ "line": 207
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/scaffold",
+ "mountPath": "/api/scaffold",
+ "sources": [
+ {
+ "source": "server/routes/scaffold.js",
+ "line": 602
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/scaffold/directories",
+ "mountPath": "/api/scaffold",
+ "sources": [
+ {
+ "source": "server/routes/scaffold.js",
+ "line": 28
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/scaffold/templates",
+ "mountPath": "/api/scaffold",
+ "sources": [
+ {
+ "source": "server/routes/scaffold.js",
+ "line": 95
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/scaffold/templates/create",
+ "mountPath": "/api/scaffold",
+ "sources": [
+ {
+ "source": "server/routes/scaffold.js",
+ "line": 158
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/screenshots",
+ "mountPath": "/api/screenshots",
+ "sources": [
+ {
+ "source": "server/routes/screenshots.js",
+ "line": 17
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/screenshots/:filename",
+ "mountPath": "/api/screenshots",
+ "sources": [
+ {
+ "source": "server/routes/screenshots.js",
+ "line": 45
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/search",
+ "mountPath": "/api/search",
+ "sources": [
+ {
+ "source": "server/routes/search.js",
+ "line": 17
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/settings",
+ "mountPath": "/api/settings",
+ "sources": [
+ {
+ "source": "server/routes/settings.js",
+ "line": 136
+ }
+ ]
+ },
+ {
+ "method": "PUT",
+ "path": "/api/settings",
+ "mountPath": "/api/settings",
+ "sources": [
+ {
+ "source": "server/routes/settings.js",
+ "line": 178
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/settings/ai-assignments",
+ "mountPath": "/api/settings",
+ "sources": [
+ {
+ "source": "server/routes/settings.js",
+ "line": 155
+ }
+ ]
+ },
+ {
+ "method": "PUT",
+ "path": "/api/settings/ai-assignments/:id",
+ "mountPath": "/api/settings",
+ "sources": [
+ {
+ "source": "server/routes/settings.js",
+ "line": 172
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/settings/features",
+ "mountPath": "/api/settings",
+ "sources": [
+ {
+ "source": "server/routes/settings.js",
+ "line": 160
+ }
+ ]
+ },
+ {
+ "method": "PUT",
+ "path": "/api/settings/features/:featureId",
+ "mountPath": "/api/settings",
+ "sources": [
+ {
+ "source": "server/routes/settings.js",
+ "line": 165
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/settings/media-share-candidates",
+ "mountPath": "/api/settings",
+ "sources": [
+ {
+ "source": "server/routes/settings.js",
+ "line": 149
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/sharing/buckets",
+ "mountPath": "/api/sharing",
+ "sources": [
+ {
+ "source": "server/routes/sharing.js",
+ "line": 87
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/sharing/buckets",
+ "mountPath": "/api/sharing",
+ "sources": [
+ {
+ "source": "server/routes/sharing.js",
+ "line": 98
+ }
+ ]
+ },
+ {
+ "method": "DELETE",
+ "path": "/api/sharing/buckets/:id",
+ "mountPath": "/api/sharing",
+ "sources": [
+ {
+ "source": "server/routes/sharing.js",
+ "line": 112
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/sharing/buckets/:id",
+ "mountPath": "/api/sharing",
+ "sources": [
+ {
+ "source": "server/routes/sharing.js",
+ "line": 93
+ }
+ ]
+ },
+ {
+ "method": "PUT",
+ "path": "/api/sharing/buckets/:id",
+ "mountPath": "/api/sharing",
+ "sources": [
+ {
+ "source": "server/routes/sharing.js",
+ "line": 106
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/sharing/buckets/:id/activity",
+ "mountPath": "/api/sharing",
+ "sources": [
+ {
+ "source": "server/routes/sharing.js",
+ "line": 165
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/sharing/buckets/:id/export",
+ "mountPath": "/api/sharing",
+ "sources": [
+ {
+ "source": "server/routes/sharing.js",
+ "line": 118
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/sharing/buckets/:id/inbox",
+ "mountPath": "/api/sharing",
+ "sources": [
+ {
+ "source": "server/routes/sharing.js",
+ "line": 124
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/sharing/buckets/:id/inbox/:manifestId/dismiss",
+ "mountPath": "/api/sharing",
+ "sources": [
+ {
+ "source": "server/routes/sharing.js",
+ "line": 134
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/sharing/buckets/:id/inbox/:manifestId/promote",
+ "mountPath": "/api/sharing",
+ "sources": [
+ {
+ "source": "server/routes/sharing.js",
+ "line": 129
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/sharing/subscriptions",
+ "mountPath": "/api/sharing",
+ "sources": [
+ {
+ "source": "server/routes/sharing.js",
+ "line": 144
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/sharing/subscriptions",
+ "mountPath": "/api/sharing",
+ "sources": [
+ {
+ "source": "server/routes/sharing.js",
+ "line": 153
+ }
+ ]
+ },
+ {
+ "method": "DELETE",
+ "path": "/api/sharing/subscriptions/:id",
+ "mountPath": "/api/sharing",
+ "sources": [
+ {
+ "source": "server/routes/sharing.js",
+ "line": 159
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/shell/sessions/:sessionId/image",
+ "mountPath": "/api/shell",
+ "sources": [
+ {
+ "source": "server/routes/shell.js",
+ "line": 22
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/signal/setup-check",
+ "mountPath": "/api/signal",
+ "sources": [
+ {
+ "source": "server/routes/signal.js",
+ "line": 12
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/signal/status",
+ "mountPath": "/api/signal",
+ "sources": [
+ {
+ "source": "server/routes/signal.js",
+ "line": 19
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/signal/sync",
+ "mountPath": "/api/signal",
+ "sources": [
+ {
+ "source": "server/routes/signal.js",
+ "line": 26
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/spotify/auth/clear",
+ "mountPath": "/api/spotify",
+ "sources": [
+ {
+ "source": "server/routes/spotify.js",
+ "line": 56
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/spotify/auth/credentials",
+ "mountPath": "/api/spotify",
+ "sources": [
+ {
+ "source": "server/routes/spotify.js",
+ "line": 19
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/spotify/auth/url",
+ "mountPath": "/api/spotify",
+ "sources": [
+ {
+ "source": "server/routes/spotify.js",
+ "line": 30
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/spotify/oauth/callback",
+ "mountPath": "/api/spotify",
+ "sources": [
+ {
+ "source": "server/routes/spotify.js",
+ "line": 38
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/spotify/status",
+ "mountPath": "/api/spotify",
+ "sources": [
+ {
+ "source": "server/routes/spotify.js",
+ "line": 13
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/spotify/sync",
+ "mountPath": "/api/spotify",
+ "sources": [
+ {
+ "source": "server/routes/spotify.js",
+ "line": 63
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/sprites",
+ "mountPath": "/api/sprites",
+ "sources": [
+ {
+ "source": "server/routes/sprites.js",
+ "line": 154
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/sprites",
+ "mountPath": "/api/sprites",
+ "sources": [
+ {
+ "source": "server/routes/sprites.js",
+ "line": 218
+ }
+ ]
+ },
+ {
+ "method": "DELETE",
+ "path": "/api/sprites/:id",
+ "mountPath": "/api/sprites",
+ "sources": [
+ {
+ "source": "server/routes/sprites.js",
+ "line": 490
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/sprites/:id",
+ "mountPath": "/api/sprites",
+ "sources": [
+ {
+ "source": "server/routes/sprites.js",
+ "line": 231
+ }
+ ]
+ },
+ {
+ "method": "PATCH",
+ "path": "/api/sprites/:id",
+ "mountPath": "/api/sprites",
+ "sources": [
+ {
+ "source": "server/routes/sprites.js",
+ "line": 476
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/sprites/:id/asset-prompt",
+ "mountPath": "/api/sprites",
+ "sources": [
+ {
+ "source": "server/routes/sprites.js",
+ "line": 278
+ }
+ ]
+ },
+ {
+ "method": "DELETE",
+ "path": "/api/sprites/:id/assets",
+ "mountPath": "/api/sprites",
+ "sources": [
+ {
+ "source": "server/routes/sprites.js",
+ "line": 485
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/sprites/:id/atlas/compile",
+ "mountPath": "/api/sprites",
+ "sources": [
+ {
+ "source": "server/routes/sprites.js",
+ "line": 455
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/sprites/:id/atlas/publish",
+ "mountPath": "/api/sprites",
+ "sources": [
+ {
+ "source": "server/routes/sprites.js",
+ "line": 468
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/sprites/:id/fork",
+ "mountPath": "/api/sprites",
+ "sources": [
+ {
+ "source": "server/routes/sprites.js",
+ "line": 336
+ }
+ ]
+ },
+ {
+ "method": "PUT",
+ "path": "/api/sprites/:id/publish-binding",
+ "mountPath": "/api/sprites",
+ "sources": [
+ {
+ "source": "server/routes/sprites.js",
+ "line": 463
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/sprites/:id/reference/generate",
+ "mountPath": "/api/sprites",
+ "sources": [
+ {
+ "source": "server/routes/sprites.js",
+ "line": 286
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/sprites/:id/reference/lock",
+ "mountPath": "/api/sprites",
+ "sources": [
+ {
+ "source": "server/routes/sprites.js",
+ "line": 306
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/sprites/:id/reference/main/unlock",
+ "mountPath": "/api/sprites",
+ "sources": [
+ {
+ "source": "server/routes/sprites.js",
+ "line": 322
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/sprites/:id/reference/turnaround/unlock",
+ "mountPath": "/api/sprites",
+ "sources": [
+ {
+ "source": "server/routes/sprites.js",
+ "line": 329
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/sprites/:id/reference/unlock",
+ "mountPath": "/api/sprites",
+ "sources": [
+ {
+ "source": "server/routes/sprites.js",
+ "line": 314
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/sprites/:id/tracks/:trackId/approve",
+ "mountPath": "/api/sprites",
+ "sources": [
+ {
+ "source": "server/routes/sprites.js",
+ "line": 365
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/sprites/:id/tracks/:trackId/generate",
+ "mountPath": "/api/sprites",
+ "sources": [
+ {
+ "source": "server/routes/sprites.js",
+ "line": 358
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/sprites/:id/tracks/:trackId/reopen",
+ "mountPath": "/api/sprites",
+ "sources": [
+ {
+ "source": "server/routes/sprites.js",
+ "line": 372
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/sprites/:id/walk/approve",
+ "mountPath": "/api/sprites",
+ "sources": [
+ {
+ "source": "server/routes/sprites.js",
+ "line": 381
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/sprites/:id/walk/generate",
+ "mountPath": "/api/sprites",
+ "sources": [
+ {
+ "source": "server/routes/sprites.js",
+ "line": 344
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/sprites/:id/walk/postprocess",
+ "mountPath": "/api/sprites",
+ "sources": [
+ {
+ "source": "server/routes/sprites.js",
+ "line": 414
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/sprites/:id/walk/reopen",
+ "mountPath": "/api/sprites",
+ "sources": [
+ {
+ "source": "server/routes/sprites.js",
+ "line": 399
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/sprites/:id/walk/runs/:runId/source-frames",
+ "mountPath": "/api/sprites",
+ "sources": [
+ {
+ "source": "server/routes/sprites.js",
+ "line": 423
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/sprites/:id/walk/runs/:runId/source-frames/extract",
+ "mountPath": "/api/sprites",
+ "sources": [
+ {
+ "source": "server/routes/sprites.js",
+ "line": 440
+ }
+ ]
+ },
+ {
+ "method": "PUT",
+ "path": "/api/sprites/:id/walk/target",
+ "mountPath": "/api/sprites",
+ "sources": [
+ {
+ "source": "server/routes/sprites.js",
+ "line": 407
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/sprites/:id/walk/trim",
+ "mountPath": "/api/sprites",
+ "sources": [
+ {
+ "source": "server/routes/sprites.js",
+ "line": 447
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/sprites/:id/walk/unlock",
+ "mountPath": "/api/sprites",
+ "sources": [
+ {
+ "source": "server/routes/sprites.js",
+ "line": 390
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/sprites/animation-providers",
+ "mountPath": "/api/sprites",
+ "sources": [
+ {
+ "source": "server/routes/sprites.js",
+ "line": 212
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/sprites/animation-tracks",
+ "mountPath": "/api/sprites",
+ "sources": [
+ {
+ "source": "server/routes/sprites.js",
+ "line": 183
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/sprites/animation-tracks",
+ "mountPath": "/api/sprites",
+ "sources": [
+ {
+ "source": "server/routes/sprites.js",
+ "line": 187
+ }
+ ]
+ },
+ {
+ "method": "DELETE",
+ "path": "/api/sprites/animation-tracks/:trackId",
+ "mountPath": "/api/sprites",
+ "sources": [
+ {
+ "source": "server/routes/sprites.js",
+ "line": 198
+ }
+ ]
+ },
+ {
+ "method": "PUT",
+ "path": "/api/sprites/animation-tracks/:trackId",
+ "mountPath": "/api/sprites",
+ "sources": [
+ {
+ "source": "server/routes/sprites.js",
+ "line": 192
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/sprites/import",
+ "mountPath": "/api/sprites",
+ "sources": [
+ {
+ "source": "server/routes/sprites.js",
+ "line": 226
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/sprites/reference-sources",
+ "mountPath": "/api/sprites",
+ "sources": [
+ {
+ "source": "server/routes/sprites.js",
+ "line": 165
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/sprites/thumbnails",
+ "mountPath": "/api/sprites",
+ "sources": [
+ {
+ "source": "server/routes/sprites.js",
+ "line": 171
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/stacker-news/accounts",
+ "mountPath": "/api/stacker-news",
+ "sources": [
+ {
+ "source": "server/routes/stackerNews.js",
+ "line": 90
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/stacker-news/accounts",
+ "mountPath": "/api/stacker-news",
+ "sources": [
+ {
+ "source": "server/routes/stackerNews.js",
+ "line": 92
+ }
+ ]
+ },
+ {
+ "method": "DELETE",
+ "path": "/api/stacker-news/accounts/:id",
+ "mountPath": "/api/stacker-news",
+ "sources": [
+ {
+ "source": "server/routes/stackerNews.js",
+ "line": 115
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/stacker-news/accounts/:id",
+ "mountPath": "/api/stacker-news",
+ "sources": [
+ {
+ "source": "server/routes/stackerNews.js",
+ "line": 99
+ }
+ ]
+ },
+ {
+ "method": "PATCH",
+ "path": "/api/stacker-news/accounts/:id",
+ "mountPath": "/api/stacker-news",
+ "sources": [
+ {
+ "source": "server/routes/stackerNews.js",
+ "line": 106
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/stacker-news/accounts/:id/actions",
+ "mountPath": "/api/stacker-news",
+ "sources": [
+ {
+ "source": "server/routes/stackerNews.js",
+ "line": 203
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/stacker-news/accounts/:id/browser-identity",
+ "mountPath": "/api/stacker-news",
+ "sources": [
+ {
+ "source": "server/routes/stackerNews.js",
+ "line": 130
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/stacker-news/accounts/:id/items",
+ "mountPath": "/api/stacker-news",
+ "sources": [
+ {
+ "source": "server/routes/stackerNews.js",
+ "line": 176
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/stacker-news/accounts/:id/sync",
+ "mountPath": "/api/stacker-news",
+ "sources": [
+ {
+ "source": "server/routes/stackerNews.js",
+ "line": 137
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/stacker-news/accounts/:id/territories",
+ "mountPath": "/api/stacker-news",
+ "sources": [
+ {
+ "source": "server/routes/stackerNews.js",
+ "line": 145
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/stacker-news/accounts/:id/verify",
+ "mountPath": "/api/stacker-news",
+ "sources": [
+ {
+ "source": "server/routes/stackerNews.js",
+ "line": 123
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/stacker-news/actions",
+ "mountPath": "/api/stacker-news",
+ "sources": [
+ {
+ "source": "server/routes/stackerNews.js",
+ "line": 213
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/stacker-news/actions/:id/events",
+ "mountPath": "/api/stacker-news",
+ "sources": [
+ {
+ "source": "server/routes/stackerNews.js",
+ "line": 208
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/stacker-news/actions/:id/execute",
+ "mountPath": "/api/stacker-news",
+ "sources": [
+ {
+ "source": "server/routes/stackerNews.js",
+ "line": 228
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/stacker-news/actions/:id/review",
+ "mountPath": "/api/stacker-news",
+ "sources": [
+ {
+ "source": "server/routes/stackerNews.js",
+ "line": 219
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/stacker-news/analyses/:id/feedback",
+ "mountPath": "/api/stacker-news",
+ "sources": [
+ {
+ "source": "server/routes/stackerNews.js",
+ "line": 195
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/stacker-news/capabilities",
+ "mountPath": "/api/stacker-news",
+ "sources": [
+ {
+ "source": "server/routes/stackerNews.js",
+ "line": 88
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/stacker-news/items",
+ "mountPath": "/api/stacker-news",
+ "sources": [
+ {
+ "source": "server/routes/stackerNews.js",
+ "line": 181
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/stacker-news/items/:id/analyses",
+ "mountPath": "/api/stacker-news",
+ "sources": [
+ {
+ "source": "server/routes/stackerNews.js",
+ "line": 190
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/stacker-news/items/:id/analyze",
+ "mountPath": "/api/stacker-news",
+ "sources": [
+ {
+ "source": "server/routes/stackerNews.js",
+ "line": 183
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/stacker-news/territories",
+ "mountPath": "/api/stacker-news",
+ "sources": [
+ {
+ "source": "server/routes/stackerNews.js",
+ "line": 150
+ }
+ ]
+ },
+ {
+ "method": "DELETE",
+ "path": "/api/stacker-news/territories/:id",
+ "mountPath": "/api/stacker-news",
+ "sources": [
+ {
+ "source": "server/routes/stackerNews.js",
+ "line": 167
+ }
+ ]
+ },
+ {
+ "method": "PATCH",
+ "path": "/api/stacker-news/territories/:id",
+ "mountPath": "/api/stacker-news",
+ "sources": [
+ {
+ "source": "server/routes/stackerNews.js",
+ "line": 157
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/standardize/analyze",
+ "mountPath": "/api/standardize",
+ "sources": [
+ {
+ "source": "server/routes/standardize.js",
+ "line": 74
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/standardize/apply",
+ "mountPath": "/api/standardize",
+ "sources": [
+ {
+ "source": "server/routes/standardize.js",
+ "line": 93
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/standardize/backup",
+ "mountPath": "/api/standardize",
+ "sources": [
+ {
+ "source": "server/routes/standardize.js",
+ "line": 128
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/standardize/template",
+ "mountPath": "/api/standardize",
+ "sources": [
+ {
+ "source": "server/routes/standardize.js",
+ "line": 122
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/story-builder",
+ "mountPath": "/api/story-builder",
+ "sources": [
+ {
+ "source": "server/routes/storyBuilder.js",
+ "line": 52
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/story-builder",
+ "mountPath": "/api/story-builder",
+ "sources": [
+ {
+ "source": "server/routes/storyBuilder.js",
+ "line": 60
+ }
+ ]
+ },
+ {
+ "method": "DELETE",
+ "path": "/api/story-builder/:id",
+ "mountPath": "/api/story-builder",
+ "sources": [
+ {
+ "source": "server/routes/storyBuilder.js",
+ "line": 82
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/story-builder/:id",
+ "mountPath": "/api/story-builder",
+ "sources": [
+ {
+ "source": "server/routes/storyBuilder.js",
+ "line": 71
+ }
+ ]
+ },
+ {
+ "method": "PATCH",
+ "path": "/api/story-builder/:id",
+ "mountPath": "/api/story-builder",
+ "sources": [
+ {
+ "source": "server/routes/storyBuilder.js",
+ "line": 76
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/story-builder/:id/current-step/:stepId",
+ "mountPath": "/api/story-builder",
+ "sources": [
+ {
+ "source": "server/routes/storyBuilder.js",
+ "line": 121
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/story-builder/:id/issues/:issueId/lock",
+ "mountPath": "/api/story-builder",
+ "sources": [
+ {
+ "source": "server/routes/storyBuilder.js",
+ "line": 184
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/story-builder/:id/issues/generate",
+ "mountPath": "/api/story-builder",
+ "sources": [
+ {
+ "source": "server/routes/storyBuilder.js",
+ "line": 178
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/story-builder/:id/reconcile",
+ "mountPath": "/api/story-builder",
+ "sources": [
+ {
+ "source": "server/routes/storyBuilder.js",
+ "line": 104
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/story-builder/:id/steps/:stepId/generate",
+ "mountPath": "/api/story-builder",
+ "sources": [
+ {
+ "source": "server/routes/storyBuilder.js",
+ "line": 145
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/story-builder/:id/steps/:stepId/lock",
+ "mountPath": "/api/story-builder",
+ "sources": [
+ {
+ "source": "server/routes/storyBuilder.js",
+ "line": 127
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/story-builder/:id/steps/:stepId/progress",
+ "mountPath": "/api/story-builder",
+ "sources": [
+ {
+ "source": "server/routes/storyBuilder.js",
+ "line": 166
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/story-builder/:id/steps/:stepId/refine",
+ "mountPath": "/api/story-builder",
+ "sources": [
+ {
+ "source": "server/routes/storyBuilder.js",
+ "line": 158
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/story-builder/:id/steps/:stepId/unlock",
+ "mountPath": "/api/story-builder",
+ "sources": [
+ {
+ "source": "server/routes/storyBuilder.js",
+ "line": 133
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/story-builder/:id/sync",
+ "mountPath": "/api/story-builder",
+ "sources": [
+ {
+ "source": "server/routes/storyBuilder.js",
+ "line": 92
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/story-builder/steps",
+ "mountPath": "/api/story-builder",
+ "sources": [
+ {
+ "source": "server/routes/storyBuilder.js",
+ "line": 45
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/sync",
+ "mountPath": "/api/sync",
+ "sources": [
+ {
+ "source": "server/routes/dataSync.js",
+ "line": 109
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/sync/:category/apply",
+ "mountPath": "/api/sync",
+ "sources": [
+ {
+ "source": "server/routes/dataSync.js",
+ "line": 94
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/sync/:category/checksum",
+ "mountPath": "/api/sync",
+ "sources": [
+ {
+ "source": "server/routes/dataSync.js",
+ "line": 64
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/sync/:category/snapshot",
+ "mountPath": "/api/sync",
+ "sources": [
+ {
+ "source": "server/routes/dataSync.js",
+ "line": 72
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/sync/tombstones/status",
+ "mountPath": "/api/sync",
+ "sources": [
+ {
+ "source": "server/routes/dataSync.js",
+ "line": 30
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/sync/tombstones/sweep",
+ "mountPath": "/api/sync",
+ "sources": [
+ {
+ "source": "server/routes/dataSync.js",
+ "line": 35
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/system-resources/report",
+ "mountPath": "/api/system-resources",
+ "sources": [
+ {
+ "source": "server/routes/systemResources.js",
+ "line": 32
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/system-resources/triage",
+ "mountPath": "/api/system-resources",
+ "sources": [
+ {
+ "source": "server/routes/systemResources.js",
+ "line": 37
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/system/build",
+ "mountPath": "/api/system",
+ "sources": [
+ {
+ "source": "server/routes/systemHealth.js",
+ "line": 70
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/system/capabilities",
+ "mountPath": "/api/system/capabilities",
+ "sources": [
+ {
+ "source": "server/routes/systemCapabilities.js",
+ "line": 10
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/system/health",
+ "mountPath": "/api/system",
+ "sources": [
+ {
+ "source": "server/routes/systemHealth.js",
+ "line": 74
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/system/health/details",
+ "mountPath": "/api/system",
+ "sources": [
+ {
+ "source": "server/routes/systemHealth.js",
+ "line": 107
+ }
+ ]
+ },
+ {
+ "method": "PUT",
+ "path": "/api/system/health/thresholds",
+ "mountPath": "/api/system",
+ "sources": [
+ {
+ "source": "server/routes/systemHealth.js",
+ "line": 339
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/system/processing",
+ "mountPath": "/api/system",
+ "sources": [
+ {
+ "source": "server/routes/systemHealth.js",
+ "line": 46
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/telegram/bridge/reload",
+ "mountPath": "/api/telegram",
+ "sources": [
+ {
+ "source": "server/routes/telegram.js",
+ "line": 186
+ }
+ ]
+ },
+ {
+ "method": "DELETE",
+ "path": "/api/telegram/config",
+ "mountPath": "/api/telegram",
+ "sources": [
+ {
+ "source": "server/routes/telegram.js",
+ "line": 133
+ }
+ ]
+ },
+ {
+ "method": "PUT",
+ "path": "/api/telegram/config",
+ "mountPath": "/api/telegram",
+ "sources": [
+ {
+ "source": "server/routes/telegram.js",
+ "line": 92
+ }
+ ]
+ },
+ {
+ "method": "PUT",
+ "path": "/api/telegram/forward-types",
+ "mountPath": "/api/telegram",
+ "sources": [
+ {
+ "source": "server/routes/telegram.js",
+ "line": 170
+ }
+ ]
+ },
+ {
+ "method": "PUT",
+ "path": "/api/telegram/method",
+ "mountPath": "/api/telegram",
+ "sources": [
+ {
+ "source": "server/routes/telegram.js",
+ "line": 46
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/telegram/status",
+ "mountPath": "/api/telegram",
+ "sources": [
+ {
+ "source": "server/routes/telegram.js",
+ "line": 20
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/telegram/test",
+ "mountPath": "/api/telegram",
+ "sources": [
+ {
+ "source": "server/routes/telegram.js",
+ "line": 153
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/threejs-models",
+ "mountPath": "/api/threejs-models",
+ "sources": [
+ {
+ "source": "server/routes/threejsModels.js",
+ "line": 69
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/threejs-models",
+ "mountPath": "/api/threejs-models",
+ "sources": [
+ {
+ "source": "server/routes/threejsModels.js",
+ "line": 73
+ }
+ ]
+ },
+ {
+ "method": "DELETE",
+ "path": "/api/threejs-models/:id",
+ "mountPath": "/api/threejs-models",
+ "sources": [
+ {
+ "source": "server/routes/threejsModels.js",
+ "line": 105
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/threejs-models/:id",
+ "mountPath": "/api/threejs-models",
+ "sources": [
+ {
+ "source": "server/routes/threejsModels.js",
+ "line": 93
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/threejs-models/:id/generate",
+ "mountPath": "/api/threejs-models",
+ "sources": [
+ {
+ "source": "server/routes/threejsModels.js",
+ "line": 99
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/threejs-models/:id/source",
+ "mountPath": "/api/threejs-models",
+ "sources": [
+ {
+ "source": "server/routes/threejsModels.js",
+ "line": 86
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/threejs-models/families",
+ "mountPath": "/api/threejs-models",
+ "sources": [
+ {
+ "source": "server/routes/threejsModels.js",
+ "line": 82
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/timeline/day",
+ "mountPath": "/api/timeline",
+ "sources": [
+ {
+ "source": "server/routes/timeline.js",
+ "line": 109
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/timeline/events",
+ "mountPath": "/api/timeline",
+ "sources": [
+ {
+ "source": "server/routes/timeline.js",
+ "line": 116
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/timeline/import/browser",
+ "mountPath": "/api/timeline",
+ "sources": [
+ {
+ "source": "server/routes/timeline.js",
+ "line": 172
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/timeline/import/discord",
+ "mountPath": "/api/timeline",
+ "sources": [
+ {
+ "source": "server/routes/timeline.js",
+ "line": 155
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/timeline/import/gmail",
+ "mountPath": "/api/timeline",
+ "sources": [
+ {
+ "source": "server/routes/timeline.js",
+ "line": 195
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/timeline/import/spotify",
+ "mountPath": "/api/timeline",
+ "sources": [
+ {
+ "source": "server/routes/timeline.js",
+ "line": 145
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/timeline/import/takeout-location",
+ "mountPath": "/api/timeline",
+ "sources": [
+ {
+ "source": "server/routes/timeline.js",
+ "line": 150
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/timeline/import/whatsapp",
+ "mountPath": "/api/timeline",
+ "sources": [
+ {
+ "source": "server/routes/timeline.js",
+ "line": 163
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/timeline/import/youtube",
+ "mountPath": "/api/timeline",
+ "sources": [
+ {
+ "source": "server/routes/timeline.js",
+ "line": 177
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/tools",
+ "mountPath": "/api/tools",
+ "sources": [
+ {
+ "source": "server/routes/tools.js",
+ "line": 30
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/tools",
+ "mountPath": "/api/tools",
+ "sources": [
+ {
+ "source": "server/routes/tools.js",
+ "line": 56
+ }
+ ]
+ },
+ {
+ "method": "DELETE",
+ "path": "/api/tools/:id",
+ "mountPath": "/api/tools",
+ "sources": [
+ {
+ "source": "server/routes/tools.js",
+ "line": 72
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/tools/:id",
+ "mountPath": "/api/tools",
+ "sources": [
+ {
+ "source": "server/routes/tools.js",
+ "line": 48
+ }
+ ]
+ },
+ {
+ "method": "PUT",
+ "path": "/api/tools/:id",
+ "mountPath": "/api/tools",
+ "sources": [
+ {
+ "source": "server/routes/tools.js",
+ "line": 63
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/tools/enabled",
+ "mountPath": "/api/tools",
+ "sources": [
+ {
+ "source": "server/routes/tools.js",
+ "line": 36
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/tools/summary",
+ "mountPath": "/api/tools",
+ "sources": [
+ {
+ "source": "server/routes/tools.js",
+ "line": 42
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/tracks",
+ "mountPath": "/api/tracks",
+ "sources": [
+ {
+ "source": "server/routes/tracks.js",
+ "line": 187
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/tracks",
+ "mountPath": "/api/tracks",
+ "sources": [
+ {
+ "source": "server/routes/tracks.js",
+ "line": 218
+ }
+ ]
+ },
+ {
+ "method": "DELETE",
+ "path": "/api/tracks/:id",
+ "mountPath": "/api/tracks",
+ "sources": [
+ {
+ "source": "server/routes/tracks.js",
+ "line": 237
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/tracks/:id",
+ "mountPath": "/api/tracks",
+ "sources": [
+ {
+ "source": "server/routes/tracks.js",
+ "line": 225
+ }
+ ]
+ },
+ {
+ "method": "PATCH",
+ "path": "/api/tracks/:id",
+ "mountPath": "/api/tracks",
+ "sources": [
+ {
+ "source": "server/routes/tracks.js",
+ "line": 229
+ }
+ ]
+ },
+ {
+ "method": "DELETE",
+ "path": "/api/tracks/:id/audio",
+ "mountPath": "/api/tracks",
+ "sources": [
+ {
+ "source": "server/routes/tracks.js",
+ "line": 268
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/tracks/:id/audio/attach",
+ "mountPath": "/api/tracks",
+ "sources": [
+ {
+ "source": "server/routes/tracks.js",
+ "line": 256
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/tracks/:id/audio/upload",
+ "mountPath": "/api/tracks",
+ "sources": [
+ {
+ "source": "server/routes/tracks.js",
+ "line": 247
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/tracks/:id/chiptune/generate",
+ "mountPath": "/api/tracks",
+ "sources": [
+ {
+ "source": "server/routes/tracks.js",
+ "line": 293
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/tracks/:id/chiptune/publish",
+ "mountPath": "/api/tracks",
+ "sources": [
+ {
+ "source": "server/routes/tracks.js",
+ "line": 306
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/tracks/:id/chiptune/render",
+ "mountPath": "/api/tracks",
+ "sources": [
+ {
+ "source": "server/routes/tracks.js",
+ "line": 300
+ }
+ ]
+ },
+ {
+ "method": "DELETE",
+ "path": "/api/tracks/:id/renders/:renderId",
+ "mountPath": "/api/tracks",
+ "sources": [
+ {
+ "source": "server/routes/tracks.js",
+ "line": 325
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/tracks/:id/renders/:renderId/select",
+ "mountPath": "/api/tracks",
+ "sources": [
+ {
+ "source": "server/routes/tracks.js",
+ "line": 315
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/tracks/import/:jobId/cancel",
+ "mountPath": "/api/tracks",
+ "sources": [
+ {
+ "source": "server/routes/tracks.js",
+ "line": 214
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/tracks/import/:jobId/events",
+ "mountPath": "/api/tracks",
+ "sources": [
+ {
+ "source": "server/routes/tracks.js",
+ "line": 208
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/tracks/import/youtube",
+ "mountPath": "/api/tracks",
+ "sources": [
+ {
+ "source": "server/routes/tracks.js",
+ "line": 203
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/tracks/library",
+ "mountPath": "/api/tracks",
+ "sources": [
+ {
+ "source": "server/routes/tracks.js",
+ "line": 196
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/tribe/care",
+ "mountPath": "/api/tribe",
+ "sources": [
+ {
+ "source": "server/routes/tribe.js",
+ "line": 114
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/tribe/outreach",
+ "mountPath": "/api/tribe",
+ "sources": [
+ {
+ "source": "server/routes/tribe.js",
+ "line": 123
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/tribe/outreach/draft",
+ "mountPath": "/api/tribe",
+ "sources": [
+ {
+ "source": "server/routes/tribe.js",
+ "line": 132
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/tribe/people",
+ "mountPath": "/api/tribe",
+ "sources": [
+ {
+ "source": "server/routes/tribe.js",
+ "line": 103
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/tribe/people",
+ "mountPath": "/api/tribe",
+ "sources": [
+ {
+ "source": "server/routes/tribe.js",
+ "line": 139
+ }
+ ]
+ },
+ {
+ "method": "DELETE",
+ "path": "/api/tribe/people/:id",
+ "mountPath": "/api/tribe",
+ "sources": [
+ {
+ "source": "server/routes/tribe.js",
+ "line": 160
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/tribe/people/:id",
+ "mountPath": "/api/tribe",
+ "sources": [
+ {
+ "source": "server/routes/tribe.js",
+ "line": 146
+ }
+ ]
+ },
+ {
+ "method": "PUT",
+ "path": "/api/tribe/people/:id",
+ "mountPath": "/api/tribe",
+ "sources": [
+ {
+ "source": "server/routes/tribe.js",
+ "line": 152
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/tribe/people/:id/memories",
+ "mountPath": "/api/tribe",
+ "sources": [
+ {
+ "source": "server/routes/tribe.js",
+ "line": 187
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/tribe/people/:id/memories",
+ "mountPath": "/api/tribe",
+ "sources": [
+ {
+ "source": "server/routes/tribe.js",
+ "line": 192
+ }
+ ]
+ },
+ {
+ "method": "DELETE",
+ "path": "/api/tribe/people/:id/memories/:memoryId",
+ "mountPath": "/api/tribe",
+ "sources": [
+ {
+ "source": "server/routes/tribe.js",
+ "line": 200
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/tribe/people/:id/touchpoints",
+ "mountPath": "/api/tribe",
+ "sources": [
+ {
+ "source": "server/routes/tribe.js",
+ "line": 167
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/tribe/people/:id/touchpoints",
+ "mountPath": "/api/tribe",
+ "sources": [
+ {
+ "source": "server/routes/tribe.js",
+ "line": 173
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/tribe/people/:id/touchpoints/calendar",
+ "mountPath": "/api/tribe",
+ "sources": [
+ {
+ "source": "server/routes/tribe.js",
+ "line": 180
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/universe-builder",
+ "mountPath": "/api/universe-builder",
+ "sources": [
+ {
+ "source": "server/routes/universeBuilder/crud.js",
+ "line": 111
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/universe-builder",
+ "mountPath": "/api/universe-builder",
+ "sources": [
+ {
+ "source": "server/routes/universeBuilder/crud.js",
+ "line": 119
+ }
+ ]
+ },
+ {
+ "method": "DELETE",
+ "path": "/api/universe-builder/:id",
+ "mountPath": "/api/universe-builder",
+ "sources": [
+ {
+ "source": "server/routes/universeBuilder/crud.js",
+ "line": 168
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/universe-builder/:id",
+ "mountPath": "/api/universe-builder",
+ "sources": [
+ {
+ "source": "server/routes/universeBuilder/crud.js",
+ "line": 135
+ }
+ ]
+ },
+ {
+ "method": "PATCH",
+ "path": "/api/universe-builder/:id",
+ "mountPath": "/api/universe-builder",
+ "sources": [
+ {
+ "source": "server/routes/universeBuilder/crud.js",
+ "line": 157
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/universe-builder/:id/adopt-style",
+ "mountPath": "/api/universe-builder",
+ "sources": [
+ {
+ "source": "server/routes/universeBuilder/styleReferences.js",
+ "line": 87
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/universe-builder/:id/auto-sort",
+ "mountPath": "/api/universe-builder",
+ "sources": [
+ {
+ "source": "server/routes/universeBuilder/expand.js",
+ "line": 170
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/universe-builder/:id/canon-usage",
+ "mountPath": "/api/universe-builder",
+ "sources": [
+ {
+ "source": "server/routes/universeBuilder/canon.js",
+ "line": 84
+ }
+ ]
+ },
+ {
+ "method": "DELETE",
+ "path": "/api/universe-builder/:id/canon/:kind/:entryId",
+ "mountPath": "/api/universe-builder",
+ "sources": [
+ {
+ "source": "server/routes/universeBuilder/canon.js",
+ "line": 121
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/universe-builder/:id/canon/:kind/:entryId/apply-image-correction",
+ "mountPath": "/api/universe-builder",
+ "sources": [
+ {
+ "source": "server/routes/universeBuilder/vision.js",
+ "line": 121
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/universe-builder/:id/canon/:kind/:entryId/correct-from-image",
+ "mountPath": "/api/universe-builder",
+ "sources": [
+ {
+ "source": "server/routes/universeBuilder/vision.js",
+ "line": 92
+ }
+ ]
+ },
+ {
+ "method": "PATCH",
+ "path": "/api/universe-builder/:id/canon/:kind/:entryId/lock",
+ "mountPath": "/api/universe-builder",
+ "sources": [
+ {
+ "source": "server/routes/universeBuilder/canon.js",
+ "line": 104
+ }
+ ]
+ },
+ {
+ "method": "PATCH",
+ "path": "/api/universe-builder/:id/canon/:kind/lock-all",
+ "mountPath": "/api/universe-builder",
+ "sources": [
+ {
+ "source": "server/routes/universeBuilder/canon.js",
+ "line": 130
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/universe-builder/:id/canon/backfill-descriptions",
+ "mountPath": "/api/universe-builder",
+ "sources": [
+ {
+ "source": "server/routes/universeBuilder/canon.js",
+ "line": 74
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/universe-builder/:id/characters/:entryId/expand",
+ "mountPath": "/api/universe-builder",
+ "sources": [
+ {
+ "source": "server/routes/universeBuilder/canon.js",
+ "line": 54
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/universe-builder/:id/characters/:entryId/expand-from-images",
+ "mountPath": "/api/universe-builder",
+ "sources": [
+ {
+ "source": "server/routes/universeBuilder/vision.js",
+ "line": 63
+ }
+ ]
+ },
+ {
+ "method": "DELETE",
+ "path": "/api/universe-builder/:id/characters/:entryId/reference-sheet",
+ "mountPath": "/api/universe-builder",
+ "sources": [
+ {
+ "source": "server/routes/universeBuilder/referenceSheets.js",
+ "line": 56
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/universe-builder/:id/characters/:entryId/refine",
+ "mountPath": "/api/universe-builder",
+ "sources": [
+ {
+ "source": "server/routes/universeBuilder/canon.js",
+ "line": 43
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/universe-builder/:id/characters/:entryId/render-reference-sheet",
+ "mountPath": "/api/universe-builder",
+ "sources": [
+ {
+ "source": "server/routes/universeBuilder/referenceSheets.js",
+ "line": 42
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/universe-builder/:id/characters/differentiate-cast",
+ "mountPath": "/api/universe-builder",
+ "sources": [
+ {
+ "source": "server/routes/universeBuilder/canon.js",
+ "line": 64
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/universe-builder/:id/export/markdown",
+ "mountPath": "/api/universe-builder",
+ "sources": [
+ {
+ "source": "server/routes/universeBuilder/export.js",
+ "line": 17
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/universe-builder/:id/extract-canon",
+ "mountPath": "/api/universe-builder",
+ "sources": [
+ {
+ "source": "server/routes/universeBuilder/canon.js",
+ "line": 31
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/universe-builder/:id/promote-variation",
+ "mountPath": "/api/universe-builder",
+ "sources": [
+ {
+ "source": "server/routes/universeBuilder/expand.js",
+ "line": 159
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/universe-builder/:id/render",
+ "mountPath": "/api/universe-builder",
+ "sources": [
+ {
+ "source": "server/routes/universeBuilder/render.js",
+ "line": 98
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/universe-builder/:id/runs",
+ "mountPath": "/api/universe-builder",
+ "sources": [
+ {
+ "source": "server/routes/universeBuilder/crud.js",
+ "line": 173
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/universe-builder/:id/series-names",
+ "mountPath": "/api/universe-builder",
+ "sources": [
+ {
+ "source": "server/routes/universeBuilder/canon.js",
+ "line": 93
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/universe-builder/:id/style-references",
+ "mountPath": "/api/universe-builder",
+ "sources": [
+ {
+ "source": "server/routes/universeBuilder/styleReferences.js",
+ "line": 71
+ }
+ ]
+ },
+ {
+ "method": "DELETE",
+ "path": "/api/universe-builder/:id/style-references/:referenceId",
+ "mountPath": "/api/universe-builder",
+ "sources": [
+ {
+ "source": "server/routes/universeBuilder/styleReferences.js",
+ "line": 100
+ }
+ ]
+ },
+ {
+ "method": "PATCH",
+ "path": "/api/universe-builder/:id/variations/lock-all",
+ "mountPath": "/api/universe-builder",
+ "sources": [
+ {
+ "source": "server/routes/universeBuilder/crud.js",
+ "line": 186
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/universe-builder/analyze-style-reference",
+ "mountPath": "/api/universe-builder",
+ "sources": [
+ {
+ "source": "server/routes/universeBuilder/styleReferences.js",
+ "line": 40
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/universe-builder/describe-from-images",
+ "mountPath": "/api/universe-builder",
+ "sources": [
+ {
+ "source": "server/routes/universeBuilder/vision.js",
+ "line": 43
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/universe-builder/duplicates",
+ "mountPath": "/api/universe-builder",
+ "sources": [
+ {
+ "source": "server/routes/universeBuilder/merge.js",
+ "line": 39
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/universe-builder/expand",
+ "mountPath": "/api/universe-builder",
+ "sources": [
+ {
+ "source": "server/routes/universeBuilder/expand.js",
+ "line": 124
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/universe-builder/generate-variations",
+ "mountPath": "/api/universe-builder",
+ "sources": [
+ {
+ "source": "server/routes/universeBuilder/expand.js",
+ "line": 130
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/universe-builder/merge",
+ "mountPath": "/api/universe-builder",
+ "sources": [
+ {
+ "source": "server/routes/universeBuilder/merge.js",
+ "line": 50
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/universe-builder/merge/ai-resolve",
+ "mountPath": "/api/universe-builder",
+ "sources": [
+ {
+ "source": "server/routes/universeBuilder/merge.js",
+ "line": 61
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/universe-builder/merge/preview",
+ "mountPath": "/api/universe-builder",
+ "sources": [
+ {
+ "source": "server/routes/universeBuilder/merge.js",
+ "line": 43
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/universe-builder/reference-sheet-variants",
+ "mountPath": "/api/universe-builder",
+ "sources": [
+ {
+ "source": "server/routes/universeBuilder/referenceSheets.js",
+ "line": 25
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/universe-builder/refine-prompts",
+ "mountPath": "/api/universe-builder",
+ "sources": [
+ {
+ "source": "server/routes/universeBuilder/expand.js",
+ "line": 139
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/universe-builder/styles",
+ "mountPath": "/api/universe-builder",
+ "sources": [
+ {
+ "source": "server/routes/universeBuilder/crud.js",
+ "line": 131
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/update/check",
+ "mountPath": "/api/update",
+ "sources": [
+ {
+ "source": "server/routes/update.js",
+ "line": 71
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/update/execute",
+ "mountPath": "/api/update",
+ "sources": [
+ {
+ "source": "server/routes/update.js",
+ "line": 146
+ }
+ ]
+ },
+ {
+ "method": "DELETE",
+ "path": "/api/update/ignore",
+ "mountPath": "/api/update",
+ "sources": [
+ {
+ "source": "server/routes/update.js",
+ "line": 85
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/update/ignore",
+ "mountPath": "/api/update",
+ "sources": [
+ {
+ "source": "server/routes/update.js",
+ "line": 77
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/update/status",
+ "mountPath": "/api/update",
+ "sources": [
+ {
+ "source": "server/routes/update.js",
+ "line": 64
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/update/sync-fork",
+ "mountPath": "/api/update",
+ "sources": [
+ {
+ "source": "server/routes/update.js",
+ "line": 96
+ }
+ ]
+ },
+ {
+ "method": "DELETE",
+ "path": "/api/uploads",
+ "mountPath": "/api/uploads",
+ "sources": [
+ {
+ "source": "server/routes/uploads.js",
+ "line": 141
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/uploads",
+ "mountPath": "/api/uploads",
+ "sources": [
+ {
+ "source": "server/routes/uploads.js",
+ "line": 72
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/uploads",
+ "mountPath": "/api/uploads",
+ "sources": [
+ {
+ "source": "server/routes/uploads.js",
+ "line": 47
+ }
+ ]
+ },
+ {
+ "method": "DELETE",
+ "path": "/api/uploads/:filename",
+ "mountPath": "/api/uploads",
+ "sources": [
+ {
+ "source": "server/routes/uploads.js",
+ "line": 119
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/uploads/:filename",
+ "mountPath": "/api/uploads",
+ "sources": [
+ {
+ "source": "server/routes/uploads.js",
+ "line": 110
+ }
+ ]
+ },
+ {
+ "method": "DELETE",
+ "path": "/api/usage",
+ "mountPath": "/api/usage",
+ "sources": [
+ {
+ "source": "server/routes/usage.js",
+ "line": 121
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/usage",
+ "mountPath": "/api/usage",
+ "sources": [
+ {
+ "source": "server/routes/usage.js",
+ "line": 20
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/usage/backfill",
+ "mountPath": "/api/usage",
+ "sources": [
+ {
+ "source": "server/routes/usage.js",
+ "line": 91
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/usage/backfill",
+ "mountPath": "/api/usage",
+ "sources": [
+ {
+ "source": "server/routes/usage.js",
+ "line": 95
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/usage/claude-code",
+ "mountPath": "/api/usage",
+ "sources": [
+ {
+ "source": "server/routes/usage.js",
+ "line": 77
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/usage/messages",
+ "mountPath": "/api/usage",
+ "sources": [
+ {
+ "source": "server/routes/usage.js",
+ "line": 107
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/usage/providers",
+ "mountPath": "/api/usage",
+ "sources": [
+ {
+ "source": "server/routes/usage.js",
+ "line": 63
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/usage/raw",
+ "mountPath": "/api/usage",
+ "sources": [
+ {
+ "source": "server/routes/usage.js",
+ "line": 84
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/usage/session",
+ "mountPath": "/api/usage",
+ "sources": [
+ {
+ "source": "server/routes/usage.js",
+ "line": 100
+ }
+ ]
+ },
+ {
+ "method": "PUT",
+ "path": "/api/usage/subscriptions",
+ "mountPath": "/api/usage",
+ "sources": [
+ {
+ "source": "server/routes/usage.js",
+ "line": 43
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/usage/tokens",
+ "mountPath": "/api/usage",
+ "sources": [
+ {
+ "source": "server/routes/usage.js",
+ "line": 114
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/video-gen",
+ "mountPath": "/api/video-gen",
+ "sources": [
+ {
+ "source": "server/routes/videoGen.js",
+ "line": 888
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/video-gen/:jobId/events",
+ "mountPath": "/api/video-gen",
+ "sources": [
+ {
+ "source": "server/routes/videoGen.js",
+ "line": 1233
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/video-gen/active",
+ "mountPath": "/api/video-gen",
+ "sources": [
+ {
+ "source": "server/routes/videoGen.js",
+ "line": 1209
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/video-gen/cancel",
+ "mountPath": "/api/video-gen",
+ "sources": [
+ {
+ "source": "server/routes/videoGen.js",
+ "line": 1238
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/video-gen/history",
+ "mountPath": "/api/video-gen",
+ "sources": [
+ {
+ "source": "server/routes/videoGen.js",
+ "line": 1267
+ }
+ ]
+ },
+ {
+ "method": "DELETE",
+ "path": "/api/video-gen/history/:id",
+ "mountPath": "/api/video-gen",
+ "sources": [
+ {
+ "source": "server/routes/videoGen.js",
+ "line": 1315
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/video-gen/history/:id",
+ "mountPath": "/api/video-gen",
+ "sources": [
+ {
+ "source": "server/routes/videoGen.js",
+ "line": 1287
+ }
+ ]
+ },
+ {
+ "method": "PATCH",
+ "path": "/api/video-gen/history/:id/prompt",
+ "mountPath": "/api/video-gen",
+ "sources": [
+ {
+ "source": "server/routes/videoGen.js",
+ "line": 1323
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/video-gen/history/:id/visibility",
+ "mountPath": "/api/video-gen",
+ "sources": [
+ {
+ "source": "server/routes/videoGen.js",
+ "line": 1319
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/video-gen/ic-loras/:mode/download",
+ "mountPath": "/api/video-gen",
+ "sources": [
+ {
+ "source": "server/routes/videoGen.js",
+ "line": 767
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/video-gen/ic-loras/:mode/repair",
+ "mountPath": "/api/video-gen",
+ "sources": [
+ {
+ "source": "server/routes/videoGen.js",
+ "line": 786
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/video-gen/last-frame/:id",
+ "mountPath": "/api/video-gen",
+ "sources": [
+ {
+ "source": "server/routes/videoGen.js",
+ "line": 1340
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/video-gen/model-terms",
+ "mountPath": "/api/video-gen",
+ "sources": [
+ {
+ "source": "server/routes/videoGen.js",
+ "line": 420
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/video-gen/model-terms",
+ "mountPath": "/api/video-gen",
+ "sources": [
+ {
+ "source": "server/routes/videoGen.js",
+ "line": 424
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/video-gen/models",
+ "mountPath": "/api/video-gen",
+ "sources": [
+ {
+ "source": "server/routes/videoGen.js",
+ "line": 492
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/video-gen/models/:modelId/download",
+ "mountPath": "/api/video-gen",
+ "sources": [
+ {
+ "source": "server/routes/videoGen.js",
+ "line": 733
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/video-gen/models/:modelId/repair",
+ "mountPath": "/api/video-gen",
+ "sources": [
+ {
+ "source": "server/routes/videoGen.js",
+ "line": 718
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/video-gen/models/status",
+ "mountPath": "/api/video-gen",
+ "sources": [
+ {
+ "source": "server/routes/videoGen.js",
+ "line": 621
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/video-gen/models/verify",
+ "mountPath": "/api/video-gen",
+ "sources": [
+ {
+ "source": "server/routes/videoGen.js",
+ "line": 701
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/video-gen/setup/runtime-install",
+ "mountPath": "/api/video-gen",
+ "sources": [
+ {
+ "source": "server/routes/videoGen.js",
+ "line": 462
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/video-gen/setup/runtime-install",
+ "mountPath": "/api/video-gen",
+ "sources": [
+ {
+ "source": "server/routes/videoGen.js",
+ "line": 464
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/video-gen/setup/runtime-status",
+ "mountPath": "/api/video-gen",
+ "sources": [
+ {
+ "source": "server/routes/videoGen.js",
+ "line": 458
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/video-gen/status",
+ "mountPath": "/api/video-gen",
+ "sources": [
+ {
+ "source": "server/routes/videoGen.js",
+ "line": 370
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/video-gen/stitch",
+ "mountPath": "/api/video-gen",
+ "sources": [
+ {
+ "source": "server/routes/videoGen.js",
+ "line": 1357
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/video-gen/text-encoder/download",
+ "mountPath": "/api/video-gen",
+ "sources": [
+ {
+ "source": "server/routes/videoGen.js",
+ "line": 875
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/video-gen/text-encoder/repair",
+ "mountPath": "/api/video-gen",
+ "sources": [
+ {
+ "source": "server/routes/videoGen.js",
+ "line": 861
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/video-gen/text-encoders/:id/download",
+ "mountPath": "/api/video-gen",
+ "sources": [
+ {
+ "source": "server/routes/videoGen.js",
+ "line": 831
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/video-gen/text-encoders/:id/repair",
+ "mountPath": "/api/video-gen",
+ "sources": [
+ {
+ "source": "server/routes/videoGen.js",
+ "line": 841
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/video-gen/upload",
+ "mountPath": "/api/video-gen",
+ "sources": [
+ {
+ "source": "server/routes/videoGen.js",
+ "line": 1308
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/video-gen/upscale/:id",
+ "mountPath": "/api/video-gen",
+ "sources": [
+ {
+ "source": "server/routes/videoGen.js",
+ "line": 1346
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/video-timeline/:jobId/cancel",
+ "mountPath": "/api/video-timeline",
+ "sources": [
+ {
+ "source": "server/routes/videoTimeline.js",
+ "line": 171
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/video-timeline/:jobId/events",
+ "mountPath": "/api/video-timeline",
+ "sources": [
+ {
+ "source": "server/routes/videoTimeline.js",
+ "line": 166
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/video-timeline/projects",
+ "mountPath": "/api/video-timeline",
+ "sources": [
+ {
+ "source": "server/routes/videoTimeline.js",
+ "line": 134
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/video-timeline/projects",
+ "mountPath": "/api/video-timeline",
+ "sources": [
+ {
+ "source": "server/routes/videoTimeline.js",
+ "line": 142
+ }
+ ]
+ },
+ {
+ "method": "DELETE",
+ "path": "/api/video-timeline/projects/:id",
+ "mountPath": "/api/video-timeline",
+ "sources": [
+ {
+ "source": "server/routes/videoTimeline.js",
+ "line": 158
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/video-timeline/projects/:id",
+ "mountPath": "/api/video-timeline",
+ "sources": [
+ {
+ "source": "server/routes/videoTimeline.js",
+ "line": 147
+ }
+ ]
+ },
+ {
+ "method": "PATCH",
+ "path": "/api/video-timeline/projects/:id",
+ "mountPath": "/api/video-timeline",
+ "sources": [
+ {
+ "source": "server/routes/videoTimeline.js",
+ "line": 153
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/video-timeline/projects/:id/render",
+ "mountPath": "/api/video-timeline",
+ "sources": [
+ {
+ "source": "server/routes/videoTimeline.js",
+ "line": 162
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/voice/config",
+ "mountPath": "/api/voice",
+ "sources": [
+ {
+ "source": "server/routes/voice.js",
+ "line": 120
+ }
+ ]
+ },
+ {
+ "method": "PUT",
+ "path": "/api/voice/config",
+ "mountPath": "/api/voice",
+ "sources": [
+ {
+ "source": "server/routes/voice.js",
+ "line": 125
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/voice/piper/fetch",
+ "mountPath": "/api/voice",
+ "sources": [
+ {
+ "source": "server/routes/voice.js",
+ "line": 177
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/voice/public/engines",
+ "mountPath": "/api/voice/public",
+ "sources": [
+ {
+ "source": "server/routes/voicePublic.js",
+ "line": 68
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/voice/public/synthesize",
+ "mountPath": "/api/voice/public",
+ "sources": [
+ {
+ "source": "server/routes/voicePublic.js",
+ "line": 39
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/voice/public/voices",
+ "mountPath": "/api/voice/public",
+ "sources": [
+ {
+ "source": "server/routes/voicePublic.js",
+ "line": 61
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/voice/speak",
+ "mountPath": "/api/voice",
+ "sources": [
+ {
+ "source": "server/routes/voice.js",
+ "line": 229
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/voice/status",
+ "mountPath": "/api/voice",
+ "sources": [
+ {
+ "source": "server/routes/voice.js",
+ "line": 154
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/voice/test",
+ "mountPath": "/api/voice",
+ "sources": [
+ {
+ "source": "server/routes/voice.js",
+ "line": 190
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/voice/tts/status",
+ "mountPath": "/api/voice",
+ "sources": [
+ {
+ "source": "server/routes/voice.js",
+ "line": 255
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/voice/tts/unload",
+ "mountPath": "/api/voice",
+ "sources": [
+ {
+ "source": "server/routes/voice.js",
+ "line": 267
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/voice/voices",
+ "mountPath": "/api/voice",
+ "sources": [
+ {
+ "source": "server/routes/voice.js",
+ "line": 171
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/voice/whisper",
+ "mountPath": "/api/voice",
+ "sources": [
+ {
+ "source": "server/routes/voice.js",
+ "line": 279
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/workspace-contexts",
+ "mountPath": "/api/workspace-contexts",
+ "sources": [
+ {
+ "source": "server/routes/workspaceContexts.js",
+ "line": 25
+ }
+ ]
+ },
+ {
+ "method": "DELETE",
+ "path": "/api/workspace-contexts/:appId",
+ "mountPath": "/api/workspace-contexts",
+ "sources": [
+ {
+ "source": "server/routes/workspaceContexts.js",
+ "line": 48
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/workspace-contexts/:appId",
+ "mountPath": "/api/workspace-contexts",
+ "sources": [
+ {
+ "source": "server/routes/workspaceContexts.js",
+ "line": 30
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/workspace-contexts/:appId/restore",
+ "mountPath": "/api/workspace-contexts",
+ "sources": [
+ {
+ "source": "server/routes/workspaceContexts.js",
+ "line": 42
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/workspace-contexts/:appId/save",
+ "mountPath": "/api/workspace-contexts",
+ "sources": [
+ {
+ "source": "server/routes/workspaceContexts.js",
+ "line": 36
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/writers-room/exercises",
+ "mountPath": "/api/writers-room",
+ "sources": [
+ {
+ "source": "server/routes/writersRoom.js",
+ "line": 170
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/writers-room/exercises",
+ "mountPath": "/api/writers-room",
+ "sources": [
+ {
+ "source": "server/routes/writersRoom.js",
+ "line": 182
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/writers-room/exercises/:id/discard",
+ "mountPath": "/api/writers-room",
+ "sources": [
+ {
+ "source": "server/routes/writersRoom.js",
+ "line": 192
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/writers-room/exercises/:id/finish",
+ "mountPath": "/api/writers-room",
+ "sources": [
+ {
+ "source": "server/routes/writersRoom.js",
+ "line": 187
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/writers-room/folders",
+ "mountPath": "/api/writers-room",
+ "sources": [
+ {
+ "source": "server/routes/writersRoom.js",
+ "line": 67
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/writers-room/folders",
+ "mountPath": "/api/writers-room",
+ "sources": [
+ {
+ "source": "server/routes/writersRoom.js",
+ "line": 71
+ }
+ ]
+ },
+ {
+ "method": "DELETE",
+ "path": "/api/writers-room/folders/:id",
+ "mountPath": "/api/writers-room",
+ "sources": [
+ {
+ "source": "server/routes/writersRoom.js",
+ "line": 76
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/writers-room/works",
+ "mountPath": "/api/writers-room",
+ "sources": [
+ {
+ "source": "server/routes/writersRoom.js",
+ "line": 85
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/writers-room/works",
+ "mountPath": "/api/writers-room",
+ "sources": [
+ {
+ "source": "server/routes/writersRoom.js",
+ "line": 93
+ }
+ ]
+ },
+ {
+ "method": "DELETE",
+ "path": "/api/writers-room/works/:id",
+ "mountPath": "/api/writers-room",
+ "sources": [
+ {
+ "source": "server/routes/writersRoom.js",
+ "line": 108
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/writers-room/works/:id",
+ "mountPath": "/api/writers-room",
+ "sources": [
+ {
+ "source": "server/routes/writersRoom.js",
+ "line": 98
+ }
+ ]
+ },
+ {
+ "method": "PATCH",
+ "path": "/api/writers-room/works/:id",
+ "mountPath": "/api/writers-room",
+ "sources": [
+ {
+ "source": "server/routes/writersRoom.js",
+ "line": 103
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/writers-room/works/:id/analysis",
+ "mountPath": "/api/writers-room",
+ "sources": [
+ {
+ "source": "server/routes/writersRoom.js",
+ "line": 198
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/writers-room/works/:id/analysis",
+ "mountPath": "/api/writers-room",
+ "sources": [
+ {
+ "source": "server/routes/writersRoom.js",
+ "line": 202
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/writers-room/works/:id/analysis/:analysisId",
+ "mountPath": "/api/writers-room",
+ "sources": [
+ {
+ "source": "server/routes/writersRoom.js",
+ "line": 208
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/writers-room/works/:id/analysis/:analysisId/scene-image",
+ "mountPath": "/api/writers-room",
+ "sources": [
+ {
+ "source": "server/routes/writersRoom.js",
+ "line": 370
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/writers-room/works/:id/cd-bridge/send",
+ "mountPath": "/api/writers-room",
+ "sources": [
+ {
+ "source": "server/routes/writersRoom.js",
+ "line": 290
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/writers-room/works/:id/cd-bridge/suggest",
+ "mountPath": "/api/writers-room",
+ "sources": [
+ {
+ "source": "server/routes/writersRoom.js",
+ "line": 281
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/writers-room/works/:id/characters",
+ "mountPath": "/api/writers-room",
+ "sources": [
+ {
+ "source": "server/routes/writersRoom.js",
+ "line": 306
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/writers-room/works/:id/characters",
+ "mountPath": "/api/writers-room",
+ "sources": [
+ {
+ "source": "server/routes/writersRoom.js",
+ "line": 310
+ }
+ ]
+ },
+ {
+ "method": "DELETE",
+ "path": "/api/writers-room/works/:id/characters/:characterId",
+ "mountPath": "/api/writers-room",
+ "sources": [
+ {
+ "source": "server/routes/writersRoom.js",
+ "line": 320
+ }
+ ]
+ },
+ {
+ "method": "PATCH",
+ "path": "/api/writers-room/works/:id/characters/:characterId",
+ "mountPath": "/api/writers-room",
+ "sources": [
+ {
+ "source": "server/routes/writersRoom.js",
+ "line": 315
+ }
+ ]
+ },
+ {
+ "method": "PUT",
+ "path": "/api/writers-room/works/:id/draft",
+ "mountPath": "/api/writers-room",
+ "sources": [
+ {
+ "source": "server/routes/writersRoom.js",
+ "line": 129
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/writers-room/works/:id/live-render-preview",
+ "mountPath": "/api/writers-room",
+ "sources": [
+ {
+ "source": "server/routes/writersRoom.js",
+ "line": 271
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/writers-room/works/:id/live-suggest",
+ "mountPath": "/api/writers-room",
+ "sources": [
+ {
+ "source": "server/routes/writersRoom.js",
+ "line": 262
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/writers-room/works/:id/objects",
+ "mountPath": "/api/writers-room",
+ "sources": [
+ {
+ "source": "server/routes/writersRoom.js",
+ "line": 346
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/writers-room/works/:id/objects",
+ "mountPath": "/api/writers-room",
+ "sources": [
+ {
+ "source": "server/routes/writersRoom.js",
+ "line": 350
+ }
+ ]
+ },
+ {
+ "method": "DELETE",
+ "path": "/api/writers-room/works/:id/objects/:objectId",
+ "mountPath": "/api/writers-room",
+ "sources": [
+ {
+ "source": "server/routes/writersRoom.js",
+ "line": 360
+ }
+ ]
+ },
+ {
+ "method": "PATCH",
+ "path": "/api/writers-room/works/:id/objects/:objectId",
+ "mountPath": "/api/writers-room",
+ "sources": [
+ {
+ "source": "server/routes/writersRoom.js",
+ "line": 355
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/writers-room/works/:id/places",
+ "mountPath": "/api/writers-room",
+ "sources": [
+ {
+ "source": "server/routes/writersRoom.js",
+ "line": 326
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/writers-room/works/:id/places",
+ "mountPath": "/api/writers-room",
+ "sources": [
+ {
+ "source": "server/routes/writersRoom.js",
+ "line": 330
+ }
+ ]
+ },
+ {
+ "method": "DELETE",
+ "path": "/api/writers-room/works/:id/places/:placeId",
+ "mountPath": "/api/writers-room",
+ "sources": [
+ {
+ "source": "server/routes/writersRoom.js",
+ "line": 340
+ }
+ ]
+ },
+ {
+ "method": "PATCH",
+ "path": "/api/writers-room/works/:id/places/:placeId",
+ "mountPath": "/api/writers-room",
+ "sources": [
+ {
+ "source": "server/routes/writersRoom.js",
+ "line": 335
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/writers-room/works/:id/polish/cancel",
+ "mountPath": "/api/writers-room",
+ "sources": [
+ {
+ "source": "server/routes/writersRoom.js",
+ "line": 235
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/writers-room/works/:id/polish/progress",
+ "mountPath": "/api/writers-room",
+ "sources": [
+ {
+ "source": "server/routes/writersRoom.js",
+ "line": 228
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/writers-room/works/:id/polish/revert",
+ "mountPath": "/api/writers-room",
+ "sources": [
+ {
+ "source": "server/routes/writersRoom.js",
+ "line": 251
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/writers-room/works/:id/polish/snapshots",
+ "mountPath": "/api/writers-room",
+ "sources": [
+ {
+ "source": "server/routes/writersRoom.js",
+ "line": 243
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/writers-room/works/:id/polish/snapshots/:snapshotId",
+ "mountPath": "/api/writers-room",
+ "sources": [
+ {
+ "source": "server/routes/writersRoom.js",
+ "line": 247
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/writers-room/works/:id/polish/start",
+ "mountPath": "/api/writers-room",
+ "sources": [
+ {
+ "source": "server/routes/writersRoom.js",
+ "line": 218
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/writers-room/works/:id/polish/status",
+ "mountPath": "/api/writers-room",
+ "sources": [
+ {
+ "source": "server/routes/writersRoom.js",
+ "line": 239
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/writers-room/works/:id/promote-to-pipeline",
+ "mountPath": "/api/writers-room",
+ "sources": [
+ {
+ "source": "server/routes/writersRoom.js",
+ "line": 116
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/writers-room/works/:id/synced-review",
+ "mountPath": "/api/writers-room",
+ "sources": [
+ {
+ "source": "server/routes/writersRoom.js",
+ "line": 300
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/writers-room/works/:id/versions",
+ "mountPath": "/api/writers-room",
+ "sources": [
+ {
+ "source": "server/routes/writersRoom.js",
+ "line": 148
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/writers-room/works/:id/versions/:draftId",
+ "mountPath": "/api/writers-room",
+ "sources": [
+ {
+ "source": "server/routes/writersRoom.js",
+ "line": 163
+ }
+ ]
+ },
+ {
+ "method": "PATCH",
+ "path": "/api/writers-room/works/:id/versions/:draftId",
+ "mountPath": "/api/writers-room",
+ "sources": [
+ {
+ "source": "server/routes/writersRoom.js",
+ "line": 153
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/x/accounts",
+ "mountPath": "/api/x",
+ "sources": [
+ {
+ "source": "server/routes/x.js",
+ "line": 33
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/x/accounts",
+ "mountPath": "/api/x",
+ "sources": [
+ {
+ "source": "server/routes/x.js",
+ "line": 35
+ }
+ ]
+ },
+ {
+ "method": "DELETE",
+ "path": "/api/x/accounts/:id",
+ "mountPath": "/api/x",
+ "sources": [
+ {
+ "source": "server/routes/x.js",
+ "line": 56
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/x/accounts/:id",
+ "mountPath": "/api/x",
+ "sources": [
+ {
+ "source": "server/routes/x.js",
+ "line": 41
+ }
+ ]
+ },
+ {
+ "method": "PATCH",
+ "path": "/api/x/accounts/:id",
+ "mountPath": "/api/x",
+ "sources": [
+ {
+ "source": "server/routes/x.js",
+ "line": 48
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/x/accounts/:id/drafts",
+ "mountPath": "/api/x",
+ "sources": [
+ {
+ "source": "server/routes/x.js",
+ "line": 84
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/x/accounts/:id/open",
+ "mountPath": "/api/x",
+ "sources": [
+ {
+ "source": "server/routes/x.js",
+ "line": 71
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/x/accounts/:id/posts",
+ "mountPath": "/api/x",
+ "sources": [
+ {
+ "source": "server/routes/x.js",
+ "line": 79
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/x/accounts/:id/sync",
+ "mountPath": "/api/x",
+ "sources": [
+ {
+ "source": "server/routes/x.js",
+ "line": 63
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/x/capabilities",
+ "mountPath": "/api/x",
+ "sources": [
+ {
+ "source": "server/routes/x.js",
+ "line": 26
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/x/drafts",
+ "mountPath": "/api/x",
+ "sources": [
+ {
+ "source": "server/routes/x.js",
+ "line": 89
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/x/drafts/:id/open",
+ "mountPath": "/api/x",
+ "sources": [
+ {
+ "source": "server/routes/x.js",
+ "line": 104
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/x/drafts/:id/review",
+ "mountPath": "/api/x",
+ "sources": [
+ {
+ "source": "server/routes/x.js",
+ "line": 95
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/youtube/setup-check",
+ "mountPath": "/api/youtube",
+ "sources": [
+ {
+ "source": "server/routes/youtube.js",
+ "line": 11
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/api/youtube/status",
+ "mountPath": "/api/youtube",
+ "sources": [
+ {
+ "source": "server/routes/youtube.js",
+ "line": 18
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/api/youtube/sync",
+ "mountPath": "/api/youtube",
+ "sources": [
+ {
+ "source": "server/routes/youtube.js",
+ "line": 25
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/sdapi/v1/options",
+ "mountPath": "/sdapi/v1",
+ "sources": [
+ {
+ "source": "server/routes/sdapi.js",
+ "line": 59
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/sdapi/v1/options",
+ "mountPath": "/sdapi/v1",
+ "sources": [
+ {
+ "source": "server/routes/sdapi.js",
+ "line": 70
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/sdapi/v1/portos/video-models",
+ "mountPath": "/sdapi/v1",
+ "sources": [
+ {
+ "source": "server/routes/sdapi.js",
+ "line": 104
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/sdapi/v1/progress",
+ "mountPath": "/sdapi/v1",
+ "sources": [
+ {
+ "source": "server/routes/sdapi.js",
+ "line": 114
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/sdapi/v1/samplers",
+ "mountPath": "/sdapi/v1",
+ "sources": [
+ {
+ "source": "server/routes/sdapi.js",
+ "line": 95
+ }
+ ]
+ },
+ {
+ "method": "GET",
+ "path": "/sdapi/v1/sd-models",
+ "mountPath": "/sdapi/v1",
+ "sources": [
+ {
+ "source": "server/routes/sdapi.js",
+ "line": 79
+ }
+ ]
+ },
+ {
+ "method": "POST",
+ "path": "/sdapi/v1/txt2img",
+ "mountPath": "/sdapi/v1",
+ "sources": [
+ {
+ "source": "server/routes/sdapi.js",
+ "line": 140
+ }
+ ]
+ }
+ ],
+ "stats": {
+ "mounts": 145,
+ "operations": 2066,
+ "declarations": 2069,
+ "sourceFiles": 224
+ }
+}
diff --git a/server/lib/asyncApiSpec.js b/server/lib/asyncApiSpec.js
new file mode 100644
index 0000000000..8fa7dc2f0f
--- /dev/null
+++ b/server/lib/asyncApiSpec.js
@@ -0,0 +1,86 @@
+/** AsyncAPI 3 document for PortOS's generated Socket.IO event catalog. */
+
+import { buildSocketEventCatalog } from './socketEventCatalog.js';
+
+const hash = (value) => {
+ let result = 2166136261;
+ for (let index = 0; index < value.length; index += 1) {
+ result ^= value.charCodeAt(index);
+ result = Math.imul(result, 16777619);
+ }
+ return (result >>> 0).toString(36);
+};
+
+const identifier = (value) => `${value.replace(/[^A-Za-z0-9]+/g, '_').replace(/^_+|_+$/g, '').slice(0, 80)}_${hash(value)}`;
+
+const serverDefinition = (baseUrl) => {
+ const parsed = URL.canParse(baseUrl || '') ? new URL(baseUrl) : new URL('http://localhost:5555');
+ return {
+ host: parsed.host,
+ protocol: 'socket.io',
+ pathname: '/socket.io',
+ description: 'PortOS Socket.IO server. Authentication follows the instance auth setting.',
+ };
+};
+
+const channelParameters = (address) => Object.fromEntries(
+ [...address.matchAll(/\{([A-Za-z_$][\w$]*)\}/g)].map((match) => [
+ match[1],
+ { description: `Dynamic ${match[1]} segment in this Socket.IO event address.` },
+ ]),
+);
+
+export const buildAsyncApiSpec = ({ baseUrl, version = '0.0.0' } = {}) => {
+ const catalog = buildSocketEventCatalog();
+ const channels = {};
+ const operations = {};
+ const messages = {};
+
+ for (const event of catalog.events) {
+ const channelId = identifier(`channel_${event.event}`);
+ const channelMessages = {};
+ for (const direction of event.directions) {
+ const messageId = identifier(`message_${direction}_${event.event}`);
+ const schema = event.payloadSchemas[direction] || {};
+ messages[messageId] = {
+ name: event.event,
+ title: event.summary,
+ summary: `${direction} payload for ${event.event}.`,
+ payload: schema,
+ 'x-portos-contract-status': event.modeledDirections.includes(direction) ? 'modeled' : 'generated',
+ 'x-portos-source': event.sources.filter((source) => source.direction === direction),
+ };
+ channelMessages[messageId] = { $ref: `#/components/messages/${messageId}` };
+ const operationId = identifier(`${direction}_${event.event}`);
+ operations[operationId] = {
+ action: direction === 'server-to-client' ? 'send' : 'receive',
+ summary: `${direction === 'server-to-client' ? 'Publish' : 'Handle'} ${event.event}`,
+ channel: { $ref: `#/channels/${channelId}` },
+ messages: [{ $ref: `#/channels/${channelId}/messages/${messageId}` }],
+ tags: [{ name: event.domain }],
+ };
+ }
+ const parameters = channelParameters(event.event);
+ channels[channelId] = {
+ address: event.event,
+ title: event.summary,
+ messages: channelMessages,
+ ...(Object.keys(parameters).length ? { parameters } : {}),
+ 'x-portos-directions': event.directions,
+ };
+ }
+
+ return {
+ asyncapi: '3.0.0',
+ info: {
+ title: 'PortOS Socket.IO API',
+ version,
+ description: 'Generated event inventory for the PortOS Socket.IO transport. Generated payloads remain explicitly marked until backed by a runtime schema.',
+ },
+ defaultContentType: 'application/json',
+ servers: { local: serverDefinition(baseUrl) },
+ channels,
+ operations,
+ components: { messages },
+ };
+};
diff --git a/server/lib/asyncApiSpec.test.js b/server/lib/asyncApiSpec.test.js
new file mode 100644
index 0000000000..d0ecd6346e
--- /dev/null
+++ b/server/lib/asyncApiSpec.test.js
@@ -0,0 +1,24 @@
+import { describe, expect, it } from 'vitest';
+import { buildAsyncApiSpec } from './asyncApiSpec.js';
+
+describe('AsyncAPI spec', () => {
+ it('builds AsyncAPI 3 channels and direction-aware operations from the socket catalog', () => {
+ const spec = buildAsyncApiSpec({ baseUrl: 'https://portos.example.test', version: '1.2.3' });
+ expect(spec.asyncapi).toBe('3.0.0');
+ expect(spec.info.version).toBe('1.2.3');
+ expect(spec.servers.local).toMatchObject({ host: 'portos.example.test', protocol: 'socket.io', pathname: '/socket.io' });
+ expect(Object.keys(spec.channels).length).toBeGreaterThan(100);
+ expect(Object.values(spec.channels).some((channel) => channel.address === 'cos:mind:event')).toBe(true);
+ expect(Object.values(spec.operations).some((operation) => operation.action === 'send')).toBe(true);
+ expect(Object.values(spec.operations).some((operation) => operation.action === 'receive')).toBe(true);
+ expect(Object.values(spec.components.messages).some((message) => message['x-portos-contract-status'] === 'modeled')).toBe(true);
+ });
+
+ it('declares every dynamic channel address parameter', () => {
+ const spec = buildAsyncApiSpec({ baseUrl: 'http://example.com', version: '1.2.3' });
+ for (const channel of Object.values(spec.channels)) {
+ const names = [...channel.address.matchAll(/\{([A-Za-z_$][\w$]*)\}/g)].map((match) => match[1]);
+ expect(Object.keys(channel.parameters || {}).sort()).toEqual([...new Set(names)].sort());
+ }
+ });
+});
diff --git a/server/lib/cosToolContracts.js b/server/lib/cosToolContracts.js
new file mode 100644
index 0000000000..495f3f0dae
--- /dev/null
+++ b/server/lib/cosToolContracts.js
@@ -0,0 +1,58 @@
+/** Provider-neutral wire contracts for the semantic CoS tool interface. */
+
+import { z } from 'zod';
+
+export const COS_TOOL_SCHEMA_VERSION = 1;
+export const PORTOS_SEMANTIC_TOOL_GRANT_KEYS = Object.freeze(['readPortos', 'writePortos']);
+export const COS_TOOL_CALL_LIMITS = Object.freeze({
+ requestIdChars: 200,
+ nameChars: 100,
+ maxCallsPerTurn: 5,
+});
+
+// Shared by every principal that can receive the governed semantic catalog.
+// Principal-specific capabilities (for example Persistent Mind task creation)
+// extend this object rather than cloning the read/write grant contract.
+export const portosSemanticToolGrantsSchema = z.object({
+ readPortos: z.boolean().optional(),
+ writePortos: z.boolean().optional(),
+}).strict();
+
+export const createDefaultPortosSemanticToolGrants = () => ({
+ readPortos: false,
+ writePortos: false,
+});
+
+export const normalizePortosSemanticToolGrants = (raw) => {
+ const source = raw && typeof raw === 'object' && !Array.isArray(raw) ? raw : {};
+ return {
+ readPortos: source.readPortos === true,
+ writePortos: source.writePortos === true,
+ };
+};
+
+export const cosToolRequestIdSchema = z.string()
+ .trim()
+ .min(1)
+ .max(COS_TOOL_CALL_LIMITS.requestIdChars)
+ .regex(/^[A-Za-z0-9._:-]+$/, 'requestId contains unsupported characters');
+
+export const cosToolCallSchema = z.object({
+ type: z.literal('portos_tool_call').optional().default('portos_tool_call'),
+ requestId: cosToolRequestIdSchema,
+ name: z.string().trim().min(1).max(COS_TOOL_CALL_LIMITS.nameChars).regex(/^[A-Za-z0-9._-]+$/),
+ version: z.literal(COS_TOOL_SCHEMA_VERSION).optional().default(COS_TOOL_SCHEMA_VERSION),
+ arguments: z.record(z.string(), z.unknown()).optional().default({}),
+}).strict();
+
+export const cosToolCatalogQuerySchema = z.object({
+ scope: z.enum(['all', 'agent', 'mind', 'ui', 'voice']).optional().default('all'),
+ intent: z.string().trim().max(500).optional(),
+ format: z.enum(['portos', 'openai', 'anthropic', 'mcp']).optional().default('portos'),
+}).strict();
+
+export const cosToolCallParamsSchema = z.object({ requestId: cosToolRequestIdSchema }).strict();
+
+export const persistentMindToolCallSchema = cosToolCallSchema
+ .omit({ type: true, version: true, requestId: true })
+ .extend({ requestId: cosToolRequestIdSchema.optional() });
diff --git a/server/lib/index.js b/server/lib/index.js
index 8e8d644220..94fe8bdf9b 100644
--- a/server/lib/index.js
+++ b/server/lib/index.js
@@ -17,12 +17,15 @@
// `digitalTwinValidation.X`. The catch-all `validation.js` stays flat — its
// names are the canonical PortOS-wide schemas.
export * from './appDeployFlags.js';
+export * from './apiContractSchemas.js';
+export * from './asyncApiSpec.js';
export * as agentValidation from './agentValidation.js';
export * as agentContextValidation from './agentContextValidation.js';
export * as appleHealthValidation from './appleHealthValidation.js';
export * as brainValidation from './brainValidation.js';
export * as catalogValidation from './catalogValidation.js';
export * as cosValidation from './cosValidation.js';
+export * from './cosToolContracts.js';
export * as creativeCommissionValidation from './creativeCommissionValidation.js';
export * as creativeDirectorValidation from './creativeDirectorValidation.js';
export * as digitalTwinValidation from './digitalTwinValidation.js';
@@ -44,6 +47,7 @@ export * as postValidation from './postValidation.js';
export * as privacyValidation from './privacyValidation.js';
export * as roundsValidation from './roundsValidation.js';
export * as socketValidation from './socketValidation.js';
+export * from './socketEventContracts.js';
export * as spriteValidation from './spriteValidation.js';
export * as storyBuilderValidation from './storyBuilderValidation.js';
export * as telegramValidation from './telegramValidation.js';
@@ -379,6 +383,10 @@ export * from './tribeMatch.js';
export * from './viteAllowedHosts.js';
// === General utilities ===
+export * from './apiAccessPolicy.js';
+export * from './apiCatalog.js';
+export * from './socketEventCatalog.js';
+export * from './apiOperationContracts.js';
export * from './apiRegistry.js';
export * from './arrayUtils.js';
export * from './assetRoutePrefixes.js';
diff --git a/server/lib/navManifest.js b/server/lib/navManifest.js
index 7449c9cf2d..69e79e57ac 100644
--- a/server/lib/navManifest.js
+++ b/server/lib/navManifest.js
@@ -293,6 +293,7 @@ const RAW_NAV_COMMANDS = [
{ id: 'nav.settings.ai-assignments', path: '/settings/ai-assignments', label: 'AI Assignments', section: 'Settings', aliases: ['ai-assignments', 'assignments', 'settings-ai-assignments', 'ai-inventory'], keywords: ['provider', 'model', 'pin', 'inventory', 'migration', 'llm'] },
{ id: 'nav.settings.api-access', path: '/settings/api-access', label: 'API Access', section: 'Settings', aliases: ['api-access', 'settings-api-access', 'public-api', 'swagger', 'openapi'], keywords: ['rest', 'external', 'tts api', 'sdapi', 'voice api', 'docs', 'curl', 'expose', 'passwordless', 'auth gating'] },
+ { id: 'nav.devtools.api-explorer', path: '/api-reference/catalog', label: 'API Explorer', section: 'Dev Tools', aliases: ['api-explorer', 'api-reference', 'swagger-ui', 'rest-reference'], keywords: ['openapi', 'rest', 'endpoints', 'routes', 'agent tools', 'contracts', 'developer docs'] },
{ id: 'nav.settings.autofixer', path: '/settings/autofixer', label: 'Autofixer', section: 'Settings', aliases: ['autofixer', 'settings-autofixer', 'auto-fixer'], keywords: ['crash', 'fix', 'pm2', 'repair', 'ai provider', 'restart'] },
{ id: 'nav.settings.backup', path: '/settings/backup', label: 'Backup', section: 'Settings', aliases: ['backup', 'settings-backup'] },
{ id: 'nav.settings.code-reviewers', path: '/settings/code-reviewers', label: 'Code Reviewers', section: 'Settings', aliases: ['code-reviewers', 'settings-code-reviewers', 'code-review', 'review-defaults', 'reviewers'], keywords: ['review loop', 'reviewer chain', 'codex', 'copilot', 'ollama', 'stop mode', 'max rounds', 'defaults'] },
diff --git a/server/lib/openapiSpec.js b/server/lib/openapiSpec.js
index ee9bcdf4bb..f0481ba5e8 100644
--- a/server/lib/openapiSpec.js
+++ b/server/lib/openapiSpec.js
@@ -1,144 +1,132 @@
-/**
- * OpenAPI 3.1 spec builder for PortOS's public API surface.
- *
- * Native (no swagger-ui dependency): builds the document from the API registry
- * (server/lib/apiRegistry.js) plus per-path operation metadata declared here.
- * Request bodies reuse the same Zod schemas the routes validate against
- * (via `z.toJSONSchema`), so the docs can't drift from validation.
- *
- * Only APIs that are currently `exposed` appear in `paths`. An exposed API
- * with `requireAuth:true` gets a `security` requirement on each of its
- * operations; a passwordless one omits it (anonymous access allowed).
- */
+/** OpenAPI 3.1 builders for PortOS's exposed and complete HTTP API surfaces. */
-import { z } from 'zod';
+import { API_OPERATION_CONTRACTS } from './apiOperationContracts.js';
+import {
+ buildApiCatalog,
+ expressPathToOpenApiPath,
+ pathParametersFor,
+} from './apiCatalog.js';
import { resolveApiAccess } from './apiRegistry.js';
-// Request-body schema for POST /api/voice/public/synthesize. A LIGHT copy of
-// the route's schema (routes/voicePublic.js) — kept here rather than imported
-// because the route file pulls in heavy TTS service modules and this builder
-// must stay a pure, dependency-light lib module. The two are asserted to
-// produce identical JSON Schema by the parity test in openapiSpec.test.js, so
-// they can't silently drift.
-// `text` max mirrors MAX_PROACTIVE_TEXT_LEN (4000) used by the route. If that
-// constant changes, the parity test in openapiSpec.test.js fails until this is
-// updated to match — so the documented limit can't understate the real one.
-// Mirrors the route schema field-for-field, including `.trim()` (which the
-// route applies so whitespace-only text 400s). `.trim()` doesn't surface in
-// `z.toJSONSchema` output, so the parity test can't catch its absence — keep
-// it here by hand so the two definitions stay literally identical.
-const synthesizeBodySchema = z.object({
- text: z.string().trim().min(1).max(4000),
- engine: z.enum(['kokoro', 'piper']).optional(),
- voice: z.string().max(128).optional(),
- // Range 0.25–4 is the validated bound (Piper honors the full range). Kokoro
- // clamps speed to 0.5–2.0 internally (tts-kokoro.js), so values outside that
- // are silently clamped when engine=kokoro — documented here so callers know.
- rate: z.number().min(0.25).max(4).optional()
- .describe('Speech rate. Validated 0.25–4 (Piper). Kokoro clamps to 0.5–2.0.'),
+const SECURITY_SCHEMES = {
+ bearerAuth: { type: 'http', scheme: 'bearer', description: 'PortOS session token, when instance authentication is enabled.' },
+ basicAuth: { type: 'http', scheme: 'basic', description: 'PortOS password via HTTP Basic; the username is ignored.' },
+};
+
+const authenticatedSecurity = [{ bearerAuth: [] }, { basicAuth: [] }];
+
+const applySecurity = (pathItem, requireAuth) => Object.fromEntries(
+ Object.entries(pathItem).map(([method, operation]) => [
+ method,
+ { ...operation, security: requireAuth ? authenticatedSecurity : [] },
+ ]),
+);
+
+const commonEnvelope = ({ title, description, baseUrl, version, tags, paths }) => ({
+ openapi: '3.1.0',
+ info: { title, version, description },
+ servers: baseUrl ? [{ url: baseUrl }] : [],
+ tags,
+ paths,
+ components: { securitySchemes: SECURITY_SCHEMES },
});
-const jsonSchema = (schema) => {
- const s = z.toJSONSchema(schema);
- // OpenAPI 3.1 path objects don't want the top-level $schema dialect marker.
- delete s.$schema;
- return s;
+const operationHash = (value) => {
+ let hash = 2166136261;
+ for (let index = 0; index < value.length; index += 1) {
+ hash ^= value.charCodeAt(index);
+ hash = Math.imul(hash, 16777619);
+ }
+ return (hash >>> 0).toString(36);
};
-// Per-path operation metadata, keyed by the path strings in API_REGISTRY's
-// `docPaths`. A path absent here still appears as a bare documented path (so
-// the registry stays the source of truth for WHICH paths exist) but with a
-// generic description.
-const OPERATIONS = {
- '/api/voice/public/synthesize': {
- post: {
- summary: 'Synthesize speech',
- description: 'Convert text to spoken audio (WAV) using the selected engine and voice.',
- requestBody: {
- required: true,
- content: { 'application/json': { schema: jsonSchema(synthesizeBodySchema) } },
- },
- responses: {
- 200: { description: 'WAV audio', content: { 'audio/wav': { schema: { type: 'string', format: 'binary' } } } },
- 400: { description: 'Invalid payload or unknown voice' },
- },
- },
- },
- '/api/voice/public/voices': {
- get: {
- summary: 'List voices',
- description: 'Enumerate available voices for an engine (query param `engine`, default = active).',
- parameters: [{ name: 'engine', in: 'query', required: false, schema: { type: 'string', enum: ['kokoro', 'piper'] } }],
- responses: { 200: { description: 'Voice list' } },
- },
- },
- '/api/voice/public/engines': {
- get: {
- summary: 'List engines',
- description: 'Discover available TTS engines and the configured default voice per engine.',
- responses: { 200: { description: 'Engine list + defaults' } },
- },
- },
- '/sdapi/v1/txt2img': {
- post: { summary: 'Text-to-image (AUTOMATIC1111-compatible)', responses: { 200: { description: 'Generated image(s)' } } },
- },
- '/sdapi/v1/sd-models': { get: { summary: 'List image models', responses: { 200: { description: 'Model catalog' } } } },
- '/sdapi/v1/samplers': { get: { summary: 'List samplers', responses: { 200: { description: 'Sampler list' } } } },
- '/sdapi/v1/options': { get: { summary: 'Active model/options', responses: { 200: { description: 'Options' } } } },
- '/sdapi/v1/progress': { get: { summary: 'Generation progress', responses: { 200: { description: 'Progress' } } } },
+export const apiOperationId = (method, path) => {
+ const readable = `${method.toLowerCase()}_${path}`
+ .replace(/[{}:*?]/g, '')
+ .replace(/[^a-zA-Z0-9]+/g, '_')
+ .replace(/^_+|_+$/g, '')
+ .slice(0, 80);
+ return `${readable}_${operationHash(`${method} ${path}`)}`;
};
-// Attach a `security` requirement to every operation under a path item when the
-// API requires auth. Passwordless APIs get an empty array (anonymous allowed).
-const applySecurity = (pathItem, requireAuth) => {
- const out = {};
- for (const [method, op] of Object.entries(pathItem)) {
- out[method] = requireAuth ? { ...op, security: [{ bearerAuth: [] }, { basicAuth: [] }] } : { ...op, security: [] };
- }
- return out;
+const generatedOperation = (operation) => {
+ const parameters = pathParametersFor(operation.path);
+ const source = operation.sources.map(({ source: file, line }) => `${file}:${line}`).join(', ');
+ return {
+ operationId: apiOperationId(operation.method, operation.path),
+ summary: operation.summary,
+ description: `Generated from the mounted Express route inventory. Detailed request and response schemas are not modeled yet. Source: ${source}.`,
+ tags: [operation.domain],
+ ...(parameters.length ? { parameters } : {}),
+ responses: { default: { description: 'Response shape is not yet modeled.' } },
+ security: operation.access === 'always-public' ? [] : authenticatedSecurity,
+ 'x-portos-contract-status': 'generated',
+ 'x-portos-express-path': operation.path,
+ 'x-portos-mount': operation.mountPath,
+ 'x-portos-source': operation.sources,
+ 'x-portos-access': operation.access,
+ 'x-portos-side-effect': operation.sideEffect,
+ };
};
-/**
- * Build the OpenAPI 3.1 document for the currently-exposed public APIs.
- * @param {object} settings full settings object (for resolveApiAccess)
- * @param {object} [opts]
- * @param {string} [opts.baseUrl] server base URL (e.g. https://host:5555)
- * @param {string} [opts.version] PortOS version for info.version
- * @returns {object} OpenAPI 3.1 document
- */
+const modeledOperation = (operation, contract) => ({
+ ...generatedOperation(operation),
+ ...contract,
+ operationId: apiOperationId(operation.method, operation.path),
+ tags: [operation.domain],
+ security: operation.access === 'always-public' ? [] : authenticatedSecurity,
+ 'x-portos-contract-status': 'modeled',
+});
+
+/** Build the OpenAPI document for public APIs currently exposed in Settings. */
export const buildOpenApiSpec = (settings, { baseUrl, version = '0.0.0' } = {}) => {
- const apis = resolveApiAccess(settings);
const paths = {};
const tags = [];
- for (const api of apis) {
+ for (const api of resolveApiAccess(settings)) {
if (!api.exposed) continue;
tags.push({ name: api.id, description: api.description });
for (const path of api.docPaths) {
- const pathItem = OPERATIONS[path] || { get: { summary: path, responses: { 200: { description: 'OK' } } } };
- // Tag each operation with the API id so docs UIs can group them.
+ const pathItem = API_OPERATION_CONTRACTS[path];
+ if (!pathItem) continue;
const tagged = Object.fromEntries(
- Object.entries(pathItem).map(([method, op]) => [method, { tags: [api.id], ...op }]),
+ Object.entries(pathItem).map(([method, operation]) => [method, { tags: [api.id], ...operation }]),
);
paths[path] = applySecurity(tagged, api.requireAuth);
}
}
- return {
- openapi: '3.1.0',
- info: {
- title: 'PortOS Public API',
- version,
- description: 'Externally-callable PortOS services. Only APIs you have exposed in Settings → API Access appear here.',
- },
- servers: baseUrl ? [{ url: baseUrl }] : [],
+ return commonEnvelope({
+ title: 'PortOS Public API',
+ description: 'Externally callable PortOS services. Only APIs exposed in Settings > API Access appear here.',
+ baseUrl,
+ version,
tags,
paths,
- components: {
- securitySchemes: {
- bearerAuth: { type: 'http', scheme: 'bearer', description: 'PortOS session token (when the API requires auth).' },
- basicAuth: { type: 'http', scheme: 'basic', description: 'PortOS password via HTTP Basic (username ignored).' },
- },
- },
- };
+ });
+};
+
+/** Build the complete internal API reference from the generated route catalog. */
+export const buildInternalOpenApiSpec = (settings, { baseUrl, version = '0.0.0' } = {}) => {
+ const catalog = buildApiCatalog(settings);
+ const paths = {};
+
+ for (const operation of catalog.operations) {
+ const openApiPath = expressPathToOpenApiPath(operation.path);
+ const method = operation.method.toLowerCase();
+ const contract = API_OPERATION_CONTRACTS[operation.path]?.[method];
+ paths[openApiPath] ||= {};
+ paths[openApiPath][method] = contract
+ ? modeledOperation(operation, contract)
+ : generatedOperation(operation);
+ }
+
+ return commonEnvelope({
+ title: 'PortOS Internal HTTP API',
+ description: 'Complete mounted HTTP route inventory for developers and local agents. Generated operations are discoverable but remain explicitly marked until their request and response schemas are modeled.',
+ baseUrl,
+ version,
+ tags: catalog.domains.map((domain) => ({ name: domain.id, description: `${domain.label} API (${domain.operations} operations)` })),
+ paths,
+ });
};
diff --git a/server/lib/openapiSpec.test.js b/server/lib/openapiSpec.test.js
index c3a31681ce..ded6377b5c 100644
--- a/server/lib/openapiSpec.test.js
+++ b/server/lib/openapiSpec.test.js
@@ -1,7 +1,8 @@
import { describe, it, expect } from 'vitest';
import { z } from 'zod';
-import { buildOpenApiSpec } from './openapiSpec.js';
+import { buildInternalOpenApiSpec, buildOpenApiSpec } from './openapiSpec.js';
import { synthesizeBodySchema as routeSchema } from '../routes/voicePublic.js';
+import { voiceSynthesizeBodySchema } from './apiContractSchemas.js';
const exposed = (apiAccess) => ({ apiAccess });
@@ -61,23 +62,33 @@ describe('buildOpenApiSpec', () => {
expect(spec.servers).toEqual([]);
});
- it('synthesize body schema stays in sync with the route schema (parity)', () => {
- // The lib keeps a light copy of the route's schema (so it doesn't pull the
- // heavy TTS chain). Assert the documented body matches the route's actual
- // VALIDATION shape — every property's type/bounds + the required set — so
- // the two can't drift. `description` is doc-only (the lib copy adds a
- // per-engine rate note the route schema doesn't carry); strip it before
- // comparing so a deliberate doc annotation isn't read as a contract drift.
- const stripDescriptions = (props) =>
- Object.fromEntries(Object.entries(props).map(([k, v]) => {
- // eslint-disable-next-line no-unused-vars
- const { description, ...rest } = v;
- return [k, rest];
- }));
+ it('route validation and OpenAPI consume the same synthesize schema object', () => {
+ expect(routeSchema).toBe(voiceSynthesizeBodySchema);
const spec = buildOpenApiSpec(exposed({ voice: { exposed: true, requireAuth: false } }), {});
const documented = spec.paths['/api/voice/public/synthesize'].post.requestBody.content['application/json'].schema;
const route = z.toJSONSchema(routeSchema);
- expect(stripDescriptions(documented.properties)).toEqual(stripDescriptions(route.properties));
+ delete route.$schema;
+ expect(documented).toEqual(route);
expect((documented.required || []).sort()).toEqual((route.required || []).sort());
});
});
+
+describe('buildInternalOpenApiSpec', () => {
+ it('documents every generated operation with unique operation ids', () => {
+ const spec = buildInternalOpenApiSpec({}, { baseUrl: 'http://host:5555', version: '1.2.3' });
+ const operations = Object.values(spec.paths).flatMap((pathItem) => Object.values(pathItem));
+ expect(operations.length).toBeGreaterThan(2000);
+ expect(new Set(operations.map((operation) => operation.operationId)).size).toBe(operations.length);
+ expect(spec.paths['/api/apps/{id}'].delete.parameters).toContainEqual({
+ name: 'id', in: 'path', required: true, schema: { type: 'string' },
+ });
+ });
+
+ it('distinguishes detailed contracts from generated inventory', () => {
+ const spec = buildInternalOpenApiSpec({}, {});
+ expect(spec.paths['/api/voice/public/synthesize'].post['x-portos-contract-status']).toBe('modeled');
+ expect(spec.paths['/api/voice/public/synthesize'].post.requestBody).toBeDefined();
+ expect(spec.paths['/api/apps'].get['x-portos-contract-status']).toBe('generated');
+ expect(spec.paths['/api/apps'].get.responses.default).toBeDefined();
+ });
+});
diff --git a/server/lib/persistentMindCapabilities.js b/server/lib/persistentMindCapabilities.js
index 904389a339..7c1180e7bb 100644
--- a/server/lib/persistentMindCapabilities.js
+++ b/server/lib/persistentMindCapabilities.js
@@ -9,8 +9,12 @@
import { z } from 'zod';
import { EFFORT_LEVELS } from './providerModels.js';
import { PR_COMPLETION_VALUES } from './prDisposition.js';
+import {
+ normalizePortosSemanticToolGrants,
+ portosSemanticToolGrantsSchema,
+} from './cosToolContracts.js';
-export const PERSISTENT_MIND_CAPABILITIES_SCHEMA_VERSION = 1;
+export const PERSISTENT_MIND_CAPABILITIES_SCHEMA_VERSION = 2;
// The persistent mind has a deliberately smaller surface than ordinary CoS
// agents. Keep this catalog beside the capability schema so the API and the UI
@@ -30,11 +34,37 @@ export const PERSISTENT_MIND_TOOL_CATALOG = Object.freeze([
'Plan & File Issue requests use the existing issue-only planning contract',
],
}),
+ Object.freeze({
+ id: 'portos.read',
+ capability: 'readPortos',
+ name: 'Read PortOS context',
+ description: 'Use the bounded semantic catalog to inspect selected Brain, goals, journal, calendar, health, feed, catalog, and runtime context.',
+ kind: 'semantic-tools',
+ defaultEnabled: false,
+ guardrails: [
+ 'Read-only adapters only',
+ 'No arbitrary URL, route, SQL, shell, or filesystem access',
+ 'Tool inputs and results are schema-validated and size-bounded',
+ ],
+ }),
+ Object.freeze({
+ id: 'portos.write',
+ capability: 'writePortos',
+ name: 'Update PortOS records',
+ description: 'Use selected typed actions for Brain capture, journal, goals, health logs, and feed read state.',
+ kind: 'semantic-tools',
+ defaultEnabled: false,
+ guardrails: [
+ 'No process control, arbitrary code execution, external messaging, or paid generation',
+ 'Every action is recorded in the persistent-mind trajectory',
+ 'Calls use stable request ids so retries within the bounded retention window cannot repeat an accepted action',
+ ],
+ }),
]);
export const PERSISTENT_MIND_TOOL_BOUNDARIES = Object.freeze([
'No arbitrary shell or file-system access',
- 'No direct access to onboard tools such as image generation or browser controls',
+ 'No raw HTTP proxy, browser controls, process control, paid generation, or external messaging',
'No provider credentials or hidden reasoning tokens are exposed as tools',
]);
@@ -58,10 +88,10 @@ export const PERSISTENT_MIND_VALIDATION_CHECKS = Object.freeze([
'reviewers',
]);
-export const persistentMindCapabilitiesSchema = z.object({
+export const persistentMindCapabilitiesSchema = portosSemanticToolGrantsSchema.extend({
schemaVersion: z.literal(PERSISTENT_MIND_CAPABILITIES_SCHEMA_VERSION).optional(),
createTasks: z.boolean().optional(),
-}).strict();
+});
export const persistentMindTaskRequestSchema = z.object({
description: z.string().trim().min(1).max(PERSISTENT_MIND_TASK_LIMITS.descriptionChars),
@@ -100,14 +130,18 @@ export function createDefaultPersistentMindCapabilities() {
return {
schemaVersion: PERSISTENT_MIND_CAPABILITIES_SCHEMA_VERSION,
createTasks: false,
+ readPortos: false,
+ writePortos: false,
};
}
export function normalizePersistentMindCapabilities(raw) {
const source = raw && typeof raw === 'object' && !Array.isArray(raw) ? raw : {};
+ const semanticGrants = normalizePortosSemanticToolGrants(source);
return {
schemaVersion: PERSISTENT_MIND_CAPABILITIES_SCHEMA_VERSION,
createTasks: source.createTasks === true,
+ ...semanticGrants,
};
}
diff --git a/server/lib/persistentMindCapabilities.test.js b/server/lib/persistentMindCapabilities.test.js
index 5407513124..0803eabb5d 100644
--- a/server/lib/persistentMindCapabilities.test.js
+++ b/server/lib/persistentMindCapabilities.test.js
@@ -12,20 +12,22 @@ describe('persistent mind capabilities', () => {
it('describes every persistent-mind grant from the capability contract', () => {
expect(PERSISTENT_MIND_TOOL_CATALOG).toEqual([
expect.objectContaining({ id: 'cos.create-task', capability: 'createTasks', defaultEnabled: false }),
+ expect.objectContaining({ id: 'portos.read', capability: 'readPortos', defaultEnabled: false }),
+ expect.objectContaining({ id: 'portos.write', capability: 'writePortos', defaultEnabled: false }),
]);
});
it('keeps task creation opt-in across fresh and legacy config', () => {
- expect(createDefaultPersistentMindCapabilities()).toMatchObject({ createTasks: false });
- expect(normalizePersistentMindCapabilities(null)).toMatchObject({ createTasks: false });
- expect(normalizePersistentMindCapabilities({ createTasks: 'true' })).toMatchObject({ createTasks: false });
+ expect(createDefaultPersistentMindCapabilities()).toMatchObject({ createTasks: false, readPortos: false, writePortos: false });
+ expect(normalizePersistentMindCapabilities(null)).toMatchObject({ createTasks: false, readPortos: false, writePortos: false });
+ expect(normalizePersistentMindCapabilities({ createTasks: 'true', readPortos: 'true' })).toMatchObject({ createTasks: false, readPortos: false });
});
it('validates and merges the explicit task-creation grant', () => {
- expect(persistentMindCapabilitiesSchema.safeParse({ createTasks: true }).success).toBe(true);
+ expect(persistentMindCapabilitiesSchema.safeParse({ createTasks: true, readPortos: true, writePortos: false }).success).toBe(true);
expect(persistentMindCapabilitiesSchema.safeParse({ createTasks: true, shell: true }).success).toBe(false);
expect(mergePersistentMindCapabilities({ createTasks: false }, { createTasks: true }))
- .toMatchObject({ createTasks: true });
+ .toMatchObject({ createTasks: true, readPortos: false, writePortos: false });
});
it('accepts only bounded typed task requests and known PR dispositions', () => {
diff --git a/server/lib/socketEventCatalog.generated.json b/server/lib/socketEventCatalog.generated.json
new file mode 100644
index 0000000000..7b74496c34
--- /dev/null
+++ b/server/lib/socketEventCatalog.generated.json
@@ -0,0 +1,4969 @@
+{
+ "schemaVersion": 1,
+ "generatedFrom": [
+ "server/**/*.js",
+ "!server/cos-runner/**",
+ "client/src/**/*.{js,jsx}"
+ ],
+ "events": [
+ {
+ "event": "agent:btw",
+ "directions": [
+ "client-to-server"
+ ],
+ "sources": [
+ {
+ "direction": "client-to-server",
+ "source": "server/services/cosRunnerClient.js",
+ "line": 159
+ }
+ ]
+ },
+ {
+ "event": "agent:completed",
+ "directions": [
+ "client-to-server"
+ ],
+ "sources": [
+ {
+ "direction": "client-to-server",
+ "source": "server/services/cosRunnerClient.js",
+ "line": 157
+ }
+ ]
+ },
+ {
+ "event": "agent:error",
+ "directions": [
+ "client-to-server"
+ ],
+ "sources": [
+ {
+ "direction": "client-to-server",
+ "source": "server/services/cosRunnerClient.js",
+ "line": 158
+ }
+ ]
+ },
+ {
+ "event": "agent:output",
+ "directions": [
+ "client-to-server"
+ ],
+ "sources": [
+ {
+ "direction": "client-to-server",
+ "source": "server/services/cosRunnerClient.js",
+ "line": 156
+ }
+ ]
+ },
+ {
+ "event": "agents:account:changed",
+ "directions": [
+ "server-to-client"
+ ],
+ "sources": [
+ {
+ "direction": "server-to-client",
+ "source": "server/services/socket.js",
+ "line": 418
+ }
+ ]
+ },
+ {
+ "event": "agents:activity",
+ "directions": [
+ "server-to-client"
+ ],
+ "sources": [
+ {
+ "direction": "server-to-client",
+ "source": "server/services/socket.js",
+ "line": 425
+ }
+ ]
+ },
+ {
+ "event": "agents:activity:updated",
+ "directions": [
+ "server-to-client"
+ ],
+ "sources": [
+ {
+ "direction": "server-to-client",
+ "source": "server/services/socket.js",
+ "line": 426
+ }
+ ]
+ },
+ {
+ "event": "agents:orphaned",
+ "directions": [
+ "client-to-server"
+ ],
+ "sources": [
+ {
+ "direction": "client-to-server",
+ "source": "server/services/cosRunnerClient.js",
+ "line": 164
+ }
+ ]
+ },
+ {
+ "event": "agents:personality:changed",
+ "directions": [
+ "server-to-client"
+ ],
+ "sources": [
+ {
+ "direction": "server-to-client",
+ "source": "server/services/socket.js",
+ "line": 415
+ }
+ ]
+ },
+ {
+ "event": "agents:schedule:changed",
+ "directions": [
+ "server-to-client"
+ ],
+ "sources": [
+ {
+ "direction": "server-to-client",
+ "source": "server/services/socket.js",
+ "line": 421
+ }
+ ]
+ },
+ {
+ "event": "agents:schedule:execute",
+ "directions": [
+ "server-to-client"
+ ],
+ "sources": [
+ {
+ "direction": "server-to-client",
+ "source": "server/services/socket.js",
+ "line": 422
+ }
+ ]
+ },
+ {
+ "event": "agents:subscribe",
+ "directions": [
+ "client-to-server"
+ ],
+ "sources": [
+ {
+ "direction": "client-to-server",
+ "source": "client/src/hooks/useMoltworldWs.js",
+ "line": 45
+ },
+ {
+ "direction": "client-to-server",
+ "source": "server/services/socket.js",
+ "line": 123
+ }
+ ]
+ },
+ {
+ "event": "agents:subscribed",
+ "directions": [
+ "server-to-client"
+ ],
+ "sources": [
+ {
+ "direction": "server-to-client",
+ "source": "server/services/socket.js",
+ "line": 123
+ }
+ ]
+ },
+ {
+ "event": "agents:unsubscribe",
+ "directions": [
+ "client-to-server"
+ ],
+ "sources": [
+ {
+ "direction": "client-to-server",
+ "source": "server/services/socket.js",
+ "line": 123
+ }
+ ]
+ },
+ {
+ "event": "agents:unsubscribed",
+ "directions": [
+ "server-to-client"
+ ],
+ "sources": [
+ {
+ "direction": "server-to-client",
+ "source": "server/services/socket.js",
+ "line": 123
+ }
+ ]
+ },
+ {
+ "event": "ai:status",
+ "directions": [
+ "server-to-client"
+ ],
+ "sources": [
+ {
+ "direction": "server-to-client",
+ "source": "client/src/hooks/useAIStatusNotifications.js",
+ "line": 195
+ },
+ {
+ "direction": "server-to-client",
+ "source": "client/src/hooks/useOpenWorldData.js",
+ "line": 320
+ },
+ {
+ "direction": "server-to-client",
+ "source": "server/services/socket.js",
+ "line": 288
+ }
+ ]
+ },
+ {
+ "event": "app:deploy",
+ "directions": [
+ "client-to-server"
+ ],
+ "sources": [
+ {
+ "direction": "client-to-server",
+ "source": "client/src/hooks/useAppDeploy.js",
+ "line": 61
+ },
+ {
+ "direction": "client-to-server",
+ "source": "server/sockets/apps.js",
+ "line": 242
+ }
+ ]
+ },
+ {
+ "event": "app:deploy:{type}",
+ "directions": [
+ "server-to-client"
+ ],
+ "sources": [
+ {
+ "direction": "server-to-client",
+ "source": "server/sockets/apps.js",
+ "line": 248
+ }
+ ]
+ },
+ {
+ "event": "app:deploy:complete",
+ "directions": [
+ "server-to-client"
+ ],
+ "sources": [
+ {
+ "direction": "server-to-client",
+ "source": "client/src/hooks/useAppDeploy.js",
+ "line": 60
+ },
+ {
+ "direction": "server-to-client",
+ "source": "server/sockets/apps.js",
+ "line": 256
+ }
+ ]
+ },
+ {
+ "event": "app:deploy:error",
+ "directions": [
+ "server-to-client"
+ ],
+ "sources": [
+ {
+ "direction": "server-to-client",
+ "source": "client/src/hooks/useAppDeploy.js",
+ "line": 59
+ },
+ {
+ "direction": "server-to-client",
+ "source": "server/sockets/apps.js",
+ "line": 253
+ },
+ {
+ "direction": "server-to-client",
+ "source": "server/sockets/apps.js",
+ "line": 260
+ }
+ ]
+ },
+ {
+ "event": "app:deploy:output",
+ "directions": [
+ "server-to-client"
+ ],
+ "sources": [
+ {
+ "direction": "server-to-client",
+ "source": "client/src/hooks/useAppDeploy.js",
+ "line": 57
+ }
+ ]
+ },
+ {
+ "event": "app:deploy:status",
+ "directions": [
+ "server-to-client"
+ ],
+ "sources": [
+ {
+ "direction": "server-to-client",
+ "source": "client/src/hooks/useAppDeploy.js",
+ "line": 58
+ }
+ ]
+ },
+ {
+ "event": "app:operations:active",
+ "directions": [
+ "server-to-client"
+ ],
+ "sources": [
+ {
+ "direction": "server-to-client",
+ "source": "client/src/hooks/useAppOperation.js",
+ "line": 134
+ },
+ {
+ "direction": "server-to-client",
+ "source": "server/sockets/apps.js",
+ "line": 33
+ },
+ {
+ "direction": "server-to-client",
+ "source": "server/sockets/apps.js",
+ "line": 39
+ },
+ {
+ "direction": "server-to-client",
+ "source": "server/sockets/apps.js",
+ "line": 238
+ },
+ {
+ "direction": "server-to-client",
+ "source": "server/sockets/apps.js",
+ "line": 240
+ }
+ ]
+ },
+ {
+ "event": "app:operations:list",
+ "directions": [
+ "client-to-server"
+ ],
+ "sources": [
+ {
+ "direction": "client-to-server",
+ "source": "client/src/hooks/useAppOperation.js",
+ "line": 106
+ },
+ {
+ "direction": "client-to-server",
+ "source": "client/src/hooks/useAppOperation.js",
+ "line": 132
+ },
+ {
+ "direction": "client-to-server",
+ "source": "server/sockets/apps.js",
+ "line": 237
+ }
+ ]
+ },
+ {
+ "event": "app:standardize",
+ "directions": [
+ "client-to-server"
+ ],
+ "sources": [
+ {
+ "direction": "client-to-server",
+ "source": "server/sockets/apps.js",
+ "line": 141
+ }
+ ]
+ },
+ {
+ "event": "app:standardize:complete",
+ "directions": [
+ "server-to-client"
+ ],
+ "sources": [
+ {
+ "direction": "server-to-client",
+ "source": "client/src/hooks/useAppOperation.js",
+ "line": 140
+ },
+ {
+ "direction": "server-to-client",
+ "source": "server/sockets/apps.js",
+ "line": 216
+ }
+ ]
+ },
+ {
+ "event": "app:standardize:error",
+ "directions": [
+ "server-to-client"
+ ],
+ "sources": [
+ {
+ "direction": "server-to-client",
+ "source": "client/src/hooks/useAppOperation.js",
+ "line": 139
+ },
+ {
+ "direction": "server-to-client",
+ "source": "server/sockets/apps.js",
+ "line": 149
+ },
+ {
+ "direction": "server-to-client",
+ "source": "server/sockets/apps.js",
+ "line": 155
+ },
+ {
+ "direction": "server-to-client",
+ "source": "server/sockets/apps.js",
+ "line": 161
+ },
+ {
+ "direction": "server-to-client",
+ "source": "server/sockets/apps.js",
+ "line": 184
+ },
+ {
+ "direction": "server-to-client",
+ "source": "server/sockets/apps.js",
+ "line": 203
+ },
+ {
+ "direction": "server-to-client",
+ "source": "server/sockets/apps.js",
+ "line": 230
+ }
+ ]
+ },
+ {
+ "event": "app:standardize:step",
+ "directions": [
+ "server-to-client"
+ ],
+ "sources": [
+ {
+ "direction": "server-to-client",
+ "source": "client/src/hooks/useAppOperation.js",
+ "line": 138
+ },
+ {
+ "direction": "server-to-client",
+ "source": "server/sockets/apps.js",
+ "line": 175
+ }
+ ]
+ },
+ {
+ "event": "app:update",
+ "directions": [
+ "client-to-server"
+ ],
+ "sources": [
+ {
+ "direction": "client-to-server",
+ "source": "server/sockets/apps.js",
+ "line": 91
+ }
+ ]
+ },
+ {
+ "event": "app:update:complete",
+ "directions": [
+ "server-to-client"
+ ],
+ "sources": [
+ {
+ "direction": "server-to-client",
+ "source": "client/src/hooks/useAppOperation.js",
+ "line": 137
+ },
+ {
+ "direction": "server-to-client",
+ "source": "server/sockets/apps.js",
+ "line": 128
+ },
+ {
+ "direction": "server-to-client",
+ "source": "server/sockets/apps.js",
+ "line": 135
+ }
+ ]
+ },
+ {
+ "event": "app:update:error",
+ "directions": [
+ "server-to-client"
+ ],
+ "sources": [
+ {
+ "direction": "server-to-client",
+ "source": "client/src/hooks/useAppOperation.js",
+ "line": 136
+ },
+ {
+ "direction": "server-to-client",
+ "source": "server/sockets/apps.js",
+ "line": 99
+ },
+ {
+ "direction": "server-to-client",
+ "source": "server/sockets/apps.js",
+ "line": 105
+ },
+ {
+ "direction": "server-to-client",
+ "source": "server/sockets/apps.js",
+ "line": 123
+ },
+ {
+ "direction": "server-to-client",
+ "source": "server/sockets/apps.js",
+ "line": 134
+ }
+ ]
+ },
+ {
+ "event": "app:update:step",
+ "directions": [
+ "server-to-client"
+ ],
+ "sources": [
+ {
+ "direction": "server-to-client",
+ "source": "client/src/hooks/useAppOperation.js",
+ "line": 135
+ },
+ {
+ "direction": "server-to-client",
+ "source": "server/sockets/apps.js",
+ "line": 119
+ }
+ ]
+ },
+ {
+ "event": "apps:changed",
+ "directions": [
+ "server-to-client"
+ ],
+ "sources": [
+ {
+ "direction": "server-to-client",
+ "source": "client/src/components/apps/AppDetailView.jsx",
+ "line": 101
+ },
+ {
+ "direction": "server-to-client",
+ "source": "client/src/hooks/useOpenWorldData.js",
+ "line": 203
+ },
+ {
+ "direction": "server-to-client",
+ "source": "client/src/hooks/useSidebarApps.js",
+ "line": 26
+ },
+ {
+ "direction": "server-to-client",
+ "source": "client/src/pages/Apps.jsx",
+ "line": 64
+ },
+ {
+ "direction": "server-to-client",
+ "source": "client/src/pages/ChiefOfStaff.jsx",
+ "line": 442
+ },
+ {
+ "direction": "server-to-client",
+ "source": "client/src/pages/Dashboard.jsx",
+ "line": 140
+ },
+ {
+ "direction": "server-to-client",
+ "source": "server/services/socket.js",
+ "line": 392
+ }
+ ]
+ },
+ {
+ "event": "audio-gen:completed",
+ "directions": [
+ "server-to-client"
+ ],
+ "sources": [
+ {
+ "direction": "server-to-client",
+ "source": "server/services/socket.js",
+ "line": 580
+ }
+ ]
+ },
+ {
+ "event": "audio-gen:failed",
+ "directions": [
+ "server-to-client"
+ ],
+ "sources": [
+ {
+ "direction": "server-to-client",
+ "source": "server/services/socket.js",
+ "line": 583
+ }
+ ]
+ },
+ {
+ "event": "audio-gen:progress",
+ "directions": [
+ "server-to-client"
+ ],
+ "sources": [
+ {
+ "direction": "server-to-client",
+ "source": "server/services/socket.js",
+ "line": 577
+ }
+ ]
+ },
+ {
+ "event": "audio-gen:started",
+ "directions": [
+ "server-to-client"
+ ],
+ "sources": [
+ {
+ "direction": "server-to-client",
+ "source": "server/services/socket.js",
+ "line": 574
+ }
+ ]
+ },
+ {
+ "event": "backup:completed",
+ "directions": [
+ "server-to-client"
+ ],
+ "sources": [
+ {
+ "direction": "server-to-client",
+ "source": "client/src/hooks/useOpenWorldData.js",
+ "line": 255
+ },
+ {
+ "direction": "server-to-client",
+ "source": "server/services/backup.js",
+ "line": 331
+ }
+ ]
+ },
+ {
+ "event": "backup:failed",
+ "directions": [
+ "server-to-client"
+ ],
+ "sources": [
+ {
+ "direction": "server-to-client",
+ "source": "server/services/backup.js",
+ "line": 292
+ }
+ ]
+ },
+ {
+ "event": "backup:started",
+ "directions": [
+ "server-to-client"
+ ],
+ "sources": [
+ {
+ "direction": "server-to-client",
+ "source": "client/src/hooks/useOpenWorldData.js",
+ "line": 254
+ },
+ {
+ "direction": "server-to-client",
+ "source": "server/services/backup.js",
+ "line": 298
+ }
+ ]
+ },
+ {
+ "event": "brain:classified",
+ "directions": [
+ "server-to-client"
+ ],
+ "sources": [
+ {
+ "direction": "server-to-client",
+ "source": "client/src/components/brain/tabs/InboxTab.jsx",
+ "line": 105
+ },
+ {
+ "direction": "server-to-client",
+ "source": "server/services/socket.js",
+ "line": 433
+ }
+ ]
+ },
+ {
+ "event": "build:id",
+ "directions": [
+ "server-to-client"
+ ],
+ "sources": [
+ {
+ "direction": "server-to-client",
+ "source": "client/src/services/socket.js",
+ "line": 62
+ },
+ {
+ "direction": "server-to-client",
+ "source": "server/services/socket.js",
+ "line": 107
+ }
+ ]
+ },
+ {
+ "event": "calendar:google:autoconfig",
+ "directions": [
+ "server-to-client"
+ ],
+ "sources": [
+ {
+ "direction": "server-to-client",
+ "source": "server/services/googleOAuthAutoConfig.js",
+ "line": 113
+ },
+ {
+ "direction": "server-to-client",
+ "source": "server/services/googleOAuthAutoConfig.js",
+ "line": 120
+ },
+ {
+ "direction": "server-to-client",
+ "source": "server/services/googleOAuthAutoConfig.js",
+ "line": 136
+ },
+ {
+ "direction": "server-to-client",
+ "source": "server/services/googleOAuthAutoConfig.js",
+ "line": 540
+ },
+ {
+ "direction": "server-to-client",
+ "source": "server/services/googleOAuthAutoConfig.js",
+ "line": 579
+ }
+ ]
+ },
+ {
+ "event": "calendar:sync:completed",
+ "directions": [
+ "server-to-client"
+ ],
+ "sources": [
+ {
+ "direction": "server-to-client",
+ "source": "client/src/components/calendar/AgendaTab.jsx",
+ "line": 69
+ },
+ {
+ "direction": "server-to-client",
+ "source": "client/src/components/calendar/DayView.jsx",
+ "line": 123
+ },
+ {
+ "direction": "server-to-client",
+ "source": "client/src/components/calendar/MonthView.jsx",
+ "line": 61
+ },
+ {
+ "direction": "server-to-client",
+ "source": "client/src/components/calendar/SyncTab.jsx",
+ "line": 42
+ },
+ {
+ "direction": "server-to-client",
+ "source": "client/src/components/calendar/WeekView.jsx",
+ "line": 138
+ },
+ {
+ "direction": "server-to-client",
+ "source": "server/services/calendarGoogleApiSync.js",
+ "line": 70
+ },
+ {
+ "direction": "server-to-client",
+ "source": "server/services/calendarGoogleSync.js",
+ "line": 140
+ },
+ {
+ "direction": "server-to-client",
+ "source": "server/services/calendarGoogleSync.js",
+ "line": 209
+ },
+ {
+ "direction": "server-to-client",
+ "source": "server/services/calendarSync.js",
+ "line": 231
+ }
+ ]
+ },
+ {
+ "event": "calendar:sync:event",
+ "directions": [
+ "server-to-client"
+ ],
+ "sources": [
+ {
+ "direction": "server-to-client",
+ "source": "server/services/calendarApiSync.js",
+ "line": 81
+ },
+ {
+ "direction": "server-to-client",
+ "source": "server/services/calendarApiSync.js",
+ "line": 149
+ }
+ ]
+ },
+ {
+ "event": "calendar:sync:failed",
+ "directions": [
+ "server-to-client"
+ ],
+ "sources": [
+ {
+ "direction": "server-to-client",
+ "source": "client/src/components/calendar/SyncTab.jsx",
+ "line": 43
+ },
+ {
+ "direction": "server-to-client",
+ "source": "server/services/calendarGoogleSync.js",
+ "line": 217
+ },
+ {
+ "direction": "server-to-client",
+ "source": "server/services/calendarSync.js",
+ "line": 240
+ }
+ ]
+ },
+ {
+ "event": "calendar:sync:progress",
+ "directions": [
+ "server-to-client"
+ ],
+ "sources": [
+ {
+ "direction": "server-to-client",
+ "source": "client/src/components/calendar/SyncTab.jsx",
+ "line": 44
+ },
+ {
+ "direction": "server-to-client",
+ "source": "server/services/calendarGoogleApiSync.js",
+ "line": 30
+ },
+ {
+ "direction": "server-to-client",
+ "source": "server/services/calendarGoogleSync.js",
+ "line": 245
+ },
+ {
+ "direction": "server-to-client",
+ "source": "server/services/calendarGoogleSync.js",
+ "line": 307
+ }
+ ]
+ },
+ {
+ "event": "calendar:sync:started",
+ "directions": [
+ "server-to-client"
+ ],
+ "sources": [
+ {
+ "direction": "server-to-client",
+ "source": "client/src/components/calendar/SyncTab.jsx",
+ "line": 41
+ },
+ {
+ "direction": "server-to-client",
+ "source": "server/services/calendarGoogleApiSync.js",
+ "line": 18
+ },
+ {
+ "direction": "server-to-client",
+ "source": "server/services/calendarGoogleSync.js",
+ "line": 167
+ },
+ {
+ "direction": "server-to-client",
+ "source": "server/services/calendarSync.js",
+ "line": 160
+ }
+ ]
+ },
+ {
+ "event": "catalog:extract:progress",
+ "directions": [
+ "server-to-client"
+ ],
+ "sources": [
+ {
+ "direction": "server-to-client",
+ "source": "client/src/pages/CatalogIngest.jsx",
+ "line": 144
+ },
+ {
+ "direction": "server-to-client",
+ "source": "server/services/socket.js",
+ "line": 250
+ }
+ ]
+ },
+ {
+ "event": "command:{commandId}:complete",
+ "directions": [
+ "server-to-client"
+ ],
+ "sources": [
+ {
+ "direction": "server-to-client",
+ "source": "client/src/pages/RunnerPage.jsx",
+ "line": 131
+ },
+ {
+ "direction": "server-to-client",
+ "source": "server/routes/commands.js",
+ "line": 58
+ }
+ ]
+ },
+ {
+ "event": "command:{commandId}:data",
+ "directions": [
+ "server-to-client"
+ ],
+ "sources": [
+ {
+ "direction": "server-to-client",
+ "source": "client/src/pages/RunnerPage.jsx",
+ "line": 130
+ },
+ {
+ "direction": "server-to-client",
+ "source": "server/routes/commands.js",
+ "line": 55
+ }
+ ]
+ },
+ {
+ "event": "connect",
+ "directions": [
+ "client-to-server",
+ "server-to-client"
+ ],
+ "sources": [
+ {
+ "direction": "server-to-client",
+ "source": "client/src/components/apps/tabs/IssuesTab.jsx",
+ "line": 202
+ },
+ {
+ "direction": "server-to-client",
+ "source": "client/src/components/apps/tabs/PullRequestsTab.jsx",
+ "line": 116
+ },
+ {
+ "direction": "server-to-client",
+ "source": "client/src/components/cos/tabs/MindTab.jsx",
+ "line": 285
+ },
+ {
+ "direction": "server-to-client",
+ "source": "client/src/hooks/useAppOperation.js",
+ "line": 141
+ },
+ {
+ "direction": "server-to-client",
+ "source": "client/src/hooks/useImporterProgress.js",
+ "line": 69
+ },
+ {
+ "direction": "server-to-client",
+ "source": "client/src/hooks/useMoltworldWs.js",
+ "line": 47
+ },
+ {
+ "direction": "server-to-client",
+ "source": "client/src/hooks/useOpenWorldData.js",
+ "line": 200
+ },
+ {
+ "direction": "server-to-client",
+ "source": "client/src/hooks/useShellSession.js",
+ "line": 849
+ },
+ {
+ "direction": "server-to-client",
+ "source": "client/src/hooks/useSocket.js",
+ "line": 15
+ },
+ {
+ "direction": "server-to-client",
+ "source": "client/src/pages/ChiefOfStaff.jsx",
+ "line": 314
+ },
+ {
+ "direction": "server-to-client",
+ "source": "client/src/services/socket.js",
+ "line": 18
+ },
+ {
+ "direction": "server-to-client",
+ "source": "client/src/services/socket.js",
+ "line": 63
+ },
+ {
+ "direction": "server-to-client",
+ "source": "client/src/services/voiceClient.js",
+ "line": 556
+ },
+ {
+ "direction": "client-to-server",
+ "source": "server/lib/connectivity.js",
+ "line": 47
+ },
+ {
+ "direction": "client-to-server",
+ "source": "server/services/cosRunnerClient.js",
+ "line": 133
+ },
+ {
+ "direction": "client-to-server",
+ "source": "server/services/peerSocketRelay.js",
+ "line": 46
+ },
+ {
+ "direction": "client-to-server",
+ "source": "server/services/remoteDesktop.js",
+ "line": 47
+ }
+ ]
+ },
+ {
+ "event": "connect_error",
+ "directions": [
+ "client-to-server",
+ "server-to-client"
+ ],
+ "sources": [
+ {
+ "direction": "server-to-client",
+ "source": "client/src/services/socket.js",
+ "line": 26
+ },
+ {
+ "direction": "client-to-server",
+ "source": "server/services/cosRunnerClient.js",
+ "line": 149
+ }
+ ]
+ },
+ {
+ "event": "cos:agent:btw",
+ "directions": [
+ "server-to-client"
+ ],
+ "sources": [
+ {
+ "direction": "server-to-client",
+ "source": "server/services/socket.js",
+ "line": 333
+ }
+ ]
+ },
+ {
+ "event": "cos:agent:completed",
+ "directions": [
+ "client-to-server",
+ "server-to-client"
+ ],
+ "sources": [
+ {
+ "direction": "server-to-client",
+ "source": "client/src/components/apps/tabs/IssuesTab.jsx",
+ "line": 262
+ },
+ {
+ "direction": "server-to-client",
+ "source": "client/src/components/apps/tabs/PullRequestsTab.jsx",
+ "line": 156
+ },
+ {
+ "direction": "server-to-client",
+ "source": "client/src/components/WhileAwayWidget.jsx",
+ "line": 88
+ },
+ {
+ "direction": "server-to-client",
+ "source": "client/src/hooks/useAgentFeedbackToast.jsx",
+ "line": 205
+ },
+ {
+ "direction": "server-to-client",
+ "source": "client/src/hooks/useOpenWorldData.js",
+ "line": 219
+ },
+ {
+ "direction": "server-to-client",
+ "source": "client/src/pages/ChiefOfStaff.jsx",
+ "line": 405
+ },
+ {
+ "direction": "client-to-server",
+ "source": "server/services/peerSocketRelay.js",
+ "line": 89
+ },
+ {
+ "direction": "server-to-client",
+ "source": "server/services/socket.js",
+ "line": 331
+ }
+ ]
+ },
+ {
+ "event": "cos:agent:output",
+ "directions": [
+ "client-to-server",
+ "server-to-client"
+ ],
+ "sources": [
+ {
+ "direction": "server-to-client",
+ "source": "client/src/components/feature-agents/OutputTab.jsx",
+ "line": 44
+ },
+ {
+ "direction": "server-to-client",
+ "source": "client/src/pages/ChiefOfStaff.jsx",
+ "line": 386
+ },
+ {
+ "direction": "client-to-server",
+ "source": "server/services/peerSocketRelay.js",
+ "line": 84
+ },
+ {
+ "direction": "server-to-client",
+ "source": "server/services/socket.js",
+ "line": 332
+ }
+ ]
+ },
+ {
+ "event": "cos:agent:spawned",
+ "directions": [
+ "client-to-server",
+ "server-to-client"
+ ],
+ "sources": [
+ {
+ "direction": "server-to-client",
+ "source": "client/src/components/apps/tabs/IssuesTab.jsx",
+ "line": 261
+ },
+ {
+ "direction": "server-to-client",
+ "source": "client/src/components/apps/tabs/PullRequestsTab.jsx",
+ "line": 155
+ },
+ {
+ "direction": "server-to-client",
+ "source": "client/src/hooks/useOpenWorldData.js",
+ "line": 209
+ },
+ {
+ "direction": "server-to-client",
+ "source": "client/src/pages/ChiefOfStaff.jsx",
+ "line": 367
+ },
+ {
+ "direction": "client-to-server",
+ "source": "server/services/peerSocketRelay.js",
+ "line": 61
+ },
+ {
+ "direction": "server-to-client",
+ "source": "server/services/socket.js",
+ "line": 329
+ }
+ ]
+ },
+ {
+ "event": "cos:agent:updated",
+ "directions": [
+ "client-to-server",
+ "server-to-client"
+ ],
+ "sources": [
+ {
+ "direction": "server-to-client",
+ "source": "client/src/hooks/useOpenWorldData.js",
+ "line": 214
+ },
+ {
+ "direction": "server-to-client",
+ "source": "client/src/pages/ChiefOfStaff.jsx",
+ "line": 375
+ },
+ {
+ "direction": "client-to-server",
+ "source": "server/services/peerSocketRelay.js",
+ "line": 72
+ },
+ {
+ "direction": "server-to-client",
+ "source": "server/services/socket.js",
+ "line": 330
+ }
+ ]
+ },
+ {
+ "event": "cos:evaluation",
+ "directions": [
+ "server-to-client"
+ ],
+ "sources": [
+ {
+ "direction": "server-to-client",
+ "source": "server/services/socket.js",
+ "line": 348
+ }
+ ]
+ },
+ {
+ "event": "cos:feature-agent:output",
+ "directions": [
+ "server-to-client"
+ ],
+ "sources": [
+ {
+ "direction": "server-to-client",
+ "source": "client/src/components/feature-agents/OutputTab.jsx",
+ "line": 45
+ },
+ {
+ "direction": "server-to-client",
+ "source": "server/services/socket.js",
+ "line": 353
+ }
+ ]
+ },
+ {
+ "event": "cos:feature-agent:run-complete",
+ "directions": [
+ "server-to-client"
+ ],
+ "sources": [
+ {
+ "direction": "server-to-client",
+ "source": "client/src/pages/FeatureAgentDetail.jsx",
+ "line": 57
+ },
+ {
+ "direction": "server-to-client",
+ "source": "client/src/pages/FeatureAgents.jsx",
+ "line": 26
+ },
+ {
+ "direction": "server-to-client",
+ "source": "server/services/socket.js",
+ "line": 354
+ }
+ ]
+ },
+ {
+ "event": "cos:feature-agent:status",
+ "directions": [
+ "server-to-client"
+ ],
+ "sources": [
+ {
+ "direction": "server-to-client",
+ "source": "client/src/pages/FeatureAgentDetail.jsx",
+ "line": 56
+ },
+ {
+ "direction": "server-to-client",
+ "source": "client/src/pages/FeatureAgents.jsx",
+ "line": 25
+ },
+ {
+ "direction": "server-to-client",
+ "source": "server/services/socket.js",
+ "line": 352
+ }
+ ]
+ },
+ {
+ "event": "cos:health:check",
+ "directions": [
+ "server-to-client"
+ ],
+ "sources": [
+ {
+ "direction": "server-to-client",
+ "source": "client/src/pages/ChiefOfStaff.jsx",
+ "line": 419
+ },
+ {
+ "direction": "server-to-client",
+ "source": "server/services/socket.js",
+ "line": 344
+ }
+ ]
+ },
+ {
+ "event": "cos:health:critical",
+ "directions": [
+ "server-to-client"
+ ],
+ "sources": [
+ {
+ "direction": "server-to-client",
+ "source": "server/services/socket.js",
+ "line": 345
+ }
+ ]
+ },
+ {
+ "event": "cos:log",
+ "directions": [
+ "server-to-client"
+ ],
+ "sources": [
+ {
+ "direction": "server-to-client",
+ "source": "client/src/hooks/useOpenWorldData.js",
+ "line": 228
+ },
+ {
+ "direction": "server-to-client",
+ "source": "client/src/pages/ChiefOfStaff.jsx",
+ "line": 436
+ },
+ {
+ "direction": "server-to-client",
+ "source": "server/services/socket.js",
+ "line": 316
+ }
+ ]
+ },
+ {
+ "event": "cos:memory:approval-needed",
+ "directions": [
+ "server-to-client"
+ ],
+ "sources": [
+ {
+ "direction": "server-to-client",
+ "source": "server/services/socket.js",
+ "line": 341
+ }
+ ]
+ },
+ {
+ "event": "cos:memory:created",
+ "directions": [
+ "server-to-client"
+ ],
+ "sources": [
+ {
+ "direction": "server-to-client",
+ "source": "server/services/socket.js",
+ "line": 337
+ }
+ ]
+ },
+ {
+ "event": "cos:memory:deleted",
+ "directions": [
+ "server-to-client"
+ ],
+ "sources": [
+ {
+ "direction": "server-to-client",
+ "source": "server/services/socket.js",
+ "line": 339
+ }
+ ]
+ },
+ {
+ "event": "cos:memory:extracted",
+ "directions": [
+ "server-to-client"
+ ],
+ "sources": [
+ {
+ "direction": "server-to-client",
+ "source": "server/services/socket.js",
+ "line": 340
+ }
+ ]
+ },
+ {
+ "event": "cos:memory:updated",
+ "directions": [
+ "server-to-client"
+ ],
+ "sources": [
+ {
+ "direction": "server-to-client",
+ "source": "server/services/socket.js",
+ "line": 338
+ }
+ ]
+ },
+ {
+ "event": "cos:mind:event",
+ "directions": [
+ "server-to-client"
+ ],
+ "sources": [
+ {
+ "direction": "server-to-client",
+ "source": "client/src/components/cos/tabs/MindTab.jsx",
+ "line": 286
+ },
+ {
+ "direction": "server-to-client",
+ "source": "server/services/socket.js",
+ "line": 215
+ }
+ ]
+ },
+ {
+ "event": "cos:mind:status",
+ "directions": [
+ "server-to-client"
+ ],
+ "sources": [
+ {
+ "direction": "server-to-client",
+ "source": "client/src/components/cos/tabs/MindTab.jsx",
+ "line": 287
+ },
+ {
+ "direction": "server-to-client",
+ "source": "server/services/socket.js",
+ "line": 334
+ }
+ ]
+ },
+ {
+ "event": "cos:schedule:on-demand-empty",
+ "directions": [
+ "server-to-client"
+ ],
+ "sources": [
+ {
+ "direction": "server-to-client",
+ "source": "client/src/hooks/useOnDemandTaskToast.js",
+ "line": 112
+ },
+ {
+ "direction": "server-to-client",
+ "source": "server/services/socket.js",
+ "line": 363
+ }
+ ]
+ },
+ {
+ "event": "cos:status",
+ "directions": [
+ "server-to-client"
+ ],
+ "sources": [
+ {
+ "direction": "server-to-client",
+ "source": "client/src/hooks/useOpenWorldData.js",
+ "line": 233
+ },
+ {
+ "direction": "server-to-client",
+ "source": "client/src/pages/ChiefOfStaff.jsx",
+ "line": 324
+ },
+ {
+ "direction": "server-to-client",
+ "source": "server/services/socket.js",
+ "line": 313
+ }
+ ]
+ },
+ {
+ "event": "cos:subscribe",
+ "directions": [
+ "client-to-server",
+ "server-to-client"
+ ],
+ "sources": [
+ {
+ "direction": "client-to-server",
+ "source": "client/src/components/apps/tabs/IssuesTab.jsx",
+ "line": 200
+ },
+ {
+ "direction": "client-to-server",
+ "source": "client/src/components/apps/tabs/PullRequestsTab.jsx",
+ "line": 114
+ },
+ {
+ "direction": "client-to-server",
+ "source": "client/src/hooks/useAgentFeedbackToast.jsx",
+ "line": 156
+ },
+ {
+ "direction": "client-to-server",
+ "source": "client/src/hooks/useOnDemandTaskToast.js",
+ "line": 36
+ },
+ {
+ "direction": "client-to-server",
+ "source": "client/src/hooks/useOpenWorldData.js",
+ "line": 196
+ },
+ {
+ "direction": "client-to-server",
+ "source": "client/src/pages/ChiefOfStaff.jsx",
+ "line": 305
+ },
+ {
+ "direction": "server-to-client",
+ "source": "server/services/peerSocketRelay.js",
+ "line": 48
+ },
+ {
+ "direction": "client-to-server",
+ "source": "server/services/socket.js",
+ "line": 120
+ }
+ ]
+ },
+ {
+ "event": "cos:subscribed",
+ "directions": [
+ "server-to-client"
+ ],
+ "sources": [
+ {
+ "direction": "server-to-client",
+ "source": "server/services/socket.js",
+ "line": 120
+ }
+ ]
+ },
+ {
+ "event": "cos:task:ready",
+ "directions": [
+ "server-to-client"
+ ],
+ "sources": [
+ {
+ "direction": "server-to-client",
+ "source": "server/services/socket.js",
+ "line": 349
+ }
+ ]
+ },
+ {
+ "event": "cos:tasks:changed",
+ "directions": [
+ "server-to-client"
+ ],
+ "sources": [
+ {
+ "direction": "server-to-client",
+ "source": "client/src/components/apps/tabs/IssuesTab.jsx",
+ "line": 258
+ },
+ {
+ "direction": "server-to-client",
+ "source": "client/src/components/apps/tabs/PullRequestsTab.jsx",
+ "line": 152
+ },
+ {
+ "direction": "server-to-client",
+ "source": "client/src/pages/ChiefOfStaff.jsx",
+ "line": 349
+ },
+ {
+ "direction": "server-to-client",
+ "source": "server/services/socket.js",
+ "line": 322
+ }
+ ]
+ },
+ {
+ "event": "cos:tasks:cos:changed",
+ "directions": [
+ "server-to-client"
+ ],
+ "sources": [
+ {
+ "direction": "server-to-client",
+ "source": "client/src/hooks/useOpenWorldData.js",
+ "line": 261
+ },
+ {
+ "direction": "server-to-client",
+ "source": "client/src/pages/ChiefOfStaff.jsx",
+ "line": 338
+ },
+ {
+ "direction": "server-to-client",
+ "source": "server/services/socket.js",
+ "line": 326
+ }
+ ]
+ },
+ {
+ "event": "cos:tasks:user:added",
+ "directions": [
+ "server-to-client"
+ ],
+ "sources": [
+ {
+ "direction": "server-to-client",
+ "source": "server/services/socket.js",
+ "line": 324
+ }
+ ]
+ },
+ {
+ "event": "cos:tasks:user:changed",
+ "directions": [
+ "server-to-client"
+ ],
+ "sources": [
+ {
+ "direction": "server-to-client",
+ "source": "client/src/components/apps/tabs/IssuesTab.jsx",
+ "line": 259
+ },
+ {
+ "direction": "server-to-client",
+ "source": "client/src/components/apps/tabs/PullRequestsTab.jsx",
+ "line": 153
+ },
+ {
+ "direction": "server-to-client",
+ "source": "client/src/pages/ChiefOfStaff.jsx",
+ "line": 329
+ },
+ {
+ "direction": "server-to-client",
+ "source": "server/services/socket.js",
+ "line": 323
+ }
+ ]
+ },
+ {
+ "event": "cos:tasks:user:completed",
+ "directions": [
+ "server-to-client"
+ ],
+ "sources": [
+ {
+ "direction": "server-to-client",
+ "source": "client/src/components/apps/tabs/IssuesTab.jsx",
+ "line": 260
+ },
+ {
+ "direction": "server-to-client",
+ "source": "client/src/components/apps/tabs/PullRequestsTab.jsx",
+ "line": 154
+ },
+ {
+ "direction": "server-to-client",
+ "source": "server/services/socket.js",
+ "line": 325
+ }
+ ]
+ },
+ {
+ "event": "cos:unsubscribe",
+ "directions": [
+ "client-to-server"
+ ],
+ "sources": [
+ {
+ "direction": "client-to-server",
+ "source": "server/services/socket.js",
+ "line": 120
+ }
+ ]
+ },
+ {
+ "event": "cos:unsubscribed",
+ "directions": [
+ "server-to-client"
+ ],
+ "sources": [
+ {
+ "direction": "server-to-client",
+ "source": "server/services/socket.js",
+ "line": 120
+ }
+ ]
+ },
+ {
+ "event": "cos:watcher:started",
+ "directions": [
+ "server-to-client"
+ ],
+ "sources": [
+ {
+ "direction": "server-to-client",
+ "source": "server/services/socket.js",
+ "line": 357
+ }
+ ]
+ },
+ {
+ "event": "cos:watcher:stopped",
+ "directions": [
+ "server-to-client"
+ ],
+ "sources": [
+ {
+ "direction": "server-to-client",
+ "source": "server/services/socket.js",
+ "line": 358
+ }
+ ]
+ },
+ {
+ "event": "database:progress",
+ "directions": [
+ "server-to-client"
+ ],
+ "sources": [
+ {
+ "direction": "server-to-client",
+ "source": "client/src/components/settings/DatabaseTab.jsx",
+ "line": 212
+ },
+ {
+ "direction": "server-to-client",
+ "source": "server/services/dbAdmin.js",
+ "line": 48
+ },
+ {
+ "direction": "server-to-client",
+ "source": "server/services/dbAdmin.js",
+ "line": 215
+ },
+ {
+ "direction": "server-to-client",
+ "source": "server/services/dbAdmin.js",
+ "line": 429
+ }
+ ]
+ },
+ {
+ "event": "detect:complete",
+ "directions": [
+ "server-to-client"
+ ],
+ "sources": [
+ {
+ "direction": "server-to-client",
+ "source": "server/services/streamingDetect.js",
+ "line": 1188
+ },
+ {
+ "direction": "server-to-client",
+ "source": "server/services/streamingDetect.js",
+ "line": 1195
+ },
+ {
+ "direction": "server-to-client",
+ "source": "server/services/streamingDetect.js",
+ "line": 1503
+ },
+ {
+ "direction": "server-to-client",
+ "source": "server/sockets/apps.js",
+ "line": 61
+ }
+ ]
+ },
+ {
+ "event": "detect:start",
+ "directions": [
+ "client-to-server"
+ ],
+ "sources": [
+ {
+ "direction": "client-to-server",
+ "source": "server/sockets/apps.js",
+ "line": 51
+ }
+ ]
+ },
+ {
+ "event": "detect:step",
+ "directions": [
+ "server-to-client"
+ ],
+ "sources": [
+ {
+ "direction": "server-to-client",
+ "source": "server/services/streamingDetect.js",
+ "line": 1163
+ }
+ ]
+ },
+ {
+ "event": "digital-twin:test-progress",
+ "directions": [
+ "server-to-client"
+ ],
+ "sources": [
+ {
+ "direction": "server-to-client",
+ "source": "server/routes/digital-twin/tests.js",
+ "line": 66
+ }
+ ]
+ },
+ {
+ "event": "disconnect",
+ "directions": [
+ "client-to-server",
+ "server-to-client"
+ ],
+ "sources": [
+ {
+ "direction": "server-to-client",
+ "source": "client/src/components/apps/tabs/UpdateTab.jsx",
+ "line": 166
+ },
+ {
+ "direction": "server-to-client",
+ "source": "client/src/hooks/useShellSession.js",
+ "line": 850
+ },
+ {
+ "direction": "server-to-client",
+ "source": "client/src/hooks/useSocket.js",
+ "line": 16
+ },
+ {
+ "direction": "server-to-client",
+ "source": "client/src/services/socket.js",
+ "line": 22
+ },
+ {
+ "direction": "server-to-client",
+ "source": "client/src/services/voiceClient.js",
+ "line": 445
+ },
+ {
+ "direction": "client-to-server",
+ "source": "server/routes/scaffoldPortOS.js",
+ "line": 315
+ },
+ {
+ "direction": "client-to-server",
+ "source": "server/services/cosRunnerClient.js",
+ "line": 144
+ },
+ {
+ "direction": "client-to-server",
+ "source": "server/services/peerSocketRelay.js",
+ "line": 54
+ },
+ {
+ "direction": "client-to-server",
+ "source": "server/services/socket.js",
+ "line": 152
+ },
+ {
+ "direction": "client-to-server",
+ "source": "server/sockets/voice.js",
+ "line": 353
+ }
+ ]
+ },
+ {
+ "event": "error",
+ "directions": [
+ "client-to-server"
+ ],
+ "sources": [
+ {
+ "direction": "client-to-server",
+ "source": "server/lib/connectivity.js",
+ "line": 49
+ },
+ {
+ "direction": "client-to-server",
+ "source": "server/services/remoteDesktop.js",
+ "line": 49
+ }
+ ]
+ },
+ {
+ "event": "error:notified",
+ "directions": [
+ "server-to-client"
+ ],
+ "sources": [
+ {
+ "direction": "server-to-client",
+ "source": "client/src/hooks/useErrorNotifications.js",
+ "line": 85
+ },
+ {
+ "direction": "server-to-client",
+ "source": "server/services/socket.js",
+ "line": 377
+ }
+ ]
+ },
+ {
+ "event": "error:occurred",
+ "directions": [
+ "server-to-client"
+ ],
+ "sources": [
+ {
+ "direction": "server-to-client",
+ "source": "server/lib/errorHandler.js",
+ "line": 309
+ }
+ ]
+ },
+ {
+ "event": "error:recover",
+ "directions": [
+ "client-to-server"
+ ],
+ "sources": [
+ {
+ "direction": "client-to-server",
+ "source": "client/src/hooks/useErrorNotifications.js",
+ "line": 15
+ },
+ {
+ "direction": "client-to-server",
+ "source": "server/services/socket.js",
+ "line": 129
+ }
+ ]
+ },
+ {
+ "event": "error:recover:error",
+ "directions": [
+ "server-to-client"
+ ],
+ "sources": [
+ {
+ "direction": "server-to-client",
+ "source": "server/services/socket.js",
+ "line": 146
+ }
+ ]
+ },
+ {
+ "event": "error:recover:requested",
+ "directions": [
+ "server-to-client"
+ ],
+ "sources": [
+ {
+ "direction": "server-to-client",
+ "source": "client/src/hooks/useErrorNotifications.js",
+ "line": 87
+ },
+ {
+ "direction": "server-to-client",
+ "source": "server/services/socket.js",
+ "line": 137
+ }
+ ]
+ },
+ {
+ "event": "error:server",
+ "directions": [
+ "server-to-client"
+ ],
+ "sources": [
+ {
+ "direction": "server-to-client",
+ "source": "server/sockets/apps.js",
+ "line": 60
+ },
+ {
+ "direction": "server-to-client",
+ "source": "server/sockets/apps.js",
+ "line": 86
+ }
+ ]
+ },
+ {
+ "event": "errors:subscribe",
+ "directions": [
+ "client-to-server"
+ ],
+ "sources": [
+ {
+ "direction": "client-to-server",
+ "source": "client/src/hooks/useErrorNotifications.js",
+ "line": 24
+ },
+ {
+ "direction": "client-to-server",
+ "source": "server/services/socket.js",
+ "line": 121
+ }
+ ]
+ },
+ {
+ "event": "errors:subscribed",
+ "directions": [
+ "server-to-client"
+ ],
+ "sources": [
+ {
+ "direction": "server-to-client",
+ "source": "server/services/socket.js",
+ "line": 121
+ }
+ ]
+ },
+ {
+ "event": "errors:unsubscribe",
+ "directions": [
+ "client-to-server"
+ ],
+ "sources": [
+ {
+ "direction": "client-to-server",
+ "source": "client/src/hooks/useErrorNotifications.js",
+ "line": 90
+ },
+ {
+ "direction": "client-to-server",
+ "source": "server/services/socket.js",
+ "line": 121
+ }
+ ]
+ },
+ {
+ "event": "errors:unsubscribed",
+ "directions": [
+ "server-to-client"
+ ],
+ "sources": [
+ {
+ "direction": "server-to-client",
+ "source": "server/services/socket.js",
+ "line": 121
+ }
+ ]
+ },
+ {
+ "event": "genome:clinvar-progress",
+ "directions": [
+ "server-to-client"
+ ],
+ "sources": [
+ {
+ "direction": "server-to-client",
+ "source": "server/routes/genome.js",
+ "line": 105
+ }
+ ]
+ },
+ {
+ "event": "health:xml:complete",
+ "directions": [
+ "server-to-client"
+ ],
+ "sources": [
+ {
+ "direction": "server-to-client",
+ "source": "client/src/components/meatspace/tabs/SettingsTab.jsx",
+ "line": 31
+ },
+ {
+ "direction": "server-to-client",
+ "source": "server/services/appleHealthXml.js",
+ "line": 321
+ }
+ ]
+ },
+ {
+ "event": "health:xml:progress",
+ "directions": [
+ "server-to-client"
+ ],
+ "sources": [
+ {
+ "direction": "server-to-client",
+ "source": "client/src/components/meatspace/tabs/SettingsTab.jsx",
+ "line": 30
+ },
+ {
+ "direction": "server-to-client",
+ "source": "server/services/appleHealthXml.js",
+ "line": 285
+ }
+ ]
+ },
+ {
+ "event": "image-gen:canceled",
+ "directions": [
+ "server-to-client"
+ ],
+ "sources": [
+ {
+ "direction": "server-to-client",
+ "source": "client/src/components/writers-room/LiveRenderPanel.jsx",
+ "line": 143
+ },
+ {
+ "direction": "server-to-client",
+ "source": "client/src/components/writers-room/SceneCard.jsx",
+ "line": 159
+ }
+ ]
+ },
+ {
+ "event": "image-gen:completed",
+ "directions": [
+ "server-to-client"
+ ],
+ "sources": [
+ {
+ "direction": "server-to-client",
+ "source": "client/src/components/writers-room/LiveRenderPanel.jsx",
+ "line": 137
+ },
+ {
+ "direction": "server-to-client",
+ "source": "client/src/components/writers-room/SceneCard.jsx",
+ "line": 157
+ },
+ {
+ "direction": "server-to-client",
+ "source": "client/src/hooks/useImageGenProgress.js",
+ "line": 53
+ },
+ {
+ "direction": "server-to-client",
+ "source": "client/src/hooks/useImageGenQueue.js",
+ "line": 180
+ },
+ {
+ "direction": "server-to-client",
+ "source": "client/src/hooks/useMediaCompletionRefresh.js",
+ "line": 25
+ },
+ {
+ "direction": "server-to-client",
+ "source": "client/src/pages/CharacterSheet.jsx",
+ "line": 228
+ },
+ {
+ "direction": "server-to-client",
+ "source": "server/services/socket.js",
+ "line": 549
+ }
+ ]
+ },
+ {
+ "event": "image-gen:failed",
+ "directions": [
+ "server-to-client"
+ ],
+ "sources": [
+ {
+ "direction": "server-to-client",
+ "source": "client/src/components/writers-room/LiveRenderPanel.jsx",
+ "line": 138
+ },
+ {
+ "direction": "server-to-client",
+ "source": "client/src/components/writers-room/SceneCard.jsx",
+ "line": 158
+ },
+ {
+ "direction": "server-to-client",
+ "source": "client/src/hooks/useImageGenProgress.js",
+ "line": 54
+ },
+ {
+ "direction": "server-to-client",
+ "source": "client/src/hooks/useImageGenQueue.js",
+ "line": 181
+ },
+ {
+ "direction": "server-to-client",
+ "source": "client/src/pages/CharacterSheet.jsx",
+ "line": 229
+ },
+ {
+ "direction": "server-to-client",
+ "source": "server/services/socket.js",
+ "line": 552
+ }
+ ]
+ },
+ {
+ "event": "image-gen:progress",
+ "directions": [
+ "server-to-client"
+ ],
+ "sources": [
+ {
+ "direction": "server-to-client",
+ "source": "client/src/components/writers-room/SceneCard.jsx",
+ "line": 156
+ },
+ {
+ "direction": "server-to-client",
+ "source": "client/src/hooks/useImageGenProgress.js",
+ "line": 52
+ },
+ {
+ "direction": "server-to-client",
+ "source": "client/src/hooks/useImageGenQueue.js",
+ "line": 179
+ },
+ {
+ "direction": "server-to-client",
+ "source": "client/src/pages/CharacterSheet.jsx",
+ "line": 227
+ },
+ {
+ "direction": "server-to-client",
+ "source": "server/services/socket.js",
+ "line": 546
+ }
+ ]
+ },
+ {
+ "event": "image-gen:started",
+ "directions": [
+ "server-to-client"
+ ],
+ "sources": [
+ {
+ "direction": "server-to-client",
+ "source": "client/src/components/writers-room/SceneCard.jsx",
+ "line": 155
+ },
+ {
+ "direction": "server-to-client",
+ "source": "client/src/hooks/useImageGenProgress.js",
+ "line": 51
+ },
+ {
+ "direction": "server-to-client",
+ "source": "client/src/hooks/useImageGenQueue.js",
+ "line": 178
+ },
+ {
+ "direction": "server-to-client",
+ "source": "client/src/pages/CharacterSheet.jsx",
+ "line": 226
+ },
+ {
+ "direction": "server-to-client",
+ "source": "server/services/socket.js",
+ "line": 543
+ }
+ ]
+ },
+ {
+ "event": "importer:progress",
+ "directions": [
+ "server-to-client"
+ ],
+ "sources": [
+ {
+ "direction": "server-to-client",
+ "source": "client/src/hooks/useImporterProgress.js",
+ "line": 58
+ },
+ {
+ "direction": "server-to-client",
+ "source": "server/services/socket.js",
+ "line": 114
+ },
+ {
+ "direction": "server-to-client",
+ "source": "server/services/socket.js",
+ "line": 241
+ }
+ ]
+ },
+ {
+ "event": "importer:progress:replay",
+ "directions": [
+ "client-to-server"
+ ],
+ "sources": [
+ {
+ "direction": "client-to-server",
+ "source": "client/src/hooks/useImporterProgress.js",
+ "line": 67
+ },
+ {
+ "direction": "client-to-server",
+ "source": "server/services/socket.js",
+ "line": 112
+ }
+ ]
+ },
+ {
+ "event": "instances:peer:agent:completed",
+ "directions": [
+ "server-to-client"
+ ],
+ "sources": [
+ {
+ "direction": "server-to-client",
+ "source": "client/src/components/instances/PeerAgentsSection.jsx",
+ "line": 63
+ },
+ {
+ "direction": "server-to-client",
+ "source": "server/services/socket.js",
+ "line": 481
+ }
+ ]
+ },
+ {
+ "event": "instances:peer:agent:output",
+ "directions": [
+ "server-to-client"
+ ],
+ "sources": [
+ {
+ "direction": "server-to-client",
+ "source": "client/src/components/instances/PeerAgentsSection.jsx",
+ "line": 62
+ },
+ {
+ "direction": "server-to-client",
+ "source": "server/services/socket.js",
+ "line": 480
+ }
+ ]
+ },
+ {
+ "event": "instances:peer:agent:spawned",
+ "directions": [
+ "server-to-client"
+ ],
+ "sources": [
+ {
+ "direction": "server-to-client",
+ "source": "client/src/components/instances/PeerAgentsSection.jsx",
+ "line": 60
+ },
+ {
+ "direction": "server-to-client",
+ "source": "server/services/socket.js",
+ "line": 478
+ }
+ ]
+ },
+ {
+ "event": "instances:peer:agent:updated",
+ "directions": [
+ "server-to-client"
+ ],
+ "sources": [
+ {
+ "direction": "server-to-client",
+ "source": "client/src/components/instances/PeerAgentsSection.jsx",
+ "line": 61
+ },
+ {
+ "direction": "server-to-client",
+ "source": "server/services/socket.js",
+ "line": 479
+ }
+ ]
+ },
+ {
+ "event": "instances:peer:agents:updated",
+ "directions": [
+ "server-to-client"
+ ],
+ "sources": [
+ {
+ "direction": "server-to-client",
+ "source": "client/src/components/instances/PeerAgentsSection.jsx",
+ "line": 59
+ },
+ {
+ "direction": "server-to-client",
+ "source": "server/services/socket.js",
+ "line": 477
+ }
+ ]
+ },
+ {
+ "event": "instances:peers:updated",
+ "directions": [
+ "server-to-client"
+ ],
+ "sources": [
+ {
+ "direction": "server-to-client",
+ "source": "client/src/pages/DataManager.jsx",
+ "line": 55
+ },
+ {
+ "direction": "server-to-client",
+ "source": "client/src/pages/Instances.jsx",
+ "line": 1422
+ },
+ {
+ "direction": "server-to-client",
+ "source": "server/services/socket.js",
+ "line": 466
+ }
+ ]
+ },
+ {
+ "event": "instances:subscribe",
+ "directions": [
+ "client-to-server"
+ ],
+ "sources": [
+ {
+ "direction": "client-to-server",
+ "source": "client/src/pages/Instances.jsx",
+ "line": 1418
+ },
+ {
+ "direction": "client-to-server",
+ "source": "server/services/socket.js",
+ "line": 124
+ }
+ ]
+ },
+ {
+ "event": "instances:subscribed",
+ "directions": [
+ "server-to-client"
+ ],
+ "sources": [
+ {
+ "direction": "server-to-client",
+ "source": "server/services/socket.js",
+ "line": 124
+ }
+ ]
+ },
+ {
+ "event": "instances:unsubscribe",
+ "directions": [
+ "client-to-server"
+ ],
+ "sources": [
+ {
+ "direction": "client-to-server",
+ "source": "client/src/pages/Instances.jsx",
+ "line": 1430
+ },
+ {
+ "direction": "client-to-server",
+ "source": "server/services/socket.js",
+ "line": 124
+ }
+ ]
+ },
+ {
+ "event": "instances:unsubscribed",
+ "directions": [
+ "server-to-client"
+ ],
+ "sources": [
+ {
+ "direction": "server-to-client",
+ "source": "server/services/socket.js",
+ "line": 124
+ }
+ ]
+ },
+ {
+ "event": "legacy-export:completed",
+ "directions": [
+ "server-to-client"
+ ],
+ "sources": [
+ {
+ "direction": "server-to-client",
+ "source": "client/src/components/digital-twin/tabs/LegacyExportTab.jsx",
+ "line": 53
+ }
+ ]
+ },
+ {
+ "event": "legacy-export:progress",
+ "directions": [
+ "server-to-client"
+ ],
+ "sources": [
+ {
+ "direction": "server-to-client",
+ "source": "client/src/components/digital-twin/tabs/LegacyExportTab.jsx",
+ "line": 52
+ }
+ ]
+ },
+ {
+ "event": "llamaServer:download",
+ "directions": [
+ "server-to-client"
+ ],
+ "sources": [
+ {
+ "direction": "server-to-client",
+ "source": "client/src/components/settings/LocalLlmTab.jsx",
+ "line": 354
+ },
+ {
+ "direction": "server-to-client",
+ "source": "server/routes/localLlm.js",
+ "line": 671
+ }
+ ]
+ },
+ {
+ "event": "localLlm:progress",
+ "directions": [
+ "server-to-client"
+ ],
+ "sources": [
+ {
+ "direction": "server-to-client",
+ "source": "client/src/components/settings/AssessmentSweepPanel.jsx",
+ "line": 392
+ },
+ {
+ "direction": "server-to-client",
+ "source": "client/src/components/settings/LocalLlmTab.jsx",
+ "line": 423
+ },
+ {
+ "direction": "server-to-client",
+ "source": "client/src/components/settings/LocalModelAssessments.jsx",
+ "line": 840
+ },
+ {
+ "direction": "server-to-client",
+ "source": "client/src/components/settings/ModelCapabilityTests.jsx",
+ "line": 718
+ },
+ {
+ "direction": "server-to-client",
+ "source": "server/routes/localLlm.js",
+ "line": 95
+ },
+ {
+ "direction": "server-to-client",
+ "source": "server/routes/localLlm.js",
+ "line": 516
+ },
+ {
+ "direction": "server-to-client",
+ "source": "server/routes/localLlm.js",
+ "line": 549
+ },
+ {
+ "direction": "server-to-client",
+ "source": "server/routes/localLlm.js",
+ "line": 610
+ },
+ {
+ "direction": "server-to-client",
+ "source": "server/routes/localLlm.js",
+ "line": 708
+ },
+ {
+ "direction": "server-to-client",
+ "source": "server/routes/localLlm.js",
+ "line": 719
+ }
+ ]
+ },
+ {
+ "event": "logs:close",
+ "directions": [
+ "server-to-client"
+ ],
+ "sources": [
+ {
+ "direction": "server-to-client",
+ "source": "server/sockets/logs.js",
+ "line": 148
+ }
+ ]
+ },
+ {
+ "event": "logs:error",
+ "directions": [
+ "server-to-client"
+ ],
+ "sources": [
+ {
+ "direction": "server-to-client",
+ "source": "client/src/hooks/useProcessLogs.js",
+ "line": 77
+ },
+ {
+ "direction": "server-to-client",
+ "source": "server/sockets/logs.js",
+ "line": 140
+ },
+ {
+ "direction": "server-to-client",
+ "source": "server/sockets/logs.js",
+ "line": 157
+ }
+ ]
+ },
+ {
+ "event": "logs:line",
+ "directions": [
+ "server-to-client"
+ ],
+ "sources": [
+ {
+ "direction": "server-to-client",
+ "source": "client/src/hooks/useProcessLogs.js",
+ "line": 75
+ },
+ {
+ "direction": "server-to-client",
+ "source": "server/sockets/logs.js",
+ "line": 113
+ },
+ {
+ "direction": "server-to-client",
+ "source": "server/sockets/logs.js",
+ "line": 129
+ }
+ ]
+ },
+ {
+ "event": "logs:subscribe",
+ "directions": [
+ "client-to-server"
+ ],
+ "sources": [
+ {
+ "direction": "client-to-server",
+ "source": "client/src/hooks/useProcessLogs.js",
+ "line": 59
+ },
+ {
+ "direction": "client-to-server",
+ "source": "server/sockets/logs.js",
+ "line": 54
+ }
+ ]
+ },
+ {
+ "event": "logs:subscribed",
+ "directions": [
+ "server-to-client"
+ ],
+ "sources": [
+ {
+ "direction": "server-to-client",
+ "source": "client/src/hooks/useProcessLogs.js",
+ "line": 76
+ },
+ {
+ "direction": "server-to-client",
+ "source": "server/sockets/logs.js",
+ "line": 153
+ }
+ ]
+ },
+ {
+ "event": "logs:unsubscribe",
+ "directions": [
+ "client-to-server"
+ ],
+ "sources": [
+ {
+ "direction": "client-to-server",
+ "source": "client/src/hooks/useProcessLogs.js",
+ "line": 80
+ },
+ {
+ "direction": "client-to-server",
+ "source": "server/sockets/logs.js",
+ "line": 161
+ }
+ ]
+ },
+ {
+ "event": "logs:unsubscribed",
+ "directions": [
+ "server-to-client"
+ ],
+ "sources": [
+ {
+ "direction": "server-to-client",
+ "source": "server/sockets/logs.js",
+ "line": 166
+ }
+ ]
+ },
+ {
+ "event": "loop:created",
+ "directions": [
+ "server-to-client"
+ ],
+ "sources": [
+ {
+ "direction": "server-to-client",
+ "source": "server/services/socket.js",
+ "line": 525
+ }
+ ]
+ },
+ {
+ "event": "loop:deleted",
+ "directions": [
+ "server-to-client"
+ ],
+ "sources": [
+ {
+ "direction": "server-to-client",
+ "source": "server/services/socket.js",
+ "line": 528
+ }
+ ]
+ },
+ {
+ "event": "loop:iteration:complete",
+ "directions": [
+ "server-to-client"
+ ],
+ "sources": [
+ {
+ "direction": "server-to-client",
+ "source": "client/src/pages/Loops.jsx",
+ "line": 214
+ },
+ {
+ "direction": "server-to-client",
+ "source": "server/services/socket.js",
+ "line": 531
+ }
+ ]
+ },
+ {
+ "event": "loop:iteration:error",
+ "directions": [
+ "server-to-client"
+ ],
+ "sources": [
+ {
+ "direction": "server-to-client",
+ "source": "client/src/pages/Loops.jsx",
+ "line": 216
+ },
+ {
+ "direction": "server-to-client",
+ "source": "server/services/socket.js",
+ "line": 532
+ }
+ ]
+ },
+ {
+ "event": "loop:iteration:start",
+ "directions": [
+ "server-to-client"
+ ],
+ "sources": [
+ {
+ "direction": "server-to-client",
+ "source": "client/src/pages/Loops.jsx",
+ "line": 215
+ },
+ {
+ "direction": "server-to-client",
+ "source": "server/services/socket.js",
+ "line": 530
+ }
+ ]
+ },
+ {
+ "event": "loop:output",
+ "directions": [
+ "server-to-client"
+ ],
+ "sources": [
+ {
+ "direction": "server-to-client",
+ "source": "client/src/pages/Loops.jsx",
+ "line": 213
+ },
+ {
+ "direction": "server-to-client",
+ "source": "server/services/socket.js",
+ "line": 533
+ }
+ ]
+ },
+ {
+ "event": "loop:resumed",
+ "directions": [
+ "server-to-client"
+ ],
+ "sources": [
+ {
+ "direction": "server-to-client",
+ "source": "server/services/socket.js",
+ "line": 527
+ }
+ ]
+ },
+ {
+ "event": "loop:stopped",
+ "directions": [
+ "server-to-client"
+ ],
+ "sources": [
+ {
+ "direction": "server-to-client",
+ "source": "server/services/socket.js",
+ "line": 526
+ }
+ ]
+ },
+ {
+ "event": "loop:updated",
+ "directions": [
+ "server-to-client"
+ ],
+ "sources": [
+ {
+ "direction": "server-to-client",
+ "source": "server/services/socket.js",
+ "line": 529
+ }
+ ]
+ },
+ {
+ "event": "loops:subscribe",
+ "directions": [
+ "client-to-server"
+ ],
+ "sources": [
+ {
+ "direction": "client-to-server",
+ "source": "client/src/pages/Loops.jsx",
+ "line": 364
+ },
+ {
+ "direction": "client-to-server",
+ "source": "server/services/socket.js",
+ "line": 125
+ }
+ ]
+ },
+ {
+ "event": "loops:subscribed",
+ "directions": [
+ "server-to-client"
+ ],
+ "sources": [
+ {
+ "direction": "server-to-client",
+ "source": "server/services/socket.js",
+ "line": 125
+ }
+ ]
+ },
+ {
+ "event": "loops:unsubscribe",
+ "directions": [
+ "client-to-server"
+ ],
+ "sources": [
+ {
+ "direction": "client-to-server",
+ "source": "client/src/pages/Loops.jsx",
+ "line": 370
+ },
+ {
+ "direction": "client-to-server",
+ "source": "server/services/socket.js",
+ "line": 125
+ }
+ ]
+ },
+ {
+ "event": "loops:unsubscribed",
+ "directions": [
+ "server-to-client"
+ ],
+ "sources": [
+ {
+ "direction": "server-to-client",
+ "source": "server/services/socket.js",
+ "line": 125
+ }
+ ]
+ },
+ {
+ "event": "media:annotation:updated",
+ "directions": [
+ "server-to-client"
+ ],
+ "sources": [
+ {
+ "direction": "server-to-client",
+ "source": "client/src/hooks/useMediaAnnotations.js",
+ "line": 76
+ },
+ {
+ "direction": "server-to-client",
+ "source": "server/services/sharing/index.js",
+ "line": 140
+ }
+ ]
+ },
+ {
+ "event": "media:sketch:updated",
+ "directions": [
+ "server-to-client"
+ ],
+ "sources": [
+ {
+ "direction": "server-to-client",
+ "source": "client/src/components/pipeline/stages/StoryboardsStage.jsx",
+ "line": 62
+ }
+ ]
+ },
+ {
+ "event": "messages:changed",
+ "directions": [
+ "server-to-client"
+ ],
+ "sources": [
+ {
+ "direction": "server-to-client",
+ "source": "server/services/messageSender.js",
+ "line": 43
+ },
+ {
+ "direction": "server-to-client",
+ "source": "server/services/messageSync.js",
+ "line": 323
+ }
+ ]
+ },
+ {
+ "event": "messages:draft:sent",
+ "directions": [
+ "server-to-client"
+ ],
+ "sources": [
+ {
+ "direction": "server-to-client",
+ "source": "server/services/messageSender.js",
+ "line": 42
+ }
+ ]
+ },
+ {
+ "event": "messages:sync:auth-required",
+ "directions": [
+ "server-to-client"
+ ],
+ "sources": [
+ {
+ "direction": "server-to-client",
+ "source": "client/src/components/messages/SyncTab.jsx",
+ "line": 58
+ },
+ {
+ "direction": "server-to-client",
+ "source": "server/services/messagePlaywrightSync.js",
+ "line": 76
+ }
+ ]
+ },
+ {
+ "event": "messages:sync:completed",
+ "directions": [
+ "server-to-client"
+ ],
+ "sources": [
+ {
+ "direction": "server-to-client",
+ "source": "client/src/components/messages/SyncTab.jsx",
+ "line": 57
+ },
+ {
+ "direction": "server-to-client",
+ "source": "server/services/messageSync.js",
+ "line": 321
+ }
+ ]
+ },
+ {
+ "event": "messages:sync:failed",
+ "directions": [
+ "server-to-client"
+ ],
+ "sources": [
+ {
+ "direction": "server-to-client",
+ "source": "client/src/components/messages/SyncTab.jsx",
+ "line": 59
+ },
+ {
+ "direction": "server-to-client",
+ "source": "server/services/messageSync.js",
+ "line": 337
+ }
+ ]
+ },
+ {
+ "event": "messages:sync:message",
+ "directions": [
+ "server-to-client"
+ ],
+ "sources": [
+ {
+ "direction": "server-to-client",
+ "source": "client/src/components/messages/InboxTab.jsx",
+ "line": 295
+ },
+ {
+ "direction": "server-to-client",
+ "source": "server/services/messageApiSync.js",
+ "line": 128
+ },
+ {
+ "direction": "server-to-client",
+ "source": "server/services/messageGmailSync.js",
+ "line": 346
+ },
+ {
+ "direction": "server-to-client",
+ "source": "server/services/messagePlaywrightSync.js",
+ "line": 128
+ }
+ ]
+ },
+ {
+ "event": "messages:sync:progress",
+ "directions": [
+ "server-to-client"
+ ],
+ "sources": [
+ {
+ "direction": "server-to-client",
+ "source": "server/services/messageApiSync.js",
+ "line": 58
+ },
+ {
+ "direction": "server-to-client",
+ "source": "server/services/messageGmailSync.js",
+ "line": 264
+ },
+ {
+ "direction": "server-to-client",
+ "source": "server/services/messageGmailSync.js",
+ "line": 283
+ },
+ {
+ "direction": "server-to-client",
+ "source": "server/services/messagePlaywrightSync.js",
+ "line": 68
+ },
+ {
+ "direction": "server-to-client",
+ "source": "server/services/messagePlaywrightSync.js",
+ "line": 91
+ },
+ {
+ "direction": "server-to-client",
+ "source": "server/services/messagePlaywrightSync.js",
+ "line": 134
+ }
+ ]
+ },
+ {
+ "event": "messages:sync:started",
+ "directions": [
+ "server-to-client"
+ ],
+ "sources": [
+ {
+ "direction": "server-to-client",
+ "source": "client/src/components/messages/SyncTab.jsx",
+ "line": 56
+ },
+ {
+ "direction": "server-to-client",
+ "source": "server/services/messageSync.js",
+ "line": 163
+ }
+ ]
+ },
+ {
+ "event": "moltworld:action",
+ "directions": [
+ "server-to-client"
+ ],
+ "sources": [
+ {
+ "direction": "server-to-client",
+ "source": "client/src/hooks/useMoltworldWs.js",
+ "line": 85
+ },
+ {
+ "direction": "server-to-client",
+ "source": "server/services/socket.js",
+ "line": 444
+ }
+ ]
+ },
+ {
+ "event": "moltworld:event",
+ "directions": [
+ "server-to-client"
+ ],
+ "sources": [
+ {
+ "direction": "server-to-client",
+ "source": "client/src/hooks/useMoltworldWs.js",
+ "line": 82
+ },
+ {
+ "direction": "server-to-client",
+ "source": "server/services/socket.js",
+ "line": 441
+ }
+ ]
+ },
+ {
+ "event": "moltworld:interaction",
+ "directions": [
+ "server-to-client"
+ ],
+ "sources": [
+ {
+ "direction": "server-to-client",
+ "source": "client/src/hooks/useMoltworldWs.js",
+ "line": 86
+ },
+ {
+ "direction": "server-to-client",
+ "source": "server/services/socket.js",
+ "line": 445
+ }
+ ]
+ },
+ {
+ "event": "moltworld:nearby",
+ "directions": [
+ "server-to-client"
+ ],
+ "sources": [
+ {
+ "direction": "server-to-client",
+ "source": "client/src/hooks/useMoltworldWs.js",
+ "line": 87
+ },
+ {
+ "direction": "server-to-client",
+ "source": "server/services/socket.js",
+ "line": 446
+ }
+ ]
+ },
+ {
+ "event": "moltworld:presence",
+ "directions": [
+ "server-to-client"
+ ],
+ "sources": [
+ {
+ "direction": "server-to-client",
+ "source": "client/src/hooks/useMoltworldWs.js",
+ "line": 83
+ },
+ {
+ "direction": "server-to-client",
+ "source": "server/services/socket.js",
+ "line": 442
+ }
+ ]
+ },
+ {
+ "event": "moltworld:queue:added",
+ "directions": [
+ "server-to-client"
+ ],
+ "sources": [
+ {
+ "direction": "server-to-client",
+ "source": "client/src/components/agents/tabs/WorldTab.jsx",
+ "line": 219
+ },
+ {
+ "direction": "server-to-client",
+ "source": "server/services/socket.js",
+ "line": 451
+ }
+ ]
+ },
+ {
+ "event": "moltworld:queue:removed",
+ "directions": [
+ "server-to-client"
+ ],
+ "sources": [
+ {
+ "direction": "server-to-client",
+ "source": "client/src/components/agents/tabs/WorldTab.jsx",
+ "line": 221
+ },
+ {
+ "direction": "server-to-client",
+ "source": "server/services/socket.js",
+ "line": 453
+ }
+ ]
+ },
+ {
+ "event": "moltworld:queue:updated",
+ "directions": [
+ "server-to-client"
+ ],
+ "sources": [
+ {
+ "direction": "server-to-client",
+ "source": "client/src/components/agents/tabs/WorldTab.jsx",
+ "line": 220
+ },
+ {
+ "direction": "server-to-client",
+ "source": "server/services/socket.js",
+ "line": 452
+ }
+ ]
+ },
+ {
+ "event": "moltworld:status",
+ "directions": [
+ "server-to-client"
+ ],
+ "sources": [
+ {
+ "direction": "server-to-client",
+ "source": "client/src/hooks/useMoltworldWs.js",
+ "line": 81
+ },
+ {
+ "direction": "server-to-client",
+ "source": "server/services/socket.js",
+ "line": 440
+ }
+ ]
+ },
+ {
+ "event": "moltworld:thinking",
+ "directions": [
+ "server-to-client"
+ ],
+ "sources": [
+ {
+ "direction": "server-to-client",
+ "source": "client/src/hooks/useMoltworldWs.js",
+ "line": 84
+ },
+ {
+ "direction": "server-to-client",
+ "source": "server/services/socket.js",
+ "line": 443
+ }
+ ]
+ },
+ {
+ "event": "mtplx:download",
+ "directions": [
+ "server-to-client"
+ ],
+ "sources": [
+ {
+ "direction": "server-to-client",
+ "source": "client/src/components/settings/LocalLlmTab.jsx",
+ "line": 379
+ },
+ {
+ "direction": "server-to-client",
+ "source": "server/routes/localLlm.js",
+ "line": 800
+ }
+ ]
+ },
+ {
+ "event": "music-video:scene-image",
+ "directions": [
+ "server-to-client"
+ ],
+ "sources": [
+ {
+ "direction": "server-to-client",
+ "source": "server/services/socket.js",
+ "line": 273
+ }
+ ]
+ },
+ {
+ "event": "music-video:scene-video",
+ "directions": [
+ "server-to-client"
+ ],
+ "sources": [
+ {
+ "direction": "server-to-client",
+ "source": "server/services/socket.js",
+ "line": 279
+ }
+ ]
+ },
+ {
+ "event": "notifications:added",
+ "directions": [
+ "server-to-client"
+ ],
+ "sources": [
+ {
+ "direction": "server-to-client",
+ "source": "client/src/hooks/useNotifications.js",
+ "line": 66
+ },
+ {
+ "direction": "server-to-client",
+ "source": "server/services/socket.js",
+ "line": 402
+ }
+ ]
+ },
+ {
+ "event": "notifications:cleared",
+ "directions": [
+ "server-to-client"
+ ],
+ "sources": [
+ {
+ "direction": "server-to-client",
+ "source": "client/src/hooks/useNotifications.js",
+ "line": 70
+ },
+ {
+ "direction": "server-to-client",
+ "source": "client/src/hooks/useOpenWorldData.js",
+ "line": 243
+ },
+ {
+ "direction": "server-to-client",
+ "source": "server/services/socket.js",
+ "line": 406
+ }
+ ]
+ },
+ {
+ "event": "notifications:count",
+ "directions": [
+ "server-to-client"
+ ],
+ "sources": [
+ {
+ "direction": "server-to-client",
+ "source": "client/src/hooks/useNotifications.js",
+ "line": 69
+ },
+ {
+ "direction": "server-to-client",
+ "source": "client/src/hooks/useOpenWorldData.js",
+ "line": 242
+ },
+ {
+ "direction": "server-to-client",
+ "source": "server/services/socket.js",
+ "line": 405
+ }
+ ]
+ },
+ {
+ "event": "notifications:removed",
+ "directions": [
+ "server-to-client"
+ ],
+ "sources": [
+ {
+ "direction": "server-to-client",
+ "source": "client/src/hooks/useNotifications.js",
+ "line": 67
+ },
+ {
+ "direction": "server-to-client",
+ "source": "server/services/socket.js",
+ "line": 403
+ }
+ ]
+ },
+ {
+ "event": "notifications:subscribe",
+ "directions": [
+ "client-to-server"
+ ],
+ "sources": [
+ {
+ "direction": "client-to-server",
+ "source": "client/src/hooks/useNotifications.js",
+ "line": 40
+ },
+ {
+ "direction": "client-to-server",
+ "source": "client/src/hooks/useOpenWorldData.js",
+ "line": 197
+ },
+ {
+ "direction": "client-to-server",
+ "source": "server/services/socket.js",
+ "line": 122
+ }
+ ]
+ },
+ {
+ "event": "notifications:subscribed",
+ "directions": [
+ "server-to-client"
+ ],
+ "sources": [
+ {
+ "direction": "server-to-client",
+ "source": "server/services/socket.js",
+ "line": 122
+ }
+ ]
+ },
+ {
+ "event": "notifications:unsubscribe",
+ "directions": [
+ "client-to-server"
+ ],
+ "sources": [
+ {
+ "direction": "client-to-server",
+ "source": "server/services/socket.js",
+ "line": 122
+ }
+ ]
+ },
+ {
+ "event": "notifications:unsubscribed",
+ "directions": [
+ "server-to-client"
+ ],
+ "sources": [
+ {
+ "direction": "server-to-client",
+ "source": "server/services/socket.js",
+ "line": 122
+ }
+ ]
+ },
+ {
+ "event": "notifications:updated",
+ "directions": [
+ "server-to-client"
+ ],
+ "sources": [
+ {
+ "direction": "server-to-client",
+ "source": "client/src/hooks/useNotifications.js",
+ "line": 68
+ },
+ {
+ "direction": "server-to-client",
+ "source": "server/services/socket.js",
+ "line": 404
+ }
+ ]
+ },
+ {
+ "event": "peerSync:asset-arrived",
+ "directions": [
+ "server-to-client"
+ ],
+ "sources": [
+ {
+ "direction": "server-to-client",
+ "source": "client/src/components/MediaImage.jsx",
+ "line": 78
+ },
+ {
+ "direction": "server-to-client",
+ "source": "server/services/sharing/index.js",
+ "line": 146
+ }
+ ]
+ },
+ {
+ "event": "peerSync:subscription-blocked",
+ "directions": [
+ "server-to-client"
+ ],
+ "sources": [
+ {
+ "direction": "server-to-client",
+ "source": "client/src/pages/Instances.jsx",
+ "line": 1183
+ },
+ {
+ "direction": "server-to-client",
+ "source": "server/services/sharing/index.js",
+ "line": 122
+ }
+ ]
+ },
+ {
+ "event": "peerSync:subscription-unblocked",
+ "directions": [
+ "server-to-client"
+ ],
+ "sources": [
+ {
+ "direction": "server-to-client",
+ "source": "client/src/pages/Instances.jsx",
+ "line": 1184
+ },
+ {
+ "direction": "server-to-client",
+ "source": "server/services/sharing/index.js",
+ "line": 125
+ }
+ ]
+ },
+ {
+ "event": "peerSync:subscription:created",
+ "directions": [
+ "server-to-client"
+ ],
+ "sources": [
+ {
+ "direction": "server-to-client",
+ "source": "client/src/pages/Instances.jsx",
+ "line": 1191
+ },
+ {
+ "direction": "server-to-client",
+ "source": "server/services/sharing/index.js",
+ "line": 131
+ }
+ ]
+ },
+ {
+ "event": "portos:update:available",
+ "directions": [
+ "server-to-client"
+ ],
+ "sources": [
+ {
+ "direction": "server-to-client",
+ "source": "client/src/hooks/useUpdateChecker.jsx",
+ "line": 60
+ },
+ {
+ "direction": "server-to-client",
+ "source": "server/services/socket.js",
+ "line": 507
+ }
+ ]
+ },
+ {
+ "event": "portos:update:checked",
+ "directions": [
+ "server-to-client"
+ ],
+ "sources": [
+ {
+ "direction": "server-to-client",
+ "source": "server/services/socket.js",
+ "line": 512
+ }
+ ]
+ },
+ {
+ "event": "portos:update:complete",
+ "directions": [
+ "server-to-client"
+ ],
+ "sources": [
+ {
+ "direction": "server-to-client",
+ "source": "client/src/components/apps/tabs/UpdateTab.jsx",
+ "line": 164
+ },
+ {
+ "direction": "server-to-client",
+ "source": "server/routes/update.js",
+ "line": 262
+ }
+ ]
+ },
+ {
+ "event": "portos:update:error",
+ "directions": [
+ "server-to-client"
+ ],
+ "sources": [
+ {
+ "direction": "server-to-client",
+ "source": "client/src/components/apps/tabs/UpdateTab.jsx",
+ "line": 165
+ },
+ {
+ "direction": "server-to-client",
+ "source": "server/routes/update.js",
+ "line": 264
+ },
+ {
+ "direction": "server-to-client",
+ "source": "server/routes/update.js",
+ "line": 269
+ }
+ ]
+ },
+ {
+ "event": "portos:update:step",
+ "directions": [
+ "server-to-client"
+ ],
+ "sources": [
+ {
+ "direction": "server-to-client",
+ "source": "client/src/components/apps/tabs/UpdateTab.jsx",
+ "line": 163
+ },
+ {
+ "direction": "server-to-client",
+ "source": "server/routes/update.js",
+ "line": 237
+ }
+ ]
+ },
+ {
+ "event": "provider:error",
+ "directions": [
+ "server-to-client"
+ ],
+ "sources": [
+ {
+ "direction": "server-to-client",
+ "source": "server/lib/aiToolkit/index.js",
+ "line": 96
+ }
+ ]
+ },
+ {
+ "event": "provider:status:changed",
+ "directions": [
+ "server-to-client"
+ ],
+ "sources": [
+ {
+ "direction": "server-to-client",
+ "source": "client/src/components/cos/tabs/ProviderStatusCard.jsx",
+ "line": 36
+ },
+ {
+ "direction": "server-to-client",
+ "source": "server/lib/aiToolkit/index.js",
+ "line": 78
+ }
+ ]
+ },
+ {
+ "event": "review:item:created",
+ "directions": [
+ "server-to-client"
+ ],
+ "sources": [
+ {
+ "direction": "server-to-client",
+ "source": "client/src/components/ReviewHubCard.jsx",
+ "line": 14
+ },
+ {
+ "direction": "server-to-client",
+ "source": "client/src/pages/Review.jsx",
+ "line": 146
+ },
+ {
+ "direction": "server-to-client",
+ "source": "server/services/socket.js",
+ "line": 490
+ }
+ ]
+ },
+ {
+ "event": "review:item:deleted",
+ "directions": [
+ "server-to-client"
+ ],
+ "sources": [
+ {
+ "direction": "server-to-client",
+ "source": "client/src/components/ReviewHubCard.jsx",
+ "line": 16
+ },
+ {
+ "direction": "server-to-client",
+ "source": "client/src/pages/Review.jsx",
+ "line": 148
+ },
+ {
+ "direction": "server-to-client",
+ "source": "server/services/socket.js",
+ "line": 496
+ }
+ ]
+ },
+ {
+ "event": "review:item:updated",
+ "directions": [
+ "server-to-client"
+ ],
+ "sources": [
+ {
+ "direction": "server-to-client",
+ "source": "client/src/components/ReviewHubCard.jsx",
+ "line": 15
+ },
+ {
+ "direction": "server-to-client",
+ "source": "client/src/pages/Review.jsx",
+ "line": 147
+ },
+ {
+ "direction": "server-to-client",
+ "source": "server/services/socket.js",
+ "line": 493
+ }
+ ]
+ },
+ {
+ "event": "run:{activeRun}:complete",
+ "directions": [
+ "server-to-client"
+ ],
+ "sources": [
+ {
+ "direction": "server-to-client",
+ "source": "client/src/pages/AIProviders.jsx",
+ "line": 180
+ }
+ ]
+ },
+ {
+ "event": "run:{activeRun}:data",
+ "directions": [
+ "server-to-client"
+ ],
+ "sources": [
+ {
+ "direction": "server-to-client",
+ "source": "client/src/pages/AIProviders.jsx",
+ "line": 179
+ }
+ ]
+ },
+ {
+ "event": "run:{runId}:complete",
+ "directions": [
+ "server-to-client"
+ ],
+ "sources": [
+ {
+ "direction": "server-to-client",
+ "source": "client/src/pages/RunnerPage.jsx",
+ "line": 105
+ },
+ {
+ "direction": "server-to-client",
+ "source": "server/lib/aiToolkit/routes/runs.js",
+ "line": 111
+ },
+ {
+ "direction": "server-to-client",
+ "source": "server/lib/aiToolkit/routes/runs.js",
+ "line": 127
+ },
+ {
+ "direction": "server-to-client",
+ "source": "server/lib/aiToolkit/routes/runs.js",
+ "line": 151
+ }
+ ]
+ },
+ {
+ "event": "run:{runId}:data",
+ "directions": [
+ "server-to-client"
+ ],
+ "sources": [
+ {
+ "direction": "server-to-client",
+ "source": "client/src/pages/RunnerPage.jsx",
+ "line": 104
+ },
+ {
+ "direction": "server-to-client",
+ "source": "server/lib/aiToolkit/routes/runs.js",
+ "line": 107
+ },
+ {
+ "direction": "server-to-client",
+ "source": "server/lib/aiToolkit/routes/runs.js",
+ "line": 124
+ },
+ {
+ "direction": "server-to-client",
+ "source": "server/lib/aiToolkit/routes/runs.js",
+ "line": 147
+ }
+ ]
+ },
+ {
+ "event": "sharing:inbox-updated",
+ "directions": [
+ "server-to-client"
+ ],
+ "sources": [
+ {
+ "direction": "server-to-client",
+ "source": "client/src/pages/Sharing.jsx",
+ "line": 176
+ },
+ {
+ "direction": "server-to-client",
+ "source": "server/services/sharing/index.js",
+ "line": 95
+ },
+ {
+ "direction": "server-to-client",
+ "source": "server/services/sharing/index.js",
+ "line": 99
+ }
+ ]
+ },
+ {
+ "event": "sharing:incompatible-manifest",
+ "directions": [
+ "server-to-client"
+ ],
+ "sources": [
+ {
+ "direction": "server-to-client",
+ "source": "client/src/hooks/useSharingNotifications.js",
+ "line": 41
+ },
+ {
+ "direction": "server-to-client",
+ "source": "server/services/sharing/index.js",
+ "line": 108
+ }
+ ]
+ },
+ {
+ "event": "sharing:manifest-processed",
+ "directions": [
+ "server-to-client"
+ ],
+ "sources": [
+ {
+ "direction": "server-to-client",
+ "source": "client/src/hooks/useSharingNotifications.js",
+ "line": 40
+ },
+ {
+ "direction": "server-to-client",
+ "source": "client/src/pages/Sharing.jsx",
+ "line": 177
+ },
+ {
+ "direction": "server-to-client",
+ "source": "server/services/sharing/index.js",
+ "line": 93
+ }
+ ]
+ },
+ {
+ "event": "sharing:portos-schema-ahead",
+ "directions": [
+ "server-to-client"
+ ],
+ "sources": [
+ {
+ "direction": "server-to-client",
+ "source": "server/services/sharing/index.js",
+ "line": 116
+ }
+ ]
+ },
+ {
+ "event": "sharing:unshared",
+ "directions": [
+ "server-to-client"
+ ],
+ "sources": [
+ {
+ "direction": "server-to-client",
+ "source": "server/services/sharing/index.js",
+ "line": 134
+ }
+ ]
+ },
+ {
+ "event": "sharing:watcher-attached",
+ "directions": [
+ "server-to-client"
+ ],
+ "sources": [
+ {
+ "direction": "server-to-client",
+ "source": "server/services/sharing/index.js",
+ "line": 102
+ }
+ ]
+ },
+ {
+ "event": "sharing:watcher-detached",
+ "directions": [
+ "server-to-client"
+ ],
+ "sources": [
+ {
+ "direction": "server-to-client",
+ "source": "server/services/sharing/index.js",
+ "line": 105
+ }
+ ]
+ },
+ {
+ "event": "shell:attach",
+ "directions": [
+ "client-to-server"
+ ],
+ "sources": [
+ {
+ "direction": "client-to-server",
+ "source": "client/src/hooks/useShellSession.js",
+ "line": 489
+ },
+ {
+ "direction": "client-to-server",
+ "source": "server/sockets/shell.js",
+ "line": 51
+ }
+ ]
+ },
+ {
+ "event": "shell:attached",
+ "directions": [
+ "server-to-client"
+ ],
+ "sources": [
+ {
+ "direction": "server-to-client",
+ "source": "client/src/hooks/useShellSession.js",
+ "line": 853
+ },
+ {
+ "direction": "server-to-client",
+ "source": "server/sockets/shell.js",
+ "line": 58
+ }
+ ]
+ },
+ {
+ "event": "shell:cd",
+ "directions": [
+ "client-to-server"
+ ],
+ "sources": [
+ {
+ "direction": "client-to-server",
+ "source": "server/sockets/shell.js",
+ "line": 79
+ }
+ ]
+ },
+ {
+ "event": "shell:detached",
+ "directions": [
+ "server-to-client"
+ ],
+ "sources": [
+ {
+ "direction": "server-to-client",
+ "source": "client/src/hooks/useShellSession.js",
+ "line": 856
+ }
+ ]
+ },
+ {
+ "event": "shell:error",
+ "directions": [
+ "server-to-client"
+ ],
+ "sources": [
+ {
+ "direction": "server-to-client",
+ "source": "client/src/hooks/useShellSession.js",
+ "line": 857
+ },
+ {
+ "direction": "server-to-client",
+ "source": "server/sockets/shell.js",
+ "line": 29
+ },
+ {
+ "direction": "server-to-client",
+ "source": "server/sockets/shell.js",
+ "line": 42
+ },
+ {
+ "direction": "server-to-client",
+ "source": "server/sockets/shell.js",
+ "line": 47
+ },
+ {
+ "direction": "server-to-client",
+ "source": "server/sockets/shell.js",
+ "line": 56
+ },
+ {
+ "direction": "server-to-client",
+ "source": "server/sockets/shell.js",
+ "line": 60
+ },
+ {
+ "direction": "server-to-client",
+ "source": "server/sockets/shell.js",
+ "line": 73
+ },
+ {
+ "direction": "server-to-client",
+ "source": "server/sockets/shell.js",
+ "line": 84
+ }
+ ]
+ },
+ {
+ "event": "shell:exit",
+ "directions": [
+ "server-to-client"
+ ],
+ "sources": [
+ {
+ "direction": "server-to-client",
+ "source": "client/src/hooks/useShellSession.js",
+ "line": 855
+ },
+ {
+ "direction": "server-to-client",
+ "source": "server/services/shell.js",
+ "line": 229
+ },
+ {
+ "direction": "server-to-client",
+ "source": "server/services/shell.js",
+ "line": 442
+ }
+ ]
+ },
+ {
+ "event": "shell:input",
+ "directions": [
+ "client-to-server"
+ ],
+ "sources": [
+ {
+ "direction": "client-to-server",
+ "source": "server/sockets/shell.js",
+ "line": 69
+ }
+ ]
+ },
+ {
+ "event": "shell:list",
+ "directions": [
+ "client-to-server"
+ ],
+ "sources": [
+ {
+ "direction": "client-to-server",
+ "source": "client/src/hooks/useShellSession.js",
+ "line": 606
+ },
+ {
+ "direction": "client-to-server",
+ "source": "server/sockets/shell.js",
+ "line": 64
+ }
+ ]
+ },
+ {
+ "event": "shell:output",
+ "directions": [
+ "server-to-client"
+ ],
+ "sources": [
+ {
+ "direction": "server-to-client",
+ "source": "client/src/hooks/useShellSession.js",
+ "line": 854
+ },
+ {
+ "direction": "server-to-client",
+ "source": "server/services/shell.js",
+ "line": 212
+ },
+ {
+ "direction": "server-to-client",
+ "source": "server/services/shell.js",
+ "line": 425
+ }
+ ]
+ },
+ {
+ "event": "shell:release-views",
+ "directions": [
+ "client-to-server"
+ ],
+ "sources": [
+ {
+ "direction": "client-to-server",
+ "source": "client/src/hooks/useShellSession.js",
+ "line": 878
+ },
+ {
+ "direction": "client-to-server",
+ "source": "server/sockets/shell.js",
+ "line": 103
+ }
+ ]
+ },
+ {
+ "event": "shell:resize",
+ "directions": [
+ "client-to-server"
+ ],
+ "sources": [
+ {
+ "direction": "client-to-server",
+ "source": "client/src/hooks/useShellSession.js",
+ "line": 320
+ },
+ {
+ "direction": "client-to-server",
+ "source": "client/src/hooks/useShellSession.js",
+ "line": 690
+ },
+ {
+ "direction": "client-to-server",
+ "source": "client/src/hooks/useShellSession.js",
+ "line": 718
+ },
+ {
+ "direction": "client-to-server",
+ "source": "server/sockets/shell.js",
+ "line": 91
+ }
+ ]
+ },
+ {
+ "event": "shell:sessions",
+ "directions": [
+ "server-to-client"
+ ],
+ "sources": [
+ {
+ "direction": "server-to-client",
+ "source": "client/src/hooks/useShellSession.js",
+ "line": 851
+ },
+ {
+ "direction": "server-to-client",
+ "source": "server/sockets/shell.js",
+ "line": 66
+ }
+ ]
+ },
+ {
+ "event": "shell:start",
+ "directions": [
+ "client-to-server"
+ ],
+ "sources": [
+ {
+ "direction": "client-to-server",
+ "source": "client/src/hooks/useShellSession.js",
+ "line": 470
+ },
+ {
+ "direction": "client-to-server",
+ "source": "server/sockets/shell.js",
+ "line": 19
+ }
+ ]
+ },
+ {
+ "event": "shell:started",
+ "directions": [
+ "server-to-client"
+ ],
+ "sources": [
+ {
+ "direction": "server-to-client",
+ "source": "client/src/hooks/useShellSession.js",
+ "line": 852
+ },
+ {
+ "direction": "server-to-client",
+ "source": "server/sockets/shell.js",
+ "line": 37
+ }
+ ]
+ },
+ {
+ "event": "shell:stop",
+ "directions": [
+ "client-to-server"
+ ],
+ "sources": [
+ {
+ "direction": "client-to-server",
+ "source": "client/src/hooks/useShellSession.js",
+ "line": 529
+ },
+ {
+ "direction": "client-to-server",
+ "source": "client/src/hooks/useShellSession.js",
+ "line": 535
+ },
+ {
+ "direction": "client-to-server",
+ "source": "client/src/hooks/useShellSession.js",
+ "line": 551
+ },
+ {
+ "direction": "client-to-server",
+ "source": "server/sockets/shell.js",
+ "line": 97
+ }
+ ]
+ },
+ {
+ "event": "standardize:analyzed",
+ "directions": [
+ "server-to-client"
+ ],
+ "sources": [
+ {
+ "direction": "server-to-client",
+ "source": "server/sockets/apps.js",
+ "line": 79
+ }
+ ]
+ },
+ {
+ "event": "standardize:complete",
+ "directions": [
+ "server-to-client"
+ ],
+ "sources": [
+ {
+ "direction": "server-to-client",
+ "source": "server/sockets/apps.js",
+ "line": 82
+ },
+ {
+ "direction": "server-to-client",
+ "source": "server/sockets/apps.js",
+ "line": 87
+ }
+ ]
+ },
+ {
+ "event": "standardize:start",
+ "directions": [
+ "client-to-server"
+ ],
+ "sources": [
+ {
+ "direction": "client-to-server",
+ "source": "server/sockets/apps.js",
+ "line": 67
+ }
+ ]
+ },
+ {
+ "event": "standardize:step",
+ "directions": [
+ "server-to-client"
+ ],
+ "sources": [
+ {
+ "direction": "server-to-client",
+ "source": "server/sockets/apps.js",
+ "line": 77
+ }
+ ]
+ },
+ {
+ "event": "sync:progress",
+ "directions": [
+ "server-to-client"
+ ],
+ "sources": [
+ {
+ "direction": "server-to-client",
+ "source": "client/src/pages/Instances.jsx",
+ "line": 1144
+ },
+ {
+ "direction": "server-to-client",
+ "source": "server/services/socket.js",
+ "line": 471
+ }
+ ]
+ },
+ {
+ "event": "system:critical-error",
+ "directions": [
+ "server-to-client"
+ ],
+ "sources": [
+ {
+ "direction": "server-to-client",
+ "source": "client/src/hooks/useErrorNotifications.js",
+ "line": 86
+ },
+ {
+ "direction": "server-to-client",
+ "source": "server/lib/errorHandler.js",
+ "line": 321
+ }
+ ]
+ },
+ {
+ "event": "timeout",
+ "directions": [
+ "client-to-server"
+ ],
+ "sources": [
+ {
+ "direction": "client-to-server",
+ "source": "server/lib/connectivity.js",
+ "line": 48
+ },
+ {
+ "direction": "client-to-server",
+ "source": "server/services/remoteDesktop.js",
+ "line": 48
+ }
+ ]
+ },
+ {
+ "event": "tribe:changed",
+ "directions": [
+ "server-to-client"
+ ],
+ "sources": [
+ {
+ "direction": "server-to-client",
+ "source": "client/src/pages/Tribe.jsx",
+ "line": 988
+ }
+ ]
+ },
+ {
+ "event": "tui:exit",
+ "directions": [
+ "client-to-server"
+ ],
+ "sources": [
+ {
+ "direction": "client-to-server",
+ "source": "server/services/cosRunnerClient.js",
+ "line": 161
+ }
+ ]
+ },
+ {
+ "event": "tui:output",
+ "directions": [
+ "client-to-server"
+ ],
+ "sources": [
+ {
+ "direction": "client-to-server",
+ "source": "server/services/cosRunnerClient.js",
+ "line": 160
+ }
+ ]
+ },
+ {
+ "event": "video-gen:completed",
+ "directions": [
+ "server-to-client"
+ ],
+ "sources": [
+ {
+ "direction": "server-to-client",
+ "source": "client/src/hooks/useMediaCompletionRefresh.js",
+ "line": 26
+ },
+ {
+ "direction": "server-to-client",
+ "source": "server/services/socket.js",
+ "line": 562
+ }
+ ]
+ },
+ {
+ "event": "video-gen:failed",
+ "directions": [
+ "server-to-client"
+ ],
+ "sources": [
+ {
+ "direction": "server-to-client",
+ "source": "server/services/socket.js",
+ "line": 565
+ }
+ ]
+ },
+ {
+ "event": "video-gen:progress",
+ "directions": [
+ "server-to-client"
+ ],
+ "sources": [
+ {
+ "direction": "server-to-client",
+ "source": "server/services/socket.js",
+ "line": 559
+ }
+ ]
+ },
+ {
+ "event": "video-gen:started",
+ "directions": [
+ "server-to-client"
+ ],
+ "sources": [
+ {
+ "direction": "server-to-client",
+ "source": "server/services/socket.js",
+ "line": 556
+ }
+ ]
+ },
+ {
+ "event": "voice:dictation",
+ "directions": [
+ "server-to-client"
+ ],
+ "sources": [
+ {
+ "direction": "server-to-client",
+ "source": "client/src/hooks/useOpenWorldData.js",
+ "line": 278
+ },
+ {
+ "direction": "server-to-client",
+ "source": "server/sockets/voice.js",
+ "line": 224
+ },
+ {
+ "direction": "server-to-client",
+ "source": "server/sockets/voice.js",
+ "line": 248
+ },
+ {
+ "direction": "server-to-client",
+ "source": "server/sockets/voice.js",
+ "line": 253
+ }
+ ]
+ },
+ {
+ "event": "voice:dictation:set",
+ "directions": [
+ "client-to-server"
+ ],
+ "sources": [
+ {
+ "direction": "client-to-server",
+ "source": "client/src/services/voiceClient.js",
+ "line": 549
+ },
+ {
+ "direction": "client-to-server",
+ "source": "client/src/services/voiceClient.js",
+ "line": 558
+ },
+ {
+ "direction": "client-to-server",
+ "source": "server/sockets/voice.js",
+ "line": 241
+ }
+ ]
+ },
+ {
+ "event": "voice:error",
+ "directions": [
+ "server-to-client"
+ ],
+ "sources": [
+ {
+ "direction": "server-to-client",
+ "source": "client/src/hooks/useOpenWorldData.js",
+ "line": 279
+ },
+ {
+ "direction": "server-to-client",
+ "source": "server/sockets/voice.js",
+ "line": 132
+ },
+ {
+ "direction": "server-to-client",
+ "source": "server/sockets/voice.js",
+ "line": 145
+ },
+ {
+ "direction": "server-to-client",
+ "source": "server/sockets/voice.js",
+ "line": 154
+ },
+ {
+ "direction": "server-to-client",
+ "source": "server/sockets/voice.js",
+ "line": 159
+ },
+ {
+ "direction": "server-to-client",
+ "source": "server/sockets/voice.js",
+ "line": 163
+ },
+ {
+ "direction": "server-to-client",
+ "source": "server/sockets/voice.js",
+ "line": 179
+ },
+ {
+ "direction": "server-to-client",
+ "source": "server/sockets/voice.js",
+ "line": 188
+ },
+ {
+ "direction": "server-to-client",
+ "source": "server/sockets/voice.js",
+ "line": 193
+ },
+ {
+ "direction": "server-to-client",
+ "source": "server/sockets/voice.js",
+ "line": 197
+ },
+ {
+ "direction": "server-to-client",
+ "source": "server/sockets/voice.js",
+ "line": 203
+ },
+ {
+ "direction": "server-to-client",
+ "source": "server/sockets/voice.js",
+ "line": 256
+ }
+ ]
+ },
+ {
+ "event": "voice:idle",
+ "directions": [
+ "server-to-client"
+ ],
+ "sources": [
+ {
+ "direction": "server-to-client",
+ "source": "client/src/hooks/useOpenWorldData.js",
+ "line": 280
+ },
+ {
+ "direction": "server-to-client",
+ "source": "server/sockets/voice.js",
+ "line": 133
+ },
+ {
+ "direction": "server-to-client",
+ "source": "server/sockets/voice.js",
+ "line": 213
+ },
+ {
+ "direction": "server-to-client",
+ "source": "server/sockets/voice.js",
+ "line": 225
+ }
+ ]
+ },
+ {
+ "event": "voice:interrupt",
+ "directions": [
+ "client-to-server"
+ ],
+ "sources": [
+ {
+ "direction": "client-to-server",
+ "source": "client/src/services/voiceClient.js",
+ "line": 472
+ },
+ {
+ "direction": "client-to-server",
+ "source": "client/src/services/voiceClient.js",
+ "line": 575
+ },
+ {
+ "direction": "client-to-server",
+ "source": "client/src/services/voiceClient.js",
+ "line": 913
+ },
+ {
+ "direction": "client-to-server",
+ "source": "client/src/services/voiceClient.js",
+ "line": 1114
+ },
+ {
+ "direction": "client-to-server",
+ "source": "server/sockets/voice.js",
+ "line": 207
+ }
+ ]
+ },
+ {
+ "event": "voice:output:available",
+ "directions": [
+ "client-to-server"
+ ],
+ "sources": [
+ {
+ "direction": "client-to-server",
+ "source": "client/src/services/voiceClient.js",
+ "line": 409
+ },
+ {
+ "direction": "client-to-server",
+ "source": "server/sockets/voice.js",
+ "line": 341
+ }
+ ]
+ },
+ {
+ "event": "voice:output:claim",
+ "directions": [
+ "client-to-server"
+ ],
+ "sources": [
+ {
+ "direction": "client-to-server",
+ "source": "client/src/services/voiceClient.js",
+ "line": 400
+ },
+ {
+ "direction": "client-to-server",
+ "source": "server/sockets/voice.js",
+ "line": 349
+ }
+ ]
+ },
+ {
+ "event": "voice:output:detached",
+ "directions": [
+ "server-to-client"
+ ],
+ "sources": [
+ {
+ "direction": "server-to-client",
+ "source": "client/src/services/voiceClient.js",
+ "line": 426
+ }
+ ]
+ },
+ {
+ "event": "voice:output:primary",
+ "directions": [
+ "server-to-client"
+ ],
+ "sources": [
+ {
+ "direction": "server-to-client",
+ "source": "client/src/services/voiceClient.js",
+ "line": 421
+ },
+ {
+ "direction": "server-to-client",
+ "source": "server/services/voice/voiceOutput.js",
+ "line": 91
+ }
+ ]
+ },
+ {
+ "event": "voice:reset",
+ "directions": [
+ "client-to-server"
+ ],
+ "sources": [
+ {
+ "direction": "client-to-server",
+ "source": "client/src/services/voiceClient.js",
+ "line": 580
+ },
+ {
+ "direction": "client-to-server",
+ "source": "server/sockets/voice.js",
+ "line": 216
+ }
+ ]
+ },
+ {
+ "event": "voice:screenshot:result",
+ "directions": [
+ "client-to-server"
+ ],
+ "sources": [
+ {
+ "direction": "client-to-server",
+ "source": "client/src/services/voiceClient.js",
+ "line": 692
+ },
+ {
+ "direction": "client-to-server",
+ "source": "server/sockets/voice.js",
+ "line": 301
+ }
+ ]
+ },
+ {
+ "event": "voice:speak",
+ "directions": [
+ "server-to-client"
+ ],
+ "sources": [
+ {
+ "direction": "server-to-client",
+ "source": "client/src/services/voiceClient.js",
+ "line": 364
+ },
+ {
+ "direction": "server-to-client",
+ "source": "server/services/voice/voiceOutput.js",
+ "line": 4
+ }
+ ]
+ },
+ {
+ "event": "voice:text",
+ "directions": [
+ "client-to-server"
+ ],
+ "sources": [
+ {
+ "direction": "client-to-server",
+ "source": "client/src/services/voiceClient.js",
+ "line": 537
+ },
+ {
+ "direction": "client-to-server",
+ "source": "server/sockets/voice.js",
+ "line": 183
+ }
+ ]
+ },
+ {
+ "event": "voice:transcript",
+ "directions": [
+ "server-to-client"
+ ],
+ "sources": [
+ {
+ "direction": "server-to-client",
+ "source": "client/src/services/voiceClient.js",
+ "line": 467
+ }
+ ]
+ },
+ {
+ "event": "voice:tts:audio",
+ "directions": [
+ "server-to-client"
+ ],
+ "sources": [
+ {
+ "direction": "server-to-client",
+ "source": "client/src/services/voiceClient.js",
+ "line": 343
+ }
+ ]
+ },
+ {
+ "event": "voice:turn",
+ "directions": [
+ "client-to-server"
+ ],
+ "sources": [
+ {
+ "direction": "client-to-server",
+ "source": "client/src/services/voiceClient.js",
+ "line": 529
+ },
+ {
+ "direction": "client-to-server",
+ "source": "client/src/services/voiceClient.js",
+ "line": 846
+ },
+ {
+ "direction": "client-to-server",
+ "source": "server/sockets/voice.js",
+ "line": 149
+ }
+ ]
+ },
+ {
+ "event": "voice:ui:index",
+ "directions": [
+ "client-to-server"
+ ],
+ "sources": [
+ {
+ "direction": "client-to-server",
+ "source": "client/src/hooks/useVoiceUiSync.js",
+ "line": 79
+ },
+ {
+ "direction": "client-to-server",
+ "source": "server/sockets/voice.js",
+ "line": 264
+ }
+ ]
+ },
+ {
+ "event": "voice:ui:read-request",
+ "directions": [
+ "server-to-client"
+ ],
+ "sources": [
+ {
+ "direction": "server-to-client",
+ "source": "client/src/hooks/useVoiceUiSync.js",
+ "line": 101
+ }
+ ]
+ },
+ {
+ "event": "voice:ui:read-response",
+ "directions": [
+ "client-to-server"
+ ],
+ "sources": [
+ {
+ "direction": "client-to-server",
+ "source": "client/src/hooks/useVoiceUiSync.js",
+ "line": 99
+ },
+ {
+ "direction": "client-to-server",
+ "source": "server/sockets/voice.js",
+ "line": 319
+ }
+ ]
+ },
+ {
+ "event": "writers-room:scene-image",
+ "directions": [
+ "server-to-client"
+ ],
+ "sources": [
+ {
+ "direction": "server-to-client",
+ "source": "client/src/components/writers-room/LiveRenderPanel.jsx",
+ "line": 144
+ },
+ {
+ "direction": "server-to-client",
+ "source": "server/services/socket.js",
+ "line": 261
+ }
+ ]
+ }
+ ],
+ "stats": {
+ "events": 253,
+ "clientToServer": 56,
+ "serverToClient": 205,
+ "bidirectional": 8,
+ "sourceFiles": 103
+ }
+}
diff --git a/server/lib/socketEventCatalog.js b/server/lib/socketEventCatalog.js
new file mode 100644
index 0000000000..ecbc72c4bf
--- /dev/null
+++ b/server/lib/socketEventCatalog.js
@@ -0,0 +1,46 @@
+/** Searchable projection of the generated Socket.IO call-site inventory. */
+
+import { readFileSync } from 'node:fs';
+import { socketEventContract } from './socketEventContracts.js';
+
+const manifest = JSON.parse(readFileSync(
+ new URL('./socketEventCatalog.generated.json', import.meta.url),
+ 'utf8',
+));
+
+const titleCase = (value) => value
+ .replace(/[-_]+/g, ' ')
+ .replace(/\b\w/g, (char) => char.toUpperCase());
+
+export const socketDomainForEvent = (event) => event.split(':', 1)[0] || 'socket';
+
+export const buildSocketEventCatalog = () => {
+ const events = manifest.events.map((event) => {
+ const domain = socketDomainForEvent(event.event);
+ const contracts = Object.fromEntries(event.directions.flatMap((direction) => {
+ const contract = socketEventContract(event.event, direction);
+ return contract ? [[direction, contract]] : [];
+ }));
+ const modeledDirections = Object.keys(contracts);
+ return {
+ ...event,
+ domain,
+ domainLabel: titleCase(domain),
+ summary: Object.values(contracts)[0]?.summary || `${titleCase(event.event)} Socket.IO event`,
+ contractStatus: modeledDirections.length ? 'modeled' : 'generated',
+ modeledDirections,
+ payloadSchemas: Object.fromEntries(Object.entries(contracts).map(([direction, contract]) => [direction, contract.payloadSchema])),
+ };
+ });
+ const domains = [...new Set(events.map((event) => event.domain))]
+ .map((id) => ({ id, label: titleCase(id), events: events.filter((event) => event.domain === id).length }));
+ const modeled = events.filter((event) => event.contractStatus === 'modeled').length;
+ return {
+ schemaVersion: 1,
+ generatedFrom: manifest.generatedFrom,
+ regenerateCommand: 'node scripts/generate-socket-event-catalog.js',
+ stats: { ...manifest.stats, domains: domains.length, modeled, generated: events.length - modeled },
+ domains,
+ events,
+ };
+};
diff --git a/server/lib/socketEventCatalog.test.js b/server/lib/socketEventCatalog.test.js
new file mode 100644
index 0000000000..5f3258f4dc
--- /dev/null
+++ b/server/lib/socketEventCatalog.test.js
@@ -0,0 +1,20 @@
+import { describe, expect, it } from 'vitest';
+import { buildSocketEventCatalog } from './socketEventCatalog.js';
+
+describe('socket event catalog', () => {
+ it('projects domains, directions, source pointers, and runtime-backed coverage', () => {
+ const catalog = buildSocketEventCatalog();
+ expect(catalog.stats.events).toBeGreaterThan(100);
+ expect(catalog.stats.modeled).toBeGreaterThan(10);
+ expect(catalog.domains.find((domain) => domain.id === 'cos').events).toBeGreaterThan(5);
+ expect(catalog.events.find((event) => event.event === 'shell:input')).toMatchObject({
+ contractStatus: 'modeled',
+ modeledDirections: ['client-to-server'],
+ payloadSchemas: { 'client-to-server': expect.objectContaining({ type: 'object' }) },
+ });
+ expect(catalog.events.find((event) => event.event === 'cos:mind:event')).toMatchObject({
+ contractStatus: 'generated',
+ directions: ['server-to-client'],
+ });
+ });
+});
diff --git a/server/lib/socketEventContracts.js b/server/lib/socketEventContracts.js
new file mode 100644
index 0000000000..85f192e74f
--- /dev/null
+++ b/server/lib/socketEventContracts.js
@@ -0,0 +1,45 @@
+/** Runtime-backed payload contracts for modeled client-to-server Socket.IO events. */
+
+import { zodToOpenApiSchema } from './apiContractSchemas.js';
+import {
+ appDeploySchema,
+ appStandardizeSchema,
+ appUpdateSchema,
+ detectStartSchema,
+ errorRecoverSchema,
+ logsSubscribeSchema,
+ logsUnsubscribeSchema,
+ shellAttachSchema,
+ shellCdSchema,
+ shellInputSchema,
+ shellResizeSchema,
+ shellStopSchema,
+ standardizeStartSchema,
+} from './socketValidation.js';
+
+const input = (schema, summary) => Object.freeze({
+ direction: 'client-to-server',
+ summary,
+ payloadSchema: zodToOpenApiSchema(schema),
+});
+
+export const SOCKET_EVENT_CONTRACTS = Object.freeze({
+ 'app:deploy': input(appDeploySchema, 'Deploy a managed app with allowlisted flags.'),
+ 'app:standardize': input(appStandardizeSchema, 'Standardize one registered app.'),
+ 'app:update': input(appUpdateSchema, 'Run the update lifecycle for one registered app.'),
+ 'detect:start': input(detectStartSchema, 'Start streamed application detection.'),
+ 'error:recover': input(errorRecoverSchema, 'Request a bounded recovery task for a reported error.'),
+ 'logs:subscribe': input(logsSubscribeSchema, 'Subscribe to a bounded process-log tail.'),
+ 'logs:unsubscribe': input(logsUnsubscribeSchema, 'Release one process-log subscription or all legacy subscriptions.'),
+ 'shell:attach': input(shellAttachSchema, 'Attach this socket to an existing terminal session.'),
+ 'shell:cd': input(shellCdSchema, 'Change an existing terminal session directory.'),
+ 'shell:input': input(shellInputSchema, 'Write bytes to an existing terminal session.'),
+ 'shell:resize': input(shellResizeSchema, 'Resize an existing terminal session.'),
+ 'shell:stop': input(shellStopSchema, 'Stop an existing terminal session.'),
+ 'standardize:start': input(standardizeStartSchema, 'Start streamed PM2 standardization for a repository.'),
+});
+
+export const socketEventContract = (event, direction) => {
+ const contract = SOCKET_EVENT_CONTRACTS[event];
+ return contract?.direction === direction ? contract : null;
+};
diff --git a/server/routes/agentContextMcp.js b/server/routes/agentContextMcp.js
index 2726954f22..65947aa642 100644
--- a/server/routes/agentContextMcp.js
+++ b/server/routes/agentContextMcp.js
@@ -1,4 +1,5 @@
import { Router } from 'express';
+import { randomUUID } from 'node:crypto';
import { asyncHandler, ServerError } from '../lib/errorHandler.js';
import {
AGENT_CONTEXT_PROTOCOL_VERSION,
@@ -126,8 +127,8 @@ router.post('/mcp', asyncHandler(async (req, res) => {
res.json(jsonRpcResult(message.id, {
protocolVersion,
capabilities: { tools: { listChanged: false } },
- serverInfo: { name: 'PortOS Agent Context', version: '1' },
- instructions: 'Read-only, local-only context. Inspect context_profile before querying personal scopes.',
+ serverInfo: { name: 'PortOS Agent Tools', version: '1' },
+ instructions: 'Local-only MCP. Context tools remain read-only; semantic actions appear only when separately granted. Inspect context_profile before querying personal scopes.',
}));
return;
}
@@ -158,7 +159,10 @@ router.post('/mcp', asyncHandler(async (req, res) => {
enabled: true,
profile: req.agentContextManifest.profile,
scopes: req.agentContextManifest.scopes,
+ actions: req.agentContextManifest.actions,
},
+ }, {
+ requestId: `agent-mcp:${req.get('idempotency-key') || randomUUID()}`,
});
res.json(jsonRpcResult(message.id, result));
return;
diff --git a/server/routes/agentContextMcp.test.js b/server/routes/agentContextMcp.test.js
index ec639980d6..b61f835f47 100644
--- a/server/routes/agentContextMcp.test.js
+++ b/server/routes/agentContextMcp.test.js
@@ -28,6 +28,7 @@ const enabledManifest = {
configurationValid: true,
profile: 'metadata',
scopes: ['navigation', 'workspaces'],
+ actions: { readPortos: false, writePortos: false },
tools: [{ name: 'context_profile', inputSchema: { type: 'object' } }],
};
@@ -84,6 +85,8 @@ describe('agentContextMcp route', () => {
expect(initialize.status).toBe(200);
expect(initialize.body.result.protocolVersion).toBe('2025-11-25');
expect(initialize.body.result.capabilities.tools).toEqual({ listChanged: false });
+ expect(initialize.body.result.serverInfo.name).toBe('PortOS Agent Tools');
+ expect(initialize.body.result.instructions).toMatch(/semantic actions/i);
const tools = await mcpPost({ jsonrpc: '2.0', id: 2, method: 'tools/list', params: {} });
expect(tools.body.result.tools).toEqual(enabledManifest.tools);
@@ -98,7 +101,14 @@ describe('agentContextMcp route', () => {
});
expect(called.status).toBe(200);
expect(mocks.callAgentContextTool).toHaveBeenCalledWith('context_profile', {}, {
- agentContext: { enabled: true, profile: 'metadata', scopes: ['navigation', 'workspaces'] },
+ agentContext: {
+ enabled: true,
+ profile: 'metadata',
+ scopes: ['navigation', 'workspaces'],
+ actions: { readPortos: false, writePortos: false },
+ },
+ }, {
+ requestId: expect.stringMatching(/^agent-mcp:/),
});
const notification = await mcpPost({ jsonrpc: '2.0', method: 'notifications/initialized' });
diff --git a/server/routes/apiDocs.js b/server/routes/apiDocs.js
index ecffed4268..7f65f80b73 100644
--- a/server/routes/apiDocs.js
+++ b/server/routes/apiDocs.js
@@ -1,9 +1,9 @@
/**
* API Docs routes.
*
- * Serves a native OpenAPI 3.1 spec describing PortOS's public API surface
- * (built from server/lib/apiRegistry.js + openapiSpec.js). The client renders
- * it on the /api-access page — no swagger-ui dependency.
+ * Serves generated OpenAPI 3.1, AsyncAPI 3, and searchable catalog documents.
+ * The client renders the OpenAPI documents with the lazy-loaded Scalar viewer
+ * and uses the compact catalogs for the native HTTP/event explorer tabs.
*
* Mounted at /api/api-docs. Stays GATED when the PortOS password is on (it's a
* normal /api/* route, not in the registry's public prefixes): the spec
@@ -15,7 +15,10 @@ import { Router } from 'express';
import { asyncHandler } from '../lib/errorHandler.js';
import { getSettings } from '../services/settings.js';
import { getCurrentVersion } from '../services/updateChecker.js';
-import { buildOpenApiSpec } from '../lib/openapiSpec.js';
+import { buildApiCatalog } from '../lib/apiCatalog.js';
+import { buildAsyncApiSpec } from '../lib/asyncApiSpec.js';
+import { buildInternalOpenApiSpec, buildOpenApiSpec } from '../lib/openapiSpec.js';
+import { buildSocketEventCatalog } from '../lib/socketEventCatalog.js';
const router = Router();
@@ -34,4 +37,26 @@ router.get('/openapi.json', asyncHandler(async (req, res) => {
res.json(buildOpenApiSpec(settings, { baseUrl: baseUrlFromReq(req), version }));
}));
+// GET /api/api-docs/internal/openapi.json — every mounted HTTP operation.
+router.get('/internal/openapi.json', asyncHandler(async (req, res) => {
+ const [settings, version] = await Promise.all([getSettings(), getCurrentVersion()]);
+ res.json(buildInternalOpenApiSpec(settings, { baseUrl: baseUrlFromReq(req), version }));
+}));
+
+// GET /api/api-docs/catalog.json — compact searchable metadata for the UI.
+router.get('/catalog.json', asyncHandler(async (_req, res) => {
+ res.json(buildApiCatalog(await getSettings()));
+}));
+
+// GET /api/api-docs/events.json — searchable Socket.IO event metadata.
+router.get('/events.json', (_req, res) => {
+ res.json(buildSocketEventCatalog());
+});
+
+// GET /api/api-docs/asyncapi.json — AsyncAPI 3 for the Socket.IO transport.
+router.get('/asyncapi.json', asyncHandler(async (req, res) => {
+ const version = await getCurrentVersion();
+ res.json(buildAsyncApiSpec({ baseUrl: baseUrlFromReq(req), version }));
+}));
+
export default router;
diff --git a/server/routes/apiDocs.test.js b/server/routes/apiDocs.test.js
index fe46cfd4af..b81bc3dc90 100644
--- a/server/routes/apiDocs.test.js
+++ b/server/routes/apiDocs.test.js
@@ -40,4 +40,31 @@ describe('GET /api/api-docs/openapi.json', () => {
const res = await request(buildApp()).get('/api/api-docs/openapi.json');
expect(res.body.servers[0].url).toMatch(/^http:\/\/127\.0\.0\.1:\d+$/);
});
+
+ it('serves the complete internal spec independently of public exposure', async () => {
+ const res = await request(buildApp()).get('/api/api-docs/internal/openapi.json');
+ expect(res.status).toBe(200);
+ expect(res.body.paths['/api/cos/mind/tools'].get).toBeDefined();
+ expect(Object.keys(res.body.paths).length).toBeGreaterThan(1000);
+ });
+
+ it('serves searchable catalog metadata and registry cards', async () => {
+ const res = await request(buildApp()).get('/api/api-docs/catalog.json');
+ expect(res.status).toBe(200);
+ expect(res.body.stats.operations).toBeGreaterThan(2000);
+ expect(res.body.operations[0].contractStatus).toMatch(/modeled|generated/);
+ expect(res.body.externallyExposableApis.map((entry) => entry.id)).toEqual(['voice', 'sdapi']);
+ });
+
+ it('serves the generated Socket.IO catalog and AsyncAPI 3 document', async () => {
+ const events = await request(buildApp()).get('/api/api-docs/events.json');
+ expect(events.status).toBe(200);
+ expect(events.body.stats.events).toBeGreaterThan(100);
+ expect(events.body.events.some((event) => event.event === 'cos:mind:event')).toBe(true);
+
+ const asyncapi = await request(buildApp()).get('/api/api-docs/asyncapi.json');
+ expect(asyncapi.status).toBe(200);
+ expect(asyncapi.body.asyncapi).toBe('3.0.0');
+ expect(Object.values(asyncapi.body.channels).some((channel) => channel.address === 'shell:start')).toBe(true);
+ });
});
diff --git a/server/routes/cos.js b/server/routes/cos.js
index 3a3cffe53b..899cb20205 100644
--- a/server/routes/cos.js
+++ b/server/routes/cos.js
@@ -14,6 +14,7 @@ import templateRoutes from './cosTemplateRoutes.js';
import insightRoutes from './cosInsightRoutes.js';
import workflowRoutes from './cosWorkflowRoutes.js';
import mindRoutes from './cosMindRoutes.js';
+import toolRoutes from './cosToolRoutes.js';
const router = Router();
@@ -28,5 +29,6 @@ router.use(templateRoutes);
router.use(insightRoutes);
router.use(workflowRoutes);
router.use(mindRoutes);
+router.use(toolRoutes);
export default router;
diff --git a/server/routes/cosMindRoutes.test.js b/server/routes/cosMindRoutes.test.js
index 62dd75cd41..1082a127a9 100644
--- a/server/routes/cosMindRoutes.test.js
+++ b/server/routes/cosMindRoutes.test.js
@@ -159,7 +159,7 @@ describe('persistent mind routes', () => {
expect(res.body).toMatchObject({
events: [], gap: false, state: { status: 'idle' },
profile: { enabled: true, providerId: 'demo', model: 'demo-model', effort: 'high', thinkingInterface: 'text' },
- capabilities: { schemaVersion: 1, createTasks: true },
+ capabilities: { schemaVersion: 2, createTasks: true, readPortos: false, writePortos: false },
harness: { type: 'api', recommendation: 'recommended' },
autonomyMode: 'execute',
});
@@ -192,15 +192,14 @@ describe('persistent mind routes', () => {
const res = await get('/mind/tools');
expect(res.status).toBe(200);
expect(res.body).toMatchObject({
- schemaVersion: 1,
- capabilities: { schemaVersion: 1, createTasks: true },
+ schemaVersion: 2,
+ capabilities: { schemaVersion: 2, createTasks: true, readPortos: false, writePortos: false },
boundaries: expect.arrayContaining([expect.stringMatching(/arbitrary shell/i)]),
- tools: [expect.objectContaining({
- id: 'cos.create-task',
- capability: 'createTasks',
- granted: true,
- defaultEnabled: false,
- })],
+ tools: expect.arrayContaining([
+ expect.objectContaining({ id: 'cos.create-task', capability: 'createTasks', granted: true, defaultEnabled: false }),
+ expect.objectContaining({ id: 'portos.read', capability: 'readPortos', granted: false, defaultEnabled: false }),
+ expect.objectContaining({ id: 'portos.write', capability: 'writePortos', granted: false, defaultEnabled: false }),
+ ]),
taskCatalog: {
apps: [{ id: 'demo-app', planOnly: true }],
providers: [{ id: 'codex' }],
diff --git a/server/routes/cosToolRoutes.js b/server/routes/cosToolRoutes.js
new file mode 100644
index 0000000000..727c1a9198
--- /dev/null
+++ b/server/routes/cosToolRoutes.js
@@ -0,0 +1,67 @@
+/** Authenticated HTTP transport for the provider-neutral CoS tool registry. */
+
+import { createHash } from 'node:crypto';
+import { Router } from 'express';
+import {
+ cosToolCallParamsSchema,
+ cosToolCallSchema,
+ cosToolCatalogQuerySchema,
+} from '../lib/cosToolContracts.js';
+import { asyncHandler, ServerError } from '../lib/errorHandler.js';
+import { canonicalStringify } from '../lib/objects.js';
+import { validateRequest } from '../lib/validation.js';
+import { loadState } from '../services/cosState.js';
+import { getSettings } from '../services/settings.js';
+import {
+ executeCosToolCall,
+ formatCosToolCatalog,
+ getCosToolCall,
+ getCosToolCatalog,
+} from '../services/cosToolRegistry.js';
+
+const router = Router();
+
+const etagFor = (value) => `"${createHash('sha256').update(canonicalStringify(value)).digest('base64url')}"`;
+
+router.get('/tools', asyncHandler(async (req, res) => {
+ const query = validateRequest(cosToolCatalogQuerySchema, req.query);
+ const [state, settings] = await Promise.all([loadState(), getSettings()]);
+ const catalog = getCosToolCatalog({
+ scope: query.scope,
+ intent: query.intent,
+ capabilities: query.scope === 'agent'
+ ? settings.agentContext?.actions
+ : state.config?.persistentMindCapabilities,
+ });
+ const response = formatCosToolCatalog(catalog, query.format);
+ const etag = etagFor(response);
+ res.setHeader('ETag', etag);
+ res.setHeader('Cache-Control', 'private, no-cache');
+ if (req.headers['if-none-match'] === etag) return res.status(304).end();
+ res.json(response);
+}));
+
+router.post('/tools/call', asyncHandler(async (req, res) => {
+ const call = validateRequest(cosToolCallSchema, req.body || {});
+ const headerId = req.headers['idempotency-key'];
+ if (headerId && headerId !== call.requestId) {
+ throw new ServerError('Idempotency-Key must match requestId', { status: 400, code: 'TOOL_IDEMPOTENCY_MISMATCH' });
+ }
+ const result = await executeCosToolCall({
+ call,
+ authority: {
+ scope: 'ui',
+ authenticated: req.portosAuthContext?.authenticated === true,
+ },
+ });
+ res.status(result.state === 'failed' ? 422 : 200).json(result);
+}));
+
+router.get('/tools/calls/:requestId', asyncHandler(async (req, res) => {
+ const { requestId } = validateRequest(cosToolCallParamsSchema, req.params);
+ const result = await getCosToolCall(requestId);
+ if (!result) throw new ServerError('Tool call not found', { status: 404, code: 'TOOL_CALL_NOT_FOUND' });
+ res.json(result);
+}));
+
+export default router;
diff --git a/server/routes/cosToolRoutes.test.js b/server/routes/cosToolRoutes.test.js
new file mode 100644
index 0000000000..bf33df528b
--- /dev/null
+++ b/server/routes/cosToolRoutes.test.js
@@ -0,0 +1,93 @@
+import { beforeEach, describe, expect, it, vi } from 'vitest';
+import express from 'express';
+import { request } from '../lib/testHelper.js';
+import { errorMiddleware } from '../lib/errorHandler.js';
+
+const mocks = vi.hoisted(() => ({
+ catalog: vi.fn(),
+ format: vi.fn(),
+ execute: vi.fn(),
+ getCall: vi.fn(),
+}));
+
+vi.mock('../services/cosState.js', () => ({
+ loadState: vi.fn(async () => ({ config: { persistentMindCapabilities: { readPortos: true } } })),
+}));
+vi.mock('../services/settings.js', () => ({
+ getSettings: vi.fn(async () => ({ agentContext: { actions: { readPortos: false, writePortos: true } } })),
+}));
+vi.mock('../services/cosToolRegistry.js', () => ({
+ getCosToolCatalog: (...args) => mocks.catalog(...args),
+ formatCosToolCatalog: (...args) => mocks.format(...args),
+ executeCosToolCall: (...args) => mocks.execute(...args),
+ getCosToolCall: (...args) => mocks.getCall(...args),
+}));
+
+import routes from './cosToolRoutes.js';
+
+const buildApp = ({ authenticated = false } = {}) => {
+ const app = express();
+ app.use(express.json());
+ app.use((req, _res, next) => {
+ req.portosAuthContext = { authenticated };
+ next();
+ });
+ app.use('/api/cos', routes);
+ app.use(errorMiddleware);
+ return app;
+};
+
+beforeEach(() => {
+ vi.clearAllMocks();
+ mocks.catalog.mockReturnValue({ type: 'portos_tool_catalog', schemaVersion: 1, tools: [] });
+ mocks.format.mockImplementation((catalog) => catalog);
+ mocks.execute.mockResolvedValue({ type: 'portos_tool_result', requestId: 'call-1', state: 'completed' });
+ mocks.getCall.mockResolvedValue({ type: 'portos_tool_result', requestId: 'call-1', state: 'completed' });
+});
+
+describe('CoS tool routes', () => {
+ it('serves filtered/provider-formatted catalogs with a conditional ETag', async () => {
+ const first = await request(buildApp()).get('/api/cos/tools?scope=mind&format=openai');
+ expect(first.status).toBe(200);
+ expect(first.headers.etag).toBeTruthy();
+ expect(mocks.catalog).toHaveBeenCalledWith(expect.objectContaining({ scope: 'mind' }));
+ expect(mocks.format).toHaveBeenCalledWith(expect.any(Object), 'openai');
+ const second = await request(buildApp()).get('/api/cos/tools?scope=mind&format=openai').set('If-None-Match', first.headers.etag);
+ expect(second.status).toBe(304);
+ });
+
+ it('uses CoS-agent MCP grants for the agent catalog scope', async () => {
+ const response = await request(buildApp()).get('/api/cos/tools?scope=agent');
+ expect(response.status).toBe(200);
+ expect(mocks.catalog).toHaveBeenCalledWith(expect.objectContaining({
+ scope: 'agent',
+ capabilities: { readPortos: false, writePortos: true },
+ }));
+ });
+
+ it('derives UI authority from the server auth context and checks idempotency headers', async () => {
+ const body = { requestId: 'call-1', name: 'brain.search', arguments: { query: 'example' } };
+ const res = await request(buildApp({ authenticated: true }))
+ .post('/api/cos/tools/call')
+ .set('Idempotency-Key', 'call-1')
+ .send(body);
+ expect(res.status).toBe(200);
+ expect(mocks.execute).toHaveBeenCalledWith(expect.objectContaining({
+ call: expect.objectContaining(body),
+ authority: { scope: 'ui', authenticated: true },
+ }));
+
+ const mismatch = await request(buildApp()).post('/api/cos/tools/call').set('Idempotency-Key', 'other').send(body);
+ expect(mismatch.status).toBe(400);
+ expect(mismatch.body.code).toBe('TOOL_IDEMPOTENCY_MISMATCH');
+ });
+
+ it('reads retained results and 404s missing request ids', async () => {
+ const found = await request(buildApp()).get('/api/cos/tools/calls/call-1');
+ expect(found.status).toBe(200);
+ mocks.getCall.mockResolvedValue(null);
+ const missing = await request(buildApp()).get('/api/cos/tools/calls/missing');
+ expect(missing.status).toBe(404);
+ expect(missing.body.code).toBe('TOOL_CALL_NOT_FOUND');
+ });
+});
diff --git a/server/routes/sdapi.js b/server/routes/sdapi.js
index d44ad2098e..bf76bab3d5 100644
--- a/server/routes/sdapi.js
+++ b/server/routes/sdapi.js
@@ -18,7 +18,7 @@
import { Router } from 'express';
import { join } from 'path';
-import { z } from 'zod';
+import { sdapiTxt2imgBodySchema } from '../lib/apiContractSchemas.js';
import { asyncHandler, ServerError } from '../lib/errorHandler.js';
import { PATHS, tryReadFile } from '../lib/fileUtils.js';
import { getSettings } from '../services/settings.js';
@@ -137,19 +137,8 @@ router.get('/progress', asyncHandler(async (_req, res) => {
// Mirror imageGen.js's generateSchema bounds — A1111 clients can be sloppy
// (e.g. defaulting steps=999 from a preset) and we want a clear 400 instead
// of letting bad values through to the dispatcher.
-const txt2imgSchema = z.object({
- prompt: z.string().min(1).max(8000),
- negative_prompt: z.string().max(8000).optional().nullable(),
- width: z.number().int().min(64).max(2048).optional(),
- height: z.number().int().min(64).max(2048).optional(),
- steps: z.number().int().min(1).max(150).optional(),
- cfg_scale: z.number().min(0).max(30).optional(),
- seed: z.number().int().optional(),
- sd_model_checkpoint: z.string().max(128).optional(),
-}).passthrough(); // tolerate extra A1111 fields the client sends
-
router.post('/txt2img', asyncHandler(async (req, res) => {
- const parsed = txt2imgSchema.safeParse(req.body || {});
+ const parsed = sdapiTxt2imgBodySchema.safeParse(req.body || {});
if (!parsed.success) {
throw new ServerError(`Validation failed: ${parsed.error.issues.map((i) => `${i.path.join('.')}: ${i.message}`).join(', ')}`, { status: 400, code: 'VALIDATION_ERROR' });
}
diff --git a/server/routes/voicePublic.js b/server/routes/voicePublic.js
index d9f32a97fd..ff0f38424e 100644
--- a/server/routes/voicePublic.js
+++ b/server/routes/voicePublic.js
@@ -16,31 +16,21 @@
*/
import { Router } from 'express';
-import { z } from 'zod';
+import { voiceSynthesizeBodySchema } from '../lib/apiContractSchemas.js';
import { asyncHandler, ServerError } from '../lib/errorHandler.js';
import { synthesize, listVoices, VALID_ENGINES } from '../services/voice/tts.js';
import { getVoiceConfig } from '../services/voice/config.js';
-import { MAX_PROACTIVE_TEXT_LEN } from '../services/voice/proactiveSpeech.js';
const router = Router();
-// Shared cap with the in-process function boundary (proactiveSpeech) and the
-// internal /api/voice/test route — imported so the three can't drift.
-const MAX_VOICE_TEXT_LEN = MAX_PROACTIVE_TEXT_LEN;
-
const validEngine = (v) => (VALID_ENGINES.has(v) ? v : undefined);
// .strict() rejects unknown keys so a typo'd field (e.g. "voiceId") fails loudly
// rather than being silently ignored. `text` is trimmed before the length check
// so whitespace-only payloads 400 instead of synthesizing empty audio.
-// Exported so server/lib/openapiSpec.js can assert its (light) copy stays in
-// sync — see openapiSpec.test.js's parity test.
-export const synthesizeBodySchema = z.object({
- text: z.string().trim().min(1).max(MAX_VOICE_TEXT_LEN),
- engine: z.enum(['kokoro', 'piper']).optional(),
- voice: z.string().max(128).optional(),
- rate: z.number().min(0.25).max(4).optional(),
-}).strict();
+// Back-compatible route export; the canonical contract lives in server/lib so
+// route validation and OpenAPI consume the same schema object.
+export const synthesizeBodySchema = voiceSynthesizeBodySchema;
// POST /api/voice/public/synthesize — body { text, engine?, voice?, rate? } → WAV.
// Mirrors /api/voice/test but is the external-facing surface. `synthesize()`
diff --git a/server/services/agentContextMcp.js b/server/services/agentContextMcp.js
index aa6d716b96..01a67bdbc9 100644
--- a/server/services/agentContextMcp.js
+++ b/server/services/agentContextMcp.js
@@ -1,4 +1,4 @@
-import { createHash } from 'crypto';
+import { createHash, randomUUID } from 'node:crypto';
import { getSettings } from './settings.js';
import { BRAIN_SEARCH_TYPES, getBrainProjections } from './brainSearchIndex.js';
import { listContexts } from './workspaceContext.js';
@@ -6,6 +6,7 @@ import { previewLegacyExport, redactSecrets } from './legacyExport.js';
import { NAV_COMMANDS, resolveNavCommand } from '../lib/navManifest.js';
import {
AGENT_CONTEXT_DEFAULT_SCOPES,
+ AGENT_CONTEXT_DEFAULT_ACTIONS,
AGENT_CONTEXT_LIMITS,
AGENT_CONTEXT_PROTOCOL_VERSION,
AGENT_CONTEXT_SCHEMA_VERSION,
@@ -13,6 +14,12 @@ import {
advertiseAgentContextTools,
agentContextSettingsSchema,
} from '../lib/agentContextValidation.js';
+import { normalizePortosSemanticToolGrants } from '../lib/cosToolContracts.js';
+import {
+ executeCosToolCall,
+ formatCosToolCatalog,
+ getCosToolCatalog,
+} from './cosToolRegistry.js';
export const AGENT_CONTEXT_EXCLUSIONS = Object.freeze([
'Privacy Vault and encrypted privacy records',
@@ -48,6 +55,7 @@ export function resolveAgentContextConfig(settings = {}) {
enabled: false,
profile: 'metadata',
scopes: [...AGENT_CONTEXT_DEFAULT_SCOPES],
+ actions: { ...AGENT_CONTEXT_DEFAULT_ACTIONS },
invalid: true,
};
}
@@ -55,6 +63,7 @@ export function resolveAgentContextConfig(settings = {}) {
enabled: parsed.data.enabled ?? false,
profile: parsed.data.profile ?? 'metadata',
scopes: parsed.data.scopes ?? [...AGENT_CONTEXT_DEFAULT_SCOPES],
+ actions: normalizePortosSemanticToolGrants(parsed.data.actions),
invalid: false,
};
}
@@ -211,6 +220,7 @@ const fitItems = (items, limit) => {
const profileOutput = (config) => ({
profile: config.profile,
scopes: config.scopes,
+ actions: config.actions,
limits: {
defaultResults: AGENT_CONTEXT_LIMITS.defaultResults,
maxResults: AGENT_CONTEXT_LIMITS.maxResults,
@@ -286,6 +296,16 @@ const successToolResult = (output) => ({
structuredContent: output,
});
+const semanticToolsForConfig = (config) => {
+ const catalog = getCosToolCatalog({ scope: 'agent', capabilities: config.actions });
+ return {
+ ...catalog,
+ tools: catalog.tools.filter((tool) => tool.granted === true),
+ };
+};
+
+const semanticMcpToolsForConfig = (config) => formatCosToolCatalog(semanticToolsForConfig(config), 'mcp').tools;
+
export function createAgentContextContract({
readSettings = getSettings,
navigationCommands = NAV_COMMANDS,
@@ -325,20 +345,38 @@ export function createAgentContextContract({
scopes: config.scopes,
limits: profileOutput(config).limits,
exclusions: [...AGENT_CONTEXT_EXCLUSIONS],
- tools: advertiseAgentContextTools(config.scopes),
+ actions: config.actions,
+ tools: [
+ ...advertiseAgentContextTools(config.scopes),
+ ...semanticMcpToolsForConfig(config),
+ ],
};
};
- const callTool = async (name, args, settings) => {
+ const callTool = async (name, args, settings, options = {}) => {
const current = settings ?? await readSettings();
const config = resolveAgentContextConfig(current);
if (!config.enabled || config.invalid) return errorToolResult('Agent context is disabled or invalid.');
const tool = AGENT_CONTEXT_TOOL_REGISTRY.find((candidate) => candidate.name === name);
- if (!tool || !TOOL_HANDLERS[name]) return errorToolResult(`Unknown tool: ${cap(name, 120)}`);
- if (tool.requiredScope && !config.scopes.includes(tool.requiredScope)) {
- return errorToolResult(`Tool requires the ${tool.requiredScope} scope.`);
+ if (!tool || !TOOL_HANDLERS[name]) {
+ const semanticTool = semanticToolsForConfig(config).tools.find((candidate) =>
+ candidate.name === name || candidate.providerName === name || candidate.aliases.includes(name));
+ if (!semanticTool) return errorToolResult(`Unknown or ungranted tool: ${cap(name, 120)}`);
+ return executeCosToolCall({
+ call: {
+ requestId: options.requestId || `agent-mcp:${randomUUID()}`,
+ name: semanticTool.name,
+ arguments: args ?? {},
+ },
+ authority: { scope: 'agent', capabilities: config.actions },
+ }).then((result) => ({
+ ...(result.state === 'failed' ? { isError: true } : {}),
+ content: [{ type: 'text', text: JSON.stringify(result) }],
+ structuredContent: result,
+ })).catch((error) => errorToolResult(error?.message || 'Semantic tool call failed.'));
}
+ if (tool.requiredScope && !config.scopes.includes(tool.requiredScope)) return errorToolResult(`Tool requires the ${tool.requiredScope} scope.`);
const parsed = tool.inputSchema.safeParse(args ?? {});
if (!parsed.success) {
@@ -357,4 +395,4 @@ export function createAgentContextContract({
const defaultAgentContextContract = createAgentContextContract();
export const getAgentContextManifest = (settings) => defaultAgentContextContract.getManifest(settings);
-export const callAgentContextTool = (name, args, settings) => defaultAgentContextContract.callTool(name, args, settings);
+export const callAgentContextTool = (name, args, settings, options) => defaultAgentContextContract.callTool(name, args, settings, options);
diff --git a/server/services/agentContextMcp.test.js b/server/services/agentContextMcp.test.js
index e5654c587c..6ce6589335 100644
--- a/server/services/agentContextMcp.test.js
+++ b/server/services/agentContextMcp.test.js
@@ -5,6 +5,8 @@ const mocks = vi.hoisted(() => ({
getBrainProjections: vi.fn(),
listContexts: vi.fn(),
previewLegacyExport: vi.fn(),
+ executeCosToolCall: vi.fn(),
+ getCosToolCatalog: vi.fn(),
}));
vi.mock('./settings.js', () => ({ getSettings: vi.fn(async () => mocks.settings) }));
@@ -23,6 +25,19 @@ vi.mock('../lib/navManifest.js', () => ({
? { path: '/', matched: 'home', command: { id: 'nav.dashboard', path: '/', label: 'Dashboard', section: 'Main', aliases: ['home'] } }
: null,
}));
+vi.mock('./cosToolRegistry.js', () => ({
+ executeCosToolCall: mocks.executeCosToolCall,
+ getCosToolCatalog: mocks.getCosToolCatalog,
+ formatCosToolCatalog: (catalog) => ({
+ tools: catalog.tools.map((tool) => ({
+ name: tool.providerName,
+ description: tool.description,
+ inputSchema: tool.input_schema,
+ outputSchema: tool.output_schema,
+ annotations: { readOnlyHint: tool.policy.sideEffect === 'read' },
+ })),
+ }),
+}));
import { AGENT_CONTEXT_LIMITS } from '../lib/agentContextValidation.js';
import {
@@ -38,6 +53,21 @@ describe('agentContextMcp service', () => {
mocks.listContexts.mockResolvedValue([]);
mocks.getBrainProjections.mockResolvedValue([]);
mocks.previewLegacyExport.mockResolvedValue({ sections: {} });
+ mocks.getCosToolCatalog.mockImplementation(({ capabilities }) => ({
+ tools: capabilities?.readPortos ? [{
+ name: 'brain.search',
+ providerName: 'brain_search',
+ aliases: ['brain_search'],
+ description: 'Search Brain.',
+ input_schema: { type: 'object', properties: {}, additionalProperties: false },
+ output_schema: { type: 'object' },
+ policy: { sideEffect: 'read' },
+ granted: true,
+ }] : [],
+ }));
+ mocks.executeCosToolCall.mockResolvedValue({
+ type: 'portos_tool_result', requestId: 'agent-mcp:test', name: 'brain.search', state: 'completed', result: { ok: true },
+ });
});
it('fails closed to a disabled metadata-only default manifest', async () => {
@@ -46,7 +76,11 @@ describe('agentContextMcp service', () => {
expect(manifest.profile).toBe('metadata');
expect(manifest.scopes).toEqual(['navigation', 'workspaces']);
expect(manifest.transport).toMatchObject({ loopbackOnly: true, stateful: false });
- expect(manifest).toMatchObject({ schemaVersion: 2, limits: { maxApproxTokens: 5_000 } });
+ expect(manifest).toMatchObject({
+ schemaVersion: 3,
+ actions: { readPortos: false, writePortos: false },
+ limits: { maxApproxTokens: 5_000 },
+ });
expect(manifest.exclusions.join(' ')).toMatch(/Privacy Vault/);
});
@@ -56,6 +90,25 @@ describe('agentContextMcp service', () => {
expect(mocks.listContexts).not.toHaveBeenCalled();
});
+ it('advertises and dispatches only explicitly granted semantic tools', async () => {
+ mocks.settings = {
+ agentContext: {
+ enabled: true,
+ scopes: ['navigation'],
+ actions: { readPortos: true, writePortos: false },
+ },
+ };
+ const manifest = await getAgentContextManifest();
+ expect(manifest.tools.map((tool) => tool.name)).toContain('brain_search');
+
+ const result = await callAgentContextTool('brain_search', {}, undefined, { requestId: 'agent-mcp:test' });
+ expect(result.isError).toBeUndefined();
+ expect(mocks.executeCosToolCall).toHaveBeenCalledWith(expect.objectContaining({
+ call: expect.objectContaining({ requestId: 'agent-mcp:test', name: 'brain.search' }),
+ authority: { scope: 'agent', capabilities: { readPortos: true, writePortos: false } },
+ }));
+ });
+
it('metadata profile can match private workspace text without returning it', async () => {
mocks.settings = { agentContext: { enabled: true, profile: 'metadata', scopes: ['workspaces'] } };
mocks.listContexts.mockResolvedValue([{
diff --git a/server/services/authGate.js b/server/services/authGate.js
index 3319971f9a..3561c0ed4f 100644
--- a/server/services/authGate.js
+++ b/server/services/authGate.js
@@ -5,6 +5,7 @@ import { extractToken, isAuthEnabled, verifyPassword, verifySession } from './au
import { extractBasicPassword, isCrossOrigin } from '../../lib/portosAuthCore.js';
import { getSettings, settingsEvents } from './settings.js';
import { isRegistryPublic } from '../lib/apiRegistry.js';
+import { GATED_NON_API_PREFIXES, isAlwaysPublicApiPath } from '../lib/apiAccessPolicy.js';
import { sendErrorResponse, ServerError } from '../lib/errorHandler.js';
// Paths that bypass the auth gate even when a password is set:
@@ -14,21 +15,6 @@ import { sendErrorResponse, ServerError } from '../lib/errorHandler.js';
// session.
// Anything not on this list returns 401 when auth is on and the request has
// no valid token.
-const PUBLIC_API_PATHS = new Set([
- '/api/auth/status',
- '/api/auth/whoami',
- '/api/auth/login',
- '/api/auth/logout',
- '/api/system/health',
-]);
-
-// Non-`/api` API surfaces that must also be gated. `/sdapi/v1/*` is the
-// AUTOMATIC1111-compatible image-gen mount served by sdapiRoutes — it accepts
-// generation requests and exposes the LoRA / model catalog, so a sidecar with
-// network reach but no auth must NOT be able to hit it. Add to this list any
-// future routes that live outside `/api`.
-const GATED_NON_API_PREFIXES = ['/sdapi/'];
-
// Short-lived cache for successful Basic-auth scrypt results so probe cycles
// (3 parallel HTTP requests every 30s) don't re-run scrypt each time. Failed
// results are deliberately not cached so a corrected credential is retried
@@ -53,7 +39,7 @@ const verifyBasicPassword = async (password) => {
export const __testing = { verifyBasicPassword };
const isPublicPath = (path) => {
- if (PUBLIC_API_PATHS.has(path)) return true;
+ if (isAlwaysPublicApiPath(path)) return true;
// /api/* and /data/* are always gated. /sdapi/* (and any future non-/api
// API surface listed above) is also gated. Everything else is the static
// client bundle — index.html / hashed JS+CSS / fonts — which is safe to
diff --git a/server/services/cosToolRegistry.js b/server/services/cosToolRegistry.js
new file mode 100644
index 0000000000..c30d88109c
--- /dev/null
+++ b/server/services/cosToolRegistry.js
@@ -0,0 +1,346 @@
+/**
+ * Capability-oriented tool registry shared by HTTP, voice adapters, and the
+ * Persistent Mind. Raw routes are deliberately not callable through it.
+ */
+
+import { z } from 'zod';
+import {
+ COS_TOOL_SCHEMA_VERSION,
+ cosToolCallSchema,
+ normalizePortosSemanticToolGrants,
+} from '../lib/cosToolContracts.js';
+import { zodToOpenApiSchema } from '../lib/apiContractSchemas.js';
+import { canonicalStringify } from '../lib/objects.js';
+import { sha256Text } from '../lib/fileUtils.js';
+import { ServerError } from '../lib/errorHandler.js';
+import {
+ persistentMindTaskRequestSchema,
+} from '../lib/persistentMindCapabilities.js';
+import { dispatchTool, getToolSpecs, getToolSpecsForIntent } from './voice/tools.js';
+import { executePersistentMindTaskRequests } from './persistentMindTaskCapability.js';
+
+const MAX_CALL_RESULTS = 500;
+const MAX_IDEMPOTENCY_TOMBSTONES = 10_000;
+const IDEMPOTENCY_RETENTION_MS = 24 * 60 * 60 * 1_000;
+
+const VOICE_ADAPTERS = Object.freeze({
+ brain_capture: { id: 'brain.capture', sideEffect: 'write', capability: 'writePortos' },
+ brain_search: { id: 'brain.search', sideEffect: 'read', capability: 'readPortos' },
+ brain_list_recent: { id: 'brain.recent', sideEffect: 'read', capability: 'readPortos' },
+ meatspace_log_drink: { id: 'health.log.drink', sideEffect: 'write', capability: 'writePortos' },
+ meatspace_log_nicotine: { id: 'health.log.nicotine', sideEffect: 'write', capability: 'writePortos' },
+ meatspace_summary_today: { id: 'health.today', sideEffect: 'read', capability: 'readPortos' },
+ meatspace_log_weight: { id: 'health.log.weight', sideEffect: 'write', capability: 'writePortos' },
+ meatspace_log_workout: { id: 'health.log.workout', sideEffect: 'write', capability: 'writePortos' },
+ goal_list: { id: 'goals.list', sideEffect: 'read', capability: 'readPortos' },
+ goal_update_progress: { id: 'goals.update-progress', sideEffect: 'write', capability: 'writePortos' },
+ goal_log_note: { id: 'goals.log-note', sideEffect: 'write', capability: 'writePortos' },
+ pm2_status: { id: 'system.processes.status', sideEffect: 'read', capability: 'readPortos' },
+ feeds_digest: { id: 'feeds.digest', sideEffect: 'read', capability: 'readPortos' },
+ feeds_mark_read: { id: 'feeds.mark-read', sideEffect: 'write', capability: 'writePortos' },
+ daily_log_append: { id: 'journal.append', sideEffect: 'write', capability: 'writePortos' },
+ daily_log_read: { id: 'journal.read', sideEffect: 'read', capability: 'readPortos' },
+ time_now: { id: 'time.now', sideEffect: 'read', capability: 'readPortos' },
+ calendar_today: { id: 'calendar.today', sideEffect: 'read', capability: 'readPortos' },
+ calendar_next: { id: 'calendar.next', sideEffect: 'read', capability: 'readPortos' },
+ weather_now: { id: 'weather.now', sideEffect: 'read', capability: 'readPortos' },
+ code_agent_status: { id: 'cos.agents.status', sideEffect: 'read', capability: 'readPortos' },
+ catalog_lookup: { id: 'catalog.search', sideEffect: 'read', capability: 'readPortos' },
+});
+
+const compactDescription = (description) => {
+ const text = String(description || '').replace(/\s+/g, ' ').trim();
+ const firstSentence = text.match(/^.*?[.!?](?:\s|$)/)?.[0] || text;
+ return firstSentence.slice(0, 280);
+};
+
+const closedInputSchema = (schema) => ({
+ type: 'object',
+ properties: {},
+ ...(schema || {}),
+ additionalProperties: false,
+});
+
+const objectOutputSchema = Object.freeze({ type: 'object', additionalProperties: true });
+
+const voiceTools = (intent) => {
+ const specs = intent ? getToolSpecsForIntent(intent).specs : getToolSpecs();
+ return specs.flatMap((spec) => {
+ const legacyName = spec.function.name;
+ const adapter = VOICE_ADAPTERS[legacyName];
+ if (!adapter) return [];
+ const providerName = adapter.id.replaceAll('.', '_').replaceAll('-', '_');
+ return [{
+ type: 'portos_tool',
+ name: adapter.id,
+ version: COS_TOOL_SCHEMA_VERSION,
+ providerName,
+ aliases: [...new Set([legacyName, providerName])],
+ description: compactDescription(spec.function.description),
+ input_schema: closedInputSchema(spec.function.parameters),
+ output_schema: objectOutputSchema,
+ policy: {
+ scopes: ['agent', 'mind', 'ui', 'voice'],
+ requiredCapabilities: [adapter.capability],
+ sideEffect: adapter.sideEffect,
+ idempotent: adapter.sideEffect === 'read',
+ async: false,
+ confirmation: adapter.sideEffect === 'read' ? 'none' : 'capability-grant',
+ },
+ adapter: { kind: 'voice-tool', legacyName },
+ }];
+ });
+};
+
+const taskTool = Object.freeze({
+ type: 'portos_tool',
+ name: 'cos.create-task',
+ version: COS_TOOL_SCHEMA_VERSION,
+ providerName: 'cos_create_task',
+ aliases: ['cos_create_task'],
+ description: 'Queue one bounded, supervised CoS agent task through the normal scheduler and delivery gates.',
+ input_schema: zodToOpenApiSchema(persistentMindTaskRequestSchema),
+ output_schema: objectOutputSchema,
+ policy: {
+ scopes: ['mind'],
+ requiredCapabilities: ['createTasks'],
+ sideEffect: 'supervised-write',
+ idempotent: true,
+ async: true,
+ confirmation: 'capability-grant',
+ },
+ adapter: { kind: 'persistent-mind-task' },
+});
+
+const toolCatalog = (intent) => [taskTool, ...voiceTools(intent)];
+const toolCalls = new Map();
+const toolCallFingerprints = new Map();
+
+const normalizeToolCapabilities = (raw) => ({
+ ...normalizePortosSemanticToolGrants(raw),
+ createTasks: raw?.createTasks === true,
+});
+
+const publicTool = (tool, { scope, capabilities }) => ({
+ type: tool.type,
+ name: tool.name,
+ version: tool.version,
+ providerName: tool.providerName,
+ aliases: tool.aliases,
+ description: tool.description,
+ input_schema: tool.input_schema,
+ output_schema: tool.output_schema,
+ policy: tool.policy,
+ availableInScope: scope === 'all' || tool.policy.scopes.includes(scope),
+ granted: !['agent', 'mind'].includes(scope)
+ ? null
+ : tool.policy.requiredCapabilities.every((capability) => capabilities[capability] === true),
+});
+
+export const getCosToolCatalog = ({ scope = 'all', intent, capabilities } = {}) => {
+ const grants = normalizeToolCapabilities(capabilities);
+ const tools = toolCatalog(intent)
+ .filter((tool) => scope === 'all' || tool.policy.scopes.includes(scope))
+ .map((tool) => publicTool(tool, { scope, capabilities: grants }));
+ return {
+ type: 'portos_tool_catalog',
+ schemaVersion: COS_TOOL_SCHEMA_VERSION,
+ scope,
+ tools,
+ stats: {
+ total: tools.length,
+ read: tools.filter((tool) => tool.policy.sideEffect === 'read').length,
+ write: tools.filter((tool) => tool.policy.sideEffect !== 'read').length,
+ granted: tools.filter((tool) => tool.granted === true).length,
+ },
+ };
+};
+
+export const formatCosToolCatalog = (catalog, format = 'portos') => {
+ if (format === 'portos') return catalog;
+ const tools = catalog.tools.filter((tool) => tool.granted !== false).map((tool) => {
+ if (format === 'openai') {
+ return { type: 'function', function: { name: tool.providerName, description: tool.description, parameters: tool.input_schema } };
+ }
+ if (format === 'anthropic') {
+ return { name: tool.providerName, description: tool.description, input_schema: tool.input_schema };
+ }
+ return {
+ name: tool.providerName,
+ description: tool.description,
+ inputSchema: tool.input_schema,
+ outputSchema: tool.output_schema,
+ annotations: {
+ readOnlyHint: tool.policy.sideEffect === 'read',
+ destructiveHint: tool.policy.sideEffect === 'destructive',
+ idempotentHint: tool.policy.idempotent,
+ openWorldHint: false,
+ },
+ };
+ });
+ return { type: `${format}_tool_catalog`, schemaVersion: catalog.schemaVersion, scope: catalog.scope, tools };
+};
+
+export const buildPersistentMindToolPrompt = (capabilities) => {
+ const catalog = getCosToolCatalog({ scope: 'mind', capabilities });
+ const tools = catalog.tools.filter((tool) => tool.granted).map((tool) => ({
+ name: tool.name,
+ description: tool.description,
+ input_schema: tool.input_schema,
+ sideEffect: tool.policy.sideEffect,
+ }));
+ if (tools.length === 0) {
+ return `# PortOS semantic tools
+Semantic tool access is OFF. Return an empty toolCalls array. Never invent a tool name or claim that a PortOS action ran.`;
+ }
+ return `# PortOS semantic tools
+You may request up to five calls from the exact catalog below. These are semantic actions, not raw HTTP routes. Never invent a name, route, or argument. Use a stable requestId when practical and never submit the same action in both toolCalls and taskRequests.
+
+${JSON.stringify(tools)}
+
+Calls without requestId are coalesced by canonical tool name and arguments within this turn. Supply distinct requestId values only when two intentionally identical actions must both run.`;
+};
+
+const resolveTool = (name) => toolCatalog().find((tool) =>
+ tool.name === name || tool.providerName === name || tool.aliases.includes(name));
+
+export const isCosTaskToolName = (name) => resolveTool(name)?.adapter.kind === 'persistent-mind-task';
+
+const validateAuthority = (tool, authority) => {
+ const scope = authority?.scope || 'ui';
+ if (!tool.policy.scopes.includes(scope)) {
+ throw new ServerError(`Tool '${tool.name}' is unavailable in the ${scope} scope`, { status: 403, code: 'TOOL_SCOPE_DENIED' });
+ }
+ if (scope === 'mind' || scope === 'agent') {
+ const capabilities = normalizeToolCapabilities(authority.capabilities);
+ const missing = tool.policy.requiredCapabilities.filter((capability) => capabilities[capability] !== true);
+ if (missing.length) {
+ throw new ServerError(`Tool '${tool.name}' is not granted to the ${scope} principal`, { status: 403, code: 'TOOL_CAPABILITY_DENIED' });
+ }
+ }
+ if (scope === 'ui' && tool.policy.sideEffect !== 'read' && authority?.authenticated !== true) {
+ throw new ServerError('Mutating tool calls require an authenticated PortOS session', { status: 403, code: 'TOOL_AUTH_REQUIRED' });
+ }
+};
+
+const validateArguments = (tool, args) => {
+ const schema = z.fromJSONSchema(tool.input_schema);
+ const parsed = schema.safeParse(args);
+ if (!parsed.success) {
+ throw new ServerError(`Invalid arguments for '${tool.name}': ${parsed.error.issues.map((issue) => `${issue.path.join('.')} ${issue.message}`).join('; ')}`, {
+ status: 400,
+ code: 'TOOL_VALIDATION_ERROR',
+ });
+ }
+ return parsed.data;
+};
+
+const executeAdapter = async (tool, args, context) => {
+ if (tool.adapter.kind === 'voice-tool') {
+ return dispatchTool(tool.adapter.legacyName, args, { sideEffects: [], signal: context.signal });
+ }
+ const [outcome] = await executePersistentMindTaskRequests({
+ taskRequests: [args],
+ turnId: context.turnId,
+ wake: context.wake,
+ signal: context.signal,
+ recordCapabilityEvent: context.recordCapabilityEvent,
+ });
+ return {
+ ok: outcome?.success === true,
+ taskId: outcome?.task?.id || null,
+ state: outcome?.success ? 'queued' : 'failed',
+ duplicate: outcome?.duplicate === true,
+ ...(outcome?.error ? { error: String(outcome.error).slice(0, 300) } : {}),
+ };
+};
+
+const trimCallResults = () => {
+ while (toolCalls.size > MAX_CALL_RESULTS) toolCalls.delete(toolCalls.keys().next().value);
+};
+
+const pruneToolCallFingerprints = (now = Date.now()) => {
+ for (const [requestId, entry] of toolCallFingerprints) {
+ if (entry.expiresAt > now) break;
+ toolCallFingerprints.delete(requestId);
+ }
+ while (toolCallFingerprints.size > MAX_IDEMPOTENCY_TOMBSTONES) {
+ toolCallFingerprints.delete(toolCallFingerprints.keys().next().value);
+ }
+};
+
+const normalizeAdapterResult = ({ parsedCall, tool, result }) => {
+ const parsedResult = z.record(z.string(), z.unknown()).safeParse(result);
+ const base = {
+ type: 'portos_tool_result',
+ requestId: parsedCall.requestId,
+ name: tool.name,
+ version: COS_TOOL_SCHEMA_VERSION,
+ duplicate: false,
+ };
+ if (!parsedResult.success) {
+ return { ...base, state: 'failed', error: 'Tool adapter returned an invalid result' };
+ }
+ const failed = parsedResult.data.ok === false || parsedResult.data.state === 'failed';
+ return {
+ ...base,
+ state: failed ? 'failed' : 'completed',
+ ...(failed ? { error: String(parsedResult.data.error || parsedResult.data.summary || 'Tool adapter reported failure').slice(0, 500) } : {}),
+ result: parsedResult.data,
+ };
+};
+
+export const executeCosToolCall = async ({ call, authority, context = {} }) => {
+ const parsedCall = cosToolCallSchema.parse(call);
+ const tool = resolveTool(parsedCall.name);
+ if (!tool) throw new ServerError(`Unknown tool '${parsedCall.name}'`, { status: 404, code: 'TOOL_NOT_FOUND' });
+ validateAuthority(tool, authority);
+ const args = validateArguments(tool, parsedCall.arguments);
+ const fingerprint = sha256Text(canonicalStringify({ name: tool.name, arguments: args, scope: authority?.scope || 'ui' }));
+ pruneToolCallFingerprints();
+ const existing = toolCalls.get(parsedCall.requestId);
+ if (existing) {
+ if (existing.fingerprint !== fingerprint) {
+ throw new ServerError('requestId was already used for a different tool call', { status: 409, code: 'TOOL_IDEMPOTENCY_CONFLICT' });
+ }
+ const result = await existing.promise;
+ return { ...result, duplicate: true };
+ }
+ const retainedFingerprint = toolCallFingerprints.get(parsedCall.requestId);
+ if (retainedFingerprint) {
+ if (retainedFingerprint.fingerprint !== fingerprint) {
+ throw new ServerError('requestId was already used for a different tool call', { status: 409, code: 'TOOL_IDEMPOTENCY_CONFLICT' });
+ }
+ throw new ServerError('requestId result has expired and cannot be replayed safely', { status: 409, code: 'TOOL_IDEMPOTENCY_EXPIRED' });
+ }
+
+ const promise = Promise.resolve()
+ .then(() => executeAdapter(tool, args, context))
+ .then(
+ (result) => normalizeAdapterResult({ parsedCall, tool, result }),
+ (error) => ({
+ type: 'portos_tool_result',
+ requestId: parsedCall.requestId,
+ name: tool.name,
+ version: COS_TOOL_SCHEMA_VERSION,
+ state: 'failed',
+ duplicate: false,
+ error: String(error?.message || error || 'Tool execution failed').slice(0, 500),
+ }),
+ );
+ toolCallFingerprints.set(parsedCall.requestId, {
+ fingerprint,
+ expiresAt: Date.now() + IDEMPOTENCY_RETENTION_MS,
+ });
+ pruneToolCallFingerprints();
+ toolCalls.set(parsedCall.requestId, { fingerprint, promise });
+ trimCallResults();
+ return promise;
+};
+
+export const getCosToolCall = async (requestId) => {
+ const entry = toolCalls.get(requestId);
+ return entry ? entry.promise : null;
+};
+
+export const __testing = { VOICE_ADAPTERS, resolveTool, toolCalls, toolCallFingerprints };
diff --git a/server/services/cosToolRegistry.test.js b/server/services/cosToolRegistry.test.js
new file mode 100644
index 0000000000..ca95179817
--- /dev/null
+++ b/server/services/cosToolRegistry.test.js
@@ -0,0 +1,160 @@
+import { beforeEach, describe, expect, it, vi } from 'vitest';
+
+const mocks = vi.hoisted(() => ({
+ dispatch: vi.fn(),
+ executeTasks: vi.fn(),
+}));
+
+const specs = [
+ {
+ type: 'function',
+ function: {
+ name: 'brain_search',
+ description: 'Search Brain records. Longer voice-only instructions are omitted.',
+ parameters: {
+ type: 'object',
+ properties: { query: { type: 'string' } },
+ required: ['query'],
+ },
+ },
+ },
+ {
+ type: 'function',
+ function: {
+ name: 'brain_capture',
+ description: 'Capture a Brain record.',
+ parameters: {
+ type: 'object',
+ properties: { text: { type: 'string' } },
+ required: ['text'],
+ },
+ },
+ },
+];
+
+vi.mock('./voice/tools.js', () => ({
+ getToolSpecs: () => specs,
+ getToolSpecsForIntent: () => ({ specs, activeGroups: new Set() }),
+ dispatchTool: (...args) => mocks.dispatch(...args),
+}));
+vi.mock('./persistentMindTaskCapability.js', () => ({
+ executePersistentMindTaskRequests: (...args) => mocks.executeTasks(...args),
+}));
+
+import {
+ __testing,
+ buildPersistentMindToolPrompt,
+ executeCosToolCall,
+ formatCosToolCatalog,
+ getCosToolCatalog,
+} from './cosToolRegistry.js';
+
+beforeEach(() => {
+ vi.clearAllMocks();
+ __testing.toolCalls.clear();
+ __testing.toolCallFingerprints.clear();
+ mocks.dispatch.mockResolvedValue({ ok: true });
+ mocks.executeTasks.mockResolvedValue([{ success: true, task: { id: 'task-1' }, duplicate: false }]);
+});
+
+describe('cosToolRegistry', () => {
+ it('exports a compact canonical catalog and provider translations', () => {
+ const catalog = getCosToolCatalog({ scope: 'mind', capabilities: { readPortos: true } });
+ expect(catalog.tools.map((tool) => tool.name)).toEqual(['cos.create-task', 'brain.search', 'brain.capture']);
+ expect(catalog.tools.find((tool) => tool.name === 'brain.search').granted).toBe(true);
+ expect(catalog.tools.find((tool) => tool.name === 'brain.capture').granted).toBe(false);
+ const openai = formatCosToolCatalog(catalog, 'openai');
+ expect(openai.tools).toEqual([
+ expect.objectContaining({ type: 'function', function: expect.objectContaining({ name: 'brain_search' }) }),
+ ]);
+ const mcp = formatCosToolCatalog(catalog, 'mcp');
+ expect(mcp.tools[0].annotations).toMatchObject({ readOnlyHint: true, openWorldHint: false });
+ });
+
+ it('includes only granted tools in the Persistent Mind prompt', () => {
+ const prompt = buildPersistentMindToolPrompt({ readPortos: true });
+ expect(prompt).toContain('brain.search');
+ expect(prompt).not.toContain('brain.capture');
+ });
+
+ it('validates arguments and executes an allowed read', async () => {
+ const signal = new AbortController().signal;
+ const result = await executeCosToolCall({
+ call: { requestId: 'read-1', name: 'brain.search', arguments: { query: 'example' } },
+ authority: { scope: 'ui', authenticated: false },
+ context: { signal },
+ });
+ expect(result.state).toBe('completed');
+ expect(mocks.dispatch).toHaveBeenCalledWith('brain_search', { query: 'example' }, { sideEffects: [], signal });
+ });
+
+ it('blocks untrusted HTTP mutations and ungranted mind tools', async () => {
+ await expect(executeCosToolCall({
+ call: { requestId: 'write-1', name: 'brain.capture', arguments: { text: 'example' } },
+ authority: { scope: 'ui', authenticated: false },
+ })).rejects.toMatchObject({ code: 'TOOL_AUTH_REQUIRED' });
+ await expect(executeCosToolCall({
+ call: { requestId: 'write-2', name: 'brain.capture', arguments: { text: 'example' } },
+ authority: { scope: 'mind', capabilities: { writePortos: false } },
+ })).rejects.toMatchObject({ code: 'TOOL_CAPABILITY_DENIED' });
+ });
+
+ it('coalesces a repeated request id and rejects changed arguments', async () => {
+ const first = await executeCosToolCall({
+ call: { requestId: 'same-1', name: 'brain.search', arguments: { query: 'one' } },
+ authority: { scope: 'ui' },
+ });
+ const replay = await executeCosToolCall({
+ call: { requestId: 'same-1', name: 'brain.search', arguments: { query: 'one' } },
+ authority: { scope: 'ui' },
+ });
+ expect(first.duplicate).toBe(false);
+ expect(replay.duplicate).toBe(true);
+ expect(mocks.dispatch).toHaveBeenCalledTimes(1);
+ await expect(executeCosToolCall({
+ call: { requestId: 'same-1', name: 'brain.search', arguments: { query: 'two' } },
+ authority: { scope: 'ui' },
+ })).rejects.toMatchObject({ code: 'TOOL_IDEMPOTENCY_CONFLICT' });
+ });
+
+ it('fails closed when a retained result is evicted', async () => {
+ await executeCosToolCall({
+ call: { requestId: 'evicted-write', name: 'brain.capture', arguments: { text: 'example' } },
+ authority: { scope: 'mind', capabilities: { writePortos: true } },
+ });
+ for (let index = 0; index < 500; index += 1) {
+ await executeCosToolCall({
+ call: { requestId: `fill-${index}`, name: 'brain.search', arguments: { query: String(index) } },
+ authority: { scope: 'ui' },
+ });
+ }
+ expect(__testing.toolCalls.has('evicted-write')).toBe(false);
+ expect(__testing.toolCallFingerprints.get('evicted-write')?.fingerprint).toMatch(/^[a-f0-9]{64}$/);
+ expect(__testing.toolCallFingerprints.get('evicted-write')?.fingerprint).not.toContain('example');
+ await expect(executeCosToolCall({
+ call: { requestId: 'evicted-write', name: 'brain.capture', arguments: { text: 'example' } },
+ authority: { scope: 'mind', capabilities: { writePortos: true } },
+ })).rejects.toMatchObject({ code: 'TOOL_IDEMPOTENCY_EXPIRED' });
+ expect(mocks.dispatch.mock.calls.filter(([name]) => name === 'brain_capture')).toHaveLength(1);
+ });
+
+ it('promotes adapter-declared failures to the normalized envelope', async () => {
+ mocks.executeTasks.mockResolvedValueOnce([{ success: false, error: 'Queue unavailable' }]);
+ const result = await executeCosToolCall({
+ call: {
+ requestId: 'failed-task',
+ name: 'cos.create-task',
+ arguments: {
+ description: 'Example task', prompt: 'Do the example work.', priority: 'MEDIUM',
+ appId: 'portos', providerId: 'codex', model: '', effort: '', prCompletion: 'review-then-merge',
+ },
+ },
+ authority: { scope: 'mind', capabilities: { createTasks: true } },
+ });
+ expect(result).toMatchObject({
+ state: 'failed',
+ error: 'Queue unavailable',
+ result: { ok: false, state: 'failed', error: 'Queue unavailable' },
+ });
+ });
+});
diff --git a/server/services/persistentMindAdapter.js b/server/services/persistentMindAdapter.js
index 6583cf9d12..a20c397e50 100644
--- a/server/services/persistentMindAdapter.js
+++ b/server/services/persistentMindAdapter.js
@@ -15,7 +15,10 @@ import {
persistentMindTaskRequestSchema,
} from '../lib/persistentMindCapabilities.js';
import { PERSISTENT_MIND_ID } from '../lib/persistentMindTrajectory.js';
+import { COS_TOOL_CALL_LIMITS, persistentMindToolCallSchema } from '../lib/cosToolContracts.js';
import { parseLLMJSON } from '../lib/llmText.js';
+import { canonicalStringify } from '../lib/objects.js';
+import { sha256Text } from '../lib/fileUtils.js';
import { loadState } from './cosState.js';
import {
createPersistentMindMemoryFromCandidate,
@@ -33,8 +36,15 @@ import {
buildPersistentMindVisibilityPrompt,
readPersistentMindVisibility,
} from './persistentMindVisibility.js';
+import {
+ buildPersistentMindToolPrompt,
+ executeCosToolCall,
+ isCosTaskToolName,
+} from './cosToolRegistry.js';
const HEARTBEAT_INTERVAL_MS = 60_000;
+const MAX_TOOL_PROVIDER_ROUNDS = 4;
+const MAX_TOOL_RESULT_CHARS = 4_000;
const memoryCandidateSchema = z.object({
content: z.string().trim().min(1).max(10_240),
@@ -52,12 +62,114 @@ export const persistentMindResponseSchema = z.object({
.max(PERSISTENT_MIND_TASK_LIMITS.maxPerTurn)
.optional()
.default([]),
+ toolCalls: z.array(persistentMindToolCallSchema)
+ .max(COS_TOOL_CALL_LIMITS.maxCallsPerTurn)
+ .optional()
+ .default([]),
selfWake: z.object({
reason: z.string().trim().min(1).max(500),
delayMinutes: z.number().int().min(1).max(10_080),
}).strict().nullable().optional().default(null),
}).strict();
+const boundedToolResult = (result) => {
+ const serialized = JSON.stringify(result);
+ return serialized.length <= MAX_TOOL_RESULT_CHARS
+ ? result
+ : { truncated: true, preview: serialized.slice(0, MAX_TOOL_RESULT_CHARS) };
+};
+
+const toolRequestId = (turnId, call) => `mind-tool-${sha256Text(canonicalStringify(call.requestId
+ ? { turnId, providerRequestId: call.requestId }
+ : { turnId, name: call.name, arguments: call.arguments })).slice(0, 32)}`;
+
+const failedToolResult = (message) => ({
+ state: 'failed',
+ error: String(message || 'Tool execution failed').slice(0, 500),
+});
+
+const executeMindToolCalls = async ({ calls, turnId, wake, signal, capabilities, recordCapabilityEvent, taskBudget }) => {
+ const results = [];
+ for (const candidate of calls) {
+ if (signal?.aborted) throw new Error(String(signal.reason || 'Persistent mind turn interrupted'));
+ const requestId = toolRequestId(turnId, candidate);
+ await recordCapabilityEvent?.({
+ kind: 'request',
+ id: `tool-request:${requestId}`,
+ data: { displayText: `Requested PortOS tool ${candidate.name}`, tool: candidate.name },
+ });
+ const isTaskCall = isCosTaskToolName(candidate.name);
+ const taskLimitReached = isTaskCall && taskBudget.used >= PERSISTENT_MIND_TASK_LIMITS.maxPerTurn;
+ if (isTaskCall && !taskLimitReached) taskBudget.used += 1;
+ const result = taskLimitReached
+ ? failedToolResult(`Persistent Mind task request limit of ${PERSISTENT_MIND_TASK_LIMITS.maxPerTurn} was reached for this turn`)
+ : await executeCosToolCall({
+ call: { ...candidate, requestId },
+ authority: { scope: 'mind', capabilities },
+ context: { turnId, wake, signal, recordCapabilityEvent },
+ }).catch((error) => failedToolResult(error?.message));
+ await recordCapabilityEvent?.({
+ kind: 'result',
+ id: `tool-result:${requestId}`,
+ data: {
+ displayText: `${candidate.name} ${result.state}`,
+ tool: candidate.name,
+ success: result.state === 'completed',
+ },
+ });
+ results.push({
+ requestId: candidate.requestId || requestId,
+ name: candidate.name,
+ state: result.state,
+ ...(result.result !== undefined ? { result: boundedToolResult(result.result) } : {}),
+ ...(result.error ? { error: result.error } : {}),
+ });
+ }
+ return results;
+};
+
+const recordRejectedAction = async ({ requestId, resultRequestId = requestId, name, message, recordCapabilityEvent }) => {
+ await recordCapabilityEvent?.({
+ kind: 'request',
+ id: `tool-request:${requestId}`,
+ data: { displayText: `Requested PortOS tool ${name}`, tool: name },
+ });
+ await recordCapabilityEvent?.({
+ kind: 'result',
+ id: `tool-result:${requestId}`,
+ data: { displayText: `${name} failed`, tool: name, success: false },
+ });
+ return { requestId: resultRequestId, name, state: 'failed', error: message };
+};
+
+const rejectMindToolCalls = async ({ calls, turnId, message, recordCapabilityEvent }) => {
+ const results = [];
+ for (const call of calls) {
+ const internalRequestId = toolRequestId(turnId, call);
+ results.push(await recordRejectedAction({
+ requestId: internalRequestId,
+ resultRequestId: call.requestId || internalRequestId,
+ name: call.name,
+ message,
+ recordCapabilityEvent,
+ }));
+ }
+ return results;
+};
+
+const rejectTaskRequests = async ({ taskRequests, turnId, message, recordCapabilityEvent }) => {
+ const results = [];
+ for (const request of taskRequests) {
+ results.push(await recordRejectedAction({
+ requestId: toolRequestId(turnId, { name: 'cos.create-task', arguments: request }),
+ name: 'cos.create-task',
+ message,
+ recordCapabilityEvent,
+ }));
+ }
+ return results;
+};
+
export function persistentMindHarnessInfo(provider) {
const type = provider?.type || null;
if (type === 'api') {
@@ -99,7 +211,7 @@ const currentWakeText = (wake) => {
return `This is a self-directed wake. Continue one worthwhile thread from the trajectory.\nreason=${wake?.reason || 'scheduled reflection'}`;
};
-export function buildPersistentMindTurnPrompt({ context, wake, taskCapabilityPrompt, visibilityPrompt = '# Persistent Mind environment visibility\nWorkspace and runtime visibility is unknown.' }) {
+export function buildPersistentMindTurnPrompt({ context, wake, taskCapabilityPrompt, toolCapabilityPrompt = '# PortOS semantic tools\nSemantic tool access is OFF.', visibilityPrompt = '# Persistent Mind environment visibility\nWorkspace and runtime visibility is unknown.' }) {
return `${context.text}
${visibilityPrompt}
@@ -109,6 +221,8 @@ ${currentWakeText(wake)}
${taskCapabilityPrompt}
+${toolCapabilityPrompt}
+
# Response contract
Return ONLY one JSON object with this shape:
{
@@ -116,9 +230,10 @@ Return ONLY one JSON object with this shape:
"message": "The conversational reply. Required for a human message; optional for a self-directed wake.",
"memoryCandidates": [{ "content": "A durable fact worth remembering", "summary": "Short label", "type": "fact", "category": "other", "tags": ["optional"] }],
"taskRequests": [{ "description": "Concise queue label", "prompt": "Complete instructions for the agent", "priority": "MEDIUM", "appId": "configured-app-id", "providerId": "configured-provider-id", "model": "configured-model-id-or-empty-for-default", "effort": "high", "planOnly": false, "prCompletion": "review-then-merge", "requiredValidation": ["dependencies"] }],
+ "toolCalls": [{ "requestId": "optional-stable-id", "name": "catalog-name", "arguments": {} }],
"selfWake": { "reason": "Why another wake would be useful", "delayMinutes": 60 }
}
-Use empty arrays when there is no durable memory candidate or task request, and null when no earlier follow-up is needed. Memory candidates are durable memories to save automatically; only include information that is worth retaining. Typed CoS task creation is the only action capability in this lane and is available only when the capability section says ON. This lane still cannot mutate files directly, call arbitrary tools, contact people, or perform other external actions.`;
+Use empty arrays when there is no durable memory candidate, task request, or tool call, and null when no earlier follow-up is needed. Memory candidates are durable memories to save automatically; only include information that is worth retaining. Never put the same CoS task in both taskRequests and toolCalls. This lane cannot mutate files directly, call arbitrary routes, contact people, or exceed the semantic tool catalog.`;
}
const summaryEventLines = (events) => (Array.isArray(events) ? events : []).map((event) => {
@@ -216,27 +331,126 @@ export function createPersistentMindTurnAdapter() {
catalog: taskCatalog,
});
const visibilityPrompt = buildPersistentMindVisibilityPrompt(visibility);
- const result = await runPinnedPrompt({
- provider,
- model,
- effort,
- signal,
- heartbeat,
- prompt: buildPersistentMindTurnPrompt({ context, wake, taskCapabilityPrompt, visibilityPrompt }),
- responseSchema: persistentMindResponseSchema,
+ const toolCapabilityPrompt = buildPersistentMindToolPrompt(taskAccess);
+ const basePrompt = buildPersistentMindTurnPrompt({
+ context,
+ wake,
+ taskCapabilityPrompt,
+ toolCapabilityPrompt,
+ visibilityPrompt,
});
- const parsed = persistentMindResponseSchema.parse(parseLLMJSON(result.text));
+ let providerPrompt = basePrompt;
+ let result;
+ let parsed;
+ let toolCallCount = 0;
+ const taskBudget = { used: 0 };
+ const completedToolResults = [];
+ const actionNotices = new Set();
+ for (let round = 0; round < MAX_TOOL_PROVIDER_ROUNDS; round += 1) {
+ result = await runPinnedPrompt({
+ provider,
+ model,
+ effort,
+ signal,
+ heartbeat,
+ prompt: providerPrompt,
+ responseSchema: persistentMindResponseSchema,
+ });
+ parsed = persistentMindResponseSchema.parse(parseLLMJSON(result.text));
+ const finalProviderRound = round === MAX_TOOL_PROVIDER_ROUNDS - 1;
+ if (finalProviderRound && parsed.toolCalls.length > 0) {
+ const limitMessage = 'The bounded PortOS tool-call round limit was reached; additional requested actions were not executed.';
+ completedToolResults.push(...await rejectMindToolCalls({
+ calls: parsed.toolCalls,
+ turnId,
+ message: limitMessage,
+ recordCapabilityEvent,
+ }));
+ actionNotices.add(limitMessage);
+ if (parsed.taskRequests.length > 0) {
+ const taskMessage = 'Task requests from the final non-terminal tool round were not queued.';
+ completedToolResults.push(...await rejectTaskRequests({
+ taskRequests: parsed.taskRequests,
+ turnId,
+ message: taskMessage,
+ recordCapabilityEvent,
+ }));
+ actionNotices.add(taskMessage);
+ }
+ parsed = { ...parsed, taskRequests: [], toolCalls: [] };
+ break;
+ }
+
+ if (parsed.toolCalls.length === 0) {
+ const remainingTaskRequests = Math.max(0, PERSISTENT_MIND_TASK_LIMITS.maxPerTurn - taskBudget.used);
+ const taskRequests = parsed.taskRequests.slice(0, remainingTaskRequests);
+ const rejectedTaskRequests = parsed.taskRequests.slice(remainingTaskRequests);
+ taskBudget.used += taskRequests.length;
+ await executePersistentMindTaskRequests({
+ taskRequests,
+ turnId,
+ wake,
+ signal,
+ recordCapabilityEvent,
+ });
+ if (rejectedTaskRequests.length > 0) {
+ const limitMessage = `The Persistent Mind task request limit of ${PERSISTENT_MIND_TASK_LIMITS.maxPerTurn} was reached; additional tasks were not queued.`;
+ completedToolResults.push(...await rejectTaskRequests({
+ taskRequests: rejectedTaskRequests,
+ turnId,
+ message: limitMessage,
+ recordCapabilityEvent,
+ }));
+ actionNotices.add(limitMessage);
+ }
+ break;
+ }
+
+ const remaining = Math.max(0, COS_TOOL_CALL_LIMITS.maxCallsPerTurn - toolCallCount);
+ const calls = parsed.toolCalls.slice(0, remaining);
+ const rejectedCalls = parsed.toolCalls.slice(remaining);
+ if (rejectedCalls.length > 0) {
+ const limitMessage = `The PortOS tool-call limit of ${COS_TOOL_CALL_LIMITS.maxCallsPerTurn} was reached; additional calls were not executed.`;
+ completedToolResults.push(...await rejectMindToolCalls({
+ calls: rejectedCalls,
+ turnId,
+ message: limitMessage,
+ recordCapabilityEvent,
+ }));
+ actionNotices.add(limitMessage);
+ }
+ if (parsed.taskRequests.length > 0) {
+ actionNotices.add('Task requests from intermediate tool rounds were deferred; only terminal task requests are queued.');
+ }
+ if (calls.length === 0) {
+ parsed = { ...parsed, taskRequests: [], toolCalls: [] };
+ break;
+ }
+ const toolResults = await executeMindToolCalls({
+ calls,
+ turnId,
+ wake,
+ signal,
+ capabilities: taskAccess,
+ recordCapabilityEvent,
+ taskBudget,
+ });
+ completedToolResults.push(...toolResults);
+ toolCallCount += calls.length;
+ const budgetExhausted = toolCallCount >= COS_TOOL_CALL_LIMITS.maxCallsPerTurn || round === MAX_TOOL_PROVIDER_ROUNDS - 2;
+ providerPrompt = `${basePrompt}\n\n# Completed tool results\n${JSON.stringify(completedToolResults)}\n\n${parsed.taskRequests.length > 0 ? 'Task requests from this intermediate round were not queued. Include only the final desired taskRequests in a terminal response with toolCalls: [].\n' : ''}${budgetExhausted ? 'The tool-call budget is exhausted. Return a final response with toolCalls: [] and do not repeat completed actions.' : 'Use these results to continue. Do not repeat a completed requestId.'}`;
+ }
+ if (actionNotices.size > 0) {
+ const notice = [...actionNotices].join(' ');
+ parsed = wake?.kind === 'message'
+ ? { ...parsed, message: [parsed.message, notice].filter(Boolean).join('\n\n') }
+ : { ...parsed, thinkingSummary: [parsed.thinkingSummary, notice].filter(Boolean).join(' ') };
+ result = { ...result, text: JSON.stringify(parsed) };
+ }
const message = parsed.message || (wake?.kind === 'message' ? parsed.thinkingSummary : '');
- if (!parsed.thinkingSummary && !message && parsed.memoryCandidates.length === 0 && parsed.taskRequests.length === 0) {
- throw new Error('Persistent mind returned no visible thought, reply, memory candidate, or task request');
+ if (!parsed.thinkingSummary && !message && parsed.memoryCandidates.length === 0 && parsed.taskRequests.length === 0 && toolCallCount === 0) {
+ throw new Error('Persistent mind returned no visible thought, reply, memory candidate, task request, or tool call');
}
- await executePersistentMindTaskRequests({
- taskRequests: parsed.taskRequests,
- turnId,
- wake,
- signal,
- recordCapabilityEvent,
- });
const memoryWrites = await Promise.allSettled(parsed.memoryCandidates.map((candidate, index) => (
createPersistentMindMemoryFromCandidate({
...candidate,
diff --git a/server/services/persistentMindAdapter.test.js b/server/services/persistentMindAdapter.test.js
index 34ba300ec1..9b9d5fdcd8 100644
--- a/server/services/persistentMindAdapter.test.js
+++ b/server/services/persistentMindAdapter.test.js
@@ -7,6 +7,7 @@ const mock = vi.hoisted(() => ({
stopRun: vi.fn(),
readTaskCatalog: vi.fn(),
executeTaskRequests: vi.fn(),
+ executeToolCall: vi.fn(),
readVisibility: vi.fn(),
createPersistentMindMemoryFromCandidate: vi.fn(async ({ candidateId, ...candidate }) => ({
success: true,
@@ -31,6 +32,11 @@ vi.mock('./persistentMindVisibility.js', () => ({
readPersistentMindVisibility: (...args) => mock.readVisibility(...args),
buildPersistentMindVisibilityPrompt: () => 'Environment visibility: READY',
}));
+vi.mock('./cosToolRegistry.js', () => ({
+ buildPersistentMindToolPrompt: ({ readPortos, writePortos }) => `PortOS tools: read=${Boolean(readPortos)} write=${Boolean(writePortos)}`,
+ executeCosToolCall: (...args) => mock.executeToolCall(...args),
+ isCosTaskToolName: (name) => name === 'cos.create-task' || name === 'cos_create_task',
+}));
const { createPersistentMindTurnAdapter, persistentMindHarnessInfo } = await import('./persistentMindAdapter.js');
@@ -42,6 +48,7 @@ beforeEach(() => {
mock.readTaskCatalog.mockResolvedValue({ apps: [{ id: 'portos' }], providers: [{ id: 'codex' }] });
mock.readVisibility.mockResolvedValue({ readiness: 'ready', workspaces: [] });
mock.executeTaskRequests.mockResolvedValue([]);
+ mock.executeToolCall.mockResolvedValue({ state: 'completed', result: { ok: true, count: 1 } });
mock.runPrompt.mockResolvedValue({ text: JSON.stringify({
thinkingSummary: 'I connected the new request to the durable fact.',
message: 'Here is the answer.',
@@ -90,6 +97,280 @@ describe('persistent mind adapter', () => {
});
expect(mock.runPrompt.mock.calls[0][0].prompt).toContain('Task access: ON');
expect(mock.runPrompt.mock.calls[0][0].prompt).toContain('Environment visibility: READY');
+ expect(mock.runPrompt.mock.calls[0][0].prompt).toContain('PortOS tools: read=false write=false');
+ });
+
+ it('executes semantic tool calls and feeds normalized results into a final provider round', async () => {
+ mock.root.config.persistentMindCapabilities = { readPortos: true };
+ mock.runPrompt
+ .mockResolvedValueOnce({ text: JSON.stringify({
+ thinkingSummary: 'I need the catalog result.',
+ toolCalls: [{ name: 'catalog.search', arguments: { query: 'example' } }],
+ }) })
+ .mockResolvedValueOnce({ text: JSON.stringify({
+ thinkingSummary: 'I used the catalog result.',
+ message: 'I found one match.',
+ toolCalls: [],
+ }) });
+ const recordCapabilityEvent = vi.fn(async () => true);
+ await createPersistentMindTurnAdapter().run({
+ turnId: 'turn-tools',
+ wake: { kind: 'message', message: { id: 'message-tools', text: 'Find the example.' } },
+ ...profile,
+ signal: new AbortController().signal,
+ context: { text: '# Context' },
+ recordCapabilityEvent,
+ });
+ expect(mock.executeToolCall).toHaveBeenCalledWith(expect.objectContaining({
+ call: expect.objectContaining({ name: 'catalog.search', requestId: expect.stringMatching(/^mind-tool-/) }),
+ authority: { scope: 'mind', capabilities: expect.objectContaining({ readPortos: true }) },
+ }));
+ expect(mock.runPrompt).toHaveBeenCalledTimes(2);
+ expect(mock.runPrompt.mock.calls[1][0].prompt).toContain('Completed tool results');
+ expect(recordCapabilityEvent).toHaveBeenCalledWith(expect.objectContaining({ kind: 'request' }));
+ expect(recordCapabilityEvent).toHaveBeenCalledWith(expect.objectContaining({ kind: 'result' }));
+ });
+
+ it('never executes a new tool request from the final provider round', async () => {
+ mock.root.config.persistentMindCapabilities = { readPortos: true };
+ const taskRequest = {
+ description: 'Deferred task',
+ prompt: 'Do not queue this non-terminal request.',
+ priority: 'MEDIUM',
+ appId: 'portos',
+ providerId: 'codex',
+ model: 'gpt-5',
+ effort: 'high',
+ prCompletion: 'review-then-merge',
+ };
+ mock.runPrompt.mockResolvedValue({ text: JSON.stringify({
+ thinkingSummary: '',
+ message: '',
+ taskRequests: [taskRequest],
+ toolCalls: [{ name: 'catalog.search', arguments: { query: 'example' } }],
+ }) });
+ const recordCapabilityEvent = vi.fn(async () => true);
+ const result = await createPersistentMindTurnAdapter().run({
+ turnId: 'turn-round-limit',
+ wake: { kind: 'message', message: { id: 'message-round-limit', text: 'Keep searching.' } },
+ ...profile,
+ signal: new AbortController().signal,
+ context: { text: '# Context' },
+ recordCapabilityEvent,
+ });
+ expect(mock.runPrompt).toHaveBeenCalledTimes(4);
+ expect(mock.executeToolCall).toHaveBeenCalledTimes(3);
+ expect(mock.executeTaskRequests).not.toHaveBeenCalled();
+ expect(recordCapabilityEvent).toHaveBeenCalledWith(expect.objectContaining({
+ kind: 'result',
+ data: expect.objectContaining({ tool: 'cos.create-task', success: false }),
+ }));
+ expect(result.events.find((event) => event.kind === 'mind.reply')?.data.displayText).toMatch(/round limit/);
+ expect(result.events.find((event) => event.kind === 'mind.reply')?.data.displayText).toMatch(/not queued/);
+ });
+
+ it('preserves completed results across stateless provider rounds', async () => {
+ mock.root.config.persistentMindCapabilities = { readPortos: true };
+ mock.executeToolCall
+ .mockResolvedValueOnce({ state: 'completed', result: { marker: 'first-result' } })
+ .mockResolvedValueOnce({ state: 'completed', result: { marker: 'second-result' } });
+ mock.runPrompt
+ .mockResolvedValueOnce({ text: JSON.stringify({
+ thinkingSummary: 'I need the first lookup.',
+ toolCalls: [{ requestId: 'lookup-1', name: 'catalog.search', arguments: { query: 'first' } }],
+ }) })
+ .mockResolvedValueOnce({ text: JSON.stringify({
+ thinkingSummary: 'I need the second lookup.',
+ toolCalls: [{ requestId: 'lookup-2', name: 'catalog.search', arguments: { query: 'second' } }],
+ }) })
+ .mockResolvedValueOnce({ text: JSON.stringify({
+ thinkingSummary: 'I used both lookups.',
+ message: 'Both results are reflected here.',
+ toolCalls: [],
+ }) });
+
+ await createPersistentMindTurnAdapter().run({
+ turnId: 'turn-cumulative-tools',
+ wake: { kind: 'message', message: { id: 'message-cumulative-tools', text: 'Run both lookups.' } },
+ ...profile,
+ signal: new AbortController().signal,
+ context: { text: '# Context' },
+ });
+
+ const finalPrompt = mock.runPrompt.mock.calls[2][0].prompt;
+ expect(finalPrompt).toContain('first-result');
+ expect(finalPrompt).toContain('second-result');
+ });
+
+ it('namespaces provider request ids by turn', async () => {
+ mock.root.config.persistentMindCapabilities = { readPortos: true };
+ mock.runPrompt
+ .mockResolvedValueOnce({ text: JSON.stringify({
+ thinkingSummary: 'First lookup.',
+ toolCalls: [{ requestId: 'call_1', name: 'catalog.search', arguments: { query: 'example' } }],
+ }) })
+ .mockResolvedValueOnce({ text: JSON.stringify({ thinkingSummary: 'Done.', message: 'First done.', toolCalls: [] }) })
+ .mockResolvedValueOnce({ text: JSON.stringify({
+ thinkingSummary: 'Second lookup.',
+ toolCalls: [{ requestId: 'call_1', name: 'catalog.search', arguments: { query: 'example' } }],
+ }) })
+ .mockResolvedValueOnce({ text: JSON.stringify({ thinkingSummary: 'Done again.', message: 'Second done.', toolCalls: [] }) });
+
+ for (const turnId of ['turn-provider-id-a', 'turn-provider-id-b']) {
+ await createPersistentMindTurnAdapter().run({
+ turnId,
+ wake: { kind: 'message', message: { id: `message-${turnId}`, text: 'Look it up.' } },
+ ...profile,
+ signal: new AbortController().signal,
+ context: { text: '# Context' },
+ });
+ }
+
+ const requestIds = mock.executeToolCall.mock.calls.map(([input]) => input.call.requestId);
+ expect(requestIds).toHaveLength(2);
+ expect(requestIds[0]).toMatch(/^mind-tool-/);
+ expect(requestIds[1]).toMatch(/^mind-tool-/);
+ expect(requestIds[0]).not.toBe(requestIds[1]);
+ });
+
+ it('keeps fallback request ids stable when replayed calls are reordered', async () => {
+ mock.root.config.persistentMindCapabilities = { readPortos: true };
+ const firstOrder = [
+ { name: 'catalog.search', arguments: { query: 'first' } },
+ { name: 'catalog.search', arguments: { query: 'second' } },
+ ];
+ mock.runPrompt
+ .mockResolvedValueOnce({ text: JSON.stringify({ thinkingSummary: 'First replay.', toolCalls: firstOrder }) })
+ .mockResolvedValueOnce({ text: JSON.stringify({ thinkingSummary: 'Done.', message: 'Done.', toolCalls: [] }) })
+ .mockResolvedValueOnce({ text: JSON.stringify({ thinkingSummary: 'Second replay.', toolCalls: [...firstOrder].reverse() }) })
+ .mockResolvedValueOnce({ text: JSON.stringify({ thinkingSummary: 'Done again.', message: 'Done again.', toolCalls: [] }) });
+
+ for (let replay = 0; replay < 2; replay += 1) {
+ await createPersistentMindTurnAdapter().run({
+ turnId: 'turn-reordered-replay',
+ wake: { kind: 'message', message: { id: 'message-reordered-replay', text: 'Replay.' } },
+ ...profile,
+ signal: new AbortController().signal,
+ context: { text: '# Context' },
+ });
+ }
+
+ const byQuery = (calls) => Object.fromEntries(calls.map(([input]) => [input.call.arguments.query, input.call.requestId]));
+ expect(byQuery(mock.executeToolCall.mock.calls.slice(0, 2))).toEqual(byQuery(mock.executeToolCall.mock.calls.slice(2, 4)));
+ });
+
+ it('stops remaining semantic calls when the turn is interrupted', async () => {
+ mock.root.config.persistentMindCapabilities = { writePortos: true };
+ const controller = new AbortController();
+ mock.executeToolCall.mockImplementationOnce(async () => {
+ controller.abort('stop-after-first');
+ return { state: 'completed', result: { ok: true } };
+ });
+ mock.runPrompt.mockResolvedValueOnce({ text: JSON.stringify({
+ thinkingSummary: 'Run the bounded writes.',
+ toolCalls: [
+ { name: 'brain.capture', arguments: { text: 'first' } },
+ { name: 'brain.capture', arguments: { text: 'second' } },
+ ],
+ }) });
+
+ await expect(createPersistentMindTurnAdapter().run({
+ turnId: 'turn-interrupted-tools',
+ wake: { kind: 'message', message: { id: 'message-interrupted-tools', text: 'Capture both.' } },
+ ...profile,
+ signal: controller.signal,
+ context: { text: '# Context' },
+ })).rejects.toThrow('stop-after-first');
+ expect(mock.executeToolCall).toHaveBeenCalledTimes(1);
+ });
+
+ it('feeds a normalized tool error back to the provider instead of aborting the turn', async () => {
+ mock.root.config.persistentMindCapabilities = { readPortos: true };
+ mock.executeToolCall.mockRejectedValueOnce(new Error('Tool is unavailable'));
+ mock.runPrompt
+ .mockResolvedValueOnce({ text: JSON.stringify({
+ thinkingSummary: 'I will try a lookup.',
+ toolCalls: [{ name: 'catalog.search', arguments: { query: 'example' } }],
+ }) })
+ .mockResolvedValueOnce({ text: JSON.stringify({
+ thinkingSummary: 'The lookup failed safely.',
+ message: 'I could not complete that lookup.',
+ toolCalls: [],
+ }) });
+ const recordCapabilityEvent = vi.fn(async () => true);
+
+ const result = await createPersistentMindTurnAdapter().run({
+ turnId: 'turn-tool-error',
+ wake: { kind: 'message', message: { id: 'message-tool-error', text: 'Look it up.' } },
+ ...profile,
+ signal: new AbortController().signal,
+ context: { text: '# Context' },
+ recordCapabilityEvent,
+ });
+
+ expect(result.events.find((event) => event.kind === 'mind.reply')?.data.displayText).toBe('I could not complete that lookup.');
+ expect(mock.runPrompt.mock.calls[1][0].prompt).toContain('Tool is unavailable');
+ expect(recordCapabilityEvent).toHaveBeenCalledWith(expect.objectContaining({
+ kind: 'result',
+ data: expect.objectContaining({ success: false }),
+ }));
+ });
+
+ it('shares the five-task limit across provider rounds and task tool calls', async () => {
+ mock.root.config.persistentMindCapabilities = { createTasks: true, readPortos: true };
+ const taskRequest = (index) => ({
+ description: `Task ${index}`,
+ prompt: `Implement task ${index}.`,
+ priority: 'MEDIUM',
+ appId: 'portos',
+ providerId: 'codex',
+ model: 'gpt-5',
+ effort: 'high',
+ prCompletion: 'review-then-merge',
+ });
+ mock.runPrompt
+ .mockResolvedValueOnce({ text: JSON.stringify({
+ thinkingSummary: 'First batch.',
+ taskRequests: [taskRequest(1), taskRequest(2), taskRequest(3)],
+ toolCalls: [
+ { name: 'cos.create-task', arguments: taskRequest(4) },
+ { name: 'catalog.search', arguments: { query: 'example' } },
+ ],
+ }) })
+ .mockResolvedValueOnce({ text: JSON.stringify({
+ thinkingSummary: 'Second batch.',
+ taskRequests: [taskRequest(5), taskRequest(6), taskRequest(7)],
+ toolCalls: [
+ { name: 'cos.create-task', arguments: taskRequest(8) },
+ { name: 'cos.create-task', arguments: taskRequest(9) },
+ ],
+ }) })
+ .mockResolvedValueOnce({ text: JSON.stringify({
+ thinkingSummary: 'The bounded task batch is complete.',
+ message: 'I stayed within the task limit.',
+ taskRequests: [taskRequest(10), taskRequest(11), taskRequest(12), taskRequest(13), taskRequest(14)],
+ toolCalls: [],
+ }) });
+
+ const recordCapabilityEvent = vi.fn(async () => true);
+ const result = await createPersistentMindTurnAdapter().run({
+ turnId: 'turn-shared-task-limit',
+ wake: { kind: 'message', message: { id: 'message-shared-task-limit', text: 'Queue the bounded batch.' } },
+ ...profile,
+ signal: new AbortController().signal,
+ context: { text: '# Context' },
+ recordCapabilityEvent,
+ });
+
+ const directTaskCount = mock.executeTaskRequests.mock.calls
+ .reduce((total, [input]) => total + input.taskRequests.length, 0);
+ const taskToolCount = mock.executeToolCall.mock.calls
+ .filter(([input]) => input.call.name === 'cos.create-task').length;
+ expect(directTaskCount + taskToolCount).toBe(5);
+ expect(directTaskCount).toBe(2);
+ expect(mock.runPrompt.mock.calls[1][0].prompt).toContain('intermediate round were not queued');
+ expect(result.events.find((event) => event.kind === 'mind.reply')?.data.displayText).toContain('task request limit of 5');
+ expect(recordCapabilityEvent.mock.calls.filter(([event]) => event.kind === 'result' && event.data.success === false)).toHaveLength(3);
});
it('executes bounded typed task requests through the supervised capability', async () => {
diff --git a/server/services/persistentMindSupervisor.attachments.test.js b/server/services/persistentMindSupervisor.attachments.test.js
index ddcc69edbd..7fe57e3286 100644
--- a/server/services/persistentMindSupervisor.attachments.test.js
+++ b/server/services/persistentMindSupervisor.attachments.test.js
@@ -1,4 +1,5 @@
import { beforeEach, describe, expect, it, vi } from 'vitest';
+import { join } from 'node:path';
import { PERSISTENT_MIND_LIMITS, createDefaultPersistentMindState } from '../lib/persistentMind.js';
const mocks = vi.hoisted(() => ({
@@ -259,7 +260,7 @@ describe('persistent mind image attachment lifecycle', () => {
await expect(supervisor.cleanupPersistentMindAttachments({ now }))
.resolves.toMatchObject({ success: true, removed: 1, examined: 1 });
expect(mocks.unlink).toHaveBeenNthCalledWith(1, '/tmp/portos-mind-attachments/mind-orphan-diagram.png');
- expect(mocks.unlink).toHaveBeenNthCalledWith(2, '/tmp/portos-mind-attachments/.mind-pending-orphan');
+ expect(mocks.unlink).toHaveBeenNthCalledWith(2, join('/tmp/portos-mind-attachments', '.mind-pending-orphan'));
expect(mocks.unlink).toHaveBeenCalledTimes(2);
});
diff --git a/server/services/persistentMindVisibility.test.js b/server/services/persistentMindVisibility.test.js
index f06ba5bec1..50b9df33ca 100644
--- a/server/services/persistentMindVisibility.test.js
+++ b/server/services/persistentMindVisibility.test.js
@@ -72,7 +72,14 @@ describe('persistent mind visibility', () => {
readiness: 'degraded',
runtime: { status: 'ready', context: { pressure: 'nominal' } },
provider: { status: 'configured', type: 'api' },
- actions: { grants: { createTasks: true }, tools: [expect.objectContaining({ id: 'cos.create-task', granted: true })] },
+ actions: {
+ grants: { createTasks: true, readPortos: false, writePortos: false },
+ tools: expect.arrayContaining([
+ expect.objectContaining({ id: 'cos.create-task', granted: true }),
+ expect.objectContaining({ id: 'portos.read', granted: false }),
+ expect.objectContaining({ id: 'portos.write', granted: false }),
+ ]),
+ },
scheduler: { autonomy: 'execute', capacity: { status: 'unknown' } },
health: { system: 'available', provider: 'configured', database: 'available', forge: 'ready' },
workspaces: [{ appId: 'example-app', readiness: 'degraded', preflight: { repository: { reachable: true } } }],
diff --git a/server/services/voice/proactiveSpeech.js b/server/services/voice/proactiveSpeech.js
index 80d0904ee8..737d72f035 100644
--- a/server/services/voice/proactiveSpeech.js
+++ b/server/services/voice/proactiveSpeech.js
@@ -21,6 +21,7 @@ import { rememberTtsForAllSockets } from './echo.js';
import { emitVoiceOutput } from './voiceOutput.js';
import { getLocalParts, isWithinTimeWindow } from '../../lib/timezone.js';
import { getUserTimezone } from '../userTimezone.js';
+import { VOICE_TEXT_MAX_CHARS } from '../../lib/apiContractSchemas.js';
// HH:MM helpers live in server/lib/timezone.js (single source of truth shared
// with the dashboard's time-window validator). Re-exported here so the
@@ -35,7 +36,7 @@ export { HHMM_RE, parseHHMM } from '../../lib/timezone.js';
// caller can't trigger multi-minute synthesis and a multi-megabyte socket
// payload. Exposed so the route can import the same constant if it ever
// needs to.
-export const MAX_PROACTIVE_TEXT_LEN = 4000;
+export const MAX_PROACTIVE_TEXT_LEN = VOICE_TEXT_MAX_CHARS;
// Quiet-hours inclusion is exactly the generic time-window predicate — a
// half-open [start, end) window with overnight wrap (same-value start/end =
diff --git a/server/test/fixtures/agent-context-eval.json b/server/test/fixtures/agent-context-eval.json
index 175356aeff..add2c1c415 100644
--- a/server/test/fixtures/agent-context-eval.json
+++ b/server/test/fixtures/agent-context-eval.json
@@ -89,7 +89,7 @@
"advertisedToolsCovered": true,
"readOnlyTools": true,
"equals": [
- { "path": "manifest.schemaVersion", "value": 2 },
+ { "path": "manifest.schemaVersion", "value": 3 },
{ "path": "manifest.limits.maxApproxTokens", "value": 5000 },
{ "path": "manifest.tools.length", "value": 5 }
],