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
* feat(shared): add env dual-read shim (BCODE_* preferred, T3CODE_* fallback with warning)
* feat(rebrand): flip server CLI env vars via Effect Config shim
BCODE_* preferred with T3CODE_* fallback + per-key deprecation warning.
Rename bootstrap envelope field t3Home -> bcodeHome. Default
otlpServiceName flips from t3-server to bcode-server.
* feat(rebrand): flip desktop + scripts env readers to new names
Desktop app.ts, updateState, terminal Manager, perf harnesses, telemetry,
projectScripts, vite/web, dev-runner, build-desktop-artifact, mock-update
and misc tests move to BCODE_*. Scripts with user-facing env (dev-runner,
build-desktop-artifact) keep a BCODE_* preferred / T3CODE_* fallback shim
that warns once per legacy key. projectScriptRuntimeEnv writes both
prefixes so user-authored project scripts continue reading legacy names.
Terminal env strip filter now drops both BCODE_* and T3CODE_* keys.
* feat(rebrand): flip shell capture sentinels __T3CODE_* to __BCODE_*
Internal-only markers grep'd out of captured shell output. No persistence
or external interface, safe to flip without a legacy-name fallback.
* chore(rebrand): add BCODE_* keys to turbo globalEnv alongside T3CODE_*
Dual-listing matches the env var shim window: cache invalidation fires
when either prefix changes through v0.0.19. The T3CODE_* entries are
removed together with the shim in v0.0.20.
* feat(rebrand): rename desktop internal protocol scheme t3:// to bcode://
DESKTOP_SCHEME is an electron-internal asset protocol used for packaged
UI loading. No OS-level handler is registered via setAsDefaultProtocolClient,
so this flip has no external surface and needs no migration shim.
* feat(rebrand): rename COM/bundle ID to com.berkayorhan.bcode and artifactName to BCode-*
Flips APP_USER_MODEL_ID (Windows AUMID), APP_BUNDLE_ID (macOS plist patching
in the electron launcher), and the electron-builder appId + artifactName
pattern. Changes the installed-app identity on new installs; existing
installs continue to resolve their own identity via electron's userData
paths (deliberately kept under the legacy t3code name).
* feat(rebrand): rename Linux entry, WM class, and internal t3code identifiers to bcode
LINUX_DESKTOP_ENTRY_NAME, LINUX_WM_CLASS, executableName, StartupWMClass,
the dev-electron pkill marker arg, the packaged package.json name, the
temp stage dir prefixes, and the bcodeCommitHash metadata field all flip
to bcode. USER_DATA_DIR_NAME remains 't3code' deliberately (per AGENTS.md)
to preserve electron-managed state on existing installs.
* test(rebrand): flip release fixture artifact names T3-Code-* to BCode-*
Follows the commit 8 artifactName flip: update-manifest test fixtures
and release-smoke-test fixture URLs must match the new artifact naming
pattern or the tests fail on what's effectively stale hardcoded data.
* docs(rebrand): rewrite current docs for BCODE_*, bcode://, ~/.bcode
Updates observability, release, perf-benchmarks, quick-start, scripts,
KEYBINDINGS, and debugging rule docs to use the new env var names and
home directory. Adds an env var deprecation-window note at the top of
observability.md. Historical plans and specs are left untouched.
* docs(plan): add PR #2 execution breakdown
* test(rebrand): assert dual-prefix env keys in project setup script
The projectScriptRuntimeEnv helper writes both BCODE_* and T3CODE_*
aliases through v0.0.19 so user-authored project scripts keep reading
legacy names. The setup-script runner assertion must match that shape.
Other projectScripts/ChatView assertions already use toMatchObject
partial matching so they were unaffected.
* fix(rebrand): address Copilot review on PR #9
- desktop main.ts:1412: write bcodeHome (not t3Home) to the bootstrap
envelope so the server honors the desktop-selected base dir after the
schema field rename.
- turbo.json: add BCODE_WEB_SOURCEMAP and T3CODE_WEB_SOURCEMAP to
globalEnv so vite sourcemap changes invalidate turbo cache.
- build-desktop-artifact.ts: emit the one-time legacy-env deprecation
warning for T3CODE_DESKTOP_UPDATE_REPOSITORY like the other shimmed
reads.
- observability.md / KEYBINDINGS.md / debugging.md / scripts.md: revert
hardcoded ~/.bcode/... paths to ~/.t3/... with a note about the
upcoming home-dir flip. The runtime default is still ~/.t3 until PR #3
lands the auto-migration, so user-facing docs must match the current
on-disk reality. Env var name flips (BCODE_*) are retained since the
shim honors both.
Copy file name to clipboardExpand all lines: .docs/scripts.md
+7-7Lines changed: 7 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,7 +3,7 @@
3
3
-`bun run dev` — Starts contracts, server, and web in `turbo watch` mode.
4
4
-`bun run dev:server` — Starts just the WebSocket server (uses Bun TypeScript execution).
5
5
-`bun run dev:web` — Starts just the Vite dev server for the web app.
6
-
- Dev commands default `T3CODE_STATE_DIR`to `~/.t3/dev` to keep dev state isolated from desktop/prod state.
6
+
- Dev commands default the base dir to `~/.t3` (overridable via `BCODE_HOME` or `--base-dir`) and place dev state under `$BCODE_HOME/dev` to keep it isolated from desktop/prod state.
7
7
- Override server CLI-equivalent flags from root dev commands with `--`, for example:
8
8
`bun run dev -- --base-dir ~/.t3-2`
9
9
-`bun run start` — Runs the production server (serves built web app as static files).
@@ -20,8 +20,8 @@
20
20
21
21
- Default build is unsigned/not notarized for local sharing.
22
22
- The DMG build uses `assets/macos-icon-1024.png` as the production app icon source.
23
-
- Desktop production windows load the bundled UI from `t3://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.
23
+
- Desktop production windows load the bundled UI from `bcode://app/index.html` (not a `127.0.0.1` document URL).
24
+
- Desktop packaging includes `apps/server/dist` (the `bcode` backend) and starts it on loopback with an auth token for WebSocket/API traffic.
25
25
- Your tester can still open it on macOS by right-clicking the app and choosing **Open** on first launch.
26
26
- To keep staging files for debugging package contents, run: `bun run dist:desktop:dmg -- --keep-stage`
27
27
- To allow code-signing/notarization when configured in CI/secrets, add: `--signed`.
@@ -33,10 +33,10 @@
33
33
34
34
## Running multiple dev instances
35
35
36
-
Set `T3CODE_DEV_INSTANCE` to any value to deterministically shift all dev ports together.
36
+
Set `BCODE_DEV_INSTANCE` to any value to deterministically shift all dev ports together.
37
37
38
38
- Default ports: server `3773`, web `5733`
39
-
- Shifted ports: `base + offset` (offset is hashed from `T3CODE_DEV_INSTANCE`)
40
-
- Example: `T3CODE_DEV_INSTANCE=branch-a bun run dev:desktop`
39
+
- Shifted ports: `base + offset` (offset is hashed from `BCODE_DEV_INSTANCE`)
40
+
- Example: `BCODE_DEV_INSTANCE=branch-a bun run dev:desktop`
41
41
42
-
If you want full control instead of hashing, set `T3CODE_PORT_OFFSET` to a numeric offset.
42
+
If you want full control instead of hashing, set `BCODE_PORT_OFFSET` to a numeric offset.
0 commit comments