@aigne/afs-domain-action 1.11.0-beta.7 → 1.11.0-beta.9
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/index.d.mts +53 -302
- package/dist/index.d.mts.map +1 -1
- package/package.json +3 -3
package/dist/index.d.mts
CHANGED
|
@@ -1,48 +1,32 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/types.d.ts
|
|
4
|
-
declare const EffectSchema: z.ZodUnion<[z.
|
|
4
|
+
declare const EffectSchema: z.ZodUnion<readonly [z.ZodPipe<z.ZodObject<{
|
|
5
5
|
write: z.ZodString;
|
|
6
|
-
},
|
|
7
|
-
write: string;
|
|
8
|
-
}, {
|
|
9
|
-
write: string;
|
|
10
|
-
}>, {
|
|
6
|
+
}, z.core.$strip>, z.ZodTransform<{
|
|
11
7
|
type: "write";
|
|
12
8
|
kind: string;
|
|
13
9
|
}, {
|
|
14
10
|
write: string;
|
|
15
|
-
}
|
|
11
|
+
}>>, z.ZodPipe<z.ZodObject<{
|
|
16
12
|
delete: z.ZodString;
|
|
17
|
-
},
|
|
18
|
-
delete: string;
|
|
19
|
-
}, {
|
|
20
|
-
delete: string;
|
|
21
|
-
}>, {
|
|
13
|
+
}, z.core.$strip>, z.ZodTransform<{
|
|
22
14
|
type: "delete";
|
|
23
15
|
kind: string;
|
|
24
16
|
}, {
|
|
25
17
|
delete: string;
|
|
26
|
-
}
|
|
18
|
+
}>>, z.ZodPipe<z.ZodObject<{
|
|
27
19
|
call: z.ZodString;
|
|
28
|
-
},
|
|
29
|
-
call: string;
|
|
30
|
-
}, {
|
|
31
|
-
call: string;
|
|
32
|
-
}>, {
|
|
20
|
+
}, z.core.$strip>, z.ZodTransform<{
|
|
33
21
|
type: "call";
|
|
34
22
|
provider: string;
|
|
35
23
|
}, {
|
|
36
24
|
call: string;
|
|
37
|
-
}
|
|
25
|
+
}>>]>;
|
|
38
26
|
type EffectSpec = z.output<typeof EffectSchema>;
|
|
39
|
-
declare const ConstraintSchema: z.
|
|
27
|
+
declare const ConstraintSchema: z.ZodPipe<z.ZodObject<{
|
|
40
28
|
requires: z.ZodString;
|
|
41
|
-
},
|
|
42
|
-
requires: string;
|
|
43
|
-
}, {
|
|
44
|
-
requires: string;
|
|
45
|
-
}>, {
|
|
29
|
+
}, z.core.$strip>, z.ZodTransform<{
|
|
46
30
|
type: "authenticated";
|
|
47
31
|
role?: undefined;
|
|
48
32
|
} | {
|
|
@@ -50,15 +34,15 @@ declare const ConstraintSchema: z.ZodEffects<z.ZodObject<{
|
|
|
50
34
|
role: string | undefined;
|
|
51
35
|
}, {
|
|
52
36
|
requires: string;
|
|
53
|
-
}
|
|
37
|
+
}>>;
|
|
54
38
|
type ConstraintSpec = z.output<typeof ConstraintSchema>;
|
|
55
|
-
declare const AutoFieldSchema: z.ZodUnion<[z.
|
|
39
|
+
declare const AutoFieldSchema: z.ZodUnion<readonly [z.ZodPipe<z.ZodNumber, z.ZodTransform<{
|
|
56
40
|
type: "literal";
|
|
57
41
|
value: number;
|
|
58
|
-
}, number
|
|
42
|
+
}, number>>, z.ZodPipe<z.ZodBoolean, z.ZodTransform<{
|
|
59
43
|
type: "literal";
|
|
60
44
|
value: boolean;
|
|
61
|
-
}, boolean
|
|
45
|
+
}, boolean>>, z.ZodPipe<z.ZodString, z.ZodTransform<{
|
|
62
46
|
type: "time";
|
|
63
47
|
key?: undefined;
|
|
64
48
|
field?: undefined;
|
|
@@ -78,7 +62,7 @@ declare const AutoFieldSchema: z.ZodUnion<[z.ZodEffects<z.ZodNumber, {
|
|
|
78
62
|
value: string;
|
|
79
63
|
key?: undefined;
|
|
80
64
|
field?: undefined;
|
|
81
|
-
}, string
|
|
65
|
+
}, string>>]>;
|
|
82
66
|
type AutoFieldSpec = z.output<typeof AutoFieldSchema>;
|
|
83
67
|
declare class ActionErrorClass extends Error {
|
|
84
68
|
name: string;
|
|
@@ -88,51 +72,38 @@ type InputSchema = z.output<typeof InputSchemaSpec>;
|
|
|
88
72
|
declare const OutputSchemaSpec: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
89
73
|
type OutputSchema = z.output<typeof OutputSchemaSpec>;
|
|
90
74
|
declare const ActionSpecSchema: z.ZodObject<{
|
|
91
|
-
level: z.ZodOptional<z.ZodEnum<
|
|
75
|
+
level: z.ZodOptional<z.ZodEnum<{
|
|
76
|
+
declarative: "declarative";
|
|
77
|
+
imperative: "imperative";
|
|
78
|
+
}>>;
|
|
92
79
|
description: z.ZodString;
|
|
93
80
|
input: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
94
81
|
output: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
95
|
-
effects: z.ZodArray<z.ZodUnion<[z.
|
|
82
|
+
effects: z.ZodArray<z.ZodUnion<readonly [z.ZodPipe<z.ZodObject<{
|
|
96
83
|
write: z.ZodString;
|
|
97
|
-
},
|
|
98
|
-
write: string;
|
|
99
|
-
}, {
|
|
100
|
-
write: string;
|
|
101
|
-
}>, {
|
|
84
|
+
}, z.core.$strip>, z.ZodTransform<{
|
|
102
85
|
type: "write";
|
|
103
86
|
kind: string;
|
|
104
87
|
}, {
|
|
105
88
|
write: string;
|
|
106
|
-
}
|
|
89
|
+
}>>, z.ZodPipe<z.ZodObject<{
|
|
107
90
|
delete: z.ZodString;
|
|
108
|
-
},
|
|
109
|
-
delete: string;
|
|
110
|
-
}, {
|
|
111
|
-
delete: string;
|
|
112
|
-
}>, {
|
|
91
|
+
}, z.core.$strip>, z.ZodTransform<{
|
|
113
92
|
type: "delete";
|
|
114
93
|
kind: string;
|
|
115
94
|
}, {
|
|
116
95
|
delete: string;
|
|
117
|
-
}
|
|
96
|
+
}>>, z.ZodPipe<z.ZodObject<{
|
|
118
97
|
call: z.ZodString;
|
|
119
|
-
},
|
|
120
|
-
call: string;
|
|
121
|
-
}, {
|
|
122
|
-
call: string;
|
|
123
|
-
}>, {
|
|
98
|
+
}, z.core.$strip>, z.ZodTransform<{
|
|
124
99
|
type: "call";
|
|
125
100
|
provider: string;
|
|
126
101
|
}, {
|
|
127
102
|
call: string;
|
|
128
|
-
}
|
|
129
|
-
constraints: z.ZodOptional<z.ZodArray<z.
|
|
103
|
+
}>>]>>;
|
|
104
|
+
constraints: z.ZodOptional<z.ZodArray<z.ZodPipe<z.ZodObject<{
|
|
130
105
|
requires: z.ZodString;
|
|
131
|
-
},
|
|
132
|
-
requires: string;
|
|
133
|
-
}, {
|
|
134
|
-
requires: string;
|
|
135
|
-
}>, {
|
|
106
|
+
}, z.core.$strip>, z.ZodTransform<{
|
|
136
107
|
type: "authenticated";
|
|
137
108
|
role?: undefined;
|
|
138
109
|
} | {
|
|
@@ -140,65 +111,15 @@ declare const ActionSpecSchema: z.ZodObject<{
|
|
|
140
111
|
role: string | undefined;
|
|
141
112
|
}, {
|
|
142
113
|
requires: string;
|
|
143
|
-
}
|
|
114
|
+
}>>>>;
|
|
144
115
|
executor: z.ZodOptional<z.ZodString>;
|
|
145
|
-
auto: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.
|
|
146
|
-
type: "literal";
|
|
147
|
-
value: number;
|
|
148
|
-
}, number>, z.ZodEffects<z.ZodBoolean, {
|
|
149
|
-
type: "literal";
|
|
150
|
-
value: boolean;
|
|
151
|
-
}, boolean>, z.ZodEffects<z.ZodString, {
|
|
152
|
-
type: "time";
|
|
153
|
-
key?: undefined;
|
|
154
|
-
field?: undefined;
|
|
155
|
-
value?: undefined;
|
|
156
|
-
} | {
|
|
157
|
-
type: "context";
|
|
158
|
-
key: string;
|
|
159
|
-
field?: undefined;
|
|
160
|
-
value?: undefined;
|
|
161
|
-
} | {
|
|
162
|
-
type: "input";
|
|
163
|
-
field: string;
|
|
164
|
-
key?: undefined;
|
|
165
|
-
value?: undefined;
|
|
166
|
-
} | {
|
|
167
|
-
type: "literal";
|
|
168
|
-
value: string;
|
|
169
|
-
key?: undefined;
|
|
170
|
-
field?: undefined;
|
|
171
|
-
}, string>]>>>;
|
|
172
|
-
}, "strip", z.ZodTypeAny, {
|
|
173
|
-
input: Record<string, string>;
|
|
174
|
-
description: string;
|
|
175
|
-
effects: ({
|
|
176
|
-
type: "write";
|
|
177
|
-
kind: string;
|
|
178
|
-
} | {
|
|
179
|
-
type: "delete";
|
|
180
|
-
kind: string;
|
|
181
|
-
} | {
|
|
182
|
-
type: "call";
|
|
183
|
-
provider: string;
|
|
184
|
-
})[];
|
|
185
|
-
level?: "declarative" | "imperative" | undefined;
|
|
186
|
-
output?: Record<string, string> | undefined;
|
|
187
|
-
constraints?: ({
|
|
188
|
-
type: "authenticated";
|
|
189
|
-
role?: undefined;
|
|
190
|
-
} | {
|
|
191
|
-
type: "role";
|
|
192
|
-
role: string | undefined;
|
|
193
|
-
})[] | undefined;
|
|
194
|
-
executor?: string | undefined;
|
|
195
|
-
auto?: Record<string, {
|
|
116
|
+
auto: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodPipe<z.ZodNumber, z.ZodTransform<{
|
|
196
117
|
type: "literal";
|
|
197
118
|
value: number;
|
|
198
|
-
}
|
|
119
|
+
}, number>>, z.ZodPipe<z.ZodBoolean, z.ZodTransform<{
|
|
199
120
|
type: "literal";
|
|
200
121
|
value: boolean;
|
|
201
|
-
}
|
|
122
|
+
}, boolean>>, z.ZodPipe<z.ZodString, z.ZodTransform<{
|
|
202
123
|
type: "time";
|
|
203
124
|
key?: undefined;
|
|
204
125
|
field?: undefined;
|
|
@@ -218,74 +139,44 @@ declare const ActionSpecSchema: z.ZodObject<{
|
|
|
218
139
|
value: string;
|
|
219
140
|
key?: undefined;
|
|
220
141
|
field?: undefined;
|
|
221
|
-
}
|
|
222
|
-
},
|
|
223
|
-
input: Record<string, string>;
|
|
224
|
-
description: string;
|
|
225
|
-
effects: ({
|
|
226
|
-
write: string;
|
|
227
|
-
} | {
|
|
228
|
-
delete: string;
|
|
229
|
-
} | {
|
|
230
|
-
call: string;
|
|
231
|
-
})[];
|
|
232
|
-
level?: "declarative" | "imperative" | undefined;
|
|
233
|
-
output?: Record<string, string> | undefined;
|
|
234
|
-
constraints?: {
|
|
235
|
-
requires: string;
|
|
236
|
-
}[] | undefined;
|
|
237
|
-
executor?: string | undefined;
|
|
238
|
-
auto?: Record<string, string | number | boolean> | undefined;
|
|
239
|
-
}>;
|
|
142
|
+
}, string>>]>>>;
|
|
143
|
+
}, z.core.$strip>;
|
|
240
144
|
type ActionSpec = z.output<typeof ActionSpecSchema>;
|
|
241
145
|
declare const DomainSpecSchema: z.ZodObject<{
|
|
242
146
|
domain: z.ZodString;
|
|
243
147
|
actions: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
244
|
-
level: z.ZodOptional<z.ZodEnum<
|
|
148
|
+
level: z.ZodOptional<z.ZodEnum<{
|
|
149
|
+
declarative: "declarative";
|
|
150
|
+
imperative: "imperative";
|
|
151
|
+
}>>;
|
|
245
152
|
description: z.ZodString;
|
|
246
153
|
input: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
247
154
|
output: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
248
|
-
effects: z.ZodArray<z.ZodUnion<[z.
|
|
155
|
+
effects: z.ZodArray<z.ZodUnion<readonly [z.ZodPipe<z.ZodObject<{
|
|
249
156
|
write: z.ZodString;
|
|
250
|
-
},
|
|
251
|
-
write: string;
|
|
252
|
-
}, {
|
|
253
|
-
write: string;
|
|
254
|
-
}>, {
|
|
157
|
+
}, z.core.$strip>, z.ZodTransform<{
|
|
255
158
|
type: "write";
|
|
256
159
|
kind: string;
|
|
257
160
|
}, {
|
|
258
161
|
write: string;
|
|
259
|
-
}
|
|
162
|
+
}>>, z.ZodPipe<z.ZodObject<{
|
|
260
163
|
delete: z.ZodString;
|
|
261
|
-
},
|
|
262
|
-
delete: string;
|
|
263
|
-
}, {
|
|
264
|
-
delete: string;
|
|
265
|
-
}>, {
|
|
164
|
+
}, z.core.$strip>, z.ZodTransform<{
|
|
266
165
|
type: "delete";
|
|
267
166
|
kind: string;
|
|
268
167
|
}, {
|
|
269
168
|
delete: string;
|
|
270
|
-
}
|
|
169
|
+
}>>, z.ZodPipe<z.ZodObject<{
|
|
271
170
|
call: z.ZodString;
|
|
272
|
-
},
|
|
273
|
-
call: string;
|
|
274
|
-
}, {
|
|
275
|
-
call: string;
|
|
276
|
-
}>, {
|
|
171
|
+
}, z.core.$strip>, z.ZodTransform<{
|
|
277
172
|
type: "call";
|
|
278
173
|
provider: string;
|
|
279
174
|
}, {
|
|
280
175
|
call: string;
|
|
281
|
-
}
|
|
282
|
-
constraints: z.ZodOptional<z.ZodArray<z.
|
|
176
|
+
}>>]>>;
|
|
177
|
+
constraints: z.ZodOptional<z.ZodArray<z.ZodPipe<z.ZodObject<{
|
|
283
178
|
requires: z.ZodString;
|
|
284
|
-
},
|
|
285
|
-
requires: string;
|
|
286
|
-
}, {
|
|
287
|
-
requires: string;
|
|
288
|
-
}>, {
|
|
179
|
+
}, z.core.$strip>, z.ZodTransform<{
|
|
289
180
|
type: "authenticated";
|
|
290
181
|
role?: undefined;
|
|
291
182
|
} | {
|
|
@@ -293,135 +184,15 @@ declare const DomainSpecSchema: z.ZodObject<{
|
|
|
293
184
|
role: string | undefined;
|
|
294
185
|
}, {
|
|
295
186
|
requires: string;
|
|
296
|
-
}
|
|
187
|
+
}>>>>;
|
|
297
188
|
executor: z.ZodOptional<z.ZodString>;
|
|
298
|
-
auto: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.
|
|
299
|
-
type: "literal";
|
|
300
|
-
value: number;
|
|
301
|
-
}, number>, z.ZodEffects<z.ZodBoolean, {
|
|
302
|
-
type: "literal";
|
|
303
|
-
value: boolean;
|
|
304
|
-
}, boolean>, z.ZodEffects<z.ZodString, {
|
|
305
|
-
type: "time";
|
|
306
|
-
key?: undefined;
|
|
307
|
-
field?: undefined;
|
|
308
|
-
value?: undefined;
|
|
309
|
-
} | {
|
|
310
|
-
type: "context";
|
|
311
|
-
key: string;
|
|
312
|
-
field?: undefined;
|
|
313
|
-
value?: undefined;
|
|
314
|
-
} | {
|
|
315
|
-
type: "input";
|
|
316
|
-
field: string;
|
|
317
|
-
key?: undefined;
|
|
318
|
-
value?: undefined;
|
|
319
|
-
} | {
|
|
320
|
-
type: "literal";
|
|
321
|
-
value: string;
|
|
322
|
-
key?: undefined;
|
|
323
|
-
field?: undefined;
|
|
324
|
-
}, string>]>>>;
|
|
325
|
-
}, "strip", z.ZodTypeAny, {
|
|
326
|
-
input: Record<string, string>;
|
|
327
|
-
description: string;
|
|
328
|
-
effects: ({
|
|
329
|
-
type: "write";
|
|
330
|
-
kind: string;
|
|
331
|
-
} | {
|
|
332
|
-
type: "delete";
|
|
333
|
-
kind: string;
|
|
334
|
-
} | {
|
|
335
|
-
type: "call";
|
|
336
|
-
provider: string;
|
|
337
|
-
})[];
|
|
338
|
-
level?: "declarative" | "imperative" | undefined;
|
|
339
|
-
output?: Record<string, string> | undefined;
|
|
340
|
-
constraints?: ({
|
|
341
|
-
type: "authenticated";
|
|
342
|
-
role?: undefined;
|
|
343
|
-
} | {
|
|
344
|
-
type: "role";
|
|
345
|
-
role: string | undefined;
|
|
346
|
-
})[] | undefined;
|
|
347
|
-
executor?: string | undefined;
|
|
348
|
-
auto?: Record<string, {
|
|
349
|
-
type: "literal";
|
|
350
|
-
value: number;
|
|
351
|
-
} | {
|
|
352
|
-
type: "literal";
|
|
353
|
-
value: boolean;
|
|
354
|
-
} | {
|
|
355
|
-
type: "time";
|
|
356
|
-
key?: undefined;
|
|
357
|
-
field?: undefined;
|
|
358
|
-
value?: undefined;
|
|
359
|
-
} | {
|
|
360
|
-
type: "context";
|
|
361
|
-
key: string;
|
|
362
|
-
field?: undefined;
|
|
363
|
-
value?: undefined;
|
|
364
|
-
} | {
|
|
365
|
-
type: "input";
|
|
366
|
-
field: string;
|
|
367
|
-
key?: undefined;
|
|
368
|
-
value?: undefined;
|
|
369
|
-
} | {
|
|
370
|
-
type: "literal";
|
|
371
|
-
value: string;
|
|
372
|
-
key?: undefined;
|
|
373
|
-
field?: undefined;
|
|
374
|
-
}> | undefined;
|
|
375
|
-
}, {
|
|
376
|
-
input: Record<string, string>;
|
|
377
|
-
description: string;
|
|
378
|
-
effects: ({
|
|
379
|
-
write: string;
|
|
380
|
-
} | {
|
|
381
|
-
delete: string;
|
|
382
|
-
} | {
|
|
383
|
-
call: string;
|
|
384
|
-
})[];
|
|
385
|
-
level?: "declarative" | "imperative" | undefined;
|
|
386
|
-
output?: Record<string, string> | undefined;
|
|
387
|
-
constraints?: {
|
|
388
|
-
requires: string;
|
|
389
|
-
}[] | undefined;
|
|
390
|
-
executor?: string | undefined;
|
|
391
|
-
auto?: Record<string, string | number | boolean> | undefined;
|
|
392
|
-
}>>;
|
|
393
|
-
}, "strip", z.ZodTypeAny, {
|
|
394
|
-
domain: string;
|
|
395
|
-
actions: Record<string, {
|
|
396
|
-
input: Record<string, string>;
|
|
397
|
-
description: string;
|
|
398
|
-
effects: ({
|
|
399
|
-
type: "write";
|
|
400
|
-
kind: string;
|
|
401
|
-
} | {
|
|
402
|
-
type: "delete";
|
|
403
|
-
kind: string;
|
|
404
|
-
} | {
|
|
405
|
-
type: "call";
|
|
406
|
-
provider: string;
|
|
407
|
-
})[];
|
|
408
|
-
level?: "declarative" | "imperative" | undefined;
|
|
409
|
-
output?: Record<string, string> | undefined;
|
|
410
|
-
constraints?: ({
|
|
411
|
-
type: "authenticated";
|
|
412
|
-
role?: undefined;
|
|
413
|
-
} | {
|
|
414
|
-
type: "role";
|
|
415
|
-
role: string | undefined;
|
|
416
|
-
})[] | undefined;
|
|
417
|
-
executor?: string | undefined;
|
|
418
|
-
auto?: Record<string, {
|
|
189
|
+
auto: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodPipe<z.ZodNumber, z.ZodTransform<{
|
|
419
190
|
type: "literal";
|
|
420
191
|
value: number;
|
|
421
|
-
}
|
|
192
|
+
}, number>>, z.ZodPipe<z.ZodBoolean, z.ZodTransform<{
|
|
422
193
|
type: "literal";
|
|
423
194
|
value: boolean;
|
|
424
|
-
}
|
|
195
|
+
}, boolean>>, z.ZodPipe<z.ZodString, z.ZodTransform<{
|
|
425
196
|
type: "time";
|
|
426
197
|
key?: undefined;
|
|
427
198
|
field?: undefined;
|
|
@@ -441,29 +212,9 @@ declare const DomainSpecSchema: z.ZodObject<{
|
|
|
441
212
|
value: string;
|
|
442
213
|
key?: undefined;
|
|
443
214
|
field?: undefined;
|
|
444
|
-
}
|
|
445
|
-
}
|
|
446
|
-
},
|
|
447
|
-
domain: string;
|
|
448
|
-
actions: Record<string, {
|
|
449
|
-
input: Record<string, string>;
|
|
450
|
-
description: string;
|
|
451
|
-
effects: ({
|
|
452
|
-
write: string;
|
|
453
|
-
} | {
|
|
454
|
-
delete: string;
|
|
455
|
-
} | {
|
|
456
|
-
call: string;
|
|
457
|
-
})[];
|
|
458
|
-
level?: "declarative" | "imperative" | undefined;
|
|
459
|
-
output?: Record<string, string> | undefined;
|
|
460
|
-
constraints?: {
|
|
461
|
-
requires: string;
|
|
462
|
-
}[] | undefined;
|
|
463
|
-
executor?: string | undefined;
|
|
464
|
-
auto?: Record<string, string | number | boolean> | undefined;
|
|
465
|
-
}>;
|
|
466
|
-
}>;
|
|
215
|
+
}, string>>]>>>;
|
|
216
|
+
}, z.core.$strip>>;
|
|
217
|
+
}, z.core.$strip>;
|
|
467
218
|
type DomainSpec = z.output<typeof DomainSpecSchema>;
|
|
468
219
|
//#endregion
|
|
469
220
|
//#region src/effects.d.ts
|
package/dist/index.d.mts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.mts","names":[],"sources":["../src/types.ts","../src/effects.ts","../src/autogen.ts","../src/constraints.ts","../src/executor.ts","../src/orchestrator.ts","../src/parser.ts","../src/registry.ts"],"mappings":";;;cAgBa,YAAA,EAAY,CAAA,CAAA,QAAA,
|
|
1
|
+
{"version":3,"file":"index.d.mts","names":[],"sources":["../src/types.ts","../src/effects.ts","../src/autogen.ts","../src/constraints.ts","../src/executor.ts","../src/orchestrator.ts","../src/parser.ts","../src/registry.ts"],"mappings":";;;cAgBa,YAAA,EAAY,CAAA,CAAA,QAAA,WAAA,CAAA,CAAA,OAAA,CAAA,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;KAEb,UAAA,GAAa,CAAA,CAAE,MAAA,QAAc,YAAA;AAAA,cAmB5B,gBAAA,EAAgB,CAAA,CAAA,OAAA,CAAA,CAAA,CAAA,SAAA;;;;;;;;;;;KAEjB,cAAA,GAAiB,CAAA,CAAE,MAAA,QAAc,gBAAA;AAAA,cAIhC,eAAA,EAAe,CAAA,CAAA,QAAA,WAAA,CAAA,CAAA,OAAA,CAAA,CAAA,CAAA,SAAA,EAAA,CAAA,CAAA,YAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;KAWhB,aAAA,GAAgB,CAAA,CAAE,MAAA,QAAc,eAAA;AAAA,cAI/B,gBAAA,SAAyB,KAAA;EAC3B,IAAA;AAAA;AAAA,cAOE,eAAA,EAAe,CAAA,CAAA,SAAA,CAAA,CAAA,CAAA,SAAA,EAAA,CAAA,CAAA,SAAA;AAAA,KAChB,WAAA,GAAc,CAAA,CAAE,MAAA,QAAc,eAAA;AAAA,cAE7B,gBAAA,EAAgB,CAAA,CAAA,SAAA,CAAA,CAAA,CAAA,SAAA,EAAA,CAAA,CAAA,SAAA;AAAA,KACjB,YAAA,GAAe,CAAA,CAAE,MAAA,QAAc,gBAAA;AAAA,cAI9B,gBAAA,EAAgB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAWjB,UAAA,GAAa,CAAA,CAAE,MAAA,QAAc,gBAAA;AAAA,cAI5B,gBAAA,EAAgB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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YAAiB,MAAA"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aigne/afs-domain-action",
|
|
3
|
-
"version": "1.11.0-beta.
|
|
3
|
+
"version": "1.11.0-beta.9",
|
|
4
4
|
"description": "Domain Action Provider for AFS - program-scoped write model with DSL command spec and constrained TS executors",
|
|
5
5
|
"license": "UNLICENSED",
|
|
6
6
|
"publishConfig": {
|
|
@@ -34,8 +34,8 @@
|
|
|
34
34
|
],
|
|
35
35
|
"dependencies": {
|
|
36
36
|
"yaml": "^2.8.2",
|
|
37
|
-
"zod": "^
|
|
38
|
-
"@aigne/afs": "1.11.0-beta.
|
|
37
|
+
"zod": "^4.0.0",
|
|
38
|
+
"@aigne/afs": "1.11.0-beta.9"
|
|
39
39
|
},
|
|
40
40
|
"devDependencies": {
|
|
41
41
|
"@types/bun": "^1.3.6",
|