@phoenix-lib/gsd-sdk-query-wrapper
v0.1.0
Published
Compatibility wrapper for gsd-sdk query commands backed by gsd-tools.
Readme
gsd-sdk-query-wrapper
Compatibility wrapper for gsd-sdk query.
The wrapper keeps the normal gsd-sdk command surface, but routes gsd-sdk query <command> to the local GSD tools backend. Dotted query commands are expanded before dispatch:
gsd-sdk query state.load --rawbecomes:
node gsd-tools.cjs state load --rawInstall
npm install -g @phoenix-lib/gsd-sdk-query-wrapperThe package exposes the gsd-sdk executable.
Resolution
query looks for gsd-tools.cjs in this order:
GSD_TOOLS_PATH~/.codex/get-shit-done/bin/gsd-tools.cjs~/.claude/get-shit-done/bin/gsd-tools.cjs
Non-query commands are delegated to @gsd-build/sdk. If it is not installed next to the wrapper, set GSD_SDK_CLI_PATH.
Cross-platform support
The package is intended to work on Linux, macOS, and Windows:
- Linux/macOS:
bin/gsd-sdk.mjsuses a portable Node shebang. - Windows via npm/pnpm/yarn: package managers generate
gsd-sdk.cmdandgsd-sdk.ps1from thebinfield. - Windows without npm bin shims: create a small
.cmdor PowerShell wrapper that executesnode path/to/bin/gsd-sdk.mjs.
The runtime does not write to system locations. Package-manager formulas should only place the package files and expose the gsd-sdk executable.
Release
Publish to npm from GitHub Actions with trusted publishing:
- Publish
0.1.0manually once, or create the package on npmjs.com. - In npm package settings, add a trusted publisher:
- Publisher: GitHub Actions
- Organization:
phoenix-lib - Repository:
gsd-sdk-query-wrapper - Workflow filename:
publish.yml
- Push a version tag:
git tag v0.1.0
git push origin v0.1.0Test
npm test