@wgpsex/pojun-agent
v0.3.0
Published
Pojun Agent - Intelligent coding agent for developers.
Readme
Pojun Agent
Release Workflow 的三平台 Actions Artifact 仅用于同一次运行中汇总 GitHub Release 与 npm 发布,保留期固定为 1 天;正式长期交付物以 GitHub Release Assets 为准。Release tag 构建不启用 pnpm Actions Cache,避免每个 tag 按操作系统重复占用组织 Actions 存储配额。
Pojun Agent 是一个全自动渗透测试助手,提供命令行交互式体验。
安装
从 GitHub Packages 安装
# 配置 npm registry
echo "@wgpsex:registry=https://npm.pkg.github.com" >> ~/.npmrc
# 全局安装
npm install -g @wgpsex/pojun-agent
# 运行
pojun从 GitHub Release 下载二进制
前往 Releases 下载对应平台的二进制文件。
支持平台:
- Linux x64
- macOS ARM64 (Apple Silicon)
- Windows x64
本地开发
pnpm install
pnpm build
node ./dist/cli.js常用命令
| 命令 | 用途 |
| --- | --- |
| pnpm build | 构建 dist/cli.js |
| pnpm start | 运行本地构建 |
| pnpm lint | ESLint 检查 |
| pnpm package:binary | 使用 Bun 编译为单文件二进制 |
发布流程
版本由 Git tag 驱动:
git tag v0.2.0
git push origin v0.2.0CI 自动完成:
- 三平台构建 + 验证
- 发布 GitHub Release(二进制 + SHA256SUMS)
- 发布到 GitHub Packages(npm,按平台分包)
License
SEE LICENSE IN THIS REPOSITORY
