@linxiraos/zeta 1.0.0 → 1.0.1

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 (143) hide show
  1. package/CHANGELOG.md +23 -14
  2. package/dist/{CHANGELOG-9b8wekd5.md → CHANGELOG-8ex5r87q.md} +23 -14
  3. package/dist/cli.js +3604 -3526
  4. package/dist/types/advisor/watchdog.d.ts +2 -2
  5. package/dist/types/autolearn/managed-skills.d.ts +1 -1
  6. package/dist/types/cli/browser-relay-cli.d.ts +1 -1
  7. package/dist/types/cli/worktree-cli.d.ts +1 -1
  8. package/dist/types/commands/serve.d.ts +5 -0
  9. package/dist/types/commands/worktree.d.ts +1 -1
  10. package/dist/types/config/prompt-templates.d.ts +1 -1
  11. package/dist/types/config/settings-schema.d.ts +3 -3
  12. package/dist/types/config.d.ts +4 -4
  13. package/dist/types/discovery/helpers.d.ts +8 -8
  14. package/dist/types/discovery/omp-extension-roots.d.ts +2 -2
  15. package/dist/types/eval/py/runtime.d.ts +1 -1
  16. package/dist/types/extensibility/custom-tools/loader.d.ts +2 -2
  17. package/dist/types/extensibility/extensions/loader.d.ts +1 -1
  18. package/dist/types/extensibility/hooks/loader.d.ts +1 -1
  19. package/dist/types/extensibility/plugins/loader.d.ts +3 -3
  20. package/dist/types/extensibility/plugins/types.d.ts +2 -2
  21. package/dist/types/lsp/config.d.ts +2 -2
  22. package/dist/types/mcp/config-writer.d.ts +1 -1
  23. package/dist/types/sdk.d.ts +4 -4
  24. package/dist/types/secrets/index.d.ts +1 -1
  25. package/dist/types/server/web-gateway/agents.d.ts +260 -0
  26. package/dist/types/server/web-gateway/auth.d.ts +52 -0
  27. package/dist/types/server/web-gateway/dto.d.ts +84 -0
  28. package/dist/types/server/web-gateway/models.d.ts +35 -0
  29. package/dist/types/server/web-gateway/npx.d.ts +17 -0
  30. package/dist/types/server/web-gateway/plugins.d.ts +24 -0
  31. package/dist/types/server/web-gateway/projects.d.ts +19 -0
  32. package/dist/types/server/web-gateway/running-sessions.d.ts +11 -0
  33. package/dist/types/server/web-gateway/sessions.d.ts +29 -0
  34. package/dist/types/server/web-gateway/skill-updates.d.ts +22 -0
  35. package/dist/types/server/web-gateway/skills-lock.d.ts +22 -0
  36. package/dist/types/server/web-gateway/skills.d.ts +18 -0
  37. package/dist/types/server/web-gateway/types.d.ts +183 -0
  38. package/dist/types/server/web-gateway.d.ts +35 -0
  39. package/dist/types/server/zeta-server.d.ts +9 -3
  40. package/dist/types/session/auth-broker-config.d.ts +2 -2
  41. package/dist/types/session/snapcompact-savings-journal.d.ts +1 -1
  42. package/dist/types/task/commands.d.ts +1 -1
  43. package/dist/types/task/discovery.d.ts +1 -1
  44. package/dist/types/task/executor.d.ts +1 -1
  45. package/dist/types/task/isolation-ownership.d.ts +1 -1
  46. package/dist/types/tools/acp-bridge.d.ts +2 -2
  47. package/dist/types/tools/index.d.ts +1 -1
  48. package/dist/types/tools/report-tool-issue.d.ts +1 -1
  49. package/dist/types/utils/changelog.d.ts +1 -1
  50. package/dist/types/utils/git.d.ts +5 -0
  51. package/examples/extensions/pirate.ts +1 -1
  52. package/examples/extensions/plan-mode.ts +1 -1
  53. package/examples/extensions/tools.ts +1 -1
  54. package/examples/sdk/01-minimal.ts +1 -1
  55. package/examples/sdk/04-skills.ts +1 -1
  56. package/examples/sdk/06-extensions.ts +3 -3
  57. package/examples/sdk/09-api-keys-and-oauth.ts +2 -2
  58. package/examples/sdk/12-redis-sessions.ts +1 -1
  59. package/examples/sdk/13-sql-sessions.ts +1 -1
  60. package/package.json +13 -13
  61. package/scripts/bench-title-models.ts +2 -2
  62. package/src/advisor/watchdog.ts +3 -3
  63. package/src/autolearn/managed-skills.ts +3 -3
  64. package/src/autoresearch/storage.ts +1 -1
  65. package/src/cli/auth-broker-cli.ts +1 -1
  66. package/src/cli/browser-relay-cli.ts +1 -1
  67. package/src/cli/command-help.ts +1 -1
  68. package/src/cli/help-extra.ts +2 -2
  69. package/src/cli/models-cli.ts +1 -1
  70. package/src/cli/ssh-cli.ts +2 -2
  71. package/src/cli/worktree-cli.ts +3 -3
  72. package/src/cli.ts +6 -0
  73. package/src/commands/agents.ts +2 -2
  74. package/src/commands/browser-relay.ts +1 -1
  75. package/src/commands/launch-help.ts +1 -1
  76. package/src/commands/models.ts +1 -1
  77. package/src/commands/serve.ts +13 -0
  78. package/src/commands/ttsr.ts +2 -2
  79. package/src/commands/worktree.ts +2 -2
  80. package/src/config/prompt-templates.ts +2 -2
  81. package/src/config/settings-schema.ts +4 -4
  82. package/src/config/settings.ts +1 -1
  83. package/src/config.ts +7 -7
  84. package/src/discovery/builtin.ts +9 -9
  85. package/src/discovery/claude-plugins.ts +2 -2
  86. package/src/discovery/helpers.ts +11 -11
  87. package/src/discovery/omp-extension-roots.ts +2 -2
  88. package/src/discovery/omp-plugins.ts +2 -2
  89. package/src/eval/py/runtime.ts +1 -1
  90. package/src/export/custom-share.ts +1 -1
  91. package/src/extensibility/custom-tools/loader.ts +3 -3
  92. package/src/extensibility/extensions/loader.ts +2 -2
  93. package/src/extensibility/hooks/loader.ts +1 -1
  94. package/src/extensibility/plugins/loader.ts +7 -7
  95. package/src/extensibility/plugins/marketplace/fetcher.ts +1 -1
  96. package/src/extensibility/plugins/marketplace/manager.ts +1 -1
  97. package/src/extensibility/plugins/types.ts +3 -3
  98. package/src/i18n/en.ts +4 -4
  99. package/src/i18n/zh.ts +4 -4
  100. package/src/lsp/config.ts +4 -4
  101. package/src/lsp/index.ts +1 -1
  102. package/src/main.ts +1 -1
  103. package/src/mcp/config-writer.ts +2 -2
  104. package/src/modes/acp/acp-agent.ts +1 -1
  105. package/src/modes/acp/acp-mode.ts +1 -1
  106. package/src/modes/components/extensions/extension-dashboard.ts +1 -1
  107. package/src/modes/controllers/input-controller.ts +1 -1
  108. package/src/modes/controllers/omfg-controller.ts +2 -2
  109. package/src/sdk.ts +5 -5
  110. package/src/secrets/index.ts +1 -1
  111. package/src/server/web-gateway/agents.ts +1004 -0
  112. package/src/server/web-gateway/auth.ts +393 -0
  113. package/src/server/web-gateway/dto.ts +96 -0
  114. package/src/server/web-gateway/models.ts +381 -0
  115. package/src/server/web-gateway/npx.ts +66 -0
  116. package/src/server/web-gateway/plugins.ts +388 -0
  117. package/src/server/web-gateway/projects.ts +93 -0
  118. package/src/server/web-gateway/running-sessions.ts +37 -0
  119. package/src/server/web-gateway/sessions.ts +890 -0
  120. package/src/server/web-gateway/skill-updates.ts +249 -0
  121. package/src/server/web-gateway/skills-lock.ts +143 -0
  122. package/src/server/web-gateway/skills.ts +341 -0
  123. package/src/server/web-gateway/types.ts +215 -0
  124. package/src/server/web-gateway.ts +307 -0
  125. package/src/server/zeta-server.ts +88 -20
  126. package/src/session/agent-storage.ts +1 -1
  127. package/src/session/auth-broker-config.ts +2 -2
  128. package/src/session/snapcompact-savings-journal.ts +1 -1
  129. package/src/slash-commands/helpers/mcp.ts +1 -1
  130. package/src/ssh/file-transfer.ts +1 -1
  131. package/src/task/commands.ts +1 -1
  132. package/src/task/discovery.ts +3 -3
  133. package/src/task/executor.ts +1 -1
  134. package/src/task/index.ts +2 -2
  135. package/src/task/isolation-ownership.ts +2 -2
  136. package/src/tools/acp-bridge.ts +2 -2
  137. package/src/tools/browser/launch.ts +1 -1
  138. package/src/tools/browser/registry.ts +1 -1
  139. package/src/tools/index.ts +1 -1
  140. package/src/tools/report-tool-issue.ts +1 -1
  141. package/src/utils/changelog.ts +1 -1
  142. package/src/utils/git.ts +8 -0
  143. package/src/utils/open.ts +1 -1
