Skip to content

Commit 227c5e4

Browse files
committed
Reapply "Brief 002: gh-v1 at 2c58c7e, sh launcher in front of gh-v1.js"
This reverts commit 5452f52. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_016NSWj9gL1oCubj5e2anVkb
1 parent 5452f52 commit 227c5e4

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

‎plans/002-adopt-sdk-gh-v1.md‎

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,17 @@ this file has merged into `proposed_type_script_api_version`. Source plan:
99
gh-v1 talks to Agility only through `@versionone/sdk`. CLI behaviour and
1010
output stay the same; the code that duplicates the SDK goes.
1111

12-
## Where things stand (checked 2026-11-06, gh-v1 `676bcd8`)
12+
## Where things stand (checked 2026-11-06, gh-v1 `2c58c7e`)
1313

1414
- G0–G3 are merged: executable bin, `V1_URL`/`V1_ACCESS_TOKEN` config, ESM
1515
(`"type": "module"`), `jsconfig.json` + `npm run typecheck`, one paging
1616
module (`lib/paging.js`).
17+
- The bin `gh-v1` is now a `sh` launcher that runs `gh-v1.js` with the real
18+
node (bypassing Volta's shim, which mangles arguments on Windows). The
19+
swap does not touch either; keep `test/launcher.test.js` green.
1720
- One seam: `lib/api.js` exports `api(cfg)` returning `query`, `queries`,
1821
`asset`, `attempt`, `rest`, `meta`, `localize`, `raw`, `blob`,
19-
`permalink`, typed by the `Api` JSDoc typedef. 104 tests under `test/`
22+
`permalink`, typed by the `Api` JSDoc typedef. Its tests under `test/`
2023
stub global `fetch`.
2124
- String-boolean and OID helpers (`isTrue`, `oidOf`, `momentless`) are used
2225
in `lib/api.js`, `meta.js`, `resolve.js`, `board.js`, `batch.js`, and

0 commit comments

Comments
 (0)