@islamihab/kds 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +41 -0
- package/index.js +17812 -0
- package/package.json +19 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Islam Ihab
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
ADDED
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
# kds
|
|
2
|
+
|
|
3
|
+
Command-line client for Kai Dev Studio.
|
|
4
|
+
|
|
5
|
+
## Install
|
|
6
|
+
|
|
7
|
+
Requires [Bun](https://bun.sh).
|
|
8
|
+
|
|
9
|
+
```sh
|
|
10
|
+
bun add -g @islamihab/kds
|
|
11
|
+
kds auth login
|
|
12
|
+
```
|
|
13
|
+
|
|
14
|
+
## Upgrade
|
|
15
|
+
|
|
16
|
+
```sh
|
|
17
|
+
kds upgrade
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
`kds` also checks for new versions at most once a day (TTY only, never blocks or breaks a command) and prints a
|
|
21
|
+
one-line notice when an update is available. Set `KDS_NO_UPDATE_CHECK=1` to disable the check.
|
|
22
|
+
|
|
23
|
+
## Development
|
|
24
|
+
|
|
25
|
+
From the repository root, `bun run kds <args>` runs the CLI from source with an isolated session in `apps/cli/.kds`.
|
|
26
|
+
|
|
27
|
+
## Releasing
|
|
28
|
+
|
|
29
|
+
1. Bump `version` in `apps/cli/package.json` and commit.
|
|
30
|
+
2. Tag the commit `cli-v<version>` (for example `cli-v0.1.0`) and push the tag.
|
|
31
|
+
3. The `Release CLI` workflow builds the bundle and publishes it to npm via trusted publishing (no secrets).
|
|
32
|
+
|
|
33
|
+
The publishable package is generated into `dist/` by the build: a single Bun-run bundle plus a clean `package.json`
|
|
34
|
+
(the workspace manifest stays private and is never published). `open` is the only runtime dependency; everything
|
|
35
|
+
else, including the workspace packages, is bundled in.
|
|
36
|
+
|
|
37
|
+
One-time setup for a new package name:
|
|
38
|
+
|
|
39
|
+
1. `cd apps/cli && bun run build && cd dist && npm login && npm publish` — the first publish must be manual.
|
|
40
|
+
2. On npmjs.com, in the package's settings, enable trusted publishing for GitHub Actions with repository
|
|
41
|
+
`IslamIhab/kai-dev-studio` and workflow `release-cli.yml`.
|