package/CHANGELOG.md CHANGED
@@ -2,21 +2,8 @@
2
2
 
3
3
  ## [Unreleased]
4
4
 
5
- ### Fixed
6
-
7
- - Fixed normal CLI startup loading native computer-worker bindings before they are needed, which made lightweight commands fail when native addons were disabled.
8
- - Fixed async result delivery receipts never settling after their aside was committed or discarded.
9
- - Fixed the setup theme picker hiding its final curated choice on 24-row terminals.
10
- - Fixed daemon completion notifications, acknowledgements, and owner subscriptions being lost across broker reconnects and restarts.
11
- - Fixed a new `/mcp reauth` command failing to supersede an unfinished MCP OAuth login.
12
- - Fixed `/memory stats` and `/memory diagnose` describing the disabled memory state as an "off backend".
13
- - Fixed bash approval rules rejecting literal shell metacharacters inside quoted arguments.
5
+ ## [1.0.1] - 2026-08-14
14
6
 
15
- ## [1.0.0] - 2026-08-07
16
-
17
- ### Changed
18
-
19
- - Reset the version to 1.0.0 and republished under the `@linxiraos/*` scope, breaking from the `@oh-my-pi` version lineage.
20
7
  ## [17.2.11] - 2026-08-07
21
8
 
22
9
  ### Added
