@pi-harness/pi-harness 0.1.13 → 0.1.15
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 +682 -4
- package/apps/web/dist/assets/index-BVI_IS-R.css +2 -0
- package/apps/web/dist/assets/index-BZQRoR8H.js +22 -0
- package/apps/web/dist/index.html +2 -2
- package/apps/web/package.json +6 -6
- package/node_modules/@pi-harness/api-gateway/dist/index.d.ts.map +1 -1
- package/node_modules/@pi-harness/api-gateway/dist/index.js +97 -9
- package/node_modules/@pi-harness/api-gateway/dist/index.js.map +1 -1
- package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/agent-teams.json +6 -6
- 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 -2
- 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 +11 -5
- 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 +12 -5
- package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/browser-session.json +14 -8
- package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/canvas-draw.json +3 -4
- 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 +11 -6
- package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/cli-notifier.json +5 -5
- package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/code2skill.json +5 -5
- package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/colleague-skill.json +1 -2
- package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/context-doctor.json +12 -7
- package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/context.json +10 -5
- package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/cordis-group.json +2 -2
- package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/cordis-logger-console.json +4 -4
- package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/cordis-timer.json +3 -3
- package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/cost-meter.json +9 -6
- package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/dependency-checker.json +13 -10
- package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/docker-sandbox.json +10 -5
- package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/fail-logger.json +11 -6
- package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/genui.json +7 -5
- package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/git-time-capsule.json +13 -8
- package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/graph-memory.json +13 -7
- 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 +9 -6
- 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 +12 -7
- 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 +4 -4
- 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 +9 -5
- 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 +8 -6
- 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 +15 -7
- 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 +12 -8
- package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/recall-unread.json +11 -6
- 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 +13 -8
- 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 +12 -6
- 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 +9 -5
- package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/sql-lens.json +13 -7
- 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 +14 -7
- 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 +12 -6
- package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/turn-rewind.json +11 -6
- 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 +8 -5
- 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 +8 -5
- package/node_modules/@pi-harness/api-gateway/package.json +1 -1
- package/node_modules/@pi-harness/cli/dist/node-stdio.d.ts.map +1 -1
- package/node_modules/@pi-harness/cli/dist/node-stdio.js +83 -20
- package/node_modules/@pi-harness/cli/dist/node-stdio.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 +16 -9
- package/packages/api-gateway/dist/index.d.ts.map +1 -1
- package/packages/api-gateway/dist/index.js +97 -9
- package/packages/api-gateway/dist/index.js.map +1 -1
- package/packages/api-gateway/dist/marketplace-entries/official/agent-teams.json +6 -6
- package/packages/api-gateway/dist/marketplace-entries/official/anchored-standard.json +1 -1
- package/packages/api-gateway/dist/marketplace-entries/official/annotation.json +1 -2
- package/packages/api-gateway/dist/marketplace-entries/official/archify.json +1 -1
- package/packages/api-gateway/dist/marketplace-entries/official/at-file.json +11 -5
- 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 +12 -5
- package/packages/api-gateway/dist/marketplace-entries/official/browser-session.json +14 -8
- package/packages/api-gateway/dist/marketplace-entries/official/canvas-draw.json +3 -4
- package/packages/api-gateway/dist/marketplace-entries/official/change-verifier.json +1 -1
- package/packages/api-gateway/dist/marketplace-entries/official/cleaner.json +11 -6
- package/packages/api-gateway/dist/marketplace-entries/official/cli-notifier.json +5 -5
- package/packages/api-gateway/dist/marketplace-entries/official/code2skill.json +5 -5
- package/packages/api-gateway/dist/marketplace-entries/official/colleague-skill.json +1 -2
- package/packages/api-gateway/dist/marketplace-entries/official/context-doctor.json +12 -7
- package/packages/api-gateway/dist/marketplace-entries/official/context.json +10 -5
- package/packages/api-gateway/dist/marketplace-entries/official/cordis-group.json +2 -2
- package/packages/api-gateway/dist/marketplace-entries/official/cordis-logger-console.json +4 -4
- package/packages/api-gateway/dist/marketplace-entries/official/cordis-timer.json +3 -3
- package/packages/api-gateway/dist/marketplace-entries/official/cost-meter.json +9 -6
- package/packages/api-gateway/dist/marketplace-entries/official/dependency-checker.json +13 -10
- package/packages/api-gateway/dist/marketplace-entries/official/docker-sandbox.json +10 -5
- package/packages/api-gateway/dist/marketplace-entries/official/fail-logger.json +11 -6
- package/packages/api-gateway/dist/marketplace-entries/official/genui.json +7 -5
- package/packages/api-gateway/dist/marketplace-entries/official/git-time-capsule.json +13 -8
- package/packages/api-gateway/dist/marketplace-entries/official/graph-memory.json +13 -7
- 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 +9 -6
- 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 +12 -7
- 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 +4 -4
- 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 +9 -5
- 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 +8 -6
- 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 +15 -7
- 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 +12 -8
- package/packages/api-gateway/dist/marketplace-entries/official/recall-unread.json +11 -6
- 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 +13 -8
- 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 +12 -6
- 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 +9 -5
- package/packages/api-gateway/dist/marketplace-entries/official/sql-lens.json +13 -7
- 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 +14 -7
- package/packages/api-gateway/dist/marketplace-entries/official/theme-studio.json +1 -1
- package/packages/api-gateway/dist/marketplace-entries/official/token-guard.json +12 -6
- package/packages/api-gateway/dist/marketplace-entries/official/turn-rewind.json +11 -6
- package/packages/api-gateway/dist/marketplace-entries/official/undo-savepoint.json +1 -1
- package/packages/api-gateway/dist/marketplace-entries/official/vision-toolkit.json +8 -5
- 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 +8 -5
- package/packages/api-gateway/package.json +1 -1
- package/packages/api-gateway/src/index.ts +90 -9
- package/packages/api-gateway/src/marketplace-entries/official/agent-teams.json +6 -6
- package/packages/api-gateway/src/marketplace-entries/official/anchored-standard.json +1 -1
- package/packages/api-gateway/src/marketplace-entries/official/annotation.json +1 -2
- package/packages/api-gateway/src/marketplace-entries/official/archify.json +1 -1
- package/packages/api-gateway/src/marketplace-entries/official/at-file.json +11 -5
- 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 +12 -5
- package/packages/api-gateway/src/marketplace-entries/official/browser-session.json +14 -8
- package/packages/api-gateway/src/marketplace-entries/official/canvas-draw.json +3 -4
- package/packages/api-gateway/src/marketplace-entries/official/change-verifier.json +1 -1
- package/packages/api-gateway/src/marketplace-entries/official/cleaner.json +11 -6
- package/packages/api-gateway/src/marketplace-entries/official/cli-notifier.json +5 -5
- package/packages/api-gateway/src/marketplace-entries/official/code2skill.json +5 -5
- package/packages/api-gateway/src/marketplace-entries/official/colleague-skill.json +1 -2
- package/packages/api-gateway/src/marketplace-entries/official/context-doctor.json +12 -7
- package/packages/api-gateway/src/marketplace-entries/official/context.json +10 -5
- package/packages/api-gateway/src/marketplace-entries/official/cordis-group.json +2 -2
- package/packages/api-gateway/src/marketplace-entries/official/cordis-logger-console.json +4 -4
- package/packages/api-gateway/src/marketplace-entries/official/cordis-timer.json +3 -3
- package/packages/api-gateway/src/marketplace-entries/official/cost-meter.json +9 -6
- package/packages/api-gateway/src/marketplace-entries/official/dependency-checker.json +13 -10
- package/packages/api-gateway/src/marketplace-entries/official/docker-sandbox.json +10 -5
- package/packages/api-gateway/src/marketplace-entries/official/fail-logger.json +11 -6
- package/packages/api-gateway/src/marketplace-entries/official/genui.json +7 -5
- package/packages/api-gateway/src/marketplace-entries/official/git-time-capsule.json +13 -8
- package/packages/api-gateway/src/marketplace-entries/official/graph-memory.json +13 -7
- 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 +9 -6
- 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 +12 -7
- 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 +4 -4
- 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 +9 -5
- 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 +8 -6
- 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 +15 -7
- 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 +12 -8
- package/packages/api-gateway/src/marketplace-entries/official/recall-unread.json +11 -6
- 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 +13 -8
- 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 +12 -6
- 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 +9 -5
- package/packages/api-gateway/src/marketplace-entries/official/sql-lens.json +13 -7
- 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 +14 -7
- package/packages/api-gateway/src/marketplace-entries/official/theme-studio.json +1 -1
- package/packages/api-gateway/src/marketplace-entries/official/token-guard.json +12 -6
- package/packages/api-gateway/src/marketplace-entries/official/turn-rewind.json +11 -6
- package/packages/api-gateway/src/marketplace-entries/official/undo-savepoint.json +1 -1
- package/packages/api-gateway/src/marketplace-entries/official/vision-toolkit.json +8 -5
- 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 +8 -5
- package/packages/api-gateway/test/index.test.ts +1594 -2
- package/packages/api-gateway/test/marketplace.test.ts +389 -2
- package/packages/api-gateway/test/release-package.test.ts +6 -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/node-stdio.d.ts.map +1 -1
- package/packages/cli/dist/node-stdio.js +83 -20
- package/packages/cli/dist/node-stdio.js.map +1 -1
- package/packages/cli/package.json +1 -1
- package/packages/cli/src/node-stdio.ts +77 -20
- package/packages/cli/test/node-stdio.test.ts +118 -2
- package/packages/host-webserver/package.json +1 -1
- package/apps/web/dist/assets/index-C_AdODuM.js +0 -20
- package/apps/web/dist/assets/index-De8Rm01Z.css +0 -2
- package/node_modules/@pi-harness/core/LICENSE +0 -9
- 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 -135
- package/node_modules/@pi-harness/core/dist/boot.js.map +0 -1
- package/node_modules/@pi-harness/core/dist/config.d.ts +0 -2
- package/node_modules/@pi-harness/core/dist/config.d.ts.map +0 -1
- package/node_modules/@pi-harness/core/dist/config.js +0 -8
- 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/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 -17
- 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 -298
- 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 -14
- 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 -84
- 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 -18
- 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 -94
- 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 -23
- 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 -98
- 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 -8
- 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 -52
- 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 -114
- 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 -37
- 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 -89
- 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 -14
- 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 -167
- 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 -265
- 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 -8
- 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 -88
- 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 -8
- 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 -67
- 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 -8
- 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 -56
- 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 -15
- 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 -110
- 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 -8
- 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 -95
- 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 -27
- 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 -99
- 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 -30
- 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 -95
- 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 -8
- 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 -87
- 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 -32
- 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 -204
- 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 -27
- 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 -221
- 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 -8
- 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 -102
- 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 -8
- 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 -51
- 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 -8
- 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 -79
- 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 -9
- 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 -90
- 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 -382
- 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 -80
- 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 -139
- 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 -8
- 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 -76
- 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 -8
- 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 -150
- 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 -128
- 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 -534
- 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 -180
- 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 -161
- 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 -149
- 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 -149
- 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 -8
- 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 -14
- 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 -27
- 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 -8
- 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 -63
- 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 -27
- 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 -174
- 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 -79
- 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 -99
- 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 -8
- 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 -70
- 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 -38
- 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 -227
- 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 -8
- 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 -44
- 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 -16
- 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 -98
- 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 -29
- 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 -146
- 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 -165
- 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 -8
- 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 -114
- 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 -25
- 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 -142
- 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 -25
- 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 -139
- 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 -124
- 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 -63
- 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 -60
- 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 -14
- 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 -133
- 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 -33
- 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 -114
- 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 -125
- 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 -31
- 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 -121
- 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 -15
- 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 -87
- 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 -44
- 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 -265
- 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 -33
- 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 -150
- 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 -9
- 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 -8
- 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 -47
- 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 -20
- 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 -122
- 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 -22
- 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 -26
- 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 -97
- 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 -26
- 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 -139
- package/node_modules/@pi-harness/core/dist/plugins/skill-guard.js.map +0 -1
- package/node_modules/@pi-harness/core/dist/plugins/sql-lens.d.ts +0 -8
- 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 -85
- 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 -8
- 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 -22
- 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 -93
- 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 -8
- 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 -135
- 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 -347
- 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 -8
- 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 -57
- 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 -8
- 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 -64
- 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 -141
- 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 -78
- 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 -20
- 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 -19
- 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 -74
- 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 -247
- 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 -17
- 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 -145
- 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 -275
- 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 -36
- 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 -150
- 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 -8
- 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 -134
- 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 -8
- 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 -94
- 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 -42
- 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 -95
- package/node_modules/@pi-harness/core/dist/services.js.map +0 -1
- package/node_modules/@pi-harness/core/dist/stdio.d.ts +0 -36
- package/node_modules/@pi-harness/core/dist/stdio.d.ts.map +0 -1
- package/node_modules/@pi-harness/core/dist/stdio.js +0 -140
- package/node_modules/@pi-harness/core/dist/stdio.js.map +0 -1
- package/node_modules/@pi-harness/core/dist/workspace-path.d.ts +0 -12
- 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 -62
- 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 -120
- package/node_modules/@pi-harness/core/profiles/development/cordis.yml +0 -47
- package/packages/client-web/LICENSE +0 -9
- 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/browser-session-view.d.ts +0 -7
- package/packages/client-web/dist/browser-session-view.d.ts.map +0 -1
- package/packages/client-web/dist/browser-session-view.js +0 -8
- package/packages/client-web/dist/browser-session-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/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/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/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/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-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 -12
- package/packages/client-web/dist/plugin-stars-view.d.ts.map +0 -1
- package/packages/client-web/dist/plugin-stars-view.js +0 -8
- 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 -7
- package/packages/client-web/dist/react-room.d.ts.map +0 -1
- package/packages/client-web/dist/react-room.js +0 -2600
- package/packages/client-web/dist/react-room.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/package.json +0 -42
- package/packages/client-web/src/annotation-ui.ts +0 -29
- package/packages/client-web/src/browser-session-view.ts +0 -13
- package/packages/client-web/src/control-room.ts +0 -359
- package/packages/client-web/src/design-contract.ts +0 -334
- 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/message-content.ts +0 -51
- package/packages/client-web/src/plugin-card.ts +0 -22
- 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 -19
- package/packages/client-web/src/prompt-completion.ts +0 -24
- package/packages/client-web/src/react-room.tsx +0 -7711
- package/packages/client-web/src/runtime-events.ts +0 -29
- package/packages/client-web/test/annotation-ui.test.ts +0 -21
- package/packages/client-web/test/browser-session-view.test.ts +0 -17
- package/packages/client-web/test/design-contract.test.ts +0 -69
- package/packages/client-web/test/marketplace-catalog.test.ts +0 -52
- package/packages/client-web/test/message-content.test.ts +0 -43
- package/packages/client-web/test/plugin-card.test.ts +0 -46
- 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-view.test.ts +0 -20
- package/packages/client-web/test/prompt-completion.test.ts +0 -21
- package/packages/client-web/test/runtime-events.test.ts +0 -28
- 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/boot.d.ts +0 -13
- package/packages/core/dist/boot.d.ts.map +0 -1
- package/packages/core/dist/boot.js +0 -135
- package/packages/core/dist/boot.js.map +0 -1
- package/packages/core/dist/config.d.ts +0 -2
- package/packages/core/dist/config.d.ts.map +0 -1
- package/packages/core/dist/config.js +0 -8
- 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/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 -17
- package/packages/core/dist/plugins/agent-teams.d.ts.map +0 -1
- package/packages/core/dist/plugins/agent-teams.js +0 -298
- package/packages/core/dist/plugins/agent-teams.js.map +0 -1
- package/packages/core/dist/plugins/anchored-standard.d.ts +0 -14
- package/packages/core/dist/plugins/anchored-standard.d.ts.map +0 -1
- package/packages/core/dist/plugins/anchored-standard.js +0 -84
- package/packages/core/dist/plugins/anchored-standard.js.map +0 -1
- package/packages/core/dist/plugins/annotation.d.ts +0 -18
- package/packages/core/dist/plugins/annotation.d.ts.map +0 -1
- package/packages/core/dist/plugins/annotation.js +0 -94
- package/packages/core/dist/plugins/annotation.js.map +0 -1
- package/packages/core/dist/plugins/archify.d.ts +0 -23
- package/packages/core/dist/plugins/archify.d.ts.map +0 -1
- package/packages/core/dist/plugins/archify.js +0 -98
- package/packages/core/dist/plugins/archify.js.map +0 -1
- package/packages/core/dist/plugins/at-file.d.ts +0 -8
- package/packages/core/dist/plugins/at-file.d.ts.map +0 -1
- package/packages/core/dist/plugins/at-file.js +0 -52
- 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 -114
- package/packages/core/dist/plugins/auto-mode.js.map +0 -1
- package/packages/core/dist/plugins/better-sidebar.d.ts +0 -37
- package/packages/core/dist/plugins/better-sidebar.d.ts.map +0 -1
- package/packages/core/dist/plugins/better-sidebar.js +0 -89
- package/packages/core/dist/plugins/better-sidebar.js.map +0 -1
- package/packages/core/dist/plugins/browser-fetch.d.ts +0 -14
- package/packages/core/dist/plugins/browser-fetch.d.ts.map +0 -1
- package/packages/core/dist/plugins/browser-fetch.js +0 -167
- 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 -265
- package/packages/core/dist/plugins/browser-session.js.map +0 -1
- package/packages/core/dist/plugins/canvas-draw.d.ts +0 -8
- package/packages/core/dist/plugins/canvas-draw.d.ts.map +0 -1
- package/packages/core/dist/plugins/canvas-draw.js +0 -88
- package/packages/core/dist/plugins/canvas-draw.js.map +0 -1
- package/packages/core/dist/plugins/change-verifier.d.ts +0 -8
- package/packages/core/dist/plugins/change-verifier.d.ts.map +0 -1
- package/packages/core/dist/plugins/change-verifier.js +0 -67
- package/packages/core/dist/plugins/change-verifier.js.map +0 -1
- package/packages/core/dist/plugins/cleaner.d.ts +0 -8
- package/packages/core/dist/plugins/cleaner.d.ts.map +0 -1
- package/packages/core/dist/plugins/cleaner.js +0 -56
- package/packages/core/dist/plugins/cleaner.js.map +0 -1
- package/packages/core/dist/plugins/cli-notifier.d.ts +0 -15
- package/packages/core/dist/plugins/cli-notifier.d.ts.map +0 -1
- package/packages/core/dist/plugins/cli-notifier.js +0 -110
- package/packages/core/dist/plugins/cli-notifier.js.map +0 -1
- package/packages/core/dist/plugins/code2skill.d.ts +0 -8
- package/packages/core/dist/plugins/code2skill.d.ts.map +0 -1
- package/packages/core/dist/plugins/code2skill.js +0 -95
- package/packages/core/dist/plugins/code2skill.js.map +0 -1
- package/packages/core/dist/plugins/colleague-skill.d.ts +0 -27
- package/packages/core/dist/plugins/colleague-skill.d.ts.map +0 -1
- package/packages/core/dist/plugins/colleague-skill.js +0 -99
- package/packages/core/dist/plugins/colleague-skill.js.map +0 -1
- package/packages/core/dist/plugins/context-doctor.d.ts +0 -30
- package/packages/core/dist/plugins/context-doctor.d.ts.map +0 -1
- package/packages/core/dist/plugins/context-doctor.js +0 -95
- package/packages/core/dist/plugins/context-doctor.js.map +0 -1
- package/packages/core/dist/plugins/context.d.ts +0 -8
- package/packages/core/dist/plugins/context.d.ts.map +0 -1
- package/packages/core/dist/plugins/context.js +0 -87
- package/packages/core/dist/plugins/context.js.map +0 -1
- package/packages/core/dist/plugins/cost-meter.d.ts +0 -32
- package/packages/core/dist/plugins/cost-meter.d.ts.map +0 -1
- package/packages/core/dist/plugins/cost-meter.js +0 -204
- package/packages/core/dist/plugins/cost-meter.js.map +0 -1
- package/packages/core/dist/plugins/dependency-checker.d.ts +0 -27
- package/packages/core/dist/plugins/dependency-checker.d.ts.map +0 -1
- package/packages/core/dist/plugins/dependency-checker.js +0 -221
- package/packages/core/dist/plugins/dependency-checker.js.map +0 -1
- package/packages/core/dist/plugins/docker-sandbox.d.ts +0 -8
- package/packages/core/dist/plugins/docker-sandbox.d.ts.map +0 -1
- package/packages/core/dist/plugins/docker-sandbox.js +0 -102
- package/packages/core/dist/plugins/docker-sandbox.js.map +0 -1
- package/packages/core/dist/plugins/fail-logger.d.ts +0 -8
- package/packages/core/dist/plugins/fail-logger.d.ts.map +0 -1
- package/packages/core/dist/plugins/fail-logger.js +0 -51
- package/packages/core/dist/plugins/fail-logger.js.map +0 -1
- package/packages/core/dist/plugins/genui.d.ts +0 -8
- package/packages/core/dist/plugins/genui.d.ts.map +0 -1
- package/packages/core/dist/plugins/genui.js +0 -79
- package/packages/core/dist/plugins/genui.js.map +0 -1
- package/packages/core/dist/plugins/git-time-capsule.d.ts +0 -9
- package/packages/core/dist/plugins/git-time-capsule.d.ts.map +0 -1
- package/packages/core/dist/plugins/git-time-capsule.js +0 -90
- 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 -382
- 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 -80
- 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 -139
- package/packages/core/dist/plugins/hol-guard.js.map +0 -1
- package/packages/core/dist/plugins/i18n-pair.d.ts +0 -8
- package/packages/core/dist/plugins/i18n-pair.d.ts.map +0 -1
- package/packages/core/dist/plugins/i18n-pair.js +0 -76
- package/packages/core/dist/plugins/i18n-pair.js.map +0 -1
- package/packages/core/dist/plugins/image-compressor.d.ts +0 -8
- package/packages/core/dist/plugins/image-compressor.d.ts.map +0 -1
- package/packages/core/dist/plugins/image-compressor.js +0 -150
- 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 -128
- 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 -534
- 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 -180
- 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 -161
- 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 -149
- 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 -149
- package/packages/core/dist/plugins/mock-server.js.map +0 -1
- package/packages/core/dist/plugins/model.d.ts +0 -8
- package/packages/core/dist/plugins/model.d.ts.map +0 -1
- package/packages/core/dist/plugins/model.js +0 -14
- 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 -27
- package/packages/core/dist/plugins/models.js.map +0 -1
- package/packages/core/dist/plugins/modlens.d.ts +0 -8
- package/packages/core/dist/plugins/modlens.d.ts.map +0 -1
- package/packages/core/dist/plugins/modlens.js +0 -63
- package/packages/core/dist/plugins/modlens.js.map +0 -1
- package/packages/core/dist/plugins/module-search.d.ts +0 -27
- package/packages/core/dist/plugins/module-search.d.ts.map +0 -1
- package/packages/core/dist/plugins/module-search.js +0 -174
- 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 -79
- 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 -99
- package/packages/core/dist/plugins/openpets.js.map +0 -1
- package/packages/core/dist/plugins/plan-execute.d.ts +0 -8
- package/packages/core/dist/plugins/plan-execute.d.ts.map +0 -1
- package/packages/core/dist/plugins/plan-execute.js +0 -70
- package/packages/core/dist/plugins/plan-execute.js.map +0 -1
- package/packages/core/dist/plugins/plugin-check.d.ts +0 -38
- package/packages/core/dist/plugins/plugin-check.d.ts.map +0 -1
- package/packages/core/dist/plugins/plugin-check.js +0 -227
- package/packages/core/dist/plugins/plugin-check.js.map +0 -1
- package/packages/core/dist/plugins/plugin-dev.d.ts +0 -8
- package/packages/core/dist/plugins/plugin-dev.d.ts.map +0 -1
- package/packages/core/dist/plugins/plugin-dev.js +0 -44
- package/packages/core/dist/plugins/plugin-dev.js.map +0 -1
- package/packages/core/dist/plugins/plugin-finder.d.ts +0 -16
- package/packages/core/dist/plugins/plugin-finder.d.ts.map +0 -1
- package/packages/core/dist/plugins/plugin-finder.js +0 -98
- package/packages/core/dist/plugins/plugin-finder.js.map +0 -1
- package/packages/core/dist/plugins/plugin-radar.d.ts +0 -29
- package/packages/core/dist/plugins/plugin-radar.d.ts.map +0 -1
- package/packages/core/dist/plugins/plugin-radar.js +0 -146
- 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 -165
- package/packages/core/dist/plugins/plugin-stars.js.map +0 -1
- package/packages/core/dist/plugins/prompt-guard.d.ts +0 -8
- package/packages/core/dist/plugins/prompt-guard.d.ts.map +0 -1
- package/packages/core/dist/plugins/prompt-guard.js +0 -114
- package/packages/core/dist/plugins/prompt-guard.js.map +0 -1
- package/packages/core/dist/plugins/prompt-library.d.ts +0 -25
- package/packages/core/dist/plugins/prompt-library.d.ts.map +0 -1
- package/packages/core/dist/plugins/prompt-library.js +0 -142
- package/packages/core/dist/plugins/prompt-library.js.map +0 -1
- package/packages/core/dist/plugins/readme-gen.d.ts +0 -25
- package/packages/core/dist/plugins/readme-gen.d.ts.map +0 -1
- package/packages/core/dist/plugins/readme-gen.js +0 -139
- 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 -124
- 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 -63
- 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 -60
- package/packages/core/dist/plugins/reverse-skill.js.map +0 -1
- package/packages/core/dist/plugins/reviewer-bot.d.ts +0 -14
- package/packages/core/dist/plugins/reviewer-bot.d.ts.map +0 -1
- package/packages/core/dist/plugins/reviewer-bot.js +0 -133
- package/packages/core/dist/plugins/reviewer-bot.js.map +0 -1
- package/packages/core/dist/plugins/runtime-doctor.d.ts +0 -33
- package/packages/core/dist/plugins/runtime-doctor.d.ts.map +0 -1
- package/packages/core/dist/plugins/runtime-doctor.js +0 -114
- 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 -125
- package/packages/core/dist/plugins/runtime.js.map +0 -1
- package/packages/core/dist/plugins/secure-audit.d.ts +0 -31
- package/packages/core/dist/plugins/secure-audit.d.ts.map +0 -1
- package/packages/core/dist/plugins/secure-audit.js +0 -121
- package/packages/core/dist/plugins/secure-audit.js.map +0 -1
- package/packages/core/dist/plugins/session-bookmarks.d.ts +0 -15
- package/packages/core/dist/plugins/session-bookmarks.d.ts.map +0 -1
- package/packages/core/dist/plugins/session-bookmarks.js +0 -87
- package/packages/core/dist/plugins/session-bookmarks.js.map +0 -1
- package/packages/core/dist/plugins/session-bridge.d.ts +0 -44
- package/packages/core/dist/plugins/session-bridge.d.ts.map +0 -1
- package/packages/core/dist/plugins/session-bridge.js +0 -265
- package/packages/core/dist/plugins/session-bridge.js.map +0 -1
- package/packages/core/dist/plugins/session-compare.d.ts +0 -33
- package/packages/core/dist/plugins/session-compare.d.ts.map +0 -1
- package/packages/core/dist/plugins/session-compare.js +0 -150
- package/packages/core/dist/plugins/session-compare.js.map +0 -1
- package/packages/core/dist/plugins/session-export.d.ts +0 -9
- 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 -8
- package/packages/core/dist/plugins/session-insights.d.ts.map +0 -1
- package/packages/core/dist/plugins/session-insights.js +0 -47
- package/packages/core/dist/plugins/session-insights.js.map +0 -1
- package/packages/core/dist/plugins/session-search.d.ts +0 -20
- package/packages/core/dist/plugins/session-search.d.ts.map +0 -1
- package/packages/core/dist/plugins/session-search.js +0 -122
- 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 -22
- package/packages/core/dist/plugins/session.js.map +0 -1
- package/packages/core/dist/plugins/skill-catalog.d.ts +0 -26
- package/packages/core/dist/plugins/skill-catalog.d.ts.map +0 -1
- package/packages/core/dist/plugins/skill-catalog.js +0 -97
- package/packages/core/dist/plugins/skill-catalog.js.map +0 -1
- package/packages/core/dist/plugins/skill-guard.d.ts +0 -26
- package/packages/core/dist/plugins/skill-guard.d.ts.map +0 -1
- package/packages/core/dist/plugins/skill-guard.js +0 -139
- package/packages/core/dist/plugins/skill-guard.js.map +0 -1
- package/packages/core/dist/plugins/sql-lens.d.ts +0 -8
- package/packages/core/dist/plugins/sql-lens.d.ts.map +0 -1
- package/packages/core/dist/plugins/sql-lens.js +0 -85
- package/packages/core/dist/plugins/sql-lens.js.map +0 -1
- package/packages/core/dist/plugins/stdio.d.ts +0 -8
- package/packages/core/dist/plugins/stdio.d.ts.map +0 -1
- package/packages/core/dist/plugins/stdio.js +0 -22
- 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 -93
- package/packages/core/dist/plugins/synapse.js.map +0 -1
- package/packages/core/dist/plugins/tab-manager.d.ts +0 -8
- package/packages/core/dist/plugins/tab-manager.d.ts.map +0 -1
- package/packages/core/dist/plugins/tab-manager.js +0 -135
- 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 -347
- package/packages/core/dist/plugins/taskboard.js.map +0 -1
- package/packages/core/dist/plugins/telemetry-blocker.d.ts +0 -8
- package/packages/core/dist/plugins/telemetry-blocker.d.ts.map +0 -1
- package/packages/core/dist/plugins/telemetry-blocker.js +0 -57
- package/packages/core/dist/plugins/telemetry-blocker.js.map +0 -1
- package/packages/core/dist/plugins/test-harness.d.ts +0 -8
- package/packages/core/dist/plugins/test-harness.d.ts.map +0 -1
- package/packages/core/dist/plugins/test-harness.js +0 -64
- 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 -141
- 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 -78
- 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 -20
- package/packages/core/dist/plugins/tools.js.map +0 -1
- package/packages/core/dist/plugins/turn-rewind.d.ts +0 -19
- package/packages/core/dist/plugins/turn-rewind.d.ts.map +0 -1
- package/packages/core/dist/plugins/turn-rewind.js +0 -74
- 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 -247
- package/packages/core/dist/plugins/undo-savepoint.js.map +0 -1
- package/packages/core/dist/plugins/vision-toolkit.d.ts +0 -17
- package/packages/core/dist/plugins/vision-toolkit.d.ts.map +0 -1
- package/packages/core/dist/plugins/vision-toolkit.js +0 -145
- 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 -275
- package/packages/core/dist/plugins/web-research.js.map +0 -1
- package/packages/core/dist/plugins/workspace-navigator.d.ts +0 -36
- package/packages/core/dist/plugins/workspace-navigator.d.ts.map +0 -1
- package/packages/core/dist/plugins/workspace-navigator.js +0 -150
- package/packages/core/dist/plugins/workspace-navigator.js.map +0 -1
- package/packages/core/dist/plugins/workspace-search.d.ts +0 -8
- package/packages/core/dist/plugins/workspace-search.d.ts.map +0 -1
- package/packages/core/dist/plugins/workspace-search.js +0 -134
- package/packages/core/dist/plugins/workspace-search.js.map +0 -1
- package/packages/core/dist/plugins/yaml-validator.d.ts +0 -8
- package/packages/core/dist/plugins/yaml-validator.d.ts.map +0 -1
- package/packages/core/dist/plugins/yaml-validator.js +0 -94
- 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 -42
- 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 -95
- package/packages/core/dist/services.js.map +0 -1
- package/packages/core/dist/stdio.d.ts +0 -36
- package/packages/core/dist/stdio.d.ts.map +0 -1
- package/packages/core/dist/stdio.js +0 -140
- package/packages/core/dist/stdio.js.map +0 -1
- package/packages/core/dist/workspace-path.d.ts +0 -12
- package/packages/core/dist/workspace-path.d.ts.map +0 -1
- package/packages/core/dist/workspace-path.js +0 -62
- 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 -120
- package/packages/core/profiles/development/cordis.yml +0 -47
- package/packages/core/src/boot.ts +0 -143
- package/packages/core/src/config.ts +0 -6
- package/packages/core/src/context.ts +0 -3
- 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 -291
- package/packages/core/src/plugins/anchored-standard.ts +0 -88
- package/packages/core/src/plugins/annotation.ts +0 -106
- package/packages/core/src/plugins/archify.ts +0 -124
- package/packages/core/src/plugins/at-file.ts +0 -54
- package/packages/core/src/plugins/auto-mode.ts +0 -123
- package/packages/core/src/plugins/better-sidebar.ts +0 -117
- package/packages/core/src/plugins/browser-fetch.ts +0 -171
- package/packages/core/src/plugins/browser-session.ts +0 -287
- package/packages/core/src/plugins/canvas-draw.ts +0 -90
- package/packages/core/src/plugins/change-verifier.ts +0 -79
- package/packages/core/src/plugins/cleaner.ts +0 -61
- package/packages/core/src/plugins/cli-notifier.ts +0 -125
- package/packages/core/src/plugins/code2skill.ts +0 -96
- package/packages/core/src/plugins/colleague-skill.ts +0 -122
- package/packages/core/src/plugins/context-doctor.ts +0 -117
- package/packages/core/src/plugins/context.ts +0 -102
- package/packages/core/src/plugins/cost-meter.ts +0 -231
- package/packages/core/src/plugins/dependency-checker.ts +0 -241
- package/packages/core/src/plugins/docker-sandbox.ts +0 -100
- package/packages/core/src/plugins/fail-logger.ts +0 -51
- package/packages/core/src/plugins/genui.ts +0 -88
- package/packages/core/src/plugins/git-time-capsule.ts +0 -97
- package/packages/core/src/plugins/graph-memory.ts +0 -394
- package/packages/core/src/plugins/history-compressor.ts +0 -81
- package/packages/core/src/plugins/hol-guard.ts +0 -153
- package/packages/core/src/plugins/i18n-pair.ts +0 -82
- package/packages/core/src/plugins/image-compressor.ts +0 -144
- package/packages/core/src/plugins/llm-verifier.ts +0 -164
- package/packages/core/src/plugins/mcp-client.ts +0 -559
- package/packages/core/src/plugins/mcp-panel.ts +0 -190
- package/packages/core/src/plugins/memory.ts +0 -176
- package/packages/core/src/plugins/mirage-bridge.ts +0 -179
- package/packages/core/src/plugins/mock-server.ts +0 -158
- package/packages/core/src/plugins/model.ts +0 -14
- package/packages/core/src/plugins/models.ts +0 -35
- package/packages/core/src/plugins/modlens.ts +0 -63
- package/packages/core/src/plugins/module-search.ts +0 -201
- package/packages/core/src/plugins/obsidian-sync.ts +0 -83
- package/packages/core/src/plugins/openpets.ts +0 -109
- package/packages/core/src/plugins/plan-execute.ts +0 -76
- package/packages/core/src/plugins/plugin-check.ts +0 -232
- package/packages/core/src/plugins/plugin-dev.ts +0 -47
- package/packages/core/src/plugins/plugin-finder.ts +0 -108
- package/packages/core/src/plugins/plugin-radar.ts +0 -179
- package/packages/core/src/plugins/plugin-stars.ts +0 -205
- package/packages/core/src/plugins/prompt-guard.ts +0 -122
- package/packages/core/src/plugins/prompt-library.ts +0 -165
- package/packages/core/src/plugins/readme-gen.ts +0 -147
- package/packages/core/src/plugins/recall-unread.ts +0 -142
- package/packages/core/src/plugins/resources.ts +0 -78
- package/packages/core/src/plugins/reverse-skill.ts +0 -79
- package/packages/core/src/plugins/reviewer-bot.ts +0 -146
- package/packages/core/src/plugins/runtime-doctor.ts +0 -137
- package/packages/core/src/plugins/runtime.ts +0 -141
- package/packages/core/src/plugins/secure-audit.ts +0 -146
- package/packages/core/src/plugins/session-bookmarks.ts +0 -89
- package/packages/core/src/plugins/session-bridge.ts +0 -299
- package/packages/core/src/plugins/session-compare.ts +0 -180
- package/packages/core/src/plugins/session-export.ts +0 -99
- package/packages/core/src/plugins/session-insights.ts +0 -47
- package/packages/core/src/plugins/session-search.ts +0 -126
- package/packages/core/src/plugins/session.ts +0 -33
- package/packages/core/src/plugins/skill-catalog.ts +0 -117
- package/packages/core/src/plugins/skill-guard.ts +0 -152
- package/packages/core/src/plugins/sql-lens.ts +0 -92
- package/packages/core/src/plugins/stdio.ts +0 -22
- package/packages/core/src/plugins/synapse.ts +0 -130
- package/packages/core/src/plugins/tab-manager.ts +0 -135
- package/packages/core/src/plugins/taskboard.ts +0 -412
- package/packages/core/src/plugins/telemetry-blocker.ts +0 -62
- package/packages/core/src/plugins/test-harness.ts +0 -67
- package/packages/core/src/plugins/theme-studio.ts +0 -165
- package/packages/core/src/plugins/token-guard.ts +0 -84
- package/packages/core/src/plugins/tools.ts +0 -26
- package/packages/core/src/plugins/turn-rewind.ts +0 -86
- package/packages/core/src/plugins/undo-savepoint.ts +0 -284
- package/packages/core/src/plugins/vision-toolkit.ts +0 -153
- package/packages/core/src/plugins/web-research.ts +0 -289
- package/packages/core/src/plugins/workspace-navigator.ts +0 -164
- package/packages/core/src/plugins/workspace-search.ts +0 -139
- package/packages/core/src/plugins/yaml-validator.ts +0 -97
- package/packages/core/src/profile.ts +0 -37
- package/packages/core/src/runtime.ts +0 -46
- package/packages/core/src/services.ts +0 -212
- package/packages/core/src/stdio.ts +0 -160
- package/packages/core/src/workspace-path.ts +0 -69
- package/packages/core/test/agent-teams.test.ts +0 -24
- package/packages/core/test/archify.test.ts +0 -33
- package/packages/core/test/better-sidebar.test.ts +0 -125
- package/packages/core/test/boot.test.ts +0 -137
- package/packages/core/test/colleague-skill.test.ts +0 -74
- package/packages/core/test/config.test.ts +0 -139
- package/packages/core/test/context-doctor.test.ts +0 -32
- package/packages/core/test/dependency-checker.test.ts +0 -60
- package/packages/core/test/git-time-capsule.test.ts +0 -115
- package/packages/core/test/http.test.ts +0 -36
- package/packages/core/test/llm-verifier.test.ts +0 -72
- package/packages/core/test/mirage-bridge.test.ts +0 -54
- package/packages/core/test/module-search.test.ts +0 -78
- package/packages/core/test/plugin-check.test.ts +0 -16
- package/packages/core/test/plugin-stars.test.ts +0 -55
- package/packages/core/test/profile.test.ts +0 -39
- package/packages/core/test/profiles.integration.test.ts +0 -127
- package/packages/core/test/prompt-library.test.ts +0 -56
- package/packages/core/test/readme-gen.test.ts +0 -45
- package/packages/core/test/recall-unread.test.ts +0 -35
- package/packages/core/test/registry.test.ts +0 -48
- package/packages/core/test/reverse-skill.test.ts +0 -40
- package/packages/core/test/runtime-doctor.test.ts +0 -55
- package/packages/core/test/runtime-fixture.ts +0 -46
- package/packages/core/test/runtime.test.ts +0 -160
- package/packages/core/test/secure-audit.test.ts +0 -16
- package/packages/core/test/services.test.ts +0 -2150
- package/packages/core/test/session-bookmarks.test.ts +0 -62
- package/packages/core/test/session-bridge.test.ts +0 -103
- 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-search.test.ts +0 -30
- package/packages/core/test/skill-catalog.test.ts +0 -18
- package/packages/core/test/skill-guard.test.ts +0 -21
- package/packages/core/test/stdio-args.test.ts +0 -178
- package/packages/core/test/stdio.test.ts +0 -87
- package/packages/core/test/theme-studio.test.ts +0 -39
- package/packages/core/test/token-guard.test.ts +0 -34
- package/packages/core/test/turn-rewind.test.ts +0 -19
- package/packages/core/test/vision-toolkit.test.ts +0 -38
- package/packages/core/test/workspace-git-status.test.ts +0 -37
- package/packages/core/test/workspace-navigator.test.ts +0 -33
- package/packages/core/test/workspace-path.test.ts +0 -34
- package/packages/core/tsconfig.build.json +0 -8
- package/packages/core/tsconfig.json +0 -7
|
@@ -1,139 +0,0 @@
|
|
|
1
|
-
import { lstat, readdir, readFile, realpath, stat } from "node:fs/promises";
|
|
2
|
-
import { relative, resolve } from "node:path";
|
|
3
|
-
import type { Context } from "@deepseek-ai/cordis";
|
|
4
|
-
import { Type } from "@earendil-works/pi-ai";
|
|
5
|
-
import { defineTool, type AgentToolResult } from "@earendil-works/pi-coding-agent";
|
|
6
|
-
|
|
7
|
-
const maxQueryLength = 256;
|
|
8
|
-
const maxPathLength = 512;
|
|
9
|
-
const maxFileBytes = 2 * 1024 * 1024;
|
|
10
|
-
const maxFiles = 2_000;
|
|
11
|
-
const maxResults = 100;
|
|
12
|
-
const ignoredDirectories = new Set([".git", "node_modules", ".pi", "dist", "build"]);
|
|
13
|
-
type SearchMatch = { path: string; line: number; text: string };
|
|
14
|
-
type SearchReport = { query: string; path: string; matches: SearchMatch[]; matchCount: number; scannedFiles: number; skippedFiles: number; truncated: boolean };
|
|
15
|
-
|
|
16
|
-
function inside(root: string, target: string): boolean {
|
|
17
|
-
const remainder = relative(root, target);
|
|
18
|
-
return remainder === "" || (remainder !== ".." && !remainder.startsWith(`..${"/"}`) && !remainder.startsWith("/"));
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
function workspacePath(root: string, requested: string): string {
|
|
22
|
-
if (requested.length > maxPathLength || requested.includes("\\"))
|
|
23
|
-
throw new Error("Workspace search path must be a relative POSIX path of at most 512 characters");
|
|
24
|
-
const target = resolve(root, requested || ".");
|
|
25
|
-
if (!inside(root, target)) throw new Error("Workspace search path must stay inside the current workspace");
|
|
26
|
-
return target;
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
async function filesUnder(target: string, root: string, files: string[]): Promise<void> {
|
|
30
|
-
if (files.length >= maxFiles) return;
|
|
31
|
-
const metadata = await lstat(target);
|
|
32
|
-
if (metadata.isSymbolicLink()) return;
|
|
33
|
-
if (metadata.isFile()) {
|
|
34
|
-
files.push(target);
|
|
35
|
-
return;
|
|
36
|
-
}
|
|
37
|
-
if (!metadata.isDirectory()) return;
|
|
38
|
-
const entries = (await readdir(target, { withFileTypes: true })).sort((left, right) => left.name.localeCompare(right.name));
|
|
39
|
-
for (const entry of entries) {
|
|
40
|
-
if (files.length >= maxFiles) return;
|
|
41
|
-
if (entry.isDirectory() && ignoredDirectories.has(entry.name)) continue;
|
|
42
|
-
const child = resolve(target, entry.name);
|
|
43
|
-
if (!inside(root, child)) continue;
|
|
44
|
-
await filesUnder(child, root, files);
|
|
45
|
-
}
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
export default {
|
|
49
|
-
name: "pi-workspace-search",
|
|
50
|
-
inject: ["piHarnessLaunch", "piPluginUi", "piTools"],
|
|
51
|
-
apply(context: Context) {
|
|
52
|
-
let latest: SearchReport | undefined;
|
|
53
|
-
const search = async (
|
|
54
|
-
query: string,
|
|
55
|
-
requestedPath: string | undefined,
|
|
56
|
-
caseSensitive: boolean,
|
|
57
|
-
requestedLimit: number | undefined,
|
|
58
|
-
): Promise<SearchReport> => {
|
|
59
|
-
const normalizedQuery = query.trim();
|
|
60
|
-
if (normalizedQuery.length === 0 || normalizedQuery.length > maxQueryLength)
|
|
61
|
-
throw new Error(`Workspace search query must contain 1-${maxQueryLength} characters`);
|
|
62
|
-
const root = await realpath(context.piHarnessLaunch.cwd);
|
|
63
|
-
const target = workspacePath(root, requestedPath?.trim() ?? ".");
|
|
64
|
-
const targetMetadata = await stat(target);
|
|
65
|
-
const files: string[] = [];
|
|
66
|
-
await filesUnder(target, root, files);
|
|
67
|
-
const limit = Math.max(1, Math.min(maxResults, Math.trunc(requestedLimit ?? maxResults)));
|
|
68
|
-
const needle = caseSensitive ? normalizedQuery : normalizedQuery.toLocaleLowerCase();
|
|
69
|
-
const matches: SearchMatch[] = [];
|
|
70
|
-
let scannedFiles = 0;
|
|
71
|
-
let skippedFiles = targetMetadata.isFile() && targetMetadata.size > maxFileBytes ? 1 : 0;
|
|
72
|
-
for (const file of files) {
|
|
73
|
-
if (matches.length >= limit) break;
|
|
74
|
-
const metadata = await stat(file);
|
|
75
|
-
if (metadata.size > maxFileBytes) {
|
|
76
|
-
skippedFiles += 1;
|
|
77
|
-
continue;
|
|
78
|
-
}
|
|
79
|
-
const source = await readFile(file);
|
|
80
|
-
if (source.includes(0)) {
|
|
81
|
-
skippedFiles += 1;
|
|
82
|
-
continue;
|
|
83
|
-
}
|
|
84
|
-
scannedFiles += 1;
|
|
85
|
-
const lines = source.toString("utf8").split(/\r?\n/u);
|
|
86
|
-
for (const [index, line] of lines.entries()) {
|
|
87
|
-
if ((caseSensitive ? line : line.toLocaleLowerCase()).includes(needle)) {
|
|
88
|
-
matches.push({ path: relative(root, file), line: index + 1, text: line });
|
|
89
|
-
if (matches.length >= limit) break;
|
|
90
|
-
}
|
|
91
|
-
}
|
|
92
|
-
}
|
|
93
|
-
const report: SearchReport = {
|
|
94
|
-
query: normalizedQuery,
|
|
95
|
-
path: relative(root, target) || ".",
|
|
96
|
-
matches,
|
|
97
|
-
matchCount: matches.length,
|
|
98
|
-
scannedFiles,
|
|
99
|
-
skippedFiles,
|
|
100
|
-
truncated: matches.length >= limit && files.length > scannedFiles,
|
|
101
|
-
};
|
|
102
|
-
latest = report;
|
|
103
|
-
return report;
|
|
104
|
-
};
|
|
105
|
-
const unregisterTool = context.piTools.register(
|
|
106
|
-
defineTool({
|
|
107
|
-
name: "workspace_search",
|
|
108
|
-
label: "Search workspace",
|
|
109
|
-
description: "Search bounded UTF-8 text files in the current workspace without modifying files or invoking a shell.",
|
|
110
|
-
promptSnippet: "search the workspace for a text pattern",
|
|
111
|
-
parameters: Type.Object({
|
|
112
|
-
query: Type.String(),
|
|
113
|
-
path: Type.Optional(Type.String()),
|
|
114
|
-
caseSensitive: Type.Optional(Type.Boolean()),
|
|
115
|
-
maxResults: Type.Optional(Type.Number()),
|
|
116
|
-
}),
|
|
117
|
-
async execute(_toolCallId, params): Promise<AgentToolResult<SearchReport>> {
|
|
118
|
-
const report = await search(params.query, params.path, params.caseSensitive === true, params.maxResults);
|
|
119
|
-
return {
|
|
120
|
-
content: [{ type: "text", text: report.matches.map((match) => `${match.path}:${match.line}: ${match.text}`).join("\n") || "No matches found." }],
|
|
121
|
-
details: report,
|
|
122
|
-
};
|
|
123
|
-
},
|
|
124
|
-
}),
|
|
125
|
-
);
|
|
126
|
-
const disposePanel = context.piPluginUi.register({
|
|
127
|
-
id: "workspace-search-panel",
|
|
128
|
-
pluginId: "@pi-harness/core/plugins/workspace-search",
|
|
129
|
-
title: "Workspace Search",
|
|
130
|
-
description: "在工作区内安全检索文本,跳过依赖、构建产物和版本库目录。",
|
|
131
|
-
icon: "⌕",
|
|
132
|
-
read: () => ({ latest: latest ?? null, query: latest?.query ?? null, matchCount: latest?.matchCount ?? 0, scannedFiles: latest?.scannedFiles ?? 0 }),
|
|
133
|
-
});
|
|
134
|
-
context.effect(() => () => {
|
|
135
|
-
unregisterTool();
|
|
136
|
-
disposePanel();
|
|
137
|
-
});
|
|
138
|
-
},
|
|
139
|
-
};
|
|
@@ -1,97 +0,0 @@
|
|
|
1
|
-
import { readFile, realpath, stat } from "node:fs/promises";
|
|
2
|
-
import { relative, resolve } from "node:path";
|
|
3
|
-
import type { Context } from "@deepseek-ai/cordis";
|
|
4
|
-
import { parseAllDocuments, isMap, isSeq, type YAMLParseError, type YAMLWarning } from "yaml";
|
|
5
|
-
import { Type } from "@earendil-works/pi-ai";
|
|
6
|
-
import { defineTool, type AgentToolResult } from "@earendil-works/pi-coding-agent";
|
|
7
|
-
|
|
8
|
-
const maxBytes = 512 * 1024;
|
|
9
|
-
type Diagnostic = { message: string; code?: string; line?: number; column?: number };
|
|
10
|
-
type YamlReport = { path: string; valid: boolean; bytes: number; documents: number; rootType: string; errors: Diagnostic[]; warnings: Diagnostic[] };
|
|
11
|
-
|
|
12
|
-
function workspacePath(workspace: string, requested: string): { absolute: string; relative: string } {
|
|
13
|
-
const root = resolve(workspace);
|
|
14
|
-
const target = resolve(root, requested);
|
|
15
|
-
const path = relative(root, target);
|
|
16
|
-
if (path.startsWith("..") || path.includes("/..")) throw new Error("YAML path must stay inside the current workspace");
|
|
17
|
-
return { absolute: target, relative: path || "." };
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
function diagnostic(issue: YAMLParseError | YAMLWarning): Diagnostic {
|
|
21
|
-
const position = issue.linePos?.[0];
|
|
22
|
-
return {
|
|
23
|
-
message: issue.message,
|
|
24
|
-
...(typeof issue.code === "string" ? { code: issue.code } : {}),
|
|
25
|
-
...(position === undefined ? {} : { line: position.line, column: position.col }),
|
|
26
|
-
};
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
function rootType(value: unknown): string {
|
|
30
|
-
if (value === null || value === undefined) return "empty";
|
|
31
|
-
if (isMap(value)) return "map";
|
|
32
|
-
if (isSeq(value)) return "seq";
|
|
33
|
-
return "scalar";
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
export default {
|
|
37
|
-
name: "pi-yaml-validator",
|
|
38
|
-
inject: ["piHarnessLaunch", "piPluginUi", "piTools"],
|
|
39
|
-
apply(context: Context) {
|
|
40
|
-
let latest: YamlReport | undefined;
|
|
41
|
-
const validate = async (requested: string): Promise<YamlReport> => {
|
|
42
|
-
const workspace = await realpath(context.piHarnessLaunch.cwd);
|
|
43
|
-
const requestedPath = workspacePath(workspace, requested);
|
|
44
|
-
const absolute = await realpath(requestedPath.absolute);
|
|
45
|
-
const location = workspacePath(workspace, absolute);
|
|
46
|
-
const metadata = await stat(location.absolute);
|
|
47
|
-
if (!metadata.isFile()) throw new Error("YAML path is not a file");
|
|
48
|
-
if (metadata.size > maxBytes) throw new Error("YAML file exceeds the 512 KiB validation limit");
|
|
49
|
-
const source = await readFile(location.absolute, "utf8");
|
|
50
|
-
const documents = parseAllDocuments(source);
|
|
51
|
-
const errors = documents.flatMap((document) => document.errors.map(diagnostic));
|
|
52
|
-
const warnings = documents.flatMap((document) => document.warnings.map(diagnostic));
|
|
53
|
-
const report: YamlReport = {
|
|
54
|
-
path: location.relative,
|
|
55
|
-
valid: errors.length === 0,
|
|
56
|
-
bytes: metadata.size,
|
|
57
|
-
documents: documents.length,
|
|
58
|
-
rootType: rootType(documents[0]?.contents),
|
|
59
|
-
errors,
|
|
60
|
-
warnings,
|
|
61
|
-
};
|
|
62
|
-
latest = report;
|
|
63
|
-
return report;
|
|
64
|
-
};
|
|
65
|
-
const unregisterTool = context.piTools.register(
|
|
66
|
-
defineTool({
|
|
67
|
-
name: "yaml_validate",
|
|
68
|
-
label: "YAML validate",
|
|
69
|
-
description: "Parse a YAML file in the current workspace and report line-aware errors without modifying it.",
|
|
70
|
-
promptSnippet: "validate a YAML file and report syntax diagnostics",
|
|
71
|
-
parameters: Type.Object({ path: Type.String({ description: "YAML path relative to the workspace" }) }),
|
|
72
|
-
async execute(_toolCallId, params): Promise<AgentToolResult<YamlReport>> {
|
|
73
|
-
const report = await validate(params.path);
|
|
74
|
-
const summary = report.valid ? `YAML is valid (${report.documents} document(s)).` : `YAML is invalid with ${report.errors.length} error(s).`;
|
|
75
|
-
return {
|
|
76
|
-
content: [
|
|
77
|
-
{ type: "text", text: `${summary}\n${report.errors.map((issue) => `${issue.line ?? "?"}:${issue.column ?? "?"} ${issue.message}`).join("\n")}` },
|
|
78
|
-
],
|
|
79
|
-
details: report,
|
|
80
|
-
};
|
|
81
|
-
},
|
|
82
|
-
}),
|
|
83
|
-
);
|
|
84
|
-
const disposePanel = context.piPluginUi.register({
|
|
85
|
-
id: "yaml-validator-panel",
|
|
86
|
-
pluginId: "@pi-harness/core/plugins/yaml-validator",
|
|
87
|
-
title: "YAML Validator",
|
|
88
|
-
description: "只读解析工作区 YAML,并展示行列级语法诊断。",
|
|
89
|
-
icon: "⌁",
|
|
90
|
-
read: () => ({ latest: latest ?? null, maxBytes }),
|
|
91
|
-
});
|
|
92
|
-
context.effect(() => () => {
|
|
93
|
-
unregisterTool();
|
|
94
|
-
disposePanel();
|
|
95
|
-
});
|
|
96
|
-
},
|
|
97
|
-
};
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
import { access } from "node:fs/promises";
|
|
2
|
-
import { resolve } from "node:path";
|
|
3
|
-
import { fileURLToPath } from "node:url";
|
|
4
|
-
|
|
5
|
-
export const BUILTIN_PROFILES = ["default", "development"] as const;
|
|
6
|
-
|
|
7
|
-
export interface ResolveProfileConfigOptions {
|
|
8
|
-
profile?: string;
|
|
9
|
-
configPath?: string;
|
|
10
|
-
cwd?: string;
|
|
11
|
-
profilesDir?: string;
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
export async function resolveProfileConfig(_options: ResolveProfileConfigOptions = {}): Promise<string> {
|
|
15
|
-
const options = _options;
|
|
16
|
-
if (options.profile !== undefined && options.configPath !== undefined) throw new Error("profile and configPath cannot be used together");
|
|
17
|
-
const cwd = options.cwd ?? process.cwd();
|
|
18
|
-
let configPath: string;
|
|
19
|
-
if (options.configPath !== undefined) {
|
|
20
|
-
configPath = resolve(cwd, options.configPath);
|
|
21
|
-
} else {
|
|
22
|
-
const profile = options.profile ?? "default";
|
|
23
|
-
if (!/^[a-z0-9](?:[a-z0-9-]*[a-z0-9])?$/.test(profile)) throw new Error(`Invalid profile name: ${profile}`);
|
|
24
|
-
const profilesDir = options.profilesDir ?? fileURLToPath(new URL("../profiles", import.meta.url));
|
|
25
|
-
configPath = resolve(profilesDir, profile, "cordis.yml");
|
|
26
|
-
}
|
|
27
|
-
try {
|
|
28
|
-
await access(configPath);
|
|
29
|
-
} catch (cause) {
|
|
30
|
-
if (options.configPath === undefined)
|
|
31
|
-
throw new Error(`Pi Harness profile config does not exist or is not readable: ${configPath}; built-in profiles are ${BUILTIN_PROFILES.join(", ")}`, {
|
|
32
|
-
cause,
|
|
33
|
-
});
|
|
34
|
-
throw new Error(`Pi Harness profile config does not exist or is not readable: ${configPath}`, { cause });
|
|
35
|
-
}
|
|
36
|
-
return configPath;
|
|
37
|
-
}
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
import type { AgentSession, AgentSessionRuntime } from "@earendil-works/pi-coding-agent";
|
|
2
|
-
import type { PiRuntimeService } from "./services.js";
|
|
3
|
-
|
|
4
|
-
export class PiRuntimeDisposedError extends Error {
|
|
5
|
-
override readonly name = "PiRuntimeDisposedError";
|
|
6
|
-
|
|
7
|
-
constructor() {
|
|
8
|
-
super("Pi runtime is disposed");
|
|
9
|
-
}
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
export class PiRuntime implements PiRuntimeService {
|
|
13
|
-
readonly sessionRuntime: AgentSessionRuntime;
|
|
14
|
-
#disposed = false;
|
|
15
|
-
#sessionDisposed = false;
|
|
16
|
-
|
|
17
|
-
constructor(sessionRuntime: AgentSessionRuntime) {
|
|
18
|
-
this.sessionRuntime = sessionRuntime;
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
get session(): AgentSession {
|
|
22
|
-
return this.sessionRuntime.session;
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
async prompt(text: string): Promise<void> {
|
|
26
|
-
if (this.#disposed) throw new PiRuntimeDisposedError();
|
|
27
|
-
await this.session.prompt(text);
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
async abort(): Promise<void> {
|
|
31
|
-
if (this.#sessionDisposed) return;
|
|
32
|
-
await this.session.abort();
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
async dispose(): Promise<void> {
|
|
36
|
-
if (this.#disposed) return;
|
|
37
|
-
this.#disposed = true;
|
|
38
|
-
try {
|
|
39
|
-
// Settle an in-flight turn first so its tool results are persisted before session_shutdown runs.
|
|
40
|
-
if (!this.session.isIdle) await this.session.abort();
|
|
41
|
-
} finally {
|
|
42
|
-
this.#sessionDisposed = true;
|
|
43
|
-
await this.sessionRuntime.dispose();
|
|
44
|
-
}
|
|
45
|
-
}
|
|
46
|
-
}
|
|
@@ -1,212 +0,0 @@
|
|
|
1
|
-
import { isAbsolute } from "node:path";
|
|
2
|
-
import { pathToFileURL } from "node:url";
|
|
3
|
-
import type { Context } from "@deepseek-ai/cordis";
|
|
4
|
-
import type {
|
|
5
|
-
AgentSession,
|
|
6
|
-
AgentSessionEvent,
|
|
7
|
-
AgentSessionRuntime,
|
|
8
|
-
AgentSessionServices,
|
|
9
|
-
ExtensionError,
|
|
10
|
-
SessionManager,
|
|
11
|
-
ToolDefinition,
|
|
12
|
-
} from "@earendil-works/pi-coding-agent";
|
|
13
|
-
import type { Api, Model } from "@earendil-works/pi-ai";
|
|
14
|
-
import type { ModelRuntime } from "@earendil-works/pi-coding-agent";
|
|
15
|
-
|
|
16
|
-
export interface PiHarnessLaunch {
|
|
17
|
-
readonly cwd: string;
|
|
18
|
-
readonly cwdUrl?: string;
|
|
19
|
-
readonly agentDir: string;
|
|
20
|
-
readonly configPath?: string;
|
|
21
|
-
readonly args: readonly string[];
|
|
22
|
-
requestExit(code: number): void;
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
export interface PiModelsService {
|
|
26
|
-
readonly runtime: ModelRuntime;
|
|
27
|
-
readonly model: Model<Api>;
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
export interface PiModelRuntimeService {
|
|
31
|
-
readonly runtime: ModelRuntime;
|
|
32
|
-
readonly provider: string;
|
|
33
|
-
readonly model: string;
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
export type PiResourcesService = AgentSessionServices & {
|
|
37
|
-
createForCwd(cwd: string): Promise<AgentSessionServices>;
|
|
38
|
-
};
|
|
39
|
-
|
|
40
|
-
export interface PiSessionService {
|
|
41
|
-
readonly manager: SessionManager;
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
export interface PiMcpServerSnapshot {
|
|
45
|
-
readonly id: string;
|
|
46
|
-
readonly command: readonly string[];
|
|
47
|
-
readonly status: string;
|
|
48
|
-
readonly startedAt: number;
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
export interface PiMcpService {
|
|
52
|
-
snapshot(): { readonly servers: readonly PiMcpServerSnapshot[] };
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
export interface PiRuntimeService {
|
|
56
|
-
readonly session: AgentSession;
|
|
57
|
-
readonly sessionRuntime: AgentSessionRuntime;
|
|
58
|
-
prompt(text: string): Promise<void>;
|
|
59
|
-
abort(): Promise<void>;
|
|
60
|
-
dispose(): Promise<void>;
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
export interface PiTelemetryEvent {
|
|
64
|
-
readonly name: string;
|
|
65
|
-
readonly properties?: Readonly<Record<string, unknown>>;
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
export interface PiTelemetryService {
|
|
69
|
-
readonly enabled: false;
|
|
70
|
-
send(event: PiTelemetryEvent): { blocked: true; name: string };
|
|
71
|
-
snapshot(): { blocked: number; names: readonly string[] };
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
export interface PiToolsSnapshot {
|
|
75
|
-
readonly names: string[];
|
|
76
|
-
readonly customTools: ToolDefinition[];
|
|
77
|
-
}
|
|
78
|
-
|
|
79
|
-
export interface PiToolsLease extends PiToolsSnapshot {
|
|
80
|
-
release(): void;
|
|
81
|
-
}
|
|
82
|
-
|
|
83
|
-
const PI_BUILTIN_TOOL_NAMES = ["read", "bash", "powershell", "edit", "write", "grep", "find", "ls"];
|
|
84
|
-
|
|
85
|
-
export class PiToolRegistry {
|
|
86
|
-
readonly #names: string[];
|
|
87
|
-
readonly #customTools = new Map<string, ToolDefinition>();
|
|
88
|
-
#leases = 0;
|
|
89
|
-
|
|
90
|
-
constructor(names: readonly string[] = []) {
|
|
91
|
-
this.#names = [...names];
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
register(tool: ToolDefinition): () => void {
|
|
95
|
-
if (this.#leases > 0) throw new Error(`Pi tool registry is leased by pi-runtime; declare a Cordis injection that activates ${tool.name} before pi-runtime`);
|
|
96
|
-
if (this.#names.includes(tool.name) || this.#customTools.has(tool.name)) throw new Error(`Pi tool is already registered: ${tool.name}`);
|
|
97
|
-
if (PI_BUILTIN_TOOL_NAMES.includes(tool.name)) throw new Error(`Pi tool name is reserved by a built-in tool: ${tool.name}`);
|
|
98
|
-
this.#customTools.set(tool.name, tool);
|
|
99
|
-
return () => {
|
|
100
|
-
if (this.#customTools.get(tool.name) === tool) this.#customTools.delete(tool.name);
|
|
101
|
-
};
|
|
102
|
-
}
|
|
103
|
-
|
|
104
|
-
snapshot(): PiToolsSnapshot {
|
|
105
|
-
return { names: [...this.#names], customTools: [...this.#customTools.values()] };
|
|
106
|
-
}
|
|
107
|
-
|
|
108
|
-
acquire(): PiToolsLease {
|
|
109
|
-
this.#leases += 1;
|
|
110
|
-
let released = false;
|
|
111
|
-
return {
|
|
112
|
-
...this.snapshot(),
|
|
113
|
-
release: () => {
|
|
114
|
-
if (released) return;
|
|
115
|
-
released = true;
|
|
116
|
-
this.#leases -= 1;
|
|
117
|
-
},
|
|
118
|
-
};
|
|
119
|
-
}
|
|
120
|
-
}
|
|
121
|
-
|
|
122
|
-
export interface PiPluginPanel {
|
|
123
|
-
readonly id: string;
|
|
124
|
-
readonly pluginId: string;
|
|
125
|
-
readonly title: string;
|
|
126
|
-
readonly description?: string;
|
|
127
|
-
readonly icon?: string;
|
|
128
|
-
readonly visible?: () => boolean | Promise<boolean>;
|
|
129
|
-
readonly read: () => unknown;
|
|
130
|
-
}
|
|
131
|
-
|
|
132
|
-
export interface PiPluginPanelSnapshot {
|
|
133
|
-
readonly id: string;
|
|
134
|
-
readonly pluginId: string;
|
|
135
|
-
readonly title: string;
|
|
136
|
-
readonly description?: string;
|
|
137
|
-
readonly icon?: string;
|
|
138
|
-
readonly data?: unknown;
|
|
139
|
-
readonly error?: string;
|
|
140
|
-
}
|
|
141
|
-
|
|
142
|
-
export class PiPluginUiRegistry {
|
|
143
|
-
readonly #panels = new Map<string, PiPluginPanel>();
|
|
144
|
-
|
|
145
|
-
register(panel: PiPluginPanel): () => void {
|
|
146
|
-
if (panel.id.trim() === "" || panel.pluginId.trim() === "" || panel.title.trim() === "")
|
|
147
|
-
throw new Error("Plugin UI panel id, pluginId, and title are required");
|
|
148
|
-
if (this.#panels.has(panel.id)) throw new Error(`Plugin UI panel is already registered: ${panel.id}`);
|
|
149
|
-
this.#panels.set(panel.id, panel);
|
|
150
|
-
let active = true;
|
|
151
|
-
return () => {
|
|
152
|
-
if (!active) return;
|
|
153
|
-
active = false;
|
|
154
|
-
if (this.#panels.get(panel.id) === panel) this.#panels.delete(panel.id);
|
|
155
|
-
};
|
|
156
|
-
}
|
|
157
|
-
|
|
158
|
-
async snapshot(): Promise<readonly PiPluginPanelSnapshot[]> {
|
|
159
|
-
const snapshots: PiPluginPanelSnapshot[] = [];
|
|
160
|
-
for (const panel of this.#panels.values()) {
|
|
161
|
-
if (panel.visible !== undefined && !(await panel.visible())) continue;
|
|
162
|
-
try {
|
|
163
|
-
snapshots.push({
|
|
164
|
-
id: panel.id,
|
|
165
|
-
pluginId: panel.pluginId,
|
|
166
|
-
title: panel.title,
|
|
167
|
-
...(panel.description === undefined ? {} : { description: panel.description }),
|
|
168
|
-
...(panel.icon === undefined ? {} : { icon: panel.icon }),
|
|
169
|
-
data: await panel.read(),
|
|
170
|
-
});
|
|
171
|
-
} catch (error) {
|
|
172
|
-
snapshots.push({
|
|
173
|
-
id: panel.id,
|
|
174
|
-
pluginId: panel.pluginId,
|
|
175
|
-
title: panel.title,
|
|
176
|
-
...(panel.description === undefined ? {} : { description: panel.description }),
|
|
177
|
-
...(panel.icon === undefined ? {} : { icon: panel.icon }),
|
|
178
|
-
error: error instanceof Error ? error.message : String(error),
|
|
179
|
-
});
|
|
180
|
-
}
|
|
181
|
-
}
|
|
182
|
-
return snapshots;
|
|
183
|
-
}
|
|
184
|
-
}
|
|
185
|
-
|
|
186
|
-
declare module "@deepseek-ai/cordis" {
|
|
187
|
-
interface Context {
|
|
188
|
-
piHarnessLaunch: PiHarnessLaunch;
|
|
189
|
-
piModelRuntime: PiModelRuntimeService;
|
|
190
|
-
piModels: PiModelsService;
|
|
191
|
-
piResources: PiResourcesService;
|
|
192
|
-
piSession: PiSessionService;
|
|
193
|
-
piMcp: PiMcpService;
|
|
194
|
-
piTools: PiToolRegistry;
|
|
195
|
-
piPluginUi: PiPluginUiRegistry;
|
|
196
|
-
piRuntime: PiRuntimeService;
|
|
197
|
-
piTelemetry: PiTelemetryService;
|
|
198
|
-
}
|
|
199
|
-
|
|
200
|
-
interface Events {
|
|
201
|
-
"pi/session-event"(event: AgentSessionEvent): void;
|
|
202
|
-
"pi/extension-error"(error: ExtensionError): void;
|
|
203
|
-
"pi/telemetry"(event: PiTelemetryEvent): void;
|
|
204
|
-
}
|
|
205
|
-
}
|
|
206
|
-
|
|
207
|
-
export function provideLaunchContext(context: Context, launch: PiHarnessLaunch): () => void {
|
|
208
|
-
if (!isAbsolute(launch.cwd)) throw new Error(`Pi Harness launch cwd must be an absolute path: ${launch.cwd}`);
|
|
209
|
-
if (!isAbsolute(launch.agentDir)) throw new Error(`Pi Harness agent directory must be an absolute path: ${launch.agentDir}`);
|
|
210
|
-
const value: PiHarnessLaunch = Object.freeze({ ...launch, cwdUrl: pathToFileURL(launch.cwd).href, args: Object.freeze([...launch.args]) });
|
|
211
|
-
return context.provide("piHarnessLaunch", value);
|
|
212
|
-
}
|
|
@@ -1,160 +0,0 @@
|
|
|
1
|
-
import type { Context } from "@deepseek-ai/cordis";
|
|
2
|
-
import type { AgentSessionEvent } from "@earendil-works/pi-coding-agent";
|
|
3
|
-
import type { PiHarnessLaunch, PiRuntimeService } from "./services.js";
|
|
4
|
-
|
|
5
|
-
export class PiHarnessStdioCancelledError extends Error {
|
|
6
|
-
override readonly name = "PiHarnessStdioCancelledError";
|
|
7
|
-
|
|
8
|
-
constructor() {
|
|
9
|
-
super("Prompt input was cancelled");
|
|
10
|
-
}
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
export interface PiHarnessStdio {
|
|
14
|
-
readPrompt(): Promise<string>;
|
|
15
|
-
writeOutput(text: string): void;
|
|
16
|
-
writeError(text: string): void;
|
|
17
|
-
/** Resolve once everything written so far has reached the underlying stream. */
|
|
18
|
-
flush?(): Promise<void>;
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
export interface PiHarnessApplication {
|
|
22
|
-
/**
|
|
23
|
-
* Run the application surface to completion.
|
|
24
|
-
*
|
|
25
|
-
* @param signal - aborted when the host is shutting down; a surface that can block must unwind on it.
|
|
26
|
-
*/
|
|
27
|
-
run(signal?: AbortSignal): Promise<number>;
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
declare module "@deepseek-ai/cordis" {
|
|
31
|
-
interface Context {
|
|
32
|
-
piHarnessStdio: PiHarnessStdio;
|
|
33
|
-
piApplication: PiHarnessApplication;
|
|
34
|
-
}
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
export function provideStdioContext(context: Context, stdio: PiHarnessStdio): () => void {
|
|
38
|
-
return context.provide("piHarnessStdio", stdio);
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
function promptFromArgs(args: readonly string[]): string | undefined {
|
|
42
|
-
if (args.length === 0) return undefined;
|
|
43
|
-
if (args[0] === "--") return args.length === 1 ? undefined : args.slice(1).join(" ");
|
|
44
|
-
if (args[0] === "--prompt") {
|
|
45
|
-
const prompt = args[1];
|
|
46
|
-
if (prompt === undefined) throw new Error("--prompt requires a value");
|
|
47
|
-
if (args.length > 2) throw new Error("--prompt accepts exactly one value");
|
|
48
|
-
return prompt;
|
|
49
|
-
}
|
|
50
|
-
if (args[0]?.startsWith("--prompt=")) {
|
|
51
|
-
if (args.length > 1) throw new Error("--prompt accepts exactly one value");
|
|
52
|
-
return args[0].slice("--prompt=".length);
|
|
53
|
-
}
|
|
54
|
-
const option = args[0];
|
|
55
|
-
if (option !== undefined && option.startsWith("-")) throw new Error(`Unknown stdio option: ${option}; pass -- before a prompt that starts with a dash`);
|
|
56
|
-
return args.join(" ");
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
const PROMPT_CANCELLED_EXIT_CODE = 130;
|
|
60
|
-
const TOOL_ARGUMENT_SUMMARY_LIMIT = 120;
|
|
61
|
-
|
|
62
|
-
function summarizeToolArguments(args: unknown): string {
|
|
63
|
-
let text: string;
|
|
64
|
-
try {
|
|
65
|
-
text = typeof args === "string" ? args : (JSON.stringify(args) ?? "");
|
|
66
|
-
} catch {
|
|
67
|
-
return "";
|
|
68
|
-
}
|
|
69
|
-
const line = text.replace(/\s+/g, " ").trim();
|
|
70
|
-
return line.length > TOOL_ARGUMENT_SUMMARY_LIMIT ? `${line.slice(0, TOOL_ARGUMENT_SUMMARY_LIMIT)}...` : line;
|
|
71
|
-
}
|
|
72
|
-
|
|
73
|
-
export class StdioApplication implements PiHarnessApplication {
|
|
74
|
-
readonly #runtime: PiRuntimeService;
|
|
75
|
-
readonly #launch: PiHarnessLaunch;
|
|
76
|
-
readonly #stdio: PiHarnessStdio;
|
|
77
|
-
#running = false;
|
|
78
|
-
#pendingSeparator = false;
|
|
79
|
-
#wroteOutput = false;
|
|
80
|
-
|
|
81
|
-
constructor(runtime: PiRuntimeService, launch: PiHarnessLaunch, stdio: PiHarnessStdio) {
|
|
82
|
-
this.#runtime = runtime;
|
|
83
|
-
this.#launch = launch;
|
|
84
|
-
this.#stdio = stdio;
|
|
85
|
-
}
|
|
86
|
-
|
|
87
|
-
writeSessionEvent(event: AgentSessionEvent): void {
|
|
88
|
-
if (!this.#running) return;
|
|
89
|
-
if (event.type === "message_update" && event.assistantMessageEvent.type === "text_delta") {
|
|
90
|
-
if (this.#pendingSeparator) {
|
|
91
|
-
this.#pendingSeparator = false;
|
|
92
|
-
this.#stdio.writeOutput("\n");
|
|
93
|
-
}
|
|
94
|
-
this.#wroteOutput = true;
|
|
95
|
-
this.#stdio.writeOutput(event.assistantMessageEvent.delta);
|
|
96
|
-
return;
|
|
97
|
-
}
|
|
98
|
-
if (event.type === "tool_execution_start") {
|
|
99
|
-
if (this.#wroteOutput) this.#pendingSeparator = true;
|
|
100
|
-
this.#stdio.writeError(`> ${event.toolName} ${summarizeToolArguments(event.args)}\n`);
|
|
101
|
-
return;
|
|
102
|
-
}
|
|
103
|
-
if (event.type === "tool_execution_end") {
|
|
104
|
-
const result = event.result as { isError?: boolean } | undefined;
|
|
105
|
-
if (result?.isError === true) this.#stdio.writeError(`! ${event.toolName} failed\n`);
|
|
106
|
-
return;
|
|
107
|
-
}
|
|
108
|
-
if (event.type === "auto_retry_start") this.#stdio.writeError(`Retrying after ${event.errorMessage} (attempt ${event.attempt}/${event.maxAttempts})\n`);
|
|
109
|
-
}
|
|
110
|
-
|
|
111
|
-
async run(signal?: AbortSignal): Promise<number> {
|
|
112
|
-
if (this.#running) throw new Error("stdio application is already running");
|
|
113
|
-
this.#running = true;
|
|
114
|
-
const onAbort = () => {
|
|
115
|
-
void this.#runtime.abort().catch(() => {});
|
|
116
|
-
};
|
|
117
|
-
signal?.addEventListener("abort", onAbort, { once: true });
|
|
118
|
-
try {
|
|
119
|
-
if (signal?.aborted === true) return PROMPT_CANCELLED_EXIT_CODE;
|
|
120
|
-
let prompt: string;
|
|
121
|
-
try {
|
|
122
|
-
prompt = promptFromArgs(this.#launch.args) ?? (await this.#stdio.readPrompt());
|
|
123
|
-
} catch (error) {
|
|
124
|
-
if (error instanceof PiHarnessStdioCancelledError) return PROMPT_CANCELLED_EXIT_CODE;
|
|
125
|
-
this.#stdio.writeError(`${error instanceof Error ? error.message : String(error)}\n`);
|
|
126
|
-
return 2;
|
|
127
|
-
}
|
|
128
|
-
if (prompt.trim().length === 0) {
|
|
129
|
-
this.#stdio.writeError("Prompt is empty\n");
|
|
130
|
-
return 2;
|
|
131
|
-
}
|
|
132
|
-
try {
|
|
133
|
-
await this.#runtime.prompt(prompt);
|
|
134
|
-
} catch (error) {
|
|
135
|
-
this.#stdio.writeError(`${error instanceof Error ? error.message : String(error)}\n`);
|
|
136
|
-
return 1;
|
|
137
|
-
}
|
|
138
|
-
const lastAssistantMessage = this.#runtime.session.messages.findLast((message) => message.role === "assistant");
|
|
139
|
-
const stopReason = lastAssistantMessage?.stopReason;
|
|
140
|
-
if (stopReason === "error" || stopReason === "aborted" || stopReason === "length") {
|
|
141
|
-
if (this.#wroteOutput) this.#stdio.writeOutput("\n");
|
|
142
|
-
this.#stdio.writeError(
|
|
143
|
-
`${lastAssistantMessage?.errorMessage ?? (stopReason === "length" ? "Response was truncated by the model's output limit" : `Request ${stopReason}`)}\n`,
|
|
144
|
-
);
|
|
145
|
-
return 1;
|
|
146
|
-
}
|
|
147
|
-
if (!this.#wroteOutput) {
|
|
148
|
-
this.#stdio.writeError("The agent produced no output\n");
|
|
149
|
-
return 1;
|
|
150
|
-
}
|
|
151
|
-
this.#stdio.writeOutput("\n");
|
|
152
|
-
return 0;
|
|
153
|
-
} finally {
|
|
154
|
-
signal?.removeEventListener("abort", onAbort);
|
|
155
|
-
this.#running = false;
|
|
156
|
-
this.#pendingSeparator = false;
|
|
157
|
-
await this.#stdio.flush?.();
|
|
158
|
-
}
|
|
159
|
-
}
|
|
160
|
-
}
|