@tangle-network/agent-interface 1.8.0 → 2.0.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/README.md +14 -0
- package/dist/agent-candidate-code-schema.d.ts +17 -17
- package/dist/agent-candidate-execution-plan-schema.d.ts +179 -179
- package/dist/agent-candidate-lineage-schema.d.ts +2 -2
- package/dist/agent-candidate-outcome-schema.d.ts +56 -56
- package/dist/agent-candidate-profile-schema.d.ts +17 -17
- package/dist/agent-candidate-promotion-schema.d.ts +1085 -1085
- package/dist/agent-candidate-receipt-schema.d.ts +195 -195
- package/dist/agent-candidate-schema-common.d.ts +6 -0
- package/dist/agent-candidate-schema-common.js +25 -10
- package/dist/agent-candidate-schema.d.ts +30 -30
- package/dist/agent-candidate-task-schema.d.ts +16 -16
- package/dist/agent-execution-limits.d.ts +1 -1
- package/dist/agent-execution-preparation-receipt.d.ts +71 -71
- package/dist/agent-improvement-measurement-schema.d.ts +26 -26
- package/dist/agent-instance.d.ts +2 -2
- package/dist/agent-profile-improvement-schema.d.ts +75 -75
- package/dist/agent-workspace-lease.d.ts +4 -4
- package/dist/certified-context.d.ts +2 -2
- package/dist/environment-command-turn.js +4 -1
- package/dist/environment-interactive-control.d.ts +422 -422
- package/dist/environment-interactive-start.d.ts +17 -17
- package/dist/environment-observation.d.ts +39 -39
- package/dist/environment-provider.d.ts +1 -0
- package/dist/environment-provider.js +1 -0
- package/dist/environment-requests.d.ts +22 -2
- package/dist/environment-requests.js +29 -1
- package/dist/environment-runtime.d.ts +53 -20
- package/dist/environment-runtime.js +23 -0
- package/dist/harness.d.ts +11 -11
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/interaction-envelope.d.ts +26 -26
- package/dist/interaction-fields.d.ts +22 -22
- package/dist/interaction-permissions.d.ts +2 -2
- package/dist/portable-context-base.d.ts +1 -1
- package/dist/portable-context-continuation.d.ts +4 -4
- package/dist/portable-context-plan-request.d.ts +1 -1
- package/dist/portable-context-plan.d.ts +5 -5
- package/dist/portable-context-shared.d.ts +1 -1
- package/dist/portable-context-transfer.d.ts +6 -6
- package/dist/profile-schema.d.ts +37 -37
- package/dist/runtime-control.d.ts +10 -10
- package/dist/workspace-cleanup.d.ts +3 -3
- package/dist/workspace-cwd.d.ts +28 -0
- package/dist/workspace-cwd.js +77 -0
- package/dist/workspace-fork.d.ts +4 -4
- package/package.json +6 -6
package/dist/agent-instance.d.ts
CHANGED
|
@@ -79,10 +79,10 @@ export interface AgentInstanceStopAcknowledgement {
|
|
|
79
79
|
outcome: "stopped" | "already-stopped" | "not-found";
|
|
80
80
|
}
|
|
81
81
|
export declare const agentInstanceStatusSchema: z.ZodEnum<{
|
|
82
|
+
busy: "busy";
|
|
82
83
|
failed: "failed";
|
|
83
|
-
starting: "starting";
|
|
84
84
|
ready: "ready";
|
|
85
|
-
|
|
85
|
+
starting: "starting";
|
|
86
86
|
stopped: "stopped";
|
|
87
87
|
}>;
|
|
88
88
|
export declare const agentInstanceWorkspaceModeSchema: z.ZodEnum<{
|
|
@@ -34,13 +34,13 @@ export declare const agentProfileImprovementTaskSchema: z.ZodObject<{
|
|
|
34
34
|
model: z.ZodString;
|
|
35
35
|
snapshot: z.ZodString;
|
|
36
36
|
reasoningEffort: z.ZodEnum<{
|
|
37
|
-
|
|
38
|
-
minimal: "minimal";
|
|
37
|
+
high: "high";
|
|
39
38
|
low: "low";
|
|
40
39
|
medium: "medium";
|
|
41
|
-
|
|
42
|
-
|
|
40
|
+
minimal: "minimal";
|
|
41
|
+
none: "none";
|
|
43
42
|
ultracode: "ultracode";
|
|
43
|
+
xhigh: "xhigh";
|
|
44
44
|
}>;
|
|
45
45
|
}, z.core.$strict>;
|
|
46
46
|
limits: z.ZodObject<{
|
|
@@ -106,13 +106,13 @@ export declare const agentProfileImprovementSuiteInputsSchema: z.ZodObject<{
|
|
|
106
106
|
model: z.ZodString;
|
|
107
107
|
snapshot: z.ZodString;
|
|
108
108
|
reasoningEffort: z.ZodEnum<{
|
|
109
|
-
|
|
110
|
-
minimal: "minimal";
|
|
109
|
+
high: "high";
|
|
111
110
|
low: "low";
|
|
112
111
|
medium: "medium";
|
|
113
|
-
|
|
114
|
-
|
|
112
|
+
minimal: "minimal";
|
|
113
|
+
none: "none";
|
|
115
114
|
ultracode: "ultracode";
|
|
115
|
+
xhigh: "xhigh";
|
|
116
116
|
}>;
|
|
117
117
|
}, z.core.$strict>;
|
|
118
118
|
limits: z.ZodObject<{
|
|
@@ -158,13 +158,13 @@ export declare const agentProfileImprovementSuiteInputsSchema: z.ZodObject<{
|
|
|
158
158
|
model: z.ZodString;
|
|
159
159
|
snapshot: z.ZodString;
|
|
160
160
|
reasoningEffort: z.ZodEnum<{
|
|
161
|
-
|
|
162
|
-
minimal: "minimal";
|
|
161
|
+
high: "high";
|
|
163
162
|
low: "low";
|
|
164
163
|
medium: "medium";
|
|
165
|
-
|
|
166
|
-
|
|
164
|
+
minimal: "minimal";
|
|
165
|
+
none: "none";
|
|
167
166
|
ultracode: "ultracode";
|
|
167
|
+
xhigh: "xhigh";
|
|
168
168
|
}>;
|
|
169
169
|
}, z.core.$strict>;
|
|
170
170
|
limits: z.ZodObject<{
|
|
@@ -235,10 +235,10 @@ export declare const agentProfileImprovementExperimentSchema: z.ZodObject<{
|
|
|
235
235
|
change: z.ZodTuple<[z.ZodType<AgentProfileDiff, unknown, z.core.$ZodTypeInternals<AgentProfileDiff, unknown>>], z.ZodType<AgentProfileDiff, unknown, z.core.$ZodTypeInternals<AgentProfileDiff, unknown>>>;
|
|
236
236
|
candidateLineage: z.ZodObject<{
|
|
237
237
|
source: z.ZodEnum<{
|
|
238
|
-
human: "human";
|
|
239
|
-
optimizer: "optimizer";
|
|
240
238
|
compound: "compound";
|
|
239
|
+
human: "human";
|
|
241
240
|
import: "import";
|
|
241
|
+
optimizer: "optimizer";
|
|
242
242
|
}>;
|
|
243
243
|
parentDigests: z.ZodOptional<z.ZodArray<z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>>>;
|
|
244
244
|
runIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -289,13 +289,13 @@ export declare const agentProfileImprovementExperimentSchema: z.ZodObject<{
|
|
|
289
289
|
model: z.ZodString;
|
|
290
290
|
snapshot: z.ZodString;
|
|
291
291
|
reasoningEffort: z.ZodEnum<{
|
|
292
|
-
|
|
293
|
-
minimal: "minimal";
|
|
292
|
+
high: "high";
|
|
294
293
|
low: "low";
|
|
295
294
|
medium: "medium";
|
|
296
|
-
|
|
297
|
-
|
|
295
|
+
minimal: "minimal";
|
|
296
|
+
none: "none";
|
|
298
297
|
ultracode: "ultracode";
|
|
298
|
+
xhigh: "xhigh";
|
|
299
299
|
}>;
|
|
300
300
|
}, z.core.$strict>;
|
|
301
301
|
limits: z.ZodObject<{
|
|
@@ -341,13 +341,13 @@ export declare const agentProfileImprovementExperimentSchema: z.ZodObject<{
|
|
|
341
341
|
model: z.ZodString;
|
|
342
342
|
snapshot: z.ZodString;
|
|
343
343
|
reasoningEffort: z.ZodEnum<{
|
|
344
|
-
|
|
345
|
-
minimal: "minimal";
|
|
344
|
+
high: "high";
|
|
346
345
|
low: "low";
|
|
347
346
|
medium: "medium";
|
|
348
|
-
|
|
349
|
-
|
|
347
|
+
minimal: "minimal";
|
|
348
|
+
none: "none";
|
|
350
349
|
ultracode: "ultracode";
|
|
350
|
+
xhigh: "xhigh";
|
|
351
351
|
}>;
|
|
352
352
|
}, z.core.$strict>;
|
|
353
353
|
limits: z.ZodObject<{
|
|
@@ -441,13 +441,13 @@ export declare const agentProfileImprovementRunReceiptSchema: z.ZodObject<{
|
|
|
441
441
|
model: z.ZodString;
|
|
442
442
|
snapshot: z.ZodString;
|
|
443
443
|
reasoningEffort: z.ZodEnum<{
|
|
444
|
-
|
|
445
|
-
minimal: "minimal";
|
|
444
|
+
high: "high";
|
|
446
445
|
low: "low";
|
|
447
446
|
medium: "medium";
|
|
448
|
-
|
|
449
|
-
|
|
447
|
+
minimal: "minimal";
|
|
448
|
+
none: "none";
|
|
450
449
|
ultracode: "ultracode";
|
|
450
|
+
xhigh: "xhigh";
|
|
451
451
|
}>;
|
|
452
452
|
}, z.core.$strict>;
|
|
453
453
|
limits: z.ZodObject<{
|
|
@@ -467,8 +467,8 @@ export declare const agentProfileImprovementRunReceiptSchema: z.ZodObject<{
|
|
|
467
467
|
modelCalls: z.ZodNumber;
|
|
468
468
|
costUsdNanos: z.ZodNumber;
|
|
469
469
|
costProvenance: z.ZodEnum<{
|
|
470
|
-
observed: "observed";
|
|
471
470
|
estimated: "estimated";
|
|
471
|
+
observed: "observed";
|
|
472
472
|
}>;
|
|
473
473
|
}, z.core.$strict>;
|
|
474
474
|
trace: z.ZodObject<{
|
|
@@ -530,8 +530,8 @@ export declare const agentProfileImprovementRunReceiptSchema: z.ZodObject<{
|
|
|
530
530
|
modelCalls: z.ZodNumber;
|
|
531
531
|
costUsdNanos: z.ZodNumber;
|
|
532
532
|
costProvenance: z.ZodEnum<{
|
|
533
|
-
observed: "observed";
|
|
534
533
|
estimated: "estimated";
|
|
534
|
+
observed: "observed";
|
|
535
535
|
}>;
|
|
536
536
|
}, z.core.$strict>;
|
|
537
537
|
score: z.ZodNumber;
|
|
@@ -545,8 +545,6 @@ export declare const agentProfileImprovementRunReceiptSchema: z.ZodObject<{
|
|
|
545
545
|
}, z.core.$strict>;
|
|
546
546
|
export declare const agentProfileImprovementMeasuredComparisonSchema: z.ZodObject<{
|
|
547
547
|
overall: z.ZodObject<{
|
|
548
|
-
direction: z.ZodLiteral<"higher-is-better">;
|
|
549
|
-
unit: z.ZodLiteral<"score">;
|
|
550
548
|
baseline: z.ZodNumber;
|
|
551
549
|
candidate: z.ZodNumber;
|
|
552
550
|
delta: z.ZodNumber;
|
|
@@ -560,12 +558,10 @@ export declare const agentProfileImprovementMeasuredComparisonSchema: z.ZodObjec
|
|
|
560
558
|
}, z.core.$strict>;
|
|
561
559
|
n: z.ZodNumber;
|
|
562
560
|
name: z.ZodLiteral<"composite">;
|
|
563
|
-
}, z.core.$strict>;
|
|
564
|
-
objectives: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
565
|
-
kind: z.ZodLiteral<"objective">;
|
|
566
|
-
name: z.ZodString;
|
|
567
561
|
direction: z.ZodLiteral<"higher-is-better">;
|
|
568
562
|
unit: z.ZodLiteral<"score">;
|
|
563
|
+
}, z.core.$strict>;
|
|
564
|
+
objectives: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
569
565
|
baseline: z.ZodNumber;
|
|
570
566
|
candidate: z.ZodNumber;
|
|
571
567
|
delta: z.ZodNumber;
|
|
@@ -578,6 +574,10 @@ export declare const agentProfileImprovementMeasuredComparisonSchema: z.ZodObjec
|
|
|
578
574
|
resamples: z.ZodNumber;
|
|
579
575
|
}, z.core.$strict>;
|
|
580
576
|
n: z.ZodNumber;
|
|
577
|
+
kind: z.ZodLiteral<"objective">;
|
|
578
|
+
name: z.ZodString;
|
|
579
|
+
direction: z.ZodLiteral<"higher-is-better">;
|
|
580
|
+
unit: z.ZodLiteral<"score">;
|
|
581
581
|
availability: z.ZodLiteral<"measured">;
|
|
582
582
|
}, z.core.$strict>, z.ZodObject<{
|
|
583
583
|
kind: z.ZodLiteral<"objective">;
|
|
@@ -587,11 +587,6 @@ export declare const agentProfileImprovementMeasuredComparisonSchema: z.ZodObjec
|
|
|
587
587
|
availability: z.ZodLiteral<"unavailable">;
|
|
588
588
|
reason: z.ZodString;
|
|
589
589
|
}, z.core.$strict>, z.ZodObject<{
|
|
590
|
-
kind: z.ZodLiteral<"dimension">;
|
|
591
|
-
objective: z.ZodString;
|
|
592
|
-
name: z.ZodString;
|
|
593
|
-
direction: z.ZodLiteral<"higher-is-better">;
|
|
594
|
-
unit: z.ZodLiteral<"score">;
|
|
595
590
|
baseline: z.ZodNumber;
|
|
596
591
|
candidate: z.ZodNumber;
|
|
597
592
|
delta: z.ZodNumber;
|
|
@@ -604,6 +599,11 @@ export declare const agentProfileImprovementMeasuredComparisonSchema: z.ZodObjec
|
|
|
604
599
|
resamples: z.ZodNumber;
|
|
605
600
|
}, z.core.$strict>;
|
|
606
601
|
n: z.ZodNumber;
|
|
602
|
+
kind: z.ZodLiteral<"dimension">;
|
|
603
|
+
objective: z.ZodString;
|
|
604
|
+
name: z.ZodString;
|
|
605
|
+
direction: z.ZodLiteral<"higher-is-better">;
|
|
606
|
+
unit: z.ZodLiteral<"score">;
|
|
607
607
|
availability: z.ZodLiteral<"measured">;
|
|
608
608
|
}, z.core.$strict>, z.ZodObject<{
|
|
609
609
|
kind: z.ZodLiteral<"dimension">;
|
|
@@ -614,10 +614,6 @@ export declare const agentProfileImprovementMeasuredComparisonSchema: z.ZodObjec
|
|
|
614
614
|
availability: z.ZodLiteral<"unavailable">;
|
|
615
615
|
reason: z.ZodString;
|
|
616
616
|
}, z.core.$strict>, z.ZodObject<{
|
|
617
|
-
kind: z.ZodLiteral<"cost">;
|
|
618
|
-
name: z.ZodLiteral<"cost">;
|
|
619
|
-
direction: z.ZodLiteral<"lower-is-better">;
|
|
620
|
-
unit: z.ZodLiteral<"usd">;
|
|
621
617
|
baseline: z.ZodNumber;
|
|
622
618
|
candidate: z.ZodNumber;
|
|
623
619
|
delta: z.ZodNumber;
|
|
@@ -630,12 +626,12 @@ export declare const agentProfileImprovementMeasuredComparisonSchema: z.ZodObjec
|
|
|
630
626
|
resamples: z.ZodNumber;
|
|
631
627
|
}, z.core.$strict>;
|
|
632
628
|
n: z.ZodNumber;
|
|
629
|
+
kind: z.ZodLiteral<"cost">;
|
|
630
|
+
name: z.ZodLiteral<"cost">;
|
|
631
|
+
direction: z.ZodLiteral<"lower-is-better">;
|
|
632
|
+
unit: z.ZodLiteral<"usd">;
|
|
633
633
|
availability: z.ZodLiteral<"measured">;
|
|
634
634
|
}, z.core.$strict>, z.ZodObject<{
|
|
635
|
-
kind: z.ZodLiteral<"latency">;
|
|
636
|
-
name: z.ZodLiteral<"latency">;
|
|
637
|
-
direction: z.ZodLiteral<"lower-is-better">;
|
|
638
|
-
unit: z.ZodLiteral<"milliseconds">;
|
|
639
635
|
baseline: z.ZodNumber;
|
|
640
636
|
candidate: z.ZodNumber;
|
|
641
637
|
delta: z.ZodNumber;
|
|
@@ -648,6 +644,10 @@ export declare const agentProfileImprovementMeasuredComparisonSchema: z.ZodObjec
|
|
|
648
644
|
resamples: z.ZodNumber;
|
|
649
645
|
}, z.core.$strict>;
|
|
650
646
|
n: z.ZodNumber;
|
|
647
|
+
kind: z.ZodLiteral<"latency">;
|
|
648
|
+
name: z.ZodLiteral<"latency">;
|
|
649
|
+
direction: z.ZodLiteral<"lower-is-better">;
|
|
650
|
+
unit: z.ZodLiteral<"milliseconds">;
|
|
651
651
|
availability: z.ZodLiteral<"measured">;
|
|
652
652
|
}, z.core.$strict>]>>;
|
|
653
653
|
candidate: z.ZodOptional<z.ZodObject<{
|
|
@@ -656,11 +656,11 @@ export declare const agentProfileImprovementMeasuredComparisonSchema: z.ZodObjec
|
|
|
656
656
|
}, z.core.$strict>>;
|
|
657
657
|
decision: z.ZodObject<{
|
|
658
658
|
outcome: z.ZodEnum<{
|
|
659
|
-
|
|
659
|
+
arch_ceiling: "arch_ceiling";
|
|
660
660
|
hold: "hold";
|
|
661
|
-
need_more_work: "need_more_work";
|
|
662
661
|
model_ceiling: "model_ceiling";
|
|
663
|
-
|
|
662
|
+
need_more_work: "need_more_work";
|
|
663
|
+
ship: "ship";
|
|
664
664
|
}>;
|
|
665
665
|
reasons: z.ZodArray<z.ZodString>;
|
|
666
666
|
contributingChecks: z.ZodArray<z.ZodObject<{
|
|
@@ -693,8 +693,8 @@ export declare const agentProfileImprovementMeasuredComparisonSchema: z.ZodObjec
|
|
|
693
693
|
cost: z.ZodObject<{
|
|
694
694
|
usd: z.ZodNumber;
|
|
695
695
|
provenance: z.ZodEnum<{
|
|
696
|
-
observed: "observed";
|
|
697
696
|
estimated: "estimated";
|
|
697
|
+
observed: "observed";
|
|
698
698
|
}>;
|
|
699
699
|
}, z.core.$strict>;
|
|
700
700
|
}, z.core.$strict>;
|
|
@@ -704,8 +704,8 @@ export declare const agentProfileImprovementMeasuredComparisonSchema: z.ZodObjec
|
|
|
704
704
|
cost: z.ZodObject<{
|
|
705
705
|
usd: z.ZodNumber;
|
|
706
706
|
provenance: z.ZodEnum<{
|
|
707
|
-
observed: "observed";
|
|
708
707
|
estimated: "estimated";
|
|
708
|
+
observed: "observed";
|
|
709
709
|
}>;
|
|
710
710
|
}, z.core.$strict>;
|
|
711
711
|
}, z.core.$strict>;
|
|
@@ -714,8 +714,8 @@ export declare const agentProfileImprovementMeasuredComparisonSchema: z.ZodObjec
|
|
|
714
714
|
cost: z.ZodObject<{
|
|
715
715
|
usd: z.ZodNumber;
|
|
716
716
|
provenance: z.ZodEnum<{
|
|
717
|
-
observed: "observed";
|
|
718
717
|
estimated: "estimated";
|
|
718
|
+
observed: "observed";
|
|
719
719
|
}>;
|
|
720
720
|
}, z.core.$strict>;
|
|
721
721
|
}, z.core.$strict>;
|
|
@@ -767,10 +767,10 @@ export declare const agentProfileImprovementMeasuredComparisonSchema: z.ZodObjec
|
|
|
767
767
|
change: z.ZodTuple<[z.ZodType<AgentProfileDiff, unknown, z.core.$ZodTypeInternals<AgentProfileDiff, unknown>>], z.ZodType<AgentProfileDiff, unknown, z.core.$ZodTypeInternals<AgentProfileDiff, unknown>>>;
|
|
768
768
|
candidateLineage: z.ZodObject<{
|
|
769
769
|
source: z.ZodEnum<{
|
|
770
|
-
human: "human";
|
|
771
|
-
optimizer: "optimizer";
|
|
772
770
|
compound: "compound";
|
|
771
|
+
human: "human";
|
|
773
772
|
import: "import";
|
|
773
|
+
optimizer: "optimizer";
|
|
774
774
|
}>;
|
|
775
775
|
parentDigests: z.ZodOptional<z.ZodArray<z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>>>;
|
|
776
776
|
runIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -821,13 +821,13 @@ export declare const agentProfileImprovementMeasuredComparisonSchema: z.ZodObjec
|
|
|
821
821
|
model: z.ZodString;
|
|
822
822
|
snapshot: z.ZodString;
|
|
823
823
|
reasoningEffort: z.ZodEnum<{
|
|
824
|
-
|
|
825
|
-
minimal: "minimal";
|
|
824
|
+
high: "high";
|
|
826
825
|
low: "low";
|
|
827
826
|
medium: "medium";
|
|
828
|
-
|
|
829
|
-
|
|
827
|
+
minimal: "minimal";
|
|
828
|
+
none: "none";
|
|
830
829
|
ultracode: "ultracode";
|
|
830
|
+
xhigh: "xhigh";
|
|
831
831
|
}>;
|
|
832
832
|
}, z.core.$strict>;
|
|
833
833
|
limits: z.ZodObject<{
|
|
@@ -873,13 +873,13 @@ export declare const agentProfileImprovementMeasuredComparisonSchema: z.ZodObjec
|
|
|
873
873
|
model: z.ZodString;
|
|
874
874
|
snapshot: z.ZodString;
|
|
875
875
|
reasoningEffort: z.ZodEnum<{
|
|
876
|
-
|
|
877
|
-
minimal: "minimal";
|
|
876
|
+
high: "high";
|
|
878
877
|
low: "low";
|
|
879
878
|
medium: "medium";
|
|
880
|
-
|
|
881
|
-
|
|
879
|
+
minimal: "minimal";
|
|
880
|
+
none: "none";
|
|
882
881
|
ultracode: "ultracode";
|
|
882
|
+
xhigh: "xhigh";
|
|
883
883
|
}>;
|
|
884
884
|
}, z.core.$strict>;
|
|
885
885
|
limits: z.ZodObject<{
|
|
@@ -958,13 +958,13 @@ export declare const agentProfileImprovementMeasuredComparisonSchema: z.ZodObjec
|
|
|
958
958
|
model: z.ZodString;
|
|
959
959
|
snapshot: z.ZodString;
|
|
960
960
|
reasoningEffort: z.ZodEnum<{
|
|
961
|
-
|
|
962
|
-
minimal: "minimal";
|
|
961
|
+
high: "high";
|
|
963
962
|
low: "low";
|
|
964
963
|
medium: "medium";
|
|
965
|
-
|
|
966
|
-
|
|
964
|
+
minimal: "minimal";
|
|
965
|
+
none: "none";
|
|
967
966
|
ultracode: "ultracode";
|
|
967
|
+
xhigh: "xhigh";
|
|
968
968
|
}>;
|
|
969
969
|
}, z.core.$strict>;
|
|
970
970
|
limits: z.ZodObject<{
|
|
@@ -984,8 +984,8 @@ export declare const agentProfileImprovementMeasuredComparisonSchema: z.ZodObjec
|
|
|
984
984
|
modelCalls: z.ZodNumber;
|
|
985
985
|
costUsdNanos: z.ZodNumber;
|
|
986
986
|
costProvenance: z.ZodEnum<{
|
|
987
|
-
observed: "observed";
|
|
988
987
|
estimated: "estimated";
|
|
988
|
+
observed: "observed";
|
|
989
989
|
}>;
|
|
990
990
|
}, z.core.$strict>;
|
|
991
991
|
trace: z.ZodObject<{
|
|
@@ -1047,8 +1047,8 @@ export declare const agentProfileImprovementMeasuredComparisonSchema: z.ZodObjec
|
|
|
1047
1047
|
modelCalls: z.ZodNumber;
|
|
1048
1048
|
costUsdNanos: z.ZodNumber;
|
|
1049
1049
|
costProvenance: z.ZodEnum<{
|
|
1050
|
-
observed: "observed";
|
|
1051
1050
|
estimated: "estimated";
|
|
1051
|
+
observed: "observed";
|
|
1052
1052
|
}>;
|
|
1053
1053
|
}, z.core.$strict>;
|
|
1054
1054
|
score: z.ZodNumber;
|
|
@@ -1111,13 +1111,13 @@ export declare const agentProfileImprovementMeasuredComparisonSchema: z.ZodObjec
|
|
|
1111
1111
|
model: z.ZodString;
|
|
1112
1112
|
snapshot: z.ZodString;
|
|
1113
1113
|
reasoningEffort: z.ZodEnum<{
|
|
1114
|
-
|
|
1115
|
-
minimal: "minimal";
|
|
1114
|
+
high: "high";
|
|
1116
1115
|
low: "low";
|
|
1117
1116
|
medium: "medium";
|
|
1118
|
-
|
|
1119
|
-
|
|
1117
|
+
minimal: "minimal";
|
|
1118
|
+
none: "none";
|
|
1120
1119
|
ultracode: "ultracode";
|
|
1120
|
+
xhigh: "xhigh";
|
|
1121
1121
|
}>;
|
|
1122
1122
|
}, z.core.$strict>;
|
|
1123
1123
|
limits: z.ZodObject<{
|
|
@@ -1137,8 +1137,8 @@ export declare const agentProfileImprovementMeasuredComparisonSchema: z.ZodObjec
|
|
|
1137
1137
|
modelCalls: z.ZodNumber;
|
|
1138
1138
|
costUsdNanos: z.ZodNumber;
|
|
1139
1139
|
costProvenance: z.ZodEnum<{
|
|
1140
|
-
observed: "observed";
|
|
1141
1140
|
estimated: "estimated";
|
|
1141
|
+
observed: "observed";
|
|
1142
1142
|
}>;
|
|
1143
1143
|
}, z.core.$strict>;
|
|
1144
1144
|
trace: z.ZodObject<{
|
|
@@ -1200,8 +1200,8 @@ export declare const agentProfileImprovementMeasuredComparisonSchema: z.ZodObjec
|
|
|
1200
1200
|
modelCalls: z.ZodNumber;
|
|
1201
1201
|
costUsdNanos: z.ZodNumber;
|
|
1202
1202
|
costProvenance: z.ZodEnum<{
|
|
1203
|
-
observed: "observed";
|
|
1204
1203
|
estimated: "estimated";
|
|
1204
|
+
observed: "observed";
|
|
1205
1205
|
}>;
|
|
1206
1206
|
}, z.core.$strict>;
|
|
1207
1207
|
score: z.ZodNumber;
|
|
@@ -102,12 +102,12 @@ export interface AgentWorkspaceLeaseRenewalRequest extends AgentWorkspaceLeaseAu
|
|
|
102
102
|
expiresAtMs: number;
|
|
103
103
|
}
|
|
104
104
|
export declare const agentWorkspaceLeasePhaseSchema: z.ZodEnum<{
|
|
105
|
-
"copy-ready": "copy-ready";
|
|
106
|
-
"workspace-sealed": "workspace-sealed";
|
|
107
|
-
"execution-bound": "execution-bound";
|
|
108
|
-
destroying: "destroying";
|
|
109
105
|
"cleanup-failed": "cleanup-failed";
|
|
106
|
+
"copy-ready": "copy-ready";
|
|
110
107
|
destroyed: "destroyed";
|
|
108
|
+
destroying: "destroying";
|
|
109
|
+
"execution-bound": "execution-bound";
|
|
110
|
+
"workspace-sealed": "workspace-sealed";
|
|
111
111
|
}>;
|
|
112
112
|
export declare const agentWorkspaceAllocationIdentitySchema: z.ZodObject<{
|
|
113
113
|
provider: z.ZodString;
|
|
@@ -59,8 +59,8 @@ export declare function certifiedContextEntryContentHash(entry: Pick<CertifiedCo
|
|
|
59
59
|
export declare const certifiedContextEntrySchema: z.ZodObject<{
|
|
60
60
|
id: z.ZodString;
|
|
61
61
|
kind: z.ZodEnum<{
|
|
62
|
-
prompt: "prompt";
|
|
63
62
|
instructions: "instructions";
|
|
63
|
+
prompt: "prompt";
|
|
64
64
|
skill: "skill";
|
|
65
65
|
}>;
|
|
66
66
|
name: z.ZodString;
|
|
@@ -93,8 +93,8 @@ export declare const certifiedContextSchema: z.ZodObject<{
|
|
|
93
93
|
entries: z.ZodArray<z.ZodObject<{
|
|
94
94
|
id: z.ZodString;
|
|
95
95
|
kind: z.ZodEnum<{
|
|
96
|
-
prompt: "prompt";
|
|
97
96
|
instructions: "instructions";
|
|
97
|
+
prompt: "prompt";
|
|
98
98
|
skill: "skill";
|
|
99
99
|
}>;
|
|
100
100
|
name: z.ZodString;
|
|
@@ -119,7 +119,10 @@ export function execOnlyEnvironmentCapabilities(workspace) {
|
|
|
119
119
|
turnIdempotency: false,
|
|
120
120
|
},
|
|
121
121
|
sessions: { continue: false, list: false, messages: false },
|
|
122
|
-
workspace: {
|
|
122
|
+
workspace: {
|
|
123
|
+
cwdBases: { repository: false, host: false },
|
|
124
|
+
...workspace,
|
|
125
|
+
},
|
|
123
126
|
branching: { checkpoint: false, fork: false },
|
|
124
127
|
placement: true,
|
|
125
128
|
usage: false,
|