evolclaw 3.1.1 → 3.1.3

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.
Files changed (51) hide show
  1. package/CHANGELOG.md +428 -0
  2. package/README.md +3 -7
  3. package/SKILLS.md +311 -0
  4. package/dist/agents/claude-runner.js +1 -1
  5. package/dist/agents/codex-runner.js +75 -19
  6. package/dist/agents/gemini-runner.js +0 -2
  7. package/dist/agents/kit-renderer.js +59 -10
  8. package/dist/aun/aid/agentmd.js +50 -27
  9. package/dist/aun/aid/client.js +5 -11
  10. package/dist/aun/aid/identity.js +32 -13
  11. package/dist/aun/aid/index.js +1 -1
  12. package/dist/aun/msg/group.js +1 -0
  13. package/dist/aun/msg/p2p.js +15 -2
  14. package/dist/aun/msg/upload.js +57 -18
  15. package/dist/aun/rpc/connection.js +3 -0
  16. package/dist/channels/aun.js +122 -48
  17. package/dist/channels/dingtalk.js +1 -0
  18. package/dist/channels/feishu.js +5 -4
  19. package/dist/channels/qqbot.js +1 -0
  20. package/dist/channels/wechat.js +1 -0
  21. package/dist/channels/wecom.js +1 -0
  22. package/dist/cli/agent.js +142 -40
  23. package/dist/cli/index.js +103 -58
  24. package/dist/cli/init-channel.js +4 -2
  25. package/dist/cli/init.js +55 -26
  26. package/dist/cli/watch-msg.js +3 -1
  27. package/dist/config-store.js +22 -1
  28. package/dist/core/channel-loader.js +4 -4
  29. package/dist/core/command-handler.js +626 -538
  30. package/dist/core/evolagent-registry.js +45 -9
  31. package/dist/core/evolagent.js +35 -4
  32. package/dist/core/message/im-renderer.js +14 -4
  33. package/dist/core/message/message-bridge.js +149 -25
  34. package/dist/core/message/message-processor.js +45 -38
  35. package/dist/core/session/session-fs-store.js +23 -0
  36. package/dist/core/session/session-manager.js +188 -42
  37. package/dist/index.js +15 -17
  38. package/dist/paths.js +35 -0
  39. package/dist/utils/cross-platform.js +2 -1
  40. package/kits/docs/INDEX.md +6 -0
  41. package/kits/eck_manifest.json +3 -3
  42. package/kits/rules/02-navigation.md +1 -0
  43. package/kits/rules/06-channel.md +2 -18
  44. package/kits/templates/system-fragments/baseagent.md +2 -2
  45. package/kits/templates/system-fragments/channel.md +18 -9
  46. package/kits/templates/system-fragments/eckruntime.md +14 -0
  47. package/kits/templates/system-fragments/identity.md +5 -6
  48. package/kits/templates/system-fragments/relation.md +7 -5
  49. package/kits/templates/system-fragments/venue.md +2 -3
  50. package/package.json +5 -2
  51. package/kits/templates/system-fragments/runtime.md +0 -19
@@ -1,12 +1,11 @@
1
- [身份层]
1
+ [identity]
2
2
  {{?selfAid}}
3
- 我是 {{selfName}} ({{selfAid}})
3
+ self-name: {{selfName}}
4
+ self-aid: {{selfAid}}
4
5
  {{/}}
5
-
6
6
  {{?hasPersona}}
7
- [人格] 已加载 persona.md 行为规范
7
+ persona: loaded
8
8
  {{/}}
9
-
10
9
  {{?hasWorkingMemory}}
11
- [当前关注] 已加载 working memory
10
+ working-memory: loaded
12
11
  {{/}}
@@ -1,9 +1,11 @@
1
1
  {{?peerKey}}
2
- [关系层]
3
- 对话者:{{peerName}} ({{peerId}}),权限:{{peerRole}}
4
- 对端标识:{{peerKey}}
2
+ [relation]
3
+ peer-name: {{peerName}}
4
+ peer-aid: {{peerId}}
5
+ peer-role: {{peerRole}}
6
+ peer-key: {{peerKey}}
5
7
  {{/}}
6
8
  {{?groupId}}
7
- [关系层]
8
- 群组:{{groupId}}
9
+ [relation]
10
+ group-id: {{groupId}}
9
11
  {{/}}
@@ -1,5 +1,4 @@
1
- [环境层]
2
- 聊天类型:{{chatType}}
1
+ [venue]
3
2
  {{?venueUid}}
4
- 环境标识:{{venueUid}}
3
+ venue-id: {{venueUid}}
5
4
  {{/}}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "evolclaw",
3
- "version": "3.1.1",
3
+ "version": "3.1.3",
4
4
  "description": "Lightweight AI Agent gateway connecting Claude Agent SDK to messaging channels (Feishu, ACP) with multi-project session management",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -14,7 +14,10 @@
14
14
  "!dist/experimental/",
15
15
  "kits/",
16
16
  "!kits/.kits-version",
17
- "evolclaw-install-aun.md"
17
+ "*.md",
18
+ "!CLAUDE.md",
19
+ "!DEPLOYMENT.md",
20
+ "!ONBOARDING.md"
18
21
  ],
19
22
  "scripts": {
20
23
  "dev": "tsx watch src/index.ts",
@@ -1,19 +0,0 @@
1
- [运行时]
2
- 项目:{{project}}
3
- {{?sessionName}}
4
- 会话名称:{{sessionName}}
5
- {{/}}
6
-
7
- 会话模式:{{sessionMode}}
8
-
9
- {{?readonly}}
10
- ⚠️ 只读模式:禁止修改项目文件。如需生成文件供用户下载,请写入 .evolclaw/tmp/ 目录。
11
- {{/}}
12
-
13
- {{?sessionMode=proactive}}
14
- [Proactive 模式] 你的所有文本输出都会被静默丢弃,用户永远看不到。唯一能让用户收到消息的方式:
15
- 调用 Bash 工具执行命令:evolclaw ctl send "<消息内容>"
16
- 发送文件:evolclaw ctl file <路径>
17
- 可多次调用发送多条消息,如果不想回复停止调用即可。
18
- 禁止使用 AskUserQuestion 和 ExitPlanMode 工具——proactive 模式下应由你主动用 ctl send 与用户沟通。
19
- {{/}}