@tangle-network/agent-interface 5.10.24 → 5.10.26
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 +10 -0
- package/dist/agent-candidate-code-schema.d.ts +7 -7
- package/dist/agent-candidate-execution-plan-schema.d.ts +21 -21
- package/dist/agent-candidate-profile-schema.d.ts +4 -4
- package/dist/agent-candidate-promotion-schema.d.ts +80 -80
- package/dist/agent-candidate-receipt-schema.d.ts +10 -10
- package/dist/agent-candidate-schema-common.d.ts +4 -3
- package/dist/agent-candidate-schema-common.js +45 -20
- package/dist/agent-candidate-schema.d.ts +5 -5
- package/dist/agent-execution-preparation-receipt.d.ts +4 -2
- package/dist/agent-profile-materialization.d.ts +1 -1
- package/dist/agent-profile-materialization.js +3 -0
- package/dist/agent-profile.d.ts +3 -0
- package/dist/agent-profile.js +0 -13
- package/dist/environment-interactive-control.d.ts +20 -10
- package/dist/environment-interactive-start.d.ts +6 -2
- package/dist/environment-observation.d.ts +3 -3
- package/dist/environment-provider.d.ts +1 -0
- package/dist/environment-provider.js +1 -0
- package/dist/environment-retained-file.d.ts +124 -0
- package/dist/environment-retained-file.js +37 -0
- package/dist/environment-runtime.d.ts +23 -6
- package/dist/environment-runtime.js +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +1 -0
- package/dist/portable-context-transfer.d.ts +6 -2
- package/dist/profile-diff.d.ts +2 -1
- package/dist/profile-diff.js +3 -0
- package/dist/profile-file-output.d.ts +10 -0
- package/dist/profile-file-output.js +8 -0
- package/dist/profile-schema.d.ts +15 -10
- package/dist/profile-schema.js +3 -0
- package/package.json +1 -1
|
@@ -234,7 +234,7 @@ export declare const agentCandidateMaterializationReceiptSchema: z.ZodObject<{
|
|
|
234
234
|
ref: {
|
|
235
235
|
kind: "secret-ref";
|
|
236
236
|
key: string;
|
|
237
|
-
format?: "
|
|
237
|
+
format?: "bearer" | "raw" | undefined;
|
|
238
238
|
};
|
|
239
239
|
}[] | undefined;
|
|
240
240
|
root?: "agent" | undefined;
|
|
@@ -242,7 +242,7 @@ export declare const agentCandidateMaterializationReceiptSchema: z.ZodObject<{
|
|
|
242
242
|
env: Record<string, {
|
|
243
243
|
kind: "secret-ref";
|
|
244
244
|
key: string;
|
|
245
|
-
format?: "
|
|
245
|
+
format?: "bearer" | "raw" | undefined;
|
|
246
246
|
} | {
|
|
247
247
|
kind: "public";
|
|
248
248
|
value: string;
|
|
@@ -250,7 +250,7 @@ export declare const agentCandidateMaterializationReceiptSchema: z.ZodObject<{
|
|
|
250
250
|
flags: ({
|
|
251
251
|
kind: "secret-ref";
|
|
252
252
|
key: string;
|
|
253
|
-
format?: "
|
|
253
|
+
format?: "bearer" | "raw" | undefined;
|
|
254
254
|
} | {
|
|
255
255
|
kind: "public";
|
|
256
256
|
value: string;
|
|
@@ -330,7 +330,7 @@ export declare const agentCandidateMaterializationReceiptSchema: z.ZodObject<{
|
|
|
330
330
|
ref: {
|
|
331
331
|
kind: "secret-ref";
|
|
332
332
|
key: string;
|
|
333
|
-
format?: "
|
|
333
|
+
format?: "bearer" | "raw" | undefined;
|
|
334
334
|
};
|
|
335
335
|
}[] | undefined;
|
|
336
336
|
root?: "agent" | undefined;
|
|
@@ -338,7 +338,7 @@ export declare const agentCandidateMaterializationReceiptSchema: z.ZodObject<{
|
|
|
338
338
|
env: Record<string, {
|
|
339
339
|
kind: "secret-ref";
|
|
340
340
|
key: string;
|
|
341
|
-
format?: "
|
|
341
|
+
format?: "bearer" | "raw" | undefined;
|
|
342
342
|
} | {
|
|
343
343
|
kind: "public";
|
|
344
344
|
value: string;
|
|
@@ -346,7 +346,7 @@ export declare const agentCandidateMaterializationReceiptSchema: z.ZodObject<{
|
|
|
346
346
|
flags: ({
|
|
347
347
|
kind: "secret-ref";
|
|
348
348
|
key: string;
|
|
349
|
-
format?: "
|
|
349
|
+
format?: "bearer" | "raw" | undefined;
|
|
350
350
|
} | {
|
|
351
351
|
kind: "public";
|
|
352
352
|
value: string;
|
|
@@ -520,7 +520,7 @@ export declare const agentCandidateMaterializationReceiptSchema: z.ZodObject<{
|
|
|
520
520
|
args: ({
|
|
521
521
|
kind: "secret-ref";
|
|
522
522
|
key: string;
|
|
523
|
-
format?: "
|
|
523
|
+
format?: "bearer" | "raw" | undefined;
|
|
524
524
|
} | {
|
|
525
525
|
kind: "public";
|
|
526
526
|
value: string;
|
|
@@ -528,7 +528,7 @@ export declare const agentCandidateMaterializationReceiptSchema: z.ZodObject<{
|
|
|
528
528
|
env: Record<string, {
|
|
529
529
|
kind: "secret-ref";
|
|
530
530
|
key: string;
|
|
531
|
-
format?: "
|
|
531
|
+
format?: "bearer" | "raw" | undefined;
|
|
532
532
|
} | {
|
|
533
533
|
kind: "public";
|
|
534
534
|
value: string;
|
|
@@ -792,7 +792,7 @@ export declare const agentCandidateMaterializationReceiptSchema: z.ZodObject<{
|
|
|
792
792
|
args: ({
|
|
793
793
|
kind: "secret-ref";
|
|
794
794
|
key: string;
|
|
795
|
-
format?: "
|
|
795
|
+
format?: "bearer" | "raw" | undefined;
|
|
796
796
|
} | {
|
|
797
797
|
kind: "public";
|
|
798
798
|
value: string;
|
|
@@ -800,7 +800,7 @@ export declare const agentCandidateMaterializationReceiptSchema: z.ZodObject<{
|
|
|
800
800
|
env: Record<string, {
|
|
801
801
|
kind: "secret-ref";
|
|
802
802
|
key: string;
|
|
803
|
-
format?: "
|
|
803
|
+
format?: "bearer" | "raw" | undefined;
|
|
804
804
|
} | {
|
|
805
805
|
kind: "public";
|
|
806
806
|
value: string;
|
|
@@ -12,6 +12,7 @@ export declare function sha256Bytes(value: Uint8Array): Sha256Digest;
|
|
|
12
12
|
/** RFC 8785 serialization used by every candidate-producing package. */
|
|
13
13
|
export declare function canonicalCandidateJson(value: unknown): string;
|
|
14
14
|
export declare function canonicalCandidateBytes(value: unknown): Uint8Array;
|
|
15
|
+
/** The digest of {@link canonicalCandidateBytes}, hashed piece by piece: memory stays near the value's own size, not several times its encoding. */
|
|
15
16
|
export declare function canonicalCandidateDigest(value: unknown): Sha256Digest;
|
|
16
17
|
export declare function omitTopLevelDigest<T extends {
|
|
17
18
|
digest: Sha256Digest;
|
|
@@ -37,8 +38,8 @@ export declare const agentCandidateSecretRefSchema: z.ZodObject<{
|
|
|
37
38
|
kind: z.ZodLiteral<"secret-ref">;
|
|
38
39
|
key: z.ZodString;
|
|
39
40
|
format: z.ZodOptional<z.ZodEnum<{
|
|
40
|
-
raw: "raw";
|
|
41
41
|
bearer: "bearer";
|
|
42
|
+
raw: "raw";
|
|
42
43
|
}>>;
|
|
43
44
|
}, z.core.$strict>;
|
|
44
45
|
export declare const agentCandidatePublicValueSchema: z.ZodObject<{
|
|
@@ -52,8 +53,8 @@ export declare const agentCandidateConfigValueSchema: z.ZodDiscriminatedUnion<[z
|
|
|
52
53
|
kind: z.ZodLiteral<"secret-ref">;
|
|
53
54
|
key: z.ZodString;
|
|
54
55
|
format: z.ZodOptional<z.ZodEnum<{
|
|
55
|
-
raw: "raw";
|
|
56
56
|
bearer: "bearer";
|
|
57
|
+
raw: "raw";
|
|
57
58
|
}>>;
|
|
58
59
|
}, z.core.$strict>], "kind">;
|
|
59
60
|
export declare const environmentConfigSchema: z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
@@ -63,8 +64,8 @@ export declare const environmentConfigSchema: z.ZodRecord<z.ZodString, z.ZodDisc
|
|
|
63
64
|
kind: z.ZodLiteral<"secret-ref">;
|
|
64
65
|
key: z.ZodString;
|
|
65
66
|
format: z.ZodOptional<z.ZodEnum<{
|
|
66
|
-
raw: "raw";
|
|
67
67
|
bearer: "bearer";
|
|
68
|
+
raw: "raw";
|
|
68
69
|
}>>;
|
|
69
70
|
}, z.core.$strict>], "kind">>;
|
|
70
71
|
export declare const agentCandidateGitHubRepositorySchema: z.ZodObject<{
|
|
@@ -36,40 +36,65 @@ export function sha256Utf8(value) {
|
|
|
36
36
|
return sha256Bytes(new TextEncoder().encode(value));
|
|
37
37
|
}
|
|
38
38
|
export function sha256Bytes(value) {
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
39
|
+
return digestHex(sha256(value));
|
|
40
|
+
}
|
|
41
|
+
function digestHex(bytes) {
|
|
42
|
+
return `sha256:${Array.from(bytes, (byte) => byte.toString(16).padStart(2, "0")).join("")}`;
|
|
42
43
|
}
|
|
43
44
|
/** RFC 8785 serialization used by every candidate-producing package. */
|
|
44
45
|
export function canonicalCandidateJson(value) {
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
return serializeCanonicalCandidate(value);
|
|
46
|
+
const parts = [];
|
|
47
|
+
writeCanonicalCandidate(value, (part) => parts.push(part));
|
|
48
|
+
return parts.join("");
|
|
49
49
|
}
|
|
50
50
|
export function canonicalCandidateBytes(value) {
|
|
51
51
|
return new TextEncoder().encode(canonicalCandidateJson(value));
|
|
52
52
|
}
|
|
53
|
+
/** The digest of {@link canonicalCandidateBytes}, hashed piece by piece: memory stays near the value's own size, not several times its encoding. */
|
|
53
54
|
export function canonicalCandidateDigest(value) {
|
|
54
|
-
|
|
55
|
+
const hash = sha256.create();
|
|
56
|
+
const encoder = new TextEncoder();
|
|
57
|
+
let pending = "";
|
|
58
|
+
writeCanonicalCandidate(value, (part) => {
|
|
59
|
+
pending += part;
|
|
60
|
+
if (pending.length >= 65_536) {
|
|
61
|
+
hash.update(encoder.encode(pending));
|
|
62
|
+
pending = "";
|
|
63
|
+
}
|
|
64
|
+
});
|
|
65
|
+
return digestHex(hash.update(encoder.encode(pending)).digest());
|
|
55
66
|
}
|
|
56
67
|
export function omitTopLevelDigest(value) {
|
|
57
68
|
const { digest: _digest, ...material } = value;
|
|
58
69
|
return material;
|
|
59
70
|
}
|
|
60
|
-
function
|
|
61
|
-
if (value
|
|
62
|
-
|
|
63
|
-
}
|
|
64
|
-
if (typeof value === "string")
|
|
65
|
-
return JSON.stringify(value);
|
|
66
|
-
if (Array.isArray(value)) {
|
|
67
|
-
return `[${value.map(serializeCanonicalCandidate).join(",")}]`;
|
|
71
|
+
function writeCanonicalCandidate(value, write) {
|
|
72
|
+
if (!isCanonicalJsonValue(value)) {
|
|
73
|
+
throw new Error("candidate document must be finite, acyclic RFC 8785 JSON");
|
|
68
74
|
}
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
75
|
+
const walk = (item) => {
|
|
76
|
+
if (item === null || typeof item !== "object") {
|
|
77
|
+
write(JSON.stringify(item));
|
|
78
|
+
}
|
|
79
|
+
else if (Array.isArray(item)) {
|
|
80
|
+
write("[");
|
|
81
|
+
item.forEach((member, index) => {
|
|
82
|
+
if (index > 0)
|
|
83
|
+
write(",");
|
|
84
|
+
walk(member);
|
|
85
|
+
});
|
|
86
|
+
write("]");
|
|
87
|
+
}
|
|
88
|
+
else {
|
|
89
|
+
write("{");
|
|
90
|
+
Object.keys(item).sort().forEach((key, index) => {
|
|
91
|
+
write(`${index > 0 ? "," : ""}${JSON.stringify(key)}:`);
|
|
92
|
+
walk(item[key]);
|
|
93
|
+
});
|
|
94
|
+
write("}");
|
|
95
|
+
}
|
|
96
|
+
};
|
|
97
|
+
walk(value);
|
|
73
98
|
}
|
|
74
99
|
export function isWellFormedUnicode(value) {
|
|
75
100
|
for (let index = 0; index < value.length; index++) {
|
|
@@ -570,8 +570,8 @@ export declare const agentCandidateBundleSchema: z.ZodObject<{
|
|
|
570
570
|
kind: z.ZodLiteral<"secret-ref">;
|
|
571
571
|
key: z.ZodString;
|
|
572
572
|
format: z.ZodOptional<z.ZodEnum<{
|
|
573
|
-
raw: "raw";
|
|
574
573
|
bearer: "bearer";
|
|
574
|
+
raw: "raw";
|
|
575
575
|
}>>;
|
|
576
576
|
}, z.core.$strict>], "kind">>>;
|
|
577
577
|
timeoutMs: z.ZodOptional<z.ZodNumber>;
|
|
@@ -584,8 +584,8 @@ export declare const agentCandidateBundleSchema: z.ZodObject<{
|
|
|
584
584
|
kind: z.ZodLiteral<"secret-ref">;
|
|
585
585
|
key: z.ZodString;
|
|
586
586
|
format: z.ZodOptional<z.ZodEnum<{
|
|
587
|
-
raw: "raw";
|
|
588
587
|
bearer: "bearer";
|
|
588
|
+
raw: "raw";
|
|
589
589
|
}>>;
|
|
590
590
|
}, z.core.$strict>], "kind">>>;
|
|
591
591
|
}, z.core.$strict>>>>;
|
|
@@ -668,8 +668,8 @@ export declare const agentCandidateBundleSchema: z.ZodObject<{
|
|
|
668
668
|
kind: z.ZodLiteral<"secret-ref">;
|
|
669
669
|
key: z.ZodString;
|
|
670
670
|
format: z.ZodOptional<z.ZodEnum<{
|
|
671
|
-
raw: "raw";
|
|
672
671
|
bearer: "bearer";
|
|
672
|
+
raw: "raw";
|
|
673
673
|
}>>;
|
|
674
674
|
}, z.core.$strict>], "kind">>>;
|
|
675
675
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -691,8 +691,8 @@ export declare const agentCandidateBundleSchema: z.ZodObject<{
|
|
|
691
691
|
kind: z.ZodLiteral<"secret-ref">;
|
|
692
692
|
key: z.ZodString;
|
|
693
693
|
format: z.ZodOptional<z.ZodEnum<{
|
|
694
|
-
raw: "raw";
|
|
695
694
|
bearer: "bearer";
|
|
695
|
+
raw: "raw";
|
|
696
696
|
}>>;
|
|
697
697
|
}, z.core.$strict>], "kind">>>;
|
|
698
698
|
}, z.core.$strict>], "kind">;
|
|
@@ -719,8 +719,8 @@ export declare const agentCandidateBundleSchema: z.ZodObject<{
|
|
|
719
719
|
kind: z.ZodLiteral<"secret-ref">;
|
|
720
720
|
key: z.ZodString;
|
|
721
721
|
format: z.ZodOptional<z.ZodEnum<{
|
|
722
|
-
raw: "raw";
|
|
723
722
|
bearer: "bearer";
|
|
723
|
+
raw: "raw";
|
|
724
724
|
}>>;
|
|
725
725
|
}, z.core.$strict>], "kind">>>;
|
|
726
726
|
environment: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
@@ -100,10 +100,11 @@ export declare const agentExecutionPreparationAxisResultSchema: z.ZodObject<{
|
|
|
100
100
|
axis: z.ZodEnum<{
|
|
101
101
|
metadata: "metadata";
|
|
102
102
|
description: "description";
|
|
103
|
-
files: "files";
|
|
104
103
|
name: "name";
|
|
104
|
+
files: "files";
|
|
105
105
|
version: "version";
|
|
106
106
|
tags: "tags";
|
|
107
|
+
outputFile: "outputFile";
|
|
107
108
|
harness: "harness";
|
|
108
109
|
seats: "seats";
|
|
109
110
|
proxySecrets: "proxySecrets";
|
|
@@ -257,10 +258,11 @@ export declare const agentExecutionPreparationReceiptSchema: z.ZodObject<{
|
|
|
257
258
|
axis: z.ZodEnum<{
|
|
258
259
|
metadata: "metadata";
|
|
259
260
|
description: "description";
|
|
260
|
-
files: "files";
|
|
261
261
|
name: "name";
|
|
262
|
+
files: "files";
|
|
262
263
|
version: "version";
|
|
263
264
|
tags: "tags";
|
|
265
|
+
outputFile: "outputFile";
|
|
264
266
|
harness: "harness";
|
|
265
267
|
seats: "seats";
|
|
266
268
|
proxySecrets: "proxySecrets";
|
|
@@ -9,7 +9,7 @@ import type { AgentProfile } from "./agent-profile.js";
|
|
|
9
9
|
* can only add text must report the requested replacement as unsatisfied rather
|
|
10
10
|
* than acknowledge it.
|
|
11
11
|
*/
|
|
12
|
-
export declare const AGENT_PROFILE_MATERIALIZATION_AXES: readonly ["name", "description", "version", "tags", "systemPrompt", "appendSystemPrompt", "instructions", "modelDefault", "modelSmall", "modelProvider", "modelReasoningEffort", "modelMaxVisibleOutputTokens", "modelMaxReasoningTokens", "modelMaxTotalOutputTokens", "modelMetadata", "harness", "seats", "proxySecrets", "permissions", "tools", "mcp", "connections", "subagents", "files", "resourceTools", "skills", "resourceAgents", "commands", "knowledge", "resourceInstructions", "resourceFailOnError", "hooks", "modes", "confidential", "metadata", "extensions"];
|
|
12
|
+
export declare const AGENT_PROFILE_MATERIALIZATION_AXES: readonly ["outputFile", "name", "description", "version", "tags", "systemPrompt", "appendSystemPrompt", "instructions", "modelDefault", "modelSmall", "modelProvider", "modelReasoningEffort", "modelMaxVisibleOutputTokens", "modelMaxReasoningTokens", "modelMaxTotalOutputTokens", "modelMetadata", "harness", "seats", "proxySecrets", "permissions", "tools", "mcp", "connections", "subagents", "files", "resourceTools", "skills", "resourceAgents", "commands", "knowledge", "resourceInstructions", "resourceFailOnError", "hooks", "modes", "confidential", "metadata", "extensions"];
|
|
13
13
|
/** One exact leaf of the public AgentProfile contract. */
|
|
14
14
|
export type AgentProfileMaterializationAxis = (typeof AGENT_PROFILE_MATERIALIZATION_AXES)[number];
|
|
15
15
|
/** Compatibility name used by runtimes that distinguish canonical axes. */
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
* than acknowledge it.
|
|
10
10
|
*/
|
|
11
11
|
export const AGENT_PROFILE_MATERIALIZATION_AXES = [
|
|
12
|
+
"outputFile",
|
|
12
13
|
"name",
|
|
13
14
|
"description",
|
|
14
15
|
"version",
|
|
@@ -47,6 +48,7 @@ export const AGENT_PROFILE_MATERIALIZATION_AXES = [
|
|
|
47
48
|
"extensions",
|
|
48
49
|
];
|
|
49
50
|
const profileProperties = [
|
|
51
|
+
"outputFile",
|
|
50
52
|
"prompt",
|
|
51
53
|
"model",
|
|
52
54
|
"harness",
|
|
@@ -77,6 +79,7 @@ const MODEL_AXES = {
|
|
|
77
79
|
metadata: "modelMetadata",
|
|
78
80
|
};
|
|
79
81
|
const AXIS_DESCRIPTORS = [
|
|
82
|
+
{ axis: "outputFile", rootPath: "/outputFile", value: (profile) => profile.outputFile },
|
|
80
83
|
{ axis: "name", rootPath: "/name", value: (profile) => profile.name },
|
|
81
84
|
{
|
|
82
85
|
axis: "description",
|
package/dist/agent-profile.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { AgentFileOutputPolicy } from "./profile-file-output.js";
|
|
1
2
|
/**
|
|
2
3
|
* Provider-neutral agent profile types for public SDK consumers.
|
|
3
4
|
*
|
|
@@ -409,6 +410,8 @@ export interface AgentProfileMetadata extends Record<string, unknown> {
|
|
|
409
410
|
* Public provider-neutral agent profile contract.
|
|
410
411
|
*/
|
|
411
412
|
export interface AgentProfile {
|
|
413
|
+
/** Runtime-owned retained regular-file output for this profile only. */
|
|
414
|
+
outputFile?: AgentFileOutputPolicy;
|
|
412
415
|
name?: string;
|
|
413
416
|
description?: string;
|
|
414
417
|
version?: string;
|
package/dist/agent-profile.js
CHANGED
|
@@ -1,16 +1,3 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Provider-neutral agent profile types for public SDK consumers.
|
|
3
|
-
*
|
|
4
|
-
* These model portable agent intent at the application boundary. Individual
|
|
5
|
-
* backends translate this shape into their own native profile/configuration
|
|
6
|
-
* formats internally. Profile content participates in unsalted public identity.
|
|
7
|
-
* Prompts, resources, metadata, commands, paths, and secret-reference keys are
|
|
8
|
-
* caller-declared public data; recognizable credential patterns are refused as
|
|
9
|
-
* defense in depth, not as proof that arbitrary text is non-secret. MCP and hook
|
|
10
|
-
* secret-capable fields structurally require tagged public values or opaque
|
|
11
|
-
* secret references, which a private executor resolves only after identity is
|
|
12
|
-
* fixed. This package is the canonical public home for these symbols.
|
|
13
|
-
*/
|
|
14
1
|
/**
|
|
15
2
|
* Helper for creating typed inline resource refs.
|
|
16
3
|
*/
|
|
@@ -97,10 +97,11 @@ export declare const AgentInteractiveSessionRefSchema: z.ZodObject<{
|
|
|
97
97
|
axis: z.ZodEnum<{
|
|
98
98
|
metadata: "metadata";
|
|
99
99
|
description: "description";
|
|
100
|
-
files: "files";
|
|
101
100
|
name: "name";
|
|
101
|
+
files: "files";
|
|
102
102
|
version: "version";
|
|
103
103
|
tags: "tags";
|
|
104
|
+
outputFile: "outputFile";
|
|
104
105
|
harness: "harness";
|
|
105
106
|
seats: "seats";
|
|
106
107
|
proxySecrets: "proxySecrets";
|
|
@@ -279,10 +280,11 @@ export declare const AgentInteractiveSessionControlClaimRequestSchema: z.ZodObje
|
|
|
279
280
|
axis: z.ZodEnum<{
|
|
280
281
|
metadata: "metadata";
|
|
281
282
|
description: "description";
|
|
282
|
-
files: "files";
|
|
283
283
|
name: "name";
|
|
284
|
+
files: "files";
|
|
284
285
|
version: "version";
|
|
285
286
|
tags: "tags";
|
|
287
|
+
outputFile: "outputFile";
|
|
286
288
|
harness: "harness";
|
|
287
289
|
seats: "seats";
|
|
288
290
|
proxySecrets: "proxySecrets";
|
|
@@ -452,10 +454,11 @@ export declare const AgentInteractiveSessionControlClaimAcknowledgementSchema: z
|
|
|
452
454
|
axis: z.ZodEnum<{
|
|
453
455
|
metadata: "metadata";
|
|
454
456
|
description: "description";
|
|
455
|
-
files: "files";
|
|
456
457
|
name: "name";
|
|
458
|
+
files: "files";
|
|
457
459
|
version: "version";
|
|
458
460
|
tags: "tags";
|
|
461
|
+
outputFile: "outputFile";
|
|
459
462
|
harness: "harness";
|
|
460
463
|
seats: "seats";
|
|
461
464
|
proxySecrets: "proxySecrets";
|
|
@@ -647,10 +650,11 @@ export declare const AgentInteractiveSessionStatusSchema: z.ZodDiscriminatedUnio
|
|
|
647
650
|
axis: z.ZodEnum<{
|
|
648
651
|
metadata: "metadata";
|
|
649
652
|
description: "description";
|
|
650
|
-
files: "files";
|
|
651
653
|
name: "name";
|
|
654
|
+
files: "files";
|
|
652
655
|
version: "version";
|
|
653
656
|
tags: "tags";
|
|
657
|
+
outputFile: "outputFile";
|
|
654
658
|
harness: "harness";
|
|
655
659
|
seats: "seats";
|
|
656
660
|
proxySecrets: "proxySecrets";
|
|
@@ -801,10 +805,11 @@ export declare const AgentInteractiveSessionStatusSchema: z.ZodDiscriminatedUnio
|
|
|
801
805
|
axis: z.ZodEnum<{
|
|
802
806
|
metadata: "metadata";
|
|
803
807
|
description: "description";
|
|
804
|
-
files: "files";
|
|
805
808
|
name: "name";
|
|
809
|
+
files: "files";
|
|
806
810
|
version: "version";
|
|
807
811
|
tags: "tags";
|
|
812
|
+
outputFile: "outputFile";
|
|
808
813
|
harness: "harness";
|
|
809
814
|
seats: "seats";
|
|
810
815
|
proxySecrets: "proxySecrets";
|
|
@@ -963,10 +968,11 @@ export declare const AgentInteractiveSessionStatusSchema: z.ZodDiscriminatedUnio
|
|
|
963
968
|
axis: z.ZodEnum<{
|
|
964
969
|
metadata: "metadata";
|
|
965
970
|
description: "description";
|
|
966
|
-
files: "files";
|
|
967
971
|
name: "name";
|
|
972
|
+
files: "files";
|
|
968
973
|
version: "version";
|
|
969
974
|
tags: "tags";
|
|
975
|
+
outputFile: "outputFile";
|
|
970
976
|
harness: "harness";
|
|
971
977
|
seats: "seats";
|
|
972
978
|
proxySecrets: "proxySecrets";
|
|
@@ -1131,10 +1137,11 @@ export declare const AgentInteractiveSessionStopCommandSchema: z.ZodObject<{
|
|
|
1131
1137
|
axis: z.ZodEnum<{
|
|
1132
1138
|
metadata: "metadata";
|
|
1133
1139
|
description: "description";
|
|
1134
|
-
files: "files";
|
|
1135
1140
|
name: "name";
|
|
1141
|
+
files: "files";
|
|
1136
1142
|
version: "version";
|
|
1137
1143
|
tags: "tags";
|
|
1144
|
+
outputFile: "outputFile";
|
|
1138
1145
|
harness: "harness";
|
|
1139
1146
|
seats: "seats";
|
|
1140
1147
|
proxySecrets: "proxySecrets";
|
|
@@ -1306,10 +1313,11 @@ export declare const AgentInteractiveSessionStopAcknowledgementSchema: z.ZodObje
|
|
|
1306
1313
|
axis: z.ZodEnum<{
|
|
1307
1314
|
metadata: "metadata";
|
|
1308
1315
|
description: "description";
|
|
1309
|
-
files: "files";
|
|
1310
1316
|
name: "name";
|
|
1317
|
+
files: "files";
|
|
1311
1318
|
version: "version";
|
|
1312
1319
|
tags: "tags";
|
|
1320
|
+
outputFile: "outputFile";
|
|
1313
1321
|
harness: "harness";
|
|
1314
1322
|
seats: "seats";
|
|
1315
1323
|
proxySecrets: "proxySecrets";
|
|
@@ -1499,10 +1507,11 @@ export declare const AgentInteractiveSessionPromptCommandSchema: z.ZodObject<{
|
|
|
1499
1507
|
axis: z.ZodEnum<{
|
|
1500
1508
|
metadata: "metadata";
|
|
1501
1509
|
description: "description";
|
|
1502
|
-
files: "files";
|
|
1503
1510
|
name: "name";
|
|
1511
|
+
files: "files";
|
|
1504
1512
|
version: "version";
|
|
1505
1513
|
tags: "tags";
|
|
1514
|
+
outputFile: "outputFile";
|
|
1506
1515
|
harness: "harness";
|
|
1507
1516
|
seats: "seats";
|
|
1508
1517
|
proxySecrets: "proxySecrets";
|
|
@@ -1673,10 +1682,11 @@ export declare const AgentInteractiveSessionPromptAcknowledgementSchema: z.ZodOb
|
|
|
1673
1682
|
axis: z.ZodEnum<{
|
|
1674
1683
|
metadata: "metadata";
|
|
1675
1684
|
description: "description";
|
|
1676
|
-
files: "files";
|
|
1677
1685
|
name: "name";
|
|
1686
|
+
files: "files";
|
|
1678
1687
|
version: "version";
|
|
1679
1688
|
tags: "tags";
|
|
1689
|
+
outputFile: "outputFile";
|
|
1680
1690
|
harness: "harness";
|
|
1681
1691
|
seats: "seats";
|
|
1682
1692
|
proxySecrets: "proxySecrets";
|
|
@@ -25,6 +25,10 @@ export declare const AgentInteractiveSessionStartSchema: z.ZodObject<{
|
|
|
25
25
|
requestDigest: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
|
|
26
26
|
}, z.core.$strict>;
|
|
27
27
|
profile: z.ZodObject<{
|
|
28
|
+
outputFile: z.ZodOptional<z.ZodObject<{
|
|
29
|
+
name: z.ZodString;
|
|
30
|
+
path: z.ZodString;
|
|
31
|
+
}, z.core.$strict>>;
|
|
28
32
|
name: z.ZodOptional<z.ZodString>;
|
|
29
33
|
description: z.ZodOptional<z.ZodString>;
|
|
30
34
|
version: z.ZodOptional<z.ZodString>;
|
|
@@ -258,7 +262,7 @@ export declare const AgentInteractiveSessionStartSchema: z.ZodObject<{
|
|
|
258
262
|
env?: Record<string, {
|
|
259
263
|
kind: "secret-ref";
|
|
260
264
|
key: string;
|
|
261
|
-
format?: "
|
|
265
|
+
format?: "bearer" | "raw" | undefined;
|
|
262
266
|
} | {
|
|
263
267
|
kind: "public";
|
|
264
268
|
value: string;
|
|
@@ -271,7 +275,7 @@ export declare const AgentInteractiveSessionStartSchema: z.ZodObject<{
|
|
|
271
275
|
env?: Record<string, {
|
|
272
276
|
kind: "secret-ref";
|
|
273
277
|
key: string;
|
|
274
|
-
format?: "
|
|
278
|
+
format?: "bearer" | "raw" | undefined;
|
|
275
279
|
} | {
|
|
276
280
|
kind: "public";
|
|
277
281
|
value: string;
|
|
@@ -121,8 +121,8 @@ export declare const EnvironmentLifecycleSchema: z.ZodObject<{
|
|
|
121
121
|
resumable: z.ZodBoolean;
|
|
122
122
|
mode: z.ZodOptional<z.ZodEnum<{
|
|
123
123
|
none: "none";
|
|
124
|
-
replayed: "replayed";
|
|
125
124
|
native: "native";
|
|
125
|
+
replayed: "replayed";
|
|
126
126
|
}>>;
|
|
127
127
|
}, z.core.$strict>>;
|
|
128
128
|
persistence: z.ZodOptional<z.ZodObject<{
|
|
@@ -445,8 +445,8 @@ export declare const AgentEnvironmentObservationSchema: z.ZodObject<{
|
|
|
445
445
|
resumable: z.ZodBoolean;
|
|
446
446
|
mode: z.ZodOptional<z.ZodEnum<{
|
|
447
447
|
none: "none";
|
|
448
|
-
replayed: "replayed";
|
|
449
448
|
native: "native";
|
|
449
|
+
replayed: "replayed";
|
|
450
450
|
}>>;
|
|
451
451
|
}, z.core.$strict>>;
|
|
452
452
|
persistence: z.ZodOptional<z.ZodObject<{
|
|
@@ -493,8 +493,8 @@ export declare const AgentEnvironmentObservationSchema: z.ZodObject<{
|
|
|
493
493
|
resumable: z.ZodBoolean;
|
|
494
494
|
mode: z.ZodOptional<z.ZodEnum<{
|
|
495
495
|
none: "none";
|
|
496
|
-
replayed: "replayed";
|
|
497
496
|
native: "native";
|
|
497
|
+
replayed: "replayed";
|
|
498
498
|
}>>;
|
|
499
499
|
}, z.core.$strict>>;
|
|
500
500
|
persistence: z.ZodOptional<z.ZodObject<{
|
|
@@ -10,5 +10,6 @@ export * from "./environment-command-turn.js";
|
|
|
10
10
|
export * from "./environment-provider-error.js";
|
|
11
11
|
export * from "./workspace-cwd.js";
|
|
12
12
|
export * from "./workspace-snapshot.js";
|
|
13
|
+
export * from "./environment-retained-file.js";
|
|
13
14
|
export * from "./proxy-secrets.js";
|
|
14
15
|
export { AgentTurnFailureSchema, type AgentTurnFailure } from "./execution-failure.js";
|
|
@@ -10,5 +10,6 @@ export * from "./environment-command-turn.js";
|
|
|
10
10
|
export * from "./environment-provider-error.js";
|
|
11
11
|
export * from "./workspace-cwd.js";
|
|
12
12
|
export * from "./workspace-snapshot.js";
|
|
13
|
+
export * from "./environment-retained-file.js";
|
|
13
14
|
export * from "./proxy-secrets.js";
|
|
14
15
|
export { AgentTurnFailureSchema } from "./execution-failure.js";
|