@sleep2agi/agent-network 2.3.0-preview.70 → 2.3.0-preview.72
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.
|
|
1
|
+
export declare const PAIRED_AGENT_NETWORK_VERSION = "2.3.0-preview.72";
|
|
2
2
|
export declare const PAIRED_AGENT_NODE_VERSION = "2.5.0-preview.54";
|
|
3
3
|
export declare const PAIRED_AGENT_NODE_SPEC = "@sleep2agi/agent-node@2.5.0-preview.54";
|
|
4
|
-
export declare const OPENCODE_AGENT_NETWORK_VERSION = "2.3.0-preview.
|
|
4
|
+
export declare const OPENCODE_AGENT_NETWORK_VERSION = "2.3.0-preview.72";
|
|
5
5
|
export declare const OPENCODE_AGENT_NODE_VERSION = "2.5.0-preview.54";
|
|
6
6
|
export declare const OPENCODE_AGENT_NODE_SPEC = "@sleep2agi/agent-node@2.5.0-preview.54";
|
|
7
7
|
export type PairedAgentNodeResolution = {
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* `anet status` 的会话状态分类。
|
|
3
|
+
*
|
|
4
|
+
* 🔴 为什么单独成文件:原先它是 statusCommand 里的一个闭包,没有任何测试碰得到它 ——
|
|
5
|
+
* 而它决定了运维看到的那三个数字。一个把「卡住」算成「在干活」的分类器,
|
|
6
|
+
* 和一个正确的分类器,在输出上长得一模一样(都是一个数)。
|
|
7
|
+
*
|
|
8
|
+
* 🔴 改了什么:`blocked` / `error` 原先被折进 `working`。
|
|
9
|
+
* 它们的含义是**需要人看一眼**,不是**正在推进**。
|
|
10
|
+
* 运维看到「5 working」会认为一切正常,而其中可能有几个卡了很久 ——
|
|
11
|
+
* #1548 已经证明 `blocked` 是一个**没有出口**的状态:
|
|
12
|
+
* 只有 report_completion 能把它拉回 idle,所以一个 agent 可以永远停在那里。
|
|
13
|
+
*
|
|
14
|
+
* `waiting_input` 保留在 working 里:它是一个**进行中的回合**在等人,
|
|
15
|
+
* 与 blocked/error 不同 —— 那是回合本身出了问题。
|
|
16
|
+
*/
|
|
17
|
+
export type SessionClass = "idle" | "working" | "attention" | "offline";
|
|
18
|
+
export declare function classifySessionStatus(raw: unknown): SessionClass;
|
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.72",
|
|
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",
|