# 使用 npm 安装 agent-cli-detector

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

## 安装

```sh
sudo av install npm:agent-cli-detector
```

其他安装命令:

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

- npm (100%):

```sh
npm install -g agent-cli-detector
```

  证据: local npm package metadata

## 软件包事实

- **软件包键:** npm:agent-cli-detector
- **软件包管理器:** npm
- **软件包管理器页面:** <https://www.npmjs.com/package/agent-cli-detector>
- **版本:** 0.1.4
- **来源摘要:** Detect whether a JavaScript CLI is running inside a coding agent.
- **主页:** <https://github.com/davidmokos/detect-agent#readme>
- **仓库:** <https://github.com/davidmokos/detect-agent>
- **上游文档:** <https://github.com/davidmokos/detect-agent#readme>
- **许可证:** MIT
- **源码归档:** <https://registry.npmjs.org/agent-cli-detector/-/agent-cli-detector-0.1.4.tgz>
- **问题跟踪器:** <https://github.com/davidmokos/detect-agent/issues>
- **发布时间:** 2026-07-18T14:46:00.659Z
- **最后更新:** 2026-07-18T14:46:00.659Z
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- agent-cli-detector (cli)
- agent-cli-detector (别名)

## 构建依赖

- @types/node
- tsup
- typescript

## 安装行为

- post-install 钩子: 未定义
- Bottle: 不可用

## 版本和新鲜度

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

## 安全说明

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


## 源数据库详情

- **Source Database:** npm registry
- **Dist Tags:** Latest: 0.1.4
- **Version Count:** 5
- **Maintainers:** ide, brentvatne, expoadmin, exponent, bycedric, kudochien, alanhughes, tsapeta, expo-bot, philpl, ccheever, wschurman
- **Publisher:** GitHub Actions
- **Engines:** Node: >=18.18
- **Integrity:** sha512-qPgevFvpaQoBaRJVKzr8R7h1WPvV3DtbgRIQlne4le66KBzXx5hNBwo/+NTw67LgkKBlhCzksrdautpUdlls0Q==
- **Shasum:** 13f74d20dd48007043afd436bef26594b05f6e9e
- **Unpacked Size:** 120,544
- **File Count:** 0
- **Created At:** 2026-06-23T21:34:53.083Z
- **Latest Published At:** 2026-07-18T14:46:00.659Z
- **Modified At:** 2026-08-01T04:41:45.055Z


## 相关链接

- [AI and agent packages](https://pkg.so/zh-hans/ai-agent-tools/) - Matched curated package taxonomy and local package facts.
- [agent-react-devtools](https://pkg.so/zh-hans/npm/agent-react-devtools/) - Package names and metadata indicate a similar tool family. Shared terms: agent.
- [agent-tail](https://pkg.so/zh-hans/npm/agent-tail/) - Package names and metadata indicate a similar tool family. Shared terms: agent.
- [agent-tail-core](https://pkg.so/zh-hans/npm/agent-tail-core/) - Package names and metadata indicate a similar tool family. Shared terms: agent.

## 来源

- pkg.so package database
- package-page enrichment
- package version freshness
- package relationship graph
- cross-ecosystem install command graph
