@sapienx/agentos 0.3.11 → 0.3.14

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 (201) hide show
  1. package/README.md +12 -2
  2. package/bin/agentos.js +777 -10
  3. package/bundle/.next/BUILD_ID +1 -1
  4. package/bundle/.next/app-path-routes-manifest.json +10 -8
  5. package/bundle/.next/build-manifest.json +3 -3
  6. package/bundle/.next/prerender-manifest.json +3 -3
  7. package/bundle/.next/react-loadable-manifest.json +3 -3
  8. package/bundle/.next/required-server-files.json +16 -0
  9. package/bundle/.next/routes-manifest.json +14 -0
  10. package/bundle/.next/server/app/_global-error/page.js +3 -3
  11. package/bundle/.next/server/app/_global-error/page_client-reference-manifest.js +1 -1
  12. package/bundle/.next/server/app/_global-error.html +1 -1
  13. package/bundle/.next/server/app/_global-error.rsc +1 -1
  14. package/bundle/.next/server/app/_global-error.segments/_full.segment.rsc +1 -1
  15. package/bundle/.next/server/app/_global-error.segments/_global-error/__PAGE__.segment.rsc +1 -1
  16. package/bundle/.next/server/app/_global-error.segments/_global-error.segment.rsc +1 -1
  17. package/bundle/.next/server/app/_global-error.segments/_head.segment.rsc +1 -1
  18. package/bundle/.next/server/app/_global-error.segments/_index.segment.rsc +1 -1
  19. package/bundle/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -1
  20. package/bundle/.next/server/app/_not-found/page.js +2 -2
  21. package/bundle/.next/server/app/_not-found/page_client-reference-manifest.js +1 -1
  22. package/bundle/.next/server/app/_not-found.html +1 -1
  23. package/bundle/.next/server/app/_not-found.rsc +3 -3
  24. package/bundle/.next/server/app/_not-found.segments/_full.segment.rsc +3 -3
  25. package/bundle/.next/server/app/_not-found.segments/_head.segment.rsc +1 -1
  26. package/bundle/.next/server/app/_not-found.segments/_index.segment.rsc +2 -2
  27. package/bundle/.next/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +1 -1
  28. package/bundle/.next/server/app/_not-found.segments/_not-found.segment.rsc +1 -1
  29. package/bundle/.next/server/app/_not-found.segments/_tree.segment.rsc +2 -2
  30. package/bundle/.next/server/app/api/agents/[agentId]/chat/route.js +8 -1
  31. package/bundle/.next/server/app/api/agents/[agentId]/chat/route.js.nft.json +1 -1
  32. package/bundle/.next/server/app/api/agents/route.js +1 -1
  33. package/bundle/.next/server/app/api/agents/route.js.nft.json +1 -1
  34. package/bundle/.next/server/app/api/diagnostics/route.js +1 -1
  35. package/bundle/.next/server/app/api/diagnostics/route.js.nft.json +1 -1
  36. package/bundle/.next/server/app/api/files/reveal/route.js +1 -1
  37. package/bundle/.next/server/app/api/gateway/control/route.js +1 -1
  38. package/bundle/.next/server/app/api/gateway/control/route.js.nft.json +1 -1
  39. package/bundle/.next/server/app/api/mission/route.js +1 -1
  40. package/bundle/.next/server/app/api/mission/route.js.nft.json +1 -1
  41. package/bundle/.next/server/app/api/models/catalog/route.js +1 -0
  42. package/bundle/.next/server/app/api/models/catalog/route.js.nft.json +1 -0
  43. package/bundle/.next/server/app/api/models/catalog/route_client-reference-manifest.js +1 -0
  44. package/bundle/.next/server/app/api/models/providers/route.js +2 -2
  45. package/bundle/.next/server/app/api/models/providers/route.js.nft.json +1 -1
  46. package/bundle/.next/server/app/api/onboarding/models/route.js +7 -7
  47. package/bundle/.next/server/app/api/onboarding/models/route.js.nft.json +1 -1
  48. package/bundle/.next/server/app/api/onboarding/route.js +8 -8
  49. package/bundle/.next/server/app/api/onboarding/route.js.nft.json +1 -1
  50. package/bundle/.next/server/app/api/openclaw/capabilities/route.js +3 -3
  51. package/bundle/.next/server/app/api/planner/[planId]/deploy/route.js +2 -2
  52. package/bundle/.next/server/app/api/planner/[planId]/deploy/route.js.nft.json +1 -1
  53. package/bundle/.next/server/app/api/planner/[planId]/document-rewrite/route.js +1 -1
  54. package/bundle/.next/server/app/api/planner/[planId]/document-rewrite/route.js.nft.json +1 -1
  55. package/bundle/.next/server/app/api/planner/[planId]/route.js +1 -1
  56. package/bundle/.next/server/app/api/planner/[planId]/route.js.nft.json +1 -1
  57. package/bundle/.next/server/app/api/planner/[planId]/simulate/route.js +1 -1
  58. package/bundle/.next/server/app/api/planner/[planId]/simulate/route.js.nft.json +1 -1
  59. package/bundle/.next/server/app/api/planner/[planId]/turn/route.js +1 -1
  60. package/bundle/.next/server/app/api/planner/[planId]/turn/route.js.nft.json +1 -1
  61. package/bundle/.next/server/app/api/planner/route.js +1 -1
  62. package/bundle/.next/server/app/api/planner/route.js.nft.json +1 -1
  63. package/bundle/.next/server/app/api/reset/route.js +3 -3
  64. package/bundle/.next/server/app/api/reset/route.js.nft.json +1 -1
  65. package/bundle/.next/server/app/api/runtimes/[runtimeId]/route.js +1 -1
  66. package/bundle/.next/server/app/api/runtimes/[runtimeId]/route.js.nft.json +1 -1
  67. package/bundle/.next/server/app/api/settings/gateway/route.js +1 -1
  68. package/bundle/.next/server/app/api/settings/gateway/route.js.nft.json +1 -1
  69. package/bundle/.next/server/app/api/settings/workspace-root/route.js +1 -1
  70. package/bundle/.next/server/app/api/settings/workspace-root/route.js.nft.json +1 -1
  71. package/bundle/.next/server/app/api/snapshot/route.js +1 -1
  72. package/bundle/.next/server/app/api/snapshot/route.js.nft.json +1 -1
  73. package/bundle/.next/server/app/api/stream/route.js +2 -2
  74. package/bundle/.next/server/app/api/stream/route.js.nft.json +1 -1
  75. package/bundle/.next/server/app/api/system/open-terminal/route.js +1 -1
  76. package/bundle/.next/server/app/api/tasks/[taskId]/abort/route.js +1 -1
  77. package/bundle/.next/server/app/api/tasks/[taskId]/abort/route.js.nft.json +1 -1
  78. package/bundle/.next/server/app/api/tasks/[taskId]/stream/route.js +2 -2
  79. package/bundle/.next/server/app/api/tasks/[taskId]/stream/route.js.nft.json +1 -1
  80. package/bundle/.next/server/app/api/update/route.js +4 -4
  81. package/bundle/.next/server/app/api/update/route.js.nft.json +1 -1
  82. package/bundle/.next/server/app/api/workspaces/[workspaceId]/channels/discovered-groups/route.js +1 -1
  83. package/bundle/.next/server/app/api/workspaces/[workspaceId]/channels/discovered-groups/route.js.nft.json +1 -1
  84. package/bundle/.next/server/app/api/workspaces/[workspaceId]/channels/route.js +1 -1
  85. package/bundle/.next/server/app/api/workspaces/[workspaceId]/channels/route.js.nft.json +1 -1
  86. package/bundle/.next/server/app/api/workspaces/[workspaceId]/edit-draft/route.js +1 -1
  87. package/bundle/.next/server/app/api/workspaces/[workspaceId]/edit-draft/route.js.nft.json +1 -1
  88. package/bundle/.next/server/app/api/workspaces/[workspaceId]/surfaces/discovery/route.js +1 -0
  89. package/bundle/.next/server/app/api/workspaces/[workspaceId]/surfaces/discovery/route.js.nft.json +1 -0
  90. package/bundle/.next/server/app/api/workspaces/[workspaceId]/surfaces/discovery/route_client-reference-manifest.js +1 -0
  91. package/bundle/.next/server/app/api/workspaces/route.js +2 -2
  92. package/bundle/.next/server/app/api/workspaces/route.js.nft.json +1 -1
  93. package/bundle/.next/server/app/page.js +44 -41
  94. package/bundle/.next/server/app/page.js.nft.json +1 -1
  95. package/bundle/.next/server/app/page_client-reference-manifest.js +1 -1
  96. package/bundle/.next/server/app-paths-manifest.json +10 -8
  97. package/bundle/.next/server/chunks/199.js +412 -0
  98. package/bundle/.next/server/chunks/639.js +98 -0
  99. package/bundle/.next/server/chunks/661.js +1 -1
  100. package/bundle/.next/server/functions-config-manifest.json +3 -1
  101. package/bundle/.next/server/middleware-build-manifest.js +1 -1
  102. package/bundle/.next/server/middleware-react-loadable-manifest.js +1 -1
  103. package/bundle/.next/server/pages/404.html +1 -1
  104. package/bundle/.next/server/pages/500.html +1 -1
  105. package/bundle/.next/server/server-reference-manifest.json +1 -1
  106. package/bundle/.next/static/3RfU29upg-cPxACyzCFUb/_buildManifest.js +1 -0
  107. package/bundle/.next/static/chunks/{1364.5bd755c8584fcbc8.js → 2999.fef298fbe30cd4bd.js} +1 -1
  108. package/bundle/.next/static/chunks/5261.29ae1e1fe185a617.js +1 -0
  109. package/bundle/.next/static/chunks/7963-6bd42810c5733ae8.js +15 -0
  110. package/bundle/.next/static/chunks/app/_global-error/page-cde9c645dcfceb9f.js +1 -0
  111. package/bundle/.next/static/chunks/app/_not-found/page-cde9c645dcfceb9f.js +1 -0
  112. package/bundle/.next/static/chunks/app/api/agents/[agentId]/chat/route-cde9c645dcfceb9f.js +1 -0
  113. package/bundle/.next/static/chunks/app/api/agents/route-cde9c645dcfceb9f.js +1 -0
  114. package/bundle/.next/static/chunks/app/api/diagnostics/route-cde9c645dcfceb9f.js +1 -0
  115. package/bundle/.next/static/chunks/app/api/files/reveal/route-cde9c645dcfceb9f.js +1 -0
  116. package/bundle/.next/static/chunks/app/api/gateway/control/route-cde9c645dcfceb9f.js +1 -0
  117. package/bundle/.next/static/chunks/app/api/mission/route-cde9c645dcfceb9f.js +1 -0
  118. package/bundle/.next/static/chunks/app/api/models/catalog/route-cde9c645dcfceb9f.js +1 -0
  119. package/bundle/.next/static/chunks/app/api/models/providers/route-cde9c645dcfceb9f.js +1 -0
  120. package/bundle/.next/static/chunks/app/api/onboarding/models/route-cde9c645dcfceb9f.js +1 -0
  121. package/bundle/.next/static/chunks/app/api/onboarding/route-cde9c645dcfceb9f.js +1 -0
  122. package/bundle/.next/static/chunks/app/api/openclaw/capabilities/route-cde9c645dcfceb9f.js +1 -0
  123. package/bundle/.next/static/chunks/app/api/planner/[planId]/deploy/route-cde9c645dcfceb9f.js +1 -0
  124. package/bundle/.next/static/chunks/app/api/planner/[planId]/document-rewrite/route-cde9c645dcfceb9f.js +1 -0
  125. package/bundle/.next/static/chunks/app/api/planner/[planId]/route-cde9c645dcfceb9f.js +1 -0
  126. package/bundle/.next/static/chunks/app/api/planner/[planId]/simulate/route-cde9c645dcfceb9f.js +1 -0
  127. package/bundle/.next/static/chunks/app/api/planner/[planId]/turn/route-cde9c645dcfceb9f.js +1 -0
  128. package/bundle/.next/static/chunks/app/api/planner/route-cde9c645dcfceb9f.js +1 -0
  129. package/bundle/.next/static/chunks/app/api/reset/route-cde9c645dcfceb9f.js +1 -0
  130. package/bundle/.next/static/chunks/app/api/runtimes/[runtimeId]/route-cde9c645dcfceb9f.js +1 -0
  131. package/bundle/.next/static/chunks/app/api/settings/gateway/route-cde9c645dcfceb9f.js +1 -0
  132. package/bundle/.next/static/chunks/app/api/settings/workspace-root/route-cde9c645dcfceb9f.js +1 -0
  133. package/bundle/.next/static/chunks/app/api/snapshot/route-cde9c645dcfceb9f.js +1 -0
  134. package/bundle/.next/static/chunks/app/api/stream/route-cde9c645dcfceb9f.js +1 -0
  135. package/bundle/.next/static/chunks/app/api/system/open-terminal/route-cde9c645dcfceb9f.js +1 -0
  136. package/bundle/.next/static/chunks/app/api/tasks/[taskId]/abort/route-cde9c645dcfceb9f.js +1 -0
  137. package/bundle/.next/static/chunks/app/api/tasks/[taskId]/stream/route-cde9c645dcfceb9f.js +1 -0
  138. package/bundle/.next/static/chunks/app/api/update/route-cde9c645dcfceb9f.js +1 -0
  139. package/bundle/.next/static/chunks/app/api/workspaces/[workspaceId]/channels/discovered-groups/route-cde9c645dcfceb9f.js +1 -0
  140. package/bundle/.next/static/chunks/app/api/workspaces/[workspaceId]/channels/route-cde9c645dcfceb9f.js +1 -0
  141. package/bundle/.next/static/chunks/app/api/workspaces/[workspaceId]/edit-draft/route-cde9c645dcfceb9f.js +1 -0
  142. package/bundle/.next/static/chunks/app/api/workspaces/[workspaceId]/surfaces/discovery/route-cde9c645dcfceb9f.js +1 -0
  143. package/bundle/.next/static/chunks/app/api/workspaces/route-cde9c645dcfceb9f.js +1 -0
  144. package/bundle/.next/static/chunks/app/not-found-cde9c645dcfceb9f.js +1 -0
  145. package/bundle/.next/static/chunks/app/page-29f20effd872e616.js +179 -0
  146. package/bundle/.next/static/chunks/next/dist/client/components/builtin/app-error-cde9c645dcfceb9f.js +1 -0
  147. package/bundle/.next/static/chunks/next/dist/client/components/builtin/forbidden-cde9c645dcfceb9f.js +1 -0
  148. package/bundle/.next/static/chunks/next/dist/client/components/builtin/unauthorized-cde9c645dcfceb9f.js +1 -0
  149. package/bundle/.next/static/chunks/{webpack-4fdc6767ef8ff7b1.js → webpack-e0accbaa78fb0b56.js} +1 -1
  150. package/bundle/.next/static/css/9f1b31fd4086df59.css +3 -0
  151. package/bundle/package.json +1 -1
  152. package/bundle/public/readme/banner.jpeg +0 -0
  153. package/bundle/public/readme/mission-control-hero.svg +2 -2
  154. package/bundle/public/site.webmanifest +1 -1
  155. package/bundle/scripts/openclaw-mission-dispatch-runner.mjs +180 -9
  156. package/bundle/server.js +1 -1
  157. package/package.json +2 -2
  158. package/bundle/.next/server/chunks/212.js +0 -98
  159. package/bundle/.next/server/chunks/49.js +0 -420
  160. package/bundle/.next/static/PMHP584Iqd3KMZJH68hEV/_buildManifest.js +0 -1
  161. package/bundle/.next/static/chunks/1506.ec91294c1cbc454f.js +0 -1
  162. package/bundle/.next/static/chunks/5954-fd2a9c905dcede3c.js +0 -15
  163. package/bundle/.next/static/chunks/app/_global-error/page-1a770949224cd2a0.js +0 -1
  164. package/bundle/.next/static/chunks/app/_not-found/page-1a770949224cd2a0.js +0 -1
  165. package/bundle/.next/static/chunks/app/api/agents/[agentId]/chat/route-1a770949224cd2a0.js +0 -1
  166. package/bundle/.next/static/chunks/app/api/agents/route-1a770949224cd2a0.js +0 -1
  167. package/bundle/.next/static/chunks/app/api/diagnostics/route-1a770949224cd2a0.js +0 -1
  168. package/bundle/.next/static/chunks/app/api/files/reveal/route-1a770949224cd2a0.js +0 -1
  169. package/bundle/.next/static/chunks/app/api/gateway/control/route-1a770949224cd2a0.js +0 -1
  170. package/bundle/.next/static/chunks/app/api/mission/route-1a770949224cd2a0.js +0 -1
  171. package/bundle/.next/static/chunks/app/api/models/providers/route-1a770949224cd2a0.js +0 -1
  172. package/bundle/.next/static/chunks/app/api/onboarding/models/route-1a770949224cd2a0.js +0 -1
  173. package/bundle/.next/static/chunks/app/api/onboarding/route-1a770949224cd2a0.js +0 -1
  174. package/bundle/.next/static/chunks/app/api/openclaw/capabilities/route-1a770949224cd2a0.js +0 -1
  175. package/bundle/.next/static/chunks/app/api/planner/[planId]/deploy/route-1a770949224cd2a0.js +0 -1
  176. package/bundle/.next/static/chunks/app/api/planner/[planId]/document-rewrite/route-1a770949224cd2a0.js +0 -1
  177. package/bundle/.next/static/chunks/app/api/planner/[planId]/route-1a770949224cd2a0.js +0 -1
  178. package/bundle/.next/static/chunks/app/api/planner/[planId]/simulate/route-1a770949224cd2a0.js +0 -1
  179. package/bundle/.next/static/chunks/app/api/planner/[planId]/turn/route-1a770949224cd2a0.js +0 -1
  180. package/bundle/.next/static/chunks/app/api/planner/route-1a770949224cd2a0.js +0 -1
  181. package/bundle/.next/static/chunks/app/api/reset/route-1a770949224cd2a0.js +0 -1
  182. package/bundle/.next/static/chunks/app/api/runtimes/[runtimeId]/route-1a770949224cd2a0.js +0 -1
  183. package/bundle/.next/static/chunks/app/api/settings/gateway/route-1a770949224cd2a0.js +0 -1
  184. package/bundle/.next/static/chunks/app/api/settings/workspace-root/route-1a770949224cd2a0.js +0 -1
  185. package/bundle/.next/static/chunks/app/api/snapshot/route-1a770949224cd2a0.js +0 -1
  186. package/bundle/.next/static/chunks/app/api/stream/route-1a770949224cd2a0.js +0 -1
  187. package/bundle/.next/static/chunks/app/api/system/open-terminal/route-1a770949224cd2a0.js +0 -1
  188. package/bundle/.next/static/chunks/app/api/tasks/[taskId]/abort/route-1a770949224cd2a0.js +0 -1
  189. package/bundle/.next/static/chunks/app/api/tasks/[taskId]/stream/route-1a770949224cd2a0.js +0 -1
  190. package/bundle/.next/static/chunks/app/api/update/route-1a770949224cd2a0.js +0 -1
  191. package/bundle/.next/static/chunks/app/api/workspaces/[workspaceId]/channels/discovered-groups/route-1a770949224cd2a0.js +0 -1
  192. package/bundle/.next/static/chunks/app/api/workspaces/[workspaceId]/channels/route-1a770949224cd2a0.js +0 -1
  193. package/bundle/.next/static/chunks/app/api/workspaces/[workspaceId]/edit-draft/route-1a770949224cd2a0.js +0 -1
  194. package/bundle/.next/static/chunks/app/api/workspaces/route-1a770949224cd2a0.js +0 -1
  195. package/bundle/.next/static/chunks/app/not-found-1a770949224cd2a0.js +0 -1
  196. package/bundle/.next/static/chunks/app/page-e7ca3c6ffb09198b.js +0 -176
  197. package/bundle/.next/static/chunks/next/dist/client/components/builtin/app-error-1a770949224cd2a0.js +0 -1
  198. package/bundle/.next/static/chunks/next/dist/client/components/builtin/forbidden-1a770949224cd2a0.js +0 -1
  199. package/bundle/.next/static/chunks/next/dist/client/components/builtin/unauthorized-1a770949224cd2a0.js +0 -1
  200. package/bundle/.next/static/css/e20ab76ee4e77d93.css +0 -3
  201. /package/bundle/.next/static/{PMHP584Iqd3KMZJH68hEV → 3RfU29upg-cPxACyzCFUb}/_ssgManifest.js +0 -0
