@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.
- package/README.md +23 -104
- package/dist/node_modules/@agentorg/computer/LICENSE +201 -0
- package/dist/node_modules/@agentorg/computer/NOTICE +2 -0
- package/dist/node_modules/@agentorg/computer/dist/THIRD_PARTY_LICENSES.txt +1321 -0
- package/dist/node_modules/@agentorg/computer/dist/sdk.js +24909 -0
- package/dist/node_modules/@agentorg/computer/dist/types/generated/schema.d.ts +860 -0
- package/dist/node_modules/@agentorg/computer/dist/types/sdk.d.ts +242 -0
- package/dist/node_modules/@agentorg/computer/package.json +12 -0
- package/dist/node_modules/@agentorg/computer-connector/dist/src/index.d.ts +1 -0
- package/dist/node_modules/@agentorg/computer-connector/dist/src/index.js +1 -0
- package/dist/node_modules/@agentorg/computer-connector/dist/src/provider.d.ts +24 -0
- package/dist/node_modules/@agentorg/computer-connector/dist/src/provider.js +482 -0
- package/dist/node_modules/@agentorg/computer-connector/dist/src/unit.d.ts +19 -0
- package/dist/node_modules/@agentorg/computer-connector/dist/src/unit.js +149 -0
- package/dist/node_modules/@agentorg/computer-connector/package.json +33 -0
- package/dist/node_modules/@agentorg/computer-connector/skills/browser/SKILL.md +31 -0
- package/dist/node_modules/@agentorg/computer-connector/skills/computer/SKILL.md +30 -0
- package/dist/node_modules/@agentorg/computer-connector/skills/files/SKILL.md +28 -0
- package/dist/node_modules/@agentorg/computer-connector/skills/terminal/SKILL.md +39 -0
- package/dist/node_modules/@agentorg/computer-connector/skills/web-research/SKILL.md +29 -0
- package/dist/node_modules/@agentorg/hub/dist/src/hub-actor.d.ts +2 -7
- package/dist/node_modules/@agentorg/hub/dist/src/hub-actor.js +4 -144
- package/dist/node_modules/@agentorg/hub/dist/src/index.d.ts +1 -3
- package/dist/node_modules/@agentorg/hub/dist/src/index.js +1 -3
- package/dist/node_modules/@agentorg/hub/dist/src/router.d.ts +9 -58
- package/dist/node_modules/@agentorg/hub/dist/src/router.js +41 -414
- package/dist/node_modules/@agentorg/hub/dist/src/state.d.ts +17 -317
- package/dist/node_modules/@agentorg/hub/dist/src/state.js +42 -536
- package/dist/node_modules/@agentorg/hub/dist/src/validate.d.ts +1 -3
- package/dist/node_modules/@agentorg/hub/dist/src/validate.js +19 -17
- package/dist/node_modules/@agentorg/hub/package.json +0 -3
- package/dist/node_modules/@agentorg/interfaces/dist/src/agent-provider.d.ts +119 -0
- package/dist/node_modules/@agentorg/interfaces/dist/src/agent-provider.js +96 -0
- package/dist/node_modules/@agentorg/interfaces/dist/src/agent-settings.d.ts +42 -0
- package/dist/node_modules/@agentorg/interfaces/dist/src/agent-settings.js +53 -0
- package/dist/node_modules/@agentorg/interfaces/dist/src/chat.d.ts +93 -38
- package/dist/node_modules/@agentorg/interfaces/dist/src/chat.js +71 -22
- package/dist/node_modules/@agentorg/interfaces/dist/src/connection.d.ts +36 -0
- package/dist/node_modules/@agentorg/interfaces/dist/src/connection.js +31 -0
- package/dist/node_modules/@agentorg/interfaces/dist/src/folders.d.ts +19 -0
- package/dist/node_modules/@agentorg/interfaces/dist/src/folders.js +25 -0
- package/dist/node_modules/@agentorg/interfaces/dist/src/hub.d.ts +16 -286
- package/dist/node_modules/@agentorg/interfaces/dist/src/hub.js +17 -159
- package/dist/node_modules/@agentorg/interfaces/dist/src/index.d.ts +9 -9
- package/dist/node_modules/@agentorg/interfaces/dist/src/index.js +9 -9
- package/dist/node_modules/@agentorg/interfaces/dist/src/kv.d.ts +2 -2
- package/dist/node_modules/@agentorg/interfaces/dist/src/kv.js +2 -2
- package/dist/node_modules/@agentorg/interfaces/dist/src/llm-session.d.ts +2 -0
- package/dist/node_modules/@agentorg/interfaces/dist/src/llm-session.js +2 -1
- package/dist/node_modules/@agentorg/interfaces/dist/src/manager.d.ts +626 -0
- package/dist/node_modules/@agentorg/interfaces/dist/src/manager.js +349 -0
- package/dist/node_modules/@agentorg/interfaces/dist/src/tools.d.ts +39 -0
- package/dist/node_modules/@agentorg/interfaces/dist/src/tools.js +43 -0
- package/dist/node_modules/@agentorg/interfaces/dist/src/units.d.ts +460 -0
- package/dist/node_modules/@agentorg/interfaces/dist/src/units.js +204 -0
- package/dist/node_modules/@agentorg/looper/dist/src/index.d.ts +5 -0
- package/dist/node_modules/@agentorg/looper/dist/src/index.js +5 -0
- package/dist/node_modules/@agentorg/looper/dist/src/loop.d.ts +75 -0
- package/dist/node_modules/@agentorg/looper/dist/src/loop.js +332 -0
- package/dist/node_modules/@agentorg/looper/dist/src/looper.d.ts +71 -0
- package/dist/node_modules/@agentorg/looper/dist/src/looper.js +282 -0
- package/dist/node_modules/@agentorg/looper/dist/src/record.d.ts +99 -0
- package/dist/node_modules/@agentorg/looper/dist/src/record.js +278 -0
- package/dist/node_modules/@agentorg/looper/dist/src/tools.d.ts +11 -0
- package/dist/node_modules/@agentorg/looper/dist/src/tools.js +42 -0
- package/dist/node_modules/@agentorg/looper/dist/src/types.d.ts +147 -0
- package/dist/node_modules/@agentorg/looper/dist/src/types.js +32 -0
- package/dist/node_modules/@agentorg/looper/package.json +24 -0
- package/dist/node_modules/@agentorg/manager/dist/src/activity.d.ts +18 -0
- package/dist/node_modules/@agentorg/manager/dist/src/activity.js +65 -0
- package/dist/node_modules/@agentorg/manager/dist/src/control.d.ts +134 -0
- package/dist/node_modules/@agentorg/manager/dist/src/control.js +1115 -0
- package/dist/node_modules/@agentorg/manager/dist/src/form.d.ts +40 -0
- package/dist/node_modules/@agentorg/manager/dist/src/form.js +191 -0
- package/dist/node_modules/@agentorg/manager/dist/src/index.d.ts +1 -0
- package/dist/node_modules/@agentorg/manager/dist/src/index.js +1 -0
- package/dist/node_modules/@agentorg/manager/dist/src/manager.d.ts +25 -0
- package/dist/node_modules/@agentorg/manager/dist/src/manager.js +680 -0
- package/dist/node_modules/@agentorg/manager/dist/src/skills.d.ts +27 -0
- package/dist/node_modules/@agentorg/manager/dist/src/skills.js +152 -0
- package/dist/node_modules/@agentorg/manager/dist/src/stack.d.ts +454 -0
- package/dist/node_modules/@agentorg/manager/dist/src/stack.js +917 -0
- package/dist/node_modules/@agentorg/manager/package.json +30 -0
- package/dist/node_modules/@agentorg/mcp/dist/src/connection.d.ts +34 -0
- package/dist/node_modules/@agentorg/mcp/dist/src/connection.js +296 -0
- package/dist/node_modules/@agentorg/mcp/dist/src/index.d.ts +4 -0
- package/dist/node_modules/@agentorg/mcp/dist/src/index.js +4 -0
- package/dist/node_modules/@agentorg/mcp/dist/src/kinds.d.ts +158 -0
- package/dist/node_modules/@agentorg/mcp/dist/src/kinds.js +164 -0
- package/dist/node_modules/@agentorg/mcp/dist/src/provider.d.ts +22 -0
- package/dist/node_modules/@agentorg/mcp/dist/src/provider.js +197 -0
- package/dist/node_modules/@agentorg/mcp/dist/src/public.d.ts +6 -0
- package/dist/node_modules/@agentorg/mcp/dist/src/public.js +72 -0
- package/dist/node_modules/@agentorg/mcp/package.json +31 -0
- package/dist/node_modules/@agentorg/sdk/dist/src/cli.js +3 -23
- package/dist/node_modules/@agentorg/sdk/dist/src/client.d.ts +4 -25
- package/dist/node_modules/@agentorg/sdk/dist/src/client.js +5 -55
- package/dist/node_modules/@agentorg/sdk/dist/src/errors.d.ts +1 -1
- package/dist/node_modules/@agentorg/sdk/dist/src/errors.js +3 -3
- package/dist/node_modules/@agentorg/sdk/dist/src/filled.d.ts +21 -0
- package/dist/node_modules/@agentorg/sdk/dist/src/filled.js +24 -0
- package/dist/node_modules/@agentorg/sdk/dist/src/index.d.ts +3 -2
- package/dist/node_modules/@agentorg/sdk/dist/src/index.js +2 -1
- package/dist/node_modules/@agentorg/sdk/dist/src/interface.d.ts +6 -34
- package/dist/node_modules/@agentorg/sdk/dist/src/interface.js +3 -24
- package/dist/node_modules/@agentorg/sdk/dist/src/module-host.d.ts +8 -17
- package/dist/node_modules/@agentorg/sdk/dist/src/module-host.js +15 -87
- package/dist/node_modules/@agentorg/sdk/dist/src/module.d.ts +10 -76
- package/dist/node_modules/@agentorg/sdk/dist/src/module.js +3 -23
- package/dist/node_modules/@agentorg/sdk/dist/src/person-commands.js +0 -5
- package/dist/node_modules/@agentorg/sdk/dist/src/runtime.d.ts +3 -27
- package/dist/node_modules/@agentorg/sdk/dist/src/runtime.js +5 -100
- package/dist/node_modules/@agentorg/sdk/dist/src/testing.d.ts +7 -8
- package/dist/node_modules/@agentorg/sdk/dist/src/testing.js +12 -24
- package/dist/node_modules/@agentorg/sdk/package.json +4 -37
- package/dist/node_modules/@agentorg/shell/dist/app.css +4624 -739
- package/dist/node_modules/@agentorg/shell/dist/app.js +245 -202
- package/dist/node_modules/@agentorg/shell/package.json +23 -10
- package/dist/node_modules/@agentorg/wire/dist/src/frames.d.ts +2 -3
- package/dist/node_modules/@agentorg/wire/dist/src/frames.js +2 -3
- package/dist/node_modules/@agentorg/wire/dist/src/ops.d.ts +5 -34
- package/dist/node_modules/@agentorg/wire/dist/src/ops.js +2 -17
- package/dist/node_modules/assistant/dist/src/chats.d.ts +92 -0
- package/dist/node_modules/assistant/dist/src/chats.js +357 -0
- package/dist/node_modules/assistant/dist/src/engine.d.ts +42 -0
- package/dist/node_modules/assistant/dist/src/engine.js +160 -0
- package/dist/node_modules/assistant/dist/src/local-store.d.ts +3 -0
- package/dist/node_modules/assistant/dist/src/local-store.js +58 -0
- package/dist/node_modules/assistant/dist/src/provider.d.ts +21 -0
- package/dist/node_modules/assistant/dist/src/provider.js +259 -0
- package/dist/node_modules/assistant/dist/src/settings.d.ts +17 -0
- package/dist/node_modules/assistant/dist/src/settings.js +43 -0
- package/dist/node_modules/assistant/dist/src/tools.d.ts +57 -0
- package/dist/node_modules/assistant/dist/src/tools.js +102 -0
- package/dist/node_modules/assistant/package.json +30 -0
- package/dist/node_modules/chatgpt/dist/src/account.d.ts +52 -0
- package/dist/node_modules/chatgpt/dist/src/account.js +270 -0
- package/dist/node_modules/chatgpt/dist/src/encoding.d.ts +7 -0
- package/dist/node_modules/chatgpt/dist/src/encoding.js +20 -0
- package/dist/node_modules/chatgpt/dist/src/file-store.d.ts +9 -0
- package/dist/node_modules/chatgpt/dist/src/file-store.js +68 -0
- package/dist/node_modules/chatgpt/dist/src/index.d.ts +1 -0
- package/dist/node_modules/chatgpt/dist/src/index.js +1 -0
- package/dist/node_modules/chatgpt/dist/src/jwt.d.ts +15 -0
- package/dist/node_modules/chatgpt/dist/src/jwt.js +37 -0
- package/dist/node_modules/chatgpt/dist/src/oauth.d.ts +43 -0
- package/dist/node_modules/chatgpt/dist/src/oauth.js +104 -0
- package/dist/node_modules/chatgpt/dist/src/program.d.ts +23 -0
- package/dist/node_modules/chatgpt/dist/src/program.js +41 -0
- package/dist/node_modules/chatgpt/dist/src/responses.d.ts +54 -0
- package/dist/node_modules/chatgpt/dist/src/responses.js +300 -0
- package/dist/node_modules/chatgpt/dist/src/serve.d.ts +65 -0
- package/dist/node_modules/chatgpt/dist/src/serve.js +46 -0
- package/dist/node_modules/chatgpt/package.json +33 -0
- package/dist/src/api.d.ts +5 -34
- package/dist/src/api.js +10 -68
- package/dist/src/cli.js +3 -7
- package/dist/src/folders.d.ts +2 -0
- package/dist/src/folders.js +45 -0
- package/dist/src/gateway.d.ts +13 -8
- package/dist/src/gateway.js +119 -296
- package/dist/src/index.d.ts +4 -5
- package/dist/src/index.js +3 -4
- package/dist/src/live.d.ts +17 -0
- package/dist/src/live.js +109 -0
- package/dist/src/notes.d.ts +11 -0
- package/dist/src/notes.js +64 -0
- package/dist/src/oauth.d.ts +16 -0
- package/dist/src/oauth.js +46 -0
- package/dist/src/programs.d.ts +36 -0
- package/dist/src/programs.js +198 -0
- package/dist/src/signin.d.ts +12 -3
- package/dist/src/signin.js +30 -6
- package/package.json +4 -11
- package/dist/bundled/index.json +0 -6
- package/dist/bundled/sha256-0e91cc3d0e9762b81abc2427b5496b20f383abcd6fb97d928a8d50e956b54d1f.agentorg +0 -0
- package/dist/bundled/sha256-1f64ca62a0209d767d6aa6c4feb50b0653d60f10bebbc301f79bd3a37e0153c1.agentorg +0 -0
- package/dist/bundled/sha256-4055f8fddf6b90f3d356543f554b2a9e9a2c4a8827a8774f8f87952dc1692331.agentorg +0 -0
- package/dist/bundled/sha256-e356ea3c1899138a8494baf521556831006f38534fa9e92ae873e7e6956c3a46.agentorg +0 -0
- package/dist/node_modules/@agentorg/hub/dist/src/build.d.ts +0 -17
- package/dist/node_modules/@agentorg/hub/dist/src/build.js +0 -120
- package/dist/node_modules/@agentorg/hub/dist/src/logs.d.ts +0 -33
- package/dist/node_modules/@agentorg/hub/dist/src/logs.js +0 -162
- package/dist/node_modules/@agentorg/hub/dist/src/net.d.ts +0 -41
- package/dist/node_modules/@agentorg/hub/dist/src/net.js +0 -265
- package/dist/node_modules/@agentorg/hub/dist/src/processes.d.ts +0 -78
- package/dist/node_modules/@agentorg/hub/dist/src/processes.js +0 -485
- package/dist/node_modules/@agentorg/hub/dist/src/storage.d.ts +0 -38
- package/dist/node_modules/@agentorg/hub/dist/src/storage.js +0 -194
- package/dist/node_modules/@agentorg/interfaces/dist/src/http-egress.d.ts +0 -6
- package/dist/node_modules/@agentorg/interfaces/dist/src/http-egress.js +0 -7
- package/dist/node_modules/@agentorg/interfaces/dist/src/installer.d.ts +0 -191
- package/dist/node_modules/@agentorg/interfaces/dist/src/installer.js +0 -136
- package/dist/node_modules/@agentorg/interfaces/dist/src/layout.d.ts +0 -47
- package/dist/node_modules/@agentorg/interfaces/dist/src/layout.js +0 -52
- package/dist/node_modules/@agentorg/interfaces/dist/src/rules.d.ts +0 -35
- package/dist/node_modules/@agentorg/interfaces/dist/src/rules.js +0 -37
- package/dist/node_modules/@agentorg/interfaces/dist/src/storage-admin.d.ts +0 -23
- package/dist/node_modules/@agentorg/interfaces/dist/src/storage-admin.js +0 -31
- package/dist/node_modules/@agentorg/interfaces/dist/src/ui-shell.d.ts +0 -14
- package/dist/node_modules/@agentorg/interfaces/dist/src/ui-shell.js +0 -26
- package/dist/node_modules/@agentorg/interfaces/dist/src/ui-view.d.ts +0 -27
- package/dist/node_modules/@agentorg/interfaces/dist/src/ui-view.js +0 -26
- package/dist/node_modules/@agentorg/kit/dist/src/chat.d.ts +0 -37
- package/dist/node_modules/@agentorg/kit/dist/src/chat.js +0 -131
- package/dist/node_modules/@agentorg/kit/dist/src/components.d.ts +0 -94
- package/dist/node_modules/@agentorg/kit/dist/src/components.js +0 -66
- package/dist/node_modules/@agentorg/kit/dist/src/icons.d.ts +0 -17
- package/dist/node_modules/@agentorg/kit/dist/src/icons.js +0 -30
- package/dist/node_modules/@agentorg/kit/dist/src/index.d.ts +0 -6
- package/dist/node_modules/@agentorg/kit/dist/src/index.js +0 -10
- package/dist/node_modules/@agentorg/kit/dist/src/markdown.d.ts +0 -9
- package/dist/node_modules/@agentorg/kit/dist/src/markdown.js +0 -14
- package/dist/node_modules/@agentorg/kit/dist/src/resizable.d.ts +0 -5
- package/dist/node_modules/@agentorg/kit/dist/src/resizable.js +0 -8
- package/dist/node_modules/@agentorg/kit/dist/src/styles.d.ts +0 -11
- package/dist/node_modules/@agentorg/kit/dist/src/styles.js +0 -166
- package/dist/node_modules/@agentorg/kit/package.json +0 -44
- package/dist/node_modules/@agentorg/sdk/dist/frame/runtime.js +0 -753
- package/dist/node_modules/@agentorg/sdk/dist/host/runner.js +0 -21963
- package/dist/node_modules/@agentorg/sdk/dist/src/build.d.ts +0 -2
- package/dist/node_modules/@agentorg/sdk/dist/src/build.js +0 -2
- package/dist/node_modules/@agentorg/sdk/dist/src/client-http.d.ts +0 -24
- package/dist/node_modules/@agentorg/sdk/dist/src/client-http.js +0 -247
- package/dist/node_modules/@agentorg/sdk/dist/src/describe.d.ts +0 -13
- package/dist/node_modules/@agentorg/sdk/dist/src/describe.js +0 -16
- package/dist/node_modules/@agentorg/sdk/dist/src/frame-base.d.ts +0 -8
- package/dist/node_modules/@agentorg/sdk/dist/src/frame-base.js +0 -64
- package/dist/node_modules/@agentorg/sdk/dist/src/frame-entry.d.ts +0 -1
- package/dist/node_modules/@agentorg/sdk/dist/src/frame-entry.js +0 -35
- package/dist/node_modules/@agentorg/sdk/dist/src/frame-host.d.ts +0 -57
- package/dist/node_modules/@agentorg/sdk/dist/src/frame-host.js +0 -293
- package/dist/node_modules/@agentorg/sdk/dist/src/frame-protocol.d.ts +0 -124
- package/dist/node_modules/@agentorg/sdk/dist/src/frame-protocol.js +0 -16
- package/dist/node_modules/@agentorg/sdk/dist/src/frame.d.ts +0 -25
- package/dist/node_modules/@agentorg/sdk/dist/src/frame.js +0 -248
- package/dist/node_modules/@agentorg/sdk/dist/src/host-main.d.ts +0 -1
- package/dist/node_modules/@agentorg/sdk/dist/src/host-main.js +0 -60
- package/dist/node_modules/@agentorg/sdk/dist/src/host.d.ts +0 -25
- package/dist/node_modules/@agentorg/sdk/dist/src/host.js +0 -92
- package/dist/node_modules/@agentorg/sdk/dist/src/manifest-api.d.ts +0 -2
- package/dist/node_modules/@agentorg/sdk/dist/src/manifest-api.js +0 -2
- package/dist/node_modules/@agentorg/sdk/dist/src/manifest.d.ts +0 -56
- package/dist/node_modules/@agentorg/sdk/dist/src/manifest.js +0 -165
- package/dist/node_modules/@agentorg/sdk/dist/src/package.d.ts +0 -60
- package/dist/node_modules/@agentorg/sdk/dist/src/package.js +0 -538
- package/dist/node_modules/@agentorg/sdk/dist/src/tar.d.ts +0 -7
- package/dist/node_modules/@agentorg/sdk/dist/src/tar.js +0 -71
- package/dist/node_modules/@agentorg/shell/dist/agent-bindings.js +0 -59
- package/dist/node_modules/@agentorg/shell/src/agent-bindings.ts +0 -107
- package/dist/src/frames.d.ts +0 -23
- package/dist/src/frames.js +0 -78
- package/dist/src/layout.d.ts +0 -44
- package/dist/src/layout.js +0 -90
- package/dist/src/model.d.ts +0 -54
- package/dist/src/model.js +0 -299
- package/dist/src/rules.d.ts +0 -71
- package/dist/src/rules.js +0 -157
- package/dist/src/transfer.d.ts +0 -30
- package/dist/src/transfer.js +0 -110
|
@@ -0,0 +1,626 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
/** A template's id. */
|
|
3
|
+
export declare const TemplateId: z.ZodString;
|
|
4
|
+
/** What a stack starts on: one base from an agent provider, with what it asks. */
|
|
5
|
+
export declare const StackBase: z.ZodObject<{
|
|
6
|
+
provider: z.ZodString;
|
|
7
|
+
creatable: z.ZodString;
|
|
8
|
+
answers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
9
|
+
}, z.core.$strict>;
|
|
10
|
+
/**
|
|
11
|
+
* One unit of a stack, top to bottom. `needs` picks, by kind, which earlier unit (its position in
|
|
12
|
+
* `units`) gives what this one needs; a kind exactly one earlier unit gives needs no pick.
|
|
13
|
+
*/
|
|
14
|
+
export declare const StackUnit: z.ZodObject<{
|
|
15
|
+
provider: z.ZodString;
|
|
16
|
+
unit: z.ZodString;
|
|
17
|
+
values: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodArray<z.ZodString>]>>>;
|
|
18
|
+
needs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNumber>>;
|
|
19
|
+
}, z.core.$strict>;
|
|
20
|
+
/** `template` notes the template it started from, for display only. */
|
|
21
|
+
export declare const Stack: z.ZodObject<{
|
|
22
|
+
base: z.ZodObject<{
|
|
23
|
+
provider: z.ZodString;
|
|
24
|
+
creatable: z.ZodString;
|
|
25
|
+
answers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
26
|
+
}, z.core.$strict>;
|
|
27
|
+
units: z.ZodArray<z.ZodObject<{
|
|
28
|
+
provider: z.ZodString;
|
|
29
|
+
unit: z.ZodString;
|
|
30
|
+
values: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodArray<z.ZodString>]>>>;
|
|
31
|
+
needs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNumber>>;
|
|
32
|
+
secrets: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
33
|
+
}, z.core.$strict>>;
|
|
34
|
+
template: z.ZodOptional<z.ZodString>;
|
|
35
|
+
}, z.core.$strict>;
|
|
36
|
+
/**
|
|
37
|
+
* A saved stack of prefills: nothing in it is locked, and no secret is in it; management refuses a
|
|
38
|
+
* value for a secret field. A required field with no value must still be filled at creation.
|
|
39
|
+
* `from` notes the template it was copied from, for display only: later changes to that one don't
|
|
40
|
+
* reach this one.
|
|
41
|
+
*/
|
|
42
|
+
export declare const Template: z.ZodObject<{
|
|
43
|
+
id: z.ZodString;
|
|
44
|
+
title: z.ZodString;
|
|
45
|
+
description: z.ZodString;
|
|
46
|
+
from: z.ZodOptional<z.ZodString>;
|
|
47
|
+
base: z.ZodObject<{
|
|
48
|
+
creatable: z.ZodString;
|
|
49
|
+
answers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
50
|
+
provider: z.ZodString;
|
|
51
|
+
}, z.core.$strict>;
|
|
52
|
+
units: z.ZodArray<z.ZodObject<{
|
|
53
|
+
unit: z.ZodString;
|
|
54
|
+
values: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodArray<z.ZodString>]>>>;
|
|
55
|
+
needs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNumber>>;
|
|
56
|
+
provider: z.ZodString;
|
|
57
|
+
}, z.core.$strict>>;
|
|
58
|
+
}, z.core.$strict>;
|
|
59
|
+
/** Where a connection came from, written once when it was made. */
|
|
60
|
+
export declare const ConnectionOrigin: z.ZodObject<{
|
|
61
|
+
provider: z.ZodString;
|
|
62
|
+
kind: z.ZodString;
|
|
63
|
+
target: z.ZodString;
|
|
64
|
+
madeBy: z.ZodString;
|
|
65
|
+
madeFor: z.ZodOptional<z.ZodString>;
|
|
66
|
+
at: z.ZodString;
|
|
67
|
+
}, z.core.$strip>;
|
|
68
|
+
/**
|
|
69
|
+
* `agents@1`: the agents the person has, each made from a creatable a connected agent provider
|
|
70
|
+
* offers. What each agent is doing is read from the agent's own `chat@1`.
|
|
71
|
+
*/
|
|
72
|
+
export declare const agents: import("@agentorg/sdk").RpcInterface<"agents", {
|
|
73
|
+
/** What every connected agent provider offers. */
|
|
74
|
+
creatable: import("@agentorg/sdk").MethodSpec<z.ZodObject<{}, z.core.$strip>, z.ZodObject<{
|
|
75
|
+
creatables: z.ZodArray<z.ZodObject<{
|
|
76
|
+
id: z.ZodString;
|
|
77
|
+
title: z.ZodString;
|
|
78
|
+
description: z.ZodString;
|
|
79
|
+
instructions: z.ZodString;
|
|
80
|
+
asks: z.ZodArray<z.ZodObject<{
|
|
81
|
+
id: z.ZodString;
|
|
82
|
+
title: z.ZodString;
|
|
83
|
+
description: z.ZodOptional<z.ZodString>;
|
|
84
|
+
optional: z.ZodOptional<z.ZodLiteral<true>>;
|
|
85
|
+
}, z.core.$strip>>;
|
|
86
|
+
provider: z.ZodString;
|
|
87
|
+
}, z.core.$strip>>;
|
|
88
|
+
}, z.core.$strip>>;
|
|
89
|
+
/** The agent providers connected now. */
|
|
90
|
+
providers: import("@agentorg/sdk").MethodSpec<z.ZodObject<{}, z.core.$strip>, z.ZodObject<{
|
|
91
|
+
providers: z.ZodArray<z.ZodObject<{
|
|
92
|
+
provider: z.ZodString;
|
|
93
|
+
name: z.ZodString;
|
|
94
|
+
}, z.core.$strip>>;
|
|
95
|
+
}, z.core.$strip>>;
|
|
96
|
+
/** Every base and unit the connected providers offer, each naming its provider. */
|
|
97
|
+
units: import("@agentorg/sdk").MethodSpec<z.ZodObject<{}, z.core.$strip>, z.ZodObject<{
|
|
98
|
+
bases: z.ZodArray<z.ZodObject<{
|
|
99
|
+
id: z.ZodString;
|
|
100
|
+
title: z.ZodString;
|
|
101
|
+
description: z.ZodString;
|
|
102
|
+
instructions: z.ZodString;
|
|
103
|
+
asks: z.ZodArray<z.ZodObject<{
|
|
104
|
+
id: z.ZodString;
|
|
105
|
+
title: z.ZodString;
|
|
106
|
+
description: z.ZodOptional<z.ZodString>;
|
|
107
|
+
optional: z.ZodOptional<z.ZodLiteral<true>>;
|
|
108
|
+
}, z.core.$strip>>;
|
|
109
|
+
provider: z.ZodString;
|
|
110
|
+
providerName: z.ZodString;
|
|
111
|
+
}, z.core.$strip>>;
|
|
112
|
+
units: z.ZodArray<z.ZodObject<{
|
|
113
|
+
id: z.ZodString;
|
|
114
|
+
title: z.ZodString;
|
|
115
|
+
description: z.ZodString;
|
|
116
|
+
form: z.ZodArray<z.ZodObject<{
|
|
117
|
+
id: z.ZodString;
|
|
118
|
+
type: z.ZodString;
|
|
119
|
+
value: z.ZodEnum<{
|
|
120
|
+
boolean: "boolean";
|
|
121
|
+
number: "number";
|
|
122
|
+
secret: "secret";
|
|
123
|
+
string: "string";
|
|
124
|
+
strings: "strings";
|
|
125
|
+
}>;
|
|
126
|
+
title: z.ZodString;
|
|
127
|
+
description: z.ZodOptional<z.ZodString>;
|
|
128
|
+
required: z.ZodOptional<z.ZodLiteral<true>>;
|
|
129
|
+
default: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodArray<z.ZodString>]>>;
|
|
130
|
+
authority: z.ZodOptional<z.ZodEnum<{
|
|
131
|
+
contacts: "contacts";
|
|
132
|
+
holds: "holds";
|
|
133
|
+
instructs: "instructs";
|
|
134
|
+
runs: "runs";
|
|
135
|
+
setting: "setting";
|
|
136
|
+
}>>;
|
|
137
|
+
placeholder: z.ZodOptional<z.ZodString>;
|
|
138
|
+
visible: z.ZodOptional<z.ZodObject<{
|
|
139
|
+
field: z.ZodString;
|
|
140
|
+
in: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodArray<z.ZodString>]>>;
|
|
141
|
+
}, z.core.$strip>>;
|
|
142
|
+
options: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
143
|
+
value: z.ZodString;
|
|
144
|
+
title: z.ZodString;
|
|
145
|
+
description: z.ZodOptional<z.ZodString>;
|
|
146
|
+
adds: z.ZodOptional<z.ZodObject<{
|
|
147
|
+
slots: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
148
|
+
name: z.ZodString;
|
|
149
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
150
|
+
field: z.ZodString;
|
|
151
|
+
}, z.core.$strict>]>>;
|
|
152
|
+
skills: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
153
|
+
name: z.ZodString;
|
|
154
|
+
files: z.ZodArray<z.ZodString>;
|
|
155
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
156
|
+
field: z.ZodString;
|
|
157
|
+
}, z.core.$strict>]>>;
|
|
158
|
+
}, z.core.$strip>>;
|
|
159
|
+
}, z.core.$strip>>>;
|
|
160
|
+
adds: z.ZodOptional<z.ZodObject<{
|
|
161
|
+
slots: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
162
|
+
name: z.ZodString;
|
|
163
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
164
|
+
field: z.ZodString;
|
|
165
|
+
}, z.core.$strict>]>>;
|
|
166
|
+
skills: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
167
|
+
name: z.ZodString;
|
|
168
|
+
files: z.ZodArray<z.ZodString>;
|
|
169
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
170
|
+
field: z.ZodString;
|
|
171
|
+
}, z.core.$strict>]>>;
|
|
172
|
+
}, z.core.$strip>>;
|
|
173
|
+
min: z.ZodOptional<z.ZodNumber>;
|
|
174
|
+
max: z.ZodOptional<z.ZodNumber>;
|
|
175
|
+
step: z.ZodOptional<z.ZodNumber>;
|
|
176
|
+
unit: z.ZodOptional<z.ZodString>;
|
|
177
|
+
}, z.core.$strip>>;
|
|
178
|
+
needs: z.ZodArray<z.ZodString>;
|
|
179
|
+
gives: z.ZodObject<{
|
|
180
|
+
slots: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
181
|
+
name: z.ZodString;
|
|
182
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
183
|
+
field: z.ZodString;
|
|
184
|
+
}, z.core.$strict>]>>;
|
|
185
|
+
skills: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
186
|
+
name: z.ZodString;
|
|
187
|
+
files: z.ZodArray<z.ZodString>;
|
|
188
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
189
|
+
field: z.ZodString;
|
|
190
|
+
}, z.core.$strict>]>>;
|
|
191
|
+
results: z.ZodArray<z.ZodString>;
|
|
192
|
+
}, z.core.$strip>;
|
|
193
|
+
provider: z.ZodString;
|
|
194
|
+
providerName: z.ZodString;
|
|
195
|
+
}, z.core.$strip>>;
|
|
196
|
+
}, z.core.$strip>>;
|
|
197
|
+
/** The templates: what the app ships and what the person saved. */
|
|
198
|
+
templates: import("@agentorg/sdk").MethodSpec<z.ZodObject<{}, z.core.$strip>, z.ZodObject<{
|
|
199
|
+
templates: z.ZodArray<z.ZodObject<{
|
|
200
|
+
id: z.ZodString;
|
|
201
|
+
title: z.ZodString;
|
|
202
|
+
description: z.ZodString;
|
|
203
|
+
from: z.ZodOptional<z.ZodString>;
|
|
204
|
+
base: z.ZodObject<{
|
|
205
|
+
creatable: z.ZodString;
|
|
206
|
+
answers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
207
|
+
provider: z.ZodString;
|
|
208
|
+
}, z.core.$strict>;
|
|
209
|
+
units: z.ZodArray<z.ZodObject<{
|
|
210
|
+
unit: z.ZodString;
|
|
211
|
+
values: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodArray<z.ZodString>]>>>;
|
|
212
|
+
needs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNumber>>;
|
|
213
|
+
provider: z.ZodString;
|
|
214
|
+
}, z.core.$strict>>;
|
|
215
|
+
}, z.core.$strict>>;
|
|
216
|
+
}, z.core.$strip>>;
|
|
217
|
+
/** Save a template, replacing the one of its id. A saved template holds no secret. */
|
|
218
|
+
saveTemplate: import("@agentorg/sdk").MethodSpec<z.ZodObject<{
|
|
219
|
+
id: z.ZodString;
|
|
220
|
+
title: z.ZodString;
|
|
221
|
+
description: z.ZodString;
|
|
222
|
+
from: z.ZodOptional<z.ZodString>;
|
|
223
|
+
base: z.ZodObject<{
|
|
224
|
+
creatable: z.ZodString;
|
|
225
|
+
answers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
226
|
+
provider: z.ZodString;
|
|
227
|
+
}, z.core.$strict>;
|
|
228
|
+
units: z.ZodArray<z.ZodObject<{
|
|
229
|
+
unit: z.ZodString;
|
|
230
|
+
values: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodArray<z.ZodString>]>>>;
|
|
231
|
+
needs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNumber>>;
|
|
232
|
+
provider: z.ZodString;
|
|
233
|
+
}, z.core.$strict>>;
|
|
234
|
+
}, z.core.$strict>, z.ZodObject<{}, z.core.$strip>>;
|
|
235
|
+
removeTemplate: import("@agentorg/sdk").MethodSpec<z.ZodObject<{
|
|
236
|
+
id: z.ZodString;
|
|
237
|
+
}, z.core.$strip>, z.ZodObject<{}, z.core.$strip>>;
|
|
238
|
+
/** Check a stack, or a unit to add to a living agent, before anything runs. It changes nothing. */
|
|
239
|
+
check: import("@agentorg/sdk").MethodSpec<z.ZodUnion<readonly [z.ZodObject<{
|
|
240
|
+
stack: z.ZodObject<{
|
|
241
|
+
base: z.ZodObject<{
|
|
242
|
+
provider: z.ZodString;
|
|
243
|
+
creatable: z.ZodString;
|
|
244
|
+
answers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
245
|
+
}, z.core.$strict>;
|
|
246
|
+
units: z.ZodArray<z.ZodObject<{
|
|
247
|
+
provider: z.ZodString;
|
|
248
|
+
unit: z.ZodString;
|
|
249
|
+
values: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodArray<z.ZodString>]>>>;
|
|
250
|
+
needs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNumber>>;
|
|
251
|
+
secrets: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
252
|
+
}, z.core.$strict>>;
|
|
253
|
+
template: z.ZodOptional<z.ZodString>;
|
|
254
|
+
}, z.core.$strict>;
|
|
255
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
256
|
+
agent: z.ZodString;
|
|
257
|
+
unit: z.ZodObject<{
|
|
258
|
+
provider: z.ZodString;
|
|
259
|
+
unit: z.ZodString;
|
|
260
|
+
values: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodArray<z.ZodString>]>>>;
|
|
261
|
+
secrets: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
262
|
+
}, z.core.$strict>;
|
|
263
|
+
needs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
264
|
+
}, z.core.$strict>]>, z.ZodObject<{
|
|
265
|
+
problems: z.ZodArray<z.ZodObject<{
|
|
266
|
+
field: z.ZodOptional<z.ZodString>;
|
|
267
|
+
message: z.ZodString;
|
|
268
|
+
unit: z.ZodOptional<z.ZodNumber>;
|
|
269
|
+
}, z.core.$strip>>;
|
|
270
|
+
}, z.core.$strip>>;
|
|
271
|
+
/**
|
|
272
|
+
* Make an agent, from a stack, or from a template with what is filled in for each of its units
|
|
273
|
+
* by position; nothing in a template is locked, so a caller changing more sends the stack. All
|
|
274
|
+
* or none: if any step fails, what this creation made is removed, last first.
|
|
275
|
+
*/
|
|
276
|
+
create: import("@agentorg/sdk").MethodSpec<z.ZodUnion<readonly [z.ZodObject<{
|
|
277
|
+
stack: z.ZodObject<{
|
|
278
|
+
base: z.ZodObject<{
|
|
279
|
+
provider: z.ZodString;
|
|
280
|
+
creatable: z.ZodString;
|
|
281
|
+
answers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
282
|
+
}, z.core.$strict>;
|
|
283
|
+
units: z.ZodArray<z.ZodObject<{
|
|
284
|
+
provider: z.ZodString;
|
|
285
|
+
unit: z.ZodString;
|
|
286
|
+
values: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodArray<z.ZodString>]>>>;
|
|
287
|
+
needs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNumber>>;
|
|
288
|
+
secrets: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
289
|
+
}, z.core.$strict>>;
|
|
290
|
+
template: z.ZodOptional<z.ZodString>;
|
|
291
|
+
}, z.core.$strict>;
|
|
292
|
+
name: z.ZodString;
|
|
293
|
+
purpose: z.ZodOptional<z.ZodString>;
|
|
294
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
295
|
+
template: z.ZodString;
|
|
296
|
+
fill: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
297
|
+
values: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodArray<z.ZodString>]>>>;
|
|
298
|
+
secrets: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
299
|
+
}, z.core.$strict>>>;
|
|
300
|
+
answers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
301
|
+
name: z.ZodString;
|
|
302
|
+
purpose: z.ZodOptional<z.ZodString>;
|
|
303
|
+
}, z.core.$strict>]>, z.ZodObject<{
|
|
304
|
+
agent: z.ZodString;
|
|
305
|
+
}, z.core.$strip>>;
|
|
306
|
+
list: import("@agentorg/sdk").MethodSpec<z.ZodObject<{}, z.core.$strip>, z.ZodObject<{
|
|
307
|
+
agents: z.ZodArray<z.ZodObject<{
|
|
308
|
+
agent: z.ZodString;
|
|
309
|
+
name: z.ZodString;
|
|
310
|
+
status: z.ZodObject<{
|
|
311
|
+
state: z.ZodEnum<{
|
|
312
|
+
down: "down";
|
|
313
|
+
running: "running";
|
|
314
|
+
starting: "starting";
|
|
315
|
+
stopped: "stopped";
|
|
316
|
+
}>;
|
|
317
|
+
detail: z.ZodOptional<z.ZodString>;
|
|
318
|
+
}, z.core.$strip>;
|
|
319
|
+
provider: z.ZodString;
|
|
320
|
+
creatable: z.ZodString;
|
|
321
|
+
purpose: z.ZodOptional<z.ZodString>;
|
|
322
|
+
template: z.ZodOptional<z.ZodString>;
|
|
323
|
+
parent: z.ZodOptional<z.ZodObject<{
|
|
324
|
+
agent: z.ZodString;
|
|
325
|
+
name: z.ZodString;
|
|
326
|
+
gone: z.ZodOptional<z.ZodLiteral<true>>;
|
|
327
|
+
}, z.core.$strip>>;
|
|
328
|
+
}, z.core.$strip>>;
|
|
329
|
+
}, z.core.$strip>>;
|
|
330
|
+
/** What the agent is made of, in one read. */
|
|
331
|
+
get: import("@agentorg/sdk").MethodSpec<z.ZodObject<{
|
|
332
|
+
agent: z.ZodString;
|
|
333
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
334
|
+
agent: z.ZodString;
|
|
335
|
+
name: z.ZodString;
|
|
336
|
+
status: z.ZodObject<{
|
|
337
|
+
state: z.ZodEnum<{
|
|
338
|
+
down: "down";
|
|
339
|
+
running: "running";
|
|
340
|
+
starting: "starting";
|
|
341
|
+
stopped: "stopped";
|
|
342
|
+
}>;
|
|
343
|
+
detail: z.ZodOptional<z.ZodString>;
|
|
344
|
+
}, z.core.$strip>;
|
|
345
|
+
provider: z.ZodString;
|
|
346
|
+
creatable: z.ZodString;
|
|
347
|
+
purpose: z.ZodOptional<z.ZodString>;
|
|
348
|
+
template: z.ZodOptional<z.ZodString>;
|
|
349
|
+
parent: z.ZodOptional<z.ZodObject<{
|
|
350
|
+
agent: z.ZodString;
|
|
351
|
+
name: z.ZodString;
|
|
352
|
+
gone: z.ZodOptional<z.ZodLiteral<true>>;
|
|
353
|
+
}, z.core.$strip>>;
|
|
354
|
+
instructions: z.ZodString;
|
|
355
|
+
skills: z.ZodArray<z.ZodObject<{
|
|
356
|
+
name: z.ZodString;
|
|
357
|
+
description: z.ZodString;
|
|
358
|
+
instance: z.ZodOptional<z.ZodString>;
|
|
359
|
+
}, z.core.$strip>>;
|
|
360
|
+
mcp: z.ZodArray<z.ZodObject<{
|
|
361
|
+
slot: z.ZodString;
|
|
362
|
+
connection: z.ZodString;
|
|
363
|
+
origin: z.ZodOptional<z.ZodObject<{
|
|
364
|
+
provider: z.ZodString;
|
|
365
|
+
kind: z.ZodString;
|
|
366
|
+
target: z.ZodString;
|
|
367
|
+
madeBy: z.ZodString;
|
|
368
|
+
madeFor: z.ZodOptional<z.ZodString>;
|
|
369
|
+
at: z.ZodString;
|
|
370
|
+
}, z.core.$strip>>;
|
|
371
|
+
status: z.ZodObject<{
|
|
372
|
+
state: z.ZodEnum<{
|
|
373
|
+
connected: "connected";
|
|
374
|
+
connecting: "connecting";
|
|
375
|
+
down: "down";
|
|
376
|
+
}>;
|
|
377
|
+
detail: z.ZodOptional<z.ZodString>;
|
|
378
|
+
tools: z.ZodArray<z.ZodObject<{
|
|
379
|
+
name: z.ZodString;
|
|
380
|
+
description: z.ZodOptional<z.ZodString>;
|
|
381
|
+
}, z.core.$strip>>;
|
|
382
|
+
}, z.core.$strip>;
|
|
383
|
+
instance: z.ZodOptional<z.ZodString>;
|
|
384
|
+
}, z.core.$strip>>;
|
|
385
|
+
units: z.ZodArray<z.ZodObject<{
|
|
386
|
+
instance: z.ZodString;
|
|
387
|
+
provider: z.ZodString;
|
|
388
|
+
unit: z.ZodString;
|
|
389
|
+
title: z.ZodString;
|
|
390
|
+
values: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodArray<z.ZodString>]>>;
|
|
391
|
+
needs: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
392
|
+
status: z.ZodObject<{
|
|
393
|
+
state: z.ZodEnum<{
|
|
394
|
+
connected: "connected";
|
|
395
|
+
connecting: "connecting";
|
|
396
|
+
down: "down";
|
|
397
|
+
}>;
|
|
398
|
+
detail: z.ZodOptional<z.ZodString>;
|
|
399
|
+
surfaces: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
400
|
+
surface: z.ZodString;
|
|
401
|
+
protocol: z.ZodString;
|
|
402
|
+
operate: z.ZodBoolean;
|
|
403
|
+
unavailable: z.ZodOptional<z.ZodString>;
|
|
404
|
+
}, z.core.$strip>>>;
|
|
405
|
+
}, z.core.$strip>;
|
|
406
|
+
}, z.core.$strip>>;
|
|
407
|
+
}, z.core.$strip>>;
|
|
408
|
+
start: import("@agentorg/sdk").MethodSpec<z.ZodObject<{
|
|
409
|
+
agent: z.ZodString;
|
|
410
|
+
}, z.core.$strip>, z.ZodObject<{}, z.core.$strip>>;
|
|
411
|
+
/**
|
|
412
|
+
* Stops the agent: whatever it was doing ends, and it does nothing until started; all else
|
|
413
|
+
* stays. This is the one way to stop an agent's work.
|
|
414
|
+
*/
|
|
415
|
+
stop: import("@agentorg/sdk").MethodSpec<z.ZodObject<{
|
|
416
|
+
agent: z.ZodString;
|
|
417
|
+
}, z.core.$strip>, z.ZodObject<{}, z.core.$strip>>;
|
|
418
|
+
/** The models the agent can use, and the one chosen, as its provider says. */
|
|
419
|
+
models: import("@agentorg/sdk").MethodSpec<z.ZodObject<{
|
|
420
|
+
agent: z.ZodString;
|
|
421
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
422
|
+
models: z.ZodArray<z.ZodObject<{
|
|
423
|
+
id: z.ZodString;
|
|
424
|
+
name: z.ZodString;
|
|
425
|
+
}, z.core.$strip>>;
|
|
426
|
+
current: z.ZodOptional<z.ZodString>;
|
|
427
|
+
}, z.core.$strip>>;
|
|
428
|
+
/**
|
|
429
|
+
* Choose the model for the agent's next requests; with no `model`, go back to its provider's
|
|
430
|
+
* default. Refused `unknown` when the model isn't one of `models`.
|
|
431
|
+
*/
|
|
432
|
+
setModel: import("@agentorg/sdk").MethodSpec<z.ZodObject<{
|
|
433
|
+
agent: z.ZodString;
|
|
434
|
+
model: z.ZodOptional<z.ZodString>;
|
|
435
|
+
}, z.core.$strip>, z.ZodObject<{}, z.core.$strip>>;
|
|
436
|
+
/** Expose a skill or a connection to the agent; `as` names a connection's slot. */
|
|
437
|
+
expose: import("@agentorg/sdk").MethodSpec<z.ZodUnion<readonly [z.ZodObject<{
|
|
438
|
+
agent: z.ZodString;
|
|
439
|
+
skill: z.ZodString;
|
|
440
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
441
|
+
agent: z.ZodString;
|
|
442
|
+
connection: z.ZodString;
|
|
443
|
+
as: z.ZodOptional<z.ZodString>;
|
|
444
|
+
}, z.core.$strict>]>, z.ZodObject<{
|
|
445
|
+
slot: z.ZodOptional<z.ZodString>;
|
|
446
|
+
}, z.core.$strip>>;
|
|
447
|
+
unexpose: import("@agentorg/sdk").MethodSpec<z.ZodUnion<readonly [z.ZodObject<{
|
|
448
|
+
agent: z.ZodString;
|
|
449
|
+
skill: z.ZodString;
|
|
450
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
451
|
+
agent: z.ZodString;
|
|
452
|
+
slot: z.ZodString;
|
|
453
|
+
}, z.core.$strict>]>, z.ZodObject<{}, z.core.$strip>>;
|
|
454
|
+
/** Add a unit to a living agent, below those it has; it takes effect at the next request. */
|
|
455
|
+
addUnit: import("@agentorg/sdk").MethodSpec<z.ZodObject<{
|
|
456
|
+
agent: z.ZodString;
|
|
457
|
+
unit: z.ZodObject<{
|
|
458
|
+
provider: z.ZodString;
|
|
459
|
+
unit: z.ZodString;
|
|
460
|
+
values: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodArray<z.ZodString>]>>>;
|
|
461
|
+
secrets: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
462
|
+
}, z.core.$strict>;
|
|
463
|
+
needs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
464
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
465
|
+
instance: z.ZodString;
|
|
466
|
+
}, z.core.$strip>>;
|
|
467
|
+
/** Remove a unit from a living agent: what it made goes. Refused `state` while another needs it. */
|
|
468
|
+
removeUnit: import("@agentorg/sdk").MethodSpec<z.ZodObject<{
|
|
469
|
+
agent: z.ZodString;
|
|
470
|
+
instance: z.ZodString;
|
|
471
|
+
}, z.core.$strip>, z.ZodObject<{}, z.core.$strip>>;
|
|
472
|
+
/**
|
|
473
|
+
* What agents did through their control units, newest first: each call that changed something,
|
|
474
|
+
* and each refusal. With `agent`, those it made or that were about it.
|
|
475
|
+
*/
|
|
476
|
+
activity: import("@agentorg/sdk").MethodSpec<z.ZodObject<{
|
|
477
|
+
agent: z.ZodOptional<z.ZodString>;
|
|
478
|
+
before: z.ZodOptional<z.ZodNumber>;
|
|
479
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
480
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
481
|
+
entries: z.ZodArray<z.ZodObject<{
|
|
482
|
+
seq: z.ZodNumber;
|
|
483
|
+
at: z.ZodString;
|
|
484
|
+
caller: z.ZodString;
|
|
485
|
+
tool: z.ZodString;
|
|
486
|
+
target: z.ZodOptional<z.ZodString>;
|
|
487
|
+
outcome: z.ZodEnum<{
|
|
488
|
+
done: "done";
|
|
489
|
+
refused: "refused";
|
|
490
|
+
}>;
|
|
491
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
492
|
+
}, z.core.$strip>>;
|
|
493
|
+
more: z.ZodBoolean;
|
|
494
|
+
}, z.core.$strip>>;
|
|
495
|
+
/**
|
|
496
|
+
* A one-time ticket to open one of a unit's surfaces live. For the person's gateway, which dials
|
|
497
|
+
* it and pipes the bytes to a page; it never reaches a page itself. No agent can ask for one.
|
|
498
|
+
*/
|
|
499
|
+
live: import("@agentorg/sdk").MethodSpec<z.ZodObject<{
|
|
500
|
+
agent: z.ZodString;
|
|
501
|
+
instance: z.ZodString;
|
|
502
|
+
surface: z.ZodString;
|
|
503
|
+
mode: z.ZodEnum<{
|
|
504
|
+
operate: "operate";
|
|
505
|
+
watch: "watch";
|
|
506
|
+
}>;
|
|
507
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
508
|
+
url: z.ZodString;
|
|
509
|
+
protocol: z.ZodString;
|
|
510
|
+
expiresAt: z.ZodString;
|
|
511
|
+
}, z.core.$strip>>;
|
|
512
|
+
/** Final: removes the units, last first, then the agent, and the connections made for it. */
|
|
513
|
+
remove: import("@agentorg/sdk").MethodSpec<z.ZodObject<{
|
|
514
|
+
agent: z.ZodString;
|
|
515
|
+
}, z.core.$strip>, z.ZodObject<{}, z.core.$strip>>;
|
|
516
|
+
}, {}, 1>;
|
|
517
|
+
/** `connections@1`: the person's connections to MCP servers, through the connected providers. */
|
|
518
|
+
export declare const connections: import("@agentorg/sdk").RpcInterface<"connections", {
|
|
519
|
+
/** The MCP providers connected now, each with the kinds it offers. */
|
|
520
|
+
providers: import("@agentorg/sdk").MethodSpec<z.ZodObject<{}, z.core.$strip>, z.ZodObject<{
|
|
521
|
+
providers: z.ZodArray<z.ZodObject<{
|
|
522
|
+
provider: z.ZodString;
|
|
523
|
+
name: z.ZodString;
|
|
524
|
+
kinds: z.ZodArray<z.ZodObject<{
|
|
525
|
+
kind: z.ZodString;
|
|
526
|
+
title: z.ZodString;
|
|
527
|
+
params: z.ZodRecord<z.ZodString, z.ZodJSONSchema>;
|
|
528
|
+
secrets: z.ZodRecord<z.ZodString, z.ZodJSONSchema>;
|
|
529
|
+
}, z.core.$strip>>;
|
|
530
|
+
}, z.core.$strip>>;
|
|
531
|
+
}, z.core.$strip>>;
|
|
532
|
+
/** `secrets` go to the provider and nowhere else: they are never read back. */
|
|
533
|
+
create: import("@agentorg/sdk").MethodSpec<z.ZodObject<{
|
|
534
|
+
provider: z.ZodString;
|
|
535
|
+
kind: z.ZodString;
|
|
536
|
+
params: z.ZodRecord<z.ZodString, z.ZodJSONSchema>;
|
|
537
|
+
secrets: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
538
|
+
name: z.ZodString;
|
|
539
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
540
|
+
connection: z.ZodString;
|
|
541
|
+
}, z.core.$strip>>;
|
|
542
|
+
list: import("@agentorg/sdk").MethodSpec<z.ZodObject<{}, z.core.$strip>, z.ZodObject<{
|
|
543
|
+
connections: z.ZodArray<z.ZodObject<{
|
|
544
|
+
connection: z.ZodString;
|
|
545
|
+
name: z.ZodString;
|
|
546
|
+
state: z.ZodEnum<{
|
|
547
|
+
connected: "connected";
|
|
548
|
+
connecting: "connecting";
|
|
549
|
+
down: "down";
|
|
550
|
+
}>;
|
|
551
|
+
origin: z.ZodOptional<z.ZodObject<{
|
|
552
|
+
provider: z.ZodString;
|
|
553
|
+
kind: z.ZodString;
|
|
554
|
+
target: z.ZodString;
|
|
555
|
+
madeBy: z.ZodString;
|
|
556
|
+
madeFor: z.ZodOptional<z.ZodString>;
|
|
557
|
+
at: z.ZodString;
|
|
558
|
+
}, z.core.$strip>>;
|
|
559
|
+
}, z.core.$strip>>;
|
|
560
|
+
}, z.core.$strip>>;
|
|
561
|
+
get: import("@agentorg/sdk").MethodSpec<z.ZodObject<{
|
|
562
|
+
connection: z.ZodString;
|
|
563
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
564
|
+
connection: z.ZodString;
|
|
565
|
+
name: z.ZodString;
|
|
566
|
+
origin: z.ZodOptional<z.ZodObject<{
|
|
567
|
+
provider: z.ZodString;
|
|
568
|
+
kind: z.ZodString;
|
|
569
|
+
target: z.ZodString;
|
|
570
|
+
madeBy: z.ZodString;
|
|
571
|
+
madeFor: z.ZodOptional<z.ZodString>;
|
|
572
|
+
at: z.ZodString;
|
|
573
|
+
}, z.core.$strip>>;
|
|
574
|
+
status: z.ZodObject<{
|
|
575
|
+
state: z.ZodEnum<{
|
|
576
|
+
connected: "connected";
|
|
577
|
+
connecting: "connecting";
|
|
578
|
+
down: "down";
|
|
579
|
+
}>;
|
|
580
|
+
detail: z.ZodOptional<z.ZodString>;
|
|
581
|
+
tools: z.ZodArray<z.ZodObject<{
|
|
582
|
+
name: z.ZodString;
|
|
583
|
+
description: z.ZodOptional<z.ZodString>;
|
|
584
|
+
}, z.core.$strip>>;
|
|
585
|
+
}, z.core.$strip>;
|
|
586
|
+
}, z.core.$strip>>;
|
|
587
|
+
/** Final: every exposure of it goes with it. */
|
|
588
|
+
remove: import("@agentorg/sdk").MethodSpec<z.ZodObject<{
|
|
589
|
+
connection: z.ZodString;
|
|
590
|
+
}, z.core.$strip>, z.ZodObject<{}, z.core.$strip>>;
|
|
591
|
+
}, {}, 1>;
|
|
592
|
+
/** `skills@1`: the person's skills, each a `SKILL.md` folder. */
|
|
593
|
+
export declare const skills: import("@agentorg/sdk").RpcInterface<"skills", {
|
|
594
|
+
/**
|
|
595
|
+
* Add a skill from a folder on the Hub's machine or as files; its name and description come
|
|
596
|
+
* from `SKILL.md`. The same name replaces the skill, for every agent it's exposed to.
|
|
597
|
+
*/
|
|
598
|
+
add: import("@agentorg/sdk").MethodSpec<z.ZodUnion<readonly [z.ZodObject<{
|
|
599
|
+
path: z.ZodString;
|
|
600
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
601
|
+
files: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
602
|
+
}, z.core.$strict>]>, z.ZodObject<{
|
|
603
|
+
name: z.ZodString;
|
|
604
|
+
description: z.ZodString;
|
|
605
|
+
}, z.core.$strip>>;
|
|
606
|
+
list: import("@agentorg/sdk").MethodSpec<z.ZodObject<{}, z.core.$strip>, z.ZodObject<{
|
|
607
|
+
skills: z.ZodArray<z.ZodObject<{
|
|
608
|
+
name: z.ZodString;
|
|
609
|
+
description: z.ZodString;
|
|
610
|
+
}, z.core.$strip>>;
|
|
611
|
+
}, z.core.$strip>>;
|
|
612
|
+
/** The skill: its `SKILL.md`, the paths of its files, and the agents it's exposed to. */
|
|
613
|
+
get: import("@agentorg/sdk").MethodSpec<z.ZodObject<{
|
|
614
|
+
name: z.ZodString;
|
|
615
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
616
|
+
name: z.ZodString;
|
|
617
|
+
description: z.ZodString;
|
|
618
|
+
text: z.ZodString;
|
|
619
|
+
files: z.ZodArray<z.ZodString>;
|
|
620
|
+
agents: z.ZodArray<z.ZodString>;
|
|
621
|
+
}, z.core.$strip>>;
|
|
622
|
+
/** Final: it is taken off every agent it's exposed to. */
|
|
623
|
+
remove: import("@agentorg/sdk").MethodSpec<z.ZodObject<{
|
|
624
|
+
name: z.ZodString;
|
|
625
|
+
}, z.core.$strip>, z.ZodObject<{}, z.core.$strip>>;
|
|
626
|
+
}, {}, 1>;
|