Skip to content

Application Dependencies ​

osdk install installs tools: it puts Node, pnpm, or Python into osdk's own isolated directories. osdk deps installs a project's own dependency manifest: it reads package.json, drives the project's own package manager, and lands the whole dependency closure inside the project.

The two do not overlap:

What you wantUse
Provide pnpm itselfosdk install pnpm, or [tools]
Turn a whole package.json into node_modulesosdk deps
Add or remove one dependencyosdk install npm:<package>

Enabling it ​

deps does not act just because a package.json is nearby. That would be an implicit, large side effect -- the same judgement that keeps osdk install from fetching models on its own. Declare a provider explicitly:

toml
# osdk.toml
[deps.pnpm]

One line is enough. From there, two ways to use it.

Explicitly:

bash
osdk deps --list            # detected providers and their freshness
osdk deps --dry-run         # print what would run, without running it
osdk deps                   # materialize the manifest
osdk deps --explain         # also explain each freshness decision

Automatically (on by default): a bare osdk install, osdk run <task> or osdk exec checks whether declared dependencies are still fresh and materializes them if not. So after cloning a project, osdk run dev just works.

That check is cheap: it compares manifest hashes and does not scan installed files. On a hit it skips the dependency install. osdk checks membership with Cargo even if the member directory still has its own lockfile. Use osdk deps --verify for deep verification.

Three cases never trigger it:

bash
osdk install node@22        # a named tool installs that tool, nothing else
osdk run build --no-deps    # skip once; install and exec take it too
osdk run build --dry-run    # --dry-run is supposed to have no effects

To turn it off for a provider permanently:

toml
[deps.pnpm]
auto = false                # only affects automatic runs; `osdk deps` still does it

With no [deps] section, osdk deps only tells you what it found:

no `[deps]` section; found manifests osdk could manage:
  /path/to/project/package.json
    candidates: bun, npm, pnpm, yarn

enable one in osdk.toml, for example:
  [deps.bun]

Supported providers ​

providerecosystemmanifestnative lock
npm / pnpm / yarn / bunNodepackage.jsonits own lockfile
uvPythonpyproject.tomluv.lock
pip-requirementsPythonrequirements.txtnone (ordinary requirements are not a complete dependency lock)
goGogo.modgo.sum
cargoRustCargo.tomlCargo.lock
denoDenodeno.json / deno.jsoncdeno.lock

Two ways go / cargo / deno differ ​

Fetching dependencies does not execute their code. Measured: cargo fetch creates no target/ (so build.rs never ran), go mod download leaves no artifact in the project, and deno install creates no node_modules. These providers therefore have no --ignore-scripts equivalent to pass -- build scripts only become a concern at cargo build.

All three have a real frozen mode, and cargo's is the strictest.cargo fetch --locked fails both with no lock and when the lock is merely stale, whereas uv sync --frozen only promises not to update the lock and will quietly install the old set. So "--locked means the same thing everywhere" is not a safe assumption.

If you declare just a Cargo member, for example with [deps].roots = ["crates/demo"] and [deps.cargo], you can run:

bash
osdk deps //crates/demo:cargo --frozen --no-install-tools

osdk uses the installed or linked Cargo to check workspace membership, then runs cargo fetch --locked in the member directory. The same plan appears with --dry-run. Cargo uses the root Cargo.lock by default. Cargo 1.97 and later can select another lock with resolver.lockfile-path or CARGO_RESOLVER_LOCKFILE_PATH. An empty CARGO_HOME makes Cargo read configuration from .cargo under the effective home directory. [deps.cargo.env] can set that directory through HOME (or USERPROFILE on Windows). Cargo ignores a leftover lock in a member directory. An excluded crate can use its own lock, while Cargo rejects an unlisted crate. If osdk knows the effective lock path and the file is missing, it rejects the frozen plan. If the path is unresolved, --dry-run can still show cargo fetch --locked. During the actual fetch, Cargo checks for a current lock and leaves it unchanged. osdk also runs the locked fetch for path dependencies outside the workspace. Use --list --all --explain to see the workspace root and the lock path when known.

