Skip to content

Open-source AI teammates in Slack, Teams, Discord, Telegram and Mattermost. Self-host it, with any agent harness and any model.

refactor: rename switchdash identifiers to switch-console — CHOO-2008 (#190)

Louis Amaudruz9e4fa37c85e6
diff --git a/.env.example b/.env.example
index 29d462b7e..f77490580 100644
--- a/.env.example
+++ b/.env.example
@@ -23,7 +23,7 @@ SWITCH_IMAGE_NAMESPACE=sandbox-quantum
SWITCH_VERSION=latest
# Host ports each service publishes. Defaults match the values baked in before
# these knobs existed; override any that clash with something already running on
-# your machine (switchdash's local-server mode picks free ports automatically).
+# your machine (Switch Console's local-server mode picks free ports automatically).
GATEWAY_HOST_PORT=3000
API_HOST_PORT=8000
MATTERMOST_HOST_PORT=8065
@@ -60,7 +60,7 @@ GATEWAY_ADMIN_PASSWORD=
FRONTEND_BASE_URL=http://localhost:5173
# Public origin of the gateway HTTP API (used to build the switchdash:// deeplink
-# HTTP redirect so "Open in SwitchDash" is clickable on Discord and other
+# HTTP redirect so "Open in Switch Console" is clickable on Discord and other
# http-only platforms). Leave unset to post the raw switchdash:// deeplink.
# GATEWAY_PUBLIC_URL=http://localhost:8000
diff --git a/.github/workflows/pr-ci.yml b/.github/workflows/pr-ci.yml
index d294deda2..62a89e7ec 100644
--- a/.github/workflows/pr-ci.yml
+++ b/.github/workflows/pr-ci.yml
@@ -2,7 +2,7 @@ name: PR CI
# Pull-request checks for the three code trees (core/, dash/, gateway/) plus a
# repo-wide secret scan. Complements the tag-driven release workflows
-# (switch-release.yml, switchdash-release.yml) — this file is the ongoing
+# (switch-release.yml, switch-console-release.yml) — this file is the ongoing
# per-PR gate, they publish on tags.
#
# Fork safety: this uses `pull_request` (NOT `pull_request_target`), so runs
@@ -67,7 +67,7 @@ jobs:
dash:
- *shared
- 'dash/**'
- # switchdash bundles a generated copy of this file, and the job
+ # Switch Console bundles a generated copy of this file, and the job
# below verifies the copy is current — so a change here has to
# run the dash job even though it lives outside dash/.
- 'deploy/local/standalone-docker-compose.yml'
@@ -85,8 +85,8 @@ jobs:
- 'core/pyproject.toml'
- 'dash/packages/shared/src/artifacts.ts'
- 'dash/packages/switch-agent-runtime/src/artifacts.ts'
- - 'dash/apps/switchdash-desktop/package.json'
- - 'dash/apps/switchdash-desktop/src/shared/app-identity*.ts'
+ - 'dash/apps/switch-console-desktop/package.json'
+ - 'dash/apps/switch-console-desktop/src/shared/app-identity*.ts'
- 'dash/packages/switch-agent-runtime/package.json'
- 'connectors/**/plugin.json'
@@ -125,7 +125,7 @@ jobs:
run: uv run --project core pytest -c core/pyproject.toml core/tests/
dash:
- name: Switchdash (dash)
+ name: Switch Console (dash)
needs: changes
if: ${{ needs.changes.outputs.dash == 'true' || github.event_name == 'push' }}
runs-on: ubuntu-latest
@@ -161,7 +161,7 @@ jobs:
# comment asking nicely, which is how it silently stopped running once
# already (CHOO-1865).
- name: Bundled standalone compose is current
- run: pnpm --filter switchdash-desktop run sync:compose:check
+ run: pnpm --filter switch-console-desktop run sync:compose:check
- name: Build workspace packages
run: pnpm -r --filter './packages/**' run build
diff --git a/.github/workflows/switch-agent-runtime-publish.yml b/.github/workflows/switch-agent-runtime-publish.yml
index b29a88bec..ff2a06fe9 100644
--- a/.github/workflows/switch-agent-runtime-publish.yml
+++ b/.github/workflows/switch-agent-runtime-publish.yml
@@ -1,7 +1,7 @@
# Publish the shared agent runtime to GitHub Packages.
#
# The package is consumed two ways, and only one of them needs a registry:
-# switchdash builds it from the workspace, so it never waits on a publish. The
+# Switch Console builds it from the workspace, so it never waits on a publish. The
# Claude Code plugin runs it with `npx`, and that needs a version to exist.
#
# Triggered by a tag, so a version can be published from a BRANCH — you should
diff --git a/.github/workflows/switchdash-release.yml b/.github/workflows/switch-console-release.yml
similarity index 83%
rename from .github/workflows/switchdash-release.yml
rename to .github/workflows/switch-console-release.yml
index 30cca72d9..89dc14979 100644
--- a/.github/workflows/switchdash-release.yml
+++ b/.github/workflows/switch-console-release.yml
@@ -1,6 +1,6 @@
-name: switchdash release
+name: Switch Console release
-# Builds the switchdash desktop app and publishes it to a GitHub Release on this
+# Builds the Switch Console desktop app and publishes it to a GitHub Release on this
# (private) repo, so anyone with repo-read access can install it without building
# from source. Release assets inherit the repo's read access — no separate ACL.
#
@@ -8,8 +8,8 @@ name: switchdash release
# unsigned. Windows is not built yet (needs an Authenticode / Azure Trusted
# Signing identity — tracked as a follow-up).
#
-# Trigger by pushing a tag like `switchdash-v1.1.34` (the version after
-# `switchdash-v` MUST match apps/switchdash-desktop/package.json `version`).
+# Trigger by pushing a tag like `switch-console-v1.1.34` (the version after
+# `switch-console-v` MUST match apps/switch-console-desktop/package.json `version`).
# `workflow_dispatch` builds the artifacts for testing without creating a Release.
#
# The Release stays a **draft** until every platform job has uploaded, and is
@@ -20,13 +20,12 @@ name: switchdash release
# Builds are signed + notarized with the org's Developer ID when the Apple secrets
# (APPLE_CSC_LINK / APPLE_CSC_KEY_PASSWORD / APPLE_API_KEY_P8 / APPLE_API_KEY_ID /
# APPLE_API_ISSUER) are present; without them they fall back to an unsigned ad-hoc
-# build. Auto-update is disabled in the shipped app (VITE_SWITCHDASH_AUTOUPDATE=off)
-# so it never pulls from the upstream release feed.
+# build.
on:
push:
tags:
- - 'switchdash-v*'
+ - 'switch-console-v*'
workflow_dispatch:
permissions:
@@ -53,11 +52,11 @@ jobs:
- name: Verify tag matches package.json version
run: |
- tag_version="${GITHUB_REF_NAME#switchdash-v}"
- pkg_version="$(node -p "require('./apps/switchdash-desktop/package.json').version")"
+ tag_version="${GITHUB_REF_NAME#switch-console-v}"
+ pkg_version="$(node -p "require('./apps/switch-console-desktop/package.json').version")"
echo "tag=$tag_version package.json=$pkg_version"
if [ "$tag_version" != "$pkg_version" ]; then
- echo "::error::Tag version ($tag_version) does not match apps/switchdash-desktop/package.json version ($pkg_version). Bump package.json and re-tag."
+ echo "::error::Tag version ($tag_version) does not match apps/switch-console-desktop/package.json version ($pkg_version). Bump package.json and re-tag."
exit 1
fi
@@ -65,17 +64,17 @@ jobs:
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
- version="${GITHUB_REF_NAME#switchdash-v}"
- notes="switchdash desktop app $version — macOS arm64 and Linux x64.
+ version="${GITHUB_REF_NAME#switch-console-v}"
+ notes="Switch Console desktop app $version — macOS arm64 and Linux x64.
- **macOS (arm64):** download the .dmg, open it, drag Switchdash to Applications. Signed and notarized with SandboxAQ's Developer ID — it opens without a Gatekeeper bypass.
+ **macOS (arm64):** download the .dmg, open it, drag Switch Console to Applications. Signed and notarized with SandboxAQ's Developer ID — it opens without a Gatekeeper bypass.
**Linux (x64):** download the .AppImage (\`chmod +x\` then run), the .deb (\`sudo apt install ./<file>.deb\`) or the .rpm (\`sudo dnf install ./<file>.rpm\`). Linux builds are unsigned.
In-app updates require a GitHub login via the gh CLI (\`gh auth login\`)."
gh release create "$GITHUB_REF_NAME" \
--repo "$GITHUB_REPOSITORY" \
- --title "switchdash $version" \
+ --title "Switch Console $version" \
--draft \
--notes "$notes"
@@ -114,11 +113,11 @@ jobs:
- name: Verify tag matches package.json version
if: startsWith(github.ref, 'refs/tags/')
run: |
- tag_version="${GITHUB_REF_NAME#switchdash-v}"
- pkg_version="$(node -p "require('./apps/switchdash-desktop/package.json').version")"
+ tag_version="${GITHUB_REF_NAME#switch-console-v}"
+ pkg_version="$(node -p "require('./apps/switch-console-desktop/package.json').version")"
echo "tag=$tag_version package.json=$pkg_version"
if [ "$tag_version" != "$pkg_version" ]; then
- echo "::error::Tag version ($tag_version) does not match apps/switchdash-desktop/package.json version ($pkg_version). Bump package.json and re-tag."
+ echo "::error::Tag version ($tag_version) does not match apps/switch-console-desktop/package.json version ($pkg_version). Bump package.json and re-tag."
exit 1
fi
@@ -128,7 +127,7 @@ jobs:
- name: Rebuild native modules for Electron
# postinstall skips electron-rebuild under CI; do it explicitly so
# better-sqlite3 / node-pty match the packaged Electron ABI.
- run: pnpm --filter @switchdash/switchdash-desktop run rebuild
+ run: pnpm --filter @switch-console/desktop run rebuild
- name: Build workspace packages + app
# Root recursive build (topological): packages/** then the desktop app.
@@ -145,7 +144,7 @@ jobs:
echo "APPLE_API_KEY=$RUNNER_TEMP/appstore/AuthKey.p8" >> "$GITHUB_ENV"
- name: Package (mac arm64, no publish)
- working-directory: dash/apps/switchdash-desktop
+ working-directory: dash/apps/switch-console-desktop
env:
# Developer ID signing: when the cert secret is set, electron-builder
# signs with it and the config enables notarization. When it's empty,
@@ -160,7 +159,7 @@ jobs:
- name: Upload to GitHub Release
if: startsWith(github.ref, 'refs/tags/')
- working-directory: dash/apps/switchdash-desktop
+ working-directory: dash/apps/switch-console-desktop
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
@@ -178,10 +177,10 @@ jobs:
if: ${{ !startsWith(github.ref, 'refs/tags/') }}
uses: actions/upload-artifact@v4
with:
- name: switchdash-macos-arm64
+ name: switch-console-macos-arm64
path: |
- dash/apps/switchdash-desktop/release/*.dmg
- dash/apps/switchdash-desktop/release/*.zip
+ dash/apps/switch-console-desktop/release/*.dmg
+ dash/apps/switch-console-desktop/release/*.zip
if-no-files-found: error
build-linux:
@@ -215,11 +214,11 @@ jobs:
- name: Verify tag matches package.json version
if: startsWith(github.ref, 'refs/tags/')
run: |
- tag_version="${GITHUB_REF_NAME#switchdash-v}"
- pkg_version="$(node -p "require('./apps/switchdash-desktop/package.json').version")"
+ tag_version="${GITHUB_REF_NAME#switch-console-v}"
+ pkg_version="$(node -p "require('./apps/switch-console-desktop/package.json').version")"
echo "tag=$tag_version package.json=$pkg_version"
if [ "$tag_version" != "$pkg_version" ]; then
- echo "::error::Tag version ($tag_version) does not match apps/switchdash-desktop/package.json version ($pkg_version). Bump package.json and re-tag."
+ echo "::error::Tag version ($tag_version) does not match apps/switch-console-desktop/package.json version ($pkg_version). Bump package.json and re-tag."
exit 1
fi
@@ -227,18 +226,18 @@ jobs:
run: pnpm install --frozen-lockfile
- name: Rebuild native modules for Electron
- run: pnpm --filter @switchdash/switchdash-desktop run rebuild
+ run: pnpm --filter @switch-console/desktop run rebuild
- name: Build workspace packages + app
run: pnpm run build
- name: Package (linux x64, no publish)
- working-directory: dash/apps/switchdash-desktop
+ working-directory: dash/apps/switch-console-desktop
run: pnpm exec electron-builder --linux --publish never --config electron-builder.config.ts
- name: Upload to GitHub Release
if: startsWith(github.ref, 'refs/tags/')
- working-directory: dash/apps/switchdash-desktop
+ working-directory: dash/apps/switch-console-desktop
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
@@ -254,11 +253,11 @@ jobs:
if: ${{ !startsWith(github.ref, 'refs/tags/') }}
uses: actions/upload-artifact@v4
with:
- name: switchdash-linux-x64
+ name: switch-console-linux-x64
path: |
- dash/apps/switchdash-desktop/release/*.AppImage
- dash/apps/switchdash-desktop/release/*.deb
- dash/apps/switchdash-desktop/release/*.rpm
+ dash/apps/switch-console-desktop/release/*.AppImage
+ dash/apps/switch-console-desktop/release/*.deb
+ dash/apps/switch-console-desktop/release/*.rpm
if-no-files-found: error
# Flips the draft to a published Release, once — and only once — every platform
diff --git a/.github/workflows/switch-release.yml b/.github/workflows/switch-release.yml
index 1b830bba0..539030626 100644
--- a/.github/workflows/switch-release.yml
+++ b/.github/workflows/switch-release.yml
@@ -186,7 +186,7 @@ jobs:
- name: Push compose artifact
# Publishes deploy/local/standalone-docker-compose.yml to GHCR as an OCI
# artifact, stamped with the same version as the images so a single tag
- # pins the whole standalone stack. switchdash bundles this exact file at
+ # pins the whole standalone stack. Switch Console bundles this exact file at
# build time. `latest` moves with each release.
if: ${{ needs.prep.outputs.push == 'true' }}
working-directory: deploy/local
diff --git a/.gitleaks.toml b/.gitleaks.toml
index 179c10337..c4b51d0a5 100644
--- a/.gitleaks.toml
+++ b/.gitleaks.toml
@@ -15,5 +15,5 @@ regexes = [
]
paths = [
# Log-redaction tests exercise deliberately fake vendor tokens.
- '''dash/apps/switchdash-desktop/src/main/lib/file-logger\.test\.ts$''',
+ '''dash/apps/switch-console-desktop/src/main/lib/file-logger\.test\.ts$''',
]
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 731981b32..46e546d7c 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -18,14 +18,14 @@ leaves its contracts alone.
- **switch-core** — the backend service (`core/`). Released by tagging
`switch-v<version>`; the version lives in `core/pyproject.toml`. See
[RELEASING.md](RELEASING.md).
-- **switchdash** — the desktop app (`dash/`). Released by tagging
- `switchdash-v<version>`; the version lives in
- `dash/apps/switchdash-desktop/package.json`.
+- **switch-console** — the desktop app (`dash/`). Released by tagging
+ `switch-console-v<version>`; the version lives in
+ `dash/apps/switch-console-desktop/package.json`.
- **agent-runtime** — the Switch protocol client and MCP runtime
(`dash/packages/switch-agent-runtime/`), published to a package registry.
-- **sidecar** — the remote runtime switchdash deploys to an agent host
- (`dash/apps/switchdash-desktop/src/sidecar/`). Versioned in
- `sidecar-version.ts` and deployed by switchdash, not published separately.
+- **sidecar** — the remote runtime Switch Console deploys to an agent host
+ (`dash/apps/switch-console-desktop/src/sidecar/`). Versioned in
+ `sidecar-version.ts` and deployed by Switch Console, not published separately.
- **switch-connector** / **switch-connector-codex** — the two connector plugins
(`connectors/`), versioned in their respective plugin manifests.
@@ -292,7 +292,7 @@ version of their own to them without also giving them a release of their own.
---
-## switchdash
+## switch-console
### [Unreleased]
@@ -493,7 +493,7 @@ version of their own to them without also giving them a release of their own.
so nothing could ever produce an activity update (CHOO-1935).
- In-app release links resolve again: the sidebar update indicator and the
Settings Update card pointed at `.../releases/tag/v<version>`, which is not a
- real tag (the app is tagged `switchdash-v<version>`), so the user hit a 404;
+ real tag (the app is tagged `switch-console-v<version>`), so the user hit a 404;
the release-notes fetch had the same broken tag and now also authenticates
with the gh CLI token so it can read the private release feed instead of
silently returning nothing (#134).
@@ -833,7 +833,7 @@ migrations 0031–0036, including a locations backfill).
the existing file fails (local, remote-SSH, and plugin-fs providers).
Desktop-app releases predating this changelog live in the git log and in the
-per-release notes on their GitHub Releases (`switchdash-v*` tags).
+per-release notes on their GitHub Releases (`switch-console-v*` tags).
---
diff --git a/RELEASING.md b/RELEASING.md
index 0adfc730b..7043aeaee 100644
--- a/RELEASING.md
+++ b/RELEASING.md
@@ -3,7 +3,7 @@
This describes how to cut a release of the **Switch core stack** — the
`switch-core`, `gateway`, and `setup` container images, the Helm chart, and the
standalone Docker Compose file. The Switch Console desktop app releases separately
-(see `.github/workflows/switchdash-release.yml` and `dash/docs/INSTALL.md`).
+(see `.github/workflows/switch-console-release.yml` and `dash/docs/INSTALL.md`).
## Versioning
@@ -35,7 +35,7 @@ Do not give any of them a version of their own without also giving it a release
of its own — a version nobody publishes independently is a number that drifts
from reality, which is exactly what `Chart.yaml` did while it claimed `0.2.1`.
-The separately-versioned artifacts are switch-core, switchdash, the
+The separately-versioned artifacts are switch-core, switch-console, the
agent-runtime package, the sidecar, and the two connector plugins.
### A known gap: the Helm chart has no contract
@@ -63,7 +63,7 @@ peer still on it, and it can never be raised past what is running in the field.
1. **Bump the version** in `core/pyproject.toml` (`[project].version`).
2. **Update `CHANGELOG.md`**: under the `## switch-core` section, move the
`### [Unreleased]` items under a new `### [X.Y.Z]` heading and note the date.
- (The desktop app has its own `## switchdash` section, versioned separately.)
+ (The desktop app has its own `## switch-console` section, versioned separately.)
3. **Commit** the bump + changelog on a release branch and merge to `main`.
4. **Tag and push**: the tag MUST be `switch-v<version>` and match
`core/pyproject.toml` (the workflow verifies this and fails on mismatch):
@@ -85,11 +85,11 @@ build without creating a release.
## Switch Console desktop app release (separate)
-The desktop app (`dash/`) releases on its own tag, `switchdash-v<version>`, via
-`.github/workflows/switchdash-release.yml`. The tag MUST match
-`dash/apps/switchdash-desktop/package.json` `version` (the workflow verifies
+The desktop app (`dash/`) releases on its own tag, `switch-console-v<version>`, via
+`.github/workflows/switch-console-release.yml`. The tag MUST match
+`dash/apps/switch-console-desktop/package.json` `version` (the workflow verifies
this and fails on mismatch). Procedure: bump `package.json`, cut the
-`## switchdash` `CHANGELOG.md` section, merge to `main`, tag, push. The workflow
+`## switch-console` `CHANGELOG.md` section, merge to `main`, tag, push. The workflow
publishes a **GitHub Release** (macOS arm64 signed + notarized; Linux x64
AppImage/deb/rpm, unsigned).
@@ -101,7 +101,7 @@ the Linux build runs immediately, but the **signed + notarized macOS
run**. The release is therefore **incomplete until approved**.
**Mandatory step — ping the approver on tag push.** The moment a
-`switchdash-v*` tag is pushed, the releaser MUST send `louis.amaudruz` a
+`switch-console-v*` tag is pushed, the releaser MUST send `louis.amaudruz` a
targeted message with the Actions run URL, stating the run is paused awaiting
his approval in the `release` environment, and asking him to approve. Do not
wait silently — the macOS build cannot proceed until he approves. Only after
@@ -174,5 +174,5 @@ change. The full list:
`dash/packages/plugins/src/distribution.ts` (used by the Claude
connector plugin descriptor).
- **Switch Console auto-update target** — `RELEASE_REPO_OWNER` / `RELEASE_REPO_NAME`
- in `dash/apps/switchdash-desktop/src/shared/app-identity.ts` (mirrored
+ in `dash/apps/switch-console-desktop/src/shared/app-identity.ts` (mirrored
in `app-identity.canary.ts`), consumed by both electron-builder configs.
diff --git a/artifacts.yaml b/artifacts.yaml
index d18655805..943e36241 100644
--- a/artifacts.yaml
+++ b/artifacts.yaml
@@ -64,18 +64,18 @@ artifacts:
declared_in: core/pyproject.toml
published_as: switch-core
- switchdash:
+ switch-console:
description: The desktop app.
version: 0.19.3
- declared_in: dash/apps/switchdash-desktop/package.json
+ declared_in: dash/apps/switch-console-desktop/package.json
# Which switch-core release this app build bundles and pulls for
# local-server mode. DELIBERATELY NOT switch-core's version above.
#
# They coincide today, and must not be wired together: bumping
# core/pyproject.toml is the first step of cutting a switch-core release, so
- # a derived pin would immediately point switchdash at images that do not
+ # a derived pin would immediately point Switch Console at images that do not
# exist on the registry yet and break local-server mode for everyone on
- # main. This moves only when switchdash is ready to bundle that release —
+ # main. This moves only when Switch Console is ready to bundle that release —
# in lockstep with the bundled compose.
pins:
switch-core: 0.12.3
@@ -87,7 +87,7 @@ artifacts:
sidecar:
description: >-
- The remote runtime switchdash deploys to an agent host. Deployed rather
+ The remote runtime Switch Console deploys to an agent host. Deployed rather
than published, so nothing else declares its version — this file is its
only source and the constant is generated from it.
version: 1.8.0
@@ -120,7 +120,7 @@ artifacts:
compose:
description: >-
The standalone compose file, published as an OCI artifact. Unlike the
- chart this one has a real peer — switchdash's local-server mode drives it
+ chart this one has a real peer — Switch Console's local-server mode drives it
— so it does carry a contract, below.
version_from: switch-core
published_as: standalone-compose
@@ -153,23 +153,23 @@ contracts:
wrong.
artifacts:
switch-core: { speaks: 1, accepts: 1 }
- switchdash: { speaks: 1, accepts: 1 }
+ switch-console: { speaks: 1, accepts: 1 }
stack-compose:
description: >-
The interface of the published standalone compose artifact — its service
- names, profiles, and environment variables — which switchdash's
+ names, profiles, and environment variables — which Switch Console's
local-server mode drives.
artifacts:
- switchdash: { speaks: 1, accepts: 1 }
+ switch-console: { speaks: 1, accepts: 1 }
compose: { speaks: 1, accepts: 1 }
sidecar-control:
description: >-
- How switchdash controls a deployed sidecar on a remote host: the ready
+ How Switch Console controls a deployed sidecar on a remote host: the ready
file it reads, and the control channel it opens.
artifacts:
- switchdash: { speaks: 1, accepts: 1 }
+ switch-console: { speaks: 1, accepts: 1 }
sidecar: { speaks: 1, accepts: 1 }
db-schema:
diff --git a/core/switch_core/artifacts.py b/core/switch_core/artifacts.py
index e728988ed..6c9804460 100644
--- a/core/switch_core/artifacts.py
+++ b/core/switch_core/artifacts.py
@@ -21,7 +21,7 @@ class ContractRange(NamedTuple):
# CONTRACTS below. The two must never be derived from one another.
ARTIFACT_VERSIONS: Final[dict[str, str]] = {
"switch-core": "0.12.4",
- "switchdash": "0.19.3",
+ "switch-console": "0.19.3",
"agent-runtime": "0.2.0",
"sidecar": "1.8.0",
"gateway": "0.12.4",
@@ -41,16 +41,16 @@ CONTRACTS: Final[dict[str, dict[str, ContractRange]]] = {
# The HTTP API switch-core serves to first-party UI clients. Excludes the authentication surface, which is deliberately frozen and unversioned so that a client can always authenticate far enough to be told what is wrong.
"gateway-api": {
"switch-core": ContractRange(speaks=1, accepts=1),
- "switchdash": ContractRange(speaks=1, accepts=1),
+ "switch-console": ContractRange(speaks=1, accepts=1),
},
- # The interface of the published standalone compose artifact — its service names, profiles, and environment variables — which switchdash's local-server mode drives.
+ # The interface of the published standalone compose artifact — its service names, profiles, and environment variables — which Switch Console's local-server mode drives.
"stack-compose": {
- "switchdash": ContractRange(speaks=1, accepts=1),
+ "switch-console": ContractRange(speaks=1, accepts=1),
"compose": ContractRange(speaks=1, accepts=1),
},
- # How switchdash controls a deployed sidecar on a remote host: the ready file it reads, and the control channel it opens.
+ # How Switch Console controls a deployed sidecar on a remote host: the ready file it reads, and the control channel it opens.
"sidecar-control": {
- "switchdash": ContractRange(speaks=1, accepts=1),
+ "switch-console": ContractRange(speaks=1, accepts=1),
"sidecar": ContractRange(speaks=1, accepts=1),
},
# The database schema switch-core expects. Internal to switch-core — this contract is never disclosed in an externally facing response.
diff --git a/core/switch_core/bridges/agent/api/handlers.py b/core/switch_core/bridges/agent/api/handlers.py
index 233061b81..c3c75a4da 100644
--- a/core/switch_core/bridges/agent/api/handlers.py
+++ b/core/switch_core/bridges/agent/api/handlers.py
@@ -559,7 +559,7 @@ async def watch_heartbeat(
) -> dict[str, bool]:
"""Refresh an auto_session connector's global "watching" heartbeat.
- Pinged on a cadence by the connector (switchdash) while it is watching this
+ Pinged on a cadence by the connector (Switch Console) while it is watching this
agent's rooms. Keeps the agent reporting DORMANT (rather than offline) in
rooms with no live session, so addressing it yields a "Starting a session…"
reply while the connector spins one up. Room-agnostic; decoupled from the
@@ -597,7 +597,7 @@ async def set_runtime_state(
"""Report the agent's session runtime state (working/awaiting-input/idle).
Persists the state and emits a room event the collaboration bridge surfaces
- on the bridged channel. Reported by the switchdash connector for sessions
+ on the bridged channel. Reported by the Switch Console connector for sessions
it manages.
"""
try:
diff --git a/core/switch_core/bridges/agent/api/schemas.py b/core/switch_core/bridges/agent/api/schemas.py
index 367902813..e61c54419 100644
--- a/core/switch_core/bridges/agent/api/schemas.py
+++ b/core/switch_core/bridges/agent/api/schemas.py
@@ -151,19 +151,19 @@ class RuntimeStateRequest(BaseModel):
# message — not merely because one arrived. Report the same value on a
# periodic refresh; only a genuine change moves the indicator.
anchor_event_id: str | None = None
- # A `switchdash://session?…` deeplink switchdash builds so the bridged
+ # A `switchdash://session?…` deeplink Switch Console builds so the bridged
# working / awaiting-input message can link back to its session. Relayed
# verbatim to the channel; null for connectors that don't manage a UI.
deeplink_url: str | None = None
# A short, human-readable line describing what the agent is doing right now
# (e.g. "Editing room-connection.ts", "Running git push"). The connector
- # (switchdash) decides granularity and wording; the bridge surfaces it in
+ # (Switch Console) decides granularity and wording; the bridge surfaces it in
# place on the live "working on it…" message. Only meaningful while
# `state == "working"`; null falls back to the generic "working on it…".
detail: str | None = None
# Which session-control commands this managed session can execute, e.g.
# {"reset": true, "compact": true, "interrupt": true}. Reported by
- # switchdash for sessions it controls; null for connectors that can't be
+ # Switch Console for sessions it controls; null for connectors that can't be
# controlled (a session_dependent command then resolves to unsupported).
control_capabilities: dict[str, bool] | None = None
diff --git a/core/switch_core/bridges/agent/commands.py b/core/switch_core/bridges/agent/commands.py
index 5577f811e..372c27c24 100644
--- a/core/switch_core/bridges/agent/commands.py
+++ b/core/switch_core/bridges/agent/commands.py
@@ -255,11 +255,11 @@ async def _dispatch_control_command(
integration profile, then — for `session_dependent` — checks that a live
session actually reports it can execute the command (via its runtime-state
control capabilities). When actionable, acknowledges in the room and queues
- a `command` event for the agent's controller (e.g. switchdash) to execute.
+ a `command` event for the agent's controller (e.g. Switch Console) to execute.
Two distinct "can't act" cases are reported separately: no live session in
the room at all (`no_live_session_msg`) vs. a live session that can't be
- controlled from here — e.g. not started from switchdash (`no_session_msg`).
+ controlled from here — e.g. not started from Switch Console (`no_session_msg`).
"""
agent = await client._fresh_agent()
profile = agent.integration_profile or {}
@@ -310,7 +310,7 @@ async def _dispatch_control_command(
args = role or ""
# Mirror the runtime "working" surface: link back to the session in
- # switchdash when we know its deeplink.
+ # Switch Console when we know its deeplink.
body = f"{ack} ([Open in Switch Console]({deeplink}))" if deeplink else ack
await _reply(client, room, event, body)
client._event_buffer.enqueue(
@@ -347,7 +347,7 @@ async def _cmd_reset(
),
no_session_msg=(
"My session can't be reset from here — it wasn't started from "
- "switchdash, so my operator needs to reset it manually (e.g. by "
+ "Switch Console, so my operator needs to reset it manually (e.g. by "
"restarting my session)."
),
)
@@ -368,7 +368,7 @@ async def _cmd_compact(
),
no_session_msg=(
"I can't compact from here — my session wasn't started from "
- "switchdash, so my operator needs to compact it manually."
+ "Switch Console, so my operator needs to compact it manually."
),
)
@@ -388,7 +388,7 @@ async def _cmd_interrupt(
),
no_session_msg=(
"I can't be interrupted from here — my session wasn't started from "
- "switchdash, so my operator needs to interrupt it manually."
+ "Switch Console, so my operator needs to interrupt it manually."
),
)
@@ -649,7 +649,7 @@ def _format_status_lines(
) -> str:
"""Render the !status summary: one line per agent (sorted by name) with
its presence emoji + label, runtime state (if any), agent_type, task
- capabilities, and a switchdash deeplink to its session when one is known.
+ capabilities, and a Switch Console deeplink to its session when one is known.
The deeplink is shown only for an agent whose session is LIVE in this room:
the stored link is per (agent, room) and survives a room switch, so once the
diff --git a/core/switch_core/bridges/agent/protocol/service.py b/core/switch_core/bridges/agent/protocol/service.py
index e6db1116d..aee3763d9 100644
--- a/core/switch_core/bridges/agent/protocol/service.py
+++ b/core/switch_core/bridges/agent/protocol/service.py
@@ -1076,7 +1076,7 @@ class ProtocolService:
Persists the latest state (so it is queryable via `!status`) and emits
a `com.switch.agent.runtime_state` room event the collaboration bridge
picks up to surface the state on the bridged channel. Reported by the
- switchdash connector as its managed session transitions.
+ Switch Console connector as its managed session transitions.
`thread_id` (the triggering message's thread, when it was in one) rides
the event so the bridge can surface the state in that thread. It is
@@ -1609,7 +1609,7 @@ class ProtocolService:
"""Refresh an auto_session connector's global "watching" heartbeat.
Pinged on a cadence (well under ALWAYS_ON_TTL) by the connector
- (switchdash) while it is watching this agent's rooms. Makes the agent
+ (Switch Console) while it is watching this agent's rooms. Makes the agent
report DORMANT (rather than DISCONNECTED) in rooms where it has no live
session, which licenses the "Starting a session…" reply when addressed.
Uses the room-agnostic (room_id=None) heartbeat slot.
diff --git a/core/switch_core/bridges/agent/protocol/types.py b/core/switch_core/bridges/agent/protocol/types.py
index bed411f13..243a8d5c7 100644
--- a/core/switch_core/bridges/agent/protocol/types.py
+++ b/core/switch_core/bridges/agent/protocol/types.py
@@ -18,7 +18,7 @@ class TaskProtocolConfig(BaseModel):
# - "unsupported": the command never applies to this agent-type.
# - "always": the agent-type can always act on it, regardless of session.
# - "session_dependent": support depends on the specific live session — e.g.
-# a Claude Code session launched from switchdash can be controlled, but a
+# a Claude Code session launched from Switch Console can be controlled, but a
# standalone `claude` session started in a plain terminal cannot. The live
# session declares its own capabilities via AgentRuntimeState.
CommandLevel = Literal["unsupported", "always", "session_dependent"]
@@ -207,7 +207,7 @@ class CommandPayload(BaseModel):
user_id: str
user_name: str
# Thread root of the originating command message, so a controller executing
- # the command (e.g. switchdash on reset/compact) can have the agent post its
+ # the command (e.g. Switch Console on reset/compact) can have the agent post its
# completion notice back into that same thread. None when the command was
# not in a thread.
thread_id: str | None = None
diff --git a/core/switch_core/bridges/collaboration/adapter.py b/core/switch_core/bridges/collaboration/adapter.py
index a6541ca2f..910b4ba83 100644
--- a/core/switch_core/bridges/collaboration/adapter.py
+++ b/core/switch_core/bridges/collaboration/adapter.py
@@ -240,7 +240,7 @@ class CollaborationAdapter(ABC):
deeplink_url: str | None = None,
detail: str | None = None,
) -> None:
- """Surface a switchdash-managed agent's runtime state on the channel.
+ """Surface a Switch Console-managed agent's runtime state on the channel.
How a state is rendered is the adapter's choice — this default uses the
typing indicator for ``working``. Slack and Mattermost override this to
@@ -251,7 +251,7 @@ class CollaborationAdapter(ABC):
message belonged to; the state surfaces in that thread.
``deeplink_url``, when set, is an https link (served by the gateway) that
- opens the agent's session in the switchdash desktop app; adapters that
+ opens the agent's session in the Switch Console desktop app; adapters that
post a visible status message append it so a reader can jump there.
- ``working`` → typing on.
@@ -402,7 +402,7 @@ class CollaborationAdapter(ABC):
async def channel_deeplink(self, external_channel_id: str) -> str | None:
"""Native deeplink that opens this channel in the platform's desktop
- app (switchdash → messaging app direction), or None when the platform
+ app (Switch Console → messaging app direction), or None when the platform
has no such scheme or the link cannot be built.
Each platform owns its link format here — Slack builds a ``slack://``
diff --git a/core/switch_core/config.py b/core/switch_core/config.py
index a9912c70c..f5139e313 100644
--- a/core/switch_core/config.py
+++ b/core/switch_core/config.py
@@ -59,7 +59,7 @@ class SwitchConfig(BaseSettings):
frontend_base_url: str | None = None
# Public origin (scheme + host, no path) of the Switch API — the same host
- # switchdash reports as its `server`, e.g. https://switch-api.<tailnet>.ts.net.
+ # Switch Console reports as its `server`, e.g. https://switch-api.<tailnet>.ts.net.
# Distinct from `frontend_base_url`, which is the operator UI. Powers the
# `switchdash://` deeplink HTTP redirect (`/deeplink/session`, served on the
# agent-bridge app) so the "Open in Switch Console" link is clickable on platforms
diff --git a/core/switch_core/db/models.py b/core/switch_core/db/models.py
index d697d6d76..5a9408ec4 100644
--- a/core/switch_core/db/models.py
+++ b/core/switch_core/db/models.py
@@ -611,7 +611,7 @@ class AgentRuntimeState(Base):
Distinct from `AgentSession` (which tracks *reachability*): this captures
what the agent's live session is *doing* — `'working'`, `'awaiting-input'`,
- or `'idle'` — derived from the switchdash-managed Claude Code session and
+ or `'idle'` — derived from the Switch Console-managed Claude Code session and
surfaced on the room's bridged channel. One row per (agent, room), mirroring
the `AgentSession` grain, so a state is conceptually tied to that room's
session: when the session's heartbeat lapses the sweep resets the row to
@@ -633,13 +633,13 @@ class AgentRuntimeState(Base):
Text, ForeignKey("rooms.id", ondelete="CASCADE"), nullable=False
)
state: Mapped[str] = mapped_column(Text, nullable=False)
- # The switchdash://session deeplink the reporting client (switchdash) last
+ # The switchdash://session deeplink the reporting client (Switch Console) last
# sent for this (agent, room), so `!status` can surface an on-demand link to
# the session. Null for agents whose connector doesn't report one.
deeplink_url: Mapped[str | None] = mapped_column(Text, nullable=True)
# Which session-control commands (reset/compact/interrupt) the live session
# behind this (agent, room) can execute, as reported by its controller
- # (switchdash) — e.g. {"reset": true, "compact": true, "interrupt": true}.
+ # (Switch Console) — e.g. {"reset": true, "compact": true, "interrupt": true}.
# Null when no controller reports capabilities (e.g. a standalone `claude`
# session), which resolves session_dependent commands to "unsupported".
control_capabilities: Mapped[dict | None] = mapped_column(JSONB, nullable=True)
diff --git a/core/switch_core/db/stores/agent_runtime_state_store.py b/core/switch_core/db/stores/agent_runtime_state_store.py
index 0d85fc50c..20ea5c8a8 100644
--- a/core/switch_core/db/stores/agent_runtime_state_store.py
+++ b/core/switch_core/db/stores/agent_runtime_state_store.py
@@ -15,7 +15,7 @@ IDLE = "idle"
class AgentRuntimeStateStore:
"""Per-(agent, room) runtime state — what an agent's session is doing.
- One row per (agent, room), upserted as the switchdash-managed session
+ One row per (agent, room), upserted as the Switch Console-managed session
transitions. Not a liveness store (that is `AgentSessionStore`); this only
records the last reported state so it can be queried (`!status`) and
re-surfaced on the bridge.
diff --git a/core/switch_core/deeplinks.py b/core/switch_core/deeplinks.py
index 313a711e5..4aa10d34d 100644
--- a/core/switch_core/deeplinks.py
+++ b/core/switch_core/deeplinks.py
@@ -2,7 +2,7 @@ from __future__ import annotations
from urllib.parse import urlsplit
-# Scheme + host of the switchdash session deeplink switchdash reports with its
+# Scheme + host of the Switch Console session deeplink Switch Console reports with its
# runtime state, e.g. `switchdash://session?server=…&agent=…&room=…&session=…`.
# urlsplit maps the part after `://` and before `?` to `netloc`, so a session
# deeplink is `scheme == "switchdash"` and `netloc == "session"`.
@@ -29,7 +29,7 @@ def switchdash_to_gateway(deeplink_url: str, gateway_public_url: str) -> str | N
parts = urlsplit(deeplink_url)
if parts.scheme != _DEEPLINK_SCHEME or parts.netloc != _DEEPLINK_HOST:
return None
- # Only the query is carried across — switchdash session deeplinks never carry
+ # Only the query is carried across — Switch Console session deeplinks never carry
# a fragment, so there is nothing to preserve there.
base = gateway_public_url.rstrip("/")
query = f"?{parts.query}" if parts.query else ""
diff --git a/core/switch_core/events.py b/core/switch_core/events.py
index a1d54f29d..0f9874db3 100644
--- a/core/switch_core/events.py
+++ b/core/switch_core/events.py
@@ -145,7 +145,7 @@ class AgentRuntimeStateEvent(SwitchEvent):
state: str
notify_user: str | None = None
thread_id: str | None = None
- # A `switchdash://session?…` deeplink the reporting client (switchdash)
+ # A `switchdash://session?…` deeplink the reporting client (Switch Console)
# built so the bridged message can link back to its session. Relayed as-is;
# switch-core does not construct it. None for clients that don't supply one.
deeplink_url: str | None = None
diff --git a/core/switch_core/gateway/known_agents.py b/core/switch_core/gateway/known_agents.py
index 44f42a11f..13e4047e1 100644
--- a/core/switch_core/gateway/known_agents.py
+++ b/core/switch_core/gateway/known_agents.py
@@ -93,7 +93,7 @@ class ClaudeCodeOptions(KnownAgentOptions):
instead of `session_addressable`."""
auto_session: bool = False
- """When True, the operator's connector (switchdash) watches every room this
+ """When True, the operator's connector (Switch Console) watches every room this
agent belongs to and automatically spins up a Claude Code session — wired
to the right working dir/identity and connected to the room — the moment the
agent is addressed in a room where it has no live session. The registered
@@ -178,7 +178,7 @@ class ClaudeCodeKnownAgent(KnownAgent):
event_reporting=["tool_calls"],
task_protocol=TaskProtocolConfig(can_delegate=True, can_accept=True),
# Claude Code can reset / compact / interrupt only when a session is
- # driving it from switchdash (which can inject keystrokes and
+ # driving it from Switch Console (which can inject keystrokes and
# relaunch it). A standalone `claude` session can't be controlled,
# so all three resolve per live session via AgentRuntimeState.
command_capabilities=CommandCapabilities(
@@ -299,11 +299,11 @@ class ClaudeCodeKnownAgent(KnownAgent):
class CodexOptions(KnownAgentOptions):
auto_session: bool = False
- """When True, the operator's connector (switchdash) watches every room this
+ """When True, the operator's connector (Switch Console) watches every room this
agent belongs to and auto-spawns a Codex session — connected to the room and
wired to the agent's identity — the moment the agent is addressed in a room
where it has no live session. The registered profile becomes `auto_session`.
- Codex has no plugin-channel of its own; switchdash delivers inbound room
+ Codex has no plugin-channel of its own; Switch Console delivers inbound room
messages by injecting them into the session's terminal (CHOO-1436)."""
repo_dir: str | None = None
@@ -317,7 +317,7 @@ class CodexOptions(KnownAgentOptions):
unavailable-session message so the operator gets a notification. Bare name,
no leading `@`. None → post without a mention."""
- # No `channels_enabled`: switchdash sends it for every provider, but Codex
+ # No `channels_enabled`: Switch Console sends it for every provider, but Codex
# has no connector channel of its own, so nothing here could act on it.
# `KnownAgentOptions` ignores unknown keys, so the shared registration path
# still works — and the schema-driven gateway form does not render a control
@@ -344,7 +344,7 @@ class CodexKnownAgent(KnownAgent):
@classmethod
def build_profile(cls, options: KnownAgentOptions) -> IntegrationProfile:
assert isinstance(options, CodexOptions)
- # switchdash watches + auto-spawns when auto_session; otherwise it keeps a
+ # Switch Console watches + auto-spawns when auto_session; otherwise it keeps a
# session live and delivers messages by terminal injection, which is the
# session_addressable model. Codex does not report per-tool events or
# mediate tool calls (it runs auto-approved), so those lists stay empty —
@@ -360,7 +360,7 @@ class CodexKnownAgent(KnownAgent):
event_reporting=[],
task_protocol=TaskProtocolConfig(can_delegate=True, can_accept=True),
# Same story as Claude Code: Codex is a TUI, so reset / compact /
- # interrupt only work when switchdash is driving the session and can
+ # interrupt only work when Switch Console is driving the session and can
# inject keystrokes. A standalone `codex` can't be controlled, so all
# three resolve per live session via AgentRuntimeState.
command_capabilities=CommandCapabilities(
@@ -384,7 +384,7 @@ class CodexKnownAgent(KnownAgent):
Mirrors the Claude Code shape but emits a `codex "…"` command (never a
`claude` one) and omits Claude-specific flags. Codex sessions are normally
- auto-managed by switchdash, so this fallback is shown mainly when no
+ auto-managed by Switch Console, so this fallback is shown mainly when no
connector is watching.
"""
assert isinstance(options, CodexOptions)
diff --git a/core/tests/switch_core/bridges/agent/operations/test_connect_claims_room.py b/core/tests/switch_core/bridges/agent/operations/test_connect_claims_room.py
index 938d37c63..2b1eaddbf 100644
--- a/core/tests/switch_core/bridges/agent/operations/test_connect_claims_room.py
+++ b/core/tests/switch_core/bridges/agent/operations/test_connect_claims_room.py
@@ -8,7 +8,7 @@ remember. Two consequences, and the second is the point:
room its own connection does not cover;
- the claim lands on that connection's stream as `subscription_changed`, so a
supervisor holding the connection learns the room **from Switch** instead of
- reading the agent's tool result. Reading the tool result is what switchdash
+ reading the agent's tool result. Reading the tool result is what Switch Console
did, and it broke silently the moment the result's shape changed.
The claim is also what resolves a second session (CHOO-1419): a live claimant is
@@ -132,7 +132,7 @@ def test_the_evicted_session_is_woken_so_it_learns_it_lost_the_room() -> None:
"""The loser has to find out, and its stream is the only way it can.
Without the wake it stays blocked on its read, still believing it holds the
- room, and switchdash keeps showing it under that room.
+ room, and Switch Console keeps showing it under that room.
"""
registry = ConnectionRegistry()
incumbent = _open(registry, "first-session")
diff --git a/core/tests/switch_core/bridges/agent/operations/test_connect_to_room_eviction.py b/core/tests/switch_core/bridges/agent/operations/test_connect_to_room_eviction.py
index e0a15d1b1..2ce08e0e5 100644
--- a/core/tests/switch_core/bridges/agent/operations/test_connect_to_room_eviction.py
+++ b/core/tests/switch_core/bridges/agent/operations/test_connect_to_room_eviction.py
@@ -203,11 +203,11 @@ async def test_the_second_session_actually_gets_the_room(harness: Any) -> None:
async def test_the_evicted_session_is_woken_so_its_stream_reports_the_loss(
harness: Any,
) -> None:
- """How the loser — and through it, switchdash's sidebar — finds out.
+ """How the loser — and through it, Switch Console's sidebar — finds out.
The eviction reaches the previous holder as `subscription_changed` on its
own stream. Its client clears the room from the session, which is what stops
- switchdash showing two sessions under one room.
+ Switch Console showing two sessions under one room.
"""
first = _open(harness.registry, "session-one")
await _connect_as("session-one")
diff --git a/core/tests/switch_core/bridges/agent/protocol/test_stream.py b/core/tests/switch_core/bridges/agent/protocol/test_stream.py
index 3779a6722..20b5ca4cd 100644
--- a/core/tests/switch_core/bridges/agent/protocol/test_stream.py
+++ b/core/tests/switch_core/bridges/agent/protocol/test_stream.py
@@ -456,7 +456,7 @@ class TestALapsedHeartbeatStopsDelivery:
handing over events. That pairing is undetectable from either side: the
client sees traffic and assumes it is healthy, the room is told the agent is
offline. It is what produced "my connector isn't reporting in" while
- switchdash was demonstrably receiving the same message and spawning a
+ Switch Console was demonstrably receiving the same message and spawning a
session from it.
"""
diff --git a/core/tests/switch_core/bridges/agent/test_control_commands.py b/core/tests/switch_core/bridges/agent/test_control_commands.py
index 1d83aecb9..d57ea48dc 100644
--- a/core/tests/switch_core/bridges/agent/test_control_commands.py
+++ b/core/tests/switch_core/bridges/agent/test_control_commands.py
@@ -118,7 +118,7 @@ async def test_no_live_session_reports_nothing_to_reset(
)
# No live session at all → the "nothing to reset" message, NOT the
- # "wasn't started from switchdash" one, and nothing is enqueued.
+ # "wasn't started from Switch Console" one, and nothing is enqueued.
assert len(reply.bodies) == 1
assert "nothing to reset" in reply.bodies[0]
assert enqueue == []
@@ -144,7 +144,7 @@ async def test_live_session_without_capability_reports_switchdash(
)
assert len(reply.bodies) == 1
- assert "switchdash" in reply.bodies[0]
+ assert "Switch Console" in reply.bodies[0]
assert enqueue == []
diff --git a/core/tests/switch_core/gateway/test_auth_refresh.py b/core/tests/switch_core/gateway/test_auth_refresh.py
index deb6f784a..606c7ddd4 100644
--- a/core/tests/switch_core/gateway/test_auth_refresh.py
+++ b/core/tests/switch_core/gateway/test_auth_refresh.py
@@ -1,7 +1,7 @@
"""Tests for the silent session-renewal endpoint (CHOO-1435).
`POST /gateway/auth/refresh` re-mints the `switch_auth` cookie for a caller
-whose current cookie is still valid, so an active switchdash client renews its
+whose current cookie is still valid, so an active Switch Console client renews its
session before expiry without bouncing the user to sign-in. The route depends
on `get_current_user`, which already rejects a missing/expired/invalid cookie
with 401 — so an expired session cannot renew itself. Here we exercise the
diff --git a/core/tests/switch_core/gateway/test_known_agents.py b/core/tests/switch_core/gateway/test_known_agents.py
index 6896d9eb8..173eab86b 100644
--- a/core/tests/switch_core/gateway/test_known_agents.py
+++ b/core/tests/switch_core/gateway/test_known_agents.py
@@ -51,7 +51,7 @@ class TestBuildProfileConnectionModel:
class TestBuildProfileCommandCapabilities:
def test_claude_code_commands_are_session_dependent(self) -> None:
# Claude Code can be reset/compacted/interrupted only when a session is
- # driving it from switchdash — so all three depend on the live session.
+ # driving it from Switch Console — so all three depend on the live session.
caps = ClaudeCodeKnownAgent.build_profile(
ClaudeCodeOptions(channels_enabled=True)
).command_capabilities
@@ -261,11 +261,11 @@ class TestCodexKnownAgent:
assert profile.task_protocol.can_accept is True
def test_commands_are_session_dependent(self) -> None:
- # Codex is a TUI driven by switchdash keystroke injection, same as Claude
+ # Codex is a TUI driven by Switch Console keystroke injection, same as Claude
# Code — so reset/compact/interrupt depend on a live managed session.
- # Must stay in step with `BY_PROVIDER.codex` in switchdash's
+ # Must stay in step with `BY_PROVIDER.codex` in Switch Console's
# `main/core/switch-rooms/session-control.ts`; declaring a command here
- # that switchdash cannot execute yields a worse message than "unsupported".
+ # that Switch Console cannot execute yields a worse message than "unsupported".
caps = CodexKnownAgent.build_profile(CodexOptions()).command_capabilities
assert caps.reset == "session_dependent"
assert caps.compact == "session_dependent"
@@ -348,7 +348,7 @@ class TestCodexKnownAgent:
assert msg.startswith("@cmcd\n\n")
def test_channels_enabled_is_dropped_not_offered_as_an_option(self) -> None:
- # switchdash sends channels_enabled for every provider, so registration
+ # Switch Console sends channels_enabled for every provider, so registration
# must still accept it — but Codex has no channel, so it is not a field.
# The gateway renders the options form from this schema; a declared field
# would be an interactive control that changes nothing.
diff --git a/core/tests/test_gen_artifacts.py b/core/tests/test_gen_artifacts.py
index ee6aad754..0fdc169f8 100644
--- a/core/tests/test_gen_artifacts.py
+++ b/core/tests/test_gen_artifacts.py
@@ -103,8 +103,8 @@ def test_the_switchdash_pin_is_not_wired_to_switch_cores_version() -> None:
that are not on the registry yet, breaking it for everyone on main.
"""
registry = gen.load_registry()
- switchdash = next(a for a in registry.artifacts if a.name == "switchdash")
- assert "switch-core" in switchdash.pins
+ switch_console = next(a for a in registry.artifacts if a.name == "switch-console")
+ assert "switch-core" in switch_console.pins
def test_every_contract_peer_is_an_artifact_the_registry_knows() -> None:
diff --git a/dash/.oxfmtrc.json b/dash/.oxfmtrc.json
index cf6299fa8..1fb6a4457 100644
--- a/dash/.oxfmtrc.json
+++ b/dash/.oxfmtrc.json
@@ -32,7 +32,7 @@
"internalPattern": ["@/", "@root/", "@shared/", "@main/", "@renderer/"]
},
"sortTailwindcss": {
- "stylesheet": "./apps/switchdash-desktop/src/renderer/index.css"
+ "stylesheet": "./apps/switch-console-desktop/src/renderer/index.css"
},
"sortPackageJson": true
}
diff --git a/dash/.oxlintrc.json b/dash/.oxlintrc.json
index 6fa7a364f..d9b43d99f 100644
--- a/dash/.oxlintrc.json
+++ b/dash/.oxlintrc.json
@@ -70,14 +70,14 @@
"src/preload/**/*.{ts,tsx}"
],
"rules": {
- "switchdash/no-tooling-imports": "error"
+ "switch-console/no-tooling-imports": "error"
}
},
{
"files": ["**/*.test.{ts,tsx}"],
"rules": {
"typescript/no-explicit-any": "off",
- "switchdash/no-tooling-imports": "off"
+ "switch-console/no-tooling-imports": "off"
}
}
]
diff --git a/dash/AGENTS.md b/dash/AGENTS.md
index 7b2d448f8..f9202bf91 100644
--- a/dash/AGENTS.md
+++ b/dash/AGENTS.md
@@ -13,25 +13,49 @@ terminal sessions, MCP and skills, and packaging for desktop releases.
Switch Console is a fork; upstream attribution is recorded in `NOTICE`. The app was
previously called **switchdash**, and before that `emdash`.
-**Only the display name changed.** `PRODUCT_NAME` in `src/shared/app-identity.ts` is the
-single thing a user reads — window title, About box, macOS app menu, `/Applications`.
-Everything that identifies the app to the *operating system or the disk* deliberately
-still says `switchdash`:
-
-- the user-data directory (`USER_DATA_DIR_NAME`) and the SQLite file `switchdash.db`
-- the macOS app id (`com.switchdash.*`) and release artifact names (`ARTIFACT_PREFIX`)
-- the `switchdash://` deeplink scheme
-- packages (`@switchdash/*`) and the app directory (`apps/switchdash-desktop/`)
-- the per-project config file (`.switchdash.json`) and per-repo state dir (`.switchdash/`)
-- `SWITCHDASH_*` environment variables and the agent-hook HTTP protocol
- (`X-Switchdash-*` headers)
-
-This split is intentional and load-bearing — **do not "fix" it.** Renaming any of the
-above strands existing installs: the user-data directory holds the database, the compose
-project names derive from it (so the Postgres volume orphans), the app id and artifact
-prefix carry macOS registration and auto-update continuity, and the env vars and headers
-are baked into hook commands already written into users' own agent config files and into
-sidecars already deployed on remote hosts.
+The rename covered the display name, the source tree and the release artifacts. What
+did **not** move is anything already written to a user's disk or already spoken to
+something deployed — those names are frozen, and the split is load-bearing.
+
+Renamed: `PRODUCT_NAME`, the workspace packages (`@switch-console/*`), the app
+directory (`apps/switch-console-desktop/`), the binary and package names
+(`APP_NAME_LOWER`), the release artifacts (`ARTIFACT_PREFIX`) and tags
+(`switch-console-v*`), the Windows signing profile, and every name that lives
+only inside this repo — log filenames, the renderer-log IPC channel, temp-file
+prefixes, `TERM_PROGRAM`, the oxlint plugin namespace, the icon asset folder,
+the Nix package, the updater cache directories and the BYOI tooling names.
+
+Still `switchdash`, deliberately — **do not "fix" these**:
+
+- the user-data directory (`USER_DATA_DIR_NAME`) and the SQLite file `switchdash.db` —
+ it holds the database, and the compose project names derive from it, so renaming
+ starts an existing install empty and orphans its Postgres volume
+- the macOS app id (`com.switchdash.*`) — it carries registration and update
+ continuity for copies installed before the rename, and nobody reads it
+- the name the app announces to the OS (`OS_APP_NAME`, passed to `app.setName`) —
+ `safeStorage` encrypts against a key the OS files under it, bound the first time
+ the app touches the keychain and never re-read, so a renamed build gets an empty
+ key and cannot read the saved sign-ins or the local server's credentials sitting
+ in the shared database. Measured on macOS: the bundle names are not consulted,
+ only this call. Nothing a user reads comes from it — display strings take
+ `PRODUCT_NAME`
+- the `switchdash://` deeplink scheme — links already posted into Slack and Mattermost
+ are permanent, and deployed Mattermost stacks whitelist the scheme in their config
+- the per-project config file (`.switchdash.json`) and per-repo state dir
+ (`.switchdash/`)
+- `SWITCHDASH_*` environment variables and the `X-Switchdash-*` hook headers — baked
+ into hook commands already written into users' own agent config files, and into
+ sidecars already deployed on remote hosts
+
+The artifact-registry key was on this list and should not have been. The name is
+a lookup key inside each build, not something that crosses a wire: a sidecar is
+handed the resulting `speaks`/`accepts` numbers and never sees the name. It is
+now `switch-console` in `artifacts.yaml`, in `SIDECAR_CLIENT_ARTIFACT`, and as
+the `CHANGELOG.md` section that tracks it.
+
+One cost was accepted rather than avoided: because `APP_NAME_LOWER` moved, `apt` and
+`dnf` treat `switch-console` as a new package rather than an upgrade of `switchdash`,
+so a Linux user upgrading across the rename has to remove the old package by hand.
The **update feed** points at GitHub Releases on the private
`sandbox-quantum/switch` repo (see `electron-builder.config.ts` `publish`): the app
@@ -44,20 +68,20 @@ pre-rebrand name is retained).
## Repository Structure
-This is a pnpm workspace monorepo. The Electron app lives in `apps/switchdash-desktop/`
-(package `@switchdash/switchdash-desktop`). Unless prefixed otherwise, `src/...`, `drizzle/`,
+This is a pnpm workspace monorepo. The Electron app lives in `apps/switch-console-desktop/`
+(package `@switch-console/desktop`). Unless prefixed otherwise, `src/...`, `drizzle/`,
`scripts/`, `build/`, and config-file paths in this document and in `agents/` docs are
-relative to `apps/switchdash-desktop/`.
+relative to `apps/switch-console-desktop/`.
Repo root:
- `.claude/` - Local Claude agent settings for this checkout.
- `agents/` - Agent-facing architecture, workflow, convention, integration, and risk docs.
-- `apps/switchdash-desktop/` - The Electron desktop app (everything below).
+- `apps/switch-console-desktop/` - The Electron desktop app (everything below).
- `packages/` - Shared workspace packages.
- `packages/core/` - Transport-agnostic core runtime primitives.
- `packages/shared/` - Shared workspace primitives, including the `Result<T, E>` type
- (`@switchdash/shared`).
+ (`@switch-console/shared`).
- `packages/plugins/` - Plugin interfaces and helpers, and the agent provider plugins
under `src/agents/impl/<id>/`.
- `packages/switch-agent-runtime/` - The published agent runtime; sessions run a pinned
@@ -65,7 +89,7 @@ Repo root:
- Root config files - `pnpm-workspace.yaml`, root `package.json` with aggregate scripts,
`.nvmrc`, `.oxfmtrc.json`, `.oxlintrc.json`.
-Inside `apps/switchdash-desktop/`:
+Inside `apps/switch-console-desktop/`:
- `build/` - Electron packaging assets; avoid edits unless working on packaging or signing.
- `drizzle/` - Generated Drizzle SQL migrations and metadata.
@@ -84,7 +108,7 @@ Inside `apps/switchdash-desktop/`:
The repo root has aggregate scripts (`dev`, `build`, `test`, `lint`, `format`,
`format:check`, `typecheck`) that fan out through the pnpm workspace. App-specific
-commands run from `apps/switchdash-desktop/`.
+commands run from `apps/switch-console-desktop/`.
Install dependencies (repo root):
@@ -99,10 +123,10 @@ once, then runs package watch builds and the Electron app in parallel:
pnpm run dev
```
-Start only the Electron app from `apps/switchdash-desktop/`:
+Start only the Electron app from `apps/switch-console-desktop/`:
```bash
-cd apps/switchdash-desktop
+cd apps/switch-console-desktop
pnpm run dev
pnpm run d
```
@@ -128,14 +152,14 @@ dev setup:
SWITCHDASH_DB_FILE=/tmp/switchdash-scratch.db pnpm run dev
```
-From `apps/switchdash-desktop/`, this starts only the Electron app:
+From `apps/switch-console-desktop/`, this starts only the Electron app:
```bash
-cd apps/switchdash-desktop
+cd apps/switch-console-desktop
SWITCHDASH_DB_FILE=/tmp/switchdash-scratch.db pnpm run dev
```
-Reset the dev databases from `apps/switchdash-desktop/`:
+Reset the dev databases from `apps/switch-console-desktop/`:
```bash
pnpm run db:reset
@@ -198,7 +222,7 @@ pnpm run reset
trailing commas where valid in ES5, and sorted imports.
- Lint with `oxlint`; config is `.oxlintrc.json` with correctness errors,
TypeScript, React hooks, and local repo rules enabled.
-- TypeScript strict mode is enabled in `apps/switchdash-desktop/tsconfig.json`, the single
+- TypeScript strict mode is enabled in `apps/switch-console-desktop/tsconfig.json`, the single
tsconfig for all app targets.
- Avoid `any`; if a registry or boundary needs it, keep the escape local and documented.
- Use top-level `import` statements; do not use `require()`.
@@ -260,7 +284,7 @@ switch rooms, switch servers, switch setup, terminal shell, terminals, updates,
view state. `agents` and `providers` are different things — see
`agents/architecture/main-process.md`. Stateful main-process concerns use singleton
services; expected failures should use the `Result<T, E>` pattern from the
-`@switchdash/shared` workspace package.
+`@switch-console/shared` workspace package.
### Logging
diff --git a/dash/agents/architecture/data-model.md b/dash/agents/architecture/data-model.md
index 672d6367e..5afa5fc61 100644
--- a/dash/agents/architecture/data-model.md
+++ b/dash/agents/architecture/data-model.md
@@ -1,21 +1,21 @@
-# Data Model (switchdash vs. its upstream origin)
+# Data Model (Switch Console vs. its upstream origin)
-switchdash inherited its data model from the upstream project it was forked from
+Switch Console inherited its data model from the upstream project it was forked from
(attribution in `NOTICE`), which is optimised for **parallel coding workflows**: a
project (repo) holds several sessions (originally one per git worktree), each session
holds conversations with a coding agent and one or more terminals, all running in an
abstracted *workspace* (worktree / SSH / remote).
-switchdash manages **Switch agent sessions** instead: multiple agents living in a
+Switch Console manages **Switch agent sessions** instead: multiple agents living in a
directory, each tied to one provider, each with its own runs. This page is the system
-of record for how the switchdash model diverges from that upstream model and how the
+of record for how the Switch Console model diverges from that upstream model and how the
abstractions map across.
-The schema is defined in `apps/switchdash-desktop/src/main/db/schema.ts`.
+The schema is defined in `apps/switch-console-desktop/src/main/db/schema.ts`.
## Abstraction map
-| switchdash | upstream equivalent | What it is |
+| Switch Console | upstream equivalent | What it is |
|---|---|---|
| **location** | `project` + `workspace` | A working directory on a host — local, or on an SSH host. Replaces both the upstream project *and* the workspace abstraction; the table is `locations`. |
| **agent** | *(none)* — new | A Switch agent identity bound to one provider. **Many agents per directory.** Carries the optional Switch identity (`switchAgentId`, `apiEndpoint`) detected from `.claude/settings.local.json`. |
@@ -23,7 +23,7 @@ The schema is defined in `apps/switchdash-desktop/src/main/db/schema.ts`.
| **session** | `conversation` | One instantiation/run of an agent. The unit shown under an agent in the sidebar. |
| *(folded into session)* | `terminal` | A session is 1:1 with its terminal, so the terminal's `shellId` lives on the session; there is no `terminals` table. |
| **message** | `message` | A message in a session (was keyed by `conversationId`, now `sessionId`). |
-| *(removed)* | `session` (worktree-era) | The upstream parallel-run grouping. Removed — switchdash runs every session in the location's directory, so the grouping layer is gone. |
+| *(removed)* | `session` (worktree-era) | The upstream parallel-run grouping. Removed — Switch Console runs every session in the location's directory, so the grouping layer is gone. |
| *(removed)* | `workspace` | The upstream execution-location abstraction (worktree / SSH / BYOI remote). Removed — see below. |
### Tables with no upstream equivalent
@@ -32,7 +32,7 @@ These carry the Switch- and remote-specific state that upstream had no concept o
| Table | What it is |
|---|---|
-| `switch_servers` | A Switch server switchdash talks to, managed or external. |
+| `switch_servers` | A Switch server Switch Console talks to, managed or external. |
| `remote_hosts` | An SSH host (keyed by its `~/.ssh/config` alias) that can run agents. |
| `remote_host_reachability` | The last observed reachability of a host. Separate from the host record so a probe result never masquerades as configuration — see the reachability note below. |
| `remote_host_setup_plans` | A host's onboarding plan (CHOO-1809). See "Remote host setup". |
@@ -56,15 +56,15 @@ its own reachability and setup-plan rows alongside, not inside, the location hie
A session's room connection is a row keyed by `session_id` with
`ON DELETE CASCADE`, so it cannot outlive the session (or the agent above it).
It was previously a JSON blob in `app_settings`, which referenced nothing and so
-survived both — leaving switchdash restoring sessions, on every launch, for
+survived both — leaving Switch Console restoring sessions, on every launch, for
agents whose Switch server had been destroyed.
## What we deliberately dropped from upstream, and why
- **The `workspaces` table and the workspace abstraction.** Upstream modelled
- *where* a session runs (git worktree, project-SSH, BYOI remote). switchdash had
+ *where* a session runs (git worktree, project-SSH, BYOI remote). Switch Console had
already gutted this before the rework — `workspace-config` reached v3 with the
- note *"switchdash has no git worktrees, branches, PRs, or BYOI: every session
+ note *"Switch Console has no git worktrees, branches, PRs, or BYOI: every session
runs in the project root directory."* A workspace was therefore just "the
project directory" plus lifecycle scripts. We dropped the table (and
`project.repositoryWorkspaceId` / `session.workspaceId`) and keep lifecycle
@@ -73,10 +73,10 @@ agents whose Switch server had been destroyed.
**What survived of it is the host split, not the table.** "Where a session runs" is
still a real question — it is now answered by the location's host (local or SSH) and
by the `execution-context` / `agent-runtime` provider pairs, rather than by a
- `workspace` row. Dropping the table did not make switchdash local-only.
+ `workspace` row. Dropping the table did not make Switch Console local-only.
- **The worktree-era `session` grouping.** With no worktrees, a session was a
near-empty wrapper around a single conversation. We collapsed it: the upstream
- `conversation` becomes switchdash's `session`.
+ `conversation` becomes Switch Console's `session`.
- **The `terminals` table.** A session is 1:1 with its terminal, so a separate
table was pure indirection; the `shellId` moved onto the session.
- **`provider` as a per-session column.** A provider is a property of the agent
diff --git a/dash/agents/architecture/main-process.md b/dash/agents/architecture/main-process.md
index 917e7cde6..46e0d7882 100644
--- a/dash/agents/architecture/main-process.md
+++ b/dash/agents/architecture/main-process.md
@@ -21,7 +21,7 @@ Two names in this list are easy to misread, because one of them changed meaning:
- **execution-context** — Where a command runs: `local-execution-context.ts` vs `ssh-execution-context.ts`
- **fs** — Filesystem operations with provider pattern (`impl/local-fs.ts`)
- **locations** — An agent's working directory on a host. Replaces the upstream project/workspace split; provider pattern plus lifecycle scripts
-- **managed-switch-server** — A switchdash-managed Switch server deployed via Docker Compose
+- **managed-switch-server** — A Switch Console-managed Switch server deployed via Docker Compose
- **prompt-library** — Prompt library service and controller
- **providers** — CLI-provider plugin registry (`plugin-registry.ts`), agent payload builder, plugin filesystem, argv parity test
- **pty** — PTY lifecycle (`local-pty.ts`), session registry, env setup, spawn utilities
@@ -52,9 +52,9 @@ Two names in this list are easy to misread, because one of them changed meaning:
- `src/sidecar/` — The headless remote sidecar. Not part of `src/main/`, but it re-implements
much of what the main process does for a session; see the sidecar section of `AGENTS.md`.
-The `Result<T, E>` type is **not** in `src/main/lib/`. It lives in the `@switchdash/shared`
+The `Result<T, E>` type is **not** in `src/main/lib/`. It lives in the `@switch-console/shared`
workspace package (`packages/shared/src/result.ts`) and is imported as
-`import { ok, err, type Result } from '@switchdash/shared'`.
+`import { ok, err, type Result } from '@switch-console/shared'`.
## IPC / RPC Structure
diff --git a/dash/agents/architecture/overview.md b/dash/agents/architecture/overview.md
index 408db4035..cc3b4509c 100644
--- a/dash/agents/architecture/overview.md
+++ b/dash/agents/architecture/overview.md
@@ -1,6 +1,6 @@
# Architecture Overview
-All paths are relative to `apps/switchdash-desktop/`.
+All paths are relative to `apps/switch-console-desktop/`.
## Process Model
@@ -8,7 +8,7 @@ All paths are relative to `apps/switchdash-desktop/`.
- `src/preload/`: Electron preload bridge — exposes typed `invoke`, `eventSend`, `eventOn` to renderer
- `src/renderer/`: React UI — app shell (`app/`), feature areas (`features/`), shared infrastructure (`lib/`), typed RPC client
- `src/shared/`: Agent provider registry, IPC primitives (RPC + events), shared domain types under `src/shared/core/`
-- `src/sidecar/`: The headless on-host sidecar that keeps a remote session running while switchdash is closed. Not an Electron process — see `remote-execution.md`
+- `src/sidecar/`: The headless on-host sidecar that keeps a remote session running while Switch Console is closed. Not an Electron process — see `remote-execution.md`
## Boot Sequence
@@ -23,7 +23,7 @@ All paths are relative to `apps/switchdash-desktop/`.
- `electron.vite.config.ts` — electron-vite config for main, preload, and renderer builds.
- `vitest.config.ts` — Vitest config with five test projects: `node`, `main-db`, `fixtures`, `migrations`, and `browser` (Playwright-backed renderer tests).
-- Single `tsconfig.json` (in `apps/switchdash-desktop/`) for all app targets.
+- Single `tsconfig.json` (in `apps/switch-console-desktop/`) for all app targets.
## Read Next
diff --git a/dash/agents/architecture/remote-execution.md b/dash/agents/architecture/remote-execution.md
index 58bea6e9b..29ff446ad 100644
--- a/dash/agents/architecture/remote-execution.md
+++ b/dash/agents/architecture/remote-execution.md
@@ -1,8 +1,8 @@
# Remote Execution: Hosts, Reachability, and the Sidecar
-All paths are relative to `apps/switchdash-desktop/` unless noted.
+All paths are relative to `apps/switch-console-desktop/` unless noted.
-**Switchdash is not local-only.** An agent runs either on the local machine or on an SSH
+**Switch Console is not local-only.** An agent runs either on the local machine or on an SSH
host. That choice reaches almost every layer — execution context, agent runtime,
dependency detection, PTY — so a change that only handles the local case is a change that
silently does less on a remote host. This page is the map of the remote half.
@@ -18,7 +18,7 @@ silently does less on a remote host. This page is the map of the remote half.
| How a session is launched | `src/main/core/agent-runtime/impl/` — `local-agent-runtime.ts` / `ssh-agent-runtime.ts` |
| Remote dependency detection and install | `dependencies/remote-dependency-manager.ts`, `dependencies/ssh-install-runner.ts` |
| The on-host sidecar | `src/sidecar/` (implementation), `src/main/core/sidecar/` (desktop-side diagnostics) |
-| A switchdash-managed Switch server | `src/main/core/managed-switch-server/` |
+| A Switch Console-managed Switch server | `src/main/core/managed-switch-server/` |
| Renderer surfaces | `src/renderer/features/remote-hosts/` |
## Reachability is a state machine, not a boolean (CHOO-1682)
@@ -85,8 +85,8 @@ Two properties worth preserving:
## The sidecar
-A remote agent runs inside tmux next to a switchdash-deployed **sidecar**, so it keeps
-working and listening to its Switch rooms while switchdash is closed (CHOO-1059).
+A remote agent runs inside tmux next to a Switch Console-deployed **sidecar**, so it keeps
+working and listening to its Switch rooms while Switch Console is closed (CHOO-1059).
`src/sidecar/` is a second, headless implementation of what the desktop does for a
session — it starts sessions, keeps them connected to their room, and injects messages into
diff --git a/dash/agents/architecture/renderer.md b/dash/agents/architecture/renderer.md
index 2974a386b..0acdfc354 100644
--- a/dash/agents/architecture/renderer.md
+++ b/dash/agents/architecture/renderer.md
@@ -1,6 +1,6 @@
# Renderer
-All paths are relative to `apps/switchdash-desktop/`.
+All paths are relative to `apps/switch-console-desktop/`.
## Main Entry Points
@@ -27,7 +27,7 @@ All paths are relative to `apps/switchdash-desktop/`.
host setup
- `switch-rooms/` — Switch room membership and the inline bridge pane
(`room-embed-layer.tsx`)
-- `switch-servers/` — Switch server connections, including a switchdash-managed server
+- `switch-servers/` — Switch server connections, including a Switch Console-managed server
- `sidebar/` — app sidebar
- `settings/` — settings view
- `command-palette/` — command palette
diff --git a/dash/agents/architecture/switch-rooms.md b/dash/agents/architecture/switch-rooms.md
index 8f9f9e2b1..be16112a0 100644
--- a/dash/agents/architecture/switch-rooms.md
+++ b/dash/agents/architecture/switch-rooms.md
@@ -1,8 +1,8 @@
# Switch Rooms and Sessions
-All paths are relative to `apps/switchdash-desktop/`.
+All paths are relative to `apps/switch-console-desktop/`.
-Switchdash exists to manage Switch agents, and a Switch agent's work happens in **rooms**.
+Switch Console exists to manage Switch agents, and a Switch agent's work happens in **rooms**.
A session can be *attending* a room: it receives the room's events and can post back into
it. This page covers that binding, how a session is started in response to room activity,
and how a room's conversation is shown in the app.
@@ -25,7 +25,7 @@ The binding is a `session_room_connections` row keyed by `session_id` with
`ON DELETE CASCADE`, so it cannot outlive the session (or the agent above it).
This is worth knowing because of what it replaced: the binding used to be a JSON blob in
-`app_settings`, which referenced nothing and therefore survived both. Switchdash would
+`app_settings`, which referenced nothing and therefore survived both. Switch Console would
restore sessions on every launch for agents whose Switch server had been destroyed. If you
are tempted to persist session-adjacent state somewhere convenient, that is the bug to
remember.
@@ -34,7 +34,7 @@ remember.
`auto-session-watcher.ts` watches for room activity addressed to an agent that has no live
session, and starts one. This is why an agent can be addressed from Slack or Mattermost and
-simply respond, without anyone opening switchdash first.
+simply respond, without anyone opening Switch Console first.
**The sidecar has its own implementation of this watcher**
(`src/sidecar/notification-watcher.ts`). They are two implementations of one behaviour, and
@@ -43,7 +43,7 @@ neither follows the other — see the sidecar table in `AGENTS.md`.
## Prompt injection
Some providers cannot be handed a new prompt through an API once their TUI is running, so
-switchdash types it in. `InjectionSink` abstracts the transport:
+Switch Console types it in. `InjectionSink` abstracts the transport:
- **Local** — write straight to the agent's PTY via node-pty.
- **Remote** — the sidecar performs `tmux send-keys` into the agent's tmux pane.
@@ -53,7 +53,7 @@ live yet); callers defer and retry rather than dropping the injection.
## The inline bridge pane (CHOO-1674)
-A room's conversation can be rendered **inside** switchdash in a `<webview>`, rather than
+A room's conversation can be rendered **inside** Switch Console in a `<webview>`, rather than
sending the user out to a browser. `src/shared/core/switch-rooms/room-embed.ts` resolves
one of two answers:
diff --git a/dash/agents/conventions/config-files.md b/dash/agents/conventions/config-files.md
index 27d8073fb..122a2d2ab 100644
--- a/dash/agents/conventions/config-files.md
+++ b/dash/agents/conventions/config-files.md
@@ -9,7 +9,7 @@ Repo root:
- `.nvmrc`
- `.oxfmtrc.json`, `.oxlintrc.json`
-In `apps/switchdash-desktop/`:
+In `apps/switch-console-desktop/`:
- `package.json` (app scripts and version)
- `electron.vite.config.ts`
diff --git a/dash/agents/conventions/main-patterns.md b/dash/agents/conventions/main-patterns.md
index 197def788..08ff78a12 100644
--- a/dash/agents/conventions/main-patterns.md
+++ b/dash/agents/conventions/main-patterns.md
@@ -68,7 +68,7 @@ src/main/core/locations/
Used in: locations, filesystem (`fs/impl/local-fs.ts`), terminals (`terminals/impl/local-terminal-provider.ts`).
-**Switchdash is not local-only, and this is the pattern that carries the difference.**
+**Switch Console is not local-only, and this is the pattern that carries the difference.**
An agent runs either locally or on an SSH host, so the backend behind an interface is a
real choice rather than a placeholder for one:
@@ -82,13 +82,13 @@ check whether the remote path needs one too — and see the sidecar section of `
because a remote session is served by `src/sidecar/`, which is a second implementation that
will not follow your change automatically.
-## Result Type (`@switchdash/shared`)
+## Result Type (`@switch-console/shared`)
Explicit error handling via discriminated union. The type lives in the shared workspace
package (`packages/shared/src/result.ts`), not in `src/main/lib/`:
```ts
-import { ok, err, type Result } from '@switchdash/shared';
+import { ok, err, type Result } from '@switch-console/shared';
async function doSomething(): Promise<Result<Data, SomeError>> {
if (problem) return err({ type: 'not_found' as const });
diff --git a/dash/agents/conventions/renderer-patterns.md b/dash/agents/conventions/renderer-patterns.md
index dae25798e..1ba9de965 100644
--- a/dash/agents/conventions/renderer-patterns.md
+++ b/dash/agents/conventions/renderer-patterns.md
@@ -1,6 +1,6 @@
# Renderer Patterns
-All paths are relative to `apps/switchdash-desktop/`.
+All paths are relative to `apps/switch-console-desktop/`.
## Modal System
diff --git a/dash/agents/conventions/typescript.md b/dash/agents/conventions/typescript.md
index 9dce2588d..db668fddc 100644
--- a/dash/agents/conventions/typescript.md
+++ b/dash/agents/conventions/typescript.md
@@ -2,14 +2,14 @@
## TypeScript
-- strict mode is enabled in `apps/switchdash-desktop/tsconfig.json`
+- strict mode is enabled in `apps/switch-console-desktop/tsconfig.json`
- always use explicit types, do not use `any`
- prefer module imports at the top of the file, never use require()
-- single `tsconfig.json` (in `apps/switchdash-desktop/`) for all app targets (main, preload, renderer, shared)
+- single `tsconfig.json` (in `apps/switch-console-desktop/`) for all app targets (main, preload, renderer, shared)
## Renderer
-Paths are relative to `apps/switchdash-desktop/`.
+Paths are relative to `apps/switch-console-desktop/`.
- functional React components and hooks
- app shell and the modal/view registries under `src/renderer/app/`
diff --git a/dash/agents/conventions/versioned-schemas.md b/dash/agents/conventions/versioned-schemas.md
index cef9b62ec..0b1d40a23 100644
--- a/dash/agents/conventions/versioned-schemas.md
+++ b/dash/agents/conventions/versioned-schemas.md
@@ -2,7 +2,7 @@
## Why versioned schemas?
-Switchdash is a desktop app. Users may run an older version for weeks or months before
+Switch Console is a desktop app. Users may run an older version for weeks or months before
updating. JSON blobs stored in SQLite columns must remain readable by any app version
that could encounter them, so schema evolution must be explicit and backward compatible.
diff --git a/dash/agents/integrations/mcp.md b/dash/agents/integrations/mcp.md
index 516068f43..e6e6e9fdf 100644
--- a/dash/agents/integrations/mcp.md
+++ b/dash/agents/integrations/mcp.md
@@ -1,6 +1,6 @@
# MCP
-Switchdash no longer ships a dedicated MCP management service or UI. MCP server
+Switch Console no longer ships a dedicated MCP management service or UI. MCP server
configuration is now passed through to agents as part of the agent payload, using a
small set of shared types and a static catalog.
diff --git a/dash/agents/integrations/providers.md b/dash/agents/integrations/providers.md
index 580866c1b..e6ef0ed97 100644
--- a/dash/agents/integrations/providers.md
+++ b/dash/agents/integrations/providers.md
@@ -35,7 +35,7 @@ apart; the other providers' mirrors are unguarded, so treat them as hints, not f
## Agent Hooks And Notifications
Agent activity, completion, and attention notifications come from explicit hooks or plugins
-installed by `src/main/core/agent-hooks/`. Switchdash does not infer agent status from terminal
+installed by `src/main/core/agent-hooks/`. Switch Console does not infer agent status from terminal
output. If a provider has no hook/plugin integration for an event, the renderer should not show
or notify an inferred status for that event.
@@ -43,9 +43,9 @@ or notify an inferred status for that event.
- Claude uses deterministic `--session-id` values for conversation isolation.
- Agents that cannot receive an interactive initial prompt via argv or stdin use keystroke
- injection — Switchdash types the prompt into the TUI after startup.
+ injection — Switch Console types the prompt into the TUI after startup.
- `src/main/core/agent-hooks/agent-hook-service.ts` forwards hook events to renderer windows and can show OS notifications. It also writes hook config files for hook-capable providers, including `.claude/settings.local.json`, `.qwen/settings.json`, and provider-specific global hook files.
-- Qwen Code hooks use the documented Qwen settings schema in `.qwen/settings.json`. Switchdash installs command hooks for permission requests and session end/stop events while preserving unrelated user hooks.
+- Qwen Code hooks use the documented Qwen settings schema in `.qwen/settings.json`. Switch Console installs command hooks for permission requests and session end/stop events while preserving unrelated user hooks.
## Adding Or Changing A Provider
diff --git a/dash/agents/quickstart.md b/dash/agents/quickstart.md
index 9fb1f9b6c..13d246037 100644
--- a/dash/agents/quickstart.md
+++ b/dash/agents/quickstart.md
@@ -4,11 +4,11 @@
- Node: `24.14.0` from `.nvmrc`
- Package manager: `[email protected]`
-- Workspace layout: pnpm monorepo; the Electron app lives in `apps/switchdash-desktop/`
+- Workspace layout: pnpm monorepo; the Electron app lives in `apps/switch-console-desktop/`
## Core Commands
-Run from `apps/switchdash-desktop/` (the root `package.json` also provides `dev` and `build`
+Run from `apps/switch-console-desktop/` (the root `package.json` also provides `dev` and `build`
aggregates that delegate via `pnpm --filter`):
```bash
@@ -23,7 +23,7 @@ pnpm run reset
## Validation Commands
-Run from the repo root (they fan out to the workspace) or from `apps/switchdash-desktop/`:
+Run from the repo root (they fan out to the workspace) or from `apps/switch-console-desktop/`:
```bash
pnpm run format
diff --git a/dash/agents/risky-areas/database.md b/dash/agents/risky-areas/database.md
index 9d12982b1..91ec87077 100644
--- a/dash/agents/risky-areas/database.md
+++ b/dash/agents/risky-areas/database.md
@@ -23,7 +23,7 @@
### Tooling folder
-All dev and test infrastructure lives in `tooling/` inside `apps/switchdash-desktop/`.
+All dev and test infrastructure lives in `tooling/` inside `apps/switch-console-desktop/`.
Nothing in `tooling/` is part of the production Electron bundle — the `@tooling`
alias only exists in `vitest.config.ts`, not in `electron.vite.config.ts`.
@@ -68,7 +68,7 @@ installed under `tooling/node-deps/` (compiled for system Node). The app's
### Migration authoring checklist
1. **Isolate your dev DB**: run the app with `SWITCHDASH_DB_FILE` pointing at a scratch path
- so you're not working against your personal switchdash database
+ so you're not working against your personal Switch Console database
2. **Snapshot the pre-migration baseline**:
```bash
diff --git a/dash/agents/risky-areas/updater.md b/dash/agents/risky-areas/updater.md
index a09523399..e67cd6ee5 100644
--- a/dash/agents/risky-areas/updater.md
+++ b/dash/agents/risky-areas/updater.md
@@ -10,7 +10,7 @@
- `package.json`
- `electron-builder.config.ts`
- `electron-builder.canary.config.ts`
-- `.github/workflows/switchdash-release.yml` — the release pipeline (repo root, **not** under `dash/`)
+- `.github/workflows/switch-console-release.yml` — the release pipeline (repo root, **not** under `dash/`)
There is no `scripts/release/` directory. Releasing is done by the GitHub Actions
workflow above, which calls `electron-builder` directly; the packaging, notarization and
@@ -77,7 +77,7 @@ The app does **not** override `autoUpdater.channel`; the GitHub provider resolve
The release repo is private, so a plain feed fetch 404s. `github-token.ts` sources a token
from the user's `gh` CLI and it is handed to `autoUpdater.setFeedURL(...)` rather than
-exported as `GH_TOKEN`. That is deliberate and worth preserving: switchdash's environment
+exported as `GH_TOKEN`. That is deliberate and worth preserving: Switch Console's environment
is inherited by every child process it spawns — including `gh` itself, which prefers
`GH_TOKEN` over its keyring — so a token parked there outlives the login it came from and
shadows the next one until the app restarts.
diff --git a/dash/agents/workflows/testing.md b/dash/agents/workflows/testing.md
index b9756c45c..38438cd22 100644
--- a/dash/agents/workflows/testing.md
+++ b/dash/agents/workflows/testing.md
@@ -1,10 +1,10 @@
# Testing And Validation
-All paths are relative to `apps/switchdash-desktop/`.
+All paths are relative to `apps/switch-console-desktop/`.
## Core Local Gate
-Run these before merging (from the repo root or `apps/switchdash-desktop/`):
+Run these before merging (from the repo root or `apps/switch-console-desktop/`):
```bash
pnpm run format
diff --git a/dash/apps/switchdash-desktop/.oxfmtrc.json b/dash/apps/switch-console-desktop/.oxfmtrc.json
similarity index 100%
rename from dash/apps/switchdash-desktop/.oxfmtrc.json
rename to dash/apps/switch-console-desktop/.oxfmtrc.json
diff --git a/dash/apps/switchdash-desktop/.oxlintrc.json b/dash/apps/switch-console-desktop/.oxlintrc.json
similarity index 90%
rename from dash/apps/switchdash-desktop/.oxlintrc.json
rename to dash/apps/switch-console-desktop/.oxlintrc.json
index b3db416c8..d4c2f857a 100644
--- a/dash/apps/switchdash-desktop/.oxlintrc.json
+++ b/dash/apps/switch-console-desktop/.oxlintrc.json
@@ -70,7 +70,7 @@
"src/preload/**/*.{ts,tsx}"
],
"rules": {
- "switchdash/no-tooling-imports": "error"
+ "switch-console/no-tooling-imports": "error"
}
},
{
@@ -81,8 +81,8 @@
{
"patterns": [
{
- "group": ["@switchdash/core/deps", "@switchdash/core/deps/*"],
- "message": "Import dependency types from @shared/core/agents/agent-payload instead of @switchdash/core/deps*."
+ "group": ["@switch-console/core/deps", "@switch-console/core/deps/*"],
+ "message": "Import dependency types from @shared/core/agents/agent-payload instead of @switch-console/core/deps*."
}
]
}
@@ -93,7 +93,7 @@
"files": ["**/*.test.{ts,tsx}"],
"rules": {
"typescript/no-explicit-any": "off",
- "switchdash/no-tooling-imports": "off"
+ "switch-console/no-tooling-imports": "off"
}
}
]
diff --git a/dash/apps/switchdash-desktop/build/entitlements.mac.plist b/dash/apps/switch-console-desktop/build/entitlements.mac.plist
similarity index 100%
rename from dash/apps/switchdash-desktop/build/entitlements.mac.plist
rename to dash/apps/switch-console-desktop/build/entitlements.mac.plist
diff --git a/dash/apps/switchdash-desktop/components.json b/dash/apps/switch-console-desktop/components.json
similarity index 100%
rename from dash/apps/switchdash-desktop/components.json
rename to dash/apps/switch-console-desktop/components.json
diff --git a/dash/apps/switchdash-desktop/dev-app-update.canary.yml b/dash/apps/switch-console-desktop/dev-app-update.canary.yml
similarity index 64%
rename from dash/apps/switchdash-desktop/dev-app-update.canary.yml
rename to dash/apps/switch-console-desktop/dev-app-update.canary.yml
index dcd017939..f63c68f61 100644
--- a/dash/apps/switchdash-desktop/dev-app-update.canary.yml
+++ b/dash/apps/switch-console-desktop/dev-app-update.canary.yml
@@ -3,4 +3,4 @@ owner: sandbox-quantum
repo: switch
channel: canary
allowPrerelease: true
-updaterCacheDirName: switchdash-canary-updater
+updaterCacheDirName: switch-console-canary-updater
diff --git a/dash/apps/switchdash-desktop/dev-app-update.yml b/dash/apps/switch-console-desktop/dev-app-update.yml
similarity index 54%
rename from dash/apps/switchdash-desktop/dev-app-update.yml
rename to dash/apps/switch-console-desktop/dev-app-update.yml
index 1c4b0d847..3f0d5ed37 100644
--- a/dash/apps/switchdash-desktop/dev-app-update.yml
+++ b/dash/apps/switch-console-desktop/dev-app-update.yml
@@ -1,4 +1,4 @@
provider: github
owner: sandbox-quantum
repo: switch
-updaterCacheDirName: switchdash-updater
+updaterCacheDirName: switch-console-updater
diff --git a/dash/apps/switchdash-desktop/drizzle.config.ts b/dash/apps/switch-console-desktop/drizzle.config.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/drizzle.config.ts
rename to dash/apps/switch-console-desktop/drizzle.config.ts
diff --git a/dash/apps/switchdash-desktop/drizzle/0000_cuddly_scarecrow.sql b/dash/apps/switch-console-desktop/drizzle/0000_cuddly_scarecrow.sql
similarity index 100%
rename from dash/apps/switchdash-desktop/drizzle/0000_cuddly_scarecrow.sql
rename to dash/apps/switch-console-desktop/drizzle/0000_cuddly_scarecrow.sql
diff --git a/dash/apps/switchdash-desktop/drizzle/0001_skinny_robin_chapel.sql b/dash/apps/switch-console-desktop/drizzle/0001_skinny_robin_chapel.sql
similarity index 100%
rename from dash/apps/switchdash-desktop/drizzle/0001_skinny_robin_chapel.sql
rename to dash/apps/switch-console-desktop/drizzle/0001_skinny_robin_chapel.sql
diff --git a/dash/apps/switchdash-desktop/drizzle/0002_noisy_maestro.sql b/dash/apps/switch-console-desktop/drizzle/0002_noisy_maestro.sql
similarity index 100%
rename from dash/apps/switchdash-desktop/drizzle/0002_noisy_maestro.sql
rename to dash/apps/switch-console-desktop/drizzle/0002_noisy_maestro.sql
diff --git a/dash/apps/switchdash-desktop/drizzle/0003_even_vampiro.sql b/dash/apps/switch-console-desktop/drizzle/0003_even_vampiro.sql
similarity index 100%
rename from dash/apps/switchdash-desktop/drizzle/0003_even_vampiro.sql
rename to dash/apps/switch-console-desktop/drizzle/0003_even_vampiro.sql
diff --git a/dash/apps/switchdash-desktop/drizzle/0004_material_flatman.sql b/dash/apps/switch-console-desktop/drizzle/0004_material_flatman.sql
similarity index 100%
rename from dash/apps/switchdash-desktop/drizzle/0004_material_flatman.sql
rename to dash/apps/switch-console-desktop/drizzle/0004_material_flatman.sql
diff --git a/dash/apps/switchdash-desktop/drizzle/0005_add_pull_requests.sql b/dash/apps/switch-console-desktop/drizzle/0005_add_pull_requests.sql
similarity index 100%
rename from dash/apps/switchdash-desktop/drizzle/0005_add_pull_requests.sql
rename to dash/apps/switch-console-desktop/drizzle/0005_add_pull_requests.sql
diff --git a/dash/apps/switchdash-desktop/drizzle/0006_bumpy_gamma_corps.sql b/dash/apps/switch-console-desktop/drizzle/0006_bumpy_gamma_corps.sql
similarity index 100%
rename from dash/apps/switchdash-desktop/drizzle/0006_bumpy_gamma_corps.sql
rename to dash/apps/switch-console-desktop/drizzle/0006_bumpy_gamma_corps.sql
diff --git a/dash/apps/switchdash-desktop/drizzle/0007_bent_spitfire.sql b/dash/apps/switch-console-desktop/drizzle/0007_bent_spitfire.sql
similarity index 100%
rename from dash/apps/switchdash-desktop/drizzle/0007_bent_spitfire.sql
rename to dash/apps/switch-console-desktop/drizzle/0007_bent_spitfire.sql
diff --git a/dash/apps/switchdash-desktop/drizzle/0008_past_shinko_yamashiro.sql b/dash/apps/switch-console-desktop/drizzle/0008_past_shinko_yamashiro.sql
similarity index 100%
rename from dash/apps/switchdash-desktop/drizzle/0008_past_shinko_yamashiro.sql
rename to dash/apps/switch-console-desktop/drizzle/0008_past_shinko_yamashiro.sql
diff --git a/dash/apps/switchdash-desktop/drizzle/0009_lean_goblin_queen.sql b/dash/apps/switch-console-desktop/drizzle/0009_lean_goblin_queen.sql
similarity index 100%
rename from dash/apps/switchdash-desktop/drizzle/0009_lean_goblin_queen.sql
rename to dash/apps/switch-console-desktop/drizzle/0009_lean_goblin_queen.sql
diff --git a/dash/apps/switchdash-desktop/drizzle/0010_unique_luckman.sql b/dash/apps/switch-console-desktop/drizzle/0010_unique_luckman.sql
similarity index 100%
rename from dash/apps/switchdash-desktop/drizzle/0010_unique_luckman.sql
rename to dash/apps/switch-console-desktop/drizzle/0010_unique_luckman.sql
diff --git a/dash/apps/switchdash-desktop/drizzle/0011_chunky_scarecrow.sql b/dash/apps/switch-console-desktop/drizzle/0011_chunky_scarecrow.sql
similarity index 100%
rename from dash/apps/switchdash-desktop/drizzle/0011_chunky_scarecrow.sql
rename to dash/apps/switch-console-desktop/drizzle/0011_chunky_scarecrow.sql
diff --git a/dash/apps/switchdash-desktop/drizzle/0012_great_layla_miller.sql b/dash/apps/switch-console-desktop/drizzle/0012_great_layla_miller.sql
similarity index 100%
rename from dash/apps/switchdash-desktop/drizzle/0012_great_layla_miller.sql
rename to dash/apps/switch-console-desktop/drizzle/0012_great_layla_miller.sql
diff --git a/dash/apps/switchdash-desktop/drizzle/0013_chief_toad_men.sql b/dash/apps/switch-console-desktop/drizzle/0013_chief_toad_men.sql
similarity index 100%
rename from dash/apps/switchdash-desktop/drizzle/0013_chief_toad_men.sql
rename to dash/apps/switch-console-desktop/drizzle/0013_chief_toad_men.sql
diff --git a/dash/apps/switchdash-desktop/drizzle/0014_third_shooting_star.sql b/dash/apps/switch-console-desktop/drizzle/0014_third_shooting_star.sql
similarity index 100%
rename from dash/apps/switchdash-desktop/drizzle/0014_third_shooting_star.sql
rename to dash/apps/switch-console-desktop/drizzle/0014_third_shooting_star.sql
diff --git a/dash/apps/switchdash-desktop/drizzle/0015_dapper_quasimodo.sql b/dash/apps/switch-console-desktop/drizzle/0015_dapper_quasimodo.sql
similarity index 100%
rename from dash/apps/switchdash-desktop/drizzle/0015_dapper_quasimodo.sql
rename to dash/apps/switch-console-desktop/drizzle/0015_dapper_quasimodo.sql
diff --git a/dash/apps/switchdash-desktop/drizzle/0016_smooth_sugar_man.sql b/dash/apps/switch-console-desktop/drizzle/0016_smooth_sugar_man.sql
similarity index 100%
rename from dash/apps/switchdash-desktop/drizzle/0016_smooth_sugar_man.sql
rename to dash/apps/switch-console-desktop/drizzle/0016_smooth_sugar_man.sql
diff --git a/dash/apps/switchdash-desktop/drizzle/0017_icy_swarm.sql b/dash/apps/switch-console-desktop/drizzle/0017_icy_swarm.sql
similarity index 100%
rename from dash/apps/switchdash-desktop/drizzle/0017_icy_swarm.sql
rename to dash/apps/switch-console-desktop/drizzle/0017_icy_swarm.sql
diff --git a/dash/apps/switchdash-desktop/drizzle/0018_abnormal_wolverine.sql b/dash/apps/switch-console-desktop/drizzle/0018_abnormal_wolverine.sql
similarity index 100%
rename from dash/apps/switchdash-desktop/drizzle/0018_abnormal_wolverine.sql
rename to dash/apps/switch-console-desktop/drizzle/0018_abnormal_wolverine.sql
diff --git a/dash/apps/switchdash-desktop/drizzle/0019_parallel_shadowcat.sql b/dash/apps/switch-console-desktop/drizzle/0019_parallel_shadowcat.sql
similarity index 100%
rename from dash/apps/switchdash-desktop/drizzle/0019_parallel_shadowcat.sql
rename to dash/apps/switch-console-desktop/drizzle/0019_parallel_shadowcat.sql
diff --git a/dash/apps/switchdash-desktop/drizzle/0020_uneven_the_liberteens.sql b/dash/apps/switch-console-desktop/drizzle/0020_uneven_the_liberteens.sql
similarity index 100%
rename from dash/apps/switchdash-desktop/drizzle/0020_uneven_the_liberteens.sql
rename to dash/apps/switch-console-desktop/drizzle/0020_uneven_the_liberteens.sql
diff --git a/dash/apps/switchdash-desktop/drizzle/0021_military_solo.sql b/dash/apps/switch-console-desktop/drizzle/0021_military_solo.sql
similarity index 100%
rename from dash/apps/switchdash-desktop/drizzle/0021_military_solo.sql
rename to dash/apps/switch-console-desktop/drizzle/0021_military_solo.sql
diff --git a/dash/apps/switchdash-desktop/drizzle/0022_curly_dorian_gray.sql b/dash/apps/switch-console-desktop/drizzle/0022_curly_dorian_gray.sql
similarity index 100%
rename from dash/apps/switchdash-desktop/drizzle/0022_curly_dorian_gray.sql
rename to dash/apps/switch-console-desktop/drizzle/0022_curly_dorian_gray.sql
diff --git a/dash/apps/switchdash-desktop/drizzle/0023_legal_lady_vermin.sql b/dash/apps/switch-console-desktop/drizzle/0023_legal_lady_vermin.sql
similarity index 100%
rename from dash/apps/switchdash-desktop/drizzle/0023_legal_lady_vermin.sql
rename to dash/apps/switch-console-desktop/drizzle/0023_legal_lady_vermin.sql
diff --git a/dash/apps/switchdash-desktop/drizzle/0024_natural_shape.sql b/dash/apps/switch-console-desktop/drizzle/0024_natural_shape.sql
similarity index 100%
rename from dash/apps/switchdash-desktop/drizzle/0024_natural_shape.sql
rename to dash/apps/switch-console-desktop/drizzle/0024_natural_shape.sql
diff --git a/dash/apps/switchdash-desktop/drizzle/0025_lowly_ezekiel.sql b/dash/apps/switch-console-desktop/drizzle/0025_lowly_ezekiel.sql
similarity index 100%
rename from dash/apps/switchdash-desktop/drizzle/0025_lowly_ezekiel.sql
rename to dash/apps/switch-console-desktop/drizzle/0025_lowly_ezekiel.sql
diff --git a/dash/apps/switchdash-desktop/drizzle/0026_thick_sunspot.sql b/dash/apps/switch-console-desktop/drizzle/0026_thick_sunspot.sql
similarity index 100%
rename from dash/apps/switchdash-desktop/drizzle/0026_thick_sunspot.sql
rename to dash/apps/switch-console-desktop/drizzle/0026_thick_sunspot.sql
diff --git a/dash/apps/switchdash-desktop/drizzle/0027_switch_server_api_url.sql b/dash/apps/switch-console-desktop/drizzle/0027_switch_server_api_url.sql
similarity index 100%
rename from dash/apps/switchdash-desktop/drizzle/0027_switch_server_api_url.sql
rename to dash/apps/switch-console-desktop/drizzle/0027_switch_server_api_url.sql
diff --git a/dash/apps/switchdash-desktop/drizzle/0028_chemical_angel.sql b/dash/apps/switch-console-desktop/drizzle/0028_chemical_angel.sql
similarity index 100%
rename from dash/apps/switchdash-desktop/drizzle/0028_chemical_angel.sql
rename to dash/apps/switch-console-desktop/drizzle/0028_chemical_angel.sql
diff --git a/dash/apps/switchdash-desktop/drizzle/0029_nasty_mastermind.sql b/dash/apps/switch-console-desktop/drizzle/0029_nasty_mastermind.sql
similarity index 100%
rename from dash/apps/switchdash-desktop/drizzle/0029_nasty_mastermind.sql
rename to dash/apps/switch-console-desktop/drizzle/0029_nasty_mastermind.sql
diff --git a/dash/apps/switchdash-desktop/drizzle/0030_optimal_major_mapleleaf.sql b/dash/apps/switch-console-desktop/drizzle/0030_optimal_major_mapleleaf.sql
similarity index 100%
rename from dash/apps/switchdash-desktop/drizzle/0030_optimal_major_mapleleaf.sql
rename to dash/apps/switch-console-desktop/drizzle/0030_optimal_major_mapleleaf.sql
diff --git a/dash/apps/switchdash-desktop/drizzle/0031_mean_king_cobra.sql b/dash/apps/switch-console-desktop/drizzle/0031_mean_king_cobra.sql
similarity index 100%
rename from dash/apps/switchdash-desktop/drizzle/0031_mean_king_cobra.sql
rename to dash/apps/switch-console-desktop/drizzle/0031_mean_king_cobra.sql
diff --git a/dash/apps/switchdash-desktop/drizzle/0032_backfill_locations.sql b/dash/apps/switch-console-desktop/drizzle/0032_backfill_locations.sql
similarity index 100%
rename from dash/apps/switchdash-desktop/drizzle/0032_backfill_locations.sql
rename to dash/apps/switch-console-desktop/drizzle/0032_backfill_locations.sql
diff --git a/dash/apps/switchdash-desktop/drizzle/0033_majestic_slapstick.sql b/dash/apps/switch-console-desktop/drizzle/0033_majestic_slapstick.sql
similarity index 100%
rename from dash/apps/switchdash-desktop/drizzle/0033_majestic_slapstick.sql
rename to dash/apps/switch-console-desktop/drizzle/0033_majestic_slapstick.sql
diff --git a/dash/apps/switchdash-desktop/drizzle/0034_enforce_agents_location_not_null.sql b/dash/apps/switch-console-desktop/drizzle/0034_enforce_agents_location_not_null.sql
similarity index 100%
rename from dash/apps/switchdash-desktop/drizzle/0034_enforce_agents_location_not_null.sql
rename to dash/apps/switch-console-desktop/drizzle/0034_enforce_agents_location_not_null.sql
diff --git a/dash/apps/switchdash-desktop/drizzle/0035_rename_app_settings_keys.sql b/dash/apps/switch-console-desktop/drizzle/0035_rename_app_settings_keys.sql
similarity index 100%
rename from dash/apps/switchdash-desktop/drizzle/0035_rename_app_settings_keys.sql
rename to dash/apps/switch-console-desktop/drizzle/0035_rename_app_settings_keys.sql
diff --git a/dash/apps/switchdash-desktop/drizzle/0036_rename_workspace_provider_setting.sql b/dash/apps/switch-console-desktop/drizzle/0036_rename_workspace_provider_setting.sql
similarity index 100%
rename from dash/apps/switchdash-desktop/drizzle/0036_rename_workspace_provider_setting.sql
rename to dash/apps/switch-console-desktop/drizzle/0036_rename_workspace_provider_setting.sql
diff --git a/dash/apps/switchdash-desktop/drizzle/0037_curvy_madame_masque.sql b/dash/apps/switch-console-desktop/drizzle/0037_curvy_madame_masque.sql
similarity index 100%
rename from dash/apps/switchdash-desktop/drizzle/0037_curvy_madame_masque.sql
rename to dash/apps/switch-console-desktop/drizzle/0037_curvy_madame_masque.sql
diff --git a/dash/apps/switchdash-desktop/drizzle/0038_remote_managed_servers.sql b/dash/apps/switch-console-desktop/drizzle/0038_remote_managed_servers.sql
similarity index 100%
rename from dash/apps/switchdash-desktop/drizzle/0038_remote_managed_servers.sql
rename to dash/apps/switch-console-desktop/drizzle/0038_remote_managed_servers.sql
diff --git a/dash/apps/switchdash-desktop/drizzle/0039_new_ben_parker.sql b/dash/apps/switch-console-desktop/drizzle/0039_new_ben_parker.sql
similarity index 100%
rename from dash/apps/switchdash-desktop/drizzle/0039_new_ben_parker.sql
rename to dash/apps/switch-console-desktop/drizzle/0039_new_ben_parker.sql
diff --git a/dash/apps/switchdash-desktop/drizzle/0040_massive_dreadnoughts.sql b/dash/apps/switch-console-desktop/drizzle/0040_massive_dreadnoughts.sql
similarity index 100%
rename from dash/apps/switchdash-desktop/drizzle/0040_massive_dreadnoughts.sql
rename to dash/apps/switch-console-desktop/drizzle/0040_massive_dreadnoughts.sql
diff --git a/dash/apps/switchdash-desktop/drizzle/0041_delete_leaked_tagged_sessions.sql b/dash/apps/switch-console-desktop/drizzle/0041_delete_leaked_tagged_sessions.sql
similarity index 100%
rename from dash/apps/switchdash-desktop/drizzle/0041_delete_leaked_tagged_sessions.sql
rename to dash/apps/switch-console-desktop/drizzle/0041_delete_leaked_tagged_sessions.sql
diff --git a/dash/apps/switchdash-desktop/drizzle/0042_drop_agent_definition_name.sql b/dash/apps/switch-console-desktop/drizzle/0042_drop_agent_definition_name.sql
similarity index 100%
rename from dash/apps/switchdash-desktop/drizzle/0042_drop_agent_definition_name.sql
rename to dash/apps/switch-console-desktop/drizzle/0042_drop_agent_definition_name.sql
diff --git a/dash/apps/switchdash-desktop/drizzle/0043_furry_maggott.sql b/dash/apps/switch-console-desktop/drizzle/0043_furry_maggott.sql
similarity index 100%
rename from dash/apps/switchdash-desktop/drizzle/0043_furry_maggott.sql
rename to dash/apps/switch-console-desktop/drizzle/0043_furry_maggott.sql
diff --git a/dash/apps/switchdash-desktop/drizzle/0044_session_room_connections.sql b/dash/apps/switch-console-desktop/drizzle/0044_session_room_connections.sql
similarity index 100%
rename from dash/apps/switchdash-desktop/drizzle/0044_session_room_connections.sql
rename to dash/apps/switch-console-desktop/drizzle/0044_session_room_connections.sql
diff --git a/dash/apps/switchdash-desktop/drizzle/0045_magenta_otto_octavius.sql b/dash/apps/switch-console-desktop/drizzle/0045_magenta_otto_octavius.sql
similarity index 100%
rename from dash/apps/switchdash-desktop/drizzle/0045_magenta_otto_octavius.sql
rename to dash/apps/switch-console-desktop/drizzle/0045_magenta_otto_octavius.sql
diff --git a/dash/apps/switchdash-desktop/drizzle/0046_military_whirlwind.sql b/dash/apps/switch-console-desktop/drizzle/0046_military_whirlwind.sql
similarity index 100%
rename from dash/apps/switchdash-desktop/drizzle/0046_military_whirlwind.sql
rename to dash/apps/switch-console-desktop/drizzle/0046_military_whirlwind.sql
diff --git a/dash/apps/switchdash-desktop/drizzle/meta/0000_snapshot.json b/dash/apps/switch-console-desktop/drizzle/meta/0000_snapshot.json
similarity index 100%
rename from dash/apps/switchdash-desktop/drizzle/meta/0000_snapshot.json
rename to dash/apps/switch-console-desktop/drizzle/meta/0000_snapshot.json
diff --git a/dash/apps/switchdash-desktop/drizzle/meta/0001_snapshot.json b/dash/apps/switch-console-desktop/drizzle/meta/0001_snapshot.json
similarity index 100%
rename from dash/apps/switchdash-desktop/drizzle/meta/0001_snapshot.json
rename to dash/apps/switch-console-desktop/drizzle/meta/0001_snapshot.json
diff --git a/dash/apps/switchdash-desktop/drizzle/meta/0002_snapshot.json b/dash/apps/switch-console-desktop/drizzle/meta/0002_snapshot.json
similarity index 100%
rename from dash/apps/switchdash-desktop/drizzle/meta/0002_snapshot.json
rename to dash/apps/switch-console-desktop/drizzle/meta/0002_snapshot.json
diff --git a/dash/apps/switchdash-desktop/drizzle/meta/0003_snapshot.json b/dash/apps/switch-console-desktop/drizzle/meta/0003_snapshot.json
similarity index 100%
rename from dash/apps/switchdash-desktop/drizzle/meta/0003_snapshot.json
rename to dash/apps/switch-console-desktop/drizzle/meta/0003_snapshot.json
diff --git a/dash/apps/switchdash-desktop/drizzle/meta/0004_snapshot.json b/dash/apps/switch-console-desktop/drizzle/meta/0004_snapshot.json
similarity index 100%
rename from dash/apps/switchdash-desktop/drizzle/meta/0004_snapshot.json
rename to dash/apps/switch-console-desktop/drizzle/meta/0004_snapshot.json
diff --git a/dash/apps/switchdash-desktop/drizzle/meta/0005_snapshot.json b/dash/apps/switch-console-desktop/drizzle/meta/0005_snapshot.json
similarity index 100%
rename from dash/apps/switchdash-desktop/drizzle/meta/0005_snapshot.json
rename to dash/apps/switch-console-desktop/drizzle/meta/0005_snapshot.json
diff --git a/dash/apps/switchdash-desktop/drizzle/meta/0006_snapshot.json b/dash/apps/switch-console-desktop/drizzle/meta/0006_snapshot.json
similarity index 100%
rename from dash/apps/switchdash-desktop/drizzle/meta/0006_snapshot.json
rename to dash/apps/switch-console-desktop/drizzle/meta/0006_snapshot.json
diff --git a/dash/apps/switchdash-desktop/drizzle/meta/0007_snapshot.json b/dash/apps/switch-console-desktop/drizzle/meta/0007_snapshot.json
similarity index 100%
rename from dash/apps/switchdash-desktop/drizzle/meta/0007_snapshot.json
rename to dash/apps/switch-console-desktop/drizzle/meta/0007_snapshot.json
diff --git a/dash/apps/switchdash-desktop/drizzle/meta/0008_snapshot.json b/dash/apps/switch-console-desktop/drizzle/meta/0008_snapshot.json
similarity index 100%
rename from dash/apps/switchdash-desktop/drizzle/meta/0008_snapshot.json
rename to dash/apps/switch-console-desktop/drizzle/meta/0008_snapshot.json
diff --git a/dash/apps/switchdash-desktop/drizzle/meta/0009_snapshot.json b/dash/apps/switch-console-desktop/drizzle/meta/0009_snapshot.json
similarity index 100%
rename from dash/apps/switchdash-desktop/drizzle/meta/0009_snapshot.json
rename to dash/apps/switch-console-desktop/drizzle/meta/0009_snapshot.json
diff --git a/dash/apps/switchdash-desktop/drizzle/meta/0010_snapshot.json b/dash/apps/switch-console-desktop/drizzle/meta/0010_snapshot.json
similarity index 100%
rename from dash/apps/switchdash-desktop/drizzle/meta/0010_snapshot.json
rename to dash/apps/switch-console-desktop/drizzle/meta/0010_snapshot.json
diff --git a/dash/apps/switchdash-desktop/drizzle/meta/0011_snapshot.json b/dash/apps/switch-console-desktop/drizzle/meta/0011_snapshot.json
similarity index 100%
rename from dash/apps/switchdash-desktop/drizzle/meta/0011_snapshot.json
rename to dash/apps/switch-console-desktop/drizzle/meta/0011_snapshot.json
diff --git a/dash/apps/switchdash-desktop/drizzle/meta/0012_snapshot.json b/dash/apps/switch-console-desktop/drizzle/meta/0012_snapshot.json
similarity index 100%
rename from dash/apps/switchdash-desktop/drizzle/meta/0012_snapshot.json
rename to dash/apps/switch-console-desktop/drizzle/meta/0012_snapshot.json
diff --git a/dash/apps/switchdash-desktop/drizzle/meta/0013_snapshot.json b/dash/apps/switch-console-desktop/drizzle/meta/0013_snapshot.json
similarity index 100%
rename from dash/apps/switchdash-desktop/drizzle/meta/0013_snapshot.json
rename to dash/apps/switch-console-desktop/drizzle/meta/0013_snapshot.json
diff --git a/dash/apps/switchdash-desktop/drizzle/meta/0014_snapshot.json b/dash/apps/switch-console-desktop/drizzle/meta/0014_snapshot.json
similarity index 100%
rename from dash/apps/switchdash-desktop/drizzle/meta/0014_snapshot.json
rename to dash/apps/switch-console-desktop/drizzle/meta/0014_snapshot.json
diff --git a/dash/apps/switchdash-desktop/drizzle/meta/0015_snapshot.json b/dash/apps/switch-console-desktop/drizzle/meta/0015_snapshot.json
similarity index 100%
rename from dash/apps/switchdash-desktop/drizzle/meta/0015_snapshot.json
rename to dash/apps/switch-console-desktop/drizzle/meta/0015_snapshot.json
diff --git a/dash/apps/switchdash-desktop/drizzle/meta/0016_snapshot.json b/dash/apps/switch-console-desktop/drizzle/meta/0016_snapshot.json
similarity index 100%
rename from dash/apps/switchdash-desktop/drizzle/meta/0016_snapshot.json
rename to dash/apps/switch-console-desktop/drizzle/meta/0016_snapshot.json
diff --git a/dash/apps/switchdash-desktop/drizzle/meta/0017_snapshot.json b/dash/apps/switch-console-desktop/drizzle/meta/0017_snapshot.json
similarity index 100%
rename from dash/apps/switchdash-desktop/drizzle/meta/0017_snapshot.json
rename to dash/apps/switch-console-desktop/drizzle/meta/0017_snapshot.json
diff --git a/dash/apps/switchdash-desktop/drizzle/meta/0018_snapshot.json b/dash/apps/switch-console-desktop/drizzle/meta/0018_snapshot.json
similarity index 100%
rename from dash/apps/switchdash-desktop/drizzle/meta/0018_snapshot.json
rename to dash/apps/switch-console-desktop/drizzle/meta/0018_snapshot.json
diff --git a/dash/apps/switchdash-desktop/drizzle/meta/0019_snapshot.json b/dash/apps/switch-console-desktop/drizzle/meta/0019_snapshot.json
similarity index 100%
rename from dash/apps/switchdash-desktop/drizzle/meta/0019_snapshot.json
rename to dash/apps/switch-console-desktop/drizzle/meta/0019_snapshot.json
diff --git a/dash/apps/switchdash-desktop/drizzle/meta/0020_snapshot.json b/dash/apps/switch-console-desktop/drizzle/meta/0020_snapshot.json
similarity index 100%
rename from dash/apps/switchdash-desktop/drizzle/meta/0020_snapshot.json
rename to dash/apps/switch-console-desktop/drizzle/meta/0020_snapshot.json
diff --git a/dash/apps/switchdash-desktop/drizzle/meta/0021_snapshot.json b/dash/apps/switch-console-desktop/drizzle/meta/0021_snapshot.json
similarity index 100%
rename from dash/apps/switchdash-desktop/drizzle/meta/0021_snapshot.json
rename to dash/apps/switch-console-desktop/drizzle/meta/0021_snapshot.json
diff --git a/dash/apps/switchdash-desktop/drizzle/meta/0022_snapshot.json b/dash/apps/switch-console-desktop/drizzle/meta/0022_snapshot.json
similarity index 100%
rename from dash/apps/switchdash-desktop/drizzle/meta/0022_snapshot.json
rename to dash/apps/switch-console-desktop/drizzle/meta/0022_snapshot.json
diff --git a/dash/apps/switchdash-desktop/drizzle/meta/0023_snapshot.json b/dash/apps/switch-console-desktop/drizzle/meta/0023_snapshot.json
similarity index 100%
rename from dash/apps/switchdash-desktop/drizzle/meta/0023_snapshot.json
rename to dash/apps/switch-console-desktop/drizzle/meta/0023_snapshot.json
diff --git a/dash/apps/switchdash-desktop/drizzle/meta/0024_snapshot.json b/dash/apps/switch-console-desktop/drizzle/meta/0024_snapshot.json
similarity index 100%
rename from dash/apps/switchdash-desktop/drizzle/meta/0024_snapshot.json
rename to dash/apps/switch-console-desktop/drizzle/meta/0024_snapshot.json
diff --git a/dash/apps/switchdash-desktop/drizzle/meta/0025_snapshot.json b/dash/apps/switch-console-desktop/drizzle/meta/0025_snapshot.json
similarity index 100%
rename from dash/apps/switchdash-desktop/drizzle/meta/0025_snapshot.json
rename to dash/apps/switch-console-desktop/drizzle/meta/0025_snapshot.json
diff --git a/dash/apps/switchdash-desktop/drizzle/meta/0026_snapshot.json b/dash/apps/switch-console-desktop/drizzle/meta/0026_snapshot.json
similarity index 100%
rename from dash/apps/switchdash-desktop/drizzle/meta/0026_snapshot.json
rename to dash/apps/switch-console-desktop/drizzle/meta/0026_snapshot.json
diff --git a/dash/apps/switchdash-desktop/drizzle/meta/0027_snapshot.json b/dash/apps/switch-console-desktop/drizzle/meta/0027_snapshot.json
similarity index 100%
rename from dash/apps/switchdash-desktop/drizzle/meta/0027_snapshot.json
rename to dash/apps/switch-console-desktop/drizzle/meta/0027_snapshot.json
diff --git a/dash/apps/switchdash-desktop/drizzle/meta/0028_snapshot.json b/dash/apps/switch-console-desktop/drizzle/meta/0028_snapshot.json
similarity index 100%
rename from dash/apps/switchdash-desktop/drizzle/meta/0028_snapshot.json
rename to dash/apps/switch-console-desktop/drizzle/meta/0028_snapshot.json
diff --git a/dash/apps/switchdash-desktop/drizzle/meta/0029_snapshot.json b/dash/apps/switch-console-desktop/drizzle/meta/0029_snapshot.json
similarity index 100%
rename from dash/apps/switchdash-desktop/drizzle/meta/0029_snapshot.json
rename to dash/apps/switch-console-desktop/drizzle/meta/0029_snapshot.json
diff --git a/dash/apps/switchdash-desktop/drizzle/meta/0030_snapshot.json b/dash/apps/switch-console-desktop/drizzle/meta/0030_snapshot.json
similarity index 100%
rename from dash/apps/switchdash-desktop/drizzle/meta/0030_snapshot.json
rename to dash/apps/switch-console-desktop/drizzle/meta/0030_snapshot.json
diff --git a/dash/apps/switchdash-desktop/drizzle/meta/0031_snapshot.json b/dash/apps/switch-console-desktop/drizzle/meta/0031_snapshot.json
similarity index 100%
rename from dash/apps/switchdash-desktop/drizzle/meta/0031_snapshot.json
rename to dash/apps/switch-console-desktop/drizzle/meta/0031_snapshot.json
diff --git a/dash/apps/switchdash-desktop/drizzle/meta/0032_snapshot.json b/dash/apps/switch-console-desktop/drizzle/meta/0032_snapshot.json
similarity index 100%
rename from dash/apps/switchdash-desktop/drizzle/meta/0032_snapshot.json
rename to dash/apps/switch-console-desktop/drizzle/meta/0032_snapshot.json
diff --git a/dash/apps/switchdash-desktop/drizzle/meta/0033_snapshot.json b/dash/apps/switch-console-desktop/drizzle/meta/0033_snapshot.json
similarity index 100%
rename from dash/apps/switchdash-desktop/drizzle/meta/0033_snapshot.json
rename to dash/apps/switch-console-desktop/drizzle/meta/0033_snapshot.json
diff --git a/dash/apps/switchdash-desktop/drizzle/meta/0034_snapshot.json b/dash/apps/switch-console-desktop/drizzle/meta/0034_snapshot.json
similarity index 100%
rename from dash/apps/switchdash-desktop/drizzle/meta/0034_snapshot.json
rename to dash/apps/switch-console-desktop/drizzle/meta/0034_snapshot.json
diff --git a/dash/apps/switchdash-desktop/drizzle/meta/0035_snapshot.json b/dash/apps/switch-console-desktop/drizzle/meta/0035_snapshot.json
similarity index 100%
rename from dash/apps/switchdash-desktop/drizzle/meta/0035_snapshot.json
rename to dash/apps/switch-console-desktop/drizzle/meta/0035_snapshot.json
diff --git a/dash/apps/switchdash-desktop/drizzle/meta/0036_snapshot.json b/dash/apps/switch-console-desktop/drizzle/meta/0036_snapshot.json
similarity index 100%
rename from dash/apps/switchdash-desktop/drizzle/meta/0036_snapshot.json
rename to dash/apps/switch-console-desktop/drizzle/meta/0036_snapshot.json
diff --git a/dash/apps/switchdash-desktop/drizzle/meta/0037_snapshot.json b/dash/apps/switch-console-desktop/drizzle/meta/0037_snapshot.json
similarity index 100%
rename from dash/apps/switchdash-desktop/drizzle/meta/0037_snapshot.json
rename to dash/apps/switch-console-desktop/drizzle/meta/0037_snapshot.json
diff --git a/dash/apps/switchdash-desktop/drizzle/meta/0038_snapshot.json b/dash/apps/switch-console-desktop/drizzle/meta/0038_snapshot.json
similarity index 100%
rename from dash/apps/switchdash-desktop/drizzle/meta/0038_snapshot.json
rename to dash/apps/switch-console-desktop/drizzle/meta/0038_snapshot.json
diff --git a/dash/apps/switchdash-desktop/drizzle/meta/0039_snapshot.json b/dash/apps/switch-console-desktop/drizzle/meta/0039_snapshot.json
similarity index 100%
rename from dash/apps/switchdash-desktop/drizzle/meta/0039_snapshot.json
rename to dash/apps/switch-console-desktop/drizzle/meta/0039_snapshot.json
diff --git a/dash/apps/switchdash-desktop/drizzle/meta/0040_snapshot.json b/dash/apps/switch-console-desktop/drizzle/meta/0040_snapshot.json
similarity index 100%
rename from dash/apps/switchdash-desktop/drizzle/meta/0040_snapshot.json
rename to dash/apps/switch-console-desktop/drizzle/meta/0040_snapshot.json
diff --git a/dash/apps/switchdash-desktop/drizzle/meta/0041_snapshot.json b/dash/apps/switch-console-desktop/drizzle/meta/0041_snapshot.json
similarity index 100%
rename from dash/apps/switchdash-desktop/drizzle/meta/0041_snapshot.json
rename to dash/apps/switch-console-desktop/drizzle/meta/0041_snapshot.json
diff --git a/dash/apps/switchdash-desktop/drizzle/meta/0042_snapshot.json b/dash/apps/switch-console-desktop/drizzle/meta/0042_snapshot.json
similarity index 100%
rename from dash/apps/switchdash-desktop/drizzle/meta/0042_snapshot.json
rename to dash/apps/switch-console-desktop/drizzle/meta/0042_snapshot.json
diff --git a/dash/apps/switchdash-desktop/drizzle/meta/0043_snapshot.json b/dash/apps/switch-console-desktop/drizzle/meta/0043_snapshot.json
similarity index 100%
rename from dash/apps/switchdash-desktop/drizzle/meta/0043_snapshot.json
rename to dash/apps/switch-console-desktop/drizzle/meta/0043_snapshot.json
diff --git a/dash/apps/switchdash-desktop/drizzle/meta/0044_snapshot.json b/dash/apps/switch-console-desktop/drizzle/meta/0044_snapshot.json
similarity index 100%
rename from dash/apps/switchdash-desktop/drizzle/meta/0044_snapshot.json
rename to dash/apps/switch-console-desktop/drizzle/meta/0044_snapshot.json
diff --git a/dash/apps/switchdash-desktop/drizzle/meta/0045_snapshot.json b/dash/apps/switch-console-desktop/drizzle/meta/0045_snapshot.json
similarity index 100%
rename from dash/apps/switchdash-desktop/drizzle/meta/0045_snapshot.json
rename to dash/apps/switch-console-desktop/drizzle/meta/0045_snapshot.json
diff --git a/dash/apps/switchdash-desktop/drizzle/meta/0046_snapshot.json b/dash/apps/switch-console-desktop/drizzle/meta/0046_snapshot.json
similarity index 100%
rename from dash/apps/switchdash-desktop/drizzle/meta/0046_snapshot.json
rename to dash/apps/switch-console-desktop/drizzle/meta/0046_snapshot.json
diff --git a/dash/apps/switchdash-desktop/drizzle/meta/_journal.json b/dash/apps/switch-console-desktop/drizzle/meta/_journal.json
similarity index 100%
rename from dash/apps/switchdash-desktop/drizzle/meta/_journal.json
rename to dash/apps/switch-console-desktop/drizzle/meta/_journal.json
diff --git a/dash/apps/switchdash-desktop/electron-builder.canary.config.ts b/dash/apps/switch-console-desktop/electron-builder.canary.config.ts
similarity index 90%
rename from dash/apps/switchdash-desktop/electron-builder.canary.config.ts
rename to dash/apps/switch-console-desktop/electron-builder.canary.config.ts
index 5eceb0906..abe34637c 100644
--- a/dash/apps/switchdash-desktop/electron-builder.canary.config.ts
+++ b/dash/apps/switch-console-desktop/electron-builder.canary.config.ts
@@ -21,7 +21,7 @@ const config: Configuration = {
// the base config for details).
protocols: [
{
- name: 'switchdash deeplink',
+ name: 'Switch Console deeplink',
schemes: ['switchdash'],
},
],
@@ -57,11 +57,11 @@ const config: Configuration = {
{ target: 'dmg', arch: ['arm64'] },
{ target: 'zip', arch: ['arm64'] },
],
- icon: 'src/assets/images/switchdash/switchdash-canary.icns',
+ icon: 'src/assets/images/switch-console/switch-console-canary.icns',
notarize: false,
},
dmg: {
- icon: 'src/assets/images/switchdash/switchdash-canary.icns',
+ icon: 'src/assets/images/switch-console/switch-console-canary.icns',
window: { width: 530, height: 319 },
contents: [
{ x: 132, y: 150, type: 'file' },
@@ -88,7 +88,7 @@ const config: Configuration = {
packageName: APP_NAME_LOWER,
},
win: {
- icon: 'src/assets/images/switchdash/app-icon-canary.png',
+ icon: 'src/assets/images/switch-console/app-icon-canary.png',
target: [
{ target: 'nsis', arch: ['x64'] },
{ target: 'msi', arch: ['x64'] },
@@ -96,8 +96,8 @@ const config: Configuration = {
azureSignOptions: {
publisherName: 'General Action, Inc.',
endpoint: 'https://eus.codesigning.azure.net/',
- certificateProfileName: 'switchdash-public',
- codeSigningAccountName: 'switchdash',
+ certificateProfileName: 'switch-console-public',
+ codeSigningAccountName: 'switch-console',
},
},
msi: {
diff --git a/dash/apps/switchdash-desktop/electron-builder.config.ts b/dash/apps/switch-console-desktop/electron-builder.config.ts
similarity index 92%
rename from dash/apps/switchdash-desktop/electron-builder.config.ts
rename to dash/apps/switch-console-desktop/electron-builder.config.ts
index 5e725ec6a..4a7c2cf61 100644
--- a/dash/apps/switchdash-desktop/electron-builder.config.ts
+++ b/dash/apps/switch-console-desktop/electron-builder.config.ts
@@ -65,16 +65,16 @@ const config: Configuration = {
// setAsDefaultProtocolClient call only suffices for the un-packaged dev app.
protocols: [
{
- name: 'switchdash deeplink',
+ name: 'Switch Console deeplink',
schemes: ['switchdash'],
},
],
directories: { output: 'release' },
artifactName: `${ARTIFACT_PREFIX}-\${arch}.\${ext}`,
- // switchdash is distributed via GitHub Releases on the private switch repo.
+ // Switch Console is distributed via GitHub Releases on the private switch repo.
// The app reads the auth-gated feed using the user's `gh` CLI token (see
// src/main/core/updates). This is the one place the release identity diverges
- // from switchdash (the app id / artifact names stay on switchdash — see AGENTS.md).
+ // from Switch Console (the app id / artifact names stay on Switch Console — see AGENTS.md).
publish: [
{
provider: 'github',
@@ -105,13 +105,13 @@ const config: Configuration = {
{ target: 'dmg', arch: ['arm64'] },
{ target: 'zip', arch: ['arm64'] },
],
- icon: 'src/assets/images/switchdash/switchdash-beta.icns',
+ icon: 'src/assets/images/switch-console/switch-console-beta.icns',
// electron-builder reads the App Store Connect API key from APPLE_API_KEY
// (path to .p8) / APPLE_API_KEY_ID / APPLE_API_ISSUER when notarize is on.
notarize: hasDeveloperIdCert,
},
dmg: {
- icon: 'src/assets/images/switchdash/switchdash-beta.icns',
+ icon: 'src/assets/images/switch-console/switch-console-beta.icns',
window: { width: 530, height: 319 },
contents: [
{ x: 132, y: 150, type: 'file' },
@@ -144,7 +144,7 @@ const config: Configuration = {
packageName: APP_NAME_LOWER,
},
win: {
- icon: 'src/assets/images/switchdash/app-icon-beta.png',
+ icon: 'src/assets/images/switch-console/app-icon-beta.png',
target: [
{ target: 'nsis', arch: ['x64'] },
{ target: 'msi', arch: ['x64'] },
@@ -152,8 +152,8 @@ const config: Configuration = {
azureSignOptions: {
publisherName: 'General Action, Inc.',
endpoint: 'https://eus.codesigning.azure.net/',
- certificateProfileName: 'switchdash-public',
- codeSigningAccountName: 'switchdash',
+ certificateProfileName: 'switch-console-public',
+ codeSigningAccountName: 'switch-console',
},
},
msi: {
diff --git a/dash/apps/switchdash-desktop/electron.vite.config.ts b/dash/apps/switch-console-desktop/electron.vite.config.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/electron.vite.config.ts
rename to dash/apps/switch-console-desktop/electron.vite.config.ts
diff --git a/dash/apps/switchdash-desktop/flake.lock b/dash/apps/switch-console-desktop/flake.lock
similarity index 100%
rename from dash/apps/switchdash-desktop/flake.lock
rename to dash/apps/switch-console-desktop/flake.lock
diff --git a/dash/apps/switchdash-desktop/flake.nix b/dash/apps/switch-console-desktop/flake.nix
similarity index 86%
rename from dash/apps/switchdash-desktop/flake.nix
rename to dash/apps/switch-console-desktop/flake.nix
index a05f0277a..9cb9b2ba5 100644
--- a/dash/apps/switchdash-desktop/flake.nix
+++ b/dash/apps/switch-console-desktop/flake.nix
@@ -1,5 +1,5 @@
{
- description = "Nix dev shell for the Switchdash Electron workspace";
+ description = "Nix dev shell for the Switch Console Electron workspace";
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
@@ -89,10 +89,10 @@
pkgs.patchelf
];
cleanSrc = lib.cleanSource ./.;
- switchdashPackage =
+ switchConsolePackage =
if pkgs.stdenv.isLinux then
pkgs.stdenv.mkDerivation rec {
- pname = "switchdash";
+ pname = "switch-console";
version = packageJson.version;
src = cleanSrc;
pnpmDeps =
@@ -124,7 +124,7 @@
pkgs.libutempter
];
env = {
- HOME = "$TMPDIR/switchdash-home";
+ HOME = "$TMPDIR/switch-console-home";
npm_config_build_from_source = "true";
npm_config_manage_package_manager_versions = "false";
# Skip Electron binary download during pnpm install
@@ -134,7 +134,7 @@
buildPhase = ''
runHook preBuild
- mkdir -p "$TMPDIR/switchdash-home"
+ mkdir -p "$TMPDIR/switch-console-home"
pnpm config set manage-package-manager-versions false
# Build the app (renderer + main)
@@ -161,38 +161,38 @@
exit 1
fi
- install -d $out/share/switchdash
- cp -R "$unpackedDir" $out/share/switchdash/
+ install -d $out/share/switch-console
+ cp -R "$unpackedDir" $out/share/switch-console/
if ls "$distDir"/*.AppImage >/dev/null 2>&1; then
for image in "$distDir"/*.AppImage; do
- install -Dm755 "$image" "$out/share/switchdash/$(basename "$image")"
+ install -Dm755 "$image" "$out/share/switch-console/$(basename "$image")"
done
fi
install -d $out/bin
- cat <<EOF > $out/bin/switchdash
+ cat <<EOF > $out/bin/switch-console
#!${pkgs.bash}/bin/bash
set -euo pipefail
-APP_ROOT="$out/share/switchdash/linux-unpacked"
-exec "\$APP_ROOT/switchdash" "\$@"
+APP_ROOT="$out/share/switch-console/linux-unpacked"
+exec "\$APP_ROOT/switch-console" "\$@"
EOF
- chmod +x $out/bin/switchdash
+ chmod +x $out/bin/switch-console
runHook postInstall
'';
meta = {
- description = "Switchdash – multi-agent orchestration desktop app";
+ description = "Switch Console – multi-agent orchestration desktop app";
homepage = "https://github.com/sandbox-quantum/switch";
license = lib.licenses.asl20;
platforms = [ "x86_64-linux" ];
};
}
else
- pkgs.writeShellScriptBin "switchdash" ''
- echo "The packaged Switchdash app is currently only available for Linux when using Nix." >&2
+ pkgs.writeShellScriptBin "switch-console" ''
+ echo "The packaged Switch Console app is currently only available for Linux when using Nix." >&2
exit 1
'';
in {
@@ -200,18 +200,18 @@ EOF
packages = sharedEnv;
shellHook = ''
- echo "Switchdash dev shell ready"
+ echo "Switch Console dev shell ready"
echo "Node: $(node --version)"
echo "Run 'pnpm run d' for the full dev loop."
'';
};
- packages.switchdash = switchdashPackage;
- packages.default = switchdashPackage;
+ packages.switch-console = switchConsolePackage;
+ packages.default = switchConsolePackage;
apps.default = {
type = "app";
- program = "${switchdashPackage}/bin/switchdash";
+ program = "${switchConsolePackage}/bin/switch-console";
};
});
}
diff --git a/dash/apps/switchdash-desktop/package.json b/dash/apps/switch-console-desktop/package.json
similarity index 96%
rename from dash/apps/switchdash-desktop/package.json
rename to dash/apps/switch-console-desktop/package.json
index 6defcca35..f6d113bd9 100644
--- a/dash/apps/switchdash-desktop/package.json
+++ b/dash/apps/switch-console-desktop/package.json
@@ -1,5 +1,5 @@
{
- "name": "@switchdash/switchdash-desktop",
+ "name": "@switch-console/desktop",
"version": "0.19.3",
"description": "A cross-platform Electron app that orchestrates multiple coding agents in parallel",
"keywords": [
@@ -12,7 +12,7 @@
"homepage": "https://github.com/sandbox-quantum/switch",
"license": "SEE LICENSE IN LICENSE",
"author": {
- "name": "Switchdash Contributors"
+ "name": "Switch Console Contributors"
},
"type": "module",
"main": "./out/main/index.js",
@@ -53,9 +53,9 @@
"dependencies": {
"@parcel/watcher": "^2.5.6",
"@sandbox-quantum/switch-agent-runtime": "workspace:*",
- "@switchdash/core": "workspace:*",
- "@switchdash/plugins": "workspace:*",
- "@switchdash/shared": "workspace:*",
+ "@switch-console/core": "workspace:*",
+ "@switch-console/plugins": "workspace:*",
+ "@switch-console/shared": "workspace:*",
"@typescript/native-preview": "7.0.0-dev.20260609.1",
"better-sqlite3": "^12.6.0",
"croner": "^10.0.1",
diff --git a/dash/apps/switchdash-desktop/scripts/build-sidecar.mjs b/dash/apps/switch-console-desktop/scripts/build-sidecar.mjs
similarity index 97%
rename from dash/apps/switchdash-desktop/scripts/build-sidecar.mjs
rename to dash/apps/switch-console-desktop/scripts/build-sidecar.mjs
index 606ec621d..8c7e32d21 100644
--- a/dash/apps/switchdash-desktop/scripts/build-sidecar.mjs
+++ b/dash/apps/switch-console-desktop/scripts/build-sidecar.mjs
@@ -2,7 +2,7 @@ import { readFile } from 'node:fs/promises';
import { build } from 'esbuild';
/**
- * Bundles the switchdash remote runtime sidecar (CHOO-1059) into a single
+ * Bundles the Switch Console remote runtime sidecar (CHOO-1059) into a single
* Node ESM file deployed to the agent's VM. The VM already has Node (the agent
* CLI is a Node program), so no native/per-arch binary is needed.
*
diff --git a/dash/apps/switchdash-desktop/scripts/postinstall.ts b/dash/apps/switch-console-desktop/scripts/postinstall.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/scripts/postinstall.ts
rename to dash/apps/switch-console-desktop/scripts/postinstall.ts
diff --git a/dash/apps/switchdash-desktop/scripts/reset-deeplink-handler.ts b/dash/apps/switch-console-desktop/scripts/reset-deeplink-handler.ts
similarity index 84%
rename from dash/apps/switchdash-desktop/scripts/reset-deeplink-handler.ts
rename to dash/apps/switch-console-desktop/scripts/reset-deeplink-handler.ts
index 9c46c135d..7515622f8 100644
--- a/dash/apps/switchdash-desktop/scripts/reset-deeplink-handler.ts
+++ b/dash/apps/switch-console-desktop/scripts/reset-deeplink-handler.ts
@@ -52,8 +52,12 @@ for (const devApp of devElectronApps) {
}
// Re-register the installed app so Launch Services rediscovers it as the
-// switchdash:// handler.
+// switchdash:// handler. The pre-rename bundle names are still listed: a machine
+// that has not upgraded yet has the app under the old name and nothing else.
const installed = [
+ '/Applications/Switch Console.app',
+ path.join(process.env.HOME ?? '', 'Applications', 'Switch Console.app'),
+ '/Applications/Switch Console Canary.app',
'/Applications/Switchdash.app',
path.join(process.env.HOME ?? '', 'Applications', 'Switchdash.app'),
'/Applications/Switchdash Canary.app',
@@ -63,11 +67,11 @@ if (installed) {
console.log(`Re-registering installed app: ${installed}`);
lsregister(['-f', installed]);
console.log(
- 'Done. Launch the installed Switchdash app once — it reclaims switchdash:// as the default handler.'
+ 'Done. Launch the installed Switch Console app once — it reclaims switchdash:// as the default handler.'
);
} else {
console.log(
- 'Stale dev handler cleared, but no installed Switchdash.app was found.\n' +
+ 'Stale dev handler cleared, but no installed Switch Console app was found.\n' +
'Launch the installed app once and it will reclaim the switchdash:// scheme.'
);
}
diff --git a/dash/apps/switchdash-desktop/scripts/sync-standalone-compose.mjs b/dash/apps/switch-console-desktop/scripts/sync-standalone-compose.mjs
similarity index 100%
rename from dash/apps/switchdash-desktop/scripts/sync-standalone-compose.mjs
rename to dash/apps/switch-console-desktop/scripts/sync-standalone-compose.mjs
diff --git a/dash/apps/switchdash-desktop/src/assets/images/Asana.svg b/dash/apps/switch-console-desktop/src/assets/images/Asana.svg
similarity index 100%
rename from dash/apps/switchdash-desktop/src/assets/images/Asana.svg
rename to dash/apps/switch-console-desktop/src/assets/images/Asana.svg
diff --git a/dash/apps/switchdash-desktop/src/assets/images/Auggie.svg b/dash/apps/switch-console-desktop/src/assets/images/Auggie.svg
similarity index 100%
rename from dash/apps/switchdash-desktop/src/assets/images/Auggie.svg
rename to dash/apps/switch-console-desktop/src/assets/images/Auggie.svg
diff --git a/dash/apps/switchdash-desktop/src/assets/images/Context7.svg b/dash/apps/switch-console-desktop/src/assets/images/Context7.svg
similarity index 100%
rename from dash/apps/switchdash-desktop/src/assets/images/Context7.svg
rename to dash/apps/switch-console-desktop/src/assets/images/Context7.svg
diff --git a/dash/apps/switchdash-desktop/src/assets/images/Featurebase.svg b/dash/apps/switch-console-desktop/src/assets/images/Featurebase.svg
similarity index 100%
rename from dash/apps/switchdash-desktop/src/assets/images/Featurebase.svg
rename to dash/apps/switch-console-desktop/src/assets/images/Featurebase.svg
diff --git a/dash/apps/switchdash-desktop/src/assets/images/Forgejo.svg b/dash/apps/switch-console-desktop/src/assets/images/Forgejo.svg
similarity index 100%
rename from dash/apps/switchdash-desktop/src/assets/images/Forgejo.svg
rename to dash/apps/switch-console-desktop/src/assets/images/Forgejo.svg
diff --git a/dash/apps/switchdash-desktop/src/assets/images/GitLab.svg b/dash/apps/switch-console-desktop/src/assets/images/GitLab.svg
similarity index 100%
rename from dash/apps/switchdash-desktop/src/assets/images/GitLab.svg
rename to dash/apps/switch-console-desktop/src/assets/images/GitLab.svg
diff --git a/dash/apps/switchdash-desktop/src/assets/images/Github.svg b/dash/apps/switch-console-desktop/src/assets/images/Github.svg
similarity index 100%
rename from dash/apps/switchdash-desktop/src/assets/images/Github.svg
rename to dash/apps/switch-console-desktop/src/assets/images/Github.svg
diff --git a/dash/apps/switchdash-desktop/src/assets/images/Jira.svg b/dash/apps/switch-console-desktop/src/assets/images/Jira.svg
similarity index 100%
rename from dash/apps/switchdash-desktop/src/assets/images/Jira.svg
rename to dash/apps/switch-console-desktop/src/assets/images/Jira.svg
diff --git a/dash/apps/switchdash-desktop/src/assets/images/Linear.svg b/dash/apps/switch-console-desktop/src/assets/images/Linear.svg
similarity index 100%
rename from dash/apps/switchdash-desktop/src/assets/images/Linear.svg
rename to dash/apps/switch-console-desktop/src/assets/images/Linear.svg
diff --git a/dash/apps/switchdash-desktop/src/assets/images/Plain.svg b/dash/apps/switch-console-desktop/src/assets/images/Plain.svg
similarity index 100%
rename from dash/apps/switchdash-desktop/src/assets/images/Plain.svg
rename to dash/apps/switch-console-desktop/src/assets/images/Plain.svg
diff --git a/dash/apps/switchdash-desktop/src/assets/images/alacritty.svg b/dash/apps/switch-console-desktop/src/assets/images/alacritty.svg
similarity index 100%
rename from dash/apps/switchdash-desktop/src/assets/images/alacritty.svg
rename to dash/apps/switch-console-desktop/src/assets/images/alacritty.svg
diff --git a/dash/apps/switchdash-desktop/src/assets/images/ampcode.svg b/dash/apps/switch-console-desktop/src/assets/images/ampcode.svg
similarity index 100%
rename from dash/apps/switchdash-desktop/src/assets/images/ampcode.svg
rename to dash/apps/switch-console-desktop/src/assets/images/ampcode.svg
diff --git a/dash/apps/switchdash-desktop/src/assets/images/android-studio-canary.svg b/dash/apps/switch-console-desktop/src/assets/images/android-studio-canary.svg
similarity index 100%
rename from dash/apps/switchdash-desktop/src/assets/images/android-studio-canary.svg
rename to dash/apps/switch-console-desktop/src/assets/images/android-studio-canary.svg
diff --git a/dash/apps/switchdash-desktop/src/assets/images/android-studio.svg b/dash/apps/switch-console-desktop/src/assets/images/android-studio.svg
similarity index 100%
rename from dash/apps/switchdash-desktop/src/assets/images/android-studio.svg
rename to dash/apps/switch-console-desktop/src/assets/images/android-studio.svg
diff --git a/dash/apps/switchdash-desktop/src/assets/images/antigravity.png b/dash/apps/switch-console-desktop/src/assets/images/antigravity.png
similarity index 100%
rename from dash/apps/switchdash-desktop/src/assets/images/antigravity.png
rename to dash/apps/switch-console-desktop/src/assets/images/antigravity.png
diff --git a/dash/apps/switchdash-desktop/src/assets/images/antigravity.svg b/dash/apps/switch-console-desktop/src/assets/images/antigravity.svg
similarity index 100%
rename from dash/apps/switchdash-desktop/src/assets/images/antigravity.svg
rename to dash/apps/switch-console-desktop/src/assets/images/antigravity.svg
diff --git a/dash/apps/switchdash-desktop/src/assets/images/athas.svg b/dash/apps/switch-console-desktop/src/assets/images/athas.svg
similarity index 100%
rename from dash/apps/switchdash-desktop/src/assets/images/athas.svg
rename to dash/apps/switch-console-desktop/src/assets/images/athas.svg
diff --git a/dash/apps/switchdash-desktop/src/assets/images/atlas.png b/dash/apps/switch-console-desktop/src/assets/images/atlas.png
similarity index 100%
rename from dash/apps/switchdash-desktop/src/assets/images/atlas.png
rename to dash/apps/switch-console-desktop/src/assets/images/atlas.png
diff --git a/dash/apps/switchdash-desktop/src/assets/images/atlassian.png b/dash/apps/switch-console-desktop/src/assets/images/atlassian.png
similarity index 100%
rename from dash/apps/switchdash-desktop/src/assets/images/atlassian.png
rename to dash/apps/switch-console-desktop/src/assets/images/atlassian.png
diff --git a/dash/apps/switchdash-desktop/src/assets/images/autohand.svg b/dash/apps/switch-console-desktop/src/assets/images/autohand.svg
similarity index 100%
rename from dash/apps/switchdash-desktop/src/assets/images/autohand.svg
rename to dash/apps/switch-console-desktop/src/assets/images/autohand.svg
diff --git a/dash/apps/switchdash-desktop/src/assets/images/bridges/discord.svg b/dash/apps/switch-console-desktop/src/assets/images/bridges/discord.svg
similarity index 100%
rename from dash/apps/switchdash-desktop/src/assets/images/bridges/discord.svg
rename to dash/apps/switch-console-desktop/src/assets/images/bridges/discord.svg
diff --git a/dash/apps/switchdash-desktop/src/assets/images/bridges/mattermost.svg b/dash/apps/switch-console-desktop/src/assets/images/bridges/mattermost.svg
similarity index 100%
rename from dash/apps/switchdash-desktop/src/assets/images/bridges/mattermost.svg
rename to dash/apps/switch-console-desktop/src/assets/images/bridges/mattermost.svg
diff --git a/dash/apps/switchdash-desktop/src/assets/images/bridges/slack.svg b/dash/apps/switch-console-desktop/src/assets/images/bridges/slack.svg
similarity index 100%
rename from dash/apps/switchdash-desktop/src/assets/images/bridges/slack.svg
rename to dash/apps/switch-console-desktop/src/assets/images/bridges/slack.svg
diff --git a/dash/apps/switchdash-desktop/src/assets/images/bridges/teams.svg b/dash/apps/switch-console-desktop/src/assets/images/bridges/teams.svg
similarity index 100%
rename from dash/apps/switchdash-desktop/src/assets/images/bridges/teams.svg
rename to dash/apps/switch-console-desktop/src/assets/images/bridges/teams.svg
diff --git a/dash/apps/switchdash-desktop/src/assets/images/charm.png b/dash/apps/switch-console-desktop/src/assets/images/charm.png
similarity index 100%
rename from dash/apps/switchdash-desktop/src/assets/images/charm.png
rename to dash/apps/switch-console-desktop/src/assets/images/charm.png
diff --git a/dash/apps/switchdash-desktop/src/assets/images/chrome.png b/dash/apps/switch-console-desktop/src/assets/images/chrome.png
similarity index 100%
rename from dash/apps/switchdash-desktop/src/assets/images/chrome.png
rename to dash/apps/switch-console-desktop/src/assets/images/chrome.png
diff --git a/dash/apps/switchdash-desktop/src/assets/images/chromium.png b/dash/apps/switch-console-desktop/src/assets/images/chromium.png
similarity index 100%
rename from dash/apps/switchdash-desktop/src/assets/images/chromium.png
rename to dash/apps/switch-console-desktop/src/assets/images/chromium.png
diff --git a/dash/apps/switchdash-desktop/src/assets/images/claude.svg b/dash/apps/switch-console-desktop/src/assets/images/claude.svg
similarity index 100%
rename from dash/apps/switchdash-desktop/src/assets/images/claude.svg
rename to dash/apps/switch-console-desktop/src/assets/images/claude.svg
diff --git a/dash/apps/switchdash-desktop/src/assets/images/cline.png b/dash/apps/switch-console-desktop/src/assets/images/cline.png
similarity index 100%
rename from dash/apps/switchdash-desktop/src/assets/images/cline.png
rename to dash/apps/switch-console-desktop/src/assets/images/cline.png
diff --git a/dash/apps/switchdash-desktop/src/assets/images/codebuff.png b/dash/apps/switch-console-desktop/src/assets/images/codebuff.png
similarity index 100%
rename from dash/apps/switchdash-desktop/src/assets/images/codebuff.png
rename to dash/apps/switch-console-desktop/src/assets/images/codebuff.png
diff --git a/dash/apps/switchdash-desktop/src/assets/images/comet.png b/dash/apps/switch-console-desktop/src/assets/images/comet.png
similarity index 100%
rename from dash/apps/switchdash-desktop/src/assets/images/comet.png
rename to dash/apps/switch-console-desktop/src/assets/images/comet.png
diff --git a/dash/apps/switchdash-desktop/src/assets/images/commandcode.svg b/dash/apps/switch-console-desktop/src/assets/images/commandcode.svg
similarity index 100%
rename from dash/apps/switchdash-desktop/src/assets/images/commandcode.svg
rename to dash/apps/switch-console-desktop/src/assets/images/commandcode.svg
diff --git a/dash/apps/switchdash-desktop/src/assets/images/context7.png b/dash/apps/switch-console-desktop/src/assets/images/context7.png
similarity index 100%
rename from dash/apps/switchdash-desktop/src/assets/images/context7.png
rename to dash/apps/switch-console-desktop/src/assets/images/context7.png
diff --git a/dash/apps/switchdash-desktop/src/assets/images/continue.png b/dash/apps/switch-console-desktop/src/assets/images/continue.png
similarity index 100%
rename from dash/apps/switchdash-desktop/src/assets/images/continue.png
rename to dash/apps/switch-console-desktop/src/assets/images/continue.png
diff --git a/dash/apps/switchdash-desktop/src/assets/images/cursor.svg b/dash/apps/switch-console-desktop/src/assets/images/cursor.svg
similarity index 100%
rename from dash/apps/switchdash-desktop/src/assets/images/cursor.svg
rename to dash/apps/switch-console-desktop/src/assets/images/cursor.svg
diff --git a/dash/apps/switchdash-desktop/src/assets/images/devin.png b/dash/apps/switch-console-desktop/src/assets/images/devin.png
similarity index 100%
rename from dash/apps/switchdash-desktop/src/assets/images/devin.png
rename to dash/apps/switch-console-desktop/src/assets/images/devin.png
diff --git a/dash/apps/switchdash-desktop/src/assets/images/dia.png b/dash/apps/switch-console-desktop/src/assets/images/dia.png
similarity index 100%
rename from dash/apps/switchdash-desktop/src/assets/images/dia.png
rename to dash/apps/switch-console-desktop/src/assets/images/dia.png
diff --git a/dash/apps/switchdash-desktop/src/assets/images/droid.svg b/dash/apps/switch-console-desktop/src/assets/images/droid.svg
similarity index 100%
rename from dash/apps/switchdash-desktop/src/assets/images/droid.svg
rename to dash/apps/switch-console-desktop/src/assets/images/droid.svg
diff --git a/dash/apps/switchdash-desktop/src/assets/images/explorer.svg b/dash/apps/switch-console-desktop/src/assets/images/explorer.svg
similarity index 100%
rename from dash/apps/switchdash-desktop/src/assets/images/explorer.svg
rename to dash/apps/switch-console-desktop/src/assets/images/explorer.svg
diff --git a/dash/apps/switchdash-desktop/src/assets/images/files.svg b/dash/apps/switch-console-desktop/src/assets/images/files.svg
similarity index 100%
rename from dash/apps/switchdash-desktop/src/assets/images/files.svg
rename to dash/apps/switch-console-desktop/src/assets/images/files.svg
diff --git a/dash/apps/switchdash-desktop/src/assets/images/finder.png b/dash/apps/switch-console-desktop/src/assets/images/finder.png
similarity index 100%
rename from dash/apps/switchdash-desktop/src/assets/images/finder.png
rename to dash/apps/switch-console-desktop/src/assets/images/finder.png
diff --git a/dash/apps/switchdash-desktop/src/assets/images/firefox.png b/dash/apps/switch-console-desktop/src/assets/images/firefox.png
similarity index 100%
rename from dash/apps/switchdash-desktop/src/assets/images/firefox.png
rename to dash/apps/switch-console-desktop/src/assets/images/firefox.png
diff --git a/dash/apps/switchdash-desktop/src/assets/images/gemini.svg b/dash/apps/switch-console-desktop/src/assets/images/gemini.svg
similarity index 100%
rename from dash/apps/switchdash-desktop/src/assets/images/gemini.svg
rename to dash/apps/switch-console-desktop/src/assets/images/gemini.svg
diff --git a/dash/apps/switchdash-desktop/src/assets/images/gh-copilot.svg b/dash/apps/switch-console-desktop/src/assets/images/gh-copilot.svg
similarity index 100%
rename from dash/apps/switchdash-desktop/src/assets/images/gh-copilot.svg
rename to dash/apps/switch-console-desktop/src/assets/images/gh-copilot.svg
diff --git a/dash/apps/switchdash-desktop/src/assets/images/ghostty.png b/dash/apps/switch-console-desktop/src/assets/images/ghostty.png
similarity index 100%
rename from dash/apps/switchdash-desktop/src/assets/images/ghostty.png
rename to dash/apps/switch-console-desktop/src/assets/images/ghostty.png
diff --git a/dash/apps/switchdash-desktop/src/assets/images/github.png b/dash/apps/switch-console-desktop/src/assets/images/github.png
similarity index 100%
rename from dash/apps/switchdash-desktop/src/assets/images/github.png
rename to dash/apps/switch-console-desktop/src/assets/images/github.png
diff --git a/dash/apps/switchdash-desktop/src/assets/images/goose.png b/dash/apps/switch-console-desktop/src/assets/images/goose.png
similarity index 100%
rename from dash/apps/switchdash-desktop/src/assets/images/goose.png
rename to dash/apps/switch-console-desktop/src/assets/images/goose.png
diff --git a/dash/apps/switchdash-desktop/src/assets/images/hermesagent.jpg b/dash/apps/switch-console-desktop/src/assets/images/hermesagent.jpg
similarity index 100%
rename from dash/apps/switchdash-desktop/src/assets/images/hermesagent.jpg
rename to dash/apps/switch-console-desktop/src/assets/images/hermesagent.jpg
diff --git a/dash/apps/switchdash-desktop/src/assets/images/intellij-idea.svg b/dash/apps/switch-console-desktop/src/assets/images/intellij-idea.svg
similarity index 100%
rename from dash/apps/switchdash-desktop/src/assets/images/intellij-idea.svg
rename to dash/apps/switch-console-desktop/src/assets/images/intellij-idea.svg
diff --git a/dash/apps/switchdash-desktop/src/assets/images/iterm2.png b/dash/apps/switch-console-desktop/src/assets/images/iterm2.png
similarity index 100%
rename from dash/apps/switchdash-desktop/src/assets/images/iterm2.png
rename to dash/apps/switch-console-desktop/src/assets/images/iterm2.png
diff --git a/dash/apps/switchdash-desktop/src/assets/images/jira.png b/dash/apps/switch-console-desktop/src/assets/images/jira.png
similarity index 100%
rename from dash/apps/switchdash-desktop/src/assets/images/jira.png
rename to dash/apps/switch-console-desktop/src/assets/images/jira.png
diff --git a/dash/apps/switchdash-desktop/src/assets/images/jules.svg b/dash/apps/switch-console-desktop/src/assets/images/jules.svg
similarity index 100%
rename from dash/apps/switchdash-desktop/src/assets/images/jules.svg
rename to dash/apps/switch-console-desktop/src/assets/images/jules.svg
diff --git a/dash/apps/switchdash-desktop/src/assets/images/junie-color.png b/dash/apps/switch-console-desktop/src/assets/images/junie-color.png
similarity index 100%
rename from dash/apps/switchdash-desktop/src/assets/images/junie-color.png
rename to dash/apps/switch-console-desktop/src/assets/images/junie-color.png
diff --git a/dash/apps/switchdash-desktop/src/assets/images/kaku.png b/dash/apps/switch-console-desktop/src/assets/images/kaku.png
similarity index 100%
rename from dash/apps/switchdash-desktop/src/assets/images/kaku.png
rename to dash/apps/switch-console-desktop/src/assets/images/kaku.png
diff --git a/dash/apps/switchdash-desktop/src/assets/images/kilocode.png b/dash/apps/switch-console-desktop/src/assets/images/kilocode.png
similarity index 100%
rename from dash/apps/switchdash-desktop/src/assets/images/kilocode.png
rename to dash/apps/switch-console-desktop/src/assets/images/kilocode.png
diff --git a/dash/apps/switchdash-desktop/src/assets/images/kimi.svg b/dash/apps/switch-console-desktop/src/assets/images/kimi.svg
similarity index 100%
rename from dash/apps/switchdash-desktop/src/assets/images/kimi.svg
rename to dash/apps/switch-console-desktop/src/assets/images/kimi.svg
diff --git a/dash/apps/switchdash-desktop/src/assets/images/kiro.png b/dash/apps/switch-console-desktop/src/assets/images/kiro.png
similarity index 100%
rename from dash/apps/switchdash-desktop/src/assets/images/kiro.png
rename to dash/apps/switch-console-desktop/src/assets/images/kiro.png
diff --git a/dash/apps/switchdash-desktop/src/assets/images/kitty.png b/dash/apps/switch-console-desktop/src/assets/images/kitty.png
similarity index 100%
rename from dash/apps/switchdash-desktop/src/assets/images/kitty.png
rename to dash/apps/switch-console-desktop/src/assets/images/kitty.png
diff --git a/dash/apps/switchdash-desktop/src/assets/images/letta.svg b/dash/apps/switch-console-desktop/src/assets/images/letta.svg
similarity index 100%
rename from dash/apps/switchdash-desktop/src/assets/images/letta.svg
rename to dash/apps/switch-console-desktop/src/assets/images/letta.svg
diff --git a/dash/apps/switchdash-desktop/src/assets/images/linear-icon.png b/dash/apps/switch-console-desktop/src/assets/images/linear-icon.png
similarity index 100%
rename from dash/apps/switchdash-desktop/src/assets/images/linear-icon.png
rename to dash/apps/switch-console-desktop/src/assets/images/linear-icon.png
diff --git a/dash/apps/switchdash-desktop/src/assets/images/linear.png b/dash/apps/switch-console-desktop/src/assets/images/linear.png
similarity index 100%
rename from dash/apps/switchdash-desktop/src/assets/images/linear.png
rename to dash/apps/switch-console-desktop/src/assets/images/linear.png
diff --git a/dash/apps/switchdash-desktop/src/assets/images/mcp/amplitude.svg b/dash/apps/switch-console-desktop/src/assets/images/mcp/amplitude.svg
similarity index 100%
rename from dash/apps/switchdash-desktop/src/assets/images/mcp/amplitude.svg
rename to dash/apps/switch-console-desktop/src/assets/images/mcp/amplitude.svg
diff --git a/dash/apps/switchdash-desktop/src/assets/images/mcp/asana.svg b/dash/apps/switch-console-desktop/src/assets/images/mcp/asana.svg
similarity index 100%
rename from dash/apps/switchdash-desktop/src/assets/images/mcp/asana.svg
rename to dash/apps/switch-console-desktop/src/assets/images/mcp/asana.svg
diff --git a/dash/apps/switchdash-desktop/src/assets/images/mcp/atlassian.svg b/dash/apps/switch-console-desktop/src/assets/images/mcp/atlassian.svg
similarity index 100%
rename from dash/apps/switchdash-desktop/src/assets/images/mcp/atlassian.svg
rename to dash/apps/switch-console-desktop/src/assets/images/mcp/atlassian.svg
diff --git a/dash/apps/switchdash-desktop/src/assets/images/mcp/aws_marketplace.svg b/dash/apps/switch-console-desktop/src/assets/images/mcp/aws_marketplace.svg
similarity index 100%
rename from dash/apps/switchdash-desktop/src/assets/images/mcp/aws_marketplace.svg
rename to dash/apps/switch-console-desktop/src/assets/images/mcp/aws_marketplace.svg
diff --git a/dash/apps/switchdash-desktop/src/assets/images/mcp/bigquery.svg b/dash/apps/switch-console-desktop/src/assets/images/mcp/bigquery.svg
similarity index 100%
rename from dash/apps/switchdash-desktop/src/assets/images/mcp/bigquery.svg
rename to dash/apps/switch-console-desktop/src/assets/images/mcp/bigquery.svg
diff --git a/dash/apps/switchdash-desktop/src/assets/images/mcp/canva.svg b/dash/apps/switch-console-desktop/src/assets/images/mcp/canva.svg
similarity index 100%
rename from dash/apps/switchdash-desktop/src/assets/images/mcp/canva.svg
rename to dash/apps/switch-console-desktop/src/assets/images/mcp/canva.svg
diff --git a/dash/apps/switchdash-desktop/src/assets/images/mcp/chrome_devtools.svg b/dash/apps/switch-console-desktop/src/assets/images/mcp/chrome_devtools.svg
similarity index 100%
rename from dash/apps/switchdash-desktop/src/assets/images/mcp/chrome_devtools.svg
rename to dash/apps/switch-console-desktop/src/assets/images/mcp/chrome_devtools.svg
diff --git a/dash/apps/switchdash-desktop/src/assets/images/mcp/clerk.svg b/dash/apps/switch-console-desktop/src/assets/images/mcp/clerk.svg
similarity index 100%
rename from dash/apps/switchdash-desktop/src/assets/images/mcp/clerk.svg
rename to dash/apps/switch-console-desktop/src/assets/images/mcp/clerk.svg
diff --git a/dash/apps/switchdash-desktop/src/assets/images/mcp/clickup.svg b/dash/apps/switch-console-desktop/src/assets/images/mcp/clickup.svg
similarity index 100%
rename from dash/apps/switchdash-desktop/src/assets/images/mcp/clickup.svg
rename to dash/apps/switch-console-desktop/src/assets/images/mcp/clickup.svg
diff --git a/dash/apps/switchdash-desktop/src/assets/images/mcp/cloudflare.svg b/dash/apps/switch-console-desktop/src/assets/images/mcp/cloudflare.svg
similarity index 100%
rename from dash/apps/switchdash-desktop/src/assets/images/mcp/cloudflare.svg
rename to dash/apps/switch-console-desktop/src/assets/images/mcp/cloudflare.svg
diff --git a/dash/apps/switchdash-desktop/src/assets/images/mcp/cloudinary.svg b/dash/apps/switch-console-desktop/src/assets/images/mcp/cloudinary.svg
similarity index 100%
rename from dash/apps/switchdash-desktop/src/assets/images/mcp/cloudinary.svg
rename to dash/apps/switch-console-desktop/src/assets/images/mcp/cloudinary.svg
diff --git a/dash/apps/switchdash-desktop/src/assets/images/mcp/context7.svg b/dash/apps/switch-console-desktop/src/assets/images/mcp/context7.svg
similarity index 100%
rename from dash/apps/switchdash-desktop/src/assets/images/mcp/context7.svg
rename to dash/apps/switch-console-desktop/src/assets/images/mcp/context7.svg
diff --git a/dash/apps/switchdash-desktop/src/assets/images/mcp/deepwiki.png b/dash/apps/switch-console-desktop/src/assets/images/mcp/deepwiki.png
similarity index 100%
rename from dash/apps/switchdash-desktop/src/assets/images/mcp/deepwiki.png
rename to dash/apps/switch-console-desktop/src/assets/images/mcp/deepwiki.png
diff --git a/dash/apps/switchdash-desktop/src/assets/images/mcp/devrev.svg b/dash/apps/switch-console-desktop/src/assets/images/mcp/devrev.svg
similarity index 100%
rename from dash/apps/switchdash-desktop/src/assets/images/mcp/devrev.svg
rename to dash/apps/switch-console-desktop/src/assets/images/mcp/devrev.svg
diff --git a/dash/apps/switchdash-desktop/src/assets/images/mcp/figma.svg b/dash/apps/switch-console-desktop/src/assets/images/mcp/figma.svg
similarity index 100%
rename from dash/apps/switchdash-desktop/src/assets/images/mcp/figma.svg
rename to dash/apps/switch-console-desktop/src/assets/images/mcp/figma.svg
diff --git a/dash/apps/switchdash-desktop/src/assets/images/mcp/graphos.svg b/dash/apps/switch-console-desktop/src/assets/images/mcp/graphos.svg
similarity index 100%
rename from dash/apps/switchdash-desktop/src/assets/images/mcp/graphos.svg
rename to dash/apps/switch-console-desktop/src/assets/images/mcp/graphos.svg
diff --git a/dash/apps/switchdash-desktop/src/assets/images/mcp/honeycomb.png b/dash/apps/switch-console-desktop/src/assets/images/mcp/honeycomb.png
similarity index 100%
rename from dash/apps/switchdash-desktop/src/assets/images/mcp/honeycomb.png
rename to dash/apps/switch-console-desktop/src/assets/images/mcp/honeycomb.png
diff --git a/dash/apps/switchdash-desktop/src/assets/images/mcp/hugging_face.svg b/dash/apps/switch-console-desktop/src/assets/images/mcp/hugging_face.svg
similarity index 100%
rename from dash/apps/switchdash-desktop/src/assets/images/mcp/hugging_face.svg
rename to dash/apps/switch-console-desktop/src/assets/images/mcp/hugging_face.svg
diff --git a/dash/apps/switchdash-desktop/src/assets/images/mcp/intercom.svg b/dash/apps/switch-console-desktop/src/assets/images/mcp/intercom.svg
similarity index 100%
rename from dash/apps/switchdash-desktop/src/assets/images/mcp/intercom.svg
rename to dash/apps/switch-console-desktop/src/assets/images/mcp/intercom.svg
diff --git a/dash/apps/switchdash-desktop/src/assets/images/mcp/jam.png b/dash/apps/switch-console-desktop/src/assets/images/mcp/jam.png
similarity index 100%
rename from dash/apps/switchdash-desktop/src/assets/images/mcp/jam.png
rename to dash/apps/switch-console-desktop/src/assets/images/mcp/jam.png
diff --git a/dash/apps/switchdash-desktop/src/assets/images/mcp/linear.svg b/dash/apps/switch-console-desktop/src/assets/images/mcp/linear.svg
similarity index 100%
rename from dash/apps/switchdash-desktop/src/assets/images/mcp/linear.svg
rename to dash/apps/switch-console-desktop/src/assets/images/mcp/linear.svg
diff --git a/dash/apps/switchdash-desktop/src/assets/images/mcp/magic_patterns.png b/dash/apps/switch-console-desktop/src/assets/images/mcp/magic_patterns.png
similarity index 100%
rename from dash/apps/switchdash-desktop/src/assets/images/mcp/magic_patterns.png
rename to dash/apps/switch-console-desktop/src/assets/images/mcp/magic_patterns.png
diff --git a/dash/apps/switchdash-desktop/src/assets/images/mcp/make.svg b/dash/apps/switch-console-desktop/src/assets/images/mcp/make.svg
similarity index 100%
rename from dash/apps/switchdash-desktop/src/assets/images/mcp/make.svg
rename to dash/apps/switch-console-desktop/src/assets/images/mcp/make.svg
diff --git a/dash/apps/switchdash-desktop/src/assets/images/mcp/microsoft_learn.svg b/dash/apps/switch-console-desktop/src/assets/images/mcp/microsoft_learn.svg
similarity index 100%
rename from dash/apps/switchdash-desktop/src/assets/images/mcp/microsoft_learn.svg
rename to dash/apps/switch-console-desktop/src/assets/images/mcp/microsoft_learn.svg
diff --git a/dash/apps/switchdash-desktop/src/assets/images/mcp/miro.svg b/dash/apps/switch-console-desktop/src/assets/images/mcp/miro.svg
similarity index 100%
rename from dash/apps/switchdash-desktop/src/assets/images/mcp/miro.svg
rename to dash/apps/switch-console-desktop/src/assets/images/mcp/miro.svg
diff --git a/dash/apps/switchdash-desktop/src/assets/images/mcp/motherduck.png b/dash/apps/switch-console-desktop/src/assets/images/mcp/motherduck.png
similarity index 100%
rename from dash/apps/switchdash-desktop/src/assets/images/mcp/motherduck.png
rename to dash/apps/switch-console-desktop/src/assets/images/mcp/motherduck.png
diff --git a/dash/apps/switchdash-desktop/src/assets/images/mcp/neon.svg b/dash/apps/switch-console-desktop/src/assets/images/mcp/neon.svg
similarity index 100%
rename from dash/apps/switchdash-desktop/src/assets/images/mcp/neon.svg
rename to dash/apps/switch-console-desktop/src/assets/images/mcp/neon.svg
diff --git a/dash/apps/switchdash-desktop/src/assets/images/mcp/netlify.svg b/dash/apps/switch-console-desktop/src/assets/images/mcp/netlify.svg
similarity index 100%
rename from dash/apps/switchdash-desktop/src/assets/images/mcp/netlify.svg
rename to dash/apps/switch-console-desktop/src/assets/images/mcp/netlify.svg
diff --git a/dash/apps/switchdash-desktop/src/assets/images/mcp/notion.svg b/dash/apps/switch-console-desktop/src/assets/images/mcp/notion.svg
similarity index 100%
rename from dash/apps/switchdash-desktop/src/assets/images/mcp/notion.svg
rename to dash/apps/switch-console-desktop/src/assets/images/mcp/notion.svg
diff --git a/dash/apps/switchdash-desktop/src/assets/images/mcp/notra.svg b/dash/apps/switch-console-desktop/src/assets/images/mcp/notra.svg
similarity index 100%
rename from dash/apps/switchdash-desktop/src/assets/images/mcp/notra.svg
rename to dash/apps/switch-console-desktop/src/assets/images/mcp/notra.svg
diff --git a/dash/apps/switchdash-desktop/src/assets/images/mcp/parallel.svg b/dash/apps/switch-console-desktop/src/assets/images/mcp/parallel.svg
similarity index 100%
rename from dash/apps/switchdash-desktop/src/assets/images/mcp/parallel.svg
rename to dash/apps/switch-console-desktop/src/assets/images/mcp/parallel.svg
diff --git a/dash/apps/switchdash-desktop/src/assets/images/mcp/planetscale.svg b/dash/apps/switch-console-desktop/src/assets/images/mcp/planetscale.svg
similarity index 100%
rename from dash/apps/switchdash-desktop/src/assets/images/mcp/planetscale.svg
rename to dash/apps/switch-console-desktop/src/assets/images/mcp/planetscale.svg
diff --git a/dash/apps/switchdash-desktop/src/assets/images/mcp/playwright.svg b/dash/apps/switch-console-desktop/src/assets/images/mcp/playwright.svg
similarity index 100%
rename from dash/apps/switchdash-desktop/src/assets/images/mcp/playwright.svg
rename to dash/apps/switch-console-desktop/src/assets/images/mcp/playwright.svg
diff --git a/dash/apps/switchdash-desktop/src/assets/images/mcp/posthog.svg b/dash/apps/switch-console-desktop/src/assets/images/mcp/posthog.svg
similarity index 100%
rename from dash/apps/switchdash-desktop/src/assets/images/mcp/posthog.svg
rename to dash/apps/switch-console-desktop/src/assets/images/mcp/posthog.svg
diff --git a/dash/apps/switchdash-desktop/src/assets/images/mcp/resend.svg b/dash/apps/switch-console-desktop/src/assets/images/mcp/resend.svg
similarity index 100%
rename from dash/apps/switchdash-desktop/src/assets/images/mcp/resend.svg
rename to dash/apps/switch-console-desktop/src/assets/images/mcp/resend.svg
diff --git a/dash/apps/switchdash-desktop/src/assets/images/mcp/sanity.svg b/dash/apps/switch-console-desktop/src/assets/images/mcp/sanity.svg
similarity index 100%
rename from dash/apps/switchdash-desktop/src/assets/images/mcp/sanity.svg
rename to dash/apps/switch-console-desktop/src/assets/images/mcp/sanity.svg
diff --git a/dash/apps/switchdash-desktop/src/assets/images/mcp/sentry.svg b/dash/apps/switch-console-desktop/src/assets/images/mcp/sentry.svg
similarity index 100%
rename from dash/apps/switchdash-desktop/src/assets/images/mcp/sentry.svg
rename to dash/apps/switch-console-desktop/src/assets/images/mcp/sentry.svg
diff --git a/dash/apps/switchdash-desktop/src/assets/images/mcp/slack.svg b/dash/apps/switch-console-desktop/src/assets/images/mcp/slack.svg
similarity index 100%
rename from dash/apps/switchdash-desktop/src/assets/images/mcp/slack.svg
rename to dash/apps/switch-console-desktop/src/assets/images/mcp/slack.svg
diff --git a/dash/apps/switchdash-desktop/src/assets/images/mcp/stripe.svg b/dash/apps/switch-console-desktop/src/assets/images/mcp/stripe.svg
similarity index 100%
rename from dash/apps/switchdash-desktop/src/assets/images/mcp/stripe.svg
rename to dash/apps/switch-console-desktop/src/assets/images/mcp/stripe.svg
diff --git a/dash/apps/switchdash-desktop/src/assets/images/mcp/supabase.svg b/dash/apps/switch-console-desktop/src/assets/images/mcp/supabase.svg
similarity index 100%
rename from dash/apps/switchdash-desktop/src/assets/images/mcp/supabase.svg
rename to dash/apps/switch-console-desktop/src/assets/images/mcp/supabase.svg
diff --git a/dash/apps/switchdash-desktop/src/assets/images/mcp/vercel.svg b/dash/apps/switch-console-desktop/src/assets/images/mcp/vercel.svg
similarity index 100%
rename from dash/apps/switchdash-desktop/src/assets/images/mcp/vercel.svg
rename to dash/apps/switch-console-desktop/src/assets/images/mcp/vercel.svg
diff --git a/dash/apps/switchdash-desktop/src/assets/images/mcp/webflow.svg b/dash/apps/switch-console-desktop/src/assets/images/mcp/webflow.svg
similarity index 100%
rename from dash/apps/switchdash-desktop/src/assets/images/mcp/webflow.svg
rename to dash/apps/switch-console-desktop/src/assets/images/mcp/webflow.svg
diff --git a/dash/apps/switchdash-desktop/src/assets/images/mcp/wix.svg b/dash/apps/switch-console-desktop/src/assets/images/mcp/wix.svg
similarity index 100%
rename from dash/apps/switchdash-desktop/src/assets/images/mcp/wix.svg
rename to dash/apps/switch-console-desktop/src/assets/images/mcp/wix.svg
diff --git a/dash/apps/switchdash-desktop/src/assets/images/mcp/wordpress.svg b/dash/apps/switch-console-desktop/src/assets/images/mcp/wordpress.svg
similarity index 100%
rename from dash/apps/switchdash-desktop/src/assets/images/mcp/wordpress.svg
rename to dash/apps/switch-console-desktop/src/assets/images/mcp/wordpress.svg
diff --git a/dash/apps/switchdash-desktop/src/assets/images/mistral.svg b/dash/apps/switch-console-desktop/src/assets/images/mistral.svg
similarity index 100%
rename from dash/apps/switchdash-desktop/src/assets/images/mistral.svg
rename to dash/apps/switch-console-desktop/src/assets/images/mistral.svg
diff --git a/dash/apps/switchdash-desktop/src/assets/images/openai.svg b/dash/apps/switch-console-desktop/src/assets/images/openai.svg
similarity index 100%
rename from dash/apps/switchdash-desktop/src/assets/images/openai.svg
rename to dash/apps/switch-console-desktop/src/assets/images/openai.svg
diff --git a/dash/apps/switchdash-desktop/src/assets/images/opencode-dark.svg b/dash/apps/switch-console-desktop/src/assets/images/opencode-dark.svg
similarity index 100%
rename from dash/apps/switchdash-desktop/src/assets/images/opencode-dark.svg
rename to dash/apps/switch-console-desktop/src/assets/images/opencode-dark.svg
diff --git a/dash/apps/switchdash-desktop/src/assets/images/opencode.png b/dash/apps/switch-console-desktop/src/assets/images/opencode.png
similarity index 100%
rename from dash/apps/switchdash-desktop/src/assets/images/opencode.png
rename to dash/apps/switch-console-desktop/src/assets/images/opencode.png
diff --git a/dash/apps/switchdash-desktop/src/assets/images/opencode.svg b/dash/apps/switch-console-desktop/src/assets/images/opencode.svg
similarity index 100%
rename from dash/apps/switchdash-desktop/src/assets/images/opencode.svg
rename to dash/apps/switch-console-desktop/src/assets/images/opencode.svg
diff --git a/dash/apps/switchdash-desktop/src/assets/images/pi.png b/dash/apps/switch-console-desktop/src/assets/images/pi.png
similarity index 100%
rename from dash/apps/switchdash-desktop/src/assets/images/pi.png
rename to dash/apps/switch-console-desktop/src/assets/images/pi.png
diff --git a/dash/apps/switchdash-desktop/src/assets/images/plane.png b/dash/apps/switch-console-desktop/src/assets/images/plane.png
similarity index 100%
rename from dash/apps/switchdash-desktop/src/assets/images/plane.png
rename to dash/apps/switch-console-desktop/src/assets/images/plane.png
diff --git a/dash/apps/switchdash-desktop/src/assets/images/pycharm.svg b/dash/apps/switch-console-desktop/src/assets/images/pycharm.svg
similarity index 100%
rename from dash/apps/switchdash-desktop/src/assets/images/pycharm.svg
rename to dash/apps/switch-console-desktop/src/assets/images/pycharm.svg
diff --git a/dash/apps/switchdash-desktop/src/assets/images/qwen.svg b/dash/apps/switch-console-desktop/src/assets/images/qwen.svg
similarity index 100%
rename from dash/apps/switchdash-desktop/src/assets/images/qwen.svg
rename to dash/apps/switch-console-desktop/src/assets/images/qwen.svg
diff --git a/dash/apps/switchdash-desktop/src/assets/images/rubymine.svg b/dash/apps/switch-console-desktop/src/assets/images/rubymine.svg
similarity index 100%
rename from dash/apps/switchdash-desktop/src/assets/images/rubymine.svg
rename to dash/apps/switch-console-desktop/src/assets/images/rubymine.svg
diff --git a/dash/apps/switchdash-desktop/src/assets/images/rustrover.svg b/dash/apps/switch-console-desktop/src/assets/images/rustrover.svg
similarity index 100%
rename from dash/apps/switchdash-desktop/src/assets/images/rustrover.svg
rename to dash/apps/switch-console-desktop/src/assets/images/rustrover.svg
diff --git a/dash/apps/switchdash-desktop/src/assets/images/safari.png b/dash/apps/switch-console-desktop/src/assets/images/safari.png
similarity index 100%
rename from dash/apps/switchdash-desktop/src/assets/images/safari.png
rename to dash/apps/switch-console-desktop/src/assets/images/safari.png
diff --git a/dash/apps/switchdash-desktop/src/assets/images/shells/fish.svg b/dash/apps/switch-console-desktop/src/assets/images/shells/fish.svg
similarity index 100%
rename from dash/apps/switchdash-desktop/src/assets/images/shells/fish.svg
rename to dash/apps/switch-console-desktop/src/assets/images/shells/fish.svg
diff --git a/dash/apps/switchdash-desktop/src/assets/images/skills/anthropic.svg b/dash/apps/switch-console-desktop/src/assets/images/skills/anthropic.svg
similarity index 100%
rename from dash/apps/switchdash-desktop/src/assets/images/skills/anthropic.svg
rename to dash/apps/switch-console-desktop/src/assets/images/skills/anthropic.svg
diff --git a/dash/apps/switchdash-desktop/src/assets/images/skills/apple.svg b/dash/apps/switch-console-desktop/src/assets/images/skills/apple.svg
similarity index 100%
rename from dash/apps/switchdash-desktop/src/assets/images/skills/apple.svg
rename to dash/apps/switch-console-desktop/src/assets/images/skills/apple.svg
diff --git a/dash/apps/switchdash-desktop/src/assets/images/skills/bun.svg b/dash/apps/switch-console-desktop/src/assets/images/skills/bun.svg
similarity index 100%
rename from dash/apps/switchdash-desktop/src/assets/images/skills/bun.svg
rename to dash/apps/switch-console-desktop/src/assets/images/skills/bun.svg
diff --git a/dash/apps/switchdash-desktop/src/assets/images/skills/github.svg b/dash/apps/switch-console-desktop/src/assets/images/skills/github.svg
similarity index 100%
rename from dash/apps/switchdash-desktop/src/assets/images/skills/github.svg
rename to dash/apps/switch-console-desktop/src/assets/images/skills/github.svg
diff --git a/dash/apps/switchdash-desktop/src/assets/images/skills/jupyter.svg b/dash/apps/switch-console-desktop/src/assets/images/skills/jupyter.svg
similarity index 100%
rename from dash/apps/switchdash-desktop/src/assets/images/skills/jupyter.svg
rename to dash/apps/switch-console-desktop/src/assets/images/skills/jupyter.svg
diff --git a/dash/apps/switchdash-desktop/src/assets/images/skills/mysql.svg b/dash/apps/switch-console-desktop/src/assets/images/skills/mysql.svg
similarity index 100%
rename from dash/apps/switchdash-desktop/src/assets/images/skills/mysql.svg
rename to dash/apps/switch-console-desktop/src/assets/images/skills/mysql.svg
diff --git a/dash/apps/switchdash-desktop/src/assets/images/skills/openai.svg b/dash/apps/switch-console-desktop/src/assets/images/skills/openai.svg
similarity index 100%
rename from dash/apps/switchdash-desktop/src/assets/images/skills/openai.svg
rename to dash/apps/switch-console-desktop/src/assets/images/skills/openai.svg
diff --git a/dash/apps/switchdash-desktop/src/assets/images/skills/postgresql.svg b/dash/apps/switch-console-desktop/src/assets/images/skills/postgresql.svg
similarity index 100%
rename from dash/apps/switchdash-desktop/src/assets/images/skills/postgresql.svg
rename to dash/apps/switch-console-desktop/src/assets/images/skills/postgresql.svg
diff --git a/dash/apps/switchdash-desktop/src/assets/images/skills/react.svg b/dash/apps/switch-console-desktop/src/assets/images/skills/react.svg
similarity index 100%
rename from dash/apps/switchdash-desktop/src/assets/images/skills/react.svg
rename to dash/apps/switch-console-desktop/src/assets/images/skills/react.svg
diff --git a/dash/apps/switchdash-desktop/src/assets/images/skills/render.svg b/dash/apps/switch-console-desktop/src/assets/images/skills/render.svg
similarity index 100%
rename from dash/apps/switchdash-desktop/src/assets/images/skills/render.svg
rename to dash/apps/switch-console-desktop/src/assets/images/skills/render.svg
diff --git a/dash/apps/switchdash-desktop/src/assets/images/skills/resend.svg b/dash/apps/switch-console-desktop/src/assets/images/skills/resend.svg
similarity index 100%
rename from dash/apps/switchdash-desktop/src/assets/images/skills/resend.svg
rename to dash/apps/switch-console-desktop/src/assets/images/skills/resend.svg
diff --git a/dash/apps/switchdash-desktop/src/assets/images/skills/shadcn.svg b/dash/apps/switch-console-desktop/src/assets/images/skills/shadcn.svg
similarity index 100%
rename from dash/apps/switchdash-desktop/src/assets/images/skills/shadcn.svg
rename to dash/apps/switch-console-desktop/src/assets/images/skills/shadcn.svg
diff --git a/dash/apps/switchdash-desktop/src/assets/images/skills/swift.svg b/dash/apps/switch-console-desktop/src/assets/images/skills/swift.svg
similarity index 100%
rename from dash/apps/switchdash-desktop/src/assets/images/skills/swift.svg
rename to dash/apps/switch-console-desktop/src/assets/images/skills/swift.svg
diff --git a/dash/apps/switchdash-desktop/src/assets/images/skills/xcode.svg b/dash/apps/switch-console-desktop/src/assets/images/skills/xcode.svg
similarity index 100%
rename from dash/apps/switchdash-desktop/src/assets/images/skills/xcode.svg
rename to dash/apps/switch-console-desktop/src/assets/images/skills/xcode.svg
diff --git a/dash/apps/switchdash-desktop/src/assets/images/switchdash/app-icon-beta.png b/dash/apps/switch-console-desktop/src/assets/images/switch-console/app-icon-beta.png
similarity index 100%
rename from dash/apps/switchdash-desktop/src/assets/images/switchdash/app-icon-beta.png
rename to dash/apps/switch-console-desktop/src/assets/images/switch-console/app-icon-beta.png
diff --git a/dash/apps/switchdash-desktop/src/assets/images/switchdash/app-icon-canary.png b/dash/apps/switch-console-desktop/src/assets/images/switch-console/app-icon-canary.png
similarity index 100%
rename from dash/apps/switchdash-desktop/src/assets/images/switchdash/app-icon-canary.png
rename to dash/apps/switch-console-desktop/src/assets/images/switch-console/app-icon-canary.png
diff --git a/dash/apps/switchdash-desktop/src/assets/images/switchdash/icon-dock.png b/dash/apps/switch-console-desktop/src/assets/images/switch-console/icon-dock.png
similarity index 100%
rename from dash/apps/switchdash-desktop/src/assets/images/switchdash/icon-dock.png
rename to dash/apps/switch-console-desktop/src/assets/images/switch-console/icon-dock.png
diff --git a/dash/apps/switchdash-desktop/src/assets/images/switchdash/switchdash-beta.icns b/dash/apps/switch-console-desktop/src/assets/images/switch-console/switch-console-beta.icns
similarity index 100%
rename from dash/apps/switchdash-desktop/src/assets/images/switchdash/switchdash-beta.icns
rename to dash/apps/switch-console-desktop/src/assets/images/switch-console/switch-console-beta.icns
diff --git a/dash/apps/switchdash-desktop/src/assets/images/switchdash/switchdash-beta.iconset/icon_128x128.png b/dash/apps/switch-console-desktop/src/assets/images/switch-console/switch-console-beta.iconset/icon_128x128.png
similarity index 100%
rename from dash/apps/switchdash-desktop/src/assets/images/switchdash/switchdash-beta.iconset/icon_128x128.png
rename to dash/apps/switch-console-desktop/src/assets/images/switch-console/switch-console-beta.iconset/icon_128x128.png
diff --git a/dash/apps/switchdash-desktop/src/assets/images/switchdash/switchdash-beta.iconset/[email protected] b/dash/apps/switch-console-desktop/src/assets/images/switch-console/switch-console-beta.iconset/[email protected]
similarity index 100%
rename from dash/apps/switchdash-desktop/src/assets/images/switchdash/switchdash-beta.iconset/[email protected]
rename to dash/apps/switch-console-desktop/src/assets/images/switch-console/switch-console-beta.iconset/[email protected]
diff --git a/dash/apps/switchdash-desktop/src/assets/images/switchdash/switchdash-beta.iconset/icon_16x16.png b/dash/apps/switch-console-desktop/src/assets/images/switch-console/switch-console-beta.iconset/icon_16x16.png
similarity index 100%
rename from dash/apps/switchdash-desktop/src/assets/images/switchdash/switchdash-beta.iconset/icon_16x16.png
rename to dash/apps/switch-console-desktop/src/assets/images/switch-console/switch-console-beta.iconset/icon_16x16.png
diff --git a/dash/apps/switchdash-desktop/src/assets/images/switchdash/switchdash-beta.iconset/[email protected] b/dash/apps/switch-console-desktop/src/assets/images/switch-console/switch-console-beta.iconset/[email protected]
similarity index 100%
rename from dash/apps/switchdash-desktop/src/assets/images/switchdash/switchdash-beta.iconset/[email protected]
rename to dash/apps/switch-console-desktop/src/assets/images/switch-console/switch-console-beta.iconset/[email protected]
diff --git a/dash/apps/switchdash-desktop/src/assets/images/switchdash/switchdash-beta.iconset/icon_256x256.png b/dash/apps/switch-console-desktop/src/assets/images/switch-console/switch-console-beta.iconset/icon_256x256.png
similarity index 100%
rename from dash/apps/switchdash-desktop/src/assets/images/switchdash/switchdash-beta.iconset/icon_256x256.png
rename to dash/apps/switch-console-desktop/src/assets/images/switch-console/switch-console-beta.iconset/icon_256x256.png
diff --git a/dash/apps/switchdash-desktop/src/assets/images/switchdash/switchdash-beta.iconset/[email protected] b/dash/apps/switch-console-desktop/src/assets/images/switch-console/switch-console-beta.iconset/[email protected]
similarity index 100%
rename from dash/apps/switchdash-desktop/src/assets/images/switchdash/switchdash-beta.iconset/[email protected]
rename to dash/apps/switch-console-desktop/src/assets/images/switch-console/switch-console-beta.iconset/[email protected]
diff --git a/dash/apps/switchdash-desktop/src/assets/images/switchdash/switchdash-beta.iconset/icon_32x32.png b/dash/apps/switch-console-desktop/src/assets/images/switch-console/switch-console-beta.iconset/icon_32x32.png
similarity index 100%
rename from dash/apps/switchdash-desktop/src/assets/images/switchdash/switchdash-beta.iconset/icon_32x32.png
rename to dash/apps/switch-console-desktop/src/assets/images/switch-console/switch-console-beta.iconset/icon_32x32.png
diff --git a/dash/apps/switchdash-desktop/src/assets/images/switchdash/switchdash-beta.iconset/[email protected] b/dash/apps/switch-console-desktop/src/assets/images/switch-console/switch-console-beta.iconset/[email protected]
similarity index 100%
rename from dash/apps/switchdash-desktop/src/assets/images/switchdash/switchdash-beta.iconset/[email protected]
rename to dash/apps/switch-console-desktop/src/assets/images/switch-console/switch-console-beta.iconset/[email protected]
diff --git a/dash/apps/switchdash-desktop/src/assets/images/switchdash/switchdash-beta.iconset/icon_512x512.png b/dash/apps/switch-console-desktop/src/assets/images/switch-console/switch-console-beta.iconset/icon_512x512.png
similarity index 100%
rename from dash/apps/switchdash-desktop/src/assets/images/switchdash/switchdash-beta.iconset/icon_512x512.png
rename to dash/apps/switch-console-desktop/src/assets/images/switch-console/switch-console-beta.iconset/icon_512x512.png
diff --git a/dash/apps/switchdash-desktop/src/assets/images/switchdash/switchdash-beta.iconset/[email protected] b/dash/apps/switch-console-desktop/src/assets/images/switch-console/switch-console-beta.iconset/[email protected]
similarity index 100%
rename from dash/apps/switchdash-desktop/src/assets/images/switchdash/switchdash-beta.iconset/[email protected]
rename to dash/apps/switch-console-desktop/src/assets/images/switch-console/switch-console-beta.iconset/[email protected]
diff --git a/dash/apps/switchdash-desktop/src/assets/images/switchdash/switchdash-canary.icns b/dash/apps/switch-console-desktop/src/assets/images/switch-console/switch-console-canary.icns
similarity index 100%
rename from dash/apps/switchdash-desktop/src/assets/images/switchdash/switchdash-canary.icns
rename to dash/apps/switch-console-desktop/src/assets/images/switch-console/switch-console-canary.icns
diff --git a/dash/apps/switchdash-desktop/src/assets/images/terminal.png b/dash/apps/switch-console-desktop/src/assets/images/terminal.png
similarity index 100%
rename from dash/apps/switchdash-desktop/src/assets/images/terminal.png
rename to dash/apps/switch-console-desktop/src/assets/images/terminal.png
diff --git a/dash/apps/switchdash-desktop/src/assets/images/termy.png b/dash/apps/switch-console-desktop/src/assets/images/termy.png
similarity index 100%
rename from dash/apps/switchdash-desktop/src/assets/images/termy.png
rename to dash/apps/switch-console-desktop/src/assets/images/termy.png
diff --git a/dash/apps/switchdash-desktop/src/assets/images/trae.png b/dash/apps/switch-console-desktop/src/assets/images/trae.png
similarity index 100%
rename from dash/apps/switchdash-desktop/src/assets/images/trae.png
rename to dash/apps/switch-console-desktop/src/assets/images/trae.png
diff --git a/dash/apps/switchdash-desktop/src/assets/images/vscode.png b/dash/apps/switch-console-desktop/src/assets/images/vscode.png
similarity index 100%
rename from dash/apps/switchdash-desktop/src/assets/images/vscode.png
rename to dash/apps/switch-console-desktop/src/assets/images/vscode.png
diff --git a/dash/apps/switchdash-desktop/src/assets/images/vscodium.png b/dash/apps/switch-console-desktop/src/assets/images/vscodium.png
similarity index 100%
rename from dash/apps/switchdash-desktop/src/assets/images/vscodium.png
rename to dash/apps/switch-console-desktop/src/assets/images/vscodium.png
diff --git a/dash/apps/switchdash-desktop/src/assets/images/warp.png b/dash/apps/switch-console-desktop/src/assets/images/warp.png
similarity index 100%
rename from dash/apps/switchdash-desktop/src/assets/images/warp.png
rename to dash/apps/switch-console-desktop/src/assets/images/warp.png
diff --git a/dash/apps/switchdash-desktop/src/assets/images/webstorm.svg b/dash/apps/switch-console-desktop/src/assets/images/webstorm.svg
similarity index 100%
rename from dash/apps/switchdash-desktop/src/assets/images/webstorm.svg
rename to dash/apps/switch-console-desktop/src/assets/images/webstorm.svg
diff --git a/dash/apps/switchdash-desktop/src/assets/images/windsurf.png b/dash/apps/switch-console-desktop/src/assets/images/windsurf.png
similarity index 100%
rename from dash/apps/switchdash-desktop/src/assets/images/windsurf.png
rename to dash/apps/switch-console-desktop/src/assets/images/windsurf.png
diff --git a/dash/apps/switchdash-desktop/src/assets/images/xai.svg b/dash/apps/switch-console-desktop/src/assets/images/xai.svg
similarity index 100%
rename from dash/apps/switchdash-desktop/src/assets/images/xai.svg
rename to dash/apps/switch-console-desktop/src/assets/images/xai.svg
diff --git a/dash/apps/switchdash-desktop/src/assets/images/xcode.png b/dash/apps/switch-console-desktop/src/assets/images/xcode.png
similarity index 100%
rename from dash/apps/switchdash-desktop/src/assets/images/xcode.png
rename to dash/apps/switch-console-desktop/src/assets/images/xcode.png
diff --git a/dash/apps/switchdash-desktop/src/assets/images/zed.png b/dash/apps/switch-console-desktop/src/assets/images/zed.png
similarity index 100%
rename from dash/apps/switchdash-desktop/src/assets/images/zed.png
rename to dash/apps/switch-console-desktop/src/assets/images/zed.png
diff --git a/dash/apps/switchdash-desktop/src/main/app/configure-app-identity.ts b/dash/apps/switch-console-desktop/src/main/app/configure-app-identity.ts
similarity index 58%
rename from dash/apps/switchdash-desktop/src/main/app/configure-app-identity.ts
rename to dash/apps/switch-console-desktop/src/main/app/configure-app-identity.ts
index 05f96ab05..932712a10 100644
--- a/dash/apps/switchdash-desktop/src/main/app/configure-app-identity.ts
+++ b/dash/apps/switch-console-desktop/src/main/app/configure-app-identity.ts
@@ -1,6 +1,6 @@
import { join } from 'node:path';
import { app } from 'electron';
-import { PRODUCT_NAME, USER_DATA_DIR_NAME } from '@shared/app-identity';
+import { OS_APP_NAME, USER_DATA_DIR_NAME } from '@shared/app-identity';
-app.setName(PRODUCT_NAME);
+app.setName(OS_APP_NAME);
app.setPath('userData', join(app.getPath('appData'), USER_DATA_DIR_NAME));
diff --git a/dash/apps/switchdash-desktop/src/main/app/deeplinks.ts b/dash/apps/switch-console-desktop/src/main/app/deeplinks.ts
similarity index 96%
rename from dash/apps/switchdash-desktop/src/main/app/deeplinks.ts
rename to dash/apps/switch-console-desktop/src/main/app/deeplinks.ts
index c83efd564..df33a21c1 100644
--- a/dash/apps/switchdash-desktop/src/main/app/deeplinks.ts
+++ b/dash/apps/switch-console-desktop/src/main/app/deeplinks.ts
@@ -6,7 +6,7 @@ import { log } from '../lib/logger';
import { getMainWindow } from './window';
/**
- * Custom URL scheme switchdash registers with the OS. Matches the scheme the
+ * Custom URL scheme Switch Console registers with the OS. Matches the scheme the
* Switch gateway builds (`switch_core.deeplinks.SWITCHDASH_SCHEME`): a click on
* an https `/dl/...` link bounces here as `switchdash://session?…` and the OS
* launches (or focuses) this app with that URL.
@@ -28,7 +28,7 @@ type ParsedDeeplink = {
server: string;
agentId: string;
roomId: string;
- /** Shared session id; present on links from current switchdash builds and
+ /** Shared session id; present on links from current Switch Console builds and
* preferred for resolution (works on any client). Empty for older links. */
sessionId: string;
};
diff --git a/dash/apps/switchdash-desktop/src/main/app/menu.ts b/dash/apps/switch-console-desktop/src/main/app/menu.ts
similarity index 92%
rename from dash/apps/switchdash-desktop/src/main/app/menu.ts
rename to dash/apps/switch-console-desktop/src/main/app/menu.ts
index 42c7867af..50e0ded5f 100644
--- a/dash/apps/switchdash-desktop/src/main/app/menu.ts
+++ b/dash/apps/switch-console-desktop/src/main/app/menu.ts
@@ -1,5 +1,6 @@
import { app, clipboard, Menu, shell } from 'electron';
import { events } from '@main/lib/events';
+import { PRODUCT_NAME } from '@shared/app-identity';
import {
menuCheckForUpdatesChannel,
menuGiveFeedbackChannel,
@@ -9,15 +10,15 @@ import {
menuUndoChannel,
} from '@shared/events/appEvents';
import {
- SWITCHDASH_DOCS_URL,
- SWITCHDASH_ISSUES_NEW_URL,
- SWITCHDASH_RELEASES_URL,
+ SWITCH_CONSOLE_DOCS_URL,
+ SWITCH_CONSOLE_ISSUES_NEW_URL,
+ SWITCH_CONSOLE_RELEASES_URL,
} from '@shared/urls';
import { getMainWindow } from './window';
function copyVersionInfo(): void {
const lines = [
- `${app.getName()} ${app.getVersion()}`,
+ `${PRODUCT_NAME} ${app.getVersion()}`,
`Platform: ${process.platform} ${process.arch}`,
`Electron: ${process.versions.electron}`,
];
@@ -158,13 +159,13 @@ export function setupApplicationMenu(): void {
{
label: 'Docs',
click: () => {
- void shell.openExternal(SWITCHDASH_DOCS_URL);
+ void shell.openExternal(SWITCH_CONSOLE_DOCS_URL);
},
},
{
label: 'Changelog',
click: () => {
- void shell.openExternal(SWITCHDASH_RELEASES_URL);
+ void shell.openExternal(SWITCH_CONSOLE_RELEASES_URL);
},
},
{ type: 'separator' as const },
@@ -174,7 +175,7 @@ export function setupApplicationMenu(): void {
{
label: 'Report Issue\u2026',
click: () => {
- void shell.openExternal(SWITCHDASH_ISSUES_NEW_URL);
+ void shell.openExternal(SWITCH_CONSOLE_ISSUES_NEW_URL);
},
},
{
diff --git a/dash/apps/switchdash-desktop/src/main/app/protocol.ts b/dash/apps/switch-console-desktop/src/main/app/protocol.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/main/app/protocol.ts
rename to dash/apps/switch-console-desktop/src/main/app/protocol.ts
diff --git a/dash/apps/switchdash-desktop/src/main/app/window.ts b/dash/apps/switch-console-desktop/src/main/app/window.ts
similarity index 98%
rename from dash/apps/switchdash-desktop/src/main/app/window.ts
rename to dash/apps/switch-console-desktop/src/main/app/window.ts
index a827d8c8b..57fdcc5ff 100644
--- a/dash/apps/switchdash-desktop/src/main/app/window.ts
+++ b/dash/apps/switch-console-desktop/src/main/app/window.ts
@@ -1,6 +1,6 @@
import { join } from 'node:path';
import { BrowserWindow } from 'electron';
-import appIcon from '@/assets/images/switchdash/icon-dock.png?asset';
+import appIcon from '@/assets/images/switch-console/icon-dock.png?asset';
import { log } from '@main/lib/logger';
import { registerExternalLinkHandlers, registerGuestLinkHandlers } from '@main/utils/externalLinks';
import { PRODUCT_NAME } from '@shared/app-identity';
diff --git a/dash/apps/switchdash-desktop/src/main/core/agent-hooks/agent-hook-service.ts b/dash/apps/switch-console-desktop/src/main/core/agent-hooks/agent-hook-service.ts
similarity index 97%
rename from dash/apps/switchdash-desktop/src/main/core/agent-hooks/agent-hook-service.ts
rename to dash/apps/switch-console-desktop/src/main/core/agent-hooks/agent-hook-service.ts
index 573d293d2..f29090a45 100644
--- a/dash/apps/switchdash-desktop/src/main/core/agent-hooks/agent-hook-service.ts
+++ b/dash/apps/switch-console-desktop/src/main/core/agent-hooks/agent-hook-service.ts
@@ -1,4 +1,4 @@
-import type { IDisposable, IInitializable } from '@switchdash/shared';
+import type { IDisposable, IInitializable } from '@switch-console/shared';
import { eq } from 'drizzle-orm';
import { getPlugin } from '@main/core/providers/plugin-registry';
import { saveProviderSessionId } from '@main/core/sessions/operations/save-provider-session-id';
@@ -74,9 +74,9 @@ class AgentHookService implements IInitializable, IDisposable, Hookable<AgentHoo
/**
* Process one raw hook callback. Local sessions (`startLocalPoller: true`)
- * start switchdash's own room poller on a `connect_to_room`. Remote sessions
+ * start Switch Console's own room poller on a `connect_to_room`. Remote sessions
* relayed from the on-VM sidecar (`startLocalPoller: false`) skip it — the
- * sidecar owns polling and tmux injection on the VM; switchdash only records
+ * sidecar owns polling and tmux injection on the VM; Switch Console only records
* the room and status for display so it must not start a competing poller.
*/
async handleRawHook(raw: RawHookRequest, opts: { startLocalPoller: boolean }): Promise<void> {
diff --git a/dash/apps/switchdash-desktop/src/main/core/agent-hooks/claude-trust-service.test.ts b/dash/apps/switch-console-desktop/src/main/core/agent-hooks/claude-trust-service.test.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/main/core/agent-hooks/claude-trust-service.test.ts
rename to dash/apps/switch-console-desktop/src/main/core/agent-hooks/claude-trust-service.test.ts
diff --git a/dash/apps/switchdash-desktop/src/main/core/agent-hooks/claude-trust-service.ts b/dash/apps/switch-console-desktop/src/main/core/agent-hooks/claude-trust-service.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/main/core/agent-hooks/claude-trust-service.ts
rename to dash/apps/switch-console-desktop/src/main/core/agent-hooks/claude-trust-service.ts
diff --git a/dash/apps/switchdash-desktop/src/main/core/agent-hooks/cursor-trust-service.test.ts b/dash/apps/switch-console-desktop/src/main/core/agent-hooks/cursor-trust-service.test.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/main/core/agent-hooks/cursor-trust-service.test.ts
rename to dash/apps/switch-console-desktop/src/main/core/agent-hooks/cursor-trust-service.test.ts
diff --git a/dash/apps/switchdash-desktop/src/main/core/agent-hooks/cursor-trust-service.ts b/dash/apps/switch-console-desktop/src/main/core/agent-hooks/cursor-trust-service.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/main/core/agent-hooks/cursor-trust-service.ts
rename to dash/apps/switch-console-desktop/src/main/core/agent-hooks/cursor-trust-service.ts
diff --git a/dash/apps/switchdash-desktop/src/main/core/agent-hooks/db-context-resolver.ts b/dash/apps/switch-console-desktop/src/main/core/agent-hooks/db-context-resolver.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/main/core/agent-hooks/db-context-resolver.ts
rename to dash/apps/switch-console-desktop/src/main/core/agent-hooks/db-context-resolver.ts
diff --git a/dash/apps/switchdash-desktop/src/main/core/agent-hooks/derive-agent-status.test.ts b/dash/apps/switch-console-desktop/src/main/core/agent-hooks/derive-agent-status.test.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/main/core/agent-hooks/derive-agent-status.test.ts
rename to dash/apps/switch-console-desktop/src/main/core/agent-hooks/derive-agent-status.test.ts
diff --git a/dash/apps/switchdash-desktop/src/main/core/agent-hooks/derive-agent-status.ts b/dash/apps/switch-console-desktop/src/main/core/agent-hooks/derive-agent-status.ts
similarity index 89%
rename from dash/apps/switchdash-desktop/src/main/core/agent-hooks/derive-agent-status.ts
rename to dash/apps/switch-console-desktop/src/main/core/agent-hooks/derive-agent-status.ts
index cf4f044af..ce06d5208 100644
--- a/dash/apps/switchdash-desktop/src/main/core/agent-hooks/derive-agent-status.ts
+++ b/dash/apps/switch-console-desktop/src/main/core/agent-hooks/derive-agent-status.ts
@@ -5,7 +5,7 @@ import {
} from '@shared/core/providers/agentEvents';
/**
- * Map a raw agent hook event onto the coarse session status switchdash tracks,
+ * Map a raw agent hook event onto the coarse session status Switch Console tracks,
* or null when the event carries no status signal. Pure and dependency-free so
* both the local hook service and the remote sidecar derive status identically.
*/
diff --git a/dash/apps/switchdash-desktop/src/main/core/agent-hooks/dir-trust-service.test.ts b/dash/apps/switch-console-desktop/src/main/core/agent-hooks/dir-trust-service.test.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/main/core/agent-hooks/dir-trust-service.test.ts
rename to dash/apps/switch-console-desktop/src/main/core/agent-hooks/dir-trust-service.test.ts
diff --git a/dash/apps/switchdash-desktop/src/main/core/agent-hooks/dir-trust-service.ts b/dash/apps/switch-console-desktop/src/main/core/agent-hooks/dir-trust-service.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/main/core/agent-hooks/dir-trust-service.ts
rename to dash/apps/switch-console-desktop/src/main/core/agent-hooks/dir-trust-service.ts
diff --git a/dash/apps/switchdash-desktop/src/main/core/agent-hooks/event-enricher.test.ts b/dash/apps/switch-console-desktop/src/main/core/agent-hooks/event-enricher.test.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/main/core/agent-hooks/event-enricher.test.ts
rename to dash/apps/switch-console-desktop/src/main/core/agent-hooks/event-enricher.test.ts
diff --git a/dash/apps/switchdash-desktop/src/main/core/agent-hooks/event-enricher.ts b/dash/apps/switch-console-desktop/src/main/core/agent-hooks/event-enricher.ts
similarity index 93%
rename from dash/apps/switchdash-desktop/src/main/core/agent-hooks/event-enricher.ts
rename to dash/apps/switch-console-desktop/src/main/core/agent-hooks/event-enricher.ts
index fbddf5e40..9c67c7244 100644
--- a/dash/apps/switchdash-desktop/src/main/core/agent-hooks/event-enricher.ts
+++ b/dash/apps/switch-console-desktop/src/main/core/agent-hooks/event-enricher.ts
@@ -1,5 +1,5 @@
-import type { CanonicalHookEvent } from '@switchdash/core/agents/plugins';
-import { defaultHookEventParser } from '@switchdash/core/agents/plugins/helpers';
+import type { CanonicalHookEvent } from '@switch-console/core/agents/plugins';
+import { defaultHookEventParser } from '@switch-console/core/agents/plugins/helpers';
import { getPlugin } from '@main/core/providers/plugin-registry';
import type { AgentEvent } from '@shared/core/providers/agentEvents';
import type { RawHookRequest } from './hook-server';
@@ -41,18 +41,18 @@ export interface HookEventLogger {
/**
* Event type emitted by the `connect_to_room` PostToolUse hook that
- * `buildClaudeHookConfig` in `@switchdash/plugins` registers, scoped to the
+ * `buildClaudeHookConfig` in `@switch-console/plugins` registers, scoped to the
* Switch MCP tool by an `mcp__.*__connect_to_room` matcher.
*
- * Claude only. A session switchdash launched learns its room from the server
+ * Claude only. A session Switch Console launched learns its room from the server
* instead: it carries a `SWITCH_CONNECTION_ID` and its `connect_to_room` claims
* the room on that connection. The hook covers what that path misses — a Claude
- * session started outside switchdash and adopted afterwards, which joined a room
+ * session started outside Switch Console and adopted afterwards, which joined a room
* on a connection of its own.
*
* `buildCodexHookConfig` registers no room hook. Note the case is no longer
* impossible: the Codex connector plugin now ships the Switch MCP server, so a
- * Codex session started outside switchdash does have `connect_to_room`. An
+ * Codex session started outside Switch Console does have `connect_to_room`. An
* adopted Codex session is therefore untracked rather than inconceivable.
*/
const SWITCH_ROOM_CONNECT_EVENT = 'switch_room_connect';
diff --git a/dash/apps/switchdash-desktop/src/main/core/agent-hooks/hook-config-service.ts b/dash/apps/switch-console-desktop/src/main/core/agent-hooks/hook-config-service.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/main/core/agent-hooks/hook-config-service.ts
rename to dash/apps/switch-console-desktop/src/main/core/agent-hooks/hook-config-service.ts
diff --git a/dash/apps/switchdash-desktop/src/main/core/agent-hooks/hook-server.test.ts b/dash/apps/switch-console-desktop/src/main/core/agent-hooks/hook-server.test.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/main/core/agent-hooks/hook-server.test.ts
rename to dash/apps/switch-console-desktop/src/main/core/agent-hooks/hook-server.test.ts
diff --git a/dash/apps/switchdash-desktop/src/main/core/agent-hooks/hook-server.ts b/dash/apps/switch-console-desktop/src/main/core/agent-hooks/hook-server.ts
similarity index 96%
rename from dash/apps/switchdash-desktop/src/main/core/agent-hooks/hook-server.ts
rename to dash/apps/switch-console-desktop/src/main/core/agent-hooks/hook-server.ts
index eb64a7bd9..d83a821af 100644
--- a/dash/apps/switchdash-desktop/src/main/core/agent-hooks/hook-server.ts
+++ b/dash/apps/switch-console-desktop/src/main/core/agent-hooks/hook-server.ts
@@ -14,7 +14,7 @@ export interface RelayedHookEvent extends RawHookRequest {
/**
* In-memory ring buffer of the raw hook events the sidecar has handled, exposed
- * over the hook server's `/events` long-poll so switchdash can replay remote
+ * over the hook server's `/events` long-poll so Switch Console can replay remote
* sessions' room/status/session events through its own hook path while the UI
* is attached.
*
@@ -109,7 +109,7 @@ export interface HookServerLogger {
export type HookHandler = (raw: RawHookRequest) => Promise<void>;
-/** One VM-side session switchdash can reconcile into its UI. */
+/** One VM-side session Switch Console can reconcile into its UI. */
export interface SidecarSessionInfo {
sessionId: string;
/** The Switch room the agent is attending, or null for a session that has
@@ -136,7 +136,7 @@ export type SidecarDisconnectHandler = (sessionId: string, terminated: boolean)
* A session's room is claimed on the connection whose id it is handed as
* `SWITCH_CONNECTION_ID`, and only the process reading that connection sees the
* room's events. The sidecar mints one itself for every session its own watcher
- * starts; this is the same hand-off for a session switchdash starts over SSH,
+ * starts; this is the same hand-off for a session Switch Console starts over SSH,
* which would otherwise own a connection nobody on the VM reads.
*/
export type SidecarConnectionHandler = (sessionId: string, providerId: string) => string;
@@ -155,13 +155,13 @@ export class HookServer {
/**
* Start the hook server. When `eventLog` is provided (the remote sidecar
* case), the server additionally exposes a token-gated `GET /events`
- * long-poll so switchdash can replay the events the sidecar handled. When
+ * long-poll so Switch Console can replay the events the sidecar handled. When
* `sessionsProvider` is provided it also exposes a token-gated `GET /sessions`
- * snapshot so switchdash can reconcile VM-spawned sessions into its UI. When
+ * snapshot so Switch Console can reconcile VM-spawned sessions into its UI. When
* `disconnectHandler` is provided it exposes a token-gated `POST /disconnect`
- * so switchdash can drop a session's room connection when it deletes it. When
+ * so Switch Console can drop a session's room connection when it deletes it. When
* `connectionHandler` is provided it exposes a token-gated `POST /connection`
- * so switchdash can open a room connection here for a session it is about to
+ * so Switch Console can open a room connection here for a session it is about to
* start over SSH.
*/
async start(
diff --git a/dash/apps/switchdash-desktop/src/main/core/agent-hooks/notification.ts b/dash/apps/switch-console-desktop/src/main/core/agent-hooks/notification.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/main/core/agent-hooks/notification.ts
rename to dash/apps/switch-console-desktop/src/main/core/agent-hooks/notification.ts
diff --git a/dash/apps/switchdash-desktop/src/main/core/agent-runtime/agent-launch-profile.test.ts b/dash/apps/switch-console-desktop/src/main/core/agent-runtime/agent-launch-profile.test.ts
similarity index 96%
rename from dash/apps/switchdash-desktop/src/main/core/agent-runtime/agent-launch-profile.test.ts
rename to dash/apps/switch-console-desktop/src/main/core/agent-runtime/agent-launch-profile.test.ts
index 7758894de..db3787504 100644
--- a/dash/apps/switchdash-desktop/src/main/core/agent-runtime/agent-launch-profile.test.ts
+++ b/dash/apps/switch-console-desktop/src/main/core/agent-runtime/agent-launch-profile.test.ts
@@ -1,5 +1,5 @@
-import type { PluginFs } from '@switchdash/core/agents/plugins';
-import { pluginRegistry } from '@switchdash/plugins/agents';
+import type { PluginFs } from '@switch-console/core/agents/plugins';
+import { pluginRegistry } from '@switch-console/plugins/agents';
import { describe, expect, it } from 'vitest';
import type { getPlugin } from '@main/core/providers/plugin-registry';
import { prepareAgentLaunchProfile, resolveAgentLaunchProfile } from './agent-launch-profile';
@@ -58,7 +58,7 @@ describe('resolveAgentLaunchProfile', () => {
it('registers no MCP server — the connector plugin ships that', () => {
// The Switch server lives in the plugin's bundled `.mcp.json`, so a session
- // has it whether or not switchdash launched it. Writing it here as well
+ // has it whether or not Switch Console launched it. Writing it here as well
// would restrict nothing and duplicate the declaration.
const profile = resolveAgentLaunchProfile(codexPlugin, {
slug: 'codex-hoot',
diff --git a/dash/apps/switchdash-desktop/src/main/core/agent-runtime/agent-launch-profile.ts b/dash/apps/switch-console-desktop/src/main/core/agent-runtime/agent-launch-profile.ts
similarity index 95%
rename from dash/apps/switchdash-desktop/src/main/core/agent-runtime/agent-launch-profile.ts
rename to dash/apps/switch-console-desktop/src/main/core/agent-runtime/agent-launch-profile.ts
index 75e615776..6953ea99b 100644
--- a/dash/apps/switchdash-desktop/src/main/core/agent-runtime/agent-launch-profile.ts
+++ b/dash/apps/switch-console-desktop/src/main/core/agent-runtime/agent-launch-profile.ts
@@ -2,7 +2,7 @@ import type {
PluginFs,
SwitchLaunchProfile,
SwitchLaunchSpecialization,
-} from '@switchdash/core/agents/plugins';
+} from '@switch-console/core/agents/plugins';
import type { getPlugin } from '@main/core/providers/plugin-registry';
/**
@@ -12,7 +12,7 @@ import type { getPlugin } from '@main/core/providers/plugin-registry';
*
* It does not register the Switch MCP server — the connector plugins ship that
* in their own bundled `.mcp.json`, so it is present for every session of that
- * host rather than only the ones switchdash launches.
+ * host rather than only the ones Switch Console launches.
*
* Pure — no write — so the caller decides where the files land: a direct write
* for local/SSH sessions, or a baked launch spec the VM sidecar writes for remote
diff --git a/dash/apps/switchdash-desktop/src/main/core/agent-runtime/agent-runtime-supervisor.test.ts b/dash/apps/switch-console-desktop/src/main/core/agent-runtime/agent-runtime-supervisor.test.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/main/core/agent-runtime/agent-runtime-supervisor.test.ts
rename to dash/apps/switch-console-desktop/src/main/core/agent-runtime/agent-runtime-supervisor.test.ts
diff --git a/dash/apps/switchdash-desktop/src/main/core/agent-runtime/agent-runtime-supervisor.ts b/dash/apps/switch-console-desktop/src/main/core/agent-runtime/agent-runtime-supervisor.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/main/core/agent-runtime/agent-runtime-supervisor.ts
rename to dash/apps/switch-console-desktop/src/main/core/agent-runtime/agent-runtime-supervisor.ts
diff --git a/dash/apps/switchdash-desktop/src/main/core/agent-runtime/attachment/attach-queue.test.ts b/dash/apps/switch-console-desktop/src/main/core/agent-runtime/attachment/attach-queue.test.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/main/core/agent-runtime/attachment/attach-queue.test.ts
rename to dash/apps/switch-console-desktop/src/main/core/agent-runtime/attachment/attach-queue.test.ts
diff --git a/dash/apps/switchdash-desktop/src/main/core/agent-runtime/attachment/attach-queue.ts b/dash/apps/switch-console-desktop/src/main/core/agent-runtime/attachment/attach-queue.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/main/core/agent-runtime/attachment/attach-queue.ts
rename to dash/apps/switch-console-desktop/src/main/core/agent-runtime/attachment/attach-queue.ts
diff --git a/dash/apps/switchdash-desktop/src/main/core/agent-runtime/attachment/production-remote-attachment-pool.ts b/dash/apps/switch-console-desktop/src/main/core/agent-runtime/attachment/production-remote-attachment-pool.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/main/core/agent-runtime/attachment/production-remote-attachment-pool.ts
rename to dash/apps/switch-console-desktop/src/main/core/agent-runtime/attachment/production-remote-attachment-pool.ts
diff --git a/dash/apps/switchdash-desktop/src/main/core/agent-runtime/attachment/remote-attachment-pool.test.ts b/dash/apps/switch-console-desktop/src/main/core/agent-runtime/attachment/remote-attachment-pool.test.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/main/core/agent-runtime/attachment/remote-attachment-pool.test.ts
rename to dash/apps/switch-console-desktop/src/main/core/agent-runtime/attachment/remote-attachment-pool.test.ts
diff --git a/dash/apps/switchdash-desktop/src/main/core/agent-runtime/attachment/remote-attachment-pool.ts b/dash/apps/switch-console-desktop/src/main/core/agent-runtime/attachment/remote-attachment-pool.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/main/core/agent-runtime/attachment/remote-attachment-pool.ts
rename to dash/apps/switch-console-desktop/src/main/core/agent-runtime/attachment/remote-attachment-pool.ts
diff --git a/dash/apps/switchdash-desktop/src/main/core/agent-runtime/attachment/types.ts b/dash/apps/switch-console-desktop/src/main/core/agent-runtime/attachment/types.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/main/core/agent-runtime/attachment/types.ts
rename to dash/apps/switch-console-desktop/src/main/core/agent-runtime/attachment/types.ts
diff --git a/dash/apps/switchdash-desktop/src/main/core/agent-runtime/impl/ensure-agent-sidecar.ts b/dash/apps/switch-console-desktop/src/main/core/agent-runtime/impl/ensure-agent-sidecar.ts
similarity index 98%
rename from dash/apps/switchdash-desktop/src/main/core/agent-runtime/impl/ensure-agent-sidecar.ts
rename to dash/apps/switch-console-desktop/src/main/core/agent-runtime/impl/ensure-agent-sidecar.ts
index c67f54010..68a6aa6c9 100644
--- a/dash/apps/switchdash-desktop/src/main/core/agent-runtime/impl/ensure-agent-sidecar.ts
+++ b/dash/apps/switch-console-desktop/src/main/core/agent-runtime/impl/ensure-agent-sidecar.ts
@@ -1,4 +1,4 @@
-import type { SwitchLaunchSpecialization } from '@switchdash/core/agents/plugins';
+import type { SwitchLaunchSpecialization } from '@switch-console/core/agents/plugins';
import { generateAgentLaunchSpec } from '@main/core/agents/generate-agent-launch-spec';
import type { IExecutionContext } from '@main/core/execution-context/types';
import { log } from '@main/lib/logger';
diff --git a/dash/apps/switchdash-desktop/src/main/core/agent-runtime/impl/keystroke-injection.test.ts b/dash/apps/switch-console-desktop/src/main/core/agent-runtime/impl/keystroke-injection.test.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/main/core/agent-runtime/impl/keystroke-injection.test.ts
rename to dash/apps/switch-console-desktop/src/main/core/agent-runtime/impl/keystroke-injection.test.ts
diff --git a/dash/apps/switchdash-desktop/src/main/core/agent-runtime/impl/keystroke-injection.ts b/dash/apps/switch-console-desktop/src/main/core/agent-runtime/impl/keystroke-injection.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/main/core/agent-runtime/impl/keystroke-injection.ts
rename to dash/apps/switch-console-desktop/src/main/core/agent-runtime/impl/keystroke-injection.ts
diff --git a/dash/apps/switchdash-desktop/src/main/core/agent-runtime/impl/local-agent-runtime.test.ts b/dash/apps/switch-console-desktop/src/main/core/agent-runtime/impl/local-agent-runtime.test.ts
similarity index 99%
rename from dash/apps/switchdash-desktop/src/main/core/agent-runtime/impl/local-agent-runtime.test.ts
rename to dash/apps/switch-console-desktop/src/main/core/agent-runtime/impl/local-agent-runtime.test.ts
index bb2a44bcb..29610f156 100644
--- a/dash/apps/switchdash-desktop/src/main/core/agent-runtime/impl/local-agent-runtime.test.ts
+++ b/dash/apps/switch-console-desktop/src/main/core/agent-runtime/impl/local-agent-runtime.test.ts
@@ -1,4 +1,4 @@
-import { pluginRegistry } from '@switchdash/plugins/agents';
+import { pluginRegistry } from '@switch-console/plugins/agents';
import { beforeEach, describe, expect, it, vi } from 'vitest';
import { AGENT_FRESH_RECOVERY_GRACE_MS } from '@main/core/agent-runtime/agent-runtime-supervisor';
import { getAgentById } from '@main/core/agents/getAgentById';
diff --git a/dash/apps/switchdash-desktop/src/main/core/agent-runtime/impl/local-agent-runtime.ts b/dash/apps/switch-console-desktop/src/main/core/agent-runtime/impl/local-agent-runtime.ts
similarity index 99%
rename from dash/apps/switchdash-desktop/src/main/core/agent-runtime/impl/local-agent-runtime.ts
rename to dash/apps/switch-console-desktop/src/main/core/agent-runtime/impl/local-agent-runtime.ts
index 64d8be896..c352e983e 100644
--- a/dash/apps/switchdash-desktop/src/main/core/agent-runtime/impl/local-agent-runtime.ts
+++ b/dash/apps/switch-console-desktop/src/main/core/agent-runtime/impl/local-agent-runtime.ts
@@ -223,10 +223,10 @@ export class LocalAgentRuntime implements AgentRuntimeProvider {
const colorEnv = await getTerminalColorEnv();
// Open this session's Switch connection before the session exists, and
- // hand it the id. Its tool calls then arrive on the connection switchdash
+ // hand it the id. Its tool calls then arrive on the connection Switch Console
// is reading, so `connect_to_room` claims the room *there* and the server
// tells us which room the session is in. Before this, the two held
- // separate connections and switchdash had to infer the room by scraping
+ // separate connections and Switch Console had to infer the room by scraping
// the agent's tool response through a hook.
//
// Order matters: the server refuses a call naming a connection that is
diff --git a/dash/apps/switchdash-desktop/src/main/core/agent-runtime/impl/remote-home-plugin-fs.test.ts b/dash/apps/switch-console-desktop/src/main/core/agent-runtime/impl/remote-home-plugin-fs.test.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/main/core/agent-runtime/impl/remote-home-plugin-fs.test.ts
rename to dash/apps/switch-console-desktop/src/main/core/agent-runtime/impl/remote-home-plugin-fs.test.ts
diff --git a/dash/apps/switchdash-desktop/src/main/core/agent-runtime/impl/remote-home-plugin-fs.ts b/dash/apps/switch-console-desktop/src/main/core/agent-runtime/impl/remote-home-plugin-fs.ts
similarity index 97%
rename from dash/apps/switchdash-desktop/src/main/core/agent-runtime/impl/remote-home-plugin-fs.ts
rename to dash/apps/switch-console-desktop/src/main/core/agent-runtime/impl/remote-home-plugin-fs.ts
index 00a4a4e0a..f233404d3 100644
--- a/dash/apps/switchdash-desktop/src/main/core/agent-runtime/impl/remote-home-plugin-fs.ts
+++ b/dash/apps/switch-console-desktop/src/main/core/agent-runtime/impl/remote-home-plugin-fs.ts
@@ -1,4 +1,4 @@
-import type { PluginFs } from '@switchdash/core/agents/plugins';
+import type { PluginFs } from '@switch-console/core/agents/plugins';
import type { IExecutionContext } from '@main/core/execution-context/types';
/**
diff --git a/dash/apps/switchdash-desktop/src/main/core/agent-runtime/impl/remote-hook-event-relay.test.ts b/dash/apps/switch-console-desktop/src/main/core/agent-runtime/impl/remote-hook-event-relay.test.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/main/core/agent-runtime/impl/remote-hook-event-relay.test.ts
rename to dash/apps/switch-console-desktop/src/main/core/agent-runtime/impl/remote-hook-event-relay.test.ts
diff --git a/dash/apps/switchdash-desktop/src/main/core/agent-runtime/impl/remote-hook-event-relay.ts b/dash/apps/switch-console-desktop/src/main/core/agent-runtime/impl/remote-hook-event-relay.ts
similarity index 95%
rename from dash/apps/switchdash-desktop/src/main/core/agent-runtime/impl/remote-hook-event-relay.ts
rename to dash/apps/switch-console-desktop/src/main/core/agent-runtime/impl/remote-hook-event-relay.ts
index 9470612d2..074ae4bb5 100644
--- a/dash/apps/switchdash-desktop/src/main/core/agent-runtime/impl/remote-hook-event-relay.ts
+++ b/dash/apps/switch-console-desktop/src/main/core/agent-runtime/impl/remote-hook-event-relay.ts
@@ -4,10 +4,10 @@ import { httpGetJsonOverChannel, type SidecarChannelOpener } from './sidecar-htt
/**
* Drains the remote sidecar's `/events` long-poll and replays each buffered
- * hook event through switchdash's own hook path, so room joins, agent status,
- * and provider-session ids from a remote session reach switchdash while the UI
+ * hook event through Switch Console's own hook path, so room joins, agent status,
+ * and provider-session ids from a remote session reach Switch Console while the UI
* is attached. The sidecar still handles every event VM-locally for injection;
- * this is a read-only mirror for switchdash's display and persistence.
+ * this is a read-only mirror for Switch Console's display and persistence.
*
* Delivery is at-least-once with a cursor: each poll carries the seq of the
* last event processed and receives everything newer. A gap (the consumer fell
@@ -79,7 +79,7 @@ export class RemoteHookEventRelay {
* the app quits — taking `/disconnect` down with it.
*/
resolveEndpoint?: EndpointResolver;
- /** Replays one relayed event through switchdash's hook path. */
+ /** Replays one relayed event through Switch Console's hook path. */
sink: (raw: RawHookRequest) => Promise<void>;
log: RemoteHookEventRelayLogger;
sleep?: (ms: number) => Promise<void>;
@@ -215,7 +215,7 @@ export class RemoteHookEventRelay {
for (const event of result.events) {
if (event.seq <= this.cursor) continue;
this.cursor = event.seq;
- this.deps.log.info('RemoteHookEventRelay: replaying event into switchdash', {
+ this.deps.log.info('RemoteHookEventRelay: replaying event into Switch Console', {
seq: event.seq,
type: event.type,
ptyId: event.ptyId,
diff --git a/dash/apps/switchdash-desktop/src/main/core/agent-runtime/impl/remote-plugin-fs.test.ts b/dash/apps/switch-console-desktop/src/main/core/agent-runtime/impl/remote-plugin-fs.test.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/main/core/agent-runtime/impl/remote-plugin-fs.test.ts
rename to dash/apps/switch-console-desktop/src/main/core/agent-runtime/impl/remote-plugin-fs.test.ts
diff --git a/dash/apps/switchdash-desktop/src/main/core/agent-runtime/impl/remote-plugin-fs.ts b/dash/apps/switch-console-desktop/src/main/core/agent-runtime/impl/remote-plugin-fs.ts
similarity index 97%
rename from dash/apps/switchdash-desktop/src/main/core/agent-runtime/impl/remote-plugin-fs.ts
rename to dash/apps/switch-console-desktop/src/main/core/agent-runtime/impl/remote-plugin-fs.ts
index 996a266fd..9f48cb511 100644
--- a/dash/apps/switchdash-desktop/src/main/core/agent-runtime/impl/remote-plugin-fs.ts
+++ b/dash/apps/switch-console-desktop/src/main/core/agent-runtime/impl/remote-plugin-fs.ts
@@ -1,5 +1,5 @@
import { dirname } from 'node:path/posix';
-import type { PluginFs } from '@switchdash/core/agents/plugins';
+import type { PluginFs } from '@switch-console/core/agents/plugins';
import { assertRemoved } from '@main/core/fs/assert-removed';
import {
FileSystemError,
diff --git a/dash/apps/switchdash-desktop/src/main/core/agent-runtime/impl/remote-sidecar-launcher.test.ts b/dash/apps/switch-console-desktop/src/main/core/agent-runtime/impl/remote-sidecar-launcher.test.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/main/core/agent-runtime/impl/remote-sidecar-launcher.test.ts
rename to dash/apps/switch-console-desktop/src/main/core/agent-runtime/impl/remote-sidecar-launcher.test.ts
diff --git a/dash/apps/switchdash-desktop/src/main/core/agent-runtime/impl/remote-sidecar-launcher.ts b/dash/apps/switch-console-desktop/src/main/core/agent-runtime/impl/remote-sidecar-launcher.ts
similarity index 98%
rename from dash/apps/switchdash-desktop/src/main/core/agent-runtime/impl/remote-sidecar-launcher.ts
rename to dash/apps/switch-console-desktop/src/main/core/agent-runtime/impl/remote-sidecar-launcher.ts
index b98cc329b..a33f84664 100644
--- a/dash/apps/switchdash-desktop/src/main/core/agent-runtime/impl/remote-sidecar-launcher.ts
+++ b/dash/apps/switch-console-desktop/src/main/core/agent-runtime/impl/remote-sidecar-launcher.ts
@@ -1,6 +1,6 @@
import { createHash, randomUUID } from 'node:crypto';
import { readFile } from 'node:fs/promises';
-import type { ContractRange } from '@switchdash/shared';
+import type { ContractRange } from '@switch-console/shared';
import { exactTmuxTarget } from '@main/core/pty/tmux-session-name';
import { quoteShellArg } from '@main/utils/shellEscape';
import type { AgentLaunchSpec } from '../../../../sidecar/agent-launch-spec';
@@ -24,14 +24,14 @@ import {
} from '../../../../sidecar/sidecar-version';
/**
- * Deploys and launches the switchdash remote runtime sidecar on the agent's VM
+ * Deploys and launches the Switch Console remote runtime sidecar on the agent's VM
* (CHOO-1059 → CHOO-1085), then waits for it to report a ready endpoint.
*
* The sidecar is agent-scoped: one per remote agent, serving every session on
- * the VM (the one switchdash starts over SSH and any it auto-starts) plus the
- * notification watcher. It must outlive the switchdash UI — that is the whole
+ * the VM (the one Switch Console starts over SSH and any it auto-starts) plus the
+ * notification watcher. It must outlive the Switch Console UI — that is the whole
* point — so it runs inside its own detached tmux session rather than on the
- * launching SSH channel (which dies when switchdash disconnects). It writes
+ * launching SSH channel (which dies when Switch Console disconnects). It writes
* `{event:"ready",port,token,hash,epoch,pid}` to its ready file atomically once
* bound; the launcher polls that file until a line from the incarnation it just
* started appears, then returns the endpoint so the caller can point its remote
@@ -284,7 +284,7 @@ export class RemoteSidecarLauncher {
}
/**
- * Reconcile-or-launch. The sidecar is designed to outlive the switchdash UI,
+ * Reconcile-or-launch. The sidecar is designed to outlive the Switch Console UI,
* so on relaunch a still-running sidecar (its tmux session alive and its ready
* file intact) is reattached to rather than redeployed — preserving its poll
* queue and connection. Only when none is running (or it's stale) do we deploy
@@ -603,7 +603,7 @@ export class RemoteSidecarLauncher {
* reserved for the cases that need it:
* - incompatible protocol → must replace; we cannot talk to it at all.
* - same build → reattach; there is nothing to gain.
- * - newer version → reattach; a newer switchdash deployed it, and replacing
+ * - newer version → reattach; a newer Switch Console deployed it, and replacing
* it would be a downgrade.
* - different build, no live sessions → upgrade, since nothing is disturbed.
* - different build, live sessions → reattach and record that an upgrade is
@@ -625,7 +625,7 @@ export class RemoteSidecarLauncher {
if (ready.hash === localHash) return this.toEndpoint(ready);
// A hash difference alone does not say which build is newer. On a host two
- // switchdash installs share, replacing on difference alone means each sees
+ // Switch Console installs share, replacing on difference alone means each sees
// the other's sidecar as an upgrade and they trade it back and forth
// indefinitely. Ordering by version breaks the symmetry: only the newer
// client replaces, and the older one settles for what is already there
diff --git a/dash/apps/switchdash-desktop/src/main/core/agent-runtime/impl/resolve-agent-executable.test.ts b/dash/apps/switch-console-desktop/src/main/core/agent-runtime/impl/resolve-agent-executable.test.ts
similarity index 97%
rename from dash/apps/switchdash-desktop/src/main/core/agent-runtime/impl/resolve-agent-executable.test.ts
rename to dash/apps/switch-console-desktop/src/main/core/agent-runtime/impl/resolve-agent-executable.test.ts
index cc98c2543..ca03a73fe 100644
--- a/dash/apps/switchdash-desktop/src/main/core/agent-runtime/impl/resolve-agent-executable.test.ts
+++ b/dash/apps/switch-console-desktop/src/main/core/agent-runtime/impl/resolve-agent-executable.test.ts
@@ -1,4 +1,4 @@
-import type { HostDependencySelection } from '@switchdash/core/deps/runtime';
+import type { HostDependencySelection } from '@switch-console/core/deps/runtime';
import { beforeEach, describe, expect, it, vi } from 'vitest';
import type { IHostDependencyStore } from '@main/core/dependencies/host-dependency-store';
@@ -6,7 +6,7 @@ const resolveCommandPathMock = vi.hoisted(() =>
vi.fn<() => Promise<string | null>>().mockResolvedValue(null)
);
-vi.mock('@switchdash/core/deps/runtime', () => ({
+vi.mock('@switch-console/core/deps/runtime', () => ({
resolveCommandPath: resolveCommandPathMock,
}));
diff --git a/dash/apps/switchdash-desktop/src/main/core/agent-runtime/impl/resolve-agent-executable.ts b/dash/apps/switch-console-desktop/src/main/core/agent-runtime/impl/resolve-agent-executable.ts
similarity index 96%
rename from dash/apps/switchdash-desktop/src/main/core/agent-runtime/impl/resolve-agent-executable.ts
rename to dash/apps/switch-console-desktop/src/main/core/agent-runtime/impl/resolve-agent-executable.ts
index fce6aceb6..73f0a41f9 100644
--- a/dash/apps/switchdash-desktop/src/main/core/agent-runtime/impl/resolve-agent-executable.ts
+++ b/dash/apps/switch-console-desktop/src/main/core/agent-runtime/impl/resolve-agent-executable.ts
@@ -1,5 +1,5 @@
-import type { DependencyId } from '@switchdash/core/deps/runtime';
-import { resolveCommandPath } from '@switchdash/core/deps/runtime';
+import type { DependencyId } from '@switch-console/core/deps/runtime';
+import { resolveCommandPath } from '@switch-console/core/deps/runtime';
import type { IHostDependencyStore } from '@main/core/dependencies/host-dependency-store';
import type { IExecutionContext } from '@main/core/execution-context/types';
import { log } from '@main/lib/logger';
diff --git a/dash/apps/switchdash-desktop/src/main/core/agent-runtime/impl/resolve-sidecar-bundle.ts b/dash/apps/switch-console-desktop/src/main/core/agent-runtime/impl/resolve-sidecar-bundle.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/main/core/agent-runtime/impl/resolve-sidecar-bundle.ts
rename to dash/apps/switch-console-desktop/src/main/core/agent-runtime/impl/resolve-sidecar-bundle.ts
diff --git a/dash/apps/switchdash-desktop/src/main/core/agent-runtime/impl/sidecar-http.test.ts b/dash/apps/switch-console-desktop/src/main/core/agent-runtime/impl/sidecar-http.test.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/main/core/agent-runtime/impl/sidecar-http.test.ts
rename to dash/apps/switch-console-desktop/src/main/core/agent-runtime/impl/sidecar-http.test.ts
diff --git a/dash/apps/switchdash-desktop/src/main/core/agent-runtime/impl/sidecar-http.ts b/dash/apps/switch-console-desktop/src/main/core/agent-runtime/impl/sidecar-http.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/main/core/agent-runtime/impl/sidecar-http.ts
rename to dash/apps/switch-console-desktop/src/main/core/agent-runtime/impl/sidecar-http.ts
diff --git a/dash/apps/switchdash-desktop/src/main/core/agent-runtime/impl/sidecar-relay-registry.test.ts b/dash/apps/switch-console-desktop/src/main/core/agent-runtime/impl/sidecar-relay-registry.test.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/main/core/agent-runtime/impl/sidecar-relay-registry.test.ts
rename to dash/apps/switch-console-desktop/src/main/core/agent-runtime/impl/sidecar-relay-registry.test.ts
diff --git a/dash/apps/switchdash-desktop/src/main/core/agent-runtime/impl/sidecar-relay-registry.ts b/dash/apps/switch-console-desktop/src/main/core/agent-runtime/impl/sidecar-relay-registry.ts
similarity index 96%
rename from dash/apps/switchdash-desktop/src/main/core/agent-runtime/impl/sidecar-relay-registry.ts
rename to dash/apps/switch-console-desktop/src/main/core/agent-runtime/impl/sidecar-relay-registry.ts
index b8e7dfec2..4947696a6 100644
--- a/dash/apps/switchdash-desktop/src/main/core/agent-runtime/impl/sidecar-relay-registry.ts
+++ b/dash/apps/switch-console-desktop/src/main/core/agent-runtime/impl/sidecar-relay-registry.ts
@@ -8,7 +8,7 @@ import type { SidecarChannelOpener } from './sidecar-http';
*
* A sidecar is agent-scoped: one process on the VM serves every session in that
* agent's repo dir, and its `/events` ring buffer already carries the events of
- * all of them. switchdash routes each event by the `ptyId` the event itself
+ * all of them. Switch Console routes each event by the `ptyId` the event itself
* carries (see `dbContextResolver`), never by which relay delivered it — so a
* single relay per sidecar is sufficient *and* correct.
*
@@ -54,7 +54,7 @@ export interface RelayAcquireParams {
* after the session that first opened it is gone.
*/
resolveEndpoint: EndpointResolver;
- /** Replays a non-terminated event through switchdash's hook path. Called once per event. */
+ /** Replays a non-terminated event through Switch Console's hook path. Called once per event. */
sink: (raw: RawHookRequest) => Promise<void>;
}
diff --git a/dash/apps/switchdash-desktop/src/main/core/agent-runtime/impl/ssh-agent-runtime.test.ts b/dash/apps/switch-console-desktop/src/main/core/agent-runtime/impl/ssh-agent-runtime.test.ts
similarity index 99%
rename from dash/apps/switchdash-desktop/src/main/core/agent-runtime/impl/ssh-agent-runtime.test.ts
rename to dash/apps/switch-console-desktop/src/main/core/agent-runtime/impl/ssh-agent-runtime.test.ts
index c615ee64b..62e50f63d 100644
--- a/dash/apps/switchdash-desktop/src/main/core/agent-runtime/impl/ssh-agent-runtime.test.ts
+++ b/dash/apps/switch-console-desktop/src/main/core/agent-runtime/impl/ssh-agent-runtime.test.ts
@@ -1,4 +1,4 @@
-import { pluginRegistry } from '@switchdash/plugins/agents';
+import { pluginRegistry } from '@switch-console/plugins/agents';
import { beforeEach, describe, expect, it, vi } from 'vitest';
import { FileSystemError, FileSystemErrorCodes } from '@main/core/fs/types';
import type { Pty, PtyExitInfo } from '@main/core/pty/pty';
diff --git a/dash/apps/switchdash-desktop/src/main/core/agent-runtime/impl/ssh-agent-runtime.ts b/dash/apps/switch-console-desktop/src/main/core/agent-runtime/impl/ssh-agent-runtime.ts
similarity index 99%
rename from dash/apps/switchdash-desktop/src/main/core/agent-runtime/impl/ssh-agent-runtime.ts
rename to dash/apps/switch-console-desktop/src/main/core/agent-runtime/impl/ssh-agent-runtime.ts
index abd233da5..c1c43b44e 100644
--- a/dash/apps/switchdash-desktop/src/main/core/agent-runtime/impl/ssh-agent-runtime.ts
+++ b/dash/apps/switch-console-desktop/src/main/core/agent-runtime/impl/ssh-agent-runtime.ts
@@ -1,4 +1,4 @@
-import type { PluginFs, SwitchLaunchSpecialization } from '@switchdash/core/agents/plugins';
+import type { PluginFs, SwitchLaunchSpecialization } from '@switch-console/core/agents/plugins';
import { DEEPLINK_SCHEME } from '@main/app/deeplinks';
import { agentHookService } from '@main/core/agent-hooks/agent-hook-service';
import { resolveAgentLaunchProfile } from '@main/core/agent-runtime/agent-launch-profile';
@@ -426,7 +426,7 @@ export class SshAgentRuntime implements AgentRuntimeProvider, AttachableRuntime
*
* The session's room is claimed on the connection whose id it carries, and
* only whoever reads that connection sees the room's events. On a remote host
- * that reader is the sidecar — switchdash's own poller stands down for remote
+ * that reader is the sidecar — Switch Console's own poller stands down for remote
* sessions and the in-session runtime's poll is disabled — so a session left
* to mint its own connection is addressable by nobody and never learns its
* room. Opened before the launch because the server refuses a call naming a
@@ -490,7 +490,7 @@ export class SshAgentRuntime implements AgentRuntimeProvider, AttachableRuntime
/**
* Join the shared relay that mirrors the sidecar's hook events back into
- * switchdash, so the UI reflects this remote session's room and status.
+ * Switch Console, so the UI reflects this remote session's room and status.
* Replays through the same hook path as local sessions, but with
* `startLocalPoller: false` — the sidecar already polls and injects on the VM.
*
@@ -717,7 +717,7 @@ export class SshAgentRuntime implements AgentRuntimeProvider, AttachableRuntime
};
// The on-VM sidecar is what keeps a remote agent connected to Switch while
- // switchdash is closed; it injects room messages into the agent's tmux pane.
+ // Switch Console is closed; it injects room messages into the agent's tmux pane.
// It therefore requires tmux, must be up before the agent so the agent's
// hook env can point at it, and shares the tmux session as its inject target.
//
diff --git a/dash/apps/switchdash-desktop/src/main/core/agent-runtime/resolve-agent-session-command.test.ts b/dash/apps/switch-console-desktop/src/main/core/agent-runtime/resolve-agent-session-command.test.ts
similarity index 98%
rename from dash/apps/switchdash-desktop/src/main/core/agent-runtime/resolve-agent-session-command.test.ts
rename to dash/apps/switch-console-desktop/src/main/core/agent-runtime/resolve-agent-session-command.test.ts
index 0bd8ce2b3..a9f2addd9 100644
--- a/dash/apps/switchdash-desktop/src/main/core/agent-runtime/resolve-agent-session-command.test.ts
+++ b/dash/apps/switch-console-desktop/src/main/core/agent-runtime/resolve-agent-session-command.test.ts
@@ -1,4 +1,4 @@
-import { pluginRegistry } from '@switchdash/plugins/agents';
+import { pluginRegistry } from '@switch-console/plugins/agents';
import { describe, expect, it } from 'vitest';
import type { Session } from '@shared/core/sessions/sessions';
import { resolveAgentSessionCommandArgs } from './resolve-agent-session-command';
diff --git a/dash/apps/switchdash-desktop/src/main/core/agent-runtime/resolve-agent-session-command.ts b/dash/apps/switch-console-desktop/src/main/core/agent-runtime/resolve-agent-session-command.ts
similarity index 95%
rename from dash/apps/switchdash-desktop/src/main/core/agent-runtime/resolve-agent-session-command.ts
rename to dash/apps/switch-console-desktop/src/main/core/agent-runtime/resolve-agent-session-command.ts
index 7eec9e7a2..f256b2403 100644
--- a/dash/apps/switchdash-desktop/src/main/core/agent-runtime/resolve-agent-session-command.ts
+++ b/dash/apps/switch-console-desktop/src/main/core/agent-runtime/resolve-agent-session-command.ts
@@ -1,6 +1,6 @@
import type { Session } from '@shared/core/sessions/sessions';
-/** Droid `--resume` needs the provider-native session UUID, not the Switchdash session id. */
+/** Droid `--resume` needs the provider-native session UUID, not the Switch Console session id. */
export function resolveAgentSessionCommandArgs(
session: Session,
isResuming: boolean,
diff --git a/dash/apps/switchdash-desktop/src/main/core/agent-runtime/types.ts b/dash/apps/switch-console-desktop/src/main/core/agent-runtime/types.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/main/core/agent-runtime/types.ts
rename to dash/apps/switch-console-desktop/src/main/core/agent-runtime/types.ts
diff --git a/dash/apps/switchdash-desktop/src/main/core/agents/add-agent.test.ts b/dash/apps/switch-console-desktop/src/main/core/agents/add-agent.test.ts
similarity index 98%
rename from dash/apps/switchdash-desktop/src/main/core/agents/add-agent.test.ts
rename to dash/apps/switch-console-desktop/src/main/core/agents/add-agent.test.ts
index 8440b1b41..29a9c48c5 100644
--- a/dash/apps/switchdash-desktop/src/main/core/agents/add-agent.test.ts
+++ b/dash/apps/switch-console-desktop/src/main/core/agents/add-agent.test.ts
@@ -1,4 +1,4 @@
-import type { PluginFs } from '@switchdash/core/agents/plugins';
+import type { PluginFs } from '@switch-console/core/agents/plugins';
import { beforeEach, describe, expect, it, vi } from 'vitest';
import { agentSettingsRelativePath } from './switch-settings-paths';
diff --git a/dash/apps/switchdash-desktop/src/main/core/agents/add-agent.ts b/dash/apps/switch-console-desktop/src/main/core/agents/add-agent.ts
similarity index 97%
rename from dash/apps/switchdash-desktop/src/main/core/agents/add-agent.ts
rename to dash/apps/switch-console-desktop/src/main/core/agents/add-agent.ts
index f1970368e..d2099ba42 100644
--- a/dash/apps/switchdash-desktop/src/main/core/agents/add-agent.ts
+++ b/dash/apps/switch-console-desktop/src/main/core/agents/add-agent.ts
@@ -1,5 +1,5 @@
import { randomUUID } from 'node:crypto';
-import type { RepoAgentAttributes } from '@switchdash/core/agents/plugins';
+import type { RepoAgentAttributes } from '@switch-console/core/agents/plugins';
import { locationManager } from '@main/core/locations/location-manager';
import { checkIsValidDirectory } from '@main/core/locations/path-utils';
import { ensureLocation, getLocationByHostDir } from '@main/core/locations/store';
@@ -57,7 +57,7 @@ export type AddAgentResult =
* Add a new agent to a location: mint its Switch identity on the gateway, write
* its provider definition (`.claude/agents/<name>.md`) and its per-agent Switch
* credentials (`.switch/agents/<name>.json`, keyed by name), then create the
- * agent row. Every switchdash-managed agent is a flat, repository-defined agent
+ * agent row. Every Switch Console-managed agent is a flat, repository-defined agent
* — for a provider that supports definitions it launches as `--agent <name>`
* with its own identity; there is no "main" agent and no parent (CHOO-1440).
*
diff --git a/dash/apps/switchdash-desktop/src/main/core/agents/agent-creds-slug.ts b/dash/apps/switch-console-desktop/src/main/core/agents/agent-creds-slug.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/main/core/agents/agent-creds-slug.ts
rename to dash/apps/switch-console-desktop/src/main/core/agents/agent-creds-slug.ts
diff --git a/dash/apps/switchdash-desktop/src/main/core/agents/agent-defaults.test.ts b/dash/apps/switch-console-desktop/src/main/core/agents/agent-defaults.test.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/main/core/agents/agent-defaults.test.ts
rename to dash/apps/switch-console-desktop/src/main/core/agents/agent-defaults.test.ts
diff --git a/dash/apps/switchdash-desktop/src/main/core/agents/agent-defaults.ts b/dash/apps/switch-console-desktop/src/main/core/agents/agent-defaults.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/main/core/agents/agent-defaults.ts
rename to dash/apps/switch-console-desktop/src/main/core/agents/agent-defaults.ts
diff --git a/dash/apps/switchdash-desktop/src/main/core/agents/agent-definition.ts b/dash/apps/switch-console-desktop/src/main/core/agents/agent-definition.ts
similarity index 96%
rename from dash/apps/switchdash-desktop/src/main/core/agents/agent-definition.ts
rename to dash/apps/switch-console-desktop/src/main/core/agents/agent-definition.ts
index 9dcc07f12..255f3c594 100644
--- a/dash/apps/switchdash-desktop/src/main/core/agents/agent-definition.ts
+++ b/dash/apps/switch-console-desktop/src/main/core/agents/agent-definition.ts
@@ -1,4 +1,4 @@
-import type { RepoAgentAttributes } from '@switchdash/core/agents/plugins';
+import type { RepoAgentAttributes } from '@switch-console/core/agents/plugins';
import { getPlugin } from '@main/core/providers/plugin-registry';
import { getAgentLocation } from './agent-location';
import { resolveWorkspaceFsFor } from './agent-workspace-fs';
diff --git a/dash/apps/switchdash-desktop/src/main/core/agents/agent-events.ts b/dash/apps/switch-console-desktop/src/main/core/agents/agent-events.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/main/core/agents/agent-events.ts
rename to dash/apps/switch-console-desktop/src/main/core/agents/agent-events.ts
diff --git a/dash/apps/switchdash-desktop/src/main/core/agents/agent-location.ts b/dash/apps/switch-console-desktop/src/main/core/agents/agent-location.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/main/core/agents/agent-location.ts
rename to dash/apps/switch-console-desktop/src/main/core/agents/agent-location.ts
diff --git a/dash/apps/switchdash-desktop/src/main/core/agents/agent-name-taken.ts b/dash/apps/switch-console-desktop/src/main/core/agents/agent-name-taken.ts
similarity index 93%
rename from dash/apps/switchdash-desktop/src/main/core/agents/agent-name-taken.ts
rename to dash/apps/switch-console-desktop/src/main/core/agents/agent-name-taken.ts
index 387933bc4..a45399fc4 100644
--- a/dash/apps/switchdash-desktop/src/main/core/agents/agent-name-taken.ts
+++ b/dash/apps/switch-console-desktop/src/main/core/agents/agent-name-taken.ts
@@ -5,7 +5,7 @@ import { agents } from '@main/db/schema';
/**
* Whether another agent in the same location already answers to `name`.
*
- * Everything switchdash provisions per agent is keyed by the name rather than the
+ * Everything Switch Console provisions per agent is keyed by the name rather than the
* id — `.switch/agents/<name>.json` carries the Switch token, `.claude/agents/<name>.md`
* the definition — so two agents sharing a name in one directory share one
* credentials file, and whoever writes last decides which identity both of them
diff --git a/dash/apps/switchdash-desktop/src/main/core/agents/agent-storage-migration-marker.db.test.ts b/dash/apps/switch-console-desktop/src/main/core/agents/agent-storage-migration-marker.db.test.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/main/core/agents/agent-storage-migration-marker.db.test.ts
rename to dash/apps/switch-console-desktop/src/main/core/agents/agent-storage-migration-marker.db.test.ts
diff --git a/dash/apps/switchdash-desktop/src/main/core/agents/agent-storage-migration-marker.ts b/dash/apps/switch-console-desktop/src/main/core/agents/agent-storage-migration-marker.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/main/core/agents/agent-storage-migration-marker.ts
rename to dash/apps/switch-console-desktop/src/main/core/agents/agent-storage-migration-marker.ts
diff --git a/dash/apps/switchdash-desktop/src/main/core/agents/agent-workspace-fs.ts b/dash/apps/switch-console-desktop/src/main/core/agents/agent-workspace-fs.ts
similarity index 95%
rename from dash/apps/switchdash-desktop/src/main/core/agents/agent-workspace-fs.ts
rename to dash/apps/switch-console-desktop/src/main/core/agents/agent-workspace-fs.ts
index 8fd31f757..0697b8af9 100644
--- a/dash/apps/switchdash-desktop/src/main/core/agents/agent-workspace-fs.ts
+++ b/dash/apps/switch-console-desktop/src/main/core/agents/agent-workspace-fs.ts
@@ -1,5 +1,5 @@
import { homedir } from 'node:os';
-import type { PluginFs } from '@switchdash/core/agents/plugins';
+import type { PluginFs } from '@switch-console/core/agents/plugins';
import { SshFileSystem } from '@main/core/fs/impl/ssh-fs';
import { sshConnectionIdForHost } from '@main/core/locations/location-transport';
import { createPluginFs } from '@main/core/providers/plugin-fs';
@@ -23,7 +23,7 @@ export type WorkspaceFs = {
/**
* A {@link PluginFs} that resolves nothing — the user (home) scope of a remote
* agent, whose VM home dir is not mounted here. Location-scoped agent IO (what
- * switchdash authors) is unaffected.
+ * Switch Console authors) is unaffected.
*/
const EMPTY_PLUGIN_FS: PluginFs = {
read: () => Promise.resolve(null),
diff --git a/dash/apps/switchdash-desktop/src/main/core/agents/assignAgentServer.ts b/dash/apps/switch-console-desktop/src/main/core/agents/assignAgentServer.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/main/core/agents/assignAgentServer.ts
rename to dash/apps/switch-console-desktop/src/main/core/agents/assignAgentServer.ts
diff --git a/dash/apps/switchdash-desktop/src/main/core/agents/attach-configured-agents.test.ts b/dash/apps/switch-console-desktop/src/main/core/agents/attach-configured-agents.test.ts
similarity index 98%
rename from dash/apps/switchdash-desktop/src/main/core/agents/attach-configured-agents.test.ts
rename to dash/apps/switch-console-desktop/src/main/core/agents/attach-configured-agents.test.ts
index 5078b9afb..b99e25029 100644
--- a/dash/apps/switchdash-desktop/src/main/core/agents/attach-configured-agents.test.ts
+++ b/dash/apps/switch-console-desktop/src/main/core/agents/attach-configured-agents.test.ts
@@ -1,4 +1,4 @@
-import type { PluginFs } from '@switchdash/core/agents/plugins';
+import type { PluginFs } from '@switch-console/core/agents/plugins';
import { beforeEach, describe, expect, it, vi } from 'vitest';
/**
@@ -173,7 +173,7 @@ describe('attachConfiguredAgents', () => {
expect(h.createAgent).not.toHaveBeenCalled();
});
- it('skips an agent this switchdash already has', async () => {
+ it('skips an agent this Switch Console already has', async () => {
h.state.agentNamesByServer = { 'srv-1': ['theirs'] };
const result = await attachConfiguredAgents(params([{ name: 'theirs', providerId: 'codex' }]));
diff --git a/dash/apps/switchdash-desktop/src/main/core/agents/attach-configured-agents.ts b/dash/apps/switch-console-desktop/src/main/core/agents/attach-configured-agents.ts
similarity index 98%
rename from dash/apps/switchdash-desktop/src/main/core/agents/attach-configured-agents.ts
rename to dash/apps/switch-console-desktop/src/main/core/agents/attach-configured-agents.ts
index ed4aa77aa..a04f32ba9 100644
--- a/dash/apps/switchdash-desktop/src/main/core/agents/attach-configured-agents.ts
+++ b/dash/apps/switch-console-desktop/src/main/core/agents/attach-configured-agents.ts
@@ -1,6 +1,6 @@
import { randomUUID } from 'node:crypto';
-import { err, ok } from '@switchdash/shared';
-import type { Result } from '@switchdash/shared';
+import { err, ok } from '@switch-console/shared';
+import type { Result } from '@switch-console/shared';
import { locationManager } from '@main/core/locations/location-manager';
import { checkIsValidDirectory } from '@main/core/locations/path-utils';
import { ensureLocation } from '@main/core/locations/store';
@@ -34,7 +34,7 @@ export type AttachConfiguredAgentsParams = {
export type AttachConfiguredAgentsResult = Result<Agent[], OnboardAgentError>;
/**
- * Adopt agents already configured in a working directory into this switchdash,
+ * Adopt agents already configured in a working directory into this Switch Console,
* under the Switch identity they already have (CHOO-1937).
*
* This is the second half of shared-host onboarding: another install (or another
diff --git a/dash/apps/switchdash-desktop/src/main/core/agents/connect-remote-agent.ts b/dash/apps/switch-console-desktop/src/main/core/agents/connect-remote-agent.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/main/core/agents/connect-remote-agent.ts
rename to dash/apps/switch-console-desktop/src/main/core/agents/connect-remote-agent.ts
diff --git a/dash/apps/switchdash-desktop/src/main/core/agents/controller.ts b/dash/apps/switch-console-desktop/src/main/core/agents/controller.ts
similarity index 97%
rename from dash/apps/switchdash-desktop/src/main/core/agents/controller.ts
rename to dash/apps/switch-console-desktop/src/main/core/agents/controller.ts
index 087989f8e..b90a9e908 100644
--- a/dash/apps/switchdash-desktop/src/main/core/agents/controller.ts
+++ b/dash/apps/switch-console-desktop/src/main/core/agents/controller.ts
@@ -1,4 +1,4 @@
-import type { RepoAgentAttributes } from '@switchdash/core/agents/plugins';
+import type { RepoAgentAttributes } from '@switch-console/core/agents/plugins';
import type { CreateAgentParams, RenameAgentParams } from '@shared/core/agents/agents';
import type { OnboardAgentParams } from '@shared/core/agents/onboarding';
import type { AgentProviderId } from '@shared/core/providers/agent-provider-registry';
diff --git a/dash/apps/switchdash-desktop/src/main/core/agents/createAgent.ts b/dash/apps/switch-console-desktop/src/main/core/agents/createAgent.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/main/core/agents/createAgent.ts
rename to dash/apps/switch-console-desktop/src/main/core/agents/createAgent.ts
diff --git a/dash/apps/switchdash-desktop/src/main/core/agents/definition-fields.ts b/dash/apps/switch-console-desktop/src/main/core/agents/definition-fields.ts
similarity index 89%
rename from dash/apps/switchdash-desktop/src/main/core/agents/definition-fields.ts
rename to dash/apps/switch-console-desktop/src/main/core/agents/definition-fields.ts
index 4707b414b..1e46efb6c 100644
--- a/dash/apps/switchdash-desktop/src/main/core/agents/definition-fields.ts
+++ b/dash/apps/switch-console-desktop/src/main/core/agents/definition-fields.ts
@@ -1,4 +1,4 @@
-import type { RepoAgentField } from '@switchdash/core/agents/plugins';
+import type { RepoAgentField } from '@switch-console/core/agents/plugins';
import { getPlugin } from '@main/core/providers/plugin-registry';
import type { AgentProviderId } from '@shared/core/providers/agent-provider-registry';
diff --git a/dash/apps/switchdash-desktop/src/main/core/agents/deleteAgent.test.ts b/dash/apps/switch-console-desktop/src/main/core/agents/deleteAgent.test.ts
similarity index 98%
rename from dash/apps/switchdash-desktop/src/main/core/agents/deleteAgent.test.ts
rename to dash/apps/switch-console-desktop/src/main/core/agents/deleteAgent.test.ts
index e6002ccf7..eda2b7963 100644
--- a/dash/apps/switchdash-desktop/src/main/core/agents/deleteAgent.test.ts
+++ b/dash/apps/switch-console-desktop/src/main/core/agents/deleteAgent.test.ts
@@ -1,4 +1,4 @@
-import type { PluginFs } from '@switchdash/core/agents/plugins';
+import type { PluginFs } from '@switch-console/core/agents/plugins';
import { beforeEach, describe, expect, it, vi } from 'vitest';
import { agentSettingsRelativePath } from './switch-settings-paths';
diff --git a/dash/apps/switchdash-desktop/src/main/core/agents/deleteAgent.ts b/dash/apps/switch-console-desktop/src/main/core/agents/deleteAgent.ts
similarity index 95%
rename from dash/apps/switchdash-desktop/src/main/core/agents/deleteAgent.ts
rename to dash/apps/switch-console-desktop/src/main/core/agents/deleteAgent.ts
index cc334743d..cf1e43b0e 100644
--- a/dash/apps/switchdash-desktop/src/main/core/agents/deleteAgent.ts
+++ b/dash/apps/switch-console-desktop/src/main/core/agents/deleteAgent.ts
@@ -28,7 +28,7 @@ import { agentSettingsRelativePath } from './switch-settings-paths';
export type DeleteAgentOptions = {
/**
* Also delete the agent's identity on the Switch server (via the gateway).
- * When false, the agent is removed from switchdash only; its Switch identity is
+ * When false, the agent is removed from Switch Console only; its Switch identity is
* left registered on the server.
*/
deleteInSwitch: boolean;
@@ -37,7 +37,7 @@ export type DeleteAgentOptions = {
/**
* Delete this agent's own identity on the Switch server — and ONLY this one.
*
- * switchdash agents are flat: a directory is a container of independent agents
+ * Switch Console agents are flat: a directory is a container of independent agents
* with no parent/child hierarchy (CHOO-1440), so deleting one never affects any
* other agent, even a sibling in the same directory. (Legacy agents may still
* carry a gateway parent/child link from the old subagent model; we deliberately
@@ -59,14 +59,14 @@ async function deleteAgentInSwitch(agent: Agent): Promise<void> {
}
/**
- * Reverse the on-disk state switchdash provisioned for this one agent: its
+ * Reverse the on-disk state Switch Console provisioned for this one agent: its
* provider definition (`.claude/agents/<name>.md`) and its per-agent Switch
* credentials. Runs against the agent's local dir or its remote SSH host
* transparently. Only THIS agent's files are removed — sibling agents sharing the
* directory are untouched (CHOO-1440).
*
* Best-effort: a working directory that is gone or a host that is unreachable
- * should not block removing the agent from switchdash, so failures are logged
+ * should not block removing the agent from Switch Console, so failures are logged
* (visibly) rather than thrown — the credentials being torn down are already dead.
*/
async function removeProvisionedFiles(agent: Agent, location: Location): Promise<void> {
@@ -145,7 +145,7 @@ async function killRemoteSidecar(agent: Agent): Promise<void> {
* caches the agent's Switch credentials in memory, so without an explicit
* stop it keeps heartbeating and polling notifications for an agent that
* no longer exists.
- * 4. The Switch credentials + definition file switchdash provisioned on disk for
+ * 4. The Switch credentials + definition file Switch Console provisioned on disk for
* THIS agent (local or remote), which a bare row delete would leave orphaned.
* Sibling agents' files in the same directory are untouched.
*
diff --git a/dash/apps/switchdash-desktop/src/main/core/agents/detect-remote.ts b/dash/apps/switch-console-desktop/src/main/core/agents/detect-remote.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/main/core/agents/detect-remote.ts
rename to dash/apps/switch-console-desktop/src/main/core/agents/detect-remote.ts
diff --git a/dash/apps/switchdash-desktop/src/main/core/agents/detect.test.ts b/dash/apps/switch-console-desktop/src/main/core/agents/detect.test.ts
similarity index 97%
rename from dash/apps/switchdash-desktop/src/main/core/agents/detect.test.ts
rename to dash/apps/switch-console-desktop/src/main/core/agents/detect.test.ts
index cb6a3488d..f81ff586e 100644
--- a/dash/apps/switchdash-desktop/src/main/core/agents/detect.test.ts
+++ b/dash/apps/switch-console-desktop/src/main/core/agents/detect.test.ts
@@ -14,7 +14,7 @@ describe('detectSwitchAgent', () => {
let dir: string;
beforeEach(async () => {
- dir = await fs.mkdtemp(path.join(os.tmpdir(), 'switchdash-detect-'));
+ dir = await fs.mkdtemp(path.join(os.tmpdir(), 'switch-console-detect-'));
});
afterEach(async () => {
diff --git a/dash/apps/switchdash-desktop/src/main/core/agents/detect.ts b/dash/apps/switch-console-desktop/src/main/core/agents/detect.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/main/core/agents/detect.ts
rename to dash/apps/switch-console-desktop/src/main/core/agents/detect.ts
diff --git a/dash/apps/switchdash-desktop/src/main/core/agents/discover-configured-agents.test.ts b/dash/apps/switch-console-desktop/src/main/core/agents/discover-configured-agents.test.ts
similarity index 98%
rename from dash/apps/switchdash-desktop/src/main/core/agents/discover-configured-agents.test.ts
rename to dash/apps/switch-console-desktop/src/main/core/agents/discover-configured-agents.test.ts
index 0b9e08374..35e9edc4c 100644
--- a/dash/apps/switchdash-desktop/src/main/core/agents/discover-configured-agents.test.ts
+++ b/dash/apps/switch-console-desktop/src/main/core/agents/discover-configured-agents.test.ts
@@ -1,4 +1,4 @@
-import type { PluginFs } from '@switchdash/core/agents/plugins';
+import type { PluginFs } from '@switch-console/core/agents/plugins';
import { beforeEach, describe, expect, it, vi } from 'vitest';
/**
@@ -160,7 +160,7 @@ describe('discoverConfiguredAgents', () => {
expect((await scan())[0]).toMatchObject({ providerId: 'codex', providerSource: 'launch-spec' });
});
- it('marks agents this switchdash already has a row for', async () => {
+ it('marks agents this Switch Console already has a row for', async () => {
h.state.agentNamesByServer = { 'srv-a': ['mine'] };
h.state.workspace = fakeFs({
'.switch/agents/mine.json': creds('sw-mine'),
diff --git a/dash/apps/switchdash-desktop/src/main/core/agents/discover-configured-agents.ts b/dash/apps/switch-console-desktop/src/main/core/agents/discover-configured-agents.ts
similarity index 96%
rename from dash/apps/switchdash-desktop/src/main/core/agents/discover-configured-agents.ts
rename to dash/apps/switch-console-desktop/src/main/core/agents/discover-configured-agents.ts
index 14784468c..65b8d80c0 100644
--- a/dash/apps/switchdash-desktop/src/main/core/agents/discover-configured-agents.ts
+++ b/dash/apps/switch-console-desktop/src/main/core/agents/discover-configured-agents.ts
@@ -1,4 +1,4 @@
-import type { PluginFs } from '@switchdash/core/agents/plugins';
+import type { PluginFs } from '@switch-console/core/agents/plugins';
import { getLocationByHostDir } from '@main/core/locations/store';
import { listPlugins } from '@main/core/providers/plugin-registry';
import { log } from '@main/lib/logger';
@@ -29,7 +29,7 @@ export type DiscoveredConfiguredAgent = {
/** Best-effort: null when nothing on disk names a provider. */
providerId: AgentProviderId | null;
providerSource: ProviderSource;
- /** Whether this switchdash already has a row for the name at this location, on
+ /** Whether this Switch Console already has a row for the name at this location, on
* the server being onboarded to. */
alreadyAgent: boolean;
};
@@ -38,7 +38,7 @@ export type DiscoveredConfiguredAgent = {
* The Switch identity in a credentials file, without its token.
*
* `SWITCH_API_TOKEN` is present in the file and is deliberately never read: an
- * attaching switchdash needs no secret, because the launch path reads the token
+ * attaching Switch Console needs no secret, because the launch path reads the token
* straight from disk at spawn time. Keeping it unread is what makes attaching to
* another install's agent a non-destructive, credential-free operation.
*/
@@ -129,7 +129,7 @@ async function definitionOwners(workspaceFs: PluginFs): Promise<Map<string, Agen
* could become an agent — a Claude-only answer today, since Claude is the only
* provider with a definition concept. This one asks which agents already *are*
* configured here, whoever set them up and whichever provider runs them, so an
- * agent someone else onboarded on a shared host is visible to every switchdash
+ * agent someone else onboarded on a shared host is visible to every Switch Console
* that can reach the directory.
*
* Deliberately pure disk IO: it does not verify the identities against a Switch
diff --git a/dash/apps/switchdash-desktop/src/main/core/agents/discover-location-agents.ts b/dash/apps/switch-console-desktop/src/main/core/agents/discover-location-agents.ts
similarity index 94%
rename from dash/apps/switchdash-desktop/src/main/core/agents/discover-location-agents.ts
rename to dash/apps/switch-console-desktop/src/main/core/agents/discover-location-agents.ts
index be89f43a8..7e699a9a1 100644
--- a/dash/apps/switchdash-desktop/src/main/core/agents/discover-location-agents.ts
+++ b/dash/apps/switch-console-desktop/src/main/core/agents/discover-location-agents.ts
@@ -19,7 +19,7 @@ export type DiscoveredLocationAgent = {
/** Whether the definition can join Switch (its tools allowlist keeps the
* connector's MCP tools, or it inherits all tools). */
eligible: boolean;
- /** Whether switchdash already has an agent row for this definition in this dir,
+ /** Whether Switch Console already has an agent row for this definition in this dir,
* on the server being onboarded to. */
alreadyAgent: boolean;
};
@@ -30,7 +30,7 @@ export type DiscoveredLocationAgent = {
* onboarding a directory's existing agents (CHOO-1440). It surfaces BOTH agents
* already set up for Switch (carrying credentials) and plain provider subagents a
* user created directly (no Switch setup yet), so either can be adopted as a
- * Switch agent. `alreadyAgent` marks definitions switchdash already has a row for
+ * Switch agent. `alreadyAgent` marks definitions Switch Console already has a row for
* *on `serverId`*, so the modal never offers to re-add them there — while the same
* definition stays offerable to a different server, which is a separate agent
* (CHOO-2044). Works for local and remote (SSH) directories. Returns an empty list
diff --git a/dash/apps/switchdash-desktop/src/main/core/agents/generate-agent-launch-spec.test.ts b/dash/apps/switch-console-desktop/src/main/core/agents/generate-agent-launch-spec.test.ts
similarity index 98%
rename from dash/apps/switchdash-desktop/src/main/core/agents/generate-agent-launch-spec.test.ts
rename to dash/apps/switch-console-desktop/src/main/core/agents/generate-agent-launch-spec.test.ts
index e5550ad6e..23db26ad2 100644
--- a/dash/apps/switchdash-desktop/src/main/core/agents/generate-agent-launch-spec.test.ts
+++ b/dash/apps/switch-console-desktop/src/main/core/agents/generate-agent-launch-spec.test.ts
@@ -1,4 +1,4 @@
-import { pluginRegistry } from '@switchdash/plugins/agents';
+import { pluginRegistry } from '@switch-console/plugins/agents';
import { parse as parseTOML } from 'smol-toml';
import { beforeEach, describe, expect, it, vi } from 'vitest';
@@ -35,7 +35,7 @@ vi.mock('@main/core/settings/provider-settings-service', () => ({
}));
vi.mock('@main/core/dependencies/host-dependency-store', () => ({ hostDependencyStore: {} }));
-import { buildStandardCommand } from '@switchdash/core/agents/plugins/helpers';
+import { buildStandardCommand } from '@switch-console/core/agents/plugins/helpers';
import {
INITIAL_PROMPT_PLACEHOLDER,
materializeAgentCommand,
diff --git a/dash/apps/switchdash-desktop/src/main/core/agents/generate-agent-launch-spec.ts b/dash/apps/switch-console-desktop/src/main/core/agents/generate-agent-launch-spec.ts
similarity index 96%
rename from dash/apps/switchdash-desktop/src/main/core/agents/generate-agent-launch-spec.ts
rename to dash/apps/switch-console-desktop/src/main/core/agents/generate-agent-launch-spec.ts
index 1c50ade4a..3ad823073 100644
--- a/dash/apps/switchdash-desktop/src/main/core/agents/generate-agent-launch-spec.ts
+++ b/dash/apps/switch-console-desktop/src/main/core/agents/generate-agent-launch-spec.ts
@@ -1,4 +1,4 @@
-import type { SwitchLaunchSpecialization } from '@switchdash/core/agents/plugins';
+import type { SwitchLaunchSpecialization } from '@switch-console/core/agents/plugins';
import { resolveAgentLaunchProfile } from '@main/core/agent-runtime/agent-launch-profile';
import { resolveAgentExecutable } from '@main/core/agent-runtime/impl/resolve-agent-executable';
import { hostDependencyStore } from '@main/core/dependencies/host-dependency-store';
@@ -21,7 +21,7 @@ function parseExtraArgs(value: string | undefined): string[] {
* auto-started sessions, resolving the agent binary on the VM and baking in
* placeholder tokens for the two per-spawn values (session id + initial
* prompt). The VM watcher — which has no plugin registry — substitutes those
- * tokens per spawn, so all provider knowledge stays here in switchdash.
+ * tokens per spawn, so all provider knowledge stays here in Switch Console.
*
* `autoApprove` is the agent's per-agent bypass-permissions setting, baked into
* the spec's argv so the VM watcher's auto-started sessions honor it (CHOO-1664)
diff --git a/dash/apps/switchdash-desktop/src/main/core/agents/getAgentById.ts b/dash/apps/switch-console-desktop/src/main/core/agents/getAgentById.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/main/core/agents/getAgentById.ts
rename to dash/apps/switch-console-desktop/src/main/core/agents/getAgentById.ts
diff --git a/dash/apps/switchdash-desktop/src/main/core/agents/getAgents.ts b/dash/apps/switch-console-desktop/src/main/core/agents/getAgents.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/main/core/agents/getAgents.ts
rename to dash/apps/switch-console-desktop/src/main/core/agents/getAgents.ts
diff --git a/dash/apps/switchdash-desktop/src/main/core/agents/known-agent-type.test.ts b/dash/apps/switch-console-desktop/src/main/core/agents/known-agent-type.test.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/main/core/agents/known-agent-type.test.ts
rename to dash/apps/switch-console-desktop/src/main/core/agents/known-agent-type.test.ts
diff --git a/dash/apps/switchdash-desktop/src/main/core/agents/known-agent-type.ts b/dash/apps/switch-console-desktop/src/main/core/agents/known-agent-type.ts
similarity index 80%
rename from dash/apps/switchdash-desktop/src/main/core/agents/known-agent-type.ts
rename to dash/apps/switch-console-desktop/src/main/core/agents/known-agent-type.ts
index 7d531479f..dc9e9efcf 100644
--- a/dash/apps/switchdash-desktop/src/main/core/agents/known-agent-type.ts
+++ b/dash/apps/switch-console-desktop/src/main/core/agents/known-agent-type.ts
@@ -16,11 +16,11 @@ const KNOWN_AGENT_TYPE_BY_PROVIDER: Partial<Record<AgentProviderId, KnownAgentTy
const FALLBACK_KNOWN_AGENT_TYPE: KnownAgentType = 'claude-code';
/**
- * Map a switchdash provider to the gateway known-agent type it registers as.
+ * Map a Switch Console provider to the gateway known-agent type it registers as.
*
* A provider outside the two server-side types has no faithful representation.
- * It still registers as `claude-code` — the generic switchdash-managed shape —
- * because switchdash drives the session itself and the type mainly determines
+ * It still registers as `claude-code` — the generic Switch Console-managed shape —
+ * because Switch Console drives the session itself and the type mainly determines
* the connector label and the hand-onboarding command an operator is shown. That
* mismatch is real (an operator onboarding a Gemini agent by hand is told to run
* `claude`), so it is warned about rather than passed over silently.
@@ -30,7 +30,7 @@ export function knownAgentTypeForProvider(providerId: AgentProviderId): KnownAge
if (known) return known;
log.warn(
- 'knownAgentTypeForProvider: provider has no gateway known-agent type; registering as the generic switchdash-managed shape',
+ 'knownAgentTypeForProvider: provider has no gateway known-agent type; registering as the generic Switch Console-managed shape',
{ providerId, registeringAs: FALLBACK_KNOWN_AGENT_TYPE }
);
return FALLBACK_KNOWN_AGENT_TYPE;
diff --git a/dash/apps/switchdash-desktop/src/main/core/agents/migrate-agent-storage.test.ts b/dash/apps/switch-console-desktop/src/main/core/agents/migrate-agent-storage.test.ts
similarity index 99%
rename from dash/apps/switchdash-desktop/src/main/core/agents/migrate-agent-storage.test.ts
rename to dash/apps/switch-console-desktop/src/main/core/agents/migrate-agent-storage.test.ts
index 51a0cf465..eb7780a03 100644
--- a/dash/apps/switchdash-desktop/src/main/core/agents/migrate-agent-storage.test.ts
+++ b/dash/apps/switch-console-desktop/src/main/core/agents/migrate-agent-storage.test.ts
@@ -1,4 +1,4 @@
-import type { PluginFs } from '@switchdash/core/agents/plugins';
+import type { PluginFs } from '@switch-console/core/agents/plugins';
import { beforeEach, describe, expect, it, vi } from 'vitest';
/**
diff --git a/dash/apps/switchdash-desktop/src/main/core/agents/migrate-agent-storage.ts b/dash/apps/switch-console-desktop/src/main/core/agents/migrate-agent-storage.ts
similarity index 99%
rename from dash/apps/switchdash-desktop/src/main/core/agents/migrate-agent-storage.ts
rename to dash/apps/switch-console-desktop/src/main/core/agents/migrate-agent-storage.ts
index 18c07062d..51a370cdc 100644
--- a/dash/apps/switchdash-desktop/src/main/core/agents/migrate-agent-storage.ts
+++ b/dash/apps/switch-console-desktop/src/main/core/agents/migrate-agent-storage.ts
@@ -17,7 +17,7 @@ import { agentSettingsRelativePath, SWITCH_SETTINGS_RELATIVE_PATH } from './swit
import { writeNeutralAgentSettingsFs } from './write-switch-settings';
/**
- * Migrate existing switchdash-managed agents to the current storage/definition
+ * Migrate existing Switch Console-managed agents to the current storage/definition
* layout (CHOO-1440): every agent is a repository-defined agent with a per-agent
* credentials file at `.switch/agents/<name>.json` and an on-disk definition,
* both keyed by the agent's single `name`. Pre-CHOO-1440 installs kept
diff --git a/dash/apps/switchdash-desktop/src/main/core/agents/onboard-agent.ts b/dash/apps/switch-console-desktop/src/main/core/agents/onboard-agent.ts
similarity index 97%
rename from dash/apps/switchdash-desktop/src/main/core/agents/onboard-agent.ts
rename to dash/apps/switch-console-desktop/src/main/core/agents/onboard-agent.ts
index 24857d790..d1999ff4b 100644
--- a/dash/apps/switchdash-desktop/src/main/core/agents/onboard-agent.ts
+++ b/dash/apps/switch-console-desktop/src/main/core/agents/onboard-agent.ts
@@ -1,5 +1,5 @@
import { randomUUID } from 'node:crypto';
-import { err, ok } from '@switchdash/shared';
+import { err, ok } from '@switch-console/shared';
import { locationManager } from '@main/core/locations/location-manager';
import { checkIsValidDirectory } from '@main/core/locations/path-utils';
import { ensureLocation } from '@main/core/locations/store';
@@ -61,7 +61,7 @@ async function verifyAgentOnServer(
}
/**
- * Enforce that an agent's run location can actually reach a switchdash-managed
+ * Enforce that an agent's run location can actually reach a Switch Console-managed
* server: a remote-managed server only from this computer or its own host (the
* desktop reaches it via the SSH forward; the host on loopback — nothing else
* has a route); a local-managed server only from this computer. External servers
@@ -141,7 +141,7 @@ export async function onboardAgent(params: OnboardAgentParams): Promise<OnboardA
});
// Mirror the agent's credentials into its provider-neutral per-agent file
- // (`.switch/agents/<name>.json`), the authoritative identity switchdash injects
+ // (`.switch/agents/<name>.json`), the authoritative identity Switch Console injects
// at launch so agents sharing a location don't collide on the single
// `.claude/settings.local.json` identity (CHOO-1440). Keyed by `name` — the one
// key-space every reader uses. Local agents only — a remote agent's dir lives on
diff --git a/dash/apps/switchdash-desktop/src/main/core/agents/onboard-location-agents.test.ts b/dash/apps/switch-console-desktop/src/main/core/agents/onboard-location-agents.test.ts
similarity index 98%
rename from dash/apps/switchdash-desktop/src/main/core/agents/onboard-location-agents.test.ts
rename to dash/apps/switch-console-desktop/src/main/core/agents/onboard-location-agents.test.ts
index beb91571f..3c8e2304a 100644
--- a/dash/apps/switchdash-desktop/src/main/core/agents/onboard-location-agents.test.ts
+++ b/dash/apps/switch-console-desktop/src/main/core/agents/onboard-location-agents.test.ts
@@ -1,4 +1,4 @@
-import type { PluginFs } from '@switchdash/core/agents/plugins';
+import type { PluginFs } from '@switch-console/core/agents/plugins';
import { beforeEach, describe, expect, it, vi } from 'vitest';
const h = vi.hoisted(() => {
@@ -139,7 +139,7 @@ describe('onboardLocationAgents identity resolution', () => {
expect(h.createAgent).not.toHaveBeenCalled();
});
- it('names the owning server, not its URL, when switchdash has it registered', async () => {
+ it('names the owning server, not its URL, when Switch Console has it registered', async () => {
h.state.definitions = [definition('test-1', true)];
h.state.local = [
{ name: 'test-1', switchAgentId: 'sw-on-a', apiEndpoint: 'https://a.example.com' },
diff --git a/dash/apps/switchdash-desktop/src/main/core/agents/onboard-location-agents.ts b/dash/apps/switch-console-desktop/src/main/core/agents/onboard-location-agents.ts
similarity index 97%
rename from dash/apps/switchdash-desktop/src/main/core/agents/onboard-location-agents.ts
rename to dash/apps/switch-console-desktop/src/main/core/agents/onboard-location-agents.ts
index b6a2801d6..bfa4fc5f8 100644
--- a/dash/apps/switchdash-desktop/src/main/core/agents/onboard-location-agents.ts
+++ b/dash/apps/switch-console-desktop/src/main/core/agents/onboard-location-agents.ts
@@ -1,6 +1,6 @@
import { randomUUID } from 'node:crypto';
-import { err, ok } from '@switchdash/shared';
-import type { Result } from '@switchdash/shared';
+import { err, ok } from '@switch-console/shared';
+import type { Result } from '@switch-console/shared';
import { knownAgentTypeForProvider } from '@main/core/agents/known-agent-type';
import { locationManager } from '@main/core/locations/location-manager';
import { checkIsValidDirectory } from '@main/core/locations/path-utils';
@@ -152,12 +152,12 @@ async function resolveIdentity(
/**
* Onboard the provider agents defined in a working directory. Every
* `.claude/agents/<name>.md` definition that can join Switch and isn't already a
- * switchdash agent is brought in as a flat agent row (CHOO-1440):
+ * Switch Console agent is brought in as a flat agent row (CHOO-1440):
*
* - A definition that already carries valid Switch credentials (registered, and
* its identity still exists on the server) is imported under that identity.
* - A plain provider subagent (a definition with no Switch setup — e.g. one a
- * user created directly in Claude Code) is *adopted*: switchdash mints a Switch
+ * user created directly in Claude Code) is *adopted*: Switch Console mints a Switch
* identity for it and writes its per-agent credentials, leaving the existing
* definition file untouched.
*
diff --git a/dash/apps/switchdash-desktop/src/main/core/agents/propagate-server-api-url.db.test.ts b/dash/apps/switch-console-desktop/src/main/core/agents/propagate-server-api-url.db.test.ts
similarity index 99%
rename from dash/apps/switchdash-desktop/src/main/core/agents/propagate-server-api-url.db.test.ts
rename to dash/apps/switch-console-desktop/src/main/core/agents/propagate-server-api-url.db.test.ts
index 887ec2b8f..a16d1117f 100644
--- a/dash/apps/switchdash-desktop/src/main/core/agents/propagate-server-api-url.db.test.ts
+++ b/dash/apps/switch-console-desktop/src/main/core/agents/propagate-server-api-url.db.test.ts
@@ -53,7 +53,7 @@ describe('propagateServerApiUrl', () => {
beforeEach(async () => {
fixture = await openFixture('empty');
mocks.db = fixture.db;
- tmpRoot = await nodeFs.mkdtemp(path.join(os.tmpdir(), 'switchdash-propagate-'));
+ tmpRoot = await nodeFs.mkdtemp(path.join(os.tmpdir(), 'switch-console-propagate-'));
await fixture.db.insert(switchServers).values([
{
diff --git a/dash/apps/switchdash-desktop/src/main/core/agents/propagate-server-api-url.ts b/dash/apps/switch-console-desktop/src/main/core/agents/propagate-server-api-url.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/main/core/agents/propagate-server-api-url.ts
rename to dash/apps/switch-console-desktop/src/main/core/agents/propagate-server-api-url.ts
diff --git a/dash/apps/switchdash-desktop/src/main/core/agents/reap-stale-sidecars.test.ts b/dash/apps/switch-console-desktop/src/main/core/agents/reap-stale-sidecars.test.ts
similarity index 97%
rename from dash/apps/switchdash-desktop/src/main/core/agents/reap-stale-sidecars.test.ts
rename to dash/apps/switch-console-desktop/src/main/core/agents/reap-stale-sidecars.test.ts
index 90a9e8f8c..78dace63d 100644
--- a/dash/apps/switchdash-desktop/src/main/core/agents/reap-stale-sidecars.test.ts
+++ b/dash/apps/switch-console-desktop/src/main/core/agents/reap-stale-sidecars.test.ts
@@ -50,7 +50,7 @@ describe('reapStaleSidecarsForAgent', () => {
h.state.hostListing = '';
});
- it('spares a co-located agent this switchdash does not manage', async () => {
+ it('spares a co-located agent this Switch Console does not manage', async () => {
// The shared-host case: someone else onboarded `theirs` in the same
// directory. It is absent from this install's database, and reaping against
// that alone would kill a sidecar doing real work for another person.
diff --git a/dash/apps/switchdash-desktop/src/main/core/agents/reap-stale-sidecars.ts b/dash/apps/switch-console-desktop/src/main/core/agents/reap-stale-sidecars.ts
similarity index 95%
rename from dash/apps/switchdash-desktop/src/main/core/agents/reap-stale-sidecars.ts
rename to dash/apps/switch-console-desktop/src/main/core/agents/reap-stale-sidecars.ts
index 33958ba5c..a8777ed57 100644
--- a/dash/apps/switchdash-desktop/src/main/core/agents/reap-stale-sidecars.ts
+++ b/dash/apps/switch-console-desktop/src/main/core/agents/reap-stale-sidecars.ts
@@ -13,7 +13,7 @@ import { SWITCH_AGENTS_DIR_RELATIVE } from './switch-settings-paths';
* the provider-neutral `.switch/agents/<name>.json` credentials every provider
* writes.
*
- * The local database only knows the agents *this* switchdash manages, which is
+ * The local database only knows the agents *this* Switch Console manages, which is
* not the same set as the agents that legitimately run in a shared directory
* (CHOO-1937). Reaping against the local set alone would kill the sidecar of an
* agent another install onboarded here — a process this install has never heard
@@ -43,7 +43,7 @@ async function hostConfiguredSlugs(host: SidecarHost, repoDir: string): Promise<
* their own sidecar (CHOO-1440).
*
* Drawn from the local database *and* the host's own credentials directory, so
- * the set covers agents this switchdash does not manage. `agent` is always
+ * the set covers agents this Switch Console does not manage. `agent` is always
* included, even if both lookups somehow miss its row — reaping must never be
* able to kill the sidecar of the very agent it was invoked for.
*/
diff --git a/dash/apps/switchdash-desktop/src/main/core/agents/register-agent-identity.ts b/dash/apps/switch-console-desktop/src/main/core/agents/register-agent-identity.ts
similarity index 90%
rename from dash/apps/switchdash-desktop/src/main/core/agents/register-agent-identity.ts
rename to dash/apps/switch-console-desktop/src/main/core/agents/register-agent-identity.ts
index 147f1e03d..aaa1a552c 100644
--- a/dash/apps/switchdash-desktop/src/main/core/agents/register-agent-identity.ts
+++ b/dash/apps/switch-console-desktop/src/main/core/agents/register-agent-identity.ts
@@ -18,12 +18,12 @@ export type RegisterAgentInput = {
* Register a new agent identity on `server` (owned by the signed-in user) and
* map recoverable gateway failures to a typed {@link ProvisionAgentResult}
* (unauthorized→unauthenticated, 409→name-conflict, 400→invalid-name, else
- * error). Every switchdash-managed agent is its own top-level Switch identity —
- * there is no parent/child linkage on the gateway; a switchdash agent is a flat
+ * error). Every Switch Console-managed agent is its own top-level Switch identity —
+ * there is no parent/child linkage on the gateway; a Switch Console agent is a flat
* repository-defined agent (CHOO-1440). Shared by the local and remote create
* flows so the option mapping stays identical.
*
- * Channels are always enabled: switchdash keeps the agent's session live (and
+ * Channels are always enabled: Switch Console keeps the agent's session live (and
* auto-spawns one on notify), so it is session-addressable regardless of the
* underlying model provider — there is no user-facing "how do you run Claude"
* choice.
diff --git a/dash/apps/switchdash-desktop/src/main/core/agents/remote-session-reconciler.test.ts b/dash/apps/switch-console-desktop/src/main/core/agents/remote-session-reconciler.test.ts
similarity index 98%
rename from dash/apps/switchdash-desktop/src/main/core/agents/remote-session-reconciler.test.ts
rename to dash/apps/switch-console-desktop/src/main/core/agents/remote-session-reconciler.test.ts
index 6cc4192c7..2e736e533 100644
--- a/dash/apps/switchdash-desktop/src/main/core/agents/remote-session-reconciler.test.ts
+++ b/dash/apps/switch-console-desktop/src/main/core/agents/remote-session-reconciler.test.ts
@@ -112,7 +112,7 @@ describe('RemoteSessionReconciler', () => {
remoteSessionReconciler.dispose();
});
- it('adopts a VM session switchdash has never seen, keyed by the VM session id', async () => {
+ it('adopts a VM session Switch Console has never seen, keyed by the VM session id', async () => {
knownRows = [];
httpGetJsonOverChannel.mockResolvedValue({
sessions: [{ sessionId: 'session-new', roomId: 'room-1' }],
@@ -126,7 +126,7 @@ describe('RemoteSessionReconciler', () => {
expect(provisionSession).toHaveBeenCalledWith('session-new');
});
- it('skips a VM session that already has a switchdash row', async () => {
+ it('skips a VM session that already has a Switch Console row', async () => {
knownRows = [{ id: 'session-known' }];
httpGetJsonOverChannel.mockResolvedValue({
sessions: [{ sessionId: 'session-known', roomId: 'room-1' }],
diff --git a/dash/apps/switchdash-desktop/src/main/core/agents/remote-session-reconciler.ts b/dash/apps/switch-console-desktop/src/main/core/agents/remote-session-reconciler.ts
similarity index 98%
rename from dash/apps/switchdash-desktop/src/main/core/agents/remote-session-reconciler.ts
rename to dash/apps/switch-console-desktop/src/main/core/agents/remote-session-reconciler.ts
index 497d5db71..f7d75d648 100644
--- a/dash/apps/switchdash-desktop/src/main/core/agents/remote-session-reconciler.ts
+++ b/dash/apps/switch-console-desktop/src/main/core/agents/remote-session-reconciler.ts
@@ -65,11 +65,11 @@ type SessionsSnapshot =
/**
* Surfaces the sessions a remote agent's on-VM sidecar started on its own (the
* notification watcher auto-starting a session when the agent is addressed while
- * switchdash was closed) in the switchdash UI.
+ * Switch Console was closed) in the Switch Console UI.
*
* The VM is the source of truth: it mints the session id and runs the agent
- * in a tmux pane with no switchdash DB row. This reconciler polls the sidecar's
- * `GET /sessions` snapshot and, for each session id switchdash has never
+ * in a tmux pane with no Switch Console DB row. This reconciler polls the sidecar's
+ * `GET /sessions` snapshot and, for each session id Switch Console has never
* seen, creates a session row with `id = the VM's session id`. Because the
* tmux session name is derived deterministically from that id, the normal
* session-start path then *attaches* to the already-running pane (same as the
@@ -178,7 +178,7 @@ class RemoteSessionReconciler {
}
/**
- * Refuse re-adoption of a session id for a short window after switchdash
+ * Refuse re-adoption of a session id for a short window after Switch Console
* deletes it, closing the race where a reconcile tick re-adopts it from a stale
* sidecar `/sessions` snapshot before the delete's `/disconnect` lands.
*/
@@ -488,7 +488,7 @@ class RemoteSessionReconciler {
}
/**
- * Create a switchdash session row whose id equals the VM's session id, so
+ * Create a Switch Console session row whose id equals the VM's session id, so
* the session-start path attaches to the running tmux pane rather than spawning
* a fresh agent. No initial prompt — the agent is already connected to the room
* and processing the waiting message.
diff --git a/dash/apps/switchdash-desktop/src/main/core/agents/remote-watcher.ts b/dash/apps/switch-console-desktop/src/main/core/agents/remote-watcher.ts
similarity index 93%
rename from dash/apps/switchdash-desktop/src/main/core/agents/remote-watcher.ts
rename to dash/apps/switch-console-desktop/src/main/core/agents/remote-watcher.ts
index 0b70ff1dc..d30f965d5 100644
--- a/dash/apps/switchdash-desktop/src/main/core/agents/remote-watcher.ts
+++ b/dash/apps/switch-console-desktop/src/main/core/agents/remote-watcher.ts
@@ -13,18 +13,18 @@ import { remoteSessionReconciler } from './remote-session-reconciler';
/**
* Deploy + launch (or reattach to) the remote agent's sidecar so it auto-starts
- * sessions when addressed while switchdash is closed. The sidecar always runs
+ * sessions when addressed while Switch Console is closed. The sidecar always runs
* both jobs — hook server + injection AND the notification watcher — so this is
* simply "ensure the agent's sidecar is up". No-op unless the agent is remote,
* linked to a Switch server, and has auto_session enabled; a disabled agent gets
* its sidecar stopped instead.
*
* The VM sidecar's watcher is the sole auto-session watcher for a remote agent;
- * switchdash's in-process `autoSessionWatcher` skips remote agents to avoid a
+ * Switch Console's in-process `autoSessionWatcher` skips remote agents to avoid a
* double-poll of the notification stream.
*/
/**
- * At switchdash startup, bring every remote auto_session agent's sidecar back up
+ * At Switch Console startup, bring every remote auto_session agent's sidecar back up
* (re-ensured after a VM reboot) and start reconciling the sessions its watcher
* has been auto-starting while the UI was closed. Best-effort per agent — one
* unreachable VM must not block the others. Mirrors the local
@@ -69,7 +69,7 @@ export async function initializeRemoteWatchers(): Promise<void> {
/**
* Start session discovery for every remote agent, independent of auto_session.
- * A second switchdash client must surface sessions another client (or the VM
+ * A second Switch Console client must surface sessions another client (or the VM
* watcher) started, and that discovery is the reconciler polling the sidecar's
* `/sessions`. auto_session only governs whether the VM auto-STARTS sessions —
* not whether this client can SEE them — so discovery must not be gated on it.
@@ -131,7 +131,7 @@ export async function ensureRemoteWatcher(agentId: string): Promise<void> {
});
// Surface the sessions the VM watcher auto-starts (and any already running)
- // in the switchdash UI. Idempotent; polls periodically while enabled.
+ // in the Switch Console UI. Idempotent; polls periodically while enabled.
remoteSessionReconciler.start(agentId);
}
diff --git a/dash/apps/switchdash-desktop/src/main/core/agents/remove-launch-profile.test.ts b/dash/apps/switch-console-desktop/src/main/core/agents/remove-launch-profile.test.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/main/core/agents/remove-launch-profile.test.ts
rename to dash/apps/switch-console-desktop/src/main/core/agents/remove-launch-profile.test.ts
diff --git a/dash/apps/switchdash-desktop/src/main/core/agents/remove-launch-profile.ts b/dash/apps/switch-console-desktop/src/main/core/agents/remove-launch-profile.ts
similarity index 97%
rename from dash/apps/switchdash-desktop/src/main/core/agents/remove-launch-profile.ts
rename to dash/apps/switch-console-desktop/src/main/core/agents/remove-launch-profile.ts
index 0c01b8c9a..42da7f49e 100644
--- a/dash/apps/switchdash-desktop/src/main/core/agents/remove-launch-profile.ts
+++ b/dash/apps/switch-console-desktop/src/main/core/agents/remove-launch-profile.ts
@@ -1,5 +1,5 @@
import { homedir } from 'node:os';
-import type { PluginFs } from '@switchdash/core/agents/plugins';
+import type { PluginFs } from '@switch-console/core/agents/plugins';
import { createRemoteHomePluginFs } from '@main/core/agent-runtime/impl/remote-home-plugin-fs';
import { createPluginFs } from '@main/core/providers/plugin-fs';
import { getPlugin } from '@main/core/providers/plugin-registry';
diff --git a/dash/apps/switchdash-desktop/src/main/core/agents/remove-switch-settings.test.ts b/dash/apps/switch-console-desktop/src/main/core/agents/remove-switch-settings.test.ts
similarity index 97%
rename from dash/apps/switchdash-desktop/src/main/core/agents/remove-switch-settings.test.ts
rename to dash/apps/switch-console-desktop/src/main/core/agents/remove-switch-settings.test.ts
index c105a8746..faa4ecb04 100644
--- a/dash/apps/switchdash-desktop/src/main/core/agents/remove-switch-settings.test.ts
+++ b/dash/apps/switch-console-desktop/src/main/core/agents/remove-switch-settings.test.ts
@@ -1,4 +1,4 @@
-import type { PluginFs } from '@switchdash/core/agents/plugins';
+import type { PluginFs } from '@switch-console/core/agents/plugins';
import { describe, expect, it } from 'vitest';
import { removeSwitchCredentials } from './remove-switch-settings';
import { mergeSwitchSettings } from './write-switch-settings';
diff --git a/dash/apps/switchdash-desktop/src/main/core/agents/remove-switch-settings.ts b/dash/apps/switch-console-desktop/src/main/core/agents/remove-switch-settings.ts
similarity index 96%
rename from dash/apps/switchdash-desktop/src/main/core/agents/remove-switch-settings.ts
rename to dash/apps/switch-console-desktop/src/main/core/agents/remove-switch-settings.ts
index a88931bcb..026206dc3 100644
--- a/dash/apps/switchdash-desktop/src/main/core/agents/remove-switch-settings.ts
+++ b/dash/apps/switch-console-desktop/src/main/core/agents/remove-switch-settings.ts
@@ -1,4 +1,4 @@
-import type { PluginFs } from '@switchdash/core/agents/plugins';
+import type { PluginFs } from '@switch-console/core/agents/plugins';
import { getPlugin } from '@main/core/providers/plugin-registry';
import { SWITCH_SETTINGS_RELATIVE_PATH } from './switch-settings-paths';
import { removeSwitchSettings } from './write-switch-settings';
diff --git a/dash/apps/switchdash-desktop/src/main/core/agents/renameAgent.test.ts b/dash/apps/switch-console-desktop/src/main/core/agents/renameAgent.test.ts
similarity index 99%
rename from dash/apps/switchdash-desktop/src/main/core/agents/renameAgent.test.ts
rename to dash/apps/switch-console-desktop/src/main/core/agents/renameAgent.test.ts
index d8b14b39e..a9ac50e5e 100644
--- a/dash/apps/switchdash-desktop/src/main/core/agents/renameAgent.test.ts
+++ b/dash/apps/switch-console-desktop/src/main/core/agents/renameAgent.test.ts
@@ -1,4 +1,4 @@
-import type { PluginFs } from '@switchdash/core/agents/plugins';
+import type { PluginFs } from '@switch-console/core/agents/plugins';
import { beforeEach, describe, expect, it, vi } from 'vitest';
import { agentSettingsRelativePath } from './switch-settings-paths';
diff --git a/dash/apps/switchdash-desktop/src/main/core/agents/renameAgent.ts b/dash/apps/switch-console-desktop/src/main/core/agents/renameAgent.ts
similarity index 97%
rename from dash/apps/switchdash-desktop/src/main/core/agents/renameAgent.ts
rename to dash/apps/switch-console-desktop/src/main/core/agents/renameAgent.ts
index 6bb1650f8..a47ed4537 100644
--- a/dash/apps/switchdash-desktop/src/main/core/agents/renameAgent.ts
+++ b/dash/apps/switch-console-desktop/src/main/core/agents/renameAgent.ts
@@ -1,4 +1,4 @@
-import { type Result, err, ok } from '@switchdash/shared';
+import { type Result, err, ok } from '@switch-console/shared';
import { eq, sql } from 'drizzle-orm';
import {
agentSidecarTmuxName,
@@ -54,7 +54,7 @@ async function moveSidecarToNewName(previous: Agent, renamed: Agent): Promise<vo
/**
* Move the agent's on-disk state to its new name.
*
- * Everything switchdash writes per agent is keyed by the agent's `name` — the
+ * Everything Switch Console writes per agent is keyed by the agent's `name` — the
* Switch credentials at `.switch/agents/<name>.json` and, for a provider with
* repo-agent definitions, the definition the CLI is launched against
* (`--agent <name>`). A rename that only updates the row leaves both behind
diff --git a/dash/apps/switchdash-desktop/src/main/core/agents/reset-remote-agent-tmux.ts b/dash/apps/switch-console-desktop/src/main/core/agents/reset-remote-agent-tmux.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/main/core/agents/reset-remote-agent-tmux.ts
rename to dash/apps/switch-console-desktop/src/main/core/agents/reset-remote-agent-tmux.ts
diff --git a/dash/apps/switchdash-desktop/src/main/core/agents/reset-remote-agent.test.ts b/dash/apps/switch-console-desktop/src/main/core/agents/reset-remote-agent.test.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/main/core/agents/reset-remote-agent.test.ts
rename to dash/apps/switch-console-desktop/src/main/core/agents/reset-remote-agent.test.ts
diff --git a/dash/apps/switchdash-desktop/src/main/core/agents/reset-remote-agent.ts b/dash/apps/switch-console-desktop/src/main/core/agents/reset-remote-agent.ts
similarity index 96%
rename from dash/apps/switchdash-desktop/src/main/core/agents/reset-remote-agent.ts
rename to dash/apps/switch-console-desktop/src/main/core/agents/reset-remote-agent.ts
index d0f6407d5..bc2593582 100644
--- a/dash/apps/switchdash-desktop/src/main/core/agents/reset-remote-agent.ts
+++ b/dash/apps/switch-console-desktop/src/main/core/agents/reset-remote-agent.ts
@@ -121,10 +121,10 @@ async function removeLocalSession(sessionId: string): Promise<void> {
* the sidecar/watcher session and every agent (Claude Code) session — then bring
* the agent back up fresh so it can start clean (CHOO-1656).
*
- * The kill scope is the union of the sessions switchdash has rows for and the
+ * The kill scope is the union of the sessions Switch Console has rows for and the
* sessions the VM sidecar reports live, so it covers sessions this client never
* opened while staying scoped to THIS agent's sidecar (host + repo dir) rather
- * than sweeping every switchdash session on a shared host.
+ * than sweeping every Switch Console session on a shared host.
*
* Fails loud: a real remote teardown error (a `kill-session` that fails, a
* broken SSH transport) propagates instead of being swallowed. Remote-only —
@@ -163,7 +163,7 @@ export async function resetRemoteAgent(agentId: string): Promise<void> {
await Promise.all(dbSessionIds.map((id) => removeLocalSession(id)));
- // Bring the agent back up fresh, the same way switchdash does at boot: re-ensure
+ // Bring the agent back up fresh, the same way Switch Console does at boot: re-ensure
// the sidecar + watcher (when auto_session is on) and restart session discovery.
await ensureRemoteWatcher(agentId);
await startRemoteDiscovery(agentId);
diff --git a/dash/apps/switchdash-desktop/src/main/core/agents/resolve-servers.db.test.ts b/dash/apps/switch-console-desktop/src/main/core/agents/resolve-servers.db.test.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/main/core/agents/resolve-servers.db.test.ts
rename to dash/apps/switch-console-desktop/src/main/core/agents/resolve-servers.db.test.ts
diff --git a/dash/apps/switchdash-desktop/src/main/core/agents/resolve-servers.ts b/dash/apps/switch-console-desktop/src/main/core/agents/resolve-servers.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/main/core/agents/resolve-servers.ts
rename to dash/apps/switch-console-desktop/src/main/core/agents/resolve-servers.ts
diff --git a/dash/apps/switchdash-desktop/src/main/core/agents/setAgentAutoApprove.test.ts b/dash/apps/switch-console-desktop/src/main/core/agents/setAgentAutoApprove.test.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/main/core/agents/setAgentAutoApprove.test.ts
rename to dash/apps/switch-console-desktop/src/main/core/agents/setAgentAutoApprove.test.ts
diff --git a/dash/apps/switchdash-desktop/src/main/core/agents/setAgentAutoApprove.ts b/dash/apps/switch-console-desktop/src/main/core/agents/setAgentAutoApprove.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/main/core/agents/setAgentAutoApprove.ts
rename to dash/apps/switch-console-desktop/src/main/core/agents/setAgentAutoApprove.ts
diff --git a/dash/apps/switchdash-desktop/src/main/core/agents/setAgentAutoSession.ts b/dash/apps/switch-console-desktop/src/main/core/agents/setAgentAutoSession.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/main/core/agents/setAgentAutoSession.ts
rename to dash/apps/switch-console-desktop/src/main/core/agents/setAgentAutoSession.ts
diff --git a/dash/apps/switchdash-desktop/src/main/core/agents/switch-settings-paths.test.ts b/dash/apps/switch-console-desktop/src/main/core/agents/switch-settings-paths.test.ts
similarity index 96%
rename from dash/apps/switchdash-desktop/src/main/core/agents/switch-settings-paths.test.ts
rename to dash/apps/switch-console-desktop/src/main/core/agents/switch-settings-paths.test.ts
index a5e3b09f0..4932cfe8b 100644
--- a/dash/apps/switchdash-desktop/src/main/core/agents/switch-settings-paths.test.ts
+++ b/dash/apps/switch-console-desktop/src/main/core/agents/switch-settings-paths.test.ts
@@ -9,7 +9,7 @@ import {
// These relative paths are handed to a `PluginFs` that may be a remote POSIX
// host over SFTP, so they must never carry a Windows separator. `path.join`
-// would, when switchdash itself runs on Windows.
+// would, when Switch Console itself runs on Windows.
describe('relative Switch settings paths', () => {
const relatives = {
SWITCH_SETTINGS_RELATIVE_PATH,
diff --git a/dash/apps/switchdash-desktop/src/main/core/agents/switch-settings-paths.ts b/dash/apps/switch-console-desktop/src/main/core/agents/switch-settings-paths.ts
similarity index 92%
rename from dash/apps/switchdash-desktop/src/main/core/agents/switch-settings-paths.ts
rename to dash/apps/switch-console-desktop/src/main/core/agents/switch-settings-paths.ts
index 8f8ef197b..550d3c7ab 100644
--- a/dash/apps/switchdash-desktop/src/main/core/agents/switch-settings-paths.ts
+++ b/dash/apps/switch-console-desktop/src/main/core/agents/switch-settings-paths.ts
@@ -8,7 +8,7 @@ import path from 'node:path';
*
* Every *relative* path here is a forward-slash literal, never `path.join`: these
* are handed to a `PluginFs`, which is either the local disk or a remote POSIX
- * host over SFTP, and `path.join` emits backslashes when switchdash runs on
+ * host over SFTP, and `path.join` emits backslashes when Switch Console runs on
* Windows. The *absolute* helpers below still use `path.join`, which normalises a
* forward-slash tail correctly on every platform.
*/
@@ -23,7 +23,7 @@ export const SWITCH_SETTINGS_RELATIVE_PATH = '.claude/settings.local.json';
/**
* Directory, relative to an agent's working directory, where the switch-connector
* `configure` skill writes per-subagent Switch credential files
- * (`<subagent_name>.settings.json`). switchdash discovers a parent agent's
+ * (`<subagent_name>.settings.json`). Switch Console discovers a parent agent's
* launchable Claude Code subagents by scanning this directory.
*/
export const SWITCH_SUBAGENTS_DIR_RELATIVE = '.claude/switch-subagents';
@@ -35,7 +35,7 @@ export function subagentSettingsPath(dir: string, agentName: string): string {
/**
* Provider-neutral directory, relative to a location's working directory, where
- * switchdash writes one Switch credentials file per agent (`<slug>.json`). This
+ * Switch Console writes one Switch credentials file per agent (`<slug>.json`). This
* replaces the two Claude-specific layouts — the shared `.claude/settings.local.json`
* for a "main" agent and `.claude/switch-subagents/<name>.settings.json` for a
* subagent — with a single per-agent format that works for every provider
diff --git a/dash/apps/switchdash-desktop/src/main/core/agents/updateAgent.ts b/dash/apps/switch-console-desktop/src/main/core/agents/updateAgent.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/main/core/agents/updateAgent.ts
rename to dash/apps/switch-console-desktop/src/main/core/agents/updateAgent.ts
diff --git a/dash/apps/switchdash-desktop/src/main/core/agents/utils.ts b/dash/apps/switch-console-desktop/src/main/core/agents/utils.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/main/core/agents/utils.ts
rename to dash/apps/switch-console-desktop/src/main/core/agents/utils.ts
diff --git a/dash/apps/switchdash-desktop/src/main/core/agents/write-remote-switch-settings.test.ts b/dash/apps/switch-console-desktop/src/main/core/agents/write-remote-switch-settings.test.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/main/core/agents/write-remote-switch-settings.test.ts
rename to dash/apps/switch-console-desktop/src/main/core/agents/write-remote-switch-settings.test.ts
diff --git a/dash/apps/switchdash-desktop/src/main/core/agents/write-remote-switch-settings.ts b/dash/apps/switch-console-desktop/src/main/core/agents/write-remote-switch-settings.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/main/core/agents/write-remote-switch-settings.ts
rename to dash/apps/switch-console-desktop/src/main/core/agents/write-remote-switch-settings.ts
diff --git a/dash/apps/switchdash-desktop/src/main/core/agents/write-switch-settings.test.ts b/dash/apps/switch-console-desktop/src/main/core/agents/write-switch-settings.test.ts
similarity index 98%
rename from dash/apps/switchdash-desktop/src/main/core/agents/write-switch-settings.test.ts
rename to dash/apps/switch-console-desktop/src/main/core/agents/write-switch-settings.test.ts
index 5fadd62de..3c41cb566 100644
--- a/dash/apps/switchdash-desktop/src/main/core/agents/write-switch-settings.test.ts
+++ b/dash/apps/switch-console-desktop/src/main/core/agents/write-switch-settings.test.ts
@@ -21,7 +21,7 @@ import {
let dir: string;
beforeEach(async () => {
- dir = await fs.mkdtemp(path.join(os.tmpdir(), 'switchdash-settings-'));
+ dir = await fs.mkdtemp(path.join(os.tmpdir(), 'switch-console-settings-'));
});
afterEach(async () => {
@@ -308,7 +308,7 @@ describe('removeSwitchSettings', () => {
const parsed = JSON.parse((result as { content: string }).content) as Record<string, unknown>;
// Both blocks held only our contributions — including the retired
- // switch-channel rule an older switchdash wrote — so both are dropped.
+ // switch-channel rule an older Switch Console wrote — so both are dropped.
expect(parsed).toEqual({ hooks: { PostToolUse: [{ command: 'x' }] } });
expect('env' in parsed).toBe(false);
expect('permissions' in parsed).toBe(false);
diff --git a/dash/apps/switchdash-desktop/src/main/core/agents/write-switch-settings.ts b/dash/apps/switch-console-desktop/src/main/core/agents/write-switch-settings.ts
similarity index 96%
rename from dash/apps/switchdash-desktop/src/main/core/agents/write-switch-settings.ts
rename to dash/apps/switch-console-desktop/src/main/core/agents/write-switch-settings.ts
index af77212fe..3de284c16 100644
--- a/dash/apps/switchdash-desktop/src/main/core/agents/write-switch-settings.ts
+++ b/dash/apps/switch-console-desktop/src/main/core/agents/write-switch-settings.ts
@@ -3,8 +3,8 @@ import path from 'node:path';
import {
RECOGNISED_SWITCH_CONNECTOR_TOOL_RULES,
SWITCH_CONNECTOR_TOOL_RULES,
-} from '@switchdash/core/agents/plugins';
-import type { PluginFs } from '@switchdash/core/agents/plugins';
+} from '@switch-console/core/agents/plugins';
+import type { PluginFs } from '@switch-console/core/agents/plugins';
import { createPluginFs } from '@main/core/providers/plugin-fs';
import {
agentSettingsRelativePath,
@@ -33,7 +33,7 @@ export interface SwitchSettingsCredentials {
* `.switch/agents/<slug>.json` that {@link mergeAgentCredentials} writes.
*
* Removing rather than merging forward matters: a merge would carry a token
- * written by an older switchdash forward into a file that no longer needs one.
+ * written by an older Switch Console forward into a file that no longer needs one.
*
* Pure: takes the existing file text (or null when absent/unreadable) and
* returns the text to write. Shared by the local writer and the remote (SFTP)
@@ -97,7 +97,7 @@ export function mergeSwitchSettings(
* The two files are not interchangeable. `.claude/settings.local.json` is
* Claude Code's own, read by any session in the directory, and it only needs to
* say who the agent is — the runtime resolves the rest. `.switch/agents/<slug>.json`
- * is the per-agent credential switchdash injects at launch and the runtime falls
+ * is the per-agent credential Switch Console injects at launch and the runtime falls
* back to, so the token lives here, in exactly one place.
*/
export function mergeAgentCredentials(
@@ -282,7 +282,7 @@ export async function writeSwitchSettings(params: {
/**
* Write an agent's Switch credentials to its provider-neutral per-agent file
* `.switch/agents/<slug>.json` (CHOO-1440), alongside the connector-owned
- * `.claude/settings.local.json`. switchdash injects this file's env at launch, so
+ * `.claude/settings.local.json`. Switch Console injects this file's env at launch, so
* it is the authoritative per-agent identity — letting multiple agents share a
* location without colliding on the single `settings.local.json` identity.
*
@@ -299,7 +299,7 @@ export async function writeAgentNeutralSettings(
/**
* Write an agent's provider-neutral per-agent Switch credentials over a
* {@link PluginFs} (local disk or a remote repo dir via SFTP), keyed by `slug`
- * (the agent name) — the authoritative identity switchdash injects at launch
+ * (the agent name) — the authoritative identity Switch Console injects at launch
* (`agentSettingsPath`). This is the single per-agent credential writer for every
* provider and every transport; providers with repo-agent definitions (Claude)
* layer their definition on top.
diff --git a/dash/apps/switchdash-desktop/src/main/core/app/controller.ts b/dash/apps/switch-console-desktop/src/main/core/app/controller.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/main/core/app/controller.ts
rename to dash/apps/switch-console-desktop/src/main/core/app/controller.ts
diff --git a/dash/apps/switchdash-desktop/src/main/core/app/service.test.ts b/dash/apps/switch-console-desktop/src/main/core/app/service.test.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/main/core/app/service.test.ts
rename to dash/apps/switch-console-desktop/src/main/core/app/service.test.ts
diff --git a/dash/apps/switchdash-desktop/src/main/core/app/service.ts b/dash/apps/switch-console-desktop/src/main/core/app/service.ts
similarity index 99%
rename from dash/apps/switchdash-desktop/src/main/core/app/service.ts
rename to dash/apps/switch-console-desktop/src/main/core/app/service.ts
index eda45eb10..4da653b71 100644
--- a/dash/apps/switchdash-desktop/src/main/core/app/service.ts
+++ b/dash/apps/switch-console-desktop/src/main/core/app/service.ts
@@ -2,7 +2,7 @@ import { exec } from 'node:child_process';
import { readFile, realpath, stat } from 'node:fs/promises';
import { homedir } from 'node:os';
import { extname, isAbsolute, join, resolve, sep } from 'node:path';
-import type { IDisposable, IInitializable } from '@switchdash/shared';
+import type { IDisposable, IInitializable } from '@switch-console/shared';
import { app, clipboard, dialog, shell } from 'electron';
import { getMainWindow } from '@main/app/window';
import { events } from '@main/lib/events';
diff --git a/dash/apps/switchdash-desktop/src/main/core/app/utils.ts b/dash/apps/switch-console-desktop/src/main/core/app/utils.ts
similarity index 98%
rename from dash/apps/switchdash-desktop/src/main/core/app/utils.ts
rename to dash/apps/switch-console-desktop/src/main/core/app/utils.ts
index 36abe2688..22a8494df 100644
--- a/dash/apps/switchdash-desktop/src/main/core/app/utils.ts
+++ b/dash/apps/switch-console-desktop/src/main/core/app/utils.ts
@@ -137,7 +137,7 @@ export const listInstalledFontsAll = async (): Promise<string[]> => {
const readPackageVersion = async (packageJsonPath: string): Promise<string | null> => {
try {
const packageJson = JSON.parse(await readFile(packageJsonPath, 'utf-8'));
- if (packageJson.name === 'switchdash' && packageJson.version) {
+ if (packageJson.name === '@switch-console/desktop' && packageJson.version) {
return packageJson.version as string;
}
} catch {
diff --git a/dash/apps/switchdash-desktop/src/main/core/dependencies/agent-update-service.test.ts b/dash/apps/switch-console-desktop/src/main/core/dependencies/agent-update-service.test.ts
similarity index 98%
rename from dash/apps/switchdash-desktop/src/main/core/dependencies/agent-update-service.test.ts
rename to dash/apps/switch-console-desktop/src/main/core/dependencies/agent-update-service.test.ts
index e07a5875b..6632708aa 100644
--- a/dash/apps/switchdash-desktop/src/main/core/dependencies/agent-update-service.test.ts
+++ b/dash/apps/switch-console-desktop/src/main/core/dependencies/agent-update-service.test.ts
@@ -1,6 +1,6 @@
-import type { DependencyStatusUpdatedEvent, DependencyId } from '@switchdash/core/deps/runtime';
-import type { HostDependencyManager } from '@switchdash/core/deps/runtime';
-import { Emitter } from '@switchdash/shared';
+import type { DependencyStatusUpdatedEvent, DependencyId } from '@switch-console/core/deps/runtime';
+import type { HostDependencyManager } from '@switch-console/core/deps/runtime';
+import { Emitter } from '@switch-console/shared';
import { describe, expect, it, vi, beforeEach } from 'vitest';
// Mock the registry
diff --git a/dash/apps/switchdash-desktop/src/main/core/dependencies/agent-update-service.ts b/dash/apps/switch-console-desktop/src/main/core/dependencies/agent-update-service.ts
similarity index 98%
rename from dash/apps/switchdash-desktop/src/main/core/dependencies/agent-update-service.ts
rename to dash/apps/switch-console-desktop/src/main/core/dependencies/agent-update-service.ts
index 9cbbd07b2..d05a03457 100644
--- a/dash/apps/switchdash-desktop/src/main/core/dependencies/agent-update-service.ts
+++ b/dash/apps/switch-console-desktop/src/main/core/dependencies/agent-update-service.ts
@@ -7,8 +7,8 @@ import {
type HostDependency,
type Installation,
type HostDependencyManager,
-} from '@switchdash/core/deps/runtime';
-import type { Logger } from '@switchdash/core/lib';
+} from '@switch-console/core/deps/runtime';
+import type { Logger } from '@switch-console/core/lib';
import { events } from '@main/lib/events';
import { isNewerVersion } from '@main/lib/semver';
import { agentInstallationStatusUpdatedChannel } from '@shared/events/appEvents';
diff --git a/dash/apps/switchdash-desktop/src/main/core/dependencies/core-dependencies.ts b/dash/apps/switch-console-desktop/src/main/core/dependencies/core-dependencies.ts
similarity index 95%
rename from dash/apps/switchdash-desktop/src/main/core/dependencies/core-dependencies.ts
rename to dash/apps/switch-console-desktop/src/main/core/dependencies/core-dependencies.ts
index ff69a85fa..13e6739e2 100644
--- a/dash/apps/switchdash-desktop/src/main/core/dependencies/core-dependencies.ts
+++ b/dash/apps/switch-console-desktop/src/main/core/dependencies/core-dependencies.ts
@@ -1,4 +1,4 @@
-import type { DependencyDescriptor } from '@switchdash/core/deps/runtime';
+import type { DependencyDescriptor } from '@switch-console/core/deps/runtime';
/**
* `apt-get -y` is not enough to make an install unattended.
@@ -26,14 +26,14 @@ function aptInstall(packages: string): string {
}
/**
- * Core host tools a remote host needs to run switchdash agent sessions: the same
+ * Core host tools a remote host needs to run Switch Console agent sessions: the same
* binaries the remote-session preflight verifies (tmux, node, git) plus gh, which
* agents commonly rely on. Unlike agent dependencies (built from the plugin
* registry), these are static — the plugin system has no notion of host tooling.
*
* These are surfaced only on the remote-host management page; the local
* dependency manager continues to track agent CLIs only. `updates`/`uninstall`
- * are intentionally omitted: switchdash detects and installs these tools but does
+ * are intentionally omitted: Switch Console detects and installs these tools but does
* not manage their upgrade/removal lifecycle.
*/
export const CORE_DEPENDENCIES: DependencyDescriptor[] = [
diff --git a/dash/apps/switchdash-desktop/src/main/core/dependencies/dependency-managers.ts b/dash/apps/switch-console-desktop/src/main/core/dependencies/dependency-managers.ts
similarity index 98%
rename from dash/apps/switchdash-desktop/src/main/core/dependencies/dependency-managers.ts
rename to dash/apps/switch-console-desktop/src/main/core/dependencies/dependency-managers.ts
index fedb19feb..5288eb0a1 100644
--- a/dash/apps/switchdash-desktop/src/main/core/dependencies/dependency-managers.ts
+++ b/dash/apps/switch-console-desktop/src/main/core/dependencies/dependency-managers.ts
@@ -1,4 +1,4 @@
-import { HostDependencyManager, type DependencyId } from '@switchdash/core/deps/runtime';
+import { HostDependencyManager, type DependencyId } from '@switch-console/core/deps/runtime';
import { clearResolvedPathCache } from '@main/core/agent-runtime/impl/resolve-agent-executable';
import { LocalExecutionContext } from '@main/core/execution-context/local-execution-context';
import { appSettingsService } from '@main/core/settings/settings-service';
diff --git a/dash/apps/switchdash-desktop/src/main/core/dependencies/host-dependency-store.ts b/dash/apps/switch-console-desktop/src/main/core/dependencies/host-dependency-store.ts
similarity index 95%
rename from dash/apps/switchdash-desktop/src/main/core/dependencies/host-dependency-store.ts
rename to dash/apps/switch-console-desktop/src/main/core/dependencies/host-dependency-store.ts
index 22552c407..b0449f17e 100644
--- a/dash/apps/switchdash-desktop/src/main/core/dependencies/host-dependency-store.ts
+++ b/dash/apps/switch-console-desktop/src/main/core/dependencies/host-dependency-store.ts
@@ -1,5 +1,5 @@
-import type { DependencyId, HostDependencySelection } from '@switchdash/core/deps/runtime';
-import { normalizeSelection } from '@switchdash/core/deps/runtime';
+import type { DependencyId, HostDependencySelection } from '@switch-console/core/deps/runtime';
+import { normalizeSelection } from '@switch-console/core/deps/runtime';
import { KV } from '@main/db/kv';
const LOCAL_HOST_ID = 'local';
diff --git a/dash/apps/switchdash-desktop/src/main/core/dependencies/install-output.ts b/dash/apps/switch-console-desktop/src/main/core/dependencies/install-output.ts
similarity index 92%
rename from dash/apps/switchdash-desktop/src/main/core/dependencies/install-output.ts
rename to dash/apps/switch-console-desktop/src/main/core/dependencies/install-output.ts
index 8526e4505..641e5f491 100644
--- a/dash/apps/switchdash-desktop/src/main/core/dependencies/install-output.ts
+++ b/dash/apps/switch-console-desktop/src/main/core/dependencies/install-output.ts
@@ -1,4 +1,4 @@
-import { Emitter } from '@switchdash/shared';
+import { Emitter } from '@switch-console/shared';
/** A chunk of output from an install command, as the host produces it. */
export type InstallOutputChunk = { sshHost: string; chunk: string };
diff --git a/dash/apps/switchdash-desktop/src/main/core/dependencies/install-runner.test.ts b/dash/apps/switch-console-desktop/src/main/core/dependencies/install-runner.test.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/main/core/dependencies/install-runner.test.ts
rename to dash/apps/switch-console-desktop/src/main/core/dependencies/install-runner.test.ts
diff --git a/dash/apps/switchdash-desktop/src/main/core/dependencies/install-runner.ts b/dash/apps/switch-console-desktop/src/main/core/dependencies/install-runner.ts
similarity index 95%
rename from dash/apps/switchdash-desktop/src/main/core/dependencies/install-runner.ts
rename to dash/apps/switch-console-desktop/src/main/core/dependencies/install-runner.ts
index e23e3fa8e..00b74cded 100644
--- a/dash/apps/switchdash-desktop/src/main/core/dependencies/install-runner.ts
+++ b/dash/apps/switch-console-desktop/src/main/core/dependencies/install-runner.ts
@@ -1,6 +1,6 @@
import os from 'node:os';
-import type { InstallCommandError } from '@switchdash/core/deps/runtime';
-import { err, ok, type Result } from '@switchdash/shared';
+import type { InstallCommandError } from '@switch-console/core/deps/runtime';
+import { err, ok, type Result } from '@switch-console/shared';
import { spawnLocalPty } from '@main/core/pty/local-pty';
import type { Pty } from '@main/core/pty/pty';
import { logLocalPtySpawnWarnings, resolveLocalPtySpawn } from '@main/core/pty/pty-spawn-platform';
diff --git a/dash/apps/switchdash-desktop/src/main/core/dependencies/latest-version-service.test.ts b/dash/apps/switch-console-desktop/src/main/core/dependencies/latest-version-service.test.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/main/core/dependencies/latest-version-service.test.ts
rename to dash/apps/switch-console-desktop/src/main/core/dependencies/latest-version-service.test.ts
diff --git a/dash/apps/switchdash-desktop/src/main/core/dependencies/latest-version-service.ts b/dash/apps/switch-console-desktop/src/main/core/dependencies/latest-version-service.ts
similarity index 93%
rename from dash/apps/switchdash-desktop/src/main/core/dependencies/latest-version-service.ts
rename to dash/apps/switch-console-desktop/src/main/core/dependencies/latest-version-service.ts
index 4d5dbac6f..a82af3a9c 100644
--- a/dash/apps/switchdash-desktop/src/main/core/dependencies/latest-version-service.ts
+++ b/dash/apps/switch-console-desktop/src/main/core/dependencies/latest-version-service.ts
@@ -1,5 +1,5 @@
-import type { ReleaseSource } from '@switchdash/core/deps';
-import type { Logger } from '@switchdash/core/lib';
+import type { ReleaseSource } from '@switch-console/core/deps';
+import type { Logger } from '@switch-console/core/lib';
const REQUEST_TIMEOUT_MS = 10_000;
const CACHE_TTL_MS = 6 * 60 * 60 * 1000; // 6 hours
@@ -12,7 +12,7 @@ interface CacheEntry {
async function fetchJson(url: string): Promise<unknown> {
const res = await fetch(url, {
headers: {
- 'User-Agent': 'switchdash-latest-version',
+ 'User-Agent': 'switch-console-latest-version',
Accept: 'application/json',
},
signal: AbortSignal.timeout(REQUEST_TIMEOUT_MS),
diff --git a/dash/apps/switchdash-desktop/src/main/core/dependencies/registry.test.ts b/dash/apps/switch-console-desktop/src/main/core/dependencies/registry.test.ts
similarity index 96%
rename from dash/apps/switchdash-desktop/src/main/core/dependencies/registry.test.ts
rename to dash/apps/switch-console-desktop/src/main/core/dependencies/registry.test.ts
index a8a42e488..342c2fe49 100644
--- a/dash/apps/switchdash-desktop/src/main/core/dependencies/registry.test.ts
+++ b/dash/apps/switch-console-desktop/src/main/core/dependencies/registry.test.ts
@@ -1,4 +1,4 @@
-import { pluginRegistry } from '@switchdash/plugins/agents';
+import { pluginRegistry } from '@switch-console/plugins/agents';
import { describe, expect, it } from 'vitest';
import { buildDescriptorFromProvider, DEPENDENCIES } from './registry';
diff --git a/dash/apps/switchdash-desktop/src/main/core/dependencies/registry.ts b/dash/apps/switch-console-desktop/src/main/core/dependencies/registry.ts
similarity index 93%
rename from dash/apps/switchdash-desktop/src/main/core/dependencies/registry.ts
rename to dash/apps/switch-console-desktop/src/main/core/dependencies/registry.ts
index 979f9aed9..5f2086a10 100644
--- a/dash/apps/switchdash-desktop/src/main/core/dependencies/registry.ts
+++ b/dash/apps/switch-console-desktop/src/main/core/dependencies/registry.ts
@@ -1,10 +1,10 @@
-import type { CLIAgentPluginProvider } from '@switchdash/core/agents/plugins';
+import type { CLIAgentPluginProvider } from '@switch-console/core/agents/plugins';
import type {
DependencyDescriptor,
DependencyStatus,
ProbeResult,
-} from '@switchdash/core/deps/runtime';
-import { pluginRegistry } from '@switchdash/plugins/agents';
+} from '@switch-console/core/deps/runtime';
+import { pluginRegistry } from '@switch-console/plugins/agents';
/**
* Agents that output their version on stderr, time out during probing, or return
diff --git a/dash/apps/switchdash-desktop/src/main/core/dependencies/remote-dependency-manager.ts b/dash/apps/switch-console-desktop/src/main/core/dependencies/remote-dependency-manager.ts
similarity index 96%
rename from dash/apps/switchdash-desktop/src/main/core/dependencies/remote-dependency-manager.ts
rename to dash/apps/switch-console-desktop/src/main/core/dependencies/remote-dependency-manager.ts
index 76a19d78d..35928dbe5 100644
--- a/dash/apps/switchdash-desktop/src/main/core/dependencies/remote-dependency-manager.ts
+++ b/dash/apps/switch-console-desktop/src/main/core/dependencies/remote-dependency-manager.ts
@@ -1,5 +1,5 @@
-import type { Platform } from '@switchdash/core/deps';
-import { HostDependencyManager } from '@switchdash/core/deps/runtime';
+import type { Platform } from '@switch-console/core/deps';
+import { HostDependencyManager } from '@switch-console/core/deps/runtime';
import { SshExecutionContext } from '@main/core/execution-context/ssh-execution-context';
import { sshConnectionIdForHost } from '@main/core/locations/location-transport';
import { ensureSshConnected } from '@main/core/ssh/connect/connect-agent-ssh';
diff --git a/dash/apps/switchdash-desktop/src/main/core/dependencies/ssh-install-runner.ts b/dash/apps/switch-console-desktop/src/main/core/dependencies/ssh-install-runner.ts
similarity index 96%
rename from dash/apps/switchdash-desktop/src/main/core/dependencies/ssh-install-runner.ts
rename to dash/apps/switch-console-desktop/src/main/core/dependencies/ssh-install-runner.ts
index 8108ab5f0..c2b268222 100644
--- a/dash/apps/switchdash-desktop/src/main/core/dependencies/ssh-install-runner.ts
+++ b/dash/apps/switch-console-desktop/src/main/core/dependencies/ssh-install-runner.ts
@@ -1,5 +1,5 @@
-import type { InstallCommandError } from '@switchdash/core/deps/runtime';
-import { err, ok, type Result } from '@switchdash/shared';
+import type { InstallCommandError } from '@switch-console/core/deps/runtime';
+import { err, ok, type Result } from '@switch-console/shared';
import { openSsh2Pty } from '@main/core/pty/ssh2-pty';
import { buildRemoteShellCommand } from '@main/core/ssh/lifecycle/remote-shell-profile';
import type { SshClientProxy } from '@main/core/ssh/lifecycle/ssh-client-proxy';
diff --git a/dash/apps/switchdash-desktop/src/main/core/execution-context/local-execution-context.test.ts b/dash/apps/switch-console-desktop/src/main/core/execution-context/local-execution-context.test.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/main/core/execution-context/local-execution-context.test.ts
rename to dash/apps/switch-console-desktop/src/main/core/execution-context/local-execution-context.test.ts
diff --git a/dash/apps/switchdash-desktop/src/main/core/execution-context/local-execution-context.ts b/dash/apps/switch-console-desktop/src/main/core/execution-context/local-execution-context.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/main/core/execution-context/local-execution-context.ts
rename to dash/apps/switch-console-desktop/src/main/core/execution-context/local-execution-context.ts
diff --git a/dash/apps/switchdash-desktop/src/main/core/execution-context/non-interactive-git-env.ts b/dash/apps/switch-console-desktop/src/main/core/execution-context/non-interactive-git-env.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/main/core/execution-context/non-interactive-git-env.ts
rename to dash/apps/switch-console-desktop/src/main/core/execution-context/non-interactive-git-env.ts
diff --git a/dash/apps/switchdash-desktop/src/main/core/execution-context/ssh-execution-context.test.ts b/dash/apps/switch-console-desktop/src/main/core/execution-context/ssh-execution-context.test.ts
similarity index 99%
rename from dash/apps/switchdash-desktop/src/main/core/execution-context/ssh-execution-context.test.ts
rename to dash/apps/switch-console-desktop/src/main/core/execution-context/ssh-execution-context.test.ts
index 003440f65..b64ab2f92 100644
--- a/dash/apps/switchdash-desktop/src/main/core/execution-context/ssh-execution-context.test.ts
+++ b/dash/apps/switch-console-desktop/src/main/core/execution-context/ssh-execution-context.test.ts
@@ -1,5 +1,5 @@
import { EventEmitter } from 'node:events';
-import { isTransportFailure } from '@switchdash/core/exec';
+import { isTransportFailure } from '@switch-console/core/exec';
import { describe, expect, it, vi } from 'vitest';
import type { RemoteShellProfile } from '@main/core/ssh/lifecycle/remote-shell-profile';
import { SshChannelTimeoutError } from '@main/core/ssh/lifecycle/ssh-channel-open-failure';
diff --git a/dash/apps/switchdash-desktop/src/main/core/execution-context/ssh-execution-context.ts b/dash/apps/switch-console-desktop/src/main/core/execution-context/ssh-execution-context.ts
similarity index 99%
rename from dash/apps/switchdash-desktop/src/main/core/execution-context/ssh-execution-context.ts
rename to dash/apps/switch-console-desktop/src/main/core/execution-context/ssh-execution-context.ts
index 69091f398..37667af9b 100644
--- a/dash/apps/switchdash-desktop/src/main/core/execution-context/ssh-execution-context.ts
+++ b/dash/apps/switch-console-desktop/src/main/core/execution-context/ssh-execution-context.ts
@@ -1,4 +1,4 @@
-import { TransportError } from '@switchdash/core/exec';
+import { TransportError } from '@switch-console/core/exec';
import {
buildRemoteShellCommand,
FALLBACK_REMOTE_SHELL_PROFILE,
diff --git a/dash/apps/switchdash-desktop/src/main/core/execution-context/types.ts b/dash/apps/switch-console-desktop/src/main/core/execution-context/types.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/main/core/execution-context/types.ts
rename to dash/apps/switch-console-desktop/src/main/core/execution-context/types.ts
diff --git a/dash/apps/switchdash-desktop/src/main/core/fs/assert-removed.ts b/dash/apps/switch-console-desktop/src/main/core/fs/assert-removed.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/main/core/fs/assert-removed.ts
rename to dash/apps/switch-console-desktop/src/main/core/fs/assert-removed.ts
diff --git a/dash/apps/switchdash-desktop/src/main/core/fs/controller.ts b/dash/apps/switch-console-desktop/src/main/core/fs/controller.ts
similarity index 97%
rename from dash/apps/switchdash-desktop/src/main/core/fs/controller.ts
rename to dash/apps/switch-console-desktop/src/main/core/fs/controller.ts
index 0d4a9d305..d3f10f9cd 100644
--- a/dash/apps/switchdash-desktop/src/main/core/fs/controller.ts
+++ b/dash/apps/switch-console-desktop/src/main/core/fs/controller.ts
@@ -1,4 +1,4 @@
-import { err, ok } from '@switchdash/shared';
+import { err, ok } from '@switch-console/shared';
import { resolveLocationRuntime } from '@main/core/locations/utils';
import { events } from '@main/lib/events';
import { fsWatchEventChannel } from '@shared/core/fs/fsEvents';
diff --git a/dash/apps/switchdash-desktop/src/main/core/fs/impl/local-fs.test.ts b/dash/apps/switch-console-desktop/src/main/core/fs/impl/local-fs.test.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/main/core/fs/impl/local-fs.test.ts
rename to dash/apps/switch-console-desktop/src/main/core/fs/impl/local-fs.test.ts
diff --git a/dash/apps/switchdash-desktop/src/main/core/fs/impl/local-fs.ts b/dash/apps/switch-console-desktop/src/main/core/fs/impl/local-fs.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/main/core/fs/impl/local-fs.ts
rename to dash/apps/switch-console-desktop/src/main/core/fs/impl/local-fs.ts
diff --git a/dash/apps/switchdash-desktop/src/main/core/fs/impl/ssh-fs.test.ts b/dash/apps/switch-console-desktop/src/main/core/fs/impl/ssh-fs.test.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/main/core/fs/impl/ssh-fs.test.ts
rename to dash/apps/switch-console-desktop/src/main/core/fs/impl/ssh-fs.test.ts
diff --git a/dash/apps/switchdash-desktop/src/main/core/fs/impl/ssh-fs.ts b/dash/apps/switch-console-desktop/src/main/core/fs/impl/ssh-fs.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/main/core/fs/impl/ssh-fs.ts
rename to dash/apps/switch-console-desktop/src/main/core/fs/impl/ssh-fs.ts
diff --git a/dash/apps/switchdash-desktop/src/main/core/fs/test-helpers/memory-fs.ts b/dash/apps/switch-console-desktop/src/main/core/fs/test-helpers/memory-fs.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/main/core/fs/test-helpers/memory-fs.ts
rename to dash/apps/switch-console-desktop/src/main/core/fs/test-helpers/memory-fs.ts
diff --git a/dash/apps/switchdash-desktop/src/main/core/fs/types.ts b/dash/apps/switch-console-desktop/src/main/core/fs/types.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/main/core/fs/types.ts
rename to dash/apps/switch-console-desktop/src/main/core/fs/types.ts
diff --git a/dash/apps/switchdash-desktop/src/main/core/locations/controller.ts b/dash/apps/switch-console-desktop/src/main/core/locations/controller.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/main/core/locations/controller.ts
rename to dash/apps/switch-console-desktop/src/main/core/locations/controller.ts
diff --git a/dash/apps/switchdash-desktop/src/main/core/locations/create-location-provider.ts b/dash/apps/switch-console-desktop/src/main/core/locations/create-location-provider.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/main/core/locations/create-location-provider.ts
rename to dash/apps/switch-console-desktop/src/main/core/locations/create-location-provider.ts
diff --git a/dash/apps/switchdash-desktop/src/main/core/locations/lifecycle-service.test.ts b/dash/apps/switch-console-desktop/src/main/core/locations/lifecycle-service.test.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/main/core/locations/lifecycle-service.test.ts
rename to dash/apps/switch-console-desktop/src/main/core/locations/lifecycle-service.test.ts
diff --git a/dash/apps/switchdash-desktop/src/main/core/locations/lifecycle-service.ts b/dash/apps/switch-console-desktop/src/main/core/locations/lifecycle-service.ts
similarity index 99%
rename from dash/apps/switchdash-desktop/src/main/core/locations/lifecycle-service.ts
rename to dash/apps/switch-console-desktop/src/main/core/locations/lifecycle-service.ts
index 7f94eb662..3aa5cee6d 100644
--- a/dash/apps/switchdash-desktop/src/main/core/locations/lifecycle-service.ts
+++ b/dash/apps/switch-console-desktop/src/main/core/locations/lifecycle-service.ts
@@ -1,4 +1,4 @@
-import type { IDisposable } from '@switchdash/shared';
+import type { IDisposable } from '@switch-console/shared';
import { makePtySessionId } from '@shared/core/pty/ptySessionId';
import { createLifecycleScriptTerminalId } from '@shared/core/terminals/terminals';
import type { Pty, PtyExitInfo } from '../pty/pty';
diff --git a/dash/apps/switchdash-desktop/src/main/core/locations/location-events.ts b/dash/apps/switch-console-desktop/src/main/core/locations/location-events.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/main/core/locations/location-events.ts
rename to dash/apps/switch-console-desktop/src/main/core/locations/location-events.ts
diff --git a/dash/apps/switchdash-desktop/src/main/core/locations/location-manager.ts b/dash/apps/switch-console-desktop/src/main/core/locations/location-manager.ts
similarity index 96%
rename from dash/apps/switchdash-desktop/src/main/core/locations/location-manager.ts
rename to dash/apps/switch-console-desktop/src/main/core/locations/location-manager.ts
index c85e2ffdb..3f1a26f26 100644
--- a/dash/apps/switchdash-desktop/src/main/core/locations/location-manager.ts
+++ b/dash/apps/switch-console-desktop/src/main/core/locations/location-manager.ts
@@ -1,5 +1,5 @@
-import { err, ok, type Result } from '@switchdash/shared';
-import type { IDisposable } from '@switchdash/shared';
+import { err, ok, type Result } from '@switch-console/shared';
+import type { IDisposable } from '@switch-console/shared';
import { HookCore, type Hookable } from '@main/lib/hookable';
import { LifecycleMap } from '@main/lib/lifecycle-map';
import { log } from '@main/lib/logger';
diff --git a/dash/apps/switchdash-desktop/src/main/core/locations/location-provider.ts b/dash/apps/switch-console-desktop/src/main/core/locations/location-provider.ts
similarity index 94%
rename from dash/apps/switchdash-desktop/src/main/core/locations/location-provider.ts
rename to dash/apps/switch-console-desktop/src/main/core/locations/location-provider.ts
index d7b3d3208..ee568367f 100644
--- a/dash/apps/switchdash-desktop/src/main/core/locations/location-provider.ts
+++ b/dash/apps/switch-console-desktop/src/main/core/locations/location-provider.ts
@@ -1,4 +1,4 @@
-import type { IDisposable } from '@switchdash/shared';
+import type { IDisposable } from '@switch-console/shared';
import type { IExecutionContext } from '@main/core/execution-context/types';
import type { FileSystemProvider } from '@main/core/fs/types';
import type { Location } from '@shared/core/locations/locations';
@@ -61,7 +61,7 @@ export class LocationProvider implements IDisposable {
const settings = await this.settings.get();
// Detach (don't terminate) when work should outlive the app: tmux sessions,
// and remote locations whose on-VM sidecar must keep listening to Switch
- // while switchdash is closed (CHOO-1059). Terminate only cleans up the
+ // while Switch Console is closed (CHOO-1059). Terminate only cleans up the
// local pane.
const mode = settings.tmux || this.transport.kind === 'ssh' ? 'detach' : 'terminate';
await sessionRuntimeManager.teardownAllForLocation(this.location.id, mode);
diff --git a/dash/apps/switchdash-desktop/src/main/core/locations/location-runtime-factory.test.ts b/dash/apps/switch-console-desktop/src/main/core/locations/location-runtime-factory.test.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/main/core/locations/location-runtime-factory.test.ts
rename to dash/apps/switch-console-desktop/src/main/core/locations/location-runtime-factory.test.ts
diff --git a/dash/apps/switchdash-desktop/src/main/core/locations/location-runtime-factory.ts b/dash/apps/switch-console-desktop/src/main/core/locations/location-runtime-factory.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/main/core/locations/location-runtime-factory.ts
rename to dash/apps/switch-console-desktop/src/main/core/locations/location-runtime-factory.ts
diff --git a/dash/apps/switchdash-desktop/src/main/core/locations/location-runtime-registry.test.ts b/dash/apps/switch-console-desktop/src/main/core/locations/location-runtime-registry.test.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/main/core/locations/location-runtime-registry.test.ts
rename to dash/apps/switch-console-desktop/src/main/core/locations/location-runtime-registry.test.ts
diff --git a/dash/apps/switchdash-desktop/src/main/core/locations/location-runtime-registry.ts b/dash/apps/switch-console-desktop/src/main/core/locations/location-runtime-registry.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/main/core/locations/location-runtime-registry.ts
rename to dash/apps/switch-console-desktop/src/main/core/locations/location-runtime-registry.ts
diff --git a/dash/apps/switchdash-desktop/src/main/core/locations/location-runtime-settings-controller.ts b/dash/apps/switch-console-desktop/src/main/core/locations/location-runtime-settings-controller.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/main/core/locations/location-runtime-settings-controller.ts
rename to dash/apps/switch-console-desktop/src/main/core/locations/location-runtime-settings-controller.ts
diff --git a/dash/apps/switchdash-desktop/src/main/core/locations/location-runtime.ts b/dash/apps/switch-console-desktop/src/main/core/locations/location-runtime.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/main/core/locations/location-runtime.ts
rename to dash/apps/switch-console-desktop/src/main/core/locations/location-runtime.ts
diff --git a/dash/apps/switchdash-desktop/src/main/core/locations/location-transport.ts b/dash/apps/switch-console-desktop/src/main/core/locations/location-transport.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/main/core/locations/location-transport.ts
rename to dash/apps/switch-console-desktop/src/main/core/locations/location-transport.ts
diff --git a/dash/apps/switchdash-desktop/src/main/core/locations/operations/inspect-location-path.ts b/dash/apps/switch-console-desktop/src/main/core/locations/operations/inspect-location-path.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/main/core/locations/operations/inspect-location-path.ts
rename to dash/apps/switch-console-desktop/src/main/core/locations/operations/inspect-location-path.ts
diff --git a/dash/apps/switchdash-desktop/src/main/core/locations/operations/open-location.ts b/dash/apps/switch-console-desktop/src/main/core/locations/operations/open-location.ts
similarity index 93%
rename from dash/apps/switchdash-desktop/src/main/core/locations/operations/open-location.ts
rename to dash/apps/switch-console-desktop/src/main/core/locations/operations/open-location.ts
index bc7c143cd..4c36d34ba 100644
--- a/dash/apps/switchdash-desktop/src/main/core/locations/operations/open-location.ts
+++ b/dash/apps/switch-console-desktop/src/main/core/locations/operations/open-location.ts
@@ -1,4 +1,4 @@
-import { err, ok, type Result } from '@switchdash/shared';
+import { err, ok, type Result } from '@switch-console/shared';
import { locationManager } from '@main/core/locations/location-manager';
import type { OpenLocationError } from '@shared/core/locations/locations';
import { checkIsValidDirectory } from '../path-utils';
diff --git a/dash/apps/switchdash-desktop/src/main/core/locations/path-utils.ts b/dash/apps/switch-console-desktop/src/main/core/locations/path-utils.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/main/core/locations/path-utils.ts
rename to dash/apps/switch-console-desktop/src/main/core/locations/path-utils.ts
diff --git a/dash/apps/switchdash-desktop/src/main/core/locations/session-env.ts b/dash/apps/switch-console-desktop/src/main/core/locations/session-env.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/main/core/locations/session-env.ts
rename to dash/apps/switch-console-desktop/src/main/core/locations/session-env.ts
diff --git a/dash/apps/switchdash-desktop/src/main/core/locations/settings/count-locations-using-github-account.db.test.ts b/dash/apps/switch-console-desktop/src/main/core/locations/settings/count-locations-using-github-account.db.test.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/main/core/locations/settings/count-locations-using-github-account.db.test.ts
rename to dash/apps/switch-console-desktop/src/main/core/locations/settings/count-locations-using-github-account.db.test.ts
diff --git a/dash/apps/switchdash-desktop/src/main/core/locations/settings/count-locations-using-github-account.ts b/dash/apps/switch-console-desktop/src/main/core/locations/settings/count-locations-using-github-account.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/main/core/locations/settings/count-locations-using-github-account.ts
rename to dash/apps/switch-console-desktop/src/main/core/locations/settings/count-locations-using-github-account.ts
diff --git a/dash/apps/switchdash-desktop/src/main/core/locations/settings/effective-session-settings.test.ts b/dash/apps/switch-console-desktop/src/main/core/locations/settings/effective-session-settings.test.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/main/core/locations/settings/effective-session-settings.test.ts
rename to dash/apps/switch-console-desktop/src/main/core/locations/settings/effective-session-settings.test.ts
diff --git a/dash/apps/switchdash-desktop/src/main/core/locations/settings/effective-session-settings.ts b/dash/apps/switch-console-desktop/src/main/core/locations/settings/effective-session-settings.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/main/core/locations/settings/effective-session-settings.ts
rename to dash/apps/switch-console-desktop/src/main/core/locations/settings/effective-session-settings.ts
diff --git a/dash/apps/switchdash-desktop/src/main/core/locations/settings/legacy-location-settings-migration.ts b/dash/apps/switch-console-desktop/src/main/core/locations/settings/legacy-location-settings-migration.ts
similarity index 98%
rename from dash/apps/switchdash-desktop/src/main/core/locations/settings/legacy-location-settings-migration.ts
rename to dash/apps/switch-console-desktop/src/main/core/locations/settings/legacy-location-settings-migration.ts
index 231a5aa7e..9ae600a8c 100644
--- a/dash/apps/switchdash-desktop/src/main/core/locations/settings/legacy-location-settings-migration.ts
+++ b/dash/apps/switch-console-desktop/src/main/core/locations/settings/legacy-location-settings-migration.ts
@@ -1,4 +1,4 @@
-import type { Result } from '@switchdash/shared';
+import type { Result } from '@switch-console/shared';
import type { FileSystemProvider } from '@main/core/fs/types';
import { log } from '@main/lib/logger';
import {
diff --git a/dash/apps/switchdash-desktop/src/main/core/locations/settings/legacy-shareable-migration-marker.ts b/dash/apps/switch-console-desktop/src/main/core/locations/settings/legacy-shareable-migration-marker.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/main/core/locations/settings/legacy-shareable-migration-marker.ts
rename to dash/apps/switch-console-desktop/src/main/core/locations/settings/legacy-shareable-migration-marker.ts
diff --git a/dash/apps/switchdash-desktop/src/main/core/locations/settings/location-settings-json.ts b/dash/apps/switch-console-desktop/src/main/core/locations/settings/location-settings-json.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/main/core/locations/settings/location-settings-json.ts
rename to dash/apps/switch-console-desktop/src/main/core/locations/settings/location-settings-json.ts
diff --git a/dash/apps/switchdash-desktop/src/main/core/locations/settings/location-settings-service.ts b/dash/apps/switch-console-desktop/src/main/core/locations/settings/location-settings-service.ts
similarity index 98%
rename from dash/apps/switchdash-desktop/src/main/core/locations/settings/location-settings-service.ts
rename to dash/apps/switch-console-desktop/src/main/core/locations/settings/location-settings-service.ts
index 85be92bb6..dc12c0bd1 100644
--- a/dash/apps/switchdash-desktop/src/main/core/locations/settings/location-settings-service.ts
+++ b/dash/apps/switch-console-desktop/src/main/core/locations/settings/location-settings-service.ts
@@ -1,5 +1,5 @@
-import { err, ok, type Result } from '@switchdash/shared';
-import type { IInitializable } from '@switchdash/shared';
+import { err, ok, type Result } from '@switch-console/shared';
+import type { IInitializable } from '@switch-console/shared';
import { events } from '@main/lib/events';
import { HookCore, type Hookable } from '@main/lib/hookable';
import { log } from '@main/lib/logger';
diff --git a/dash/apps/switchdash-desktop/src/main/core/locations/settings/location-settings-storage.ts b/dash/apps/switch-console-desktop/src/main/core/locations/settings/location-settings-storage.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/main/core/locations/settings/location-settings-storage.ts
rename to dash/apps/switch-console-desktop/src/main/core/locations/settings/location-settings-storage.ts
diff --git a/dash/apps/switchdash-desktop/src/main/core/locations/settings/location-settings.test.ts b/dash/apps/switch-console-desktop/src/main/core/locations/settings/location-settings.test.ts
similarity index 95%
rename from dash/apps/switchdash-desktop/src/main/core/locations/settings/location-settings.test.ts
rename to dash/apps/switch-console-desktop/src/main/core/locations/settings/location-settings.test.ts
index 828bb7266..2241a46e8 100644
--- a/dash/apps/switchdash-desktop/src/main/core/locations/settings/location-settings.test.ts
+++ b/dash/apps/switch-console-desktop/src/main/core/locations/settings/location-settings.test.ts
@@ -22,7 +22,7 @@ vi.mock('@main/core/settings/settings-service', () => ({
get: vi.fn().mockImplementation((key: string) => {
if (key === 'location') return Promise.resolve({ tmuxByDefault: false });
return Promise.resolve({
- defaultWorktreeDirectory: '/tmp/switchdash/worktrees',
+ defaultWorktreeDirectory: '/tmp/switch-console/worktrees',
});
}),
},
@@ -83,7 +83,7 @@ describe('LocationSettingsProvider worktreeDirectory validation', () => {
});
it('seeds default preserve patterns when the repo has no shared config', async () => {
- const rootPath = fs.mkdtempSync(path.join(os.tmpdir(), 'switchdash-settings-local-'));
+ const rootPath = fs.mkdtempSync(path.join(os.tmpdir(), 'switch-console-settings-local-'));
tempDirs.push(rootPath);
const provider = new LocalLocationSettingsProvider(locationId(), rootPath);
@@ -94,7 +94,7 @@ describe('LocationSettingsProvider worktreeDirectory validation', () => {
});
it('seeds default preserve patterns when shared config omits preservePatterns', async () => {
- const rootPath = fs.mkdtempSync(path.join(os.tmpdir(), 'switchdash-settings-local-'));
+ const rootPath = fs.mkdtempSync(path.join(os.tmpdir(), 'switch-console-settings-local-'));
tempDirs.push(rootPath);
fs.writeFileSync(
path.join(rootPath, '.switchdash.json'),
@@ -109,7 +109,7 @@ describe('LocationSettingsProvider worktreeDirectory validation', () => {
});
it('does not seed default preserve patterns when shared config defines preservePatterns', async () => {
- const rootPath = fs.mkdtempSync(path.join(os.tmpdir(), 'switchdash-settings-local-'));
+ const rootPath = fs.mkdtempSync(path.join(os.tmpdir(), 'switch-console-settings-local-'));
tempDirs.push(rootPath);
fs.writeFileSync(
path.join(rootPath, '.switchdash.json'),
@@ -122,7 +122,7 @@ describe('LocationSettingsProvider worktreeDirectory validation', () => {
});
it('migrates shareable settings from a local-only root config', async () => {
- const rootPath = fs.mkdtempSync(path.join(os.tmpdir(), 'switchdash-settings-local-'));
+ const rootPath = fs.mkdtempSync(path.join(os.tmpdir(), 'switch-console-settings-local-'));
tempDirs.push(rootPath);
fs.writeFileSync(
path.join(rootPath, '.switchdash.json'),
@@ -153,7 +153,7 @@ describe('LocationSettingsProvider worktreeDirectory validation', () => {
});
it('migrates local-only shareable settings for rows already base-migrated', async () => {
- const rootPath = fs.mkdtempSync(path.join(os.tmpdir(), 'switchdash-settings-local-'));
+ const rootPath = fs.mkdtempSync(path.join(os.tmpdir(), 'switch-console-settings-local-'));
tempDirs.push(rootPath);
fs.writeFileSync(
path.join(rootPath, '.switchdash.json'),
@@ -197,7 +197,7 @@ describe('LocationSettingsProvider worktreeDirectory validation', () => {
});
it('keeps cleanly tracked shareable settings file-backed', async () => {
- const rootPath = fs.mkdtempSync(path.join(os.tmpdir(), 'switchdash-settings-local-'));
+ const rootPath = fs.mkdtempSync(path.join(os.tmpdir(), 'switch-console-settings-local-'));
tempDirs.push(rootPath);
fs.writeFileSync(
path.join(rootPath, '.switchdash.json'),
@@ -222,18 +222,20 @@ describe('LocationSettingsProvider worktreeDirectory validation', () => {
});
it('does not seed computed worktreeDirectory into location settings', async () => {
- const rootPath = fs.mkdtempSync(path.join(os.tmpdir(), 'switchdash-settings-local-'));
+ const rootPath = fs.mkdtempSync(path.join(os.tmpdir(), 'switch-console-settings-local-'));
tempDirs.push(rootPath);
const provider = new LocalLocationSettingsProvider(locationId(), rootPath);
await expect(provider.get()).resolves.not.toHaveProperty('worktreeDirectory');
- await expect(provider.getDefaultWorktreeDirectory()).resolves.toBe('/tmp/switchdash/worktrees');
- await expect(provider.getWorktreeDirectory()).resolves.toBe('/tmp/switchdash/worktrees');
+ await expect(provider.getDefaultWorktreeDirectory()).resolves.toBe(
+ '/tmp/switch-console/worktrees'
+ );
+ await expect(provider.getWorktreeDirectory()).resolves.toBe('/tmp/switch-console/worktrees');
});
it('keeps computed worktreeDirectory default separate from configured overrides', async () => {
- const rootPath = fs.mkdtempSync(path.join(os.tmpdir(), 'switchdash-settings-local-'));
+ const rootPath = fs.mkdtempSync(path.join(os.tmpdir(), 'switch-console-settings-local-'));
tempDirs.push(rootPath);
const provider = new LocalLocationSettingsProvider(locationId(), rootPath);
const expectedOverridePath = path.resolve(rootPath, 'worktrees');
@@ -245,12 +247,14 @@ describe('LocationSettingsProvider worktreeDirectory validation', () => {
const expectedOverride = fs.realpathSync(expectedOverridePath);
await expect(provider.get()).resolves.toMatchObject({ worktreeDirectory: expectedOverride });
- await expect(provider.getDefaultWorktreeDirectory()).resolves.toBe('/tmp/switchdash/worktrees');
+ await expect(provider.getDefaultWorktreeDirectory()).resolves.toBe(
+ '/tmp/switch-console/worktrees'
+ );
await expect(provider.getWorktreeDirectory()).resolves.toBe(expectedOverride);
});
it('stores the selected GitHub account as base location settings', async () => {
- const rootPath = fs.mkdtempSync(path.join(os.tmpdir(), 'switchdash-settings-local-'));
+ const rootPath = fs.mkdtempSync(path.join(os.tmpdir(), 'switch-console-settings-local-'));
tempDirs.push(rootPath);
const provider = new LocalLocationSettingsProvider(locationId(), rootPath);
@@ -264,7 +268,7 @@ describe('LocationSettingsProvider worktreeDirectory validation', () => {
});
it('stores null GitHub account selection as an explicit location override', async () => {
- const rootPath = fs.mkdtempSync(path.join(os.tmpdir(), 'switchdash-settings-local-'));
+ const rootPath = fs.mkdtempSync(path.join(os.tmpdir(), 'switch-console-settings-local-'));
tempDirs.push(rootPath);
const provider = new LocalLocationSettingsProvider(locationId(), rootPath);
@@ -278,7 +282,7 @@ describe('LocationSettingsProvider worktreeDirectory validation', () => {
});
it('patches the selected GitHub account without replacing other base settings', async () => {
- const rootPath = fs.mkdtempSync(path.join(os.tmpdir(), 'switchdash-settings-local-'));
+ const rootPath = fs.mkdtempSync(path.join(os.tmpdir(), 'switch-console-settings-local-'));
tempDirs.push(rootPath);
const row = {
baseSettingsJson: JSON.stringify({
@@ -314,7 +318,7 @@ describe('LocationSettingsProvider worktreeDirectory validation', () => {
});
it('retries legacy config migration after a failed attempt', async () => {
- const rootPath = fs.mkdtempSync(path.join(os.tmpdir(), 'switchdash-settings-local-'));
+ const rootPath = fs.mkdtempSync(path.join(os.tmpdir(), 'switch-console-settings-local-'));
tempDirs.push(rootPath);
const row = {
baseSettingsJson: '{}',
@@ -342,7 +346,7 @@ describe('LocationSettingsProvider worktreeDirectory validation', () => {
});
it('clears shareable fields without validating base settings', async () => {
- const rootPath = fs.mkdtempSync(path.join(os.tmpdir(), 'switchdash-settings-local-'));
+ const rootPath = fs.mkdtempSync(path.join(os.tmpdir(), 'switch-console-settings-local-'));
tempDirs.push(rootPath);
const row = {
baseSettingsJson: JSON.stringify({
@@ -380,7 +384,7 @@ describe('LocationSettingsProvider worktreeDirectory validation', () => {
});
it('normalizes and canonicalizes local absolute worktreeDirectory on update', async () => {
- const rootPath = fs.mkdtempSync(path.join(os.tmpdir(), 'switchdash-settings-local-'));
+ const rootPath = fs.mkdtempSync(path.join(os.tmpdir(), 'switch-console-settings-local-'));
tempDirs.push(rootPath);
const provider = new LocalLocationSettingsProvider(locationId(), rootPath);
@@ -396,7 +400,7 @@ describe('LocationSettingsProvider worktreeDirectory validation', () => {
});
it('rejects local relative worktreeDirectory values', async () => {
- const rootPath = fs.mkdtempSync(path.join(os.tmpdir(), 'switchdash-settings-local-'));
+ const rootPath = fs.mkdtempSync(path.join(os.tmpdir(), 'switch-console-settings-local-'));
tempDirs.push(rootPath);
const provider = new LocalLocationSettingsProvider(locationId(), rootPath);
@@ -409,7 +413,7 @@ describe('LocationSettingsProvider worktreeDirectory validation', () => {
});
it('rejects foreign absolute worktreeDirectory values for local locations', async () => {
- const rootPath = fs.mkdtempSync(path.join(os.tmpdir(), 'switchdash-settings-local-'));
+ const rootPath = fs.mkdtempSync(path.join(os.tmpdir(), 'switch-console-settings-local-'));
tempDirs.push(rootPath);
const provider = new LocalLocationSettingsProvider(locationId(), rootPath);
@@ -423,7 +427,7 @@ describe('LocationSettingsProvider worktreeDirectory validation', () => {
});
it('surfaces local worktreeDirectory validation errors', async () => {
- const rootPath = fs.mkdtempSync(path.join(os.tmpdir(), 'switchdash-settings-local-'));
+ const rootPath = fs.mkdtempSync(path.join(os.tmpdir(), 'switch-console-settings-local-'));
tempDirs.push(rootPath);
fs.writeFileSync(path.join(rootPath, 'not-a-directory'), 'file');
@@ -439,7 +443,7 @@ describe('LocationSettingsProvider worktreeDirectory validation', () => {
});
it('clears blank local worktreeDirectory values', async () => {
- const rootPath = fs.mkdtempSync(path.join(os.tmpdir(), 'switchdash-settings-local-'));
+ const rootPath = fs.mkdtempSync(path.join(os.tmpdir(), 'switch-console-settings-local-'));
tempDirs.push(rootPath);
const provider = new LocalLocationSettingsProvider(locationId(), rootPath);
diff --git a/dash/apps/switchdash-desktop/src/main/core/locations/settings/provider.ts b/dash/apps/switch-console-desktop/src/main/core/locations/settings/provider.ts
similarity index 92%
rename from dash/apps/switchdash-desktop/src/main/core/locations/settings/provider.ts
rename to dash/apps/switch-console-desktop/src/main/core/locations/settings/provider.ts
index 4b2f68359..8d2bc4352 100644
--- a/dash/apps/switchdash-desktop/src/main/core/locations/settings/provider.ts
+++ b/dash/apps/switch-console-desktop/src/main/core/locations/settings/provider.ts
@@ -1,4 +1,4 @@
-import type { Result } from '@switchdash/shared';
+import type { Result } from '@switch-console/shared';
import type {
LocationSettings,
LocationSettingsPatch,
diff --git a/dash/apps/switchdash-desktop/src/main/core/locations/settings/providers/db-location-settings-provider.ts b/dash/apps/switch-console-desktop/src/main/core/locations/settings/providers/db-location-settings-provider.ts
similarity index 98%
rename from dash/apps/switchdash-desktop/src/main/core/locations/settings/providers/db-location-settings-provider.ts
rename to dash/apps/switch-console-desktop/src/main/core/locations/settings/providers/db-location-settings-provider.ts
index a34ddd87f..17e145aac 100644
--- a/dash/apps/switchdash-desktop/src/main/core/locations/settings/providers/db-location-settings-provider.ts
+++ b/dash/apps/switch-console-desktop/src/main/core/locations/settings/providers/db-location-settings-provider.ts
@@ -1,4 +1,4 @@
-import { err, ok, type Result } from '@switchdash/shared';
+import { err, ok, type Result } from '@switch-console/shared';
import type { FileSystemProvider } from '@main/core/fs/types';
import { appSettingsService } from '@main/core/settings/settings-service';
import { log } from '@main/lib/logger';
@@ -22,7 +22,7 @@ import { serializeShareableLocationSettings } from '../legacy-shareable-migratio
import { compactUndefined, parseJsonObject, readJson } from '../location-settings-json';
import { LocationSettingsRepository } from '../location-settings-storage';
import type { LocationSettingsPatch, LocationSettingsProvider } from '../provider';
-import { CONFIG_FILE } from '../sharing/switchdash-config-file';
+import { CONFIG_FILE } from '../sharing/switch-console-config-file';
export type DbLocationSettingsProviderOptions = {
git?: LocationSettingsGitInspector;
diff --git a/dash/apps/switchdash-desktop/src/main/core/locations/settings/providers/local-location-settings-provider.ts b/dash/apps/switch-console-desktop/src/main/core/locations/settings/providers/local-location-settings-provider.ts
similarity index 97%
rename from dash/apps/switchdash-desktop/src/main/core/locations/settings/providers/local-location-settings-provider.ts
rename to dash/apps/switch-console-desktop/src/main/core/locations/settings/providers/local-location-settings-provider.ts
index b60710b6a..4c15adf51 100644
--- a/dash/apps/switchdash-desktop/src/main/core/locations/settings/providers/local-location-settings-provider.ts
+++ b/dash/apps/switch-console-desktop/src/main/core/locations/settings/providers/local-location-settings-provider.ts
@@ -1,7 +1,7 @@
import fs from 'node:fs';
import os from 'node:os';
import path from 'node:path';
-import type { Result } from '@switchdash/shared';
+import type { Result } from '@switch-console/shared';
import { appSettingsService } from '@main/core/settings/settings-service';
import type { UpdateLocationSettingsError } from '@shared/core/locations/locations';
import {
diff --git a/dash/apps/switchdash-desktop/src/main/core/locations/settings/providers/remote-location-settings-provider.ts b/dash/apps/switch-console-desktop/src/main/core/locations/settings/providers/remote-location-settings-provider.ts
similarity index 90%
rename from dash/apps/switchdash-desktop/src/main/core/locations/settings/providers/remote-location-settings-provider.ts
rename to dash/apps/switch-console-desktop/src/main/core/locations/settings/providers/remote-location-settings-provider.ts
index 0612efab5..c5e4587cd 100644
--- a/dash/apps/switchdash-desktop/src/main/core/locations/settings/providers/remote-location-settings-provider.ts
+++ b/dash/apps/switch-console-desktop/src/main/core/locations/settings/providers/remote-location-settings-provider.ts
@@ -1,5 +1,5 @@
import { posix as pathPosix } from 'node:path';
-import { ok, type Result } from '@switchdash/shared';
+import { ok, type Result } from '@switch-console/shared';
import type { FileSystemProvider } from '@main/core/fs/types';
import type { UpdateLocationSettingsError } from '@shared/core/locations/locations';
import {
@@ -10,7 +10,7 @@ import {
/**
* DB-backed location settings for a remote (SSH) agent. Its working directory
* lives on the host, so there is no local path to read/validate; the config
- * reader is backed by the SSH filesystem. switchdash runs every session in the
+ * reader is backed by the SSH filesystem. Switch Console runs every session in the
* remote working dir (no worktrees), so worktree-directory handling is a no-op.
*/
export class RemoteLocationSettingsProvider extends DbLocationSettingsProvider {
diff --git a/dash/apps/switchdash-desktop/src/main/core/locations/settings/sharing/codex-config-migration.ts b/dash/apps/switch-console-desktop/src/main/core/locations/settings/sharing/codex-config-migration.ts
similarity index 97%
rename from dash/apps/switchdash-desktop/src/main/core/locations/settings/sharing/codex-config-migration.ts
rename to dash/apps/switch-console-desktop/src/main/core/locations/settings/sharing/codex-config-migration.ts
index a25c0b5fa..ebd92320f 100644
--- a/dash/apps/switchdash-desktop/src/main/core/locations/settings/sharing/codex-config-migration.ts
+++ b/dash/apps/switch-console-desktop/src/main/core/locations/settings/sharing/codex-config-migration.ts
@@ -1,4 +1,4 @@
-import { err, ok, type Result } from '@switchdash/shared';
+import { err, ok, type Result } from '@switch-console/shared';
import * as toml from 'smol-toml';
import z from 'zod';
import type { FileSystemProvider } from '@main/core/fs/types';
@@ -13,7 +13,7 @@ import { mergeShareableLocationSettings } from '@shared/core/location-settings/l
import type { UpdateLocationSettingsError } from '@shared/core/locations/locations';
import type { LocationProvider } from '../../location-provider';
import type { LocationConfigMigrator } from './config-migration';
-import { CONFIG_FILE } from './switchdash-config-file';
+import { CONFIG_FILE } from './switch-console-config-file';
const CODEX_ENVIRONMENT_FILE = '.codex/environments/environment.toml';
diff --git a/dash/apps/switchdash-desktop/src/main/core/locations/settings/sharing/conductor-config-migration.ts b/dash/apps/switch-console-desktop/src/main/core/locations/settings/sharing/conductor-config-migration.ts
similarity index 97%
rename from dash/apps/switchdash-desktop/src/main/core/locations/settings/sharing/conductor-config-migration.ts
rename to dash/apps/switch-console-desktop/src/main/core/locations/settings/sharing/conductor-config-migration.ts
index 920292a0c..b5e788bf1 100644
--- a/dash/apps/switchdash-desktop/src/main/core/locations/settings/sharing/conductor-config-migration.ts
+++ b/dash/apps/switch-console-desktop/src/main/core/locations/settings/sharing/conductor-config-migration.ts
@@ -1,4 +1,4 @@
-import { err, ok, type Result } from '@switchdash/shared';
+import { err, ok, type Result } from '@switch-console/shared';
import z from 'zod';
import type { FileSystemProvider } from '@main/core/fs/types';
import { log } from '@main/lib/logger';
@@ -13,7 +13,7 @@ import type { UpdateLocationSettingsError } from '@shared/core/locations/locatio
import type { LocationProvider } from '../../location-provider';
import { parseJsonObject } from '../location-settings-json';
import type { LocationConfigMigrator } from './config-migration';
-import { CONFIG_FILE } from './switchdash-config-file';
+import { CONFIG_FILE } from './switch-console-config-file';
const CONDUCTOR_CONFIG_FILE = 'conductor.json';
const CONDUCTOR_WORKTREE_INCLUDE_FILE = '.worktreeinclude';
diff --git a/dash/apps/switchdash-desktop/src/main/core/locations/settings/sharing/config-migration.test.ts b/dash/apps/switch-console-desktop/src/main/core/locations/settings/sharing/config-migration.test.ts
similarity index 99%
rename from dash/apps/switchdash-desktop/src/main/core/locations/settings/sharing/config-migration.test.ts
rename to dash/apps/switch-console-desktop/src/main/core/locations/settings/sharing/config-migration.test.ts
index 0e7d59949..f8f630c1f 100644
--- a/dash/apps/switchdash-desktop/src/main/core/locations/settings/sharing/config-migration.test.ts
+++ b/dash/apps/switch-console-desktop/src/main/core/locations/settings/sharing/config-migration.test.ts
@@ -439,7 +439,7 @@ describe('config migration', () => {
const fs = createFs({
'.codex/environments/environment.toml': `
version = 1
- name = "switchdash"
+ name = "switch-console"
[setup]
script = """
diff --git a/dash/apps/switchdash-desktop/src/main/core/locations/settings/sharing/config-migration.ts b/dash/apps/switch-console-desktop/src/main/core/locations/settings/sharing/config-migration.ts
similarity index 95%
rename from dash/apps/switchdash-desktop/src/main/core/locations/settings/sharing/config-migration.ts
rename to dash/apps/switch-console-desktop/src/main/core/locations/settings/sharing/config-migration.ts
index 7ce96b17b..db34098b2 100644
--- a/dash/apps/switchdash-desktop/src/main/core/locations/settings/sharing/config-migration.ts
+++ b/dash/apps/switch-console-desktop/src/main/core/locations/settings/sharing/config-migration.ts
@@ -1,4 +1,4 @@
-import { err, type Result } from '@switchdash/shared';
+import { err, type Result } from '@switch-console/shared';
import type { FileSystemProvider } from '@main/core/fs/types';
import { log } from '@main/lib/logger';
import type {
@@ -11,7 +11,7 @@ import { codexConfigMigrator } from './codex-config-migration';
import { conductorConfigMigrator } from './conductor-config-migration';
import { paseoConfigMigrator } from './paseo-config-migration';
import { supersetConfigMigrator } from './superset-config-migration';
-import { CONFIG_FILE } from './switchdash-config-file';
+import { CONFIG_FILE } from './switch-console-config-file';
export type LocationConfigMigrator = {
provider: LocationConfigMigration['provider'];
diff --git a/dash/apps/switchdash-desktop/src/main/core/locations/settings/sharing/location-settings-override-state.ts b/dash/apps/switch-console-desktop/src/main/core/locations/settings/sharing/location-settings-override-state.ts
similarity index 95%
rename from dash/apps/switchdash-desktop/src/main/core/locations/settings/sharing/location-settings-override-state.ts
rename to dash/apps/switch-console-desktop/src/main/core/locations/settings/sharing/location-settings-override-state.ts
index 4b67c6a47..7f61cb3e9 100644
--- a/dash/apps/switchdash-desktop/src/main/core/locations/settings/sharing/location-settings-override-state.ts
+++ b/dash/apps/switch-console-desktop/src/main/core/locations/settings/sharing/location-settings-override-state.ts
@@ -7,7 +7,7 @@ import {
} from '@shared/core/location-settings/location-settings';
import { SHAREABLE_FIELD_ACCESSORS } from '@shared/core/location-settings/location-settings-fields';
import type { LocationSettingsResolvedTarget } from './location-settings-target-resolver';
-import { CONFIG_FILE } from './switchdash-config-file';
+import { CONFIG_FILE } from './switch-console-config-file';
export async function computeLocationSettingsOverrideState(
targets: LocationSettingsResolvedTarget[]
diff --git a/dash/apps/switchdash-desktop/src/main/core/locations/settings/sharing/location-settings-target-resolver.ts b/dash/apps/switch-console-desktop/src/main/core/locations/settings/sharing/location-settings-target-resolver.ts
similarity index 97%
rename from dash/apps/switchdash-desktop/src/main/core/locations/settings/sharing/location-settings-target-resolver.ts
rename to dash/apps/switch-console-desktop/src/main/core/locations/settings/sharing/location-settings-target-resolver.ts
index d095560c2..3c353fcd7 100644
--- a/dash/apps/switchdash-desktop/src/main/core/locations/settings/sharing/location-settings-target-resolver.ts
+++ b/dash/apps/switch-console-desktop/src/main/core/locations/settings/sharing/location-settings-target-resolver.ts
@@ -48,7 +48,7 @@ export async function resolveAllLocationSettingsTargets(
path: location.dir,
fs: location.fs,
};
- // Every switchdash session runs in the location root, so there are no
+ // Every Switch Console session runs in the location root, so there are no
// session-scoped settings targets distinct from the location target.
return [locationTarget];
}
diff --git a/dash/apps/switchdash-desktop/src/main/core/locations/settings/sharing/paseo-config-migration.ts b/dash/apps/switch-console-desktop/src/main/core/locations/settings/sharing/paseo-config-migration.ts
similarity index 98%
rename from dash/apps/switchdash-desktop/src/main/core/locations/settings/sharing/paseo-config-migration.ts
rename to dash/apps/switch-console-desktop/src/main/core/locations/settings/sharing/paseo-config-migration.ts
index 750b70274..a4bfafaa2 100644
--- a/dash/apps/switchdash-desktop/src/main/core/locations/settings/sharing/paseo-config-migration.ts
+++ b/dash/apps/switch-console-desktop/src/main/core/locations/settings/sharing/paseo-config-migration.ts
@@ -1,4 +1,4 @@
-import { err, ok, type Result } from '@switchdash/shared';
+import { err, ok, type Result } from '@switch-console/shared';
import z from 'zod';
import type { FileSystemProvider } from '@main/core/fs/types';
import { log } from '@main/lib/logger';
@@ -13,7 +13,7 @@ import type { UpdateLocationSettingsError } from '@shared/core/locations/locatio
import type { LocationProvider } from '../../location-provider';
import { parseJsonObject } from '../location-settings-json';
import type { LocationConfigMigrator } from './config-migration';
-import { CONFIG_FILE } from './switchdash-config-file';
+import { CONFIG_FILE } from './switch-console-config-file';
const PASEO_CONFIG_FILE = 'paseo.json';
diff --git a/dash/apps/switchdash-desktop/src/main/core/locations/settings/sharing/share-location-settings-to-config.test.ts b/dash/apps/switch-console-desktop/src/main/core/locations/settings/sharing/share-location-settings-to-config.test.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/main/core/locations/settings/sharing/share-location-settings-to-config.test.ts
rename to dash/apps/switch-console-desktop/src/main/core/locations/settings/sharing/share-location-settings-to-config.test.ts
diff --git a/dash/apps/switchdash-desktop/src/main/core/locations/settings/sharing/share-location-settings-to-config.ts b/dash/apps/switch-console-desktop/src/main/core/locations/settings/sharing/share-location-settings-to-config.ts
similarity index 93%
rename from dash/apps/switchdash-desktop/src/main/core/locations/settings/sharing/share-location-settings-to-config.ts
rename to dash/apps/switch-console-desktop/src/main/core/locations/settings/sharing/share-location-settings-to-config.ts
index 8f1a46b79..95fc34713 100644
--- a/dash/apps/switchdash-desktop/src/main/core/locations/settings/sharing/share-location-settings-to-config.ts
+++ b/dash/apps/switch-console-desktop/src/main/core/locations/settings/sharing/share-location-settings-to-config.ts
@@ -1,4 +1,4 @@
-import { err, ok, type Result } from '@switchdash/shared';
+import { err, ok, type Result } from '@switch-console/shared';
import { log } from '@main/lib/logger';
import type { WriteLocationConfigRequest } from '@shared/core/location-settings/location-settings';
import type { UpdateLocationSettingsError } from '@shared/core/locations/locations';
@@ -9,9 +9,9 @@ import {
} from './location-settings-target-resolver';
import {
CONFIG_FILE,
- parseSwitchdashConfigObject,
+ parseSwitchConsoleConfigObject,
patchShareableLocationSettingsFields,
-} from './switchdash-config-file';
+} from './switch-console-config-file';
function writeConfigFailed(message: string): Result<void, UpdateLocationSettingsError> {
return err({ type: 'write-config-failed', message });
@@ -37,7 +37,7 @@ export async function shareLocationSettingsToConfig(
try {
if (await target.fs.exists(CONFIG_FILE)) {
const { content } = await target.fs.read(CONFIG_FILE);
- config = parseSwitchdashConfigObject(content);
+ config = parseSwitchConsoleConfigObject(content);
} else {
config = {};
}
diff --git a/dash/apps/switchdash-desktop/src/main/core/locations/settings/sharing/superset-config-migration.ts b/dash/apps/switch-console-desktop/src/main/core/locations/settings/sharing/superset-config-migration.ts
similarity index 97%
rename from dash/apps/switchdash-desktop/src/main/core/locations/settings/sharing/superset-config-migration.ts
rename to dash/apps/switch-console-desktop/src/main/core/locations/settings/sharing/superset-config-migration.ts
index 9acf46298..3f63d4edf 100644
--- a/dash/apps/switchdash-desktop/src/main/core/locations/settings/sharing/superset-config-migration.ts
+++ b/dash/apps/switch-console-desktop/src/main/core/locations/settings/sharing/superset-config-migration.ts
@@ -1,4 +1,4 @@
-import { err, ok, type Result } from '@switchdash/shared';
+import { err, ok, type Result } from '@switch-console/shared';
import z from 'zod';
import type { FileSystemProvider } from '@main/core/fs/types';
import { log } from '@main/lib/logger';
@@ -13,7 +13,7 @@ import type { UpdateLocationSettingsError } from '@shared/core/locations/locatio
import type { LocationProvider } from '../../location-provider';
import { parseJsonObject } from '../location-settings-json';
import type { LocationConfigMigrator } from './config-migration';
-import { CONFIG_FILE } from './switchdash-config-file';
+import { CONFIG_FILE } from './switch-console-config-file';
const SUPERSET_CONFIG_FILE = '.superset/config.json';
diff --git a/dash/apps/switchdash-desktop/src/main/core/locations/settings/sharing/switchdash-config-file.ts b/dash/apps/switch-console-desktop/src/main/core/locations/settings/sharing/switch-console-config-file.ts
similarity index 93%
rename from dash/apps/switchdash-desktop/src/main/core/locations/settings/sharing/switchdash-config-file.ts
rename to dash/apps/switch-console-desktop/src/main/core/locations/settings/sharing/switch-console-config-file.ts
index 7b4ae1d1a..6c25b6529 100644
--- a/dash/apps/switchdash-desktop/src/main/core/locations/settings/sharing/switchdash-config-file.ts
+++ b/dash/apps/switch-console-desktop/src/main/core/locations/settings/sharing/switch-console-config-file.ts
@@ -7,7 +7,7 @@ import { parseJsonObject } from '../location-settings-json';
export const CONFIG_FILE = '.switchdash.json';
-export function parseSwitchdashConfigObject(raw: string): Record<string, unknown> {
+export function parseSwitchConsoleConfigObject(raw: string): Record<string, unknown> {
return parseJsonObject(raw) as Record<string, unknown>;
}
diff --git a/dash/apps/switchdash-desktop/src/main/core/locations/settings/worktree-directory.test.ts b/dash/apps/switch-console-desktop/src/main/core/locations/settings/worktree-directory.test.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/main/core/locations/settings/worktree-directory.test.ts
rename to dash/apps/switch-console-desktop/src/main/core/locations/settings/worktree-directory.test.ts
diff --git a/dash/apps/switchdash-desktop/src/main/core/locations/settings/worktree-directory.ts b/dash/apps/switch-console-desktop/src/main/core/locations/settings/worktree-directory.ts
similarity index 97%
rename from dash/apps/switchdash-desktop/src/main/core/locations/settings/worktree-directory.ts
rename to dash/apps/switch-console-desktop/src/main/core/locations/settings/worktree-directory.ts
index 513fe26ef..ad7a1e2ea 100644
--- a/dash/apps/switchdash-desktop/src/main/core/locations/settings/worktree-directory.ts
+++ b/dash/apps/switch-console-desktop/src/main/core/locations/settings/worktree-directory.ts
@@ -1,5 +1,5 @@
import type path from 'node:path';
-import { err, ok, type Result } from '@switchdash/shared';
+import { err, ok, type Result } from '@switch-console/shared';
import type { FileSystemProvider } from '@main/core/fs/types';
import type { UpdateLocationSettingsError } from '@shared/core/locations/locations';
diff --git a/dash/apps/switchdash-desktop/src/main/core/locations/store.ts b/dash/apps/switch-console-desktop/src/main/core/locations/store.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/main/core/locations/store.ts
rename to dash/apps/switch-console-desktop/src/main/core/locations/store.ts
diff --git a/dash/apps/switchdash-desktop/src/main/core/locations/utils.ts b/dash/apps/switch-console-desktop/src/main/core/locations/utils.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/main/core/locations/utils.ts
rename to dash/apps/switch-console-desktop/src/main/core/locations/utils.ts
diff --git a/dash/apps/switchdash-desktop/src/main/core/managed-switch-server/bundled-compose.ts b/dash/apps/switch-console-desktop/src/main/core/managed-switch-server/bundled-compose.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/main/core/managed-switch-server/bundled-compose.ts
rename to dash/apps/switch-console-desktop/src/main/core/managed-switch-server/bundled-compose.ts
diff --git a/dash/apps/switchdash-desktop/src/main/core/managed-switch-server/compose.ts b/dash/apps/switch-console-desktop/src/main/core/managed-switch-server/compose.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/main/core/managed-switch-server/compose.ts
rename to dash/apps/switch-console-desktop/src/main/core/managed-switch-server/compose.ts
diff --git a/dash/apps/switchdash-desktop/src/main/core/managed-switch-server/constants.ts b/dash/apps/switch-console-desktop/src/main/core/managed-switch-server/constants.ts
similarity index 94%
rename from dash/apps/switchdash-desktop/src/main/core/managed-switch-server/constants.ts
rename to dash/apps/switch-console-desktop/src/main/core/managed-switch-server/constants.ts
index c0df785a6..35202083d 100644
--- a/dash/apps/switchdash-desktop/src/main/core/managed-switch-server/constants.ts
+++ b/dash/apps/switch-console-desktop/src/main/core/managed-switch-server/constants.ts
@@ -4,7 +4,7 @@ import { USER_DATA_DIR_NAME } from '@shared/app-identity';
* Fixed coordinates for the managed local stack. These mirror the ports and
* hosts baked into the bundled standalone compose (resources/…pinned.yml): the
* compose file is the contract, and these constants are how the rest of
- * switchdash addresses the resulting server.
+ * Switch Console addresses the resulting server.
*/
/**
@@ -43,7 +43,7 @@ export const LOCAL_SERVER_NAME = 'Local Switch server';
// stack never collides with a dev's existing services. Resolve them via
// gatewayUrlFor()/apiUrlFor() from the persisted port set.
-/** Compose profiles switchdash enables: `collab` (Mattermost bridge + seeder) so
+/** Compose profiles Switch Console enables: `collab` (Mattermost bridge + seeder) so
* the stack has a working collaboration bridge, and `gateway` so the operator
* web dashboard is available. */
export const LOCAL_SERVER_PROFILES = ['collab', 'gateway'] as const;
@@ -52,7 +52,7 @@ export const LOCAL_SERVER_PROFILES = ['collab', 'gateway'] as const;
* (CHOO-1260); used for the authenticated `docker login` before pulling. */
export const GHCR_REGISTRY = 'ghcr.io';
-/** The gateway admin account the stack seeds (GATEWAY_ADMIN_EMAIL). switchdash
+/** The gateway admin account the stack seeds (GATEWAY_ADMIN_EMAIL). Switch Console
* generates its password, so it also auto-signs-in with these on start rather
* than making the user type a secret they never saw. */
export const LOCAL_SERVER_ADMIN_EMAIL = '[email protected]';
@@ -71,5 +71,5 @@ export const LOCAL_SERVER_MATTERMOST_TEAM = 'switch';
/** The human account the stack's seeder creates (MATTERMOST_USER), paired with
* the generated `mattermostUserPassword`. Three places depend on it being the
* name the seeder actually used — the generated env, the embed's silent login,
- * and the sign-in switchdash shows the user — so it is named once here. */
+ * and the sign-in Switch Console shows the user — so it is named once here. */
export const LOCAL_SERVER_MATTERMOST_USER = 'user';
diff --git a/dash/apps/switchdash-desktop/src/main/core/managed-switch-server/controller.ts b/dash/apps/switch-console-desktop/src/main/core/managed-switch-server/controller.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/main/core/managed-switch-server/controller.ts
rename to dash/apps/switch-console-desktop/src/main/core/managed-switch-server/controller.ts
diff --git a/dash/apps/switchdash-desktop/src/main/core/managed-switch-server/deployed-version.test.ts b/dash/apps/switch-console-desktop/src/main/core/managed-switch-server/deployed-version.test.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/main/core/managed-switch-server/deployed-version.test.ts
rename to dash/apps/switch-console-desktop/src/main/core/managed-switch-server/deployed-version.test.ts
diff --git a/dash/apps/switchdash-desktop/src/main/core/managed-switch-server/deployed-version.ts b/dash/apps/switch-console-desktop/src/main/core/managed-switch-server/deployed-version.ts
similarity index 99%
rename from dash/apps/switchdash-desktop/src/main/core/managed-switch-server/deployed-version.ts
rename to dash/apps/switch-console-desktop/src/main/core/managed-switch-server/deployed-version.ts
index 132988811..2b5961756 100644
--- a/dash/apps/switchdash-desktop/src/main/core/managed-switch-server/deployed-version.ts
+++ b/dash/apps/switch-console-desktop/src/main/core/managed-switch-server/deployed-version.ts
@@ -11,7 +11,7 @@ import type { ServerHost } from './host/types';
/**
* What switch-core version a managed stack is actually deployed at.
*
- * The `COMPATIBLE_SWITCH_VERSION` pin only says what THIS build of switchdash
+ * The `COMPATIBLE_SWITCH_VERSION` pin only says what THIS build of Switch Console
* wants; it is written into the `.env` at every start. Answering
* "did the app's pin move underneath a stack that is already up?" needs the
* other side of the comparison, read back off the host.
diff --git a/dash/apps/switchdash-desktop/src/main/core/managed-switch-server/docker.test.ts b/dash/apps/switch-console-desktop/src/main/core/managed-switch-server/docker.test.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/main/core/managed-switch-server/docker.test.ts
rename to dash/apps/switch-console-desktop/src/main/core/managed-switch-server/docker.test.ts
diff --git a/dash/apps/switchdash-desktop/src/main/core/managed-switch-server/docker.ts b/dash/apps/switch-console-desktop/src/main/core/managed-switch-server/docker.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/main/core/managed-switch-server/docker.ts
rename to dash/apps/switch-console-desktop/src/main/core/managed-switch-server/docker.ts
diff --git a/dash/apps/switchdash-desktop/src/main/core/managed-switch-server/env-file.test.ts b/dash/apps/switch-console-desktop/src/main/core/managed-switch-server/env-file.test.ts
similarity index 98%
rename from dash/apps/switchdash-desktop/src/main/core/managed-switch-server/env-file.test.ts
rename to dash/apps/switch-console-desktop/src/main/core/managed-switch-server/env-file.test.ts
index 66697895e..8078980cd 100644
--- a/dash/apps/switchdash-desktop/src/main/core/managed-switch-server/env-file.test.ts
+++ b/dash/apps/switch-console-desktop/src/main/core/managed-switch-server/env-file.test.ts
@@ -16,7 +16,7 @@ const secrets: LocalServerSecrets = {
mattermostUserPassword: 'mm-user',
};
-/** The compose file switchdash writes beside the `.env`, and whose `${VAR}`
+/** The compose file Switch Console writes beside the `.env`, and whose `${VAR}`
* interpolations the `.env` has to satisfy. */
const composeYaml = readFileSync(
join(dirname(fileURLToPath(import.meta.url)), 'resources/standalone-docker-compose.pinned.yml'),
diff --git a/dash/apps/switchdash-desktop/src/main/core/managed-switch-server/env-file.ts b/dash/apps/switch-console-desktop/src/main/core/managed-switch-server/env-file.ts
similarity index 99%
rename from dash/apps/switchdash-desktop/src/main/core/managed-switch-server/env-file.ts
rename to dash/apps/switch-console-desktop/src/main/core/managed-switch-server/env-file.ts
index 1bae1641a..9207a999b 100644
--- a/dash/apps/switchdash-desktop/src/main/core/managed-switch-server/env-file.ts
+++ b/dash/apps/switch-console-desktop/src/main/core/managed-switch-server/env-file.ts
@@ -61,7 +61,7 @@ export function buildEnvFile(params: LocalServerEnvParams): string {
// deeplink as dead text, so switch-core rewrites it to point at its own
// `/deeplink/session`, which 302s back to the deeplink — but only when this
// is set. It is the API origin, not the operator UI's: the redirect route is
- // served on the agent-bridge app, and this must match the `server` switchdash
+ // served on the agent-bridge app, and this must match the `server` Switch Console
// reports in the deeplink it is rewriting.
`GATEWAY_PUBLIC_URL=${apiUrlFor(ports)}`,
'',
diff --git a/dash/apps/switchdash-desktop/src/main/core/managed-switch-server/free-port.test.ts b/dash/apps/switch-console-desktop/src/main/core/managed-switch-server/free-port.test.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/main/core/managed-switch-server/free-port.test.ts
rename to dash/apps/switch-console-desktop/src/main/core/managed-switch-server/free-port.test.ts
diff --git a/dash/apps/switchdash-desktop/src/main/core/managed-switch-server/free-port.ts b/dash/apps/switch-console-desktop/src/main/core/managed-switch-server/free-port.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/main/core/managed-switch-server/free-port.ts
rename to dash/apps/switch-console-desktop/src/main/core/managed-switch-server/free-port.ts
diff --git a/dash/apps/switchdash-desktop/src/main/core/managed-switch-server/ghcr-auth.ts b/dash/apps/switch-console-desktop/src/main/core/managed-switch-server/ghcr-auth.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/main/core/managed-switch-server/ghcr-auth.ts
rename to dash/apps/switch-console-desktop/src/main/core/managed-switch-server/ghcr-auth.ts
diff --git a/dash/apps/switchdash-desktop/src/main/core/managed-switch-server/health.ts b/dash/apps/switch-console-desktop/src/main/core/managed-switch-server/health.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/main/core/managed-switch-server/health.ts
rename to dash/apps/switch-console-desktop/src/main/core/managed-switch-server/health.ts
diff --git a/dash/apps/switchdash-desktop/src/main/core/managed-switch-server/host/host-for-server.test.ts b/dash/apps/switch-console-desktop/src/main/core/managed-switch-server/host/host-for-server.test.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/main/core/managed-switch-server/host/host-for-server.test.ts
rename to dash/apps/switch-console-desktop/src/main/core/managed-switch-server/host/host-for-server.test.ts
diff --git a/dash/apps/switchdash-desktop/src/main/core/managed-switch-server/host/host-for-server.ts b/dash/apps/switch-console-desktop/src/main/core/managed-switch-server/host/host-for-server.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/main/core/managed-switch-server/host/host-for-server.ts
rename to dash/apps/switch-console-desktop/src/main/core/managed-switch-server/host/host-for-server.ts
diff --git a/dash/apps/switchdash-desktop/src/main/core/managed-switch-server/host/local-host.ts b/dash/apps/switch-console-desktop/src/main/core/managed-switch-server/host/local-host.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/main/core/managed-switch-server/host/local-host.ts
rename to dash/apps/switch-console-desktop/src/main/core/managed-switch-server/host/local-host.ts
diff --git a/dash/apps/switchdash-desktop/src/main/core/managed-switch-server/host/port-forward.ts b/dash/apps/switch-console-desktop/src/main/core/managed-switch-server/host/port-forward.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/main/core/managed-switch-server/host/port-forward.ts
rename to dash/apps/switch-console-desktop/src/main/core/managed-switch-server/host/port-forward.ts
diff --git a/dash/apps/switchdash-desktop/src/main/core/managed-switch-server/host/remote-free-port.ts b/dash/apps/switch-console-desktop/src/main/core/managed-switch-server/host/remote-free-port.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/main/core/managed-switch-server/host/remote-free-port.ts
rename to dash/apps/switch-console-desktop/src/main/core/managed-switch-server/host/remote-free-port.ts
diff --git a/dash/apps/switchdash-desktop/src/main/core/managed-switch-server/host/remote-ghcr-auth.ts b/dash/apps/switch-console-desktop/src/main/core/managed-switch-server/host/remote-ghcr-auth.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/main/core/managed-switch-server/host/remote-ghcr-auth.ts
rename to dash/apps/switch-console-desktop/src/main/core/managed-switch-server/host/remote-ghcr-auth.ts
diff --git a/dash/apps/switchdash-desktop/src/main/core/managed-switch-server/host/remote-host.ts b/dash/apps/switch-console-desktop/src/main/core/managed-switch-server/host/remote-host.ts
similarity index 99%
rename from dash/apps/switchdash-desktop/src/main/core/managed-switch-server/host/remote-host.ts
rename to dash/apps/switch-console-desktop/src/main/core/managed-switch-server/host/remote-host.ts
index 925b63dbb..f85c79181 100644
--- a/dash/apps/switchdash-desktop/src/main/core/managed-switch-server/host/remote-host.ts
+++ b/dash/apps/switch-console-desktop/src/main/core/managed-switch-server/host/remote-host.ts
@@ -33,7 +33,7 @@ type RemoteHostDeps = {
};
/**
- * A switchdash-managed Switch stack running on a remote host's Docker daemon
+ * A Switch Console-managed Switch stack running on a remote host's Docker daemon
* over SSH. Commands run via `SshExecutionContext` (a login shell `cd`'d into
* the working dir); files are written over SFTP; ports are chosen free on both
* loopbacks and bridged with a persistent mirrored forward so the desktop and
diff --git a/dash/apps/switchdash-desktop/src/main/core/managed-switch-server/host/remote-identity.test.ts b/dash/apps/switch-console-desktop/src/main/core/managed-switch-server/host/remote-identity.test.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/main/core/managed-switch-server/host/remote-identity.test.ts
rename to dash/apps/switch-console-desktop/src/main/core/managed-switch-server/host/remote-identity.test.ts
diff --git a/dash/apps/switchdash-desktop/src/main/core/managed-switch-server/host/remote-identity.ts b/dash/apps/switch-console-desktop/src/main/core/managed-switch-server/host/remote-identity.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/main/core/managed-switch-server/host/remote-identity.ts
rename to dash/apps/switch-console-desktop/src/main/core/managed-switch-server/host/remote-identity.ts
diff --git a/dash/apps/switchdash-desktop/src/main/core/managed-switch-server/host/types.ts b/dash/apps/switch-console-desktop/src/main/core/managed-switch-server/host/types.ts
similarity index 96%
rename from dash/apps/switchdash-desktop/src/main/core/managed-switch-server/host/types.ts
rename to dash/apps/switch-console-desktop/src/main/core/managed-switch-server/host/types.ts
index 6785d69f6..bd4915f3f 100644
--- a/dash/apps/switchdash-desktop/src/main/core/managed-switch-server/host/types.ts
+++ b/dash/apps/switch-console-desktop/src/main/core/managed-switch-server/host/types.ts
@@ -3,7 +3,7 @@ import type { DockerAvailability } from '@shared/core/managed-switch-server/mana
import type { LocalServerPorts } from '../free-port';
/**
- * A host that runs a switchdash-managed Switch stack via `docker compose`.
+ * A host that runs a Switch Console-managed Switch stack via `docker compose`.
*
* Abstracts everything that differs between the local Docker daemon and a
* remote host's daemon reached over SSH, so the compose pipeline
@@ -37,7 +37,7 @@ export interface ServerHost {
/** Directory on the host holding the compose file + generated `.env`. */
readonly workingDir: string;
- /** Local (desktop) directory where switchdash persists this host's own
+ /** Local (desktop) directory where Switch Console persists this host's own
* metadata — the chosen port set (`ports.json`). Equals {@link workingDir}
* for the local host; a per-host dir under user-data for a remote host, since
* its working dir lives on the remote machine. */
diff --git a/dash/apps/switchdash-desktop/src/main/core/managed-switch-server/local-server-service.ts b/dash/apps/switch-console-desktop/src/main/core/managed-switch-server/local-server-service.ts
similarity index 98%
rename from dash/apps/switchdash-desktop/src/main/core/managed-switch-server/local-server-service.ts
rename to dash/apps/switch-console-desktop/src/main/core/managed-switch-server/local-server-service.ts
index d5aac8bf8..107909c89 100644
--- a/dash/apps/switchdash-desktop/src/main/core/managed-switch-server/local-server-service.ts
+++ b/dash/apps/switch-console-desktop/src/main/core/managed-switch-server/local-server-service.ts
@@ -27,7 +27,7 @@ import { resetStack, startStack, stopStack } from './pipeline';
* `localServerStatusChannel`.
*
* Deliberately does NOT stop the containers on app quit — the local stack keeps
- * running so its rooms stay live while switchdash is closed, matching the remote
+ * running so its rooms stay live while Switch Console is closed, matching the remote
* sidecar model. `dispose()` only aborts an in-flight health wait.
*/
class LocalServerService {
diff --git a/dash/apps/switchdash-desktop/src/main/core/managed-switch-server/managed-server-status.test.ts b/dash/apps/switch-console-desktop/src/main/core/managed-switch-server/managed-server-status.test.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/main/core/managed-switch-server/managed-server-status.test.ts
rename to dash/apps/switch-console-desktop/src/main/core/managed-switch-server/managed-server-status.test.ts
diff --git a/dash/apps/switchdash-desktop/src/main/core/managed-switch-server/managed-server-status.ts b/dash/apps/switch-console-desktop/src/main/core/managed-switch-server/managed-server-status.ts
similarity index 97%
rename from dash/apps/switchdash-desktop/src/main/core/managed-switch-server/managed-server-status.ts
rename to dash/apps/switch-console-desktop/src/main/core/managed-switch-server/managed-server-status.ts
index 4c4fe42de..f724f08d4 100644
--- a/dash/apps/switchdash-desktop/src/main/core/managed-switch-server/managed-server-status.ts
+++ b/dash/apps/switch-console-desktop/src/main/core/managed-switch-server/managed-server-status.ts
@@ -6,7 +6,7 @@ import { localServerService } from './local-server-service';
import { remoteServerService } from './remote-server-service';
/**
- * Whether a switchdash-managed server's stack is currently running — i.e. its
+ * Whether a Switch Console-managed server's stack is currently running — i.e. its
* lifecycle phase is `running`. Routes to the right supervisor the same way
* {@link managedServerSecretsKey} does: a remote-managed server reads its
* per-host status; everything else (local, or a legacy managed row with a null
diff --git a/dash/apps/switchdash-desktop/src/main/core/managed-switch-server/paths.ts b/dash/apps/switch-console-desktop/src/main/core/managed-switch-server/paths.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/main/core/managed-switch-server/paths.ts
rename to dash/apps/switch-console-desktop/src/main/core/managed-switch-server/paths.ts
diff --git a/dash/apps/switchdash-desktop/src/main/core/managed-switch-server/pipeline.test.ts b/dash/apps/switch-console-desktop/src/main/core/managed-switch-server/pipeline.test.ts
similarity index 99%
rename from dash/apps/switchdash-desktop/src/main/core/managed-switch-server/pipeline.test.ts
rename to dash/apps/switch-console-desktop/src/main/core/managed-switch-server/pipeline.test.ts
index df43f6fd5..b23468a90 100644
--- a/dash/apps/switchdash-desktop/src/main/core/managed-switch-server/pipeline.test.ts
+++ b/dash/apps/switch-console-desktop/src/main/core/managed-switch-server/pipeline.test.ts
@@ -100,7 +100,7 @@ describe('startStack version guard', () => {
});
// Nothing on the host may be touched: the existing `.env` still names the
// version the stack was last started with, so the refusal is recoverable
- // just by reinstalling the newer switchdash.
+ // just by reinstalling the newer Switch Console.
expect(writeFile).not.toHaveBeenCalled();
expect(composeUpMock).not.toHaveBeenCalled();
expect(logError).toHaveBeenCalledOnce();
diff --git a/dash/apps/switchdash-desktop/src/main/core/managed-switch-server/pipeline.ts b/dash/apps/switch-console-desktop/src/main/core/managed-switch-server/pipeline.ts
similarity index 96%
rename from dash/apps/switchdash-desktop/src/main/core/managed-switch-server/pipeline.ts
rename to dash/apps/switch-console-desktop/src/main/core/managed-switch-server/pipeline.ts
index 13c61efeb..2b7c919ef 100644
--- a/dash/apps/switchdash-desktop/src/main/core/managed-switch-server/pipeline.ts
+++ b/dash/apps/switch-console-desktop/src/main/core/managed-switch-server/pipeline.ts
@@ -22,7 +22,7 @@ import { clearPorts, resolvePorts } from './ports';
import { clearSecrets, loadOrCreateSecrets } from './secrets';
/**
- * The transport-agnostic lifecycle for a switchdash-managed Switch stack, run
+ * The transport-agnostic lifecycle for a Switch Console-managed Switch stack, run
* against a {@link ServerHost}. Shared by the local-server service (a single
* local host) and the remote-server service (one host per SSH alias); each wraps
* these with its own phase/status bookkeeping.
@@ -45,12 +45,12 @@ export type StartStackOptions = {
/**
* Refuse to point an existing stack at an OLDER switch-core than it already
* runs. switch-core migrates its database forward at startup and Alembic has no
- * downgrade path, so rolling switchdash back would hand an old core a schema it
+ * downgrade path, so rolling Switch Console back would hand an old core a schema it
* cannot read — silent, and only discovered once the data is already stuck.
*
* Runs before anything is written: the `.env` still names the version the stack
* was last started with, so a refused start leaves the host exactly as it was
- * and re-installing the newer switchdash is enough to recover.
+ * and re-installing the newer Switch Console is enough to recover.
*
* This blocks the PROVABLE downgrade only. Two cases pass through, and both are
* now said out loud rather than passing in silence (CHOO-1865):
@@ -154,7 +154,7 @@ export async function startStack(opts: StartStackOptions): Promise<StartLocalSer
const server = await ensureManagedServer({ name: serverName, gatewayUrl, apiUrl }, ref);
await setActiveServerId(server.id);
- // switchdash generated the admin password, so sign in on the user's behalf
+ // Switch Console generated the admin password, so sign in on the user's behalf
// rather than showing a login wall for a secret they never saw. A failure here
// does not fail the start — the stack is healthy; the server view falls back
// to its sign-in panel.
diff --git a/dash/apps/switchdash-desktop/src/main/core/managed-switch-server/ports.ts b/dash/apps/switch-console-desktop/src/main/core/managed-switch-server/ports.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/main/core/managed-switch-server/ports.ts
rename to dash/apps/switch-console-desktop/src/main/core/managed-switch-server/ports.ts
diff --git a/dash/apps/switchdash-desktop/src/main/core/managed-switch-server/remote-controller.ts b/dash/apps/switch-console-desktop/src/main/core/managed-switch-server/remote-controller.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/main/core/managed-switch-server/remote-controller.ts
rename to dash/apps/switch-console-desktop/src/main/core/managed-switch-server/remote-controller.ts
diff --git a/dash/apps/switchdash-desktop/src/main/core/managed-switch-server/remote-server-service.ts b/dash/apps/switch-console-desktop/src/main/core/managed-switch-server/remote-server-service.ts
similarity index 98%
rename from dash/apps/switchdash-desktop/src/main/core/managed-switch-server/remote-server-service.ts
rename to dash/apps/switch-console-desktop/src/main/core/managed-switch-server/remote-server-service.ts
index dd2cc71b5..966a35fdb 100644
--- a/dash/apps/switchdash-desktop/src/main/core/managed-switch-server/remote-server-service.ts
+++ b/dash/apps/switch-console-desktop/src/main/core/managed-switch-server/remote-server-service.ts
@@ -38,13 +38,13 @@ function initialStatus(sshHost: string): RemoteServerStatus {
}
/**
- * Supervises switchdash-managed Switch stacks on remote hosts (one per SSH
+ * Supervises Switch Console-managed Switch stacks on remote hosts (one per SSH
* alias), via the shared {@link startStack} pipeline on a {@link
* RemoteServerHost}. Unlike the local service, a started host is KEPT ALIVE in
* `hosts` because it owns the persistent port-forward that makes the stack
* reachable from the desktop; it is disposed only on stop/reset/quit. The
* containers themselves run detached, so a remote stack (and its remote-host
- * agents) stays up while switchdash is closed — only the desktop-side forward
+ * agents) stays up while Switch Console is closed — only the desktop-side forward
* goes away.
*/
class RemoteServerService {
diff --git a/dash/apps/switchdash-desktop/src/main/core/managed-switch-server/resources/standalone-docker-compose.pinned.yml b/dash/apps/switch-console-desktop/src/main/core/managed-switch-server/resources/standalone-docker-compose.pinned.yml
similarity index 96%
rename from dash/apps/switchdash-desktop/src/main/core/managed-switch-server/resources/standalone-docker-compose.pinned.yml
rename to dash/apps/switch-console-desktop/src/main/core/managed-switch-server/resources/standalone-docker-compose.pinned.yml
index 4068086f8..b071b9ad7 100644
--- a/dash/apps/switchdash-desktop/src/main/core/managed-switch-server/resources/standalone-docker-compose.pinned.yml
+++ b/dash/apps/switch-console-desktop/src/main/core/managed-switch-server/resources/standalone-docker-compose.pinned.yml
@@ -8,7 +8,7 @@
# Standalone all-in-one Switch stack, running published GHCR images.
#
# This file is a VERSIONED CONTRACT: service names, profiles, and the env vars
-# below are the interface switchdash (and any other consumer) pins against. It
+# below are the interface Switch Console (and any other consumer) pins against. It
# is itself published to GHCR as an OCI artifact per `switch-v*` release, tagged
# with the same version as the images. Change the interface deliberately.
#
@@ -32,10 +32,10 @@
# or misspelt env var silently floated the whole stack to whatever had most
# recently been published — a different switch-core on every `up`, with nothing
# to say so. Compose now refuses to start rather than pick a version nobody
-# asked for (CHOO-1865). `.env.example` sets it, and switchdash writes it.
+# asked for (CHOO-1865). `.env.example` sets it, and Switch Console writes it.
# What this compose artifact speaks on the `stack-compose` contract, which is
-# what switchdash's local-server mode pins against (CHOO-1865). The version this
+# what Switch Console's local-server mode pins against (CHOO-1865). The version this
# file is published under says which release it is; this says what it speaks.
# Compose ignores `x-` keys.
x-switch-contract:
@@ -103,7 +103,7 @@ services:
TUWUNEL_MAX_REQUEST_SIZE: "20000000"
mattermost:
- # Pinned rather than `latest`: switchdash embeds this Mattermost's web UI
+ # Pinned rather than `latest`: Switch Console embeds this Mattermost's web UI
# and depends on its DOM structure, so an unattended upgrade could break
# the embedded room view on a `docker compose pull` no one initiated.
image: mattermost/mattermost-team-edition:11.9.0
diff --git a/dash/apps/switchdash-desktop/src/main/core/managed-switch-server/secret-values.ts b/dash/apps/switch-console-desktop/src/main/core/managed-switch-server/secret-values.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/main/core/managed-switch-server/secret-values.ts
rename to dash/apps/switch-console-desktop/src/main/core/managed-switch-server/secret-values.ts
diff --git a/dash/apps/switchdash-desktop/src/main/core/managed-switch-server/secrets.test.ts b/dash/apps/switch-console-desktop/src/main/core/managed-switch-server/secrets.test.ts
similarity index 64%
rename from dash/apps/switchdash-desktop/src/main/core/managed-switch-server/secrets.test.ts
rename to dash/apps/switch-console-desktop/src/main/core/managed-switch-server/secrets.test.ts
index 545b730ae..e7658f0ed 100644
--- a/dash/apps/switchdash-desktop/src/main/core/managed-switch-server/secrets.test.ts
+++ b/dash/apps/switch-console-desktop/src/main/core/managed-switch-server/secrets.test.ts
@@ -4,14 +4,21 @@ import { generateSecrets } from './secret-values';
const getSecret = vi.fn();
const setSecret = vi.fn();
+class FakeUndecryptableSecretError extends Error {
+ constructor(readonly key: string) {
+ super(`Stored secret '${key}' exists but could not be decrypted.`);
+ }
+}
+
vi.mock('@main/core/secrets/encrypted-app-secrets-store', () => ({
encryptedAppSecretsStore: {
getSecret: (...args: unknown[]) => getSecret(...args),
setSecret: (...args: unknown[]) => setSecret(...args),
},
+ UndecryptableSecretError: FakeUndecryptableSecretError,
}));
-const { loadOrCreateSecrets } = await import('./secrets');
+const { loadOrCreateSecrets, readSecrets } = await import('./secrets');
describe('generateSecrets', () => {
it('populates every field with a non-empty value', () => {
@@ -63,12 +70,35 @@ describe('loadOrCreateSecrets', () => {
expect(setSecret).not.toHaveBeenCalled();
});
- it('propagates a decryption failure rather than treating it as absent', async () => {
- getSecret.mockRejectedValue(new Error("Stored secret 'host-a' could not be decrypted."));
+ it('refuses to mint replacements when the stored bundle cannot be decrypted', async () => {
+ getSecret.mockRejectedValue(new FakeUndecryptableSecretError('host-a'));
await expect(loadOrCreateSecrets({ secretsKey: 'host-a' })).rejects.toThrow(
- /could not be decrypted/
+ /credentials for this managed server are unreadable/
);
expect(setSecret).not.toHaveBeenCalled();
});
+
+ it('lets an unrelated storage failure through untouched', async () => {
+ getSecret.mockRejectedValue(new Error('database is locked'));
+
+ await expect(loadOrCreateSecrets({ secretsKey: 'host-a' })).rejects.toThrow(
+ /database is locked/
+ );
+ expect(setSecret).not.toHaveBeenCalled();
+ });
+});
+
+describe('readSecrets', () => {
+ beforeEach(() => {
+ getSecret.mockReset();
+ setSecret.mockReset();
+ });
+
+ it('shows nothing rather than throwing when the bundle cannot be decrypted', async () => {
+ getSecret.mockRejectedValue(new FakeUndecryptableSecretError('host-a'));
+
+ await expect(readSecrets({ secretsKey: 'host-a' })).resolves.toBeNull();
+ expect(setSecret).not.toHaveBeenCalled();
+ });
});
diff --git a/dash/apps/switchdash-desktop/src/main/core/managed-switch-server/secrets.ts b/dash/apps/switch-console-desktop/src/main/core/managed-switch-server/secrets.ts
similarity index 88%
rename from dash/apps/switchdash-desktop/src/main/core/managed-switch-server/secrets.ts
rename to dash/apps/switch-console-desktop/src/main/core/managed-switch-server/secrets.ts
index 0af8f9927..b56619f0b 100644
--- a/dash/apps/switchdash-desktop/src/main/core/managed-switch-server/secrets.ts
+++ b/dash/apps/switch-console-desktop/src/main/core/managed-switch-server/secrets.ts
@@ -1,4 +1,7 @@
-import { encryptedAppSecretsStore } from '@main/core/secrets/encrypted-app-secrets-store';
+import {
+ encryptedAppSecretsStore,
+ UndecryptableSecretError,
+} from '@main/core/secrets/encrypted-app-secrets-store';
import type { ServerHost } from './host/types';
import { generateSecrets, type LocalServerSecrets } from './secret-values';
@@ -13,7 +16,13 @@ type StoredSecrets =
| { kind: 'unreadable'; cause: unknown };
async function readStoredSecrets(host: Pick<ServerHost, 'secretsKey'>): Promise<StoredSecrets> {
- const existing = await encryptedAppSecretsStore.getSecret(host.secretsKey);
+ let existing: string | null;
+ try {
+ existing = await encryptedAppSecretsStore.getSecret(host.secretsKey);
+ } catch (cause) {
+ if (!(cause instanceof UndecryptableSecretError)) throw cause;
+ return { kind: 'unreadable', cause };
+ }
if (!existing) return { kind: 'missing' };
try {
return { kind: 'present', secrets: JSON.parse(existing) as LocalServerSecrets };
diff --git a/dash/apps/switchdash-desktop/src/main/core/prompt-library/controller.ts b/dash/apps/switch-console-desktop/src/main/core/prompt-library/controller.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/main/core/prompt-library/controller.ts
rename to dash/apps/switch-console-desktop/src/main/core/prompt-library/controller.ts
diff --git a/dash/apps/switchdash-desktop/src/main/core/prompt-library/service.ts b/dash/apps/switch-console-desktop/src/main/core/prompt-library/service.ts
similarity index 98%
rename from dash/apps/switchdash-desktop/src/main/core/prompt-library/service.ts
rename to dash/apps/switch-console-desktop/src/main/core/prompt-library/service.ts
index 875d15123..99024d57d 100644
--- a/dash/apps/switchdash-desktop/src/main/core/prompt-library/service.ts
+++ b/dash/apps/switch-console-desktop/src/main/core/prompt-library/service.ts
@@ -1,4 +1,4 @@
-import type { IInitializable } from '@switchdash/shared';
+import type { IInitializable } from '@switch-console/shared';
import { eq } from 'drizzle-orm';
import { db } from '@main/db/client';
import { KV } from '@main/db/kv';
diff --git a/dash/apps/switchdash-desktop/src/main/core/providers/agent-payload-builder.test.ts b/dash/apps/switch-console-desktop/src/main/core/providers/agent-payload-builder.test.ts
similarity index 96%
rename from dash/apps/switchdash-desktop/src/main/core/providers/agent-payload-builder.test.ts
rename to dash/apps/switch-console-desktop/src/main/core/providers/agent-payload-builder.test.ts
index 12ad5d447..f3b0b6ccc 100644
--- a/dash/apps/switchdash-desktop/src/main/core/providers/agent-payload-builder.test.ts
+++ b/dash/apps/switch-console-desktop/src/main/core/providers/agent-payload-builder.test.ts
@@ -1,8 +1,8 @@
-import type { CLIAgentPluginProvider } from '@switchdash/core/agents/plugins';
-import type { DependencyState } from '@switchdash/core/deps/runtime';
+import type { CLIAgentPluginProvider } from '@switch-console/core/agents/plugins';
+import type { DependencyState } from '@switch-console/core/deps/runtime';
import { describe, expect, it, vi } from 'vitest';
-vi.mock('@switchdash/plugins/agents', () => ({
+vi.mock('@switch-console/plugins/agents', () => ({
pluginRegistry: {
get: vi.fn(),
getAll: vi.fn().mockReturnValue([]),
diff --git a/dash/apps/switchdash-desktop/src/main/core/providers/agent-payload-builder.ts b/dash/apps/switch-console-desktop/src/main/core/providers/agent-payload-builder.ts
similarity index 95%
rename from dash/apps/switchdash-desktop/src/main/core/providers/agent-payload-builder.ts
rename to dash/apps/switch-console-desktop/src/main/core/providers/agent-payload-builder.ts
index 3326b1587..8bd3eb1e0 100644
--- a/dash/apps/switchdash-desktop/src/main/core/providers/agent-payload-builder.ts
+++ b/dash/apps/switch-console-desktop/src/main/core/providers/agent-payload-builder.ts
@@ -1,18 +1,18 @@
-import type { CLIAgentPluginProvider } from '@switchdash/core/agents/plugins';
-import type { Platform } from '@switchdash/core/deps';
+import type { CLIAgentPluginProvider } from '@switch-console/core/agents/plugins';
+import type { Platform } from '@switch-console/core/deps';
import {
deriveHostDependencyStatus,
resolveActiveInstallation,
resolveInstallOptions,
sourceKey,
toPlatform,
-} from '@switchdash/core/deps/runtime';
+} from '@switch-console/core/deps/runtime';
import type {
DependencyId,
DependencyState,
HostDependency,
HostDependencyManager,
-} from '@switchdash/core/deps/runtime';
+} from '@switch-console/core/deps/runtime';
import type {
AgentInstallationStatus,
AgentMetadata,
diff --git a/dash/apps/switchdash-desktop/src/main/core/providers/controller.ts b/dash/apps/switch-console-desktop/src/main/core/providers/controller.ts
similarity index 98%
rename from dash/apps/switchdash-desktop/src/main/core/providers/controller.ts
rename to dash/apps/switch-console-desktop/src/main/core/providers/controller.ts
index 0d89bece7..91b68bb52 100644
--- a/dash/apps/switchdash-desktop/src/main/core/providers/controller.ts
+++ b/dash/apps/switch-console-desktop/src/main/core/providers/controller.ts
@@ -1,10 +1,10 @@
-import type { InstallMethod } from '@switchdash/core/deps';
+import type { InstallMethod } from '@switch-console/core/deps';
import type {
DependencyId,
DependencyProbeOptions,
HostDependencySelection,
InstallOverride,
-} from '@switchdash/core/deps/runtime';
+} from '@switch-console/core/deps/runtime';
import type { ProviderCustomConfig } from '@shared/core/app-settings';
import type { AgentProviderId } from '@shared/core/providers/agent-provider-registry';
import { createRPCController } from '@shared/lib/ipc/rpc';
diff --git a/dash/apps/switchdash-desktop/src/main/core/providers/plugin-fs.test.ts b/dash/apps/switch-console-desktop/src/main/core/providers/plugin-fs.test.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/main/core/providers/plugin-fs.test.ts
rename to dash/apps/switch-console-desktop/src/main/core/providers/plugin-fs.test.ts
diff --git a/dash/apps/switchdash-desktop/src/main/core/providers/plugin-fs.ts b/dash/apps/switch-console-desktop/src/main/core/providers/plugin-fs.ts
similarity index 97%
rename from dash/apps/switchdash-desktop/src/main/core/providers/plugin-fs.ts
rename to dash/apps/switch-console-desktop/src/main/core/providers/plugin-fs.ts
index f8de3fe9d..70394ac7b 100644
--- a/dash/apps/switchdash-desktop/src/main/core/providers/plugin-fs.ts
+++ b/dash/apps/switch-console-desktop/src/main/core/providers/plugin-fs.ts
@@ -1,6 +1,6 @@
import { promises as fs } from 'node:fs';
import { dirname, join, resolve, sep } from 'node:path';
-import type { PluginFs } from '@switchdash/core/agents/plugins';
+import type { PluginFs } from '@switch-console/core/agents/plugins';
/**
* Create a CLIAgentPluginFs scoped to a given root directory.
diff --git a/dash/apps/switchdash-desktop/src/main/core/providers/plugin-registry.ts b/dash/apps/switch-console-desktop/src/main/core/providers/plugin-registry.ts
similarity index 89%
rename from dash/apps/switchdash-desktop/src/main/core/providers/plugin-registry.ts
rename to dash/apps/switch-console-desktop/src/main/core/providers/plugin-registry.ts
index 20a1a7102..078877ace 100644
--- a/dash/apps/switchdash-desktop/src/main/core/providers/plugin-registry.ts
+++ b/dash/apps/switch-console-desktop/src/main/core/providers/plugin-registry.ts
@@ -1,8 +1,8 @@
import type {
CLIAgentPluginMetadata,
CLIAgentPluginProvider,
-} from '@switchdash/core/agents/plugins';
-import { pluginRegistry } from '@switchdash/plugins/agents';
+} from '@switch-console/core/agents/plugins';
+import { pluginRegistry } from '@switch-console/plugins/agents';
import { AGENT_PROVIDER_IDS } from '@shared/core/providers/agent-provider-registry';
// Assert plugin ids match the canonical AGENT_PROVIDER_IDS list at startup.
diff --git a/dash/apps/switchdash-desktop/src/main/core/providers/provider-argv-parity.test.ts b/dash/apps/switch-console-desktop/src/main/core/providers/provider-argv-parity.test.ts
similarity index 94%
rename from dash/apps/switchdash-desktop/src/main/core/providers/provider-argv-parity.test.ts
rename to dash/apps/switch-console-desktop/src/main/core/providers/provider-argv-parity.test.ts
index 146e9a21d..076fd52ea 100644
--- a/dash/apps/switchdash-desktop/src/main/core/providers/provider-argv-parity.test.ts
+++ b/dash/apps/switch-console-desktop/src/main/core/providers/provider-argv-parity.test.ts
@@ -1,4 +1,4 @@
-import { pluginRegistry } from '@switchdash/plugins/agents';
+import { pluginRegistry } from '@switch-console/plugins/agents';
import { describe, expect, it } from 'vitest';
import { getProvider } from '@shared/core/providers/agent-provider-registry';
@@ -41,7 +41,7 @@ describe('codex registry metadata matches the argv the plugin builds', () => {
it('leaves the sandbox to the user config on both sides of the mirror', () => {
// Auto-approve means unattended approvals, not unattended filesystem and
- // network access. Codex runs hooks outside the sandbox, so switchdash's
+ // network access. Codex runs hooks outside the sandbox, so Switch Console's
// loopback hook curls do not need one relaxed on their behalf.
const def = getProvider('codex')!;
@@ -52,7 +52,7 @@ describe('codex registry metadata matches the argv the plugin builds', () => {
it('emits defaultArgs on a session that does not auto-approve', () => {
// Hook trust belongs in defaultArgs, not autoApproveFlag: Codex silently
// skips hooks it has no trust entry for, so gating it on auto-approve
- // leaves a default session running none of switchdash's hooks.
+ // leaves a default session running none of Switch Console's hooks.
const def = getProvider('codex')!;
const args = buildCodexArgs(false);
diff --git a/dash/apps/switchdash-desktop/src/main/core/providers/remote-plugin-fs.test.ts b/dash/apps/switch-console-desktop/src/main/core/providers/remote-plugin-fs.test.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/main/core/providers/remote-plugin-fs.test.ts
rename to dash/apps/switch-console-desktop/src/main/core/providers/remote-plugin-fs.test.ts
diff --git a/dash/apps/switchdash-desktop/src/main/core/providers/remote-plugin-fs.ts b/dash/apps/switch-console-desktop/src/main/core/providers/remote-plugin-fs.ts
similarity index 97%
rename from dash/apps/switchdash-desktop/src/main/core/providers/remote-plugin-fs.ts
rename to dash/apps/switch-console-desktop/src/main/core/providers/remote-plugin-fs.ts
index f7729f815..a4093fdb3 100644
--- a/dash/apps/switchdash-desktop/src/main/core/providers/remote-plugin-fs.ts
+++ b/dash/apps/switch-console-desktop/src/main/core/providers/remote-plugin-fs.ts
@@ -1,5 +1,5 @@
import { posix as pathPosix } from 'node:path';
-import type { PluginFs } from '@switchdash/core/agents/plugins';
+import type { PluginFs } from '@switch-console/core/agents/plugins';
import { assertRemoved } from '@main/core/fs/assert-removed';
import type { SshFileSystem } from '@main/core/fs/impl/ssh-fs';
import { FileSystemError, FileSystemErrorCodes } from '@main/core/fs/types';
diff --git a/dash/apps/switchdash-desktop/src/main/core/pty/controller.ts b/dash/apps/switch-console-desktop/src/main/core/pty/controller.ts
similarity index 99%
rename from dash/apps/switchdash-desktop/src/main/core/pty/controller.ts
rename to dash/apps/switch-console-desktop/src/main/core/pty/controller.ts
index f0a447c40..0337e4ab1 100644
--- a/dash/apps/switchdash-desktop/src/main/core/pty/controller.ts
+++ b/dash/apps/switch-console-desktop/src/main/core/pty/controller.ts
@@ -1,6 +1,6 @@
import { randomUUID } from 'node:crypto';
import { basename } from 'node:path';
-import { err, ok } from '@switchdash/shared';
+import { err, ok } from '@switch-console/shared';
import { locationRuntimeRegistry } from '@main/core/locations/location-runtime-registry';
import { sessionHooks } from '@main/core/sessions/session-hooks';
import { log } from '@main/lib/logger';
diff --git a/dash/apps/switchdash-desktop/src/main/core/pty/exit-classification.test.ts b/dash/apps/switch-console-desktop/src/main/core/pty/exit-classification.test.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/main/core/pty/exit-classification.test.ts
rename to dash/apps/switch-console-desktop/src/main/core/pty/exit-classification.test.ts
diff --git a/dash/apps/switchdash-desktop/src/main/core/pty/exit-classification.ts b/dash/apps/switch-console-desktop/src/main/core/pty/exit-classification.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/main/core/pty/exit-classification.ts
rename to dash/apps/switch-console-desktop/src/main/core/pty/exit-classification.ts
diff --git a/dash/apps/switchdash-desktop/src/main/core/pty/exit-signals.ts b/dash/apps/switch-console-desktop/src/main/core/pty/exit-signals.ts
similarity index 97%
rename from dash/apps/switchdash-desktop/src/main/core/pty/exit-signals.ts
rename to dash/apps/switch-console-desktop/src/main/core/pty/exit-signals.ts
index 186059584..0ffc67732 100644
--- a/dash/apps/switchdash-desktop/src/main/core/pty/exit-signals.ts
+++ b/dash/apps/switch-console-desktop/src/main/core/pty/exit-signals.ts
@@ -1,5 +1,5 @@
export type PtySignal =
- | 'SIGHUP' // 1 — hangup / PTY master closed (common when switchdash window closes)
+ | 'SIGHUP' // 1 — hangup / PTY master closed (common when Switch Console window closes)
| 'SIGINT' // 2 — Ctrl+C (user interrupt)
| 'SIGQUIT' // 3 — Ctrl+\ (quit + core dump)
| 'SIGILL' // 4 — illegal instruction
diff --git a/dash/apps/switchdash-desktop/src/main/core/pty/human-activity.test.ts b/dash/apps/switch-console-desktop/src/main/core/pty/human-activity.test.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/main/core/pty/human-activity.test.ts
rename to dash/apps/switch-console-desktop/src/main/core/pty/human-activity.test.ts
diff --git a/dash/apps/switchdash-desktop/src/main/core/pty/human-activity.ts b/dash/apps/switch-console-desktop/src/main/core/pty/human-activity.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/main/core/pty/human-activity.ts
rename to dash/apps/switch-console-desktop/src/main/core/pty/human-activity.ts
diff --git a/dash/apps/switchdash-desktop/src/main/core/pty/local-pty.integration.test.ts b/dash/apps/switch-console-desktop/src/main/core/pty/local-pty.integration.test.ts
similarity index 96%
rename from dash/apps/switchdash-desktop/src/main/core/pty/local-pty.integration.test.ts
rename to dash/apps/switch-console-desktop/src/main/core/pty/local-pty.integration.test.ts
index 3d6f3dbbe..7d798601b 100644
--- a/dash/apps/switchdash-desktop/src/main/core/pty/local-pty.integration.test.ts
+++ b/dash/apps/switch-console-desktop/src/main/core/pty/local-pty.integration.test.ts
@@ -8,7 +8,7 @@ import type { PtyExitInfo } from './pty';
const tempDirs: string[] = [];
async function tempCwd(): Promise<string> {
- const dir = await mkdtemp(join(tmpdir(), 'switchdash-local-pty-'));
+ const dir = await mkdtemp(join(tmpdir(), 'switch-console-local-pty-'));
tempDirs.push(dir);
return dir;
}
diff --git a/dash/apps/switchdash-desktop/src/main/core/pty/local-pty.test.ts b/dash/apps/switch-console-desktop/src/main/core/pty/local-pty.test.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/main/core/pty/local-pty.test.ts
rename to dash/apps/switch-console-desktop/src/main/core/pty/local-pty.test.ts
diff --git a/dash/apps/switchdash-desktop/src/main/core/pty/local-pty.ts b/dash/apps/switch-console-desktop/src/main/core/pty/local-pty.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/main/core/pty/local-pty.ts
rename to dash/apps/switch-console-desktop/src/main/core/pty/local-pty.ts
diff --git a/dash/apps/switchdash-desktop/src/main/core/pty/node-pty-errors.ts b/dash/apps/switch-console-desktop/src/main/core/pty/node-pty-errors.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/main/core/pty/node-pty-errors.ts
rename to dash/apps/switch-console-desktop/src/main/core/pty/node-pty-errors.ts
diff --git a/dash/apps/switchdash-desktop/src/main/core/pty/persist-dropped-blob.test.ts b/dash/apps/switch-console-desktop/src/main/core/pty/persist-dropped-blob.test.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/main/core/pty/persist-dropped-blob.test.ts
rename to dash/apps/switch-console-desktop/src/main/core/pty/persist-dropped-blob.test.ts
diff --git a/dash/apps/switchdash-desktop/src/main/core/pty/persist-dropped-blob.ts b/dash/apps/switch-console-desktop/src/main/core/pty/persist-dropped-blob.ts
similarity index 98%
rename from dash/apps/switchdash-desktop/src/main/core/pty/persist-dropped-blob.ts
rename to dash/apps/switch-console-desktop/src/main/core/pty/persist-dropped-blob.ts
index 8872567eb..658acc907 100644
--- a/dash/apps/switchdash-desktop/src/main/core/pty/persist-dropped-blob.ts
+++ b/dash/apps/switch-console-desktop/src/main/core/pty/persist-dropped-blob.ts
@@ -7,7 +7,7 @@ import { promisify } from 'node:util';
import { app, clipboard, nativeImage } from 'electron';
export const MAX_DROPPED_BLOB_BYTES = 50 * 1024 * 1024;
-export const DROPPED_BLOB_FILENAME_PREFIX = 'switchdash-drop-';
+export const DROPPED_BLOB_FILENAME_PREFIX = 'switch-console-drop-';
export const DROPPED_BLOB_MAX_AGE_MS = 24 * 60 * 60 * 1000;
const execFileAsync = promisify(execFile);
@@ -77,7 +77,7 @@ async function convertHeicLikeBytesToPng(bytes: Uint8Array, ext: string): Promis
throw new Error('HEIC/HEIF image conversion is only supported on macOS');
}
- const tempDir = await mkdtemp(join(app.getPath('temp'), 'switchdash-heic-'));
+ const tempDir = await mkdtemp(join(app.getPath('temp'), 'switch-console-heic-'));
const inputPath = join(tempDir, `input${ext === '.heif' ? '.heif' : '.heic'}`);
const outputPath = join(tempDir, 'output.png');
diff --git a/dash/apps/switchdash-desktop/src/main/core/pty/pty-env.test.ts b/dash/apps/switch-console-desktop/src/main/core/pty/pty-env.test.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/main/core/pty/pty-env.test.ts
rename to dash/apps/switch-console-desktop/src/main/core/pty/pty-env.test.ts
diff --git a/dash/apps/switchdash-desktop/src/main/core/pty/pty-env.ts b/dash/apps/switch-console-desktop/src/main/core/pty/pty-env.ts
similarity index 98%
rename from dash/apps/switchdash-desktop/src/main/core/pty/pty-env.ts
rename to dash/apps/switch-console-desktop/src/main/core/pty/pty-env.ts
index 210c622b0..ecfb6a95c 100644
--- a/dash/apps/switchdash-desktop/src/main/core/pty/pty-env.ts
+++ b/dash/apps/switch-console-desktop/src/main/core/pty/pty-env.ts
@@ -158,7 +158,7 @@ export interface AgentEnvOptions {
shellProfile?: ResolvedShellProfile;
/**
- * Switchdash hook server connection details. When set, injects
+ * Switch Console hook server connection details. When set, injects
* SWITCHDASH_HOOK_PORT, SWITCHDASH_PTY_ID, and SWITCHDASH_HOOK_TOKEN so agent CLIs
* can call back on lifecycle events.
*/
@@ -199,7 +199,7 @@ export function buildTerminalEnv(
// Terminal identity — always override so xterm capabilities are correct.
env.TERM = 'xterm-256color';
env.COLORTERM = 'truecolor';
- env.TERM_PROGRAM = 'switchdash';
+ env.TERM_PROGRAM = 'switch-console';
// Ensure SHELL reflects the user's configured shell on POSIX. Native Windows
// shells are selected via ComSpec by the spawn resolver, not SHELL.
@@ -249,7 +249,7 @@ export function buildAgentEnv(options: AgentEnvOptions = {}): Record<string, str
const env: Record<string, string> = {
TERM: 'xterm-256color',
COLORTERM: 'truecolor',
- TERM_PROGRAM: 'switchdash',
+ TERM_PROGRAM: 'switch-console',
HOME: process.env.HOME || os.homedir(),
USER: process.env.USER || os.userInfo().username,
PATH: resolvedPath,
diff --git a/dash/apps/switchdash-desktop/src/main/core/pty/pty-session-events.ts b/dash/apps/switch-console-desktop/src/main/core/pty/pty-session-events.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/main/core/pty/pty-session-events.ts
rename to dash/apps/switch-console-desktop/src/main/core/pty/pty-session-events.ts
diff --git a/dash/apps/switchdash-desktop/src/main/core/pty/pty-session-registry.test.ts b/dash/apps/switch-console-desktop/src/main/core/pty/pty-session-registry.test.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/main/core/pty/pty-session-registry.test.ts
rename to dash/apps/switch-console-desktop/src/main/core/pty/pty-session-registry.test.ts
diff --git a/dash/apps/switchdash-desktop/src/main/core/pty/pty-session-registry.ts b/dash/apps/switch-console-desktop/src/main/core/pty/pty-session-registry.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/main/core/pty/pty-session-registry.ts
rename to dash/apps/switch-console-desktop/src/main/core/pty/pty-session-registry.ts
diff --git a/dash/apps/switchdash-desktop/src/main/core/pty/pty-spawn-platform.test.ts b/dash/apps/switch-console-desktop/src/main/core/pty/pty-spawn-platform.test.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/main/core/pty/pty-spawn-platform.test.ts
rename to dash/apps/switch-console-desktop/src/main/core/pty/pty-spawn-platform.test.ts
diff --git a/dash/apps/switchdash-desktop/src/main/core/pty/pty-spawn-platform.ts b/dash/apps/switch-console-desktop/src/main/core/pty/pty-spawn-platform.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/main/core/pty/pty-spawn-platform.ts
rename to dash/apps/switch-console-desktop/src/main/core/pty/pty-spawn-platform.ts
diff --git a/dash/apps/switchdash-desktop/src/main/core/pty/pty.ts b/dash/apps/switch-console-desktop/src/main/core/pty/pty.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/main/core/pty/pty.ts
rename to dash/apps/switch-console-desktop/src/main/core/pty/pty.ts
diff --git a/dash/apps/switchdash-desktop/src/main/core/pty/spawn-utils.test.ts b/dash/apps/switch-console-desktop/src/main/core/pty/spawn-utils.test.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/main/core/pty/spawn-utils.test.ts
rename to dash/apps/switch-console-desktop/src/main/core/pty/spawn-utils.test.ts
diff --git a/dash/apps/switchdash-desktop/src/main/core/pty/spawn-utils.ts b/dash/apps/switch-console-desktop/src/main/core/pty/spawn-utils.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/main/core/pty/spawn-utils.ts
rename to dash/apps/switch-console-desktop/src/main/core/pty/spawn-utils.ts
diff --git a/dash/apps/switchdash-desktop/src/main/core/pty/ssh2-pty.test.ts b/dash/apps/switch-console-desktop/src/main/core/pty/ssh2-pty.test.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/main/core/pty/ssh2-pty.test.ts
rename to dash/apps/switch-console-desktop/src/main/core/pty/ssh2-pty.test.ts
diff --git a/dash/apps/switchdash-desktop/src/main/core/pty/ssh2-pty.ts b/dash/apps/switch-console-desktop/src/main/core/pty/ssh2-pty.ts
similarity index 97%
rename from dash/apps/switchdash-desktop/src/main/core/pty/ssh2-pty.ts
rename to dash/apps/switch-console-desktop/src/main/core/pty/ssh2-pty.ts
index 8f41f283a..7bafa3407 100644
--- a/dash/apps/switchdash-desktop/src/main/core/pty/ssh2-pty.ts
+++ b/dash/apps/switch-console-desktop/src/main/core/pty/ssh2-pty.ts
@@ -1,4 +1,4 @@
-import { err, ok, type Result } from '@switchdash/shared';
+import { err, ok, type Result } from '@switch-console/shared';
import type { ClientChannel } from 'ssh2';
import type { SshClientProxy } from '@main/core/ssh/lifecycle/ssh-client-proxy';
import { log } from '@main/lib/logger';
@@ -21,7 +21,7 @@ export class Ssh2PtySession implements Pty {
* Input deferred while the ssh2 channel's send buffer is full. Without this,
* `write()` ignored `channel.write()`'s return value and kept blasting the
* channel — a tmux mouse drag floods SGR reports faster than the remote can
- * drain, freezing the panel and the remote tmux server. See switchdash issue #1994.
+ * drain, freezing the panel and the remote tmux server. See Switch Console issue #1994.
*/
private readonly pendingWrites: string[] = [];
private draining = false;
diff --git a/dash/apps/switchdash-desktop/src/main/core/pty/terminal-color-scheme.test.ts b/dash/apps/switch-console-desktop/src/main/core/pty/terminal-color-scheme.test.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/main/core/pty/terminal-color-scheme.test.ts
rename to dash/apps/switch-console-desktop/src/main/core/pty/terminal-color-scheme.test.ts
diff --git a/dash/apps/switchdash-desktop/src/main/core/pty/terminal-color-scheme.ts b/dash/apps/switch-console-desktop/src/main/core/pty/terminal-color-scheme.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/main/core/pty/terminal-color-scheme.ts
rename to dash/apps/switch-console-desktop/src/main/core/pty/terminal-color-scheme.ts
diff --git a/dash/apps/switchdash-desktop/src/main/core/pty/tmux-session-name.test.ts b/dash/apps/switch-console-desktop/src/main/core/pty/tmux-session-name.test.ts
similarity index 98%
rename from dash/apps/switchdash-desktop/src/main/core/pty/tmux-session-name.test.ts
rename to dash/apps/switch-console-desktop/src/main/core/pty/tmux-session-name.test.ts
index 863d240df..cc80919e8 100644
--- a/dash/apps/switchdash-desktop/src/main/core/pty/tmux-session-name.test.ts
+++ b/dash/apps/switch-console-desktop/src/main/core/pty/tmux-session-name.test.ts
@@ -61,7 +61,7 @@ describe('makeAgentTmuxSessionName', () => {
const sessionId = 'c1fc96ca-d642-4a5e-a392-8205391e2d11';
it('derives the pane name from the sessionId alone (no locationId)', () => {
- // The core CHOO-1181 guarantee: two switchdash clients with DIFFERENT local
+ // The core CHOO-1181 guarantee: two Switch Console clients with DIFFERENT local
// locationIds/scopeIds must compute the SAME tmux name for the same shared
// session, so they attach to one pane instead of each spawning a blank
// one. So the name must be a pure function of the sessionId.
diff --git a/dash/apps/switchdash-desktop/src/main/core/pty/tmux-session-name.ts b/dash/apps/switch-console-desktop/src/main/core/pty/tmux-session-name.ts
similarity index 96%
rename from dash/apps/switchdash-desktop/src/main/core/pty/tmux-session-name.ts
rename to dash/apps/switch-console-desktop/src/main/core/pty/tmux-session-name.ts
index abd72ee70..be0244b69 100644
--- a/dash/apps/switchdash-desktop/src/main/core/pty/tmux-session-name.ts
+++ b/dash/apps/switch-console-desktop/src/main/core/pty/tmux-session-name.ts
@@ -66,10 +66,10 @@ export function makeTmuxSessionName(sessionId: string): string {
/**
* tmux session name for an AGENT's pane, derived from the session id alone.
* The session id is minted once (by whichever client or the VM sidecar starts
- * the session) and is shared verbatim across every switchdash client and the
+ * the session) and is shared verbatim across every Switch Console client and the
* sidecar, so all of them compute the identical tmux name and attach to the
* SAME pane — enabling concurrent multi-client access (CHOO-1181). It must NOT
- * fold in locationId: that is a switchdash-instance-local id that differs per
+ * fold in locationId: that is a Switch Console-instance-local id that differs per
* client, which would give each client a different pane name and silently
* spawn a fresh blank session on attach.
*/
diff --git a/dash/apps/switchdash-desktop/src/main/core/remote-hosts/controller.ts b/dash/apps/switch-console-desktop/src/main/core/remote-hosts/controller.ts
similarity index 98%
rename from dash/apps/switchdash-desktop/src/main/core/remote-hosts/controller.ts
rename to dash/apps/switch-console-desktop/src/main/core/remote-hosts/controller.ts
index 8ca863e6e..b12af36da 100644
--- a/dash/apps/switchdash-desktop/src/main/core/remote-hosts/controller.ts
+++ b/dash/apps/switch-console-desktop/src/main/core/remote-hosts/controller.ts
@@ -1,11 +1,11 @@
-import type { InstallMethod } from '@switchdash/core/deps';
+import type { InstallMethod } from '@switch-console/core/deps';
import type {
DependencyCategory,
DependencyInstallResult,
DependencyStatus,
DependencyUninstallResult,
DependencyUpdateResult,
-} from '@switchdash/core/deps/runtime';
+} from '@switch-console/core/deps/runtime';
import { detectSwitchAgentRemote } from '@main/core/agents/detect-remote';
import {
evictRemoteDependencyManager,
@@ -51,7 +51,7 @@ export type RemoteDependencyView = {
path: string | null;
error?: string;
docUrl?: string;
- /** True when switchdash has an install command for this host's platform. */
+ /** True when Switch Console has an install command for this host's platform. */
canInstall: boolean;
/**
* GitHub CLI auth status. Present only on the `gh` dependency once its binary
diff --git a/dash/apps/switchdash-desktop/src/main/core/remote-hosts/gh-auth.ts b/dash/apps/switch-console-desktop/src/main/core/remote-hosts/gh-auth.ts
similarity index 98%
rename from dash/apps/switchdash-desktop/src/main/core/remote-hosts/gh-auth.ts
rename to dash/apps/switch-console-desktop/src/main/core/remote-hosts/gh-auth.ts
index 67e564b0c..21c519db8 100644
--- a/dash/apps/switchdash-desktop/src/main/core/remote-hosts/gh-auth.ts
+++ b/dash/apps/switch-console-desktop/src/main/core/remote-hosts/gh-auth.ts
@@ -8,7 +8,7 @@
* dependency sweep.
*/
-import { isTransportFailure } from '@switchdash/core/exec';
+import { isTransportFailure } from '@switch-console/core/exec';
import { SshExecutionContext } from '@main/core/execution-context/ssh-execution-context';
import { sshConnectionIdForHost } from '@main/core/locations/location-transport';
import { ensureSshConnected } from '@main/core/ssh/connect/connect-agent-ssh';
diff --git a/dash/apps/switchdash-desktop/src/main/core/remote-hosts/host-reachability-service.test.ts b/dash/apps/switch-console-desktop/src/main/core/remote-hosts/host-reachability-service.test.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/main/core/remote-hosts/host-reachability-service.test.ts
rename to dash/apps/switch-console-desktop/src/main/core/remote-hosts/host-reachability-service.test.ts
diff --git a/dash/apps/switchdash-desktop/src/main/core/remote-hosts/host-reachability-service.ts b/dash/apps/switch-console-desktop/src/main/core/remote-hosts/host-reachability-service.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/main/core/remote-hosts/host-reachability-service.ts
rename to dash/apps/switch-console-desktop/src/main/core/remote-hosts/host-reachability-service.ts
diff --git a/dash/apps/switchdash-desktop/src/main/core/remote-hosts/host-reachability-startup.ts b/dash/apps/switch-console-desktop/src/main/core/remote-hosts/host-reachability-startup.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/main/core/remote-hosts/host-reachability-startup.ts
rename to dash/apps/switch-console-desktop/src/main/core/remote-hosts/host-reachability-startup.ts
diff --git a/dash/apps/switchdash-desktop/src/main/core/remote-hosts/list-ssh-config-hosts.test.ts b/dash/apps/switch-console-desktop/src/main/core/remote-hosts/list-ssh-config-hosts.test.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/main/core/remote-hosts/list-ssh-config-hosts.test.ts
rename to dash/apps/switch-console-desktop/src/main/core/remote-hosts/list-ssh-config-hosts.test.ts
diff --git a/dash/apps/switchdash-desktop/src/main/core/remote-hosts/list-ssh-config-hosts.ts b/dash/apps/switch-console-desktop/src/main/core/remote-hosts/list-ssh-config-hosts.ts
similarity index 96%
rename from dash/apps/switchdash-desktop/src/main/core/remote-hosts/list-ssh-config-hosts.ts
rename to dash/apps/switch-console-desktop/src/main/core/remote-hosts/list-ssh-config-hosts.ts
index 151c2bb8f..a0b42b3dc 100644
--- a/dash/apps/switchdash-desktop/src/main/core/remote-hosts/list-ssh-config-hosts.ts
+++ b/dash/apps/switch-console-desktop/src/main/core/remote-hosts/list-ssh-config-hosts.ts
@@ -26,7 +26,7 @@ export function parseSshConfigHosts(content: string): string[] {
/**
* Read the user's `~/.ssh/config` and return connectable `Host` aliases. Used to
* populate the host-onboarding picker; auth still resolves from the SSH
- * config/agent (switchdash stores no credentials).
+ * config/agent (Switch Console stores no credentials).
*/
export async function listSshConfigHosts(): Promise<string[]> {
const configPath = path.join(os.homedir(), '.ssh', 'config');
diff --git a/dash/apps/switchdash-desktop/src/main/core/remote-hosts/production-host-reachability.ts b/dash/apps/switch-console-desktop/src/main/core/remote-hosts/production-host-reachability.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/main/core/remote-hosts/production-host-reachability.ts
rename to dash/apps/switch-console-desktop/src/main/core/remote-hosts/production-host-reachability.ts
diff --git a/dash/apps/switchdash-desktop/src/main/core/remote-hosts/reachability-store.ts b/dash/apps/switch-console-desktop/src/main/core/remote-hosts/reachability-store.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/main/core/remote-hosts/reachability-store.ts
rename to dash/apps/switch-console-desktop/src/main/core/remote-hosts/reachability-store.ts
diff --git a/dash/apps/switchdash-desktop/src/main/core/remote-hosts/setup/host-setup-runner.test.ts b/dash/apps/switch-console-desktop/src/main/core/remote-hosts/setup/host-setup-runner.test.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/main/core/remote-hosts/setup/host-setup-runner.test.ts
rename to dash/apps/switch-console-desktop/src/main/core/remote-hosts/setup/host-setup-runner.test.ts
diff --git a/dash/apps/switchdash-desktop/src/main/core/remote-hosts/setup/host-setup-runner.ts b/dash/apps/switch-console-desktop/src/main/core/remote-hosts/setup/host-setup-runner.ts
similarity index 99%
rename from dash/apps/switchdash-desktop/src/main/core/remote-hosts/setup/host-setup-runner.ts
rename to dash/apps/switch-console-desktop/src/main/core/remote-hosts/setup/host-setup-runner.ts
index 13d2d70c9..e82090014 100644
--- a/dash/apps/switchdash-desktop/src/main/core/remote-hosts/setup/host-setup-runner.ts
+++ b/dash/apps/switch-console-desktop/src/main/core/remote-hosts/setup/host-setup-runner.ts
@@ -52,7 +52,7 @@ export type HostSetupRunnerDeps = {
install: (step: HostSetupStep) => Promise<StepInstallResult>;
/** Replace an already-installed step with the newest available version. */
update: (step: HostSetupStep) => Promise<StepInstallResult>;
- /** Whether this step can be installed by switchdash at all on this host. */
+ /** Whether this step can be installed by Switch Console at all on this host. */
canInstall: (step: HostSetupStep) => boolean;
/**
* Throws when the host is not reachable. Wired to the central reachability
diff --git a/dash/apps/switchdash-desktop/src/main/core/remote-hosts/setup/host-setup-service.test.ts b/dash/apps/switch-console-desktop/src/main/core/remote-hosts/setup/host-setup-service.test.ts
similarity index 97%
rename from dash/apps/switchdash-desktop/src/main/core/remote-hosts/setup/host-setup-service.test.ts
rename to dash/apps/switch-console-desktop/src/main/core/remote-hosts/setup/host-setup-service.test.ts
index 4a4ecffbf..245397500 100644
--- a/dash/apps/switchdash-desktop/src/main/core/remote-hosts/setup/host-setup-service.test.ts
+++ b/dash/apps/switch-console-desktop/src/main/core/remote-hosts/setup/host-setup-service.test.ts
@@ -62,7 +62,7 @@ vi.mock('@main/core/dependencies/install-output', () => ({
installOutput: { subscribe: vi.fn(() => () => {}) },
}));
-import type { HostDependencyManager } from '@switchdash/core/deps/runtime';
+import type { HostDependencyManager } from '@switch-console/core/deps/runtime';
import type { HostSetupPlan, HostSetupStep } from '@shared/core/remote-hosts/setup';
import { checkStep, readAllSetupPlans } from './host-setup-service';
import { listSetupPlans, saveSetupPlan } from './setup-plan-store';
@@ -178,7 +178,7 @@ describe('checking an agent-plugin step', () => {
expect(await checkStep(SSH_HOST, manager, step({}))).toEqual({ outcome: 'missing' });
});
- it('reports unknown — not missing — for a type switchdash cannot drive', async () => {
+ it('reports unknown — not missing — for a type Switch Console cannot drive', async () => {
// "We cannot answer this" is not "it is not installed".
mocks.checkForUpdates.mockResolvedValue(status({ supported: false, installed: false }));
@@ -334,7 +334,7 @@ describe('readAllSetupPlans', () => {
* Reported from a real host: Codex read "Update available", Update failed, and
* the row went back to "Update available". The version comparison was right —
* a newer Codex does exist — but the installation lived in a root-owned npm
- * prefix that switchdash cannot write to, so the update could never have run.
+ * prefix that Switch Console cannot write to, so the update could never have run.
* The agents page gates this through `installationCanUpdate`; this path did not.
*/
describe('offering a CLI update only when it can be carried out', () => {
@@ -357,7 +357,7 @@ describe('offering a CLI update only when it can be carried out', () => {
});
it('withholds it when the installation is not manageable', async () => {
- // Same version difference, but nothing switchdash could do about it.
+ // Same version difference, but nothing Switch Console could do about it.
const enriched = {
installations: [installation({ manageable: false, updateAvailable: false })],
};
diff --git a/dash/apps/switchdash-desktop/src/main/core/remote-hosts/setup/host-setup-service.ts b/dash/apps/switch-console-desktop/src/main/core/remote-hosts/setup/host-setup-service.ts
similarity index 98%
rename from dash/apps/switchdash-desktop/src/main/core/remote-hosts/setup/host-setup-service.ts
rename to dash/apps/switch-console-desktop/src/main/core/remote-hosts/setup/host-setup-service.ts
index e11456288..fc0f9053f 100644
--- a/dash/apps/switchdash-desktop/src/main/core/remote-hosts/setup/host-setup-service.ts
+++ b/dash/apps/switch-console-desktop/src/main/core/remote-hosts/setup/host-setup-service.ts
@@ -7,7 +7,7 @@
* per-host lifecycle (build, resume, run, skip, discard).
*/
-import type { DependencyId, HostDependencyManager } from '@switchdash/core/deps/runtime';
+import type { DependencyId, HostDependencyManager } from '@switch-console/core/deps/runtime';
import { agentUpdateService } from '@main/core/dependencies/agent-update-service';
import { CORE_DEPENDENCIES } from '@main/core/dependencies/core-dependencies';
import { installOutput } from '@main/core/dependencies/install-output';
@@ -47,7 +47,7 @@ import {
const runners = new Map<string, HostSetupRunner>();
/**
- * Agent types worth planning for: those whose connector switchdash can drive.
+ * Agent types worth planning for: those whose connector Switch Console can drive.
*
* Read from the plugin registry, not from the host. Whether a type is
* *supported* is a static fact about the plugin — its `switchSetup` dialect and
@@ -241,7 +241,7 @@ export async function checkStep(
// answers here, given this host's own installed version. No extra SSH.
const update = agentUpdateService.getUpdateInfo(step.id as DependencyId, result.version ?? null);
- // A newer version existing is not the same as switchdash being able to
+ // A newer version existing is not the same as Switch Console being able to
// install it. Whether an installation can be driven at all depends on how it
// got there: `installationCanUpdate` says no for one whose provenance we
// could not confirm, because the update would run some package manager's
diff --git a/dash/apps/switchdash-desktop/src/main/core/remote-hosts/setup/install-progress.test.ts b/dash/apps/switch-console-desktop/src/main/core/remote-hosts/setup/install-progress.test.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/main/core/remote-hosts/setup/install-progress.test.ts
rename to dash/apps/switch-console-desktop/src/main/core/remote-hosts/setup/install-progress.test.ts
diff --git a/dash/apps/switchdash-desktop/src/main/core/remote-hosts/setup/install-progress.ts b/dash/apps/switch-console-desktop/src/main/core/remote-hosts/setup/install-progress.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/main/core/remote-hosts/setup/install-progress.ts
rename to dash/apps/switch-console-desktop/src/main/core/remote-hosts/setup/install-progress.ts
diff --git a/dash/apps/switchdash-desktop/src/main/core/remote-hosts/setup/plan-builder.test.ts b/dash/apps/switch-console-desktop/src/main/core/remote-hosts/setup/plan-builder.test.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/main/core/remote-hosts/setup/plan-builder.test.ts
rename to dash/apps/switch-console-desktop/src/main/core/remote-hosts/setup/plan-builder.test.ts
diff --git a/dash/apps/switchdash-desktop/src/main/core/remote-hosts/setup/plan-builder.ts b/dash/apps/switch-console-desktop/src/main/core/remote-hosts/setup/plan-builder.ts
similarity index 98%
rename from dash/apps/switchdash-desktop/src/main/core/remote-hosts/setup/plan-builder.ts
rename to dash/apps/switch-console-desktop/src/main/core/remote-hosts/setup/plan-builder.ts
index ea3e30d21..7fb2f165c 100644
--- a/dash/apps/switchdash-desktop/src/main/core/remote-hosts/setup/plan-builder.ts
+++ b/dash/apps/switch-console-desktop/src/main/core/remote-hosts/setup/plan-builder.ts
@@ -26,7 +26,7 @@ import {
export { agentPluginStepId };
-/** A dependency switchdash knows how to check on the host. */
+/** A dependency Switch Console knows how to check on the host. */
export type PlannableDependency = {
id: string;
name: string;
diff --git a/dash/apps/switchdash-desktop/src/main/core/remote-hosts/setup/setup-plan-store.db.test.ts b/dash/apps/switch-console-desktop/src/main/core/remote-hosts/setup/setup-plan-store.db.test.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/main/core/remote-hosts/setup/setup-plan-store.db.test.ts
rename to dash/apps/switch-console-desktop/src/main/core/remote-hosts/setup/setup-plan-store.db.test.ts
diff --git a/dash/apps/switchdash-desktop/src/main/core/remote-hosts/setup/setup-plan-store.ts b/dash/apps/switch-console-desktop/src/main/core/remote-hosts/setup/setup-plan-store.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/main/core/remote-hosts/setup/setup-plan-store.ts
rename to dash/apps/switch-console-desktop/src/main/core/remote-hosts/setup/setup-plan-store.ts
diff --git a/dash/apps/switchdash-desktop/src/main/core/remote-hosts/setup/step-outcomes.test.ts b/dash/apps/switch-console-desktop/src/main/core/remote-hosts/setup/step-outcomes.test.ts
similarity index 99%
rename from dash/apps/switchdash-desktop/src/main/core/remote-hosts/setup/step-outcomes.test.ts
rename to dash/apps/switch-console-desktop/src/main/core/remote-hosts/setup/step-outcomes.test.ts
index 98c554a83..e750f6660 100644
--- a/dash/apps/switchdash-desktop/src/main/core/remote-hosts/setup/step-outcomes.test.ts
+++ b/dash/apps/switch-console-desktop/src/main/core/remote-hosts/setup/step-outcomes.test.ts
@@ -265,7 +265,7 @@ describe('describeInstallFailure — npm cannot write the global prefix', () =>
expect(message).not.toContain("@openai'");
});
- it('says switchdash will not escalate on its own', () => {
+ it('says Switch Console will not escalate on its own', () => {
// The user should know why we did not just sudo it, rather than assuming
// the install is broken.
const message = describeInstallFailure('Codex', 'Install command failed.', eacces);
diff --git a/dash/apps/switchdash-desktop/src/main/core/remote-hosts/setup/step-outcomes.ts b/dash/apps/switch-console-desktop/src/main/core/remote-hosts/setup/step-outcomes.ts
similarity index 98%
rename from dash/apps/switchdash-desktop/src/main/core/remote-hosts/setup/step-outcomes.ts
rename to dash/apps/switch-console-desktop/src/main/core/remote-hosts/setup/step-outcomes.ts
index 2c691d3b5..15a745feb 100644
--- a/dash/apps/switchdash-desktop/src/main/core/remote-hosts/setup/step-outcomes.ts
+++ b/dash/apps/switch-console-desktop/src/main/core/remote-hosts/setup/step-outcomes.ts
@@ -111,7 +111,7 @@ export function describeInstallFailure(
// npm's own EACCES report is thorough and completely unactionable from here:
// a stack trace through arborist, then advice to "try running the command
// again as root" addressed to a user who is not the one running it. What
- // matters is which directory, and that switchdash does not silently escalate
+ // matters is which directory, and that Switch Console does not silently escalate
// to sudo on someone's host.
const eaccesPath = NPM_GLOBAL_EACCES.exec(output ?? '')?.[1];
if (eaccesPath) {
diff --git a/dash/apps/switchdash-desktop/src/main/core/remote-hosts/store.ts b/dash/apps/switch-console-desktop/src/main/core/remote-hosts/store.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/main/core/remote-hosts/store.ts
rename to dash/apps/switch-console-desktop/src/main/core/remote-hosts/store.ts
diff --git a/dash/apps/switchdash-desktop/src/main/core/resource-monitor/controller.ts b/dash/apps/switch-console-desktop/src/main/core/resource-monitor/controller.ts
similarity index 93%
rename from dash/apps/switchdash-desktop/src/main/core/resource-monitor/controller.ts
rename to dash/apps/switch-console-desktop/src/main/core/resource-monitor/controller.ts
index f4ba25db9..345aafa04 100644
--- a/dash/apps/switchdash-desktop/src/main/core/resource-monitor/controller.ts
+++ b/dash/apps/switch-console-desktop/src/main/core/resource-monitor/controller.ts
@@ -1,4 +1,4 @@
-import { ok } from '@switchdash/shared';
+import { ok } from '@switch-console/shared';
import { appSettingsService } from '@main/core/settings/settings-service';
import { createRPCController } from '@shared/lib/ipc/rpc';
import { sampleOnce, setResourceMonitorOpen } from './resource-sampler';
diff --git a/dash/apps/switchdash-desktop/src/main/core/resource-monitor/resource-sampler.test.ts b/dash/apps/switch-console-desktop/src/main/core/resource-monitor/resource-sampler.test.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/main/core/resource-monitor/resource-sampler.test.ts
rename to dash/apps/switch-console-desktop/src/main/core/resource-monitor/resource-sampler.test.ts
diff --git a/dash/apps/switchdash-desktop/src/main/core/resource-monitor/resource-sampler.ts b/dash/apps/switch-console-desktop/src/main/core/resource-monitor/resource-sampler.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/main/core/resource-monitor/resource-sampler.ts
rename to dash/apps/switch-console-desktop/src/main/core/resource-monitor/resource-sampler.ts
diff --git a/dash/apps/switchdash-desktop/src/main/core/search/controller.ts b/dash/apps/switch-console-desktop/src/main/core/search/controller.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/main/core/search/controller.ts
rename to dash/apps/switch-console-desktop/src/main/core/search/controller.ts
diff --git a/dash/apps/switchdash-desktop/src/main/core/search/search-service.db.test.ts b/dash/apps/switch-console-desktop/src/main/core/search/search-service.db.test.ts
similarity index 97%
rename from dash/apps/switchdash-desktop/src/main/core/search/search-service.db.test.ts
rename to dash/apps/switch-console-desktop/src/main/core/search/search-service.db.test.ts
index bffdb712d..49d8af4f3 100644
--- a/dash/apps/switchdash-desktop/src/main/core/search/search-service.db.test.ts
+++ b/dash/apps/switch-console-desktop/src/main/core/search/search-service.db.test.ts
@@ -52,9 +52,12 @@ describe('searchService', () => {
mocks.db = fixture.db;
mocks.sqlite = fixture.sqlite;
- await fixture.db
- .insert(locations)
- .values({ id: 'loc-1', name: 'switchdash repo', sshHost: '', dir: '/tmp/switchdash' });
+ await fixture.db.insert(locations).values({
+ id: 'loc-1',
+ name: 'switch-console repo',
+ sshHost: '',
+ dir: '/tmp/switch-console',
+ });
await fixture.db
.insert(locations)
.values({ id: 'loc-2', name: 'other repo', sshHost: '', dir: '/tmp/other' });
@@ -316,13 +319,13 @@ describe('searchService', () => {
]);
});
- // Locations are not a user-facing entity anywhere in switchdash — the
+ // Locations are not a user-facing entity anywhere in Switch Console — the
// sidebar lists agents flatly rather than by directory — so offering them
// as results pointed at a concept the product does not have.
it('does not index locations', () => {
searchService.initialize();
- expect(searchService.search({ query: 'switchdash repo' }).items).toEqual([]);
+ expect(searchService.search({ query: 'switch-console repo' }).items).toEqual([]);
expect(searchService.search({ query: 'other repo' }).items).toEqual([]);
});
});
diff --git a/dash/apps/switchdash-desktop/src/main/core/search/search-service.ts b/dash/apps/switch-console-desktop/src/main/core/search/search-service.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/main/core/search/search-service.ts
rename to dash/apps/switch-console-desktop/src/main/core/search/search-service.ts
diff --git a/dash/apps/switch-console-desktop/src/main/core/secrets/encrypted-app-secrets-store.test.ts b/dash/apps/switch-console-desktop/src/main/core/secrets/encrypted-app-secrets-store.test.ts
new file mode 100644
index 000000000..ee64b0678
--- /dev/null
+++ b/dash/apps/switch-console-desktop/src/main/core/secrets/encrypted-app-secrets-store.test.ts
@@ -0,0 +1,98 @@
+import { beforeEach, describe, expect, it, vi } from 'vitest';
+
+const warn = vi.fn();
+vi.mock('@main/lib/logger', () => ({ log: { warn: (...args: unknown[]) => warn(...args) } }));
+vi.mock('electron', () => ({ safeStorage: {} }));
+vi.mock('@main/db/client', () => ({ db: {} }));
+vi.mock('@main/db/schema', () => ({ appSecrets: { key: 'key', secret: 'secret' } }));
+
+const { EncryptedAppSecretsStore, UndecryptableSecretError } =
+ await import('./encrypted-app-secrets-store');
+
+/** A drizzle stand-in whose select chain resolves to `rows`. */
+function fakeDb(rows: { secret: string }[], deleted: string[]) {
+ const chain = {
+ from: () => chain,
+ where: () => chain,
+ limit: () => Promise.resolve(rows),
+ };
+ return {
+ select: () => chain,
+ delete: () => ({
+ where: (condition: unknown) => {
+ deleted.push(String(condition));
+ return Promise.resolve();
+ },
+ }),
+ };
+}
+
+function storeWith(rows: { secret: string }[], decrypt: () => string, deleted: string[] = []) {
+ const safeStorageApi = {
+ isEncryptionAvailable: () => true,
+ decryptString: decrypt,
+ getSelectedStorageBackend: () => 'gnome_libsecret',
+ };
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
+ return new EncryptedAppSecretsStore(
+ fakeDb(rows, deleted) as any,
+ safeStorageApi as any,
+ 'darwin'
+ );
+}
+
+const CIPHERTEXT = [{ secret: Buffer.from('whatever').toString('base64') }];
+
+function throws(): never {
+ throw new Error('Error while decrypting the ciphertext provided to safeStorage.decryptString.');
+}
+
+describe('getSecret', () => {
+ beforeEach(() => warn.mockReset());
+
+ it('returns null when nothing is stored', async () => {
+ await expect(storeWith([], () => 'unused').getSecret('k')).resolves.toBeNull();
+ });
+
+ it('names the rename as the reason a stored secret will not decrypt', async () => {
+ const store = storeWith(CIPHERTEXT, throws);
+
+ await expect(store.getSecret('k')).rejects.toBeInstanceOf(UndecryptableSecretError);
+ await expect(store.getSecret('k')).rejects.toThrow(/named after the application/);
+ });
+});
+
+describe('readRecoverableSecret', () => {
+ beforeEach(() => warn.mockReset());
+
+ it('reports an undecryptable secret as absent and drops the dead row', async () => {
+ const deleted: string[] = [];
+ const store = storeWith(CIPHERTEXT, throws, deleted);
+
+ await expect(store.readRecoverableSecret('switch-server-cookie:s1')).resolves.toBeNull();
+ expect(deleted).toHaveLength(1);
+ });
+
+ it('says so in the log rather than dropping the row silently', async () => {
+ await storeWith(CIPHERTEXT, throws).readRecoverableSecret('switch-server-cookie:s1');
+
+ expect(warn).toHaveBeenCalledWith(expect.stringContaining('cannot decrypt'), {
+ key: 'switch-server-cookie:s1',
+ });
+ });
+
+ it('returns the secret untouched when it decrypts', async () => {
+ const deleted: string[] = [];
+ const store = storeWith(CIPHERTEXT, () => 'jwt-value', deleted);
+
+ await expect(store.readRecoverableSecret('k')).resolves.toBe('jwt-value');
+ expect(deleted).toHaveLength(0);
+ });
+
+ it('does not swallow a failure that is not a decryption failure', async () => {
+ const store = storeWith(CIPHERTEXT, () => 'unused');
+ vi.spyOn(store, 'getSecret').mockRejectedValue(new Error('database is locked'));
+
+ await expect(store.readRecoverableSecret('k')).rejects.toThrow(/database is locked/);
+ });
+});
diff --git a/dash/apps/switch-console-desktop/src/main/core/secrets/encrypted-app-secrets-store.ts b/dash/apps/switch-console-desktop/src/main/core/secrets/encrypted-app-secrets-store.ts
new file mode 100644
index 000000000..861aaacd9
--- /dev/null
+++ b/dash/apps/switch-console-desktop/src/main/core/secrets/encrypted-app-secrets-store.ts
@@ -0,0 +1,124 @@
+import { eq } from 'drizzle-orm';
+import { safeStorage } from 'electron';
+import { db as appDb } from '@main/db/client';
+import { appSecrets } from '@main/db/schema';
+import { log } from '@main/lib/logger';
+
+/**
+ * Raised when a row exists but the OS will not decrypt it.
+ *
+ * Distinct from "no such secret" because the two demand opposite responses. On
+ * macOS and Linux the encryption key lives in an OS keychain entry named after
+ * the application, so a build whose product name changed is handed a different
+ * key and cannot read what the previous one wrote — while the database, which
+ * is deliberately shared across the rename, still holds the rows.
+ */
+export class UndecryptableSecretError extends Error {
+ constructor(
+ readonly key: string,
+ cause: unknown
+ ) {
+ super(
+ `Stored secret '${key}' exists but could not be decrypted. The OS keychain entry that ` +
+ `holds the encryption key is named after the application, so a build whose product name ` +
+ `changed cannot read secrets written by the previous one. Whatever owns this secret has ` +
+ `to write it again; for a managed Switch server that means resetting the stack, which ` +
+ `deletes its data.`,
+ { cause }
+ );
+ this.name = 'UndecryptableSecretError';
+ }
+}
+
+export class EncryptedAppSecretsStore {
+ constructor(
+ private readonly db = appDb,
+ private readonly safeStorageApi = safeStorage,
+ private readonly platform: NodeJS.Platform = process.platform
+ ) {}
+
+ async getSecret(key: string): Promise<string | null> {
+ const rows = await this.db
+ .select({ secret: appSecrets.secret })
+ .from(appSecrets)
+ .where(eq(appSecrets.key, key))
+ .limit(1);
+
+ const secret = rows[0]?.secret;
+ if (!secret) {
+ return null;
+ }
+
+ this.assertSecureStorageAvailable();
+ try {
+ return this.safeStorageApi.decryptString(Buffer.from(secret, 'base64'));
+ } catch (cause) {
+ throw new UndecryptableSecretError(key, cause);
+ }
+ }
+
+ /**
+ * The secret, or null when there is none *or* the stored one cannot be
+ * decrypted — for callers holding something the app can simply obtain again.
+ *
+ * A session cookie is the case this exists for: re-authenticating costs a
+ * sign-in, so refusing to start over a value nobody can read reports a
+ * recoverable state as a broken one. The unreadable row is dropped, because a
+ * ciphertext with no key is not data and keeping it fails the same way on
+ * every later call. Anything whose loss is destructive — the managed server's
+ * own credentials — must keep using {@link getSecret} and fail loud.
+ */
+ async readRecoverableSecret(key: string): Promise<string | null> {
+ try {
+ return await this.getSecret(key);
+ } catch (error) {
+ if (!(error instanceof UndecryptableSecretError)) throw error;
+ log.warn('Dropping a stored secret this build cannot decrypt; it must be obtained again', {
+ key,
+ });
+ await this.deleteSecret(key);
+ return null;
+ }
+ }
+
+ async setSecret(key: string, secret: string): Promise<void> {
+ this.assertSecureStorageAvailable();
+ const encryptedSecret = this.safeStorageApi.encryptString(secret).toString('base64');
+
+ await this.setEncryptedSecret(key, encryptedSecret);
+ }
+
+ async setEncryptedSecret(key: string, encryptedSecret: string): Promise<void> {
+ await this.db
+ .insert(appSecrets)
+ .values({
+ key: key,
+ secret: encryptedSecret,
+ })
+ .onConflictDoUpdate({ target: appSecrets.key, set: { secret: encryptedSecret } })
+ .execute();
+ }
+
+ async deleteSecret(key: string): Promise<void> {
+ await this.db.delete(appSecrets).where(eq(appSecrets.key, key));
+ }
+
+ private assertSecureStorageAvailable(): void {
+ if (!this.safeStorageApi.isEncryptionAvailable()) {
+ throw new Error('Secure secret storage is unavailable on this system.');
+ }
+
+ if (this.platform !== 'linux') {
+ return;
+ }
+
+ const backend = this.safeStorageApi.getSelectedStorageBackend?.();
+ if (backend === 'basic_text') {
+ throw new Error(
+ 'Secure secret storage is unavailable: Linux safeStorage backend is basic_text.'
+ );
+ }
+ }
+}
+
+export const encryptedAppSecretsStore = new EncryptedAppSecretsStore();
diff --git a/dash/apps/switchdash-desktop/src/main/core/sessions/controller.ts b/dash/apps/switch-console-desktop/src/main/core/sessions/controller.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/main/core/sessions/controller.ts
rename to dash/apps/switch-console-desktop/src/main/core/sessions/controller.ts
diff --git a/dash/apps/switchdash-desktop/src/main/core/sessions/name-generation/generateSessionName.test.ts b/dash/apps/switch-console-desktop/src/main/core/sessions/name-generation/generateSessionName.test.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/main/core/sessions/name-generation/generateSessionName.test.ts
rename to dash/apps/switch-console-desktop/src/main/core/sessions/name-generation/generateSessionName.test.ts
diff --git a/dash/apps/switchdash-desktop/src/main/core/sessions/name-generation/generateSessionName.ts b/dash/apps/switch-console-desktop/src/main/core/sessions/name-generation/generateSessionName.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/main/core/sessions/name-generation/generateSessionName.ts
rename to dash/apps/switch-console-desktop/src/main/core/sessions/name-generation/generateSessionName.ts
diff --git a/dash/apps/switchdash-desktop/src/main/core/sessions/operations/archiveSession.test.ts b/dash/apps/switch-console-desktop/src/main/core/sessions/operations/archiveSession.test.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/main/core/sessions/operations/archiveSession.test.ts
rename to dash/apps/switch-console-desktop/src/main/core/sessions/operations/archiveSession.test.ts
diff --git a/dash/apps/switchdash-desktop/src/main/core/sessions/operations/archiveSession.ts b/dash/apps/switch-console-desktop/src/main/core/sessions/operations/archiveSession.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/main/core/sessions/operations/archiveSession.ts
rename to dash/apps/switch-console-desktop/src/main/core/sessions/operations/archiveSession.ts
diff --git a/dash/apps/switchdash-desktop/src/main/core/sessions/operations/createSession.test.ts b/dash/apps/switch-console-desktop/src/main/core/sessions/operations/createSession.test.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/main/core/sessions/operations/createSession.test.ts
rename to dash/apps/switch-console-desktop/src/main/core/sessions/operations/createSession.test.ts
diff --git a/dash/apps/switchdash-desktop/src/main/core/sessions/operations/createSession.ts b/dash/apps/switch-console-desktop/src/main/core/sessions/operations/createSession.ts
similarity index 98%
rename from dash/apps/switchdash-desktop/src/main/core/sessions/operations/createSession.ts
rename to dash/apps/switch-console-desktop/src/main/core/sessions/operations/createSession.ts
index 97f6247ce..b997518c4 100644
--- a/dash/apps/switchdash-desktop/src/main/core/sessions/operations/createSession.ts
+++ b/dash/apps/switch-console-desktop/src/main/core/sessions/operations/createSession.ts
@@ -1,4 +1,4 @@
-import { err, ok, type Result } from '@switchdash/shared';
+import { err, ok, type Result } from '@switch-console/shared';
import { eq, sql } from 'drizzle-orm';
import { isAttachableRuntime } from '@main/core/agent-runtime/attachment/types';
import { getAgentById } from '@main/core/agents/getAgentById';
diff --git a/dash/apps/switchdash-desktop/src/main/core/sessions/operations/dehydrateSession.ts b/dash/apps/switch-console-desktop/src/main/core/sessions/operations/dehydrateSession.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/main/core/sessions/operations/dehydrateSession.ts
rename to dash/apps/switch-console-desktop/src/main/core/sessions/operations/dehydrateSession.ts
diff --git a/dash/apps/switchdash-desktop/src/main/core/sessions/operations/deleteSession.test.ts b/dash/apps/switch-console-desktop/src/main/core/sessions/operations/deleteSession.test.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/main/core/sessions/operations/deleteSession.test.ts
rename to dash/apps/switch-console-desktop/src/main/core/sessions/operations/deleteSession.test.ts
diff --git a/dash/apps/switchdash-desktop/src/main/core/sessions/operations/deleteSession.ts b/dash/apps/switch-console-desktop/src/main/core/sessions/operations/deleteSession.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/main/core/sessions/operations/deleteSession.ts
rename to dash/apps/switch-console-desktop/src/main/core/sessions/operations/deleteSession.ts
diff --git a/dash/apps/switchdash-desktop/src/main/core/sessions/operations/ensureSessionAttachable.ts b/dash/apps/switch-console-desktop/src/main/core/sessions/operations/ensureSessionAttachable.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/main/core/sessions/operations/ensureSessionAttachable.ts
rename to dash/apps/switch-console-desktop/src/main/core/sessions/operations/ensureSessionAttachable.ts
diff --git a/dash/apps/switchdash-desktop/src/main/core/sessions/operations/getSession.ts b/dash/apps/switch-console-desktop/src/main/core/sessions/operations/getSession.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/main/core/sessions/operations/getSession.ts
rename to dash/apps/switch-console-desktop/src/main/core/sessions/operations/getSession.ts
diff --git a/dash/apps/switchdash-desktop/src/main/core/sessions/operations/getSessions.db.test.ts b/dash/apps/switch-console-desktop/src/main/core/sessions/operations/getSessions.db.test.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/main/core/sessions/operations/getSessions.db.test.ts
rename to dash/apps/switch-console-desktop/src/main/core/sessions/operations/getSessions.db.test.ts
diff --git a/dash/apps/switchdash-desktop/src/main/core/sessions/operations/getSessions.ts b/dash/apps/switch-console-desktop/src/main/core/sessions/operations/getSessions.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/main/core/sessions/operations/getSessions.ts
rename to dash/apps/switch-console-desktop/src/main/core/sessions/operations/getSessions.ts
diff --git a/dash/apps/switchdash-desktop/src/main/core/sessions/operations/hydrateSession.ts b/dash/apps/switch-console-desktop/src/main/core/sessions/operations/hydrateSession.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/main/core/sessions/operations/hydrateSession.ts
rename to dash/apps/switch-console-desktop/src/main/core/sessions/operations/hydrateSession.ts
diff --git a/dash/apps/switchdash-desktop/src/main/core/sessions/operations/markSessionSeen.ts b/dash/apps/switch-console-desktop/src/main/core/sessions/operations/markSessionSeen.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/main/core/sessions/operations/markSessionSeen.ts
rename to dash/apps/switch-console-desktop/src/main/core/sessions/operations/markSessionSeen.ts
diff --git a/dash/apps/switchdash-desktop/src/main/core/sessions/operations/renameSession.test.ts b/dash/apps/switch-console-desktop/src/main/core/sessions/operations/renameSession.test.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/main/core/sessions/operations/renameSession.test.ts
rename to dash/apps/switch-console-desktop/src/main/core/sessions/operations/renameSession.test.ts
diff --git a/dash/apps/switchdash-desktop/src/main/core/sessions/operations/renameSession.ts b/dash/apps/switch-console-desktop/src/main/core/sessions/operations/renameSession.ts
similarity index 94%
rename from dash/apps/switchdash-desktop/src/main/core/sessions/operations/renameSession.ts
rename to dash/apps/switch-console-desktop/src/main/core/sessions/operations/renameSession.ts
index 88727b157..3b9e41fcf 100644
--- a/dash/apps/switchdash-desktop/src/main/core/sessions/operations/renameSession.ts
+++ b/dash/apps/switch-console-desktop/src/main/core/sessions/operations/renameSession.ts
@@ -1,4 +1,4 @@
-import { err, ok, type Result } from '@switchdash/shared';
+import { err, ok, type Result } from '@switch-console/shared';
import { eq, sql } from 'drizzle-orm';
import { mapSessionRowToSession } from '@main/core/sessions/utils/utils';
import { db } from '@main/db/client';
diff --git a/dash/apps/switchdash-desktop/src/main/core/sessions/operations/restoreSession.test.ts b/dash/apps/switch-console-desktop/src/main/core/sessions/operations/restoreSession.test.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/main/core/sessions/operations/restoreSession.test.ts
rename to dash/apps/switch-console-desktop/src/main/core/sessions/operations/restoreSession.test.ts
diff --git a/dash/apps/switchdash-desktop/src/main/core/sessions/operations/restoreSession.ts b/dash/apps/switch-console-desktop/src/main/core/sessions/operations/restoreSession.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/main/core/sessions/operations/restoreSession.ts
rename to dash/apps/switch-console-desktop/src/main/core/sessions/operations/restoreSession.ts
diff --git a/dash/apps/switchdash-desktop/src/main/core/sessions/operations/save-provider-session-id.ts b/dash/apps/switch-console-desktop/src/main/core/sessions/operations/save-provider-session-id.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/main/core/sessions/operations/save-provider-session-id.ts
rename to dash/apps/switch-console-desktop/src/main/core/sessions/operations/save-provider-session-id.ts
diff --git a/dash/apps/switchdash-desktop/src/main/core/sessions/operations/set-provider-session-id.ts b/dash/apps/switch-console-desktop/src/main/core/sessions/operations/set-provider-session-id.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/main/core/sessions/operations/set-provider-session-id.ts
rename to dash/apps/switch-console-desktop/src/main/core/sessions/operations/set-provider-session-id.ts
diff --git a/dash/apps/switchdash-desktop/src/main/core/sessions/operations/setSessionPinned.ts b/dash/apps/switch-console-desktop/src/main/core/sessions/operations/setSessionPinned.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/main/core/sessions/operations/setSessionPinned.ts
rename to dash/apps/switch-console-desktop/src/main/core/sessions/operations/setSessionPinned.ts
diff --git a/dash/apps/switchdash-desktop/src/main/core/sessions/operations/touchSession.ts b/dash/apps/switch-console-desktop/src/main/core/sessions/operations/touchSession.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/main/core/sessions/operations/touchSession.ts
rename to dash/apps/switch-console-desktop/src/main/core/sessions/operations/touchSession.ts
diff --git a/dash/apps/switchdash-desktop/src/main/core/sessions/operations/updateSessionStatus.ts b/dash/apps/switch-console-desktop/src/main/core/sessions/operations/updateSessionStatus.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/main/core/sessions/operations/updateSessionStatus.ts
rename to dash/apps/switch-console-desktop/src/main/core/sessions/operations/updateSessionStatus.ts
diff --git a/dash/apps/switchdash-desktop/src/main/core/sessions/provision-session-error.ts b/dash/apps/switch-console-desktop/src/main/core/sessions/provision-session-error.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/main/core/sessions/provision-session-error.ts
rename to dash/apps/switch-console-desktop/src/main/core/sessions/provision-session-error.ts
diff --git a/dash/apps/switchdash-desktop/src/main/core/sessions/remote-session-preflight.test.ts b/dash/apps/switch-console-desktop/src/main/core/sessions/remote-session-preflight.test.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/main/core/sessions/remote-session-preflight.test.ts
rename to dash/apps/switch-console-desktop/src/main/core/sessions/remote-session-preflight.test.ts
diff --git a/dash/apps/switchdash-desktop/src/main/core/sessions/remote-session-preflight.ts b/dash/apps/switch-console-desktop/src/main/core/sessions/remote-session-preflight.ts
similarity index 98%
rename from dash/apps/switchdash-desktop/src/main/core/sessions/remote-session-preflight.ts
rename to dash/apps/switch-console-desktop/src/main/core/sessions/remote-session-preflight.ts
index 19ecdae46..62d35e426 100644
--- a/dash/apps/switchdash-desktop/src/main/core/sessions/remote-session-preflight.ts
+++ b/dash/apps/switch-console-desktop/src/main/core/sessions/remote-session-preflight.ts
@@ -1,10 +1,10 @@
-import { isTransportFailure } from '@switchdash/core/exec';
+import { isTransportFailure } from '@switch-console/core/exec';
import { isSshChannelOpenFailure } from '@main/core/ssh/lifecycle/ssh-channel-open-failure';
import type { CredentialsLogger } from '@main/core/switch-rooms/switch-credentials';
import { parseSwitchAgentCredentials } from '@main/core/switch-rooms/switch-credentials';
/**
- * Verifies an agent's remote host is ready to run a session before switchdash
+ * Verifies an agent's remote host is ready to run a session before Switch Console
* provisions one (CHOO-1059). Fails loud — a missing dependency, absent creds,
* or an unreachable Switch endpoint each surface a clear, actionable error
* rather than a half-started remote session that silently never connects.
@@ -97,7 +97,7 @@ async function assertHostReady(
const cause = error instanceof Error ? error.cause : undefined;
// A channel-open REFUSAL (the server answered "no") usually means session
// exhaustion; do not blame sshd MaxSessions for every transport failure —
- // a wedged shared connection produces the same symptom and switchdash now
+ // a wedged shared connection produces the same symptom and Switch Console now
// rebuilds it automatically.
if (isSshChannelOpenFailure(error) || isSshChannelOpenFailure(cause)) {
log.warn('preflightRemoteSession: SSH channel open refused on host-ready probe', {
diff --git a/dash/apps/switchdash-desktop/src/main/core/sessions/session-builder.ts b/dash/apps/switch-console-desktop/src/main/core/sessions/session-builder.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/main/core/sessions/session-builder.ts
rename to dash/apps/switch-console-desktop/src/main/core/sessions/session-builder.ts
diff --git a/dash/apps/switchdash-desktop/src/main/core/sessions/session-hooks.ts b/dash/apps/switch-console-desktop/src/main/core/sessions/session-hooks.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/main/core/sessions/session-hooks.ts
rename to dash/apps/switch-console-desktop/src/main/core/sessions/session-hooks.ts
diff --git a/dash/apps/switchdash-desktop/src/main/core/sessions/session-join.ts b/dash/apps/switch-console-desktop/src/main/core/sessions/session-join.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/main/core/sessions/session-join.ts
rename to dash/apps/switch-console-desktop/src/main/core/sessions/session-join.ts
diff --git a/dash/apps/switchdash-desktop/src/main/core/sessions/session-provision-events.ts b/dash/apps/switch-console-desktop/src/main/core/sessions/session-provision-events.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/main/core/sessions/session-provision-events.ts
rename to dash/apps/switch-console-desktop/src/main/core/sessions/session-provision-events.ts
diff --git a/dash/apps/switchdash-desktop/src/main/core/sessions/session-runtime-manager.ts b/dash/apps/switch-console-desktop/src/main/core/sessions/session-runtime-manager.ts
similarity index 99%
rename from dash/apps/switchdash-desktop/src/main/core/sessions/session-runtime-manager.ts
rename to dash/apps/switch-console-desktop/src/main/core/sessions/session-runtime-manager.ts
index 97cf85c13..e23b9f5fa 100644
--- a/dash/apps/switchdash-desktop/src/main/core/sessions/session-runtime-manager.ts
+++ b/dash/apps/switch-console-desktop/src/main/core/sessions/session-runtime-manager.ts
@@ -1,4 +1,4 @@
-import { ok, type Result } from '@switchdash/shared';
+import { ok, type Result } from '@switch-console/shared';
import { remoteAttachmentPool } from '@main/core/agent-runtime/attachment/production-remote-attachment-pool';
import { isAttachableRuntime } from '@main/core/agent-runtime/attachment/types';
import type { AgentRuntimeProvider } from '@main/core/agent-runtime/types';
diff --git a/dash/apps/switchdash-desktop/src/main/core/sessions/session-service.ts b/dash/apps/switch-console-desktop/src/main/core/sessions/session-service.ts
similarity index 99%
rename from dash/apps/switchdash-desktop/src/main/core/sessions/session-service.ts
rename to dash/apps/switch-console-desktop/src/main/core/sessions/session-service.ts
index b93e93174..ecca13480 100644
--- a/dash/apps/switchdash-desktop/src/main/core/sessions/session-service.ts
+++ b/dash/apps/switch-console-desktop/src/main/core/sessions/session-service.ts
@@ -1,4 +1,4 @@
-import { ok, type Result } from '@switchdash/shared';
+import { ok, type Result } from '@switch-console/shared';
import { eq, sql } from 'drizzle-orm';
import { getAgentById } from '@main/core/agents/getAgentById';
import { locationManager } from '@main/core/locations/location-manager';
diff --git a/dash/apps/switchdash-desktop/src/main/core/sessions/utils/utils.ts b/dash/apps/switch-console-desktop/src/main/core/sessions/utils/utils.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/main/core/sessions/utils/utils.ts
rename to dash/apps/switch-console-desktop/src/main/core/sessions/utils/utils.ts
diff --git a/dash/apps/switchdash-desktop/src/main/core/settings/controller.ts b/dash/apps/switch-console-desktop/src/main/core/settings/controller.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/main/core/settings/controller.ts
rename to dash/apps/switch-console-desktop/src/main/core/settings/controller.ts
diff --git a/dash/apps/switchdash-desktop/src/main/core/settings/override-settings.ts b/dash/apps/switch-console-desktop/src/main/core/settings/override-settings.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/main/core/settings/override-settings.ts
rename to dash/apps/switch-console-desktop/src/main/core/settings/override-settings.ts
diff --git a/dash/apps/switchdash-desktop/src/main/core/settings/provider-config-migrations.ts b/dash/apps/switch-console-desktop/src/main/core/settings/provider-config-migrations.ts
similarity index 95%
rename from dash/apps/switchdash-desktop/src/main/core/settings/provider-config-migrations.ts
rename to dash/apps/switch-console-desktop/src/main/core/settings/provider-config-migrations.ts
index b05e938f5..19a7f8b33 100644
--- a/dash/apps/switchdash-desktop/src/main/core/settings/provider-config-migrations.ts
+++ b/dash/apps/switch-console-desktop/src/main/core/settings/provider-config-migrations.ts
@@ -1,5 +1,5 @@
-import type { InstallMethod } from '@switchdash/core/deps';
-import type { DependencyId, HostDependencySelection } from '@switchdash/core/deps/runtime';
+import type { InstallMethod } from '@switch-console/core/deps';
+import type { DependencyId, HostDependencySelection } from '@switch-console/core/deps/runtime';
import type { ProviderCustomConfig } from '@shared/core/app-settings';
import type { IHostDependencyStore } from '../dependencies/host-dependency-store';
diff --git a/dash/apps/switchdash-desktop/src/main/core/settings/provider-settings-controller.ts b/dash/apps/switch-console-desktop/src/main/core/settings/provider-settings-controller.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/main/core/settings/provider-settings-controller.ts
rename to dash/apps/switch-console-desktop/src/main/core/settings/provider-settings-controller.ts
diff --git a/dash/apps/switchdash-desktop/src/main/core/settings/provider-settings-service.test.ts b/dash/apps/switch-console-desktop/src/main/core/settings/provider-settings-service.test.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/main/core/settings/provider-settings-service.test.ts
rename to dash/apps/switch-console-desktop/src/main/core/settings/provider-settings-service.test.ts
diff --git a/dash/apps/switchdash-desktop/src/main/core/settings/provider-settings-service.ts b/dash/apps/switch-console-desktop/src/main/core/settings/provider-settings-service.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/main/core/settings/provider-settings-service.ts
rename to dash/apps/switch-console-desktop/src/main/core/settings/provider-settings-service.ts
diff --git a/dash/apps/switchdash-desktop/src/main/core/settings/schema.ts b/dash/apps/switch-console-desktop/src/main/core/settings/schema.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/main/core/settings/schema.ts
rename to dash/apps/switch-console-desktop/src/main/core/settings/schema.ts
diff --git a/dash/apps/switchdash-desktop/src/main/core/settings/settings-registry.ts b/dash/apps/switch-console-desktop/src/main/core/settings/settings-registry.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/main/core/settings/settings-registry.ts
rename to dash/apps/switch-console-desktop/src/main/core/settings/settings-registry.ts
diff --git a/dash/apps/switchdash-desktop/src/main/core/settings/settings-service.ts b/dash/apps/switch-console-desktop/src/main/core/settings/settings-service.ts
similarity index 97%
rename from dash/apps/switchdash-desktop/src/main/core/settings/settings-service.ts
rename to dash/apps/switch-console-desktop/src/main/core/settings/settings-service.ts
index ce27b70fd..fad9caeb1 100644
--- a/dash/apps/switchdash-desktop/src/main/core/settings/settings-service.ts
+++ b/dash/apps/switch-console-desktop/src/main/core/settings/settings-service.ts
@@ -1,5 +1,5 @@
-import { isDeepEqual } from '@switchdash/shared';
-import type { IInitializable } from '@switchdash/shared';
+import { isDeepEqual } from '@switch-console/shared';
+import type { IInitializable } from '@switch-console/shared';
import { eq } from 'drizzle-orm';
import { db } from '@main/db/client';
import { appSettings } from '@main/db/schema';
diff --git a/dash/apps/switchdash-desktop/src/main/core/settings/utils.ts b/dash/apps/switch-console-desktop/src/main/core/settings/utils.ts
similarity index 96%
rename from dash/apps/switchdash-desktop/src/main/core/settings/utils.ts
rename to dash/apps/switch-console-desktop/src/main/core/settings/utils.ts
index 4b35bda87..964589a20 100644
--- a/dash/apps/switchdash-desktop/src/main/core/settings/utils.ts
+++ b/dash/apps/switch-console-desktop/src/main/core/settings/utils.ts
@@ -1,4 +1,4 @@
-import { isDeepEqual } from '@switchdash/shared';
+import { isDeepEqual } from '@switch-console/shared';
export function isPlainObject(v: unknown): v is Record<string, unknown> {
return typeof v === 'object' && v !== null && !Array.isArray(v);
diff --git a/dash/apps/switchdash-desktop/src/main/core/settings/worktree-defaults.ts b/dash/apps/switch-console-desktop/src/main/core/settings/worktree-defaults.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/main/core/settings/worktree-defaults.ts
rename to dash/apps/switch-console-desktop/src/main/core/settings/worktree-defaults.ts
diff --git a/dash/apps/switchdash-desktop/src/main/core/shared/oauth-flow.ts b/dash/apps/switch-console-desktop/src/main/core/shared/oauth-flow.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/main/core/shared/oauth-flow.ts
rename to dash/apps/switch-console-desktop/src/main/core/shared/oauth-flow.ts
diff --git a/dash/apps/switchdash-desktop/src/main/core/sidecar/controller.ts b/dash/apps/switch-console-desktop/src/main/core/sidecar/controller.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/main/core/sidecar/controller.ts
rename to dash/apps/switch-console-desktop/src/main/core/sidecar/controller.ts
diff --git a/dash/apps/switchdash-desktop/src/main/core/sidecar/sidecar-diagnostics.ts b/dash/apps/switch-console-desktop/src/main/core/sidecar/sidecar-diagnostics.ts
similarity index 97%
rename from dash/apps/switchdash-desktop/src/main/core/sidecar/sidecar-diagnostics.ts
rename to dash/apps/switch-console-desktop/src/main/core/sidecar/sidecar-diagnostics.ts
index 5a38a6000..522f01f53 100644
--- a/dash/apps/switchdash-desktop/src/main/core/sidecar/sidecar-diagnostics.ts
+++ b/dash/apps/switch-console-desktop/src/main/core/sidecar/sidecar-diagnostics.ts
@@ -13,7 +13,7 @@ const DIAGNOSTIC_TAIL_LINES = 200;
/**
* Include remote sidecar logs in the diagnostic attachment.
*
- * A remote agent keeps running while switchdash is closed, so its sidecar is
+ * A remote agent keeps running while Switch Console is closed, so its sidecar is
* where the failures worth reporting tend to happen — and until now that log
* stayed on the VM, leaving a bug report about a remote agent with no record of
* the process it was actually about.
diff --git a/dash/apps/switchdash-desktop/src/main/core/sidecar/verdict.test.ts b/dash/apps/switch-console-desktop/src/main/core/sidecar/verdict.test.ts
similarity index 96%
rename from dash/apps/switchdash-desktop/src/main/core/sidecar/verdict.test.ts
rename to dash/apps/switch-console-desktop/src/main/core/sidecar/verdict.test.ts
index 413ab706a..30062e161 100644
--- a/dash/apps/switchdash-desktop/src/main/core/sidecar/verdict.test.ts
+++ b/dash/apps/switch-console-desktop/src/main/core/sidecar/verdict.test.ts
@@ -42,7 +42,7 @@ describe('verdictFor', () => {
});
it('newer-on-host rather than offering a downgrade', () => {
- // A newer switchdash deployed it. Offering "Update" here is an invitation to
+ // A newer Switch Console deployed it. Offering "Update" here is an invitation to
// downgrade, and on a shared host both installs would accept it in turn.
expect(verdict({ hash: 'other', version: '1.8' })).toBe('newer-on-host');
});
diff --git a/dash/apps/switchdash-desktop/src/main/core/sidecar/verdict.ts b/dash/apps/switch-console-desktop/src/main/core/sidecar/verdict.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/main/core/sidecar/verdict.ts
rename to dash/apps/switch-console-desktop/src/main/core/sidecar/verdict.ts
diff --git a/dash/apps/switchdash-desktop/src/main/core/ssh/config/resolve-ssh-config.test.ts b/dash/apps/switch-console-desktop/src/main/core/ssh/config/resolve-ssh-config.test.ts
similarity index 94%
rename from dash/apps/switchdash-desktop/src/main/core/ssh/config/resolve-ssh-config.test.ts
rename to dash/apps/switch-console-desktop/src/main/core/ssh/config/resolve-ssh-config.test.ts
index 46abe9885..a77fcfac6 100644
--- a/dash/apps/switchdash-desktop/src/main/core/ssh/config/resolve-ssh-config.test.ts
+++ b/dash/apps/switch-console-desktop/src/main/core/ssh/config/resolve-ssh-config.test.ts
@@ -55,7 +55,7 @@ describe('resolveSshConfig', () => {
});
it('executes ssh -G for the selected alias and throws stderr on failure', async () => {
- const dir = await mkdtemp(join(tmpdir(), 'switchdash-ssh-g-'));
+ const dir = await mkdtemp(join(tmpdir(), 'switch-console-ssh-g-'));
const sshPath = join(dir, 'ssh');
await writeFile(
sshPath,
@@ -79,7 +79,7 @@ exit 255
});
it('times out ssh -G so Match exec cannot hang callers indefinitely', async () => {
- const dir = await mkdtemp(join(tmpdir(), 'switchdash-ssh-g-timeout-'));
+ const dir = await mkdtemp(join(tmpdir(), 'switch-console-ssh-g-timeout-'));
const sshPath = join(dir, 'ssh');
await writeFile(
sshPath,
@@ -95,7 +95,7 @@ sleep 2
});
it('bounds ssh -G output with maxBuffer', async () => {
- const dir = await mkdtemp(join(tmpdir(), 'switchdash-ssh-g-max-buffer-'));
+ const dir = await mkdtemp(join(tmpdir(), 'switch-console-ssh-g-max-buffer-'));
const sshPath = join(dir, 'ssh');
await writeFile(
sshPath,
@@ -111,7 +111,7 @@ printf '%0600d\\n' 0
});
it('can resolve a real OpenSSH config file through an injected runner', async () => {
- const dir = await mkdtemp(join(tmpdir(), 'switchdash-ssh-config-'));
+ const dir = await mkdtemp(join(tmpdir(), 'switch-console-ssh-config-'));
const configPath = join(dir, 'config');
await writeFile(
configPath,
diff --git a/dash/apps/switchdash-desktop/src/main/core/ssh/config/resolve-ssh-config.ts b/dash/apps/switch-console-desktop/src/main/core/ssh/config/resolve-ssh-config.ts
similarity index 98%
rename from dash/apps/switchdash-desktop/src/main/core/ssh/config/resolve-ssh-config.ts
rename to dash/apps/switch-console-desktop/src/main/core/ssh/config/resolve-ssh-config.ts
index 8a4632b0b..ade557df7 100644
--- a/dash/apps/switchdash-desktop/src/main/core/ssh/config/resolve-ssh-config.ts
+++ b/dash/apps/switch-console-desktop/src/main/core/ssh/config/resolve-ssh-config.ts
@@ -1,5 +1,5 @@
// Canonical OpenSSH resolution via `ssh -G`. Source of truth at connect time.
-// Ported from switchdash for switchdash remote-SSH agents (CHOO-1059).
+// Ported from Switch Console for Switch Console remote-SSH agents (CHOO-1059).
import { execFile } from 'node:child_process';
export interface SshConfigRunnerResult {
diff --git a/dash/apps/switchdash-desktop/src/main/core/ssh/connect/connect-agent-ssh.ts b/dash/apps/switch-console-desktop/src/main/core/ssh/connect/connect-agent-ssh.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/main/core/ssh/connect/connect-agent-ssh.ts
rename to dash/apps/switch-console-desktop/src/main/core/ssh/connect/connect-agent-ssh.ts
diff --git a/dash/apps/switchdash-desktop/src/main/core/ssh/connect/resolve-ssh-connect-config.test.ts b/dash/apps/switch-console-desktop/src/main/core/ssh/connect/resolve-ssh-connect-config.test.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/main/core/ssh/connect/resolve-ssh-connect-config.test.ts
rename to dash/apps/switch-console-desktop/src/main/core/ssh/connect/resolve-ssh-connect-config.test.ts
diff --git a/dash/apps/switchdash-desktop/src/main/core/ssh/connect/resolve-ssh-connect-config.ts b/dash/apps/switch-console-desktop/src/main/core/ssh/connect/resolve-ssh-connect-config.ts
similarity index 96%
rename from dash/apps/switchdash-desktop/src/main/core/ssh/connect/resolve-ssh-connect-config.ts
rename to dash/apps/switch-console-desktop/src/main/core/ssh/connect/resolve-ssh-connect-config.ts
index 2bf689103..6938e8a21 100644
--- a/dash/apps/switchdash-desktop/src/main/core/ssh/connect/resolve-ssh-connect-config.ts
+++ b/dash/apps/switch-console-desktop/src/main/core/ssh/connect/resolve-ssh-connect-config.ts
@@ -1,9 +1,9 @@
-// Builds the ssh2 ConnectConfig for a remote agent. Ported from switchdash and
-// trimmed for switchdash (CHOO-1059): connections are never persisted as rows,
+// Builds the ssh2 ConnectConfig for a remote agent. Ported from Switch Console and
+// trimmed for Switch Console (CHOO-1059): connections are never persisted as rows,
// so this only handles the transient path, and a remote agent always carries an
// `~/.ssh/config` Host alias — the canonical OpenSSH resolution via `ssh -G` is
// the source of truth. The manual-agent (no-alias hostname lookup) and
-// credential-service password paths from switchdash are dropped.
+// credential-service password paths from Switch Console are dropped.
import { readFile } from 'node:fs/promises';
import ssh2, { type BaseAgent, type ConnectConfig } from 'ssh2';
import type { SshConfig } from '@shared/core/ssh/ssh';
diff --git a/dash/apps/switchdash-desktop/src/main/core/ssh/connect/ssh-connect-auth.ts b/dash/apps/switch-console-desktop/src/main/core/ssh/connect/ssh-connect-auth.ts
similarity index 98%
rename from dash/apps/switchdash-desktop/src/main/core/ssh/connect/ssh-connect-auth.ts
rename to dash/apps/switch-console-desktop/src/main/core/ssh/connect/ssh-connect-auth.ts
index 8ca4a6c1e..ce0b8482f 100644
--- a/dash/apps/switchdash-desktop/src/main/core/ssh/connect/ssh-connect-auth.ts
+++ b/dash/apps/switch-console-desktop/src/main/core/ssh/connect/ssh-connect-auth.ts
@@ -1,5 +1,5 @@
// Auth assembly: password, key, and agent selection with IdentitiesOnly
-// filtering. Ported from switchdash and trimmed for switchdash (CHOO-1059): inputs
+// filtering. Ported from Switch Console and trimmed for Switch Console (CHOO-1059): inputs
// are always transient, so password/passphrase come inline from the connect
// config rather than a credential-service lookup keyed by a persisted row id.
import ssh2, {
diff --git a/dash/apps/switchdash-desktop/src/main/core/ssh/connect/ssh-connect-forward-agent.ts b/dash/apps/switch-console-desktop/src/main/core/ssh/connect/ssh-connect-forward-agent.ts
similarity index 96%
rename from dash/apps/switchdash-desktop/src/main/core/ssh/connect/ssh-connect-forward-agent.ts
rename to dash/apps/switch-console-desktop/src/main/core/ssh/connect/ssh-connect-forward-agent.ts
index 45fe45aa9..f59211e7e 100644
--- a/dash/apps/switchdash-desktop/src/main/core/ssh/connect/ssh-connect-forward-agent.ts
+++ b/dash/apps/switch-console-desktop/src/main/core/ssh/connect/ssh-connect-forward-agent.ts
@@ -1,5 +1,5 @@
-// ForwardAgent socket resolution and compatibility checks. Ported from switchdash
-// for switchdash remote-SSH agents (CHOO-1059).
+// ForwardAgent socket resolution and compatibility checks. Ported from Switch Console
+// for Switch Console remote-SSH agents (CHOO-1059).
import type { ConnectConfig } from 'ssh2';
import {
resolveAgentSocketFromResolved,
diff --git a/dash/apps/switchdash-desktop/src/main/core/ssh/connect/ssh-resolver.ts b/dash/apps/switch-console-desktop/src/main/core/ssh/connect/ssh-resolver.ts
similarity index 92%
rename from dash/apps/switchdash-desktop/src/main/core/ssh/connect/ssh-resolver.ts
rename to dash/apps/switch-console-desktop/src/main/core/ssh/connect/ssh-resolver.ts
index fd840a3da..6b9c2b0ea 100644
--- a/dash/apps/switchdash-desktop/src/main/core/ssh/connect/ssh-resolver.ts
+++ b/dash/apps/switch-console-desktop/src/main/core/ssh/connect/ssh-resolver.ts
@@ -9,7 +9,7 @@ import { resolveSshConnectConfig } from './resolve-ssh-connect-config';
*
* host/port/username in the transient config are fallbacks: the real values
* (and identity/agent) are resolved from the alias via `ssh -G`. Auth goes
- * through the SSH agent — switchdash stores no credentials of its own.
+ * through the SSH agent — Switch Console stores no credentials of its own.
*/
export function registerSshResolver(connectionId: string, sshHost: string): void {
sshConnectionManager.register(connectionId, () =>
diff --git a/dash/apps/switchdash-desktop/src/main/core/ssh/connect/test-connection.test.ts b/dash/apps/switch-console-desktop/src/main/core/ssh/connect/test-connection.test.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/main/core/ssh/connect/test-connection.test.ts
rename to dash/apps/switch-console-desktop/src/main/core/ssh/connect/test-connection.test.ts
diff --git a/dash/apps/switchdash-desktop/src/main/core/ssh/connect/test-connection.ts b/dash/apps/switch-console-desktop/src/main/core/ssh/connect/test-connection.ts
similarity index 97%
rename from dash/apps/switchdash-desktop/src/main/core/ssh/connect/test-connection.ts
rename to dash/apps/switch-console-desktop/src/main/core/ssh/connect/test-connection.ts
index 26c381125..1275195d0 100644
--- a/dash/apps/switchdash-desktop/src/main/core/ssh/connect/test-connection.ts
+++ b/dash/apps/switch-console-desktop/src/main/core/ssh/connect/test-connection.ts
@@ -1,5 +1,5 @@
// Ad-hoc SSH reachability probe used by the remote-agent preflight. Ported from
-// switchdash for switchdash (CHOO-1059).
+// Switch Console for Switch Console (CHOO-1059).
import ssh2, { type Client, type ConnectConfig } from 'ssh2';
import type { ConnectionTestResult, SshConfig } from '@shared/core/ssh/ssh';
import type { SshConnectResult, TransientConnectInput } from './resolve-ssh-connect-config';
diff --git a/dash/apps/switchdash-desktop/src/main/core/ssh/lifecycle/production-ssh-connection-manager.ts b/dash/apps/switch-console-desktop/src/main/core/ssh/lifecycle/production-ssh-connection-manager.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/main/core/ssh/lifecycle/production-ssh-connection-manager.ts
rename to dash/apps/switch-console-desktop/src/main/core/ssh/lifecycle/production-ssh-connection-manager.ts
diff --git a/dash/apps/switchdash-desktop/src/main/core/ssh/lifecycle/remote-shell-profile.test.ts b/dash/apps/switch-console-desktop/src/main/core/ssh/lifecycle/remote-shell-profile.test.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/main/core/ssh/lifecycle/remote-shell-profile.test.ts
rename to dash/apps/switch-console-desktop/src/main/core/ssh/lifecycle/remote-shell-profile.test.ts
diff --git a/dash/apps/switchdash-desktop/src/main/core/ssh/lifecycle/remote-shell-profile.ts b/dash/apps/switch-console-desktop/src/main/core/ssh/lifecycle/remote-shell-profile.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/main/core/ssh/lifecycle/remote-shell-profile.ts
rename to dash/apps/switch-console-desktop/src/main/core/ssh/lifecycle/remote-shell-profile.ts
diff --git a/dash/apps/switchdash-desktop/src/main/core/ssh/lifecycle/ssh-agent-forward-refusal.ts b/dash/apps/switch-console-desktop/src/main/core/ssh/lifecycle/ssh-agent-forward-refusal.ts
similarity index 96%
rename from dash/apps/switchdash-desktop/src/main/core/ssh/lifecycle/ssh-agent-forward-refusal.ts
rename to dash/apps/switch-console-desktop/src/main/core/ssh/lifecycle/ssh-agent-forward-refusal.ts
index 0e5634433..b0df75756 100644
--- a/dash/apps/switchdash-desktop/src/main/core/ssh/lifecycle/ssh-agent-forward-refusal.ts
+++ b/dash/apps/switch-console-desktop/src/main/core/ssh/lifecycle/ssh-agent-forward-refusal.ts
@@ -8,7 +8,7 @@ import type { Client } from 'ssh2';
* channel and errors the exec/shell, so a host refusing an optional extra makes
* every command on it fail. OpenSSH sends the same request with no reply
* expected and never notices the refusal, which is why `ssh <host>` works on
- * exactly the hosts switchdash could not reach.
+ * exactly the hosts Switch Console could not reach.
*/
export function isAgentForwardRefusal(error: unknown): boolean {
const message =
diff --git a/dash/apps/switchdash-desktop/src/main/core/ssh/lifecycle/ssh-channel-open-failure.test.ts b/dash/apps/switch-console-desktop/src/main/core/ssh/lifecycle/ssh-channel-open-failure.test.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/main/core/ssh/lifecycle/ssh-channel-open-failure.test.ts
rename to dash/apps/switch-console-desktop/src/main/core/ssh/lifecycle/ssh-channel-open-failure.test.ts
diff --git a/dash/apps/switchdash-desktop/src/main/core/ssh/lifecycle/ssh-channel-open-failure.ts b/dash/apps/switch-console-desktop/src/main/core/ssh/lifecycle/ssh-channel-open-failure.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/main/core/ssh/lifecycle/ssh-channel-open-failure.ts
rename to dash/apps/switch-console-desktop/src/main/core/ssh/lifecycle/ssh-channel-open-failure.ts
diff --git a/dash/apps/switchdash-desktop/src/main/core/ssh/lifecycle/ssh-client-proxy.test.ts b/dash/apps/switch-console-desktop/src/main/core/ssh/lifecycle/ssh-client-proxy.test.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/main/core/ssh/lifecycle/ssh-client-proxy.test.ts
rename to dash/apps/switch-console-desktop/src/main/core/ssh/lifecycle/ssh-client-proxy.test.ts
diff --git a/dash/apps/switchdash-desktop/src/main/core/ssh/lifecycle/ssh-client-proxy.ts b/dash/apps/switch-console-desktop/src/main/core/ssh/lifecycle/ssh-client-proxy.ts
similarity index 99%
rename from dash/apps/switchdash-desktop/src/main/core/ssh/lifecycle/ssh-client-proxy.ts
rename to dash/apps/switch-console-desktop/src/main/core/ssh/lifecycle/ssh-client-proxy.ts
index 8ed3089ee..03fc57387 100644
--- a/dash/apps/switchdash-desktop/src/main/core/ssh/lifecycle/ssh-client-proxy.ts
+++ b/dash/apps/switch-console-desktop/src/main/core/ssh/lifecycle/ssh-client-proxy.ts
@@ -138,7 +138,7 @@ export class SshClientProxy {
* rather than a dead one. Returns true when forwarding was just switched off
* and the caller should retry its channel open once.
*
- * The capability is optional — switchdash needs none of it, and it is only
+ * The capability is optional — Switch Console needs none of it, and it is only
* requested because the user's ssh config asks for it — so a host that
* declines it (`AllowAgentForwarding no`) must not lose every remote command.
* The loss is real for anything on the host relying on the forwarded agent
diff --git a/dash/apps/switchdash-desktop/src/main/core/ssh/lifecycle/ssh-connection-manager.test.ts b/dash/apps/switch-console-desktop/src/main/core/ssh/lifecycle/ssh-connection-manager.test.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/main/core/ssh/lifecycle/ssh-connection-manager.test.ts
rename to dash/apps/switch-console-desktop/src/main/core/ssh/lifecycle/ssh-connection-manager.test.ts
diff --git a/dash/apps/switchdash-desktop/src/main/core/ssh/lifecycle/ssh-connection-manager.ts b/dash/apps/switch-console-desktop/src/main/core/ssh/lifecycle/ssh-connection-manager.ts
similarity index 99%
rename from dash/apps/switchdash-desktop/src/main/core/ssh/lifecycle/ssh-connection-manager.ts
rename to dash/apps/switch-console-desktop/src/main/core/ssh/lifecycle/ssh-connection-manager.ts
index ea4ec1997..880949f8e 100644
--- a/dash/apps/switchdash-desktop/src/main/core/ssh/lifecycle/ssh-connection-manager.ts
+++ b/dash/apps/switch-console-desktop/src/main/core/ssh/lifecycle/ssh-connection-manager.ts
@@ -45,7 +45,7 @@ export type SshConnectionManagerEvent =
/**
* Resolves a fresh ssh2 ConnectConfig (and proxy transport) for a connection.
* Called on every (re)connect because proxy socks are single-use — a stored
- * config can't be replayed after a transport teardown. In switchdash this wraps
+ * config can't be replayed after a transport teardown. In Switch Console this wraps
* the remote agent's `sshHost` alias through `resolveSshConnectConfig`.
*/
export type SshConnectResolver = () => Promise<SshConnectResult>;
diff --git a/dash/apps/switchdash-desktop/src/main/core/ssh/transport/transports.test.ts b/dash/apps/switch-console-desktop/src/main/core/ssh/transport/transports.test.ts
similarity index 98%
rename from dash/apps/switchdash-desktop/src/main/core/ssh/transport/transports.test.ts
rename to dash/apps/switch-console-desktop/src/main/core/ssh/transport/transports.test.ts
index 4f41aacd5..17cd645d0 100644
--- a/dash/apps/switchdash-desktop/src/main/core/ssh/transport/transports.test.ts
+++ b/dash/apps/switch-console-desktop/src/main/core/ssh/transport/transports.test.ts
@@ -225,7 +225,7 @@ describe('spawnProxyCommand', () => {
]);
});
it('provides a duplex socket and cleanup for a real child process', async () => {
- const dir = await mkdtemp(join(tmpdir(), 'switchdash-proxy-command-'));
+ const dir = await mkdtemp(join(tmpdir(), 'switch-console-proxy-command-'));
const script = join(dir, 'proxy.js');
await writeFile(
script,
@@ -296,7 +296,7 @@ describe('terminateProxyChild', () => {
describe('bounded proxy debug logs', () => {
it('keeps only the newest stderr lines', async () => {
- const dir = await mkdtemp(join(tmpdir(), 'switchdash-proxy-logs-'));
+ const dir = await mkdtemp(join(tmpdir(), 'switch-console-proxy-logs-'));
const script = join(dir, 'proxy.js');
await writeFile(
script,
diff --git a/dash/apps/switchdash-desktop/src/main/core/ssh/transport/transports.ts b/dash/apps/switch-console-desktop/src/main/core/ssh/transport/transports.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/main/core/ssh/transport/transports.ts
rename to dash/apps/switch-console-desktop/src/main/core/ssh/transport/transports.ts
diff --git a/dash/apps/switchdash-desktop/src/main/core/switch-rooms/auto-session-store.ts b/dash/apps/switch-console-desktop/src/main/core/switch-rooms/auto-session-store.ts
similarity index 97%
rename from dash/apps/switchdash-desktop/src/main/core/switch-rooms/auto-session-store.ts
rename to dash/apps/switch-console-desktop/src/main/core/switch-rooms/auto-session-store.ts
index 455d7935f..d42bf362e 100644
--- a/dash/apps/switchdash-desktop/src/main/core/switch-rooms/auto-session-store.ts
+++ b/dash/apps/switch-console-desktop/src/main/core/switch-rooms/auto-session-store.ts
@@ -48,7 +48,7 @@ export async function setAutoSessionAgent(agentId: string, enabled: boolean): Pr
/**
* Local mirror of which subagents have `auto_session` enabled. A subagent has no
- * switchdash agent row of its own, so it is keyed by its parent's local agent id
+ * Switch Console agent row of its own, so it is keyed by its parent's local agent id
* plus its bare name. Stored as a JSON array of `{ parentAgentId, name }`.
*/
const SUBAGENT_KEY = 'auto_session_subagents';
diff --git a/dash/apps/switchdash-desktop/src/main/core/switch-rooms/auto-session-watcher.test.ts b/dash/apps/switch-console-desktop/src/main/core/switch-rooms/auto-session-watcher.test.ts
similarity index 98%
rename from dash/apps/switchdash-desktop/src/main/core/switch-rooms/auto-session-watcher.test.ts
rename to dash/apps/switch-console-desktop/src/main/core/switch-rooms/auto-session-watcher.test.ts
index fd3b94dbb..2b3ef8ad1 100644
--- a/dash/apps/switchdash-desktop/src/main/core/switch-rooms/auto-session-watcher.test.ts
+++ b/dash/apps/switch-console-desktop/src/main/core/switch-rooms/auto-session-watcher.test.ts
@@ -171,12 +171,12 @@ describe('AutoSessionWatcher.handleNotification', () => {
});
/**
- * The restore window: switchdash has a session for this room, but its
+ * The restore window: Switch Console has a session for this room, but its
* connection has not claimed the room yet — so the server still reports the
* room as unattended and delivers the event here.
*
* The server owns "who is in this room" once it has been told. Before that
- * there are windows only switchdash can see: a session booting, and one being
+ * there are windows only Switch Console can see: a session booting, and one being
* restored after a restart. Spawning in either gives the user a second
* session beside a working one.
*/
diff --git a/dash/apps/switchdash-desktop/src/main/core/switch-rooms/auto-session-watcher.ts b/dash/apps/switch-console-desktop/src/main/core/switch-rooms/auto-session-watcher.ts
similarity index 98%
rename from dash/apps/switchdash-desktop/src/main/core/switch-rooms/auto-session-watcher.ts
rename to dash/apps/switch-console-desktop/src/main/core/switch-rooms/auto-session-watcher.ts
index eae49f2fe..315b4ee58 100644
--- a/dash/apps/switchdash-desktop/src/main/core/switch-rooms/auto-session-watcher.ts
+++ b/dash/apps/switch-console-desktop/src/main/core/switch-rooms/auto-session-watcher.ts
@@ -184,7 +184,7 @@ class AutoSessionWatcher {
if (this.watchers.has(localAgentId)) return;
// Remote agents are watched by their on-VM notification-watcher daemon, so
- // it keeps auto-starting sessions while switchdash is closed. Watching them
+ // it keeps auto-starting sessions while Switch Console is closed. Watching them
// here too would double-poll the agent's notification stream, so skip.
const agent = await getAgentById(localAgentId);
if (agent && (await getRemoteAgentLocation(agent))) {
@@ -325,7 +325,7 @@ class AutoSessionWatcher {
* `all` scope means the server delivers every room the agent belongs to
* *except* those a session's connection has claimed. That is the split-brain
* fix: "a session is already attending this room" stops being a fact
- * switchdash keeps its own copy of and starts being one the server enforces —
+ * Switch Console keeps its own copy of and starts being one the server enforces —
* we simply never hear about a covered room.
*/
private startStream(watcher: AgentWatcher): void {
@@ -382,7 +382,7 @@ class AutoSessionWatcher {
* There is no longer a "does a session already cover this room?" check here.
* The server answers that by never delivering the event: a session's
* connection claims the room and this `all`-scope connection goes dark on it.
- * Keeping a local copy of that fact is what let switchdash and Switch
+ * Keeping a local copy of that fact is what let Switch Console and Switch
* disagree — a stale map meaning either a duplicate session or none at all.
*
* The in-flight guard is a different thing and stays: it covers the window
diff --git a/dash/apps/switchdash-desktop/src/main/core/switch-rooms/controller.ts b/dash/apps/switch-console-desktop/src/main/core/switch-rooms/controller.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/main/core/switch-rooms/controller.ts
rename to dash/apps/switch-console-desktop/src/main/core/switch-rooms/controller.ts
diff --git a/dash/apps/switchdash-desktop/src/main/core/switch-rooms/injection-sink.test.ts b/dash/apps/switch-console-desktop/src/main/core/switch-rooms/injection-sink.test.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/main/core/switch-rooms/injection-sink.test.ts
rename to dash/apps/switch-console-desktop/src/main/core/switch-rooms/injection-sink.test.ts
diff --git a/dash/apps/switchdash-desktop/src/main/core/switch-rooms/injection-sink.ts b/dash/apps/switch-console-desktop/src/main/core/switch-rooms/injection-sink.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/main/core/switch-rooms/injection-sink.ts
rename to dash/apps/switch-console-desktop/src/main/core/switch-rooms/injection-sink.ts
diff --git a/dash/apps/switchdash-desktop/src/main/core/switch-rooms/mattermost-embed.ts b/dash/apps/switch-console-desktop/src/main/core/switch-rooms/mattermost-embed.ts
similarity index 97%
rename from dash/apps/switchdash-desktop/src/main/core/switch-rooms/mattermost-embed.ts
rename to dash/apps/switch-console-desktop/src/main/core/switch-rooms/mattermost-embed.ts
index 0b56cd178..2d8508060 100644
--- a/dash/apps/switchdash-desktop/src/main/core/switch-rooms/mattermost-embed.ts
+++ b/dash/apps/switch-console-desktop/src/main/core/switch-rooms/mattermost-embed.ts
@@ -83,7 +83,7 @@ async function installMattermostSession(origin: string, serverId: string): Promi
}
/**
- * Apply switchdash's palette to the Mattermost account the embed signs in as.
+ * Apply Switch Console's palette to the Mattermost account the embed signs in as.
*
* Mattermost stores this as a per-user preference, so it themes itself rather
* than us overriding its stylesheet from the guest preload — menus, hovers and
@@ -125,7 +125,7 @@ async function applyMattermostTheme(
});
if (!saved.ok) throw new Error(`PUT /preferences returned ${saved.status}`);
} catch (cause) {
- log.warn('Could not apply the switchdash theme to Mattermost; using its defaults', {
+ log.warn('Could not apply the Switch Console theme to Mattermost; using its defaults', {
reason: cause instanceof Error ? cause.message : String(cause),
});
}
diff --git a/dash/apps/switchdash-desktop/src/main/core/switch-rooms/mattermost-origin.ts b/dash/apps/switch-console-desktop/src/main/core/switch-rooms/mattermost-origin.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/main/core/switch-rooms/mattermost-origin.ts
rename to dash/apps/switch-console-desktop/src/main/core/switch-rooms/mattermost-origin.ts
diff --git a/dash/apps/switchdash-desktop/src/main/core/switch-rooms/npm-registry-auth.test.ts b/dash/apps/switch-console-desktop/src/main/core/switch-rooms/npm-registry-auth.test.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/main/core/switch-rooms/npm-registry-auth.test.ts
rename to dash/apps/switch-console-desktop/src/main/core/switch-rooms/npm-registry-auth.test.ts
diff --git a/dash/apps/switchdash-desktop/src/main/core/switch-rooms/npm-registry-auth.ts b/dash/apps/switch-console-desktop/src/main/core/switch-rooms/npm-registry-auth.ts
similarity index 98%
rename from dash/apps/switchdash-desktop/src/main/core/switch-rooms/npm-registry-auth.ts
rename to dash/apps/switch-console-desktop/src/main/core/switch-rooms/npm-registry-auth.ts
index 761e3b5db..5637f0ef4 100644
--- a/dash/apps/switchdash-desktop/src/main/core/switch-rooms/npm-registry-auth.ts
+++ b/dash/apps/switch-console-desktop/src/main/core/switch-rooms/npm-registry-auth.ts
@@ -23,7 +23,7 @@ import { switchToolsUnavailableEvent } from '@shared/events/switchSetupEvents';
const execFileAsync = promisify(execFile);
/**
- * Registry access for sessions switchdash starts, local and remote.
+ * Registry access for sessions Switch Console starts, local and remote.
*
* Both functions here return an empty environment when `gh` has no usable
* token. The caller should start the session anyway: one with no MCP server is
@@ -107,7 +107,7 @@ function localNpmrcPath(): string {
* The npmrc is ours, not the user's: `~/.npmrc` is their configuration and
* editing it to make our plugin work is a reach, while a file in their project
* shows up in git status. `npm_config_userconfig` makes npm read ours instead,
- * confining the footprint to switchdash's own directory.
+ * confining the footprint to Switch Console's own directory.
*/
export async function npmRegistryAuthEnv(): Promise<Record<string, string>> {
const token = await getGithubTokenFromGhCli();
diff --git a/dash/apps/switchdash-desktop/src/main/core/switch-rooms/open-channel.test.ts b/dash/apps/switch-console-desktop/src/main/core/switch-rooms/open-channel.test.ts
similarity index 96%
rename from dash/apps/switchdash-desktop/src/main/core/switch-rooms/open-channel.test.ts
rename to dash/apps/switch-console-desktop/src/main/core/switch-rooms/open-channel.test.ts
index 1e17352a6..4ace2526e 100644
--- a/dash/apps/switchdash-desktop/src/main/core/switch-rooms/open-channel.test.ts
+++ b/dash/apps/switch-console-desktop/src/main/core/switch-rooms/open-channel.test.ts
@@ -14,7 +14,7 @@ describe('openRoomChannel', () => {
openExternal.mockResolvedValue(undefined);
});
- it('opens a Mattermost channel on the origin switchdash reaches it on', async () => {
+ it('opens a Mattermost channel on the origin Switch Console reaches it on', async () => {
// The deeplink itself only opens the desktop app; the web address opens
// either way, which is the whole point of the fix.
await openRoomChannel({
diff --git a/dash/apps/switchdash-desktop/src/main/core/switch-rooms/open-channel.ts b/dash/apps/switch-console-desktop/src/main/core/switch-rooms/open-channel.ts
similarity index 95%
rename from dash/apps/switchdash-desktop/src/main/core/switch-rooms/open-channel.ts
rename to dash/apps/switch-console-desktop/src/main/core/switch-rooms/open-channel.ts
index 9cdc5e052..68286ce81 100644
--- a/dash/apps/switchdash-desktop/src/main/core/switch-rooms/open-channel.ts
+++ b/dash/apps/switch-console-desktop/src/main/core/switch-rooms/open-channel.ts
@@ -3,7 +3,7 @@ import { browserUrlForChannelLink } from '@shared/core/switch-rooms/channel-link
import { mattermostOriginFor } from './mattermost-origin';
/**
- * Open a room's bridged channel outside switchdash.
+ * Open a room's bridged channel outside Switch Console.
*
* The gateway describes a channel with the link its platform prefers, which for
* Mattermost and Slack is one only their desktop app answers. Handing that
diff --git a/dash/apps/switchdash-desktop/src/main/core/switch-rooms/plugin-prompt-injector.ts b/dash/apps/switch-console-desktop/src/main/core/switch-rooms/plugin-prompt-injector.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/main/core/switch-rooms/plugin-prompt-injector.ts
rename to dash/apps/switch-console-desktop/src/main/core/switch-rooms/plugin-prompt-injector.ts
diff --git a/dash/apps/switchdash-desktop/src/main/core/switch-rooms/restore-sessions.test.ts b/dash/apps/switch-console-desktop/src/main/core/switch-rooms/restore-sessions.test.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/main/core/switch-rooms/restore-sessions.test.ts
rename to dash/apps/switch-console-desktop/src/main/core/switch-rooms/restore-sessions.test.ts
diff --git a/dash/apps/switchdash-desktop/src/main/core/switch-rooms/restore-sessions.ts b/dash/apps/switch-console-desktop/src/main/core/switch-rooms/restore-sessions.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/main/core/switch-rooms/restore-sessions.ts
rename to dash/apps/switch-console-desktop/src/main/core/switch-rooms/restore-sessions.ts
diff --git a/dash/apps/switchdash-desktop/src/main/core/switch-rooms/room-connection.test.ts b/dash/apps/switch-console-desktop/src/main/core/switch-rooms/room-connection.test.ts
similarity index 99%
rename from dash/apps/switchdash-desktop/src/main/core/switch-rooms/room-connection.test.ts
rename to dash/apps/switch-console-desktop/src/main/core/switch-rooms/room-connection.test.ts
index 22a50b319..eb51aad31 100644
--- a/dash/apps/switchdash-desktop/src/main/core/switch-rooms/room-connection.test.ts
+++ b/dash/apps/switch-console-desktop/src/main/core/switch-rooms/room-connection.test.ts
@@ -984,7 +984,7 @@ describe('RoomConnection', () => {
/**
* The room comes from the server, on this connection's own stream.
*
- * switchdash used to learn it by reading the agent's `connect_to_room` tool
+ * Switch Console used to learn it by reading the agent's `connect_to_room` tool
* response through a hook — inference about another process, from a payload
* shape nobody had agreed to keep stable. It broke the moment that shape
* changed, and the failure was silent: no room in the sidebar, and no
diff --git a/dash/apps/switchdash-desktop/src/main/core/switch-rooms/room-connection.ts b/dash/apps/switch-console-desktop/src/main/core/switch-rooms/room-connection.ts
similarity index 99%
rename from dash/apps/switchdash-desktop/src/main/core/switch-rooms/room-connection.ts
rename to dash/apps/switch-console-desktop/src/main/core/switch-rooms/room-connection.ts
index 07ab72078..e74f64170 100644
--- a/dash/apps/switchdash-desktop/src/main/core/switch-rooms/room-connection.ts
+++ b/dash/apps/switch-console-desktop/src/main/core/switch-rooms/room-connection.ts
@@ -152,7 +152,7 @@ export interface RoomConnectionDeps {
* session exists to handle.
*/
startCursor?: number;
- /** The switchdash session id of the session this connection drives, so
+ /** The Switch Console session id of the session this connection drives, so
* the deeplink can resolve to the exact session on any client (the shared
* session id is the same across clients; the local room mapping is not). */
sessionId: string;
@@ -174,13 +174,13 @@ export interface RoomConnectionDeps {
/**
* Directory to materialise inbound image attachments into so the agent can
* Read them. Local files, mirroring the connector channel's media dir; each
- * environment supplies its own (a switchdash temp dir locally, a VM-local
+ * environment supplies its own (a Switch Console temp dir locally, a VM-local
* temp dir in the sidecar).
*/
mediaDir: string;
/**
* Called when the server reports which room this connection covers — on
- * connect, and again whenever it changes. This is how switchdash learns a
+ * connect, and again whenever it changes. This is how Switch Console learns a
* session's room: from Switch, on the connection the session's own
* `connect_to_room` call landed on.
*/
@@ -370,7 +370,7 @@ export class RoomConnection {
*
* The server is the authority: the session's `connect_to_room` claimed the
* room on this connection, and this is that fact arriving. Nothing else is
- * allowed to set the room — inferring it anywhere else is what let switchdash
+ * allowed to set the room — inferring it anywhere else is what let Switch Console
* and Switch disagree.
*
* A `single`-scope connection covers at most one room, so anything else in
@@ -433,7 +433,7 @@ export class RoomConnection {
/**
* The `<scheme>://session?…` deeplink for this managed session, sent with the
* runtime-state report so the bridge can link the working / awaiting-input
- * message back to switchdash. switchdash owns this link — switch-core relays
+ * message back to Switch Console. Switch Console owns this link — switch-core relays
* it verbatim. Resolution is by room, so `server`/`agent` are advisory.
*/
private sessionDeeplink(): string {
diff --git a/dash/apps/switchdash-desktop/src/main/core/switch-rooms/session-connection-id.test.ts b/dash/apps/switch-console-desktop/src/main/core/switch-rooms/session-connection-id.test.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/main/core/switch-rooms/session-connection-id.test.ts
rename to dash/apps/switch-console-desktop/src/main/core/switch-rooms/session-connection-id.test.ts
diff --git a/dash/apps/switchdash-desktop/src/main/core/switch-rooms/session-connection-id.ts b/dash/apps/switch-console-desktop/src/main/core/switch-rooms/session-connection-id.ts
similarity index 94%
rename from dash/apps/switchdash-desktop/src/main/core/switch-rooms/session-connection-id.ts
rename to dash/apps/switch-console-desktop/src/main/core/switch-rooms/session-connection-id.ts
index 9cf191d51..016647cad 100644
--- a/dash/apps/switchdash-desktop/src/main/core/switch-rooms/session-connection-id.ts
+++ b/dash/apps/switch-console-desktop/src/main/core/switch-rooms/session-connection-id.ts
@@ -4,7 +4,7 @@ import { createHash } from 'node:crypto';
* The Switch connection id a session's tool calls are expected to arrive on,
* derived from the session id.
*
- * A supervisor (switchdash or the on-host sidecar) opens the connection before
+ * A supervisor (Switch Console or the on-host sidecar) opens the connection before
* the session launches and hands the id over in `SWITCH_CONNECTION_ID`. The
* agent reads that variable once, at startup, and stamps it on every tool call
* for the rest of its life. A random id therefore only survives as long as the
@@ -23,7 +23,7 @@ import { createHash } from 'node:crypto';
* across every agent — which is what the UUIDv5 hash buys over anything shorter
* or more readable.
*
- * Only one supervisor derives an id for any given session: switchdash's poller
+ * Only one supervisor derives an id for any given session: Switch Console's poller
* declines remote sessions, which are the sidecar's. Two supervisors deriving
* for the same session would fight over one connection.
*/
diff --git a/dash/apps/switchdash-desktop/src/main/core/switch-rooms/session-control.test.ts b/dash/apps/switch-console-desktop/src/main/core/switch-rooms/session-control.test.ts
similarity index 97%
rename from dash/apps/switchdash-desktop/src/main/core/switch-rooms/session-control.test.ts
rename to dash/apps/switch-console-desktop/src/main/core/switch-rooms/session-control.test.ts
index 69f98eab4..800924707 100644
--- a/dash/apps/switchdash-desktop/src/main/core/switch-rooms/session-control.test.ts
+++ b/dash/apps/switch-console-desktop/src/main/core/switch-rooms/session-control.test.ts
@@ -11,7 +11,7 @@ const ctx: SessionControlContext = {
};
describe('resolveSessionControl', () => {
- it('reports no support for a provider switchdash cannot drive', () => {
+ it('reports no support for a provider Switch Console cannot drive', () => {
const control = resolveSessionControl('gemini');
expect(control.capabilities).toEqual({ reset: false, compact: false, interrupt: false });
expect(control.plan('interrupt', ctx)).toBeNull();
diff --git a/dash/apps/switchdash-desktop/src/main/core/switch-rooms/session-control.ts b/dash/apps/switch-console-desktop/src/main/core/switch-rooms/session-control.ts
similarity index 98%
rename from dash/apps/switchdash-desktop/src/main/core/switch-rooms/session-control.ts
rename to dash/apps/switch-console-desktop/src/main/core/switch-rooms/session-control.ts
index 140593a8e..2f3e95585 100644
--- a/dash/apps/switchdash-desktop/src/main/core/switch-rooms/session-control.ts
+++ b/dash/apps/switch-console-desktop/src/main/core/switch-rooms/session-control.ts
@@ -4,7 +4,7 @@
*
* Resolved by `providerId`, mirroring `PluginPromptInjector` — the switch-core
* side declares whether a command is supported at all (per agent-type) and
- * whether it depends on the session; this module is the switchdash half that
+ * whether it depends on the session; this module is the Switch Console half that
* (a) reports which commands a live session can actually execute, and (b)
* turns a queued `command` event into concrete keystrokes for the injection
* sink. A provider with no entry supports none of the commands.
diff --git a/dash/apps/switchdash-desktop/src/main/core/switch-rooms/session-room-store.db.test.ts b/dash/apps/switch-console-desktop/src/main/core/switch-rooms/session-room-store.db.test.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/main/core/switch-rooms/session-room-store.db.test.ts
rename to dash/apps/switch-console-desktop/src/main/core/switch-rooms/session-room-store.db.test.ts
diff --git a/dash/apps/switchdash-desktop/src/main/core/switch-rooms/session-room-store.ts b/dash/apps/switch-console-desktop/src/main/core/switch-rooms/session-room-store.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/main/core/switch-rooms/session-room-store.ts
rename to dash/apps/switch-console-desktop/src/main/core/switch-rooms/session-room-store.ts
diff --git a/dash/apps/switchdash-desktop/src/main/core/switch-rooms/switch-credentials.test.ts b/dash/apps/switch-console-desktop/src/main/core/switch-rooms/switch-credentials.test.ts
similarity index 98%
rename from dash/apps/switchdash-desktop/src/main/core/switch-rooms/switch-credentials.test.ts
rename to dash/apps/switch-console-desktop/src/main/core/switch-rooms/switch-credentials.test.ts
index 1628abaa6..b821bb9ee 100644
--- a/dash/apps/switchdash-desktop/src/main/core/switch-rooms/switch-credentials.test.ts
+++ b/dash/apps/switch-console-desktop/src/main/core/switch-rooms/switch-credentials.test.ts
@@ -1,4 +1,4 @@
-import type { PluginFs } from '@switchdash/core/agents/plugins';
+import type { PluginFs } from '@switch-console/core/agents/plugins';
import { beforeEach, describe, expect, it, vi } from 'vitest';
import { agentSettingsRelativePath } from '@main/core/agents/switch-settings-paths';
import { parseSwitchAgentCredentials, readAgentSwitchEnvFromFs } from './switch-credentials';
diff --git a/dash/apps/switchdash-desktop/src/main/core/switch-rooms/switch-credentials.ts b/dash/apps/switch-console-desktop/src/main/core/switch-rooms/switch-credentials.ts
similarity index 98%
rename from dash/apps/switchdash-desktop/src/main/core/switch-rooms/switch-credentials.ts
rename to dash/apps/switch-console-desktop/src/main/core/switch-rooms/switch-credentials.ts
index 91af7d29e..1e53e273f 100644
--- a/dash/apps/switchdash-desktop/src/main/core/switch-rooms/switch-credentials.ts
+++ b/dash/apps/switch-console-desktop/src/main/core/switch-rooms/switch-credentials.ts
@@ -1,6 +1,6 @@
import { promises as fs } from 'node:fs';
import path from 'node:path';
-import type { PluginFs } from '@switchdash/core/agents/plugins';
+import type { PluginFs } from '@switch-console/core/agents/plugins';
import {
agentSettingsRelativePath,
SWITCH_SETTINGS_RELATIVE_PATH,
diff --git a/dash/apps/switchdash-desktop/src/main/core/switch-rooms/switch-event-format.test.ts b/dash/apps/switch-console-desktop/src/main/core/switch-rooms/switch-event-format.test.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/main/core/switch-rooms/switch-event-format.test.ts
rename to dash/apps/switch-console-desktop/src/main/core/switch-rooms/switch-event-format.test.ts
diff --git a/dash/apps/switchdash-desktop/src/main/core/switch-rooms/switch-event-format.ts b/dash/apps/switch-console-desktop/src/main/core/switch-rooms/switch-event-format.ts
similarity index 98%
rename from dash/apps/switchdash-desktop/src/main/core/switch-rooms/switch-event-format.ts
rename to dash/apps/switch-console-desktop/src/main/core/switch-rooms/switch-event-format.ts
index bb1fd9696..e5a61ad40 100644
--- a/dash/apps/switchdash-desktop/src/main/core/switch-rooms/switch-event-format.ts
+++ b/dash/apps/switch-console-desktop/src/main/core/switch-rooms/switch-event-format.ts
@@ -4,7 +4,7 @@
* The event *shapes* are protocol, and live in
* `@sandbox-quantum/switch-agent-runtime`; they are re-exported here so the
* many call sites that import both from this module keep working. What is
- * genuinely switchdash's is below: turning an event into the line a human (and
+ * genuinely Switch Console's is below: turning an event into the line a human (and
* an agent reading its own terminal) sees.
*/
diff --git a/dash/apps/switchdash-desktop/src/main/core/switch-rooms/switch-notification-poller.ts b/dash/apps/switch-console-desktop/src/main/core/switch-rooms/switch-notification-poller.ts
similarity index 96%
rename from dash/apps/switchdash-desktop/src/main/core/switch-rooms/switch-notification-poller.ts
rename to dash/apps/switch-console-desktop/src/main/core/switch-rooms/switch-notification-poller.ts
index d987a0c71..dbbe9d4b9 100644
--- a/dash/apps/switchdash-desktop/src/main/core/switch-rooms/switch-notification-poller.ts
+++ b/dash/apps/switch-console-desktop/src/main/core/switch-rooms/switch-notification-poller.ts
@@ -23,8 +23,8 @@ import { switchRoomService, type SessionRoomContext } from './switch-room-servic
/**
* Polls the Switch agent bridge for room events on behalf of each live session
- * switchdash manages, and injects addressed messages / task events into the
- * session's PTY as keystrokes. This is the switchdash-side counterpart to the
+ * Switch Console manages, and injects addressed messages / task events into the
+ * session's PTY as keystrokes. This is the Switch Console-side counterpart to the
* in-session connector channel; only one of the two polls a given session's
* room at a time (see the cede mechanism — managed sessions disable the
* channel's own poll loop).
@@ -106,10 +106,10 @@ class SwitchNotificationPoller {
/**
* Point a session at a room the hook told us about.
*
- * This is the **fallback** path. When switchdash launched the session it
+ * This is the **fallback** path. When Switch Console launched the session it
* handed over a connection id, the session's `connect_to_room` claimed the
* room on it, and the server has already told us — so by the time this runs
- * there is nothing to do. It still matters for a session switchdash only
+ * there is nothing to do. It still matters for a session Switch Console only
* adopted, which has its own connection and never saw our id.
*
* Idempotent for the same room, so the common no-op stays a no-op.
@@ -218,10 +218,10 @@ class SwitchNotificationPoller {
noteAgentName(creds.agentId, slug);
const ptySessionId = makeAgentPtySessionId(location.id, ctx.sessionId);
- // Derived, not random: a tmux-backed session survives switchdash quitting,
+ // Derived, not random: a tmux-backed session survives Switch Console quitting,
// and reattaching to a live pane cannot revise the environment it was
// launched with — the `-e` flags only apply to a pane being created. So a
- // restarted switchdash has to arrive at the id that pane already holds.
+ // restarted Switch Console has to arrive at the id that pane already holds.
const connectionId = sessionConnectionId(ctx.sessionId);
// Consumed, not just read: it belongs to this session's launch, and a
// later session must not rewind to a message this one already handled.
@@ -251,7 +251,7 @@ class SwitchNotificationPoller {
control: resolveSessionControl(ctx.providerId),
deeplinkScheme: DEEPLINK_SCHEME,
isHumanTyping: () => isHumanInputRecent(ptySessionId),
- mediaDir: path.join(os.tmpdir(), 'switchdash-switch-media', ctx.sessionId),
+ mediaDir: path.join(os.tmpdir(), 'switch-console-switch-media', ctx.sessionId),
// The server naming this connection's room is the authoritative signal,
// so it is what updates the session→room map the UI reads. The
// connect_to_room hook writes the same map, and now only matters for
diff --git a/dash/apps/switchdash-desktop/src/main/core/switch-rooms/switch-room-service.test.ts b/dash/apps/switch-console-desktop/src/main/core/switch-rooms/switch-room-service.test.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/main/core/switch-rooms/switch-room-service.test.ts
rename to dash/apps/switch-console-desktop/src/main/core/switch-rooms/switch-room-service.test.ts
diff --git a/dash/apps/switchdash-desktop/src/main/core/switch-rooms/switch-room-service.ts b/dash/apps/switch-console-desktop/src/main/core/switch-rooms/switch-room-service.ts
similarity index 97%
rename from dash/apps/switchdash-desktop/src/main/core/switch-rooms/switch-room-service.ts
rename to dash/apps/switch-console-desktop/src/main/core/switch-rooms/switch-room-service.ts
index 99ad8bf0b..ebcc866a7 100644
--- a/dash/apps/switchdash-desktop/src/main/core/switch-rooms/switch-room-service.ts
+++ b/dash/apps/switch-console-desktop/src/main/core/switch-rooms/switch-room-service.ts
@@ -1,4 +1,4 @@
-import type { IDisposable } from '@switchdash/shared';
+import type { IDisposable } from '@switch-console/shared';
import { events } from '@main/lib/events';
import { log } from '@main/lib/logger';
import type { SessionRoomConnection } from '@shared/core/switch-rooms/switch-rooms';
@@ -24,7 +24,7 @@ type ConnectionState = SessionRoomConnection & {
};
/**
- * Tracks which Switch room each live switchdash session is connected to.
+ * Tracks which Switch room each live Switch Console session is connected to.
*
* Connections are reported by the Claude `connect_to_room` PostToolUse hook
* (routed through the agent hook server) and are purely runtime state — a
@@ -134,7 +134,7 @@ class SwitchRoomService implements IDisposable {
* Mirror the room a remote session is attending, as reported by the on-VM
* sidecar's `/sessions` snapshot. Unlike setSessionRoom (the local
* connect_to_room hook path) this records the association for DISPLAY only: it
- * does not persist the connection and does not start switchdash's
+ * does not persist the connection and does not start Switch Console's
* notification poller — the sidecar owns polling and injection on the VM, and
* the reconciler re-derives the room from the live snapshot every tick, so
* there is nothing to restore across restarts. The unchanged-guard keeps the
diff --git a/dash/apps/switchdash-desktop/src/main/core/switch-rooms/tmux-injection-sink.test.ts b/dash/apps/switch-console-desktop/src/main/core/switch-rooms/tmux-injection-sink.test.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/main/core/switch-rooms/tmux-injection-sink.test.ts
rename to dash/apps/switch-console-desktop/src/main/core/switch-rooms/tmux-injection-sink.test.ts
diff --git a/dash/apps/switchdash-desktop/src/main/core/switch-rooms/tmux-injection-sink.ts b/dash/apps/switch-console-desktop/src/main/core/switch-rooms/tmux-injection-sink.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/main/core/switch-rooms/tmux-injection-sink.ts
rename to dash/apps/switch-console-desktop/src/main/core/switch-rooms/tmux-injection-sink.ts
diff --git a/dash/apps/switchdash-desktop/src/main/core/switch-servers/auth.ts b/dash/apps/switch-console-desktop/src/main/core/switch-servers/auth.ts
similarity index 97%
rename from dash/apps/switchdash-desktop/src/main/core/switch-servers/auth.ts
rename to dash/apps/switch-console-desktop/src/main/core/switch-servers/auth.ts
index 9ab978644..8506d667b 100644
--- a/dash/apps/switchdash-desktop/src/main/core/switch-servers/auth.ts
+++ b/dash/apps/switch-console-desktop/src/main/core/switch-servers/auth.ts
@@ -1,5 +1,5 @@
import { randomUUID } from 'node:crypto';
-import { err, ok, type Result } from '@switchdash/shared';
+import { err, ok, type Result } from '@switch-console/shared';
import { BrowserWindow, session as electronSession } from 'electron';
import { LOCAL_SERVER_ADMIN_EMAIL } from '@main/core/managed-switch-server/constants';
import { managedServerSecretsKey } from '@main/core/managed-switch-server/host/host-for-server';
@@ -136,13 +136,13 @@ export async function refreshSession(
}
/**
- * Silent re-login for the managed local server. switchdash generated that
+ * Silent re-login for the managed local server. Switch Console generated that
* server's admin password, so when its session is missing or expired we can
* sign in again with no user interaction — the local server is meant to be
* always signed in. Persists the fresh cookie (via `passwordLogin`) and returns
* it for immediate reuse, or `null` when re-login failed (the caller then falls
* back to the normal sign-in path). No-op for non-managed servers, whose
- * credentials switchdash does not hold.
+ * credentials Switch Console does not hold.
*/
export async function reauthenticateManagedServer(server: SwitchServer): Promise<string | null> {
if (!server.managed) return null;
diff --git a/dash/apps/switchdash-desktop/src/main/core/switch-servers/bridge-home-url.test.ts b/dash/apps/switch-console-desktop/src/main/core/switch-servers/bridge-home-url.test.ts
similarity index 95%
rename from dash/apps/switchdash-desktop/src/main/core/switch-servers/bridge-home-url.test.ts
rename to dash/apps/switch-console-desktop/src/main/core/switch-servers/bridge-home-url.test.ts
index b39f68ab2..2a3748e8b 100644
--- a/dash/apps/switchdash-desktop/src/main/core/switch-servers/bridge-home-url.test.ts
+++ b/dash/apps/switch-console-desktop/src/main/core/switch-servers/bridge-home-url.test.ts
@@ -27,9 +27,9 @@ describe('withResolvedHomeUrls', () => {
mattermostOriginFor.mockResolvedValue('http://127.0.0.1:8065');
});
- it("uses switchdash's own origin for a managed stack's Mattermost", async () => {
+ it("uses Switch Console's own origin for a managed stack's Mattermost", async () => {
// The gateway reports the in-compose address, which resolves to nothing on
- // the user's machine. switchdash published the port, so it knows better.
+ // the user's machine. Switch Console published the port, so it knows better.
const [resolved] = await withResolvedHomeUrls(MANAGED, [
bridge({ homeUrl: 'mattermost://mattermost:8065/switch' }),
]);
diff --git a/dash/apps/switchdash-desktop/src/main/core/switch-servers/bridge-home-url.ts b/dash/apps/switch-console-desktop/src/main/core/switch-servers/bridge-home-url.ts
similarity index 93%
rename from dash/apps/switchdash-desktop/src/main/core/switch-servers/bridge-home-url.ts
rename to dash/apps/switch-console-desktop/src/main/core/switch-servers/bridge-home-url.ts
index b9f24e8eb..01a623e91 100644
--- a/dash/apps/switchdash-desktop/src/main/core/switch-servers/bridge-home-url.ts
+++ b/dash/apps/switch-console-desktop/src/main/core/switch-servers/bridge-home-url.ts
@@ -5,14 +5,14 @@ import type { RemoteBridge, SwitchServer } from '@shared/core/switch-servers/swi
/**
* Resolve the link that opens each bridge's workspace, preferring one
- * switchdash can reach over one the server merely knows about.
+ * Switch Console can reach over one the server merely knows about.
*
* The gateway builds `home_url` from the bridge's connection config, which is
* right for Slack, Discord and Teams — public platforms whose URLs are the
* same everywhere. It is *wrong* for a managed stack's bundled Mattermost: the
* configured `url` is the in-compose `http://mattermost:8065`, unreachable from
* the user's machine, and `public_url` is unset because the deployment does not
- * know which port switchdash published it on. switchdash does know, so it
+ * know which port Switch Console published it on. Switch Console does know, so it
* substitutes its own origin.
*
* That substitution is also why the action works before the gateway gains the
diff --git a/dash/apps/switchdash-desktop/src/main/core/switch-servers/bundled-chat-sign-in.test.ts b/dash/apps/switch-console-desktop/src/main/core/switch-servers/bundled-chat-sign-in.test.ts
similarity index 94%
rename from dash/apps/switchdash-desktop/src/main/core/switch-servers/bundled-chat-sign-in.test.ts
rename to dash/apps/switch-console-desktop/src/main/core/switch-servers/bundled-chat-sign-in.test.ts
index 0861e0d93..3d3d7d432 100644
--- a/dash/apps/switchdash-desktop/src/main/core/switch-servers/bundled-chat-sign-in.test.ts
+++ b/dash/apps/switch-console-desktop/src/main/core/switch-servers/bundled-chat-sign-in.test.ts
@@ -38,7 +38,7 @@ describe('bundledChatSignInFor', () => {
});
});
- it('offers nothing for a server switchdash does not run', async () => {
+ it('offers nothing for a server Switch Console does not run', async () => {
const result = await bundledChatSignInFor(EXTERNAL);
expect(result.kind).toBe('unavailable');
@@ -67,7 +67,7 @@ describe('bundledChatSignInFor', () => {
it('treats a bundle missing the chat password as unavailable, not as an empty password', async () => {
// A partial bundle would otherwise render as a blank password field, which
- // reads as "the password is empty" rather than "switchdash cannot read it".
+ // reads as "the password is empty" rather than "Switch Console cannot read it".
readSecrets.mockResolvedValue({ dbPassword: 'x' });
const result = await bundledChatSignInFor(MANAGED);
diff --git a/dash/apps/switchdash-desktop/src/main/core/switch-servers/bundled-chat-sign-in.ts b/dash/apps/switch-console-desktop/src/main/core/switch-servers/bundled-chat-sign-in.ts
similarity index 94%
rename from dash/apps/switchdash-desktop/src/main/core/switch-servers/bundled-chat-sign-in.ts
rename to dash/apps/switch-console-desktop/src/main/core/switch-servers/bundled-chat-sign-in.ts
index 8a6b1a5f9..96eb9473f 100644
--- a/dash/apps/switchdash-desktop/src/main/core/switch-servers/bundled-chat-sign-in.ts
+++ b/dash/apps/switch-console-desktop/src/main/core/switch-servers/bundled-chat-sign-in.ts
@@ -8,15 +8,15 @@ import type { BundledChatSignIn, SwitchServer } from '@shared/core/switch-server
* Resolve how a user signs in to a managed deployment's bundled Mattermost.
*
* Both halves come from what this deployment actually runs, never from the
- * defaults the docs quote: the origin is built from the host port switchdash
+ * defaults the docs quote: the origin is built from the host port Switch Console
* chose and persisted for *this* stack, and the password is the generated one
- * in switchdash's encrypted store.
+ * in Switch Console's encrypted store.
*
* That store — not the `.env` docker reads — is the source of truth. The env
* file is rendered *from* the store at every start, and for a remote-managed
* stack it lives on the remote host, so reading it would be both second-hand
* and unreachable. It is also the same pair the inline chat pane already logs
- * in with, so what this shows is credentials switchdash is demonstrably using.
+ * in with, so what this shows is credentials Switch Console is demonstrably using.
*
* Every failure resolves to `unavailable` with a reason rather than throwing or
* substituting a default: a wrong-but-plausible password sends the user round a
diff --git a/dash/apps/switchdash-desktop/src/main/core/switch-servers/controller.test.ts b/dash/apps/switch-console-desktop/src/main/core/switch-servers/controller.test.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/main/core/switch-servers/controller.test.ts
rename to dash/apps/switch-console-desktop/src/main/core/switch-servers/controller.test.ts
diff --git a/dash/apps/switchdash-desktop/src/main/core/switch-servers/controller.ts b/dash/apps/switch-console-desktop/src/main/core/switch-servers/controller.ts
similarity index 98%
rename from dash/apps/switchdash-desktop/src/main/core/switch-servers/controller.ts
rename to dash/apps/switch-console-desktop/src/main/core/switch-servers/controller.ts
index 0cadb24e6..f00b43222 100644
--- a/dash/apps/switchdash-desktop/src/main/core/switch-servers/controller.ts
+++ b/dash/apps/switch-console-desktop/src/main/core/switch-servers/controller.ts
@@ -1,4 +1,4 @@
-import type { Result } from '@switchdash/shared';
+import type { Result } from '@switch-console/shared';
import { suggestAgentDefaults } from '@main/core/agents/agent-defaults';
import { resolveWorkspaceFsFor } from '@main/core/agents/agent-workspace-fs';
import { knownAgentTypeForProvider } from '@main/core/agents/known-agent-type';
@@ -159,7 +159,7 @@ export const switchServersController = createRPCController({
/**
* Open a gateway web page (operator dashboard). For the managed local server —
- * whose session switchdash owns — this opens an in-app window with the
+ * whose session Switch Console owns — this opens an in-app window with the
* `switch_auth` cookie injected, so the dashboard loads already signed in.
* Remote servers open in the OS browser as before: we can't inject our
* httponly cookie into the system browser, so an authenticated in-app window
@@ -229,7 +229,7 @@ export const switchServersController = createRPCController({
* Attach a collaboration bridge to the chosen server (CHOO-1784).
*
* `params.connectionConfig` carries platform credentials. They cross the IPC
- * boundary once, on the way out, and are never written to switchdash's disk
+ * boundary once, on the way out, and are never written to Switch Console's disk
* or returned to the renderer — the server stores them. Keep it that way: do
* not log `params` here.
*/
diff --git a/dash/apps/switchdash-desktop/src/main/core/switch-servers/create-bridge.test.ts b/dash/apps/switch-console-desktop/src/main/core/switch-servers/create-bridge.test.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/main/core/switch-servers/create-bridge.test.ts
rename to dash/apps/switch-console-desktop/src/main/core/switch-servers/create-bridge.test.ts
diff --git a/dash/apps/switchdash-desktop/src/main/core/switch-servers/create-bridge.ts b/dash/apps/switch-console-desktop/src/main/core/switch-servers/create-bridge.ts
similarity index 96%
rename from dash/apps/switchdash-desktop/src/main/core/switch-servers/create-bridge.ts
rename to dash/apps/switch-console-desktop/src/main/core/switch-servers/create-bridge.ts
index faf834dde..25299dcb2 100644
--- a/dash/apps/switchdash-desktop/src/main/core/switch-servers/create-bridge.ts
+++ b/dash/apps/switch-console-desktop/src/main/core/switch-servers/create-bridge.ts
@@ -14,7 +14,7 @@ import type {
*
* Nothing here logs `params.connectionConfig`, and nothing returns it. The
* credentials exist in this process only for the duration of the call —
- * switchdash never persists them; the server is where they live.
+ * Switch Console never persists them; the server is where they live.
*/
export async function createBridgeOnServer(
server: SwitchServer,
diff --git a/dash/apps/switchdash-desktop/src/main/core/switch-servers/create-room.test.ts b/dash/apps/switch-console-desktop/src/main/core/switch-servers/create-room.test.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/main/core/switch-servers/create-room.test.ts
rename to dash/apps/switch-console-desktop/src/main/core/switch-servers/create-room.test.ts
diff --git a/dash/apps/switchdash-desktop/src/main/core/switch-servers/create-room.ts b/dash/apps/switch-console-desktop/src/main/core/switch-servers/create-room.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/main/core/switch-servers/create-room.ts
rename to dash/apps/switch-console-desktop/src/main/core/switch-servers/create-room.ts
diff --git a/dash/apps/switchdash-desktop/src/main/core/switch-servers/delete-server-agents.db.test.ts b/dash/apps/switch-console-desktop/src/main/core/switch-servers/delete-server-agents.db.test.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/main/core/switch-servers/delete-server-agents.db.test.ts
rename to dash/apps/switch-console-desktop/src/main/core/switch-servers/delete-server-agents.db.test.ts
diff --git a/dash/apps/switchdash-desktop/src/main/core/switch-servers/delete-server-agents.ts b/dash/apps/switch-console-desktop/src/main/core/switch-servers/delete-server-agents.ts
similarity index 96%
rename from dash/apps/switchdash-desktop/src/main/core/switch-servers/delete-server-agents.ts
rename to dash/apps/switch-console-desktop/src/main/core/switch-servers/delete-server-agents.ts
index b670aeb32..7d5fcdb6f 100644
--- a/dash/apps/switchdash-desktop/src/main/core/switch-servers/delete-server-agents.ts
+++ b/dash/apps/switch-console-desktop/src/main/core/switch-servers/delete-server-agents.ts
@@ -11,7 +11,7 @@ import { log } from '@main/lib/logger';
* Wiping a managed stack destroys the server-side identity behind each of its
* agents: the token in the agent's on-disk Switch settings authenticates
* nothing, and its API endpoint is a port that will never be listened on again.
- * An agent left in that state is not merely idle — switchdash restores its
+ * An agent left in that state is not merely idle — Switch Console restores its
* room-connected sessions on every launch, and each one polls a dead endpoint
* for as long as the app runs.
*
diff --git a/dash/apps/switchdash-desktop/src/main/core/switch-servers/gateway-client.test.ts b/dash/apps/switch-console-desktop/src/main/core/switch-servers/gateway-client.test.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/main/core/switch-servers/gateway-client.test.ts
rename to dash/apps/switch-console-desktop/src/main/core/switch-servers/gateway-client.test.ts
diff --git a/dash/apps/switchdash-desktop/src/main/core/switch-servers/gateway-client.ts b/dash/apps/switch-console-desktop/src/main/core/switch-servers/gateway-client.ts
similarity index 99%
rename from dash/apps/switchdash-desktop/src/main/core/switch-servers/gateway-client.ts
rename to dash/apps/switch-console-desktop/src/main/core/switch-servers/gateway-client.ts
index 8b5e19f15..77e986019 100644
--- a/dash/apps/switchdash-desktop/src/main/core/switch-servers/gateway-client.ts
+++ b/dash/apps/switch-console-desktop/src/main/core/switch-servers/gateway-client.ts
@@ -125,7 +125,7 @@ type FetchOptions = {
/**
* Resolve the `switch_auth` cookie to attach to an authenticated call, renewing
* proactively when near expiry. When no session is stored, the managed local
- * server mints one silently (switchdash holds its admin creds); any other server
+ * server mints one silently (Switch Console holds its admin creds); any other server
* has no way to authenticate silently, so this raises `unauthorized`.
*/
async function resolveAuthCookie(server: SwitchServer): Promise<string> {
@@ -281,7 +281,7 @@ export type RegisterKnownAgentOptions = {
repo_dir?: string;
notify_user?: string;
/** When true, the agent registers with the `auto_session` connection model:
- * switchdash watches its rooms and auto-spawns a session on notification. */
+ * Switch Console watches its rooms and auto-spawns a session on notification. */
auto_session?: boolean;
};
@@ -729,7 +729,7 @@ export async function registerSubagentsBulk(
/**
* Delete an agent on `server` (session-authed `DELETE /agents/{agentId}`). Used
- * to deregister a subagent's child identity when it is removed from switchdash.
+ * to deregister a subagent's child identity when it is removed from Switch Console.
* The signed-in user must own the agent.
*/
export async function deleteAgent(server: SwitchServer, agentId: string): Promise<void> {
@@ -851,7 +851,7 @@ export async function removeRoomAgent(
* signed-in user. Provisioning stays entirely server-side — this is the same
* endpoint the operator web app posts to.
*
- * `bridgeId` is required by switchdash even though the gateway allows an
+ * `bridgeId` is required by Switch Console even though the gateway allows an
* unbridged room: a room with no messaging app attached is unreachable for the
* humans it is being created for. `channel_type` is always `channel_public` for
* now; the gateway demands the field whenever a new channel is provisioned.
diff --git a/dash/apps/switchdash-desktop/src/main/core/switch-servers/gateway-web.test.ts b/dash/apps/switch-console-desktop/src/main/core/switch-servers/gateway-web.test.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/main/core/switch-servers/gateway-web.test.ts
rename to dash/apps/switch-console-desktop/src/main/core/switch-servers/gateway-web.test.ts
diff --git a/dash/apps/switchdash-desktop/src/main/core/switch-servers/gateway-web.ts b/dash/apps/switch-console-desktop/src/main/core/switch-servers/gateway-web.ts
similarity index 96%
rename from dash/apps/switchdash-desktop/src/main/core/switch-servers/gateway-web.ts
rename to dash/apps/switch-console-desktop/src/main/core/switch-servers/gateway-web.ts
index 759ef5a55..90cffecc9 100644
--- a/dash/apps/switchdash-desktop/src/main/core/switch-servers/gateway-web.ts
+++ b/dash/apps/switch-console-desktop/src/main/core/switch-servers/gateway-web.ts
@@ -12,7 +12,7 @@ const SWITCH_AUTH_COOKIE = 'switch_auth';
* `switch_auth` cookie, so we open an Electron window and inject the stored
* cookie into its isolated session before loading — the reverse of what OIDC
* login does when it reads the cookie back out. For the managed local server we
- * mint a session first (switchdash holds its admin creds) so the page is always
+ * mint a session first (Switch Console holds its admin creds) so the page is always
* authenticated; other servers open with whatever session is stored, falling
* back to the gateway's own sign-in page if none.
*
diff --git a/dash/apps/switchdash-desktop/src/main/core/switch-servers/servers-store.db.test.ts b/dash/apps/switch-console-desktop/src/main/core/switch-servers/servers-store.db.test.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/main/core/switch-servers/servers-store.db.test.ts
rename to dash/apps/switch-console-desktop/src/main/core/switch-servers/servers-store.db.test.ts
diff --git a/dash/apps/switchdash-desktop/src/main/core/switch-servers/servers-store.ts b/dash/apps/switch-console-desktop/src/main/core/switch-servers/servers-store.ts
similarity index 96%
rename from dash/apps/switchdash-desktop/src/main/core/switch-servers/servers-store.ts
rename to dash/apps/switch-console-desktop/src/main/core/switch-servers/servers-store.ts
index 20023ce7b..58af19ce7 100644
--- a/dash/apps/switchdash-desktop/src/main/core/switch-servers/servers-store.ts
+++ b/dash/apps/switch-console-desktop/src/main/core/switch-servers/servers-store.ts
@@ -66,7 +66,7 @@ export async function getServer(id: string): Promise<SwitchServer | null> {
return row ? mapRow(row) : null;
}
-/** The single LOCAL managed server switchdash runs on this machine, or null.
+/** The single LOCAL managed server Switch Console runs on this machine, or null.
* Legacy managed rows with no kind count as local. */
export async function getManagedServer(): Promise<SwitchServer | null> {
const [row] = await db
@@ -83,7 +83,7 @@ export async function getManagedServer(): Promise<SwitchServer | null> {
return row ? mapRow(row) : null;
}
-/** The managed server switchdash runs on a given remote host, or null. */
+/** The managed server Switch Console runs on a given remote host, or null. */
export async function getRemoteManagedServer(sshHost: string): Promise<SwitchServer | null> {
const [row] = await db
.select()
@@ -99,7 +99,7 @@ export async function getRemoteManagedServer(sshHost: string): Promise<SwitchSer
return row ? mapRow(row) : null;
}
-/** Every server switchdash runs itself (local + all remote hosts). */
+/** Every server Switch Console runs itself (local + all remote hosts). */
export async function listManagedServers(): Promise<SwitchServer[]> {
const rows = await db.select().from(switchServers).where(eq(switchServers.managed, true));
return rows.map(mapRow);
@@ -246,7 +246,7 @@ export async function setActiveServerId(id: string): Promise<void> {
// ---------------------------------------------------------------------------
export async function getSessionCookie(serverId: string): Promise<string | null> {
- return encryptedAppSecretsStore.getSecret(cookieSecretKey(serverId));
+ return encryptedAppSecretsStore.readRecoverableSecret(cookieSecretKey(serverId));
}
export async function setSessionCookie(serverId: string, jwt: string): Promise<void> {
diff --git a/dash/apps/switchdash-desktop/src/main/core/switch-setup/controller.ts b/dash/apps/switch-console-desktop/src/main/core/switch-setup/controller.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/main/core/switch-setup/controller.ts
rename to dash/apps/switch-console-desktop/src/main/core/switch-setup/controller.ts
diff --git a/dash/apps/switchdash-desktop/src/main/core/switch-setup/local-gh-auth.test.ts b/dash/apps/switch-console-desktop/src/main/core/switch-setup/local-gh-auth.test.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/main/core/switch-setup/local-gh-auth.test.ts
rename to dash/apps/switch-console-desktop/src/main/core/switch-setup/local-gh-auth.test.ts
diff --git a/dash/apps/switchdash-desktop/src/main/core/switch-setup/local-gh-auth.ts b/dash/apps/switch-console-desktop/src/main/core/switch-setup/local-gh-auth.ts
similarity index 98%
rename from dash/apps/switchdash-desktop/src/main/core/switch-setup/local-gh-auth.ts
rename to dash/apps/switch-console-desktop/src/main/core/switch-setup/local-gh-auth.ts
index 7647d5ffa..ca8f981b0 100644
--- a/dash/apps/switchdash-desktop/src/main/core/switch-setup/local-gh-auth.ts
+++ b/dash/apps/switch-console-desktop/src/main/core/switch-setup/local-gh-auth.ts
@@ -33,7 +33,7 @@ export type LocalGhAuthStatus = {
*
* Worth its own field rather than folding into the others: it is the one
* state that re-authenticating does not fix, so the UI has to say something
- * different. `gh` prefers `GH_TOKEN`/`GITHUB_TOKEN`, and switchdash inherits
+ * different. `gh` prefers `GH_TOKEN`/`GITHUB_TOKEN`, and Switch Console inherits
* whatever the user's shell exported.
*/
envShadowed: boolean;
diff --git a/dash/apps/switchdash-desktop/src/main/core/switch-setup/remote-switch-setup.test.ts b/dash/apps/switch-console-desktop/src/main/core/switch-setup/remote-switch-setup.test.ts
similarity index 99%
rename from dash/apps/switchdash-desktop/src/main/core/switch-setup/remote-switch-setup.test.ts
rename to dash/apps/switch-console-desktop/src/main/core/switch-setup/remote-switch-setup.test.ts
index b165ac21b..42e958add 100644
--- a/dash/apps/switchdash-desktop/src/main/core/switch-setup/remote-switch-setup.test.ts
+++ b/dash/apps/switch-console-desktop/src/main/core/switch-setup/remote-switch-setup.test.ts
@@ -18,7 +18,7 @@ vi.mock('@main/core/ssh/connect/connect-agent-ssh', () => ({
ensureSshConnected: mocks.ensureSshConnected,
}));
-vi.mock('@switchdash/core/deps/runtime', () => ({
+vi.mock('@switch-console/core/deps/runtime', () => ({
resolveCommandPath: mocks.resolveCommandPath,
}));
diff --git a/dash/apps/switchdash-desktop/src/main/core/switch-setup/remote-switch-setup.ts b/dash/apps/switch-console-desktop/src/main/core/switch-setup/remote-switch-setup.ts
similarity index 98%
rename from dash/apps/switchdash-desktop/src/main/core/switch-setup/remote-switch-setup.ts
rename to dash/apps/switch-console-desktop/src/main/core/switch-setup/remote-switch-setup.ts
index b51bb2538..ed63b07f0 100644
--- a/dash/apps/switchdash-desktop/src/main/core/switch-setup/remote-switch-setup.ts
+++ b/dash/apps/switch-console-desktop/src/main/core/switch-setup/remote-switch-setup.ts
@@ -1,4 +1,4 @@
-import { resolveCommandPath } from '@switchdash/core/deps/runtime';
+import { resolveCommandPath } from '@switch-console/core/deps/runtime';
import { SshExecutionContext } from '@main/core/execution-context/ssh-execution-context';
import { sshConnectionIdForHost } from '@main/core/locations/location-transport';
import { ensureSshConnected } from '@main/core/ssh/connect/connect-agent-ssh';
@@ -18,7 +18,7 @@ type RunResult = { code: number; stdout: string; stderr: string };
/**
* Join path segments for the remote host, which is POSIX regardless of what
- * switchdash is running on. `node:path`'s `join` would emit backslashes on a
+ * Switch Console is running on. `node:path`'s `join` would emit backslashes on a
* Windows desktop and the `cat` would fail on the host.
*/
function posixJoin(...segments: string[]): string {
diff --git a/dash/apps/switchdash-desktop/src/main/core/switch-setup/switch-setup-cli-dialect.test.ts b/dash/apps/switch-console-desktop/src/main/core/switch-setup/switch-setup-cli-dialect.test.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/main/core/switch-setup/switch-setup-cli-dialect.test.ts
rename to dash/apps/switch-console-desktop/src/main/core/switch-setup/switch-setup-cli-dialect.test.ts
diff --git a/dash/apps/switchdash-desktop/src/main/core/switch-setup/switch-setup-cli-dialect.ts b/dash/apps/switch-console-desktop/src/main/core/switch-setup/switch-setup-cli-dialect.ts
similarity index 99%
rename from dash/apps/switchdash-desktop/src/main/core/switch-setup/switch-setup-cli-dialect.ts
rename to dash/apps/switch-console-desktop/src/main/core/switch-setup/switch-setup-cli-dialect.ts
index 63fb2b9f2..2febcde7f 100644
--- a/dash/apps/switchdash-desktop/src/main/core/switch-setup/switch-setup-cli-dialect.ts
+++ b/dash/apps/switch-console-desktop/src/main/core/switch-setup/switch-setup-cli-dialect.ts
@@ -1,4 +1,4 @@
-import type { SwitchSetupCliDialect } from '@switchdash/core/agents/plugins';
+import type { SwitchSetupCliDialect } from '@switch-console/core/agents/plugins';
/**
* One installed plugin, normalised across CLI dialects.
diff --git a/dash/apps/switchdash-desktop/src/main/core/switch-setup/switch-setup-service.test.ts b/dash/apps/switch-console-desktop/src/main/core/switch-setup/switch-setup-service.test.ts
similarity index 99%
rename from dash/apps/switchdash-desktop/src/main/core/switch-setup/switch-setup-service.test.ts
rename to dash/apps/switch-console-desktop/src/main/core/switch-setup/switch-setup-service.test.ts
index 1d7a61317..b7e45080d 100644
--- a/dash/apps/switchdash-desktop/src/main/core/switch-setup/switch-setup-service.test.ts
+++ b/dash/apps/switch-console-desktop/src/main/core/switch-setup/switch-setup-service.test.ts
@@ -17,7 +17,7 @@ vi.mock('@main/core/execution-context/local-execution-context', () => ({
},
}));
-vi.mock('@switchdash/core/deps/runtime', () => ({
+vi.mock('@switch-console/core/deps/runtime', () => ({
resolveCommandPath: mocks.resolveCommandPath,
}));
diff --git a/dash/apps/switchdash-desktop/src/main/core/switch-setup/switch-setup-service.ts b/dash/apps/switch-console-desktop/src/main/core/switch-setup/switch-setup-service.ts
similarity index 99%
rename from dash/apps/switchdash-desktop/src/main/core/switch-setup/switch-setup-service.ts
rename to dash/apps/switch-console-desktop/src/main/core/switch-setup/switch-setup-service.ts
index 7e811f83b..6a398d06e 100644
--- a/dash/apps/switchdash-desktop/src/main/core/switch-setup/switch-setup-service.ts
+++ b/dash/apps/switch-console-desktop/src/main/core/switch-setup/switch-setup-service.ts
@@ -1,6 +1,6 @@
import { readFile } from 'node:fs/promises';
import { join } from 'node:path';
-import { resolveCommandPath } from '@switchdash/core/deps/runtime';
+import { resolveCommandPath } from '@switch-console/core/deps/runtime';
import { LocalExecutionContext } from '@main/core/execution-context/local-execution-context';
import { log } from '@main/lib/logger';
import { isNewerVersion } from '@main/lib/semver';
diff --git a/dash/apps/switchdash-desktop/src/main/core/terminal-shell/resolver.test.ts b/dash/apps/switch-console-desktop/src/main/core/terminal-shell/resolver.test.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/main/core/terminal-shell/resolver.test.ts
rename to dash/apps/switch-console-desktop/src/main/core/terminal-shell/resolver.test.ts
diff --git a/dash/apps/switchdash-desktop/src/main/core/terminal-shell/resolver.ts b/dash/apps/switch-console-desktop/src/main/core/terminal-shell/resolver.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/main/core/terminal-shell/resolver.ts
rename to dash/apps/switch-console-desktop/src/main/core/terminal-shell/resolver.ts
diff --git a/dash/apps/switchdash-desktop/src/main/core/terminal-shell/types.ts b/dash/apps/switch-console-desktop/src/main/core/terminal-shell/types.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/main/core/terminal-shell/types.ts
rename to dash/apps/switch-console-desktop/src/main/core/terminal-shell/types.ts
diff --git a/dash/apps/switchdash-desktop/src/main/core/terminals/getTerminalShellAvailability.ts b/dash/apps/switch-console-desktop/src/main/core/terminals/getTerminalShellAvailability.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/main/core/terminals/getTerminalShellAvailability.ts
rename to dash/apps/switch-console-desktop/src/main/core/terminals/getTerminalShellAvailability.ts
diff --git a/dash/apps/switchdash-desktop/src/main/core/terminals/impl/local-terminal-provider.test.ts b/dash/apps/switch-console-desktop/src/main/core/terminals/impl/local-terminal-provider.test.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/main/core/terminals/impl/local-terminal-provider.test.ts
rename to dash/apps/switch-console-desktop/src/main/core/terminals/impl/local-terminal-provider.test.ts
diff --git a/dash/apps/switchdash-desktop/src/main/core/terminals/impl/local-terminal-provider.ts b/dash/apps/switch-console-desktop/src/main/core/terminals/impl/local-terminal-provider.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/main/core/terminals/impl/local-terminal-provider.ts
rename to dash/apps/switch-console-desktop/src/main/core/terminals/impl/local-terminal-provider.ts
diff --git a/dash/apps/switchdash-desktop/src/main/core/terminals/impl/ssh-terminal-provider.test.ts b/dash/apps/switch-console-desktop/src/main/core/terminals/impl/ssh-terminal-provider.test.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/main/core/terminals/impl/ssh-terminal-provider.test.ts
rename to dash/apps/switch-console-desktop/src/main/core/terminals/impl/ssh-terminal-provider.test.ts
diff --git a/dash/apps/switchdash-desktop/src/main/core/terminals/impl/ssh-terminal-provider.ts b/dash/apps/switch-console-desktop/src/main/core/terminals/impl/ssh-terminal-provider.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/main/core/terminals/impl/ssh-terminal-provider.ts
rename to dash/apps/switch-console-desktop/src/main/core/terminals/impl/ssh-terminal-provider.ts
diff --git a/dash/apps/switchdash-desktop/src/main/core/terminals/lifecycle-script-coordinator.test.ts b/dash/apps/switch-console-desktop/src/main/core/terminals/lifecycle-script-coordinator.test.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/main/core/terminals/lifecycle-script-coordinator.test.ts
rename to dash/apps/switch-console-desktop/src/main/core/terminals/lifecycle-script-coordinator.test.ts
diff --git a/dash/apps/switchdash-desktop/src/main/core/terminals/lifecycle-script-coordinator.ts b/dash/apps/switch-console-desktop/src/main/core/terminals/lifecycle-script-coordinator.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/main/core/terminals/lifecycle-script-coordinator.ts
rename to dash/apps/switch-console-desktop/src/main/core/terminals/lifecycle-script-coordinator.ts
diff --git a/dash/apps/switchdash-desktop/src/main/core/terminals/lifecycle-script-settings.ts b/dash/apps/switch-console-desktop/src/main/core/terminals/lifecycle-script-settings.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/main/core/terminals/lifecycle-script-settings.ts
rename to dash/apps/switch-console-desktop/src/main/core/terminals/lifecycle-script-settings.ts
diff --git a/dash/apps/switchdash-desktop/src/main/core/terminals/prepareLifecycleScript.ts b/dash/apps/switch-console-desktop/src/main/core/terminals/prepareLifecycleScript.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/main/core/terminals/prepareLifecycleScript.ts
rename to dash/apps/switch-console-desktop/src/main/core/terminals/prepareLifecycleScript.ts
diff --git a/dash/apps/switchdash-desktop/src/main/core/terminals/runLifecycleScript.test.ts b/dash/apps/switch-console-desktop/src/main/core/terminals/runLifecycleScript.test.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/main/core/terminals/runLifecycleScript.test.ts
rename to dash/apps/switch-console-desktop/src/main/core/terminals/runLifecycleScript.test.ts
diff --git a/dash/apps/switchdash-desktop/src/main/core/terminals/runLifecycleScript.ts b/dash/apps/switch-console-desktop/src/main/core/terminals/runLifecycleScript.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/main/core/terminals/runLifecycleScript.ts
rename to dash/apps/switch-console-desktop/src/main/core/terminals/runLifecycleScript.ts
diff --git a/dash/apps/switchdash-desktop/src/main/core/terminals/terminal-provider.ts b/dash/apps/switch-console-desktop/src/main/core/terminals/terminal-provider.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/main/core/terminals/terminal-provider.ts
rename to dash/apps/switch-console-desktop/src/main/core/terminals/terminal-provider.ts
diff --git a/dash/apps/switchdash-desktop/src/main/core/updates/controller.ts b/dash/apps/switch-console-desktop/src/main/core/updates/controller.ts
similarity index 93%
rename from dash/apps/switchdash-desktop/src/main/core/updates/controller.ts
rename to dash/apps/switch-console-desktop/src/main/core/updates/controller.ts
index fe05e1f5b..59b9a3a7c 100644
--- a/dash/apps/switchdash-desktop/src/main/core/updates/controller.ts
+++ b/dash/apps/switch-console-desktop/src/main/core/updates/controller.ts
@@ -1,7 +1,7 @@
import { app, shell } from 'electron';
import { updateService } from '@main/core/updates/update-service';
import { createRPCController } from '@shared/lib/ipc/rpc';
-import { SWITCHDASH_RELEASES_URL } from '@shared/urls';
+import { SWITCH_CONSOLE_RELEASES_URL } from '@shared/urls';
import { formatUpdaterError } from './utils';
export const updateController = createRPCController({
@@ -34,7 +34,7 @@ export const updateController = createRPCController({
openLatest: async () => {
try {
- await shell.openExternal(SWITCHDASH_RELEASES_URL);
+ await shell.openExternal(SWITCH_CONSOLE_RELEASES_URL);
setTimeout(() => {
try {
app.quit();
diff --git a/dash/apps/switchdash-desktop/src/main/core/updates/dev-harness.test.ts b/dash/apps/switch-console-desktop/src/main/core/updates/dev-harness.test.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/main/core/updates/dev-harness.test.ts
rename to dash/apps/switch-console-desktop/src/main/core/updates/dev-harness.test.ts
diff --git a/dash/apps/switchdash-desktop/src/main/core/updates/dev-harness.ts b/dash/apps/switch-console-desktop/src/main/core/updates/dev-harness.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/main/core/updates/dev-harness.ts
rename to dash/apps/switch-console-desktop/src/main/core/updates/dev-harness.ts
diff --git a/dash/apps/switchdash-desktop/src/main/core/updates/github-token.ts b/dash/apps/switch-console-desktop/src/main/core/updates/github-token.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/main/core/updates/github-token.ts
rename to dash/apps/switch-console-desktop/src/main/core/updates/github-token.ts
diff --git a/dash/apps/switchdash-desktop/src/main/core/updates/update-service.ts b/dash/apps/switch-console-desktop/src/main/core/updates/update-service.ts
similarity index 98%
rename from dash/apps/switchdash-desktop/src/main/core/updates/update-service.ts
rename to dash/apps/switch-console-desktop/src/main/core/updates/update-service.ts
index 8f32c7d61..8d545ac38 100644
--- a/dash/apps/switchdash-desktop/src/main/core/updates/update-service.ts
+++ b/dash/apps/switch-console-desktop/src/main/core/updates/update-service.ts
@@ -1,4 +1,4 @@
-import type { IDisposable, IInitializable } from '@switchdash/shared';
+import type { IDisposable, IInitializable } from '@switch-console/shared';
import _electronUpdater, {
type ProgressInfo,
type UpdateInfo,
@@ -24,7 +24,7 @@ import {
updateNotAvailableEvent,
updateProgressEvent,
} from '@shared/events/updateEvents';
-import { switchdashReleaseApiUrl } from '@shared/urls';
+import { switchConsoleReleaseApiUrl } from '@shared/urls';
import {
FAKE_UPDATE_VERSION_ENV_VAR,
FakeUpdateDriver,
@@ -289,7 +289,7 @@ class UpdateService implements IInitializable, IDisposable {
// A private repo needs electron-updater's authenticated provider
// (api.github.com); the public releases.atom feed 404s and the auth header
// alone does not select it. The token goes through setFeedURL rather than
- // GH_TOKEN: the environment is inherited by every child process switchdash
+ // GH_TOKEN: the environment is inherited by every child process Switch Console
// spawns — including `gh` itself, which prefers GH_TOKEN over the keyring —
// so a token left there outlives the login it came from and shadows the
// next one until the app restarts.
@@ -440,7 +440,7 @@ class UpdateService implements IInitializable, IDisposable {
// The release feed is a private repo: an unauthenticated read 404s on
// every release, so reuse the token the update check already relies on.
const token = await getGithubTokenFromGhCli();
- const response = await fetch(switchdashReleaseApiUrl(version), {
+ const response = await fetch(switchConsoleReleaseApiUrl(version), {
headers: token ? { authorization: `token ${token}` } : {},
});
diff --git a/dash/apps/switchdash-desktop/src/main/core/updates/utils.ts b/dash/apps/switch-console-desktop/src/main/core/updates/utils.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/main/core/updates/utils.ts
rename to dash/apps/switch-console-desktop/src/main/core/updates/utils.ts
diff --git a/dash/apps/switchdash-desktop/src/main/core/utils/compensation.test.ts b/dash/apps/switch-console-desktop/src/main/core/utils/compensation.test.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/main/core/utils/compensation.test.ts
rename to dash/apps/switch-console-desktop/src/main/core/utils/compensation.test.ts
diff --git a/dash/apps/switchdash-desktop/src/main/core/utils/compensation.ts b/dash/apps/switch-console-desktop/src/main/core/utils/compensation.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/main/core/utils/compensation.ts
rename to dash/apps/switch-console-desktop/src/main/core/utils/compensation.ts
diff --git a/dash/apps/switchdash-desktop/src/main/core/utils/exec.ts b/dash/apps/switch-console-desktop/src/main/core/utils/exec.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/main/core/utils/exec.ts
rename to dash/apps/switch-console-desktop/src/main/core/utils/exec.ts
diff --git a/dash/apps/switchdash-desktop/src/main/core/utils/ttl-cache.test.ts b/dash/apps/switch-console-desktop/src/main/core/utils/ttl-cache.test.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/main/core/utils/ttl-cache.test.ts
rename to dash/apps/switch-console-desktop/src/main/core/utils/ttl-cache.test.ts
diff --git a/dash/apps/switchdash-desktop/src/main/core/utils/ttl-cache.ts b/dash/apps/switch-console-desktop/src/main/core/utils/ttl-cache.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/main/core/utils/ttl-cache.ts
rename to dash/apps/switch-console-desktop/src/main/core/utils/ttl-cache.ts
diff --git a/dash/apps/switchdash-desktop/src/main/core/view-state/controller.ts b/dash/apps/switch-console-desktop/src/main/core/view-state/controller.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/main/core/view-state/controller.ts
rename to dash/apps/switch-console-desktop/src/main/core/view-state/controller.ts
diff --git a/dash/apps/switchdash-desktop/src/main/core/view-state/view-state-service.ts b/dash/apps/switch-console-desktop/src/main/core/view-state/view-state-service.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/main/core/view-state/view-state-service.ts
rename to dash/apps/switch-console-desktop/src/main/core/view-state/view-state-service.ts
diff --git a/dash/apps/switchdash-desktop/src/main/db/client.ts b/dash/apps/switch-console-desktop/src/main/db/client.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/main/db/client.ts
rename to dash/apps/switch-console-desktop/src/main/db/client.ts
diff --git a/dash/apps/switchdash-desktop/src/main/db/database-file.db.test.ts b/dash/apps/switch-console-desktop/src/main/db/database-file.db.test.ts
similarity index 98%
rename from dash/apps/switchdash-desktop/src/main/db/database-file.db.test.ts
rename to dash/apps/switch-console-desktop/src/main/db/database-file.db.test.ts
index b79b12c8e..c5f0d63de 100644
--- a/dash/apps/switchdash-desktop/src/main/db/database-file.db.test.ts
+++ b/dash/apps/switch-console-desktop/src/main/db/database-file.db.test.ts
@@ -30,7 +30,7 @@ describe('resolveDefaultDatabasePath (emdash -> switchdash migration)', () => {
let dir: string;
beforeEach(() => {
- dir = mkdtempSync(join(tmpdir(), 'switchdash-db-'));
+ dir = mkdtempSync(join(tmpdir(), 'switch-console-db-'));
});
afterEach(() => {
diff --git a/dash/apps/switchdash-desktop/src/main/db/database-file.ts b/dash/apps/switch-console-desktop/src/main/db/database-file.ts
similarity index 95%
rename from dash/apps/switchdash-desktop/src/main/db/database-file.ts
rename to dash/apps/switch-console-desktop/src/main/db/database-file.ts
index 30859b619..eaca56979 100644
--- a/dash/apps/switchdash-desktop/src/main/db/database-file.ts
+++ b/dash/apps/switch-console-desktop/src/main/db/database-file.ts
@@ -43,7 +43,7 @@ export function resolveDefaultDatabasePath(userDataPath: string): string {
}
// Migrate forward from the newest pre-rebrand database that exists, so an
- // install upgrading across the emdash->switchdash rename keeps its data.
+ // install upgrading across the emdash->Switch Console rename keeps its data.
for (const legacyFilename of LEGACY_DB_FILENAMES) {
const legacyPath = join(userDataPath, legacyFilename);
if (fs.existsSync(legacyPath)) {
diff --git a/dash/apps/switchdash-desktop/src/main/db/default-path.ts b/dash/apps/switch-console-desktop/src/main/db/default-path.ts
similarity index 95%
rename from dash/apps/switchdash-desktop/src/main/db/default-path.ts
rename to dash/apps/switch-console-desktop/src/main/db/default-path.ts
index 8f859bb6d..33960da7f 100644
--- a/dash/apps/switchdash-desktop/src/main/db/default-path.ts
+++ b/dash/apps/switch-console-desktop/src/main/db/default-path.ts
@@ -3,7 +3,7 @@ import { join } from 'node:path';
export const CURRENT_DB_FILENAME = 'switchdash.db';
-// Legacy database filenames from before the switchdash rebrand, newest first.
+// Legacy database filenames from before the Switch Console rebrand, newest first.
// On first launch, if CURRENT_DB_FILENAME is absent, the newest existing legacy
// file is copied forward so upgrading installs keep their data. These names are
// the one place the pre-rebrand `emdash` identity is intentionally retained —
diff --git a/dash/apps/switchdash-desktop/src/main/db/drizzle.gen.config.ts b/dash/apps/switch-console-desktop/src/main/db/drizzle.gen.config.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/main/db/drizzle.gen.config.ts
rename to dash/apps/switch-console-desktop/src/main/db/drizzle.gen.config.ts
diff --git a/dash/apps/switchdash-desktop/src/main/db/drizzleClient.ts b/dash/apps/switch-console-desktop/src/main/db/drizzleClient.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/main/db/drizzleClient.ts
rename to dash/apps/switch-console-desktop/src/main/db/drizzleClient.ts
diff --git a/dash/apps/switchdash-desktop/src/main/db/initialize.ts b/dash/apps/switch-console-desktop/src/main/db/initialize.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/main/db/initialize.ts
rename to dash/apps/switch-console-desktop/src/main/db/initialize.ts
diff --git a/dash/apps/switchdash-desktop/src/main/db/kv.ts b/dash/apps/switch-console-desktop/src/main/db/kv.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/main/db/kv.ts
rename to dash/apps/switch-console-desktop/src/main/db/kv.ts
diff --git a/dash/apps/switchdash-desktop/src/main/db/path.ts b/dash/apps/switch-console-desktop/src/main/db/path.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/main/db/path.ts
rename to dash/apps/switch-console-desktop/src/main/db/path.ts
diff --git a/dash/apps/switchdash-desktop/src/main/db/schema.ts b/dash/apps/switch-console-desktop/src/main/db/schema.ts
similarity index 97%
rename from dash/apps/switchdash-desktop/src/main/db/schema.ts
rename to dash/apps/switch-console-desktop/src/main/db/schema.ts
index 2c65f330b..98ce833e0 100644
--- a/dash/apps/switchdash-desktop/src/main/db/schema.ts
+++ b/dash/apps/switch-console-desktop/src/main/db/schema.ts
@@ -7,7 +7,7 @@ import { sessionConfig } from '@shared/core/sessions/session-config';
import type { TerminalShellId } from '@shared/core/terminals/terminal-settings';
// ---------------------------------------------------------------------------
-// Data model (switchdash rework — diverges from upstream; see
+// Data model (Switch Console rework — diverges from upstream; see
// agents/architecture/data-model.md for the full map):
//
// locations — a working directory on a host (this machine or an SSH host)
@@ -81,7 +81,7 @@ export const appSettings = sqliteTable(
);
/**
- * A Switch server: a gateway switchdash can connect to. switchdash is
+ * A Switch server: a gateway Switch Console can connect to. Switch Console is
* multi-server — many gateways (a local dev one, a deployed pilot one) can be
* registered, and the UI works against one "active" server at a time (the
* active id is tracked in `kv` under `activeSwitchServerId`). The session JWT
@@ -104,7 +104,7 @@ export const switchServers = sqliteTable(
* `switch-gateway.*`).
*/
apiUrl: text('api_url').notNull(),
- /** True when switchdash provisions and runs this server itself via
+ /** True when Switch Console provisions and runs this server itself via
* docker compose. Managed servers get lifecycle controls (start/stop/reset)
* and are not user-editable connection records. */
managed: integer('managed', { mode: 'boolean' }).notNull().default(false),
@@ -156,7 +156,7 @@ export const agents = sqliteTable(
apiEndpoint: text('api_endpoint'),
serverId: text('server_id').references(() => switchServers.id, { onDelete: 'set null' }),
status: text('status'),
- // When set, switchdash launches this agent's CLI with its auto-approve /
+ // When set, Switch Console launches this agent's CLI with its auto-approve /
// "bypass permissions" flag (e.g. `--dangerously-skip-permissions`).
// Defaults false for local agents; onboarding seeds it true for remote
// agents (see onboard-agent). Editable per agent in location settings.
@@ -184,7 +184,7 @@ export const agents = sqliteTable(
* table.
*/
/**
- * An onboarded remote SSH host. switchdash stores no credentials — a host is
+ * An onboarded remote SSH host. Switch Console stores no credentials — a host is
* identified by its `~/.ssh/config` Host alias (`sshHost`), and auth resolves
* from the user's SSH config/agent exactly as remote agents do (CHOO-1059). This
* table only tracks *which* aliases the user has onboarded (so they can be listed
diff --git a/dash/apps/switchdash-desktop/src/main/db/tests/migrations/0029-remote-hosts.test.ts b/dash/apps/switch-console-desktop/src/main/db/tests/migrations/0029-remote-hosts.test.ts
similarity index 94%
rename from dash/apps/switchdash-desktop/src/main/db/tests/migrations/0029-remote-hosts.test.ts
rename to dash/apps/switch-console-desktop/src/main/db/tests/migrations/0029-remote-hosts.test.ts
index 44ad2cc21..901c4fb08 100644
--- a/dash/apps/switchdash-desktop/src/main/db/tests/migrations/0029-remote-hosts.test.ts
+++ b/dash/apps/switch-console-desktop/src/main/db/tests/migrations/0029-remote-hosts.test.ts
@@ -1,5 +1,5 @@
/**
- * Migration 0029 — adds the `remote_hosts` table (switchdash remote host
+ * Migration 0029 — adds the `remote_hosts` table (Switch Console remote host
* connection management). A host is an onboarded `~/.ssh/config` alias; the
* table stores no credentials. Applies all migrations on a fresh schema and
* asserts the table exists and round-trips a row.
diff --git a/dash/apps/switchdash-desktop/src/main/db/tests/migrations/0031-locations.test.ts b/dash/apps/switch-console-desktop/src/main/db/tests/migrations/0031-locations.test.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/main/db/tests/migrations/0031-locations.test.ts
rename to dash/apps/switch-console-desktop/src/main/db/tests/migrations/0031-locations.test.ts
diff --git a/dash/apps/switchdash-desktop/src/main/db/tests/migrations/0036-location-provider.test.ts b/dash/apps/switch-console-desktop/src/main/db/tests/migrations/0036-location-provider.test.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/main/db/tests/migrations/0036-location-provider.test.ts
rename to dash/apps/switch-console-desktop/src/main/db/tests/migrations/0036-location-provider.test.ts
diff --git a/dash/apps/switchdash-desktop/src/main/db/tests/migrations/0041-delete-leaked-tagged-sessions.test.ts b/dash/apps/switch-console-desktop/src/main/db/tests/migrations/0041-delete-leaked-tagged-sessions.test.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/main/db/tests/migrations/0041-delete-leaked-tagged-sessions.test.ts
rename to dash/apps/switch-console-desktop/src/main/db/tests/migrations/0041-delete-leaked-tagged-sessions.test.ts
diff --git a/dash/apps/switchdash-desktop/src/main/db/tests/migrations/0044-session-room-connections.test.ts b/dash/apps/switch-console-desktop/src/main/db/tests/migrations/0044-session-room-connections.test.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/main/db/tests/migrations/0044-session-room-connections.test.ts
rename to dash/apps/switch-console-desktop/src/main/db/tests/migrations/0044-session-room-connections.test.ts
diff --git a/dash/apps/switchdash-desktop/src/main/db/tests/migrations/0046-remote-host-setup-plans.test.ts b/dash/apps/switch-console-desktop/src/main/db/tests/migrations/0046-remote-host-setup-plans.test.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/main/db/tests/migrations/0046-remote-host-setup-plans.test.ts
rename to dash/apps/switch-console-desktop/src/main/db/tests/migrations/0046-remote-host-setup-plans.test.ts
diff --git a/dash/apps/switchdash-desktop/src/main/db/tests/migrations/example.test.ts b/dash/apps/switch-console-desktop/src/main/db/tests/migrations/example.test.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/main/db/tests/migrations/example.test.ts
rename to dash/apps/switch-console-desktop/src/main/db/tests/migrations/example.test.ts
diff --git a/dash/apps/switchdash-desktop/src/main/db/tests/migrations/journal-registration.test.ts b/dash/apps/switch-console-desktop/src/main/db/tests/migrations/journal-registration.test.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/main/db/tests/migrations/journal-registration.test.ts
rename to dash/apps/switch-console-desktop/src/main/db/tests/migrations/journal-registration.test.ts
diff --git a/dash/apps/switchdash-desktop/src/main/db/versioned-column.test.ts b/dash/apps/switch-console-desktop/src/main/db/versioned-column.test.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/main/db/versioned-column.test.ts
rename to dash/apps/switch-console-desktop/src/main/db/versioned-column.test.ts
diff --git a/dash/apps/switchdash-desktop/src/main/db/versioned-column.ts b/dash/apps/switch-console-desktop/src/main/db/versioned-column.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/main/db/versioned-column.ts
rename to dash/apps/switch-console-desktop/src/main/db/versioned-column.ts
diff --git a/dash/apps/switchdash-desktop/src/main/index.ts b/dash/apps/switch-console-desktop/src/main/index.ts
similarity index 99%
rename from dash/apps/switchdash-desktop/src/main/index.ts
rename to dash/apps/switch-console-desktop/src/main/index.ts
index 95d081939..fb9b2a578 100644
--- a/dash/apps/switchdash-desktop/src/main/index.ts
+++ b/dash/apps/switch-console-desktop/src/main/index.ts
@@ -2,7 +2,7 @@ import './app/configure-app-identity';
import { join } from 'node:path';
import { config as dotenvConfig } from 'dotenv';
import { app, BrowserWindow, dialog, ipcMain, powerMonitor } from 'electron';
-import dockIcon from '@/assets/images/switchdash/icon-dock.png?asset';
+import dockIcon from '@/assets/images/switch-console/icon-dock.png?asset';
import { PRODUCT_NAME } from '@shared/app-identity';
import { registerRPCRouter } from '@shared/lib/ipc/rpc';
import { flushPendingDeeplink, setupDeeplinks } from './app/deeplinks';
diff --git a/dash/apps/switchdash-desktop/src/main/lib/app-diagnostics.ts b/dash/apps/switch-console-desktop/src/main/lib/app-diagnostics.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/main/lib/app-diagnostics.ts
rename to dash/apps/switch-console-desktop/src/main/lib/app-diagnostics.ts
diff --git a/dash/apps/switchdash-desktop/src/main/lib/events.ts b/dash/apps/switch-console-desktop/src/main/lib/events.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/main/lib/events.ts
rename to dash/apps/switch-console-desktop/src/main/lib/events.ts
diff --git a/dash/apps/switchdash-desktop/src/main/lib/file-logger.test.ts b/dash/apps/switch-console-desktop/src/main/lib/file-logger.test.ts
similarity index 98%
rename from dash/apps/switchdash-desktop/src/main/lib/file-logger.test.ts
rename to dash/apps/switch-console-desktop/src/main/lib/file-logger.test.ts
index 525c99c8c..af2d78f0e 100644
--- a/dash/apps/switchdash-desktop/src/main/lib/file-logger.test.ts
+++ b/dash/apps/switch-console-desktop/src/main/lib/file-logger.test.ts
@@ -10,7 +10,7 @@ import {
vi.mock('electron', () => ({
app: {
exit: vi.fn(),
- getPath: vi.fn(() => '/tmp/switchdash-test'),
+ getPath: vi.fn(() => '/tmp/switch-console-test'),
setAppLogsPath: vi.fn(),
},
}));
@@ -174,7 +174,7 @@ describe('redactDiagnosticLog', () => {
const redacted = redactDiagnosticLog(
[
- 'mac /Users/alice/locations/switchdash',
+ 'mac /Users/alice/locations/switch-console',
'linux /home/bob/work/repo',
'win C:\\Users\\carol\\repo',
'ipv4 192.168.1.25',
@@ -186,7 +186,7 @@ describe('redactDiagnosticLog', () => {
);
expect(redacted).toContain('[REDACTED_EMAIL]');
- expect(redacted).toContain('/Users/[REDACTED_USER]/locations/switchdash');
+ expect(redacted).toContain('/Users/[REDACTED_USER]/locations/switch-console');
expect(redacted).toContain('/home/[REDACTED_USER]/work/repo');
expect(redacted).toContain('C:\\Users\\[REDACTED_USER]\\repo');
expect(redacted).toContain('ipv4 [REDACTED_IP]');
diff --git a/dash/apps/switchdash-desktop/src/main/lib/file-logger.ts b/dash/apps/switch-console-desktop/src/main/lib/file-logger.ts
similarity index 98%
rename from dash/apps/switchdash-desktop/src/main/lib/file-logger.ts
rename to dash/apps/switch-console-desktop/src/main/lib/file-logger.ts
index 2804a3f3d..2eda1f004 100644
--- a/dash/apps/switchdash-desktop/src/main/lib/file-logger.ts
+++ b/dash/apps/switch-console-desktop/src/main/lib/file-logger.ts
@@ -14,8 +14,8 @@ import { resolveLogContext } from './log-context';
const MAX_LOG_BYTES = 5 * 1024 * 1024;
const DIAGNOSTIC_LOG_BYTES = 500 * 1024;
const RETAINED_LOG_FILES = 5;
-const LOG_FILE_NAME = 'switchdash.log';
-const DIAGNOSTIC_ATTACHMENT_FILENAME = 'switchdash-diagnostics.log';
+const LOG_FILE_NAME = 'switch-console.log';
+const DIAGNOSTIC_ATTACHMENT_FILENAME = 'switch-console-diagnostics.log';
const RENDERER_LOG_PAYLOAD_LIMIT = 64 * 1024;
const PROCESS_EXIT_FLUSH_TIMEOUT_MS = 1000;
const FLUSH_INTERVAL_MS = 250;
@@ -317,7 +317,7 @@ function flushAndExit() {
}
export function registerRendererLogHandler(ipcMain: Electron.IpcMain) {
- ipcMain.on('switchdash:renderer-log', (event, payload: unknown) => {
+ ipcMain.on('switch-console:renderer-log', (event, payload: unknown) => {
if (!isTrustedRendererSender(event.senderFrame)) return;
const parsed = parseRendererLog(payload);
if (!parsed) return;
diff --git a/dash/apps/switchdash-desktop/src/main/lib/hookable.ts b/dash/apps/switch-console-desktop/src/main/lib/hookable.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/main/lib/hookable.ts
rename to dash/apps/switch-console-desktop/src/main/lib/hookable.ts
diff --git a/dash/apps/switchdash-desktop/src/main/lib/lifecycle-map.ts b/dash/apps/switch-console-desktop/src/main/lib/lifecycle-map.ts
similarity index 98%
rename from dash/apps/switchdash-desktop/src/main/lib/lifecycle-map.ts
rename to dash/apps/switch-console-desktop/src/main/lib/lifecycle-map.ts
index 7433a5d81..a482d7545 100644
--- a/dash/apps/switchdash-desktop/src/main/lib/lifecycle-map.ts
+++ b/dash/apps/switch-console-desktop/src/main/lib/lifecycle-map.ts
@@ -1,4 +1,4 @@
-import { err, ok, type Result } from '@switchdash/shared';
+import { err, ok, type Result } from '@switch-console/shared';
export type LifecycleStatus<E> =
| { status: 'ready' | 'bootstrapping' | 'not-started' }
diff --git a/dash/apps/switchdash-desktop/src/main/lib/log-context.test.ts b/dash/apps/switch-console-desktop/src/main/lib/log-context.test.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/main/lib/log-context.test.ts
rename to dash/apps/switch-console-desktop/src/main/lib/log-context.test.ts
diff --git a/dash/apps/switchdash-desktop/src/main/lib/log-context.ts b/dash/apps/switch-console-desktop/src/main/lib/log-context.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/main/lib/log-context.ts
rename to dash/apps/switch-console-desktop/src/main/lib/log-context.ts
diff --git a/dash/apps/switchdash-desktop/src/main/lib/log-enrichment.ts b/dash/apps/switch-console-desktop/src/main/lib/log-enrichment.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/main/lib/log-enrichment.ts
rename to dash/apps/switch-console-desktop/src/main/lib/log-enrichment.ts
diff --git a/dash/apps/switchdash-desktop/src/main/lib/log-name-cache.ts b/dash/apps/switch-console-desktop/src/main/lib/log-name-cache.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/main/lib/log-name-cache.ts
rename to dash/apps/switch-console-desktop/src/main/lib/log-name-cache.ts
diff --git a/dash/apps/switchdash-desktop/src/main/lib/logger.ts b/dash/apps/switch-console-desktop/src/main/lib/logger.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/main/lib/logger.ts
rename to dash/apps/switch-console-desktop/src/main/lib/logger.ts
diff --git a/dash/apps/switchdash-desktop/src/main/lib/rate-limiter.ts b/dash/apps/switch-console-desktop/src/main/lib/rate-limiter.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/main/lib/rate-limiter.ts
rename to dash/apps/switch-console-desktop/src/main/lib/rate-limiter.ts
diff --git a/dash/apps/switchdash-desktop/src/main/lib/retry.ts b/dash/apps/switch-console-desktop/src/main/lib/retry.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/main/lib/retry.ts
rename to dash/apps/switch-console-desktop/src/main/lib/retry.ts
diff --git a/dash/apps/switchdash-desktop/src/main/lib/rpc-logging.ts b/dash/apps/switch-console-desktop/src/main/lib/rpc-logging.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/main/lib/rpc-logging.ts
rename to dash/apps/switch-console-desktop/src/main/lib/rpc-logging.ts
diff --git a/dash/apps/switchdash-desktop/src/main/lib/semver.test.ts b/dash/apps/switch-console-desktop/src/main/lib/semver.test.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/main/lib/semver.test.ts
rename to dash/apps/switch-console-desktop/src/main/lib/semver.test.ts
diff --git a/dash/apps/switchdash-desktop/src/main/lib/semver.ts b/dash/apps/switch-console-desktop/src/main/lib/semver.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/main/lib/semver.ts
rename to dash/apps/switch-console-desktop/src/main/lib/semver.ts
diff --git a/dash/apps/switchdash-desktop/src/main/rpc.ts b/dash/apps/switch-console-desktop/src/main/rpc.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/main/rpc.ts
rename to dash/apps/switch-console-desktop/src/main/rpc.ts
diff --git a/dash/apps/switchdash-desktop/src/main/utils/childProcessEnv.ts b/dash/apps/switch-console-desktop/src/main/utils/childProcessEnv.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/main/utils/childProcessEnv.ts
rename to dash/apps/switch-console-desktop/src/main/utils/childProcessEnv.ts
diff --git a/dash/apps/switchdash-desktop/src/main/utils/externalLinks.ts b/dash/apps/switch-console-desktop/src/main/utils/externalLinks.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/main/utils/externalLinks.ts
rename to dash/apps/switch-console-desktop/src/main/utils/externalLinks.ts
diff --git a/dash/apps/switchdash-desktop/src/main/utils/shellEnv.ts b/dash/apps/switch-console-desktop/src/main/utils/shellEnv.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/main/utils/shellEnv.ts
rename to dash/apps/switch-console-desktop/src/main/utils/shellEnv.ts
diff --git a/dash/apps/switchdash-desktop/src/main/utils/shellEscape.ts b/dash/apps/switch-console-desktop/src/main/utils/shellEscape.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/main/utils/shellEscape.ts
rename to dash/apps/switch-console-desktop/src/main/utils/shellEscape.ts
diff --git a/dash/apps/switchdash-desktop/src/main/utils/userEnv.test.ts b/dash/apps/switch-console-desktop/src/main/utils/userEnv.test.ts
similarity index 82%
rename from dash/apps/switchdash-desktop/src/main/utils/userEnv.test.ts
rename to dash/apps/switch-console-desktop/src/main/utils/userEnv.test.ts
index 12a0eba0a..f9a993714 100644
--- a/dash/apps/switchdash-desktop/src/main/utils/userEnv.test.ts
+++ b/dash/apps/switch-console-desktop/src/main/utils/userEnv.test.ts
@@ -31,7 +31,7 @@ afterEach(() => {
describe('ensureUserBinDirsInPath', () => {
it('prepends existing user bin directories to process PATH', () => {
- const dir = fs.mkdtempSync(path.join(os.tmpdir(), 'switchdash-user-bin-'));
+ const dir = fs.mkdtempSync(path.join(os.tmpdir(), 'switch-console-user-bin-'));
process.env.PATH = '/usr/bin';
const added = ensureUserBinDirsInPath([dir]);
@@ -41,7 +41,7 @@ describe('ensureUserBinDirsInPath', () => {
});
it('does not duplicate existing path entries', () => {
- const dir = fs.mkdtempSync(path.join(os.tmpdir(), 'switchdash-user-bin-'));
+ const dir = fs.mkdtempSync(path.join(os.tmpdir(), 'switch-console-user-bin-'));
process.env.PATH = [dir, '/usr/bin'].join(path.delimiter);
const added = ensureUserBinDirsInPath([dir]);
@@ -97,15 +97,16 @@ describe('resolveUserEnv (AppImage env scrub)', () => {
it('strips AppImage runtime vars and /tmp/.mount_* path entries from the probe shell env and final PATH', async () => {
spawnSyncMock.mockReset();
mockShellCapture('PATH=/usr/local/bin:/usr/bin\n');
- process.env.APPIMAGE = '/home/user/switchdash.AppImage';
- process.env.APPDIR = '/tmp/.mount_switchdashTest';
- process.env.ARGV0 = '/home/user/switchdash.AppImage';
+ process.env.APPIMAGE = '/home/user/switch-console.AppImage';
+ process.env.APPDIR = '/tmp/.mount_switchConsoleTest';
+ process.env.ARGV0 = '/home/user/switch-console.AppImage';
process.env.OWD = '/home/user';
- process.env.CHROME_DESKTOP = 'switchdash.desktop';
- process.env.GSETTINGS_SCHEMA_DIR = '/tmp/.mount_switchdashTest/usr/share/glib-2.0/schemas';
- process.env.PATH = '/tmp/.mount_switchdashTest/usr/bin:/usr/local/bin:/usr/bin';
- process.env.LD_LIBRARY_PATH = '/tmp/.mount_switchdashTest/usr/lib:/usr/lib';
- process.env.XDG_DATA_DIRS = '/tmp/.mount_switchdashTest/usr/share:/usr/local/share:/usr/share';
+ process.env.CHROME_DESKTOP = 'switch-console.desktop';
+ process.env.GSETTINGS_SCHEMA_DIR = '/tmp/.mount_switchConsoleTest/usr/share/glib-2.0/schemas';
+ process.env.PATH = '/tmp/.mount_switchConsoleTest/usr/bin:/usr/local/bin:/usr/bin';
+ process.env.LD_LIBRARY_PATH = '/tmp/.mount_switchConsoleTest/usr/lib:/usr/lib';
+ process.env.XDG_DATA_DIRS =
+ '/tmp/.mount_switchConsoleTest/usr/share:/usr/local/share:/usr/share';
await resolveUserEnv();
diff --git a/dash/apps/switchdash-desktop/src/main/utils/userEnv.ts b/dash/apps/switch-console-desktop/src/main/utils/userEnv.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/main/utils/userEnv.ts
rename to dash/apps/switch-console-desktop/src/main/utils/userEnv.ts
diff --git a/dash/apps/switchdash-desktop/src/main/utils/windows-env.ts b/dash/apps/switch-console-desktop/src/main/utils/windows-env.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/main/utils/windows-env.ts
rename to dash/apps/switch-console-desktop/src/main/utils/windows-env.ts
diff --git a/dash/apps/switchdash-desktop/src/preload/index.ts b/dash/apps/switch-console-desktop/src/preload/index.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/preload/index.ts
rename to dash/apps/switch-console-desktop/src/preload/index.ts
diff --git a/dash/apps/switchdash-desktop/src/preload/mattermost-guest.ts b/dash/apps/switch-console-desktop/src/preload/mattermost-guest.ts
similarity index 95%
rename from dash/apps/switchdash-desktop/src/preload/mattermost-guest.ts
rename to dash/apps/switch-console-desktop/src/preload/mattermost-guest.ts
index c6d9d1bb7..3b455eeb2 100644
--- a/dash/apps/switchdash-desktop/src/preload/mattermost-guest.ts
+++ b/dash/apps/switch-console-desktop/src/preload/mattermost-guest.ts
@@ -49,7 +49,7 @@ const CHROMELESS_CSS = `
}
/* Workspace-administration affordances that do not belong in an embedded
- room: the reader is a switchdash user looking at one conversation, and
+ room: the reader is a Switch Console user looking at one conversation, and
acting on any of these would take them somewhere the pane cannot show.
Add to this list as more surface: each entry is one Mattermost control. */
@@ -94,7 +94,7 @@ function whenDocumentElement(attach: () => void): void {
function injectChromelessCss(): void {
whenDocumentElement(() => {
const style = document.createElement('style');
- style.setAttribute('data-switchdash', 'chromeless');
+ style.setAttribute('data-switch-console', 'chromeless');
style.textContent = CHROMELESS_CSS;
document.documentElement.appendChild(style);
});
@@ -135,6 +135,6 @@ for (const step of [
} catch (cause) {
// Nothing here is load-bearing enough to justify blanking the pane, but a
// silent partial failure is what cost us the last round of debugging.
- console.error(`switchdash guest preload: ${step.name} failed`, cause);
+ console.error(`Switch Console guest preload: ${step.name} failed`, cause);
}
}
diff --git a/dash/apps/switchdash-desktop/src/renderer/App.tsx b/dash/apps/switch-console-desktop/src/renderer/App.tsx
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/App.tsx
rename to dash/apps/switch-console-desktop/src/renderer/App.tsx
diff --git a/dash/apps/switchdash-desktop/src/renderer/app/app-menu-events.tsx b/dash/apps/switch-console-desktop/src/renderer/app/app-menu-events.tsx
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/app/app-menu-events.tsx
rename to dash/apps/switch-console-desktop/src/renderer/app/app-menu-events.tsx
diff --git a/dash/apps/switchdash-desktop/src/renderer/app/home-view.tsx b/dash/apps/switch-console-desktop/src/renderer/app/home-view.tsx
similarity index 96%
rename from dash/apps/switchdash-desktop/src/renderer/app/home-view.tsx
rename to dash/apps/switch-console-desktop/src/renderer/app/home-view.tsx
index 6f6fb6599..7f8d613f9 100644
--- a/dash/apps/switchdash-desktop/src/renderer/app/home-view.tsx
+++ b/dash/apps/switch-console-desktop/src/renderer/app/home-view.tsx
@@ -3,7 +3,7 @@ import { motion } from 'motion/react';
import { useArrowKeyNavigation } from '@renderer/lib/hooks/use-arrow-key-navigation';
import { useTheme } from '@renderer/lib/hooks/useTheme';
import { useShowModal } from '@renderer/lib/modal/modal-provider';
-import { SwitchdashShimmerLogo } from '@renderer/lib/switchdash-shimmer-logo';
+import { SwitchConsoleShimmerLogo } from '@renderer/lib/switch-console-shimmer-logo';
import { ActionListItem } from '@renderer/lib/ui/action-list-item';
const LOCATION_ACTIONS = [
@@ -38,7 +38,7 @@ export function HomeMainPanel() {
<div className="container mx-auto flex min-h-full max-w-6xl flex-1 flex-col justify-center px-8 py-8">
<div className="mb-3 text-center">
<div className="mb-3 flex items-center justify-center">
- <SwitchdashShimmerLogo
+ <SwitchConsoleShimmerLogo
height={32}
color={isDark ? 'var(--color-background-2)' : 'var(--color-foreground)'}
shimmerColor={isDark ? 'white' : 'var(--color-foreground-passive)'}
diff --git a/dash/apps/switchdash-desktop/src/renderer/app/modal-registry.ts b/dash/apps/switch-console-desktop/src/renderer/app/modal-registry.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/app/modal-registry.ts
rename to dash/apps/switch-console-desktop/src/renderer/app/modal-registry.ts
diff --git a/dash/apps/switchdash-desktop/src/renderer/app/view-registry.ts b/dash/apps/switch-console-desktop/src/renderer/app/view-registry.ts
similarity index 96%
rename from dash/apps/switchdash-desktop/src/renderer/app/view-registry.ts
rename to dash/apps/switch-console-desktop/src/renderer/app/view-registry.ts
index 4b02504c1..17ffa66ef 100644
--- a/dash/apps/switchdash-desktop/src/renderer/app/view-registry.ts
+++ b/dash/apps/switch-console-desktop/src/renderer/app/view-registry.ts
@@ -10,7 +10,7 @@ import { serverView } from '@renderer/features/switch-servers/view';
import type { CommandProvider } from '@renderer/lib/commands/types';
import { appState } from '@renderer/lib/stores/app-state';
-// switchdash views: agents-at-a-location (location), sessions (session), home, settings,
+// Switch Console views: agents-at-a-location (location), sessions (session), home, settings,
// server (a connected Switch gateway). Automations, library, skills, and mcp
// were removed.
export const views = {
diff --git a/dash/apps/switchdash-desktop/src/renderer/app/workspace.tsx b/dash/apps/switch-console-desktop/src/renderer/app/workspace.tsx
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/app/workspace.tsx
rename to dash/apps/switch-console-desktop/src/renderer/app/workspace.tsx
diff --git a/dash/apps/switchdash-desktop/src/renderer/features/command-palette/command-icons.ts b/dash/apps/switch-console-desktop/src/renderer/features/command-palette/command-icons.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/features/command-palette/command-icons.ts
rename to dash/apps/switch-console-desktop/src/renderer/features/command-palette/command-icons.ts
diff --git a/dash/apps/switchdash-desktop/src/renderer/features/command-palette/command-palette-modal.tsx b/dash/apps/switch-console-desktop/src/renderer/features/command-palette/command-palette-modal.tsx
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/features/command-palette/command-palette-modal.tsx
rename to dash/apps/switch-console-desktop/src/renderer/features/command-palette/command-palette-modal.tsx
diff --git a/dash/apps/switchdash-desktop/src/renderer/features/command-palette/palette-item-styles.ts b/dash/apps/switch-console-desktop/src/renderer/features/command-palette/palette-item-styles.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/features/command-palette/palette-item-styles.ts
rename to dash/apps/switch-console-desktop/src/renderer/features/command-palette/palette-item-styles.ts
diff --git a/dash/apps/switchdash-desktop/src/renderer/features/command-palette/palette-notifications-group.tsx b/dash/apps/switch-console-desktop/src/renderer/features/command-palette/palette-notifications-group.tsx
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/features/command-palette/palette-notifications-group.tsx
rename to dash/apps/switch-console-desktop/src/renderer/features/command-palette/palette-notifications-group.tsx
diff --git a/dash/apps/switchdash-desktop/src/renderer/features/command-palette/palette-session-item.tsx b/dash/apps/switch-console-desktop/src/renderer/features/command-palette/palette-session-item.tsx
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/features/command-palette/palette-session-item.tsx
rename to dash/apps/switch-console-desktop/src/renderer/features/command-palette/palette-session-item.tsx
diff --git a/dash/apps/switchdash-desktop/src/renderer/features/command-palette/resource-monitor-utils.ts b/dash/apps/switch-console-desktop/src/renderer/features/command-palette/resource-monitor-utils.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/features/command-palette/resource-monitor-utils.ts
rename to dash/apps/switch-console-desktop/src/renderer/features/command-palette/resource-monitor-utils.ts
diff --git a/dash/apps/switchdash-desktop/src/renderer/features/command-palette/resource-monitor-view.tsx b/dash/apps/switch-console-desktop/src/renderer/features/command-palette/resource-monitor-view.tsx
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/features/command-palette/resource-monitor-view.tsx
rename to dash/apps/switch-console-desktop/src/renderer/features/command-palette/resource-monitor-view.tsx
diff --git a/dash/apps/switchdash-desktop/src/renderer/features/command-palette/search-utils.ts b/dash/apps/switch-console-desktop/src/renderer/features/command-palette/search-utils.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/features/command-palette/search-utils.ts
rename to dash/apps/switch-console-desktop/src/renderer/features/command-palette/search-utils.ts
diff --git a/dash/apps/switchdash-desktop/src/renderer/features/locations/components/add-agent-modal/add-agent-modal.tsx b/dash/apps/switch-console-desktop/src/renderer/features/locations/components/add-agent-modal/add-agent-modal.tsx
similarity index 99%
rename from dash/apps/switchdash-desktop/src/renderer/features/locations/components/add-agent-modal/add-agent-modal.tsx
rename to dash/apps/switch-console-desktop/src/renderer/features/locations/components/add-agent-modal/add-agent-modal.tsx
index 6e82e2fa6..e92f9ac39 100644
--- a/dash/apps/switchdash-desktop/src/renderer/features/locations/components/add-agent-modal/add-agent-modal.tsx
+++ b/dash/apps/switch-console-desktop/src/renderer/features/locations/components/add-agent-modal/add-agent-modal.tsx
@@ -1,4 +1,4 @@
-import type { RepoAgentAttributes } from '@switchdash/core/agents/plugins';
+import type { RepoAgentAttributes } from '@switch-console/core/agents/plugins';
import { useQuery } from '@tanstack/react-query';
import { CheckCircle2, CircleAlert } from 'lucide-react';
import { observer } from 'mobx-react-lite';
@@ -64,9 +64,9 @@ import {
type OnboardableAgent,
} from './onboard-existing-panel';
-// switchdash adds a Switch *agent* by pointing at a local directory that the
+// Switch Console adds a Switch *agent* by pointing at a local directory that the
// switch-connector `configure` skill has set up (its `.claude/settings.local.json`
-// carries the SWITCH_* env block). The richer switchdash flows — SSH, clone, create
+// carries the SWITCH_* env block). The richer Switch Console flows — SSH, clone, create
// new GitHub repo — are out of scope for v0, so this modal is local + pick only.
export type AddLocationModalProps = BaseModalProps<void>;
@@ -261,7 +261,7 @@ export const AddAgentModal = observer(function AddAgentModal({ onClose }: AddLoc
enabled: !!pickState.providerId && !!pickState.serverId && discoverDir.trim().length > 0,
});
- // Definitions that can join Switch and switchdash hasn't already onboarded — the
+ // Definitions that can join Switch and Switch Console hasn't already onboarded — the
// ones worth offering. Already-onboarded ones (on THIS client) are excluded so
// the modal never offers to re-add a row it already has; ones registered on the
// gateway by another client are still offered (imported, not re-minted). CHOO-1440.
diff --git a/dash/apps/switchdash-desktop/src/renderer/features/locations/components/add-agent-modal/agent-advanced-config.tsx b/dash/apps/switch-console-desktop/src/renderer/features/locations/components/add-agent-modal/agent-advanced-config.tsx
similarity index 97%
rename from dash/apps/switchdash-desktop/src/renderer/features/locations/components/add-agent-modal/agent-advanced-config.tsx
rename to dash/apps/switch-console-desktop/src/renderer/features/locations/components/add-agent-modal/agent-advanced-config.tsx
index c20cc25db..d749afa3f 100644
--- a/dash/apps/switchdash-desktop/src/renderer/features/locations/components/add-agent-modal/agent-advanced-config.tsx
+++ b/dash/apps/switch-console-desktop/src/renderer/features/locations/components/add-agent-modal/agent-advanced-config.tsx
@@ -1,4 +1,4 @@
-import type { RepoAgentAttributes } from '@switchdash/core/agents/plugins';
+import type { RepoAgentAttributes } from '@switch-console/core/agents/plugins';
import { useQuery } from '@tanstack/react-query';
import { ChevronRight } from 'lucide-react';
import { useEffect, useMemo, useState } from 'react';
diff --git a/dash/apps/switchdash-desktop/src/renderer/features/locations/components/add-agent-modal/agent-type-picker.tsx b/dash/apps/switch-console-desktop/src/renderer/features/locations/components/add-agent-modal/agent-type-picker.tsx
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/features/locations/components/add-agent-modal/agent-type-picker.tsx
rename to dash/apps/switch-console-desktop/src/renderer/features/locations/components/add-agent-modal/agent-type-picker.tsx
diff --git a/dash/apps/switchdash-desktop/src/renderer/features/locations/components/add-agent-modal/codex-agent-config.tsx b/dash/apps/switch-console-desktop/src/renderer/features/locations/components/add-agent-modal/codex-agent-config.tsx
similarity index 96%
rename from dash/apps/switchdash-desktop/src/renderer/features/locations/components/add-agent-modal/codex-agent-config.tsx
rename to dash/apps/switch-console-desktop/src/renderer/features/locations/components/add-agent-modal/codex-agent-config.tsx
index b726c36eb..bf1da9c95 100644
--- a/dash/apps/switchdash-desktop/src/renderer/features/locations/components/add-agent-modal/codex-agent-config.tsx
+++ b/dash/apps/switch-console-desktop/src/renderer/features/locations/components/add-agent-modal/codex-agent-config.tsx
@@ -1,4 +1,4 @@
-import type { RepoAgentField } from '@switchdash/core/agents/plugins';
+import type { RepoAgentField } from '@switch-console/core/agents/plugins';
import { ChevronRight } from 'lucide-react';
import { useCallback, useEffect, useState } from 'react';
import { Field, FieldDescription, FieldLabel } from '@renderer/lib/ui/field';
@@ -15,7 +15,7 @@ import {
/**
* Per-agent Codex configuration for the add-agent modal. Codex has no repo-agent
* definition surface (so {@link AgentAdvancedConfig} renders nothing for it);
- * instead switchdash folds these values into the agent's Codex profile at launch.
+ * instead Switch Console folds these values into the agent's Codex profile at launch.
*
* Effort levels mirror `CODEX_REASONING_EFFORTS` in the codex plugin — kept small
* and stable there, duplicated here so the renderer needs no plugin import.
diff --git a/dash/apps/switchdash-desktop/src/renderer/features/locations/components/add-agent-modal/configure-agent-panel.tsx b/dash/apps/switch-console-desktop/src/renderer/features/locations/components/add-agent-modal/configure-agent-panel.tsx
similarity index 98%
rename from dash/apps/switchdash-desktop/src/renderer/features/locations/components/add-agent-modal/configure-agent-panel.tsx
rename to dash/apps/switch-console-desktop/src/renderer/features/locations/components/add-agent-modal/configure-agent-panel.tsx
index d380776d5..eebed1947 100644
--- a/dash/apps/switchdash-desktop/src/renderer/features/locations/components/add-agent-modal/configure-agent-panel.tsx
+++ b/dash/apps/switch-console-desktop/src/renderer/features/locations/components/add-agent-modal/configure-agent-panel.tsx
@@ -17,7 +17,7 @@ import type { ConfigureAgentFormState } from './modes';
/**
* Create form for a new Switch agent in a directory. Collects the target server,
* Switch agent name, and description, then the managed-session options
- * (auto-session, bypass permissions, addressing policy). switchdash always
+ * (auto-session, bypass permissions, addressing policy). Switch Console always
* registers the agent as a managed, session-addressable identity — there is no
* run-mode or notify-handle choice (CHOO-1440); advanced definition attributes
* live in the collapsed Advanced section.
diff --git a/dash/apps/switchdash-desktop/src/renderer/features/locations/components/add-agent-modal/content.tsx b/dash/apps/switch-console-desktop/src/renderer/features/locations/components/add-agent-modal/content.tsx
similarity index 88%
rename from dash/apps/switchdash-desktop/src/renderer/features/locations/components/add-agent-modal/content.tsx
rename to dash/apps/switch-console-desktop/src/renderer/features/locations/components/add-agent-modal/content.tsx
index 8bd40afc3..f218b5c7a 100644
--- a/dash/apps/switchdash-desktop/src/renderer/features/locations/components/add-agent-modal/content.tsx
+++ b/dash/apps/switch-console-desktop/src/renderer/features/locations/components/add-agent-modal/content.tsx
@@ -4,8 +4,8 @@ import { Input } from '@renderer/lib/ui/input';
import { LocalDirectorySelector } from './local-directory-selector';
import { type PickModeState } from './modes';
-// switchdash adds agents from existing local directories only. The SSH / create-new /
-// clone panels from switchdash are out of scope for v0 and have been removed.
+// Switch Console adds agents from existing local directories only. The SSH / create-new /
+// clone panels from Switch Console are out of scope for v0 and have been removed.
export function PickExistingPanel({
state,
showName = true,
diff --git a/dash/apps/switchdash-desktop/src/renderer/features/locations/components/add-agent-modal/local-directory-selector.tsx b/dash/apps/switch-console-desktop/src/renderer/features/locations/components/add-agent-modal/local-directory-selector.tsx
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/features/locations/components/add-agent-modal/local-directory-selector.tsx
rename to dash/apps/switch-console-desktop/src/renderer/features/locations/components/add-agent-modal/local-directory-selector.tsx
diff --git a/dash/apps/switchdash-desktop/src/renderer/features/locations/components/add-agent-modal/modes.ts b/dash/apps/switch-console-desktop/src/renderer/features/locations/components/add-agent-modal/modes.ts
similarity index 98%
rename from dash/apps/switchdash-desktop/src/renderer/features/locations/components/add-agent-modal/modes.ts
rename to dash/apps/switch-console-desktop/src/renderer/features/locations/components/add-agent-modal/modes.ts
index 4e552c26d..232a202c4 100644
--- a/dash/apps/switchdash-desktop/src/renderer/features/locations/components/add-agent-modal/modes.ts
+++ b/dash/apps/switch-console-desktop/src/renderer/features/locations/components/add-agent-modal/modes.ts
@@ -50,7 +50,7 @@ export type PickModeState = ReturnType<typeof usePickMode>;
* Form state for creating a brand-new Switch agent in a directory. Collects the
* Switch agent name and description (advanced definition attributes are gathered
* separately in the Advanced section), seeding name/description from a
- * server-derived default until the user edits them. switchdash always registers
+ * server-derived default until the user edits them. Switch Console always registers
* the agent as a managed, session-addressable identity — there is no run-mode or
* notify-handle choice (CHOO-1440).
*/
diff --git a/dash/apps/switchdash-desktop/src/renderer/features/locations/components/add-agent-modal/onboard-existing-panel.tsx b/dash/apps/switch-console-desktop/src/renderer/features/locations/components/add-agent-modal/onboard-existing-panel.tsx
similarity index 94%
rename from dash/apps/switchdash-desktop/src/renderer/features/locations/components/add-agent-modal/onboard-existing-panel.tsx
rename to dash/apps/switch-console-desktop/src/renderer/features/locations/components/add-agent-modal/onboard-existing-panel.tsx
index bcce76bdd..6659f29ed 100644
--- a/dash/apps/switchdash-desktop/src/renderer/features/locations/components/add-agent-modal/onboard-existing-panel.tsx
+++ b/dash/apps/switch-console-desktop/src/renderer/features/locations/components/add-agent-modal/onboard-existing-panel.tsx
@@ -1,14 +1,14 @@
import { Checkbox } from '@renderer/lib/ui/checkbox';
/**
- * How an agent found in the directory will be brought into this switchdash.
+ * How an agent found in the directory will be brought into this Switch Console.
*
* - `import` — a provider definition that already carries Switch credentials;
* its identity is reused.
- * - `adopt` — a plain provider definition with no Switch setup; switchdash mints
+ * - `adopt` — a plain provider definition with no Switch setup; Switch Console mints
* an identity for it.
* - `attach` — credentials found in the directory with no definition of ours to
- * go with them, which is what an agent set up by another switchdash (or for a
+ * go with them, which is what an agent set up by another Switch Console (or for a
* provider with no definition concept, such as Codex) looks like. Its identity
* is reused and nothing in the directory is written (CHOO-1937).
*/
@@ -38,10 +38,10 @@ const BADGE: Record<AdoptKind, string> = {
};
/**
- * Multi-select list of agents found in a directory that aren't yet switchdash
+ * Multi-select list of agents found in a directory that aren't yet Switch Console
* agents on this client — provider definitions (CHOO-1440) and agents another
* install already configured here (CHOO-1937), in one list because the user is
- * answering one question: which of these should this switchdash manage.
+ * answering one question: which of these should this Switch Console manage.
*/
export function OnboardExistingPanel({
agents,
diff --git a/dash/apps/switchdash-desktop/src/renderer/features/locations/components/agent-definition-fields.tsx b/dash/apps/switch-console-desktop/src/renderer/features/locations/components/agent-definition-fields.tsx
similarity index 98%
rename from dash/apps/switchdash-desktop/src/renderer/features/locations/components/agent-definition-fields.tsx
rename to dash/apps/switch-console-desktop/src/renderer/features/locations/components/agent-definition-fields.tsx
index f25ee6c87..ec0ba1a6f 100644
--- a/dash/apps/switchdash-desktop/src/renderer/features/locations/components/agent-definition-fields.tsx
+++ b/dash/apps/switch-console-desktop/src/renderer/features/locations/components/agent-definition-fields.tsx
@@ -2,7 +2,7 @@ import type {
RepoAgentAttributes,
RepoAgentAttributeValue,
RepoAgentField,
-} from '@switchdash/core/agents/plugins';
+} from '@switch-console/core/agents/plugins';
import { Input } from '@renderer/lib/ui/input';
import {
Select,
diff --git a/dash/apps/switchdash-desktop/src/renderer/features/locations/components/delete-agent-modal.tsx b/dash/apps/switch-console-desktop/src/renderer/features/locations/components/delete-agent-modal.tsx
similarity index 97%
rename from dash/apps/switchdash-desktop/src/renderer/features/locations/components/delete-agent-modal.tsx
rename to dash/apps/switch-console-desktop/src/renderer/features/locations/components/delete-agent-modal.tsx
index 94adf1c92..b56fa6431 100644
--- a/dash/apps/switchdash-desktop/src/renderer/features/locations/components/delete-agent-modal.tsx
+++ b/dash/apps/switch-console-desktop/src/renderer/features/locations/components/delete-agent-modal.tsx
@@ -11,7 +11,7 @@ import {
} from '@renderer/lib/ui/dialog';
export type DeleteAgentModalArgs = {
- /** switchdash id of the agent to remove. */
+ /** Switch Console id of the agent to remove. */
agentId: string;
/** Display name for the agent (its Switch name, falling back to the location). */
agentLabel: string;
diff --git a/dash/apps/switchdash-desktop/src/renderer/features/locations/components/location-titlebar.tsx b/dash/apps/switch-console-desktop/src/renderer/features/locations/components/location-titlebar.tsx
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/features/locations/components/location-titlebar.tsx
rename to dash/apps/switch-console-desktop/src/renderer/features/locations/components/location-titlebar.tsx
diff --git a/dash/apps/switchdash-desktop/src/renderer/features/locations/components/location-view-wrapper.tsx b/dash/apps/switch-console-desktop/src/renderer/features/locations/components/location-view-wrapper.tsx
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/features/locations/components/location-view-wrapper.tsx
rename to dash/apps/switch-console-desktop/src/renderer/features/locations/components/location-view-wrapper.tsx
diff --git a/dash/apps/switchdash-desktop/src/renderer/features/locations/components/main-panel/active-location.tsx b/dash/apps/switch-console-desktop/src/renderer/features/locations/components/main-panel/active-location.tsx
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/features/locations/components/main-panel/active-location.tsx
rename to dash/apps/switch-console-desktop/src/renderer/features/locations/components/main-panel/active-location.tsx
diff --git a/dash/apps/switchdash-desktop/src/renderer/features/locations/components/main-panel/main-panel.tsx b/dash/apps/switch-console-desktop/src/renderer/features/locations/components/main-panel/main-panel.tsx
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/features/locations/components/main-panel/main-panel.tsx
rename to dash/apps/switch-console-desktop/src/renderer/features/locations/components/main-panel/main-panel.tsx
diff --git a/dash/apps/switchdash-desktop/src/renderer/features/locations/components/main-panel/pending-location.tsx b/dash/apps/switch-console-desktop/src/renderer/features/locations/components/main-panel/pending-location.tsx
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/features/locations/components/main-panel/pending-location.tsx
rename to dash/apps/switch-console-desktop/src/renderer/features/locations/components/main-panel/pending-location.tsx
diff --git a/dash/apps/switchdash-desktop/src/renderer/features/locations/components/reset-agent-modal.tsx b/dash/apps/switch-console-desktop/src/renderer/features/locations/components/reset-agent-modal.tsx
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/features/locations/components/reset-agent-modal.tsx
rename to dash/apps/switch-console-desktop/src/renderer/features/locations/components/reset-agent-modal.tsx
diff --git a/dash/apps/switchdash-desktop/src/renderer/features/locations/components/session-view/session-list-empty-state.tsx b/dash/apps/switch-console-desktop/src/renderer/features/locations/components/session-view/session-list-empty-state.tsx
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/features/locations/components/session-view/session-list-empty-state.tsx
rename to dash/apps/switch-console-desktop/src/renderer/features/locations/components/session-view/session-list-empty-state.tsx
diff --git a/dash/apps/switchdash-desktop/src/renderer/features/locations/components/session-view/session-list.tsx b/dash/apps/switch-console-desktop/src/renderer/features/locations/components/session-view/session-list.tsx
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/features/locations/components/session-view/session-list.tsx
rename to dash/apps/switch-console-desktop/src/renderer/features/locations/components/session-view/session-list.tsx
diff --git a/dash/apps/switchdash-desktop/src/renderer/features/locations/components/session-view/session-row.tsx b/dash/apps/switch-console-desktop/src/renderer/features/locations/components/session-view/session-row.tsx
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/features/locations/components/session-view/session-row.tsx
rename to dash/apps/switch-console-desktop/src/renderer/features/locations/components/session-view/session-row.tsx
diff --git a/dash/apps/switchdash-desktop/src/renderer/features/locations/components/settings-view/sections/addressing-policy-settings-section.tsx b/dash/apps/switch-console-desktop/src/renderer/features/locations/components/settings-view/sections/addressing-policy-settings-section.tsx
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/features/locations/components/settings-view/sections/addressing-policy-settings-section.tsx
rename to dash/apps/switch-console-desktop/src/renderer/features/locations/components/settings-view/sections/addressing-policy-settings-section.tsx
diff --git a/dash/apps/switchdash-desktop/src/renderer/features/locations/components/settings-view/sections/agent-definition-settings-section.tsx b/dash/apps/switch-console-desktop/src/renderer/features/locations/components/settings-view/sections/agent-definition-settings-section.tsx
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/features/locations/components/settings-view/sections/agent-definition-settings-section.tsx
rename to dash/apps/switch-console-desktop/src/renderer/features/locations/components/settings-view/sections/agent-definition-settings-section.tsx
diff --git a/dash/apps/switchdash-desktop/src/renderer/features/locations/components/settings-view/sections/auto-approve-settings-section.tsx b/dash/apps/switch-console-desktop/src/renderer/features/locations/components/settings-view/sections/auto-approve-settings-section.tsx
similarity index 97%
rename from dash/apps/switchdash-desktop/src/renderer/features/locations/components/settings-view/sections/auto-approve-settings-section.tsx
rename to dash/apps/switch-console-desktop/src/renderer/features/locations/components/settings-view/sections/auto-approve-settings-section.tsx
index 82198fdf6..c6b7c3e9b 100644
--- a/dash/apps/switchdash-desktop/src/renderer/features/locations/components/settings-view/sections/auto-approve-settings-section.tsx
+++ b/dash/apps/switch-console-desktop/src/renderer/features/locations/components/settings-view/sections/auto-approve-settings-section.tsx
@@ -5,7 +5,7 @@ import { Switch } from '@renderer/lib/ui/switch';
import { log } from '@renderer/utils/logger';
/**
- * Per-agent "bypass permissions" toggle. When on, switchdash launches this
+ * Per-agent "bypass permissions" toggle. When on, Switch Console launches this
* agent's CLI with its auto-approve flag (e.g. `--dangerously-skip-permissions`)
* — for every session, including automation-started ones (auto-session,
* remote reconcile). Defaults off for local agents and on for remote agents
diff --git a/dash/apps/switchdash-desktop/src/renderer/features/locations/components/settings-view/sections/auto-session-settings-section.tsx b/dash/apps/switch-console-desktop/src/renderer/features/locations/components/settings-view/sections/auto-session-settings-section.tsx
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/features/locations/components/settings-view/sections/auto-session-settings-section.tsx
rename to dash/apps/switch-console-desktop/src/renderer/features/locations/components/settings-view/sections/auto-session-settings-section.tsx
diff --git a/dash/apps/switchdash-desktop/src/renderer/features/locations/components/settings-view/sections/sidecar-settings-section.tsx b/dash/apps/switch-console-desktop/src/renderer/features/locations/components/settings-view/sections/sidecar-settings-section.tsx
similarity index 99%
rename from dash/apps/switchdash-desktop/src/renderer/features/locations/components/settings-view/sections/sidecar-settings-section.tsx
rename to dash/apps/switch-console-desktop/src/renderer/features/locations/components/settings-view/sections/sidecar-settings-section.tsx
index 664009298..967e423c2 100644
--- a/dash/apps/switchdash-desktop/src/renderer/features/locations/components/settings-view/sections/sidecar-settings-section.tsx
+++ b/dash/apps/switch-console-desktop/src/renderer/features/locations/components/settings-view/sections/sidecar-settings-section.tsx
@@ -13,7 +13,7 @@ import { sidecarStatusChannel } from '@shared/events/sidecarEvents';
* Per-agent remote sidecar status + lifecycle controls.
*
* The sidecar is the on-VM process that keeps a remote agent connected to its
- * Switch rooms while switchdash is closed. It is deployed and upgraded silently
+ * Switch rooms while Switch Console is closed. It is deployed and upgraded silently
* on connect; this section makes that state visible — which build the host runs
* vs. which this client ships — and lets the operator update, restart, or stop it
* by hand. Rendered only for remote agents (a local agent has no sidecar).
diff --git a/dash/apps/switchdash-desktop/src/renderer/features/locations/components/settings-view/settings-panel.tsx b/dash/apps/switch-console-desktop/src/renderer/features/locations/components/settings-view/settings-panel.tsx
similarity index 98%
rename from dash/apps/switchdash-desktop/src/renderer/features/locations/components/settings-view/settings-panel.tsx
rename to dash/apps/switch-console-desktop/src/renderer/features/locations/components/settings-view/settings-panel.tsx
index 48690f463..862f6ff68 100644
--- a/dash/apps/switchdash-desktop/src/renderer/features/locations/components/settings-view/settings-panel.tsx
+++ b/dash/apps/switch-console-desktop/src/renderer/features/locations/components/settings-view/settings-panel.tsx
@@ -19,7 +19,7 @@ export const SettingsPanel = observer(function SettingsPanel() {
const mounted = asMounted(getLocationStore(locationId));
// Resolve the specific agent the page is scoped to (by its definition name),
- // so its settings render through the normal per-agent sections. switchdash has
+ // so its settings render through the normal per-agent sections. Switch Console has
// no main/subagent split — every agent gets the same settings (CHOO-1440).
const { data: agents } = useQuery({
queryKey: ['location-agents', locationId],
diff --git a/dash/apps/switchdash-desktop/src/renderer/features/locations/components/settings-view/sidecar-panel.tsx b/dash/apps/switch-console-desktop/src/renderer/features/locations/components/settings-view/sidecar-panel.tsx
similarity index 94%
rename from dash/apps/switchdash-desktop/src/renderer/features/locations/components/settings-view/sidecar-panel.tsx
rename to dash/apps/switch-console-desktop/src/renderer/features/locations/components/settings-view/sidecar-panel.tsx
index 2ae196842..e3cf7b635 100644
--- a/dash/apps/switchdash-desktop/src/renderer/features/locations/components/settings-view/sidecar-panel.tsx
+++ b/dash/apps/switch-console-desktop/src/renderer/features/locations/components/settings-view/sidecar-panel.tsx
@@ -7,7 +7,7 @@ import { Spinner } from '@renderer/lib/ui/spinner';
/**
* The "Sidecar" tab for a remote location: the on-host process that keeps this
- * agent connected to Switch while switchdash is closed. Scoped to the same agent
+ * agent connected to Switch while Switch Console is closed. Scoped to the same agent
* the Settings tab resolves (by definition name, else the first). Only shown for
* remote locations — `ActiveLocation` gates the tab — so this just resolves the
* agent and hands off to the section.
diff --git a/dash/apps/switchdash-desktop/src/renderer/features/locations/hooks/use-confirm-delete-agent.tsx b/dash/apps/switch-console-desktop/src/renderer/features/locations/hooks/use-confirm-delete-agent.tsx
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/features/locations/hooks/use-confirm-delete-agent.tsx
rename to dash/apps/switch-console-desktop/src/renderer/features/locations/hooks/use-confirm-delete-agent.tsx
diff --git a/dash/apps/switchdash-desktop/src/renderer/features/locations/stores/agent-onboarding-types.ts b/dash/apps/switch-console-desktop/src/renderer/features/locations/stores/agent-onboarding-types.ts
similarity index 95%
rename from dash/apps/switchdash-desktop/src/renderer/features/locations/stores/agent-onboarding-types.ts
rename to dash/apps/switch-console-desktop/src/renderer/features/locations/stores/agent-onboarding-types.ts
index 5dfef0fff..de842650c 100644
--- a/dash/apps/switchdash-desktop/src/renderer/features/locations/stores/agent-onboarding-types.ts
+++ b/dash/apps/switch-console-desktop/src/renderer/features/locations/stores/agent-onboarding-types.ts
@@ -1,4 +1,4 @@
-import type { Result } from '@switchdash/shared';
+import type { Result } from '@switch-console/shared';
import type { OnboardAgentError } from '@shared/core/agents/onboarding';
import type { AgentProviderId } from '@shared/core/providers/agent-provider-registry';
diff --git a/dash/apps/switchdash-desktop/src/renderer/features/locations/stores/agents-store.test.ts b/dash/apps/switch-console-desktop/src/renderer/features/locations/stores/agents-store.test.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/features/locations/stores/agents-store.test.ts
rename to dash/apps/switch-console-desktop/src/renderer/features/locations/stores/agents-store.test.ts
diff --git a/dash/apps/switchdash-desktop/src/renderer/features/locations/stores/agents-store.ts b/dash/apps/switch-console-desktop/src/renderer/features/locations/stores/agents-store.ts
similarity index 98%
rename from dash/apps/switchdash-desktop/src/renderer/features/locations/stores/agents-store.ts
rename to dash/apps/switch-console-desktop/src/renderer/features/locations/stores/agents-store.ts
index b584c10d1..4e45e0484 100644
--- a/dash/apps/switchdash-desktop/src/renderer/features/locations/stores/agents-store.ts
+++ b/dash/apps/switch-console-desktop/src/renderer/features/locations/stores/agents-store.ts
@@ -67,8 +67,8 @@ export class AgentsStore {
/**
* This install's agents that are registered on a given Switch server, i.e.
- * the ones switchdash can actually act on there. The room views list and
- * offer these and no others: an agent registered on some other switchdash
+ * the ones Switch Console can actually act on there. The room views list and
+ * offer these and no others: an agent registered on some other Switch Console
* cannot be shown under a room or driven from here, so offering it would
* promise something this app cannot deliver.
*/
diff --git a/dash/apps/switchdash-desktop/src/renderer/features/locations/stores/location-manager.test.ts b/dash/apps/switch-console-desktop/src/renderer/features/locations/stores/location-manager.test.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/features/locations/stores/location-manager.test.ts
rename to dash/apps/switch-console-desktop/src/renderer/features/locations/stores/location-manager.test.ts
diff --git a/dash/apps/switchdash-desktop/src/renderer/features/locations/stores/location-manager.ts b/dash/apps/switch-console-desktop/src/renderer/features/locations/stores/location-manager.ts
similarity index 99%
rename from dash/apps/switchdash-desktop/src/renderer/features/locations/stores/location-manager.ts
rename to dash/apps/switch-console-desktop/src/renderer/features/locations/stores/location-manager.ts
index 8a83b1907..a368e8bce 100644
--- a/dash/apps/switchdash-desktop/src/renderer/features/locations/stores/location-manager.ts
+++ b/dash/apps/switch-console-desktop/src/renderer/features/locations/stores/location-manager.ts
@@ -1,4 +1,4 @@
-import { err, ok } from '@switchdash/shared';
+import { err, ok } from '@switch-console/shared';
import { makeObservable, observable, runInAction } from 'mobx';
import { events, rpc } from '@renderer/lib/ipc';
import { appState } from '@renderer/lib/stores/app-state';
diff --git a/dash/apps/switchdash-desktop/src/renderer/features/locations/stores/location-selectors.ts b/dash/apps/switch-console-desktop/src/renderer/features/locations/stores/location-selectors.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/features/locations/stores/location-selectors.ts
rename to dash/apps/switch-console-desktop/src/renderer/features/locations/stores/location-selectors.ts
diff --git a/dash/apps/switchdash-desktop/src/renderer/features/locations/stores/location-settings-store.ts b/dash/apps/switch-console-desktop/src/renderer/features/locations/stores/location-settings-store.ts
similarity index 98%
rename from dash/apps/switchdash-desktop/src/renderer/features/locations/stores/location-settings-store.ts
rename to dash/apps/switch-console-desktop/src/renderer/features/locations/stores/location-settings-store.ts
index 5a293f7e8..feeaa0199 100644
--- a/dash/apps/switchdash-desktop/src/renderer/features/locations/stores/location-settings-store.ts
+++ b/dash/apps/switch-console-desktop/src/renderer/features/locations/stores/location-settings-store.ts
@@ -1,4 +1,4 @@
-import type { Result } from '@switchdash/shared';
+import type { Result } from '@switch-console/shared';
import { events, rpc } from '@renderer/lib/ipc';
import { Resource } from '@renderer/lib/stores/resource';
import { fsWatchEventChannel } from '@shared/core/fs/fsEvents';
diff --git a/dash/apps/switchdash-desktop/src/renderer/features/locations/stores/location-view.test.ts b/dash/apps/switch-console-desktop/src/renderer/features/locations/stores/location-view.test.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/features/locations/stores/location-view.test.ts
rename to dash/apps/switch-console-desktop/src/renderer/features/locations/stores/location-view.test.ts
diff --git a/dash/apps/switchdash-desktop/src/renderer/features/locations/stores/location-view.ts b/dash/apps/switch-console-desktop/src/renderer/features/locations/stores/location-view.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/features/locations/stores/location-view.ts
rename to dash/apps/switch-console-desktop/src/renderer/features/locations/stores/location-view.ts
diff --git a/dash/apps/switchdash-desktop/src/renderer/features/locations/stores/location.ts b/dash/apps/switch-console-desktop/src/renderer/features/locations/stores/location.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/features/locations/stores/location.ts
rename to dash/apps/switch-console-desktop/src/renderer/features/locations/stores/location.ts
diff --git a/dash/apps/switchdash-desktop/src/renderer/features/locations/view.tsx b/dash/apps/switch-console-desktop/src/renderer/features/locations/view.tsx
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/features/locations/view.tsx
rename to dash/apps/switch-console-desktop/src/renderer/features/locations/view.tsx
diff --git a/dash/apps/switchdash-desktop/src/renderer/features/remote-hosts/add-host-modal.tsx b/dash/apps/switch-console-desktop/src/renderer/features/remote-hosts/add-host-modal.tsx
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/features/remote-hosts/add-host-modal.tsx
rename to dash/apps/switch-console-desktop/src/renderer/features/remote-hosts/add-host-modal.tsx
diff --git a/dash/apps/switchdash-desktop/src/renderer/features/remote-hosts/gh-auth-panel.tsx b/dash/apps/switch-console-desktop/src/renderer/features/remote-hosts/gh-auth-panel.tsx
similarity index 98%
rename from dash/apps/switchdash-desktop/src/renderer/features/remote-hosts/gh-auth-panel.tsx
rename to dash/apps/switch-console-desktop/src/renderer/features/remote-hosts/gh-auth-panel.tsx
index 98f8e7bc9..b9a60630b 100644
--- a/dash/apps/switchdash-desktop/src/renderer/features/remote-hosts/gh-auth-panel.tsx
+++ b/dash/apps/switch-console-desktop/src/renderer/features/remote-hosts/gh-auth-panel.tsx
@@ -16,7 +16,7 @@ type Props = {
* Interactive `gh auth login` (device flow) for a remote host, rendered as a live
* terminal INLINE on the remote-hosts page.
*
- * This must not live inside a modal: switchdash's terminal input path is disabled
+ * This must not live inside a modal: Switch Console's terminal input path is disabled
* whenever a `[role="dialog"]` is present (usePty guards focus, and xterm's key
* handler discards every event), so a terminal in a dialog can never receive
* keystrokes. Rendered inline, it behaves like any other terminal.
diff --git a/dash/apps/switchdash-desktop/src/renderer/features/remote-hosts/host-probe-queue.test.ts b/dash/apps/switch-console-desktop/src/renderer/features/remote-hosts/host-probe-queue.test.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/features/remote-hosts/host-probe-queue.test.ts
rename to dash/apps/switch-console-desktop/src/renderer/features/remote-hosts/host-probe-queue.test.ts
diff --git a/dash/apps/switchdash-desktop/src/renderer/features/remote-hosts/host-probe-queue.ts b/dash/apps/switch-console-desktop/src/renderer/features/remote-hosts/host-probe-queue.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/features/remote-hosts/host-probe-queue.ts
rename to dash/apps/switch-console-desktop/src/renderer/features/remote-hosts/host-probe-queue.ts
diff --git a/dash/apps/switchdash-desktop/src/renderer/features/remote-hosts/host-reachability-notice.tsx b/dash/apps/switch-console-desktop/src/renderer/features/remote-hosts/host-reachability-notice.tsx
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/features/remote-hosts/host-reachability-notice.tsx
rename to dash/apps/switch-console-desktop/src/renderer/features/remote-hosts/host-reachability-notice.tsx
diff --git a/dash/apps/switchdash-desktop/src/renderer/features/remote-hosts/host-reachability-store.ts b/dash/apps/switch-console-desktop/src/renderer/features/remote-hosts/host-reachability-store.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/features/remote-hosts/host-reachability-store.ts
rename to dash/apps/switch-console-desktop/src/renderer/features/remote-hosts/host-reachability-store.ts
diff --git a/dash/apps/switchdash-desktop/src/renderer/features/remote-hosts/host-readiness-notice.tsx b/dash/apps/switch-console-desktop/src/renderer/features/remote-hosts/host-readiness-notice.tsx
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/features/remote-hosts/host-readiness-notice.tsx
rename to dash/apps/switch-console-desktop/src/renderer/features/remote-hosts/host-readiness-notice.tsx
diff --git a/dash/apps/switchdash-desktop/src/renderer/features/remote-hosts/host-readiness.test.ts b/dash/apps/switch-console-desktop/src/renderer/features/remote-hosts/host-readiness.test.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/features/remote-hosts/host-readiness.test.ts
rename to dash/apps/switch-console-desktop/src/renderer/features/remote-hosts/host-readiness.test.ts
diff --git a/dash/apps/switchdash-desktop/src/renderer/features/remote-hosts/host-readiness.ts b/dash/apps/switch-console-desktop/src/renderer/features/remote-hosts/host-readiness.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/features/remote-hosts/host-readiness.ts
rename to dash/apps/switch-console-desktop/src/renderer/features/remote-hosts/host-readiness.ts
diff --git a/dash/apps/switchdash-desktop/src/renderer/features/remote-hosts/host-setup-store.ts b/dash/apps/switch-console-desktop/src/renderer/features/remote-hosts/host-setup-store.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/features/remote-hosts/host-setup-store.ts
rename to dash/apps/switch-console-desktop/src/renderer/features/remote-hosts/host-setup-store.ts
diff --git a/dash/apps/switchdash-desktop/src/renderer/features/remote-hosts/host-trouble-indicator.tsx b/dash/apps/switch-console-desktop/src/renderer/features/remote-hosts/host-trouble-indicator.tsx
similarity index 98%
rename from dash/apps/switchdash-desktop/src/renderer/features/remote-hosts/host-trouble-indicator.tsx
rename to dash/apps/switch-console-desktop/src/renderer/features/remote-hosts/host-trouble-indicator.tsx
index e92016ee1..bcd2aa976 100644
--- a/dash/apps/switchdash-desktop/src/renderer/features/remote-hosts/host-trouble-indicator.tsx
+++ b/dash/apps/switch-console-desktop/src/renderer/features/remote-hosts/host-trouble-indicator.tsx
@@ -38,7 +38,7 @@ const ICON = 'h-3.5 w-3.5 shrink-0 text-foreground-warning';
*
* Only steps carrying a known newer version qualify. `updateAvailable` is never
* set off a version we could not read, and it is additionally gated on the
- * update being one switchdash could actually perform, so an icon here always
+ * update being one Switch Console could actually perform, so an icon here always
* corresponds to a button that works.
*/
function staleStepsFor(plan: HostSetupPlan | null, agentId: string): HostSetupStep[] {
diff --git a/dash/apps/switchdash-desktop/src/renderer/features/remote-hosts/host-unreachable-panel.tsx b/dash/apps/switch-console-desktop/src/renderer/features/remote-hosts/host-unreachable-panel.tsx
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/features/remote-hosts/host-unreachable-panel.tsx
rename to dash/apps/switch-console-desktop/src/renderer/features/remote-hosts/host-unreachable-panel.tsx
diff --git a/dash/apps/switchdash-desktop/src/renderer/features/remote-hosts/setup/setup-detail-sheet.tsx b/dash/apps/switch-console-desktop/src/renderer/features/remote-hosts/setup/setup-detail-sheet.tsx
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/features/remote-hosts/setup/setup-detail-sheet.tsx
rename to dash/apps/switch-console-desktop/src/renderer/features/remote-hosts/setup/setup-detail-sheet.tsx
diff --git a/dash/apps/switchdash-desktop/src/renderer/features/remote-hosts/setup/setup-rows.tsx b/dash/apps/switch-console-desktop/src/renderer/features/remote-hosts/setup/setup-rows.tsx
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/features/remote-hosts/setup/setup-rows.tsx
rename to dash/apps/switch-console-desktop/src/renderer/features/remote-hosts/setup/setup-rows.tsx
diff --git a/dash/apps/switchdash-desktop/src/renderer/features/remote-hosts/setup/step-presentation.test.ts b/dash/apps/switch-console-desktop/src/renderer/features/remote-hosts/setup/step-presentation.test.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/features/remote-hosts/setup/step-presentation.test.ts
rename to dash/apps/switch-console-desktop/src/renderer/features/remote-hosts/setup/step-presentation.test.ts
diff --git a/dash/apps/switchdash-desktop/src/renderer/features/remote-hosts/setup/step-presentation.ts b/dash/apps/switch-console-desktop/src/renderer/features/remote-hosts/setup/step-presentation.ts
similarity index 99%
rename from dash/apps/switchdash-desktop/src/renderer/features/remote-hosts/setup/step-presentation.ts
rename to dash/apps/switch-console-desktop/src/renderer/features/remote-hosts/setup/step-presentation.ts
index 6ddcbcc9a..151608a3b 100644
--- a/dash/apps/switchdash-desktop/src/renderer/features/remote-hosts/setup/step-presentation.ts
+++ b/dash/apps/switch-console-desktop/src/renderer/features/remote-hosts/setup/step-presentation.ts
@@ -49,7 +49,7 @@ export function canSkip(step: HostSetupStep): boolean {
}
/**
- * Whether switchdash can attempt an install for this step.
+ * Whether Switch Console can attempt an install for this step.
*
* The GitHub login is excluded because it is an interactive device flow, not an
* install. Whether an install command actually exists for this host's platform
diff --git a/dash/apps/switchdash-desktop/src/renderer/features/remote-hosts/setup/use-host-setup.ts b/dash/apps/switch-console-desktop/src/renderer/features/remote-hosts/setup/use-host-setup.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/features/remote-hosts/setup/use-host-setup.ts
rename to dash/apps/switch-console-desktop/src/renderer/features/remote-hosts/setup/use-host-setup.ts
diff --git a/dash/apps/switchdash-desktop/src/renderer/features/remote-hosts/views/remote-host-view.tsx b/dash/apps/switch-console-desktop/src/renderer/features/remote-hosts/views/remote-host-view.tsx
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/features/remote-hosts/views/remote-host-view.tsx
rename to dash/apps/switch-console-desktop/src/renderer/features/remote-hosts/views/remote-host-view.tsx
diff --git a/dash/apps/switchdash-desktop/src/renderer/features/remote-hosts/views/remote-hosts-view.tsx b/dash/apps/switch-console-desktop/src/renderer/features/remote-hosts/views/remote-hosts-view.tsx
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/features/remote-hosts/views/remote-hosts-view.tsx
rename to dash/apps/switch-console-desktop/src/renderer/features/remote-hosts/views/remote-hosts-view.tsx
diff --git a/dash/apps/switchdash-desktop/src/renderer/features/sessions/commands.test.ts b/dash/apps/switch-console-desktop/src/renderer/features/sessions/commands.test.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/features/sessions/commands.test.ts
rename to dash/apps/switch-console-desktop/src/renderer/features/sessions/commands.test.ts
diff --git a/dash/apps/switchdash-desktop/src/renderer/features/sessions/commands.ts b/dash/apps/switch-console-desktop/src/renderer/features/sessions/commands.ts
similarity index 93%
rename from dash/apps/switchdash-desktop/src/renderer/features/sessions/commands.ts
rename to dash/apps/switch-console-desktop/src/renderer/features/sessions/commands.ts
index 7673f8ada..5d24c8499 100644
--- a/dash/apps/switchdash-desktop/src/renderer/features/sessions/commands.ts
+++ b/dash/apps/switch-console-desktop/src/renderer/features/sessions/commands.ts
@@ -11,8 +11,8 @@ function sessionDef(id: SessionCommandId): CommandDef {
}
/**
- * CommandProvider for the session (session) scope. switchdash sessions are a single
- * terminal, so the rich switchdash session commands (tabs, splits, diff, browser, git,
+ * CommandProvider for the session (session) scope. Switch Console sessions are a single
+ * terminal, so the rich Switch Console session commands (tabs, splits, diff, browser, git,
* sidebar panels, terminal drawer) are gone — only pin and prev/next remain.
*/
export function createSessionCommandProvider(
diff --git a/dash/apps/switchdash-desktop/src/renderer/features/sessions/components/agent-status-indicator.tsx b/dash/apps/switch-console-desktop/src/renderer/features/sessions/components/agent-status-indicator.tsx
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/features/sessions/components/agent-status-indicator.tsx
rename to dash/apps/switch-console-desktop/src/renderer/features/sessions/components/agent-status-indicator.tsx
diff --git a/dash/apps/switchdash-desktop/src/renderer/features/sessions/components/cliSpinner.tsx b/dash/apps/switch-console-desktop/src/renderer/features/sessions/components/cliSpinner.tsx
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/features/sessions/components/cliSpinner.tsx
rename to dash/apps/switch-console-desktop/src/renderer/features/sessions/components/cliSpinner.tsx
diff --git a/dash/apps/switchdash-desktop/src/renderer/features/sessions/components/session-context-menu.tsx b/dash/apps/switch-console-desktop/src/renderer/features/sessions/components/session-context-menu.tsx
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/features/sessions/components/session-context-menu.tsx
rename to dash/apps/switch-console-desktop/src/renderer/features/sessions/components/session-context-menu.tsx
diff --git a/dash/apps/switchdash-desktop/src/renderer/features/sessions/create-session-modal/build-connect-prompt.test.ts b/dash/apps/switch-console-desktop/src/renderer/features/sessions/create-session-modal/build-connect-prompt.test.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/features/sessions/create-session-modal/build-connect-prompt.test.ts
rename to dash/apps/switch-console-desktop/src/renderer/features/sessions/create-session-modal/build-connect-prompt.test.ts
diff --git a/dash/apps/switchdash-desktop/src/renderer/features/sessions/create-session-modal/build-connect-prompt.ts b/dash/apps/switch-console-desktop/src/renderer/features/sessions/create-session-modal/build-connect-prompt.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/features/sessions/create-session-modal/build-connect-prompt.ts
rename to dash/apps/switch-console-desktop/src/renderer/features/sessions/create-session-modal/build-connect-prompt.ts
diff --git a/dash/apps/switchdash-desktop/src/renderer/features/sessions/create-session-modal/create-session-modal.tsx b/dash/apps/switch-console-desktop/src/renderer/features/sessions/create-session-modal/create-session-modal.tsx
similarity index 98%
rename from dash/apps/switchdash-desktop/src/renderer/features/sessions/create-session-modal/create-session-modal.tsx
rename to dash/apps/switch-console-desktop/src/renderer/features/sessions/create-session-modal/create-session-modal.tsx
index c8fe87f96..3851f1cb7 100644
--- a/dash/apps/switchdash-desktop/src/renderer/features/sessions/create-session-modal/create-session-modal.tsx
+++ b/dash/apps/switch-console-desktop/src/renderer/features/sessions/create-session-modal/create-session-modal.tsx
@@ -42,7 +42,7 @@ import type { Agent } from '@shared/core/agents/agents';
import type { RemoteAgentRoom } from '@shared/core/switch-servers/switch-servers';
import { buildConnectPrompt } from './build-connect-prompt';
-// In switchdash a "session" is a *session*: a `claude` process spawned in the agent's
+// In Switch Console a "session" is a *session*: a `claude` process spawned in the agent's
// own directory. The directory is fixed (the agent), the provider is fixed (claude),
// and there is no git worktree — sessions run in the agent's location root. So the
// spawn dialog only asks for an optional name, an optional initial prompt, and an
@@ -118,7 +118,7 @@ export const CreateSessionModal = observer(function CreateSessionModal({
* should join it — the inverse of the agent-first flow, for starting a session
* from a room in the sidebar. */
roomId?: string;
- // Accepted for source compatibility with switchdash callers; ignored in switchdash v0.
+ // Accepted for source compatibility with Switch Console callers; ignored in Switch Console v0.
strategy?: string;
initialPR?: unknown;
}) {
@@ -145,7 +145,7 @@ export const CreateSessionModal = observer(function CreateSessionModal({
const effectiveAgent =
pickedAgent ?? presetAgent ?? (roomMembers.agents.length === 1 ? roomMembers.agents[0] : null);
const selectedLocationId = roomFirst ? effectiveAgent?.locationId : defaultLocationId;
- // Every switchdash agent is its own Switch identity, so a session is always
+ // Every Switch Console agent is its own Switch identity, so a session is always
// owned by a named agent row (CHOO-1440) — the picked agent's name plays the
// same part here as the `agentName` an agent row passes in.
const effectiveAgentName = roomFirst ? effectiveAgent?.name : agentName;
diff --git a/dash/apps/switchdash-desktop/src/renderer/features/sessions/delete-session-modal.tsx b/dash/apps/switch-console-desktop/src/renderer/features/sessions/delete-session-modal.tsx
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/features/sessions/delete-session-modal.tsx
rename to dash/apps/switch-console-desktop/src/renderer/features/sessions/delete-session-modal.tsx
diff --git a/dash/apps/switchdash-desktop/src/renderer/features/sessions/hooks/use-is-active-session.ts b/dash/apps/switch-console-desktop/src/renderer/features/sessions/hooks/use-is-active-session.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/features/sessions/hooks/use-is-active-session.ts
rename to dash/apps/switch-console-desktop/src/renderer/features/sessions/hooks/use-is-active-session.ts
diff --git a/dash/apps/switchdash-desktop/src/renderer/features/sessions/hooks/useSessionSettings.ts b/dash/apps/switch-console-desktop/src/renderer/features/sessions/hooks/useSessionSettings.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/features/sessions/hooks/useSessionSettings.ts
rename to dash/apps/switch-console-desktop/src/renderer/features/sessions/hooks/useSessionSettings.ts
diff --git a/dash/apps/switchdash-desktop/src/renderer/features/sessions/main-panel.tsx b/dash/apps/switch-console-desktop/src/renderer/features/sessions/main-panel.tsx
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/features/sessions/main-panel.tsx
rename to dash/apps/switch-console-desktop/src/renderer/features/sessions/main-panel.tsx
diff --git a/dash/apps/switchdash-desktop/src/renderer/features/sessions/rename-session-modal.tsx b/dash/apps/switch-console-desktop/src/renderer/features/sessions/rename-session-modal.tsx
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/features/sessions/rename-session-modal.tsx
rename to dash/apps/switch-console-desktop/src/renderer/features/sessions/rename-session-modal.tsx
diff --git a/dash/apps/switchdash-desktop/src/renderer/features/sessions/session-attachment-state.tsx b/dash/apps/switch-console-desktop/src/renderer/features/sessions/session-attachment-state.tsx
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/features/sessions/session-attachment-state.tsx
rename to dash/apps/switch-console-desktop/src/renderer/features/sessions/session-attachment-state.tsx
diff --git a/dash/apps/switchdash-desktop/src/renderer/features/sessions/session-focus-reporter-mount.tsx b/dash/apps/switch-console-desktop/src/renderer/features/sessions/session-focus-reporter-mount.tsx
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/features/sessions/session-focus-reporter-mount.tsx
rename to dash/apps/switch-console-desktop/src/renderer/features/sessions/session-focus-reporter-mount.tsx
diff --git a/dash/apps/switchdash-desktop/src/renderer/features/sessions/session-terminal.tsx b/dash/apps/switch-console-desktop/src/renderer/features/sessions/session-terminal.tsx
similarity index 98%
rename from dash/apps/switchdash-desktop/src/renderer/features/sessions/session-terminal.tsx
rename to dash/apps/switch-console-desktop/src/renderer/features/sessions/session-terminal.tsx
index 20eeabce0..688c5b131 100644
--- a/dash/apps/switchdash-desktop/src/renderer/features/sessions/session-terminal.tsx
+++ b/dash/apps/switch-console-desktop/src/renderer/features/sessions/session-terminal.tsx
@@ -16,7 +16,7 @@ import { useTerminalSearch } from '@renderer/lib/pty/use-terminal-search';
import { SessionAttachmentState } from './session-attachment-state';
/**
- * The entire session view: one `claude` terminal. A switchdash session has
+ * The entire session view: one `claude` terminal. A Switch Console session has
* exactly one agent, so we mount its PTY directly — no tabs, no panes,
* no context bar.
*/
diff --git a/dash/apps/switchdash-desktop/src/renderer/features/sessions/session-titlebar.tsx b/dash/apps/switch-console-desktop/src/renderer/features/sessions/session-titlebar.tsx
similarity index 95%
rename from dash/apps/switchdash-desktop/src/renderer/features/sessions/session-titlebar.tsx
rename to dash/apps/switch-console-desktop/src/renderer/features/sessions/session-titlebar.tsx
index 05fb20ec5..c97b8017c 100644
--- a/dash/apps/switchdash-desktop/src/renderer/features/sessions/session-titlebar.tsx
+++ b/dash/apps/switch-console-desktop/src/renderer/features/sessions/session-titlebar.tsx
@@ -14,7 +14,7 @@ import { Titlebar } from '@renderer/lib/components/titlebar/Titlebar';
import { useNavigate } from '@renderer/lib/layout/navigation-provider';
import { cn } from '@renderer/utils/utils';
-// switchdash titlebar: agent / session breadcrumb plus a pin toggle. The switchdash
+// Switch Console titlebar: agent / session breadcrumb plus a pin toggle. The Switch Console
// git, issue, diff, preview, terminal-drawer and sidebar chrome is gone.
export const SessionTitlebar = observer(function SessionTitlebar() {
const { locationId, sessionId } = useSessionViewContext();
diff --git a/dash/apps/switchdash-desktop/src/renderer/features/sessions/session-view-context.tsx b/dash/apps/switch-console-desktop/src/renderer/features/sessions/session-view-context.tsx
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/features/sessions/session-view-context.tsx
rename to dash/apps/switch-console-desktop/src/renderer/features/sessions/session-view-context.tsx
diff --git a/dash/apps/switchdash-desktop/src/renderer/features/sessions/stores/file-link-handlers.ts b/dash/apps/switch-console-desktop/src/renderer/features/sessions/stores/file-link-handlers.ts
similarity index 87%
rename from dash/apps/switchdash-desktop/src/renderer/features/sessions/stores/file-link-handlers.ts
rename to dash/apps/switch-console-desktop/src/renderer/features/sessions/stores/file-link-handlers.ts
index daa2762dc..03d9bbf3d 100644
--- a/dash/apps/switchdash-desktop/src/renderer/features/sessions/stores/file-link-handlers.ts
+++ b/dash/apps/switch-console-desktop/src/renderer/features/sessions/stores/file-link-handlers.ts
@@ -1,7 +1,7 @@
import { confirmOpenExternalLink } from '@renderer/lib/open-external-link';
/**
- * PTY file/link click handlers. switchdash has no in-app file editor, so a
+ * PTY file/link click handlers. Switch Console has no in-app file editor, so a
* file-path click is a no-op; external (http/https) links open in the OS
* browser after a confirmation prompt. (Replaces the old editor-backed
* `open-file-in-file-editor` handlers.)
diff --git a/dash/apps/switchdash-desktop/src/renderer/features/sessions/stores/lifecycle-scripts.test.ts b/dash/apps/switch-console-desktop/src/renderer/features/sessions/stores/lifecycle-scripts.test.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/features/sessions/stores/lifecycle-scripts.test.ts
rename to dash/apps/switch-console-desktop/src/renderer/features/sessions/stores/lifecycle-scripts.test.ts
diff --git a/dash/apps/switchdash-desktop/src/renderer/features/sessions/stores/lifecycle-scripts.ts b/dash/apps/switch-console-desktop/src/renderer/features/sessions/stores/lifecycle-scripts.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/features/sessions/stores/lifecycle-scripts.ts
rename to dash/apps/switch-console-desktop/src/renderer/features/sessions/stores/lifecycle-scripts.ts
diff --git a/dash/apps/switchdash-desktop/src/renderer/features/sessions/stores/session-agent-registry.ts b/dash/apps/switch-console-desktop/src/renderer/features/sessions/stores/session-agent-registry.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/features/sessions/stores/session-agent-registry.ts
rename to dash/apps/switch-console-desktop/src/renderer/features/sessions/stores/session-agent-registry.ts
diff --git a/dash/apps/switchdash-desktop/src/renderer/features/sessions/stores/session-agent-store.test.ts b/dash/apps/switch-console-desktop/src/renderer/features/sessions/stores/session-agent-store.test.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/features/sessions/stores/session-agent-store.test.ts
rename to dash/apps/switch-console-desktop/src/renderer/features/sessions/stores/session-agent-store.test.ts
diff --git a/dash/apps/switchdash-desktop/src/renderer/features/sessions/stores/session-agent-store.ts b/dash/apps/switch-console-desktop/src/renderer/features/sessions/stores/session-agent-store.ts
similarity index 99%
rename from dash/apps/switchdash-desktop/src/renderer/features/sessions/stores/session-agent-store.ts
rename to dash/apps/switch-console-desktop/src/renderer/features/sessions/stores/session-agent-store.ts
index 6ba48a0e0..b505439ae 100644
--- a/dash/apps/switchdash-desktop/src/renderer/features/sessions/stores/session-agent-store.ts
+++ b/dash/apps/switch-console-desktop/src/renderer/features/sessions/stores/session-agent-store.ts
@@ -1,4 +1,4 @@
-import type { IDisposable } from '@switchdash/shared';
+import type { IDisposable } from '@switch-console/shared';
import { action, computed, makeObservable, observable, reaction, runInAction } from 'mobx';
import { getLocationManagerStore } from '@renderer/features/locations/stores/location-selectors';
import { makeFileLinkHandlers } from '@renderer/features/sessions/stores/file-link-handlers';
diff --git a/dash/apps/switchdash-desktop/src/renderer/features/sessions/stores/session-focus-reporter.ts b/dash/apps/switch-console-desktop/src/renderer/features/sessions/stores/session-focus-reporter.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/features/sessions/stores/session-focus-reporter.ts
rename to dash/apps/switch-console-desktop/src/renderer/features/sessions/stores/session-focus-reporter.ts
diff --git a/dash/apps/switchdash-desktop/src/renderer/features/sessions/stores/session-manager.test.ts b/dash/apps/switch-console-desktop/src/renderer/features/sessions/stores/session-manager.test.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/features/sessions/stores/session-manager.test.ts
rename to dash/apps/switch-console-desktop/src/renderer/features/sessions/stores/session-manager.test.ts
diff --git a/dash/apps/switchdash-desktop/src/renderer/features/sessions/stores/session-manager.ts b/dash/apps/switch-console-desktop/src/renderer/features/sessions/stores/session-manager.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/features/sessions/stores/session-manager.ts
rename to dash/apps/switch-console-desktop/src/renderer/features/sessions/stores/session-manager.ts
diff --git a/dash/apps/switchdash-desktop/src/renderer/features/sessions/stores/session-runtime-registry.ts b/dash/apps/switch-console-desktop/src/renderer/features/sessions/stores/session-runtime-registry.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/features/sessions/stores/session-runtime-registry.ts
rename to dash/apps/switch-console-desktop/src/renderer/features/sessions/stores/session-runtime-registry.ts
diff --git a/dash/apps/switchdash-desktop/src/renderer/features/sessions/stores/session-runtime-store.ts b/dash/apps/switch-console-desktop/src/renderer/features/sessions/stores/session-runtime-store.ts
similarity index 89%
rename from dash/apps/switchdash-desktop/src/renderer/features/sessions/stores/session-runtime-store.ts
rename to dash/apps/switch-console-desktop/src/renderer/features/sessions/stores/session-runtime-store.ts
index a2e9fd2a4..add466d81 100644
--- a/dash/apps/switchdash-desktop/src/renderer/features/sessions/stores/session-runtime-store.ts
+++ b/dash/apps/switch-console-desktop/src/renderer/features/sessions/stores/session-runtime-store.ts
@@ -1,4 +1,4 @@
-import type { ILifecycle } from '@switchdash/shared';
+import type { ILifecycle } from '@switch-console/shared';
import { LifecycleScriptsStore } from './lifecycle-scripts';
export class SessionRuntimeStore implements ILifecycle {
diff --git a/dash/apps/switchdash-desktop/src/renderer/features/sessions/stores/session-selectors.ts b/dash/apps/switch-console-desktop/src/renderer/features/sessions/stores/session-selectors.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/features/sessions/stores/session-selectors.ts
rename to dash/apps/switch-console-desktop/src/renderer/features/sessions/stores/session-selectors.ts
diff --git a/dash/apps/switchdash-desktop/src/renderer/features/sessions/stores/session-store.test.ts b/dash/apps/switch-console-desktop/src/renderer/features/sessions/stores/session-store.test.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/features/sessions/stores/session-store.test.ts
rename to dash/apps/switch-console-desktop/src/renderer/features/sessions/stores/session-store.test.ts
diff --git a/dash/apps/switchdash-desktop/src/renderer/features/sessions/stores/session-store.ts b/dash/apps/switch-console-desktop/src/renderer/features/sessions/stores/session-store.ts
similarity index 99%
rename from dash/apps/switchdash-desktop/src/renderer/features/sessions/stores/session-store.ts
rename to dash/apps/switch-console-desktop/src/renderer/features/sessions/stores/session-store.ts
index 06352514c..f6522671c 100644
--- a/dash/apps/switchdash-desktop/src/renderer/features/sessions/stores/session-store.ts
+++ b/dash/apps/switch-console-desktop/src/renderer/features/sessions/stores/session-store.ts
@@ -1,4 +1,4 @@
-import { err, type Result } from '@switchdash/shared';
+import { err, type Result } from '@switch-console/shared';
import { makeAutoObservable, observable, runInAction } from 'mobx';
import { rpc } from '@renderer/lib/ipc';
import { log } from '@renderer/utils/logger';
diff --git a/dash/apps/switchdash-desktop/src/renderer/features/sessions/stores/session-view-model.tsx b/dash/apps/switch-console-desktop/src/renderer/features/sessions/stores/session-view-model.tsx
similarity index 90%
rename from dash/apps/switchdash-desktop/src/renderer/features/sessions/stores/session-view-model.tsx
rename to dash/apps/switch-console-desktop/src/renderer/features/sessions/stores/session-view-model.tsx
index 7ac1bf026..9c2b64567 100644
--- a/dash/apps/switchdash-desktop/src/renderer/features/sessions/stores/session-view-model.tsx
+++ b/dash/apps/switch-console-desktop/src/renderer/features/sessions/stores/session-view-model.tsx
@@ -1,11 +1,11 @@
-import type { ILifecycle } from '@switchdash/shared';
+import type { ILifecycle } from '@switch-console/shared';
import { makeAutoObservable } from 'mobx';
import type { Session } from '@shared/core/sessions/sessions';
import { sessionAgentRegistry } from './session-agent-registry';
import type { SessionStore } from './session-store';
/**
- * A switchdash session is a single `claude` terminal. The switchdash multi-pane
+ * A Switch Console session is a single `claude` terminal. The Switch Console multi-pane
* workspace (tabs, splits, diff/editor/browser, terminal drawer) has been
* removed — this view model only keeps the session's agent hydrated while the
* session is provisioned, which is what connects its PTY. The terminal itself
diff --git a/dash/apps/switchdash-desktop/src/renderer/features/sessions/types.ts b/dash/apps/switch-console-desktop/src/renderer/features/sessions/types.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/features/sessions/types.ts
rename to dash/apps/switch-console-desktop/src/renderer/features/sessions/types.ts
diff --git a/dash/apps/switchdash-desktop/src/renderer/features/sessions/view.tsx b/dash/apps/switch-console-desktop/src/renderer/features/sessions/view.tsx
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/features/sessions/view.tsx
rename to dash/apps/switch-console-desktop/src/renderer/features/sessions/view.tsx
diff --git a/dash/apps/switchdash-desktop/src/renderer/features/settings/agents-page/AgentDetailSheet.tsx b/dash/apps/switch-console-desktop/src/renderer/features/settings/agents-page/AgentDetailSheet.tsx
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/features/settings/agents-page/AgentDetailSheet.tsx
rename to dash/apps/switch-console-desktop/src/renderer/features/settings/agents-page/AgentDetailSheet.tsx
diff --git a/dash/apps/switchdash-desktop/src/renderer/features/settings/agents-page/AgentRow.tsx b/dash/apps/switch-console-desktop/src/renderer/features/settings/agents-page/AgentRow.tsx
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/features/settings/agents-page/AgentRow.tsx
rename to dash/apps/switch-console-desktop/src/renderer/features/settings/agents-page/AgentRow.tsx
diff --git a/dash/apps/switchdash-desktop/src/renderer/features/settings/agents-page/AgentRowStatus.tsx b/dash/apps/switch-console-desktop/src/renderer/features/settings/agents-page/AgentRowStatus.tsx
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/features/settings/agents-page/AgentRowStatus.tsx
rename to dash/apps/switch-console-desktop/src/renderer/features/settings/agents-page/AgentRowStatus.tsx
diff --git a/dash/apps/switchdash-desktop/src/renderer/features/settings/agents-page/AgentSheetHeaderSection.tsx b/dash/apps/switch-console-desktop/src/renderer/features/settings/agents-page/AgentSheetHeaderSection.tsx
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/features/settings/agents-page/AgentSheetHeaderSection.tsx
rename to dash/apps/switch-console-desktop/src/renderer/features/settings/agents-page/AgentSheetHeaderSection.tsx
diff --git a/dash/apps/switchdash-desktop/src/renderer/features/settings/agents-page/AgentsSettingsPage.tsx b/dash/apps/switch-console-desktop/src/renderer/features/settings/agents-page/AgentsSettingsPage.tsx
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/features/settings/agents-page/AgentsSettingsPage.tsx
rename to dash/apps/switch-console-desktop/src/renderer/features/settings/agents-page/AgentsSettingsPage.tsx
diff --git a/dash/apps/switchdash-desktop/src/renderer/features/settings/agents-page/CliAgentsList.tsx b/dash/apps/switch-console-desktop/src/renderer/features/settings/agents-page/CliAgentsList.tsx
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/features/settings/agents-page/CliAgentsList.tsx
rename to dash/apps/switch-console-desktop/src/renderer/features/settings/agents-page/CliAgentsList.tsx
diff --git a/dash/apps/switchdash-desktop/src/renderer/features/settings/agents-page/DefaultAgentSelector.tsx b/dash/apps/switch-console-desktop/src/renderer/features/settings/agents-page/DefaultAgentSelector.tsx
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/features/settings/agents-page/DefaultAgentSelector.tsx
rename to dash/apps/switch-console-desktop/src/renderer/features/settings/agents-page/DefaultAgentSelector.tsx
diff --git a/dash/apps/switchdash-desktop/src/renderer/features/settings/agents-page/DependencyInstallationStatusCard.tsx b/dash/apps/switch-console-desktop/src/renderer/features/settings/agents-page/DependencyInstallationStatusCard.tsx
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/features/settings/agents-page/DependencyInstallationStatusCard.tsx
rename to dash/apps/switch-console-desktop/src/renderer/features/settings/agents-page/DependencyInstallationStatusCard.tsx
diff --git a/dash/apps/switchdash-desktop/src/renderer/features/settings/agents-page/DependencyInstallationUpdateCard.tsx b/dash/apps/switch-console-desktop/src/renderer/features/settings/agents-page/DependencyInstallationUpdateCard.tsx
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/features/settings/agents-page/DependencyInstallationUpdateCard.tsx
rename to dash/apps/switch-console-desktop/src/renderer/features/settings/agents-page/DependencyInstallationUpdateCard.tsx
diff --git a/dash/apps/switchdash-desktop/src/renderer/features/settings/agents-page/InstallDependencyCard.tsx b/dash/apps/switch-console-desktop/src/renderer/features/settings/agents-page/InstallDependencyCard.tsx
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/features/settings/agents-page/InstallDependencyCard.tsx
rename to dash/apps/switch-console-desktop/src/renderer/features/settings/agents-page/InstallDependencyCard.tsx
diff --git a/dash/apps/switchdash-desktop/src/renderer/features/settings/agents-page/InstallSection.tsx b/dash/apps/switch-console-desktop/src/renderer/features/settings/agents-page/InstallSection.tsx
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/features/settings/agents-page/InstallSection.tsx
rename to dash/apps/switch-console-desktop/src/renderer/features/settings/agents-page/InstallSection.tsx
diff --git a/dash/apps/switchdash-desktop/src/renderer/features/settings/agents-page/InstallationOverrideCard.tsx b/dash/apps/switch-console-desktop/src/renderer/features/settings/agents-page/InstallationOverrideCard.tsx
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/features/settings/agents-page/InstallationOverrideCard.tsx
rename to dash/apps/switch-console-desktop/src/renderer/features/settings/agents-page/InstallationOverrideCard.tsx
diff --git a/dash/apps/switchdash-desktop/src/renderer/features/settings/agents-page/InstalledAgentContent.tsx b/dash/apps/switch-console-desktop/src/renderer/features/settings/agents-page/InstalledAgentContent.tsx
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/features/settings/agents-page/InstalledAgentContent.tsx
rename to dash/apps/switch-console-desktop/src/renderer/features/settings/agents-page/InstalledAgentContent.tsx
diff --git a/dash/apps/switchdash-desktop/src/renderer/features/settings/agents-page/LocalGhAuthPanel.tsx b/dash/apps/switch-console-desktop/src/renderer/features/settings/agents-page/LocalGhAuthPanel.tsx
similarity index 98%
rename from dash/apps/switchdash-desktop/src/renderer/features/settings/agents-page/LocalGhAuthPanel.tsx
rename to dash/apps/switch-console-desktop/src/renderer/features/settings/agents-page/LocalGhAuthPanel.tsx
index 33dd224e6..c2355f6bc 100644
--- a/dash/apps/switchdash-desktop/src/renderer/features/settings/agents-page/LocalGhAuthPanel.tsx
+++ b/dash/apps/switch-console-desktop/src/renderer/features/settings/agents-page/LocalGhAuthPanel.tsx
@@ -16,7 +16,7 @@ type Props = {
* terminal INLINE on the agents settings page.
*
* The local counterpart of the remote-hosts GhAuthPanel, and inline for the
- * same reason: switchdash's terminal input path is disabled whenever a
+ * same reason: Switch Console's terminal input path is disabled whenever a
* `[role="dialog"]` is present, so a terminal in a modal can never receive
* keystrokes.
*/
diff --git a/dash/apps/switchdash-desktop/src/renderer/features/settings/agents-page/LocalGhAuthRow.tsx b/dash/apps/switch-console-desktop/src/renderer/features/settings/agents-page/LocalGhAuthRow.tsx
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/features/settings/agents-page/LocalGhAuthRow.tsx
rename to dash/apps/switch-console-desktop/src/renderer/features/settings/agents-page/LocalGhAuthRow.tsx
diff --git a/dash/apps/switchdash-desktop/src/renderer/features/settings/agents-page/SwitchSetupCard.tsx b/dash/apps/switch-console-desktop/src/renderer/features/settings/agents-page/SwitchSetupCard.tsx
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/features/settings/agents-page/SwitchSetupCard.tsx
rename to dash/apps/switch-console-desktop/src/renderer/features/settings/agents-page/SwitchSetupCard.tsx
diff --git a/dash/apps/switchdash-desktop/src/renderer/features/settings/agents-page/agent-status-badge.tsx b/dash/apps/switch-console-desktop/src/renderer/features/settings/agents-page/agent-status-badge.tsx
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/features/settings/agents-page/agent-status-badge.tsx
rename to dash/apps/switch-console-desktop/src/renderer/features/settings/agents-page/agent-status-badge.tsx
diff --git a/dash/apps/switchdash-desktop/src/renderer/features/settings/agents-page/install-command-row.tsx b/dash/apps/switch-console-desktop/src/renderer/features/settings/agents-page/install-command-row.tsx
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/features/settings/agents-page/install-command-row.tsx
rename to dash/apps/switch-console-desktop/src/renderer/features/settings/agents-page/install-command-row.tsx
diff --git a/dash/apps/switchdash-desktop/src/renderer/features/settings/agents-page/installation-sources.test.ts b/dash/apps/switch-console-desktop/src/renderer/features/settings/agents-page/installation-sources.test.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/features/settings/agents-page/installation-sources.test.ts
rename to dash/apps/switch-console-desktop/src/renderer/features/settings/agents-page/installation-sources.test.ts
diff --git a/dash/apps/switchdash-desktop/src/renderer/features/settings/agents-page/installation-sources.ts b/dash/apps/switch-console-desktop/src/renderer/features/settings/agents-page/installation-sources.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/features/settings/agents-page/installation-sources.ts
rename to dash/apps/switch-console-desktop/src/renderer/features/settings/agents-page/installation-sources.ts
diff --git a/dash/apps/switchdash-desktop/src/renderer/features/settings/app-settings-client.ts b/dash/apps/switch-console-desktop/src/renderer/features/settings/app-settings-client.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/features/settings/app-settings-client.ts
rename to dash/apps/switch-console-desktop/src/renderer/features/settings/app-settings-client.ts
diff --git a/dash/apps/switchdash-desktop/src/renderer/features/settings/components/HiddenToolsSettingsCard.tsx b/dash/apps/switch-console-desktop/src/renderer/features/settings/components/HiddenToolsSettingsCard.tsx
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/features/settings/components/HiddenToolsSettingsCard.tsx
rename to dash/apps/switch-console-desktop/src/renderer/features/settings/components/HiddenToolsSettingsCard.tsx
diff --git a/dash/apps/switchdash-desktop/src/renderer/features/settings/components/IntegrationRow.tsx b/dash/apps/switch-console-desktop/src/renderer/features/settings/components/IntegrationRow.tsx
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/features/settings/components/IntegrationRow.tsx
rename to dash/apps/switch-console-desktop/src/renderer/features/settings/components/IntegrationRow.tsx
diff --git a/dash/apps/switchdash-desktop/src/renderer/features/settings/components/InterfaceSettingsCard.tsx b/dash/apps/switch-console-desktop/src/renderer/features/settings/components/InterfaceSettingsCard.tsx
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/features/settings/components/InterfaceSettingsCard.tsx
rename to dash/apps/switch-console-desktop/src/renderer/features/settings/components/InterfaceSettingsCard.tsx
diff --git a/dash/apps/switchdash-desktop/src/renderer/features/settings/components/KeyboardSettingsCard.tsx b/dash/apps/switch-console-desktop/src/renderer/features/settings/components/KeyboardSettingsCard.tsx
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/features/settings/components/KeyboardSettingsCard.tsx
rename to dash/apps/switch-console-desktop/src/renderer/features/settings/components/KeyboardSettingsCard.tsx
diff --git a/dash/apps/switchdash-desktop/src/renderer/features/settings/components/NotificationSettingsCard.tsx b/dash/apps/switch-console-desktop/src/renderer/features/settings/components/NotificationSettingsCard.tsx
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/features/settings/components/NotificationSettingsCard.tsx
rename to dash/apps/switch-console-desktop/src/renderer/features/settings/components/NotificationSettingsCard.tsx
diff --git a/dash/apps/switchdash-desktop/src/renderer/features/settings/components/RemoteAttachmentSettingsCard.tsx b/dash/apps/switch-console-desktop/src/renderer/features/settings/components/RemoteAttachmentSettingsCard.tsx
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/features/settings/components/RemoteAttachmentSettingsCard.tsx
rename to dash/apps/switch-console-desktop/src/renderer/features/settings/components/RemoteAttachmentSettingsCard.tsx
diff --git a/dash/apps/switchdash-desktop/src/renderer/features/settings/components/ResetToDefaultButton.tsx b/dash/apps/switch-console-desktop/src/renderer/features/settings/components/ResetToDefaultButton.tsx
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/features/settings/components/ResetToDefaultButton.tsx
rename to dash/apps/switch-console-desktop/src/renderer/features/settings/components/ResetToDefaultButton.tsx
diff --git a/dash/apps/switchdash-desktop/src/renderer/features/settings/components/ResourceMonitorSettingsCard.tsx b/dash/apps/switch-console-desktop/src/renderer/features/settings/components/ResourceMonitorSettingsCard.tsx
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/features/settings/components/ResourceMonitorSettingsCard.tsx
rename to dash/apps/switch-console-desktop/src/renderer/features/settings/components/ResourceMonitorSettingsCard.tsx
diff --git a/dash/apps/switchdash-desktop/src/renderer/features/settings/components/ServerUnavailableMessage.tsx b/dash/apps/switch-console-desktop/src/renderer/features/settings/components/ServerUnavailableMessage.tsx
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/features/settings/components/ServerUnavailableMessage.tsx
rename to dash/apps/switch-console-desktop/src/renderer/features/settings/components/ServerUnavailableMessage.tsx
diff --git a/dash/apps/switchdash-desktop/src/renderer/features/settings/components/SessionSettingsRows.tsx b/dash/apps/switch-console-desktop/src/renderer/features/settings/components/SessionSettingsRows.tsx
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/features/settings/components/SessionSettingsRows.tsx
rename to dash/apps/switch-console-desktop/src/renderer/features/settings/components/SessionSettingsRows.tsx
diff --git a/dash/apps/switchdash-desktop/src/renderer/features/settings/components/SettingRow.tsx b/dash/apps/switch-console-desktop/src/renderer/features/settings/components/SettingRow.tsx
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/features/settings/components/SettingRow.tsx
rename to dash/apps/switch-console-desktop/src/renderer/features/settings/components/SettingRow.tsx
diff --git a/dash/apps/switchdash-desktop/src/renderer/features/settings/components/SettingsPage.tsx b/dash/apps/switch-console-desktop/src/renderer/features/settings/components/SettingsPage.tsx
similarity index 97%
rename from dash/apps/switchdash-desktop/src/renderer/features/settings/components/SettingsPage.tsx
rename to dash/apps/switch-console-desktop/src/renderer/features/settings/components/SettingsPage.tsx
index d1f2bbfb0..60e53327e 100644
--- a/dash/apps/switchdash-desktop/src/renderer/features/settings/components/SettingsPage.tsx
+++ b/dash/apps/switch-console-desktop/src/renderer/features/settings/components/SettingsPage.tsx
@@ -104,7 +104,7 @@ export function SettingsPage({
label: string;
isExternal?: boolean;
}> = [
- // switchdash v0 hides Account, Integrations, Connections (SSH), and Browser tabs.
+ // Switch Console v0 hides Account, Integrations, Connections (SSH), and Browser tabs.
{ id: 'general', label: 'General' },
{ id: 'clis-models', label: 'Agents' },
{ id: 'interface', label: 'Interface' },
diff --git a/dash/apps/switchdash-desktop/src/renderer/features/settings/components/SidebarMetadataSettingsCard.tsx b/dash/apps/switch-console-desktop/src/renderer/features/settings/components/SidebarMetadataSettingsCard.tsx
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/features/settings/components/SidebarMetadataSettingsCard.tsx
rename to dash/apps/switch-console-desktop/src/renderer/features/settings/components/SidebarMetadataSettingsCard.tsx
diff --git a/dash/apps/switchdash-desktop/src/renderer/features/settings/components/TerminalSettingsCard.tsx b/dash/apps/switch-console-desktop/src/renderer/features/settings/components/TerminalSettingsCard.tsx
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/features/settings/components/TerminalSettingsCard.tsx
rename to dash/apps/switch-console-desktop/src/renderer/features/settings/components/TerminalSettingsCard.tsx
diff --git a/dash/apps/switchdash-desktop/src/renderer/features/settings/components/ThemeCard.tsx b/dash/apps/switch-console-desktop/src/renderer/features/settings/components/ThemeCard.tsx
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/features/settings/components/ThemeCard.tsx
rename to dash/apps/switch-console-desktop/src/renderer/features/settings/components/ThemeCard.tsx
diff --git a/dash/apps/switchdash-desktop/src/renderer/features/settings/components/UpdateCard.tsx b/dash/apps/switch-console-desktop/src/renderer/features/settings/components/UpdateCard.tsx
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/features/settings/components/UpdateCard.tsx
rename to dash/apps/switch-console-desktop/src/renderer/features/settings/components/UpdateCard.tsx
diff --git a/dash/apps/switchdash-desktop/src/renderer/features/settings/settings-view.tsx b/dash/apps/switch-console-desktop/src/renderer/features/settings/settings-view.tsx
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/features/settings/settings-view.tsx
rename to dash/apps/switch-console-desktop/src/renderer/features/settings/settings-view.tsx
diff --git a/dash/apps/switchdash-desktop/src/renderer/features/settings/use-app-settings-key.tsx b/dash/apps/switch-console-desktop/src/renderer/features/settings/use-app-settings-key.tsx
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/features/settings/use-app-settings-key.tsx
rename to dash/apps/switch-console-desktop/src/renderer/features/settings/use-app-settings-key.tsx
diff --git a/dash/apps/switchdash-desktop/src/renderer/features/settings/use-installed-fonts.ts b/dash/apps/switch-console-desktop/src/renderer/features/settings/use-installed-fonts.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/features/settings/use-installed-fonts.ts
rename to dash/apps/switch-console-desktop/src/renderer/features/settings/use-installed-fonts.ts
diff --git a/dash/apps/switchdash-desktop/src/renderer/features/sidebar/agent-item.tsx b/dash/apps/switch-console-desktop/src/renderer/features/sidebar/agent-item.tsx
similarity index 98%
rename from dash/apps/switchdash-desktop/src/renderer/features/sidebar/agent-item.tsx
rename to dash/apps/switch-console-desktop/src/renderer/features/sidebar/agent-item.tsx
index b88dfec99..d85a7e381 100644
--- a/dash/apps/switchdash-desktop/src/renderer/features/sidebar/agent-item.tsx
+++ b/dash/apps/switch-console-desktop/src/renderer/features/sidebar/agent-item.tsx
@@ -39,7 +39,7 @@ import { SidebarItemMiniButton, SidebarMenuAction, SidebarMenuRow } from './side
import { agentExpandKey, depthIndent } from './sidebar-store';
/**
- * A single agent in the flat sidebar list. switchdash has no main/subagent
+ * A single agent in the flat sidebar list. Switch Console has no main/subagent
* distinction — every agent is a first-class row, launched as its own provider
* definition with its own Switch identity (CHOO-1440). The row opens the agent's
* page, starts sessions as that agent, and its sessions nest underneath.
@@ -63,7 +63,7 @@ export const SidebarAgentItem = observer(function SidebarAgentItem({
const agentName = agent.name;
const location = getLocationStore(agent.locationId);
- // The agent's name IS its Switch identity: switchdash chose it, registered it
+ // The agent's name IS its Switch identity: Switch Console chose it, registered it
// under that name, and keys its credentials and definition by it. Reading the
// stored one is reading the same value the server holds.
const label = agent.name || agentName || 'Unnamed agent';
diff --git a/dash/apps/switchdash-desktop/src/renderer/features/sidebar/agent-tree.tsx b/dash/apps/switch-console-desktop/src/renderer/features/sidebar/agent-tree.tsx
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/features/sidebar/agent-tree.tsx
rename to dash/apps/switch-console-desktop/src/renderer/features/sidebar/agent-tree.tsx
diff --git a/dash/apps/switchdash-desktop/src/renderer/features/sidebar/left-sidebar.tsx b/dash/apps/switch-console-desktop/src/renderer/features/sidebar/left-sidebar.tsx
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/features/sidebar/left-sidebar.tsx
rename to dash/apps/switch-console-desktop/src/renderer/features/sidebar/left-sidebar.tsx
diff --git a/dash/apps/switchdash-desktop/src/renderer/features/sidebar/locations-group-label.tsx b/dash/apps/switch-console-desktop/src/renderer/features/sidebar/locations-group-label.tsx
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/features/sidebar/locations-group-label.tsx
rename to dash/apps/switch-console-desktop/src/renderer/features/sidebar/locations-group-label.tsx
diff --git a/dash/apps/switchdash-desktop/src/renderer/features/sidebar/pinned-session-list.tsx b/dash/apps/switch-console-desktop/src/renderer/features/sidebar/pinned-session-list.tsx
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/features/sidebar/pinned-session-list.tsx
rename to dash/apps/switch-console-desktop/src/renderer/features/sidebar/pinned-session-list.tsx
diff --git a/dash/apps/switchdash-desktop/src/renderer/features/sidebar/room-agent-row.tsx b/dash/apps/switch-console-desktop/src/renderer/features/sidebar/room-agent-row.tsx
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/features/sidebar/room-agent-row.tsx
rename to dash/apps/switch-console-desktop/src/renderer/features/sidebar/room-agent-row.tsx
diff --git a/dash/apps/switchdash-desktop/src/renderer/features/sidebar/room-tree-data.test.ts b/dash/apps/switch-console-desktop/src/renderer/features/sidebar/room-tree-data.test.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/features/sidebar/room-tree-data.test.ts
rename to dash/apps/switch-console-desktop/src/renderer/features/sidebar/room-tree-data.test.ts
diff --git a/dash/apps/switchdash-desktop/src/renderer/features/sidebar/room-tree-data.ts b/dash/apps/switch-console-desktop/src/renderer/features/sidebar/room-tree-data.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/features/sidebar/room-tree-data.ts
rename to dash/apps/switch-console-desktop/src/renderer/features/sidebar/room-tree-data.ts
diff --git a/dash/apps/switchdash-desktop/src/renderer/features/sidebar/room-tree.tsx b/dash/apps/switch-console-desktop/src/renderer/features/sidebar/room-tree.tsx
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/features/sidebar/room-tree.tsx
rename to dash/apps/switch-console-desktop/src/renderer/features/sidebar/room-tree.tsx
diff --git a/dash/apps/switchdash-desktop/src/renderer/features/sidebar/session-item.tsx b/dash/apps/switch-console-desktop/src/renderer/features/sidebar/session-item.tsx
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/features/sidebar/session-item.tsx
rename to dash/apps/switch-console-desktop/src/renderer/features/sidebar/session-item.tsx
diff --git a/dash/apps/switchdash-desktop/src/renderer/features/sidebar/session-sidebar-agent-status.tsx b/dash/apps/switch-console-desktop/src/renderer/features/sidebar/session-sidebar-agent-status.tsx
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/features/sidebar/session-sidebar-agent-status.tsx
rename to dash/apps/switch-console-desktop/src/renderer/features/sidebar/session-sidebar-agent-status.tsx
diff --git a/dash/apps/switchdash-desktop/src/renderer/features/sidebar/sidebar-auto-scroll.test.ts b/dash/apps/switch-console-desktop/src/renderer/features/sidebar/sidebar-auto-scroll.test.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/features/sidebar/sidebar-auto-scroll.test.ts
rename to dash/apps/switch-console-desktop/src/renderer/features/sidebar/sidebar-auto-scroll.test.ts
diff --git a/dash/apps/switchdash-desktop/src/renderer/features/sidebar/sidebar-auto-scroll.ts b/dash/apps/switch-console-desktop/src/renderer/features/sidebar/sidebar-auto-scroll.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/features/sidebar/sidebar-auto-scroll.ts
rename to dash/apps/switch-console-desktop/src/renderer/features/sidebar/sidebar-auto-scroll.ts
diff --git a/dash/apps/switchdash-desktop/src/renderer/features/sidebar/sidebar-dnd.test.ts b/dash/apps/switch-console-desktop/src/renderer/features/sidebar/sidebar-dnd.test.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/features/sidebar/sidebar-dnd.test.ts
rename to dash/apps/switch-console-desktop/src/renderer/features/sidebar/sidebar-dnd.test.ts
diff --git a/dash/apps/switchdash-desktop/src/renderer/features/sidebar/sidebar-dnd.tsx b/dash/apps/switch-console-desktop/src/renderer/features/sidebar/sidebar-dnd.tsx
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/features/sidebar/sidebar-dnd.tsx
rename to dash/apps/switch-console-desktop/src/renderer/features/sidebar/sidebar-dnd.tsx
diff --git a/dash/apps/switchdash-desktop/src/renderer/features/sidebar/sidebar-drag-state.ts b/dash/apps/switch-console-desktop/src/renderer/features/sidebar/sidebar-drag-state.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/features/sidebar/sidebar-drag-state.ts
rename to dash/apps/switch-console-desktop/src/renderer/features/sidebar/sidebar-drag-state.ts
diff --git a/dash/apps/switchdash-desktop/src/renderer/features/sidebar/sidebar-grouped-list.tsx b/dash/apps/switch-console-desktop/src/renderer/features/sidebar/sidebar-grouped-list.tsx
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/features/sidebar/sidebar-grouped-list.tsx
rename to dash/apps/switch-console-desktop/src/renderer/features/sidebar/sidebar-grouped-list.tsx
diff --git a/dash/apps/switchdash-desktop/src/renderer/features/sidebar/sidebar-primitives.tsx b/dash/apps/switch-console-desktop/src/renderer/features/sidebar/sidebar-primitives.tsx
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/features/sidebar/sidebar-primitives.tsx
rename to dash/apps/switch-console-desktop/src/renderer/features/sidebar/sidebar-primitives.tsx
diff --git a/dash/apps/switchdash-desktop/src/renderer/features/sidebar/sidebar-room-grouping.test.ts b/dash/apps/switch-console-desktop/src/renderer/features/sidebar/sidebar-room-grouping.test.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/features/sidebar/sidebar-room-grouping.test.ts
rename to dash/apps/switch-console-desktop/src/renderer/features/sidebar/sidebar-room-grouping.test.ts
diff --git a/dash/apps/switchdash-desktop/src/renderer/features/sidebar/sidebar-room-grouping.tsx b/dash/apps/switch-console-desktop/src/renderer/features/sidebar/sidebar-room-grouping.tsx
similarity index 99%
rename from dash/apps/switchdash-desktop/src/renderer/features/sidebar/sidebar-room-grouping.tsx
rename to dash/apps/switch-console-desktop/src/renderer/features/sidebar/sidebar-room-grouping.tsx
index 4bfe9af9d..64d2270b0 100644
--- a/dash/apps/switchdash-desktop/src/renderer/features/sidebar/sidebar-room-grouping.tsx
+++ b/dash/apps/switch-console-desktop/src/renderer/features/sidebar/sidebar-room-grouping.tsx
@@ -131,7 +131,7 @@ export function RoomRow({
* something to act on, not to wait for. */
nameBlockedBySignIn?: boolean;
/** Members the server counts that this install cannot draw — agents
- * registered on another switchdash, plus any whose membership failed to load.
+ * registered on another Switch Console, plus any whose membership failed to load.
* Disclosed next to the count so a member that exists but cannot be shown is
* not read as a member that is not there. Null when unknown. */
undrawableCount?: number | null;
diff --git a/dash/apps/switchdash-desktop/src/renderer/features/sidebar/sidebar-search-trigger.tsx b/dash/apps/switch-console-desktop/src/renderer/features/sidebar/sidebar-search-trigger.tsx
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/features/sidebar/sidebar-search-trigger.tsx
rename to dash/apps/switch-console-desktop/src/renderer/features/sidebar/sidebar-search-trigger.tsx
diff --git a/dash/apps/switchdash-desktop/src/renderer/features/sidebar/sidebar-selection.ts b/dash/apps/switch-console-desktop/src/renderer/features/sidebar/sidebar-selection.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/features/sidebar/sidebar-selection.ts
rename to dash/apps/switch-console-desktop/src/renderer/features/sidebar/sidebar-selection.ts
diff --git a/dash/apps/switchdash-desktop/src/renderer/features/sidebar/sidebar-space.tsx b/dash/apps/switch-console-desktop/src/renderer/features/sidebar/sidebar-space.tsx
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/features/sidebar/sidebar-space.tsx
rename to dash/apps/switch-console-desktop/src/renderer/features/sidebar/sidebar-space.tsx
diff --git a/dash/apps/switchdash-desktop/src/renderer/features/sidebar/sidebar-store.test.ts b/dash/apps/switch-console-desktop/src/renderer/features/sidebar/sidebar-store.test.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/features/sidebar/sidebar-store.test.ts
rename to dash/apps/switch-console-desktop/src/renderer/features/sidebar/sidebar-store.test.ts
diff --git a/dash/apps/switchdash-desktop/src/renderer/features/sidebar/sidebar-store.ts b/dash/apps/switch-console-desktop/src/renderer/features/sidebar/sidebar-store.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/features/sidebar/sidebar-store.ts
rename to dash/apps/switch-console-desktop/src/renderer/features/sidebar/sidebar-store.ts
diff --git a/dash/apps/switchdash-desktop/src/renderer/features/sidebar/sidebar-tree-data.ts b/dash/apps/switch-console-desktop/src/renderer/features/sidebar/sidebar-tree-data.ts
similarity index 98%
rename from dash/apps/switchdash-desktop/src/renderer/features/sidebar/sidebar-tree-data.ts
rename to dash/apps/switch-console-desktop/src/renderer/features/sidebar/sidebar-tree-data.ts
index 7d4def54c..4b33f49ef 100644
--- a/dash/apps/switchdash-desktop/src/renderer/features/sidebar/sidebar-tree-data.ts
+++ b/dash/apps/switch-console-desktop/src/renderer/features/sidebar/sidebar-tree-data.ts
@@ -30,7 +30,7 @@ function agentsAtLocationInScope(location: LocationStore): Agent[] {
}
/**
- * The flat list of agents in the active-server scope. switchdash shows agents
+ * The flat list of agents in the active-server scope. Switch Console shows agents
* as a flat list — not grouped by directory (CHOO-1440).
*
* Newest first, then overlaid with the user's manual drag order: an agent they
diff --git a/dash/apps/switchdash-desktop/src/renderer/features/sidebar/update-section.tsx b/dash/apps/switch-console-desktop/src/renderer/features/sidebar/update-section.tsx
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/features/sidebar/update-section.tsx
rename to dash/apps/switch-console-desktop/src/renderer/features/sidebar/update-section.tsx
diff --git a/dash/apps/switchdash-desktop/src/renderer/features/sidebar/use-sidebar-drop.ts b/dash/apps/switch-console-desktop/src/renderer/features/sidebar/use-sidebar-drop.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/features/sidebar/use-sidebar-drop.ts
rename to dash/apps/switch-console-desktop/src/renderer/features/sidebar/use-sidebar-drop.ts
diff --git a/dash/apps/switchdash-desktop/src/renderer/features/switch-rooms/AddAgentsToRoomModal.tsx b/dash/apps/switch-console-desktop/src/renderer/features/switch-rooms/AddAgentsToRoomModal.tsx
similarity index 98%
rename from dash/apps/switchdash-desktop/src/renderer/features/switch-rooms/AddAgentsToRoomModal.tsx
rename to dash/apps/switch-console-desktop/src/renderer/features/switch-rooms/AddAgentsToRoomModal.tsx
index 646ea706e..da71ac328 100644
--- a/dash/apps/switchdash-desktop/src/renderer/features/switch-rooms/AddAgentsToRoomModal.tsx
+++ b/dash/apps/switch-console-desktop/src/renderer/features/switch-rooms/AddAgentsToRoomModal.tsx
@@ -49,7 +49,7 @@ export const AddAgentsToRoomModal = observer(function AddAgentsToRoomModal({
// sidebar can disagree about who is already in the room.
const members = new Set(switchRoomsStore.localMemberIds(roomId));
// Only this install's agents are offered. An agent registered on another
- // switchdash could be added server-side but could never be shown or driven
+ // Switch Console could be added server-side but could never be shown or driven
// from here, so it is not ours to offer.
const candidates: Candidate[] = serverId
? agentsStore
diff --git a/dash/apps/switchdash-desktop/src/renderer/features/switch-rooms/room-embed-layer.tsx b/dash/apps/switch-console-desktop/src/renderer/features/switch-rooms/room-embed-layer.tsx
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/features/switch-rooms/room-embed-layer.tsx
rename to dash/apps/switch-console-desktop/src/renderer/features/switch-rooms/room-embed-layer.tsx
diff --git a/dash/apps/switchdash-desktop/src/renderer/features/switch-rooms/room-links.ts b/dash/apps/switch-console-desktop/src/renderer/features/switch-rooms/room-links.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/features/switch-rooms/room-links.ts
rename to dash/apps/switch-console-desktop/src/renderer/features/switch-rooms/room-links.ts
diff --git a/dash/apps/switchdash-desktop/src/renderer/features/switch-rooms/session-deeplink-listener.tsx b/dash/apps/switch-console-desktop/src/renderer/features/switch-rooms/session-deeplink-listener.tsx
similarity index 98%
rename from dash/apps/switchdash-desktop/src/renderer/features/switch-rooms/session-deeplink-listener.tsx
rename to dash/apps/switch-console-desktop/src/renderer/features/switch-rooms/session-deeplink-listener.tsx
index ee21bc801..28dda4c8b 100644
--- a/dash/apps/switchdash-desktop/src/renderer/features/switch-rooms/session-deeplink-listener.tsx
+++ b/dash/apps/switch-console-desktop/src/renderer/features/switch-rooms/session-deeplink-listener.tsx
@@ -33,7 +33,7 @@ function findSessionForRoom(roomId: string): { locationId: string; sessionId: st
* Resolve a session directly by its (shared) session id, which is the same
* across every client — unlike the room mapping, which only exists on a client
* that has an active relay for the session. This is what makes the deeplink open
- * the right session on a different switchdash client that merely adopted it.
+ * the right session on a different Switch Console client that merely adopted it.
*/
function findSessionById(sessionId: string): { locationId: string; sessionId: string } | null {
for (const locationId of getLocationManagerStore().locations.keys()) {
diff --git a/dash/apps/switchdash-desktop/src/renderer/features/switch-rooms/session-deeplink-resolve.test.ts b/dash/apps/switch-console-desktop/src/renderer/features/switch-rooms/session-deeplink-resolve.test.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/features/switch-rooms/session-deeplink-resolve.test.ts
rename to dash/apps/switch-console-desktop/src/renderer/features/switch-rooms/session-deeplink-resolve.test.ts
diff --git a/dash/apps/switchdash-desktop/src/renderer/features/switch-rooms/session-deeplink-resolve.ts b/dash/apps/switch-console-desktop/src/renderer/features/switch-rooms/session-deeplink-resolve.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/features/switch-rooms/session-deeplink-resolve.ts
rename to dash/apps/switch-console-desktop/src/renderer/features/switch-rooms/session-deeplink-resolve.ts
diff --git a/dash/apps/switchdash-desktop/src/renderer/features/switch-rooms/session-room-badge.tsx b/dash/apps/switch-console-desktop/src/renderer/features/switch-rooms/session-room-badge.tsx
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/features/switch-rooms/session-room-badge.tsx
rename to dash/apps/switch-console-desktop/src/renderer/features/switch-rooms/session-room-badge.tsx
diff --git a/dash/apps/switchdash-desktop/src/renderer/features/switch-rooms/switch-rooms-store.test.ts b/dash/apps/switch-console-desktop/src/renderer/features/switch-rooms/switch-rooms-store.test.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/features/switch-rooms/switch-rooms-store.test.ts
rename to dash/apps/switch-console-desktop/src/renderer/features/switch-rooms/switch-rooms-store.test.ts
diff --git a/dash/apps/switchdash-desktop/src/renderer/features/switch-rooms/switch-rooms-store.ts b/dash/apps/switch-console-desktop/src/renderer/features/switch-rooms/switch-rooms-store.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/features/switch-rooms/switch-rooms-store.ts
rename to dash/apps/switch-console-desktop/src/renderer/features/switch-rooms/switch-rooms-store.ts
diff --git a/dash/apps/switchdash-desktop/src/renderer/features/switch-rooms/switch-tools-unavailable-listener.tsx b/dash/apps/switch-console-desktop/src/renderer/features/switch-rooms/switch-tools-unavailable-listener.tsx
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/features/switch-rooms/switch-tools-unavailable-listener.tsx
rename to dash/apps/switch-console-desktop/src/renderer/features/switch-rooms/switch-tools-unavailable-listener.tsx
diff --git a/dash/apps/switchdash-desktop/src/renderer/features/switch-rooms/theme-tokens.ts b/dash/apps/switch-console-desktop/src/renderer/features/switch-rooms/theme-tokens.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/features/switch-rooms/theme-tokens.ts
rename to dash/apps/switch-console-desktop/src/renderer/features/switch-rooms/theme-tokens.ts
diff --git a/dash/apps/switchdash-desktop/src/renderer/features/switch-rooms/view.tsx b/dash/apps/switch-console-desktop/src/renderer/features/switch-rooms/view.tsx
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/features/switch-rooms/view.tsx
rename to dash/apps/switch-console-desktop/src/renderer/features/switch-rooms/view.tsx
diff --git a/dash/apps/switchdash-desktop/src/renderer/features/switch-rooms/webview-attrs.ts b/dash/apps/switch-console-desktop/src/renderer/features/switch-rooms/webview-attrs.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/features/switch-rooms/webview-attrs.ts
rename to dash/apps/switch-console-desktop/src/renderer/features/switch-rooms/webview-attrs.ts
diff --git a/dash/apps/switchdash-desktop/src/renderer/features/switch-servers/AddServerModal.tsx b/dash/apps/switch-console-desktop/src/renderer/features/switch-servers/AddServerModal.tsx
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/features/switch-servers/AddServerModal.tsx
rename to dash/apps/switch-console-desktop/src/renderer/features/switch-servers/AddServerModal.tsx
diff --git a/dash/apps/switchdash-desktop/src/renderer/features/switch-servers/BundledChatSignIn.tsx b/dash/apps/switch-console-desktop/src/renderer/features/switch-servers/BundledChatSignIn.tsx
similarity index 97%
rename from dash/apps/switchdash-desktop/src/renderer/features/switch-servers/BundledChatSignIn.tsx
rename to dash/apps/switch-console-desktop/src/renderer/features/switch-servers/BundledChatSignIn.tsx
index 7fd3e7834..0db9b8668 100644
--- a/dash/apps/switchdash-desktop/src/renderer/features/switch-servers/BundledChatSignIn.tsx
+++ b/dash/apps/switch-console-desktop/src/renderer/features/switch-servers/BundledChatSignIn.tsx
@@ -68,7 +68,7 @@ function CredentialRow({
}
/**
- * The bundled chat's address and sign-in, for signing in outside switchdash —
+ * The bundled chat's address and sign-in, for signing in outside Switch Console —
* a browser or the desktop Mattermost client (CHOO-1787).
*
* Both are on the same machine by necessity: the stack publishes onto loopback
@@ -77,7 +77,7 @@ function CredentialRow({
*
* Collapsed by default, and the values are only fetched once it is opened: the
* password should not cross into the renderer for everyone who merely looks at
- * the server page. When switchdash cannot read the real values it says which
+ * the server page. When Switch Console cannot read the real values it says which
* one is missing and why, and shows nothing else — a template password would
* only send the user round a login loop.
*/
diff --git a/dash/apps/switchdash-desktop/src/renderer/features/switch-servers/ConnectMessagingAppModal.tsx b/dash/apps/switch-console-desktop/src/renderer/features/switch-servers/ConnectMessagingAppModal.tsx
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/features/switch-servers/ConnectMessagingAppModal.tsx
rename to dash/apps/switch-console-desktop/src/renderer/features/switch-servers/ConnectMessagingAppModal.tsx
diff --git a/dash/apps/switchdash-desktop/src/renderer/features/switch-servers/CreateRoomModal.tsx b/dash/apps/switch-console-desktop/src/renderer/features/switch-servers/CreateRoomModal.tsx
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/features/switch-servers/CreateRoomModal.tsx
rename to dash/apps/switch-console-desktop/src/renderer/features/switch-servers/CreateRoomModal.tsx
diff --git a/dash/apps/switchdash-desktop/src/renderer/features/switch-servers/DeleteServerModal.tsx b/dash/apps/switch-console-desktop/src/renderer/features/switch-servers/DeleteServerModal.tsx
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/features/switch-servers/DeleteServerModal.tsx
rename to dash/apps/switch-console-desktop/src/renderer/features/switch-servers/DeleteServerModal.tsx
diff --git a/dash/apps/switchdash-desktop/src/renderer/features/switch-servers/LocalServerControls.tsx b/dash/apps/switch-console-desktop/src/renderer/features/switch-servers/LocalServerControls.tsx
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/features/switch-servers/LocalServerControls.tsx
rename to dash/apps/switch-console-desktop/src/renderer/features/switch-servers/LocalServerControls.tsx
diff --git a/dash/apps/switchdash-desktop/src/renderer/features/switch-servers/MessagingAppsCard.tsx b/dash/apps/switch-console-desktop/src/renderer/features/switch-servers/MessagingAppsCard.tsx
similarity index 97%
rename from dash/apps/switchdash-desktop/src/renderer/features/switch-servers/MessagingAppsCard.tsx
rename to dash/apps/switch-console-desktop/src/renderer/features/switch-servers/MessagingAppsCard.tsx
index 7b1a628fc..550a6c6a2 100644
--- a/dash/apps/switchdash-desktop/src/renderer/features/switch-servers/MessagingAppsCard.tsx
+++ b/dash/apps/switch-console-desktop/src/renderer/features/switch-servers/MessagingAppsCard.tsx
@@ -19,7 +19,7 @@ import { switchServersStore } from './switch-servers-store';
*
* Listing is offered on every server type, not just managed ones: a bridge is
* registered through the server's own admin API, so there is nothing
- * switchdash has to own locally for this to work. Attaching is gated on the
+ * Switch Console has to own locally for this to work. Attaching is gated on the
* signed-in user being an admin, because the endpoint is.
*/
export const MessagingAppsCard = observer(function MessagingAppsCard({
@@ -32,7 +32,7 @@ export const MessagingAppsCard = observer(function MessagingAppsCard({
const queryClient = useQueryClient();
const showConnectMessagingApp = useShowModal('connectMessagingAppModal');
const isAdmin = switchServersStore.statusFor(serverId)?.user?.role === 'admin';
- // Only a stack switchdash runs has a chat whose credentials it generated and
+ // Only a stack Switch Console runs has a chat whose credentials it generated and
// can therefore show; anyone else's Mattermost is their own to hand out.
const isManaged = !!switchServersStore.servers.find((s) => s.id === serverId)?.managed;
diff --git a/dash/apps/switchdash-desktop/src/renderer/features/switch-servers/RemoteServerControls.tsx b/dash/apps/switch-console-desktop/src/renderer/features/switch-servers/RemoteServerControls.tsx
similarity index 98%
rename from dash/apps/switchdash-desktop/src/renderer/features/switch-servers/RemoteServerControls.tsx
rename to dash/apps/switch-console-desktop/src/renderer/features/switch-servers/RemoteServerControls.tsx
index 921a0eebe..4e6796228 100644
--- a/dash/apps/switchdash-desktop/src/renderer/features/switch-servers/RemoteServerControls.tsx
+++ b/dash/apps/switch-console-desktop/src/renderer/features/switch-servers/RemoteServerControls.tsx
@@ -20,7 +20,7 @@ import { VersionDriftNotice } from './VersionDriftNotice';
const card = 'rounded-lg border border-border bg-card p-4';
/**
- * Lifecycle controls for a switchdash-managed Switch stack running on a remote
+ * Lifecycle controls for a Switch Console-managed Switch stack running on a remote
* host: live status, Docker guidance, start / stop / reset — driven over the
* host's SSH connection. Rendered inside the managed remote server's page.
*/
diff --git a/dash/apps/switchdash-desktop/src/renderer/features/switch-servers/RenameServerModal.tsx b/dash/apps/switch-console-desktop/src/renderer/features/switch-servers/RenameServerModal.tsx
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/features/switch-servers/RenameServerModal.tsx
rename to dash/apps/switch-console-desktop/src/renderer/features/switch-servers/RenameServerModal.tsx
diff --git a/dash/apps/switchdash-desktop/src/renderer/features/switch-servers/ServersSidebarSection.tsx b/dash/apps/switch-console-desktop/src/renderer/features/switch-servers/ServersSidebarSection.tsx
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/features/switch-servers/ServersSidebarSection.tsx
rename to dash/apps/switch-console-desktop/src/renderer/features/switch-servers/ServersSidebarSection.tsx
diff --git a/dash/apps/switchdash-desktop/src/renderer/features/switch-servers/VersionDriftNotice.tsx b/dash/apps/switch-console-desktop/src/renderer/features/switch-servers/VersionDriftNotice.tsx
similarity index 98%
rename from dash/apps/switchdash-desktop/src/renderer/features/switch-servers/VersionDriftNotice.tsx
rename to dash/apps/switch-console-desktop/src/renderer/features/switch-servers/VersionDriftNotice.tsx
index be170478f..a03090307 100644
--- a/dash/apps/switchdash-desktop/src/renderer/features/switch-servers/VersionDriftNotice.tsx
+++ b/dash/apps/switch-console-desktop/src/renderer/features/switch-servers/VersionDriftNotice.tsx
@@ -8,7 +8,7 @@ import {
/**
* Surfaces a managed stack whose switch-core version no longer matches the one
- * this build of switchdash pins (CHOO-1736).
+ * this build of Switch Console pins (CHOO-1736).
*
* Updating the app moves the pin, but a stack that is already up is never
* re-provisioned — without this the user silently keeps running the old core.
diff --git a/dash/apps/switchdash-desktop/src/renderer/features/switch-servers/addressing-policy-editor.tsx b/dash/apps/switch-console-desktop/src/renderer/features/switch-servers/addressing-policy-editor.tsx
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/features/switch-servers/addressing-policy-editor.tsx
rename to dash/apps/switch-console-desktop/src/renderer/features/switch-servers/addressing-policy-editor.tsx
diff --git a/dash/apps/switchdash-desktop/src/renderer/features/switch-servers/agent-server-picker.tsx b/dash/apps/switch-console-desktop/src/renderer/features/switch-servers/agent-server-picker.tsx
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/features/switch-servers/agent-server-picker.tsx
rename to dash/apps/switch-console-desktop/src/renderer/features/switch-servers/agent-server-picker.tsx
diff --git a/dash/apps/switchdash-desktop/src/renderer/features/switch-servers/assign-server-modal.tsx b/dash/apps/switch-console-desktop/src/renderer/features/switch-servers/assign-server-modal.tsx
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/features/switch-servers/assign-server-modal.tsx
rename to dash/apps/switch-console-desktop/src/renderer/features/switch-servers/assign-server-modal.tsx
diff --git a/dash/apps/switchdash-desktop/src/renderer/features/switch-servers/local-server-store.ts b/dash/apps/switch-console-desktop/src/renderer/features/switch-servers/local-server-store.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/features/switch-servers/local-server-store.ts
rename to dash/apps/switch-console-desktop/src/renderer/features/switch-servers/local-server-store.ts
diff --git a/dash/apps/switchdash-desktop/src/renderer/features/switch-servers/remote-server-store.ts b/dash/apps/switch-console-desktop/src/renderer/features/switch-servers/remote-server-store.ts
similarity index 98%
rename from dash/apps/switchdash-desktop/src/renderer/features/switch-servers/remote-server-store.ts
rename to dash/apps/switch-console-desktop/src/renderer/features/switch-servers/remote-server-store.ts
index 72bc53e51..2e0bff08c 100644
--- a/dash/apps/switchdash-desktop/src/renderer/features/switch-servers/remote-server-store.ts
+++ b/dash/apps/switch-console-desktop/src/renderer/features/switch-servers/remote-server-store.ts
@@ -29,7 +29,7 @@ function defaultStatus(sshHost: string): RemoteServerStatus {
}
/**
- * Renderer store for remote-managed servers — one switchdash-run stack per SSH
+ * Renderer store for remote-managed servers — one Switch Console-run stack per SSH
* host. Mirrors the main-process supervisor's per-host status (streamed over
* `remoteServerStatusChannel`) and exposes the lifecycle actions keyed by host.
* Structurally a per-host version of {@link LocalServerStore}.
diff --git a/dash/apps/switchdash-desktop/src/renderer/features/switch-servers/server-availability.test.ts b/dash/apps/switch-console-desktop/src/renderer/features/switch-servers/server-availability.test.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/features/switch-servers/server-availability.test.ts
rename to dash/apps/switch-console-desktop/src/renderer/features/switch-servers/server-availability.test.ts
diff --git a/dash/apps/switchdash-desktop/src/renderer/features/switch-servers/server-availability.ts b/dash/apps/switch-console-desktop/src/renderer/features/switch-servers/server-availability.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/features/switch-servers/server-availability.ts
rename to dash/apps/switch-console-desktop/src/renderer/features/switch-servers/server-availability.ts
diff --git a/dash/apps/switchdash-desktop/src/renderer/features/switch-servers/switch-rooms-store.test.ts b/dash/apps/switch-console-desktop/src/renderer/features/switch-servers/switch-rooms-store.test.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/features/switch-servers/switch-rooms-store.test.ts
rename to dash/apps/switch-console-desktop/src/renderer/features/switch-servers/switch-rooms-store.test.ts
diff --git a/dash/apps/switchdash-desktop/src/renderer/features/switch-servers/switch-rooms-store.ts b/dash/apps/switch-console-desktop/src/renderer/features/switch-servers/switch-rooms-store.ts
similarity index 98%
rename from dash/apps/switchdash-desktop/src/renderer/features/switch-servers/switch-rooms-store.ts
rename to dash/apps/switch-console-desktop/src/renderer/features/switch-servers/switch-rooms-store.ts
index 9c72c4a7a..c65459fae 100644
--- a/dash/apps/switchdash-desktop/src/renderer/features/switch-servers/switch-rooms-store.ts
+++ b/dash/apps/switch-console-desktop/src/renderer/features/switch-servers/switch-rooms-store.ts
@@ -36,7 +36,7 @@ export class SwitchRoomsStore {
private readonly channelUrlByRoom = new Map<string, string>();
/** Server id → the active rooms on that server owned by the signed-in user.
* The sidebar lists these even when no session is connected to them, so a
- * room you create in switchdash is visible the moment it exists rather than
+ * room you create in Switch Console is visible the moment it exists rather than
* only once an agent joins it. */
private readonly ownedRoomsByServer = new Map<string, RemoteRoomSummary[]>();
/** Server id → every active room on it. Listed in full for a server this
@@ -283,7 +283,7 @@ export class SwitchRoomsStore {
}
/**
- * Whether a room's name is missing because switchdash is not signed in to its
+ * Whether a room's name is missing because Switch Console is not signed in to its
* server, rather than because the load has not finished.
*
* The room itself is known — an agent's membership put it there — so the row
@@ -307,7 +307,7 @@ export class SwitchRoomsStore {
}
/**
- * Servers on screen that were never asked because switchdash is not signed in
+ * Servers on screen that were never asked because Switch Console is not signed in
* to them.
*
* Not a fault and not retryable — the user has to sign in. Reporting it as a
diff --git a/dash/apps/switchdash-desktop/src/renderer/features/switch-servers/switch-servers-store.test.ts b/dash/apps/switch-console-desktop/src/renderer/features/switch-servers/switch-servers-store.test.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/features/switch-servers/switch-servers-store.test.ts
rename to dash/apps/switch-console-desktop/src/renderer/features/switch-servers/switch-servers-store.test.ts
diff --git a/dash/apps/switchdash-desktop/src/renderer/features/switch-servers/switch-servers-store.ts b/dash/apps/switch-console-desktop/src/renderer/features/switch-servers/switch-servers-store.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/features/switch-servers/switch-servers-store.ts
rename to dash/apps/switch-console-desktop/src/renderer/features/switch-servers/switch-servers-store.ts
diff --git a/dash/apps/switchdash-desktop/src/renderer/features/switch-servers/view.tsx b/dash/apps/switch-console-desktop/src/renderer/features/switch-servers/view.tsx
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/features/switch-servers/view.tsx
rename to dash/apps/switch-console-desktop/src/renderer/features/switch-servers/view.tsx
diff --git a/dash/apps/switchdash-desktop/src/renderer/globals.d.ts b/dash/apps/switch-console-desktop/src/renderer/globals.d.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/globals.d.ts
rename to dash/apps/switch-console-desktop/src/renderer/globals.d.ts
diff --git a/dash/apps/switchdash-desktop/src/renderer/images.d.ts b/dash/apps/switch-console-desktop/src/renderer/images.d.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/images.d.ts
rename to dash/apps/switch-console-desktop/src/renderer/images.d.ts
diff --git a/dash/apps/switchdash-desktop/src/renderer/index.css b/dash/apps/switch-console-desktop/src/renderer/index.css
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/index.css
rename to dash/apps/switch-console-desktop/src/renderer/index.css
diff --git a/dash/apps/switchdash-desktop/src/renderer/index.html b/dash/apps/switch-console-desktop/src/renderer/index.html
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/index.html
rename to dash/apps/switch-console-desktop/src/renderer/index.html
diff --git a/dash/apps/switchdash-desktop/src/renderer/lib/CronPicker/CronPicker.tsx b/dash/apps/switch-console-desktop/src/renderer/lib/CronPicker/CronPicker.tsx
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/lib/CronPicker/CronPicker.tsx
rename to dash/apps/switch-console-desktop/src/renderer/lib/CronPicker/CronPicker.tsx
diff --git a/dash/apps/switchdash-desktop/src/renderer/lib/CronPicker/cron-utils.ts b/dash/apps/switch-console-desktop/src/renderer/lib/CronPicker/cron-utils.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/lib/CronPicker/cron-utils.ts
rename to dash/apps/switch-console-desktop/src/renderer/lib/CronPicker/cron-utils.ts
diff --git a/dash/apps/switchdash-desktop/src/renderer/lib/CronPicker/index.ts b/dash/apps/switch-console-desktop/src/renderer/lib/CronPicker/index.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/lib/CronPicker/index.ts
rename to dash/apps/switch-console-desktop/src/renderer/lib/CronPicker/index.ts
diff --git a/dash/apps/switchdash-desktop/src/renderer/lib/CronPicker/types.ts b/dash/apps/switch-console-desktop/src/renderer/lib/CronPicker/types.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/lib/CronPicker/types.ts
rename to dash/apps/switch-console-desktop/src/renderer/lib/CronPicker/types.ts
diff --git a/dash/apps/switchdash-desktop/src/renderer/lib/commands/app-commands.ts b/dash/apps/switch-console-desktop/src/renderer/lib/commands/app-commands.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/lib/commands/app-commands.ts
rename to dash/apps/switch-console-desktop/src/renderer/lib/commands/app-commands.ts
diff --git a/dash/apps/switchdash-desktop/src/renderer/lib/commands/command-shortcut-binder.tsx b/dash/apps/switch-console-desktop/src/renderer/lib/commands/command-shortcut-binder.tsx
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/lib/commands/command-shortcut-binder.tsx
rename to dash/apps/switch-console-desktop/src/renderer/lib/commands/command-shortcut-binder.tsx
diff --git a/dash/apps/switchdash-desktop/src/renderer/lib/commands/registry.ts b/dash/apps/switch-console-desktop/src/renderer/lib/commands/registry.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/lib/commands/registry.ts
rename to dash/apps/switch-console-desktop/src/renderer/lib/commands/registry.ts
diff --git a/dash/apps/switchdash-desktop/src/renderer/lib/commands/types.ts b/dash/apps/switch-console-desktop/src/renderer/lib/commands/types.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/lib/commands/types.ts
rename to dash/apps/switch-console-desktop/src/renderer/lib/commands/types.ts
diff --git a/dash/apps/switchdash-desktop/src/renderer/lib/components/agent-icon-variant.ts b/dash/apps/switch-console-desktop/src/renderer/lib/components/agent-icon-variant.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/lib/components/agent-icon-variant.ts
rename to dash/apps/switch-console-desktop/src/renderer/lib/components/agent-icon-variant.ts
diff --git a/dash/apps/switchdash-desktop/src/renderer/lib/components/agent-icon.test.tsx b/dash/apps/switch-console-desktop/src/renderer/lib/components/agent-icon.test.tsx
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/lib/components/agent-icon.test.tsx
rename to dash/apps/switch-console-desktop/src/renderer/lib/components/agent-icon.test.tsx
diff --git a/dash/apps/switchdash-desktop/src/renderer/lib/components/agent-icon.tsx b/dash/apps/switch-console-desktop/src/renderer/lib/components/agent-icon.tsx
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/lib/components/agent-icon.tsx
rename to dash/apps/switch-console-desktop/src/renderer/lib/components/agent-icon.tsx
diff --git a/dash/apps/switchdash-desktop/src/renderer/lib/components/agent-selector/agent-hover-card.tsx b/dash/apps/switch-console-desktop/src/renderer/lib/components/agent-selector/agent-hover-card.tsx
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/lib/components/agent-selector/agent-hover-card.tsx
rename to dash/apps/switch-console-desktop/src/renderer/lib/components/agent-selector/agent-hover-card.tsx
diff --git a/dash/apps/switchdash-desktop/src/renderer/lib/components/agent-selector/agent-info-card.tsx b/dash/apps/switch-console-desktop/src/renderer/lib/components/agent-selector/agent-info-card.tsx
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/lib/components/agent-selector/agent-info-card.tsx
rename to dash/apps/switch-console-desktop/src/renderer/lib/components/agent-selector/agent-info-card.tsx
diff --git a/dash/apps/switchdash-desktop/src/renderer/lib/components/agent-selector/agent-install-button.tsx b/dash/apps/switch-console-desktop/src/renderer/lib/components/agent-selector/agent-install-button.tsx
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/lib/components/agent-selector/agent-install-button.tsx
rename to dash/apps/switch-console-desktop/src/renderer/lib/components/agent-selector/agent-install-button.tsx
diff --git a/dash/apps/switchdash-desktop/src/renderer/lib/components/agent-selector/agent-install.ts b/dash/apps/switch-console-desktop/src/renderer/lib/components/agent-selector/agent-install.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/lib/components/agent-selector/agent-install.ts
rename to dash/apps/switch-console-desktop/src/renderer/lib/components/agent-selector/agent-install.ts
diff --git a/dash/apps/switchdash-desktop/src/renderer/lib/components/agent-selector/agent-selector-options.ts b/dash/apps/switch-console-desktop/src/renderer/lib/components/agent-selector/agent-selector-options.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/lib/components/agent-selector/agent-selector-options.ts
rename to dash/apps/switch-console-desktop/src/renderer/lib/components/agent-selector/agent-selector-options.ts
diff --git a/dash/apps/switchdash-desktop/src/renderer/lib/components/agent-selector/agent-selector.test.ts b/dash/apps/switch-console-desktop/src/renderer/lib/components/agent-selector/agent-selector.test.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/lib/components/agent-selector/agent-selector.test.ts
rename to dash/apps/switch-console-desktop/src/renderer/lib/components/agent-selector/agent-selector.test.ts
diff --git a/dash/apps/switchdash-desktop/src/renderer/lib/components/agent-selector/agent-selector.tsx b/dash/apps/switch-console-desktop/src/renderer/lib/components/agent-selector/agent-selector.tsx
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/lib/components/agent-selector/agent-selector.tsx
rename to dash/apps/switch-console-desktop/src/renderer/lib/components/agent-selector/agent-selector.tsx
diff --git a/dash/apps/switchdash-desktop/src/renderer/lib/components/agent-selector/use-agent-availability.ts b/dash/apps/switch-console-desktop/src/renderer/lib/components/agent-selector/use-agent-availability.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/lib/components/agent-selector/use-agent-availability.ts
rename to dash/apps/switch-console-desktop/src/renderer/lib/components/agent-selector/use-agent-availability.ts
diff --git a/dash/apps/switchdash-desktop/src/renderer/lib/components/app-keyboard-shortcuts.tsx b/dash/apps/switch-console-desktop/src/renderer/lib/components/app-keyboard-shortcuts.tsx
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/lib/components/app-keyboard-shortcuts.tsx
rename to dash/apps/switch-console-desktop/src/renderer/lib/components/app-keyboard-shortcuts.tsx
diff --git a/dash/apps/switchdash-desktop/src/renderer/lib/components/branch-display.tsx b/dash/apps/switch-console-desktop/src/renderer/lib/components/branch-display.tsx
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/lib/components/branch-display.tsx
rename to dash/apps/switch-console-desktop/src/renderer/lib/components/branch-display.tsx
diff --git a/dash/apps/switchdash-desktop/src/renderer/lib/components/bridge-icon.tsx b/dash/apps/switch-console-desktop/src/renderer/lib/components/bridge-icon.tsx
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/lib/components/bridge-icon.tsx
rename to dash/apps/switch-console-desktop/src/renderer/lib/components/bridge-icon.tsx
diff --git a/dash/apps/switchdash-desktop/src/renderer/lib/components/bridge-platform.test.ts b/dash/apps/switch-console-desktop/src/renderer/lib/components/bridge-platform.test.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/lib/components/bridge-platform.test.ts
rename to dash/apps/switch-console-desktop/src/renderer/lib/components/bridge-platform.test.ts
diff --git a/dash/apps/switchdash-desktop/src/renderer/lib/components/bridge-platform.ts b/dash/apps/switch-console-desktop/src/renderer/lib/components/bridge-platform.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/lib/components/bridge-platform.ts
rename to dash/apps/switch-console-desktop/src/renderer/lib/components/bridge-platform.ts
diff --git a/dash/apps/switchdash-desktop/src/renderer/lib/components/card-grid.tsx b/dash/apps/switch-console-desktop/src/renderer/lib/components/card-grid.tsx
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/lib/components/card-grid.tsx
rename to dash/apps/switch-console-desktop/src/renderer/lib/components/card-grid.tsx
diff --git a/dash/apps/switchdash-desktop/src/renderer/lib/components/confirm-action-dialog.tsx b/dash/apps/switch-console-desktop/src/renderer/lib/components/confirm-action-dialog.tsx
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/lib/components/confirm-action-dialog.tsx
rename to dash/apps/switch-console-desktop/src/renderer/lib/components/confirm-action-dialog.tsx
diff --git a/dash/apps/switchdash-desktop/src/renderer/lib/components/error-boundary.tsx b/dash/apps/switch-console-desktop/src/renderer/lib/components/error-boundary.tsx
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/lib/components/error-boundary.tsx
rename to dash/apps/switch-console-desktop/src/renderer/lib/components/error-boundary.tsx
diff --git a/dash/apps/switchdash-desktop/src/renderer/lib/components/external-link-choice-dialog.tsx b/dash/apps/switch-console-desktop/src/renderer/lib/components/external-link-choice-dialog.tsx
similarity index 85%
rename from dash/apps/switchdash-desktop/src/renderer/lib/components/external-link-choice-dialog.tsx
rename to dash/apps/switch-console-desktop/src/renderer/lib/components/external-link-choice-dialog.tsx
index e86b82224..066a8c129 100644
--- a/dash/apps/switchdash-desktop/src/renderer/lib/components/external-link-choice-dialog.tsx
+++ b/dash/apps/switch-console-desktop/src/renderer/lib/components/external-link-choice-dialog.tsx
@@ -8,18 +8,18 @@ import {
DialogTitle,
} from '@renderer/lib/ui/dialog';
-export type ExternalLinkChoice = 'switchdash-browser' | 'external-browser';
+export type ExternalLinkChoice = 'switch-console-browser' | 'external-browser';
export type ExternalLinkChoiceDialogArgs = {
url: string;
- canOpenInSwitchdashBrowser: boolean;
+ canOpenInSwitchConsoleBrowser: boolean;
};
type Props = BaseModalProps<ExternalLinkChoice> & ExternalLinkChoiceDialogArgs;
export function ExternalLinkChoiceDialog({
url,
- canOpenInSwitchdashBrowser,
+ canOpenInSwitchConsoleBrowser,
onSuccess,
onClose,
}: Props) {
@@ -41,8 +41,8 @@ export function ExternalLinkChoiceDialog({
<Button
className="w-full"
variant="outline"
- disabled={!canOpenInSwitchdashBrowser}
- onClick={() => onSuccess('switchdash-browser')}
+ disabled={!canOpenInSwitchConsoleBrowser}
+ onClick={() => onSuccess('switch-console-browser')}
>
<Globe className="size-4" />
Open in Switch Console
diff --git a/dash/apps/switchdash-desktop/src/renderer/lib/components/feedback-modal/feedback-modal.tsx b/dash/apps/switch-console-desktop/src/renderer/lib/components/feedback-modal/feedback-modal.tsx
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/lib/components/feedback-modal/feedback-modal.tsx
rename to dash/apps/switch-console-desktop/src/renderer/lib/components/feedback-modal/feedback-modal.tsx
diff --git a/dash/apps/switchdash-desktop/src/renderer/lib/components/feedback-modal/schemas/feedback-email.ts b/dash/apps/switch-console-desktop/src/renderer/lib/components/feedback-modal/schemas/feedback-email.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/lib/components/feedback-modal/schemas/feedback-email.ts
rename to dash/apps/switch-console-desktop/src/renderer/lib/components/feedback-modal/schemas/feedback-email.ts
diff --git a/dash/apps/switchdash-desktop/src/renderer/lib/components/feedback-modal/use-feedback-submit.test.ts b/dash/apps/switch-console-desktop/src/renderer/lib/components/feedback-modal/use-feedback-submit.test.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/lib/components/feedback-modal/use-feedback-submit.test.ts
rename to dash/apps/switch-console-desktop/src/renderer/lib/components/feedback-modal/use-feedback-submit.test.ts
diff --git a/dash/apps/switchdash-desktop/src/renderer/lib/components/feedback-modal/use-feedback-submit.ts b/dash/apps/switch-console-desktop/src/renderer/lib/components/feedback-modal/use-feedback-submit.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/lib/components/feedback-modal/use-feedback-submit.ts
rename to dash/apps/switch-console-desktop/src/renderer/lib/components/feedback-modal/use-feedback-submit.ts
diff --git a/dash/apps/switchdash-desktop/src/renderer/lib/components/inline-markdown.tsx b/dash/apps/switch-console-desktop/src/renderer/lib/components/inline-markdown.tsx
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/lib/components/inline-markdown.tsx
rename to dash/apps/switch-console-desktop/src/renderer/lib/components/inline-markdown.tsx
diff --git a/dash/apps/switchdash-desktop/src/renderer/lib/components/issue-status-indicator.tsx b/dash/apps/switch-console-desktop/src/renderer/lib/components/issue-status-indicator.tsx
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/lib/components/issue-status-indicator.tsx
rename to dash/apps/switch-console-desktop/src/renderer/lib/components/issue-status-indicator.tsx
diff --git a/dash/apps/switchdash-desktop/src/renderer/lib/components/list-filters/list-filter-button.tsx b/dash/apps/switch-console-desktop/src/renderer/lib/components/list-filters/list-filter-button.tsx
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/lib/components/list-filters/list-filter-button.tsx
rename to dash/apps/switch-console-desktop/src/renderer/lib/components/list-filters/list-filter-button.tsx
diff --git a/dash/apps/switchdash-desktop/src/renderer/lib/components/list-filters/list-filter-multi-select.tsx b/dash/apps/switch-console-desktop/src/renderer/lib/components/list-filters/list-filter-multi-select.tsx
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/lib/components/list-filters/list-filter-multi-select.tsx
rename to dash/apps/switch-console-desktop/src/renderer/lib/components/list-filters/list-filter-multi-select.tsx
diff --git a/dash/apps/switchdash-desktop/src/renderer/lib/components/list-filters/list-filter-option-list.tsx b/dash/apps/switch-console-desktop/src/renderer/lib/components/list-filters/list-filter-option-list.tsx
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/lib/components/list-filters/list-filter-option-list.tsx
rename to dash/apps/switch-console-desktop/src/renderer/lib/components/list-filters/list-filter-option-list.tsx
diff --git a/dash/apps/switchdash-desktop/src/renderer/lib/components/list-filters/list-filter-pill.tsx b/dash/apps/switch-console-desktop/src/renderer/lib/components/list-filters/list-filter-pill.tsx
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/lib/components/list-filters/list-filter-pill.tsx
rename to dash/apps/switch-console-desktop/src/renderer/lib/components/list-filters/list-filter-pill.tsx
diff --git a/dash/apps/switchdash-desktop/src/renderer/lib/components/list-filters/list-filter-row.tsx b/dash/apps/switch-console-desktop/src/renderer/lib/components/list-filters/list-filter-row.tsx
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/lib/components/list-filters/list-filter-row.tsx
rename to dash/apps/switch-console-desktop/src/renderer/lib/components/list-filters/list-filter-row.tsx
diff --git a/dash/apps/switchdash-desktop/src/renderer/lib/components/list-filters/list-filter-searchable-select.tsx b/dash/apps/switch-console-desktop/src/renderer/lib/components/list-filters/list-filter-searchable-select.tsx
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/lib/components/list-filters/list-filter-searchable-select.tsx
rename to dash/apps/switch-console-desktop/src/renderer/lib/components/list-filters/list-filter-searchable-select.tsx
diff --git a/dash/apps/switchdash-desktop/src/renderer/lib/components/list-filters/list-filter-single-select.tsx b/dash/apps/switch-console-desktop/src/renderer/lib/components/list-filters/list-filter-single-select.tsx
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/lib/components/list-filters/list-filter-single-select.tsx
rename to dash/apps/switch-console-desktop/src/renderer/lib/components/list-filters/list-filter-single-select.tsx
diff --git a/dash/apps/switchdash-desktop/src/renderer/lib/components/list-filters/types.ts b/dash/apps/switch-console-desktop/src/renderer/lib/components/list-filters/types.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/lib/components/list-filters/types.ts
rename to dash/apps/switch-console-desktop/src/renderer/lib/components/list-filters/types.ts
diff --git a/dash/apps/switchdash-desktop/src/renderer/lib/components/list-popover-card.tsx b/dash/apps/switch-console-desktop/src/renderer/lib/components/list-popover-card.tsx
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/lib/components/list-popover-card.tsx
rename to dash/apps/switch-console-desktop/src/renderer/lib/components/list-popover-card.tsx
diff --git a/dash/apps/switchdash-desktop/src/renderer/lib/components/monaco-keyboard-bridge.tsx b/dash/apps/switch-console-desktop/src/renderer/lib/components/monaco-keyboard-bridge.tsx
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/lib/components/monaco-keyboard-bridge.tsx
rename to dash/apps/switch-console-desktop/src/renderer/lib/components/monaco-keyboard-bridge.tsx
diff --git a/dash/apps/switchdash-desktop/src/renderer/lib/components/multi-line-list-item.tsx b/dash/apps/switch-console-desktop/src/renderer/lib/components/multi-line-list-item.tsx
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/lib/components/multi-line-list-item.tsx
rename to dash/apps/switch-console-desktop/src/renderer/lib/components/multi-line-list-item.tsx
diff --git a/dash/apps/switchdash-desktop/src/renderer/lib/components/nav-buttons.tsx b/dash/apps/switch-console-desktop/src/renderer/lib/components/nav-buttons.tsx
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/lib/components/nav-buttons.tsx
rename to dash/apps/switch-console-desktop/src/renderer/lib/components/nav-buttons.tsx
diff --git a/dash/apps/switchdash-desktop/src/renderer/lib/components/page-header.tsx b/dash/apps/switch-console-desktop/src/renderer/lib/components/page-header.tsx
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/lib/components/page-header.tsx
rename to dash/apps/switch-console-desktop/src/renderer/lib/components/page-header.tsx
diff --git a/dash/apps/switchdash-desktop/src/renderer/lib/components/page-layout.tsx b/dash/apps/switch-console-desktop/src/renderer/lib/components/page-layout.tsx
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/lib/components/page-layout.tsx
rename to dash/apps/switch-console-desktop/src/renderer/lib/components/page-layout.tsx
diff --git a/dash/apps/switchdash-desktop/src/renderer/lib/components/pagination.tsx b/dash/apps/switch-console-desktop/src/renderer/lib/components/pagination.tsx
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/lib/components/pagination.tsx
rename to dash/apps/switch-console-desktop/src/renderer/lib/components/pagination.tsx
diff --git a/dash/apps/switchdash-desktop/src/renderer/lib/components/reorder-list.tsx b/dash/apps/switch-console-desktop/src/renderer/lib/components/reorder-list.tsx
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/lib/components/reorder-list.tsx
rename to dash/apps/switch-console-desktop/src/renderer/lib/components/reorder-list.tsx
diff --git a/dash/apps/switchdash-desktop/src/renderer/lib/components/terminal-shell-option-label.tsx b/dash/apps/switch-console-desktop/src/renderer/lib/components/terminal-shell-option-label.tsx
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/lib/components/terminal-shell-option-label.tsx
rename to dash/apps/switch-console-desktop/src/renderer/lib/components/terminal-shell-option-label.tsx
diff --git a/dash/apps/switchdash-desktop/src/renderer/lib/components/titlebar/Titlebar.tsx b/dash/apps/switch-console-desktop/src/renderer/lib/components/titlebar/Titlebar.tsx
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/lib/components/titlebar/Titlebar.tsx
rename to dash/apps/switch-console-desktop/src/renderer/lib/components/titlebar/Titlebar.tsx
diff --git a/dash/apps/switchdash-desktop/src/renderer/lib/components/titlebar/open-in-menu.test.ts b/dash/apps/switch-console-desktop/src/renderer/lib/components/titlebar/open-in-menu.test.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/lib/components/titlebar/open-in-menu.test.ts
rename to dash/apps/switch-console-desktop/src/renderer/lib/components/titlebar/open-in-menu.test.ts
diff --git a/dash/apps/switchdash-desktop/src/renderer/lib/components/titlebar/open-in-menu.tsx b/dash/apps/switch-console-desktop/src/renderer/lib/components/titlebar/open-in-menu.tsx
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/lib/components/titlebar/open-in-menu.tsx
rename to dash/apps/switch-console-desktop/src/renderer/lib/components/titlebar/open-in-menu.tsx
diff --git a/dash/apps/switchdash-desktop/src/renderer/lib/components/unsaved-changes-dialog.tsx b/dash/apps/switch-console-desktop/src/renderer/lib/components/unsaved-changes-dialog.tsx
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/lib/components/unsaved-changes-dialog.tsx
rename to dash/apps/switch-console-desktop/src/renderer/lib/components/unsaved-changes-dialog.tsx
diff --git a/dash/apps/switchdash-desktop/src/renderer/lib/components/update-toast-action-label.tsx b/dash/apps/switch-console-desktop/src/renderer/lib/components/update-toast-action-label.tsx
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/lib/components/update-toast-action-label.tsx
rename to dash/apps/switch-console-desktop/src/renderer/lib/components/update-toast-action-label.tsx
diff --git a/dash/apps/switchdash-desktop/src/renderer/lib/drag-files.ts b/dash/apps/switch-console-desktop/src/renderer/lib/drag-files.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/lib/drag-files.ts
rename to dash/apps/switch-console-desktop/src/renderer/lib/drag-files.ts
diff --git a/dash/apps/switchdash-desktop/src/renderer/lib/env-paste.test.ts b/dash/apps/switch-console-desktop/src/renderer/lib/env-paste.test.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/lib/env-paste.test.ts
rename to dash/apps/switch-console-desktop/src/renderer/lib/env-paste.test.ts
diff --git a/dash/apps/switchdash-desktop/src/renderer/lib/env-paste.ts b/dash/apps/switch-console-desktop/src/renderer/lib/env-paste.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/lib/env-paste.ts
rename to dash/apps/switch-console-desktop/src/renderer/lib/env-paste.ts
diff --git a/dash/apps/switchdash-desktop/src/renderer/lib/external-link-requests.ts b/dash/apps/switch-console-desktop/src/renderer/lib/external-link-requests.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/lib/external-link-requests.ts
rename to dash/apps/switch-console-desktop/src/renderer/lib/external-link-requests.ts
diff --git a/dash/apps/switchdash-desktop/src/renderer/lib/external-url.test.ts b/dash/apps/switch-console-desktop/src/renderer/lib/external-url.test.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/lib/external-url.test.ts
rename to dash/apps/switch-console-desktop/src/renderer/lib/external-url.test.ts
diff --git a/dash/apps/switchdash-desktop/src/renderer/lib/external-url.ts b/dash/apps/switch-console-desktop/src/renderer/lib/external-url.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/lib/external-url.ts
rename to dash/apps/switch-console-desktop/src/renderer/lib/external-url.ts
diff --git a/dash/apps/switchdash-desktop/src/renderer/lib/hooks/use-arrow-key-navigation.ts b/dash/apps/switch-console-desktop/src/renderer/lib/hooks/use-arrow-key-navigation.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/lib/hooks/use-arrow-key-navigation.ts
rename to dash/apps/switch-console-desktop/src/renderer/lib/hooks/use-arrow-key-navigation.ts
diff --git a/dash/apps/switchdash-desktop/src/renderer/lib/hooks/use-attachments.ts b/dash/apps/switch-console-desktop/src/renderer/lib/hooks/use-attachments.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/lib/hooks/use-attachments.ts
rename to dash/apps/switch-console-desktop/src/renderer/lib/hooks/use-attachments.ts
diff --git a/dash/apps/switchdash-desktop/src/renderer/lib/hooks/use-delay-boolean.ts b/dash/apps/switch-console-desktop/src/renderer/lib/hooks/use-delay-boolean.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/lib/hooks/use-delay-boolean.ts
rename to dash/apps/switch-console-desktop/src/renderer/lib/hooks/use-delay-boolean.ts
diff --git a/dash/apps/switchdash-desktop/src/renderer/lib/hooks/use-multi-select.ts b/dash/apps/switch-console-desktop/src/renderer/lib/hooks/use-multi-select.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/lib/hooks/use-multi-select.ts
rename to dash/apps/switch-console-desktop/src/renderer/lib/hooks/use-multi-select.ts
diff --git a/dash/apps/switchdash-desktop/src/renderer/lib/hooks/use-terminal-shell-availability.ts b/dash/apps/switch-console-desktop/src/renderer/lib/hooks/use-terminal-shell-availability.ts
similarity index 89%
rename from dash/apps/switchdash-desktop/src/renderer/lib/hooks/use-terminal-shell-availability.ts
rename to dash/apps/switch-console-desktop/src/renderer/lib/hooks/use-terminal-shell-availability.ts
index ea9ecac5c..cbe743b98 100644
--- a/dash/apps/switchdash-desktop/src/renderer/lib/hooks/use-terminal-shell-availability.ts
+++ b/dash/apps/switch-console-desktop/src/renderer/lib/hooks/use-terminal-shell-availability.ts
@@ -3,7 +3,7 @@ import type { TerminalShellAvailability } from '@shared/core/terminals/terminal-
export const DEFAULT_TERMINAL_SHELL_AVAILABILITY: TerminalShellAvailability[] = [];
-// Shell-availability detection has no RPC surface in switchdash — every session
+// Shell-availability detection has no RPC surface in Switch Console — every session
// runs in the location dir with the system shell. Return the empty default so the
// settings UI degrades gracefully (only the system shell is selectable).
export function useTerminalShellAvailability(options: { enabled?: boolean } = {}) {
diff --git a/dash/apps/switchdash-desktop/src/renderer/lib/hooks/use-toast.ts b/dash/apps/switch-console-desktop/src/renderer/lib/hooks/use-toast.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/lib/hooks/use-toast.ts
rename to dash/apps/switch-console-desktop/src/renderer/lib/hooks/use-toast.ts
diff --git a/dash/apps/switchdash-desktop/src/renderer/lib/hooks/useDebounce.ts b/dash/apps/switch-console-desktop/src/renderer/lib/hooks/useDebounce.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/lib/hooks/useDebounce.ts
rename to dash/apps/switch-console-desktop/src/renderer/lib/hooks/useDebounce.ts
diff --git a/dash/apps/switchdash-desktop/src/renderer/lib/hooks/useImportProgress.ts b/dash/apps/switch-console-desktop/src/renderer/lib/hooks/useImportProgress.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/lib/hooks/useImportProgress.ts
rename to dash/apps/switch-console-desktop/src/renderer/lib/hooks/useImportProgress.ts
diff --git a/dash/apps/switchdash-desktop/src/renderer/lib/hooks/useKeyboardShortcuts.ts b/dash/apps/switch-console-desktop/src/renderer/lib/hooks/useKeyboardShortcuts.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/lib/hooks/useKeyboardShortcuts.ts
rename to dash/apps/switch-console-desktop/src/renderer/lib/hooks/useKeyboardShortcuts.ts
diff --git a/dash/apps/switchdash-desktop/src/renderer/lib/hooks/useLocalStorage.ts b/dash/apps/switch-console-desktop/src/renderer/lib/hooks/useLocalStorage.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/lib/hooks/useLocalStorage.ts
rename to dash/apps/switch-console-desktop/src/renderer/lib/hooks/useLocalStorage.ts
diff --git a/dash/apps/switchdash-desktop/src/renderer/lib/hooks/useOpenInApps.test.ts b/dash/apps/switch-console-desktop/src/renderer/lib/hooks/useOpenInApps.test.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/lib/hooks/useOpenInApps.test.ts
rename to dash/apps/switch-console-desktop/src/renderer/lib/hooks/useOpenInApps.test.ts
diff --git a/dash/apps/switchdash-desktop/src/renderer/lib/hooks/useOpenInApps.ts b/dash/apps/switch-console-desktop/src/renderer/lib/hooks/useOpenInApps.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/lib/hooks/useOpenInApps.ts
rename to dash/apps/switch-console-desktop/src/renderer/lib/hooks/useOpenInApps.ts
diff --git a/dash/apps/switchdash-desktop/src/renderer/lib/hooks/useTheme.ts b/dash/apps/switch-console-desktop/src/renderer/lib/hooks/useTheme.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/lib/hooks/useTheme.ts
rename to dash/apps/switch-console-desktop/src/renderer/lib/hooks/useTheme.ts
diff --git a/dash/apps/switchdash-desktop/src/renderer/lib/hotkeys/dispatch-matching-hotkeys.ts b/dash/apps/switch-console-desktop/src/renderer/lib/hotkeys/dispatch-matching-hotkeys.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/lib/hotkeys/dispatch-matching-hotkeys.ts
rename to dash/apps/switch-console-desktop/src/renderer/lib/hotkeys/dispatch-matching-hotkeys.ts
diff --git a/dash/apps/switchdash-desktop/src/renderer/lib/ipc.ts b/dash/apps/switch-console-desktop/src/renderer/lib/ipc.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/lib/ipc.ts
rename to dash/apps/switch-console-desktop/src/renderer/lib/ipc.ts
diff --git a/dash/apps/switchdash-desktop/src/renderer/lib/layout/layout-provider.tsx b/dash/apps/switch-console-desktop/src/renderer/lib/layout/layout-provider.tsx
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/lib/layout/layout-provider.tsx
rename to dash/apps/switch-console-desktop/src/renderer/lib/layout/layout-provider.tsx
diff --git a/dash/apps/switchdash-desktop/src/renderer/lib/layout/navigation-provider.tsx b/dash/apps/switch-console-desktop/src/renderer/lib/layout/navigation-provider.tsx
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/lib/layout/navigation-provider.tsx
rename to dash/apps/switch-console-desktop/src/renderer/lib/layout/navigation-provider.tsx
diff --git a/dash/apps/switchdash-desktop/src/renderer/lib/layout/panel-drag-store.ts b/dash/apps/switch-console-desktop/src/renderer/lib/layout/panel-drag-store.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/lib/layout/panel-drag-store.ts
rename to dash/apps/switch-console-desktop/src/renderer/lib/layout/panel-drag-store.ts
diff --git a/dash/apps/switchdash-desktop/src/renderer/lib/layout/provider.tsx b/dash/apps/switch-console-desktop/src/renderer/lib/layout/provider.tsx
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/lib/layout/provider.tsx
rename to dash/apps/switch-console-desktop/src/renderer/lib/layout/provider.tsx
diff --git a/dash/apps/switchdash-desktop/src/renderer/lib/layout/scope-to-server.ts b/dash/apps/switch-console-desktop/src/renderer/lib/layout/scope-to-server.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/lib/layout/scope-to-server.ts
rename to dash/apps/switch-console-desktop/src/renderer/lib/layout/scope-to-server.ts
diff --git a/dash/apps/switchdash-desktop/src/renderer/lib/layout/settings-toggle.ts b/dash/apps/switch-console-desktop/src/renderer/lib/layout/settings-toggle.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/lib/layout/settings-toggle.ts
rename to dash/apps/switch-console-desktop/src/renderer/lib/layout/settings-toggle.ts
diff --git a/dash/apps/switchdash-desktop/src/renderer/lib/layout/workspace-layout.tsx b/dash/apps/switch-console-desktop/src/renderer/lib/layout/workspace-layout.tsx
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/lib/layout/workspace-layout.tsx
rename to dash/apps/switch-console-desktop/src/renderer/lib/layout/workspace-layout.tsx
diff --git a/dash/apps/switchdash-desktop/src/renderer/lib/layout/workspace-slots.ts b/dash/apps/switch-console-desktop/src/renderer/lib/layout/workspace-slots.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/lib/layout/workspace-slots.ts
rename to dash/apps/switch-console-desktop/src/renderer/lib/layout/workspace-slots.ts
diff --git a/dash/apps/switchdash-desktop/src/renderer/lib/modal/dismissal.test.ts b/dash/apps/switch-console-desktop/src/renderer/lib/modal/dismissal.test.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/lib/modal/dismissal.test.ts
rename to dash/apps/switch-console-desktop/src/renderer/lib/modal/dismissal.test.ts
diff --git a/dash/apps/switchdash-desktop/src/renderer/lib/modal/dismissal.ts b/dash/apps/switch-console-desktop/src/renderer/lib/modal/dismissal.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/lib/modal/dismissal.ts
rename to dash/apps/switch-console-desktop/src/renderer/lib/modal/dismissal.ts
diff --git a/dash/apps/switchdash-desktop/src/renderer/lib/modal/modal-provider.tsx b/dash/apps/switch-console-desktop/src/renderer/lib/modal/modal-provider.tsx
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/lib/modal/modal-provider.tsx
rename to dash/apps/switch-console-desktop/src/renderer/lib/modal/modal-provider.tsx
diff --git a/dash/apps/switchdash-desktop/src/renderer/lib/modal/modal-renderer.tsx b/dash/apps/switch-console-desktop/src/renderer/lib/modal/modal-renderer.tsx
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/lib/modal/modal-renderer.tsx
rename to dash/apps/switch-console-desktop/src/renderer/lib/modal/modal-renderer.tsx
diff --git a/dash/apps/switchdash-desktop/src/renderer/lib/modal/modal-store.ts b/dash/apps/switch-console-desktop/src/renderer/lib/modal/modal-store.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/lib/modal/modal-store.ts
rename to dash/apps/switch-console-desktop/src/renderer/lib/modal/modal-store.ts
diff --git a/dash/apps/switchdash-desktop/src/renderer/lib/modal/use-close-guard.ts b/dash/apps/switch-console-desktop/src/renderer/lib/modal/use-close-guard.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/lib/modal/use-close-guard.ts
rename to dash/apps/switch-console-desktop/src/renderer/lib/modal/use-close-guard.ts
diff --git a/dash/apps/switchdash-desktop/src/renderer/lib/open-external-link.tsx b/dash/apps/switch-console-desktop/src/renderer/lib/open-external-link.tsx
similarity index 95%
rename from dash/apps/switchdash-desktop/src/renderer/lib/open-external-link.tsx
rename to dash/apps/switch-console-desktop/src/renderer/lib/open-external-link.tsx
index e0e59ba4f..c122ce0ba 100644
--- a/dash/apps/switchdash-desktop/src/renderer/lib/open-external-link.tsx
+++ b/dash/apps/switch-console-desktop/src/renderer/lib/open-external-link.tsx
@@ -13,7 +13,7 @@ export function confirmOpenExternalLink(url: string, onError?: (error: unknown)
showModal('confirmExternalLinkModal', {
url: normalizedUrl,
- canOpenInSwitchdashBrowser: false,
+ canOpenInSwitchConsoleBrowser: false,
onSuccess: () => {
// `onError` used to hang off a rejection that never came: the main
// process reports a refusal as a value, so it never threw and the
diff --git a/dash/apps/switchdash-desktop/src/renderer/lib/open-external.ts b/dash/apps/switch-console-desktop/src/renderer/lib/open-external.ts
similarity index 89%
rename from dash/apps/switchdash-desktop/src/renderer/lib/open-external.ts
rename to dash/apps/switch-console-desktop/src/renderer/lib/open-external.ts
index d284a4f47..2ece27e30 100644
--- a/dash/apps/switchdash-desktop/src/renderer/lib/open-external.ts
+++ b/dash/apps/switch-console-desktop/src/renderer/lib/open-external.ts
@@ -10,7 +10,7 @@ export function reportOpenFailure(failureTitle: string, failureDetail: string):
}
/**
- * Report an attempt to open something outside switchdash, saying so when it did
+ * Report an attempt to open something outside Switch Console, saying so when it did
* not work.
*
* The main process has always reported whether the hand-off succeeded, and
@@ -38,7 +38,7 @@ export async function reportOpenAttempt(
return false;
}
-/** Open a URL outside switchdash, reporting a failure rather than swallowing it. */
+/** Open a URL outside Switch Console, reporting a failure rather than swallowing it. */
export function openExternalUrl(url: string, failureTitle: string): Promise<boolean> {
return reportOpenAttempt(rpc.app.openExternal(url), failureTitle, url);
}
diff --git a/dash/apps/switchdash-desktop/src/renderer/lib/providers/theme-provider.tsx b/dash/apps/switch-console-desktop/src/renderer/lib/providers/theme-provider.tsx
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/lib/providers/theme-provider.tsx
rename to dash/apps/switch-console-desktop/src/renderer/lib/providers/theme-provider.tsx
diff --git a/dash/apps/switchdash-desktop/src/renderer/lib/pty/dialog-backgrounding.test.ts b/dash/apps/switch-console-desktop/src/renderer/lib/pty/dialog-backgrounding.test.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/lib/pty/dialog-backgrounding.test.ts
rename to dash/apps/switch-console-desktop/src/renderer/lib/pty/dialog-backgrounding.test.ts
diff --git a/dash/apps/switchdash-desktop/src/renderer/lib/pty/dialog-backgrounding.ts b/dash/apps/switch-console-desktop/src/renderer/lib/pty/dialog-backgrounding.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/lib/pty/dialog-backgrounding.ts
rename to dash/apps/switch-console-desktop/src/renderer/lib/pty/dialog-backgrounding.ts
diff --git a/dash/apps/switchdash-desktop/src/renderer/lib/pty/file-link-detection.ts b/dash/apps/switch-console-desktop/src/renderer/lib/pty/file-link-detection.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/lib/pty/file-link-detection.ts
rename to dash/apps/switch-console-desktop/src/renderer/lib/pty/file-link-detection.ts
diff --git a/dash/apps/switchdash-desktop/src/renderer/lib/pty/file-link-provider.ts b/dash/apps/switch-console-desktop/src/renderer/lib/pty/file-link-provider.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/lib/pty/file-link-provider.ts
rename to dash/apps/switch-console-desktop/src/renderer/lib/pty/file-link-provider.ts
diff --git a/dash/apps/switchdash-desktop/src/renderer/lib/pty/pane-sizing-context.tsx b/dash/apps/switch-console-desktop/src/renderer/lib/pty/pane-sizing-context.tsx
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/lib/pty/pane-sizing-context.tsx
rename to dash/apps/switch-console-desktop/src/renderer/lib/pty/pane-sizing-context.tsx
diff --git a/dash/apps/switchdash-desktop/src/renderer/lib/pty/prompt-injection.ts b/dash/apps/switch-console-desktop/src/renderer/lib/pty/prompt-injection.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/lib/pty/prompt-injection.ts
rename to dash/apps/switch-console-desktop/src/renderer/lib/pty/prompt-injection.ts
diff --git a/dash/apps/switchdash-desktop/src/renderer/lib/pty/pty-clipboard.ts b/dash/apps/switch-console-desktop/src/renderer/lib/pty/pty-clipboard.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/lib/pty/pty-clipboard.ts
rename to dash/apps/switch-console-desktop/src/renderer/lib/pty/pty-clipboard.ts
diff --git a/dash/apps/switchdash-desktop/src/renderer/lib/pty/pty-dimensions.ts b/dash/apps/switch-console-desktop/src/renderer/lib/pty/pty-dimensions.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/lib/pty/pty-dimensions.ts
rename to dash/apps/switch-console-desktop/src/renderer/lib/pty/pty-dimensions.ts
diff --git a/dash/apps/switchdash-desktop/src/renderer/lib/pty/pty-input-buffer.ts b/dash/apps/switch-console-desktop/src/renderer/lib/pty/pty-input-buffer.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/lib/pty/pty-input-buffer.ts
rename to dash/apps/switch-console-desktop/src/renderer/lib/pty/pty-input-buffer.ts
diff --git a/dash/apps/switchdash-desktop/src/renderer/lib/pty/pty-keybindings.ts b/dash/apps/switch-console-desktop/src/renderer/lib/pty/pty-keybindings.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/lib/pty/pty-keybindings.ts
rename to dash/apps/switch-console-desktop/src/renderer/lib/pty/pty-keybindings.ts
diff --git a/dash/apps/switchdash-desktop/src/renderer/lib/pty/pty-pane.tsx b/dash/apps/switch-console-desktop/src/renderer/lib/pty/pty-pane.tsx
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/lib/pty/pty-pane.tsx
rename to dash/apps/switch-console-desktop/src/renderer/lib/pty/pty-pane.tsx
diff --git a/dash/apps/switchdash-desktop/src/renderer/lib/pty/pty-pool-provider.tsx b/dash/apps/switch-console-desktop/src/renderer/lib/pty/pty-pool-provider.tsx
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/lib/pty/pty-pool-provider.tsx
rename to dash/apps/switch-console-desktop/src/renderer/lib/pty/pty-pool-provider.tsx
diff --git a/dash/apps/switchdash-desktop/src/renderer/lib/pty/pty-session.test.ts b/dash/apps/switch-console-desktop/src/renderer/lib/pty/pty-session.test.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/lib/pty/pty-session.test.ts
rename to dash/apps/switch-console-desktop/src/renderer/lib/pty/pty-session.test.ts
diff --git a/dash/apps/switchdash-desktop/src/renderer/lib/pty/pty-session.ts b/dash/apps/switch-console-desktop/src/renderer/lib/pty/pty-session.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/lib/pty/pty-session.ts
rename to dash/apps/switch-console-desktop/src/renderer/lib/pty/pty-session.ts
diff --git a/dash/apps/switchdash-desktop/src/renderer/lib/pty/pty.ts b/dash/apps/switch-console-desktop/src/renderer/lib/pty/pty.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/lib/pty/pty.ts
rename to dash/apps/switch-console-desktop/src/renderer/lib/pty/pty.ts
diff --git a/dash/apps/switchdash-desktop/src/renderer/lib/pty/terminal-font.test.ts b/dash/apps/switch-console-desktop/src/renderer/lib/pty/terminal-font.test.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/lib/pty/terminal-font.test.ts
rename to dash/apps/switch-console-desktop/src/renderer/lib/pty/terminal-font.test.ts
diff --git a/dash/apps/switchdash-desktop/src/renderer/lib/pty/terminal-font.ts b/dash/apps/switch-console-desktop/src/renderer/lib/pty/terminal-font.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/lib/pty/terminal-font.ts
rename to dash/apps/switch-console-desktop/src/renderer/lib/pty/terminal-font.ts
diff --git a/dash/apps/switchdash-desktop/src/renderer/lib/pty/terminal-image-injection.ts b/dash/apps/switch-console-desktop/src/renderer/lib/pty/terminal-image-injection.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/lib/pty/terminal-image-injection.ts
rename to dash/apps/switch-console-desktop/src/renderer/lib/pty/terminal-image-injection.ts
diff --git a/dash/apps/switchdash-desktop/src/renderer/lib/pty/terminal-image-paths.ts b/dash/apps/switch-console-desktop/src/renderer/lib/pty/terminal-image-paths.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/lib/pty/terminal-image-paths.ts
rename to dash/apps/switch-console-desktop/src/renderer/lib/pty/terminal-image-paths.ts
diff --git a/dash/apps/switchdash-desktop/src/renderer/lib/pty/terminal-search-overlay.tsx b/dash/apps/switch-console-desktop/src/renderer/lib/pty/terminal-search-overlay.tsx
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/lib/pty/terminal-search-overlay.tsx
rename to dash/apps/switch-console-desktop/src/renderer/lib/pty/terminal-search-overlay.tsx
diff --git a/dash/apps/switchdash-desktop/src/renderer/lib/pty/terminal-search.ts b/dash/apps/switch-console-desktop/src/renderer/lib/pty/terminal-search.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/lib/pty/terminal-search.ts
rename to dash/apps/switch-console-desktop/src/renderer/lib/pty/terminal-search.ts
diff --git a/dash/apps/switchdash-desktop/src/renderer/lib/pty/use-pty.ts b/dash/apps/switch-console-desktop/src/renderer/lib/pty/use-pty.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/lib/pty/use-pty.ts
rename to dash/apps/switch-console-desktop/src/renderer/lib/pty/use-pty.ts
diff --git a/dash/apps/switchdash-desktop/src/renderer/lib/pty/use-terminal-search.tsx b/dash/apps/switch-console-desktop/src/renderer/lib/pty/use-terminal-search.tsx
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/lib/pty/use-terminal-search.tsx
rename to dash/apps/switch-console-desktop/src/renderer/lib/pty/use-terminal-search.tsx
diff --git a/dash/apps/switchdash-desktop/src/renderer/lib/pty/xterm-host.ts b/dash/apps/switch-console-desktop/src/renderer/lib/pty/xterm-host.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/lib/pty/xterm-host.ts
rename to dash/apps/switch-console-desktop/src/renderer/lib/pty/xterm-host.ts
diff --git a/dash/apps/switchdash-desktop/src/renderer/lib/query-client.ts b/dash/apps/switch-console-desktop/src/renderer/lib/query-client.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/lib/query-client.ts
rename to dash/apps/switch-console-desktop/src/renderer/lib/query-client.ts
diff --git a/dash/apps/switchdash-desktop/src/renderer/lib/stores/app-state.ts b/dash/apps/switch-console-desktop/src/renderer/lib/stores/app-state.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/lib/stores/app-state.ts
rename to dash/apps/switch-console-desktop/src/renderer/lib/stores/app-state.ts
diff --git a/dash/apps/switchdash-desktop/src/renderer/lib/stores/generic-tab-view.ts b/dash/apps/switch-console-desktop/src/renderer/lib/stores/generic-tab-view.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/lib/stores/generic-tab-view.ts
rename to dash/apps/switch-console-desktop/src/renderer/lib/stores/generic-tab-view.ts
diff --git a/dash/apps/switchdash-desktop/src/renderer/lib/stores/live/bind-mirror.test.ts b/dash/apps/switch-console-desktop/src/renderer/lib/stores/live/bind-mirror.test.ts
similarity index 98%
rename from dash/apps/switchdash-desktop/src/renderer/lib/stores/live/bind-mirror.test.ts
rename to dash/apps/switch-console-desktop/src/renderer/lib/stores/live/bind-mirror.test.ts
index afc52379e..04684f69f 100644
--- a/dash/apps/switchdash-desktop/src/renderer/lib/stores/live/bind-mirror.test.ts
+++ b/dash/apps/switch-console-desktop/src/renderer/lib/stores/live/bind-mirror.test.ts
@@ -1,4 +1,4 @@
-import { err, ok, type Result } from '@switchdash/shared';
+import { err, ok, type Result } from '@switch-console/shared';
import { afterEach, beforeEach, describe, expect, it, vi } from 'vitest';
import { bindMirror } from './bind-mirror';
import { ModelMirror } from './model-mirror';
diff --git a/dash/apps/switchdash-desktop/src/renderer/lib/stores/live/bind-mirror.ts b/dash/apps/switch-console-desktop/src/renderer/lib/stores/live/bind-mirror.ts
similarity index 97%
rename from dash/apps/switchdash-desktop/src/renderer/lib/stores/live/bind-mirror.ts
rename to dash/apps/switch-console-desktop/src/renderer/lib/stores/live/bind-mirror.ts
index 19d0b37ac..b18f30839 100644
--- a/dash/apps/switchdash-desktop/src/renderer/lib/stores/live/bind-mirror.ts
+++ b/dash/apps/switch-console-desktop/src/renderer/lib/stores/live/bind-mirror.ts
@@ -1,5 +1,5 @@
-import type { LiveValue } from '@switchdash/core/lib';
-import type { Result, Unsubscribe } from '@switchdash/shared';
+import type { LiveValue } from '@switch-console/core/lib';
+import type { Result, Unsubscribe } from '@switch-console/shared';
import { makeObservable, observable, runInAction } from 'mobx';
import type { ModelMirror } from './model-mirror';
diff --git a/dash/apps/switchdash-desktop/src/renderer/lib/stores/live/coalesce.test.ts b/dash/apps/switch-console-desktop/src/renderer/lib/stores/live/coalesce.test.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/lib/stores/live/coalesce.test.ts
rename to dash/apps/switch-console-desktop/src/renderer/lib/stores/live/coalesce.test.ts
diff --git a/dash/apps/switchdash-desktop/src/renderer/lib/stores/live/coalesce.ts b/dash/apps/switch-console-desktop/src/renderer/lib/stores/live/coalesce.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/lib/stores/live/coalesce.ts
rename to dash/apps/switch-console-desktop/src/renderer/lib/stores/live/coalesce.ts
diff --git a/dash/apps/switchdash-desktop/src/renderer/lib/stores/live/index.ts b/dash/apps/switch-console-desktop/src/renderer/lib/stores/live/index.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/lib/stores/live/index.ts
rename to dash/apps/switch-console-desktop/src/renderer/lib/stores/live/index.ts
diff --git a/dash/apps/switchdash-desktop/src/renderer/lib/stores/live/model-mirror.test.ts b/dash/apps/switch-console-desktop/src/renderer/lib/stores/live/model-mirror.test.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/lib/stores/live/model-mirror.test.ts
rename to dash/apps/switch-console-desktop/src/renderer/lib/stores/live/model-mirror.test.ts
diff --git a/dash/apps/switchdash-desktop/src/renderer/lib/stores/live/model-mirror.ts b/dash/apps/switch-console-desktop/src/renderer/lib/stores/live/model-mirror.ts
similarity index 97%
rename from dash/apps/switchdash-desktop/src/renderer/lib/stores/live/model-mirror.ts
rename to dash/apps/switch-console-desktop/src/renderer/lib/stores/live/model-mirror.ts
index baa61b70a..c44cc7050 100644
--- a/dash/apps/switchdash-desktop/src/renderer/lib/stores/live/model-mirror.ts
+++ b/dash/apps/switch-console-desktop/src/renderer/lib/stores/live/model-mirror.ts
@@ -1,4 +1,4 @@
-import type { LiveValue } from '@switchdash/core/lib';
+import type { LiveValue } from '@switch-console/core/lib';
import { makeObservable, observable, runInAction } from 'mobx';
type Waiter = {
diff --git a/dash/apps/switchdash-desktop/src/renderer/lib/stores/live/optimistic-model.test.ts b/dash/apps/switch-console-desktop/src/renderer/lib/stores/live/optimistic-model.test.ts
similarity index 98%
rename from dash/apps/switchdash-desktop/src/renderer/lib/stores/live/optimistic-model.test.ts
rename to dash/apps/switch-console-desktop/src/renderer/lib/stores/live/optimistic-model.test.ts
index a36362d10..5ac98b42f 100644
--- a/dash/apps/switchdash-desktop/src/renderer/lib/stores/live/optimistic-model.test.ts
+++ b/dash/apps/switch-console-desktop/src/renderer/lib/stores/live/optimistic-model.test.ts
@@ -1,4 +1,4 @@
-import { ok } from '@switchdash/shared';
+import { ok } from '@switch-console/shared';
import { describe, expect, it, vi } from 'vitest';
import { ModelMirror } from './model-mirror';
import { OptimisticModel } from './optimistic-model';
diff --git a/dash/apps/switchdash-desktop/src/renderer/lib/stores/live/optimistic-model.ts b/dash/apps/switch-console-desktop/src/renderer/lib/stores/live/optimistic-model.ts
similarity index 97%
rename from dash/apps/switchdash-desktop/src/renderer/lib/stores/live/optimistic-model.ts
rename to dash/apps/switch-console-desktop/src/renderer/lib/stores/live/optimistic-model.ts
index 34c350954..c6c3404c4 100644
--- a/dash/apps/switchdash-desktop/src/renderer/lib/stores/live/optimistic-model.ts
+++ b/dash/apps/switch-console-desktop/src/renderer/lib/stores/live/optimistic-model.ts
@@ -1,4 +1,4 @@
-import type { IDisposable, Result } from '@switchdash/shared';
+import type { IDisposable, Result } from '@switch-console/shared';
import { computed, makeObservable, observable, reaction, runInAction } from 'mobx';
import type { ModelMirror } from './model-mirror';
diff --git a/dash/apps/switchdash-desktop/src/renderer/lib/stores/navigation-history-store.ts b/dash/apps/switch-console-desktop/src/renderer/lib/stores/navigation-history-store.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/lib/stores/navigation-history-store.ts
rename to dash/apps/switch-console-desktop/src/renderer/lib/stores/navigation-history-store.ts
diff --git a/dash/apps/switchdash-desktop/src/renderer/lib/stores/navigation-store.test.ts b/dash/apps/switch-console-desktop/src/renderer/lib/stores/navigation-store.test.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/lib/stores/navigation-store.test.ts
rename to dash/apps/switch-console-desktop/src/renderer/lib/stores/navigation-store.test.ts
diff --git a/dash/apps/switchdash-desktop/src/renderer/lib/stores/navigation-store.ts b/dash/apps/switch-console-desktop/src/renderer/lib/stores/navigation-store.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/lib/stores/navigation-store.ts
rename to dash/apps/switch-console-desktop/src/renderer/lib/stores/navigation-store.ts
diff --git a/dash/apps/switchdash-desktop/src/renderer/lib/stores/resource-monitor-store.test.ts b/dash/apps/switch-console-desktop/src/renderer/lib/stores/resource-monitor-store.test.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/lib/stores/resource-monitor-store.test.ts
rename to dash/apps/switch-console-desktop/src/renderer/lib/stores/resource-monitor-store.test.ts
diff --git a/dash/apps/switchdash-desktop/src/renderer/lib/stores/resource-monitor-store.ts b/dash/apps/switch-console-desktop/src/renderer/lib/stores/resource-monitor-store.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/lib/stores/resource-monitor-store.ts
rename to dash/apps/switch-console-desktop/src/renderer/lib/stores/resource-monitor-store.ts
diff --git a/dash/apps/switchdash-desktop/src/renderer/lib/stores/resource.test.ts b/dash/apps/switch-console-desktop/src/renderer/lib/stores/resource.test.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/lib/stores/resource.test.ts
rename to dash/apps/switch-console-desktop/src/renderer/lib/stores/resource.test.ts
diff --git a/dash/apps/switchdash-desktop/src/renderer/lib/stores/resource.ts b/dash/apps/switch-console-desktop/src/renderer/lib/stores/resource.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/lib/stores/resource.ts
rename to dash/apps/switch-console-desktop/src/renderer/lib/stores/resource.ts
diff --git a/dash/apps/switchdash-desktop/src/renderer/lib/stores/snapshot-registry.ts b/dash/apps/switch-console-desktop/src/renderer/lib/stores/snapshot-registry.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/lib/stores/snapshot-registry.ts
rename to dash/apps/switch-console-desktop/src/renderer/lib/stores/snapshot-registry.ts
diff --git a/dash/apps/switchdash-desktop/src/renderer/lib/stores/snapshottable.ts b/dash/apps/switch-console-desktop/src/renderer/lib/stores/snapshottable.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/lib/stores/snapshottable.ts
rename to dash/apps/switch-console-desktop/src/renderer/lib/stores/snapshottable.ts
diff --git a/dash/apps/switchdash-desktop/src/renderer/lib/stores/tab-utils.test.ts b/dash/apps/switch-console-desktop/src/renderer/lib/stores/tab-utils.test.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/lib/stores/tab-utils.test.ts
rename to dash/apps/switch-console-desktop/src/renderer/lib/stores/tab-utils.test.ts
diff --git a/dash/apps/switchdash-desktop/src/renderer/lib/stores/tab-utils.ts b/dash/apps/switch-console-desktop/src/renderer/lib/stores/tab-utils.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/lib/stores/tab-utils.ts
rename to dash/apps/switch-console-desktop/src/renderer/lib/stores/tab-utils.ts
diff --git a/dash/apps/switchdash-desktop/src/renderer/lib/stores/update-store.ts b/dash/apps/switch-console-desktop/src/renderer/lib/stores/update-store.ts
similarity index 99%
rename from dash/apps/switchdash-desktop/src/renderer/lib/stores/update-store.ts
rename to dash/apps/switch-console-desktop/src/renderer/lib/stores/update-store.ts
index d1d94ce95..08e429490 100644
--- a/dash/apps/switchdash-desktop/src/renderer/lib/stores/update-store.ts
+++ b/dash/apps/switch-console-desktop/src/renderer/lib/stores/update-store.ts
@@ -16,7 +16,7 @@ import {
updateNotAvailableEvent,
updateProgressEvent,
} from '@shared/events/updateEvents';
-import { switchdashReleaseUrl } from '@shared/urls';
+import { switchConsoleReleaseUrl } from '@shared/urls';
const LAST_NOTIFIED_KEY = 'switchdash:update:lastNotified';
const SNOOZE_HOURS = 6;
@@ -146,7 +146,7 @@ export class UpdateStore {
}
get releaseUrl(): string {
- return switchdashReleaseUrl(this.latestVersion);
+ return switchConsoleReleaseUrl(this.latestVersion);
}
start(): void {
diff --git a/dash/apps/switchdash-desktop/src/renderer/lib/stores/use-agent-installation-statuses.ts b/dash/apps/switch-console-desktop/src/renderer/lib/stores/use-agent-installation-statuses.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/lib/stores/use-agent-installation-statuses.ts
rename to dash/apps/switch-console-desktop/src/renderer/lib/stores/use-agent-installation-statuses.ts
diff --git a/dash/apps/switchdash-desktop/src/renderer/lib/stores/use-agent-settings.ts b/dash/apps/switch-console-desktop/src/renderer/lib/stores/use-agent-settings.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/lib/stores/use-agent-settings.ts
rename to dash/apps/switch-console-desktop/src/renderer/lib/stores/use-agent-settings.ts
diff --git a/dash/apps/switchdash-desktop/src/renderer/lib/stores/use-agents.ts b/dash/apps/switch-console-desktop/src/renderer/lib/stores/use-agents.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/lib/stores/use-agents.ts
rename to dash/apps/switch-console-desktop/src/renderer/lib/stores/use-agents.ts
diff --git a/dash/apps/switchdash-desktop/src/renderer/lib/stores/use-switch-setup.ts b/dash/apps/switch-console-desktop/src/renderer/lib/stores/use-switch-setup.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/lib/stores/use-switch-setup.ts
rename to dash/apps/switch-console-desktop/src/renderer/lib/stores/use-switch-setup.ts
diff --git a/dash/apps/switchdash-desktop/src/renderer/lib/stores/view-state-cache.ts b/dash/apps/switch-console-desktop/src/renderer/lib/stores/view-state-cache.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/lib/stores/view-state-cache.ts
rename to dash/apps/switch-console-desktop/src/renderer/lib/stores/view-state-cache.ts
diff --git a/dash/apps/switchdash-desktop/src/renderer/lib/switchdash-logo.tsx b/dash/apps/switch-console-desktop/src/renderer/lib/switch-console-logo.tsx
similarity index 97%
rename from dash/apps/switchdash-desktop/src/renderer/lib/switchdash-logo.tsx
rename to dash/apps/switch-console-desktop/src/renderer/lib/switch-console-logo.tsx
index cf536a9f9..8647ca425 100644
--- a/dash/apps/switchdash-desktop/src/renderer/lib/switchdash-logo.tsx
+++ b/dash/apps/switch-console-desktop/src/renderer/lib/switch-console-logo.tsx
@@ -11,7 +11,7 @@ export const LOGO_FONT_FAMILY =
// The wordmark is rendered as text rather than as baked-in glyph paths so it
// carries the product name with no upstream logo artwork.
-export function SwitchdashLogo({
+export function SwitchConsoleLogo({
className,
height = NATURAL_HEIGHT,
color = 'currentColor',
diff --git a/dash/apps/switchdash-desktop/src/renderer/lib/switchdash-shimmer-logo.tsx b/dash/apps/switch-console-desktop/src/renderer/lib/switch-console-shimmer-logo.tsx
similarity index 95%
rename from dash/apps/switchdash-desktop/src/renderer/lib/switchdash-shimmer-logo.tsx
rename to dash/apps/switch-console-desktop/src/renderer/lib/switch-console-shimmer-logo.tsx
index 7740a0c12..ce5758c2c 100644
--- a/dash/apps/switchdash-desktop/src/renderer/lib/switchdash-shimmer-logo.tsx
+++ b/dash/apps/switch-console-desktop/src/renderer/lib/switch-console-shimmer-logo.tsx
@@ -4,9 +4,9 @@ import {
LOGO_TEXT,
NATURAL_HEIGHT,
NATURAL_WIDTH,
-} from '@renderer/lib/switchdash-logo';
+} from '@renderer/lib/switch-console-logo';
-export function SwitchdashShimmerLogo({
+export function SwitchConsoleShimmerLogo({
className,
height = NATURAL_HEIGHT,
color = 'currentColor',
diff --git a/dash/apps/switchdash-desktop/src/renderer/lib/theme/theme-toggle-model.ts b/dash/apps/switch-console-desktop/src/renderer/lib/theme/theme-toggle-model.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/lib/theme/theme-toggle-model.ts
rename to dash/apps/switch-console-desktop/src/renderer/lib/theme/theme-toggle-model.ts
diff --git a/dash/apps/switchdash-desktop/src/renderer/lib/theme/theme-toggle.test.ts b/dash/apps/switch-console-desktop/src/renderer/lib/theme/theme-toggle.test.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/lib/theme/theme-toggle.test.ts
rename to dash/apps/switch-console-desktop/src/renderer/lib/theme/theme-toggle.test.ts
diff --git a/dash/apps/switchdash-desktop/src/renderer/lib/theme/theme-toggle.ts b/dash/apps/switch-console-desktop/src/renderer/lib/theme/theme-toggle.ts
similarity index 95%
rename from dash/apps/switchdash-desktop/src/renderer/lib/theme/theme-toggle.ts
rename to dash/apps/switch-console-desktop/src/renderer/lib/theme/theme-toggle.ts
index 4a655c3cb..167322ed8 100644
--- a/dash/apps/switchdash-desktop/src/renderer/lib/theme/theme-toggle.ts
+++ b/dash/apps/switch-console-desktop/src/renderer/lib/theme/theme-toggle.ts
@@ -1,4 +1,4 @@
-import { err, ok, type Result } from '@switchdash/shared';
+import { err, ok, type Result } from '@switch-console/shared';
import {
fetchAppSettingsMeta,
getAllAppSettingsFromCache,
diff --git a/dash/apps/switchdash-desktop/src/renderer/lib/ui/absolute-time.tsx b/dash/apps/switch-console-desktop/src/renderer/lib/ui/absolute-time.tsx
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/lib/ui/absolute-time.tsx
rename to dash/apps/switch-console-desktop/src/renderer/lib/ui/absolute-time.tsx
diff --git a/dash/apps/switchdash-desktop/src/renderer/lib/ui/action-list-item.tsx b/dash/apps/switch-console-desktop/src/renderer/lib/ui/action-list-item.tsx
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/lib/ui/action-list-item.tsx
rename to dash/apps/switch-console-desktop/src/renderer/lib/ui/action-list-item.tsx
diff --git a/dash/apps/switchdash-desktop/src/renderer/lib/ui/alert.tsx b/dash/apps/switch-console-desktop/src/renderer/lib/ui/alert.tsx
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/lib/ui/alert.tsx
rename to dash/apps/switch-console-desktop/src/renderer/lib/ui/alert.tsx
diff --git a/dash/apps/switchdash-desktop/src/renderer/lib/ui/animated-height.tsx b/dash/apps/switch-console-desktop/src/renderer/lib/ui/animated-height.tsx
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/lib/ui/animated-height.tsx
rename to dash/apps/switch-console-desktop/src/renderer/lib/ui/animated-height.tsx
diff --git a/dash/apps/switchdash-desktop/src/renderer/lib/ui/badge.tsx b/dash/apps/switch-console-desktop/src/renderer/lib/ui/badge.tsx
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/lib/ui/badge.tsx
rename to dash/apps/switch-console-desktop/src/renderer/lib/ui/badge.tsx
diff --git a/dash/apps/switchdash-desktop/src/renderer/lib/ui/button.tsx b/dash/apps/switch-console-desktop/src/renderer/lib/ui/button.tsx
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/lib/ui/button.tsx
rename to dash/apps/switch-console-desktop/src/renderer/lib/ui/button.tsx
diff --git a/dash/apps/switchdash-desktop/src/renderer/lib/ui/checkbox.tsx b/dash/apps/switch-console-desktop/src/renderer/lib/ui/checkbox.tsx
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/lib/ui/checkbox.tsx
rename to dash/apps/switch-console-desktop/src/renderer/lib/ui/checkbox.tsx
diff --git a/dash/apps/switchdash-desktop/src/renderer/lib/ui/collapsible.tsx b/dash/apps/switch-console-desktop/src/renderer/lib/ui/collapsible.tsx
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/lib/ui/collapsible.tsx
rename to dash/apps/switch-console-desktop/src/renderer/lib/ui/collapsible.tsx
diff --git a/dash/apps/switchdash-desktop/src/renderer/lib/ui/combobox-popover.tsx b/dash/apps/switch-console-desktop/src/renderer/lib/ui/combobox-popover.tsx
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/lib/ui/combobox-popover.tsx
rename to dash/apps/switch-console-desktop/src/renderer/lib/ui/combobox-popover.tsx
diff --git a/dash/apps/switchdash-desktop/src/renderer/lib/ui/combobox.tsx b/dash/apps/switch-console-desktop/src/renderer/lib/ui/combobox.tsx
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/lib/ui/combobox.tsx
rename to dash/apps/switch-console-desktop/src/renderer/lib/ui/combobox.tsx
diff --git a/dash/apps/switchdash-desktop/src/renderer/lib/ui/confirm-button.tsx b/dash/apps/switch-console-desktop/src/renderer/lib/ui/confirm-button.tsx
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/lib/ui/confirm-button.tsx
rename to dash/apps/switch-console-desktop/src/renderer/lib/ui/confirm-button.tsx
diff --git a/dash/apps/switchdash-desktop/src/renderer/lib/ui/contained-image.tsx b/dash/apps/switch-console-desktop/src/renderer/lib/ui/contained-image.tsx
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/lib/ui/contained-image.tsx
rename to dash/apps/switch-console-desktop/src/renderer/lib/ui/contained-image.tsx
diff --git a/dash/apps/switchdash-desktop/src/renderer/lib/ui/context-menu.tsx b/dash/apps/switch-console-desktop/src/renderer/lib/ui/context-menu.tsx
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/lib/ui/context-menu.tsx
rename to dash/apps/switch-console-desktop/src/renderer/lib/ui/context-menu.tsx
diff --git a/dash/apps/switchdash-desktop/src/renderer/lib/ui/dialog.tsx b/dash/apps/switch-console-desktop/src/renderer/lib/ui/dialog.tsx
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/lib/ui/dialog.tsx
rename to dash/apps/switch-console-desktop/src/renderer/lib/ui/dialog.tsx
diff --git a/dash/apps/switchdash-desktop/src/renderer/lib/ui/dropdown-menu.tsx b/dash/apps/switch-console-desktop/src/renderer/lib/ui/dropdown-menu.tsx
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/lib/ui/dropdown-menu.tsx
rename to dash/apps/switch-console-desktop/src/renderer/lib/ui/dropdown-menu.tsx
diff --git a/dash/apps/switchdash-desktop/src/renderer/lib/ui/editable-name-field.tsx b/dash/apps/switch-console-desktop/src/renderer/lib/ui/editable-name-field.tsx
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/lib/ui/editable-name-field.tsx
rename to dash/apps/switch-console-desktop/src/renderer/lib/ui/editable-name-field.tsx
diff --git a/dash/apps/switchdash-desktop/src/renderer/lib/ui/empty-state.tsx b/dash/apps/switch-console-desktop/src/renderer/lib/ui/empty-state.tsx
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/lib/ui/empty-state.tsx
rename to dash/apps/switch-console-desktop/src/renderer/lib/ui/empty-state.tsx
diff --git a/dash/apps/switchdash-desktop/src/renderer/lib/ui/expandable-image.tsx b/dash/apps/switch-console-desktop/src/renderer/lib/ui/expandable-image.tsx
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/lib/ui/expandable-image.tsx
rename to dash/apps/switch-console-desktop/src/renderer/lib/ui/expandable-image.tsx
diff --git a/dash/apps/switchdash-desktop/src/renderer/lib/ui/field.tsx b/dash/apps/switch-console-desktop/src/renderer/lib/ui/field.tsx
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/lib/ui/field.tsx
rename to dash/apps/switch-console-desktop/src/renderer/lib/ui/field.tsx
diff --git a/dash/apps/switchdash-desktop/src/renderer/lib/ui/input-group.tsx b/dash/apps/switch-console-desktop/src/renderer/lib/ui/input-group.tsx
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/lib/ui/input-group.tsx
rename to dash/apps/switch-console-desktop/src/renderer/lib/ui/input-group.tsx
diff --git a/dash/apps/switchdash-desktop/src/renderer/lib/ui/input.tsx b/dash/apps/switch-console-desktop/src/renderer/lib/ui/input.tsx
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/lib/ui/input.tsx
rename to dash/apps/switch-console-desktop/src/renderer/lib/ui/input.tsx
diff --git a/dash/apps/switchdash-desktop/src/renderer/lib/ui/kbd.tsx b/dash/apps/switch-console-desktop/src/renderer/lib/ui/kbd.tsx
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/lib/ui/kbd.tsx
rename to dash/apps/switch-console-desktop/src/renderer/lib/ui/kbd.tsx
diff --git a/dash/apps/switchdash-desktop/src/renderer/lib/ui/label.tsx b/dash/apps/switch-console-desktop/src/renderer/lib/ui/label.tsx
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/lib/ui/label.tsx
rename to dash/apps/switch-console-desktop/src/renderer/lib/ui/label.tsx
diff --git a/dash/apps/switchdash-desktop/src/renderer/lib/ui/markdown-latex.test.ts b/dash/apps/switch-console-desktop/src/renderer/lib/ui/markdown-latex.test.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/lib/ui/markdown-latex.test.ts
rename to dash/apps/switch-console-desktop/src/renderer/lib/ui/markdown-latex.test.ts
diff --git a/dash/apps/switchdash-desktop/src/renderer/lib/ui/markdown-latex.ts b/dash/apps/switch-console-desktop/src/renderer/lib/ui/markdown-latex.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/lib/ui/markdown-latex.ts
rename to dash/apps/switch-console-desktop/src/renderer/lib/ui/markdown-latex.ts
diff --git a/dash/apps/switchdash-desktop/src/renderer/lib/ui/markdown-renderer.tsx b/dash/apps/switch-console-desktop/src/renderer/lib/ui/markdown-renderer.tsx
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/lib/ui/markdown-renderer.tsx
rename to dash/apps/switch-console-desktop/src/renderer/lib/ui/markdown-renderer.tsx
diff --git a/dash/apps/switchdash-desktop/src/renderer/lib/ui/mermaid-diagram-dialog.tsx b/dash/apps/switch-console-desktop/src/renderer/lib/ui/mermaid-diagram-dialog.tsx
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/lib/ui/mermaid-diagram-dialog.tsx
rename to dash/apps/switch-console-desktop/src/renderer/lib/ui/mermaid-diagram-dialog.tsx
diff --git a/dash/apps/switchdash-desktop/src/renderer/lib/ui/mermaid-diagram-preview.tsx b/dash/apps/switch-console-desktop/src/renderer/lib/ui/mermaid-diagram-preview.tsx
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/lib/ui/mermaid-diagram-preview.tsx
rename to dash/apps/switch-console-desktop/src/renderer/lib/ui/mermaid-diagram-preview.tsx
diff --git a/dash/apps/switchdash-desktop/src/renderer/lib/ui/mermaid-diagram.tsx b/dash/apps/switch-console-desktop/src/renderer/lib/ui/mermaid-diagram.tsx
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/lib/ui/mermaid-diagram.tsx
rename to dash/apps/switch-console-desktop/src/renderer/lib/ui/mermaid-diagram.tsx
diff --git a/dash/apps/switchdash-desktop/src/renderer/lib/ui/mermaid-renderer.ts b/dash/apps/switch-console-desktop/src/renderer/lib/ui/mermaid-renderer.ts
similarity index 96%
rename from dash/apps/switchdash-desktop/src/renderer/lib/ui/mermaid-renderer.ts
rename to dash/apps/switch-console-desktop/src/renderer/lib/ui/mermaid-renderer.ts
index e7dc4903a..cdce99418 100644
--- a/dash/apps/switchdash-desktop/src/renderer/lib/ui/mermaid-renderer.ts
+++ b/dash/apps/switch-console-desktop/src/renderer/lib/ui/mermaid-renderer.ts
@@ -14,7 +14,7 @@ interface MermaidRenderRequest {
export function createMermaidRenderId(): string {
idCounter += 1;
- return `switchdash-mermaid-${idCounter}`;
+ return `switch-console-mermaid-${idCounter}`;
}
export async function renderMermaidDiagram({
diff --git a/dash/apps/switchdash-desktop/src/renderer/lib/ui/modal-layout.tsx b/dash/apps/switch-console-desktop/src/renderer/lib/ui/modal-layout.tsx
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/lib/ui/modal-layout.tsx
rename to dash/apps/switch-console-desktop/src/renderer/lib/ui/modal-layout.tsx
diff --git a/dash/apps/switchdash-desktop/src/renderer/lib/ui/panel-tabs.tsx b/dash/apps/switch-console-desktop/src/renderer/lib/ui/panel-tabs.tsx
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/lib/ui/panel-tabs.tsx
rename to dash/apps/switch-console-desktop/src/renderer/lib/ui/panel-tabs.tsx
diff --git a/dash/apps/switchdash-desktop/src/renderer/lib/ui/popover.tsx b/dash/apps/switch-console-desktop/src/renderer/lib/ui/popover.tsx
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/lib/ui/popover.tsx
rename to dash/apps/switch-console-desktop/src/renderer/lib/ui/popover.tsx
diff --git a/dash/apps/switchdash-desktop/src/renderer/lib/ui/progress.tsx b/dash/apps/switch-console-desktop/src/renderer/lib/ui/progress.tsx
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/lib/ui/progress.tsx
rename to dash/apps/switch-console-desktop/src/renderer/lib/ui/progress.tsx
diff --git a/dash/apps/switchdash-desktop/src/renderer/lib/ui/radio-group.tsx b/dash/apps/switch-console-desktop/src/renderer/lib/ui/radio-group.tsx
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/lib/ui/radio-group.tsx
rename to dash/apps/switch-console-desktop/src/renderer/lib/ui/radio-group.tsx
diff --git a/dash/apps/switchdash-desktop/src/renderer/lib/ui/relative-time.tsx b/dash/apps/switch-console-desktop/src/renderer/lib/ui/relative-time.tsx
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/lib/ui/relative-time.tsx
rename to dash/apps/switch-console-desktop/src/renderer/lib/ui/relative-time.tsx
diff --git a/dash/apps/switchdash-desktop/src/renderer/lib/ui/resizable.tsx b/dash/apps/switch-console-desktop/src/renderer/lib/ui/resizable.tsx
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/lib/ui/resizable.tsx
rename to dash/apps/switch-console-desktop/src/renderer/lib/ui/resizable.tsx
diff --git a/dash/apps/switchdash-desktop/src/renderer/lib/ui/right-sidebar.tsx b/dash/apps/switch-console-desktop/src/renderer/lib/ui/right-sidebar.tsx
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/lib/ui/right-sidebar.tsx
rename to dash/apps/switch-console-desktop/src/renderer/lib/ui/right-sidebar.tsx
diff --git a/dash/apps/switchdash-desktop/src/renderer/lib/ui/search-input.tsx b/dash/apps/switch-console-desktop/src/renderer/lib/ui/search-input.tsx
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/lib/ui/search-input.tsx
rename to dash/apps/switch-console-desktop/src/renderer/lib/ui/search-input.tsx
diff --git a/dash/apps/switchdash-desktop/src/renderer/lib/ui/select.tsx b/dash/apps/switch-console-desktop/src/renderer/lib/ui/select.tsx
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/lib/ui/select.tsx
rename to dash/apps/switch-console-desktop/src/renderer/lib/ui/select.tsx
diff --git a/dash/apps/switchdash-desktop/src/renderer/lib/ui/separator.tsx b/dash/apps/switch-console-desktop/src/renderer/lib/ui/separator.tsx
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/lib/ui/separator.tsx
rename to dash/apps/switch-console-desktop/src/renderer/lib/ui/separator.tsx
diff --git a/dash/apps/switchdash-desktop/src/renderer/lib/ui/sheet.tsx b/dash/apps/switch-console-desktop/src/renderer/lib/ui/sheet.tsx
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/lib/ui/sheet.tsx
rename to dash/apps/switch-console-desktop/src/renderer/lib/ui/sheet.tsx
diff --git a/dash/apps/switchdash-desktop/src/renderer/lib/ui/shortcut-format.test.ts b/dash/apps/switch-console-desktop/src/renderer/lib/ui/shortcut-format.test.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/lib/ui/shortcut-format.test.ts
rename to dash/apps/switch-console-desktop/src/renderer/lib/ui/shortcut-format.test.ts
diff --git a/dash/apps/switchdash-desktop/src/renderer/lib/ui/shortcut-format.ts b/dash/apps/switch-console-desktop/src/renderer/lib/ui/shortcut-format.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/lib/ui/shortcut-format.ts
rename to dash/apps/switch-console-desktop/src/renderer/lib/ui/shortcut-format.ts
diff --git a/dash/apps/switchdash-desktop/src/renderer/lib/ui/shortcut.tsx b/dash/apps/switch-console-desktop/src/renderer/lib/ui/shortcut.tsx
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/lib/ui/shortcut.tsx
rename to dash/apps/switch-console-desktop/src/renderer/lib/ui/shortcut.tsx
diff --git a/dash/apps/switchdash-desktop/src/renderer/lib/ui/show-hide.tsx b/dash/apps/switch-console-desktop/src/renderer/lib/ui/show-hide.tsx
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/lib/ui/show-hide.tsx
rename to dash/apps/switch-console-desktop/src/renderer/lib/ui/show-hide.tsx
diff --git a/dash/apps/switchdash-desktop/src/renderer/lib/ui/sonner.tsx b/dash/apps/switch-console-desktop/src/renderer/lib/ui/sonner.tsx
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/lib/ui/sonner.tsx
rename to dash/apps/switch-console-desktop/src/renderer/lib/ui/sonner.tsx
diff --git a/dash/apps/switchdash-desktop/src/renderer/lib/ui/spinner.tsx b/dash/apps/switch-console-desktop/src/renderer/lib/ui/spinner.tsx
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/lib/ui/spinner.tsx
rename to dash/apps/switch-console-desktop/src/renderer/lib/ui/spinner.tsx
diff --git a/dash/apps/switchdash-desktop/src/renderer/lib/ui/split-button.tsx b/dash/apps/switch-console-desktop/src/renderer/lib/ui/split-button.tsx
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/lib/ui/split-button.tsx
rename to dash/apps/switch-console-desktop/src/renderer/lib/ui/split-button.tsx
diff --git a/dash/apps/switchdash-desktop/src/renderer/lib/ui/status-badge.tsx b/dash/apps/switch-console-desktop/src/renderer/lib/ui/status-badge.tsx
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/lib/ui/status-badge.tsx
rename to dash/apps/switch-console-desktop/src/renderer/lib/ui/status-badge.tsx
diff --git a/dash/apps/switchdash-desktop/src/renderer/lib/ui/switch.tsx b/dash/apps/switch-console-desktop/src/renderer/lib/ui/switch.tsx
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/lib/ui/switch.tsx
rename to dash/apps/switch-console-desktop/src/renderer/lib/ui/switch.tsx
diff --git a/dash/apps/switchdash-desktop/src/renderer/lib/ui/tab-bar.tsx b/dash/apps/switch-console-desktop/src/renderer/lib/ui/tab-bar.tsx
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/lib/ui/tab-bar.tsx
rename to dash/apps/switch-console-desktop/src/renderer/lib/ui/tab-bar.tsx
diff --git a/dash/apps/switchdash-desktop/src/renderer/lib/ui/textarea.tsx b/dash/apps/switch-console-desktop/src/renderer/lib/ui/textarea.tsx
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/lib/ui/textarea.tsx
rename to dash/apps/switch-console-desktop/src/renderer/lib/ui/textarea.tsx
diff --git a/dash/apps/switchdash-desktop/src/renderer/lib/ui/toaster.tsx b/dash/apps/switch-console-desktop/src/renderer/lib/ui/toaster.tsx
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/lib/ui/toaster.tsx
rename to dash/apps/switch-console-desktop/src/renderer/lib/ui/toaster.tsx
diff --git a/dash/apps/switchdash-desktop/src/renderer/lib/ui/toggle-group.tsx b/dash/apps/switch-console-desktop/src/renderer/lib/ui/toggle-group.tsx
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/lib/ui/toggle-group.tsx
rename to dash/apps/switch-console-desktop/src/renderer/lib/ui/toggle-group.tsx
diff --git a/dash/apps/switchdash-desktop/src/renderer/lib/ui/toggle.tsx b/dash/apps/switch-console-desktop/src/renderer/lib/ui/toggle.tsx
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/lib/ui/toggle.tsx
rename to dash/apps/switch-console-desktop/src/renderer/lib/ui/toggle.tsx
diff --git a/dash/apps/switchdash-desktop/src/renderer/lib/ui/tooltip.tsx b/dash/apps/switch-console-desktop/src/renderer/lib/ui/tooltip.tsx
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/lib/ui/tooltip.tsx
rename to dash/apps/switch-console-desktop/src/renderer/lib/ui/tooltip.tsx
diff --git a/dash/apps/switchdash-desktop/src/renderer/lib/ui/zoomable-content-dialog.tsx b/dash/apps/switch-console-desktop/src/renderer/lib/ui/zoomable-content-dialog.tsx
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/lib/ui/zoomable-content-dialog.tsx
rename to dash/apps/switch-console-desktop/src/renderer/lib/ui/zoomable-content-dialog.tsx
diff --git a/dash/apps/switchdash-desktop/src/renderer/lib/updates/update-presentation.test.ts b/dash/apps/switch-console-desktop/src/renderer/lib/updates/update-presentation.test.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/lib/updates/update-presentation.test.ts
rename to dash/apps/switch-console-desktop/src/renderer/lib/updates/update-presentation.test.ts
diff --git a/dash/apps/switchdash-desktop/src/renderer/lib/updates/update-presentation.ts b/dash/apps/switch-console-desktop/src/renderer/lib/updates/update-presentation.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/lib/updates/update-presentation.ts
rename to dash/apps/switch-console-desktop/src/renderer/lib/updates/update-presentation.ts
diff --git a/dash/apps/switchdash-desktop/src/renderer/main.tsx b/dash/apps/switch-console-desktop/src/renderer/main.tsx
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/main.tsx
rename to dash/apps/switch-console-desktop/src/renderer/main.tsx
diff --git a/dash/apps/switchdash-desktop/src/renderer/tests/agent-icon-variant.test.ts b/dash/apps/switch-console-desktop/src/renderer/tests/agent-icon-variant.test.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/tests/agent-icon-variant.test.ts
rename to dash/apps/switch-console-desktop/src/renderer/tests/agent-icon-variant.test.ts
diff --git a/dash/apps/switchdash-desktop/src/renderer/tests/browser/home-drag-region.test.tsx b/dash/apps/switch-console-desktop/src/renderer/tests/browser/home-drag-region.test.tsx
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/tests/browser/home-drag-region.test.tsx
rename to dash/apps/switch-console-desktop/src/renderer/tests/browser/home-drag-region.test.tsx
diff --git a/dash/apps/switchdash-desktop/src/renderer/tests/browser/host-trouble-indicator.test.tsx b/dash/apps/switch-console-desktop/src/renderer/tests/browser/host-trouble-indicator.test.tsx
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/tests/browser/host-trouble-indicator.test.tsx
rename to dash/apps/switch-console-desktop/src/renderer/tests/browser/host-trouble-indicator.test.tsx
diff --git a/dash/apps/switchdash-desktop/src/renderer/tests/browser/modal-drag-region.test.tsx b/dash/apps/switch-console-desktop/src/renderer/tests/browser/modal-drag-region.test.tsx
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/tests/browser/modal-drag-region.test.tsx
rename to dash/apps/switch-console-desktop/src/renderer/tests/browser/modal-drag-region.test.tsx
diff --git a/dash/apps/switchdash-desktop/src/renderer/tests/browser/remote-host-agent-type-row.test.tsx b/dash/apps/switch-console-desktop/src/renderer/tests/browser/remote-host-agent-type-row.test.tsx
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/tests/browser/remote-host-agent-type-row.test.tsx
rename to dash/apps/switch-console-desktop/src/renderer/tests/browser/remote-host-agent-type-row.test.tsx
diff --git a/dash/apps/switchdash-desktop/src/renderer/tests/browser/remote-host-prerequisite-row.test.tsx b/dash/apps/switch-console-desktop/src/renderer/tests/browser/remote-host-prerequisite-row.test.tsx
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/tests/browser/remote-host-prerequisite-row.test.tsx
rename to dash/apps/switch-console-desktop/src/renderer/tests/browser/remote-host-prerequisite-row.test.tsx
diff --git a/dash/apps/switchdash-desktop/src/renderer/tests/browser/setup-electron-bridge.ts b/dash/apps/switch-console-desktop/src/renderer/tests/browser/setup-electron-bridge.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/tests/browser/setup-electron-bridge.ts
rename to dash/apps/switch-console-desktop/src/renderer/tests/browser/setup-electron-bridge.ts
diff --git a/dash/apps/switchdash-desktop/src/renderer/tests/browser/sidebar-drag-reorder.test.tsx b/dash/apps/switch-console-desktop/src/renderer/tests/browser/sidebar-drag-reorder.test.tsx
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/tests/browser/sidebar-drag-reorder.test.tsx
rename to dash/apps/switch-console-desktop/src/renderer/tests/browser/sidebar-drag-reorder.test.tsx
diff --git a/dash/apps/switchdash-desktop/src/renderer/tests/browser/terminal-dimensions.test.ts b/dash/apps/switch-console-desktop/src/renderer/tests/browser/terminal-dimensions.test.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/tests/browser/terminal-dimensions.test.ts
rename to dash/apps/switch-console-desktop/src/renderer/tests/browser/terminal-dimensions.test.ts
diff --git a/dash/apps/switchdash-desktop/src/renderer/tests/browser/version-drift-notice-layout.test.tsx b/dash/apps/switch-console-desktop/src/renderer/tests/browser/version-drift-notice-layout.test.tsx
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/tests/browser/version-drift-notice-layout.test.tsx
rename to dash/apps/switch-console-desktop/src/renderer/tests/browser/version-drift-notice-layout.test.tsx
diff --git a/dash/apps/switchdash-desktop/src/renderer/tests/browser/webview-allowpopups.test.tsx b/dash/apps/switch-console-desktop/src/renderer/tests/browser/webview-allowpopups.test.tsx
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/tests/browser/webview-allowpopups.test.tsx
rename to dash/apps/switch-console-desktop/src/renderer/tests/browser/webview-allowpopups.test.tsx
diff --git a/dash/apps/switchdash-desktop/src/renderer/tests/browser/xterm-host.test.ts b/dash/apps/switch-console-desktop/src/renderer/tests/browser/xterm-host.test.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/tests/browser/xterm-host.test.ts
rename to dash/apps/switch-console-desktop/src/renderer/tests/browser/xterm-host.test.ts
diff --git a/dash/apps/switchdash-desktop/src/renderer/tests/drag-files.test.ts b/dash/apps/switch-console-desktop/src/renderer/tests/drag-files.test.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/tests/drag-files.test.ts
rename to dash/apps/switch-console-desktop/src/renderer/tests/drag-files.test.ts
diff --git a/dash/apps/switchdash-desktop/src/renderer/tests/file-link-provider.test.ts b/dash/apps/switch-console-desktop/src/renderer/tests/file-link-provider.test.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/tests/file-link-provider.test.ts
rename to dash/apps/switch-console-desktop/src/renderer/tests/file-link-provider.test.ts
diff --git a/dash/apps/switchdash-desktop/src/renderer/tests/markdown-renderer.test.ts b/dash/apps/switch-console-desktop/src/renderer/tests/markdown-renderer.test.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/tests/markdown-renderer.test.ts
rename to dash/apps/switch-console-desktop/src/renderer/tests/markdown-renderer.test.ts
diff --git a/dash/apps/switchdash-desktop/src/renderer/tests/mermaid-diagram-preview.test.ts b/dash/apps/switch-console-desktop/src/renderer/tests/mermaid-diagram-preview.test.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/tests/mermaid-diagram-preview.test.ts
rename to dash/apps/switch-console-desktop/src/renderer/tests/mermaid-diagram-preview.test.ts
diff --git a/dash/apps/switchdash-desktop/src/renderer/tests/palette-search-utils.test.ts b/dash/apps/switch-console-desktop/src/renderer/tests/palette-search-utils.test.ts
similarity index 98%
rename from dash/apps/switchdash-desktop/src/renderer/tests/palette-search-utils.test.ts
rename to dash/apps/switch-console-desktop/src/renderer/tests/palette-search-utils.test.ts
index f0341db17..4df845232 100644
--- a/dash/apps/switchdash-desktop/src/renderer/tests/palette-search-utils.test.ts
+++ b/dash/apps/switch-console-desktop/src/renderer/tests/palette-search-utils.test.ts
@@ -24,7 +24,7 @@ function room(over: Pick<RemoteRoomSummary, 'id' | 'name'>): RemoteRoomSummary {
}
const ROOMS = [
- room({ id: 'r1', name: 'switchdash search bar' }),
+ room({ id: 'r1', name: 'switch-console search bar' }),
room({ id: 'r2', name: 'Switch Workforce hub' }),
room({ id: 'r3', name: 'release engineering' }),
];
@@ -47,7 +47,7 @@ describe('matchRooms', () => {
});
it('matches mid-word, so a term inside a compound name is still found', () => {
- expect(matchRooms(ROOMS, 'dash').map((r) => r.id)).toEqual(['r1']);
+ expect(matchRooms(ROOMS, 'onsole').map((r) => r.id)).toEqual(['r1']);
expect(matchRooms(ROOMS, 'lease').map((r) => r.id)).toEqual(['r3']);
});
diff --git a/dash/apps/switchdash-desktop/src/renderer/tests/prompt-injection.test.ts b/dash/apps/switch-console-desktop/src/renderer/tests/prompt-injection.test.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/tests/prompt-injection.test.ts
rename to dash/apps/switch-console-desktop/src/renderer/tests/prompt-injection.test.ts
diff --git a/dash/apps/switchdash-desktop/src/renderer/tests/terminal-image-injection.test.ts b/dash/apps/switch-console-desktop/src/renderer/tests/terminal-image-injection.test.ts
similarity index 96%
rename from dash/apps/switchdash-desktop/src/renderer/tests/terminal-image-injection.test.ts
rename to dash/apps/switch-console-desktop/src/renderer/tests/terminal-image-injection.test.ts
index 52d9b6298..bcf938af4 100644
--- a/dash/apps/switchdash-desktop/src/renderer/tests/terminal-image-injection.test.ts
+++ b/dash/apps/switch-console-desktop/src/renderer/tests/terminal-image-injection.test.ts
@@ -13,7 +13,7 @@ import {
describe('terminal-image-injection', () => {
it('detects unstable Chromium drop paths', () => {
expect(isUnstableDropPath('/var/folders/xx/T/Drops/image.png')).toBe(true);
- expect(isUnstableDropPath('/var/folders/xx/T/switchdash-drop-123-image.png')).toBe(false);
+ expect(isUnstableDropPath('/var/folders/xx/T/switch-console-drop-123-image.png')).toBe(false);
expect(isUnstableDropPath('/Users/me/Desktop/shot.png')).toBe(false);
});
diff --git a/dash/apps/switchdash-desktop/src/renderer/tests/terminal-search.test.ts b/dash/apps/switch-console-desktop/src/renderer/tests/terminal-search.test.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/tests/terminal-search.test.ts
rename to dash/apps/switch-console-desktop/src/renderer/tests/terminal-search.test.ts
diff --git a/dash/apps/switchdash-desktop/src/renderer/tests/terminalInputBuffer.test.ts b/dash/apps/switch-console-desktop/src/renderer/tests/terminalInputBuffer.test.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/tests/terminalInputBuffer.test.ts
rename to dash/apps/switch-console-desktop/src/renderer/tests/terminalInputBuffer.test.ts
diff --git a/dash/apps/switchdash-desktop/src/renderer/tests/terminalKeybindings.test.ts b/dash/apps/switch-console-desktop/src/renderer/tests/terminalKeybindings.test.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/tests/terminalKeybindings.test.ts
rename to dash/apps/switch-console-desktop/src/renderer/tests/terminalKeybindings.test.ts
diff --git a/dash/apps/switchdash-desktop/src/renderer/utils/cssVars.ts b/dash/apps/switch-console-desktop/src/renderer/utils/cssVars.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/utils/cssVars.ts
rename to dash/apps/switch-console-desktop/src/renderer/utils/cssVars.ts
diff --git a/dash/apps/switchdash-desktop/src/renderer/utils/diffUtils.ts b/dash/apps/switch-console-desktop/src/renderer/utils/diffUtils.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/utils/diffUtils.ts
rename to dash/apps/switch-console-desktop/src/renderer/utils/diffUtils.ts
diff --git a/dash/apps/switchdash-desktop/src/renderer/utils/format-diff-line-count.ts b/dash/apps/switch-console-desktop/src/renderer/utils/format-diff-line-count.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/utils/format-diff-line-count.ts
rename to dash/apps/switch-console-desktop/src/renderer/utils/format-diff-line-count.ts
diff --git a/dash/apps/switchdash-desktop/src/renderer/utils/formatBytes.ts b/dash/apps/switch-console-desktop/src/renderer/utils/formatBytes.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/utils/formatBytes.ts
rename to dash/apps/switch-console-desktop/src/renderer/utils/formatBytes.ts
diff --git a/dash/apps/switchdash-desktop/src/renderer/utils/languageUtils.ts b/dash/apps/switch-console-desktop/src/renderer/utils/languageUtils.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/utils/languageUtils.ts
rename to dash/apps/switch-console-desktop/src/renderer/utils/languageUtils.ts
diff --git a/dash/apps/switchdash-desktop/src/renderer/utils/logger.ts b/dash/apps/switch-console-desktop/src/renderer/utils/logger.ts
similarity index 90%
rename from dash/apps/switchdash-desktop/src/renderer/utils/logger.ts
rename to dash/apps/switch-console-desktop/src/renderer/utils/logger.ts
index 6713d2431..95d98d59c 100644
--- a/dash/apps/switchdash-desktop/src/renderer/utils/logger.ts
+++ b/dash/apps/switch-console-desktop/src/renderer/utils/logger.ts
@@ -15,6 +15,6 @@ export const log = createLogger({
source: entry.source,
context: entry.context,
};
- window.electronAPI?.eventSend('switchdash:renderer-log', safe);
+ window.electronAPI?.eventSend('switch-console:renderer-log', safe);
},
});
diff --git a/dash/apps/switchdash-desktop/src/renderer/utils/mcp-icon-data.ts b/dash/apps/switch-console-desktop/src/renderer/utils/mcp-icon-data.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/utils/mcp-icon-data.ts
rename to dash/apps/switch-console-desktop/src/renderer/utils/mcp-icon-data.ts
diff --git a/dash/apps/switchdash-desktop/src/renderer/utils/mcpIcons.tsx b/dash/apps/switch-console-desktop/src/renderer/utils/mcpIcons.tsx
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/utils/mcpIcons.tsx
rename to dash/apps/switch-console-desktop/src/renderer/utils/mcpIcons.tsx
diff --git a/dash/apps/switchdash-desktop/src/renderer/utils/sessionNames.test.ts b/dash/apps/switch-console-desktop/src/renderer/utils/sessionNames.test.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/utils/sessionNames.test.ts
rename to dash/apps/switch-console-desktop/src/renderer/utils/sessionNames.test.ts
diff --git a/dash/apps/switchdash-desktop/src/renderer/utils/sessionNames.ts b/dash/apps/switch-console-desktop/src/renderer/utils/sessionNames.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/utils/sessionNames.ts
rename to dash/apps/switch-console-desktop/src/renderer/utils/sessionNames.ts
diff --git a/dash/apps/switchdash-desktop/src/renderer/utils/soundPlayer.ts b/dash/apps/switch-console-desktop/src/renderer/utils/soundPlayer.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/utils/soundPlayer.ts
rename to dash/apps/switch-console-desktop/src/renderer/utils/soundPlayer.ts
diff --git a/dash/apps/switchdash-desktop/src/renderer/utils/utils.ts b/dash/apps/switch-console-desktop/src/renderer/utils/utils.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/renderer/utils/utils.ts
rename to dash/apps/switch-console-desktop/src/renderer/utils/utils.ts
diff --git a/dash/apps/switchdash-desktop/src/shared/app-identity.canary.ts b/dash/apps/switch-console-desktop/src/shared/app-identity.canary.ts
similarity index 69%
rename from dash/apps/switchdash-desktop/src/shared/app-identity.canary.ts
rename to dash/apps/switch-console-desktop/src/shared/app-identity.canary.ts
index 58c062af3..732114dcf 100644
--- a/dash/apps/switchdash-desktop/src/shared/app-identity.canary.ts
+++ b/dash/apps/switch-console-desktop/src/shared/app-identity.canary.ts
@@ -1,20 +1,20 @@
// Inlined rather than re-exported from ./app-identity so this module has no relative
// imports. It is loaded under Node (--experimental-strip-types) by
// electron-builder.canary.config.ts, where extensionless ESM specifiers do not resolve.
-// Display name only; the app id / storage identity stay on `switchdash` —
-// see the note in ./app-identity.ts (CHOO-2008).
+// The app id stays on `switchdash` (macOS registration and update continuity);
+// the display, binary and artifact names moved — see the note in ./app-identity.ts.
export const APP_ID = 'com.switchdash.canary';
export const PRODUCT_NAME = 'Switch Console Canary';
-export const APP_NAME_LOWER = 'switchdash-canary';
+export const APP_NAME_LOWER = 'switch-console-canary';
export const UPDATE_CHANNEL = 'v1-canary';
-export const ARTIFACT_PREFIX = 'switchdash-canary';
+export const ARTIFACT_PREFIX = 'switch-console-canary';
// Keep in sync with RELEASE_REPO_* in ./app-identity.ts (CHOO-1260 flip point).
export const RELEASE_REPO_OWNER = 'sandbox-quantum';
export const RELEASE_REPO_NAME = 'switch';
// Mirrors COMPATIBLE_SWITCH_VERSION in ./app-identity.ts. Both are checked
-// against `switchdash.pins.switch-core` in artifacts.yaml by `just artifacts`,
+// against `switch-console.pins.switch-core` in artifacts.yaml by `just artifacts`,
// so they can no longer drift apart — this used to say "keep in sync" and rely
// on whoever edited one remembering the other (CHOO-1865).
export const COMPATIBLE_SWITCH_VERSION = '0.12.3';
diff --git a/dash/apps/switchdash-desktop/src/shared/app-identity.ts b/dash/apps/switch-console-desktop/src/shared/app-identity.ts
similarity index 53%
rename from dash/apps/switchdash-desktop/src/shared/app-identity.ts
rename to dash/apps/switch-console-desktop/src/shared/app-identity.ts
index 4da79948b..33b02046e 100644
--- a/dash/apps/switchdash-desktop/src/shared/app-identity.ts
+++ b/dash/apps/switch-console-desktop/src/shared/app-identity.ts
@@ -4,24 +4,37 @@ const env = (import.meta as ImportMetaWithEnv).env;
const isDev = env?.DEV === true;
const isCanary = env?.VITE_BUILD === 'canary';
-// The product's DISPLAY name and its STORAGE identity are deliberately separate.
+// What a user reads, what the app calls itself to the OS, and where data lives
+// are three different names here, and only the first one moved.
//
-// PRODUCT_NAME is the only name a user reads. Everything below it — the app id,
-// the userData directory, the artifact prefix, the `switchdash://` scheme — is
-// storage/OS identity, and renaming any of it strands an existing install:
-// userData holds the database, and APP_ID/ARTIFACT_PREFIX carry auto-update and
-// macOS registration continuity. They stay on `switchdash` on purpose. Do not
-// "fix" the inconsistency (CHOO-2008).
+// USER_DATA_DIR_NAME holds the database, so it stays `switchdash` forever:
+// renaming it starts an existing install from an empty database. APP_ID stays
+// with it — it is what macOS registration and update continuity key off, and
+// nobody reads it.
+//
+// OS_APP_NAME is frozen for the same reason and is the least obvious of the
+// three. `safeStorage` encrypts against a key the OS files under the name the
+// app announces at startup (measured on macOS: neither bundle key is consulted,
+// only `app.setName`), and that name is bound the first time the app touches
+// the keychain, never re-read. Moving it hands a renamed build an empty key
+// while the old ciphertext stays in the shared database — every saved sign-in
+// and the local server's own credentials become unreadable, with no way back.
+//
+// PRODUCT_NAME, APP_NAME_LOWER and ARTIFACT_PREFIX did move (CHOO-2008). The
+// cost is paid once, at the release that changes them: Linux package managers
+// see `switch-console` as a new package rather than an upgrade of
+// `switchdash`, so the old one has to be removed by hand.
export const APP_ID = isCanary ? 'com.switchdash.canary' : 'com.switchdash.stable';
export const PRODUCT_NAME = isCanary ? 'Switch Console Canary' : 'Switch Console';
-export const APP_NAME_LOWER = isCanary ? 'switchdash-canary' : 'switchdash';
+export const OS_APP_NAME = isCanary ? 'Switchdash Canary' : 'Switchdash';
+export const APP_NAME_LOWER = isCanary ? 'switch-console-canary' : 'switch-console';
export const USER_DATA_DIR_NAME = isDev
? 'switchdash-dev'
: isCanary
? 'switchdash-canary'
: 'switchdash';
export const UPDATE_CHANNEL = isCanary ? 'v1-canary' : 'v1-stable';
-export const ARTIFACT_PREFIX = isCanary ? 'switchdash-canary' : 'switchdash';
+export const ARTIFACT_PREFIX = isCanary ? 'switch-console-canary' : 'switch-console';
export const IS_CANARY = isCanary;
// GitHub repo the desktop app publishes releases to / reads auto-updates from.
@@ -34,9 +47,9 @@ export const RELEASE_REPO_NAME = 'switch';
// pulls this version's images and bundles this version's standalone compose
// artifact. Bump it in lockstep with the bundled compose
// (src/main/core/managed-switch-server/resources/standalone-docker-compose.pinned.yml)
-// so a switchdash release pins a known-good switch-core stack.
+// so a Switch Console release pins a known-good switch-core stack.
//
-// Declared in artifacts.yaml under `switchdash.pins.switch-core`, and CHECKED
+// Declared in artifacts.yaml under `switch-console.pins.switch-core`, and CHECKED
// against it by `just artifacts` (CHOO-1865). A literal rather than an import
// because electron-builder loads this module under bare Node, where
// extensionless ESM specifiers do not resolve — so it cannot import anything.
diff --git a/dash/apps/switchdash-desktop/src/shared/browser.test.ts b/dash/apps/switch-console-desktop/src/shared/browser.test.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/shared/browser.test.ts
rename to dash/apps/switch-console-desktop/src/shared/browser.test.ts
diff --git a/dash/apps/switchdash-desktop/src/shared/browser.ts b/dash/apps/switch-console-desktop/src/shared/browser.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/shared/browser.ts
rename to dash/apps/switch-console-desktop/src/shared/browser.ts
diff --git a/dash/apps/switchdash-desktop/src/shared/commands.ts b/dash/apps/switch-console-desktop/src/shared/commands.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/shared/commands.ts
rename to dash/apps/switch-console-desktop/src/shared/commands.ts
diff --git a/dash/apps/switchdash-desktop/src/shared/core/agents/agent-connection.ts b/dash/apps/switch-console-desktop/src/shared/core/agents/agent-connection.ts
similarity index 77%
rename from dash/apps/switchdash-desktop/src/shared/core/agents/agent-connection.ts
rename to dash/apps/switch-console-desktop/src/shared/core/agents/agent-connection.ts
index 07eff7f25..74d24fb24 100644
--- a/dash/apps/switchdash-desktop/src/shared/core/agents/agent-connection.ts
+++ b/dash/apps/switch-console-desktop/src/shared/core/agents/agent-connection.ts
@@ -3,9 +3,9 @@ import { defineVersionedSchema } from '@shared/lib/versioned-schema/versioned-sc
/**
* Where an agent's sessions run. `local` (the default) runs every session in
- * the location directory on this machine, exactly as switchdash always has.
+ * the location directory on this machine, exactly as Switch Console always has.
* `remote` runs them on an SSH-reachable host, so the agent keeps working and
- * listening to its Switch rooms while switchdash is closed (CHOO-1059).
+ * listening to its Switch rooms while Switch Console is closed (CHOO-1059).
*/
export type AgentConnectionKind = 'local' | 'remote';
@@ -13,7 +13,7 @@ const agentRemoteConfigV0Schema = z.object({
/**
* The `~/.ssh/config` Host alias to connect through. Auth (user, port,
* identity file, jump host) is resolved from the user's SSH config, matching
- * switchdash's remote stack — switchdash does not store credentials itself.
+ * Switch Console's remote stack — Switch Console does not store credentials itself.
*/
sshHost: z.string().min(1),
/** Absolute path to the agent's repo / working directory on the remote host. */
diff --git a/dash/apps/switchdash-desktop/src/shared/core/agents/agent-provider-config.test.ts b/dash/apps/switch-console-desktop/src/shared/core/agents/agent-provider-config.test.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/shared/core/agents/agent-provider-config.test.ts
rename to dash/apps/switch-console-desktop/src/shared/core/agents/agent-provider-config.test.ts
diff --git a/dash/apps/switchdash-desktop/src/shared/core/agents/agent-provider-config.ts b/dash/apps/switch-console-desktop/src/shared/core/agents/agent-provider-config.ts
similarity index 96%
rename from dash/apps/switchdash-desktop/src/shared/core/agents/agent-provider-config.ts
rename to dash/apps/switch-console-desktop/src/shared/core/agents/agent-provider-config.ts
index 8c4366190..40757070b 100644
--- a/dash/apps/switchdash-desktop/src/shared/core/agents/agent-provider-config.ts
+++ b/dash/apps/switch-console-desktop/src/shared/core/agents/agent-provider-config.ts
@@ -1,4 +1,4 @@
-import type { SwitchLaunchSpecialization } from '@switchdash/core/agents/plugins';
+import type { SwitchLaunchSpecialization } from '@switch-console/core/agents/plugins';
import z from 'zod';
import { defineVersionedSchema } from '@shared/lib/versioned-schema/versioned-schema';
diff --git a/dash/apps/switchdash-desktop/src/shared/core/agents/agents.ts b/dash/apps/switch-console-desktop/src/shared/core/agents/agents.ts
similarity index 96%
rename from dash/apps/switchdash-desktop/src/shared/core/agents/agents.ts
rename to dash/apps/switch-console-desktop/src/shared/core/agents/agents.ts
index d0af134d2..649a68c2e 100644
--- a/dash/apps/switchdash-desktop/src/shared/core/agents/agents.ts
+++ b/dash/apps/switch-console-desktop/src/shared/core/agents/agents.ts
@@ -22,7 +22,7 @@ export type Agent = {
apiEndpoint: string | null;
serverId: string | null;
status: string | null;
- /** When true, switchdash launches this agent's CLI with its auto-approve /
+ /** When true, Switch Console launches this agent's CLI with its auto-approve /
* "bypass permissions" flag. Defaults false for local agents and true for
* remote agents (seeded at onboarding); editable per agent. */
autoApprove: boolean;
diff --git a/dash/apps/switchdash-desktop/src/shared/core/agents/onboarding.ts b/dash/apps/switch-console-desktop/src/shared/core/agents/onboarding.ts
similarity index 97%
rename from dash/apps/switchdash-desktop/src/shared/core/agents/onboarding.ts
rename to dash/apps/switch-console-desktop/src/shared/core/agents/onboarding.ts
index 948073cfc..0f71d04fa 100644
--- a/dash/apps/switchdash-desktop/src/shared/core/agents/onboarding.ts
+++ b/dash/apps/switch-console-desktop/src/shared/core/agents/onboarding.ts
@@ -1,4 +1,4 @@
-import type { Result } from '@switchdash/shared';
+import type { Result } from '@switch-console/shared';
import type { Agent } from '@shared/core/agents/agents';
import type { AgentProviderId } from '@shared/core/providers/agent-provider-registry';
diff --git a/dash/apps/switchdash-desktop/src/shared/core/app-settings.ts b/dash/apps/switch-console-desktop/src/shared/core/app-settings.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/shared/core/app-settings.ts
rename to dash/apps/switch-console-desktop/src/shared/core/app-settings.ts
diff --git a/dash/apps/switchdash-desktop/src/shared/core/fs/fs.ts b/dash/apps/switch-console-desktop/src/shared/core/fs/fs.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/shared/core/fs/fs.ts
rename to dash/apps/switch-console-desktop/src/shared/core/fs/fs.ts
diff --git a/dash/apps/switchdash-desktop/src/shared/core/fs/fsEvents.ts b/dash/apps/switch-console-desktop/src/shared/core/fs/fsEvents.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/shared/core/fs/fsEvents.ts
rename to dash/apps/switch-console-desktop/src/shared/core/fs/fsEvents.ts
diff --git a/dash/apps/switchdash-desktop/src/shared/core/location-settings/location-settings-fields.test.ts b/dash/apps/switch-console-desktop/src/shared/core/location-settings/location-settings-fields.test.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/shared/core/location-settings/location-settings-fields.test.ts
rename to dash/apps/switch-console-desktop/src/shared/core/location-settings/location-settings-fields.test.ts
diff --git a/dash/apps/switchdash-desktop/src/shared/core/location-settings/location-settings-fields.ts b/dash/apps/switch-console-desktop/src/shared/core/location-settings/location-settings-fields.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/shared/core/location-settings/location-settings-fields.ts
rename to dash/apps/switch-console-desktop/src/shared/core/location-settings/location-settings-fields.ts
diff --git a/dash/apps/switchdash-desktop/src/shared/core/location-settings/location-settings.ts b/dash/apps/switch-console-desktop/src/shared/core/location-settings/location-settings.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/shared/core/location-settings/location-settings.ts
rename to dash/apps/switch-console-desktop/src/shared/core/location-settings/location-settings.ts
diff --git a/dash/apps/switchdash-desktop/src/shared/core/locations/locationEvents.ts b/dash/apps/switch-console-desktop/src/shared/core/locations/locationEvents.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/shared/core/locations/locationEvents.ts
rename to dash/apps/switch-console-desktop/src/shared/core/locations/locationEvents.ts
diff --git a/dash/apps/switchdash-desktop/src/shared/core/locations/locations.ts b/dash/apps/switch-console-desktop/src/shared/core/locations/locations.ts
similarity index 91%
rename from dash/apps/switchdash-desktop/src/shared/core/locations/locations.ts
rename to dash/apps/switch-console-desktop/src/shared/core/locations/locations.ts
index 64487b265..66baba6c0 100644
--- a/dash/apps/switchdash-desktop/src/shared/core/locations/locations.ts
+++ b/dash/apps/switch-console-desktop/src/shared/core/locations/locations.ts
@@ -4,7 +4,7 @@ import type { SwitchAgentConfig } from '@shared/switch-agents';
* A Location: where agents' sessions run — a working directory on a host.
* Local locations live on this machine (`sshHost` null); remote ones on an
* SSH host identified by its `~/.ssh/config` alias, with auth resolved from
- * the user's SSH config/agent (switchdash stores no credentials). Multiple
+ * the user's SSH config/agent (Switch Console stores no credentials). Multiple
* agents may share one location.
*/
export type Location = {
@@ -36,7 +36,7 @@ export type LocationPathInspection = LocationPathStatus & {
existingLocation?: Location;
/**
* The Switch agent configured in this directory, if any (read from the dir's
- * `.claude/settings.local.json`). switchdash only allows onboarding
+ * `.claude/settings.local.json`). Switch Console only allows onboarding
* directories that resolve a Switch agent.
*/
switchAgent?: SwitchAgentConfig | null;
diff --git a/dash/apps/switchdash-desktop/src/shared/core/managed-switch-server/managed-switch-server.ts b/dash/apps/switch-console-desktop/src/shared/core/managed-switch-server/managed-switch-server.ts
similarity index 94%
rename from dash/apps/switchdash-desktop/src/shared/core/managed-switch-server/managed-switch-server.ts
rename to dash/apps/switch-console-desktop/src/shared/core/managed-switch-server/managed-switch-server.ts
index 99e732da0..ab9eb7b6e 100644
--- a/dash/apps/switchdash-desktop/src/shared/core/managed-switch-server/managed-switch-server.ts
+++ b/dash/apps/switch-console-desktop/src/shared/core/managed-switch-server/managed-switch-server.ts
@@ -1,5 +1,5 @@
/**
- * Shared types for local-server mode: switchdash runs a full Switch stack on the
+ * Shared types for local-server mode: Switch Console runs a full Switch stack on the
* user's machine via `docker compose`, using the standalone compose artifact
* bundled into the app (pinned to COMPATIBLE_SWITCH_VERSION). The main process
* owns the container lifecycle; the renderer drives it through these types and
@@ -17,7 +17,7 @@ export type DockerAvailability =
/**
* How the switch-core version a stack is actually deployed at relates to the
- * version this build of switchdash pins.
+ * version this build of Switch Console pins.
*
* - `upgrade` — the stack is behind; restarting re-pulls and migrates forward.
* - `downgrade` — the stack is AHEAD. Unsafe: its database has already migrated
@@ -43,7 +43,7 @@ export type SwitchVersionDrift =
| {
/** The version the stack is actually deployed at. */
deployed: string;
- /** The version this build of switchdash pins. */
+ /** The version this build of Switch Console pins. */
expected: string;
direction: 'upgrade' | 'downgrade' | 'unknown';
}
@@ -62,7 +62,7 @@ export type SwitchVersionDrift =
* banner) so both say the same thing.
*
* Kept to two sentences, but both ways out stay in: a user who is not told
- * that updating switchdash fixes this will reach for Reset and lose their data.
+ * that updating Switch Console fixes this will reach for Reset and lose their data.
*/
export function switchVersionDowngradeMessage(deployed: string, expected: string): string {
return (
@@ -91,7 +91,7 @@ export type LocalServerStatus = {
};
/**
- * Raised when a call is made to a switchdash-managed server whose stack is not
+ * Raised when a call is made to a Switch Console-managed server whose stack is not
* running. The gateway only exists while the stack is up, so reaching for it
* from a stopped one can only produce a transport error naming a local port
* that was never the problem — this reports the lifecycle state instead.
diff --git a/dash/apps/switchdash-desktop/src/shared/core/mcp/catalog.ts b/dash/apps/switch-console-desktop/src/shared/core/mcp/catalog.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/shared/core/mcp/catalog.ts
rename to dash/apps/switch-console-desktop/src/shared/core/mcp/catalog.ts
diff --git a/dash/apps/switchdash-desktop/src/shared/core/mcp/types.ts b/dash/apps/switch-console-desktop/src/shared/core/mcp/types.ts
similarity index 91%
rename from dash/apps/switchdash-desktop/src/shared/core/mcp/types.ts
rename to dash/apps/switch-console-desktop/src/shared/core/mcp/types.ts
index 8453f7585..5f4a76dfe 100644
--- a/dash/apps/switchdash-desktop/src/shared/core/mcp/types.ts
+++ b/dash/apps/switch-console-desktop/src/shared/core/mcp/types.ts
@@ -1,4 +1,4 @@
-/** Canonical MCP server — the normalized shape Switchdash uses internally */
+/** Canonical MCP server — the normalized shape Switch Console uses internally */
export interface McpServer {
name: string;
transport: 'stdio' | 'http';
diff --git a/dash/apps/switchdash-desktop/src/shared/core/npm-registry.ts b/dash/apps/switch-console-desktop/src/shared/core/npm-registry.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/shared/core/npm-registry.ts
rename to dash/apps/switch-console-desktop/src/shared/core/npm-registry.ts
diff --git a/dash/apps/switchdash-desktop/src/shared/core/providers/agent-payload.ts b/dash/apps/switch-console-desktop/src/shared/core/providers/agent-payload.ts
similarity index 92%
rename from dash/apps/switchdash-desktop/src/shared/core/providers/agent-payload.ts
rename to dash/apps/switch-console-desktop/src/shared/core/providers/agent-payload.ts
index 66da0ca4d..37566d767 100644
--- a/dash/apps/switchdash-desktop/src/shared/core/providers/agent-payload.ts
+++ b/dash/apps/switch-console-desktop/src/shared/core/providers/agent-payload.ts
@@ -1,7 +1,7 @@
import type { ProviderCustomConfig } from '@shared/core/app-settings';
// ---------------------------------------------------------------------------
-// Install methods — mirrors INSTALL_METHODS in @switchdash/core/deps/capability.ts
+// Install methods — mirrors INSTALL_METHODS in @switch-console/core/deps/capability.ts
// ---------------------------------------------------------------------------
export type InstallMethod =
@@ -28,13 +28,13 @@ export type InstallOption = {
};
// ---------------------------------------------------------------------------
-// Installation state — mirrors @switchdash/core/deps/runtime types.ts
+// Installation state — mirrors @switch-console/core/deps/runtime types.ts
// ---------------------------------------------------------------------------
export type DependencyStatus = 'available' | 'missing' | 'error';
/**
- * Installation provenance — mirrors Provenance in @switchdash/core/deps/runtime types.ts.
+ * Installation provenance — mirrors Provenance in @switch-console/core/deps/runtime types.ts.
*/
export type Provenance = {
kind: InstallMethod | 'manual' | 'version-manager' | 'unknown';
@@ -80,7 +80,7 @@ export type Installation = {
pathEntry: string | null;
/** True when this is the current PATH winner (first `which` result). */
isActive: boolean;
- /** Whether switchdash can manage (update/uninstall) this installation. */
+ /** Whether Switch Console can manage (update/uninstall) this installation. */
manageable: boolean;
/** How this binary was installed and how confidently we know it. */
provenance: Provenance;
@@ -92,7 +92,7 @@ export type Installation = {
/**
* Resolves the active Installation from a list given a SelectedSource.
- * Mirrors resolveActiveInstallation from @switchdash/core/deps/runtime.
+ * Mirrors resolveActiveInstallation from @switch-console/core/deps/runtime.
*/
export function resolveActiveInstallation(
installations: Installation[],
@@ -112,7 +112,7 @@ export function resolveActiveInstallation(
export type HostDependencySelection = InstallOverride | null;
// ---------------------------------------------------------------------------
-// Error DTOs — mirrors Dependency*Error types in @switchdash/core/deps/runtime
+// Error DTOs — mirrors Dependency*Error types in @switch-console/core/deps/runtime
// ---------------------------------------------------------------------------
type InstallCommandError =
@@ -173,7 +173,7 @@ export type AgentCapabilities = {
};
// ---------------------------------------------------------------------------
-// Icon asset DTO — mirrors AgentIconAsset from @switchdash/core/agents/plugins
+// Icon asset DTO — mirrors AgentIconAsset from @switch-console/core/agents/plugins
// ---------------------------------------------------------------------------
export type AgentIconVariant = {
diff --git a/dash/apps/switchdash-desktop/src/shared/core/providers/agent-provider-registry.ts b/dash/apps/switch-console-desktop/src/shared/core/providers/agent-provider-registry.ts
similarity index 99%
rename from dash/apps/switchdash-desktop/src/shared/core/providers/agent-provider-registry.ts
rename to dash/apps/switch-console-desktop/src/shared/core/providers/agent-provider-registry.ts
index 31bb74a79..701940328 100644
--- a/dash/apps/switchdash-desktop/src/shared/core/providers/agent-provider-registry.ts
+++ b/dash/apps/switch-console-desktop/src/shared/core/providers/agent-provider-registry.ts
@@ -73,7 +73,7 @@ export type AgentProviderDefinition = {
* CLI flag to assign a unique session ID per chat instance.
* Used to isolate session state when multiple chats of the same provider
* run in the same worktree. The flag receives a deterministic UUID
- * derived from the Switchdash session ID.
+ * derived from the Switch Console session ID.
* e.g. '--session-id' for Claude Code.
*/
sessionIdFlag?: string;
@@ -113,7 +113,7 @@ export const AGENT_PROVIDERS: AgentProviderDefinition[] = [
versionArgs: ['--version'],
cli: 'codex',
// Hook trust is a default arg, not an auto-approve one: Codex skips any hook
- // it has no persisted trust entry for, and switchdash's status signals and
+ // it has no persisted trust entry for, and Switch Console's status signals and
// rollout-id capture are hooks. Kept in sync with the plugin by the parity
// test in src/main/core/providers/provider-argv-parity.test.ts.
defaultArgs: ['--dangerously-bypass-hook-trust'],
@@ -648,7 +648,7 @@ export const AGENT_PROVIDERS: AgentProviderDefinition[] = [
autoApproveFlag: '--yolo',
initialPromptFlag: '',
// Bare `letta` auto-resumes the cwd's last session; `--new` is
- // required to start a fresh one when switchdash spins up a new chat.
+ // required to start a fresh one when Switch Console spins up a new chat.
newSessionFlag: '--new',
useKeystrokeInjection: true,
icon: 'letta.svg',
diff --git a/dash/apps/switchdash-desktop/src/shared/core/providers/agent-session.ts b/dash/apps/switch-console-desktop/src/shared/core/providers/agent-session.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/shared/core/providers/agent-session.ts
rename to dash/apps/switch-console-desktop/src/shared/core/providers/agent-session.ts
diff --git a/dash/apps/switchdash-desktop/src/shared/core/providers/agentEvents.ts b/dash/apps/switch-console-desktop/src/shared/core/providers/agentEvents.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/shared/core/providers/agentEvents.ts
rename to dash/apps/switch-console-desktop/src/shared/core/providers/agentEvents.ts
diff --git a/dash/apps/switchdash-desktop/src/shared/core/pty/hookEnv.ts b/dash/apps/switch-console-desktop/src/shared/core/pty/hookEnv.ts
similarity index 89%
rename from dash/apps/switchdash-desktop/src/shared/core/pty/hookEnv.ts
rename to dash/apps/switch-console-desktop/src/shared/core/pty/hookEnv.ts
index 3810d091b..e8b8db0d2 100644
--- a/dash/apps/switchdash-desktop/src/shared/core/pty/hookEnv.ts
+++ b/dash/apps/switch-console-desktop/src/shared/core/pty/hookEnv.ts
@@ -13,10 +13,10 @@ export interface AgentHookEnv {
}
/**
- * Environment that points an agent CLI's lifecycle hooks at a switchdash hook
+ * Environment that points an agent CLI's lifecycle hooks at a Switch Console hook
* server (the local one for local sessions, the on-VM sidecar for remote ones)
* and stands the in-session Switch connector's own poll loop down so it does
- * not race switchdash's poller on the bridge's destructive event queue.
+ * not race Switch Console's poller on the bridge's destructive event queue.
*
* Lives here rather than beside the PTY env allowlist so the remote sidecar —
* which must bundle free of Electron and the database — shares this wiring
diff --git a/dash/apps/switchdash-desktop/src/shared/core/pty/ptyEvents.ts b/dash/apps/switch-console-desktop/src/shared/core/pty/ptyEvents.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/shared/core/pty/ptyEvents.ts
rename to dash/apps/switch-console-desktop/src/shared/core/pty/ptyEvents.ts
diff --git a/dash/apps/switchdash-desktop/src/shared/core/pty/ptyId.ts b/dash/apps/switch-console-desktop/src/shared/core/pty/ptyId.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/shared/core/pty/ptyId.ts
rename to dash/apps/switch-console-desktop/src/shared/core/pty/ptyId.ts
diff --git a/dash/apps/switchdash-desktop/src/shared/core/pty/ptySessionId.ts b/dash/apps/switch-console-desktop/src/shared/core/pty/ptySessionId.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/shared/core/pty/ptySessionId.ts
rename to dash/apps/switch-console-desktop/src/shared/core/pty/ptySessionId.ts
diff --git a/dash/apps/switchdash-desktop/src/shared/core/remote-hosts/host-status.test.ts b/dash/apps/switch-console-desktop/src/shared/core/remote-hosts/host-status.test.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/shared/core/remote-hosts/host-status.test.ts
rename to dash/apps/switch-console-desktop/src/shared/core/remote-hosts/host-status.test.ts
diff --git a/dash/apps/switchdash-desktop/src/shared/core/remote-hosts/host-status.ts b/dash/apps/switch-console-desktop/src/shared/core/remote-hosts/host-status.ts
similarity index 98%
rename from dash/apps/switchdash-desktop/src/shared/core/remote-hosts/host-status.ts
rename to dash/apps/switch-console-desktop/src/shared/core/remote-hosts/host-status.ts
index 6fe77618a..8f1c90ac9 100644
--- a/dash/apps/switchdash-desktop/src/shared/core/remote-hosts/host-status.ts
+++ b/dash/apps/switch-console-desktop/src/shared/core/remote-hosts/host-status.ts
@@ -109,7 +109,7 @@ export function deriveHostStatus(
* its own CLI as the problem. Only once the host itself is ready does the
* question become type-specific.
*
- * A type with no steps in the plan — one whose connector switchdash does not
+ * A type with no steps in the plan — one whose connector Switch Console does not
* manage — is not held against the host: there is nothing type-specific to
* satisfy, so the host's verdict stands.
*/
diff --git a/dash/apps/switchdash-desktop/src/shared/core/remote-hosts/reachability.ts b/dash/apps/switch-console-desktop/src/shared/core/remote-hosts/reachability.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/shared/core/remote-hosts/reachability.ts
rename to dash/apps/switch-console-desktop/src/shared/core/remote-hosts/reachability.ts
diff --git a/dash/apps/switchdash-desktop/src/shared/core/remote-hosts/setup.ts b/dash/apps/switch-console-desktop/src/shared/core/remote-hosts/setup.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/shared/core/remote-hosts/setup.ts
rename to dash/apps/switch-console-desktop/src/shared/core/remote-hosts/setup.ts
diff --git a/dash/apps/switchdash-desktop/src/shared/core/search.ts b/dash/apps/switch-console-desktop/src/shared/core/search.ts
similarity index 95%
rename from dash/apps/switchdash-desktop/src/shared/core/search.ts
rename to dash/apps/switch-console-desktop/src/shared/core/search.ts
index 18ca11c71..572ca86f3 100644
--- a/dash/apps/switchdash-desktop/src/shared/core/search.ts
+++ b/dash/apps/switch-console-desktop/src/shared/core/search.ts
@@ -49,8 +49,8 @@ export interface SearchResult {
* Where a term matched, best first. `null` means the text does not contain the
* term at all.
*
- * A term matches if it appears **anywhere** in the text, so "dash" finds
- * `switchdash`. That is the recall a substring search is for, and the grade
+ * A term matches if it appears **anywhere** in the text, so "console" finds
+ * `Switch Console`. That is the recall a substring search is for, and the grade
* exists to order results rather than to exclude them: an item whose name
* begins with what you typed should outrank one that merely contains it
* somewhere in the middle, but both are real answers.
diff --git a/dash/apps/switchdash-desktop/src/shared/core/sessions/session-config.test.ts b/dash/apps/switch-console-desktop/src/shared/core/sessions/session-config.test.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/shared/core/sessions/session-config.test.ts
rename to dash/apps/switch-console-desktop/src/shared/core/sessions/session-config.test.ts
diff --git a/dash/apps/switchdash-desktop/src/shared/core/sessions/session-config.ts b/dash/apps/switch-console-desktop/src/shared/core/sessions/session-config.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/shared/core/sessions/session-config.ts
rename to dash/apps/switch-console-desktop/src/shared/core/sessions/session-config.ts
diff --git a/dash/apps/switchdash-desktop/src/shared/core/sessions/sessionEvents.ts b/dash/apps/switch-console-desktop/src/shared/core/sessions/sessionEvents.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/shared/core/sessions/sessionEvents.ts
rename to dash/apps/switch-console-desktop/src/shared/core/sessions/sessionEvents.ts
diff --git a/dash/apps/switchdash-desktop/src/shared/core/sessions/sessions.ts b/dash/apps/switch-console-desktop/src/shared/core/sessions/sessions.ts
similarity index 97%
rename from dash/apps/switchdash-desktop/src/shared/core/sessions/sessions.ts
rename to dash/apps/switch-console-desktop/src/shared/core/sessions/sessions.ts
index 4b0ec6bf5..3722559ee 100644
--- a/dash/apps/switchdash-desktop/src/shared/core/sessions/sessions.ts
+++ b/dash/apps/switch-console-desktop/src/shared/core/sessions/sessions.ts
@@ -19,7 +19,7 @@ export const sessionLifecycleStatuses = z.enum([
export type SessionLifecycleStatus = z.infer<typeof sessionLifecycleStatuses>;
/**
- * A session: one instantiation/run of an agent (was switchdash's "conversation").
+ * A session: one instantiation/run of an agent (was Switch Console's "conversation").
* It belongs to an agent (which carries the location + provider), and is 1:1
* with the terminal it runs in (`shellId`). `providerId` is denormalised from
* the owning agent for rendering.
diff --git a/dash/apps/switchdash-desktop/src/shared/core/skills/types.ts b/dash/apps/switch-console-desktop/src/shared/core/skills/types.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/shared/core/skills/types.ts
rename to dash/apps/switch-console-desktop/src/shared/core/skills/types.ts
diff --git a/dash/apps/switchdash-desktop/src/shared/core/skills/validation.test.ts b/dash/apps/switch-console-desktop/src/shared/core/skills/validation.test.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/shared/core/skills/validation.test.ts
rename to dash/apps/switch-console-desktop/src/shared/core/skills/validation.test.ts
diff --git a/dash/apps/switchdash-desktop/src/shared/core/skills/validation.ts b/dash/apps/switch-console-desktop/src/shared/core/skills/validation.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/shared/core/skills/validation.ts
rename to dash/apps/switch-console-desktop/src/shared/core/skills/validation.ts
diff --git a/dash/apps/switchdash-desktop/src/shared/core/ssh/ssh.ts b/dash/apps/switch-console-desktop/src/shared/core/ssh/ssh.ts
similarity index 83%
rename from dash/apps/switchdash-desktop/src/shared/core/ssh/ssh.ts
rename to dash/apps/switch-console-desktop/src/shared/core/ssh/ssh.ts
index 69471959d..215271037 100644
--- a/dash/apps/switchdash-desktop/src/shared/core/ssh/ssh.ts
+++ b/dash/apps/switch-console-desktop/src/shared/core/ssh/ssh.ts
@@ -1,12 +1,12 @@
/**
- * SSH connection types for switchdash remote agents (CHOO-1059). Ported from
- * switchdash and trimmed: switchdash resolves a connection from the agent's
+ * SSH connection types for Switch Console remote agents (CHOO-1059). Ported from
+ * Switch Console and trimmed: Switch Console resolves a connection from the agent's
* `~/.ssh/config` Host alias rather than storing connections in a table, and
- * uses typed RPC instead of switchdash's ssh: IPC channels.
+ * uses typed RPC instead of Switch Console's ssh: IPC channels.
*/
/**
- * The resolved inputs for opening an SSH connection. In switchdash this is
+ * The resolved inputs for opening an SSH connection. In Switch Console this is
* derived from a remote agent's `sshHost` alias (resolved via `ssh -G`), not
* persisted as a row. `name` is a human label for error messages.
*/
diff --git a/dash/apps/switchdash-desktop/src/shared/core/ssh/sshEvents.ts b/dash/apps/switch-console-desktop/src/shared/core/ssh/sshEvents.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/shared/core/ssh/sshEvents.ts
rename to dash/apps/switch-console-desktop/src/shared/core/ssh/sshEvents.ts
diff --git a/dash/apps/switchdash-desktop/src/shared/core/switch-rooms/channel-links.test.ts b/dash/apps/switch-console-desktop/src/shared/core/switch-rooms/channel-links.test.ts
similarity index 94%
rename from dash/apps/switchdash-desktop/src/shared/core/switch-rooms/channel-links.test.ts
rename to dash/apps/switch-console-desktop/src/shared/core/switch-rooms/channel-links.test.ts
index 82115fa3f..225c0f088 100644
--- a/dash/apps/switchdash-desktop/src/shared/core/switch-rooms/channel-links.test.ts
+++ b/dash/apps/switch-console-desktop/src/shared/core/switch-rooms/channel-links.test.ts
@@ -2,8 +2,8 @@ import { describe, expect, it } from 'vitest';
import { browserUrlForChannelLink } from './channel-links';
describe('browserUrlForChannelLink', () => {
- it('rebases a Mattermost deeplink onto the origin switchdash reaches it on', () => {
- // A managed stack publishes Mattermost on a port switchdash chose, so the
+ it('rebases a Mattermost deeplink onto the origin Switch Console reaches it on', () => {
+ // A managed stack publishes Mattermost on a port Switch Console chose, so the
// host the gateway baked into the deeplink is not the one that works here.
expect(
browserUrlForChannelLink(
diff --git a/dash/apps/switchdash-desktop/src/shared/core/switch-rooms/channel-links.ts b/dash/apps/switch-console-desktop/src/shared/core/switch-rooms/channel-links.ts
similarity index 97%
rename from dash/apps/switchdash-desktop/src/shared/core/switch-rooms/channel-links.ts
rename to dash/apps/switch-console-desktop/src/shared/core/switch-rooms/channel-links.ts
index 069644975..886f7ea2b 100644
--- a/dash/apps/switchdash-desktop/src/shared/core/switch-rooms/channel-links.ts
+++ b/dash/apps/switch-console-desktop/src/shared/core/switch-rooms/channel-links.ts
@@ -26,7 +26,7 @@ const LOOPBACK_HOSTS = new Set(['localhost', '127.0.0.1', '[::1]', '0.0.0.0']);
* The web address for a bridge channel or workspace link, or null when the link
* is not one we know how to translate.
*
- * `mattermostOrigin` is where switchdash can actually reach this server's
+ * `mattermostOrigin` is where Switch Console can actually reach this server's
* Mattermost, which it only knows for stacks it runs itself. Pass null
* otherwise and the host named by the deeplink is used.
*/
diff --git a/dash/apps/switchdash-desktop/src/shared/core/switch-rooms/mattermost-theme.test.ts b/dash/apps/switch-console-desktop/src/shared/core/switch-rooms/mattermost-theme.test.ts
similarity index 97%
rename from dash/apps/switchdash-desktop/src/shared/core/switch-rooms/mattermost-theme.test.ts
rename to dash/apps/switch-console-desktop/src/shared/core/switch-rooms/mattermost-theme.test.ts
index b98647171..b0cfadec5 100644
--- a/dash/apps/switchdash-desktop/src/shared/core/switch-rooms/mattermost-theme.test.ts
+++ b/dash/apps/switch-console-desktop/src/shared/core/switch-rooms/mattermost-theme.test.ts
@@ -8,7 +8,7 @@ describe('displayP3ToHex', () => {
});
it('leaves greys untouched, since the conversion rows sum to 1', () => {
- // switchdash's neutral scale is achromatic, so this is the property that
+ // Switch Console's neutral scale is achromatic, so this is the property that
// lets the palette survive the gamut change unchanged.
expect(displayP3ToHex(0.067, 0.067, 0.067)).toBe('#111111');
expect(displayP3ToHex(0.988, 0.988, 0.988)).toBe('#fcfcfc');
diff --git a/dash/apps/switchdash-desktop/src/shared/core/switch-rooms/mattermost-theme.ts b/dash/apps/switch-console-desktop/src/shared/core/switch-rooms/mattermost-theme.ts
similarity index 94%
rename from dash/apps/switchdash-desktop/src/shared/core/switch-rooms/mattermost-theme.ts
rename to dash/apps/switch-console-desktop/src/shared/core/switch-rooms/mattermost-theme.ts
index 4cb3d8020..297359283 100644
--- a/dash/apps/switchdash-desktop/src/shared/core/switch-rooms/mattermost-theme.ts
+++ b/dash/apps/switch-console-desktop/src/shared/core/switch-rooms/mattermost-theme.ts
@@ -1,5 +1,5 @@
/**
- * Build a Mattermost theme from switchdash's own design tokens, so the embedded
+ * Build a Mattermost theme from Switch Console's own design tokens, so the embedded
* room view matches the app instead of sitting in it as a bright rectangle.
*
* Mattermost accepts a fully custom theme as a per-user preference, which is
@@ -25,7 +25,7 @@ function gammaEncode(c: number): number {
* both use the same white point).
*
* Each row sums to 1, so achromatic colours are unchanged — which is why
- * switchdash's greys convert to the same hex either way, and only the accent
+ * Switch Console's greys convert to the same hex either way, and only the accent
* colours actually move.
*/
const P3_TO_SRGB = [
@@ -95,7 +95,7 @@ export function cssColorToHex(value: string): string | null {
}
/**
- * switchdash tokens the theme is built from, already resolved to hex. Kept as
+ * Switch Console tokens the theme is built from, already resolved to hex. Kept as
* an explicit shape so the renderer's collection and this mapping cannot drift
* apart silently.
*/
@@ -116,7 +116,7 @@ export type ThemeTokens = {
};
/**
- * Map switchdash tokens onto Mattermost's theme keys.
+ * Map Switch Console tokens onto Mattermost's theme keys.
*
* Sidebar keys are still set even though the sidebars are hidden: Mattermost
* reuses those colours in menus and popovers that remain visible.
diff --git a/dash/apps/switchdash-desktop/src/shared/core/switch-rooms/room-embed.test.ts b/dash/apps/switch-console-desktop/src/shared/core/switch-rooms/room-embed.test.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/shared/core/switch-rooms/room-embed.test.ts
rename to dash/apps/switch-console-desktop/src/shared/core/switch-rooms/room-embed.test.ts
diff --git a/dash/apps/switchdash-desktop/src/shared/core/switch-rooms/room-embed.ts b/dash/apps/switch-console-desktop/src/shared/core/switch-rooms/room-embed.ts
similarity index 97%
rename from dash/apps/switchdash-desktop/src/shared/core/switch-rooms/room-embed.ts
rename to dash/apps/switch-console-desktop/src/shared/core/switch-rooms/room-embed.ts
index d4cbe326e..1277a0c75 100644
--- a/dash/apps/switchdash-desktop/src/shared/core/switch-rooms/room-embed.ts
+++ b/dash/apps/switch-console-desktop/src/shared/core/switch-rooms/room-embed.ts
@@ -1,5 +1,5 @@
/**
- * How a room's conversation can be shown inside switchdash.
+ * How a room's conversation can be shown inside Switch Console.
*
* This is the seam CHOO-1674's Phase 0 was run to settle. Mattermost's
* `/_popout/` route looked like the supported way to embed a single channel,
diff --git a/dash/apps/switchdash-desktop/src/shared/core/switch-rooms/switch-agent-runtime.test.ts b/dash/apps/switch-console-desktop/src/shared/core/switch-rooms/switch-agent-runtime.test.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/shared/core/switch-rooms/switch-agent-runtime.test.ts
rename to dash/apps/switch-console-desktop/src/shared/core/switch-rooms/switch-agent-runtime.test.ts
diff --git a/dash/apps/switchdash-desktop/src/shared/core/switch-rooms/switch-agent-runtime.ts b/dash/apps/switch-console-desktop/src/shared/core/switch-rooms/switch-agent-runtime.ts
similarity index 97%
rename from dash/apps/switchdash-desktop/src/shared/core/switch-rooms/switch-agent-runtime.ts
rename to dash/apps/switch-console-desktop/src/shared/core/switch-rooms/switch-agent-runtime.ts
index 1cda5174c..705ff70f9 100644
--- a/dash/apps/switchdash-desktop/src/shared/core/switch-rooms/switch-agent-runtime.ts
+++ b/dash/apps/switch-console-desktop/src/shared/core/switch-rooms/switch-agent-runtime.ts
@@ -3,7 +3,7 @@
* over local stdio (transport to switch-core is HTTP+SSE, held inside the
* runtime). Both connector plugins register it from a bundled `.mcp.json`: the
* Claude Code one expands `${VAR}`, the Codex one forwards the same names via
- * `env_vars`. switchdash routes the values into the session's environment.
+ * `env_vars`. Switch Console routes the values into the session's environment.
*
* Lives in `shared` so both halves of the remote path can reach it: the main
* process bakes the launch recipe, and the on-VM sidecar (bundled free of
@@ -70,7 +70,7 @@ export const SWITCH_RUNTIME_ENV_VARS: readonly string[] = [
/**
* The stdio command that runs the pinned runtime is no longer built here: both
- * connector plugins declare it in their own bundled `.mcp.json`. What switchdash
+ * connector plugins declare it in their own bundled `.mcp.json`. What Switch Console
* still owns is putting the values behind {@link SWITCH_RUNTIME_ENV_VARS} into
* the session's environment — a host does not hand an MCP server a copy of its
* own environment, so Codex forwards only the names its config lists and Claude
diff --git a/dash/apps/switchdash-desktop/src/shared/core/switch-rooms/switch-rooms.ts b/dash/apps/switch-console-desktop/src/shared/core/switch-rooms/switch-rooms.ts
similarity index 81%
rename from dash/apps/switchdash-desktop/src/shared/core/switch-rooms/switch-rooms.ts
rename to dash/apps/switch-console-desktop/src/shared/core/switch-rooms/switch-rooms.ts
index cac6d8404..72417f86c 100644
--- a/dash/apps/switchdash-desktop/src/shared/core/switch-rooms/switch-rooms.ts
+++ b/dash/apps/switch-console-desktop/src/shared/core/switch-rooms/switch-rooms.ts
@@ -1,11 +1,11 @@
/**
- * A live association between a switchdash session and the Switch room its agent
+ * A live association between a Switch Console session and the Switch room its agent
* is currently connected to. Runtime state: a session appears here only while
* it has an active connection (reported by the Claude `connect_to_room` hook),
* and is removed when it switches away or the session exits.
*/
export interface SessionRoomConnection {
- /** The switchdash session id the connection belongs to. */
+ /** The Switch Console session id the connection belongs to. */
sessionId: string;
/** The Switch room the session is currently connected to. */
roomId: string;
diff --git a/dash/apps/switchdash-desktop/src/shared/core/switch-rooms/switchRoomEvents.ts b/dash/apps/switch-console-desktop/src/shared/core/switch-rooms/switchRoomEvents.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/shared/core/switch-rooms/switchRoomEvents.ts
rename to dash/apps/switch-console-desktop/src/shared/core/switch-rooms/switchRoomEvents.ts
diff --git a/dash/apps/switchdash-desktop/src/shared/core/switch-servers/switch-servers.ts b/dash/apps/switch-console-desktop/src/shared/core/switch-servers/switch-servers.ts
similarity index 95%
rename from dash/apps/switchdash-desktop/src/shared/core/switch-servers/switch-servers.ts
rename to dash/apps/switch-console-desktop/src/shared/core/switch-servers/switch-servers.ts
index 71c83fde5..a57468a71 100644
--- a/dash/apps/switchdash-desktop/src/shared/core/switch-servers/switch-servers.ts
+++ b/dash/apps/switch-console-desktop/src/shared/core/switch-servers/switch-servers.ts
@@ -1,11 +1,11 @@
/**
- * Shared types for the Switch-server integration: the gateways switchdash can
+ * Shared types for the Switch-server integration: the gateways Switch Console can
* connect to, the auth methods they offer, and the read-only summaries of the
- * remote agents/rooms switchdash queries live from the active server.
+ * remote agents/rooms Switch Console queries live from the active server.
*
- * The gateway is OIDC-*mediated* (it is the OIDC client; switchdash just rides
+ * The gateway is OIDC-*mediated* (it is the OIDC client; Switch Console just rides
* the flow and captures the resulting session cookie), and authenticates every
- * management call with the `switch_auth` cookie. switchdash stores that cookie
+ * management call with the `switch_auth` cookie. Switch Console stores that cookie
* in the encrypted secrets store, never in plain settings.
*/
@@ -51,7 +51,7 @@ export type SwitchServer = {
* `https://switch-api.example.com` — what an agent's `SWITCH_API_ENDPOINT`
* points at, and what an onboarded agent is matched to its server by. */
apiUrl: string;
- /** True when switchdash runs this server itself (docker compose). Managed
+ /** True when Switch Console runs this server itself (docker compose). Managed
* servers are driven by the lifecycle controls, not the add/edit-server UI. */
managed: boolean;
/** Where a managed server runs: `local` (this computer's Docker) or `remote`
@@ -152,13 +152,13 @@ export type SwitchUser = {
*
* Null when the server predates version disclosure — which is the honest
* reading, not a defect. This is the only version signal available for a
- * server switchdash does not manage: `readDeployedVersion` needs host access
+ * server Switch Console does not manage: `readDeployedVersion` needs host access
* to read an image tag, so a BYO server used to report nothing at all, ever.
*/
server: SwitchServerDeclaration | null;
};
-/** Connection status for a server: whether switchdash holds a valid session. */
+/** Connection status for a server: whether Switch Console holds a valid session. */
export type ServerConnectionStatus = {
serverId: string;
connected: boolean;
@@ -231,7 +231,7 @@ export type RemoteRoomGroup = {
/**
* A collaboration bridge configured on a server (mirrors the gateway
- * `BridgeDetail`). Every room switchdash creates is bridged to one of these, so
+ * `BridgeDetail`). Every room Switch Console creates is bridged to one of these, so
* the humans it is being created for can actually reach it.
*/
export type RemoteBridge = {
@@ -276,7 +276,7 @@ export type BundledChatSignIn =
* One credential field a bridge type needs, projected from the JSON Schema the
* gateway derives from the adapter's Pydantic config model.
*
- * The schema is the server's to define, not switchdash's: a Slack bridge needs
+ * The schema is the server's to define, not Switch Console's: a Slack bridge needs
* different fields from a Discord one, and a switch-core release can add a
* field without an app release. So the attach form is generated from this
* rather than hand-written per platform.
@@ -302,11 +302,11 @@ export type RemoteBridgeType = {
/**
* Parameters for attaching a collaboration bridge to a server from inside
- * switchdash (CHOO-1784).
+ * Switch Console (CHOO-1784).
*
* `connectionConfig` carries platform credentials — a Slack bot token, a
* Discord bot token, a Mattermost admin password. It is main-process-only: it
- * goes straight to the server over HTTPS and is never persisted by switchdash,
+ * goes straight to the server over HTTPS and is never persisted by Switch Console,
* never logged, and never sent back to the renderer.
*/
export type CreateBridgeParams = {
@@ -399,7 +399,7 @@ export type ProvisionAgentParams = {
providerKind: AgentProviderKind;
/** Bridge handle to @-mention in offline-session notices; omit to skip. */
notifyUser?: string;
- /** Register with the `auto_session` connection model: switchdash watches the
+ /** Register with the `auto_session` connection model: Switch Console watches the
* agent's rooms and auto-spawns a session on notification. Defaults to off. */
autoSession?: boolean;
};
@@ -440,7 +440,7 @@ export type ProvisionAgentResult =
| { kind: 'error'; message: string };
/**
- * Parameters for creating a room on a server from inside switchdash
+ * Parameters for creating a room on a server from inside Switch Console
* (CHOO-1875) — the minimal set that gets a user to a working room. The wider
* gateway surface (roles, groups, visibility, references, existing-channel
* binding) stays in the operator web app.
diff --git a/dash/apps/switchdash-desktop/src/shared/core/switch-setup/agent-type-availability.ts b/dash/apps/switch-console-desktop/src/shared/core/switch-setup/agent-type-availability.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/shared/core/switch-setup/agent-type-availability.ts
rename to dash/apps/switch-console-desktop/src/shared/core/switch-setup/agent-type-availability.ts
diff --git a/dash/apps/switchdash-desktop/src/shared/core/switch-setup/update-check.test.ts b/dash/apps/switch-console-desktop/src/shared/core/switch-setup/update-check.test.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/shared/core/switch-setup/update-check.test.ts
rename to dash/apps/switch-console-desktop/src/shared/core/switch-setup/update-check.test.ts
diff --git a/dash/apps/switchdash-desktop/src/shared/core/switch-setup/update-check.ts b/dash/apps/switch-console-desktop/src/shared/core/switch-setup/update-check.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/shared/core/switch-setup/update-check.ts
rename to dash/apps/switch-console-desktop/src/shared/core/switch-setup/update-check.ts
diff --git a/dash/apps/switchdash-desktop/src/shared/core/terminals/general-session.ts b/dash/apps/switch-console-desktop/src/shared/core/terminals/general-session.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/shared/core/terminals/general-session.ts
rename to dash/apps/switch-console-desktop/src/shared/core/terminals/general-session.ts
diff --git a/dash/apps/switchdash-desktop/src/shared/core/terminals/terminal-settings.ts b/dash/apps/switch-console-desktop/src/shared/core/terminals/terminal-settings.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/shared/core/terminals/terminal-settings.ts
rename to dash/apps/switch-console-desktop/src/shared/core/terminals/terminal-settings.ts
diff --git a/dash/apps/switchdash-desktop/src/shared/core/terminals/terminals.test.ts b/dash/apps/switch-console-desktop/src/shared/core/terminals/terminals.test.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/shared/core/terminals/terminals.test.ts
rename to dash/apps/switch-console-desktop/src/shared/core/terminals/terminals.test.ts
diff --git a/dash/apps/switchdash-desktop/src/shared/core/terminals/terminals.ts b/dash/apps/switch-console-desktop/src/shared/core/terminals/terminals.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/shared/core/terminals/terminals.ts
rename to dash/apps/switch-console-desktop/src/shared/core/terminals/terminals.ts
diff --git a/dash/apps/switchdash-desktop/src/shared/events/appEvents.ts b/dash/apps/switch-console-desktop/src/shared/events/appEvents.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/shared/events/appEvents.ts
rename to dash/apps/switch-console-desktop/src/shared/events/appEvents.ts
diff --git a/dash/apps/switchdash-desktop/src/shared/events/browserEvents.ts b/dash/apps/switch-console-desktop/src/shared/events/browserEvents.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/shared/events/browserEvents.ts
rename to dash/apps/switch-console-desktop/src/shared/events/browserEvents.ts
diff --git a/dash/apps/switchdash-desktop/src/shared/events/localSwitchServerEvents.ts b/dash/apps/switch-console-desktop/src/shared/events/localSwitchServerEvents.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/shared/events/localSwitchServerEvents.ts
rename to dash/apps/switch-console-desktop/src/shared/events/localSwitchServerEvents.ts
diff --git a/dash/apps/switchdash-desktop/src/shared/events/remoteSwitchServerEvents.ts b/dash/apps/switch-console-desktop/src/shared/events/remoteSwitchServerEvents.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/shared/events/remoteSwitchServerEvents.ts
rename to dash/apps/switch-console-desktop/src/shared/events/remoteSwitchServerEvents.ts
diff --git a/dash/apps/switchdash-desktop/src/shared/events/resourceEvents.ts b/dash/apps/switch-console-desktop/src/shared/events/resourceEvents.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/shared/events/resourceEvents.ts
rename to dash/apps/switch-console-desktop/src/shared/events/resourceEvents.ts
diff --git a/dash/apps/switchdash-desktop/src/shared/events/sidecarEvents.ts b/dash/apps/switch-console-desktop/src/shared/events/sidecarEvents.ts
similarity index 95%
rename from dash/apps/switchdash-desktop/src/shared/events/sidecarEvents.ts
rename to dash/apps/switch-console-desktop/src/shared/events/sidecarEvents.ts
index dc48ab97a..917e9a184 100644
--- a/dash/apps/switchdash-desktop/src/shared/events/sidecarEvents.ts
+++ b/dash/apps/switch-console-desktop/src/shared/events/sidecarEvents.ts
@@ -10,7 +10,7 @@ import { defineEvent } from '@shared/lib/ipc/events';
* (the sidecar is idle).
* - `upgrade-pending` — a different build is running but has live sessions, so
* the upgrade is deferred until it is idle rather than interrupting work.
- * - `newer-on-host` — a newer switchdash deployed the running sidecar. There is
+ * - `newer-on-host` — a newer Switch Console deployed the running sidecar. There is
* nothing to offer: replacing it would be a downgrade, and on a shared host
* two installs doing that to each other never converges.
* - `incompatible` — the host runs a protocol this client cannot speak; it must
diff --git a/dash/apps/switchdash-desktop/src/shared/events/switchSetupEvents.ts b/dash/apps/switch-console-desktop/src/shared/events/switchSetupEvents.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/shared/events/switchSetupEvents.ts
rename to dash/apps/switch-console-desktop/src/shared/events/switchSetupEvents.ts
diff --git a/dash/apps/switchdash-desktop/src/shared/events/updateEvents.ts b/dash/apps/switch-console-desktop/src/shared/events/updateEvents.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/shared/events/updateEvents.ts
rename to dash/apps/switch-console-desktop/src/shared/events/updateEvents.ts
diff --git a/dash/apps/switchdash-desktop/src/shared/lib/ipc/events.ts b/dash/apps/switch-console-desktop/src/shared/lib/ipc/events.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/shared/lib/ipc/events.ts
rename to dash/apps/switch-console-desktop/src/shared/lib/ipc/events.ts
diff --git a/dash/apps/switchdash-desktop/src/shared/lib/ipc/rpc.test.ts b/dash/apps/switch-console-desktop/src/shared/lib/ipc/rpc.test.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/shared/lib/ipc/rpc.test.ts
rename to dash/apps/switch-console-desktop/src/shared/lib/ipc/rpc.test.ts
diff --git a/dash/apps/switchdash-desktop/src/shared/lib/ipc/rpc.ts b/dash/apps/switch-console-desktop/src/shared/lib/ipc/rpc.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/shared/lib/ipc/rpc.ts
rename to dash/apps/switch-console-desktop/src/shared/lib/ipc/rpc.ts
diff --git a/dash/apps/switchdash-desktop/src/shared/lib/versioned-schema/versioned-schema.test.ts b/dash/apps/switch-console-desktop/src/shared/lib/versioned-schema/versioned-schema.test.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/shared/lib/versioned-schema/versioned-schema.test.ts
rename to dash/apps/switch-console-desktop/src/shared/lib/versioned-schema/versioned-schema.test.ts
diff --git a/dash/apps/switchdash-desktop/src/shared/lib/versioned-schema/versioned-schema.ts b/dash/apps/switch-console-desktop/src/shared/lib/versioned-schema/versioned-schema.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/shared/lib/versioned-schema/versioned-schema.ts
rename to dash/apps/switch-console-desktop/src/shared/lib/versioned-schema/versioned-schema.ts
diff --git a/dash/apps/switchdash-desktop/src/shared/logger.test.ts b/dash/apps/switch-console-desktop/src/shared/logger.test.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/shared/logger.test.ts
rename to dash/apps/switch-console-desktop/src/shared/logger.test.ts
diff --git a/dash/apps/switchdash-desktop/src/shared/logger.ts b/dash/apps/switch-console-desktop/src/shared/logger.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/shared/logger.ts
rename to dash/apps/switch-console-desktop/src/shared/logger.ts
diff --git a/dash/apps/switchdash-desktop/src/shared/openInApps.test.ts b/dash/apps/switch-console-desktop/src/shared/openInApps.test.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/shared/openInApps.test.ts
rename to dash/apps/switch-console-desktop/src/shared/openInApps.test.ts
diff --git a/dash/apps/switchdash-desktop/src/shared/openInApps.ts b/dash/apps/switch-console-desktop/src/shared/openInApps.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/shared/openInApps.ts
rename to dash/apps/switch-console-desktop/src/shared/openInApps.ts
diff --git a/dash/apps/switchdash-desktop/src/shared/path-name.test.ts b/dash/apps/switch-console-desktop/src/shared/path-name.test.ts
similarity index 67%
rename from dash/apps/switchdash-desktop/src/shared/path-name.test.ts
rename to dash/apps/switch-console-desktop/src/shared/path-name.test.ts
index 664e3e9d5..0cb2e2be0 100644
--- a/dash/apps/switchdash-desktop/src/shared/path-name.test.ts
+++ b/dash/apps/switch-console-desktop/src/shared/path-name.test.ts
@@ -4,27 +4,29 @@ import { basenameFromAnyPath, safePathSegment } from './path-name';
describe('path-name helpers', () => {
describe('basenameFromAnyPath', () => {
it('extracts a location name from a Windows path', () => {
- expect(basenameFromAnyPath('E:\\my_work\\github_pro\\switchdash')).toBe('switchdash');
+ expect(basenameFromAnyPath('E:\\my_work\\github_pro\\switch-console')).toBe('switch-console');
});
it('extracts a location name from a POSIX path', () => {
- expect(basenameFromAnyPath('/home/admin/github_pro/switchdash')).toBe('switchdash');
+ expect(basenameFromAnyPath('/home/admin/github_pro/switch-console')).toBe('switch-console');
});
it('ignores trailing path separators', () => {
- expect(basenameFromAnyPath('E:\\my_work\\github_pro\\switchdash\\')).toBe('switchdash');
- expect(basenameFromAnyPath('/home/admin/github_pro/switchdash/')).toBe('switchdash');
+ expect(basenameFromAnyPath('E:\\my_work\\github_pro\\switch-console\\')).toBe(
+ 'switch-console'
+ );
+ expect(basenameFromAnyPath('/home/admin/github_pro/switch-console/')).toBe('switch-console');
});
});
describe('safePathSegment', () => {
it('keeps normal location names unchanged', () => {
- expect(safePathSegment('switchdash')).toBe('switchdash');
+ expect(safePathSegment('switch-console')).toBe('switch-console');
});
it('collapses path-shaped location names to a safe single segment', () => {
- expect(safePathSegment('E:\\my_work\\github_pro\\switchdash')).toBe('switchdash');
- expect(safePathSegment('../switchdash')).toBe('switchdash');
+ expect(safePathSegment('E:\\my_work\\github_pro\\switch-console')).toBe('switch-console');
+ expect(safePathSegment('../switch-console')).toBe('switch-console');
});
it('falls back when no safe segment remains', () => {
diff --git a/dash/apps/switchdash-desktop/src/shared/path-name.ts b/dash/apps/switch-console-desktop/src/shared/path-name.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/shared/path-name.ts
rename to dash/apps/switch-console-desktop/src/shared/path-name.ts
diff --git a/dash/apps/switchdash-desktop/src/shared/prompt-injection.ts b/dash/apps/switch-console-desktop/src/shared/prompt-injection.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/shared/prompt-injection.ts
rename to dash/apps/switch-console-desktop/src/shared/prompt-injection.ts
diff --git a/dash/apps/switchdash-desktop/src/shared/prompt-library.ts b/dash/apps/switch-console-desktop/src/shared/prompt-library.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/shared/prompt-library.ts
rename to dash/apps/switch-console-desktop/src/shared/prompt-library.ts
diff --git a/dash/apps/switchdash-desktop/src/shared/resource-monitor.ts b/dash/apps/switch-console-desktop/src/shared/resource-monitor.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/shared/resource-monitor.ts
rename to dash/apps/switch-console-desktop/src/shared/resource-monitor.ts
diff --git a/dash/apps/switchdash-desktop/src/shared/shortcuts.test.ts b/dash/apps/switch-console-desktop/src/shared/shortcuts.test.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/shared/shortcuts.test.ts
rename to dash/apps/switch-console-desktop/src/shared/shortcuts.test.ts
diff --git a/dash/apps/switchdash-desktop/src/shared/shortcuts.ts b/dash/apps/switch-console-desktop/src/shared/shortcuts.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/shared/shortcuts.ts
rename to dash/apps/switch-console-desktop/src/shared/shortcuts.ts
diff --git a/dash/apps/switchdash-desktop/src/shared/startup-data-gate.ts b/dash/apps/switch-console-desktop/src/shared/startup-data-gate.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/shared/startup-data-gate.ts
rename to dash/apps/switch-console-desktop/src/shared/startup-data-gate.ts
diff --git a/dash/apps/switchdash-desktop/src/shared/switch-agents.ts b/dash/apps/switch-console-desktop/src/shared/switch-agents.ts
similarity index 80%
rename from dash/apps/switchdash-desktop/src/shared/switch-agents.ts
rename to dash/apps/switch-console-desktop/src/shared/switch-agents.ts
index 14e921e70..8aa520e85 100644
--- a/dash/apps/switchdash-desktop/src/shared/switch-agents.ts
+++ b/dash/apps/switch-console-desktop/src/shared/switch-agents.ts
@@ -1,10 +1,10 @@
/**
* A Switch agent discovered from a directory's Claude Code settings.
*
- * switchdash is a local orchestrator: it only needs to *detect* that a
+ * Switch Console is a local orchestrator: it only needs to *detect* that a
* directory is configured as a Switch agent and learn the agent's identity for
* display/grouping. The `claude` CLI self-loads the `SWITCH_*` env block from
- * the directory's settings on launch, so switchdash never has to hold the
+ * the directory's settings on launch, so Switch Console never has to hold the
* `SWITCH_API_TOKEN` itself — and intentionally does not retain it.
*/
export interface SwitchAgentConfig {
diff --git a/dash/apps/switchdash-desktop/src/shared/terminal-url.test.ts b/dash/apps/switch-console-desktop/src/shared/terminal-url.test.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/shared/terminal-url.test.ts
rename to dash/apps/switch-console-desktop/src/shared/terminal-url.test.ts
diff --git a/dash/apps/switchdash-desktop/src/shared/terminal-url.ts b/dash/apps/switch-console-desktop/src/shared/terminal-url.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/shared/terminal-url.ts
rename to dash/apps/switch-console-desktop/src/shared/terminal-url.ts
diff --git a/dash/apps/switch-console-desktop/src/shared/urls.test.ts b/dash/apps/switch-console-desktop/src/shared/urls.test.ts
new file mode 100644
index 000000000..18cd0514c
--- /dev/null
+++ b/dash/apps/switch-console-desktop/src/shared/urls.test.ts
@@ -0,0 +1,41 @@
+import { describe, expect, it } from 'vitest';
+import {
+ SWITCH_CONSOLE_RELEASES_URL,
+ switchConsoleReleaseApiUrl,
+ switchConsoleReleaseTag,
+ switchConsoleReleaseUrl,
+} from './urls';
+
+describe('switchConsoleReleaseTag', () => {
+ it('namespaces the tag with the switch-console prefix', () => {
+ expect(switchConsoleReleaseTag('0.18.2')).toBe('switch-console-v0.18.2');
+ });
+
+ it('does not double the v when the version already carries one', () => {
+ expect(switchConsoleReleaseTag('v0.18.2')).toBe('switch-console-v0.18.2');
+ });
+
+ it('keeps a prerelease identifier intact', () => {
+ expect(switchConsoleReleaseTag('0.19.0-canary.4')).toBe('switch-console-v0.19.0-canary.4');
+ });
+});
+
+describe('switchConsoleReleaseUrl', () => {
+ it('links to the namespaced release tag', () => {
+ expect(switchConsoleReleaseUrl('0.18.2')).toBe(
+ 'https://github.com/sandbox-quantum/switch/releases/tag/switch-console-v0.18.2'
+ );
+ });
+
+ it('falls back to the releases index when the version is unknown', () => {
+ expect(switchConsoleReleaseUrl(undefined)).toBe(SWITCH_CONSOLE_RELEASES_URL);
+ });
+});
+
+describe('switchConsoleReleaseApiUrl', () => {
+ it('points at the namespaced tag on the API host', () => {
+ expect(switchConsoleReleaseApiUrl('0.18.2')).toBe(
+ 'https://api.github.com/repos/sandbox-quantum/switch/releases/tags/switch-console-v0.18.2'
+ );
+ });
+});
diff --git a/dash/apps/switch-console-desktop/src/shared/urls.ts b/dash/apps/switch-console-desktop/src/shared/urls.ts
new file mode 100644
index 000000000..4392aa951
--- /dev/null
+++ b/dash/apps/switch-console-desktop/src/shared/urls.ts
@@ -0,0 +1,30 @@
+export const SWITCH_CONSOLE_RELEASES_URL = 'https://github.com/sandbox-quantum/switch/releases';
+const SWITCH_CONSOLE_RELEASES_API_URL =
+ 'https://api.github.com/repos/sandbox-quantum/switch/releases';
+
+/**
+ * The desktop app shares its repo with switch-core, so its release tags are
+ * namespaced `switch-console-v<version>` — see .github/workflows/switch-console-release.yml,
+ * which only triggers on that prefix. A bare `v<version>` tag belongs to nothing.
+ */
+export function switchConsoleReleaseTag(version: string): string {
+ return `switch-console-v${version.replace(/^v/, '')}`;
+}
+
+/**
+ * Release page for one specific version. Falls back to the releases index when
+ * the version is unknown, so the link is never dead.
+ */
+export function switchConsoleReleaseUrl(version: string | undefined): string {
+ if (!version) return SWITCH_CONSOLE_RELEASES_URL;
+ return `${SWITCH_CONSOLE_RELEASES_URL}/tag/${switchConsoleReleaseTag(version)}`;
+}
+
+/** GitHub API endpoint for one version's release, for reading its notes. */
+export function switchConsoleReleaseApiUrl(version: string): string {
+ return `${SWITCH_CONSOLE_RELEASES_API_URL}/tags/${switchConsoleReleaseTag(version)}`;
+}
+export const SWITCH_CONSOLE_DOCS_URL = 'https://github.com/sandbox-quantum/switch';
+export const SWITCH_CONSOLE_ISSUES_URL = 'https://github.com/sandbox-quantum/switch/issues';
+export const SWITCH_CONSOLE_ISSUES_NEW_URL =
+ 'https://github.com/sandbox-quantum/switch/issues/new/choose';
diff --git a/dash/apps/switchdash-desktop/src/shared/view-state.ts b/dash/apps/switch-console-desktop/src/shared/view-state.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/shared/view-state.ts
rename to dash/apps/switch-console-desktop/src/shared/view-state.ts
diff --git a/dash/apps/switchdash-desktop/src/sidecar/agent-launch-spec.test.ts b/dash/apps/switch-console-desktop/src/sidecar/agent-launch-spec.test.ts
similarity index 97%
rename from dash/apps/switchdash-desktop/src/sidecar/agent-launch-spec.test.ts
rename to dash/apps/switch-console-desktop/src/sidecar/agent-launch-spec.test.ts
index 9b490c380..c16317c83 100644
--- a/dash/apps/switchdash-desktop/src/sidecar/agent-launch-spec.test.ts
+++ b/dash/apps/switch-console-desktop/src/sidecar/agent-launch-spec.test.ts
@@ -50,7 +50,7 @@ describe('materializeAgentCommand', () => {
it('launches a provider that takes no session id on a fresh session', () => {
// Codex mints its own rollout id and only accepts one when resuming, so its
- // spec carries no session-id token. switchdash correlates the spawn through
+ // spec carries no session-id token. Switch Console correlates the spawn through
// the pty id in the hook env, not through argv. The Switch MCP server rides a
// baked profile (launchFiles) and env, not argv, so nothing to substitute.
const cmd = materializeAgentCommand(
diff --git a/dash/apps/switchdash-desktop/src/sidecar/agent-launch-spec.ts b/dash/apps/switch-console-desktop/src/sidecar/agent-launch-spec.ts
similarity index 89%
rename from dash/apps/switchdash-desktop/src/sidecar/agent-launch-spec.ts
rename to dash/apps/switch-console-desktop/src/sidecar/agent-launch-spec.ts
index 8429b2352..f6b9ee41d 100644
--- a/dash/apps/switchdash-desktop/src/sidecar/agent-launch-spec.ts
+++ b/dash/apps/switch-console-desktop/src/sidecar/agent-launch-spec.ts
@@ -1,7 +1,7 @@
/**
* A config file the sidecar must write on the VM before spawning, path relative
* to the agent's home directory. Baked into the spec because the watcher is
- * provider-agnostic — it cannot build provider config itself, so switchdash
+ * provider-agnostic — it cannot build provider config itself, so Switch Console
* precomputes it. Used for Codex's per-agent profile registering the Switch MCP
* runtime (`~/.codex/<slug>.config.toml`).
*/
@@ -16,12 +16,12 @@ export interface AgentLaunchFile {
* A serialised recipe for launching a fresh agent CLI session on the VM.
*
* The notification watcher runs headless on the VM with no access to
- * switchdash's plugin registry, so it cannot build a provider's launch command
- * itself. Instead switchdash precomputes the command once (via the provider
+ * Switch Console's plugin registry, so it cannot build a provider's launch command
+ * itself. Instead Switch Console precomputes the command once (via the provider
* plugin's `buildCommand`) with placeholder tokens standing in for the two
* per-spawn values — the session id and the initial prompt — and writes
* this spec to the VM. The watcher then substitutes those tokens per spawn, so
- * all provider knowledge stays in switchdash and the watcher is provider
+ * all provider knowledge stays in Switch Console and the watcher is provider
* agnostic.
*/
export interface AgentLaunchSpec {
@@ -46,10 +46,10 @@ export interface AgentLaunchSpec {
deeplinkScheme: string;
}
-/** Argv token switchdash emits in place of the fresh session's session id. */
+/** Argv token Switch Console emits in place of the fresh session's session id. */
export const SESSION_ID_PLACEHOLDER = '__SWITCHDASH_SESSION_ID__';
-/** Argv token switchdash emits in place of the fresh session's initial prompt. */
+/** Argv token Switch Console emits in place of the fresh session's initial prompt. */
export const INITIAL_PROMPT_PLACEHOLDER = '__SWITCHDASH_INITIAL_PROMPT__';
/** Shared prefix of every launch-spec placeholder, used to catch leftovers. */
@@ -72,7 +72,7 @@ export interface MaterializedAgentCommand {
*
* The session id token is substituted when present and is not required. Not
* every provider takes a session id on a fresh session — Codex mints its own
- * rollout id and only accepts one when resuming — and switchdash does not depend
+ * rollout id and only accepts one when resuming — and Switch Console does not depend
* on the argv value either way: it correlates the spawn through the pty id in the
* hook env, and learns the provider's own id from the SessionStart hook. The
* Switch MCP server no longer rides argv; the runtime reads its endpoint and
diff --git a/dash/apps/switchdash-desktop/src/sidecar/atomic-file.ts b/dash/apps/switch-console-desktop/src/sidecar/atomic-file.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/sidecar/atomic-file.ts
rename to dash/apps/switch-console-desktop/src/sidecar/atomic-file.ts
diff --git a/dash/apps/switchdash-desktop/src/sidecar/index.ts b/dash/apps/switch-console-desktop/src/sidecar/index.ts
similarity index 95%
rename from dash/apps/switchdash-desktop/src/sidecar/index.ts
rename to dash/apps/switch-console-desktop/src/sidecar/index.ts
index 664093348..a862d1906 100644
--- a/dash/apps/switchdash-desktop/src/sidecar/index.ts
+++ b/dash/apps/switch-console-desktop/src/sidecar/index.ts
@@ -31,16 +31,16 @@ import { SIDECAR_CONTROL, SIDECAR_VERSION } from './sidecar-version';
import { exactTmuxTarget, parseAgentTmuxSessionName } from './vm-tmux';
/**
- * switchdash remote runtime sidecar (CHOO-1059 → CHOO-1085).
+ * Switch Console remote runtime sidecar (CHOO-1059 → CHOO-1085).
*
* One agent-scoped process per remote agent, deployed to the agent's VM and kept
* alive next to its tmux panes. It is the renderer-independent slice of
- * switchdash's Switch integration and does BOTH jobs in one process:
+ * Switch Console's Switch integration and does BOTH jobs in one process:
*
* - a single agent-hook HTTP server + a multi-session runtime, so every session
- * on the VM (the one switchdash starts over SSH and any auto-started here)
+ * on the VM (the one Switch Console starts over SSH and any auto-started here)
* stays connected to its Switch room and gets messages injected into its own
- * tmux pane, even while the switchdash UI is closed; and
+ * tmux pane, even while the Switch Console UI is closed; and
* - the per-agent notification watcher, which auto-starts a fresh session (wired
* back to this same hook server) whenever the agent is addressed in a room
* with no live session.
@@ -50,9 +50,9 @@ import { exactTmuxTarget, parseAgentTmuxSessionName } from './vm-tmux';
* passed in `SWITCHDASH_SIDECAR_AGENT_SLUG`), falling back to the legacy shared
* `.claude/settings.local.json` for un-migrated installs (CHOO-1440); the
* provider-specific launch recipe for auto-started sessions comes from the launch
- * spec switchdash writes to the VM.
+ * spec Switch Console writes to the VM.
* On startup it prints one JSON line to stdout — `{event:"ready",port,token}` —
- * so the launcher can point switchdash's remote sessions at this hook server.
+ * so the launcher can point Switch Console's remote sessions at this hook server.
*/
const PANE_POLL_INTERVAL_MS = 2000;
@@ -188,7 +188,7 @@ async function main(): Promise<void> {
});
}
- // Every raw hook the agents post is buffered so switchdash can replay it
+ // Every raw hook the agents post is buffered so Switch Console can replay it
// through its own hook path (room/status/session) while the UI is attached;
// the sidecar still handles it VM-locally for injection regardless.
// Declared before the server so the /sessions provider and disconnect handler
@@ -211,7 +211,7 @@ async function main(): Promise<void> {
{
eventLog,
// Snapshot of live VM sessions (connected + just-launched, deduped by
- // session id) so switchdash can reconcile watcher-spawned sessions
+ // session id) so Switch Console can reconcile watcher-spawned sessions
// into its UI. Connected sessions win — they carry the room the agent
// actually attends after connect_to_room.
sessionsProvider: async () => {
@@ -232,7 +232,7 @@ async function main(): Promise<void> {
for (const s of runtime.connectedSessions()) byId.set(s.sessionId, s.roomId);
return [...byId].map(([sessionId, roomId]) => ({ sessionId, roomId }));
},
- // switchdash is about to start a session over SSH: open its room
+ // Switch Console is about to start a session over SSH: open its room
// connection here first and hand back the id, so the session's tool calls
// land on the connection this sidecar reads and injects from. Without it
// the session holds a connection nobody on the VM is listening to, and
@@ -240,7 +240,7 @@ async function main(): Promise<void> {
// connect_to_room claims one and the server reports it back.
connectionHandler: (sessionId, providerId) =>
runtime.ensureForSession(sessionId, providerId, null),
- // switchdash deleted a session: stop its room connection (ends the renew
+ // Switch Console deleted a session: stop its room connection (ends the renew
// heartbeat keeping the agent live) and forget any watcher-launched entry.
// A deliberate delete/kill (terminated) is also broadcast to every attached
// client via a synthetic event on the shared /events log, so they tear down
@@ -297,7 +297,7 @@ async function main(): Promise<void> {
});
// The sidecar always serves session injection; the notification watcher only
- // auto-starts sessions when the agent has auto_session enabled. switchdash
+ // auto-starts sessions when the agent has auto_session enabled. Switch Console
// writes `.switchdash/watch-enabled` (1/0) and we read it live, so toggling
// auto_session takes effect without restarting the sidecar (and disrupting
// live sessions' injection).
diff --git a/dash/apps/switchdash-desktop/src/sidecar/notification-watcher.test.ts b/dash/apps/switch-console-desktop/src/sidecar/notification-watcher.test.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/sidecar/notification-watcher.test.ts
rename to dash/apps/switch-console-desktop/src/sidecar/notification-watcher.test.ts
diff --git a/dash/apps/switchdash-desktop/src/sidecar/notification-watcher.ts b/dash/apps/switch-console-desktop/src/sidecar/notification-watcher.ts
similarity index 97%
rename from dash/apps/switchdash-desktop/src/sidecar/notification-watcher.ts
rename to dash/apps/switch-console-desktop/src/sidecar/notification-watcher.ts
index 10fc96f7f..f85fb104f 100644
--- a/dash/apps/switchdash-desktop/src/sidecar/notification-watcher.ts
+++ b/dash/apps/switch-console-desktop/src/sidecar/notification-watcher.ts
@@ -79,10 +79,10 @@ async function postRoomMessage(
}
/**
- * The VM-side port of switchdash's `AutoSessionWatcher`: long-polls the Switch
+ * The VM-side port of Switch Console's `AutoSessionWatcher`: long-polls the Switch
* agent-bridge notification stream and, whenever the agent is addressed in a
* room where it has no live session, spawns a fresh session (connected to the
- * room and ready to receive the waiting message) — without switchdash running.
+ * room and ready to receive the waiting message) — without Switch Console running.
*
* The triggering message is delivered by the spawned session's own per-room
* poller once it connects; the notification stream is a separate queue, so the
@@ -165,7 +165,7 @@ export class NotificationWatcher {
scope: 'all',
filter: 'addressed',
rooms: [],
- // Same promise as switchdash's watcher: this process will spawn.
+ // Same promise as Switch Console's watcher: this process will spawn.
spawnCapable: true,
onEvent: (event) => {
if (event.room_id) this.handleNotification(event.room_id, event.sequence);
diff --git a/dash/apps/switchdash-desktop/src/sidecar/npm-registry-auth.ts b/dash/apps/switch-console-desktop/src/sidecar/npm-registry-auth.ts
similarity index 98%
rename from dash/apps/switchdash-desktop/src/sidecar/npm-registry-auth.ts
rename to dash/apps/switch-console-desktop/src/sidecar/npm-registry-auth.ts
index 1e6e37ec3..79cb521f2 100644
--- a/dash/apps/switchdash-desktop/src/sidecar/npm-registry-auth.ts
+++ b/dash/apps/switch-console-desktop/src/sidecar/npm-registry-auth.ts
@@ -24,7 +24,7 @@ const execFileAsync = promisify(execFile);
* never heard of it — the failure reads as a plain 404 for a package that does
* not exist, rather than anything about registries or credentials.
*
- * This is the VM-side counterpart of switchdash's `npmRegistryAuthEnv`. Same
+ * This is the VM-side counterpart of Switch Console's `npmRegistryAuthEnv`. Same
* two settings, same env-var indirection so no token is written to disk; the
* only difference is that the token comes from the VM's own `gh`, which is a
* core host dependency, rather than the desktop's.
diff --git a/dash/apps/switchdash-desktop/src/sidecar/session-spawner.test.ts b/dash/apps/switch-console-desktop/src/sidecar/session-spawner.test.ts
similarity index 99%
rename from dash/apps/switchdash-desktop/src/sidecar/session-spawner.test.ts
rename to dash/apps/switch-console-desktop/src/sidecar/session-spawner.test.ts
index c8cbbadd3..da174f8c6 100644
--- a/dash/apps/switchdash-desktop/src/sidecar/session-spawner.test.ts
+++ b/dash/apps/switch-console-desktop/src/sidecar/session-spawner.test.ts
@@ -14,7 +14,7 @@ import { InProcessSessionSpawner, type InProcessSessionSpawnerDeps } from './ses
const pluginOverride = vi.hoisted(() => ({ current: null as unknown }));
vi.mock('@main/core/providers/plugin-registry', async () => {
- const { pluginRegistry } = await import('@switchdash/plugins/agents');
+ const { pluginRegistry } = await import('@switch-console/plugins/agents');
return { getPlugin: (id: string) => pluginOverride.current ?? pluginRegistry.get(id) };
});
diff --git a/dash/apps/switchdash-desktop/src/sidecar/session-spawner.ts b/dash/apps/switch-console-desktop/src/sidecar/session-spawner.ts
similarity index 97%
rename from dash/apps/switchdash-desktop/src/sidecar/session-spawner.ts
rename to dash/apps/switch-console-desktop/src/sidecar/session-spawner.ts
index 0f31391e6..db5c086ae 100644
--- a/dash/apps/switchdash-desktop/src/sidecar/session-spawner.ts
+++ b/dash/apps/switch-console-desktop/src/sidecar/session-spawner.ts
@@ -35,7 +35,7 @@ export interface InProcessSessionSpawnerDeps {
/**
* Open a connection for a session about to launch and return its id, so the
* session's tool calls land on the connection this sidecar is reading. Same
- * hand-off switchdash does locally; without it the session opens its own and
+ * hand-off Switch Console does locally; without it the session opens its own and
* the sidecar is back to inferring the room from a hook.
*/
openConnectionFor?: (
@@ -91,7 +91,7 @@ export class InProcessSessionSpawner implements SessionSpawner {
* pending/spawned and a fresh room notification can spawn a new one. No-op if
* we never launched this session.
*
- * Called both when switchdash deletes a session and when one connects to a
+ * Called both when Switch Console deletes a session and when one connects to a
* room. The entry only covers the boot window — between launch and the first
* `connect_to_room` — and once the runtime knows the session, its room map is
* the accurate answer. Keeping the entry past that point makes it vouch for
@@ -125,8 +125,8 @@ export class InProcessSessionSpawner implements SessionSpawner {
}
/**
- * Sessions this watcher launched, for switchdash to reconcile into its UI.
- * Includes the room each was started for so switchdash can title/attach it,
+ * Sessions this watcher launched, for Switch Console to reconcile into its UI.
+ * Includes the room each was started for so Switch Console can title/attach it,
* even in the window before the session calls connect_to_room and the runtime
* learns of it. Only live panes are reported — a launched-then-dead session
* (crashed before connecting) is dropped so it doesn't surface as a ghost.
diff --git a/dash/apps/switchdash-desktop/src/sidecar/sidecar-logger.ts b/dash/apps/switch-console-desktop/src/sidecar/sidecar-logger.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/sidecar/sidecar-logger.ts
rename to dash/apps/switch-console-desktop/src/sidecar/sidecar-logger.ts
diff --git a/dash/apps/switchdash-desktop/src/sidecar/sidecar-paths.ts b/dash/apps/switch-console-desktop/src/sidecar/sidecar-paths.ts
similarity index 97%
rename from dash/apps/switchdash-desktop/src/sidecar/sidecar-paths.ts
rename to dash/apps/switch-console-desktop/src/sidecar/sidecar-paths.ts
index cd40d1326..3570ce585 100644
--- a/dash/apps/switchdash-desktop/src/sidecar/sidecar-paths.ts
+++ b/dash/apps/switch-console-desktop/src/sidecar/sidecar-paths.ts
@@ -1,5 +1,5 @@
/**
- * On-VM layout of the switchdash sidecar's files, relative to an agent's remote
+ * On-VM layout of the Switch Console sidecar's files, relative to an agent's remote
* repo dir. Shared by the launcher (main process) and the sidecar bundle so both
* agree on where each file lives.
*
diff --git a/dash/apps/switchdash-desktop/src/sidecar/sidecar-runtime.test.ts b/dash/apps/switch-console-desktop/src/sidecar/sidecar-runtime.test.ts
similarity index 99%
rename from dash/apps/switchdash-desktop/src/sidecar/sidecar-runtime.test.ts
rename to dash/apps/switch-console-desktop/src/sidecar/sidecar-runtime.test.ts
index 12d51aa3e..6ab903858 100644
--- a/dash/apps/switchdash-desktop/src/sidecar/sidecar-runtime.test.ts
+++ b/dash/apps/switch-console-desktop/src/sidecar/sidecar-runtime.test.ts
@@ -121,7 +121,7 @@ describe('SidecarRuntime (multi-session)', () => {
expect(created[0].deps.roomId).toBe('room-1');
});
- // What `/connection` answers switchdash with. The returned id has to be the
+ // What `/connection` answers Switch Console with. The returned id has to be the
// one the connection was actually opened under, or the session is launched
// naming a connection the server has never heard of and every tool call fails.
it('returns the id of the connection it opened, for a session with no room yet', () => {
diff --git a/dash/apps/switchdash-desktop/src/sidecar/sidecar-runtime.ts b/dash/apps/switch-console-desktop/src/sidecar/sidecar-runtime.ts
similarity index 97%
rename from dash/apps/switchdash-desktop/src/sidecar/sidecar-runtime.ts
rename to dash/apps/switch-console-desktop/src/sidecar/sidecar-runtime.ts
index 3c441e604..ea6814fef 100644
--- a/dash/apps/switchdash-desktop/src/sidecar/sidecar-runtime.ts
+++ b/dash/apps/switch-console-desktop/src/sidecar/sidecar-runtime.ts
@@ -84,7 +84,7 @@ interface SessionConnection {
* The remote sidecar's manager: receives every session's agent-CLI hook
* callbacks over one local HTTP server and drives, per session, a tmux-backed
* RoomConnection injecting into that session's own pane. Multi-session — the
- * single agent-scoped sidecar serves every session on the VM (the one switchdash
+ * single agent-scoped sidecar serves every session on the VM (the one Switch Console
* started over SSH, and any the notification watcher auto-starts), each keyed by
* its session id, so there is exactly one sidecar per agent rather than one
* per session.
@@ -182,7 +182,7 @@ export class SidecarRuntime {
/**
* Open a session's connection before it launches, and return the id to hand
- * it in its environment. Mirrors switchdash's `ensureForSession`.
+ * it in its environment. Mirrors Switch Console's `ensureForSession`.
*
* The connection must exist before the session's first `connect_to_room`,
* which arrives tagged with this id. It also makes the room server-driven
@@ -265,10 +265,10 @@ export class SidecarRuntime {
control: resolveSessionControl(providerId),
deeplinkScheme: this.deps.deeplinkScheme,
// The sidecar has no in-process signal for an attached operator's
- // keystrokes (those go through switchdash's main process over SSH), so it
+ // keystrokes (those go through Switch Console's main process over SSH), so it
// can't gate on human typing yet — a known follow-up for the attached case.
isHumanTyping: () => false,
- mediaDir: path.join(os.tmpdir(), 'switchdash-switch-media', sessionId),
+ mediaDir: path.join(os.tmpdir(), 'switch-console-switch-media', sessionId),
// The server naming this connection's room is what records it here, so a
// session that moves rooms is followed without re-reading a hook.
onRoomChanged: (room) => {
@@ -329,7 +329,7 @@ export class SidecarRuntime {
/**
* Drop one session's room connection: stop its RoomConnection (which ends the
* poll + renew heartbeat that keeps the agent marked live) and forget it, so
- * `/sessions` no longer reports it. Called when switchdash deletes the session.
+ * `/sessions` no longer reports it. Called when Switch Console deletes the session.
*/
stopSession(sessionId: string): void {
const session = this.sessions.get(sessionId);
@@ -346,11 +346,11 @@ export class SidecarRuntime {
}
/**
- * Sessions the runtime has connected to a room, for switchdash to reconcile
+ * Sessions the runtime has connected to a room, for Switch Console to reconcile
* into its UI. Only panes that are still live are reported so a session whose
* agent has exited does not surface as a ghost row — and only sessions whose
* room the server has actually named, since a room-less one has nothing for
- * switchdash to reconcile against.
+ * Switch Console to reconcile against.
*/
connectedSessions(): Array<{ sessionId: string; roomId: string | null }> {
const out: Array<{ sessionId: string; roomId: string | null }> = [];
diff --git a/dash/apps/switchdash-desktop/src/sidecar/sidecar-state.test.ts b/dash/apps/switch-console-desktop/src/sidecar/sidecar-state.test.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/sidecar/sidecar-state.test.ts
rename to dash/apps/switch-console-desktop/src/sidecar/sidecar-state.test.ts
diff --git a/dash/apps/switchdash-desktop/src/sidecar/sidecar-state.ts b/dash/apps/switch-console-desktop/src/sidecar/sidecar-state.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/sidecar/sidecar-state.ts
rename to dash/apps/switch-console-desktop/src/sidecar/sidecar-state.ts
diff --git a/dash/apps/switchdash-desktop/src/sidecar/sidecar-version.test.ts b/dash/apps/switch-console-desktop/src/sidecar/sidecar-version.test.ts
similarity index 94%
rename from dash/apps/switchdash-desktop/src/sidecar/sidecar-version.test.ts
rename to dash/apps/switch-console-desktop/src/sidecar/sidecar-version.test.ts
index 90fc45eb5..7d7238c70 100644
--- a/dash/apps/switchdash-desktop/src/sidecar/sidecar-version.test.ts
+++ b/dash/apps/switch-console-desktop/src/sidecar/sidecar-version.test.ts
@@ -32,7 +32,7 @@ describe('compareSidecarVersions', () => {
it('reads a two-part version as patch 0, so 1.7 and 1.7.0 are the same', () => {
// The property the three-part migration rests on (CHOO-1865). Sidecars
- // deployed before it report `1.7`, and switchdash installs in the field
+ // deployed before it report `1.7`, and Switch Console installs in the field
// parse only two parts. Both sides must read the pair as equal, or each
// sees the other as an upgrade and they replace one another forever
// (CHOO-1937).
@@ -41,7 +41,7 @@ describe('compareSidecarVersions', () => {
});
it('keeps this release on major 1, so installs in the field still accept it', () => {
- // Every switchdash already out there judges compatibility on the major.
+ // Every Switch Console already out there judges compatibility on the major.
// Going to 2.0.0 would make all of them treat this sidecar as incompatible
// and replace it on sight.
expect(sidecarMajor(SIDECAR_VERSION)).toBe(1);
diff --git a/dash/apps/switchdash-desktop/src/sidecar/sidecar-version.ts b/dash/apps/switch-console-desktop/src/sidecar/sidecar-version.ts
similarity index 90%
rename from dash/apps/switchdash-desktop/src/sidecar/sidecar-version.ts
rename to dash/apps/switch-console-desktop/src/sidecar/sidecar-version.ts
index 254db97ce..164b0c021 100644
--- a/dash/apps/switchdash-desktop/src/sidecar/sidecar-version.ts
+++ b/dash/apps/switch-console-desktop/src/sidecar/sidecar-version.ts
@@ -1,4 +1,4 @@
-import { artifactVersion, contractRange } from '@switchdash/shared';
+import { artifactVersion, contractRange } from '@switch-console/shared';
/**
* The sidecar's release version, `MAJOR.MINOR.PATCH`.
@@ -17,10 +17,10 @@ import { artifactVersion, contractRange } from '@switchdash/shared';
* `MAJOR.MINOR.PATCH+<shorthash>` — semver build metadata.
*
* Derived from `artifacts.yaml`, which is the only place it is written. Nothing
- * else declares the sidecar's version: it is deployed by switchdash rather than
+ * else declares the sidecar's version: it is deployed by Switch Console rather than
* published, so it has no packaging file of its own.
*
- * **The major must stay at 1 through this transition.** switchdash installs
+ * **The major must stay at 1 through this transition.** Switch Console installs
* already in the field judge compatibility on the major and parse only `x.y`,
* so `1.7` → `1.7.0` reads as the same version to them and nothing is replaced.
* Going to `2.0.0` would make every existing install see this sidecar as
@@ -38,13 +38,13 @@ export const SIDECAR_VERSION = artifactVersion('sidecar');
/** The artifact name the sidecar declares itself as. */
export const SIDECAR_ARTIFACT = 'sidecar';
-/** The artifact name switchdash declares itself as, on the same contract. */
-export const SIDECAR_CLIENT_ARTIFACT = 'switchdash';
+/** The artifact name Switch Console declares itself as, on the same contract. */
+export const SIDECAR_CLIENT_ARTIFACT = 'switch-console';
/** What a sidecar of this build speaks. Written into its ready file. */
export const SIDECAR_CONTROL = contractRange('sidecar-control', SIDECAR_ARTIFACT);
-/** What this switchdash speaks to a sidecar. */
+/** What this Switch Console speaks to a sidecar. */
export const SIDECAR_CLIENT_CONTROL = contractRange('sidecar-control', SIDECAR_CLIENT_ARTIFACT);
/**
@@ -92,7 +92,7 @@ function parseSidecarVersion(version: string | null): {
* tie-breaker rather than a build check. "Is this the same build" stays on the
* content hash, for the reasons above; this only answers "is the sidecar already
* on the host newer than what I ship", so a client never replaces a sidecar
- * deployed by a newer switchdash. Without that ordering, two installs on
+ * deployed by a newer Switch Console. Without that ordering, two installs on
* different releases sharing a host each see the other's build as an upgrade and
* replace it in turn, forever (CHOO-1937).
*/
diff --git a/dash/apps/switchdash-desktop/src/sidecar/vm-tmux.ts b/dash/apps/switch-console-desktop/src/sidecar/vm-tmux.ts
similarity index 84%
rename from dash/apps/switchdash-desktop/src/sidecar/vm-tmux.ts
rename to dash/apps/switch-console-desktop/src/sidecar/vm-tmux.ts
index f5053363e..6d198ec9a 100644
--- a/dash/apps/switchdash-desktop/src/sidecar/vm-tmux.ts
+++ b/dash/apps/switch-console-desktop/src/sidecar/vm-tmux.ts
@@ -1,7 +1,7 @@
/**
- * Bundle-safe tmux helpers, replicated from switchdash's Electron-bound
+ * Bundle-safe tmux helpers, replicated from Switch Console's Electron-bound
* `tmux-session-name.ts` so the sidecar bundle stays free of the main-process
- * logger. A spawned session's tmux name matches what switchdash would compute
+ * logger. A spawned session's tmux name matches what Switch Console would compute
* for the same session, so a later attach reuses the pane.
*/
@@ -10,16 +10,16 @@ export function exactTmuxTarget(sessionName: string): string {
return `=${sessionName}`;
}
-/** Same scheme as switchdash's `makeTmuxSessionName`. */
+/** Same scheme as Switch Console's `makeTmuxSessionName`. */
export function makeTmuxSessionName(sessionId: string): string {
return `switchdash-${Buffer.from(sessionId, 'utf8').toString('base64url')}`;
}
/**
- * Agent pane name, keyed on the shared session id alone. Mirrors switchdash's
+ * Agent pane name, keyed on the shared session id alone. Mirrors Switch Console's
* `makeAgentTmuxSessionName` so the sidecar and every attached client converge
* on ONE pane per session (CHOO-1181). Must not fold in locationId — it is
- * switchdash-instance-local and would diverge per client.
+ * Switch Console-instance-local and would diverge per client.
*/
export function makeAgentTmuxSessionName(sessionId: string): string {
return makeTmuxSessionName(`session-${sessionId}`);
diff --git a/dash/apps/switchdash-desktop/src/types/env.d.ts b/dash/apps/switch-console-desktop/src/types/env.d.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/src/types/env.d.ts
rename to dash/apps/switch-console-desktop/src/types/env.d.ts
diff --git a/dash/apps/switchdash-desktop/tooling/byoi/Dockerfile b/dash/apps/switch-console-desktop/tooling/byoi/Dockerfile
similarity index 97%
rename from dash/apps/switchdash-desktop/tooling/byoi/Dockerfile
rename to dash/apps/switch-console-desktop/tooling/byoi/Dockerfile
index 6e3e8a137..810d04c1c 100644
--- a/dash/apps/switchdash-desktop/tooling/byoi/Dockerfile
+++ b/dash/apps/switch-console-desktop/tooling/byoi/Dockerfile
@@ -71,8 +71,8 @@ RUN sed -i 's/#PasswordAuthentication yes/PasswordAuthentication yes/' /etc/ssh/
USER devuser
WORKDIR /home/devuser
-RUN git config --global user.email "devuser@switchdash-dev" \
- && git config --global user.name "Switchdash Dev" \
+RUN git config --global user.email "devuser@switch-console-dev" \
+ && git config --global user.name "Switch Console Dev" \
&& git config --global init.defaultBranch main \
&& git config --global safe.directory '*'
diff --git a/dash/apps/switchdash-desktop/tooling/byoi/README.md b/dash/apps/switch-console-desktop/tooling/byoi/README.md
similarity index 95%
rename from dash/apps/switchdash-desktop/tooling/byoi/README.md
rename to dash/apps/switch-console-desktop/tooling/byoi/README.md
index 559e1c687..4c9657f3c 100644
--- a/dash/apps/switchdash-desktop/tooling/byoi/README.md
+++ b/dash/apps/switch-console-desktop/tooling/byoi/README.md
@@ -86,12 +86,12 @@ Change `FORWARD_AGENT` to `"true"` if Git commit signing or nested SSH/Git comma
Containers are removed automatically when a task is terminated. To manually clean up any leftover containers:
```bash
-docker ps --filter label=switchdash.purpose=byoi-workspace
-docker rm -f $(docker ps -aq --filter label=switchdash.purpose=byoi-workspace)
+docker ps --filter label=switch-console.purpose=byoi-workspace
+docker rm -f $(docker ps -aq --filter label=switch-console.purpose=byoi-workspace)
```
To remove the cached Docker image and force a rebuild on the next provision:
```bash
-docker rmi switchdash-byoi-workspace
+docker rmi switch-console-byoi-workspace
```
diff --git a/dash/apps/switchdash-desktop/tooling/byoi/entrypoint.sh b/dash/apps/switch-console-desktop/tooling/byoi/entrypoint.sh
similarity index 100%
rename from dash/apps/switchdash-desktop/tooling/byoi/entrypoint.sh
rename to dash/apps/switch-console-desktop/tooling/byoi/entrypoint.sh
diff --git a/dash/apps/switchdash-desktop/tooling/byoi/scripts/provision.sh b/dash/apps/switch-console-desktop/tooling/byoi/scripts/provision.sh
similarity index 93%
rename from dash/apps/switchdash-desktop/tooling/byoi/scripts/provision.sh
rename to dash/apps/switch-console-desktop/tooling/byoi/scripts/provision.sh
index 0fc375d14..8dd9adbc9 100755
--- a/dash/apps/switchdash-desktop/tooling/byoi/scripts/provision.sh
+++ b/dash/apps/switch-console-desktop/tooling/byoi/scripts/provision.sh
@@ -1,10 +1,10 @@
#!/bin/bash
# ──────────────────────────────────────────────────────────────────────────────
-# Switchdash BYOI provision script
+# Switch Console BYOI provision script
#
-# Called by switchdash when a new task is created on a BYOI project. Spins up a
+# Called by Switch Console when a new task is created on a BYOI project. Spins up a
# fresh Docker container, clones this repo into it, and prints the JSON that
-# switchdash needs to SSH into the container.
+# Switch Console needs to SSH into the container.
#
# Requirements on the host: docker, jq
# ──────────────────────────────────────────────────────────────────────────────
@@ -12,7 +12,7 @@ set -euo pipefail
# ── Config ────────────────────────────────────────────────────────────────────
-IMAGE_NAME="switchdash-byoi-workspace"
+IMAGE_NAME="switch-console-byoi-workspace"
CONTAINER_USER="devuser"
CONTAINER_PASS="devpass"
WORKSPACE_PATH="/home/devuser/workspace"
@@ -49,13 +49,13 @@ fi
# ── Start container ───────────────────────────────────────────────────────────
-CONTAINER_NAME="switchdash-ws-$(date +%s)-$$"
+CONTAINER_NAME="switch-console-ws-$(date +%s)-$$"
# Forward API keys if set in the host environment.
# Add more -e flags here for other keys your agent needs.
docker run -d \
--name "$CONTAINER_NAME" \
- --label "switchdash.purpose=byoi-workspace" \
+ --label "switch-console.purpose=byoi-workspace" \
-p "0:22" \
-v "$(pwd):/repo-source:ro" \
${ANTHROPIC_API_KEY:+-e ANTHROPIC_API_KEY="$ANTHROPIC_API_KEY"} \
diff --git a/dash/apps/switchdash-desktop/tooling/byoi/scripts/terminate.sh b/dash/apps/switch-console-desktop/tooling/byoi/scripts/terminate.sh
similarity index 81%
rename from dash/apps/switchdash-desktop/tooling/byoi/scripts/terminate.sh
rename to dash/apps/switch-console-desktop/tooling/byoi/scripts/terminate.sh
index d7db879d8..2443df60d 100755
--- a/dash/apps/switchdash-desktop/tooling/byoi/scripts/terminate.sh
+++ b/dash/apps/switch-console-desktop/tooling/byoi/scripts/terminate.sh
@@ -1,11 +1,11 @@
#!/bin/bash
# ──────────────────────────────────────────────────────────────────────────────
-# Switchdash BYOI terminate script
+# Switch Console BYOI terminate script
#
-# Called by switchdash when a task is terminated. Stops and removes the Docker
+# Called by Switch Console when a task is terminated. Stops and removes the Docker
# container that was created by provision.sh.
#
-# REMOTE_WORKSPACE_ID is set by switchdash to the `id` returned by provision.sh
+# REMOTE_WORKSPACE_ID is set by Switch Console to the `id` returned by provision.sh
# (which is the container name).
# ──────────────────────────────────────────────────────────────────────────────
set -euo pipefail
diff --git a/dash/apps/switchdash-desktop/tooling/fixtures/baseline.db b/dash/apps/switch-console-desktop/tooling/fixtures/baseline.db
similarity index 97%
rename from dash/apps/switchdash-desktop/tooling/fixtures/baseline.db
rename to dash/apps/switch-console-desktop/tooling/fixtures/baseline.db
index bc06aa5fb..20e733efb 100644
Binary files a/dash/apps/switchdash-desktop/tooling/fixtures/baseline.db and b/dash/apps/switch-console-desktop/tooling/fixtures/baseline.db differ
diff --git a/dash/apps/switchdash-desktop/tooling/fixtures/empty.db b/dash/apps/switch-console-desktop/tooling/fixtures/empty.db
similarity index 100%
rename from dash/apps/switchdash-desktop/tooling/fixtures/empty.db
rename to dash/apps/switch-console-desktop/tooling/fixtures/empty.db
diff --git a/dash/apps/switchdash-desktop/tooling/fixtures/pre-0011.db b/dash/apps/switch-console-desktop/tooling/fixtures/pre-0011.db
similarity index 100%
rename from dash/apps/switchdash-desktop/tooling/fixtures/pre-0011.db
rename to dash/apps/switch-console-desktop/tooling/fixtures/pre-0011.db
diff --git a/dash/apps/switchdash-desktop/tooling/fixtures/pre-0012.db b/dash/apps/switch-console-desktop/tooling/fixtures/pre-0012.db
similarity index 100%
rename from dash/apps/switchdash-desktop/tooling/fixtures/pre-0012.db
rename to dash/apps/switch-console-desktop/tooling/fixtures/pre-0012.db
diff --git a/dash/apps/switchdash-desktop/tooling/fixtures/pre-0016.db b/dash/apps/switch-console-desktop/tooling/fixtures/pre-0016.db
similarity index 100%
rename from dash/apps/switchdash-desktop/tooling/fixtures/pre-0016.db
rename to dash/apps/switch-console-desktop/tooling/fixtures/pre-0016.db
diff --git a/dash/apps/switchdash-desktop/tooling/fixtures/pre-0028.db b/dash/apps/switch-console-desktop/tooling/fixtures/pre-0028.db
similarity index 100%
rename from dash/apps/switchdash-desktop/tooling/fixtures/pre-0028.db
rename to dash/apps/switch-console-desktop/tooling/fixtures/pre-0028.db
diff --git a/dash/apps/switchdash-desktop/tooling/fixtures/pre-0031.db b/dash/apps/switch-console-desktop/tooling/fixtures/pre-0031.db
similarity index 100%
rename from dash/apps/switchdash-desktop/tooling/fixtures/pre-0031.db
rename to dash/apps/switch-console-desktop/tooling/fixtures/pre-0031.db
diff --git a/dash/apps/switchdash-desktop/tooling/fixtures/pre-0031.db-shm b/dash/apps/switch-console-desktop/tooling/fixtures/pre-0031.db-shm
similarity index 100%
rename from dash/apps/switchdash-desktop/tooling/fixtures/pre-0031.db-shm
rename to dash/apps/switch-console-desktop/tooling/fixtures/pre-0031.db-shm
diff --git a/dash/apps/switchdash-desktop/tooling/fixtures/pre-0031.db-wal b/dash/apps/switch-console-desktop/tooling/fixtures/pre-0031.db-wal
similarity index 100%
rename from dash/apps/switchdash-desktop/tooling/fixtures/pre-0031.db-wal
rename to dash/apps/switch-console-desktop/tooling/fixtures/pre-0031.db-wal
diff --git a/dash/apps/switchdash-desktop/tooling/generate-fixtures.ts b/dash/apps/switch-console-desktop/tooling/generate-fixtures.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/tooling/generate-fixtures.ts
rename to dash/apps/switch-console-desktop/tooling/generate-fixtures.ts
diff --git a/dash/apps/switchdash-desktop/tooling/node-deps/package-lock.json b/dash/apps/switch-console-desktop/tooling/node-deps/package-lock.json
similarity index 99%
rename from dash/apps/switchdash-desktop/tooling/node-deps/package-lock.json
rename to dash/apps/switch-console-desktop/tooling/node-deps/package-lock.json
index e58d53170..d49a7bcd3 100644
--- a/dash/apps/switchdash-desktop/tooling/node-deps/package-lock.json
+++ b/dash/apps/switch-console-desktop/tooling/node-deps/package-lock.json
@@ -1,10 +1,10 @@
{
- "name": "switchdash-tooling-node-deps",
+ "name": "switch-console-tooling-node-deps",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
- "name": "switchdash-tooling-node-deps",
+ "name": "switch-console-tooling-node-deps",
"dependencies": {
"better-sqlite3": "^12.6.0"
}
diff --git a/dash/apps/switchdash-desktop/tooling/node-deps/package.json b/dash/apps/switch-console-desktop/tooling/node-deps/package.json
similarity index 86%
rename from dash/apps/switchdash-desktop/tooling/node-deps/package.json
rename to dash/apps/switch-console-desktop/tooling/node-deps/package.json
index 58b411413..5c202d2a8 100644
--- a/dash/apps/switchdash-desktop/tooling/node-deps/package.json
+++ b/dash/apps/switch-console-desktop/tooling/node-deps/package.json
@@ -1,5 +1,5 @@
{
- "name": "switchdash-tooling-node-deps",
+ "name": "switch-console-tooling-node-deps",
"private": true,
"description": "Isolated better-sqlite3 compiled for system Node (not Electron). Used by Vitest fixture and migration tests so the root node_modules/better-sqlite3 can stay Electron-compiled at all times.",
"dependencies": {
diff --git a/dash/apps/switchdash-desktop/tooling/oxlint-plugin.js b/dash/apps/switch-console-desktop/tooling/oxlint-plugin.js
similarity index 97%
rename from dash/apps/switchdash-desktop/tooling/oxlint-plugin.js
rename to dash/apps/switch-console-desktop/tooling/oxlint-plugin.js
index b4558e391..1006bdcbe 100644
--- a/dash/apps/switchdash-desktop/tooling/oxlint-plugin.js
+++ b/dash/apps/switch-console-desktop/tooling/oxlint-plugin.js
@@ -16,7 +16,7 @@ function checkSource(context, node) {
export default {
meta: {
- name: 'switchdash',
+ name: 'switch-console',
},
rules: {
'no-tooling-imports': {
diff --git a/dash/apps/switchdash-desktop/tooling/seeds/baseline.ts b/dash/apps/switch-console-desktop/tooling/seeds/baseline.ts
similarity index 94%
rename from dash/apps/switchdash-desktop/tooling/seeds/baseline.ts
rename to dash/apps/switch-console-desktop/tooling/seeds/baseline.ts
index 066857a3e..63e310ffa 100644
--- a/dash/apps/switchdash-desktop/tooling/seeds/baseline.ts
+++ b/dash/apps/switch-console-desktop/tooling/seeds/baseline.ts
@@ -20,7 +20,7 @@ const MSG_A2_ID = 'dddd0002-0000-0000-0000-000000000000';
/**
* Realistic but fully synthetic dataset — no sensitive data.
- * Represents a developer's day-to-day switchdash state: two local locations and
+ * Represents a developer's day-to-day Switch Console state: two local locations and
* one remote, each with a Switch agent, four sessions across various lifecycle
* statuses, and a couple of messages.
*/
@@ -28,9 +28,9 @@ export async function baseline(db: AppDb): Promise<void> {
await db.insert(locations).values([
{
id: LOCATION_A_ID,
- name: 'switchdash',
+ name: 'switch-console',
sshHost: '',
- dir: '/home/dev/projects/switchdash',
+ dir: '/home/dev/projects/switch-console',
},
{
id: LOCATION_B_ID,
@@ -54,7 +54,7 @@ export async function baseline(db: AppDb): Promise<void> {
{
id: AGENT_A_ID,
locationId: LOCATION_A_ID,
- name: 'switchdash',
+ name: 'switch-console',
providerId: 'claude',
switchAgentId: 'switch-agent-a',
apiEndpoint: 'https://switch.example.com',
diff --git a/dash/apps/switchdash-desktop/tooling/seeds/empty.ts b/dash/apps/switch-console-desktop/tooling/seeds/empty.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/tooling/seeds/empty.ts
rename to dash/apps/switch-console-desktop/tooling/seeds/empty.ts
diff --git a/dash/apps/switchdash-desktop/tooling/seeds/index.ts b/dash/apps/switch-console-desktop/tooling/seeds/index.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/tooling/seeds/index.ts
rename to dash/apps/switch-console-desktop/tooling/seeds/index.ts
diff --git a/dash/apps/switchdash-desktop/tooling/utils/db.ts b/dash/apps/switch-console-desktop/tooling/utils/db.ts
similarity index 96%
rename from dash/apps/switchdash-desktop/tooling/utils/db.ts
rename to dash/apps/switch-console-desktop/tooling/utils/db.ts
index 24b1e6f5f..86f8284fc 100644
--- a/dash/apps/switchdash-desktop/tooling/utils/db.ts
+++ b/dash/apps/switch-console-desktop/tooling/utils/db.ts
@@ -42,7 +42,7 @@ export async function openFixture(
name: 'empty' | 'baseline' | (string & {}) = 'baseline'
): Promise<FixtureDb> {
// Create a temp file so each test gets an isolated writable copy.
- const tmpPath = path.join(os.tmpdir(), `switchdash-test-${name}-${crypto.randomUUID()}.db`);
+ const tmpPath = path.join(os.tmpdir(), `switch-console-test-${name}-${crypto.randomUUID()}.db`);
if (name === 'empty') {
// Start from scratch — create an empty database and apply all migrations.
diff --git a/dash/apps/switchdash-desktop/tsconfig.json b/dash/apps/switch-console-desktop/tsconfig.json
similarity index 100%
rename from dash/apps/switchdash-desktop/tsconfig.json
rename to dash/apps/switch-console-desktop/tsconfig.json
diff --git a/dash/apps/switchdash-desktop/vitest.config.ts b/dash/apps/switch-console-desktop/vitest.config.ts
similarity index 100%
rename from dash/apps/switchdash-desktop/vitest.config.ts
rename to dash/apps/switch-console-desktop/vitest.config.ts
diff --git a/dash/apps/switchdash-desktop/src/main/core/secrets/encrypted-app-secrets-store.ts b/dash/apps/switchdash-desktop/src/main/core/secrets/encrypted-app-secrets-store.ts
deleted file mode 100644
index 40adb663c..000000000
--- a/dash/apps/switchdash-desktop/src/main/core/secrets/encrypted-app-secrets-store.ts
+++ /dev/null
@@ -1,80 +0,0 @@
-import { eq } from 'drizzle-orm';
-import { safeStorage } from 'electron';
-import { db as appDb } from '@main/db/client';
-import { appSecrets } from '@main/db/schema';
-
-export class EncryptedAppSecretsStore {
- constructor(
- private readonly db = appDb,
- private readonly safeStorageApi = safeStorage,
- private readonly platform: NodeJS.Platform = process.platform
- ) {}
-
- async getSecret(key: string): Promise<string | null> {
- const rows = await this.db
- .select({ secret: appSecrets.secret })
- .from(appSecrets)
- .where(eq(appSecrets.key, key))
- .limit(1);
-
- const secret = rows[0]?.secret;
- if (!secret) {
- return null;
- }
-
- this.assertSecureStorageAvailable();
- try {
- return this.safeStorageApi.decryptString(Buffer.from(secret, 'base64'));
- } catch (cause) {
- throw new Error(
- `Stored secret '${key}' exists but could not be decrypted. On macOS and Linux the ` +
- `encryption key lives in an OS keychain entry named after the application, so a build ` +
- `whose product name changed is handed a different key and cannot read secrets written ` +
- `by the previous one. Whatever owns this secret has to write it again; for a managed ` +
- `Switch server that means resetting the stack, which deletes its data.`,
- { cause }
- );
- }
- }
-
- async setSecret(key: string, secret: string): Promise<void> {
- this.assertSecureStorageAvailable();
- const encryptedSecret = this.safeStorageApi.encryptString(secret).toString('base64');
-
- await this.setEncryptedSecret(key, encryptedSecret);
- }
-
- async setEncryptedSecret(key: string, encryptedSecret: string): Promise<void> {
- await this.db
- .insert(appSecrets)
- .values({
- key: key,
- secret: encryptedSecret,
- })
- .onConflictDoUpdate({ target: appSecrets.key, set: { secret: encryptedSecret } })
- .execute();
- }
-
- async deleteSecret(key: string): Promise<void> {
- await this.db.delete(appSecrets).where(eq(appSecrets.key, key));
- }
-
- private assertSecureStorageAvailable(): void {
- if (!this.safeStorageApi.isEncryptionAvailable()) {
- throw new Error('Secure secret storage is unavailable on this system.');
- }
-
- if (this.platform !== 'linux') {
- return;
- }
-
- const backend = this.safeStorageApi.getSelectedStorageBackend?.();
- if (backend === 'basic_text') {
- throw new Error(
- 'Secure secret storage is unavailable: Linux safeStorage backend is basic_text.'
- );
- }
- }
-}
-
-export const encryptedAppSecretsStore = new EncryptedAppSecretsStore();
diff --git a/dash/apps/switchdash-desktop/src/shared/urls.test.ts b/dash/apps/switchdash-desktop/src/shared/urls.test.ts
deleted file mode 100644
index 14c7c2ca1..000000000
--- a/dash/apps/switchdash-desktop/src/shared/urls.test.ts
+++ /dev/null
@@ -1,41 +0,0 @@
-import { describe, expect, it } from 'vitest';
-import {
- SWITCHDASH_RELEASES_URL,
- switchdashReleaseApiUrl,
- switchdashReleaseTag,
- switchdashReleaseUrl,
-} from './urls';
-
-describe('switchdashReleaseTag', () => {
- it('namespaces the tag with the switchdash prefix', () => {
- expect(switchdashReleaseTag('0.18.2')).toBe('switchdash-v0.18.2');
- });
-
- it('does not double the v when the version already carries one', () => {
- expect(switchdashReleaseTag('v0.18.2')).toBe('switchdash-v0.18.2');
- });
-
- it('keeps a prerelease identifier intact', () => {
- expect(switchdashReleaseTag('0.19.0-canary.4')).toBe('switchdash-v0.19.0-canary.4');
- });
-});
-
-describe('switchdashReleaseUrl', () => {
- it('links to the namespaced release tag', () => {
- expect(switchdashReleaseUrl('0.18.2')).toBe(
- 'https://github.com/sandbox-quantum/switch/releases/tag/switchdash-v0.18.2'
- );
- });
-
- it('falls back to the releases index when the version is unknown', () => {
- expect(switchdashReleaseUrl(undefined)).toBe(SWITCHDASH_RELEASES_URL);
- });
-});
-
-describe('switchdashReleaseApiUrl', () => {
- it('points at the namespaced tag on the API host', () => {
- expect(switchdashReleaseApiUrl('0.18.2')).toBe(
- 'https://api.github.com/repos/sandbox-quantum/switch/releases/tags/switchdash-v0.18.2'
- );
- });
-});
diff --git a/dash/apps/switchdash-desktop/src/shared/urls.ts b/dash/apps/switchdash-desktop/src/shared/urls.ts
deleted file mode 100644
index c9db81915..000000000
--- a/dash/apps/switchdash-desktop/src/shared/urls.ts
+++ /dev/null
@@ -1,29 +0,0 @@
-export const SWITCHDASH_RELEASES_URL = 'https://github.com/sandbox-quantum/switch/releases';
-const SWITCHDASH_RELEASES_API_URL = 'https://api.github.com/repos/sandbox-quantum/switch/releases';
-
-/**
- * The desktop app shares its repo with switch-core, so its release tags are
- * namespaced `switchdash-v<version>` — see .github/workflows/switchdash-release.yml,
- * which only triggers on that prefix. A bare `v<version>` tag belongs to nothing.
- */
-export function switchdashReleaseTag(version: string): string {
- return `switchdash-v${version.replace(/^v/, '')}`;
-}
-
-/**
- * Release page for one specific version. Falls back to the releases index when
- * the version is unknown, so the link is never dead.
- */
-export function switchdashReleaseUrl(version: string | undefined): string {
- if (!version) return SWITCHDASH_RELEASES_URL;
- return `${SWITCHDASH_RELEASES_URL}/tag/${switchdashReleaseTag(version)}`;
-}
-
-/** GitHub API endpoint for one version's release, for reading its notes. */
-export function switchdashReleaseApiUrl(version: string): string {
- return `${SWITCHDASH_RELEASES_API_URL}/tags/${switchdashReleaseTag(version)}`;
-}
-export const SWITCHDASH_DOCS_URL = 'https://github.com/sandbox-quantum/switch';
-export const SWITCHDASH_ISSUES_URL = 'https://github.com/sandbox-quantum/switch/issues';
-export const SWITCHDASH_ISSUES_NEW_URL =
- 'https://github.com/sandbox-quantum/switch/issues/new/choose';
diff --git a/dash/docs/INSTALL.md b/dash/docs/INSTALL.md
index 198414c51..8b3247dd5 100644
--- a/dash/docs/INSTALL.md
+++ b/dash/docs/INSTALL.md
@@ -16,8 +16,8 @@ no separate sign-up or allowlist. No need to build from source.
`sandbox-quantum/switch`.
2. Open the repo's **[Releases](https://github.com/sandbox-quantum/switch/releases)**
page.
-3. Find the latest release titled **`switchdash <version>`** (tag
- `switchdash-v<version>`).
+3. Find the latest release titled **`Switch Console <version>`** (tag
+ `switch-console-v<version>`).
4. Under **Assets**, download the file for your platform — `.dmg` on macOS, or
one of `.AppImage` / `.deb` / `.rpm` on Linux.
@@ -27,16 +27,16 @@ Workforce hub to be added as a repo reader.
### Option B — command line
```bash
-# Latest switchdash release (requires `gh auth login` with repo access):
-gh release list --repo sandbox-quantum/switch | grep switchdash-v
+# Latest Switch Console release (requires `gh auth login` with repo access):
+gh release list --repo sandbox-quantum/switch | grep switch-console-v
# Download the installer from a specific release (macOS):
-gh release download switchdash-v<version> \
+gh release download switch-console-v<version> \
--repo sandbox-quantum/switch \
--pattern '*.dmg'
# Linux — pick the format your distro uses:
-gh release download switchdash-v<version> \
+gh release download switch-console-v<version> \
--repo sandbox-quantum/switch \
--pattern '*.AppImage' # or '*.deb' / '*.rpm'
```
@@ -46,8 +46,7 @@ gh release download switchdash-v<version> \
## Install (macOS)
-1. Open the downloaded `.dmg` (the download filename still uses the old
- `switchdash-` prefix — only the app's display name changed).
+1. Open the downloaded `.dmg`.
2. Drag **Switch Console** into your **Applications** folder.
### First launch — one-time Gatekeeper bypass
@@ -73,20 +72,20 @@ Linux builds are **unsigned**. Pick the format your distro uses:
- **AppImage** — no install step; make it executable and run it:
```bash
- chmod +x switchdash-x86_64.AppImage
- ./switchdash-x86_64.AppImage
+ chmod +x switch-console-x86_64.AppImage
+ ./switch-console-x86_64.AppImage
```
- **Debian / Ubuntu** (`.deb`):
```bash
- sudo apt install ./switchdash-amd64.deb
+ sudo apt install ./switch-console-amd64.deb
```
- **Fedora / RHEL** (`.rpm`):
```bash
- sudo dnf install ./switchdash-x86_64.rpm
+ sudo dnf install ./switch-console-x86_64.rpm
```
> The app does not yet set a `desktopName`, so desktop environments may not
@@ -113,10 +112,14 @@ re-install (drag over the old app).
## Notes
-- Release **asset filenames are prefixed `switchdash-`** (e.g. `switchdash-arm64.dmg`).
- Only the display name is "Switch Console": the release identity — app id,
- artifact names, and signing — deliberately still carries the **switchdash**
- name so existing installs keep updating.
-- Switch Console releases use the `switchdash-v*` tag prefix and are published with
+- Release **asset filenames are prefixed `switch-console-`** (e.g.
+ `switch-console-arm64.dmg`). The macOS app id still reads `com.switchdash.*`,
+ which is deliberate — it is what carries update continuity for copies
+ installed before the rename, and no user sees it.
+- **Upgrading a Linux install from a pre-rename build:** `apt` and `dnf` see
+ `switch-console` as a new package rather than an upgrade of `switchdash`, so
+ remove the old one yourself (`sudo apt remove switchdash`) or the two sit
+ side by side.
+- Switch Console releases use the `switch-console-v*` tag prefix and are published with
the repo-wide "Latest" badge **off**, so they never collide with other release
streams in this repo.
diff --git a/dash/docs/sidebar-state-model.md b/dash/docs/sidebar-state-model.md
index fe839d455..fe9d8d4d0 100644
--- a/dash/docs/sidebar-state-model.md
+++ b/dash/docs/sidebar-state-model.md
@@ -60,7 +60,7 @@ cache, and that set is only ever this install's **local** agents. Two facts
follow, and they cause most of the observed bugs:
1. A room's member list can only ever contain agents that exist locally in this
- switchdash. Server-side agents are structurally unrenderable.
+ Switch Console. Server-side agents are structurally unrenderable.
2. A membership that was never fetched, and a membership that failed to fetch,
both read as "this agent is in no rooms" — indistinguishable from the truth.
@@ -247,8 +247,8 @@ collapses to an empty array and renders as a confident zero.
leaves case 2 (non-local agents) unfixable. Worth doing the full thing?
2. ~~**Non-local agents.**~~ **Decided (louis.amaudruz).** Both the room's
member list and the invite picker are restricted to agents that exist on this
- switchdash — the sidebar only shows what it can act on. Consequences: a
- server-side agent cannot be invited from switchdash at all, and the room row
+ Switch Console — the sidebar only shows what it can act on. Consequences: a
+ server-side agent cannot be invited from Switch Console at all, and the room row
discloses the count it cannot draw so a hidden member is not mistaken for an
absent one.
3. ~~**Polling.**~~ **Decided (louis.amaudruz).** Add a slow background
diff --git a/dash/package.json b/dash/package.json
index 3817c307b..d041065d5 100644
--- a/dash/package.json
+++ b/dash/package.json
@@ -1,16 +1,16 @@
{
- "name": "switchdash-monorepo",
+ "name": "switch-console-monorepo",
"private": true,
"type": "module",
"scripts": {
- "dev": "pnpm -r --filter './packages/**' run build && pnpm --filter @switchdash/switchdash-desktop run build:sidecar && pnpm -r --parallel --filter './packages/**' --filter @switchdash/switchdash-desktop run dev",
+ "dev": "pnpm -r --filter './packages/**' run build && pnpm --filter @switch-console/desktop run build:sidecar && pnpm -r --parallel --filter './packages/**' --filter @switch-console/desktop run dev",
"build": "pnpm -r run build",
"test": "pnpm -r run test",
"lint": "pnpm -r run lint",
"format": "pnpm -r run format",
"format:check": "pnpm -r run format:check",
"typecheck": "pnpm -r run typecheck",
- "deeplink:reset": "pnpm --filter @switchdash/switchdash-desktop run deeplink:reset"
+ "deeplink:reset": "pnpm --filter @switch-console/desktop run deeplink:reset"
},
"engines": {
"node": ">=24.0.0",
diff --git a/dash/packages/core/package.json b/dash/packages/core/package.json
index a25abe0c3..131889de5 100644
--- a/dash/packages/core/package.json
+++ b/dash/packages/core/package.json
@@ -1,10 +1,10 @@
{
- "name": "@switchdash/core",
+ "name": "@switch-console/core",
"version": "1.0.0",
- "description": "Transport-agnostic core runtime primitives for Switchdash",
+ "description": "Transport-agnostic core runtime primitives for Switch Console",
"license": "Apache-2.0",
"author": {
- "name": "Switchdash Contributors"
+ "name": "Switch Console Contributors"
},
"files": [
"dist"
@@ -46,14 +46,14 @@
"dev": "tsdown --watch",
"build": "tsdown",
"test": "vitest run",
- "lint": "sh -c 'root=$(cd ../.. && pwd); cd \"$root/apps/switchdash-desktop\" && pnpm exec oxlint --config .oxlintrc.json \"$root/packages/core\"'",
+ "lint": "sh -c 'root=$(cd ../.. && pwd); cd \"$root/apps/switch-console-desktop\" && pnpm exec oxlint --config .oxlintrc.json \"$root/packages/core\"'",
"format": "oxfmt",
"format:check": "oxfmt --check",
"typecheck": "tsgo --noEmit -p tsconfig.json"
},
"dependencies": {
"@parcel/watcher": "^2.5.6",
- "@switchdash/shared": "workspace:*",
+ "@switch-console/shared": "workspace:*",
"semver": "^7.8.4",
"smol-toml": "^1.6.0",
"zod": "^4.4.3"
diff --git a/dash/packages/core/src/agents/plugins/capabilities/mcp.ts b/dash/packages/core/src/agents/plugins/capabilities/mcp.ts
index 47ddfbc82..e7262db3e 100644
--- a/dash/packages/core/src/agents/plugins/capabilities/mcp.ts
+++ b/dash/packages/core/src/agents/plugins/capabilities/mcp.ts
@@ -49,7 +49,7 @@ export type IMcpBehavior = {
*
* This does NOT register the Switch MCP server. Both connector plugins ship
* that in their own bundled `.mcp.json`, so it is already present for every
- * session of that host, switchdash-launched or not.
+ * session of that host, Switch Console-launched or not.
*
* Claude Code leaves this undefined: it takes its specialization on argv.
* Codex returns a per-agent profile (`~/.codex/<name>.config.toml`) and
diff --git a/dash/packages/core/src/agents/plugins/capabilities/plugins.ts b/dash/packages/core/src/agents/plugins/capabilities/plugins.ts
index ff6bc5561..c19f7b200 100644
--- a/dash/packages/core/src/agents/plugins/capabilities/plugins.ts
+++ b/dash/packages/core/src/agents/plugins/capabilities/plugins.ts
@@ -16,8 +16,8 @@ export type IPlugins = {
/**
* PluginsDescriptor describes how an agent loads extension plugins.
*
- * kind: 'file-drop' — switchdash drops a file into the agent's plugin directory
- * kind: 'cli' — switchdash invokes the agent's CLI to install/manage plugins
+ * kind: 'file-drop' — Switch Console drops a file into the agent's plugin directory
+ * kind: 'cli' — Switch Console invokes the agent's CLI to install/manage plugins
* kind: 'none' — the agent does not support plugins
*/
export const pluginsCapability = definePluginCapability<IPlugins>()(
diff --git a/dash/packages/core/src/agents/plugins/capabilities/prompt.ts b/dash/packages/core/src/agents/plugins/capabilities/prompt.ts
index 815a1aad3..ecc505933 100644
--- a/dash/packages/core/src/agents/plugins/capabilities/prompt.ts
+++ b/dash/packages/core/src/agents/plugins/capabilities/prompt.ts
@@ -7,14 +7,14 @@ export type CommandContext = {
/**
* Provider-produced args that run the CLI as a specific named agent (from the
* repo-agents capability's `launchArgs`), e.g. Claude's `--agent <name>
- * --settings <creds>`. Kept distinct from user `extraArgs`: switchdash asks the
+ * --settings <creds>`. Kept distinct from user `extraArgs`: Switch Console asks the
* provider how to run agent <name>, and the provider owns the answer (CHOO-1440).
*/
agentArgs?: string[];
autoApprove: boolean;
initialPrompt?: string;
- /** Switchdash session UUID — used as the session token for providers that track their
- * own session across the switchdash lifetime (e.g. claude --session-id, opencode --session). */
+ /** Switch Console session UUID — used as the session token for providers that track their
+ * own session across the Switch Console lifetime (e.g. claude --session-id, opencode --session). */
sessionId?: string;
/** Provider-native session identifier stored by the agent classifier. When present, used
* for resume on providers that generate their own session IDs (e.g. grok, copilot, kimi,
diff --git a/dash/packages/core/src/agents/plugins/capabilities/repo-agents.ts b/dash/packages/core/src/agents/plugins/capabilities/repo-agents.ts
index 7b785abc1..896d5bdde 100644
--- a/dash/packages/core/src/agents/plugins/capabilities/repo-agents.ts
+++ b/dash/packages/core/src/agents/plugins/capabilities/repo-agents.ts
@@ -38,8 +38,8 @@ export type RepoAgentDefinition = {
export const SWITCH_CONNECTOR_TOOL_RULES = ['mcp__plugin_switch-connector_switch'] as const;
/**
- * Every rule switchdash has ever authored, including ones it no longer writes.
- * The paths that strip switchdash's own contributions back out — the subagent
+ * Every rule Switch Console has ever authored, including ones it no longer writes.
+ * The paths that strip Switch Console's own contributions back out — the subagent
* form's read-back and the teardown that removes Switch settings — match against
* this, so a working directory set up before the connector's two MCP servers
* became one runtime is still cleaned up completely instead of keeping a rule
@@ -91,7 +91,7 @@ export type RepoAgentAttributes = Record<string, RepoAgentAttributeValue>;
/**
* How an agent provider creates, runs, and credentials the named agents defined
- * in a working directory. Switchdash has no notion of "subagents" — it just asks
+ * in a working directory. Switch Console has no notion of "subagents" — it just asks
* a provider to create and run an agent with a given name in a directory, and to
* support several such agents in one directory. HOW the provider does that (Claude
* Code uses subagents; another provider might use something else) is entirely the
diff --git a/dash/packages/core/src/agents/plugins/helpers/hook-config.ts b/dash/packages/core/src/agents/plugins/helpers/hook-config.ts
index e2ada1004..100430246 100644
--- a/dash/packages/core/src/agents/plugins/helpers/hook-config.ts
+++ b/dash/packages/core/src/agents/plugins/helpers/hook-config.ts
@@ -135,13 +135,15 @@ export function buildFlatTomlHookConfig(
const stringifyEntry = options.stringifyEntry ?? JSON.stringify;
const getHookEntries = (config: Record<string, unknown>) =>
Array.isArray(config.hooks) ? (config.hooks as Record<string, unknown>[]) : [];
- const hasSwitchdashHook = (config: Record<string, unknown>) =>
+ const hasSwitchConsoleHook = (config: Record<string, unknown>) =>
getHookEntries(config).some((entry) => stringifyEntry(entry).includes(SWITCHDASH_MARKER));
return {
async readHooks(fs: PluginFs): Promise<HookRegistration[]> {
const config = await readTomlConfig(fs, configPath);
- return hasSwitchdashHook(config) ? [{ event: 'switchdash', command: SWITCHDASH_MARKER }] : [];
+ return hasSwitchConsoleHook(config)
+ ? [{ event: 'switchdash', command: SWITCHDASH_MARKER }]
+ : [];
},
async writeHooks(fs: PluginFs, _hooks: HookRegistration[]): Promise<string[]> {
const config = await readTomlConfig(fs, configPath);
@@ -161,7 +163,7 @@ export function buildFlatTomlHookConfig(
},
async getHooksInstalled(fs: PluginFs): Promise<boolean> {
const config = await readTomlConfig(fs, configPath);
- return hasSwitchdashHook(config);
+ return hasSwitchConsoleHook(config);
},
};
}
@@ -187,7 +189,7 @@ export function buildNestedJsonHookConfig(configPath: string, hookSpecs: HookSpe
async writeHooks(fs: PluginFs, _hooks: HookRegistration[]): Promise<string[]> {
const config = await readJsonConfigForUpdate(fs, configPath);
const hooks = (config.hooks ?? {}) as Record<string, unknown[]>;
- // Strip previously-installed switchdash entries once per touched key, THEN
+ // Strip previously-installed Switch Console entries once per touched key, THEN
// append every spec. Doing the strip inside the append loop would let a
// second spec sharing a hookKey (e.g. two PostToolUse matchers) filter
// out the first spec's just-added entry.
diff --git a/dash/packages/core/src/agents/plugins/helpers/hooks.ts b/dash/packages/core/src/agents/plugins/helpers/hooks.ts
index 8d2b8f9ae..540a10411 100644
--- a/dash/packages/core/src/agents/plugins/helpers/hooks.ts
+++ b/dash/packages/core/src/agents/plugins/helpers/hooks.ts
@@ -6,7 +6,7 @@ export type HookCommandOptions = {
export const SWITCHDASH_MARKER = 'SWITCHDASH_HOOK_PORT';
-/** Filter out switchdash-managed entries from a hook array. */
+/** Filter out Switch Console-managed entries from a hook array. */
export function filterUserHooks<T>(entries: T[], stringify?: (entry: T) => string): T[] {
const toStr = stringify ?? JSON.stringify;
return entries.filter((entry) => !toStr(entry).includes(SWITCHDASH_MARKER));
diff --git a/dash/packages/core/src/agents/plugins/helpers/standard-command.ts b/dash/packages/core/src/agents/plugins/helpers/standard-command.ts
index 820b0fc61..c2a6c2e7c 100644
--- a/dash/packages/core/src/agents/plugins/helpers/standard-command.ts
+++ b/dash/packages/core/src/agents/plugins/helpers/standard-command.ts
@@ -38,7 +38,7 @@ export type StandardCommandSpec = {
resumeFlag?: string;
/**
* Flag for passing a session ID, e.g. '--session-id'. On fresh sessions (non-resuming),
- * the switchdash session UUID is passed. On resume sessions, `resumeFlag` is used instead.
+ * the Switch Console session UUID is passed. On resume sessions, `resumeFlag` is used instead.
* If both are the same flag (e.g. grok/copilot), set sessionIdOnResumeOnly=true.
*/
sessionIdFlag?: string;
@@ -79,7 +79,7 @@ export function buildStandardCommand(ctx: CommandContext, spec: StandardCommandS
// Session / resume logic.
// For sessionIdOnResumeOnly providers, use only the provider-native session id.
// If providerSessionId is absent, validSessionId will be undefined → fallback flags apply.
- // For all other providers, the switchdash session UUID (sessionId) is used.
+ // For all other providers, the Switch Console session UUID (sessionId) is used.
const rawSessionId = spec.sessionIdOnResumeOnly ? ctx.providerSessionId : ctx.sessionId;
const hasSessionId = !!rawSessionId;
const validSessionId =
@@ -98,7 +98,7 @@ export function buildStandardCommand(ctx: CommandContext, spec: StandardCommandS
// resumeFlag takes the session ID (e.g. '--resume <id>' or '-r <id>')
args.push(spec.resumeFlag, validSessionId);
} else if (spec.sessionIdFlag && !spec.sessionIdOnResumeOnly) {
- // Use switchdash UUID
+ // Use Switch Console UUID
args.push(spec.resumeFlag, ctx.sessionId!);
} else if (spec.resumeWithoutSessionFlag) {
args.push(...splitFlag(spec.resumeWithoutSessionFlag));
diff --git a/dash/packages/core/src/exec/bound-exec.test.ts b/dash/packages/core/src/exec/bound-exec.test.ts
index 68fa3041d..3e41dd033 100644
--- a/dash/packages/core/src/exec/bound-exec.test.ts
+++ b/dash/packages/core/src/exec/bound-exec.test.ts
@@ -6,7 +6,7 @@ import { createBoundExec, ExecError } from './index';
describe('BoundExec', () => {
it('runs a configured executable from a fixed cwd', async () => {
- const cwd = await mkdtemp(path.join(tmpdir(), 'switchdash-shared-exec-'));
+ const cwd = await mkdtemp(path.join(tmpdir(), 'switch-console-shared-exec-'));
const result = await createBoundExec({ file: process.execPath, cwd }).exec([
'-e',
'console.log(process.cwd())',
@@ -17,7 +17,7 @@ describe('BoundExec', () => {
});
it('streams stdout and lets the consumer stop early', async () => {
- const cwd = await mkdtemp(path.join(tmpdir(), 'switchdash-shared-exec-stream-'));
+ const cwd = await mkdtemp(path.join(tmpdir(), 'switch-console-shared-exec-stream-'));
const chunks: string[] = [];
await createBoundExec({ file: process.execPath, cwd }).execStreaming(
@@ -32,7 +32,7 @@ describe('BoundExec', () => {
});
it('throws ExecError with serializable process details on non-zero exit', async () => {
- const cwd = await mkdtemp(path.join(tmpdir(), 'switchdash-shared-exec-error-'));
+ const cwd = await mkdtemp(path.join(tmpdir(), 'switch-console-shared-exec-error-'));
await expect(
createBoundExec({ file: 'git', cwd }).exec(['rev-parse', '--not-a-real-flag'])
).rejects.toMatchObject({
@@ -43,7 +43,7 @@ describe('BoundExec', () => {
});
it('uses the configured executable path', async () => {
- const dir = await mkdtemp(path.join(tmpdir(), 'switchdash-shared-exec-bin-'));
+ const dir = await mkdtemp(path.join(tmpdir(), 'switch-console-shared-exec-bin-'));
const executable = path.join(dir, 'tool.sh');
const logPath = path.join(dir, 'calls.log');
await writeFile(
@@ -60,7 +60,7 @@ describe('BoundExec', () => {
});
it('rejects timed-out processes with an ExecError', async () => {
- const cwd = await mkdtemp(path.join(tmpdir(), 'switchdash-shared-exec-timeout-'));
+ const cwd = await mkdtemp(path.join(tmpdir(), 'switch-console-shared-exec-timeout-'));
await expect(
createBoundExec({ file: process.execPath, cwd }).exec(
@@ -75,7 +75,7 @@ describe('BoundExec', () => {
});
it('escalates timed-out processes that ignore SIGTERM', async () => {
- const cwd = await mkdtemp(path.join(tmpdir(), 'switchdash-shared-exec-timeout-kill-'));
+ const cwd = await mkdtemp(path.join(tmpdir(), 'switch-console-shared-exec-timeout-kill-'));
const pidPath = path.join(cwd, 'child.pid');
await expect(
diff --git a/dash/packages/core/src/exec/execution-context.ts b/dash/packages/core/src/exec/execution-context.ts
index 4443cd4a0..74f178c71 100644
--- a/dash/packages/core/src/exec/execution-context.ts
+++ b/dash/packages/core/src/exec/execution-context.ts
@@ -1,5 +1,5 @@
-// Shared execution context contract used by @switchdash/core/deps/runtime.
-// Intentionally duplicated in apps/switchdash-desktop/src/main/core/execution-context/types.ts
+// Shared execution context contract used by @switch-console/core/deps/runtime.
+// Intentionally duplicated in apps/switch-console-desktop/src/main/core/execution-context/types.ts
// for incremental migration. The two shapes must stay structurally compatible.
export type { ExecResult } from './types';
diff --git a/dash/packages/core/src/fs/file-watch-service.ts b/dash/packages/core/src/fs/file-watch-service.ts
index 9f3c5d6b4..ec914ca71 100644
--- a/dash/packages/core/src/fs/file-watch-service.ts
+++ b/dash/packages/core/src/fs/file-watch-service.ts
@@ -1,4 +1,4 @@
-import type { IDisposable } from '@switchdash/shared';
+import type { IDisposable } from '@switch-console/shared';
import { ResourceMap } from '../lib';
import { NativeWatch } from './native-watch';
import { realpathOrResolve } from './paths';
diff --git a/dash/packages/core/src/fs/fs-service.test.ts b/dash/packages/core/src/fs/fs-service.test.ts
index 8c55740d9..ac522211c 100644
--- a/dash/packages/core/src/fs/fs-service.test.ts
+++ b/dash/packages/core/src/fs/fs-service.test.ts
@@ -20,7 +20,7 @@ async function eventually<T>(
describe('FsService', () => {
it('reads, stats, checks, and removes real files', async () => {
- const root = await mkdtemp(path.join(tmpdir(), 'switchdash-shared-fs-'));
+ const root = await mkdtemp(path.join(tmpdir(), 'switch-console-shared-fs-'));
const nested = path.join(root, 'nested');
const file = path.join(nested, 'note.txt');
await mkdir(nested);
@@ -57,7 +57,7 @@ describe('FsService', () => {
describe('FileWatchService', () => {
it('emits real file events through ref-counted leases', async () => {
- const root = await mkdtemp(path.join(tmpdir(), 'switchdash-shared-watch-'));
+ const root = await mkdtemp(path.join(tmpdir(), 'switch-console-shared-watch-'));
const watch = new FileWatchService();
const firstEvents: RawFileEvent[] = [];
const secondEvents: RawFileEvent[] = [];
@@ -102,7 +102,7 @@ describe('FileWatchService', () => {
});
it('keeps the shared subscription alive across concurrent release/re-watch', async () => {
- const root = await mkdtemp(path.join(tmpdir(), 'switchdash-shared-watch-relock-'));
+ const root = await mkdtemp(path.join(tmpdir(), 'switch-console-shared-watch-relock-'));
const watch = new FileWatchService();
const events: RawFileEvent[] = [];
@@ -126,7 +126,7 @@ describe('FileWatchService', () => {
});
it('surfaces watcher subscription failures through ready()', async () => {
- const root = path.join(tmpdir(), `switchdash-shared-watch-missing-${Date.now()}`);
+ const root = path.join(tmpdir(), `switch-console-shared-watch-missing-${Date.now()}`);
const watch = new FileWatchService();
try {
diff --git a/dash/packages/core/src/fs/native-watch.ts b/dash/packages/core/src/fs/native-watch.ts
index 1f38272c4..c505923c3 100644
--- a/dash/packages/core/src/fs/native-watch.ts
+++ b/dash/packages/core/src/fs/native-watch.ts
@@ -1,6 +1,6 @@
import fs from 'node:fs/promises';
import parcelWatcher from '@parcel/watcher';
-import type { IDisposable } from '@switchdash/shared';
+import type { IDisposable } from '@switch-console/shared';
import type { RawFileEvent } from './types';
const RESUBSCRIBE_DELAY_MS = 250;
diff --git a/dash/packages/core/src/host-dependencies/capability.ts b/dash/packages/core/src/host-dependencies/capability.ts
index 66adebe61..e95ba7be4 100644
--- a/dash/packages/core/src/host-dependencies/capability.ts
+++ b/dash/packages/core/src/host-dependencies/capability.ts
@@ -50,7 +50,7 @@ export const updateStrategySchema = z.discriminatedUnion('kind', [
z.object({ kind: z.literal('package-manager') }),
/** Run the dependency's own update subcommand, e.g. `claude update`. */
z.object({ kind: z.literal('cli'), args: z.array(z.string()) }),
- /** Dependency manages its own updates; switchdash reports the version diff but takes no action. */
+ /** Dependency manages its own updates; Switch Console reports the version diff but takes no action. */
z.object({ kind: z.literal('auto') }),
z.object({ kind: z.literal('none') }),
]);
@@ -71,7 +71,7 @@ export const uninstallStrategySchema = z.discriminatedUnion('kind', [
z.object({ kind: z.literal('package-manager') }),
/** Run the dependency's own uninstall subcommand, e.g. `claude uninstall`. */
z.object({ kind: z.literal('cli'), args: z.array(z.string()) }),
- /** Uninstall not supported via switchdash; hide the option in the UI. */
+ /** Uninstall not supported via Switch Console; hide the option in the UI. */
z.object({ kind: z.literal('none') }),
]);
export type UninstallStrategy = z.output<typeof uninstallStrategySchema>;
diff --git a/dash/packages/core/src/host-dependencies/runtime/host-dependency-manager.test.ts b/dash/packages/core/src/host-dependencies/runtime/host-dependency-manager.test.ts
index bcb1809f6..f9a5c6196 100644
--- a/dash/packages/core/src/host-dependencies/runtime/host-dependency-manager.test.ts
+++ b/dash/packages/core/src/host-dependencies/runtime/host-dependency-manager.test.ts
@@ -1,4 +1,4 @@
-import { err, ok } from '@switchdash/shared';
+import { err, ok } from '@switch-console/shared';
import { describe, expect, it, vi } from 'vitest';
import type { IExecutionContext } from '../../exec/execution-context';
import { HostDependencyManager } from './host-dependency-manager';
diff --git a/dash/packages/core/src/host-dependencies/runtime/host-dependency-manager.ts b/dash/packages/core/src/host-dependencies/runtime/host-dependency-manager.ts
index ad6ac95d8..19c28f267 100644
--- a/dash/packages/core/src/host-dependencies/runtime/host-dependency-manager.ts
+++ b/dash/packages/core/src/host-dependencies/runtime/host-dependency-manager.ts
@@ -1,4 +1,4 @@
-import { Emitter, err, ok, type Result } from '@switchdash/shared';
+import { Emitter, err, ok, type Result } from '@switch-console/shared';
import type { IExecutionContext } from '../../exec/execution-context';
import { isTransportFailure } from '../../exec/transport-error';
import { consoleLogger, type Logger } from '../../lib/logger';
@@ -68,7 +68,7 @@ function isRealInstallMethod(kind: Provenance['kind'] | null | undefined): kind
}
/**
- * Derives whether switchdash can manage (update/uninstall) an installation given its
+ * Derives whether Switch Console can manage (update/uninstall) an installation given its
* provenance and the dependency's update/uninstall strategy.
*
* - CLI strategy: always manageable (binary self-updates regardless of install source)
diff --git a/dash/packages/core/src/host-dependencies/runtime/install-options.ts b/dash/packages/core/src/host-dependencies/runtime/install-options.ts
index 71ab4832c..ec23e7e24 100644
--- a/dash/packages/core/src/host-dependencies/runtime/install-options.ts
+++ b/dash/packages/core/src/host-dependencies/runtime/install-options.ts
@@ -1,7 +1,7 @@
import type { InstallOption, Platform } from '../capability';
import type { DependencyDescriptor } from './types';
-/** Map Node.js `process.platform` to the switchdash `Platform` type. */
+/** Map Node.js `process.platform` to the Switch Console `Platform` type. */
export function toPlatform(p: NodeJS.Platform): Platform {
if (p === 'darwin') return 'macos';
if (p === 'win32') return 'windows';
diff --git a/dash/packages/core/src/host-dependencies/runtime/types.ts b/dash/packages/core/src/host-dependencies/runtime/types.ts
index c99b8dd16..c0379c797 100644
--- a/dash/packages/core/src/host-dependencies/runtime/types.ts
+++ b/dash/packages/core/src/host-dependencies/runtime/types.ts
@@ -1,4 +1,4 @@
-import type { Result } from '@switchdash/shared';
+import type { Result } from '@switch-console/shared';
import z from 'zod';
import type {
InstallMethod,
@@ -119,13 +119,13 @@ export function resolveSelectedSource(override: InstallOverride | null): Selecte
}
/**
- * Returns true when an installation can be updated via switchdash's update action.
+ * Returns true when an installation can be updated via Switch Console's update action.
*
* Uses the installation's `manageable` flag (computed from provenance + descriptor
* strategy) plus the strategy kind:
* - CLI strategy: always true when manageable (binary self-updates regardless of source)
* - package-manager strategy: true when manageable (confirmed provenance)
- * - auto / none: never updatable through switchdash
+ * - auto / none: never updatable through Switch Console
*/
export function installationCanUpdate(
inst: Installation,
@@ -189,7 +189,7 @@ export function normalizeSelection(raw: unknown): InstallOverride | null {
* it is the literal string 'path' or 'cli' (preserved for backward-compat lookups).
*
* Provenance captures how the binary was installed and the confidence level.
- * `manageable` indicates whether switchdash can update/uninstall this installation.
+ * `manageable` indicates whether Switch Console can update/uninstall this installation.
*/
export type Installation = {
/**
@@ -204,7 +204,7 @@ export type Installation = {
pathEntry: string | null;
/** True when this is the current PATH winner (first `which` result). */
isActive: boolean;
- /** Whether switchdash can manage (update/uninstall) this installation via its UI. */
+ /** Whether Switch Console can manage (update/uninstall) this installation via its UI. */
manageable: boolean;
/** How this binary was installed and how confidently we know it. */
provenance: Provenance;
diff --git a/dash/packages/core/src/lib/live-model.ts b/dash/packages/core/src/lib/live-model.ts
index bd51e5126..b4f541b28 100644
--- a/dash/packages/core/src/lib/live-model.ts
+++ b/dash/packages/core/src/lib/live-model.ts
@@ -1,4 +1,4 @@
-import { Emitter, isDeepEqual, type IDisposable, type Unsubscribe } from '@switchdash/shared';
+import { Emitter, isDeepEqual, type IDisposable, type Unsubscribe } from '@switch-console/shared';
export type LiveValue<T> = {
value: T;
diff --git a/dash/packages/core/src/lib/resource-map.ts b/dash/packages/core/src/lib/resource-map.ts
index 2b10b9da0..8d10e96f3 100644
--- a/dash/packages/core/src/lib/resource-map.ts
+++ b/dash/packages/core/src/lib/resource-map.ts
@@ -1,4 +1,4 @@
-import type { IDisposable, Lease } from '@switchdash/shared';
+import type { IDisposable, Lease } from '@switch-console/shared';
export type ResourceMapOptions<T> = {
/** Tears down a provisioned value after its last lease is released. */
diff --git a/dash/packages/plugins/package.json b/dash/packages/plugins/package.json
index 22dcc822f..b9dd4ea40 100644
--- a/dash/packages/plugins/package.json
+++ b/dash/packages/plugins/package.json
@@ -1,5 +1,5 @@
{
- "name": "@switchdash/plugins",
+ "name": "@switch-console/plugins",
"version": "1.0.0",
"description": "Plugin interfaces and helpers for agent providers",
"keywords": [],
@@ -23,11 +23,11 @@
"test:watch": "vitest",
"format": "oxfmt --write",
"format:check": "oxfmt --check",
- "lint": "sh -c 'root=$(cd ../.. && pwd); cd \"$root/apps/switchdash-desktop\" && pnpm exec oxlint --config .oxlintrc.json \"$root/packages/plugins/src\"'",
+ "lint": "sh -c 'root=$(cd ../.. && pwd); cd \"$root/apps/switch-console-desktop\" && pnpm exec oxlint --config .oxlintrc.json \"$root/packages/plugins/src\"'",
"typecheck": "tsgo --noEmit"
},
"dependencies": {
- "@switchdash/core": "workspace:*",
+ "@switch-console/core": "workspace:*",
"smol-toml": "^1.6.0",
"zod": "^4.4.3"
},
diff --git a/dash/packages/plugins/src/agents/impl/amp/icon.ts b/dash/packages/plugins/src/agents/impl/amp/icon.ts
index ee12b5dfa..e1e322f89 100644
--- a/dash/packages/plugins/src/agents/impl/amp/icon.ts
+++ b/dash/packages/plugins/src/agents/impl/amp/icon.ts
@@ -1,4 +1,4 @@
-import type { AgentIconAsset } from '@switchdash/core/agents/plugins';
+import type { AgentIconAsset } from '@switch-console/core/agents/plugins';
export const icon: AgentIconAsset = {
kind: 'svg',
diff --git a/dash/packages/plugins/src/agents/impl/amp/index.ts b/dash/packages/plugins/src/agents/impl/amp/index.ts
index b4a934f18..a198935e3 100644
--- a/dash/packages/plugins/src/agents/impl/amp/index.ts
+++ b/dash/packages/plugins/src/agents/impl/amp/index.ts
@@ -1,10 +1,10 @@
-import { definePlugin, registerPluginBehavior } from '@switchdash/core/agents/plugins';
+import { definePlugin, registerPluginBehavior } from '@switch-console/core/agents/plugins';
import {
ampMcpAdapter,
buildStandardCommand,
createFileDropPlugin,
npmDependency,
-} from '@switchdash/core/agents/plugins/helpers';
+} from '@switch-console/core/agents/plugins/helpers';
import { AMP_PLUGIN_CONTENT } from './plugin-file';
const AMP_PLUGIN_PATH = '.amp/plugins/switchdash-hook.ts';
diff --git a/dash/packages/plugins/src/agents/impl/amp/plugin-file.ts b/dash/packages/plugins/src/agents/impl/amp/plugin-file.ts
index 204d5baf0..e48e08c82 100644
--- a/dash/packages/plugins/src/agents/impl/amp/plugin-file.ts
+++ b/dash/packages/plugins/src/agents/impl/amp/plugin-file.ts
@@ -1,4 +1,4 @@
-// Verbatim source of the Amp switchdash hook plugin, embedded as a string constant.
+// Verbatim source of the Amp Switch Console hook plugin, embedded as a string constant.
// This file is intentionally kept as plain TypeScript so it can be inlined at runtime
// without a bundler asset pipeline.
export const AMP_PLUGIN_CONTENT = `\
@@ -23,7 +23,7 @@ async function notifySwitchdash(eventType: 'start' | 'stop', body: Record<string
body: JSON.stringify(body),
});
} catch {
- // Switchdash may not be running when Amp is launched directly; ignore hook failures.
+ // Switch Console may not be running when Amp is launched directly; ignore hook failures.
}
}
diff --git a/dash/packages/plugins/src/agents/impl/antigravity/icon.ts b/dash/packages/plugins/src/agents/impl/antigravity/icon.ts
index f4fbb8c5a..2daf06166 100644
--- a/dash/packages/plugins/src/agents/impl/antigravity/icon.ts
+++ b/dash/packages/plugins/src/agents/impl/antigravity/icon.ts
@@ -1,4 +1,4 @@
-import type { AgentIconAsset } from '@switchdash/core/agents/plugins';
+import type { AgentIconAsset } from '@switch-console/core/agents/plugins';
export const icon: AgentIconAsset = {
kind: 'svg',
diff --git a/dash/packages/plugins/src/agents/impl/antigravity/index.ts b/dash/packages/plugins/src/agents/impl/antigravity/index.ts
index 42c01eb80..eda0415b3 100644
--- a/dash/packages/plugins/src/agents/impl/antigravity/index.ts
+++ b/dash/packages/plugins/src/agents/impl/antigravity/index.ts
@@ -1,5 +1,5 @@
-import { definePlugin, registerPluginBehavior } from '@switchdash/core/agents/plugins';
-import { buildStandardCommand } from '@switchdash/core/agents/plugins/helpers';
+import { definePlugin, registerPluginBehavior } from '@switch-console/core/agents/plugins';
+import { buildStandardCommand } from '@switch-console/core/agents/plugins/helpers';
import { icon } from './icon';
export const plugin = definePlugin(
diff --git a/dash/packages/plugins/src/agents/impl/auggie/icon.ts b/dash/packages/plugins/src/agents/impl/auggie/icon.ts
index 6ef5dade2..33fd4706b 100644
--- a/dash/packages/plugins/src/agents/impl/auggie/icon.ts
+++ b/dash/packages/plugins/src/agents/impl/auggie/icon.ts
@@ -1,4 +1,4 @@
-import type { AgentIconAsset } from '@switchdash/core/agents/plugins';
+import type { AgentIconAsset } from '@switch-console/core/agents/plugins';
export const icon: AgentIconAsset = {
kind: 'svg',
diff --git a/dash/packages/plugins/src/agents/impl/auggie/index.ts b/dash/packages/plugins/src/agents/impl/auggie/index.ts
index 891fea5d2..89c741617 100644
--- a/dash/packages/plugins/src/agents/impl/auggie/index.ts
+++ b/dash/packages/plugins/src/agents/impl/auggie/index.ts
@@ -1,5 +1,5 @@
-import { definePlugin, registerPluginBehavior } from '@switchdash/core/agents/plugins';
-import { buildStandardCommand, npmDependency } from '@switchdash/core/agents/plugins/helpers';
+import { definePlugin, registerPluginBehavior } from '@switch-console/core/agents/plugins';
+import { buildStandardCommand, npmDependency } from '@switch-console/core/agents/plugins/helpers';
import { icon } from './icon';
export const plugin = definePlugin(
diff --git a/dash/packages/plugins/src/agents/impl/autohand/icon.ts b/dash/packages/plugins/src/agents/impl/autohand/icon.ts
index 34e45be3e..cbb30f517 100644
--- a/dash/packages/plugins/src/agents/impl/autohand/icon.ts
+++ b/dash/packages/plugins/src/agents/impl/autohand/icon.ts
@@ -1,4 +1,4 @@
-import type { AgentIconAsset } from '@switchdash/core/agents/plugins';
+import type { AgentIconAsset } from '@switch-console/core/agents/plugins';
export const icon: AgentIconAsset = {
kind: 'svg',
diff --git a/dash/packages/plugins/src/agents/impl/autohand/index.ts b/dash/packages/plugins/src/agents/impl/autohand/index.ts
index 710316ff6..f0df0d675 100644
--- a/dash/packages/plugins/src/agents/impl/autohand/index.ts
+++ b/dash/packages/plugins/src/agents/impl/autohand/index.ts
@@ -1,5 +1,5 @@
-import { definePlugin, registerPluginBehavior } from '@switchdash/core/agents/plugins';
-import { buildStandardCommand, npmDependency } from '@switchdash/core/agents/plugins/helpers';
+import { definePlugin, registerPluginBehavior } from '@switch-console/core/agents/plugins';
+import { buildStandardCommand, npmDependency } from '@switch-console/core/agents/plugins/helpers';
import { icon } from './icon';
export const plugin = definePlugin(
diff --git a/dash/packages/plugins/src/agents/impl/charm/icon.ts b/dash/packages/plugins/src/agents/impl/charm/icon.ts
index 54d658920..b6c92e2e3 100644
--- a/dash/packages/plugins/src/agents/impl/charm/icon.ts
+++ b/dash/packages/plugins/src/agents/impl/charm/icon.ts
@@ -1,4 +1,4 @@
-import type { AgentIconAsset } from '@switchdash/core/agents/plugins';
+import type { AgentIconAsset } from '@switch-console/core/agents/plugins';
export const icon: AgentIconAsset = {
kind: 'image',
diff --git a/dash/packages/plugins/src/agents/impl/charm/index.ts b/dash/packages/plugins/src/agents/impl/charm/index.ts
index d5676301b..c3f422ac7 100644
--- a/dash/packages/plugins/src/agents/impl/charm/index.ts
+++ b/dash/packages/plugins/src/agents/impl/charm/index.ts
@@ -1,5 +1,5 @@
-import { definePlugin, registerPluginBehavior } from '@switchdash/core/agents/plugins';
-import { buildStandardCommand, npmDependency } from '@switchdash/core/agents/plugins/helpers';
+import { definePlugin, registerPluginBehavior } from '@switch-console/core/agents/plugins';
+import { buildStandardCommand, npmDependency } from '@switch-console/core/agents/plugins/helpers';
import { icon } from './icon';
export const plugin = definePlugin(
diff --git a/dash/packages/plugins/src/agents/impl/claude/hooks.test.ts b/dash/packages/plugins/src/agents/impl/claude/hooks.test.ts
index 526fb2539..e908baac8 100644
--- a/dash/packages/plugins/src/agents/impl/claude/hooks.test.ts
+++ b/dash/packages/plugins/src/agents/impl/claude/hooks.test.ts
@@ -1,4 +1,4 @@
-import type { PluginFs } from '@switchdash/core/agents/plugins';
+import type { PluginFs } from '@switch-console/core/agents/plugins';
import { describe, expect, it } from 'vitest';
import { CLAUDE_SETTINGS_PATH, buildClaudeHookConfig } from './hooks';
diff --git a/dash/packages/plugins/src/agents/impl/claude/hooks.ts b/dash/packages/plugins/src/agents/impl/claude/hooks.ts
index 823fb8122..b7c3c28ff 100644
--- a/dash/packages/plugins/src/agents/impl/claude/hooks.ts
+++ b/dash/packages/plugins/src/agents/impl/claude/hooks.ts
@@ -1,4 +1,4 @@
-import type { CanonicalHookEvent, NotificationType } from '@switchdash/core/agents/plugins';
+import type { CanonicalHookEvent, NotificationType } from '@switch-console/core/agents/plugins';
import {
baseName,
buildNestedJsonHookConfig,
@@ -9,7 +9,7 @@ import {
toolInputOf,
toolLabel,
toolNameOf,
-} from '@switchdash/core/agents/plugins/helpers';
+} from '@switch-console/core/agents/plugins/helpers';
export const CLAUDE_SETTINGS_PATH = '.claude/settings.local.json';
@@ -155,7 +155,7 @@ export function buildClaudeHookConfig() {
{ hookKey: 'Notification', command: makeStdinHookCommand('notification') },
{ hookKey: 'Stop', command: makeStdinHookCommand('stop') },
// Switch room detection: report the room a session connects to so
- // switchdash can surface membership and drive notification injection.
+ // Switch Console can surface membership and drive notification injection.
{
hookKey: 'PostToolUse',
matcher: 'mcp__.*__connect_to_room',
diff --git a/dash/packages/plugins/src/agents/impl/claude/icon.ts b/dash/packages/plugins/src/agents/impl/claude/icon.ts
index b9bc3c97b..f20aa0720 100644
--- a/dash/packages/plugins/src/agents/impl/claude/icon.ts
+++ b/dash/packages/plugins/src/agents/impl/claude/icon.ts
@@ -1,4 +1,4 @@
-import type { AgentIconAsset } from '@switchdash/core/agents/plugins';
+import type { AgentIconAsset } from '@switch-console/core/agents/plugins';
export const icon: AgentIconAsset = {
kind: 'svg',
diff --git a/dash/packages/plugins/src/agents/impl/claude/index.ts b/dash/packages/plugins/src/agents/impl/claude/index.ts
index 68e52d0ef..3fb5bb248 100644
--- a/dash/packages/plugins/src/agents/impl/claude/index.ts
+++ b/dash/packages/plugins/src/agents/impl/claude/index.ts
@@ -1,9 +1,9 @@
-import { definePlugin, registerPluginBehavior } from '@switchdash/core/agents/plugins';
+import { definePlugin, registerPluginBehavior } from '@switch-console/core/agents/plugins';
import {
buildStandardCommand,
homebrewOption,
passthroughMcpAdapter,
-} from '@switchdash/core/agents/plugins/helpers';
+} from '@switch-console/core/agents/plugins/helpers';
import { SWITCH_MARKETPLACE_SOURCE } from '../../../distribution';
import { buildClaudeHookConfig } from './hooks';
import { icon } from './icon';
diff --git a/dash/packages/plugins/src/agents/impl/claude/subagents.test.ts b/dash/packages/plugins/src/agents/impl/claude/subagents.test.ts
index a88eb612c..6f6a48e8f 100644
--- a/dash/packages/plugins/src/agents/impl/claude/subagents.test.ts
+++ b/dash/packages/plugins/src/agents/impl/claude/subagents.test.ts
@@ -1,4 +1,4 @@
-import type { PluginFs } from '@switchdash/core/agents/plugins';
+import type { PluginFs } from '@switch-console/core/agents/plugins';
import { describe, expect, it } from 'vitest';
import { CLAUDE_SUBAGENTS, claudeRepoAgentsBehavior } from './subagents';
@@ -175,7 +175,7 @@ describe('claudeRepoAgentsBehavior.writeDefinition / readDefinition', () => {
expect(attrs?.tools).toEqual(['Read', 'Grep']);
});
- it('strips the retired switch-channel rule an older switchdash wrote', async () => {
+ it('strips the retired switch-channel rule an older Switch Console wrote', async () => {
const workspaceFs = fakeFs({
[defRel('reviewer')]: [
'---',
@@ -191,7 +191,7 @@ describe('claudeRepoAgentsBehavior.writeDefinition / readDefinition', () => {
const attrs = await claudeRepoAgentsBehavior.readDefinition(workspaceFs, 'reviewer');
expect(attrs?.tools).toEqual(['Read']);
- // And it is not written back: only the rule switchdash still authors is.
+ // And it is not written back: only the rule Switch Console still authors is.
await claudeRepoAgentsBehavior.writeDefinition(workspaceFs, attrs ?? {});
const raw = (await workspaceFs.read(defRel('reviewer'))) ?? '';
expect(raw).toContain('tools: Read, mcp__plugin_switch-connector_switch\n');
diff --git a/dash/packages/plugins/src/agents/impl/claude/subagents.ts b/dash/packages/plugins/src/agents/impl/claude/subagents.ts
index c27f3e563..830f23d2e 100644
--- a/dash/packages/plugins/src/agents/impl/claude/subagents.ts
+++ b/dash/packages/plugins/src/agents/impl/claude/subagents.ts
@@ -9,7 +9,7 @@ import {
RECOGNISED_SWITCH_CONNECTOR_TOOL_RULES,
SWITCH_AGENT_SETTINGS_DIR,
SWITCH_CONNECTOR_TOOL_RULES,
-} from '@switchdash/core/agents/plugins';
+} from '@switch-console/core/agents/plugins';
/**
* Claude Code subagents. Definitions live in `.claude/agents/<name>.md`; once
@@ -22,7 +22,7 @@ import {
/**
* Forward-slash literals, never `path.join`: these are relative paths handed to
* a `PluginFs`, which is either the local disk or a remote POSIX host over SFTP,
- * and `path.join` emits backslashes when switchdash runs on Windows. Same rule
+ * and `path.join` emits backslashes when Switch Console runs on Windows. Same rule
* as `switch-settings-paths.ts`.
*/
export const CLAUDE_SUBAGENTS = {
@@ -39,7 +39,7 @@ const SWITCH_ENV_KEYS = ['SWITCH_API_ENDPOINT', 'SWITCH_API_TOKEN', 'SWITCH_AGEN
const SWITCH_MCP_TOOL_PREFIX = 'mcp__plugin_switch-connector_switch';
/** Rules to strip on read-back, so the form shows only the user's own tools.
- * Wider than what is written, so a definition authored by an older switchdash
+ * Wider than what is written, so a definition authored by an older Switch Console
* does not surface a retired rule as if the user had chosen it. */
const SWITCH_RULES: readonly string[] = RECOGNISED_SWITCH_CONNECTOR_TOOL_RULES;
@@ -451,7 +451,7 @@ export const claudeRepoAgentsBehavior: IRepoAgentsBehavior = {
launchArgs(workingDir, agentName): string[] {
// `path.posix`: workingDir is the agent's dir on whatever host it runs on,
// which for a remote agent is a POSIX path on the VM. Plain `path.join` on a
- // Windows switchdash would emit backslash separators into a flag that a
+ // Windows Switch Console would emit backslash separators into a flag that a
// Linux shell then has to parse.
return [
'--agent',
diff --git a/dash/packages/plugins/src/agents/impl/cline/icon.ts b/dash/packages/plugins/src/agents/impl/cline/icon.ts
index a4fa6cb63..4c64b7420 100644
--- a/dash/packages/plugins/src/agents/impl/cline/icon.ts
+++ b/dash/packages/plugins/src/agents/impl/cline/icon.ts
@@ -1,4 +1,4 @@
-import type { AgentIconAsset } from '@switchdash/core/agents/plugins';
+import type { AgentIconAsset } from '@switch-console/core/agents/plugins';
export const icon: AgentIconAsset = {
kind: 'image',
diff --git a/dash/packages/plugins/src/agents/impl/cline/index.ts b/dash/packages/plugins/src/agents/impl/cline/index.ts
index 04859446b..8516baf7c 100644
--- a/dash/packages/plugins/src/agents/impl/cline/index.ts
+++ b/dash/packages/plugins/src/agents/impl/cline/index.ts
@@ -1,5 +1,5 @@
-import { definePlugin, registerPluginBehavior } from '@switchdash/core/agents/plugins';
-import { buildStandardCommand, npmDependency } from '@switchdash/core/agents/plugins/helpers';
+import { definePlugin, registerPluginBehavior } from '@switch-console/core/agents/plugins';
+import { buildStandardCommand, npmDependency } from '@switch-console/core/agents/plugins/helpers';
import { icon } from './icon';
export const plugin = definePlugin(
diff --git a/dash/packages/plugins/src/agents/impl/codebuff/icon.ts b/dash/packages/plugins/src/agents/impl/codebuff/icon.ts
index b0c5ad12b..9036c90ff 100644
--- a/dash/packages/plugins/src/agents/impl/codebuff/icon.ts
+++ b/dash/packages/plugins/src/agents/impl/codebuff/icon.ts
@@ -1,4 +1,4 @@
-import type { AgentIconAsset } from '@switchdash/core/agents/plugins';
+import type { AgentIconAsset } from '@switch-console/core/agents/plugins';
export const icon: AgentIconAsset = {
kind: 'image',
diff --git a/dash/packages/plugins/src/agents/impl/codebuff/index.ts b/dash/packages/plugins/src/agents/impl/codebuff/index.ts
index 82f367912..a7e66fa28 100644
--- a/dash/packages/plugins/src/agents/impl/codebuff/index.ts
+++ b/dash/packages/plugins/src/agents/impl/codebuff/index.ts
@@ -1,5 +1,5 @@
-import { definePlugin, registerPluginBehavior } from '@switchdash/core/agents/plugins';
-import { buildStandardCommand, npmDependency } from '@switchdash/core/agents/plugins/helpers';
+import { definePlugin, registerPluginBehavior } from '@switch-console/core/agents/plugins';
+import { buildStandardCommand, npmDependency } from '@switch-console/core/agents/plugins/helpers';
import { icon } from './icon';
export const plugin = definePlugin(
diff --git a/dash/packages/plugins/src/agents/impl/codex/command.test.ts b/dash/packages/plugins/src/agents/impl/codex/command.test.ts
index 055cf4653..a6cc94471 100644
--- a/dash/packages/plugins/src/agents/impl/codex/command.test.ts
+++ b/dash/packages/plugins/src/agents/impl/codex/command.test.ts
@@ -1,4 +1,4 @@
-import type { CommandContext } from '@switchdash/core/agents/plugins';
+import type { CommandContext } from '@switch-console/core/agents/plugins';
import { describe, expect, it } from 'vitest';
import { provider } from './index';
@@ -10,12 +10,12 @@ const base: CommandContext = {
cli: 'codex',
autoApprove: false,
isResuming: false,
- sessionId: 'switchdash-session',
+ sessionId: 'switch-console-session',
model: '',
};
// Emitted for every session: Codex runs no hook it has no persisted trust
-// entry for, and switchdash's hooks are how it reads the session's status and
+// entry for, and Switch Console's hooks are how it reads the session's status and
// captures the rollout id.
const TRUST_FLAG = '--dangerously-bypass-hook-trust';
@@ -27,14 +27,14 @@ describe('codex buildCommand', () => {
const cmd = build({ ...base, autoApprove: true, initialPrompt: 'Fix the bug' });
expect(cmd.command).toBe('codex');
- // sessionIdOnResumeOnly → the switchdash UUID is never injected on a fresh run.
+ // sessionIdOnResumeOnly → the Switch Console UUID is never injected on a fresh run.
// Full structural check: auto-approve flags in order, prompt last.
expect(cmd.args).toEqual([TRUST_FLAG, ...AUTO_FLAGS, 'Fix the bug']);
});
it('omits auto-approve args when autoApprove is false, but keeps hook trust', () => {
// Hook trust is orthogonal to approvals: gate it on auto-approve and a
- // default agent runs none of switchdash's hooks, taking the session's status
+ // default agent runs none of Switch Console's hooks, taking the session's status
// signals and its rollout-id capture with them.
const cmd = build({ ...base, initialPrompt: 'hello' });
expect(cmd.args).not.toContain('approval_policy="never"');
@@ -44,7 +44,7 @@ describe('codex buildCommand', () => {
it('never overrides the sandbox, whatever the approval setting', () => {
// Codex runs hooks outside the sandbox — verified against 0.146.0, a
// SessionStart hook curling 127.0.0.1 succeeds under workspace-write — so
- // switchdash's loopback hooks are no reason to hand a session full disk and
+ // Switch Console's loopback hooks are no reason to hand a session full disk and
// network access it was never asked to have.
for (const autoApprove of [true, false]) {
const cmd = build({ ...base, autoApprove, initialPrompt: 'hello' });
diff --git a/dash/packages/plugins/src/agents/impl/codex/hooks.test.ts b/dash/packages/plugins/src/agents/impl/codex/hooks.test.ts
index 099af58d3..5cb6bd5c6 100644
--- a/dash/packages/plugins/src/agents/impl/codex/hooks.test.ts
+++ b/dash/packages/plugins/src/agents/impl/codex/hooks.test.ts
@@ -3,7 +3,7 @@ import { mkdtemp, rm, writeFile } from 'node:fs/promises';
import { tmpdir } from 'node:os';
import path from 'node:path';
import { promisify } from 'node:util';
-import type { HookEvent, PluginFs } from '@switchdash/core/agents/plugins';
+import type { HookEvent, PluginFs } from '@switch-console/core/agents/plugins';
import { describe, expect, it } from 'vitest';
import { CODEX_CONFIG_PATH, CODEX_HOOKS_PATH, buildCodexHookConfig } from './hooks';
import { plugin } from './index';
@@ -15,7 +15,7 @@ const execFileAsync = promisify(execFile);
* feeding it an event payload on stdin the way Codex does, and report the URL
* and request body it would have posted.
*
- * A copy of the harness in `@switchdash/core`'s `helpers/hooks.test.ts`; this
+ * A copy of the harness in `@switch-console/core`'s `helpers/hooks.test.ts`; this
* package resolves that one through `dist` subpath exports, which do not carry
* test files.
*/
@@ -57,7 +57,7 @@ async function runHookCommand(
}
}
-/** The `command` strings switchdash writes into Codex's `hooks.json`, by event. */
+/** The `command` strings Switch Console writes into Codex's `hooks.json`, by event. */
async function installedCommands(): Promise<Record<string, string>> {
const fs = createMemoryFs();
await buildCodexHookConfig().writeHooks(fs, []);
@@ -226,7 +226,7 @@ describe('buildCodexHookConfig install/read/delete', () => {
// The tool hooks exist for the runtime status line and so cover every tool.
// Room tracking is not among their jobs: since the agent-bridge push
// transport (CHOO-1857), a session's room is claimed on the connection
- // switchdash opens and hands it as SWITCH_CONNECTION_ID, so the server
+ // Switch Console opens and hands it as SWITCH_CONNECTION_ID, so the server
// reports the room back and the old `connect_to_room` scrape is gone.
const fs = createMemoryFs();
await buildCodexHookConfig().writeHooks(fs, []);
@@ -289,7 +289,7 @@ describe('buildCodexHookConfig install/read/delete', () => {
]);
});
- it('preserves user hooks and removes only switchdash entries on delete', async () => {
+ it('preserves user hooks and removes only Switch Console entries on delete', async () => {
const userEntry = { hooks: [{ type: 'command', command: 'echo hi' }] };
const fs = createMemoryFs({
[CODEX_HOOKS_PATH]: JSON.stringify({ hooks: { Stop: [userEntry] } }),
@@ -300,7 +300,7 @@ describe('buildCodexHookConfig install/read/delete', () => {
let config = JSON.parse((await fs.read(CODEX_HOOKS_PATH))!) as {
hooks: Record<string, unknown[]>;
};
- // The user's own Stop hook survives alongside the injected switchdash one.
+ // The user's own Stop hook survives alongside the injected Switch Console one.
expect(config.hooks.Stop).toHaveLength(2);
await cfg.deleteHooks(fs);
diff --git a/dash/packages/plugins/src/agents/impl/codex/hooks.ts b/dash/packages/plugins/src/agents/impl/codex/hooks.ts
index 9d7891614..6ad2279f2 100644
--- a/dash/packages/plugins/src/agents/impl/codex/hooks.ts
+++ b/dash/packages/plugins/src/agents/impl/codex/hooks.ts
@@ -1,5 +1,5 @@
-import type { PluginFs } from '@switchdash/core/agents/plugins';
-import type { CanonicalHookEvent, HookRegistration } from '@switchdash/core/agents/plugins';
+import type { PluginFs } from '@switch-console/core/agents/plugins';
+import type { CanonicalHookEvent, HookRegistration } from '@switch-console/core/agents/plugins';
import {
baseName,
buildNestedJsonHookConfig,
@@ -10,28 +10,28 @@ import {
makeStdinHookCommand,
toolInputOf,
toolNameOf,
-} from '@switchdash/core/agents/plugins/helpers';
+} from '@switch-console/core/agents/plugins/helpers';
import * as toml from 'smol-toml';
export const CODEX_HOOKS_PATH = '.codex/hooks.json';
export const CODEX_CONFIG_PATH = '.codex/config.toml';
/**
- * Lets Codex run the hooks switchdash installed without a persisted trust entry.
+ * Lets Codex run the hooks Switch Console installed without a persisted trust entry.
*
* Codex keys hook trust per entry in `~/.codex/config.toml`
* (`[hooks.state."<hooks.json>:<event>:<group>:<index>"] trusted_hash`) and
* skips any hook it has no entry for. Verified against 0.146.0: in `codex exec`
* that skip is silent — no dump, no mention of the hook in the transcript — and
* in the TUI it is a blocking startup review pane that a detached session has
- * nobody to answer. Either way switchdash's own hooks would not run, taking the
+ * nobody to answer. Either way Switch Console's own hooks would not run, taking the
* session's status signals and its rollout-id capture with them, and rewriting a
* hook command invalidates the entry a user had already granted.
*
- * switchdash writes those hooks itself, which is the case the flag is documented
+ * Switch Console writes those hooks itself, which is the case the flag is documented
* for ("automation that already vets hook sources"). It is per-invocation and
* covers every enabled hook, so a hook the user added to `~/.codex/hooks.json`
- * also runs unreviewed in switchdash-launched sessions. Writing per-entry trust
+ * also runs unreviewed in Switch Console-launched sessions. Writing per-entry trust
* instead would be narrower, but the hash input is undocumented and not
* derivable from the command text, so it would break silently on a Codex change.
*/
@@ -161,7 +161,7 @@ export function buildCodexHookConfig() {
// carries `tool_name` / `tool_input`, the same shape Claude sends.
//
// No PostToolUse room-tracking matcher: since the agent-bridge push transport
- // (CHOO-1857), a session's room is driven by the connection switchdash opens
+ // (CHOO-1857), a session's room is driven by the connection Switch Console opens
// and hands it as SWITCH_CONNECTION_ID, so `connect_to_room` claims the room
// on that connection and the server reports it back. These two are unscoped
// — every tool, no matcher.
diff --git a/dash/packages/plugins/src/agents/impl/codex/icon.ts b/dash/packages/plugins/src/agents/impl/codex/icon.ts
index a616b0572..05fcd240b 100644
--- a/dash/packages/plugins/src/agents/impl/codex/icon.ts
+++ b/dash/packages/plugins/src/agents/impl/codex/icon.ts
@@ -1,4 +1,4 @@
-import type { AgentIconAsset } from '@switchdash/core/agents/plugins';
+import type { AgentIconAsset } from '@switch-console/core/agents/plugins';
export const icon: AgentIconAsset = {
kind: 'svg',
diff --git a/dash/packages/plugins/src/agents/impl/codex/index.ts b/dash/packages/plugins/src/agents/impl/codex/index.ts
index 3f88ba333..3fa3fa431 100644
--- a/dash/packages/plugins/src/agents/impl/codex/index.ts
+++ b/dash/packages/plugins/src/agents/impl/codex/index.ts
@@ -1,10 +1,10 @@
-import { definePlugin, registerPluginBehavior } from '@switchdash/core/agents/plugins';
+import { definePlugin, registerPluginBehavior } from '@switch-console/core/agents/plugins';
import {
buildStandardCommand,
codexMcpAdapter,
homebrewOption,
npmDependency,
-} from '@switchdash/core/agents/plugins/helpers';
+} from '@switch-console/core/agents/plugins/helpers';
import { SWITCH_MARKETPLACE_SOURCE } from '../../../distribution';
import { buildCodexHookConfig, CODEX_HOOK_TRUST_FLAG } from './hooks';
import { icon } from './icon';
@@ -88,7 +88,7 @@ export const provider = registerPluginBehavior(plugin, {
// Approvals only — the sandbox is left to the user's config. "Bypass
// permissions" promises unattended approval, not unattended filesystem
// and network access, and Codex runs hooks outside the sandbox, so
- // switchdash's loopback curls reach the hook server under
+ // Switch Console's loopback curls reach the hook server under
// workspace-write just as they do under danger-full-access.
autoApproveFlag: '-c approval_policy="never"',
initialPromptFlag: '',
@@ -105,7 +105,7 @@ export const provider = registerPluginBehavior(plugin, {
// The profile carries per-agent model / effort / instructions in CODEX_HOME,
// loaded with `--profile <slug>`. It registers no MCP server: the connector
// plugin's own .mcp.json does that, for every Codex session rather than only
- // switchdash's.
+ // Switch Console's.
launchProfile: codexLaunchProfile,
launchProfilePaths: codexProfilePaths,
},
diff --git a/dash/packages/plugins/src/agents/impl/codex/profile.test.ts b/dash/packages/plugins/src/agents/impl/codex/profile.test.ts
index fb9b1b5a3..cb006199f 100644
--- a/dash/packages/plugins/src/agents/impl/codex/profile.test.ts
+++ b/dash/packages/plugins/src/agents/impl/codex/profile.test.ts
@@ -11,7 +11,7 @@ import {
describe('buildCodexProfileToml', () => {
it('registers no MCP server — the connector plugin owns that now', () => {
// The plugin's bundled `.mcp.json` declares the Switch server, so writing it
- // here too would duplicate it for switchdash sessions only. Nothing may be
+ // here too would duplicate it for Switch Console sessions only. Nothing may be
// layered onto a plugin-provided server either: any `mcp_servers.switch.*`
// without a transport of its own makes Codex reject the whole config
// ("invalid transport"), taking the session with it.
diff --git a/dash/packages/plugins/src/agents/impl/codex/profile.ts b/dash/packages/plugins/src/agents/impl/codex/profile.ts
index 52d361d77..34cd2d297 100644
Binary files a/dash/packages/plugins/src/agents/impl/codex/profile.ts and b/dash/packages/plugins/src/agents/impl/codex/profile.ts differ
diff --git a/dash/packages/plugins/src/agents/impl/commandcode/icon.ts b/dash/packages/plugins/src/agents/impl/commandcode/icon.ts
index 29dbaa18a..3a15be481 100644
--- a/dash/packages/plugins/src/agents/impl/commandcode/icon.ts
+++ b/dash/packages/plugins/src/agents/impl/commandcode/icon.ts
@@ -1,4 +1,4 @@
-import type { AgentIconAsset } from '@switchdash/core/agents/plugins';
+import type { AgentIconAsset } from '@switch-console/core/agents/plugins';
export const icon: AgentIconAsset = {
kind: 'svg',
diff --git a/dash/packages/plugins/src/agents/impl/commandcode/index.ts b/dash/packages/plugins/src/agents/impl/commandcode/index.ts
index e26ab8263..0def02ce0 100644
--- a/dash/packages/plugins/src/agents/impl/commandcode/index.ts
+++ b/dash/packages/plugins/src/agents/impl/commandcode/index.ts
@@ -1,5 +1,5 @@
-import { definePlugin, registerPluginBehavior } from '@switchdash/core/agents/plugins';
-import { buildStandardCommand, npmDependency } from '@switchdash/core/agents/plugins/helpers';
+import { definePlugin, registerPluginBehavior } from '@switch-console/core/agents/plugins';
+import { buildStandardCommand, npmDependency } from '@switch-console/core/agents/plugins/helpers';
import { icon } from './icon';
export const plugin = definePlugin(
diff --git a/dash/packages/plugins/src/agents/impl/continue/icon.ts b/dash/packages/plugins/src/agents/impl/continue/icon.ts
index dd0c6b566..5f875a9e8 100644
--- a/dash/packages/plugins/src/agents/impl/continue/icon.ts
+++ b/dash/packages/plugins/src/agents/impl/continue/icon.ts
@@ -1,4 +1,4 @@
-import type { AgentIconAsset } from '@switchdash/core/agents/plugins';
+import type { AgentIconAsset } from '@switch-console/core/agents/plugins';
export const icon: AgentIconAsset = {
kind: 'image',
diff --git a/dash/packages/plugins/src/agents/impl/continue/index.ts b/dash/packages/plugins/src/agents/impl/continue/index.ts
index b14e975a2..925cd91cd 100644
--- a/dash/packages/plugins/src/agents/impl/continue/index.ts
+++ b/dash/packages/plugins/src/agents/impl/continue/index.ts
@@ -1,5 +1,5 @@
-import { definePlugin, registerPluginBehavior } from '@switchdash/core/agents/plugins';
-import { buildStandardCommand } from '@switchdash/core/agents/plugins/helpers';
+import { definePlugin, registerPluginBehavior } from '@switch-console/core/agents/plugins';
+import { buildStandardCommand } from '@switch-console/core/agents/plugins/helpers';
import { icon } from './icon';
export const plugin = definePlugin(
diff --git a/dash/packages/plugins/src/agents/impl/copilot/hooks.ts b/dash/packages/plugins/src/agents/impl/copilot/hooks.ts
index 684c16fc3..6f447fbef 100644
--- a/dash/packages/plugins/src/agents/impl/copilot/hooks.ts
+++ b/dash/packages/plugins/src/agents/impl/copilot/hooks.ts
@@ -1,5 +1,5 @@
-import type { PluginFs } from '@switchdash/core/agents/plugins';
-import type { HookRegistration } from '@switchdash/core/agents/plugins';
+import type { PluginFs } from '@switch-console/core/agents/plugins';
+import type { HookRegistration } from '@switch-console/core/agents/plugins';
import {
SWITCHDASH_MARKER,
buildFlatEntry,
@@ -8,7 +8,7 @@ import {
makeStdinHookCommand,
readJsonConfig,
writeJsonConfig,
-} from '@switchdash/core/agents/plugins/helpers';
+} from '@switch-console/core/agents/plugins/helpers';
export const COPILOT_HOOKS_PATH = '.github/hooks/switchdash.json';
diff --git a/dash/packages/plugins/src/agents/impl/copilot/icon.ts b/dash/packages/plugins/src/agents/impl/copilot/icon.ts
index 3814167c2..bdb1ab7c4 100644
--- a/dash/packages/plugins/src/agents/impl/copilot/icon.ts
+++ b/dash/packages/plugins/src/agents/impl/copilot/icon.ts
@@ -1,4 +1,4 @@
-import type { AgentIconAsset } from '@switchdash/core/agents/plugins';
+import type { AgentIconAsset } from '@switch-console/core/agents/plugins';
export const icon: AgentIconAsset = {
kind: 'svg',
diff --git a/dash/packages/plugins/src/agents/impl/copilot/index.ts b/dash/packages/plugins/src/agents/impl/copilot/index.ts
index 989e075e2..e8835ba71 100644
--- a/dash/packages/plugins/src/agents/impl/copilot/index.ts
+++ b/dash/packages/plugins/src/agents/impl/copilot/index.ts
@@ -1,9 +1,9 @@
-import { definePlugin, registerPluginBehavior } from '@switchdash/core/agents/plugins';
+import { definePlugin, registerPluginBehavior } from '@switch-console/core/agents/plugins';
import {
buildStandardCommand,
copilotMcpAdapter,
npmDependency,
-} from '@switchdash/core/agents/plugins/helpers';
+} from '@switch-console/core/agents/plugins/helpers';
import { buildCopilotHookConfig } from './hooks';
import { icon } from './icon';
diff --git a/dash/packages/plugins/src/agents/impl/cursor/icon.ts b/dash/packages/plugins/src/agents/impl/cursor/icon.ts
index af0c1a4ea..897f14a4d 100644
--- a/dash/packages/plugins/src/agents/impl/cursor/icon.ts
+++ b/dash/packages/plugins/src/agents/impl/cursor/icon.ts
@@ -1,4 +1,4 @@
-import type { AgentIconAsset } from '@switchdash/core/agents/plugins';
+import type { AgentIconAsset } from '@switch-console/core/agents/plugins';
export const icon: AgentIconAsset = {
kind: 'svg',
diff --git a/dash/packages/plugins/src/agents/impl/cursor/index.ts b/dash/packages/plugins/src/agents/impl/cursor/index.ts
index 8204d2b4d..cded51b98 100644
--- a/dash/packages/plugins/src/agents/impl/cursor/index.ts
+++ b/dash/packages/plugins/src/agents/impl/cursor/index.ts
@@ -1,5 +1,8 @@
-import { definePlugin, registerPluginBehavior } from '@switchdash/core/agents/plugins';
-import { buildStandardCommand, cursorMcpAdapter } from '@switchdash/core/agents/plugins/helpers';
+import { definePlugin, registerPluginBehavior } from '@switch-console/core/agents/plugins';
+import {
+ buildStandardCommand,
+ cursorMcpAdapter,
+} from '@switch-console/core/agents/plugins/helpers';
import { icon } from './icon';
export const plugin = definePlugin(
diff --git a/dash/packages/plugins/src/agents/impl/devin/hooks.ts b/dash/packages/plugins/src/agents/impl/devin/hooks.ts
index ea47749e4..a98fb3592 100644
--- a/dash/packages/plugins/src/agents/impl/devin/hooks.ts
+++ b/dash/packages/plugins/src/agents/impl/devin/hooks.ts
@@ -2,7 +2,7 @@ import {
buildNestedJsonHookConfig,
makeNotificationHookCommand,
makeStdinHookCommand,
-} from '@switchdash/core/agents/plugins/helpers';
+} from '@switch-console/core/agents/plugins/helpers';
export const DEVIN_HOOKS_PATH = '.devin/hooks.v1.json';
diff --git a/dash/packages/plugins/src/agents/impl/devin/icon.ts b/dash/packages/plugins/src/agents/impl/devin/icon.ts
index d36a6929a..b26d4020e 100644
--- a/dash/packages/plugins/src/agents/impl/devin/icon.ts
+++ b/dash/packages/plugins/src/agents/impl/devin/icon.ts
@@ -1,4 +1,4 @@
-import type { AgentIconAsset } from '@switchdash/core/agents/plugins';
+import type { AgentIconAsset } from '@switch-console/core/agents/plugins';
export const icon: AgentIconAsset = {
kind: 'image',
diff --git a/dash/packages/plugins/src/agents/impl/devin/index.ts b/dash/packages/plugins/src/agents/impl/devin/index.ts
index 95539b07c..d31f49701 100644
--- a/dash/packages/plugins/src/agents/impl/devin/index.ts
+++ b/dash/packages/plugins/src/agents/impl/devin/index.ts
@@ -1,5 +1,5 @@
-import { definePlugin, registerPluginBehavior } from '@switchdash/core/agents/plugins';
-import { buildStandardCommand } from '@switchdash/core/agents/plugins/helpers';
+import { definePlugin, registerPluginBehavior } from '@switch-console/core/agents/plugins';
+import { buildStandardCommand } from '@switch-console/core/agents/plugins/helpers';
import { buildDevinHookConfig } from './hooks';
import { icon } from './icon';
diff --git a/dash/packages/plugins/src/agents/impl/droid/hooks.ts b/dash/packages/plugins/src/agents/impl/droid/hooks.ts
index a5d737f7b..aa3214ce3 100644
--- a/dash/packages/plugins/src/agents/impl/droid/hooks.ts
+++ b/dash/packages/plugins/src/agents/impl/droid/hooks.ts
@@ -1,7 +1,7 @@
import {
buildNestedJsonHookConfig,
makeStdinHookCommand,
-} from '@switchdash/core/agents/plugins/helpers';
+} from '@switch-console/core/agents/plugins/helpers';
export const DROID_HOOKS_PATH = '.factory/settings.json';
diff --git a/dash/packages/plugins/src/agents/impl/droid/icon.ts b/dash/packages/plugins/src/agents/impl/droid/icon.ts
index 97b15559c..802f0a481 100644
--- a/dash/packages/plugins/src/agents/impl/droid/icon.ts
+++ b/dash/packages/plugins/src/agents/impl/droid/icon.ts
@@ -1,4 +1,4 @@
-import type { AgentIconAsset } from '@switchdash/core/agents/plugins';
+import type { AgentIconAsset } from '@switch-console/core/agents/plugins';
export const icon: AgentIconAsset = {
kind: 'svg',
diff --git a/dash/packages/plugins/src/agents/impl/droid/index.ts b/dash/packages/plugins/src/agents/impl/droid/index.ts
index a371879a1..d9967bcbb 100644
--- a/dash/packages/plugins/src/agents/impl/droid/index.ts
+++ b/dash/packages/plugins/src/agents/impl/droid/index.ts
@@ -1,5 +1,5 @@
-import { definePlugin, registerPluginBehavior } from '@switchdash/core/agents/plugins';
-import { buildStandardCommand, droidMcpAdapter } from '@switchdash/core/agents/plugins/helpers';
+import { definePlugin, registerPluginBehavior } from '@switch-console/core/agents/plugins';
+import { buildStandardCommand, droidMcpAdapter } from '@switch-console/core/agents/plugins/helpers';
import { buildDroidHookConfig } from './hooks';
import { icon } from './icon';
diff --git a/dash/packages/plugins/src/agents/impl/freebuff/icon.ts b/dash/packages/plugins/src/agents/impl/freebuff/icon.ts
index 9c1230add..de7305d3b 100644
--- a/dash/packages/plugins/src/agents/impl/freebuff/icon.ts
+++ b/dash/packages/plugins/src/agents/impl/freebuff/icon.ts
@@ -1,4 +1,4 @@
-import type { AgentIconAsset } from '@switchdash/core/agents/plugins';
+import type { AgentIconAsset } from '@switch-console/core/agents/plugins';
export const icon: AgentIconAsset = {
kind: 'image',
diff --git a/dash/packages/plugins/src/agents/impl/freebuff/index.ts b/dash/packages/plugins/src/agents/impl/freebuff/index.ts
index 0a2b305a3..67a3c47b4 100644
--- a/dash/packages/plugins/src/agents/impl/freebuff/index.ts
+++ b/dash/packages/plugins/src/agents/impl/freebuff/index.ts
@@ -1,5 +1,5 @@
-import { definePlugin, registerPluginBehavior } from '@switchdash/core/agents/plugins';
-import { buildStandardCommand, npmDependency } from '@switchdash/core/agents/plugins/helpers';
+import { definePlugin, registerPluginBehavior } from '@switch-console/core/agents/plugins';
+import { buildStandardCommand, npmDependency } from '@switch-console/core/agents/plugins/helpers';
import { icon } from './icon';
export const plugin = definePlugin(
diff --git a/dash/packages/plugins/src/agents/impl/gemini/icon.ts b/dash/packages/plugins/src/agents/impl/gemini/icon.ts
index 442ceb0a3..19840840a 100644
--- a/dash/packages/plugins/src/agents/impl/gemini/icon.ts
+++ b/dash/packages/plugins/src/agents/impl/gemini/icon.ts
@@ -1,4 +1,4 @@
-import type { AgentIconAsset } from '@switchdash/core/agents/plugins';
+import type { AgentIconAsset } from '@switch-console/core/agents/plugins';
export const icon: AgentIconAsset = {
kind: 'svg',
diff --git a/dash/packages/plugins/src/agents/impl/gemini/index.ts b/dash/packages/plugins/src/agents/impl/gemini/index.ts
index a1774d10c..5367eaa93 100644
--- a/dash/packages/plugins/src/agents/impl/gemini/index.ts
+++ b/dash/packages/plugins/src/agents/impl/gemini/index.ts
@@ -1,9 +1,9 @@
-import { definePlugin, registerPluginBehavior } from '@switchdash/core/agents/plugins';
+import { definePlugin, registerPluginBehavior } from '@switch-console/core/agents/plugins';
import {
buildStandardCommand,
geminiMcpAdapter,
npmDependency,
-} from '@switchdash/core/agents/plugins/helpers';
+} from '@switch-console/core/agents/plugins/helpers';
import { icon } from './icon';
export const plugin = definePlugin(
diff --git a/dash/packages/plugins/src/agents/impl/goose/icon.ts b/dash/packages/plugins/src/agents/impl/goose/icon.ts
index 420a815ad..56e960527 100644
--- a/dash/packages/plugins/src/agents/impl/goose/icon.ts
+++ b/dash/packages/plugins/src/agents/impl/goose/icon.ts
@@ -1,4 +1,4 @@
-import type { AgentIconAsset } from '@switchdash/core/agents/plugins';
+import type { AgentIconAsset } from '@switch-console/core/agents/plugins';
export const icon: AgentIconAsset = {
kind: 'image',
diff --git a/dash/packages/plugins/src/agents/impl/goose/index.ts b/dash/packages/plugins/src/agents/impl/goose/index.ts
index e8d0df69e..1fd4b966f 100644
--- a/dash/packages/plugins/src/agents/impl/goose/index.ts
+++ b/dash/packages/plugins/src/agents/impl/goose/index.ts
@@ -1,5 +1,5 @@
-import { definePlugin, registerPluginBehavior } from '@switchdash/core/agents/plugins';
-import { buildStandardCommand } from '@switchdash/core/agents/plugins/helpers';
+import { definePlugin, registerPluginBehavior } from '@switch-console/core/agents/plugins';
+import { buildStandardCommand } from '@switch-console/core/agents/plugins/helpers';
import { icon } from './icon';
export const plugin = definePlugin(
diff --git a/dash/packages/plugins/src/agents/impl/grok/hooks.ts b/dash/packages/plugins/src/agents/impl/grok/hooks.ts
index eb9a0c049..6ff2bf128 100644
--- a/dash/packages/plugins/src/agents/impl/grok/hooks.ts
+++ b/dash/packages/plugins/src/agents/impl/grok/hooks.ts
@@ -1,6 +1,6 @@
import { Buffer } from 'node:buffer';
-import type { PluginFs } from '@switchdash/core/agents/plugins';
-import type { CanonicalHookEvent, HookRegistration } from '@switchdash/core/agents/plugins';
+import type { PluginFs } from '@switch-console/core/agents/plugins';
+import type { CanonicalHookEvent, HookRegistration } from '@switch-console/core/agents/plugins';
import {
SWITCHDASH_MARKER,
buildNestedEntry,
@@ -9,7 +9,7 @@ import {
makeStdinHookCommand,
readJsonConfig,
writeJsonConfig,
-} from '@switchdash/core/agents/plugins/helpers';
+} from '@switch-console/core/agents/plugins/helpers';
export const GROK_HOOKS_PATH = '.grok/hooks/switchdash.json';
diff --git a/dash/packages/plugins/src/agents/impl/grok/icon.ts b/dash/packages/plugins/src/agents/impl/grok/icon.ts
index fa64b9160..9ccd420e3 100644
--- a/dash/packages/plugins/src/agents/impl/grok/icon.ts
+++ b/dash/packages/plugins/src/agents/impl/grok/icon.ts
@@ -1,4 +1,4 @@
-import type { AgentIconAsset } from '@switchdash/core/agents/plugins';
+import type { AgentIconAsset } from '@switch-console/core/agents/plugins';
export const icon: AgentIconAsset = {
kind: 'svg',
diff --git a/dash/packages/plugins/src/agents/impl/grok/index.ts b/dash/packages/plugins/src/agents/impl/grok/index.ts
index c683b267b..f926df87e 100644
--- a/dash/packages/plugins/src/agents/impl/grok/index.ts
+++ b/dash/packages/plugins/src/agents/impl/grok/index.ts
@@ -1,5 +1,5 @@
-import { definePlugin, registerPluginBehavior } from '@switchdash/core/agents/plugins';
-import { buildStandardCommand } from '@switchdash/core/agents/plugins/helpers';
+import { definePlugin, registerPluginBehavior } from '@switch-console/core/agents/plugins';
+import { buildStandardCommand } from '@switch-console/core/agents/plugins/helpers';
import { buildGrokHookConfig } from './hooks';
import { icon } from './icon';
diff --git a/dash/packages/plugins/src/agents/impl/hermes/icon.ts b/dash/packages/plugins/src/agents/impl/hermes/icon.ts
index b48915c73..78f8ccd8f 100644
--- a/dash/packages/plugins/src/agents/impl/hermes/icon.ts
+++ b/dash/packages/plugins/src/agents/impl/hermes/icon.ts
@@ -1,4 +1,4 @@
-import type { AgentIconAsset } from '@switchdash/core/agents/plugins';
+import type { AgentIconAsset } from '@switch-console/core/agents/plugins';
export const icon: AgentIconAsset = {
kind: 'image',
diff --git a/dash/packages/plugins/src/agents/impl/hermes/index.ts b/dash/packages/plugins/src/agents/impl/hermes/index.ts
index 84ab50ddb..784c837c0 100644
--- a/dash/packages/plugins/src/agents/impl/hermes/index.ts
+++ b/dash/packages/plugins/src/agents/impl/hermes/index.ts
@@ -1,5 +1,5 @@
-import { definePlugin, registerPluginBehavior } from '@switchdash/core/agents/plugins';
-import { buildStandardCommand } from '@switchdash/core/agents/plugins/helpers';
+import { definePlugin, registerPluginBehavior } from '@switch-console/core/agents/plugins';
+import { buildStandardCommand } from '@switch-console/core/agents/plugins/helpers';
import { icon } from './icon';
export const plugin = definePlugin(
diff --git a/dash/packages/plugins/src/agents/impl/jules/icon.ts b/dash/packages/plugins/src/agents/impl/jules/icon.ts
index 4c86eafac..4f8b302a9 100644
--- a/dash/packages/plugins/src/agents/impl/jules/icon.ts
+++ b/dash/packages/plugins/src/agents/impl/jules/icon.ts
@@ -1,4 +1,4 @@
-import type { AgentIconAsset } from '@switchdash/core/agents/plugins';
+import type { AgentIconAsset } from '@switch-console/core/agents/plugins';
export const icon: AgentIconAsset = {
kind: 'svg',
diff --git a/dash/packages/plugins/src/agents/impl/jules/index.ts b/dash/packages/plugins/src/agents/impl/jules/index.ts
index f0d405828..4828e0282 100644
--- a/dash/packages/plugins/src/agents/impl/jules/index.ts
+++ b/dash/packages/plugins/src/agents/impl/jules/index.ts
@@ -1,5 +1,5 @@
-import { definePlugin, registerPluginBehavior } from '@switchdash/core/agents/plugins';
-import { buildStandardCommand, npmDependency } from '@switchdash/core/agents/plugins/helpers';
+import { definePlugin, registerPluginBehavior } from '@switch-console/core/agents/plugins';
+import { buildStandardCommand, npmDependency } from '@switch-console/core/agents/plugins/helpers';
import { icon } from './icon';
export const plugin = definePlugin(
diff --git a/dash/packages/plugins/src/agents/impl/junie/icon.ts b/dash/packages/plugins/src/agents/impl/junie/icon.ts
index 45cbea773..313390e51 100644
--- a/dash/packages/plugins/src/agents/impl/junie/icon.ts
+++ b/dash/packages/plugins/src/agents/impl/junie/icon.ts
@@ -1,4 +1,4 @@
-import type { AgentIconAsset } from '@switchdash/core/agents/plugins';
+import type { AgentIconAsset } from '@switch-console/core/agents/plugins';
export const icon: AgentIconAsset = {
kind: 'image',
diff --git a/dash/packages/plugins/src/agents/impl/junie/index.ts b/dash/packages/plugins/src/agents/impl/junie/index.ts
index 52a6582fc..0d55bcc8a 100644
--- a/dash/packages/plugins/src/agents/impl/junie/index.ts
+++ b/dash/packages/plugins/src/agents/impl/junie/index.ts
@@ -1,5 +1,5 @@
-import { definePlugin, registerPluginBehavior } from '@switchdash/core/agents/plugins';
-import { buildStandardCommand } from '@switchdash/core/agents/plugins/helpers';
+import { definePlugin, registerPluginBehavior } from '@switch-console/core/agents/plugins';
+import { buildStandardCommand } from '@switch-console/core/agents/plugins/helpers';
import { icon } from './icon';
export const plugin = definePlugin(
diff --git a/dash/packages/plugins/src/agents/impl/kilocode/icon.ts b/dash/packages/plugins/src/agents/impl/kilocode/icon.ts
index 61536ffb0..eedbee681 100644
--- a/dash/packages/plugins/src/agents/impl/kilocode/icon.ts
+++ b/dash/packages/plugins/src/agents/impl/kilocode/icon.ts
@@ -1,4 +1,4 @@
-import type { AgentIconAsset } from '@switchdash/core/agents/plugins';
+import type { AgentIconAsset } from '@switch-console/core/agents/plugins';
export const icon: AgentIconAsset = {
kind: 'image',
diff --git a/dash/packages/plugins/src/agents/impl/kilocode/index.ts b/dash/packages/plugins/src/agents/impl/kilocode/index.ts
index 26a3169d6..694c068d1 100644
--- a/dash/packages/plugins/src/agents/impl/kilocode/index.ts
+++ b/dash/packages/plugins/src/agents/impl/kilocode/index.ts
@@ -1,9 +1,9 @@
-import { definePlugin, registerPluginBehavior } from '@switchdash/core/agents/plugins';
+import { definePlugin, registerPluginBehavior } from '@switch-console/core/agents/plugins';
import {
buildStandardCommand,
createFileDropPlugin,
npmDependency,
-} from '@switchdash/core/agents/plugins/helpers';
+} from '@switch-console/core/agents/plugins/helpers';
import { icon } from './icon';
import { KILOCODE_PLUGIN_CONTENT } from './plugin-file';
diff --git a/dash/packages/plugins/src/agents/impl/kilocode/plugin-file.test.ts b/dash/packages/plugins/src/agents/impl/kilocode/plugin-file.test.ts
index d9b61e4d6..3de81dd0d 100644
--- a/dash/packages/plugins/src/agents/impl/kilocode/plugin-file.test.ts
+++ b/dash/packages/plugins/src/agents/impl/kilocode/plugin-file.test.ts
@@ -1,4 +1,4 @@
-import type { PluginFs } from '@switchdash/core/agents/plugins';
+import type { PluginFs } from '@switch-console/core/agents/plugins';
import { describe, expect, it } from 'vitest';
import { provider } from './index';
@@ -26,7 +26,7 @@ function createMemoryFs(): PluginFs & { files: Map<string, string> } {
}
describe('kilocode plugin hooks', () => {
- it('installs the switchdash notifications plugin into the Kilo workspace plugin path', async () => {
+ it('installs the Switch Console notifications plugin into the Kilo workspace plugin path', async () => {
const fs = createMemoryFs();
const written = await provider.behavior.plugins?.installPlugin(fs, {
diff --git a/dash/packages/plugins/src/agents/impl/kilocode/plugin-file.ts b/dash/packages/plugins/src/agents/impl/kilocode/plugin-file.ts
index 763a000ae..37f3fbb1c 100644
--- a/dash/packages/plugins/src/agents/impl/kilocode/plugin-file.ts
+++ b/dash/packages/plugins/src/agents/impl/kilocode/plugin-file.ts
@@ -1,4 +1,4 @@
-// Verbatim source of the Kilo switchdash notifications plugin, embedded as a string constant.
+// Verbatim source of the Kilo Switch Console notifications plugin, embedded as a string constant.
export const KILOCODE_PLUGIN_CONTENT = `\
/* global fetch, process */
diff --git a/dash/packages/plugins/src/agents/impl/kimi/hooks.ts b/dash/packages/plugins/src/agents/impl/kimi/hooks.ts
index 3138f8c15..916835678 100644
--- a/dash/packages/plugins/src/agents/impl/kimi/hooks.ts
+++ b/dash/packages/plugins/src/agents/impl/kimi/hooks.ts
@@ -1,10 +1,10 @@
-import type { PluginFs } from '@switchdash/core/agents/plugins';
-import type { HookRegistration } from '@switchdash/core/agents/plugins';
+import type { PluginFs } from '@switch-console/core/agents/plugins';
+import type { HookRegistration } from '@switch-console/core/agents/plugins';
import {
SWITCHDASH_MARKER,
filterUserHooks,
makeStdinHookCommand,
-} from '@switchdash/core/agents/plugins/helpers';
+} from '@switch-console/core/agents/plugins/helpers';
import { parse as parseTOML, stringify as stringifyTOML } from 'smol-toml';
export const KIMI_CONFIG_PATH = '.kimi-code/config.toml';
@@ -23,11 +23,11 @@ const KIMI_HOOK_SPECS = [
function buildKimiHookEntries(existing: unknown[]): unknown[] {
const userEntries = filterUserHooks(existing as Record<string, unknown>[]);
- const switchdashEntries = KIMI_HOOK_SPECS.map(({ hookKey, command }) => ({
+ const switchConsoleEntries = KIMI_HOOK_SPECS.map(({ hookKey, command }) => ({
event: hookKey,
command,
}));
- return [...userEntries, ...switchdashEntries];
+ return [...userEntries, ...switchConsoleEntries];
}
/**
diff --git a/dash/packages/plugins/src/agents/impl/kimi/icon.ts b/dash/packages/plugins/src/agents/impl/kimi/icon.ts
index 2c284627e..8c52a59ee 100644
--- a/dash/packages/plugins/src/agents/impl/kimi/icon.ts
+++ b/dash/packages/plugins/src/agents/impl/kimi/icon.ts
@@ -1,4 +1,4 @@
-import type { AgentIconAsset } from '@switchdash/core/agents/plugins';
+import type { AgentIconAsset } from '@switch-console/core/agents/plugins';
export const icon: AgentIconAsset = {
kind: 'svg',
diff --git a/dash/packages/plugins/src/agents/impl/kimi/index.ts b/dash/packages/plugins/src/agents/impl/kimi/index.ts
index cd63fd86f..0eb3b471e 100644
--- a/dash/packages/plugins/src/agents/impl/kimi/index.ts
+++ b/dash/packages/plugins/src/agents/impl/kimi/index.ts
@@ -1,6 +1,6 @@
-import { definePlugin, registerPluginBehavior } from '@switchdash/core/agents/plugins';
-import type { AgentCommand, CommandContext } from '@switchdash/core/agents/plugins';
-import { buildStandardCommand } from '@switchdash/core/agents/plugins/helpers';
+import { definePlugin, registerPluginBehavior } from '@switch-console/core/agents/plugins';
+import type { AgentCommand, CommandContext } from '@switch-console/core/agents/plugins';
+import { buildStandardCommand } from '@switch-console/core/agents/plugins/helpers';
import { addKimiHooksToConfigText, buildKimiHookConfig } from './hooks';
function injectKimiHooksIntoInlineConfig(args: string[]): string[] {
diff --git a/dash/packages/plugins/src/agents/impl/kiro/hooks.ts b/dash/packages/plugins/src/agents/impl/kiro/hooks.ts
index e198a681f..30afdf8f7 100644
--- a/dash/packages/plugins/src/agents/impl/kiro/hooks.ts
+++ b/dash/packages/plugins/src/agents/impl/kiro/hooks.ts
@@ -1,7 +1,7 @@
import {
buildMinimalJsonHookConfig,
makeStdinHookCommand,
-} from '@switchdash/core/agents/plugins/helpers';
+} from '@switch-console/core/agents/plugins/helpers';
export const KIRO_HOOKS_PATH = '.kiro/agents/switchdash.json';
diff --git a/dash/packages/plugins/src/agents/impl/kiro/icon.ts b/dash/packages/plugins/src/agents/impl/kiro/icon.ts
index 2b46e6bf8..ae840efcb 100644
--- a/dash/packages/plugins/src/agents/impl/kiro/icon.ts
+++ b/dash/packages/plugins/src/agents/impl/kiro/icon.ts
@@ -1,4 +1,4 @@
-import type { AgentIconAsset } from '@switchdash/core/agents/plugins';
+import type { AgentIconAsset } from '@switch-console/core/agents/plugins';
export const icon: AgentIconAsset = {
kind: 'image',
diff --git a/dash/packages/plugins/src/agents/impl/kiro/index.ts b/dash/packages/plugins/src/agents/impl/kiro/index.ts
index bdabf89e9..65268de3e 100644
--- a/dash/packages/plugins/src/agents/impl/kiro/index.ts
+++ b/dash/packages/plugins/src/agents/impl/kiro/index.ts
@@ -1,5 +1,5 @@
-import { definePlugin, registerPluginBehavior } from '@switchdash/core/agents/plugins';
-import { buildStandardCommand } from '@switchdash/core/agents/plugins/helpers';
+import { definePlugin, registerPluginBehavior } from '@switch-console/core/agents/plugins';
+import { buildStandardCommand } from '@switch-console/core/agents/plugins/helpers';
import { buildKiroHookConfig } from './hooks';
import { icon } from './icon';
diff --git a/dash/packages/plugins/src/agents/impl/letta/icon.ts b/dash/packages/plugins/src/agents/impl/letta/icon.ts
index bbbe8ce78..198cdc28c 100644
--- a/dash/packages/plugins/src/agents/impl/letta/icon.ts
+++ b/dash/packages/plugins/src/agents/impl/letta/icon.ts
@@ -1,4 +1,4 @@
-import type { AgentIconAsset } from '@switchdash/core/agents/plugins';
+import type { AgentIconAsset } from '@switch-console/core/agents/plugins';
export const icon: AgentIconAsset = {
kind: 'svg',
diff --git a/dash/packages/plugins/src/agents/impl/letta/index.ts b/dash/packages/plugins/src/agents/impl/letta/index.ts
index a167582c2..65596e099 100644
--- a/dash/packages/plugins/src/agents/impl/letta/index.ts
+++ b/dash/packages/plugins/src/agents/impl/letta/index.ts
@@ -1,5 +1,5 @@
-import { definePlugin, registerPluginBehavior } from '@switchdash/core/agents/plugins';
-import { buildStandardCommand, npmDependency } from '@switchdash/core/agents/plugins/helpers';
+import { definePlugin, registerPluginBehavior } from '@switch-console/core/agents/plugins';
+import { buildStandardCommand, npmDependency } from '@switch-console/core/agents/plugins/helpers';
import { icon } from './icon';
export const plugin = definePlugin(
diff --git a/dash/packages/plugins/src/agents/impl/mistral/hooks.test.ts b/dash/packages/plugins/src/agents/impl/mistral/hooks.test.ts
index 7674b9cef..16a3bf2ce 100644
--- a/dash/packages/plugins/src/agents/impl/mistral/hooks.test.ts
+++ b/dash/packages/plugins/src/agents/impl/mistral/hooks.test.ts
@@ -1,4 +1,4 @@
-import type { PluginFs } from '@switchdash/core/agents/plugins';
+import type { PluginFs } from '@switch-console/core/agents/plugins';
import { describe, expect, it } from 'vitest';
import { MISTRAL_CONFIG_PATH, MISTRAL_HOOKS_PATH, buildMistralHookConfig } from './hooks';
diff --git a/dash/packages/plugins/src/agents/impl/mistral/hooks.ts b/dash/packages/plugins/src/agents/impl/mistral/hooks.ts
index a1f49b45a..f606491e5 100644
--- a/dash/packages/plugins/src/agents/impl/mistral/hooks.ts
+++ b/dash/packages/plugins/src/agents/impl/mistral/hooks.ts
@@ -1,11 +1,11 @@
-import type { PluginFs } from '@switchdash/core/agents/plugins';
+import type { PluginFs } from '@switch-console/core/agents/plugins';
import {
buildFlatTomlHookConfig,
makeNotificationHookCommand,
makeStdinHookCommand,
readTomlConfig,
writeTomlConfig,
-} from '@switchdash/core/agents/plugins/helpers';
+} from '@switch-console/core/agents/plugins/helpers';
export const MISTRAL_HOOKS_PATH = '.vibe/hooks.toml';
export const MISTRAL_CONFIG_PATH = '.vibe/config.toml';
diff --git a/dash/packages/plugins/src/agents/impl/mistral/icon.ts b/dash/packages/plugins/src/agents/impl/mistral/icon.ts
index 0a74f4b40..4ba4c8785 100644
--- a/dash/packages/plugins/src/agents/impl/mistral/icon.ts
+++ b/dash/packages/plugins/src/agents/impl/mistral/icon.ts
@@ -1,4 +1,4 @@
-import type { AgentIconAsset } from '@switchdash/core/agents/plugins';
+import type { AgentIconAsset } from '@switch-console/core/agents/plugins';
export const icon: AgentIconAsset = {
kind: 'svg',
diff --git a/dash/packages/plugins/src/agents/impl/mistral/index.ts b/dash/packages/plugins/src/agents/impl/mistral/index.ts
index 016a965d9..ece32ba51 100644
--- a/dash/packages/plugins/src/agents/impl/mistral/index.ts
+++ b/dash/packages/plugins/src/agents/impl/mistral/index.ts
@@ -1,5 +1,5 @@
-import { definePlugin, registerPluginBehavior } from '@switchdash/core/agents/plugins';
-import { buildStandardCommand } from '@switchdash/core/agents/plugins/helpers';
+import { definePlugin, registerPluginBehavior } from '@switch-console/core/agents/plugins';
+import { buildStandardCommand } from '@switch-console/core/agents/plugins/helpers';
import { buildMistralHookConfig } from './hooks';
import { icon } from './icon';
diff --git a/dash/packages/plugins/src/agents/impl/opencode/icon.ts b/dash/packages/plugins/src/agents/impl/opencode/icon.ts
index 36aeb917d..a50afba68 100644
--- a/dash/packages/plugins/src/agents/impl/opencode/icon.ts
+++ b/dash/packages/plugins/src/agents/impl/opencode/icon.ts
@@ -1,4 +1,4 @@
-import type { AgentIconAsset } from '@switchdash/core/agents/plugins';
+import type { AgentIconAsset } from '@switch-console/core/agents/plugins';
export const icon: AgentIconAsset = {
kind: 'svg',
diff --git a/dash/packages/plugins/src/agents/impl/opencode/index.ts b/dash/packages/plugins/src/agents/impl/opencode/index.ts
index 487534a7d..da9964c76 100644
--- a/dash/packages/plugins/src/agents/impl/opencode/index.ts
+++ b/dash/packages/plugins/src/agents/impl/opencode/index.ts
@@ -1,10 +1,10 @@
-import { definePlugin, registerPluginBehavior } from '@switchdash/core/agents/plugins';
+import { definePlugin, registerPluginBehavior } from '@switch-console/core/agents/plugins';
import {
buildStandardCommand,
createFileDropPlugin,
npmDependency,
opencodeMcpAdapter,
-} from '@switchdash/core/agents/plugins/helpers';
+} from '@switch-console/core/agents/plugins/helpers';
import { OPENCODE_PLUGIN_CONTENT } from './plugin-file';
const OPENCODE_PLUGIN_PATH = '.opencode/plugins/switchdash-notifications.js';
diff --git a/dash/packages/plugins/src/agents/impl/opencode/plugin-file.ts b/dash/packages/plugins/src/agents/impl/opencode/plugin-file.ts
index 0be24fb35..dafb6de97 100644
--- a/dash/packages/plugins/src/agents/impl/opencode/plugin-file.ts
+++ b/dash/packages/plugins/src/agents/impl/opencode/plugin-file.ts
@@ -1,4 +1,4 @@
-// Verbatim source of the OpenCode switchdash notifications plugin, embedded as a string constant.
+// Verbatim source of the OpenCode Switch Console notifications plugin, embedded as a string constant.
export const OPENCODE_PLUGIN_CONTENT = `\
/* global fetch, process */
diff --git a/dash/packages/plugins/src/agents/impl/pi/icon.ts b/dash/packages/plugins/src/agents/impl/pi/icon.ts
index 6d58e660b..aced36193 100644
--- a/dash/packages/plugins/src/agents/impl/pi/icon.ts
+++ b/dash/packages/plugins/src/agents/impl/pi/icon.ts
@@ -1,4 +1,4 @@
-import type { AgentIconAsset } from '@switchdash/core/agents/plugins';
+import type { AgentIconAsset } from '@switch-console/core/agents/plugins';
export const icon: AgentIconAsset = {
kind: 'image',
diff --git a/dash/packages/plugins/src/agents/impl/pi/index.ts b/dash/packages/plugins/src/agents/impl/pi/index.ts
index edf75ea0d..fa2af3bba 100644
--- a/dash/packages/plugins/src/agents/impl/pi/index.ts
+++ b/dash/packages/plugins/src/agents/impl/pi/index.ts
@@ -1,9 +1,9 @@
-import { definePlugin, registerPluginBehavior } from '@switchdash/core/agents/plugins';
+import { definePlugin, registerPluginBehavior } from '@switch-console/core/agents/plugins';
import {
buildStandardCommand,
createFileDropPlugin,
npmDependency,
-} from '@switchdash/core/agents/plugins/helpers';
+} from '@switch-console/core/agents/plugins/helpers';
import { PI_EXTENSION_CONTENT } from './plugin-file';
const PI_EXTENSION_PATH = '.pi/extensions/switchdash-hook.ts';
diff --git a/dash/packages/plugins/src/agents/impl/pi/plugin-file.ts b/dash/packages/plugins/src/agents/impl/pi/plugin-file.ts
index 7dc950ff1..14418c791 100644
--- a/dash/packages/plugins/src/agents/impl/pi/plugin-file.ts
+++ b/dash/packages/plugins/src/agents/impl/pi/plugin-file.ts
@@ -1,4 +1,4 @@
-// Verbatim source of the Pi switchdash extension, embedded as a string constant.
+// Verbatim source of the Pi Switch Console extension, embedded as a string constant.
export const PI_EXTENSION_CONTENT = `\
import type { ExtensionAPI } from '@earendil-works/pi-coding-agent';
@@ -25,7 +25,7 @@ async function notifySwitchdash(
signal: AbortSignal.timeout(2000),
});
} catch {
- // Switchdash may not be running when pi is launched directly; ignore hook failures.
+ // Switch Console may not be running when pi is launched directly; ignore hook failures.
}
}
diff --git a/dash/packages/plugins/src/agents/impl/qwen/hooks.ts b/dash/packages/plugins/src/agents/impl/qwen/hooks.ts
index 30d9698a8..e909a9622 100644
--- a/dash/packages/plugins/src/agents/impl/qwen/hooks.ts
+++ b/dash/packages/plugins/src/agents/impl/qwen/hooks.ts
@@ -1,9 +1,9 @@
-import type { CanonicalHookEvent } from '@switchdash/core/agents/plugins';
+import type { CanonicalHookEvent } from '@switch-console/core/agents/plugins';
import {
buildNestedJsonHookConfig,
defaultHookEventParser,
makeStdinHookCommand,
-} from '@switchdash/core/agents/plugins/helpers';
+} from '@switch-console/core/agents/plugins/helpers';
export const QWEN_HOOKS_PATH = '.qwen/settings.json';
diff --git a/dash/packages/plugins/src/agents/impl/qwen/icon.ts b/dash/packages/plugins/src/agents/impl/qwen/icon.ts
index 0bf36c6fb..dc6f7563a 100644
--- a/dash/packages/plugins/src/agents/impl/qwen/icon.ts
+++ b/dash/packages/plugins/src/agents/impl/qwen/icon.ts
@@ -1,4 +1,4 @@
-import type { AgentIconAsset } from '@switchdash/core/agents/plugins';
+import type { AgentIconAsset } from '@switch-console/core/agents/plugins';
export const icon: AgentIconAsset = {
kind: 'svg',
diff --git a/dash/packages/plugins/src/agents/impl/qwen/index.ts b/dash/packages/plugins/src/agents/impl/qwen/index.ts
index 077035da7..641951108 100644
--- a/dash/packages/plugins/src/agents/impl/qwen/index.ts
+++ b/dash/packages/plugins/src/agents/impl/qwen/index.ts
@@ -1,9 +1,9 @@
-import { definePlugin, registerPluginBehavior } from '@switchdash/core/agents/plugins';
+import { definePlugin, registerPluginBehavior } from '@switch-console/core/agents/plugins';
import {
buildStandardCommand,
npmDependency,
qwenMcpAdapter,
-} from '@switchdash/core/agents/plugins/helpers';
+} from '@switch-console/core/agents/plugins/helpers';
import { buildQwenHookConfig } from './hooks';
import { icon } from './icon';
diff --git a/dash/packages/plugins/src/agents/impl/rovo/icon.ts b/dash/packages/plugins/src/agents/impl/rovo/icon.ts
index f73261471..f67f21a2a 100644
--- a/dash/packages/plugins/src/agents/impl/rovo/icon.ts
+++ b/dash/packages/plugins/src/agents/impl/rovo/icon.ts
@@ -1,4 +1,4 @@
-import type { AgentIconAsset } from '@switchdash/core/agents/plugins';
+import type { AgentIconAsset } from '@switch-console/core/agents/plugins';
export const icon: AgentIconAsset = {
kind: 'image',
diff --git a/dash/packages/plugins/src/agents/impl/rovo/index.ts b/dash/packages/plugins/src/agents/impl/rovo/index.ts
index afe92bc37..649c5f46d 100644
--- a/dash/packages/plugins/src/agents/impl/rovo/index.ts
+++ b/dash/packages/plugins/src/agents/impl/rovo/index.ts
@@ -1,5 +1,5 @@
-import { definePlugin, registerPluginBehavior } from '@switchdash/core/agents/plugins';
-import { buildStandardCommand } from '@switchdash/core/agents/plugins/helpers';
+import { definePlugin, registerPluginBehavior } from '@switch-console/core/agents/plugins';
+import { buildStandardCommand } from '@switch-console/core/agents/plugins/helpers';
import { icon } from './icon';
export const plugin = definePlugin(
diff --git a/dash/packages/plugins/src/agents/registry.ts b/dash/packages/plugins/src/agents/registry.ts
index 909770098..d027b47e5 100644
--- a/dash/packages/plugins/src/agents/registry.ts
+++ b/dash/packages/plugins/src/agents/registry.ts
@@ -1,5 +1,8 @@
// The single plugin registry
-import { type CLIAgentPluginProvider, createPluginRegistry } from '@switchdash/core/agents/plugins';
+import {
+ type CLIAgentPluginProvider,
+ createPluginRegistry,
+} from '@switch-console/core/agents/plugins';
import { provider as amp } from './impl/amp';
import { provider as antigravity } from './impl/antigravity';
import { provider as auggie } from './impl/auggie';
diff --git a/dash/packages/plugins/src/distribution.ts b/dash/packages/plugins/src/distribution.ts
index b757ac274..b5143e3f0 100644
--- a/dash/packages/plugins/src/distribution.ts
+++ b/dash/packages/plugins/src/distribution.ts
@@ -4,7 +4,7 @@
* when installing the Switch connector plugin.
*
* CHOO-1260 config-flip point: the public-repo move repoints this. See
- * RELEASING.md. Keep in sync with the switchdash auto-update target
- * (RELEASE_REPO_* in apps/switchdash-desktop/src/shared/app-identity.ts).
+ * RELEASING.md. Keep in sync with the Switch Console auto-update target
+ * (RELEASE_REPO_* in apps/switch-console-desktop/src/shared/app-identity.ts).
*/
export const SWITCH_MARKETPLACE_SOURCE = 'sandbox-quantum/switch';
diff --git a/dash/packages/plugins/tsdown.config.ts b/dash/packages/plugins/tsdown.config.ts
index b4d17e80d..6c197a029 100644
--- a/dash/packages/plugins/tsdown.config.ts
+++ b/dash/packages/plugins/tsdown.config.ts
@@ -7,7 +7,7 @@ export default defineConfig({
format: ['esm'],
dts: true,
deps: {
- neverBundle: ['zod', 'smol-toml', '@switchdash/core'],
+ neverBundle: ['zod', 'smol-toml', '@switch-console/core'],
},
sourcemap: true,
clean: true,
diff --git a/dash/packages/shared/package.json b/dash/packages/shared/package.json
index f3d5cfccc..31915d6e3 100644
--- a/dash/packages/shared/package.json
+++ b/dash/packages/shared/package.json
@@ -1,10 +1,10 @@
{
- "name": "@switchdash/shared",
+ "name": "@switch-console/shared",
"version": "1.0.0",
- "description": "Shared primitives for Switchdash",
+ "description": "Shared primitives for Switch Console",
"license": "Apache-2.0",
"author": {
- "name": "Switchdash Contributors"
+ "name": "Switch Console Contributors"
},
"files": [
"dist"
@@ -22,7 +22,7 @@
"dev": "tsdown --watch",
"build": "tsdown",
"test": "vitest run",
- "lint": "sh -c 'root=$(cd ../.. && pwd); cd \"$root/apps/switchdash-desktop\" && pnpm exec oxlint --config .oxlintrc.json \"$root/packages/shared\"'",
+ "lint": "sh -c 'root=$(cd ../.. && pwd); cd \"$root/apps/switch-console-desktop\" && pnpm exec oxlint --config .oxlintrc.json \"$root/packages/shared\"'",
"format": "oxfmt",
"format:check": "oxfmt --check",
"typecheck": "tsgo --noEmit -p tsconfig.json"
diff --git a/dash/packages/shared/src/artifacts.ts b/dash/packages/shared/src/artifacts.ts
index 48db34903..c2b28246c 100644
--- a/dash/packages/shared/src/artifacts.ts
+++ b/dash/packages/shared/src/artifacts.ts
@@ -21,7 +21,7 @@ export interface ContractRange {
*/
export const ARTIFACT_VERSIONS = {
'switch-core': '0.12.4',
- switchdash: '0.19.3',
+ 'switch-console': '0.19.3',
'agent-runtime': '0.2.0',
sidecar: '1.8.0',
gateway: '0.12.4',
@@ -48,16 +48,16 @@ export const CONTRACTS = {
// The HTTP API switch-core serves to first-party UI clients. Excludes the authentication surface, which is deliberately frozen and unversioned so that a client can always authenticate far enough to be told what is wrong.
'gateway-api': {
'switch-core': { speaks: 1, accepts: 1 },
- switchdash: { speaks: 1, accepts: 1 },
+ 'switch-console': { speaks: 1, accepts: 1 },
},
- // The interface of the published standalone compose artifact — its service names, profiles, and environment variables — which switchdash's local-server mode drives.
+ // The interface of the published standalone compose artifact — its service names, profiles, and environment variables — which Switch Console's local-server mode drives.
'stack-compose': {
- switchdash: { speaks: 1, accepts: 1 },
+ 'switch-console': { speaks: 1, accepts: 1 },
compose: { speaks: 1, accepts: 1 },
},
- // How switchdash controls a deployed sidecar on a remote host: the ready file it reads, and the control channel it opens.
+ // How Switch Console controls a deployed sidecar on a remote host: the ready file it reads, and the control channel it opens.
'sidecar-control': {
- switchdash: { speaks: 1, accepts: 1 },
+ 'switch-console': { speaks: 1, accepts: 1 },
sidecar: { speaks: 1, accepts: 1 },
},
// The database schema switch-core expects. Internal to switch-core — this contract is never disclosed in an externally facing response.
diff --git a/dash/packages/switch-agent-runtime/package.json b/dash/packages/switch-agent-runtime/package.json
index cde49f1c1..97a088bd3 100644
--- a/dash/packages/switch-agent-runtime/package.json
+++ b/dash/packages/switch-agent-runtime/package.json
@@ -33,7 +33,7 @@
"dev": "tsdown --watch",
"build": "tsdown",
"test": "vitest run",
- "lint": "sh -c 'root=$(cd ../.. && pwd); cd \"$root/apps/switchdash-desktop\" && pnpm exec oxlint --config .oxlintrc.json \"$root/packages/switch-agent-runtime\"'",
+ "lint": "sh -c 'root=$(cd ../.. && pwd); cd \"$root/apps/switch-console-desktop\" && pnpm exec oxlint --config .oxlintrc.json \"$root/packages/switch-agent-runtime\"'",
"format": "oxfmt",
"format:check": "oxfmt --check",
"typecheck": "tsgo --noEmit -p tsconfig.json"
diff --git a/dash/packages/switch-agent-runtime/src/artifacts.ts b/dash/packages/switch-agent-runtime/src/artifacts.ts
index 48db34903..c2b28246c 100644
--- a/dash/packages/switch-agent-runtime/src/artifacts.ts
+++ b/dash/packages/switch-agent-runtime/src/artifacts.ts
@@ -21,7 +21,7 @@ export interface ContractRange {
*/
export const ARTIFACT_VERSIONS = {
'switch-core': '0.12.4',
- switchdash: '0.19.3',
+ 'switch-console': '0.19.3',
'agent-runtime': '0.2.0',
sidecar: '1.8.0',
gateway: '0.12.4',
@@ -48,16 +48,16 @@ export const CONTRACTS = {
// The HTTP API switch-core serves to first-party UI clients. Excludes the authentication surface, which is deliberately frozen and unversioned so that a client can always authenticate far enough to be told what is wrong.
'gateway-api': {
'switch-core': { speaks: 1, accepts: 1 },
- switchdash: { speaks: 1, accepts: 1 },
+ 'switch-console': { speaks: 1, accepts: 1 },
},
- // The interface of the published standalone compose artifact — its service names, profiles, and environment variables — which switchdash's local-server mode drives.
+ // The interface of the published standalone compose artifact — its service names, profiles, and environment variables — which Switch Console's local-server mode drives.
'stack-compose': {
- switchdash: { speaks: 1, accepts: 1 },
+ 'switch-console': { speaks: 1, accepts: 1 },
compose: { speaks: 1, accepts: 1 },
},
- // How switchdash controls a deployed sidecar on a remote host: the ready file it reads, and the control channel it opens.
+ // How Switch Console controls a deployed sidecar on a remote host: the ready file it reads, and the control channel it opens.
'sidecar-control': {
- switchdash: { speaks: 1, accepts: 1 },
+ 'switch-console': { speaks: 1, accepts: 1 },
sidecar: { speaks: 1, accepts: 1 },
},
// The database schema switch-core expects. Internal to switch-core — this contract is never disclosed in an externally facing response.
diff --git a/dash/packages/switch-agent-runtime/src/bin.ts b/dash/packages/switch-agent-runtime/src/bin.ts
index 10c3cdd75..ac44e1c40 100644
--- a/dash/packages/switch-agent-runtime/src/bin.ts
+++ b/dash/packages/switch-agent-runtime/src/bin.ts
@@ -21,7 +21,7 @@
* from its own getppid(), so each session's hook reaches its own runtime
* without any cross-session coordination.
*
- * Identity is resolved in two steps, environment first. switchdash puts the
+ * Identity is resolved in two steps, environment first. Switch Console puts the
* `SWITCH_*` vars in the session's environment when it launches one itself, and
* that path is taken whole whenever all three are present. Otherwise the local
* agent store decides — the working tree says which agents are provisioned
@@ -64,13 +64,13 @@ let API_TOKEN = '';
let AGENT_ID = '';
let AGENT_NAME = '';
-// When this session is managed by switchdash, switchdash reads the agent
+// When this session is managed by Switch Console, Switch Console reads the agent
// bridge itself and injects addressed messages into the PTY. Reads are no
// longer destructive, so both can read the same events without stealing from
// each other — but the agent would be told twice. So we still hold the
// connection (it is what correlates every tool call and proves this session is
// reachable) and simply do not surface events as notifications.
-// Env var name kept for compatibility with switchdash releases in the wild.
+// Env var name kept for compatibility with Switch Console releases in the wild.
const SUPPRESS_NOTIFICATIONS = process.env.SWITCH_CHANNEL_DISABLE_POLL === '1';
// Claude Code may spawn this server twice on startup: once before settings.env
@@ -374,7 +374,7 @@ type AgentEvent = {
// delivery rather than this session's room slot.
// A supervisor that spawned this session may hand it a connection to share
-// (switchdash does: it opens the stream, then passes the id in the
+// (Switch Console does: it opens the stream, then passes the id in the
// environment). Then this process holds no stream and no heartbeat of its own —
// it only tags its tool calls with the id, so the server can tell which session
// is calling and which room that session is in.
@@ -790,7 +790,7 @@ function deadConnectionMessage(operation: string): string {
return (
`Switch is unreachable from this session: ${operation} was refused because ` +
`connection ${CONNECTION_ID} no longer exists on the server.\n\n` +
- 'The supervisor that launched this session (switchdash, or the sidecar on ' +
+ 'The supervisor that launched this session (Switch Console, or the sidecar on ' +
'this host) handed over that connection and has since restarted. The id ' +
'was read once at startup and cannot be refreshed, so this is permanent ' +
'for this session — retrying will fail the same way.\n\n' +
@@ -844,7 +844,7 @@ async function callOperation(
],
// Object results are also returned as structured content. The remote MCP
// server produced this for free (FastMCP derives it from the return
- // type), and hosts read the tool's *fields* from it — switchdash's
+ // type), and hosts read the tool's *fields* from it — Switch Console's
// connect_to_room hook takes room_id and agent_id straight off the tool
// response. Text alone leaves them with a blob they cannot address, so
// the session silently never gets bound to its room.
@@ -1120,7 +1120,7 @@ function startStream() {
// and a room subscribed afterwards would arrive too late for the
// buffered events this reconnect exists to recover.
//
- // Not when switchdash is managing this session, though. It runs its own
+ // Not when Switch Console is managing this session, though. It runs its own
// connection for the room and claims the slot; a second claim from here
// would be refused, and whichever of us lost would sit in a reconnect
// loop delivering nothing. Suppressing the *notification* was never
@@ -1189,7 +1189,7 @@ async function handleFrame(frame: SseFrame): Promise<void> {
default:
if (SUPPRESS_NOTIFICATIONS) {
// Consumed, not surfaced: the cursor still advances, so resuming after
- // a drop stays correct even though switchdash is doing the telling.
+ // a drop stays correct even though Switch Console is doing the telling.
return;
}
await handleEvent(frame.data as unknown as AgentEvent);
@@ -1239,7 +1239,7 @@ function setConnectedRoom(target: string | null) {
process.stderr.write(
`switch: joining room ${target}` +
(OWNS_CONNECTION ? '' : ' (connection shared with the supervisor)') +
- (SUPPRESS_NOTIFICATIONS ? ' (notifications suppressed: switchdash-managed)' : '') +
+ (SUPPRESS_NOTIFICATIONS ? ' (notifications suppressed: Switch Console-managed)' : '') +
'\n'
);
@@ -1256,7 +1256,7 @@ function setConnectedRoom(target: string | null) {
if (SUPPRESS_NOTIFICATIONS) {
// Managed session on an older supervisor that did not hand us an id: it
// runs its own connection for this room and owns the slot, so ours must
- // not compete for a room it is not serving. Kept for switchdash releases
+ // not compete for a room it is not serving. Kept for Switch Console releases
// in the wild; the shared-connection path above replaces it.
return;
}
diff --git a/dash/packages/switch-agent-runtime/src/index.ts b/dash/packages/switch-agent-runtime/src/index.ts
index e8147e36d..4f0cc998b 100644
--- a/dash/packages/switch-agent-runtime/src/index.ts
+++ b/dash/packages/switch-agent-runtime/src/index.ts
@@ -8,7 +8,7 @@
* surfacing them as MCP notifications, or deciding to start a session are all
* the consumer's business.
*
- * Imported by switchdash (which delivers into a session's pane) and by this
+ * Imported by Switch Console (which delivers into a session's pane) and by this
* package's own MCP runtime (which serves them next to the agent). It exists
* because those two had a copy each and the copies drifted within a day.
*
diff --git a/dash/packages/switch-agent-runtime/src/sse.ts b/dash/packages/switch-agent-runtime/src/sse.ts
index fd2a8b4dd..667967ea2 100644
--- a/dash/packages/switch-agent-runtime/src/sse.ts
+++ b/dash/packages/switch-agent-runtime/src/sse.ts
@@ -2,7 +2,7 @@
* The agent bridge's SSE framing.
*
* One implementation, imported by everything that speaks the protocol: the
- * local MCP runtime next to the agent, and switchdash. It used to exist twice —
+ * local MCP runtime next to the agent, and Switch Console. It used to exist twice —
* separate deployables, no shared package — and the copies drifted within a day
* of being made. This package is what removed the excuse.
*
diff --git a/dash/packages/switch-agent-runtime/tsdown.config.ts b/dash/packages/switch-agent-runtime/tsdown.config.ts
index 4732fdf33..355420bf0 100644
--- a/dash/packages/switch-agent-runtime/tsdown.config.ts
+++ b/dash/packages/switch-agent-runtime/tsdown.config.ts
@@ -2,7 +2,7 @@ import { defineConfig } from 'tsdown';
export default defineConfig({
// Two entry points, deliberately separate. `index` is the protocol client
- // switchdash imports; `bin` is the MCP server npx runs. Splitting them keeps
+ // Switch Console imports; `bin` is the MCP server npx runs. Splitting them keeps
// the MCP SDK out of anything that only wants to talk to Switch.
entry: { index: 'src/index.ts', bin: 'src/bin.ts' },
format: ['esm'],
diff --git a/dash/pnpm-lock.yaml b/dash/pnpm-lock.yaml
index 0229d3f8a..0c0c2eaab 100644
--- a/dash/pnpm-lock.yaml
+++ b/dash/pnpm-lock.yaml
@@ -14,7 +14,7 @@ importers:
.: {}
- apps/switchdash-desktop:
+ apps/switch-console-desktop:
dependencies:
'@parcel/watcher':
specifier: ^2.5.6
@@ -22,13 +22,13 @@ importers:
'@sandbox-quantum/switch-agent-runtime':
specifier: workspace:*
version: link:../../packages/switch-agent-runtime
- '@switchdash/core':
+ '@switch-console/core':
specifier: workspace:*
version: link:../../packages/core
- '@switchdash/plugins':
+ '@switch-console/plugins':
specifier: workspace:*
version: link:../../packages/plugins
- '@switchdash/shared':
+ '@switch-console/shared':
specifier: workspace:*
version: link:../../packages/shared
'@typescript/native-preview':
@@ -302,7 +302,7 @@ importers:
'@parcel/watcher':
specifier: ^2.5.6
version: 2.5.6
- '@switchdash/shared':
+ '@switch-console/shared':
specifier: workspace:*
version: link:../shared
semver:
@@ -333,7 +333,7 @@ importers:
packages/plugins:
dependencies:
- '@switchdash/core':
+ '@switch-console/core':
specifier: workspace:*
version: link:../core
smol-toml:
diff --git a/deploy/local/docker-compose.yml b/deploy/local/docker-compose.yml
index 5a21f30bd..66cc948e7 100644
--- a/deploy/local/docker-compose.yml
+++ b/deploy/local/docker-compose.yml
@@ -64,7 +64,7 @@ services:
# leave a "(message deleted)" tombstone. Requires Mattermost >= v10.2.
MM_SERVICESETTINGS_ENABLEAPIPOSTDELETION: "true"
MM_TEAMSETTINGS_ENABLEOPENSERVER: "true"
- # Both of these exist for switchdash's embedded room view (CHOO-1674):
+ # Both of these exist for Switch Console's embedded room view (CHOO-1674):
# the onboarding checklist opens a modal over a dimmed page inside the
# pane, and Mattermost only turns known schemes into links, so without
# the second the `switchdash://session?…` deeplinks agents post render as
diff --git a/deploy/local/standalone-docker-compose.yml b/deploy/local/standalone-docker-compose.yml
index 040d23349..7c166576c 100644
--- a/deploy/local/standalone-docker-compose.yml
+++ b/deploy/local/standalone-docker-compose.yml
@@ -1,7 +1,7 @@
# Standalone all-in-one Switch stack, running published GHCR images.
#
# This file is a VERSIONED CONTRACT: service names, profiles, and the env vars
-# below are the interface switchdash (and any other consumer) pins against. It
+# below are the interface Switch Console (and any other consumer) pins against. It
# is itself published to GHCR as an OCI artifact per `switch-v*` release, tagged
# with the same version as the images. Change the interface deliberately.
#
@@ -25,10 +25,10 @@
# or misspelt env var silently floated the whole stack to whatever had most
# recently been published — a different switch-core on every `up`, with nothing
# to say so. Compose now refuses to start rather than pick a version nobody
-# asked for (CHOO-1865). `.env.example` sets it, and switchdash writes it.
+# asked for (CHOO-1865). `.env.example` sets it, and Switch Console writes it.
# What this compose artifact speaks on the `stack-compose` contract, which is
-# what switchdash's local-server mode pins against (CHOO-1865). The version this
+# what Switch Console's local-server mode pins against (CHOO-1865). The version this
# file is published under says which release it is; this says what it speaks.
# Compose ignores `x-` keys.
x-switch-contract:
@@ -96,7 +96,7 @@ services:
TUWUNEL_MAX_REQUEST_SIZE: "20000000"
mattermost:
- # Pinned rather than `latest`: switchdash embeds this Mattermost's web UI
+ # Pinned rather than `latest`: Switch Console embeds this Mattermost's web UI
# and depends on its DOM structure, so an unattended upgrade could break
# the embedded room view on a `docker compose pull` no one initiated.
image: mattermost/mattermost-team-edition:11.9.0
diff --git a/deploy/remote/helm/switch/templates/mattermost/deployment.yaml b/deploy/remote/helm/switch/templates/mattermost/deployment.yaml
index 983829e3a..168205ef7 100644
--- a/deploy/remote/helm/switch/templates/mattermost/deployment.yaml
+++ b/deploy/remote/helm/switch/templates/mattermost/deployment.yaml
@@ -58,7 +58,7 @@ spec:
value: "true"
- name: MM_TEAMSETTINGS_ENABLEOPENSERVER
value: "true"
- # For switchdash's embedded room view (CHOO-1674): suppress the
+ # For Switch Console's embedded room view (CHOO-1674): suppress the
# onboarding modal, and linkify the `switchdash://` deeplinks
# agents post. Kept in step with the standalone compose.
- name: MM_SERVICESETTINGS_ENABLEONBOARDINGFLOW
diff --git a/deploy/remote/helm/switch/values.yaml b/deploy/remote/helm/switch/values.yaml
index 3c0e9bb33..3f75b65bc 100644
--- a/deploy/remote/helm/switch/values.yaml
+++ b/deploy/remote/helm/switch/values.yaml
@@ -189,7 +189,7 @@ mattermost:
regularUser: user
siteUrl: ""
# User-facing Mattermost URL, used to build channel deeplinks (the
- # mattermost:// links surfaced in switchdash). Distinct from the internal
+ # mattermost:// links surfaced in Switch Console). Distinct from the internal
# cluster address Switch connects to. Empty → falls back to the internal URL.
publicUrl: ""
maxUsersPerTeam: 1000
diff --git a/scripts/codex-hook-probe/run.sh b/scripts/codex-hook-probe/run.sh
index 26da284cd..e92063ff3 100755
--- a/scripts/codex-hook-probe/run.sh
+++ b/scripts/codex-hook-probe/run.sh
@@ -4,16 +4,16 @@
# reading the binary:
#
# 1. Does Codex deliver a hook's event payload on stdin, with no positional
-# operands? switchdash's hook commands pipe stdin into curl (`-d @-`), so a
+# operands? Switch Console's hook commands pipe stdin into curl (`-d @-`), so a
# payload handed over as a positional operand instead would leave them
-# posting an empty body. This one is live: SessionStart is how switchdash
+# posting an empty body. This one is live: SessionStart is how Switch Console
# captures the rollout id.
#
# 2. What shape does `tool_response` take for an MCP tool call? Claude Code
# unwraps the MCP result; Codex forwards the `CallToolResult` envelope, so
# the payload sits under `structuredContent` / `content[0].text`. The hook
-# enricher handles either shape. switchdash no longer installs a PostToolUse
-# hook for Codex — a session's room comes from the connection switchdash
+# enricher handles either shape. Switch Console no longer installs a PostToolUse
+# hook for Codex — a session's room comes from the connection Switch Console
# hands it — so this is a record of Codex's delivery contract, kept for when
# a PostToolUse hook is wanted again, not something shipping code depends on.
#
@@ -63,7 +63,7 @@ fi
chmod 600 "$CODEX_HOME/auth.json"
# The hook commands record what Codex actually handed them: the operand count,
-# the first operand, and stdin. Deliberately NOT the commands switchdash
+# the first operand, and stdin. Deliberately NOT the commands Switch Console
# generates — this measures the delivery mechanism, not our shell.
#
# Built with json.dumps rather than a heredoc: the commands contain quotes, and
@@ -115,7 +115,7 @@ echo
# `--dangerously-bypass-hook-trust` is required: Codex persists a `trusted_hash`
# per hook and silently skips any it has not been told to trust, so without it
# the probe reports "HOOK DID NOT FIRE" for reasons that have nothing to do with
-# what it is measuring. switchdash passes the same flag on every Codex session
+# what it is measuring. Switch Console passes the same flag on every Codex session
# (see `CODEX_HOOK_TRUST_FLAG` in
# dash/packages/plugins/src/agents/impl/codex/hooks.ts).
CODEX_HOME="$CODEX_HOME" codex exec \
diff --git a/scripts/gen_artifacts.py b/scripts/gen_artifacts.py
index 2f4486ad4..9a2271a2b 100644
--- a/scripts/gen_artifacts.py
+++ b/scripts/gen_artifacts.py
@@ -281,14 +281,14 @@ def read_declared_version(relative_path: str) -> str:
# which is all that is needed to stop them drifting.
LITERAL_CHECKS: list[tuple[str, str, str]] = [
(
- "dash/apps/switchdash-desktop/src/shared/app-identity.ts",
+ "dash/apps/switch-console-desktop/src/shared/app-identity.ts",
"COMPATIBLE_SWITCH_VERSION",
- "switchdash.pins.switch-core",
+ "switch-console.pins.switch-core",
),
(
- "dash/apps/switchdash-desktop/src/shared/app-identity.canary.ts",
+ "dash/apps/switch-console-desktop/src/shared/app-identity.canary.ts",
"COMPATIBLE_SWITCH_VERSION",
- "switchdash.pins.switch-core",
+ "switch-console.pins.switch-core",
),
]
@@ -459,7 +459,7 @@ def render_typescript(registry: Registry) -> str:
TARGETS = [
# switch-core: the agent bridge, the gateway API, and the schema check.
Target(REPO_ROOT / "core" / "switch_core" / "artifacts.py", render_python),
- # switchdash: the desktop app and the sidecar it bundles and deploys.
+ # Switch Console: the desktop app and the sidecar it bundles and deploys.
Target(
REPO_ROOT / "dash" / "packages" / "shared" / "src" / "artifacts.ts",
render_typescript,