coze_lab 0.1.35 → 0.1.37

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.
package/README.md CHANGED
@@ -8,8 +8,8 @@ Configure local AI agents (Claude Code, Codex, OpenClaw) to report traces to Coz
8
8
  # First-time setup — triggers browser OAuth authorization
9
9
  npx coze_lab --agent=<type>
10
10
 
11
- # Cloud setup for a managed agent
12
- npx coze_lab --cloud --agent-id=<agentId>
11
+ # Per-agent setup. Cloud/local is inferred from coze-bridge config.
12
+ npx coze_lab --agent-id=<agentId>
13
13
 
14
14
  # Auth-only commands (no agent configuration)
15
15
  npx coze_lab --login # Device Code login only
@@ -23,8 +23,8 @@ npx coze_lab --logout # Clear cached credentials
23
23
  | Parameter | Required | Values / Effect |
24
24
  |-----------|----------|-----------------|
25
25
  | `--agent` | ✓ (for setup) | `claude-code`, `codex`, `openclaw` |
26
- | `--agent-id` | — | Resolve `~/.coze/agents/<agentId>/config.json` and write per-agent config |
27
- | `--cloud` | — | Cloud mode: read trace token from env and emit `COZE_LAB_RESULT=...` |
26
+ | `--agent-id` | — | Resolve `~/.coze/agents/<agentId>/config.json` and write per-agent config. `deployType=cloud` enables cloud mode automatically |
27
+ | `--cloud` | — | Backward-compatible override for old callers. New callers should rely on `--agent-id` + config `deployType` |
28
28
  | `--codex-home` | — | Override Codex config home for non-cloud/custom runs |
29
29
  | `--login` | — | Run the Device Code login flow only |
30
30
  | `--status` | — | Print local token status (valid / expiring / expired) |
@@ -56,7 +56,7 @@ npx coze_lab --logout # Clear cached credentials
56
56
  | `codex` | `~/.codex/hooks/cozeloop_hook.py` | `~/.codex/hooks.json` | `~/.codex/hooks/cozeloop.env` |
57
57
  | `openclaw` | — (Node.js plugin) | `~/.openclaw/openclaw.json` | inline in config |
58
58
 
59
- For cloud Codex with `--cloud --agent-id=<agentId>`, Codex hooks are written to
59
+ For cloud Codex with `--agent-id=<agentId>` and config `deployType=cloud`, Codex hooks are written to
60
60
  `~/.coze/agents/<agentId>/codex-home` by default. The directory is created if it
61
61
  does not already exist, so callers do not need to pass `--codex-home` for the
62
62
  standard coze-bridge layout.