@agentorg/cli 0.0.5 → 0.0.7

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 (260) hide show
  1. package/README.md +23 -104
  2. package/dist/node_modules/@agentorg/computer/LICENSE +201 -0
  3. package/dist/node_modules/@agentorg/computer/NOTICE +2 -0
  4. package/dist/node_modules/@agentorg/computer/dist/THIRD_PARTY_LICENSES.txt +1321 -0
  5. package/dist/node_modules/@agentorg/computer/dist/sdk.js +24909 -0
  6. package/dist/node_modules/@agentorg/computer/dist/types/generated/schema.d.ts +860 -0
  7. package/dist/node_modules/@agentorg/computer/dist/types/sdk.d.ts +242 -0
  8. package/dist/node_modules/@agentorg/computer/package.json +12 -0
  9. package/dist/node_modules/@agentorg/computer-connector/dist/src/index.d.ts +1 -0
  10. package/dist/node_modules/@agentorg/computer-connector/dist/src/index.js +1 -0
  11. package/dist/node_modules/@agentorg/computer-connector/dist/src/provider.d.ts +24 -0
  12. package/dist/node_modules/@agentorg/computer-connector/dist/src/provider.js +482 -0
  13. package/dist/node_modules/@agentorg/computer-connector/dist/src/unit.d.ts +19 -0
  14. package/dist/node_modules/@agentorg/computer-connector/dist/src/unit.js +149 -0
  15. package/dist/node_modules/@agentorg/computer-connector/package.json +33 -0
  16. package/dist/node_modules/@agentorg/computer-connector/skills/browser/SKILL.md +31 -0
  17. package/dist/node_modules/@agentorg/computer-connector/skills/computer/SKILL.md +30 -0
  18. package/dist/node_modules/@agentorg/computer-connector/skills/files/SKILL.md +28 -0
  19. package/dist/node_modules/@agentorg/computer-connector/skills/terminal/SKILL.md +39 -0
  20. package/dist/node_modules/@agentorg/computer-connector/skills/web-research/SKILL.md +29 -0
  21. package/dist/node_modules/@agentorg/hub/dist/src/hub-actor.d.ts +2 -7
  22. package/dist/node_modules/@agentorg/hub/dist/src/hub-actor.js +4 -144
  23. package/dist/node_modules/@agentorg/hub/dist/src/index.d.ts +1 -3
  24. package/dist/node_modules/@agentorg/hub/dist/src/index.js +1 -3
  25. package/dist/node_modules/@agentorg/hub/dist/src/router.d.ts +9 -58
  26. package/dist/node_modules/@agentorg/hub/dist/src/router.js +41 -414
  27. package/dist/node_modules/@agentorg/hub/dist/src/state.d.ts +17 -317
  28. package/dist/node_modules/@agentorg/hub/dist/src/state.js +42 -536
  29. package/dist/node_modules/@agentorg/hub/dist/src/validate.d.ts +1 -3
  30. package/dist/node_modules/@agentorg/hub/dist/src/validate.js +19 -17
  31. package/dist/node_modules/@agentorg/hub/package.json +0 -3
  32. package/dist/node_modules/@agentorg/interfaces/dist/src/agent-provider.d.ts +119 -0
  33. package/dist/node_modules/@agentorg/interfaces/dist/src/agent-provider.js +96 -0
  34. package/dist/node_modules/@agentorg/interfaces/dist/src/agent-settings.d.ts +42 -0
  35. package/dist/node_modules/@agentorg/interfaces/dist/src/agent-settings.js +53 -0
  36. package/dist/node_modules/@agentorg/interfaces/dist/src/chat.d.ts +93 -38
  37. package/dist/node_modules/@agentorg/interfaces/dist/src/chat.js +71 -22
  38. package/dist/node_modules/@agentorg/interfaces/dist/src/connection.d.ts +36 -0
  39. package/dist/node_modules/@agentorg/interfaces/dist/src/connection.js +31 -0
  40. package/dist/node_modules/@agentorg/interfaces/dist/src/folders.d.ts +19 -0
  41. package/dist/node_modules/@agentorg/interfaces/dist/src/folders.js +25 -0
  42. package/dist/node_modules/@agentorg/interfaces/dist/src/hub.d.ts +16 -286
  43. package/dist/node_modules/@agentorg/interfaces/dist/src/hub.js +17 -159
  44. package/dist/node_modules/@agentorg/interfaces/dist/src/index.d.ts +9 -9
  45. package/dist/node_modules/@agentorg/interfaces/dist/src/index.js +9 -9
  46. package/dist/node_modules/@agentorg/interfaces/dist/src/kv.d.ts +2 -2
  47. package/dist/node_modules/@agentorg/interfaces/dist/src/kv.js +2 -2
  48. package/dist/node_modules/@agentorg/interfaces/dist/src/llm-session.d.ts +2 -0
  49. package/dist/node_modules/@agentorg/interfaces/dist/src/llm-session.js +2 -1
  50. package/dist/node_modules/@agentorg/interfaces/dist/src/manager.d.ts +626 -0
  51. package/dist/node_modules/@agentorg/interfaces/dist/src/manager.js +349 -0
  52. package/dist/node_modules/@agentorg/interfaces/dist/src/tools.d.ts +39 -0
  53. package/dist/node_modules/@agentorg/interfaces/dist/src/tools.js +43 -0
  54. package/dist/node_modules/@agentorg/interfaces/dist/src/units.d.ts +460 -0
  55. package/dist/node_modules/@agentorg/interfaces/dist/src/units.js +204 -0
  56. package/dist/node_modules/@agentorg/looper/dist/src/index.d.ts +5 -0
  57. package/dist/node_modules/@agentorg/looper/dist/src/index.js +5 -0
  58. package/dist/node_modules/@agentorg/looper/dist/src/loop.d.ts +75 -0
  59. package/dist/node_modules/@agentorg/looper/dist/src/loop.js +332 -0
  60. package/dist/node_modules/@agentorg/looper/dist/src/looper.d.ts +71 -0
  61. package/dist/node_modules/@agentorg/looper/dist/src/looper.js +282 -0
  62. package/dist/node_modules/@agentorg/looper/dist/src/record.d.ts +99 -0
  63. package/dist/node_modules/@agentorg/looper/dist/src/record.js +278 -0
  64. package/dist/node_modules/@agentorg/looper/dist/src/tools.d.ts +11 -0
  65. package/dist/node_modules/@agentorg/looper/dist/src/tools.js +42 -0
  66. package/dist/node_modules/@agentorg/looper/dist/src/types.d.ts +147 -0
  67. package/dist/node_modules/@agentorg/looper/dist/src/types.js +32 -0
  68. package/dist/node_modules/@agentorg/looper/package.json +24 -0
  69. package/dist/node_modules/@agentorg/manager/dist/src/activity.d.ts +18 -0
  70. package/dist/node_modules/@agentorg/manager/dist/src/activity.js +65 -0
  71. package/dist/node_modules/@agentorg/manager/dist/src/control.d.ts +134 -0
  72. package/dist/node_modules/@agentorg/manager/dist/src/control.js +1115 -0
  73. package/dist/node_modules/@agentorg/manager/dist/src/form.d.ts +40 -0
  74. package/dist/node_modules/@agentorg/manager/dist/src/form.js +191 -0
  75. package/dist/node_modules/@agentorg/manager/dist/src/index.d.ts +1 -0
  76. package/dist/node_modules/@agentorg/manager/dist/src/index.js +1 -0
  77. package/dist/node_modules/@agentorg/manager/dist/src/manager.d.ts +25 -0
  78. package/dist/node_modules/@agentorg/manager/dist/src/manager.js +680 -0
  79. package/dist/node_modules/@agentorg/manager/dist/src/skills.d.ts +27 -0
  80. package/dist/node_modules/@agentorg/manager/dist/src/skills.js +152 -0
  81. package/dist/node_modules/@agentorg/manager/dist/src/stack.d.ts +454 -0
  82. package/dist/node_modules/@agentorg/manager/dist/src/stack.js +917 -0
  83. package/dist/node_modules/@agentorg/manager/package.json +30 -0
  84. package/dist/node_modules/@agentorg/mcp/dist/src/connection.d.ts +34 -0
  85. package/dist/node_modules/@agentorg/mcp/dist/src/connection.js +296 -0
  86. package/dist/node_modules/@agentorg/mcp/dist/src/index.d.ts +4 -0
  87. package/dist/node_modules/@agentorg/mcp/dist/src/index.js +4 -0
  88. package/dist/node_modules/@agentorg/mcp/dist/src/kinds.d.ts +158 -0
  89. package/dist/node_modules/@agentorg/mcp/dist/src/kinds.js +164 -0
  90. package/dist/node_modules/@agentorg/mcp/dist/src/provider.d.ts +22 -0
  91. package/dist/node_modules/@agentorg/mcp/dist/src/provider.js +197 -0
  92. package/dist/node_modules/@agentorg/mcp/dist/src/public.d.ts +6 -0
  93. package/dist/node_modules/@agentorg/mcp/dist/src/public.js +72 -0
  94. package/dist/node_modules/@agentorg/mcp/package.json +31 -0
  95. package/dist/node_modules/@agentorg/sdk/dist/src/cli.js +3 -23
  96. package/dist/node_modules/@agentorg/sdk/dist/src/client.d.ts +4 -25
  97. package/dist/node_modules/@agentorg/sdk/dist/src/client.js +5 -55
  98. package/dist/node_modules/@agentorg/sdk/dist/src/errors.d.ts +1 -1
  99. package/dist/node_modules/@agentorg/sdk/dist/src/errors.js +3 -3
  100. package/dist/node_modules/@agentorg/sdk/dist/src/filled.d.ts +21 -0
  101. package/dist/node_modules/@agentorg/sdk/dist/src/filled.js +24 -0
  102. package/dist/node_modules/@agentorg/sdk/dist/src/index.d.ts +3 -2
  103. package/dist/node_modules/@agentorg/sdk/dist/src/index.js +2 -1
  104. package/dist/node_modules/@agentorg/sdk/dist/src/interface.d.ts +6 -34
  105. package/dist/node_modules/@agentorg/sdk/dist/src/interface.js +3 -24
  106. package/dist/node_modules/@agentorg/sdk/dist/src/module-host.d.ts +8 -17
  107. package/dist/node_modules/@agentorg/sdk/dist/src/module-host.js +15 -87
  108. package/dist/node_modules/@agentorg/sdk/dist/src/module.d.ts +10 -76
  109. package/dist/node_modules/@agentorg/sdk/dist/src/module.js +3 -23
  110. package/dist/node_modules/@agentorg/sdk/dist/src/person-commands.js +0 -5
  111. package/dist/node_modules/@agentorg/sdk/dist/src/runtime.d.ts +3 -27
  112. package/dist/node_modules/@agentorg/sdk/dist/src/runtime.js +5 -100
  113. package/dist/node_modules/@agentorg/sdk/dist/src/testing.d.ts +7 -8
  114. package/dist/node_modules/@agentorg/sdk/dist/src/testing.js +12 -24
  115. package/dist/node_modules/@agentorg/sdk/package.json +4 -37
  116. package/dist/node_modules/@agentorg/shell/dist/app.css +4624 -739
  117. package/dist/node_modules/@agentorg/shell/dist/app.js +245 -202
  118. package/dist/node_modules/@agentorg/shell/package.json +23 -10
  119. package/dist/node_modules/@agentorg/wire/dist/src/frames.d.ts +2 -3
  120. package/dist/node_modules/@agentorg/wire/dist/src/frames.js +2 -3
  121. package/dist/node_modules/@agentorg/wire/dist/src/ops.d.ts +5 -34
  122. package/dist/node_modules/@agentorg/wire/dist/src/ops.js +2 -17
  123. package/dist/node_modules/assistant/dist/src/chats.d.ts +92 -0
  124. package/dist/node_modules/assistant/dist/src/chats.js +357 -0
  125. package/dist/node_modules/assistant/dist/src/engine.d.ts +42 -0
  126. package/dist/node_modules/assistant/dist/src/engine.js +160 -0
  127. package/dist/node_modules/assistant/dist/src/local-store.d.ts +3 -0
  128. package/dist/node_modules/assistant/dist/src/local-store.js +58 -0
  129. package/dist/node_modules/assistant/dist/src/provider.d.ts +21 -0
  130. package/dist/node_modules/assistant/dist/src/provider.js +259 -0
  131. package/dist/node_modules/assistant/dist/src/settings.d.ts +17 -0
  132. package/dist/node_modules/assistant/dist/src/settings.js +43 -0
  133. package/dist/node_modules/assistant/dist/src/tools.d.ts +57 -0
  134. package/dist/node_modules/assistant/dist/src/tools.js +102 -0
  135. package/dist/node_modules/assistant/package.json +30 -0
  136. package/dist/node_modules/chatgpt/dist/src/account.d.ts +52 -0
  137. package/dist/node_modules/chatgpt/dist/src/account.js +270 -0
  138. package/dist/node_modules/chatgpt/dist/src/encoding.d.ts +7 -0
  139. package/dist/node_modules/chatgpt/dist/src/encoding.js +20 -0
  140. package/dist/node_modules/chatgpt/dist/src/file-store.d.ts +9 -0
  141. package/dist/node_modules/chatgpt/dist/src/file-store.js +68 -0
  142. package/dist/node_modules/chatgpt/dist/src/index.d.ts +1 -0
  143. package/dist/node_modules/chatgpt/dist/src/index.js +1 -0
  144. package/dist/node_modules/chatgpt/dist/src/jwt.d.ts +15 -0
  145. package/dist/node_modules/chatgpt/dist/src/jwt.js +37 -0
  146. package/dist/node_modules/chatgpt/dist/src/oauth.d.ts +43 -0
  147. package/dist/node_modules/chatgpt/dist/src/oauth.js +104 -0
  148. package/dist/node_modules/chatgpt/dist/src/program.d.ts +23 -0
  149. package/dist/node_modules/chatgpt/dist/src/program.js +41 -0
  150. package/dist/node_modules/chatgpt/dist/src/responses.d.ts +54 -0
  151. package/dist/node_modules/chatgpt/dist/src/responses.js +300 -0
  152. package/dist/node_modules/chatgpt/dist/src/serve.d.ts +65 -0
  153. package/dist/node_modules/chatgpt/dist/src/serve.js +46 -0
  154. package/dist/node_modules/chatgpt/package.json +33 -0
  155. package/dist/src/api.d.ts +5 -34
  156. package/dist/src/api.js +10 -68
  157. package/dist/src/cli.js +3 -7
  158. package/dist/src/folders.d.ts +2 -0
  159. package/dist/src/folders.js +45 -0
  160. package/dist/src/gateway.d.ts +13 -8
  161. package/dist/src/gateway.js +119 -296
  162. package/dist/src/index.d.ts +4 -5
  163. package/dist/src/index.js +3 -4
  164. package/dist/src/live.d.ts +17 -0
  165. package/dist/src/live.js +109 -0
  166. package/dist/src/notes.d.ts +11 -0
  167. package/dist/src/notes.js +64 -0
  168. package/dist/src/oauth.d.ts +16 -0
  169. package/dist/src/oauth.js +46 -0
  170. package/dist/src/programs.d.ts +36 -0
  171. package/dist/src/programs.js +198 -0
  172. package/dist/src/signin.d.ts +12 -3
  173. package/dist/src/signin.js +30 -6
  174. package/package.json +4 -11
  175. package/dist/bundled/index.json +0 -6
  176. package/dist/bundled/sha256-0e91cc3d0e9762b81abc2427b5496b20f383abcd6fb97d928a8d50e956b54d1f.agentorg +0 -0
  177. package/dist/bundled/sha256-1f64ca62a0209d767d6aa6c4feb50b0653d60f10bebbc301f79bd3a37e0153c1.agentorg +0 -0
  178. package/dist/bundled/sha256-4055f8fddf6b90f3d356543f554b2a9e9a2c4a8827a8774f8f87952dc1692331.agentorg +0 -0
  179. package/dist/bundled/sha256-e356ea3c1899138a8494baf521556831006f38534fa9e92ae873e7e6956c3a46.agentorg +0 -0
  180. package/dist/node_modules/@agentorg/hub/dist/src/build.d.ts +0 -17
  181. package/dist/node_modules/@agentorg/hub/dist/src/build.js +0 -120
  182. package/dist/node_modules/@agentorg/hub/dist/src/logs.d.ts +0 -33
  183. package/dist/node_modules/@agentorg/hub/dist/src/logs.js +0 -162
  184. package/dist/node_modules/@agentorg/hub/dist/src/net.d.ts +0 -41
  185. package/dist/node_modules/@agentorg/hub/dist/src/net.js +0 -265
  186. package/dist/node_modules/@agentorg/hub/dist/src/processes.d.ts +0 -78
  187. package/dist/node_modules/@agentorg/hub/dist/src/processes.js +0 -485
  188. package/dist/node_modules/@agentorg/hub/dist/src/storage.d.ts +0 -38
  189. package/dist/node_modules/@agentorg/hub/dist/src/storage.js +0 -194
  190. package/dist/node_modules/@agentorg/interfaces/dist/src/http-egress.d.ts +0 -6
  191. package/dist/node_modules/@agentorg/interfaces/dist/src/http-egress.js +0 -7
  192. package/dist/node_modules/@agentorg/interfaces/dist/src/installer.d.ts +0 -191
  193. package/dist/node_modules/@agentorg/interfaces/dist/src/installer.js +0 -136
  194. package/dist/node_modules/@agentorg/interfaces/dist/src/layout.d.ts +0 -47
  195. package/dist/node_modules/@agentorg/interfaces/dist/src/layout.js +0 -52
  196. package/dist/node_modules/@agentorg/interfaces/dist/src/rules.d.ts +0 -35
  197. package/dist/node_modules/@agentorg/interfaces/dist/src/rules.js +0 -37
  198. package/dist/node_modules/@agentorg/interfaces/dist/src/storage-admin.d.ts +0 -23
  199. package/dist/node_modules/@agentorg/interfaces/dist/src/storage-admin.js +0 -31
  200. package/dist/node_modules/@agentorg/interfaces/dist/src/ui-shell.d.ts +0 -14
  201. package/dist/node_modules/@agentorg/interfaces/dist/src/ui-shell.js +0 -26
  202. package/dist/node_modules/@agentorg/interfaces/dist/src/ui-view.d.ts +0 -27
  203. package/dist/node_modules/@agentorg/interfaces/dist/src/ui-view.js +0 -26
  204. package/dist/node_modules/@agentorg/kit/dist/src/chat.d.ts +0 -37
  205. package/dist/node_modules/@agentorg/kit/dist/src/chat.js +0 -131
  206. package/dist/node_modules/@agentorg/kit/dist/src/components.d.ts +0 -94
  207. package/dist/node_modules/@agentorg/kit/dist/src/components.js +0 -66
  208. package/dist/node_modules/@agentorg/kit/dist/src/icons.d.ts +0 -17
  209. package/dist/node_modules/@agentorg/kit/dist/src/icons.js +0 -30
  210. package/dist/node_modules/@agentorg/kit/dist/src/index.d.ts +0 -6
  211. package/dist/node_modules/@agentorg/kit/dist/src/index.js +0 -10
  212. package/dist/node_modules/@agentorg/kit/dist/src/markdown.d.ts +0 -9
  213. package/dist/node_modules/@agentorg/kit/dist/src/markdown.js +0 -14
  214. package/dist/node_modules/@agentorg/kit/dist/src/resizable.d.ts +0 -5
  215. package/dist/node_modules/@agentorg/kit/dist/src/resizable.js +0 -8
  216. package/dist/node_modules/@agentorg/kit/dist/src/styles.d.ts +0 -11
  217. package/dist/node_modules/@agentorg/kit/dist/src/styles.js +0 -166
  218. package/dist/node_modules/@agentorg/kit/package.json +0 -44
  219. package/dist/node_modules/@agentorg/sdk/dist/frame/runtime.js +0 -753
  220. package/dist/node_modules/@agentorg/sdk/dist/host/runner.js +0 -21963
  221. package/dist/node_modules/@agentorg/sdk/dist/src/build.d.ts +0 -2
  222. package/dist/node_modules/@agentorg/sdk/dist/src/build.js +0 -2
  223. package/dist/node_modules/@agentorg/sdk/dist/src/client-http.d.ts +0 -24
  224. package/dist/node_modules/@agentorg/sdk/dist/src/client-http.js +0 -247
  225. package/dist/node_modules/@agentorg/sdk/dist/src/describe.d.ts +0 -13
  226. package/dist/node_modules/@agentorg/sdk/dist/src/describe.js +0 -16
  227. package/dist/node_modules/@agentorg/sdk/dist/src/frame-base.d.ts +0 -8
  228. package/dist/node_modules/@agentorg/sdk/dist/src/frame-base.js +0 -64
  229. package/dist/node_modules/@agentorg/sdk/dist/src/frame-entry.d.ts +0 -1
  230. package/dist/node_modules/@agentorg/sdk/dist/src/frame-entry.js +0 -35
  231. package/dist/node_modules/@agentorg/sdk/dist/src/frame-host.d.ts +0 -57
  232. package/dist/node_modules/@agentorg/sdk/dist/src/frame-host.js +0 -293
  233. package/dist/node_modules/@agentorg/sdk/dist/src/frame-protocol.d.ts +0 -124
  234. package/dist/node_modules/@agentorg/sdk/dist/src/frame-protocol.js +0 -16
  235. package/dist/node_modules/@agentorg/sdk/dist/src/frame.d.ts +0 -25
  236. package/dist/node_modules/@agentorg/sdk/dist/src/frame.js +0 -248
  237. package/dist/node_modules/@agentorg/sdk/dist/src/host-main.d.ts +0 -1
  238. package/dist/node_modules/@agentorg/sdk/dist/src/host-main.js +0 -60
  239. package/dist/node_modules/@agentorg/sdk/dist/src/host.d.ts +0 -25
  240. package/dist/node_modules/@agentorg/sdk/dist/src/host.js +0 -92
  241. package/dist/node_modules/@agentorg/sdk/dist/src/manifest-api.d.ts +0 -2
  242. package/dist/node_modules/@agentorg/sdk/dist/src/manifest-api.js +0 -2
  243. package/dist/node_modules/@agentorg/sdk/dist/src/manifest.d.ts +0 -56
  244. package/dist/node_modules/@agentorg/sdk/dist/src/manifest.js +0 -165
  245. package/dist/node_modules/@agentorg/sdk/dist/src/package.d.ts +0 -60
  246. package/dist/node_modules/@agentorg/sdk/dist/src/package.js +0 -538
  247. package/dist/node_modules/@agentorg/sdk/dist/src/tar.d.ts +0 -7
  248. package/dist/node_modules/@agentorg/sdk/dist/src/tar.js +0 -71
  249. package/dist/node_modules/@agentorg/shell/dist/agent-bindings.js +0 -59
  250. package/dist/node_modules/@agentorg/shell/src/agent-bindings.ts +0 -107
  251. package/dist/src/frames.d.ts +0 -23
  252. package/dist/src/frames.js +0 -78
  253. package/dist/src/layout.d.ts +0 -44
  254. package/dist/src/layout.js +0 -90
  255. package/dist/src/model.d.ts +0 -54
  256. package/dist/src/model.js +0 -299
  257. package/dist/src/rules.d.ts +0 -71
  258. package/dist/src/rules.js +0 -157
  259. package/dist/src/transfer.d.ts +0 -30
  260. package/dist/src/transfer.js +0 -110
