# 使用 npm 安装 agent-afk

查看 agent-afk 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

## 安装

```sh
sudo av install npm:agent-afk
```

其他安装命令:

### 便携式和语言管理器

- npm (100%):

```sh
npm install -g agent-afk
```

  证据: local npm package metadata

## 软件包事实

- **软件包键:** npm:agent-afk
- **软件包管理器:** npm
- **软件包管理器页面:** <https://www.npmjs.com/package/agent-afk>
- **版本:** 4.7.0
- **来源摘要:** Open-source coding-agent harness you can actually change — own the loop (prompts, gates, routing, skills, terminal states), use any model, run long tasks while you're away.
- **主页:** <https://github.com/griffinwork40/agent-afk#readme>
- **仓库:** <https://github.com/griffinwork40/agent-afk>
- **上游文档:** <https://github.com/griffinwork40/agent-afk#readme>
- **许可证:** Apache-2.0
- **源码归档:** <https://registry.npmjs.org/agent-afk/-/agent-afk-4.7.0.tgz>
- **问题跟踪器:** <https://github.com/griffinwork40/agent-afk/issues>
- **发布时间:** 2026-06-16T00:46:07.084Z
- **最后更新:** 2026-07-05T04:21:26.460Z
- **已生成:** 2026-07-08T07:18:31+00:00

## 可执行文件

- afk (cli)
- afk (别名)

## 依赖

- @anthropic-ai/sdk
- @modelcontextprotocol/sdk
- @mozilla/readability
- ansi-escapes
- better-sqlite3
- chalk
- commander
- dotenv
- emphasize
- jsdom
- log-update
- marked
- node-cron
- openai
- ora
- playwright
- string-width
- telegraf
- turndown
- wrap-ansi
- zod

## 构建依赖

- @types/better-sqlite3
- @types/jest
- @types/jsdom
- @types/node
- @types/node-cron
- @types/turndown
- @vitest/coverage-v8
- @xterm/headless
- esbuild
- jest
- memfs
- ts-jest
- tsx
- typescript
- vitest

## 安装行为

- post-install 钩子: 已定义
- npm 生命周期脚本: postinstall
- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-07-08
- 管理器版本: 4.7.0
- 管理器更新时间: 2026-07-05
- 本地数据: OK
- 上游仓库: https://github.com/griffinwork40/agent-afk
- 信息: No cached GitHub release or tag data was available.

## 安全说明

没有找到 agent-afk 的匹配本地密钥处理 manifest。Nucleus 软件包元数据仍在此发布，以便未来覆盖拥有稳定的软件包 URL。


## 源数据库详情

- **Source Database:** npm registry
- **Dist Tags:** Latest: 4.7.0
- **Version Count:** 372
- **Maintainers:** griffinwork40
- **Author:** Griffin Long
- **Publisher:** griffinwork40
- **Engines:** Node: >=22.0.0
- **Integrity:** sha512-C+NUVuzMsoTlCksBqZwbIHrj5wy7AZWsBYsC4RnWjbKg/puo8WfcI3inNO+JRcc0cYT74LV0x3R9lEG2mZttvQ==
- **Shasum:** 4dec9792ea834e9e7b119452279e9d4cd82d0598
- **Unpacked Size:** 2,438,535
- **File Count:** 0
- **Created At:** 2026-05-06T02:52:24.970Z
- **Latest Published At:** 2026-06-16T00:46:07.084Z
- **Modified At:** 2026-06-16T00:46:07.383Z


## 相关链接

- [Source-control packages](https://www.automicvault.com/zh-hans/pkg/source-control-tools/) - Matched curated package taxonomy and local package facts.
- [reasonix](https://www.automicvault.com/zh-hans/pkg/npm/reasonix/) - Both packages touch the same language runtime or ecosystem. Shared terms: agent, ansi, chalk, coding, commander.
- [claude-mem](https://www.automicvault.com/zh-hans/pkg/npm/claude-mem/) - Both packages touch the same language runtime or ecosystem. Shared terms: agent, ansi, anthropic, anthropic-ai, better.
- [first-tree-staging](https://www.automicvault.com/zh-hans/pkg/npm/first-tree-staging/) - Local package facts share a topical domain. Shared terms: agent, anthropic, anthropic-ai, commander, first.

## 来源

- Nucleus package database
- package-page enrichment
- package version freshness
- package relationship graph
- cross-ecosystem install command graph
