@sleep2agi/agent-network 2.3.0-preview.243 → 2.3.0-preview.245
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.
|
|
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.245";
|
|
2
|
+
export declare const PAIRED_AGENT_NODE_VERSION = "2.5.0-preview.212";
|
|
3
|
+
export declare const PAIRED_AGENT_NODE_SPEC = "@sleep2agi/agent-node@2.5.0-preview.212";
|
|
4
|
+
export declare const OPENCODE_AGENT_NETWORK_VERSION = "2.3.0-preview.245";
|
|
5
|
+
export declare const OPENCODE_AGENT_NODE_VERSION = "2.5.0-preview.212";
|
|
6
|
+
export declare const OPENCODE_AGENT_NODE_SPEC = "@sleep2agi/agent-node@2.5.0-preview.212";
|
|
7
7
|
export type PairedAgentNodeResolution = {
|
|
8
8
|
spec: string;
|
|
9
9
|
args: string[];
|
|
@@ -39,4 +39,14 @@ export declare function resolveAgentNodePackageEntrypointFromPath(searchPath: st
|
|
|
39
39
|
* 所以「两边都用 @preview」本身也有窗口期不自洽 —— tag 不是配对判据,
|
|
40
40
|
* **本包里的常量才是**。把常量打印出来,是唯一不用猜的答案。
|
|
41
41
|
*/
|
|
42
|
+
/** `engines` 要求的 Node 版本(与 agent-network/package.json 同源)。 */
|
|
43
|
+
export declare const REQUIRED_NODE_VERSION = "22.13.0";
|
|
44
|
+
/**
|
|
45
|
+
* `anet pair` 的 Node 版本提示(不阻断)。
|
|
46
|
+
*
|
|
47
|
+
* 2026-11-22 —— 负责人:npm 的 EBADENGINE 只是裸警告,用户看不懂「会怎样」。
|
|
48
|
+
* 这里用一句话说清:当前版本 X、建议 ≥ required、否则可能有不明确的行为差异。
|
|
49
|
+
* 纯函数,方便单测;返回 null 表示无需提示。
|
|
50
|
+
*/
|
|
51
|
+
export declare function nodeEngineWarning(current?: string, required?: string): string | null;
|
|
42
52
|
export declare function pairInfo(includeOpenCodeConstraints?: boolean): string;
|
|
@@ -1,2 +1,23 @@
|
|
|
1
|
-
/**
|
|
2
|
-
|
|
1
|
+
/**
|
|
2
|
+
* Native Windows runtime policy.
|
|
3
|
+
*
|
|
4
|
+
* RFC-044 slice 2 deliberately limited native Windows to the SDK path: the
|
|
5
|
+
* terminal / tmux / co-presence runtimes need a POSIX-ish PTY multiplexer that
|
|
6
|
+
* had not been validated there. That boundary is about **PTY**, not about every
|
|
7
|
+
* non-SDK runtime — the allowlist shape over-blocked the ACP runtimes, which
|
|
8
|
+
* speak JSON-RPC over a plain stdio child process (`acp-runner/client.ts` uses
|
|
9
|
+
* `spawn` + pipes, no PTY, no tmux).
|
|
10
|
+
*
|
|
11
|
+
* 2026-11-22 — 闻星 brought native Windows evidence for antigravity-acp
|
|
12
|
+
* (ConPTY + `ssh -tt` login works, `agy -p` headless works). That proves the
|
|
13
|
+
* CLI works, not that OUR stdio path works on Windows (`.cmd` shim resolution,
|
|
14
|
+
* child env policy, stop/tree-kill are still unverified there).
|
|
15
|
+
*
|
|
16
|
+
* So antigravity-acp is admitted **only behind an explicit opt-in**
|
|
17
|
+
* (`ANET_ALLOW_ACP_WINDOWS=1`) until a Windows-native first-reply + stop smoke
|
|
18
|
+
* exists. Default behaviour on win32 is unchanged (SDK only).
|
|
19
|
+
*/
|
|
20
|
+
export declare const WINDOWS_DEFAULT_RUNTIMES: readonly string[];
|
|
21
|
+
/** ACP stdio runtimes that do not need PTY/tmux; gated by ANET_ALLOW_ACP_WINDOWS=1. */
|
|
22
|
+
export declare const WINDOWS_ACP_OPT_IN_RUNTIMES: readonly string[];
|
|
23
|
+
export declare function windowsRuntimeSupported(runtime: string, platform?: NodeJS.Platform, env?: NodeJS.ProcessEnv): boolean;
|
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.245",
|
|
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",
|