@@ -1,50 +1,13 @@
1
1
  import { type DescribedInterface } from "@agentorg/sdk";
2
- import { type Manifest } from "@agentorg/sdk/manifest";
3
2
  /** The built-in Actor that exports management. */
4
3
  export declare const HUB = "hub";
5
- /** The built-in Actor that keeps state: `kv@1`, one store per consumer slot. */
6
- export declare const STORAGE = "storage";
7
- /** The built-in Actor that reaches the public internet: `http.egress@1`, over HTTPS only. */
8
- export declare const NET = "net";
9
4
  /** The person's Actor, created at first start with every `hub.*` binding. */
10
5
  export declare const PERSON = "person";
11
6
  /** The hub's exports, each the authority for its own part of management. */
12
7
  declare const HUB_EXPORTS: {
13
- packages: import("@agentorg/sdk").RpcInterface<"hub.packages", {
14
- add: import("@agentorg/sdk").MethodSpec<import("zod").ZodObject<{
15
- path: import("zod").ZodString;
16
- }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
17
- hash: import("zod").ZodString;
18
- manifest: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodJSONSchema>;
19
- }, import("zod/v4/core").$strip>>;
20
- list: import("@agentorg/sdk").MethodSpec<import("zod").ZodObject<{}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
21
- packages: import("zod").ZodArray<import("zod").ZodObject<{
22
- hash: import("zod").ZodString;
23
- name: import("zod").ZodString;
24
- version: import("zod").ZodString;
25
- }, import("zod/v4/core").$strip>>;
26
- }, import("zod/v4/core").$strip>>;
27
- get: import("@agentorg/sdk").MethodSpec<import("zod").ZodObject<{
28
- hash: import("zod").ZodString;
29
- }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
30
- hash: import("zod").ZodString;
31
- manifest: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodJSONSchema>;
32
- }, import("zod/v4/core").$strip>>;
33
- remove: import("@agentorg/sdk").MethodSpec<import("zod").ZodObject<{
34
- hash: import("zod").ZodString;
35
- }, import("zod/v4/core").$strip>, import("zod").ZodObject<{}, import("zod/v4/core").$strip>>;
36
- build: import("@agentorg/sdk").MethodSpec<import("zod").ZodObject<{
37
- files: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>;
38
- }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
39
- hash: import("zod").ZodString;
40
- manifest: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodJSONSchema>;
41
- }, import("zod/v4/core").$strip>>;
42
- }, {}, 1>;
43
8
  actors: import("@agentorg/sdk").RpcInterface<"hub.actors", {
44
9
  create: import("@agentorg/sdk").MethodSpec<import("zod").ZodObject<{
45
10
  name: import("zod").ZodString;
46
- package: import("zod").ZodOptional<import("zod").ZodString>;
47
- for: import("zod").ZodOptional<import("zod").ZodString>;
48
11
  bindings: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
49
12
  slot: import("zod").ZodString;
50
13
  provider: import("zod").ZodString;
@@ -52,7 +15,7 @@ declare const HUB_EXPORTS: {
52
15
  }, import("zod/v4/core").$strip>>>;
53
16
  }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
54
17
  actorId: import("zod").ZodString;
55
- credential: import("zod").ZodOptional<import("zod").ZodString>;
18
+ credential: import("zod").ZodString;
56
19
  }, import("zod/v4/core").$strip>>;
