godotmaker-cli 0.2.0 → 0.2.1
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/CHANGELOG.md +16 -0
- package/GETTING_STARTED.md +2 -2
- package/GETTING_STARTED.zh-CN.md +2 -2
- package/README.md +7 -8
- package/README.zh-CN.md +5 -6
- package/dist/run.js +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,21 @@
|
|
|
1
1
|
# godotmaker-cli
|
|
2
2
|
|
|
3
|
+
## 0.2.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`a0711f2`](https://github.com/RandallLiuXin/GodotMakerApp/commit/a0711f20b7ec352874d4601c3c122576f0c74b37) Thanks [@RandallLiuXin](https://github.com/RandallLiuXin)! - ClaudeRunner now defaults `skipPermissions` to true, matching CodexRunner. Interactive stages (scaffold, gdd, accept) no longer prompt for per-tool or per-skill permission mid-run. Callers that want the `--allowedTools` gate pass `skipPermissions: false` explicitly.
|
|
8
|
+
|
|
9
|
+
- [`3afcc28`](https://github.com/RandallLiuXin/GodotMakerApp/commit/3afcc28b16e4e5c6b1866dc2f35318538fdad8b4) Thanks [@RandallLiuXin](https://github.com/RandallLiuXin)! - Fix failed-stage retry resume targets so `/start` reruns the stage that failed instead of the previously completed stage.
|
|
10
|
+
|
|
11
|
+
- [`5b7d0fc`](https://github.com/RandallLiuXin/GodotMakerApp/commit/5b7d0fcf179a7b497d8f5eb34a7d7076cd74b729) Thanks [@RandallLiuXin](https://github.com/RandallLiuXin)! - Fix idle-timeout cleanup so silent agent sessions attempt process-tree termination and still fail the stage if the killed process never reports exit.
|
|
12
|
+
|
|
13
|
+
- [`01879b3`](https://github.com/RandallLiuXin/GodotMakerApp/commit/01879b3b86f82819c3382338b0f7e0c237448975) Thanks [@RandallLiuXin](https://github.com/RandallLiuXin)! - Recover in-flight usage checkpoints on the next launch so project lifetime totals keep completed state work when a runner or CLI process exits before the final usage write.
|
|
14
|
+
|
|
15
|
+
- [`b04cc00`](https://github.com/RandallLiuXin/GodotMakerApp/commit/b04cc00843551803b9845ac7e980b6d23b31f313) Thanks [@RandallLiuXin](https://github.com/RandallLiuXin)! - Remove USD cost tracking from usage data.
|
|
16
|
+
|
|
17
|
+
- [`463197a`](https://github.com/RandallLiuXin/GodotMakerApp/commit/463197af55ee050623e3f8553a8c1d7e71a3537a) Thanks [@RandallLiuXin](https://github.com/RandallLiuXin)! - Settle agent stages after structured Codex or Claude success events when the runner process fails to close.
|
|
18
|
+
|
|
3
19
|
## 0.2.0
|
|
4
20
|
|
|
5
21
|
### Minor Changes
|
package/GETTING_STARTED.md
CHANGED
|
@@ -30,7 +30,7 @@ The CLI auto-publishes the GodotMaker framework (`/gm-scaffold`,
|
|
|
30
30
|
`/gm-gdd`, `/gm-asset`, `/gm-build`, `/gm-verify`, `/gm-evaluate`,
|
|
31
31
|
`/gm-fixgap`, `/gm-accept`, `/gm-finalize`) into each project during
|
|
32
32
|
preflight, pinned to the version in `cliConfig.pinnedGodotmakerVersion`
|
|
33
|
-
(currently `v0.
|
|
33
|
+
(currently `v0.6.4`).
|
|
34
34
|
|
|
35
35
|
### Install or run the CLI
|
|
36
36
|
|
|
@@ -383,7 +383,7 @@ godotmaker-cli --max-iterations 5
|
|
|
383
383
|
/refresh # reset iteration / build budget (idle / paused / finished / failed; /pause first if running)
|
|
384
384
|
/help # commands list
|
|
385
385
|
/peek # live tail of the active agent session (non-interactive states only)
|
|
386
|
-
/usage # token /
|
|
386
|
+
/usage # token / time totals (this run + project lifetime)
|
|
387
387
|
/quit # exit in any state; during a run also aborts the selected agent + writes a resume checkpoint
|
|
388
388
|
q # exit, but only when not running (input bar empty); same checkpoint path as /quit
|
|
389
389
|
Ctrl-C # exit in any state; during a run also aborts the selected agent + writes a resume checkpoint
|
package/GETTING_STARTED.zh-CN.md
CHANGED
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
CLI 会在 preflight 时把 GodotMaker framework(`/gm-scaffold`、
|
|
26
26
|
`/gm-gdd`、`/gm-asset`、`/gm-build`、`/gm-verify`、`/gm-evaluate`、
|
|
27
27
|
`/gm-fixgap`、`/gm-accept`、`/gm-finalize`)自动 publish 到项目里,
|
|
28
|
-
版本由 `cliConfig.pinnedGodotmakerVersion` 决定(当前 `v0.
|
|
28
|
+
版本由 `cliConfig.pinnedGodotmakerVersion` 决定(当前 `v0.6.4`)。
|
|
29
29
|
|
|
30
30
|
### 安装或运行 CLI
|
|
31
31
|
|
|
@@ -329,7 +329,7 @@ godotmaker-cli --max-iterations 5
|
|
|
329
329
|
/refresh # 重置 iteration / build 预算(idle / paused / finished / failed;running 中先 /pause)
|
|
330
330
|
/help # 命令列表
|
|
331
331
|
/peek # 实时尾巴查看当前 agent session(仅非交互态有效)
|
|
332
|
-
/usage # token /
|
|
332
|
+
/usage # token / 时长汇总(当前运行 + 项目累计)
|
|
333
333
|
/quit # 退出(任意状态);运行中也会顺手 abort 选中 agent + 写 resume 检查点
|
|
334
334
|
q # 退出(仅在非 running 状态生效,且输入栏需为空);走的是 /quit 同一条检查点路径
|
|
335
335
|
Ctrl-C # 退出(任意状态);运行中按下会同时 abort 选中 agent + 写 resume 检查点
|
package/README.md
CHANGED
|
@@ -19,7 +19,7 @@ Pipeline driver for [GodotMaker](https://github.com/RandallLiuXin/GodotMaker)
|
|
|
19
19
|
| [Claude Code CLI](https://docs.claude.com/en/docs/claude-code) or Codex CLI | latest | The selected agent binary must be on your PATH |
|
|
20
20
|
| [Godot](https://godotengine.org/) | 4.x | Runs the generated project |
|
|
21
21
|
|
|
22
|
-
The CLI auto-publishes the GodotMaker framework into each project during preflight; the framework version is pinned by `cliConfig.pinnedGodotmakerVersion` (currently `v0.
|
|
22
|
+
The CLI auto-publishes the GodotMaker framework into each project during preflight; the framework version is pinned by `cliConfig.pinnedGodotmakerVersion` (currently `v0.6.4`).
|
|
23
23
|
|
|
24
24
|
---
|
|
25
25
|
|
|
@@ -108,7 +108,7 @@ the following and press `Enter`:
|
|
|
108
108
|
| `/pause` | Pause the running pipeline; the next `/start` resumes |
|
|
109
109
|
| `/refresh` | Reset iteration / build budget for the current run; allowed in idle / paused / finished / failed (during a run, `/pause` first) |
|
|
110
110
|
| `/peek` | Live tail (1 Hz) of the active non-interactive agent stream log |
|
|
111
|
-
| `/usage` | Token /
|
|
111
|
+
| `/usage` | Token / time totals for this run + project lifetime |
|
|
112
112
|
| `/quit` | Exit. During a run, also aborts the selected agent and writes a resume checkpoint (same path as Ctrl-C); next `godotmaker-cli` launch can `/start` to continue. |
|
|
113
113
|
|
|
114
114
|
The current iteration / build try / last evaluation verdict are
|
|
@@ -138,11 +138,10 @@ you invoke it then. The overlay refreshes once per second; press any
|
|
|
138
138
|
key to dismiss.
|
|
139
139
|
|
|
140
140
|
`/usage` shows three sections: **this run** (live token / output /
|
|
141
|
-
duration
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
shown when the selected agent reports it; otherwise it stays `--`.
|
|
141
|
+
duration broken down per state), **project lifetime** (cumulative
|
|
142
|
+
since the first run), and **recent runs** (the last 10 completed runs
|
|
143
|
+
as one row each). Tokens come from the selected agent's stream or local
|
|
144
|
+
session records.
|
|
146
145
|
Persisted to `.godotmaker/usage.json` next to `pipeline_state.json`
|
|
147
146
|
— copy that file along with the project to keep history when moving
|
|
148
147
|
the project elsewhere. Interactive states (scaffold / gdd / accept)
|
|
@@ -184,7 +183,7 @@ Everything lives under `.godotmaker/` inside your project:
|
|
|
184
183
|
| `stage.jsonl` | upstream skills | One line per `/gm-*` completion; freshness-checked by Core |
|
|
185
184
|
| `evaluation.json` | `/gm-evaluate` | Latest binary verdict + categorized issues; routes evaluate → accept / fixgap |
|
|
186
185
|
| `final_report.json` | `/gm-finalize` | Summary at the end of a successful run |
|
|
187
|
-
| `usage.json` | Core | Token /
|
|
186
|
+
| `usage.json` | Core | Token / time history surfaced by `/usage` (lifetime totals + last 10 runs) — see R-314 |
|
|
188
187
|
| `config.yaml` | (optional, you) | Per-project flag defaults — see `loadConfig` in core |
|
|
189
188
|
|
|
190
189
|
The Godot project itself (`project.godot`, `GDD.md`, `PLAN.md`, scenes, scripts, …) lives at the project root and is owned by the upstream skills. Core never writes to those.
|
package/README.zh-CN.md
CHANGED
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
| [Claude Code CLI](https://docs.claude.com/en/docs/claude-code) 或 Codex CLI | latest | 选中的 agent 二进制必须在 PATH 上 |
|
|
19
19
|
| [Godot](https://godotengine.org/) | 4.x | 运行生成出来的项目 |
|
|
20
20
|
|
|
21
|
-
CLI 会在 preflight 时把 GodotMaker framework 自动 publish 到项目里;framework 版本由 `cliConfig.pinnedGodotmakerVersion` 决定(当前 `v0.
|
|
21
|
+
CLI 会在 preflight 时把 GodotMaker framework 自动 publish 到项目里;framework 版本由 `cliConfig.pinnedGodotmakerVersion` 决定(当前 `v0.6.4`)。
|
|
22
22
|
|
|
23
23
|
---
|
|
24
24
|
|
|
@@ -104,7 +104,7 @@ TUI 底部有一个常驻输入栏。输入下面任一命令然后回车:
|
|
|
104
104
|
| `/pause` | 暂停正在运行的 pipeline;下次 `/start` 从中断处恢复 |
|
|
105
105
|
| `/refresh` | 重置当前 run 的 iteration / build 预算;允许在 idle / paused / finished / failed 状态使用(running 中需先 `/pause`) |
|
|
106
106
|
| `/peek` | 实时尾巴(1 Hz)查看当前非交互 agent stream 日志 |
|
|
107
|
-
| `/usage` | 当前运行 + 项目累计 token /
|
|
107
|
+
| `/usage` | 当前运行 + 项目累计 token / 时长 |
|
|
108
108
|
| `/quit` | 退出。运行中按下也会顺手 abort 选中 agent 并写 resume 检查点(跟 Ctrl-C 同一条路),下次 `godotmaker-cli` 启动 `/start` 即可从中断处恢复。 |
|
|
109
109
|
|
|
110
110
|
当前 iteration / build try / 最近一次评估的 verdict 都直接显示在 TUI
|
|
@@ -128,10 +128,9 @@ finalize)下有意义 —— 这些状态里 选中 agent 以非交互模式
|
|
|
128
128
|
to tail" 提示。Overlay 每秒刷新一次;任意键关闭。
|
|
129
129
|
|
|
130
130
|
`/usage` 分三块显示:**当前运行**(按 state 拆分的实时 token / 输出 /
|
|
131
|
-
|
|
131
|
+
时长)、**项目累计**(自首次运行以来的总和)和 **最近运行**
|
|
132
132
|
(最近 10 次完成的运行,每次一行)。Token 来自选中 agent 的 stream
|
|
133
|
-
或本地 session
|
|
134
|
-
`--`。数据持久化到 `.godotmaker/usage.json`(紧挨着
|
|
133
|
+
或本地 session 记录。数据持久化到 `.godotmaker/usage.json`(紧挨着
|
|
135
134
|
`pipeline_state.json`)—— 把这个文件跟项目一起搬迁就能保留历史。
|
|
136
135
|
交互态(scaffold / gdd / accept)会尽力从本地 session 记录恢复 token,
|
|
137
136
|
并始终贡献时长。Header 始终展示当前运行的简写总数,`/usage` 用来看细节。
|
|
@@ -168,7 +167,7 @@ flag。timer 在每次收到 stdout/stderr 时刷新,只有真静默才会触
|
|
|
168
167
|
| `stage.jsonl` | 上游 skill | 每个 `/gm-*` 完成一行;Core 做 freshness 检查 |
|
|
169
168
|
| `evaluation.json` | `/gm-evaluate` | 最近一次的二元 verdict + 分类 issue;evaluate → accept / fixgap 路由依据 |
|
|
170
169
|
| `final_report.json` | `/gm-finalize` | 成功跑完的总结 |
|
|
171
|
-
| `usage.json` | Core | `/usage` 用的 token /
|
|
170
|
+
| `usage.json` | Core | `/usage` 用的 token / 时长历史(lifetime 累计 + 最近 10 次运行)—— 见 R-314 |
|
|
172
171
|
| `config.yaml` | (可选,由你写) | 项目级 flag 默认值 —— 见 core 里的 `loadConfig` |
|
|
173
172
|
|
|
174
173
|
Godot 项目本身(`project.godot`、`GDD.md`、`PLAN.md`、scenes、scripts、…)放在项目根目录,由上游 skill 拥有,Core 永不写它们。
|