tmcode-ai (v1)
tmcode v1 = a source-level rebuild of opencode 1.17.4 with renamed identity.
Unlike v0 (which was a wrapper-only repackaging), v1 builds the binary from
source with:
- Config dirs renamed:
~/.config/tmcode, ~/.local/share/tmcode,
~/.local/state/tmcode, ~/.cache/tmcode instead of the upstream
opencode paths — tmcode and opencode can coexist on the same machine.
- Binary name:
tmcode (the executable on disk).
- CLI command:
tmcode.
- Migration hint: if you had an existing
~/.config/opencode install,
tmcode prints a one-time notice with copy-paste cp commands so you can
carry your settings over (no silent auto-move — opencode coexistence is
safe).
- 12 platform binaries built via Bun's cross-compile from a single
build host: darwin-arm64/x64 + linux-x64/arm64 (glibc + musl + baseline)
Source repo: https://github.com/sleep2agi/tmcode
Three install paths (pick any)
npm install -g tmcode-ai
npm install -g @sleep2agi/tmcode
All three install the same tmcode CLI.
What's still NOT renamed in v1
v1 is a focused rebuild — the user-facing surface (install command, binary
name, config dirs) is fully renamed, but the following are deferred to v1.1
for risk control:
- The 100+ internal workspace package names (
@opencode-ai/core, etc.) —
these are private workspace deps, never seen by users.
- Hundreds of test-assertion strings — renaming them in bulk would break the
test suite and add several hours of fix-up.
- Comment / docs strings mentioning "opencode" — semantic cleanup.
If you spot a user-visible "opencode" string in v1 that should be "tmcode",
please open an issue at https://github.com/sleep2agi/tmcode/issues.
Attribution
This package is a downstream rebuild of the opencode
project, distributed under its original MIT license. The upstream LICENSE
is preserved verbatim. All credit for the actual coding-agent runtime, TUI,
language-model integration, and tools goes to the opencode authors and
maintainers.
License
MIT — same as upstream opencode. See LICENSE.