@pi-harness/pi-harness 0.1.105 → 0.1.106

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 (104) hide show
  1. package/README.md +8 -2
  2. package/apps/web/dist/assets/index-0darfxe0.js +29 -0
  3. package/apps/web/dist/index.html +1 -1
  4. package/apps/web/package.json +1 -1
  5. package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/archify.json +1 -1
  6. package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/at-file.json +1 -1
  7. package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/browser-session.json +1 -1
  8. package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/code2skill.json +1 -1
  9. package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/cost-meter.json +1 -1
  10. package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/dependency-checker.json +1 -1
  11. package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/git-time-capsule.json +1 -1
  12. package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/graph-memory.json +1 -1
  13. package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/i18n-pair.json +1 -1
  14. package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/image-compressor.json +1 -1
  15. package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/mcp-panel.json +1 -1
  16. package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/memory.json +1 -1
  17. package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/modlens.json +1 -1
  18. package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/module-search.json +1 -1
  19. package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/plugin-check.json +1 -1
  20. package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/prompt-library.json +1 -1
  21. package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/readme-gen.json +1 -1
  22. package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/recall-unread.json +1 -1
  23. package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/secure-audit.json +1 -1
  24. package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/session-bridge.json +1 -1
  25. package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/session-compare.json +1 -1
  26. package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/session-export.json +1 -1
  27. package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/session-search.json +1 -1
  28. package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/skill-catalog.json +1 -1
  29. package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/skill-guard.json +1 -1
  30. package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/tab-manager.json +1 -1
  31. package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/taskboard.json +1 -1
  32. package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/undo-savepoint.json +1 -1
  33. package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/workspace-search.json +1 -1
  34. package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/yaml-validator.json +1 -1
  35. package/node_modules/@pi-harness/api-gateway/package.json +1 -1
  36. package/node_modules/@pi-harness/cli/package.json +1 -1
  37. package/node_modules/@pi-harness/host-webserver/package.json +1 -1
  38. package/node_modules/@pi-harness/web-app/package.json +1 -1
  39. package/package.json +6 -6
  40. package/packages/api-gateway/dist/marketplace-entries/official/archify.json +1 -1
  41. package/packages/api-gateway/dist/marketplace-entries/official/at-file.json +1 -1
  42. package/packages/api-gateway/dist/marketplace-entries/official/browser-session.json +1 -1
  43. package/packages/api-gateway/dist/marketplace-entries/official/code2skill.json +1 -1
  44. package/packages/api-gateway/dist/marketplace-entries/official/cost-meter.json +1 -1
  45. package/packages/api-gateway/dist/marketplace-entries/official/dependency-checker.json +1 -1
  46. package/packages/api-gateway/dist/marketplace-entries/official/git-time-capsule.json +1 -1
  47. package/packages/api-gateway/dist/marketplace-entries/official/graph-memory.json +1 -1
  48. package/packages/api-gateway/dist/marketplace-entries/official/i18n-pair.json +1 -1
  49. package/packages/api-gateway/dist/marketplace-entries/official/image-compressor.json +1 -1
  50. package/packages/api-gateway/dist/marketplace-entries/official/mcp-panel.json +1 -1
  51. package/packages/api-gateway/dist/marketplace-entries/official/memory.json +1 -1
  52. package/packages/api-gateway/dist/marketplace-entries/official/modlens.json +1 -1
  53. package/packages/api-gateway/dist/marketplace-entries/official/module-search.json +1 -1
  54. package/packages/api-gateway/dist/marketplace-entries/official/plugin-check.json +1 -1
  55. package/packages/api-gateway/dist/marketplace-entries/official/prompt-library.json +1 -1
  56. package/packages/api-gateway/dist/marketplace-entries/official/readme-gen.json +1 -1
  57. package/packages/api-gateway/dist/marketplace-entries/official/recall-unread.json +1 -1
  58. package/packages/api-gateway/dist/marketplace-entries/official/secure-audit.json +1 -1
  59. package/packages/api-gateway/dist/marketplace-entries/official/session-bridge.json +1 -1
  60. package/packages/api-gateway/dist/marketplace-entries/official/session-compare.json +1 -1
  61. package/packages/api-gateway/dist/marketplace-entries/official/session-export.json +1 -1
  62. package/packages/api-gateway/dist/marketplace-entries/official/session-search.json +1 -1
  63. package/packages/api-gateway/dist/marketplace-entries/official/skill-catalog.json +1 -1
  64. package/packages/api-gateway/dist/marketplace-entries/official/skill-guard.json +1 -1
  65. package/packages/api-gateway/dist/marketplace-entries/official/tab-manager.json +1 -1
  66. package/packages/api-gateway/dist/marketplace-entries/official/taskboard.json +1 -1
  67. package/packages/api-gateway/dist/marketplace-entries/official/undo-savepoint.json +1 -1
  68. package/packages/api-gateway/dist/marketplace-entries/official/workspace-search.json +1 -1
  69. package/packages/api-gateway/dist/marketplace-entries/official/yaml-validator.json +1 -1
  70. package/packages/api-gateway/package.json +1 -1
  71. package/packages/api-gateway/src/marketplace-entries/official/archify.json +1 -1
  72. package/packages/api-gateway/src/marketplace-entries/official/at-file.json +1 -1
  73. package/packages/api-gateway/src/marketplace-entries/official/browser-session.json +1 -1
  74. package/packages/api-gateway/src/marketplace-entries/official/code2skill.json +1 -1
  75. package/packages/api-gateway/src/marketplace-entries/official/cost-meter.json +1 -1
  76. package/packages/api-gateway/src/marketplace-entries/official/dependency-checker.json +1 -1
  77. package/packages/api-gateway/src/marketplace-entries/official/git-time-capsule.json +1 -1
  78. package/packages/api-gateway/src/marketplace-entries/official/graph-memory.json +1 -1
  79. package/packages/api-gateway/src/marketplace-entries/official/i18n-pair.json +1 -1
  80. package/packages/api-gateway/src/marketplace-entries/official/image-compressor.json +1 -1
  81. package/packages/api-gateway/src/marketplace-entries/official/mcp-panel.json +1 -1
  82. package/packages/api-gateway/src/marketplace-entries/official/memory.json +1 -1
  83. package/packages/api-gateway/src/marketplace-entries/official/modlens.json +1 -1
  84. package/packages/api-gateway/src/marketplace-entries/official/module-search.json +1 -1
  85. package/packages/api-gateway/src/marketplace-entries/official/plugin-check.json +1 -1
  86. package/packages/api-gateway/src/marketplace-entries/official/prompt-library.json +1 -1
  87. package/packages/api-gateway/src/marketplace-entries/official/readme-gen.json +1 -1
  88. package/packages/api-gateway/src/marketplace-entries/official/recall-unread.json +1 -1
  89. package/packages/api-gateway/src/marketplace-entries/official/secure-audit.json +1 -1
  90. package/packages/api-gateway/src/marketplace-entries/official/session-bridge.json +1 -1
  91. package/packages/api-gateway/src/marketplace-entries/official/session-compare.json +1 -1
  92. package/packages/api-gateway/src/marketplace-entries/official/session-export.json +1 -1
  93. package/packages/api-gateway/src/marketplace-entries/official/session-search.json +1 -1
  94. package/packages/api-gateway/src/marketplace-entries/official/skill-catalog.json +1 -1
  95. package/packages/api-gateway/src/marketplace-entries/official/skill-guard.json +1 -1
  96. package/packages/api-gateway/src/marketplace-entries/official/tab-manager.json +1 -1
  97. package/packages/api-gateway/src/marketplace-entries/official/taskboard.json +1 -1
  98. package/packages/api-gateway/src/marketplace-entries/official/undo-savepoint.json +1 -1
  99. package/packages/api-gateway/src/marketplace-entries/official/workspace-search.json +1 -1
  100. package/packages/api-gateway/src/marketplace-entries/official/yaml-validator.json +1 -1
  101. package/packages/bundle-web-app/package.json +1 -1
  102. package/packages/cli/package.json +1 -1
  103. package/packages/host-webserver/package.json +1 -1
  104. package/apps/web/dist/assets/index-CKkqTVMe.js +0 -29
