spawnfile 0.1.4 → 0.1.6
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/dist/cli/lifecycleCommands.d.ts +3 -0
- package/dist/cli/lifecycleCommands.js +80 -0
- package/dist/cli/runCli.d.ts +2 -1
- package/dist/cli/runCli.js +4 -48
- package/dist/compiler/buildCompilePlan.js +12 -202
- package/dist/compiler/buildCompilePlanRuntime.d.ts +6 -1
- package/dist/compiler/buildCompilePlanRuntime.js +9 -0
- package/dist/compiler/buildCompilePlanTeams.js +16 -10
- package/dist/compiler/buildCompilePlanTraversal.d.ts +16 -0
- package/dist/compiler/buildCompilePlanTraversal.js +214 -0
- package/dist/compiler/buildCompilePlanTraversalHelpers.d.ts +18 -0
- package/dist/compiler/buildCompilePlanTraversalHelpers.js +22 -0
- package/dist/compiler/compilePlanHelpers.d.ts +3 -1
- package/dist/compiler/compilePlanHelpers.js +37 -1
- package/dist/compiler/compileProject.js +14 -0
- package/dist/compiler/containerArtifacts.js +18 -3
- package/dist/compiler/containerArtifactsPlans.js +32 -0
- package/dist/compiler/containerArtifactsRender.js +86 -3
- package/dist/compiler/containerArtifactsTypes.d.ts +7 -3
- package/dist/compiler/containerEntrypointRender.d.ts +1 -1
- package/dist/compiler/containerEntrypointRender.js +34 -24
- package/dist/compiler/containerTargetResources.d.ts +4 -0
- package/dist/compiler/containerTargetResources.js +54 -0
- package/dist/compiler/containerWorkspaceResourceRender.d.ts +3 -0
- package/dist/compiler/containerWorkspaceResourceRender.js +128 -0
- package/dist/compiler/executionDefaults.js +0 -3
- package/dist/compiler/helpers.d.ts +1 -1
- package/dist/compiler/index.d.ts +1 -0
- package/dist/compiler/index.js +1 -0
- package/dist/compiler/moltnetArtifacts.d.ts +11 -5
- package/dist/compiler/moltnetArtifacts.js +133 -117
- package/dist/compiler/moltnetClientConfig.js +8 -2
- package/dist/compiler/moltnetConfigLowering.d.ts +36 -0
- package/dist/compiler/moltnetConfigLowering.js +125 -0
- package/dist/compiler/moltnetRuntimeConfig.d.ts +2 -0
- package/dist/compiler/moltnetRuntimeConfig.js +69 -0
- package/dist/compiler/surfaces.d.ts +3 -13
- package/dist/compiler/surfaces.js +1 -6
- package/dist/compiler/syncProjectAuth.js +14 -0
- package/dist/compiler/types.d.ts +16 -1
- package/dist/compiler/upProject.d.ts +19 -0
- package/dist/compiler/upProject.js +37 -0
- package/dist/compiler/view/buildOrganizationView.js +22 -2
- package/dist/compiler/view/renderNetworks.js +14 -3
- package/dist/compiler/view/renderTree.js +8 -2
- package/dist/compiler/view/types.d.ts +18 -3
- package/dist/compiler/workspaceResources.d.ts +34 -0
- package/dist/compiler/workspaceResources.js +120 -0
- package/dist/filesystem/paths.js +1 -10
- package/dist/manifest/executionSchemas.d.ts +106 -0
- package/dist/manifest/executionSchemas.js +140 -0
- package/dist/manifest/loadManifest.js +15 -27
- package/dist/manifest/renderSpawnfile.js +44 -52
- package/dist/manifest/renderSpawnfileNetworks.d.ts +2 -0
- package/dist/manifest/renderSpawnfileNetworks.js +63 -0
- package/dist/manifest/renderSpawnfileWorkspace.d.ts +2 -0
- package/dist/manifest/renderSpawnfileWorkspace.js +47 -0
- package/dist/manifest/scaffold.js +12 -6
- package/dist/manifest/scheduleSchemas.d.ts +15 -0
- package/dist/manifest/scheduleSchemas.js +26 -0
- package/dist/manifest/schemas.d.ts +626 -368
- package/dist/manifest/schemas.js +51 -191
- package/dist/manifest/teamNetworkSchemas.d.ts +228 -0
- package/dist/manifest/teamNetworkSchemas.js +295 -0
- package/dist/manifest/workspaceSchemas.d.ts +96 -0
- package/dist/manifest/workspaceSchemas.js +166 -0
- package/dist/report/types.d.ts +10 -0
- package/dist/runtime/common.d.ts +2 -1
- package/dist/runtime/common.js +3 -3
- package/dist/runtime/tinyclaw/adapter.js +9 -2
- package/dist/runtime/tinyclaw/schedules.d.ts +9 -0
- package/dist/runtime/tinyclaw/schedules.js +62 -0
- package/dist/runtime/types.d.ts +1 -0
- package/package.json +2 -1
|
@@ -1,48 +1,5 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
|
-
|
|
3
|
-
key: z.ZodOptional<z.ZodString>;
|
|
4
|
-
method: z.ZodOptional<z.ZodEnum<{
|
|
5
|
-
api_key: "api_key";
|
|
6
|
-
"claude-code": "claude-code";
|
|
7
|
-
codex: "codex";
|
|
8
|
-
none: "none";
|
|
9
|
-
}>>;
|
|
10
|
-
}, z.core.$strict>;
|
|
11
|
-
declare const modelEndpointSchema: z.ZodObject<{
|
|
12
|
-
base_url: z.ZodString;
|
|
13
|
-
compatibility: z.ZodEnum<{
|
|
14
|
-
anthropic: "anthropic";
|
|
15
|
-
openai: "openai";
|
|
16
|
-
}>;
|
|
17
|
-
}, z.core.$strict>;
|
|
18
|
-
declare const modelTargetSchema: z.ZodObject<{
|
|
19
|
-
auth: z.ZodOptional<z.ZodObject<{
|
|
20
|
-
key: z.ZodOptional<z.ZodString>;
|
|
21
|
-
method: z.ZodOptional<z.ZodEnum<{
|
|
22
|
-
api_key: "api_key";
|
|
23
|
-
"claude-code": "claude-code";
|
|
24
|
-
codex: "codex";
|
|
25
|
-
none: "none";
|
|
26
|
-
}>>;
|
|
27
|
-
}, z.core.$strict>>;
|
|
28
|
-
endpoint: z.ZodOptional<z.ZodObject<{
|
|
29
|
-
base_url: z.ZodString;
|
|
30
|
-
compatibility: z.ZodEnum<{
|
|
31
|
-
anthropic: "anthropic";
|
|
32
|
-
openai: "openai";
|
|
33
|
-
}>;
|
|
34
|
-
}, z.core.$strict>>;
|
|
35
|
-
name: z.ZodString;
|
|
36
|
-
provider: z.ZodString;
|
|
37
|
-
}, z.core.$strict>;
|
|
38
|
-
declare const docsSchema: z.ZodObject<{
|
|
39
|
-
extras: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
40
|
-
heartbeat: z.ZodOptional<z.ZodString>;
|
|
41
|
-
identity: z.ZodOptional<z.ZodString>;
|
|
42
|
-
memory: z.ZodOptional<z.ZodString>;
|
|
43
|
-
soul: z.ZodOptional<z.ZodString>;
|
|
44
|
-
system: z.ZodOptional<z.ZodString>;
|
|
45
|
-
}, z.core.$strict>;
|
|
2
|
+
import { teamWorkspaceDocsSchema } from "./teamNetworkSchemas.js";
|
|
46
3
|
declare const skillReferenceSchema: z.ZodObject<{
|
|
47
4
|
ref: z.ZodString;
|
|
48
5
|
requires: z.ZodOptional<z.ZodObject<{
|
|
@@ -64,77 +21,6 @@ declare const mcpServerSchema: z.ZodObject<{
|
|
|
64
21
|
}>;
|
|
65
22
|
url: z.ZodOptional<z.ZodString>;
|
|
66
23
|
}, z.core.$strict>;
|
|
67
|
-
declare const executionSchema: z.ZodObject<{
|
|
68
|
-
model: z.ZodOptional<z.ZodObject<{
|
|
69
|
-
auth: z.ZodOptional<z.ZodObject<{
|
|
70
|
-
method: z.ZodOptional<z.ZodEnum<{
|
|
71
|
-
api_key: "api_key";
|
|
72
|
-
"claude-code": "claude-code";
|
|
73
|
-
codex: "codex";
|
|
74
|
-
none: "none";
|
|
75
|
-
}>>;
|
|
76
|
-
methods: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodEnum<{
|
|
77
|
-
api_key: "api_key";
|
|
78
|
-
"claude-code": "claude-code";
|
|
79
|
-
codex: "codex";
|
|
80
|
-
none: "none";
|
|
81
|
-
}>>>;
|
|
82
|
-
}, z.core.$strict>>;
|
|
83
|
-
fallback: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
84
|
-
auth: z.ZodOptional<z.ZodObject<{
|
|
85
|
-
key: z.ZodOptional<z.ZodString>;
|
|
86
|
-
method: z.ZodOptional<z.ZodEnum<{
|
|
87
|
-
api_key: "api_key";
|
|
88
|
-
"claude-code": "claude-code";
|
|
89
|
-
codex: "codex";
|
|
90
|
-
none: "none";
|
|
91
|
-
}>>;
|
|
92
|
-
}, z.core.$strict>>;
|
|
93
|
-
endpoint: z.ZodOptional<z.ZodObject<{
|
|
94
|
-
base_url: z.ZodString;
|
|
95
|
-
compatibility: z.ZodEnum<{
|
|
96
|
-
anthropic: "anthropic";
|
|
97
|
-
openai: "openai";
|
|
98
|
-
}>;
|
|
99
|
-
}, z.core.$strict>>;
|
|
100
|
-
name: z.ZodString;
|
|
101
|
-
provider: z.ZodString;
|
|
102
|
-
}, z.core.$strict>>>;
|
|
103
|
-
primary: z.ZodObject<{
|
|
104
|
-
auth: z.ZodOptional<z.ZodObject<{
|
|
105
|
-
key: z.ZodOptional<z.ZodString>;
|
|
106
|
-
method: z.ZodOptional<z.ZodEnum<{
|
|
107
|
-
api_key: "api_key";
|
|
108
|
-
"claude-code": "claude-code";
|
|
109
|
-
codex: "codex";
|
|
110
|
-
none: "none";
|
|
111
|
-
}>>;
|
|
112
|
-
}, z.core.$strict>>;
|
|
113
|
-
endpoint: z.ZodOptional<z.ZodObject<{
|
|
114
|
-
base_url: z.ZodString;
|
|
115
|
-
compatibility: z.ZodEnum<{
|
|
116
|
-
anthropic: "anthropic";
|
|
117
|
-
openai: "openai";
|
|
118
|
-
}>;
|
|
119
|
-
}, z.core.$strict>>;
|
|
120
|
-
name: z.ZodString;
|
|
121
|
-
provider: z.ZodString;
|
|
122
|
-
}, z.core.$strict>;
|
|
123
|
-
}, z.core.$strict>>;
|
|
124
|
-
sandbox: z.ZodOptional<z.ZodObject<{
|
|
125
|
-
mode: z.ZodEnum<{
|
|
126
|
-
sandboxed: "sandboxed";
|
|
127
|
-
unrestricted: "unrestricted";
|
|
128
|
-
workspace: "workspace";
|
|
129
|
-
}>;
|
|
130
|
-
}, z.core.$strict>>;
|
|
131
|
-
workspace: z.ZodOptional<z.ZodObject<{
|
|
132
|
-
isolation: z.ZodEnum<{
|
|
133
|
-
isolated: "isolated";
|
|
134
|
-
shared: "shared";
|
|
135
|
-
}>;
|
|
136
|
-
}, z.core.$strict>>;
|
|
137
|
-
}, z.core.$strict>;
|
|
138
24
|
declare const runtimeBindingSchema: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
139
25
|
name: z.ZodString;
|
|
140
26
|
options: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
@@ -143,7 +29,18 @@ declare const secretSchema: z.ZodObject<{
|
|
|
143
29
|
name: z.ZodString;
|
|
144
30
|
required: z.ZodBoolean;
|
|
145
31
|
}, z.core.$strict>;
|
|
146
|
-
declare const
|
|
32
|
+
declare const packageSchema: z.ZodObject<{
|
|
33
|
+
id: z.ZodString;
|
|
34
|
+
manager: z.ZodEnum<{
|
|
35
|
+
apt: "apt";
|
|
36
|
+
npm: "npm";
|
|
37
|
+
pipx: "pipx";
|
|
38
|
+
}>;
|
|
39
|
+
name: z.ZodString;
|
|
40
|
+
scope: z.ZodOptional<z.ZodString>;
|
|
41
|
+
version: z.ZodOptional<z.ZodString>;
|
|
42
|
+
}, z.core.$strict>;
|
|
43
|
+
declare const environmentSchema: z.ZodObject<{
|
|
147
44
|
env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
148
45
|
mcp_servers: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
149
46
|
args: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -160,46 +57,109 @@ declare const sharedSurfaceSchema: z.ZodObject<{
|
|
|
160
57
|
}>;
|
|
161
58
|
url: z.ZodOptional<z.ZodString>;
|
|
162
59
|
}, z.core.$strict>>>;
|
|
60
|
+
packages: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
61
|
+
id: z.ZodString;
|
|
62
|
+
manager: z.ZodEnum<{
|
|
63
|
+
apt: "apt";
|
|
64
|
+
npm: "npm";
|
|
65
|
+
pipx: "pipx";
|
|
66
|
+
}>;
|
|
67
|
+
name: z.ZodString;
|
|
68
|
+
scope: z.ZodOptional<z.ZodString>;
|
|
69
|
+
version: z.ZodOptional<z.ZodString>;
|
|
70
|
+
}, z.core.$strict>>>;
|
|
163
71
|
secrets: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
164
72
|
name: z.ZodString;
|
|
165
73
|
required: z.ZodBoolean;
|
|
166
74
|
}, z.core.$strict>>>;
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
75
|
+
}, z.core.$strict>;
|
|
76
|
+
declare const sharedSurfaceSchema: z.ZodObject<{
|
|
77
|
+
environment: z.ZodOptional<z.ZodObject<{
|
|
78
|
+
env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
79
|
+
mcp_servers: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
80
|
+
args: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
81
|
+
auth: z.ZodOptional<z.ZodObject<{
|
|
82
|
+
secret: z.ZodString;
|
|
83
|
+
}, z.core.$strict>>;
|
|
84
|
+
command: z.ZodOptional<z.ZodString>;
|
|
85
|
+
env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
86
|
+
name: z.ZodString;
|
|
87
|
+
transport: z.ZodEnum<{
|
|
88
|
+
sse: "sse";
|
|
89
|
+
stdio: "stdio";
|
|
90
|
+
streamable_http: "streamable_http";
|
|
91
|
+
}>;
|
|
92
|
+
url: z.ZodOptional<z.ZodString>;
|
|
93
|
+
}, z.core.$strict>>>;
|
|
94
|
+
packages: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
95
|
+
id: z.ZodString;
|
|
96
|
+
manager: z.ZodEnum<{
|
|
97
|
+
apt: "apt";
|
|
98
|
+
npm: "npm";
|
|
99
|
+
pipx: "pipx";
|
|
100
|
+
}>;
|
|
101
|
+
name: z.ZodString;
|
|
102
|
+
scope: z.ZodOptional<z.ZodString>;
|
|
103
|
+
version: z.ZodOptional<z.ZodString>;
|
|
104
|
+
}, z.core.$strict>>>;
|
|
105
|
+
secrets: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
106
|
+
name: z.ZodString;
|
|
107
|
+
required: z.ZodBoolean;
|
|
108
|
+
}, z.core.$strict>>>;
|
|
109
|
+
}, z.core.$strict>>;
|
|
110
|
+
workspace: z.ZodOptional<z.ZodObject<{
|
|
111
|
+
docs: z.ZodOptional<z.ZodObject<{
|
|
112
|
+
extras: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
113
|
+
heartbeat: z.ZodOptional<z.ZodString>;
|
|
114
|
+
identity: z.ZodOptional<z.ZodString>;
|
|
115
|
+
memory: z.ZodOptional<z.ZodString>;
|
|
116
|
+
soul: z.ZodOptional<z.ZodString>;
|
|
117
|
+
system: z.ZodOptional<z.ZodString>;
|
|
171
118
|
}, z.core.$strict>>;
|
|
172
|
-
|
|
119
|
+
resources: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
120
|
+
branch: z.ZodOptional<z.ZodString>;
|
|
121
|
+
id: z.ZodString;
|
|
122
|
+
kind: z.ZodLiteral<"git">;
|
|
123
|
+
mount: z.ZodString;
|
|
124
|
+
mode: z.ZodEnum<{
|
|
125
|
+
readonly: "readonly";
|
|
126
|
+
mutable: "mutable";
|
|
127
|
+
}>;
|
|
128
|
+
ref: z.ZodOptional<z.ZodString>;
|
|
129
|
+
sharing: z.ZodOptional<z.ZodEnum<{
|
|
130
|
+
per_agent: "per_agent";
|
|
131
|
+
team: "team";
|
|
132
|
+
}>>;
|
|
133
|
+
tag: z.ZodOptional<z.ZodString>;
|
|
134
|
+
url: z.ZodString;
|
|
135
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
136
|
+
id: z.ZodString;
|
|
137
|
+
kind: z.ZodLiteral<"volume">;
|
|
138
|
+
mount: z.ZodString;
|
|
139
|
+
mode: z.ZodEnum<{
|
|
140
|
+
readonly: "readonly";
|
|
141
|
+
mutable: "mutable";
|
|
142
|
+
}>;
|
|
143
|
+
name: z.ZodOptional<z.ZodString>;
|
|
144
|
+
sharing: z.ZodOptional<z.ZodEnum<{
|
|
145
|
+
per_agent: "per_agent";
|
|
146
|
+
team: "team";
|
|
147
|
+
}>>;
|
|
148
|
+
}, z.core.$strict>], "kind">>>;
|
|
149
|
+
skills: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
150
|
+
ref: z.ZodString;
|
|
151
|
+
requires: z.ZodOptional<z.ZodObject<{
|
|
152
|
+
mcp: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
153
|
+
}, z.core.$strict>>;
|
|
154
|
+
}, z.core.$strict>>>;
|
|
155
|
+
}, z.core.$strict>>;
|
|
173
156
|
}, z.core.$strict>;
|
|
174
157
|
declare const memberSchema: z.ZodObject<{
|
|
175
158
|
id: z.ZodString;
|
|
176
159
|
ref: z.ZodString;
|
|
177
160
|
}, z.core.$strict>;
|
|
178
|
-
declare const teamNetworkRoomSchema: z.ZodObject<{
|
|
179
|
-
id: z.ZodString;
|
|
180
|
-
members: z.ZodArray<z.ZodString>;
|
|
181
|
-
}, z.core.$strict>;
|
|
182
|
-
declare const teamNetworkSchema: z.ZodObject<{
|
|
183
|
-
expose: z.ZodOptional<z.ZodBoolean>;
|
|
184
|
-
id: z.ZodString;
|
|
185
|
-
name: z.ZodOptional<z.ZodString>;
|
|
186
|
-
provider: z.ZodLiteral<"moltnet">;
|
|
187
|
-
rooms: z.ZodArray<z.ZodObject<{
|
|
188
|
-
id: z.ZodString;
|
|
189
|
-
members: z.ZodArray<z.ZodString>;
|
|
190
|
-
}, z.core.$strict>>;
|
|
191
|
-
}, z.core.$strict>;
|
|
192
161
|
declare const agentManifestSchema: z.ZodObject<{
|
|
193
162
|
description: z.ZodOptional<z.ZodString>;
|
|
194
|
-
docs: z.ZodOptional<z.ZodObject<{
|
|
195
|
-
extras: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
196
|
-
heartbeat: z.ZodOptional<z.ZodString>;
|
|
197
|
-
identity: z.ZodOptional<z.ZodString>;
|
|
198
|
-
memory: z.ZodOptional<z.ZodString>;
|
|
199
|
-
soul: z.ZodOptional<z.ZodString>;
|
|
200
|
-
system: z.ZodOptional<z.ZodString>;
|
|
201
|
-
}, z.core.$strict>>;
|
|
202
|
-
env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
203
163
|
execution: z.ZodOptional<z.ZodObject<{
|
|
204
164
|
model: z.ZodOptional<z.ZodObject<{
|
|
205
165
|
auth: z.ZodOptional<z.ZodObject<{
|
|
@@ -264,28 +224,7 @@ declare const agentManifestSchema: z.ZodObject<{
|
|
|
264
224
|
workspace: "workspace";
|
|
265
225
|
}>;
|
|
266
226
|
}, z.core.$strict>>;
|
|
267
|
-
workspace: z.ZodOptional<z.ZodObject<{
|
|
268
|
-
isolation: z.ZodEnum<{
|
|
269
|
-
isolated: "isolated";
|
|
270
|
-
shared: "shared";
|
|
271
|
-
}>;
|
|
272
|
-
}, z.core.$strict>>;
|
|
273
227
|
}, z.core.$strict>>;
|
|
274
|
-
mcp_servers: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
275
|
-
args: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
276
|
-
auth: z.ZodOptional<z.ZodObject<{
|
|
277
|
-
secret: z.ZodString;
|
|
278
|
-
}, z.core.$strict>>;
|
|
279
|
-
command: z.ZodOptional<z.ZodString>;
|
|
280
|
-
env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
281
|
-
name: z.ZodString;
|
|
282
|
-
transport: z.ZodEnum<{
|
|
283
|
-
sse: "sse";
|
|
284
|
-
stdio: "stdio";
|
|
285
|
-
streamable_http: "streamable_http";
|
|
286
|
-
}>;
|
|
287
|
-
url: z.ZodOptional<z.ZodString>;
|
|
288
|
-
}, z.core.$strict>>>;
|
|
289
228
|
name: z.ZodString;
|
|
290
229
|
policy: z.ZodOptional<z.ZodObject<{
|
|
291
230
|
mode: z.ZodEnum<{
|
|
@@ -299,20 +238,6 @@ declare const agentManifestSchema: z.ZodObject<{
|
|
|
299
238
|
allow: "allow";
|
|
300
239
|
}>;
|
|
301
240
|
}, z.core.$strict>>;
|
|
302
|
-
runtime: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
303
|
-
name: z.ZodString;
|
|
304
|
-
options: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
305
|
-
}, z.core.$strict>]>>;
|
|
306
|
-
secrets: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
307
|
-
name: z.ZodString;
|
|
308
|
-
required: z.ZodBoolean;
|
|
309
|
-
}, z.core.$strict>>>;
|
|
310
|
-
skills: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
311
|
-
ref: z.ZodString;
|
|
312
|
-
requires: z.ZodOptional<z.ZodObject<{
|
|
313
|
-
mcp: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
314
|
-
}, z.core.$strict>>;
|
|
315
|
-
}, z.core.$strict>>>;
|
|
316
241
|
surfaces: z.ZodOptional<z.ZodObject<{
|
|
317
242
|
discord: z.ZodOptional<z.ZodObject<{
|
|
318
243
|
access: z.ZodOptional<z.ZodObject<{
|
|
@@ -410,22 +335,109 @@ declare const agentManifestSchema: z.ZodObject<{
|
|
|
410
335
|
spawnfile_version: z.ZodLiteral<"0.1">;
|
|
411
336
|
expose: z.ZodOptional<z.ZodBoolean>;
|
|
412
337
|
kind: z.ZodLiteral<"agent">;
|
|
338
|
+
environment: z.ZodOptional<z.ZodObject<{
|
|
339
|
+
env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
340
|
+
mcp_servers: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
341
|
+
args: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
342
|
+
auth: z.ZodOptional<z.ZodObject<{
|
|
343
|
+
secret: z.ZodString;
|
|
344
|
+
}, z.core.$strict>>;
|
|
345
|
+
command: z.ZodOptional<z.ZodString>;
|
|
346
|
+
env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
347
|
+
name: z.ZodString;
|
|
348
|
+
transport: z.ZodEnum<{
|
|
349
|
+
sse: "sse";
|
|
350
|
+
stdio: "stdio";
|
|
351
|
+
streamable_http: "streamable_http";
|
|
352
|
+
}>;
|
|
353
|
+
url: z.ZodOptional<z.ZodString>;
|
|
354
|
+
}, z.core.$strict>>>;
|
|
355
|
+
packages: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
356
|
+
id: z.ZodString;
|
|
357
|
+
manager: z.ZodEnum<{
|
|
358
|
+
apt: "apt";
|
|
359
|
+
npm: "npm";
|
|
360
|
+
pipx: "pipx";
|
|
361
|
+
}>;
|
|
362
|
+
name: z.ZodString;
|
|
363
|
+
scope: z.ZodOptional<z.ZodString>;
|
|
364
|
+
version: z.ZodOptional<z.ZodString>;
|
|
365
|
+
}, z.core.$strict>>>;
|
|
366
|
+
secrets: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
367
|
+
name: z.ZodString;
|
|
368
|
+
required: z.ZodBoolean;
|
|
369
|
+
}, z.core.$strict>>>;
|
|
370
|
+
}, z.core.$strict>>;
|
|
371
|
+
runtime: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
372
|
+
name: z.ZodString;
|
|
373
|
+
options: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
374
|
+
}, z.core.$strict>]>>;
|
|
375
|
+
schedule: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
376
|
+
cron: z.ZodString;
|
|
377
|
+
kind: z.ZodLiteral<"cron">;
|
|
378
|
+
prompt: z.ZodOptional<z.ZodString>;
|
|
379
|
+
timezone: z.ZodOptional<z.ZodString>;
|
|
380
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
381
|
+
every: z.ZodString;
|
|
382
|
+
kind: z.ZodLiteral<"every">;
|
|
383
|
+
prompt: z.ZodOptional<z.ZodString>;
|
|
384
|
+
timezone: z.ZodOptional<z.ZodString>;
|
|
385
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
386
|
+
kind: z.ZodLiteral<"disabled">;
|
|
387
|
+
}, z.core.$strict>], "kind">>;
|
|
413
388
|
subagents: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
414
389
|
id: z.ZodString;
|
|
415
390
|
ref: z.ZodString;
|
|
416
391
|
}, z.core.$strict>>>;
|
|
392
|
+
workspace: z.ZodOptional<z.ZodObject<{
|
|
393
|
+
docs: z.ZodOptional<z.ZodObject<{
|
|
394
|
+
extras: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
395
|
+
heartbeat: z.ZodOptional<z.ZodString>;
|
|
396
|
+
identity: z.ZodOptional<z.ZodString>;
|
|
397
|
+
memory: z.ZodOptional<z.ZodString>;
|
|
398
|
+
soul: z.ZodOptional<z.ZodString>;
|
|
399
|
+
system: z.ZodOptional<z.ZodString>;
|
|
400
|
+
}, z.core.$strict>>;
|
|
401
|
+
resources: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
402
|
+
branch: z.ZodOptional<z.ZodString>;
|
|
403
|
+
id: z.ZodString;
|
|
404
|
+
kind: z.ZodLiteral<"git">;
|
|
405
|
+
mount: z.ZodString;
|
|
406
|
+
mode: z.ZodEnum<{
|
|
407
|
+
readonly: "readonly";
|
|
408
|
+
mutable: "mutable";
|
|
409
|
+
}>;
|
|
410
|
+
ref: z.ZodOptional<z.ZodString>;
|
|
411
|
+
sharing: z.ZodOptional<z.ZodEnum<{
|
|
412
|
+
per_agent: "per_agent";
|
|
413
|
+
team: "team";
|
|
414
|
+
}>>;
|
|
415
|
+
tag: z.ZodOptional<z.ZodString>;
|
|
416
|
+
url: z.ZodString;
|
|
417
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
418
|
+
id: z.ZodString;
|
|
419
|
+
kind: z.ZodLiteral<"volume">;
|
|
420
|
+
mount: z.ZodString;
|
|
421
|
+
mode: z.ZodEnum<{
|
|
422
|
+
readonly: "readonly";
|
|
423
|
+
mutable: "mutable";
|
|
424
|
+
}>;
|
|
425
|
+
name: z.ZodOptional<z.ZodString>;
|
|
426
|
+
sharing: z.ZodOptional<z.ZodEnum<{
|
|
427
|
+
per_agent: "per_agent";
|
|
428
|
+
team: "team";
|
|
429
|
+
}>>;
|
|
430
|
+
}, z.core.$strict>], "kind">>>;
|
|
431
|
+
skills: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
432
|
+
ref: z.ZodString;
|
|
433
|
+
requires: z.ZodOptional<z.ZodObject<{
|
|
434
|
+
mcp: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
435
|
+
}, z.core.$strict>>;
|
|
436
|
+
}, z.core.$strict>>>;
|
|
437
|
+
}, z.core.$strict>>;
|
|
417
438
|
}, z.core.$strict>;
|
|
418
439
|
declare const teamManifestSchema: z.ZodObject<{
|
|
419
440
|
description: z.ZodOptional<z.ZodString>;
|
|
420
|
-
docs: z.ZodOptional<z.ZodObject<{
|
|
421
|
-
extras: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
422
|
-
heartbeat: z.ZodOptional<z.ZodString>;
|
|
423
|
-
identity: z.ZodOptional<z.ZodString>;
|
|
424
|
-
memory: z.ZodOptional<z.ZodString>;
|
|
425
|
-
soul: z.ZodOptional<z.ZodString>;
|
|
426
|
-
system: z.ZodOptional<z.ZodString>;
|
|
427
|
-
}, z.core.$strict>>;
|
|
428
|
-
env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
429
441
|
execution: z.ZodOptional<z.ZodObject<{
|
|
430
442
|
model: z.ZodOptional<z.ZodObject<{
|
|
431
443
|
auth: z.ZodOptional<z.ZodObject<{
|
|
@@ -490,28 +502,7 @@ declare const teamManifestSchema: z.ZodObject<{
|
|
|
490
502
|
workspace: "workspace";
|
|
491
503
|
}>;
|
|
492
504
|
}, z.core.$strict>>;
|
|
493
|
-
workspace: z.ZodOptional<z.ZodObject<{
|
|
494
|
-
isolation: z.ZodEnum<{
|
|
495
|
-
isolated: "isolated";
|
|
496
|
-
shared: "shared";
|
|
497
|
-
}>;
|
|
498
|
-
}, z.core.$strict>>;
|
|
499
505
|
}, z.core.$strict>>;
|
|
500
|
-
mcp_servers: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
501
|
-
args: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
502
|
-
auth: z.ZodOptional<z.ZodObject<{
|
|
503
|
-
secret: z.ZodString;
|
|
504
|
-
}, z.core.$strict>>;
|
|
505
|
-
command: z.ZodOptional<z.ZodString>;
|
|
506
|
-
env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
507
|
-
name: z.ZodString;
|
|
508
|
-
transport: z.ZodEnum<{
|
|
509
|
-
sse: "sse";
|
|
510
|
-
stdio: "stdio";
|
|
511
|
-
streamable_http: "streamable_http";
|
|
512
|
-
}>;
|
|
513
|
-
url: z.ZodOptional<z.ZodString>;
|
|
514
|
-
}, z.core.$strict>>>;
|
|
515
506
|
name: z.ZodString;
|
|
516
507
|
policy: z.ZodOptional<z.ZodObject<{
|
|
517
508
|
mode: z.ZodEnum<{
|
|
@@ -525,20 +516,6 @@ declare const teamManifestSchema: z.ZodObject<{
|
|
|
525
516
|
allow: "allow";
|
|
526
517
|
}>;
|
|
527
518
|
}, z.core.$strict>>;
|
|
528
|
-
runtime: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
529
|
-
name: z.ZodString;
|
|
530
|
-
options: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
531
|
-
}, z.core.$strict>]>>;
|
|
532
|
-
secrets: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
533
|
-
name: z.ZodString;
|
|
534
|
-
required: z.ZodBoolean;
|
|
535
|
-
}, z.core.$strict>>>;
|
|
536
|
-
skills: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
537
|
-
ref: z.ZodString;
|
|
538
|
-
requires: z.ZodOptional<z.ZodObject<{
|
|
539
|
-
mcp: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
540
|
-
}, z.core.$strict>>;
|
|
541
|
-
}, z.core.$strict>>>;
|
|
542
519
|
surfaces: z.ZodOptional<z.ZodObject<{
|
|
543
520
|
discord: z.ZodOptional<z.ZodObject<{
|
|
544
521
|
access: z.ZodOptional<z.ZodObject<{
|
|
@@ -646,55 +623,183 @@ declare const teamManifestSchema: z.ZodObject<{
|
|
|
646
623
|
swarm: "swarm";
|
|
647
624
|
}>;
|
|
648
625
|
networks: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
649
|
-
expose: z.ZodOptional<z.ZodBoolean>;
|
|
650
626
|
id: z.ZodString;
|
|
651
627
|
name: z.ZodOptional<z.ZodString>;
|
|
652
628
|
provider: z.ZodLiteral<"moltnet">;
|
|
653
629
|
rooms: z.ZodArray<z.ZodObject<{
|
|
654
630
|
id: z.ZodString;
|
|
655
631
|
members: z.ZodArray<z.ZodString>;
|
|
632
|
+
name: z.ZodOptional<z.ZodString>;
|
|
656
633
|
}, z.core.$strict>>;
|
|
634
|
+
server: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
635
|
+
allowed_origins: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
636
|
+
auth: z.ZodObject<{
|
|
637
|
+
client: z.ZodOptional<z.ZodObject<{
|
|
638
|
+
static_token: z.ZodOptional<z.ZodBoolean>;
|
|
639
|
+
token_env: z.ZodOptional<z.ZodString>;
|
|
640
|
+
token_id: z.ZodOptional<z.ZodString>;
|
|
641
|
+
token_path: z.ZodOptional<z.ZodString>;
|
|
642
|
+
}, z.core.$strict>>;
|
|
643
|
+
mode: z.ZodEnum<{
|
|
644
|
+
none: "none";
|
|
645
|
+
open: "open";
|
|
646
|
+
bearer: "bearer";
|
|
647
|
+
}>;
|
|
648
|
+
tokens: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
649
|
+
agents: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
650
|
+
id: z.ZodString;
|
|
651
|
+
secret: z.ZodString;
|
|
652
|
+
scopes: z.ZodArray<z.ZodEnum<{
|
|
653
|
+
observe: "observe";
|
|
654
|
+
write: "write";
|
|
655
|
+
admin: "admin";
|
|
656
|
+
attach: "attach";
|
|
657
|
+
pair: "pair";
|
|
658
|
+
}>>;
|
|
659
|
+
}, z.core.$strict>>>;
|
|
660
|
+
}, z.core.$strict>;
|
|
661
|
+
direct_messages: z.ZodOptional<z.ZodBoolean>;
|
|
662
|
+
human_ingress: z.ZodOptional<z.ZodBoolean>;
|
|
663
|
+
listen: z.ZodObject<{
|
|
664
|
+
bind: z.ZodString;
|
|
665
|
+
port: z.ZodNumber;
|
|
666
|
+
}, z.core.$strict>;
|
|
667
|
+
mode: z.ZodLiteral<"managed">;
|
|
668
|
+
pairings: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
669
|
+
id: z.ZodString;
|
|
670
|
+
remote_base_url: z.ZodString;
|
|
671
|
+
remote_network_id: z.ZodString;
|
|
672
|
+
remote_network_name: z.ZodString;
|
|
673
|
+
token_secret: z.ZodString;
|
|
674
|
+
}, z.core.$strict>>>;
|
|
675
|
+
store: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
676
|
+
kind: z.ZodLiteral<"sqlite">;
|
|
677
|
+
path: z.ZodString;
|
|
678
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
679
|
+
kind: z.ZodLiteral<"json">;
|
|
680
|
+
path: z.ZodString;
|
|
681
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
682
|
+
kind: z.ZodLiteral<"postgres">;
|
|
683
|
+
dsn_secret: z.ZodString;
|
|
684
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
685
|
+
kind: z.ZodLiteral<"memory">;
|
|
686
|
+
}, z.core.$strict>], "kind">;
|
|
687
|
+
trust_forwarded_proto: z.ZodOptional<z.ZodBoolean>;
|
|
688
|
+
url: z.ZodOptional<z.ZodString>;
|
|
689
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
690
|
+
auth: z.ZodObject<{
|
|
691
|
+
client: z.ZodOptional<z.ZodObject<{
|
|
692
|
+
static_token: z.ZodOptional<z.ZodBoolean>;
|
|
693
|
+
token_env: z.ZodOptional<z.ZodString>;
|
|
694
|
+
token_id: z.ZodOptional<z.ZodString>;
|
|
695
|
+
token_path: z.ZodOptional<z.ZodString>;
|
|
696
|
+
}, z.core.$strict>>;
|
|
697
|
+
mode: z.ZodEnum<{
|
|
698
|
+
none: "none";
|
|
699
|
+
open: "open";
|
|
700
|
+
bearer: "bearer";
|
|
701
|
+
}>;
|
|
702
|
+
tokens: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
703
|
+
agents: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
704
|
+
id: z.ZodString;
|
|
705
|
+
secret: z.ZodString;
|
|
706
|
+
scopes: z.ZodArray<z.ZodEnum<{
|
|
707
|
+
observe: "observe";
|
|
708
|
+
write: "write";
|
|
709
|
+
admin: "admin";
|
|
710
|
+
attach: "attach";
|
|
711
|
+
pair: "pair";
|
|
712
|
+
}>>;
|
|
713
|
+
}, z.core.$strict>>>;
|
|
714
|
+
}, z.core.$strict>;
|
|
715
|
+
mode: z.ZodLiteral<"external">;
|
|
716
|
+
url: z.ZodString;
|
|
717
|
+
}, z.core.$strict>], "mode">;
|
|
657
718
|
}, z.core.$strict>>>;
|
|
658
719
|
shared: z.ZodOptional<z.ZodObject<{
|
|
659
|
-
|
|
660
|
-
mcp_servers: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
661
|
-
args: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
662
|
-
auth: z.ZodOptional<z.ZodObject<{
|
|
663
|
-
secret: z.ZodString;
|
|
664
|
-
}, z.core.$strict>>;
|
|
665
|
-
command: z.ZodOptional<z.ZodString>;
|
|
720
|
+
environment: z.ZodOptional<z.ZodObject<{
|
|
666
721
|
env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
667
|
-
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
|
|
681
|
-
|
|
682
|
-
|
|
722
|
+
mcp_servers: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
723
|
+
args: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
724
|
+
auth: z.ZodOptional<z.ZodObject<{
|
|
725
|
+
secret: z.ZodString;
|
|
726
|
+
}, z.core.$strict>>;
|
|
727
|
+
command: z.ZodOptional<z.ZodString>;
|
|
728
|
+
env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
729
|
+
name: z.ZodString;
|
|
730
|
+
transport: z.ZodEnum<{
|
|
731
|
+
sse: "sse";
|
|
732
|
+
stdio: "stdio";
|
|
733
|
+
streamable_http: "streamable_http";
|
|
734
|
+
}>;
|
|
735
|
+
url: z.ZodOptional<z.ZodString>;
|
|
736
|
+
}, z.core.$strict>>>;
|
|
737
|
+
packages: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
738
|
+
id: z.ZodString;
|
|
739
|
+
manager: z.ZodEnum<{
|
|
740
|
+
apt: "apt";
|
|
741
|
+
npm: "npm";
|
|
742
|
+
pipx: "pipx";
|
|
743
|
+
}>;
|
|
744
|
+
name: z.ZodString;
|
|
745
|
+
scope: z.ZodOptional<z.ZodString>;
|
|
746
|
+
version: z.ZodOptional<z.ZodString>;
|
|
747
|
+
}, z.core.$strict>>>;
|
|
748
|
+
secrets: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
749
|
+
name: z.ZodString;
|
|
750
|
+
required: z.ZodBoolean;
|
|
751
|
+
}, z.core.$strict>>>;
|
|
752
|
+
}, z.core.$strict>>;
|
|
753
|
+
workspace: z.ZodOptional<z.ZodObject<{
|
|
754
|
+
docs: z.ZodOptional<z.ZodObject<{
|
|
755
|
+
extras: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
756
|
+
heartbeat: z.ZodOptional<z.ZodString>;
|
|
757
|
+
identity: z.ZodOptional<z.ZodString>;
|
|
758
|
+
memory: z.ZodOptional<z.ZodString>;
|
|
759
|
+
soul: z.ZodOptional<z.ZodString>;
|
|
760
|
+
system: z.ZodOptional<z.ZodString>;
|
|
683
761
|
}, z.core.$strict>>;
|
|
684
|
-
|
|
762
|
+
resources: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
763
|
+
branch: z.ZodOptional<z.ZodString>;
|
|
764
|
+
id: z.ZodString;
|
|
765
|
+
kind: z.ZodLiteral<"git">;
|
|
766
|
+
mount: z.ZodString;
|
|
767
|
+
mode: z.ZodEnum<{
|
|
768
|
+
readonly: "readonly";
|
|
769
|
+
mutable: "mutable";
|
|
770
|
+
}>;
|
|
771
|
+
ref: z.ZodOptional<z.ZodString>;
|
|
772
|
+
sharing: z.ZodOptional<z.ZodEnum<{
|
|
773
|
+
per_agent: "per_agent";
|
|
774
|
+
team: "team";
|
|
775
|
+
}>>;
|
|
776
|
+
tag: z.ZodOptional<z.ZodString>;
|
|
777
|
+
url: z.ZodString;
|
|
778
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
779
|
+
id: z.ZodString;
|
|
780
|
+
kind: z.ZodLiteral<"volume">;
|
|
781
|
+
mount: z.ZodString;
|
|
782
|
+
mode: z.ZodEnum<{
|
|
783
|
+
readonly: "readonly";
|
|
784
|
+
mutable: "mutable";
|
|
785
|
+
}>;
|
|
786
|
+
name: z.ZodOptional<z.ZodString>;
|
|
787
|
+
sharing: z.ZodOptional<z.ZodEnum<{
|
|
788
|
+
per_agent: "per_agent";
|
|
789
|
+
team: "team";
|
|
790
|
+
}>>;
|
|
791
|
+
}, z.core.$strict>], "kind">>>;
|
|
792
|
+
skills: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
793
|
+
ref: z.ZodString;
|
|
794
|
+
requires: z.ZodOptional<z.ZodObject<{
|
|
795
|
+
mcp: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
796
|
+
}, z.core.$strict>>;
|
|
797
|
+
}, z.core.$strict>>>;
|
|
798
|
+
}, z.core.$strict>>;
|
|
685
799
|
}, z.core.$strict>>;
|
|
686
800
|
}, z.core.$strict>;
|
|
687
801
|
export declare const manifestSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
688
802
|
description: z.ZodOptional<z.ZodString>;
|
|
689
|
-
docs: z.ZodOptional<z.ZodObject<{
|
|
690
|
-
extras: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
691
|
-
heartbeat: z.ZodOptional<z.ZodString>;
|
|
692
|
-
identity: z.ZodOptional<z.ZodString>;
|
|
693
|
-
memory: z.ZodOptional<z.ZodString>;
|
|
694
|
-
soul: z.ZodOptional<z.ZodString>;
|
|
695
|
-
system: z.ZodOptional<z.ZodString>;
|
|
696
|
-
}, z.core.$strict>>;
|
|
697
|
-
env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
698
803
|
execution: z.ZodOptional<z.ZodObject<{
|
|
699
804
|
model: z.ZodOptional<z.ZodObject<{
|
|
700
805
|
auth: z.ZodOptional<z.ZodObject<{
|
|
@@ -759,28 +864,7 @@ export declare const manifestSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
759
864
|
workspace: "workspace";
|
|
760
865
|
}>;
|
|
761
866
|
}, z.core.$strict>>;
|
|
762
|
-
workspace: z.ZodOptional<z.ZodObject<{
|
|
763
|
-
isolation: z.ZodEnum<{
|
|
764
|
-
isolated: "isolated";
|
|
765
|
-
shared: "shared";
|
|
766
|
-
}>;
|
|
767
|
-
}, z.core.$strict>>;
|
|
768
867
|
}, z.core.$strict>>;
|
|
769
|
-
mcp_servers: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
770
|
-
args: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
771
|
-
auth: z.ZodOptional<z.ZodObject<{
|
|
772
|
-
secret: z.ZodString;
|
|
773
|
-
}, z.core.$strict>>;
|
|
774
|
-
command: z.ZodOptional<z.ZodString>;
|
|
775
|
-
env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
776
|
-
name: z.ZodString;
|
|
777
|
-
transport: z.ZodEnum<{
|
|
778
|
-
sse: "sse";
|
|
779
|
-
stdio: "stdio";
|
|
780
|
-
streamable_http: "streamable_http";
|
|
781
|
-
}>;
|
|
782
|
-
url: z.ZodOptional<z.ZodString>;
|
|
783
|
-
}, z.core.$strict>>>;
|
|
784
868
|
name: z.ZodString;
|
|
785
869
|
policy: z.ZodOptional<z.ZodObject<{
|
|
786
870
|
mode: z.ZodEnum<{
|
|
@@ -794,20 +878,6 @@ export declare const manifestSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
794
878
|
allow: "allow";
|
|
795
879
|
}>;
|
|
796
880
|
}, z.core.$strict>>;
|
|
797
|
-
runtime: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
798
|
-
name: z.ZodString;
|
|
799
|
-
options: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
800
|
-
}, z.core.$strict>]>>;
|
|
801
|
-
secrets: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
802
|
-
name: z.ZodString;
|
|
803
|
-
required: z.ZodBoolean;
|
|
804
|
-
}, z.core.$strict>>>;
|
|
805
|
-
skills: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
806
|
-
ref: z.ZodString;
|
|
807
|
-
requires: z.ZodOptional<z.ZodObject<{
|
|
808
|
-
mcp: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
809
|
-
}, z.core.$strict>>;
|
|
810
|
-
}, z.core.$strict>>>;
|
|
811
881
|
surfaces: z.ZodOptional<z.ZodObject<{
|
|
812
882
|
discord: z.ZodOptional<z.ZodObject<{
|
|
813
883
|
access: z.ZodOptional<z.ZodObject<{
|
|
@@ -905,21 +975,108 @@ export declare const manifestSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
905
975
|
spawnfile_version: z.ZodLiteral<"0.1">;
|
|
906
976
|
expose: z.ZodOptional<z.ZodBoolean>;
|
|
907
977
|
kind: z.ZodLiteral<"agent">;
|
|
978
|
+
environment: z.ZodOptional<z.ZodObject<{
|
|
979
|
+
env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
980
|
+
mcp_servers: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
981
|
+
args: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
982
|
+
auth: z.ZodOptional<z.ZodObject<{
|
|
983
|
+
secret: z.ZodString;
|
|
984
|
+
}, z.core.$strict>>;
|
|
985
|
+
command: z.ZodOptional<z.ZodString>;
|
|
986
|
+
env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
987
|
+
name: z.ZodString;
|
|
988
|
+
transport: z.ZodEnum<{
|
|
989
|
+
sse: "sse";
|
|
990
|
+
stdio: "stdio";
|
|
991
|
+
streamable_http: "streamable_http";
|
|
992
|
+
}>;
|
|
993
|
+
url: z.ZodOptional<z.ZodString>;
|
|
994
|
+
}, z.core.$strict>>>;
|
|
995
|
+
packages: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
996
|
+
id: z.ZodString;
|
|
997
|
+
manager: z.ZodEnum<{
|
|
998
|
+
apt: "apt";
|
|
999
|
+
npm: "npm";
|
|
1000
|
+
pipx: "pipx";
|
|
1001
|
+
}>;
|
|
1002
|
+
name: z.ZodString;
|
|
1003
|
+
scope: z.ZodOptional<z.ZodString>;
|
|
1004
|
+
version: z.ZodOptional<z.ZodString>;
|
|
1005
|
+
}, z.core.$strict>>>;
|
|
1006
|
+
secrets: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1007
|
+
name: z.ZodString;
|
|
1008
|
+
required: z.ZodBoolean;
|
|
1009
|
+
}, z.core.$strict>>>;
|
|
1010
|
+
}, z.core.$strict>>;
|
|
1011
|
+
runtime: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
1012
|
+
name: z.ZodString;
|
|
1013
|
+
options: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1014
|
+
}, z.core.$strict>]>>;
|
|
1015
|
+
schedule: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1016
|
+
cron: z.ZodString;
|
|
1017
|
+
kind: z.ZodLiteral<"cron">;
|
|
1018
|
+
prompt: z.ZodOptional<z.ZodString>;
|
|
1019
|
+
timezone: z.ZodOptional<z.ZodString>;
|
|
1020
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1021
|
+
every: z.ZodString;
|
|
1022
|
+
kind: z.ZodLiteral<"every">;
|
|
1023
|
+
prompt: z.ZodOptional<z.ZodString>;
|
|
1024
|
+
timezone: z.ZodOptional<z.ZodString>;
|
|
1025
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1026
|
+
kind: z.ZodLiteral<"disabled">;
|
|
1027
|
+
}, z.core.$strict>], "kind">>;
|
|
908
1028
|
subagents: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
909
1029
|
id: z.ZodString;
|
|
910
1030
|
ref: z.ZodString;
|
|
911
1031
|
}, z.core.$strict>>>;
|
|
1032
|
+
workspace: z.ZodOptional<z.ZodObject<{
|
|
1033
|
+
docs: z.ZodOptional<z.ZodObject<{
|
|
1034
|
+
extras: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1035
|
+
heartbeat: z.ZodOptional<z.ZodString>;
|
|
1036
|
+
identity: z.ZodOptional<z.ZodString>;
|
|
1037
|
+
memory: z.ZodOptional<z.ZodString>;
|
|
1038
|
+
soul: z.ZodOptional<z.ZodString>;
|
|
1039
|
+
system: z.ZodOptional<z.ZodString>;
|
|
1040
|
+
}, z.core.$strict>>;
|
|
1041
|
+
resources: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1042
|
+
branch: z.ZodOptional<z.ZodString>;
|
|
1043
|
+
id: z.ZodString;
|
|
1044
|
+
kind: z.ZodLiteral<"git">;
|
|
1045
|
+
mount: z.ZodString;
|
|
1046
|
+
mode: z.ZodEnum<{
|
|
1047
|
+
readonly: "readonly";
|
|
1048
|
+
mutable: "mutable";
|
|
1049
|
+
}>;
|
|
1050
|
+
ref: z.ZodOptional<z.ZodString>;
|
|
1051
|
+
sharing: z.ZodOptional<z.ZodEnum<{
|
|
1052
|
+
per_agent: "per_agent";
|
|
1053
|
+
team: "team";
|
|
1054
|
+
}>>;
|
|
1055
|
+
tag: z.ZodOptional<z.ZodString>;
|
|
1056
|
+
url: z.ZodString;
|
|
1057
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1058
|
+
id: z.ZodString;
|
|
1059
|
+
kind: z.ZodLiteral<"volume">;
|
|
1060
|
+
mount: z.ZodString;
|
|
1061
|
+
mode: z.ZodEnum<{
|
|
1062
|
+
readonly: "readonly";
|
|
1063
|
+
mutable: "mutable";
|
|
1064
|
+
}>;
|
|
1065
|
+
name: z.ZodOptional<z.ZodString>;
|
|
1066
|
+
sharing: z.ZodOptional<z.ZodEnum<{
|
|
1067
|
+
per_agent: "per_agent";
|
|
1068
|
+
team: "team";
|
|
1069
|
+
}>>;
|
|
1070
|
+
}, z.core.$strict>], "kind">>>;
|
|
1071
|
+
skills: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1072
|
+
ref: z.ZodString;
|
|
1073
|
+
requires: z.ZodOptional<z.ZodObject<{
|
|
1074
|
+
mcp: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1075
|
+
}, z.core.$strict>>;
|
|
1076
|
+
}, z.core.$strict>>>;
|
|
1077
|
+
}, z.core.$strict>>;
|
|
912
1078
|
}, z.core.$strict>, z.ZodObject<{
|
|
913
1079
|
description: z.ZodOptional<z.ZodString>;
|
|
914
|
-
docs: z.ZodOptional<z.ZodObject<{
|
|
915
|
-
extras: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
916
|
-
heartbeat: z.ZodOptional<z.ZodString>;
|
|
917
|
-
identity: z.ZodOptional<z.ZodString>;
|
|
918
|
-
memory: z.ZodOptional<z.ZodString>;
|
|
919
|
-
soul: z.ZodOptional<z.ZodString>;
|
|
920
|
-
system: z.ZodOptional<z.ZodString>;
|
|
921
|
-
}, z.core.$strict>>;
|
|
922
|
-
env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
923
1080
|
execution: z.ZodOptional<z.ZodObject<{
|
|
924
1081
|
model: z.ZodOptional<z.ZodObject<{
|
|
925
1082
|
auth: z.ZodOptional<z.ZodObject<{
|
|
@@ -984,28 +1141,7 @@ export declare const manifestSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
984
1141
|
workspace: "workspace";
|
|
985
1142
|
}>;
|
|
986
1143
|
}, z.core.$strict>>;
|
|
987
|
-
workspace: z.ZodOptional<z.ZodObject<{
|
|
988
|
-
isolation: z.ZodEnum<{
|
|
989
|
-
isolated: "isolated";
|
|
990
|
-
shared: "shared";
|
|
991
|
-
}>;
|
|
992
|
-
}, z.core.$strict>>;
|
|
993
1144
|
}, z.core.$strict>>;
|
|
994
|
-
mcp_servers: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
995
|
-
args: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
996
|
-
auth: z.ZodOptional<z.ZodObject<{
|
|
997
|
-
secret: z.ZodString;
|
|
998
|
-
}, z.core.$strict>>;
|
|
999
|
-
command: z.ZodOptional<z.ZodString>;
|
|
1000
|
-
env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1001
|
-
name: z.ZodString;
|
|
1002
|
-
transport: z.ZodEnum<{
|
|
1003
|
-
sse: "sse";
|
|
1004
|
-
stdio: "stdio";
|
|
1005
|
-
streamable_http: "streamable_http";
|
|
1006
|
-
}>;
|
|
1007
|
-
url: z.ZodOptional<z.ZodString>;
|
|
1008
|
-
}, z.core.$strict>>>;
|
|
1009
1145
|
name: z.ZodString;
|
|
1010
1146
|
policy: z.ZodOptional<z.ZodObject<{
|
|
1011
1147
|
mode: z.ZodEnum<{
|
|
@@ -1019,20 +1155,6 @@ export declare const manifestSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1019
1155
|
allow: "allow";
|
|
1020
1156
|
}>;
|
|
1021
1157
|
}, z.core.$strict>>;
|
|
1022
|
-
runtime: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
1023
|
-
name: z.ZodString;
|
|
1024
|
-
options: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1025
|
-
}, z.core.$strict>]>>;
|
|
1026
|
-
secrets: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1027
|
-
name: z.ZodString;
|
|
1028
|
-
required: z.ZodBoolean;
|
|
1029
|
-
}, z.core.$strict>>>;
|
|
1030
|
-
skills: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1031
|
-
ref: z.ZodString;
|
|
1032
|
-
requires: z.ZodOptional<z.ZodObject<{
|
|
1033
|
-
mcp: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1034
|
-
}, z.core.$strict>>;
|
|
1035
|
-
}, z.core.$strict>>>;
|
|
1036
1158
|
surfaces: z.ZodOptional<z.ZodObject<{
|
|
1037
1159
|
discord: z.ZodOptional<z.ZodObject<{
|
|
1038
1160
|
access: z.ZodOptional<z.ZodObject<{
|
|
@@ -1140,60 +1262,196 @@ export declare const manifestSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1140
1262
|
swarm: "swarm";
|
|
1141
1263
|
}>;
|
|
1142
1264
|
networks: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1143
|
-
expose: z.ZodOptional<z.ZodBoolean>;
|
|
1144
1265
|
id: z.ZodString;
|
|
1145
1266
|
name: z.ZodOptional<z.ZodString>;
|
|
1146
1267
|
provider: z.ZodLiteral<"moltnet">;
|
|
1147
1268
|
rooms: z.ZodArray<z.ZodObject<{
|
|
1148
1269
|
id: z.ZodString;
|
|
1149
1270
|
members: z.ZodArray<z.ZodString>;
|
|
1271
|
+
name: z.ZodOptional<z.ZodString>;
|
|
1150
1272
|
}, z.core.$strict>>;
|
|
1273
|
+
server: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1274
|
+
allowed_origins: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1275
|
+
auth: z.ZodObject<{
|
|
1276
|
+
client: z.ZodOptional<z.ZodObject<{
|
|
1277
|
+
static_token: z.ZodOptional<z.ZodBoolean>;
|
|
1278
|
+
token_env: z.ZodOptional<z.ZodString>;
|
|
1279
|
+
token_id: z.ZodOptional<z.ZodString>;
|
|
1280
|
+
token_path: z.ZodOptional<z.ZodString>;
|
|
1281
|
+
}, z.core.$strict>>;
|
|
1282
|
+
mode: z.ZodEnum<{
|
|
1283
|
+
none: "none";
|
|
1284
|
+
open: "open";
|
|
1285
|
+
bearer: "bearer";
|
|
1286
|
+
}>;
|
|
1287
|
+
tokens: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1288
|
+
agents: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1289
|
+
id: z.ZodString;
|
|
1290
|
+
secret: z.ZodString;
|
|
1291
|
+
scopes: z.ZodArray<z.ZodEnum<{
|
|
1292
|
+
observe: "observe";
|
|
1293
|
+
write: "write";
|
|
1294
|
+
admin: "admin";
|
|
1295
|
+
attach: "attach";
|
|
1296
|
+
pair: "pair";
|
|
1297
|
+
}>>;
|
|
1298
|
+
}, z.core.$strict>>>;
|
|
1299
|
+
}, z.core.$strict>;
|
|
1300
|
+
direct_messages: z.ZodOptional<z.ZodBoolean>;
|
|
1301
|
+
human_ingress: z.ZodOptional<z.ZodBoolean>;
|
|
1302
|
+
listen: z.ZodObject<{
|
|
1303
|
+
bind: z.ZodString;
|
|
1304
|
+
port: z.ZodNumber;
|
|
1305
|
+
}, z.core.$strict>;
|
|
1306
|
+
mode: z.ZodLiteral<"managed">;
|
|
1307
|
+
pairings: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1308
|
+
id: z.ZodString;
|
|
1309
|
+
remote_base_url: z.ZodString;
|
|
1310
|
+
remote_network_id: z.ZodString;
|
|
1311
|
+
remote_network_name: z.ZodString;
|
|
1312
|
+
token_secret: z.ZodString;
|
|
1313
|
+
}, z.core.$strict>>>;
|
|
1314
|
+
store: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1315
|
+
kind: z.ZodLiteral<"sqlite">;
|
|
1316
|
+
path: z.ZodString;
|
|
1317
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1318
|
+
kind: z.ZodLiteral<"json">;
|
|
1319
|
+
path: z.ZodString;
|
|
1320
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1321
|
+
kind: z.ZodLiteral<"postgres">;
|
|
1322
|
+
dsn_secret: z.ZodString;
|
|
1323
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1324
|
+
kind: z.ZodLiteral<"memory">;
|
|
1325
|
+
}, z.core.$strict>], "kind">;
|
|
1326
|
+
trust_forwarded_proto: z.ZodOptional<z.ZodBoolean>;
|
|
1327
|
+
url: z.ZodOptional<z.ZodString>;
|
|
1328
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1329
|
+
auth: z.ZodObject<{
|
|
1330
|
+
client: z.ZodOptional<z.ZodObject<{
|
|
1331
|
+
static_token: z.ZodOptional<z.ZodBoolean>;
|
|
1332
|
+
token_env: z.ZodOptional<z.ZodString>;
|
|
1333
|
+
token_id: z.ZodOptional<z.ZodString>;
|
|
1334
|
+
token_path: z.ZodOptional<z.ZodString>;
|
|
1335
|
+
}, z.core.$strict>>;
|
|
1336
|
+
mode: z.ZodEnum<{
|
|
1337
|
+
none: "none";
|
|
1338
|
+
open: "open";
|
|
1339
|
+
bearer: "bearer";
|
|
1340
|
+
}>;
|
|
1341
|
+
tokens: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1342
|
+
agents: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1343
|
+
id: z.ZodString;
|
|
1344
|
+
secret: z.ZodString;
|
|
1345
|
+
scopes: z.ZodArray<z.ZodEnum<{
|
|
1346
|
+
observe: "observe";
|
|
1347
|
+
write: "write";
|
|
1348
|
+
admin: "admin";
|
|
1349
|
+
attach: "attach";
|
|
1350
|
+
pair: "pair";
|
|
1351
|
+
}>>;
|
|
1352
|
+
}, z.core.$strict>>>;
|
|
1353
|
+
}, z.core.$strict>;
|
|
1354
|
+
mode: z.ZodLiteral<"external">;
|
|
1355
|
+
url: z.ZodString;
|
|
1356
|
+
}, z.core.$strict>], "mode">;
|
|
1151
1357
|
}, z.core.$strict>>>;
|
|
1152
1358
|
shared: z.ZodOptional<z.ZodObject<{
|
|
1153
|
-
|
|
1154
|
-
mcp_servers: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1155
|
-
args: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1156
|
-
auth: z.ZodOptional<z.ZodObject<{
|
|
1157
|
-
secret: z.ZodString;
|
|
1158
|
-
}, z.core.$strict>>;
|
|
1159
|
-
command: z.ZodOptional<z.ZodString>;
|
|
1359
|
+
environment: z.ZodOptional<z.ZodObject<{
|
|
1160
1360
|
env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1161
|
-
|
|
1162
|
-
|
|
1163
|
-
|
|
1164
|
-
|
|
1165
|
-
|
|
1166
|
-
|
|
1167
|
-
|
|
1168
|
-
|
|
1169
|
-
|
|
1170
|
-
|
|
1171
|
-
|
|
1172
|
-
|
|
1173
|
-
|
|
1174
|
-
|
|
1175
|
-
|
|
1176
|
-
|
|
1361
|
+
mcp_servers: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1362
|
+
args: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1363
|
+
auth: z.ZodOptional<z.ZodObject<{
|
|
1364
|
+
secret: z.ZodString;
|
|
1365
|
+
}, z.core.$strict>>;
|
|
1366
|
+
command: z.ZodOptional<z.ZodString>;
|
|
1367
|
+
env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1368
|
+
name: z.ZodString;
|
|
1369
|
+
transport: z.ZodEnum<{
|
|
1370
|
+
sse: "sse";
|
|
1371
|
+
stdio: "stdio";
|
|
1372
|
+
streamable_http: "streamable_http";
|
|
1373
|
+
}>;
|
|
1374
|
+
url: z.ZodOptional<z.ZodString>;
|
|
1375
|
+
}, z.core.$strict>>>;
|
|
1376
|
+
packages: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1377
|
+
id: z.ZodString;
|
|
1378
|
+
manager: z.ZodEnum<{
|
|
1379
|
+
apt: "apt";
|
|
1380
|
+
npm: "npm";
|
|
1381
|
+
pipx: "pipx";
|
|
1382
|
+
}>;
|
|
1383
|
+
name: z.ZodString;
|
|
1384
|
+
scope: z.ZodOptional<z.ZodString>;
|
|
1385
|
+
version: z.ZodOptional<z.ZodString>;
|
|
1386
|
+
}, z.core.$strict>>>;
|
|
1387
|
+
secrets: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1388
|
+
name: z.ZodString;
|
|
1389
|
+
required: z.ZodBoolean;
|
|
1390
|
+
}, z.core.$strict>>>;
|
|
1391
|
+
}, z.core.$strict>>;
|
|
1392
|
+
workspace: z.ZodOptional<z.ZodObject<{
|
|
1393
|
+
docs: z.ZodOptional<z.ZodObject<{
|
|
1394
|
+
extras: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1395
|
+
heartbeat: z.ZodOptional<z.ZodString>;
|
|
1396
|
+
identity: z.ZodOptional<z.ZodString>;
|
|
1397
|
+
memory: z.ZodOptional<z.ZodString>;
|
|
1398
|
+
soul: z.ZodOptional<z.ZodString>;
|
|
1399
|
+
system: z.ZodOptional<z.ZodString>;
|
|
1177
1400
|
}, z.core.$strict>>;
|
|
1178
|
-
|
|
1401
|
+
resources: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1402
|
+
branch: z.ZodOptional<z.ZodString>;
|
|
1403
|
+
id: z.ZodString;
|
|
1404
|
+
kind: z.ZodLiteral<"git">;
|
|
1405
|
+
mount: z.ZodString;
|
|
1406
|
+
mode: z.ZodEnum<{
|
|
1407
|
+
readonly: "readonly";
|
|
1408
|
+
mutable: "mutable";
|
|
1409
|
+
}>;
|
|
1410
|
+
ref: z.ZodOptional<z.ZodString>;
|
|
1411
|
+
sharing: z.ZodOptional<z.ZodEnum<{
|
|
1412
|
+
per_agent: "per_agent";
|
|
1413
|
+
team: "team";
|
|
1414
|
+
}>>;
|
|
1415
|
+
tag: z.ZodOptional<z.ZodString>;
|
|
1416
|
+
url: z.ZodString;
|
|
1417
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1418
|
+
id: z.ZodString;
|
|
1419
|
+
kind: z.ZodLiteral<"volume">;
|
|
1420
|
+
mount: z.ZodString;
|
|
1421
|
+
mode: z.ZodEnum<{
|
|
1422
|
+
readonly: "readonly";
|
|
1423
|
+
mutable: "mutable";
|
|
1424
|
+
}>;
|
|
1425
|
+
name: z.ZodOptional<z.ZodString>;
|
|
1426
|
+
sharing: z.ZodOptional<z.ZodEnum<{
|
|
1427
|
+
per_agent: "per_agent";
|
|
1428
|
+
team: "team";
|
|
1429
|
+
}>>;
|
|
1430
|
+
}, z.core.$strict>], "kind">>>;
|
|
1431
|
+
skills: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1432
|
+
ref: z.ZodString;
|
|
1433
|
+
requires: z.ZodOptional<z.ZodObject<{
|
|
1434
|
+
mcp: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1435
|
+
}, z.core.$strict>>;
|
|
1436
|
+
}, z.core.$strict>>>;
|
|
1437
|
+
}, z.core.$strict>>;
|
|
1179
1438
|
}, z.core.$strict>>;
|
|
1180
1439
|
}, z.core.$strict>], "kind">;
|
|
1181
1440
|
export type AgentManifest = z.infer<typeof agentManifestSchema>;
|
|
1182
|
-
export type
|
|
1183
|
-
export type
|
|
1441
|
+
export type { AgentSchedule } from "./scheduleSchemas.js";
|
|
1442
|
+
export type DocsBlock = z.infer<typeof teamWorkspaceDocsSchema>;
|
|
1443
|
+
export type Environment = z.infer<typeof environmentSchema>;
|
|
1184
1444
|
export type Manifest = z.infer<typeof manifestSchema>;
|
|
1185
1445
|
export type ManifestMember = z.infer<typeof memberSchema>;
|
|
1186
1446
|
export type McpServer = z.infer<typeof mcpServerSchema>;
|
|
1187
|
-
export type ModelEndpoint = z.infer<typeof modelEndpointSchema>;
|
|
1188
|
-
export type ModelEntryAuth = z.infer<typeof modelEntryAuthSchema>;
|
|
1189
|
-
export type ModelTarget = z.infer<typeof modelTargetSchema>;
|
|
1190
1447
|
export type RuntimeBinding = z.infer<typeof runtimeBindingSchema>;
|
|
1448
|
+
export type Package = z.infer<typeof packageSchema>;
|
|
1191
1449
|
export type Secret = z.infer<typeof secretSchema>;
|
|
1192
1450
|
export type SharedSurface = z.infer<typeof sharedSurfaceSchema>;
|
|
1193
1451
|
export type SkillReference = z.infer<typeof skillReferenceSchema>;
|
|
1194
1452
|
export type TeamManifest = z.infer<typeof teamManifestSchema>;
|
|
1195
|
-
export type
|
|
1196
|
-
export type TeamNetworkRoom
|
|
1453
|
+
export type { ExecutionBlock, ModelEndpoint, ModelEntryAuth, ModelTarget } from "./executionSchemas.js";
|
|
1454
|
+
export type { TeamNetwork, TeamNetworkRoom, TeamNetworkServer, TeamWorkspace, TeamWorkspaceResource } from "./teamNetworkSchemas.js";
|
|
1197
1455
|
export type { DiscordSurface, DiscordSurfaceAccess, HttpSurface, HttpSurfaceAccess, HttpSurfaceAuth, MoltnetAttachment, MoltnetDM, MoltnetRead, MoltnetReply, MoltnetRoomBehavior, MoltnetSurface, SlackSurface, SlackSurfaceAccess, SurfacesBlock, TelegramSurface, TelegramSurfaceAccess, WebhookSurface, WhatsAppSurface, WhatsAppSurfaceAccess } from "./surfaceSchemas.js";
|
|
1198
1456
|
export declare const isAgentManifest: (manifest: Manifest) => manifest is AgentManifest;
|
|
1199
1457
|
export declare const isTeamManifest: (manifest: Manifest) => manifest is TeamManifest;
|