From f27f5c42ccf4ae7cdbf547bd6c0df59fd244abe9 Mon Sep 17 00:00:00 2001 From: YeonGyu-Kim Date: Sat, 20 Dec 2025 15:53:04 +0900 Subject: [PATCH] chore: remove deprecated empty_message_recovery experimental option MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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) --- README.ja.md | 2 -- README.ko.md | 2 -- README.md | 2 -- README.zh-cn.md | 2 -- src/config/schema.ts | 1 - 5 files changed, 9 deletions(-) diff --git a/README.ja.md b/README.ja.md index bd64ddf..ce732c2 100644 --- a/README.ja.md +++ b/README.ja.md @@ -837,7 +837,6 @@ OpenCode でサポートされるすべての LSP 構成およびカスタム設 { "experimental": { "aggressive_truncation": true, - "empty_message_recovery": true, "auto_resume": true } } @@ -846,7 +845,6 @@ OpenCode でサポートされるすべての LSP 構成およびカスタム設 | オプション | デフォルト | 説明 | | ------------------------ | ---------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | `aggressive_truncation` | `false` | トークン制限を超えた場合、ツール出力を積極的に切り詰めて制限内に収めます。デフォルトの切り詰めより積極的です。不十分な場合は要約/復元にフォールバックします。 | -| `empty_message_recovery` | `false` | "non-empty content" API エラーが発生した場合、セッション内の空メッセージを修正して自動的に回復します。最大3回試行後に諦めます。 | | `auto_resume` | `false` | thinking block エラーや thinking disabled violation からの回復成功後、自動的にセッションを再開します。最後のユーザーメッセージを抽出して続行します。 | **警告**:これらの機能は実験的であり、予期しない動作を引き起こす可能性があります。影響を理解した場合にのみ有効にしてください。 diff --git a/README.ko.md b/README.ko.md index 9fd732b..3d97869 100644 --- a/README.ko.md +++ b/README.ko.md @@ -831,7 +831,6 @@ OpenCode 에서 지원하는 모든 LSP 구성 및 커스텀 설정 (opencode.js { "experimental": { "aggressive_truncation": true, - "empty_message_recovery": true, "auto_resume": true } } @@ -840,7 +839,6 @@ OpenCode 에서 지원하는 모든 LSP 구성 및 커스텀 설정 (opencode.js | 옵션 | 기본값 | 설명 | | ------------------------ | ------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------- | | `aggressive_truncation` | `false` | 토큰 제한을 초과하면 도구 출력을 공격적으로 잘라내어 제한 내에 맞춥니다. 기본 truncation보다 더 공격적입니다. 부족하면 요약/복구로 fallback합니다. | -| `empty_message_recovery` | `false` | "non-empty content" API 에러가 발생하면 세션의 빈 메시지를 수정하여 자동으로 복구합니다. 최대 3회 시도 후 포기합니다. | | `auto_resume` | `false` | thinking block 에러나 thinking disabled violation으로부터 성공적으로 복구한 후 자동으로 세션을 재개합니다. 마지막 사용자 메시지를 추출하여 계속합니다. | **경고**: 이 기능들은 실험적이며 예상치 못한 동작을 유발할 수 있습니다. 의미를 이해한 경우에만 활성화하세요. diff --git a/README.md b/README.md index 55b1111..6074d64 100644 --- a/README.md +++ b/README.md @@ -897,7 +897,6 @@ Opt-in experimental features that may change or be removed in future versions. U { "experimental": { "aggressive_truncation": true, - "empty_message_recovery": true, "auto_resume": true } } @@ -906,7 +905,6 @@ Opt-in experimental features that may change or be removed in future versions. U | Option | Default | Description | | ------------------------ | ------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | `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. | -| `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. | | `auto_resume` | `false` | Automatically resumes session after successful recovery from thinking block errors or thinking disabled violations. Extracts the last user message and continues. | **Warning**: These features are experimental and may cause unexpected behavior. Enable only if you understand the implications. diff --git a/README.zh-cn.md b/README.zh-cn.md index 711365b..40930da 100644 --- a/README.zh-cn.md +++ b/README.zh-cn.md @@ -837,7 +837,6 @@ Oh My OpenCode 送你重构工具(重命名、代码操作)。 { "experimental": { "aggressive_truncation": true, - "empty_message_recovery": true, "auto_resume": true } } @@ -846,7 +845,6 @@ Oh My OpenCode 送你重构工具(重命名、代码操作)。 | 选项 | 默认值 | 说明 | | ------------------------ | ------- | ---------------------------------------------------------------------------------------------------------------------------------------------- | | `aggressive_truncation` | `false` | 超出 token 限制时,激进地截断工具输出以适应限制。比默认截断更激进。不够的话会回退到摘要/恢复。 | -| `empty_message_recovery` | `false` | 遇到 "non-empty content" API 错误时,自动修复会话中的空消息进行恢复。最多尝试 3 次后放弃。 | | `auto_resume` | `false` | 从 thinking block 错误或 thinking disabled violation 成功恢复后,自动恢复会话。提取最后一条用户消息继续执行。 | **警告**:这些功能是实验性的,可能会导致意外行为。只有在理解其影响的情况下才启用。 diff --git a/src/config/schema.ts b/src/config/schema.ts index 2778d45..9f91bbd 100644 --- a/src/config/schema.ts +++ b/src/config/schema.ts @@ -108,7 +108,6 @@ export const SisyphusAgentConfigSchema = z.object({ export const ExperimentalConfigSchema = z.object({ aggressive_truncation: z.boolean().optional(), - empty_message_recovery: z.boolean().optional(), auto_resume: z.boolean().optional(), /** Enable preemptive compaction at threshold (default: true) */ preemptive_compaction: z.boolean().optional(),