@dreb/coding-agent 2.68.1 → 2.69.0
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 +1 -1
- package/docs/development.md +8 -3
- package/docs/providers.md +2 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -97,7 +97,7 @@ Then just talk to dreb. All 13 standard built-in tools are enabled by default (u
|
|
|
97
97
|
|
|
98
98
|
For each built-in provider, dreb maintains a list of tool-capable models, updated with every release. Authenticate via subscription (`/login`) or API key, then select any model from that provider via `/model`.
|
|
99
99
|
|
|
100
|
-
GPT-6 Astra
|
|
100
|
+
GPT-6 models (Astra, Sol, Luna, 6.1 Sol) are available on `openai-codex` and `github-copilot`, with `xhigh` and native `max` thinking support. The `openai-codex` catalog is derived automatically from the OpenAI catalog, so new frontier models appear there without manual updates (whether they work depends on your ChatGPT plan/workspace). Codex defaults to `gpt-5.6-luna`. Missing saved defaults now warn and prefer the same provider's available default; explicit removed model IDs are not automatically migrated. See [model selection and removed models](docs/providers.md#model-selection-and-removed-models).
|
|
101
101
|
|
|
102
102
|
**Subscriptions:**
|
|
103
103
|
- OpenAI ChatGPT Plus/Pro (Codex)
|
package/docs/development.md
CHANGED
|
@@ -55,11 +55,16 @@ A pre-commit hook runs biome checks, tests, and `tsgo --noEmit` (matching CI) au
|
|
|
55
55
|
```bash
|
|
56
56
|
npm test # All workspace tests
|
|
57
57
|
npx vitest --run packages/coding-agent/test/some.test.ts # Single file
|
|
58
|
-
bash test.sh # Full suite,
|
|
59
|
-
bash test.sh --
|
|
58
|
+
bash test.sh # Full suite, offline (no live provider calls)
|
|
59
|
+
bash test.sh --live-api # Also run live provider tests (spends real quota)
|
|
60
60
|
```
|
|
61
61
|
|
|
62
|
-
|
|
62
|
+
**Live provider tests are opt-in.** They make real, billed requests with API keys and subscription OAuth logins from `~/.dreb/agent/auth.json`, so `npm test`, `bash test.sh`, the pre-commit hook, and CI all skip them by default, even when credentials are present. Credentials are not read or refreshed unless you opt in.
|
|
63
|
+
|
|
64
|
+
- `DREB_LIVE_API=1` (or `bash test.sh --live-api`) enables live provider tests for every provider you have credentials for.
|
|
65
|
+
- `DREB_LIVE_API_EXPENSIVE=1` additionally enables the context-overflow tests, which send prompts larger than a model's full context window (hundreds of thousands of tokens per request). It has no effect without `DREB_LIVE_API=1`.
|
|
66
|
+
|
|
67
|
+
Target a single file or provider when running live tests, for example `DREB_LIVE_API=1 npx vitest --run packages/ai/test/stream.test.ts -t "OpenAI Codex"`. New live tests must gate on `isLiveApiEnabled()` (or `isExpensiveLiveApiEnabled()`) from the package's `test/live-api.ts`; `packages/ai/test/live-api-gating.test.ts` fails if a credential-gated `skipIf`/`runIf` bypasses it. `test.sh` also disables local LLM tests.
|
|
63
68
|
|
|
64
69
|
When updating live model fixtures, check protocol behavior as well as catalog membership. Adaptive Claude tests that assert visible thinking must request `thinkingDisplay: "summarized"`. A conservative registry window is not necessarily the endpoint's hard limit: overflow tests may need to check full input usage (`input + cacheRead + cacheWrite`) when the server accepts a request beyond the configured window.
|
|
65
70
|
|
package/docs/providers.md
CHANGED
|
@@ -50,7 +50,8 @@ Use `/logout` to clear credentials. Tokens are stored in `~/.dreb/agent/auth.jso
|
|
|
50
50
|
|
|
51
51
|
- Requires ChatGPT Plus or Pro subscription
|
|
52
52
|
- Personal use only; for production, use the OpenAI Platform API
|
|
53
|
-
-
|
|
53
|
+
- The Codex catalog is derived automatically from the OpenAI Platform catalog at build time: frontier GPT models (GPT-5.5 and newer, named variants such as Sol/Terra/Luna/Astra, and `gpt-daybreak-*` previews) are mirrored onto `openai-codex`, plus `gpt-5.4-mini`. `-pro`, `-mini`, `-nano`, `-chat` and `-codex` variants and dated snapshots are excluded. The build fails loudly if a known Codex model disappears from the OpenAI catalog or a derived model lacks the catalog limits Codex requires (logic in `packages/ai/scripts/codex-models.ts`). Default is `gpt-5.6-luna`. Every Codex model uses a 272k context window, matching Codex CLI's default: the models support ~1M, but prompts above 272k input are billed at 2x. To use a larger window, override `contextWindow` for the model via `modelOverrides` in `models.json`.
|
|
54
|
+
- Which models actually work depends on your ChatGPT plan/workspace — enterprise workspaces often enable new models later. An unavailable model fails with "model is not supported when using Codex with a ChatGPT account".
|
|
54
55
|
- Astra supports text/image input, a conservative 272K configured context window, and up to 128K output tokens. Codex `minimal` effort is clamped to `low`; `xhigh` and `max` are sent unchanged.
|
|
55
56
|
|
|
56
57
|
### Kimi For Coding
|