Skip to content

Remove Rust: the launcher is the whole front door - #9

Merged
vecnode merged 3 commits into
mainfrom
remove-rust
Nov 19, 2026
Merged

vecnode merged 3 commits into
mainfrom
remove-rust

Conversation

@vecnode

@vecnode vecnode commented Nov 19, 2026

Copy link
Copy Markdown
Owner

What this does

Removes Rust from the repository. It is Node/TS/JS and nothing else now.

scripts/run-web.bat / run-web.ps1 / run-web.sh were already the thing that runs the pinned npx @deepseek-ai/dsh web, watches the dsh web: ready line and opens it in Google Chrome. The Rust vncode front door only wrapped them, so it went - together with everything that existed only to build and prove it.

Deleted

  • app/ - three cargo crates and the vncode binary
  • port/ + docs/RUST-PORT.md - the plan to port the harness core to Rust
  • scripts/run-desktop.bat / run-desktop.sh
  • scripts/checks/check-shell.mjs - its one still-useful assertion moved into check-scripts.mjs

Behaviour changes (all documented, none of them Chrome)

before after
Chrome launcher opens it first unchanged
install run-desktop auto-installed scripts/setup/install.* once, then run-web
key vncode key prompted, wrote <home>/.env harness Settings > Models, or that line in <home>/.env
status vncode status -
environment composed for the child inherited

CI and release

  • ci.yml: one job, node:22 container, git installed (the checkout is git), runs check-no-secrets + check-scripts behind a Node floor assertion. No compiler, no per-OS matrix.
  • release.yml: one artefact, vncode-<version>.zip, from git archive at the tag - verified to keep the exec bit on run-web.sh and CRLF in the .bat files.

How to review

node scripts/checks/check-scripts.mjs        # drives run-web.* -Help + both setup entry points
node scripts/checks/check-client-bundles.mjs # passed after the dsh-themes comment edits
node scripts/checks/check-no-secrets.mjs

Deliberately kept (none of it is the app)

  • rust as a syntax-highlighting language for .rs files in dsh-editor, and the check assertions on it - it is a language name, not a toolchain
  • "Processing in Rust" as a hypothetical dsh-proto-lab runtime
  • packages/dsh-frontend-craft/vendor/impeccable/build-engine.mjs, the maintainer-only script that rebuilds the vendored wasm detector from Impeccable's upstream Rust crates - nothing at install or run time needs Rust

Say the word and any of those three goes too.

The repository is Node/TS/JS. scripts/run-web.bat / run-web.ps1 / run-web.sh
already open Google Chrome first and already carry the harness-home ladder, so
the Rust vncode front door had nothing left to own that the launcher could not.

Deleted: app/ (three cargo crates, the vncode binary), port/ and
docs/RUST-PORT.md (the plan to port the harness core to Rust),
scripts/run-desktop.bat / .sh, scripts/checks/check-shell.mjs.

Lost on purpose, and said so in the docs: the key, status and auto-install
verbs (install is its own entry point; the key belongs to the harness - Settings
> Models, or <home>/.env) and the composed child environment (the launcher
inherits).

CI is one node:22 container job running check-no-secrets and check-scripts; the
release is one artefact, vncode-<version>.zip, built with git archive at the tag,
which is what "the distribution is this repository" now means literally.

check-scripts.mjs drives run-web.* -Help itself (the assertion check-shell used to
make) and fails if either workflow reaches for a Rust toolchain.
Thirty rows sorted by package name, A to Z, so a reader looking for one knows
where to look instead of scanning the whole table. Row text is unchanged - the
sort only moves lines.
The version the pack reports, bumped after the Rust front door was removed. Only
package.json moves: the cargo workspace that used to carry the number is gone with
it.

Verified before the tag: check-scripts (layout, console contract, run-web.* -Help
and the setup pair driven), check-client-bundles and check-no-secrets. The release
workflow runs its own gate on the tag, and a red gate stops the draft before it
exists.
@vecnode
vecnode merged commit 8cbd7af into main Nov 19, 2026
1 check failed
@vecnode
vecnode deleted the remove-rust branch November 19, 2026 20:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant