@saltpub/agent-autoloop 0.1.2 → 0.1.3

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.
@@ -13,7 +13,7 @@ description: 配置 Agent 自动化中台:加规则、接新的事件插件、
13
13
 
14
14
  续接会话也只算这次新增的用量。`~/.agent-autoloop/worker/usage/` 存着相减要用的累计值,没有记录的续接(比如删了这个目录)这次不报 Codex 的 Token 和 Claude Code 的费用,下一次恢复正常。本人打开链接在同一个会话里接着聊用掉的量,会算进下一次续接。旧回执不重算。
15
15
 
16
- 这里没有网页。用户想要一个页面看全局,就替他写一个:读 `GET /v1/state`,密钥是 `config.json` 的 `owner`,要跟着变化就从状态里的 `seq` 接 `GET /v1/stream?after=<seq>`,请求见 `docs/protocol.md` 的「本人」一节。
16
+ 中台自己不画界面。用户想要一个页面看全局,先让他运行 `agent-autoloop dashboard`(本机只读看板,默认 `http://127.0.0.1:3351`,`--port` 换端口,`--no-open` 不打开浏览器);不够用再写一个:读 `GET /v1/state`,密钥是 `config.json` 的 `owner`,要跟着变化就从状态里的 `seq` 接 `GET /v1/stream?after=<seq>`,请求见 `docs/protocol.md` 的「本人」一节。
17
17
 
18
18
  ## 改规则
19
19