@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,206 +0,0 @@
|
|
|
1
|
-
import { randomUUID } from "node:crypto";
|
|
2
|
-
import { lstat, mkdir, rename, unlink, writeFile } from "node:fs/promises";
|
|
3
|
-
import { basename, dirname, isAbsolute, 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, type ToolDefinition } from "@earendil-works/pi-coding-agent";
|
|
8
|
-
import { atomicWriteFile } from "../atomic-write.js";
|
|
9
|
-
import { readBoundedTextFile } from "../bounded-file.js";
|
|
10
|
-
import type { PiMcpServerSnapshot } from "../services.js";
|
|
11
|
-
|
|
12
|
-
type McpPanelServer = Omit<PiMcpServerSnapshot, "command"> & { executable: string; toolCount: number; statusSource: "runtime" };
|
|
13
|
-
type McpPanelHealth = { serverId: string; status: string; severity: "ok" | "warning"; suggestions: string[] };
|
|
14
|
-
const maxPatchBytes = 2 * 1024 * 1024;
|
|
15
|
-
|
|
16
|
-
export interface McpPanelPluginConfig {
|
|
17
|
-
patchPath?: string;
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
export const Config: z<McpPanelPluginConfig> = z.object({ patchPath: z.string().default("") });
|
|
21
|
-
|
|
22
|
-
function mcpToolPrefix(serverId: string): string {
|
|
23
|
-
return `mcp__${serverId}__`;
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
function serverTools(serverId: string, tools: readonly ToolDefinition[]): ToolDefinition[] {
|
|
27
|
-
const prefix = mcpToolPrefix(serverId);
|
|
28
|
-
return tools.filter((tool) => tool.name.startsWith(prefix));
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
function healthFor(server: McpPanelServer | undefined): McpPanelHealth {
|
|
32
|
-
if (server === undefined) throw new Error("MCP server was not found");
|
|
33
|
-
if (server.status === "running") return { serverId: server.id, status: server.status, severity: "ok", suggestions: [] };
|
|
34
|
-
return { serverId: server.id, status: server.status, severity: "warning", suggestions: ["使用 mcp_server_start 启动该服务器,再重新检查健康状态。"] };
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
function validateServerId(serverId: string): string {
|
|
38
|
-
const normalized = serverId.trim();
|
|
39
|
-
if (!/^[a-z0-9][a-z0-9_-]{0,63}$/iu.test(normalized)) throw new Error("MCP server id must use letters, numbers, _ or -");
|
|
40
|
-
return normalized;
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
function validateCommand(command: readonly string[]): string[] {
|
|
44
|
-
if (command.length === 0 || command.length > 32 || command.some((part) => part.trim() === "" || part.length > 4096))
|
|
45
|
-
throw new Error("MCP command must contain 1-32 non-empty arguments");
|
|
46
|
-
return [...command];
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
function patchFragment(serverId: string, command: readonly string[], autoStart: boolean): string {
|
|
50
|
-
const rowId = `mcp-${serverId}`;
|
|
51
|
-
const commandRows = command.map((part) => ` - ${JSON.stringify(part)}`).join("\n");
|
|
52
|
-
return [
|
|
53
|
-
`- id: ${rowId}`,
|
|
54
|
-
` name: "@pi-harness/core/plugins/mcp-client"`,
|
|
55
|
-
" config:",
|
|
56
|
-
" servers:",
|
|
57
|
-
` - id: ${JSON.stringify(serverId)}`,
|
|
58
|
-
" command:",
|
|
59
|
-
commandRows,
|
|
60
|
-
` autoStart: ${autoStart ? "true" : "false"}`,
|
|
61
|
-
"",
|
|
62
|
-
].join("\n");
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
export default {
|
|
66
|
-
name: "pi-mcp-panel",
|
|
67
|
-
inject: ["piHarnessLaunch", "piMcp", "piPluginUi", "piTools"],
|
|
68
|
-
Config,
|
|
69
|
-
apply(context: Context, config: McpPanelPluginConfig) {
|
|
70
|
-
const configuredPatchPath = config.patchPath?.trim() ?? "";
|
|
71
|
-
const patchTarget =
|
|
72
|
-
configuredPatchPath === ""
|
|
73
|
-
? undefined
|
|
74
|
-
: isAbsolute(configuredPatchPath)
|
|
75
|
-
? resolve(configuredPatchPath)
|
|
76
|
-
: resolve(context.piHarnessLaunch.agentDir, configuredPatchPath);
|
|
77
|
-
const snapshot = (): McpPanelServer[] => {
|
|
78
|
-
const customTools = context.piTools.snapshot().customTools;
|
|
79
|
-
return context.piMcp.snapshot().servers.map((server) => ({
|
|
80
|
-
id: server.id,
|
|
81
|
-
status: server.status,
|
|
82
|
-
startedAt: server.startedAt,
|
|
83
|
-
executable: basename(server.command[0] ?? ""),
|
|
84
|
-
toolCount: serverTools(server.id, customTools).length,
|
|
85
|
-
statusSource: "runtime",
|
|
86
|
-
}));
|
|
87
|
-
};
|
|
88
|
-
const buildPatch = (serverId: string, command: readonly string[], autoStart: boolean): string =>
|
|
89
|
-
patchFragment(validateServerId(serverId), validateCommand(command), autoStart);
|
|
90
|
-
let patchWriteQueue = Promise.resolve();
|
|
91
|
-
const applyPatch = async (fragment: string, serverId: string): Promise<string> => {
|
|
92
|
-
const write = patchWriteQueue.then(async () => {
|
|
93
|
-
if (patchTarget === undefined) throw new Error("MCP profile writes are disabled; configure patchPath first");
|
|
94
|
-
await mkdir(dirname(patchTarget), { recursive: true });
|
|
95
|
-
const metadata = await lstat(patchTarget).catch((error: unknown) => {
|
|
96
|
-
if (error instanceof Error && "code" in error && (error as NodeJS.ErrnoException).code === "ENOENT") return undefined;
|
|
97
|
-
throw error;
|
|
98
|
-
});
|
|
99
|
-
if (metadata?.isSymbolicLink() || (metadata !== undefined && !metadata.isFile()))
|
|
100
|
-
throw new Error("MCP profile patch target must be a regular file and cannot be a symbolic link");
|
|
101
|
-
let existing = "";
|
|
102
|
-
if (metadata !== undefined) {
|
|
103
|
-
existing = await readBoundedTextFile(patchTarget, maxPatchBytes, "MCP profile patch");
|
|
104
|
-
}
|
|
105
|
-
const rowPattern = new RegExp(`^- id: mcp-${serverId}\\s*$`, "mu");
|
|
106
|
-
if (rowPattern.test(existing)) throw new Error(`MCP server patch already exists: ${serverId}`);
|
|
107
|
-
const next = `${existing.trimEnd()}${existing.trimEnd() === "" ? "" : "\n"}${fragment}`;
|
|
108
|
-
if (Buffer.byteLength(next, "utf8") > maxPatchBytes) throw new Error("MCP profile patch exceeds the 2 MiB output limit");
|
|
109
|
-
const backup = `${patchTarget}.bak`;
|
|
110
|
-
await atomicWriteFile(backup, existing, { encoding: "utf8", mode: 0o600 });
|
|
111
|
-
const temporary = `${patchTarget}.${randomUUID()}.tmp`;
|
|
112
|
-
let renamed = false;
|
|
113
|
-
try {
|
|
114
|
-
await writeFile(temporary, next, { encoding: "utf8", mode: 0o600, flag: "wx" });
|
|
115
|
-
await rename(temporary, patchTarget);
|
|
116
|
-
renamed = true;
|
|
117
|
-
} finally {
|
|
118
|
-
if (!renamed) await unlink(temporary).catch(() => {});
|
|
119
|
-
}
|
|
120
|
-
return patchTarget;
|
|
121
|
-
});
|
|
122
|
-
patchWriteQueue = write.then(
|
|
123
|
-
() => undefined,
|
|
124
|
-
() => undefined,
|
|
125
|
-
);
|
|
126
|
-
return write;
|
|
127
|
-
};
|
|
128
|
-
const unregister = context.piTools.register(
|
|
129
|
-
defineTool({
|
|
130
|
-
name: "mcp_panel",
|
|
131
|
-
label: "MCP panel",
|
|
132
|
-
description: "Inspect MCP status and tools, derive health suggestions, and preview or explicitly apply a backed-up profile patch.",
|
|
133
|
-
promptSnippet: "inspect MCP status or preview a server profile patch",
|
|
134
|
-
parameters: Type.Object(
|
|
135
|
-
{
|
|
136
|
-
action: Type.Union([Type.Literal("status"), Type.Literal("tools"), Type.Literal("health"), Type.Literal("preview"), Type.Literal("apply")]),
|
|
137
|
-
serverId: Type.Optional(Type.String({ description: "Configured or running MCP server id" })),
|
|
138
|
-
command: Type.Optional(Type.Array(Type.String(), { description: "MCP server executable and arguments" })),
|
|
139
|
-
autoStart: Type.Optional(Type.Boolean({ description: "Start the configured server with the runtime" })),
|
|
140
|
-
confirm: Type.Optional(Type.Boolean({ description: "Must be true before applying a patch" })),
|
|
141
|
-
},
|
|
142
|
-
{ additionalProperties: false },
|
|
143
|
-
),
|
|
144
|
-
executionMode: "sequential",
|
|
145
|
-
async execute(_toolCallId, params): Promise<AgentToolResult<unknown>> {
|
|
146
|
-
await Promise.resolve();
|
|
147
|
-
const servers = snapshot();
|
|
148
|
-
if (params.action === "status") {
|
|
149
|
-
return {
|
|
150
|
-
content: [
|
|
151
|
-
{
|
|
152
|
-
type: "text",
|
|
153
|
-
text: servers.map((server) => `${server.id}: ${server.status} · ${server.toolCount} tools`).join("\n") || "No MCP servers configured.",
|
|
154
|
-
},
|
|
155
|
-
],
|
|
156
|
-
details: { action: "status", servers },
|
|
157
|
-
};
|
|
158
|
-
}
|
|
159
|
-
if (params.serverId === undefined || params.serverId.trim() === "") throw new Error(`action ${params.action} requires serverId`);
|
|
160
|
-
if (params.action === "preview" || params.action === "apply") {
|
|
161
|
-
if (params.command === undefined) throw new Error(`action ${params.action} requires command`);
|
|
162
|
-
const serverId = validateServerId(params.serverId);
|
|
163
|
-
const fragment = buildPatch(serverId, params.command, params.autoStart === true);
|
|
164
|
-
if (params.action === "preview")
|
|
165
|
-
return { content: [{ type: "text", text: fragment }], details: { action: "preview", serverId, path: patchTarget ?? null, fragment } };
|
|
166
|
-
if (params.confirm !== true) throw new Error("Applying an MCP profile patch requires confirm=true");
|
|
167
|
-
const path = await applyPatch(fragment, serverId);
|
|
168
|
-
return {
|
|
169
|
-
content: [{ type: "text", text: `MCP server patch appended to ${path}.` }],
|
|
170
|
-
details: { action: "apply", serverId, path, backup: `${path}.bak` },
|
|
171
|
-
};
|
|
172
|
-
}
|
|
173
|
-
const server = servers.find((item) => item.id === params.serverId);
|
|
174
|
-
if (params.action === "health") {
|
|
175
|
-
const health = healthFor(server);
|
|
176
|
-
return { content: [{ type: "text", text: `${health.serverId}: ${health.status} (${health.severity})` }], details: { action: "health", ...health } };
|
|
177
|
-
}
|
|
178
|
-
if (server === undefined) throw new Error(`MCP server was not found: ${params.serverId}`);
|
|
179
|
-
const tools = serverTools(server.id, context.piTools.snapshot().customTools).map((tool) => ({ name: tool.name, description: tool.description }));
|
|
180
|
-
return {
|
|
181
|
-
content: [{ type: "text", text: tools.map((tool) => `${tool.name}: ${tool.description ?? ""}`).join("\n") || "No bridged tools." }],
|
|
182
|
-
details: { action: "tools", serverId: server.id, tools },
|
|
183
|
-
};
|
|
184
|
-
},
|
|
185
|
-
}),
|
|
186
|
-
);
|
|
187
|
-
let disposePanel: () => void;
|
|
188
|
-
try {
|
|
189
|
-
disposePanel = context.piPluginUi.register({
|
|
190
|
-
id: "mcp-panel",
|
|
191
|
-
pluginId: "@pi-harness/core/plugins/mcp-panel",
|
|
192
|
-
title: "MCP Console",
|
|
193
|
-
description: "查看 MCP 服务器状态、桥接工具和健康建议。",
|
|
194
|
-
icon: "⌘",
|
|
195
|
-
read: () => ({ servers: snapshot(), statusSource: "runtime", writesEnabled: patchTarget !== undefined, patchPath: patchTarget ?? null }),
|
|
196
|
-
});
|
|
197
|
-
} catch (error) {
|
|
198
|
-
unregister();
|
|
199
|
-
throw error;
|
|
200
|
-
}
|
|
201
|
-
context.effect(() => () => {
|
|
202
|
-
unregister();
|
|
203
|
-
disposePanel();
|
|
204
|
-
});
|
|
205
|
-
},
|
|
206
|
-
};
|
|
@@ -1,381 +0,0 @@
|
|
|
1
|
-
import { lstat, mkdir, opendir, rename, rm, rmdir, unlink, writeFile } from "node:fs/promises";
|
|
2
|
-
import { randomUUID } from "node:crypto";
|
|
3
|
-
import { basename, dirname, join, 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 { readBoundedTextFile } from "../bounded-file.js";
|
|
9
|
-
|
|
10
|
-
const defaultFileName = "memory.json";
|
|
11
|
-
const maxKeyLength = 128;
|
|
12
|
-
const maxValueBytes = 64 * 1024;
|
|
13
|
-
const maxTagLength = 64;
|
|
14
|
-
const maxTags = 16;
|
|
15
|
-
const maxEntries = 500;
|
|
16
|
-
const lockRetryMs = 25;
|
|
17
|
-
const lockTimeoutMs = 10_000;
|
|
18
|
-
const staleLockMs = 30_000;
|
|
19
|
-
const maxLockOwnerBytes = 1024;
|
|
20
|
-
const memoryFileOverheadBytes = 1024;
|
|
21
|
-
const memoryEntryOverheadBytes = maxValueBytes + maxTags * maxTagLength * 4 + maxKeyLength * 8 + 8 * 1024;
|
|
22
|
-
|
|
23
|
-
type Memory = { id: string; key: string; value: string; tags: string[]; createdAt: string; updatedAt: string };
|
|
24
|
-
type MemoryFile = { version: 1; memories: Memory[] };
|
|
25
|
-
type MemorySearchReport = { query: string; total: number; memories: Memory[] };
|
|
26
|
-
|
|
27
|
-
export interface MemoryPluginConfig {
|
|
28
|
-
fileName?: string;
|
|
29
|
-
maxEntries?: number;
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
export const Config: z<MemoryPluginConfig> = z.object({ fileName: z.string().default(defaultFileName), maxEntries: z.number().default(maxEntries) });
|
|
33
|
-
|
|
34
|
-
function normalizeFilePath(agentDir: string, fileName: string | undefined): string {
|
|
35
|
-
const name = (fileName ?? defaultFileName).trim();
|
|
36
|
-
if (name === "" || basename(name) !== name || !name.toLowerCase().endsWith(".json")) throw new Error("Memory fileName must be a single .json filename");
|
|
37
|
-
return resolve(agentDir, name);
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
function normalizeKey(key: string): string {
|
|
41
|
-
const value = key.trim();
|
|
42
|
-
if (value.length === 0 || value.length > maxKeyLength) throw new Error(`Memory key must contain 1-${maxKeyLength} characters`);
|
|
43
|
-
return value;
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
function normalizeValue(value: string): string {
|
|
47
|
-
if (value.trim() === "" || Buffer.byteLength(value, "utf8") > maxValueBytes)
|
|
48
|
-
throw new Error(`Memory value must be non-empty and at most ${maxValueBytes} bytes`);
|
|
49
|
-
return value;
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
function normalizeTags(tags: readonly string[] | undefined): string[] {
|
|
53
|
-
const values = [...new Set((tags ?? []).map((tag) => tag.trim()).filter(Boolean))];
|
|
54
|
-
if (values.length > maxTags || values.some((tag) => tag.length > maxTagLength))
|
|
55
|
-
throw new Error(`Memory tags must contain at most ${maxTags} entries of ${maxTagLength} characters`);
|
|
56
|
-
return values;
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
function ownData(value: unknown, key: PropertyKey): unknown {
|
|
60
|
-
if (value === null || typeof value !== "object") return undefined;
|
|
61
|
-
try {
|
|
62
|
-
const descriptor = Object.getOwnPropertyDescriptor(value, key);
|
|
63
|
-
return descriptor !== undefined && "value" in descriptor ? descriptor.value : undefined;
|
|
64
|
-
} catch {
|
|
65
|
-
return undefined;
|
|
66
|
-
}
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
function isMemory(value: unknown): value is Memory {
|
|
70
|
-
if (value === null || typeof value !== "object" || Array.isArray(value)) return false;
|
|
71
|
-
try {
|
|
72
|
-
const prototype = Object.getPrototypeOf(value) as unknown;
|
|
73
|
-
if (prototype !== Object.prototype && prototype !== null) return false;
|
|
74
|
-
} catch {
|
|
75
|
-
return false;
|
|
76
|
-
}
|
|
77
|
-
const id = ownData(value, "id");
|
|
78
|
-
const key = ownData(value, "key");
|
|
79
|
-
const storedValue = ownData(value, "value");
|
|
80
|
-
const tags = ownData(value, "tags");
|
|
81
|
-
const createdAt = ownData(value, "createdAt");
|
|
82
|
-
const updatedAt = ownData(value, "updatedAt");
|
|
83
|
-
return (
|
|
84
|
-
typeof id === "string" &&
|
|
85
|
-
id.length > 0 &&
|
|
86
|
-
id.length <= maxKeyLength &&
|
|
87
|
-
typeof key === "string" &&
|
|
88
|
-
key.trim().length > 0 &&
|
|
89
|
-
key.length <= maxKeyLength &&
|
|
90
|
-
typeof storedValue === "string" &&
|
|
91
|
-
storedValue.trim().length > 0 &&
|
|
92
|
-
Buffer.byteLength(storedValue, "utf8") <= maxValueBytes &&
|
|
93
|
-
Array.isArray(tags) &&
|
|
94
|
-
tags.length <= maxTags &&
|
|
95
|
-
tags.every((tag) => typeof tag === "string" && tag.trim().length > 0 && tag.length <= maxTagLength) &&
|
|
96
|
-
typeof createdAt === "string" &&
|
|
97
|
-
Number.isFinite(Date.parse(createdAt)) &&
|
|
98
|
-
typeof updatedAt === "string" &&
|
|
99
|
-
Number.isFinite(Date.parse(updatedAt))
|
|
100
|
-
);
|
|
101
|
-
}
|
|
102
|
-
|
|
103
|
-
async function readMemoryFile(filePath: string, entryLimit: number): Promise<Memory[]> {
|
|
104
|
-
let source: string;
|
|
105
|
-
try {
|
|
106
|
-
const maxFileBytes = memoryFileOverheadBytes + entryLimit * memoryEntryOverheadBytes;
|
|
107
|
-
source = await readBoundedTextFile(filePath, maxFileBytes, "Memory file");
|
|
108
|
-
} catch (error) {
|
|
109
|
-
if ((error as NodeJS.ErrnoException).code === "ENOENT") return [];
|
|
110
|
-
throw error;
|
|
111
|
-
}
|
|
112
|
-
let parsed: unknown;
|
|
113
|
-
try {
|
|
114
|
-
parsed = JSON.parse(source) as unknown;
|
|
115
|
-
} catch (error) {
|
|
116
|
-
throw new Error("Memory file contains invalid JSON", { cause: error });
|
|
117
|
-
}
|
|
118
|
-
if (parsed === null || typeof parsed !== "object" || Array.isArray(parsed)) throw new Error("Memory file has an unsupported format");
|
|
119
|
-
const file = parsed as Partial<MemoryFile>;
|
|
120
|
-
if (file.version !== 1 || !Array.isArray(file.memories)) throw new Error("Memory file has an unsupported format");
|
|
121
|
-
if (!file.memories.every(isMemory)) throw new Error("Memory file contains invalid memories");
|
|
122
|
-
if (file.memories.length > entryLimit) throw new Error(`Memory file exceeds its ${entryLimit}-entry limit`);
|
|
123
|
-
const keys = new Set(file.memories.map((memory) => memory.key));
|
|
124
|
-
const ids = new Set(file.memories.map((memory) => memory.id));
|
|
125
|
-
if (keys.size !== file.memories.length || ids.size !== file.memories.length) throw new Error("Memory file contains duplicate memories");
|
|
126
|
-
return file.memories;
|
|
127
|
-
}
|
|
128
|
-
|
|
129
|
-
async function writeMemoryFile(filePath: string, memories: Memory[]): Promise<void> {
|
|
130
|
-
const payload = JSON.stringify({ version: 1, memories } satisfies MemoryFile, null, 2);
|
|
131
|
-
await mkdir(dirname(filePath), { recursive: true });
|
|
132
|
-
const temporary = join(dirname(filePath), `.${basename(filePath)}.${randomUUID()}.tmp`);
|
|
133
|
-
let renamed = false;
|
|
134
|
-
try {
|
|
135
|
-
await writeFile(temporary, payload, { encoding: "utf8", mode: 0o600, flag: "wx" });
|
|
136
|
-
await rename(temporary, filePath);
|
|
137
|
-
renamed = true;
|
|
138
|
-
} finally {
|
|
139
|
-
if (!renamed) await rm(temporary, { force: true }).catch(() => undefined);
|
|
140
|
-
}
|
|
141
|
-
}
|
|
142
|
-
|
|
143
|
-
function memoryLockOwnerIsAlive(value: unknown): boolean | undefined {
|
|
144
|
-
if (value === null || typeof value !== "object" || Array.isArray(value)) return undefined;
|
|
145
|
-
const pid = (value as Record<string, unknown>).pid;
|
|
146
|
-
if (typeof pid !== "number" || !Number.isSafeInteger(pid) || pid <= 0) return undefined;
|
|
147
|
-
try {
|
|
148
|
-
process.kill(pid, 0);
|
|
149
|
-
return true;
|
|
150
|
-
} catch (error) {
|
|
151
|
-
return (error as NodeJS.ErrnoException).code === "ESRCH" ? false : true;
|
|
152
|
-
}
|
|
153
|
-
}
|
|
154
|
-
|
|
155
|
-
function sameFile(left: Awaited<ReturnType<typeof lstat>>, right: Awaited<ReturnType<typeof lstat>>): boolean {
|
|
156
|
-
return left.dev === right.dev && left.ino === right.ino;
|
|
157
|
-
}
|
|
158
|
-
|
|
159
|
-
async function reclaimStaleMemoryLock(lockPath: string, lockMetadata: Awaited<ReturnType<typeof lstat>>): Promise<boolean> {
|
|
160
|
-
if (Date.now() - Number(lockMetadata.mtimeMs) <= staleLockMs) return false;
|
|
161
|
-
let directory;
|
|
162
|
-
try {
|
|
163
|
-
directory = await opendir(lockPath, { bufferSize: 1 });
|
|
164
|
-
} catch {
|
|
165
|
-
return false;
|
|
166
|
-
}
|
|
167
|
-
let ownerName: string | undefined;
|
|
168
|
-
try {
|
|
169
|
-
const owner = await directory.read();
|
|
170
|
-
const extra = await directory.read();
|
|
171
|
-
if (owner === null || extra !== null || !/^[a-z0-9-]{1,64}\.owner$/iu.test(owner.name)) return false;
|
|
172
|
-
ownerName = owner.name;
|
|
173
|
-
} finally {
|
|
174
|
-
await directory.close().catch(() => undefined);
|
|
175
|
-
}
|
|
176
|
-
const ownerPath = resolve(lockPath, ownerName);
|
|
177
|
-
let ownerMetadata;
|
|
178
|
-
try {
|
|
179
|
-
ownerMetadata = await lstat(ownerPath);
|
|
180
|
-
} catch {
|
|
181
|
-
return false;
|
|
182
|
-
}
|
|
183
|
-
if (!ownerMetadata.isFile() || ownerMetadata.isSymbolicLink() || Date.now() - Number(ownerMetadata.mtimeMs) <= staleLockMs) return false;
|
|
184
|
-
let owner: unknown;
|
|
185
|
-
try {
|
|
186
|
-
owner = JSON.parse(await readBoundedTextFile(ownerPath, maxLockOwnerBytes, "Memory lock owner")) as unknown;
|
|
187
|
-
} catch (error) {
|
|
188
|
-
if (!(error instanceof SyntaxError)) return false;
|
|
189
|
-
}
|
|
190
|
-
if (memoryLockOwnerIsAlive(owner) === true) return false;
|
|
191
|
-
let currentLockMetadata;
|
|
192
|
-
let currentOwnerMetadata;
|
|
193
|
-
try {
|
|
194
|
-
[currentLockMetadata, currentOwnerMetadata] = await Promise.all([lstat(lockPath), lstat(ownerPath)]);
|
|
195
|
-
} catch {
|
|
196
|
-
return false;
|
|
197
|
-
}
|
|
198
|
-
if (!sameFile(lockMetadata, currentLockMetadata) || !sameFile(ownerMetadata, currentOwnerMetadata)) return false;
|
|
199
|
-
try {
|
|
200
|
-
await unlink(ownerPath);
|
|
201
|
-
await rmdir(lockPath);
|
|
202
|
-
return true;
|
|
203
|
-
} catch {
|
|
204
|
-
return false;
|
|
205
|
-
}
|
|
206
|
-
}
|
|
207
|
-
|
|
208
|
-
async function acquireMemoryLock(lockPath: string): Promise<() => Promise<void>> {
|
|
209
|
-
await mkdir(dirname(lockPath), { recursive: true });
|
|
210
|
-
const deadline = Date.now() + lockTimeoutMs;
|
|
211
|
-
while (true) {
|
|
212
|
-
try {
|
|
213
|
-
await mkdir(lockPath, { mode: 0o700 });
|
|
214
|
-
const token = randomUUID();
|
|
215
|
-
const ownerPath = resolve(lockPath, `${token}.owner`);
|
|
216
|
-
try {
|
|
217
|
-
await writeFile(ownerPath, JSON.stringify({ pid: process.pid, token }), { encoding: "utf8", mode: 0o600, flag: "wx" });
|
|
218
|
-
} catch (error) {
|
|
219
|
-
await rmdir(lockPath).catch(() => undefined);
|
|
220
|
-
throw new Error("Could not establish memory lock ownership", { cause: error });
|
|
221
|
-
}
|
|
222
|
-
return async () => {
|
|
223
|
-
try {
|
|
224
|
-
await unlink(ownerPath);
|
|
225
|
-
} catch (error) {
|
|
226
|
-
throw new Error("Memory lock ownership was lost before release", { cause: error });
|
|
227
|
-
}
|
|
228
|
-
try {
|
|
229
|
-
await rmdir(lockPath);
|
|
230
|
-
} catch (error) {
|
|
231
|
-
throw new Error("Could not safely release memory file lock", { cause: error });
|
|
232
|
-
}
|
|
233
|
-
};
|
|
234
|
-
} catch (error) {
|
|
235
|
-
if ((error as NodeJS.ErrnoException).code !== "EEXIST") throw new Error("Could not acquire memory file lock", { cause: error });
|
|
236
|
-
let metadata;
|
|
237
|
-
try {
|
|
238
|
-
metadata = await lstat(lockPath);
|
|
239
|
-
} catch (inspectionError) {
|
|
240
|
-
if ((inspectionError as NodeJS.ErrnoException).code === "ENOENT") continue;
|
|
241
|
-
throw new Error("Could not inspect memory file lock", { cause: inspectionError });
|
|
242
|
-
}
|
|
243
|
-
if (metadata.isSymbolicLink()) throw new Error("Memory file lock must not be a symbolic link", { cause: error });
|
|
244
|
-
if (!metadata.isDirectory()) throw new Error("Memory file lock must be a directory", { cause: error });
|
|
245
|
-
if (await reclaimStaleMemoryLock(lockPath, metadata)) continue;
|
|
246
|
-
if (Date.now() >= deadline) throw new Error("Timed out waiting for memory file lock", { cause: error });
|
|
247
|
-
await new Promise<void>((resolve) => setTimeout(resolve, lockRetryMs));
|
|
248
|
-
}
|
|
249
|
-
}
|
|
250
|
-
}
|
|
251
|
-
|
|
252
|
-
export default {
|
|
253
|
-
name: "pi-memory",
|
|
254
|
-
inject: ["piHarnessLaunch", "piPluginUi", "piTools"],
|
|
255
|
-
Config,
|
|
256
|
-
apply(context: Context, config: MemoryPluginConfig) {
|
|
257
|
-
const filePath = normalizeFilePath(context.piHarnessLaunch.agentDir, config.fileName);
|
|
258
|
-
const configuredEntryLimit = config.maxEntries;
|
|
259
|
-
const entryLimit =
|
|
260
|
-
typeof configuredEntryLimit === "number" && Number.isFinite(configuredEntryLimit)
|
|
261
|
-
? Math.max(1, Math.min(maxEntries, Math.trunc(configuredEntryLimit)))
|
|
262
|
-
: maxEntries;
|
|
263
|
-
let memories: Memory[] = [];
|
|
264
|
-
let mutationQueue = Promise.resolve();
|
|
265
|
-
let last: MemorySearchReport | undefined;
|
|
266
|
-
const refresh = async (): Promise<void> => {
|
|
267
|
-
memories = await readMemoryFile(filePath, entryLimit);
|
|
268
|
-
};
|
|
269
|
-
const mutate = async <T>(operation: (current: Memory[]) => { memories: Memory[]; result: T }): Promise<T> => {
|
|
270
|
-
let result: T | undefined;
|
|
271
|
-
const run = async (): Promise<void> => {
|
|
272
|
-
const release = await acquireMemoryLock(`${filePath}.lock`);
|
|
273
|
-
try {
|
|
274
|
-
const current = await readMemoryFile(filePath, entryLimit);
|
|
275
|
-
const next = operation(current);
|
|
276
|
-
await writeMemoryFile(filePath, next.memories);
|
|
277
|
-
memories = next.memories;
|
|
278
|
-
result = next.result;
|
|
279
|
-
} finally {
|
|
280
|
-
await release();
|
|
281
|
-
}
|
|
282
|
-
};
|
|
283
|
-
mutationQueue = mutationQueue.catch(() => undefined).then(run);
|
|
284
|
-
await mutationQueue;
|
|
285
|
-
return result as T;
|
|
286
|
-
};
|
|
287
|
-
const unregisterSet = context.piTools.register(
|
|
288
|
-
defineTool({
|
|
289
|
-
name: "memory_set",
|
|
290
|
-
label: "Remember fact",
|
|
291
|
-
description: "Persist one explicit fact in the Pi Harness memory store, replacing an existing value with the same key.",
|
|
292
|
-
promptSnippet: "save an explicit fact for future sessions",
|
|
293
|
-
parameters: Type.Object({ key: Type.String(), value: Type.String(), tags: Type.Optional(Type.Array(Type.String())) }, { additionalProperties: false }),
|
|
294
|
-
executionMode: "sequential",
|
|
295
|
-
async execute(_toolCallId, params): Promise<AgentToolResult<Memory>> {
|
|
296
|
-
const key = normalizeKey(params.key);
|
|
297
|
-
const value = normalizeValue(params.value);
|
|
298
|
-
const tags = normalizeTags(params.tags);
|
|
299
|
-
const memory = await mutate((current) => {
|
|
300
|
-
const now = new Date().toISOString();
|
|
301
|
-
const existing = current.find((item) => item.key === key);
|
|
302
|
-
const next: Memory =
|
|
303
|
-
existing === undefined ? { id: randomUUID(), key, value, tags, createdAt: now, updatedAt: now } : { ...existing, value, tags, updatedAt: now };
|
|
304
|
-
return { memories: [next, ...current.filter((item) => item.key !== key)].slice(0, entryLimit), result: next };
|
|
305
|
-
});
|
|
306
|
-
return { content: [{ type: "text", text: `Memory saved: ${key}` }], details: memory };
|
|
307
|
-
},
|
|
308
|
-
}),
|
|
309
|
-
);
|
|
310
|
-
const unregisterSearch = context.piTools.register(
|
|
311
|
-
defineTool({
|
|
312
|
-
name: "memory_search",
|
|
313
|
-
label: "Search memories",
|
|
314
|
-
description: "Search explicit cross-session memories by key, value, or tag.",
|
|
315
|
-
promptSnippet: "search remembered facts from earlier sessions",
|
|
316
|
-
parameters: Type.Object({ query: Type.String() }, { additionalProperties: false }),
|
|
317
|
-
executionMode: "sequential",
|
|
318
|
-
async execute(_toolCallId, params): Promise<AgentToolResult<MemorySearchReport>> {
|
|
319
|
-
await refresh();
|
|
320
|
-
const query = params.query.trim().toLocaleLowerCase();
|
|
321
|
-
if (query.length < 2 || query.length > maxKeyLength) throw new Error(`Memory search query must contain 2-${maxKeyLength} characters`);
|
|
322
|
-
const results = memories.filter((item) => [item.key, item.value, ...item.tags].some((field) => field.toLocaleLowerCase().includes(query)));
|
|
323
|
-
last = { query: params.query.trim(), total: results.length, memories: results };
|
|
324
|
-
return {
|
|
325
|
-
content: [
|
|
326
|
-
{
|
|
327
|
-
type: "text",
|
|
328
|
-
text: results.length === 0 ? `No memories found for ${params.query.trim()}.` : results.map((item) => `${item.key}: ${item.value}`).join("\n"),
|
|
329
|
-
},
|
|
330
|
-
],
|
|
331
|
-
details: last,
|
|
332
|
-
};
|
|
333
|
-
},
|
|
334
|
-
}),
|
|
335
|
-
);
|
|
336
|
-
const unregisterDelete = context.piTools.register(
|
|
337
|
-
defineTool({
|
|
338
|
-
name: "memory_delete",
|
|
339
|
-
label: "Forget memory",
|
|
340
|
-
description: "Delete one explicit memory by key. Confirmation is required.",
|
|
341
|
-
promptSnippet: "forget a stored memory after confirmation",
|
|
342
|
-
parameters: Type.Object({ key: Type.String(), confirm: Type.Boolean() }, { additionalProperties: false }),
|
|
343
|
-
executionMode: "sequential",
|
|
344
|
-
async execute(_toolCallId, params): Promise<AgentToolResult<{ key: string; removed: boolean }>> {
|
|
345
|
-
const key = normalizeKey(params.key);
|
|
346
|
-
if (params.confirm !== true) throw new Error("Deleting a memory requires confirm=true");
|
|
347
|
-
const removed = await mutate((current) => {
|
|
348
|
-
const next = current.filter((item) => item.key !== key);
|
|
349
|
-
return { memories: next, result: next.length !== current.length };
|
|
350
|
-
});
|
|
351
|
-
return { content: [{ type: "text", text: removed ? `Memory deleted: ${key}` : `Memory not found: ${key}` }], details: { key, removed } };
|
|
352
|
-
},
|
|
353
|
-
}),
|
|
354
|
-
);
|
|
355
|
-
let disposePanel: () => void;
|
|
356
|
-
try {
|
|
357
|
-
disposePanel = context.piPluginUi.register({
|
|
358
|
-
id: "memory-panel",
|
|
359
|
-
pluginId: "@pi-harness/core/plugins/memory",
|
|
360
|
-
title: "Memory",
|
|
361
|
-
description: "只保存 Agent 明确写入的事实,跨会话持久化并支持检索与删除。",
|
|
362
|
-
icon: "▣",
|
|
363
|
-
read: async () => {
|
|
364
|
-
await refresh();
|
|
365
|
-
return { filePath, count: memories.length, last: last ?? null, memories: memories.slice(0, 8) };
|
|
366
|
-
},
|
|
367
|
-
});
|
|
368
|
-
} catch (error) {
|
|
369
|
-
unregisterSet();
|
|
370
|
-
unregisterSearch();
|
|
371
|
-
unregisterDelete();
|
|
372
|
-
throw error;
|
|
373
|
-
}
|
|
374
|
-
context.effect(() => () => {
|
|
375
|
-
unregisterSet();
|
|
376
|
-
unregisterSearch();
|
|
377
|
-
unregisterDelete();
|
|
378
|
-
disposePanel();
|
|
379
|
-
});
|
|
380
|
-
},
|
|
381
|
-
};
|