diff --git a/DIVERGENCES.md b/DIVERGENCES.md index 44067fd7f5..cd082304e8 100644 --- a/DIVERGENCES.md +++ b/DIVERGENCES.md @@ -153,6 +153,7 @@ from the squash message first, or use a plain merge. | `packages/app/src/context/language.tsx`, `packages/app/src/entry.tsx`, `packages/desktop/src/renderer/i18n/index.ts`, `packages/console/app/src/i18n/index.ts`, `packages/console/app/src/lib/language.ts`, `packages/console/app/src/component/footer.tsx`, `packages/stats/app/src/i18n.ts`, `packages/web/src/i18n/locales.ts`, `packages/web/astro.config.mjs`, `packages/enterprise/src/app.tsx`, `packages/app/e2e/regression/session-timeline-locale-projection.spec.ts` | Locale registries trimmed to `en` + `es`: `Locale` types, LOCALES/LABEL/TAG/DOCS maps, dict loaders, accept-language matchers, starlight `locales` config; enterprise/entry `zh` special cases now use `es`; console footer always links Discord (Feishu was zh-only); e2e locale-projection spec tests `es` ("Explorado") instead of de/ar | Fork ships English + Spanish only. | Keep our trimmed lists; take upstream's structural changes and re-trim any new locale entries. | | `packages/web/config.mjs`, `packages/web/astro.config.mjs`, `packages/web/src/components/Lander.astro`, `packages/web/src/assets/logo-light.svg`, `packages/web/src/assets/logo-dark.svg` | Docs-site header rebrand. config.mjs: `github` → `https://github.com/quickbeard/codev-code`, `discord` key removed. astro.config.mjs: starlight `title` `"OpenCode"` → `"CoDev Code"` (the browser-tab title suffix), `social` keeps only GitHub (Discord entry dropped), `editLink.baseUrl` `/edit/dev/` → `/edit/main/` (fork's default branch), logo `alt: "CoDev Code"`. Lander.astro: removed the footer Discord column and its unguarded `discord.href` read (the guarded Footer.astro Discord link disappears on its own once the social entry is gone). Logo SVGs replaced with the pixel-grid lowercase `codev` wordmark generated from `packages/tui/src/logo.ts` — dark: secondary teal `#0891B2` + shadow `#0A2C34`; light: secondary purple `#7B5BB6` + shadow `#DED6ED` (both shadows are `tint(background, secondary, 0.25)` per the TUI banner). | The docs header must point at the fork's repo and brand; the fork has no Discord community. | Keep our github URL, discord removals, edit-link branch, alt, and both logo SVGs wholesale; take upstream's surrounding config/markup changes. | | `packages/tui/src/component/prompt/autocomplete.tsx`, `packages/app/src/components/prompt-input.tsx`, `packages/opencode/src/cli/cmd/run/footer.prompt.tsx`, `packages/core/src/filesystem/search.ts`, `packages/tui/test/fixture/tui-sdk.ts`, `packages/opencode/test/cli/run/footer.view.test.tsx`, `packages/core/test/filesystem/search.test.ts` | `@` mention autocomplete lists file/directory results before references/agents/MCP resources; TUI and run-CLI menus cap the leading files so up to 3 non-file matches stay in the first visible page; web app group rank reordered to recent → file → reference → agent → resource (extracted into fork-only `prompt-input/at-options.ts`). TUI and run-CLI file resources track menu visibility so opening on an empty query fetches (previously nothing refetched until the query changed); core's ripgrep-fallback `find` returns its first entries for an empty query to mirror fff. Tests: tui-sdk fixture's `FetchHandler` gains an optional `method` arg, `renderFooter` accepts `findFiles`/`agents` overrides + a mention-menu ordering test, core search tests cover the fallback's empty query (fork-only test files: `packages/tui/test/prompt-autocomplete.test.tsx`, `packages/app/test-browser/prompt-at-options.test.ts`, `packages/app/src/components/prompt-input/at-options{,.test}.ts`) | Files are the dominant `@` use case; they should rank first and appear on a bare `@`. | Keep our ordering/reserve logic, resource source tracking, empty-query branch, fixture/test additions; take upstream's surrounding changes. | +| `packages/slack/.gitignore`, `sdks/vscode/.gitignore` | Added the missing trailing newline (content unchanged) | Upstream's copies end without a newline; POSIX text files should end with one, and tools that concatenate or append to these files misbehave without it. | Whitespace-only: keep the trailing newline; take upstream's entries. | ## Known rebrand gaps diff --git a/packages/slack/.gitignore b/packages/slack/.gitignore index 1ef9d19ba0..a167bc6568 100644 --- a/packages/slack/.gitignore +++ b/packages/slack/.gitignore @@ -1,4 +1,4 @@ node_modules dist .env -.DS_Store \ No newline at end of file +.DS_Store diff --git a/sdks/vscode/.gitignore b/sdks/vscode/.gitignore index 53c37a1660..1521c8b765 100644 --- a/sdks/vscode/.gitignore +++ b/sdks/vscode/.gitignore @@ -1 +1 @@ -dist \ No newline at end of file +dist