@substrat-run/engine-assistant 0.1.27 → 0.1.28
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/operations.d.ts +15 -0
- package/dist/operations.d.ts.map +1 -1
- package/dist/shapes.d.ts +15 -0
- package/dist/shapes.d.ts.map +1 -1
- package/package.json +6 -6
package/dist/operations.d.ts
CHANGED
|
@@ -170,6 +170,11 @@ export declare const assistantOperations: {
|
|
|
170
170
|
t: import("zod").ZodLiteral<"budget-notice">;
|
|
171
171
|
exhausted: import("zod").ZodBoolean;
|
|
172
172
|
resetsAt: import("zod").ZodOptional<import("zod/v4/core").$ZodBranded<import("zod").ZodString, "Instant", "out">>;
|
|
173
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
174
|
+
t: import("zod").ZodLiteral<"host-event">;
|
|
175
|
+
kind: import("zod").ZodString;
|
|
176
|
+
text: import("zod").ZodString;
|
|
177
|
+
data: import("zod").ZodOptional<import("zod").ZodUnknown>;
|
|
173
178
|
}, import("zod/v4/core").$strip>], "t">, import("zod").ZodObject<{
|
|
174
179
|
id: import("zod").ZodNumber;
|
|
175
180
|
}, import("zod/v4/core").$strip>>>;
|
|
@@ -364,6 +369,11 @@ export declare const assistantOperations: {
|
|
|
364
369
|
t: import("zod").ZodLiteral<"budget-notice">;
|
|
365
370
|
exhausted: import("zod").ZodBoolean;
|
|
366
371
|
resetsAt: import("zod").ZodOptional<import("zod/v4/core").$ZodBranded<import("zod").ZodString, "Instant", "out">>;
|
|
372
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
373
|
+
t: import("zod").ZodLiteral<"host-event">;
|
|
374
|
+
kind: import("zod").ZodString;
|
|
375
|
+
text: import("zod").ZodString;
|
|
376
|
+
data: import("zod").ZodOptional<import("zod").ZodUnknown>;
|
|
367
377
|
}, import("zod/v4/core").$strip>], "t">>;
|
|
368
378
|
}, import("zod/v4/core").$strip>;
|
|
369
379
|
readonly output: import("zod").ZodObject<{
|
|
@@ -461,6 +471,11 @@ export declare const assistantOperations: {
|
|
|
461
471
|
t: import("zod").ZodLiteral<"budget-notice">;
|
|
462
472
|
exhausted: import("zod").ZodBoolean;
|
|
463
473
|
resetsAt: import("zod").ZodOptional<import("zod/v4/core").$ZodBranded<import("zod").ZodString, "Instant", "out">>;
|
|
474
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
475
|
+
t: import("zod").ZodLiteral<"host-event">;
|
|
476
|
+
kind: import("zod").ZodString;
|
|
477
|
+
text: import("zod").ZodString;
|
|
478
|
+
data: import("zod").ZodOptional<import("zod").ZodUnknown>;
|
|
464
479
|
}, import("zod/v4/core").$strip>], "t">, import("zod").ZodObject<{
|
|
465
480
|
id: import("zod").ZodNumber;
|
|
466
481
|
}, import("zod/v4/core").$strip>>>;
|
package/dist/operations.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"operations.d.ts","sourceRoot":"","sources":["../src/operations.ts"],"names":[],"mappings":"AA4CA,6EAA6E;AAC7E,eAAO,MAAM,qBAAqB,YAAI,eAAe,EAAE,iBAAiB,EAAE,eAAe,CAAU,CAAC;AAEpG,eAAO,MAAM,mBAAmB
|
|
1
|
+
{"version":3,"file":"operations.d.ts","sourceRoot":"","sources":["../src/operations.ts"],"names":[],"mappings":"AA4CA,6EAA6E;AAC7E,eAAO,MAAM,qBAAqB,YAAI,eAAe,EAAE,iBAAiB,EAAE,eAAe,CAAU,CAAC;AAEpG,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAyF9B,CAAC"}
|
package/dist/shapes.d.ts
CHANGED
|
@@ -153,6 +153,11 @@ export declare const eventsPage: z.ZodObject<{
|
|
|
153
153
|
t: z.ZodLiteral<"budget-notice">;
|
|
154
154
|
exhausted: z.ZodBoolean;
|
|
155
155
|
resetsAt: z.ZodOptional<z.core.$ZodBranded<z.ZodString, "Instant", "out">>;
|
|
156
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
157
|
+
t: z.ZodLiteral<"host-event">;
|
|
158
|
+
kind: z.ZodString;
|
|
159
|
+
text: z.ZodString;
|
|
160
|
+
data: z.ZodOptional<z.ZodUnknown>;
|
|
156
161
|
}, z.core.$strip>], "t">, z.ZodObject<{
|
|
157
162
|
id: z.ZodNumber;
|
|
158
163
|
}, z.core.$strip>>>;
|
|
@@ -295,6 +300,11 @@ export declare const appendEventsInput: z.ZodObject<{
|
|
|
295
300
|
t: z.ZodLiteral<"budget-notice">;
|
|
296
301
|
exhausted: z.ZodBoolean;
|
|
297
302
|
resetsAt: z.ZodOptional<z.core.$ZodBranded<z.ZodString, "Instant", "out">>;
|
|
303
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
304
|
+
t: z.ZodLiteral<"host-event">;
|
|
305
|
+
kind: z.ZodString;
|
|
306
|
+
text: z.ZodString;
|
|
307
|
+
data: z.ZodOptional<z.ZodUnknown>;
|
|
298
308
|
}, z.core.$strip>], "t">>;
|
|
299
309
|
}, z.core.$strip>;
|
|
300
310
|
export type AppendEventsInput = z.input<typeof appendEventsInput>;
|
|
@@ -393,6 +403,11 @@ export declare const appendedEvents: z.ZodObject<{
|
|
|
393
403
|
t: z.ZodLiteral<"budget-notice">;
|
|
394
404
|
exhausted: z.ZodBoolean;
|
|
395
405
|
resetsAt: z.ZodOptional<z.core.$ZodBranded<z.ZodString, "Instant", "out">>;
|
|
406
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
407
|
+
t: z.ZodLiteral<"host-event">;
|
|
408
|
+
kind: z.ZodString;
|
|
409
|
+
text: z.ZodString;
|
|
410
|
+
data: z.ZodOptional<z.ZodUnknown>;
|
|
396
411
|
}, z.core.$strip>], "t">, z.ZodObject<{
|
|
397
412
|
id: z.ZodNumber;
|
|
398
413
|
}, z.core.$strip>>>;
|
package/dist/shapes.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"shapes.d.ts","sourceRoot":"","sources":["../src/shapes.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AACH,OAAO,EAAE,CAAC,EAAE,MAAM,yBAAyB,CAAC;AAG5C;;;GAGG;AACH,eAAO,MAAM,eAAe,QAAY,CAAC;AAEzC;;;;;GAKG;AACH,eAAO,MAAM,iBAAiB,QAAY,CAAC;AAE3C,qGAAqG;AACrG,wBAAgB,UAAU,CAAC,CAAC,EAAE,MAAM,GAAG,MAAM,CAO5C;AAOD,6BAA6B;AAC7B,eAAO,MAAM,MAAM;;;;;;;;;;;iBASjB,CAAC;AACH,MAAM,MAAM,MAAM,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,MAAM,CAAC,CAAC;AAE5C,eAAO,MAAM,iBAAiB;;iBAAsD,CAAC;AACrF,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iBAAiB,CAAC,CAAC;AAElE,eAAO,MAAM,gBAAgB;;;;;;iBAI3B,CAAC;AACH,MAAM,MAAM,gBAAgB,GAAG,CAAC,CAAC,KAAK,CAAC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,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iBAAiB,CAAC,CAAC;AAClE,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAAsD,CAAC;AAClF,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;AAE5D,eAAO,MAAM,mBAAmB;;;;;;;iBAU9B,CAAC;AACH,MAAM,MAAM,mBAAmB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mBAAmB,CAAC,CAAC;AACtE,eAAO,MAAM,gBAAgB;;iBAAyC,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@substrat-run/engine-assistant",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.28",
|
|
4
4
|
"description": "Substrat engine: the assistant's record — chat threads as an append-only event log, a single-writer run lease, and tool calls whose gated writes need an approval bound to the exact input",
|
|
5
5
|
"license": "AGPL-3.0-only",
|
|
6
6
|
"repository": {
|
|
@@ -29,16 +29,16 @@
|
|
|
29
29
|
"access": "public"
|
|
30
30
|
},
|
|
31
31
|
"dependencies": {
|
|
32
|
-
"@substrat-run/contracts": "^0.
|
|
33
|
-
"@substrat-run/kernel": "^0.
|
|
32
|
+
"@substrat-run/contracts": "^0.176.0",
|
|
33
|
+
"@substrat-run/kernel": "^0.176.0"
|
|
34
34
|
},
|
|
35
35
|
"devDependencies": {
|
|
36
36
|
"typescript": "^7.0.0",
|
|
37
37
|
"vitest": "^5.0.5",
|
|
38
38
|
"zod": "^4.4.3",
|
|
39
|
-
"@substrat-run/
|
|
40
|
-
"@substrat-run/
|
|
41
|
-
"@substrat-run/model-emit": "0.11.
|
|
39
|
+
"@substrat-run/contract-tests": "^0.176.0",
|
|
40
|
+
"@substrat-run/engine-test-kit": "^0.3.103",
|
|
41
|
+
"@substrat-run/model-emit": "0.11.6"
|
|
42
42
|
},
|
|
43
43
|
"peerDependencies": {
|
|
44
44
|
"zod": "^4.4.0"
|