@tangle-network/agent-interface 5.10.5 → 5.10.6
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.
|
@@ -2366,20 +2366,23 @@ export declare const AgentEnvironmentReadOnlyGetOptionsSchema: z.ZodObject<{
|
|
|
2366
2366
|
export interface AgentEnvironmentProvider {
|
|
2367
2367
|
readonly name: string;
|
|
2368
2368
|
readonly exactProcess?: AgentExactProcessProvider;
|
|
2369
|
+
/** Host-only store; expectedUpdatedAt rejects stale writes and removal without mutation. */
|
|
2369
2370
|
readonly secrets?: {
|
|
2370
2371
|
create(name: string, value: string): Promise<unknown>;
|
|
2371
|
-
|
|
2372
|
-
|
|
2372
|
+
list?(): Promise<readonly {
|
|
2373
|
+
name: string;
|
|
2374
|
+
updatedAt: Date;
|
|
2375
|
+
}[]>;
|
|
2376
|
+
update?(name: string, value: string, options?: {
|
|
2377
|
+
expectedUpdatedAt?: string;
|
|
2378
|
+
}): Promise<unknown>;
|
|
2379
|
+
delete(name: string, options?: {
|
|
2380
|
+
expectedUpdatedAt?: string;
|
|
2381
|
+
}): Promise<unknown>;
|
|
2373
2382
|
};
|
|
2374
2383
|
/** Durable fresh-session portable context admission, when supported. */
|
|
2375
2384
|
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
|
-
*/
|
|
2385
|
+
/** Source-scoped branch recovery; operation IDs identify lookup and cleanup, never source authority. */
|
|
2383
2386
|
readonly workspaceBranching?: AgentWorkspaceBranchingProvider;
|
|
2384
2387
|
capabilities(): AgentEnvironmentCapabilities | Promise<AgentEnvironmentCapabilities>;
|
|
2385
2388
|
validateProfile?(profile: AgentProfileRef): AgentProfileValidationResult | Promise<AgentProfileValidationResult>;
|