You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* chore(rebrand): rename workspace package names @t3tools/* → @bcode/*
* chore(rebrand): update workspace dependency refs to @bcode/*
* chore(rebrand): point turbo filters at @bcode/* packages
* chore(rebrand): rewrite @t3tools/* imports and turbo refs to @bcode/*
* docs(rebrand): update package-scope references to @bcode/*
* chore(rebrand): regenerate bun.lock for @bcode/* workspace rename
* chore(rebrand): reformat imports after @bcode/* rename
* docs: apply PR review fixes + switch CI to github-hosted runner
- ci.yml: blacksmith-4vcpu-ubuntu-2404 → ubuntu-24.04 (fork
can't claim a Blacksmith runner; all main runs since 01:04 UTC
were stuck queued).
- .docs/provider-architecture.md: reflect Claude-first (default
provider is claudeAgent, Codex is secondary) and drop the stale
NativeApi-in-@bcode/contracts claim; point at the actual
environmentApi.ts / localApi.ts consumers.
- docs/perf-benchmarks.md: "builds t3" → "builds @berkayorhan/bcode".
- AGENTS.md: drop duplicate legacy-dir bullet now covered by the
"kept as-is" block above it.
Copy file name to clipboardExpand all lines: .docs/provider-architecture.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,13 +7,13 @@ The web app communicates with the server via WebSocket using a simple JSON-RPC-s
7
7
8
8
Push channels: `server.welcome`, `server.configUpdated`, `terminal.event`, `orchestration.domainEvent`. Payloads are schema-validated at the transport boundary (`wsTransport.ts`). Decode failures produce structured `WsDecodeDiagnostic` with `code`, `reason`, and path info.
9
9
10
-
Methods mirror the `NativeApi` interface defined in `@t3tools/contracts`:
10
+
The WS RPC surface exposes provider, shell, and server methods, consumed from the web client in `apps/web/src/environmentApi.ts` and `apps/web/src/localApi.ts`:
Codex is the only implemented provider. `claudeCode` is reserved in contracts/UI.
16
+
BCode is Claude-first. The default provider is `claudeAgent` (configured in `packages/contracts/src/orchestration.ts`); Codex is available as a secondary option via the provider picker.
Copy file name to clipboardExpand all lines: .docs/workspace-layout.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,4 +4,4 @@
4
4
-`/apps/web`: React + Vite UI. Session control, conversation, and provider event rendering. Connects to the server via WebSocket.
5
5
-`/apps/desktop`: Electron shell. Spawns a desktop-scoped `t3` backend process and loads the shared web app.
6
6
-`/packages/contracts`: Shared effect/Schema schemas and TypeScript contracts for provider events, WebSocket protocol, and model/session types.
7
-
-`/packages/shared`: Shared runtime utilities consumed by both server and web. Uses explicit subpath exports (e.g. `@t3tools/shared/git`, `@t3tools/shared/DrainableWorker`) — no barrel index.
7
+
-`/packages/shared`: Shared runtime utilities consumed by both server and web. Uses explicit subpath exports (e.g. `@bcode/shared/git`, `@bcode/shared/DrainableWorker`) — no barrel index.
-`USER_DATA_DIR_NAME = "t3code"` / `"t3code-dev"` — electron's current userData subdir; a deliberate non-rename to preserve existing installs' window state, cookies, and renderer cache. May be renamed in a later cleanup.
26
+
-`LEGACY_T3_HOME_DIR_NAME = ".t3"` — read by the migration module only.
26
27
-**Icons/logos**: Reuse existing assets for now.
27
28
28
29
When writing new code, use "BCode" in anything a user would see and the existing internal identifiers for everything else.
@@ -44,7 +45,7 @@ Long term maintainability is a core priority. If you add new functionality, firs
44
45
-`apps/server`: Node.js WebSocket server. Manages provider sessions for Claude (via agent SDK) and Codex (via JSON-RPC over stdio app-server), serves the React web app, and streams structured events to the browser through WebSocket push.
45
46
-`apps/web`: React/Vite UI. Owns session UX, conversation/event rendering, and client-side state. Connects to the server via WebSocket.
46
47
-`packages/contracts`: Shared effect/Schema schemas and TypeScript contracts for provider events, WebSocket protocol, and model/session types. Keep this package schema-only — no runtime logic.
47
-
-`packages/shared`: Shared runtime utilities consumed by both server and web. Uses explicit subpath exports (e.g. `@t3tools/shared/git`) — no barrel index.
48
+
-`packages/shared`: Shared runtime utilities consumed by both server and web. Uses explicit subpath exports (e.g. `@bcode/shared/git`) — no barrel index.
Copy file name to clipboardExpand all lines: CLAUDE.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -53,7 +53,7 @@ For PRs, follow the template in `@.github/pull_request_template.md` — keep PRs
53
53
## Naming Convention (Rebrand Rules)
54
54
55
55
-**User-facing** (UI labels, dialogs, error messages): use **"BCode"**
56
-
-**Internal identifiers** (env vars `T3CODE_*`, protocol `t3://`, home `~/.t3`, packages `@t3tools/*`, npm `t3`/`npx t3`, COM `com.t3tools.t3code`, localStorage`t3code:*`): keep as-is for upstream compatibility
56
+
-**Internal identifiers** (`BCODE_*` env vars, `bcode://` internal scheme, `~/.bcode` home, `@bcode/*` packages, `npx @berkayorhan/bcode` CLI, `com.berkayorhan.bcode` COM, `bcode:*`localStorage): post-rebrand state. `T3CODE_*` env is still accepted with a deprecation warning through v0.0.19; `~/.t3` and `t3code:*` localStorage are auto-migrated on first launch of v0.0.19.
0 commit comments