57
20
  list: import("@agentorg/sdk").MethodSpec<import("zod").ZodObject<{}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
58
21
  actors: import("zod").ZodArray<import("zod").ZodObject<{
@@ -66,18 +29,6 @@ declare const HUB_EXPORTS: {
66
29
  stopped: "stopped";
67
30
  }>;
68
31
  connected: import("zod").ZodBoolean;
69
- restarts: import("zod").ZodNumber;
70
- lastExit: import("zod").ZodOptional<import("zod").ZodObject<{
71
- code: import("zod").ZodNullable<import("zod").ZodNumber>;
72
- signal: import("zod").ZodNullable<import("zod").ZodString>;
73
- at: import("zod").ZodString;
74
- }, import("zod/v4/core").$strip>>;
75
- host: import("zod").ZodOptional<import("zod").ZodObject<{
76
- available: import("zod").ZodBoolean;
77
- reason: import("zod").ZodOptional<import("zod").ZodString>;
78
- }, import("zod/v4/core").$strip>>;
79
- views: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
80
- installedFor: import("zod").ZodOptional<import("zod").ZodString>;
81
32
  }, import("zod/v4/core").$strip>>;
82
33
  }, import("zod/v4/core").$strip>>;
83
34
  get: import("@agentorg/sdk").MethodSpec<import("zod").ZodObject<{
@@ -93,55 +44,10 @@ declare const HUB_EXPORTS: {
93
44
  stopped: "stopped";
94
45
  }>;
95
46
  connected: import("zod").ZodBoolean;
96
- restarts: import("zod").ZodNumber;
97
- lastExit: import("zod").ZodOptional<import("zod").ZodObject<{
98
- code: import("zod").ZodNullable<import("zod").ZodNumber>;
99
- signal: import("zod").ZodNullable<import("zod").ZodString>;
100
- at: import("zod").ZodString;
101
- }, import("zod/v4/core").$strip>>;
102
- host: import("zod").ZodOptional<import("zod").ZodObject<{
103
- available: import("zod").ZodBoolean;
104
- reason: import("zod").ZodOptional<import("zod").ZodString>;
105
- }, import("zod/v4/core").$strip>>;
106
- views: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
107
- installedFor: import("zod").ZodOptional<import("zod").ZodString>;
108
47
  }, import("zod/v4/core").$strip>>;
