agent-afk 4.40.0 → 4.41.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 +16 -1
- package/dist/cli.mjs +447 -409
- package/dist/index.mjs +1 -1
- package/dist/telegram.mjs +1 -1
- package/package.json +17 -3
package/README.md
CHANGED
|
@@ -7,7 +7,14 @@
|
|
|
7
7
|
> Agent AFK isn't "smarter than Claude Code." It's *yours* in a way Claude Code can't be.
|
|
8
8
|
|
|
9
9
|
[](https://www.npmjs.com/package/agent-afk)
|
|
10
|
+
[](https://github.com/griffinwork40/agent-afk/actions/workflows/ci.yml)
|
|
10
11
|
[](https://nodejs.org/)
|
|
12
|
+
[](LICENSE)
|
|
13
|
+
[](https://github.com/griffinwork40/agent-afk/stargazers)
|
|
14
|
+
|
|
15
|
+
<!-- DEMO GIF GOES HERE ▸ drop a 20–30s screen recording of one autonomous AFK run (e.g. kick off `afk daemon` / `afk mint "..."`, walk away, get the Telegram ping, come back done). Drag-and-drop the file into a GitHub issue/PR to host it on GitHub's CDN, then paste the URL as  right here. This is the single biggest star-conversion lever — keep it above the fold. -->
|
|
16
|
+
|
|
17
|
+
> ⭐ **Like the idea of an agent loop you fully own? [Star the repo](https://github.com/griffinwork40/agent-afk/stargazers)** — it's the fastest way to help other people find it.
|
|
11
18
|
|
|
12
19
|
## Claude Code vs. Agent AFK
|
|
13
20
|
|
|
@@ -37,6 +44,8 @@ afk login # save an Anthropic API key or OAuth token
|
|
|
37
44
|
afk chat "hello"
|
|
38
45
|
```
|
|
39
46
|
|
|
47
|
+
**Already using Claude Code or Codex?** Run `afk migrate` — it imports your existing plugins, skills, and MCP servers. It doesn't copy files; it live-reads the source tool's dirs, so anything you install there keeps showing up in AFK with no re-run.
|
|
48
|
+
|
|
40
49
|
## What you can do with it
|
|
41
50
|
|
|
42
51
|
- **Chat from your terminal** — `afk chat "..."` for one-shot, `afk` for a REPL with full tool access (Bash, file ops, web fetch, grep/glob, subagents).
|
|
@@ -160,7 +169,7 @@ Aliases: `afk c` → `chat`, `afk i` → `interactive`, `afk s` → `status`.
|
|
|
160
169
|
**To re-enable path containment**, set the mode back any of these ways:
|
|
161
170
|
|
|
162
171
|
- Persistently: `afk config set permissionMode default` (or `plan`), or `"permissionMode": "default"` in `afk.config.json`. It stays that way until you change it again.
|
|
163
|
-
- For one session: `/bypass off` in the REPL (the status line clears
|
|
172
|
+
- For one session: `/bypass off` in the REPL (the status line clears `⚡ bypass`).
|
|
164
173
|
|
|
165
174
|
With containment on (`default`), a file tool (read/write/edit/list/glob/grep) targeting a path *outside* the session's working directory triggers a **path-approval** prompt; pre-authorize paths with `/allow-dir <path>` (or answer "persist" at the prompt to remember them across sessions). Toggle bypass live anytime with `/bypass`. `afk daemon` always runs in bypass (no human to prompt); **Telegram** sessions stay contained (`default`) and rely on hook-based enforcement.
|
|
166
175
|
|
|
@@ -180,6 +189,12 @@ With containment on (`default`), a file tool (read/write/edit/list/glob/grep) ta
|
|
|
180
189
|
|
|
181
190
|
Recent releases at [`CHANGELOG.md`](CHANGELOG.md), also viewable in-REPL via `/changelog`.
|
|
182
191
|
|
|
192
|
+
## Star History
|
|
193
|
+
|
|
194
|
+
[](https://star-history.com/#griffinwork40/agent-afk&Date)
|
|
195
|
+
|
|
196
|
+
If Agent AFK saves you time, **[⭐ star the repo](https://github.com/griffinwork40/agent-afk/stargazers)** — it's the single best way to help it reach more people.
|
|
197
|
+
|
|
183
198
|
## License
|
|
184
199
|
|
|
185
200
|
Agent AFK is **open core**, licensed under **[Apache-2.0](LICENSE)** (SPDX: `Apache-2.0`).
|