Skip to content

Commit f27f5c4

Browse files
committed
chore: remove deprecated empty_message_recovery experimental option
The empty message recovery is now enabled by default (no longer experimental). Removes the config option from schema and all README files. 🤖 Generated with assistance of [OhMyOpenCode](https://github.com/code-yeongyu/oh-my-opencode)
1 parent a29e50c commit f27f5c4

File tree

5 files changed

+0
-9
lines changed

5 files changed

+0
-9
lines changed

README.ja.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -837,7 +837,6 @@ OpenCode でサポートされるすべての LSP 構成およびカスタム設
837837
{
838838
"experimental": {
839839
"aggressive_truncation": true,
840-
"empty_message_recovery": true,
841840
"auto_resume": true
842841
}
843842
}
@@ -846,7 +845,6 @@ OpenCode でサポートされるすべての LSP 構成およびカスタム設
846845
| オプション | デフォルト | 説明 |
847846
| ------------------------ | ---------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
848847
| `aggressive_truncation` | `false` | トークン制限を超えた場合、ツール出力を積極的に切り詰めて制限内に収めます。デフォルトの切り詰めより積極的です。不十分な場合は要約/復元にフォールバックします。 |
849-
| `empty_message_recovery` | `false` | "non-empty content" API エラーが発生した場合、セッション内の空メッセージを修正して自動的に回復します。最大3回試行後に諦めます。 |
850848
| `auto_resume` | `false` | thinking block エラーや thinking disabled violation からの回復成功後、自動的にセッションを再開します。最後のユーザーメッセージを抽出して続行します。 |
851849

852850
**警告**:これらの機能は実験的であり、予期しない動作を引き起こす可能性があります。影響を理解した場合にのみ有効にしてください。

README.ko.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -831,7 +831,6 @@ OpenCode 에서 지원하는 모든 LSP 구성 및 커스텀 설정 (opencode.js
831831
{
832832
"experimental": {
833833
"aggressive_truncation": true,
834-
"empty_message_recovery": true,
835834
"auto_resume": true
836835
}
837836
}
@@ -840,7 +839,6 @@ OpenCode 에서 지원하는 모든 LSP 구성 및 커스텀 설정 (opencode.js
840839
| 옵션 | 기본값 | 설명 |
841840
| ------------------------ | ------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------- |
842841
| `aggressive_truncation` | `false` | 토큰 제한을 초과하면 도구 출력을 공격적으로 잘라내어 제한 내에 맞춥니다. 기본 truncation보다 더 공격적입니다. 부족하면 요약/복구로 fallback합니다. |
843-
| `empty_message_recovery` | `false` | "non-empty content" API 에러가 발생하면 세션의 빈 메시지를 수정하여 자동으로 복구합니다. 최대 3회 시도 후 포기합니다. |
844842
| `auto_resume` | `false` | thinking block 에러나 thinking disabled violation으로부터 성공적으로 복구한 후 자동으로 세션을 재개합니다. 마지막 사용자 메시지를 추출하여 계속합니다. |
845843

846844
**경고**: 이 기능들은 실험적이며 예상치 못한 동작을 유발할 수 있습니다. 의미를 이해한 경우에만 활성화하세요.

README.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -897,7 +897,6 @@ Opt-in experimental features that may change or be removed in future versions. U
897897
{
898898
"experimental": {
899899
"aggressive_truncation": true,
900-
"empty_message_recovery": true,
901900
"auto_resume": true
902901
}
903902
}
@@ -906,7 +905,6 @@ Opt-in experimental features that may change or be removed in future versions. U
906905
| Option | Default | Description |
907906
| ------------------------ | ------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
908907
| `aggressive_truncation` | `false` | When token limit is exceeded, aggressively truncates tool outputs to fit within limits. More aggressive than the default truncation behavior. Falls back to summarize/revert if insufficient. |
909-
| `empty_message_recovery` | `false` | Automatically recovers from "non-empty content" API errors by fixing empty messages in the session. Up to 3 recovery attempts before giving up. |
910908
| `auto_resume` | `false` | Automatically resumes session after successful recovery from thinking block errors or thinking disabled violations. Extracts the last user message and continues. |
911909

912910
**Warning**: These features are experimental and may cause unexpected behavior. Enable only if you understand the implications.

README.zh-cn.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -837,7 +837,6 @@ Oh My OpenCode 送你重构工具(重命名、代码操作)。
837837
{
838838
"experimental": {
839839
"aggressive_truncation": true,
840-
"empty_message_recovery": true,
841840
"auto_resume": true
842841
}
843842
}
@@ -846,7 +845,6 @@ Oh My OpenCode 送你重构工具(重命名、代码操作)。
846845
| 选项 | 默认值 | 说明 |
847846
| ------------------------ | ------- | ---------------------------------------------------------------------------------------------------------------------------------------------- |
848847
| `aggressive_truncation` | `false` | 超出 token 限制时,激进地截断工具输出以适应限制。比默认截断更激进。不够的话会回退到摘要/恢复。 |
849-
| `empty_message_recovery` | `false` | 遇到 "non-empty content" API 错误时,自动修复会话中的空消息进行恢复。最多尝试 3 次后放弃。 |
850848
| `auto_resume` | `false` | 从 thinking block 错误或 thinking disabled violation 成功恢复后,自动恢复会话。提取最后一条用户消息继续执行。 |
851849

852850
**警告**:这些功能是实验性的,可能会导致意外行为。只有在理解其影响的情况下才启用。

src/config/schema.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,6 @@ export const SisyphusAgentConfigSchema = z.object({
108108

109109
export const ExperimentalConfigSchema = z.object({
110110
aggressive_truncation: z.boolean().optional(),
111-
empty_message_recovery: z.boolean().optional(),
112111
auto_resume: z.boolean().optional(),
113112
/** Enable preemptive compaction at threshold (default: true) */
114113
preemptive_compaction: z.boolean().optional(),

0 commit comments

Comments
 (0)