feat: enhance context usage handling and ALOT of Updates - #16
Merged
Merged
Annotations
4 errors and 1 warning
|
Run npm test
Process completed with exit code 1.
|
|
Run npm test:
src/main/agents/model-context.test.ts#L48
AssertionError: expected undefined to be 500000 // Object.is equality
- Expected:
500000
+ Received:
undefined
❯ src/main/agents/model-context.test.ts:48:49
|
|
Run npm test:
src/main/agents/claude-bridge.test.ts#L1024
AssertionError: expected "vi.fn()" to be called with arguments: [ ObjectContaining{…} ]
Received:
1st vi.fn() call:
[
- ObjectContaining {
- "type": "turn_end",
- "usage": ObjectContaining {
- "contextWindow": 500000,
- "inputTokens": 12,
- "model": "claude-opus-4-8",
- "outputTokens": 3,
- "totalTokens": 15,
- },
+ {
+ "bridgeId": "b1",
+ "type": "ready",
},
]
2nd vi.fn() call:
[
- ObjectContaining {
- "type": "turn_end",
- "usage": ObjectContaining {
- "contextWindow": 500000,
- "inputTokens": 12,
- "model": "claude-opus-4-8",
- "outputTokens": 3,
- "totalTokens": 15,
- },
+ {
+ "bridgeId": "b1",
+ "turnId": "b1-t-mundkn1m",
+ "type": "turn_start",
},
]
3rd vi.fn() call:
@@ -1,10 +1,12 @@
[
- ObjectContaining {
+ {
+ "bridgeId": "b1",
+ "turnId": "b1-t-mundkn1m",
"type": "turn_end",
- "usage": ObjectContaining {
- "contextWindow": 500000,
+ "usage": {
+ "contextWindow": undefined,
"inputTokens": 12,
"model": "claude-opus-4-8",
"outputTokens": 3,
"totalTokens": 15,
},
Number of calls: 3
❯ src/main/agents/claude-bridge.test.ts:1024:18
|
|
Run npm test:
src/main/remote-access-package-scripts.test.ts#L11
AssertionError: expected 'node bin/crewcode-server.mjs enroll' to be 'npm run build && node bin/crewcode-se…' // Object.is equality
Expected: "npm run build && node bin/crewcode-server.mjs enroll"
Received: "node bin/crewcode-server.mjs enroll"
❯ src/main/remote-access-package-scripts.test.ts:11:41
|
|
Complete job
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/checkout@v4, actions/setup-node@v4. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
background
wait
wait-all
cancel
parallel
Loading