@kombai/cli 0.1.5-beta.2 → 0.2.0-beta.1
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/README.md +13 -2
- package/dist/files.json +15 -0
- package/dist/kombai.mjs +3261 -1786
- package/dist/launch.mjs +73 -0
- package/dist/mcp-apps/access.js +2612 -0
- package/dist/mcp-apps/design-taste.js +638 -638
- package/dist/mcp-apps/plans.js +87 -87
- package/dist/mcp-apps/sign-in.js +73 -73
- package/dist/mcp-apps/starters.js +64 -64
- package/package.json +2 -1
package/README.md
CHANGED
|
@@ -15,8 +15,8 @@ canvas, and check its thumbnail. You review the designs on the canvas in your br
|
|
|
15
15
|
|
|
16
16
|
## Getting started
|
|
17
17
|
|
|
18
|
-
There is nothing to install.
|
|
19
|
-
|
|
18
|
+
There is nothing to install. An agent starts the CLI through npx (the Kombai plugin pins the version it
|
|
19
|
+
starts):
|
|
20
20
|
|
|
21
21
|
```sh
|
|
22
22
|
npx -y @kombai/cli@latest skill # the agent's instructions
|
|
@@ -28,11 +28,22 @@ if the code matches the one in your terminal.
|
|
|
28
28
|
|
|
29
29
|
`kombai guest` tries Kombai without an account, on one canvas, and `kombai login` later keeps that canvas.
|
|
30
30
|
|
|
31
|
+
## Updates
|
|
32
|
+
|
|
33
|
+
A release or a beta started through npx keeps its own copy under `~/.kombai/cli/install` and runs every
|
|
34
|
+
later command from it, through `node "<that folder>/launch.mjs" <command>` (the line `kombai skill` prints).
|
|
35
|
+
At the start of each design request (`kombai skill`, `kombai mcp install`) it asks Kombai which version to be
|
|
36
|
+
on and, when a newer one is out, downloads it from npm, checks it against the checksum Kombai names, and
|
|
37
|
+
switches; a running command never changes version, and nothing runs in the background. `kombai update`
|
|
38
|
+
checks now. `KOMBAI_CLI_SELF_UPDATE=0` turns it off (it is off by default in CI). A global install
|
|
39
|
+
(`npm i -g`) is never touched and updates with npm.
|
|
40
|
+
|
|
31
41
|
## Commands
|
|
32
42
|
|
|
33
43
|
| Area | Commands |
|
|
34
44
|
| ----------------- | -------------------------------------------------------------------------------------------------------------------------- |
|
|
35
45
|
| Instructions | `skill` |
|
|
46
|
+
| Updates | `update` |
|
|
36
47
|
| Sign-in | `login`, `logout`, `whoami`, `guest`, `claim` |
|
|
37
48
|
| Account | `credits` |
|
|
38
49
|
| Design directions | `taste start`, `taste wait` |
|
package/dist/files.json
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
{
|
|
2
|
+
"files": [
|
|
3
|
+
"THIRD-PARTY-NOTICES.txt",
|
|
4
|
+
"browser-install.mjs",
|
|
5
|
+
"data-kids.mjs",
|
|
6
|
+
"ds-kit.mjs",
|
|
7
|
+
"kombai.mjs",
|
|
8
|
+
"launch.mjs",
|
|
9
|
+
"mcp-apps/access.js",
|
|
10
|
+
"mcp-apps/design-taste.js",
|
|
11
|
+
"mcp-apps/plans.js",
|
|
12
|
+
"mcp-apps/sign-in.js",
|
|
13
|
+
"mcp-apps/starters.js"
|
|
14
|
+
]
|
|
15
|
+
}
|