maoda-commander-tt 0.0.54 → 0.0.55
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 +19 -0
- package/dist/{chunk-G43DMZTY.js → chunk-AMYUDBBH.js} +202 -116
- package/dist/chunk-AMYUDBBH.js.map +1 -0
- package/dist/{chunk-S5SWRA53.js → chunk-WMBBVKGE.js} +63 -26
- package/dist/chunk-WMBBVKGE.js.map +1 -0
- package/dist/image-worker-main.js +1 -1
- package/dist/index.d.ts +39 -1
- package/dist/index.js +4 -2
- package/dist/main.js +2 -2
- package/package.json +1 -1
- package/dist/chunk-G43DMZTY.js.map +0 -1
- package/dist/chunk-S5SWRA53.js.map +0 -1
package/README.md
CHANGED
|
@@ -92,6 +92,25 @@ pnpm test
|
|
|
92
92
|
pnpm build && pnpm test:dist
|
|
93
93
|
```
|
|
94
94
|
|
|
95
|
+
## 后台启动 Codex
|
|
96
|
+
|
|
97
|
+
```bash
|
|
98
|
+
tt codex "我的具体 prompt"
|
|
99
|
+
tt codex -C /path/to/repo -m gpt-5.6-sol -r ultra "我的具体 prompt"
|
|
100
|
+
tt codex --help
|
|
101
|
+
```
|
|
102
|
+
|
|
103
|
+
默认工作目录 `/Users/bytedance/work/autogen`,默认模型 `gpt-6-astra`,默认推理强度
|
|
104
|
+
`high`。模型可选 `gpt-6-astra`、`gpt-5.6-sol`;推理强度可选
|
|
105
|
+
`low`、`medium`、`high`、`xhigh`、`max`、`ultra`。
|
|
106
|
+
|
|
107
|
+
macOS/Linux 下通过 `nohup` 后台运行 `codex exec --json`,固定配置
|
|
108
|
+
`sandbox_mode="danger-full-access"`、`approval_policy="never"`,无沙箱且不请求审批。
|
|
109
|
+
stdin/stdout/stderr 均接到 `/dev/null`;tt 不生成日志、不跟踪任务,保留 Codex 默认
|
|
110
|
+
会话持久化与本机登录态。返回一行 JSON,`data` 包含 `status: "launched"`、`pid`、
|
|
111
|
+
`cwd`、`model`、`reasoning`。成功仅表示已提交后台启动,不保证 Codex 初始化或任务
|
|
112
|
+
执行成功;启动后的错误和输出不会由 tt 返回。
|
|
113
|
+
|
|
95
114
|
## 发布到 npm
|
|
96
115
|
|
|
97
116
|
发布采用 GitHub Actions + npm Trusted Publishing(OIDC)。本地 `pnpm pub` 负责
|