diff --git a/CHANGELOG.md b/CHANGELOG.md index e72bd98042..4a4db04c2c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,14 +7,6 @@ file is the human-readable summary of what changed and why. ## Unreleased -### Branding - -- **`codev --mini` splashes carry the CoDev mark** — the compact badge on the - entry and exit banners is now the `c` of the CoDev wordmark instead of the - inherited `o`, and it is drawn in the brand secondary (teal in dark, purple - in light) so it matches the home-screen banner rather than the muted detail - text beside it. The background pulse's `go` wordmark is unchanged. - ### Sessions - **`Ctrl+C` interrupts a running turn** — while the agent is working, `Ctrl+C` @@ -101,14 +93,6 @@ file is the human-readable summary of what changed and why. ### Prompt -- **`cwd:branch` in the prompt footer** — the prompt footer shows the abbreviated - working directory with a `:branch` suffix (updating live on branch switches), - left of the open-file label. The last path segment and branch render in the text - color with the parent path muted, matching the sidebar footer; long paths are - middle-truncated so narrow terminals never overflow. Hidden while the sidebar - is visible, since the sidebar footer already shows the same `cwd:branch`. - ([#65](https://github.com/quickbeard/codev-code/pull/65), - [#70](https://github.com/quickbeard/codev-code/pull/70)) - **Files first in `@` autocomplete** — `@` mention results list files and directories before references, agents, and MCP resources in the TUI, the web app, and the `codev run` footer. A few rows stay reserved for non-file results diff --git a/DIVERGENCES.md b/DIVERGENCES.md index e78e9f3b9d..f8f9f20c7e 100644 --- a/DIVERGENCES.md +++ b/DIVERGENCES.md @@ -117,7 +117,6 @@ from the squash message first, or use a plain merge. | `packages/tui/src/component/dialog-provider.tsx`, `packages/tui/src/component/dialog-model.tsx`, `packages/opencode/src/cli/cmd/providers.ts` | Filter `opencode`/`opencode-go` out of provider pickers and the `/model` dialog (model list + Favorites/Recent; the model dialog's opencode-first sort became a plain name sort) | Upstream's hosted offerings (Zen/Go) are detours for gateway users. | Keep our filters. | | `packages/tui/src/component/dialog-provider.tsx` | The "Other" custom-provider option routes into the fork-only `runCustomProviderFlow` (component/dialog-custom-provider.tsx, new file) — id → API key → optional base URL → model discovery via `/v1/models` → `provider.` block PATCHed into global codev.json (key stays in auth.json) — instead of upstream's credential-only `ApiMethod`; the local `promptCustomProviderID` helper moved into that flow (upstream's "only stores a credential" description no longer holds). `ApiMethod`'s `custom` prop is now unreferenced but left in place. | An empty base URL keeps upstream's credential-only behavior; with one, the provider is usable without hand-editing codev.json. The configure gate's "Custom provider" option shares the same flow. | Keep our `onSelect` + import and the helper deletion; take upstream's changes to `ApiMethod`/other methods (the flow only wraps the entry point). | | `packages/tui/src/component/prompt/index.tsx` | Gated the prompt footer's model/provider indicator on `useConnected()` (the shared "a real provider is configured" predicate) | Don't advertise the free hosted Zen default (e.g. "Big Pickle · OpenCode Zen") in the footer while nothing is configured — same rationale and predicate as `app.tsx`'s startup gate and the provider/model filters. A configured gateway/real provider, or a deliberately-authenticated opencode/opencode-go, still shows its model. | Keep the extra `Show` condition; take upstream's surrounding changes. | -| `packages/tui/src/component/prompt/index.tsx` | Added a `directoryLabel` memo (abbreviated cwd, `:branch` suffix when known, middle-truncated; last path segment + branch in text color, parent path muted, matching the sidebar footer) rendered as the first item of the prompt footer's right-side group, left of the editor open-file label. The memo delegates to `directoryFooterLabel(...)` and the render goes through a `