@sleep2agi/agent-network 2.3.0-preview.244 → 2.3.0-preview.246

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,7 +1,7 @@
1
- export declare const PAIRED_AGENT_NETWORK_VERSION = "2.3.0-preview.244";
1
+ export declare const PAIRED_AGENT_NETWORK_VERSION = "2.3.0-preview.246";
2
2
  export declare const PAIRED_AGENT_NODE_VERSION = "2.5.0-preview.212";
3
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.244";
4
+ export declare const OPENCODE_AGENT_NETWORK_VERSION = "2.3.0-preview.246";
5
5
  export declare const OPENCODE_AGENT_NODE_VERSION = "2.5.0-preview.212";
6
6
  export declare const OPENCODE_AGENT_NODE_SPEC = "@sleep2agi/agent-node@2.5.0-preview.212";
7
7
  export type PairedAgentNodeResolution = {
@@ -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;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sleep2agi/agent-network",
3
- "version": "2.3.0-preview.244",
3
+ "version": "2.3.0-preview.246",
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",