Skip to content

About

Install DepLoom MCP and its upgrade Skill on Windows, Linux and macOS through npm. Includes offline installers and a public dependency migration cache.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

Levencode Labs Deploom npm — cross-platform setup, local runtime and advisory snapshots

Deploom npm

Install the DepLoom MCP server and upgrade Skill on Windows, Linux, and macOS.

Quick start · Windows setup · Linux and macOS · Offline setup · Public data · Releases · Levencode Labs

DepLoom helps a coding agent upgrade npm dependencies. The MCP server produces a plan with exact versions and compatibility constraints. The upgrade Skill guides the agent through the changes and project checks.

Quick start

  1. Use Node.js 22 or later with npm. Run this from a terminal for Codex, or replace codex with claude or opencode.

    npm exec --yes --package=@levencode/deploom -- deploom setup codex

    In Windows PowerShell, use npm.cmd if the PowerShell shim is blocked. See the platform details and offline setup.

  2. Restart your agent and open a branch of an npm project with Vite and a package-lock.json. Send this request.

Use the deploom-upgrade skill. Plan an upgrade of vite to the latest compatible patch in its current minor line. Show the exact versions, files and checks. Keep the project unchanged while planning.

When the scope is right, ask the agent to apply the agreed blueprint in your branch, verify the installation and peer dependencies, and run the project's usual checks. Review the manifest and lockfile diff, the installed version and the check results. Optionally ask for a vulnerability audit with unknown coverage called out.

Version history

Windows installer

Requirements

Windows x64, Node.js 22 or later with npm, and a supported client. Setup copies the runtime to a versioned directory under %LOCALAPPDATA%\DepLoom\public. The installed MCP keeps working after npm clears its download cache.

To install the stable release from npm, run this command in PowerShell. The example configures Codex. Use claude for Claude Code or opencode for OpenCode.

npm.cmd exec --yes --package=@levencode/deploom -- deploom setup codex

Offline setup

Copy the .tgz from the Windows release to the target machine. Open PowerShell in the directory containing the archive. The same command works with an empty npm cache.

npm.cmd exec --offline --yes --package=./levencode-deploom-0.2.31.tgz -- deploom setup codex

Restart the client after setup to load the server and discover the Skill.

Linux and macOS

Use Node.js 22 or newer with npm. The Linux builds target glibc on x64 and ARM64. The macOS build targets Apple Silicon. The native CI runs on Ubuntu 24.04 and macOS 15.

For an online installation, run the following from your project. First setup downloads a private CPython interpreter from GitHub and hash-checked packages from PyPI and the DepLoom MCP release. The installed server runs locally.

npm exec --yes --package=@levencode/deploom -- deploom setup codex

For an offline installation, download the archive matching the destination machine from the release assets. The available archive prefixes are deploom-linux-x64, deploom-linux-arm64, and deploom-darwin-arm64. For example, on Apple Silicon run the following in the directory containing the file.

npm exec --offline --yes --package=./deploom-darwin-arm64-0.2.31.tgz -- deploom setup codex

Use claude or opencode in place of codex to register another client. Keep running Node.js on its native architecture. Intel macOS, Alpine/musl and Windows ARM64 are outside this release's supported matrix.

Updates and rollback

Rollback restores the registered client runtime. Package scripts can also write outside the project or contact external services. Those effects require separate recovery. To switch back to the previous version retained for that client, run deploom rollback codex from an installed CLI. Setup installs the server. To install or refresh the shared public npm advisory snapshot, run deploom cache refresh. The client fetches fixed public URLs, verifies the snapshot locally and retains the previous working data if refresh fails. Refresh it again before its seven-day freshness window expires.

Run deploom cache status to inspect the local OSV snapshot. This read-only command checks the installed database's size and digest against its local manifest and prints the edition and its UTC expiry. It works offline before client setup and honors DEPLOOM_MCP_OSV_DIR. Status is fresh, expiring during the last 48 hours, expired, missing, or invalid. The last three return exit code 1. For a custom directory, its owner supplies and refreshes the snapshot. The installer's cache refresh updates the default shared cache.

Interpreting vulnerability coverage

