kontexta 5.2.0 → 6.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bundle/standalone/CHANGELOG.md +33 -0
- package/bundle/standalone/apps/web/.next/BUILD_ID +1 -1
- package/bundle/standalone/apps/web/.next/app-build-manifest.json +54 -54
- package/bundle/standalone/apps/web/.next/app-path-routes-manifest.json +14 -14
- package/bundle/standalone/apps/web/.next/build-manifest.json +2 -2
- package/bundle/standalone/apps/web/.next/prerender-manifest.json +3 -3
- package/bundle/standalone/apps/web/.next/required-server-files.json +1 -0
- package/bundle/standalone/apps/web/.next/server/app/_not-found/page.js.nft.json +1 -1
- package/bundle/standalone/apps/web/.next/server/app/_not-found/page_client-reference-manifest.js +1 -1
- package/bundle/standalone/apps/web/.next/server/app/_not-found.html +1 -1
- package/bundle/standalone/apps/web/.next/server/app/_not-found.rsc +4 -4
- package/bundle/standalone/apps/web/.next/server/app/api/about/route.js.nft.json +1 -1
- package/bundle/standalone/apps/web/.next/server/app/api/about/route_client-reference-manifest.js +1 -1
- package/bundle/standalone/apps/web/.next/server/app/api/agents/[id]/hooks/route.js.nft.json +1 -1
- package/bundle/standalone/apps/web/.next/server/app/api/agents/[id]/hooks/route_client-reference-manifest.js +1 -1
- package/bundle/standalone/apps/web/.next/server/app/api/agents/[id]/mcp/route.js.nft.json +1 -1
- package/bundle/standalone/apps/web/.next/server/app/api/agents/[id]/mcp/route_client-reference-manifest.js +1 -1
- package/bundle/standalone/apps/web/.next/server/app/api/agents/[id]/route.js.nft.json +1 -1
- package/bundle/standalone/apps/web/.next/server/app/api/agents/[id]/route_client-reference-manifest.js +1 -1
- package/bundle/standalone/apps/web/.next/server/app/api/agents/route.js.nft.json +1 -1
- package/bundle/standalone/apps/web/.next/server/app/api/agents/route_client-reference-manifest.js +1 -1
- package/bundle/standalone/apps/web/.next/server/app/api/auth/login/route.js.nft.json +1 -1
- package/bundle/standalone/apps/web/.next/server/app/api/auth/login/route_client-reference-manifest.js +1 -1
- package/bundle/standalone/apps/web/.next/server/app/api/auth/logout/route.js.nft.json +1 -1
- package/bundle/standalone/apps/web/.next/server/app/api/auth/logout/route_client-reference-manifest.js +1 -1
- package/bundle/standalone/apps/web/.next/server/app/api/auth/setup/route.js.nft.json +1 -1
- package/bundle/standalone/apps/web/.next/server/app/api/auth/setup/route_client-reference-manifest.js +1 -1
- package/bundle/standalone/apps/web/.next/server/app/api/auth/status/route.js.nft.json +1 -1
- package/bundle/standalone/apps/web/.next/server/app/api/auth/status/route_client-reference-manifest.js +1 -1
- package/bundle/standalone/apps/web/.next/server/app/api/auth/token/route.js.nft.json +1 -1
- package/bundle/standalone/apps/web/.next/server/app/api/auth/token/route_client-reference-manifest.js +1 -1
- package/bundle/standalone/apps/web/.next/server/app/api/calendar/conflicts/route.js.nft.json +1 -1
- package/bundle/standalone/apps/web/.next/server/app/api/calendar/conflicts/route_client-reference-manifest.js +1 -1
- package/bundle/standalone/apps/web/.next/server/app/api/calendar/entities/[id]/route.js.nft.json +1 -1
- package/bundle/standalone/apps/web/.next/server/app/api/calendar/entities/[id]/route_client-reference-manifest.js +1 -1
- package/bundle/standalone/apps/web/.next/server/app/api/calendar/entities/route.js.nft.json +1 -1
- package/bundle/standalone/apps/web/.next/server/app/api/calendar/entities/route_client-reference-manifest.js +1 -1
- package/bundle/standalone/apps/web/.next/server/app/api/calendar/events/[id]/route.js.nft.json +1 -1
- package/bundle/standalone/apps/web/.next/server/app/api/calendar/events/[id]/route_client-reference-manifest.js +1 -1
- package/bundle/standalone/apps/web/.next/server/app/api/calendar/events/route.js.nft.json +1 -1
- package/bundle/standalone/apps/web/.next/server/app/api/calendar/events/route_client-reference-manifest.js +1 -1
- package/bundle/standalone/apps/web/.next/server/app/api/calendar/ics/route.js.nft.json +1 -1
- package/bundle/standalone/apps/web/.next/server/app/api/calendar/ics/route_client-reference-manifest.js +1 -1
- package/bundle/standalone/apps/web/.next/server/app/api/calendar/links/route.js.nft.json +1 -1
- package/bundle/standalone/apps/web/.next/server/app/api/calendar/links/route_client-reference-manifest.js +1 -1
- package/bundle/standalone/apps/web/.next/server/app/api/calendar/settings/route.js.nft.json +1 -1
- package/bundle/standalone/apps/web/.next/server/app/api/calendar/settings/route_client-reference-manifest.js +1 -1
- package/bundle/standalone/apps/web/.next/server/app/api/clip/route.js.nft.json +1 -1
- package/bundle/standalone/apps/web/.next/server/app/api/clip/route_client-reference-manifest.js +1 -1
- package/bundle/standalone/apps/web/.next/server/app/api/docker-config/route.js.nft.json +1 -1
- package/bundle/standalone/apps/web/.next/server/app/api/docker-config/route_client-reference-manifest.js +1 -1
- package/bundle/standalone/apps/web/.next/server/app/api/export/zip/route.js.nft.json +1 -1
- package/bundle/standalone/apps/web/.next/server/app/api/export/zip/route_client-reference-manifest.js +1 -1
- package/bundle/standalone/apps/web/.next/server/app/api/files/[id]/backlinks/route.js.nft.json +1 -1
- package/bundle/standalone/apps/web/.next/server/app/api/files/[id]/backlinks/route_client-reference-manifest.js +1 -1
- package/bundle/standalone/apps/web/.next/server/app/api/files/[id]/download/route.js.nft.json +1 -1
- package/bundle/standalone/apps/web/.next/server/app/api/files/[id]/download/route_client-reference-manifest.js +1 -1
- package/bundle/standalone/apps/web/.next/server/app/api/files/[id]/export-html/route.js.nft.json +1 -1
- package/bundle/standalone/apps/web/.next/server/app/api/files/[id]/export-html/route_client-reference-manifest.js +1 -1
- package/bundle/standalone/apps/web/.next/server/app/api/files/[id]/export-pdf/route.js.nft.json +1 -1
- package/bundle/standalone/apps/web/.next/server/app/api/files/[id]/export-pdf/route_client-reference-manifest.js +1 -1
- package/bundle/standalone/apps/web/.next/server/app/api/files/[id]/history/restore/route.js.nft.json +1 -1
- package/bundle/standalone/apps/web/.next/server/app/api/files/[id]/history/restore/route_client-reference-manifest.js +1 -1
- package/bundle/standalone/apps/web/.next/server/app/api/files/[id]/history/route.js.nft.json +1 -1
- package/bundle/standalone/apps/web/.next/server/app/api/files/[id]/history/route_client-reference-manifest.js +1 -1
- package/bundle/standalone/apps/web/.next/server/app/api/files/[id]/move/route.js.nft.json +1 -1
- package/bundle/standalone/apps/web/.next/server/app/api/files/[id]/move/route_client-reference-manifest.js +1 -1
- package/bundle/standalone/apps/web/.next/server/app/api/files/[id]/route.js.nft.json +1 -1
- package/bundle/standalone/apps/web/.next/server/app/api/files/[id]/route_client-reference-manifest.js +1 -1
- package/bundle/standalone/apps/web/.next/server/app/api/files/route.js.nft.json +1 -1
- package/bundle/standalone/apps/web/.next/server/app/api/files/route_client-reference-manifest.js +1 -1
- package/bundle/standalone/apps/web/.next/server/app/api/files/upload/route.js.nft.json +1 -1
- package/bundle/standalone/apps/web/.next/server/app/api/files/upload/route_client-reference-manifest.js +1 -1
- package/bundle/standalone/apps/web/.next/server/app/api/folders/route.js +1 -1
- package/bundle/standalone/apps/web/.next/server/app/api/folders/route.js.nft.json +1 -1
- package/bundle/standalone/apps/web/.next/server/app/api/folders/route_client-reference-manifest.js +1 -1
- package/bundle/standalone/apps/web/.next/server/app/api/git/remote/route.js.nft.json +1 -1
- package/bundle/standalone/apps/web/.next/server/app/api/git/remote/route_client-reference-manifest.js +1 -1
- package/bundle/standalone/apps/web/.next/server/app/api/git/sync-all/route.js.nft.json +1 -1
- package/bundle/standalone/apps/web/.next/server/app/api/git/sync-all/route_client-reference-manifest.js +1 -1
- package/bundle/standalone/apps/web/.next/server/app/api/hands/test-pattern/route.js.nft.json +1 -1
- package/bundle/standalone/apps/web/.next/server/app/api/hands/test-pattern/route_client-reference-manifest.js +1 -1
- package/bundle/standalone/apps/web/.next/server/app/api/hands/validate/route.js.nft.json +1 -1
- package/bundle/standalone/apps/web/.next/server/app/api/hands/validate/route_client-reference-manifest.js +1 -1
- package/bundle/standalone/apps/web/.next/server/app/api/health/route.js.nft.json +1 -1
- package/bundle/standalone/apps/web/.next/server/app/api/health/route_client-reference-manifest.js +1 -1
- package/bundle/standalone/apps/web/.next/server/app/api/install-snippets/route.js +1 -1
- package/bundle/standalone/apps/web/.next/server/app/api/install-snippets/route.js.nft.json +1 -1
- package/bundle/standalone/apps/web/.next/server/app/api/install-snippets/route_client-reference-manifest.js +1 -1
- package/bundle/standalone/apps/web/.next/server/app/api/mcp-tools/route.js +1 -1
- package/bundle/standalone/apps/web/.next/server/app/api/mcp-tools/route.js.nft.json +1 -1
- package/bundle/standalone/apps/web/.next/server/app/api/mcp-tools/route_client-reference-manifest.js +1 -1
- package/bundle/standalone/apps/web/.next/server/app/api/profile/route.js.nft.json +1 -1
- package/bundle/standalone/apps/web/.next/server/app/api/profile/route_client-reference-manifest.js +1 -1
- package/bundle/standalone/apps/web/.next/server/app/api/projects/[id]/hands-config/route.js.nft.json +1 -1
- package/bundle/standalone/apps/web/.next/server/app/api/projects/[id]/hands-config/route_client-reference-manifest.js +1 -1
- package/bundle/standalone/apps/web/.next/server/app/api/projects/[id]/journal-config/route.js.nft.json +1 -1
- package/bundle/standalone/apps/web/.next/server/app/api/projects/[id]/journal-config/route_client-reference-manifest.js +1 -1
- package/bundle/standalone/apps/web/.next/server/app/api/projects/[id]/journal-status/route.js.nft.json +1 -1
- package/bundle/standalone/apps/web/.next/server/app/api/projects/[id]/journal-status/route_client-reference-manifest.js +1 -1
- package/bundle/standalone/apps/web/.next/server/app/api/projects/[id]/onboard/route.js.nft.json +1 -1
- package/bundle/standalone/apps/web/.next/server/app/api/projects/[id]/onboard/route_client-reference-manifest.js +1 -1
- package/bundle/standalone/apps/web/.next/server/app/api/projects/[id]/refresh/route.js.nft.json +1 -1
- package/bundle/standalone/apps/web/.next/server/app/api/projects/[id]/refresh/route_client-reference-manifest.js +1 -1
- package/bundle/standalone/apps/web/.next/server/app/api/projects/[id]/route.js.nft.json +1 -1
- package/bundle/standalone/apps/web/.next/server/app/api/projects/[id]/route_client-reference-manifest.js +1 -1
- package/bundle/standalone/apps/web/.next/server/app/api/projects/[id]/sync/route.js.nft.json +1 -1
- package/bundle/standalone/apps/web/.next/server/app/api/projects/[id]/sync/route_client-reference-manifest.js +1 -1
- package/bundle/standalone/apps/web/.next/server/app/api/projects/onboard/route.js.nft.json +1 -1
- package/bundle/standalone/apps/web/.next/server/app/api/projects/onboard/route_client-reference-manifest.js +1 -1
- package/bundle/standalone/apps/web/.next/server/app/api/projects/route.js.nft.json +1 -1
- package/bundle/standalone/apps/web/.next/server/app/api/projects/route_client-reference-manifest.js +1 -1
- package/bundle/standalone/apps/web/.next/server/app/api/publish/html/route.js.nft.json +1 -1
- package/bundle/standalone/apps/web/.next/server/app/api/publish/html/route_client-reference-manifest.js +1 -1
- package/bundle/standalone/apps/web/.next/server/app/api/publish/route.js.nft.json +1 -1
- package/bundle/standalone/apps/web/.next/server/app/api/publish/route_client-reference-manifest.js +1 -1
- package/bundle/standalone/apps/web/.next/server/app/api/refresh/route.js.nft.json +1 -1
- package/bundle/standalone/apps/web/.next/server/app/api/refresh/route_client-reference-manifest.js +1 -1
- package/bundle/standalone/apps/web/.next/server/app/api/reindex/route.js.nft.json +1 -1
- package/bundle/standalone/apps/web/.next/server/app/api/reindex/route_client-reference-manifest.js +1 -1
- package/bundle/standalone/apps/web/.next/server/app/api/reports/resources/[name]/route.js.nft.json +1 -1
- package/bundle/standalone/apps/web/.next/server/app/api/reports/resources/[name]/route_client-reference-manifest.js +1 -1
- package/bundle/standalone/apps/web/.next/server/app/api/search/route.js.nft.json +1 -1
- package/bundle/standalone/apps/web/.next/server/app/api/search/route_client-reference-manifest.js +1 -1
- package/bundle/standalone/apps/web/.next/server/app/api/tags/route.js.nft.json +1 -1
- package/bundle/standalone/apps/web/.next/server/app/api/tags/route_client-reference-manifest.js +1 -1
- package/bundle/standalone/apps/web/.next/server/app/api/version-check/route.js.nft.json +1 -1
- package/bundle/standalone/apps/web/.next/server/app/api/version-check/route_client-reference-manifest.js +1 -1
- package/bundle/standalone/apps/web/.next/server/app/api/welcome/route.js.nft.json +1 -1
- package/bundle/standalone/apps/web/.next/server/app/api/welcome/route_client-reference-manifest.js +1 -1
- package/bundle/standalone/apps/web/.next/server/app/api/ws-config/route.js.nft.json +1 -1
- package/bundle/standalone/apps/web/.next/server/app/api/ws-config/route_client-reference-manifest.js +1 -1
- package/bundle/standalone/apps/web/.next/server/app/apple-icon.png/route.js.nft.json +1 -1
- package/bundle/standalone/apps/web/.next/server/app/calendar/page.js.nft.json +1 -1
- package/bundle/standalone/apps/web/.next/server/app/calendar/page_client-reference-manifest.js +1 -1
- package/bundle/standalone/apps/web/.next/server/app/favicon.ico/route.js.nft.json +1 -1
- package/bundle/standalone/apps/web/.next/server/app/icon.png/route.js.nft.json +1 -1
- package/bundle/standalone/apps/web/.next/server/app/login/page.js.nft.json +1 -1
- package/bundle/standalone/apps/web/.next/server/app/login/page_client-reference-manifest.js +1 -1
- package/bundle/standalone/apps/web/.next/server/app/page.js +4 -4
- package/bundle/standalone/apps/web/.next/server/app/page.js.nft.json +1 -1
- package/bundle/standalone/apps/web/.next/server/app/page_client-reference-manifest.js +1 -1
- package/bundle/standalone/apps/web/.next/server/app/preview/motifs/page.js.nft.json +1 -1
- package/bundle/standalone/apps/web/.next/server/app/preview/motifs/page_client-reference-manifest.js +1 -1
- package/bundle/standalone/apps/web/.next/server/app/preview/motifs.html +2 -2
- package/bundle/standalone/apps/web/.next/server/app/preview/motifs.rsc +4 -4
- package/bundle/standalone/apps/web/.next/server/app-paths-manifest.json +14 -14
- package/bundle/standalone/apps/web/.next/server/chunks/3668.js +2 -2
- package/bundle/standalone/apps/web/.next/server/pages/404.html +1 -1
- package/bundle/standalone/apps/web/.next/server/pages/500.html +1 -1
- package/bundle/standalone/apps/web/.next/server/pages/_app.js.nft.json +1 -1
- package/bundle/standalone/apps/web/.next/server/pages/_document.js.nft.json +1 -1
- package/bundle/standalone/apps/web/.next/server/pages/_error.js.nft.json +1 -1
- package/bundle/standalone/apps/web/.next/server/server-reference-manifest.json +1 -1
- package/bundle/standalone/apps/web/.next/static/chunks/app/{layout-da10917c290d5da7.js → layout-b3fc3a7cf96952bd.js} +1 -1
- package/bundle/standalone/apps/web/.next/static/chunks/app/page-f2e6293531d0db55.js +1 -0
- package/bundle/standalone/apps/web/.next/static/css/{d6e83b3f51ebdda3.css → c9d10f1f97d629ff.css} +1 -1
- package/bundle/standalone/apps/web/package.json +6 -5
- package/bundle/standalone/apps/web/server.js +1 -1
- package/bundle/standalone/apps/web/src/lib/mcp-tools.json +103 -95
- package/bundle/standalone/node_modules/kontexta-mcp/dist/agent-rules/rules-block.md +28 -185
- package/bundle/standalone/node_modules/kontexta-mcp/dist/agent-rules/rules-reference.md +207 -0
- package/bundle/standalone/node_modules/kontexta-mcp/dist/calendar-tools.js +12 -12
- package/bundle/standalone/node_modules/kontexta-mcp/dist/hands/formatter.js +1 -1
- package/bundle/standalone/node_modules/kontexta-mcp/dist/hands/schema-doc.js +1 -1
- package/bundle/standalone/node_modules/kontexta-mcp/dist/index.js +196 -68
- package/bundle/standalone/node_modules/kontexta-mcp/dist/index.js.map +1 -1
- package/bundle/standalone/node_modules/kontexta-mcp/dist/journal-capture.js +3 -3
- package/bundle/standalone/node_modules/kontexta-mcp/dist/journal-commit-upgrades-tool.js +1 -1
- package/bundle/standalone/node_modules/kontexta-mcp/dist/journal-housekeep-tool.js +1 -1
- package/bundle/standalone/node_modules/kontexta-mcp/dist/journal-tools.js +2 -2
- package/bundle/standalone/node_modules/kontexta-mcp/dist/repo-write-guard.js +1 -1
- package/bundle/standalone/node_modules/kontexta-mcp/package.json +4 -2
- package/bundle/standalone/node_modules/kxta-core/dist/agent-rules/index.d.ts +5 -0
- package/bundle/standalone/node_modules/kxta-core/dist/agent-rules/index.d.ts.map +1 -1
- package/bundle/standalone/node_modules/kxta-core/dist/agent-rules/index.js +84 -25
- package/bundle/standalone/node_modules/kxta-core/dist/agent-rules/index.js.map +1 -1
- package/bundle/standalone/node_modules/kxta-core/dist/agent-rules/rules-block.md +28 -185
- package/bundle/standalone/node_modules/kxta-core/dist/agent-rules/rules-reference.md +207 -0
- package/bundle/standalone/node_modules/kxta-core/dist/bundle/index.d.ts +25 -1
- package/bundle/standalone/node_modules/kxta-core/dist/bundle/index.d.ts.map +1 -1
- package/bundle/standalone/node_modules/kxta-core/dist/bundle/index.js +159 -32
- package/bundle/standalone/node_modules/kxta-core/dist/bundle/index.js.map +1 -1
- package/bundle/standalone/node_modules/kxta-core/dist/decision/engine.d.ts +71 -0
- package/bundle/standalone/node_modules/kxta-core/dist/decision/engine.d.ts.map +1 -0
- package/bundle/standalone/node_modules/kxta-core/dist/decision/engine.js +192 -0
- package/bundle/standalone/node_modules/kxta-core/dist/decision/engine.js.map +1 -0
- package/bundle/standalone/node_modules/kxta-core/dist/decision/index.d.ts +9 -0
- package/bundle/standalone/node_modules/kxta-core/dist/decision/index.d.ts.map +1 -0
- package/bundle/standalone/node_modules/kxta-core/dist/decision/index.js +10 -0
- package/bundle/standalone/node_modules/kxta-core/dist/decision/index.js.map +1 -0
- package/bundle/standalone/node_modules/kxta-core/dist/decision/intent-router.d.ts +20 -0
- package/bundle/standalone/node_modules/kxta-core/dist/decision/intent-router.d.ts.map +1 -0
- package/bundle/standalone/node_modules/kxta-core/dist/decision/intent-router.js +124 -0
- package/bundle/standalone/node_modules/kxta-core/dist/decision/intent-router.js.map +1 -0
- package/bundle/standalone/node_modules/kxta-core/dist/decision/pruning.d.ts +20 -0
- package/bundle/standalone/node_modules/kxta-core/dist/decision/pruning.d.ts.map +1 -0
- package/bundle/standalone/node_modules/kxta-core/dist/decision/pruning.js +28 -0
- package/bundle/standalone/node_modules/kxta-core/dist/decision/pruning.js.map +1 -0
- package/bundle/standalone/node_modules/kxta-core/dist/decision/sufficiency.d.ts +30 -0
- package/bundle/standalone/node_modules/kxta-core/dist/decision/sufficiency.d.ts.map +1 -0
- package/bundle/standalone/node_modules/kxta-core/dist/decision/sufficiency.js +57 -0
- package/bundle/standalone/node_modules/kxta-core/dist/decision/sufficiency.js.map +1 -0
- package/bundle/standalone/node_modules/kxta-core/dist/decision/types.d.ts +42 -0
- package/bundle/standalone/node_modules/kxta-core/dist/decision/types.d.ts.map +1 -0
- package/bundle/standalone/node_modules/kxta-core/dist/decision/types.js +7 -0
- package/bundle/standalone/node_modules/kxta-core/dist/decision/types.js.map +1 -0
- package/bundle/standalone/node_modules/kxta-core/dist/files/index.d.ts +3 -1
- package/bundle/standalone/node_modules/kxta-core/dist/files/index.d.ts.map +1 -1
- package/bundle/standalone/node_modules/kxta-core/dist/files/index.js +10 -1
- package/bundle/standalone/node_modules/kxta-core/dist/files/index.js.map +1 -1
- package/bundle/standalone/node_modules/kxta-core/dist/hooks/alerts.js +2 -2
- package/bundle/standalone/node_modules/kxta-core/dist/index.d.ts +4 -1
- package/bundle/standalone/node_modules/kxta-core/dist/index.d.ts.map +1 -1
- package/bundle/standalone/node_modules/kxta-core/dist/index.js +4 -1
- package/bundle/standalone/node_modules/kxta-core/dist/index.js.map +1 -1
- package/bundle/standalone/node_modules/kxta-core/dist/inference/bundled.d.ts +3 -0
- package/bundle/standalone/node_modules/kxta-core/dist/inference/bundled.d.ts.map +1 -0
- package/bundle/standalone/node_modules/kxta-core/dist/inference/bundled.js +27 -0
- package/bundle/standalone/node_modules/kxta-core/dist/inference/bundled.js.map +1 -0
- package/bundle/standalone/node_modules/kxta-core/dist/inference/cache-manager.d.ts +41 -0
- package/bundle/standalone/node_modules/kxta-core/dist/inference/cache-manager.d.ts.map +1 -0
- package/bundle/standalone/node_modules/kxta-core/dist/inference/cache-manager.js +140 -0
- package/bundle/standalone/node_modules/kxta-core/dist/inference/cache-manager.js.map +1 -0
- package/bundle/standalone/node_modules/kxta-core/dist/inference/index.d.ts +14 -0
- package/bundle/standalone/node_modules/kxta-core/dist/inference/index.d.ts.map +1 -0
- package/bundle/standalone/node_modules/kxta-core/dist/inference/index.js +15 -0
- package/bundle/standalone/node_modules/kxta-core/dist/inference/index.js.map +1 -0
- package/bundle/standalone/node_modules/kxta-core/dist/inference/runtime.d.ts +132 -0
- package/bundle/standalone/node_modules/kxta-core/dist/inference/runtime.d.ts.map +1 -0
- package/bundle/standalone/node_modules/kxta-core/dist/inference/runtime.js +311 -0
- package/bundle/standalone/node_modules/kxta-core/dist/inference/runtime.js.map +1 -0
- package/bundle/standalone/node_modules/kxta-core/dist/inference/types.d.ts +53 -0
- package/bundle/standalone/node_modules/kxta-core/dist/inference/types.d.ts.map +1 -0
- package/bundle/standalone/node_modules/kxta-core/dist/inference/types.js +6 -0
- package/bundle/standalone/node_modules/kxta-core/dist/inference/types.js.map +1 -0
- package/bundle/standalone/node_modules/kxta-core/dist/journal/distill.js +18 -5
- package/bundle/standalone/node_modules/kxta-core/dist/journal/distill.js.map +1 -1
- package/bundle/standalone/node_modules/kxta-core/dist/journal/event-triage.d.ts +31 -0
- package/bundle/standalone/node_modules/kxta-core/dist/journal/event-triage.d.ts.map +1 -0
- package/bundle/standalone/node_modules/kxta-core/dist/journal/event-triage.js +94 -0
- package/bundle/standalone/node_modules/kxta-core/dist/journal/event-triage.js.map +1 -0
- package/bundle/standalone/node_modules/kxta-core/dist/journal/patterns/refactor.js +2 -2
- package/bundle/standalone/node_modules/kxta-core/dist/journal/patterns/refactor.js.map +1 -1
- package/bundle/standalone/node_modules/kxta-core/dist/journal/patterns/tagging-pass.d.ts.map +1 -1
- package/bundle/standalone/node_modules/kxta-core/dist/journal/patterns/tagging-pass.js +5 -0
- package/bundle/standalone/node_modules/kxta-core/dist/journal/patterns/tagging-pass.js.map +1 -1
- package/bundle/standalone/node_modules/kxta-core/dist/journal/patterns/tool-classes.d.ts.map +1 -1
- package/bundle/standalone/node_modules/kxta-core/dist/journal/patterns/tool-classes.js +30 -5
- package/bundle/standalone/node_modules/kxta-core/dist/journal/patterns/tool-classes.js.map +1 -1
- package/bundle/standalone/node_modules/kxta-core/dist/journal/strict-mode.js +2 -2
- package/bundle/standalone/node_modules/kxta-core/dist/journal/topic-detector.d.ts +34 -0
- package/bundle/standalone/node_modules/kxta-core/dist/journal/topic-detector.d.ts.map +1 -1
- package/bundle/standalone/node_modules/kxta-core/dist/journal/topic-detector.js +251 -6
- package/bundle/standalone/node_modules/kxta-core/dist/journal/topic-detector.js.map +1 -1
- package/bundle/standalone/node_modules/kxta-core/dist/journal/types.d.ts +1 -0
- package/bundle/standalone/node_modules/kxta-core/dist/journal/types.d.ts.map +1 -1
- package/bundle/standalone/node_modules/kxta-core/dist/mcp-install/tools.generated.js +58 -58
- package/bundle/standalone/node_modules/kxta-core/dist/metadata/index.d.ts.map +1 -1
- package/bundle/standalone/node_modules/kxta-core/dist/metadata/index.js +10 -1
- package/bundle/standalone/node_modules/kxta-core/dist/metadata/index.js.map +1 -1
- package/bundle/standalone/node_modules/kxta-core/dist/project-map/index.js +1 -1
- package/bundle/standalone/node_modules/kxta-core/dist/rerank/arbitrator.d.ts +29 -0
- package/bundle/standalone/node_modules/kxta-core/dist/rerank/arbitrator.d.ts.map +1 -0
- package/bundle/standalone/node_modules/kxta-core/dist/rerank/arbitrator.js +68 -0
- package/bundle/standalone/node_modules/kxta-core/dist/rerank/arbitrator.js.map +1 -0
- package/bundle/standalone/node_modules/kxta-core/dist/rerank/engine.d.ts +57 -0
- package/bundle/standalone/node_modules/kxta-core/dist/rerank/engine.d.ts.map +1 -0
- package/bundle/standalone/node_modules/kxta-core/dist/rerank/engine.js +199 -0
- package/bundle/standalone/node_modules/kxta-core/dist/rerank/engine.js.map +1 -0
- package/bundle/standalone/node_modules/kxta-core/dist/rerank/index.d.ts +7 -0
- package/bundle/standalone/node_modules/kxta-core/dist/rerank/index.d.ts.map +1 -0
- package/bundle/standalone/node_modules/kxta-core/dist/rerank/index.js +8 -0
- package/bundle/standalone/node_modules/kxta-core/dist/rerank/index.js.map +1 -0
- package/bundle/standalone/node_modules/kxta-core/dist/rerank/types.d.ts +50 -0
- package/bundle/standalone/node_modules/kxta-core/dist/rerank/types.d.ts.map +1 -0
- package/bundle/standalone/node_modules/kxta-core/dist/rerank/types.js +2 -0
- package/bundle/standalone/node_modules/kxta-core/dist/rerank/types.js.map +1 -0
- package/bundle/standalone/node_modules/kxta-core/dist/types.d.ts +5 -0
- package/bundle/standalone/node_modules/kxta-core/dist/types.d.ts.map +1 -1
- package/bundle/standalone/node_modules/kxta-core/dist/util/paths.js +1 -1
- package/bundle/standalone/node_modules/kxta-core/package.json +4 -2
- package/bundle/standalone/node_modules/kxta-publish/package.json +3 -3
- package/bundle/standalone/package.json +3 -2
- package/package.json +5 -3
- package/bundle/standalone/apps/web/.next/static/chunks/app/page-df34c386b7c150bb.js +0 -1
- /package/bundle/standalone/apps/web/.next/static/{yyj-uK2RH8Rffeq9wVzjU → olhhWqI4356zOu5Kz_S1K}/_buildManifest.js +0 -0
- /package/bundle/standalone/apps/web/.next/static/{yyj-uK2RH8Rffeq9wVzjU → olhhWqI4356zOu5Kz_S1K}/_ssgManifest.js +0 -0
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
|
-
"generatedAt": "2026-
|
|
2
|
+
"generatedAt": "2026-10-05T18:19:20.344Z",
|
|
3
3
|
"tools": [
|
|
4
4
|
{
|
|
5
|
-
"name": "
|
|
5
|
+
"name": "admin_refresh_session_context",
|
|
6
6
|
"description": "Re-read the session context (profile, upcoming events within 7d, conflicts, freshness nudge) as it stands NOW. Call this when the user just edited their profile or added/moved calendar events and you want the current picture instead of the snapshot taken at session start. Read-only; no side effects. Returns the same block Kontexta sent as MCP instructions at session start.",
|
|
7
7
|
"inputSchema": {
|
|
8
8
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
}
|
|
15
15
|
},
|
|
16
16
|
{
|
|
17
|
-
"name": "
|
|
17
|
+
"name": "journal_write",
|
|
18
18
|
"description": "Write one event to the current project's journal. `kind: 'append'` = timestamped entry in today's daily journal file in the Knowledge Base (creates the file if it doesn't exist; both calls on the same calendar day return the same file_id; returns `{file_id}`). `kind: 'note'` = free-form decision/abandonment/observation, stored as an `agent_note` event in Layer 1 (surfaces in distilled task entries; returns `{ok, recorded_at}`). `kind: 'intent'` = topic/intent pivot, use when the user redirects what you're working on so the distillation step splits task buckets correctly (returns `{ok, recorded_at}`). Required fields depend on `kind`: 'append'/'note' need `text`; 'intent' needs `summary`.",
|
|
19
19
|
"inputSchema": {
|
|
20
20
|
"type": "object",
|
|
@@ -59,8 +59,8 @@
|
|
|
59
59
|
}
|
|
60
60
|
},
|
|
61
61
|
{
|
|
62
|
-
"name": "
|
|
63
|
-
"description": "Create one or more markdown, mermaid, or HTML files in the knowledge base or project (up to 200 per call). Pass a single-element `files` array for the one-file case. This operation writes each file to disk and adds it to the local SQLite FTS5 index. Destination is 'knowledge' (global KB) or 'kontexta' (internal Kontexta schema file, project_id required). 'project' is REFUSED: nothing created through kxta is written into a project repo. If destination is 'knowledge', 'kind' is strictly required for md files, pick 'dictionary' (authoritative source-of-truth) or 'note' (informational snapshot); see the kind param for the rubric. No external auth required. Rate limits do not apply (local operation). Per-item failures are isolated to `errors[]`, the rest of the batch still commits; a single-item call still reports its failure the same way. Returns `{created_count, error_count, created, errors}`. If a destination directory does not exist, it will be created automatically. To modify an existing file, use '
|
|
62
|
+
"name": "files_create",
|
|
63
|
+
"description": "Create one or more markdown, mermaid, or HTML files in the knowledge base or project (up to 200 per call). Pass a single-element `files` array for the one-file case. This operation writes each file to disk and adds it to the local SQLite FTS5 index. Destination is 'knowledge' (global KB) or 'kontexta' (internal Kontexta schema file, project_id required). 'project' is REFUSED: nothing created through kxta is written into a project repo. If destination is 'knowledge', 'kind' is strictly required for md files, pick 'dictionary' (authoritative source-of-truth) or 'note' (informational snapshot); see the kind param for the rubric. No external auth required. Rate limits do not apply (local operation). Per-item failures are isolated to `errors[]`, the rest of the batch still commits; a single-item call still reports its failure the same way. Returns `{created_count, error_count, created, errors}`. If a destination directory does not exist, it will be created automatically. To modify an existing file, use 'files_update' instead. Pass format='mmd' on an item to create a Mermaid diagram file (.mmd), for destination='knowledge' it's auto-routed to the KB's `mermaid/` bucket (`kind` ignored, not required); Pass format='html' for an HTML report, `destination` MUST be 'knowledge' (html reports are auto-routed to the KB's `html/` bucket; `kind` is ignored and not required for html). Format defaults to 'md'.",
|
|
64
64
|
"inputSchema": {
|
|
65
65
|
"type": "object",
|
|
66
66
|
"properties": {
|
|
@@ -142,7 +142,7 @@
|
|
|
142
142
|
}
|
|
143
143
|
},
|
|
144
144
|
{
|
|
145
|
-
"name": "
|
|
145
|
+
"name": "resources_add_report",
|
|
146
146
|
"description": "Write an image or other binary resource into the shared reports/resources/ folder. Returns { filename, size, src, url }: embed the report's <img>/<a> tags with `src` exactly as given (e.g. `<img src=\"resources/chart.png\">`); it is the only form that resolves correctly both in the dashboard viewer and in PDF/PNG export. Do not use `url` inside report HTML: it only works in the dashboard. Bytes are passed base64-encoded.",
|
|
147
147
|
"inputSchema": {
|
|
148
148
|
"type": "object",
|
|
@@ -168,7 +168,7 @@
|
|
|
168
168
|
}
|
|
169
169
|
},
|
|
170
170
|
{
|
|
171
|
-
"name": "
|
|
171
|
+
"name": "resources_list_reports",
|
|
172
172
|
"description": "List all files currently stored under reports/resources/. Returns filename, size in bytes, and served URL.",
|
|
173
173
|
"inputSchema": {
|
|
174
174
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
@@ -180,7 +180,7 @@
|
|
|
180
180
|
}
|
|
181
181
|
},
|
|
182
182
|
{
|
|
183
|
-
"name": "
|
|
183
|
+
"name": "resources_delete_report",
|
|
184
184
|
"description": "Delete a file from reports/resources/. No-op if it doesn't exist.",
|
|
185
185
|
"inputSchema": {
|
|
186
186
|
"type": "object",
|
|
@@ -201,7 +201,7 @@
|
|
|
201
201
|
}
|
|
202
202
|
},
|
|
203
203
|
{
|
|
204
|
-
"name": "
|
|
204
|
+
"name": "resources_export_report",
|
|
205
205
|
"description": "Export an existing HTML report as PDF or PNG. Returns { url } for the web-served download (requires an authenticated dashboard request) by default. Set inline_bytes=true to render in-process and get { bytes_base64 } instead: only available when running via the full `kontexta` CLI, not the standalone kontexta-mcp package; falls back to { url } with a note if unavailable.",
|
|
206
206
|
"inputSchema": {
|
|
207
207
|
"type": "object",
|
|
@@ -236,8 +236,8 @@
|
|
|
236
236
|
}
|
|
237
237
|
},
|
|
238
238
|
{
|
|
239
|
-
"name": "
|
|
240
|
-
"description": "Read one or more files, in full or in part. Modes: single-by-id (`id`), single-by-path (`path`, absolute on-disk path, must be exactly as indexed), batch-by-id (`ids`, up to 200), partial-by-heading (`id`+`section`), partial-by-line-range (`id`+`lines`). Exactly one of `id`/`path`/`ids` is required. `section` and `lines` are mutually exclusive and only valid with `id` (not `ids` or `path`). Read-only; no side effects, auth, or rate limits. Response shape: a single file object (with `content`, tags, est_tokens) for `id`/`path`; a partial-content object for `section`/`lines`; `{files, total_est_tokens, error_count, errors}` for `ids` (per-ID failures isolated, batch never partial-throws). Prefer `
|
|
239
|
+
"name": "files_read",
|
|
240
|
+
"description": "Read one or more files, in full or in part. Modes: single-by-id (`id`), single-by-path (`path`, absolute on-disk path, must be exactly as indexed), batch-by-id (`ids`, up to 200), partial-by-heading (`id`+`section`), partial-by-line-range (`id`+`lines`). Exactly one of `id`/`path`/`ids` is required. `section` and `lines` are mutually exclusive and only valid with `id` (not `ids` or `path`). Read-only; no side effects, auth, or rate limits. Response shape: a single file object (with `content`, tags, est_tokens) for `id`/`path`; a partial-content object for `section`/`lines`; `{files, total_est_tokens, error_count, errors}` for `ids` (per-ID failures isolated, batch never partial-throws). Prefer `files_describe` to inspect without paying body tokens.",
|
|
241
241
|
"inputSchema": {
|
|
242
242
|
"type": "object",
|
|
243
243
|
"properties": {
|
|
@@ -293,8 +293,8 @@
|
|
|
293
293
|
}
|
|
294
294
|
},
|
|
295
295
|
{
|
|
296
|
-
"name": "
|
|
297
|
-
"description": "Return everything ABOUT a file without pulling its content (no token cost from the body). Tags, size, est_tokens, history depth, related-file ids, backlinks, project, folder, last edited. Operates locally with no auth or rate limits. Use this when you'd otherwise chain
|
|
296
|
+
"name": "files_describe",
|
|
297
|
+
"description": "Return everything ABOUT a file without pulling its content (no token cost from the body). Tags, size, est_tokens, history depth, related-file ids, backlinks, project, folder, last edited. Operates locally with no auth or rate limits. Use this when you'd otherwise chain files_read + tags_list + files_get_history + files_find_related just to decide whether to actually read the file. Parameters: 'id' must be a valid integer file ID.",
|
|
298
298
|
"inputSchema": {
|
|
299
299
|
"type": "object",
|
|
300
300
|
"properties": {
|
|
@@ -314,8 +314,8 @@
|
|
|
314
314
|
}
|
|
315
315
|
},
|
|
316
316
|
{
|
|
317
|
-
"name": "
|
|
318
|
-
"description": "Match a JS regex against file bodies. Default mode scans every file in scope (project, KB, or all) and returns per-file hits with line numbers: slower than FTS `
|
|
317
|
+
"name": "files_regex_search",
|
|
318
|
+
"description": "Match a JS regex against file bodies. Default mode scans every file in scope (project, KB, or all) and returns per-file hits with line numbers: slower than FTS `files_search` because it reads each file's content; use only when FTS misses substrings, URLs, or code identifiers. Pass `file_id` to instead scan just that one file (catches what FTS misses within a single known file); response shape changes to `{file_id, path, pattern, match_count, truncated, matches}`. Read-only; no side effects, auth, or rate limits. Multi-file mode capped at 500 files / 10 hits per file by default (`files_truncated` reports the cap); single-file mode capped at 100 hits by default, max 500. `project_id`/`kind` are ignored when `file_id` is set. Invalid regex throws.",
|
|
319
319
|
"inputSchema": {
|
|
320
320
|
"type": "object",
|
|
321
321
|
"properties": {
|
|
@@ -378,7 +378,7 @@
|
|
|
378
378
|
}
|
|
379
379
|
},
|
|
380
380
|
{
|
|
381
|
-
"name": "
|
|
381
|
+
"name": "files_update",
|
|
382
382
|
"description": "Rewrite a KB file (project-repo files are refused: kxta never writes into a repo). Default = full-body replacement: `content` becomes the entire file, triggering disk write + FTS5 re-index. Pass `section` to instead rewrite ONLY that heading's body (case-insensitive exact-string after trim; the heading line itself is preserved, siblings untouched), saves context budget vs resending the whole file. Throws if `section` is set but the heading doesn't exist (this mode will NOT create a new section, append the section text via a full-body update first). Operates locally with no external auth or rate limits. Returns the updated file metadata including new estimated token counts.",
|
|
383
383
|
"inputSchema": {
|
|
384
384
|
"type": "object",
|
|
@@ -408,8 +408,8 @@
|
|
|
408
408
|
}
|
|
409
409
|
},
|
|
410
410
|
{
|
|
411
|
-
"name": "
|
|
412
|
-
"description": "DESTRUCTIVE. Permanently delete one or more files by ID (up to 500 per call). Pass a single-element `ids` array for the one-file case. KB files are unlinked from disk AND removed from the FTS5 index; project reference files only have their index entry removed (the file on disk is left alone so the watcher does not fight your editor). Not idempotent: deleting an unknown ID surfaces as a per-item error. No external auth or rate limits. Per-ID failures are isolated to `errors[]` and the rest of the batch still commits: partial success is the norm, always inspect `error_count`. Returns `{deleted_count, error_count, deleted, errors}`. Use only when the file is truly obsolete; to deprioritise without losing data, untag (`
|
|
411
|
+
"name": "files_delete",
|
|
412
|
+
"description": "DESTRUCTIVE. Permanently delete one or more files by ID (up to 500 per call). Pass a single-element `ids` array for the one-file case. KB files are unlinked from disk AND removed from the FTS5 index; project reference files only have their index entry removed (the file on disk is left alone so the watcher does not fight your editor). Not idempotent: deleting an unknown ID surfaces as a per-item error. No external auth or rate limits. Per-ID failures are isolated to `errors[]` and the rest of the batch still commits: partial success is the norm, always inspect `error_count`. Returns `{deleted_count, error_count, deleted, errors}`. Use only when the file is truly obsolete; to deprioritise without losing data, untag (`tags_remove`) or unfavorite (`tags_set_favorite`) instead. To preview the set before deleting, run `files_list` with the same filter and confirm the IDs.",
|
|
413
413
|
"inputSchema": {
|
|
414
414
|
"type": "object",
|
|
415
415
|
"properties": {
|
|
@@ -434,8 +434,8 @@
|
|
|
434
434
|
}
|
|
435
435
|
},
|
|
436
436
|
{
|
|
437
|
-
"name": "
|
|
438
|
-
"description": "List file metadata with optional filters (project_id, tag, favorite, folder, untagged, kind) and pagination. Read-only; no side effects, auth, or rate limits. Each row is annotated with tags, est_tokens, size_bytes, and content_class; the response includes `total_est_tokens` so you can budget before reading bodies. `project_id: null` returns ONLY Knowledge Base files; omit the field to span everything; `kind` narrows to one content class. Use to browse known structure; for keyword/content lookup use `
|
|
437
|
+
"name": "files_list",
|
|
438
|
+
"description": "List file metadata with optional filters (project_id, tag, favorite, folder, untagged, kind) and pagination. Read-only; no side effects, auth, or rate limits. Each row is annotated with tags, est_tokens, size_bytes, and content_class; the response includes `total_est_tokens` so you can budget before reading bodies. `project_id: null` returns ONLY Knowledge Base files; omit the field to span everything; `kind` narrows to one content class. Use to browse known structure; for keyword/content lookup use `files_search`; for a denser whole-vault dump use `projects_map`.",
|
|
439
439
|
"inputSchema": {
|
|
440
440
|
"type": "object",
|
|
441
441
|
"properties": {
|
|
@@ -489,8 +489,8 @@
|
|
|
489
489
|
}
|
|
490
490
|
},
|
|
491
491
|
{
|
|
492
|
-
"name": "
|
|
493
|
-
"description": "Full-text (SQLite FTS5) keyword search across files. Default mode returns ranked matches with inline match_excerpt and title_highlight (no follow-up `
|
|
492
|
+
"name": "files_search",
|
|
493
|
+
"description": "Full-text (SQLite FTS5) keyword search across files. Default mode returns ranked matches with inline match_excerpt and title_highlight (no follow-up `files_read` needed for snippets) plus tags, est_tokens, size_bytes, content_class, and aggregate `total_est_tokens`. Pass `include_bodies: true` to instead get a single prompt-ready bundle: matched bodies concatenated into XML `<document>` blocks or markdown headers + fences (see `format`/`max_tokens`), capped at the token budget, files are added in rank order until the next would exceed it, the rest going to `meta.skipped[]`. Use `include_bodies` instead of `files_search` + N×`files_read` when you need several related files as one context blob. Read-only; no side effects, auth, or rate limits. Ordering: dictionary hits sort above everything else for the same query (dictionary-wins on conflict), then BM25 rank. FTS is tokenised: it WILL miss URLs, hyphenated terms, and partial substrings, fall back to `files_regex_search` for those. `project_id: null` searches only the KB; omit the field to span everything; `tags[]` requires ALL listed tags to match; `kind` narrows to one content class.",
|
|
494
494
|
"inputSchema": {
|
|
495
495
|
"type": "object",
|
|
496
496
|
"properties": {
|
|
@@ -541,7 +541,15 @@
|
|
|
541
541
|
"max_tokens": {
|
|
542
542
|
"type": "integer",
|
|
543
543
|
"exclusiveMinimum": 0,
|
|
544
|
-
"description": "Token budget when `include_bodies` is true (default
|
|
544
|
+
"description": "Token budget when `include_bodies` is true (default 12000). Files added in rank order until the next would exceed; remainder go to `meta.skipped[]`. Ignored otherwise."
|
|
545
|
+
},
|
|
546
|
+
"rerank": {
|
|
547
|
+
"type": "boolean",
|
|
548
|
+
"description": "When true, rerank search matches using local cross-encoder neural model and soft content-class arbitration. Defaults to kontexta.json search.rerank.enabled (or true if model available)."
|
|
549
|
+
},
|
|
550
|
+
"check_sufficiency": {
|
|
551
|
+
"type": "boolean",
|
|
552
|
+
"description": "When include_bodies is true, evaluate retrieval sufficiency with non-autoregressive decision model. Default true."
|
|
545
553
|
}
|
|
546
554
|
},
|
|
547
555
|
"required": [
|
|
@@ -555,8 +563,8 @@
|
|
|
555
563
|
}
|
|
556
564
|
},
|
|
557
565
|
{
|
|
558
|
-
"name": "
|
|
559
|
-
"description": "Append tags to ONE file. Additive: existing tags are preserved; re-adding an existing tag is a no-op (idempotent per tag). New tag names auto-create rows in the global `tags` table. Persists to local SQLite. No external auth or rate limits. Returns `{success: true}`; throws if file_id is unknown. Use to label a single file. To tag every file matching a query in one call use `
|
|
566
|
+
"name": "tags_add",
|
|
567
|
+
"description": "Append tags to ONE file. Additive: existing tags are preserved; re-adding an existing tag is a no-op (idempotent per tag). New tag names auto-create rows in the global `tags` table. Persists to local SQLite. No external auth or rate limits. Returns `{success: true}`; throws if file_id is unknown. Use to label a single file. To tag every file matching a query in one call use `tags_search`; to remove tags use `tags_remove`.",
|
|
560
568
|
"inputSchema": {
|
|
561
569
|
"type": "object",
|
|
562
570
|
"properties": {
|
|
@@ -584,8 +592,8 @@
|
|
|
584
592
|
}
|
|
585
593
|
},
|
|
586
594
|
{
|
|
587
|
-
"name": "
|
|
588
|
-
"description": "Detach one or more tag IDs from ONE file. Destructive on the link only: does NOT delete the file or the global tag definition (orphan tags survive in `
|
|
595
|
+
"name": "tags_remove",
|
|
596
|
+
"description": "Detach one or more tag IDs from ONE file. Destructive on the link only: does NOT delete the file or the global tag definition (orphan tags survive in `tags_list`). Idempotent: removing an already-absent tag is a no-op. No external auth or rate limits. Returns `{success: true}`. Note: takes tag IDs (integers), not names, fetch them via `tags_list`. To remove ALL tags from many files via a query, see `tags_search` (additive only), there is no bulk-untag-by-query tool.",
|
|
589
597
|
"inputSchema": {
|
|
590
598
|
"type": "object",
|
|
591
599
|
"properties": {
|
|
@@ -613,8 +621,8 @@
|
|
|
613
621
|
}
|
|
614
622
|
},
|
|
615
623
|
{
|
|
616
|
-
"name": "
|
|
617
|
-
"description": "Set or clear the favorite flag on one file (idempotent: re-setting the same value is a no-op; not a toggle, you pass the desired state). Persists to local SQLite. No external auth or rate limits. Returns `{success: true}`. Use to curate quick-access pins; `
|
|
624
|
+
"name": "tags_set_favorite",
|
|
625
|
+
"description": "Set or clear the favorite flag on one file (idempotent: re-setting the same value is a no-op; not a toggle, you pass the desired state). Persists to local SQLite. No external auth or rate limits. Returns `{success: true}`. Use to curate quick-access pins; `files_list` / `files_search` accept `favorite: true` to filter to the pinned set.",
|
|
618
626
|
"inputSchema": {
|
|
619
627
|
"type": "object",
|
|
620
628
|
"properties": {
|
|
@@ -639,8 +647,8 @@
|
|
|
639
647
|
}
|
|
640
648
|
},
|
|
641
649
|
{
|
|
642
|
-
"name": "
|
|
643
|
-
"description": "List every tag in the global SQLite database with id, name, and applied count. Read-only; no side effects, auth, or rate limits. Returns the entire taxonomy (not paginated). Use to discover existing labels before tagging (so you reuse rather than fork) or to find tag IDs to feed into `
|
|
650
|
+
"name": "tags_list",
|
|
651
|
+
"description": "List every tag in the global SQLite database with id, name, and applied count. Read-only; no side effects, auth, or rate limits. Returns the entire taxonomy (not paginated). Use to discover existing labels before tagging (so you reuse rather than fork) or to find tag IDs to feed into `tags_remove`. For tags on a specific file, use `files_describe`.",
|
|
644
652
|
"inputSchema": {
|
|
645
653
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
646
654
|
"type": "object",
|
|
@@ -651,8 +659,8 @@
|
|
|
651
659
|
}
|
|
652
660
|
},
|
|
653
661
|
{
|
|
654
|
-
"name": "
|
|
655
|
-
"description": "List every registered project with id, name, absolute path, and a derived `has_hands` flag (true when the path exists on disk AND contains a `kontexta.json`). Read-only; no side effects, auth, or rate limits. Use to find the project_id to pass to scoped tools (`
|
|
662
|
+
"name": "projects_list",
|
|
663
|
+
"description": "List every registered project with id, name, absolute path, and a derived `has_hands` flag (true when the path exists on disk AND contains a `kontexta.json`). Read-only; no side effects, auth, or rate limits. Use to find the project_id to pass to scoped tools (`files_search`, `files_list`, `admin_commit_backup`, `projects_refresh_index`, etc.). To register a new project use `projects_register`; to inspect its Hands tools use `hands_list`.",
|
|
656
664
|
"inputSchema": {
|
|
657
665
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
658
666
|
"type": "object",
|
|
@@ -663,7 +671,7 @@
|
|
|
663
671
|
}
|
|
664
672
|
},
|
|
665
673
|
{
|
|
666
|
-
"name": "
|
|
674
|
+
"name": "projects_register",
|
|
667
675
|
"description": "Register a new project and link it to the Kontexta knowledge system.\n\nSIDE EFFECTS: Writes project metadata to disk (persisted in the Kontexta data directory). Scans the project root recursively to discover and index all markdown files into the local database. Registers any kontexta.json-declared Hands tools found in the project root. This operation is idempotent, re-registering an existing project updates its metadata without data loss.\n\nAUTH / RATE LIMITS: None. Operates entirely on the local file system.\n\nPARAMETERS:\n- name: Human-readable project name.\n- path: Absolute path to the project root. Required. DO NOT guess or assume the path based on the active editor workspace unless the user explicitly asks to register the \"current\" or \"open\" project. If the user provides a project name but no path, ask them for the absolute path before calling this tool. Fails with a descriptive error if the path does not exist or is inaccessible.\n- description: Optional free-text description stored with the project metadata.\n\nRETURNS: A JSON object containing:\n- project: { id, name, path, description, created_at }\n- discovered_files_count: number of markdown files indexed\n- discovered_files: array of { path, est_tokens, size_bytes } for each file\n- total_est_tokens: estimated total token cost of all discovered files\n- hands: { found, tools_registered, tools_disabled, warnings }\n- warnings: array of non-fatal issues (e.g. scan failures, token budget exceeded)\n\nERROR CONDITIONS: Returns isError=true if path is missing or unresolvable. Scan failures are non-fatal and reported in warnings rather than as errors.",
|
|
668
676
|
"inputSchema": {
|
|
669
677
|
"type": "object",
|
|
@@ -693,7 +701,7 @@
|
|
|
693
701
|
}
|
|
694
702
|
},
|
|
695
703
|
{
|
|
696
|
-
"name": "
|
|
704
|
+
"name": "admin_onboard_agent",
|
|
697
705
|
"description": "Write or update the kontexta workflow rules block in a project's agent context file(s). Idempotent: uses fenced markers + version to skip no-op writes.\n\nMANDATORY: This tool modifies project configuration files. You MUST seek explicit user consent before calling this tool. Set 'confirm: true' only after the user has agreed.\n\nPARAMETERS:\n- project_id: number, required.\n- confirm: boolean, required. Must be true to proceed.\n- files: string[], optional. Paths relative to project root. For update mode, defaults to recommendation.target_files. Ignored when files is empty AND target_agent is provided (create mode).\n- target_agent: enum claude-code | codex | gemini | cursor | continue | aider | cline | copilot | generic. Required when files is empty AND no context file currently exists. Picks the canonical filename and the starter scaffold.\n\n- hooks: boolean, optional. With target_agent set, also enables that agent and installs its conversation-capture hooks (npx/source installs) or returns the host docker command (Docker). Ask the user before setting it.\n\nRETURNS: { written: [{ path, action: created|updated|skipped, version }], skipped: [{ path, reason }], hooks_install?: { agent, mode, enabled, outcome?, docker_command?, note?, error? }, hooks?: { install_mode, alerts, prompt } }",
|
|
698
706
|
"inputSchema": {
|
|
699
707
|
"type": "object",
|
|
@@ -746,7 +754,7 @@
|
|
|
746
754
|
}
|
|
747
755
|
},
|
|
748
756
|
{
|
|
749
|
-
"name": "
|
|
757
|
+
"name": "admin_transfer_agent_context",
|
|
750
758
|
"description": "COPY existing agent context files (CLAUDE.md, AGENTS.md, .cursor/rules/*.mdc, etc.) from a project's repo into Kontexta's per-project knowledge base so they're indexed by FTS5 and can be git-synced through Kontexta's own backup engine.\n\nThis tool ONLY COPIES. It never deletes or modifies the originals in your repo. After a successful transfer, the response includes the list of source paths so the user can manually remove them if desired. No tool argument, no flag, and no code path in this tool ever calls a destructive filesystem operation against `project.path`.\n\nMANDATORY: This tool writes new files into Kontexta's data dir. You MUST seek explicit user consent before calling. Set 'confirm: true' only after the user has agreed.\n\nPARAMETERS:\n- project_id: number, required. Project ID returned from register_project.\n- confirm: boolean, required. Must be true.\n- files: string[], optional. Project-relative paths to transfer. Omit or pass [] to transfer all detected agent context files (uses the same detection list as register_project / onboard_agent).\n\nRETURNS: { transferred: [{ source_path, kb_id, kb_path, est_tokens }], skipped: [{ source_path, reason }], next_action }\nSkip reasons: \"missing\" | \"symlink\" | \"outside_project\" | \"already_transferred_same_content\" | \"read_error\" | \"write_error\".\n\nIDEMPOTENT: re-running with the same files copies nothing if the content is unchanged, duplicate transfers are detected via SHA-256 hash comparison against existing project KB rows.",
|
|
751
759
|
"inputSchema": {
|
|
752
760
|
"type": "object",
|
|
@@ -779,7 +787,7 @@
|
|
|
779
787
|
}
|
|
780
788
|
},
|
|
781
789
|
{
|
|
782
|
-
"name": "
|
|
790
|
+
"name": "admin_commit_backup",
|
|
783
791
|
"description": "SIDE-EFFECTFUL: TOUCHES THE NETWORK. Sync the project's KB data into its git backup directory, create a commit, and `git push` to `origin`. AUTH: relies on the local user's git credentials (SSH agent, credential helper, etc.), there is no in-server auth. Kontexta does not rate-limit, but the remote may. Idempotent in steady state: a no-op commit is skipped, but the push still runs. Throws if the project has no configured backup repo or if push fails (network, auth, conflict). Returns `{success, copied_files_count, copied_paths}`. Use after a batch of KB writes to get changes off-machine.",
|
|
784
792
|
"inputSchema": {
|
|
785
793
|
"type": "object",
|
|
@@ -800,7 +808,7 @@
|
|
|
800
808
|
}
|
|
801
809
|
},
|
|
802
810
|
{
|
|
803
|
-
"name": "
|
|
811
|
+
"name": "resources_clip_url",
|
|
804
812
|
"description": "SIDE-EFFECTFUL: fetches an EXTERNAL URL and writes a NEW KB file. Downloads the page, extracts the main article via Readability, converts to markdown, and saves it under `knowledge/urlclips/`. Auto-classified as content_class='dictionary' (clipped external references are treated as authoritative reference material). NOT idempotent / no de-dup: re-clipping the same URL creates a second file. AUTH: anonymous by default; pass `headers` (e.g. `{Cookie: 'session=...'}` or `{Authorization: 'Bearer ...'}`) to clip behind logins. Kontexta does not rate-limit but the upstream may throttle. On auth-required pages returns isError with `code: AUTH_REQUIRED`, optional `login_url`, and a hint to retry with `headers`. Returns `{file_id, path, title, source}`. Use to ingest external docs into the KB.",
|
|
805
813
|
"inputSchema": {
|
|
806
814
|
"type": "object",
|
|
@@ -833,8 +841,8 @@
|
|
|
833
841
|
}
|
|
834
842
|
},
|
|
835
843
|
{
|
|
836
|
-
"name": "
|
|
837
|
-
"description": "Return the git commit history for one file (newest first), each entry with hash, message, date, and author. Reads the file's owning repo: the project's git repo for project files, the KB backup repo for KB files. Read-only; no side effects, auth, or rate limits. Returns `{file_id, path, history}`; an empty array means the file has not been committed yet. Use to understand a file's evolution before editing or restoring. Pair with `
|
|
844
|
+
"name": "files_get_history",
|
|
845
|
+
"description": "Return the git commit history for one file (newest first), each entry with hash, message, date, and author. Reads the file's owning repo: the project's git repo for project files, the KB backup repo for KB files. Read-only; no side effects, auth, or rate limits. Returns `{file_id, path, history}`; an empty array means the file has not been committed yet. Use to understand a file's evolution before editing or restoring. Pair with `files_get_diff` to see exact line changes; use `files_restore` to roll back.",
|
|
838
846
|
"inputSchema": {
|
|
839
847
|
"type": "object",
|
|
840
848
|
"properties": {
|
|
@@ -854,8 +862,8 @@
|
|
|
854
862
|
}
|
|
855
863
|
},
|
|
856
864
|
{
|
|
857
|
-
"name": "
|
|
858
|
-
"description": "Return the unified diff of one file between two commit hashes (typically obtained from `
|
|
865
|
+
"name": "files_get_diff",
|
|
866
|
+
"description": "Return the unified diff of one file between two commit hashes (typically obtained from `files_get_history` for the same file). Read-only; no side effects, auth, or rate limits. Order matters: `commit_a` is treated as the earlier side; reversing the args inverts the diff. Throws if either hash is unknown to the file's repo. Use after `files_get_history` to see WHAT changed, not just THAT it changed.",
|
|
859
867
|
"inputSchema": {
|
|
860
868
|
"type": "object",
|
|
861
869
|
"properties": {
|
|
@@ -885,8 +893,8 @@
|
|
|
885
893
|
}
|
|
886
894
|
},
|
|
887
895
|
{
|
|
888
|
-
"name": "
|
|
889
|
-
"description": "DESTRUCTIVE. Overwrite a file's current on-disk content with the version recorded at a specific git commit, then re-index FTS. The hash MUST come from `
|
|
896
|
+
"name": "files_restore",
|
|
897
|
+
"description": "DESTRUCTIVE. Overwrite a file's current on-disk content with the version recorded at a specific git commit, then re-index FTS. The hash MUST come from `files_get_history` for THIS file (foreign hashes throw). The current uncommitted content is lost unless it was already committed elsewhere. The file watcher may also pick up the change before this returns. No external auth or rate limits. Returns `{file_id, path, hash, success, message}`. Use only to undo accidental edits or recover a known-good version.",
|
|
890
898
|
"inputSchema": {
|
|
891
899
|
"type": "object",
|
|
892
900
|
"properties": {
|
|
@@ -911,8 +919,8 @@
|
|
|
911
919
|
}
|
|
912
920
|
},
|
|
913
921
|
{
|
|
914
|
-
"name": "
|
|
915
|
-
"description": "Return a flat list of markdown headings for one file (level, text, line, byteStart, byteEnd). Read-only; no side effects, auth, or rate limits. Use as a cheap probe before `
|
|
922
|
+
"name": "files_read_outline",
|
|
923
|
+
"description": "Return a flat list of markdown headings for one file (level, text, line, byteStart, byteEnd). Read-only; no side effects, auth, or rate limits. Use as a cheap probe before `files_read({ id, section })` or `files_update({ file_id, section, content })` so you don't spend tokens on the full body just to learn what sections exist. Empty outline means the file has no markdown headings (it may still have content: fall back to `files_read` in full or `files_read({ id, lines })`).",
|
|
916
924
|
"inputSchema": {
|
|
917
925
|
"type": "object",
|
|
918
926
|
"properties": {
|
|
@@ -932,8 +940,8 @@
|
|
|
932
940
|
}
|
|
933
941
|
},
|
|
934
942
|
{
|
|
935
|
-
"name": "
|
|
936
|
-
"description": "List folder paths under a project root (or the Knowledge Base when `project_id` is null/omitted). Returns `{folders: string[], base_path}` where `folders` are RELATIVE to `base_path`. Read-only; no side effects, auth, or rate limits. Throws if `project_id` references an unknown project. Use to discover where to drop a new file via `
|
|
943
|
+
"name": "folders_list",
|
|
944
|
+
"description": "List folder paths under a project root (or the Knowledge Base when `project_id` is null/omitted). Returns `{folders: string[], base_path}` where `folders` are RELATIVE to `base_path`. Read-only; no side effects, auth, or rate limits. Throws if `project_id` references an unknown project. Use to discover where to drop a new file via `files_create`'s `folder` argument or to navigate vault structure; to actually create one use `folders_create`.",
|
|
937
945
|
"inputSchema": {
|
|
938
946
|
"type": "object",
|
|
939
947
|
"properties": {
|
|
@@ -953,7 +961,7 @@
|
|
|
953
961
|
}
|
|
954
962
|
},
|
|
955
963
|
{
|
|
956
|
-
"name": "
|
|
964
|
+
"name": "folders_create",
|
|
957
965
|
"description": "Create a folder in the KB (a `project_id` is refused: kxta never writes into a project repo). Idempotent, creating an existing folder succeeds. Nested paths like `notes/inbox` create intermediates. REJECTS: empty names, null bytes, leading path separators, and any segment equal to `..` (the call returns isError, no folder is touched). Side effect: a directory is mkdir'd on disk; no DB rows are written until a file lands inside. No external auth or rate limits. Returns `{path, base_path}`.",
|
|
958
966
|
"inputSchema": {
|
|
959
967
|
"type": "object",
|
|
@@ -981,8 +989,8 @@
|
|
|
981
989
|
}
|
|
982
990
|
},
|
|
983
991
|
{
|
|
984
|
-
"name": "
|
|
985
|
-
"description": "DESTRUCTIVE: recursively delete a folder under the KB AND every file inside it (disk + FTS rows). REFUSES (returns isError) when `project_id` is supplied: deleting inside a registered project would race the file watcher and re-ingest the contents, remove project content via your editor instead. Same name validation as `
|
|
992
|
+
"name": "folders_delete",
|
|
993
|
+
"description": "DESTRUCTIVE: recursively delete a folder under the KB AND every file inside it (disk + FTS rows). REFUSES (returns isError) when `project_id` is supplied: deleting inside a registered project would race the file watcher and re-ingest the contents, remove project content via your editor instead. Same name validation as `folders_create`. Not recoverable from Kontexta after the call (only the git backup, if configured, retains it). No external auth or rate limits. Returns `{success: true}`.",
|
|
986
994
|
"inputSchema": {
|
|
987
995
|
"type": "object",
|
|
988
996
|
"properties": {
|
|
@@ -1009,7 +1017,7 @@
|
|
|
1009
1017
|
}
|
|
1010
1018
|
},
|
|
1011
1019
|
{
|
|
1012
|
-
"name": "
|
|
1020
|
+
"name": "files_move",
|
|
1013
1021
|
"description": "Move/rename a KB file (project-repo files are refused). Destination 'new_path' must be absolute and resolve INSIDE the file's owning project or global knowledge directory. Cross-project moves are rejected. Alternative: pass `kind='dictionary'|'note'` (with no `new_path`) to move a KB file into the mirrored path in the other class tree, subfolder path is preserved. Operates locally with no auth or limits.",
|
|
1014
1022
|
"inputSchema": {
|
|
1015
1023
|
"type": "object",
|
|
@@ -1042,8 +1050,8 @@
|
|
|
1042
1050
|
}
|
|
1043
1051
|
},
|
|
1044
1052
|
{
|
|
1045
|
-
"name": "
|
|
1046
|
-
"description": "Find other files sharing tags with the given file, ranked by `shared_tag_count` descending. Read-only; no side effects, auth, or rate limits. Returns annotated file rows with `shared_tag_count` and `shared_tags`. Empty result means the file has no tags or no other file shares them: try `
|
|
1053
|
+
"name": "files_find_related",
|
|
1054
|
+
"description": "Find other files sharing tags with the given file, ranked by `shared_tag_count` descending. Read-only; no side effects, auth, or rate limits. Returns annotated file rows with `shared_tag_count` and `shared_tags`. Empty result means the file has no tags or no other file shares them: try `files_search`/`files_regex_search` for content-based discovery, or `tags_suggest` to bootstrap labels first. `kind` narrows to one content class. Default limit 10.",
|
|
1047
1055
|
"inputSchema": {
|
|
1048
1056
|
"type": "object",
|
|
1049
1057
|
"properties": {
|
|
@@ -1077,8 +1085,8 @@
|
|
|
1077
1085
|
}
|
|
1078
1086
|
},
|
|
1079
1087
|
{
|
|
1080
|
-
"name": "
|
|
1081
|
-
"description": "Bulk-tag: run an FTS `search` and append `add_tags` to every matching file in one call. Side effect: each match gets `addTags` applied (additive, idempotent per tag); the matched files themselves are NOT modified beyond their tag links. Per-file failures isolated to `errors[]`. No external auth or rate limits. There is NO dry-run flag, so ALWAYS run `
|
|
1088
|
+
"name": "tags_search",
|
|
1089
|
+
"description": "Bulk-tag: run an FTS `search` and append `add_tags` to every matching file in one call. Side effect: each match gets `addTags` applied (additive, idempotent per tag); the matched files themselves are NOT modified beyond their tag links. Per-file failures isolated to `errors[]`. No external auth or rate limits. There is NO dry-run flag, so ALWAYS run `files_search` with the same query first to verify the match set before tagging. The `tags[]` filter requires existing tags to ALL match (it scopes the search; it does not control which tags get added). Returns `{matched_count, tagged_count, tags_applied, tagged_ids, errors}`.",
|
|
1082
1090
|
"inputSchema": {
|
|
1083
1091
|
"type": "object",
|
|
1084
1092
|
"properties": {
|
|
@@ -1125,8 +1133,8 @@
|
|
|
1125
1133
|
}
|
|
1126
1134
|
},
|
|
1127
1135
|
{
|
|
1128
|
-
"name": "
|
|
1129
|
-
"description": "Vault-state snapshot. `mode: 'stats'` = aggregate counts for a scope: `file_count`, `untagged_count`, `favorite_count`, `top_tags`. With `project_id` omitted (everything), also returns `by_project` breakdown. `include_token_total: true` stat()s every matching file on disk to compute a body-size estimate, measurably slower on large vaults; default false. `mode: 'whats_new'` = list files created or modified since a checkpoint (`since`, REQUIRED for this mode, ISO-8601 like `2025-01-15T00:00:00Z` or relative durations like `1h`/`7d`/`2w`; invalid formats throw); CAVEAT: hard-deleted files are NOT surfaced, only mtime-driven changes. Both modes: `project_id: null` = KB only; omit = everything. Read-only; no side effects, auth, or rate limits. Use `stats` as a cheap dashboard or to spot untagged content for cleanup (for live disk-vs-index drift use `
|
|
1136
|
+
"name": "admin_overview",
|
|
1137
|
+
"description": "Vault-state snapshot. `mode: 'stats'` = aggregate counts for a scope: `file_count`, `untagged_count`, `favorite_count`, `top_tags`. With `project_id` omitted (everything), also returns `by_project` breakdown. `include_token_total: true` stat()s every matching file on disk to compute a body-size estimate, measurably slower on large vaults; default false. `mode: 'whats_new'` = list files created or modified since a checkpoint (`since`, REQUIRED for this mode, ISO-8601 like `2025-01-15T00:00:00Z` or relative durations like `1h`/`7d`/`2w`; invalid formats throw); CAVEAT: hard-deleted files are NOT surfaced, only mtime-driven changes. Both modes: `project_id: null` = KB only; omit = everything. Read-only; no side effects, auth, or rate limits. Use `stats` as a cheap dashboard or to spot untagged content for cleanup (for live disk-vs-index drift use `files_diff_against_disk`); use `whats_new` at session start to catch up.",
|
|
1130
1138
|
"inputSchema": {
|
|
1131
1139
|
"type": "object",
|
|
1132
1140
|
"properties": {
|
|
@@ -1179,8 +1187,8 @@
|
|
|
1179
1187
|
}
|
|
1180
1188
|
},
|
|
1181
1189
|
{
|
|
1182
|
-
"name": "
|
|
1183
|
-
"description": "Propose tags for a file by mining the existing tag corpus via FTS: picks distinctive terms from the file (≥4 chars, stopword-filtered) and returns tags applied to other files that score high on those terms. No LLM, no network. Already-applied tags are excluded so the suggestions are net-new. Read-only; no side effects, auth, or rate limits. Returns `{file_id, path, existing_tags, suggestions: [{tag, score, sources}]}`. Empty suggestions = no distinctive terms or no overlap with the existing taxonomy yet, bootstrap with `
|
|
1190
|
+
"name": "tags_suggest",
|
|
1191
|
+
"description": "Propose tags for a file by mining the existing tag corpus via FTS: picks distinctive terms from the file (≥4 chars, stopword-filtered) and returns tags applied to other files that score high on those terms. No LLM, no network. Already-applied tags are excluded so the suggestions are net-new. Read-only; no side effects, auth, or rate limits. Returns `{file_id, path, existing_tags, suggestions: [{tag, score, sources}]}`. Empty suggestions = no distinctive terms or no overlap with the existing taxonomy yet, bootstrap with `tags_add` first. Default limit 10, max 50. Suggestions are NOT auto-applied.",
|
|
1184
1192
|
"inputSchema": {
|
|
1185
1193
|
"type": "object",
|
|
1186
1194
|
"properties": {
|
|
@@ -1206,8 +1214,8 @@
|
|
|
1206
1214
|
}
|
|
1207
1215
|
},
|
|
1208
1216
|
{
|
|
1209
|
-
"name": "
|
|
1210
|
-
"description": "Diagnose drift between one file's disk content and its FTS index. Status is one of `in_sync`, `diverged`, `disk_unreadable`, or `no_index_row`. On divergence returns sizes, line counts, the first divergent line number, and the disk vs index sample for that line: NOT a full diff (use `
|
|
1217
|
+
"name": "files_diff_against_disk",
|
|
1218
|
+
"description": "Diagnose drift between one file's disk content and its FTS index. Status is one of `in_sync`, `diverged`, `disk_unreadable`, or `no_index_row`. On divergence returns sizes, line counts, the first divergent line number, and the disk vs index sample for that line: NOT a full diff (use `files_get_diff` for full diffs between commits). Read-only; no side effects, auth, or rate limits. Use when search results look stale; if status is `diverged` or `no_index_row`, run `projects_refresh_index` to fix.",
|
|
1211
1219
|
"inputSchema": {
|
|
1212
1220
|
"type": "object",
|
|
1213
1221
|
"properties": {
|
|
@@ -1227,8 +1235,8 @@
|
|
|
1227
1235
|
}
|
|
1228
1236
|
},
|
|
1229
1237
|
{
|
|
1230
|
-
"name": "
|
|
1231
|
-
"description": "Reconcile the FTS index against disk. For a project (`project_id` set), re-runs `discoverFiles`. For the KB (`project_id` null/omitted), walks `knowledge/`, ingests new .md files, reindexes any whose content hash drifted, and PRUNES rows for files no longer on disk. SIDE-EFFECTFUL: writes/updates/deletes file and FTS rows (the prune is destructive on stale index rows but never deletes files from disk). Idempotent, running twice is a near no-op. Skips files >5MB and standard junk dirs (`node_modules`, `.git`, `dist`, `build`, etc.). No external auth or rate limits. Returns `{scope, newly_indexed, refreshed, pruned}`. Use after editing files outside Kontexta, or when `
|
|
1238
|
+
"name": "projects_refresh_index",
|
|
1239
|
+
"description": "Reconcile the FTS index against disk. For a project (`project_id` set), re-runs `discoverFiles`. For the KB (`project_id` null/omitted), walks `knowledge/`, ingests new .md files, reindexes any whose content hash drifted, and PRUNES rows for files no longer on disk. SIDE-EFFECTFUL: writes/updates/deletes file and FTS rows (the prune is destructive on stale index rows but never deletes files from disk). Idempotent, running twice is a near no-op. Skips files >5MB and standard junk dirs (`node_modules`, `.git`, `dist`, `build`, etc.). No external auth or rate limits. Returns `{scope, newly_indexed, refreshed, pruned}`. Use after editing files outside Kontexta, or when `files_diff_against_disk` reports drift.",
|
|
1232
1240
|
"inputSchema": {
|
|
1233
1241
|
"type": "object",
|
|
1234
1242
|
"properties": {
|
|
@@ -1248,8 +1256,8 @@
|
|
|
1248
1256
|
}
|
|
1249
1257
|
},
|
|
1250
1258
|
{
|
|
1251
|
-
"name": "
|
|
1252
|
-
"description": "Return a compact indented outline of folders, file titles, tags, and IDs in a single dense block: substantially fewer tokens than the equivalent `
|
|
1259
|
+
"name": "projects_map",
|
|
1260
|
+
"description": "Return a compact indented outline of folders, file titles, tags, and IDs in a single dense block: substantially fewer tokens than the equivalent `files_list` JSON for the same scope. Read-only; no side effects, auth, or rate limits. Capped at `max_lines` (default 5000); the response reports `est_tokens` and emits a `warning` field if it exceeds `KONTEXTA_PROJECT_TOKEN_WARN`. `project_id: null` = KB only; omit = everything. Defaults: include_tags=true, show_titles=true. Use to orient yourself in an unfamiliar vault or project; for keyword lookup use `files_search`.",
|
|
1253
1261
|
"inputSchema": {
|
|
1254
1262
|
"type": "object",
|
|
1255
1263
|
"properties": {
|
|
@@ -1281,8 +1289,8 @@
|
|
|
1281
1289
|
}
|
|
1282
1290
|
},
|
|
1283
1291
|
{
|
|
1284
|
-
"name": "
|
|
1285
|
-
"description": "List every Hands command tool currently registered, with project scope, tool name, danger level, confirmation flag, and description. Hands tools come from per-project `kontexta.json` files loaded at register time. Pass `schema: true` to instead get the complete `kontexta.json` authoring reference (JSON schema, validation rules, security guarantees, limitations, annotated example), a static document, unrelated to any specific registered hand. Read-only; no side effects, auth, or rate limits. Use the default list mode to discover what side-effectful project commands the agent is permitted to run; use `schema: true` when helping a user write or fix a `kontexta.json`; reload after editing one with `
|
|
1292
|
+
"name": "hands_list",
|
|
1293
|
+
"description": "List every Hands command tool currently registered, with project scope, tool name, danger level, confirmation flag, and description. Hands tools come from per-project `kontexta.json` files loaded at register time. Pass `schema: true` to instead get the complete `kontexta.json` authoring reference (JSON schema, validation rules, security guarantees, limitations, annotated example), a static document, unrelated to any specific registered hand. Read-only; no side effects, auth, or rate limits. Use the default list mode to discover what side-effectful project commands the agent is permitted to run; use `schema: true` when helping a user write or fix a `kontexta.json`; reload after editing one with `hands_reload`.",
|
|
1286
1294
|
"inputSchema": {
|
|
1287
1295
|
"type": "object",
|
|
1288
1296
|
"properties": {
|
|
@@ -1299,8 +1307,8 @@
|
|
|
1299
1307
|
}
|
|
1300
1308
|
},
|
|
1301
1309
|
{
|
|
1302
|
-
"name": "
|
|
1303
|
-
"description": "Re-scan every registered project's `kontexta.json` and rebuild the live Hands tool registry: newly-declared tools become callable immediately, removed tools disappear from `tools/list`. SIDE EFFECT is on the running MCP session's tool inventory only (no disk writes). Idempotent. No external auth or rate limits. Takes no parameters. Returns per-project load results (counts of registered/disabled tools and any validation warnings). Use after editing a `kontexta.json` mid-session; for the schema see `
|
|
1310
|
+
"name": "hands_reload",
|
|
1311
|
+
"description": "Re-scan every registered project's `kontexta.json` and rebuild the live Hands tool registry: newly-declared tools become callable immediately, removed tools disappear from `tools/list`. SIDE EFFECT is on the running MCP session's tool inventory only (no disk writes). Idempotent. No external auth or rate limits. Takes no parameters. Returns per-project load results (counts of registered/disabled tools and any validation warnings). Use after editing a `kontexta.json` mid-session; for the schema see `hands_list({ schema: true })`.",
|
|
1304
1312
|
"inputSchema": {
|
|
1305
1313
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
1306
1314
|
"type": "object",
|
|
@@ -1311,7 +1319,7 @@
|
|
|
1311
1319
|
}
|
|
1312
1320
|
},
|
|
1313
1321
|
{
|
|
1314
|
-
"name": "
|
|
1322
|
+
"name": "hands_confirm",
|
|
1315
1323
|
"description": "Approve and EXECUTE a previously-issued Hands invocation by its single-use approval token. The token is returned by any confirm-required Hands tool; tokens expire after 60 seconds and CANNOT be reused. Side effect equals whatever the underlying Hand does: this can be highly destructive (running arbitrary shell commands, modifying files, etc.), so only call when the user has authorised the pending action. The token IS the auth (no external auth, no rate limits). Invalid, expired, or already-consumed tokens return an inert text response, NOT an error.",
|
|
1316
1324
|
"inputSchema": {
|
|
1317
1325
|
"type": "object",
|
|
@@ -1332,7 +1340,7 @@
|
|
|
1332
1340
|
}
|
|
1333
1341
|
},
|
|
1334
1342
|
{
|
|
1335
|
-
"name": "
|
|
1343
|
+
"name": "admin_get_profile",
|
|
1336
1344
|
"description": "Return the user profile stored in the Knowledge Base. The profile helps AI agents understand the user's context, role, preferences, and goals. Read-only; no side effects, auth, or rate limits. Returns existence status, full content, list of missing required sections, and a hint for new users. Use at session start to understand who you're working with.",
|
|
1337
1345
|
"inputSchema": {
|
|
1338
1346
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
@@ -1344,7 +1352,7 @@
|
|
|
1344
1352
|
}
|
|
1345
1353
|
},
|
|
1346
1354
|
{
|
|
1347
|
-
"name": "
|
|
1355
|
+
"name": "journal_distill",
|
|
1348
1356
|
"description": "Run the distillation pipeline: read raw events since the high-water mark, group by topic, write mechanical markdown entries, advance high-water. Idempotent. Auto-provisions a project row for orphan slugs (e.g. `default`) that have no registered project yet.",
|
|
1349
1357
|
"inputSchema": {
|
|
1350
1358
|
"type": "object",
|
|
@@ -1368,7 +1376,7 @@
|
|
|
1368
1376
|
}
|
|
1369
1377
|
},
|
|
1370
1378
|
{
|
|
1371
|
-
"name": "
|
|
1379
|
+
"name": "journal_status",
|
|
1372
1380
|
"description": "Report the journal backlog and high-water mark for a project.",
|
|
1373
1381
|
"inputSchema": {
|
|
1374
1382
|
"type": "object",
|
|
@@ -1386,7 +1394,7 @@
|
|
|
1386
1394
|
}
|
|
1387
1395
|
},
|
|
1388
1396
|
{
|
|
1389
|
-
"name": "
|
|
1397
|
+
"name": "journal_commit_upgrades",
|
|
1390
1398
|
"description": "After dispatching subagents to upgrade mechanical journal entries to LLM-narrative, call this with the affected task slugs. Updates journal_meta.status_latest to mark the entries as upgraded.",
|
|
1391
1399
|
"inputSchema": {
|
|
1392
1400
|
"type": "object",
|
|
@@ -1411,7 +1419,7 @@
|
|
|
1411
1419
|
}
|
|
1412
1420
|
},
|
|
1413
1421
|
{
|
|
1414
|
-
"name": "
|
|
1422
|
+
"name": "journal_housekeep",
|
|
1415
1423
|
"description": "Run journal retention/archival for a project. Idempotent. Prunes old raw .jsonl files and archives cold tasks per the configured retention policy.",
|
|
1416
1424
|
"inputSchema": {
|
|
1417
1425
|
"type": "object",
|
|
@@ -1429,8 +1437,8 @@
|
|
|
1429
1437
|
}
|
|
1430
1438
|
},
|
|
1431
1439
|
{
|
|
1432
|
-
"name": "
|
|
1433
|
-
"description": "SIDE-EFFECTFUL. Create a new tracked entity: any named thing you schedule events against (a server, a delivery van, a store location, a piece of equipment, a room, etc.). Not idempotent: a duplicate name (case-insensitive) throws. Returns `{entity}`. Use `
|
|
1440
|
+
"name": "calendar_entities_add",
|
|
1441
|
+
"description": "SIDE-EFFECTFUL. Create a new tracked entity: any named thing you schedule events against (a server, a delivery van, a store location, a piece of equipment, a room, etc.). Not idempotent: a duplicate name (case-insensitive) throws. Returns `{entity}`. Use `calendar_entities_link` afterwards to record dependencies for conflict detection.",
|
|
1434
1442
|
"inputSchema": {
|
|
1435
1443
|
"type": "object",
|
|
1436
1444
|
"properties": {
|
|
@@ -1463,14 +1471,14 @@
|
|
|
1463
1471
|
}
|
|
1464
1472
|
},
|
|
1465
1473
|
{
|
|
1466
|
-
"name": "
|
|
1467
|
-
"description": "SIDE-EFFECTFUL. Patch an existing entity's fields, including `active` (set false to soft-retire it without losing its history). Idempotent per patch. Returns `{entity}`. For a hard delete see `
|
|
1474
|
+
"name": "calendar_entities_update",
|
|
1475
|
+
"description": "SIDE-EFFECTFUL. Patch an existing entity's fields, including `active` (set false to soft-retire it without losing its history). Idempotent per patch. Returns `{entity}`. For a hard delete see `calendar_entities_delete`.",
|
|
1468
1476
|
"inputSchema": {
|
|
1469
1477
|
"type": "object",
|
|
1470
1478
|
"properties": {
|
|
1471
1479
|
"id": {
|
|
1472
1480
|
"type": "integer",
|
|
1473
|
-
"description": "Entity id (from `
|
|
1481
|
+
"description": "Entity id (from `calendar_entities_add` or `calendar_entities_list`)."
|
|
1474
1482
|
},
|
|
1475
1483
|
"name": {
|
|
1476
1484
|
"type": "string",
|
|
@@ -1514,8 +1522,8 @@
|
|
|
1514
1522
|
}
|
|
1515
1523
|
},
|
|
1516
1524
|
{
|
|
1517
|
-
"name": "
|
|
1518
|
-
"description": "DESTRUCTIVE. Permanently delete an entity AND cascade-delete every event and link attached to it. Not idempotent: deleting an unknown id throws. Returns `{success, deleted_events, deleted_links}`. To deactivate without losing history, use `
|
|
1525
|
+
"name": "calendar_entities_delete",
|
|
1526
|
+
"description": "DESTRUCTIVE. Permanently delete an entity AND cascade-delete every event and link attached to it. Not idempotent: deleting an unknown id throws. Returns `{success, deleted_events, deleted_links}`. To deactivate without losing history, use `calendar_entities_update` with `active: false` instead.",
|
|
1519
1527
|
"inputSchema": {
|
|
1520
1528
|
"type": "object",
|
|
1521
1529
|
"properties": {
|
|
@@ -1535,7 +1543,7 @@
|
|
|
1535
1543
|
}
|
|
1536
1544
|
},
|
|
1537
1545
|
{
|
|
1538
|
-
"name": "
|
|
1546
|
+
"name": "calendar_entities_list",
|
|
1539
1547
|
"description": "Read-only; no side effects, auth, or rate limits. List tracked entities, each annotated with its outgoing and incoming dependency links. Returns `{entities, count}`.",
|
|
1540
1548
|
"inputSchema": {
|
|
1541
1549
|
"type": "object",
|
|
@@ -1557,8 +1565,8 @@
|
|
|
1557
1565
|
}
|
|
1558
1566
|
},
|
|
1559
1567
|
{
|
|
1560
|
-
"name": "
|
|
1561
|
-
"description": "SIDE-EFFECTFUL. Create or update a directed dependency edge between two entities (e.g. \"A feeds B\"), or remove one with `remove: true`. Idempotent, upserts the label on repeat calls; removing an absent link is a no-op. Used by `
|
|
1568
|
+
"name": "calendar_entities_link",
|
|
1569
|
+
"description": "SIDE-EFFECTFUL. Create or update a directed dependency edge between two entities (e.g. \"A feeds B\"), or remove one with `remove: true`. Idempotent, upserts the label on repeat calls; removing an absent link is a no-op. Used by `calendar_events_conflicts`/`calendar_events_list` to flag overlaps across connected entities (one hop, either direction). Returns `{link}` or `{removed}`.",
|
|
1562
1570
|
"inputSchema": {
|
|
1563
1571
|
"type": "object",
|
|
1564
1572
|
"properties": {
|
|
@@ -1591,8 +1599,8 @@
|
|
|
1591
1599
|
}
|
|
1592
1600
|
},
|
|
1593
1601
|
{
|
|
1594
|
-
"name": "
|
|
1595
|
-
"description": "SIDE-EFFECTFUL. Add a one-off time window (downtime, maintenance, a delivery, a shift, an inspection, etc.) to an entity. NOT idempotent: calling this twice creates two events. `starts_at`/`ends_at` must be ISO 8601 with an explicit timezone (`Z` or `±HH:MM`), naive timestamps are rejected because their meaning would be ambiguous once stored as UTC. Returns `{event}`. Follow up with `
|
|
1602
|
+
"name": "calendar_events_add",
|
|
1603
|
+
"description": "SIDE-EFFECTFUL. Add a one-off time window (downtime, maintenance, a delivery, a shift, an inspection, etc.) to an entity. NOT idempotent: calling this twice creates two events. `starts_at`/`ends_at` must be ISO 8601 with an explicit timezone (`Z` or `±HH:MM`), naive timestamps are rejected because their meaning would be ambiguous once stored as UTC. Returns `{event}`. Follow up with `calendar_events_conflicts` to check for overlaps.",
|
|
1596
1604
|
"inputSchema": {
|
|
1597
1605
|
"type": "object",
|
|
1598
1606
|
"properties": {
|
|
@@ -1646,7 +1654,7 @@
|
|
|
1646
1654
|
}
|
|
1647
1655
|
},
|
|
1648
1656
|
{
|
|
1649
|
-
"name": "
|
|
1657
|
+
"name": "calendar_events_update",
|
|
1650
1658
|
"description": "SIDE-EFFECTFUL. Patch an existing event (move it, retitle it, re-home it to a different entity, etc.). The merged result is re-validated: shrinking `ends_at` below `starts_at` throws. Returns `{event}`.",
|
|
1651
1659
|
"inputSchema": {
|
|
1652
1660
|
"type": "object",
|
|
@@ -1710,7 +1718,7 @@
|
|
|
1710
1718
|
}
|
|
1711
1719
|
},
|
|
1712
1720
|
{
|
|
1713
|
-
"name": "
|
|
1721
|
+
"name": "calendar_events_delete",
|
|
1714
1722
|
"description": "DESTRUCTIVE. Delete one event by id. Idempotent: deleting an already-absent id is a no-op. Returns `{success, existed}`.",
|
|
1715
1723
|
"inputSchema": {
|
|
1716
1724
|
"type": "object",
|
|
@@ -1731,8 +1739,8 @@
|
|
|
1731
1739
|
}
|
|
1732
1740
|
},
|
|
1733
1741
|
{
|
|
1734
|
-
"name": "
|
|
1735
|
-
"description": "Read-only; no side effects, auth, or rate limits. List events overlapping a window (half-open: an event ending exactly at `from` is excluded), optionally filtered by entity/type. Set `include_conflicts` to also run conflict detection over the same window and attach it. Returns `{events, count, conflicts?}`. For conflicts alone, prefer `
|
|
1742
|
+
"name": "calendar_events_list",
|
|
1743
|
+
"description": "Read-only; no side effects, auth, or rate limits. List events overlapping a window (half-open: an event ending exactly at `from` is excluded), optionally filtered by entity/type. Set `include_conflicts` to also run conflict detection over the same window and attach it. Returns `{events, count, conflicts?}`. For conflicts alone, prefer `calendar_events_conflicts`.",
|
|
1736
1744
|
"inputSchema": {
|
|
1737
1745
|
"type": "object",
|
|
1738
1746
|
"properties": {
|
|
@@ -1770,8 +1778,8 @@
|
|
|
1770
1778
|
}
|
|
1771
1779
|
},
|
|
1772
1780
|
{
|
|
1773
|
-
"name": "
|
|
1774
|
-
"description": "Read-only; no side effects, auth, or rate limits. Report scheduling conflicts in a window: overlaps on the same entity (`overlap`), overlaps between linked entities one hop apart (`linked_overlap`), and gaps smaller than a minimum buffer (`insufficient_buffer`). Computed on demand, nothing is persisted. Buffer defaults to the `calendar.min_buffer_minutes` setting (0 = off); pass `buffer_minutes` to override for this call. Returns `{conflicts, count, buffer_minutes, events_considered}`. See also `
|
|
1781
|
+
"name": "calendar_events_conflicts",
|
|
1782
|
+
"description": "Read-only; no side effects, auth, or rate limits. Report scheduling conflicts in a window: overlaps on the same entity (`overlap`), overlaps between linked entities one hop apart (`linked_overlap`), and gaps smaller than a minimum buffer (`insufficient_buffer`). Computed on demand, nothing is persisted. Buffer defaults to the `calendar.min_buffer_minutes` setting (0 = off); pass `buffer_minutes` to override for this call. Returns `{conflicts, count, buffer_minutes, events_considered}`. See also `calendar_events_list` with `include_conflicts`.",
|
|
1775
1783
|
"inputSchema": {
|
|
1776
1784
|
"type": "object",
|
|
1777
1785
|
"properties": {
|
|
@@ -1805,7 +1813,7 @@
|
|
|
1805
1813
|
}
|
|
1806
1814
|
},
|
|
1807
1815
|
{
|
|
1808
|
-
"name": "
|
|
1816
|
+
"name": "calendar_export_ics",
|
|
1809
1817
|
"description": "Read-only; no side effects, auth, or rate limits. Export events in a window as an RFC 5545 ICS calendar (UTC times, no VTIMEZONE needed) for import into Outlook/Calendar apps. Returns `{ics, event_count}` with the calendar text as a JSON string field.",
|
|
1810
1818
|
"inputSchema": {
|
|
1811
1819
|
"type": "object",
|