package/README.md CHANGED
@@ -6,7 +6,7 @@
6
6
  [![GitHub stars](https://img.shields.io/github/stars/pi-harness/pi-harness?label=GitHub%20stars&logo=github)](https://github.com/pi-harness/pi-harness/stargazers)
7
7
  [![License](https://img.shields.io/github/license/pi-harness/pi-harness?label=License)](LICENSE)
8
8
 
9
- Pi Harness is a plugin-first web host and CLI for [Pi](https://github.com/earendil-works/pi), built on [DeepSeek Cordis](https://github.com/DeepAgentsLab/cordis). It provides a local browser console, HTTP API, stdio workflows, and a composable plugin runtime.
9
+ Pi Harness is a plugin-first web host and CLI for [Pi](https://github.com/earendil-works/pi), built on [DeepSeek Cordis](https://github.com/DeepAgentsLab/cordis). It provides a local browser console, HTTP API, stdio workflows, and a composable plugin runtime. The primary command-line interface is `pih`; `pi-harness` is the companion command for starting the web console.
10
10
 
11
11
  > Languages: [简体中文](docs/README.zh-CN.md) · [日本語](docs/README.ja.md) · [한국어](docs/README.ko.md) · [Español](docs/README.es.md) · [Français](docs/README.fr.md) · [Deutsch](docs/README.de.md) · [Português (Brasil)](docs/README.pt-BR.md) · [Русский](docs/README.ru.md) · [Italiano](docs/README.it.md) · [العربية](docs/README.ar.md)
12
12
 
@@ -19,7 +19,7 @@ npm install --global @pi-harness/pi-harness
19
19
  pi-harness
20
20
  ```
21
21
 
22
- The web console listens on `http://127.0.0.1:3141` by default. It boots with `everyapi/deepseek-v4-flash` and model selection is fail-closed, so the provider must be registered in `PI_AGENT_DIR` first: provision it with `everyapi use pi-web`, or set `PI_HARNESS_PROVIDER` and `PI_HARNESS_MODEL` to a model that agent directory already knows. For a terminal workflow:
22
+ `pi-harness` starts the web console, which listens on `http://127.0.0.1:3141` by default. It boots with `everyapi/deepseek-v4-flash` and model selection is fail-closed, so the provider must be registered in `PI_AGENT_DIR` first: provision it with `everyapi use pi-web`, or set `PI_HARNESS_PROVIDER` and `PI_HARNESS_MODEL` to a model that agent directory already knows. For the terminal workflow, use the shorter `pih` command:
23
23
 
24
24
  ```sh
25
25
  pih "Summarize the current directory"
@@ -33,6 +33,8 @@ npm run build
33
33
  npm run web
34
34
  ```
35
35
 
36
+ For local development with EveryAPI relay authentication, use `npm run pih-local`. It builds the current workspace and launches the local web entry point through a temporary `pi-web` shim, so an older globally installed Pi Harness is not used.
37
+
36
38
  ## Web console
37
39
 
38
40
  ![Pi Harness web console](docs/assets/pi-harness-web-console.png)
@@ -47,6 +49,8 @@ npm run web
47
49
 
48
50
  ## CLI and profiles
49
51
 
52
+ `pih` is the canonical CLI entry point. Use `pi-harness` when you want the browser console.
53
+
50
54
  ```sh
51
55
  pih --profile default "Summarize the current directory"
52
56
  pih --profile development "Summarize the current directory"
@@ -98,6 +102,8 @@ npm run build
98
102
  npm run test:package
99
103
  ```
100
104
 
105
+ Run `npx vitest run scripts/pih-local.test.ts` to verify the local launcher specifically. Keep `pih` as the stable terminal interface and use `pi-harness` when testing the browser console.
106
+
101
107
  CI runs these on Node 22, and `.tool-versions` pins the same major for anyone using asdf or mise. The package only requires Node 22.19+, so a newer runtime works — but built-in modules do change behaviour between majors, and a test that passes locally on Node 24 can still fail in CI.
102
108
 
103
109
  The reference documents the selected plugin catalog, every HTTP API route, configuration rules, resource limits, failure modes, and security boundaries: [README.reference.md](docs/README.reference.md). Core ships more plugins than the catalog describes; [`packages/plugins`](packages/plugins) is the complete set, and every one of them is installed from the plugin center like a community plugin. A fresh install enables infrastructure only, which is what [`apps/web/profile/cordis.yml`](apps/web/profile/cordis.yml) contains.