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

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.243";
2
- export declare const PAIRED_AGENT_NODE_VERSION = "2.5.0-preview.211";
3
- export declare const PAIRED_AGENT_NODE_SPEC = "@sleep2agi/agent-node@2.5.0-preview.211";
4
- export declare const OPENCODE_AGENT_NETWORK_VERSION = "2.3.0-preview.243";
5
- export declare const OPENCODE_AGENT_NODE_VERSION = "2.5.0-preview.211";
6
- export declare const OPENCODE_AGENT_NODE_SPEC = "@sleep2agi/agent-node@2.5.0-preview.211";
1
+ export declare const PAIRED_AGENT_NETWORK_VERSION = "2.3.0-preview.244";
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.244";
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[];
@@ -1,2 +1,23 @@
1
- /** Native Windows first-run support is deliberately limited to the SDK path. */
2
- export declare function windowsRuntimeSupported(runtime: string, platform?: NodeJS.Platform): boolean;
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.243",
3
+ "version": "2.3.0-preview.244",
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",