@sleep2agi/agent-network 2.3.0-preview.116 → 2.3.0-preview.118
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.118";
|
|
2
|
+
export declare const PAIRED_AGENT_NODE_VERSION = "2.5.0-preview.91";
|
|
3
|
+
export declare const PAIRED_AGENT_NODE_SPEC = "@sleep2agi/agent-node@2.5.0-preview.91";
|
|
4
|
+
export declare const OPENCODE_AGENT_NETWORK_VERSION = "2.3.0-preview.118";
|
|
5
|
+
export declare const OPENCODE_AGENT_NODE_VERSION = "2.5.0-preview.91";
|
|
6
|
+
export declare const OPENCODE_AGENT_NODE_SPEC = "@sleep2agi/agent-node@2.5.0-preview.91";
|
|
7
7
|
export type PairedAgentNodeResolution = {
|
|
8
8
|
spec: string;
|
|
9
9
|
args: string[];
|
package/dist/src/rules-file.d.ts
CHANGED
|
@@ -22,8 +22,9 @@ export declare function writeRulesFile(workDir: string, runtime: string | null |
|
|
|
22
22
|
export interface RulesFileRequest {
|
|
23
23
|
request_id: string;
|
|
24
24
|
/** read/write = 规则文件;skills_list/skill_read = 只读技能(node-skills.ts),content 是技能名;
|
|
25
|
-
* files_list/file_read = 只读项目文件夹(node-files.ts),content
|
|
26
|
-
|
|
25
|
+
* files_list/file_read = 只读项目文件夹(node-files.ts),content 是相对工作目录的路径;
|
|
26
|
+
* logs_tail = 只读本节点运行日志(node-logs.ts),content 是过滤参数 JSON(没有路径)。 */
|
|
27
|
+
op: "read" | "write" | "skills_list" | "skill_read" | "files_list" | "file_read" | "logs_tail";
|
|
27
28
|
content?: string;
|
|
28
29
|
}
|
|
29
30
|
export interface ProcessRulesFileDeps {
|
|
@@ -35,6 +36,13 @@ export interface ProcessRulesFileDeps {
|
|
|
35
36
|
/** 技能根目录用;缺省取 os.homedir() / process.env.CODEX_HOME。 */
|
|
36
37
|
home?: string;
|
|
37
38
|
codexHome?: string;
|
|
39
|
+
/** logs_tail 用:读本进程自己的日志并脱敏(agent-node 的 runtime/node-logs.ts,由 cli.ts 注入)。
|
|
40
|
+
* 参数是 hub 转来的过滤 JSON;没有路径。缺省(例如 claude-code 通道进程)时 logs_tail 回 failed。 */
|
|
41
|
+
logsTail?: (rawParams: string | undefined) => Promise<{
|
|
42
|
+
files: string[];
|
|
43
|
+
lines: unknown[];
|
|
44
|
+
matched: number;
|
|
45
|
+
}>;
|
|
38
46
|
}
|
|
39
47
|
/** 一次门铃最多处理这么多条,防止 hub 侧异常堆积把节点拖进死循环。 */
|
|
40
48
|
export declare const RULES_FILE_MAX_PER_DOORBELL = 8;
|
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.118",
|
|
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",
|