The npm launcher selects a local OSV directory even on a clean installation. A fresh, conclusive assessment ends the advisory check. When coverage is missing, the public planner can query npm's Bulk Advisory endpoint for an independently confirmed public package and exact version. The public wheel uses direct anonymous HTTPS for this check. When npm explicitly marks metadata public and offers a cookie, the client discards the cookie and uses the response only for that advisory lookup. Missing identity, conflicting lockfile evidence, an unavailable registry or an inconclusive response leave the result UNKNOWN.

The planner can also use the public npm metadata it already fetched for planning. If an anonymous response directly from https://registry.npmjs.org confirms the name and exact version, the planner can report zero known findings when the fresh snapshot has no matching advisory. For example, clsx@2.1.1 can be assessed even in an edition containing no entries for clsx. In this case the row reports publicIdentitySource: NPM_PUBLIC_PACKUMENT, and the advisory check makes no additional network request. A registry mirror, a system proxy or metadata for another version cannot establish this identity.

On Windows, run these commands from the directory containing the official release archive, then restart Codex. The second command downloads the shared snapshot and requires internet access.

npm.cmd exec --offline --yes --package=./levencode-deploom-0.2.31.tgz -- deploom setup codex
npm.cmd exec --offline --yes --package=./levencode-deploom-0.2.31.tgz -- deploom cache refresh

Hosts can still set DEPLOOM_MCP_PUBLIC_NAMES to comma-separated exact npm names whose public identity they have independently verified. For mixed projects, declare private scopes such as @internal in DEPLOOM_MCP_PRIVATE_SCOPES. The 0.2.31 bundle has known private-routing gaps, including native audit. Until an installed release passes the private-routing checks, use an independently enforced host egress policy before running DepLoom on a private inventory.

For corporate fallback from a local snapshot, the host enables DEPLOOM_MCP_DISABLE_EXTERNAL_EVIDENCE=1 and sets both DEPLOOM_MCP_REGISTRY_ADVISORY_SOURCE and DEPLOOM_MCP_CORPORATE_ADVISORY_SOURCE to the approved corporate HTTPS registry used by the plan. For private scoped registry dependencies, the host also grants metadata access by setting DEPLOOM_MCP_ALLOWED_PROJECT_REGISTRY to that registry. A package omitted from its bulk response has unconfirmed coverage. A direct dependency plan and a full lockfile audit can have different totals. Compare identical exact package–version pairs and use the same counting unit for both sources.

After setting up a CLI version with the coverage diagnostic, run it against the saved Draft result. Keep the original plan.json beside result.json.

deploom diagnose-coverage path/to/result.json

To replay older rows, pass --snapshot-dir path/to/osv explicitly and supply the original host scope and public-name settings. The command checks the snapshot identity against the saved run. Add --inventory path/to/canonical-yarn-inventory.json to count identical package–version pairs in the saved Yarn inventory, or --focus package-name to show reasons for one dependency. The command runs locally using the installed runtime for that CLI version.

Collective migration knowledge

DepLoom uses a maintainer-controlled, signed, sharded v2 knowledge base built from independently reproducible public migration fixtures. It stores broader breaking changes, codemod guidance, package incompatibilities, playbooks and known failure modes. The matching scope, negative controls, immutable proof and recipient verification requirements accompany each item. An item with a matching major line is only a candidate, never proof for an untested version.

Users do not submit telemetry, code, migration observations, PRs, or recipes. There is no public-contribution or data-only auto-merge workflow in this branch. The older signed v1 snapshot is kept as a fixed compatibility fallback, but it is not the knowledge corpus developed by the factory. The signing private key remains in the protected publisher environment, never in agents.

The v2 protocol describes the signed index, the shards, and how MCP verifies them.

The generated coverage map (English, Русский, JSON) separates records, distinct recommendations, exact transitions, manager support and explicit evidence levels. It binds platform and browser claims to retained qualification receipts. Prepared, published-export and installed-local states remain separate; record counts do not measure compatibility of arbitrary projects. CI rejects a stale map.

Public data

Run python cache/build_osv.py build/osv with Python 3.12 or newer to create an index from the public npm ecosystem export. The output includes the compressed SQLite database and its versioned manifest. The publisher refreshes this public export daily; it does not read a user's project, lockfile, or private package names. Knowledge admission remains a separate reviewed, signed publication process.

CI runs the cache tests with the exact consumer and hash-locked dependencies from .github/actions/setup-cache-consumer. This includes the synthetic OSV export, deterministic shard digests and counts, duplicate-ID rejection, invalid-proof negatives, and signed-edition compatibility. Use that environment for python -m unittest discover -s cache -v and python cache/coverage_map.py --check.