If Rust is missing, a local Cargo.lock can produce a provisional preview. An actual run without --no-install-tools can prepare Rust first, then use that Cargo to check which lock applies before fetching. If linked Rust provides Cargo through the shared rustup proxy, the locked fetch uses the toolchain selected by osdk. The rustup default toolchain can be unset. For a standalone crate with a local lock, even plain deps keeps --locked when osdk cannot determine the effective path, so Cargo can validate the lock.

go's toolchain is pinned

GOTOOLCHAIN defaults to auto: when go.mod asks for a newer Go, go downloads another toolchain itself (measured: it prints go: downloading go1.99.0). The fetch would then run under a Go that osdk neither selected nor verified, so osdk passes GOTOOLCHAIN=local. To use a newer Go, run osdk install go@<version>.

Not supported: bundler / composer ​

osdk has no ruby or php tool backend, so it cannot install bundler or composer themselves. Listing these providers would produce "declared, detected, then failed while installing the tool" -- worse than saying plainly that they are unsupported. Supporting them requires adding the corresponding language backend first.

Two things that differ on Python ​

uv gets --locked, not just --frozen. uv's --frozen only promises not to update the lock; it does not check the lock against pyproject.toml -- measured, a stale lock exits 0 and installs the old set, with a newly added dependency simply missing. Asserting the lock is current is --locked, so osdk passes --locked. npm ci fails in that situation, so the ecosystems are not symmetric.

A requirements.txt is resolution input, not a complete dependency lock. Even when every line uses ==, it commonly lists only root packages. uv pip sync treats the file as the entire environment set, installs only explicit entries, and removes transitive dependencies absent from the file. osdk therefore runs uv pip install -r requirements.txt: it resolves and installs the complete transitive closure, but does not prune packages outside the file and never lets --frozen mistake pinned roots for a complete lock. Use [deps.uv] with uv.lock when a reproducible Python environment is required.

Dependencies land in the project's own .venv, matching the same split as everywhere else: application dependencies in the project, tools in isolated directories. osdk also passes UV_PYTHON_DOWNLOADS=never, so the interpreter is the one osdk resolved rather than one uv fetched on its own.

Native launcher selection follows the host platform: Unix hosts execute extensionless launchers; Windows may use .exe, .cmd, or .bat. A bundled Windows launcher is never selected on Unix.

How the installer is chosen ​

Highest priority first; nothing lower can take a project away from something higher:

  1. packageManager in package.json -- the project's own declaration wins.
  2. A native lockfile already on disk -- whoever wrote it keeps managing it.
  3. The sole eligible provider in the effective project configuration.

Select the provider directly with [deps.<provider>]; manifests and lockfiles validate ownership.

Two contradictions are refused rather than guessed: a declaration of pnpm next to nothing but a yarn.lock, and two lockfiles of the same ecosystem in one directory. Both name the specific files so you can decide which to keep. The one exception is a member of a native pnpm/uv workspace: there the shared installation at the workspace root owns the member, so a lockfile of a different installer inside it (a package-lock.json kept for a separate npm deployment, say) is set aside and shown as a note instead of refusing the whole workspace. For the same reason, a member that declares nothing belongs to the workspace's installer rather than counting as ambiguous when several providers are enabled.

A manifest that will not parse is also an error rather than a skip. Walking silently past a broken package.json would install the wrong project's dependencies, or none, and report success.

Frozen installs ​

osdk looks for the native lockfile itself instead of passing a flag and assuming it took effect:

  • Lockfile present → a frozen install (npm ci, pnpm --frozen-lockfile, yarn berry --immutable, yarn classic and bun --frozen-lockfile).
  • No lockfile → a plain install, plus a warning: line saying a lockfile will be created.

