@tangle-network/agent-interface 5.10.5 → 5.10.7
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.
|
@@ -1758,6 +1758,9 @@ export interface CreateAgentEnvironmentInput {
|
|
|
1758
1758
|
name: string;
|
|
1759
1759
|
host: string;
|
|
1760
1760
|
header?: string;
|
|
1761
|
+
} | {
|
|
1762
|
+
name: string;
|
|
1763
|
+
exposeInBox: true;
|
|
1761
1764
|
})[] | Record<string, string>;
|
|
1762
1765
|
/** Same declaration as AgentProfile. Empty selections remain explicit wire values.
|
|
1763
1766
|
* Trusted issuer authorization is required before resolving any reference. */
|
|
@@ -2366,20 +2369,23 @@ export declare const AgentEnvironmentReadOnlyGetOptionsSchema: z.ZodObject<{
|
|
|
2366
2369
|
export interface AgentEnvironmentProvider {
|
|
2367
2370
|
readonly name: string;
|
|
2368
2371
|
readonly exactProcess?: AgentExactProcessProvider;
|
|
2372
|
+
/** Host-only store; expectedUpdatedAt rejects stale writes and removal without mutation. */
|
|
2369
2373
|
readonly secrets?: {
|
|
2370
2374
|
create(name: string, value: string): Promise<unknown>;
|
|
2371
|
-
|
|
2372
|
-
|
|
2375
|
+
list?(): Promise<readonly {
|
|
2376
|
+
name: string;
|
|
2377
|
+
updatedAt: Date;
|
|
2378
|
+
}[]>;
|
|
2379
|
+
update?(name: string, value: string, options?: {
|
|
2380
|
+
expectedUpdatedAt?: string;
|
|
2381
|
+
}): Promise<unknown>;
|
|
2382
|
+
delete(name: string, options?: {
|
|
2383
|
+
expectedUpdatedAt?: string;
|
|
2384
|
+
}): Promise<unknown>;
|
|
2373
2385
|
};
|
|
2374
2386
|
/** Durable fresh-session portable context admission, when supported. */
|
|
2375
2387
|
readonly contextTransfer?: AgentContextTransferProvider;
|
|
2376
|
-
/**
|
|
2377
|
-
* Reconstruct a source-scoped branching handle after a coordinator restart.
|
|
2378
|
-
* This surface is intentionally separate from an environment-owned handle:
|
|
2379
|
-
* lookup and cleanup requests identify operations, not their source. The
|
|
2380
|
-
* provider owns source resolution and the underlying platform calls. A
|
|
2381
|
-
* returned handle is bound to that source and must reject other scopes.
|
|
2382
|
-
*/
|
|
2388
|
+
/** Source-scoped branch recovery; operation IDs identify lookup and cleanup, never source authority. */
|
|
2383
2389
|
readonly workspaceBranching?: AgentWorkspaceBranchingProvider;
|
|
2384
2390
|
capabilities(): AgentEnvironmentCapabilities | Promise<AgentEnvironmentCapabilities>;
|
|
2385
2391
|
validateProfile?(profile: AgentProfileRef): AgentProfileValidationResult | Promise<AgentProfileValidationResult>;
|