@tangle-network/agent-interface 5.10.4 → 5.10.5

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[] | Record<string, 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,11 +2366,15 @@ export declare const AgentEnvironmentReadOnlyGetOptionsSchema: z.ZodObject<{
2362
2366
  export interface AgentEnvironmentProvider {
2363
2367
  readonly name: string;
2364
2368
  readonly exactProcess?: AgentExactProcessProvider;
2369
+ readonly secrets?: {
2370
+ create(name: string, value: string): Promise<unknown>;
2371
+ update?(name: string, value: string): Promise<unknown>;
2372
+ delete(name: string): Promise<unknown>;
2373
+ };
2365
2374
  /** Durable fresh-session portable context admission, when supported. */
2366
2375
  readonly contextTransfer?: AgentContextTransferProvider;
2367
2376
  /**
2368
2377
  * Reconstruct a source-scoped branching handle after a coordinator restart.
2369
- *
2370
2378
  * This surface is intentionally separate from an environment-owned handle:
2371
2379
  * lookup and cleanup requests identify operations, not their source. The
2372
2380
  * provider owns source resolution and the underlying platform calls. A
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tangle-network/agent-interface",
3
- "version": "5.10.4",
3
+ "version": "5.10.5",
4
4
  "type": "module",
5
5
  "sideEffects": false,
6
6
  "license": "MIT",