useakit 0.3.0-dev.115 → 0.3.0-dev.117

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.
Files changed (3) hide show
  1. package/README.md +6 -11
  2. package/dist/index.mjs +84 -96
  3. package/package.json +1 -1
package/README.md CHANGED
@@ -14,10 +14,9 @@ a-kit add release # install a skill in this project
14
14
  a-kit add release -g # or in your home folder, for every project
15
15
  a-kit add acme/release # name the organization when more than one of yours has it
16
16
  # or install another organization's public skill, no login needed
17
- a-kit add kit/frontend # install every skill in a kit
18
17
  a-kit add release --channel beta # install the skill's beta release
19
- a-kit update # bring installed kits up to date, and skills to their channel's version
20
- a-kit list # your skills and kits, their context cost, and where they're installed
18
+ a-kit update # bring skills to their channel's version
19
+ a-kit list # your skills, their context cost, and where they're installed
21
20
  a-kit try release "Cut a release for v2" # Claude with the skill and without it
22
21
  ```
23
22
 
@@ -43,7 +42,7 @@ Your organization's skills live in its GitHub repository, one folder each in `sk
43
42
  In a clone, `a-kit check` reads the repository the way agent kit does and lists what it would reject, without a login:
44
43
 
45
44
  ```sh
46
- a-kit check # every skill, plus evals/, kits/ and channels.yaml
45
+ a-kit check # every skill, plus evals/ and channels.yaml
47
46
  a-kit check release # one skill, by name or folder (skills/release)
48
47
  ```
49
48
 
@@ -63,15 +62,11 @@ a-kit link ~/code/acme-skills/skills/release # run in the project you test it
63
62
  a-kit add release # back to agent kit's version when you're done
64
63
  ```
65
64
 
66
- `link` replaces the installed copy (`.claude/skills/release`, `.agents/skills/release`) with a link to the folder, so your agents use your edits as you make them; a new session picks up one an open session missed. It works with `-g` and `-a` like `add`; when the skill is also installed with `-g`, link it with `-g` too, since agents use your personal copy over a project's (`link` warns), and lists the problems `a-kit check` would find. It won't replace a folder agent kit didn't install, or one with edits that aren't in agent kit. `a-kit update` leaves a linked skill alone, and so does a kit that drops it.
67
-
68
- ## Kits
69
-
70
- A kit is a named bundle of your organization's skills, like `frontend`, made in agent kit's web or through its MCP server. `a-kit add kit/frontend` installs all of them (`kit/acme/frontend` names the organization when more than one of yours has a kit by that name) and records the kit in the lock. `a-kit update` then follows the kit: skills added to it get installed, and skills taken out of it get removed, unless you also added them on their own, another kit you installed still has them, you edited them, or you linked them.
65
+ `link` replaces the installed copy (`.claude/skills/release`, `.agents/skills/release`) with a link to the folder, so your agents use your edits as you make them; a new session picks up one an open session missed. It works with `-g` and `-a` like `add`; when the skill is also installed with `-g`, link it with `-g` too, since agents use your personal copy over a project's (`link` warns), and lists the problems `a-kit check` would find. It won't replace a folder agent kit didn't install, or one with edits that aren't in agent kit. `a-kit update` leaves a linked skill alone.
71
66
 
72
67
  ## Auto-update
73
68
 
74
- Installing skills for Claude Code also adds a `SessionStart` hook to `~/.claude/settings.json` that checks your global skills when a session starts or resumes. A background process, so the session doesn't wait for it, sends agent kit what your global lock has and gets back one fingerprint of it: the version each skill's channel installs, each kit's skills, each public skill's version. When the fingerprint isn't the one your last update left, it runs `a-kit update -g`; when it is, that one request is all. Sessions that start within the same minute check once. It skips the check when nothing is installed everywhere or you're not logged in. A project's skills aren't touched: they live in its repo, so they change only when you run `a-kit update` there.
69
+ Installing skills for Claude Code also adds a `SessionStart` hook to `~/.claude/settings.json` that checks your global skills when a session starts or resumes. A background process, so the session doesn't wait for it, sends agent kit what your global lock has and gets back one fingerprint of it: the version each skill's channel installs and each public skill's version. When the fingerprint isn't the one your last update left, it runs `a-kit update -g`; when it is, that one request is all. Sessions that start within the same minute check once. It skips the check when nothing is installed everywhere or you're not logged in. A project's skills aren't touched: they live in its repo, so they change only when you run `a-kit update` there.
75
70
 
76
71
  ```sh
77
72
  a-kit auto-update # whether it's on
@@ -102,7 +97,7 @@ a-kit telemetry import --dry-run # what it would send, sending nothing
102
97
  a-kit telemetry import # send it
103
98
  ```
104
99
 
105
- The same rules as live telemetry apply: only a session in a repo with an `agent-kit.lock.json` is sent, and nothing of the others leaves the machine, nor of a session whose folder is gone (a worktree removed since); no prompt, response, command, file path or tool output is ever sent. A session keeps its id, so importing twice changes nothing, and a session live telemetry already sent is left as it is. A bot logged in with `a-kit login --token` imports its own sessions as itself. `a-kit telemetry show <session-id>` shows what was sent for an imported session, like a live one.
100
+ The same rules as live telemetry apply: only a session in a repo with an `agent-kit.lock.json` is sent, and nothing of the others leaves the machine, nor of a session whose folder is gone (a worktree removed since); no prompt, response, command, file path or tool output is ever sent. A session keeps its id, so importing twice changes nothing, and a session live telemetry already sent is left as it is. `a-kit telemetry show <session-id>` shows what was sent for an imported session, like a live one.
106
101
 
107
102
  ## Heartbeat
108
103