109
- start: import("@agentorg/sdk").MethodSpec<import("zod").ZodObject<{
110
- actorId: import("zod").ZodString;
111
- }, import("zod/v4/core").$strip>, import("zod").ZodObject<{}, import("zod/v4/core").$strip>>;
112
- stop: import("@agentorg/sdk").MethodSpec<import("zod").ZodObject<{
113
- actorId: import("zod").ZodString;
114
- }, import("zod/v4/core").$strip>, import("zod").ZodObject<{}, import("zod/v4/core").$strip>>;
115
48
  close: import("@agentorg/sdk").MethodSpec<import("zod").ZodObject<{
116
49
  actorId: import("zod").ZodString;
117
50
  }, import("zod/v4/core").$strip>, import("zod").ZodObject<{}, import("zod/v4/core").$strip>>;
118
- upgrade: import("@agentorg/sdk").MethodSpec<import("zod").ZodObject<{
119
- actorId: import("zod").ZodString;
120
- package: import("zod").ZodString;
121
- }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
122
- dropped: import("zod").ZodArray<import("zod").ZodObject<{
123
- consumer: import("zod").ZodString;
124
- slot: import("zod").ZodString;
125
- provider: import("zod").ZodString;
126
- export: import("zod").ZodString;
127
- }, import("zod/v4/core").$strip>>;
128
- }, import("zod/v4/core").$strip>>;
129
- logs: import("@agentorg/sdk").MethodSpec<import("zod").ZodObject<{
130
- actorId: import("zod").ZodString;
131
- limit: import("zod").ZodOptional<import("zod").ZodNumber>;
132
- }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
133
- lines: import("zod").ZodArray<import("zod").ZodObject<{
134
- level: import("zod").ZodEnum<{
135
- error: "error";
136
- info: "info";
137
- warn: "warn";
138
- }>;
139
- message: import("zod").ZodString;
140
- data: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodJSONSchema>>;
141
- module: import("zod").ZodOptional<import("zod").ZodString>;
142
- at: import("zod").ZodString;
143
- }, import("zod/v4/core").$strip>>;
144
- }, import("zod/v4/core").$strip>>;
145
51
  }, {
146
52
  changed: import("@agentorg/sdk").EventSpec<import("zod").ZodObject<{
147
53
  actor: import("zod").ZodString;
@@ -169,12 +75,9 @@ declare const HUB_EXPORTS: {
169
75
  slot: import("zod").ZodString;
170
76
  provider: import("zod").ZodString;
171
77
  export: import("zod").ZodString;
172
- }, import("zod/v4/core").$strip>, import("zod").ZodUnion<readonly [import("zod").ZodObject<{
173
- bound: import("zod").ZodLiteral<true>;
174
78
  }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
175
- bound: import("zod").ZodLiteral<false>;
176
- requestId: import("zod").ZodString;
177
- }, import("zod/v4/core").$strip>]>>;
79
+ bound: import("zod").ZodLiteral<true>;
80
+ }, import("zod/v4/core").$strip>>;
178
81
  unbind: import("@agentorg/sdk").MethodSpec<import("zod").ZodObject<{
179
82
  consumer: import("zod").ZodString;
180
83
  slot: import("zod").ZodString;
@@ -184,111 +87,15 @@ declare const HUB_EXPORTS: {
184
87
  export: import("zod").ZodString;
185
88
  to: import("zod").ZodString;
186
89
  as: import("zod").ZodOptional<import("zod").ZodString>;
187
- }, import("zod/v4/core").$strip>, import("zod").ZodUnion<readonly [import("zod").ZodObject<{
188
- exposed: import("zod").ZodLiteral<true>;
189
- slot: import("zod").ZodString;
190
90
  }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
191
- exposed: import("zod").ZodLiteral<false>;
91
+ exposed: import("zod").ZodLiteral<true>;
192
92
  slot: import("zod").ZodString;
193
- requestId: import("zod").ZodString;
194
- }, import("zod/v4/core").$strip>]>>;
93
+ }, import("zod/v4/core").$strip>>;
195
94
  unexpose: import("@agentorg/sdk").MethodSpec<import("zod").ZodObject<{
196
95
  to: import("zod").ZodString;
197
96
  slot: import("zod").ZodString;
198
97
  }, import("zod/v4/core").$strip>, import("zod").ZodObject<{}, import("zod/v4/core").$strip>>;
