@sleep2agi/agent-network 2.3.0-preview.179 → 2.3.0-preview.180

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.
@@ -1,9 +1,9 @@
1
- export declare const PAIRED_AGENT_NETWORK_VERSION = "2.3.0-preview.179";
2
- export declare const PAIRED_AGENT_NODE_VERSION = "2.5.0-preview.145";
3
- export declare const PAIRED_AGENT_NODE_SPEC = "@sleep2agi/agent-node@2.5.0-preview.145";
4
- export declare const OPENCODE_AGENT_NETWORK_VERSION = "2.3.0-preview.179";
5
- export declare const OPENCODE_AGENT_NODE_VERSION = "2.5.0-preview.145";
6
- export declare const OPENCODE_AGENT_NODE_SPEC = "@sleep2agi/agent-node@2.5.0-preview.145";
1
+ export declare const PAIRED_AGENT_NETWORK_VERSION = "2.3.0-preview.180";
2
+ export declare const PAIRED_AGENT_NODE_VERSION = "2.5.0-preview.146";
3
+ export declare const PAIRED_AGENT_NODE_SPEC = "@sleep2agi/agent-node@2.5.0-preview.146";
4
+ export declare const OPENCODE_AGENT_NETWORK_VERSION = "2.3.0-preview.180";
5
+ export declare const OPENCODE_AGENT_NODE_VERSION = "2.5.0-preview.146";
6
+ export declare const OPENCODE_AGENT_NODE_SPEC = "@sleep2agi/agent-node@2.5.0-preview.146";
7
7
  export type PairedAgentNodeResolution = {
8
8
  spec: string;
9
9
  args: string[];
@@ -0,0 +1,5 @@
1
+ export type SharedOpenCodeServer = {
2
+ url: string;
3
+ passwordFile: string;
4
+ };
5
+ export declare function resolveSharedOpenCodeServer(opts: Record<string, string | string[] | undefined>, registryPath: string): SharedOpenCodeServer | undefined;
@@ -0,0 +1,29 @@
1
+ export declare const BORROWED_LAUNCH_HEALTH = "opencode-borrowed-v1-launch.json";
2
+ export declare function hasBorrowedV1Intent(dir: string, config: any): boolean;
3
+ /** Read-only preflight. Runtime admission still validates the independent Host,
4
+ * binary, original credentials, native directory/session and cooperative lease. */
5
+ export declare function readBorrowedLaunchConfig(configPath: string, cwd?: string): {
6
+ selection: any;
7
+ alias: any;
8
+ model: any;
9
+ stamp: number[];
10
+ };
11
+ export declare function publishBorrowedLaunchHealth(configPath: string, nonce: string): () => void;
12
+ export declare function inspectBorrowedLaunchHealth(configPath: string, launchedAt: number, nonce?: string): {
13
+ ok: true;
14
+ bridgePid: number;
15
+ reason?: undefined;
16
+ } | {
17
+ ok: false;
18
+ reason: string;
19
+ bridgePid?: undefined;
20
+ };
21
+ export declare function waitForBorrowedLaunchHealth(configPath: string, launchedAt: number, deadline: number, nonce?: string): Promise<{
22
+ ok: true;
23
+ bridgePid: number;
24
+ reason?: undefined;
25
+ } | {
26
+ ok: false;
27
+ reason: string;
28
+ bridgePid?: undefined;
29
+ }>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sleep2agi/agent-network",
3
- "version": "2.3.0-preview.179",
3
+ "version": "2.3.0-preview.180",
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",