@kombai/cli 0.1.5 → 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 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. Agents run every command through npx (the Kombai plugin pins the version
19
- it runs):
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` |
@@ -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
+ }