Disable shared cache updates

Set DEPLOOM_MCP_LOCAL_CACHE_ONLY=1 in the MCP server's environment and restart the client. The CLI 0.2.31 launcher also sets the external-evidence disable flag in this mode. As a result the child MCP can report local migration knowledge as disabled even when the signed cache is valid. The launcher fix is in source and requires a later CLI release. Manual refresh is blocked in a CLI with the same cache-only environment. Offline OSV coverage depends on the local edition and its expiry.

When the host permits external evidence and the OSV snapshot has a coverage gap, the planner can send a package name and exact version to npm's Bulk Advisory endpoint only after verifying the version against anonymous public npm metadata. A completed zero-finding assessment needs no second query. Set DEPLOOM_MCP_PUBLIC_ADVISORY_FALLBACK=0 to disable those public advisory requests.

DEPLOOM_MCP_DISABLE_EXTERNAL_EVIDENCE=1 also restricts evidence sources, but disables shared-knowledge reads unless DEPLOOM_MCP_RECORDS_MIRROR_ONLY=1 selects an approved mirror. Declare private scopes with DEPLOOM_MCP_PRIVATE_SCOPES; those scopes override public-name evidence. These settings govern DepLoom evidence access, not all traffic from npm, installation scripts, or project commands. Configure the variables in the client-launched MCP process as well as any shell used for CLI commands.

Release checks

The Windows CI workflow builds a development wheel from the pinned public sources, verifies the CPython archive and every wheel against the lock file, and checks the actual npm tarball. The release workflow pins the official MCP wheel in ci/mcp-release.json, tests the packed bytes on Windows, and publishes the same archive to npm using the latest tag for stable versions and next for prereleases with GitHub OIDC. A second Windows runner checks the npm download and the exact-version install before the GitHub release publishes upstream.json and the tarball for downstream import. To run the installation test on Windows with the three clients on PATH, use ci/test-install.ps1 -Tarball <archive> -Work <new-directory>.

Installation coverage exercises Codex, Claude Code, and OpenCode; POSIX package checks retain their platform matrix. The published-version regression runs ci/test-registry-rollback.ps1 -Previous <exact-version> -Current <exact-version> -Work <new-directory> on Windows and verifies the registered Codex MCP after initial setup, update, and rollback. This registry rollback test covers Codex; it does not claim rollback coverage for all three clients. Release acceptance requires both package checks and the published-byte/provenance verification.

Workflow actions are pinned to reviewed full commit SHAs with Node.js 24 action runtimes, including the action nested in the Pages upload composite. The Node.js and Python versions used to test packages and historical migration fixtures remain independently pinned; updating the action runtime does not narrow that compatibility matrix.

Semgrep scans the installer and exact Core and MCP revisions. Trivy scans the four unpacked runtimes and checks that it recognized the installed Python and npm package versions. High or critical findings and unreviewed security rules block publication. The source report also lists variable subprocess calls for audit.

License

The installer and first-party data tooling use the Apache License 2.0. Runtime components retain their upstream licenses. Installation and redistribution of the Windows binaries are offered subject to the CPython Windows binary conditions. Distributors and external users must agree to those terms for the Microsoft code delivered with the Python interpreter. The package contains the complete original terms in runtime/LICENSE.txt and THIRD_PARTY_NOTICES/CPython/LICENSE.txt.

The two Visual C++ runtime files included with CPython are distributed unchanged as part of that interpreter. The Z3 binaries are built from the pinned Z3 source with MinGW-w64. Their source identity, compiler notices and GCC Runtime Library Exception are included under THIRD_PARTY_NOTICES/z3-solver/. The Windows integration includes the pywin32 components used by the MCP. The optional Pythonwin GUI and Exchange MAPI extensions are omitted.

Installed-state diagnostics (Stage C)

Use MCP get_installed_state or CLI deploom diagnose --json with a Stage C runtime. The diagnostic reports the actual runtime and Core pin, verifies local OSV/v1/v2/v3 separately, and distinguishes a failed refresh from a still-usable verified cache. If active versions differ, select a profile with --client codex|claude|opencode. It does not refresh data or change the environment. Contract and limits.

About

Install DepLoom MCP and its upgrade Skill on Windows, Linux and macOS through npm. Includes offline installers and a public dependency migration cache.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages