Repository navigation
Contributing
decompile-release-bot edited this page Nov 21, 2026
·
1 revision
core/ # Rust CLI (release binary = decompile / decompile.exe)
Cargo.toml
.cargo/
config.toml # local dev (no LLVM required)
config.lld.toml # CI release build (clang + lld)
src/
main.rs # clap dispatcher
analyze.rs # file-type detection + findings JSON
setup.rs # 42-client registration writer
uninstall.rs
doctor.rs
capabilities.rs
providers.rs
guidance.rs
bin/
decompile.mjs # Node shim: Rust-first, Node fallback
decompile-node.mjs # Full Node CLI (parity with Rust)
src/
index.ts # MCP server entry — registers every tool
retools.ts # RE backend manifest
native-*.ts # 20+ zero-backend parsers
agent-mesh.ts # DM / channels / tasks / votes / KV / locks
mcp-hub.ts # smart_decompile + hub_consensus_call
skills-db.ts # SQLite catalog access
fs-sandbox.ts # path allowlist for file-reading tools
http-middleware.ts # HTTP transport + rate limit
docs/
workflow-instructions.md # installed by `setup` into agent skills
architecture.md
cookbook/
.github/workflows/
ci.yml # lint + test on every PR
release-core.yml # 7-target cross-build on tag push
codeql.yml # security scan
db.yml # catalog rebuilds
plugins.yml # host-side plugin builds
release.yml # legacy release pipeline
.wiki/ # synced to the GitHub wiki repo
git clone https://github.com/1llu50ry/Decompile && cd Decompile
npm install
npm run build
npm test # 91/91
(cd core && cargo build)
./core/target/debug/decompile doctorFor hot-reload TypeScript dev:
npm run dev # tsx watch modeFor the Rust binary:
cd core && cargo watch -x 'build' -x 'run -- doctor'-
TypeScript: strict mode, no
any, no implicit nullable, async code mustawaitproperly. Prefer named exports. No default exports. -
Rust:
cargo fmt+cargo clippy -- -D warningsmust be clean. Nounwrapin tool implementations (allowed inmainglue only). Tool error text must be actionable — tell the user what to call next. - No comments explaining what; comments say why (why this trick, why this constraint, why this fallback). Named functions and constants replace inline explanation.
- If it's a native parser, add
src/native-<topic>.tsand register it insrc/index.ts. - If it drives an external backend, add an entry to
BACKENDSinsrc/retools.tsand a per-backend tool likemytool_action. - Update MCP-Tools and RE-Backends in the wiki.
- Open a PR.
- Append the slug to
SUPPORTEDin bothcore/src/setup.rsandbin/decompile-node.mjs. - Add the config path to
client_config_path. - Add any aliases to
ALIASES/CLIENT_ALIASES. - Rebuild (
cargo build --release+npm run build). -
decompile setup --client <new-slug> --dry-runto verify.
- Pass
npm testlocally. - Keep the branch narrow — one feature per PR.
- Commit style:
scope: imperative subject(72 chars), optional body explaining why. - Dependabot auto-bumps CI actions + Docker base + dev deps; merge those quickly to keep the window green.
decompile v0.0.1 · MIT · npm · install.sh · install.ps1
Getting started
Core
Advanced
Project