@@ -12556,6 +12543,28 @@ Initial release under @oh-my-pi scope. See previous releases at [badlogic/pi-mon
12556
12543
  - Fixed Task tool subprocess model selection ignoring agent's configured model and falling back to settings default. The `--model` flag now accepts `provider/model` format directly.
12557
12544
  - Fixed Task tool showing "done + succeeded" when aborted; now correctly displays "⊘ aborted" status
12558
12545
 
12546
+ ## [1.0.0] - 2026-08-13
12547
+
12548
+ ### Added
12549
+
12550
+ - Added the Web Gateway (`zeta serve`), an in-process Bun HTTP API that serves the web-ui session family (`/api/sessions*`: list, get, rename, delete, context, state, thinking, export) directly from the runtime instead of proxying through Next.js. A standalone 127.0.0.1 listener (`ZETA_WEB_GATEWAY_PORT`, default 30142) keeps `next dev`/`next start` on the same handler via `ZETA_WEB_GATEWAY_URL` rewrites.
12551
+
12552
+ ### Fixed
12553
+
12554
+ - Fixed normal CLI startup loading native computer-worker bindings before they are needed, which made lightweight commands fail when native addons were disabled.
12555
+ - Fixed async result delivery receipts never settling after their aside was committed or discarded.
12556
+ - Fixed the setup theme picker hiding its final curated choice on 24-row terminals.
12557
+ - Fixed daemon completion notifications, acknowledgements, and owner subscriptions being lost across broker reconnects and restarts.
12558
+ - Fixed a new `/mcp reauth` command failing to supersede an unfinished MCP OAuth login.
12559
+ - Fixed `/memory stats` and `/memory diagnose` describing the disabled memory state as an "off backend".
12560
+ - Fixed bash approval rules rejecting literal shell metacharacters inside quoted arguments.
12561
+
12562
+ ## [1.0.0] - 2026-08-07
12563
+
12564
+ ### Changed
12565
+
12566
+ - Reset the version to 1.0.0 and republished under the `@linxiraos/*` scope, breaking from the `@oh-my-pi` version lineage.
12567
+
12559
12568
  ## [0.50.1] - 2026-01-26
12560
12569
 
12561
12570
  ### Fixed
@@ -2,21 +2,8 @@
2
2
 
3
3
  ## [Unreleased]
4
4
 
5
- ### Fixed
6
-
7
- - Fixed normal CLI startup loading native computer-worker bindings before they are needed, which made lightweight commands fail when native addons were disabled.
8
- - Fixed async result delivery receipts never settling after their aside was committed or discarded.
9
- - Fixed the setup theme picker hiding its final curated choice on 24-row terminals.
10
- - Fixed daemon completion notifications, acknowledgements, and owner subscriptions being lost across broker reconnects and restarts.
11
- - Fixed a new `/mcp reauth` command failing to supersede an unfinished MCP OAuth login.
12
- - Fixed `/memory stats` and `/memory diagnose` describing the disabled memory state as an "off backend".
13
- - Fixed bash approval rules rejecting literal shell metacharacters inside quoted arguments.
5
+ ## [1.0.1] - 2026-08-14
14
6
 
15
- ## [1.0.0] - 2026-08-07
16
-
17
- ### Changed
18
-
19
- - Reset the version to 1.0.0 and republished under the `@linxiraos/*` scope, breaking from the `@oh-my-pi` version lineage.
20
7
  ## [17.2.11] - 2026-08-07
21
8
 
22
9
  ### Added
@@ -12556,6 +12543,28 @@ Initial release under @oh-my-pi scope. See previous releases at [badlogic/pi-mon
12556
12543
  - Fixed Task tool subprocess model selection ignoring agent's configured model and falling back to settings default. The `--model` flag now accepts `provider/model` format directly.
12557
12544
  - Fixed Task tool showing "done + succeeded" when aborted; now correctly displays "⊘ aborted" status
12558
12545
 
12546
+ ## [1.0.0] - 2026-08-13
12547
+
12548
+ ### Added
12549
+
12550
+ - Added the Web Gateway (`zeta serve`), an in-process Bun HTTP API that serves the web-ui session family (`/api/sessions*`: list, get, rename, delete, context, state, thinking, export) directly from the runtime instead of proxying through Next.js. A standalone 127.0.0.1 listener (`ZETA_WEB_GATEWAY_PORT`, default 30142) keeps `next dev`/`next start` on the same handler via `ZETA_WEB_GATEWAY_URL` rewrites.
12551
+
12552
+ ### Fixed
12553
+
12554
+ - Fixed normal CLI startup loading native computer-worker bindings before they are needed, which made lightweight commands fail when native addons were disabled.
12555
+ - Fixed async result delivery receipts never settling after their aside was committed or discarded.
12556
+ - Fixed the setup theme picker hiding its final curated choice on 24-row terminals.
12557
+ - Fixed daemon completion notifications, acknowledgements, and owner subscriptions being lost across broker reconnects and restarts.
12558
+ - Fixed a new `/mcp reauth` command failing to supersede an unfinished MCP OAuth login.
12559
+ - Fixed `/memory stats` and `/memory diagnose` describing the disabled memory state as an "off backend".
12560
+ - Fixed bash approval rules rejecting literal shell metacharacters inside quoted arguments.
12561
+
12562
+ ## [1.0.0] - 2026-08-07
12563
+
12564
+ ### Changed
12565
+
12566
+ - Reset the version to 1.0.0 and republished under the `@linxiraos/*` scope, breaking from the `@oh-my-pi` version lineage.
12567
+
12559
12568
  ## [0.50.1] - 2026-01-26
12560
12569
 
12561
12570
  ### Fixed