agent-afk 5.274.5 → 5.274.8
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 +2 -2
- package/dist/cli.mjs +300 -300
- package/dist/index.mjs +126 -126
- package/dist/telegram.mjs +144 -144
- package/package.json +61 -59
package/README.md
CHANGED
|
@@ -22,7 +22,7 @@ Open source. Runs locally. Works with any model provider, including local models
|
|
|
22
22
|
## Quick Start
|
|
23
23
|
|
|
24
24
|
```bash
|
|
25
|
-
npm install -g agent-afk # Node ≥ 22 required
|
|
25
|
+
npm install -g agent-afk # Node ≥ 22.13 required
|
|
26
26
|
afk login # authenticate (auto-detects Claude Code / Codex creds)
|
|
27
27
|
afk doctor # verify everything works
|
|
28
28
|
afk chat "hello" # first real conversation
|
|
@@ -30,7 +30,7 @@ afk chat "hello" # first real conversation
|
|
|
30
30
|
|
|
31
31
|
That's it. You're in.
|
|
32
32
|
|
|
33
|
-
**Using pnpm?** `pnpm add -g agent-afk` works, but pnpm 10
|
|
33
|
+
**Using pnpm?** `pnpm add -g agent-afk` works, but pnpm 10 and later block build scripts by default and skips `postinstall` (with an easy-to-miss warning — see [#2199](https://github.com/griffinwork40/agent-afk/issues/2199)). Run `pnpm approve-builds -g` after install to approve the hook, or use `npm install -g agent-afk` instead. If an `afk daemon` is already running and pnpm skipped the hook, restart it manually with `afk service restart daemon` — on macOS the hook restarts the daemon automatically when it runs, but on Linux you must always run this command after an upgrade even when the hook ran. If you have a manually-started Telegram bot, also run `afk telegram restart`.
|
|
34
34
|
|
|
35
35
|
**Try without installing:** `npx agent-afk chat "hello"` runs a one-shot turn with zero global install.
|
|
36
36
|
|