package/README.md CHANGED
@@ -12,13 +12,19 @@ Run:
12
12
  agentos
13
13
  ```
14
14
 
15
- The `agentos` command starts the local AgentOS Mission Control server and prints the local URL.
15
+ The `agentos` command starts the local AgentOS server and prints the local URL.
16
+
17
+ If you pass `--open` and AgentOS is already listening on the selected port, the CLI opens the existing instance instead of failing.
18
+
19
+ Press `Ctrl+C` to stop a foreground AgentOS process. If shutdown hangs, press `Ctrl+C` again to force quit.
16
20
 
17
21
  Optional flags:
18
22
 
19
23
  ```bash
20
24
  agentos start --port 3000 --host 127.0.0.1
21
25
  agentos start --port 3000 --host 127.0.0.1 --open
26
+ agentos update
27
+ agentos update --check
22
28
  agentos stop
23
29
  agentos stop --port 3000 --force
24
30
  agentos doctor
@@ -35,7 +41,11 @@ AGENTOS_OPEN=1
35
41
 
36
42
  `agentos doctor` prints the effective URL, bundle status, Node.js compatibility, OpenClaw detection, and browser auto-open support.
37
43
 
38
- `agentos stop` sends `SIGTERM` to the tracked AgentOS server on the selected port. Use `--force` only if the process refuses to stop cleanly.
44
+ `agentos stop` sends `SIGTERM` to the AgentOS server listening on the selected port. If the runtime state is stale and no process is listening there, the CLI clears that stale state automatically.
45
+
46
+ `agentos update` refreshes a release installation in place. `agentos update --check` only checks whether a newer version exists.
47
+
48
+ If AgentOS was installed with `pnpm` or `npm`, update commands only print the matching package manager command instead of changing files in place.
39
49
 
40
50
  `agentos uninstall` removes a release-installer copy. If the package was installed with `pnpm` or `npm`, remove it with your package manager instead.
41
51