TjAgentForge CLI Agent
TjAgentForge 的本地执行组件(daemon)。它运行在你的机器上,通过 WebSocket 长连接接收 TjAgentForge SaaS 平台下发的任务,代理执行本地 git 仓库操作(开分支 / 应用补丁 / 提交 / 推送),源码永不离开你的电脑。
特性
- 长连接 + 心跳 + 断线自动重连
- 任务白名单:只执行
git.open_pr/git.status等白名单任务(框架预留build/package/device) - 最小权限:每次任务执行需你在网页端显式授权
安装
需要 Python 3.11+。
pip install tjagentforge-agent
使用
- 在 TjAgentForge 控制台「CLI Agent」页生成连接 Token。
- 启动 Agent:
tjagentforge-agent --server wss://<your-host>/api/v1/agent/ws --token <TOKEN>
- 在控制台确认 Agent 显示「在线」,即可在「代码修复」页选择「本地仓库」执行修复任务。
参数
| 参数 | 必填 | 说明 |
|---|---|---|
--server |
是 | 服务端 WebSocket 地址,如 wss://host/api/v1/agent/ws |
--token |
是 | 控制台生成的连接 Token |
--agent-id |
否 | Agent 唯一 ID(默认 hostname + 随机后缀) |
安全说明
Agent 仅执行白名单内的任务,且每次执行都需你在网页端授权;可随时断开或卸载。
Metadata
Release files for tjagentforge-agent 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| tjagentforge_agent-0.1.0.tar.gz | 5.0 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| tjagentforge_agent-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 11.7 kB
Release files / tjagentforge_agent-0.1.0.tar.gz
| Download URL | tjagentforge_agent-0.1.0.tar.gz |
|---|---|
| Size | 5.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
bd331c174615e71ebf73148ef923249f17d845aabe19081fc35e87af094bd4ff
|
|
BLAKE2b-256 checksum How to use checksums |
aa31af361c68f1caed7ce30bb4fa2be410798e8364f7203e4b6da0b0e784efd3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.4.1 CPython/3.11.4 Darwin/24.6.0
|
Release files / tjagentforge_agent-0.1.0-py3-none-any.whl
| Download URL | tjagentforge_agent-0.1.0-py3-none-any.whl |
|---|---|
| Size | 6.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
6d3786e328952d146cfd9dfa4d0e0edaa07330a3fc4ca564ebfd3c71811d6327
|
|
BLAKE2b-256 checksum How to use checksums |
27cffa6dcca55ea7fd54eb2b5cfa4b45b7a0526e044ccbf9f12ff9214ae1c024
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.4.1 CPython/3.11.4 Darwin/24.6.0
|
Security for tjagentforge-agent 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.