@tangle-network/agent-interface 1.8.0 → 1.9.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.
Files changed (37) hide show
  1. package/README.md +3 -0
  2. package/dist/agent-candidate-code-schema.d.ts +17 -17
  3. package/dist/agent-candidate-execution-plan-schema.d.ts +179 -179
  4. package/dist/agent-candidate-lineage-schema.d.ts +2 -2
  5. package/dist/agent-candidate-outcome-schema.d.ts +56 -56
  6. package/dist/agent-candidate-profile-schema.d.ts +17 -17
  7. package/dist/agent-candidate-promotion-schema.d.ts +1085 -1085
  8. package/dist/agent-candidate-receipt-schema.d.ts +195 -195
  9. package/dist/agent-candidate-schema.d.ts +30 -30
  10. package/dist/agent-candidate-task-schema.d.ts +16 -16
  11. package/dist/agent-execution-limits.d.ts +1 -1
  12. package/dist/agent-execution-preparation-receipt.d.ts +71 -71
  13. package/dist/agent-improvement-measurement-schema.d.ts +26 -26
  14. package/dist/agent-instance.d.ts +2 -2
  15. package/dist/agent-profile-improvement-schema.d.ts +75 -75
  16. package/dist/agent-workspace-lease.d.ts +4 -4
  17. package/dist/certified-context.d.ts +2 -2
  18. package/dist/environment-interactive-control.d.ts +422 -422
  19. package/dist/environment-interactive-start.d.ts +17 -17
  20. package/dist/environment-observation.d.ts +39 -39
  21. package/dist/environment-runtime.d.ts +44 -20
  22. package/dist/environment-runtime.js +17 -0
  23. package/dist/harness.d.ts +11 -11
  24. package/dist/interaction-envelope.d.ts +26 -26
  25. package/dist/interaction-fields.d.ts +22 -22
  26. package/dist/interaction-permissions.d.ts +2 -2
  27. package/dist/portable-context-base.d.ts +1 -1
  28. package/dist/portable-context-continuation.d.ts +4 -4
  29. package/dist/portable-context-plan-request.d.ts +1 -1
  30. package/dist/portable-context-plan.d.ts +5 -5
  31. package/dist/portable-context-shared.d.ts +1 -1
  32. package/dist/portable-context-transfer.d.ts +6 -6
  33. package/dist/profile-schema.d.ts +37 -37
  34. package/dist/runtime-control.d.ts +10 -10
  35. package/dist/workspace-cleanup.d.ts +3 -3
  36. package/dist/workspace-fork.d.ts +4 -4
  37. package/package.json +4 -4
package/README.md CHANGED
@@ -69,6 +69,9 @@ Partial input or output always requires explicit user or policy acceptance, even
69
69
  `ContextTransferRequest` binds an operation identifier to that accepted plan, while `ContextTransferResult` distinguishes first admission, exact replay, changed-input conflict, and unknown transport outcome.
70
70
  `contextTransferResultMatchesRequest()` checks the operation identifier and request digest for every outcome before a caller accepts, retries, or reports it.
71
71
  Its successful receipt repeats the exact destination and carries the provider's session-creation operation and timestamp, identifying the one fresh provider session that admitted the context.
72
+ Providers expose this operation through `AgentEnvironmentProvider.contextTransfer`.
73
+ They advertise `contextTransfer` only when transfer, retry idempotency, and lookup are all durable.
74
+ An accepted destination can set `CreateAgentEnvironmentInput.requestedId` to bind environment creation to its exact identifier.
72
75
  `NativeContextBoundaryProof` is the separate path for same-session continuation and includes the exact run identity.
73
76
  `NativeContextContinuationRequest.turnDigest` binds the operation to the exact new JSON-stable user turn; timeout and abort controls live outside that turn under `AgentNativeContextContinuationOptions`.
74
77
  Continuation is valid only when the provider atomically proves the recorded token, revision, digest, or message boundary, sends zero copied history, and applies retry or changed-input conflict semantics.
@@ -107,11 +107,11 @@ export declare const agentCandidateEntrypointLaunchSchema: z.ZodObject<{
107
107
  kind: z.ZodLiteral<"candidate-entrypoint">;
108
108
  entrypoint: z.ZodString;
109
109
  interpreter: z.ZodOptional<z.ZodEnum<{
110
+ bun: "bun";
111
+ deno: "deno";
110
112
  node: "node";
111
113
  python: "python";
112
114
  python3: "python3";
113
- bun: "bun";
114
- deno: "deno";
115
115
  tsx: "tsx";
116
116
  uv: "uv";
117
117
  }>>;
@@ -131,11 +131,11 @@ export declare const agentCandidateLaunchSchema: z.ZodDiscriminatedUnion<[z.ZodO
131
131
  kind: z.ZodLiteral<"candidate-entrypoint">;
132
132
  entrypoint: z.ZodString;
133
133
  interpreter: z.ZodOptional<z.ZodEnum<{
134
+ bun: "bun";
135
+ deno: "deno";
134
136
  node: "node";
135
137
  python: "python";
136
138
  python3: "python3";
137
- bun: "bun";
138
- deno: "deno";
139
139
  tsx: "tsx";
140
140
  uv: "uv";
141
141
  }>>;
@@ -155,22 +155,22 @@ export declare const agentCandidateInstructionDeliverySchema: z.ZodDiscriminated
155
155
  }, z.core.$strict>], "kind">;
156
156
  export declare const agentCandidateExecutionSchema: z.ZodObject<{
157
157
  harness: z.ZodEnum<{
158
+ acp: "acp";
159
+ amp: "amp";
158
160
  "claude-code": "claude-code";
159
- nanoclaw: "nanoclaw";
161
+ "cli-base": "cli-base";
160
162
  codex: "codex";
161
- opencode: "opencode";
162
- "kimi-code": "kimi-code";
163
- pi: "pi";
164
- prime: "prime";
163
+ cursor: "cursor";
164
+ "factory-droids": "factory-droids";
165
+ forge: "forge";
165
166
  gemini: "gemini";
166
167
  hermes: "hermes";
168
+ "kimi-code": "kimi-code";
169
+ nanoclaw: "nanoclaw";
167
170
  openclaw: "openclaw";
168
- amp: "amp";
169
- "factory-droids": "factory-droids";
170
- forge: "forge";
171
- cursor: "cursor";
172
- acp: "acp";
173
- "cli-base": "cli-base";
171
+ opencode: "opencode";
172
+ pi: "pi";
173
+ prime: "prime";
174
174
  }>;
175
175
  harnessVersion: z.ZodString;
176
176
  launch: z.ZodDiscriminatedUnion<[z.ZodObject<{
@@ -184,11 +184,11 @@ export declare const agentCandidateExecutionSchema: z.ZodObject<{
184
184
  kind: z.ZodLiteral<"candidate-entrypoint">;
185
185
  entrypoint: z.ZodString;
186
186
  interpreter: z.ZodOptional<z.ZodEnum<{
187
+ bun: "bun";
188
+ deno: "deno";
187
189
  node: "node";
188
190
  python: "python";
189
191
  python3: "python3";
190
- bun: "bun";
191
- deno: "deno";
192
192
  tsx: "tsx";
193
193
  uv: "uv";
194
194
  }>>;