@pi-harness/pi-harness 0.1.28 → 0.1.30

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (298) hide show
  1. package/README.md +1 -1
  2. package/apps/web/dist/assets/{index-1vaEg8Vr.js → index-B7pwZ76Z.js} +2 -2
  3. package/apps/web/dist/index.html +1 -1
  4. package/apps/web/package.json +1 -15
  5. package/apps/web/profile/cordis.yml +73 -73
  6. package/apps/web/server-dist/bin.js +4 -2
  7. package/apps/web/server-dist/bin.js.map +1 -1
  8. package/apps/web/src/server/bin.ts +4 -2
  9. package/apps/web/test/bin.test.ts +6 -0
  10. package/node_modules/@pi-harness/api-gateway/dist/index.d.ts.map +1 -1
  11. package/node_modules/@pi-harness/api-gateway/dist/index.js +5 -12
  12. package/node_modules/@pi-harness/api-gateway/dist/index.js.map +1 -1
  13. package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/agent-teams.json +3 -3
  14. package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/anchored-standard.json +3 -3
  15. package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/annotation.json +3 -3
  16. package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/archify.json +3 -3
  17. package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/at-file.json +3 -3
  18. package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/auto-mode.json +3 -3
  19. package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/better-sidebar.json +3 -3
  20. package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/browser-fetch.json +3 -3
  21. package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/browser-session.json +3 -3
  22. package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/canvas-draw.json +3 -3
  23. package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/change-verifier.json +3 -3
  24. package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/cleaner.json +3 -3
  25. package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/cli-notifier.json +3 -3
  26. package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/code2skill.json +3 -3
  27. package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/colleague-skill.json +3 -3
  28. package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/context-doctor.json +3 -3
  29. package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/context.json +3 -3
  30. package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/cost-meter.json +3 -3
  31. package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/dependency-checker.json +3 -3
  32. package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/docker-sandbox.json +3 -3
  33. package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/fail-logger.json +3 -3
  34. package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/genui.json +3 -3
  35. package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/git-time-capsule.json +3 -3
  36. package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/graph-memory.json +3 -3
  37. package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/history-compressor.json +3 -3
  38. package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/hol-guard.json +3 -3
  39. package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/i18n-pair.json +3 -3
  40. package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/image-compressor.json +3 -3
  41. package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/llm-verifier.json +3 -3
  42. package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/mcp-client.json +3 -3
  43. package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/mcp-panel.json +3 -3
  44. package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/memory.json +3 -3
  45. package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/mirage-bridge.json +3 -3
  46. package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/mock-server.json +3 -3
  47. package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/modlens.json +3 -3
  48. package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/module-search.json +3 -3
  49. package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/obsidian-sync.json +3 -3
  50. package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/openpets.json +3 -3
  51. package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/plan-execute.json +3 -3
  52. package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/plugin-check.json +3 -3
  53. package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/plugin-dev.json +3 -3
  54. package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/plugin-finder.json +3 -3
  55. package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/plugin-radar.json +3 -3
  56. package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/plugin-stars.json +3 -3
  57. package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/prompt-guard.json +3 -3
  58. package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/prompt-library.json +3 -3
  59. package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/readme-gen.json +3 -3
  60. package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/recall-unread.json +3 -3
  61. package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/reverse-skill.json +3 -3
  62. package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/reviewer-bot.json +3 -3
  63. package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/runtime-doctor.json +3 -3
  64. package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/secure-audit.json +3 -3
  65. package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/session-bookmarks.json +3 -3
  66. package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/session-bridge.json +3 -3
  67. package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/session-compare.json +3 -3
  68. package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/session-export.json +3 -3
  69. package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/session-insights.json +3 -3
  70. package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/session-search.json +3 -3
  71. package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/skill-catalog.json +3 -3
  72. package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/skill-guard.json +3 -3
  73. package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/sql-lens.json +3 -3
  74. package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/synapse.json +3 -3
  75. package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/tab-manager.json +3 -3
  76. package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/taskboard.json +3 -3
  77. package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/telemetry-blocker.json +3 -3
  78. package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/test-harness.json +3 -3
  79. package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/theme-studio.json +3 -3
  80. package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/token-guard.json +3 -3
  81. package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/turn-rewind.json +3 -3
  82. package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/undo-savepoint.json +3 -3
  83. package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/vision-toolkit.json +3 -3
  84. package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/web-research.json +3 -3
  85. package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/workspace-navigator.json +3 -3
  86. package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/workspace-search.json +3 -3
  87. package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/yaml-validator.json +3 -3
  88. package/node_modules/@pi-harness/api-gateway/dist/marketplace.d.ts +0 -1
  89. package/node_modules/@pi-harness/api-gateway/dist/marketplace.d.ts.map +1 -1
  90. package/node_modules/@pi-harness/api-gateway/dist/marketplace.js +0 -3
  91. package/node_modules/@pi-harness/api-gateway/dist/marketplace.js.map +1 -1
  92. package/node_modules/@pi-harness/api-gateway/package.json +27 -1
  93. package/node_modules/@pi-harness/cli/dist/bin.js +2 -1
  94. package/node_modules/@pi-harness/cli/dist/bin.js.map +1 -1
  95. package/node_modules/@pi-harness/cli/dist/main.d.ts +2 -0
  96. package/node_modules/@pi-harness/cli/dist/main.d.ts.map +1 -1
  97. package/node_modules/@pi-harness/cli/dist/main.js +12 -2
  98. package/node_modules/@pi-harness/cli/dist/main.js.map +1 -1
  99. package/node_modules/@pi-harness/cli/dist/profiles.d.ts +3 -0
  100. package/node_modules/@pi-harness/cli/dist/profiles.d.ts.map +1 -0
  101. package/node_modules/@pi-harness/cli/dist/profiles.js +5 -0
  102. package/node_modules/@pi-harness/cli/dist/profiles.js.map +1 -0
  103. package/node_modules/@pi-harness/cli/package.json +3 -2
  104. package/node_modules/@pi-harness/cli/profiles/default/cordis.yml +122 -0
  105. package/node_modules/@pi-harness/cli/profiles/development/cordis.yml +47 -0
  106. package/node_modules/@pi-harness/host-webserver/package.json +1 -1
  107. package/node_modules/@pi-harness/web-app/package.json +1 -1
  108. package/package.json +88 -15
  109. package/packages/api-gateway/dist/index.d.ts.map +1 -1
  110. package/packages/api-gateway/dist/index.js +5 -12
  111. package/packages/api-gateway/dist/index.js.map +1 -1
  112. package/packages/api-gateway/dist/marketplace-entries/official/agent-teams.json +3 -3
  113. package/packages/api-gateway/dist/marketplace-entries/official/anchored-standard.json +3 -3
  114. package/packages/api-gateway/dist/marketplace-entries/official/annotation.json +3 -3
  115. package/packages/api-gateway/dist/marketplace-entries/official/archify.json +3 -3
  116. package/packages/api-gateway/dist/marketplace-entries/official/at-file.json +3 -3
  117. package/packages/api-gateway/dist/marketplace-entries/official/auto-mode.json +3 -3
  118. package/packages/api-gateway/dist/marketplace-entries/official/better-sidebar.json +3 -3
  119. package/packages/api-gateway/dist/marketplace-entries/official/browser-fetch.json +3 -3
  120. package/packages/api-gateway/dist/marketplace-entries/official/browser-session.json +3 -3
  121. package/packages/api-gateway/dist/marketplace-entries/official/canvas-draw.json +3 -3
  122. package/packages/api-gateway/dist/marketplace-entries/official/change-verifier.json +3 -3
  123. package/packages/api-gateway/dist/marketplace-entries/official/cleaner.json +3 -3
  124. package/packages/api-gateway/dist/marketplace-entries/official/cli-notifier.json +3 -3
  125. package/packages/api-gateway/dist/marketplace-entries/official/code2skill.json +3 -3
  126. package/packages/api-gateway/dist/marketplace-entries/official/colleague-skill.json +3 -3
  127. package/packages/api-gateway/dist/marketplace-entries/official/context-doctor.json +3 -3
  128. package/packages/api-gateway/dist/marketplace-entries/official/context.json +3 -3
  129. package/packages/api-gateway/dist/marketplace-entries/official/cost-meter.json +3 -3
  130. package/packages/api-gateway/dist/marketplace-entries/official/dependency-checker.json +3 -3
  131. package/packages/api-gateway/dist/marketplace-entries/official/docker-sandbox.json +3 -3
  132. package/packages/api-gateway/dist/marketplace-entries/official/fail-logger.json +3 -3
  133. package/packages/api-gateway/dist/marketplace-entries/official/genui.json +3 -3
  134. package/packages/api-gateway/dist/marketplace-entries/official/git-time-capsule.json +3 -3
  135. package/packages/api-gateway/dist/marketplace-entries/official/graph-memory.json +3 -3
  136. package/packages/api-gateway/dist/marketplace-entries/official/history-compressor.json +3 -3
  137. package/packages/api-gateway/dist/marketplace-entries/official/hol-guard.json +3 -3
  138. package/packages/api-gateway/dist/marketplace-entries/official/i18n-pair.json +3 -3
  139. package/packages/api-gateway/dist/marketplace-entries/official/image-compressor.json +3 -3
  140. package/packages/api-gateway/dist/marketplace-entries/official/llm-verifier.json +3 -3
  141. package/packages/api-gateway/dist/marketplace-entries/official/mcp-client.json +3 -3
  142. package/packages/api-gateway/dist/marketplace-entries/official/mcp-panel.json +3 -3
  143. package/packages/api-gateway/dist/marketplace-entries/official/memory.json +3 -3
  144. package/packages/api-gateway/dist/marketplace-entries/official/mirage-bridge.json +3 -3
  145. package/packages/api-gateway/dist/marketplace-entries/official/mock-server.json +3 -3
  146. package/packages/api-gateway/dist/marketplace-entries/official/modlens.json +3 -3
  147. package/packages/api-gateway/dist/marketplace-entries/official/module-search.json +3 -3
  148. package/packages/api-gateway/dist/marketplace-entries/official/obsidian-sync.json +3 -3
  149. package/packages/api-gateway/dist/marketplace-entries/official/openpets.json +3 -3
  150. package/packages/api-gateway/dist/marketplace-entries/official/plan-execute.json +3 -3
  151. package/packages/api-gateway/dist/marketplace-entries/official/plugin-check.json +3 -3
  152. package/packages/api-gateway/dist/marketplace-entries/official/plugin-dev.json +3 -3
  153. package/packages/api-gateway/dist/marketplace-entries/official/plugin-finder.json +3 -3
  154. package/packages/api-gateway/dist/marketplace-entries/official/plugin-radar.json +3 -3
  155. package/packages/api-gateway/dist/marketplace-entries/official/plugin-stars.json +3 -3
  156. package/packages/api-gateway/dist/marketplace-entries/official/prompt-guard.json +3 -3
  157. package/packages/api-gateway/dist/marketplace-entries/official/prompt-library.json +3 -3
  158. package/packages/api-gateway/dist/marketplace-entries/official/readme-gen.json +3 -3
  159. package/packages/api-gateway/dist/marketplace-entries/official/recall-unread.json +3 -3
  160. package/packages/api-gateway/dist/marketplace-entries/official/reverse-skill.json +3 -3
  161. package/packages/api-gateway/dist/marketplace-entries/official/reviewer-bot.json +3 -3
  162. package/packages/api-gateway/dist/marketplace-entries/official/runtime-doctor.json +3 -3
  163. package/packages/api-gateway/dist/marketplace-entries/official/secure-audit.json +3 -3
  164. package/packages/api-gateway/dist/marketplace-entries/official/session-bookmarks.json +3 -3
  165. package/packages/api-gateway/dist/marketplace-entries/official/session-bridge.json +3 -3
  166. package/packages/api-gateway/dist/marketplace-entries/official/session-compare.json +3 -3
  167. package/packages/api-gateway/dist/marketplace-entries/official/session-export.json +3 -3
  168. package/packages/api-gateway/dist/marketplace-entries/official/session-insights.json +3 -3
  169. package/packages/api-gateway/dist/marketplace-entries/official/session-search.json +3 -3
  170. package/packages/api-gateway/dist/marketplace-entries/official/skill-catalog.json +3 -3
  171. package/packages/api-gateway/dist/marketplace-entries/official/skill-guard.json +3 -3
  172. package/packages/api-gateway/dist/marketplace-entries/official/sql-lens.json +3 -3
  173. package/packages/api-gateway/dist/marketplace-entries/official/synapse.json +3 -3
  174. package/packages/api-gateway/dist/marketplace-entries/official/tab-manager.json +3 -3
  175. package/packages/api-gateway/dist/marketplace-entries/official/taskboard.json +3 -3
  176. package/packages/api-gateway/dist/marketplace-entries/official/telemetry-blocker.json +3 -3
  177. package/packages/api-gateway/dist/marketplace-entries/official/test-harness.json +3 -3
  178. package/packages/api-gateway/dist/marketplace-entries/official/theme-studio.json +3 -3
  179. package/packages/api-gateway/dist/marketplace-entries/official/token-guard.json +3 -3
  180. package/packages/api-gateway/dist/marketplace-entries/official/turn-rewind.json +3 -3
  181. package/packages/api-gateway/dist/marketplace-entries/official/undo-savepoint.json +3 -3
  182. package/packages/api-gateway/dist/marketplace-entries/official/vision-toolkit.json +3 -3
  183. package/packages/api-gateway/dist/marketplace-entries/official/web-research.json +3 -3
  184. package/packages/api-gateway/dist/marketplace-entries/official/workspace-navigator.json +3 -3
  185. package/packages/api-gateway/dist/marketplace-entries/official/workspace-search.json +3 -3
  186. package/packages/api-gateway/dist/marketplace-entries/official/yaml-validator.json +3 -3
  187. package/packages/api-gateway/dist/marketplace.d.ts +0 -1
  188. package/packages/api-gateway/dist/marketplace.d.ts.map +1 -1
  189. package/packages/api-gateway/dist/marketplace.js +0 -3
  190. package/packages/api-gateway/dist/marketplace.js.map +1 -1
  191. package/packages/api-gateway/package.json +27 -1
  192. package/packages/api-gateway/src/index.ts +4 -12
  193. package/packages/api-gateway/src/marketplace-entries/official/agent-teams.json +3 -3
  194. package/packages/api-gateway/src/marketplace-entries/official/anchored-standard.json +3 -3
  195. package/packages/api-gateway/src/marketplace-entries/official/annotation.json +3 -3
  196. package/packages/api-gateway/src/marketplace-entries/official/archify.json +3 -3
  197. package/packages/api-gateway/src/marketplace-entries/official/at-file.json +3 -3
  198. package/packages/api-gateway/src/marketplace-entries/official/auto-mode.json +3 -3
  199. package/packages/api-gateway/src/marketplace-entries/official/better-sidebar.json +3 -3
  200. package/packages/api-gateway/src/marketplace-entries/official/browser-fetch.json +3 -3
  201. package/packages/api-gateway/src/marketplace-entries/official/browser-session.json +3 -3
  202. package/packages/api-gateway/src/marketplace-entries/official/canvas-draw.json +3 -3
  203. package/packages/api-gateway/src/marketplace-entries/official/change-verifier.json +3 -3
  204. package/packages/api-gateway/src/marketplace-entries/official/cleaner.json +3 -3
  205. package/packages/api-gateway/src/marketplace-entries/official/cli-notifier.json +3 -3
  206. package/packages/api-gateway/src/marketplace-entries/official/code2skill.json +3 -3
  207. package/packages/api-gateway/src/marketplace-entries/official/colleague-skill.json +3 -3
  208. package/packages/api-gateway/src/marketplace-entries/official/context-doctor.json +3 -3
  209. package/packages/api-gateway/src/marketplace-entries/official/context.json +3 -3
  210. package/packages/api-gateway/src/marketplace-entries/official/cost-meter.json +3 -3
  211. package/packages/api-gateway/src/marketplace-entries/official/dependency-checker.json +3 -3
  212. package/packages/api-gateway/src/marketplace-entries/official/docker-sandbox.json +3 -3
  213. package/packages/api-gateway/src/marketplace-entries/official/fail-logger.json +3 -3
  214. package/packages/api-gateway/src/marketplace-entries/official/genui.json +3 -3
  215. package/packages/api-gateway/src/marketplace-entries/official/git-time-capsule.json +3 -3
  216. package/packages/api-gateway/src/marketplace-entries/official/graph-memory.json +3 -3
  217. package/packages/api-gateway/src/marketplace-entries/official/history-compressor.json +3 -3
  218. package/packages/api-gateway/src/marketplace-entries/official/hol-guard.json +3 -3
  219. package/packages/api-gateway/src/marketplace-entries/official/i18n-pair.json +3 -3
  220. package/packages/api-gateway/src/marketplace-entries/official/image-compressor.json +3 -3
  221. package/packages/api-gateway/src/marketplace-entries/official/llm-verifier.json +3 -3
  222. package/packages/api-gateway/src/marketplace-entries/official/mcp-client.json +3 -3
  223. package/packages/api-gateway/src/marketplace-entries/official/mcp-panel.json +3 -3
  224. package/packages/api-gateway/src/marketplace-entries/official/memory.json +3 -3
  225. package/packages/api-gateway/src/marketplace-entries/official/mirage-bridge.json +3 -3
  226. package/packages/api-gateway/src/marketplace-entries/official/mock-server.json +3 -3
  227. package/packages/api-gateway/src/marketplace-entries/official/modlens.json +3 -3
  228. package/packages/api-gateway/src/marketplace-entries/official/module-search.json +3 -3
  229. package/packages/api-gateway/src/marketplace-entries/official/obsidian-sync.json +3 -3
  230. package/packages/api-gateway/src/marketplace-entries/official/openpets.json +3 -3
  231. package/packages/api-gateway/src/marketplace-entries/official/plan-execute.json +3 -3
  232. package/packages/api-gateway/src/marketplace-entries/official/plugin-check.json +3 -3
  233. package/packages/api-gateway/src/marketplace-entries/official/plugin-dev.json +3 -3
  234. package/packages/api-gateway/src/marketplace-entries/official/plugin-finder.json +3 -3
  235. package/packages/api-gateway/src/marketplace-entries/official/plugin-radar.json +3 -3
  236. package/packages/api-gateway/src/marketplace-entries/official/plugin-stars.json +3 -3
  237. package/packages/api-gateway/src/marketplace-entries/official/prompt-guard.json +3 -3
  238. package/packages/api-gateway/src/marketplace-entries/official/prompt-library.json +3 -3
  239. package/packages/api-gateway/src/marketplace-entries/official/readme-gen.json +3 -3
  240. package/packages/api-gateway/src/marketplace-entries/official/recall-unread.json +3 -3
  241. package/packages/api-gateway/src/marketplace-entries/official/reverse-skill.json +3 -3
  242. package/packages/api-gateway/src/marketplace-entries/official/reviewer-bot.json +3 -3
  243. package/packages/api-gateway/src/marketplace-entries/official/runtime-doctor.json +3 -3
  244. package/packages/api-gateway/src/marketplace-entries/official/secure-audit.json +3 -3
  245. package/packages/api-gateway/src/marketplace-entries/official/session-bookmarks.json +3 -3
  246. package/packages/api-gateway/src/marketplace-entries/official/session-bridge.json +3 -3
  247. package/packages/api-gateway/src/marketplace-entries/official/session-compare.json +3 -3
  248. package/packages/api-gateway/src/marketplace-entries/official/session-export.json +3 -3
  249. package/packages/api-gateway/src/marketplace-entries/official/session-insights.json +3 -3
  250. package/packages/api-gateway/src/marketplace-entries/official/session-search.json +3 -3
  251. package/packages/api-gateway/src/marketplace-entries/official/skill-catalog.json +3 -3
  252. package/packages/api-gateway/src/marketplace-entries/official/skill-guard.json +3 -3
  253. package/packages/api-gateway/src/marketplace-entries/official/sql-lens.json +3 -3
  254. package/packages/api-gateway/src/marketplace-entries/official/synapse.json +3 -3
  255. package/packages/api-gateway/src/marketplace-entries/official/tab-manager.json +3 -3
  256. package/packages/api-gateway/src/marketplace-entries/official/taskboard.json +3 -3
  257. package/packages/api-gateway/src/marketplace-entries/official/telemetry-blocker.json +3 -3
  258. package/packages/api-gateway/src/marketplace-entries/official/test-harness.json +3 -3
  259. package/packages/api-gateway/src/marketplace-entries/official/theme-studio.json +3 -3
  260. package/packages/api-gateway/src/marketplace-entries/official/token-guard.json +3 -3
  261. package/packages/api-gateway/src/marketplace-entries/official/turn-rewind.json +3 -3
  262. package/packages/api-gateway/src/marketplace-entries/official/undo-savepoint.json +3 -3
  263. package/packages/api-gateway/src/marketplace-entries/official/vision-toolkit.json +3 -3
  264. package/packages/api-gateway/src/marketplace-entries/official/web-research.json +3 -3
  265. package/packages/api-gateway/src/marketplace-entries/official/workspace-navigator.json +3 -3
  266. package/packages/api-gateway/src/marketplace-entries/official/workspace-search.json +3 -3
  267. package/packages/api-gateway/src/marketplace-entries/official/yaml-validator.json +3 -3
  268. package/packages/api-gateway/src/marketplace.ts +0 -4
  269. package/packages/api-gateway/test/index.test.ts +140 -94
  270. package/packages/api-gateway/test/marketplace-schema.test.ts +1 -1
  271. package/packages/api-gateway/test/marketplace.test.ts +7 -9
  272. package/packages/api-gateway/test/packed-package.test.ts +95 -11
  273. package/packages/api-gateway/test/release-contract.test.ts +37 -6
  274. package/packages/api-gateway/test/release-package.test.ts +1 -1
  275. package/packages/api-gateway/test/release-version.test.ts +79 -3
  276. package/packages/bundle-web-app/package.json +1 -1
  277. package/packages/cli/dist/bin.js +2 -1
  278. package/packages/cli/dist/bin.js.map +1 -1
  279. package/packages/cli/dist/main.d.ts +2 -0
  280. package/packages/cli/dist/main.d.ts.map +1 -1
  281. package/packages/cli/dist/main.js +12 -2
  282. package/packages/cli/dist/main.js.map +1 -1
  283. package/packages/cli/dist/profiles.d.ts +3 -0
  284. package/packages/cli/dist/profiles.d.ts.map +1 -0
  285. package/packages/cli/dist/profiles.js +5 -0
  286. package/packages/cli/dist/profiles.js.map +1 -0
  287. package/packages/cli/package.json +3 -2
  288. package/packages/cli/profiles/default/cordis.yml +122 -0
  289. package/packages/cli/profiles/development/cordis.yml +47 -0
  290. package/packages/cli/src/bin.ts +2 -1
  291. package/packages/cli/src/main.ts +14 -2
  292. package/packages/cli/src/profiles.ts +6 -0
  293. package/packages/cli/test/binary.test.ts +5 -1
  294. package/packages/cli/test/broken-pipe.test.ts +1 -1
  295. package/packages/cli/test/cli.test.ts +1 -0
  296. package/packages/cli/test/main.test.ts +1 -0
  297. package/packages/cli/test/profiles.integration.test.ts +575 -0
  298. package/packages/host-webserver/package.json +1 -1
