docs: rewrite readme for humans and AI deployment #4
Annotations
10 errors and 1 warning
|
Test:
tests/memory-steward.test.ts#L51
AssertionError: expected "vi.fn()" to be called with arguments: [ ObjectContaining{…} ]
Number of calls: 0
❯ tests/memory-steward.test.ts:51:17
|
|
Test:
tests/deploy-script.test.ts#L8
Error: ENOENT: no such file or directory, open '/home/runner/work/AgentClaw/AgentClaw/deploy.sh'
❯ readScript tests/deploy-script.test.ts:8:13
❯ tests/deploy-script.test.ts:13:20
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { errno: -2, code: 'ENOENT', syscall: 'open', path: '/home/runner/work/AgentClaw/AgentClaw/deploy.sh' }
|
|
Test:
tests/codex-runner.test.ts#L1169
AssertionError: promise rejected "Error: codex executable not found: codex.…" instead of resolving
❯ tests/codex-runner.test.ts:1169:28
Caused by: Caused by: Error: codex executable not found: codex. Check CODEX_BIN or PATH.
❯ CodexRunner.assertExecutableAvailable src/services/codex-runner.ts:785:11
❯ src/services/codex-runner.ts:399:12
❯ CodexRunner.runJsonl src/services/codex-runner.ts:398:20
❯ CodexRunner.runWithResolvedWorkdir src/services/codex-runner.ts:216:29
❯ CodexRunner.runWithControl src/services/codex-runner.ts:202:17
❯ CodexRunner.run src/services/codex-runner.ts:193:17
❯ tests/codex-runner.test.ts:1149:31
|
|
Test:
tests/codex-runner.test.ts#L1110
AssertionError: promise rejected "Error: codex executable not found: codex.…" instead of resolving
❯ tests/codex-runner.test.ts:1110:28
Caused by: Caused by: Error: codex executable not found: codex. Check CODEX_BIN or PATH.
❯ CodexRunner.assertExecutableAvailable src/services/codex-runner.ts:785:11
❯ src/services/codex-runner.ts:399:12
❯ CodexRunner.runJsonl src/services/codex-runner.ts:398:20
❯ CodexRunner.runWithResolvedWorkdir src/services/codex-runner.ts:216:29
❯ CodexRunner.runWithControlForSystem src/services/codex-runner.ts:207:17
❯ CodexRunner.runForSystem src/services/codex-runner.ts:197:17
❯ tests/codex-runner.test.ts:1102:31
|
|
Test:
tests/chat-handler.test.ts#L3550
AssertionError: expected '默认助手 ·\n第二段' to be '默认助手 ·\n第一段默认助手 ·\n第二段' // Object.is equality
- Expected
+ Received
默认助手 ·
- 第一段默认助手 ·
第二段
❯ tests/chat-handler.test.ts:3550:50
|
|
Test:
tests/chat-handler.test.ts#L2573
AssertionError: expected '**当前重点**\n查看或切换当前模型,并在需要时恢复默认值。\n**当前…' to contain '**当前模型**'
- Expected
+ Received
- **当前模型**
+ **当前重点**
+ 查看或切换当前模型,并在需要时恢复默认值。
+ **当前状态**
+ ✅ 已切换模型为:gpt-5
+ **可选模型**
+ 点击即可切换,共显示 2 个
+ **下一步**
+ 点击按钮可继续执行相关命令
❯ tests/chat-handler.test.ts:2573:43
❯ withMockModelsCache tests/chat-handler.test.ts:178:5
❯ tests/chat-handler.test.ts:2538:5
|
|
Test:
tests/chat-handler.test.ts#L1913
AssertionError: expected 1st "vi.fn()" call to have been called with [ 'wecom', 'u1', …(1) ]
- Expected
+ Received
[
"wecom",
"u1",
"默认助手 ·
- ⏳ 已接收请求,正在处理...",
+ 第一条回复",
]
❯ tests/chat-handler.test.ts:1913:22
|
|
Test:
tests/chat-handler.test.ts#L1874
AssertionError: expected 3rd "vi.fn()" call to have been called with [ 'wecom', 'u1', …(1) ]
- Expected
+ Received
[
"wecom",
"u1",
"默认助手 ·
- ⏳ 已接收请求,正在处理...",
+ 开始处理。",
]
❯ tests/chat-handler.test.ts:1874:22
|
|
Test:
tests/chat-handler.test.ts#L1499
AssertionError: expected "vi.fn()" to be called with arguments: [ 'wecom', 'u1', StringContaining{…} ]
Received:
1st vi.fn() call:
[
"wecom",
"u1",
- StringContaining "【Shared Memory】",
+ "当前 agent:默认Agent (default)
+ 工作区:/repo/default
+
+ 【User Identity】
+ 1. identity.md: 叫我白瑞 / 中文交流 / 不弄虚作假
+
+ 【Agent Identity】
+ 1. projects.md: AgentClaw 优化中",
]
Number of calls: 1
❯ tests/chat-handler.test.ts:1499:22
|
|
Test:
src/services/codex-runner.ts#L785
Error: codex executable not found: codex. Check CODEX_BIN or PATH.
❯ CodexRunner.assertExecutableAvailable src/services/codex-runner.ts:785:11
❯ src/services/codex-runner.ts:399:12
❯ CodexRunner.runJsonl src/services/codex-runner.ts:398:20
❯ CodexRunner.runWithResolvedWorkdir src/services/codex-runner.ts:216:29
❯ CodexRunner.runWithControl src/services/codex-runner.ts:202:17
❯ CodexRunner.run src/services/codex-runner.ts:193:17
❯ tests/codex-runner.test.ts:1149:31
This error originated in "tests/codex-runner.test.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running.
The latest test that might've caused the error is "does not kill an active run when stdout activity keeps arriving before the idle timeout". It might mean one of the following:
- The error was thrown, while Vitest was running this test.
- If the error occurred after the test had been completed, this was the last documented test before it was thrown.
|
|
Complete job
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4, actions/setup-node@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
Loading