@dreb/coding-agent 2.66.0 → 2.66.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/README.md CHANGED
@@ -131,6 +131,8 @@ See [docs/providers.md](docs/providers.md) for detailed setup instructions, incl
131
131
 
132
132
  **Custom providers & models:** Add providers via `~/.dreb/agent/models.json` if they speak a supported API (OpenAI, Anthropic, Google), including Bearer-only Anthropic-compatible endpoints. For custom APIs or OAuth, use extensions. See [docs/models.md](docs/models.md) and [docs/custom-provider.md](docs/custom-provider.md).
133
133
 
134
+ **Output limits and retries:** `maxTokens` is the ordinary request maximum, including model overrides; explicit bounded internal calls may use less. Responses truncated at the model's configured output limit retry at that same limit. After exhaustion, genuine output-budget failures fail loudly, while possible full-context truncation enters one compact-and-retry recovery. The ChatGPT-backed `openai-codex` protocol rejects client-supplied output limits, so its built-in maximum remains server-controlled and dreb rejects `maxTokens` overrides for that provider.
135
+
134
136
  **Reasoning across model switches:** Exact-model signed, encrypted, or redacted reasoning state is replayed unchanged. Structured reasoning is portable only between models that share a provider and the `openai-completions` API when the destination accepts the source's recognized plain field (`reasoning_content`, `reasoning`, or `reasoning_text`). Other readable reasoning is retained as labelled plaintext in `<reformatted-pre-switch-reasoning>` markers with incompatible protocol metadata removed; opaque redacted or encrypted-only state is omitted for incompatible targets. This outbound conversion does not change session history, so switching back can replay the original state unless it was compacted or pruned. Custom models must also share provider identity and compatible API/signature behavior.
135
137
 
136
138
  ---