Claude Desktop extension operations

The extension requires an existing local AIWG npm installation and Node >=24.

Claude Desktop extension operations

Build locally from the source checkout with `node tools/release/build-mcpb.mjs --out dist/release`. This creates `aiwg-<package-version>.mcpb` using only existing release tooling (Node and Python 3 standard-library ZIP). It contains the manifest, a server launcher, license and installation instructions. No configuration, registry, credentials, artifact store, node_modules or checkout files are copied into the archive. The release discovery lane builds and inspects this closed inventory and starts the installed MCP server through the extracted launcher.

The extension requires an existing local AIWG npm installation and Node >=24. It reuses that installation's server and runtime dependencies; this is not a standalone copy of AIWG. Select its absolute package directory for `AIWG_ROOT`. The extension has no credential fields. Future sensitive settings must accept only an environment-variable name or vault-path locator, never a secret value.

Open the bundle in Claude Desktop, enable it, select `AIWG_ROOT`, and restart Desktop. Review the enabled tools before approving use. If an `aiwg` Desktop server already exists, reconcile that entry before enabling the extension. Desktop chat definitions shadow project definitions in local Code-tab sessions.

Publication alongside npm tarballs is a pending release operation. The local builder never publishes and no workflow uploads this bundle. Real Desktop loading on Linux, macOS and Windows and one-click installation remain unverified. The manifest contract is checked locally, without fetching an upstream schema.

Existing install verification

Verification record (2026-10-17, #2625): offline review of the issue's cited upstream locations and the local provider assessment (`$AIWG_ROOT/docs/planning/claude-desktop-provider/assessment-and-issue-plan.md`, not published on the docs site) agrees on `.mcp.json` / `~/.claude.json` for Code and the Desktop paths above. Settings files document MCP approval flags, not server definitions. AIWG therefore uses those documented locations. A live Claude Code loading check was not run (no network or model calls permitted); whether undocumented settings entries are honored remains unverified. Contract tests verify generated files and migration, not live client loading.

Enterprise resolver operations

Bind the resolver's OpenBao AppRole to `policy_mode: exact`: grant only the required credential leaf paths and explicitly deny signing and unrelated service leaves. Bound `token_ttl` to 5 minutes (maximum 15 minutes), `secret_id_ttl` to 5 minutes and `secret_id_num_uses` to 1. Provision AppRole bootstrap material through the device's protected credential mechanism, by reference. At point of use, validate the vault-path pattern and expected fingerprint, resolve into verified tmpfs for one call, and clean up immediately. Do not log the response, persist it, or copy it into AIWG configuration. The wrapper must fail closed on an expired lease, unexpected path/fingerprint, unavailable protected bootstrap source or missing tmpfs. This follows AIWG's `authorization.resources` / `provider_mappings.openbao` locator pattern.