199
- request: import("@agentorg/sdk").MethodSpec<import("zod").ZodObject<{
200
- consumer: import("zod").ZodString;
201
- slot: import("zod").ZodString;
202
- provider: import("zod").ZodString;
203
- export: import("zod").ZodString;
204
- reason: import("zod").ZodString;
205
- }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
206
- requestId: import("zod").ZodString;
207
- }, import("zod/v4/core").$strip>>;
208
- requests: import("@agentorg/sdk").MethodSpec<import("zod").ZodObject<{}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
209
- requests: import("zod").ZodArray<import("zod").ZodObject<{
210
- consumer: import("zod").ZodString;
211
- slot: import("zod").ZodString;
212
- provider: import("zod").ZodString;
213
- export: import("zod").ZodString;
214
- requestId: import("zod").ZodString;
215
- needs: import("zod").ZodEnum<{
216
- export: "export";
217
- slot: "slot";
218
- }>;
219
- reason: import("zod").ZodString;
220
- requestedBy: import("zod").ZodString;
221
- at: import("zod").ZodString;
222
- exposed: import("zod").ZodOptional<import("zod").ZodLiteral<true>>;
223
- }, import("zod/v4/core").$strip>>;
224
- }, import("zod/v4/core").$strip>>;
225
- decline: import("@agentorg/sdk").MethodSpec<import("zod").ZodObject<{
226
- requestId: import("zod").ZodString;
227
- }, import("zod/v4/core").$strip>, import("zod").ZodObject<{}, import("zod/v4/core").$strip>>;
228
- mine: import("@agentorg/sdk").MethodSpec<import("zod").ZodObject<{
229
- limit: import("zod").ZodOptional<import("zod").ZodNumber>;
230
- }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
231
- requests: import("zod").ZodArray<import("zod").ZodObject<{
232
- consumer: import("zod").ZodString;
233
- slot: import("zod").ZodString;
234
- provider: import("zod").ZodString;
235
- export: import("zod").ZodString;
236
- requestId: import("zod").ZodString;
237
- needs: import("zod").ZodEnum<{
238
- export: "export";
239
- slot: "slot";
240
- }>;
241
- reason: import("zod").ZodString;
242
- requestedBy: import("zod").ZodString;
243
- at: import("zod").ZodString;
244
- exposed: import("zod").ZodOptional<import("zod").ZodLiteral<true>>;
245
- status: import("zod").ZodEnum<{
246
- approved: "approved";
247
- closed: "closed";
248
- declined: "declined";
249
- open: "open";
250
- }>;
251
- }, import("zod/v4/core").$strip>>;
252
- }, import("zod/v4/core").$strip>>;
253
- }, {
254
- requested: import("@agentorg/sdk").EventSpec<import("zod").ZodObject<{
255
- consumer: import("zod").ZodString;
256
- slot: import("zod").ZodString;
257
- provider: import("zod").ZodString;
258
- export: import("zod").ZodString;
259
- requestId: import("zod").ZodString;
260
- needs: import("zod").ZodEnum<{
261
- export: "export";
262
- slot: "slot";
263
- }>;
264
- reason: import("zod").ZodString;
265
- requestedBy: import("zod").ZodString;
266
- at: import("zod").ZodString;
267
- exposed: import("zod").ZodOptional<import("zod").ZodLiteral<true>>;
268
- }, import("zod/v4/core").$strip>>;
269
- decided: import("@agentorg/sdk").EventSpec<import("zod").ZodObject<{
270
- request: import("zod").ZodObject<{
271
- consumer: import("zod").ZodString;
272
- slot: import("zod").ZodString;
273
- provider: import("zod").ZodString;
274
- export: import("zod").ZodString;
275
- requestId: import("zod").ZodString;
276
- needs: import("zod").ZodEnum<{
277
- export: "export";
278
- slot: "slot";
279
- }>;
280
- reason: import("zod").ZodString;
281
- requestedBy: import("zod").ZodString;
282
- at: import("zod").ZodString;
283
- exposed: import("zod").ZodOptional<import("zod").ZodLiteral<true>>;
284
- }, import("zod/v4/core").$strip>;
285
- status: import("zod").ZodEnum<{
286
- approved: "approved";
287
- closed: "closed";
288
- declined: "declined";
289
- }>;
290
- }, import("zod/v4/core").$strip>>;
291
- }, 1>;
98
+ }, {}, 1>;
292
99
  exports: import("@agentorg/sdk").RpcInterface<"hub.exports", {
293
100
  list: import("@agentorg/sdk").MethodSpec<import("zod").ZodObject<{
294
101
  actor: import("zod").ZodOptional<import("zod").ZodString>;
@@ -298,7 +105,6 @@ declare const HUB_EXPORTS: {
298
105
  export: import("zod").ZodString;
299
106
  interface: import("zod").ZodString;
300
107
  hash: import("zod").ZodString;
301
- dynamic: import("zod").ZodBoolean;
302
108
  }, import("zod/v4/core").$strip>>;
303
109
  }, import("zod/v4/core").$strip>>;
304
110
  }, {
@@ -331,23 +137,12 @@ declare const HUB_EXPORTS: {
331
137
  }, 1>;
332
138
  };
