@sleep2agi/agent-network 2.3.0-preview.168 → 2.3.0-preview.169
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.
- package/README.md +3 -3
- package/dist/bin/cli.js +2 -2
- package/dist/src/client.js +1 -1
- package/dist/src/node-server.js +8 -8
- package/dist/src/opencode-agent-node-pair.d.ts +6 -6
- package/dist/src/scoped-secrets.d.ts +33 -0
- package/dist/src/shared/scoped-secret-contract.d.ts +1 -0
- package/dist/src/shared/scoped-secret-env.d.ts +2 -0
- package/package.json +1 -1
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
export declare const PAIRED_AGENT_NETWORK_VERSION = "2.3.0-preview.
|
|
2
|
-
export declare const PAIRED_AGENT_NODE_VERSION = "2.5.0-preview.
|
|
3
|
-
export declare const PAIRED_AGENT_NODE_SPEC = "@sleep2agi/agent-node@2.5.0-preview.
|
|
4
|
-
export declare const OPENCODE_AGENT_NETWORK_VERSION = "2.3.0-preview.
|
|
5
|
-
export declare const OPENCODE_AGENT_NODE_VERSION = "2.5.0-preview.
|
|
6
|
-
export declare const OPENCODE_AGENT_NODE_SPEC = "@sleep2agi/agent-node@2.5.0-preview.
|
|
1
|
+
export declare const PAIRED_AGENT_NETWORK_VERSION = "2.3.0-preview.169";
|
|
2
|
+
export declare const PAIRED_AGENT_NODE_VERSION = "2.5.0-preview.135";
|
|
3
|
+
export declare const PAIRED_AGENT_NODE_SPEC = "@sleep2agi/agent-node@2.5.0-preview.135";
|
|
4
|
+
export declare const OPENCODE_AGENT_NETWORK_VERSION = "2.3.0-preview.169";
|
|
5
|
+
export declare const OPENCODE_AGENT_NODE_VERSION = "2.5.0-preview.135";
|
|
6
|
+
export declare const OPENCODE_AGENT_NODE_SPEC = "@sleep2agi/agent-node@2.5.0-preview.135";
|
|
7
7
|
export type PairedAgentNodeResolution = {
|
|
8
8
|
spec: string;
|
|
9
9
|
args: string[];
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
export declare const validSecretKey: (key: unknown) => key is string;
|
|
2
|
+
export declare const validSecretValue: (v: unknown) => v is string;
|
|
3
|
+
type State = {
|
|
4
|
+
schema: 1;
|
|
5
|
+
network_id: string;
|
|
6
|
+
daemon_node_id: string;
|
|
7
|
+
revision: number;
|
|
8
|
+
defaults: Record<string, string>;
|
|
9
|
+
nodes: Record<string, Record<string, string>>;
|
|
10
|
+
last?: {
|
|
11
|
+
request_id: string;
|
|
12
|
+
digest: string;
|
|
13
|
+
};
|
|
14
|
+
};
|
|
15
|
+
export declare function readScopedState(path: string): State;
|
|
16
|
+
export declare function bindScopedNodeSecrets(daemonDir: string, nodeDir: string): void;
|
|
17
|
+
export declare function operateScopedSecrets(nodesDir: string, daemonAlias: string, input: any): {
|
|
18
|
+
network_id: string;
|
|
19
|
+
daemon_node_id: string;
|
|
20
|
+
node_id: string | null;
|
|
21
|
+
revision: number;
|
|
22
|
+
activation: string;
|
|
23
|
+
keys: {
|
|
24
|
+
key: string;
|
|
25
|
+
source: string;
|
|
26
|
+
}[];
|
|
27
|
+
};
|
|
28
|
+
export declare function runDaemonSecret(args: string[], deps: {
|
|
29
|
+
nodesDir: string;
|
|
30
|
+
readInput: () => string;
|
|
31
|
+
print: (text: string) => void;
|
|
32
|
+
}): number;
|
|
33
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const validScopedSecretKey: (key: unknown) => key is string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sleep2agi/agent-network",
|
|
3
|
-
"version": "2.3.0-preview.
|
|
3
|
+
"version": "2.3.0-preview.169",
|
|
4
4
|
"description": "AI Agent Network CLI — Local-first multi-agent orchestration across 6 runtimes (Claude Code CLI / Claude Agent SDK / Codex SDK / Codex app-server / Grok Build ACP / OpenCode CLI) and 8+ LLM providers. Apache 2.0.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/src/client.js",
|