@pi-harness/pi-harness 0.1.14 → 0.1.16
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/README.md +8 -4
- package/apps/web/dist/assets/{index-C98SJjJd.js → index-DXznRinu.js} +1 -1
- package/apps/web/dist/index.html +1 -1
- package/apps/web/package.json +6 -6
- package/apps/web/server-dist/bin.js +7 -1
- package/apps/web/server-dist/bin.js.map +1 -1
- package/apps/web/src/server/bin.ts +9 -1
- package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/agent-teams.json +1 -1
- package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/anchored-standard.json +1 -1
- package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/annotation.json +1 -1
- package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/archify.json +1 -1
- package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/at-file.json +1 -1
- package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/auto-mode.json +1 -1
- package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/better-sidebar.json +1 -1
- package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/browser-fetch.json +1 -1
- package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/browser-session.json +1 -1
- package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/canvas-draw.json +1 -1
- package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/change-verifier.json +1 -1
- package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/cleaner.json +1 -1
- package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/cli-notifier.json +1 -1
- package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/code2skill.json +1 -1
- package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/colleague-skill.json +1 -1
- package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/context-doctor.json +1 -1
- package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/context.json +1 -1
- package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/cost-meter.json +1 -1
- package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/dependency-checker.json +1 -1
- package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/docker-sandbox.json +1 -1
- package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/fail-logger.json +1 -1
- package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/genui.json +1 -1
- package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/git-time-capsule.json +1 -1
- package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/graph-memory.json +1 -1
- package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/history-compressor.json +1 -1
- package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/hol-guard.json +1 -1
- package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/i18n-pair.json +1 -1
- package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/image-compressor.json +1 -1
- package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/llm-verifier.json +1 -1
- package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/mcp-client.json +1 -1
- package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/mcp-panel.json +1 -1
- package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/memory.json +1 -1
- package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/mirage-bridge.json +1 -1
- package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/mock-server.json +1 -1
- package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/modlens.json +1 -1
- package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/module-search.json +1 -1
- package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/obsidian-sync.json +1 -1
- package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/openpets.json +1 -1
- package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/plan-execute.json +1 -1
- package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/plugin-check.json +1 -1
- package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/plugin-dev.json +1 -1
- package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/plugin-finder.json +1 -1
- package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/plugin-radar.json +1 -1
- package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/plugin-stars.json +1 -1
- package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/prompt-guard.json +1 -1
- package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/prompt-library.json +1 -1
- package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/readme-gen.json +1 -1
- package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/recall-unread.json +1 -1
- package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/reverse-skill.json +1 -1
- package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/reviewer-bot.json +1 -1
- package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/runtime-doctor.json +1 -1
- package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/secure-audit.json +1 -1
- package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/session-bookmarks.json +1 -1
- package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/session-bridge.json +1 -1
- package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/session-compare.json +1 -1
- package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/session-export.json +1 -1
- package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/session-insights.json +1 -1
- package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/session-search.json +1 -1
- package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/skill-catalog.json +1 -1
- package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/skill-guard.json +1 -1
- package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/sql-lens.json +1 -1
- package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/synapse.json +1 -1
- package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/tab-manager.json +1 -1
- package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/taskboard.json +1 -1
- package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/telemetry-blocker.json +1 -1
- package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/test-harness.json +1 -1
- package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/theme-studio.json +1 -1
- package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/token-guard.json +1 -1
- package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/turn-rewind.json +1 -1
- package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/undo-savepoint.json +1 -1
- package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/vision-toolkit.json +1 -1
- package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/web-research.json +1 -1
- package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/workspace-navigator.json +1 -1
- package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/workspace-search.json +1 -1
- package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/yaml-validator.json +1 -1
- package/node_modules/@pi-harness/api-gateway/package.json +1 -1
- package/node_modules/@pi-harness/cli/dist/bin.js +2 -0
- package/node_modules/@pi-harness/cli/dist/bin.js.map +1 -1
- package/node_modules/@pi-harness/cli/dist/main.d.ts +1 -0
- package/node_modules/@pi-harness/cli/dist/main.d.ts.map +1 -1
- package/node_modules/@pi-harness/cli/dist/main.js +9 -0
- package/node_modules/@pi-harness/cli/dist/main.js.map +1 -1
- package/node_modules/@pi-harness/cli/package.json +1 -1
- package/node_modules/@pi-harness/host-webserver/package.json +1 -1
- package/node_modules/@pi-harness/web-app/package.json +1 -1
- package/package.json +10 -8
- package/packages/api-gateway/dist/marketplace-entries/official/agent-teams.json +1 -1
- package/packages/api-gateway/dist/marketplace-entries/official/anchored-standard.json +1 -1
- package/packages/api-gateway/dist/marketplace-entries/official/annotation.json +1 -1
- package/packages/api-gateway/dist/marketplace-entries/official/archify.json +1 -1
- package/packages/api-gateway/dist/marketplace-entries/official/at-file.json +1 -1
- package/packages/api-gateway/dist/marketplace-entries/official/auto-mode.json +1 -1
- package/packages/api-gateway/dist/marketplace-entries/official/better-sidebar.json +1 -1
- package/packages/api-gateway/dist/marketplace-entries/official/browser-fetch.json +1 -1
- package/packages/api-gateway/dist/marketplace-entries/official/browser-session.json +1 -1
- package/packages/api-gateway/dist/marketplace-entries/official/canvas-draw.json +1 -1
- package/packages/api-gateway/dist/marketplace-entries/official/change-verifier.json +1 -1
- package/packages/api-gateway/dist/marketplace-entries/official/cleaner.json +1 -1
- package/packages/api-gateway/dist/marketplace-entries/official/cli-notifier.json +1 -1
- package/packages/api-gateway/dist/marketplace-entries/official/code2skill.json +1 -1
- package/packages/api-gateway/dist/marketplace-entries/official/colleague-skill.json +1 -1
- package/packages/api-gateway/dist/marketplace-entries/official/context-doctor.json +1 -1
- package/packages/api-gateway/dist/marketplace-entries/official/context.json +1 -1
- package/packages/api-gateway/dist/marketplace-entries/official/cost-meter.json +1 -1
- package/packages/api-gateway/dist/marketplace-entries/official/dependency-checker.json +1 -1
- package/packages/api-gateway/dist/marketplace-entries/official/docker-sandbox.json +1 -1
- package/packages/api-gateway/dist/marketplace-entries/official/fail-logger.json +1 -1
- package/packages/api-gateway/dist/marketplace-entries/official/genui.json +1 -1
- package/packages/api-gateway/dist/marketplace-entries/official/git-time-capsule.json +1 -1
- package/packages/api-gateway/dist/marketplace-entries/official/graph-memory.json +1 -1
- package/packages/api-gateway/dist/marketplace-entries/official/history-compressor.json +1 -1
- package/packages/api-gateway/dist/marketplace-entries/official/hol-guard.json +1 -1
- package/packages/api-gateway/dist/marketplace-entries/official/i18n-pair.json +1 -1
- package/packages/api-gateway/dist/marketplace-entries/official/image-compressor.json +1 -1
- package/packages/api-gateway/dist/marketplace-entries/official/llm-verifier.json +1 -1
- package/packages/api-gateway/dist/marketplace-entries/official/mcp-client.json +1 -1
- package/packages/api-gateway/dist/marketplace-entries/official/mcp-panel.json +1 -1
- package/packages/api-gateway/dist/marketplace-entries/official/memory.json +1 -1
- package/packages/api-gateway/dist/marketplace-entries/official/mirage-bridge.json +1 -1
- package/packages/api-gateway/dist/marketplace-entries/official/mock-server.json +1 -1
- package/packages/api-gateway/dist/marketplace-entries/official/modlens.json +1 -1
- package/packages/api-gateway/dist/marketplace-entries/official/module-search.json +1 -1
- package/packages/api-gateway/dist/marketplace-entries/official/obsidian-sync.json +1 -1
- package/packages/api-gateway/dist/marketplace-entries/official/openpets.json +1 -1
- package/packages/api-gateway/dist/marketplace-entries/official/plan-execute.json +1 -1
- package/packages/api-gateway/dist/marketplace-entries/official/plugin-check.json +1 -1
- package/packages/api-gateway/dist/marketplace-entries/official/plugin-dev.json +1 -1
- package/packages/api-gateway/dist/marketplace-entries/official/plugin-finder.json +1 -1
- package/packages/api-gateway/dist/marketplace-entries/official/plugin-radar.json +1 -1
- package/packages/api-gateway/dist/marketplace-entries/official/plugin-stars.json +1 -1
- package/packages/api-gateway/dist/marketplace-entries/official/prompt-guard.json +1 -1
- package/packages/api-gateway/dist/marketplace-entries/official/prompt-library.json +1 -1
- package/packages/api-gateway/dist/marketplace-entries/official/readme-gen.json +1 -1
- package/packages/api-gateway/dist/marketplace-entries/official/recall-unread.json +1 -1
- package/packages/api-gateway/dist/marketplace-entries/official/reverse-skill.json +1 -1
- package/packages/api-gateway/dist/marketplace-entries/official/reviewer-bot.json +1 -1
- package/packages/api-gateway/dist/marketplace-entries/official/runtime-doctor.json +1 -1
- package/packages/api-gateway/dist/marketplace-entries/official/secure-audit.json +1 -1
- package/packages/api-gateway/dist/marketplace-entries/official/session-bookmarks.json +1 -1
- package/packages/api-gateway/dist/marketplace-entries/official/session-bridge.json +1 -1
- package/packages/api-gateway/dist/marketplace-entries/official/session-compare.json +1 -1
- package/packages/api-gateway/dist/marketplace-entries/official/session-export.json +1 -1
- package/packages/api-gateway/dist/marketplace-entries/official/session-insights.json +1 -1
- package/packages/api-gateway/dist/marketplace-entries/official/session-search.json +1 -1
- package/packages/api-gateway/dist/marketplace-entries/official/skill-catalog.json +1 -1
- package/packages/api-gateway/dist/marketplace-entries/official/skill-guard.json +1 -1
- package/packages/api-gateway/dist/marketplace-entries/official/sql-lens.json +1 -1
- package/packages/api-gateway/dist/marketplace-entries/official/synapse.json +1 -1
- package/packages/api-gateway/dist/marketplace-entries/official/tab-manager.json +1 -1
- package/packages/api-gateway/dist/marketplace-entries/official/taskboard.json +1 -1
- package/packages/api-gateway/dist/marketplace-entries/official/telemetry-blocker.json +1 -1
- package/packages/api-gateway/dist/marketplace-entries/official/test-harness.json +1 -1
- package/packages/api-gateway/dist/marketplace-entries/official/theme-studio.json +1 -1
- package/packages/api-gateway/dist/marketplace-entries/official/token-guard.json +1 -1
- package/packages/api-gateway/dist/marketplace-entries/official/turn-rewind.json +1 -1
- package/packages/api-gateway/dist/marketplace-entries/official/undo-savepoint.json +1 -1
- package/packages/api-gateway/dist/marketplace-entries/official/vision-toolkit.json +1 -1
- package/packages/api-gateway/dist/marketplace-entries/official/web-research.json +1 -1
- package/packages/api-gateway/dist/marketplace-entries/official/workspace-navigator.json +1 -1
- package/packages/api-gateway/dist/marketplace-entries/official/workspace-search.json +1 -1
- package/packages/api-gateway/dist/marketplace-entries/official/yaml-validator.json +1 -1
- package/packages/api-gateway/package.json +1 -1
- package/packages/api-gateway/src/marketplace-entries/official/agent-teams.json +1 -1
- package/packages/api-gateway/src/marketplace-entries/official/anchored-standard.json +1 -1
- package/packages/api-gateway/src/marketplace-entries/official/annotation.json +1 -1
- package/packages/api-gateway/src/marketplace-entries/official/archify.json +1 -1
- package/packages/api-gateway/src/marketplace-entries/official/at-file.json +1 -1
- package/packages/api-gateway/src/marketplace-entries/official/auto-mode.json +1 -1
- package/packages/api-gateway/src/marketplace-entries/official/better-sidebar.json +1 -1
- package/packages/api-gateway/src/marketplace-entries/official/browser-fetch.json +1 -1
- package/packages/api-gateway/src/marketplace-entries/official/browser-session.json +1 -1
- package/packages/api-gateway/src/marketplace-entries/official/canvas-draw.json +1 -1
- package/packages/api-gateway/src/marketplace-entries/official/change-verifier.json +1 -1
- package/packages/api-gateway/src/marketplace-entries/official/cleaner.json +1 -1
- package/packages/api-gateway/src/marketplace-entries/official/cli-notifier.json +1 -1
- package/packages/api-gateway/src/marketplace-entries/official/code2skill.json +1 -1
- package/packages/api-gateway/src/marketplace-entries/official/colleague-skill.json +1 -1
- package/packages/api-gateway/src/marketplace-entries/official/context-doctor.json +1 -1
- package/packages/api-gateway/src/marketplace-entries/official/context.json +1 -1
- package/packages/api-gateway/src/marketplace-entries/official/cost-meter.json +1 -1
- package/packages/api-gateway/src/marketplace-entries/official/dependency-checker.json +1 -1
- package/packages/api-gateway/src/marketplace-entries/official/docker-sandbox.json +1 -1
- package/packages/api-gateway/src/marketplace-entries/official/fail-logger.json +1 -1
- package/packages/api-gateway/src/marketplace-entries/official/genui.json +1 -1
- package/packages/api-gateway/src/marketplace-entries/official/git-time-capsule.json +1 -1
- package/packages/api-gateway/src/marketplace-entries/official/graph-memory.json +1 -1
- package/packages/api-gateway/src/marketplace-entries/official/history-compressor.json +1 -1
- package/packages/api-gateway/src/marketplace-entries/official/hol-guard.json +1 -1
- package/packages/api-gateway/src/marketplace-entries/official/i18n-pair.json +1 -1
- package/packages/api-gateway/src/marketplace-entries/official/image-compressor.json +1 -1
- package/packages/api-gateway/src/marketplace-entries/official/llm-verifier.json +1 -1
- package/packages/api-gateway/src/marketplace-entries/official/mcp-client.json +1 -1
- package/packages/api-gateway/src/marketplace-entries/official/mcp-panel.json +1 -1
- package/packages/api-gateway/src/marketplace-entries/official/memory.json +1 -1
- package/packages/api-gateway/src/marketplace-entries/official/mirage-bridge.json +1 -1
- package/packages/api-gateway/src/marketplace-entries/official/mock-server.json +1 -1
- package/packages/api-gateway/src/marketplace-entries/official/modlens.json +1 -1
- package/packages/api-gateway/src/marketplace-entries/official/module-search.json +1 -1
- package/packages/api-gateway/src/marketplace-entries/official/obsidian-sync.json +1 -1
- package/packages/api-gateway/src/marketplace-entries/official/openpets.json +1 -1
- package/packages/api-gateway/src/marketplace-entries/official/plan-execute.json +1 -1
- package/packages/api-gateway/src/marketplace-entries/official/plugin-check.json +1 -1
- package/packages/api-gateway/src/marketplace-entries/official/plugin-dev.json +1 -1
- package/packages/api-gateway/src/marketplace-entries/official/plugin-finder.json +1 -1
- package/packages/api-gateway/src/marketplace-entries/official/plugin-radar.json +1 -1
- package/packages/api-gateway/src/marketplace-entries/official/plugin-stars.json +1 -1
- package/packages/api-gateway/src/marketplace-entries/official/prompt-guard.json +1 -1
- package/packages/api-gateway/src/marketplace-entries/official/prompt-library.json +1 -1
- package/packages/api-gateway/src/marketplace-entries/official/readme-gen.json +1 -1
- package/packages/api-gateway/src/marketplace-entries/official/recall-unread.json +1 -1
- package/packages/api-gateway/src/marketplace-entries/official/reverse-skill.json +1 -1
- package/packages/api-gateway/src/marketplace-entries/official/reviewer-bot.json +1 -1
- package/packages/api-gateway/src/marketplace-entries/official/runtime-doctor.json +1 -1
- package/packages/api-gateway/src/marketplace-entries/official/secure-audit.json +1 -1
- package/packages/api-gateway/src/marketplace-entries/official/session-bookmarks.json +1 -1
- package/packages/api-gateway/src/marketplace-entries/official/session-bridge.json +1 -1
- package/packages/api-gateway/src/marketplace-entries/official/session-compare.json +1 -1
- package/packages/api-gateway/src/marketplace-entries/official/session-export.json +1 -1
- package/packages/api-gateway/src/marketplace-entries/official/session-insights.json +1 -1
- package/packages/api-gateway/src/marketplace-entries/official/session-search.json +1 -1
- package/packages/api-gateway/src/marketplace-entries/official/skill-catalog.json +1 -1
- package/packages/api-gateway/src/marketplace-entries/official/skill-guard.json +1 -1
- package/packages/api-gateway/src/marketplace-entries/official/sql-lens.json +1 -1
- package/packages/api-gateway/src/marketplace-entries/official/synapse.json +1 -1
- package/packages/api-gateway/src/marketplace-entries/official/tab-manager.json +1 -1
- package/packages/api-gateway/src/marketplace-entries/official/taskboard.json +1 -1
- package/packages/api-gateway/src/marketplace-entries/official/telemetry-blocker.json +1 -1
- package/packages/api-gateway/src/marketplace-entries/official/test-harness.json +1 -1
- package/packages/api-gateway/src/marketplace-entries/official/theme-studio.json +1 -1
- package/packages/api-gateway/src/marketplace-entries/official/token-guard.json +1 -1
- package/packages/api-gateway/src/marketplace-entries/official/turn-rewind.json +1 -1
- package/packages/api-gateway/src/marketplace-entries/official/undo-savepoint.json +1 -1
- package/packages/api-gateway/src/marketplace-entries/official/vision-toolkit.json +1 -1
- package/packages/api-gateway/src/marketplace-entries/official/web-research.json +1 -1
- package/packages/api-gateway/src/marketplace-entries/official/workspace-navigator.json +1 -1
- package/packages/api-gateway/src/marketplace-entries/official/workspace-search.json +1 -1
- package/packages/api-gateway/src/marketplace-entries/official/yaml-validator.json +1 -1
- package/packages/api-gateway/test/release-package.test.ts +5 -11
- package/packages/api-gateway/test/release-version.test.ts +2 -2
- package/packages/bundle-web-app/package.json +1 -1
- package/packages/cli/dist/bin.js +2 -0
- package/packages/cli/dist/bin.js.map +1 -1
- package/packages/cli/dist/main.d.ts +1 -0
- package/packages/cli/dist/main.d.ts.map +1 -1
- package/packages/cli/dist/main.js +9 -0
- package/packages/cli/dist/main.js.map +1 -1
- package/packages/cli/package.json +1 -1
- package/packages/cli/src/bin.ts +2 -0
- package/packages/cli/src/main.ts +9 -0
- package/packages/cli/test/cli.test.ts +10 -0
- package/packages/host-webserver/package.json +1 -1
- package/node_modules/@pi-harness/core/LICENSE +0 -9
- package/node_modules/@pi-harness/core/dist/atomic-write.d.ts +0 -8
- package/node_modules/@pi-harness/core/dist/atomic-write.d.ts.map +0 -1
- package/node_modules/@pi-harness/core/dist/atomic-write.js +0 -40
- package/node_modules/@pi-harness/core/dist/atomic-write.js.map +0 -1
- package/node_modules/@pi-harness/core/dist/boot.d.ts +0 -13
- package/node_modules/@pi-harness/core/dist/boot.d.ts.map +0 -1
- package/node_modules/@pi-harness/core/dist/boot.js +0 -257
- package/node_modules/@pi-harness/core/dist/boot.js.map +0 -1
- package/node_modules/@pi-harness/core/dist/bounded-file.d.ts +0 -7
- package/node_modules/@pi-harness/core/dist/bounded-file.d.ts.map +0 -1
- package/node_modules/@pi-harness/core/dist/bounded-file.js +0 -50
- package/node_modules/@pi-harness/core/dist/bounded-file.js.map +0 -1
- package/node_modules/@pi-harness/core/dist/config.d.ts +0 -4
- package/node_modules/@pi-harness/core/dist/config.d.ts.map +0 -1
- package/node_modules/@pi-harness/core/dist/config.js +0 -29
- package/node_modules/@pi-harness/core/dist/config.js.map +0 -1
- package/node_modules/@pi-harness/core/dist/context.d.ts +0 -3
- package/node_modules/@pi-harness/core/dist/context.d.ts.map +0 -1
- package/node_modules/@pi-harness/core/dist/context.js +0 -2
- package/node_modules/@pi-harness/core/dist/context.js.map +0 -1
- package/node_modules/@pi-harness/core/dist/cordis-timer.d.ts +0 -15
- package/node_modules/@pi-harness/core/dist/cordis-timer.d.ts.map +0 -1
- package/node_modules/@pi-harness/core/dist/cordis-timer.js +0 -99
- package/node_modules/@pi-harness/core/dist/cordis-timer.js.map +0 -1
- package/node_modules/@pi-harness/core/dist/http.d.ts +0 -8
- package/node_modules/@pi-harness/core/dist/http.d.ts.map +0 -1
- package/node_modules/@pi-harness/core/dist/http.js +0 -27
- package/node_modules/@pi-harness/core/dist/http.js.map +0 -1
- package/node_modules/@pi-harness/core/dist/index.d.ts +0 -9
- package/node_modules/@pi-harness/core/dist/index.d.ts.map +0 -1
- package/node_modules/@pi-harness/core/dist/index.js +0 -8
- package/node_modules/@pi-harness/core/dist/index.js.map +0 -1
- package/node_modules/@pi-harness/core/dist/plugins/agent-teams.d.ts +0 -21
- package/node_modules/@pi-harness/core/dist/plugins/agent-teams.d.ts.map +0 -1
- package/node_modules/@pi-harness/core/dist/plugins/agent-teams.js +0 -1179
- package/node_modules/@pi-harness/core/dist/plugins/agent-teams.js.map +0 -1
- package/node_modules/@pi-harness/core/dist/plugins/anchored-standard.d.ts +0 -15
- package/node_modules/@pi-harness/core/dist/plugins/anchored-standard.d.ts.map +0 -1
- package/node_modules/@pi-harness/core/dist/plugins/anchored-standard.js +0 -112
- package/node_modules/@pi-harness/core/dist/plugins/anchored-standard.js.map +0 -1
- package/node_modules/@pi-harness/core/dist/plugins/annotation.d.ts +0 -19
- package/node_modules/@pi-harness/core/dist/plugins/annotation.d.ts.map +0 -1
- package/node_modules/@pi-harness/core/dist/plugins/annotation.js +0 -112
- package/node_modules/@pi-harness/core/dist/plugins/annotation.js.map +0 -1
- package/node_modules/@pi-harness/core/dist/plugins/archify.d.ts +0 -24
- package/node_modules/@pi-harness/core/dist/plugins/archify.d.ts.map +0 -1
- package/node_modules/@pi-harness/core/dist/plugins/archify.js +0 -145
- package/node_modules/@pi-harness/core/dist/plugins/archify.js.map +0 -1
- package/node_modules/@pi-harness/core/dist/plugins/at-file.d.ts +0 -12
- package/node_modules/@pi-harness/core/dist/plugins/at-file.d.ts.map +0 -1
- package/node_modules/@pi-harness/core/dist/plugins/at-file.js +0 -143
- package/node_modules/@pi-harness/core/dist/plugins/at-file.js.map +0 -1
- package/node_modules/@pi-harness/core/dist/plugins/auto-mode.d.ts +0 -15
- package/node_modules/@pi-harness/core/dist/plugins/auto-mode.d.ts.map +0 -1
- package/node_modules/@pi-harness/core/dist/plugins/auto-mode.js +0 -183
- package/node_modules/@pi-harness/core/dist/plugins/auto-mode.js.map +0 -1
- package/node_modules/@pi-harness/core/dist/plugins/better-sidebar.d.ts +0 -38
- package/node_modules/@pi-harness/core/dist/plugins/better-sidebar.d.ts.map +0 -1
- package/node_modules/@pi-harness/core/dist/plugins/better-sidebar.js +0 -99
- package/node_modules/@pi-harness/core/dist/plugins/better-sidebar.js.map +0 -1
- package/node_modules/@pi-harness/core/dist/plugins/browser-fetch.d.ts +0 -15
- package/node_modules/@pi-harness/core/dist/plugins/browser-fetch.d.ts.map +0 -1
- package/node_modules/@pi-harness/core/dist/plugins/browser-fetch.js +0 -359
- package/node_modules/@pi-harness/core/dist/plugins/browser-fetch.js.map +0 -1
- package/node_modules/@pi-harness/core/dist/plugins/browser-session.d.ts +0 -14
- package/node_modules/@pi-harness/core/dist/plugins/browser-session.d.ts.map +0 -1
- package/node_modules/@pi-harness/core/dist/plugins/browser-session.js +0 -604
- package/node_modules/@pi-harness/core/dist/plugins/browser-session.js.map +0 -1
- package/node_modules/@pi-harness/core/dist/plugins/canvas-draw.d.ts +0 -9
- package/node_modules/@pi-harness/core/dist/plugins/canvas-draw.d.ts.map +0 -1
- package/node_modules/@pi-harness/core/dist/plugins/canvas-draw.js +0 -140
- package/node_modules/@pi-harness/core/dist/plugins/canvas-draw.js.map +0 -1
- package/node_modules/@pi-harness/core/dist/plugins/change-verifier.d.ts +0 -9
- package/node_modules/@pi-harness/core/dist/plugins/change-verifier.d.ts.map +0 -1
- package/node_modules/@pi-harness/core/dist/plugins/change-verifier.js +0 -88
- package/node_modules/@pi-harness/core/dist/plugins/change-verifier.js.map +0 -1
- package/node_modules/@pi-harness/core/dist/plugins/cleaner.d.ts +0 -12
- package/node_modules/@pi-harness/core/dist/plugins/cleaner.d.ts.map +0 -1
- package/node_modules/@pi-harness/core/dist/plugins/cleaner.js +0 -353
- package/node_modules/@pi-harness/core/dist/plugins/cleaner.js.map +0 -1
- package/node_modules/@pi-harness/core/dist/plugins/cli-notifier.d.ts +0 -16
- package/node_modules/@pi-harness/core/dist/plugins/cli-notifier.d.ts.map +0 -1
- package/node_modules/@pi-harness/core/dist/plugins/cli-notifier.js +0 -167
- package/node_modules/@pi-harness/core/dist/plugins/cli-notifier.js.map +0 -1
- package/node_modules/@pi-harness/core/dist/plugins/code2skill.d.ts +0 -9
- package/node_modules/@pi-harness/core/dist/plugins/code2skill.d.ts.map +0 -1
- package/node_modules/@pi-harness/core/dist/plugins/code2skill.js +0 -235
- package/node_modules/@pi-harness/core/dist/plugins/code2skill.js.map +0 -1
- package/node_modules/@pi-harness/core/dist/plugins/colleague-skill.d.ts +0 -28
- package/node_modules/@pi-harness/core/dist/plugins/colleague-skill.d.ts.map +0 -1
- package/node_modules/@pi-harness/core/dist/plugins/colleague-skill.js +0 -129
- package/node_modules/@pi-harness/core/dist/plugins/colleague-skill.js.map +0 -1
- package/node_modules/@pi-harness/core/dist/plugins/context-doctor.d.ts +0 -35
- package/node_modules/@pi-harness/core/dist/plugins/context-doctor.d.ts.map +0 -1
- package/node_modules/@pi-harness/core/dist/plugins/context-doctor.js +0 -459
- package/node_modules/@pi-harness/core/dist/plugins/context-doctor.js.map +0 -1
- package/node_modules/@pi-harness/core/dist/plugins/context.d.ts +0 -9
- package/node_modules/@pi-harness/core/dist/plugins/context.d.ts.map +0 -1
- package/node_modules/@pi-harness/core/dist/plugins/context.js +0 -214
- package/node_modules/@pi-harness/core/dist/plugins/context.js.map +0 -1
- package/node_modules/@pi-harness/core/dist/plugins/cost-meter.d.ts +0 -36
- package/node_modules/@pi-harness/core/dist/plugins/cost-meter.d.ts.map +0 -1
- package/node_modules/@pi-harness/core/dist/plugins/cost-meter.js +0 -430
- package/node_modules/@pi-harness/core/dist/plugins/cost-meter.js.map +0 -1
- package/node_modules/@pi-harness/core/dist/plugins/dependency-checker.d.ts +0 -36
- package/node_modules/@pi-harness/core/dist/plugins/dependency-checker.d.ts.map +0 -1
- package/node_modules/@pi-harness/core/dist/plugins/dependency-checker.js +0 -570
- package/node_modules/@pi-harness/core/dist/plugins/dependency-checker.js.map +0 -1
- package/node_modules/@pi-harness/core/dist/plugins/docker-sandbox.d.ts +0 -9
- package/node_modules/@pi-harness/core/dist/plugins/docker-sandbox.d.ts.map +0 -1
- package/node_modules/@pi-harness/core/dist/plugins/docker-sandbox.js +0 -344
- package/node_modules/@pi-harness/core/dist/plugins/docker-sandbox.js.map +0 -1
- package/node_modules/@pi-harness/core/dist/plugins/fail-logger.d.ts +0 -9
- package/node_modules/@pi-harness/core/dist/plugins/fail-logger.d.ts.map +0 -1
- package/node_modules/@pi-harness/core/dist/plugins/fail-logger.js +0 -218
- package/node_modules/@pi-harness/core/dist/plugins/fail-logger.js.map +0 -1
- package/node_modules/@pi-harness/core/dist/plugins/genui.d.ts +0 -9
- package/node_modules/@pi-harness/core/dist/plugins/genui.d.ts.map +0 -1
- package/node_modules/@pi-harness/core/dist/plugins/genui.js +0 -144
- package/node_modules/@pi-harness/core/dist/plugins/genui.js.map +0 -1
- package/node_modules/@pi-harness/core/dist/plugins/git-time-capsule.d.ts +0 -15
- package/node_modules/@pi-harness/core/dist/plugins/git-time-capsule.d.ts.map +0 -1
- package/node_modules/@pi-harness/core/dist/plugins/git-time-capsule.js +0 -436
- package/node_modules/@pi-harness/core/dist/plugins/git-time-capsule.js.map +0 -1
- package/node_modules/@pi-harness/core/dist/plugins/graph-memory.d.ts +0 -16
- package/node_modules/@pi-harness/core/dist/plugins/graph-memory.d.ts.map +0 -1
- package/node_modules/@pi-harness/core/dist/plugins/graph-memory.js +0 -669
- package/node_modules/@pi-harness/core/dist/plugins/graph-memory.js.map +0 -1
- package/node_modules/@pi-harness/core/dist/plugins/history-compressor.d.ts +0 -15
- package/node_modules/@pi-harness/core/dist/plugins/history-compressor.d.ts.map +0 -1
- package/node_modules/@pi-harness/core/dist/plugins/history-compressor.js +0 -99
- package/node_modules/@pi-harness/core/dist/plugins/history-compressor.js.map +0 -1
- package/node_modules/@pi-harness/core/dist/plugins/hol-guard.d.ts +0 -29
- package/node_modules/@pi-harness/core/dist/plugins/hol-guard.d.ts.map +0 -1
- package/node_modules/@pi-harness/core/dist/plugins/hol-guard.js +0 -159
- package/node_modules/@pi-harness/core/dist/plugins/hol-guard.js.map +0 -1
- package/node_modules/@pi-harness/core/dist/plugins/i18n-pair.d.ts +0 -12
- package/node_modules/@pi-harness/core/dist/plugins/i18n-pair.d.ts.map +0 -1
- package/node_modules/@pi-harness/core/dist/plugins/i18n-pair.js +0 -332
- package/node_modules/@pi-harness/core/dist/plugins/i18n-pair.js.map +0 -1
- package/node_modules/@pi-harness/core/dist/plugins/image-compressor.d.ts +0 -15
- package/node_modules/@pi-harness/core/dist/plugins/image-compressor.d.ts.map +0 -1
- package/node_modules/@pi-harness/core/dist/plugins/image-compressor.js +0 -223
- package/node_modules/@pi-harness/core/dist/plugins/image-compressor.js.map +0 -1
- package/node_modules/@pi-harness/core/dist/plugins/llm-verifier.d.ts +0 -42
- package/node_modules/@pi-harness/core/dist/plugins/llm-verifier.d.ts.map +0 -1
- package/node_modules/@pi-harness/core/dist/plugins/llm-verifier.js +0 -138
- package/node_modules/@pi-harness/core/dist/plugins/llm-verifier.js.map +0 -1
- package/node_modules/@pi-harness/core/dist/plugins/mcp-client.d.ts +0 -19
- package/node_modules/@pi-harness/core/dist/plugins/mcp-client.d.ts.map +0 -1
- package/node_modules/@pi-harness/core/dist/plugins/mcp-client.js +0 -1288
- package/node_modules/@pi-harness/core/dist/plugins/mcp-client.js.map +0 -1
- package/node_modules/@pi-harness/core/dist/plugins/mcp-panel.d.ts +0 -14
- package/node_modules/@pi-harness/core/dist/plugins/mcp-panel.d.ts.map +0 -1
- package/node_modules/@pi-harness/core/dist/plugins/mcp-panel.js +0 -194
- package/node_modules/@pi-harness/core/dist/plugins/mcp-panel.js.map +0 -1
- package/node_modules/@pi-harness/core/dist/plugins/memory.d.ts +0 -15
- package/node_modules/@pi-harness/core/dist/plugins/memory.d.ts.map +0 -1
- package/node_modules/@pi-harness/core/dist/plugins/memory.js +0 -394
- package/node_modules/@pi-harness/core/dist/plugins/memory.js.map +0 -1
- package/node_modules/@pi-harness/core/dist/plugins/mirage-bridge.d.ts +0 -23
- package/node_modules/@pi-harness/core/dist/plugins/mirage-bridge.d.ts.map +0 -1
- package/node_modules/@pi-harness/core/dist/plugins/mirage-bridge.js +0 -159
- package/node_modules/@pi-harness/core/dist/plugins/mirage-bridge.js.map +0 -1
- package/node_modules/@pi-harness/core/dist/plugins/mock-server.d.ts +0 -22
- package/node_modules/@pi-harness/core/dist/plugins/mock-server.d.ts.map +0 -1
- package/node_modules/@pi-harness/core/dist/plugins/mock-server.js +0 -180
- package/node_modules/@pi-harness/core/dist/plugins/mock-server.js.map +0 -1
- package/node_modules/@pi-harness/core/dist/plugins/model.d.ts +0 -11
- package/node_modules/@pi-harness/core/dist/plugins/model.d.ts.map +0 -1
- package/node_modules/@pi-harness/core/dist/plugins/model.js +0 -17
- package/node_modules/@pi-harness/core/dist/plugins/model.js.map +0 -1
- package/node_modules/@pi-harness/core/dist/plugins/models.d.ts +0 -16
- package/node_modules/@pi-harness/core/dist/plugins/models.d.ts.map +0 -1
- package/node_modules/@pi-harness/core/dist/plugins/models.js +0 -35
- package/node_modules/@pi-harness/core/dist/plugins/models.js.map +0 -1
- package/node_modules/@pi-harness/core/dist/plugins/modlens.d.ts +0 -15
- package/node_modules/@pi-harness/core/dist/plugins/modlens.d.ts.map +0 -1
- package/node_modules/@pi-harness/core/dist/plugins/modlens.js +0 -470
- package/node_modules/@pi-harness/core/dist/plugins/modlens.js.map +0 -1
- package/node_modules/@pi-harness/core/dist/plugins/module-search.d.ts +0 -28
- package/node_modules/@pi-harness/core/dist/plugins/module-search.d.ts.map +0 -1
- package/node_modules/@pi-harness/core/dist/plugins/module-search.js +0 -193
- package/node_modules/@pi-harness/core/dist/plugins/module-search.js.map +0 -1
- package/node_modules/@pi-harness/core/dist/plugins/obsidian-sync.d.ts +0 -14
- package/node_modules/@pi-harness/core/dist/plugins/obsidian-sync.d.ts.map +0 -1
- package/node_modules/@pi-harness/core/dist/plugins/obsidian-sync.js +0 -88
- package/node_modules/@pi-harness/core/dist/plugins/obsidian-sync.js.map +0 -1
- package/node_modules/@pi-harness/core/dist/plugins/openpets.d.ts +0 -14
- package/node_modules/@pi-harness/core/dist/plugins/openpets.d.ts.map +0 -1
- package/node_modules/@pi-harness/core/dist/plugins/openpets.js +0 -258
- package/node_modules/@pi-harness/core/dist/plugins/openpets.js.map +0 -1
- package/node_modules/@pi-harness/core/dist/plugins/plan-execute.d.ts +0 -11
- package/node_modules/@pi-harness/core/dist/plugins/plan-execute.d.ts.map +0 -1
- package/node_modules/@pi-harness/core/dist/plugins/plan-execute.js +0 -91
- package/node_modules/@pi-harness/core/dist/plugins/plan-execute.js.map +0 -1
- package/node_modules/@pi-harness/core/dist/plugins/plugin-check.d.ts +0 -47
- package/node_modules/@pi-harness/core/dist/plugins/plugin-check.d.ts.map +0 -1
- package/node_modules/@pi-harness/core/dist/plugins/plugin-check.js +0 -298
- package/node_modules/@pi-harness/core/dist/plugins/plugin-check.js.map +0 -1
- package/node_modules/@pi-harness/core/dist/plugins/plugin-dev.d.ts +0 -9
- package/node_modules/@pi-harness/core/dist/plugins/plugin-dev.d.ts.map +0 -1
- package/node_modules/@pi-harness/core/dist/plugins/plugin-dev.js +0 -177
- package/node_modules/@pi-harness/core/dist/plugins/plugin-dev.js.map +0 -1
- package/node_modules/@pi-harness/core/dist/plugins/plugin-finder.d.ts +0 -17
- package/node_modules/@pi-harness/core/dist/plugins/plugin-finder.d.ts.map +0 -1
- package/node_modules/@pi-harness/core/dist/plugins/plugin-finder.js +0 -216
- package/node_modules/@pi-harness/core/dist/plugins/plugin-finder.js.map +0 -1
- package/node_modules/@pi-harness/core/dist/plugins/plugin-radar.d.ts +0 -33
- package/node_modules/@pi-harness/core/dist/plugins/plugin-radar.d.ts.map +0 -1
- package/node_modules/@pi-harness/core/dist/plugins/plugin-radar.js +0 -247
- package/node_modules/@pi-harness/core/dist/plugins/plugin-radar.js.map +0 -1
- package/node_modules/@pi-harness/core/dist/plugins/plugin-stars.d.ts +0 -45
- package/node_modules/@pi-harness/core/dist/plugins/plugin-stars.d.ts.map +0 -1
- package/node_modules/@pi-harness/core/dist/plugins/plugin-stars.js +0 -366
- package/node_modules/@pi-harness/core/dist/plugins/plugin-stars.js.map +0 -1
- package/node_modules/@pi-harness/core/dist/plugins/prompt-guard.d.ts +0 -9
- package/node_modules/@pi-harness/core/dist/plugins/prompt-guard.d.ts.map +0 -1
- package/node_modules/@pi-harness/core/dist/plugins/prompt-guard.js +0 -165
- package/node_modules/@pi-harness/core/dist/plugins/prompt-guard.js.map +0 -1
- package/node_modules/@pi-harness/core/dist/plugins/prompt-library.d.ts +0 -26
- package/node_modules/@pi-harness/core/dist/plugins/prompt-library.d.ts.map +0 -1
- package/node_modules/@pi-harness/core/dist/plugins/prompt-library.js +0 -145
- package/node_modules/@pi-harness/core/dist/plugins/prompt-library.js.map +0 -1
- package/node_modules/@pi-harness/core/dist/plugins/readme-gen.d.ts +0 -29
- package/node_modules/@pi-harness/core/dist/plugins/readme-gen.d.ts.map +0 -1
- package/node_modules/@pi-harness/core/dist/plugins/readme-gen.js +0 -580
- package/node_modules/@pi-harness/core/dist/plugins/readme-gen.js.map +0 -1
- package/node_modules/@pi-harness/core/dist/plugins/recall-unread.d.ts +0 -24
- package/node_modules/@pi-harness/core/dist/plugins/recall-unread.d.ts.map +0 -1
- package/node_modules/@pi-harness/core/dist/plugins/recall-unread.js +0 -467
- package/node_modules/@pi-harness/core/dist/plugins/recall-unread.js.map +0 -1
- package/node_modules/@pi-harness/core/dist/plugins/resources.d.ts +0 -19
- package/node_modules/@pi-harness/core/dist/plugins/resources.d.ts.map +0 -1
- package/node_modules/@pi-harness/core/dist/plugins/resources.js +0 -126
- package/node_modules/@pi-harness/core/dist/plugins/resources.js.map +0 -1
- package/node_modules/@pi-harness/core/dist/plugins/reverse-skill.d.ts +0 -23
- package/node_modules/@pi-harness/core/dist/plugins/reverse-skill.d.ts.map +0 -1
- package/node_modules/@pi-harness/core/dist/plugins/reverse-skill.js +0 -61
- package/node_modules/@pi-harness/core/dist/plugins/reverse-skill.js.map +0 -1
- package/node_modules/@pi-harness/core/dist/plugins/reviewer-bot.d.ts +0 -15
- package/node_modules/@pi-harness/core/dist/plugins/reviewer-bot.d.ts.map +0 -1
- package/node_modules/@pi-harness/core/dist/plugins/reviewer-bot.js +0 -152
- package/node_modules/@pi-harness/core/dist/plugins/reviewer-bot.js.map +0 -1
- package/node_modules/@pi-harness/core/dist/plugins/runtime-doctor.d.ts +0 -34
- package/node_modules/@pi-harness/core/dist/plugins/runtime-doctor.d.ts.map +0 -1
- package/node_modules/@pi-harness/core/dist/plugins/runtime-doctor.js +0 -117
- package/node_modules/@pi-harness/core/dist/plugins/runtime-doctor.js.map +0 -1
- package/node_modules/@pi-harness/core/dist/plugins/runtime.d.ts +0 -14
- package/node_modules/@pi-harness/core/dist/plugins/runtime.d.ts.map +0 -1
- package/node_modules/@pi-harness/core/dist/plugins/runtime.js +0 -159
- package/node_modules/@pi-harness/core/dist/plugins/runtime.js.map +0 -1
- package/node_modules/@pi-harness/core/dist/plugins/secure-audit.d.ts +0 -32
- package/node_modules/@pi-harness/core/dist/plugins/secure-audit.d.ts.map +0 -1
- package/node_modules/@pi-harness/core/dist/plugins/secure-audit.js +0 -139
- package/node_modules/@pi-harness/core/dist/plugins/secure-audit.js.map +0 -1
- package/node_modules/@pi-harness/core/dist/plugins/session-bookmarks.d.ts +0 -16
- package/node_modules/@pi-harness/core/dist/plugins/session-bookmarks.d.ts.map +0 -1
- package/node_modules/@pi-harness/core/dist/plugins/session-bookmarks.js +0 -90
- package/node_modules/@pi-harness/core/dist/plugins/session-bookmarks.js.map +0 -1
- package/node_modules/@pi-harness/core/dist/plugins/session-bridge.d.ts +0 -45
- package/node_modules/@pi-harness/core/dist/plugins/session-bridge.d.ts.map +0 -1
- package/node_modules/@pi-harness/core/dist/plugins/session-bridge.js +0 -578
- package/node_modules/@pi-harness/core/dist/plugins/session-bridge.js.map +0 -1
- package/node_modules/@pi-harness/core/dist/plugins/session-compare.d.ts +0 -34
- package/node_modules/@pi-harness/core/dist/plugins/session-compare.d.ts.map +0 -1
- package/node_modules/@pi-harness/core/dist/plugins/session-compare.js +0 -153
- package/node_modules/@pi-harness/core/dist/plugins/session-compare.js.map +0 -1
- package/node_modules/@pi-harness/core/dist/plugins/session-export.d.ts +0 -10
- package/node_modules/@pi-harness/core/dist/plugins/session-export.d.ts.map +0 -1
- package/node_modules/@pi-harness/core/dist/plugins/session-export.js +0 -93
- package/node_modules/@pi-harness/core/dist/plugins/session-export.js.map +0 -1
- package/node_modules/@pi-harness/core/dist/plugins/session-insights.d.ts +0 -44
- package/node_modules/@pi-harness/core/dist/plugins/session-insights.d.ts.map +0 -1
- package/node_modules/@pi-harness/core/dist/plugins/session-insights.js +0 -432
- package/node_modules/@pi-harness/core/dist/plugins/session-insights.js.map +0 -1
- package/node_modules/@pi-harness/core/dist/plugins/session-search.d.ts +0 -21
- package/node_modules/@pi-harness/core/dist/plugins/session-search.d.ts.map +0 -1
- package/node_modules/@pi-harness/core/dist/plugins/session-search.js +0 -125
- package/node_modules/@pi-harness/core/dist/plugins/session-search.js.map +0 -1
- package/node_modules/@pi-harness/core/dist/plugins/session.d.ts +0 -15
- package/node_modules/@pi-harness/core/dist/plugins/session.d.ts.map +0 -1
- package/node_modules/@pi-harness/core/dist/plugins/session.js +0 -29
- package/node_modules/@pi-harness/core/dist/plugins/session.js.map +0 -1
- package/node_modules/@pi-harness/core/dist/plugins/skill-catalog.d.ts +0 -27
- package/node_modules/@pi-harness/core/dist/plugins/skill-catalog.d.ts.map +0 -1
- package/node_modules/@pi-harness/core/dist/plugins/skill-catalog.js +0 -98
- package/node_modules/@pi-harness/core/dist/plugins/skill-catalog.js.map +0 -1
- package/node_modules/@pi-harness/core/dist/plugins/skill-guard.d.ts +0 -27
- package/node_modules/@pi-harness/core/dist/plugins/skill-guard.d.ts.map +0 -1
- package/node_modules/@pi-harness/core/dist/plugins/skill-guard.js +0 -319
- package/node_modules/@pi-harness/core/dist/plugins/skill-guard.js.map +0 -1
- package/node_modules/@pi-harness/core/dist/plugins/sql-lens-worker.d.ts +0 -2
- package/node_modules/@pi-harness/core/dist/plugins/sql-lens-worker.d.ts.map +0 -1
- package/node_modules/@pi-harness/core/dist/plugins/sql-lens-worker.js +0 -206
- package/node_modules/@pi-harness/core/dist/plugins/sql-lens-worker.js.map +0 -1
- package/node_modules/@pi-harness/core/dist/plugins/sql-lens.d.ts +0 -14
- package/node_modules/@pi-harness/core/dist/plugins/sql-lens.d.ts.map +0 -1
- package/node_modules/@pi-harness/core/dist/plugins/sql-lens.js +0 -318
- package/node_modules/@pi-harness/core/dist/plugins/sql-lens.js.map +0 -1
- package/node_modules/@pi-harness/core/dist/plugins/stdio.d.ts +0 -11
- package/node_modules/@pi-harness/core/dist/plugins/stdio.d.ts.map +0 -1
- package/node_modules/@pi-harness/core/dist/plugins/stdio.js +0 -80
- package/node_modules/@pi-harness/core/dist/plugins/stdio.js.map +0 -1
- package/node_modules/@pi-harness/core/dist/plugins/synapse.d.ts +0 -38
- package/node_modules/@pi-harness/core/dist/plugins/synapse.d.ts.map +0 -1
- package/node_modules/@pi-harness/core/dist/plugins/synapse.js +0 -101
- package/node_modules/@pi-harness/core/dist/plugins/synapse.js.map +0 -1
- package/node_modules/@pi-harness/core/dist/plugins/tab-manager.d.ts +0 -9
- package/node_modules/@pi-harness/core/dist/plugins/tab-manager.d.ts.map +0 -1
- package/node_modules/@pi-harness/core/dist/plugins/tab-manager.js +0 -240
- package/node_modules/@pi-harness/core/dist/plugins/tab-manager.js.map +0 -1
- package/node_modules/@pi-harness/core/dist/plugins/taskboard.d.ts +0 -15
- package/node_modules/@pi-harness/core/dist/plugins/taskboard.d.ts.map +0 -1
- package/node_modules/@pi-harness/core/dist/plugins/taskboard.js +0 -375
- package/node_modules/@pi-harness/core/dist/plugins/taskboard.js.map +0 -1
- package/node_modules/@pi-harness/core/dist/plugins/telemetry-blocker.d.ts +0 -11
- package/node_modules/@pi-harness/core/dist/plugins/telemetry-blocker.d.ts.map +0 -1
- package/node_modules/@pi-harness/core/dist/plugins/telemetry-blocker.js +0 -76
- package/node_modules/@pi-harness/core/dist/plugins/telemetry-blocker.js.map +0 -1
- package/node_modules/@pi-harness/core/dist/plugins/test-harness.d.ts +0 -14
- package/node_modules/@pi-harness/core/dist/plugins/test-harness.d.ts.map +0 -1
- package/node_modules/@pi-harness/core/dist/plugins/test-harness.js +0 -276
- package/node_modules/@pi-harness/core/dist/plugins/test-harness.js.map +0 -1
- package/node_modules/@pi-harness/core/dist/plugins/theme-studio.d.ts +0 -29
- package/node_modules/@pi-harness/core/dist/plugins/theme-studio.d.ts.map +0 -1
- package/node_modules/@pi-harness/core/dist/plugins/theme-studio.js +0 -143
- package/node_modules/@pi-harness/core/dist/plugins/theme-studio.js.map +0 -1
- package/node_modules/@pi-harness/core/dist/plugins/token-guard.d.ts +0 -15
- package/node_modules/@pi-harness/core/dist/plugins/token-guard.d.ts.map +0 -1
- package/node_modules/@pi-harness/core/dist/plugins/token-guard.js +0 -210
- package/node_modules/@pi-harness/core/dist/plugins/token-guard.js.map +0 -1
- package/node_modules/@pi-harness/core/dist/plugins/tools.d.ts +0 -13
- package/node_modules/@pi-harness/core/dist/plugins/tools.d.ts.map +0 -1
- package/node_modules/@pi-harness/core/dist/plugins/tools.js +0 -23
- package/node_modules/@pi-harness/core/dist/plugins/tools.js.map +0 -1
- package/node_modules/@pi-harness/core/dist/plugins/turn-rewind.d.ts +0 -36
- package/node_modules/@pi-harness/core/dist/plugins/turn-rewind.d.ts.map +0 -1
- package/node_modules/@pi-harness/core/dist/plugins/turn-rewind.js +0 -378
- package/node_modules/@pi-harness/core/dist/plugins/turn-rewind.js.map +0 -1
- package/node_modules/@pi-harness/core/dist/plugins/undo-savepoint.d.ts +0 -17
- package/node_modules/@pi-harness/core/dist/plugins/undo-savepoint.d.ts.map +0 -1
- package/node_modules/@pi-harness/core/dist/plugins/undo-savepoint.js +0 -353
- package/node_modules/@pi-harness/core/dist/plugins/undo-savepoint.js.map +0 -1
- package/node_modules/@pi-harness/core/dist/plugins/vision-toolkit.d.ts +0 -36
- package/node_modules/@pi-harness/core/dist/plugins/vision-toolkit.d.ts.map +0 -1
- package/node_modules/@pi-harness/core/dist/plugins/vision-toolkit.js +0 -468
- package/node_modules/@pi-harness/core/dist/plugins/vision-toolkit.js.map +0 -1
- package/node_modules/@pi-harness/core/dist/plugins/web-research.d.ts +0 -17
- package/node_modules/@pi-harness/core/dist/plugins/web-research.d.ts.map +0 -1
- package/node_modules/@pi-harness/core/dist/plugins/web-research.js +0 -284
- package/node_modules/@pi-harness/core/dist/plugins/web-research.js.map +0 -1
- package/node_modules/@pi-harness/core/dist/plugins/workspace-navigator.d.ts +0 -42
- package/node_modules/@pi-harness/core/dist/plugins/workspace-navigator.d.ts.map +0 -1
- package/node_modules/@pi-harness/core/dist/plugins/workspace-navigator.js +0 -168
- package/node_modules/@pi-harness/core/dist/plugins/workspace-navigator.js.map +0 -1
- package/node_modules/@pi-harness/core/dist/plugins/workspace-search.d.ts +0 -15
- package/node_modules/@pi-harness/core/dist/plugins/workspace-search.d.ts.map +0 -1
- package/node_modules/@pi-harness/core/dist/plugins/workspace-search.js +0 -167
- package/node_modules/@pi-harness/core/dist/plugins/workspace-search.js.map +0 -1
- package/node_modules/@pi-harness/core/dist/plugins/yaml-validator.d.ts +0 -9
- package/node_modules/@pi-harness/core/dist/plugins/yaml-validator.d.ts.map +0 -1
- package/node_modules/@pi-harness/core/dist/plugins/yaml-validator.js +0 -203
- package/node_modules/@pi-harness/core/dist/plugins/yaml-validator.js.map +0 -1
- package/node_modules/@pi-harness/core/dist/profile.d.ts +0 -9
- package/node_modules/@pi-harness/core/dist/profile.d.ts.map +0 -1
- package/node_modules/@pi-harness/core/dist/profile.js +0 -33
- package/node_modules/@pi-harness/core/dist/profile.js.map +0 -1
- package/node_modules/@pi-harness/core/dist/runtime.d.ts +0 -16
- package/node_modules/@pi-harness/core/dist/runtime.d.ts.map +0 -1
- package/node_modules/@pi-harness/core/dist/runtime.js +0 -47
- package/node_modules/@pi-harness/core/dist/runtime.js.map +0 -1
- package/node_modules/@pi-harness/core/dist/services.d.ts +0 -118
- package/node_modules/@pi-harness/core/dist/services.d.ts.map +0 -1
- package/node_modules/@pi-harness/core/dist/services.js +0 -115
- package/node_modules/@pi-harness/core/dist/services.js.map +0 -1
- package/node_modules/@pi-harness/core/dist/stdio.d.ts +0 -37
- package/node_modules/@pi-harness/core/dist/stdio.d.ts.map +0 -1
- package/node_modules/@pi-harness/core/dist/stdio.js +0 -356
- package/node_modules/@pi-harness/core/dist/stdio.js.map +0 -1
- package/node_modules/@pi-harness/core/dist/workspace-path.d.ts +0 -13
- package/node_modules/@pi-harness/core/dist/workspace-path.d.ts.map +0 -1
- package/node_modules/@pi-harness/core/dist/workspace-path.js +0 -71
- package/node_modules/@pi-harness/core/dist/workspace-path.js.map +0 -1
- package/node_modules/@pi-harness/core/package.json +0 -42
- package/node_modules/@pi-harness/core/profiles/default/cordis.yml +0 -122
- package/node_modules/@pi-harness/core/profiles/development/cordis.yml +0 -47
- package/packages/client-web/LICENSE +0 -9
- package/packages/client-web/dist/agent-teams-view.d.ts +0 -70
- package/packages/client-web/dist/agent-teams-view.d.ts.map +0 -1
- package/packages/client-web/dist/agent-teams-view.js +0 -159
- package/packages/client-web/dist/agent-teams-view.js.map +0 -1
- package/packages/client-web/dist/annotation-ui.d.ts +0 -11
- package/packages/client-web/dist/annotation-ui.d.ts.map +0 -1
- package/packages/client-web/dist/annotation-ui.js +0 -24
- package/packages/client-web/dist/annotation-ui.js.map +0 -1
- package/packages/client-web/dist/at-file-view.d.ts +0 -10
- package/packages/client-web/dist/at-file-view.d.ts.map +0 -1
- package/packages/client-web/dist/at-file-view.js +0 -65
- package/packages/client-web/dist/at-file-view.js.map +0 -1
- package/packages/client-web/dist/browser-fetch-view.d.ts +0 -22
- package/packages/client-web/dist/browser-fetch-view.d.ts.map +0 -1
- package/packages/client-web/dist/browser-fetch-view.js +0 -101
- package/packages/client-web/dist/browser-fetch-view.js.map +0 -1
- package/packages/client-web/dist/browser-session-view.d.ts +0 -39
- package/packages/client-web/dist/browser-session-view.d.ts.map +0 -1
- package/packages/client-web/dist/browser-session-view.js +0 -211
- package/packages/client-web/dist/browser-session-view.js.map +0 -1
- package/packages/client-web/dist/cleaner-view.d.ts +0 -29
- package/packages/client-web/dist/cleaner-view.d.ts.map +0 -1
- package/packages/client-web/dist/cleaner-view.js +0 -191
- package/packages/client-web/dist/cleaner-view.js.map +0 -1
- package/packages/client-web/dist/context-doctor-view.d.ts +0 -35
- package/packages/client-web/dist/context-doctor-view.d.ts.map +0 -1
- package/packages/client-web/dist/context-doctor-view.js +0 -129
- package/packages/client-web/dist/context-doctor-view.js.map +0 -1
- package/packages/client-web/dist/context-insights-view.d.ts +0 -31
- package/packages/client-web/dist/context-insights-view.d.ts.map +0 -1
- package/packages/client-web/dist/context-insights-view.js +0 -90
- package/packages/client-web/dist/context-insights-view.js.map +0 -1
- package/packages/client-web/dist/control-room.d.ts +0 -270
- package/packages/client-web/dist/control-room.d.ts.map +0 -1
- package/packages/client-web/dist/control-room.js +0 -157
- package/packages/client-web/dist/control-room.js.map +0 -1
- package/packages/client-web/dist/cost-meter-view.d.ts +0 -16
- package/packages/client-web/dist/cost-meter-view.d.ts.map +0 -1
- package/packages/client-web/dist/cost-meter-view.js +0 -43
- package/packages/client-web/dist/cost-meter-view.js.map +0 -1
- package/packages/client-web/dist/dependency-checker-view.d.ts +0 -24
- package/packages/client-web/dist/dependency-checker-view.d.ts.map +0 -1
- package/packages/client-web/dist/dependency-checker-view.js +0 -195
- package/packages/client-web/dist/dependency-checker-view.js.map +0 -1
- package/packages/client-web/dist/design-contract.d.ts +0 -85
- package/packages/client-web/dist/design-contract.d.ts.map +0 -1
- package/packages/client-web/dist/design-contract.js +0 -258
- package/packages/client-web/dist/design-contract.js.map +0 -1
- package/packages/client-web/dist/docker-sandbox-view.d.ts +0 -28
- package/packages/client-web/dist/docker-sandbox-view.d.ts.map +0 -1
- package/packages/client-web/dist/docker-sandbox-view.js +0 -152
- package/packages/client-web/dist/docker-sandbox-view.js.map +0 -1
- package/packages/client-web/dist/fail-logger-view.d.ts +0 -16
- package/packages/client-web/dist/fail-logger-view.d.ts.map +0 -1
- package/packages/client-web/dist/fail-logger-view.js +0 -97
- package/packages/client-web/dist/fail-logger-view.js.map +0 -1
- package/packages/client-web/dist/genui-view.d.ts +0 -28
- package/packages/client-web/dist/genui-view.d.ts.map +0 -1
- package/packages/client-web/dist/genui-view.js +0 -62
- package/packages/client-web/dist/genui-view.js.map +0 -1
- package/packages/client-web/dist/git-time-capsule-view.d.ts +0 -31
- package/packages/client-web/dist/git-time-capsule-view.d.ts.map +0 -1
- package/packages/client-web/dist/git-time-capsule-view.js +0 -203
- package/packages/client-web/dist/git-time-capsule-view.js.map +0 -1
- package/packages/client-web/dist/graph-memory-view.d.ts +0 -39
- package/packages/client-web/dist/graph-memory-view.d.ts.map +0 -1
- package/packages/client-web/dist/graph-memory-view.js +0 -82
- package/packages/client-web/dist/graph-memory-view.js.map +0 -1
- package/packages/client-web/dist/i18n-pair-view.d.ts +0 -32
- package/packages/client-web/dist/i18n-pair-view.d.ts.map +0 -1
- package/packages/client-web/dist/i18n-pair-view.js +0 -182
- package/packages/client-web/dist/i18n-pair-view.js.map +0 -1
- package/packages/client-web/dist/index.d.ts +0 -20
- package/packages/client-web/dist/index.d.ts.map +0 -1
- package/packages/client-web/dist/index.js +0 -27
- package/packages/client-web/dist/index.js.map +0 -1
- package/packages/client-web/dist/markdown.d.ts +0 -5
- package/packages/client-web/dist/markdown.d.ts.map +0 -1
- package/packages/client-web/dist/markdown.js +0 -20
- package/packages/client-web/dist/markdown.js.map +0 -1
- package/packages/client-web/dist/marketplace-catalog.d.ts +0 -3
- package/packages/client-web/dist/marketplace-catalog.d.ts.map +0 -1
- package/packages/client-web/dist/marketplace-catalog.js +0 -10
- package/packages/client-web/dist/marketplace-catalog.js.map +0 -1
- package/packages/client-web/dist/marketplace-navigation.d.ts +0 -19
- package/packages/client-web/dist/marketplace-navigation.d.ts.map +0 -1
- package/packages/client-web/dist/marketplace-navigation.js +0 -31
- package/packages/client-web/dist/marketplace-navigation.js.map +0 -1
- package/packages/client-web/dist/mcp-client-view.d.ts +0 -58
- package/packages/client-web/dist/mcp-client-view.d.ts.map +0 -1
- package/packages/client-web/dist/mcp-client-view.js +0 -121
- package/packages/client-web/dist/mcp-client-view.js.map +0 -1
- package/packages/client-web/dist/message-content.d.ts +0 -9
- package/packages/client-web/dist/message-content.d.ts.map +0 -1
- package/packages/client-web/dist/message-content.js +0 -54
- package/packages/client-web/dist/message-content.js.map +0 -1
- package/packages/client-web/dist/modlens-view.d.ts +0 -43
- package/packages/client-web/dist/modlens-view.d.ts.map +0 -1
- package/packages/client-web/dist/modlens-view.js +0 -176
- package/packages/client-web/dist/modlens-view.js.map +0 -1
- package/packages/client-web/dist/openpets-view.d.ts +0 -26
- package/packages/client-web/dist/openpets-view.d.ts.map +0 -1
- package/packages/client-web/dist/openpets-view.js +0 -62
- package/packages/client-web/dist/openpets-view.js.map +0 -1
- package/packages/client-web/dist/panel-safe.d.ts +0 -5
- package/packages/client-web/dist/panel-safe.d.ts.map +0 -1
- package/packages/client-web/dist/panel-safe.js +0 -58
- package/packages/client-web/dist/panel-safe.js.map +0 -1
- package/packages/client-web/dist/plugin-card.d.ts +0 -8
- package/packages/client-web/dist/plugin-card.d.ts.map +0 -1
- package/packages/client-web/dist/plugin-card.js +0 -15
- package/packages/client-web/dist/plugin-card.js.map +0 -1
- package/packages/client-web/dist/plugin-dev-view.d.ts +0 -15
- package/packages/client-web/dist/plugin-dev-view.d.ts.map +0 -1
- package/packages/client-web/dist/plugin-dev-view.js +0 -33
- package/packages/client-web/dist/plugin-dev-view.js.map +0 -1
- package/packages/client-web/dist/plugin-navigation.d.ts +0 -3
- package/packages/client-web/dist/plugin-navigation.d.ts.map +0 -1
- package/packages/client-web/dist/plugin-navigation.js +0 -10
- package/packages/client-web/dist/plugin-navigation.js.map +0 -1
- package/packages/client-web/dist/plugin-search.d.ts +0 -2
- package/packages/client-web/dist/plugin-search.d.ts.map +0 -1
- package/packages/client-web/dist/plugin-search.js +0 -7
- package/packages/client-web/dist/plugin-search.js.map +0 -1
- package/packages/client-web/dist/plugin-stars-view.d.ts +0 -40
- package/packages/client-web/dist/plugin-stars-view.d.ts.map +0 -1
- package/packages/client-web/dist/plugin-stars-view.js +0 -216
- package/packages/client-web/dist/plugin-stars-view.js.map +0 -1
- package/packages/client-web/dist/prompt-completion.d.ts +0 -13
- package/packages/client-web/dist/prompt-completion.d.ts.map +0 -1
- package/packages/client-web/dist/prompt-completion.js +0 -17
- package/packages/client-web/dist/prompt-completion.js.map +0 -1
- package/packages/client-web/dist/react-room.d.ts +0 -11
- package/packages/client-web/dist/react-room.d.ts.map +0 -1
- package/packages/client-web/dist/react-room.js +0 -2844
- package/packages/client-web/dist/react-room.js.map +0 -1
- package/packages/client-web/dist/readme-gen-view.d.ts +0 -30
- package/packages/client-web/dist/readme-gen-view.d.ts.map +0 -1
- package/packages/client-web/dist/readme-gen-view.js +0 -134
- package/packages/client-web/dist/readme-gen-view.js.map +0 -1
- package/packages/client-web/dist/recall-unread-view.d.ts +0 -46
- package/packages/client-web/dist/recall-unread-view.d.ts.map +0 -1
- package/packages/client-web/dist/recall-unread-view.js +0 -104
- package/packages/client-web/dist/recall-unread-view.js.map +0 -1
- package/packages/client-web/dist/runtime-events.d.ts +0 -4
- package/packages/client-web/dist/runtime-events.d.ts.map +0 -1
- package/packages/client-web/dist/runtime-events.js +0 -29
- package/packages/client-web/dist/runtime-events.js.map +0 -1
- package/packages/client-web/dist/session-bridge-view.d.ts +0 -50
- package/packages/client-web/dist/session-bridge-view.d.ts.map +0 -1
- package/packages/client-web/dist/session-bridge-view.js +0 -113
- package/packages/client-web/dist/session-bridge-view.js.map +0 -1
- package/packages/client-web/dist/session-insights-view.d.ts +0 -40
- package/packages/client-web/dist/session-insights-view.d.ts.map +0 -1
- package/packages/client-web/dist/session-insights-view.js +0 -157
- package/packages/client-web/dist/session-insights-view.js.map +0 -1
- package/packages/client-web/dist/skill-guard-view.d.ts +0 -47
- package/packages/client-web/dist/skill-guard-view.d.ts.map +0 -1
- package/packages/client-web/dist/skill-guard-view.js +0 -93
- package/packages/client-web/dist/skill-guard-view.js.map +0 -1
- package/packages/client-web/dist/sql-lens-view.d.ts +0 -37
- package/packages/client-web/dist/sql-lens-view.d.ts.map +0 -1
- package/packages/client-web/dist/sql-lens-view.js +0 -235
- package/packages/client-web/dist/sql-lens-view.js.map +0 -1
- package/packages/client-web/dist/test-harness-view.d.ts +0 -24
- package/packages/client-web/dist/test-harness-view.d.ts.map +0 -1
- package/packages/client-web/dist/test-harness-view.js +0 -149
- package/packages/client-web/dist/test-harness-view.js.map +0 -1
- package/packages/client-web/dist/token-guard-view.d.ts +0 -19
- package/packages/client-web/dist/token-guard-view.d.ts.map +0 -1
- package/packages/client-web/dist/token-guard-view.js +0 -56
- package/packages/client-web/dist/token-guard-view.js.map +0 -1
- package/packages/client-web/dist/turn-rewind-view.d.ts +0 -41
- package/packages/client-web/dist/turn-rewind-view.d.ts.map +0 -1
- package/packages/client-web/dist/turn-rewind-view.js +0 -117
- package/packages/client-web/dist/turn-rewind-view.js.map +0 -1
- package/packages/client-web/dist/vision-toolkit-view.d.ts +0 -66
- package/packages/client-web/dist/vision-toolkit-view.d.ts.map +0 -1
- package/packages/client-web/dist/vision-toolkit-view.js +0 -238
- package/packages/client-web/dist/vision-toolkit-view.js.map +0 -1
- package/packages/client-web/dist/yaml-validator-view.d.ts +0 -52
- package/packages/client-web/dist/yaml-validator-view.d.ts.map +0 -1
- package/packages/client-web/dist/yaml-validator-view.js +0 -96
- package/packages/client-web/dist/yaml-validator-view.js.map +0 -1
- package/packages/client-web/package.json +0 -42
- package/packages/client-web/src/agent-teams-view.ts +0 -189
- package/packages/client-web/src/annotation-ui.ts +0 -29
- package/packages/client-web/src/at-file-view.ts +0 -69
- package/packages/client-web/src/browser-fetch-view.ts +0 -114
- package/packages/client-web/src/browser-session-view.ts +0 -232
- package/packages/client-web/src/cleaner-view.ts +0 -207
- package/packages/client-web/src/context-doctor-view.ts +0 -140
- package/packages/client-web/src/context-insights-view.ts +0 -125
- package/packages/client-web/src/control-room.ts +0 -359
- package/packages/client-web/src/cost-meter-view.ts +0 -63
- package/packages/client-web/src/dependency-checker-view.ts +0 -215
- package/packages/client-web/src/design-contract.ts +0 -334
- package/packages/client-web/src/docker-sandbox-view.ts +0 -177
- package/packages/client-web/src/fail-logger-view.ts +0 -112
- package/packages/client-web/src/genui-view.ts +0 -88
- package/packages/client-web/src/git-time-capsule-view.ts +0 -215
- package/packages/client-web/src/graph-memory-view.ts +0 -91
- package/packages/client-web/src/i18n-pair-view.ts +0 -194
- package/packages/client-web/src/index.ts +0 -34
- package/packages/client-web/src/markdown.tsx +0 -22
- package/packages/client-web/src/marketplace-catalog.ts +0 -10
- package/packages/client-web/src/marketplace-navigation.ts +0 -46
- package/packages/client-web/src/mcp-client-view.ts +0 -122
- package/packages/client-web/src/message-content.ts +0 -51
- package/packages/client-web/src/modlens-view.ts +0 -210
- package/packages/client-web/src/openpets-view.ts +0 -67
- package/packages/client-web/src/panel-safe.ts +0 -47
- package/packages/client-web/src/plugin-card.ts +0 -22
- package/packages/client-web/src/plugin-dev-view.ts +0 -39
- package/packages/client-web/src/plugin-navigation.ts +0 -9
- package/packages/client-web/src/plugin-search.ts +0 -5
- package/packages/client-web/src/plugin-stars-view.ts +0 -257
- package/packages/client-web/src/prompt-completion.ts +0 -24
- package/packages/client-web/src/react-room.tsx +0 -8581
- package/packages/client-web/src/readme-gen-view.ts +0 -145
- package/packages/client-web/src/recall-unread-view.ts +0 -105
- package/packages/client-web/src/runtime-events.ts +0 -29
- package/packages/client-web/src/session-bridge-view.ts +0 -118
- package/packages/client-web/src/session-insights-view.ts +0 -205
- package/packages/client-web/src/skill-guard-view.ts +0 -94
- package/packages/client-web/src/sql-lens-view.ts +0 -247
- package/packages/client-web/src/test-harness-view.ts +0 -170
- package/packages/client-web/src/token-guard-view.ts +0 -75
- package/packages/client-web/src/turn-rewind-view.ts +0 -120
- package/packages/client-web/src/vision-toolkit-view.ts +0 -280
- package/packages/client-web/src/yaml-validator-view.ts +0 -102
- package/packages/client-web/test/agent-teams-view.test.ts +0 -198
- package/packages/client-web/test/annotation-ui.test.ts +0 -21
- package/packages/client-web/test/at-file-panel.test.ts +0 -76
- package/packages/client-web/test/browser-fetch-panel.test.ts +0 -44
- package/packages/client-web/test/browser-fetch-view.test.ts +0 -89
- package/packages/client-web/test/browser-session-panel.test.ts +0 -55
- package/packages/client-web/test/browser-session-view.test.ts +0 -115
- package/packages/client-web/test/cleaner-panel.test.ts +0 -66
- package/packages/client-web/test/cleaner-view.test.ts +0 -143
- package/packages/client-web/test/context-doctor-view.test.ts +0 -169
- package/packages/client-web/test/context-insights-view.test.ts +0 -120
- package/packages/client-web/test/cost-meter-view.test.ts +0 -53
- package/packages/client-web/test/dependency-checker-panel.test.ts +0 -51
- package/packages/client-web/test/dependency-checker-view.test.ts +0 -266
- package/packages/client-web/test/design-contract.test.ts +0 -69
- package/packages/client-web/test/docker-sandbox-panel.test.ts +0 -44
- package/packages/client-web/test/docker-sandbox-view.test.ts +0 -127
- package/packages/client-web/test/fail-logger-view.test.ts +0 -155
- package/packages/client-web/test/genui-view.test.ts +0 -55
- package/packages/client-web/test/git-time-capsule-view.test.ts +0 -252
- package/packages/client-web/test/graph-memory-view.test.ts +0 -67
- package/packages/client-web/test/i18n-pair-panel.test.ts +0 -72
- package/packages/client-web/test/i18n-pair-view.test.ts +0 -164
- package/packages/client-web/test/marketplace-catalog.test.ts +0 -52
- package/packages/client-web/test/mcp-client-view.test.ts +0 -106
- package/packages/client-web/test/message-content.test.ts +0 -43
- package/packages/client-web/test/modlens-view.test.ts +0 -198
- package/packages/client-web/test/openpets-view.test.ts +0 -57
- package/packages/client-web/test/plugin-card.test.ts +0 -46
- package/packages/client-web/test/plugin-dev-view.test.ts +0 -63
- package/packages/client-web/test/plugin-navigation.test.ts +0 -14
- package/packages/client-web/test/plugin-search.test.ts +0 -22
- package/packages/client-web/test/plugin-stars-panel.test.ts +0 -44
- package/packages/client-web/test/plugin-stars-view.test.ts +0 -107
- package/packages/client-web/test/prompt-completion.test.ts +0 -21
- package/packages/client-web/test/readme-gen-panel.test.ts +0 -81
- package/packages/client-web/test/readme-gen-view.test.ts +0 -91
- package/packages/client-web/test/recall-unread-view.test.ts +0 -153
- package/packages/client-web/test/runtime-events.test.ts +0 -28
- package/packages/client-web/test/session-bridge-view.test.ts +0 -102
- package/packages/client-web/test/session-insights-panel.test.ts +0 -85
- package/packages/client-web/test/session-insights-view.test.ts +0 -152
- package/packages/client-web/test/skill-guard-view.test.ts +0 -138
- package/packages/client-web/test/sql-lens-panel.test.ts +0 -52
- package/packages/client-web/test/sql-lens-view.test.ts +0 -134
- package/packages/client-web/test/test-harness-panel.test.ts +0 -228
- package/packages/client-web/test/token-guard-view.test.ts +0 -93
- package/packages/client-web/test/turn-rewind-view.test.ts +0 -159
- package/packages/client-web/test/vision-toolkit-view.test.ts +0 -152
- package/packages/client-web/test/yaml-validator-view.test.ts +0 -100
- package/packages/client-web/tsconfig.build.json +0 -13
- package/packages/client-web/tsconfig.json +0 -11
- package/packages/core/LICENSE +0 -9
- package/packages/core/dist/atomic-write.d.ts +0 -8
- package/packages/core/dist/atomic-write.d.ts.map +0 -1
- package/packages/core/dist/atomic-write.js +0 -40
- package/packages/core/dist/atomic-write.js.map +0 -1
- package/packages/core/dist/boot.d.ts +0 -13
- package/packages/core/dist/boot.d.ts.map +0 -1
- package/packages/core/dist/boot.js +0 -257
- package/packages/core/dist/boot.js.map +0 -1
- package/packages/core/dist/bounded-file.d.ts +0 -7
- package/packages/core/dist/bounded-file.d.ts.map +0 -1
- package/packages/core/dist/bounded-file.js +0 -50
- package/packages/core/dist/bounded-file.js.map +0 -1
- package/packages/core/dist/config.d.ts +0 -4
- package/packages/core/dist/config.d.ts.map +0 -1
- package/packages/core/dist/config.js +0 -29
- package/packages/core/dist/config.js.map +0 -1
- package/packages/core/dist/context.d.ts +0 -3
- package/packages/core/dist/context.d.ts.map +0 -1
- package/packages/core/dist/context.js +0 -2
- package/packages/core/dist/context.js.map +0 -1
- package/packages/core/dist/cordis-timer.d.ts +0 -15
- package/packages/core/dist/cordis-timer.d.ts.map +0 -1
- package/packages/core/dist/cordis-timer.js +0 -99
- package/packages/core/dist/cordis-timer.js.map +0 -1
- package/packages/core/dist/http.d.ts +0 -8
- package/packages/core/dist/http.d.ts.map +0 -1
- package/packages/core/dist/http.js +0 -27
- package/packages/core/dist/http.js.map +0 -1
- package/packages/core/dist/index.d.ts +0 -9
- package/packages/core/dist/index.d.ts.map +0 -1
- package/packages/core/dist/index.js +0 -8
- package/packages/core/dist/index.js.map +0 -1
- package/packages/core/dist/plugins/agent-teams.d.ts +0 -21
- package/packages/core/dist/plugins/agent-teams.d.ts.map +0 -1
- package/packages/core/dist/plugins/agent-teams.js +0 -1179
- package/packages/core/dist/plugins/agent-teams.js.map +0 -1
- package/packages/core/dist/plugins/anchored-standard.d.ts +0 -15
- package/packages/core/dist/plugins/anchored-standard.d.ts.map +0 -1
- package/packages/core/dist/plugins/anchored-standard.js +0 -112
- package/packages/core/dist/plugins/anchored-standard.js.map +0 -1
- package/packages/core/dist/plugins/annotation.d.ts +0 -19
- package/packages/core/dist/plugins/annotation.d.ts.map +0 -1
- package/packages/core/dist/plugins/annotation.js +0 -112
- package/packages/core/dist/plugins/annotation.js.map +0 -1
- package/packages/core/dist/plugins/archify.d.ts +0 -24
- package/packages/core/dist/plugins/archify.d.ts.map +0 -1
- package/packages/core/dist/plugins/archify.js +0 -145
- package/packages/core/dist/plugins/archify.js.map +0 -1
- package/packages/core/dist/plugins/at-file.d.ts +0 -12
- package/packages/core/dist/plugins/at-file.d.ts.map +0 -1
- package/packages/core/dist/plugins/at-file.js +0 -143
- package/packages/core/dist/plugins/at-file.js.map +0 -1
- package/packages/core/dist/plugins/auto-mode.d.ts +0 -15
- package/packages/core/dist/plugins/auto-mode.d.ts.map +0 -1
- package/packages/core/dist/plugins/auto-mode.js +0 -183
- package/packages/core/dist/plugins/auto-mode.js.map +0 -1
- package/packages/core/dist/plugins/better-sidebar.d.ts +0 -38
- package/packages/core/dist/plugins/better-sidebar.d.ts.map +0 -1
- package/packages/core/dist/plugins/better-sidebar.js +0 -99
- package/packages/core/dist/plugins/better-sidebar.js.map +0 -1
- package/packages/core/dist/plugins/browser-fetch.d.ts +0 -15
- package/packages/core/dist/plugins/browser-fetch.d.ts.map +0 -1
- package/packages/core/dist/plugins/browser-fetch.js +0 -359
- package/packages/core/dist/plugins/browser-fetch.js.map +0 -1
- package/packages/core/dist/plugins/browser-session.d.ts +0 -14
- package/packages/core/dist/plugins/browser-session.d.ts.map +0 -1
- package/packages/core/dist/plugins/browser-session.js +0 -604
- package/packages/core/dist/plugins/browser-session.js.map +0 -1
- package/packages/core/dist/plugins/canvas-draw.d.ts +0 -9
- package/packages/core/dist/plugins/canvas-draw.d.ts.map +0 -1
- package/packages/core/dist/plugins/canvas-draw.js +0 -140
- package/packages/core/dist/plugins/canvas-draw.js.map +0 -1
- package/packages/core/dist/plugins/change-verifier.d.ts +0 -9
- package/packages/core/dist/plugins/change-verifier.d.ts.map +0 -1
- package/packages/core/dist/plugins/change-verifier.js +0 -88
- package/packages/core/dist/plugins/change-verifier.js.map +0 -1
- package/packages/core/dist/plugins/cleaner.d.ts +0 -12
- package/packages/core/dist/plugins/cleaner.d.ts.map +0 -1
- package/packages/core/dist/plugins/cleaner.js +0 -353
- package/packages/core/dist/plugins/cleaner.js.map +0 -1
- package/packages/core/dist/plugins/cli-notifier.d.ts +0 -16
- package/packages/core/dist/plugins/cli-notifier.d.ts.map +0 -1
- package/packages/core/dist/plugins/cli-notifier.js +0 -167
- package/packages/core/dist/plugins/cli-notifier.js.map +0 -1
- package/packages/core/dist/plugins/code2skill.d.ts +0 -9
- package/packages/core/dist/plugins/code2skill.d.ts.map +0 -1
- package/packages/core/dist/plugins/code2skill.js +0 -235
- package/packages/core/dist/plugins/code2skill.js.map +0 -1
- package/packages/core/dist/plugins/colleague-skill.d.ts +0 -28
- package/packages/core/dist/plugins/colleague-skill.d.ts.map +0 -1
- package/packages/core/dist/plugins/colleague-skill.js +0 -129
- package/packages/core/dist/plugins/colleague-skill.js.map +0 -1
- package/packages/core/dist/plugins/context-doctor.d.ts +0 -35
- package/packages/core/dist/plugins/context-doctor.d.ts.map +0 -1
- package/packages/core/dist/plugins/context-doctor.js +0 -459
- package/packages/core/dist/plugins/context-doctor.js.map +0 -1
- package/packages/core/dist/plugins/context.d.ts +0 -9
- package/packages/core/dist/plugins/context.d.ts.map +0 -1
- package/packages/core/dist/plugins/context.js +0 -214
- package/packages/core/dist/plugins/context.js.map +0 -1
- package/packages/core/dist/plugins/cost-meter.d.ts +0 -36
- package/packages/core/dist/plugins/cost-meter.d.ts.map +0 -1
- package/packages/core/dist/plugins/cost-meter.js +0 -430
- package/packages/core/dist/plugins/cost-meter.js.map +0 -1
- package/packages/core/dist/plugins/dependency-checker.d.ts +0 -36
- package/packages/core/dist/plugins/dependency-checker.d.ts.map +0 -1
- package/packages/core/dist/plugins/dependency-checker.js +0 -570
- package/packages/core/dist/plugins/dependency-checker.js.map +0 -1
- package/packages/core/dist/plugins/docker-sandbox.d.ts +0 -9
- package/packages/core/dist/plugins/docker-sandbox.d.ts.map +0 -1
- package/packages/core/dist/plugins/docker-sandbox.js +0 -344
- package/packages/core/dist/plugins/docker-sandbox.js.map +0 -1
- package/packages/core/dist/plugins/fail-logger.d.ts +0 -9
- package/packages/core/dist/plugins/fail-logger.d.ts.map +0 -1
- package/packages/core/dist/plugins/fail-logger.js +0 -218
- package/packages/core/dist/plugins/fail-logger.js.map +0 -1
- package/packages/core/dist/plugins/genui.d.ts +0 -9
- package/packages/core/dist/plugins/genui.d.ts.map +0 -1
- package/packages/core/dist/plugins/genui.js +0 -144
- package/packages/core/dist/plugins/genui.js.map +0 -1
- package/packages/core/dist/plugins/git-time-capsule.d.ts +0 -15
- package/packages/core/dist/plugins/git-time-capsule.d.ts.map +0 -1
- package/packages/core/dist/plugins/git-time-capsule.js +0 -436
- package/packages/core/dist/plugins/git-time-capsule.js.map +0 -1
- package/packages/core/dist/plugins/graph-memory.d.ts +0 -16
- package/packages/core/dist/plugins/graph-memory.d.ts.map +0 -1
- package/packages/core/dist/plugins/graph-memory.js +0 -669
- package/packages/core/dist/plugins/graph-memory.js.map +0 -1
- package/packages/core/dist/plugins/history-compressor.d.ts +0 -15
- package/packages/core/dist/plugins/history-compressor.d.ts.map +0 -1
- package/packages/core/dist/plugins/history-compressor.js +0 -99
- package/packages/core/dist/plugins/history-compressor.js.map +0 -1
- package/packages/core/dist/plugins/hol-guard.d.ts +0 -29
- package/packages/core/dist/plugins/hol-guard.d.ts.map +0 -1
- package/packages/core/dist/plugins/hol-guard.js +0 -159
- package/packages/core/dist/plugins/hol-guard.js.map +0 -1
- package/packages/core/dist/plugins/i18n-pair.d.ts +0 -12
- package/packages/core/dist/plugins/i18n-pair.d.ts.map +0 -1
- package/packages/core/dist/plugins/i18n-pair.js +0 -332
- package/packages/core/dist/plugins/i18n-pair.js.map +0 -1
- package/packages/core/dist/plugins/image-compressor.d.ts +0 -15
- package/packages/core/dist/plugins/image-compressor.d.ts.map +0 -1
- package/packages/core/dist/plugins/image-compressor.js +0 -223
- package/packages/core/dist/plugins/image-compressor.js.map +0 -1
- package/packages/core/dist/plugins/llm-verifier.d.ts +0 -42
- package/packages/core/dist/plugins/llm-verifier.d.ts.map +0 -1
- package/packages/core/dist/plugins/llm-verifier.js +0 -138
- package/packages/core/dist/plugins/llm-verifier.js.map +0 -1
- package/packages/core/dist/plugins/mcp-client.d.ts +0 -19
- package/packages/core/dist/plugins/mcp-client.d.ts.map +0 -1
- package/packages/core/dist/plugins/mcp-client.js +0 -1288
- package/packages/core/dist/plugins/mcp-client.js.map +0 -1
- package/packages/core/dist/plugins/mcp-panel.d.ts +0 -14
- package/packages/core/dist/plugins/mcp-panel.d.ts.map +0 -1
- package/packages/core/dist/plugins/mcp-panel.js +0 -194
- package/packages/core/dist/plugins/mcp-panel.js.map +0 -1
- package/packages/core/dist/plugins/memory.d.ts +0 -15
- package/packages/core/dist/plugins/memory.d.ts.map +0 -1
- package/packages/core/dist/plugins/memory.js +0 -394
- package/packages/core/dist/plugins/memory.js.map +0 -1
- package/packages/core/dist/plugins/mirage-bridge.d.ts +0 -23
- package/packages/core/dist/plugins/mirage-bridge.d.ts.map +0 -1
- package/packages/core/dist/plugins/mirage-bridge.js +0 -159
- package/packages/core/dist/plugins/mirage-bridge.js.map +0 -1
- package/packages/core/dist/plugins/mock-server.d.ts +0 -22
- package/packages/core/dist/plugins/mock-server.d.ts.map +0 -1
- package/packages/core/dist/plugins/mock-server.js +0 -180
- package/packages/core/dist/plugins/mock-server.js.map +0 -1
- package/packages/core/dist/plugins/model.d.ts +0 -11
- package/packages/core/dist/plugins/model.d.ts.map +0 -1
- package/packages/core/dist/plugins/model.js +0 -17
- package/packages/core/dist/plugins/model.js.map +0 -1
- package/packages/core/dist/plugins/models.d.ts +0 -16
- package/packages/core/dist/plugins/models.d.ts.map +0 -1
- package/packages/core/dist/plugins/models.js +0 -35
- package/packages/core/dist/plugins/models.js.map +0 -1
- package/packages/core/dist/plugins/modlens.d.ts +0 -15
- package/packages/core/dist/plugins/modlens.d.ts.map +0 -1
- package/packages/core/dist/plugins/modlens.js +0 -470
- package/packages/core/dist/plugins/modlens.js.map +0 -1
- package/packages/core/dist/plugins/module-search.d.ts +0 -28
- package/packages/core/dist/plugins/module-search.d.ts.map +0 -1
- package/packages/core/dist/plugins/module-search.js +0 -193
- package/packages/core/dist/plugins/module-search.js.map +0 -1
- package/packages/core/dist/plugins/obsidian-sync.d.ts +0 -14
- package/packages/core/dist/plugins/obsidian-sync.d.ts.map +0 -1
- package/packages/core/dist/plugins/obsidian-sync.js +0 -88
- package/packages/core/dist/plugins/obsidian-sync.js.map +0 -1
- package/packages/core/dist/plugins/openpets.d.ts +0 -14
- package/packages/core/dist/plugins/openpets.d.ts.map +0 -1
- package/packages/core/dist/plugins/openpets.js +0 -258
- package/packages/core/dist/plugins/openpets.js.map +0 -1
- package/packages/core/dist/plugins/plan-execute.d.ts +0 -11
- package/packages/core/dist/plugins/plan-execute.d.ts.map +0 -1
- package/packages/core/dist/plugins/plan-execute.js +0 -91
- package/packages/core/dist/plugins/plan-execute.js.map +0 -1
- package/packages/core/dist/plugins/plugin-check.d.ts +0 -47
- package/packages/core/dist/plugins/plugin-check.d.ts.map +0 -1
- package/packages/core/dist/plugins/plugin-check.js +0 -298
- package/packages/core/dist/plugins/plugin-check.js.map +0 -1
- package/packages/core/dist/plugins/plugin-dev.d.ts +0 -9
- package/packages/core/dist/plugins/plugin-dev.d.ts.map +0 -1
- package/packages/core/dist/plugins/plugin-dev.js +0 -177
- package/packages/core/dist/plugins/plugin-dev.js.map +0 -1
- package/packages/core/dist/plugins/plugin-finder.d.ts +0 -17
- package/packages/core/dist/plugins/plugin-finder.d.ts.map +0 -1
- package/packages/core/dist/plugins/plugin-finder.js +0 -216
- package/packages/core/dist/plugins/plugin-finder.js.map +0 -1
- package/packages/core/dist/plugins/plugin-radar.d.ts +0 -33
- package/packages/core/dist/plugins/plugin-radar.d.ts.map +0 -1
- package/packages/core/dist/plugins/plugin-radar.js +0 -247
- package/packages/core/dist/plugins/plugin-radar.js.map +0 -1
- package/packages/core/dist/plugins/plugin-stars.d.ts +0 -45
- package/packages/core/dist/plugins/plugin-stars.d.ts.map +0 -1
- package/packages/core/dist/plugins/plugin-stars.js +0 -366
- package/packages/core/dist/plugins/plugin-stars.js.map +0 -1
- package/packages/core/dist/plugins/prompt-guard.d.ts +0 -9
- package/packages/core/dist/plugins/prompt-guard.d.ts.map +0 -1
- package/packages/core/dist/plugins/prompt-guard.js +0 -165
- package/packages/core/dist/plugins/prompt-guard.js.map +0 -1
- package/packages/core/dist/plugins/prompt-library.d.ts +0 -26
- package/packages/core/dist/plugins/prompt-library.d.ts.map +0 -1
- package/packages/core/dist/plugins/prompt-library.js +0 -145
- package/packages/core/dist/plugins/prompt-library.js.map +0 -1
- package/packages/core/dist/plugins/readme-gen.d.ts +0 -29
- package/packages/core/dist/plugins/readme-gen.d.ts.map +0 -1
- package/packages/core/dist/plugins/readme-gen.js +0 -580
- package/packages/core/dist/plugins/readme-gen.js.map +0 -1
- package/packages/core/dist/plugins/recall-unread.d.ts +0 -24
- package/packages/core/dist/plugins/recall-unread.d.ts.map +0 -1
- package/packages/core/dist/plugins/recall-unread.js +0 -467
- package/packages/core/dist/plugins/recall-unread.js.map +0 -1
- package/packages/core/dist/plugins/resources.d.ts +0 -19
- package/packages/core/dist/plugins/resources.d.ts.map +0 -1
- package/packages/core/dist/plugins/resources.js +0 -126
- package/packages/core/dist/plugins/resources.js.map +0 -1
- package/packages/core/dist/plugins/reverse-skill.d.ts +0 -23
- package/packages/core/dist/plugins/reverse-skill.d.ts.map +0 -1
- package/packages/core/dist/plugins/reverse-skill.js +0 -61
- package/packages/core/dist/plugins/reverse-skill.js.map +0 -1
- package/packages/core/dist/plugins/reviewer-bot.d.ts +0 -15
- package/packages/core/dist/plugins/reviewer-bot.d.ts.map +0 -1
- package/packages/core/dist/plugins/reviewer-bot.js +0 -152
- package/packages/core/dist/plugins/reviewer-bot.js.map +0 -1
- package/packages/core/dist/plugins/runtime-doctor.d.ts +0 -34
- package/packages/core/dist/plugins/runtime-doctor.d.ts.map +0 -1
- package/packages/core/dist/plugins/runtime-doctor.js +0 -117
- package/packages/core/dist/plugins/runtime-doctor.js.map +0 -1
- package/packages/core/dist/plugins/runtime.d.ts +0 -14
- package/packages/core/dist/plugins/runtime.d.ts.map +0 -1
- package/packages/core/dist/plugins/runtime.js +0 -159
- package/packages/core/dist/plugins/runtime.js.map +0 -1
- package/packages/core/dist/plugins/secure-audit.d.ts +0 -32
- package/packages/core/dist/plugins/secure-audit.d.ts.map +0 -1
- package/packages/core/dist/plugins/secure-audit.js +0 -139
- package/packages/core/dist/plugins/secure-audit.js.map +0 -1
- package/packages/core/dist/plugins/session-bookmarks.d.ts +0 -16
- package/packages/core/dist/plugins/session-bookmarks.d.ts.map +0 -1
- package/packages/core/dist/plugins/session-bookmarks.js +0 -90
- package/packages/core/dist/plugins/session-bookmarks.js.map +0 -1
- package/packages/core/dist/plugins/session-bridge.d.ts +0 -45
- package/packages/core/dist/plugins/session-bridge.d.ts.map +0 -1
- package/packages/core/dist/plugins/session-bridge.js +0 -578
- package/packages/core/dist/plugins/session-bridge.js.map +0 -1
- package/packages/core/dist/plugins/session-compare.d.ts +0 -34
- package/packages/core/dist/plugins/session-compare.d.ts.map +0 -1
- package/packages/core/dist/plugins/session-compare.js +0 -153
- package/packages/core/dist/plugins/session-compare.js.map +0 -1
- package/packages/core/dist/plugins/session-export.d.ts +0 -10
- package/packages/core/dist/plugins/session-export.d.ts.map +0 -1
- package/packages/core/dist/plugins/session-export.js +0 -93
- package/packages/core/dist/plugins/session-export.js.map +0 -1
- package/packages/core/dist/plugins/session-insights.d.ts +0 -44
- package/packages/core/dist/plugins/session-insights.d.ts.map +0 -1
- package/packages/core/dist/plugins/session-insights.js +0 -432
- package/packages/core/dist/plugins/session-insights.js.map +0 -1
- package/packages/core/dist/plugins/session-search.d.ts +0 -21
- package/packages/core/dist/plugins/session-search.d.ts.map +0 -1
- package/packages/core/dist/plugins/session-search.js +0 -125
- package/packages/core/dist/plugins/session-search.js.map +0 -1
- package/packages/core/dist/plugins/session.d.ts +0 -15
- package/packages/core/dist/plugins/session.d.ts.map +0 -1
- package/packages/core/dist/plugins/session.js +0 -29
- package/packages/core/dist/plugins/session.js.map +0 -1
- package/packages/core/dist/plugins/skill-catalog.d.ts +0 -27
- package/packages/core/dist/plugins/skill-catalog.d.ts.map +0 -1
- package/packages/core/dist/plugins/skill-catalog.js +0 -98
- package/packages/core/dist/plugins/skill-catalog.js.map +0 -1
- package/packages/core/dist/plugins/skill-guard.d.ts +0 -27
- package/packages/core/dist/plugins/skill-guard.d.ts.map +0 -1
- package/packages/core/dist/plugins/skill-guard.js +0 -319
- package/packages/core/dist/plugins/skill-guard.js.map +0 -1
- package/packages/core/dist/plugins/sql-lens-worker.d.ts +0 -2
- package/packages/core/dist/plugins/sql-lens-worker.d.ts.map +0 -1
- package/packages/core/dist/plugins/sql-lens-worker.js +0 -206
- package/packages/core/dist/plugins/sql-lens-worker.js.map +0 -1
- package/packages/core/dist/plugins/sql-lens.d.ts +0 -14
- package/packages/core/dist/plugins/sql-lens.d.ts.map +0 -1
- package/packages/core/dist/plugins/sql-lens.js +0 -318
- package/packages/core/dist/plugins/sql-lens.js.map +0 -1
- package/packages/core/dist/plugins/stdio.d.ts +0 -11
- package/packages/core/dist/plugins/stdio.d.ts.map +0 -1
- package/packages/core/dist/plugins/stdio.js +0 -80
- package/packages/core/dist/plugins/stdio.js.map +0 -1
- package/packages/core/dist/plugins/synapse.d.ts +0 -38
- package/packages/core/dist/plugins/synapse.d.ts.map +0 -1
- package/packages/core/dist/plugins/synapse.js +0 -101
- package/packages/core/dist/plugins/synapse.js.map +0 -1
- package/packages/core/dist/plugins/tab-manager.d.ts +0 -9
- package/packages/core/dist/plugins/tab-manager.d.ts.map +0 -1
- package/packages/core/dist/plugins/tab-manager.js +0 -240
- package/packages/core/dist/plugins/tab-manager.js.map +0 -1
- package/packages/core/dist/plugins/taskboard.d.ts +0 -15
- package/packages/core/dist/plugins/taskboard.d.ts.map +0 -1
- package/packages/core/dist/plugins/taskboard.js +0 -375
- package/packages/core/dist/plugins/taskboard.js.map +0 -1
- package/packages/core/dist/plugins/telemetry-blocker.d.ts +0 -11
- package/packages/core/dist/plugins/telemetry-blocker.d.ts.map +0 -1
- package/packages/core/dist/plugins/telemetry-blocker.js +0 -76
- package/packages/core/dist/plugins/telemetry-blocker.js.map +0 -1
- package/packages/core/dist/plugins/test-harness.d.ts +0 -14
- package/packages/core/dist/plugins/test-harness.d.ts.map +0 -1
- package/packages/core/dist/plugins/test-harness.js +0 -276
- package/packages/core/dist/plugins/test-harness.js.map +0 -1
- package/packages/core/dist/plugins/theme-studio.d.ts +0 -29
- package/packages/core/dist/plugins/theme-studio.d.ts.map +0 -1
- package/packages/core/dist/plugins/theme-studio.js +0 -143
- package/packages/core/dist/plugins/theme-studio.js.map +0 -1
- package/packages/core/dist/plugins/token-guard.d.ts +0 -15
- package/packages/core/dist/plugins/token-guard.d.ts.map +0 -1
- package/packages/core/dist/plugins/token-guard.js +0 -210
- package/packages/core/dist/plugins/token-guard.js.map +0 -1
- package/packages/core/dist/plugins/tools.d.ts +0 -13
- package/packages/core/dist/plugins/tools.d.ts.map +0 -1
- package/packages/core/dist/plugins/tools.js +0 -23
- package/packages/core/dist/plugins/tools.js.map +0 -1
- package/packages/core/dist/plugins/turn-rewind.d.ts +0 -36
- package/packages/core/dist/plugins/turn-rewind.d.ts.map +0 -1
- package/packages/core/dist/plugins/turn-rewind.js +0 -378
- package/packages/core/dist/plugins/turn-rewind.js.map +0 -1
- package/packages/core/dist/plugins/undo-savepoint.d.ts +0 -17
- package/packages/core/dist/plugins/undo-savepoint.d.ts.map +0 -1
- package/packages/core/dist/plugins/undo-savepoint.js +0 -353
- package/packages/core/dist/plugins/undo-savepoint.js.map +0 -1
- package/packages/core/dist/plugins/vision-toolkit.d.ts +0 -36
- package/packages/core/dist/plugins/vision-toolkit.d.ts.map +0 -1
- package/packages/core/dist/plugins/vision-toolkit.js +0 -468
- package/packages/core/dist/plugins/vision-toolkit.js.map +0 -1
- package/packages/core/dist/plugins/web-research.d.ts +0 -17
- package/packages/core/dist/plugins/web-research.d.ts.map +0 -1
- package/packages/core/dist/plugins/web-research.js +0 -284
- package/packages/core/dist/plugins/web-research.js.map +0 -1
- package/packages/core/dist/plugins/workspace-navigator.d.ts +0 -42
- package/packages/core/dist/plugins/workspace-navigator.d.ts.map +0 -1
- package/packages/core/dist/plugins/workspace-navigator.js +0 -168
- package/packages/core/dist/plugins/workspace-navigator.js.map +0 -1
- package/packages/core/dist/plugins/workspace-search.d.ts +0 -15
- package/packages/core/dist/plugins/workspace-search.d.ts.map +0 -1
- package/packages/core/dist/plugins/workspace-search.js +0 -167
- package/packages/core/dist/plugins/workspace-search.js.map +0 -1
- package/packages/core/dist/plugins/yaml-validator.d.ts +0 -9
- package/packages/core/dist/plugins/yaml-validator.d.ts.map +0 -1
- package/packages/core/dist/plugins/yaml-validator.js +0 -203
- package/packages/core/dist/plugins/yaml-validator.js.map +0 -1
- package/packages/core/dist/profile.d.ts +0 -9
- package/packages/core/dist/profile.d.ts.map +0 -1
- package/packages/core/dist/profile.js +0 -33
- package/packages/core/dist/profile.js.map +0 -1
- package/packages/core/dist/runtime.d.ts +0 -16
- package/packages/core/dist/runtime.d.ts.map +0 -1
- package/packages/core/dist/runtime.js +0 -47
- package/packages/core/dist/runtime.js.map +0 -1
- package/packages/core/dist/services.d.ts +0 -118
- package/packages/core/dist/services.d.ts.map +0 -1
- package/packages/core/dist/services.js +0 -115
- package/packages/core/dist/services.js.map +0 -1
- package/packages/core/dist/stdio.d.ts +0 -37
- package/packages/core/dist/stdio.d.ts.map +0 -1
- package/packages/core/dist/stdio.js +0 -356
- package/packages/core/dist/stdio.js.map +0 -1
- package/packages/core/dist/workspace-path.d.ts +0 -13
- package/packages/core/dist/workspace-path.d.ts.map +0 -1
- package/packages/core/dist/workspace-path.js +0 -71
- package/packages/core/dist/workspace-path.js.map +0 -1
- package/packages/core/package.json +0 -42
- package/packages/core/profiles/default/cordis.yml +0 -122
- package/packages/core/profiles/development/cordis.yml +0 -47
- package/packages/core/src/atomic-write.ts +0 -45
- package/packages/core/src/boot.ts +0 -255
- package/packages/core/src/bounded-file.ts +0 -41
- package/packages/core/src/config.ts +0 -24
- package/packages/core/src/context.ts +0 -3
- package/packages/core/src/cordis-timer.ts +0 -107
- package/packages/core/src/http.ts +0 -32
- package/packages/core/src/index.ts +0 -8
- package/packages/core/src/plugins/agent-teams.ts +0 -1191
- package/packages/core/src/plugins/anchored-standard.ts +0 -115
- package/packages/core/src/plugins/annotation.ts +0 -123
- package/packages/core/src/plugins/archify.ts +0 -171
- package/packages/core/src/plugins/at-file.ts +0 -138
- package/packages/core/src/plugins/auto-mode.ts +0 -190
- package/packages/core/src/plugins/better-sidebar.ts +0 -128
- package/packages/core/src/plugins/browser-fetch.ts +0 -362
- package/packages/core/src/plugins/browser-session.ts +0 -606
- package/packages/core/src/plugins/canvas-draw.ts +0 -143
- package/packages/core/src/plugins/change-verifier.ts +0 -103
- package/packages/core/src/plugins/cleaner.ts +0 -363
- package/packages/core/src/plugins/cli-notifier.ts +0 -194
- package/packages/core/src/plugins/code2skill.ts +0 -237
- package/packages/core/src/plugins/colleague-skill.ts +0 -147
- package/packages/core/src/plugins/context-doctor.ts +0 -487
- package/packages/core/src/plugins/context.ts +0 -227
- package/packages/core/src/plugins/cost-meter.ts +0 -478
- package/packages/core/src/plugins/dependency-checker.ts +0 -578
- package/packages/core/src/plugins/docker-sandbox.ts +0 -336
- package/packages/core/src/plugins/fail-logger.ts +0 -202
- package/packages/core/src/plugins/genui.ts +0 -150
- package/packages/core/src/plugins/git-time-capsule.ts +0 -466
- package/packages/core/src/plugins/graph-memory.ts +0 -667
- package/packages/core/src/plugins/history-compressor.ts +0 -98
- package/packages/core/src/plugins/hol-guard.ts +0 -171
- package/packages/core/src/plugins/i18n-pair.ts +0 -326
- package/packages/core/src/plugins/image-compressor.ts +0 -217
- package/packages/core/src/plugins/llm-verifier.ts +0 -182
- package/packages/core/src/plugins/mcp-client.ts +0 -1379
- package/packages/core/src/plugins/mcp-panel.ts +0 -206
- package/packages/core/src/plugins/memory.ts +0 -381
- package/packages/core/src/plugins/mirage-bridge.ts +0 -191
- package/packages/core/src/plugins/mock-server.ts +0 -189
- package/packages/core/src/plugins/model.ts +0 -18
- package/packages/core/src/plugins/models.ts +0 -43
- package/packages/core/src/plugins/modlens.ts +0 -497
- package/packages/core/src/plugins/module-search.ts +0 -222
- package/packages/core/src/plugins/obsidian-sync.ts +0 -94
- package/packages/core/src/plugins/openpets.ts +0 -260
- package/packages/core/src/plugins/plan-execute.ts +0 -104
- package/packages/core/src/plugins/plugin-check.ts +0 -316
- package/packages/core/src/plugins/plugin-dev.ts +0 -191
- package/packages/core/src/plugins/plugin-finder.ts +0 -215
- package/packages/core/src/plugins/plugin-radar.ts +0 -270
- package/packages/core/src/plugins/plugin-stars.ts +0 -377
- package/packages/core/src/plugins/prompt-guard.ts +0 -161
- package/packages/core/src/plugins/prompt-library.ts +0 -171
- package/packages/core/src/plugins/readme-gen.ts +0 -544
- package/packages/core/src/plugins/recall-unread.ts +0 -486
- package/packages/core/src/plugins/resources.ts +0 -146
- package/packages/core/src/plugins/reverse-skill.ts +0 -83
- package/packages/core/src/plugins/reviewer-bot.ts +0 -164
- package/packages/core/src/plugins/runtime-doctor.ts +0 -140
- package/packages/core/src/plugins/runtime.ts +0 -171
- package/packages/core/src/plugins/secure-audit.ts +0 -167
- package/packages/core/src/plugins/session-bookmarks.ts +0 -95
- package/packages/core/src/plugins/session-bridge.ts +0 -614
- package/packages/core/src/plugins/session-compare.ts +0 -186
- package/packages/core/src/plugins/session-export.ts +0 -102
- package/packages/core/src/plugins/session-insights.ts +0 -470
- package/packages/core/src/plugins/session-search.ts +0 -129
- package/packages/core/src/plugins/session.ts +0 -40
- package/packages/core/src/plugins/skill-catalog.ts +0 -122
- package/packages/core/src/plugins/skill-guard.ts +0 -345
- package/packages/core/src/plugins/sql-lens-worker.ts +0 -202
- package/packages/core/src/plugins/sql-lens.ts +0 -344
- package/packages/core/src/plugins/stdio.ts +0 -77
- package/packages/core/src/plugins/synapse.ts +0 -137
- package/packages/core/src/plugins/tab-manager.ts +0 -233
- package/packages/core/src/plugins/taskboard.ts +0 -446
- package/packages/core/src/plugins/telemetry-blocker.ts +0 -78
- package/packages/core/src/plugins/test-harness.ts +0 -300
- package/packages/core/src/plugins/theme-studio.ts +0 -170
- package/packages/core/src/plugins/token-guard.ts +0 -224
- package/packages/core/src/plugins/tools.ts +0 -29
- package/packages/core/src/plugins/turn-rewind.ts +0 -400
- package/packages/core/src/plugins/undo-savepoint.ts +0 -385
- package/packages/core/src/plugins/vision-toolkit.ts +0 -510
- package/packages/core/src/plugins/web-research.ts +0 -301
- package/packages/core/src/plugins/workspace-navigator.ts +0 -189
- package/packages/core/src/plugins/workspace-search.ts +0 -177
- package/packages/core/src/plugins/yaml-validator.ts +0 -216
- package/packages/core/src/profile.ts +0 -37
- package/packages/core/src/runtime.ts +0 -52
- package/packages/core/src/services.ts +0 -232
- package/packages/core/src/stdio.ts +0 -355
- package/packages/core/src/workspace-path.ts +0 -79
- package/packages/core/test/agent-teams.test.ts +0 -517
- package/packages/core/test/anchored-standard.test.ts +0 -60
- package/packages/core/test/annotation.test.ts +0 -69
- package/packages/core/test/archify.test.ts +0 -244
- package/packages/core/test/at-file.test.ts +0 -666
- package/packages/core/test/atomic-write.test.ts +0 -52
- package/packages/core/test/auto-mode.test.ts +0 -629
- package/packages/core/test/better-sidebar.test.ts +0 -232
- package/packages/core/test/boot.test.ts +0 -265
- package/packages/core/test/bounded-file.test.ts +0 -55
- package/packages/core/test/browser-fetch-rebinding.test.ts +0 -93
- package/packages/core/test/browser-fetch.test.ts +0 -844
- package/packages/core/test/browser-session.test.ts +0 -1236
- package/packages/core/test/canvas-draw.test.ts +0 -164
- package/packages/core/test/change-verifier.test.ts +0 -200
- package/packages/core/test/cleaner.test.ts +0 -316
- package/packages/core/test/cli-notifier.test.ts +0 -235
- package/packages/core/test/code2skill.test.ts +0 -264
- package/packages/core/test/colleague-skill.test.ts +0 -241
- package/packages/core/test/config.test.ts +0 -147
- package/packages/core/test/context-doctor.test.ts +0 -627
- package/packages/core/test/context-insights.test.ts +0 -396
- package/packages/core/test/cordis-timer.test.ts +0 -147
- package/packages/core/test/cost-meter.test.ts +0 -362
- package/packages/core/test/dependency-checker.test.ts +0 -633
- package/packages/core/test/docker-sandbox.test.ts +0 -170
- package/packages/core/test/fail-logger.test.ts +0 -363
- package/packages/core/test/genui.test.ts +0 -162
- package/packages/core/test/git-time-capsule.test.ts +0 -1476
- package/packages/core/test/graph-memory.test.ts +0 -508
- package/packages/core/test/history-compressor.test.ts +0 -47
- package/packages/core/test/hol-guard.test.ts +0 -61
- package/packages/core/test/http.test.ts +0 -36
- package/packages/core/test/i18n-pair.test.ts +0 -367
- package/packages/core/test/image-compressor.test.ts +0 -59
- package/packages/core/test/llm-verifier.test.ts +0 -76
- package/packages/core/test/mcp-client.test.ts +0 -1037
- package/packages/core/test/mcp-panel.test.ts +0 -91
- package/packages/core/test/memory.test.ts +0 -125
- package/packages/core/test/mirage-bridge.test.ts +0 -58
- package/packages/core/test/mock-server.test.ts +0 -63
- package/packages/core/test/model.test.ts +0 -62
- package/packages/core/test/models.test.ts +0 -85
- package/packages/core/test/modlens.test.ts +0 -615
- package/packages/core/test/module-search.test.ts +0 -98
- package/packages/core/test/obsidian-sync.test.ts +0 -57
- package/packages/core/test/openpets.test.ts +0 -273
- package/packages/core/test/plan-execute.test.ts +0 -86
- package/packages/core/test/plugin-check.test.ts +0 -16
- package/packages/core/test/plugin-dev.test.ts +0 -246
- package/packages/core/test/plugin-finder.test.ts +0 -105
- package/packages/core/test/plugin-radar.test.ts +0 -87
- package/packages/core/test/plugin-stars.test.ts +0 -480
- package/packages/core/test/profile.test.ts +0 -39
- package/packages/core/test/profiles.integration.test.ts +0 -576
- package/packages/core/test/prompt-guard.test.ts +0 -78
- package/packages/core/test/prompt-library.test.ts +0 -56
- package/packages/core/test/readme-gen.test.ts +0 -445
- package/packages/core/test/recall-unread.test.ts +0 -592
- package/packages/core/test/registry.test.ts +0 -64
- package/packages/core/test/resources.test.ts +0 -310
- package/packages/core/test/reverse-skill.test.ts +0 -40
- package/packages/core/test/reviewer-bot.test.ts +0 -55
- package/packages/core/test/runtime-doctor.test.ts +0 -55
- package/packages/core/test/runtime-fixture.ts +0 -55
- package/packages/core/test/runtime.test.ts +0 -313
- package/packages/core/test/secure-audit.test.ts +0 -29
- package/packages/core/test/services.test.ts +0 -4805
- package/packages/core/test/session-bookmarks.test.ts +0 -62
- package/packages/core/test/session-bridge.test.ts +0 -411
- package/packages/core/test/session-compare.test.ts +0 -94
- package/packages/core/test/session-export.test.ts +0 -54
- package/packages/core/test/session-insights.test.ts +0 -486
- package/packages/core/test/session-search.test.ts +0 -30
- package/packages/core/test/session.test.ts +0 -153
- package/packages/core/test/skill-catalog.test.ts +0 -18
- package/packages/core/test/skill-guard.test.ts +0 -280
- package/packages/core/test/sql-lens.test.ts +0 -244
- package/packages/core/test/stdio-args.test.ts +0 -661
- package/packages/core/test/stdio.test.ts +0 -246
- package/packages/core/test/synapse.test.ts +0 -67
- package/packages/core/test/tab-manager.test.ts +0 -58
- package/packages/core/test/taskboard.test.ts +0 -73
- package/packages/core/test/telemetry-blocker.test.ts +0 -61
- package/packages/core/test/test-harness.test.ts +0 -297
- package/packages/core/test/theme-studio.test.ts +0 -39
- package/packages/core/test/token-guard.test.ts +0 -395
- package/packages/core/test/tools.test.ts +0 -118
- package/packages/core/test/turn-rewind.test.ts +0 -549
- package/packages/core/test/undo-savepoint.test.ts +0 -222
- package/packages/core/test/vision-toolkit.test.ts +0 -511
- package/packages/core/test/web-research.test.ts +0 -63
- package/packages/core/test/workspace-git-status.test.ts +0 -54
- package/packages/core/test/workspace-navigator.test.ts +0 -43
- package/packages/core/test/workspace-path.test.ts +0 -34
- package/packages/core/test/workspace-search.test.ts +0 -88
- package/packages/core/test/yaml-validator.test.ts +0 -195
- package/packages/core/tsconfig.build.json +0 -8
- package/packages/core/tsconfig.json +0 -7
|
@@ -1,667 +0,0 @@
|
|
|
1
|
-
import { randomUUID } from "node:crypto";
|
|
2
|
-
import { lstat, mkdir, opendir, rmdir, unlink, writeFile } from "node:fs/promises";
|
|
3
|
-
import { basename, dirname, resolve } from "node:path";
|
|
4
|
-
import type { Context } from "@deepseek-ai/cordis";
|
|
5
|
-
import z from "@deepseek-ai/schemastery";
|
|
6
|
-
import { Type } from "@earendil-works/pi-ai";
|
|
7
|
-
import { defineTool, type AgentToolResult } from "@earendil-works/pi-coding-agent";
|
|
8
|
-
import { atomicWriteFile } from "../atomic-write.js";
|
|
9
|
-
import { readBoundedFile, readBoundedTextFile } from "../bounded-file.js";
|
|
10
|
-
|
|
11
|
-
const defaultFileName = "graph-memory.json";
|
|
12
|
-
const absoluteNodeLimit = 2_000;
|
|
13
|
-
const absoluteRelationLimit = 5_000;
|
|
14
|
-
const maxLabelLength = 160;
|
|
15
|
-
const maxSummaryBytes = 16 * 1024;
|
|
16
|
-
const maxSourceLength = 512;
|
|
17
|
-
const maxQueryLength = 160;
|
|
18
|
-
const maxFileBytes = 4 * 1024 * 1024;
|
|
19
|
-
const maxSearchResults = 50;
|
|
20
|
-
const lockRetryMs = 25;
|
|
21
|
-
const lockTimeoutMs = 10_000;
|
|
22
|
-
const staleLockMs = 30_000;
|
|
23
|
-
const maxLockOwnerBytes = 1024;
|
|
24
|
-
const nodeFields = new Set(["id", "kind", "label", "summary", "source", "createdAt", "updatedAt"]);
|
|
25
|
-
const relationFields = new Set(["id", "from", "to", "relation", "createdAt"]);
|
|
26
|
-
|
|
27
|
-
type NodeKind = "task" | "skill" | "event";
|
|
28
|
-
type RelationKind = "USED_SKILL" | "SOLVED_BY" | "REQUIRES" | "PATCHES" | "CONFLICTS_WITH" | "RELATED_TO";
|
|
29
|
-
type GraphNode = { id: string; kind: NodeKind; label: string; summary: string; source?: string; createdAt: string; updatedAt: string };
|
|
30
|
-
type GraphRelation = { id: string; from: string; to: string; relation: RelationKind; createdAt: string };
|
|
31
|
-
type GraphFile = { version: 1; nodes: GraphNode[]; relations: GraphRelation[] };
|
|
32
|
-
type GraphSearchReport = { query: string; total: number; nodes: GraphNode[]; relations: GraphRelation[] };
|
|
33
|
-
type GraphState = Pick<GraphFile, "nodes" | "relations">;
|
|
34
|
-
type RecordParameters = { kind: NodeKind; label: string; summary: string; source?: string };
|
|
35
|
-
type LinkParameters = { from: string; to: string; relation: RelationKind };
|
|
36
|
-
type SearchParameters = { query: string; kind?: NodeKind; limit?: number };
|
|
37
|
-
type ForgetParameters = { id: string; confirm: boolean };
|
|
38
|
-
|
|
39
|
-
function cloneNode(node: GraphNode): GraphNode {
|
|
40
|
-
return { ...node };
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
function cloneRelation(relation: GraphRelation): GraphRelation {
|
|
44
|
-
return { ...relation };
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
function cloneSearchReport(report: GraphSearchReport): GraphSearchReport {
|
|
48
|
-
return { ...report, nodes: report.nodes.map(cloneNode), relations: report.relations.map(cloneRelation) };
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
function throwIfAborted(signal: AbortSignal): void {
|
|
52
|
-
if (!signal.aborted) return;
|
|
53
|
-
throw signal.reason instanceof Error ? signal.reason : new Error("Graph memory operation was cancelled", { cause: signal.reason });
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
function rejectionError(error: unknown, message: string): Error {
|
|
57
|
-
return error instanceof Error ? error : new Error(message, { cause: error });
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
function withCancellation<T>(operation: Promise<T>, signal: AbortSignal): Promise<T> {
|
|
61
|
-
try {
|
|
62
|
-
throwIfAborted(signal);
|
|
63
|
-
} catch (error) {
|
|
64
|
-
return Promise.reject(rejectionError(error, "Graph memory operation was cancelled"));
|
|
65
|
-
}
|
|
66
|
-
return new Promise<T>((resolve, reject) => {
|
|
67
|
-
const onAbort = () => {
|
|
68
|
-
signal.removeEventListener("abort", onAbort);
|
|
69
|
-
try {
|
|
70
|
-
throwIfAborted(signal);
|
|
71
|
-
} catch (error) {
|
|
72
|
-
reject(rejectionError(error, "Graph memory operation was cancelled"));
|
|
73
|
-
}
|
|
74
|
-
};
|
|
75
|
-
signal.addEventListener("abort", onAbort, { once: true });
|
|
76
|
-
void operation.then(
|
|
77
|
-
(value) => {
|
|
78
|
-
signal.removeEventListener("abort", onAbort);
|
|
79
|
-
resolve(value);
|
|
80
|
-
},
|
|
81
|
-
(error: unknown) => {
|
|
82
|
-
signal.removeEventListener("abort", onAbort);
|
|
83
|
-
reject(rejectionError(error, "Graph memory operation failed"));
|
|
84
|
-
},
|
|
85
|
-
);
|
|
86
|
-
});
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
async function waitForLockRetry(signal: AbortSignal): Promise<void> {
|
|
90
|
-
throwIfAborted(signal);
|
|
91
|
-
await new Promise<void>((resolve, reject) => {
|
|
92
|
-
const timer = setTimeout(() => {
|
|
93
|
-
signal.removeEventListener("abort", onAbort);
|
|
94
|
-
resolve();
|
|
95
|
-
}, lockRetryMs);
|
|
96
|
-
const onAbort = () => {
|
|
97
|
-
clearTimeout(timer);
|
|
98
|
-
signal.removeEventListener("abort", onAbort);
|
|
99
|
-
try {
|
|
100
|
-
throwIfAborted(signal);
|
|
101
|
-
} catch (error) {
|
|
102
|
-
reject(error instanceof Error ? error : new Error("Graph memory operation was cancelled", { cause: error }));
|
|
103
|
-
}
|
|
104
|
-
};
|
|
105
|
-
signal.addEventListener("abort", onAbort, { once: true });
|
|
106
|
-
});
|
|
107
|
-
}
|
|
108
|
-
|
|
109
|
-
export interface GraphMemoryPluginConfig {
|
|
110
|
-
fileName?: string;
|
|
111
|
-
maxNodes?: number;
|
|
112
|
-
maxRelations?: number;
|
|
113
|
-
}
|
|
114
|
-
|
|
115
|
-
export const Config: z<GraphMemoryPluginConfig> = z.object({
|
|
116
|
-
fileName: z.string().default(defaultFileName),
|
|
117
|
-
maxNodes: z.number().default(absoluteNodeLimit),
|
|
118
|
-
maxRelations: z.number().default(absoluteRelationLimit),
|
|
119
|
-
});
|
|
120
|
-
|
|
121
|
-
function boundedInteger(value: number | undefined, fallback: number, maximum: number): number {
|
|
122
|
-
return typeof value === "number" && Number.isFinite(value) ? Math.max(1, Math.min(maximum, Math.trunc(value))) : fallback;
|
|
123
|
-
}
|
|
124
|
-
|
|
125
|
-
function dataDescriptors(value: unknown, field: string, allowed: ReadonlySet<string>): Record<PropertyKey, PropertyDescriptor> {
|
|
126
|
-
if (value === null || typeof value !== "object" || Array.isArray(value)) throw new Error(`${field} must be an object`);
|
|
127
|
-
const descriptors = Object.getOwnPropertyDescriptors(value);
|
|
128
|
-
if (Reflect.ownKeys(descriptors).some((key) => typeof key !== "string" || !allowed.has(key))) throw new Error(`${field} contains an unknown property`);
|
|
129
|
-
if (Object.values(descriptors).some((descriptor) => !("value" in descriptor))) throw new Error(`${field} must use data properties`);
|
|
130
|
-
return descriptors;
|
|
131
|
-
}
|
|
132
|
-
|
|
133
|
-
function recordParameters(value: unknown): RecordParameters {
|
|
134
|
-
const descriptors = dataDescriptors(value, "Graph memory record parameters", new Set(["kind", "label", "summary", "source"]));
|
|
135
|
-
const kind: unknown = descriptors.kind?.value;
|
|
136
|
-
const label: unknown = descriptors.label?.value;
|
|
137
|
-
const summary: unknown = descriptors.summary?.value;
|
|
138
|
-
const source: unknown = descriptors.source?.value;
|
|
139
|
-
if (!isNodeKind(kind)) throw new Error("Graph memory kind must be task, skill, or event");
|
|
140
|
-
if (typeof label !== "string") throw new Error("Graph memory label must be a string");
|
|
141
|
-
if (typeof summary !== "string") throw new Error("Graph memory summary must be a string");
|
|
142
|
-
if (source !== undefined && typeof source !== "string") throw new Error("Graph memory source must be a string");
|
|
143
|
-
return { kind, label, summary, ...(source === undefined ? {} : { source }) };
|
|
144
|
-
}
|
|
145
|
-
|
|
146
|
-
function linkParameters(value: unknown): LinkParameters {
|
|
147
|
-
const descriptors = dataDescriptors(value, "Graph memory link parameters", new Set(["from", "to", "relation"]));
|
|
148
|
-
const from: unknown = descriptors.from?.value;
|
|
149
|
-
const to: unknown = descriptors.to?.value;
|
|
150
|
-
const relation: unknown = descriptors.relation?.value;
|
|
151
|
-
if (typeof from !== "string") throw new Error("Graph memory link from must be a string");
|
|
152
|
-
if (typeof to !== "string") throw new Error("Graph memory link to must be a string");
|
|
153
|
-
if (!isRelationKind(relation)) throw new Error("Graph memory relation kind is invalid");
|
|
154
|
-
return { from, to, relation };
|
|
155
|
-
}
|
|
156
|
-
|
|
157
|
-
function searchParameters(value: unknown): SearchParameters {
|
|
158
|
-
const descriptors = dataDescriptors(value, "Graph memory search parameters", new Set(["query", "kind", "limit"]));
|
|
159
|
-
const query: unknown = descriptors.query?.value;
|
|
160
|
-
const kind: unknown = descriptors.kind?.value;
|
|
161
|
-
const limit: unknown = descriptors.limit?.value;
|
|
162
|
-
if (typeof query !== "string") throw new Error("Graph memory query must be a string");
|
|
163
|
-
if (kind !== undefined && !isNodeKind(kind)) throw new Error("Graph memory search kind must be task, skill, or event");
|
|
164
|
-
if (limit !== undefined && typeof limit !== "number") throw new Error("Graph memory search limit must be a number");
|
|
165
|
-
return { query, ...(kind === undefined ? {} : { kind }), ...(limit === undefined ? {} : { limit }) };
|
|
166
|
-
}
|
|
167
|
-
|
|
168
|
-
function forgetParameters(value: unknown): ForgetParameters {
|
|
169
|
-
const descriptors = dataDescriptors(value, "Graph memory forget parameters", new Set(["id", "confirm"]));
|
|
170
|
-
const id: unknown = descriptors.id?.value;
|
|
171
|
-
const confirm: unknown = descriptors.confirm?.value;
|
|
172
|
-
if (typeof id !== "string") throw new Error("Graph memory forget id must be a string");
|
|
173
|
-
if (typeof confirm !== "boolean") throw new Error("Graph memory forget confirm must be a boolean");
|
|
174
|
-
return { id, confirm };
|
|
175
|
-
}
|
|
176
|
-
|
|
177
|
-
function normalizeFilePath(agentDir: string, fileName: string | undefined): string {
|
|
178
|
-
const name = (fileName ?? defaultFileName).trim();
|
|
179
|
-
if (name.includes("\0")) throw new Error("Graph memory fileName must not contain NUL characters");
|
|
180
|
-
if (name === "" || name.includes("/") || name.includes("\\") || basename(name) !== name || !name.toLowerCase().endsWith(".json"))
|
|
181
|
-
throw new Error("Graph memory fileName must be a single .json filename");
|
|
182
|
-
return resolve(agentDir, name);
|
|
183
|
-
}
|
|
184
|
-
|
|
185
|
-
function normalizeText(value: string, field: string, maxLength: number): string {
|
|
186
|
-
if (value.includes("\0")) throw new Error(`${field} must not contain NUL characters`);
|
|
187
|
-
const normalized = value.trim();
|
|
188
|
-
if (normalized.length === 0 || normalized.length > maxLength) throw new Error(`${field} must contain 1-${maxLength} characters`);
|
|
189
|
-
return normalized;
|
|
190
|
-
}
|
|
191
|
-
|
|
192
|
-
function normalizeSummary(value: string): string {
|
|
193
|
-
if (value.includes("\0")) throw new Error("Graph memory summary must not contain NUL characters");
|
|
194
|
-
const normalized = value.trim();
|
|
195
|
-
if (normalized === "" || Buffer.byteLength(normalized, "utf8") > maxSummaryBytes)
|
|
196
|
-
throw new Error(`Graph memory summary must be non-empty and at most ${maxSummaryBytes} bytes`);
|
|
197
|
-
return normalized;
|
|
198
|
-
}
|
|
199
|
-
|
|
200
|
-
function isNodeKind(value: unknown): value is NodeKind {
|
|
201
|
-
return value === "task" || value === "skill" || value === "event";
|
|
202
|
-
}
|
|
203
|
-
|
|
204
|
-
function isRelationKind(value: unknown): value is RelationKind {
|
|
205
|
-
return value === "USED_SKILL" || value === "SOLVED_BY" || value === "REQUIRES" || value === "PATCHES" || value === "CONFLICTS_WITH" || value === "RELATED_TO";
|
|
206
|
-
}
|
|
207
|
-
|
|
208
|
-
function isGraphNode(value: unknown): value is GraphNode {
|
|
209
|
-
if (value === null || typeof value !== "object" || Array.isArray(value)) return false;
|
|
210
|
-
const node = value as Record<string, unknown>;
|
|
211
|
-
return (
|
|
212
|
-
Object.keys(node).every((key) => nodeFields.has(key)) &&
|
|
213
|
-
typeof node.id === "string" &&
|
|
214
|
-
node.id.length > 0 &&
|
|
215
|
-
node.id.length <= maxLabelLength &&
|
|
216
|
-
isNodeKind(node.kind) &&
|
|
217
|
-
typeof node.label === "string" &&
|
|
218
|
-
node.label.trim().length > 0 &&
|
|
219
|
-
node.label.length <= maxLabelLength &&
|
|
220
|
-
typeof node.summary === "string" &&
|
|
221
|
-
node.summary.trim().length > 0 &&
|
|
222
|
-
Buffer.byteLength(node.summary, "utf8") <= maxSummaryBytes &&
|
|
223
|
-
(node.source === undefined || typeof node.source === "string") &&
|
|
224
|
-
(node.source === undefined || (node.source.length > 0 && node.source.length <= maxSourceLength)) &&
|
|
225
|
-
typeof node.createdAt === "string" &&
|
|
226
|
-
Number.isFinite(Date.parse(node.createdAt)) &&
|
|
227
|
-
typeof node.updatedAt === "string" &&
|
|
228
|
-
Number.isFinite(Date.parse(node.updatedAt))
|
|
229
|
-
);
|
|
230
|
-
}
|
|
231
|
-
|
|
232
|
-
function isGraphRelation(value: unknown): value is GraphRelation {
|
|
233
|
-
if (value === null || typeof value !== "object" || Array.isArray(value)) return false;
|
|
234
|
-
const relation = value as Record<string, unknown>;
|
|
235
|
-
return (
|
|
236
|
-
Object.keys(relation).every((key) => relationFields.has(key)) &&
|
|
237
|
-
typeof relation.id === "string" &&
|
|
238
|
-
relation.id.length > 0 &&
|
|
239
|
-
relation.id.length <= maxLabelLength &&
|
|
240
|
-
typeof relation.from === "string" &&
|
|
241
|
-
typeof relation.to === "string" &&
|
|
242
|
-
isRelationKind(relation.relation) &&
|
|
243
|
-
typeof relation.createdAt === "string" &&
|
|
244
|
-
Number.isFinite(Date.parse(relation.createdAt))
|
|
245
|
-
);
|
|
246
|
-
}
|
|
247
|
-
|
|
248
|
-
async function readGraphFile(filePath: string, nodeLimit: number, relationLimit: number): Promise<GraphState> {
|
|
249
|
-
let raw: Buffer;
|
|
250
|
-
try {
|
|
251
|
-
raw = await readBoundedFile(filePath, maxFileBytes, "Graph memory file");
|
|
252
|
-
} catch (error) {
|
|
253
|
-
if ((error as NodeJS.ErrnoException).code === "ENOENT") return { nodes: [], relations: [] };
|
|
254
|
-
throw error;
|
|
255
|
-
}
|
|
256
|
-
const parsed = JSON.parse(raw.toString("utf8")) as Partial<GraphFile>;
|
|
257
|
-
if (parsed.version !== 1 || !Array.isArray(parsed.nodes) || !Array.isArray(parsed.relations)) throw new Error("Graph memory file has an unsupported format");
|
|
258
|
-
if (!parsed.nodes.every(isGraphNode)) throw new Error("Graph memory file contains invalid nodes");
|
|
259
|
-
if (!parsed.relations.every(isGraphRelation)) throw new Error("Graph memory file contains invalid relations");
|
|
260
|
-
if (parsed.nodes.length > nodeLimit) throw new Error(`Graph memory file exceeds its ${nodeLimit}-node limit`);
|
|
261
|
-
if (parsed.relations.length > relationLimit) throw new Error(`Graph memory file exceeds its ${relationLimit}-relation limit`);
|
|
262
|
-
const nodeIds = new Set(parsed.nodes.map((node) => node.id));
|
|
263
|
-
const relationIds = new Set<string>();
|
|
264
|
-
for (const relation of parsed.relations) {
|
|
265
|
-
if (!nodeIds.has(relation.from) || !nodeIds.has(relation.to)) throw new Error("Graph memory file contains relations with missing nodes");
|
|
266
|
-
if (relation.from === relation.to) throw new Error("Graph memory file contains self-relations");
|
|
267
|
-
if (!relationIds.add(relation.id)) throw new Error("Graph memory file contains duplicate relation ids");
|
|
268
|
-
}
|
|
269
|
-
if (nodeIds.size !== parsed.nodes.length) throw new Error("Graph memory file contains duplicate node ids");
|
|
270
|
-
return { nodes: parsed.nodes, relations: parsed.relations };
|
|
271
|
-
}
|
|
272
|
-
|
|
273
|
-
async function writeGraphFile(filePath: string, state: GraphState): Promise<void> {
|
|
274
|
-
const payload = JSON.stringify({ version: 1, ...state } satisfies GraphFile, null, 2);
|
|
275
|
-
const bytes = Buffer.byteLength(payload, "utf8");
|
|
276
|
-
if (bytes > maxFileBytes) throw new Error(`Graph memory file exceeds its ${maxFileBytes}-byte limit`);
|
|
277
|
-
await mkdir(dirname(filePath), { recursive: true });
|
|
278
|
-
await atomicWriteFile(filePath, payload, { encoding: "utf8", mode: 0o600 });
|
|
279
|
-
}
|
|
280
|
-
|
|
281
|
-
function graphLockOwnerIsAlive(value: unknown): boolean | undefined {
|
|
282
|
-
if (value === null || typeof value !== "object" || Array.isArray(value)) return undefined;
|
|
283
|
-
const pid = (value as Record<string, unknown>).pid;
|
|
284
|
-
if (typeof pid !== "number" || !Number.isSafeInteger(pid) || pid <= 0) return undefined;
|
|
285
|
-
try {
|
|
286
|
-
process.kill(pid, 0);
|
|
287
|
-
return true;
|
|
288
|
-
} catch (error) {
|
|
289
|
-
return (error as NodeJS.ErrnoException).code === "ESRCH" ? false : true;
|
|
290
|
-
}
|
|
291
|
-
}
|
|
292
|
-
|
|
293
|
-
function sameFile(left: Awaited<ReturnType<typeof lstat>>, right: Awaited<ReturnType<typeof lstat>>): boolean {
|
|
294
|
-
return left.dev === right.dev && left.ino === right.ino;
|
|
295
|
-
}
|
|
296
|
-
|
|
297
|
-
async function reclaimStaleGraphLock(lockPath: string, lockMetadata: Awaited<ReturnType<typeof lstat>>): Promise<boolean> {
|
|
298
|
-
if (Date.now() - Number(lockMetadata.mtimeMs) <= staleLockMs) return false;
|
|
299
|
-
let directory;
|
|
300
|
-
try {
|
|
301
|
-
directory = await opendir(lockPath, { bufferSize: 1 });
|
|
302
|
-
} catch {
|
|
303
|
-
return false;
|
|
304
|
-
}
|
|
305
|
-
let ownerName: string | undefined;
|
|
306
|
-
try {
|
|
307
|
-
const owner = await directory.read();
|
|
308
|
-
const extra = await directory.read();
|
|
309
|
-
if (owner === null || extra !== null || !/^[a-z0-9-]{1,64}\.owner$/iu.test(owner.name)) return false;
|
|
310
|
-
ownerName = owner.name;
|
|
311
|
-
} finally {
|
|
312
|
-
await directory.close().catch(() => undefined);
|
|
313
|
-
}
|
|
314
|
-
const ownerPath = resolve(lockPath, ownerName);
|
|
315
|
-
let ownerMetadata;
|
|
316
|
-
try {
|
|
317
|
-
ownerMetadata = await lstat(ownerPath);
|
|
318
|
-
if (!ownerMetadata.isFile() || ownerMetadata.isSymbolicLink() || Date.now() - Number(ownerMetadata.mtimeMs) <= staleLockMs) return false;
|
|
319
|
-
const owner = JSON.parse(await readBoundedTextFile(ownerPath, maxLockOwnerBytes, "Graph memory lock owner")) as unknown;
|
|
320
|
-
if (graphLockOwnerIsAlive(owner) === true) return false;
|
|
321
|
-
const [currentLockMetadata, currentOwnerMetadata] = await Promise.all([lstat(lockPath), lstat(ownerPath)]);
|
|
322
|
-
if (!sameFile(lockMetadata, currentLockMetadata) || !sameFile(ownerMetadata, currentOwnerMetadata)) return false;
|
|
323
|
-
await unlink(ownerPath);
|
|
324
|
-
} catch (error) {
|
|
325
|
-
if ((error as NodeJS.ErrnoException).code === "ENOENT") return false;
|
|
326
|
-
if (!(error instanceof SyntaxError)) return false;
|
|
327
|
-
const [currentLockMetadata, currentOwnerMetadata] = await Promise.all([lstat(lockPath), lstat(ownerPath)]).catch(() => []);
|
|
328
|
-
if (currentLockMetadata === undefined || currentOwnerMetadata === undefined) return false;
|
|
329
|
-
if (!sameFile(lockMetadata, currentLockMetadata) || ownerMetadata === undefined || !sameFile(ownerMetadata, currentOwnerMetadata)) return false;
|
|
330
|
-
await unlink(ownerPath).catch(() => undefined);
|
|
331
|
-
}
|
|
332
|
-
try {
|
|
333
|
-
await rmdir(lockPath);
|
|
334
|
-
return true;
|
|
335
|
-
} catch {
|
|
336
|
-
return false;
|
|
337
|
-
}
|
|
338
|
-
}
|
|
339
|
-
|
|
340
|
-
async function acquireGraphLock(lockPath: string, signal: AbortSignal): Promise<() => Promise<void>> {
|
|
341
|
-
const deadline = Date.now() + lockTimeoutMs;
|
|
342
|
-
while (true) {
|
|
343
|
-
throwIfAborted(signal);
|
|
344
|
-
try {
|
|
345
|
-
await mkdir(lockPath, { mode: 0o700 });
|
|
346
|
-
const token = randomUUID();
|
|
347
|
-
const ownerPath = resolve(lockPath, `${token}.owner`);
|
|
348
|
-
try {
|
|
349
|
-
await writeFile(ownerPath, JSON.stringify({ pid: process.pid, token }), { encoding: "utf8", mode: 0o600, flag: "wx" });
|
|
350
|
-
} catch (error) {
|
|
351
|
-
await rmdir(lockPath).catch(() => undefined);
|
|
352
|
-
throw new Error("Could not establish graph memory lock ownership", { cause: error });
|
|
353
|
-
}
|
|
354
|
-
return async () => {
|
|
355
|
-
try {
|
|
356
|
-
await unlink(ownerPath);
|
|
357
|
-
} catch (error) {
|
|
358
|
-
throw new Error("Graph memory lock ownership was lost before release", { cause: error });
|
|
359
|
-
}
|
|
360
|
-
try {
|
|
361
|
-
await rmdir(lockPath);
|
|
362
|
-
} catch (error) {
|
|
363
|
-
throw new Error("Could not safely release graph memory file lock", { cause: error });
|
|
364
|
-
}
|
|
365
|
-
};
|
|
366
|
-
} catch (error) {
|
|
367
|
-
if ((error as NodeJS.ErrnoException).code !== "EEXIST") throw new Error("Could not acquire graph memory file lock", { cause: error });
|
|
368
|
-
let metadata;
|
|
369
|
-
try {
|
|
370
|
-
metadata = await lstat(lockPath);
|
|
371
|
-
} catch (inspectionError) {
|
|
372
|
-
if ((inspectionError as NodeJS.ErrnoException).code === "ENOENT") continue;
|
|
373
|
-
throw new Error("Could not inspect graph memory file lock", { cause: inspectionError });
|
|
374
|
-
}
|
|
375
|
-
if (metadata.isSymbolicLink()) throw new Error("Graph memory file lock must not be a symbolic link", { cause: error });
|
|
376
|
-
if (!metadata.isDirectory()) throw new Error("Graph memory file lock must be a directory", { cause: error });
|
|
377
|
-
if (await reclaimStaleGraphLock(lockPath, metadata)) continue;
|
|
378
|
-
if (Date.now() >= deadline) throw new Error("Timed out waiting for graph memory file lock", { cause: error });
|
|
379
|
-
await waitForLockRetry(signal);
|
|
380
|
-
}
|
|
381
|
-
}
|
|
382
|
-
}
|
|
383
|
-
|
|
384
|
-
export default {
|
|
385
|
-
name: "pi-graph-memory",
|
|
386
|
-
inject: ["piHarnessLaunch", "piPluginUi", "piTools"],
|
|
387
|
-
Config,
|
|
388
|
-
apply(context: Context, config: GraphMemoryPluginConfig) {
|
|
389
|
-
const filePath = normalizeFilePath(context.piHarnessLaunch.agentDir, config.fileName);
|
|
390
|
-
const nodeLimit = boundedInteger(config.maxNodes, absoluteNodeLimit, absoluteNodeLimit);
|
|
391
|
-
const relationLimit = boundedInteger(config.maxRelations, absoluteRelationLimit, absoluteRelationLimit);
|
|
392
|
-
let nodes: GraphNode[] = [];
|
|
393
|
-
let relations: GraphRelation[] = [];
|
|
394
|
-
let loaded = false;
|
|
395
|
-
let loading: Promise<void> | undefined;
|
|
396
|
-
let mutationQueue = Promise.resolve();
|
|
397
|
-
let lastSearch: GraphSearchReport | undefined;
|
|
398
|
-
const lifecycle = new AbortController();
|
|
399
|
-
|
|
400
|
-
const load = async (): Promise<void> => {
|
|
401
|
-
if (loaded) return;
|
|
402
|
-
if (loading !== undefined) return loading;
|
|
403
|
-
const pending = (async () => {
|
|
404
|
-
const state = await readGraphFile(filePath, nodeLimit, relationLimit);
|
|
405
|
-
nodes = state.nodes;
|
|
406
|
-
relations = state.relations;
|
|
407
|
-
loaded = true;
|
|
408
|
-
})();
|
|
409
|
-
loading = pending;
|
|
410
|
-
try {
|
|
411
|
-
await pending;
|
|
412
|
-
} finally {
|
|
413
|
-
if (loading === pending) loading = undefined;
|
|
414
|
-
}
|
|
415
|
-
};
|
|
416
|
-
|
|
417
|
-
const mutate = async <T>(operation: (state: GraphState) => T, signal: AbortSignal): Promise<T> => {
|
|
418
|
-
throwIfAborted(signal);
|
|
419
|
-
let result: T | undefined;
|
|
420
|
-
const run = async (): Promise<void> => {
|
|
421
|
-
throwIfAborted(signal);
|
|
422
|
-
const release = await acquireGraphLock(`${filePath}.lock`, signal);
|
|
423
|
-
try {
|
|
424
|
-
const state = await readGraphFile(filePath, nodeLimit, relationLimit);
|
|
425
|
-
throwIfAborted(signal);
|
|
426
|
-
result = operation(state);
|
|
427
|
-
throwIfAborted(signal);
|
|
428
|
-
await writeGraphFile(filePath, state);
|
|
429
|
-
nodes = state.nodes;
|
|
430
|
-
relations = state.relations;
|
|
431
|
-
loaded = true;
|
|
432
|
-
lastSearch = undefined;
|
|
433
|
-
} finally {
|
|
434
|
-
await release();
|
|
435
|
-
}
|
|
436
|
-
};
|
|
437
|
-
const scheduled = mutationQueue.catch(() => undefined).then(run);
|
|
438
|
-
mutationQueue = scheduled.then(
|
|
439
|
-
() => undefined,
|
|
440
|
-
() => undefined,
|
|
441
|
-
);
|
|
442
|
-
await withCancellation(scheduled, signal);
|
|
443
|
-
return result as T;
|
|
444
|
-
};
|
|
445
|
-
|
|
446
|
-
const recordTool = defineTool({
|
|
447
|
-
name: "graph_memory_record",
|
|
448
|
-
label: "Record graph memory",
|
|
449
|
-
description: "Persist or update one typed task, skill, or event node with explicit provenance in the local graph memory.",
|
|
450
|
-
promptSnippet: "record durable typed knowledge in the local graph memory",
|
|
451
|
-
parameters: Type.Object(
|
|
452
|
-
{
|
|
453
|
-
kind: Type.Union([Type.Literal("task"), Type.Literal("skill"), Type.Literal("event")]),
|
|
454
|
-
label: Type.String(),
|
|
455
|
-
summary: Type.String(),
|
|
456
|
-
source: Type.Optional(Type.String()),
|
|
457
|
-
},
|
|
458
|
-
{ additionalProperties: false },
|
|
459
|
-
),
|
|
460
|
-
executionMode: "sequential",
|
|
461
|
-
async execute(_toolCallId, rawParams, signal): Promise<AgentToolResult<GraphNode>> {
|
|
462
|
-
const params = recordParameters(rawParams);
|
|
463
|
-
const operationSignal = signal === undefined ? lifecycle.signal : AbortSignal.any([signal, lifecycle.signal]);
|
|
464
|
-
throwIfAborted(operationSignal);
|
|
465
|
-
const label = normalizeText(params.label, "Graph memory label", maxLabelLength);
|
|
466
|
-
const summary = normalizeSummary(params.summary);
|
|
467
|
-
const source = params.source === undefined ? undefined : normalizeText(params.source, "Graph memory source", maxSourceLength);
|
|
468
|
-
const node = await mutate((state) => {
|
|
469
|
-
const existing = state.nodes.find((candidate) => candidate.kind === params.kind && candidate.label.toLocaleLowerCase() === label.toLocaleLowerCase());
|
|
470
|
-
if (existing === undefined && state.nodes.length >= nodeLimit) throw new Error(`Graph memory reached its ${nodeLimit}-node limit`);
|
|
471
|
-
const now = new Date().toISOString();
|
|
472
|
-
const next: GraphNode =
|
|
473
|
-
existing === undefined
|
|
474
|
-
? { id: randomUUID(), kind: params.kind, label, summary, ...(source === undefined ? {} : { source }), createdAt: now, updatedAt: now }
|
|
475
|
-
: { ...existing, label, summary, ...(source === undefined ? {} : { source }), updatedAt: now };
|
|
476
|
-
state.nodes = [next, ...state.nodes.filter((candidate) => candidate.id !== next.id)];
|
|
477
|
-
return next;
|
|
478
|
-
}, operationSignal);
|
|
479
|
-
return { content: [{ type: "text", text: `Graph memory recorded: ${node.id} [${node.kind}] ${node.label}` }], details: cloneNode(node) };
|
|
480
|
-
},
|
|
481
|
-
});
|
|
482
|
-
|
|
483
|
-
const linkTool = defineTool({
|
|
484
|
-
name: "graph_memory_link",
|
|
485
|
-
label: "Link graph memories",
|
|
486
|
-
description: "Create one typed directed relation between two existing graph-memory nodes.",
|
|
487
|
-
promptSnippet: "link two graph memories with a typed relation",
|
|
488
|
-
parameters: Type.Object(
|
|
489
|
-
{
|
|
490
|
-
from: Type.String(),
|
|
491
|
-
to: Type.String(),
|
|
492
|
-
relation: Type.Union([
|
|
493
|
-
Type.Literal("USED_SKILL"),
|
|
494
|
-
Type.Literal("SOLVED_BY"),
|
|
495
|
-
Type.Literal("REQUIRES"),
|
|
496
|
-
Type.Literal("PATCHES"),
|
|
497
|
-
Type.Literal("CONFLICTS_WITH"),
|
|
498
|
-
Type.Literal("RELATED_TO"),
|
|
499
|
-
]),
|
|
500
|
-
},
|
|
501
|
-
{ additionalProperties: false },
|
|
502
|
-
),
|
|
503
|
-
executionMode: "sequential",
|
|
504
|
-
async execute(_toolCallId, rawParams, signal): Promise<AgentToolResult<GraphRelation>> {
|
|
505
|
-
const params = linkParameters(rawParams);
|
|
506
|
-
const operationSignal = signal === undefined ? lifecycle.signal : AbortSignal.any([signal, lifecycle.signal]);
|
|
507
|
-
throwIfAborted(operationSignal);
|
|
508
|
-
const from = normalizeText(params.from, "Graph relation source id", maxLabelLength);
|
|
509
|
-
const to = normalizeText(params.to, "Graph relation target id", maxLabelLength);
|
|
510
|
-
if (from === to) throw new Error("Graph memory relations require two different nodes");
|
|
511
|
-
const relation = await mutate((state) => {
|
|
512
|
-
if (!state.nodes.some((node) => node.id === from)) throw new Error(`Graph memory source node not found: ${from}`);
|
|
513
|
-
if (!state.nodes.some((node) => node.id === to)) throw new Error(`Graph memory target node not found: ${to}`);
|
|
514
|
-
const existing = state.relations.find((candidate) => candidate.from === from && candidate.to === to && candidate.relation === params.relation);
|
|
515
|
-
if (existing !== undefined) return existing;
|
|
516
|
-
if (state.relations.length >= relationLimit) throw new Error(`Graph memory reached its ${relationLimit}-relation limit`);
|
|
517
|
-
const next: GraphRelation = { id: randomUUID(), from, to, relation: params.relation, createdAt: new Date().toISOString() };
|
|
518
|
-
state.relations = [next, ...state.relations];
|
|
519
|
-
return next;
|
|
520
|
-
}, operationSignal);
|
|
521
|
-
return {
|
|
522
|
-
content: [{ type: "text", text: `Graph relation ${relation.id} ${relation.relation}: ${relation.from} → ${relation.to}` }],
|
|
523
|
-
details: cloneRelation(relation),
|
|
524
|
-
};
|
|
525
|
-
},
|
|
526
|
-
});
|
|
527
|
-
|
|
528
|
-
const searchTool = defineTool({
|
|
529
|
-
name: "graph_memory_search",
|
|
530
|
-
label: "Search graph memory",
|
|
531
|
-
description: "Search typed graph-memory nodes by label, summary, provenance, kind, or connected relation.",
|
|
532
|
-
promptSnippet: "search the local cross-session knowledge graph",
|
|
533
|
-
parameters: Type.Object(
|
|
534
|
-
{
|
|
535
|
-
query: Type.String(),
|
|
536
|
-
kind: Type.Optional(Type.Union([Type.Literal("task"), Type.Literal("skill"), Type.Literal("event")])),
|
|
537
|
-
limit: Type.Optional(Type.Number()),
|
|
538
|
-
},
|
|
539
|
-
{ additionalProperties: false },
|
|
540
|
-
),
|
|
541
|
-
executionMode: "sequential",
|
|
542
|
-
async execute(_toolCallId, rawParams, signal): Promise<AgentToolResult<GraphSearchReport>> {
|
|
543
|
-
const params = searchParameters(rawParams);
|
|
544
|
-
const operationSignal = signal === undefined ? lifecycle.signal : AbortSignal.any([signal, lifecycle.signal]);
|
|
545
|
-
throwIfAborted(operationSignal);
|
|
546
|
-
await load();
|
|
547
|
-
throwIfAborted(operationSignal);
|
|
548
|
-
const query = normalizeText(params.query, "Graph memory query", maxQueryLength);
|
|
549
|
-
if (query.length < 2) throw new Error(`Graph memory query must contain 2-${maxQueryLength} characters`);
|
|
550
|
-
const needle = query.toLocaleLowerCase();
|
|
551
|
-
const limit = boundedInteger(params.limit, 12, maxSearchResults);
|
|
552
|
-
const ranked = nodes
|
|
553
|
-
.filter((node) => params.kind === undefined || node.kind === params.kind)
|
|
554
|
-
.map((node) => {
|
|
555
|
-
const label = node.label.toLocaleLowerCase();
|
|
556
|
-
const summary = node.summary.toLocaleLowerCase();
|
|
557
|
-
const source = node.source?.toLocaleLowerCase() ?? "";
|
|
558
|
-
const relationHit = relations.some((relation) => {
|
|
559
|
-
if (relation.from !== node.id && relation.to !== node.id) return false;
|
|
560
|
-
if (relation.relation.toLocaleLowerCase().includes(needle)) return true;
|
|
561
|
-
const neighborId = relation.from === node.id ? relation.to : relation.from;
|
|
562
|
-
return (
|
|
563
|
-
nodes
|
|
564
|
-
.find((candidate) => candidate.id === neighborId)
|
|
565
|
-
?.label.toLocaleLowerCase()
|
|
566
|
-
.includes(needle) ?? false
|
|
567
|
-
);
|
|
568
|
-
});
|
|
569
|
-
const score =
|
|
570
|
-
label === needle ? 100 : label.includes(needle) ? 60 : summary.includes(needle) ? 30 : source.includes(needle) || node.kind === needle ? 15 : 0;
|
|
571
|
-
return { node, score: score > 0 ? score : relationHit ? 20 : 0 };
|
|
572
|
-
})
|
|
573
|
-
.filter((match) => match.score > 0)
|
|
574
|
-
.sort((left, right) => right.score - left.score || right.node.updatedAt.localeCompare(left.node.updatedAt));
|
|
575
|
-
const matches = ranked.slice(0, limit).map((match) => match.node);
|
|
576
|
-
const matchedIds = new Set(matches.map((node) => node.id));
|
|
577
|
-
const matchedRelations = relations.filter((relation) => matchedIds.has(relation.from) || matchedIds.has(relation.to)).slice(0, limit * 4);
|
|
578
|
-
const report = { query, total: ranked.length, nodes: matches.map(cloneNode), relations: matchedRelations.map(cloneRelation) };
|
|
579
|
-
lastSearch = cloneSearchReport(report);
|
|
580
|
-
return {
|
|
581
|
-
content: [
|
|
582
|
-
{
|
|
583
|
-
type: "text",
|
|
584
|
-
text:
|
|
585
|
-
matches.length === 0
|
|
586
|
-
? `No graph memories found for ${query}.`
|
|
587
|
-
: matches.map((node) => `${node.id} [${node.kind}] ${node.label}: ${node.summary}`).join("\n"),
|
|
588
|
-
},
|
|
589
|
-
],
|
|
590
|
-
details: cloneSearchReport(report),
|
|
591
|
-
};
|
|
592
|
-
},
|
|
593
|
-
});
|
|
594
|
-
|
|
595
|
-
const forgetTool = defineTool({
|
|
596
|
-
name: "graph_memory_forget",
|
|
597
|
-
label: "Forget graph memory",
|
|
598
|
-
description: "Delete one graph-memory node and all incident relations after explicit confirmation.",
|
|
599
|
-
promptSnippet: "forget a graph memory after confirmation",
|
|
600
|
-
parameters: Type.Object({ id: Type.String(), confirm: Type.Boolean() }, { additionalProperties: false }),
|
|
601
|
-
executionMode: "sequential",
|
|
602
|
-
async execute(_toolCallId, rawParams, signal): Promise<AgentToolResult<{ id: string; removed: boolean; removedRelations: number }>> {
|
|
603
|
-
const params = forgetParameters(rawParams);
|
|
604
|
-
const operationSignal = signal === undefined ? lifecycle.signal : AbortSignal.any([signal, lifecycle.signal]);
|
|
605
|
-
throwIfAborted(operationSignal);
|
|
606
|
-
const id = normalizeText(params.id, "Graph memory node id", maxLabelLength);
|
|
607
|
-
if (params.confirm !== true) throw new Error("Deleting a graph memory requires confirm=true");
|
|
608
|
-
const result = await mutate((state) => {
|
|
609
|
-
const beforeNodes = state.nodes.length;
|
|
610
|
-
const beforeRelations = state.relations.length;
|
|
611
|
-
state.nodes = state.nodes.filter((node) => node.id !== id);
|
|
612
|
-
state.relations = state.relations.filter((relation) => relation.from !== id && relation.to !== id);
|
|
613
|
-
return { id, removed: state.nodes.length !== beforeNodes, removedRelations: beforeRelations - state.relations.length };
|
|
614
|
-
}, operationSignal);
|
|
615
|
-
return {
|
|
616
|
-
content: [{ type: "text", text: result.removed ? `Graph memory deleted: ${id}` : `Graph memory not found: ${id}` }],
|
|
617
|
-
details: result,
|
|
618
|
-
};
|
|
619
|
-
},
|
|
620
|
-
});
|
|
621
|
-
|
|
622
|
-
const disposers: Array<() => void> = [];
|
|
623
|
-
try {
|
|
624
|
-
disposers.push(context.piTools.register(recordTool));
|
|
625
|
-
disposers.push(context.piTools.register(linkTool));
|
|
626
|
-
disposers.push(context.piTools.register(searchTool));
|
|
627
|
-
disposers.push(context.piTools.register(forgetTool));
|
|
628
|
-
disposers.push(
|
|
629
|
-
context.piPluginUi.register({
|
|
630
|
-
id: "graph-memory-panel",
|
|
631
|
-
pluginId: "@pi-harness/core/plugins/graph-memory",
|
|
632
|
-
title: "Graph Memory",
|
|
633
|
-
description: "显式记录任务、技能与事件关系,保留来源并跨会话查询。",
|
|
634
|
-
icon: "⌬",
|
|
635
|
-
read: async () => {
|
|
636
|
-
await load();
|
|
637
|
-
return {
|
|
638
|
-
filePath,
|
|
639
|
-
nodes: nodes.length,
|
|
640
|
-
relations: relations.length,
|
|
641
|
-
kinds: {
|
|
642
|
-
task: nodes.filter((node) => node.kind === "task").length,
|
|
643
|
-
skill: nodes.filter((node) => node.kind === "skill").length,
|
|
644
|
-
event: nodes.filter((node) => node.kind === "event").length,
|
|
645
|
-
},
|
|
646
|
-
recent: nodes.slice(0, 8).map(cloneNode),
|
|
647
|
-
recentRelations: relations.slice(0, 8).map((relation) => ({
|
|
648
|
-
...relation,
|
|
649
|
-
fromLabel: nodes.find((node) => node.id === relation.from)?.label ?? relation.from,
|
|
650
|
-
toLabel: nodes.find((node) => node.id === relation.to)?.label ?? relation.to,
|
|
651
|
-
})),
|
|
652
|
-
lastSearch: lastSearch === undefined ? null : cloneSearchReport(lastSearch),
|
|
653
|
-
limits: { nodes: nodeLimit, relations: relationLimit, fileBytes: maxFileBytes, searchResults: maxSearchResults },
|
|
654
|
-
};
|
|
655
|
-
},
|
|
656
|
-
}),
|
|
657
|
-
);
|
|
658
|
-
} catch (error) {
|
|
659
|
-
for (const dispose of disposers.reverse()) dispose();
|
|
660
|
-
throw error;
|
|
661
|
-
}
|
|
662
|
-
context.effect(() => () => {
|
|
663
|
-
lifecycle.abort(new Error("Graph memory plugin disposed"));
|
|
664
|
-
for (const dispose of disposers.reverse()) dispose();
|
|
665
|
-
});
|
|
666
|
-
},
|
|
667
|
-
};
|