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