@pi-harness/pi-harness 0.1.28 → 0.1.30
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 +1 -1
- package/apps/web/dist/assets/{index-1vaEg8Vr.js → index-B7pwZ76Z.js} +2 -2
- package/apps/web/dist/index.html +1 -1
- package/apps/web/package.json +1 -15
- package/apps/web/profile/cordis.yml +73 -73
- package/apps/web/server-dist/bin.js +4 -2
- package/apps/web/server-dist/bin.js.map +1 -1
- package/apps/web/src/server/bin.ts +4 -2
- package/apps/web/test/bin.test.ts +6 -0
- package/node_modules/@pi-harness/api-gateway/dist/index.d.ts.map +1 -1
- package/node_modules/@pi-harness/api-gateway/dist/index.js +5 -12
- 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 +3 -3
- package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/anchored-standard.json +3 -3
- package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/annotation.json +3 -3
- package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/archify.json +3 -3
- package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/at-file.json +3 -3
- package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/auto-mode.json +3 -3
- package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/better-sidebar.json +3 -3
- package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/browser-fetch.json +3 -3
- package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/browser-session.json +3 -3
- package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/canvas-draw.json +3 -3
- package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/change-verifier.json +3 -3
- package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/cleaner.json +3 -3
- package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/cli-notifier.json +3 -3
- package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/code2skill.json +3 -3
- package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/colleague-skill.json +3 -3
- package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/context-doctor.json +3 -3
- package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/context.json +3 -3
- package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/cost-meter.json +3 -3
- package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/dependency-checker.json +3 -3
- package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/docker-sandbox.json +3 -3
- package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/fail-logger.json +3 -3
- package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/genui.json +3 -3
- package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/git-time-capsule.json +3 -3
- package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/graph-memory.json +3 -3
- package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/history-compressor.json +3 -3
- package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/hol-guard.json +3 -3
- package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/i18n-pair.json +3 -3
- package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/image-compressor.json +3 -3
- package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/llm-verifier.json +3 -3
- package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/mcp-client.json +3 -3
- package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/mcp-panel.json +3 -3
- package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/memory.json +3 -3
- package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/mirage-bridge.json +3 -3
- package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/mock-server.json +3 -3
- package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/modlens.json +3 -3
- package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/module-search.json +3 -3
- package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/obsidian-sync.json +3 -3
- package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/openpets.json +3 -3
- package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/plan-execute.json +3 -3
- package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/plugin-check.json +3 -3
- package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/plugin-dev.json +3 -3
- package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/plugin-finder.json +3 -3
- package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/plugin-radar.json +3 -3
- package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/plugin-stars.json +3 -3
- package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/prompt-guard.json +3 -3
- package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/prompt-library.json +3 -3
- package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/readme-gen.json +3 -3
- package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/recall-unread.json +3 -3
- package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/reverse-skill.json +3 -3
- package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/reviewer-bot.json +3 -3
- package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/runtime-doctor.json +3 -3
- package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/secure-audit.json +3 -3
- package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/session-bookmarks.json +3 -3
- package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/session-bridge.json +3 -3
- package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/session-compare.json +3 -3
- package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/session-export.json +3 -3
- package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/session-insights.json +3 -3
- package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/session-search.json +3 -3
- package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/skill-catalog.json +3 -3
- package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/skill-guard.json +3 -3
- package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/sql-lens.json +3 -3
- package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/synapse.json +3 -3
- package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/tab-manager.json +3 -3
- package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/taskboard.json +3 -3
- package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/telemetry-blocker.json +3 -3
- package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/test-harness.json +3 -3
- package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/theme-studio.json +3 -3
- package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/token-guard.json +3 -3
- package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/turn-rewind.json +3 -3
- package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/undo-savepoint.json +3 -3
- package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/vision-toolkit.json +3 -3
- package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/web-research.json +3 -3
- package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/workspace-navigator.json +3 -3
- package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/workspace-search.json +3 -3
- package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/yaml-validator.json +3 -3
- package/node_modules/@pi-harness/api-gateway/dist/marketplace.d.ts +0 -1
- package/node_modules/@pi-harness/api-gateway/dist/marketplace.d.ts.map +1 -1
- package/node_modules/@pi-harness/api-gateway/dist/marketplace.js +0 -3
- package/node_modules/@pi-harness/api-gateway/dist/marketplace.js.map +1 -1
- package/node_modules/@pi-harness/api-gateway/package.json +27 -1
- package/node_modules/@pi-harness/cli/dist/bin.js +2 -1
- package/node_modules/@pi-harness/cli/dist/bin.js.map +1 -1
- package/node_modules/@pi-harness/cli/dist/main.d.ts +2 -0
- package/node_modules/@pi-harness/cli/dist/main.d.ts.map +1 -1
- package/node_modules/@pi-harness/cli/dist/main.js +12 -2
- package/node_modules/@pi-harness/cli/dist/main.js.map +1 -1
- package/node_modules/@pi-harness/cli/dist/profiles.d.ts +3 -0
- package/node_modules/@pi-harness/cli/dist/profiles.d.ts.map +1 -0
- package/node_modules/@pi-harness/cli/dist/profiles.js +5 -0
- package/node_modules/@pi-harness/cli/dist/profiles.js.map +1 -0
- package/node_modules/@pi-harness/cli/package.json +3 -2
- package/node_modules/@pi-harness/cli/profiles/default/cordis.yml +122 -0
- package/node_modules/@pi-harness/cli/profiles/development/cordis.yml +47 -0
- 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 +88 -15
- package/packages/api-gateway/dist/index.d.ts.map +1 -1
- package/packages/api-gateway/dist/index.js +5 -12
- package/packages/api-gateway/dist/index.js.map +1 -1
- package/packages/api-gateway/dist/marketplace-entries/official/agent-teams.json +3 -3
- package/packages/api-gateway/dist/marketplace-entries/official/anchored-standard.json +3 -3
- package/packages/api-gateway/dist/marketplace-entries/official/annotation.json +3 -3
- package/packages/api-gateway/dist/marketplace-entries/official/archify.json +3 -3
- package/packages/api-gateway/dist/marketplace-entries/official/at-file.json +3 -3
- package/packages/api-gateway/dist/marketplace-entries/official/auto-mode.json +3 -3
- package/packages/api-gateway/dist/marketplace-entries/official/better-sidebar.json +3 -3
- package/packages/api-gateway/dist/marketplace-entries/official/browser-fetch.json +3 -3
- package/packages/api-gateway/dist/marketplace-entries/official/browser-session.json +3 -3
- package/packages/api-gateway/dist/marketplace-entries/official/canvas-draw.json +3 -3
- package/packages/api-gateway/dist/marketplace-entries/official/change-verifier.json +3 -3
- package/packages/api-gateway/dist/marketplace-entries/official/cleaner.json +3 -3
- package/packages/api-gateway/dist/marketplace-entries/official/cli-notifier.json +3 -3
- package/packages/api-gateway/dist/marketplace-entries/official/code2skill.json +3 -3
- package/packages/api-gateway/dist/marketplace-entries/official/colleague-skill.json +3 -3
- package/packages/api-gateway/dist/marketplace-entries/official/context-doctor.json +3 -3
- package/packages/api-gateway/dist/marketplace-entries/official/context.json +3 -3
- package/packages/api-gateway/dist/marketplace-entries/official/cost-meter.json +3 -3
- package/packages/api-gateway/dist/marketplace-entries/official/dependency-checker.json +3 -3
- package/packages/api-gateway/dist/marketplace-entries/official/docker-sandbox.json +3 -3
- package/packages/api-gateway/dist/marketplace-entries/official/fail-logger.json +3 -3
- package/packages/api-gateway/dist/marketplace-entries/official/genui.json +3 -3
- package/packages/api-gateway/dist/marketplace-entries/official/git-time-capsule.json +3 -3
- package/packages/api-gateway/dist/marketplace-entries/official/graph-memory.json +3 -3
- package/packages/api-gateway/dist/marketplace-entries/official/history-compressor.json +3 -3
- package/packages/api-gateway/dist/marketplace-entries/official/hol-guard.json +3 -3
- package/packages/api-gateway/dist/marketplace-entries/official/i18n-pair.json +3 -3
- package/packages/api-gateway/dist/marketplace-entries/official/image-compressor.json +3 -3
- package/packages/api-gateway/dist/marketplace-entries/official/llm-verifier.json +3 -3
- package/packages/api-gateway/dist/marketplace-entries/official/mcp-client.json +3 -3
- package/packages/api-gateway/dist/marketplace-entries/official/mcp-panel.json +3 -3
- package/packages/api-gateway/dist/marketplace-entries/official/memory.json +3 -3
- package/packages/api-gateway/dist/marketplace-entries/official/mirage-bridge.json +3 -3
- package/packages/api-gateway/dist/marketplace-entries/official/mock-server.json +3 -3
- package/packages/api-gateway/dist/marketplace-entries/official/modlens.json +3 -3
- package/packages/api-gateway/dist/marketplace-entries/official/module-search.json +3 -3
- package/packages/api-gateway/dist/marketplace-entries/official/obsidian-sync.json +3 -3
- package/packages/api-gateway/dist/marketplace-entries/official/openpets.json +3 -3
- package/packages/api-gateway/dist/marketplace-entries/official/plan-execute.json +3 -3
- package/packages/api-gateway/dist/marketplace-entries/official/plugin-check.json +3 -3
- package/packages/api-gateway/dist/marketplace-entries/official/plugin-dev.json +3 -3
- package/packages/api-gateway/dist/marketplace-entries/official/plugin-finder.json +3 -3
- package/packages/api-gateway/dist/marketplace-entries/official/plugin-radar.json +3 -3
- package/packages/api-gateway/dist/marketplace-entries/official/plugin-stars.json +3 -3
- package/packages/api-gateway/dist/marketplace-entries/official/prompt-guard.json +3 -3
- package/packages/api-gateway/dist/marketplace-entries/official/prompt-library.json +3 -3
- package/packages/api-gateway/dist/marketplace-entries/official/readme-gen.json +3 -3
- package/packages/api-gateway/dist/marketplace-entries/official/recall-unread.json +3 -3
- package/packages/api-gateway/dist/marketplace-entries/official/reverse-skill.json +3 -3
- package/packages/api-gateway/dist/marketplace-entries/official/reviewer-bot.json +3 -3
- package/packages/api-gateway/dist/marketplace-entries/official/runtime-doctor.json +3 -3
- package/packages/api-gateway/dist/marketplace-entries/official/secure-audit.json +3 -3
- package/packages/api-gateway/dist/marketplace-entries/official/session-bookmarks.json +3 -3
- package/packages/api-gateway/dist/marketplace-entries/official/session-bridge.json +3 -3
- package/packages/api-gateway/dist/marketplace-entries/official/session-compare.json +3 -3
- package/packages/api-gateway/dist/marketplace-entries/official/session-export.json +3 -3
- package/packages/api-gateway/dist/marketplace-entries/official/session-insights.json +3 -3
- package/packages/api-gateway/dist/marketplace-entries/official/session-search.json +3 -3
- package/packages/api-gateway/dist/marketplace-entries/official/skill-catalog.json +3 -3
- package/packages/api-gateway/dist/marketplace-entries/official/skill-guard.json +3 -3
- package/packages/api-gateway/dist/marketplace-entries/official/sql-lens.json +3 -3
- package/packages/api-gateway/dist/marketplace-entries/official/synapse.json +3 -3
- package/packages/api-gateway/dist/marketplace-entries/official/tab-manager.json +3 -3
- package/packages/api-gateway/dist/marketplace-entries/official/taskboard.json +3 -3
- package/packages/api-gateway/dist/marketplace-entries/official/telemetry-blocker.json +3 -3
- package/packages/api-gateway/dist/marketplace-entries/official/test-harness.json +3 -3
- package/packages/api-gateway/dist/marketplace-entries/official/theme-studio.json +3 -3
- package/packages/api-gateway/dist/marketplace-entries/official/token-guard.json +3 -3
- package/packages/api-gateway/dist/marketplace-entries/official/turn-rewind.json +3 -3
- package/packages/api-gateway/dist/marketplace-entries/official/undo-savepoint.json +3 -3
- package/packages/api-gateway/dist/marketplace-entries/official/vision-toolkit.json +3 -3
- package/packages/api-gateway/dist/marketplace-entries/official/web-research.json +3 -3
- package/packages/api-gateway/dist/marketplace-entries/official/workspace-navigator.json +3 -3
- package/packages/api-gateway/dist/marketplace-entries/official/workspace-search.json +3 -3
- package/packages/api-gateway/dist/marketplace-entries/official/yaml-validator.json +3 -3
- package/packages/api-gateway/dist/marketplace.d.ts +0 -1
- package/packages/api-gateway/dist/marketplace.d.ts.map +1 -1
- package/packages/api-gateway/dist/marketplace.js +0 -3
- package/packages/api-gateway/dist/marketplace.js.map +1 -1
- package/packages/api-gateway/package.json +27 -1
- package/packages/api-gateway/src/index.ts +4 -12
- package/packages/api-gateway/src/marketplace-entries/official/agent-teams.json +3 -3
- package/packages/api-gateway/src/marketplace-entries/official/anchored-standard.json +3 -3
- package/packages/api-gateway/src/marketplace-entries/official/annotation.json +3 -3
- package/packages/api-gateway/src/marketplace-entries/official/archify.json +3 -3
- package/packages/api-gateway/src/marketplace-entries/official/at-file.json +3 -3
- package/packages/api-gateway/src/marketplace-entries/official/auto-mode.json +3 -3
- package/packages/api-gateway/src/marketplace-entries/official/better-sidebar.json +3 -3
- package/packages/api-gateway/src/marketplace-entries/official/browser-fetch.json +3 -3
- package/packages/api-gateway/src/marketplace-entries/official/browser-session.json +3 -3
- package/packages/api-gateway/src/marketplace-entries/official/canvas-draw.json +3 -3
- package/packages/api-gateway/src/marketplace-entries/official/change-verifier.json +3 -3
- package/packages/api-gateway/src/marketplace-entries/official/cleaner.json +3 -3
- package/packages/api-gateway/src/marketplace-entries/official/cli-notifier.json +3 -3
- package/packages/api-gateway/src/marketplace-entries/official/code2skill.json +3 -3
- package/packages/api-gateway/src/marketplace-entries/official/colleague-skill.json +3 -3
- package/packages/api-gateway/src/marketplace-entries/official/context-doctor.json +3 -3
- package/packages/api-gateway/src/marketplace-entries/official/context.json +3 -3
- package/packages/api-gateway/src/marketplace-entries/official/cost-meter.json +3 -3
- package/packages/api-gateway/src/marketplace-entries/official/dependency-checker.json +3 -3
- package/packages/api-gateway/src/marketplace-entries/official/docker-sandbox.json +3 -3
- package/packages/api-gateway/src/marketplace-entries/official/fail-logger.json +3 -3
- package/packages/api-gateway/src/marketplace-entries/official/genui.json +3 -3
- package/packages/api-gateway/src/marketplace-entries/official/git-time-capsule.json +3 -3
- package/packages/api-gateway/src/marketplace-entries/official/graph-memory.json +3 -3
- package/packages/api-gateway/src/marketplace-entries/official/history-compressor.json +3 -3
- package/packages/api-gateway/src/marketplace-entries/official/hol-guard.json +3 -3
- package/packages/api-gateway/src/marketplace-entries/official/i18n-pair.json +3 -3
- package/packages/api-gateway/src/marketplace-entries/official/image-compressor.json +3 -3
- package/packages/api-gateway/src/marketplace-entries/official/llm-verifier.json +3 -3
- package/packages/api-gateway/src/marketplace-entries/official/mcp-client.json +3 -3
- package/packages/api-gateway/src/marketplace-entries/official/mcp-panel.json +3 -3
- package/packages/api-gateway/src/marketplace-entries/official/memory.json +3 -3
- package/packages/api-gateway/src/marketplace-entries/official/mirage-bridge.json +3 -3
- package/packages/api-gateway/src/marketplace-entries/official/mock-server.json +3 -3
- package/packages/api-gateway/src/marketplace-entries/official/modlens.json +3 -3
- package/packages/api-gateway/src/marketplace-entries/official/module-search.json +3 -3
- package/packages/api-gateway/src/marketplace-entries/official/obsidian-sync.json +3 -3
- package/packages/api-gateway/src/marketplace-entries/official/openpets.json +3 -3
- package/packages/api-gateway/src/marketplace-entries/official/plan-execute.json +3 -3
- package/packages/api-gateway/src/marketplace-entries/official/plugin-check.json +3 -3
- package/packages/api-gateway/src/marketplace-entries/official/plugin-dev.json +3 -3
- package/packages/api-gateway/src/marketplace-entries/official/plugin-finder.json +3 -3
- package/packages/api-gateway/src/marketplace-entries/official/plugin-radar.json +3 -3
- package/packages/api-gateway/src/marketplace-entries/official/plugin-stars.json +3 -3
- package/packages/api-gateway/src/marketplace-entries/official/prompt-guard.json +3 -3
- package/packages/api-gateway/src/marketplace-entries/official/prompt-library.json +3 -3
- package/packages/api-gateway/src/marketplace-entries/official/readme-gen.json +3 -3
- package/packages/api-gateway/src/marketplace-entries/official/recall-unread.json +3 -3
- package/packages/api-gateway/src/marketplace-entries/official/reverse-skill.json +3 -3
- package/packages/api-gateway/src/marketplace-entries/official/reviewer-bot.json +3 -3
- package/packages/api-gateway/src/marketplace-entries/official/runtime-doctor.json +3 -3
- package/packages/api-gateway/src/marketplace-entries/official/secure-audit.json +3 -3
- package/packages/api-gateway/src/marketplace-entries/official/session-bookmarks.json +3 -3
- package/packages/api-gateway/src/marketplace-entries/official/session-bridge.json +3 -3
- package/packages/api-gateway/src/marketplace-entries/official/session-compare.json +3 -3
- package/packages/api-gateway/src/marketplace-entries/official/session-export.json +3 -3
- package/packages/api-gateway/src/marketplace-entries/official/session-insights.json +3 -3
- package/packages/api-gateway/src/marketplace-entries/official/session-search.json +3 -3
- package/packages/api-gateway/src/marketplace-entries/official/skill-catalog.json +3 -3
- package/packages/api-gateway/src/marketplace-entries/official/skill-guard.json +3 -3
- package/packages/api-gateway/src/marketplace-entries/official/sql-lens.json +3 -3
- package/packages/api-gateway/src/marketplace-entries/official/synapse.json +3 -3
- package/packages/api-gateway/src/marketplace-entries/official/tab-manager.json +3 -3
- package/packages/api-gateway/src/marketplace-entries/official/taskboard.json +3 -3
- package/packages/api-gateway/src/marketplace-entries/official/telemetry-blocker.json +3 -3
- package/packages/api-gateway/src/marketplace-entries/official/test-harness.json +3 -3
- package/packages/api-gateway/src/marketplace-entries/official/theme-studio.json +3 -3
- package/packages/api-gateway/src/marketplace-entries/official/token-guard.json +3 -3
- package/packages/api-gateway/src/marketplace-entries/official/turn-rewind.json +3 -3
- package/packages/api-gateway/src/marketplace-entries/official/undo-savepoint.json +3 -3
- package/packages/api-gateway/src/marketplace-entries/official/vision-toolkit.json +3 -3
- package/packages/api-gateway/src/marketplace-entries/official/web-research.json +3 -3
- package/packages/api-gateway/src/marketplace-entries/official/workspace-navigator.json +3 -3
- package/packages/api-gateway/src/marketplace-entries/official/workspace-search.json +3 -3
- package/packages/api-gateway/src/marketplace-entries/official/yaml-validator.json +3 -3
- package/packages/api-gateway/src/marketplace.ts +0 -4
- package/packages/api-gateway/test/index.test.ts +140 -94
- package/packages/api-gateway/test/marketplace-schema.test.ts +1 -1
- package/packages/api-gateway/test/marketplace.test.ts +7 -9
- package/packages/api-gateway/test/packed-package.test.ts +95 -11
- package/packages/api-gateway/test/release-contract.test.ts +37 -6
- package/packages/api-gateway/test/release-package.test.ts +1 -1
- package/packages/api-gateway/test/release-version.test.ts +79 -3
- package/packages/bundle-web-app/package.json +1 -1
- package/packages/cli/dist/bin.js +2 -1
- package/packages/cli/dist/bin.js.map +1 -1
- package/packages/cli/dist/main.d.ts +2 -0
- package/packages/cli/dist/main.d.ts.map +1 -1
- package/packages/cli/dist/main.js +12 -2
- package/packages/cli/dist/main.js.map +1 -1
- package/packages/cli/dist/profiles.d.ts +3 -0
- package/packages/cli/dist/profiles.d.ts.map +1 -0
- package/packages/cli/dist/profiles.js +5 -0
- package/packages/cli/dist/profiles.js.map +1 -0
- package/packages/cli/package.json +3 -2
- package/packages/cli/profiles/default/cordis.yml +122 -0
- package/packages/cli/profiles/development/cordis.yml +47 -0
- package/packages/cli/src/bin.ts +2 -1
- package/packages/cli/src/main.ts +14 -2
- package/packages/cli/src/profiles.ts +6 -0
- package/packages/cli/test/binary.test.ts +5 -1
- package/packages/cli/test/broken-pipe.test.ts +1 -1
- package/packages/cli/test/cli.test.ts +1 -0
- package/packages/cli/test/main.test.ts +1 -0
- package/packages/cli/test/profiles.integration.test.ts +575 -0
- package/packages/host-webserver/package.json +1 -1
|
@@ -0,0 +1,122 @@
|
|
|
1
|
+
- id: agent
|
|
2
|
+
name: cordis:group
|
|
3
|
+
group: true
|
|
4
|
+
config:
|
|
5
|
+
- id: models
|
|
6
|
+
name: "@pi-harness/core/plugins/models"
|
|
7
|
+
config:
|
|
8
|
+
provider: deepseek
|
|
9
|
+
model: deepseek-v4-flash
|
|
10
|
+
refreshOnCreate: false
|
|
11
|
+
- id: resources
|
|
12
|
+
name: "@pi-harness/core/plugins/resources"
|
|
13
|
+
config: {}
|
|
14
|
+
- id: model
|
|
15
|
+
name: "@pi-harness/core/plugins/model"
|
|
16
|
+
config: {}
|
|
17
|
+
- id: session
|
|
18
|
+
name: "@pi-harness/core/plugins/session"
|
|
19
|
+
config:
|
|
20
|
+
storage: jsonl
|
|
21
|
+
- id: tools
|
|
22
|
+
name: "@pi-harness/core/plugins/tools"
|
|
23
|
+
config:
|
|
24
|
+
names:
|
|
25
|
+
- read
|
|
26
|
+
- bash
|
|
27
|
+
- edit
|
|
28
|
+
- write
|
|
29
|
+
- id: agent-teams
|
|
30
|
+
name: "@pi-harness/plugin-agent-teams"
|
|
31
|
+
config: {}
|
|
32
|
+
- id: modlens
|
|
33
|
+
name: "@pi-harness/plugin-modlens"
|
|
34
|
+
config: {}
|
|
35
|
+
- id: vision-toolkit
|
|
36
|
+
name: "@pi-harness/plugin-vision-toolkit"
|
|
37
|
+
config: {}
|
|
38
|
+
- id: git-time-capsule
|
|
39
|
+
name: "@pi-harness/plugin-git-time-capsule"
|
|
40
|
+
config: {}
|
|
41
|
+
- id: dependency-checker
|
|
42
|
+
name: "@pi-harness/plugin-dependency-checker"
|
|
43
|
+
config: {}
|
|
44
|
+
- id: at-file
|
|
45
|
+
name: "@pi-harness/plugin-at-file"
|
|
46
|
+
config: {}
|
|
47
|
+
- id: test-harness
|
|
48
|
+
name: "@pi-harness/plugin-test-harness"
|
|
49
|
+
config:
|
|
50
|
+
timeoutMs: 120000
|
|
51
|
+
- id: session-insights
|
|
52
|
+
name: "@pi-harness/plugin-session-insights"
|
|
53
|
+
config: {}
|
|
54
|
+
- id: readme-gen
|
|
55
|
+
name: "@pi-harness/plugin-readme-gen"
|
|
56
|
+
config: {}
|
|
57
|
+
- id: i18n-pair
|
|
58
|
+
name: "@pi-harness/plugin-i18n-pair"
|
|
59
|
+
config: {}
|
|
60
|
+
- id: cleaner
|
|
61
|
+
name: "@pi-harness/plugin-cleaner"
|
|
62
|
+
config: {}
|
|
63
|
+
- id: sql-lens
|
|
64
|
+
name: "@pi-harness/plugin-sql-lens"
|
|
65
|
+
config:
|
|
66
|
+
timeoutMs: 5000
|
|
67
|
+
- id: docker-sandbox
|
|
68
|
+
name: "@pi-harness/plugin-docker-sandbox"
|
|
69
|
+
config: {}
|
|
70
|
+
- id: mcp-client
|
|
71
|
+
name: "@pi-harness/plugin-mcp-client"
|
|
72
|
+
config: {}
|
|
73
|
+
- id: browser-fetch
|
|
74
|
+
name: "@pi-harness/plugin-browser-fetch"
|
|
75
|
+
config: {}
|
|
76
|
+
- id: browser-session
|
|
77
|
+
name: "@pi-harness/plugin-browser-session"
|
|
78
|
+
config: {}
|
|
79
|
+
- id: plugin-stars
|
|
80
|
+
name: "@pi-harness/plugin-plugin-stars"
|
|
81
|
+
config: {}
|
|
82
|
+
- id: yaml-validator
|
|
83
|
+
name: "@pi-harness/plugin-yaml-validator"
|
|
84
|
+
config: {}
|
|
85
|
+
- id: plugin-dev
|
|
86
|
+
name: "@pi-harness/plugin-plugin-dev"
|
|
87
|
+
config: {}
|
|
88
|
+
- id: openpets
|
|
89
|
+
name: "@pi-harness/plugin-openpets"
|
|
90
|
+
config: {}
|
|
91
|
+
- id: session-bridge
|
|
92
|
+
name: "@pi-harness/plugin-session-bridge"
|
|
93
|
+
config: {}
|
|
94
|
+
- id: skill-guard
|
|
95
|
+
name: "@pi-harness/plugin-skill-guard"
|
|
96
|
+
config: {}
|
|
97
|
+
- id: recall-unread
|
|
98
|
+
name: "@pi-harness/plugin-recall-unread"
|
|
99
|
+
config: {}
|
|
100
|
+
- id: turn-rewind
|
|
101
|
+
name: "@pi-harness/plugin-turn-rewind"
|
|
102
|
+
config: {}
|
|
103
|
+
- id: context-doctor
|
|
104
|
+
name: "@pi-harness/plugin-context-doctor"
|
|
105
|
+
config: {}
|
|
106
|
+
- id: runtime
|
|
107
|
+
name: "@pi-harness/core/plugins/runtime"
|
|
108
|
+
config:
|
|
109
|
+
thinkingLevel: medium
|
|
110
|
+
- id: context
|
|
111
|
+
name: "@pi-harness/plugin-context"
|
|
112
|
+
config: {}
|
|
113
|
+
- id: token-guard
|
|
114
|
+
name: "@pi-harness/plugin-token-guard"
|
|
115
|
+
config:
|
|
116
|
+
maxPercent: 90
|
|
117
|
+
- id: fail-logger
|
|
118
|
+
name: "@pi-harness/plugin-fail-logger"
|
|
119
|
+
config: {}
|
|
120
|
+
- id: stdio
|
|
121
|
+
name: "@pi-harness/core/plugins/stdio"
|
|
122
|
+
config: {}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
- id: logger
|
|
2
|
+
name: "@deepseek-ai/cordis-plugin-logger-console"
|
|
3
|
+
config: {}
|
|
4
|
+
- id: timer
|
|
5
|
+
name: "@deepseek-ai/cordis-plugin-timer"
|
|
6
|
+
config: {}
|
|
7
|
+
- id: hmr
|
|
8
|
+
name: "@deepseek-ai/cordis-plugin-hmr"
|
|
9
|
+
config:
|
|
10
|
+
base: !!js piHarnessLaunch.cwdUrl
|
|
11
|
+
root:
|
|
12
|
+
- .
|
|
13
|
+
- id: agent
|
|
14
|
+
name: cordis:group
|
|
15
|
+
group: true
|
|
16
|
+
config:
|
|
17
|
+
- id: models
|
|
18
|
+
name: "@pi-harness/core/plugins/models"
|
|
19
|
+
config:
|
|
20
|
+
provider: deepseek
|
|
21
|
+
model: deepseek-v4-flash
|
|
22
|
+
refreshOnCreate: false
|
|
23
|
+
- id: resources
|
|
24
|
+
name: "@pi-harness/core/plugins/resources"
|
|
25
|
+
config: {}
|
|
26
|
+
- id: model
|
|
27
|
+
name: "@pi-harness/core/plugins/model"
|
|
28
|
+
config: {}
|
|
29
|
+
- id: session
|
|
30
|
+
name: "@pi-harness/core/plugins/session"
|
|
31
|
+
config:
|
|
32
|
+
storage: jsonl
|
|
33
|
+
- id: tools
|
|
34
|
+
name: "@pi-harness/core/plugins/tools"
|
|
35
|
+
config:
|
|
36
|
+
names:
|
|
37
|
+
- read
|
|
38
|
+
- bash
|
|
39
|
+
- edit
|
|
40
|
+
- write
|
|
41
|
+
- id: runtime
|
|
42
|
+
name: "@pi-harness/core/plugins/runtime"
|
|
43
|
+
config:
|
|
44
|
+
thinkingLevel: medium
|
|
45
|
+
- id: stdio
|
|
46
|
+
name: "@pi-harness/core/plugins/stdio"
|
|
47
|
+
config: {}
|
package/packages/cli/src/bin.ts
CHANGED
|
@@ -4,7 +4,7 @@ import { readFileSync } from "node:fs";
|
|
|
4
4
|
import { homedir } from "node:os";
|
|
5
5
|
import { join, resolve } from "node:path";
|
|
6
6
|
import { fileURLToPath } from "node:url";
|
|
7
|
-
import { coreUpdateNotice } from "@pi-harness/core";
|
|
7
|
+
import { coreUpdateNotice, harnessHomeDirectory } from "@pi-harness/core";
|
|
8
8
|
import { runCli, type CliEnvironment } from "./main.js";
|
|
9
9
|
import { shouldRelaunchForDevelopmentProfile, superviseDevelopmentProcess } from "./relaunch.js";
|
|
10
10
|
|
|
@@ -16,6 +16,7 @@ const agentDir = configuredAgentDir === undefined || configuredAgentDir.length =
|
|
|
16
16
|
const environment: CliEnvironment = {
|
|
17
17
|
cwd: process.cwd(),
|
|
18
18
|
agentDir,
|
|
19
|
+
harnessHome: harnessHomeDirectory(),
|
|
19
20
|
version: packageJson.version,
|
|
20
21
|
supervised: process.env.PI_HARNESS_SUPERVISED === "1",
|
|
21
22
|
stdin: process.stdin,
|
package/packages/cli/src/main.ts
CHANGED
|
@@ -1,13 +1,16 @@
|
|
|
1
1
|
import { readFile } from "node:fs/promises";
|
|
2
2
|
import type { Readable, Writable } from "node:stream";
|
|
3
|
-
import {
|
|
3
|
+
import { bootHarness, prepareHarnessProfile, provideLaunchContext, provideStdioContext, resolveProfileConfig, type BootedHarness } from "@pi-harness/core";
|
|
4
4
|
import { CliUsageError, parseLauncherArgs } from "./args.js";
|
|
5
5
|
import { NodeStdio } from "./node-stdio.js";
|
|
6
|
+
import { BUILTIN_PROFILES, BUILTIN_PROFILES_DIR } from "./profiles.js";
|
|
6
7
|
import { PI_HARNESS_RESTART_EXIT_CODE } from "./relaunch.js";
|
|
7
8
|
|
|
8
9
|
export interface CliEnvironment {
|
|
9
10
|
readonly cwd: string;
|
|
10
11
|
readonly agentDir: string;
|
|
12
|
+
/** Directory that owns the booted copy of a built-in profile and the node_modules the marketplace installs into. */
|
|
13
|
+
readonly harnessHome: string;
|
|
11
14
|
readonly version: string;
|
|
12
15
|
readonly stdin: Readable;
|
|
13
16
|
readonly stdout: Writable;
|
|
@@ -76,9 +79,18 @@ export async function runCli(_args: readonly string[], _environment: CliEnvironm
|
|
|
76
79
|
let configPath: string;
|
|
77
80
|
try {
|
|
78
81
|
configPath = await resolveProfileConfig({
|
|
79
|
-
...(invocation.configPath === undefined
|
|
82
|
+
...(invocation.configPath === undefined
|
|
83
|
+
? { profile: invocation.profile ?? "default", profilesDir: BUILTIN_PROFILES_DIR }
|
|
84
|
+
: { configPath: invocation.configPath }),
|
|
80
85
|
cwd: environment.cwd,
|
|
81
86
|
});
|
|
87
|
+
// A built-in profile is a template: the copy under the harness home is what boots, because that is the file the web console appends marketplace entries to and the directory those packages are installed beside. An explicit --config already names a file the user owns, so it is booted as given.
|
|
88
|
+
if (invocation.configPath === undefined)
|
|
89
|
+
configPath = await prepareHarnessProfile({
|
|
90
|
+
builtinProfilePath: configPath,
|
|
91
|
+
profileName: invocation.profile ?? "default",
|
|
92
|
+
directory: environment.harnessHome,
|
|
93
|
+
});
|
|
82
94
|
if (invocation.dumpConfig) {
|
|
83
95
|
environment.stdout.write(await readFile(configPath, "utf8"));
|
|
84
96
|
return 0;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { fileURLToPath } from "node:url";
|
|
2
|
+
|
|
3
|
+
export const BUILTIN_PROFILES = ["default", "development"] as const;
|
|
4
|
+
|
|
5
|
+
// The launcher ships the curated plugin set, so the profile directory sits next to its build output rather than inside the runtime package.
|
|
6
|
+
export const BUILTIN_PROFILES_DIR = fileURLToPath(new URL("../profiles", import.meta.url));
|
|
@@ -10,7 +10,11 @@ const BIN = join(import.meta.dirname, "..", "dist", "bin.js");
|
|
|
10
10
|
|
|
11
11
|
async function pih(args: string[], cwd: string, agentDir: string): Promise<{ stdout: string; stderr: string; code: number }> {
|
|
12
12
|
try {
|
|
13
|
-
const result = await run(process.execPath, [BIN, ...args], {
|
|
13
|
+
const result = await run(process.execPath, [BIN, ...args], {
|
|
14
|
+
cwd,
|
|
15
|
+
env: { ...process.env, PI_AGENT_DIR: agentDir, PI_HARNESS_HOME: join(agentDir, "harness-home") },
|
|
16
|
+
timeout: 30_000,
|
|
17
|
+
});
|
|
14
18
|
return { ...result, code: 0 };
|
|
15
19
|
} catch (error) {
|
|
16
20
|
const failure = error as { stdout?: string; stderr?: string; code?: number };
|
|
@@ -22,7 +22,7 @@ describe("broken output pipe", () => {
|
|
|
22
22
|
|
|
23
23
|
const producer = spawn(process.execPath, [BIN, "--config", configPath, "--prompt", "hi"], {
|
|
24
24
|
stdio: ["ignore", "pipe", "pipe"],
|
|
25
|
-
env: { ...process.env, PI_AGENT_DIR: directory },
|
|
25
|
+
env: { ...process.env, PI_AGENT_DIR: directory, PI_HARNESS_HOME: join(directory, "harness-home") },
|
|
26
26
|
});
|
|
27
27
|
let stderr = "";
|
|
28
28
|
producer.stderr.setEncoding("utf8");
|