@pi-harness/pi-harness 0.1.14 → 0.1.16
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +8 -4
- package/apps/web/dist/assets/{index-C98SJjJd.js → index-DXznRinu.js} +1 -1
- package/apps/web/dist/index.html +1 -1
- package/apps/web/package.json +6 -6
- package/apps/web/server-dist/bin.js +7 -1
- package/apps/web/server-dist/bin.js.map +1 -1
- package/apps/web/src/server/bin.ts +9 -1
- package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/agent-teams.json +1 -1
- package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/anchored-standard.json +1 -1
- package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/annotation.json +1 -1
- package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/archify.json +1 -1
- package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/at-file.json +1 -1
- package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/auto-mode.json +1 -1
- package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/better-sidebar.json +1 -1
- package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/browser-fetch.json +1 -1
- package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/browser-session.json +1 -1
- package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/canvas-draw.json +1 -1
- package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/change-verifier.json +1 -1
- package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/cleaner.json +1 -1
- package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/cli-notifier.json +1 -1
- package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/code2skill.json +1 -1
- package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/colleague-skill.json +1 -1
- package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/context-doctor.json +1 -1
- package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/context.json +1 -1
- package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/cost-meter.json +1 -1
- package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/dependency-checker.json +1 -1
- package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/docker-sandbox.json +1 -1
- package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/fail-logger.json +1 -1
- package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/genui.json +1 -1
- package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/git-time-capsule.json +1 -1
- package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/graph-memory.json +1 -1
- package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/history-compressor.json +1 -1
- package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/hol-guard.json +1 -1
- package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/i18n-pair.json +1 -1
- package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/image-compressor.json +1 -1
- package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/llm-verifier.json +1 -1
- package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/mcp-client.json +1 -1
- package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/mcp-panel.json +1 -1
- package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/memory.json +1 -1
- package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/mirage-bridge.json +1 -1
- package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/mock-server.json +1 -1
- package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/modlens.json +1 -1
- package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/module-search.json +1 -1
- package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/obsidian-sync.json +1 -1
- package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/openpets.json +1 -1
- package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/plan-execute.json +1 -1
- package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/plugin-check.json +1 -1
- package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/plugin-dev.json +1 -1
- package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/plugin-finder.json +1 -1
- package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/plugin-radar.json +1 -1
- package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/plugin-stars.json +1 -1
- package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/prompt-guard.json +1 -1
- package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/prompt-library.json +1 -1
- package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/readme-gen.json +1 -1
- package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/recall-unread.json +1 -1
- package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/reverse-skill.json +1 -1
- package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/reviewer-bot.json +1 -1
- package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/runtime-doctor.json +1 -1
- package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/secure-audit.json +1 -1
- package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/session-bookmarks.json +1 -1
- package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/session-bridge.json +1 -1
- package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/session-compare.json +1 -1
- package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/session-export.json +1 -1
- package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/session-insights.json +1 -1
- package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/session-search.json +1 -1
- package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/skill-catalog.json +1 -1
- package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/skill-guard.json +1 -1
- package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/sql-lens.json +1 -1
- package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/synapse.json +1 -1
- package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/tab-manager.json +1 -1
- package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/taskboard.json +1 -1
- package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/telemetry-blocker.json +1 -1
- package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/test-harness.json +1 -1
- package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/theme-studio.json +1 -1
- package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/token-guard.json +1 -1
- package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/turn-rewind.json +1 -1
- package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/undo-savepoint.json +1 -1
- package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/vision-toolkit.json +1 -1
- package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/web-research.json +1 -1
- package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/workspace-navigator.json +1 -1
- package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/workspace-search.json +1 -1
- package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/yaml-validator.json +1 -1
- package/node_modules/@pi-harness/api-gateway/package.json +1 -1
- package/node_modules/@pi-harness/cli/dist/bin.js +2 -0
- package/node_modules/@pi-harness/cli/dist/bin.js.map +1 -1
- package/node_modules/@pi-harness/cli/dist/main.d.ts +1 -0
- package/node_modules/@pi-harness/cli/dist/main.d.ts.map +1 -1
- package/node_modules/@pi-harness/cli/dist/main.js +9 -0
- package/node_modules/@pi-harness/cli/dist/main.js.map +1 -1
- package/node_modules/@pi-harness/cli/package.json +1 -1
- package/node_modules/@pi-harness/host-webserver/package.json +1 -1
- package/node_modules/@pi-harness/web-app/package.json +1 -1
- package/package.json +10 -8
- package/packages/api-gateway/dist/marketplace-entries/official/agent-teams.json +1 -1
- package/packages/api-gateway/dist/marketplace-entries/official/anchored-standard.json +1 -1
- package/packages/api-gateway/dist/marketplace-entries/official/annotation.json +1 -1
- package/packages/api-gateway/dist/marketplace-entries/official/archify.json +1 -1
- package/packages/api-gateway/dist/marketplace-entries/official/at-file.json +1 -1
- package/packages/api-gateway/dist/marketplace-entries/official/auto-mode.json +1 -1
- package/packages/api-gateway/dist/marketplace-entries/official/better-sidebar.json +1 -1
- package/packages/api-gateway/dist/marketplace-entries/official/browser-fetch.json +1 -1
- package/packages/api-gateway/dist/marketplace-entries/official/browser-session.json +1 -1
- package/packages/api-gateway/dist/marketplace-entries/official/canvas-draw.json +1 -1
- package/packages/api-gateway/dist/marketplace-entries/official/change-verifier.json +1 -1
- package/packages/api-gateway/dist/marketplace-entries/official/cleaner.json +1 -1
- package/packages/api-gateway/dist/marketplace-entries/official/cli-notifier.json +1 -1
- package/packages/api-gateway/dist/marketplace-entries/official/code2skill.json +1 -1
- package/packages/api-gateway/dist/marketplace-entries/official/colleague-skill.json +1 -1
- package/packages/api-gateway/dist/marketplace-entries/official/context-doctor.json +1 -1
- package/packages/api-gateway/dist/marketplace-entries/official/context.json +1 -1
- package/packages/api-gateway/dist/marketplace-entries/official/cost-meter.json +1 -1
- package/packages/api-gateway/dist/marketplace-entries/official/dependency-checker.json +1 -1
- package/packages/api-gateway/dist/marketplace-entries/official/docker-sandbox.json +1 -1
- package/packages/api-gateway/dist/marketplace-entries/official/fail-logger.json +1 -1
- package/packages/api-gateway/dist/marketplace-entries/official/genui.json +1 -1
- package/packages/api-gateway/dist/marketplace-entries/official/git-time-capsule.json +1 -1
- package/packages/api-gateway/dist/marketplace-entries/official/graph-memory.json +1 -1
- package/packages/api-gateway/dist/marketplace-entries/official/history-compressor.json +1 -1
- package/packages/api-gateway/dist/marketplace-entries/official/hol-guard.json +1 -1
- package/packages/api-gateway/dist/marketplace-entries/official/i18n-pair.json +1 -1
- package/packages/api-gateway/dist/marketplace-entries/official/image-compressor.json +1 -1
- package/packages/api-gateway/dist/marketplace-entries/official/llm-verifier.json +1 -1
- package/packages/api-gateway/dist/marketplace-entries/official/mcp-client.json +1 -1
- package/packages/api-gateway/dist/marketplace-entries/official/mcp-panel.json +1 -1
- package/packages/api-gateway/dist/marketplace-entries/official/memory.json +1 -1
- package/packages/api-gateway/dist/marketplace-entries/official/mirage-bridge.json +1 -1
- package/packages/api-gateway/dist/marketplace-entries/official/mock-server.json +1 -1
- package/packages/api-gateway/dist/marketplace-entries/official/modlens.json +1 -1
- package/packages/api-gateway/dist/marketplace-entries/official/module-search.json +1 -1
- package/packages/api-gateway/dist/marketplace-entries/official/obsidian-sync.json +1 -1
- package/packages/api-gateway/dist/marketplace-entries/official/openpets.json +1 -1
- package/packages/api-gateway/dist/marketplace-entries/official/plan-execute.json +1 -1
- package/packages/api-gateway/dist/marketplace-entries/official/plugin-check.json +1 -1
- package/packages/api-gateway/dist/marketplace-entries/official/plugin-dev.json +1 -1
- package/packages/api-gateway/dist/marketplace-entries/official/plugin-finder.json +1 -1
- package/packages/api-gateway/dist/marketplace-entries/official/plugin-radar.json +1 -1
- package/packages/api-gateway/dist/marketplace-entries/official/plugin-stars.json +1 -1
- package/packages/api-gateway/dist/marketplace-entries/official/prompt-guard.json +1 -1
- package/packages/api-gateway/dist/marketplace-entries/official/prompt-library.json +1 -1
- package/packages/api-gateway/dist/marketplace-entries/official/readme-gen.json +1 -1
- package/packages/api-gateway/dist/marketplace-entries/official/recall-unread.json +1 -1
- package/packages/api-gateway/dist/marketplace-entries/official/reverse-skill.json +1 -1
- package/packages/api-gateway/dist/marketplace-entries/official/reviewer-bot.json +1 -1
- package/packages/api-gateway/dist/marketplace-entries/official/runtime-doctor.json +1 -1
- package/packages/api-gateway/dist/marketplace-entries/official/secure-audit.json +1 -1
- package/packages/api-gateway/dist/marketplace-entries/official/session-bookmarks.json +1 -1
- package/packages/api-gateway/dist/marketplace-entries/official/session-bridge.json +1 -1
- package/packages/api-gateway/dist/marketplace-entries/official/session-compare.json +1 -1
- package/packages/api-gateway/dist/marketplace-entries/official/session-export.json +1 -1
- package/packages/api-gateway/dist/marketplace-entries/official/session-insights.json +1 -1
- package/packages/api-gateway/dist/marketplace-entries/official/session-search.json +1 -1
- package/packages/api-gateway/dist/marketplace-entries/official/skill-catalog.json +1 -1
- package/packages/api-gateway/dist/marketplace-entries/official/skill-guard.json +1 -1
- package/packages/api-gateway/dist/marketplace-entries/official/sql-lens.json +1 -1
- package/packages/api-gateway/dist/marketplace-entries/official/synapse.json +1 -1
- package/packages/api-gateway/dist/marketplace-entries/official/tab-manager.json +1 -1
- package/packages/api-gateway/dist/marketplace-entries/official/taskboard.json +1 -1
- package/packages/api-gateway/dist/marketplace-entries/official/telemetry-blocker.json +1 -1
- package/packages/api-gateway/dist/marketplace-entries/official/test-harness.json +1 -1
- package/packages/api-gateway/dist/marketplace-entries/official/theme-studio.json +1 -1
- package/packages/api-gateway/dist/marketplace-entries/official/token-guard.json +1 -1
- package/packages/api-gateway/dist/marketplace-entries/official/turn-rewind.json +1 -1
- package/packages/api-gateway/dist/marketplace-entries/official/undo-savepoint.json +1 -1
- package/packages/api-gateway/dist/marketplace-entries/official/vision-toolkit.json +1 -1
- package/packages/api-gateway/dist/marketplace-entries/official/web-research.json +1 -1
- package/packages/api-gateway/dist/marketplace-entries/official/workspace-navigator.json +1 -1
- package/packages/api-gateway/dist/marketplace-entries/official/workspace-search.json +1 -1
- package/packages/api-gateway/dist/marketplace-entries/official/yaml-validator.json +1 -1
- package/packages/api-gateway/package.json +1 -1
- package/packages/api-gateway/src/marketplace-entries/official/agent-teams.json +1 -1
- package/packages/api-gateway/src/marketplace-entries/official/anchored-standard.json +1 -1
- package/packages/api-gateway/src/marketplace-entries/official/annotation.json +1 -1
- package/packages/api-gateway/src/marketplace-entries/official/archify.json +1 -1
- package/packages/api-gateway/src/marketplace-entries/official/at-file.json +1 -1
- package/packages/api-gateway/src/marketplace-entries/official/auto-mode.json +1 -1
- package/packages/api-gateway/src/marketplace-entries/official/better-sidebar.json +1 -1
- package/packages/api-gateway/src/marketplace-entries/official/browser-fetch.json +1 -1
- package/packages/api-gateway/src/marketplace-entries/official/browser-session.json +1 -1
- package/packages/api-gateway/src/marketplace-entries/official/canvas-draw.json +1 -1
- package/packages/api-gateway/src/marketplace-entries/official/change-verifier.json +1 -1
- package/packages/api-gateway/src/marketplace-entries/official/cleaner.json +1 -1
- package/packages/api-gateway/src/marketplace-entries/official/cli-notifier.json +1 -1
- package/packages/api-gateway/src/marketplace-entries/official/code2skill.json +1 -1
- package/packages/api-gateway/src/marketplace-entries/official/colleague-skill.json +1 -1
- package/packages/api-gateway/src/marketplace-entries/official/context-doctor.json +1 -1
- package/packages/api-gateway/src/marketplace-entries/official/context.json +1 -1
- package/packages/api-gateway/src/marketplace-entries/official/cost-meter.json +1 -1
- package/packages/api-gateway/src/marketplace-entries/official/dependency-checker.json +1 -1
- package/packages/api-gateway/src/marketplace-entries/official/docker-sandbox.json +1 -1
- package/packages/api-gateway/src/marketplace-entries/official/fail-logger.json +1 -1
- package/packages/api-gateway/src/marketplace-entries/official/genui.json +1 -1
- package/packages/api-gateway/src/marketplace-entries/official/git-time-capsule.json +1 -1
- package/packages/api-gateway/src/marketplace-entries/official/graph-memory.json +1 -1
- package/packages/api-gateway/src/marketplace-entries/official/history-compressor.json +1 -1
- package/packages/api-gateway/src/marketplace-entries/official/hol-guard.json +1 -1
- package/packages/api-gateway/src/marketplace-entries/official/i18n-pair.json +1 -1
- package/packages/api-gateway/src/marketplace-entries/official/image-compressor.json +1 -1
- package/packages/api-gateway/src/marketplace-entries/official/llm-verifier.json +1 -1
- package/packages/api-gateway/src/marketplace-entries/official/mcp-client.json +1 -1
- package/packages/api-gateway/src/marketplace-entries/official/mcp-panel.json +1 -1
- package/packages/api-gateway/src/marketplace-entries/official/memory.json +1 -1
- package/packages/api-gateway/src/marketplace-entries/official/mirage-bridge.json +1 -1
- package/packages/api-gateway/src/marketplace-entries/official/mock-server.json +1 -1
- package/packages/api-gateway/src/marketplace-entries/official/modlens.json +1 -1
- package/packages/api-gateway/src/marketplace-entries/official/module-search.json +1 -1
- package/packages/api-gateway/src/marketplace-entries/official/obsidian-sync.json +1 -1
- package/packages/api-gateway/src/marketplace-entries/official/openpets.json +1 -1
- package/packages/api-gateway/src/marketplace-entries/official/plan-execute.json +1 -1
- package/packages/api-gateway/src/marketplace-entries/official/plugin-check.json +1 -1
- package/packages/api-gateway/src/marketplace-entries/official/plugin-dev.json +1 -1
- package/packages/api-gateway/src/marketplace-entries/official/plugin-finder.json +1 -1
- package/packages/api-gateway/src/marketplace-entries/official/plugin-radar.json +1 -1
- package/packages/api-gateway/src/marketplace-entries/official/plugin-stars.json +1 -1
- package/packages/api-gateway/src/marketplace-entries/official/prompt-guard.json +1 -1
- package/packages/api-gateway/src/marketplace-entries/official/prompt-library.json +1 -1
- package/packages/api-gateway/src/marketplace-entries/official/readme-gen.json +1 -1
- package/packages/api-gateway/src/marketplace-entries/official/recall-unread.json +1 -1
- package/packages/api-gateway/src/marketplace-entries/official/reverse-skill.json +1 -1
- package/packages/api-gateway/src/marketplace-entries/official/reviewer-bot.json +1 -1
- package/packages/api-gateway/src/marketplace-entries/official/runtime-doctor.json +1 -1
- package/packages/api-gateway/src/marketplace-entries/official/secure-audit.json +1 -1
- package/packages/api-gateway/src/marketplace-entries/official/session-bookmarks.json +1 -1
- package/packages/api-gateway/src/marketplace-entries/official/session-bridge.json +1 -1
- package/packages/api-gateway/src/marketplace-entries/official/session-compare.json +1 -1
- package/packages/api-gateway/src/marketplace-entries/official/session-export.json +1 -1
- package/packages/api-gateway/src/marketplace-entries/official/session-insights.json +1 -1
- package/packages/api-gateway/src/marketplace-entries/official/session-search.json +1 -1
- package/packages/api-gateway/src/marketplace-entries/official/skill-catalog.json +1 -1
- package/packages/api-gateway/src/marketplace-entries/official/skill-guard.json +1 -1
- package/packages/api-gateway/src/marketplace-entries/official/sql-lens.json +1 -1
- package/packages/api-gateway/src/marketplace-entries/official/synapse.json +1 -1
- package/packages/api-gateway/src/marketplace-entries/official/tab-manager.json +1 -1
- package/packages/api-gateway/src/marketplace-entries/official/taskboard.json +1 -1
- package/packages/api-gateway/src/marketplace-entries/official/telemetry-blocker.json +1 -1
- package/packages/api-gateway/src/marketplace-entries/official/test-harness.json +1 -1
- package/packages/api-gateway/src/marketplace-entries/official/theme-studio.json +1 -1
- package/packages/api-gateway/src/marketplace-entries/official/token-guard.json +1 -1
- package/packages/api-gateway/src/marketplace-entries/official/turn-rewind.json +1 -1
- package/packages/api-gateway/src/marketplace-entries/official/undo-savepoint.json +1 -1
- package/packages/api-gateway/src/marketplace-entries/official/vision-toolkit.json +1 -1
- package/packages/api-gateway/src/marketplace-entries/official/web-research.json +1 -1
- package/packages/api-gateway/src/marketplace-entries/official/workspace-navigator.json +1 -1
- package/packages/api-gateway/src/marketplace-entries/official/workspace-search.json +1 -1
- package/packages/api-gateway/src/marketplace-entries/official/yaml-validator.json +1 -1
- package/packages/api-gateway/test/release-package.test.ts +5 -11
- package/packages/api-gateway/test/release-version.test.ts +2 -2
- package/packages/bundle-web-app/package.json +1 -1
- package/packages/cli/dist/bin.js +2 -0
- package/packages/cli/dist/bin.js.map +1 -1
- package/packages/cli/dist/main.d.ts +1 -0
- package/packages/cli/dist/main.d.ts.map +1 -1
- package/packages/cli/dist/main.js +9 -0
- package/packages/cli/dist/main.js.map +1 -1
- package/packages/cli/package.json +1 -1
- package/packages/cli/src/bin.ts +2 -0
- package/packages/cli/src/main.ts +9 -0
- package/packages/cli/test/cli.test.ts +10 -0
- package/packages/host-webserver/package.json +1 -1
- package/node_modules/@pi-harness/core/LICENSE +0 -9
- package/node_modules/@pi-harness/core/dist/atomic-write.d.ts +0 -8
- package/node_modules/@pi-harness/core/dist/atomic-write.d.ts.map +0 -1
- package/node_modules/@pi-harness/core/dist/atomic-write.js +0 -40
- package/node_modules/@pi-harness/core/dist/atomic-write.js.map +0 -1
- package/node_modules/@pi-harness/core/dist/boot.d.ts +0 -13
- package/node_modules/@pi-harness/core/dist/boot.d.ts.map +0 -1
- package/node_modules/@pi-harness/core/dist/boot.js +0 -257
- package/node_modules/@pi-harness/core/dist/boot.js.map +0 -1
- package/node_modules/@pi-harness/core/dist/bounded-file.d.ts +0 -7
- package/node_modules/@pi-harness/core/dist/bounded-file.d.ts.map +0 -1
- package/node_modules/@pi-harness/core/dist/bounded-file.js +0 -50
- package/node_modules/@pi-harness/core/dist/bounded-file.js.map +0 -1
- package/node_modules/@pi-harness/core/dist/config.d.ts +0 -4
- package/node_modules/@pi-harness/core/dist/config.d.ts.map +0 -1
- package/node_modules/@pi-harness/core/dist/config.js +0 -29
- package/node_modules/@pi-harness/core/dist/config.js.map +0 -1
- package/node_modules/@pi-harness/core/dist/context.d.ts +0 -3
- package/node_modules/@pi-harness/core/dist/context.d.ts.map +0 -1
- package/node_modules/@pi-harness/core/dist/context.js +0 -2
- package/node_modules/@pi-harness/core/dist/context.js.map +0 -1
- package/node_modules/@pi-harness/core/dist/cordis-timer.d.ts +0 -15
- package/node_modules/@pi-harness/core/dist/cordis-timer.d.ts.map +0 -1
- package/node_modules/@pi-harness/core/dist/cordis-timer.js +0 -99
- package/node_modules/@pi-harness/core/dist/cordis-timer.js.map +0 -1
- package/node_modules/@pi-harness/core/dist/http.d.ts +0 -8
- package/node_modules/@pi-harness/core/dist/http.d.ts.map +0 -1
- package/node_modules/@pi-harness/core/dist/http.js +0 -27
- package/node_modules/@pi-harness/core/dist/http.js.map +0 -1
- package/node_modules/@pi-harness/core/dist/index.d.ts +0 -9
- package/node_modules/@pi-harness/core/dist/index.d.ts.map +0 -1
- package/node_modules/@pi-harness/core/dist/index.js +0 -8
- package/node_modules/@pi-harness/core/dist/index.js.map +0 -1
- package/node_modules/@pi-harness/core/dist/plugins/agent-teams.d.ts +0 -21
- package/node_modules/@pi-harness/core/dist/plugins/agent-teams.d.ts.map +0 -1
- package/node_modules/@pi-harness/core/dist/plugins/agent-teams.js +0 -1179
- package/node_modules/@pi-harness/core/dist/plugins/agent-teams.js.map +0 -1
- package/node_modules/@pi-harness/core/dist/plugins/anchored-standard.d.ts +0 -15
- package/node_modules/@pi-harness/core/dist/plugins/anchored-standard.d.ts.map +0 -1
- package/node_modules/@pi-harness/core/dist/plugins/anchored-standard.js +0 -112
- package/node_modules/@pi-harness/core/dist/plugins/anchored-standard.js.map +0 -1
- package/node_modules/@pi-harness/core/dist/plugins/annotation.d.ts +0 -19
- package/node_modules/@pi-harness/core/dist/plugins/annotation.d.ts.map +0 -1
- package/node_modules/@pi-harness/core/dist/plugins/annotation.js +0 -112
- package/node_modules/@pi-harness/core/dist/plugins/annotation.js.map +0 -1
- package/node_modules/@pi-harness/core/dist/plugins/archify.d.ts +0 -24
- package/node_modules/@pi-harness/core/dist/plugins/archify.d.ts.map +0 -1
- package/node_modules/@pi-harness/core/dist/plugins/archify.js +0 -145
- package/node_modules/@pi-harness/core/dist/plugins/archify.js.map +0 -1
- package/node_modules/@pi-harness/core/dist/plugins/at-file.d.ts +0 -12
- package/node_modules/@pi-harness/core/dist/plugins/at-file.d.ts.map +0 -1
- package/node_modules/@pi-harness/core/dist/plugins/at-file.js +0 -143
- package/node_modules/@pi-harness/core/dist/plugins/at-file.js.map +0 -1
- package/node_modules/@pi-harness/core/dist/plugins/auto-mode.d.ts +0 -15
- package/node_modules/@pi-harness/core/dist/plugins/auto-mode.d.ts.map +0 -1
- package/node_modules/@pi-harness/core/dist/plugins/auto-mode.js +0 -183
- package/node_modules/@pi-harness/core/dist/plugins/auto-mode.js.map +0 -1
- package/node_modules/@pi-harness/core/dist/plugins/better-sidebar.d.ts +0 -38
- package/node_modules/@pi-harness/core/dist/plugins/better-sidebar.d.ts.map +0 -1
- package/node_modules/@pi-harness/core/dist/plugins/better-sidebar.js +0 -99
- package/node_modules/@pi-harness/core/dist/plugins/better-sidebar.js.map +0 -1
- package/node_modules/@pi-harness/core/dist/plugins/browser-fetch.d.ts +0 -15
- package/node_modules/@pi-harness/core/dist/plugins/browser-fetch.d.ts.map +0 -1
- package/node_modules/@pi-harness/core/dist/plugins/browser-fetch.js +0 -359
- package/node_modules/@pi-harness/core/dist/plugins/browser-fetch.js.map +0 -1
- package/node_modules/@pi-harness/core/dist/plugins/browser-session.d.ts +0 -14
- package/node_modules/@pi-harness/core/dist/plugins/browser-session.d.ts.map +0 -1
- package/node_modules/@pi-harness/core/dist/plugins/browser-session.js +0 -604
- package/node_modules/@pi-harness/core/dist/plugins/browser-session.js.map +0 -1
- package/node_modules/@pi-harness/core/dist/plugins/canvas-draw.d.ts +0 -9
- package/node_modules/@pi-harness/core/dist/plugins/canvas-draw.d.ts.map +0 -1
- package/node_modules/@pi-harness/core/dist/plugins/canvas-draw.js +0 -140
- package/node_modules/@pi-harness/core/dist/plugins/canvas-draw.js.map +0 -1
- package/node_modules/@pi-harness/core/dist/plugins/change-verifier.d.ts +0 -9
- package/node_modules/@pi-harness/core/dist/plugins/change-verifier.d.ts.map +0 -1
- package/node_modules/@pi-harness/core/dist/plugins/change-verifier.js +0 -88
- package/node_modules/@pi-harness/core/dist/plugins/change-verifier.js.map +0 -1
- package/node_modules/@pi-harness/core/dist/plugins/cleaner.d.ts +0 -12
- package/node_modules/@pi-harness/core/dist/plugins/cleaner.d.ts.map +0 -1
- package/node_modules/@pi-harness/core/dist/plugins/cleaner.js +0 -353
- package/node_modules/@pi-harness/core/dist/plugins/cleaner.js.map +0 -1
- package/node_modules/@pi-harness/core/dist/plugins/cli-notifier.d.ts +0 -16
- package/node_modules/@pi-harness/core/dist/plugins/cli-notifier.d.ts.map +0 -1
- package/node_modules/@pi-harness/core/dist/plugins/cli-notifier.js +0 -167
- package/node_modules/@pi-harness/core/dist/plugins/cli-notifier.js.map +0 -1
- package/node_modules/@pi-harness/core/dist/plugins/code2skill.d.ts +0 -9
- package/node_modules/@pi-harness/core/dist/plugins/code2skill.d.ts.map +0 -1
- package/node_modules/@pi-harness/core/dist/plugins/code2skill.js +0 -235
- package/node_modules/@pi-harness/core/dist/plugins/code2skill.js.map +0 -1
- package/node_modules/@pi-harness/core/dist/plugins/colleague-skill.d.ts +0 -28
- package/node_modules/@pi-harness/core/dist/plugins/colleague-skill.d.ts.map +0 -1
- package/node_modules/@pi-harness/core/dist/plugins/colleague-skill.js +0 -129
- package/node_modules/@pi-harness/core/dist/plugins/colleague-skill.js.map +0 -1
- package/node_modules/@pi-harness/core/dist/plugins/context-doctor.d.ts +0 -35
- package/node_modules/@pi-harness/core/dist/plugins/context-doctor.d.ts.map +0 -1
- package/node_modules/@pi-harness/core/dist/plugins/context-doctor.js +0 -459
- package/node_modules/@pi-harness/core/dist/plugins/context-doctor.js.map +0 -1
- package/node_modules/@pi-harness/core/dist/plugins/context.d.ts +0 -9
- package/node_modules/@pi-harness/core/dist/plugins/context.d.ts.map +0 -1
- package/node_modules/@pi-harness/core/dist/plugins/context.js +0 -214
- package/node_modules/@pi-harness/core/dist/plugins/context.js.map +0 -1
- package/node_modules/@pi-harness/core/dist/plugins/cost-meter.d.ts +0 -36
- package/node_modules/@pi-harness/core/dist/plugins/cost-meter.d.ts.map +0 -1
- package/node_modules/@pi-harness/core/dist/plugins/cost-meter.js +0 -430
- package/node_modules/@pi-harness/core/dist/plugins/cost-meter.js.map +0 -1
- package/node_modules/@pi-harness/core/dist/plugins/dependency-checker.d.ts +0 -36
- package/node_modules/@pi-harness/core/dist/plugins/dependency-checker.d.ts.map +0 -1
- package/node_modules/@pi-harness/core/dist/plugins/dependency-checker.js +0 -570
- package/node_modules/@pi-harness/core/dist/plugins/dependency-checker.js.map +0 -1
- package/node_modules/@pi-harness/core/dist/plugins/docker-sandbox.d.ts +0 -9
- package/node_modules/@pi-harness/core/dist/plugins/docker-sandbox.d.ts.map +0 -1
- package/node_modules/@pi-harness/core/dist/plugins/docker-sandbox.js +0 -344
- package/node_modules/@pi-harness/core/dist/plugins/docker-sandbox.js.map +0 -1
- package/node_modules/@pi-harness/core/dist/plugins/fail-logger.d.ts +0 -9
- package/node_modules/@pi-harness/core/dist/plugins/fail-logger.d.ts.map +0 -1
- package/node_modules/@pi-harness/core/dist/plugins/fail-logger.js +0 -218
- package/node_modules/@pi-harness/core/dist/plugins/fail-logger.js.map +0 -1
- package/node_modules/@pi-harness/core/dist/plugins/genui.d.ts +0 -9
- package/node_modules/@pi-harness/core/dist/plugins/genui.d.ts.map +0 -1
- package/node_modules/@pi-harness/core/dist/plugins/genui.js +0 -144
- package/node_modules/@pi-harness/core/dist/plugins/genui.js.map +0 -1
- package/node_modules/@pi-harness/core/dist/plugins/git-time-capsule.d.ts +0 -15
- package/node_modules/@pi-harness/core/dist/plugins/git-time-capsule.d.ts.map +0 -1
- package/node_modules/@pi-harness/core/dist/plugins/git-time-capsule.js +0 -436
- package/node_modules/@pi-harness/core/dist/plugins/git-time-capsule.js.map +0 -1
- package/node_modules/@pi-harness/core/dist/plugins/graph-memory.d.ts +0 -16
- package/node_modules/@pi-harness/core/dist/plugins/graph-memory.d.ts.map +0 -1
- package/node_modules/@pi-harness/core/dist/plugins/graph-memory.js +0 -669
- package/node_modules/@pi-harness/core/dist/plugins/graph-memory.js.map +0 -1
- package/node_modules/@pi-harness/core/dist/plugins/history-compressor.d.ts +0 -15
- package/node_modules/@pi-harness/core/dist/plugins/history-compressor.d.ts.map +0 -1
- package/node_modules/@pi-harness/core/dist/plugins/history-compressor.js +0 -99
- package/node_modules/@pi-harness/core/dist/plugins/history-compressor.js.map +0 -1
- package/node_modules/@pi-harness/core/dist/plugins/hol-guard.d.ts +0 -29
- package/node_modules/@pi-harness/core/dist/plugins/hol-guard.d.ts.map +0 -1
- package/node_modules/@pi-harness/core/dist/plugins/hol-guard.js +0 -159
- package/node_modules/@pi-harness/core/dist/plugins/hol-guard.js.map +0 -1
- package/node_modules/@pi-harness/core/dist/plugins/i18n-pair.d.ts +0 -12
- package/node_modules/@pi-harness/core/dist/plugins/i18n-pair.d.ts.map +0 -1
- package/node_modules/@pi-harness/core/dist/plugins/i18n-pair.js +0 -332
- package/node_modules/@pi-harness/core/dist/plugins/i18n-pair.js.map +0 -1
- package/node_modules/@pi-harness/core/dist/plugins/image-compressor.d.ts +0 -15
- package/node_modules/@pi-harness/core/dist/plugins/image-compressor.d.ts.map +0 -1
- package/node_modules/@pi-harness/core/dist/plugins/image-compressor.js +0 -223
- package/node_modules/@pi-harness/core/dist/plugins/image-compressor.js.map +0 -1
- package/node_modules/@pi-harness/core/dist/plugins/llm-verifier.d.ts +0 -42
- package/node_modules/@pi-harness/core/dist/plugins/llm-verifier.d.ts.map +0 -1
- package/node_modules/@pi-harness/core/dist/plugins/llm-verifier.js +0 -138
- package/node_modules/@pi-harness/core/dist/plugins/llm-verifier.js.map +0 -1
- package/node_modules/@pi-harness/core/dist/plugins/mcp-client.d.ts +0 -19
- package/node_modules/@pi-harness/core/dist/plugins/mcp-client.d.ts.map +0 -1
- package/node_modules/@pi-harness/core/dist/plugins/mcp-client.js +0 -1288
- package/node_modules/@pi-harness/core/dist/plugins/mcp-client.js.map +0 -1
- package/node_modules/@pi-harness/core/dist/plugins/mcp-panel.d.ts +0 -14
- package/node_modules/@pi-harness/core/dist/plugins/mcp-panel.d.ts.map +0 -1
- package/node_modules/@pi-harness/core/dist/plugins/mcp-panel.js +0 -194
- package/node_modules/@pi-harness/core/dist/plugins/mcp-panel.js.map +0 -1
- package/node_modules/@pi-harness/core/dist/plugins/memory.d.ts +0 -15
- package/node_modules/@pi-harness/core/dist/plugins/memory.d.ts.map +0 -1
- package/node_modules/@pi-harness/core/dist/plugins/memory.js +0 -394
- package/node_modules/@pi-harness/core/dist/plugins/memory.js.map +0 -1
- package/node_modules/@pi-harness/core/dist/plugins/mirage-bridge.d.ts +0 -23
- package/node_modules/@pi-harness/core/dist/plugins/mirage-bridge.d.ts.map +0 -1
- package/node_modules/@pi-harness/core/dist/plugins/mirage-bridge.js +0 -159
- package/node_modules/@pi-harness/core/dist/plugins/mirage-bridge.js.map +0 -1
- package/node_modules/@pi-harness/core/dist/plugins/mock-server.d.ts +0 -22
- package/node_modules/@pi-harness/core/dist/plugins/mock-server.d.ts.map +0 -1
- package/node_modules/@pi-harness/core/dist/plugins/mock-server.js +0 -180
- package/node_modules/@pi-harness/core/dist/plugins/mock-server.js.map +0 -1
- package/node_modules/@pi-harness/core/dist/plugins/model.d.ts +0 -11
- package/node_modules/@pi-harness/core/dist/plugins/model.d.ts.map +0 -1
- package/node_modules/@pi-harness/core/dist/plugins/model.js +0 -17
- package/node_modules/@pi-harness/core/dist/plugins/model.js.map +0 -1
- package/node_modules/@pi-harness/core/dist/plugins/models.d.ts +0 -16
- package/node_modules/@pi-harness/core/dist/plugins/models.d.ts.map +0 -1
- package/node_modules/@pi-harness/core/dist/plugins/models.js +0 -35
- package/node_modules/@pi-harness/core/dist/plugins/models.js.map +0 -1
- package/node_modules/@pi-harness/core/dist/plugins/modlens.d.ts +0 -15
- package/node_modules/@pi-harness/core/dist/plugins/modlens.d.ts.map +0 -1
- package/node_modules/@pi-harness/core/dist/plugins/modlens.js +0 -470
- package/node_modules/@pi-harness/core/dist/plugins/modlens.js.map +0 -1
- package/node_modules/@pi-harness/core/dist/plugins/module-search.d.ts +0 -28
- package/node_modules/@pi-harness/core/dist/plugins/module-search.d.ts.map +0 -1
- package/node_modules/@pi-harness/core/dist/plugins/module-search.js +0 -193
- package/node_modules/@pi-harness/core/dist/plugins/module-search.js.map +0 -1
- package/node_modules/@pi-harness/core/dist/plugins/obsidian-sync.d.ts +0 -14
- package/node_modules/@pi-harness/core/dist/plugins/obsidian-sync.d.ts.map +0 -1
- package/node_modules/@pi-harness/core/dist/plugins/obsidian-sync.js +0 -88
- package/node_modules/@pi-harness/core/dist/plugins/obsidian-sync.js.map +0 -1
- package/node_modules/@pi-harness/core/dist/plugins/openpets.d.ts +0 -14
- package/node_modules/@pi-harness/core/dist/plugins/openpets.d.ts.map +0 -1
- package/node_modules/@pi-harness/core/dist/plugins/openpets.js +0 -258
- package/node_modules/@pi-harness/core/dist/plugins/openpets.js.map +0 -1
- package/node_modules/@pi-harness/core/dist/plugins/plan-execute.d.ts +0 -11
- package/node_modules/@pi-harness/core/dist/plugins/plan-execute.d.ts.map +0 -1
- package/node_modules/@pi-harness/core/dist/plugins/plan-execute.js +0 -91
- package/node_modules/@pi-harness/core/dist/plugins/plan-execute.js.map +0 -1
- package/node_modules/@pi-harness/core/dist/plugins/plugin-check.d.ts +0 -47
- package/node_modules/@pi-harness/core/dist/plugins/plugin-check.d.ts.map +0 -1
- package/node_modules/@pi-harness/core/dist/plugins/plugin-check.js +0 -298
- package/node_modules/@pi-harness/core/dist/plugins/plugin-check.js.map +0 -1
- package/node_modules/@pi-harness/core/dist/plugins/plugin-dev.d.ts +0 -9
- package/node_modules/@pi-harness/core/dist/plugins/plugin-dev.d.ts.map +0 -1
- package/node_modules/@pi-harness/core/dist/plugins/plugin-dev.js +0 -177
- package/node_modules/@pi-harness/core/dist/plugins/plugin-dev.js.map +0 -1
- package/node_modules/@pi-harness/core/dist/plugins/plugin-finder.d.ts +0 -17
- package/node_modules/@pi-harness/core/dist/plugins/plugin-finder.d.ts.map +0 -1
- package/node_modules/@pi-harness/core/dist/plugins/plugin-finder.js +0 -216
- package/node_modules/@pi-harness/core/dist/plugins/plugin-finder.js.map +0 -1
- package/node_modules/@pi-harness/core/dist/plugins/plugin-radar.d.ts +0 -33
- package/node_modules/@pi-harness/core/dist/plugins/plugin-radar.d.ts.map +0 -1
- package/node_modules/@pi-harness/core/dist/plugins/plugin-radar.js +0 -247
- package/node_modules/@pi-harness/core/dist/plugins/plugin-radar.js.map +0 -1
- package/node_modules/@pi-harness/core/dist/plugins/plugin-stars.d.ts +0 -45
- package/node_modules/@pi-harness/core/dist/plugins/plugin-stars.d.ts.map +0 -1
- package/node_modules/@pi-harness/core/dist/plugins/plugin-stars.js +0 -366
- package/node_modules/@pi-harness/core/dist/plugins/plugin-stars.js.map +0 -1
- package/node_modules/@pi-harness/core/dist/plugins/prompt-guard.d.ts +0 -9
- package/node_modules/@pi-harness/core/dist/plugins/prompt-guard.d.ts.map +0 -1
- package/node_modules/@pi-harness/core/dist/plugins/prompt-guard.js +0 -165
- package/node_modules/@pi-harness/core/dist/plugins/prompt-guard.js.map +0 -1
- package/node_modules/@pi-harness/core/dist/plugins/prompt-library.d.ts +0 -26
- package/node_modules/@pi-harness/core/dist/plugins/prompt-library.d.ts.map +0 -1
- package/node_modules/@pi-harness/core/dist/plugins/prompt-library.js +0 -145
- package/node_modules/@pi-harness/core/dist/plugins/prompt-library.js.map +0 -1
- package/node_modules/@pi-harness/core/dist/plugins/readme-gen.d.ts +0 -29
- package/node_modules/@pi-harness/core/dist/plugins/readme-gen.d.ts.map +0 -1
- package/node_modules/@pi-harness/core/dist/plugins/readme-gen.js +0 -580
- package/node_modules/@pi-harness/core/dist/plugins/readme-gen.js.map +0 -1
- package/node_modules/@pi-harness/core/dist/plugins/recall-unread.d.ts +0 -24
- package/node_modules/@pi-harness/core/dist/plugins/recall-unread.d.ts.map +0 -1
- package/node_modules/@pi-harness/core/dist/plugins/recall-unread.js +0 -467
- package/node_modules/@pi-harness/core/dist/plugins/recall-unread.js.map +0 -1
- package/node_modules/@pi-harness/core/dist/plugins/resources.d.ts +0 -19
- package/node_modules/@pi-harness/core/dist/plugins/resources.d.ts.map +0 -1
- package/node_modules/@pi-harness/core/dist/plugins/resources.js +0 -126
- package/node_modules/@pi-harness/core/dist/plugins/resources.js.map +0 -1
- package/node_modules/@pi-harness/core/dist/plugins/reverse-skill.d.ts +0 -23
- package/node_modules/@pi-harness/core/dist/plugins/reverse-skill.d.ts.map +0 -1
- package/node_modules/@pi-harness/core/dist/plugins/reverse-skill.js +0 -61
- package/node_modules/@pi-harness/core/dist/plugins/reverse-skill.js.map +0 -1
- package/node_modules/@pi-harness/core/dist/plugins/reviewer-bot.d.ts +0 -15
- package/node_modules/@pi-harness/core/dist/plugins/reviewer-bot.d.ts.map +0 -1
- package/node_modules/@pi-harness/core/dist/plugins/reviewer-bot.js +0 -152
- package/node_modules/@pi-harness/core/dist/plugins/reviewer-bot.js.map +0 -1
- package/node_modules/@pi-harness/core/dist/plugins/runtime-doctor.d.ts +0 -34
- package/node_modules/@pi-harness/core/dist/plugins/runtime-doctor.d.ts.map +0 -1
- package/node_modules/@pi-harness/core/dist/plugins/runtime-doctor.js +0 -117
- package/node_modules/@pi-harness/core/dist/plugins/runtime-doctor.js.map +0 -1
- package/node_modules/@pi-harness/core/dist/plugins/runtime.d.ts +0 -14
- package/node_modules/@pi-harness/core/dist/plugins/runtime.d.ts.map +0 -1
- package/node_modules/@pi-harness/core/dist/plugins/runtime.js +0 -159
- package/node_modules/@pi-harness/core/dist/plugins/runtime.js.map +0 -1
- package/node_modules/@pi-harness/core/dist/plugins/secure-audit.d.ts +0 -32
- package/node_modules/@pi-harness/core/dist/plugins/secure-audit.d.ts.map +0 -1
- package/node_modules/@pi-harness/core/dist/plugins/secure-audit.js +0 -139
- package/node_modules/@pi-harness/core/dist/plugins/secure-audit.js.map +0 -1
- package/node_modules/@pi-harness/core/dist/plugins/session-bookmarks.d.ts +0 -16
- package/node_modules/@pi-harness/core/dist/plugins/session-bookmarks.d.ts.map +0 -1
- package/node_modules/@pi-harness/core/dist/plugins/session-bookmarks.js +0 -90
- package/node_modules/@pi-harness/core/dist/plugins/session-bookmarks.js.map +0 -1
- package/node_modules/@pi-harness/core/dist/plugins/session-bridge.d.ts +0 -45
- package/node_modules/@pi-harness/core/dist/plugins/session-bridge.d.ts.map +0 -1
- package/node_modules/@pi-harness/core/dist/plugins/session-bridge.js +0 -578
- package/node_modules/@pi-harness/core/dist/plugins/session-bridge.js.map +0 -1
- package/node_modules/@pi-harness/core/dist/plugins/session-compare.d.ts +0 -34
- package/node_modules/@pi-harness/core/dist/plugins/session-compare.d.ts.map +0 -1
- package/node_modules/@pi-harness/core/dist/plugins/session-compare.js +0 -153
- package/node_modules/@pi-harness/core/dist/plugins/session-compare.js.map +0 -1
- package/node_modules/@pi-harness/core/dist/plugins/session-export.d.ts +0 -10
- package/node_modules/@pi-harness/core/dist/plugins/session-export.d.ts.map +0 -1
- package/node_modules/@pi-harness/core/dist/plugins/session-export.js +0 -93
- package/node_modules/@pi-harness/core/dist/plugins/session-export.js.map +0 -1
- package/node_modules/@pi-harness/core/dist/plugins/session-insights.d.ts +0 -44
- package/node_modules/@pi-harness/core/dist/plugins/session-insights.d.ts.map +0 -1
- package/node_modules/@pi-harness/core/dist/plugins/session-insights.js +0 -432
- package/node_modules/@pi-harness/core/dist/plugins/session-insights.js.map +0 -1
- package/node_modules/@pi-harness/core/dist/plugins/session-search.d.ts +0 -21
- package/node_modules/@pi-harness/core/dist/plugins/session-search.d.ts.map +0 -1
- package/node_modules/@pi-harness/core/dist/plugins/session-search.js +0 -125
- package/node_modules/@pi-harness/core/dist/plugins/session-search.js.map +0 -1
- package/node_modules/@pi-harness/core/dist/plugins/session.d.ts +0 -15
- package/node_modules/@pi-harness/core/dist/plugins/session.d.ts.map +0 -1
- package/node_modules/@pi-harness/core/dist/plugins/session.js +0 -29
- package/node_modules/@pi-harness/core/dist/plugins/session.js.map +0 -1
- package/node_modules/@pi-harness/core/dist/plugins/skill-catalog.d.ts +0 -27
- package/node_modules/@pi-harness/core/dist/plugins/skill-catalog.d.ts.map +0 -1
- package/node_modules/@pi-harness/core/dist/plugins/skill-catalog.js +0 -98
- package/node_modules/@pi-harness/core/dist/plugins/skill-catalog.js.map +0 -1
- package/node_modules/@pi-harness/core/dist/plugins/skill-guard.d.ts +0 -27
- package/node_modules/@pi-harness/core/dist/plugins/skill-guard.d.ts.map +0 -1
- package/node_modules/@pi-harness/core/dist/plugins/skill-guard.js +0 -319
- package/node_modules/@pi-harness/core/dist/plugins/skill-guard.js.map +0 -1
- package/node_modules/@pi-harness/core/dist/plugins/sql-lens-worker.d.ts +0 -2
- package/node_modules/@pi-harness/core/dist/plugins/sql-lens-worker.d.ts.map +0 -1
- package/node_modules/@pi-harness/core/dist/plugins/sql-lens-worker.js +0 -206
- package/node_modules/@pi-harness/core/dist/plugins/sql-lens-worker.js.map +0 -1
- package/node_modules/@pi-harness/core/dist/plugins/sql-lens.d.ts +0 -14
- package/node_modules/@pi-harness/core/dist/plugins/sql-lens.d.ts.map +0 -1
- package/node_modules/@pi-harness/core/dist/plugins/sql-lens.js +0 -318
- package/node_modules/@pi-harness/core/dist/plugins/sql-lens.js.map +0 -1
- package/node_modules/@pi-harness/core/dist/plugins/stdio.d.ts +0 -11
- package/node_modules/@pi-harness/core/dist/plugins/stdio.d.ts.map +0 -1
- package/node_modules/@pi-harness/core/dist/plugins/stdio.js +0 -80
- package/node_modules/@pi-harness/core/dist/plugins/stdio.js.map +0 -1
- package/node_modules/@pi-harness/core/dist/plugins/synapse.d.ts +0 -38
- package/node_modules/@pi-harness/core/dist/plugins/synapse.d.ts.map +0 -1
- package/node_modules/@pi-harness/core/dist/plugins/synapse.js +0 -101
- package/node_modules/@pi-harness/core/dist/plugins/synapse.js.map +0 -1
- package/node_modules/@pi-harness/core/dist/plugins/tab-manager.d.ts +0 -9
- package/node_modules/@pi-harness/core/dist/plugins/tab-manager.d.ts.map +0 -1
- package/node_modules/@pi-harness/core/dist/plugins/tab-manager.js +0 -240
- package/node_modules/@pi-harness/core/dist/plugins/tab-manager.js.map +0 -1
- package/node_modules/@pi-harness/core/dist/plugins/taskboard.d.ts +0 -15
- package/node_modules/@pi-harness/core/dist/plugins/taskboard.d.ts.map +0 -1
- package/node_modules/@pi-harness/core/dist/plugins/taskboard.js +0 -375
- package/node_modules/@pi-harness/core/dist/plugins/taskboard.js.map +0 -1
- package/node_modules/@pi-harness/core/dist/plugins/telemetry-blocker.d.ts +0 -11
- package/node_modules/@pi-harness/core/dist/plugins/telemetry-blocker.d.ts.map +0 -1
- package/node_modules/@pi-harness/core/dist/plugins/telemetry-blocker.js +0 -76
- package/node_modules/@pi-harness/core/dist/plugins/telemetry-blocker.js.map +0 -1
- package/node_modules/@pi-harness/core/dist/plugins/test-harness.d.ts +0 -14
- package/node_modules/@pi-harness/core/dist/plugins/test-harness.d.ts.map +0 -1
- package/node_modules/@pi-harness/core/dist/plugins/test-harness.js +0 -276
- package/node_modules/@pi-harness/core/dist/plugins/test-harness.js.map +0 -1
- package/node_modules/@pi-harness/core/dist/plugins/theme-studio.d.ts +0 -29
- package/node_modules/@pi-harness/core/dist/plugins/theme-studio.d.ts.map +0 -1
- package/node_modules/@pi-harness/core/dist/plugins/theme-studio.js +0 -143
- package/node_modules/@pi-harness/core/dist/plugins/theme-studio.js.map +0 -1
- package/node_modules/@pi-harness/core/dist/plugins/token-guard.d.ts +0 -15
- package/node_modules/@pi-harness/core/dist/plugins/token-guard.d.ts.map +0 -1
- package/node_modules/@pi-harness/core/dist/plugins/token-guard.js +0 -210
- package/node_modules/@pi-harness/core/dist/plugins/token-guard.js.map +0 -1
- package/node_modules/@pi-harness/core/dist/plugins/tools.d.ts +0 -13
- package/node_modules/@pi-harness/core/dist/plugins/tools.d.ts.map +0 -1
- package/node_modules/@pi-harness/core/dist/plugins/tools.js +0 -23
- package/node_modules/@pi-harness/core/dist/plugins/tools.js.map +0 -1
- package/node_modules/@pi-harness/core/dist/plugins/turn-rewind.d.ts +0 -36
- package/node_modules/@pi-harness/core/dist/plugins/turn-rewind.d.ts.map +0 -1
- package/node_modules/@pi-harness/core/dist/plugins/turn-rewind.js +0 -378
- package/node_modules/@pi-harness/core/dist/plugins/turn-rewind.js.map +0 -1
- package/node_modules/@pi-harness/core/dist/plugins/undo-savepoint.d.ts +0 -17
- package/node_modules/@pi-harness/core/dist/plugins/undo-savepoint.d.ts.map +0 -1
- package/node_modules/@pi-harness/core/dist/plugins/undo-savepoint.js +0 -353
- package/node_modules/@pi-harness/core/dist/plugins/undo-savepoint.js.map +0 -1
- package/node_modules/@pi-harness/core/dist/plugins/vision-toolkit.d.ts +0 -36
- package/node_modules/@pi-harness/core/dist/plugins/vision-toolkit.d.ts.map +0 -1
- package/node_modules/@pi-harness/core/dist/plugins/vision-toolkit.js +0 -468
- package/node_modules/@pi-harness/core/dist/plugins/vision-toolkit.js.map +0 -1
- package/node_modules/@pi-harness/core/dist/plugins/web-research.d.ts +0 -17
- package/node_modules/@pi-harness/core/dist/plugins/web-research.d.ts.map +0 -1
- package/node_modules/@pi-harness/core/dist/plugins/web-research.js +0 -284
- package/node_modules/@pi-harness/core/dist/plugins/web-research.js.map +0 -1
- package/node_modules/@pi-harness/core/dist/plugins/workspace-navigator.d.ts +0 -42
- package/node_modules/@pi-harness/core/dist/plugins/workspace-navigator.d.ts.map +0 -1
- package/node_modules/@pi-harness/core/dist/plugins/workspace-navigator.js +0 -168
- package/node_modules/@pi-harness/core/dist/plugins/workspace-navigator.js.map +0 -1
- package/node_modules/@pi-harness/core/dist/plugins/workspace-search.d.ts +0 -15
- package/node_modules/@pi-harness/core/dist/plugins/workspace-search.d.ts.map +0 -1
- package/node_modules/@pi-harness/core/dist/plugins/workspace-search.js +0 -167
- package/node_modules/@pi-harness/core/dist/plugins/workspace-search.js.map +0 -1
- package/node_modules/@pi-harness/core/dist/plugins/yaml-validator.d.ts +0 -9
- package/node_modules/@pi-harness/core/dist/plugins/yaml-validator.d.ts.map +0 -1
- package/node_modules/@pi-harness/core/dist/plugins/yaml-validator.js +0 -203
- package/node_modules/@pi-harness/core/dist/plugins/yaml-validator.js.map +0 -1
- package/node_modules/@pi-harness/core/dist/profile.d.ts +0 -9
- package/node_modules/@pi-harness/core/dist/profile.d.ts.map +0 -1
- package/node_modules/@pi-harness/core/dist/profile.js +0 -33
- package/node_modules/@pi-harness/core/dist/profile.js.map +0 -1
- package/node_modules/@pi-harness/core/dist/runtime.d.ts +0 -16
- package/node_modules/@pi-harness/core/dist/runtime.d.ts.map +0 -1
- package/node_modules/@pi-harness/core/dist/runtime.js +0 -47
- package/node_modules/@pi-harness/core/dist/runtime.js.map +0 -1
- package/node_modules/@pi-harness/core/dist/services.d.ts +0 -118
- package/node_modules/@pi-harness/core/dist/services.d.ts.map +0 -1
- package/node_modules/@pi-harness/core/dist/services.js +0 -115
- package/node_modules/@pi-harness/core/dist/services.js.map +0 -1
- package/node_modules/@pi-harness/core/dist/stdio.d.ts +0 -37
- package/node_modules/@pi-harness/core/dist/stdio.d.ts.map +0 -1
- package/node_modules/@pi-harness/core/dist/stdio.js +0 -356
- package/node_modules/@pi-harness/core/dist/stdio.js.map +0 -1
- package/node_modules/@pi-harness/core/dist/workspace-path.d.ts +0 -13
- package/node_modules/@pi-harness/core/dist/workspace-path.d.ts.map +0 -1
- package/node_modules/@pi-harness/core/dist/workspace-path.js +0 -71
- package/node_modules/@pi-harness/core/dist/workspace-path.js.map +0 -1
- package/node_modules/@pi-harness/core/package.json +0 -42
- package/node_modules/@pi-harness/core/profiles/default/cordis.yml +0 -122
- package/node_modules/@pi-harness/core/profiles/development/cordis.yml +0 -47
- package/packages/client-web/LICENSE +0 -9
- package/packages/client-web/dist/agent-teams-view.d.ts +0 -70
- package/packages/client-web/dist/agent-teams-view.d.ts.map +0 -1
- package/packages/client-web/dist/agent-teams-view.js +0 -159
- package/packages/client-web/dist/agent-teams-view.js.map +0 -1
- package/packages/client-web/dist/annotation-ui.d.ts +0 -11
- package/packages/client-web/dist/annotation-ui.d.ts.map +0 -1
- package/packages/client-web/dist/annotation-ui.js +0 -24
- package/packages/client-web/dist/annotation-ui.js.map +0 -1
- package/packages/client-web/dist/at-file-view.d.ts +0 -10
- package/packages/client-web/dist/at-file-view.d.ts.map +0 -1
- package/packages/client-web/dist/at-file-view.js +0 -65
- package/packages/client-web/dist/at-file-view.js.map +0 -1
- package/packages/client-web/dist/browser-fetch-view.d.ts +0 -22
- package/packages/client-web/dist/browser-fetch-view.d.ts.map +0 -1
- package/packages/client-web/dist/browser-fetch-view.js +0 -101
- package/packages/client-web/dist/browser-fetch-view.js.map +0 -1
- package/packages/client-web/dist/browser-session-view.d.ts +0 -39
- package/packages/client-web/dist/browser-session-view.d.ts.map +0 -1
- package/packages/client-web/dist/browser-session-view.js +0 -211
- package/packages/client-web/dist/browser-session-view.js.map +0 -1
- package/packages/client-web/dist/cleaner-view.d.ts +0 -29
- package/packages/client-web/dist/cleaner-view.d.ts.map +0 -1
- package/packages/client-web/dist/cleaner-view.js +0 -191
- package/packages/client-web/dist/cleaner-view.js.map +0 -1
- package/packages/client-web/dist/context-doctor-view.d.ts +0 -35
- package/packages/client-web/dist/context-doctor-view.d.ts.map +0 -1
- package/packages/client-web/dist/context-doctor-view.js +0 -129
- package/packages/client-web/dist/context-doctor-view.js.map +0 -1
- package/packages/client-web/dist/context-insights-view.d.ts +0 -31
- package/packages/client-web/dist/context-insights-view.d.ts.map +0 -1
- package/packages/client-web/dist/context-insights-view.js +0 -90
- package/packages/client-web/dist/context-insights-view.js.map +0 -1
- package/packages/client-web/dist/control-room.d.ts +0 -270
- package/packages/client-web/dist/control-room.d.ts.map +0 -1
- package/packages/client-web/dist/control-room.js +0 -157
- package/packages/client-web/dist/control-room.js.map +0 -1
- package/packages/client-web/dist/cost-meter-view.d.ts +0 -16
- package/packages/client-web/dist/cost-meter-view.d.ts.map +0 -1
- package/packages/client-web/dist/cost-meter-view.js +0 -43
- package/packages/client-web/dist/cost-meter-view.js.map +0 -1
- package/packages/client-web/dist/dependency-checker-view.d.ts +0 -24
- package/packages/client-web/dist/dependency-checker-view.d.ts.map +0 -1
- package/packages/client-web/dist/dependency-checker-view.js +0 -195
- package/packages/client-web/dist/dependency-checker-view.js.map +0 -1
- package/packages/client-web/dist/design-contract.d.ts +0 -85
- package/packages/client-web/dist/design-contract.d.ts.map +0 -1
- package/packages/client-web/dist/design-contract.js +0 -258
- package/packages/client-web/dist/design-contract.js.map +0 -1
- package/packages/client-web/dist/docker-sandbox-view.d.ts +0 -28
- package/packages/client-web/dist/docker-sandbox-view.d.ts.map +0 -1
- package/packages/client-web/dist/docker-sandbox-view.js +0 -152
- package/packages/client-web/dist/docker-sandbox-view.js.map +0 -1
- package/packages/client-web/dist/fail-logger-view.d.ts +0 -16
- package/packages/client-web/dist/fail-logger-view.d.ts.map +0 -1
- package/packages/client-web/dist/fail-logger-view.js +0 -97
- package/packages/client-web/dist/fail-logger-view.js.map +0 -1
- package/packages/client-web/dist/genui-view.d.ts +0 -28
- package/packages/client-web/dist/genui-view.d.ts.map +0 -1
- package/packages/client-web/dist/genui-view.js +0 -62
- package/packages/client-web/dist/genui-view.js.map +0 -1
- package/packages/client-web/dist/git-time-capsule-view.d.ts +0 -31
- package/packages/client-web/dist/git-time-capsule-view.d.ts.map +0 -1
- package/packages/client-web/dist/git-time-capsule-view.js +0 -203
- package/packages/client-web/dist/git-time-capsule-view.js.map +0 -1
- package/packages/client-web/dist/graph-memory-view.d.ts +0 -39
- package/packages/client-web/dist/graph-memory-view.d.ts.map +0 -1
- package/packages/client-web/dist/graph-memory-view.js +0 -82
- package/packages/client-web/dist/graph-memory-view.js.map +0 -1
- package/packages/client-web/dist/i18n-pair-view.d.ts +0 -32
- package/packages/client-web/dist/i18n-pair-view.d.ts.map +0 -1
- package/packages/client-web/dist/i18n-pair-view.js +0 -182
- package/packages/client-web/dist/i18n-pair-view.js.map +0 -1
- package/packages/client-web/dist/index.d.ts +0 -20
- package/packages/client-web/dist/index.d.ts.map +0 -1
- package/packages/client-web/dist/index.js +0 -27
- package/packages/client-web/dist/index.js.map +0 -1
- package/packages/client-web/dist/markdown.d.ts +0 -5
- package/packages/client-web/dist/markdown.d.ts.map +0 -1
- package/packages/client-web/dist/markdown.js +0 -20
- package/packages/client-web/dist/markdown.js.map +0 -1
- package/packages/client-web/dist/marketplace-catalog.d.ts +0 -3
- package/packages/client-web/dist/marketplace-catalog.d.ts.map +0 -1
- package/packages/client-web/dist/marketplace-catalog.js +0 -10
- package/packages/client-web/dist/marketplace-catalog.js.map +0 -1
- package/packages/client-web/dist/marketplace-navigation.d.ts +0 -19
- package/packages/client-web/dist/marketplace-navigation.d.ts.map +0 -1
- package/packages/client-web/dist/marketplace-navigation.js +0 -31
- package/packages/client-web/dist/marketplace-navigation.js.map +0 -1
- package/packages/client-web/dist/mcp-client-view.d.ts +0 -58
- package/packages/client-web/dist/mcp-client-view.d.ts.map +0 -1
- package/packages/client-web/dist/mcp-client-view.js +0 -121
- package/packages/client-web/dist/mcp-client-view.js.map +0 -1
- package/packages/client-web/dist/message-content.d.ts +0 -9
- package/packages/client-web/dist/message-content.d.ts.map +0 -1
- package/packages/client-web/dist/message-content.js +0 -54
- package/packages/client-web/dist/message-content.js.map +0 -1
- package/packages/client-web/dist/modlens-view.d.ts +0 -43
- package/packages/client-web/dist/modlens-view.d.ts.map +0 -1
- package/packages/client-web/dist/modlens-view.js +0 -176
- package/packages/client-web/dist/modlens-view.js.map +0 -1
- package/packages/client-web/dist/openpets-view.d.ts +0 -26
- package/packages/client-web/dist/openpets-view.d.ts.map +0 -1
- package/packages/client-web/dist/openpets-view.js +0 -62
- package/packages/client-web/dist/openpets-view.js.map +0 -1
- package/packages/client-web/dist/panel-safe.d.ts +0 -5
- package/packages/client-web/dist/panel-safe.d.ts.map +0 -1
- package/packages/client-web/dist/panel-safe.js +0 -58
- package/packages/client-web/dist/panel-safe.js.map +0 -1
- package/packages/client-web/dist/plugin-card.d.ts +0 -8
- package/packages/client-web/dist/plugin-card.d.ts.map +0 -1
- package/packages/client-web/dist/plugin-card.js +0 -15
- package/packages/client-web/dist/plugin-card.js.map +0 -1
- package/packages/client-web/dist/plugin-dev-view.d.ts +0 -15
- package/packages/client-web/dist/plugin-dev-view.d.ts.map +0 -1
- package/packages/client-web/dist/plugin-dev-view.js +0 -33
- package/packages/client-web/dist/plugin-dev-view.js.map +0 -1
- package/packages/client-web/dist/plugin-navigation.d.ts +0 -3
- package/packages/client-web/dist/plugin-navigation.d.ts.map +0 -1
- package/packages/client-web/dist/plugin-navigation.js +0 -10
- package/packages/client-web/dist/plugin-navigation.js.map +0 -1
- package/packages/client-web/dist/plugin-search.d.ts +0 -2
- package/packages/client-web/dist/plugin-search.d.ts.map +0 -1
- package/packages/client-web/dist/plugin-search.js +0 -7
- package/packages/client-web/dist/plugin-search.js.map +0 -1
- package/packages/client-web/dist/plugin-stars-view.d.ts +0 -40
- package/packages/client-web/dist/plugin-stars-view.d.ts.map +0 -1
- package/packages/client-web/dist/plugin-stars-view.js +0 -216
- package/packages/client-web/dist/plugin-stars-view.js.map +0 -1
- package/packages/client-web/dist/prompt-completion.d.ts +0 -13
- package/packages/client-web/dist/prompt-completion.d.ts.map +0 -1
- package/packages/client-web/dist/prompt-completion.js +0 -17
- package/packages/client-web/dist/prompt-completion.js.map +0 -1
- package/packages/client-web/dist/react-room.d.ts +0 -11
- package/packages/client-web/dist/react-room.d.ts.map +0 -1
- package/packages/client-web/dist/react-room.js +0 -2844
- package/packages/client-web/dist/react-room.js.map +0 -1
- package/packages/client-web/dist/readme-gen-view.d.ts +0 -30
- package/packages/client-web/dist/readme-gen-view.d.ts.map +0 -1
- package/packages/client-web/dist/readme-gen-view.js +0 -134
- package/packages/client-web/dist/readme-gen-view.js.map +0 -1
- package/packages/client-web/dist/recall-unread-view.d.ts +0 -46
- package/packages/client-web/dist/recall-unread-view.d.ts.map +0 -1
- package/packages/client-web/dist/recall-unread-view.js +0 -104
- package/packages/client-web/dist/recall-unread-view.js.map +0 -1
- package/packages/client-web/dist/runtime-events.d.ts +0 -4
- package/packages/client-web/dist/runtime-events.d.ts.map +0 -1
- package/packages/client-web/dist/runtime-events.js +0 -29
- package/packages/client-web/dist/runtime-events.js.map +0 -1
- package/packages/client-web/dist/session-bridge-view.d.ts +0 -50
- package/packages/client-web/dist/session-bridge-view.d.ts.map +0 -1
- package/packages/client-web/dist/session-bridge-view.js +0 -113
- package/packages/client-web/dist/session-bridge-view.js.map +0 -1
- package/packages/client-web/dist/session-insights-view.d.ts +0 -40
- package/packages/client-web/dist/session-insights-view.d.ts.map +0 -1
- package/packages/client-web/dist/session-insights-view.js +0 -157
- package/packages/client-web/dist/session-insights-view.js.map +0 -1
- package/packages/client-web/dist/skill-guard-view.d.ts +0 -47
- package/packages/client-web/dist/skill-guard-view.d.ts.map +0 -1
- package/packages/client-web/dist/skill-guard-view.js +0 -93
- package/packages/client-web/dist/skill-guard-view.js.map +0 -1
- package/packages/client-web/dist/sql-lens-view.d.ts +0 -37
- package/packages/client-web/dist/sql-lens-view.d.ts.map +0 -1
- package/packages/client-web/dist/sql-lens-view.js +0 -235
- package/packages/client-web/dist/sql-lens-view.js.map +0 -1
- package/packages/client-web/dist/test-harness-view.d.ts +0 -24
- package/packages/client-web/dist/test-harness-view.d.ts.map +0 -1
- package/packages/client-web/dist/test-harness-view.js +0 -149
- package/packages/client-web/dist/test-harness-view.js.map +0 -1
- package/packages/client-web/dist/token-guard-view.d.ts +0 -19
- package/packages/client-web/dist/token-guard-view.d.ts.map +0 -1
- package/packages/client-web/dist/token-guard-view.js +0 -56
- package/packages/client-web/dist/token-guard-view.js.map +0 -1
- package/packages/client-web/dist/turn-rewind-view.d.ts +0 -41
- package/packages/client-web/dist/turn-rewind-view.d.ts.map +0 -1
- package/packages/client-web/dist/turn-rewind-view.js +0 -117
- package/packages/client-web/dist/turn-rewind-view.js.map +0 -1
- package/packages/client-web/dist/vision-toolkit-view.d.ts +0 -66
- package/packages/client-web/dist/vision-toolkit-view.d.ts.map +0 -1
- package/packages/client-web/dist/vision-toolkit-view.js +0 -238
- package/packages/client-web/dist/vision-toolkit-view.js.map +0 -1
- package/packages/client-web/dist/yaml-validator-view.d.ts +0 -52
- package/packages/client-web/dist/yaml-validator-view.d.ts.map +0 -1
- package/packages/client-web/dist/yaml-validator-view.js +0 -96
- package/packages/client-web/dist/yaml-validator-view.js.map +0 -1
- package/packages/client-web/package.json +0 -42
- package/packages/client-web/src/agent-teams-view.ts +0 -189
- package/packages/client-web/src/annotation-ui.ts +0 -29
- package/packages/client-web/src/at-file-view.ts +0 -69
- package/packages/client-web/src/browser-fetch-view.ts +0 -114
- package/packages/client-web/src/browser-session-view.ts +0 -232
- package/packages/client-web/src/cleaner-view.ts +0 -207
- package/packages/client-web/src/context-doctor-view.ts +0 -140
- package/packages/client-web/src/context-insights-view.ts +0 -125
- package/packages/client-web/src/control-room.ts +0 -359
- package/packages/client-web/src/cost-meter-view.ts +0 -63
- package/packages/client-web/src/dependency-checker-view.ts +0 -215
- package/packages/client-web/src/design-contract.ts +0 -334
- package/packages/client-web/src/docker-sandbox-view.ts +0 -177
- package/packages/client-web/src/fail-logger-view.ts +0 -112
- package/packages/client-web/src/genui-view.ts +0 -88
- package/packages/client-web/src/git-time-capsule-view.ts +0 -215
- package/packages/client-web/src/graph-memory-view.ts +0 -91
- package/packages/client-web/src/i18n-pair-view.ts +0 -194
- package/packages/client-web/src/index.ts +0 -34
- package/packages/client-web/src/markdown.tsx +0 -22
- package/packages/client-web/src/marketplace-catalog.ts +0 -10
- package/packages/client-web/src/marketplace-navigation.ts +0 -46
- package/packages/client-web/src/mcp-client-view.ts +0 -122
- package/packages/client-web/src/message-content.ts +0 -51
- package/packages/client-web/src/modlens-view.ts +0 -210
- package/packages/client-web/src/openpets-view.ts +0 -67
- package/packages/client-web/src/panel-safe.ts +0 -47
- package/packages/client-web/src/plugin-card.ts +0 -22
- package/packages/client-web/src/plugin-dev-view.ts +0 -39
- package/packages/client-web/src/plugin-navigation.ts +0 -9
- package/packages/client-web/src/plugin-search.ts +0 -5
- package/packages/client-web/src/plugin-stars-view.ts +0 -257
- package/packages/client-web/src/prompt-completion.ts +0 -24
- package/packages/client-web/src/react-room.tsx +0 -8581
- package/packages/client-web/src/readme-gen-view.ts +0 -145
- package/packages/client-web/src/recall-unread-view.ts +0 -105
- package/packages/client-web/src/runtime-events.ts +0 -29
- package/packages/client-web/src/session-bridge-view.ts +0 -118
- package/packages/client-web/src/session-insights-view.ts +0 -205
- package/packages/client-web/src/skill-guard-view.ts +0 -94
- package/packages/client-web/src/sql-lens-view.ts +0 -247
- package/packages/client-web/src/test-harness-view.ts +0 -170
- package/packages/client-web/src/token-guard-view.ts +0 -75
- package/packages/client-web/src/turn-rewind-view.ts +0 -120
- package/packages/client-web/src/vision-toolkit-view.ts +0 -280
- package/packages/client-web/src/yaml-validator-view.ts +0 -102
- package/packages/client-web/test/agent-teams-view.test.ts +0 -198
- package/packages/client-web/test/annotation-ui.test.ts +0 -21
- package/packages/client-web/test/at-file-panel.test.ts +0 -76
- package/packages/client-web/test/browser-fetch-panel.test.ts +0 -44
- package/packages/client-web/test/browser-fetch-view.test.ts +0 -89
- package/packages/client-web/test/browser-session-panel.test.ts +0 -55
- package/packages/client-web/test/browser-session-view.test.ts +0 -115
- package/packages/client-web/test/cleaner-panel.test.ts +0 -66
- package/packages/client-web/test/cleaner-view.test.ts +0 -143
- package/packages/client-web/test/context-doctor-view.test.ts +0 -169
- package/packages/client-web/test/context-insights-view.test.ts +0 -120
- package/packages/client-web/test/cost-meter-view.test.ts +0 -53
- package/packages/client-web/test/dependency-checker-panel.test.ts +0 -51
- package/packages/client-web/test/dependency-checker-view.test.ts +0 -266
- package/packages/client-web/test/design-contract.test.ts +0 -69
- package/packages/client-web/test/docker-sandbox-panel.test.ts +0 -44
- package/packages/client-web/test/docker-sandbox-view.test.ts +0 -127
- package/packages/client-web/test/fail-logger-view.test.ts +0 -155
- package/packages/client-web/test/genui-view.test.ts +0 -55
- package/packages/client-web/test/git-time-capsule-view.test.ts +0 -252
- package/packages/client-web/test/graph-memory-view.test.ts +0 -67
- package/packages/client-web/test/i18n-pair-panel.test.ts +0 -72
- package/packages/client-web/test/i18n-pair-view.test.ts +0 -164
- package/packages/client-web/test/marketplace-catalog.test.ts +0 -52
- package/packages/client-web/test/mcp-client-view.test.ts +0 -106
- package/packages/client-web/test/message-content.test.ts +0 -43
- package/packages/client-web/test/modlens-view.test.ts +0 -198
- package/packages/client-web/test/openpets-view.test.ts +0 -57
- package/packages/client-web/test/plugin-card.test.ts +0 -46
- package/packages/client-web/test/plugin-dev-view.test.ts +0 -63
- package/packages/client-web/test/plugin-navigation.test.ts +0 -14
- package/packages/client-web/test/plugin-search.test.ts +0 -22
- package/packages/client-web/test/plugin-stars-panel.test.ts +0 -44
- package/packages/client-web/test/plugin-stars-view.test.ts +0 -107
- package/packages/client-web/test/prompt-completion.test.ts +0 -21
- package/packages/client-web/test/readme-gen-panel.test.ts +0 -81
- package/packages/client-web/test/readme-gen-view.test.ts +0 -91
- package/packages/client-web/test/recall-unread-view.test.ts +0 -153
- package/packages/client-web/test/runtime-events.test.ts +0 -28
- package/packages/client-web/test/session-bridge-view.test.ts +0 -102
- package/packages/client-web/test/session-insights-panel.test.ts +0 -85
- package/packages/client-web/test/session-insights-view.test.ts +0 -152
- package/packages/client-web/test/skill-guard-view.test.ts +0 -138
- package/packages/client-web/test/sql-lens-panel.test.ts +0 -52
- package/packages/client-web/test/sql-lens-view.test.ts +0 -134
- package/packages/client-web/test/test-harness-panel.test.ts +0 -228
- package/packages/client-web/test/token-guard-view.test.ts +0 -93
- package/packages/client-web/test/turn-rewind-view.test.ts +0 -159
- package/packages/client-web/test/vision-toolkit-view.test.ts +0 -152
- package/packages/client-web/test/yaml-validator-view.test.ts +0 -100
- package/packages/client-web/tsconfig.build.json +0 -13
- package/packages/client-web/tsconfig.json +0 -11
- package/packages/core/LICENSE +0 -9
- package/packages/core/dist/atomic-write.d.ts +0 -8
- package/packages/core/dist/atomic-write.d.ts.map +0 -1
- package/packages/core/dist/atomic-write.js +0 -40
- package/packages/core/dist/atomic-write.js.map +0 -1
- package/packages/core/dist/boot.d.ts +0 -13
- package/packages/core/dist/boot.d.ts.map +0 -1
- package/packages/core/dist/boot.js +0 -257
- package/packages/core/dist/boot.js.map +0 -1
- package/packages/core/dist/bounded-file.d.ts +0 -7
- package/packages/core/dist/bounded-file.d.ts.map +0 -1
- package/packages/core/dist/bounded-file.js +0 -50
- package/packages/core/dist/bounded-file.js.map +0 -1
- package/packages/core/dist/config.d.ts +0 -4
- package/packages/core/dist/config.d.ts.map +0 -1
- package/packages/core/dist/config.js +0 -29
- package/packages/core/dist/config.js.map +0 -1
- package/packages/core/dist/context.d.ts +0 -3
- package/packages/core/dist/context.d.ts.map +0 -1
- package/packages/core/dist/context.js +0 -2
- package/packages/core/dist/context.js.map +0 -1
- package/packages/core/dist/cordis-timer.d.ts +0 -15
- package/packages/core/dist/cordis-timer.d.ts.map +0 -1
- package/packages/core/dist/cordis-timer.js +0 -99
- package/packages/core/dist/cordis-timer.js.map +0 -1
- package/packages/core/dist/http.d.ts +0 -8
- package/packages/core/dist/http.d.ts.map +0 -1
- package/packages/core/dist/http.js +0 -27
- package/packages/core/dist/http.js.map +0 -1
- package/packages/core/dist/index.d.ts +0 -9
- package/packages/core/dist/index.d.ts.map +0 -1
- package/packages/core/dist/index.js +0 -8
- package/packages/core/dist/index.js.map +0 -1
- package/packages/core/dist/plugins/agent-teams.d.ts +0 -21
- package/packages/core/dist/plugins/agent-teams.d.ts.map +0 -1
- package/packages/core/dist/plugins/agent-teams.js +0 -1179
- package/packages/core/dist/plugins/agent-teams.js.map +0 -1
- package/packages/core/dist/plugins/anchored-standard.d.ts +0 -15
- package/packages/core/dist/plugins/anchored-standard.d.ts.map +0 -1
- package/packages/core/dist/plugins/anchored-standard.js +0 -112
- package/packages/core/dist/plugins/anchored-standard.js.map +0 -1
- package/packages/core/dist/plugins/annotation.d.ts +0 -19
- package/packages/core/dist/plugins/annotation.d.ts.map +0 -1
- package/packages/core/dist/plugins/annotation.js +0 -112
- package/packages/core/dist/plugins/annotation.js.map +0 -1
- package/packages/core/dist/plugins/archify.d.ts +0 -24
- package/packages/core/dist/plugins/archify.d.ts.map +0 -1
- package/packages/core/dist/plugins/archify.js +0 -145
- package/packages/core/dist/plugins/archify.js.map +0 -1
- package/packages/core/dist/plugins/at-file.d.ts +0 -12
- package/packages/core/dist/plugins/at-file.d.ts.map +0 -1
- package/packages/core/dist/plugins/at-file.js +0 -143
- package/packages/core/dist/plugins/at-file.js.map +0 -1
- package/packages/core/dist/plugins/auto-mode.d.ts +0 -15
- package/packages/core/dist/plugins/auto-mode.d.ts.map +0 -1
- package/packages/core/dist/plugins/auto-mode.js +0 -183
- package/packages/core/dist/plugins/auto-mode.js.map +0 -1
- package/packages/core/dist/plugins/better-sidebar.d.ts +0 -38
- package/packages/core/dist/plugins/better-sidebar.d.ts.map +0 -1
- package/packages/core/dist/plugins/better-sidebar.js +0 -99
- package/packages/core/dist/plugins/better-sidebar.js.map +0 -1
- package/packages/core/dist/plugins/browser-fetch.d.ts +0 -15
- package/packages/core/dist/plugins/browser-fetch.d.ts.map +0 -1
- package/packages/core/dist/plugins/browser-fetch.js +0 -359
- package/packages/core/dist/plugins/browser-fetch.js.map +0 -1
- package/packages/core/dist/plugins/browser-session.d.ts +0 -14
- package/packages/core/dist/plugins/browser-session.d.ts.map +0 -1
- package/packages/core/dist/plugins/browser-session.js +0 -604
- package/packages/core/dist/plugins/browser-session.js.map +0 -1
- package/packages/core/dist/plugins/canvas-draw.d.ts +0 -9
- package/packages/core/dist/plugins/canvas-draw.d.ts.map +0 -1
- package/packages/core/dist/plugins/canvas-draw.js +0 -140
- package/packages/core/dist/plugins/canvas-draw.js.map +0 -1
- package/packages/core/dist/plugins/change-verifier.d.ts +0 -9
- package/packages/core/dist/plugins/change-verifier.d.ts.map +0 -1
- package/packages/core/dist/plugins/change-verifier.js +0 -88
- package/packages/core/dist/plugins/change-verifier.js.map +0 -1
- package/packages/core/dist/plugins/cleaner.d.ts +0 -12
- package/packages/core/dist/plugins/cleaner.d.ts.map +0 -1
- package/packages/core/dist/plugins/cleaner.js +0 -353
- package/packages/core/dist/plugins/cleaner.js.map +0 -1
- package/packages/core/dist/plugins/cli-notifier.d.ts +0 -16
- package/packages/core/dist/plugins/cli-notifier.d.ts.map +0 -1
- package/packages/core/dist/plugins/cli-notifier.js +0 -167
- package/packages/core/dist/plugins/cli-notifier.js.map +0 -1
- package/packages/core/dist/plugins/code2skill.d.ts +0 -9
- package/packages/core/dist/plugins/code2skill.d.ts.map +0 -1
- package/packages/core/dist/plugins/code2skill.js +0 -235
- package/packages/core/dist/plugins/code2skill.js.map +0 -1
- package/packages/core/dist/plugins/colleague-skill.d.ts +0 -28
- package/packages/core/dist/plugins/colleague-skill.d.ts.map +0 -1
- package/packages/core/dist/plugins/colleague-skill.js +0 -129
- package/packages/core/dist/plugins/colleague-skill.js.map +0 -1
- package/packages/core/dist/plugins/context-doctor.d.ts +0 -35
- package/packages/core/dist/plugins/context-doctor.d.ts.map +0 -1
- package/packages/core/dist/plugins/context-doctor.js +0 -459
- package/packages/core/dist/plugins/context-doctor.js.map +0 -1
- package/packages/core/dist/plugins/context.d.ts +0 -9
- package/packages/core/dist/plugins/context.d.ts.map +0 -1
- package/packages/core/dist/plugins/context.js +0 -214
- package/packages/core/dist/plugins/context.js.map +0 -1
- package/packages/core/dist/plugins/cost-meter.d.ts +0 -36
- package/packages/core/dist/plugins/cost-meter.d.ts.map +0 -1
- package/packages/core/dist/plugins/cost-meter.js +0 -430
- package/packages/core/dist/plugins/cost-meter.js.map +0 -1
- package/packages/core/dist/plugins/dependency-checker.d.ts +0 -36
- package/packages/core/dist/plugins/dependency-checker.d.ts.map +0 -1
- package/packages/core/dist/plugins/dependency-checker.js +0 -570
- package/packages/core/dist/plugins/dependency-checker.js.map +0 -1
- package/packages/core/dist/plugins/docker-sandbox.d.ts +0 -9
- package/packages/core/dist/plugins/docker-sandbox.d.ts.map +0 -1
- package/packages/core/dist/plugins/docker-sandbox.js +0 -344
- package/packages/core/dist/plugins/docker-sandbox.js.map +0 -1
- package/packages/core/dist/plugins/fail-logger.d.ts +0 -9
- package/packages/core/dist/plugins/fail-logger.d.ts.map +0 -1
- package/packages/core/dist/plugins/fail-logger.js +0 -218
- package/packages/core/dist/plugins/fail-logger.js.map +0 -1
- package/packages/core/dist/plugins/genui.d.ts +0 -9
- package/packages/core/dist/plugins/genui.d.ts.map +0 -1
- package/packages/core/dist/plugins/genui.js +0 -144
- package/packages/core/dist/plugins/genui.js.map +0 -1
- package/packages/core/dist/plugins/git-time-capsule.d.ts +0 -15
- package/packages/core/dist/plugins/git-time-capsule.d.ts.map +0 -1
- package/packages/core/dist/plugins/git-time-capsule.js +0 -436
- package/packages/core/dist/plugins/git-time-capsule.js.map +0 -1
- package/packages/core/dist/plugins/graph-memory.d.ts +0 -16
- package/packages/core/dist/plugins/graph-memory.d.ts.map +0 -1
- package/packages/core/dist/plugins/graph-memory.js +0 -669
- package/packages/core/dist/plugins/graph-memory.js.map +0 -1
- package/packages/core/dist/plugins/history-compressor.d.ts +0 -15
- package/packages/core/dist/plugins/history-compressor.d.ts.map +0 -1
- package/packages/core/dist/plugins/history-compressor.js +0 -99
- package/packages/core/dist/plugins/history-compressor.js.map +0 -1
- package/packages/core/dist/plugins/hol-guard.d.ts +0 -29
- package/packages/core/dist/plugins/hol-guard.d.ts.map +0 -1
- package/packages/core/dist/plugins/hol-guard.js +0 -159
- package/packages/core/dist/plugins/hol-guard.js.map +0 -1
- package/packages/core/dist/plugins/i18n-pair.d.ts +0 -12
- package/packages/core/dist/plugins/i18n-pair.d.ts.map +0 -1
- package/packages/core/dist/plugins/i18n-pair.js +0 -332
- package/packages/core/dist/plugins/i18n-pair.js.map +0 -1
- package/packages/core/dist/plugins/image-compressor.d.ts +0 -15
- package/packages/core/dist/plugins/image-compressor.d.ts.map +0 -1
- package/packages/core/dist/plugins/image-compressor.js +0 -223
- package/packages/core/dist/plugins/image-compressor.js.map +0 -1
- package/packages/core/dist/plugins/llm-verifier.d.ts +0 -42
- package/packages/core/dist/plugins/llm-verifier.d.ts.map +0 -1
- package/packages/core/dist/plugins/llm-verifier.js +0 -138
- package/packages/core/dist/plugins/llm-verifier.js.map +0 -1
- package/packages/core/dist/plugins/mcp-client.d.ts +0 -19
- package/packages/core/dist/plugins/mcp-client.d.ts.map +0 -1
- package/packages/core/dist/plugins/mcp-client.js +0 -1288
- package/packages/core/dist/plugins/mcp-client.js.map +0 -1
- package/packages/core/dist/plugins/mcp-panel.d.ts +0 -14
- package/packages/core/dist/plugins/mcp-panel.d.ts.map +0 -1
- package/packages/core/dist/plugins/mcp-panel.js +0 -194
- package/packages/core/dist/plugins/mcp-panel.js.map +0 -1
- package/packages/core/dist/plugins/memory.d.ts +0 -15
- package/packages/core/dist/plugins/memory.d.ts.map +0 -1
- package/packages/core/dist/plugins/memory.js +0 -394
- package/packages/core/dist/plugins/memory.js.map +0 -1
- package/packages/core/dist/plugins/mirage-bridge.d.ts +0 -23
- package/packages/core/dist/plugins/mirage-bridge.d.ts.map +0 -1
- package/packages/core/dist/plugins/mirage-bridge.js +0 -159
- package/packages/core/dist/plugins/mirage-bridge.js.map +0 -1
- package/packages/core/dist/plugins/mock-server.d.ts +0 -22
- package/packages/core/dist/plugins/mock-server.d.ts.map +0 -1
- package/packages/core/dist/plugins/mock-server.js +0 -180
- package/packages/core/dist/plugins/mock-server.js.map +0 -1
- package/packages/core/dist/plugins/model.d.ts +0 -11
- package/packages/core/dist/plugins/model.d.ts.map +0 -1
- package/packages/core/dist/plugins/model.js +0 -17
- package/packages/core/dist/plugins/model.js.map +0 -1
- package/packages/core/dist/plugins/models.d.ts +0 -16
- package/packages/core/dist/plugins/models.d.ts.map +0 -1
- package/packages/core/dist/plugins/models.js +0 -35
- package/packages/core/dist/plugins/models.js.map +0 -1
- package/packages/core/dist/plugins/modlens.d.ts +0 -15
- package/packages/core/dist/plugins/modlens.d.ts.map +0 -1
- package/packages/core/dist/plugins/modlens.js +0 -470
- package/packages/core/dist/plugins/modlens.js.map +0 -1
- package/packages/core/dist/plugins/module-search.d.ts +0 -28
- package/packages/core/dist/plugins/module-search.d.ts.map +0 -1
- package/packages/core/dist/plugins/module-search.js +0 -193
- package/packages/core/dist/plugins/module-search.js.map +0 -1
- package/packages/core/dist/plugins/obsidian-sync.d.ts +0 -14
- package/packages/core/dist/plugins/obsidian-sync.d.ts.map +0 -1
- package/packages/core/dist/plugins/obsidian-sync.js +0 -88
- package/packages/core/dist/plugins/obsidian-sync.js.map +0 -1
- package/packages/core/dist/plugins/openpets.d.ts +0 -14
- package/packages/core/dist/plugins/openpets.d.ts.map +0 -1
- package/packages/core/dist/plugins/openpets.js +0 -258
- package/packages/core/dist/plugins/openpets.js.map +0 -1
- package/packages/core/dist/plugins/plan-execute.d.ts +0 -11
- package/packages/core/dist/plugins/plan-execute.d.ts.map +0 -1
- package/packages/core/dist/plugins/plan-execute.js +0 -91
- package/packages/core/dist/plugins/plan-execute.js.map +0 -1
- package/packages/core/dist/plugins/plugin-check.d.ts +0 -47
- package/packages/core/dist/plugins/plugin-check.d.ts.map +0 -1
- package/packages/core/dist/plugins/plugin-check.js +0 -298
- package/packages/core/dist/plugins/plugin-check.js.map +0 -1
- package/packages/core/dist/plugins/plugin-dev.d.ts +0 -9
- package/packages/core/dist/plugins/plugin-dev.d.ts.map +0 -1
- package/packages/core/dist/plugins/plugin-dev.js +0 -177
- package/packages/core/dist/plugins/plugin-dev.js.map +0 -1
- package/packages/core/dist/plugins/plugin-finder.d.ts +0 -17
- package/packages/core/dist/plugins/plugin-finder.d.ts.map +0 -1
- package/packages/core/dist/plugins/plugin-finder.js +0 -216
- package/packages/core/dist/plugins/plugin-finder.js.map +0 -1
- package/packages/core/dist/plugins/plugin-radar.d.ts +0 -33
- package/packages/core/dist/plugins/plugin-radar.d.ts.map +0 -1
- package/packages/core/dist/plugins/plugin-radar.js +0 -247
- package/packages/core/dist/plugins/plugin-radar.js.map +0 -1
- package/packages/core/dist/plugins/plugin-stars.d.ts +0 -45
- package/packages/core/dist/plugins/plugin-stars.d.ts.map +0 -1
- package/packages/core/dist/plugins/plugin-stars.js +0 -366
- package/packages/core/dist/plugins/plugin-stars.js.map +0 -1
- package/packages/core/dist/plugins/prompt-guard.d.ts +0 -9
- package/packages/core/dist/plugins/prompt-guard.d.ts.map +0 -1
- package/packages/core/dist/plugins/prompt-guard.js +0 -165
- package/packages/core/dist/plugins/prompt-guard.js.map +0 -1
- package/packages/core/dist/plugins/prompt-library.d.ts +0 -26
- package/packages/core/dist/plugins/prompt-library.d.ts.map +0 -1
- package/packages/core/dist/plugins/prompt-library.js +0 -145
- package/packages/core/dist/plugins/prompt-library.js.map +0 -1
- package/packages/core/dist/plugins/readme-gen.d.ts +0 -29
- package/packages/core/dist/plugins/readme-gen.d.ts.map +0 -1
- package/packages/core/dist/plugins/readme-gen.js +0 -580
- package/packages/core/dist/plugins/readme-gen.js.map +0 -1
- package/packages/core/dist/plugins/recall-unread.d.ts +0 -24
- package/packages/core/dist/plugins/recall-unread.d.ts.map +0 -1
- package/packages/core/dist/plugins/recall-unread.js +0 -467
- package/packages/core/dist/plugins/recall-unread.js.map +0 -1
- package/packages/core/dist/plugins/resources.d.ts +0 -19
- package/packages/core/dist/plugins/resources.d.ts.map +0 -1
- package/packages/core/dist/plugins/resources.js +0 -126
- package/packages/core/dist/plugins/resources.js.map +0 -1
- package/packages/core/dist/plugins/reverse-skill.d.ts +0 -23
- package/packages/core/dist/plugins/reverse-skill.d.ts.map +0 -1
- package/packages/core/dist/plugins/reverse-skill.js +0 -61
- package/packages/core/dist/plugins/reverse-skill.js.map +0 -1
- package/packages/core/dist/plugins/reviewer-bot.d.ts +0 -15
- package/packages/core/dist/plugins/reviewer-bot.d.ts.map +0 -1
- package/packages/core/dist/plugins/reviewer-bot.js +0 -152
- package/packages/core/dist/plugins/reviewer-bot.js.map +0 -1
- package/packages/core/dist/plugins/runtime-doctor.d.ts +0 -34
- package/packages/core/dist/plugins/runtime-doctor.d.ts.map +0 -1
- package/packages/core/dist/plugins/runtime-doctor.js +0 -117
- package/packages/core/dist/plugins/runtime-doctor.js.map +0 -1
- package/packages/core/dist/plugins/runtime.d.ts +0 -14
- package/packages/core/dist/plugins/runtime.d.ts.map +0 -1
- package/packages/core/dist/plugins/runtime.js +0 -159
- package/packages/core/dist/plugins/runtime.js.map +0 -1
- package/packages/core/dist/plugins/secure-audit.d.ts +0 -32
- package/packages/core/dist/plugins/secure-audit.d.ts.map +0 -1
- package/packages/core/dist/plugins/secure-audit.js +0 -139
- package/packages/core/dist/plugins/secure-audit.js.map +0 -1
- package/packages/core/dist/plugins/session-bookmarks.d.ts +0 -16
- package/packages/core/dist/plugins/session-bookmarks.d.ts.map +0 -1
- package/packages/core/dist/plugins/session-bookmarks.js +0 -90
- package/packages/core/dist/plugins/session-bookmarks.js.map +0 -1
- package/packages/core/dist/plugins/session-bridge.d.ts +0 -45
- package/packages/core/dist/plugins/session-bridge.d.ts.map +0 -1
- package/packages/core/dist/plugins/session-bridge.js +0 -578
- package/packages/core/dist/plugins/session-bridge.js.map +0 -1
- package/packages/core/dist/plugins/session-compare.d.ts +0 -34
- package/packages/core/dist/plugins/session-compare.d.ts.map +0 -1
- package/packages/core/dist/plugins/session-compare.js +0 -153
- package/packages/core/dist/plugins/session-compare.js.map +0 -1
- package/packages/core/dist/plugins/session-export.d.ts +0 -10
- package/packages/core/dist/plugins/session-export.d.ts.map +0 -1
- package/packages/core/dist/plugins/session-export.js +0 -93
- package/packages/core/dist/plugins/session-export.js.map +0 -1
- package/packages/core/dist/plugins/session-insights.d.ts +0 -44
- package/packages/core/dist/plugins/session-insights.d.ts.map +0 -1
- package/packages/core/dist/plugins/session-insights.js +0 -432
- package/packages/core/dist/plugins/session-insights.js.map +0 -1
- package/packages/core/dist/plugins/session-search.d.ts +0 -21
- package/packages/core/dist/plugins/session-search.d.ts.map +0 -1
- package/packages/core/dist/plugins/session-search.js +0 -125
- package/packages/core/dist/plugins/session-search.js.map +0 -1
- package/packages/core/dist/plugins/session.d.ts +0 -15
- package/packages/core/dist/plugins/session.d.ts.map +0 -1
- package/packages/core/dist/plugins/session.js +0 -29
- package/packages/core/dist/plugins/session.js.map +0 -1
- package/packages/core/dist/plugins/skill-catalog.d.ts +0 -27
- package/packages/core/dist/plugins/skill-catalog.d.ts.map +0 -1
- package/packages/core/dist/plugins/skill-catalog.js +0 -98
- package/packages/core/dist/plugins/skill-catalog.js.map +0 -1
- package/packages/core/dist/plugins/skill-guard.d.ts +0 -27
- package/packages/core/dist/plugins/skill-guard.d.ts.map +0 -1
- package/packages/core/dist/plugins/skill-guard.js +0 -319
- package/packages/core/dist/plugins/skill-guard.js.map +0 -1
- package/packages/core/dist/plugins/sql-lens-worker.d.ts +0 -2
- package/packages/core/dist/plugins/sql-lens-worker.d.ts.map +0 -1
- package/packages/core/dist/plugins/sql-lens-worker.js +0 -206
- package/packages/core/dist/plugins/sql-lens-worker.js.map +0 -1
- package/packages/core/dist/plugins/sql-lens.d.ts +0 -14
- package/packages/core/dist/plugins/sql-lens.d.ts.map +0 -1
- package/packages/core/dist/plugins/sql-lens.js +0 -318
- package/packages/core/dist/plugins/sql-lens.js.map +0 -1
- package/packages/core/dist/plugins/stdio.d.ts +0 -11
- package/packages/core/dist/plugins/stdio.d.ts.map +0 -1
- package/packages/core/dist/plugins/stdio.js +0 -80
- package/packages/core/dist/plugins/stdio.js.map +0 -1
- package/packages/core/dist/plugins/synapse.d.ts +0 -38
- package/packages/core/dist/plugins/synapse.d.ts.map +0 -1
- package/packages/core/dist/plugins/synapse.js +0 -101
- package/packages/core/dist/plugins/synapse.js.map +0 -1
- package/packages/core/dist/plugins/tab-manager.d.ts +0 -9
- package/packages/core/dist/plugins/tab-manager.d.ts.map +0 -1
- package/packages/core/dist/plugins/tab-manager.js +0 -240
- package/packages/core/dist/plugins/tab-manager.js.map +0 -1
- package/packages/core/dist/plugins/taskboard.d.ts +0 -15
- package/packages/core/dist/plugins/taskboard.d.ts.map +0 -1
- package/packages/core/dist/plugins/taskboard.js +0 -375
- package/packages/core/dist/plugins/taskboard.js.map +0 -1
- package/packages/core/dist/plugins/telemetry-blocker.d.ts +0 -11
- package/packages/core/dist/plugins/telemetry-blocker.d.ts.map +0 -1
- package/packages/core/dist/plugins/telemetry-blocker.js +0 -76
- package/packages/core/dist/plugins/telemetry-blocker.js.map +0 -1
- package/packages/core/dist/plugins/test-harness.d.ts +0 -14
- package/packages/core/dist/plugins/test-harness.d.ts.map +0 -1
- package/packages/core/dist/plugins/test-harness.js +0 -276
- package/packages/core/dist/plugins/test-harness.js.map +0 -1
- package/packages/core/dist/plugins/theme-studio.d.ts +0 -29
- package/packages/core/dist/plugins/theme-studio.d.ts.map +0 -1
- package/packages/core/dist/plugins/theme-studio.js +0 -143
- package/packages/core/dist/plugins/theme-studio.js.map +0 -1
- package/packages/core/dist/plugins/token-guard.d.ts +0 -15
- package/packages/core/dist/plugins/token-guard.d.ts.map +0 -1
- package/packages/core/dist/plugins/token-guard.js +0 -210
- package/packages/core/dist/plugins/token-guard.js.map +0 -1
- package/packages/core/dist/plugins/tools.d.ts +0 -13
- package/packages/core/dist/plugins/tools.d.ts.map +0 -1
- package/packages/core/dist/plugins/tools.js +0 -23
- package/packages/core/dist/plugins/tools.js.map +0 -1
- package/packages/core/dist/plugins/turn-rewind.d.ts +0 -36
- package/packages/core/dist/plugins/turn-rewind.d.ts.map +0 -1
- package/packages/core/dist/plugins/turn-rewind.js +0 -378
- package/packages/core/dist/plugins/turn-rewind.js.map +0 -1
- package/packages/core/dist/plugins/undo-savepoint.d.ts +0 -17
- package/packages/core/dist/plugins/undo-savepoint.d.ts.map +0 -1
- package/packages/core/dist/plugins/undo-savepoint.js +0 -353
- package/packages/core/dist/plugins/undo-savepoint.js.map +0 -1
- package/packages/core/dist/plugins/vision-toolkit.d.ts +0 -36
- package/packages/core/dist/plugins/vision-toolkit.d.ts.map +0 -1
- package/packages/core/dist/plugins/vision-toolkit.js +0 -468
- package/packages/core/dist/plugins/vision-toolkit.js.map +0 -1
- package/packages/core/dist/plugins/web-research.d.ts +0 -17
- package/packages/core/dist/plugins/web-research.d.ts.map +0 -1
- package/packages/core/dist/plugins/web-research.js +0 -284
- package/packages/core/dist/plugins/web-research.js.map +0 -1
- package/packages/core/dist/plugins/workspace-navigator.d.ts +0 -42
- package/packages/core/dist/plugins/workspace-navigator.d.ts.map +0 -1
- package/packages/core/dist/plugins/workspace-navigator.js +0 -168
- package/packages/core/dist/plugins/workspace-navigator.js.map +0 -1
- package/packages/core/dist/plugins/workspace-search.d.ts +0 -15
- package/packages/core/dist/plugins/workspace-search.d.ts.map +0 -1
- package/packages/core/dist/plugins/workspace-search.js +0 -167
- package/packages/core/dist/plugins/workspace-search.js.map +0 -1
- package/packages/core/dist/plugins/yaml-validator.d.ts +0 -9
- package/packages/core/dist/plugins/yaml-validator.d.ts.map +0 -1
- package/packages/core/dist/plugins/yaml-validator.js +0 -203
- package/packages/core/dist/plugins/yaml-validator.js.map +0 -1
- package/packages/core/dist/profile.d.ts +0 -9
- package/packages/core/dist/profile.d.ts.map +0 -1
- package/packages/core/dist/profile.js +0 -33
- package/packages/core/dist/profile.js.map +0 -1
- package/packages/core/dist/runtime.d.ts +0 -16
- package/packages/core/dist/runtime.d.ts.map +0 -1
- package/packages/core/dist/runtime.js +0 -47
- package/packages/core/dist/runtime.js.map +0 -1
- package/packages/core/dist/services.d.ts +0 -118
- package/packages/core/dist/services.d.ts.map +0 -1
- package/packages/core/dist/services.js +0 -115
- package/packages/core/dist/services.js.map +0 -1
- package/packages/core/dist/stdio.d.ts +0 -37
- package/packages/core/dist/stdio.d.ts.map +0 -1
- package/packages/core/dist/stdio.js +0 -356
- package/packages/core/dist/stdio.js.map +0 -1
- package/packages/core/dist/workspace-path.d.ts +0 -13
- package/packages/core/dist/workspace-path.d.ts.map +0 -1
- package/packages/core/dist/workspace-path.js +0 -71
- package/packages/core/dist/workspace-path.js.map +0 -1
- package/packages/core/package.json +0 -42
- package/packages/core/profiles/default/cordis.yml +0 -122
- package/packages/core/profiles/development/cordis.yml +0 -47
- package/packages/core/src/atomic-write.ts +0 -45
- package/packages/core/src/boot.ts +0 -255
- package/packages/core/src/bounded-file.ts +0 -41
- package/packages/core/src/config.ts +0 -24
- package/packages/core/src/context.ts +0 -3
- package/packages/core/src/cordis-timer.ts +0 -107
- package/packages/core/src/http.ts +0 -32
- package/packages/core/src/index.ts +0 -8
- package/packages/core/src/plugins/agent-teams.ts +0 -1191
- package/packages/core/src/plugins/anchored-standard.ts +0 -115
- package/packages/core/src/plugins/annotation.ts +0 -123
- package/packages/core/src/plugins/archify.ts +0 -171
- package/packages/core/src/plugins/at-file.ts +0 -138
- package/packages/core/src/plugins/auto-mode.ts +0 -190
- package/packages/core/src/plugins/better-sidebar.ts +0 -128
- package/packages/core/src/plugins/browser-fetch.ts +0 -362
- package/packages/core/src/plugins/browser-session.ts +0 -606
- package/packages/core/src/plugins/canvas-draw.ts +0 -143
- package/packages/core/src/plugins/change-verifier.ts +0 -103
- package/packages/core/src/plugins/cleaner.ts +0 -363
- package/packages/core/src/plugins/cli-notifier.ts +0 -194
- package/packages/core/src/plugins/code2skill.ts +0 -237
- package/packages/core/src/plugins/colleague-skill.ts +0 -147
- package/packages/core/src/plugins/context-doctor.ts +0 -487
- package/packages/core/src/plugins/context.ts +0 -227
- package/packages/core/src/plugins/cost-meter.ts +0 -478
- package/packages/core/src/plugins/dependency-checker.ts +0 -578
- package/packages/core/src/plugins/docker-sandbox.ts +0 -336
- package/packages/core/src/plugins/fail-logger.ts +0 -202
- package/packages/core/src/plugins/genui.ts +0 -150
- package/packages/core/src/plugins/git-time-capsule.ts +0 -466
- package/packages/core/src/plugins/graph-memory.ts +0 -667
- package/packages/core/src/plugins/history-compressor.ts +0 -98
- package/packages/core/src/plugins/hol-guard.ts +0 -171
- package/packages/core/src/plugins/i18n-pair.ts +0 -326
- package/packages/core/src/plugins/image-compressor.ts +0 -217
- package/packages/core/src/plugins/llm-verifier.ts +0 -182
- package/packages/core/src/plugins/mcp-client.ts +0 -1379
- package/packages/core/src/plugins/mcp-panel.ts +0 -206
- package/packages/core/src/plugins/memory.ts +0 -381
- package/packages/core/src/plugins/mirage-bridge.ts +0 -191
- package/packages/core/src/plugins/mock-server.ts +0 -189
- package/packages/core/src/plugins/model.ts +0 -18
- package/packages/core/src/plugins/models.ts +0 -43
- package/packages/core/src/plugins/modlens.ts +0 -497
- package/packages/core/src/plugins/module-search.ts +0 -222
- package/packages/core/src/plugins/obsidian-sync.ts +0 -94
- package/packages/core/src/plugins/openpets.ts +0 -260
- package/packages/core/src/plugins/plan-execute.ts +0 -104
- package/packages/core/src/plugins/plugin-check.ts +0 -316
- package/packages/core/src/plugins/plugin-dev.ts +0 -191
- package/packages/core/src/plugins/plugin-finder.ts +0 -215
- package/packages/core/src/plugins/plugin-radar.ts +0 -270
- package/packages/core/src/plugins/plugin-stars.ts +0 -377
- package/packages/core/src/plugins/prompt-guard.ts +0 -161
- package/packages/core/src/plugins/prompt-library.ts +0 -171
- package/packages/core/src/plugins/readme-gen.ts +0 -544
- package/packages/core/src/plugins/recall-unread.ts +0 -486
- package/packages/core/src/plugins/resources.ts +0 -146
- package/packages/core/src/plugins/reverse-skill.ts +0 -83
- package/packages/core/src/plugins/reviewer-bot.ts +0 -164
- package/packages/core/src/plugins/runtime-doctor.ts +0 -140
- package/packages/core/src/plugins/runtime.ts +0 -171
- package/packages/core/src/plugins/secure-audit.ts +0 -167
- package/packages/core/src/plugins/session-bookmarks.ts +0 -95
- package/packages/core/src/plugins/session-bridge.ts +0 -614
- package/packages/core/src/plugins/session-compare.ts +0 -186
- package/packages/core/src/plugins/session-export.ts +0 -102
- package/packages/core/src/plugins/session-insights.ts +0 -470
- package/packages/core/src/plugins/session-search.ts +0 -129
- package/packages/core/src/plugins/session.ts +0 -40
- package/packages/core/src/plugins/skill-catalog.ts +0 -122
- package/packages/core/src/plugins/skill-guard.ts +0 -345
- package/packages/core/src/plugins/sql-lens-worker.ts +0 -202
- package/packages/core/src/plugins/sql-lens.ts +0 -344
- package/packages/core/src/plugins/stdio.ts +0 -77
- package/packages/core/src/plugins/synapse.ts +0 -137
- package/packages/core/src/plugins/tab-manager.ts +0 -233
- package/packages/core/src/plugins/taskboard.ts +0 -446
- package/packages/core/src/plugins/telemetry-blocker.ts +0 -78
- package/packages/core/src/plugins/test-harness.ts +0 -300
- package/packages/core/src/plugins/theme-studio.ts +0 -170
- package/packages/core/src/plugins/token-guard.ts +0 -224
- package/packages/core/src/plugins/tools.ts +0 -29
- package/packages/core/src/plugins/turn-rewind.ts +0 -400
- package/packages/core/src/plugins/undo-savepoint.ts +0 -385
- package/packages/core/src/plugins/vision-toolkit.ts +0 -510
- package/packages/core/src/plugins/web-research.ts +0 -301
- package/packages/core/src/plugins/workspace-navigator.ts +0 -189
- package/packages/core/src/plugins/workspace-search.ts +0 -177
- package/packages/core/src/plugins/yaml-validator.ts +0 -216
- package/packages/core/src/profile.ts +0 -37
- package/packages/core/src/runtime.ts +0 -52
- package/packages/core/src/services.ts +0 -232
- package/packages/core/src/stdio.ts +0 -355
- package/packages/core/src/workspace-path.ts +0 -79
- package/packages/core/test/agent-teams.test.ts +0 -517
- package/packages/core/test/anchored-standard.test.ts +0 -60
- package/packages/core/test/annotation.test.ts +0 -69
- package/packages/core/test/archify.test.ts +0 -244
- package/packages/core/test/at-file.test.ts +0 -666
- package/packages/core/test/atomic-write.test.ts +0 -52
- package/packages/core/test/auto-mode.test.ts +0 -629
- package/packages/core/test/better-sidebar.test.ts +0 -232
- package/packages/core/test/boot.test.ts +0 -265
- package/packages/core/test/bounded-file.test.ts +0 -55
- package/packages/core/test/browser-fetch-rebinding.test.ts +0 -93
- package/packages/core/test/browser-fetch.test.ts +0 -844
- package/packages/core/test/browser-session.test.ts +0 -1236
- package/packages/core/test/canvas-draw.test.ts +0 -164
- package/packages/core/test/change-verifier.test.ts +0 -200
- package/packages/core/test/cleaner.test.ts +0 -316
- package/packages/core/test/cli-notifier.test.ts +0 -235
- package/packages/core/test/code2skill.test.ts +0 -264
- package/packages/core/test/colleague-skill.test.ts +0 -241
- package/packages/core/test/config.test.ts +0 -147
- package/packages/core/test/context-doctor.test.ts +0 -627
- package/packages/core/test/context-insights.test.ts +0 -396
- package/packages/core/test/cordis-timer.test.ts +0 -147
- package/packages/core/test/cost-meter.test.ts +0 -362
- package/packages/core/test/dependency-checker.test.ts +0 -633
- package/packages/core/test/docker-sandbox.test.ts +0 -170
- package/packages/core/test/fail-logger.test.ts +0 -363
- package/packages/core/test/genui.test.ts +0 -162
- package/packages/core/test/git-time-capsule.test.ts +0 -1476
- package/packages/core/test/graph-memory.test.ts +0 -508
- package/packages/core/test/history-compressor.test.ts +0 -47
- package/packages/core/test/hol-guard.test.ts +0 -61
- package/packages/core/test/http.test.ts +0 -36
- package/packages/core/test/i18n-pair.test.ts +0 -367
- package/packages/core/test/image-compressor.test.ts +0 -59
- package/packages/core/test/llm-verifier.test.ts +0 -76
- package/packages/core/test/mcp-client.test.ts +0 -1037
- package/packages/core/test/mcp-panel.test.ts +0 -91
- package/packages/core/test/memory.test.ts +0 -125
- package/packages/core/test/mirage-bridge.test.ts +0 -58
- package/packages/core/test/mock-server.test.ts +0 -63
- package/packages/core/test/model.test.ts +0 -62
- package/packages/core/test/models.test.ts +0 -85
- package/packages/core/test/modlens.test.ts +0 -615
- package/packages/core/test/module-search.test.ts +0 -98
- package/packages/core/test/obsidian-sync.test.ts +0 -57
- package/packages/core/test/openpets.test.ts +0 -273
- package/packages/core/test/plan-execute.test.ts +0 -86
- package/packages/core/test/plugin-check.test.ts +0 -16
- package/packages/core/test/plugin-dev.test.ts +0 -246
- package/packages/core/test/plugin-finder.test.ts +0 -105
- package/packages/core/test/plugin-radar.test.ts +0 -87
- package/packages/core/test/plugin-stars.test.ts +0 -480
- package/packages/core/test/profile.test.ts +0 -39
- package/packages/core/test/profiles.integration.test.ts +0 -576
- package/packages/core/test/prompt-guard.test.ts +0 -78
- package/packages/core/test/prompt-library.test.ts +0 -56
- package/packages/core/test/readme-gen.test.ts +0 -445
- package/packages/core/test/recall-unread.test.ts +0 -592
- package/packages/core/test/registry.test.ts +0 -64
- package/packages/core/test/resources.test.ts +0 -310
- package/packages/core/test/reverse-skill.test.ts +0 -40
- package/packages/core/test/reviewer-bot.test.ts +0 -55
- package/packages/core/test/runtime-doctor.test.ts +0 -55
- package/packages/core/test/runtime-fixture.ts +0 -55
- package/packages/core/test/runtime.test.ts +0 -313
- package/packages/core/test/secure-audit.test.ts +0 -29
- package/packages/core/test/services.test.ts +0 -4805
- package/packages/core/test/session-bookmarks.test.ts +0 -62
- package/packages/core/test/session-bridge.test.ts +0 -411
- package/packages/core/test/session-compare.test.ts +0 -94
- package/packages/core/test/session-export.test.ts +0 -54
- package/packages/core/test/session-insights.test.ts +0 -486
- package/packages/core/test/session-search.test.ts +0 -30
- package/packages/core/test/session.test.ts +0 -153
- package/packages/core/test/skill-catalog.test.ts +0 -18
- package/packages/core/test/skill-guard.test.ts +0 -280
- package/packages/core/test/sql-lens.test.ts +0 -244
- package/packages/core/test/stdio-args.test.ts +0 -661
- package/packages/core/test/stdio.test.ts +0 -246
- package/packages/core/test/synapse.test.ts +0 -67
- package/packages/core/test/tab-manager.test.ts +0 -58
- package/packages/core/test/taskboard.test.ts +0 -73
- package/packages/core/test/telemetry-blocker.test.ts +0 -61
- package/packages/core/test/test-harness.test.ts +0 -297
- package/packages/core/test/theme-studio.test.ts +0 -39
- package/packages/core/test/token-guard.test.ts +0 -395
- package/packages/core/test/tools.test.ts +0 -118
- package/packages/core/test/turn-rewind.test.ts +0 -549
- package/packages/core/test/undo-savepoint.test.ts +0 -222
- package/packages/core/test/vision-toolkit.test.ts +0 -511
- package/packages/core/test/web-research.test.ts +0 -63
- package/packages/core/test/workspace-git-status.test.ts +0 -54
- package/packages/core/test/workspace-navigator.test.ts +0 -43
- package/packages/core/test/workspace-path.test.ts +0 -34
- package/packages/core/test/workspace-search.test.ts +0 -88
- package/packages/core/test/yaml-validator.test.ts +0 -195
- package/packages/core/tsconfig.build.json +0 -8
- package/packages/core/tsconfig.json +0 -7
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
export interface ClientAnnotation {
|
|
2
|
-
id: number;
|
|
3
|
-
quote: string;
|
|
4
|
-
note: string;
|
|
5
|
-
}
|
|
6
|
-
|
|
7
|
-
const annotationHeader = "[Pi Harness annotations]";
|
|
8
|
-
const annotationFooter = "[/Pi Harness annotations]";
|
|
9
|
-
const questionMarker = "\n\n提问:";
|
|
10
|
-
|
|
11
|
-
export function formatAnnotationPrompt(annotations: readonly ClientAnnotation[], question: string): string {
|
|
12
|
-
const lines = annotations.flatMap((annotation) => [
|
|
13
|
-
`${annotation.id}. ${annotation.quote}`,
|
|
14
|
-
...(annotation.note === "" ? [] : [` 批注:${annotation.note}`]),
|
|
15
|
-
]);
|
|
16
|
-
const instruction = annotations.map((annotation) => `Annotation ${annotation.id}:`).join("、");
|
|
17
|
-
return `${annotationHeader}\n${lines.join("\n")}\n${annotationFooter}\n\n请逐条回应 ${instruction}${questionMarker}${question.trim()}`;
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
export function parseAnnotationPrompt(text: string): { question: string; count: number } {
|
|
21
|
-
const marker = text.lastIndexOf(questionMarker);
|
|
22
|
-
if (marker < 0) return { question: text, count: 0 };
|
|
23
|
-
const header = text.lastIndexOf(annotationHeader, marker);
|
|
24
|
-
const footer = text.indexOf(annotationFooter, header);
|
|
25
|
-
if (header < 0 || footer < header) return { question: text, count: 0 };
|
|
26
|
-
const block = text.slice(header + annotationHeader.length, footer);
|
|
27
|
-
const count = block.split("\n").filter((line) => /^\d+\.\s+/u.test(line)).length;
|
|
28
|
-
return { question: text.slice(marker + questionMarker.length), count };
|
|
29
|
-
}
|
|
@@ -1,69 +0,0 @@
|
|
|
1
|
-
export interface AtFilePanelView {
|
|
2
|
-
readonly lastFile: { readonly path: string; readonly bytes: number } | null;
|
|
3
|
-
readonly maxBytes: number;
|
|
4
|
-
readonly truncated: boolean;
|
|
5
|
-
}
|
|
6
|
-
|
|
7
|
-
const limits = {
|
|
8
|
-
fileBytes: 256 * 1024,
|
|
9
|
-
pathCharacters: 512,
|
|
10
|
-
pathBytes: 512,
|
|
11
|
-
};
|
|
12
|
-
|
|
13
|
-
function ownDataRecord(value: unknown): Record<string, unknown> | undefined {
|
|
14
|
-
try {
|
|
15
|
-
if (value === null || typeof value !== "object" || Array.isArray(value)) return undefined;
|
|
16
|
-
const prototype = Object.getPrototypeOf(value) as unknown;
|
|
17
|
-
if (prototype !== Object.prototype && prototype !== null) return undefined;
|
|
18
|
-
const descriptors = Object.getOwnPropertyDescriptors(value);
|
|
19
|
-
if (Reflect.ownKeys(descriptors).some((key) => typeof key !== "string")) return undefined;
|
|
20
|
-
const output = Object.create(null) as Record<string, unknown>;
|
|
21
|
-
for (const [key, descriptor] of Object.entries(descriptors)) {
|
|
22
|
-
if (!("value" in descriptor)) return undefined;
|
|
23
|
-
output[key] = descriptor.value;
|
|
24
|
-
}
|
|
25
|
-
return output;
|
|
26
|
-
} catch {
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
function hasOnlyKeys(value: Record<string, unknown>, expected: readonly string[]): boolean {
|
|
32
|
-
const keys = new Set(expected);
|
|
33
|
-
return Object.keys(value).every((key) => keys.has(key));
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
function cleanedPath(value: unknown): { value: string | undefined; altered: boolean } {
|
|
37
|
-
if (typeof value !== "string") return { value: undefined, altered: true };
|
|
38
|
-
const sanitized = value.replaceAll(/[\p{Cc}\p{Cf}\p{Cs}]+/gu, " ").trim();
|
|
39
|
-
const codePoints = [...sanitized];
|
|
40
|
-
const cleaned = codePoints.length > limits.pathCharacters ? codePoints.slice(0, limits.pathCharacters).join("") : sanitized;
|
|
41
|
-
if (cleaned === "" || new TextEncoder().encode(cleaned).byteLength > limits.pathBytes) return { value: undefined, altered: true };
|
|
42
|
-
return { value: cleaned, altered: cleaned !== value };
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
export function atFilePanelView(data: unknown): AtFilePanelView {
|
|
46
|
-
const source = ownDataRecord(data);
|
|
47
|
-
const lastFileSource = source?.lastFile === null ? null : ownDataRecord(source?.lastFile);
|
|
48
|
-
const path = lastFileSource === null ? undefined : cleanedPath(lastFileSource?.path);
|
|
49
|
-
const bytes = lastFileSource === null ? undefined : lastFileSource?.bytes;
|
|
50
|
-
const lastFileValid =
|
|
51
|
-
lastFileSource === null ||
|
|
52
|
-
(lastFileSource !== undefined &&
|
|
53
|
-
path?.value !== undefined &&
|
|
54
|
-
typeof bytes === "number" &&
|
|
55
|
-
Number.isSafeInteger(bytes) &&
|
|
56
|
-
bytes >= 0 &&
|
|
57
|
-
bytes <= limits.fileBytes &&
|
|
58
|
-
hasOnlyKeys(lastFileSource, ["path", "bytes"]));
|
|
59
|
-
return {
|
|
60
|
-
lastFile: lastFileValid && lastFileSource !== null && path?.value !== undefined && typeof bytes === "number" ? { path: path.value, bytes } : null,
|
|
61
|
-
maxBytes: limits.fileBytes,
|
|
62
|
-
truncated:
|
|
63
|
-
source === undefined ||
|
|
64
|
-
!hasOnlyKeys(source, ["lastFile", "maxBytes"]) ||
|
|
65
|
-
source.maxBytes !== limits.fileBytes ||
|
|
66
|
-
!lastFileValid ||
|
|
67
|
-
path?.altered === true,
|
|
68
|
-
};
|
|
69
|
-
}
|
|
@@ -1,114 +0,0 @@
|
|
|
1
|
-
export interface BrowserFetchPanelView {
|
|
2
|
-
readonly latest: {
|
|
3
|
-
readonly url: string;
|
|
4
|
-
readonly finalUrl: string;
|
|
5
|
-
readonly status: number;
|
|
6
|
-
readonly contentType: string;
|
|
7
|
-
readonly bytes: number;
|
|
8
|
-
readonly truncated: boolean;
|
|
9
|
-
readonly previewTruncated: boolean;
|
|
10
|
-
readonly text: string;
|
|
11
|
-
} | null;
|
|
12
|
-
readonly allowPrivate: boolean;
|
|
13
|
-
readonly limits: { readonly responseBytes: number; readonly panelTextChars: number; readonly redirects: number; readonly timeoutMs: number };
|
|
14
|
-
readonly malformed: boolean;
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
const defaults = {
|
|
18
|
-
responseBytes: 512 * 1024,
|
|
19
|
-
panelTextChars: 12_000,
|
|
20
|
-
redirects: 3,
|
|
21
|
-
timeoutMs: 20_000,
|
|
22
|
-
} as const;
|
|
23
|
-
const rootKeys = new Set(["latest", "allowPrivate", "maxResponseBytes", "maxPanelTextChars", "maxRedirects", "timeoutMs"]);
|
|
24
|
-
const latestKeys = new Set(["url", "finalUrl", "status", "contentType", "bytes", "truncated", "previewTruncated", "text"]);
|
|
25
|
-
const unsafeUnicode = /[\p{Cc}\p{Cf}\p{Cs}\u2028\u2029]/u;
|
|
26
|
-
|
|
27
|
-
function ownDataRecord(value: unknown, allowed: ReadonlySet<string>): Record<string, unknown> | undefined {
|
|
28
|
-
try {
|
|
29
|
-
if (value === null || typeof value !== "object" || Array.isArray(value)) return undefined;
|
|
30
|
-
const prototype = Object.getPrototypeOf(value) as unknown;
|
|
31
|
-
if (prototype !== Object.prototype && prototype !== null) return undefined;
|
|
32
|
-
const descriptors = Object.getOwnPropertyDescriptors(value);
|
|
33
|
-
if (Reflect.ownKeys(descriptors).some((key) => typeof key !== "string" || !allowed.has(key))) return undefined;
|
|
34
|
-
const output = Object.create(null) as Record<string, unknown>;
|
|
35
|
-
for (const [key, descriptor] of Object.entries(descriptors)) {
|
|
36
|
-
if (!("value" in descriptor)) return undefined;
|
|
37
|
-
output[key] = descriptor.value;
|
|
38
|
-
}
|
|
39
|
-
return output;
|
|
40
|
-
} catch {
|
|
41
|
-
return undefined;
|
|
42
|
-
}
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
function exact(source: Record<string, unknown>, keys: ReadonlySet<string>): boolean {
|
|
46
|
-
const own = Object.keys(source);
|
|
47
|
-
return own.length === keys.size && own.every((key) => keys.has(key));
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
function boundedText(value: unknown, maximum: number, allowEmpty = false): string | undefined {
|
|
51
|
-
if (typeof value !== "string" || (!allowEmpty && value.length === 0) || unsafeUnicode.test(value)) return undefined;
|
|
52
|
-
if ([...value].length > maximum || new TextEncoder().encode(value).byteLength > maximum) return undefined;
|
|
53
|
-
return value;
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
function integer(value: unknown, minimum: number, maximum: number): number | undefined {
|
|
57
|
-
return typeof value === "number" && Number.isSafeInteger(value) && value >= minimum && value <= maximum ? value : undefined;
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
function limitsView(source: Record<string, unknown>): BrowserFetchPanelView["limits"] | undefined {
|
|
61
|
-
const responseBytes = integer(source.maxResponseBytes, 1, defaults.responseBytes);
|
|
62
|
-
const panelTextChars = integer(source.maxPanelTextChars, 1, defaults.panelTextChars);
|
|
63
|
-
const redirects = integer(source.maxRedirects, 0, 10);
|
|
64
|
-
const timeoutMs = integer(source.timeoutMs, 100, 60_000);
|
|
65
|
-
if (responseBytes === undefined || panelTextChars === undefined || redirects === undefined || timeoutMs === undefined) return undefined;
|
|
66
|
-
return { responseBytes, panelTextChars, redirects, timeoutMs };
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
function latestView(value: unknown, limits: BrowserFetchPanelView["limits"]): BrowserFetchPanelView["latest"] | undefined {
|
|
70
|
-
if (value === null) return null;
|
|
71
|
-
const source = ownDataRecord(value, latestKeys);
|
|
72
|
-
if (source === undefined || !exact(source, latestKeys)) return undefined;
|
|
73
|
-
const url = boundedText(source.url, 4_096);
|
|
74
|
-
const finalUrl = boundedText(source.finalUrl, 4_096);
|
|
75
|
-
const contentType = boundedText(source.contentType, 256);
|
|
76
|
-
const text = boundedText(source.text, defaults.responseBytes, true);
|
|
77
|
-
const status = integer(source.status, 100, 599);
|
|
78
|
-
const bytes = integer(source.bytes, 0, limits.responseBytes);
|
|
79
|
-
if (
|
|
80
|
-
url === undefined ||
|
|
81
|
-
finalUrl === undefined ||
|
|
82
|
-
contentType === undefined ||
|
|
83
|
-
text === undefined ||
|
|
84
|
-
status === undefined ||
|
|
85
|
-
bytes === undefined ||
|
|
86
|
-
typeof source.truncated !== "boolean" ||
|
|
87
|
-
typeof source.previewTruncated !== "boolean"
|
|
88
|
-
)
|
|
89
|
-
return undefined;
|
|
90
|
-
const displayed = [...text].slice(0, limits.panelTextChars).join("");
|
|
91
|
-
return {
|
|
92
|
-
url,
|
|
93
|
-
finalUrl,
|
|
94
|
-
status,
|
|
95
|
-
contentType,
|
|
96
|
-
bytes,
|
|
97
|
-
truncated: source.truncated,
|
|
98
|
-
previewTruncated: source.previewTruncated || text.length > limits.panelTextChars,
|
|
99
|
-
text: displayed,
|
|
100
|
-
};
|
|
101
|
-
}
|
|
102
|
-
|
|
103
|
-
function malformedView(): BrowserFetchPanelView {
|
|
104
|
-
return { latest: null, allowPrivate: false, limits: { ...defaults }, malformed: true };
|
|
105
|
-
}
|
|
106
|
-
|
|
107
|
-
export function browserFetchPanelView(data: unknown): BrowserFetchPanelView {
|
|
108
|
-
const source = ownDataRecord(data, rootKeys);
|
|
109
|
-
if (source === undefined || !exact(source, rootKeys) || typeof source.allowPrivate !== "boolean") return malformedView();
|
|
110
|
-
const limits = limitsView(source);
|
|
111
|
-
if (limits === undefined) return malformedView();
|
|
112
|
-
const latest = latestView(source.latest, limits);
|
|
113
|
-
return latest === undefined ? malformedView() : { latest, allowPrivate: source.allowPrivate, limits, malformed: false };
|
|
114
|
-
}
|
|
@@ -1,232 +0,0 @@
|
|
|
1
|
-
const visibleTabs = 8;
|
|
2
|
-
const maximumTabInventory = 256;
|
|
3
|
-
const defaults = {
|
|
4
|
-
tabs: 20,
|
|
5
|
-
textPreviewCharacters: 12_000,
|
|
6
|
-
errorCharacters: 2_000,
|
|
7
|
-
} as const;
|
|
8
|
-
const rootKeys = new Set(["endpoint", "connected", "error", "tabs", "inventory", "limits", "latest"]);
|
|
9
|
-
const tabKeys = new Set(["targetId", "title", "url"]);
|
|
10
|
-
const inventoryKeys = new Set(["total", "shown", "truncated"]);
|
|
11
|
-
const limitsKeys = new Set(["tabs", "textPreviewCharacters", "errorCharacters"]);
|
|
12
|
-
const latestKeys = new Set(["targetId", "title", "url", "status", "truncated", "previewTruncated", "text", "clicked", "screenshot"]);
|
|
13
|
-
const screenshotKeys = new Set(["bytes", "mimeType"]);
|
|
14
|
-
const unsafeUnicode = /[\p{Cc}\p{Cf}\p{Cs}\u2028\u2029]/u;
|
|
15
|
-
|
|
16
|
-
export interface BrowserSessionTab {
|
|
17
|
-
readonly targetId: string;
|
|
18
|
-
readonly title: string;
|
|
19
|
-
readonly url: string;
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
function ownDataRecord(value: unknown, allowed: ReadonlySet<string>): Record<string, unknown> | undefined {
|
|
23
|
-
try {
|
|
24
|
-
if (value === null || typeof value !== "object" || Array.isArray(value)) return undefined;
|
|
25
|
-
const prototype = Object.getPrototypeOf(value) as unknown;
|
|
26
|
-
if (prototype !== Object.prototype && prototype !== null) return undefined;
|
|
27
|
-
const descriptors = Object.getOwnPropertyDescriptors(value);
|
|
28
|
-
if (Reflect.ownKeys(descriptors).some((key) => typeof key !== "string" || !allowed.has(key))) return undefined;
|
|
29
|
-
const output = Object.create(null) as Record<string, unknown>;
|
|
30
|
-
for (const [key, descriptor] of Object.entries(descriptors)) {
|
|
31
|
-
if (!("value" in descriptor)) return undefined;
|
|
32
|
-
output[key] = descriptor.value;
|
|
33
|
-
}
|
|
34
|
-
return output;
|
|
35
|
-
} catch {
|
|
36
|
-
return undefined;
|
|
37
|
-
}
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
function exact(source: Record<string, unknown>, keys: ReadonlySet<string>): boolean {
|
|
41
|
-
const own = Object.keys(source);
|
|
42
|
-
return own.length === keys.size && own.every((key) => keys.has(key));
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
function ownDataArray(value: unknown, maximum: number): unknown[] | undefined {
|
|
46
|
-
try {
|
|
47
|
-
if (!Array.isArray(value) || Object.getPrototypeOf(value) !== Array.prototype) return undefined;
|
|
48
|
-
const descriptors = Object.getOwnPropertyDescriptors(value) as unknown as PropertyDescriptorMap;
|
|
49
|
-
const lengthDescriptor = descriptors.length;
|
|
50
|
-
const length: unknown = lengthDescriptor !== undefined && "value" in lengthDescriptor ? lengthDescriptor.value : undefined;
|
|
51
|
-
if (!Number.isSafeInteger(length) || (length as number) < 0 || (length as number) > maximum) return undefined;
|
|
52
|
-
if (
|
|
53
|
-
Reflect.ownKeys(descriptors).some(
|
|
54
|
-
(key) => key !== "length" && (typeof key !== "string" || !/^\d+$/u.test(key) || Number(key) >= (length as number) || String(Number(key)) !== key),
|
|
55
|
-
) ||
|
|
56
|
-
Object.values(descriptors).some((descriptor) => !("value" in descriptor))
|
|
57
|
-
)
|
|
58
|
-
return undefined;
|
|
59
|
-
const output: unknown[] = [];
|
|
60
|
-
for (let index = 0; index < (length as number); index += 1) {
|
|
61
|
-
const descriptor = descriptors[String(index)];
|
|
62
|
-
if (descriptor === undefined || !("value" in descriptor)) return undefined;
|
|
63
|
-
output.push(descriptor.value);
|
|
64
|
-
}
|
|
65
|
-
return output;
|
|
66
|
-
} catch {
|
|
67
|
-
return undefined;
|
|
68
|
-
}
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
function safeText(value: unknown, maximum: number, allowEmpty = true): string | undefined {
|
|
72
|
-
if (typeof value !== "string" || (!allowEmpty && value.length === 0) || unsafeUnicode.test(value)) return undefined;
|
|
73
|
-
if ([...value].length > maximum || new TextEncoder().encode(value).byteLength > maximum) return undefined;
|
|
74
|
-
return value;
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
function integer(value: unknown, minimum: number, maximum: number): number | undefined {
|
|
78
|
-
return typeof value === "number" && Number.isSafeInteger(value) && value >= minimum && value <= maximum ? value : undefined;
|
|
79
|
-
}
|
|
80
|
-
|
|
81
|
-
function display(value: string, maximum: number): string {
|
|
82
|
-
return [...value].slice(0, maximum).join("");
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
function tabView(value: unknown): BrowserSessionTab | undefined {
|
|
86
|
-
const source = ownDataRecord(value, tabKeys);
|
|
87
|
-
if (source === undefined || !exact(source, tabKeys)) return undefined;
|
|
88
|
-
const targetId = safeText(source.targetId, 512, false);
|
|
89
|
-
const title = safeText(source.title, 4_096);
|
|
90
|
-
const url = safeText(source.url, 8_192);
|
|
91
|
-
return targetId === undefined || title === undefined || url === undefined ? undefined : { targetId, title, url };
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
export function browserSessionTabs(entries: readonly BrowserSessionTab[], limit: number): readonly BrowserSessionTab[] {
|
|
95
|
-
const normalizedLimit = Math.max(0, Math.min(20, Math.trunc(limit)));
|
|
96
|
-
return entries
|
|
97
|
-
.slice(0, 32)
|
|
98
|
-
.map(tabView)
|
|
99
|
-
.filter((entry): entry is BrowserSessionTab => entry !== undefined)
|
|
100
|
-
.slice(0, normalizedLimit);
|
|
101
|
-
}
|
|
102
|
-
|
|
103
|
-
function screenshotView(value: unknown): { bytes: number; mimeType: string } | undefined {
|
|
104
|
-
const source = ownDataRecord(value, screenshotKeys);
|
|
105
|
-
if (source === undefined || !exact(source, screenshotKeys) || source.mimeType !== "image/png") return undefined;
|
|
106
|
-
const bytes = integer(source.bytes, 0, 8 * 1024 * 1024);
|
|
107
|
-
return bytes === undefined ? undefined : { bytes, mimeType: "image/png" };
|
|
108
|
-
}
|
|
109
|
-
|
|
110
|
-
function limitsView(value: unknown): BrowserSessionPanelView["limits"] | undefined {
|
|
111
|
-
const source = ownDataRecord(value, limitsKeys);
|
|
112
|
-
if (source === undefined || !exact(source, limitsKeys)) return undefined;
|
|
113
|
-
const tabs = integer(source.tabs, 1, defaults.tabs);
|
|
114
|
-
const textPreviewCharacters = integer(source.textPreviewCharacters, 1, defaults.textPreviewCharacters);
|
|
115
|
-
const errorCharacters = integer(source.errorCharacters, 1, defaults.errorCharacters);
|
|
116
|
-
return tabs === undefined || textPreviewCharacters === undefined || errorCharacters === undefined
|
|
117
|
-
? undefined
|
|
118
|
-
: { tabs, textPreviewCharacters, errorCharacters };
|
|
119
|
-
}
|
|
120
|
-
|
|
121
|
-
function latestView(value: unknown, limits: BrowserSessionPanelView["limits"]): BrowserSessionPanelView["latest"] | undefined {
|
|
122
|
-
if (value === null) return null;
|
|
123
|
-
const source = ownDataRecord(value, latestKeys);
|
|
124
|
-
if (source === undefined || ![...Object.keys(source)].every((key) => latestKeys.has(key))) return undefined;
|
|
125
|
-
const targetId = safeText(source.targetId, 512, false);
|
|
126
|
-
const title = safeText(source.title, 4_096);
|
|
127
|
-
const url = safeText(source.url, 8_192);
|
|
128
|
-
if (targetId === undefined || title === undefined || url === undefined) return undefined;
|
|
129
|
-
if (source.status !== undefined && safeText(source.status, 64, false) === undefined) return undefined;
|
|
130
|
-
if (source.truncated !== undefined && typeof source.truncated !== "boolean") return undefined;
|
|
131
|
-
if (source.previewTruncated !== undefined && typeof source.previewTruncated !== "boolean") return undefined;
|
|
132
|
-
if (source.clicked !== undefined && typeof source.clicked !== "boolean") return undefined;
|
|
133
|
-
const rawText = source.text === undefined ? undefined : safeText(source.text, 128 * 1024, true);
|
|
134
|
-
if (source.text !== undefined && rawText === undefined) return undefined;
|
|
135
|
-
const screenshot = source.screenshot === undefined ? undefined : screenshotView(source.screenshot);
|
|
136
|
-
if (source.screenshot !== undefined && screenshot === undefined) return undefined;
|
|
137
|
-
const text = rawText === undefined ? undefined : display(rawText, limits.textPreviewCharacters);
|
|
138
|
-
return {
|
|
139
|
-
targetId,
|
|
140
|
-
title: display(title, 4_096),
|
|
141
|
-
url: display(url, 8_192),
|
|
142
|
-
...(source.status === undefined ? {} : { status: display(source.status as string, 64) }),
|
|
143
|
-
truncated: source.truncated === true,
|
|
144
|
-
previewTruncated: source.previewTruncated === true || (rawText !== undefined && rawText.length > limits.textPreviewCharacters),
|
|
145
|
-
...(text === undefined ? {} : { text }),
|
|
146
|
-
clicked: source.clicked === true,
|
|
147
|
-
...(screenshot === undefined ? {} : { screenshot }),
|
|
148
|
-
};
|
|
149
|
-
}
|
|
150
|
-
|
|
151
|
-
export interface BrowserSessionPanelView {
|
|
152
|
-
readonly endpoint: string;
|
|
153
|
-
readonly connected: boolean;
|
|
154
|
-
readonly error: string | null;
|
|
155
|
-
readonly tabs: readonly BrowserSessionTab[];
|
|
156
|
-
readonly inventory: { readonly total: number; readonly shown: number; readonly truncated: boolean };
|
|
157
|
-
readonly limits: { readonly tabs: number; readonly textPreviewCharacters: number; readonly errorCharacters: number };
|
|
158
|
-
readonly latest: {
|
|
159
|
-
readonly targetId: string;
|
|
160
|
-
readonly title: string;
|
|
161
|
-
readonly url: string;
|
|
162
|
-
readonly status?: string;
|
|
163
|
-
readonly truncated: boolean;
|
|
164
|
-
readonly previewTruncated: boolean;
|
|
165
|
-
readonly text?: string;
|
|
166
|
-
readonly clicked: boolean;
|
|
167
|
-
readonly screenshot?: { readonly bytes: number; readonly mimeType: string };
|
|
168
|
-
} | null;
|
|
169
|
-
readonly malformed: boolean;
|
|
170
|
-
}
|
|
171
|
-
|
|
172
|
-
function malformedView(): BrowserSessionPanelView {
|
|
173
|
-
return {
|
|
174
|
-
endpoint: "",
|
|
175
|
-
connected: false,
|
|
176
|
-
error: "Panel data unavailable",
|
|
177
|
-
tabs: [],
|
|
178
|
-
inventory: { total: 0, shown: 0, truncated: false },
|
|
179
|
-
limits: defaults,
|
|
180
|
-
latest: null,
|
|
181
|
-
malformed: true,
|
|
182
|
-
};
|
|
183
|
-
}
|
|
184
|
-
|
|
185
|
-
export function browserSessionPanelView(data: unknown): BrowserSessionPanelView {
|
|
186
|
-
const source = ownDataRecord(data, rootKeys);
|
|
187
|
-
if (source === undefined || !exact(source, rootKeys) || typeof source.connected !== "boolean") return malformedView();
|
|
188
|
-
const endpoint = safeText(source.endpoint, 2_048, false);
|
|
189
|
-
const error = source.error === null ? null : safeText(source.error, defaults.errorCharacters, true);
|
|
190
|
-
const limits = limitsView(source.limits);
|
|
191
|
-
const rawTabs = ownDataArray(source.tabs, maximumTabInventory);
|
|
192
|
-
const inventory = ownDataRecord(source.inventory, inventoryKeys);
|
|
193
|
-
if (
|
|
194
|
-
endpoint === undefined ||
|
|
195
|
-
error === undefined ||
|
|
196
|
-
limits === undefined ||
|
|
197
|
-
rawTabs === undefined ||
|
|
198
|
-
inventory === undefined ||
|
|
199
|
-
!exact(inventory, inventoryKeys)
|
|
200
|
-
)
|
|
201
|
-
return malformedView();
|
|
202
|
-
const tabs: BrowserSessionTab[] = [];
|
|
203
|
-
for (const raw of rawTabs) {
|
|
204
|
-
const tab = tabView(raw);
|
|
205
|
-
if (tab === undefined) return malformedView();
|
|
206
|
-
tabs.push(tab);
|
|
207
|
-
}
|
|
208
|
-
const total = integer(inventory.total, tabs.length, maximumTabInventory);
|
|
209
|
-
const shown = integer(inventory.shown, 0, limits.tabs);
|
|
210
|
-
if (
|
|
211
|
-
total === undefined ||
|
|
212
|
-
shown === undefined ||
|
|
213
|
-
shown !== tabs.length ||
|
|
214
|
-
tabs.length > limits.tabs ||
|
|
215
|
-
typeof inventory.truncated !== "boolean" ||
|
|
216
|
-
total < shown
|
|
217
|
-
)
|
|
218
|
-
return malformedView();
|
|
219
|
-
const latest = latestView(source.latest, limits);
|
|
220
|
-
if (latest === undefined) return malformedView();
|
|
221
|
-
const visible = tabs.slice(0, visibleTabs);
|
|
222
|
-
return {
|
|
223
|
-
endpoint,
|
|
224
|
-
connected: source.connected,
|
|
225
|
-
error,
|
|
226
|
-
tabs: visible,
|
|
227
|
-
inventory: { total, shown: visible.length, truncated: inventory.truncated || total > shown || tabs.length > visible.length },
|
|
228
|
-
limits,
|
|
229
|
-
latest,
|
|
230
|
-
malformed: false,
|
|
231
|
-
};
|
|
232
|
-
}
|
|
@@ -1,207 +0,0 @@
|
|
|
1
|
-
export type CleanerActivityStatus = "running" | "completed" | "failed" | "cancelled";
|
|
2
|
-
|
|
3
|
-
export interface CleanerPanelView {
|
|
4
|
-
readonly capsules: ReadonlyArray<{ readonly name: string; readonly bytes: number }>;
|
|
5
|
-
readonly totalBytes: number | null;
|
|
6
|
-
readonly inventory: { readonly total: number; readonly shown: number; readonly truncated: boolean; readonly displayLimit: number } | null;
|
|
7
|
-
readonly lastCleanup: {
|
|
8
|
-
readonly status: CleanerActivityStatus;
|
|
9
|
-
readonly at: string;
|
|
10
|
-
readonly requestedKeep: number;
|
|
11
|
-
readonly removed: number;
|
|
12
|
-
readonly kept: number | null;
|
|
13
|
-
readonly error: string | null;
|
|
14
|
-
} | null;
|
|
15
|
-
readonly malformed: boolean;
|
|
16
|
-
readonly limits: { readonly capsules: 256; readonly directoryEntries: 4_096 };
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
const visibleCapsules = 12;
|
|
20
|
-
const maxCapsuleNameLength = 255;
|
|
21
|
-
const maxActivityErrorLength = 2_000;
|
|
22
|
-
const visibleActivityErrorLength = 500;
|
|
23
|
-
const defaults = { capsules: 256, directoryEntries: 4_096, displayLimit: 20 } as const;
|
|
24
|
-
const rootKeys = new Set(["capsules", "inventory", "lastCleanup", "lastRemoved", "limits"]);
|
|
25
|
-
const capsuleKeys = new Set(["name", "bytes"]);
|
|
26
|
-
const inventoryKeys = new Set(["total", "shown", "truncated", "displayLimit"]);
|
|
27
|
-
const activityKeys = new Set(["status", "at", "requestedKeep", "removed", "kept", "error"]);
|
|
28
|
-
const limitKeys = new Set(["capsules", "directoryEntries"]);
|
|
29
|
-
const unsafeUnicode = /[\p{Cc}\p{Cf}\p{Cs}\u2028\u2029]/u;
|
|
30
|
-
|
|
31
|
-
function ownDataRecord(value: unknown, allowed: ReadonlySet<string>): Record<string, unknown> | undefined {
|
|
32
|
-
try {
|
|
33
|
-
if (value === null || typeof value !== "object" || Array.isArray(value)) return undefined;
|
|
34
|
-
const prototype = Object.getPrototypeOf(value) as unknown;
|
|
35
|
-
if (prototype !== Object.prototype && prototype !== null) return undefined;
|
|
36
|
-
const descriptors = Object.getOwnPropertyDescriptors(value);
|
|
37
|
-
if (Reflect.ownKeys(descriptors).some((key) => typeof key !== "string" || !allowed.has(key))) return undefined;
|
|
38
|
-
const output = Object.create(null) as Record<string, unknown>;
|
|
39
|
-
for (const [key, descriptor] of Object.entries(descriptors)) {
|
|
40
|
-
if (!("value" in descriptor)) return undefined;
|
|
41
|
-
output[key] = descriptor.value;
|
|
42
|
-
}
|
|
43
|
-
return output;
|
|
44
|
-
} catch {
|
|
45
|
-
return undefined;
|
|
46
|
-
}
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
function hasExactly(source: Record<string, unknown>, keys: ReadonlySet<string>): boolean {
|
|
50
|
-
const own = Object.keys(source);
|
|
51
|
-
return own.length === keys.size && own.every((key) => keys.has(key));
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
function safeInteger(value: unknown, maximum: number): number | undefined {
|
|
55
|
-
return typeof value === "number" && Number.isSafeInteger(value) && value >= 0 && value <= maximum ? value : undefined;
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
function safeText(value: unknown, maximum: number): string | undefined {
|
|
59
|
-
if (typeof value !== "string" || value.length === 0 || value !== value.trim() || unsafeUnicode.test(value)) return undefined;
|
|
60
|
-
if ([...value].length > maximum || new TextEncoder().encode(value).byteLength > maximum) return undefined;
|
|
61
|
-
return value;
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
function timestamp(value: unknown): string | undefined {
|
|
65
|
-
if (typeof value !== "string" || value.length > 64) return undefined;
|
|
66
|
-
const milliseconds = Date.parse(value);
|
|
67
|
-
if (!Number.isFinite(milliseconds)) return undefined;
|
|
68
|
-
try {
|
|
69
|
-
return new Date(milliseconds).toISOString() === value ? value : undefined;
|
|
70
|
-
} catch {
|
|
71
|
-
return undefined;
|
|
72
|
-
}
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
function capsuleName(value: unknown): string | undefined {
|
|
76
|
-
const name = safeText(value, maxCapsuleNameLength);
|
|
77
|
-
return name?.endsWith(".patch") === true && !name.includes("/") && !name.includes("\\") ? name : undefined;
|
|
78
|
-
}
|
|
79
|
-
|
|
80
|
-
function capsule(value: unknown): { name: string; bytes: number } | undefined {
|
|
81
|
-
const source = ownDataRecord(value, capsuleKeys);
|
|
82
|
-
if (source === undefined || !hasExactly(source, capsuleKeys)) return undefined;
|
|
83
|
-
const name = capsuleName(source.name);
|
|
84
|
-
const bytes = safeInteger(source.bytes, Number.MAX_SAFE_INTEGER);
|
|
85
|
-
return name === undefined || bytes === undefined ? undefined : { name, bytes };
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
function capsuleArray(value: unknown): Array<{ name: string; bytes: number }> | undefined {
|
|
89
|
-
try {
|
|
90
|
-
if (!Array.isArray(value) || Object.getPrototypeOf(value) !== Array.prototype) return undefined;
|
|
91
|
-
const lengthDescriptor = Object.getOwnPropertyDescriptor(value, "length");
|
|
92
|
-
const length: unknown = lengthDescriptor !== undefined && "value" in lengthDescriptor ? lengthDescriptor.value : undefined;
|
|
93
|
-
if (!Number.isSafeInteger(length) || (length as number) < 0 || (length as number) > defaults.displayLimit) return undefined;
|
|
94
|
-
const descriptors = Object.getOwnPropertyDescriptors(value);
|
|
95
|
-
if (
|
|
96
|
-
Reflect.ownKeys(descriptors).some(
|
|
97
|
-
(key) => key !== "length" && (typeof key !== "string" || !/^\d+$/u.test(key) || Number(key) >= (length as number) || String(Number(key)) !== key),
|
|
98
|
-
) ||
|
|
99
|
-
Object.values(descriptors).some((descriptor) => !("value" in descriptor))
|
|
100
|
-
)
|
|
101
|
-
return undefined;
|
|
102
|
-
const output: Array<{ name: string; bytes: number }> = [];
|
|
103
|
-
for (let index = 0; index < (length as number); index += 1) {
|
|
104
|
-
const descriptor = descriptors[String(index)];
|
|
105
|
-
const item = capsule(descriptor !== undefined && "value" in descriptor ? descriptor.value : undefined);
|
|
106
|
-
if (item === undefined) return undefined;
|
|
107
|
-
output.push(item);
|
|
108
|
-
}
|
|
109
|
-
if (new Set(output.map((item) => item.name)).size !== output.length) return undefined;
|
|
110
|
-
return output;
|
|
111
|
-
} catch {
|
|
112
|
-
return undefined;
|
|
113
|
-
}
|
|
114
|
-
}
|
|
115
|
-
|
|
116
|
-
function inventoryView(value: unknown, capsuleCount: number): { total: number; shown: number; truncated: boolean; displayLimit: number } | undefined {
|
|
117
|
-
const source = ownDataRecord(value, inventoryKeys);
|
|
118
|
-
if (source === undefined || !hasExactly(source, inventoryKeys)) return undefined;
|
|
119
|
-
const total = safeInteger(source.total, defaults.capsules);
|
|
120
|
-
const shown = safeInteger(source.shown, defaults.displayLimit);
|
|
121
|
-
if (
|
|
122
|
-
total === undefined ||
|
|
123
|
-
shown === undefined ||
|
|
124
|
-
shown !== capsuleCount ||
|
|
125
|
-
shown > total ||
|
|
126
|
-
source.displayLimit !== defaults.displayLimit ||
|
|
127
|
-
typeof source.truncated !== "boolean" ||
|
|
128
|
-
source.truncated !== total > shown
|
|
129
|
-
)
|
|
130
|
-
return undefined;
|
|
131
|
-
return { total, shown, truncated: source.truncated, displayLimit: defaults.displayLimit };
|
|
132
|
-
}
|
|
133
|
-
|
|
134
|
-
function activityView(value: unknown): CleanerPanelView["lastCleanup"] | undefined {
|
|
135
|
-
const source = ownDataRecord(value, activityKeys);
|
|
136
|
-
if (source === undefined) return undefined;
|
|
137
|
-
const status = source.status;
|
|
138
|
-
const at = timestamp(source.at);
|
|
139
|
-
const requestedKeep = safeInteger(source.requestedKeep, defaults.capsules);
|
|
140
|
-
const removed = safeInteger(source.removed, defaults.capsules);
|
|
141
|
-
if (
|
|
142
|
-
(status !== "running" && status !== "completed" && status !== "failed" && status !== "cancelled") ||
|
|
143
|
-
at === undefined ||
|
|
144
|
-
requestedKeep === undefined ||
|
|
145
|
-
removed === undefined
|
|
146
|
-
)
|
|
147
|
-
return undefined;
|
|
148
|
-
const baseKeys = new Set(["status", "at", "requestedKeep", "removed"]);
|
|
149
|
-
if (status === "running" && hasExactly(source, baseKeys)) return { status, at, requestedKeep, removed, kept: null, error: null };
|
|
150
|
-
if (status === "completed" && hasExactly(source, new Set([...baseKeys, "kept"]))) {
|
|
151
|
-
const kept = safeInteger(source.kept, defaults.capsules);
|
|
152
|
-
return kept === undefined ? undefined : { status, at, requestedKeep, removed, kept, error: null };
|
|
153
|
-
}
|
|
154
|
-
if ((status === "failed" || status === "cancelled") && hasExactly(source, new Set([...baseKeys, "error"]))) {
|
|
155
|
-
const error = safeText(source.error, maxActivityErrorLength);
|
|
156
|
-
return error === undefined
|
|
157
|
-
? undefined
|
|
158
|
-
: { status, at, requestedKeep, removed, kept: null, error: [...error].slice(0, visibleActivityErrorLength).join("") };
|
|
159
|
-
}
|
|
160
|
-
return undefined;
|
|
161
|
-
}
|
|
162
|
-
|
|
163
|
-
function validLimits(value: unknown): boolean {
|
|
164
|
-
const source = ownDataRecord(value, limitKeys);
|
|
165
|
-
return (
|
|
166
|
-
source !== undefined && hasExactly(source, limitKeys) && source.capsules === defaults.capsules && source.directoryEntries === defaults.directoryEntries
|
|
167
|
-
);
|
|
168
|
-
}
|
|
169
|
-
|
|
170
|
-
function malformedView(): CleanerPanelView {
|
|
171
|
-
return {
|
|
172
|
-
capsules: [],
|
|
173
|
-
totalBytes: null,
|
|
174
|
-
inventory: null,
|
|
175
|
-
lastCleanup: null,
|
|
176
|
-
malformed: true,
|
|
177
|
-
limits: { capsules: defaults.capsules, directoryEntries: defaults.directoryEntries },
|
|
178
|
-
};
|
|
179
|
-
}
|
|
180
|
-
|
|
181
|
-
export function cleanerPanelView(data: unknown): CleanerPanelView {
|
|
182
|
-
const source = ownDataRecord(data, rootKeys);
|
|
183
|
-
if (source === undefined || !hasExactly(source, rootKeys) || !validLimits(source.limits)) return malformedView();
|
|
184
|
-
const capsules = capsuleArray(source.capsules);
|
|
185
|
-
if (capsules === undefined) return malformedView();
|
|
186
|
-
const inventory = inventoryView(source.inventory, capsules.length);
|
|
187
|
-
const lastRemoved = safeInteger(source.lastRemoved, defaults.capsules);
|
|
188
|
-
if (inventory === undefined || lastRemoved === undefined) return malformedView();
|
|
189
|
-
const lastCleanup = source.lastCleanup === null ? null : activityView(source.lastCleanup);
|
|
190
|
-
if (lastCleanup === undefined || (lastCleanup === null ? lastRemoved !== 0 : lastCleanup.removed !== lastRemoved)) return malformedView();
|
|
191
|
-
const visible = capsules.slice(0, visibleCapsules);
|
|
192
|
-
const totalBytes = visible.reduce((sum, item) => sum + item.bytes, 0);
|
|
193
|
-
if (!Number.isSafeInteger(totalBytes)) return malformedView();
|
|
194
|
-
return {
|
|
195
|
-
capsules: visible,
|
|
196
|
-
totalBytes,
|
|
197
|
-
inventory: {
|
|
198
|
-
total: inventory.total,
|
|
199
|
-
shown: visible.length,
|
|
200
|
-
truncated: inventory.truncated || capsules.length > visible.length,
|
|
201
|
-
displayLimit: inventory.displayLimit,
|
|
202
|
-
},
|
|
203
|
-
lastCleanup,
|
|
204
|
-
malformed: false,
|
|
205
|
-
limits: { capsules: defaults.capsules, directoryEntries: defaults.directoryEntries },
|
|
206
|
-
};
|
|
207
|
-
}
|