Clear the five typecheck errors in the CLI's own test tree Pre-existing on `main`, and red for long enough that `pnpm run typecheck` was not a gate anybody could read: two fixture literals set `memory_max_mib`, which the capability type does not model and nothing reads; two imports were unused; and `vendored-memory-drift.test.ts` imported the vendor script as an implicit `any`, which is a hole in exactly the guard that exists to stop the vendored tree drifting silently. The script stays plain `.mjs` -- it is build tooling run by `node`, not compiled -- and a `.d.mts` beside it gives the two symbols the test uses their types. Found while landing #122, fixed rather than stepped around. Root `typecheck` goes from nine errors to four; the remaining four are in `packages/agent-experience-memory` and `packages/khala-sync-server` and are entangled with the AFS unsafe-cast boundary finding, which needs its owner.
Clear the five typecheck errors in the CLI's own test tree
Deploy story
What this commit did to the running system — joined from the forge receipt chain, the part a commit page elsewhere cannot show.
Not deployed through the forge lane
No push, promotion, build, or deploy receipt references this commit (receipts are scanned over a bounded recent window). Changes shipped by full node replacement carry their proof in the release gate receipt instead.
Changed files
-
added
packages/openagents-cli/scripts/vendor-memory.d.mts -
modified
packages/openagents-cli/test/coder-capability.test.ts -
modified
packages/openagents-cli/test/coder-image.test.ts -
modified
packages/openagents-cli/test/coder-paste.test.ts
Diff
4 files changed, +18 -4
packages/openagents-cli/scripts/vendor-memory.d.mts added +16
@@ -0,0 +1,16 @@
| 1 |
|
|
| 2 |
|
|
| 3 |
|
|
| 4 |
|
|
| 5 |
|
|
| 6 |
|
|
| 7 |
|
|
| 8 |
|
|
| 9 |
|
|
| 10 |
|
|
| 11 |
|
|
| 12 |
|
|
| 13 |
|
|
| 14 |
|
|
| 15 |
|
|
| 16 |
|
packages/openagents-cli/test/coder-capability.test.ts modified +2 -2
@@ -259,7 +259,7 @@ describe("matchCapabilities", () => {
| 259 | 259 |
|
| 260 | 260 |
|
| 261 | 261 |
|
| 262 |
|
|
| 262 |
|
|
| 263 | 263 |
|
| 264 | 264 |
|
| 265 | 265 |
|
@@ -267,7 +267,7 @@ describe("matchCapabilities", () => {
| 267 | 267 |
|
| 268 | 268 |
|
| 269 | 269 |
|
| 270 |
|
|
| 270 |
|
|
| 271 | 271 |
|
| 272 | 272 |
|
| 273 | 273 |
|