@dexto/agent-management 1.6.26 → 1.7.0
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/AgentManager.cjs +1 -1
- package/dist/AgentManager.d.ts +3 -35
- package/dist/AgentManager.d.ts.map +1 -1
- package/dist/AgentManager.js +1 -1
- package/dist/images/image-store.cjs +2 -0
- package/dist/images/image-store.d.ts +3 -39
- package/dist/images/image-store.d.ts.map +1 -1
- package/dist/images/image-store.js +2 -0
- package/dist/models/custom-models.d.ts +14 -62
- package/dist/models/custom-models.d.ts.map +1 -1
- package/dist/models/model-picker-state.d.ts +102 -101
- package/dist/models/model-picker-state.d.ts.map +1 -1
- package/dist/plugins/marketplace/schemas.cjs +1 -1
- package/dist/plugins/marketplace/schemas.d.ts +32 -196
- package/dist/plugins/marketplace/schemas.d.ts.map +1 -1
- package/dist/plugins/marketplace/schemas.js +1 -1
- package/dist/plugins/schemas.cjs +2 -2
- package/dist/plugins/schemas.d.ts +17 -143
- package/dist/plugins/schemas.d.ts.map +1 -1
- package/dist/plugins/schemas.js +2 -2
- package/dist/preferences/schemas.cjs +2 -2
- package/dist/preferences/schemas.d.ts +78 -246
- package/dist/preferences/schemas.d.ts.map +1 -1
- package/dist/preferences/schemas.js +2 -2
- package/dist/project-registry.d.ts +6 -86
- package/dist/project-registry.d.ts.map +1 -1
- package/dist/registry/types.d.ts +13 -73
- package/dist/registry/types.d.ts.map +1 -1
- package/dist/runtime/schemas.cjs +2 -2
- package/dist/runtime/schemas.d.ts +26 -31
- package/dist/runtime/schemas.d.ts.map +1 -1
- package/dist/runtime/schemas.js +2 -2
- package/dist/tool-factories/agent-spawner/factory.cjs +18 -5
- package/dist/tool-factories/agent-spawner/factory.d.ts.map +1 -1
- package/dist/tool-factories/agent-spawner/factory.js +18 -5
- package/dist/tool-factories/agent-spawner/schemas.d.ts +4 -61
- package/dist/tool-factories/agent-spawner/schemas.d.ts.map +1 -1
- package/dist/tool-factories/creator-tools/schemas.d.ts +9 -8
- package/dist/tool-factories/creator-tools/schemas.d.ts.map +1 -1
- package/package.json +7 -7
|
@@ -1,79 +1,48 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
export declare const PreferenceLLMSchema: z.
|
|
3
|
-
provider: z.ZodEnum<
|
|
4
|
-
|
|
2
|
+
export declare const PreferenceLLMSchema: z.ZodObject<{
|
|
3
|
+
provider: z.ZodEnum<{
|
|
4
|
+
openai: "openai";
|
|
5
|
+
"openai-compatible": "openai-compatible";
|
|
6
|
+
anthropic: "anthropic";
|
|
7
|
+
google: "google";
|
|
8
|
+
groq: "groq";
|
|
9
|
+
xai: "xai";
|
|
10
|
+
cohere: "cohere";
|
|
11
|
+
minimax: "minimax";
|
|
12
|
+
glm: "glm";
|
|
13
|
+
openrouter: "openrouter";
|
|
14
|
+
litellm: "litellm";
|
|
15
|
+
glama: "glama";
|
|
16
|
+
vertex: "vertex";
|
|
17
|
+
bedrock: "bedrock";
|
|
18
|
+
local: "local";
|
|
19
|
+
ollama: "ollama";
|
|
20
|
+
"dexto-nova": "dexto-nova";
|
|
21
|
+
}>;
|
|
22
|
+
model: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
|
|
5
23
|
apiKey: z.ZodOptional<z.ZodString>;
|
|
6
|
-
baseURL: z.ZodOptional<z.
|
|
24
|
+
baseURL: z.ZodOptional<z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodTransform<string | undefined, string>>>;
|
|
7
25
|
reasoning: z.ZodOptional<z.ZodObject<{
|
|
8
26
|
variant: z.ZodString;
|
|
9
27
|
budgetTokens: z.ZodOptional<z.ZodNumber>;
|
|
10
|
-
},
|
|
11
|
-
|
|
12
|
-
budgetTokens?: number | undefined;
|
|
13
|
-
}, {
|
|
14
|
-
variant: string;
|
|
15
|
-
budgetTokens?: number | undefined;
|
|
16
|
-
}>>;
|
|
17
|
-
}, "strict", z.ZodTypeAny, {
|
|
18
|
-
provider: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "minimax" | "glm" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | "dexto-nova";
|
|
19
|
-
model: string;
|
|
20
|
-
apiKey?: string | undefined;
|
|
21
|
-
baseURL?: string | undefined;
|
|
22
|
-
reasoning?: {
|
|
23
|
-
variant: string;
|
|
24
|
-
budgetTokens?: number | undefined;
|
|
25
|
-
} | undefined;
|
|
26
|
-
}, {
|
|
27
|
-
provider: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "minimax" | "glm" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | "dexto-nova";
|
|
28
|
-
model: string;
|
|
29
|
-
apiKey?: string | undefined;
|
|
30
|
-
baseURL?: string | undefined;
|
|
31
|
-
reasoning?: {
|
|
32
|
-
variant: string;
|
|
33
|
-
budgetTokens?: number | undefined;
|
|
34
|
-
} | undefined;
|
|
35
|
-
}>, {
|
|
36
|
-
provider: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "minimax" | "glm" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | "dexto-nova";
|
|
37
|
-
model: string;
|
|
38
|
-
apiKey?: string | undefined;
|
|
39
|
-
baseURL?: string | undefined;
|
|
40
|
-
reasoning?: {
|
|
41
|
-
variant: string;
|
|
42
|
-
budgetTokens?: number | undefined;
|
|
43
|
-
} | undefined;
|
|
44
|
-
}, {
|
|
45
|
-
provider: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "minimax" | "glm" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | "dexto-nova";
|
|
46
|
-
model: string;
|
|
47
|
-
apiKey?: string | undefined;
|
|
48
|
-
baseURL?: string | undefined;
|
|
49
|
-
reasoning?: {
|
|
50
|
-
variant: string;
|
|
51
|
-
budgetTokens?: number | undefined;
|
|
52
|
-
} | undefined;
|
|
53
|
-
}>;
|
|
28
|
+
}, z.core.$strict>>;
|
|
29
|
+
}, z.core.$strict>;
|
|
54
30
|
export declare const PreferenceDefaultsSchema: z.ZodObject<{
|
|
55
31
|
defaultAgent: z.ZodString;
|
|
56
|
-
defaultMode: z.ZodDefault<z.ZodEnum<
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
}
|
|
32
|
+
defaultMode: z.ZodDefault<z.ZodEnum<{
|
|
33
|
+
cli: "cli";
|
|
34
|
+
web: "web";
|
|
35
|
+
server: "server";
|
|
36
|
+
discord: "discord";
|
|
37
|
+
telegram: "telegram";
|
|
38
|
+
mcp: "mcp";
|
|
39
|
+
}>>;
|
|
40
|
+
}, z.core.$strict>;
|
|
64
41
|
export declare const PreferenceSetupSchema: z.ZodObject<{
|
|
65
42
|
completed: z.ZodDefault<z.ZodBoolean>;
|
|
66
43
|
apiKeyPending: z.ZodDefault<z.ZodBoolean>;
|
|
67
44
|
baseURLPending: z.ZodDefault<z.ZodBoolean>;
|
|
68
|
-
},
|
|
69
|
-
completed: boolean;
|
|
70
|
-
apiKeyPending: boolean;
|
|
71
|
-
baseURLPending: boolean;
|
|
72
|
-
}, {
|
|
73
|
-
completed?: boolean | undefined;
|
|
74
|
-
apiKeyPending?: boolean | undefined;
|
|
75
|
-
baseURLPending?: boolean | undefined;
|
|
76
|
-
}>;
|
|
45
|
+
}, z.core.$strict>;
|
|
77
46
|
export declare const PreferenceSoundsSchema: z.ZodObject<{
|
|
78
47
|
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
79
48
|
onStartup: z.ZodDefault<z.ZodBoolean>;
|
|
@@ -82,124 +51,61 @@ export declare const PreferenceSoundsSchema: z.ZodObject<{
|
|
|
82
51
|
approvalSoundFile: z.ZodOptional<z.ZodString>;
|
|
83
52
|
onTaskComplete: z.ZodDefault<z.ZodBoolean>;
|
|
84
53
|
completeSoundFile: z.ZodOptional<z.ZodString>;
|
|
85
|
-
},
|
|
86
|
-
enabled: boolean;
|
|
87
|
-
onStartup: boolean;
|
|
88
|
-
onApprovalRequired: boolean;
|
|
89
|
-
onTaskComplete: boolean;
|
|
90
|
-
startupSoundFile?: string | undefined;
|
|
91
|
-
approvalSoundFile?: string | undefined;
|
|
92
|
-
completeSoundFile?: string | undefined;
|
|
93
|
-
}, {
|
|
94
|
-
enabled?: boolean | undefined;
|
|
95
|
-
onStartup?: boolean | undefined;
|
|
96
|
-
startupSoundFile?: string | undefined;
|
|
97
|
-
onApprovalRequired?: boolean | undefined;
|
|
98
|
-
approvalSoundFile?: string | undefined;
|
|
99
|
-
onTaskComplete?: boolean | undefined;
|
|
100
|
-
completeSoundFile?: string | undefined;
|
|
101
|
-
}>;
|
|
54
|
+
}, z.core.$strict>;
|
|
102
55
|
export declare const AgentToolPreferencesSchema: z.ZodObject<{
|
|
103
|
-
disabled: z.ZodDefault<z.ZodArray<z.
|
|
104
|
-
},
|
|
105
|
-
disabled: string[];
|
|
106
|
-
}, {
|
|
107
|
-
disabled?: string[] | undefined;
|
|
108
|
-
}>;
|
|
56
|
+
disabled: z.ZodDefault<z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>>>;
|
|
57
|
+
}, z.core.$strict>;
|
|
109
58
|
export declare const AgentPreferencesSchema: z.ZodObject<{
|
|
110
59
|
tools: z.ZodDefault<z.ZodObject<{
|
|
111
|
-
disabled: z.ZodDefault<z.ZodArray<z.
|
|
112
|
-
},
|
|
113
|
-
|
|
114
|
-
}, {
|
|
115
|
-
disabled?: string[] | undefined;
|
|
116
|
-
}>>;
|
|
117
|
-
}, "strict", z.ZodTypeAny, {
|
|
118
|
-
tools: {
|
|
119
|
-
disabled: string[];
|
|
120
|
-
};
|
|
121
|
-
}, {
|
|
122
|
-
tools?: {
|
|
123
|
-
disabled?: string[] | undefined;
|
|
124
|
-
} | undefined;
|
|
125
|
-
}>;
|
|
60
|
+
disabled: z.ZodDefault<z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>>>;
|
|
61
|
+
}, z.core.$strict>>;
|
|
62
|
+
}, z.core.$strict>;
|
|
126
63
|
export declare const GlobalPreferencesSchema: z.ZodObject<{
|
|
127
|
-
llm: z.
|
|
128
|
-
provider: z.ZodEnum<
|
|
129
|
-
|
|
64
|
+
llm: z.ZodObject<{
|
|
65
|
+
provider: z.ZodEnum<{
|
|
66
|
+
openai: "openai";
|
|
67
|
+
"openai-compatible": "openai-compatible";
|
|
68
|
+
anthropic: "anthropic";
|
|
69
|
+
google: "google";
|
|
70
|
+
groq: "groq";
|
|
71
|
+
xai: "xai";
|
|
72
|
+
cohere: "cohere";
|
|
73
|
+
minimax: "minimax";
|
|
74
|
+
glm: "glm";
|
|
75
|
+
openrouter: "openrouter";
|
|
76
|
+
litellm: "litellm";
|
|
77
|
+
glama: "glama";
|
|
78
|
+
vertex: "vertex";
|
|
79
|
+
bedrock: "bedrock";
|
|
80
|
+
local: "local";
|
|
81
|
+
ollama: "ollama";
|
|
82
|
+
"dexto-nova": "dexto-nova";
|
|
83
|
+
}>;
|
|
84
|
+
model: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
|
|
130
85
|
apiKey: z.ZodOptional<z.ZodString>;
|
|
131
|
-
baseURL: z.ZodOptional<z.
|
|
86
|
+
baseURL: z.ZodOptional<z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodTransform<string | undefined, string>>>;
|
|
132
87
|
reasoning: z.ZodOptional<z.ZodObject<{
|
|
133
88
|
variant: z.ZodString;
|
|
134
89
|
budgetTokens: z.ZodOptional<z.ZodNumber>;
|
|
135
|
-
},
|
|
136
|
-
|
|
137
|
-
budgetTokens?: number | undefined;
|
|
138
|
-
}, {
|
|
139
|
-
variant: string;
|
|
140
|
-
budgetTokens?: number | undefined;
|
|
141
|
-
}>>;
|
|
142
|
-
}, "strict", z.ZodTypeAny, {
|
|
143
|
-
provider: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "minimax" | "glm" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | "dexto-nova";
|
|
144
|
-
model: string;
|
|
145
|
-
apiKey?: string | undefined;
|
|
146
|
-
baseURL?: string | undefined;
|
|
147
|
-
reasoning?: {
|
|
148
|
-
variant: string;
|
|
149
|
-
budgetTokens?: number | undefined;
|
|
150
|
-
} | undefined;
|
|
151
|
-
}, {
|
|
152
|
-
provider: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "minimax" | "glm" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | "dexto-nova";
|
|
153
|
-
model: string;
|
|
154
|
-
apiKey?: string | undefined;
|
|
155
|
-
baseURL?: string | undefined;
|
|
156
|
-
reasoning?: {
|
|
157
|
-
variant: string;
|
|
158
|
-
budgetTokens?: number | undefined;
|
|
159
|
-
} | undefined;
|
|
160
|
-
}>, {
|
|
161
|
-
provider: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "minimax" | "glm" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | "dexto-nova";
|
|
162
|
-
model: string;
|
|
163
|
-
apiKey?: string | undefined;
|
|
164
|
-
baseURL?: string | undefined;
|
|
165
|
-
reasoning?: {
|
|
166
|
-
variant: string;
|
|
167
|
-
budgetTokens?: number | undefined;
|
|
168
|
-
} | undefined;
|
|
169
|
-
}, {
|
|
170
|
-
provider: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "minimax" | "glm" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | "dexto-nova";
|
|
171
|
-
model: string;
|
|
172
|
-
apiKey?: string | undefined;
|
|
173
|
-
baseURL?: string | undefined;
|
|
174
|
-
reasoning?: {
|
|
175
|
-
variant: string;
|
|
176
|
-
budgetTokens?: number | undefined;
|
|
177
|
-
} | undefined;
|
|
178
|
-
}>;
|
|
90
|
+
}, z.core.$strict>>;
|
|
91
|
+
}, z.core.$strict>;
|
|
179
92
|
defaults: z.ZodObject<{
|
|
180
93
|
defaultAgent: z.ZodString;
|
|
181
|
-
defaultMode: z.ZodDefault<z.ZodEnum<
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
94
|
+
defaultMode: z.ZodDefault<z.ZodEnum<{
|
|
95
|
+
cli: "cli";
|
|
96
|
+
web: "web";
|
|
97
|
+
server: "server";
|
|
98
|
+
discord: "discord";
|
|
99
|
+
telegram: "telegram";
|
|
100
|
+
mcp: "mcp";
|
|
101
|
+
}>>;
|
|
102
|
+
}, z.core.$strict>;
|
|
103
|
+
setup: z.ZodPrefault<z.ZodObject<{
|
|
190
104
|
completed: z.ZodDefault<z.ZodBoolean>;
|
|
191
105
|
apiKeyPending: z.ZodDefault<z.ZodBoolean>;
|
|
192
106
|
baseURLPending: z.ZodDefault<z.ZodBoolean>;
|
|
193
|
-
},
|
|
194
|
-
|
|
195
|
-
apiKeyPending: boolean;
|
|
196
|
-
baseURLPending: boolean;
|
|
197
|
-
}, {
|
|
198
|
-
completed?: boolean | undefined;
|
|
199
|
-
apiKeyPending?: boolean | undefined;
|
|
200
|
-
baseURLPending?: boolean | undefined;
|
|
201
|
-
}>>;
|
|
202
|
-
sounds: z.ZodDefault<z.ZodObject<{
|
|
107
|
+
}, z.core.$strict>>;
|
|
108
|
+
sounds: z.ZodPrefault<z.ZodObject<{
|
|
203
109
|
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
204
110
|
onStartup: z.ZodDefault<z.ZodBoolean>;
|
|
205
111
|
startupSoundFile: z.ZodOptional<z.ZodString>;
|
|
@@ -207,82 +113,8 @@ export declare const GlobalPreferencesSchema: z.ZodObject<{
|
|
|
207
113
|
approvalSoundFile: z.ZodOptional<z.ZodString>;
|
|
208
114
|
onTaskComplete: z.ZodDefault<z.ZodBoolean>;
|
|
209
115
|
completeSoundFile: z.ZodOptional<z.ZodString>;
|
|
210
|
-
},
|
|
211
|
-
|
|
212
|
-
onStartup: boolean;
|
|
213
|
-
onApprovalRequired: boolean;
|
|
214
|
-
onTaskComplete: boolean;
|
|
215
|
-
startupSoundFile?: string | undefined;
|
|
216
|
-
approvalSoundFile?: string | undefined;
|
|
217
|
-
completeSoundFile?: string | undefined;
|
|
218
|
-
}, {
|
|
219
|
-
enabled?: boolean | undefined;
|
|
220
|
-
onStartup?: boolean | undefined;
|
|
221
|
-
startupSoundFile?: string | undefined;
|
|
222
|
-
onApprovalRequired?: boolean | undefined;
|
|
223
|
-
approvalSoundFile?: string | undefined;
|
|
224
|
-
onTaskComplete?: boolean | undefined;
|
|
225
|
-
completeSoundFile?: string | undefined;
|
|
226
|
-
}>>;
|
|
227
|
-
}, "strict", z.ZodTypeAny, {
|
|
228
|
-
llm: {
|
|
229
|
-
provider: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "minimax" | "glm" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | "dexto-nova";
|
|
230
|
-
model: string;
|
|
231
|
-
apiKey?: string | undefined;
|
|
232
|
-
baseURL?: string | undefined;
|
|
233
|
-
reasoning?: {
|
|
234
|
-
variant: string;
|
|
235
|
-
budgetTokens?: number | undefined;
|
|
236
|
-
} | undefined;
|
|
237
|
-
};
|
|
238
|
-
defaults: {
|
|
239
|
-
defaultAgent: string;
|
|
240
|
-
defaultMode: "cli" | "web" | "server" | "discord" | "telegram" | "mcp";
|
|
241
|
-
};
|
|
242
|
-
setup: {
|
|
243
|
-
completed: boolean;
|
|
244
|
-
apiKeyPending: boolean;
|
|
245
|
-
baseURLPending: boolean;
|
|
246
|
-
};
|
|
247
|
-
sounds: {
|
|
248
|
-
enabled: boolean;
|
|
249
|
-
onStartup: boolean;
|
|
250
|
-
onApprovalRequired: boolean;
|
|
251
|
-
onTaskComplete: boolean;
|
|
252
|
-
startupSoundFile?: string | undefined;
|
|
253
|
-
approvalSoundFile?: string | undefined;
|
|
254
|
-
completeSoundFile?: string | undefined;
|
|
255
|
-
};
|
|
256
|
-
}, {
|
|
257
|
-
llm: {
|
|
258
|
-
provider: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "minimax" | "glm" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | "dexto-nova";
|
|
259
|
-
model: string;
|
|
260
|
-
apiKey?: string | undefined;
|
|
261
|
-
baseURL?: string | undefined;
|
|
262
|
-
reasoning?: {
|
|
263
|
-
variant: string;
|
|
264
|
-
budgetTokens?: number | undefined;
|
|
265
|
-
} | undefined;
|
|
266
|
-
};
|
|
267
|
-
defaults: {
|
|
268
|
-
defaultAgent: string;
|
|
269
|
-
defaultMode?: "cli" | "web" | "server" | "discord" | "telegram" | "mcp" | undefined;
|
|
270
|
-
};
|
|
271
|
-
setup?: {
|
|
272
|
-
completed?: boolean | undefined;
|
|
273
|
-
apiKeyPending?: boolean | undefined;
|
|
274
|
-
baseURLPending?: boolean | undefined;
|
|
275
|
-
} | undefined;
|
|
276
|
-
sounds?: {
|
|
277
|
-
enabled?: boolean | undefined;
|
|
278
|
-
onStartup?: boolean | undefined;
|
|
279
|
-
startupSoundFile?: string | undefined;
|
|
280
|
-
onApprovalRequired?: boolean | undefined;
|
|
281
|
-
approvalSoundFile?: string | undefined;
|
|
282
|
-
onTaskComplete?: boolean | undefined;
|
|
283
|
-
completeSoundFile?: string | undefined;
|
|
284
|
-
} | undefined;
|
|
285
|
-
}>;
|
|
116
|
+
}, z.core.$strict>>;
|
|
117
|
+
}, z.core.$strict>;
|
|
286
118
|
export type PreferenceLLM = z.output<typeof PreferenceLLMSchema>;
|
|
287
119
|
export type PreferenceDefaults = z.output<typeof PreferenceDefaultsSchema>;
|
|
288
120
|
export type PreferenceSetup = z.output<typeof PreferenceSetupSchema>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"schemas.d.ts","sourceRoot":"","sources":["../../src/preferences/schemas.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAgBxB,eAAO,MAAM,mBAAmB
|
|
1
|
+
{"version":3,"file":"schemas.d.ts","sourceRoot":"","sources":["../../src/preferences/schemas.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAgBxB,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;kBAuH1B,CAAC;AAEP,eAAO,MAAM,wBAAwB;;;;;;;;;;kBAYxB,CAAC;AAEd,eAAO,MAAM,qBAAqB;;;;kBAYrB,CAAC;AAEd,eAAO,MAAM,sBAAsB;;;;;;;;kBAiCtB,CAAC;AAEd,eAAO,MAAM,0BAA0B;;kBAO1B,CAAC;AAEd,eAAO,MAAM,sBAAsB;;;;kBAMtB,CAAC;AAEd,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBAcvB,CAAC;AAGd,MAAM,MAAM,aAAa,GAAG,CAAC,CAAC,MAAM,CAAC,OAAO,mBAAmB,CAAC,CAAC;AACjE,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,MAAM,CAAC,OAAO,wBAAwB,CAAC,CAAC;AAC3E,MAAM,MAAM,eAAe,GAAG,CAAC,CAAC,MAAM,CAAC,OAAO,qBAAqB,CAAC,CAAC;AACrE,MAAM,MAAM,gBAAgB,GAAG,CAAC,CAAC,MAAM,CAAC,OAAO,sBAAsB,CAAC,CAAC;AACvE,MAAM,MAAM,oBAAoB,GAAG,CAAC,CAAC,MAAM,CAAC,OAAO,0BAA0B,CAAC,CAAC;AAC/E,MAAM,MAAM,gBAAgB,GAAG,CAAC,CAAC,MAAM,CAAC,OAAO,sBAAsB,CAAC,CAAC;AACvE,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,MAAM,CAAC,OAAO,uBAAuB,CAAC,CAAC"}
|
|
@@ -121,10 +121,10 @@ const AgentPreferencesSchema = z.object({
|
|
|
121
121
|
const GlobalPreferencesSchema = z.object({
|
|
122
122
|
llm: PreferenceLLMSchema.describe("LLM configuration preferences"),
|
|
123
123
|
defaults: PreferenceDefaultsSchema.describe("Default behavior preferences (required)"),
|
|
124
|
-
setup: PreferenceSetupSchema.
|
|
124
|
+
setup: PreferenceSetupSchema.prefault({ completed: false }).describe(
|
|
125
125
|
"Setup completion tracking"
|
|
126
126
|
),
|
|
127
|
-
sounds: PreferenceSoundsSchema.
|
|
127
|
+
sounds: PreferenceSoundsSchema.prefault({}).describe(
|
|
128
128
|
"Sound notification preferences (defaults applied for legacy preferences)"
|
|
129
129
|
)
|
|
130
130
|
}).strict();
|
|
@@ -5,27 +5,11 @@ export declare const ProjectRegistryEntrySchema: z.ZodObject<{
|
|
|
5
5
|
description: z.ZodString;
|
|
6
6
|
configPath: z.ZodString;
|
|
7
7
|
author: z.ZodOptional<z.ZodString>;
|
|
8
|
-
tags: z.ZodOptional<z.ZodArray<z.ZodString
|
|
8
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
9
9
|
parentAgentId: z.ZodOptional<z.ZodString>;
|
|
10
|
-
},
|
|
11
|
-
id: string;
|
|
12
|
-
name: string;
|
|
13
|
-
description: string;
|
|
14
|
-
configPath: string;
|
|
15
|
-
author?: string | undefined;
|
|
16
|
-
tags?: string[] | undefined;
|
|
17
|
-
parentAgentId?: string | undefined;
|
|
18
|
-
}, {
|
|
19
|
-
id: string;
|
|
20
|
-
name: string;
|
|
21
|
-
description: string;
|
|
22
|
-
configPath: string;
|
|
23
|
-
author?: string | undefined;
|
|
24
|
-
tags?: string[] | undefined;
|
|
25
|
-
parentAgentId?: string | undefined;
|
|
26
|
-
}>;
|
|
10
|
+
}, z.core.$strict>;
|
|
27
11
|
export type ProjectRegistryEntry = z.output<typeof ProjectRegistryEntrySchema>;
|
|
28
|
-
export declare const ProjectRegistrySchema: z.
|
|
12
|
+
export declare const ProjectRegistrySchema: z.ZodObject<{
|
|
29
13
|
primaryAgent: z.ZodOptional<z.ZodString>;
|
|
30
14
|
allowGlobalAgents: z.ZodDefault<z.ZodBoolean>;
|
|
31
15
|
agents: z.ZodArray<z.ZodObject<{
|
|
@@ -34,74 +18,10 @@ export declare const ProjectRegistrySchema: z.ZodEffects<z.ZodObject<{
|
|
|
34
18
|
description: z.ZodString;
|
|
35
19
|
configPath: z.ZodString;
|
|
36
20
|
author: z.ZodOptional<z.ZodString>;
|
|
37
|
-
tags: z.ZodOptional<z.ZodArray<z.ZodString
|
|
21
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
38
22
|
parentAgentId: z.ZodOptional<z.ZodString>;
|
|
39
|
-
},
|
|
40
|
-
|
|
41
|
-
name: string;
|
|
42
|
-
description: string;
|
|
43
|
-
configPath: string;
|
|
44
|
-
author?: string | undefined;
|
|
45
|
-
tags?: string[] | undefined;
|
|
46
|
-
parentAgentId?: string | undefined;
|
|
47
|
-
}, {
|
|
48
|
-
id: string;
|
|
49
|
-
name: string;
|
|
50
|
-
description: string;
|
|
51
|
-
configPath: string;
|
|
52
|
-
author?: string | undefined;
|
|
53
|
-
tags?: string[] | undefined;
|
|
54
|
-
parentAgentId?: string | undefined;
|
|
55
|
-
}>, "many">;
|
|
56
|
-
}, "strict", z.ZodTypeAny, {
|
|
57
|
-
agents: {
|
|
58
|
-
id: string;
|
|
59
|
-
name: string;
|
|
60
|
-
description: string;
|
|
61
|
-
configPath: string;
|
|
62
|
-
author?: string | undefined;
|
|
63
|
-
tags?: string[] | undefined;
|
|
64
|
-
parentAgentId?: string | undefined;
|
|
65
|
-
}[];
|
|
66
|
-
allowGlobalAgents: boolean;
|
|
67
|
-
primaryAgent?: string | undefined;
|
|
68
|
-
}, {
|
|
69
|
-
agents: {
|
|
70
|
-
id: string;
|
|
71
|
-
name: string;
|
|
72
|
-
description: string;
|
|
73
|
-
configPath: string;
|
|
74
|
-
author?: string | undefined;
|
|
75
|
-
tags?: string[] | undefined;
|
|
76
|
-
parentAgentId?: string | undefined;
|
|
77
|
-
}[];
|
|
78
|
-
primaryAgent?: string | undefined;
|
|
79
|
-
allowGlobalAgents?: boolean | undefined;
|
|
80
|
-
}>, {
|
|
81
|
-
agents: {
|
|
82
|
-
id: string;
|
|
83
|
-
name: string;
|
|
84
|
-
description: string;
|
|
85
|
-
configPath: string;
|
|
86
|
-
author?: string | undefined;
|
|
87
|
-
tags?: string[] | undefined;
|
|
88
|
-
parentAgentId?: string | undefined;
|
|
89
|
-
}[];
|
|
90
|
-
allowGlobalAgents: boolean;
|
|
91
|
-
primaryAgent?: string | undefined;
|
|
92
|
-
}, {
|
|
93
|
-
agents: {
|
|
94
|
-
id: string;
|
|
95
|
-
name: string;
|
|
96
|
-
description: string;
|
|
97
|
-
configPath: string;
|
|
98
|
-
author?: string | undefined;
|
|
99
|
-
tags?: string[] | undefined;
|
|
100
|
-
parentAgentId?: string | undefined;
|
|
101
|
-
}[];
|
|
102
|
-
primaryAgent?: string | undefined;
|
|
103
|
-
allowGlobalAgents?: boolean | undefined;
|
|
104
|
-
}>;
|
|
23
|
+
}, z.core.$strict>>;
|
|
24
|
+
}, z.core.$strict>;
|
|
105
25
|
export type ProjectRegistry = z.output<typeof ProjectRegistrySchema>;
|
|
106
26
|
export type ProjectRegistryErrorCode = 'PROJECT_REGISTRY_INVALID' | 'PROJECT_REGISTRY_INVALID_PRIMARY' | 'PROJECT_REGISTRY_INVALID_CONFIG_PATH';
|
|
107
27
|
export declare class ProjectRegistryError extends Error {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"project-registry.d.ts","sourceRoot":"","sources":["../src/project-registry.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB,eAAO,MAAM,0BAA0B
|
|
1
|
+
{"version":3,"file":"project-registry.d.ts","sourceRoot":"","sources":["../src/project-registry.ts"],"names":[],"mappings":"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"}
|
package/dist/registry/types.d.ts
CHANGED
|
@@ -8,32 +8,15 @@ export declare const AgentRegistryEntrySchema: z.ZodObject<{
|
|
|
8
8
|
name: z.ZodString;
|
|
9
9
|
description: z.ZodString;
|
|
10
10
|
author: z.ZodString;
|
|
11
|
-
tags: z.ZodArray<z.ZodString
|
|
11
|
+
tags: z.ZodArray<z.ZodString>;
|
|
12
12
|
source: z.ZodString;
|
|
13
13
|
main: z.ZodOptional<z.ZodString>;
|
|
14
14
|
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
15
|
-
type: z.ZodDefault<z.ZodEnum<
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
author: string;
|
|
21
|
-
tags: string[];
|
|
22
|
-
type: "custom" | "builtin";
|
|
23
|
-
source: string;
|
|
24
|
-
main?: string | undefined;
|
|
25
|
-
enabled?: boolean | undefined;
|
|
26
|
-
}, {
|
|
27
|
-
id: string;
|
|
28
|
-
name: string;
|
|
29
|
-
description: string;
|
|
30
|
-
author: string;
|
|
31
|
-
tags: string[];
|
|
32
|
-
source: string;
|
|
33
|
-
type?: "custom" | "builtin" | undefined;
|
|
34
|
-
main?: string | undefined;
|
|
35
|
-
enabled?: boolean | undefined;
|
|
36
|
-
}>;
|
|
15
|
+
type: z.ZodDefault<z.ZodEnum<{
|
|
16
|
+
custom: "custom";
|
|
17
|
+
builtin: "builtin";
|
|
18
|
+
}>>;
|
|
19
|
+
}, z.core.$strict>;
|
|
37
20
|
export type AgentRegistryEntry = z.output<typeof AgentRegistryEntrySchema>;
|
|
38
21
|
/**
|
|
39
22
|
* Schema for complete registry JSON
|
|
@@ -45,59 +28,16 @@ export declare const RegistrySchema: z.ZodObject<{
|
|
|
45
28
|
name: z.ZodString;
|
|
46
29
|
description: z.ZodString;
|
|
47
30
|
author: z.ZodString;
|
|
48
|
-
tags: z.ZodArray<z.ZodString
|
|
31
|
+
tags: z.ZodArray<z.ZodString>;
|
|
49
32
|
source: z.ZodString;
|
|
50
33
|
main: z.ZodOptional<z.ZodString>;
|
|
51
34
|
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
52
|
-
type: z.ZodDefault<z.ZodEnum<
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
tags: string[];
|
|
59
|
-
type: "custom" | "builtin";
|
|
60
|
-
source: string;
|
|
61
|
-
main?: string | undefined;
|
|
62
|
-
enabled?: boolean | undefined;
|
|
63
|
-
}, {
|
|
64
|
-
id: string;
|
|
65
|
-
name: string;
|
|
66
|
-
description: string;
|
|
67
|
-
author: string;
|
|
68
|
-
tags: string[];
|
|
69
|
-
source: string;
|
|
70
|
-
type?: "custom" | "builtin" | undefined;
|
|
71
|
-
main?: string | undefined;
|
|
72
|
-
enabled?: boolean | undefined;
|
|
73
|
-
}>>;
|
|
74
|
-
}, "strict", z.ZodTypeAny, {
|
|
75
|
-
agents: Record<string, {
|
|
76
|
-
id: string;
|
|
77
|
-
name: string;
|
|
78
|
-
description: string;
|
|
79
|
-
author: string;
|
|
80
|
-
tags: string[];
|
|
81
|
-
type: "custom" | "builtin";
|
|
82
|
-
source: string;
|
|
83
|
-
main?: string | undefined;
|
|
84
|
-
enabled?: boolean | undefined;
|
|
85
|
-
}>;
|
|
86
|
-
version: string;
|
|
87
|
-
}, {
|
|
88
|
-
agents: Record<string, {
|
|
89
|
-
id: string;
|
|
90
|
-
name: string;
|
|
91
|
-
description: string;
|
|
92
|
-
author: string;
|
|
93
|
-
tags: string[];
|
|
94
|
-
source: string;
|
|
95
|
-
type?: "custom" | "builtin" | undefined;
|
|
96
|
-
main?: string | undefined;
|
|
97
|
-
enabled?: boolean | undefined;
|
|
98
|
-
}>;
|
|
99
|
-
version: string;
|
|
100
|
-
}>;
|
|
35
|
+
type: z.ZodDefault<z.ZodEnum<{
|
|
36
|
+
custom: "custom";
|
|
37
|
+
builtin: "builtin";
|
|
38
|
+
}>>;
|
|
39
|
+
}, z.core.$strict>>;
|
|
40
|
+
}, z.core.$strict>;
|
|
101
41
|
export type Registry = z.output<typeof RegistrySchema>;
|
|
102
42
|
type RawRegistry = {
|
|
103
43
|
version?: unknown;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/registry/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,wBAAgB,iBAAiB,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,CAMtD;AAED;;GAEG;AACH,eAAO,MAAM,wBAAwB
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/registry/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,wBAAgB,iBAAiB,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,CAMtD;AAED;;GAEG;AACH,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;kBAYxB,CAAC;AAEd,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,MAAM,CAAC,OAAO,wBAAwB,CAAC,CAAC;AAE3E;;GAEG;AACH,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;kBAKd,CAAC;AAEd,MAAM,MAAM,QAAQ,GAAG,CAAC,CAAC,MAAM,CAAC,OAAO,cAAc,CAAC,CAAC;AAEvD,KAAK,WAAW,GAAG;IACf,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,MAAM,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,OAAO,CAAC;CAC9C,CAAC;AAEF;;;GAGG;AACH,wBAAgB,qBAAqB,CAAC,GAAG,EAAE,OAAO,GAAG,WAAW,CA0C/D;AAED;;GAEG;AACH,MAAM,WAAW,aAAa;IAC1B;;OAEG;IACH,QAAQ,CAAC,OAAO,EAAE,MAAM,GAAG,OAAO,CAAC;IACnC;;OAEG;IACH,kBAAkB,IAAI,MAAM,CAAC,MAAM,EAAE,kBAAkB,CAAC,CAAC;IACzD;;;;OAIG;IACH,YAAY,CAAC,OAAO,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC,CAAC;IAC/C;;;;OAIG;IACH,cAAc,CAAC,OAAO,EAAE,MAAM,EAAE,KAAK,CAAC,EAAE,OAAO,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IAChE;;OAEG;IACH,kBAAkB,IAAI,OAAO,CAAC,MAAM,EAAE,CAAC,CAAC;IACxC;;;;;OAKG;IACH,YAAY,CAAC,QAAQ,EAAE,MAAM,EAAE,WAAW,CAAC,EAAE,OAAO,GAAG,OAAO,CAAC,MAAM,CAAC,CAAC;CAC1E"}
|
package/dist/runtime/schemas.cjs
CHANGED
|
@@ -34,11 +34,11 @@ const AgentRuntimeConfigSchema = import_zod.z.object({
|
|
|
34
34
|
defaultTaskTimeout: import_zod.z.number().int().nonnegative().default(DEFAULT_TASK_TIMEOUT).describe("Default task timeout in milliseconds (0 = no timeout)")
|
|
35
35
|
}).strict().describe("Configuration for the AgentRuntime");
|
|
36
36
|
const SpawnConfigSchema = import_zod.z.object({
|
|
37
|
-
agentConfig: import_zod.z.record(import_zod.z.unknown()).describe("Base agent configuration"),
|
|
37
|
+
agentConfig: import_zod.z.record(import_zod.z.string(), import_zod.z.unknown()).describe("Base agent configuration"),
|
|
38
38
|
ephemeral: import_zod.z.boolean().default(true).describe("Whether agent should be destroyed after task completion"),
|
|
39
39
|
agentId: import_zod.z.string().min(1).optional().describe("Optional custom agent ID (auto-generated if not provided)"),
|
|
40
40
|
group: import_zod.z.string().min(1).optional().describe("Optional group identifier for logical grouping"),
|
|
41
|
-
metadata: import_zod.z.record(import_zod.z.unknown()).optional().describe("Optional metadata for tracking relationships or context")
|
|
41
|
+
metadata: import_zod.z.record(import_zod.z.string(), import_zod.z.unknown()).optional().describe("Optional metadata for tracking relationships or context")
|
|
42
42
|
}).strict().describe("Configuration for spawning an agent");
|
|
43
43
|
const AgentStatusSchema = import_zod.z.enum([
|
|
44
44
|
"starting",
|