Skip to content

Commit 7ac810d

Browse files
committed
Refactor and update for OKCode rebranding
- Update references from T3Code to OKCode across various files, including documentation and codebase. - Modify .gitignore to include new file patterns for OKCode. - Adjust environment variable defaults and paths to reflect the new branding. - Update test cases and scripts to ensure compatibility with the rebranded application. - Enhance documentation to align with the new naming conventions and project structure. Made-with: Cursor
1 parent 6347e04 commit 7ac810d

12 files changed

Lines changed: 190 additions & 128 deletions

File tree

.docs/scripts.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
- Default build is unsigned/not notarized for local sharing.
2222
- The DMG build uses `assets/macos-icon-1024.png` as the production app icon source.
2323
- Desktop production windows load the bundled UI from `okcode://app/index.html` (not a `127.0.0.1` document URL).
24-
- Desktop packaging includes `apps/server/dist` (the `t3` backend) and starts it on loopback with an auth token for WebSocket/API traffic.
24+
- Desktop packaging includes `apps/server/dist` (the `okcode` backend) and starts it on loopback with an auth token for WebSocket/API traffic.
2525
- Your tester can still open it on macOS by right-clicking the app and choosing **Open** on first launch.
2626
- To keep staging files for debugging package contents, run: `bun run dist:desktop:dmg -- --keep-stage`
2727
- To allow code-signing/notarization when configured in CI/secrets, add: `--signed`.

.docs/workspace-layout.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@
22

33
- `/apps/server`: Node.js WebSocket server. Wraps Codex app-server, serves the built web app, and opens the browser on start.
44
- `/apps/web`: React + Vite UI. Session control, conversation, and provider event rendering. Connects to the server via WebSocket.
5-
- `/apps/desktop`: Electron shell. Spawns a desktop-scoped `t3` backend process and loads the shared web app.
5+
- `/apps/desktop`: Electron shell. Spawns a desktop-scoped `okcode` backend process and loads the shared web app.
66
- `/packages/contracts`: Shared effect/Schema schemas and TypeScript contracts for provider events, WebSocket protocol, and model/session types.
77
- `/packages/shared`: Shared runtime utilities consumed by both server and web. Uses explicit subpath exports (e.g. `@okcode/shared/git`, `@okcode/shared/DrainableWorker`) — no barrel index.

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ build/
1313
.logs/
1414
release/
1515
.t3
16+
.ok
17+
.okcode
1618
.idea/
1719
apps/web/.playwright
1820
apps/web/playwright-report

0 commit comments

Comments
 (0)