@sleep2agi/agent-network 2.3.0-preview.241 → 2.3.0-preview.242

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.241";
2
- export declare const PAIRED_AGENT_NODE_VERSION = "2.5.0-preview.209";
3
- export declare const PAIRED_AGENT_NODE_SPEC = "@sleep2agi/agent-node@2.5.0-preview.209";
4
- export declare const OPENCODE_AGENT_NETWORK_VERSION = "2.3.0-preview.241";
5
- export declare const OPENCODE_AGENT_NODE_VERSION = "2.5.0-preview.209";
6
- export declare const OPENCODE_AGENT_NODE_SPEC = "@sleep2agi/agent-node@2.5.0-preview.209";
1
+ export declare const PAIRED_AGENT_NETWORK_VERSION = "2.3.0-preview.242";
2
+ export declare const PAIRED_AGENT_NODE_VERSION = "2.5.0-preview.210";
3
+ export declare const PAIRED_AGENT_NODE_SPEC = "@sleep2agi/agent-node@2.5.0-preview.210";
4
+ export declare const OPENCODE_AGENT_NETWORK_VERSION = "2.3.0-preview.242";
5
+ export declare const OPENCODE_AGENT_NODE_VERSION = "2.5.0-preview.210";
6
+ export declare const OPENCODE_AGENT_NODE_SPEC = "@sleep2agi/agent-node@2.5.0-preview.210";
7
7
  export type PairedAgentNodeResolution = {
8
8
  spec: string;
9
9
  args: string[];
@@ -46,8 +46,7 @@ export interface ProcessRulesFileDeps {
46
46
  }
47
47
  /** 一次门铃最多处理这么多条,防止 hub 侧异常堆积把节点拖进死循环。 */
48
48
  export declare const RULES_FILE_MAX_PER_DOORBELL = 8;
49
- /**
50
- * 门铃处理器:拉 pending 请求直到空,每条 ack done / failed。
51
- * 返回处理条数(测试用)。
52
- */
49
+ /** Doorbells, reconnects and polling share one drain per authenticated client. */
53
50
  export declare function processRulesFileRequests(deps: ProcessRulesFileDeps): Promise<number>;
51
+ export declare const RULES_FILE_POLL_MS = 15000;
52
+ export declare function startRulesFilePolling(deps: ProcessRulesFileDeps, intervalMs?: number): () => void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sleep2agi/agent-network",
3
- "version": "2.3.0-preview.241",
3
+ "version": "2.3.0-preview.242",
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",