Why this cannot be delegated: yarn@1.22.19 and bun exit 0 and install normally with no lockfile at all, and yarn@1 silently accepts berry's --immutable while neither freezing nor blocking scripts. Passing the flag without checking would be silently wrong on two of the four.

To require a lockfile in CI:

bash
osdk deps --frozen

That turns the fallback above into an error instead of a warning it is easy to miss.

Monorepos: declare the sub-projects ​

osdk does not scan downward for projects. To manage several packages in a monorepo, declare where they live under [deps]:

toml
[deps]
roots = ["apps/*", "packages/*"]

[deps.npm]

Only matching directories are examined. A package no pattern covers is not found -- even with a perfectly good manifest sitting right beside the others. What can be acted on automatically has to be what was declared; otherwise osdk deps installs dependencies for a package you never mentioned.

Each sub-project gets its own address, //<path>:<provider>. Listing shows this config root only by default; --all expands the sub-projects:

$ osdk deps --list
npm                 stale  /repo

$ osdk deps --list --all --explain
npm                 stale  /repo
//apps/api:npm      stale  /repo/apps/api
    from root: apps/*
//apps/web:npm      stale  /repo/apps/web
    from root: apps/*
//packages/ui:npm   stale  /repo/packages/ui
    from root: packages/*

Only listing is tiered. A repository with dozens of packages scrolls the useful part off screen, and that is a readability problem rather than a correctness one. An operand-free osdk deps still covers every declared root, so batch materialization cannot silently skip work. Once a provider operand is present, however, its bare name applies only to the project root nearest the working directory.

Addressing one location does not need --all. An empty path in //: explicitly means the config root:

bash
osdk deps npm                     # nearest npm project to the working directory
osdk deps //:npm                  # config root only
osdk deps //apps/api:npm          # this sub-project only
osdk deps --skip //apps/web:npm   # exclude one from an all-root run
osdk deps --list //apps/api:npm   # just this one, no --all needed

Selecting by location: --filter ​

A bare provider selects the nearest root; --filter explicitly widens the request to matching sub-project locations:

bash
osdk deps --filter 'apps/*'          # every sub-project under apps/, any manager
osdk deps --filter apps/api          # just that one
osdk deps --filter 'apps/*' --filter 'packages/ui'   # repeatable, union
osdk deps --list --filter 'apps/*'   # filtering implies the expansion; no --all

Patterns are the same dialect as roots (next section), not a second one: one * never crosses a /, and ** is unsupported. Two wildcard dialects in one configuration is pure cognitive cost -- mise has * for declaring and ... for addressing, and pnpm still carries a legacyDirFiltering switch from changing its mind about exactly this.

Matching no sub-project is an error, not a quiet success:

$ osdk deps --filter 'services/*'
error: `--filter` matched no sub-project: services/*

The opposite of pnpm, whose failIfNoMatch defaults to off. Same reasoning as --verify refusing to report an environment it could not examine as clean: "nothing was done" must not read like "done, no problems". A CI step narrowed to a directory that has since been renamed should fail, not pass having built nothing.

How patterns match ​

  • * (any characters) and ? (one character), matched segment by segment.
  • No **: that would turn a declared root back into an arbitrary subtree walk, which is the thing this feature exists to avoid. Write the depth out instead, e.g. apps/*/*.
  • A * never crosses /, so apps/* does not reach apps/group/nested.
  • .. is refused: a committed config should not be able to reach outside the project.
  • Matching nothing is not an error -- apps/* in a repo with no apps yet is a forward-looking declaration.

Sub-projects found through a root follow the same rules as a top-level one: a broken manifest is an error, not a skip. Installing some of the packages and reporting success is the failure mode hardest to notice.

Custom providers ​

Beyond the built-in package managers, any other name under [deps] is a custom step: a command of your own, with its inputs and its outputs. The shape mirrors [tasks].

toml
[deps.codegen]
sources = ["schema/schema.graphql"]   # re-runs when these change
outputs = ["src/generated"]           # missing means stale
run = "pnpm run codegen"
depends = ["pnpm"]                    # wait for pnpm to install first
dir = "apps/api"                      # optional: run in a subdirectory
env = { NODE_ENV = "development" }

A custom provider needs no manifest -- the declaration is the detection. Its root is the directory of the osdk.toml that declared it, so sources and outputs are relative to the same place a built-in provider's would be.

run does not go through a shell: the command is split on whitespace and executed directly. Otherwise the same run line would mean different things on different machines, and this string gets committed. Anything needing pipes or redirection belongs in a script that run invokes.

depends decides the order and osdk sorts accordingly (declaration order is irrelevant). A cycle is an error: picking some order anyway would run a step before its input existed, and the failure would point at the wrong provider.

Custom providers always need approval

run is an arbitrary command, so it always requires approving the config -- unlike a built-in provider, where declaring what to install does not. It also differs from [tasks]: a task is triggered by you explicitly running osdk run <name>, and that invocation is the authorization, whereas deps can be triggered ahead of time by auto.

When the package manager is not installed ​

deps installs it, through the same tool install path osdk install uses -- so source selection, verification and the CAS are identical, and there is no second installer to keep honest.

The tool lands in osdk's isolated directories, not in your project. deps puts dependencies in the project; the package manager that installs them is a tool.

bash
$ osdk deps
installing node for deps provider `npm`
installing node@26.10.0 ...installed node@26.10.0
npm.cmd install --ignore-scripts
added 2 packages in 827ms

In CI you usually want tools to come from an explicit osdk install, so that a run cannot quietly acquire a different version. --no-install-tools turns the acquisition off -- it forbids acquiring, not using one you installed yourself:

bash
osdk deps --no-install-tools

It fails when a tool is missing, naming the command that would fix it.

Build scripts are off by default ​

A dependency's preinstall / install / postinstall hooks do not run. Declaring which packages to install cannot execute anything the publisher did not ship as plain files, so the declaration itself needs no approval.

Turning them on does need approval, because that is the point at which arbitrary code runs on your machine:

toml
[deps.pnpm]
allow_build_from_source = true

Changing the registry ​

toml
[registries.npm]
default = "https://registry.example.com/"

Redirecting where bytes come from requires approving the config -- because the source changed, not because anything executes. Achieving the same thing through env (for instance NPM_CONFIG_REGISTRY) requires approval too: a gate one spelling walks around is not a gate.

A provider with a custom run gets its registry the same way. For example, to install only one app and win over the mirror in the machine's .npmrc:

toml
[settings.precedence]
npm = "osdk"

[registries.npm]
default = "https://registry.example/"

[deps.pnpm]
run = "pnpm install --frozen-lockfile --filter app"

osdk decides from that command's own program and arguments and injects the selected registry into pnpm. If the command passes --registry, or [deps.pnpm].env sets a registry variable such as npm_config_registry, what you wrote wins and osdk does not override it. A run whose program is not a package manager (a script, make, ...) is unaffected. The sources: line of osdk deps --dry-run --explain states the decision.

Full configuration ​

toml
[deps]
disable = ["npm"]           # off here even if a broader layer enabled it

[deps.pnpm]
auto = true                 # the default: materialize ahead of install/run/exec
sources = ["package.json"]  # files that decide freshness (replaces the default)
outputs = ["node_modules"]  # missing means stale (replaces the default)
dir = "apps/api"            # run in a subdirectory
depends = ["npm"]           # materialize another provider first
timeout = "10m"
registries.npm.default = "https://registry.npmjs.org/"
allow_build_from_source = false
env = { CI = "1" }

Checking an installed environment: osdk deps --verify ​

Freshness answers "did the inputs change" and cannot see that something else edited node_modules or site-packages -- the hash is over the inputs. --verify reads the receipts the package managers write themselves to answer a different question: is what is installed still what was installed?

bash
osdk deps --verify

Two layers, cheapest first:

  • L1: is the native lockfile's sha256 still the one recorded in osdk.lock? This catches a drift freshness structurally cannot -- the lock is untouched, so the hash matches, but the environment was rebuilt by something else.

  • L2: does every entry in the receipt still exist, at the recorded size and digest? Which receipt depends on the package manager:

    package managerreceipt readgranularity
    pip / uvdist-info/RECORDper-file size + sha256
    npmnode_modules/.package-lock.jsonper-package version + integrity
    pnpmthe store's *-index.jsonper-file size + sha512
    yarnnot supported, reported as such—

    pnpm's receipt is finer than npm's: it is per-file, on par with Python's. pnpm writes no .package-lock.json, and .modules.yaml holds layout metadata only; the per-file digests live in the content-addressable store's index, whose address happens to be derivable from the integrity recorded in pnpm-lock.yaml. Verifying a pnpm project therefore needs both halves: the lockfile in the project and the store on this machine. For a checkout from another machine, or after the store has been pruned, --verify says there is no receipt to read rather than reporting everything fine.

    yarn is deliberately out of scope: Berry's PnP keeps dependencies in a single zip-backed store with no per-package tree to compare against. Saying so is better than adding a predicate that would pass whatever the environment looked like.

The exit code is non-zero when anything is wrong, so this works as a CI gate. The output also reports how much was examined: "0 problems" and "nothing was checked" must not read the same, so an environment with no receipt to read is reported as an error rather than passed.

Kinds of tampering measured as detectable: deleting a file inside an installed package, changing a file's contents, deleting a whole installed package, and swapping a package's version in place. That last-but-one is the sneakiest -- the directory is there, the file count is right, only the version disagrees.

On pnpm one more is caught that npm's receipt cannot see: an edit that keeps the file's length. With per-file digests, flipping a single byte is reported; a receipt that only goes down to the package notices nothing.

Do not just re-run the installer after a failure

uv pip sync was measured not to repair a modified file, and the tampered content may already be in the tool's global cache (one modified file made every newly created venv copy the bad version from cache). Clear the cache and reinstall.

Freshness ​

deps records a hash of the inputs of the last successful run and compares it next time. The hash covers the contents of sources and the command that actually ran, environment included -- yarn berry disables build scripts through YARN_ENABLE_SCRIPTS, so leaving env out would hash two materially different runs the same.

State lives in osdk's cache directory, never in your project. --force runs regardless of the decision.

Undeclared sources, or declared sources that match no files at all, never count as fresh: a predicate that matches nothing is vacuously true, which would dress up "nothing was checked" as "nothing changed".

deps.<provider>.run also overrides built-in commands; use an argv array such as run = ["pnpm", "install", "--offline"] to preserve argument boundaries. Overrides require trust and cannot guarantee frozen installation or disabled scripts; an override that invokes a package manager still gets its registry from registries (see Changing the registry). timeout = "5m" bounds each command and its process tree. outputs = [] disables output tracking. Legacy source fields have been removed; see migration below.

Per-project dependencies ​

Sub-projects need no osdk configuration. Root declarations select providers and override defaults field by field:

toml
[deps]
roots = ["apps/*"]
[deps.npm]
[deps.pnpm]
[deps.projects."services/api".pip-requirements]
auto = false
[deps.projects."apps/web"]
disable = ["pnpm"]
[deps.projects."apps/web".npm]
outputs = []

auto = false keeps explicit osdk deps available; disable removes a provider from all execution. Arrays replace defaults, including empty arrays; environment keys merge. Ownership comes from manifests and native locks before filters are applied. Contradictory locks or multiple eligible managers fail. Overlapping roots produce one plan per canonical project/provider, including calls from subdirectories. Conflicting overlapping project overrides fail. --filter . selects the root and other filters exclude it; --list --all --explain shows selection, effective options and commands. [task].roots aggregates tasks separately.

Native pnpm and uv workspace members are discovered only below explicitly declared workspace roots. Native member patterns and exclusions define membership; unrelated nested projects remain separate. Selecting a member expands to one shared root installation and explains that expansion. uv workspaces run uv sync --all-packages (ordinary root sync does not cover all members). Shared options must agree, including auto/disable, commands and indexes; conflicts and member-owned lockfiles of the workspace's own installer (such as a member pnpm-lock.yaml) fail. A member's lockfile of another installer (such as a package-lock.json kept for a separate npm deployment) does not decide ownership: the shared installation runs at the root and pnpm itself ignores it. osdk neither reads nor changes that file and lists it as a note: under --list --explain. A member with neither a packageManager declaration nor a lockfile of the workspace's installer belongs to that installer even when other providers of the ecosystem are enabled (such as [deps.npm] for a separate project in the repository); outside a workspace the same directory is still ambiguous. A member's own packageManager declaration still applies, and two lockfiles in a workspace root or a standalone project still conflict. Freshness includes workspace declarations, member paths/manifests, shared locks, effective options and installed tool versions. Native successful coverage is recorded in managed deps state; a custom override has unverified coverage. Installation and state recording are serialized by project within the same osdk cache. Native recursive patterns need a directory prefix (packages/**); bare ** is rejected.

Explicit inheritance: a child osdk.toml can set extends = "../../osdk.toml". Directory nesting alone does not inherit configuration. Priority is CLI/environment, child fields, explicitly inherited ancestor fields, user configuration, then defaults. Maps merge by key (including env); scalar values and arrays replace, so false and [] are meaningful. Inherited dependency sources/outputs/dir and task dir/file paths belong to their declaring file. Keep discovery roots/projects in the catalog root; a discovered child cannot redefine the catalog. Per-project declarations supply defaults to an inheriting child, whose explicit provider fields take precedence. An independent child config declares its own providers. Root and child dependency calls use the same catalog and effective provider/tool options. Each executable or source-changing config file in the chain needs its own trust; trusting a child file does not trust its parent. Self cycles, non-ancestor references and repository-boundary escapes fail. Task aggregation stays separate in [task].roots; inherited runner defaults are materialized into rooted task definitions.

Migration: explicit sources/outputs paths now belong to their declaring config file, including root declarations for sub-projects; prefix them with the project path where needed (for example sources = ["apps/api/package.json"]). Built-in default paths still belong to the detected project. sources = [] removes default inputs and cannot establish freshness; shared pnpm and uv installs retain mandatory membership and lock inputs. Child tool options and source settings apply during automatic tool preparation; shared workspaces require one consistent effective tool context.

Bare depends names order providers in the same project or shared workspace; use //path:provider for a different installation unit. Selection does not implicitly enable omitted dependencies. Shared member package-manager version conflicts fail. Run the opt-in real-project smoke with osdk run deps-monorepo-live, or python scripts/test-deps-monorepo.py --bin target/debug/osdk. It uses temporary state and small npm/Python packages; it checks actual artifacts, shared coverage, member changes, inheritance, auto/disable and locked/offline failure paths. A discovered child may explicitly replace an inherited disable list with [].

Package sources and native precedence ​

tools declares tools and versions, sources downloads tool artifacts, and registries is the canonical project package-source configuration. Exec, shims and deps share adapters. They never rewrite .npmrc, pyproject.toml or other native files.

toml
[settings.precedence]
tools = "osdk"       # or "native"; default: osdk
packages = "native"  # or "osdk"; preserve explicit native configuration by default

[registries.npm]
default = "https://registry.npmjs.org/"

[registries.python]
default = "https://pypi.org/simple/"
indexes = ["https://packages.example.org/simple/"]

[registries.go]
proxy = "https://proxy.golang.org,direct"
  • Invocation CLI source options and explicit process source variables win; deps.env supplies that process environment. packages orders explicit osdk settings against native files, never authentication.
  • A custom deps.<provider>.run goes through the same adapters: the decision comes from that command's program (npm, pnpm, yarn, bun, deno, uv, go mod, ...) and its own arguments, under the same rules as built-in commands. Registry arguments (such as --registry), arguments selecting another directory or native configuration (such as --dir, --config), and explicit source variables in deps.env or the process environment pass through without injection. A program that is not a package manager (a script, make, ...) gets no source variables.
  • packages = "native" preserves native registries, scopes, credentials, proxies and TLS configuration. "osdk" overrides only declared default/index settings; scopes and authentication stay native. Missing overrides preserve native behavior. Automatic mirrors never replace explicit native configuration. Complex uv native tables are conservatively preserved as a group, without rewriting named indexes or package bindings.
  • npm, pnpm, Yarn Classic, Yarn Berry and Bun use their own variables: npm_config_registry, npm_config_registry + pnpm_config_registry (pnpm 10/11), YARN_REGISTRY, YARN_NPM_REGISTRY_SERVER, BUN_CONFIG_REGISTRY. Yarn's major must be known; a Node version is never interpreted as Yarn's major. pnpm resolves workspace configuration itself.
  • Both Python deps providers use uv. default is the lowest-priority default index; indexes supplies explicitly ordered additional indexes with first-index safety. These are not failure fallback mirrors. Keep named indexes, package bindings and credential interpolation in native configuration.
  • urls remains an anonymous mirror candidate list for the default source only. All-source failure stops before the manager starts. Installation failures never trigger automatic lifecycle-script retries. Offline mode skips probes; native offline flags constrain installation.
  • default = "" clears an inherited osdk default override and disables automatic mirrors for that item; indexes = [] clears osdk additional indexes. Neither deletes native settings. urls = [] retains its built-in-candidate meaning.
  • Project registries replaces the user section. Explicit extends merges fields and replaces arrays. [deps.<provider>.registries] uses the same schema as a whole-section local replacement. Cargo, Deno and custom deps reject this local field; use native configuration or env. Go preserves GOPROXY comma/pipe behavior rather than inventing URL retries.
  • osdk current displays tool candidates and policy; osdk deps --dry-run --explain reports package decisions (a custom run gets its sources: line too), discovered native candidate files and tool selection. The native manager resolves its effective configuration; unknown attribution is stated rather than invented. Native files, source environment and configuration participate in opaque freshness hashes. Credentials are excluded from displayed commands and osdk.lock; custom command arguments/environment are hidden entirely. Native subprocesses remain responsible for redacting their own output.

Migration ​

Remove [deps.<provider>].index / extra_index; there are no compatibility aliases. Move defaults to registries.npm.default or registries.python.default. Use registries.python.indexes only for intentional additional Python indexes. For a local exception, use deps.uv.registries.python.default = "https://example.org/simple/". Unknown fields fail normally, including invented generic Cargo/Deno source fields.

Tool source ordering, conflict handling, per-ecosystem overrides and uv discovery boundaries are defined in package-manager precedence. Explain output reuses tool selection evidence; fingerprint input files are not an effective native discovery chain.

Opt-in external execution ​

tool_order also accepts system, only when explicitly listed. Defaults and [] keep it disabled. The system-tool reference defines supported adapters, home-before-PATH search, Windows .exe limits, probing and examples. External tools are absolute execution targets rather than managed versions or installations. Explicit CLI versions, managed lock replay and frozen deps retain authority. Non-frozen deps can use unpinned external tools, revalidates each run under this policy and does not write portable receipts for external paths. Dynamic package-tool runtime receipts remain managed; mixing them with system execution is rejected.

Released under the MIT License