@@ -0,0 +1,122 @@
1
+ - id: agent
2
+ name: cordis:group
3
+ group: true
4
+ config:
5
+ - id: models
6
+ name: "@pi-harness/core/plugins/models"
7
+ config:
8
+ provider: deepseek
9
+ model: deepseek-v4-flash
10
+ refreshOnCreate: false
11
+ - id: resources
12
+ name: "@pi-harness/core/plugins/resources"
13
+ config: {}
14
+ - id: model
15
+ name: "@pi-harness/core/plugins/model"
16
+ config: {}
17
+ - id: session
18
+ name: "@pi-harness/core/plugins/session"
19
+ config:
20
+ storage: jsonl
21
+ - id: tools
22
+ name: "@pi-harness/core/plugins/tools"
23
+ config:
24
+ names:
25
+ - read
26
+ - bash
27
+ - edit
28
+ - write
29
+ - id: agent-teams
30
+ name: "@pi-harness/plugin-agent-teams"
31
+ config: {}
32
+ - id: modlens
33
+ name: "@pi-harness/plugin-modlens"
34
+ config: {}
35
+ - id: vision-toolkit
36
+ name: "@pi-harness/plugin-vision-toolkit"
37
+ config: {}
38
+ - id: git-time-capsule
39
+ name: "@pi-harness/plugin-git-time-capsule"
40
+ config: {}
41
+ - id: dependency-checker
42
+ name: "@pi-harness/plugin-dependency-checker"
43
+ config: {}
44
+ - id: at-file
45
+ name: "@pi-harness/plugin-at-file"
46
+ config: {}
47
+ - id: test-harness
48
+ name: "@pi-harness/plugin-test-harness"
49
+ config:
50
+ timeoutMs: 120000
51
+ - id: session-insights
52
+ name: "@pi-harness/plugin-session-insights"
53
+ config: {}
54
+ - id: readme-gen
55
+ name: "@pi-harness/plugin-readme-gen"
56
+ config: {}
57
+ - id: i18n-pair
58
+ name: "@pi-harness/plugin-i18n-pair"
59
+ config: {}
60
+ - id: cleaner
61
+ name: "@pi-harness/plugin-cleaner"
62
+ config: {}
63
+ - id: sql-lens
64
+ name: "@pi-harness/plugin-sql-lens"
65
+ config:
66
+ timeoutMs: 5000
67
+ - id: docker-sandbox
68
+ name: "@pi-harness/plugin-docker-sandbox"
69
+ config: {}
70
+ - id: mcp-client
71
+ name: "@pi-harness/plugin-mcp-client"
72
+ config: {}
73
+ - id: browser-fetch
74
+ name: "@pi-harness/plugin-browser-fetch"
75
+ config: {}
76
+ - id: browser-session
77
+ name: "@pi-harness/plugin-browser-session"
78
+ config: {}
79
+ - id: plugin-stars
80
+ name: "@pi-harness/plugin-plugin-stars"
81
+ config: {}
82
+ - id: yaml-validator
83
+ name: "@pi-harness/plugin-yaml-validator"
84
+ config: {}
85
+ - id: plugin-dev
86
+ name: "@pi-harness/plugin-plugin-dev"
87
+ config: {}
88
+ - id: openpets
89
+ name: "@pi-harness/plugin-openpets"
90
+ config: {}
91
+ - id: session-bridge
92
+ name: "@pi-harness/plugin-session-bridge"
93
+ config: {}
94
+ - id: skill-guard
95
+ name: "@pi-harness/plugin-skill-guard"
96
+ config: {}
97
+ - id: recall-unread
98
+ name: "@pi-harness/plugin-recall-unread"
99
+ config: {}
100
+ - id: turn-rewind
101
+ name: "@pi-harness/plugin-turn-rewind"
102
+ config: {}
103
+ - id: context-doctor
104
+ name: "@pi-harness/plugin-context-doctor"
105
+ config: {}
106
+ - id: runtime
107
+ name: "@pi-harness/core/plugins/runtime"
108
+ config:
109
+ thinkingLevel: medium
110
+ - id: context
111
+ name: "@pi-harness/plugin-context"
112
+ config: {}
113
+ - id: token-guard
114
+ name: "@pi-harness/plugin-token-guard"
115
+ config:
116
+ maxPercent: 90
117
+ - id: fail-logger
118
+ name: "@pi-harness/plugin-fail-logger"
119
+ config: {}
120
+ - id: stdio
121
+ name: "@pi-harness/core/plugins/stdio"
122
+ config: {}
@@ -0,0 +1,47 @@
1
+ - id: logger
2
+ name: "@deepseek-ai/cordis-plugin-logger-console"
3
+ config: {}
4
+ - id: timer
5
+ name: "@deepseek-ai/cordis-plugin-timer"
6
+ config: {}
7
+ - id: hmr
8
+ name: "@deepseek-ai/cordis-plugin-hmr"
9
+ config:
10
+ base: !!js piHarnessLaunch.cwdUrl
11
+ root:
12
+ - .
13
+ - id: agent
14
+ name: cordis:group
15
+ group: true
16
+ config:
17
+ - id: models
18
+ name: "@pi-harness/core/plugins/models"
19
+ config:
20
+ provider: deepseek
21
+ model: deepseek-v4-flash
22
+ refreshOnCreate: false
23
+ - id: resources
24
+ name: "@pi-harness/core/plugins/resources"
25
+ config: {}
26
+ - id: model
27
+ name: "@pi-harness/core/plugins/model"
28
+ config: {}
29
+ - id: session
30
+ name: "@pi-harness/core/plugins/session"
31
+ config:
32
+ storage: jsonl
33
+ - id: tools
34
+ name: "@pi-harness/core/plugins/tools"
35
+ config:
36
+ names:
37
+ - read
38
+ - bash
39
+ - edit
40
+ - write
41
+ - id: runtime
42
+ name: "@pi-harness/core/plugins/runtime"
43
+ config:
44
+ thinkingLevel: medium
45
+ - id: stdio
46
+ name: "@pi-harness/core/plugins/stdio"
47
+ config: {}
@@ -4,7 +4,7 @@ import { readFileSync } from "node:fs";
4
4
  import { homedir } from "node:os";
