eve 0.45.0 → 0.45.1
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/CHANGELOG.md +9 -0
- package/dist/src/chunks/{use-eve-agent-OtHRoxIS.js → use-eve-agent-BH7Z6SDu.js} +13 -1
- package/dist/src/chunks/{use-eve-agent-C46Kan_I.js → use-eve-agent-DI2j5XK8.js} +13 -1
- package/dist/src/cli/commands/integration-connect.d.ts +2 -0
- package/dist/src/cli/commands/integration-connect.js +1 -1
- package/dist/src/cli/commands/register-integration-commands.js +1 -1
- package/dist/src/client/agent-info-schema.d.ts +191 -2
- package/dist/src/client/agent-info-schema.js +1 -1
- package/dist/src/client/types.d.ts +1 -1
- package/dist/src/compiler/extension-compatibility.d.ts +4 -4
- package/dist/src/compiler/extension-compatibility.js +1 -1
- package/dist/src/compiler/load-binding-namespace.js +1 -1
- package/dist/src/compiler/manifest.d.ts +10 -0
- package/dist/src/compiler/manifest.js +1 -1
- package/dist/src/compiler/module-map.js +1 -1
- package/dist/src/compiler/normalize-helpers.d.ts +2 -1
- package/dist/src/compiler/normalize-manifest.js +1 -1
- package/dist/src/compiler/normalize-memory.d.ts +5 -0
- package/dist/src/compiler/normalize-memory.js +1 -0
- package/dist/src/compiler/normalize-tool.js +1 -1
- package/dist/src/compiler/project-sources.d.ts +3 -4
- package/dist/src/compiler/project-sources.js +1 -1
- package/dist/src/compiler/source-graph.d.ts +2 -0
- package/dist/src/compiler/source-graph.js +1 -1
- package/dist/src/compiler/validate-artifact.js +1 -1
- package/dist/src/context/dynamic-tool-lifecycle.d.ts +8 -1
- package/dist/src/context/dynamic-tool-lifecycle.js +1 -1
- package/dist/src/context/keys.d.ts +25 -0
- package/dist/src/context/keys.js +1 -1
- package/dist/src/context/memory-event-lifecycle.d.ts +13 -0
- package/dist/src/context/memory-event-lifecycle.js +1 -0
- package/dist/src/context/memory-lifecycle.d.ts +52 -0
- package/dist/src/context/memory-lifecycle.js +1 -0
- package/dist/src/context/memory-tools.d.ts +12 -0
- package/dist/src/context/memory-tools.js +1 -0
- package/dist/src/discover/discover-agent.js +1 -1
- package/dist/src/discover/discover-subagent.js +1 -1
- package/dist/src/discover/extensions.d.ts +6 -0
- package/dist/src/discover/extensions.js +1 -1
- package/dist/src/discover/filesystem.d.ts +2 -2
- package/dist/src/discover/filesystem.js +1 -1
- package/dist/src/discover/manifest.d.ts +6 -1
- package/dist/src/discover/manifest.js +1 -1
- package/dist/src/discover/memory.d.ts +14 -0
- package/dist/src/discover/memory.js +1 -0
- package/dist/src/discover/project.js +1 -1
- package/dist/src/evals/cli/eval.js +1 -1
- package/dist/src/evals/target.js +1 -1
- package/dist/src/execution/history-view.d.ts +2 -2
- package/dist/src/execution/history-view.js +1 -1
- package/dist/src/execution/tools/connection-search.js +2 -2
- package/dist/src/execution/workflow-steps.d.ts +1 -3
- package/dist/src/execution/workflow-steps.js +1 -1
- package/dist/src/framework/sources/modules/memory-wrapper.d.ts +2 -0
- package/dist/src/framework/sources/modules/memory-wrapper.js +1 -0
- package/dist/src/framework/sources/registry.d.ts +1 -0
- package/dist/src/framework/sources/registry.js +1 -1
- package/dist/src/harness/emission.d.ts +1 -1
- package/dist/src/harness/emission.js +1 -1
- package/dist/src/harness/tool-loop.js +2 -2
- package/dist/src/harness/tools.js +1 -1
- package/dist/src/internal/application/package.js +1 -1
- package/dist/src/internal/authored-definition/memory.d.ts +2 -0
- package/dist/src/internal/authored-definition/memory.js +1 -0
- package/dist/src/internal/authored-definition/schema-backed.d.ts +1 -0
- package/dist/src/internal/authored-definition/schema-backed.js +1 -1
- package/dist/src/internal/authored-module-map-loader.js +1 -1
- package/dist/src/internal/dynamic-tool-rebind.d.ts +3 -0
- package/dist/src/internal/dynamic-tool-rebind.js +1 -0
- package/dist/src/internal/nitro/routes/agent-info/build-agent-info-response.d.ts +1 -1
- package/dist/src/internal/nitro/routes/agent-info/build-agent-info-response.js +1 -1
- package/dist/src/internal/nitro/routes/index.js +1 -0
- package/dist/src/internal/programmatic-source-loader.d.ts +1 -0
- package/dist/src/internal/programmatic-source-loader.js +1 -1
- package/dist/src/public/memory/index.d.ts +117 -0
- package/dist/src/public/memory/index.js +1 -0
- package/dist/src/public/memory/scope.d.ts +2 -0
- package/dist/src/public/memory/scope.js +1 -0
- package/dist/src/runtime/resolve-agent.js +1 -1
- package/dist/src/runtime/resolve-dynamic-tool.d.ts +1 -0
- package/dist/src/runtime/resolve-dynamic-tool.js +1 -1
- package/dist/src/runtime/resolve-memory.d.ts +4 -0
- package/dist/src/runtime/resolve-memory.js +1 -0
- package/dist/src/runtime/types.d.ts +7 -0
- package/dist/src/setup/connection-connector.d.ts +2 -0
- package/dist/src/setup/connection-connector.js +1 -1
- package/dist/src/setup/scaffold/create/project.js +1 -1
- package/dist/src/setup/scaffold/create/web-template.d.ts +2 -0
- package/dist/src/setup/scaffold/create/web-template.js +28 -0
- package/dist/src/shared/memory-definition.d.ts +2 -0
- package/dist/src/shared/memory-definition.js +1 -0
- package/dist/src/shared/memory-state.d.ts +55 -0
- package/dist/src/shared/memory-state.js +1 -0
- package/dist/src/svelte/index.js +1 -1
- package/dist/src/svelte/use-eve-agent.js +1 -1
- package/dist/src/vue/index.js +1 -1
- package/dist/src/vue/use-eve-agent.js +1 -1
- package/docs/channels/eve.mdx +1 -1
- package/docs/concepts/context-control.md +7 -0
- package/docs/concepts/default-harness.md +8 -0
- package/docs/concepts/sessions-runs-and-streaming.md +3 -3
- package/docs/concepts/state.md +8 -1
- package/docs/extensions.md +6 -2
- package/docs/guides/client/overview.mdx +2 -2
- package/docs/guides/dynamic-capabilities.md +3 -2
- package/docs/memory.md +255 -0
- package/docs/meta.json +1 -0
- package/docs/patterns/multi-tenant-memory.md +108 -136
- package/package.json +11 -1
|
@@ -10,8 +10,10 @@ declare const source: z.ZodObject<{
|
|
|
10
10
|
kind: z.ZodLiteral<"filesystem">;
|
|
11
11
|
sourcePath: z.ZodString;
|
|
12
12
|
}, z.core.$strict>, z.ZodObject<{
|
|
13
|
+
dependencies: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
13
14
|
kind: z.ZodLiteral<"programmatic">;
|
|
14
15
|
moduleId: z.ZodString;
|
|
16
|
+
parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
15
17
|
registryId: z.ZodString;
|
|
16
18
|
revision: z.ZodString;
|
|
17
19
|
semanticRevision: z.ZodOptional<z.ZodString>;
|
|
@@ -58,8 +60,10 @@ declare const entry: z.ZodObject<{
|
|
|
58
60
|
kind: z.ZodLiteral<"filesystem">;
|
|
59
61
|
sourcePath: z.ZodString;
|
|
60
62
|
}, z.core.$strict>, z.ZodObject<{
|
|
63
|
+
dependencies: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
61
64
|
kind: z.ZodLiteral<"programmatic">;
|
|
62
65
|
moduleId: z.ZodString;
|
|
66
|
+
parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
63
67
|
registryId: z.ZodString;
|
|
64
68
|
revision: z.ZodString;
|
|
65
69
|
semanticRevision: z.ZodOptional<z.ZodString>;
|
|
@@ -107,8 +111,10 @@ declare const dynamicResolver: z.ZodObject<{
|
|
|
107
111
|
kind: z.ZodLiteral<"filesystem">;
|
|
108
112
|
sourcePath: z.ZodString;
|
|
109
113
|
}, z.core.$strict>, z.ZodObject<{
|
|
114
|
+
dependencies: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
110
115
|
kind: z.ZodLiteral<"programmatic">;
|
|
111
116
|
moduleId: z.ZodString;
|
|
117
|
+
parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
112
118
|
registryId: z.ZodString;
|
|
113
119
|
revision: z.ZodString;
|
|
114
120
|
semanticRevision: z.ZodOptional<z.ZodString>;
|
|
@@ -157,8 +163,10 @@ declare const tool: z.ZodObject<{
|
|
|
157
163
|
kind: z.ZodLiteral<"filesystem">;
|
|
158
164
|
sourcePath: z.ZodString;
|
|
159
165
|
}, z.core.$strict>, z.ZodObject<{
|
|
166
|
+
dependencies: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
160
167
|
kind: z.ZodLiteral<"programmatic">;
|
|
161
168
|
moduleId: z.ZodString;
|
|
169
|
+
parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
162
170
|
registryId: z.ZodString;
|
|
163
171
|
revision: z.ZodString;
|
|
164
172
|
semanticRevision: z.ZodOptional<z.ZodString>;
|
|
@@ -214,8 +222,10 @@ declare const skill: z.ZodObject<{
|
|
|
214
222
|
kind: z.ZodLiteral<"filesystem">;
|
|
215
223
|
sourcePath: z.ZodString;
|
|
216
224
|
}, z.core.$strict>, z.ZodObject<{
|
|
225
|
+
dependencies: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
217
226
|
kind: z.ZodLiteral<"programmatic">;
|
|
218
227
|
moduleId: z.ZodString;
|
|
228
|
+
parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
219
229
|
registryId: z.ZodString;
|
|
220
230
|
revision: z.ZodString;
|
|
221
231
|
semanticRevision: z.ZodOptional<z.ZodString>;
|
|
@@ -267,8 +277,10 @@ declare const instructions: z.ZodObject<{
|
|
|
267
277
|
kind: z.ZodLiteral<"filesystem">;
|
|
268
278
|
sourcePath: z.ZodString;
|
|
269
279
|
}, z.core.$strict>, z.ZodObject<{
|
|
280
|
+
dependencies: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
270
281
|
kind: z.ZodLiteral<"programmatic">;
|
|
271
282
|
moduleId: z.ZodString;
|
|
283
|
+
parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
272
284
|
registryId: z.ZodString;
|
|
273
285
|
revision: z.ZodString;
|
|
274
286
|
semanticRevision: z.ZodOptional<z.ZodString>;
|
|
@@ -321,8 +333,10 @@ declare const schedule: z.ZodObject<{
|
|
|
321
333
|
kind: z.ZodLiteral<"filesystem">;
|
|
322
334
|
sourcePath: z.ZodString;
|
|
323
335
|
}, z.core.$strict>, z.ZodObject<{
|
|
336
|
+
dependencies: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
324
337
|
kind: z.ZodLiteral<"programmatic">;
|
|
325
338
|
moduleId: z.ZodString;
|
|
339
|
+
parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
326
340
|
registryId: z.ZodString;
|
|
327
341
|
revision: z.ZodString;
|
|
328
342
|
semanticRevision: z.ZodOptional<z.ZodString>;
|
|
@@ -373,8 +387,10 @@ declare const channelRoute: z.ZodObject<{
|
|
|
373
387
|
kind: z.ZodLiteral<"filesystem">;
|
|
374
388
|
sourcePath: z.ZodString;
|
|
375
389
|
}, z.core.$strict>, z.ZodObject<{
|
|
390
|
+
dependencies: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
376
391
|
kind: z.ZodLiteral<"programmatic">;
|
|
377
392
|
moduleId: z.ZodString;
|
|
393
|
+
parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
378
394
|
registryId: z.ZodString;
|
|
379
395
|
revision: z.ZodString;
|
|
380
396
|
semanticRevision: z.ZodOptional<z.ZodString>;
|
|
@@ -434,8 +450,10 @@ declare const connection: z.ZodObject<{
|
|
|
434
450
|
kind: z.ZodLiteral<"filesystem">;
|
|
435
451
|
sourcePath: z.ZodString;
|
|
436
452
|
}, z.core.$strict>, z.ZodObject<{
|
|
453
|
+
dependencies: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
437
454
|
kind: z.ZodLiteral<"programmatic">;
|
|
438
455
|
moduleId: z.ZodString;
|
|
456
|
+
parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
439
457
|
registryId: z.ZodString;
|
|
440
458
|
revision: z.ZodString;
|
|
441
459
|
semanticRevision: z.ZodOptional<z.ZodString>;
|
|
@@ -490,8 +508,10 @@ declare const hook: z.ZodObject<{
|
|
|
490
508
|
kind: z.ZodLiteral<"filesystem">;
|
|
491
509
|
sourcePath: z.ZodString;
|
|
492
510
|
}, z.core.$strict>, z.ZodObject<{
|
|
511
|
+
dependencies: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
493
512
|
kind: z.ZodLiteral<"programmatic">;
|
|
494
513
|
moduleId: z.ZodString;
|
|
514
|
+
parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
495
515
|
registryId: z.ZodString;
|
|
496
516
|
revision: z.ZodString;
|
|
497
517
|
semanticRevision: z.ZodOptional<z.ZodString>;
|
|
@@ -529,6 +549,62 @@ declare const hook: z.ZodObject<{
|
|
|
529
549
|
eventNames: z.ZodArray<z.ZodString>;
|
|
530
550
|
slug: z.ZodString;
|
|
531
551
|
}, z.core.$strict>;
|
|
552
|
+
declare const memory: z.ZodObject<{
|
|
553
|
+
binding: z.ZodOptional<z.ZodObject<{
|
|
554
|
+
backing: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
555
|
+
externalDependencies: z.ZodArray<z.ZodString>;
|
|
556
|
+
extensionScope: z.ZodOptional<z.ZodObject<{
|
|
557
|
+
namespace: z.ZodString;
|
|
558
|
+
sourceRoot: z.ZodString;
|
|
559
|
+
}, z.core.$strict>>;
|
|
560
|
+
kind: z.ZodLiteral<"filesystem">;
|
|
561
|
+
sourcePath: z.ZodString;
|
|
562
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
563
|
+
dependencies: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
564
|
+
kind: z.ZodLiteral<"programmatic">;
|
|
565
|
+
moduleId: z.ZodString;
|
|
566
|
+
parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
567
|
+
registryId: z.ZodString;
|
|
568
|
+
revision: z.ZodString;
|
|
569
|
+
semanticRevision: z.ZodOptional<z.ZodString>;
|
|
570
|
+
}, z.core.$strict>], "kind">;
|
|
571
|
+
logicalPath: z.ZodString;
|
|
572
|
+
owner: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
573
|
+
kind: z.ZodLiteral<"application">;
|
|
574
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
575
|
+
feature: z.ZodString;
|
|
576
|
+
kind: z.ZodLiteral<"framework">;
|
|
577
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
578
|
+
kind: z.ZodLiteral<"extension">;
|
|
579
|
+
namespace: z.ZodString;
|
|
580
|
+
packageName: z.ZodString;
|
|
581
|
+
}, z.core.$strict>], "kind">;
|
|
582
|
+
}, z.core.$strict>>;
|
|
583
|
+
exportName: z.ZodOptional<z.ZodString>;
|
|
584
|
+
logicalPath: z.ZodString;
|
|
585
|
+
owner: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
586
|
+
kind: z.ZodLiteral<"application">;
|
|
587
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
588
|
+
feature: z.ZodString;
|
|
589
|
+
kind: z.ZodLiteral<"framework">;
|
|
590
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
591
|
+
kind: z.ZodLiteral<"extension">;
|
|
592
|
+
namespace: z.ZodString;
|
|
593
|
+
packageName: z.ZodString;
|
|
594
|
+
}, z.core.$strict>], "kind">;
|
|
595
|
+
sourceId: z.ZodString;
|
|
596
|
+
sourceKind: z.ZodEnum<{
|
|
597
|
+
markdown: "markdown";
|
|
598
|
+
module: "module";
|
|
599
|
+
"skill-package": "skill-package";
|
|
600
|
+
}>;
|
|
601
|
+
description: z.ZodOptional<z.ZodString>;
|
|
602
|
+
slot: z.ZodString;
|
|
603
|
+
visibility: z.ZodEnum<{
|
|
604
|
+
scope: "scope";
|
|
605
|
+
session: "session";
|
|
606
|
+
}>;
|
|
607
|
+
}, z.core.$strict>;
|
|
532
608
|
declare const sandbox: z.ZodObject<{
|
|
533
609
|
binding: z.ZodOptional<z.ZodObject<{
|
|
534
610
|
backing: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
@@ -540,8 +616,10 @@ declare const sandbox: z.ZodObject<{
|
|
|
540
616
|
kind: z.ZodLiteral<"filesystem">;
|
|
541
617
|
sourcePath: z.ZodString;
|
|
542
618
|
}, z.core.$strict>, z.ZodObject<{
|
|
619
|
+
dependencies: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
543
620
|
kind: z.ZodLiteral<"programmatic">;
|
|
544
621
|
moduleId: z.ZodString;
|
|
622
|
+
parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
545
623
|
registryId: z.ZodString;
|
|
546
624
|
revision: z.ZodString;
|
|
547
625
|
semanticRevision: z.ZodOptional<z.ZodString>;
|
|
@@ -594,8 +672,10 @@ declare const subagent: z.ZodObject<{
|
|
|
594
672
|
kind: z.ZodLiteral<"filesystem">;
|
|
595
673
|
sourcePath: z.ZodString;
|
|
596
674
|
}, z.core.$strict>, z.ZodObject<{
|
|
675
|
+
dependencies: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
597
676
|
kind: z.ZodLiteral<"programmatic">;
|
|
598
677
|
moduleId: z.ZodString;
|
|
678
|
+
parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
599
679
|
registryId: z.ZodString;
|
|
600
680
|
revision: z.ZodString;
|
|
601
681
|
semanticRevision: z.ZodOptional<z.ZodString>;
|
|
@@ -642,8 +722,10 @@ declare const subagent: z.ZodObject<{
|
|
|
642
722
|
kind: z.ZodLiteral<"filesystem">;
|
|
643
723
|
sourcePath: z.ZodString;
|
|
644
724
|
}, z.core.$strict>, z.ZodObject<{
|
|
725
|
+
dependencies: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
645
726
|
kind: z.ZodLiteral<"programmatic">;
|
|
646
727
|
moduleId: z.ZodString;
|
|
728
|
+
parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
647
729
|
registryId: z.ZodString;
|
|
648
730
|
revision: z.ZodString;
|
|
649
731
|
semanticRevision: z.ZodOptional<z.ZodString>;
|
|
@@ -691,6 +773,7 @@ declare const subagent: z.ZodObject<{
|
|
|
691
773
|
connections: z.ZodNumber;
|
|
692
774
|
hooks: z.ZodNumber;
|
|
693
775
|
instructions: z.ZodNumber;
|
|
776
|
+
memories: z.ZodNumber;
|
|
694
777
|
schedules: z.ZodNumber;
|
|
695
778
|
skills: z.ZodNumber;
|
|
696
779
|
tools: z.ZodNumber;
|
|
@@ -707,8 +790,10 @@ declare const remoteAgent: z.ZodObject<{
|
|
|
707
790
|
kind: z.ZodLiteral<"filesystem">;
|
|
708
791
|
sourcePath: z.ZodString;
|
|
709
792
|
}, z.core.$strict>, z.ZodObject<{
|
|
793
|
+
dependencies: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
710
794
|
kind: z.ZodLiteral<"programmatic">;
|
|
711
795
|
moduleId: z.ZodString;
|
|
796
|
+
parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
712
797
|
registryId: z.ZodString;
|
|
713
798
|
revision: z.ZodString;
|
|
714
799
|
semanticRevision: z.ZodOptional<z.ZodString>;
|
|
@@ -749,7 +834,7 @@ declare const remoteAgent: z.ZodObject<{
|
|
|
749
834
|
parentNodeId: z.ZodString;
|
|
750
835
|
url: z.ZodOptional<z.ZodString>;
|
|
751
836
|
}, z.core.$strict>;
|
|
752
|
-
/** Runtime contract for the authoritative `/eve/v1/info`
|
|
837
|
+
/** Runtime contract for the authoritative `/eve/v1/info` v4 response. */
|
|
753
838
|
export declare const AgentInfoResultSchema: z.ZodObject<{
|
|
754
839
|
agent: z.ZodObject<{
|
|
755
840
|
agentRoot: z.ZodString;
|
|
@@ -783,8 +868,10 @@ export declare const AgentInfoResultSchema: z.ZodObject<{
|
|
|
783
868
|
kind: z.ZodLiteral<"filesystem">;
|
|
784
869
|
sourcePath: z.ZodString;
|
|
785
870
|
}, z.core.$strict>, z.ZodObject<{
|
|
871
|
+
dependencies: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
786
872
|
kind: z.ZodLiteral<"programmatic">;
|
|
787
873
|
moduleId: z.ZodString;
|
|
874
|
+
parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
788
875
|
registryId: z.ZodString;
|
|
789
876
|
revision: z.ZodString;
|
|
790
877
|
semanticRevision: z.ZodOptional<z.ZodString>;
|
|
@@ -826,8 +913,10 @@ export declare const AgentInfoResultSchema: z.ZodObject<{
|
|
|
826
913
|
kind: z.ZodLiteral<"filesystem">;
|
|
827
914
|
sourcePath: z.ZodString;
|
|
828
915
|
}, z.core.$strict>, z.ZodObject<{
|
|
916
|
+
dependencies: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
829
917
|
kind: z.ZodLiteral<"programmatic">;
|
|
830
918
|
moduleId: z.ZodString;
|
|
919
|
+
parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
831
920
|
registryId: z.ZodString;
|
|
832
921
|
revision: z.ZodString;
|
|
833
922
|
semanticRevision: z.ZodOptional<z.ZodString>;
|
|
@@ -919,8 +1008,10 @@ export declare const AgentInfoResultSchema: z.ZodObject<{
|
|
|
919
1008
|
kind: z.ZodLiteral<"filesystem">;
|
|
920
1009
|
sourcePath: z.ZodString;
|
|
921
1010
|
}, z.core.$strict>, z.ZodObject<{
|
|
1011
|
+
dependencies: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
922
1012
|
kind: z.ZodLiteral<"programmatic">;
|
|
923
1013
|
moduleId: z.ZodString;
|
|
1014
|
+
parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
924
1015
|
registryId: z.ZodString;
|
|
925
1016
|
revision: z.ZodString;
|
|
926
1017
|
semanticRevision: z.ZodOptional<z.ZodString>;
|
|
@@ -971,8 +1062,10 @@ export declare const AgentInfoResultSchema: z.ZodObject<{
|
|
|
971
1062
|
kind: z.ZodLiteral<"filesystem">;
|
|
972
1063
|
sourcePath: z.ZodString;
|
|
973
1064
|
}, z.core.$strict>, z.ZodObject<{
|
|
1065
|
+
dependencies: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
974
1066
|
kind: z.ZodLiteral<"programmatic">;
|
|
975
1067
|
moduleId: z.ZodString;
|
|
1068
|
+
parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
976
1069
|
registryId: z.ZodString;
|
|
977
1070
|
revision: z.ZodString;
|
|
978
1071
|
semanticRevision: z.ZodOptional<z.ZodString>;
|
|
@@ -1031,8 +1124,10 @@ export declare const AgentInfoResultSchema: z.ZodObject<{
|
|
|
1031
1124
|
kind: z.ZodLiteral<"filesystem">;
|
|
1032
1125
|
sourcePath: z.ZodString;
|
|
1033
1126
|
}, z.core.$strict>, z.ZodObject<{
|
|
1127
|
+
dependencies: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1034
1128
|
kind: z.ZodLiteral<"programmatic">;
|
|
1035
1129
|
moduleId: z.ZodString;
|
|
1130
|
+
parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1036
1131
|
registryId: z.ZodString;
|
|
1037
1132
|
revision: z.ZodString;
|
|
1038
1133
|
semanticRevision: z.ZodOptional<z.ZodString>;
|
|
@@ -1102,8 +1197,10 @@ export declare const AgentInfoResultSchema: z.ZodObject<{
|
|
|
1102
1197
|
kind: z.ZodLiteral<"filesystem">;
|
|
1103
1198
|
sourcePath: z.ZodString;
|
|
1104
1199
|
}, z.core.$strict>, z.ZodObject<{
|
|
1200
|
+
dependencies: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1105
1201
|
kind: z.ZodLiteral<"programmatic">;
|
|
1106
1202
|
moduleId: z.ZodString;
|
|
1203
|
+
parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1107
1204
|
registryId: z.ZodString;
|
|
1108
1205
|
revision: z.ZodString;
|
|
1109
1206
|
semanticRevision: z.ZodOptional<z.ZodString>;
|
|
@@ -1111,6 +1208,10 @@ export declare const AgentInfoResultSchema: z.ZodObject<{
|
|
|
1111
1208
|
kind: z.ZodLiteral<"resource">;
|
|
1112
1209
|
sourcePath: z.ZodString;
|
|
1113
1210
|
}, z.core.$strict>]>;
|
|
1211
|
+
form: z.ZodEnum<{
|
|
1212
|
+
derived: "derived";
|
|
1213
|
+
direct: "direct";
|
|
1214
|
+
}>;
|
|
1114
1215
|
layer: z.ZodEnum<{
|
|
1115
1216
|
application: "application";
|
|
1116
1217
|
"extension-override": "extension-override";
|
|
@@ -1185,8 +1286,10 @@ export declare const AgentInfoResultSchema: z.ZodObject<{
|
|
|
1185
1286
|
kind: z.ZodLiteral<"filesystem">;
|
|
1186
1287
|
sourcePath: z.ZodString;
|
|
1187
1288
|
}, z.core.$strict>, z.ZodObject<{
|
|
1289
|
+
dependencies: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1188
1290
|
kind: z.ZodLiteral<"programmatic">;
|
|
1189
1291
|
moduleId: z.ZodString;
|
|
1292
|
+
parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1190
1293
|
registryId: z.ZodString;
|
|
1191
1294
|
revision: z.ZodString;
|
|
1192
1295
|
semanticRevision: z.ZodOptional<z.ZodString>;
|
|
@@ -1245,8 +1348,10 @@ export declare const AgentInfoResultSchema: z.ZodObject<{
|
|
|
1245
1348
|
kind: z.ZodLiteral<"filesystem">;
|
|
1246
1349
|
sourcePath: z.ZodString;
|
|
1247
1350
|
}, z.core.$strict>, z.ZodObject<{
|
|
1351
|
+
dependencies: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1248
1352
|
kind: z.ZodLiteral<"programmatic">;
|
|
1249
1353
|
moduleId: z.ZodString;
|
|
1354
|
+
parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1250
1355
|
registryId: z.ZodString;
|
|
1251
1356
|
revision: z.ZodString;
|
|
1252
1357
|
semanticRevision: z.ZodOptional<z.ZodString>;
|
|
@@ -1296,8 +1401,10 @@ export declare const AgentInfoResultSchema: z.ZodObject<{
|
|
|
1296
1401
|
kind: z.ZodLiteral<"filesystem">;
|
|
1297
1402
|
sourcePath: z.ZodString;
|
|
1298
1403
|
}, z.core.$strict>, z.ZodObject<{
|
|
1404
|
+
dependencies: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1299
1405
|
kind: z.ZodLiteral<"programmatic">;
|
|
1300
1406
|
moduleId: z.ZodString;
|
|
1407
|
+
parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1301
1408
|
registryId: z.ZodString;
|
|
1302
1409
|
revision: z.ZodString;
|
|
1303
1410
|
semanticRevision: z.ZodOptional<z.ZodString>;
|
|
@@ -1346,8 +1453,10 @@ export declare const AgentInfoResultSchema: z.ZodObject<{
|
|
|
1346
1453
|
kind: z.ZodLiteral<"filesystem">;
|
|
1347
1454
|
sourcePath: z.ZodString;
|
|
1348
1455
|
}, z.core.$strict>, z.ZodObject<{
|
|
1456
|
+
dependencies: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1349
1457
|
kind: z.ZodLiteral<"programmatic">;
|
|
1350
1458
|
moduleId: z.ZodString;
|
|
1459
|
+
parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1351
1460
|
registryId: z.ZodString;
|
|
1352
1461
|
revision: z.ZodString;
|
|
1353
1462
|
semanticRevision: z.ZodOptional<z.ZodString>;
|
|
@@ -1401,8 +1510,10 @@ export declare const AgentInfoResultSchema: z.ZodObject<{
|
|
|
1401
1510
|
kind: z.ZodLiteral<"filesystem">;
|
|
1402
1511
|
sourcePath: z.ZodString;
|
|
1403
1512
|
}, z.core.$strict>, z.ZodObject<{
|
|
1513
|
+
dependencies: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1404
1514
|
kind: z.ZodLiteral<"programmatic">;
|
|
1405
1515
|
moduleId: z.ZodString;
|
|
1516
|
+
parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1406
1517
|
registryId: z.ZodString;
|
|
1407
1518
|
revision: z.ZodString;
|
|
1408
1519
|
semanticRevision: z.ZodOptional<z.ZodString>;
|
|
@@ -1459,6 +1570,62 @@ export declare const AgentInfoResultSchema: z.ZodObject<{
|
|
|
1459
1570
|
sourceId: z.ZodString;
|
|
1460
1571
|
}, z.core.$strict>>;
|
|
1461
1572
|
kind: z.ZodLiteral<"eve-agent-info">;
|
|
1573
|
+
memories: z.ZodArray<z.ZodObject<{
|
|
1574
|
+
binding: z.ZodOptional<z.ZodObject<{
|
|
1575
|
+
backing: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1576
|
+
externalDependencies: z.ZodArray<z.ZodString>;
|
|
1577
|
+
extensionScope: z.ZodOptional<z.ZodObject<{
|
|
1578
|
+
namespace: z.ZodString;
|
|
1579
|
+
sourceRoot: z.ZodString;
|
|
1580
|
+
}, z.core.$strict>>;
|
|
1581
|
+
kind: z.ZodLiteral<"filesystem">;
|
|
1582
|
+
sourcePath: z.ZodString;
|
|
1583
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1584
|
+
dependencies: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1585
|
+
kind: z.ZodLiteral<"programmatic">;
|
|
1586
|
+
moduleId: z.ZodString;
|
|
1587
|
+
parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1588
|
+
registryId: z.ZodString;
|
|
1589
|
+
revision: z.ZodString;
|
|
1590
|
+
semanticRevision: z.ZodOptional<z.ZodString>;
|
|
1591
|
+
}, z.core.$strict>], "kind">;
|
|
1592
|
+
logicalPath: z.ZodString;
|
|
1593
|
+
owner: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1594
|
+
kind: z.ZodLiteral<"application">;
|
|
1595
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1596
|
+
feature: z.ZodString;
|
|
1597
|
+
kind: z.ZodLiteral<"framework">;
|
|
1598
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1599
|
+
kind: z.ZodLiteral<"extension">;
|
|
1600
|
+
namespace: z.ZodString;
|
|
1601
|
+
packageName: z.ZodString;
|
|
1602
|
+
}, z.core.$strict>], "kind">;
|
|
1603
|
+
}, z.core.$strict>>;
|
|
1604
|
+
exportName: z.ZodOptional<z.ZodString>;
|
|
1605
|
+
logicalPath: z.ZodString;
|
|
1606
|
+
owner: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1607
|
+
kind: z.ZodLiteral<"application">;
|
|
1608
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1609
|
+
feature: z.ZodString;
|
|
1610
|
+
kind: z.ZodLiteral<"framework">;
|
|
1611
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1612
|
+
kind: z.ZodLiteral<"extension">;
|
|
1613
|
+
namespace: z.ZodString;
|
|
1614
|
+
packageName: z.ZodString;
|
|
1615
|
+
}, z.core.$strict>], "kind">;
|
|
1616
|
+
sourceId: z.ZodString;
|
|
1617
|
+
sourceKind: z.ZodEnum<{
|
|
1618
|
+
markdown: "markdown";
|
|
1619
|
+
module: "module";
|
|
1620
|
+
"skill-package": "skill-package";
|
|
1621
|
+
}>;
|
|
1622
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1623
|
+
slot: z.ZodString;
|
|
1624
|
+
visibility: z.ZodEnum<{
|
|
1625
|
+
scope: "scope";
|
|
1626
|
+
session: "session";
|
|
1627
|
+
}>;
|
|
1628
|
+
}, z.core.$strict>>;
|
|
1462
1629
|
mode: z.ZodEnum<{
|
|
1463
1630
|
development: "development";
|
|
1464
1631
|
production: "production";
|
|
@@ -1475,8 +1642,10 @@ export declare const AgentInfoResultSchema: z.ZodObject<{
|
|
|
1475
1642
|
kind: z.ZodLiteral<"filesystem">;
|
|
1476
1643
|
sourcePath: z.ZodString;
|
|
1477
1644
|
}, z.core.$strict>, z.ZodObject<{
|
|
1645
|
+
dependencies: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1478
1646
|
kind: z.ZodLiteral<"programmatic">;
|
|
1479
1647
|
moduleId: z.ZodString;
|
|
1648
|
+
parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1480
1649
|
registryId: z.ZodString;
|
|
1481
1650
|
revision: z.ZodString;
|
|
1482
1651
|
semanticRevision: z.ZodOptional<z.ZodString>;
|
|
@@ -1530,8 +1699,10 @@ export declare const AgentInfoResultSchema: z.ZodObject<{
|
|
|
1530
1699
|
kind: z.ZodLiteral<"filesystem">;
|
|
1531
1700
|
sourcePath: z.ZodString;
|
|
1532
1701
|
}, z.core.$strict>, z.ZodObject<{
|
|
1702
|
+
dependencies: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1533
1703
|
kind: z.ZodLiteral<"programmatic">;
|
|
1534
1704
|
moduleId: z.ZodString;
|
|
1705
|
+
parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1535
1706
|
registryId: z.ZodString;
|
|
1536
1707
|
revision: z.ZodString;
|
|
1537
1708
|
semanticRevision: z.ZodOptional<z.ZodString>;
|
|
@@ -1584,8 +1755,10 @@ export declare const AgentInfoResultSchema: z.ZodObject<{
|
|
|
1584
1755
|
kind: z.ZodLiteral<"filesystem">;
|
|
1585
1756
|
sourcePath: z.ZodString;
|
|
1586
1757
|
}, z.core.$strict>, z.ZodObject<{
|
|
1758
|
+
dependencies: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1587
1759
|
kind: z.ZodLiteral<"programmatic">;
|
|
1588
1760
|
moduleId: z.ZodString;
|
|
1761
|
+
parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1589
1762
|
registryId: z.ZodString;
|
|
1590
1763
|
revision: z.ZodString;
|
|
1591
1764
|
semanticRevision: z.ZodOptional<z.ZodString>;
|
|
@@ -1637,8 +1810,10 @@ export declare const AgentInfoResultSchema: z.ZodObject<{
|
|
|
1637
1810
|
kind: z.ZodLiteral<"filesystem">;
|
|
1638
1811
|
sourcePath: z.ZodString;
|
|
1639
1812
|
}, z.core.$strict>, z.ZodObject<{
|
|
1813
|
+
dependencies: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1640
1814
|
kind: z.ZodLiteral<"programmatic">;
|
|
1641
1815
|
moduleId: z.ZodString;
|
|
1816
|
+
parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1642
1817
|
registryId: z.ZodString;
|
|
1643
1818
|
revision: z.ZodString;
|
|
1644
1819
|
semanticRevision: z.ZodOptional<z.ZodString>;
|
|
@@ -1687,8 +1862,10 @@ export declare const AgentInfoResultSchema: z.ZodObject<{
|
|
|
1687
1862
|
kind: z.ZodLiteral<"filesystem">;
|
|
1688
1863
|
sourcePath: z.ZodString;
|
|
1689
1864
|
}, z.core.$strict>, z.ZodObject<{
|
|
1865
|
+
dependencies: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1690
1866
|
kind: z.ZodLiteral<"programmatic">;
|
|
1691
1867
|
moduleId: z.ZodString;
|
|
1868
|
+
parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1692
1869
|
registryId: z.ZodString;
|
|
1693
1870
|
revision: z.ZodString;
|
|
1694
1871
|
semanticRevision: z.ZodOptional<z.ZodString>;
|
|
@@ -1742,8 +1919,10 @@ export declare const AgentInfoResultSchema: z.ZodObject<{
|
|
|
1742
1919
|
kind: z.ZodLiteral<"filesystem">;
|
|
1743
1920
|
sourcePath: z.ZodString;
|
|
1744
1921
|
}, z.core.$strict>, z.ZodObject<{
|
|
1922
|
+
dependencies: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1745
1923
|
kind: z.ZodLiteral<"programmatic">;
|
|
1746
1924
|
moduleId: z.ZodString;
|
|
1925
|
+
parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1747
1926
|
registryId: z.ZodString;
|
|
1748
1927
|
revision: z.ZodString;
|
|
1749
1928
|
semanticRevision: z.ZodOptional<z.ZodString>;
|
|
@@ -1790,8 +1969,10 @@ export declare const AgentInfoResultSchema: z.ZodObject<{
|
|
|
1790
1969
|
kind: z.ZodLiteral<"filesystem">;
|
|
1791
1970
|
sourcePath: z.ZodString;
|
|
1792
1971
|
}, z.core.$strict>, z.ZodObject<{
|
|
1972
|
+
dependencies: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1793
1973
|
kind: z.ZodLiteral<"programmatic">;
|
|
1794
1974
|
moduleId: z.ZodString;
|
|
1975
|
+
parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1795
1976
|
registryId: z.ZodString;
|
|
1796
1977
|
revision: z.ZodString;
|
|
1797
1978
|
semanticRevision: z.ZodOptional<z.ZodString>;
|
|
@@ -1839,6 +2020,7 @@ export declare const AgentInfoResultSchema: z.ZodObject<{
|
|
|
1839
2020
|
connections: z.ZodNumber;
|
|
1840
2021
|
hooks: z.ZodNumber;
|
|
1841
2022
|
instructions: z.ZodNumber;
|
|
2023
|
+
memories: z.ZodNumber;
|
|
1842
2024
|
schedules: z.ZodNumber;
|
|
1843
2025
|
skills: z.ZodNumber;
|
|
1844
2026
|
tools: z.ZodNumber;
|
|
@@ -1858,8 +2040,10 @@ export declare const AgentInfoResultSchema: z.ZodObject<{
|
|
|
1858
2040
|
kind: z.ZodLiteral<"filesystem">;
|
|
1859
2041
|
sourcePath: z.ZodString;
|
|
1860
2042
|
}, z.core.$strict>, z.ZodObject<{
|
|
2043
|
+
dependencies: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1861
2044
|
kind: z.ZodLiteral<"programmatic">;
|
|
1862
2045
|
moduleId: z.ZodString;
|
|
2046
|
+
parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1863
2047
|
registryId: z.ZodString;
|
|
1864
2048
|
revision: z.ZodString;
|
|
1865
2049
|
semanticRevision: z.ZodOptional<z.ZodString>;
|
|
@@ -1908,8 +2092,10 @@ export declare const AgentInfoResultSchema: z.ZodObject<{
|
|
|
1908
2092
|
kind: z.ZodLiteral<"filesystem">;
|
|
1909
2093
|
sourcePath: z.ZodString;
|
|
1910
2094
|
}, z.core.$strict>, z.ZodObject<{
|
|
2095
|
+
dependencies: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1911
2096
|
kind: z.ZodLiteral<"programmatic">;
|
|
1912
2097
|
moduleId: z.ZodString;
|
|
2098
|
+
parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1913
2099
|
registryId: z.ZodString;
|
|
1914
2100
|
revision: z.ZodString;
|
|
1915
2101
|
semanticRevision: z.ZodOptional<z.ZodString>;
|
|
@@ -1955,7 +2141,7 @@ export declare const AgentInfoResultSchema: z.ZodObject<{
|
|
|
1955
2141
|
requiresApproval: z.ZodBoolean;
|
|
1956
2142
|
}, z.core.$strict>>;
|
|
1957
2143
|
}, z.core.$strict>;
|
|
1958
|
-
version: z.ZodLiteral<
|
|
2144
|
+
version: z.ZodLiteral<4>;
|
|
1959
2145
|
workflow: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1960
2146
|
enabled: z.ZodLiteral<false>;
|
|
1961
2147
|
toolName: z.ZodString;
|
|
@@ -1972,8 +2158,10 @@ export declare const AgentInfoResultSchema: z.ZodObject<{
|
|
|
1972
2158
|
kind: z.ZodLiteral<"filesystem">;
|
|
1973
2159
|
sourcePath: z.ZodString;
|
|
1974
2160
|
}, z.core.$strict>, z.ZodObject<{
|
|
2161
|
+
dependencies: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1975
2162
|
kind: z.ZodLiteral<"programmatic">;
|
|
1976
2163
|
moduleId: z.ZodString;
|
|
2164
|
+
parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1977
2165
|
registryId: z.ZodString;
|
|
1978
2166
|
revision: z.ZodString;
|
|
1979
2167
|
semanticRevision: z.ZodOptional<z.ZodString>;
|
|
@@ -2035,5 +2223,6 @@ export type AgentInfoChannelEntry = ReadonlyDeep<z.output<typeof channelRoute>>;
|
|
|
2035
2223
|
export type AgentInfoChannels = AgentInfoResult["channels"];
|
|
2036
2224
|
export type AgentInfoConnectionEntry = ReadonlyDeep<z.output<typeof connection>>;
|
|
2037
2225
|
export type AgentInfoHookEntry = ReadonlyDeep<z.output<typeof hook>>;
|
|
2226
|
+
export type AgentInfoMemoryEntry = ReadonlyDeep<z.output<typeof memory>>;
|
|
2038
2227
|
export type AgentInfoSandboxEntry = ReadonlyDeep<z.output<typeof sandbox>>;
|
|
2039
2228
|
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{z}from"#compiled/zod/index.js";const owner=z.discriminatedUnion(`kind`,[z.object({kind:z.literal(`application`)}).strict(),z.object({feature:z.string(),kind:z.literal(`framework`)}).strict(),z.object({kind:z.literal(`extension`),namespace:z.string(),packageName:z.string()}).strict()]),moduleBacking=z.discriminatedUnion(`kind`,[z.object({externalDependencies:z.array(z.string()),extensionScope:z.object({namespace:z.string(),sourceRoot:z.string()}).strict().optional(),kind:z.literal(`filesystem`),sourcePath:z.string()}).strict(),z.object({kind:z.literal(`programmatic`),moduleId:z.string(),registryId:z.string(),revision:z.string(),semanticRevision:z.string().optional()}).strict()]),binding=z.object({backing:moduleBacking,logicalPath:z.string(),owner}).strict(),source=z.object({binding:binding.optional(),exportName:z.string().optional(),logicalPath:z.string(),owner,sourceId:z.string(),sourceKind:z.enum([`markdown`,`module`,`skill-package`])}).strict(),entry=source.extend({name:z.string()}).strict(),dynamicResolver=source.extend({eventNames:z.array(z.string()),slug:z.string()}).strict(),modelRouting=z.discriminatedUnion(`kind`,[z.object({kind:z.literal(`gateway`),target:z.string(),byok:z.string().optional()}).strict(),z.object({kind:z.literal(`external`),provider:z.string()}).strict()]),modelEndpoint=z.union([z.object({kind:z.literal(`external`),provider:z.string()}).strict(),z.object({kind:z.literal(`chatgpt`),state:z.enum([`checking`,`ready`,`signed-out`,`reauth-required`,`unavailable`]),accountLabel:z.string().optional()}).strict(),z.object({kind:z.literal(`gateway`),connected:z.literal(!0),credential:z.enum([`api-key`,`oidc`])}).strict(),z.object({kind:z.literal(`gateway`),connected:z.literal(!1)}).strict()]),modelBaseFields={contextWindowTokens:z.number().optional(),providerOptions:z.unknown().optional(),reasoning:z.enum([`provider-default`,`none`,`minimal`,`low`,`medium`,`high`,`xhigh`]).optional().catch(void 0),source:source.optional()},agentModel=z.union([z.object({...modelBaseFields,endpoint:modelEndpoint.optional(),id:z.string(),routing:modelRouting}).strict(),z.object({...modelBaseFields,endpoint:z.never().optional(),id:z.never().optional(),routing:z.object({kind:z.literal(`dynamic`),resolver:dynamicResolver}).strict()}).strict()]),tool=entry.extend({description:z.string(),hasAuth:z.boolean(),hasExecute:z.boolean(),hasModelOutputProjection:z.boolean(),hasOutputSchema:z.boolean(),inputSchema:z.unknown(),outputSchema:z.unknown().optional(),requiresApproval:z.boolean()}).strict(),skill=entry.extend({description:z.string(),license:z.string().optional(),markdown:z.string(),metadata:z.record(z.string(),z.string()).optional()}).strict(),instructions=entry.extend({content:z.string(),role:z.enum([`system`,`user`])}).strict(),schedule=entry.extend({cron:z.string(),hasRun:z.boolean(),markdown:z.string().optional()}).strict(),channelMethod=z.enum([`GET`,`HEAD`,`POST`,`PUT`,`PATCH`,`DELETE`,`OPTIONS`,`WEBSOCKET`]),channelRoute=entry.extend({adapterKind:z.string().optional(),method:channelMethod,urlPath:z.string()}).strict(),sourceDescriptor=z.object({backing:z.union([moduleBacking,z.object({kind:z.literal(`resource`),sourcePath:z.string()}).strict()]),layer:z.enum([`framework-default`,`extension-package`,`extension-override`,`application`]),logicalPath:z.string(),owner,sourceId:z.string()}).strict(),shadowedChannelRoute=z.object({method:channelMethod,source:sourceDescriptor,urlPath:z.string(),winnerSourceId:z.string()}).strict(),connection=source.extend({connectionName:z.string(),description:z.string(),hasApproval:z.boolean(),hasAuthorization:z.boolean(),hasHeaders:z.boolean(),protocol:z.string(),toolFilter:z.unknown().optional(),url:z.string()}).strict(),hook=source.extend({eventNames:z.array(z.string()),slug:z.string()}).strict(),sandbox=source.extend({backendKind:z.string().optional(),description:z.string().optional(),hasBootstrap:z.boolean(),hasOnSession:z.boolean(),revalidationKey:z.string().optional(),sourceHash:z.string().optional()}).strict(),subagent=entry.extend({configResolver:dynamicResolver.optional(),description:z.string().optional(),entryPath:z.string(),nodeId:z.string(),parentNodeId:z.string(),rootPath:z.string(),summary:z.object({channels:z.number(),connections:z.number(),hooks:z.number(),instructions:z.number(),schedules:z.number(),skills:z.number(),tools:z.number()}).strict()}).strict(),remoteAgent=entry.extend({description:z.string(),nodeId:z.string(),parentNodeId:z.string(),url:z.string().optional()}).strict(),kernelEffect=z.object({action:z.enum([`subagent-call`,`task-update`,`task-cancel`]).optional(),audience:z.array(z.enum([`root-session`,`delegated-task-child`,`requires-request-input`,`requires-loadable-skill`,`below-subagent-depth`])),kind:z.enum([`request-input`,`dispatch`,`provider-tool`]),sourceId:z.string()}).strict(),compositionDiagnostic=z.object({kind:z.enum([`disabled`,`shadowed`]),logicalPath:z.string(),owner,sourceId:z.string(),winnerSourceId:z.string().optional()}).strict(),workflow=z.discriminatedUnion(`enabled`,[z.object({enabled:z.literal(!1),toolName:z.string()}).strict(),z.object({enabled:z.literal(!0),source,toolName:z.string()}).strict()]),AgentInfoResultSchema=z.object({agent:z.object({agentRoot:z.string(),appRoot:z.string(),config:source.extend({binding}).strict(),description:z.string().optional(),model:agentModel,name:z.string(),nodeId:z.string(),outputSchema:z.unknown().optional()}).strict(),capabilities:z.object({devRoutes:z.boolean()}).strict(),channels:z.object({routes:z.array(channelRoute),shadowed:z.array(shadowedChannelRoute)}).strict(),composition:z.object({disabled:z.array(compositionDiagnostic),shadowed:z.array(compositionDiagnostic)}).strict(),connections:z.array(connection),diagnostics:z.object({discoveryErrors:z.number(),discoveryWarnings:z.number()}).strict(),hooks:z.array(hook),instructions:z.object({dynamic:z.array(dynamicResolver),static:z.array(instructions)}).strict(),instrumentation:source.optional(),kernelEffects:z.array(kernelEffect),kind:z.literal(`eve-agent-info`),mode:z.enum([`development`,`production`]),remoteAgents:z.object({entries:z.array(remoteAgent),total:z.number()}).strict(),sandbox,schedules:z.array(schedule),skills:z.object({dynamic:z.array(dynamicResolver),static:z.array(skill)}).strict(),subagents:z.object({local:z.array(subagent),total:z.number()}).strict(),tools:z.object({dynamic:z.array(dynamicResolver),static:z.array(tool)}).strict(),version:z.literal(3),workflow,workspace:z.object({resourceRoot:z.unknown(),rootEntries:z.array(z.string())}).strict()}).strict().superRefine((e,t)=>{let assertUnique=(e,n,r)=>{let i=new Set;e.forEach((e,a)=>{let o=n(e);i.has(o)&&t.addIssue({code:`custom`,message:`Duplicate public identity "${o}".`,path:[...r,a]}),i.add(o)})},assertTotal=(e,n,r)=>{(!Number.isSafeInteger(e)||e<0||e!==n.length)&&t.addIssue({code:`custom`,message:`Expected total ${n.length}, received ${e}.`,path:[...r]})};assertUnique(e.tools.static,e=>e.name,[`tools`,`static`]),assertUnique(e.tools.dynamic,e=>e.slug,[`tools`,`dynamic`]),assertUnique(e.skills.static,e=>e.name,[`skills`,`static`]),assertUnique(e.skills.dynamic,e=>e.slug,[`skills`,`dynamic`]),assertUnique(e.instructions.static,e=>e.name,[`instructions`,`static`]),assertUnique(e.instructions.dynamic,e=>e.slug,[`instructions`,`dynamic`]),assertUnique(e.schedules,e=>e.name,[`schedules`]),assertUnique(e.connections,e=>e.connectionName,[`connections`]),assertUnique(e.hooks,e=>e.slug,[`hooks`]),assertUnique(e.channels.routes,e=>`${e.method} ${normalizeRoutePattern(e.urlPath)}`,[`channels`,`routes`]),assertUnique(e.subagents.local,e=>e.nodeId,[`subagents`,`local`]),assertUnique(e.remoteAgents.entries,e=>e.nodeId,[`remoteAgents`,`entries`]),assertTotal(e.subagents.total,e.subagents.local,[`subagents`,`total`]),assertTotal(e.remoteAgents.total,e.remoteAgents.entries,[`remoteAgents`,`total`]);let n=[[e.agent.config,[`agent`,`config`]],...e.agent.model.source===void 0?[]:[[e.agent.model.source,[`agent`,`model`,`source`]]],...e.agent.model.routing.kind===`dynamic`?[[e.agent.model.routing.resolver,[`agent`,`model`,`routing`,`resolver`]]]:[],...e.channels.routes.map((e,t)=>[e,[`channels`,`routes`,t]]),...e.connections.map((e,t)=>[e,[`connections`,t]]),...e.hooks.map((e,t)=>[e,[`hooks`,t]]),...e.instructions.dynamic.map((e,t)=>[e,[`instructions`,`dynamic`,t]]),...e.instructions.static.map((e,t)=>[e,[`instructions`,`static`,t]]),...e.instrumentation===void 0?[]:[[e.instrumentation,[`instrumentation`]]],...e.remoteAgents.entries.map((e,t)=>[e,[`remoteAgents`,`entries`,t]]),...e.schedules.map((e,t)=>[e,[`schedules`,t]]),...e.skills.dynamic.map((e,t)=>[e,[`skills`,`dynamic`,t]]),...e.skills.static.map((e,t)=>[e,[`skills`,`static`,t]]),...e.subagents.local.flatMap((e,t)=>e.configResolver===void 0?[]:[[e.configResolver,[`subagents`,`local`,t,`configResolver`]]]),...e.tools.dynamic.map((e,t)=>[e,[`tools`,`dynamic`,t]]),...e.tools.static.map((e,t)=>[e,[`tools`,`static`,t]]),...e.workflow.enabled?[[e.workflow.source,[`workflow`,`source`]]]:[],[e.sandbox,[`sandbox`]]];for(let[e,r]of n){if(e.sourceKind===`module`&&e.binding===void 0){t.addIssue({code:`custom`,message:`Module source is missing its compiled binding.`,path:[...r,`binding`]});continue}if(e.sourceKind!==`module`&&e.binding!==void 0){t.addIssue({code:`custom`,message:`${e.sourceKind} source cannot carry a module binding.`,path:[...r,`binding`]});continue}e.binding!==void 0&&(e.binding.logicalPath!==e.logicalPath&&t.addIssue({code:`custom`,message:`Source and binding logical paths do not match.`,path:[...r,`binding`,`logicalPath`]}),JSON.stringify(e.binding.owner)!==JSON.stringify(e.owner)&&t.addIssue({code:`custom`,message:`Source and binding owners do not match.`,path:[...r,`binding`,`owner`]}))}});function normalizeRoutePattern(e){return e.replace(/^\/+|\/+$/g,``).split(`/`).map(e=>e.startsWith(`:`)||/^\[[^\]]+\]$/.test(e)?`:`:e).join(`/`)}export{AgentInfoResultSchema};
|
|
1
|
+
import{z}from"#compiled/zod/index.js";const owner=z.discriminatedUnion(`kind`,[z.object({kind:z.literal(`application`)}).strict(),z.object({feature:z.string(),kind:z.literal(`framework`)}).strict(),z.object({kind:z.literal(`extension`),namespace:z.string(),packageName:z.string()}).strict()]),moduleBacking=z.discriminatedUnion(`kind`,[z.object({externalDependencies:z.array(z.string()),extensionScope:z.object({namespace:z.string(),sourceRoot:z.string()}).strict().optional(),kind:z.literal(`filesystem`),sourcePath:z.string()}).strict(),z.object({dependencies:z.record(z.string(),z.string()).optional(),kind:z.literal(`programmatic`),moduleId:z.string(),parameters:z.record(z.string(),z.unknown()).optional(),registryId:z.string(),revision:z.string(),semanticRevision:z.string().optional()}).strict()]),binding=z.object({backing:moduleBacking,logicalPath:z.string(),owner}).strict(),source=z.object({binding:binding.optional(),exportName:z.string().optional(),logicalPath:z.string(),owner,sourceId:z.string(),sourceKind:z.enum([`markdown`,`module`,`skill-package`])}).strict(),entry=source.extend({name:z.string()}).strict(),dynamicResolver=source.extend({eventNames:z.array(z.string()),slug:z.string()}).strict(),modelRouting=z.discriminatedUnion(`kind`,[z.object({kind:z.literal(`gateway`),target:z.string(),byok:z.string().optional()}).strict(),z.object({kind:z.literal(`external`),provider:z.string()}).strict()]),modelEndpoint=z.union([z.object({kind:z.literal(`external`),provider:z.string()}).strict(),z.object({kind:z.literal(`chatgpt`),state:z.enum([`checking`,`ready`,`signed-out`,`reauth-required`,`unavailable`]),accountLabel:z.string().optional()}).strict(),z.object({kind:z.literal(`gateway`),connected:z.literal(!0),credential:z.enum([`api-key`,`oidc`])}).strict(),z.object({kind:z.literal(`gateway`),connected:z.literal(!1)}).strict()]),modelBaseFields={contextWindowTokens:z.number().optional(),providerOptions:z.unknown().optional(),reasoning:z.enum([`provider-default`,`none`,`minimal`,`low`,`medium`,`high`,`xhigh`]).optional().catch(void 0),source:source.optional()},agentModel=z.union([z.object({...modelBaseFields,endpoint:modelEndpoint.optional(),id:z.string(),routing:modelRouting}).strict(),z.object({...modelBaseFields,endpoint:z.never().optional(),id:z.never().optional(),routing:z.object({kind:z.literal(`dynamic`),resolver:dynamicResolver}).strict()}).strict()]),tool=entry.extend({description:z.string(),hasAuth:z.boolean(),hasExecute:z.boolean(),hasModelOutputProjection:z.boolean(),hasOutputSchema:z.boolean(),inputSchema:z.unknown(),outputSchema:z.unknown().optional(),requiresApproval:z.boolean()}).strict(),skill=entry.extend({description:z.string(),license:z.string().optional(),markdown:z.string(),metadata:z.record(z.string(),z.string()).optional()}).strict(),instructions=entry.extend({content:z.string(),role:z.enum([`system`,`user`])}).strict(),schedule=entry.extend({cron:z.string(),hasRun:z.boolean(),markdown:z.string().optional()}).strict(),channelMethod=z.enum([`GET`,`HEAD`,`POST`,`PUT`,`PATCH`,`DELETE`,`OPTIONS`,`WEBSOCKET`]),channelRoute=entry.extend({adapterKind:z.string().optional(),method:channelMethod,urlPath:z.string()}).strict(),sourceDescriptor=z.object({backing:z.union([moduleBacking,z.object({kind:z.literal(`resource`),sourcePath:z.string()}).strict()]),form:z.enum([`derived`,`direct`]),layer:z.enum([`framework-default`,`extension-package`,`extension-override`,`application`]),logicalPath:z.string(),owner,sourceId:z.string()}).strict(),shadowedChannelRoute=z.object({method:channelMethod,source:sourceDescriptor,urlPath:z.string(),winnerSourceId:z.string()}).strict(),connection=source.extend({connectionName:z.string(),description:z.string(),hasApproval:z.boolean(),hasAuthorization:z.boolean(),hasHeaders:z.boolean(),protocol:z.string(),toolFilter:z.unknown().optional(),url:z.string()}).strict(),hook=source.extend({eventNames:z.array(z.string()),slug:z.string()}).strict(),memory=source.extend({description:z.string().optional(),slot:z.string(),visibility:z.enum([`scope`,`session`])}).strict(),sandbox=source.extend({backendKind:z.string().optional(),description:z.string().optional(),hasBootstrap:z.boolean(),hasOnSession:z.boolean(),revalidationKey:z.string().optional(),sourceHash:z.string().optional()}).strict(),subagent=entry.extend({configResolver:dynamicResolver.optional(),description:z.string().optional(),entryPath:z.string(),nodeId:z.string(),parentNodeId:z.string(),rootPath:z.string(),summary:z.object({channels:z.number(),connections:z.number(),hooks:z.number(),instructions:z.number(),memories:z.number(),schedules:z.number(),skills:z.number(),tools:z.number()}).strict()}).strict(),remoteAgent=entry.extend({description:z.string(),nodeId:z.string(),parentNodeId:z.string(),url:z.string().optional()}).strict(),kernelEffect=z.object({action:z.enum([`subagent-call`,`task-update`,`task-cancel`]).optional(),audience:z.array(z.enum([`root-session`,`delegated-task-child`,`requires-request-input`,`requires-loadable-skill`,`below-subagent-depth`])),kind:z.enum([`request-input`,`dispatch`,`provider-tool`]),sourceId:z.string()}).strict(),compositionDiagnostic=z.object({kind:z.enum([`disabled`,`shadowed`]),logicalPath:z.string(),owner,sourceId:z.string(),winnerSourceId:z.string().optional()}).strict(),workflow=z.discriminatedUnion(`enabled`,[z.object({enabled:z.literal(!1),toolName:z.string()}).strict(),z.object({enabled:z.literal(!0),source,toolName:z.string()}).strict()]),AgentInfoResultSchema=z.object({agent:z.object({agentRoot:z.string(),appRoot:z.string(),config:source.extend({binding}).strict(),description:z.string().optional(),model:agentModel,name:z.string(),nodeId:z.string(),outputSchema:z.unknown().optional()}).strict(),capabilities:z.object({devRoutes:z.boolean()}).strict(),channels:z.object({routes:z.array(channelRoute),shadowed:z.array(shadowedChannelRoute)}).strict(),composition:z.object({disabled:z.array(compositionDiagnostic),shadowed:z.array(compositionDiagnostic)}).strict(),connections:z.array(connection),diagnostics:z.object({discoveryErrors:z.number(),discoveryWarnings:z.number()}).strict(),hooks:z.array(hook),instructions:z.object({dynamic:z.array(dynamicResolver),static:z.array(instructions)}).strict(),instrumentation:source.optional(),kernelEffects:z.array(kernelEffect),kind:z.literal(`eve-agent-info`),memories:z.array(memory),mode:z.enum([`development`,`production`]),remoteAgents:z.object({entries:z.array(remoteAgent),total:z.number()}).strict(),sandbox,schedules:z.array(schedule),skills:z.object({dynamic:z.array(dynamicResolver),static:z.array(skill)}).strict(),subagents:z.object({local:z.array(subagent),total:z.number()}).strict(),tools:z.object({dynamic:z.array(dynamicResolver),static:z.array(tool)}).strict(),version:z.literal(4),workflow,workspace:z.object({resourceRoot:z.unknown(),rootEntries:z.array(z.string())}).strict()}).strict().superRefine((e,t)=>{let assertUnique=(e,n,r)=>{let i=new Set;e.forEach((e,a)=>{let o=n(e);i.has(o)&&t.addIssue({code:`custom`,message:`Duplicate public identity "${o}".`,path:[...r,a]}),i.add(o)})},assertTotal=(e,n,r)=>{(!Number.isSafeInteger(e)||e<0||e!==n.length)&&t.addIssue({code:`custom`,message:`Expected total ${n.length}, received ${e}.`,path:[...r]})};assertUnique(e.tools.static,e=>e.name,[`tools`,`static`]),assertUnique(e.tools.dynamic,e=>e.slug,[`tools`,`dynamic`]),assertUnique(e.skills.static,e=>e.name,[`skills`,`static`]),assertUnique(e.skills.dynamic,e=>e.slug,[`skills`,`dynamic`]),assertUnique(e.instructions.static,e=>e.name,[`instructions`,`static`]),assertUnique(e.instructions.dynamic,e=>e.slug,[`instructions`,`dynamic`]),assertUnique(e.schedules,e=>e.name,[`schedules`]),assertUnique(e.connections,e=>e.connectionName,[`connections`]),assertUnique(e.hooks,e=>e.slug,[`hooks`]),assertUnique(e.memories,e=>e.slot,[`memories`]),assertUnique(e.channels.routes,e=>`${e.method} ${normalizeRoutePattern(e.urlPath)}`,[`channels`,`routes`]),assertUnique(e.subagents.local,e=>e.nodeId,[`subagents`,`local`]),assertUnique(e.remoteAgents.entries,e=>e.nodeId,[`remoteAgents`,`entries`]),assertTotal(e.subagents.total,e.subagents.local,[`subagents`,`total`]),assertTotal(e.remoteAgents.total,e.remoteAgents.entries,[`remoteAgents`,`total`]);let n=[[e.agent.config,[`agent`,`config`]],...e.agent.model.source===void 0?[]:[[e.agent.model.source,[`agent`,`model`,`source`]]],...e.agent.model.routing.kind===`dynamic`?[[e.agent.model.routing.resolver,[`agent`,`model`,`routing`,`resolver`]]]:[],...e.channels.routes.map((e,t)=>[e,[`channels`,`routes`,t]]),...e.connections.map((e,t)=>[e,[`connections`,t]]),...e.hooks.map((e,t)=>[e,[`hooks`,t]]),...e.instructions.dynamic.map((e,t)=>[e,[`instructions`,`dynamic`,t]]),...e.instructions.static.map((e,t)=>[e,[`instructions`,`static`,t]]),...e.memories.map((e,t)=>[e,[`memories`,t]]),...e.instrumentation===void 0?[]:[[e.instrumentation,[`instrumentation`]]],...e.remoteAgents.entries.map((e,t)=>[e,[`remoteAgents`,`entries`,t]]),...e.schedules.map((e,t)=>[e,[`schedules`,t]]),...e.skills.dynamic.map((e,t)=>[e,[`skills`,`dynamic`,t]]),...e.skills.static.map((e,t)=>[e,[`skills`,`static`,t]]),...e.subagents.local.flatMap((e,t)=>e.configResolver===void 0?[]:[[e.configResolver,[`subagents`,`local`,t,`configResolver`]]]),...e.tools.dynamic.map((e,t)=>[e,[`tools`,`dynamic`,t]]),...e.tools.static.map((e,t)=>[e,[`tools`,`static`,t]]),...e.workflow.enabled?[[e.workflow.source,[`workflow`,`source`]]]:[],[e.sandbox,[`sandbox`]]];for(let[e,r]of n){if(e.sourceKind===`module`&&e.binding===void 0){t.addIssue({code:`custom`,message:`Module source is missing its compiled binding.`,path:[...r,`binding`]});continue}if(e.sourceKind!==`module`&&e.binding!==void 0){t.addIssue({code:`custom`,message:`${e.sourceKind} source cannot carry a module binding.`,path:[...r,`binding`]});continue}e.binding!==void 0&&(e.binding.logicalPath!==e.logicalPath&&t.addIssue({code:`custom`,message:`Source and binding logical paths do not match.`,path:[...r,`binding`,`logicalPath`]}),JSON.stringify(e.binding.owner)!==JSON.stringify(e.owner)&&t.addIssue({code:`custom`,message:`Source and binding owners do not match.`,path:[...r,`binding`,`owner`]}))}});function normalizeRoutePattern(e){return e.replace(/^\/+|\/+$/g,``).split(`/`).map(e=>e.startsWith(`:`)||/^\[[^\]]+\]$/.test(e)?`:`:e).join(`/`)}export{AgentInfoResultSchema};
|
|
@@ -9,7 +9,7 @@ import type { TurnPolicy } from "#channel/types.js";
|
|
|
9
9
|
import type { InputRequest, InputResponse } from "#shared/input.js";
|
|
10
10
|
import type { JsonObject } from "#shared/json.js";
|
|
11
11
|
export type { HealthResult } from "#client/health-schema.js";
|
|
12
|
-
export type { AgentInfoChannelEntry, AgentInfoChannels, AgentInfoConnectionEntry, AgentInfoDynamicResolverEntry, AgentInfoEntry, AgentInfoHookEntry, AgentInfoInstructions, AgentInfoInstructionsEntry, AgentInfoResult, AgentInfoRemoteAgentEntry, AgentInfoSandboxEntry, AgentInfoScheduleEntry, AgentInfoSkillEntry, AgentInfoSource, AgentInfoSubagentEntry, AgentInfoToolEntry, AgentInfoTools, } from "./agent-info-schema.js";
|
|
12
|
+
export type { AgentInfoChannelEntry, AgentInfoChannels, AgentInfoConnectionEntry, AgentInfoDynamicResolverEntry, AgentInfoEntry, AgentInfoHookEntry, AgentInfoInstructions, AgentInfoInstructionsEntry, AgentInfoMemoryEntry, AgentInfoResult, AgentInfoRemoteAgentEntry, AgentInfoSandboxEntry, AgentInfoScheduleEntry, AgentInfoSkillEntry, AgentInfoSource, AgentInfoSubagentEntry, AgentInfoToolEntry, AgentInfoTools, } from "./agent-info-schema.js";
|
|
13
13
|
/**
|
|
14
14
|
* Static credential value or per-request credential resolver.
|
|
15
15
|
*/
|
|
@@ -11,8 +11,8 @@ declare const EXTENSION_CAPABILITY_CONTRACTS: {
|
|
|
11
11
|
readonly dropped: {};
|
|
12
12
|
};
|
|
13
13
|
readonly tool: {
|
|
14
|
-
readonly current:
|
|
15
|
-
readonly supported: readonly [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 16, 17, 18];
|
|
14
|
+
readonly current: 19;
|
|
15
|
+
readonly supported: readonly [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 16, 17, 18, 19];
|
|
16
16
|
readonly dropped: {
|
|
17
17
|
readonly 15: "TaskExec replaces stageEffect with send";
|
|
18
18
|
};
|
|
@@ -33,8 +33,8 @@ declare const EXTENSION_CAPABILITY_CONTRACTS: {
|
|
|
33
33
|
readonly dropped: {};
|
|
34
34
|
};
|
|
35
35
|
readonly subagent: {
|
|
36
|
-
readonly current:
|
|
37
|
-
readonly supported: readonly [3];
|
|
36
|
+
readonly current: 4;
|
|
37
|
+
readonly supported: readonly [3, 4];
|
|
38
38
|
readonly dropped: {
|
|
39
39
|
readonly 1: "Persistent subagent sessions are now the default and the experimental opt-in was removed";
|
|
40
40
|
readonly 2: "Persistent subagent sessions are now the default and the experimental opt-in was removed";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{readFile,writeFile}from"node:fs/promises";import{z}from"#compiled/zod/index.js";import{join}from"node:path";import{formatValidationError}from"#runtime/validation.js";const EXTENSION_COMPATIBILITY_MANIFEST_KIND=`eve-extension`,EXTENSION_COMPATIBILITY_MANIFEST_FORMAT_VERSION=2,EXTENSION_COMPATIBILITY_MANIFEST_FILENAME=`_manifest.json`,EXTENSION_CAPABILITY_CONTRACTS={extension:{current:1,supported:[1],dropped:{}},tool:{current:
|
|
1
|
+
import{readFile,writeFile}from"node:fs/promises";import{z}from"#compiled/zod/index.js";import{join}from"node:path";import{formatValidationError}from"#runtime/validation.js";const EXTENSION_COMPATIBILITY_MANIFEST_KIND=`eve-extension`,EXTENSION_COMPATIBILITY_MANIFEST_FORMAT_VERSION=2,EXTENSION_COMPATIBILITY_MANIFEST_FILENAME=`_manifest.json`,EXTENSION_CAPABILITY_CONTRACTS={extension:{current:1,supported:[1],dropped:{}},tool:{current:19,supported:[1,2,3,4,5,6,7,8,9,10,11,12,13,14,16,17,18,19],dropped:{15:`TaskExec replaces stageEffect with send`}},dynamicTool:{current:19,supported:[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19],dropped:{}},channel:{current:9,supported:[1,2,3,4,5,6,7,8,9],dropped:{}},schedule:{current:3,supported:[1,2,3],dropped:{}},subagent:{current:4,supported:[3,4],dropped:{1:`Persistent subagent sessions are now the default and the experimental opt-in was removed`,2:`Persistent subagent sessions are now the default and the experimental opt-in was removed`}},connection:{current:6,supported:[1,2,3,4,5,6],dropped:{}},hook:{current:14,supported:[10,11,12,13,14],dropped:{1:`Model identity moved from session.started runtime metadata to step.started call attribution.`,2:`Model identity moved from session.started runtime metadata to step.started call attribution.`,3:`Model identity moved from session.started runtime metadata to step.started call attribution.`,4:`Model identity moved from session.started runtime metadata to step.started call attribution.`,5:`Model identity moved from session.started runtime metadata to step.started call attribution.`,6:`Model identity moved from session.started runtime metadata to step.started call attribution.`,7:`Model identity moved from session.started runtime metadata to step.started call attribution.`,8:`Model identity moved from session.started runtime metadata to step.started call attribution.`,9:`Model identity moved from session.started runtime metadata to step.started call attribution.`}},skill:{current:1,supported:[1],dropped:{}},dynamicSkill:{current:12,supported:[1,2,3,4,5,6,7,8,9,10,11,12],dropped:{}},instructions:{current:2,supported:[1,2],dropped:{}},dynamicInstructions:{current:13,supported:[1,2,3,4,5,6,7,8,9,10,11,12,13],dropped:{}},config:{current:1,supported:[1],dropped:{}},state:{current:3,supported:[1,2,3],dropped:{}}},EXTENSION_CAPABILITY_VERSIONS=Object.fromEntries(Object.entries(EXTENSION_CAPABILITY_CONTRACTS).map(([e,t])=>[e,t.current])),EXTENSION_CAPABILITY_SUPPORT=Object.keys(EXTENSION_CAPABILITY_CONTRACTS).reduce((e,t)=>(e[t]=EXTENSION_CAPABILITY_CONTRACTS[t].supported,e),{}),extensionCompatibilityManifestV1Schema=z.object({kind:z.literal(EXTENSION_COMPATIBILITY_MANIFEST_KIND),formatVersion:z.literal(1),builtWithEve:z.string().min(1),requires:z.record(z.string(),z.number().int().positive())}).strict(),extensionCompatibilityManifestV2Schema=extensionCompatibilityManifestV1Schema.extend({formatVersion:z.literal(2),build:z.object({externalDependencies:z.array(z.string().min(1)).readonly()}).strict().optional()}),extensionCompatibilityManifestSchema=z.union([extensionCompatibilityManifestV1Schema,extensionCompatibilityManifestV2Schema]);function serializeExtensionCompatibilityManifest(e){return`${JSON.stringify(e,null,2)}\n`}function parseExtensionCompatibilityManifest(e,t){let n;try{n=JSON.parse(e)}catch(e){throw Error(`Extension compatibility manifest "${t}" is not valid JSON: ${e instanceof Error?e.message:String(e)}`)}let r=extensionCompatibilityManifestSchema.safeParse(n);if(!r.success)throw Error(`Extension compatibility manifest "${t}" is invalid. ${formatValidationError(r.error)}`);return r.data}async function readExtensionCompatibilityManifest(t){return parseExtensionCompatibilityManifest(await readFile(t,`utf8`),t)}async function writeExtensionCompatibilityManifest(e,n){await writeFile(join(e,EXTENSION_COMPATIBILITY_MANIFEST_FILENAME),serializeExtensionCompatibilityManifest(n),`utf8`)}function findUnsupportedExtensionCapabilities(e,t=EXTENSION_CAPABILITY_SUPPORT){return Object.entries(e.requires).flatMap(([e,n])=>{let r=Object.hasOwn(t,e)?t[e]??[]:[];return r.includes(n)?[]:[{capability:e,requiredVersion:n,supportedVersions:r}]}).sort((e,t)=>e.capability.localeCompare(t.capability))}export{EXTENSION_CAPABILITY_SUPPORT,EXTENSION_CAPABILITY_VERSIONS,EXTENSION_COMPATIBILITY_MANIFEST_FILENAME,EXTENSION_COMPATIBILITY_MANIFEST_FORMAT_VERSION,EXTENSION_COMPATIBILITY_MANIFEST_KIND,findUnsupportedExtensionCapabilities,parseExtensionCompatibilityManifest,readExtensionCompatibilityManifest,serializeExtensionCompatibilityManifest,writeExtensionCompatibilityManifest};
|