export declare const OPTIONAL_DEPENDENCY_LOCKS: { readonly '@anthropic-ai/claude-agent-sdk': { readonly name: 'monomind-optional-dependency'; readonly lockfileVersion: 3; readonly requires: true; readonly packages: { readonly '': { readonly name: 'monomind-optional-dependency'; readonly dependencies: { readonly '@anthropic-ai/claude-agent-sdk': '0.3.303'; }; }; readonly 'node_modules/@anthropic-ai/claude-agent-sdk': { readonly version: '0.3.303'; readonly resolved: 'https://registry.npmjs.org/@anthropic-ai/claude-agent-sdk/-/claude-agent-sdk-0.3.303.tgz'; readonly integrity: 'sha512-XBql04V40xr+fmGJh8AmIpqRZKFNrs99BzXzzSVlx+uE5NjFCzKmkNKTdMD0DQtDvFJlijOLoh1siaH+au9Psw=='; readonly license: 'SEE LICENSE IN README.md'; readonly engines: { readonly node: '>=18.0.0'; }; readonly optionalDependencies: { readonly '@anthropic-ai/claude-agent-sdk-darwin-arm64': '0.3.303'; readonly '@anthropic-ai/claude-agent-sdk-darwin-x64': '0.3.303'; readonly '@anthropic-ai/claude-agent-sdk-linux-arm64': '0.3.303'; readonly '@anthropic-ai/claude-agent-sdk-linux-arm64-musl': '0.3.303'; readonly '@anthropic-ai/claude-agent-sdk-linux-x64': '0.3.303'; readonly '@anthropic-ai/claude-agent-sdk-linux-x64-musl': '0.3.303'; readonly '@anthropic-ai/claude-agent-sdk-win32-arm64': '0.3.303'; readonly '@anthropic-ai/claude-agent-sdk-win32-x64': '0.3.303'; }; readonly peerDependencies: { readonly '@anthropic-ai/sdk': '>=0.93.0'; readonly '@modelcontextprotocol/sdk': '^1.29.0'; readonly zod: '^4.0.0'; }; }; readonly 'node_modules/@anthropic-ai/claude-agent-sdk-darwin-arm64': { readonly version: '0.3.303'; readonly resolved: 'https://registry.npmjs.org/@anthropic-ai/claude-agent-sdk-darwin-arm64/-/claude-agent-sdk-darwin-arm64-0.3.303.tgz'; readonly integrity: 'sha512-QAWV9Zd7i7FQDaUSwZNVXJirqCS9CSF4aPwbkGwLvLH83qcfFOmnyxWUg1H7dU6tJFLOCyDLQzc3xzUA4dakoA=='; readonly cpu: readonly ["arm64"]; readonly license: 'SEE LICENSE IN LICENSE.md'; readonly optional: true; readonly os: readonly ["darwin"]; }; readonly 'node_modules/@anthropic-ai/claude-agent-sdk-darwin-x64': { readonly version: '0.3.303'; readonly resolved: 'https://registry.npmjs.org/@anthropic-ai/claude-agent-sdk-darwin-x64/-/claude-agent-sdk-darwin-x64-0.3.303.tgz'; readonly integrity: 'sha512-o931musaryuq04fMaEjceCEmgsBrLh39WvwsQWmv070h9jXS8EmWRFpdSILv1xrUFXiukRSq8yUDRVzg+FvTug=='; readonly cpu: readonly ["x64"]; readonly license: 'SEE LICENSE IN LICENSE.md'; readonly optional: true; readonly os: readonly ["darwin"]; }; readonly 'node_modules/@anthropic-ai/claude-agent-sdk-linux-arm64': { readonly version: '0.3.303'; readonly resolved: 'https://registry.npmjs.org/@anthropic-ai/claude-agent-sdk-linux-arm64/-/claude-agent-sdk-linux-arm64-0.3.303.tgz'; readonly integrity: 'sha512-c04i9i1BU3j9G3D7XdVzXTdM3/sDpQH+1o8jNcMPnztOTYbNFmH/cacgeX9x3N112r+5VhCEHXGILoe5GxVxeg=='; readonly cpu: readonly ["arm64"]; readonly libc: readonly ["glibc"]; readonly license: 'SEE LICENSE IN LICENSE.md'; readonly optional: true; readonly os: readonly ["linux"]; }; readonly 'node_modules/@anthropic-ai/claude-agent-sdk-linux-arm64-musl': { readonly version: '0.3.303'; readonly resolved: 'https://registry.npmjs.org/@anthropic-ai/claude-agent-sdk-linux-arm64-musl/-/claude-agent-sdk-linux-arm64-musl-0.3.303.tgz'; readonly integrity: 'sha512-a/OsLTEx9ly9hC26cXidg9mtTMA00SQnEiTN9P4IPNj64uSp/7uBnlWl0VeUoVFbgKYYq6XrGRcD6F1ilQsYxg=='; readonly cpu: readonly ["arm64"]; readonly libc: readonly ["musl"]; readonly license: 'SEE LICENSE IN LICENSE.md'; readonly optional: true; readonly os: readonly ["linux"]; }; readonly 'node_modules/@anthropic-ai/claude-agent-sdk-linux-x64': { readonly version: '0.3.303'; readonly resolved: 'https://registry.npmjs.org/@anthropic-ai/claude-agent-sdk-linux-x64/-/claude-agent-sdk-linux-x64-0.3.303.tgz'; readonly integrity: 'sha512-lsm1sX2+9Wos8glBbn86M8leFuK60LKB1cJdS0b2HiTSwiDCqpUKYRGJNUlW1JdUTwJB5nDv6S8/FOJExm1/tw=='; readonly cpu: readonly ["x64"]; readonly libc: readonly ["glibc"]; readonly license: 'SEE LICENSE IN LICENSE.md'; readonly optional: true; readonly os: readonly ["linux"]; }; readonly 'node_modules/@anthropic-ai/claude-agent-sdk-linux-x64-musl': { readonly version: '0.3.303'; readonly resolved: 'https://registry.npmjs.org/@anthropic-ai/claude-agent-sdk-linux-x64-musl/-/claude-agent-sdk-linux-x64-musl-0.3.303.tgz'; readonly integrity: 'sha512-yixAa3ZOZd1hiI4mpoukzT9TnuDCzSEHyh7pHcbYTRmdRE2y8bAOmI0eiMFJPivnG4iyGhS2C4XNAe6hAjl30w=='; readonly cpu: readonly ["x64"]; readonly libc: readonly ["musl"]; readonly license: 'SEE LICENSE IN LICENSE.md'; readonly optional: true; readonly os: readonly ["linux"]; }; readonly 'node_modules/@anthropic-ai/claude-agent-sdk-win32-arm64': { readonly version: '0.3.303'; readonly resolved: 'https://registry.npmjs.org/@anthropic-ai/claude-agent-sdk-win32-arm64/-/claude-agent-sdk-win32-arm64-0.3.303.tgz'; readonly integrity: 'sha512-AnEseiw5E1JF3XRaGIZN880V/i2OxCaTOQJF9F1+oELleSdvLnCUxCE6/baGvaZjrgvffO9YbYChBpgUKj9j7A=='; readonly cpu: readonly ["arm64"]; readonly license: 'SEE LICENSE IN LICENSE.md'; readonly optional: true; readonly os: readonly ["win32"]; }; readonly 'node_modules/@anthropic-ai/claude-agent-sdk-win32-x64': { readonly version: '0.3.303'; readonly resolved: 'https://registry.npmjs.org/@anthropic-ai/claude-agent-sdk-win32-x64/-/claude-agent-sdk-win32-x64-0.3.303.tgz'; readonly integrity: 'sha512-j5kABFEQ6x6T5AB/glmn0r9VwZRbzcH+nSEOWglB69ODNfkZA2btjcz9r794+2BLqJ9QAyswiYWcOX4sDz/RmQ=='; readonly cpu: readonly ["x64"]; readonly license: 'SEE LICENSE IN LICENSE.md'; readonly optional: true; readonly os: readonly ["win32"]; }; }; }; readonly '@puppeteer/browsers': { readonly name: 'monomind-optional-dependency'; readonly lockfileVersion: 3; readonly requires: true; readonly packages: { readonly '': { readonly name: 'monomind-optional-dependency'; readonly dependencies: { readonly '@puppeteer/browsers': '3.0.6'; }; }; readonly 'node_modules/@puppeteer/browsers': { readonly version: '3.0.6'; readonly resolved: 'https://registry.npmjs.org/@puppeteer/browsers/-/browsers-3.0.6.tgz'; readonly integrity: 'sha512-B/gKoqlFkzhvzsI6jo9K1cZz9o5ypviVv/xu8CwA4grZzyVwN+XfkT+tu8T1zrauuEXv6VhS2oGX+6NL95WcKA=='; readonly license: 'Apache-2.0'; readonly dependencies: { readonly 'modern-tar': '^0.7.6'; readonly yargs: '^18.0.0'; }; readonly bin: { readonly browsers: 'lib/main-cli.js'; }; readonly engines: { readonly node: '>=22.12.0'; }; readonly peerDependencies: { readonly 'proxy-agent': '>=8.0.1'; readonly yauzl: '^2.10.0 || ^3.4.0'; }; readonly peerDependenciesMeta: { readonly 'proxy-agent': { readonly optional: true; }; readonly yauzl: { readonly optional: true; }; }; }; readonly 'node_modules/ansi-regex': { readonly version: '6.4.0'; readonly resolved: 'https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.4.0.tgz'; readonly integrity: 'sha512-KzTVk2tCWAHtYrvvvaP8bJKJq2pVinhLcGEQdtLIYPbmNGNyYe8QwNaTUYQp2J7/vIsUKt5QCqAfUkYyG9DkOw=='; readonly license: 'MIT'; readonly engines: { readonly node: '>=12'; }; readonly funding: { readonly url: 'https://github.com/chalk/ansi-regex?sponsor=1'; }; }; readonly 'node_modules/ansi-styles': { readonly version: '6.2.3'; readonly resolved: 'https://registry.npmjs.org/ansi-styles/-/ansi-styles-6.2.3.tgz'; readonly integrity: 'sha512-4Dj6M28JB+oAH8kFkTLUo+a2jwOFkuqb3yucU0CANcRRUbxS0cP0nZYCGjcc3BNXwRIsUVmDGgzawme7zvJHvg=='; readonly license: 'MIT'; readonly engines: { readonly node: '>=12'; }; readonly funding: { readonly url: 'https://github.com/chalk/ansi-styles?sponsor=1'; }; }; readonly 'node_modules/cliui': { readonly version: '9.0.1'; readonly resolved: 'https://registry.npmjs.org/cliui/-/cliui-9.0.1.tgz'; readonly integrity: 'sha512-k7ndgKhwoQveBL+/1tqGJYNz097I7WOvwbmmU2AR5+magtbjPWQTS1C5vzGkBC8Ym8UWRzfKUzUUqFLypY4Q+w=='; readonly license: 'ISC'; readonly dependencies: { readonly 'string-width': '^7.2.0'; readonly 'strip-ansi': '^7.1.0'; readonly 'wrap-ansi': '^9.0.0'; }; readonly engines: { readonly node: '>=20'; }; }; readonly 'node_modules/cliui/node_modules/string-width': { readonly version: '7.2.0'; readonly resolved: 'https://registry.npmjs.org/string-width/-/string-width-7.2.0.tgz'; readonly integrity: 'sha512-tsaTIkKW9b4N+AEj+SVA+WhJzV7/zMhcSu78mLKWSk7cXMOSHsBKFWUs0fWwq8QyK3MgJBQRX6Gbi4kYbdvGkQ=='; readonly license: 'MIT'; readonly dependencies: { readonly 'emoji-regex': '^10.3.0'; readonly 'get-east-asian-width': '^1.0.0'; readonly 'strip-ansi': '^7.1.0'; }; readonly engines: { readonly node: '>=18'; }; readonly funding: { readonly url: 'https://github.com/sponsors/sindresorhus'; }; }; readonly 'node_modules/emoji-regex': { readonly version: '10.6.0'; readonly resolved: 'https://registry.npmjs.org/emoji-regex/-/emoji-regex-10.6.0.tgz'; readonly integrity: 'sha512-toUI84YS5YmxW219erniWD0CIVOo46xGKColeNQRgOzDorgBi1v4D71/OFzgD9GO2UGKIv1C3Sp8DAn0+j5w7A=='; readonly license: 'MIT'; }; readonly 'node_modules/escalade': { readonly version: '3.2.0'; readonly resolved: 'https://registry.npmjs.org/escalade/-/escalade-3.2.0.tgz'; readonly integrity: 'sha512-WUj2qlxaQtO4g6Pq5c29GTcWGDyd8itL8zTlipgECz3JesAiiOKotd8JU6otB3PACgG6xkJUyVhboMS+bje/jA=='; readonly license: 'MIT'; readonly engines: { readonly node: '>=6'; }; }; readonly 'node_modules/get-caller-file': { readonly version: '2.0.5'; readonly resolved: 'https://registry.npmjs.org/get-caller-file/-/get-caller-file-2.0.5.tgz'; readonly integrity: 'sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg=='; readonly license: 'ISC'; readonly engines: { readonly node: '6.* || 8.* || >= 10.*'; }; }; readonly 'node_modules/get-east-asian-width': { readonly version: '1.7.0'; readonly resolved: 'https://registry.npmjs.org/get-east-asian-width/-/get-east-asian-width-1.7.0.tgz'; readonly integrity: 'sha512-XjH1AECxf0giL2V1aU8vKyRR2ppRUb5c0EvT7zuJTokQ74bNo52zOtghqdWIqrhUD79fo3x0WfKZdOqxF6LG1Q=='; readonly license: 'MIT'; readonly engines: { readonly node: '>=18'; }; readonly funding: { readonly url: 'https://github.com/sponsors/sindresorhus'; }; }; readonly 'node_modules/modern-tar': { readonly version: '0.7.7'; readonly resolved: 'https://registry.npmjs.org/modern-tar/-/modern-tar-0.7.7.tgz'; readonly integrity: 'sha512-t9VmxaqrmANnEOBhpSDI6HD192Ge48k8vmWqQQL7hSFEqHEYwZbbsu49+aKLWZeRvFs3j1pMhXOqqF4kPlvjkQ=='; readonly license: 'MIT'; readonly engines: { readonly node: '>=18.0.0'; }; }; readonly 'node_modules/string-width': { readonly version: '8.3.0'; readonly resolved: 'https://registry.npmjs.org/string-width/-/string-width-8.3.0.tgz'; readonly integrity: 'sha512-ZbmZM0JCihQN91dWnxoipT2KOEyHqEyfRXUyjuRhW8b/xnqPDoq4gWEVApTVa9db2wN8mmoikgFBbjh71+cGeQ=='; readonly license: 'MIT'; readonly dependencies: { readonly 'get-east-asian-width': '^1.5.0'; readonly 'strip-ansi': '^7.1.2'; }; readonly engines: { readonly node: '>=20'; }; readonly funding: { readonly url: 'https://github.com/sponsors/sindresorhus'; }; }; readonly 'node_modules/strip-ansi': { readonly version: '7.2.0'; readonly resolved: 'https://registry.npmjs.org/strip-ansi/-/strip-ansi-7.2.0.tgz'; readonly integrity: 'sha512-yDPMNjp4WyfYBkHnjIRLfca1i6KMyGCtsVgoKe/z1+6vukgaENdgGBZt+ZmKPc4gavvEZ5OgHfHdrazhgNyG7w=='; readonly license: 'MIT'; readonly dependencies: { readonly 'ansi-regex': '^6.2.2'; }; readonly engines: { readonly node: '>=12'; }; readonly funding: { readonly url: 'https://github.com/chalk/strip-ansi?sponsor=1'; }; }; readonly 'node_modules/wrap-ansi': { readonly version: '9.0.2'; readonly resolved: 'https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-9.0.2.tgz'; readonly integrity: 'sha512-42AtmgqjV+X1VpdOfyTGOYRi0/zsoLqtXQckTmqTeybT+BDIbM/Guxo7x3pE2vtpr1ok6xRqM9OpBe+Jyoqyww=='; readonly license: 'MIT'; readonly dependencies: { readonly 'ansi-styles': '^6.2.1'; readonly 'string-width': '^7.0.0'; readonly 'strip-ansi': '^7.1.0'; }; readonly engines: { readonly node: '>=18'; }; readonly funding: { readonly url: 'https://github.com/chalk/wrap-ansi?sponsor=1'; }; }; readonly 'node_modules/wrap-ansi/node_modules/string-width': { readonly version: '7.2.0'; readonly resolved: 'https://registry.npmjs.org/string-width/-/string-width-7.2.0.tgz'; readonly integrity: 'sha512-tsaTIkKW9b4N+AEj+SVA+WhJzV7/zMhcSu78mLKWSk7cXMOSHsBKFWUs0fWwq8QyK3MgJBQRX6Gbi4kYbdvGkQ=='; readonly license: 'MIT'; readonly dependencies: { readonly 'emoji-regex': '^10.3.0'; readonly 'get-east-asian-width': '^1.0.0'; readonly 'strip-ansi': '^7.1.0'; }; readonly engines: { readonly node: '>=18'; }; readonly funding: { readonly url: 'https://github.com/sponsors/sindresorhus'; }; }; readonly 'node_modules/y18n': { readonly version: '5.0.8'; readonly resolved: 'https://registry.npmjs.org/y18n/-/y18n-5.0.8.tgz'; readonly integrity: 'sha512-0pfFzegeDWJHJIAmTLRP2DwHjdF5s7jo9tuztdQxAhINCdvS+3nGINqPd00AphqJR/0LhANUS6/+7SCb98YOfA=='; readonly license: 'ISC'; readonly engines: { readonly node: '>=10'; }; }; readonly 'node_modules/yargs': { readonly version: '18.2.0'; readonly resolved: 'https://registry.npmjs.org/yargs/-/yargs-18.2.0.tgz'; readonly integrity: 'sha512-9OpKOLeaoNFecEp7P6iYbzze/5CqWoH7N3SMs/6y1XF4nMvFMspEGZzJ6uFi9MmQwXhyzqYoSEKO3tvA3Z/o2w=='; readonly license: 'MIT'; readonly dependencies: { readonly cliui: '^9.0.1'; readonly escalade: '^3.1.1'; readonly 'get-caller-file': '^2.0.5'; readonly 'string-width': '^8.2.1'; readonly y18n: '^5.0.5'; readonly 'yargs-parser': '^22.0.0'; }; readonly engines: { readonly node: '^20.19.0 || ^22.12.0 || >=23'; }; }; readonly 'node_modules/yargs-parser': { readonly version: '22.0.0'; readonly resolved: 'https://registry.npmjs.org/yargs-parser/-/yargs-parser-22.0.0.tgz'; readonly integrity: 'sha512-rwu/ClNdSMpkSrUb+d6BRsSkLUq1fmfsY6TOpYzTwvwkg1/NRG85KBy3kq++A8LKQwX6lsu+aWad+2khvuXrqw=='; readonly license: 'ISC'; readonly engines: { readonly node: '^20.19.0 || ^22.12.0 || >=23'; }; }; }; }; readonly 'monofence-ai': { readonly name: 'monomind-optional-dependency'; readonly lockfileVersion: 3; readonly requires: true; readonly packages: { readonly '': { readonly name: 'monomind-optional-dependency'; readonly dependencies: { readonly 'monofence-ai': '2.24.0'; }; }; readonly 'node_modules/monofence-ai': { readonly version: '2.24.0'; readonly resolved: 'https://registry.npmjs.org/monofence-ai/-/monofence-ai-2.24.0.tgz'; readonly integrity: 'sha512-e3zpL/g+pNyFLx7mAVUz/rqkZDv5KDhp/0pl7Ry0QmLR0TEHkgn6Czd7ITOcZ16NWGOa4Vq6oX+Qs3YwfGAneA=='; readonly license: 'Apache-2.0'; readonly engines: { readonly node: '>=22.12.0'; }; }; }; }; }; /** SHA-256 of one file inside an installed package. */ export interface PinnedFile { /** Relative to the package's directory. */ file: string; sha256: string; } /** What monomind loads or runs from one optional dependency. */ export interface CodePins { /** The version these hashes belong to. */ version: string; /** The file ensureOptionalDependency() imports. */ entry: PinnedFile; /** Every other file of the package the entry can load (relative imports). */ modules?: PinnedFile[]; /** Native binaries the package spawns, by the platform package that * carries each one. */ binaries?: Record; } /** * #526: SHA-256 of the code monomind loads from the trees above, checked * once per process before the entry is imported and before the SDK can * spawn its Claude binary (optional-deps-verify.ts). assertTrustedTree tells * a foreign or group-writable tree from monomind's own, but not a tree * planted by this same user; a planted file fails here. sdk.mjs is one * bundle that imports only Node built-ins, so it and the platform binary * are all the SDK runs. monofence-ai has no dependencies: its entry and * the 15 other dist/*.js files it can import are all it runs. What is not pinned is listed, with the reason, in * OPTIONAL_DEPENDENCIES_UNPINNED. * * Regenerate together with the lockfile, from the registry tarballs it * names. For the SDK and each of its platform packages: * curl -sSLO * echo "sha512-$(openssl dgst -sha512 -binary | base64 -w0)" # must equal its "integrity" * tar -xOzf package/sdk.mjs | sha256sum # the SDK's entry * tar -xOzf package/claude | sha256sum # package/claude.exe for win32-* * and for monofence-ai, each dist/*.js file of its tarball: * tar -xzf && (cd package && find dist -name '*.js' | xargs sha256sum) * optional-deps-pins.test.ts checks these stay in step with the pins in * optional-deps.ts and with the lockfile above. */ export declare const OPTIONAL_DEPENDENCY_CODE_PINS: Partial>; /** Optional dependencies loaded without code pins, each with the reason. * optional-deps-pins.test.ts fails for one that is in neither list. */ export declare const OPTIONAL_DEPENDENCIES_UNPINNED: Record; //# sourceMappingURL=optional-deps-locks.d.ts.map