Skip to content

Latest commit

 

History

History
85 lines (59 loc) · 2.64 KB

File metadata and controls

85 lines (59 loc) · 2.64 KB

Implementation journal

2026-07-28 — Bootstrap

  • Tauri 2 + React/TypeScript scaffold with identifier dev.local.cotux.
  • Initial documentation, Apache-2.0 license, and security/contribution policies.
  • Product name: Cotux (Codex + Tux).

Verification:

npm install
npm run build

2026-07-28 — Bundled runtime

  • scripts/fetch-codex-runtime.ts pins version 0.145.0.
  • Sidecar in src-tauri/binaries/ with SHA256 validation.
  • externalBin configured in tauri.conf.json.

Verification:

npm run fetch:runtime

2026-07-28 — Protocol adapter

  • JSON-RPC over stdio in the Rust core.
  • initialize / initialized handshake.
  • Tauri commands for auth, threads, turns, approvals, and events.

Verification:

cd src-tauri && cargo test

2026-07-28 — Release validation

  • Fixed invalid --stdio flag (runtime 0.145.0 uses default stdio://).
  • npm run validate:runtime passes against the real sidecar.
  • Release binary builds in Docker; AppImage bundling still needs host/CI validation.

2026-07-29 — UI shell (phases A–C partial)

  • Saved visual references under docs/design/references/ with docs/design/README.md.
  • Tailwind CSS v4 + shadcn-style components (Button, Card, ScrollArea, Dropdown, etc.).
  • Theme provider with light | dark | system, persisted in localStorage.
  • IDE shell: activity bar, sidebar (projects + sessions), top bar, optional diff panel.
  • Home dashboard and Settings views.
  • Approval cards with protocol decisions: accept, decline, cancel, acceptForSession.
  • Rust adapter updated for item/commandExecution/requestApproval and item/fileChange/requestApproval.
  • Stream handler listens for turn/diff/updated / fileChange events (diff preview panel).

Verification:

npm run install:ui-deps   # if root node_modules has permission issues
npx tsc --noEmit
npm run build             # requires writable dist/

2026-07-29 — Composer, sidebar, and usage quota

  • Cursor-style project/session sidebar with lazy-loaded threads.
  • Codex-style composer: context menu (+, /, $), harness popover, plan/meta chips, speed tiers.
  • Usage quota from account/rateLimits/read in top bar.
  • Plan protocol fixes for turn/plan/updated and markdown rendering (GFM).

2026-07-29 — i18n

  • Lightweight i18n with en / pt / es catalogs and I18nProvider.
  • Manual locale override in Settings.

2026-07-29 — Release hardening (in progress)

  • Extended validate:runtime, GitHub Actions CI, side-by-side diff panel.
  • Release workflow hooks for SBOM and cosign.

Next steps

  • Command approval terminal output panel.
  • Automated WebDriver E2E (post v0.1.0).