333
139
  export type ActorState = "created" | "running" | "stopped" | "closed";
334
- /** How a process ended on its own: its exit code or signal, and when. */
335
- export interface Exit {
336
- code: number | null;
337
- signal: string | null;
338
- at: string;
339
- }
340
140
  export interface ActorRecord {
341
141
  actorId: string;
342
142
  name: string;
343
- /** A package hash, `external` for a program that connects itself, or `builtin` for the hub. */
143
+ /** `external` for a program that connects itself, `builtin` for the hub; an earlier release's package Actor keeps its hash. */
344
144
  package: string;
345
145
  state: ActorState;
346
- /** Times its process was restarted after a crash. */
347
- restarts: number;
348
- lastExit?: Exit;
349
- /** The Actor a manager made it for: provenance, never authority. */
350
- installedFor?: string;
351
146
  }
352
147
  export interface Wiring {
353
148
  consumer: string;
@@ -364,21 +159,6 @@ export interface BindingRecord extends Wiring {
364
159
  }
365
160
  /** The two ends of a binding: the export side gives the export, the slot side takes it. */
366
161
  export type Side = "export" | "slot";
367
- /**
368
- * How a request ended: `approved` (its binding was made), `declined`, or `closed` (its slot was
369
- * bound to something else, or one end went away).
370
- */
371
- export type Decision = "approved" | "declined" | "closed";
372
- export interface RequestRecord extends Wiring {
373
- requestId: string;
374
- /** The side the requester lacks, whose approvers decide. */
375
- needs: Side;
376
- reason: string;
377
- requestedBy: string;
378
- at: string;
379
- /** A request to expose: `slot` is made on `consumer` when it is approved. */
380
- exposed?: true;
381
- }
382
162
  export interface AuditRecord {
383
163
  seq: number;
384
164
  at: string;
@@ -404,13 +184,10 @@ export type CallOutcome = "ok" | "invalid" | "bad_output" | "refused" | "not_con
404
184
  */
405
185
  export interface StateEvents {
406
186
  bound?(binding: BindingRecord): void;
407
- /** Bindings that ended, by unbind, withdrawal, redeclaration, disconnection or closing. */
187
+ /** Bindings that ended, by unbind, redeclaration or closing. */
408
188
  unbound?(bindings: BindingRecord[]): void;
409
- requested?(request: RequestRecord, approvers: string[]): void;
410
- /** A request was approved, declined or closed: to its approvers and its requester. */
411
- decided?(request: RequestRecord, status: Decision, approvers: string[]): void;
412
189
  exportsChanged?(actor: string): void;
413
- /** An Actor's record changed: it was made, started, stopped or closed, or its process exited. */
190
+ /** An Actor's record changed: it was made or closed. */
414
191
  actorChanged?(actorId: string): void;
415
192
  /** An Actor was closed for good: its channel should go too. */
416
193
  closed?(actorId: string): void;
@@ -423,7 +200,7 @@ export interface StateEvents {
423
200
  */
424
201
  export declare function exposedName(providerName: string, exportName: string): string;
425
202
  /**
426
- * The core's state in its home folder: Actors, packages, declarations, bindings, binding requests
203
+ * The core's state in its home folder: Actors, declarations, bindings
427
204
  * and the audit trail, in `node:sqlite`. Every method that changes something takes its caller, and
428
205
  * each is checked against bindings: there is no other authority.
429
206
  */
@@ -438,77 +215,37 @@ export declare class HubState {
438
215
  */
439
216
  static open(home: string, events?: StateEvents): HubState;
440
217
  close(): void;
441
- /** Record something the Hub itself saw happen, such as the host sandbox's status changing. */
442
- auditHub(kind: string, details: Record<string, unknown>, actor?: string): void;
443
- /** A package Actor's process exited: kept as its `lastExit`, and counted when it is restarted. */
444
- recordExit(actorId: string, exit: Exit, restarted: boolean): void;
445
218
  /** Record a call's metadata: who, through which binding, which method, and how it ended. */
446
219
  auditCall(caller: string,
447
220
  /** The binding the call went through; an unbound slot has only its consumer and slot. */
448
221
  binding: Pick<Wiring, "consumer" | "slot"> & Partial<Wiring>, call: {
449
- op: "call" | "subscribe" | "open" | "http";
222
+ op: "call" | "subscribe";
450
223
  method?: string;
451
224
  outcome: CallOutcome;
452
225
  }): void;
453
226
  /** An Actor as a refusal names it: "Name (id)", or the id alone when there's no such Actor. */
454
227
  named(actorId: string): string;
455
228
  actor(actorId: string): ActorRecord;
456
- /** The host sandbox's status changed: every package Actor's record (its `host`) differs. */
457
- hostChanged(): void;
458
229
  actors(): ActorRecord[];
459
230
  /** Whether the caller is bound to one of the hub's exports: the authority for that part. */
460
231
  holds(caller: string, hubExport: keyof typeof HUB_EXPORTS): boolean;
461
- /** Create an Actor: one that runs a package, or an external one, whose credential comes back once. */
232
+ /** Create an Actor: a program that connects itself, with a credential that comes back once. */
462
233
  createActor(caller: string, input: {
463
234
  name: string;
464
- package?: string;
465
235
  /**
466
236
  * Initial bindings for the new Actor's slots, made with the caller's export-side authority;
467
237
  * the creation is the slot side's yes. An external Actor's slot is declared with the
468
238
  * export's interface, and its hello must declare it the same way to keep it.
469
239
  */
470
240
  bindings?: Omit<Wiring, "consumer">[];
471
- /** The Actor it is made for: given only by a manager, recorded as provenance. */
472
- for?: string;
473
241
  }): {
474
242
  actorId: string;
475
- credential?: string;
243
+ credential: string;
476
244
  };
477
245
  /** Whether an external Actor's credential is right, compared in constant time. */
478
246
  authenticate(actorId: string, credential: string): boolean;
479
- /** Refused unless the caller may start the Actor and it can be started now; changes nothing. */
480
- checkStart(caller: string, actorId: string): void;
481
- /** Start a package Actor: recorded as running; the Hub spawns its process. */
482
- start(caller: string, actorId: string): void;
483
- stop(caller: string, actorId: string): void;
484
- /** Close an Actor for good: its bindings both ways, its declarations and its open requests go. */
247
+ /** Close an Actor for good: its bindings both ways and its declarations go. */
485
248
  closeActor(caller: string, actorId: string): void;
486
- /** Refused unless the caller may upgrade the Actor to the package now; changes nothing. */
487
- checkUpgrade(caller: string, actorId: string, hash: string): ActorRecord;
488
- /**
489
- * Run another package as the same Actor: its id, its stores and every binding whose interfaces
490
- * still match stay; a binding through a slot or export the new package drops or declares as
491
- * another interface is dropped, audited and returned. The new package's own wiring is applied
492
- * where its slot is unbound. The process isn't touched here: a running Actor is stopped first
493
- * and started after, by whoever runs processes.
494
- */
495
- upgrade(caller: string, actorId: string, hash: string): Wiring[];
496
- /** Add a `.agentorg` archive from a path on this machine, verified; adding it again is a no-op. */
497
- addPackage(caller: string, path: string): {
498
- hash: string;
499
- manifest: Manifest;
500
- };
501
- packages(): {
502
- hash: string;
503
- name: string;
504
- version: string;
505
- }[];
506
- package(hash: string): {
507
- hash: string;
508
- manifest: Manifest;
509
- };
510
- /** Remove a package no live Actor runs. Its files stay until a later clean-up. */
511
- removePackage(caller: string, hash: string): void;
512
249
  /** How many slots an Actor declares. */
513
250
  slotCount(actor: string): number;
514
251
  declaration(actor: string, side: "slot" | "export", name: string): Declaration | undefined;
@@ -522,18 +259,11 @@ export declare class HubState {
522
259
  slots: Record<string, DescribedInterface>;
523
260
  exports: Record<string, DescribedInterface>;
524
261
  }): void;
525
- /** Offer an export at run time; it lasts until withdrawn or until the Actor disconnects. */
526
- offer(actorId: string, name: string, iface: DescribedInterface): void;
527
- /** Withdraw an export offered at run time: the bindings to it end. */
528
- withdraw(actorId: string, name: string): void;
529
- /** An Actor's connection ended: what it offered at run time goes, with the bindings to it. */
530
- disconnected(actorId: string): void;
531
262
  exports(actor?: string): {
532
263
  actor: string;
533
264
  export: string;
534
265
  interface: string;
535
266
  hash: string;
536
- dynamic: boolean;
537
267
  }[];
538
268
  binding(consumer: string, slot: string): BindingRecord | undefined;
539
269
  /**
@@ -553,30 +283,16 @@ export declare class HubState {
553
283
  * itself, or a manager.
554
284
  */
555
285
  sides(caller: string, wiring: Wiring): Record<Side, boolean>;
556
- /** Who can give the side a request needs: exactly the Actors `sides` grants it to. */
557
- approvers(request: Wiring & {
558
- needs: Side;
559
- }): string[];
560
- /**
561
- * Bind a slot to an export. A caller with both ends binds. A caller with one end approves an
562
- * open request for this binding from the other end, if its requester still holds that end;
563
- * otherwise its call becomes a request to the other end's approvers. A caller with neither end
564
- * is refused.
565
- */
286
+ /** Bind a slot to an export: the caller must hold both ends. */
566
287
  bind(caller: string, wiring: Wiring): {
567
288
  bound: true;
568
- } | {
569
- bound: false;
570
- requestId: string;
571
289
  };
572
290
  /** Unbind a slot: its consumer, its provider or a manager may. */
573
291
  unbind(caller: string, consumer: string, slot: string): void;
574
292
  /**
575
293
  * Expose an export to one Actor: a slot made on `to` at run time, typed by the export's
576
- * interface and bound to it, in one step. The authority is a binding's, with `to` as the
577
- * consumer: with both ends it is made (approving any open request for it); with one, it is a
578
- * request to the other end's approvers, who approve by exposing the same; with neither, it is
579
- * refused. The same export already exposed to `to` gives that slot back.
294
+ * interface and bound to it, in one step. The caller must hold both ends, with `to` as the
295
+ * consumer. The same export already exposed to `to` gives that slot back.
580
296
  */
581
297
  expose(caller: string, input: {
582
298
  provider: string;
@@ -586,25 +302,9 @@ export declare class HubState {
586
302
  }): {
587
303
  exposed: true;
588
304
  slot: string;
589
- } | {
590
- exposed: false;
591
- slot: string;
592
- requestId: string;
593
305
  };
594
306
  /** Remove a slot made by `expose`, with its binding: its consumer, its provider or a manager may. */
595
307
  unexpose(caller: string, to: string, slot: string): void;
596
- /**
597
- * Ask for a binding the caller holds one end of; it goes to the other end's approvers. Asking
598
- * again for the same wiring while a request is open returns that request.
599
- */
600
- request(caller: string, wiring: Wiring, reason: string): RequestRecord;
601
- /** The open requests the caller could approve. */
602
- requests(caller: string): RequestRecord[];
603
- /** The caller's own requests with how each stands, newest first. */
604
- mine(caller: string, limit?: number): (RequestRecord & {
605
- status: "open" | Decision;
606
- })[];
607
- decline(caller: string, requestId: string): void;
608
308
  audit(since?: number, limit?: number): {
609
309
  entries: AuditRecord[];
610
310
  next: number;