@islamihab/kds
v0.11.0
Published
Command-line client for Kai Dev Studio
Readme
kds
Command-line client for Kai Dev Studio.
Install
Requires Bun.
bun add -g @islamihab/kds
kds auth loginUpgrade
kds upgradekds also checks for new versions at most once a day (TTY only, never blocks or breaks a command) and prints a
one-line notice when an update is available. Set KDS_NO_UPDATE_CHECK=1 to disable the check.
Development
From the repository root, bun run kds <args> runs the CLI from source with an isolated session in apps/cli/.kds.
Releasing
- Bump
versioninapps/cli/package.jsonand commit. - Tag the commit
cli-v<version>(for examplecli-v0.1.0) and push the tag. - The
Release CLIworkflow builds the bundle and publishes it to npm via trusted publishing (no secrets).
The publishable package is generated into dist/ by the build: a single Bun-run bundle plus a clean package.json
(the workspace manifest stays private and is never published). open is the only runtime dependency; everything
else, including the workspace packages, is bundled in.
One-time setup for a new package name:
cd apps/cli && bun run build && cd dist && npm login && npm publish— the first publish must be manual.- On npmjs.com, in the package's settings, enable trusted publishing for GitHub Actions with repository
IslamIhab/kai-dev-studioand workflowrelease-cli.yml.
