evolcore 0.0.43-test.3 → 0.0.43-test.4
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.
- package/CHANGELOG.md +36 -0
- package/bin/ecmsg.js +229 -0
- package/bin/install-codex-managed-hooks.mjs +130 -8
- package/dist/ability/application-service.js +37 -0
- package/dist/ability/resources.js +28 -0
- package/dist/ability/runtime.js +6 -1
- package/dist/agents/claude-runner.js +7 -5
- package/dist/agents/codex/app-server-client.js +0 -12
- package/dist/agents/codex-runner.js +0 -37
- package/dist/agents/ecagent-runner.js +130 -35
- package/dist/aun/aid/agentmd.js +31 -12
- package/dist/aun/menu/client.js +8 -7
- package/dist/aun/menu/index.js +1 -1
- package/dist/aun/menu/transport.js +8 -5
- package/dist/aun/service-proxy.js +3 -0
- package/dist/channels/aun.js +26 -5
- package/dist/channels/daemon.js +10 -2
- package/dist/cli/agent-command.js +5 -0
- package/dist/cli/agent-create.js +28 -6
- package/dist/cli/agent.js +9 -3
- package/dist/cli/aun-commands.js +2 -2
- package/dist/cli/daemon-commands.js +30 -18
- package/dist/cli/directory.js +4 -7
- package/dist/cli/getmeta-command.js +2 -1
- package/dist/cli/init.js +13 -5
- package/dist/cli/trigger-command.js +20 -14
- package/dist/config/boot-log.js +12 -2
- package/dist/config/config-field-policy.js +2 -0
- package/dist/config/config-manager.js +9 -4
- package/dist/config/peer-role-resolver.js +1 -1
- package/dist/config/role-schema.js +3 -3
- package/dist/config/schema-migration.js +121 -0
- package/dist/core/agent-application-service.js +11 -0
- package/dist/core/agent-ipc-registration.js +2 -0
- package/dist/core/agent-runtime.js +41 -9
- package/dist/core/auth/auth-gateway.js +3 -3
- package/dist/core/auth/operation-authorizer.js +2 -1
- package/dist/core/baseagent-loader.js +11 -3
- package/dist/core/bootstrap-service.js +8 -0
- package/dist/core/channel-loader.js +61 -23
- package/dist/core/command/agent-control.js +4 -1
- package/dist/core/command/chatmode-config.js +46 -0
- package/dist/core/command/command-handler.js +5 -14
- package/dist/core/command/daemon-diagnostics.js +2 -1
- package/dist/core/command/menu-catalog.js +1 -1
- package/dist/core/command/menu-handler.js +16 -16
- package/dist/core/command/slash-handler.js +4 -26
- package/dist/core/daemon-lifecycle.js +35 -17
- package/dist/core/event-catalog.js +19 -0
- package/dist/core/evolagent-registry.js +3 -0
- package/dist/core/ipc-registration.js +6 -0
- package/dist/core/message/im-renderer.js +24 -19
- package/dist/core/message/message-admission.js +11 -2
- package/dist/core/message/response-engine.js +17 -18
- package/dist/core/model/model-capabilities.js +37 -0
- package/dist/core/model/model-catalog.js +6 -2
- package/dist/core/ownership/owner-resolver.js +6 -6
- package/dist/core/permission/ec-command-parser.js +47 -12
- package/dist/core/plugin-lifecycle.js +6 -2
- package/dist/core/relation/pa-team.js +7 -2
- package/dist/directory/owner-directory-cache.js +4 -2
- package/dist/directory/owner-directory-query-operation.js +5 -7
- package/dist/ecweb/runtime/lifecycle.js +29 -5
- package/dist/ecweb/runtime/supervisor.js +83 -27
- package/dist/index.js +198 -38
- package/dist/proxy/service-supervisor.js +377 -141
- package/dist/trigger/audit.js +3 -2
- package/dist/trigger/authorization.js +2 -3
- package/dist/trigger/history.js +4 -3
- package/dist/trigger/ipc-service.js +24 -19
- package/dist/trigger/manager.js +3 -5
- package/dist/trigger/parser.js +4 -21
- package/dist/trigger/patch.js +3 -15
- package/dist/trigger/scheduler.js +45 -10
- package/dist/trigger/validation.js +0 -13
- package/dist/utils/error-utils.js +8 -0
- package/dist/utils/macos-autostart.js +31 -0
- package/dist/utils/model-prices.jsonl +15 -8
- package/dist/utils/process-introspect.js +21 -1
- package/dist/utils/startup-trace.js +7 -1
- package/dist/utils/windows-autostart.js +1 -0
- package/ecagent/dist/harness/compaction/branch-summarization.js +1 -1
- package/ecagent/dist/harness/compaction/compaction.js +4 -4
- package/kits/docs/evolcore/INDEX.md +1 -1
- package/kits/docs/evolcore/file-navigation.md +63 -49
- package/kits/docs/evolcore/menu-protocol.md +1 -0
- package/kits/docs/evolcore/model.md +5 -3
- package/kits/docs/evolcore/response.md +2 -0
- package/kits/docs/evolcore/thread-chain.md +1 -1
- package/kits/docs/evolcore/tool-authorization.md +4 -1
- package/kits/docs/evolcore/trigger.md +10 -7
- package/kits/eck_manifest.json +0 -21
- package/kits/rules/01-overview.md +42 -44
- package/kits/rules/02-navigation.md +44 -53
- package/kits/rules/03-identity.md +21 -25
- package/kits/rules/04-relation.md +23 -33
- package/kits/rules/05-venue.md +24 -25
- package/kits/schemas/_meta.json +13 -26
- package/kits/schemas/agent-config.schema.19.json +10 -6
- package/kits/schemas/relation-config.schema.12.json +2 -2
- package/kits/schemas/role-config.schema.2.json +5 -5
- package/kits/skills/ec-service-proxy/SKILL.md +10 -0
- package/kits/skills/ec-trigger/SKILL.md +1 -1
- package/kits/templates/system-fragments/commands.md +1 -1
- package/kits/templates/system-fragments/identity.md +0 -1
- package/package.json +18 -13
- package/kits/schemas/agent-config.schema.20.json +0 -925
- package/kits/schemas/relation-config.schema.13.json +0 -289
- package/kits/schemas/role-config.schema.3.json +0 -1038
package/kits/schemas/_meta.json
CHANGED
|
@@ -11,17 +11,12 @@
|
|
|
11
11
|
"history": []
|
|
12
12
|
},
|
|
13
13
|
"agent-config": {
|
|
14
|
-
"currentVersion":
|
|
14
|
+
"currentVersion": 19,
|
|
15
15
|
"history": [
|
|
16
|
-
{
|
|
17
|
-
"version": 20,
|
|
18
|
-
"date": "2026-11-04",
|
|
19
|
-
"description": "群聊 chatmode 固定 proactive;interactive/paactive 仅用于私聊"
|
|
20
|
-
},
|
|
21
16
|
{
|
|
22
17
|
"version": 19,
|
|
23
|
-
"date": "2026-11-
|
|
24
|
-
"description": "新增仅 AUN
|
|
18
|
+
"date": "2026-11-05",
|
|
19
|
+
"description": "新增仅 AUN 人类 Owner 私聊可用的 paactive chatmode;群聊固定 proactive"
|
|
25
20
|
},
|
|
26
21
|
{
|
|
27
22
|
"version": 18,
|
|
@@ -41,17 +36,12 @@
|
|
|
41
36
|
]
|
|
42
37
|
},
|
|
43
38
|
"relation-config": {
|
|
44
|
-
"currentVersion":
|
|
39
|
+
"currentVersion": 12,
|
|
45
40
|
"history": [
|
|
46
|
-
{
|
|
47
|
-
"version": 13,
|
|
48
|
-
"date": "2026-11-04",
|
|
49
|
-
"description": "群聊 chatmode 固定 proactive"
|
|
50
|
-
},
|
|
51
41
|
{
|
|
52
42
|
"version": 12,
|
|
53
|
-
"date": "2026-11-
|
|
54
|
-
"description": "新增仅 AUN
|
|
43
|
+
"date": "2026-11-05",
|
|
44
|
+
"description": "新增仅 AUN 人类 Owner 私聊可用的 paactive chatmode;群聊固定 proactive"
|
|
55
45
|
},
|
|
56
46
|
{
|
|
57
47
|
"version": 11,
|
|
@@ -70,30 +60,27 @@
|
|
|
70
60
|
"currentVersion": 1
|
|
71
61
|
},
|
|
72
62
|
"role-config": {
|
|
73
|
-
"currentVersion":
|
|
63
|
+
"currentVersion": 2
|
|
74
64
|
}
|
|
75
65
|
},
|
|
76
66
|
"history": [
|
|
77
|
-
{ "schema": "agent-config", "version": 20, "date": "2026-11-04", "description": "群聊仅支持 proactive;私聊保留三种投递分支" },
|
|
78
|
-
{ "schema": "relation-config", "version": 13, "date": "2026-11-04", "description": "群聊仅支持 proactive" },
|
|
79
|
-
{ "schema": "role-config", "version": 3, "date": "2026-11-04", "description": "群聊角色策略及候选枚举固定 proactive;兼容读取旧角色策略" },
|
|
80
67
|
{
|
|
81
68
|
"schema": "role-config",
|
|
82
69
|
"version": 2,
|
|
83
|
-
"date": "2026-11-
|
|
84
|
-
"description": "
|
|
70
|
+
"date": "2026-11-05",
|
|
71
|
+
"description": "私聊角色策略新增 paactive 候选,运行时仅 AUN 人类 Owner 可用;群聊固定 proactive,兼容 v1 角色读取"
|
|
85
72
|
},
|
|
86
73
|
{
|
|
87
74
|
"schema": "relation-config",
|
|
88
75
|
"version": 12,
|
|
89
|
-
"date": "2026-11-
|
|
90
|
-
"description": "新增仅 AUN
|
|
76
|
+
"date": "2026-11-05",
|
|
77
|
+
"description": "新增仅 AUN 人类 Owner 私聊可用的 paactive chatmode;群聊固定 proactive"
|
|
91
78
|
},
|
|
92
79
|
{
|
|
93
80
|
"schema": "agent-config",
|
|
94
81
|
"version": 19,
|
|
95
|
-
"date": "2026-11-
|
|
96
|
-
"description": "新增仅 AUN
|
|
82
|
+
"date": "2026-11-05",
|
|
83
|
+
"description": "新增仅 AUN 人类 Owner 私聊可用的 paactive chatmode;群聊固定 proactive"
|
|
97
84
|
},
|
|
98
85
|
{
|
|
99
86
|
"schema": "agent-config",
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
"const": 19,
|
|
47
47
|
"default": 19,
|
|
48
48
|
"x-merge": "scalar",
|
|
49
|
-
"description": "配置 Schema
|
|
49
|
+
"description": "配置 Schema 版本;新增仅 AUN 人类 Owner 私聊可用的 paactive 模式,群聊固定 proactive"
|
|
50
50
|
},
|
|
51
51
|
"aid": {
|
|
52
52
|
"type": "string",
|
|
@@ -101,6 +101,12 @@
|
|
|
101
101
|
"x-merge": "scalar",
|
|
102
102
|
"description": "是否已完成 Agent 初始化流程"
|
|
103
103
|
},
|
|
104
|
+
"bootstrapWelcome": {
|
|
105
|
+
"type": "boolean",
|
|
106
|
+
"default": true,
|
|
107
|
+
"x-merge": "scalar",
|
|
108
|
+
"description": "激活时是否向 Owner 发送首次欢迎消息。默认 true。设为 false 时只发上下线通知,不发自我介绍;团队内成员(由别的 agent 使用而非 Owner 直接对话)建议关闭。"
|
|
109
|
+
},
|
|
104
110
|
"owners": {
|
|
105
111
|
"type": "array",
|
|
106
112
|
"items": {
|
|
@@ -687,12 +693,10 @@
|
|
|
687
693
|
},
|
|
688
694
|
"group": {
|
|
689
695
|
"enum": [
|
|
690
|
-
"interactive",
|
|
691
696
|
"proactive"
|
|
692
697
|
],
|
|
693
|
-
"description": "
|
|
698
|
+
"description": "群聊固定使用 proactive 投递方式",
|
|
694
699
|
"x-enumDescriptions": {
|
|
695
|
-
"interactive": "同步交互:输出即回复",
|
|
696
700
|
"proactive": "主动推送:CLI 回复 + 思考投影"
|
|
697
701
|
}
|
|
698
702
|
},
|
|
@@ -709,7 +713,7 @@
|
|
|
709
713
|
}
|
|
710
714
|
},
|
|
711
715
|
"additionalProperties": false,
|
|
712
|
-
"description": "
|
|
716
|
+
"description": "场景投递表:私聊支持 interactive/proactive/paactive;paactive 仅在 active AUN 人类 Owner 私聊生效;群聊及非人类私聊固定 proactive。"
|
|
713
717
|
},
|
|
714
718
|
"mentionMode": {
|
|
715
719
|
"type": "string",
|
|
@@ -772,7 +776,7 @@
|
|
|
772
776
|
],
|
|
773
777
|
"default": "all",
|
|
774
778
|
"x-merge": "scalar",
|
|
775
|
-
"description": "
|
|
779
|
+
"description": "中间输出展示范围;群聊 proactive 默认 none,显式配置可覆盖;paactive 的文本投影为 activity。",
|
|
776
780
|
"x-enumDescriptions": {
|
|
777
781
|
"all": "文本 + activity",
|
|
778
782
|
"text": "仅文本",
|
|
@@ -38,7 +38,8 @@
|
|
|
38
38
|
"type": "number",
|
|
39
39
|
"const": 12,
|
|
40
40
|
"default": 12,
|
|
41
|
-
"x-merge": "scalar"
|
|
41
|
+
"x-merge": "scalar",
|
|
42
|
+
"description": "配置 Schema 版本;新增仅 AUN 人类 Owner 私聊可用的 paactive 模式,群聊固定 proactive"
|
|
42
43
|
},
|
|
43
44
|
"targetKind": {
|
|
44
45
|
"type": "string",
|
|
@@ -70,7 +71,6 @@
|
|
|
70
71
|
},
|
|
71
72
|
"group": {
|
|
72
73
|
"enum": [
|
|
73
|
-
"interactive",
|
|
74
74
|
"proactive"
|
|
75
75
|
]
|
|
76
76
|
},
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
"x-permission-fields": [
|
|
9
9
|
{ "value": "permissionMode", "label": "Permission Mode", "description": "角色的工具调用审批模式;只能由角色策略决定,关系级不可覆盖。", "valueType": "enum", "hasOptions": true, "relationOverrideApplied": false, "constraintsApplied": true, "editable": true, "x-runtimeApplied": true, "x-optionsSource": "static-enum", "options": [{ "value": "readonly", "label": "Readonly" }, { "value": "auto", "label": "Auto" }, { "value": "request", "label": "Request" }, { "value": "bypass", "label": "Bypass" }] },
|
|
10
10
|
{ "value": "chatmode.private", "label": "Private Chat Mode", "description": "角色在私聊场景中的响应方式策略。", "valueType": "enum", "hasOptions": true, "relationOverrideApplied": true, "constraintsApplied": true, "editable": true, "x-runtimeApplied": true, "x-optionsSource": "static-enum", "options": [{ "value": "interactive", "label": "Interactive" }, { "value": "proactive", "label": "Proactive" }, { "value": "paactive", "label": "PA Activity" }] },
|
|
11
|
-
{ "value": "chatmode.group", "label": "Group Chat Mode", "description": "
|
|
11
|
+
{ "value": "chatmode.group", "label": "Group Chat Mode", "description": "角色在群聊场景中的响应方式策略;群聊固定为 proactive。", "valueType": "enum", "hasOptions": true, "relationOverrideApplied": true, "constraintsApplied": true, "editable": true, "x-runtimeApplied": true, "x-optionsSource": "static-enum", "options": [{ "value": "proactive", "label": "Proactive" }] },
|
|
12
12
|
{ "value": "mentionMode", "label": "Group Mention Mode", "description": "角色在群聊场景中的提及响应策略。", "valueType": "enum", "hasOptions": true, "relationOverrideApplied": true, "constraintsApplied": true, "editable": true, "x-runtimeApplied": true, "x-optionsSource": "static-enum", "options": [{ "value": "disabled", "label": "Disabled" }, { "value": "mention-only", "label": "Mention Only" }, { "value": "auto", "label": "Auto" }] },
|
|
13
13
|
{ "value": "baseagents.claude.model", "label": "Claude Model", "description": "角色对 Agent 级 Claude 模型的约束(固定模型 / 模型白名单);模型只在 Agent 级配置,角色不提供模型。", "valueType": "model", "hasOptions": true, "relationOverrideApplied": false, "constraintsApplied": true, "editable": true, "x-runtimeApplied": true, "x-optionsSource": "model-catalog", "patterns": [{ "value": "*", "label": "All Claude models" }, { "value": "claude-opus-*", "label": "Claude Opus family" }, { "value": "claude-sonnet-*", "label": "Claude Sonnet family" }, { "value": "claude-haiku-*", "label": "Claude Haiku family" }] },
|
|
14
14
|
{ "value": "baseagents.claude.effort", "label": "Claude Effort", "description": "角色使用 Claude 时的默认推理强度及可覆盖范围。", "valueType": "enum", "hasOptions": true, "relationOverrideApplied": false, "constraintsApplied": true, "editable": true, "x-runtimeApplied": true, "x-optionsSource": "static-enum", "options": [{ "value": "auto", "label": "Auto" }, { "value": "low", "label": "Low" }, { "value": "medium", "label": "Medium" }, { "value": "high", "label": "High" }, { "value": "xhigh", "label": "Xhigh" }, { "value": "max", "label": "Max" }] },
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
"additionalProperties": false,
|
|
23
23
|
"required": ["$schema_version", "description", "permissions"],
|
|
24
24
|
"properties": {
|
|
25
|
-
"$schema_version": { "type": "number", "const": 2, "default": 2, "description": "角色配置 Schema
|
|
25
|
+
"$schema_version": { "type": "number", "const": 2, "default": 2, "description": "角色配置 Schema 版本;私聊新增 paactive 候选(运行时仅 AUN 人类 Owner 可用),群聊固定 proactive。" },
|
|
26
26
|
"description": { "type": "string", "description": "角色的用途、信任级别和授权边界说明。" },
|
|
27
27
|
"rank": { "type": "integer", "enum": [100, 300, 500, 700, 900], "description": "角色排序系数;内置角色固定,自定义角色固定为 500。旧文件缺省时由角色加载器补齐。" },
|
|
28
28
|
"allowAccess": { "type": "boolean", "default": true, "description": "是否允许该角色访问 Agent;缺省为 true。" },
|
|
@@ -59,11 +59,11 @@
|
|
|
59
59
|
"type": "object",
|
|
60
60
|
"required": ["default", "allowOverride"],
|
|
61
61
|
"additionalProperties": false,
|
|
62
|
-
"description": "
|
|
62
|
+
"description": "该角色在群聊场景中的响应方式;群聊固定为 proactive。",
|
|
63
63
|
"properties": {
|
|
64
|
-
"default": { "type": "string", "enum": ["
|
|
64
|
+
"default": { "type": "string", "enum": ["proactive"], "description": "群聊唯一有效的响应方式。", "x-enumDescriptions": { "proactive": "主动推送:CLI 回复 + 思考投影" } },
|
|
65
65
|
"allowOverride": { "type": "boolean", "default": false, "description": "是否允许该角色在关系级覆盖群聊响应方式;缺省为 false。" },
|
|
66
|
-
"allowedValues": { "type": "array", "items": { "type": "string", "enum": ["
|
|
66
|
+
"allowedValues": { "type": "array", "items": { "type": "string", "enum": ["proactive"], "description": "一个可用于群聊响应方式覆盖的值。", "x-enumDescriptions": { "proactive": "主动推送:CLI 回复 + 思考投影" } }, "uniqueItems": true, "description": "群聊响应方式固定为 proactive;如存在该字段,必须包含 proactive。" },
|
|
67
67
|
"reason": { "type": "string", "description": "采用该群聊响应策略的可审计原因或管理备注。" }
|
|
68
68
|
}
|
|
69
69
|
},
|
|
@@ -125,6 +125,16 @@ restart / reload 按 runtime.mode 执行:managed 经其 supervisor 或内部
|
|
|
125
125
|
- 主动 stop 或 disabled 的服务不会被后台重新启动。
|
|
126
126
|
- managed 服务的进程只会按 supervisor 写入的 PID 和启动时间记录管理;不要建议按端口强杀进程。
|
|
127
127
|
|
|
128
|
+
### 端口冲突与状态判读
|
|
129
|
+
|
|
130
|
+
- 普通 managed 服务启动前先核对实例记录与端口。只有 PID、启动时间和配置匹配才复用现存实例;未知端口占用者不接管、不终止,也不消耗自动重试额度。
|
|
131
|
+
- 配置改变需替换旧实例时,先确认旧进程退出。停止超时或身份无法核验时保留 PID 与记录,拒绝启动替代进程,不把 stop/restart 报为成功。
|
|
132
|
+
- 实例启动后先登记 `starting`,健康检查通过才更新为 `ready`;代理发现不发布尚未就绪的 supervisor 实例。
|
|
133
|
+
- `runtime.state` 表示管理状态,`endpointHealth` 表示端点探测结果,`processOwnership` 表示受管归属。`failed + healthy + unknown` 表示端点可响应但未被安全接管,不等于服务已宕机。
|
|
134
|
+
- `endpointOwnerPids` 列出冲突监听者;`lastErrorCode` 与 `lastError` 保留原始失败原因,`recoveryState=blocked/exhausted` 分别表示恢复受阻或额度耗尽。不要仅凭 HTTP 200 认定身份或代理链路已验证。
|
|
135
|
+
- 端口冲突期间仍低频探测;冲突解除且自动恢复已开启时重新对账启动。关闭自动恢复或主动 stop 后不会自动拉起。
|
|
136
|
+
- `logs/services/<name>.log` 保留原始 stdout/stderr,并增加带时间戳、服务名、启动批次和 PID 的生命周期 JSON 标记;原始输出行不保证逐行带时间戳,按批次关联,不能据此强行做逐行时间统计。
|
|
137
|
+
|
|
128
138
|
变更后用 ec proxy status <name> 复核 desired 配置、进程健康和代理登记状态。写操作返回失败时读取
|
|
129
139
|
具体错误码处理;不要重复发送不确定的 start/restart 操作。
|
|
130
140
|
|
|
@@ -35,7 +35,7 @@ license: MIT
|
|
|
35
35
|
|
|
36
36
|
| 类型 | 谁在执行 | 用在哪 | 坑 |
|
|
37
37
|
|---|---|---|---|
|
|
38
|
-
| `trigger-session` | daemon 专属的 trigger 会话,**与用户对话隔离** | 周期巡检、生成摘要、独立判断。默认同 trigger 复用一条会话 |
|
|
38
|
+
| `trigger-session` | daemon 专属的 trigger 会话,**与用户对话隔离** | 周期巡检、生成摘要、独立判断。默认同 trigger 复用一条会话 | 始终继承所属 Agent 当前基座;`--trigger-thread per-run` 每次都开新会话 |
|
|
39
39
|
| `target-session` | 把提示词**当成一条消息**投进目标会话,由那个会话的 agent 处理 | 要在用户的对话里、带着上下文做的事;跨话题复查(`--check-every`) | 不支持 `feedback=silent`;目标会话被占用会等/冲突;也**不支持** `execution.thread` |
|
|
40
40
|
| `script` | 确定性脚本,不过模型 | 只看数、查文件、调 IPC、算东西——**不需要模型判断**时优先用,又快又便宜 | 走沙箱,脚本不能读受保护路径;宿主执行要求独立批准 |
|
|
41
41
|
|
|
@@ -26,7 +26,7 @@ ec task 恢复暂停或异常中断的本 Agent 会话任务(resume <sessi
|
|
|
26
26
|
ec skill 技能加载与管理(load 加载正文/path 查路径/list 列技能/info 详情/where 根目录/enable/disable/install/remove) $KITS_DOCS/evolcore/skill.md
|
|
27
27
|
ec ability 按 AID 管理和开发能力插件(context/--self、dev 构建打包、发布下架、状态诊断与作业等待;写操作仍按目标授权) $KITS_DOCS/evolcore/ability.md
|
|
28
28
|
ec aid 身份/证书/名片/换头像(avatar --file/--url)/探测对端 $KITS_DOCS/evolcore/aid.md
|
|
29
|
-
ec directory 联系人名录(list 列举+--filter 关键词过滤+分页/info 按名字或 AID 看详情/refresh 重算注入/blocked
|
|
29
|
+
ec directory 联系人名录(list 列举+--filter 关键词过滤+分页/info 按名字或 AID 看详情/refresh 重算注入/blocked 拉黑总览);备注直接读写 directory/remarks/<AID>.md 再 refresh $KITS_DOCS/evolcore/directory.md
|
|
30
30
|
ec fs AUN 文件系统统一入口(ls/stat/cat/cp/mv/rm/mkdir/ln/chmod/setfacl/getfacl/token/find/df/mount/approve/reject/umount;个人/群空间同一入口;没有 ec group fs) $KITS_DOCS/evolcore/fs.md
|
|
31
31
|
ec storage 文件上传/下载/配额(底层调试入口,日常优先 ec fs) $KITS_DOCS/evolcore/storage.md
|
|
32
32
|
{{?peerId}}
|
package/package.json
CHANGED
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "evolcore",
|
|
3
|
-
"version": "0.0.43-test.
|
|
3
|
+
"version": "0.0.43-test.4",
|
|
4
4
|
"description": "AI Agent gateway connecting Claude, Codex, Gemini, and the bundled ecagent runner to messaging channels with multi-project session management",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
7
7
|
"bin": {
|
|
8
|
-
"ec": "bin/ec.js"
|
|
8
|
+
"ec": "bin/ec.js",
|
|
9
|
+
"ecmsg": "bin/ecmsg.js"
|
|
9
10
|
},
|
|
10
11
|
"files": [
|
|
11
12
|
"dist/",
|
|
@@ -22,8 +23,11 @@
|
|
|
22
23
|
"!dist/core/file-integrity/write.js",
|
|
23
24
|
"bin/",
|
|
24
25
|
"!dist/experimental/",
|
|
26
|
+
"!dist/ability/protocol-v2.js",
|
|
27
|
+
"!dist/core/message/send-routing.js",
|
|
25
28
|
"!skills/",
|
|
26
29
|
"kits/",
|
|
30
|
+
"!kits/runtime/ability-runner-v2.mjs",
|
|
27
31
|
"!kits/.kits-version",
|
|
28
32
|
"!kits/skills/ec-group/TASK.md",
|
|
29
33
|
"!kits/skills/ec-group/WORKLOG.md",
|
|
@@ -49,38 +53,38 @@
|
|
|
49
53
|
"start": "node dist/index.js",
|
|
50
54
|
"test": "npm run build && vitest run",
|
|
51
55
|
"test:watch": "vitest",
|
|
52
|
-
"test:directory-read": "node --import tsx --test tests/directory-
|
|
56
|
+
"test:directory-read": "node --import tsx --test tests/owner-directory-cache.node.ts",
|
|
53
57
|
"test:owner-directory-cache": "node --import tsx --test tests/owner-directory-cache.node.ts",
|
|
54
|
-
"test:owner-directory-authorization": "
|
|
58
|
+
"test:owner-directory-authorization": "npm run test:owner-directory-cache && npm run test:owner-directory-admission",
|
|
55
59
|
"test:owner-directory-admission": "node --import tsx --test tests/owner-directory-admission.node.ts",
|
|
56
60
|
"test:contact-admission": "node --import tsx --test tests/contact-admission.node.ts",
|
|
57
61
|
"test:ownership-startup": "node --import tsx --test tests/ownership-startup.node.ts tests/ownership-refresh-memory.node.ts",
|
|
58
62
|
"test:initialization-diagnostics": "node --import tsx --test tests/initialization-diagnostics.node.ts",
|
|
59
|
-
"test:hooks": "
|
|
63
|
+
"test:hooks": "vitest run tests/unit/codex-hook-diagnostics.test.ts",
|
|
60
64
|
"verify:request-identity": "npm run build && node scripts/verify-request-identity.mjs",
|
|
61
65
|
"prepublishOnly": "npm test"
|
|
62
66
|
},
|
|
63
67
|
"dependencies": {
|
|
64
|
-
"@agentunion/fastaun": "0.5.
|
|
68
|
+
"@agentunion/fastaun": "^0.5.32",
|
|
65
69
|
"@anthropic-ai/claude-agent-sdk": "0.3.300",
|
|
66
|
-
"@modelcontextprotocol/sdk": "^1.
|
|
70
|
+
"@modelcontextprotocol/sdk": "^1.32.2",
|
|
67
71
|
"ajv": "^8.20.0",
|
|
68
72
|
"canonicalize": "^2.1.0",
|
|
69
73
|
"chokidar": "^5.0.0",
|
|
70
74
|
"cron-parser": "^5.5.0",
|
|
71
75
|
"dotenv": "^17.4.2",
|
|
72
|
-
"ec-web": "0.0.43-test.
|
|
76
|
+
"ec-web": "0.0.43-test.4",
|
|
73
77
|
"ignore": "7.0.5",
|
|
74
78
|
"image-type": "^6.0.0",
|
|
75
79
|
"partial-json": "0.1.7",
|
|
76
80
|
"qrcode-terminal": "^0.12.0",
|
|
77
81
|
"semver": "^7.8.5",
|
|
78
82
|
"sharp": "0.35.5",
|
|
79
|
-
"smol-toml": "1.
|
|
83
|
+
"smol-toml": "1.9.1",
|
|
80
84
|
"typebox": "1.1.38",
|
|
81
85
|
"ws": "^8.21.0",
|
|
82
86
|
"yaml": "2.9.0",
|
|
83
|
-
"zod": "^4.
|
|
87
|
+
"zod": "^4.6.7"
|
|
84
88
|
},
|
|
85
89
|
"optionalDependencies": {
|
|
86
90
|
"@larksuiteoapi/node-sdk": "^1.59.0",
|
|
@@ -90,17 +94,18 @@
|
|
|
90
94
|
"pure-qqbot": "^2.0.0"
|
|
91
95
|
},
|
|
92
96
|
"overrides": {
|
|
93
|
-
"qs": "6.16.
|
|
97
|
+
"qs": "6.16.1",
|
|
98
|
+
"smol-toml": "$smol-toml"
|
|
94
99
|
},
|
|
95
100
|
"devDependencies": {
|
|
96
101
|
"@types/form-data": "^2.2.1",
|
|
97
102
|
"@types/node": "24.12.4",
|
|
98
103
|
"@types/qrcode-terminal": "^0.12.2",
|
|
99
104
|
"@types/ws": "^8.18.1",
|
|
100
|
-
"@vitest/coverage-v8": "^4.1.
|
|
105
|
+
"@vitest/coverage-v8": "^4.1.12",
|
|
101
106
|
"tsx": "^4.19.0",
|
|
102
107
|
"typescript": "5.9.3",
|
|
103
|
-
"vitest": "^4.1.
|
|
108
|
+
"vitest": "^4.1.12"
|
|
104
109
|
},
|
|
105
110
|
"engines": {
|
|
106
111
|
"node": ">=22.16.0"
|