agent-afk 3.83.1 → 3.84.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 +4 -3
- package/dist/cli.mjs +338 -334
- package/package.json +4 -3
- package/scripts/postinstall.mjs +121 -0
package/README.md
CHANGED
|
@@ -13,13 +13,15 @@
|
|
|
13
13
|
npm install -g agent-afk
|
|
14
14
|
```
|
|
15
15
|
|
|
16
|
-
Requires Node ≥
|
|
16
|
+
Requires Node ≥ 22.
|
|
17
17
|
|
|
18
18
|
Smoke test:
|
|
19
19
|
|
|
20
20
|
```bash
|
|
21
|
-
afk
|
|
21
|
+
afk --version # confirm the install (works before login)
|
|
22
22
|
afk doctor # environment self-check
|
|
23
|
+
afk login # save an Anthropic API key or OAuth token
|
|
24
|
+
afk chat "hello"
|
|
23
25
|
```
|
|
24
26
|
|
|
25
27
|
## What you can do with it
|
|
@@ -87,7 +89,6 @@ afk chat "refactor this" --model codex
|
|
|
87
89
|
| `opus` | Complex reasoning, multi-step planning, long contexts |
|
|
88
90
|
| `sonnet` | Day-to-day default — balanced speed and capability |
|
|
89
91
|
| `haiku` | Fast, cheap, one-shots |
|
|
90
|
-
| `codex` | OpenAI's GPT-5 family via `@openai/codex-sdk` |
|
|
91
92
|
|
|
92
93
|
## Useful commands
|
|
93
94
|
|