@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,96 +0,0 @@
|
|
|
1
|
-
import { mkdir, readFile, writeFile } from "node:fs/promises";
|
|
2
|
-
import { isAbsolute, join, 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 maxFiles = 32;
|
|
8
|
-
const maxFileBytes = 256 * 1024;
|
|
9
|
-
const maxTotalBytes = 2 * 1024 * 1024;
|
|
10
|
-
|
|
11
|
-
type SkillFile = { path: string; bytes: number };
|
|
12
|
-
type SkillReport = { slug: string; directory: string; files: SkillFile[]; bytes: number };
|
|
13
|
-
|
|
14
|
-
function slugify(name: string): string {
|
|
15
|
-
const slug = name
|
|
16
|
-
.trim()
|
|
17
|
-
.toLowerCase()
|
|
18
|
-
.replace(/[^a-z0-9]+/gu, "-")
|
|
19
|
-
.replace(/^-+|-+$/gu, "")
|
|
20
|
-
.slice(0, 64);
|
|
21
|
-
if (slug.length === 0) throw new Error("Skill name must contain at least one letter or number");
|
|
22
|
-
return slug;
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
function resolveWorkspaceFile(cwd: string, input: string): { absolute: string; display: string } {
|
|
26
|
-
if (typeof input !== "string" || input.trim() === "" || isAbsolute(input)) throw new Error("Skill files must be non-empty relative paths");
|
|
27
|
-
const absolute = resolve(cwd, input);
|
|
28
|
-
const display = relative(cwd, absolute);
|
|
29
|
-
if (display === "" || display.startsWith("..") || isAbsolute(display)) throw new Error(`Skill file must stay inside the workspace: ${input}`);
|
|
30
|
-
return { absolute, display };
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
async function createSkill(context: Context, params: { name: string; description: string; files: string[] }): Promise<SkillReport> {
|
|
34
|
-
if (!Array.isArray(params.files) || params.files.length === 0) throw new Error("At least one source file is required");
|
|
35
|
-
if (params.files.length > maxFiles) throw new Error(`A skill can include at most ${maxFiles} files`);
|
|
36
|
-
const cwd = context.piHarnessLaunch.cwd;
|
|
37
|
-
const slug = slugify(params.name);
|
|
38
|
-
const sources = params.files.map((file) => resolveWorkspaceFile(cwd, file));
|
|
39
|
-
const unique = new Set(sources.map((source) => source.display));
|
|
40
|
-
if (unique.size !== sources.length) throw new Error("Skill files must be unique");
|
|
41
|
-
let bytes = 0;
|
|
42
|
-
const files: SkillFile[] = [];
|
|
43
|
-
const output = join(cwd, ".pi", "skills", slug);
|
|
44
|
-
for (const source of sources) {
|
|
45
|
-
const content = await readFile(source.absolute);
|
|
46
|
-
if (content.byteLength > maxFileBytes) throw new Error(`Skill file exceeds ${maxFileBytes} bytes: ${source.display}`);
|
|
47
|
-
bytes += content.byteLength;
|
|
48
|
-
if (bytes > maxTotalBytes) throw new Error(`Skill sources exceed ${maxTotalBytes} bytes`);
|
|
49
|
-
const target = join(output, "references", source.display);
|
|
50
|
-
await mkdir(resolve(target, ".."), { recursive: true });
|
|
51
|
-
await writeFile(target, content);
|
|
52
|
-
files.push({ path: source.display, bytes: content.byteLength });
|
|
53
|
-
}
|
|
54
|
-
const description = params.description.trim();
|
|
55
|
-
if (description.length === 0) throw new Error("Skill description must not be empty");
|
|
56
|
-
const references = files.map((file) => `- [${file.path}](references/${file.path})`).join("\n");
|
|
57
|
-
const markdown = `---\nname: ${slug}\ndescription: ${description.replaceAll("\n", " ")}\n---\n\n# ${params.name.trim()}\n\n${description}\n\n## Reference files\n\n${references}\n`;
|
|
58
|
-
await mkdir(output, { recursive: true });
|
|
59
|
-
await writeFile(join(output, "SKILL.md"), markdown, "utf8");
|
|
60
|
-
return { slug, directory: output, files, bytes };
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
export default {
|
|
64
|
-
name: "pi-code2skill",
|
|
65
|
-
inject: ["piHarnessLaunch", "piPluginUi", "piTools"],
|
|
66
|
-
apply(context: Context) {
|
|
67
|
-
let generated = 0;
|
|
68
|
-
let latest: SkillReport | undefined;
|
|
69
|
-
const unregisterTool = context.piTools.register(
|
|
70
|
-
defineTool({
|
|
71
|
-
name: "skill_pack_create",
|
|
72
|
-
label: "Create skill pack",
|
|
73
|
-
description: "Package selected workspace source files into a local .pi/skills skill with a manifest and references.",
|
|
74
|
-
promptSnippet: "turn selected project files into a reusable skill pack",
|
|
75
|
-
parameters: Type.Object({ name: Type.String(), description: Type.String(), files: Type.Array(Type.String()) }),
|
|
76
|
-
async execute(_toolCallId, params): Promise<AgentToolResult<SkillReport>> {
|
|
77
|
-
latest = await createSkill(context, params);
|
|
78
|
-
generated += 1;
|
|
79
|
-
return { content: [{ type: "text", text: `Skill pack created: ${latest.slug} (${latest.files.length} file(s)).` }], details: latest };
|
|
80
|
-
},
|
|
81
|
-
}),
|
|
82
|
-
);
|
|
83
|
-
const disposePanel = context.piPluginUi.register({
|
|
84
|
-
id: "code2skill-panel",
|
|
85
|
-
pluginId: "@pi-harness/core/plugins/code2skill",
|
|
86
|
-
title: "Code2Skill",
|
|
87
|
-
description: "把工作区代码打包为可复用的 Pi Skill,保留来源文件并生成 SKILL.md。",
|
|
88
|
-
icon: "✦",
|
|
89
|
-
read: () => ({ generated, latest: latest ?? null }),
|
|
90
|
-
});
|
|
91
|
-
context.effect(() => () => {
|
|
92
|
-
unregisterTool();
|
|
93
|
-
disposePanel();
|
|
94
|
-
});
|
|
95
|
-
},
|
|
96
|
-
};
|
|
@@ -1,122 +0,0 @@
|
|
|
1
|
-
import type { Context } from "@deepseek-ai/cordis";
|
|
2
|
-
import { Type } from "@earendil-works/pi-ai";
|
|
3
|
-
import { defineTool, type AgentToolResult } from "@earendil-works/pi-coding-agent";
|
|
4
|
-
|
|
5
|
-
const customType = "pi-harness/colleague-handoff";
|
|
6
|
-
const maxTextLength = 4_000;
|
|
7
|
-
const maxListItems = 20;
|
|
8
|
-
|
|
9
|
-
export interface ColleagueHandoffInput {
|
|
10
|
-
toRole: string;
|
|
11
|
-
objective: string;
|
|
12
|
-
context?: string;
|
|
13
|
-
constraints?: string[];
|
|
14
|
-
files?: string[];
|
|
15
|
-
acceptance?: string[];
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
export interface ColleagueHandoff {
|
|
19
|
-
id: string;
|
|
20
|
-
toRole: string;
|
|
21
|
-
objective: string;
|
|
22
|
-
context: string;
|
|
23
|
-
constraints: string[];
|
|
24
|
-
files: string[];
|
|
25
|
-
acceptance: string[];
|
|
26
|
-
createdAt: string;
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
function boundedText(value: string | undefined, field: string): string {
|
|
30
|
-
const text = value?.trim() ?? "";
|
|
31
|
-
if (text.length > maxTextLength) throw new Error(`${field} must be ${maxTextLength} characters or fewer`);
|
|
32
|
-
return text;
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
function boundedList(values: string[] | undefined, field: string): string[] {
|
|
36
|
-
const list = values ?? [];
|
|
37
|
-
if (list.length > maxListItems) throw new Error(`${field} must contain ${maxListItems} items or fewer`);
|
|
38
|
-
return list.map((value) => boundedText(value, `${field} item`)).filter(Boolean);
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
export function createColleagueHandoff(input: ColleagueHandoffInput, id: string, createdAt: string): ColleagueHandoff {
|
|
42
|
-
const toRole = boundedText(input.toRole, "toRole");
|
|
43
|
-
const objective = boundedText(input.objective, "objective");
|
|
44
|
-
if (!toRole) throw new Error("toRole is required");
|
|
45
|
-
if (!objective) throw new Error("objective is required");
|
|
46
|
-
return {
|
|
47
|
-
id,
|
|
48
|
-
toRole,
|
|
49
|
-
objective,
|
|
50
|
-
context: boundedText(input.context, "context"),
|
|
51
|
-
constraints: boundedList(input.constraints, "constraints"),
|
|
52
|
-
files: boundedList(input.files, "files"),
|
|
53
|
-
acceptance: boundedList(input.acceptance, "acceptance"),
|
|
54
|
-
createdAt,
|
|
55
|
-
};
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
function readLatest(context: Context): ColleagueHandoff | undefined {
|
|
59
|
-
const entries = context.piSession.manager.getEntries();
|
|
60
|
-
const entry = [...entries].reverse().find((item) => item.type === "custom" && item.customType === customType);
|
|
61
|
-
if (entry?.type !== "custom" || entry.data === undefined || entry.data === null || typeof entry.data !== "object") return undefined;
|
|
62
|
-
const value = entry.data as Partial<ColleagueHandoff>;
|
|
63
|
-
if (typeof value.id !== "string" || typeof value.toRole !== "string" || typeof value.objective !== "string" || typeof value.createdAt !== "string")
|
|
64
|
-
return undefined;
|
|
65
|
-
return {
|
|
66
|
-
id: value.id,
|
|
67
|
-
toRole: value.toRole,
|
|
68
|
-
objective: value.objective,
|
|
69
|
-
context: typeof value.context === "string" ? value.context : "",
|
|
70
|
-
constraints: Array.isArray(value.constraints) ? value.constraints.filter((item): item is string => typeof item === "string") : [],
|
|
71
|
-
files: Array.isArray(value.files) ? value.files.filter((item): item is string => typeof item === "string") : [],
|
|
72
|
-
acceptance: Array.isArray(value.acceptance) ? value.acceptance.filter((item): item is string => typeof item === "string") : [],
|
|
73
|
-
createdAt: value.createdAt,
|
|
74
|
-
};
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
export default {
|
|
78
|
-
name: "pi-colleague-skill",
|
|
79
|
-
inject: ["piSession", "piPluginUi", "piTools"],
|
|
80
|
-
apply(context: Context) {
|
|
81
|
-
let latest = readLatest(context);
|
|
82
|
-
const unregister = context.piTools.register(
|
|
83
|
-
defineTool({
|
|
84
|
-
name: "colleague_handoff",
|
|
85
|
-
label: "Colleague handoff",
|
|
86
|
-
description: "Create a durable, structured handoff packet for another role without starting a hidden agent or sending external messages.",
|
|
87
|
-
promptSnippet: "prepare a structured handoff for a colleague role",
|
|
88
|
-
parameters: Type.Object({
|
|
89
|
-
toRole: Type.String({ description: "Receiving role, for example reviewer or frontend" }),
|
|
90
|
-
objective: Type.String({ description: "The concrete outcome the colleague should deliver" }),
|
|
91
|
-
context: Type.Optional(Type.String()),
|
|
92
|
-
constraints: Type.Optional(Type.Array(Type.String())),
|
|
93
|
-
files: Type.Optional(Type.Array(Type.String())),
|
|
94
|
-
acceptance: Type.Optional(Type.Array(Type.String())),
|
|
95
|
-
}),
|
|
96
|
-
execute(_toolCallId, params): Promise<AgentToolResult<ColleagueHandoff>> {
|
|
97
|
-
return Promise.resolve().then(() => {
|
|
98
|
-
const handoff = createColleagueHandoff(params, `handoff-${Date.now()}`, new Date().toISOString());
|
|
99
|
-
context.piSession.manager.appendCustomEntry(customType, handoff);
|
|
100
|
-
latest = handoff;
|
|
101
|
-
return {
|
|
102
|
-
content: [{ type: "text" as const, text: `Handoff ${handoff.id} prepared for ${handoff.toRole}.` }],
|
|
103
|
-
details: handoff,
|
|
104
|
-
};
|
|
105
|
-
});
|
|
106
|
-
},
|
|
107
|
-
}),
|
|
108
|
-
);
|
|
109
|
-
const disposePanel = context.piPluginUi.register({
|
|
110
|
-
id: "colleague-skill-panel",
|
|
111
|
-
pluginId: "@pi-harness/core/plugins/colleague-skill",
|
|
112
|
-
title: "Colleague Skill",
|
|
113
|
-
description: "把任务、上下文、约束和验收条件整理成可追踪的角色交接包。",
|
|
114
|
-
icon: "⇄",
|
|
115
|
-
read: () => ({ latest: latest ?? null }),
|
|
116
|
-
});
|
|
117
|
-
context.effect(() => () => {
|
|
118
|
-
unregister();
|
|
119
|
-
disposePanel();
|
|
120
|
-
});
|
|
121
|
-
},
|
|
122
|
-
};
|
|
@@ -1,117 +0,0 @@
|
|
|
1
|
-
import type { Context } from "@deepseek-ai/cordis";
|
|
2
|
-
import z from "@deepseek-ai/schemastery";
|
|
3
|
-
import { Type } from "@earendil-works/pi-ai";
|
|
4
|
-
import { defineTool, type AgentToolResult } from "@earendil-works/pi-coding-agent";
|
|
5
|
-
|
|
6
|
-
type ContextDoctorReport = {
|
|
7
|
-
status: "ok" | "warning";
|
|
8
|
-
usagePercent: number | null;
|
|
9
|
-
tokens: number | null;
|
|
10
|
-
contextWindow: number | null;
|
|
11
|
-
messageCount: number;
|
|
12
|
-
oversizedMessages: number;
|
|
13
|
-
toolErrors: number;
|
|
14
|
-
recommendations: string[];
|
|
15
|
-
};
|
|
16
|
-
|
|
17
|
-
export interface ContextDoctorPluginConfig {
|
|
18
|
-
warnPercent?: number;
|
|
19
|
-
maxMessageBytes?: number;
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
export const Config: z<ContextDoctorPluginConfig> = z.object({ warnPercent: z.number().default(75), maxMessageBytes: z.number().default(64 * 1024) });
|
|
23
|
-
|
|
24
|
-
function byteLength(value: unknown): number {
|
|
25
|
-
try {
|
|
26
|
-
return Buffer.byteLength(JSON.stringify(value), "utf8");
|
|
27
|
-
} catch {
|
|
28
|
-
return 0;
|
|
29
|
-
}
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
export function inspectMessages(
|
|
33
|
-
messages: readonly unknown[],
|
|
34
|
-
usage: { percent?: number | null; tokens?: number | null; contextWindow?: number | null } | undefined,
|
|
35
|
-
warnPercent: number,
|
|
36
|
-
maxMessageBytes: number,
|
|
37
|
-
): ContextDoctorReport {
|
|
38
|
-
const oversizedMessages = messages.filter((message) => byteLength(message) > maxMessageBytes).length;
|
|
39
|
-
const toolErrors = messages.filter(
|
|
40
|
-
(message) =>
|
|
41
|
-
typeof message === "object" &&
|
|
42
|
-
message !== null &&
|
|
43
|
-
(message as Record<string, unknown>).role === "toolResult" &&
|
|
44
|
-
(message as Record<string, unknown>).isError === true,
|
|
45
|
-
).length;
|
|
46
|
-
const usagePercent = typeof usage?.percent === "number" ? usage.percent : null;
|
|
47
|
-
const recommendations: string[] = [];
|
|
48
|
-
if (usagePercent !== null && usagePercent >= warnPercent) recommendations.push("压缩较早的会话历史,释放上下文空间。");
|
|
49
|
-
if (oversizedMessages > 0) recommendations.push(`检查 ${oversizedMessages} 条超大消息,优先引用摘要或文件路径。`);
|
|
50
|
-
if (toolErrors > 0) recommendations.push(`处理 ${toolErrors} 个工具错误后再继续长任务。`);
|
|
51
|
-
return {
|
|
52
|
-
status: recommendations.length === 0 ? "ok" : "warning",
|
|
53
|
-
usagePercent,
|
|
54
|
-
tokens: typeof usage?.tokens === "number" ? usage.tokens : null,
|
|
55
|
-
contextWindow: typeof usage?.contextWindow === "number" ? usage.contextWindow : null,
|
|
56
|
-
messageCount: messages.length,
|
|
57
|
-
oversizedMessages,
|
|
58
|
-
toolErrors,
|
|
59
|
-
recommendations,
|
|
60
|
-
};
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
export default {
|
|
64
|
-
name: "pi-context-doctor",
|
|
65
|
-
inject: ["piPluginUi", "piTools"],
|
|
66
|
-
Config,
|
|
67
|
-
apply(context: Context, config: ContextDoctorPluginConfig) {
|
|
68
|
-
const warnPercent = Math.max(1, Math.min(100, config.warnPercent ?? 75));
|
|
69
|
-
const maxMessageBytes = Math.max(1024, Math.min(1024 * 1024, Math.trunc(config.maxMessageBytes ?? 64 * 1024)));
|
|
70
|
-
const runtime = () => context.get("piRuntime");
|
|
71
|
-
const report = (): ContextDoctorReport => {
|
|
72
|
-
const service = runtime();
|
|
73
|
-
if (service === undefined) return inspectMessages([], undefined, warnPercent, maxMessageBytes);
|
|
74
|
-
return inspectMessages(service.session.messages, service.session.getContextUsage(), warnPercent, maxMessageBytes);
|
|
75
|
-
};
|
|
76
|
-
const unregisterTool = context.piTools.register(
|
|
77
|
-
defineTool({
|
|
78
|
-
name: "context_doctor",
|
|
79
|
-
label: "Context doctor",
|
|
80
|
-
description: "Audit context pressure, oversized messages, and tool errors; optionally compact after confirmation.",
|
|
81
|
-
promptSnippet: "audit context pressure and recommend safe cleanup",
|
|
82
|
-
parameters: Type.Object({
|
|
83
|
-
compact: Type.Optional(Type.Boolean({ description: "Compact the session after the audit" })),
|
|
84
|
-
confirm: Type.Optional(Type.Boolean({ description: "Must be true when compact is requested" })),
|
|
85
|
-
}),
|
|
86
|
-
async execute(_toolCallId, params): Promise<AgentToolResult<ContextDoctorReport & { compacted: boolean }>> {
|
|
87
|
-
if (params.compact === true && params.confirm !== true) throw new Error("Context compaction requires confirm=true");
|
|
88
|
-
const service = runtime();
|
|
89
|
-
if (service === undefined) throw new Error("Pi runtime is not ready");
|
|
90
|
-
if (params.compact === true) await service.session.compact();
|
|
91
|
-
const details = { ...report(), compacted: params.compact === true };
|
|
92
|
-
return {
|
|
93
|
-
content: [
|
|
94
|
-
{
|
|
95
|
-
type: "text",
|
|
96
|
-
text: `${details.status}: ${details.messageCount} messages, ${details.oversizedMessages} oversized, ${details.toolErrors} tool errors.`,
|
|
97
|
-
},
|
|
98
|
-
],
|
|
99
|
-
details,
|
|
100
|
-
};
|
|
101
|
-
},
|
|
102
|
-
}),
|
|
103
|
-
);
|
|
104
|
-
const disposePanel = context.piPluginUi.register({
|
|
105
|
-
id: "context-doctor-panel",
|
|
106
|
-
pluginId: "@pi-harness/core/plugins/context-doctor",
|
|
107
|
-
title: "Context Doctor",
|
|
108
|
-
description: "审计上下文压力、超大消息和工具错误,并给出压缩建议。",
|
|
109
|
-
icon: "⌁",
|
|
110
|
-
read: report,
|
|
111
|
-
});
|
|
112
|
-
context.effect(() => () => {
|
|
113
|
-
unregisterTool();
|
|
114
|
-
disposePanel();
|
|
115
|
-
});
|
|
116
|
-
},
|
|
117
|
-
};
|
|
@@ -1,102 +0,0 @@
|
|
|
1
|
-
import type { Context } from "@deepseek-ai/cordis";
|
|
2
|
-
import type { AgentSessionEvent } from "@earendil-works/pi-coding-agent";
|
|
3
|
-
import { Type } from "@earendil-works/pi-ai";
|
|
4
|
-
import { defineTool, type AgentToolResult } from "@earendil-works/pi-coding-agent";
|
|
5
|
-
|
|
6
|
-
type RuntimeEvent = AgentSessionEvent & { readonly type?: string };
|
|
7
|
-
type MessageRole = "user" | "assistant" | "toolResult" | "system" | "other";
|
|
8
|
-
type ContextComposition = Record<MessageRole, number>;
|
|
9
|
-
type ContextInsightReport = {
|
|
10
|
-
tokens: number | null;
|
|
11
|
-
contextWindow: number | null;
|
|
12
|
-
percent: number | null;
|
|
13
|
-
messages: number;
|
|
14
|
-
events: number;
|
|
15
|
-
compactions: number;
|
|
16
|
-
composition: ContextComposition;
|
|
17
|
-
eventTypes: Record<string, number>;
|
|
18
|
-
recentEvents: { type: string; at: number }[];
|
|
19
|
-
};
|
|
20
|
-
|
|
21
|
-
function messageRole(message: unknown): MessageRole {
|
|
22
|
-
if (typeof message !== "object" || message === null) return "other";
|
|
23
|
-
const role = (message as { role?: unknown }).role;
|
|
24
|
-
if (role === "user" || role === "assistant" || role === "toolResult" || role === "system") return role;
|
|
25
|
-
return "other";
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
export default {
|
|
29
|
-
name: "pi-context",
|
|
30
|
-
inject: ["piPluginUi", "piTools"],
|
|
31
|
-
apply(context: Context) {
|
|
32
|
-
let eventCount = 0;
|
|
33
|
-
let compactionCount = 0;
|
|
34
|
-
const eventTypes = new Map<string, number>();
|
|
35
|
-
const recentEvents: { type: string; at: number }[] = [];
|
|
36
|
-
const onEvent = (event: RuntimeEvent) => {
|
|
37
|
-
eventCount += 1;
|
|
38
|
-
const type = event.type ?? "unknown";
|
|
39
|
-
eventTypes.set(type, (eventTypes.get(type) ?? 0) + 1);
|
|
40
|
-
recentEvents.push({ type, at: Date.now() });
|
|
41
|
-
if (recentEvents.length > 50) recentEvents.shift();
|
|
42
|
-
if (type.startsWith("compaction_")) compactionCount += 1;
|
|
43
|
-
};
|
|
44
|
-
const unsubscribe = context.on("pi/session-event", onEvent);
|
|
45
|
-
const report = (): ContextInsightReport => {
|
|
46
|
-
const runtime = context.get("piRuntime");
|
|
47
|
-
if (runtime === undefined) {
|
|
48
|
-
return {
|
|
49
|
-
tokens: null,
|
|
50
|
-
contextWindow: null,
|
|
51
|
-
percent: null,
|
|
52
|
-
messages: 0,
|
|
53
|
-
events: eventCount,
|
|
54
|
-
compactions: compactionCount,
|
|
55
|
-
composition: { user: 0, assistant: 0, toolResult: 0, system: 0, other: 0 },
|
|
56
|
-
eventTypes: Object.fromEntries(eventTypes),
|
|
57
|
-
recentEvents: recentEvents.map((event) => ({ ...event })),
|
|
58
|
-
};
|
|
59
|
-
}
|
|
60
|
-
const usage = runtime.session.getContextUsage();
|
|
61
|
-
const composition: ContextComposition = { user: 0, assistant: 0, toolResult: 0, system: 0, other: 0 };
|
|
62
|
-
for (const message of runtime.session.messages) composition[messageRole(message)] += 1;
|
|
63
|
-
return {
|
|
64
|
-
tokens: usage?.tokens ?? null,
|
|
65
|
-
contextWindow: usage?.contextWindow ?? null,
|
|
66
|
-
percent: usage?.percent ?? null,
|
|
67
|
-
messages: runtime.session.messages.length,
|
|
68
|
-
events: eventCount,
|
|
69
|
-
compactions: compactionCount,
|
|
70
|
-
composition,
|
|
71
|
-
eventTypes: Object.fromEntries(eventTypes),
|
|
72
|
-
recentEvents: recentEvents.map((event) => ({ ...event })),
|
|
73
|
-
};
|
|
74
|
-
};
|
|
75
|
-
const unregisterTool = context.piTools.register(
|
|
76
|
-
defineTool({
|
|
77
|
-
name: "context_inspect",
|
|
78
|
-
label: "Context inspect",
|
|
79
|
-
description: "Inspect current context usage, message composition, and recent lifecycle events.",
|
|
80
|
-
promptSnippet: "inspect the current context composition and recent events",
|
|
81
|
-
parameters: Type.Object({}),
|
|
82
|
-
execute(): Promise<AgentToolResult<ContextInsightReport>> {
|
|
83
|
-
const details = report();
|
|
84
|
-
return Promise.resolve({ content: [{ type: "text", text: `${details.messages} messages, ${details.events} context events.` }], details });
|
|
85
|
-
},
|
|
86
|
-
}),
|
|
87
|
-
);
|
|
88
|
-
const disposePanel = context.piPluginUi.register({
|
|
89
|
-
id: "context-insight-panel",
|
|
90
|
-
pluginId: "@pi-harness/core/plugins/context",
|
|
91
|
-
title: "上下文洞察",
|
|
92
|
-
description: "查看当前上下文占用、消息规模和压缩事件。",
|
|
93
|
-
icon: "◒",
|
|
94
|
-
read: report,
|
|
95
|
-
});
|
|
96
|
-
context.effect(() => () => {
|
|
97
|
-
unsubscribe();
|
|
98
|
-
unregisterTool();
|
|
99
|
-
disposePanel();
|
|
100
|
-
});
|
|
101
|
-
},
|
|
102
|
-
};
|
|
@@ -1,231 +0,0 @@
|
|
|
1
|
-
import { randomUUID } from "node:crypto";
|
|
2
|
-
import { mkdir, open, readFile, rename, stat, unlink, writeFile } from "node:fs/promises";
|
|
3
|
-
import { basename, dirname, join, resolve } from "node:path";
|
|
4
|
-
import type { Context } from "@deepseek-ai/cordis";
|
|
5
|
-
import z from "@deepseek-ai/schemastery";
|
|
6
|
-
import { Type } from "@earendil-works/pi-ai";
|
|
7
|
-
import { defineTool, type AgentToolResult, type SessionStats } from "@earendil-works/pi-coding-agent";
|
|
8
|
-
|
|
9
|
-
const defaultFileName = "cost-meter.json";
|
|
10
|
-
const defaultMaxEntries = 365;
|
|
11
|
-
const maxFileEntries = 2_000;
|
|
12
|
-
|
|
13
|
-
export interface CostMeterPluginConfig {
|
|
14
|
-
fileName?: string;
|
|
15
|
-
dailyBudget?: number;
|
|
16
|
-
maxEntries?: number;
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
export const Config: z<CostMeterPluginConfig> = z.object({
|
|
20
|
-
fileName: z.string().default(defaultFileName),
|
|
21
|
-
dailyBudget: z.number().default(0),
|
|
22
|
-
maxEntries: z.number().default(defaultMaxEntries),
|
|
23
|
-
});
|
|
24
|
-
|
|
25
|
-
export interface CostEntry {
|
|
26
|
-
sessionId: string;
|
|
27
|
-
cost: number;
|
|
28
|
-
tokens: number;
|
|
29
|
-
messages: number;
|
|
30
|
-
recordedAt: string;
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
export interface CostMeterReport {
|
|
34
|
-
sessionCost: number;
|
|
35
|
-
todayCost: number;
|
|
36
|
-
lifetimeCost: number;
|
|
37
|
-
budget: number | null;
|
|
38
|
-
budgetPercent: number | null;
|
|
39
|
-
entries: CostEntry[];
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
interface CostFile {
|
|
43
|
-
version: 1;
|
|
44
|
-
entries: CostEntry[];
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
function normalizeFilePath(agentDir: string, fileName: string | undefined): string {
|
|
48
|
-
const name = (fileName ?? defaultFileName).trim();
|
|
49
|
-
if (name === "" || basename(name) !== name || !name.toLowerCase().endsWith(".json")) throw new Error("Cost meter fileName must be a single .json filename");
|
|
50
|
-
return resolve(agentDir, name);
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
function finiteCost(value: number): number {
|
|
54
|
-
return Number.isFinite(value) && value >= 0 ? Math.round(value * 1_000_000) / 1_000_000 : 0;
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
function todayKey(date: Date): string {
|
|
58
|
-
return date.toISOString().slice(0, 10);
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
function reportFor(entries: readonly CostEntry[], current: SessionStats, budget: number | null): CostMeterReport {
|
|
62
|
-
const today = todayKey(new Date());
|
|
63
|
-
const todayCost = entries.filter((entry) => entry.recordedAt.slice(0, 10) === today).reduce((sum, entry) => sum + entry.cost, 0);
|
|
64
|
-
const lifetimeCost = entries.reduce((sum, entry) => sum + entry.cost, 0);
|
|
65
|
-
const roundedToday = finiteCost(todayCost);
|
|
66
|
-
return {
|
|
67
|
-
sessionCost: finiteCost(current.cost),
|
|
68
|
-
todayCost: roundedToday,
|
|
69
|
-
lifetimeCost: finiteCost(lifetimeCost),
|
|
70
|
-
budget,
|
|
71
|
-
budgetPercent: budget === null || budget === 0 ? null : Math.round((roundedToday / budget) * 10_000) / 100,
|
|
72
|
-
entries: [...entries],
|
|
73
|
-
};
|
|
74
|
-
}
|
|
75
|
-
|
|
76
|
-
export function upsertCostEntry(entries: readonly CostEntry[], entry: CostEntry, limit: number): CostEntry[] {
|
|
77
|
-
return [entry, ...entries.filter((item) => item.sessionId !== entry.sessionId)].slice(0, limit);
|
|
78
|
-
}
|
|
79
|
-
|
|
80
|
-
export default {
|
|
81
|
-
name: "pi-cost-meter",
|
|
82
|
-
inject: ["piHarnessLaunch", "piPluginUi", "piTools"],
|
|
83
|
-
Config,
|
|
84
|
-
apply(context: Context, config: CostMeterPluginConfig) {
|
|
85
|
-
const filePath = normalizeFilePath(context.piHarnessLaunch.agentDir, config.fileName);
|
|
86
|
-
const budgetValue =
|
|
87
|
-
typeof config.dailyBudget === "number" && Number.isFinite(config.dailyBudget) && config.dailyBudget > 0 ? finiteCost(config.dailyBudget) : null;
|
|
88
|
-
const entryLimit = Math.max(1, Math.min(maxFileEntries, Math.trunc(config.maxEntries ?? defaultMaxEntries)));
|
|
89
|
-
let entries: CostEntry[] = [];
|
|
90
|
-
let loaded = false;
|
|
91
|
-
let loading: Promise<void> | undefined;
|
|
92
|
-
let writeQueue = Promise.resolve();
|
|
93
|
-
let pendingRecord: Promise<void> | undefined;
|
|
94
|
-
const runtime = () => {
|
|
95
|
-
const service = context.get("piRuntime");
|
|
96
|
-
if (service === undefined) throw new Error("Pi runtime is not ready");
|
|
97
|
-
return service;
|
|
98
|
-
};
|
|
99
|
-
const load = async (): Promise<void> => {
|
|
100
|
-
if (loaded) return;
|
|
101
|
-
if (loading !== undefined) return loading;
|
|
102
|
-
loading = (async () => {
|
|
103
|
-
try {
|
|
104
|
-
const parsed = JSON.parse(await readFile(filePath, "utf8")) as Partial<CostFile>;
|
|
105
|
-
if (parsed.version !== 1 || !Array.isArray(parsed.entries)) throw new Error("Cost meter file has an unsupported format");
|
|
106
|
-
entries = parsed.entries.filter(
|
|
107
|
-
(entry): entry is CostEntry =>
|
|
108
|
-
typeof entry === "object" &&
|
|
109
|
-
entry !== null &&
|
|
110
|
-
typeof entry.sessionId === "string" &&
|
|
111
|
-
typeof entry.recordedAt === "string" &&
|
|
112
|
-
typeof entry.cost === "number",
|
|
113
|
-
);
|
|
114
|
-
} catch (error) {
|
|
115
|
-
if ((error as NodeJS.ErrnoException).code !== "ENOENT") throw error;
|
|
116
|
-
entries = [];
|
|
117
|
-
}
|
|
118
|
-
loaded = true;
|
|
119
|
-
})();
|
|
120
|
-
return loading;
|
|
121
|
-
};
|
|
122
|
-
const persist = async (): Promise<void> => {
|
|
123
|
-
writeQueue = writeQueue.then(async () => {
|
|
124
|
-
await mkdir(dirname(filePath), { recursive: true });
|
|
125
|
-
const lockPath = `${filePath}.lock`;
|
|
126
|
-
let lock: Awaited<ReturnType<typeof open>> | undefined;
|
|
127
|
-
for (let attempt = 0; attempt < 80; attempt += 1) {
|
|
128
|
-
try {
|
|
129
|
-
lock = await open(lockPath, "wx", 0o600);
|
|
130
|
-
break;
|
|
131
|
-
} catch (error) {
|
|
132
|
-
if ((error as NodeJS.ErrnoException).code !== "EEXIST" || attempt === 79) throw error;
|
|
133
|
-
const lockAge = await stat(lockPath)
|
|
134
|
-
.then((metadata) => Date.now() - metadata.mtimeMs)
|
|
135
|
-
.catch(() => 0);
|
|
136
|
-
if (lockAge > 30_000) await unlink(lockPath).catch(() => {});
|
|
137
|
-
await new Promise((resolveDelay) => setTimeout(resolveDelay, 25));
|
|
138
|
-
}
|
|
139
|
-
}
|
|
140
|
-
if (lock === undefined) throw new Error("Could not acquire the cost meter persistence lock");
|
|
141
|
-
try {
|
|
142
|
-
const diskEntries = await readFile(filePath, "utf8")
|
|
143
|
-
.then((source) => {
|
|
144
|
-
const parsed = JSON.parse(source) as Partial<CostFile>;
|
|
145
|
-
return parsed.version === 1 && Array.isArray(parsed.entries) ? parsed.entries : [];
|
|
146
|
-
})
|
|
147
|
-
.catch((error: unknown) => {
|
|
148
|
-
if ((error as NodeJS.ErrnoException).code === "ENOENT") return [];
|
|
149
|
-
throw error;
|
|
150
|
-
});
|
|
151
|
-
const merged = new Map(diskEntries.map((entry) => [entry.sessionId, entry]));
|
|
152
|
-
for (const entry of entries) {
|
|
153
|
-
const existing = merged.get(entry.sessionId);
|
|
154
|
-
if (existing === undefined || entry.recordedAt >= existing.recordedAt) merged.set(entry.sessionId, entry);
|
|
155
|
-
}
|
|
156
|
-
entries = [...merged.values()].sort((left, right) => right.recordedAt.localeCompare(left.recordedAt)).slice(0, entryLimit);
|
|
157
|
-
const payload = JSON.stringify({ version: 1, entries } satisfies CostFile, null, 2);
|
|
158
|
-
const temporary = join(dirname(filePath), `.${basename(filePath)}.${randomUUID()}.tmp`);
|
|
159
|
-
let renamed = false;
|
|
160
|
-
try {
|
|
161
|
-
await writeFile(temporary, payload, { encoding: "utf8", mode: 0o600, flag: "wx" });
|
|
162
|
-
await rename(temporary, filePath);
|
|
163
|
-
renamed = true;
|
|
164
|
-
} finally {
|
|
165
|
-
if (!renamed) await unlink(temporary).catch(() => {});
|
|
166
|
-
}
|
|
167
|
-
} finally {
|
|
168
|
-
await lock.close();
|
|
169
|
-
await unlink(lockPath).catch(() => {});
|
|
170
|
-
}
|
|
171
|
-
});
|
|
172
|
-
await writeQueue;
|
|
173
|
-
};
|
|
174
|
-
const record = async (): Promise<void> => {
|
|
175
|
-
await load();
|
|
176
|
-
const current = runtime().session.getSessionStats();
|
|
177
|
-
const signature = `${current.sessionId}:${current.totalMessages}:${finiteCost(current.cost)}`;
|
|
178
|
-
if (entries.some((entry) => `${entry.sessionId}:${entry.messages}:${entry.cost}` === signature)) return;
|
|
179
|
-
entries = upsertCostEntry(
|
|
180
|
-
entries,
|
|
181
|
-
{
|
|
182
|
-
sessionId: current.sessionId,
|
|
183
|
-
cost: finiteCost(current.cost),
|
|
184
|
-
tokens: current.tokens.total,
|
|
185
|
-
messages: current.totalMessages,
|
|
186
|
-
recordedAt: new Date().toISOString(),
|
|
187
|
-
},
|
|
188
|
-
entryLimit,
|
|
189
|
-
);
|
|
190
|
-
await persist();
|
|
191
|
-
};
|
|
192
|
-
const readReport = async (): Promise<CostMeterReport> => {
|
|
193
|
-
await load();
|
|
194
|
-
await pendingRecord;
|
|
195
|
-
return reportFor(entries, runtime().session.getSessionStats(), budgetValue);
|
|
196
|
-
};
|
|
197
|
-
const unsubscribe = context.on("pi/session-event", (event) => {
|
|
198
|
-
if (event.type === "agent_end") pendingRecord = record();
|
|
199
|
-
});
|
|
200
|
-
const unregister = context.piTools.register(
|
|
201
|
-
defineTool({
|
|
202
|
-
name: "cost_report",
|
|
203
|
-
label: "Cost report",
|
|
204
|
-
description: "Inspect current-session, daily, and persisted local model cost usage with an optional daily budget.",
|
|
205
|
-
promptSnippet: "inspect session and daily model cost usage",
|
|
206
|
-
parameters: Type.Object({ refresh: Type.Optional(Type.Boolean({ description: "Record the current completed session before reporting" })) }),
|
|
207
|
-
async execute(_toolCallId, params): Promise<AgentToolResult<CostMeterReport>> {
|
|
208
|
-
if (params.refresh === true) await record();
|
|
209
|
-
const report = await readReport();
|
|
210
|
-
return {
|
|
211
|
-
content: [{ type: "text", text: `Today cost $${report.todayCost.toFixed(4)}; current session $${report.sessionCost.toFixed(4)}.` }],
|
|
212
|
-
details: report,
|
|
213
|
-
};
|
|
214
|
-
},
|
|
215
|
-
}),
|
|
216
|
-
);
|
|
217
|
-
const disposePanel = context.piPluginUi.register({
|
|
218
|
-
id: "cost-meter-panel",
|
|
219
|
-
pluginId: "@pi-harness/core/plugins/cost-meter",
|
|
220
|
-
title: "Cost Meter",
|
|
221
|
-
description: "查看当前会话、今日和历史成本,并监控每日预算。",
|
|
222
|
-
icon: "¤",
|
|
223
|
-
read: readReport,
|
|
224
|
-
});
|
|
225
|
-
context.effect(() => () => {
|
|
226
|
-
unsubscribe();
|
|
227
|
-
unregister();
|
|
228
|
-
disposePanel();
|
|
229
|
-
});
|
|
230
|
-
},
|
|
231
|
-
};
|