@use-aistack/cli 0.6.3 → 0.7.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/README.md +4 -2
- package/dist/index.js +3022 -1977
- package/dist/index.js.map +1 -1
- package/package.json +3 -2
package/README.md
CHANGED
|
@@ -22,7 +22,7 @@ On an unlinked machine, `sync` starts the login flow inline — your browser ope
|
|
|
22
22
|
|
|
23
23
|
### `npx @use-aistack/cli sync --auto on` / `off`
|
|
24
24
|
|
|
25
|
-
Optional: keep your stack fresh without manual syncs. `on` writes a `SessionStart` hook
|
|
25
|
+
Optional: keep your stack fresh without manual syncs. `on` asks your stack for the permission, then writes a `SessionStart` hook into the harnesses you actually use — `~/.claude/settings.json` for Claude Code, `~/.codex/hooks.json` for Codex. The hook runs a silent sync at most once per day when a session starts. `off` removes the hooks and takes the permission back.
|
|
26
26
|
|
|
27
27
|
```sh
|
|
28
28
|
npx @use-aistack/cli sync --auto on # enable, default every 24h
|
|
@@ -30,7 +30,9 @@ npx @use-aistack/cli sync --auto on --every 12 # custom frequency in hours
|
|
|
30
30
|
npx @use-aistack/cli sync --auto off # revoke
|
|
31
31
|
```
|
|
32
32
|
|
|
33
|
-
The silent run
|
|
33
|
+
**Your stack owns the permission, not this machine.** The silent run asks aistack.to before it publishes anything, so the switch on your stack page is a complete revoke: it stops every machine, even one whose hooks are still installed. It works the other way too — turn the switch on, run one `sync`, and that machine installs its own triggers. A harness you adopt months later gets its trigger the same way.
|
|
34
|
+
|
|
35
|
+
The silent run (`sync --auto`) never prompts and never installs a hook. Each run appends one line to `~/.config/aistack/sync.log` (capped at 200 lines). The next interactive `sync` reports the last result. After 3 failures in a row, one visible message appears in Claude Code and names the fix. No email, no dialogs.
|
|
34
36
|
|
|
35
37
|
### `npx @use-aistack/cli login`
|
|
36
38
|
|