You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 21158c0
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: README.md
+4-2Lines changed: 4 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -157,7 +157,8 @@ In OpenCode 2, use the plugin object form instead:
157
157
}
158
158
```
159
159
160
-
For OpenCode 1, server and TUI plugins are configured separately. To force the TUI to the same locale, use the same option in `tui.json`:
160
+
For OpenCode 1, server and TUI plugins are configured separately. To force the TUI to the same locale, use the same
161
+
option in `tui.json`:
161
162
162
163
```json
163
164
{
@@ -186,7 +187,8 @@ Defaults:
186
187
-`max_goal_duration_seconds`: unset by default; when set, new goals inherit this elapsed-time safety limit.
187
188
-`no_progress_token_threshold`: `50`; output-token floor used to judge whether a goal continuation turn made progress.
188
189
-`max_no_progress_turns`: `2`; consecutive low-progress goal continuation turns before pausing. Only turns produced by a reserved goal continuation count — ordinary low-output assistant messages (for example short tool-call-only turns from PTY or status checks) never increment this counter.
189
-
-`locale`: `"en"` by default. Set `"zh-CN"` for Simplified Chinese, or `"auto"` to detect `LC_ALL`, then `LANG`, then the OS/JavaScript runtime locale. Unsupported explicit locales fall back to English.
190
+
-`locale`: `"en"` by default. Set `"zh-CN"` for Simplified Chinese, or `"auto"` to detect `LC_ALL`, then `LANG`, then
191
+
the OS/JavaScript runtime locale. Unsupported explicit locales fall back to English.
190
192
-`register_command`: `true`; registers `/goal`, `/pause_goal`, and `/resume_goal`.
191
193
-`command_name`: `"goal"`; renames the main goal command only. The reserved names `pause_goal` and `resume_goal` fall back to `goal` so the standalone controls remain available.
192
194
-`restricted_agents`: `["plan"]`; agents (matched case-insensitively) treated as planning-only for goal execution.
在压缩后的上下文中保留目标内容、状态、已用时间、预算使用情况、最新检查点,以及任何完成证据或阻塞原因。压缩后,仅当目标仍为 active 时,才从下一个具体且未完成的步骤继续。在关闭目标前,审计真实产物和命令输出;只有存在证据时才用 update_goal 将 status 设为 "complete",只有存在具体阻塞原因时才设为 "unmet"。`
Preserve the goal objective, status, elapsed time, budget usage, latest checkpoint, and any completion evidence or blocker in the compacted context. After compaction, continue from the next concrete unfinished step only if the goal remains active. Before closing the goal, audit real artifacts and command outputs; close with update_goal status "complete" only with evidence, or status "unmet" only with a concrete blocker.`
0 commit comments