5
5
  import { join, resolve } from "node:path";
6
6
  import { fileURLToPath } from "node:url";
7
- import { coreUpdateNotice } from "@pi-harness/core";
7
+ import { coreUpdateNotice, harnessHomeDirectory } from "@pi-harness/core";
8
8
  import { runCli, type CliEnvironment } from "./main.js";
9
9
  import { shouldRelaunchForDevelopmentProfile, superviseDevelopmentProcess } from "./relaunch.js";
10
10
 
@@ -16,6 +16,7 @@ const agentDir = configuredAgentDir === undefined || configuredAgentDir.length =
16
16
  const environment: CliEnvironment = {
17
17
  cwd: process.cwd(),
18
18
  agentDir,
19
+ harnessHome: harnessHomeDirectory(),
19
20
  version: packageJson.version,
20
21
  supervised: process.env.PI_HARNESS_SUPERVISED === "1",
21
22
  stdin: process.stdin,
@@ -1,13 +1,16 @@
1
1
  import { readFile } from "node:fs/promises";
2
2
  import type { Readable, Writable } from "node:stream";
3
- import { BUILTIN_PROFILES, bootHarness, provideLaunchContext, provideStdioContext, resolveProfileConfig, type BootedHarness } from "@pi-harness/core";
3
+ import { bootHarness, prepareHarnessProfile, provideLaunchContext, provideStdioContext, resolveProfileConfig, type BootedHarness } from "@pi-harness/core";
4
4
  import { CliUsageError, parseLauncherArgs } from "./args.js";
5
5
  import { NodeStdio } from "./node-stdio.js";
6
+ import { BUILTIN_PROFILES, BUILTIN_PROFILES_DIR } from "./profiles.js";
6
7
  import { PI_HARNESS_RESTART_EXIT_CODE } from "./relaunch.js";
7
8
 
8
9
  export interface CliEnvironment {
9
10
  readonly cwd: string;
10
11
  readonly agentDir: string;
12
+ /** Directory that owns the booted copy of a built-in profile and the node_modules the marketplace installs into. */
13
+ readonly harnessHome: string;
11
14
  readonly version: string;
12
15
  readonly stdin: Readable;
13
16
  readonly stdout: Writable;
@@ -76,9 +79,18 @@ export async function runCli(_args: readonly string[], _environment: CliEnvironm
76
79
  let configPath: string;
77
80
  try {
78
81
  configPath = await resolveProfileConfig({
79
- ...(invocation.configPath === undefined ? { profile: invocation.profile ?? "default" } : { configPath: invocation.configPath }),
82
+ ...(invocation.configPath === undefined
83
+ ? { profile: invocation.profile ?? "default", profilesDir: BUILTIN_PROFILES_DIR }
84
+ : { configPath: invocation.configPath }),
80
85
  cwd: environment.cwd,
81
86
  });
87
+ // A built-in profile is a template: the copy under the harness home is what boots, because that is the file the web console appends marketplace entries to and the directory those packages are installed beside. An explicit --config already names a file the user owns, so it is booted as given.
88
+ if (invocation.configPath === undefined)
89
+ configPath = await prepareHarnessProfile({
90
+ builtinProfilePath: configPath,
91
+ profileName: invocation.profile ?? "default",
92
+ directory: environment.harnessHome,
93
+ });
82
94
  if (invocation.dumpConfig) {
83
95
  environment.stdout.write(await readFile(configPath, "utf8"));
84
96
  return 0;
@@ -0,0 +1,6 @@
1
+ import { fileURLToPath } from "node:url";
2
+
3
+ export const BUILTIN_PROFILES = ["default", "development"] as const;
4
+
5
+ // The launcher ships the curated plugin set, so the profile directory sits next to its build output rather than inside the runtime package.
6
+ export const BUILTIN_PROFILES_DIR = fileURLToPath(new URL("../profiles", import.meta.url));
@@ -10,7 +10,11 @@ const BIN = join(import.meta.dirname, "..", "dist", "bin.js");
10
10
 
11
11
  async function pih(args: string[], cwd: string, agentDir: string): Promise<{ stdout: string; stderr: string; code: number }> {
12
12
  try {
13
- const result = await run(process.execPath, [BIN, ...args], { cwd, env: { ...process.env, PI_AGENT_DIR: agentDir }, timeout: 30_000 });
13
+ const result = await run(process.execPath, [BIN, ...args], {
14
+ cwd,
15
+ env: { ...process.env, PI_AGENT_DIR: agentDir, PI_HARNESS_HOME: join(agentDir, "harness-home") },
16
+ timeout: 30_000,
17
+ });
14
18
  return { ...result, code: 0 };
15
19
  } catch (error) {
16
20
  const failure = error as { stdout?: string; stderr?: string; code?: number };
@@ -22,7 +22,7 @@ describe("broken output pipe", () => {
22
22
 
23
23
  const producer = spawn(process.execPath, [BIN, "--config", configPath, "--prompt", "hi"], {
24
24
  stdio: ["ignore", "pipe", "pipe"],
25
- env: { ...process.env, PI_AGENT_DIR: directory },
25
+ env: { ...process.env, PI_AGENT_DIR: directory, PI_HARNESS_HOME: join(directory, "harness-home") },
26
26
  });
27
27
  let stderr = "";
28
28
  producer.stderr.setEncoding("utf8");
@@ -27,6 +27,7 @@ function createEnvironment(cwd = process.cwd(), input: string | null = "", shutd
27
27
  return {
28
28
  cwd,
29
29
  agentDir: join(cwd, ".pi-agent-test"),
30
+ harnessHome: join(cwd, ".pi-harness-test"),
30
31
  version: "0.1.0-test",
31
32
  stdin,
32
33
  stdout: new Writable({
@@ -23,6 +23,7 @@ function createEnvironment(cwd: string, shutdownTimeoutMs = 5_000): TestEnvironm
23
23
  return {
24
24
  cwd,
25
25
  agentDir: join(cwd, ".pi-agent-test"),
26
+ harnessHome: join(cwd, ".pi-harness-test"),
26
27
  version: "0.1.0-test",
27
28
  stdin,
28
29
  stdout: new Writable({