diff --git a/.github/workflows/e2e.yaml b/.github/workflows/e2e.yaml index 985852046fe..8ddde7d2845 100644 --- a/.github/workflows/e2e.yaml +++ b/.github/workflows/e2e.yaml @@ -133,6 +133,10 @@ jobs: .github/actions/setup-reviewed-npm ci/reviewed-npm-audit.json scripts/audit-reviewed-npm-graph.mts + scripts/lib/bundled-npm-package.mts + scripts/lib/patch-bundled-npm-undici.mts + scripts/lib/remediate-openclaw-runtime-dependencies.mts + scripts/lib/reviewed-npm-identity.mts scripts/checks/package-openshell-sdk-for-pr.mts scripts/lib/npm-diagnostics.sh scripts/lib/openclaw-npm-remediation.mts @@ -850,6 +854,10 @@ jobs: ci/reviewed-npm-audit.json scripts/check-dist-sourcemaps.mts scripts/audit-reviewed-npm-graph.mts + scripts/lib/bundled-npm-package.mts + scripts/lib/patch-bundled-npm-undici.mts + scripts/lib/remediate-openclaw-runtime-dependencies.mts + scripts/lib/reviewed-npm-identity.mts scripts/checks/prepare-ci-npm-install.mts scripts/lib/reviewed-ci-npm-install.mts scripts/lib/openclaw-npm-remediation.mts diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml index dee1b818ef9..0d86dc7d6c6 100644 --- a/.github/workflows/main.yaml +++ b/.github/workflows/main.yaml @@ -39,6 +39,10 @@ jobs: .github/actions/setup-reviewed-npm ci/reviewed-npm-audit.json scripts/audit-reviewed-npm-graph.mts + scripts/lib/bundled-npm-package.mts + scripts/lib/patch-bundled-npm-undici.mts + scripts/lib/remediate-openclaw-runtime-dependencies.mts + scripts/lib/reviewed-npm-identity.mts scripts/checks/package-openshell-sdk-for-pr.mts scripts/lib/npm-diagnostics.sh scripts/lib/openclaw-npm-remediation.mts diff --git a/.github/workflows/pr.yaml b/.github/workflows/pr.yaml index bfde3a74a72..bc0ed8efdef 100644 --- a/.github/workflows/pr.yaml +++ b/.github/workflows/pr.yaml @@ -137,6 +137,10 @@ jobs: .github/actions/ci-install-dependencies.sh ci/reviewed-npm-audit.json scripts/audit-reviewed-npm-graph.mts + scripts/lib/bundled-npm-package.mts + scripts/lib/patch-bundled-npm-undici.mts + scripts/lib/remediate-openclaw-runtime-dependencies.mts + scripts/lib/reviewed-npm-identity.mts scripts/checks/prepare-ci-npm-install.mts scripts/lib/reviewed-ci-npm-install.mts scripts/checks/candidate-openshell-sdk.mts @@ -236,6 +240,10 @@ jobs: .github/actions/setup-reviewed-npm ci/reviewed-npm-audit.json scripts/audit-reviewed-npm-graph.mts + scripts/lib/bundled-npm-package.mts + scripts/lib/patch-bundled-npm-undici.mts + scripts/lib/remediate-openclaw-runtime-dependencies.mts + scripts/lib/reviewed-npm-identity.mts scripts/checks/prepare-ci-npm-install.mts scripts/lib/reviewed-ci-npm-install.mts scripts/checks/candidate-openshell-sdk.mts @@ -378,6 +386,10 @@ jobs: .github/actions/ci-install-dependencies.sh ci/reviewed-npm-audit.json scripts/audit-reviewed-npm-graph.mts + scripts/lib/bundled-npm-package.mts + scripts/lib/patch-bundled-npm-undici.mts + scripts/lib/remediate-openclaw-runtime-dependencies.mts + scripts/lib/reviewed-npm-identity.mts scripts/check-dist-sourcemaps.mts scripts/checks/prepare-ci-npm-install.mts scripts/lib/reviewed-ci-npm-install.mts @@ -454,6 +466,10 @@ jobs: .github/actions/ci-install-dependencies.sh ci/reviewed-npm-audit.json scripts/audit-reviewed-npm-graph.mts + scripts/lib/bundled-npm-package.mts + scripts/lib/patch-bundled-npm-undici.mts + scripts/lib/remediate-openclaw-runtime-dependencies.mts + scripts/lib/reviewed-npm-identity.mts scripts/checks/prepare-ci-npm-install.mts scripts/lib/reviewed-ci-npm-install.mts scripts/checks/candidate-openshell-sdk.mts @@ -526,6 +542,10 @@ jobs: .github/actions/ci-install-dependencies.sh ci/reviewed-npm-audit.json scripts/audit-reviewed-npm-graph.mts + scripts/lib/bundled-npm-package.mts + scripts/lib/patch-bundled-npm-undici.mts + scripts/lib/remediate-openclaw-runtime-dependencies.mts + scripts/lib/reviewed-npm-identity.mts scripts/checks/prepare-ci-npm-install.mts scripts/lib/reviewed-ci-npm-install.mts scripts/checks/candidate-openshell-sdk.mts @@ -659,6 +679,10 @@ jobs: .github/actions/ci-install-dependencies.sh ci/reviewed-npm-audit.json scripts/audit-reviewed-npm-graph.mts + scripts/lib/bundled-npm-package.mts + scripts/lib/patch-bundled-npm-undici.mts + scripts/lib/remediate-openclaw-runtime-dependencies.mts + scripts/lib/reviewed-npm-identity.mts scripts/checks/prepare-ci-npm-install.mts scripts/lib/reviewed-ci-npm-install.mts scripts/checks/candidate-openshell-sdk.mts @@ -796,6 +820,10 @@ jobs: .github/actions/ci-install-dependencies.sh ci/reviewed-npm-audit.json scripts/audit-reviewed-npm-graph.mts + scripts/lib/bundled-npm-package.mts + scripts/lib/patch-bundled-npm-undici.mts + scripts/lib/remediate-openclaw-runtime-dependencies.mts + scripts/lib/reviewed-npm-identity.mts scripts/checks/prepare-ci-npm-install.mts scripts/lib/reviewed-ci-npm-install.mts scripts/checks/candidate-openshell-sdk.mts @@ -853,6 +881,10 @@ jobs: .github/actions/ci-install-dependencies.sh ci/reviewed-npm-audit.json scripts/audit-reviewed-npm-graph.mts + scripts/lib/bundled-npm-package.mts + scripts/lib/patch-bundled-npm-undici.mts + scripts/lib/remediate-openclaw-runtime-dependencies.mts + scripts/lib/reviewed-npm-identity.mts scripts/checks/prepare-ci-npm-install.mts scripts/lib/reviewed-ci-npm-install.mts scripts/checks/candidate-openshell-sdk.mts diff --git a/agents/openclaw/dependency-review.md b/agents/openclaw/dependency-review.md index 5529f27c986..df3d67285fa 100644 --- a/agents/openclaw/dependency-review.md +++ b/agents/openclaw/dependency-review.md @@ -45,6 +45,9 @@ The reviewed audit wrapper reports lower-severity production findings and blocks The reviewed archive audit and image build use the package identities in `ci/reviewed-npm-audit.json`. They verify registry integrity before replacing bundled packages. Official plugin installs also require OpenClaw's trusted install record. A changed source package, replacement identity, dependency layout, or patched tree stops remediation. +The following recipes apply to the retained 2026.9.2 and 2026.9.5 archives. +They do not describe the separate 2026.10.5 replacements. + - Discord, Slack, and Google Chat: the reviewed 2026.9.2 and 2026.9.5 archives listed in `scripts/lib/openclaw-npm-remediation.mts` replace affected bundled Zod copies with `zod@4.6.6`. Discord SDK runtime modules and declarations receive a digest-checked Zod 4 migration through atomic directory replacement. Native installation permits only npm's exact relative UUID launcher link after verifying the complete reviewed UUID 14.0.2 tree. Other SDK symlinks and hard links are rejected. Remove each rewrite only when a reviewed upstream archive ships patched Zod and `scripts/audit-reviewed-npm-graph.mts` confirms its graph. `test/agents/openclaw/openclaw-zod-runtime.test.ts` supplies Discord runtime and link-boundary evidence. Require plugin-specific runtime evidence for Slack and Google Chat before removing their rewrites. - Discord and Slack: the reviewed 2026.9.2 and 2026.9.5 archives replace bundled Undici with `8.12.2` for Discord and `7.30.1` for Slack. The replacement checks the plugin manifest, bundled package, and reviewed registry package. Remove each rewrite when the reviewed upstream archive ships a patched Undici and passes the real patched distribution and plugin runtime probes. - Slack: the official 2026.9.2 install and reviewed 2026.9.5 archive replace bundled `body-parser@2.3.0` with `2.4.0` and affected `qs` copies with `6.16.1`. The replacement checks the Slack, Bolt, Express, parser, and `qs` identities. A retry verifies completed replacements before resuming. Remove this rewrite when the reviewed Slack archives ship patched parser and `qs` versions. The failure-and-retry test is in `test/runtime/messaging/messaging-build-applier-integrity.test.ts`; the process probe is in `test/agents/openclaw/openclaw-body-parser-runtime.test.ts`. @@ -52,6 +55,70 @@ The reviewed archive audit and image build use the package identities in `ci/rev The PR and main `real-openclaw-dist-harness` jobs run those three runtime probes with scripts disabled during package installation. The audit still verifies the final production graph separately. +### OpenClaw 2026.10.5 plugins + +The audit inventory also includes the reviewed `@openclaw/discord`, `@openclaw/googlechat`, and `@openclaw/slack` 2026.10.5 archives. +`patchOpenClaw105PluginDependencies` in `scripts/lib/openclaw-npm-remediation.mts` owns their installed-tree remediation. +It checks each plugin's name, version, dependency declarations, and affected dependency tree before replacement. +Each replacement must match both its registry archive integrity and its reviewed extracted-tree digest. +A completed replacement must match the same final tree before a retry can reuse it. + +| Plugin | Reviewed replacement | +|---|---| +| Discord | Zod 4.6.6 and Undici 8.12.3. The embedded Discord SDK retains its `zod/v3` API and receives the digest-checked bounded-collection repair. | +| Google Chat | Zod 4.6.6. This recipe does not replace its HTTP client. | +| Slack | Zod 4.6.6, Undici 8.12.3, and body-parser 2.4.0. The parser retains local content-type 2.1.0 and qs 6.16.1 so incompatible ancestor copies cannot satisfy its imports. | + +The archive audit verifies the final remediated plugin tree before installation. +The official-install path verifies OpenClaw's trusted provenance record before invoking the same recipe. +`test/agents/openclaw/openclaw-npm-remediation.test.ts` covers source drift, replacement integrity, and rejection paths. +Remove a recipe only when a newly reviewed upstream archive contains the replacements and real plugin consumers pass without the recipe. +Retain historical recipes while supported installed sandboxes can still select their archives. + +### Runtime and managed-plugin overrides + +The prerequisite audit invokes `scripts/lib/remediate-openclaw-runtime-dependencies.mts` after controlled installation and before the installed-lock check. +Production remains on 2026.9.2 with its existing remediation; the separate 10.5 upgrade wires this helper into its image builds. +For OpenClaw 2026.10.5, it verifies the runtime identity and updates its npm and Undici declarations to 12.2.1 and 8.12.3. +The managed-plugin workspace must match the reviewed original or patched SHA-256 digest. +The patched workspace selects MSAL Node 7.1.0, body-parser 2.4.0, Undici 8.12.3, Zod 4.6.6, and qs 6.16.1 for future official-plugin projects. +The helper also applies the plugin recipes above when those plugins occur in the installed graph. + +npm 12.2.1's bundled Undici 6.29.0 is replaced with reviewed 6.29.1 without changing npm's identity. +`patch-bundled-npm-undici.mts` validates the package contract and layout, verifies the archive integrity, and checks the installed npm and npx entrypoints. +The separate OpenClaw 2026.9.7 migration graph removes its bundled Undici 8.10.2 only after resolution selects reviewed top-level 8.12.3. +Failed verification restores the original tree. +After interrupted cleanup, a retry verifies the replacement and the retained backup before removing that backup. +Ambiguous or unsafe retained state fails without deletion. + +Ordinary audit installation leaves the reviewed lock unchanged. +The explicit `updateLock` mode updates metadata when producing the aggregate archive graph or regenerating a reviewed lock. +The shared writer in `bundled-npm-package.mts` serves runtime workspaces, runtime and plugin manifests, and lock metadata. +These updates stage and verify complete bytes in the same directory before an atomic rename. +Staging failures preserve the original file and remove the attempt's temporary file; a later retry can resume. +After publication, the writer syncs the parent directory and reports any sync failure. +A retry syncs the directory even when the metadata already contains the verified replacement. +The writer preserves file permissions and ownership, rejects symlinks, and stops if it observes a replaced pathname or changed source before publication. +`test/install/remediate-openclaw-runtime-dependencies.test.ts` covers resolution, metadata writes, cleanup retries, unsafe state, and stale-lock rejection. +`test/install/patch-bundled-npm-undici.test.ts` covers the bundled npm replacement, rollback, and cleanup failures. +The shared `bundled-npm-package.mts` owns replacement, rollback, archive verification, and backup cleanup for ip-address and Undici. +Both entrypoints restore one verified affected backup when an interrupted replacement leaves the live package absent. +They validate npm identity before restoration and preserve unverified staging trees. +Replacement stages carry private ownership markers bound to the package, parent and stage directories, and creator's host boot and process scope. +On retry, both entrypoints remove a marked stage only after verifying that identity and confirming that its creator has exited. +Unknown, active, unsafe, or unverifiable stages remain intact with a recovery diagnostic; a directory-name prefix alone never authorizes deletion. +Replacement copies the original package into the private stage and verifies its complete contents before publishing a backup. +The ownership marker records the original and backup directory identities, backup name, and a digest of file contents and entry modes. +If interruption leaves the original live package intact, recovery can remove its sole owned backup after both trees match that receipt. +This recovery also requires a verified inactive stage owner; changed, ambiguous, or unsafe backups remain for inspection. +After replacement succeeds, cleanup retries remove one recognized affected backup only after verifying the live replacement. +Unrecognized names, multiple backups, missing identity, or unsafe trees fail without deletion. +`test/install/bundled-npm-package.test.ts` covers shared archive and recovery failures; package-specific suites retain identity and rollback coverage. +`test/install/bundled-npm-staging-recovery.test.ts` interrupts real child processes during copying, receipt publication, backup publication, and promotion, then checks recovery and ownership-denial behavior for both packages. +`test/agents/openclaw/openclaw-real-patched-dist-harness.test.ts` materializes reviewed 2026.10.5 archives and runs npm, npx, and the Discord SDK through the repaired dependencies. +It also verifies Google Chat account parsing through patched Zod and Slack Bolt HTTP body parsing through its patched local parser dependencies. +Remove these repairs only after reviewed upstream packages resolve the required versions without mutation and the audit and real consumers pass. + ## WeChat plugin runtime graph - Package: `@tencent-weixin/openclaw-weixin@2.4.9`. This version uses the supported channel SDK and binds inbound replies to the OpenClaw 2026.9.x model runtime. The locked production dependencies are `qrcode-terminal@0.12.0` and `zod@4.6.6`. @@ -101,49 +168,26 @@ The lock records the exact version, registry URL, and integrity for every transi `test/automation/releases/reviewed-npm-audit.test.ts` proves exact matching and fail-closed exception validation. - `removalCondition`: remove this runtime dependency and review when OpenClaw provides the required authenticated Streamable HTTP client lifecycle without mcporter, or repeat the independent review for a newly pinned version. -## OpenClaw 2026.9.5 staged transition - -[PR #12380](https://github.com/NVIDIA/NemoClaw/pull/12380) prepares trusted audit policy for -[PR #12382](https://github.com/NVIDIA/NemoClaw/pull/12382), which updates the runtime. -The CI and managed-image PR audits load their action, policy, and dependency inputs from the -candidate checkout. A passing audit checks that candidate's declared policy; independent review -of the package identities and policy changes remains necessary. -The two stages separate that review from the production runtime cutover. - -During the trust stage, production manifests, locks, lifecycle approvals, and image archives remain -on OpenClaw 2026.9.2. The existing locked graph remains the primary audit identity. -The replacement admits only the reviewed 2026.9.5 lock digest, package integrity, and registry URL. -It does not select a second runtime or permit an arbitrary lock. -The compressed 2026.9.5 lock fixture records the migration input without changing production selection. -The replacement audit test consumes that fixture and the checked-in policy, then verifies the emitted -provenance and npm identity requests. - -The trust-stage audit checks the selected 2026.9.2 production lock. It does not qualify the staged -2026.9.5 lock. Before approving the trust stage, reviewers must also inspect the runtime PR's retained -audit evidence and match its `packageLockSha256` to the replacement identity and decompressed fixture. -[CI run 37677060608](https://github.com/NVIDIA/NemoClaw/actions/runs/37677060608/job/112983299250) -audited the 2026.9.5 graph at commit `754d187fa833f6198e7a3d808ddf88dc2944025d`. -Its [reviewed-npm-audit artifact](https://github.com/NVIDIA/NemoClaw/actions/runs/37677060608/artifacts/11507039810) -contains the receipt, raw report, and scanner provenance for lock SHA-256 -`b73ebd8bb5e15cfcf080a21beaca0dce50cbca903988b20be74d49c9498baeb7`. -The receipt reports no blocking advisories at the `high` threshold; the policy report records three -moderate advisories. The audit job also completed signature verification before emitting the receipt. -This evidence qualifies those lock bytes, not a different lock or a future advisory database. -Require a fresh matching audit when its receipt expires. - -The audit workflow, action, and implementation are unchanged from the trust PR's base, -`b430d4d2495de65cbd1151d8fd6bff3def0cd58a`. Their candidate-checkout execution is existing repository -behavior. Reviewers must independently inspect this PR's policy diff; a passing candidate audit does -not authorize changes to its own policy. - -The runtime stage completes the transition by moving all production version owners to 2026.9.5, -promoting its lock identity to primary, and removing the replacement and superseded archive records. -For these two PRs, the maintainer requested green CI and managed-image checks, PR Advisor clearance, -and full E2E qualification. These are acceptance criteria for this upgrade; full E2E is manually -dispatched and is not an automatically enforced PR check. The runtime CI also executes the -actual-package patch harness. -Prekshi Vyas owns completion of these two PRs. Retain the old archive records only while production -still selects them; remove this transition section when the runtime cutover is complete. +## OpenClaw 2026.10.5 qualification prerequisites + +[PR #13697](https://github.com/NVIDIA/NemoClaw/pull/13697) prepares trusted audit and E2E controls for +[PR #12382](https://github.com/NVIDIA/NemoClaw/pull/12382), which owns the runtime upgrade. +This prerequisite retains production OpenClaw 2026.9.2 and WeChat 2.4.9. +Their existing locks remain the primary audit identities. +The replacement records admit only the reviewed OpenClaw 2026.10.5 and WeChat 2.4.10 lock digests, package integrities, and registry URLs. +They do not select another production runtime or admit arbitrary locks. +The 2026.9.5 and 2026.9.7 migration graphs are separate audit inputs; this prerequisite does not activate them on main. + +The archive inventory retains the versions needed by main and the upgrade. +The audit materializes the selected graphs, applies the reviewed recipes, verifies installed-lock identity, checks advisory policy, and verifies registry signatures. +A passing candidate audit does not approve changes to its own policy. +Independent review must inspect those changes and the receipts for each selected lock. + +Full PR E2E uses trusted main for these controls. +The Model Router target also needs the target-specific Python 3.13 setup in this prerequisite. +The runtime upgrade still requires successful CI, managed-image activation, automated review, and full default E2E qualification. +Retain draft status until the applicable qualification and independent review requirements pass. +Retire superseded archive identities only when their runtime consumers and historical qualification obligations are retired. ## Bundled schema and request-body repairs @@ -165,9 +209,11 @@ body-parser 2.4.0 override are included in the committed lock and checksum-pinne Docker archive inputs. The WeChat cache separately supplies its locked Zod 4.6.6 archive. These repairs add no advisory exceptions. -The affected Undici 8.x graphs and bundles use 8.12.2; Slack's bundled 7.x -copy uses 7.30.1. Both versions reject excessive response content encodings -without changing the existing major-version boundary. The CLI and OpenClaw +Retained OpenClaw 2026.9.2 and 2026.9.5 Undici 8.x repairs use 8.12.2. +The 2026.10.5 runtime and plugin repairs and the 2026.9.7 migration graph use +8.12.3. The retained Slack 7.x copy uses 7.30.1. These replacements reject +excessive response content encodings without changing the existing +major-version boundary. The CLI and OpenClaw locks, generated runtime bundles, archive-tree pins, and offline cache inputs record those versions. The cache carries the 7.x replacement through the existing npm-alias pattern. Original bundled records remain available for diff --git a/agents/openclaw/openclaw-migration-2026.9.5-runtime/package-lock.json b/agents/openclaw/openclaw-migration-2026.9.5-runtime/package-lock.json new file mode 100644 index 00000000000..ecd3cd69373 --- /dev/null +++ b/agents/openclaw/openclaw-migration-2026.9.5-runtime/package-lock.json @@ -0,0 +1,4715 @@ +{ + "name": "nemoclaw-openclaw-runtime", + "version": "0.0.0", + "lockfileVersion": 3, + "requires": true, + "packages": { + "": { + "name": "nemoclaw-openclaw-runtime", + "version": "0.0.0", + "license": "Apache-2.0", + "dependencies": { + "openclaw": "2026.9.5" + }, + "engines": { + "node": ">=24.16.0 <25 || >=26.1.0" + } + }, + "node_modules/@agentclientprotocol/sdk": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/@agentclientprotocol/sdk/-/sdk-1.4.0.tgz", + "integrity": "sha512-/eufudw+aFY1LKLolT6yFE6UMmYRl7fMJ/DEONSIyR6wI3slHWITBsANRGqXEY8FRzqUxwh7QEaGiZHcJPVThg==", + "license": "Apache-2.0", + "peerDependencies": { + "zod": "^3.25.0 || ^4.0.0" + } + }, + "node_modules/@anthropic-ai/sdk": { + "version": "0.124.0", + "resolved": "https://registry.npmjs.org/@anthropic-ai/sdk/-/sdk-0.124.0.tgz", + "integrity": "sha512-cN5O8i9UVxHeOQAzj/XjshWXG8KiibJDw9OGpH2Z/eR3n/RBxdoLxDJOcfqAJWvjaMDFfHTBADU04hWRJVkDyA==", + "license": "MIT", + "dependencies": { + "json-schema-to-ts": "^3.1.1", + "standardwebhooks": "^1.0.0" + }, + "bin": { + "anthropic-ai-sdk": "bin/cli" + }, + "peerDependencies": { + "zod": "^3.25.0 || ^4.0.0" + }, + "peerDependenciesMeta": { + "zod": { + "optional": true + } + } + }, + "node_modules/@babel/runtime": { + "version": "7.29.7", + "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.29.7.tgz", + "integrity": "sha512-Nq8OhGWiZIZGV6hLHoyAKLLcJihP/xFeBMGJoUrxTX2psI8dCifzLhZISFb+VWS3wFMRDmCGw5R+dOySCqPLhw==", + "license": "MIT", + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@borewit/text-codec": { + "version": "0.2.2", + "resolved": "https://registry.npmjs.org/@borewit/text-codec/-/text-codec-0.2.2.tgz", + "integrity": "sha512-DDaRehssg1aNrH4+2hnj1B7vnUGEjU6OIlyRdkMd0aUdIUvKXrJfXsy8LVtXAy7DRvYVluWbMspsRhz2lcW0mQ==", + "license": "MIT", + "funding": { + "type": "github", + "url": "https://github.com/sponsors/Borewit" + } + }, + "node_modules/@clack/core": { + "version": "1.5.0", + "resolved": "https://registry.npmjs.org/@clack/core/-/core-1.5.0.tgz", + "integrity": "sha512-zNikCcd8BbcEvzzG1sbXFrRHFk5kHPrpwZwksPvf9qyQO1Teb7JaXaOAxXZei9nZLDW0gaZawiuTCji88bTBhw==", + "license": "MIT", + "dependencies": { + "fast-wrap-ansi": "^0.2.0", + "sisteransi": "^1.0.5" + }, + "engines": { + "node": ">= 20.12.0" + } + }, + "node_modules/@clack/prompts": { + "version": "1.8.0", + "resolved": "https://registry.npmjs.org/@clack/prompts/-/prompts-1.8.0.tgz", + "integrity": "sha512-PXzLZ8N34rxmuo4dJg3xtOXhcBse94qGjDqsteoEYrFrrZ5FSjIGwMAuOcv64ln8rHVBBD06XeVGr+/JX+plcA==", + "license": "MIT", + "dependencies": { + "@clack/core": "1.5.0", + "fast-string-width": "^3.0.2", + "fast-wrap-ansi": "^0.2.0", + "sisteransi": "^1.0.5" + }, + "engines": { + "node": ">= 20.12.0" + } + }, + "node_modules/@earendil-works/pi-tui": { + "version": "0.85.1", + "resolved": "https://registry.npmjs.org/@earendil-works/pi-tui/-/pi-tui-0.85.1.tgz", + "integrity": "sha512-OIzw9efInmO4WOBnD4TxcTdBjmzvYJpzslkgoUro946nEGoYWg5rwv1p4fDt3/JvMx9QybryUCUwlm7j8Dreig==", + "license": "MIT", + "dependencies": { + "get-east-asian-width": "1.6.0", + "marked": "18.0.5" + }, + "engines": { + "node": ">=22.19.0" + } + }, + "node_modules/@google/genai": { + "version": "2.21.0", + "resolved": "https://registry.npmjs.org/@google/genai/-/genai-2.21.0.tgz", + "integrity": "sha512-+PDtco2/Z0ONdzCGekCoCT+O1VJS9xJQNN4XzQpXG/t3El/SWWMkCWlFRO1KmivOHPa4Q0VjUYu1HBKCZ/v33Q==", + "hasInstallScript": true, + "license": "Apache-2.0", + "dependencies": { + "google-auth-library": "^10.3.0", + "p-retry": "^4.6.2", + "protobufjs": "^7.5.4", + "ws": "^8.18.0" + }, + "engines": { + "node": ">=20.0.0" + }, + "peerDependencies": { + "@modelcontextprotocol/sdk": "^1.25.2" + }, + "peerDependenciesMeta": { + "@modelcontextprotocol/sdk": { + "optional": true + } + } + }, + "node_modules/@grammyjs/types": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/@grammyjs/types/-/types-5.0.0.tgz", + "integrity": "sha512-iq1Qrq1iPKkB8yAa0qSuIURMZOCuqTY5pWy5gHpCeL1oQ+GPadGhw/cDTVE8waJwuCzacUzuIjRv1sESvk7u7A==", + "license": "MIT" + }, + "node_modules/@homebridge/ciao": { + "version": "1.3.12", + "resolved": "https://registry.npmjs.org/@homebridge/ciao/-/ciao-1.3.12.tgz", + "integrity": "sha512-84/0u0kqKy4qcKupIDaTtbkmk+3qFDuMzxTC0NPfVlHcUT+jHGdP+QCqwEw94/GJxRezDeBLwxaclkBZgCdeUg==", + "license": "MIT", + "dependencies": { + "debug": "^4.4.3", + "fast-deep-equal": "^3.1.3", + "source-map-support": "^0.5.21", + "tslib": "^2.8.1" + }, + "bin": { + "ciao-bcs": "lib/bonjour-conformance-testing.js" + } + }, + "node_modules/@hono/node-server": { + "version": "2.1.3", + "resolved": "https://registry.npmjs.org/@hono/node-server/-/node-server-2.1.3.tgz", + "integrity": "sha512-TA//nWMqPhbfdfneACk6t5a9eqbS9lABEPyKn0/xZTah3H3U2XaVg85rJFl0/Fyit0I552YDHgXGVSf3GwqbUw==", + "license": "MIT", + "engines": { + "node": ">=20" + }, + "peerDependencies": { + "hono": "^4" + } + }, + "node_modules/@isaacs/fs-minipass": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/@isaacs/fs-minipass/-/fs-minipass-4.0.1.tgz", + "integrity": "sha512-wgm9Ehl2jpeqP3zw/7mo3kRHFp5MEDhqAdwy1fTGkHAwnkGOVsgpvQhL8B5n1qlb01jV3n/bI0ZfZp5lWA1k4w==", + "license": "ISC", + "dependencies": { + "minipass": "^7.0.4" + }, + "engines": { + "node": ">=18.0.0" + } + }, + "node_modules/@koromix/koffi-android-arm64": { + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/@koromix/koffi-android-arm64/-/koffi-android-arm64-3.2.1.tgz", + "integrity": "sha512-1pJQ4jnZlUJduK9u9DC5CGy3aOgDUPvIXpNb6syV3+Dh5Q/ugezAIGCqvY+w+1mgXsve0pd0NVvJRjdZNHQ6MA==", + "cpu": [ + "arm64" + ], + "license": "MIT", + "optional": true, + "os": [ + "android" + ], + "funding": { + "url": "https://liberapay.com/Koromix" + } + }, + "node_modules/@koromix/koffi-android-x64": { + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/@koromix/koffi-android-x64/-/koffi-android-x64-3.2.1.tgz", + "integrity": "sha512-HH40xGh3gVQifjOBnhwT2tECC0lL1lYe+nxHvWNSzxDIyQNcVPXg38ta7vuONRFpD+uIrw7fqGYLzbZIagkVcg==", + "cpu": [ + "x64" + ], + "license": "MIT", + "optional": true, + "os": [ + "android" + ], + "funding": { + "url": "https://liberapay.com/Koromix" + } + }, + "node_modules/@koromix/koffi-darwin-arm64": { + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/@koromix/koffi-darwin-arm64/-/koffi-darwin-arm64-3.2.1.tgz", + "integrity": "sha512-Vj4h+xcjc5+Cn0DhPHjgRX4omKAv96Kehtcd+1YgYuY2W7FvQn9vS+3SmzVwhC5Qmg9bIwUZObYQ8T/4hBqQqA==", + "cpu": [ + "arm64" + ], + "license": "MIT", + "optional": true, + "os": [ + "darwin" + ], + "funding": { + "url": "https://liberapay.com/Koromix" + } + }, + "node_modules/@koromix/koffi-darwin-x64": { + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/@koromix/koffi-darwin-x64/-/koffi-darwin-x64-3.2.1.tgz", + "integrity": "sha512-gFCWxNBTZIvxo1p+PURWfsy2Ctj5FGnVVs1f03lTLhBvmxEto70pdIiFztdFLDFkAJ1pmtQmruRKapeK+E8YPA==", + "cpu": [ + "x64" + ], + "license": "MIT", + "optional": true, + "os": [ + "darwin" + ], + "funding": { + "url": "https://liberapay.com/Koromix" + } + }, + "node_modules/@koromix/koffi-freebsd-arm64": { + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/@koromix/koffi-freebsd-arm64/-/koffi-freebsd-arm64-3.2.1.tgz", + "integrity": "sha512-qj+f1s2e6vULaUG1cdlTcCXmunCq2t+rjxku1+esaMIqVnHpOwj0QzPuInG0AFdXjwBNQhyVR/HpDj8daEwwsQ==", + "cpu": [ + "arm64" + ], + "license": "MIT", + "optional": true, + "os": [ + "freebsd" + ], + "funding": { + "url": "https://liberapay.com/Koromix" + } + }, + "node_modules/@koromix/koffi-freebsd-ia32": { + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/@koromix/koffi-freebsd-ia32/-/koffi-freebsd-ia32-3.2.1.tgz", + "integrity": "sha512-6olHb1Qfgai0jjs6ddlDDD0ZfsCxy7SPi8rMRpuYQWH0qhgtyQu82hw5b1p7z+TJ0zZP3ZeQQ6l+U/MlM1ICHQ==", + "cpu": [ + "ia32" + ], + "license": "MIT", + "optional": true, + "os": [ + "freebsd" + ], + "funding": { + "url": "https://liberapay.com/Koromix" + } + }, + "node_modules/@koromix/koffi-freebsd-x64": { + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/@koromix/koffi-freebsd-x64/-/koffi-freebsd-x64-3.2.1.tgz", + "integrity": "sha512-Dikhw1ySYNVMkmeFvFVjnU5Wdk6mffNoOjJxm9bTG96vg7OlemylxqdEven47R1YJ3yzNVJn/MlQ207ORWfi2w==", + "cpu": [ + "x64" + ], + "license": "MIT", + "optional": true, + "os": [ + "freebsd" + ], + "funding": { + "url": "https://liberapay.com/Koromix" + } + }, + "node_modules/@koromix/koffi-linux-arm": { + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/@koromix/koffi-linux-arm/-/koffi-linux-arm-3.2.1.tgz", + "integrity": "sha512-OfwUwZylidq95wQKp6ClInULrfB2giu7dqM6Rhe0zAe6lES5I2SXNw15T9+GnRHk3/9hKT2XZ37OZLaKSyWNLA==", + "cpu": [ + "arm" + ], + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "funding": { + "url": "https://liberapay.com/Koromix" + } + }, + "node_modules/@koromix/koffi-linux-arm64": { + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/@koromix/koffi-linux-arm64/-/koffi-linux-arm64-3.2.1.tgz", + "integrity": "sha512-K+cGUL5iBcDqxmsocrjmlASqDf24gc7artbVW3PewG2c9AqwC63lezgwvB85Nx4lZAQjB6zIFHh9A7t1yGbwhw==", + "cpu": [ + "arm64" + ], + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "funding": { + "url": "https://liberapay.com/Koromix" + } + }, + "node_modules/@koromix/koffi-linux-ia32": { + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/@koromix/koffi-linux-ia32/-/koffi-linux-ia32-3.2.1.tgz", + "integrity": "sha512-rxj6UYjU1qd98gxNQOSCdLpc5cPRi5Giq9rNd3jnGuSNIyMkwa6Dxw4cUjmhIBCYESMJtmNt5NWnJp5u9wTfYQ==", + "cpu": [ + "ia32" + ], + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "funding": { + "url": "https://liberapay.com/Koromix" + } + }, + "node_modules/@koromix/koffi-linux-loong64": { + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/@koromix/koffi-linux-loong64/-/koffi-linux-loong64-3.2.1.tgz", + "integrity": "sha512-aHhnHzkPRmT/IHDlGvESJ/Bs32m8N6UE6Ab6kMeJzgk74IN8af2m/81/wZJtybR1M2UxCV4NmlVNUYQQvSAO3Q==", + "cpu": [ + "loong64" + ], + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "funding": { + "url": "https://liberapay.com/Koromix" + } + }, + "node_modules/@koromix/koffi-linux-riscv64": { + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/@koromix/koffi-linux-riscv64/-/koffi-linux-riscv64-3.2.1.tgz", + "integrity": "sha512-qtQBsjbm3LiirLJvajWmKkNb7ARk7fvJVXdftJ7NtAnF3Xw8EbDvrtvmvtNI1yLPlYcBmlzCCD71hwhWYk0SIA==", + "cpu": [ + "riscv64" + ], + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "funding": { + "url": "https://liberapay.com/Koromix" + } + }, + "node_modules/@koromix/koffi-linux-x64": { + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/@koromix/koffi-linux-x64/-/koffi-linux-x64-3.2.1.tgz", + "integrity": "sha512-c7hw7Qs/r5gnFRTQLcbifBwRU7wiocj+2pVuDQ5Ahb3r36SZmupmgYbTWcLvTW+hul1jd7SKRV0d14ZJq/tvSw==", + "cpu": [ + "x64" + ], + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "funding": { + "url": "https://liberapay.com/Koromix" + } + }, + "node_modules/@koromix/koffi-openbsd-ia32": { + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/@koromix/koffi-openbsd-ia32/-/koffi-openbsd-ia32-3.2.1.tgz", + "integrity": "sha512-mmY8fY8LQ/CB52+h3yrMYmVyoxzW3x08S0yI6VNfHWdfU6yJtZkKCbhjmQCYMrWbYKC4gMvwZwCywIGPAkLyeA==", + "cpu": [ + "ia32" + ], + "license": "MIT", + "optional": true, + "os": [ + "openbsd" + ], + "funding": { + "url": "https://liberapay.com/Koromix" + } + }, + "node_modules/@koromix/koffi-openbsd-x64": { + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/@koromix/koffi-openbsd-x64/-/koffi-openbsd-x64-3.2.1.tgz", + "integrity": "sha512-k4ig6aAPbFSRATOIIOfdf/KtlOGH4SVls6L9fy0QnTxRJYvY2oSltTsQtBDANgEQldlq8Kl5WnpRa1VSibP4Lw==", + "cpu": [ + "x64" + ], + "license": "MIT", + "optional": true, + "os": [ + "openbsd" + ], + "funding": { + "url": "https://liberapay.com/Koromix" + } + }, + "node_modules/@koromix/koffi-win32-arm64": { + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/@koromix/koffi-win32-arm64/-/koffi-win32-arm64-3.2.1.tgz", + "integrity": "sha512-cTWBJGK//pDMeKQJE/79Aq9MiOAF4H8QyLZHSQ9IWm8czOfwjG4J1AhsQ9DjI9KFOykH77hhnpmQTGVMIubGig==", + "cpu": [ + "arm64" + ], + "license": "MIT", + "optional": true, + "os": [ + "win32" + ], + "funding": { + "url": "https://liberapay.com/Koromix" + } + }, + "node_modules/@koromix/koffi-win32-ia32": { + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/@koromix/koffi-win32-ia32/-/koffi-win32-ia32-3.2.1.tgz", + "integrity": "sha512-Z50EM6TAZ7CFyMmyX6thv8eNpJchqe9eenhibSIy2Eq/FQYF76gU2VK/LEoaF46L8hfC7TpTp9b10MvReHEyFA==", + "cpu": [ + "ia32" + ], + "license": "MIT", + "optional": true, + "os": [ + "win32" + ], + "funding": { + "url": "https://liberapay.com/Koromix" + } + }, + "node_modules/@koromix/koffi-win32-x64": { + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/@koromix/koffi-win32-x64/-/koffi-win32-x64-3.2.1.tgz", + "integrity": "sha512-ZmZNiBO6bkOSh3QNzgfvb1cMY0yMobn6ZQrSMqbAce21qyYL8niIbyipz9N/PIRDciGhsV0wUxnZsxIO+yWsHQ==", + "cpu": [ + "x64" + ], + "license": "MIT", + "optional": true, + "os": [ + "win32" + ], + "funding": { + "url": "https://liberapay.com/Koromix" + } + }, + "node_modules/@lydell/node-pty": { + "version": "1.2.0-beta.15", + "resolved": "https://registry.npmjs.org/@lydell/node-pty/-/node-pty-1.2.0-beta.15.tgz", + "integrity": "sha512-Br8wBxzbxFwdWgk9uQ+rdzE0xfoxOK4QuGH54swhRwc5IxP6H9Y1/bcyazRGvNUs6XkB5qNVkezuKSRxUwZe7A==", + "license": "MIT", + "optionalDependencies": { + "@lydell/node-pty-darwin-arm64": "1.2.0-beta.15", + "@lydell/node-pty-darwin-x64": "1.2.0-beta.15", + "@lydell/node-pty-linux-arm64": "1.2.0-beta.15", + "@lydell/node-pty-linux-x64": "1.2.0-beta.15", + "@lydell/node-pty-win32-arm64": "1.2.0-beta.15", + "@lydell/node-pty-win32-x64": "1.2.0-beta.15" + } + }, + "node_modules/@lydell/node-pty-darwin-arm64": { + "version": "1.2.0-beta.15", + "resolved": "https://registry.npmjs.org/@lydell/node-pty-darwin-arm64/-/node-pty-darwin-arm64-1.2.0-beta.15.tgz", + "integrity": "sha512-6TSBbzdcLiNTHl1mTuzflqXrkmcC36USVGvERoDgvHk2ItEDaMaFZuAJ1CqPmwYj0DyhCS16TVS8OGK9xZnjyQ==", + "cpu": [ + "arm64" + ], + "license": "MIT", + "optional": true, + "os": [ + "darwin" + ] + }, + "node_modules/@lydell/node-pty-darwin-x64": { + "version": "1.2.0-beta.15", + "resolved": "https://registry.npmjs.org/@lydell/node-pty-darwin-x64/-/node-pty-darwin-x64-1.2.0-beta.15.tgz", + "integrity": "sha512-yDT2oqPqYMBScyuk1U9Rg5VKcrbMOD9o9jWYYamDADA3NSbUISroPChrqYRQ74Y7BQtNH4gqYAiWOZRi5uQZ0Q==", + "cpu": [ + "x64" + ], + "license": "MIT", + "optional": true, + "os": [ + "darwin" + ] + }, + "node_modules/@lydell/node-pty-linux-arm64": { + "version": "1.2.0-beta.15", + "resolved": "https://registry.npmjs.org/@lydell/node-pty-linux-arm64/-/node-pty-linux-arm64-1.2.0-beta.15.tgz", + "integrity": "sha512-wkbNF7dYAmtJv+o2+iztVlNwnUB4B0uX0wh/UD+mwMcmE2gNMnW9GChXO7fEE5XJokD0vB5idiHpGegaN+G/sg==", + "cpu": [ + "arm64" + ], + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@lydell/node-pty-linux-x64": { + "version": "1.2.0-beta.15", + "resolved": "https://registry.npmjs.org/@lydell/node-pty-linux-x64/-/node-pty-linux-x64-1.2.0-beta.15.tgz", + "integrity": "sha512-+U/5AVvHT6W+8OCYcnJgN0Qgc0ycO3TfD6aaFJHK+WHij797f8gsi5dV1HEO9l6YQmWCD+VL5gaLDhx3mxHwCA==", + "cpu": [ + "x64" + ], + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@lydell/node-pty-win32-arm64": { + "version": "1.2.0-beta.15", + "resolved": "https://registry.npmjs.org/@lydell/node-pty-win32-arm64/-/node-pty-win32-arm64-1.2.0-beta.15.tgz", + "integrity": "sha512-pyAk91w7wnnKrD4mrHXtIXRfmzSWV5bEzvRhurXcMCtCc2TJ424ciUskIgWMhAPP6y3KyUnqElj+U6kY3iOt0A==", + "cpu": [ + "arm64" + ], + "license": "MIT", + "optional": true, + "os": [ + "win32" + ] + }, + "node_modules/@lydell/node-pty-win32-x64": { + "version": "1.2.0-beta.15", + "resolved": "https://registry.npmjs.org/@lydell/node-pty-win32-x64/-/node-pty-win32-x64-1.2.0-beta.15.tgz", + "integrity": "sha512-2f8twEmDVxZ7drchAXjtevpmSPhFok0avAnzXro4t5gmz0xsPNKkoZvymwtuIS3xo7PzQqZOPQ/YzwEMb7oIzQ==", + "cpu": [ + "x64" + ], + "license": "MIT", + "optional": true, + "os": [ + "win32" + ] + }, + "node_modules/@mistralai/mistralai": { + "version": "2.6.4", + "resolved": "https://registry.npmjs.org/@mistralai/mistralai/-/mistralai-2.6.4.tgz", + "integrity": "sha512-PPt4GyJqs2hEsWrYCJZK5f0ORmT+L2MSm75LVGD7kBLf6ZKsoDpld/FRBQXr8xG6iFCBOFJFYzvGYhUb+UCkbw==", + "license": "Apache-2.0", + "dependencies": { + "@opentelemetry/semantic-conventions": "^1.40.0", + "ws": "^8.18.0", + "zod": "^3.25.0 || ^4.0.0", + "zod-to-json-schema": "^3.25.0" + }, + "peerDependencies": { + "@opentelemetry/api": "^1.9.0", + "@opentelemetry/exporter-trace-otlp-http": "^0.220.0", + "@opentelemetry/resources": "^2.9.0", + "@opentelemetry/sdk-trace-base": "^2.9.0" + }, + "peerDependenciesMeta": { + "@opentelemetry/api": { + "optional": true + }, + "@opentelemetry/exporter-trace-otlp-http": { + "optional": true + }, + "@opentelemetry/resources": { + "optional": true + }, + "@opentelemetry/sdk-trace-base": { + "optional": true + } + } + }, + "node_modules/@modelcontextprotocol/sdk": { + "version": "1.32.0", + "resolved": "https://registry.npmjs.org/@modelcontextprotocol/sdk/-/sdk-1.32.0.tgz", + "integrity": "sha512-8BviX/hK4Gd2eL1KdTwm0gfl4d3wdoErW0Jd00h6nomUAtk6IJk5vwQJc6kfWtJTzN5OEV/lgIiJKI8fiDGAlA==", + "license": "MIT", + "dependencies": { + "@hono/node-server": "^1.19.9 || ^2.0.5", + "ajv": "^8.17.1", + "ajv-formats": "^3.0.1", + "content-type": "^1.0.5", + "cors": "^2.8.5", + "cross-spawn": "^7.0.5", + "eventsource": "^3.0.2", + "eventsource-parser": "^3.0.0", + "express": "^5.2.1", + "express-rate-limit": "^8.2.1", + "hono": "^4.11.4", + "jose": "^6.1.3", + "json-schema-typed": "^8.0.2", + "pkce-challenge": "^5.0.0", + "raw-body": "^3.0.0", + "zod": "^3.25 || ^4.0", + "zod-to-json-schema": "^3.25.1" + }, + "engines": { + "node": ">=18" + }, + "peerDependencies": { + "@cfworker/json-schema": "^4.1.1", + "zod": "^3.25 || ^4.0" + }, + "peerDependenciesMeta": { + "@cfworker/json-schema": { + "optional": true + }, + "zod": { + "optional": false + } + } + }, + "node_modules/@openclaw/ai": { + "version": "2026.9.5", + "resolved": "https://registry.npmjs.org/@openclaw/ai/-/ai-2026.9.5.tgz", + "integrity": "sha512-RBchFFYjhvbN5FM8oBY8N8AGH2k6LTFaHohbQcdnhM7ZvfEjaWRNBmgGw8Q2RqfKjHtEL5sHm7p+EWvFTvfjIw==", + "license": "MIT", + "dependencies": { + "@anthropic-ai/sdk": "0.124.0", + "@google/genai": "2.21.0", + "@mistralai/mistralai": "2.6.4", + "openai": "7.12.1", + "partial-json": "0.1.7", + "typebox": "1.3.30" + }, + "engines": { + "node": ">=22.19.0" + } + }, + "node_modules/@openclaw/fs-safe": { + "version": "0.13.1", + "resolved": "https://registry.npmjs.org/@openclaw/fs-safe/-/fs-safe-0.13.1.tgz", + "integrity": "sha512-nfsEjPirAKotKBaQoQt10JbZx3RwkFIcv2Ujj0m3DCJCP5Jre3AUnMatVinsNL/W60IL4XeRWEXCvlra7edx7g==", + "license": "MIT", + "engines": { + "node": ">=22" + }, + "optionalDependencies": { + "@openclaw/fs-safe-darwin-arm64": "0.13.1", + "@openclaw/fs-safe-darwin-x64": "0.13.1", + "@openclaw/fs-safe-linux-arm64-gnu": "0.13.1", + "@openclaw/fs-safe-linux-arm64-musl": "0.13.1", + "@openclaw/fs-safe-linux-x64-gnu": "0.13.1", + "@openclaw/fs-safe-linux-x64-musl": "0.13.1", + "@openclaw/fs-safe-win32-x64-msvc": "0.13.1", + "jszip": "^3.10.2" + } + }, + "node_modules/@openclaw/fs-safe-darwin-arm64": { + "version": "0.13.1", + "resolved": "https://registry.npmjs.org/@openclaw/fs-safe-darwin-arm64/-/fs-safe-darwin-arm64-0.13.1.tgz", + "integrity": "sha512-dyPCOfMVJMXaP2yJIIyZrvK3TyQpCEduhvvfH3Zbcw/4SrdKP574qghgJM+VCVg2T9TEHTN4YBNO6z52iiMI3g==", + "cpu": [ + "arm64" + ], + "license": "MIT", + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": ">=22" + } + }, + "node_modules/@openclaw/fs-safe-darwin-x64": { + "version": "0.13.1", + "resolved": "https://registry.npmjs.org/@openclaw/fs-safe-darwin-x64/-/fs-safe-darwin-x64-0.13.1.tgz", + "integrity": "sha512-FJQWzC2ov0anu1sBiK796bKLRQhxvwgi17KPf6Wqt0OAMbC9UVrDuF22Fb4ASPn6CS8+vou64/qurc9XK1OjIA==", + "cpu": [ + "x64" + ], + "license": "MIT", + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": ">=22" + } + }, + "node_modules/@openclaw/fs-safe-linux-arm64-gnu": { + "version": "0.13.1", + "resolved": "https://registry.npmjs.org/@openclaw/fs-safe-linux-arm64-gnu/-/fs-safe-linux-arm64-gnu-0.13.1.tgz", + "integrity": "sha512-c/0+bdcYrLz0j/I37la4OcuRteVhqu1usLJqzax7A74dxIAtavARY36hyYIofxxRZPMYayBouB1DzAIpQviXCw==", + "cpu": [ + "arm64" + ], + "libc": [ + "glibc" + ], + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=22" + } + }, + "node_modules/@openclaw/fs-safe-linux-arm64-musl": { + "version": "0.13.1", + "resolved": "https://registry.npmjs.org/@openclaw/fs-safe-linux-arm64-musl/-/fs-safe-linux-arm64-musl-0.13.1.tgz", + "integrity": "sha512-Z5N6wQIJsKFa/GT6nSo2d70TaEydNcWTq3JlYWZxfz1lb2QqbRX7drh8S+doc74dxy+KoVUy+nb1DUYOfX5hEw==", + "cpu": [ + "arm64" + ], + "libc": [ + "musl" + ], + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=22" + } + }, + "node_modules/@openclaw/fs-safe-linux-x64-gnu": { + "version": "0.13.1", + "resolved": "https://registry.npmjs.org/@openclaw/fs-safe-linux-x64-gnu/-/fs-safe-linux-x64-gnu-0.13.1.tgz", + "integrity": "sha512-necoU8nn6wf04dWk+imTWh+BAT0bwH7MG6tHzl6h/qNNiWFAkcJja85lD+prqKt2e8652HtfGvrSiZfusjzTRg==", + "cpu": [ + "x64" + ], + "libc": [ + "glibc" + ], + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=22" + } + }, + "node_modules/@openclaw/fs-safe-linux-x64-musl": { + "version": "0.13.1", + "resolved": "https://registry.npmjs.org/@openclaw/fs-safe-linux-x64-musl/-/fs-safe-linux-x64-musl-0.13.1.tgz", + "integrity": "sha512-zrZavePtOGS28uoXwTQas4b91xEAyLoOCplwFhnNfBQ0Tgz9jT2c1bLaD7vNlsWmRYsz9XGcMl4KiXrtruanSg==", + "cpu": [ + "x64" + ], + "libc": [ + "musl" + ], + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=22" + } + }, + "node_modules/@openclaw/fs-safe-win32-x64-msvc": { + "version": "0.13.1", + "resolved": "https://registry.npmjs.org/@openclaw/fs-safe-win32-x64-msvc/-/fs-safe-win32-x64-msvc-0.13.1.tgz", + "integrity": "sha512-69r8H9Oz3yMglTQEkE982973QDmnvcrO5L74lkMa29jxQitt/efI7fUtDcs6nHu3+EhVwSF4iemwNtBdpqyuVw==", + "cpu": [ + "x64" + ], + "license": "MIT", + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">=22" + } + }, + "node_modules/@openclaw/proxyline": { + "version": "0.3.12", + "resolved": "https://registry.npmjs.org/@openclaw/proxyline/-/proxyline-0.3.12.tgz", + "integrity": "sha512-KPUvtLgORF0NWxiuUPwHBuxYhUsFgxnOm8+XkDR0on236lnfMF44A5BnOvBkeDV8wrBaGHs/rQ8kt1tB4WNhmw==", + "license": "MIT", + "engines": { + "node": ">=22.19.0" + }, + "peerDependencies": { + "undici": ">=8.5.0 <9" + } + }, + "node_modules/@opentelemetry/semantic-conventions": { + "version": "1.43.0", + "resolved": "https://registry.npmjs.org/@opentelemetry/semantic-conventions/-/semantic-conventions-1.43.0.tgz", + "integrity": "sha512-eSYWTm620tTk45EKSedaUL8MFYI8hW164hIXsgIHyxu3VobUB3fFCu5t0hQby6OoWRPsG1KkKUG2M5UadiLiVg==", + "license": "Apache-2.0", + "engines": { + "node": ">=14" + } + }, + "node_modules/@protobufjs/aspromise": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/@protobufjs/aspromise/-/aspromise-1.1.2.tgz", + "integrity": "sha512-j+gKExEuLmKwvz3OgROXtrJ2UG2x8Ch2YZUxahh+s1F2HZ+wAceUNLkvy6zKCPVRkU++ZWQrdxsUeQXmcg4uoQ==", + "license": "BSD-3-Clause" + }, + "node_modules/@protobufjs/base64": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/@protobufjs/base64/-/base64-1.1.2.tgz", + "integrity": "sha512-AZkcAA5vnN/v4PDqKyMR5lx7hZttPDgClv83E//FMNhR2TMcLUhfRUBHCmSl0oi9zMgDDqRUJkSxO3wm85+XLg==", + "license": "BSD-3-Clause" + }, + "node_modules/@protobufjs/codegen": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/@protobufjs/codegen/-/codegen-2.0.5.tgz", + "integrity": "sha512-zgXFLzW3Ap33e6d0Wlj4MGIm6Ce8O89n/apUaGNB/jx+hw+ruWEp7EwGUshdLKVRCxZW12fp9r40E1mQrf/34g==", + "license": "BSD-3-Clause" + }, + "node_modules/@protobufjs/eventemitter": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/@protobufjs/eventemitter/-/eventemitter-1.1.1.tgz", + "integrity": "sha512-vW1GmwMZNnL+gMRaovlh9yZX74kc+TTU3FObkkurpMaRtBfLP3ldjS9KQWlwZgraRE0+dheEEoAxdzcJQ8eXZg==", + "license": "BSD-3-Clause" + }, + "node_modules/@protobufjs/fetch": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/@protobufjs/fetch/-/fetch-1.1.1.tgz", + "integrity": "sha512-GpptLrs57adMSuHi3VNj0mAF8dwh36LMaYF6XyJ6JMWlVsc+t42tm1HSEDmOs3A8fC9yyeisgLhsTVQokOZ0zw==", + "license": "BSD-3-Clause", + "dependencies": { + "@protobufjs/aspromise": "^1.1.1" + } + }, + "node_modules/@protobufjs/float": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/@protobufjs/float/-/float-1.0.2.tgz", + "integrity": "sha512-Ddb+kVXlXst9d+R9PfTIxh1EdNkgoRe5tOX6t01f1lYWOvJnSPDBlG241QLzcyPdoNTsblLUdujGSE4RzrTZGQ==", + "license": "BSD-3-Clause" + }, + "node_modules/@protobufjs/path": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/@protobufjs/path/-/path-1.1.2.tgz", + "integrity": "sha512-6JOcJ5Tm08dOHAbdR3GrvP+yUUfkjG5ePsHYczMFLq3ZmMkAD98cDgcT2iA1lJ9NVwFd4tH/iSSoe44YWkltEA==", + "license": "BSD-3-Clause" + }, + "node_modules/@protobufjs/pool": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@protobufjs/pool/-/pool-1.1.0.tgz", + "integrity": "sha512-0kELaGSIDBKvcgS4zkjz1PeddatrjYcmMWOlAuAPwAeccUrPHdUqo/J6LiymHHEiJT5NrF1UVwxY14f+fy4WQw==", + "license": "BSD-3-Clause" + }, + "node_modules/@protobufjs/utf8": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/@protobufjs/utf8/-/utf8-1.1.2.tgz", + "integrity": "sha512-b1UQwcEZ4yCnMCD8DAL1VlbvBJE9/IX4FTIp7BG1xYpf29SLazLSrqUkj4w7Y5y7cCVP6E5tcqqcI0xemPkHug==", + "license": "BSD-3-Clause" + }, + "node_modules/@sec-ant/readable-stream": { + "version": "0.4.1", + "resolved": "https://registry.npmjs.org/@sec-ant/readable-stream/-/readable-stream-0.4.1.tgz", + "integrity": "sha512-831qok9r2t8AlxLko40y2ebgSDhenenCatLVeW/uBtnHPyhHOvG0C7TvfgecV+wHzIm5KUICgzmVpWS+IMEAeg==", + "license": "MIT" + }, + "node_modules/@silvia-odwyer/photon-node": { + "version": "0.3.4", + "resolved": "https://registry.npmjs.org/@silvia-odwyer/photon-node/-/photon-node-0.3.4.tgz", + "integrity": "sha512-bnly4BKB3KDTFxrUIcgCLbaeVVS8lrAkri1pEzskpmxu9MdfGQTy8b8EgcD83ywD3RPMsIulY8xJH5Awa+t9fA==", + "license": "Apache-2.0" + }, + "node_modules/@sindresorhus/merge-streams": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/@sindresorhus/merge-streams/-/merge-streams-4.0.0.tgz", + "integrity": "sha512-tlqY9xq5ukxTUZBmoOp+m61cqwQD5pHJtFY3Mn8CA8ps6yghLH/Hw8UPdqg4OLmFW3IFlcXnQNmo/dh8HzXYIQ==", + "license": "MIT", + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/@stablelib/base64": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/@stablelib/base64/-/base64-1.0.1.tgz", + "integrity": "sha512-1bnPQqSxSuc3Ii6MhBysoWCg58j97aUjuCSZrGSmDxNqtytIi0k8utUenAwTZN4V5mXXYGsVUI9zeBqy+jBOSQ==", + "license": "MIT" + }, + "node_modules/@tokenizer/inflate": { + "version": "0.4.1", + "resolved": "https://registry.npmjs.org/@tokenizer/inflate/-/inflate-0.4.1.tgz", + "integrity": "sha512-2mAv+8pkG6GIZiF1kNg1jAjh27IDxEPKwdGul3snfztFerfPGI1LjDezZp3i7BElXompqEtPmoPx6c2wgtWsOA==", + "license": "MIT", + "dependencies": { + "debug": "^4.4.3", + "token-types": "^6.1.1" + }, + "engines": { + "node": ">=18" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/Borewit" + } + }, + "node_modules/@tokenizer/token": { + "version": "0.3.0", + "resolved": "https://registry.npmjs.org/@tokenizer/token/-/token-0.3.0.tgz", + "integrity": "sha512-OvjF+z51L3ov0OyAU0duzsYuvO01PH7x4t6DJx+guahgTnBHkhJdG7soQeTSFLWN3efnHyibZ4Z8l2EuWwJN3A==", + "license": "MIT" + }, + "node_modules/@trycua/cua-driver": { + "version": "0.24.0", + "resolved": "https://registry.npmjs.org/@trycua/cua-driver/-/cua-driver-0.24.0.tgz", + "integrity": "sha512-OVYuBBvo7HNxGmqZDaWlfQ5tdr7FruA0YfytJ0p+aTZ9QF/1T8G5nQNsLVJht7JBAybktxO6JW+lxBNn9QHp8A==", + "license": "MIT", + "dependencies": { + "@ubjs/core": "0.31.0-3", + "@ubjs/node": "0.31.0-3" + }, + "optionalDependencies": { + "@trycua/cua-driver-darwin-arm64": "0.24.0", + "@trycua/cua-driver-darwin-x64": "0.24.0", + "@trycua/cua-driver-linux-arm64-gnu": "0.24.0", + "@trycua/cua-driver-linux-x64-gnu": "0.24.0", + "@trycua/cua-driver-win32-arm64-msvc": "0.24.0", + "@trycua/cua-driver-win32-x64-msvc": "0.24.0" + } + }, + "node_modules/@trycua/cua-driver-darwin-arm64": { + "version": "0.24.0", + "resolved": "https://registry.npmjs.org/@trycua/cua-driver-darwin-arm64/-/cua-driver-darwin-arm64-0.24.0.tgz", + "integrity": "sha512-V6C580ZFIYmB6fxjqM3eEoXahvzGjWc34I1SoVSBjDRjQSn2fXLldlNsCBxEUHs4TH/JopTyP1hTChbNtCC06w==", + "cpu": [ + "arm64" + ], + "license": "MIT AND MPL-2.0", + "optional": true, + "os": [ + "darwin" + ] + }, + "node_modules/@trycua/cua-driver-darwin-x64": { + "version": "0.24.0", + "resolved": "https://registry.npmjs.org/@trycua/cua-driver-darwin-x64/-/cua-driver-darwin-x64-0.24.0.tgz", + "integrity": "sha512-4KmFTUsGegTXmt+Crr/M+Zf/92zI+tGmJWFfM3CkCNGaCBw+wqJFmAYp9mVaR2F+zmdpaWyptB/movaHC88Lcg==", + "cpu": [ + "x64" + ], + "license": "MIT AND MPL-2.0", + "optional": true, + "os": [ + "darwin" + ] + }, + "node_modules/@trycua/cua-driver-linux-arm64-gnu": { + "version": "0.24.0", + "resolved": "https://registry.npmjs.org/@trycua/cua-driver-linux-arm64-gnu/-/cua-driver-linux-arm64-gnu-0.24.0.tgz", + "integrity": "sha512-SWiyMz8z6Oax/Q+Fp2zN4WjxcXE1pSQH9SsET63W2+C6t2CZdhLzypB1h4xNStcX8eCQZ/dl0ayiV2h0U2c/Zw==", + "cpu": [ + "arm64" + ], + "libc": [ + "glibc" + ], + "license": "MIT AND MPL-2.0", + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@trycua/cua-driver-linux-x64-gnu": { + "version": "0.24.0", + "resolved": "https://registry.npmjs.org/@trycua/cua-driver-linux-x64-gnu/-/cua-driver-linux-x64-gnu-0.24.0.tgz", + "integrity": "sha512-7FDtyemjyaZwNIOahfYPr6NcJOr86i3WXGcaJ9Q+a5wG13srkr3vhA0K7mPQcGd/tZTyZAulXA0fnjYv7oZiXg==", + "cpu": [ + "x64" + ], + "libc": [ + "glibc" + ], + "license": "MIT AND MPL-2.0", + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@trycua/cua-driver-win32-arm64-msvc": { + "version": "0.24.0", + "resolved": "https://registry.npmjs.org/@trycua/cua-driver-win32-arm64-msvc/-/cua-driver-win32-arm64-msvc-0.24.0.tgz", + "integrity": "sha512-NktveoX98qafCjgBePzqTsHqjlFHdz6ositvEtwVTS3xA7hNEgCsr9w55sRQYuUSGfz5xjxpFioSn6Mh/f5brw==", + "cpu": [ + "arm64" + ], + "license": "MIT AND MPL-2.0", + "optional": true, + "os": [ + "win32" + ] + }, + "node_modules/@trycua/cua-driver-win32-x64-msvc": { + "version": "0.24.0", + "resolved": "https://registry.npmjs.org/@trycua/cua-driver-win32-x64-msvc/-/cua-driver-win32-x64-msvc-0.24.0.tgz", + "integrity": "sha512-8tudsgdnfgCgeavIyhIOVCAAkfKezTkhTaZvPqZnikYN+5xKrO4o+vPhyyuEurYZLBLKluAxRwGr9DP/7syZjw==", + "cpu": [ + "x64" + ], + "license": "MIT AND MPL-2.0", + "optional": true, + "os": [ + "win32" + ] + }, + "node_modules/@types/node": { + "version": "26.6.4", + "resolved": "https://registry.npmjs.org/@types/node/-/node-26.6.4.tgz", + "integrity": "sha512-ldVPDCzj7fsaGZrLB0NuHuTvJcsNasysBAqMolr/cgxrLd1xbqxIr3XJiPnHHJUCxj5sNF1vnRj9aWnrVh5Jcg==", + "license": "MIT", + "dependencies": { + "undici-types": "~8.9.0" + } + }, + "node_modules/@types/retry": { + "version": "0.12.0", + "resolved": "https://registry.npmjs.org/@types/retry/-/retry-0.12.0.tgz", + "integrity": "sha512-wWKOClTTiizcZhXnPY4wikVAwmdYHp8q6DmC+EJUzAMsycb7HB32Kh9RN4+0gExjmPmZSAQjgURXIGATPegAvA==", + "license": "MIT" + }, + "node_modules/@ubjs/core": { + "version": "0.31.0-3", + "resolved": "https://registry.npmjs.org/@ubjs/core/-/core-0.31.0-3.tgz", + "integrity": "sha512-39XrJgUZ2VVb561sSnkXPhczNoeBsNiSRArecsV0JE7CJq69ajFkcn9/tBAUS2NpgHkLIDU+z6Ks2+1wXnboxg==", + "license": "MPL-2.0" + }, + "node_modules/@ubjs/node": { + "version": "0.31.0-3", + "resolved": "https://registry.npmjs.org/@ubjs/node/-/node-0.31.0-3.tgz", + "integrity": "sha512-qNMpi2LICNwxGXZyRF8fSDBSpbezyZbEsydrbiMPJOmtOWr4tmZIEl7jkWGHVGShoBvHfFo4eHp5B4UVP928Cg==", + "license": "MPL-2.0", + "optionalDependencies": { + "@ubjs/node-darwin-arm64": "0.31.0-3", + "@ubjs/node-darwin-x64": "0.31.0-3", + "@ubjs/node-linux-arm64-gnu": "0.31.0-3", + "@ubjs/node-linux-arm64-musl": "0.31.0-3", + "@ubjs/node-linux-x64-gnu": "0.31.0-3", + "@ubjs/node-linux-x64-musl": "0.31.0-3", + "@ubjs/node-win32-arm64-msvc": "0.31.0-3", + "@ubjs/node-win32-x64-msvc": "0.31.0-3" + } + }, + "node_modules/@ubjs/node-darwin-arm64": { + "version": "0.31.0-3", + "resolved": "https://registry.npmjs.org/@ubjs/node-darwin-arm64/-/node-darwin-arm64-0.31.0-3.tgz", + "integrity": "sha512-GGQVPLkVo4Gc8qVLW4IGvS8bjl8eHXyeP4a97ntGmsAdXwE5gsS29o8xUEFROjhwHKD+9sgVeblCSWVG3CpHsw==", + "cpu": [ + "arm64" + ], + "license": "MPL-2.0", + "optional": true, + "os": [ + "darwin" + ] + }, + "node_modules/@ubjs/node-darwin-x64": { + "version": "0.31.0-3", + "resolved": "https://registry.npmjs.org/@ubjs/node-darwin-x64/-/node-darwin-x64-0.31.0-3.tgz", + "integrity": "sha512-2sc47u4XFYOsbmP5EW+Gx8m/yGrYnfFDFQm6+kz7goSWTNg84eEiz3COs9HKJDVuNJ5Khv5XipTO8CFadMLXCw==", + "cpu": [ + "x64" + ], + "license": "MPL-2.0", + "optional": true, + "os": [ + "darwin" + ] + }, + "node_modules/@ubjs/node-linux-arm64-gnu": { + "version": "0.31.0-3", + "resolved": "https://registry.npmjs.org/@ubjs/node-linux-arm64-gnu/-/node-linux-arm64-gnu-0.31.0-3.tgz", + "integrity": "sha512-YStVXhYz/5jvlWf/p4fhiVT72unYAbGugifFC9QmO/+hnroQDAQ5t8SARbsc15G4olMcamdIB+GETiUB7gmaYg==", + "cpu": [ + "arm64" + ], + "libc": [ + "glibc" + ], + "license": "MPL-2.0", + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@ubjs/node-linux-arm64-musl": { + "version": "0.31.0-3", + "resolved": "https://registry.npmjs.org/@ubjs/node-linux-arm64-musl/-/node-linux-arm64-musl-0.31.0-3.tgz", + "integrity": "sha512-Izp4nvfy/LmibzFowAztkoDOksCR2fb2zl6fh1ojR1HEsg0rAGruxtI8d3fn8DI0lBXwqmn6SF///oD4mFNJPQ==", + "cpu": [ + "arm64" + ], + "libc": [ + "musl" + ], + "license": "MPL-2.0", + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@ubjs/node-linux-x64-gnu": { + "version": "0.31.0-3", + "resolved": "https://registry.npmjs.org/@ubjs/node-linux-x64-gnu/-/node-linux-x64-gnu-0.31.0-3.tgz", + "integrity": "sha512-Xdm21blyg5U/kW6s7OMvgrr8coGTkUlt26DVR9x8gKISif+E3YwdEskbFScWqystAiJnfjw7xHEc8UMu0Qlz7Q==", + "cpu": [ + "x64" + ], + "libc": [ + "glibc" + ], + "license": "MPL-2.0", + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@ubjs/node-linux-x64-musl": { + "version": "0.31.0-3", + "resolved": "https://registry.npmjs.org/@ubjs/node-linux-x64-musl/-/node-linux-x64-musl-0.31.0-3.tgz", + "integrity": "sha512-fFQ9BWS6i2LUH9SJgD9oEiKXXo/say59vHy7usFe1t7C2xvwvP34f5SuxXmWP9R8fHyA0aC4kIZ+TTwyHSv1Kw==", + "cpu": [ + "x64" + ], + "libc": [ + "musl" + ], + "license": "MPL-2.0", + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@ubjs/node-win32-arm64-msvc": { + "version": "0.31.0-3", + "resolved": "https://registry.npmjs.org/@ubjs/node-win32-arm64-msvc/-/node-win32-arm64-msvc-0.31.0-3.tgz", + "integrity": "sha512-ID6rSz1NmPsWTNBBNAw4OnJ5Dj8pcbtNJtdPB3OxcGigLBd/e0x7buhSI7os6Mo5iYtEdCynBRQHFJwub5XSPg==", + "cpu": [ + "arm64" + ], + "license": "MPL-2.0", + "optional": true, + "os": [ + "win32" + ] + }, + "node_modules/@ubjs/node-win32-x64-msvc": { + "version": "0.31.0-3", + "resolved": "https://registry.npmjs.org/@ubjs/node-win32-x64-msvc/-/node-win32-x64-msvc-0.31.0-3.tgz", + "integrity": "sha512-wevs+Y+szwcCUT8IJFbB4/1nfxyRv/51l8oG7FGUPWD1xLPyuHfJBG27C+PDeC7KRzes/2n6aLo4DGZbr/LYTw==", + "cpu": [ + "x64" + ], + "license": "MPL-2.0", + "optional": true, + "os": [ + "win32" + ] + }, + "node_modules/abort-controller": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/abort-controller/-/abort-controller-3.0.0.tgz", + "integrity": "sha512-h8lQ8tacZYnR3vNQTgibj+tODHI5/+l06Au2Pcriv/Gmet0eaj4TwWH41sO9wnHDiQsEj19q0drzdWdeAHtweg==", + "license": "MIT", + "dependencies": { + "event-target-shim": "^5.0.0" + }, + "engines": { + "node": ">=6.5" + } + }, + "node_modules/accepts": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/accepts/-/accepts-2.0.0.tgz", + "integrity": "sha512-5cvg6CtKwfgdmVqY1WIiXKc3Q1bkRqGLi+2W/6ao+6Y7gu/RCwRuAhGEzh5B4KlszSuTLgZYuqFqo5bImjNKng==", + "license": "MIT", + "dependencies": { + "mime-types": "^3.0.0", + "negotiator": "^1.0.0" + }, + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/acorn": { + "version": "8.18.0", + "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.18.0.tgz", + "integrity": "sha512-lGq+9yr1/GuAWaVYIHRjvvySG5/4VfKIvC8EWxStPdcDh/Ka7FG3twP6v4d5BkravUilhIAsG4Qj83t02LWUPQ==", + "license": "MIT", + "bin": { + "acorn": "bin/acorn" + }, + "engines": { + "node": ">=0.4.0" + } + }, + "node_modules/agent-base": { + "version": "7.1.4", + "resolved": "https://registry.npmjs.org/agent-base/-/agent-base-7.1.4.tgz", + "integrity": "sha512-MnA+YT8fwfJPgBx3m60MNqakm30XOkyIoH1y6huTQvC0PwZG7ki8NacLBcrPbNoo8vEZy7Jpuk7+jMO+CUovTQ==", + "license": "MIT", + "engines": { + "node": ">= 14" + } + }, + "node_modules/ajv": { + "version": "8.20.0", + "resolved": "https://registry.npmjs.org/ajv/-/ajv-8.20.0.tgz", + "integrity": "sha512-Thbli+OlOj+iMPYFBVBfJ3OmCAnaSyNn4M1vz9T6Gka5Jt9ba/HIR56joy65tY6kx/FCF5VXNB819Y7/GUrBGA==", + "license": "MIT", + "dependencies": { + "fast-deep-equal": "^3.1.3", + "fast-uri": "^3.0.1", + "json-schema-traverse": "^1.0.0", + "require-from-string": "^2.0.2" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/epoberezkin" + } + }, + "node_modules/ajv-formats": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/ajv-formats/-/ajv-formats-3.0.1.tgz", + "integrity": "sha512-8iUql50EUR+uUcdRQ3HDqa6EVyo3docL8g5WJ3FNcWmu62IbkGUue/pEyLBW8VGKKucTPgqeks4fIU1DA4yowQ==", + "license": "MIT", + "dependencies": { + "ajv": "^8.0.0" + }, + "peerDependencies": { + "ajv": "^8.0.0" + }, + "peerDependenciesMeta": { + "ajv": { + "optional": true + } + } + }, + "node_modules/balanced-match": { + "version": "4.0.4", + "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-4.0.4.tgz", + "integrity": "sha512-BLrgEcRTwX2o6gGxGOCNyMvGSp35YofuYzw9h1IMTRmKqttAZZVU67bdb9Pr2vUHA8+j3i2tJfjO6C6+4myGTA==", + "license": "MIT", + "engines": { + "node": "18 || 20 || >=22" + } + }, + "node_modules/base64-js": { + "version": "1.5.1", + "resolved": "https://registry.npmjs.org/base64-js/-/base64-js-1.5.1.tgz", + "integrity": "sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA==", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ], + "license": "MIT" + }, + "node_modules/bignumber.js": { + "version": "9.3.1", + "resolved": "https://registry.npmjs.org/bignumber.js/-/bignumber.js-9.3.1.tgz", + "integrity": "sha512-Ko0uX15oIUS7wJ3Rb30Fs6SkVbLmPBAKdlm7q9+ak9bbIeFf0MwuBsQV6z7+X768/cHsfg+WlysDWJcmthjsjQ==", + "license": "MIT", + "engines": { + "node": "*" + } + }, + "node_modules/body-parser": { + "version": "2.4.0", + "resolved": "https://registry.npmjs.org/body-parser/-/body-parser-2.4.0.tgz", + "integrity": "sha512-Ifk1KcLrxaGt1occQagQNFNNOqRt1LFuehEnHHzB8Z6cRgIxRU1TBaiIsUiCdA+gy5PL7Y1IX31DNKkRmxtXjQ==", + "license": "MIT", + "dependencies": { + "bytes": "^3.1.2", + "content-type": "^2.1.0", + "debug": "^4.4.3", + "http-errors": "^2.0.1", + "iconv-lite": "^0.7.3", + "on-finished": "^2.4.1", + "qs": "^6.16.1", + "raw-body": "^3.0.2", + "type-is": "^2.1.0" + }, + "engines": { + "node": ">=18" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/express" + } + }, + "node_modules/body-parser/node_modules/content-type": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/content-type/-/content-type-2.1.0.tgz", + "integrity": "sha512-mj7UPXE0jaqaOsukNZRUEfEi2AcL7C/vwmwcHV0O97eO1E1pxBZuyjlZrx5seTaNBg1U6+o35wpa35Qfcc+7ag==", + "license": "MIT", + "engines": { + "node": ">=18" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/express" + } + }, + "node_modules/boolbase": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/boolbase/-/boolbase-2.0.0.tgz", + "integrity": "sha512-DkVaaQHymRhpYEYo9x1oo7Q7B0Y6KJUsjm3c9eTyFDby4MHLBTwZ6ZDWBel5zrYxj1WsZgC5oLpiz+93MluXeA==", + "license": "ISC", + "engines": { + "node": ">=20.19.0" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/fb55" + } + }, + "node_modules/brace-expansion": { + "version": "5.0.12", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-5.0.12.tgz", + "integrity": "sha512-YovQ3rzhaLMIrDjNDMkNS01tea93qhEhG5xy8f6+R0l+dw3Ki+5sCoIoI942iuLZTHWogWktgwVDhU09iNEimQ==", + "license": "MIT", + "dependencies": { + "balanced-match": "^4.0.2" + }, + "engines": { + "node": "20 || >=22" + } + }, + "node_modules/buffer-equal-constant-time": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/buffer-equal-constant-time/-/buffer-equal-constant-time-1.0.1.tgz", + "integrity": "sha512-zRpUiDwd/xk6ADqPMATG8vc9VPrkck7T07OIx0gnjmJAnHnTVXNQG3vfvWNuiZIkwu9KrKdA1iJKfsfTVxE6NA==", + "license": "BSD-3-Clause" + }, + "node_modules/buffer-from": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/buffer-from/-/buffer-from-1.1.2.tgz", + "integrity": "sha512-E+XQCRwSbaaiChtv6k6Dwgc+bx+Bs6vuKJHHl5kox/BaKbhiXzqQOwK4cO22yElGp2OCmjwVhT3HmxgyPGnJfQ==", + "license": "MIT" + }, + "node_modules/bytes": { + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/bytes/-/bytes-3.1.2.tgz", + "integrity": "sha512-/Nf7TyzTx6S3yRJObOAV7956r8cr2+Oj8AC5dt8wSP3BQAoeX58NoHyCU8P8zGkNXStjTSi6fzO6F0pBdcYbEg==", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/call-bind-apply-helpers": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/call-bind-apply-helpers/-/call-bind-apply-helpers-1.0.2.tgz", + "integrity": "sha512-Sp1ablJ0ivDkSzjcaJdxEunN5/XvksFJ2sMBFfq6x0ryhQV/2b/KwFe21cMpmHtPOSij8K99/wSfoEuTObmuMQ==", + "license": "MIT", + "dependencies": { + "es-errors": "^1.3.0", + "function-bind": "^1.1.2" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/call-bound": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/call-bound/-/call-bound-1.0.4.tgz", + "integrity": "sha512-+ys997U96po4Kx/ABpBCqhA9EuxJaQWDQg7295H4hBphv3IZg0boBKuwYpt4YXp6MZ5AmZQnU/tyMTlRpaSejg==", + "license": "MIT", + "dependencies": { + "call-bind-apply-helpers": "^1.0.2", + "get-intrinsic": "^1.3.0" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/chalk": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-6.0.0.tgz", + "integrity": "sha512-2uNTXIuTTxk7ciZgAU1BQcgnchcG0xXnrs6jzkQfj9SsRa9M2s5zE8WT96hS6KmG4MzWHSrvH43DF1m4XRkrFg==", + "license": "MIT", + "engines": { + "node": ">=22" + }, + "funding": { + "url": "https://github.com/chalk/chalk?sponsor=1" + } + }, + "node_modules/chownr": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/chownr/-/chownr-3.0.0.tgz", + "integrity": "sha512-+IxzY9BZOQd/XuYPRmrvEVjF/nqj5kgT4kEq7VofrDoM1MxoRjEWkrCC3EtLi59TVawxTAn+orJwFQcrqEN1+g==", + "license": "BlueOak-1.0.0", + "engines": { + "node": ">=18" + } + }, + "node_modules/clawpdf": { + "version": "0.3.2", + "resolved": "https://registry.npmjs.org/clawpdf/-/clawpdf-0.3.2.tgz", + "integrity": "sha512-1JudW0rZ5B7O2E9+cgnU5F4As7K6HZ3/s/3CHUXm5uG0+965uPOk11gvhmprpwXGJaRXhrmywZ1WWc5a+GZ7TQ==", + "license": "MIT", + "bin": { + "clawpdf": "dist/cli.js" + }, + "engines": { + "node": ">=22" + } + }, + "node_modules/content-disposition": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/content-disposition/-/content-disposition-1.1.0.tgz", + "integrity": "sha512-5jRCH9Z/+DRP7rkvY83B+yGIGX96OYdJmzngqnw2SBSxqCFPd0w2km3s5iawpGX8krnwSGmF0FW5Nhr0Hfai3g==", + "license": "MIT", + "engines": { + "node": ">=18" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/express" + } + }, + "node_modules/content-type": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/content-type/-/content-type-1.0.5.tgz", + "integrity": "sha512-nTjqfcBFEipKdXCv4YDQWCfmcLZKm81ldF0pAopTvyrFGVbcR6P/VAAd5G7N+0tTr8QqiU0tFadD6FK4NtJwOA==", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/cookie": { + "version": "0.7.2", + "resolved": "https://registry.npmjs.org/cookie/-/cookie-0.7.2.tgz", + "integrity": "sha512-yki5XnKuf750l50uGTllt6kKILY4nQ1eNIQatoXEByZ5dWgnKqbnqmTrBE5B4N7lrMJKQ2ytWMiTO2o0v6Ew/w==", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/cookie-signature": { + "version": "1.2.2", + "resolved": "https://registry.npmjs.org/cookie-signature/-/cookie-signature-1.2.2.tgz", + "integrity": "sha512-D76uU73ulSXrD1UXF4KE2TMxVVwhsnCgfAyTg9k8P6KGZjlXKrOLe4dJQKI3Bxi5wjesZoFXJWElNWBjPZMbhg==", + "license": "MIT", + "engines": { + "node": ">=6.6.0" + } + }, + "node_modules/core-util-is": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.3.tgz", + "integrity": "sha512-ZQBvi1DcpJ4GDqanjucZ2Hj3wEO5pZDS89BWbkcrvdxksJorwUDDZamX9ldFkp9aw2lmBDLgkObEA4DWNJ9FYQ==", + "license": "MIT" + }, + "node_modules/cors": { + "version": "2.8.6", + "resolved": "https://registry.npmjs.org/cors/-/cors-2.8.6.tgz", + "integrity": "sha512-tJtZBBHA6vjIAaF6EnIaq6laBBP9aq/Y3ouVJjEfoHbRBcHBAHYcMh/w8LDrk2PvIMMq8gmopa5D4V8RmbrxGw==", + "license": "MIT", + "dependencies": { + "object-assign": "^4", + "vary": "^1" + }, + "engines": { + "node": ">= 0.10" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/express" + } + }, + "node_modules/cross-spawn": { + "version": "7.0.6", + "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.6.tgz", + "integrity": "sha512-uV2QOWP2nWzsy2aMp8aRibhi9dlzF5Hgh5SHaB9OiTGEyDTiJJyx0uy51QXdyWbtAHNua4XJzUKca3OzKUd3vA==", + "license": "MIT", + "dependencies": { + "path-key": "^3.1.0", + "shebang-command": "^2.0.0", + "which": "^2.0.1" + }, + "engines": { + "node": ">= 8" + } + }, + "node_modules/css-select": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/css-select/-/css-select-7.0.0.tgz", + "integrity": "sha512-snmjEVXy+1LnwXdxhYvTMj1d9tOh4HxkA1YmoayVBeeyR2C14Pum7fcxJIm4SswYspVy866eYNwlH6xC3/VH5g==", + "license": "BSD-2-Clause", + "dependencies": { + "boolbase": "^2.0.0", + "css-what": "^8.0.0", + "domhandler": "^6.0.1", + "domutils": "^4.0.2", + "nth-check": "^3.0.1" + }, + "engines": { + "node": ">=20.19.0" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/fb55" + } + }, + "node_modules/css-what": { + "version": "8.0.0", + "resolved": "https://registry.npmjs.org/css-what/-/css-what-8.0.0.tgz", + "integrity": "sha512-DH0Bqq3DNp5tdOReuNyAA+Ev4Y2GS5FMbZpeTLP6C4CDi0h5nL0BmUPChXw3o/qbHLDWHl49sbNqQVY7bMSDdw==", + "license": "BSD-2-Clause", + "engines": { + "node": ">=20.19.0" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/fb55" + } + }, + "node_modules/cssom": { + "version": "0.5.0", + "resolved": "https://registry.npmjs.org/cssom/-/cssom-0.5.0.tgz", + "integrity": "sha512-iKuQcq+NdHqlAcwUY0o/HL69XQrUaQdMjmStJ8JFmUaiiQErlhrmuigkg/CU4E2J0IyUKUrMAgl36TvN67MqTw==", + "license": "MIT" + }, + "node_modules/data-uri-to-buffer": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/data-uri-to-buffer/-/data-uri-to-buffer-4.0.1.tgz", + "integrity": "sha512-0R9ikRb668HB7QDxT1vkpuUBtqc53YyAwMwGeUFKRojY/NWKvdZ+9UYtRfGmhqNbRkTSVpMbmyhXipFFv2cb/A==", + "license": "MIT", + "engines": { + "node": ">= 12" + } + }, + "node_modules/debug": { + "version": "4.4.3", + "resolved": "https://registry.npmjs.org/debug/-/debug-4.4.3.tgz", + "integrity": "sha512-RGwwWnwQvkVfavKVt22FGLw+xYSdzARwm0ru6DhTVA3umU5hZc28V3kO4stgYryrTlLpuvgI9GiijltAjNbcqA==", + "license": "MIT", + "dependencies": { + "ms": "^2.1.3" + }, + "engines": { + "node": ">=6.0" + }, + "peerDependenciesMeta": { + "supports-color": { + "optional": true + } + } + }, + "node_modules/depd": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/depd/-/depd-2.0.0.tgz", + "integrity": "sha512-g7nH6P6dyDioJogAAGprGpCtVImJhpPk/roCzdb3fIh61/s/nPsfR6onyMwkCAR/OlC3yBC0lESvUoQEAssIrw==", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/dom-serializer": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/dom-serializer/-/dom-serializer-3.1.1.tgz", + "integrity": "sha512-4MEa38/QexBob6gFNwu+EGdWvhJ1OKuNwdYY3Y3NyeWDQfnGeDYQUDfIRzWu5B5gsv03so2Uxd28YC6zrsx3Lw==", + "license": "MIT", + "dependencies": { + "domelementtype": "^3.0.0", + "domhandler": "^6.0.0", + "entities": "^8.0.0" + }, + "engines": { + "node": ">=20.19.0" + }, + "funding": { + "type": "github", + "url": "https://github.com/cheeriojs/dom-serializer?sponsor=1" + } + }, + "node_modules/domelementtype": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/domelementtype/-/domelementtype-3.0.0.tgz", + "integrity": "sha512-umCQid3jKbDmVjx8jGaW7uUykm4DEUeyV21hPxNMo2nV955DhUThwqyOIDtreepP31hl84X7G5U9ZfsWvIB3Pg==", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/fb55" + } + ], + "license": "BSD-2-Clause", + "engines": { + "node": ">=20.19.0" + } + }, + "node_modules/domhandler": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/domhandler/-/domhandler-6.0.1.tgz", + "integrity": "sha512-gYzvtM72ZtxQO0T048kd6HWSbbGCNOUwcnfQ01cqIJ4X2IYKFFHZ5mKvrQETcFXxsRObZulDaKmy//R7TPtsBg==", + "license": "BSD-2-Clause", + "dependencies": { + "domelementtype": "^3.0.0" + }, + "engines": { + "node": ">=20.19.0" + }, + "funding": { + "type": "github", + "url": "https://github.com/fb55/domhandler?sponsor=1" + } + }, + "node_modules/domutils": { + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/domutils/-/domutils-4.0.2.tgz", + "integrity": "sha512-qI4JLRKnSzqFqr7hAlS5xQDusBCjKSEG4t4+7aNrIQMHBcsC2TGEhuyABJdYkgSewL57PNLYEiibY2iPKhKpaA==", + "license": "BSD-2-Clause", + "dependencies": { + "dom-serializer": "^3.0.0", + "domelementtype": "^3.0.0", + "domhandler": "^6.0.0" + }, + "engines": { + "node": ">=20.19.0" + }, + "funding": { + "type": "github", + "url": "https://github.com/fb55/domutils?sponsor=1" + } + }, + "node_modules/dunder-proto": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/dunder-proto/-/dunder-proto-1.0.1.tgz", + "integrity": "sha512-KIN/nDJBQRcXw0MLVhZE9iQHmG68qAVIBg9CqmUYjmQIhgij9U5MFvrqkUL5FbtyyzZuOeOt0zdeRe4UY7ct+A==", + "license": "MIT", + "dependencies": { + "call-bind-apply-helpers": "^1.0.1", + "es-errors": "^1.3.0", + "gopd": "^1.2.0" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/ecdsa-sig-formatter": { + "version": "1.0.11", + "resolved": "https://registry.npmjs.org/ecdsa-sig-formatter/-/ecdsa-sig-formatter-1.0.11.tgz", + "integrity": "sha512-nagl3RYrbNv6kQkeJIpt6NJZy8twLB/2vtz6yN9Z4vRKHN4/QZJIEbqohALSgwKdnksuY3k5Addp5lg8sVoVcQ==", + "license": "Apache-2.0", + "dependencies": { + "safe-buffer": "^5.0.1" + } + }, + "node_modules/ee-first": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/ee-first/-/ee-first-1.1.1.tgz", + "integrity": "sha512-WMwm9LhRUo+WUaRN+vRuETqG89IgZphVSNkdFgeb6sS/E4OrDIN7t48CAewSHXc6C8lefD8KKfr5vY61brQlow==", + "license": "MIT" + }, + "node_modules/encodeurl": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/encodeurl/-/encodeurl-2.0.0.tgz", + "integrity": "sha512-Q0n9HRi4m6JuGIV1eFlmvJB7ZEVxu93IrMyiMsGC0lrMJMWzRgx6WGquyfQgZVb31vhGgXnfmPNNXmxnOkRBrg==", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/entities": { + "version": "8.1.0", + "resolved": "https://registry.npmjs.org/entities/-/entities-8.1.0.tgz", + "integrity": "sha512-kxL7msIffSuh9aaFAMD7rxAIuTRMAHMeBtgHW2yUdWw732ZNh4MehkF2gdjvtdmikkaIP9bFDDJOPlsvm7avrA==", + "license": "BSD-2-Clause", + "engines": { + "node": ">=20.19.0" + }, + "funding": { + "url": "https://github.com/fb55/entities?sponsor=1" + } + }, + "node_modules/es-define-property": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/es-define-property/-/es-define-property-1.0.1.tgz", + "integrity": "sha512-e3nRfgfUZ4rNGL232gUgX06QNyyez04KdjFrF+LTRoOXmrOgFKDg4BCdsjW8EnT69eqdYGmRpJwiPVYNrCaW3g==", + "license": "MIT", + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/es-errors": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/es-errors/-/es-errors-1.3.0.tgz", + "integrity": "sha512-Zf5H2Kxt2xjTvbJvP2ZWLEICxA6j+hAmMzIlypy4xcBg1vKVnx89Wy0GbS+kf5cwCVFFzdCFh2XSCFNULS6csw==", + "license": "MIT", + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/es-object-atoms": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/es-object-atoms/-/es-object-atoms-1.1.2.tgz", + "integrity": "sha512-HWcBoN6NileqtSydK2FqHbS/LoDd2pqrnQHLyJzBj4kOp/ky2MWMN694xOfkK8/SnUsW2DH7EfyVlydKCsm1Zw==", + "license": "MIT", + "dependencies": { + "es-errors": "^1.3.0" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/escape-html": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/escape-html/-/escape-html-1.0.3.tgz", + "integrity": "sha512-NiSupZ4OeuGwr68lGIeym/ksIZMJodUGOSCZ/FSnTxcrekbvqrgdUxlJOMpijaKZVjAJrWrGs/6Jy8OMuyj9ow==", + "license": "MIT" + }, + "node_modules/etag": { + "version": "1.8.1", + "resolved": "https://registry.npmjs.org/etag/-/etag-1.8.1.tgz", + "integrity": "sha512-aIL5Fx7mawVa300al2BnEE4iNvo1qETxLrPI/o05L7z6go7fCw1J6EQmbK4FmJ2AS7kgVF/KEZWufBfdClMcPg==", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/event-target-shim": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/event-target-shim/-/event-target-shim-5.0.1.tgz", + "integrity": "sha512-i/2XbnSz/uxRCU6+NdVJgKWDTM427+MqYbkQzD321DuCQJUqOuJKIA0IM2+W2xtYHdKOmZ4dR6fExsd4SXL+WQ==", + "license": "MIT", + "engines": { + "node": ">=6" + } + }, + "node_modules/eventsource": { + "version": "3.0.7", + "resolved": "https://registry.npmjs.org/eventsource/-/eventsource-3.0.7.tgz", + "integrity": "sha512-CRT1WTyuQoD771GW56XEZFQ/ZoSfWid1alKGDYMmkt2yl8UXrVR4pspqWNEcqKvVIzg6PAltWjxcSSPrboA4iA==", + "license": "MIT", + "dependencies": { + "eventsource-parser": "^3.0.1" + }, + "engines": { + "node": ">=18.0.0" + } + }, + "node_modules/eventsource-parser": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/eventsource-parser/-/eventsource-parser-3.1.1.tgz", + "integrity": "sha512-EKN1vKAMcZ8MlYMpaNuxN6R9yakzH6uajHcHVTqWJzvu5pWw9DyhbP35HH8MVBQ+dZjAfDxk+A8NiR9KWaXiyQ==", + "license": "MIT", + "engines": { + "node": ">=18.0.0" + } + }, + "node_modules/execa": { + "version": "10.0.1", + "resolved": "https://registry.npmjs.org/execa/-/execa-10.0.1.tgz", + "integrity": "sha512-ge98qjkRK4IB7tL7Ju/6qmm5LHoH1eEMt5FNZrz3f4UIYhF28lggX20z3FaX1sgc67msLEn0N0BscOs29iuwyw==", + "license": "MIT", + "dependencies": { + "@sindresorhus/merge-streams": "^4.0.0", + "figures": "^6.1.0", + "get-stream": "^9.0.1", + "human-signals": "^8.0.1", + "is-plain-obj": "^4.1.0", + "is-stream": "^4.0.1", + "npm-run-path": "^6.0.0", + "pretty-ms": "^9.3.0", + "signal-exit": "^4.1.0", + "strip-final-newline": "^4.0.0", + "which-command": "^0.1.0", + "yoctocolors": "^2.1.2" + }, + "engines": { + "node": ">=22" + }, + "funding": { + "url": "https://github.com/sindresorhus/execa?sponsor=1" + } + }, + "node_modules/express": { + "version": "5.2.1", + "resolved": "https://registry.npmjs.org/express/-/express-5.2.1.tgz", + "integrity": "sha512-hIS4idWWai69NezIdRt2xFVofaF4j+6INOpJlVOLDO8zXGpUVEVzIYk12UUi2JzjEzWL3IOAxcTubgz9Po0yXw==", + "license": "MIT", + "dependencies": { + "accepts": "^2.0.0", + "body-parser": "^2.2.1", + "content-disposition": "^1.0.0", + "content-type": "^1.0.5", + "cookie": "^0.7.1", + "cookie-signature": "^1.2.1", + "debug": "^4.4.0", + "depd": "^2.0.0", + "encodeurl": "^2.0.0", + "escape-html": "^1.0.3", + "etag": "^1.8.1", + "finalhandler": "^2.1.0", + "fresh": "^2.0.0", + "http-errors": "^2.0.0", + "merge-descriptors": "^2.0.0", + "mime-types": "^3.0.0", + "on-finished": "^2.4.1", + "once": "^1.4.0", + "parseurl": "^1.3.3", + "proxy-addr": "^2.0.7", + "qs": "^6.14.0", + "range-parser": "^1.2.1", + "router": "^2.2.0", + "send": "^1.1.0", + "serve-static": "^2.2.0", + "statuses": "^2.0.1", + "type-is": "^2.0.1", + "vary": "^1.1.2" + }, + "engines": { + "node": ">= 18" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/express" + } + }, + "node_modules/express-rate-limit": { + "version": "8.7.0", + "resolved": "https://registry.npmjs.org/express-rate-limit/-/express-rate-limit-8.7.0.tgz", + "integrity": "sha512-hOwV7WOxXfjRpAM1DSJWZDXx3GhplwD8IfwuwvogD8i1Qnkgosw/H45s4ZnFAUHDAhPjlY9hLBvJhKmGMyY26g==", + "license": "MIT", + "dependencies": { + "debug": "^4.4.3", + "ip-address": "^10.2.0" + }, + "engines": { + "node": ">= 16" + }, + "funding": { + "url": "https://github.com/sponsors/express-rate-limit" + }, + "peerDependencies": { + "express": ">= 4.11" + } + }, + "node_modules/extend": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/extend/-/extend-3.0.2.tgz", + "integrity": "sha512-fjquC59cD7CyW6urNXK0FBufkZcoiGG80wTuPujX590cB5Ttln20E2UB4S/WARVqhXffZl2LNgS+gQdPIIim/g==", + "license": "MIT" + }, + "node_modules/fast-deep-equal": { + "version": "3.1.3", + "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz", + "integrity": "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==", + "license": "MIT" + }, + "node_modules/fast-sha256": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/fast-sha256/-/fast-sha256-1.3.0.tgz", + "integrity": "sha512-n11RGP/lrWEFI/bWdygLxhI+pVeo1ZYIVwvvPkW7azl/rOy+F3HYRZ2K5zeE9mmkhQppyv9sQFx0JM9UabnpPQ==", + "license": "Unlicense" + }, + "node_modules/fast-string-truncated-width": { + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/fast-string-truncated-width/-/fast-string-truncated-width-3.0.3.tgz", + "integrity": "sha512-0jjjIEL6+0jag3l2XWWizO64/aZVtpiGE3t0Zgqxv0DPuxiMjvB3M24fCyhZUO4KomJQPj3LTSUnDP3GpdwC0g==", + "license": "MIT" + }, + "node_modules/fast-string-width": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/fast-string-width/-/fast-string-width-3.0.2.tgz", + "integrity": "sha512-gX8LrtNEI5hq8DVUfRQMbr5lpaS4nMIWV+7XEbXk2b8kiQIizgnlr12B4dA3ZEx3308ze0O4Q1R+cHts8kyUJg==", + "license": "MIT", + "dependencies": { + "fast-string-truncated-width": "^3.0.2" + } + }, + "node_modules/fast-uri": { + "version": "3.1.8", + "resolved": "https://registry.npmjs.org/fast-uri/-/fast-uri-3.1.8.tgz", + "integrity": "sha512-GZMtZUTNRpOVIECoXwLNZS5xUGE+mVNbTB8h/7Rwh2TFWcBQiPzTgyZi05BF9UMZKkLJv8XBRJTlU7zg8+ZfMg==", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/fastify" + }, + { + "type": "opencollective", + "url": "https://opencollective.com/fastify" + } + ], + "license": "BSD-3-Clause" + }, + "node_modules/fast-wrap-ansi": { + "version": "0.2.2", + "resolved": "https://registry.npmjs.org/fast-wrap-ansi/-/fast-wrap-ansi-0.2.2.tgz", + "integrity": "sha512-7F2Fl+TjRSenLqlU3UjSH0iyqopqoZIu7eZVpEirP2g1GtWa2G/ecEmBdgz31+Mxr+ELclgg6sokpSFIQiZ02Q==", + "license": "MIT", + "dependencies": { + "fast-string-width": "^3.0.2" + } + }, + "node_modules/fetch-blob": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/fetch-blob/-/fetch-blob-3.2.0.tgz", + "integrity": "sha512-7yAQpD2UMJzLi1Dqv7qFYnPbaPx7ZfFK6PiIxQ4PfkGPyNyl2Ugx+a/umUonmKqjhM4DnfbMvdX6otXq83soQQ==", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/jimmywarting" + }, + { + "type": "paypal", + "url": "https://paypal.me/jimmywarting" + } + ], + "license": "MIT", + "dependencies": { + "node-domexception": "^1.0.0", + "web-streams-polyfill": "^3.0.3" + }, + "engines": { + "node": "^12.20 || >= 14.13" + } + }, + "node_modules/figures": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/figures/-/figures-6.1.0.tgz", + "integrity": "sha512-d+l3qxjSesT4V7v2fh+QnmFnUWv9lSpjarhShNTgBOfA0ttejbQUAlHLitbjkoRiDulW0OPoQPYIGhIC8ohejg==", + "license": "MIT", + "dependencies": { + "is-unicode-supported": "^2.0.0" + }, + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/file-type": { + "version": "22.0.2", + "resolved": "https://registry.npmjs.org/file-type/-/file-type-22.0.2.tgz", + "integrity": "sha512-0H8TsCUGBLx+V5adH3EY52hTAcyLKbV1D4gq5cIOJ6DnQAHeV9Z2Hhuc5CoBX4YmvB2oL+JIC84z0qO7JsCoNw==", + "license": "MIT", + "dependencies": { + "@tokenizer/inflate": "^0.4.1", + "strtok3": "^10.3.5", + "token-types": "^6.1.2", + "uint8array-extras": "^1.5.0" + }, + "engines": { + "node": ">=22" + }, + "funding": { + "url": "https://github.com/sindresorhus/file-type?sponsor=1" + } + }, + "node_modules/finalhandler": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/finalhandler/-/finalhandler-2.1.1.tgz", + "integrity": "sha512-S8KoZgRZN+a5rNwqTxlZZePjT/4cnm0ROV70LedRHZ0p8u9fRID0hJUZQpkKLzro8LfmC8sx23bY6tVNxv8pQA==", + "license": "MIT", + "dependencies": { + "debug": "^4.4.0", + "encodeurl": "^2.0.0", + "escape-html": "^1.0.3", + "on-finished": "^2.4.1", + "parseurl": "^1.3.3", + "statuses": "^2.0.1" + }, + "engines": { + "node": ">= 18.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/express" + } + }, + "node_modules/formdata-polyfill": { + "version": "4.0.10", + "resolved": "https://registry.npmjs.org/formdata-polyfill/-/formdata-polyfill-4.0.10.tgz", + "integrity": "sha512-buewHzMvYL29jdeQTVILecSaZKnt/RJWjoZCF5OW60Z67/GmSLBkOFM7qh1PI3zFNtJbaZL5eQu1vLfazOwj4g==", + "license": "MIT", + "dependencies": { + "fetch-blob": "^3.1.2" + }, + "engines": { + "node": ">=12.20.0" + } + }, + "node_modules/forwarded": { + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/forwarded/-/forwarded-0.2.0.tgz", + "integrity": "sha512-buRG0fpBtRHSTCOASe6hD258tEubFoRLb4ZNA6NxMVHNw2gOcwHo9wyablzMzOA5z9xA9L1KNjk/Nt6MT9aYow==", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/fresh": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/fresh/-/fresh-2.0.0.tgz", + "integrity": "sha512-Rx/WycZ60HOaqLKAi6cHRKKI7zxWbJ31MhntmtwMoaTeF7XFH9hhBp8vITaMidfljRQ6eYWCKkaTK+ykVJHP2A==", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/function-bind": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.2.tgz", + "integrity": "sha512-7XHNxH7qX9xG5mIwxkhumTox/MIRNcOgDrxWsMt2pAr23WHp6MrRlN7FBSFpCpr+oVO0F744iUgR82nJMfG2SA==", + "license": "MIT", + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/gaxios": { + "version": "7.3.1", + "resolved": "https://registry.npmjs.org/gaxios/-/gaxios-7.3.1.tgz", + "integrity": "sha512-kB3rzJV7d9juLZh8/56QTXCwQfxyhdOMdyYk1HdQKFtF8TJTDTZQJtixWIwXdE9Jji91mC41DUNpjleo4L4eAQ==", + "license": "Apache-2.0", + "dependencies": { + "extend": "^3.0.2", + "https-proxy-agent": "^7.0.1", + "node-fetch": "^3.3.2" + }, + "engines": { + "node": ">=18" + } + }, + "node_modules/gcp-metadata": { + "version": "8.1.2", + "resolved": "https://registry.npmjs.org/gcp-metadata/-/gcp-metadata-8.1.2.tgz", + "integrity": "sha512-zV/5HKTfCeKWnxG0Dmrw51hEWFGfcF2xiXqcA3+J90WDuP0SvoiSO5ORvcBsifmx/FoIjgQN3oNOGaQ5PhLFkg==", + "license": "Apache-2.0", + "dependencies": { + "gaxios": "^7.0.0", + "google-logging-utils": "^1.0.0", + "json-bigint": "^1.0.0" + }, + "engines": { + "node": ">=18" + } + }, + "node_modules/get-east-asian-width": { + "version": "1.6.0", + "resolved": "https://registry.npmjs.org/get-east-asian-width/-/get-east-asian-width-1.6.0.tgz", + "integrity": "sha512-QRbvDIbx6YklUe6RxeTeleMR0yv3cYH6PsPZHcnVn7xv7zO1BHN8r0XETu8n6Ye3Q+ahtSarc3WgtNWmehIBfA==", + "license": "MIT", + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/get-intrinsic": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.3.0.tgz", + "integrity": "sha512-9fSjSaos/fRIVIp+xSJlE6lfwhES7LNtKaCBIamHsjr2na1BiABJPo0mOjjz8GJDURarmCPGqaiVg5mfjb98CQ==", + "license": "MIT", + "dependencies": { + "call-bind-apply-helpers": "^1.0.2", + "es-define-property": "^1.0.1", + "es-errors": "^1.3.0", + "es-object-atoms": "^1.1.1", + "function-bind": "^1.1.2", + "get-proto": "^1.0.1", + "gopd": "^1.2.0", + "has-symbols": "^1.1.0", + "hasown": "^2.0.2", + "math-intrinsics": "^1.1.0" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/get-proto": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/get-proto/-/get-proto-1.0.1.tgz", + "integrity": "sha512-sTSfBjoXBp89JvIKIefqw7U2CCebsc74kiY6awiGogKtoSGbgjYE/G/+l9sF3MWFPNc9IcoOC4ODfKHfxFmp0g==", + "license": "MIT", + "dependencies": { + "dunder-proto": "^1.0.1", + "es-object-atoms": "^1.0.0" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/get-stream": { + "version": "9.0.1", + "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-9.0.1.tgz", + "integrity": "sha512-kVCxPF3vQM/N0B1PmoqVUqgHP+EeVjmZSQn+1oCRPxd2P21P2F19lIgbR3HBosbB1PUhOAoctJnfEn2GbN2eZA==", + "license": "MIT", + "dependencies": { + "@sec-ant/readable-stream": "^0.4.1", + "is-stream": "^4.0.1" + }, + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/google-auth-library": { + "version": "10.9.1", + "resolved": "https://registry.npmjs.org/google-auth-library/-/google-auth-library-10.9.1.tgz", + "integrity": "sha512-i1ydyHrqcIxXkWh/uBmVkzCvIuq5yiK2ATndIe5XxKholrG/MTYP9xGYka4sQhrbIAgGjL2B6NOE7rFaiF3fXw==", + "license": "Apache-2.0", + "dependencies": { + "base64-js": "^1.3.0", + "ecdsa-sig-formatter": "^1.0.11", + "gaxios": "^7.1.4", + "gcp-metadata": "8.1.2", + "google-logging-utils": "1.1.3", + "jws": "^4.0.0" + }, + "engines": { + "node": ">=18" + } + }, + "node_modules/google-logging-utils": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/google-logging-utils/-/google-logging-utils-1.1.3.tgz", + "integrity": "sha512-eAmLkjDjAFCVXg7A1unxHsLf961m6y17QFqXqAXGj/gVkKFrEICfStRfwUlGNfeCEjNRa32JEWOUTlYXPyyKvA==", + "license": "Apache-2.0", + "engines": { + "node": ">=14" + } + }, + "node_modules/gopd": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/gopd/-/gopd-1.2.0.tgz", + "integrity": "sha512-ZUKRh6/kUFoAiTAtTYPZJ3hw9wNxx+BIBOijnlG9PnrJsCcSjs1wyyD6vJpaYtgnzDrKYRSqf3OO6Rfa93xsRg==", + "license": "MIT", + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/grammy": { + "version": "1.46.0", + "resolved": "https://registry.npmjs.org/grammy/-/grammy-1.46.0.tgz", + "integrity": "sha512-/8Qw+iisrUdOMk+p2mjEHouMm/BBdBEN1DHh16wiTpRUZkxDG3PxexdjCvR+wvK3LWPdrEvnQbdrwpU954sPhg==", + "license": "MIT", + "dependencies": { + "@grammyjs/types": "5.0.0", + "abort-controller": "^3.0.0", + "debug": "^4.4.3", + "node-fetch": "^2.7.0" + }, + "engines": { + "node": "^12.20.0 || >=14.13.1" + } + }, + "node_modules/grammy/node_modules/node-fetch": { + "version": "2.7.0", + "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.7.0.tgz", + "integrity": "sha512-c4FRfUm/dbcWZ7U+1Wq0AwCyFL+3nt2bEw05wfxSz+DWpWsitgmSgYmy2dQdWyKC1694ELPqMs/YzUSNozLt8A==", + "license": "MIT", + "dependencies": { + "whatwg-url": "^5.0.0" + }, + "engines": { + "node": "4.x || >=6.0.0" + }, + "peerDependencies": { + "encoding": "^0.1.0" + }, + "peerDependenciesMeta": { + "encoding": { + "optional": true + } + } + }, + "node_modules/has-symbols": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.1.0.tgz", + "integrity": "sha512-1cDNdwJ2Jaohmb3sg4OmKaMBwuC48sYni5HUw2DvsC8LjGTLK9h+eb1X6RyuOHe4hT0ULCW68iomhjUoKUqlPQ==", + "license": "MIT", + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/hasown": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/hasown/-/hasown-2.0.4.tgz", + "integrity": "sha512-T2UbfbBEF32wiepXIsMlTW9+dDYC6wMh/t/vYA4tuOMKqWz/n3vr1NFSxQiyP+zk2mXsoMA/i/7qV6LKut1t1A==", + "license": "MIT", + "dependencies": { + "function-bind": "^1.1.2" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/highlight.js": { + "version": "11.12.0", + "resolved": "https://registry.npmjs.org/highlight.js/-/highlight.js-11.12.0.tgz", + "integrity": "sha512-nbfWpyRMcMrPMmDwJB+dhX/eiaPKtc2RB+0QZskqJ3WjRA/FDS0e9hZrx8EC/lbEv8gXy98FcDbNa/dspAaJMg==", + "license": "BSD-3-Clause", + "engines": { + "node": ">=12.0.0" + } + }, + "node_modules/hono": { + "version": "4.13.11", + "resolved": "https://registry.npmjs.org/hono/-/hono-4.13.11.tgz", + "integrity": "sha512-/SMX/RQNJn7oNmFwH6DtwDqcrzZU2otm1FD6OJe2cWF6cfy/F8hq0XVBv7xW3FTJshRQwuBnXHDq2kNsdZnshg==", + "license": "MIT", + "engines": { + "node": ">=16.9.0" + } + }, + "node_modules/html-escaper": { + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/html-escaper/-/html-escaper-3.0.3.tgz", + "integrity": "sha512-RuMffC89BOWQoY0WKGpIhn5gX3iI54O6nRA0yC124NYVtzjmFWBIiFd8M0x+ZdX0P9R4lADg1mgP8C7PxGOWuQ==", + "license": "MIT" + }, + "node_modules/htmlparser2": { + "version": "10.1.0", + "resolved": "https://registry.npmjs.org/htmlparser2/-/htmlparser2-10.1.0.tgz", + "integrity": "sha512-VTZkM9GWRAtEpveh7MSF6SjjrpNVNNVJfFup7xTY3UpFtm67foy9HDVXneLtFVt4pMz5kZtgNcvCniNFb1hlEQ==", + "funding": [ + "https://github.com/fb55/htmlparser2?sponsor=1", + { + "type": "github", + "url": "https://github.com/sponsors/fb55" + } + ], + "license": "MIT", + "dependencies": { + "domelementtype": "^2.3.0", + "domhandler": "^5.0.3", + "domutils": "^3.2.2", + "entities": "^7.0.1" + } + }, + "node_modules/htmlparser2/node_modules/dom-serializer": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/dom-serializer/-/dom-serializer-2.0.0.tgz", + "integrity": "sha512-wIkAryiqt/nV5EQKqQpo3SToSOV9J0DnbJqwK7Wv/Trc92zIAYZ4FlMu+JPFW1DfGFt81ZTCGgDEabffXeLyJg==", + "license": "MIT", + "dependencies": { + "domelementtype": "^2.3.0", + "domhandler": "^5.0.2", + "entities": "^4.2.0" + }, + "funding": { + "url": "https://github.com/cheeriojs/dom-serializer?sponsor=1" + } + }, + "node_modules/htmlparser2/node_modules/dom-serializer/node_modules/entities": { + "version": "4.5.0", + "resolved": "https://registry.npmjs.org/entities/-/entities-4.5.0.tgz", + "integrity": "sha512-V0hjH4dGPh9Ao5p0MoRY6BVqtwCjhz6vI5LT8AJ55H+4g9/4vbHx1I54fS0XuclLhDHArPQCiMjDxjaL8fPxhw==", + "license": "BSD-2-Clause", + "engines": { + "node": ">=0.12" + }, + "funding": { + "url": "https://github.com/fb55/entities?sponsor=1" + } + }, + "node_modules/htmlparser2/node_modules/domelementtype": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/domelementtype/-/domelementtype-2.3.0.tgz", + "integrity": "sha512-OLETBj6w0OsagBwdXnPdN0cnMfF9opN69co+7ZrbfPGrdpPVNBUj02spi6B1N7wChLQiPn4CSH/zJvXw56gmHw==", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/fb55" + } + ], + "license": "BSD-2-Clause" + }, + "node_modules/htmlparser2/node_modules/domhandler": { + "version": "5.0.3", + "resolved": "https://registry.npmjs.org/domhandler/-/domhandler-5.0.3.tgz", + "integrity": "sha512-cgwlv/1iFQiFnU96XXgROh8xTeetsnJiDsTc7TYCLFd9+/WNkIqPTxiM/8pSd8VIrhXGTf1Ny1q1hquVqDJB5w==", + "license": "BSD-2-Clause", + "dependencies": { + "domelementtype": "^2.3.0" + }, + "engines": { + "node": ">= 4" + }, + "funding": { + "url": "https://github.com/fb55/domhandler?sponsor=1" + } + }, + "node_modules/htmlparser2/node_modules/domutils": { + "version": "3.2.2", + "resolved": "https://registry.npmjs.org/domutils/-/domutils-3.2.2.tgz", + "integrity": "sha512-6kZKyUajlDuqlHKVX1w7gyslj9MPIXzIFiz/rGu35uC1wMi+kMhQwGhl4lt9unC9Vb9INnY9Z3/ZA3+FhASLaw==", + "license": "BSD-2-Clause", + "dependencies": { + "dom-serializer": "^2.0.0", + "domelementtype": "^2.3.0", + "domhandler": "^5.0.3" + }, + "funding": { + "url": "https://github.com/fb55/domutils?sponsor=1" + } + }, + "node_modules/htmlparser2/node_modules/entities": { + "version": "7.0.1", + "resolved": "https://registry.npmjs.org/entities/-/entities-7.0.1.tgz", + "integrity": "sha512-TWrgLOFUQTH994YUyl1yT4uyavY5nNB5muff+RtWaqNVCAK408b5ZnnbNAUEWLTCpum9w6arT70i1XdQ4UeOPA==", + "license": "BSD-2-Clause", + "engines": { + "node": ">=0.12" + }, + "funding": { + "url": "https://github.com/fb55/entities?sponsor=1" + } + }, + "node_modules/http-errors": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/http-errors/-/http-errors-2.0.1.tgz", + "integrity": "sha512-4FbRdAX+bSdmo4AUFuS0WNiPz8NgFt+r8ThgNWmlrjQjt1Q7ZR9+zTlce2859x4KSXrwIsaeTqDoKQmtP8pLmQ==", + "license": "MIT", + "dependencies": { + "depd": "~2.0.0", + "inherits": "~2.0.4", + "setprototypeof": "~1.2.0", + "statuses": "~2.0.2", + "toidentifier": "~1.0.1" + }, + "engines": { + "node": ">= 0.8" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/express" + } + }, + "node_modules/https-proxy-agent": { + "version": "7.0.6", + "resolved": "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-7.0.6.tgz", + "integrity": "sha512-vK9P5/iUfdl95AI+JVyUuIcVtd4ofvtrOr3HNtM2yxC9bnMbEdp3x01OhQNnjb8IJYi38VlTE3mBXwcfvywuSw==", + "license": "MIT", + "dependencies": { + "agent-base": "^7.1.2", + "debug": "4" + }, + "engines": { + "node": ">= 14" + } + }, + "node_modules/human-signals": { + "version": "8.0.1", + "resolved": "https://registry.npmjs.org/human-signals/-/human-signals-8.0.1.tgz", + "integrity": "sha512-eKCa6bwnJhvxj14kZk5NCPc6Hb6BdsU9DZcOnmQKSnO1VKrfV0zCvtttPZUsBvjmNDn8rpcJfpwSYnHBjc95MQ==", + "license": "Apache-2.0", + "engines": { + "node": ">=18.18.0" + } + }, + "node_modules/iconv-lite": { + "version": "0.7.3", + "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.7.3.tgz", + "integrity": "sha512-IKXpvIzjnC9XTAUbVBcMfGS0EPaIXtW6v+zr+RRp+hqULEpo0owZax6wyRwPOJbWbzjYspQwusTsfVr0ifh4uQ==", + "license": "MIT", + "dependencies": { + "safer-buffer": ">= 2.1.2 < 3.0.0" + }, + "engines": { + "node": ">=0.10.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/express" + } + }, + "node_modules/ieee754": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/ieee754/-/ieee754-1.2.1.tgz", + "integrity": "sha512-dcyqhDvX1C46lXZcVqCpK+FtMRQVdIMN6/Df5js2zouUsqG7I6sFxitIC+7KYK29KdXOLHdu9zL4sFnoVQnqaA==", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ], + "license": "BSD-3-Clause" + }, + "node_modules/ignore": { + "version": "7.0.9", + "resolved": "https://registry.npmjs.org/ignore/-/ignore-7.0.9.tgz", + "integrity": "sha512-brTTsvFRt5C1gGHtPst/281UjPD5t9fBqbgoMPlVWy11ZLTPfu7HxK4ZYqO9H7o/yC9rSTCI85EaQ4OoY12qYw==", + "license": "MIT", + "engines": { + "node": ">= 4" + } + }, + "node_modules/immediate": { + "version": "3.0.6", + "resolved": "https://registry.npmjs.org/immediate/-/immediate-3.0.6.tgz", + "integrity": "sha512-XXOFtyqDjNDAQxVfYxuF7g9Il/IbWmmlQg2MYKOH8ExIT1qg6xc4zyS3HaEEATgs1btfzxq15ciUiY7gjSXRGQ==", + "license": "MIT" + }, + "node_modules/import-meta-resolve": { + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/import-meta-resolve/-/import-meta-resolve-4.2.0.tgz", + "integrity": "sha512-Iqv2fzaTQN28s/FwZAoFq0ZSs/7hMAHJVX+w8PZl3cY19Pxk6jFFalxQoIfW2826i/fDLXv8IiEZRIT0lDuWcg==", + "license": "MIT", + "funding": { + "type": "github", + "url": "https://github.com/sponsors/wooorm" + } + }, + "node_modules/inherits": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz", + "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==", + "license": "ISC" + }, + "node_modules/ip-address": { + "version": "10.7.3", + "resolved": "https://registry.npmjs.org/ip-address/-/ip-address-10.7.3.tgz", + "integrity": "sha512-A1kdq/tSb5QjvKvAMgIoEvDBIgL7qaqVP/jkvSwYYRZ9iEzvPpopxp2wQfu3SuZRHtpHNxMn8Fs0bS+gf5Xmwg==", + "license": "MIT", + "engines": { + "node": ">= 12" + } + }, + "node_modules/ipaddr.js": { + "version": "1.9.1", + "resolved": "https://registry.npmjs.org/ipaddr.js/-/ipaddr.js-1.9.1.tgz", + "integrity": "sha512-0KI/607xoxSToH7GjN1FfSbLoU0+btTicjsQSWQlh/hZykN8KpmMf7uYwPW3R+akZ6R/w18ZlXSHBYXiYUPO3g==", + "license": "MIT", + "engines": { + "node": ">= 0.10" + } + }, + "node_modules/is-plain-obj": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/is-plain-obj/-/is-plain-obj-4.1.0.tgz", + "integrity": "sha512-+Pgi+vMuUNkJyExiMBt5IlFoMyKnr5zhJ4Uspz58WOhBF5QoIZkFyNHIbBAtHwzVAgk5RtndVNsDRN61/mmDqg==", + "license": "MIT", + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/is-promise": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/is-promise/-/is-promise-4.0.0.tgz", + "integrity": "sha512-hvpoI6korhJMnej285dSg6nu1+e6uxs7zG3BYAm5byqDsgJNWwxzM6z6iZiAgQR4TJ30JmBTOwqZUw3WlyH3AQ==", + "license": "MIT" + }, + "node_modules/is-stream": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-4.0.1.tgz", + "integrity": "sha512-Dnz92NInDqYckGEUJv689RbRiTSEHCQ7wOVeALbkOz999YpqT46yMRIGtSNl2iCL1waAZSx40+h59NV/EwzV/A==", + "license": "MIT", + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/is-unicode-supported": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/is-unicode-supported/-/is-unicode-supported-2.1.0.tgz", + "integrity": "sha512-mE00Gnza5EEB3Ds0HfMyllZzbBrmLOX3vfWoj9A9PEnTfratQ/BcaJOuMhnkhjXvb2+FkY3VuHqtAGpTPmglFQ==", + "license": "MIT", + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/isarray": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz", + "integrity": "sha512-VLghIWNM6ELQzo7zwmcg0NmTVyWKYjvIeM83yjp0wRDTmUnrM678fQbcKBo6n2CJEF0szoG//ytg+TKla89ALQ==", + "license": "MIT" + }, + "node_modules/isexe": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz", + "integrity": "sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw==", + "license": "ISC" + }, + "node_modules/jose": { + "version": "6.2.12", + "resolved": "https://registry.npmjs.org/jose/-/jose-6.2.12.tgz", + "integrity": "sha512-9NiFmJEex0sy2Dk58j2UGBSHgUs2ypF9eZSu4L6vjOX3Dp96Sw1F3uL+H+D1sx02jZZdzUT0HgvCy59CuvXcWw==", + "license": "MIT", + "funding": { + "url": "https://github.com/sponsors/panva" + } + }, + "node_modules/json-bigint": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/json-bigint/-/json-bigint-1.0.0.tgz", + "integrity": "sha512-SiPv/8VpZuWbvLSMtTDU8hEfrZWg/mH/nV/b4o0CYbSxu1UIQPLdwKOCIyLQX+VIPO5vrLX3i8qtqFyhdPSUSQ==", + "license": "MIT", + "dependencies": { + "bignumber.js": "^9.0.0" + } + }, + "node_modules/json-schema-to-ts": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/json-schema-to-ts/-/json-schema-to-ts-3.1.1.tgz", + "integrity": "sha512-+DWg8jCJG2TEnpy7kOm/7/AxaYoaRbjVB4LFZLySZlWn8exGs3A4OLJR966cVvU26N7X9TWxl+Jsw7dzAqKT6g==", + "license": "MIT", + "dependencies": { + "@babel/runtime": "^7.18.3", + "ts-algebra": "^2.0.0" + }, + "engines": { + "node": ">=16" + } + }, + "node_modules/json-schema-traverse": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-1.0.0.tgz", + "integrity": "sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug==", + "license": "MIT" + }, + "node_modules/json-schema-typed": { + "version": "8.0.2", + "resolved": "https://registry.npmjs.org/json-schema-typed/-/json-schema-typed-8.0.2.tgz", + "integrity": "sha512-fQhoXdcvc3V28x7C7BMs4P5+kNlgUURe2jmUT1T//oBRMDrqy1QPelJimwZGo7Hg9VPV3EQV5Bnq4hbFy2vetA==", + "license": "BSD-2-Clause" + }, + "node_modules/jszip": { + "version": "3.10.2", + "resolved": "https://registry.npmjs.org/jszip/-/jszip-3.10.2.tgz", + "integrity": "sha512-3l+rb15IOWtUhU0H5MFqES/T6Kh7abYwjosBey/vD6hDt8zoEffkSC5Ws5SGtgVw3gBx2NEbhTeSW1+kWkpyTQ==", + "license": "(MIT OR GPL-3.0-or-later)", + "dependencies": { + "lie": "~3.3.0", + "pako": "~1.0.2", + "readable-stream": "~2.3.6", + "setimmediate": "^1.0.5" + } + }, + "node_modules/jwa": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/jwa/-/jwa-2.0.1.tgz", + "integrity": "sha512-hRF04fqJIP8Abbkq5NKGN0Bbr3JxlQ+qhZufXVr0DvujKy93ZCbXZMHDL4EOtodSbCWxOqR8MS1tXA5hwqCXDg==", + "license": "MIT", + "dependencies": { + "buffer-equal-constant-time": "^1.0.1", + "ecdsa-sig-formatter": "1.0.11", + "safe-buffer": "^5.0.1" + } + }, + "node_modules/jws": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/jws/-/jws-4.0.1.tgz", + "integrity": "sha512-EKI/M/yqPncGUUh44xz0PxSidXFr/+r0pA70+gIYhjv+et7yxM+s29Y+VGDkovRofQem0fs7Uvf4+YmAdyRduA==", + "license": "MIT", + "dependencies": { + "jwa": "^2.0.1", + "safe-buffer": "^5.0.1" + } + }, + "node_modules/koffi": { + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/koffi/-/koffi-3.2.1.tgz", + "integrity": "sha512-0qE3lZ8jllRqPN4Ob6Ajl7c2bJSJDhQWuKLGP5hIEpHLllJWv1ydHFMhHmHc5p/W9GticKVDbYzZd7TBoQ4CZg==", + "hasInstallScript": true, + "license": "MIT", + "funding": { + "url": "https://liberapay.com/Koromix" + }, + "optionalDependencies": { + "@koromix/koffi-android-arm64": "3.2.1", + "@koromix/koffi-android-x64": "3.2.1", + "@koromix/koffi-darwin-arm64": "3.2.1", + "@koromix/koffi-darwin-x64": "3.2.1", + "@koromix/koffi-freebsd-arm64": "3.2.1", + "@koromix/koffi-freebsd-ia32": "3.2.1", + "@koromix/koffi-freebsd-x64": "3.2.1", + "@koromix/koffi-linux-arm": "3.2.1", + "@koromix/koffi-linux-arm64": "3.2.1", + "@koromix/koffi-linux-ia32": "3.2.1", + "@koromix/koffi-linux-loong64": "3.2.1", + "@koromix/koffi-linux-riscv64": "3.2.1", + "@koromix/koffi-linux-x64": "3.2.1", + "@koromix/koffi-openbsd-ia32": "3.2.1", + "@koromix/koffi-openbsd-x64": "3.2.1", + "@koromix/koffi-win32-arm64": "3.2.1", + "@koromix/koffi-win32-ia32": "3.2.1", + "@koromix/koffi-win32-x64": "3.2.1" + } + }, + "node_modules/kysely": { + "version": "0.29.5", + "resolved": "https://registry.npmjs.org/kysely/-/kysely-0.29.5.tgz", + "integrity": "sha512-ooa+eSbBNPTo3MycPEuW5jdrxQdQwdtB3LC3h43FiXQbIry5tR0C5lDG7eealK0E4D7XjrnOP5DIUg/LyjRMYQ==", + "license": "MIT", + "engines": { + "node": ">=22.0.0" + } + }, + "node_modules/lie": { + "version": "3.3.0", + "resolved": "https://registry.npmjs.org/lie/-/lie-3.3.0.tgz", + "integrity": "sha512-UaiMJzeWRlEujzAuw5LokY1L5ecNQYZKfmyZ9L7wDHb/p5etKaxXhohBcrw0EYby+G/NA52vRSN4N39dxHAIwQ==", + "license": "MIT", + "dependencies": { + "immediate": "~3.0.5" + } + }, + "node_modules/linkedom": { + "version": "0.18.13", + "resolved": "https://registry.npmjs.org/linkedom/-/linkedom-0.18.13.tgz", + "integrity": "sha512-ES/o9qotMpzpN2MHs+Iq/JcVoOj8Fa5wiQYrTdFpvAnwXL0g66XHHUc9WUMk6nAlBtGsFQ24ne+SYnvnaQ2FSw==", + "license": "ISC", + "dependencies": { + "css-select": "^7.0.0", + "cssom": "^0.5.0", + "html-escaper": "^3.0.3", + "htmlparser2": "^10.1.0", + "uhyphen": "^0.2.0" + }, + "engines": { + "node": ">=16" + }, + "peerDependencies": { + "canvas": ">= 2" + }, + "peerDependenciesMeta": { + "canvas": { + "optional": true + } + } + }, + "node_modules/long": { + "version": "5.3.2", + "resolved": "https://registry.npmjs.org/long/-/long-5.3.2.tgz", + "integrity": "sha512-mNAgZ1GmyNhD7AuqnTG3/VQ26o760+ZYBPKjPvugO8+nLbYfX6TVpJPseBvopbdY+qpZ/lKUnmEc1LeZYS3QAA==", + "license": "Apache-2.0" + }, + "node_modules/marked": { + "version": "18.0.5", + "resolved": "https://registry.npmjs.org/marked/-/marked-18.0.5.tgz", + "integrity": "sha512-S6GcvALHg6K4ohtu4E7x0a1AqhAjp6cV8KhLSyN9qVapnzJkusVBxZRcIU9AeYsbe6P1hKDusSbEOzGyyuce6w==", + "license": "MIT", + "bin": { + "marked": "bin/marked.js" + }, + "engines": { + "node": ">= 20" + } + }, + "node_modules/math-intrinsics": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/math-intrinsics/-/math-intrinsics-1.1.0.tgz", + "integrity": "sha512-/IXtbwEk5HTPyEwyKX6hGkYXxM9nbj64B+ilVJnC/R6B0pH5G4V3b0pVbL7DBj4tkhBAppbQUlf6F6Xl9LHu1g==", + "license": "MIT", + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/media-typer": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/media-typer/-/media-typer-1.1.1.tgz", + "integrity": "sha512-yz3xRaG20c6/BOzvYoDaGtPmGscs7YivItZEEqe6GbwNfHuxu9YNmvnEkMzKldAGY4/80pRcQRZSEnhquk9XuQ==", + "license": "MIT", + "engines": { + "node": ">= 0.8" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/express" + } + }, + "node_modules/merge-descriptors": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/merge-descriptors/-/merge-descriptors-2.0.0.tgz", + "integrity": "sha512-Snk314V5ayFLhp3fkUREub6WtjBfPdCPY1Ln8/8munuLuiYhsABgBVWsozAG+MWMbVEvcdcpbi9R7ww22l9Q3g==", + "license": "MIT", + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/mime-db": { + "version": "1.54.0", + "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.54.0.tgz", + "integrity": "sha512-aU5EJuIN2WDemCcAp2vFBfp/m4EAhWJnUNSSw0ixs7/kXbd6Pg64EmwJkNdFhB8aWt1sH2CTXrLxo/iAGV3oPQ==", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/mime-types": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-3.0.2.tgz", + "integrity": "sha512-Lbgzdk0h4juoQ9fCKXW4by0UJqj+nOOrI9MJ1sSj4nI8aI2eo1qmvQEie4VD1glsS250n15LsWsYtCugiStS5A==", + "license": "MIT", + "dependencies": { + "mime-db": "^1.54.0" + }, + "engines": { + "node": ">=18" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/express" + } + }, + "node_modules/minimatch": { + "version": "10.2.6", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-10.2.6.tgz", + "integrity": "sha512-vpLQEs+VLCr1nU0BXS07maYoFwlDAH0gngQuuttxIwutDFEMHq2blX+8vpgxDdK3J1PwjCJiep77OitTZ4Ll1A==", + "license": "BlueOak-1.0.0", + "dependencies": { + "brace-expansion": "^5.0.8" + }, + "engines": { + "node": "18 || 20 || >=22" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/minipass": { + "version": "7.1.3", + "resolved": "https://registry.npmjs.org/minipass/-/minipass-7.1.3.tgz", + "integrity": "sha512-tEBHqDnIoM/1rXME1zgka9g6Q2lcoCkxHLuc7ODJ5BxbP5d4c2Z5cGgtXAku59200Cx7diuHTOYfSBD8n6mm8A==", + "license": "BlueOak-1.0.0", + "engines": { + "node": ">=16 || 14 >=14.17" + } + }, + "node_modules/minizlib": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/minizlib/-/minizlib-3.1.0.tgz", + "integrity": "sha512-KZxYo1BUkWD2TVFLr0MQoM8vUUigWD3LlD83a/75BqC+4qE0Hb1Vo5v1FgcfaNXvfXzr+5EhQ6ing/CaBijTlw==", + "license": "MIT", + "dependencies": { + "minipass": "^7.1.2" + }, + "engines": { + "node": ">= 18" + } + }, + "node_modules/ms": { + "version": "2.1.3", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", + "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==", + "license": "MIT" + }, + "node_modules/negotiator": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/negotiator/-/negotiator-1.1.0.tgz", + "integrity": "sha512-NMPBRMJgiQHjbd8phG3Vebdx4kZ1H121rbl5IkMqeOsahptB9BKo/d7oJ3zTXqTgagn2bWlNSXkh0QUGM31RYg==", + "license": "MIT", + "dependencies": { + "content-type": "^2.1.0" + }, + "engines": { + "node": ">=18" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/express" + } + }, + "node_modules/negotiator/node_modules/content-type": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/content-type/-/content-type-2.1.0.tgz", + "integrity": "sha512-mj7UPXE0jaqaOsukNZRUEfEi2AcL7C/vwmwcHV0O97eO1E1pxBZuyjlZrx5seTaNBg1U6+o35wpa35Qfcc+7ag==", + "license": "MIT", + "engines": { + "node": ">=18" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/express" + } + }, + "node_modules/node-domexception": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/node-domexception/-/node-domexception-1.0.0.tgz", + "integrity": "sha512-/jKZoMpw0F8GRwl4/eLROPA3cfcXtLApP0QzLmUT/HuPCZWyB7IY9ZrMeKw2O/nFIqPQB3PVM9aYm0F312AXDQ==", + "deprecated": "Use your platform's native DOMException instead", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/jimmywarting" + }, + { + "type": "github", + "url": "https://paypal.me/jimmywarting" + } + ], + "license": "MIT", + "engines": { + "node": ">=10.5.0" + } + }, + "node_modules/node-fetch": { + "version": "3.3.2", + "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-3.3.2.tgz", + "integrity": "sha512-dRB78srN/l6gqWulah9SrxeYnxeddIG30+GOqK/9OlLVyLg3HPnr6SqOWTWOXKRwC2eGYCkZ59NNuSgvSrpgOA==", + "license": "MIT", + "dependencies": { + "data-uri-to-buffer": "^4.0.0", + "fetch-blob": "^3.1.4", + "formdata-polyfill": "^4.0.10" + }, + "engines": { + "node": "^12.20.0 || ^14.13.1 || >=16.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/node-fetch" + } + }, + "node_modules/npm-run-path": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/npm-run-path/-/npm-run-path-6.0.0.tgz", + "integrity": "sha512-9qny7Z9DsQU8Ou39ERsPU4OZQlSTP47ShQzuKZ6PRXpYLtIFgl/DEBYEXKlvcEa+9tHVcK8CF81Y2V72qaZhWA==", + "license": "MIT", + "dependencies": { + "path-key": "^4.0.0", + "unicorn-magic": "^0.3.0" + }, + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/npm-run-path/node_modules/path-key": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/path-key/-/path-key-4.0.0.tgz", + "integrity": "sha512-haREypq7xkM7ErfgIyA0z+Bj4AGKlMSdlQE2jvJo6huWD1EdkKYV+G/T4nq0YEF2vgTT8kqMFKo1uHn950r4SQ==", + "license": "MIT", + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/nth-check": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/nth-check/-/nth-check-3.0.1.tgz", + "integrity": "sha512-GX0gsdbGVCgnRgbeGaubfjpBXyYRWOOCVeYh08bSQvDZqxz5ndXs1OTfAt/h36G1xvI94YIspsI0sVFqAV9+RQ==", + "license": "BSD-2-Clause", + "dependencies": { + "boolbase": "^2.0.0" + }, + "engines": { + "node": ">=20.19.0" + }, + "funding": { + "type": "github", + "url": "https://github.com/fb55/nth-check?sponsor=1" + } + }, + "node_modules/object-assign": { + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz", + "integrity": "sha512-rJgTQnkUnH1sFw8yT6VSU3zD3sWmu6sZhIseY8VX+GRu3P6F7Fu+JNDoXfklElbLJSnc3FUQHVe4cU5hj+BcUg==", + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/object-inspect": { + "version": "1.13.4", + "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.13.4.tgz", + "integrity": "sha512-W67iLl4J2EXEGTbfeHCffrjDfitvLANg0UlX3wFUUSTx92KXRFegMHUVgSqE+wvhAbi4WqjGg9czysTV2Epbew==", + "license": "MIT", + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/on-finished": { + "version": "2.4.1", + "resolved": "https://registry.npmjs.org/on-finished/-/on-finished-2.4.1.tgz", + "integrity": "sha512-oVlzkg3ENAhCk2zdv7IJwd/QUD4z2RxRwpkcGY8psCVcCYZNq4wYnVWALHM+brtuJjePWiYF/ClmuDr8Ch5+kg==", + "license": "MIT", + "dependencies": { + "ee-first": "1.1.1" + }, + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/once": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz", + "integrity": "sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w==", + "license": "ISC", + "dependencies": { + "wrappy": "1" + } + }, + "node_modules/openai": { + "version": "7.12.1", + "resolved": "https://registry.npmjs.org/openai/-/openai-7.12.1.tgz", + "integrity": "sha512-D0d8NevCWPe+cxE5kw/ZaBRh1Od4FfhRmD6FlNeLN1j96Xll5MYEJTbaFF9/F3eQHJANjrSuq2nWBCpVT+TmnQ==", + "license": "Apache-2.0", + "engines": { + "node": ">=22.0.0" + }, + "peerDependencies": { + "@aws-sdk/credential-provider-node": ">=3.972.0 <4", + "@smithy/hash-node": ">=4.3.0 <5", + "@smithy/signature-v4": ">=5.4.0 <6", + "undici": ">=5 <9", + "ws": "^8.21.0", + "zod": "^3.25 || ^4.0" + }, + "peerDependenciesMeta": { + "@aws-sdk/credential-provider-node": { + "optional": true + }, + "@smithy/hash-node": { + "optional": true + }, + "@smithy/signature-v4": { + "optional": true + }, + "undici": { + "optional": true + }, + "ws": { + "optional": true + }, + "zod": { + "optional": true + } + } + }, + "node_modules/openclaw": { + "version": "2026.9.5", + "resolved": "https://registry.npmjs.org/openclaw/-/openclaw-2026.9.5.tgz", + "integrity": "sha512-TCO/ImVLh5HkF4tdfo7iriIa7kT6iYkIr/jR5ZOkePGFGhUx5Oe7DE716Y1DzzG2teRAVDdCjgJDu1A24Yta7w==", + "hasInstallScript": true, + "license": "MIT", + "dependencies": { + "@agentclientprotocol/sdk": "1.4.0", + "@anthropic-ai/sdk": "0.124.0", + "@clack/core": "1.5.0", + "@clack/prompts": "1.8.0", + "@earendil-works/pi-tui": "0.85.1", + "@google/genai": "2.21.0", + "@grammyjs/runner": "2.0.3", + "@grammyjs/transformer-throttler": "1.2.1", + "@homebridge/ciao": "1.3.12", + "@lydell/node-pty": "1.2.0-beta.15", + "@mistralai/mistralai": "2.6.4", + "@modelcontextprotocol/sdk": "1.30.0", + "@mozilla/readability": "0.6.0", + "@openclaw/ai": "2026.9.5", + "@openclaw/fs-safe": "0.13.1", + "@openclaw/proxyline": "0.3.12", + "@silvia-odwyer/photon-node": "0.3.4", + "@trycua/cua-driver": "0.24.0", + "acorn": "8.18.0", + "chalk": "6.0.0", + "chokidar": "5.0.0", + "clawpdf": "0.3.2", + "commander": "15.0.0", + "croner": "10.0.1", + "diff": "9.0.0", + "dotenv": "17.4.2", + "entities": "8.1.0", + "execa": "10.0.1", + "express": "5.2.1", + "file-type": "22.0.2", + "grammy": "1.46.0", + "highlight.js": "11.12.0", + "hosted-git-info": "10.1.1", + "iconv-lite": "0.7.3", + "ignore": "7.0.9", + "import-meta-resolve": "4.2.0", + "jiti": "2.7.0", + "json5": "2.2.3", + "jszip": "3.10.2", + "koffi": "3.2.1", + "kysely": "0.29.5", + "linkedom": "0.18.13", + "minimatch": "10.2.6", + "ms": "2.1.3", + "node-edge-tts": "1.2.10", + "openai": "7.12.1", + "p-limit": "7.3.2", + "p-map": "7.0.7", + "partial-json": "0.1.7", + "playwright-core": "1.63.0", + "pretty-ms": "9.3.1", + "qrcode": "1.5.4", + "quickjs-wasi": "3.6.0", + "rastermill": "0.3.3", + "semver": "7.8.5", + "tar": "7.5.22", + "tree-sitter-bash": "0.25.1", + "tslog": "5.1.0", + "typebox": "1.3.30", + "typescript": "6.0.3", + "undici": "8.10.2", + "web-push": "3.6.7", + "web-tree-sitter": "0.27.0", + "ws": "8.21.3", + "yaml": "2.9.0", + "zod": "4.5.4" + }, + "bin": { + "openclaw": "openclaw.mjs" + }, + "engines": { + "node": ">=24.16.0 <25 || >=26.1.0" + }, + "optionalDependencies": { + "sqlite-vec": "0.1.9" + } + }, + "node_modules/openclaw/node_modules/@grammyjs/runner": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/@grammyjs/runner/-/runner-2.0.3.tgz", + "integrity": "sha512-nckmTs1dPWfVQteK9cxqxzE+0m1VRvluLWB8UgFzsjg62w3qthPJt0TYtJBEdG7OedvfQq4vnFAyE6iaMkR42A==", + "license": "MIT", + "dependencies": { + "abort-controller": "^3.0.0" + }, + "engines": { + "node": ">=12.20.0 || >=14.13.1" + }, + "peerDependencies": { + "grammy": "^1.13.1" + } + }, + "node_modules/openclaw/node_modules/@grammyjs/transformer-throttler": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/@grammyjs/transformer-throttler/-/transformer-throttler-1.2.1.tgz", + "integrity": "sha512-CpWB0F3rJdUiKsq7826QhQsxbZi4wqfz1ccKX+fr+AOC+o8K7ZvS+wqX0suSu1QCsyUq2MDpNiKhyL2ZOJUS4w==", + "license": "MIT", + "dependencies": { + "bottleneck": "^2.0.0" + }, + "engines": { + "node": "^12.20.0 || >=14.13.1" + }, + "peerDependencies": { + "grammy": "^1.0.0" + } + }, + "node_modules/openclaw/node_modules/@mozilla/readability": { + "version": "0.6.0", + "resolved": "https://registry.npmjs.org/@mozilla/readability/-/readability-0.6.0.tgz", + "integrity": "sha512-juG5VWh4qAivzTAeMzvY9xs9HY5rAcr2E4I7tiSSCokRFi7XIZCAu92ZkSTsIj1OPceCifL3cpfteP3pDT9/QQ==", + "license": "Apache-2.0", + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/openclaw/node_modules/ansi-regex": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", + "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==", + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/openclaw/node_modules/ansi-styles": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", + "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", + "license": "MIT", + "dependencies": { + "color-convert": "^2.0.1" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/chalk/ansi-styles?sponsor=1" + } + }, + "node_modules/openclaw/node_modules/asn1.js": { + "version": "5.4.1", + "resolved": "https://registry.npmjs.org/asn1.js/-/asn1.js-5.4.1.tgz", + "integrity": "sha512-+I//4cYPccV8LdmBLiX8CYvf9Sp3vQsrqu2QNXRcrbiWvcx/UdlFiqUJJzxRQxgsZmvhXhn4cSKeSmoFjVdupA==", + "license": "MIT", + "dependencies": { + "bn.js": "^4.0.0", + "inherits": "^2.0.1", + "minimalistic-assert": "^1.0.0", + "safer-buffer": "^2.1.0" + } + }, + "node_modules/openclaw/node_modules/bn.js": { + "version": "4.12.4", + "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-4.12.4.tgz", + "integrity": "sha512-njR1b+ixG2ufvL9Zn9JGneW+b5GV6jqpYyPPpg4QVt723b5kJPGUczkUyWEH9BwEA74UakJZ43I4FDLBF7ci0g==", + "license": "MIT" + }, + "node_modules/openclaw/node_modules/bottleneck": { + "version": "2.19.5", + "resolved": "https://registry.npmjs.org/bottleneck/-/bottleneck-2.19.5.tgz", + "integrity": "sha512-VHiNCbI1lKdl44tGrhNfU3lup0Tj/ZBMJB5/2ZbNXRCPuRCO7ed2mgcK4r17y+KB2EfuYuRaVlwNbAeaWGSpbw==", + "license": "MIT" + }, + "node_modules/openclaw/node_modules/camelcase": { + "version": "5.3.1", + "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-5.3.1.tgz", + "integrity": "sha512-L28STB170nwWS63UjtlEOE3dldQApaJXZkOI1uMFfzf3rRuPegHaHesyee+YxQ+W6SvRDQV6UrdOdRiR153wJg==", + "license": "MIT", + "engines": { + "node": ">=6" + } + }, + "node_modules/openclaw/node_modules/chokidar": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-5.0.0.tgz", + "integrity": "sha512-TQMmc3w+5AxjpL8iIiwebF73dRDF4fBIieAqGn9RGCWaEVwQ6Fb2cGe31Yns0RRIzii5goJ1Y7xbMwo1TxMplw==", + "license": "MIT", + "dependencies": { + "readdirp": "^5.0.0" + }, + "engines": { + "node": ">= 20.19.0" + }, + "funding": { + "url": "https://paulmillr.com/funding/" + } + }, + "node_modules/openclaw/node_modules/cliui": { + "version": "8.0.1", + "resolved": "https://registry.npmjs.org/cliui/-/cliui-8.0.1.tgz", + "integrity": "sha512-BSeNnyus75C4//NQ9gQt1/csTXyo/8Sb+afLAkzAptFuMsod9HFokGNudZpi/oQV73hnVK+sR+5PVRMd+Dr7YQ==", + "license": "ISC", + "dependencies": { + "string-width": "^4.2.0", + "strip-ansi": "^6.0.1", + "wrap-ansi": "^7.0.0" + }, + "engines": { + "node": ">=12" + } + }, + "node_modules/openclaw/node_modules/color-convert": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", + "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", + "license": "MIT", + "dependencies": { + "color-name": "~1.1.4" + }, + "engines": { + "node": ">=7.0.0" + } + }, + "node_modules/openclaw/node_modules/color-name": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", + "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", + "license": "MIT" + }, + "node_modules/openclaw/node_modules/commander": { + "version": "15.0.0", + "resolved": "https://registry.npmjs.org/commander/-/commander-15.0.0.tgz", + "integrity": "sha512-z67u4ZhzCL/Tydu1lJARtEZYWbWaN7oYLHbsuzocr6y4N6WZAagG3RQ4FW61V1/0+jImpj293XfrcYnd1qxtPg==", + "license": "MIT", + "engines": { + "node": ">=22.12.0" + } + }, + "node_modules/openclaw/node_modules/croner": { + "version": "10.0.1", + "resolved": "https://registry.npmjs.org/croner/-/croner-10.0.1.tgz", + "integrity": "sha512-ixNtAJndqh173VQ4KodSdJEI6nuioBWI0V1ITNKhZZsO0pEMoDxz539T4FTTbSZ/xIOSuDnzxLVRqBVSvPNE2g==", + "funding": [ + { + "type": "other", + "url": "https://paypal.me/hexagonpp" + }, + { + "type": "github", + "url": "https://github.com/sponsors/hexagon" + } + ], + "license": "MIT", + "engines": { + "node": ">=18.0" + } + }, + "node_modules/openclaw/node_modules/decamelize": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/decamelize/-/decamelize-1.2.0.tgz", + "integrity": "sha512-z2S+W9X73hAUUki+N+9Za2lBlun89zigOyGrsax+KUQ6wKW4ZoWpEYBkGhQjwAjjDCkWxhY0VKEhk8wzY7F5cA==", + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/openclaw/node_modules/diff": { + "version": "9.0.0", + "resolved": "https://registry.npmjs.org/diff/-/diff-9.0.0.tgz", + "integrity": "sha512-svtcdpS8CgJyqAjEQIXdb3OjhFVVYjzGAPO8WGCmRbrml64SPw/jJD4GoE98aR7r25A0XcgrK3F02yw9R/vhQw==", + "license": "BSD-3-Clause", + "engines": { + "node": ">=0.3.1" + } + }, + "node_modules/openclaw/node_modules/dijkstrajs": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/dijkstrajs/-/dijkstrajs-1.0.3.tgz", + "integrity": "sha512-qiSlmBq9+BCdCA/L46dw8Uy93mloxsPSbwnm5yrKn2vMPiy8KyAskTF6zuV/j5BMsmOGZDPs7KjU+mjb670kfA==", + "license": "MIT" + }, + "node_modules/openclaw/node_modules/dotenv": { + "version": "17.4.2", + "resolved": "https://registry.npmjs.org/dotenv/-/dotenv-17.4.2.tgz", + "integrity": "sha512-nI4U3TottKAcAD9LLud4Cb7b2QztQMUEfHbvhTH09bqXTxnSie8WnjPALV/WMCrJZ6UV/qHJ6L03OqO3LcdYZw==", + "license": "BSD-2-Clause", + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://dotenvx.com" + } + }, + "node_modules/openclaw/node_modules/emoji-regex": { + "version": "8.0.0", + "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz", + "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==", + "license": "MIT" + }, + "node_modules/openclaw/node_modules/escalade": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/escalade/-/escalade-3.2.0.tgz", + "integrity": "sha512-WUj2qlxaQtO4g6Pq5c29GTcWGDyd8itL8zTlipgECz3JesAiiOKotd8JU6otB3PACgG6xkJUyVhboMS+bje/jA==", + "license": "MIT", + "engines": { + "node": ">=6" + } + }, + "node_modules/openclaw/node_modules/find-up": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/find-up/-/find-up-4.1.0.tgz", + "integrity": "sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw==", + "license": "MIT", + "dependencies": { + "locate-path": "^5.0.0", + "path-exists": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/openclaw/node_modules/get-caller-file": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/get-caller-file/-/get-caller-file-2.0.5.tgz", + "integrity": "sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg==", + "license": "ISC", + "engines": { + "node": "6.* || 8.* || >= 10.*" + } + }, + "node_modules/openclaw/node_modules/hosted-git-info": { + "version": "10.1.1", + "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-10.1.1.tgz", + "integrity": "sha512-DeOnSPAvOndYKfw075gt8yZzQ7S2hNztw34zBTfhIzLhmBTswIBg5/y+pqu/VD5cYWm5goAFTusDmUEmKZ0PEQ==", + "license": "ISC", + "dependencies": { + "lru-cache": "^11.1.0" + }, + "engines": { + "node": "^22.22.2 || ^24.15.0 || >=26.0.0" + } + }, + "node_modules/openclaw/node_modules/http_ece": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/http_ece/-/http_ece-1.2.0.tgz", + "integrity": "sha512-JrF8SSLVmcvc5NducxgyOrKXe3EsyHMgBFgSaIUGmArKe+rwr0uphRkRXvwiom3I+fpIfoItveHrfudL8/rxuA==", + "license": "MIT", + "engines": { + "node": ">=16" + } + }, + "node_modules/openclaw/node_modules/is-fullwidth-code-point": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz", + "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==", + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/openclaw/node_modules/jiti": { + "version": "2.7.0", + "resolved": "https://registry.npmjs.org/jiti/-/jiti-2.7.0.tgz", + "integrity": "sha512-AC/7JofJvZGrrneWNaEnJeOLUx+JlGt7tNa0wZiRPT4MY1wmfKjt2+6O2p2uz2+skll8OZZmJMNqeke7kKbNgQ==", + "license": "MIT", + "bin": { + "jiti": "lib/jiti-cli.mjs" + } + }, + "node_modules/openclaw/node_modules/json5": { + "version": "2.2.3", + "resolved": "https://registry.npmjs.org/json5/-/json5-2.2.3.tgz", + "integrity": "sha512-XmOWe7eyHYH14cLdVPoyg+GOH3rYX++KpzrylJwSW98t3Nk+U8XOl8FWKOgwtzdb8lXGf6zYwDUzeHMWfxasyg==", + "license": "MIT", + "bin": { + "json5": "lib/cli.js" + }, + "engines": { + "node": ">=6" + } + }, + "node_modules/openclaw/node_modules/locate-path": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-5.0.0.tgz", + "integrity": "sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g==", + "license": "MIT", + "dependencies": { + "p-locate": "^4.1.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/openclaw/node_modules/lru-cache": { + "version": "11.5.1", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-11.5.1.tgz", + "integrity": "sha512-RPimw/7aMdv2oqRrxKwvZXcPfwBrn/JZ2xYcY9Hus/6LaS3VOAKVWKWgNLCFSiOm1ESXinjsDlidVU7JlnCN2A==", + "license": "BlueOak-1.0.0", + "engines": { + "node": "20 || >=22" + } + }, + "node_modules/openclaw/node_modules/minimalistic-assert": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/minimalistic-assert/-/minimalistic-assert-1.0.1.tgz", + "integrity": "sha512-UtJcAD4yEaGtjPezWuO9wC4nwUnVH/8/Im3yEHQP4b67cXlD/Qr9hdITCU1xDbSEXg2XKNaP8jsReV7vQd00/A==", + "license": "ISC" + }, + "node_modules/openclaw/node_modules/minimist": { + "version": "1.2.8", + "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.8.tgz", + "integrity": "sha512-2yyAR8qBkN3YuheJanUpWC5U3bb5osDywNB8RzDVlDwDHbocAJveqqj1u8+SVD7jkWT4yvsHCpWqqWqAxb0zCA==", + "license": "MIT", + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/openclaw/node_modules/node-addon-api": { + "version": "8.9.0", + "resolved": "https://registry.npmjs.org/node-addon-api/-/node-addon-api-8.9.0.tgz", + "integrity": "sha512-ekZMeaaIzSQTSpr7X2X3iJM7lTzgnx8ahAG9pJfT/7+14mlEM8ZYQ9cgCDvSSRbReFK0oHli3WrZdCiRsgAT9Q==", + "license": "MIT", + "engines": { + "node": "^18 || ^20 || >= 21" + } + }, + "node_modules/openclaw/node_modules/node-edge-tts": { + "version": "1.2.10", + "resolved": "https://registry.npmjs.org/node-edge-tts/-/node-edge-tts-1.2.10.tgz", + "integrity": "sha512-bV2i4XU54D45+US0Zm1HcJRkifuB3W438dWyuJEHLQdKxnuqlI1kim2MOvR6Q3XUQZvfF9PoDyR1Rt7aeXhPdQ==", + "license": "MIT", + "dependencies": { + "https-proxy-agent": "^7.0.1", + "ws": "^8.13.0", + "yargs": "^17.7.2" + }, + "bin": { + "node-edge-tts": "bin.js" + } + }, + "node_modules/openclaw/node_modules/node-gyp-build": { + "version": "4.8.4", + "resolved": "https://registry.npmjs.org/node-gyp-build/-/node-gyp-build-4.8.4.tgz", + "integrity": "sha512-LA4ZjwlnUblHVgq0oBF3Jl/6h/Nvs5fzBLwdEF4nuxnFdsfajde4WfxtJr3CaiH+F6ewcIB/q4jQ4UzPyid+CQ==", + "license": "MIT", + "bin": { + "node-gyp-build": "bin.js", + "node-gyp-build-optional": "optional.js", + "node-gyp-build-test": "build-test.js" + } + }, + "node_modules/openclaw/node_modules/p-limit": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-2.3.0.tgz", + "integrity": "sha512-//88mFWSJx8lxCzwdAABTJL2MyWB12+eIY7MDL2SqLmAkeKU9qxRvWuSyTjm3FUmpBEMuFfckAIqEaVGUDxb6w==", + "license": "MIT", + "dependencies": { + "p-try": "^2.0.0" + }, + "engines": { + "node": ">=6" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/openclaw/node_modules/p-locate": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-4.1.0.tgz", + "integrity": "sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A==", + "license": "MIT", + "dependencies": { + "p-limit": "^2.2.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/openclaw/node_modules/p-try": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/p-try/-/p-try-2.2.0.tgz", + "integrity": "sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ==", + "license": "MIT", + "engines": { + "node": ">=6" + } + }, + "node_modules/openclaw/node_modules/path-exists": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-4.0.0.tgz", + "integrity": "sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==", + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/openclaw/node_modules/pngjs": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/pngjs/-/pngjs-5.0.0.tgz", + "integrity": "sha512-40QW5YalBNfQo5yRYmiw7Yz6TKKVr3h6970B2YE+3fQpsWcrbj1PzJgxeJ19DRQjhMbKPIuMY8rFaXc8moolVw==", + "license": "MIT", + "engines": { + "node": ">=10.13.0" + } + }, + "node_modules/openclaw/node_modules/qrcode": { + "version": "1.5.4", + "resolved": "https://registry.npmjs.org/qrcode/-/qrcode-1.5.4.tgz", + "integrity": "sha512-1ca71Zgiu6ORjHqFBDpnSMTR2ReToX4l1Au1VFLyVeBTFavzQnv5JxMFr3ukHVKpSrSA2MCk0lNJSykjUfz7Zg==", + "license": "MIT", + "dependencies": { + "dijkstrajs": "^1.0.1", + "pngjs": "^5.0.0", + "yargs": "^15.3.1" + }, + "bin": { + "qrcode": "bin/qrcode" + }, + "engines": { + "node": ">=10.13.0" + } + }, + "node_modules/openclaw/node_modules/qrcode/node_modules/cliui": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/cliui/-/cliui-6.0.0.tgz", + "integrity": "sha512-t6wbgtoCXvAzst7QgXxJYqPt0usEfbgQdftEPbLL/cvv6HPE5VgvqCuAIDR0NgU52ds6rFwqrgakNLrHEjCbrQ==", + "license": "ISC", + "dependencies": { + "string-width": "^4.2.0", + "strip-ansi": "^6.0.0", + "wrap-ansi": "^6.2.0" + } + }, + "node_modules/openclaw/node_modules/qrcode/node_modules/wrap-ansi": { + "version": "6.2.0", + "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-6.2.0.tgz", + "integrity": "sha512-r6lPcBGxZXlIcymEu7InxDMhdW0KDxpLgoFLcguasxCaJ/SOIZwINatK9KY/tf+ZrlywOKU0UDj3ATXUBfxJXA==", + "license": "MIT", + "dependencies": { + "ansi-styles": "^4.0.0", + "string-width": "^4.1.0", + "strip-ansi": "^6.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/openclaw/node_modules/qrcode/node_modules/y18n": { + "version": "4.0.3", + "resolved": "https://registry.npmjs.org/y18n/-/y18n-4.0.3.tgz", + "integrity": "sha512-JKhqTOwSrqNA1NY5lSztJ1GrBiUodLMmIZuLiDaMRJ+itFd+ABVE8XBjOvIWL+rSqNDC74LCSFmlb/U4UZ4hJQ==", + "license": "ISC" + }, + "node_modules/openclaw/node_modules/qrcode/node_modules/yargs": { + "version": "15.4.1", + "resolved": "https://registry.npmjs.org/yargs/-/yargs-15.4.1.tgz", + "integrity": "sha512-aePbxDmcYW++PaqBsJ+HYUFwCdv4LVvdnhBy78E57PIor8/OVvhMrADFFEDh8DHDFRv/O9i3lPhsENjO7QX0+A==", + "license": "MIT", + "dependencies": { + "cliui": "^6.0.0", + "decamelize": "^1.2.0", + "find-up": "^4.1.0", + "get-caller-file": "^2.0.1", + "require-directory": "^2.1.1", + "require-main-filename": "^2.0.0", + "set-blocking": "^2.0.0", + "string-width": "^4.2.0", + "which-module": "^2.0.0", + "y18n": "^4.0.0", + "yargs-parser": "^18.1.2" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/openclaw/node_modules/qrcode/node_modules/yargs-parser": { + "version": "18.1.3", + "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-18.1.3.tgz", + "integrity": "sha512-o50j0JeToy/4K6OZcaQmW6lyXXKhq7csREXcDwk2omFPJEwUNOVtJKvmDr9EI1fAJZUyZcRF7kxGBWmRXudrCQ==", + "license": "ISC", + "dependencies": { + "camelcase": "^5.0.0", + "decamelize": "^1.2.0" + }, + "engines": { + "node": ">=6" + } + }, + "node_modules/openclaw/node_modules/readdirp": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-5.0.0.tgz", + "integrity": "sha512-9u/XQ1pvrQtYyMpZe7DXKv2p5CNvyVwzUB6uhLAnQwHMSgKMBR62lc7AHljaeteeHXn11XTAaLLUVZYVZyuRBQ==", + "license": "MIT", + "engines": { + "node": ">= 20.19.0" + }, + "funding": { + "type": "individual", + "url": "https://paulmillr.com/funding/" + } + }, + "node_modules/openclaw/node_modules/require-directory": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/require-directory/-/require-directory-2.1.1.tgz", + "integrity": "sha512-fGxEI7+wsG9xrvdjsrlmL22OMTTiHRwAMroiEeMgq8gzoLC/PQr7RsRDSTLUg/bZAZtF+TVIkHc6/4RIKrui+Q==", + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/openclaw/node_modules/require-main-filename": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/require-main-filename/-/require-main-filename-2.0.0.tgz", + "integrity": "sha512-NKN5kMDylKuldxYLSUfrbo5Tuzh4hd+2E8NPPX02mZtn1VuREQToYe/ZdlJy+J3uCpfaiGF05e7B8W0iXbQHmg==", + "license": "ISC" + }, + "node_modules/openclaw/node_modules/set-blocking": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/set-blocking/-/set-blocking-2.0.0.tgz", + "integrity": "sha512-KiKBS8AnWGEyLzofFfmvKwpdPzqiy16LvQfK3yv/fVH7Bj13/wl3JSR1J+rfgRE9q7xUJK4qvgS8raSOeLUehw==", + "license": "ISC" + }, + "node_modules/openclaw/node_modules/sqlite-vec": { + "version": "0.1.9", + "resolved": "https://registry.npmjs.org/sqlite-vec/-/sqlite-vec-0.1.9.tgz", + "integrity": "sha512-L7XJWRIBNvR9O5+vh1FQ+IGkh/3D2AzVksW5gdtk28m78Hy8skFD0pqReKH1Yp0/BUKRGcffgKvyO/EON5JXpA==", + "license": "MIT OR Apache", + "optional": true, + "optionalDependencies": { + "sqlite-vec-darwin-arm64": "0.1.9", + "sqlite-vec-darwin-x64": "0.1.9", + "sqlite-vec-linux-arm64": "0.1.9", + "sqlite-vec-linux-x64": "0.1.9", + "sqlite-vec-windows-x64": "0.1.9" + } + }, + "node_modules/openclaw/node_modules/sqlite-vec-darwin-arm64": { + "version": "0.1.9", + "resolved": "https://registry.npmjs.org/sqlite-vec-darwin-arm64/-/sqlite-vec-darwin-arm64-0.1.9.tgz", + "integrity": "sha512-jSsZpE42OfBkGL/ItyJTVCUwl6o6Ka3U5rc4j+UBDIQzC1ulSSKMEhQLthsOnF/MdAf1MuAkYhkdKmmcjaIZQg==", + "cpu": [ + "arm64" + ], + "license": "MIT OR Apache", + "optional": true, + "os": [ + "darwin" + ] + }, + "node_modules/openclaw/node_modules/sqlite-vec-darwin-x64": { + "version": "0.1.9", + "resolved": "https://registry.npmjs.org/sqlite-vec-darwin-x64/-/sqlite-vec-darwin-x64-0.1.9.tgz", + "integrity": "sha512-KDlVyqQT7pnOhU1ymB9gs7dMbSoVmKHitT+k1/xkjarcX8bBqPxWrGlK/R+C5WmWkfvWwyq5FfXfiBYCBs6PlA==", + "cpu": [ + "x64" + ], + "license": "MIT OR Apache", + "optional": true, + "os": [ + "darwin" + ] + }, + "node_modules/openclaw/node_modules/sqlite-vec-linux-arm64": { + "version": "0.1.9", + "resolved": "https://registry.npmjs.org/sqlite-vec-linux-arm64/-/sqlite-vec-linux-arm64-0.1.9.tgz", + "integrity": "sha512-5wXVJ9c9kR4CHm/wVqXb/R+XUHTdpZ4nWbPHlS+gc9qQFVHs92Km4bPnCKX4rtcPMzvNis+SIzMJR1SCEwpuUw==", + "cpu": [ + "arm64" + ], + "license": "MIT OR Apache", + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/openclaw/node_modules/sqlite-vec-linux-x64": { + "version": "0.1.9", + "resolved": "https://registry.npmjs.org/sqlite-vec-linux-x64/-/sqlite-vec-linux-x64-0.1.9.tgz", + "integrity": "sha512-w3tCH8xK2finW8fQJ/m8uqKodXUZ9KAuAar2UIhz4BHILfpE0WM/MTGCRfa7RjYbrYim5Luk3guvMOGI7T7JQA==", + "cpu": [ + "x64" + ], + "license": "MIT OR Apache", + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/openclaw/node_modules/sqlite-vec-windows-x64": { + "version": "0.1.9", + "resolved": "https://registry.npmjs.org/sqlite-vec-windows-x64/-/sqlite-vec-windows-x64-0.1.9.tgz", + "integrity": "sha512-y3gEIyy/17bq2QFPQOWLE68TYWcRZkBQVA2XLrTPHNTOp55xJi/BBBmOm40tVMDMjtP+Elpk6UBUXdaq+46b0Q==", + "cpu": [ + "x64" + ], + "license": "MIT OR Apache", + "optional": true, + "os": [ + "win32" + ] + }, + "node_modules/openclaw/node_modules/string-width": { + "version": "4.2.3", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz", + "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==", + "license": "MIT", + "dependencies": { + "emoji-regex": "^8.0.0", + "is-fullwidth-code-point": "^3.0.0", + "strip-ansi": "^6.0.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/openclaw/node_modules/strip-ansi": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", + "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", + "license": "MIT", + "dependencies": { + "ansi-regex": "^5.0.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/openclaw/node_modules/tree-sitter-bash": { + "version": "0.25.1", + "resolved": "https://registry.npmjs.org/tree-sitter-bash/-/tree-sitter-bash-0.25.1.tgz", + "integrity": "sha512-7hMytuYIMoXOq24yRulgIxthE9YmggZIOHCyPTTuJcu6EU54tYD+4G39cUb28kxC6jMf/AbPfWGLQtgPTdh3xw==", + "hasInstallScript": true, + "license": "MIT", + "dependencies": { + "node-addon-api": "^8.2.1", + "node-gyp-build": "^4.8.2" + }, + "peerDependencies": { + "tree-sitter": "^0.25.0" + }, + "peerDependenciesMeta": { + "tree-sitter": { + "optional": true + } + } + }, + "node_modules/openclaw/node_modules/typescript": { + "version": "6.0.3", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-6.0.3.tgz", + "integrity": "sha512-y2TvuxSZPDyQakkFRPZHKFm+KKVqIisdg9/CZwm9ftvKXLP8NRWj38/ODjNbr43SsoXqNuAisEf1GdCxqWcdBw==", + "license": "Apache-2.0", + "bin": { + "tsc": "bin/tsc", + "tsserver": "bin/tsserver" + }, + "engines": { + "node": ">=14.17" + } + }, + "node_modules/openclaw/node_modules/web-push": { + "version": "3.6.7", + "resolved": "https://registry.npmjs.org/web-push/-/web-push-3.6.7.tgz", + "integrity": "sha512-OpiIUe8cuGjrj3mMBFWY+e4MMIkW3SVT+7vEIjvD9kejGUypv8GPDf84JdPWskK8zMRIJ6xYGm+Kxr8YkPyA0A==", + "license": "MPL-2.0", + "dependencies": { + "asn1.js": "^5.3.0", + "http_ece": "1.2.0", + "https-proxy-agent": "^7.0.0", + "jws": "^4.0.0", + "minimist": "^1.2.5" + }, + "bin": { + "web-push": "src/cli.js" + }, + "engines": { + "node": ">= 16" + } + }, + "node_modules/openclaw/node_modules/which-module": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/which-module/-/which-module-2.0.1.tgz", + "integrity": "sha512-iBdZ57RDvnOR9AGBhML2vFZf7h8vmBjhoaZqODJBFWHVtKkDmKuHai3cx5PgVMrX5YDNp27AofYbAwctSS+vhQ==", + "license": "ISC" + }, + "node_modules/openclaw/node_modules/wrap-ansi": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz", + "integrity": "sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==", + "license": "MIT", + "dependencies": { + "ansi-styles": "^4.0.0", + "string-width": "^4.1.0", + "strip-ansi": "^6.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/wrap-ansi?sponsor=1" + } + }, + "node_modules/openclaw/node_modules/y18n": { + "version": "5.0.8", + "resolved": "https://registry.npmjs.org/y18n/-/y18n-5.0.8.tgz", + "integrity": "sha512-0pfFzegeDWJHJIAmTLRP2DwHjdF5s7jo9tuztdQxAhINCdvS+3nGINqPd00AphqJR/0LhANUS6/+7SCb98YOfA==", + "license": "ISC", + "engines": { + "node": ">=10" + } + }, + "node_modules/openclaw/node_modules/yaml": { + "version": "2.9.0", + "resolved": "https://registry.npmjs.org/yaml/-/yaml-2.9.0.tgz", + "integrity": "sha512-2AvhNX3mb8zd6Zy7INTtSpl1F15HW6Wnqj0srWlkKLcpYl/gMIMJiyuGq2KeI2YFxUPjdlB+3Lc10seMLtL4cA==", + "license": "ISC", + "bin": { + "yaml": "bin.mjs" + }, + "engines": { + "node": ">= 14.6" + }, + "funding": { + "url": "https://github.com/sponsors/eemeli" + } + }, + "node_modules/openclaw/node_modules/yargs": { + "version": "17.7.3", + "resolved": "https://registry.npmjs.org/yargs/-/yargs-17.7.3.tgz", + "integrity": "sha512-GZtjxm/J/4TSxuL3FNYjCmLktBTnIw/rVmKSIyKeYAZpmJB2ig9VauCC5xsa82GNKVKDAqpOn3KVzNt0zmrU0g==", + "license": "MIT", + "dependencies": { + "cliui": "^8.0.1", + "escalade": "^3.1.1", + "get-caller-file": "^2.0.5", + "require-directory": "^2.1.1", + "string-width": "^4.2.3", + "y18n": "^5.0.5", + "yargs-parser": "^21.1.1" + }, + "engines": { + "node": ">=12" + } + }, + "node_modules/openclaw/node_modules/yargs-parser": { + "version": "21.1.1", + "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-21.1.1.tgz", + "integrity": "sha512-tVpsJW7DdjecAiFpbIB1e3qxIQsE6NoPc5/eTdrbbIC4h0LVsWhnoa3g+m2HclBIujHzsxZ4VJVA+GUuc2/LBw==", + "license": "ISC", + "engines": { + "node": ">=12" + } + }, + "node_modules/p-map": { + "version": "7.0.7", + "resolved": "https://registry.npmjs.org/p-map/-/p-map-7.0.7.tgz", + "integrity": "sha512-VaWRu2i4FJNRtiRWCuuQRgfQ1B7a6+gMSrO+3j0EQi/k0ULfS9kosRxGoiqwzIjZTDI02tGfk5mXXltLg6QtfQ==", + "license": "MIT", + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/p-retry": { + "version": "4.6.2", + "resolved": "https://registry.npmjs.org/p-retry/-/p-retry-4.6.2.tgz", + "integrity": "sha512-312Id396EbJdvRONlngUx0NydfrIQ5lsYu0znKVUzVvArzEIt08V1qhtyESbGVd1FGX7UKtiFp5uwKZdM8wIuQ==", + "license": "MIT", + "dependencies": { + "@types/retry": "0.12.0", + "retry": "^0.13.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/pako": { + "version": "1.0.11", + "resolved": "https://registry.npmjs.org/pako/-/pako-1.0.11.tgz", + "integrity": "sha512-4hLB8Py4zZce5s4yd9XzopqwVv/yGNhV1Bl8NTmCq1763HeK2+EwVTv+leGeL13Dnh2wfbqowVPXCIO0z4taYw==", + "license": "(MIT AND Zlib)" + }, + "node_modules/parse-ms": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/parse-ms/-/parse-ms-4.0.0.tgz", + "integrity": "sha512-TXfryirbmq34y8QBwgqCVLi+8oA3oWx2eAnSn62ITyEhEYaWRlVZ2DvMM9eZbMs/RfxPu/PK/aBLyGj4IrqMHw==", + "license": "MIT", + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/parseurl": { + "version": "1.3.3", + "resolved": "https://registry.npmjs.org/parseurl/-/parseurl-1.3.3.tgz", + "integrity": "sha512-CiyeOxFT/JZyN5m0z9PfXw4SCBJ6Sygz1Dpl0wqjlhDEGGBP1GnsUVEL0p63hoG1fcj3fHynXi9NYO4nWOL+qQ==", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/partial-json": { + "version": "0.1.7", + "resolved": "https://registry.npmjs.org/partial-json/-/partial-json-0.1.7.tgz", + "integrity": "sha512-Njv/59hHaokb/hRUjce3Hdv12wd60MtM9Z5Olmn+nehe0QDAsRtRbJPvJ0Z91TusF0SuZRIvnM+S4l6EIP8leA==", + "license": "MIT" + }, + "node_modules/path-key": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/path-key/-/path-key-3.1.1.tgz", + "integrity": "sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==", + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/path-to-regexp": { + "version": "8.4.2", + "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-8.4.2.tgz", + "integrity": "sha512-qRcuIdP69NPm4qbACK+aDogI5CBDMi1jKe0ry5rSQJz8JVLsC7jV8XpiJjGRLLol3N+R5ihGYcrPLTno6pAdBA==", + "license": "MIT", + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/express" + } + }, + "node_modules/pkce-challenge": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/pkce-challenge/-/pkce-challenge-5.0.1.tgz", + "integrity": "sha512-wQ0b/W4Fr01qtpHlqSqspcj3EhBvimsdh0KlHhH8HRZnMsEa0ea2fTULOXOS9ccQr3om+GcGRk4e+isrZWV8qQ==", + "license": "MIT", + "engines": { + "node": ">=16.20.0" + } + }, + "node_modules/playwright-core": { + "version": "1.63.0", + "resolved": "https://registry.npmjs.org/playwright-core/-/playwright-core-1.63.0.tgz", + "integrity": "sha512-rYCsBF/M5HjUch52bbtVONEFjv6Xu8sm8h72dNlR5bzIE1fvC/bxgspzkjSfU+MweEMmPM8KJebG6nnyxo5mCg==", + "license": "Apache-2.0", + "bin": { + "playwright-core": "cli.js" + }, + "engines": { + "node": ">=20" + } + }, + "node_modules/pretty-ms": { + "version": "9.3.1", + "resolved": "https://registry.npmjs.org/pretty-ms/-/pretty-ms-9.3.1.tgz", + "integrity": "sha512-HzMy3Geq23nVALD/M2LliU+F+M+gVNsvkQWWqeBZ8HDiCgzo6YPJ/Omrmtq24EFrIsk0a3EkQGEd7bDOo+IhGA==", + "license": "MIT", + "dependencies": { + "parse-ms": "^4.0.0" + }, + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/process-nextick-args": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/process-nextick-args/-/process-nextick-args-2.0.1.tgz", + "integrity": "sha512-3ouUOpQhtgrbOa17J7+uxOTpITYWaGP7/AhoR3+A+/1e9skrzelGi/dXzEYyvbxubEF6Wn2ypscTKiKJFFn1ag==", + "license": "MIT" + }, + "node_modules/protobufjs": { + "version": "7.6.6", + "resolved": "https://registry.npmjs.org/protobufjs/-/protobufjs-7.6.6.tgz", + "integrity": "sha512-dYDWdjSl5RNb7SgPxGQcRU+GtvP7s2fpkrY0r432PcOIaZ0/rBcxEZnQN67iJhFuQiVw754JDoPruPCNdGsbjg==", + "hasInstallScript": true, + "license": "BSD-3-Clause", + "dependencies": { + "@protobufjs/aspromise": "^1.1.2", + "@protobufjs/base64": "^1.1.2", + "@protobufjs/codegen": "^2.0.5", + "@protobufjs/eventemitter": "^1.1.1", + "@protobufjs/fetch": "^1.1.1", + "@protobufjs/float": "^1.0.2", + "@protobufjs/path": "^1.1.2", + "@protobufjs/pool": "^1.1.0", + "@protobufjs/utf8": "^1.1.1", + "@types/node": ">=13.7.0", + "long": "^5.3.2" + }, + "engines": { + "node": ">=12.0.0" + } + }, + "node_modules/proxy-addr": { + "version": "2.0.8", + "resolved": "https://registry.npmjs.org/proxy-addr/-/proxy-addr-2.0.8.tgz", + "integrity": "sha512-5nnx0yGyVUcY6t9RnWcARWtwT9F1D8O9rt08htPvnd49W1IgZtmLkhu9WfMzQj1cFxjHIO6connUNVW5k7AVyQ==", + "license": "MIT", + "dependencies": { + "forwarded": "0.2.0", + "ipaddr.js": "1.9.1" + }, + "engines": { + "node": ">= 0.10" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/express" + } + }, + "node_modules/qs": { + "version": "6.16.1", + "resolved": "https://registry.npmjs.org/qs/-/qs-6.16.1.tgz", + "integrity": "sha512-5Px6J7rfHBAGUhNQ3es4YzcOdBBw0SDcVtThJml4RdnKw4tKs2epA0kPZ+K8X+WiHktT93RHVcQ/3ym5aTCgtg==", + "license": "BSD-3-Clause", + "dependencies": { + "es-define-property": "^1.0.1", + "side-channel": "^1.1.1" + }, + "engines": { + "node": ">=0.6" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/quickjs-wasi": { + "version": "3.6.0", + "resolved": "https://registry.npmjs.org/quickjs-wasi/-/quickjs-wasi-3.6.0.tgz", + "integrity": "sha512-/CNzMq42B8ThzUpzjLSF8K50ntVLV3RREyT8zr4wHaP2CZSHFhPkqg3E1GULmTerehf8Bo+UguQ+4LoOMCTC6A==", + "license": "MIT" + }, + "node_modules/range-parser": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/range-parser/-/range-parser-1.3.0.tgz", + "integrity": "sha512-hek2mFQpPuI4E1BBKrSto+BU3e3x4xuarsbiwr3+lf7p44juvFMV0XFWQAP3xUyqXA4RrXLIoaSUGbSt056ZMw==", + "license": "MIT", + "engines": { + "node": ">= 0.6" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/express" + } + }, + "node_modules/rastermill": { + "version": "0.3.3", + "resolved": "https://registry.npmjs.org/rastermill/-/rastermill-0.3.3.tgz", + "integrity": "sha512-tnNH+jymMZxcGfR+w32fbD9xpDytCrHEyYx/OCFTTIf2gAcaiasUSurBA3lObRrRHy1leitG0QRfJB6mV/SJ4w==", + "license": "MIT", + "dependencies": { + "@silvia-odwyer/photon-node": "0.3.4" + }, + "engines": { + "node": ">=22" + } + }, + "node_modules/raw-body": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/raw-body/-/raw-body-3.0.2.tgz", + "integrity": "sha512-K5zQjDllxWkf7Z5xJdV0/B0WTNqx6vxG70zJE4N0kBs4LovmEYWJzQGxC9bS9RAKu3bgM40lrd5zoLJ12MQ5BA==", + "license": "MIT", + "dependencies": { + "bytes": "~3.1.2", + "http-errors": "~2.0.1", + "iconv-lite": "~0.7.0", + "unpipe": "~1.0.0" + }, + "engines": { + "node": ">= 0.10" + } + }, + "node_modules/readable-stream": { + "version": "2.3.8", + "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.8.tgz", + "integrity": "sha512-8p0AUk4XODgIewSi0l8Epjs+EVnWiK7NoDIEGU0HhE7+ZyY8D1IMY7odu5lRrFXGg71L15KG8QrPmum45RTtdA==", + "license": "MIT", + "dependencies": { + "core-util-is": "~1.0.0", + "inherits": "~2.0.3", + "isarray": "~1.0.0", + "process-nextick-args": "~2.0.0", + "safe-buffer": "~5.1.1", + "string_decoder": "~1.1.1", + "util-deprecate": "~1.0.1" + } + }, + "node_modules/readable-stream/node_modules/safe-buffer": { + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz", + "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==", + "license": "MIT" + }, + "node_modules/require-from-string": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/require-from-string/-/require-from-string-2.0.2.tgz", + "integrity": "sha512-Xf0nWe6RseziFMu+Ap9biiUbmplq6S9/p+7w7YXP/JBHhrUDDUhwa+vANyubuqfZWTveU//DYVGsDG7RKL/vEw==", + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/retry": { + "version": "0.13.1", + "resolved": "https://registry.npmjs.org/retry/-/retry-0.13.1.tgz", + "integrity": "sha512-XQBQ3I8W1Cge0Seh+6gjj03LbmRFWuoszgK9ooCpwYIrhhoO80pfq4cUkU5DkknwfOfFteRwlZ56PYOGYyFWdg==", + "license": "MIT", + "engines": { + "node": ">= 4" + } + }, + "node_modules/router": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/router/-/router-2.2.0.tgz", + "integrity": "sha512-nLTrUKm2UyiL7rlhapu/Zl45FwNgkZGaCpZbIHajDYgwlJCOzLSk+cIPAnsEqV955GjILJnKbdQC1nVPz+gAYQ==", + "license": "MIT", + "dependencies": { + "debug": "^4.4.0", + "depd": "^2.0.0", + "is-promise": "^4.0.0", + "parseurl": "^1.3.3", + "path-to-regexp": "^8.0.0" + }, + "engines": { + "node": ">= 18" + } + }, + "node_modules/safe-buffer": { + "version": "5.2.1", + "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz", + "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ], + "license": "MIT" + }, + "node_modules/safer-buffer": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz", + "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==", + "license": "MIT" + }, + "node_modules/semver": { + "version": "7.8.5", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.8.5.tgz", + "integrity": "sha512-Y7/KDsb8LjooZpwaqGyulO6DQlksgCncchHGk+sZIY4SBvUocMBEFH5Ur1fI4dV+Jvl0w6cjvucaIi40puRioA==", + "license": "ISC", + "bin": { + "semver": "bin/semver.js" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/send": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/send/-/send-1.2.1.tgz", + "integrity": "sha512-1gnZf7DFcoIcajTjTwjwuDjzuz4PPcY2StKPlsGAQ1+YH20IRVrBaXSWmdjowTJ6u8Rc01PoYOGHXfP1mYcZNQ==", + "license": "MIT", + "dependencies": { + "debug": "^4.4.3", + "encodeurl": "^2.0.0", + "escape-html": "^1.0.3", + "etag": "^1.8.1", + "fresh": "^2.0.0", + "http-errors": "^2.0.1", + "mime-types": "^3.0.2", + "ms": "^2.1.3", + "on-finished": "^2.4.1", + "range-parser": "^1.2.1", + "statuses": "^2.0.2" + }, + "engines": { + "node": ">= 18" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/express" + } + }, + "node_modules/serve-static": { + "version": "2.2.1", + "resolved": "https://registry.npmjs.org/serve-static/-/serve-static-2.2.1.tgz", + "integrity": "sha512-xRXBn0pPqQTVQiC8wyQrKs2MOlX24zQ0POGaj0kultvoOCstBQM5yvOhAVSUwOMjQtTvsPWoNCHfPGwaaQJhTw==", + "license": "MIT", + "dependencies": { + "encodeurl": "^2.0.0", + "escape-html": "^1.0.3", + "parseurl": "^1.3.3", + "send": "^1.2.0" + }, + "engines": { + "node": ">= 18" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/express" + } + }, + "node_modules/setimmediate": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/setimmediate/-/setimmediate-1.0.5.tgz", + "integrity": "sha512-MATJdZp8sLqDl/68LfQmbP8zKPLQNV6BIZoIgrscFDQ+RsvK/BxeDQOgyxKKoh0y/8h3BqVFnCqQ/gd+reiIXA==", + "license": "MIT" + }, + "node_modules/setprototypeof": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/setprototypeof/-/setprototypeof-1.2.0.tgz", + "integrity": "sha512-E5LDX7Wrp85Kil5bhZv46j8jOeboKq5JMmYM3gVGdGH8xFpPWXUMsNrlODCrkoxMEeNi/XZIwuRvY4XNwYMJpw==", + "license": "ISC" + }, + "node_modules/shebang-command": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-2.0.0.tgz", + "integrity": "sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA==", + "license": "MIT", + "dependencies": { + "shebang-regex": "^3.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/shebang-regex": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/shebang-regex/-/shebang-regex-3.0.0.tgz", + "integrity": "sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==", + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/side-channel": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/side-channel/-/side-channel-1.1.1.tgz", + "integrity": "sha512-6x6dK6zJdpTzF4sQeNYxwtvBzf6Eg4GtlesS94HOvTudUeyK2WXAaIfmDgsyslYrRBeFIlsi54AYsFGUuhmvrQ==", + "license": "MIT", + "dependencies": { + "es-errors": "^1.3.0", + "object-inspect": "^1.13.4", + "side-channel-list": "^1.0.1", + "side-channel-map": "^1.0.1", + "side-channel-weakmap": "^1.0.2" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/side-channel-list": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/side-channel-list/-/side-channel-list-1.0.1.tgz", + "integrity": "sha512-mjn/0bi/oUURjc5Xl7IaWi/OJJJumuoJFQJfDDyO46+hBWsfaVM65TBHq2eoZBhzl9EchxOijpkbRC8SVBQU0w==", + "license": "MIT", + "dependencies": { + "es-errors": "^1.3.0", + "object-inspect": "^1.13.4" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/side-channel-map": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/side-channel-map/-/side-channel-map-1.0.1.tgz", + "integrity": "sha512-VCjCNfgMsby3tTdo02nbjtM/ewra6jPHmpThenkTYh8pG9ucZ/1P8So4u4FGBek/BjpOVsDCMoLA/iuBKIFXRA==", + "license": "MIT", + "dependencies": { + "call-bound": "^1.0.2", + "es-errors": "^1.3.0", + "get-intrinsic": "^1.2.5", + "object-inspect": "^1.13.3" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/side-channel-weakmap": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/side-channel-weakmap/-/side-channel-weakmap-1.0.2.tgz", + "integrity": "sha512-WPS/HvHQTYnHisLo9McqBHOJk2FkHO/tlpvldyrnem4aeQp4hai3gythswg6p01oSoTl58rcpiFAjF2br2Ak2A==", + "license": "MIT", + "dependencies": { + "call-bound": "^1.0.2", + "es-errors": "^1.3.0", + "get-intrinsic": "^1.2.5", + "object-inspect": "^1.13.3", + "side-channel-map": "^1.0.1" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/signal-exit": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-4.1.0.tgz", + "integrity": "sha512-bzyZ1e88w9O1iNJbKnOlvYTrWPDl46O1bG0D3XInv+9tkPrxrN8jUUTiFlDkkmKWgn1M6CfIA13SuGqOa9Korw==", + "license": "ISC", + "engines": { + "node": ">=14" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/sisteransi": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/sisteransi/-/sisteransi-1.0.5.tgz", + "integrity": "sha512-bLGGlR1QxBcynn2d5YmDX4MGjlZvy2MRBDRNHLJ8VI6l6+9FUiyTFNJ0IveOSP0bcXgVDPRcfGqA0pjaqUpfVg==", + "license": "MIT" + }, + "node_modules/source-map": { + "version": "0.6.1", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", + "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", + "license": "BSD-3-Clause", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/source-map-support": { + "version": "0.5.21", + "resolved": "https://registry.npmjs.org/source-map-support/-/source-map-support-0.5.21.tgz", + "integrity": "sha512-uBHU3L3czsIyYXKX88fdrGovxdSCoTGDRZ6SYXtSRxLZUzHg5P/66Ht6uoUlHu9EZod+inXhKo3qQgwXUT/y1w==", + "license": "MIT", + "dependencies": { + "buffer-from": "^1.0.0", + "source-map": "^0.6.0" + } + }, + "node_modules/standardwebhooks": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/standardwebhooks/-/standardwebhooks-1.1.1.tgz", + "integrity": "sha512-bCbX9ZEyFkWPsRz7Bl3NuQUJohmwGSev/yhr7vhaGPlc4AfIrspIRa6cPTBuI1ItmrTDJ4d/S2hCsfe4+vQGnQ==", + "license": "MIT", + "dependencies": { + "@stablelib/base64": "^1.0.0", + "fast-sha256": "^1.3.0" + } + }, + "node_modules/statuses": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/statuses/-/statuses-2.0.2.tgz", + "integrity": "sha512-DvEy55V3DB7uknRo+4iOGT5fP1slR8wQohVdknigZPMpMstaKJQWhwiYBACJE3Ul2pTnATihhBYnRhZQHGBiRw==", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/string_decoder": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz", + "integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==", + "license": "MIT", + "dependencies": { + "safe-buffer": "~5.1.0" + } + }, + "node_modules/string_decoder/node_modules/safe-buffer": { + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz", + "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==", + "license": "MIT" + }, + "node_modules/strip-final-newline": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/strip-final-newline/-/strip-final-newline-4.0.0.tgz", + "integrity": "sha512-aulFJcD6YK8V1G7iRB5tigAP4TsHBZZrOV8pjV++zdUwmeV8uzbY7yn6h9MswN62adStNZFuCIx4haBnRuMDaw==", + "license": "MIT", + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/strtok3": { + "version": "10.3.5", + "resolved": "https://registry.npmjs.org/strtok3/-/strtok3-10.3.5.tgz", + "integrity": "sha512-ki4hZQfh5rX0QDLLkOCj+h+CVNkqmp/CMf8v8kZpkNVK6jGQooMytqzLZYUVYIZcFZ6yDB70EfD8POcFXiF5oA==", + "license": "MIT", + "dependencies": { + "@tokenizer/token": "^0.3.0" + }, + "engines": { + "node": ">=18" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/Borewit" + } + }, + "node_modules/tar": { + "version": "7.5.22", + "resolved": "https://registry.npmjs.org/tar/-/tar-7.5.22.tgz", + "integrity": "sha512-MFO/QzvtAOmJbkhOaCTvbGcFN9L9b+JunIsDwaKljSOdcLMea3NJ1k9Usz/rjdfSXTq4dfzfeS7W4p4YOAAHeA==", + "license": "BlueOak-1.0.0", + "dependencies": { + "@isaacs/fs-minipass": "^4.0.0", + "chownr": "^3.0.0", + "minipass": "^7.1.2", + "minizlib": "^3.1.0", + "yallist": "^5.0.0" + }, + "engines": { + "node": ">=18" + } + }, + "node_modules/toidentifier": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/toidentifier/-/toidentifier-1.0.1.tgz", + "integrity": "sha512-o5sSPKEkg/DIQNmH43V0/uerLrpzVedkUh8tGNvaeXpfpuwjKenlSox/2O/BTlZUtEe+JG7s5YhEz608PlAHRA==", + "license": "MIT", + "engines": { + "node": ">=0.6" + } + }, + "node_modules/token-types": { + "version": "6.1.2", + "resolved": "https://registry.npmjs.org/token-types/-/token-types-6.1.2.tgz", + "integrity": "sha512-dRXchy+C0IgK8WPC6xvCHFRIWYUbqqdEIKPaKo/AcTUNzwLTK6AH7RjdLWsEZcAN/TBdtfUw3PYEgPr5VPr6ww==", + "license": "MIT", + "dependencies": { + "@borewit/text-codec": "^0.2.1", + "@tokenizer/token": "^0.3.0", + "ieee754": "^1.2.1" + }, + "engines": { + "node": ">=14.16" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/Borewit" + } + }, + "node_modules/tr46": { + "version": "0.0.3", + "resolved": "https://registry.npmjs.org/tr46/-/tr46-0.0.3.tgz", + "integrity": "sha512-N3WMsuqV66lT30CrXNbEjx4GEwlow3v6rr4mCcv6prnfwhS01rkgyFdjPNBYd9br7LpXV1+Emh01fHnq2Gdgrw==", + "license": "MIT" + }, + "node_modules/ts-algebra": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/ts-algebra/-/ts-algebra-2.0.0.tgz", + "integrity": "sha512-FPAhNPFMrkwz76P7cdjdmiShwMynZYN6SgOujD1urY4oNm80Ou9oMdmbR45LotcKOXoy7wSmHkRFE6Mxbrhefw==", + "license": "MIT" + }, + "node_modules/tslib": { + "version": "2.8.1", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.8.1.tgz", + "integrity": "sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==", + "license": "0BSD" + }, + "node_modules/tslog": { + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/tslog/-/tslog-5.1.0.tgz", + "integrity": "sha512-g77ALovust2HNBX/63ePEJwetIeX0Vi/dlzqBO+ZAg+aERB54KMmaz/khNPxhFpaxKQ6RQj65sK6vIhj1SJgjQ==", + "license": "MIT", + "bin": { + "tslog": "esm/subpaths/cli.js" + }, + "engines": { + "node": ">=20" + }, + "funding": { + "url": "https://github.com/fullstack-build/tslog?sponsor=1" + } + }, + "node_modules/type-is": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/type-is/-/type-is-2.1.0.tgz", + "integrity": "sha512-faYHw0anBbc/kWF3zFTEnxSFOAGUX9GFbOBthvDdLsIlEoWOFOtS0zgCiQYwIskL9iGXZL3kAXD8OoZ4GmMATA==", + "license": "MIT", + "dependencies": { + "content-type": "^2.0.0", + "media-typer": "^1.1.0", + "mime-types": "^3.0.0" + }, + "engines": { + "node": ">= 18" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/express" + } + }, + "node_modules/type-is/node_modules/content-type": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/content-type/-/content-type-2.1.0.tgz", + "integrity": "sha512-mj7UPXE0jaqaOsukNZRUEfEi2AcL7C/vwmwcHV0O97eO1E1pxBZuyjlZrx5seTaNBg1U6+o35wpa35Qfcc+7ag==", + "license": "MIT", + "engines": { + "node": ">=18" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/express" + } + }, + "node_modules/typebox": { + "version": "1.3.30", + "resolved": "https://registry.npmjs.org/typebox/-/typebox-1.3.30.tgz", + "integrity": "sha512-vRmBLzlaq9O9dvfGmI5CssLGvDC/R594kH6N/Q1uUU5VPO3PTgQMlWe/UVNdNVTr2EET+FX8BWZkFdYgxTglbQ==", + "license": "MIT" + }, + "node_modules/uhyphen": { + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/uhyphen/-/uhyphen-0.2.0.tgz", + "integrity": "sha512-qz3o9CHXmJJPGBdqzab7qAYuW8kQGKNEuoHFYrBwV6hWIMcpAmxDLXojcHfFr9US1Pe6zUswEIJIbLI610fuqA==", + "license": "ISC" + }, + "node_modules/uint8array-extras": { + "version": "1.5.0", + "resolved": "https://registry.npmjs.org/uint8array-extras/-/uint8array-extras-1.5.0.tgz", + "integrity": "sha512-rvKSBiC5zqCCiDZ9kAOszZcDvdAHwwIKJG33Ykj43OKcWsnmcBRL09YTU4nOeHZ8Y2a7l1MgTd08SBe9A8Qj6A==", + "license": "MIT", + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/undici": { + "version": "8.12.3", + "resolved": "https://registry.npmjs.org/undici/-/undici-8.12.3.tgz", + "integrity": "sha512-+fdndUTwBP86cVjihTp21hZHo7d6oj1c/47XPA3lL8mM0XHs+C4EkcjmgRsFnFk2f/UONGDy9ItBItmXsLOQHw==", + "license": "MIT", + "engines": { + "node": ">=22.19.0" + } + }, + "node_modules/undici-types": { + "version": "8.9.0", + "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-8.9.0.tgz", + "integrity": "sha512-KTDyRTYX8sWmKXAikPHHSyc63CRPETMctyjKFupcC6OBLXT3xsN0e9aF7m+mIXutFWpUXuedtowG7iLOzp0kQg==", + "license": "MIT" + }, + "node_modules/unicorn-magic": { + "version": "0.3.0", + "resolved": "https://registry.npmjs.org/unicorn-magic/-/unicorn-magic-0.3.0.tgz", + "integrity": "sha512-+QBBXBCvifc56fsbuxZQ6Sic3wqqc3WWaqxs58gvJrcOuN83HGTCwz3oS5phzU9LthRNE9VrJCFCLUgHeeFnfA==", + "license": "MIT", + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/unpipe": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/unpipe/-/unpipe-1.0.0.tgz", + "integrity": "sha512-pjy2bYhSsufwWlKwPc+l3cN7+wuJlK6uz0YdJEOlQDbl6jo/YlPi4mb8agUkVC8BF7V8NuzeyPNqRksA3hztKQ==", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/util-deprecate": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz", + "integrity": "sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw==", + "license": "MIT" + }, + "node_modules/vary": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/vary/-/vary-1.1.2.tgz", + "integrity": "sha512-BNGbWLfd0eUPabhkXUVm0j8uuvREyTh5ovRa/dyow/BqAbZJyC+5fU+IzQOzmAKzYqYRAISoRhdQr3eIZ/PXqg==", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/web-streams-polyfill": { + "version": "3.3.3", + "resolved": "https://registry.npmjs.org/web-streams-polyfill/-/web-streams-polyfill-3.3.3.tgz", + "integrity": "sha512-d2JWLCivmZYTSIoge9MsgFCZrt571BikcWGYkjC1khllbTeDlGqZ2D8vD8E/lJa8WGWbb7Plm8/XJYV7IJHZZw==", + "license": "MIT", + "engines": { + "node": ">= 8" + } + }, + "node_modules/web-tree-sitter": { + "version": "0.27.0", + "resolved": "https://registry.npmjs.org/web-tree-sitter/-/web-tree-sitter-0.27.0.tgz", + "integrity": "sha512-XK08gj6RwTMQatAG7uVRP8MunqotL/XC19vHgkSPKmELgbGPBj4ECvB8haHOUnyj6ls2B8t42UTro14zxGgAHg==", + "license": "MIT" + }, + "node_modules/webidl-conversions": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-3.0.1.tgz", + "integrity": "sha512-2JAn3z8AR6rjK8Sm8orRC0h/bcl/DqL7tRPdGZ4I1CjdF+EaMLmYxBHyXuKL849eucPFhvBoxMsflfOb8kxaeQ==", + "license": "BSD-2-Clause" + }, + "node_modules/whatwg-url": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/whatwg-url/-/whatwg-url-5.0.0.tgz", + "integrity": "sha512-saE57nupxk6v3HY35+jzBwYa0rKSy0XR8JSxZPwgLr7ys0IBzhGviA1/TUGJLmSVqs8pb9AnvICXEuOHLprYTw==", + "license": "MIT", + "dependencies": { + "tr46": "~0.0.3", + "webidl-conversions": "^3.0.0" + } + }, + "node_modules/which": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", + "integrity": "sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==", + "license": "ISC", + "dependencies": { + "isexe": "^2.0.0" + }, + "bin": { + "node-which": "bin/node-which" + }, + "engines": { + "node": ">= 8" + } + }, + "node_modules/which-command": { + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/which-command/-/which-command-0.1.0.tgz", + "integrity": "sha512-XZyoF5/5hZtXitIwzrU4NKK+Wtbb9aB9CezUEw2Q0wlYK8NUYQxC1rRXgNueYLtBAJwXIb+/tFVk4dozciNJMA==", + "license": "MIT", + "bin": { + "which-command": "cli.js" + }, + "engines": { + "node": ">=22" + }, + "funding": { + "url": "https://github.com/sindresorhus/which-command?sponsor=1" + } + }, + "node_modules/wrappy": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", + "integrity": "sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==", + "license": "ISC" + }, + "node_modules/ws": { + "version": "8.21.3", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.21.3.tgz", + "integrity": "sha512-201TZ/kPWxoPr/OKWjquZR1SWKXcvxdH+e1xrx89b3YbmzLMFCLfnaG1HFIgWzJOEWZ7MvpK++odZufgYR50Rw==", + "license": "MIT", + "engines": { + "node": ">=10.0.0" + }, + "peerDependencies": { + "bufferutil": "^4.0.1", + "utf-8-validate": ">=5.0.2" + }, + "peerDependenciesMeta": { + "bufferutil": { + "optional": true + }, + "utf-8-validate": { + "optional": true + } + } + }, + "node_modules/yallist": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/yallist/-/yallist-5.0.0.tgz", + "integrity": "sha512-YgvUTfwqyc7UXVMrB+SImsVYSmTS8X/tSrtdNZMImM+n7+QTriRXyXim0mBrTXNeqzVF0KWGgHPeiyViFFrNDw==", + "license": "BlueOak-1.0.0", + "engines": { + "node": ">=18" + } + }, + "node_modules/yoctocolors": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/yoctocolors/-/yoctocolors-2.2.0.tgz", + "integrity": "sha512-xYqdZFUK/VYazNl/oCDYN+3WloWQwMfZxBoiNt6qNyk+xfOdi598muWE42rNZFp1kNOiqW936q5RhUdnpqElSg==", + "license": "MIT", + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/zod": { + "version": "4.6.6", + "resolved": "https://registry.npmjs.org/zod/-/zod-4.6.6.tgz", + "integrity": "sha512-4UmzQUF5fxvfcYHlbjBmejU+w+hbDnWFx4aS8kBx7nPBHcO2SqPbpAG8snbdg+Xse4pRefR98hgjFgIMCI/UhA==", + "license": "MIT", + "funding": { + "url": "https://github.com/sponsors/colinhacks" + } + }, + "node_modules/zod-to-json-schema": { + "version": "3.25.2", + "resolved": "https://registry.npmjs.org/zod-to-json-schema/-/zod-to-json-schema-3.25.2.tgz", + "integrity": "sha512-O/PgfnpT1xKSDeQYSCfRI5Gy3hPf91mKVDuYLUHZJMiDFptvP41MSnWofm8dnCm0256ZNfZIM7DSzuSMAFnjHA==", + "license": "ISC", + "peerDependencies": { + "zod": "^3.25.28 || ^4" + } + } + } +} diff --git a/agents/openclaw/openclaw-migration-2026.9.5-runtime/package.json b/agents/openclaw/openclaw-migration-2026.9.5-runtime/package.json new file mode 100644 index 00000000000..e3a7e112c90 --- /dev/null +++ b/agents/openclaw/openclaw-migration-2026.9.5-runtime/package.json @@ -0,0 +1,27 @@ +{ + "name": "nemoclaw-openclaw-runtime", + "version": "0.0.0", + "private": true, + "description": "Pinned OpenClaw 2026.9.5 runtime for offline legacy state migration", + "license": "Apache-2.0", + "dependencies": { + "openclaw": "2026.9.5" + }, + "overrides": { + "@modelcontextprotocol/sdk": "1.32.0", + "body-parser": "2.4.0", + "fast-uri": "3.1.8", + "hono": "4.13.11", + "npm": { + ".": "12.2.1", + "undici": "6.29.1" + }, + "tar": "7.5.22", + "undici": "8.12.3", + "zod": "4.6.6" + }, + "engines": { + "node": ">=24.16.0 <25 || >=26.1.0" + }, + "$comment": "SPDX-FileCopyrightText: Copyright (c) 2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.\nSPDX-License-Identifier: Apache-2.0" +} diff --git a/agents/openclaw/openclaw-migration-2026.9.7-runtime/package-lock.json b/agents/openclaw/openclaw-migration-2026.9.7-runtime/package-lock.json new file mode 100644 index 00000000000..37a0a648fda --- /dev/null +++ b/agents/openclaw/openclaw-migration-2026.9.7-runtime/package-lock.json @@ -0,0 +1,7199 @@ +{ + "name": "nemoclaw-openclaw-runtime", + "version": "0.0.0", + "lockfileVersion": 3, + "requires": true, + "packages": { + "": { + "name": "nemoclaw-openclaw-runtime", + "version": "0.0.0", + "license": "Apache-2.0", + "dependencies": { + "openclaw": "2026.9.7" + }, + "engines": { + "node": ">=24.16.0 <25 || >=26.1.0" + } + }, + "node_modules/@agentclientprotocol/sdk": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/@agentclientprotocol/sdk/-/sdk-1.4.0.tgz", + "integrity": "sha512-/eufudw+aFY1LKLolT6yFE6UMmYRl7fMJ/DEONSIyR6wI3slHWITBsANRGqXEY8FRzqUxwh7QEaGiZHcJPVThg==", + "license": "Apache-2.0", + "peerDependencies": { + "zod": "^3.25.0 || ^4.0.0" + } + }, + "node_modules/@anthropic-ai/sdk": { + "version": "0.127.0", + "resolved": "https://registry.npmjs.org/@anthropic-ai/sdk/-/sdk-0.127.0.tgz", + "integrity": "sha512-OKiVbG9LHCxjn4fBJZJFy/Bz3hqE1RYpwaeSEDNheQnvz0XNKmGT/Lhkz2Sf1a27Ldt3vVv+BkU81I0U/8EpoQ==", + "license": "MIT", + "dependencies": { + "json-schema-to-ts": "^3.1.1", + "standardwebhooks": "^1.0.0" + }, + "bin": { + "anthropic-ai-sdk": "bin/cli" + }, + "peerDependencies": { + "zod": "^3.25.0 || ^4.0.0" + }, + "peerDependenciesMeta": { + "zod": { + "optional": true + } + } + }, + "node_modules/@babel/code-frame": { + "version": "8.0.6", + "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-8.0.6.tgz", + "integrity": "sha512-uMHhvmDmwFiLuiozaoRYTZHqMFuu3fem/X9JY78lohAuLoh8LSGGC8JqUzo2cVuBsBxkjMZNk56CE7ock8Xxkw==", + "license": "MIT", + "dependencies": { + "@babel/helper-validator-identifier": "^8.0.6", + "js-tokens": "^10.0.0" + }, + "engines": { + "node": "^22.18.0 || >=24.11.0" + } + }, + "node_modules/@babel/generator": { + "version": "8.0.6", + "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-8.0.6.tgz", + "integrity": "sha512-/pcanjdRsonCexCuxgGD8fKnBLLzk2i9uM4kmcmGyyev2R5YDs+rafMYZ89RvaGY1mW8T7C5au0TyYaEeHBGng==", + "license": "MIT", + "dependencies": { + "@babel/parser": "^8.0.6", + "@babel/types": "^8.0.6", + "@jridgewell/gen-mapping": "0.4.0-beta.0", + "@jridgewell/trace-mapping": "^0.3.31", + "@types/jsesc": "^2.5.0", + "jsesc": "^3.0.2" + }, + "engines": { + "node": "^22.18.0 || >=24.11.0" + } + }, + "node_modules/@babel/helper-globals": { + "version": "8.0.6", + "resolved": "https://registry.npmjs.org/@babel/helper-globals/-/helper-globals-8.0.6.tgz", + "integrity": "sha512-OdnA/N52LhzFpeUuVz5YGuSWjc7TPHiFmVYZbPlSgExocO2GwbxVpSni9MVs5wwW+wZ4kPuwBEBN9pIPDYz1mA==", + "license": "MIT", + "engines": { + "node": "^22.18.0 || >=24.11.0" + } + }, + "node_modules/@babel/helper-string-parser": { + "version": "8.0.6", + "resolved": "https://registry.npmjs.org/@babel/helper-string-parser/-/helper-string-parser-8.0.6.tgz", + "integrity": "sha512-+6HYEBnsDRZHJtUTAEfMQd0zMDqdFHS7C+5vAsEZqBUr3vEMWOWlHJ0Jz1gS8jJIlCvLsuA6ivmeoqzH936YcA==", + "license": "MIT", + "engines": { + "node": "^22.18.0 || >=24.11.0" + } + }, + "node_modules/@babel/helper-validator-identifier": { + "version": "8.0.6", + "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-8.0.6.tgz", + "integrity": "sha512-HYx0YmuchRxRSpnjvcNffnPS8DCauKNmnumIuHG3jnQAVewRA7kfJGwF13ayEpSZs7s4R/oBH4eppuXcAQd5JQ==", + "license": "MIT", + "engines": { + "node": "^22.18.0 || >=24.11.0" + } + }, + "node_modules/@babel/parser": { + "version": "8.0.6", + "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-8.0.6.tgz", + "integrity": "sha512-LpGDIYJAzc3Y3PT9x+FxBrGYu2PlWxLmyN7SwPTzaX0LSwEmFJBsRnPBqmaXF2r1v+Zhz6lNiEJ+7yKtM5+Ugg==", + "license": "MIT", + "dependencies": { + "@babel/types": "^8.0.6" + }, + "bin": { + "parser": "bin/babel-parser.js" + }, + "engines": { + "node": "^22.18.0 || >=24.11.0" + } + }, + "node_modules/@babel/runtime": { + "version": "7.29.10", + "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.29.10.tgz", + "integrity": "sha512-NpugTzbKgGrNe45Ui32cN8vCFFMxVtP/9rtfwv0nP5FRDAjvYBxJcLVpYA9mr1jxP6cnIT7x9LUzuDTbWYYNRA==", + "license": "MIT", + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/template": { + "version": "8.0.0", + "resolved": "https://registry.npmjs.org/@babel/template/-/template-8.0.0.tgz", + "integrity": "sha512-eAD0QW/AlbamBbw0FeGiwasbCVPq5ncW0HNVyLP3B9czqLyh4gvw+5JTSNt6le9+ziAU7mqDZsKTHf3jTb4chQ==", + "license": "MIT", + "dependencies": { + "@babel/code-frame": "^8.0.0", + "@babel/parser": "^8.0.0", + "@babel/types": "^8.0.0" + }, + "engines": { + "node": "^22.18.0 || >=24.11.0" + } + }, + "node_modules/@babel/traverse": { + "version": "8.0.6", + "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-8.0.6.tgz", + "integrity": "sha512-ilYV+qLStGzSKLipJlETdvdtpK3rAuwfCmCoGKv15MU4EoeIuLkespSNoNLFGOPSciEHx9TLWtN5mv0fz5w5mQ==", + "license": "MIT", + "dependencies": { + "@babel/code-frame": "^8.0.6", + "@babel/generator": "^8.0.6", + "@babel/helper-globals": "^8.0.6", + "@babel/parser": "^8.0.6", + "@babel/template": "^8.0.0", + "@babel/types": "^8.0.6", + "obug": "^2.1.1" + }, + "engines": { + "node": "^22.18.0 || >=24.11.0" + } + }, + "node_modules/@babel/types": { + "version": "8.0.6", + "resolved": "https://registry.npmjs.org/@babel/types/-/types-8.0.6.tgz", + "integrity": "sha512-c+xgSWboV2pdwXP67BUWDVRHi2BO5Q3KwxyFVs7taVTY+fsK47/L51ZXQoV9rozHJDNHvJ4v4WEsI/IlxV2l2A==", + "license": "MIT", + "dependencies": { + "@babel/helper-string-parser": "^8.0.6", + "@babel/helper-validator-identifier": "^8.0.6" + }, + "engines": { + "node": "^22.18.0 || >=24.11.0" + } + }, + "node_modules/@borewit/text-codec": { + "version": "0.2.2", + "resolved": "https://registry.npmjs.org/@borewit/text-codec/-/text-codec-0.2.2.tgz", + "integrity": "sha512-DDaRehssg1aNrH4+2hnj1B7vnUGEjU6OIlyRdkMd0aUdIUvKXrJfXsy8LVtXAy7DRvYVluWbMspsRhz2lcW0mQ==", + "license": "MIT", + "funding": { + "type": "github", + "url": "https://github.com/sponsors/Borewit" + } + }, + "node_modules/@clack/core": { + "version": "1.5.1", + "resolved": "https://registry.npmjs.org/@clack/core/-/core-1.5.1.tgz", + "integrity": "sha512-iHTrHA8MtVuLl2TfZySmcKv1qO2PoyC9Z7pfSDozEuV5vtY3/wcOPKJXlqJ5Oq2Cx5DDGQGAMVx6HZfRRoVEbQ==", + "license": "MIT", + "dependencies": { + "fast-wrap-ansi": "^0.2.0", + "sisteransi": "^1.0.5" + }, + "engines": { + "node": ">= 20.12.0" + } + }, + "node_modules/@clack/prompts": { + "version": "1.8.1", + "resolved": "https://registry.npmjs.org/@clack/prompts/-/prompts-1.8.1.tgz", + "integrity": "sha512-dlT1m5e/0yUL0kRNcQn7yGLVThkgbB0Ga/1AmfDDC/8ik6AIiSf2QLQO2zPYvefsHP0aFgxO93cVLCCfDp7kzQ==", + "license": "MIT", + "dependencies": { + "@clack/core": "1.5.1", + "fast-string-width": "^3.0.2", + "fast-wrap-ansi": "^0.2.0", + "sisteransi": "^1.0.5" + }, + "engines": { + "node": ">= 20.12.0" + } + }, + "node_modules/@earendil-works/pi-tui": { + "version": "0.86.1", + "resolved": "https://registry.npmjs.org/@earendil-works/pi-tui/-/pi-tui-0.86.1.tgz", + "integrity": "sha512-FU/zU/zG4RWokcZt+BVXXcieWi5ggvYnWP2kkB5XXjMaHRoy5BDhcZJ9JAnLTN9MwrCRoXgPQxOI0bFqwYeZkQ==", + "license": "MIT", + "dependencies": { + "get-east-asian-width": "1.6.0", + "marked": "18.0.11" + }, + "engines": { + "node": ">=22.19.0" + } + }, + "node_modules/@esbuild/aix-ppc64": { + "version": "0.28.2", + "resolved": "https://registry.npmjs.org/@esbuild/aix-ppc64/-/aix-ppc64-0.28.2.tgz", + "integrity": "sha512-XExcO+dvLKvVtNTibSTBej1NCAbaGhWn9Ww1ZPx80qsahhPFe/8jgWP0IchNe0F3HwkU7n8ejhH8bjonqht8mQ==", + "cpu": [ + "ppc64" + ], + "license": "MIT", + "optional": true, + "os": [ + "aix" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/android-arm": { + "version": "0.28.2", + "resolved": "https://registry.npmjs.org/@esbuild/android-arm/-/android-arm-0.28.2.tgz", + "integrity": "sha512-kXXoiPVVGQcnIYGOeaovwOURpniDBpSq4A03qkQ+BMQqtGG6HYap3xne9C1O1yo4TR3qxlCX5IqqmX6fFo2Lqg==", + "cpu": [ + "arm" + ], + "license": "MIT", + "optional": true, + "os": [ + "android" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/android-arm64": { + "version": "0.28.2", + "resolved": "https://registry.npmjs.org/@esbuild/android-arm64/-/android-arm64-0.28.2.tgz", + "integrity": "sha512-5YfKeeI8qWfBZIX+u2xZC3Zlb3Os/gLS2sbEKM+I4ZOcsWmHS2WLysCcQZDAFRslDUU5Oiq44gf6PYN1vGwG5A==", + "cpu": [ + "arm64" + ], + "license": "MIT", + "optional": true, + "os": [ + "android" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/android-x64": { + "version": "0.28.2", + "resolved": "https://registry.npmjs.org/@esbuild/android-x64/-/android-x64-0.28.2.tgz", + "integrity": "sha512-O387ite7SzUyCcy3JQX4P4bLtEA7bLLkx+esve5JHnyYfNTxcVpXZo9jhdB0lTKN44gztELTdU7nS8Nr16Fs1Q==", + "cpu": [ + "x64" + ], + "license": "MIT", + "optional": true, + "os": [ + "android" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/darwin-arm64": { + "version": "0.28.2", + "resolved": "https://registry.npmjs.org/@esbuild/darwin-arm64/-/darwin-arm64-0.28.2.tgz", + "integrity": "sha512-n4KqkOQrraxHJcgjM1RvwbigfQKIKJVpM7xp+KsxiyUSrRdIXnt73VhrPAx0fV44hgfmIVKjxMN9J1t5jySVkw==", + "cpu": [ + "arm64" + ], + "license": "MIT", + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/darwin-x64": { + "version": "0.28.2", + "resolved": "https://registry.npmjs.org/@esbuild/darwin-x64/-/darwin-x64-0.28.2.tgz", + "integrity": "sha512-uq6suIWYP37qzGddBKPw5QEQPi6HiLGsO7UmkpfyaYNQ3D+rN6w6WfwH+nuqcGXWvawGwxOEroO4YGnFh95azw==", + "cpu": [ + "x64" + ], + "license": "MIT", + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/freebsd-arm64": { + "version": "0.28.2", + "resolved": "https://registry.npmjs.org/@esbuild/freebsd-arm64/-/freebsd-arm64-0.28.2.tgz", + "integrity": "sha512-n+I0BTSRIoy+d6RPKnEVwql5UwBJolytvY4mAOIEJorKlqgPII8ix6slVVrfZ5Tnj7glIZvloylbB/EJPMWEXw==", + "cpu": [ + "arm64" + ], + "license": "MIT", + "optional": true, + "os": [ + "freebsd" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/freebsd-x64": { + "version": "0.28.2", + "resolved": "https://registry.npmjs.org/@esbuild/freebsd-x64/-/freebsd-x64-0.28.2.tgz", + "integrity": "sha512-78XJTJkvPs0kz2w61301PJjXl4g7q3JqiYMZ/M/yVI73EHBrCRTgkhu9oqG7vPqq+a/yadEW8aD+agKlk5xrmg==", + "cpu": [ + "x64" + ], + "license": "MIT", + "optional": true, + "os": [ + "freebsd" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/linux-arm": { + "version": "0.28.2", + "resolved": "https://registry.npmjs.org/@esbuild/linux-arm/-/linux-arm-0.28.2.tgz", + "integrity": "sha512-XlDnu2q5yoqems+xay6wSAcg9DDD7K9RLKZEBOMZm3ckNpJBvOX20tSfby8KfrrhINDyv9V2YVZKY/SpoGJI8w==", + "cpu": [ + "arm" + ], + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/linux-arm64": { + "version": "0.28.2", + "resolved": "https://registry.npmjs.org/@esbuild/linux-arm64/-/linux-arm64-0.28.2.tgz", + "integrity": "sha512-pW4AC0P3it8c7do9MVM4p51FzHzdM/TZrerurgRcHJ2WTa1VQ1CIq18xncfpBJw4ojkiZZrKW2yIBWBP92j6Ug==", + "cpu": [ + "arm64" + ], + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/linux-ia32": { + "version": "0.28.2", + "resolved": "https://registry.npmjs.org/@esbuild/linux-ia32/-/linux-ia32-0.28.2.tgz", + "integrity": "sha512-CYbnj78HsIeA+DhgUKgFCfvNsTHFhMMrinUrMZpDXJXKN8T3XViTZ/+wtHeVxEWY8ewSzTFN+nRmSwO2tZaLUQ==", + "cpu": [ + "ia32" + ], + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/linux-loong64": { + "version": "0.28.2", + "resolved": "https://registry.npmjs.org/@esbuild/linux-loong64/-/linux-loong64-0.28.2.tgz", + "integrity": "sha512-buwkd8nsph4R+ajRvw0qM5Hja/TXQow3ptzWO2EbG/cqcIkHloRrdlBtQlshyYGTNFvfkfJ5tpPLVkY4DtsPfQ==", + "cpu": [ + "loong64" + ], + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/linux-mips64el": { + "version": "0.28.2", + "resolved": "https://registry.npmjs.org/@esbuild/linux-mips64el/-/linux-mips64el-0.28.2.tgz", + "integrity": "sha512-ZVykbDyk7519VwiNb9Lcj9m8XM6v5V9uKPvrEMkkEedVewf+0itkhahp4HDpgERXhwLRpWFypsGbG/J8s0QjJA==", + "cpu": [ + "mips64el" + ], + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/linux-ppc64": { + "version": "0.28.2", + "resolved": "https://registry.npmjs.org/@esbuild/linux-ppc64/-/linux-ppc64-0.28.2.tgz", + "integrity": "sha512-CAXl+Dtd9UUuJd8pKKdwh6MLm3MUMiqMPmhZ3tTSXPqfyQ3vDl6R5hZdZ/kYojK4ofXtdfSv1tFq8XzWx3heNQ==", + "cpu": [ + "ppc64" + ], + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/linux-riscv64": { + "version": "0.28.2", + "resolved": "https://registry.npmjs.org/@esbuild/linux-riscv64/-/linux-riscv64-0.28.2.tgz", + "integrity": "sha512-GeXCej4IQtU1B+QlDV8W/RRvbzI3O/Stss+/bCXv4lZls5WGRtu2a+3JkA3i4qIUlMXpcHebWpF8AkJhATowuA==", + "cpu": [ + "riscv64" + ], + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/linux-s390x": { + "version": "0.28.2", + "resolved": "https://registry.npmjs.org/@esbuild/linux-s390x/-/linux-s390x-0.28.2.tgz", + "integrity": "sha512-3H1weTYZPxt/WOhByszQZybS9w5lKzUn1FDMsgEChbHWQwHYQQRfBxgCcZvPhjHfKyJjIievvMmEUawJrdY9Dg==", + "cpu": [ + "s390x" + ], + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/linux-x64": { + "version": "0.28.2", + "resolved": "https://registry.npmjs.org/@esbuild/linux-x64/-/linux-x64-0.28.2.tgz", + "integrity": "sha512-4xTZr1FUmSoQW4XIWmit3tzQrUTZM+N3P0XV8xROKYF50XfI7xeO90+1bZvNwxIufQ9hDQVRJH5YhgPVF8A/HQ==", + "cpu": [ + "x64" + ], + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/netbsd-arm64": { + "version": "0.28.2", + "resolved": "https://registry.npmjs.org/@esbuild/netbsd-arm64/-/netbsd-arm64-0.28.2.tgz", + "integrity": "sha512-sSATRjPeDBg3pdgHoQfoYBob11Kk1FGa9lui5RIHZCoCkJa9QKlvl3/vKz2usCmYYjs7ymJR/2Nnsqe+Hjt5nw==", + "cpu": [ + "arm64" + ], + "license": "MIT", + "optional": true, + "os": [ + "netbsd" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/netbsd-x64": { + "version": "0.28.2", + "resolved": "https://registry.npmjs.org/@esbuild/netbsd-x64/-/netbsd-x64-0.28.2.tgz", + "integrity": "sha512-lqnzCV+mM0gIADaKihiCg6ifgfU2L3h5E33rNQBN1Y4MaVGnzryzmvvf7UHxprpQdE8hpqLolJ9Rl+SkIRDpyw==", + "cpu": [ + "x64" + ], + "license": "MIT", + "optional": true, + "os": [ + "netbsd" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/openbsd-arm64": { + "version": "0.28.2", + "resolved": "https://registry.npmjs.org/@esbuild/openbsd-arm64/-/openbsd-arm64-0.28.2.tgz", + "integrity": "sha512-AL2qJILH7lNjrDmCQDvdxMfAUIv8KMNZOvrwAQ8i8//ntL9FflhOyMJ8OZSMBb8/AWXe3/5v5S20y3zCoZWKoQ==", + "cpu": [ + "arm64" + ], + "license": "MIT", + "optional": true, + "os": [ + "openbsd" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/openbsd-x64": { + "version": "0.28.2", + "resolved": "https://registry.npmjs.org/@esbuild/openbsd-x64/-/openbsd-x64-0.28.2.tgz", + "integrity": "sha512-QtiuPytchRyC4rwUKhexJdQKvDuZ6hWloi3igqPQNUJCS1/v9EiO3UTOXR6A3FoMo4fnAKbWJdqaIwhOzh8qEw==", + "cpu": [ + "x64" + ], + "license": "MIT", + "optional": true, + "os": [ + "openbsd" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/openharmony-arm64": { + "version": "0.28.2", + "resolved": "https://registry.npmjs.org/@esbuild/openharmony-arm64/-/openharmony-arm64-0.28.2.tgz", + "integrity": "sha512-WkhYDmpTjLvGlScA1rwjRUmhl4k8oXR3cIbtqWmELgU/dFeHHlEllxDvdWcNJV9rbzCexB5vz8gtNewWLgCT7Q==", + "cpu": [ + "arm64" + ], + "license": "MIT", + "optional": true, + "os": [ + "openharmony" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/sunos-x64": { + "version": "0.28.2", + "resolved": "https://registry.npmjs.org/@esbuild/sunos-x64/-/sunos-x64-0.28.2.tgz", + "integrity": "sha512-GPMSkTOtMnv2U2F8gxe4Io6qmVs+YKyp832Etqqxr0hFngmXQ3rzwytelm3GIn7T4VviRUlf3sOgBOiTdvaf7g==", + "cpu": [ + "x64" + ], + "license": "MIT", + "optional": true, + "os": [ + "sunos" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/win32-arm64": { + "version": "0.28.2", + "resolved": "https://registry.npmjs.org/@esbuild/win32-arm64/-/win32-arm64-0.28.2.tgz", + "integrity": "sha512-PIhhEkE9uPBleRBrQEJpUn7MBnibZzbGzYWPmY3x+YoVg/95zbjB4CxPPOQ8l5tYYM4mMaCthF8/1DIfBQQyWQ==", + "cpu": [ + "arm64" + ], + "license": "MIT", + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/win32-ia32": { + "version": "0.28.2", + "resolved": "https://registry.npmjs.org/@esbuild/win32-ia32/-/win32-ia32-0.28.2.tgz", + "integrity": "sha512-YmJbfTlvU7Sdn9BB+4PRES4oB6pxgS37MAONj+hBr/cpXS1aBPKXxNnDbu+QCWPj0o9dgyxeq79g6c5P8KeuYA==", + "cpu": [ + "ia32" + ], + "license": "MIT", + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/win32-x64": { + "version": "0.28.2", + "resolved": "https://registry.npmjs.org/@esbuild/win32-x64/-/win32-x64-0.28.2.tgz", + "integrity": "sha512-5ebpxr3nWMzrL/rnUI755Jkuee0bHL/Gq0WTF9lvcpv73wAp5eu8MfBUgWK9bhWvZjj7yX8etf/8tI8Ney695g==", + "cpu": [ + "x64" + ], + "license": "MIT", + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@google/genai": { + "version": "2.23.0", + "resolved": "https://registry.npmjs.org/@google/genai/-/genai-2.23.0.tgz", + "integrity": "sha512-NFMzktoZ7jJg9AA3vUbWZocnkQP6DSGzL21ORwdVcBWkHli3k7v6B9zy07M4bTiKDAyIWfUh2J/oLYxCu0hNpQ==", + "hasInstallScript": true, + "license": "Apache-2.0", + "dependencies": { + "google-auth-library": "^10.3.0", + "p-retry": "^4.6.2", + "protobufjs": "^7.5.4", + "ws": "^8.18.0" + }, + "engines": { + "node": ">=20.0.0" + }, + "peerDependencies": { + "@modelcontextprotocol/sdk": "^1.25.2" + }, + "peerDependenciesMeta": { + "@modelcontextprotocol/sdk": { + "optional": true + } + } + }, + "node_modules/@grammyjs/transformer-throttler": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/@grammyjs/transformer-throttler/-/transformer-throttler-1.2.1.tgz", + "integrity": "sha512-CpWB0F3rJdUiKsq7826QhQsxbZi4wqfz1ccKX+fr+AOC+o8K7ZvS+wqX0suSu1QCsyUq2MDpNiKhyL2ZOJUS4w==", + "license": "MIT", + "dependencies": { + "bottleneck": "^2.0.0" + }, + "engines": { + "node": "^12.20.0 || >=14.13.1" + }, + "peerDependencies": { + "grammy": "^1.0.0" + } + }, + "node_modules/@grammyjs/types": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/@grammyjs/types/-/types-5.0.0.tgz", + "integrity": "sha512-iq1Qrq1iPKkB8yAa0qSuIURMZOCuqTY5pWy5gHpCeL1oQ+GPadGhw/cDTVE8waJwuCzacUzuIjRv1sESvk7u7A==", + "license": "MIT" + }, + "node_modules/@homebridge/ciao": { + "version": "1.3.12", + "resolved": "https://registry.npmjs.org/@homebridge/ciao/-/ciao-1.3.12.tgz", + "integrity": "sha512-84/0u0kqKy4qcKupIDaTtbkmk+3qFDuMzxTC0NPfVlHcUT+jHGdP+QCqwEw94/GJxRezDeBLwxaclkBZgCdeUg==", + "license": "MIT", + "dependencies": { + "debug": "^4.4.3", + "fast-deep-equal": "^3.1.3", + "source-map-support": "^0.5.21", + "tslib": "^2.8.1" + }, + "bin": { + "ciao-bcs": "lib/bonjour-conformance-testing.js" + } + }, + "node_modules/@hono/node-server": { + "version": "2.1.5", + "resolved": "https://registry.npmjs.org/@hono/node-server/-/node-server-2.1.5.tgz", + "integrity": "sha512-MgP/I06GdvsilDspMk/qmRzpk8LOUStP6jFAbSRi40W09DhoyUn+Mj7eyKICPqeYKybOjVFLVIAQzvu1bfIa7Q==", + "license": "MIT", + "engines": { + "node": ">=20" + }, + "peerDependencies": { + "hono": "^4 || ^5.0.0-0" + } + }, + "node_modules/@isaacs/fs-minipass": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/@isaacs/fs-minipass/-/fs-minipass-4.0.1.tgz", + "integrity": "sha512-wgm9Ehl2jpeqP3zw/7mo3kRHFp5MEDhqAdwy1fTGkHAwnkGOVsgpvQhL8B5n1qlb01jV3n/bI0ZfZp5lWA1k4w==", + "license": "ISC", + "dependencies": { + "minipass": "^7.0.4" + }, + "engines": { + "node": ">=18.0.0" + } + }, + "node_modules/@jridgewell/gen-mapping": { + "version": "0.4.0-beta.0", + "resolved": "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.4.0-beta.0.tgz", + "integrity": "sha512-JdGNkbE4GlNPYQhM0L95fBQr7ctLZJ276QXQLTad4t1oSdnnCI3fDq9DW3BqYAWv8Wc3+HS+4Gsii1oPMCfz1w==", + "license": "MIT", + "dependencies": { + "@jridgewell/sourcemap-codec": "^1.6.0-beta.0", + "@jridgewell/trace-mapping": "^0.3.24" + } + }, + "node_modules/@jridgewell/resolve-uri": { + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/@jridgewell/resolve-uri/-/resolve-uri-3.1.2.tgz", + "integrity": "sha512-bRISgCIjP20/tbWSPWMEi54QVPRZExkuD9lJL+UIxUKtwVJA8wW1Trb1jMs1RFXo1CBTNZ/5hpC9QvmKWdopKw==", + "license": "MIT", + "engines": { + "node": ">=6.0.0" + } + }, + "node_modules/@jridgewell/sourcemap-codec": { + "version": "1.6.0", + "resolved": "https://registry.npmjs.org/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.6.0.tgz", + "integrity": "sha512-T7jf+5zgsZHwNJ4lvQ7/aezbyk0nNX+zJVWpmHA7VYsEx7a7qr5Rg5IbtJFqkgze5Y2sruq1RUY8Q837Od7iFw==", + "license": "MIT" + }, + "node_modules/@jridgewell/trace-mapping": { + "version": "0.3.31", + "resolved": "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.31.tgz", + "integrity": "sha512-zzNR+SdQSDJzc8joaeP8QQoCQr8NuYx2dIIytl1QeBEZHJ9uW6hebsrYgbz8hJwUQao3TWCMtmfV8Nu1twOLAw==", + "license": "MIT", + "dependencies": { + "@jridgewell/resolve-uri": "^3.1.0", + "@jridgewell/sourcemap-codec": "^1.4.14" + } + }, + "node_modules/@koromix/koffi-android-arm64": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/@koromix/koffi-android-arm64/-/koffi-android-arm64-3.3.1.tgz", + "integrity": "sha512-S3yMzUGca5UJRioY7wdBjeO+LuW9mQhrksL+Wd5ri1X7kWMB2IGLzrT1mn1xqx02Vicgvuy5GtkhHuxG5mkzYw==", + "cpu": [ + "arm64" + ], + "license": "MIT", + "optional": true, + "os": [ + "android" + ], + "funding": { + "url": "https://liberapay.com/Koromix" + } + }, + "node_modules/@koromix/koffi-android-x64": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/@koromix/koffi-android-x64/-/koffi-android-x64-3.3.1.tgz", + "integrity": "sha512-QaKSyVi37j19CfN2tR3q8lQMosZ+mQIOQXcNQmWXfYDUs9x2CSCxzvMTeQyFyGdAqB58dBluEiy8V5ZMvARSHg==", + "cpu": [ + "x64" + ], + "license": "MIT", + "optional": true, + "os": [ + "android" + ], + "funding": { + "url": "https://liberapay.com/Koromix" + } + }, + "node_modules/@koromix/koffi-darwin-arm64": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/@koromix/koffi-darwin-arm64/-/koffi-darwin-arm64-3.3.1.tgz", + "integrity": "sha512-xVLQMZzACn6TQJsGp/mBF71mfRyuhmxTBGcQLfJM59YArNN/9+1JV8FFCElmgspffijASZsLwbSEdPwZMNeDhQ==", + "cpu": [ + "arm64" + ], + "license": "MIT", + "optional": true, + "os": [ + "darwin" + ], + "funding": { + "url": "https://liberapay.com/Koromix" + } + }, + "node_modules/@koromix/koffi-darwin-x64": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/@koromix/koffi-darwin-x64/-/koffi-darwin-x64-3.3.1.tgz", + "integrity": "sha512-+VGqqnBQvR+AbAbRyRDsxK0D6wwAivUURWsyVX8NhR5agf+0+sSAdNMsSy+9DyO7CmioTUVwV+Do+12uWnFrmA==", + "cpu": [ + "x64" + ], + "license": "MIT", + "optional": true, + "os": [ + "darwin" + ], + "funding": { + "url": "https://liberapay.com/Koromix" + } + }, + "node_modules/@koromix/koffi-freebsd-arm64": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/@koromix/koffi-freebsd-arm64/-/koffi-freebsd-arm64-3.3.1.tgz", + "integrity": "sha512-oPkfxEiLiZs1jV6qqw3DzZy3aigzOb9mGbRtK6ENNgoiZ2QdAw55cXUTOMNiAwgbkBwt7SsorFdUnYUuP5b0Gg==", + "cpu": [ + "arm64" + ], + "license": "MIT", + "optional": true, + "os": [ + "freebsd" + ], + "funding": { + "url": "https://liberapay.com/Koromix" + } + }, + "node_modules/@koromix/koffi-freebsd-ia32": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/@koromix/koffi-freebsd-ia32/-/koffi-freebsd-ia32-3.3.1.tgz", + "integrity": "sha512-uLb93keIlk6TkECtb17z2d5nehEIJ2labIXF0ava3s+9w7VE7QZUw3O2IQVq4t95sIm5rMoE1Y+cFa0aN6444w==", + "cpu": [ + "ia32" + ], + "license": "MIT", + "optional": true, + "os": [ + "freebsd" + ], + "funding": { + "url": "https://liberapay.com/Koromix" + } + }, + "node_modules/@koromix/koffi-freebsd-x64": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/@koromix/koffi-freebsd-x64/-/koffi-freebsd-x64-3.3.1.tgz", + "integrity": "sha512-+Iuh+m5Ln0fjubgw/6bzEkliBcFBIFWWL7IqzmktPy0Q0Bq+XCGtUf+5/KTlodYlTOLv/SE/YTbVkk3c02+E6w==", + "cpu": [ + "x64" + ], + "license": "MIT", + "optional": true, + "os": [ + "freebsd" + ], + "funding": { + "url": "https://liberapay.com/Koromix" + } + }, + "node_modules/@koromix/koffi-linux-arm": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/@koromix/koffi-linux-arm/-/koffi-linux-arm-3.3.1.tgz", + "integrity": "sha512-rE6QypE/h4nDHPlzzVPok5W2gL5CopvBYI44lJXO2SauxVAeV86bbf+ucmF/toYENdjF0DBdY7GbloyixwQpPQ==", + "cpu": [ + "arm" + ], + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "funding": { + "url": "https://liberapay.com/Koromix" + } + }, + "node_modules/@koromix/koffi-linux-arm64": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/@koromix/koffi-linux-arm64/-/koffi-linux-arm64-3.3.1.tgz", + "integrity": "sha512-Itv2N+TvBFTSdEZdokM4ydjbBwr6GNKd51+UXoh/5HVXALBRnMQek2QhBnG7z6H9+/p2SB4rqBnvhuLQpv4B7g==", + "cpu": [ + "arm64" + ], + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "funding": { + "url": "https://liberapay.com/Koromix" + } + }, + "node_modules/@koromix/koffi-linux-ia32": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/@koromix/koffi-linux-ia32/-/koffi-linux-ia32-3.3.1.tgz", + "integrity": "sha512-pb1NJ/Ih4MAPB1e2koQOKxGtLuPWKMT3QXxBrPptkkkDz/XpV6+bAA4ys7amXxpA0ybM2u/+VM0gGzdJRThkRg==", + "cpu": [ + "ia32" + ], + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "funding": { + "url": "https://liberapay.com/Koromix" + } + }, + "node_modules/@koromix/koffi-linux-loong64": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/@koromix/koffi-linux-loong64/-/koffi-linux-loong64-3.3.1.tgz", + "integrity": "sha512-RdS57JuF39tLXS/yYq4KlFnU7CMrn1+x/4v171bji+1aPYOXPxzYDAJVjapv/6tnrESrMTnfWIja3jfzieFmpQ==", + "cpu": [ + "loong64" + ], + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "funding": { + "url": "https://liberapay.com/Koromix" + } + }, + "node_modules/@koromix/koffi-linux-ppc64": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/@koromix/koffi-linux-ppc64/-/koffi-linux-ppc64-3.3.1.tgz", + "integrity": "sha512-nmOTpQQS5pWG73X01y7K70JQaL+5T/v04i0G4BtXDAxQq3WHmyeJCgmdHhz5W0JVtjHicitSZoothTspAopF9A==", + "cpu": [ + "ppc64" + ], + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "funding": { + "url": "https://liberapay.com/Koromix" + } + }, + "node_modules/@koromix/koffi-linux-riscv64": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/@koromix/koffi-linux-riscv64/-/koffi-linux-riscv64-3.3.1.tgz", + "integrity": "sha512-mk0Av5QmK0BPD3OHytOThVhEe4VCTrYv3+em6h75E1rNYiCfixzeh3d5+s5x2vCaby8zzxvNd39sO89Bp1juwg==", + "cpu": [ + "riscv64" + ], + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "funding": { + "url": "https://liberapay.com/Koromix" + } + }, + "node_modules/@koromix/koffi-linux-x64": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/@koromix/koffi-linux-x64/-/koffi-linux-x64-3.3.1.tgz", + "integrity": "sha512-uU5cJNe145TvITqrUWvBmZO4WLNObdZ2Gnm8eNk/OdrhRFG9LB44RUv07aQwPbdo1438j+Cr+tFNnpjTBadZFQ==", + "cpu": [ + "x64" + ], + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "funding": { + "url": "https://liberapay.com/Koromix" + } + }, + "node_modules/@koromix/koffi-openbsd-arm64": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/@koromix/koffi-openbsd-arm64/-/koffi-openbsd-arm64-3.3.1.tgz", + "integrity": "sha512-owXmXHI+5kkDyVjqGPfPgIHIzH1swsGY+YNbQ4ozkO23UKzJElAtmQPcmA1pQwiDCeyojHEelgd9+BV58uOIkA==", + "cpu": [ + "arm64" + ], + "license": "MIT", + "optional": true, + "os": [ + "openbsd" + ], + "funding": { + "url": "https://liberapay.com/Koromix" + } + }, + "node_modules/@koromix/koffi-openbsd-ia32": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/@koromix/koffi-openbsd-ia32/-/koffi-openbsd-ia32-3.3.1.tgz", + "integrity": "sha512-fvIKWycDdc9XL3ATQT0uvt/j82EB3/JWzJU4yqUCJbMotTP8mvo/c1D1Jus4mO+fNGEYM33YuFDkJcQkHJd9Dg==", + "cpu": [ + "ia32" + ], + "license": "MIT", + "optional": true, + "os": [ + "openbsd" + ], + "funding": { + "url": "https://liberapay.com/Koromix" + } + }, + "node_modules/@koromix/koffi-openbsd-x64": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/@koromix/koffi-openbsd-x64/-/koffi-openbsd-x64-3.3.1.tgz", + "integrity": "sha512-UYk2xNAK5wEyskLtrgTRt+2lwfBOvgaK8UJDz4B2qm57VvRrqb7ye1hzKFZrRVa8NWRPUk6W/zsqZyFHu4BoLA==", + "cpu": [ + "x64" + ], + "license": "MIT", + "optional": true, + "os": [ + "openbsd" + ], + "funding": { + "url": "https://liberapay.com/Koromix" + } + }, + "node_modules/@koromix/koffi-win32-arm64": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/@koromix/koffi-win32-arm64/-/koffi-win32-arm64-3.3.1.tgz", + "integrity": "sha512-SZsmAWUKxBHdUR6Z5IJTslOOy0VEFHxoDHMZkn3k0P5TuP/aOZfQYoEa34UwnLI8t2Fmgyhmympth+39tR/XUw==", + "cpu": [ + "arm64" + ], + "license": "MIT", + "optional": true, + "os": [ + "win32" + ], + "funding": { + "url": "https://liberapay.com/Koromix" + } + }, + "node_modules/@koromix/koffi-win32-ia32": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/@koromix/koffi-win32-ia32/-/koffi-win32-ia32-3.3.1.tgz", + "integrity": "sha512-pARisOvxCPkk6Wg1HkwRCnrkJIVS31kDweWLo+bQay/Dr1915s7skVydWpTKS30EcfOh4Jay7B4c0dgamTLBHg==", + "cpu": [ + "ia32" + ], + "license": "MIT", + "optional": true, + "os": [ + "win32" + ], + "funding": { + "url": "https://liberapay.com/Koromix" + } + }, + "node_modules/@koromix/koffi-win32-x64": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/@koromix/koffi-win32-x64/-/koffi-win32-x64-3.3.1.tgz", + "integrity": "sha512-LYoO19cTIA7xjl+3s4VeGagCAO38VNXZ969DNszb1wTwJUjrHLrAbHFkk8fYkXineM3HJkFwElW0VLmZqXcfRg==", + "cpu": [ + "x64" + ], + "license": "MIT", + "optional": true, + "os": [ + "win32" + ], + "funding": { + "url": "https://liberapay.com/Koromix" + } + }, + "node_modules/@lydell/node-pty": { + "version": "1.2.0-beta.15", + "resolved": "https://registry.npmjs.org/@lydell/node-pty/-/node-pty-1.2.0-beta.15.tgz", + "integrity": "sha512-Br8wBxzbxFwdWgk9uQ+rdzE0xfoxOK4QuGH54swhRwc5IxP6H9Y1/bcyazRGvNUs6XkB5qNVkezuKSRxUwZe7A==", + "license": "MIT", + "optionalDependencies": { + "@lydell/node-pty-darwin-arm64": "1.2.0-beta.15", + "@lydell/node-pty-darwin-x64": "1.2.0-beta.15", + "@lydell/node-pty-linux-arm64": "1.2.0-beta.15", + "@lydell/node-pty-linux-x64": "1.2.0-beta.15", + "@lydell/node-pty-win32-arm64": "1.2.0-beta.15", + "@lydell/node-pty-win32-x64": "1.2.0-beta.15" + } + }, + "node_modules/@lydell/node-pty-darwin-arm64": { + "version": "1.2.0-beta.15", + "resolved": "https://registry.npmjs.org/@lydell/node-pty-darwin-arm64/-/node-pty-darwin-arm64-1.2.0-beta.15.tgz", + "integrity": "sha512-6TSBbzdcLiNTHl1mTuzflqXrkmcC36USVGvERoDgvHk2ItEDaMaFZuAJ1CqPmwYj0DyhCS16TVS8OGK9xZnjyQ==", + "cpu": [ + "arm64" + ], + "license": "MIT", + "optional": true, + "os": [ + "darwin" + ] + }, + "node_modules/@lydell/node-pty-darwin-x64": { + "version": "1.2.0-beta.15", + "resolved": "https://registry.npmjs.org/@lydell/node-pty-darwin-x64/-/node-pty-darwin-x64-1.2.0-beta.15.tgz", + "integrity": "sha512-yDT2oqPqYMBScyuk1U9Rg5VKcrbMOD9o9jWYYamDADA3NSbUISroPChrqYRQ74Y7BQtNH4gqYAiWOZRi5uQZ0Q==", + "cpu": [ + "x64" + ], + "license": "MIT", + "optional": true, + "os": [ + "darwin" + ] + }, + "node_modules/@lydell/node-pty-linux-arm64": { + "version": "1.2.0-beta.15", + "resolved": "https://registry.npmjs.org/@lydell/node-pty-linux-arm64/-/node-pty-linux-arm64-1.2.0-beta.15.tgz", + "integrity": "sha512-wkbNF7dYAmtJv+o2+iztVlNwnUB4B0uX0wh/UD+mwMcmE2gNMnW9GChXO7fEE5XJokD0vB5idiHpGegaN+G/sg==", + "cpu": [ + "arm64" + ], + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@lydell/node-pty-linux-x64": { + "version": "1.2.0-beta.15", + "resolved": "https://registry.npmjs.org/@lydell/node-pty-linux-x64/-/node-pty-linux-x64-1.2.0-beta.15.tgz", + "integrity": "sha512-+U/5AVvHT6W+8OCYcnJgN0Qgc0ycO3TfD6aaFJHK+WHij797f8gsi5dV1HEO9l6YQmWCD+VL5gaLDhx3mxHwCA==", + "cpu": [ + "x64" + ], + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@lydell/node-pty-win32-arm64": { + "version": "1.2.0-beta.15", + "resolved": "https://registry.npmjs.org/@lydell/node-pty-win32-arm64/-/node-pty-win32-arm64-1.2.0-beta.15.tgz", + "integrity": "sha512-pyAk91w7wnnKrD4mrHXtIXRfmzSWV5bEzvRhurXcMCtCc2TJ424ciUskIgWMhAPP6y3KyUnqElj+U6kY3iOt0A==", + "cpu": [ + "arm64" + ], + "license": "MIT", + "optional": true, + "os": [ + "win32" + ] + }, + "node_modules/@lydell/node-pty-win32-x64": { + "version": "1.2.0-beta.15", + "resolved": "https://registry.npmjs.org/@lydell/node-pty-win32-x64/-/node-pty-win32-x64-1.2.0-beta.15.tgz", + "integrity": "sha512-2f8twEmDVxZ7drchAXjtevpmSPhFok0avAnzXro4t5gmz0xsPNKkoZvymwtuIS3xo7PzQqZOPQ/YzwEMb7oIzQ==", + "cpu": [ + "x64" + ], + "license": "MIT", + "optional": true, + "os": [ + "win32" + ] + }, + "node_modules/@mistralai/mistralai": { + "version": "2.7.0", + "resolved": "https://registry.npmjs.org/@mistralai/mistralai/-/mistralai-2.7.0.tgz", + "integrity": "sha512-zCrx6MtNpcz+EL/Nqvg55QubSgmfwJfBmd3d3wSYfJGfnvlNnWcJYlxEW5xQpS3KR6A5qK9KUyRBwMDIWnyVGA==", + "license": "Apache-2.0", + "dependencies": { + "@opentelemetry/semantic-conventions": "^1.40.0", + "ws": "^8.18.0", + "zod": "^3.25.0 || ^4.0.0", + "zod-to-json-schema": "^3.25.0" + }, + "peerDependencies": { + "@opentelemetry/api": "^1.9.0", + "@opentelemetry/exporter-trace-otlp-http": "^0.220.0", + "@opentelemetry/resources": "^2.9.0", + "@opentelemetry/sdk-trace-base": "^2.9.0" + }, + "peerDependenciesMeta": { + "@opentelemetry/api": { + "optional": true + }, + "@opentelemetry/exporter-trace-otlp-http": { + "optional": true + }, + "@opentelemetry/resources": { + "optional": true + }, + "@opentelemetry/sdk-trace-base": { + "optional": true + } + } + }, + "node_modules/@modelcontextprotocol/sdk": { + "version": "1.32.0", + "resolved": "https://registry.npmjs.org/@modelcontextprotocol/sdk/-/sdk-1.32.0.tgz", + "integrity": "sha512-8BviX/hK4Gd2eL1KdTwm0gfl4d3wdoErW0Jd00h6nomUAtk6IJk5vwQJc6kfWtJTzN5OEV/lgIiJKI8fiDGAlA==", + "license": "MIT", + "dependencies": { + "@hono/node-server": "^1.19.9 || ^2.0.5", + "ajv": "^8.17.1", + "ajv-formats": "^3.0.1", + "content-type": "^1.0.5", + "cors": "^2.8.5", + "cross-spawn": "^7.0.5", + "eventsource": "^3.0.2", + "eventsource-parser": "^3.0.0", + "express": "^5.2.1", + "express-rate-limit": "^8.2.1", + "hono": "^4.11.4", + "jose": "^6.1.3", + "json-schema-typed": "^8.0.2", + "pkce-challenge": "^5.0.0", + "raw-body": "^3.0.0", + "zod": "^3.25 || ^4.0", + "zod-to-json-schema": "^3.25.1" + }, + "engines": { + "node": ">=18" + }, + "peerDependencies": { + "@cfworker/json-schema": "^4.1.1", + "zod": "^3.25 || ^4.0" + }, + "peerDependenciesMeta": { + "@cfworker/json-schema": { + "optional": true + }, + "zod": { + "optional": false + } + } + }, + "node_modules/@mozilla/readability": { + "version": "0.6.0", + "resolved": "https://registry.npmjs.org/@mozilla/readability/-/readability-0.6.0.tgz", + "integrity": "sha512-juG5VWh4qAivzTAeMzvY9xs9HY5rAcr2E4I7tiSSCokRFi7XIZCAu92ZkSTsIj1OPceCifL3cpfteP3pDT9/QQ==", + "license": "Apache-2.0", + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@openclaw/ai": { + "version": "2026.9.7", + "resolved": "https://registry.npmjs.org/@openclaw/ai/-/ai-2026.9.7.tgz", + "integrity": "sha512-WHNjSzPTEprBsXGz9O1p5AEm6zodRisUUsZ0Q1GA16UUj0tgp9ovX6PeLNDszwOw0M7RYe+lFDLHjOmvrjjzYQ==", + "license": "MIT", + "dependencies": { + "@anthropic-ai/sdk": "0.127.0", + "@google/genai": "2.23.0", + "@mistralai/mistralai": "2.7.0", + "openai": "7.20.0", + "partial-json": "0.1.7", + "typebox": "1.3.34" + }, + "engines": { + "node": ">=22.19.0" + } + }, + "node_modules/@openclaw/fs-safe": { + "version": "0.21.1", + "resolved": "https://registry.npmjs.org/@openclaw/fs-safe/-/fs-safe-0.21.1.tgz", + "integrity": "sha512-jkowVEniLZBi203tncmZTvh0Cbby0rhKaPIaWFo7F+qiABOsE/6lsPATVyyqzrcj/t+FqFADhwXKsrlw5UJL1Q==", + "license": "MIT", + "engines": { + "node": ">=22" + }, + "optionalDependencies": { + "@openclaw/fs-safe-darwin-arm64": "0.21.1", + "@openclaw/fs-safe-darwin-x64": "0.21.1", + "@openclaw/fs-safe-linux-arm64-gnu": "0.21.1", + "@openclaw/fs-safe-linux-arm64-musl": "0.21.1", + "@openclaw/fs-safe-linux-x64-gnu": "0.21.1", + "@openclaw/fs-safe-linux-x64-musl": "0.21.1", + "@openclaw/fs-safe-win32-x64-msvc": "0.21.1", + "jszip": "^3.10.2" + } + }, + "node_modules/@openclaw/fs-safe-darwin-arm64": { + "version": "0.21.1", + "resolved": "https://registry.npmjs.org/@openclaw/fs-safe-darwin-arm64/-/fs-safe-darwin-arm64-0.21.1.tgz", + "integrity": "sha512-w/wTLHb4xUjqfOEEc2C3LgRsJY4B9boemv9a5lL5o9HIixNMyQeS7ZHg3Lu1COuN2NTUHVP/0k47aqf5R+Sb9Q==", + "cpu": [ + "arm64" + ], + "license": "MIT", + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": ">=22" + } + }, + "node_modules/@openclaw/fs-safe-darwin-x64": { + "version": "0.21.1", + "resolved": "https://registry.npmjs.org/@openclaw/fs-safe-darwin-x64/-/fs-safe-darwin-x64-0.21.1.tgz", + "integrity": "sha512-Pr1IZ6o/tmcNVf4Bnk+EyIQM/LmCT8ghJhC7DvbV50T4C4LILZHstpgqpJ/kObN6nxTtcZHSQVimLCxQttewEg==", + "cpu": [ + "x64" + ], + "license": "MIT", + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": ">=22" + } + }, + "node_modules/@openclaw/fs-safe-linux-arm64-gnu": { + "version": "0.21.1", + "resolved": "https://registry.npmjs.org/@openclaw/fs-safe-linux-arm64-gnu/-/fs-safe-linux-arm64-gnu-0.21.1.tgz", + "integrity": "sha512-iDAquggPOTpl+gGgKNMIPZ1Rv6/UmeWZ05ansXsAc4RzJ1D/nEMfzahKNGfI3wRA7d1n1UUEDSHiHq0IlzVTEA==", + "cpu": [ + "arm64" + ], + "libc": [ + "glibc" + ], + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=22" + } + }, + "node_modules/@openclaw/fs-safe-linux-arm64-musl": { + "version": "0.21.1", + "resolved": "https://registry.npmjs.org/@openclaw/fs-safe-linux-arm64-musl/-/fs-safe-linux-arm64-musl-0.21.1.tgz", + "integrity": "sha512-PtOwZHdU/pIuHA0Mh1UgtUzNwwF+k5mitzIt3FBLWU4GZAncE7ut9yauQUbQyvraa6C0SYJCYnF6WGaascZNrQ==", + "cpu": [ + "arm64" + ], + "libc": [ + "musl" + ], + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=22" + } + }, + "node_modules/@openclaw/fs-safe-linux-x64-gnu": { + "version": "0.21.1", + "resolved": "https://registry.npmjs.org/@openclaw/fs-safe-linux-x64-gnu/-/fs-safe-linux-x64-gnu-0.21.1.tgz", + "integrity": "sha512-Hv0CUGDrjsixmhbUvS/lyPI6gJGuoTUjLxUAsL2piEzgt3ipysj9LB49J0ZPFfPikX5swwpDoljFGkz/qNifSw==", + "cpu": [ + "x64" + ], + "libc": [ + "glibc" + ], + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=22" + } + }, + "node_modules/@openclaw/fs-safe-linux-x64-musl": { + "version": "0.21.1", + "resolved": "https://registry.npmjs.org/@openclaw/fs-safe-linux-x64-musl/-/fs-safe-linux-x64-musl-0.21.1.tgz", + "integrity": "sha512-QxmWIl18XRKluvFINf8s/urbvM2Kw7+Lfp1ABg5GLBqtr5VQo5bYbVfO7OzrXahHew4/YCbVQIKu5YxiO+3utA==", + "cpu": [ + "x64" + ], + "libc": [ + "musl" + ], + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=22" + } + }, + "node_modules/@openclaw/fs-safe-win32-x64-msvc": { + "version": "0.21.1", + "resolved": "https://registry.npmjs.org/@openclaw/fs-safe-win32-x64-msvc/-/fs-safe-win32-x64-msvc-0.21.1.tgz", + "integrity": "sha512-6oOAOW9I+aFuW2Cl69EvloociD7ybO0/RRVwmoF/tiyrjO3GbuR4KYJbdRyfg7jkhLdhe6TJclGTPlwfMbQRcQ==", + "cpu": [ + "x64" + ], + "license": "MIT", + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">=22" + } + }, + "node_modules/@opentelemetry/semantic-conventions": { + "version": "1.43.0", + "resolved": "https://registry.npmjs.org/@opentelemetry/semantic-conventions/-/semantic-conventions-1.43.0.tgz", + "integrity": "sha512-eSYWTm620tTk45EKSedaUL8MFYI8hW164hIXsgIHyxu3VobUB3fFCu5t0hQby6OoWRPsG1KkKUG2M5UadiLiVg==", + "license": "Apache-2.0", + "engines": { + "node": ">=14" + } + }, + "node_modules/@protobufjs/aspromise": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/@protobufjs/aspromise/-/aspromise-1.1.2.tgz", + "integrity": "sha512-j+gKExEuLmKwvz3OgROXtrJ2UG2x8Ch2YZUxahh+s1F2HZ+wAceUNLkvy6zKCPVRkU++ZWQrdxsUeQXmcg4uoQ==", + "license": "BSD-3-Clause" + }, + "node_modules/@protobufjs/base64": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/@protobufjs/base64/-/base64-1.1.2.tgz", + "integrity": "sha512-AZkcAA5vnN/v4PDqKyMR5lx7hZttPDgClv83E//FMNhR2TMcLUhfRUBHCmSl0oi9zMgDDqRUJkSxO3wm85+XLg==", + "license": "BSD-3-Clause" + }, + "node_modules/@protobufjs/codegen": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/@protobufjs/codegen/-/codegen-2.0.5.tgz", + "integrity": "sha512-zgXFLzW3Ap33e6d0Wlj4MGIm6Ce8O89n/apUaGNB/jx+hw+ruWEp7EwGUshdLKVRCxZW12fp9r40E1mQrf/34g==", + "license": "BSD-3-Clause" + }, + "node_modules/@protobufjs/eventemitter": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/@protobufjs/eventemitter/-/eventemitter-1.1.1.tgz", + "integrity": "sha512-vW1GmwMZNnL+gMRaovlh9yZX74kc+TTU3FObkkurpMaRtBfLP3ldjS9KQWlwZgraRE0+dheEEoAxdzcJQ8eXZg==", + "license": "BSD-3-Clause" + }, + "node_modules/@protobufjs/fetch": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/@protobufjs/fetch/-/fetch-1.1.1.tgz", + "integrity": "sha512-GpptLrs57adMSuHi3VNj0mAF8dwh36LMaYF6XyJ6JMWlVsc+t42tm1HSEDmOs3A8fC9yyeisgLhsTVQokOZ0zw==", + "license": "BSD-3-Clause", + "dependencies": { + "@protobufjs/aspromise": "^1.1.1" + } + }, + "node_modules/@protobufjs/float": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/@protobufjs/float/-/float-1.0.2.tgz", + "integrity": "sha512-Ddb+kVXlXst9d+R9PfTIxh1EdNkgoRe5tOX6t01f1lYWOvJnSPDBlG241QLzcyPdoNTsblLUdujGSE4RzrTZGQ==", + "license": "BSD-3-Clause" + }, + "node_modules/@protobufjs/path": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/@protobufjs/path/-/path-1.1.2.tgz", + "integrity": "sha512-6JOcJ5Tm08dOHAbdR3GrvP+yUUfkjG5ePsHYczMFLq3ZmMkAD98cDgcT2iA1lJ9NVwFd4tH/iSSoe44YWkltEA==", + "license": "BSD-3-Clause" + }, + "node_modules/@protobufjs/pool": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@protobufjs/pool/-/pool-1.1.0.tgz", + "integrity": "sha512-0kELaGSIDBKvcgS4zkjz1PeddatrjYcmMWOlAuAPwAeccUrPHdUqo/J6LiymHHEiJT5NrF1UVwxY14f+fy4WQw==", + "license": "BSD-3-Clause" + }, + "node_modules/@protobufjs/utf8": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/@protobufjs/utf8/-/utf8-1.1.2.tgz", + "integrity": "sha512-b1UQwcEZ4yCnMCD8DAL1VlbvBJE9/IX4FTIp7BG1xYpf29SLazLSrqUkj4w7Y5y7cCVP6E5tcqqcI0xemPkHug==", + "license": "BSD-3-Clause" + }, + "node_modules/@sec-ant/readable-stream": { + "version": "0.4.1", + "resolved": "https://registry.npmjs.org/@sec-ant/readable-stream/-/readable-stream-0.4.1.tgz", + "integrity": "sha512-831qok9r2t8AlxLko40y2ebgSDhenenCatLVeW/uBtnHPyhHOvG0C7TvfgecV+wHzIm5KUICgzmVpWS+IMEAeg==", + "license": "MIT" + }, + "node_modules/@silvia-odwyer/photon-node": { + "version": "0.3.4", + "resolved": "https://registry.npmjs.org/@silvia-odwyer/photon-node/-/photon-node-0.3.4.tgz", + "integrity": "sha512-bnly4BKB3KDTFxrUIcgCLbaeVVS8lrAkri1pEzskpmxu9MdfGQTy8b8EgcD83ywD3RPMsIulY8xJH5Awa+t9fA==", + "license": "Apache-2.0" + }, + "node_modules/@sindresorhus/merge-streams": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/@sindresorhus/merge-streams/-/merge-streams-4.0.0.tgz", + "integrity": "sha512-tlqY9xq5ukxTUZBmoOp+m61cqwQD5pHJtFY3Mn8CA8ps6yghLH/Hw8UPdqg4OLmFW3IFlcXnQNmo/dh8HzXYIQ==", + "license": "MIT", + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/@stablelib/base64": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/@stablelib/base64/-/base64-1.0.1.tgz", + "integrity": "sha512-1bnPQqSxSuc3Ii6MhBysoWCg58j97aUjuCSZrGSmDxNqtytIi0k8utUenAwTZN4V5mXXYGsVUI9zeBqy+jBOSQ==", + "license": "MIT" + }, + "node_modules/@tokenizer/inflate": { + "version": "0.4.1", + "resolved": "https://registry.npmjs.org/@tokenizer/inflate/-/inflate-0.4.1.tgz", + "integrity": "sha512-2mAv+8pkG6GIZiF1kNg1jAjh27IDxEPKwdGul3snfztFerfPGI1LjDezZp3i7BElXompqEtPmoPx6c2wgtWsOA==", + "license": "MIT", + "dependencies": { + "debug": "^4.4.3", + "token-types": "^6.1.1" + }, + "engines": { + "node": ">=18" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/Borewit" + } + }, + "node_modules/@tokenizer/token": { + "version": "0.3.0", + "resolved": "https://registry.npmjs.org/@tokenizer/token/-/token-0.3.0.tgz", + "integrity": "sha512-OvjF+z51L3ov0OyAU0duzsYuvO01PH7x4t6DJx+guahgTnBHkhJdG7soQeTSFLWN3efnHyibZ4Z8l2EuWwJN3A==", + "license": "MIT" + }, + "node_modules/@trycua/cua-driver": { + "version": "0.28.2", + "resolved": "https://registry.npmjs.org/@trycua/cua-driver/-/cua-driver-0.28.2.tgz", + "integrity": "sha512-18DHs68WpIdKtkAMecd5mLKwJtT854gXzie24Ag0QMxveRNgzKphAje51t0oeI7ZnHetyXKDAQUr5fQyZu7S6Q==", + "license": "MIT", + "dependencies": { + "@ubjs/core": "0.31.0-3", + "@ubjs/node": "0.31.0-3" + }, + "optionalDependencies": { + "@trycua/cua-driver-darwin-arm64": "0.28.2", + "@trycua/cua-driver-darwin-x64": "0.28.2", + "@trycua/cua-driver-linux-arm64-gnu": "0.28.2", + "@trycua/cua-driver-linux-x64-gnu": "0.28.2", + "@trycua/cua-driver-win32-arm64-msvc": "0.28.2", + "@trycua/cua-driver-win32-x64-msvc": "0.28.2" + } + }, + "node_modules/@trycua/cua-driver-darwin-arm64": { + "version": "0.28.2", + "resolved": "https://registry.npmjs.org/@trycua/cua-driver-darwin-arm64/-/cua-driver-darwin-arm64-0.28.2.tgz", + "integrity": "sha512-Eeo62jJjxi67/XwSQKvxpJQMmJg7pjLqGa4vZTxLj3KUmjfGYjwt3wifLl82yU0AfJs6icB7V1uu6sYE+nm9mg==", + "cpu": [ + "arm64" + ], + "license": "MIT AND MPL-2.0", + "optional": true, + "os": [ + "darwin" + ] + }, + "node_modules/@trycua/cua-driver-darwin-x64": { + "version": "0.28.2", + "resolved": "https://registry.npmjs.org/@trycua/cua-driver-darwin-x64/-/cua-driver-darwin-x64-0.28.2.tgz", + "integrity": "sha512-n7iWl2iqIyPoDpCJ3hyK2gKZqu0RTolabRptmZKYPzRSTbRbzO3mejOa+CXHsJjVbM4+FyDJDNn5NE2CZLMdXg==", + "cpu": [ + "x64" + ], + "license": "MIT AND MPL-2.0", + "optional": true, + "os": [ + "darwin" + ] + }, + "node_modules/@trycua/cua-driver-linux-arm64-gnu": { + "version": "0.28.2", + "resolved": "https://registry.npmjs.org/@trycua/cua-driver-linux-arm64-gnu/-/cua-driver-linux-arm64-gnu-0.28.2.tgz", + "integrity": "sha512-ZFrYmA53ooEGyImEHo7cxYxgyXidP6Mkxc1KYiM8KoFmeHFSX3TmuKDsVV9dwZGKrhAOJBvQTvLvlb85RlccQg==", + "cpu": [ + "arm64" + ], + "libc": [ + "glibc" + ], + "license": "MIT AND MPL-2.0", + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@trycua/cua-driver-linux-x64-gnu": { + "version": "0.28.2", + "resolved": "https://registry.npmjs.org/@trycua/cua-driver-linux-x64-gnu/-/cua-driver-linux-x64-gnu-0.28.2.tgz", + "integrity": "sha512-mZp8rRyaT0/gUXnHGAC53EKA6WHKvRbliacMVsiwf/EEUOLNtz6pRNfhYyF4GLT6jHbC/Xwu8V9kpntz9Tssdg==", + "cpu": [ + "x64" + ], + "libc": [ + "glibc" + ], + "license": "MIT AND MPL-2.0", + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@trycua/cua-driver-win32-arm64-msvc": { + "version": "0.28.2", + "resolved": "https://registry.npmjs.org/@trycua/cua-driver-win32-arm64-msvc/-/cua-driver-win32-arm64-msvc-0.28.2.tgz", + "integrity": "sha512-prShQ7VSVXMkytMGj+d43u54/9H3K0nJT5OOAqT3S78XATw7dlu1ESdEacr/J2lNcmn5mxwEy+i+9HRmEt0DJw==", + "cpu": [ + "arm64" + ], + "license": "MIT AND MPL-2.0", + "optional": true, + "os": [ + "win32" + ] + }, + "node_modules/@trycua/cua-driver-win32-x64-msvc": { + "version": "0.28.2", + "resolved": "https://registry.npmjs.org/@trycua/cua-driver-win32-x64-msvc/-/cua-driver-win32-x64-msvc-0.28.2.tgz", + "integrity": "sha512-H7pUIwbrKCqkyDBcI4ovk1ggN+MOmFtATGl0fokPkD7dp1EHGn5I9vRJEPVvqjP0BTwdlBJ8NucIy0g2eFK86Q==", + "cpu": [ + "x64" + ], + "license": "MIT AND MPL-2.0", + "optional": true, + "os": [ + "win32" + ] + }, + "node_modules/@types/jsesc": { + "version": "2.5.1", + "resolved": "https://registry.npmjs.org/@types/jsesc/-/jsesc-2.5.1.tgz", + "integrity": "sha512-9VN+6yxLOPLOav+7PwjZbxiID2bVaeq0ED4qSQmdQTdjnXJSaCVKTR58t15oqH1H5t8Ng2ZX1SabJVoN9Q34bw==", + "license": "MIT" + }, + "node_modules/@types/node": { + "version": "26.6.5", + "resolved": "https://registry.npmjs.org/@types/node/-/node-26.6.5.tgz", + "integrity": "sha512-uMzsv9stDdofIZBx4UGh4Z9ZgXnGC9seRDscilBcTHAeOFk67MZg/k9bWVfO+bk4qZmG+l52hRnLwUiH2LnJTg==", + "license": "MIT", + "dependencies": { + "undici-types": "~8.9.0" + } + }, + "node_modules/@types/retry": { + "version": "0.12.0", + "resolved": "https://registry.npmjs.org/@types/retry/-/retry-0.12.0.tgz", + "integrity": "sha512-wWKOClTTiizcZhXnPY4wikVAwmdYHp8q6DmC+EJUzAMsycb7HB32Kh9RN4+0gExjmPmZSAQjgURXIGATPegAvA==", + "license": "MIT" + }, + "node_modules/@ubjs/core": { + "version": "0.31.0-3", + "resolved": "https://registry.npmjs.org/@ubjs/core/-/core-0.31.0-3.tgz", + "integrity": "sha512-39XrJgUZ2VVb561sSnkXPhczNoeBsNiSRArecsV0JE7CJq69ajFkcn9/tBAUS2NpgHkLIDU+z6Ks2+1wXnboxg==", + "license": "MPL-2.0" + }, + "node_modules/@ubjs/node": { + "version": "0.31.0-3", + "resolved": "https://registry.npmjs.org/@ubjs/node/-/node-0.31.0-3.tgz", + "integrity": "sha512-qNMpi2LICNwxGXZyRF8fSDBSpbezyZbEsydrbiMPJOmtOWr4tmZIEl7jkWGHVGShoBvHfFo4eHp5B4UVP928Cg==", + "license": "MPL-2.0", + "optionalDependencies": { + "@ubjs/node-darwin-arm64": "0.31.0-3", + "@ubjs/node-darwin-x64": "0.31.0-3", + "@ubjs/node-linux-arm64-gnu": "0.31.0-3", + "@ubjs/node-linux-arm64-musl": "0.31.0-3", + "@ubjs/node-linux-x64-gnu": "0.31.0-3", + "@ubjs/node-linux-x64-musl": "0.31.0-3", + "@ubjs/node-win32-arm64-msvc": "0.31.0-3", + "@ubjs/node-win32-x64-msvc": "0.31.0-3" + } + }, + "node_modules/@ubjs/node-darwin-arm64": { + "version": "0.31.0-3", + "resolved": "https://registry.npmjs.org/@ubjs/node-darwin-arm64/-/node-darwin-arm64-0.31.0-3.tgz", + "integrity": "sha512-GGQVPLkVo4Gc8qVLW4IGvS8bjl8eHXyeP4a97ntGmsAdXwE5gsS29o8xUEFROjhwHKD+9sgVeblCSWVG3CpHsw==", + "cpu": [ + "arm64" + ], + "license": "MPL-2.0", + "optional": true, + "os": [ + "darwin" + ] + }, + "node_modules/@ubjs/node-darwin-x64": { + "version": "0.31.0-3", + "resolved": "https://registry.npmjs.org/@ubjs/node-darwin-x64/-/node-darwin-x64-0.31.0-3.tgz", + "integrity": "sha512-2sc47u4XFYOsbmP5EW+Gx8m/yGrYnfFDFQm6+kz7goSWTNg84eEiz3COs9HKJDVuNJ5Khv5XipTO8CFadMLXCw==", + "cpu": [ + "x64" + ], + "license": "MPL-2.0", + "optional": true, + "os": [ + "darwin" + ] + }, + "node_modules/@ubjs/node-linux-arm64-gnu": { + "version": "0.31.0-3", + "resolved": "https://registry.npmjs.org/@ubjs/node-linux-arm64-gnu/-/node-linux-arm64-gnu-0.31.0-3.tgz", + "integrity": "sha512-YStVXhYz/5jvlWf/p4fhiVT72unYAbGugifFC9QmO/+hnroQDAQ5t8SARbsc15G4olMcamdIB+GETiUB7gmaYg==", + "cpu": [ + "arm64" + ], + "libc": [ + "glibc" + ], + "license": "MPL-2.0", + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@ubjs/node-linux-arm64-musl": { + "version": "0.31.0-3", + "resolved": "https://registry.npmjs.org/@ubjs/node-linux-arm64-musl/-/node-linux-arm64-musl-0.31.0-3.tgz", + "integrity": "sha512-Izp4nvfy/LmibzFowAztkoDOksCR2fb2zl6fh1ojR1HEsg0rAGruxtI8d3fn8DI0lBXwqmn6SF///oD4mFNJPQ==", + "cpu": [ + "arm64" + ], + "libc": [ + "musl" + ], + "license": "MPL-2.0", + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@ubjs/node-linux-x64-gnu": { + "version": "0.31.0-3", + "resolved": "https://registry.npmjs.org/@ubjs/node-linux-x64-gnu/-/node-linux-x64-gnu-0.31.0-3.tgz", + "integrity": "sha512-Xdm21blyg5U/kW6s7OMvgrr8coGTkUlt26DVR9x8gKISif+E3YwdEskbFScWqystAiJnfjw7xHEc8UMu0Qlz7Q==", + "cpu": [ + "x64" + ], + "libc": [ + "glibc" + ], + "license": "MPL-2.0", + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@ubjs/node-linux-x64-musl": { + "version": "0.31.0-3", + "resolved": "https://registry.npmjs.org/@ubjs/node-linux-x64-musl/-/node-linux-x64-musl-0.31.0-3.tgz", + "integrity": "sha512-fFQ9BWS6i2LUH9SJgD9oEiKXXo/say59vHy7usFe1t7C2xvwvP34f5SuxXmWP9R8fHyA0aC4kIZ+TTwyHSv1Kw==", + "cpu": [ + "x64" + ], + "libc": [ + "musl" + ], + "license": "MPL-2.0", + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@ubjs/node-win32-arm64-msvc": { + "version": "0.31.0-3", + "resolved": "https://registry.npmjs.org/@ubjs/node-win32-arm64-msvc/-/node-win32-arm64-msvc-0.31.0-3.tgz", + "integrity": "sha512-ID6rSz1NmPsWTNBBNAw4OnJ5Dj8pcbtNJtdPB3OxcGigLBd/e0x7buhSI7os6Mo5iYtEdCynBRQHFJwub5XSPg==", + "cpu": [ + "arm64" + ], + "license": "MPL-2.0", + "optional": true, + "os": [ + "win32" + ] + }, + "node_modules/@ubjs/node-win32-x64-msvc": { + "version": "0.31.0-3", + "resolved": "https://registry.npmjs.org/@ubjs/node-win32-x64-msvc/-/node-win32-x64-msvc-0.31.0-3.tgz", + "integrity": "sha512-wevs+Y+szwcCUT8IJFbB4/1nfxyRv/51l8oG7FGUPWD1xLPyuHfJBG27C+PDeC7KRzes/2n6aLo4DGZbr/LYTw==", + "cpu": [ + "x64" + ], + "license": "MPL-2.0", + "optional": true, + "os": [ + "win32" + ] + }, + "node_modules/abort-controller": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/abort-controller/-/abort-controller-3.0.0.tgz", + "integrity": "sha512-h8lQ8tacZYnR3vNQTgibj+tODHI5/+l06Au2Pcriv/Gmet0eaj4TwWH41sO9wnHDiQsEj19q0drzdWdeAHtweg==", + "license": "MIT", + "dependencies": { + "event-target-shim": "^5.0.0" + }, + "engines": { + "node": ">=6.5" + } + }, + "node_modules/accepts": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/accepts/-/accepts-2.0.0.tgz", + "integrity": "sha512-5cvg6CtKwfgdmVqY1WIiXKc3Q1bkRqGLi+2W/6ao+6Y7gu/RCwRuAhGEzh5B4KlszSuTLgZYuqFqo5bImjNKng==", + "license": "MIT", + "dependencies": { + "mime-types": "^3.0.0", + "negotiator": "^1.0.0" + }, + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/acorn": { + "version": "8.18.0", + "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.18.0.tgz", + "integrity": "sha512-lGq+9yr1/GuAWaVYIHRjvvySG5/4VfKIvC8EWxStPdcDh/Ka7FG3twP6v4d5BkravUilhIAsG4Qj83t02LWUPQ==", + "license": "MIT", + "bin": { + "acorn": "bin/acorn" + }, + "engines": { + "node": ">=0.4.0" + } + }, + "node_modules/agent-base": { + "version": "7.1.4", + "resolved": "https://registry.npmjs.org/agent-base/-/agent-base-7.1.4.tgz", + "integrity": "sha512-MnA+YT8fwfJPgBx3m60MNqakm30XOkyIoH1y6huTQvC0PwZG7ki8NacLBcrPbNoo8vEZy7Jpuk7+jMO+CUovTQ==", + "license": "MIT", + "engines": { + "node": ">= 14" + } + }, + "node_modules/ajv": { + "version": "8.20.0", + "resolved": "https://registry.npmjs.org/ajv/-/ajv-8.20.0.tgz", + "integrity": "sha512-Thbli+OlOj+iMPYFBVBfJ3OmCAnaSyNn4M1vz9T6Gka5Jt9ba/HIR56joy65tY6kx/FCF5VXNB819Y7/GUrBGA==", + "license": "MIT", + "dependencies": { + "fast-deep-equal": "^3.1.3", + "fast-uri": "^3.0.1", + "json-schema-traverse": "^1.0.0", + "require-from-string": "^2.0.2" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/epoberezkin" + } + }, + "node_modules/ajv-formats": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/ajv-formats/-/ajv-formats-3.0.1.tgz", + "integrity": "sha512-8iUql50EUR+uUcdRQ3HDqa6EVyo3docL8g5WJ3FNcWmu62IbkGUue/pEyLBW8VGKKucTPgqeks4fIU1DA4yowQ==", + "license": "MIT", + "dependencies": { + "ajv": "^8.0.0" + }, + "peerDependencies": { + "ajv": "^8.0.0" + }, + "peerDependenciesMeta": { + "ajv": { + "optional": true + } + } + }, + "node_modules/ansi-regex": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", + "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==", + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/ansi-styles": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", + "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", + "license": "MIT", + "dependencies": { + "color-convert": "^2.0.1" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/chalk/ansi-styles?sponsor=1" + } + }, + "node_modules/asn1.js": { + "version": "5.4.1", + "resolved": "https://registry.npmjs.org/asn1.js/-/asn1.js-5.4.1.tgz", + "integrity": "sha512-+I//4cYPccV8LdmBLiX8CYvf9Sp3vQsrqu2QNXRcrbiWvcx/UdlFiqUJJzxRQxgsZmvhXhn4cSKeSmoFjVdupA==", + "license": "MIT", + "dependencies": { + "bn.js": "^4.0.0", + "inherits": "^2.0.1", + "minimalistic-assert": "^1.0.0", + "safer-buffer": "^2.1.0" + } + }, + "node_modules/balanced-match": { + "version": "4.0.4", + "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-4.0.4.tgz", + "integrity": "sha512-BLrgEcRTwX2o6gGxGOCNyMvGSp35YofuYzw9h1IMTRmKqttAZZVU67bdb9Pr2vUHA8+j3i2tJfjO6C6+4myGTA==", + "license": "MIT", + "engines": { + "node": "18 || 20 || >=22" + } + }, + "node_modules/base64-js": { + "version": "1.5.1", + "resolved": "https://registry.npmjs.org/base64-js/-/base64-js-1.5.1.tgz", + "integrity": "sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA==", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ], + "license": "MIT" + }, + "node_modules/bignumber.js": { + "version": "9.3.1", + "resolved": "https://registry.npmjs.org/bignumber.js/-/bignumber.js-9.3.1.tgz", + "integrity": "sha512-Ko0uX15oIUS7wJ3Rb30Fs6SkVbLmPBAKdlm7q9+ak9bbIeFf0MwuBsQV6z7+X768/cHsfg+WlysDWJcmthjsjQ==", + "license": "MIT", + "engines": { + "node": "*" + } + }, + "node_modules/bn.js": { + "version": "4.12.5", + "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-4.12.5.tgz", + "integrity": "sha512-3aRg6/JxfffFD+OlOjOFR3Vo79l39ooBTFucxx+MT3dhCtzn3EmiUPQo+6/OZuI2jbXi3YKgmiTFBgChQMwIRQ==", + "license": "MIT" + }, + "node_modules/body-parser": { + "version": "2.4.0", + "resolved": "https://registry.npmjs.org/body-parser/-/body-parser-2.4.0.tgz", + "integrity": "sha512-Ifk1KcLrxaGt1occQagQNFNNOqRt1LFuehEnHHzB8Z6cRgIxRU1TBaiIsUiCdA+gy5PL7Y1IX31DNKkRmxtXjQ==", + "license": "MIT", + "dependencies": { + "bytes": "^3.1.2", + "content-type": "^2.1.0", + "debug": "^4.4.3", + "http-errors": "^2.0.1", + "iconv-lite": "^0.7.3", + "on-finished": "^2.4.1", + "qs": "^6.16.1", + "raw-body": "^3.0.2", + "type-is": "^2.1.0" + }, + "engines": { + "node": ">=18" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/express" + } + }, + "node_modules/body-parser/node_modules/content-type": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/content-type/-/content-type-2.1.0.tgz", + "integrity": "sha512-mj7UPXE0jaqaOsukNZRUEfEi2AcL7C/vwmwcHV0O97eO1E1pxBZuyjlZrx5seTaNBg1U6+o35wpa35Qfcc+7ag==", + "license": "MIT", + "engines": { + "node": ">=18" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/express" + } + }, + "node_modules/boolbase": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/boolbase/-/boolbase-2.0.0.tgz", + "integrity": "sha512-DkVaaQHymRhpYEYo9x1oo7Q7B0Y6KJUsjm3c9eTyFDby4MHLBTwZ6ZDWBel5zrYxj1WsZgC5oLpiz+93MluXeA==", + "license": "ISC", + "engines": { + "node": ">=20.19.0" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/fb55" + } + }, + "node_modules/bottleneck": { + "version": "2.19.5", + "resolved": "https://registry.npmjs.org/bottleneck/-/bottleneck-2.19.5.tgz", + "integrity": "sha512-VHiNCbI1lKdl44tGrhNfU3lup0Tj/ZBMJB5/2ZbNXRCPuRCO7ed2mgcK4r17y+KB2EfuYuRaVlwNbAeaWGSpbw==", + "license": "MIT" + }, + "node_modules/brace-expansion": { + "version": "5.0.12", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-5.0.12.tgz", + "integrity": "sha512-YovQ3rzhaLMIrDjNDMkNS01tea93qhEhG5xy8f6+R0l+dw3Ki+5sCoIoI942iuLZTHWogWktgwVDhU09iNEimQ==", + "license": "MIT", + "dependencies": { + "balanced-match": "^4.0.2" + }, + "engines": { + "node": "20 || >=22" + } + }, + "node_modules/buffer-equal-constant-time": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/buffer-equal-constant-time/-/buffer-equal-constant-time-1.0.1.tgz", + "integrity": "sha512-zRpUiDwd/xk6ADqPMATG8vc9VPrkck7T07OIx0gnjmJAnHnTVXNQG3vfvWNuiZIkwu9KrKdA1iJKfsfTVxE6NA==", + "license": "BSD-3-Clause" + }, + "node_modules/buffer-from": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/buffer-from/-/buffer-from-1.1.2.tgz", + "integrity": "sha512-E+XQCRwSbaaiChtv6k6Dwgc+bx+Bs6vuKJHHl5kox/BaKbhiXzqQOwK4cO22yElGp2OCmjwVhT3HmxgyPGnJfQ==", + "license": "MIT" + }, + "node_modules/bytes": { + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/bytes/-/bytes-3.1.2.tgz", + "integrity": "sha512-/Nf7TyzTx6S3yRJObOAV7956r8cr2+Oj8AC5dt8wSP3BQAoeX58NoHyCU8P8zGkNXStjTSi6fzO6F0pBdcYbEg==", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/call-bind-apply-helpers": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/call-bind-apply-helpers/-/call-bind-apply-helpers-1.0.2.tgz", + "integrity": "sha512-Sp1ablJ0ivDkSzjcaJdxEunN5/XvksFJ2sMBFfq6x0ryhQV/2b/KwFe21cMpmHtPOSij8K99/wSfoEuTObmuMQ==", + "license": "MIT", + "dependencies": { + "es-errors": "^1.3.0", + "function-bind": "^1.1.2" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/call-bound": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/call-bound/-/call-bound-1.0.4.tgz", + "integrity": "sha512-+ys997U96po4Kx/ABpBCqhA9EuxJaQWDQg7295H4hBphv3IZg0boBKuwYpt4YXp6MZ5AmZQnU/tyMTlRpaSejg==", + "license": "MIT", + "dependencies": { + "call-bind-apply-helpers": "^1.0.2", + "get-intrinsic": "^1.3.0" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/camelcase": { + "version": "5.3.1", + "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-5.3.1.tgz", + "integrity": "sha512-L28STB170nwWS63UjtlEOE3dldQApaJXZkOI1uMFfzf3rRuPegHaHesyee+YxQ+W6SvRDQV6UrdOdRiR153wJg==", + "license": "MIT", + "engines": { + "node": ">=6" + } + }, + "node_modules/chalk": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-6.0.0.tgz", + "integrity": "sha512-2uNTXIuTTxk7ciZgAU1BQcgnchcG0xXnrs6jzkQfj9SsRa9M2s5zE8WT96hS6KmG4MzWHSrvH43DF1m4XRkrFg==", + "license": "MIT", + "engines": { + "node": ">=22" + }, + "funding": { + "url": "https://github.com/chalk/chalk?sponsor=1" + } + }, + "node_modules/chokidar": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-5.0.0.tgz", + "integrity": "sha512-TQMmc3w+5AxjpL8iIiwebF73dRDF4fBIieAqGn9RGCWaEVwQ6Fb2cGe31Yns0RRIzii5goJ1Y7xbMwo1TxMplw==", + "license": "MIT", + "dependencies": { + "readdirp": "^5.0.0" + }, + "engines": { + "node": ">= 20.19.0" + }, + "funding": { + "url": "https://paulmillr.com/funding/" + } + }, + "node_modules/chownr": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/chownr/-/chownr-3.0.0.tgz", + "integrity": "sha512-+IxzY9BZOQd/XuYPRmrvEVjF/nqj5kgT4kEq7VofrDoM1MxoRjEWkrCC3EtLi59TVawxTAn+orJwFQcrqEN1+g==", + "license": "BlueOak-1.0.0", + "engines": { + "node": ">=18" + } + }, + "node_modules/clawpdf": { + "version": "0.3.2", + "resolved": "https://registry.npmjs.org/clawpdf/-/clawpdf-0.3.2.tgz", + "integrity": "sha512-1JudW0rZ5B7O2E9+cgnU5F4As7K6HZ3/s/3CHUXm5uG0+965uPOk11gvhmprpwXGJaRXhrmywZ1WWc5a+GZ7TQ==", + "license": "MIT", + "bin": { + "clawpdf": "dist/cli.js" + }, + "engines": { + "node": ">=22" + } + }, + "node_modules/cliui": { + "version": "8.0.1", + "resolved": "https://registry.npmjs.org/cliui/-/cliui-8.0.1.tgz", + "integrity": "sha512-BSeNnyus75C4//NQ9gQt1/csTXyo/8Sb+afLAkzAptFuMsod9HFokGNudZpi/oQV73hnVK+sR+5PVRMd+Dr7YQ==", + "license": "ISC", + "dependencies": { + "string-width": "^4.2.0", + "strip-ansi": "^6.0.1", + "wrap-ansi": "^7.0.0" + }, + "engines": { + "node": ">=12" + } + }, + "node_modules/color-convert": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", + "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", + "license": "MIT", + "dependencies": { + "color-name": "~1.1.4" + }, + "engines": { + "node": ">=7.0.0" + } + }, + "node_modules/color-name": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", + "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", + "license": "MIT" + }, + "node_modules/commander": { + "version": "15.0.0", + "resolved": "https://registry.npmjs.org/commander/-/commander-15.0.0.tgz", + "integrity": "sha512-z67u4ZhzCL/Tydu1lJARtEZYWbWaN7oYLHbsuzocr6y4N6WZAagG3RQ4FW61V1/0+jImpj293XfrcYnd1qxtPg==", + "license": "MIT", + "engines": { + "node": ">=22.12.0" + } + }, + "node_modules/content-disposition": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/content-disposition/-/content-disposition-1.1.0.tgz", + "integrity": "sha512-5jRCH9Z/+DRP7rkvY83B+yGIGX96OYdJmzngqnw2SBSxqCFPd0w2km3s5iawpGX8krnwSGmF0FW5Nhr0Hfai3g==", + "license": "MIT", + "engines": { + "node": ">=18" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/express" + } + }, + "node_modules/content-type": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/content-type/-/content-type-1.0.5.tgz", + "integrity": "sha512-nTjqfcBFEipKdXCv4YDQWCfmcLZKm81ldF0pAopTvyrFGVbcR6P/VAAd5G7N+0tTr8QqiU0tFadD6FK4NtJwOA==", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/cookie": { + "version": "0.7.2", + "resolved": "https://registry.npmjs.org/cookie/-/cookie-0.7.2.tgz", + "integrity": "sha512-yki5XnKuf750l50uGTllt6kKILY4nQ1eNIQatoXEByZ5dWgnKqbnqmTrBE5B4N7lrMJKQ2ytWMiTO2o0v6Ew/w==", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/cookie-signature": { + "version": "1.2.2", + "resolved": "https://registry.npmjs.org/cookie-signature/-/cookie-signature-1.2.2.tgz", + "integrity": "sha512-D76uU73ulSXrD1UXF4KE2TMxVVwhsnCgfAyTg9k8P6KGZjlXKrOLe4dJQKI3Bxi5wjesZoFXJWElNWBjPZMbhg==", + "license": "MIT", + "engines": { + "node": ">=6.6.0" + } + }, + "node_modules/core-util-is": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.3.tgz", + "integrity": "sha512-ZQBvi1DcpJ4GDqanjucZ2Hj3wEO5pZDS89BWbkcrvdxksJorwUDDZamX9ldFkp9aw2lmBDLgkObEA4DWNJ9FYQ==", + "license": "MIT" + }, + "node_modules/cors": { + "version": "2.8.6", + "resolved": "https://registry.npmjs.org/cors/-/cors-2.8.6.tgz", + "integrity": "sha512-tJtZBBHA6vjIAaF6EnIaq6laBBP9aq/Y3ouVJjEfoHbRBcHBAHYcMh/w8LDrk2PvIMMq8gmopa5D4V8RmbrxGw==", + "license": "MIT", + "dependencies": { + "object-assign": "^4", + "vary": "^1" + }, + "engines": { + "node": ">= 0.10" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/express" + } + }, + "node_modules/croner": { + "version": "10.0.1", + "resolved": "https://registry.npmjs.org/croner/-/croner-10.0.1.tgz", + "integrity": "sha512-ixNtAJndqh173VQ4KodSdJEI6nuioBWI0V1ITNKhZZsO0pEMoDxz539T4FTTbSZ/xIOSuDnzxLVRqBVSvPNE2g==", + "funding": [ + { + "type": "other", + "url": "https://paypal.me/hexagonpp" + }, + { + "type": "github", + "url": "https://github.com/sponsors/hexagon" + } + ], + "license": "MIT", + "engines": { + "node": ">=18.0" + } + }, + "node_modules/cross-spawn": { + "version": "7.0.6", + "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.6.tgz", + "integrity": "sha512-uV2QOWP2nWzsy2aMp8aRibhi9dlzF5Hgh5SHaB9OiTGEyDTiJJyx0uy51QXdyWbtAHNua4XJzUKca3OzKUd3vA==", + "license": "MIT", + "dependencies": { + "path-key": "^3.1.0", + "shebang-command": "^2.0.0", + "which": "^2.0.1" + }, + "engines": { + "node": ">= 8" + } + }, + "node_modules/css-select": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/css-select/-/css-select-7.0.0.tgz", + "integrity": "sha512-snmjEVXy+1LnwXdxhYvTMj1d9tOh4HxkA1YmoayVBeeyR2C14Pum7fcxJIm4SswYspVy866eYNwlH6xC3/VH5g==", + "license": "BSD-2-Clause", + "dependencies": { + "boolbase": "^2.0.0", + "css-what": "^8.0.0", + "domhandler": "^6.0.1", + "domutils": "^4.0.2", + "nth-check": "^3.0.1" + }, + "engines": { + "node": ">=20.19.0" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/fb55" + } + }, + "node_modules/css-what": { + "version": "8.0.0", + "resolved": "https://registry.npmjs.org/css-what/-/css-what-8.0.0.tgz", + "integrity": "sha512-DH0Bqq3DNp5tdOReuNyAA+Ev4Y2GS5FMbZpeTLP6C4CDi0h5nL0BmUPChXw3o/qbHLDWHl49sbNqQVY7bMSDdw==", + "license": "BSD-2-Clause", + "engines": { + "node": ">=20.19.0" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/fb55" + } + }, + "node_modules/cssom": { + "version": "0.5.0", + "resolved": "https://registry.npmjs.org/cssom/-/cssom-0.5.0.tgz", + "integrity": "sha512-iKuQcq+NdHqlAcwUY0o/HL69XQrUaQdMjmStJ8JFmUaiiQErlhrmuigkg/CU4E2J0IyUKUrMAgl36TvN67MqTw==", + "license": "MIT" + }, + "node_modules/data-uri-to-buffer": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/data-uri-to-buffer/-/data-uri-to-buffer-4.0.1.tgz", + "integrity": "sha512-0R9ikRb668HB7QDxT1vkpuUBtqc53YyAwMwGeUFKRojY/NWKvdZ+9UYtRfGmhqNbRkTSVpMbmyhXipFFv2cb/A==", + "license": "MIT", + "engines": { + "node": ">= 12" + } + }, + "node_modules/debug": { + "version": "4.4.3", + "resolved": "https://registry.npmjs.org/debug/-/debug-4.4.3.tgz", + "integrity": "sha512-RGwwWnwQvkVfavKVt22FGLw+xYSdzARwm0ru6DhTVA3umU5hZc28V3kO4stgYryrTlLpuvgI9GiijltAjNbcqA==", + "license": "MIT", + "dependencies": { + "ms": "^2.1.3" + }, + "engines": { + "node": ">=6.0" + }, + "peerDependenciesMeta": { + "supports-color": { + "optional": true + } + } + }, + "node_modules/decamelize": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/decamelize/-/decamelize-1.2.0.tgz", + "integrity": "sha512-z2S+W9X73hAUUki+N+9Za2lBlun89zigOyGrsax+KUQ6wKW4ZoWpEYBkGhQjwAjjDCkWxhY0VKEhk8wzY7F5cA==", + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/depd": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/depd/-/depd-2.0.0.tgz", + "integrity": "sha512-g7nH6P6dyDioJogAAGprGpCtVImJhpPk/roCzdb3fIh61/s/nPsfR6onyMwkCAR/OlC3yBC0lESvUoQEAssIrw==", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/diff": { + "version": "9.0.0", + "resolved": "https://registry.npmjs.org/diff/-/diff-9.0.0.tgz", + "integrity": "sha512-svtcdpS8CgJyqAjEQIXdb3OjhFVVYjzGAPO8WGCmRbrml64SPw/jJD4GoE98aR7r25A0XcgrK3F02yw9R/vhQw==", + "license": "BSD-3-Clause", + "engines": { + "node": ">=0.3.1" + } + }, + "node_modules/dijkstrajs": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/dijkstrajs/-/dijkstrajs-1.0.3.tgz", + "integrity": "sha512-qiSlmBq9+BCdCA/L46dw8Uy93mloxsPSbwnm5yrKn2vMPiy8KyAskTF6zuV/j5BMsmOGZDPs7KjU+mjb670kfA==", + "license": "MIT" + }, + "node_modules/dom-serializer": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/dom-serializer/-/dom-serializer-3.1.1.tgz", + "integrity": "sha512-4MEa38/QexBob6gFNwu+EGdWvhJ1OKuNwdYY3Y3NyeWDQfnGeDYQUDfIRzWu5B5gsv03so2Uxd28YC6zrsx3Lw==", + "license": "MIT", + "dependencies": { + "domelementtype": "^3.0.0", + "domhandler": "^6.0.0", + "entities": "^8.0.0" + }, + "engines": { + "node": ">=20.19.0" + }, + "funding": { + "type": "github", + "url": "https://github.com/cheeriojs/dom-serializer?sponsor=1" + } + }, + "node_modules/domelementtype": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/domelementtype/-/domelementtype-3.0.0.tgz", + "integrity": "sha512-umCQid3jKbDmVjx8jGaW7uUykm4DEUeyV21hPxNMo2nV955DhUThwqyOIDtreepP31hl84X7G5U9ZfsWvIB3Pg==", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/fb55" + } + ], + "license": "BSD-2-Clause", + "engines": { + "node": ">=20.19.0" + } + }, + "node_modules/domhandler": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/domhandler/-/domhandler-6.0.1.tgz", + "integrity": "sha512-gYzvtM72ZtxQO0T048kd6HWSbbGCNOUwcnfQ01cqIJ4X2IYKFFHZ5mKvrQETcFXxsRObZulDaKmy//R7TPtsBg==", + "license": "BSD-2-Clause", + "dependencies": { + "domelementtype": "^3.0.0" + }, + "engines": { + "node": ">=20.19.0" + }, + "funding": { + "type": "github", + "url": "https://github.com/fb55/domhandler?sponsor=1" + } + }, + "node_modules/domutils": { + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/domutils/-/domutils-4.0.2.tgz", + "integrity": "sha512-qI4JLRKnSzqFqr7hAlS5xQDusBCjKSEG4t4+7aNrIQMHBcsC2TGEhuyABJdYkgSewL57PNLYEiibY2iPKhKpaA==", + "license": "BSD-2-Clause", + "dependencies": { + "dom-serializer": "^3.0.0", + "domelementtype": "^3.0.0", + "domhandler": "^6.0.0" + }, + "engines": { + "node": ">=20.19.0" + }, + "funding": { + "type": "github", + "url": "https://github.com/fb55/domutils?sponsor=1" + } + }, + "node_modules/dotenv": { + "version": "18.0.1", + "resolved": "https://registry.npmjs.org/dotenv/-/dotenv-18.0.1.tgz", + "integrity": "sha512-0eR4m4D/jH5eaI3evo2ZqqMii5mrTCR12v12VChdie6O1gPHs7XAjzTep0CWc1Bd+oNx3vVfbi734dK4zghigw==", + "license": "BSD-2-Clause", + "bin": { + "dotenv": "dist/index.cjs" + }, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://dotenvx.com" + } + }, + "node_modules/dunder-proto": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/dunder-proto/-/dunder-proto-1.0.1.tgz", + "integrity": "sha512-KIN/nDJBQRcXw0MLVhZE9iQHmG68qAVIBg9CqmUYjmQIhgij9U5MFvrqkUL5FbtyyzZuOeOt0zdeRe4UY7ct+A==", + "license": "MIT", + "dependencies": { + "call-bind-apply-helpers": "^1.0.1", + "es-errors": "^1.3.0", + "gopd": "^1.2.0" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/ecdsa-sig-formatter": { + "version": "1.0.11", + "resolved": "https://registry.npmjs.org/ecdsa-sig-formatter/-/ecdsa-sig-formatter-1.0.11.tgz", + "integrity": "sha512-nagl3RYrbNv6kQkeJIpt6NJZy8twLB/2vtz6yN9Z4vRKHN4/QZJIEbqohALSgwKdnksuY3k5Addp5lg8sVoVcQ==", + "license": "Apache-2.0", + "dependencies": { + "safe-buffer": "^5.0.1" + } + }, + "node_modules/ee-first": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/ee-first/-/ee-first-1.1.1.tgz", + "integrity": "sha512-WMwm9LhRUo+WUaRN+vRuETqG89IgZphVSNkdFgeb6sS/E4OrDIN7t48CAewSHXc6C8lefD8KKfr5vY61brQlow==", + "license": "MIT" + }, + "node_modules/emoji-regex": { + "version": "8.0.0", + "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz", + "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==", + "license": "MIT" + }, + "node_modules/encodeurl": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/encodeurl/-/encodeurl-2.0.0.tgz", + "integrity": "sha512-Q0n9HRi4m6JuGIV1eFlmvJB7ZEVxu93IrMyiMsGC0lrMJMWzRgx6WGquyfQgZVb31vhGgXnfmPNNXmxnOkRBrg==", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/entities": { + "version": "8.1.0", + "resolved": "https://registry.npmjs.org/entities/-/entities-8.1.0.tgz", + "integrity": "sha512-kxL7msIffSuh9aaFAMD7rxAIuTRMAHMeBtgHW2yUdWw732ZNh4MehkF2gdjvtdmikkaIP9bFDDJOPlsvm7avrA==", + "license": "BSD-2-Clause", + "engines": { + "node": ">=20.19.0" + }, + "funding": { + "url": "https://github.com/fb55/entities?sponsor=1" + } + }, + "node_modules/es-define-property": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/es-define-property/-/es-define-property-1.0.1.tgz", + "integrity": "sha512-e3nRfgfUZ4rNGL232gUgX06QNyyez04KdjFrF+LTRoOXmrOgFKDg4BCdsjW8EnT69eqdYGmRpJwiPVYNrCaW3g==", + "license": "MIT", + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/es-errors": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/es-errors/-/es-errors-1.3.0.tgz", + "integrity": "sha512-Zf5H2Kxt2xjTvbJvP2ZWLEICxA6j+hAmMzIlypy4xcBg1vKVnx89Wy0GbS+kf5cwCVFFzdCFh2XSCFNULS6csw==", + "license": "MIT", + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/es-object-atoms": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/es-object-atoms/-/es-object-atoms-1.1.2.tgz", + "integrity": "sha512-HWcBoN6NileqtSydK2FqHbS/LoDd2pqrnQHLyJzBj4kOp/ky2MWMN694xOfkK8/SnUsW2DH7EfyVlydKCsm1Zw==", + "license": "MIT", + "dependencies": { + "es-errors": "^1.3.0" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/esbuild": { + "version": "0.28.2", + "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.28.2.tgz", + "integrity": "sha512-HKVLS8dvII+xoKW9kmqxbRKrnWEXfJJr/FZhhJmiqIB0e053QNYFqOBouTMO/k5sID4MvCiUCvv8b9M4h32wIA==", + "hasInstallScript": true, + "license": "MIT", + "bin": { + "esbuild": "bin/esbuild" + }, + "engines": { + "node": ">=18" + }, + "optionalDependencies": { + "@esbuild/aix-ppc64": "0.28.2", + "@esbuild/android-arm": "0.28.2", + "@esbuild/android-arm64": "0.28.2", + "@esbuild/android-x64": "0.28.2", + "@esbuild/darwin-arm64": "0.28.2", + "@esbuild/darwin-x64": "0.28.2", + "@esbuild/freebsd-arm64": "0.28.2", + "@esbuild/freebsd-x64": "0.28.2", + "@esbuild/linux-arm": "0.28.2", + "@esbuild/linux-arm64": "0.28.2", + "@esbuild/linux-ia32": "0.28.2", + "@esbuild/linux-loong64": "0.28.2", + "@esbuild/linux-mips64el": "0.28.2", + "@esbuild/linux-ppc64": "0.28.2", + "@esbuild/linux-riscv64": "0.28.2", + "@esbuild/linux-s390x": "0.28.2", + "@esbuild/linux-x64": "0.28.2", + "@esbuild/netbsd-arm64": "0.28.2", + "@esbuild/netbsd-x64": "0.28.2", + "@esbuild/openbsd-arm64": "0.28.2", + "@esbuild/openbsd-x64": "0.28.2", + "@esbuild/openharmony-arm64": "0.28.2", + "@esbuild/sunos-x64": "0.28.2", + "@esbuild/win32-arm64": "0.28.2", + "@esbuild/win32-ia32": "0.28.2", + "@esbuild/win32-x64": "0.28.2" + } + }, + "node_modules/escalade": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/escalade/-/escalade-3.2.0.tgz", + "integrity": "sha512-WUj2qlxaQtO4g6Pq5c29GTcWGDyd8itL8zTlipgECz3JesAiiOKotd8JU6otB3PACgG6xkJUyVhboMS+bje/jA==", + "license": "MIT", + "engines": { + "node": ">=6" + } + }, + "node_modules/escape-html": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/escape-html/-/escape-html-1.0.3.tgz", + "integrity": "sha512-NiSupZ4OeuGwr68lGIeym/ksIZMJodUGOSCZ/FSnTxcrekbvqrgdUxlJOMpijaKZVjAJrWrGs/6Jy8OMuyj9ow==", + "license": "MIT" + }, + "node_modules/etag": { + "version": "1.8.1", + "resolved": "https://registry.npmjs.org/etag/-/etag-1.8.1.tgz", + "integrity": "sha512-aIL5Fx7mawVa300al2BnEE4iNvo1qETxLrPI/o05L7z6go7fCw1J6EQmbK4FmJ2AS7kgVF/KEZWufBfdClMcPg==", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/event-target-shim": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/event-target-shim/-/event-target-shim-5.0.1.tgz", + "integrity": "sha512-i/2XbnSz/uxRCU6+NdVJgKWDTM427+MqYbkQzD321DuCQJUqOuJKIA0IM2+W2xtYHdKOmZ4dR6fExsd4SXL+WQ==", + "license": "MIT", + "engines": { + "node": ">=6" + } + }, + "node_modules/eventsource": { + "version": "3.0.7", + "resolved": "https://registry.npmjs.org/eventsource/-/eventsource-3.0.7.tgz", + "integrity": "sha512-CRT1WTyuQoD771GW56XEZFQ/ZoSfWid1alKGDYMmkt2yl8UXrVR4pspqWNEcqKvVIzg6PAltWjxcSSPrboA4iA==", + "license": "MIT", + "dependencies": { + "eventsource-parser": "^3.0.1" + }, + "engines": { + "node": ">=18.0.0" + } + }, + "node_modules/eventsource-parser": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/eventsource-parser/-/eventsource-parser-3.1.1.tgz", + "integrity": "sha512-EKN1vKAMcZ8MlYMpaNuxN6R9yakzH6uajHcHVTqWJzvu5pWw9DyhbP35HH8MVBQ+dZjAfDxk+A8NiR9KWaXiyQ==", + "license": "MIT", + "engines": { + "node": ">=18.0.0" + } + }, + "node_modules/execa": { + "version": "10.0.1", + "resolved": "https://registry.npmjs.org/execa/-/execa-10.0.1.tgz", + "integrity": "sha512-ge98qjkRK4IB7tL7Ju/6qmm5LHoH1eEMt5FNZrz3f4UIYhF28lggX20z3FaX1sgc67msLEn0N0BscOs29iuwyw==", + "license": "MIT", + "dependencies": { + "@sindresorhus/merge-streams": "^4.0.0", + "figures": "^6.1.0", + "get-stream": "^9.0.1", + "human-signals": "^8.0.1", + "is-plain-obj": "^4.1.0", + "is-stream": "^4.0.1", + "npm-run-path": "^6.0.0", + "pretty-ms": "^9.3.0", + "signal-exit": "^4.1.0", + "strip-final-newline": "^4.0.0", + "which-command": "^0.1.0", + "yoctocolors": "^2.1.2" + }, + "engines": { + "node": ">=22" + }, + "funding": { + "url": "https://github.com/sindresorhus/execa?sponsor=1" + } + }, + "node_modules/express": { + "version": "5.2.1", + "resolved": "https://registry.npmjs.org/express/-/express-5.2.1.tgz", + "integrity": "sha512-hIS4idWWai69NezIdRt2xFVofaF4j+6INOpJlVOLDO8zXGpUVEVzIYk12UUi2JzjEzWL3IOAxcTubgz9Po0yXw==", + "license": "MIT", + "dependencies": { + "accepts": "^2.0.0", + "body-parser": "^2.2.1", + "content-disposition": "^1.0.0", + "content-type": "^1.0.5", + "cookie": "^0.7.1", + "cookie-signature": "^1.2.1", + "debug": "^4.4.0", + "depd": "^2.0.0", + "encodeurl": "^2.0.0", + "escape-html": "^1.0.3", + "etag": "^1.8.1", + "finalhandler": "^2.1.0", + "fresh": "^2.0.0", + "http-errors": "^2.0.0", + "merge-descriptors": "^2.0.0", + "mime-types": "^3.0.0", + "on-finished": "^2.4.1", + "once": "^1.4.0", + "parseurl": "^1.3.3", + "proxy-addr": "^2.0.7", + "qs": "^6.14.0", + "range-parser": "^1.2.1", + "router": "^2.2.0", + "send": "^1.1.0", + "serve-static": "^2.2.0", + "statuses": "^2.0.1", + "type-is": "^2.0.1", + "vary": "^1.1.2" + }, + "engines": { + "node": ">= 18" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/express" + } + }, + "node_modules/express-rate-limit": { + "version": "8.7.1", + "resolved": "https://registry.npmjs.org/express-rate-limit/-/express-rate-limit-8.7.1.tgz", + "integrity": "sha512-2FXbqkygil3mZiXzEtM0IjE/UBmBNot0J1GEVrJT4JbrvwOSoEtqtO+wHbiMQELWe1eNvHoYRg2dkjOid+6JkA==", + "license": "MIT", + "dependencies": { + "debug": "^4.4.3", + "ip-address": "^10.2.0" + }, + "engines": { + "node": ">= 16" + }, + "funding": { + "url": "https://github.com/sponsors/express-rate-limit" + }, + "peerDependencies": { + "express": ">= 4.11" + } + }, + "node_modules/extend": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/extend/-/extend-3.0.2.tgz", + "integrity": "sha512-fjquC59cD7CyW6urNXK0FBufkZcoiGG80wTuPujX590cB5Ttln20E2UB4S/WARVqhXffZl2LNgS+gQdPIIim/g==", + "license": "MIT" + }, + "node_modules/fast-deep-equal": { + "version": "3.1.3", + "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz", + "integrity": "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==", + "license": "MIT" + }, + "node_modules/fast-sha256": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/fast-sha256/-/fast-sha256-1.3.0.tgz", + "integrity": "sha512-n11RGP/lrWEFI/bWdygLxhI+pVeo1ZYIVwvvPkW7azl/rOy+F3HYRZ2K5zeE9mmkhQppyv9sQFx0JM9UabnpPQ==", + "license": "Unlicense" + }, + "node_modules/fast-string-truncated-width": { + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/fast-string-truncated-width/-/fast-string-truncated-width-3.0.3.tgz", + "integrity": "sha512-0jjjIEL6+0jag3l2XWWizO64/aZVtpiGE3t0Zgqxv0DPuxiMjvB3M24fCyhZUO4KomJQPj3LTSUnDP3GpdwC0g==", + "license": "MIT" + }, + "node_modules/fast-string-width": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/fast-string-width/-/fast-string-width-3.0.2.tgz", + "integrity": "sha512-gX8LrtNEI5hq8DVUfRQMbr5lpaS4nMIWV+7XEbXk2b8kiQIizgnlr12B4dA3ZEx3308ze0O4Q1R+cHts8kyUJg==", + "license": "MIT", + "dependencies": { + "fast-string-truncated-width": "^3.0.2" + } + }, + "node_modules/fast-uri": { + "version": "3.1.8", + "resolved": "https://registry.npmjs.org/fast-uri/-/fast-uri-3.1.8.tgz", + "integrity": "sha512-GZMtZUTNRpOVIECoXwLNZS5xUGE+mVNbTB8h/7Rwh2TFWcBQiPzTgyZi05BF9UMZKkLJv8XBRJTlU7zg8+ZfMg==", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/fastify" + }, + { + "type": "opencollective", + "url": "https://opencollective.com/fastify" + } + ], + "license": "BSD-3-Clause" + }, + "node_modules/fast-wrap-ansi": { + "version": "0.2.2", + "resolved": "https://registry.npmjs.org/fast-wrap-ansi/-/fast-wrap-ansi-0.2.2.tgz", + "integrity": "sha512-7F2Fl+TjRSenLqlU3UjSH0iyqopqoZIu7eZVpEirP2g1GtWa2G/ecEmBdgz31+Mxr+ELclgg6sokpSFIQiZ02Q==", + "license": "MIT", + "dependencies": { + "fast-string-width": "^3.0.2" + } + }, + "node_modules/fetch-blob": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/fetch-blob/-/fetch-blob-3.2.0.tgz", + "integrity": "sha512-7yAQpD2UMJzLi1Dqv7qFYnPbaPx7ZfFK6PiIxQ4PfkGPyNyl2Ugx+a/umUonmKqjhM4DnfbMvdX6otXq83soQQ==", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/jimmywarting" + }, + { + "type": "paypal", + "url": "https://paypal.me/jimmywarting" + } + ], + "license": "MIT", + "dependencies": { + "node-domexception": "^1.0.0", + "web-streams-polyfill": "^3.0.3" + }, + "engines": { + "node": "^12.20 || >= 14.13" + } + }, + "node_modules/figures": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/figures/-/figures-6.1.0.tgz", + "integrity": "sha512-d+l3qxjSesT4V7v2fh+QnmFnUWv9lSpjarhShNTgBOfA0ttejbQUAlHLitbjkoRiDulW0OPoQPYIGhIC8ohejg==", + "license": "MIT", + "dependencies": { + "is-unicode-supported": "^2.0.0" + }, + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/file-type": { + "version": "22.1.1", + "resolved": "https://registry.npmjs.org/file-type/-/file-type-22.1.1.tgz", + "integrity": "sha512-sEB0oStmeLGtpmSAD88RDNuLsvhv4iC3u0lE25CUvfCULvj49xoQ3l3K525Vn+ZzsZ6DOLajQCV6RmhwwhqiJg==", + "license": "MIT", + "dependencies": { + "@tokenizer/inflate": "^0.4.1", + "strtok3": "^10.3.5", + "token-types": "^6.1.2", + "uint8array-extras": "^1.5.0" + }, + "engines": { + "node": ">=22" + }, + "funding": { + "url": "https://github.com/sindresorhus/file-type?sponsor=1" + } + }, + "node_modules/finalhandler": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/finalhandler/-/finalhandler-2.1.1.tgz", + "integrity": "sha512-S8KoZgRZN+a5rNwqTxlZZePjT/4cnm0ROV70LedRHZ0p8u9fRID0hJUZQpkKLzro8LfmC8sx23bY6tVNxv8pQA==", + "license": "MIT", + "dependencies": { + "debug": "^4.4.0", + "encodeurl": "^2.0.0", + "escape-html": "^1.0.3", + "on-finished": "^2.4.1", + "parseurl": "^1.3.3", + "statuses": "^2.0.1" + }, + "engines": { + "node": ">= 18.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/express" + } + }, + "node_modules/find-up": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/find-up/-/find-up-4.1.0.tgz", + "integrity": "sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw==", + "license": "MIT", + "dependencies": { + "locate-path": "^5.0.0", + "path-exists": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/formdata-polyfill": { + "version": "4.0.10", + "resolved": "https://registry.npmjs.org/formdata-polyfill/-/formdata-polyfill-4.0.10.tgz", + "integrity": "sha512-buewHzMvYL29jdeQTVILecSaZKnt/RJWjoZCF5OW60Z67/GmSLBkOFM7qh1PI3zFNtJbaZL5eQu1vLfazOwj4g==", + "license": "MIT", + "dependencies": { + "fetch-blob": "^3.1.2" + }, + "engines": { + "node": ">=12.20.0" + } + }, + "node_modules/forwarded": { + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/forwarded/-/forwarded-0.2.0.tgz", + "integrity": "sha512-buRG0fpBtRHSTCOASe6hD258tEubFoRLb4ZNA6NxMVHNw2gOcwHo9wyablzMzOA5z9xA9L1KNjk/Nt6MT9aYow==", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/fresh": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/fresh/-/fresh-2.0.0.tgz", + "integrity": "sha512-Rx/WycZ60HOaqLKAi6cHRKKI7zxWbJ31MhntmtwMoaTeF7XFH9hhBp8vITaMidfljRQ6eYWCKkaTK+ykVJHP2A==", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/function-bind": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.2.tgz", + "integrity": "sha512-7XHNxH7qX9xG5mIwxkhumTox/MIRNcOgDrxWsMt2pAr23WHp6MrRlN7FBSFpCpr+oVO0F744iUgR82nJMfG2SA==", + "license": "MIT", + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/gaxios": { + "version": "7.3.1", + "resolved": "https://registry.npmjs.org/gaxios/-/gaxios-7.3.1.tgz", + "integrity": "sha512-kB3rzJV7d9juLZh8/56QTXCwQfxyhdOMdyYk1HdQKFtF8TJTDTZQJtixWIwXdE9Jji91mC41DUNpjleo4L4eAQ==", + "license": "Apache-2.0", + "dependencies": { + "extend": "^3.0.2", + "https-proxy-agent": "^7.0.1", + "node-fetch": "^3.3.2" + }, + "engines": { + "node": ">=18" + } + }, + "node_modules/gcp-metadata": { + "version": "8.1.2", + "resolved": "https://registry.npmjs.org/gcp-metadata/-/gcp-metadata-8.1.2.tgz", + "integrity": "sha512-zV/5HKTfCeKWnxG0Dmrw51hEWFGfcF2xiXqcA3+J90WDuP0SvoiSO5ORvcBsifmx/FoIjgQN3oNOGaQ5PhLFkg==", + "license": "Apache-2.0", + "dependencies": { + "gaxios": "^7.0.0", + "google-logging-utils": "^1.0.0", + "json-bigint": "^1.0.0" + }, + "engines": { + "node": ">=18" + } + }, + "node_modules/get-caller-file": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/get-caller-file/-/get-caller-file-2.0.5.tgz", + "integrity": "sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg==", + "license": "ISC", + "engines": { + "node": "6.* || 8.* || >= 10.*" + } + }, + "node_modules/get-east-asian-width": { + "version": "1.6.0", + "resolved": "https://registry.npmjs.org/get-east-asian-width/-/get-east-asian-width-1.6.0.tgz", + "integrity": "sha512-QRbvDIbx6YklUe6RxeTeleMR0yv3cYH6PsPZHcnVn7xv7zO1BHN8r0XETu8n6Ye3Q+ahtSarc3WgtNWmehIBfA==", + "license": "MIT", + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/get-intrinsic": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.3.0.tgz", + "integrity": "sha512-9fSjSaos/fRIVIp+xSJlE6lfwhES7LNtKaCBIamHsjr2na1BiABJPo0mOjjz8GJDURarmCPGqaiVg5mfjb98CQ==", + "license": "MIT", + "dependencies": { + "call-bind-apply-helpers": "^1.0.2", + "es-define-property": "^1.0.1", + "es-errors": "^1.3.0", + "es-object-atoms": "^1.1.1", + "function-bind": "^1.1.2", + "get-proto": "^1.0.1", + "gopd": "^1.2.0", + "has-symbols": "^1.1.0", + "hasown": "^2.0.2", + "math-intrinsics": "^1.1.0" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/get-proto": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/get-proto/-/get-proto-1.0.1.tgz", + "integrity": "sha512-sTSfBjoXBp89JvIKIefqw7U2CCebsc74kiY6awiGogKtoSGbgjYE/G/+l9sF3MWFPNc9IcoOC4ODfKHfxFmp0g==", + "license": "MIT", + "dependencies": { + "dunder-proto": "^1.0.1", + "es-object-atoms": "^1.0.0" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/get-stream": { + "version": "9.0.1", + "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-9.0.1.tgz", + "integrity": "sha512-kVCxPF3vQM/N0B1PmoqVUqgHP+EeVjmZSQn+1oCRPxd2P21P2F19lIgbR3HBosbB1PUhOAoctJnfEn2GbN2eZA==", + "license": "MIT", + "dependencies": { + "@sec-ant/readable-stream": "^0.4.1", + "is-stream": "^4.0.1" + }, + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/google-auth-library": { + "version": "10.9.1", + "resolved": "https://registry.npmjs.org/google-auth-library/-/google-auth-library-10.9.1.tgz", + "integrity": "sha512-i1ydyHrqcIxXkWh/uBmVkzCvIuq5yiK2ATndIe5XxKholrG/MTYP9xGYka4sQhrbIAgGjL2B6NOE7rFaiF3fXw==", + "license": "Apache-2.0", + "dependencies": { + "base64-js": "^1.3.0", + "ecdsa-sig-formatter": "^1.0.11", + "gaxios": "^7.1.4", + "gcp-metadata": "8.1.2", + "google-logging-utils": "1.1.3", + "jws": "^4.0.0" + }, + "engines": { + "node": ">=18" + } + }, + "node_modules/google-logging-utils": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/google-logging-utils/-/google-logging-utils-1.1.3.tgz", + "integrity": "sha512-eAmLkjDjAFCVXg7A1unxHsLf961m6y17QFqXqAXGj/gVkKFrEICfStRfwUlGNfeCEjNRa32JEWOUTlYXPyyKvA==", + "license": "Apache-2.0", + "engines": { + "node": ">=14" + } + }, + "node_modules/gopd": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/gopd/-/gopd-1.2.0.tgz", + "integrity": "sha512-ZUKRh6/kUFoAiTAtTYPZJ3hw9wNxx+BIBOijnlG9PnrJsCcSjs1wyyD6vJpaYtgnzDrKYRSqf3OO6Rfa93xsRg==", + "license": "MIT", + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/grammy": { + "version": "1.46.0", + "resolved": "https://registry.npmjs.org/grammy/-/grammy-1.46.0.tgz", + "integrity": "sha512-/8Qw+iisrUdOMk+p2mjEHouMm/BBdBEN1DHh16wiTpRUZkxDG3PxexdjCvR+wvK3LWPdrEvnQbdrwpU954sPhg==", + "license": "MIT", + "dependencies": { + "@grammyjs/types": "5.0.0", + "abort-controller": "^3.0.0", + "debug": "^4.4.3", + "node-fetch": "^2.7.0" + }, + "engines": { + "node": "^12.20.0 || >=14.13.1" + } + }, + "node_modules/grammy/node_modules/node-fetch": { + "version": "2.7.0", + "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.7.0.tgz", + "integrity": "sha512-c4FRfUm/dbcWZ7U+1Wq0AwCyFL+3nt2bEw05wfxSz+DWpWsitgmSgYmy2dQdWyKC1694ELPqMs/YzUSNozLt8A==", + "license": "MIT", + "dependencies": { + "whatwg-url": "^5.0.0" + }, + "engines": { + "node": "4.x || >=6.0.0" + }, + "peerDependencies": { + "encoding": "^0.1.0" + }, + "peerDependenciesMeta": { + "encoding": { + "optional": true + } + } + }, + "node_modules/has-symbols": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.1.0.tgz", + "integrity": "sha512-1cDNdwJ2Jaohmb3sg4OmKaMBwuC48sYni5HUw2DvsC8LjGTLK9h+eb1X6RyuOHe4hT0ULCW68iomhjUoKUqlPQ==", + "license": "MIT", + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/hasown": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/hasown/-/hasown-2.0.4.tgz", + "integrity": "sha512-T2UbfbBEF32wiepXIsMlTW9+dDYC6wMh/t/vYA4tuOMKqWz/n3vr1NFSxQiyP+zk2mXsoMA/i/7qV6LKut1t1A==", + "license": "MIT", + "dependencies": { + "function-bind": "^1.1.2" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/highlight.js": { + "version": "11.12.0", + "resolved": "https://registry.npmjs.org/highlight.js/-/highlight.js-11.12.0.tgz", + "integrity": "sha512-nbfWpyRMcMrPMmDwJB+dhX/eiaPKtc2RB+0QZskqJ3WjRA/FDS0e9hZrx8EC/lbEv8gXy98FcDbNa/dspAaJMg==", + "license": "BSD-3-Clause", + "engines": { + "node": ">=12.0.0" + } + }, + "node_modules/hono": { + "version": "4.13.11", + "resolved": "https://registry.npmjs.org/hono/-/hono-4.13.11.tgz", + "integrity": "sha512-/SMX/RQNJn7oNmFwH6DtwDqcrzZU2otm1FD6OJe2cWF6cfy/F8hq0XVBv7xW3FTJshRQwuBnXHDq2kNsdZnshg==", + "license": "MIT", + "engines": { + "node": ">=16.9.0" + } + }, + "node_modules/hosted-git-info": { + "version": "10.1.1", + "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-10.1.1.tgz", + "integrity": "sha512-DeOnSPAvOndYKfw075gt8yZzQ7S2hNztw34zBTfhIzLhmBTswIBg5/y+pqu/VD5cYWm5goAFTusDmUEmKZ0PEQ==", + "license": "ISC", + "dependencies": { + "lru-cache": "^11.1.0" + }, + "engines": { + "node": "^22.22.2 || ^24.15.0 || >=26.0.0" + } + }, + "node_modules/html-escaper": { + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/html-escaper/-/html-escaper-3.0.3.tgz", + "integrity": "sha512-RuMffC89BOWQoY0WKGpIhn5gX3iI54O6nRA0yC124NYVtzjmFWBIiFd8M0x+ZdX0P9R4lADg1mgP8C7PxGOWuQ==", + "license": "MIT" + }, + "node_modules/htmlparser2": { + "version": "10.1.0", + "resolved": "https://registry.npmjs.org/htmlparser2/-/htmlparser2-10.1.0.tgz", + "integrity": "sha512-VTZkM9GWRAtEpveh7MSF6SjjrpNVNNVJfFup7xTY3UpFtm67foy9HDVXneLtFVt4pMz5kZtgNcvCniNFb1hlEQ==", + "funding": [ + "https://github.com/fb55/htmlparser2?sponsor=1", + { + "type": "github", + "url": "https://github.com/sponsors/fb55" + } + ], + "license": "MIT", + "dependencies": { + "domelementtype": "^2.3.0", + "domhandler": "^5.0.3", + "domutils": "^3.2.2", + "entities": "^7.0.1" + } + }, + "node_modules/htmlparser2/node_modules/dom-serializer": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/dom-serializer/-/dom-serializer-2.0.0.tgz", + "integrity": "sha512-wIkAryiqt/nV5EQKqQpo3SToSOV9J0DnbJqwK7Wv/Trc92zIAYZ4FlMu+JPFW1DfGFt81ZTCGgDEabffXeLyJg==", + "license": "MIT", + "dependencies": { + "domelementtype": "^2.3.0", + "domhandler": "^5.0.2", + "entities": "^4.2.0" + }, + "funding": { + "url": "https://github.com/cheeriojs/dom-serializer?sponsor=1" + } + }, + "node_modules/htmlparser2/node_modules/dom-serializer/node_modules/entities": { + "version": "4.5.0", + "resolved": "https://registry.npmjs.org/entities/-/entities-4.5.0.tgz", + "integrity": "sha512-V0hjH4dGPh9Ao5p0MoRY6BVqtwCjhz6vI5LT8AJ55H+4g9/4vbHx1I54fS0XuclLhDHArPQCiMjDxjaL8fPxhw==", + "license": "BSD-2-Clause", + "engines": { + "node": ">=0.12" + }, + "funding": { + "url": "https://github.com/fb55/entities?sponsor=1" + } + }, + "node_modules/htmlparser2/node_modules/domelementtype": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/domelementtype/-/domelementtype-2.3.0.tgz", + "integrity": "sha512-OLETBj6w0OsagBwdXnPdN0cnMfF9opN69co+7ZrbfPGrdpPVNBUj02spi6B1N7wChLQiPn4CSH/zJvXw56gmHw==", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/fb55" + } + ], + "license": "BSD-2-Clause" + }, + "node_modules/htmlparser2/node_modules/domhandler": { + "version": "5.0.3", + "resolved": "https://registry.npmjs.org/domhandler/-/domhandler-5.0.3.tgz", + "integrity": "sha512-cgwlv/1iFQiFnU96XXgROh8xTeetsnJiDsTc7TYCLFd9+/WNkIqPTxiM/8pSd8VIrhXGTf1Ny1q1hquVqDJB5w==", + "license": "BSD-2-Clause", + "dependencies": { + "domelementtype": "^2.3.0" + }, + "engines": { + "node": ">= 4" + }, + "funding": { + "url": "https://github.com/fb55/domhandler?sponsor=1" + } + }, + "node_modules/htmlparser2/node_modules/domutils": { + "version": "3.2.2", + "resolved": "https://registry.npmjs.org/domutils/-/domutils-3.2.2.tgz", + "integrity": "sha512-6kZKyUajlDuqlHKVX1w7gyslj9MPIXzIFiz/rGu35uC1wMi+kMhQwGhl4lt9unC9Vb9INnY9Z3/ZA3+FhASLaw==", + "license": "BSD-2-Clause", + "dependencies": { + "dom-serializer": "^2.0.0", + "domelementtype": "^2.3.0", + "domhandler": "^5.0.3" + }, + "funding": { + "url": "https://github.com/fb55/domutils?sponsor=1" + } + }, + "node_modules/htmlparser2/node_modules/entities": { + "version": "7.0.1", + "resolved": "https://registry.npmjs.org/entities/-/entities-7.0.1.tgz", + "integrity": "sha512-TWrgLOFUQTH994YUyl1yT4uyavY5nNB5muff+RtWaqNVCAK408b5ZnnbNAUEWLTCpum9w6arT70i1XdQ4UeOPA==", + "license": "BSD-2-Clause", + "engines": { + "node": ">=0.12" + }, + "funding": { + "url": "https://github.com/fb55/entities?sponsor=1" + } + }, + "node_modules/http_ece": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/http_ece/-/http_ece-1.2.0.tgz", + "integrity": "sha512-JrF8SSLVmcvc5NducxgyOrKXe3EsyHMgBFgSaIUGmArKe+rwr0uphRkRXvwiom3I+fpIfoItveHrfudL8/rxuA==", + "license": "MIT", + "engines": { + "node": ">=16" + } + }, + "node_modules/http-errors": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/http-errors/-/http-errors-2.0.1.tgz", + "integrity": "sha512-4FbRdAX+bSdmo4AUFuS0WNiPz8NgFt+r8ThgNWmlrjQjt1Q7ZR9+zTlce2859x4KSXrwIsaeTqDoKQmtP8pLmQ==", + "license": "MIT", + "dependencies": { + "depd": "~2.0.0", + "inherits": "~2.0.4", + "setprototypeof": "~1.2.0", + "statuses": "~2.0.2", + "toidentifier": "~1.0.1" + }, + "engines": { + "node": ">= 0.8" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/express" + } + }, + "node_modules/https-proxy-agent": { + "version": "7.0.6", + "resolved": "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-7.0.6.tgz", + "integrity": "sha512-vK9P5/iUfdl95AI+JVyUuIcVtd4ofvtrOr3HNtM2yxC9bnMbEdp3x01OhQNnjb8IJYi38VlTE3mBXwcfvywuSw==", + "license": "MIT", + "dependencies": { + "agent-base": "^7.1.2", + "debug": "4" + }, + "engines": { + "node": ">= 14" + } + }, + "node_modules/human-signals": { + "version": "8.0.1", + "resolved": "https://registry.npmjs.org/human-signals/-/human-signals-8.0.1.tgz", + "integrity": "sha512-eKCa6bwnJhvxj14kZk5NCPc6Hb6BdsU9DZcOnmQKSnO1VKrfV0zCvtttPZUsBvjmNDn8rpcJfpwSYnHBjc95MQ==", + "license": "Apache-2.0", + "engines": { + "node": ">=18.18.0" + } + }, + "node_modules/iconv-lite": { + "version": "0.7.3", + "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.7.3.tgz", + "integrity": "sha512-IKXpvIzjnC9XTAUbVBcMfGS0EPaIXtW6v+zr+RRp+hqULEpo0owZax6wyRwPOJbWbzjYspQwusTsfVr0ifh4uQ==", + "license": "MIT", + "dependencies": { + "safer-buffer": ">= 2.1.2 < 3.0.0" + }, + "engines": { + "node": ">=0.10.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/express" + } + }, + "node_modules/ieee754": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/ieee754/-/ieee754-1.2.1.tgz", + "integrity": "sha512-dcyqhDvX1C46lXZcVqCpK+FtMRQVdIMN6/Df5js2zouUsqG7I6sFxitIC+7KYK29KdXOLHdu9zL4sFnoVQnqaA==", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ], + "license": "BSD-3-Clause" + }, + "node_modules/ignore": { + "version": "7.0.9", + "resolved": "https://registry.npmjs.org/ignore/-/ignore-7.0.9.tgz", + "integrity": "sha512-brTTsvFRt5C1gGHtPst/281UjPD5t9fBqbgoMPlVWy11ZLTPfu7HxK4ZYqO9H7o/yC9rSTCI85EaQ4OoY12qYw==", + "license": "MIT", + "engines": { + "node": ">= 4" + } + }, + "node_modules/immediate": { + "version": "3.0.6", + "resolved": "https://registry.npmjs.org/immediate/-/immediate-3.0.6.tgz", + "integrity": "sha512-XXOFtyqDjNDAQxVfYxuF7g9Il/IbWmmlQg2MYKOH8ExIT1qg6xc4zyS3HaEEATgs1btfzxq15ciUiY7gjSXRGQ==", + "license": "MIT" + }, + "node_modules/import-meta-resolve": { + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/import-meta-resolve/-/import-meta-resolve-4.2.0.tgz", + "integrity": "sha512-Iqv2fzaTQN28s/FwZAoFq0ZSs/7hMAHJVX+w8PZl3cY19Pxk6jFFalxQoIfW2826i/fDLXv8IiEZRIT0lDuWcg==", + "license": "MIT", + "funding": { + "type": "github", + "url": "https://github.com/sponsors/wooorm" + } + }, + "node_modules/inherits": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz", + "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==", + "license": "ISC" + }, + "node_modules/ip-address": { + "version": "10.7.4", + "resolved": "https://registry.npmjs.org/ip-address/-/ip-address-10.7.4.tgz", + "integrity": "sha512-DWBMKyeM25D70nrIiTkgQth59/G+naKOTep6huF9j+GmeK3DMD60Zvxg5d5qQnz+38AHgou6ean2LECX+lrKDg==", + "license": "MIT", + "engines": { + "node": ">= 12" + } + }, + "node_modules/ipaddr.js": { + "version": "1.9.1", + "resolved": "https://registry.npmjs.org/ipaddr.js/-/ipaddr.js-1.9.1.tgz", + "integrity": "sha512-0KI/607xoxSToH7GjN1FfSbLoU0+btTicjsQSWQlh/hZykN8KpmMf7uYwPW3R+akZ6R/w18ZlXSHBYXiYUPO3g==", + "license": "MIT", + "engines": { + "node": ">= 0.10" + } + }, + "node_modules/is-fullwidth-code-point": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz", + "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==", + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/is-plain-obj": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/is-plain-obj/-/is-plain-obj-4.1.0.tgz", + "integrity": "sha512-+Pgi+vMuUNkJyExiMBt5IlFoMyKnr5zhJ4Uspz58WOhBF5QoIZkFyNHIbBAtHwzVAgk5RtndVNsDRN61/mmDqg==", + "license": "MIT", + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/is-promise": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/is-promise/-/is-promise-4.0.0.tgz", + "integrity": "sha512-hvpoI6korhJMnej285dSg6nu1+e6uxs7zG3BYAm5byqDsgJNWwxzM6z6iZiAgQR4TJ30JmBTOwqZUw3WlyH3AQ==", + "license": "MIT" + }, + "node_modules/is-stream": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-4.0.1.tgz", + "integrity": "sha512-Dnz92NInDqYckGEUJv689RbRiTSEHCQ7wOVeALbkOz999YpqT46yMRIGtSNl2iCL1waAZSx40+h59NV/EwzV/A==", + "license": "MIT", + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/is-unicode-supported": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/is-unicode-supported/-/is-unicode-supported-2.1.0.tgz", + "integrity": "sha512-mE00Gnza5EEB3Ds0HfMyllZzbBrmLOX3vfWoj9A9PEnTfratQ/BcaJOuMhnkhjXvb2+FkY3VuHqtAGpTPmglFQ==", + "license": "MIT", + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/isarray": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz", + "integrity": "sha512-VLghIWNM6ELQzo7zwmcg0NmTVyWKYjvIeM83yjp0wRDTmUnrM678fQbcKBo6n2CJEF0szoG//ytg+TKla89ALQ==", + "license": "MIT" + }, + "node_modules/isexe": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz", + "integrity": "sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw==", + "license": "ISC" + }, + "node_modules/jiti": { + "version": "2.7.0", + "resolved": "https://registry.npmjs.org/jiti/-/jiti-2.7.0.tgz", + "integrity": "sha512-AC/7JofJvZGrrneWNaEnJeOLUx+JlGt7tNa0wZiRPT4MY1wmfKjt2+6O2p2uz2+skll8OZZmJMNqeke7kKbNgQ==", + "license": "MIT", + "bin": { + "jiti": "lib/jiti-cli.mjs" + } + }, + "node_modules/jose": { + "version": "6.2.13", + "resolved": "https://registry.npmjs.org/jose/-/jose-6.2.13.tgz", + "integrity": "sha512-7TIg10ZE1x82YediN+lcrPNvGMKge9yFHQD+Qho/b8y2adfugU3AsvvHfxV0fzyFllT6l9xCjf4RWY9g/Z9PJQ==", + "license": "MIT", + "funding": { + "url": "https://github.com/sponsors/panva" + } + }, + "node_modules/js-tokens": { + "version": "10.0.0", + "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-10.0.0.tgz", + "integrity": "sha512-lM/UBzQmfJRo9ABXbPWemivdCW8V2G8FHaHdypQaIy523snUjog0W71ayWXTjiR+ixeMyVHN2XcpnTd/liPg/Q==", + "license": "MIT" + }, + "node_modules/jsesc": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/jsesc/-/jsesc-3.1.0.tgz", + "integrity": "sha512-/sM3dO2FOzXjKQhJuo0Q173wf2KOo8t4I8vHy6lF9poUp7bKT0/NHE8fPX23PwfhnykfqnC2xRxOnVw5XuGIaA==", + "license": "MIT", + "bin": { + "jsesc": "bin/jsesc" + }, + "engines": { + "node": ">=6" + } + }, + "node_modules/json-bigint": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/json-bigint/-/json-bigint-1.0.0.tgz", + "integrity": "sha512-SiPv/8VpZuWbvLSMtTDU8hEfrZWg/mH/nV/b4o0CYbSxu1UIQPLdwKOCIyLQX+VIPO5vrLX3i8qtqFyhdPSUSQ==", + "license": "MIT", + "dependencies": { + "bignumber.js": "^9.0.0" + } + }, + "node_modules/json-schema-to-ts": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/json-schema-to-ts/-/json-schema-to-ts-3.1.1.tgz", + "integrity": "sha512-+DWg8jCJG2TEnpy7kOm/7/AxaYoaRbjVB4LFZLySZlWn8exGs3A4OLJR966cVvU26N7X9TWxl+Jsw7dzAqKT6g==", + "license": "MIT", + "dependencies": { + "@babel/runtime": "^7.18.3", + "ts-algebra": "^2.0.0" + }, + "engines": { + "node": ">=16" + } + }, + "node_modules/json-schema-traverse": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-1.0.0.tgz", + "integrity": "sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug==", + "license": "MIT" + }, + "node_modules/json-schema-typed": { + "version": "8.0.2", + "resolved": "https://registry.npmjs.org/json-schema-typed/-/json-schema-typed-8.0.2.tgz", + "integrity": "sha512-fQhoXdcvc3V28x7C7BMs4P5+kNlgUURe2jmUT1T//oBRMDrqy1QPelJimwZGo7Hg9VPV3EQV5Bnq4hbFy2vetA==", + "license": "BSD-2-Clause" + }, + "node_modules/json5": { + "version": "2.2.3", + "resolved": "https://registry.npmjs.org/json5/-/json5-2.2.3.tgz", + "integrity": "sha512-XmOWe7eyHYH14cLdVPoyg+GOH3rYX++KpzrylJwSW98t3Nk+U8XOl8FWKOgwtzdb8lXGf6zYwDUzeHMWfxasyg==", + "license": "MIT", + "bin": { + "json5": "lib/cli.js" + }, + "engines": { + "node": ">=6" + } + }, + "node_modules/jszip": { + "version": "3.10.2", + "resolved": "https://registry.npmjs.org/jszip/-/jszip-3.10.2.tgz", + "integrity": "sha512-3l+rb15IOWtUhU0H5MFqES/T6Kh7abYwjosBey/vD6hDt8zoEffkSC5Ws5SGtgVw3gBx2NEbhTeSW1+kWkpyTQ==", + "license": "(MIT OR GPL-3.0-or-later)", + "dependencies": { + "lie": "~3.3.0", + "pako": "~1.0.2", + "readable-stream": "~2.3.6", + "setimmediate": "^1.0.5" + } + }, + "node_modules/jwa": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/jwa/-/jwa-2.0.1.tgz", + "integrity": "sha512-hRF04fqJIP8Abbkq5NKGN0Bbr3JxlQ+qhZufXVr0DvujKy93ZCbXZMHDL4EOtodSbCWxOqR8MS1tXA5hwqCXDg==", + "license": "MIT", + "dependencies": { + "buffer-equal-constant-time": "^1.0.1", + "ecdsa-sig-formatter": "1.0.11", + "safe-buffer": "^5.0.1" + } + }, + "node_modules/jws": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/jws/-/jws-4.0.1.tgz", + "integrity": "sha512-EKI/M/yqPncGUUh44xz0PxSidXFr/+r0pA70+gIYhjv+et7yxM+s29Y+VGDkovRofQem0fs7Uvf4+YmAdyRduA==", + "license": "MIT", + "dependencies": { + "jwa": "^2.0.1", + "safe-buffer": "^5.0.1" + } + }, + "node_modules/koffi": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/koffi/-/koffi-3.3.1.tgz", + "integrity": "sha512-FZYfhBfYQr/cmHhZpaQ9rhbKpkjHhxaytn2A0mbPhiD5yV8QzF3SiQwR1w/34rCJ1fw+6qBQSj/ZoXRdC+Xc2Q==", + "hasInstallScript": true, + "license": "MIT", + "funding": { + "url": "https://liberapay.com/Koromix" + }, + "optionalDependencies": { + "@koromix/koffi-android-arm64": "3.3.1", + "@koromix/koffi-android-x64": "3.3.1", + "@koromix/koffi-darwin-arm64": "3.3.1", + "@koromix/koffi-darwin-x64": "3.3.1", + "@koromix/koffi-freebsd-arm64": "3.3.1", + "@koromix/koffi-freebsd-ia32": "3.3.1", + "@koromix/koffi-freebsd-x64": "3.3.1", + "@koromix/koffi-linux-arm": "3.3.1", + "@koromix/koffi-linux-arm64": "3.3.1", + "@koromix/koffi-linux-ia32": "3.3.1", + "@koromix/koffi-linux-loong64": "3.3.1", + "@koromix/koffi-linux-ppc64": "3.3.1", + "@koromix/koffi-linux-riscv64": "3.3.1", + "@koromix/koffi-linux-x64": "3.3.1", + "@koromix/koffi-openbsd-arm64": "3.3.1", + "@koromix/koffi-openbsd-ia32": "3.3.1", + "@koromix/koffi-openbsd-x64": "3.3.1", + "@koromix/koffi-win32-arm64": "3.3.1", + "@koromix/koffi-win32-ia32": "3.3.1", + "@koromix/koffi-win32-x64": "3.3.1" + } + }, + "node_modules/kysely": { + "version": "0.29.6", + "resolved": "https://registry.npmjs.org/kysely/-/kysely-0.29.6.tgz", + "integrity": "sha512-hHaB8C/rfzDDtr/t8YZwxAuPJTT0zHyaPoVzcXwDYhYNAgH/4sIfVhi/XLLIY+bL/FqaIJnjATDbi8ObSELmxg==", + "license": "MIT", + "engines": { + "node": ">=22.0.0" + } + }, + "node_modules/lie": { + "version": "3.3.0", + "resolved": "https://registry.npmjs.org/lie/-/lie-3.3.0.tgz", + "integrity": "sha512-UaiMJzeWRlEujzAuw5LokY1L5ecNQYZKfmyZ9L7wDHb/p5etKaxXhohBcrw0EYby+G/NA52vRSN4N39dxHAIwQ==", + "license": "MIT", + "dependencies": { + "immediate": "~3.0.5" + } + }, + "node_modules/linkedom": { + "version": "0.18.13", + "resolved": "https://registry.npmjs.org/linkedom/-/linkedom-0.18.13.tgz", + "integrity": "sha512-ES/o9qotMpzpN2MHs+Iq/JcVoOj8Fa5wiQYrTdFpvAnwXL0g66XHHUc9WUMk6nAlBtGsFQ24ne+SYnvnaQ2FSw==", + "license": "ISC", + "dependencies": { + "css-select": "^7.0.0", + "cssom": "^0.5.0", + "html-escaper": "^3.0.3", + "htmlparser2": "^10.1.0", + "uhyphen": "^0.2.0" + }, + "engines": { + "node": ">=16" + }, + "peerDependencies": { + "canvas": ">= 2" + }, + "peerDependenciesMeta": { + "canvas": { + "optional": true + } + } + }, + "node_modules/locate-path": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-5.0.0.tgz", + "integrity": "sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g==", + "license": "MIT", + "dependencies": { + "p-locate": "^4.1.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/long": { + "version": "5.3.2", + "resolved": "https://registry.npmjs.org/long/-/long-5.3.2.tgz", + "integrity": "sha512-mNAgZ1GmyNhD7AuqnTG3/VQ26o760+ZYBPKjPvugO8+nLbYfX6TVpJPseBvopbdY+qpZ/lKUnmEc1LeZYS3QAA==", + "license": "Apache-2.0" + }, + "node_modules/lru-cache": { + "version": "11.5.3", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-11.5.3.tgz", + "integrity": "sha512-U4N8FgzmWxc8k1VH8Kr6lQg18U7Fjvby6wXHVRX/ZZ7IwWbRMgrRbP0Wrb5q5NVinryp4SQampHKdvtecItxUg==", + "license": "BlueOak-1.0.0", + "engines": { + "node": "20 || >=22" + } + }, + "node_modules/marked": { + "version": "18.0.11", + "resolved": "https://registry.npmjs.org/marked/-/marked-18.0.11.tgz", + "integrity": "sha512-HnslJfsZkRPBDJRHvVtAaWlZHEpSu7u8LgQuJCELjRKuWR+hpq4A7sLq3p8HaI9ypVoXDXxV34CsQJEe1+J5Aw==", + "license": "MIT", + "bin": { + "marked": "bin/marked.js" + }, + "engines": { + "node": ">= 20" + } + }, + "node_modules/math-intrinsics": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/math-intrinsics/-/math-intrinsics-1.1.0.tgz", + "integrity": "sha512-/IXtbwEk5HTPyEwyKX6hGkYXxM9nbj64B+ilVJnC/R6B0pH5G4V3b0pVbL7DBj4tkhBAppbQUlf6F6Xl9LHu1g==", + "license": "MIT", + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/media-typer": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/media-typer/-/media-typer-1.1.1.tgz", + "integrity": "sha512-yz3xRaG20c6/BOzvYoDaGtPmGscs7YivItZEEqe6GbwNfHuxu9YNmvnEkMzKldAGY4/80pRcQRZSEnhquk9XuQ==", + "license": "MIT", + "engines": { + "node": ">= 0.8" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/express" + } + }, + "node_modules/merge-descriptors": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/merge-descriptors/-/merge-descriptors-2.0.0.tgz", + "integrity": "sha512-Snk314V5ayFLhp3fkUREub6WtjBfPdCPY1Ln8/8munuLuiYhsABgBVWsozAG+MWMbVEvcdcpbi9R7ww22l9Q3g==", + "license": "MIT", + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/mime-db": { + "version": "1.54.0", + "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.54.0.tgz", + "integrity": "sha512-aU5EJuIN2WDemCcAp2vFBfp/m4EAhWJnUNSSw0ixs7/kXbd6Pg64EmwJkNdFhB8aWt1sH2CTXrLxo/iAGV3oPQ==", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/mime-types": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-3.0.2.tgz", + "integrity": "sha512-Lbgzdk0h4juoQ9fCKXW4by0UJqj+nOOrI9MJ1sSj4nI8aI2eo1qmvQEie4VD1glsS250n15LsWsYtCugiStS5A==", + "license": "MIT", + "dependencies": { + "mime-db": "^1.54.0" + }, + "engines": { + "node": ">=18" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/express" + } + }, + "node_modules/minimalistic-assert": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/minimalistic-assert/-/minimalistic-assert-1.0.1.tgz", + "integrity": "sha512-UtJcAD4yEaGtjPezWuO9wC4nwUnVH/8/Im3yEHQP4b67cXlD/Qr9hdITCU1xDbSEXg2XKNaP8jsReV7vQd00/A==", + "license": "ISC" + }, + "node_modules/minimatch": { + "version": "10.2.6", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-10.2.6.tgz", + "integrity": "sha512-vpLQEs+VLCr1nU0BXS07maYoFwlDAH0gngQuuttxIwutDFEMHq2blX+8vpgxDdK3J1PwjCJiep77OitTZ4Ll1A==", + "license": "BlueOak-1.0.0", + "dependencies": { + "brace-expansion": "^5.0.8" + }, + "engines": { + "node": "18 || 20 || >=22" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/minimist": { + "version": "1.2.8", + "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.8.tgz", + "integrity": "sha512-2yyAR8qBkN3YuheJanUpWC5U3bb5osDywNB8RzDVlDwDHbocAJveqqj1u8+SVD7jkWT4yvsHCpWqqWqAxb0zCA==", + "license": "MIT", + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/minipass": { + "version": "7.1.3", + "resolved": "https://registry.npmjs.org/minipass/-/minipass-7.1.3.tgz", + "integrity": "sha512-tEBHqDnIoM/1rXME1zgka9g6Q2lcoCkxHLuc7ODJ5BxbP5d4c2Z5cGgtXAku59200Cx7diuHTOYfSBD8n6mm8A==", + "license": "BlueOak-1.0.0", + "engines": { + "node": ">=16 || 14 >=14.17" + } + }, + "node_modules/minizlib": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/minizlib/-/minizlib-3.1.0.tgz", + "integrity": "sha512-KZxYo1BUkWD2TVFLr0MQoM8vUUigWD3LlD83a/75BqC+4qE0Hb1Vo5v1FgcfaNXvfXzr+5EhQ6ing/CaBijTlw==", + "license": "MIT", + "dependencies": { + "minipass": "^7.1.2" + }, + "engines": { + "node": ">= 18" + } + }, + "node_modules/ms": { + "version": "2.1.3", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", + "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==", + "license": "MIT" + }, + "node_modules/negotiator": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/negotiator/-/negotiator-1.1.0.tgz", + "integrity": "sha512-NMPBRMJgiQHjbd8phG3Vebdx4kZ1H121rbl5IkMqeOsahptB9BKo/d7oJ3zTXqTgagn2bWlNSXkh0QUGM31RYg==", + "license": "MIT", + "dependencies": { + "content-type": "^2.1.0" + }, + "engines": { + "node": ">=18" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/express" + } + }, + "node_modules/negotiator/node_modules/content-type": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/content-type/-/content-type-2.1.0.tgz", + "integrity": "sha512-mj7UPXE0jaqaOsukNZRUEfEi2AcL7C/vwmwcHV0O97eO1E1pxBZuyjlZrx5seTaNBg1U6+o35wpa35Qfcc+7ag==", + "license": "MIT", + "engines": { + "node": ">=18" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/express" + } + }, + "node_modules/node-domexception": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/node-domexception/-/node-domexception-1.0.0.tgz", + "integrity": "sha512-/jKZoMpw0F8GRwl4/eLROPA3cfcXtLApP0QzLmUT/HuPCZWyB7IY9ZrMeKw2O/nFIqPQB3PVM9aYm0F312AXDQ==", + "deprecated": "Use your platform's native DOMException instead", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/jimmywarting" + }, + { + "type": "github", + "url": "https://paypal.me/jimmywarting" + } + ], + "license": "MIT", + "engines": { + "node": ">=10.5.0" + } + }, + "node_modules/node-edge-tts": { + "version": "1.2.10", + "resolved": "https://registry.npmjs.org/node-edge-tts/-/node-edge-tts-1.2.10.tgz", + "integrity": "sha512-bV2i4XU54D45+US0Zm1HcJRkifuB3W438dWyuJEHLQdKxnuqlI1kim2MOvR6Q3XUQZvfF9PoDyR1Rt7aeXhPdQ==", + "license": "MIT", + "dependencies": { + "https-proxy-agent": "^7.0.1", + "ws": "^8.13.0", + "yargs": "^17.7.2" + }, + "bin": { + "node-edge-tts": "bin.js" + } + }, + "node_modules/node-fetch": { + "version": "3.3.2", + "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-3.3.2.tgz", + "integrity": "sha512-dRB78srN/l6gqWulah9SrxeYnxeddIG30+GOqK/9OlLVyLg3HPnr6SqOWTWOXKRwC2eGYCkZ59NNuSgvSrpgOA==", + "license": "MIT", + "dependencies": { + "data-uri-to-buffer": "^4.0.0", + "fetch-blob": "^3.1.4", + "formdata-polyfill": "^4.0.10" + }, + "engines": { + "node": "^12.20.0 || ^14.13.1 || >=16.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/node-fetch" + } + }, + "node_modules/npm": { + "version": "12.2.1", + "resolved": "https://registry.npmjs.org/npm/-/npm-12.2.1.tgz", + "integrity": "sha512-bKCmFRVT/BB+YPEYbZwQ1XUI3N5t4xKSpU1MxOjo7z3iWzKBJ0ZXRC1xFdEN+TC7N5TdywaBzf2dMXGJq/e2PQ==", + "bundleDependencies": [ + "@isaacs/string-locale-compare", + "@npmcli/arborist", + "@npmcli/config", + "@npmcli/fs", + "@npmcli/git", + "@npmcli/map-workspaces", + "@npmcli/metavuln-calculator", + "@npmcli/package-json", + "@npmcli/promise-spawn", + "@npmcli/redact", + "@npmcli/run-script", + "@sigstore/tuf", + "abbrev", + "archy", + "bin-links", + "cacache", + "chalk", + "ci-info", + "diff", + "fastest-levenshtein", + "fs-minipass", + "glob", + "graceful-fs", + "hosted-git-info", + "ini", + "init-package-json", + "is-cidr", + "json-parse-even-better-errors", + "libnpmaccess", + "libnpmdiff", + "libnpmexec", + "libnpmfund", + "libnpmorg", + "libnpmpack", + "libnpmpublish", + "libnpmsearch", + "libnpmteam", + "libnpmversion", + "make-fetch-happen", + "minimatch", + "minipass", + "minipass-pipeline", + "ms", + "node-gyp", + "nopt", + "npm-audit-report", + "npm-install-checks", + "npm-package-arg", + "npm-pick-manifest", + "npm-profile", + "npm-registry-fetch", + "npm-user-validate", + "p-map", + "pacote", + "parse-conflict-json", + "proc-log", + "qrcode-terminal", + "read", + "semver", + "spdx-expression-parse", + "ssri", + "supports-color", + "tar", + "text-table", + "tiny-relative-date", + "treeverse", + "validate-npm-package-name", + "which" + ], + "license": "Artistic-2.0", + "workspaces": [ + "docs", + "smoke-tests", + "mock-globals", + "mock-registry", + "workspaces/*" + ], + "dependencies": { + "@isaacs/string-locale-compare": "^1.1.0", + "@npmcli/arborist": "^10.0.4", + "@npmcli/config": "^11.2.0", + "@npmcli/fs": "^6.0.0", + "@npmcli/git": "^8.0.0", + "@npmcli/map-workspaces": "^6.0.0", + "@npmcli/metavuln-calculator": "^10.0.0", + "@npmcli/package-json": "^8.0.0", + "@npmcli/promise-spawn": "^10.0.0", + "@npmcli/redact": "^5.0.0", + "@npmcli/run-script": "^11.0.0", + "@sigstore/tuf": "^5.0.0", + "abbrev": "^5.0.0", + "archy": "~1.0.0", + "bin-links": "^7.0.0", + "cacache": "^21.0.1", + "chalk": "^5.6.2", + "ci-info": "^4.4.0", + "diff": "^8.0.2", + "fastest-levenshtein": "^1.0.16", + "fs-minipass": "^3.0.3", + "glob": "^13.0.6", + "graceful-fs": "^4.2.11", + "hosted-git-info": "^10.1.1", + "ini": "^7.0.0", + "init-package-json": "^9.0.0", + "is-cidr": "^7.0.0", + "json-parse-even-better-errors": "^6.0.0", + "libnpmaccess": "^11.0.0", + "libnpmdiff": "^9.0.4", + "libnpmexec": "^11.0.4", + "libnpmfund": "^8.0.4", + "libnpmorg": "^9.0.0", + "libnpmpack": "^10.0.4", + "libnpmpublish": "^12.0.1", + "libnpmsearch": "^10.0.0", + "libnpmteam": "^9.0.0", + "libnpmversion": "^9.0.0", + "make-fetch-happen": "^16.0.1", + "minimatch": "^10.2.5", + "minipass": "^7.1.3", + "minipass-pipeline": "^1.2.4", + "ms": "^2.1.2", + "node-gyp": "^13.0.0", + "nopt": "^10.0.1", + "npm-audit-report": "^8.0.0", + "npm-install-checks": "^9.0.0", + "npm-package-arg": "^14.0.0", + "npm-pick-manifest": "^12.0.0", + "npm-profile": "^13.0.1", + "npm-registry-fetch": "^20.0.1", + "npm-user-validate": "^5.0.0", + "p-map": "^7.0.4", + "pacote": "^22.0.0", + "parse-conflict-json": "^6.0.0", + "proc-log": "^7.0.0", + "qrcode-terminal": "^0.12.0", + "read": "^6.0.0", + "semver": "^7.8.5", + "spdx-expression-parse": "^4.0.0", + "ssri": "^14.0.0", + "supports-color": "^10.2.2", + "tar": "^7.5.22", + "text-table": "~0.2.0", + "tiny-relative-date": "^2.0.2", + "treeverse": "^3.0.0", + "validate-npm-package-name": "^8.0.0", + "which": "^7.0.0" + }, + "bin": { + "npm": "bin/npm-cli.js", + "npx": "bin/npx-cli.js" + }, + "engines": { + "node": "^22.22.2 || ^24.15.0 || >=26.0.0" + } + }, + "node_modules/npm-run-path": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/npm-run-path/-/npm-run-path-6.0.0.tgz", + "integrity": "sha512-9qny7Z9DsQU8Ou39ERsPU4OZQlSTP47ShQzuKZ6PRXpYLtIFgl/DEBYEXKlvcEa+9tHVcK8CF81Y2V72qaZhWA==", + "license": "MIT", + "dependencies": { + "path-key": "^4.0.0", + "unicorn-magic": "^0.3.0" + }, + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/npm-run-path/node_modules/path-key": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/path-key/-/path-key-4.0.0.tgz", + "integrity": "sha512-haREypq7xkM7ErfgIyA0z+Bj4AGKlMSdlQE2jvJo6huWD1EdkKYV+G/T4nq0YEF2vgTT8kqMFKo1uHn950r4SQ==", + "license": "MIT", + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/npm/node_modules/@gar/promise-retry": { + "version": "1.0.3", + "inBundle": true, + "license": "MIT", + "engines": { + "node": "^20.17.0 || >=22.9.0" + } + }, + "node_modules/npm/node_modules/@isaacs/fs-minipass": { + "version": "4.0.1", + "inBundle": true, + "license": "ISC", + "dependencies": { + "minipass": "^7.0.4" + }, + "engines": { + "node": ">=18.0.0" + } + }, + "node_modules/npm/node_modules/@isaacs/string-locale-compare": { + "version": "1.1.0", + "inBundle": true, + "license": "ISC" + }, + "node_modules/npm/node_modules/@npmcli/agent": { + "version": "5.0.2", + "inBundle": true, + "license": "ISC", + "dependencies": { + "agent-base": "^9.0.0", + "http-proxy-agent": "^9.0.0", + "https-proxy-agent": "^9.0.0", + "lru-cache": "^11.2.1", + "socks-proxy-agent": "^10.0.0" + }, + "engines": { + "node": "^22.22.2 || ^24.15.0 || >=26.0.0" + } + }, + "node_modules/npm/node_modules/@npmcli/agent/node_modules/agent-base": { + "version": "9.0.0", + "inBundle": true, + "license": "MIT", + "engines": { + "node": ">= 20" + } + }, + "node_modules/npm/node_modules/@npmcli/agent/node_modules/http-proxy-agent": { + "version": "9.1.0", + "inBundle": true, + "license": "MIT", + "dependencies": { + "agent-base": "9.0.0", + "debug": "^4.3.4", + "proxy-agent-negotiate": "1.1.0" + }, + "engines": { + "node": ">= 20" + } + }, + "node_modules/npm/node_modules/@npmcli/agent/node_modules/https-proxy-agent": { + "version": "9.1.0", + "inBundle": true, + "license": "MIT", + "dependencies": { + "agent-base": "9.0.0", + "debug": "^4.3.4", + "proxy-agent-negotiate": "1.1.0" + }, + "engines": { + "node": ">= 20" + } + }, + "node_modules/npm/node_modules/@npmcli/arborist": { + "version": "10.0.4", + "inBundle": true, + "license": "ISC", + "dependencies": { + "@gar/promise-retry": "^1.0.0", + "@isaacs/string-locale-compare": "^1.1.0", + "@npmcli/fs": "^6.0.0", + "@npmcli/installed-package-contents": "^5.0.0", + "@npmcli/map-workspaces": "^6.0.0", + "@npmcli/metavuln-calculator": "^10.0.0", + "@npmcli/name-from-folder": "^5.0.0", + "@npmcli/node-gyp": "^6.0.0", + "@npmcli/package-json": "^8.0.0", + "@npmcli/query": "^5.0.0", + "@npmcli/redact": "^5.0.0", + "@npmcli/run-script": "^11.0.0", + "bin-links": "^7.0.0", + "cacache": "^21.0.1", + "common-ancestor-path": "^2.0.0", + "diff": "^8.0.2", + "hosted-git-info": "^10.1.1", + "json-stringify-nice": "^1.1.4", + "lru-cache": "^11.2.1", + "minimatch": "^10.0.3", + "nopt": "^10.0.1", + "npm-install-checks": "^9.0.0", + "npm-package-arg": "^14.0.0", + "npm-pick-manifest": "^12.0.0", + "npm-registry-fetch": "^20.0.1", + "pacote": "^22.0.0", + "parse-conflict-json": "^6.0.0", + "proc-log": "^7.0.0", + "proggy": "^4.0.0", + "promise-all-reject-late": "^1.0.0", + "promise-call-limit": "^3.0.1", + "semver": "^7.3.7", + "ssri": "^14.0.0", + "treeverse": "^3.0.0", + "validate-npm-package-name": "^8.0.0", + "walk-up-path": "^4.0.0" + }, + "bin": { + "arborist": "bin/index.js" + }, + "engines": { + "node": "^22.22.2 || ^24.15.0 || >=26.0.0" + } + }, + "node_modules/npm/node_modules/@npmcli/config": { + "version": "11.2.0", + "inBundle": true, + "license": "ISC", + "dependencies": { + "@npmcli/map-workspaces": "^6.0.0", + "@npmcli/package-json": "^8.0.0", + "ci-info": "^4.0.0", + "ini": "^7.0.0", + "nopt": "^10.0.1", + "proc-log": "^7.0.0", + "semver": "^7.3.5", + "walk-up-path": "^4.0.0" + }, + "engines": { + "node": "^22.22.2 || ^24.15.0 || >=26.0.0" + } + }, + "node_modules/npm/node_modules/@npmcli/fs": { + "version": "6.0.0", + "inBundle": true, + "license": "ISC", + "dependencies": { + "semver": "^7.3.5" + }, + "engines": { + "node": "^22.22.2 || ^24.15.0 || >=26.0.0" + } + }, + "node_modules/npm/node_modules/@npmcli/git": { + "version": "8.0.0", + "inBundle": true, + "license": "ISC", + "dependencies": { + "@gar/promise-retry": "^1.0.0", + "@npmcli/promise-spawn": "^10.0.0", + "ini": "^7.0.0", + "lru-cache": "^11.2.1", + "npm-pick-manifest": "^12.0.0", + "proc-log": "^7.0.0", + "semver": "^7.3.5", + "which": "^7.0.0" + }, + "engines": { + "node": "^22.22.2 || ^24.15.0 || >=26.0.0" + } + }, + "node_modules/npm/node_modules/@npmcli/installed-package-contents": { + "version": "5.0.0", + "inBundle": true, + "license": "ISC", + "dependencies": { + "npm-bundled": "^6.0.0", + "npm-normalize-package-bin": "^6.0.0" + }, + "bin": { + "installed-package-contents": "bin/index.js" + }, + "engines": { + "node": "^22.22.2 || ^24.15.0 || >=26.0.0" + } + }, + "node_modules/npm/node_modules/@npmcli/installed-package-contents/node_modules/npm-bundled": { + "version": "6.0.0", + "inBundle": true, + "license": "ISC", + "dependencies": { + "npm-normalize-package-bin": "^6.0.0" + }, + "engines": { + "node": "^22.22.2 || ^24.15.0 || >=26.0.0" + } + }, + "node_modules/npm/node_modules/@npmcli/installed-package-contents/node_modules/npm-normalize-package-bin": { + "version": "6.0.0", + "inBundle": true, + "license": "ISC", + "engines": { + "node": "^22.22.2 || ^24.15.0 || >=26.0.0" + } + }, + "node_modules/npm/node_modules/@npmcli/map-workspaces": { + "version": "6.0.0", + "inBundle": true, + "license": "ISC", + "dependencies": { + "@npmcli/name-from-folder": "^5.0.0", + "@npmcli/package-json": "^8.0.0", + "glob": "^13.0.0", + "minimatch": "^10.0.3" + }, + "engines": { + "node": "^22.22.2 || ^24.15.0 || >=26.0.0" + } + }, + "node_modules/npm/node_modules/@npmcli/metavuln-calculator": { + "version": "10.0.0", + "inBundle": true, + "license": "ISC", + "dependencies": { + "cacache": "^21.0.1", + "json-parse-even-better-errors": "^6.0.0", + "pacote": "^22.0.0", + "proc-log": "^7.0.0", + "semver": "^7.3.5" + }, + "engines": { + "node": "^22.22.2 || ^24.15.0 || >=26.0.0" + } + }, + "node_modules/npm/node_modules/@npmcli/name-from-folder": { + "version": "5.0.0", + "inBundle": true, + "license": "ISC", + "engines": { + "node": "^22.22.2 || ^24.15.0 || >=26.0.0" + } + }, + "node_modules/npm/node_modules/@npmcli/node-gyp": { + "version": "6.0.0", + "inBundle": true, + "license": "ISC", + "engines": { + "node": "^22.22.2 || ^24.15.0 || >=26.0.0" + } + }, + "node_modules/npm/node_modules/@npmcli/package-json": { + "version": "8.0.0", + "inBundle": true, + "license": "ISC", + "dependencies": { + "@npmcli/git": "^8.0.0", + "glob": "^13.0.0", + "hosted-git-info": "^10.1.1", + "json-parse-even-better-errors": "^6.0.0", + "proc-log": "^7.0.0", + "semver": "^7.5.3", + "spdx-expression-parse": "^4.0.0" + }, + "engines": { + "node": "^22.22.2 || ^24.15.0 || >=26.0.0" + } + }, + "node_modules/npm/node_modules/@npmcli/promise-spawn": { + "version": "10.0.0", + "inBundle": true, + "license": "ISC", + "dependencies": { + "which": "^7.0.0" + }, + "engines": { + "node": "^22.22.2 || ^24.15.0 || >=26.0.0" + } + }, + "node_modules/npm/node_modules/@npmcli/query": { + "version": "5.0.0", + "inBundle": true, + "license": "ISC", + "dependencies": { + "postcss-selector-parser": "^7.0.0" + }, + "engines": { + "node": "^20.17.0 || >=22.9.0" + } + }, + "node_modules/npm/node_modules/@npmcli/redact": { + "version": "5.0.0", + "inBundle": true, + "license": "ISC", + "engines": { + "node": "^22.22.2 || ^24.15.0 || >=26.0.0" + } + }, + "node_modules/npm/node_modules/@npmcli/run-script": { + "version": "11.0.0", + "inBundle": true, + "license": "ISC", + "dependencies": { + "@npmcli/node-gyp": "^6.0.0", + "@npmcli/package-json": "^8.0.0", + "@npmcli/promise-spawn": "^10.0.0", + "node-gyp": "^13.0.0", + "proc-log": "^7.0.0" + }, + "engines": { + "node": "^22.22.2 || ^24.15.0 || >=26.0.0" + } + }, + "node_modules/npm/node_modules/@sigstore/bundle": { + "version": "5.0.0", + "inBundle": true, + "license": "Apache-2.0", + "dependencies": { + "@sigstore/protobuf-specs": "^0.5.0" + }, + "engines": { + "node": "^22.22.2 || ^24.15.0 || >=26.0.0" + } + }, + "node_modules/npm/node_modules/@sigstore/core": { + "version": "4.0.1", + "inBundle": true, + "license": "Apache-2.0", + "engines": { + "node": "^22.22.2 || ^24.15.0 || >=26.0.0" + } + }, + "node_modules/npm/node_modules/@sigstore/protobuf-specs": { + "version": "0.5.1", + "inBundle": true, + "license": "Apache-2.0", + "engines": { + "node": "^18.17.0 || >=20.5.0" + } + }, + "node_modules/npm/node_modules/@sigstore/sign": { + "version": "5.0.0", + "inBundle": true, + "license": "Apache-2.0", + "dependencies": { + "@gar/promise-retry": "^1.0.2", + "@sigstore/bundle": "^5.0.0", + "@sigstore/core": "^4.0.0", + "@sigstore/protobuf-specs": "^0.5.0", + "make-fetch-happen": "^16.0.0", + "proc-log": "^7.0.0" + }, + "engines": { + "node": "^22.22.2 || ^24.15.0 || >=26.0.0" + } + }, + "node_modules/npm/node_modules/@sigstore/tuf": { + "version": "5.0.0", + "inBundle": true, + "license": "Apache-2.0", + "dependencies": { + "@sigstore/protobuf-specs": "^0.5.0", + "tuf-js": "^6.0.0" + }, + "engines": { + "node": "^22.22.2 || ^24.15.0 || >=26.0.0" + } + }, + "node_modules/npm/node_modules/@sigstore/verify": { + "version": "4.1.0", + "inBundle": true, + "license": "Apache-2.0", + "dependencies": { + "@sigstore/bundle": "^5.0.0", + "@sigstore/core": "^4.0.1", + "@sigstore/protobuf-specs": "^0.5.0" + }, + "engines": { + "node": "^22.22.2 || ^24.15.0 || >=26.0.0" + } + }, + "node_modules/npm/node_modules/@tufjs/canonical-json": { + "version": "2.0.0", + "inBundle": true, + "license": "MIT", + "engines": { + "node": "^16.14.0 || >=18.0.0" + } + }, + "node_modules/npm/node_modules/@tufjs/models": { + "version": "5.0.0", + "inBundle": true, + "license": "MIT", + "dependencies": { + "@tufjs/canonical-json": "2.0.0", + "minimatch": "^10.2.1" + }, + "engines": { + "node": "^22.22.2 || ^24.15.0 || >=26.0.0" + } + }, + "node_modules/npm/node_modules/abbrev": { + "version": "5.0.0", + "inBundle": true, + "license": "ISC", + "engines": { + "node": "^22.22.2 || ^24.15.0 || >=26.0.0" + } + }, + "node_modules/npm/node_modules/aproba": { + "version": "2.1.0", + "inBundle": true, + "license": "ISC" + }, + "node_modules/npm/node_modules/archy": { + "version": "1.0.0", + "inBundle": true, + "license": "MIT" + }, + "node_modules/npm/node_modules/balanced-match": { + "version": "4.0.4", + "inBundle": true, + "license": "MIT", + "engines": { + "node": "18 || 20 || >=22" + } + }, + "node_modules/npm/node_modules/bin-links": { + "version": "7.0.0", + "inBundle": true, + "license": "ISC", + "dependencies": { + "cmd-shim": "^9.0.0", + "npm-normalize-package-bin": "^6.0.0", + "proc-log": "^7.0.0", + "read-cmd-shim": "^7.0.0", + "write-file-atomic": "^8.0.0" + }, + "engines": { + "node": "^22.22.2 || ^24.15.0 || >=26.0.0" + } + }, + "node_modules/npm/node_modules/bin-links/node_modules/cmd-shim": { + "version": "9.0.2", + "inBundle": true, + "license": "ISC", + "engines": { + "node": "^22.22.2 || ^24.15.0 || >=26.0.0" + } + }, + "node_modules/npm/node_modules/bin-links/node_modules/npm-normalize-package-bin": { + "version": "6.0.0", + "inBundle": true, + "license": "ISC", + "engines": { + "node": "^22.22.2 || ^24.15.0 || >=26.0.0" + } + }, + "node_modules/npm/node_modules/bin-links/node_modules/read-cmd-shim": { + "version": "7.0.0", + "inBundle": true, + "license": "ISC", + "engines": { + "node": "^22.22.2 || ^24.15.0 || >=26.0.0" + } + }, + "node_modules/npm/node_modules/binary-extensions": { + "version": "3.1.0", + "inBundle": true, + "license": "MIT", + "engines": { + "node": ">=18.20" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/npm/node_modules/brace-expansion": { + "version": "5.0.12", + "inBundle": true, + "license": "MIT", + "dependencies": { + "balanced-match": "^4.0.2" + }, + "engines": { + "node": "20 || >=22" + } + }, + "node_modules/npm/node_modules/cacache": { + "version": "21.0.1", + "inBundle": true, + "license": "ISC", + "dependencies": { + "@npmcli/fs": "^6.0.0", + "fs-minipass": "^3.0.0", + "glob": "^13.0.0", + "lru-cache": "^11.1.0", + "minipass": "^7.0.3", + "minipass-collect": "^2.0.1", + "minipass-flush": "^1.0.5", + "minipass-pipeline": "^1.2.4", + "p-map": "^7.0.2", + "ssri": "^14.0.0" + }, + "engines": { + "node": "^22.22.2 || ^24.15.0 || >=26.0.0" + } + }, + "node_modules/npm/node_modules/chalk": { + "version": "5.6.2", + "inBundle": true, + "license": "MIT", + "engines": { + "node": "^12.17.0 || ^14.13 || >=16.0.0" + }, + "funding": { + "url": "https://github.com/chalk/chalk?sponsor=1" + } + }, + "node_modules/npm/node_modules/chownr": { + "version": "3.0.0", + "inBundle": true, + "license": "BlueOak-1.0.0", + "engines": { + "node": ">=18" + } + }, + "node_modules/npm/node_modules/ci-info": { + "version": "4.4.0", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/sibiraj-s" + } + ], + "inBundle": true, + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/npm/node_modules/cidr-regex": { + "version": "6.0.0", + "inBundle": true, + "license": "BSD-2-Clause", + "engines": { + "node": ">=22" + } + }, + "node_modules/npm/node_modules/common-ancestor-path": { + "version": "2.0.0", + "inBundle": true, + "license": "BlueOak-1.0.0", + "engines": { + "node": ">= 18" + } + }, + "node_modules/npm/node_modules/cssesc": { + "version": "3.0.0", + "inBundle": true, + "license": "MIT", + "bin": { + "cssesc": "bin/cssesc" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/npm/node_modules/debug": { + "version": "4.4.3", + "inBundle": true, + "license": "MIT", + "dependencies": { + "ms": "^2.1.3" + }, + "engines": { + "node": ">=6.0" + }, + "peerDependenciesMeta": { + "supports-color": { + "optional": true + } + } + }, + "node_modules/npm/node_modules/diff": { + "version": "8.0.4", + "inBundle": true, + "license": "BSD-3-Clause", + "engines": { + "node": ">=0.3.1" + } + }, + "node_modules/npm/node_modules/env-paths": { + "version": "2.2.1", + "inBundle": true, + "license": "MIT", + "engines": { + "node": ">=6" + } + }, + "node_modules/npm/node_modules/exponential-backoff": { + "version": "3.1.3", + "inBundle": true, + "license": "Apache-2.0" + }, + "node_modules/npm/node_modules/fastest-levenshtein": { + "version": "1.0.16", + "inBundle": true, + "license": "MIT", + "engines": { + "node": ">= 4.9.1" + } + }, + "node_modules/npm/node_modules/fs-minipass": { + "version": "3.0.3", + "inBundle": true, + "license": "ISC", + "dependencies": { + "minipass": "^7.0.3" + }, + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "node_modules/npm/node_modules/glob": { + "version": "13.0.6", + "inBundle": true, + "license": "BlueOak-1.0.0", + "dependencies": { + "minimatch": "^10.2.2", + "minipass": "^7.1.3", + "path-scurry": "^2.0.2" + }, + "engines": { + "node": "18 || 20 || >=22" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/npm/node_modules/graceful-fs": { + "version": "4.2.11", + "inBundle": true, + "license": "ISC" + }, + "node_modules/npm/node_modules/hosted-git-info": { + "version": "10.1.1", + "inBundle": true, + "license": "ISC", + "dependencies": { + "lru-cache": "^11.1.0" + }, + "engines": { + "node": "^22.22.2 || ^24.15.0 || >=26.0.0" + } + }, + "node_modules/npm/node_modules/http-cache-semantics": { + "version": "4.3.0", + "inBundle": true, + "license": "BSD-2-Clause" + }, + "node_modules/npm/node_modules/iconv-lite": { + "version": "0.7.3", + "inBundle": true, + "license": "MIT", + "optional": true, + "dependencies": { + "safer-buffer": ">= 2.1.2 < 3.0.0" + }, + "engines": { + "node": ">=0.10.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/express" + } + }, + "node_modules/npm/node_modules/ini": { + "version": "7.0.0", + "inBundle": true, + "license": "ISC", + "engines": { + "node": "^22.22.2 || ^24.15.0 || >=26.0.0" + } + }, + "node_modules/npm/node_modules/init-package-json": { + "version": "9.0.0", + "inBundle": true, + "license": "ISC", + "dependencies": { + "@npmcli/package-json": "^8.0.0", + "npm-package-arg": "^14.0.0", + "promzard": "^4.0.0", + "read": "^6.0.0", + "semver": "^7.7.2", + "validate-npm-package-name": "^8.0.0" + }, + "engines": { + "node": "^22.22.2 || ^24.15.0 || >=26.0.0" + } + }, + "node_modules/npm/node_modules/ip-address": { + "version": "10.7.2", + "inBundle": true, + "license": "MIT", + "engines": { + "node": ">= 12" + } + }, + "node_modules/npm/node_modules/is-cidr": { + "version": "7.0.0", + "inBundle": true, + "license": "BSD-2-Clause", + "dependencies": { + "cidr-regex": "^6.0.0" + }, + "engines": { + "node": ">=22" + } + }, + "node_modules/npm/node_modules/isexe": { + "version": "4.0.0", + "inBundle": true, + "license": "BlueOak-1.0.0", + "engines": { + "node": ">=20" + } + }, + "node_modules/npm/node_modules/json-parse-even-better-errors": { + "version": "6.0.0", + "inBundle": true, + "license": "MIT", + "engines": { + "node": "^22.22.2 || ^24.15.0 || >=26.0.0" + } + }, + "node_modules/npm/node_modules/json-stringify-nice": { + "version": "1.1.4", + "inBundle": true, + "license": "ISC", + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/npm/node_modules/jsonparse": { + "version": "1.3.1", + "engines": [ + "node >= 0.2.0" + ], + "inBundle": true, + "license": "MIT" + }, + "node_modules/npm/node_modules/just-diff": { + "version": "6.0.2", + "inBundle": true, + "license": "MIT" + }, + "node_modules/npm/node_modules/just-diff-apply": { + "version": "5.5.0", + "inBundle": true, + "license": "MIT" + }, + "node_modules/npm/node_modules/libnpmaccess": { + "version": "11.0.0", + "inBundle": true, + "license": "ISC", + "dependencies": { + "npm-package-arg": "^14.0.0", + "npm-registry-fetch": "^20.0.1" + }, + "engines": { + "node": "^22.22.2 || ^24.15.0 || >=26.0.0" + } + }, + "node_modules/npm/node_modules/libnpmdiff": { + "version": "9.0.4", + "inBundle": true, + "license": "ISC", + "dependencies": { + "@npmcli/arborist": "^10.0.4", + "@npmcli/installed-package-contents": "^5.0.0", + "binary-extensions": "^3.0.0", + "diff": "^8.0.2", + "minimatch": "^10.0.3", + "npm-package-arg": "^14.0.0", + "pacote": "^22.0.0", + "tar": "^7.5.1" + }, + "engines": { + "node": "^22.22.2 || ^24.15.0 || >=26.0.0" + } + }, + "node_modules/npm/node_modules/libnpmexec": { + "version": "11.0.4", + "inBundle": true, + "license": "ISC", + "dependencies": { + "@gar/promise-retry": "^1.0.0", + "@npmcli/arborist": "^10.0.4", + "@npmcli/package-json": "^8.0.0", + "@npmcli/run-script": "^11.0.0", + "ci-info": "^4.0.0", + "npm-package-arg": "^14.0.0", + "pacote": "^22.0.0", + "proc-log": "^7.0.0", + "read": "^6.0.0", + "semver": "^7.3.7", + "signal-exit": "^4.1.0", + "walk-up-path": "^4.0.0" + }, + "engines": { + "node": "^22.22.2 || ^24.15.0 || >=26.0.0" + } + }, + "node_modules/npm/node_modules/libnpmfund": { + "version": "8.0.4", + "inBundle": true, + "license": "ISC", + "dependencies": { + "@npmcli/arborist": "^10.0.4" + }, + "engines": { + "node": "^22.22.2 || ^24.15.0 || >=26.0.0" + } + }, + "node_modules/npm/node_modules/libnpmorg": { + "version": "9.0.0", + "inBundle": true, + "license": "ISC", + "dependencies": { + "aproba": "^2.0.0", + "npm-registry-fetch": "^20.0.1" + }, + "engines": { + "node": "^22.22.2 || ^24.15.0 || >=26.0.0" + } + }, + "node_modules/npm/node_modules/libnpmpack": { + "version": "10.0.4", + "inBundle": true, + "license": "ISC", + "dependencies": { + "@npmcli/arborist": "^10.0.4", + "@npmcli/run-script": "^11.0.0", + "npm-package-arg": "^14.0.0", + "pacote": "^22.0.0" + }, + "engines": { + "node": "^22.22.2 || ^24.15.0 || >=26.0.0" + } + }, + "node_modules/npm/node_modules/libnpmpublish": { + "version": "12.0.1", + "inBundle": true, + "license": "ISC", + "dependencies": { + "@npmcli/package-json": "^8.0.0", + "ci-info": "^4.0.0", + "npm-package-arg": "^14.0.0", + "npm-registry-fetch": "^20.0.1", + "proc-log": "^7.0.0", + "semver": "^7.3.7", + "sigstore": "^5.0.0", + "ssri": "^14.0.0" + }, + "engines": { + "node": "^22.22.2 || ^24.15.0 || >=26.0.0" + } + }, + "node_modules/npm/node_modules/libnpmsearch": { + "version": "10.0.0", + "inBundle": true, + "license": "ISC", + "dependencies": { + "npm-registry-fetch": "^20.0.1" + }, + "engines": { + "node": "^22.22.2 || ^24.15.0 || >=26.0.0" + } + }, + "node_modules/npm/node_modules/libnpmteam": { + "version": "9.0.0", + "inBundle": true, + "license": "ISC", + "dependencies": { + "aproba": "^2.0.0", + "npm-registry-fetch": "^20.0.1" + }, + "engines": { + "node": "^22.22.2 || ^24.15.0 || >=26.0.0" + } + }, + "node_modules/npm/node_modules/libnpmversion": { + "version": "9.0.0", + "inBundle": true, + "license": "ISC", + "dependencies": { + "@npmcli/git": "^8.0.0", + "@npmcli/run-script": "^11.0.0", + "json-parse-even-better-errors": "^6.0.0", + "proc-log": "^7.0.0", + "semver": "^7.3.7" + }, + "engines": { + "node": "^22.22.2 || ^24.15.0 || >=26.0.0" + } + }, + "node_modules/npm/node_modules/lru-cache": { + "version": "11.5.2", + "inBundle": true, + "license": "BlueOak-1.0.0", + "engines": { + "node": "20 || >=22" + } + }, + "node_modules/npm/node_modules/make-fetch-happen": { + "version": "16.0.1", + "inBundle": true, + "license": "ISC", + "dependencies": { + "@gar/promise-retry": "^1.0.0", + "@npmcli/agent": "^5.0.0", + "@npmcli/redact": "^5.0.0", + "cacache": "^21.0.0", + "http-cache-semantics": "^4.1.1", + "minipass": "^7.0.2", + "minipass-fetch": "^6.0.0", + "minipass-flush": "^1.0.5", + "minipass-pipeline": "^1.2.4", + "negotiator": "^1.0.0", + "proc-log": "^7.0.0", + "ssri": "^14.0.0" + }, + "engines": { + "node": "^22.22.2 || ^24.15.0 || >=26.0.0" + } + }, + "node_modules/npm/node_modules/minimatch": { + "version": "10.2.5", + "inBundle": true, + "license": "BlueOak-1.0.0", + "dependencies": { + "brace-expansion": "^5.0.5" + }, + "engines": { + "node": "18 || 20 || >=22" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/npm/node_modules/minipass": { + "version": "7.1.3", + "inBundle": true, + "license": "BlueOak-1.0.0", + "engines": { + "node": ">=16 || 14 >=14.17" + } + }, + "node_modules/npm/node_modules/minipass-collect": { + "version": "2.0.1", + "inBundle": true, + "license": "ISC", + "dependencies": { + "minipass": "^7.0.3" + }, + "engines": { + "node": ">=16 || 14 >=14.17" + } + }, + "node_modules/npm/node_modules/minipass-fetch": { + "version": "6.0.0", + "inBundle": true, + "license": "MIT", + "dependencies": { + "minipass": "^7.0.3", + "minipass-sized": "^2.0.0", + "minizlib": "^3.0.1" + }, + "engines": { + "node": "^22.22.2 || ^24.15.0 || >=26.0.0" + }, + "optionalDependencies": { + "iconv-lite": "^0.7.2" + } + }, + "node_modules/npm/node_modules/minipass-flush": { + "version": "1.0.6", + "inBundle": true, + "license": "BlueOak-1.0.0", + "dependencies": { + "minipass": "^7.1.3" + }, + "engines": { + "node": ">=16 || 14 >=14.17" + } + }, + "node_modules/npm/node_modules/minipass-pipeline": { + "version": "1.2.4", + "inBundle": true, + "license": "ISC", + "dependencies": { + "minipass": "^3.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/npm/node_modules/minipass-pipeline/node_modules/minipass": { + "version": "3.3.6", + "inBundle": true, + "license": "ISC", + "dependencies": { + "yallist": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/npm/node_modules/minipass-pipeline/node_modules/yallist": { + "version": "4.0.0", + "inBundle": true, + "license": "ISC" + }, + "node_modules/npm/node_modules/minipass-sized": { + "version": "2.0.0", + "inBundle": true, + "license": "ISC", + "dependencies": { + "minipass": "^7.1.2" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/npm/node_modules/minizlib": { + "version": "3.1.0", + "inBundle": true, + "license": "MIT", + "dependencies": { + "minipass": "^7.1.2" + }, + "engines": { + "node": ">= 18" + } + }, + "node_modules/npm/node_modules/ms": { + "version": "2.1.3", + "inBundle": true, + "license": "MIT" + }, + "node_modules/npm/node_modules/mute-stream": { + "version": "4.0.0", + "inBundle": true, + "license": "ISC", + "engines": { + "node": "^22.22.2 || ^24.15.0 || >=26.0.0" + } + }, + "node_modules/npm/node_modules/negotiator": { + "version": "1.0.0", + "inBundle": true, + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/npm/node_modules/node-gyp": { + "version": "13.0.0", + "inBundle": true, + "license": "MIT", + "dependencies": { + "env-paths": "^2.2.0", + "exponential-backoff": "^3.1.1", + "graceful-fs": "^4.2.6", + "nopt": "^10.0.0", + "proc-log": "^7.0.0", + "semver": "^7.3.5", + "tar": "^7.5.4", + "tinyglobby": "^0.2.12", + "undici": "^6.25.0", + "which": "^7.0.0" + }, + "bin": { + "node-gyp": "bin/node-gyp.js" + }, + "engines": { + "node": "^22.22.2 || ^24.15.0 || >=26.0.0" + } + }, + "node_modules/npm/node_modules/nopt": { + "version": "10.0.1", + "inBundle": true, + "license": "ISC", + "dependencies": { + "abbrev": "^5.0.0" + }, + "bin": { + "nopt": "bin/nopt.js" + }, + "engines": { + "node": "^22.22.2 || ^24.15.0 || >=26.0.0" + } + }, + "node_modules/npm/node_modules/npm-audit-report": { + "version": "8.0.0", + "inBundle": true, + "license": "ISC", + "engines": { + "node": "^22.22.2 || ^24.15.0 || >=26.0.0" + } + }, + "node_modules/npm/node_modules/npm-install-checks": { + "version": "9.0.0", + "inBundle": true, + "license": "BSD-2-Clause", + "dependencies": { + "semver": "^7.1.1" + }, + "engines": { + "node": "^22.22.2 || ^24.15.0 || >=26.0.0" + } + }, + "node_modules/npm/node_modules/npm-package-arg": { + "version": "14.0.0", + "inBundle": true, + "license": "ISC", + "dependencies": { + "hosted-git-info": "^10.1.0", + "proc-log": "^7.0.0", + "semver": "^7.3.5", + "validate-npm-package-name": "^8.0.0" + }, + "engines": { + "node": "^22.22.2 || ^24.15.0 || >=26.0.0" + } + }, + "node_modules/npm/node_modules/npm-packlist": { + "version": "11.3.0", + "inBundle": true, + "license": "ISC", + "dependencies": { + "glob": "^13.0.6", + "ignore-walk": "^9.0.0", + "proc-log": "^7.0.0" + }, + "engines": { + "node": "^22.22.2 || ^24.15.0 || >=26.0.0" + } + }, + "node_modules/npm/node_modules/npm-packlist/node_modules/ignore-walk": { + "version": "9.0.0", + "inBundle": true, + "license": "ISC", + "dependencies": { + "minimatch": "^10.0.3" + }, + "engines": { + "node": "^22.22.2 || ^24.15.0 || >=26.0.0" + } + }, + "node_modules/npm/node_modules/npm-pick-manifest": { + "version": "12.0.0", + "inBundle": true, + "license": "ISC", + "dependencies": { + "npm-install-checks": "^9.0.0", + "npm-normalize-package-bin": "^6.0.0", + "npm-package-arg": "^14.0.0", + "semver": "^7.3.5" + }, + "engines": { + "node": "^22.22.2 || ^24.15.0 || >=26.0.0" + } + }, + "node_modules/npm/node_modules/npm-pick-manifest/node_modules/npm-normalize-package-bin": { + "version": "6.0.0", + "inBundle": true, + "license": "ISC", + "engines": { + "node": "^22.22.2 || ^24.15.0 || >=26.0.0" + } + }, + "node_modules/npm/node_modules/npm-profile": { + "version": "13.0.1", + "inBundle": true, + "license": "ISC", + "dependencies": { + "npm-registry-fetch": "^20.0.0", + "proc-log": "^7.0.0" + }, + "engines": { + "node": "^22.22.2 || ^24.15.0 || >=26.0.0" + } + }, + "node_modules/npm/node_modules/npm-registry-fetch": { + "version": "20.0.1", + "inBundle": true, + "license": "ISC", + "dependencies": { + "@npmcli/redact": "^5.0.0", + "jsonparse": "^1.3.1", + "make-fetch-happen": "^16.0.0", + "minipass": "^7.0.2", + "minipass-fetch": "^6.0.0", + "minizlib": "^3.0.1", + "npm-package-arg": "^14.0.0", + "proc-log": "^7.0.0" + }, + "engines": { + "node": "^22.22.2 || ^24.15.0 || >=26.0.0" + } + }, + "node_modules/npm/node_modules/npm-user-validate": { + "version": "5.0.0", + "inBundle": true, + "license": "BSD-2-Clause", + "engines": { + "node": "^22.22.2 || ^24.15.0 || >=26.0.0" + } + }, + "node_modules/npm/node_modules/p-map": { + "version": "7.0.5", + "inBundle": true, + "license": "MIT", + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/npm/node_modules/pacote": { + "version": "22.0.0", + "inBundle": true, + "license": "ISC", + "dependencies": { + "@gar/promise-retry": "^1.0.0", + "@npmcli/git": "^8.0.0", + "@npmcli/installed-package-contents": "^5.0.0", + "@npmcli/package-json": "^8.0.0", + "@npmcli/promise-spawn": "^10.0.0", + "@npmcli/run-script": "^11.0.0", + "cacache": "^21.0.1", + "fs-minipass": "^3.0.0", + "minipass": "^7.0.2", + "npm-package-arg": "^14.0.0", + "npm-packlist": "^11.2.0", + "npm-pick-manifest": "^12.0.0", + "npm-registry-fetch": "^20.0.1", + "proc-log": "^7.0.0", + "sigstore": "^5.0.0", + "ssri": "^14.0.0", + "tar": "^7.4.3" + }, + "bin": { + "pacote": "bin/index.js" + }, + "engines": { + "node": "^22.22.2 || ^24.15.0 || >=26.0.0" + } + }, + "node_modules/npm/node_modules/parse-conflict-json": { + "version": "6.0.0", + "inBundle": true, + "license": "ISC", + "dependencies": { + "json-parse-even-better-errors": "^6.0.0", + "just-diff": "^6.0.0", + "just-diff-apply": "^5.2.0" + }, + "engines": { + "node": "^22.22.2 || ^24.15.0 || >=26.0.0" + } + }, + "node_modules/npm/node_modules/path-scurry": { + "version": "2.0.2", + "inBundle": true, + "license": "BlueOak-1.0.0", + "dependencies": { + "lru-cache": "^11.0.0", + "minipass": "^7.1.2" + }, + "engines": { + "node": "18 || 20 || >=22" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/npm/node_modules/postcss-selector-parser": { + "version": "7.1.6", + "inBundle": true, + "license": "MIT", + "dependencies": { + "cssesc": "^3.0.0", + "util-deprecate": "^1.0.2" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/npm/node_modules/proc-log": { + "version": "7.0.0", + "inBundle": true, + "license": "ISC", + "engines": { + "node": "^22.22.2 || ^24.15.0 || >=26.0.0" + } + }, + "node_modules/npm/node_modules/proggy": { + "version": "4.0.0", + "inBundle": true, + "license": "ISC", + "engines": { + "node": "^20.17.0 || >=22.9.0" + } + }, + "node_modules/npm/node_modules/promise-all-reject-late": { + "version": "1.0.1", + "inBundle": true, + "license": "ISC", + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/npm/node_modules/promise-call-limit": { + "version": "3.0.2", + "inBundle": true, + "license": "ISC", + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/npm/node_modules/promzard": { + "version": "4.0.0", + "inBundle": true, + "license": "ISC", + "dependencies": { + "read": "^6.0.0" + }, + "engines": { + "node": "^22.22.2 || ^24.15.0 || >=26.0.0" + } + }, + "node_modules/npm/node_modules/proxy-agent-negotiate": { + "version": "1.1.0", + "inBundle": true, + "license": "MIT", + "engines": { + "node": ">= 20" + }, + "peerDependencies": { + "kerberos": "^2.0.0" + }, + "peerDependenciesMeta": { + "kerberos": { + "optional": true + } + } + }, + "node_modules/npm/node_modules/qrcode-terminal": { + "version": "0.12.0", + "inBundle": true, + "bin": { + "qrcode-terminal": "bin/qrcode-terminal.js" + } + }, + "node_modules/npm/node_modules/read": { + "version": "6.0.0", + "inBundle": true, + "license": "ISC", + "dependencies": { + "mute-stream": "^4.0.0" + }, + "engines": { + "node": "^22.22.2 || ^24.15.0 || >=26.0.0" + } + }, + "node_modules/npm/node_modules/safer-buffer": { + "version": "2.1.2", + "inBundle": true, + "license": "MIT", + "optional": true + }, + "node_modules/npm/node_modules/semver": { + "version": "7.8.5", + "inBundle": true, + "license": "ISC", + "bin": { + "semver": "bin/semver.js" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/npm/node_modules/signal-exit": { + "version": "4.1.0", + "inBundle": true, + "license": "ISC", + "engines": { + "node": ">=14" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/npm/node_modules/sigstore": { + "version": "5.0.0", + "inBundle": true, + "license": "Apache-2.0", + "dependencies": { + "@sigstore/bundle": "^5.0.0", + "@sigstore/core": "^4.0.0", + "@sigstore/protobuf-specs": "^0.5.0", + "@sigstore/sign": "^5.0.0", + "@sigstore/tuf": "^5.0.0", + "@sigstore/verify": "^4.0.0" + }, + "engines": { + "node": "^22.22.2 || ^24.15.0 || >=26.0.0" + } + }, + "node_modules/npm/node_modules/smart-buffer": { + "version": "4.2.0", + "inBundle": true, + "license": "MIT", + "engines": { + "node": ">= 6.0.0", + "npm": ">= 3.0.0" + } + }, + "node_modules/npm/node_modules/socks": { + "version": "2.8.9", + "inBundle": true, + "license": "MIT", + "dependencies": { + "ip-address": "^10.1.1", + "smart-buffer": "^4.2.0" + }, + "engines": { + "node": ">= 10.0.0", + "npm": ">= 3.0.0" + } + }, + "node_modules/npm/node_modules/socks-proxy-agent": { + "version": "10.1.0", + "inBundle": true, + "license": "MIT", + "dependencies": { + "agent-base": "9.0.0", + "debug": "^4.3.4", + "socks": "^2.8.3" + }, + "engines": { + "node": ">= 20" + } + }, + "node_modules/npm/node_modules/socks-proxy-agent/node_modules/agent-base": { + "version": "9.0.0", + "inBundle": true, + "license": "MIT", + "engines": { + "node": ">= 20" + } + }, + "node_modules/npm/node_modules/spdx-exceptions": { + "version": "2.5.0", + "inBundle": true, + "license": "CC-BY-3.0" + }, + "node_modules/npm/node_modules/spdx-expression-parse": { + "version": "4.0.0", + "inBundle": true, + "license": "MIT", + "dependencies": { + "spdx-exceptions": "^2.1.0", + "spdx-license-ids": "^3.0.0" + } + }, + "node_modules/npm/node_modules/spdx-license-ids": { + "version": "3.0.23", + "inBundle": true, + "license": "CC0-1.0" + }, + "node_modules/npm/node_modules/ssri": { + "version": "14.0.0", + "inBundle": true, + "license": "ISC", + "dependencies": { + "minipass": "^7.0.3" + }, + "engines": { + "node": "^22.22.2 || ^24.15.0 || >=26.0.0" + } + }, + "node_modules/npm/node_modules/supports-color": { + "version": "10.2.2", + "inBundle": true, + "license": "MIT", + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/chalk/supports-color?sponsor=1" + } + }, + "node_modules/npm/node_modules/tar": { + "version": "7.5.22", + "inBundle": true, + "license": "BlueOak-1.0.0", + "dependencies": { + "@isaacs/fs-minipass": "^4.0.0", + "chownr": "^3.0.0", + "minipass": "^7.1.2", + "minizlib": "^3.1.0", + "yallist": "^5.0.0" + }, + "engines": { + "node": ">=18" + } + }, + "node_modules/npm/node_modules/text-table": { + "version": "0.2.0", + "inBundle": true, + "license": "MIT" + }, + "node_modules/npm/node_modules/tiny-relative-date": { + "version": "2.0.2", + "inBundle": true, + "license": "MIT" + }, + "node_modules/npm/node_modules/tinyglobby": { + "version": "0.2.17", + "inBundle": true, + "license": "MIT", + "dependencies": { + "fdir": "^6.5.0", + "picomatch": "^4.0.4" + }, + "engines": { + "node": ">=12.0.0" + }, + "funding": { + "url": "https://github.com/sponsors/SuperchupuDev" + } + }, + "node_modules/npm/node_modules/tinyglobby/node_modules/fdir": { + "version": "6.5.0", + "inBundle": true, + "license": "MIT", + "engines": { + "node": ">=12.0.0" + }, + "peerDependencies": { + "picomatch": "^3 || ^4" + }, + "peerDependenciesMeta": { + "picomatch": { + "optional": true + } + } + }, + "node_modules/npm/node_modules/tinyglobby/node_modules/picomatch": { + "version": "4.0.5", + "inBundle": true, + "license": "MIT", + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/jonschlinkert" + } + }, + "node_modules/npm/node_modules/treeverse": { + "version": "3.0.0", + "inBundle": true, + "license": "ISC", + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "node_modules/npm/node_modules/tuf-js": { + "version": "6.0.0", + "inBundle": true, + "license": "MIT", + "dependencies": { + "@gar/promise-retry": "^1.0.3", + "@tufjs/models": "5.0.0", + "debug": "^4.4.3" + }, + "engines": { + "node": "^22.22.2 || ^24.15.0 || >=26.0.0" + } + }, + "node_modules/npm/node_modules/undici": { + "version": "6.29.1", + "license": "MIT", + "engines": { + "node": ">=18.17" + }, + "resolved": "https://registry.npmjs.org/undici/-/undici-6.29.1.tgz", + "integrity": "sha512-EvRlUt/QqAEvXdQeRMYUfwOQsfzpDztykrG2owGEE/rBOBoYv9uF39ZzsNDh4lTFHhTr2XOZjKkYgueD12ZmGA==" + }, + "node_modules/npm/node_modules/util-deprecate": { + "version": "1.0.2", + "inBundle": true, + "license": "MIT" + }, + "node_modules/npm/node_modules/validate-npm-package-name": { + "version": "8.0.0", + "inBundle": true, + "license": "ISC", + "engines": { + "node": "^22.22.2 || ^24.15.0 || >=26.0.0" + } + }, + "node_modules/npm/node_modules/walk-up-path": { + "version": "4.0.0", + "inBundle": true, + "license": "ISC", + "engines": { + "node": "20 || >=22" + } + }, + "node_modules/npm/node_modules/which": { + "version": "7.0.0", + "inBundle": true, + "license": "ISC", + "dependencies": { + "isexe": "^4.0.0" + }, + "bin": { + "node-which": "bin/which.js" + }, + "engines": { + "node": "^22.22.2 || ^24.15.0 || >=26.0.0" + } + }, + "node_modules/npm/node_modules/write-file-atomic": { + "version": "8.0.0", + "inBundle": true, + "license": "ISC", + "dependencies": { + "signal-exit": "^4.0.1" + }, + "engines": { + "node": "^22.22.2 || ^24.15.0 || >=26.0.0" + } + }, + "node_modules/npm/node_modules/yallist": { + "version": "5.0.0", + "inBundle": true, + "license": "BlueOak-1.0.0", + "engines": { + "node": ">=18" + } + }, + "node_modules/nth-check": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/nth-check/-/nth-check-3.0.1.tgz", + "integrity": "sha512-GX0gsdbGVCgnRgbeGaubfjpBXyYRWOOCVeYh08bSQvDZqxz5ndXs1OTfAt/h36G1xvI94YIspsI0sVFqAV9+RQ==", + "license": "BSD-2-Clause", + "dependencies": { + "boolbase": "^2.0.0" + }, + "engines": { + "node": ">=20.19.0" + }, + "funding": { + "type": "github", + "url": "https://github.com/fb55/nth-check?sponsor=1" + } + }, + "node_modules/object-assign": { + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz", + "integrity": "sha512-rJgTQnkUnH1sFw8yT6VSU3zD3sWmu6sZhIseY8VX+GRu3P6F7Fu+JNDoXfklElbLJSnc3FUQHVe4cU5hj+BcUg==", + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/object-inspect": { + "version": "1.13.4", + "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.13.4.tgz", + "integrity": "sha512-W67iLl4J2EXEGTbfeHCffrjDfitvLANg0UlX3wFUUSTx92KXRFegMHUVgSqE+wvhAbi4WqjGg9czysTV2Epbew==", + "license": "MIT", + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/obug": { + "version": "2.2.1", + "resolved": "https://registry.npmjs.org/obug/-/obug-2.2.1.tgz", + "integrity": "sha512-XrsrhT5sybtKI6wakr2SPOlGZWWYbUXZ7a0jT8/QOeAPau+1X/bSegNe5YR75oJmEZQbKningirmGOEJCIk61Q==", + "funding": [ + "https://github.com/sponsors/sxzz", + "https://opencollective.com/debug" + ], + "license": "MIT", + "engines": { + "node": ">=12.20.0" + } + }, + "node_modules/on-finished": { + "version": "2.4.2", + "resolved": "https://registry.npmjs.org/on-finished/-/on-finished-2.4.2.tgz", + "integrity": "sha512-ATWUv387i+nLD49EiDoOft5scf32Vsdz3ktrQJG9bi7jRFmaXTssvyvj1EmeKVVgvesbqUtvQQvaS2TpTukAZQ==", + "license": "MIT", + "dependencies": { + "ee-first": "1.1.1" + }, + "engines": { + "node": ">= 0.8" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/express" + } + }, + "node_modules/once": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz", + "integrity": "sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w==", + "license": "ISC", + "dependencies": { + "wrappy": "1" + } + }, + "node_modules/openai": { + "version": "7.20.0", + "resolved": "https://registry.npmjs.org/openai/-/openai-7.20.0.tgz", + "integrity": "sha512-5x5ru4cKEvEqHqYZbdIbT57OE7KqmP9YYxZiUKuKng016grOHXqom1vmu34MTPPW30q+lcP9RhxAbaRse+Xlcw==", + "license": "Apache-2.0", + "engines": { + "node": ">=22.0.0" + }, + "peerDependencies": { + "@aws-sdk/credential-provider-node": ">=3.972.0 <4", + "@smithy/hash-node": ">=4.3.0 <5", + "@smithy/signature-v4": ">=5.4.0 <6", + "undici": ">=5 <9", + "ws": "^8.21.0", + "zod": "^3.25 || ^4.0" + }, + "peerDependenciesMeta": { + "@aws-sdk/credential-provider-node": { + "optional": true + }, + "@smithy/hash-node": { + "optional": true + }, + "@smithy/signature-v4": { + "optional": true + }, + "undici": { + "optional": true + }, + "ws": { + "optional": true + }, + "zod": { + "optional": true + } + } + }, + "node_modules/openclaw": { + "version": "2026.9.7", + "resolved": "https://registry.npmjs.org/openclaw/-/openclaw-2026.9.7.tgz", + "integrity": "sha512-/8N2LnfTFQPvnZizi8qKSFfnLQaPvSG3Cb4xo1YV7b4JhYiUc43ZNRpXJ01bWghLK0Ezk3HVeo/DGHcIRQwRWA==", + "bundleDependencies": [ + "@openclaw/proxyline", + "chrome-devtools-mcp", + "undici" + ], + "hasInstallScript": true, + "license": "MIT", + "dependencies": { + "@agentclientprotocol/sdk": "1.4.0", + "@anthropic-ai/sdk": "0.127.0", + "@babel/generator": "8.0.6", + "@babel/parser": "8.0.6", + "@babel/traverse": "8.0.6", + "@clack/core": "1.5.1", + "@clack/prompts": "1.8.1", + "@earendil-works/pi-tui": "0.86.1", + "@google/genai": "2.23.0", + "@grammyjs/transformer-throttler": "1.2.1", + "@homebridge/ciao": "1.3.12", + "@lydell/node-pty": "1.2.0-beta.15", + "@mistralai/mistralai": "2.7.0", + "@modelcontextprotocol/sdk": "1.30.0", + "@mozilla/readability": "0.6.0", + "@openclaw/ai": "2026.9.7", + "@openclaw/fs-safe": "0.21.1", + "@openclaw/proxyline": "0.3.12", + "@silvia-odwyer/photon-node": "0.3.4", + "@trycua/cua-driver": "0.28.2", + "acorn": "8.18.0", + "chalk": "6.0.0", + "chokidar": "5.0.0", + "chrome-devtools-mcp": "1.9.0", + "clawpdf": "0.3.2", + "commander": "15.0.0", + "croner": "10.0.1", + "diff": "9.0.0", + "dotenv": "18.0.1", + "entities": "8.1.0", + "esbuild": "0.28.2", + "execa": "10.0.1", + "express": "5.2.1", + "file-type": "22.1.1", + "grammy": "1.46.0", + "highlight.js": "11.12.0", + "hosted-git-info": "10.1.1", + "iconv-lite": "0.7.3", + "ignore": "7.0.9", + "import-meta-resolve": "4.2.0", + "jiti": "2.7.0", + "json5": "2.2.3", + "jszip": "3.10.2", + "koffi": "3.3.1", + "kysely": "0.29.6", + "linkedom": "0.18.13", + "minimatch": "10.2.6", + "node-edge-tts": "1.2.10", + "npm": "11.20.0", + "openai": "7.20.0", + "p-limit": "7.3.3", + "p-map": "7.0.8", + "partial-json": "0.1.7", + "playwright-core": "1.63.0", + "qrcode": "1.5.4", + "rastermill": "0.3.3", + "semver": "7.8.5", + "tar": "7.5.22", + "tslog": "5.2.0", + "typebox": "1.3.34", + "undici": "8.10.2", + "web-push": "3.6.7", + "web-tree-sitter": "0.27.0", + "ws": "8.21.3", + "yaml": "2.9.1", + "zod": "4.6.5" + }, + "bin": { + "openclaw": "openclaw.mjs" + }, + "engines": { + "node": ">=24.16.0 <25 || >=26.1.0" + }, + "optionalDependencies": { + "sqlite-vec": "0.1.9" + } + }, + "node_modules/openclaw/node_modules/@openclaw/proxyline": { + "version": "0.3.12", + "inBundle": true, + "license": "MIT", + "engines": { + "node": ">=22.19.0" + }, + "peerDependencies": { + "undici": ">=8.5.0 <9" + } + }, + "node_modules/openclaw/node_modules/chrome-devtools-mcp": { + "version": "1.9.0", + "inBundle": true, + "license": "Apache-2.0", + "bin": { + "chrome-devtools": "build/src/bin/chrome-devtools.js", + "chrome-devtools-mcp": "build/src/bin/chrome-devtools-mcp.js" + }, + "engines": { + "node": "^20.19.0 || ^22.12.0 || >=23" + }, + "peerDependencies": { + "@blackwell-systems/gcf": "^2.2.2", + "@toon-format/toon": "^4.1.0" + }, + "peerDependenciesMeta": { + "@blackwell-systems/gcf": { + "optional": true + }, + "@toon-format/toon": { + "optional": true + } + } + }, + "node_modules/p-limit": { + "version": "7.3.3", + "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-7.3.3.tgz", + "integrity": "sha512-SKgVvDU5TNIxQ4r30U75BNLC6a+6GOEjngrk/ysM5+Zu3oJuk1SC5ApzIzY/7PjCEjoVPMWJ0zho/4QUiEB7TQ==", + "license": "MIT", + "dependencies": { + "yocto-queue": "^1.2.1" + }, + "engines": { + "node": ">=20" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/p-locate": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-4.1.0.tgz", + "integrity": "sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A==", + "license": "MIT", + "dependencies": { + "p-limit": "^2.2.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/p-locate/node_modules/p-limit": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-2.3.0.tgz", + "integrity": "sha512-//88mFWSJx8lxCzwdAABTJL2MyWB12+eIY7MDL2SqLmAkeKU9qxRvWuSyTjm3FUmpBEMuFfckAIqEaVGUDxb6w==", + "license": "MIT", + "dependencies": { + "p-try": "^2.0.0" + }, + "engines": { + "node": ">=6" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/p-map": { + "version": "7.0.8", + "resolved": "https://registry.npmjs.org/p-map/-/p-map-7.0.8.tgz", + "integrity": "sha512-MitaVsCuCFIvOLLPIU7NnfrZvS9H9h7kwMUkDo+T2pEISaJD48IV9S8iIdXB7PsvvdxyYcsSTTrr90XKsbulNw==", + "license": "MIT", + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/p-retry": { + "version": "4.6.2", + "resolved": "https://registry.npmjs.org/p-retry/-/p-retry-4.6.2.tgz", + "integrity": "sha512-312Id396EbJdvRONlngUx0NydfrIQ5lsYu0znKVUzVvArzEIt08V1qhtyESbGVd1FGX7UKtiFp5uwKZdM8wIuQ==", + "license": "MIT", + "dependencies": { + "@types/retry": "0.12.0", + "retry": "^0.13.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/p-try": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/p-try/-/p-try-2.2.0.tgz", + "integrity": "sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ==", + "license": "MIT", + "engines": { + "node": ">=6" + } + }, + "node_modules/pako": { + "version": "1.0.11", + "resolved": "https://registry.npmjs.org/pako/-/pako-1.0.11.tgz", + "integrity": "sha512-4hLB8Py4zZce5s4yd9XzopqwVv/yGNhV1Bl8NTmCq1763HeK2+EwVTv+leGeL13Dnh2wfbqowVPXCIO0z4taYw==", + "license": "(MIT AND Zlib)" + }, + "node_modules/parse-ms": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/parse-ms/-/parse-ms-4.0.0.tgz", + "integrity": "sha512-TXfryirbmq34y8QBwgqCVLi+8oA3oWx2eAnSn62ITyEhEYaWRlVZ2DvMM9eZbMs/RfxPu/PK/aBLyGj4IrqMHw==", + "license": "MIT", + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/parseurl": { + "version": "1.3.3", + "resolved": "https://registry.npmjs.org/parseurl/-/parseurl-1.3.3.tgz", + "integrity": "sha512-CiyeOxFT/JZyN5m0z9PfXw4SCBJ6Sygz1Dpl0wqjlhDEGGBP1GnsUVEL0p63hoG1fcj3fHynXi9NYO4nWOL+qQ==", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/partial-json": { + "version": "0.1.7", + "resolved": "https://registry.npmjs.org/partial-json/-/partial-json-0.1.7.tgz", + "integrity": "sha512-Njv/59hHaokb/hRUjce3Hdv12wd60MtM9Z5Olmn+nehe0QDAsRtRbJPvJ0Z91TusF0SuZRIvnM+S4l6EIP8leA==", + "license": "MIT" + }, + "node_modules/path-exists": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-4.0.0.tgz", + "integrity": "sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==", + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/path-key": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/path-key/-/path-key-3.1.1.tgz", + "integrity": "sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==", + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/path-to-regexp": { + "version": "8.4.2", + "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-8.4.2.tgz", + "integrity": "sha512-qRcuIdP69NPm4qbACK+aDogI5CBDMi1jKe0ry5rSQJz8JVLsC7jV8XpiJjGRLLol3N+R5ihGYcrPLTno6pAdBA==", + "license": "MIT", + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/express" + } + }, + "node_modules/pkce-challenge": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/pkce-challenge/-/pkce-challenge-5.0.1.tgz", + "integrity": "sha512-wQ0b/W4Fr01qtpHlqSqspcj3EhBvimsdh0KlHhH8HRZnMsEa0ea2fTULOXOS9ccQr3om+GcGRk4e+isrZWV8qQ==", + "license": "MIT", + "engines": { + "node": ">=16.20.0" + } + }, + "node_modules/playwright-core": { + "version": "1.63.0", + "resolved": "https://registry.npmjs.org/playwright-core/-/playwright-core-1.63.0.tgz", + "integrity": "sha512-rYCsBF/M5HjUch52bbtVONEFjv6Xu8sm8h72dNlR5bzIE1fvC/bxgspzkjSfU+MweEMmPM8KJebG6nnyxo5mCg==", + "license": "Apache-2.0", + "bin": { + "playwright-core": "cli.js" + }, + "engines": { + "node": ">=20" + } + }, + "node_modules/pngjs": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/pngjs/-/pngjs-5.0.0.tgz", + "integrity": "sha512-40QW5YalBNfQo5yRYmiw7Yz6TKKVr3h6970B2YE+3fQpsWcrbj1PzJgxeJ19DRQjhMbKPIuMY8rFaXc8moolVw==", + "license": "MIT", + "engines": { + "node": ">=10.13.0" + } + }, + "node_modules/pretty-ms": { + "version": "9.3.1", + "resolved": "https://registry.npmjs.org/pretty-ms/-/pretty-ms-9.3.1.tgz", + "integrity": "sha512-HzMy3Geq23nVALD/M2LliU+F+M+gVNsvkQWWqeBZ8HDiCgzo6YPJ/Omrmtq24EFrIsk0a3EkQGEd7bDOo+IhGA==", + "license": "MIT", + "dependencies": { + "parse-ms": "^4.0.0" + }, + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/process-nextick-args": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/process-nextick-args/-/process-nextick-args-2.0.1.tgz", + "integrity": "sha512-3ouUOpQhtgrbOa17J7+uxOTpITYWaGP7/AhoR3+A+/1e9skrzelGi/dXzEYyvbxubEF6Wn2ypscTKiKJFFn1ag==", + "license": "MIT" + }, + "node_modules/protobufjs": { + "version": "7.6.6", + "resolved": "https://registry.npmjs.org/protobufjs/-/protobufjs-7.6.6.tgz", + "integrity": "sha512-dYDWdjSl5RNb7SgPxGQcRU+GtvP7s2fpkrY0r432PcOIaZ0/rBcxEZnQN67iJhFuQiVw754JDoPruPCNdGsbjg==", + "hasInstallScript": true, + "license": "BSD-3-Clause", + "dependencies": { + "@protobufjs/aspromise": "^1.1.2", + "@protobufjs/base64": "^1.1.2", + "@protobufjs/codegen": "^2.0.5", + "@protobufjs/eventemitter": "^1.1.1", + "@protobufjs/fetch": "^1.1.1", + "@protobufjs/float": "^1.0.2", + "@protobufjs/path": "^1.1.2", + "@protobufjs/pool": "^1.1.0", + "@protobufjs/utf8": "^1.1.1", + "@types/node": ">=13.7.0", + "long": "^5.3.2" + }, + "engines": { + "node": ">=12.0.0" + } + }, + "node_modules/proxy-addr": { + "version": "2.0.8", + "resolved": "https://registry.npmjs.org/proxy-addr/-/proxy-addr-2.0.8.tgz", + "integrity": "sha512-5nnx0yGyVUcY6t9RnWcARWtwT9F1D8O9rt08htPvnd49W1IgZtmLkhu9WfMzQj1cFxjHIO6connUNVW5k7AVyQ==", + "license": "MIT", + "dependencies": { + "forwarded": "0.2.0", + "ipaddr.js": "1.9.1" + }, + "engines": { + "node": ">= 0.10" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/express" + } + }, + "node_modules/qrcode": { + "version": "1.5.4", + "resolved": "https://registry.npmjs.org/qrcode/-/qrcode-1.5.4.tgz", + "integrity": "sha512-1ca71Zgiu6ORjHqFBDpnSMTR2ReToX4l1Au1VFLyVeBTFavzQnv5JxMFr3ukHVKpSrSA2MCk0lNJSykjUfz7Zg==", + "license": "MIT", + "dependencies": { + "dijkstrajs": "^1.0.1", + "pngjs": "^5.0.0", + "yargs": "^15.3.1" + }, + "bin": { + "qrcode": "bin/qrcode" + }, + "engines": { + "node": ">=10.13.0" + } + }, + "node_modules/qrcode/node_modules/cliui": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/cliui/-/cliui-6.0.0.tgz", + "integrity": "sha512-t6wbgtoCXvAzst7QgXxJYqPt0usEfbgQdftEPbLL/cvv6HPE5VgvqCuAIDR0NgU52ds6rFwqrgakNLrHEjCbrQ==", + "license": "ISC", + "dependencies": { + "string-width": "^4.2.0", + "strip-ansi": "^6.0.0", + "wrap-ansi": "^6.2.0" + } + }, + "node_modules/qrcode/node_modules/wrap-ansi": { + "version": "6.2.0", + "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-6.2.0.tgz", + "integrity": "sha512-r6lPcBGxZXlIcymEu7InxDMhdW0KDxpLgoFLcguasxCaJ/SOIZwINatK9KY/tf+ZrlywOKU0UDj3ATXUBfxJXA==", + "license": "MIT", + "dependencies": { + "ansi-styles": "^4.0.0", + "string-width": "^4.1.0", + "strip-ansi": "^6.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/qrcode/node_modules/y18n": { + "version": "4.0.3", + "resolved": "https://registry.npmjs.org/y18n/-/y18n-4.0.3.tgz", + "integrity": "sha512-JKhqTOwSrqNA1NY5lSztJ1GrBiUodLMmIZuLiDaMRJ+itFd+ABVE8XBjOvIWL+rSqNDC74LCSFmlb/U4UZ4hJQ==", + "license": "ISC" + }, + "node_modules/qrcode/node_modules/yargs": { + "version": "15.4.1", + "resolved": "https://registry.npmjs.org/yargs/-/yargs-15.4.1.tgz", + "integrity": "sha512-aePbxDmcYW++PaqBsJ+HYUFwCdv4LVvdnhBy78E57PIor8/OVvhMrADFFEDh8DHDFRv/O9i3lPhsENjO7QX0+A==", + "license": "MIT", + "dependencies": { + "cliui": "^6.0.0", + "decamelize": "^1.2.0", + "find-up": "^4.1.0", + "get-caller-file": "^2.0.1", + "require-directory": "^2.1.1", + "require-main-filename": "^2.0.0", + "set-blocking": "^2.0.0", + "string-width": "^4.2.0", + "which-module": "^2.0.0", + "y18n": "^4.0.0", + "yargs-parser": "^18.1.2" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/qrcode/node_modules/yargs-parser": { + "version": "18.1.3", + "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-18.1.3.tgz", + "integrity": "sha512-o50j0JeToy/4K6OZcaQmW6lyXXKhq7csREXcDwk2omFPJEwUNOVtJKvmDr9EI1fAJZUyZcRF7kxGBWmRXudrCQ==", + "license": "ISC", + "dependencies": { + "camelcase": "^5.0.0", + "decamelize": "^1.2.0" + }, + "engines": { + "node": ">=6" + } + }, + "node_modules/qs": { + "version": "6.16.1", + "resolved": "https://registry.npmjs.org/qs/-/qs-6.16.1.tgz", + "integrity": "sha512-5Px6J7rfHBAGUhNQ3es4YzcOdBBw0SDcVtThJml4RdnKw4tKs2epA0kPZ+K8X+WiHktT93RHVcQ/3ym5aTCgtg==", + "license": "BSD-3-Clause", + "dependencies": { + "es-define-property": "^1.0.1", + "side-channel": "^1.1.1" + }, + "engines": { + "node": ">=0.6" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/range-parser": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/range-parser/-/range-parser-1.3.0.tgz", + "integrity": "sha512-hek2mFQpPuI4E1BBKrSto+BU3e3x4xuarsbiwr3+lf7p44juvFMV0XFWQAP3xUyqXA4RrXLIoaSUGbSt056ZMw==", + "license": "MIT", + "engines": { + "node": ">= 0.6" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/express" + } + }, + "node_modules/rastermill": { + "version": "0.3.3", + "resolved": "https://registry.npmjs.org/rastermill/-/rastermill-0.3.3.tgz", + "integrity": "sha512-tnNH+jymMZxcGfR+w32fbD9xpDytCrHEyYx/OCFTTIf2gAcaiasUSurBA3lObRrRHy1leitG0QRfJB6mV/SJ4w==", + "license": "MIT", + "dependencies": { + "@silvia-odwyer/photon-node": "0.3.4" + }, + "engines": { + "node": ">=22" + } + }, + "node_modules/raw-body": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/raw-body/-/raw-body-3.0.2.tgz", + "integrity": "sha512-K5zQjDllxWkf7Z5xJdV0/B0WTNqx6vxG70zJE4N0kBs4LovmEYWJzQGxC9bS9RAKu3bgM40lrd5zoLJ12MQ5BA==", + "license": "MIT", + "dependencies": { + "bytes": "~3.1.2", + "http-errors": "~2.0.1", + "iconv-lite": "~0.7.0", + "unpipe": "~1.0.0" + }, + "engines": { + "node": ">= 0.10" + } + }, + "node_modules/readable-stream": { + "version": "2.3.8", + "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.8.tgz", + "integrity": "sha512-8p0AUk4XODgIewSi0l8Epjs+EVnWiK7NoDIEGU0HhE7+ZyY8D1IMY7odu5lRrFXGg71L15KG8QrPmum45RTtdA==", + "license": "MIT", + "dependencies": { + "core-util-is": "~1.0.0", + "inherits": "~2.0.3", + "isarray": "~1.0.0", + "process-nextick-args": "~2.0.0", + "safe-buffer": "~5.1.1", + "string_decoder": "~1.1.1", + "util-deprecate": "~1.0.1" + } + }, + "node_modules/readable-stream/node_modules/safe-buffer": { + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz", + "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==", + "license": "MIT" + }, + "node_modules/readdirp": { + "version": "5.1.1", + "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-5.1.1.tgz", + "integrity": "sha512-Kko+Y5XQ6fM+Ce3dq3m9YGxnacYZYl9cA1wZjaF3Vbry2L3i1qVg8+CAgNPsXRArPMUMCaOR7oa9Nqntc43JKA==", + "license": "MIT", + "engines": { + "node": ">= 20.19.0" + }, + "funding": { + "type": "individual", + "url": "https://paulmillr.com/funding/" + } + }, + "node_modules/require-directory": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/require-directory/-/require-directory-2.1.1.tgz", + "integrity": "sha512-fGxEI7+wsG9xrvdjsrlmL22OMTTiHRwAMroiEeMgq8gzoLC/PQr7RsRDSTLUg/bZAZtF+TVIkHc6/4RIKrui+Q==", + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/require-from-string": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/require-from-string/-/require-from-string-2.0.2.tgz", + "integrity": "sha512-Xf0nWe6RseziFMu+Ap9biiUbmplq6S9/p+7w7YXP/JBHhrUDDUhwa+vANyubuqfZWTveU//DYVGsDG7RKL/vEw==", + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/require-main-filename": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/require-main-filename/-/require-main-filename-2.0.0.tgz", + "integrity": "sha512-NKN5kMDylKuldxYLSUfrbo5Tuzh4hd+2E8NPPX02mZtn1VuREQToYe/ZdlJy+J3uCpfaiGF05e7B8W0iXbQHmg==", + "license": "ISC" + }, + "node_modules/retry": { + "version": "0.13.1", + "resolved": "https://registry.npmjs.org/retry/-/retry-0.13.1.tgz", + "integrity": "sha512-XQBQ3I8W1Cge0Seh+6gjj03LbmRFWuoszgK9ooCpwYIrhhoO80pfq4cUkU5DkknwfOfFteRwlZ56PYOGYyFWdg==", + "license": "MIT", + "engines": { + "node": ">= 4" + } + }, + "node_modules/router": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/router/-/router-2.2.0.tgz", + "integrity": "sha512-nLTrUKm2UyiL7rlhapu/Zl45FwNgkZGaCpZbIHajDYgwlJCOzLSk+cIPAnsEqV955GjILJnKbdQC1nVPz+gAYQ==", + "license": "MIT", + "dependencies": { + "debug": "^4.4.0", + "depd": "^2.0.0", + "is-promise": "^4.0.0", + "parseurl": "^1.3.3", + "path-to-regexp": "^8.0.0" + }, + "engines": { + "node": ">= 18" + } + }, + "node_modules/safe-buffer": { + "version": "5.2.1", + "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz", + "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ], + "license": "MIT" + }, + "node_modules/safer-buffer": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz", + "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==", + "license": "MIT" + }, + "node_modules/semver": { + "version": "7.8.5", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.8.5.tgz", + "integrity": "sha512-Y7/KDsb8LjooZpwaqGyulO6DQlksgCncchHGk+sZIY4SBvUocMBEFH5Ur1fI4dV+Jvl0w6cjvucaIi40puRioA==", + "license": "ISC", + "bin": { + "semver": "bin/semver.js" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/send": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/send/-/send-1.2.1.tgz", + "integrity": "sha512-1gnZf7DFcoIcajTjTwjwuDjzuz4PPcY2StKPlsGAQ1+YH20IRVrBaXSWmdjowTJ6u8Rc01PoYOGHXfP1mYcZNQ==", + "license": "MIT", + "dependencies": { + "debug": "^4.4.3", + "encodeurl": "^2.0.0", + "escape-html": "^1.0.3", + "etag": "^1.8.1", + "fresh": "^2.0.0", + "http-errors": "^2.0.1", + "mime-types": "^3.0.2", + "ms": "^2.1.3", + "on-finished": "^2.4.1", + "range-parser": "^1.2.1", + "statuses": "^2.0.2" + }, + "engines": { + "node": ">= 18" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/express" + } + }, + "node_modules/serve-static": { + "version": "2.2.1", + "resolved": "https://registry.npmjs.org/serve-static/-/serve-static-2.2.1.tgz", + "integrity": "sha512-xRXBn0pPqQTVQiC8wyQrKs2MOlX24zQ0POGaj0kultvoOCstBQM5yvOhAVSUwOMjQtTvsPWoNCHfPGwaaQJhTw==", + "license": "MIT", + "dependencies": { + "encodeurl": "^2.0.0", + "escape-html": "^1.0.3", + "parseurl": "^1.3.3", + "send": "^1.2.0" + }, + "engines": { + "node": ">= 18" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/express" + } + }, + "node_modules/set-blocking": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/set-blocking/-/set-blocking-2.0.0.tgz", + "integrity": "sha512-KiKBS8AnWGEyLzofFfmvKwpdPzqiy16LvQfK3yv/fVH7Bj13/wl3JSR1J+rfgRE9q7xUJK4qvgS8raSOeLUehw==", + "license": "ISC" + }, + "node_modules/setimmediate": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/setimmediate/-/setimmediate-1.0.5.tgz", + "integrity": "sha512-MATJdZp8sLqDl/68LfQmbP8zKPLQNV6BIZoIgrscFDQ+RsvK/BxeDQOgyxKKoh0y/8h3BqVFnCqQ/gd+reiIXA==", + "license": "MIT" + }, + "node_modules/setprototypeof": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/setprototypeof/-/setprototypeof-1.2.0.tgz", + "integrity": "sha512-E5LDX7Wrp85Kil5bhZv46j8jOeboKq5JMmYM3gVGdGH8xFpPWXUMsNrlODCrkoxMEeNi/XZIwuRvY4XNwYMJpw==", + "license": "ISC" + }, + "node_modules/shebang-command": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-2.0.0.tgz", + "integrity": "sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA==", + "license": "MIT", + "dependencies": { + "shebang-regex": "^3.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/shebang-regex": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/shebang-regex/-/shebang-regex-3.0.0.tgz", + "integrity": "sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==", + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/side-channel": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/side-channel/-/side-channel-1.1.1.tgz", + "integrity": "sha512-6x6dK6zJdpTzF4sQeNYxwtvBzf6Eg4GtlesS94HOvTudUeyK2WXAaIfmDgsyslYrRBeFIlsi54AYsFGUuhmvrQ==", + "license": "MIT", + "dependencies": { + "es-errors": "^1.3.0", + "object-inspect": "^1.13.4", + "side-channel-list": "^1.0.1", + "side-channel-map": "^1.0.1", + "side-channel-weakmap": "^1.0.2" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/side-channel-list": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/side-channel-list/-/side-channel-list-1.0.1.tgz", + "integrity": "sha512-mjn/0bi/oUURjc5Xl7IaWi/OJJJumuoJFQJfDDyO46+hBWsfaVM65TBHq2eoZBhzl9EchxOijpkbRC8SVBQU0w==", + "license": "MIT", + "dependencies": { + "es-errors": "^1.3.0", + "object-inspect": "^1.13.4" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/side-channel-map": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/side-channel-map/-/side-channel-map-1.0.1.tgz", + "integrity": "sha512-VCjCNfgMsby3tTdo02nbjtM/ewra6jPHmpThenkTYh8pG9ucZ/1P8So4u4FGBek/BjpOVsDCMoLA/iuBKIFXRA==", + "license": "MIT", + "dependencies": { + "call-bound": "^1.0.2", + "es-errors": "^1.3.0", + "get-intrinsic": "^1.2.5", + "object-inspect": "^1.13.3" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/side-channel-weakmap": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/side-channel-weakmap/-/side-channel-weakmap-1.0.2.tgz", + "integrity": "sha512-WPS/HvHQTYnHisLo9McqBHOJk2FkHO/tlpvldyrnem4aeQp4hai3gythswg6p01oSoTl58rcpiFAjF2br2Ak2A==", + "license": "MIT", + "dependencies": { + "call-bound": "^1.0.2", + "es-errors": "^1.3.0", + "get-intrinsic": "^1.2.5", + "object-inspect": "^1.13.3", + "side-channel-map": "^1.0.1" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/signal-exit": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-4.1.0.tgz", + "integrity": "sha512-bzyZ1e88w9O1iNJbKnOlvYTrWPDl46O1bG0D3XInv+9tkPrxrN8jUUTiFlDkkmKWgn1M6CfIA13SuGqOa9Korw==", + "license": "ISC", + "engines": { + "node": ">=14" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/sisteransi": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/sisteransi/-/sisteransi-1.0.5.tgz", + "integrity": "sha512-bLGGlR1QxBcynn2d5YmDX4MGjlZvy2MRBDRNHLJ8VI6l6+9FUiyTFNJ0IveOSP0bcXgVDPRcfGqA0pjaqUpfVg==", + "license": "MIT" + }, + "node_modules/source-map": { + "version": "0.6.1", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", + "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", + "license": "BSD-3-Clause", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/source-map-support": { + "version": "0.5.21", + "resolved": "https://registry.npmjs.org/source-map-support/-/source-map-support-0.5.21.tgz", + "integrity": "sha512-uBHU3L3czsIyYXKX88fdrGovxdSCoTGDRZ6SYXtSRxLZUzHg5P/66Ht6uoUlHu9EZod+inXhKo3qQgwXUT/y1w==", + "license": "MIT", + "dependencies": { + "buffer-from": "^1.0.0", + "source-map": "^0.6.0" + } + }, + "node_modules/sqlite-vec": { + "version": "0.1.9", + "resolved": "https://registry.npmjs.org/sqlite-vec/-/sqlite-vec-0.1.9.tgz", + "integrity": "sha512-L7XJWRIBNvR9O5+vh1FQ+IGkh/3D2AzVksW5gdtk28m78Hy8skFD0pqReKH1Yp0/BUKRGcffgKvyO/EON5JXpA==", + "license": "MIT OR Apache", + "optional": true, + "optionalDependencies": { + "sqlite-vec-darwin-arm64": "0.1.9", + "sqlite-vec-darwin-x64": "0.1.9", + "sqlite-vec-linux-arm64": "0.1.9", + "sqlite-vec-linux-x64": "0.1.9", + "sqlite-vec-windows-x64": "0.1.9" + } + }, + "node_modules/sqlite-vec-darwin-arm64": { + "version": "0.1.9", + "resolved": "https://registry.npmjs.org/sqlite-vec-darwin-arm64/-/sqlite-vec-darwin-arm64-0.1.9.tgz", + "integrity": "sha512-jSsZpE42OfBkGL/ItyJTVCUwl6o6Ka3U5rc4j+UBDIQzC1ulSSKMEhQLthsOnF/MdAf1MuAkYhkdKmmcjaIZQg==", + "cpu": [ + "arm64" + ], + "license": "MIT OR Apache", + "optional": true, + "os": [ + "darwin" + ] + }, + "node_modules/sqlite-vec-darwin-x64": { + "version": "0.1.9", + "resolved": "https://registry.npmjs.org/sqlite-vec-darwin-x64/-/sqlite-vec-darwin-x64-0.1.9.tgz", + "integrity": "sha512-KDlVyqQT7pnOhU1ymB9gs7dMbSoVmKHitT+k1/xkjarcX8bBqPxWrGlK/R+C5WmWkfvWwyq5FfXfiBYCBs6PlA==", + "cpu": [ + "x64" + ], + "license": "MIT OR Apache", + "optional": true, + "os": [ + "darwin" + ] + }, + "node_modules/sqlite-vec-linux-arm64": { + "version": "0.1.9", + "resolved": "https://registry.npmjs.org/sqlite-vec-linux-arm64/-/sqlite-vec-linux-arm64-0.1.9.tgz", + "integrity": "sha512-5wXVJ9c9kR4CHm/wVqXb/R+XUHTdpZ4nWbPHlS+gc9qQFVHs92Km4bPnCKX4rtcPMzvNis+SIzMJR1SCEwpuUw==", + "cpu": [ + "arm64" + ], + "license": "MIT OR Apache", + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/sqlite-vec-linux-x64": { + "version": "0.1.9", + "resolved": "https://registry.npmjs.org/sqlite-vec-linux-x64/-/sqlite-vec-linux-x64-0.1.9.tgz", + "integrity": "sha512-w3tCH8xK2finW8fQJ/m8uqKodXUZ9KAuAar2UIhz4BHILfpE0WM/MTGCRfa7RjYbrYim5Luk3guvMOGI7T7JQA==", + "cpu": [ + "x64" + ], + "license": "MIT OR Apache", + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/sqlite-vec-windows-x64": { + "version": "0.1.9", + "resolved": "https://registry.npmjs.org/sqlite-vec-windows-x64/-/sqlite-vec-windows-x64-0.1.9.tgz", + "integrity": "sha512-y3gEIyy/17bq2QFPQOWLE68TYWcRZkBQVA2XLrTPHNTOp55xJi/BBBmOm40tVMDMjtP+Elpk6UBUXdaq+46b0Q==", + "cpu": [ + "x64" + ], + "license": "MIT OR Apache", + "optional": true, + "os": [ + "win32" + ] + }, + "node_modules/standardwebhooks": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/standardwebhooks/-/standardwebhooks-1.1.1.tgz", + "integrity": "sha512-bCbX9ZEyFkWPsRz7Bl3NuQUJohmwGSev/yhr7vhaGPlc4AfIrspIRa6cPTBuI1ItmrTDJ4d/S2hCsfe4+vQGnQ==", + "license": "MIT", + "dependencies": { + "@stablelib/base64": "^1.0.0", + "fast-sha256": "^1.3.0" + } + }, + "node_modules/statuses": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/statuses/-/statuses-2.0.2.tgz", + "integrity": "sha512-DvEy55V3DB7uknRo+4iOGT5fP1slR8wQohVdknigZPMpMstaKJQWhwiYBACJE3Ul2pTnATihhBYnRhZQHGBiRw==", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/string_decoder": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz", + "integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==", + "license": "MIT", + "dependencies": { + "safe-buffer": "~5.1.0" + } + }, + "node_modules/string_decoder/node_modules/safe-buffer": { + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz", + "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==", + "license": "MIT" + }, + "node_modules/string-width": { + "version": "4.2.3", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz", + "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==", + "license": "MIT", + "dependencies": { + "emoji-regex": "^8.0.0", + "is-fullwidth-code-point": "^3.0.0", + "strip-ansi": "^6.0.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/strip-ansi": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", + "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", + "license": "MIT", + "dependencies": { + "ansi-regex": "^5.0.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/strip-final-newline": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/strip-final-newline/-/strip-final-newline-4.0.0.tgz", + "integrity": "sha512-aulFJcD6YK8V1G7iRB5tigAP4TsHBZZrOV8pjV++zdUwmeV8uzbY7yn6h9MswN62adStNZFuCIx4haBnRuMDaw==", + "license": "MIT", + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/strtok3": { + "version": "10.6.2", + "resolved": "https://registry.npmjs.org/strtok3/-/strtok3-10.6.2.tgz", + "integrity": "sha512-BkdixFFUt7r7LsX6aGNPVyYMLjW+M1USLlKPNbZsrZEmLFh5tGqhdfckKo6xgsZIJqdDD0CZGkeCJJwNWQIKQA==", + "license": "MIT", + "dependencies": { + "@tokenizer/token": "^0.3.0" + }, + "engines": { + "node": ">=18" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/Borewit" + } + }, + "node_modules/tar": { + "version": "7.5.22", + "resolved": "https://registry.npmjs.org/tar/-/tar-7.5.22.tgz", + "integrity": "sha512-MFO/QzvtAOmJbkhOaCTvbGcFN9L9b+JunIsDwaKljSOdcLMea3NJ1k9Usz/rjdfSXTq4dfzfeS7W4p4YOAAHeA==", + "license": "BlueOak-1.0.0", + "dependencies": { + "@isaacs/fs-minipass": "^4.0.0", + "chownr": "^3.0.0", + "minipass": "^7.1.2", + "minizlib": "^3.1.0", + "yallist": "^5.0.0" + }, + "engines": { + "node": ">=18" + } + }, + "node_modules/toidentifier": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/toidentifier/-/toidentifier-1.0.1.tgz", + "integrity": "sha512-o5sSPKEkg/DIQNmH43V0/uerLrpzVedkUh8tGNvaeXpfpuwjKenlSox/2O/BTlZUtEe+JG7s5YhEz608PlAHRA==", + "license": "MIT", + "engines": { + "node": ">=0.6" + } + }, + "node_modules/token-types": { + "version": "6.1.2", + "resolved": "https://registry.npmjs.org/token-types/-/token-types-6.1.2.tgz", + "integrity": "sha512-dRXchy+C0IgK8WPC6xvCHFRIWYUbqqdEIKPaKo/AcTUNzwLTK6AH7RjdLWsEZcAN/TBdtfUw3PYEgPr5VPr6ww==", + "license": "MIT", + "dependencies": { + "@borewit/text-codec": "^0.2.1", + "@tokenizer/token": "^0.3.0", + "ieee754": "^1.2.1" + }, + "engines": { + "node": ">=14.16" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/Borewit" + } + }, + "node_modules/tr46": { + "version": "0.0.3", + "resolved": "https://registry.npmjs.org/tr46/-/tr46-0.0.3.tgz", + "integrity": "sha512-N3WMsuqV66lT30CrXNbEjx4GEwlow3v6rr4mCcv6prnfwhS01rkgyFdjPNBYd9br7LpXV1+Emh01fHnq2Gdgrw==", + "license": "MIT" + }, + "node_modules/ts-algebra": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/ts-algebra/-/ts-algebra-2.0.0.tgz", + "integrity": "sha512-FPAhNPFMrkwz76P7cdjdmiShwMynZYN6SgOujD1urY4oNm80Ou9oMdmbR45LotcKOXoy7wSmHkRFE6Mxbrhefw==", + "license": "MIT" + }, + "node_modules/tslib": { + "version": "2.8.1", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.8.1.tgz", + "integrity": "sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==", + "license": "0BSD" + }, + "node_modules/tslog": { + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/tslog/-/tslog-5.2.0.tgz", + "integrity": "sha512-bD0FpBIFZ1OInp7uzQmEn1SJe6feTkVTCudw/27ILuISbVZtTryXqauxyCWTa1I8ZgTm9OGQ6YrJPKM+6QTeJA==", + "license": "MIT", + "bin": { + "tslog": "esm/subpaths/cli.js" + }, + "engines": { + "node": ">=22" + }, + "funding": { + "url": "https://github.com/fullstack-build/tslog?sponsor=1" + } + }, + "node_modules/type-is": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/type-is/-/type-is-2.1.0.tgz", + "integrity": "sha512-faYHw0anBbc/kWF3zFTEnxSFOAGUX9GFbOBthvDdLsIlEoWOFOtS0zgCiQYwIskL9iGXZL3kAXD8OoZ4GmMATA==", + "license": "MIT", + "dependencies": { + "content-type": "^2.0.0", + "media-typer": "^1.1.0", + "mime-types": "^3.0.0" + }, + "engines": { + "node": ">= 18" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/express" + } + }, + "node_modules/type-is/node_modules/content-type": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/content-type/-/content-type-2.1.0.tgz", + "integrity": "sha512-mj7UPXE0jaqaOsukNZRUEfEi2AcL7C/vwmwcHV0O97eO1E1pxBZuyjlZrx5seTaNBg1U6+o35wpa35Qfcc+7ag==", + "license": "MIT", + "engines": { + "node": ">=18" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/express" + } + }, + "node_modules/typebox": { + "version": "1.3.34", + "resolved": "https://registry.npmjs.org/typebox/-/typebox-1.3.34.tgz", + "integrity": "sha512-wbnzrXXDW8xEFHDZZs2jo1MkhaYlKAY4FRhpBc1+2LF1fZVBGCXGdLEhA/Z/NBbgzJMFfeM8m7elKPa/+KxaUQ==", + "license": "MIT" + }, + "node_modules/uhyphen": { + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/uhyphen/-/uhyphen-0.2.0.tgz", + "integrity": "sha512-qz3o9CHXmJJPGBdqzab7qAYuW8kQGKNEuoHFYrBwV6hWIMcpAmxDLXojcHfFr9US1Pe6zUswEIJIbLI610fuqA==", + "license": "ISC" + }, + "node_modules/uint8array-extras": { + "version": "1.6.0", + "resolved": "https://registry.npmjs.org/uint8array-extras/-/uint8array-extras-1.6.0.tgz", + "integrity": "sha512-8iAasVS4wUx0gPLjH8Xtz2PeDzTSiy8QiLGu2DT3X5GU+egFEQhpnbtkehbAwjvDcxIERmCYcysiODFmE3Ud0Q==", + "license": "MIT", + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/undici": { + "version": "8.12.3", + "resolved": "https://registry.npmjs.org/undici/-/undici-8.12.3.tgz", + "integrity": "sha512-+fdndUTwBP86cVjihTp21hZHo7d6oj1c/47XPA3lL8mM0XHs+C4EkcjmgRsFnFk2f/UONGDy9ItBItmXsLOQHw==", + "license": "MIT", + "engines": { + "node": ">=22.19.0" + } + }, + "node_modules/undici-types": { + "version": "8.9.0", + "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-8.9.0.tgz", + "integrity": "sha512-KTDyRTYX8sWmKXAikPHHSyc63CRPETMctyjKFupcC6OBLXT3xsN0e9aF7m+mIXutFWpUXuedtowG7iLOzp0kQg==", + "license": "MIT" + }, + "node_modules/unicorn-magic": { + "version": "0.3.0", + "resolved": "https://registry.npmjs.org/unicorn-magic/-/unicorn-magic-0.3.0.tgz", + "integrity": "sha512-+QBBXBCvifc56fsbuxZQ6Sic3wqqc3WWaqxs58gvJrcOuN83HGTCwz3oS5phzU9LthRNE9VrJCFCLUgHeeFnfA==", + "license": "MIT", + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/unpipe": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/unpipe/-/unpipe-1.0.0.tgz", + "integrity": "sha512-pjy2bYhSsufwWlKwPc+l3cN7+wuJlK6uz0YdJEOlQDbl6jo/YlPi4mb8agUkVC8BF7V8NuzeyPNqRksA3hztKQ==", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/util-deprecate": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz", + "integrity": "sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw==", + "license": "MIT" + }, + "node_modules/vary": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/vary/-/vary-1.1.2.tgz", + "integrity": "sha512-BNGbWLfd0eUPabhkXUVm0j8uuvREyTh5ovRa/dyow/BqAbZJyC+5fU+IzQOzmAKzYqYRAISoRhdQr3eIZ/PXqg==", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/web-push": { + "version": "3.6.7", + "resolved": "https://registry.npmjs.org/web-push/-/web-push-3.6.7.tgz", + "integrity": "sha512-OpiIUe8cuGjrj3mMBFWY+e4MMIkW3SVT+7vEIjvD9kejGUypv8GPDf84JdPWskK8zMRIJ6xYGm+Kxr8YkPyA0A==", + "license": "MPL-2.0", + "dependencies": { + "asn1.js": "^5.3.0", + "http_ece": "1.2.0", + "https-proxy-agent": "^7.0.0", + "jws": "^4.0.0", + "minimist": "^1.2.5" + }, + "bin": { + "web-push": "src/cli.js" + }, + "engines": { + "node": ">= 16" + } + }, + "node_modules/web-streams-polyfill": { + "version": "3.3.3", + "resolved": "https://registry.npmjs.org/web-streams-polyfill/-/web-streams-polyfill-3.3.3.tgz", + "integrity": "sha512-d2JWLCivmZYTSIoge9MsgFCZrt571BikcWGYkjC1khllbTeDlGqZ2D8vD8E/lJa8WGWbb7Plm8/XJYV7IJHZZw==", + "license": "MIT", + "engines": { + "node": ">= 8" + } + }, + "node_modules/web-tree-sitter": { + "version": "0.27.0", + "resolved": "https://registry.npmjs.org/web-tree-sitter/-/web-tree-sitter-0.27.0.tgz", + "integrity": "sha512-XK08gj6RwTMQatAG7uVRP8MunqotL/XC19vHgkSPKmELgbGPBj4ECvB8haHOUnyj6ls2B8t42UTro14zxGgAHg==", + "license": "MIT" + }, + "node_modules/webidl-conversions": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-3.0.1.tgz", + "integrity": "sha512-2JAn3z8AR6rjK8Sm8orRC0h/bcl/DqL7tRPdGZ4I1CjdF+EaMLmYxBHyXuKL849eucPFhvBoxMsflfOb8kxaeQ==", + "license": "BSD-2-Clause" + }, + "node_modules/whatwg-url": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/whatwg-url/-/whatwg-url-5.0.0.tgz", + "integrity": "sha512-saE57nupxk6v3HY35+jzBwYa0rKSy0XR8JSxZPwgLr7ys0IBzhGviA1/TUGJLmSVqs8pb9AnvICXEuOHLprYTw==", + "license": "MIT", + "dependencies": { + "tr46": "~0.0.3", + "webidl-conversions": "^3.0.0" + } + }, + "node_modules/which": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", + "integrity": "sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==", + "license": "ISC", + "dependencies": { + "isexe": "^2.0.0" + }, + "bin": { + "node-which": "bin/node-which" + }, + "engines": { + "node": ">= 8" + } + }, + "node_modules/which-command": { + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/which-command/-/which-command-0.1.0.tgz", + "integrity": "sha512-XZyoF5/5hZtXitIwzrU4NKK+Wtbb9aB9CezUEw2Q0wlYK8NUYQxC1rRXgNueYLtBAJwXIb+/tFVk4dozciNJMA==", + "license": "MIT", + "bin": { + "which-command": "cli.js" + }, + "engines": { + "node": ">=22" + }, + "funding": { + "url": "https://github.com/sindresorhus/which-command?sponsor=1" + } + }, + "node_modules/which-module": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/which-module/-/which-module-2.0.1.tgz", + "integrity": "sha512-iBdZ57RDvnOR9AGBhML2vFZf7h8vmBjhoaZqODJBFWHVtKkDmKuHai3cx5PgVMrX5YDNp27AofYbAwctSS+vhQ==", + "license": "ISC" + }, + "node_modules/wrap-ansi": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz", + "integrity": "sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==", + "license": "MIT", + "dependencies": { + "ansi-styles": "^4.0.0", + "string-width": "^4.1.0", + "strip-ansi": "^6.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/wrap-ansi?sponsor=1" + } + }, + "node_modules/wrappy": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", + "integrity": "sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==", + "license": "ISC" + }, + "node_modules/ws": { + "version": "8.21.3", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.21.3.tgz", + "integrity": "sha512-201TZ/kPWxoPr/OKWjquZR1SWKXcvxdH+e1xrx89b3YbmzLMFCLfnaG1HFIgWzJOEWZ7MvpK++odZufgYR50Rw==", + "license": "MIT", + "engines": { + "node": ">=10.0.0" + }, + "peerDependencies": { + "bufferutil": "^4.0.1", + "utf-8-validate": ">=5.0.2" + }, + "peerDependenciesMeta": { + "bufferutil": { + "optional": true + }, + "utf-8-validate": { + "optional": true + } + } + }, + "node_modules/y18n": { + "version": "5.0.8", + "resolved": "https://registry.npmjs.org/y18n/-/y18n-5.0.8.tgz", + "integrity": "sha512-0pfFzegeDWJHJIAmTLRP2DwHjdF5s7jo9tuztdQxAhINCdvS+3nGINqPd00AphqJR/0LhANUS6/+7SCb98YOfA==", + "license": "ISC", + "engines": { + "node": ">=10" + } + }, + "node_modules/yallist": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/yallist/-/yallist-5.0.0.tgz", + "integrity": "sha512-YgvUTfwqyc7UXVMrB+SImsVYSmTS8X/tSrtdNZMImM+n7+QTriRXyXim0mBrTXNeqzVF0KWGgHPeiyViFFrNDw==", + "license": "BlueOak-1.0.0", + "engines": { + "node": ">=18" + } + }, + "node_modules/yaml": { + "version": "2.9.1", + "resolved": "https://registry.npmjs.org/yaml/-/yaml-2.9.1.tgz", + "integrity": "sha512-3NxN8+78OdzbT7C/WjGsyfPAtJaN3FNDsWxv7Y7mcDsT/oOmgW8BpyQQFFBnvZE3j9Y2Sdz1ULFLezL7Eb2yFw==", + "license": "ISC", + "bin": { + "yaml": "bin.mjs" + }, + "engines": { + "node": ">= 14.6" + }, + "funding": { + "url": "https://github.com/sponsors/eemeli" + } + }, + "node_modules/yargs": { + "version": "17.7.3", + "resolved": "https://registry.npmjs.org/yargs/-/yargs-17.7.3.tgz", + "integrity": "sha512-GZtjxm/J/4TSxuL3FNYjCmLktBTnIw/rVmKSIyKeYAZpmJB2ig9VauCC5xsa82GNKVKDAqpOn3KVzNt0zmrU0g==", + "license": "MIT", + "dependencies": { + "cliui": "^8.0.1", + "escalade": "^3.1.1", + "get-caller-file": "^2.0.5", + "require-directory": "^2.1.1", + "string-width": "^4.2.3", + "y18n": "^5.0.5", + "yargs-parser": "^21.1.1" + }, + "engines": { + "node": ">=12" + } + }, + "node_modules/yargs-parser": { + "version": "21.1.1", + "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-21.1.1.tgz", + "integrity": "sha512-tVpsJW7DdjecAiFpbIB1e3qxIQsE6NoPc5/eTdrbbIC4h0LVsWhnoa3g+m2HclBIujHzsxZ4VJVA+GUuc2/LBw==", + "license": "ISC", + "engines": { + "node": ">=12" + } + }, + "node_modules/yocto-queue": { + "version": "1.2.2", + "resolved": "https://registry.npmjs.org/yocto-queue/-/yocto-queue-1.2.2.tgz", + "integrity": "sha512-4LCcse/U2MHZ63HAJVE+v71o7yOdIe4cZ70Wpf8D/IyjDKYQLV5GD46B+hSTjJsvV5PztjvHoU580EftxjDZFQ==", + "license": "MIT", + "engines": { + "node": ">=12.20" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/yoctocolors": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/yoctocolors/-/yoctocolors-2.2.0.tgz", + "integrity": "sha512-xYqdZFUK/VYazNl/oCDYN+3WloWQwMfZxBoiNt6qNyk+xfOdi598muWE42rNZFp1kNOiqW936q5RhUdnpqElSg==", + "license": "MIT", + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/zod": { + "version": "4.6.6", + "resolved": "https://registry.npmjs.org/zod/-/zod-4.6.6.tgz", + "integrity": "sha512-4UmzQUF5fxvfcYHlbjBmejU+w+hbDnWFx4aS8kBx7nPBHcO2SqPbpAG8snbdg+Xse4pRefR98hgjFgIMCI/UhA==", + "license": "MIT", + "funding": { + "url": "https://github.com/sponsors/colinhacks" + } + }, + "node_modules/zod-to-json-schema": { + "version": "3.25.2", + "resolved": "https://registry.npmjs.org/zod-to-json-schema/-/zod-to-json-schema-3.25.2.tgz", + "integrity": "sha512-O/PgfnpT1xKSDeQYSCfRI5Gy3hPf91mKVDuYLUHZJMiDFptvP41MSnWofm8dnCm0256ZNfZIM7DSzuSMAFnjHA==", + "license": "ISC", + "peerDependencies": { + "zod": "^3.25.28 || ^4" + } + } + } +} diff --git a/agents/openclaw/openclaw-migration-2026.9.7-runtime/package.json b/agents/openclaw/openclaw-migration-2026.9.7-runtime/package.json new file mode 100644 index 00000000000..8013810fc07 --- /dev/null +++ b/agents/openclaw/openclaw-migration-2026.9.7-runtime/package.json @@ -0,0 +1,27 @@ +{ + "name": "nemoclaw-openclaw-runtime", + "version": "0.0.0", + "private": true, + "description": "Locked production dependency graph for the OpenClaw runtime", + "license": "Apache-2.0", + "dependencies": { + "openclaw": "2026.9.7" + }, + "overrides": { + "@modelcontextprotocol/sdk": "1.32.0", + "fast-uri": "3.1.8", + "hono": "4.13.11", + "npm": { + ".": "12.2.1", + "undici": "6.29.1" + }, + "tar": "7.5.22", + "undici": "8.12.3", + "body-parser": "2.4.0", + "zod": "4.6.6" + }, + "engines": { + "node": ">=24.16.0 <25 || >=26.1.0" + }, + "$comment": "SPDX-FileCopyrightText: Copyright (c) 2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.\nSPDX-License-Identifier: Apache-2.0" +} diff --git a/ci/pi-agent-qualification-v1-linux-amd64.json b/ci/pi-agent-qualification-v1-linux-amd64.json index 4c4baa8957e..ee406537048 100644 --- a/ci/pi-agent-qualification-v1-linux-amd64.json +++ b/ci/pi-agent-qualification-v1-linux-amd64.json @@ -3,13 +3,13 @@ "agent": "pi", "platform": "linux/amd64", "image": "ghcr.io/nvidia/nemoclaw/pi-sandbox", - "digest": "sha256:cf82d59e6e356b52dc9104c24623df0c80003ef1eecd3debc3be8e245a098298", - "reference": "ghcr.io/nvidia/nemoclaw/pi-sandbox@sha256:cf82d59e6e356b52dc9104c24623df0c80003ef1eecd3debc3be8e245a098298", + "digest": "sha256:847d94d8ce4e17abbb66df6f689f1180bbef5a8fe6355da2d6243c31835eba34", + "reference": "ghcr.io/nvidia/nemoclaw/pi-sandbox@sha256:847d94d8ce4e17abbb66df6f689f1180bbef5a8fe6355da2d6243c31835eba34", "source": { "repository": "NVIDIA/NemoClaw", - "revision": "a6cd25d3f730b87fb1e65e175906c44d55260a75", + "revision": "a303db9ea635ef6b057c0170112758dcd458b848", "release": "v0.1.0", - "cohort": "ghrun-40461861688-1" + "cohort": "ghrun-40584663299-1" }, "startupProfileContractVersion": 1, "capabilityContractVersion": 1 diff --git a/ci/pi-agent-qualification-v1-linux-arm64.json b/ci/pi-agent-qualification-v1-linux-arm64.json index c8ea993112d..232515bdc7b 100644 --- a/ci/pi-agent-qualification-v1-linux-arm64.json +++ b/ci/pi-agent-qualification-v1-linux-arm64.json @@ -3,13 +3,13 @@ "agent": "pi", "platform": "linux/arm64", "image": "ghcr.io/nvidia/nemoclaw/pi-sandbox", - "digest": "sha256:4c6460b8d0f1504814421e3b3e85b2cdba4393604303c9482459d7727dcf8d97", - "reference": "ghcr.io/nvidia/nemoclaw/pi-sandbox@sha256:4c6460b8d0f1504814421e3b3e85b2cdba4393604303c9482459d7727dcf8d97", + "digest": "sha256:85ed5b06b9e32af36de308055f79e6fcfab44d490d77ccc36a3adf593af04836", + "reference": "ghcr.io/nvidia/nemoclaw/pi-sandbox@sha256:85ed5b06b9e32af36de308055f79e6fcfab44d490d77ccc36a3adf593af04836", "source": { "repository": "NVIDIA/NemoClaw", - "revision": "a6cd25d3f730b87fb1e65e175906c44d55260a75", + "revision": "a303db9ea635ef6b057c0170112758dcd458b848", "release": "v0.1.0", - "cohort": "ghrun-40461861688-1" + "cohort": "ghrun-40584663299-1" }, "startupProfileContractVersion": 1, "capabilityContractVersion": 1 diff --git a/ci/reviewed-npm-audit.json b/ci/reviewed-npm-audit.json index 267cca229f1..026ff12ea7e 100644 --- a/ci/reviewed-npm-audit.json +++ b/ci/reviewed-npm-audit.json @@ -149,6 +149,66 @@ "packageSpec": "@openclaw/googlechat@2026.9.5", "integrity": "sha512-8yX3i7u6044gyq+W4tMbJH5CRXLBsJSbdDMzysAxJYDgPimYB5DS+fTNU924tt8zhzkruqRjUzz7FjTtMTn0jA==", "tarballUrl": "https://registry.npmjs.org/@openclaw/googlechat/-/googlechat-2026.9.5.tgz" + }, + { + "label": "Tencent WeChat plugin 2.4.10", + "packageSpec": "@tencent-weixin/openclaw-weixin@2.4.10", + "integrity": "sha512-qCN7rFtBK5BO/i5YGEJLdpC/8WQrm0dtPlQ0xNxku4RSyzGaRsiBoLVheU5hgpoOIBvfc5pUwKTktMbROLcIVg==", + "tarballUrl": "https://registry.npmjs.org/@tencent-weixin/openclaw-weixin/-/openclaw-weixin-2.4.10.tgz" + }, + { + "label": "OpenClaw Tavily plugin 2026.10.5", + "packageSpec": "@openclaw/tavily-plugin@2026.10.5", + "integrity": "sha512-PHGSdOzcNf41WdbDKT3X2UzTKWOdrSa9vEmMOjpNTzOTS8H/YGJzy1lw44w4zvEk3cR32dRFF+AQXxMzrzo8ww==", + "tarballUrl": "https://registry.npmjs.org/@openclaw/tavily-plugin/-/tavily-plugin-2026.10.5.tgz" + }, + { + "label": "@openclaw/brave-plugin 2026.10.5", + "packageSpec": "@openclaw/brave-plugin@2026.10.5", + "integrity": "sha512-Dys0g/nhJXTpqmxwujnE9UoSN1EVszHWqbI5C3aNNk0zMqFUcD/YMT7TACe65aiVANHGuiMpLDm6rtJO5qq8FA==", + "tarballUrl": "https://registry.npmjs.org/@openclaw/brave-plugin/-/brave-plugin-2026.10.5.tgz" + }, + { + "label": "@openclaw/diagnostics-otel 2026.10.5", + "packageSpec": "@openclaw/diagnostics-otel@2026.10.5", + "integrity": "sha512-lgkU4dkclfKhVnBcHwcvIzf/BdBsVyDfmAKRgDdrqWg+7GUp7ikETL+WhLZGxWArYecv3FX0+A0KdEnQyHV1RQ==", + "tarballUrl": "https://registry.npmjs.org/@openclaw/diagnostics-otel/-/diagnostics-otel-2026.10.5.tgz" + }, + { + "label": "@openclaw/discord 2026.10.5", + "packageSpec": "@openclaw/discord@2026.10.5", + "integrity": "sha512-Gy2FmMF7cnCyhodvYQHVtOPoPm7daZ1djSS7ymLHsJ5nWIO9GFsW8Y/mlnZAMSGWlgmWedERkVbVDMlli9vgOw==", + "tarballUrl": "https://registry.npmjs.org/@openclaw/discord/-/discord-2026.10.5.tgz" + }, + { + "label": "@openclaw/msteams 2026.10.5", + "packageSpec": "@openclaw/msteams@2026.10.5", + "integrity": "sha512-Up5NG2C0vVJBNIX92Lv7SB8qoCQ9SX86LMLh2MTow71AglyVy20OjNc/rGpOco2YTwWl7HcjhSz9MJbqWcvvDQ==", + "tarballUrl": "https://registry.npmjs.org/@openclaw/msteams/-/msteams-2026.10.5.tgz" + }, + { + "label": "@openclaw/slack 2026.10.5", + "packageSpec": "@openclaw/slack@2026.10.5", + "integrity": "sha512-AzWaSLfUQZWPwDdrLXzXeQ/AraXPEnkTTWKTKq4MFO39futFAxy+FulsYSStDYEd1B0YjtWGvXswBjdrmwRlBw==", + "tarballUrl": "https://registry.npmjs.org/@openclaw/slack/-/slack-2026.10.5.tgz" + }, + { + "label": "@openclaw/whatsapp 2026.10.5", + "packageSpec": "@openclaw/whatsapp@2026.10.5", + "integrity": "sha512-3Dbv0p60yuz6tzuZNUMHzIYjhGL816BfOPBfz2YIpszQ7kx2j1uZfgpa0xTaxH4Spbg0AFakIp0kIcWOU1ODEQ==", + "tarballUrl": "https://registry.npmjs.org/@openclaw/whatsapp/-/whatsapp-2026.10.5.tgz" + }, + { + "label": "openclaw 2026.10.5", + "packageSpec": "openclaw@2026.10.5", + "integrity": "sha512-9rCuXMweqVKZIK3KBtGcLzesz9G6+FmQ30lvwomRhmcNWDcOtlBoqdLbPditoJMuTP55jPqXpt1AA0L8tSzFHg==", + "tarballUrl": "https://registry.npmjs.org/openclaw/-/openclaw-2026.10.5.tgz" + }, + { + "label": "OpenClaw Google Chat plugin 2026.10.5", + "packageSpec": "@openclaw/googlechat@2026.10.5", + "integrity": "sha512-FWJm5S7oaAdbq8k4BL1EopvF8D/wVpILRKY4seJ7MzxURLMIjF6a6mIBgx34VIFH40KEO5lszDgc/iRwPEjHcg==", + "tarballUrl": "https://registry.npmjs.org/@openclaw/googlechat/-/googlechat-2026.10.5.tgz" } ], "lockedGraphs": [ @@ -161,11 +221,11 @@ "directory": "agents/openclaw/openclaw-runtime", "lockSha256": "0b1253c6570f55881623961c856b430a17d4271f5efe8c5beffa7ac0fc8d0199", "replacement": { - "label": "OpenClaw 2026.9.5 locked runtime graph", - "packageSpec": "openclaw@2026.9.5", - "integrity": "sha512-TCO/ImVLh5HkF4tdfo7iriIa7kT6iYkIr/jR5ZOkePGFGhUx5Oe7DE716Y1DzzG2teRAVDdCjgJDu1A24Yta7w==", - "tarballUrl": "https://registry.npmjs.org/openclaw/-/openclaw-2026.9.5.tgz", - "lockSha256": "b73ebd8bb5e15cfcf080a21beaca0dce50cbca903988b20be74d49c9498baeb7" + "label": "OpenClaw 2026.10.5 locked runtime graph", + "packageSpec": "openclaw@2026.10.5", + "integrity": "sha512-9rCuXMweqVKZIK3KBtGcLzesz9G6+FmQ30lvwomRhmcNWDcOtlBoqdLbPditoJMuTP55jPqXpt1AA0L8tSzFHg==", + "tarballUrl": "https://registry.npmjs.org/openclaw/-/openclaw-2026.10.5.tgz", + "lockSha256": "02f1096028c223c17757b026c92e389a7904178995d588b3e3a4a5d8deb8d15f" } }, { @@ -188,7 +248,14 @@ "severityThreshold": "low", "installMode": "legacy-peer-deps", "inputValidation": "wechat-runtime", - "signatureAudit": "retry-download-failures" + "signatureAudit": "retry-download-failures", + "replacement": { + "label": "Tencent WeChat plugin 2.4.10 locked runtime graph", + "packageSpec": "@tencent-weixin/openclaw-weixin@2.4.10", + "integrity": "sha512-qCN7rFtBK5BO/i5YGEJLdpC/8WQrm0dtPlQ0xNxku4RSyzGaRsiBoLVheU5hgpoOIBvfc5pUwKTktMbROLcIVg==", + "tarballUrl": "https://registry.npmjs.org/@tencent-weixin/openclaw-weixin/-/openclaw-weixin-2.4.10.tgz", + "lockSha256": "128880428a7929f4dccec034418ff4290513ad728f8af12fbf1d3536cb468803" + } }, { "id": "mcp-tool-discovery-runtime", @@ -198,6 +265,24 @@ "tarballUrl": "https://registry.npmjs.org/@modelcontextprotocol/sdk/-/sdk-1.32.0.tgz", "directory": "tools/mcp-tool-discovery-runtime", "lockSha256": "a055cc6630c19809d3b359dc464ca5684fe86e0155fde2be3cd89e3f436ae679" + }, + { + "id": "openclaw-migration-2026.9.5-runtime", + "label": "OpenClaw 2026.9.5 legacy migration runtime", + "packageSpec": "openclaw@2026.9.5", + "integrity": "sha512-TCO/ImVLh5HkF4tdfo7iriIa7kT6iYkIr/jR5ZOkePGFGhUx5Oe7DE716Y1DzzG2teRAVDdCjgJDu1A24Yta7w==", + "tarballUrl": "https://registry.npmjs.org/openclaw/-/openclaw-2026.9.5.tgz", + "directory": "agents/openclaw/openclaw-migration-2026.9.5-runtime", + "lockSha256": "25a0e1b2128555dcac25c859e09069c34c99b9a0ab8a8ea950620bca24bf376b" + }, + { + "id": "openclaw-migration-2026.9.7-runtime", + "label": "OpenClaw 2026.9.7 legacy migration runtime", + "packageSpec": "openclaw@2026.9.7", + "integrity": "sha512-/8N2LnfTFQPvnZizi8qKSFfnLQaPvSG3Cb4xo1YV7b4JhYiUc43ZNRpXJ01bWghLK0Ezk3HVeo/DGHcIRQwRWA==", + "tarballUrl": "https://registry.npmjs.org/openclaw/-/openclaw-2026.9.7.tgz", + "directory": "agents/openclaw/openclaw-migration-2026.9.7-runtime", + "lockSha256": "b284dfe7296b48bf3dbae4593d8e9932182557df31123168e1922230e86cd073" } ], "sourceRegistryPackageReplacement": { diff --git a/ci/source-shape-test-budget.json b/ci/source-shape-test-budget.json index cff9883f1db..0810ebc2425 100644 --- a/ci/source-shape-test-budget.json +++ b/ci/source-shape-test-budget.json @@ -485,6 +485,16 @@ "file": "test/automation/e2e/platform-vitest-main-workflow.test.ts", "test": "installs container clients before Vitest but starts Docker only afterward", "category": "compatibility" + }, + { + "file": "test/install/remediate-openclaw-runtime-dependencies.test.ts", + "test": "preserves %s metadata after a partial write failure and permits retry", + "category": "compatibility" + }, + { + "file": "test/agents/openclaw/openclaw-real-patched-dist-harness.test.ts", + "test": "runs npm and messaging consumers after retrying an interrupted %s manifest write", + "category": "compatibility" } ] } diff --git a/scripts/audit-reviewed-npm-graph.mts b/scripts/audit-reviewed-npm-graph.mts index d97998fc5d1..ea55f7e3b58 100755 --- a/scripts/audit-reviewed-npm-graph.mts +++ b/scripts/audit-reviewed-npm-graph.mts @@ -9,6 +9,7 @@ import os from "node:os"; import path from "node:path"; import { fileURLToPath } from "node:url"; import { remediateReviewedOpenClawPluginArchive } from "./lib/openclaw-npm-remediation.mts"; +import { remediateOpenClawRuntimeDependencies } from "./lib/remediate-openclaw-runtime-dependencies.mts"; import { canonicalAuditReceipt, createAuditReceipt } from "./lib/npm-audit-receipt.mts"; import { resolvePathWithinRoot } from "./lib/repository-input-path.mts"; import { @@ -295,13 +296,16 @@ export function reviewedArchiveGraphManifest(archiveTarVersion: unknown) { return { name: "nemoclaw-reviewed-production-graph", overrides: { - "@azure/msal-node": "7.1.0", "@modelcontextprotocol/sdk": "1.32.0", + "@azure/msal-node": "7.1.0", "body-parser": "2.4.0", + // npm bundles its private HTTP client; the installed recipe below + // replaces that copy before this graph is audited. + npm: { ".": "12.2.1", undici: "6.29.1" }, "proxy-addr": "2.0.8", tar: archiveTarVersion, zod: "4.6.6", - "undici@>=8.0.0 <8.12.2": "8.12.2", + "undici@>=8.0.0 <8.12.3": "8.12.3", "undici@>=7.18.0 <7.30.1": "7.30.1", }, private: true, @@ -359,6 +363,7 @@ function materializeArchiveGraph( ["install", "--ignore-scripts", "--omit=dev", "--no-audit", "--no-fund", ...archives], graphDirectory, ); + remediateOpenClawRuntimeDependencies(graphDirectory, { updateLock: true }); return graphDirectory; } @@ -457,6 +462,7 @@ function materializeLockedGraph( const installArgs = ["ci", "--ignore-scripts", "--omit=dev", "--no-audit", "--no-fund"]; if (graph.installMode === "legacy-peer-deps") installArgs.push("--legacy-peer-deps"); run("npm", installArgs, destination); + remediateOpenClawRuntimeDependencies(destination); verifyMaterializedLockedGraph({ destination, expectedLockSha256, diff --git a/scripts/lib/bundled-npm-package.mts b/scripts/lib/bundled-npm-package.mts index 7b41446351a..028ac0c980d 100644 --- a/scripts/lib/bundled-npm-package.mts +++ b/scripts/lib/bundled-npm-package.mts @@ -1,9 +1,16 @@ // SPDX-FileCopyrightText: Copyright (c) 2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. // SPDX-License-Identifier: Apache-2.0 -import { +import { spawnSync } from "node:child_process"; +import { createHash, randomBytes } from "node:crypto"; +import fs, { closeSync, constants, + cpSync, + mkdirSync, + mkdtempSync, + renameSync, + rmSync, fstatSync, lstatSync, openSync, @@ -11,7 +18,8 @@ import { readFileSync, realpathSync, } from "node:fs"; -import { basename, isAbsolute, join, relative, resolve, sep } from "node:path"; +import { hostname, tmpdir } from "node:os"; +import { basename, dirname, isAbsolute, join, relative, resolve, sep } from "node:path"; export type JsonObject = Record; @@ -34,6 +42,86 @@ export function readJsonObject(file: string, label: string): JsonObject { } } +function syncMetadataDirectory(filename: string): void { + const directory = fs.openSync( + dirname(filename), + fs.constants.O_RDONLY | fs.constants.O_DIRECTORY | fs.constants.O_NOFOLLOW, + ); + try { + fs.fsyncSync(directory); + } finally { + fs.closeSync(directory); + } +} + +/** Publish complete verified metadata without modifying the source file in place. */ +export function rewriteRegularFile( + filename: string, + label: string, + transform: (original: string) => string, +): void { + const descriptor = fs.openSync( + filename, + fs.constants.O_RDWR | fs.constants.O_NOFOLLOW | fs.constants.O_NONBLOCK, + ); + let temporary: string | undefined; + try { + const initial = fs.fstatSync(descriptor); + if (!initial.isFile()) throw new Error(`${label} must be a real file`); + const original = fs.readFileSync(descriptor, "utf8"); + const patched = transform(original); + if (patched === original) { + syncMetadataDirectory(filename); + return; + } + const bytes = Buffer.from(patched); + const stagingPath = `${filename}.nemoclaw-${randomBytes(16).toString("hex")}.tmp`; + const staging = fs.openSync( + stagingPath, + fs.constants.O_RDWR | fs.constants.O_CREAT | fs.constants.O_EXCL | fs.constants.O_NOFOLLOW, + 0o600, + ); + temporary = stagingPath; + try { + let offset = 0; + while (offset < bytes.length) { + const written = fs.writeSync(staging, bytes, offset, bytes.length - offset, offset); + if (!written) throw new Error(`${label} write made no progress`); + offset += written; + } + if (!fs.readFileSync(staging).equals(bytes)) + throw new Error(`${label} staged contents failed verification`); + const staged = fs.fstatSync(staging); + if (staged.uid !== initial.uid || staged.gid !== initial.gid) + fs.fchownSync(staging, initial.uid, initial.gid); + fs.fchmodSync(staging, initial.mode & 0o777); + fs.fsyncSync(staging); + const current = fs.lstatSync(filename); + const observed = fs.fstatSync(descriptor); + if ( + !current.isFile() || + current.dev !== initial.dev || + current.ino !== initial.ino || + observed.size !== initial.size || + observed.mtimeMs !== initial.mtimeMs || + observed.ctimeMs !== initial.ctimeMs + ) + throw new Error(`${label} changed before writing`); + fs.renameSync(stagingPath, filename); + temporary = undefined; + syncMetadataDirectory(filename); + } finally { + fs.closeSync(staging); + } + } finally { + try { + if (temporary) fs.unlinkSync(temporary); + } finally { + fs.closeSync(descriptor); + } + } +} + export function requireRealDirectory(directory: string, label: string): string { const resolved = resolve(directory); const metadata = lstatSync(resolved); @@ -113,3 +201,515 @@ export function collectBundledPackageVersions(options: { visit(options.nodeModulesRoot); return versions; } + +function removeBackup(backupPath: string): void { + try { + rmSync(backupPath, { force: true, recursive: true }); + } catch (cleanupError) { + try { + rmSync(backupPath, { force: true, recursive: true }); + } catch (retryError) { + throw new AggregateError( + [cleanupError, retryError], + `verified replacement retained but affected backup cleanup failed: ${backupPath}`, + ); + } + } +} + +type RetainedBackupOptions = { + npmRoot: string; + packageName: "ip-address" | "undici"; + verifyBackup: (manifest: JsonObject) => void; +}; + +const stagingMarker = "nemoclaw-owner.json"; + +// A PID is meaningful only in the same host boot and, on Linux, PID namespace. +// If this identity cannot be established, retain the stage for manual inspection. +function stagingProcessScope(): string { + if (process.platform === "linux") { + return JSON.stringify([ + hostname(), + readFileSync("/proc/sys/kernel/random/boot_id", "utf8").trim(), + fs.readlinkSync("/proc/self/ns/pid"), + ]); + } + if (process.platform === "darwin") { + const boot = spawnSync("/usr/sbin/sysctl", ["-n", "kern.bootsessionuuid"], { + encoding: "utf8", + timeout: 5000, + maxBuffer: 4096, + }); + if (boot.status !== 0 || !/^[a-f0-9-]{36}$/i.test(boot.stdout.trim())) { + throw new Error("staging boot identity is unavailable"); + } + return JSON.stringify([hostname(), "darwin", boot.stdout.trim()]); + } + throw new Error("staging process identity is unavailable on this platform"); +} + +function sameDirectory(left: fs.Stats, right: fs.Stats): boolean { + return right.isDirectory() && left.dev === right.dev && left.ino === right.ino; +} + +function packageTreeDigest(root: string): string { + const hash = createHash("sha256"); + const visit = (directory: string): void => { + const initial = lstatSync(directory); + if (!initial.isDirectory()) throw new Error("backup comparison requires real directories"); + for (const name of readdirSync(directory).sort()) { + const file = join(directory, name); + const descriptor = openSync( + file, + constants.O_RDONLY | constants.O_NOFOLLOW | constants.O_NONBLOCK, + ); + try { + const before = fstatSync(descriptor); + hash.update(JSON.stringify([relative(root, file), before.mode & 0o777])); + if (before.isDirectory()) { + hash.update("directory"); + visit(file); + } else { + if (!before.isFile() || before.nlink !== 1) + throw new Error("backup comparison requires unlinked regular files"); + const bytes = readFileSync(descriptor); + hash.update(JSON.stringify(["file", bytes.length])); + hash.update(bytes); + } + const after = fstatSync(descriptor); + const current = lstatSync(file); + if ( + current.dev !== before.dev || + current.ino !== before.ino || + after.mode !== before.mode || + after.nlink !== before.nlink || + after.size !== before.size || + after.mtimeMs !== before.mtimeMs || + after.ctimeMs !== before.ctimeMs + ) + throw new Error("package changed during backup comparison"); + } finally { + closeSync(descriptor); + } + } + const final = lstatSync(directory); + if ( + !sameDirectory(initial, final) || + initial.mtimeMs !== final.mtimeMs || + initial.ctimeMs !== final.ctimeMs + ) + throw new Error("package directory changed during backup comparison"); + }; + visit(root); + return hash.digest("hex"); +} + +function markBundledPackageStage(stage: string, packageName: string): void { + const parent = dirname(stage); + const parentStat = lstatSync(parent); + const stageStat = lstatSync(stage); + const marker = { + schemaVersion: 1, + packageName, + parent, + parentDevice: parentStat.dev, + parentInode: parentStat.ino, + stage: basename(stage), + stageDevice: stageStat.dev, + stageInode: stageStat.ino, + uid: stageStat.uid, + pid: process.pid, + processScope: stagingProcessScope(), + }; + const file = join(stage, stagingMarker); + const descriptor = openSync( + file, + constants.O_WRONLY | constants.O_CREAT | constants.O_EXCL | constants.O_NOFOLLOW, + 0o600, + ); + try { + fs.writeFileSync(descriptor, `${JSON.stringify(marker)}\n`); + fs.fsyncSync(descriptor); + } finally { + closeSync(descriptor); + } + syncMetadataDirectory(file); + syncMetadataDirectory(stage); +} + +function reconcileBundledPackageStages(parent: string, packageName: string): void { + const parentStat = lstatSync(parent); + for (const name of readdirSync(parent)) { + if (!name.startsWith(`.${packageName}.nemoclaw-stage-`)) continue; + const stage = join(parent, name); + try { + const stageStat = lstatSync(stage); + if ( + parentStat.uid !== process.getuid?.() || + (parentStat.mode & 0o022) !== 0 || + !stageStat.isDirectory() || + stageStat.uid !== process.getuid?.() || + (stageStat.mode & 0o077) !== 0 + ) + throw new Error("stage ownership cannot be verified"); + const file = join(stage, stagingMarker); + const descriptor = openSync( + file, + constants.O_RDONLY | constants.O_NOFOLLOW | constants.O_NONBLOCK, + ); + let marker: JsonObject; + try { + const initial = fstatSync(descriptor); + if ( + !initial.isFile() || + initial.nlink !== 1 || + initial.uid !== stageStat.uid || + (initial.mode & 0o077) !== 0 || + initial.size < 1 || + initial.size > 4096 + ) + throw new Error("stage marker is not a private regular file"); + marker = jsonObject(JSON.parse(readFileSync(descriptor, "utf8")), "stage marker"); + const current = lstatSync(file); + const final = fstatSync(descriptor); + if ( + current.dev !== initial.dev || + current.ino !== initial.ino || + final.size !== initial.size || + final.mtimeMs !== initial.mtimeMs || + final.ctimeMs !== initial.ctimeMs + ) + throw new Error("stage marker changed during recovery"); + } finally { + closeSync(descriptor); + } + if ( + marker.schemaVersion !== 1 || + marker.packageName !== packageName || + marker.parent !== parent || + marker.parentDevice !== parentStat.dev || + marker.parentInode !== parentStat.ino || + marker.stage !== name || + marker.stageDevice !== stageStat.dev || + marker.stageInode !== stageStat.ino || + marker.uid !== stageStat.uid || + marker.processScope !== stagingProcessScope() || + typeof marker.pid !== "number" || + !Number.isSafeInteger(marker.pid) || + marker.pid <= 0 + ) + throw new Error("stage marker does not identify this package, directory and process scope"); + let inactive = false; + try { + process.kill(marker.pid, 0); + } catch (error) { + inactive = (error as NodeJS.ErrnoException).code === "ESRCH"; + } + if (!inactive) throw new Error("stage creator is active or its exit cannot be verified"); + rejectUnsafePackageTree(stage, "retained npm package stage"); + if ( + !sameDirectory(parentStat, lstatSync(parent)) || + !sameDirectory(stageStat, lstatSync(stage)) + ) { + throw new Error("stage directory changed during recovery"); + } + // Old stages have no backup receipt. Never infer ownership from a filename alone. + if (marker.backup !== undefined) { + const backup = jsonObject(marker.backup, "stage backup receipt"); + const prefix = `${packageName}.nemoclaw-backup-`; + if ( + typeof backup.name !== "string" || + !backup.name.startsWith(prefix) || + !/^[1-9][0-9]*-[a-f0-9]{16}$/.test(backup.name.slice(prefix.length)) + ) + throw new Error("stage backup name is invalid"); + const backupPath = join(parent, backup.name); + const backupStat = lstatSync(backupPath, { throwIfNoEntry: false }); + const livePath = join(parent, packageName); + const liveStat = lstatSync(livePath, { throwIfNoEntry: false }); + if ( + backupStat && + liveStat && + liveStat.dev === backup.liveDevice && + liveStat.ino === backup.liveInode + ) { + if ( + readdirSync(parent).filter((entry) => entry.startsWith(prefix)).length !== 1 || + !backupStat.isDirectory() || + backupStat.dev !== backup.device || + backupStat.ino !== backup.inode || + packageTreeDigest(livePath) !== backup.digest || + packageTreeDigest(backupPath) !== backup.digest + ) + throw new Error( + "owned backup and original package no longer match; inspect before retrying", + ); + if ( + !sameDirectory(parentStat, lstatSync(parent)) || + !sameDirectory(liveStat, lstatSync(livePath)) || + !sameDirectory(backupStat, lstatSync(backupPath)) + ) + throw new Error("backup directory changed during recovery"); + removeBackup(backupPath); + syncMetadataDirectory(backupPath); + } + } + rmSync(stage, { recursive: true }); + syncMetadataDirectory(stage); + } catch (error) { + console.error( + `npm bundled ${packageName} staging recovery incomplete; inspect before removing ${JSON.stringify(stage)}: ${String(error)}`, + ); + } + } +} + +// Only one recognized backup is eligible; ambiguous or unverifiable trees stay intact. +function verifiedRetainedBackup(options: RetainedBackupOptions): string | undefined { + const parent = requireRealDirectory( + join(options.npmRoot, "node_modules"), + "npm node_modules root", + ); + const prefix = `${options.packageName}.nemoclaw-backup-`; + const backups = readdirSync(parent).filter((entry) => entry.startsWith(prefix)); + if (backups.length === 0) return undefined; + const backupPath = join(parent, backups[0]); + if (backups.length !== 1 || !/^[1-9][0-9]*-[a-f0-9]{16}$/.test(backups[0].slice(prefix.length))) { + throw new Error( + `npm bundled ${options.packageName} has an ambiguous retained backup; inspect before retrying: ${backupPath}`, + ); + } + try { + requireRealDirectory(backupPath, "retained npm package backup"); + rejectUnsafePackageTree(backupPath, "retained npm package backup"); + options.verifyBackup( + readJsonObject(join(backupPath, "package.json"), "retained npm package backup manifest"), + ); + } catch (error) { + throw new Error( + `npm bundled ${options.packageName} retained backup cannot be verified; inspect before retrying: ${backupPath}`, + { cause: error }, + ); + } + return backupPath; +} + +// Callers validate npm identity first. Never replace an existing path, including a dangling link. +// Only inactive, verified owned stages are removed; unknown stages are retained and reported. +export function restoreMissingBundledPackage(options: RetainedBackupOptions): void { + const parent = requireRealDirectory( + join(options.npmRoot, "node_modules"), + "npm node_modules root", + ); + const livePath = join(parent, options.packageName); + reconcileBundledPackageStages(parent, options.packageName); + if (lstatSync(livePath, { throwIfNoEntry: false })) return; + const backupPath = verifiedRetainedBackup(options); + if (backupPath) renameSync(backupPath, livePath); +} + +// A previous invocation may have installed the verified package but failed cleanup. +export function reconcileBundledPackageBackup( + options: RetainedBackupOptions & { + fixed: boolean; + }, +): void { + const backupPath = verifiedRetainedBackup(options); + if (!backupPath) return; + if (!options.fixed) { + throw new Error( + `npm bundled ${options.packageName} has an ambiguous retained backup; inspect before retrying: ${backupPath}`, + ); + } + removeBackup(backupPath); +} + +export function replaceBundledPackage(options: { + npmRoot: string; + packageName: "ip-address" | "undici"; + replacementRoot: string; + verify: (npmRoot: string) => State; +}): State { + const { npmRoot, packageName, replacementRoot, verify } = options; + const parent = requireRealDirectory(join(npmRoot, "node_modules"), "npm node_modules root"); + const livePath = join(parent, packageName); + const transactionId = `${process.pid}-${randomBytes(8).toString("hex")}`; + const stagingRoot = mkdtempSync(join(dirname(livePath), `.${packageName}.nemoclaw-stage-`)); + const stagedPath = join(stagingRoot, "replacement"); + const stagedBackupPath = join(stagingRoot, "backup"); + const backupPath = `${livePath}.nemoclaw-backup-${transactionId}`; + let rollbackRequired = false; + try { + const liveStat = lstatSync(livePath); + const liveDigest = packageTreeDigest(livePath); + markBundledPackageStage(stagingRoot, packageName); + cpSync(replacementRoot, stagedPath, { dereference: false, recursive: true }); + cpSync(livePath, stagedBackupPath, { + dereference: false, + errorOnExist: true, + force: false, + preserveTimestamps: true, + recursive: true, + }); + const backupStat = lstatSync(stagedBackupPath); + if ( + !sameDirectory(liveStat, lstatSync(livePath)) || + packageTreeDigest(livePath) !== liveDigest || + packageTreeDigest(stagedBackupPath) !== liveDigest + ) + throw new Error("original package changed while preparing its backup"); + rewriteRegularFile(join(stagingRoot, stagingMarker), "stage backup receipt", (original) => + JSON.stringify({ + ...jsonObject(JSON.parse(original), "stage marker"), + backup: { + name: basename(backupPath), + device: backupStat.dev, + inode: backupStat.ino, + liveDevice: liveStat.dev, + liveInode: liveStat.ino, + digest: liveDigest, + }, + }), + ); + // Rename only this newly copied directory, never a lower-layer overlayfs live directory. + renameSync(stagedBackupPath, backupPath); + rollbackRequired = true; + rmSync(livePath, { recursive: true }); + renameSync(stagedPath, livePath); + const fixed = verify(npmRoot); + rollbackRequired = false; + removeBackup(backupPath); + return fixed; + } catch (error) { + if (rollbackRequired) { + try { + rmSync(livePath, { force: true, recursive: true }); + renameSync(backupPath, livePath); + } catch (rollbackError) { + throw new AggregateError( + [error, rollbackError], + `npm bundled ${packageName} rollback failed; ${backupPath} retains the original tree`, + ); + } + } + throw error; + } finally { + rmSync(stagingRoot, { force: true, recursive: true }); + } +} + +export type BundledNpmCommandRunner = (command: string, args: readonly string[]) => void; + +export function runBundledNpmCommand(command: string, args: readonly string[]): void { + const result = spawnSync(command, args, { + encoding: "utf8", + stdio: ["ignore", "pipe", "pipe"], + timeout: 60_000, + }); + if (result.error) throw result.error; + if (result.status !== 0) { + throw new Error(`${command} failed: ${`${result.stdout ?? ""}${result.stderr ?? ""}`.trim()}`); + } +} + +export type PreparedBundledReplacement = Readonly<{ + cleanup: () => void; + replacementRoot: string; +}>; + +export function prepareBundledPackageReplacement(options: { + packageName: "ip-address" | "undici"; + version: string; + integrity: string; + tarball: string; + offline: boolean; + commandRunner: BundledNpmCommandRunner; +}): PreparedBundledReplacement { + const { packageName, version, integrity, tarball, commandRunner } = options; + const rootDirectory = mkdtempSync(join(tmpdir(), `nemoclaw-npm-${packageName}-`)); + const archivePath = join(rootDirectory, `${packageName}-${version}.tgz`); + const replacementRoot = join(rootDirectory, "replacement"); + try { + if (options.offline) { + commandRunner("npm", [ + "pack", + `${packageName}@${version}`, + "--registry=https://registry.npmjs.org/", + "--offline", + "--ignore-scripts", + "--pack-destination", + rootDirectory, + ]); + } else { + commandRunner("curl", [ + "--proto", + "=https", + "--tlsv1.2", + "--fail", + "--silent", + "--show-error", + "--output", + archivePath, + tarball, + ]); + } + const descriptor = openSync(archivePath, constants.O_RDONLY | constants.O_NOFOLLOW); + let archiveBytes: Buffer; + try { + if (!fstatSync(descriptor).isFile()) + throw new Error(`${packageName} replacement download must be a real file`); + archiveBytes = readFileSync(descriptor); + } finally { + closeSync(descriptor); + } + const actualIntegrity = `sha512-${createHash("sha512").update(archiveBytes).digest("base64")}`; + if (actualIntegrity !== integrity) { + throw new Error( + `${packageName} replacement integrity mismatch\nExpected: ${integrity}\nActual: ${actualIntegrity}`, + ); + } + mkdirSync(replacementRoot, { mode: 0o700 }); + commandRunner("tar", [ + "--extract", + "--gzip", + "--file", + archivePath, + "--directory", + replacementRoot, + "--strip-components=1", + "--no-same-owner", + "--no-same-permissions", + ]); + return { + cleanup: () => rmSync(rootDirectory, { force: true, recursive: true }), + replacementRoot, + }; + } catch (error) { + rmSync(rootDirectory, { force: true, recursive: true }); + throw error; + } +} + +export function remediateBundledPackageFromRegistry< + State extends { state: "affected" | "fixed" }, +>(options: { + current: State; + commandRunner: BundledNpmCommandRunner; + prepareReplacement: (runner: BundledNpmCommandRunner) => PreparedBundledReplacement; + patch: (replacementRoot: string) => State; + verifyCommands: (runner: BundledNpmCommandRunner) => void; +}): State { + if (options.current.state === "fixed") { + options.verifyCommands(options.commandRunner); + return options.current; + } + const prepared = options.prepareReplacement(options.commandRunner); + try { + const result = options.patch(prepared.replacementRoot); + options.verifyCommands(options.commandRunner); + return result; + } finally { + prepared.cleanup(); + } +} diff --git a/scripts/lib/openclaw-npm-remediation.mts b/scripts/lib/openclaw-npm-remediation.mts index 797b8a099b8..d5ef982b1ce 100755 --- a/scripts/lib/openclaw-npm-remediation.mts +++ b/scripts/lib/openclaw-npm-remediation.mts @@ -27,6 +27,7 @@ import { import { basename, dirname, isAbsolute, join, relative, resolve, sep } from "node:path"; import { createRequire } from "node:module"; import { pathToFileURL } from "node:url"; +import { rewriteRegularFile } from "./bundled-npm-package.mts"; import { packReviewedNpmArchive, singleNpmPackResult } from "./reviewed-npm-archive.mts"; type JsonObject = Record; @@ -35,6 +36,7 @@ type Remediation = Readonly<{ expectedPatchedMetadataIntegrity?: string; expectedPatchedTreeIntegrity?: string; kind: + | "plugin-security" | "axios" | "core" | "current-core" @@ -43,7 +45,7 @@ type Remediation = Readonly<{ | "slack-proxy-addr" | "undici" | "zod"; - version: "2026.3.11" | "2026.6.10" | "2026.7.1" | "2026.9.2" | "2026.9.5"; + version: "2026.10.5" | "2026.3.11" | "2026.6.10" | "2026.7.1" | "2026.9.2" | "2026.9.5"; }>; type RemediationRequest = Readonly<{ @@ -268,7 +270,72 @@ const BUNDLED_ZOD_VERSIONS: Readonly> = { "@openclaw/googlechat@2026.9.5": "4.5.4", }; +export const PLUGIN_SECURITY_REPLACEMENTS = { + undici: { + version: "8.12.3", + integrity: + "sha512-+fdndUTwBP86cVjihTp21hZHo7d6oj1c/47XPA3lL8mM0XHs+C4EkcjmgRsFnFk2f/UONGDy9ItBItmXsLOQHw==", + tarball: "https://registry.npmjs.org/undici/-/undici-8.12.3.tgz", + tree: "sha512-f4dE2d+8pJTk4u1Si/CLrp/RPTQBeelxfceKCQzHal8W0VPgj2URurkjFnMCHn4WQB+HArUxb20VWsWbJD4jOw==", + }, + zod: { + version: "4.6.6", + integrity: + "sha512-4UmzQUF5fxvfcYHlbjBmejU+w+hbDnWFx4aS8kBx7nPBHcO2SqPbpAG8snbdg+Xse4pRefR98hgjFgIMCI/UhA==", + tarball: "https://registry.npmjs.org/zod/-/zod-4.6.6.tgz", + tree: "sha512-gn5OiA3b/DcrCWmkaouzHWlX2qgGMHY/Vr9PkNqFJCq2pbCvz+200iN2wzRyRcY9AVj2G/CJWCu/B2f+pmW/2Q==", + }, + "body-parser": { + version: "2.4.0", + integrity: + "sha512-Ifk1KcLrxaGt1occQagQNFNNOqRt1LFuehEnHHzB8Z6cRgIxRU1TBaiIsUiCdA+gy5PL7Y1IX31DNKkRmxtXjQ==", + tarball: "https://registry.npmjs.org/body-parser/-/body-parser-2.4.0.tgz", + tree: "sha512-OjENWuF9eD/ENvgYcFC4opV2eUE5+CDdNsuVJ7PBt9CtW5vsXsuQGco1iF3sfawjHqx4o8Bde6HY0IzlqaY/Ow==", + closedTree: + "sha512-rQ1fiXYGRNuTBGwSC0fu+PU9YTcgMcMW/B6CL1S7M7/ycckQ2rT0QE+RqJZwgfyUiOrfLiX100tiFeFI0VkfNA==", + }, + qs: { + version: "6.16.1", + integrity: + "sha512-5Px6J7rfHBAGUhNQ3es4YzcOdBBw0SDcVtThJml4RdnKw4tKs2epA0kPZ+K8X+WiHktT93RHVcQ/3ym5aTCgtg==", + tarball: "https://registry.npmjs.org/qs/-/qs-6.16.1.tgz", + tree: "sha512-cFTImK/osYPgDAZDPSmf0gwmIJlzmPZ7jqeTmblsSjyU5ToQupumnz1cQ/weCrZNswe0gtog9BI2+9fIs7IAow==", + }, + "content-type": { + version: "2.1.0", + integrity: + "sha512-mj7UPXE0jaqaOsukNZRUEfEi2AcL7C/vwmwcHV0O97eO1E1pxBZuyjlZrx5seTaNBg1U6+o35wpa35Qfcc+7ag==", + tarball: "https://registry.npmjs.org/content-type/-/content-type-2.1.0.tgz", + tree: "sha512-nfpnTjLPE5GROUYwUpVxI5EZsRZMo8QaFD4cUfMxj8dUNmanx02mmFmtYgtaHo/Zhx6FAOSw968ETQM8zhRvcQ==", + }, +} as const; +const PLUGIN_SECURITY_SOURCE_TREES: Readonly> = { + undici: + "sha512-EVXENEOE+lbjDT2ZClNs4dOhne8iqLzRjflhAq7ybVTMAkv6k6VLj9TukF3sIO5FYKV87CUSwqX5ZshL1Cvylg==", + zod: "sha512-jEk1wOBwNSnzN007AAgq/4I4pqOYDklmvMerB7WqzajKP5PIZDpM+ceeLIYIbLOKkkqaos0UjkEIQqdJi7oXKQ==", + "body-parser": + "sha512-tBSG2NtAGFZjDE60UubJ+ql0O8ztLz97jiso1tqYnF+Ai4rWi+jhXaEf81YK0qmOOu6v9EUDigvz7eSLDZnwGQ==", +}; + const REMEDIATIONS: Readonly> = Object.freeze({ + "@openclaw/discord@2026.10.5": { + kind: "plugin-security", + version: "2026.10.5", + expectedPatchedTreeIntegrity: + "sha512-saU2KynfnHtwat1AnNh0/iHmAOILfecUXRXEGBEtlZfyIu2eA9yYeG8L2dBq7cgJqcRABNpv7LBHiSzLXACdPw==", + }, + "@openclaw/googlechat@2026.10.5": { + kind: "plugin-security", + version: "2026.10.5", + expectedPatchedTreeIntegrity: + "sha512-kc2e2IAsIFgzt2t2GCiCvEVXsqIk2fIp/Quz14K+VtYzQ17P5MB+8QWk9kcz2DjhOg22tpU67bDJ+Is+pXjzlQ==", + }, + "@openclaw/slack@2026.10.5": { + kind: "plugin-security", + version: "2026.10.5", + expectedPatchedTreeIntegrity: + "sha512-IGX+TjKx3QTjSbLzEAG6InRxMBYg7ZQwdDTRPIDDn8R4WL53/EW2c+xw+9ga6zdqcdUvIt3bE+/iO5BHqrBx1w==", + }, "@openclaw/googlechat@2026.9.2": { expectedPatchedTreeIntegrity: "sha512-Eg4tVTLq3kfVB7thJU3Sarzt0BUGtg/z+Jt2Y5+pyCra6/NhQAq4/7IjWj72pfkNLGTr2xxxvq8Im++bZRrfXA==", @@ -499,6 +566,19 @@ function extractArchive( return packageDirectory; } +function readSafeJson(filename: string, label: string): JsonObject { + const descriptor = openSync(filename, constants.O_RDONLY | constants.O_NOFOLLOW); + try { + if (!fstatSync(descriptor).isFile()) throw new Error(`${label} must be a real file`); + const value: unknown = JSON.parse(readFileSync(descriptor, "utf8")); + if (!value || typeof value !== "object" || Array.isArray(value)) + throw new Error(`${label} must be an object`); + return value as JsonObject; + } finally { + closeSync(descriptor); + } +} + function readJson(path: string): JsonObject { const parsed = JSON.parse(readFileSync(path, "utf-8")); if (!parsed || typeof parsed !== "object" || Array.isArray(parsed)) { @@ -1932,6 +2012,224 @@ function patchFsSafePackageGraph(packageDirectory: string): void { writeJson(packageJsonPath, packageJson); } +const DISCORD_SDK_ORIGINAL_OUTPUT_INTEGRITY = + "sha512-jV67lNWDgUUED4SqoFvZDVyJRVMZV62987FUbN7tj+gR7KGgfhicbXlfmmkozkuhXizsj8Rhw6zXMNc3pA6gFA=="; +const DISCORD_SDK_FIXED_OUTPUT_INTEGRITY = + "sha512-9NRHdhVeV01hd9pb9lAAQFiqShpRgQtP11QBF3RRqr4vE4pzSAb6C0f87VYdT85ax2CiGKVcT2ekynKRpCKqNw=="; +const ZOD_4_6_6_TREE_INTEGRITY = + "sha512-gn5OiA3b/DcrCWmkaouzHWlX2qgGMHY/Vr9PkNqFJCq2pbCvz+200iN2wzRyRcY9AVj2G/CJWCu/B2f+pmW/2Q=="; + +function patchDiscordCollectionBounds(source: string): string { + let patched = source; + for (const field of ["exactLength", "maxLength", "maxSize"]) { + const before = `message: def.${field}.message,\n });\n status.dirty();`; + if (patched.split(before).length !== 2) { + throw new Error(`Discord embedded Zod ${field} guard has drifted`); + } + const after = + field === "exactLength" + ? " if (tooBig) return INVALID;\n status.dirty();" + : " return INVALID;"; + patched = patched.replace( + before, + `message: def.${field}.message,\n });\n${after}`, + ); + } + return patched; +} + +function patchDiscordZodDeclarations(outputDirectory: string): void { + let imports = 0; + let files = 0; + for (const entry of readdirSync(outputDirectory, { recursive: true })) { + if (!entry.toString().endsWith(".d.ts")) continue; + const filename = join(outputDirectory, entry.toString()); + const original = readFileSync(filename, "utf8"); + const patched = original.replace( + /((?:from\s+|import\s*\())(['"])zod\2/g, + (_match: string, prefix: string, quote: string) => { + imports += 1; + return `${prefix}${quote}zod/v3${quote}`; + }, + ); + if (patched !== original) { + files += 1; + writeFileSync(filename, patched); + } + } + if (imports !== 15 || files !== 14) { + throw new Error("Discord embedded Zod declaration imports have drifted"); + } +} + +/** Keep the SDK's v3 API while backporting early rejection of oversized collections. */ +export function patchDiscordEmbeddedZodPackage( + packageDirectory: string, + replacementZodDirectory: string, +): void { + for (const directory of [packageDirectory, replacementZodDirectory]) { + const metadata = lstatSync(directory); + if (!metadata.isDirectory() || metadata.isSymbolicLink()) { + throw new Error("Discord Zod remediation requires real package directories"); + } + } + // Reject links and special members before reading metadata or changing either input. + hashPackageTree(packageDirectory); + const manifest = readJson(join(packageDirectory, "package.json")); + requirePackageIdentity(manifest, "@discord/embedded-app-sdk", "2.5.0", "Discord SDK"); + if (hashPackageTree(replacementZodDirectory) !== ZOD_4_6_6_TREE_INTEGRITY) { + throw new Error("Discord replacement Zod tree integrity mismatch"); + } + const outputIntegrity = hashPackageTree(join(packageDirectory, "output")); + if (outputIntegrity === DISCORD_SDK_FIXED_OUTPUT_INTEGRITY) { + if ( + manifest.dependencies?.zod !== "4.6.6" || + hashPackageTree(join(packageDirectory, "node_modules", "zod")) !== ZOD_4_6_6_TREE_INTEGRITY + ) { + throw new Error("Discord remediated Zod dependency has drifted"); + } + return; + } + if ( + outputIntegrity !== DISCORD_SDK_ORIGINAL_OUTPUT_INTEGRITY || + manifest.dependencies?.zod !== "^3.9.8" + ) { + throw new Error("Discord embedded Zod source integrity mismatch"); + } + const stagingRoot = mkdtempSync(join(dirname(packageDirectory), ".discord-zod-remediation-")); + try { + const staged = join(stagingRoot, "package"); + cpSync(packageDirectory, staged, { recursive: true, verbatimSymlinks: true }); + const outputDirectory = join(staged, "output"); + for (const extension of ["mjs", "cjs"]) { + const filename = join(outputDirectory, "lib", "zod", "lib", `index.${extension}`); + writeFileSync(filename, patchDiscordCollectionBounds(readFileSync(filename, "utf8"))); + } + patchDiscordZodDeclarations(outputDirectory); + if (hashPackageTree(outputDirectory) !== DISCORD_SDK_FIXED_OUTPUT_INTEGRITY) { + throw new Error("Discord embedded Zod patched output integrity mismatch"); + } + manifest.dependencies.zod = "4.6.6"; + writeJson(join(staged, "package.json"), manifest); + copyReplacementPackage(replacementZodDirectory, join(staged, "node_modules", "zod")); + copyReplacementPackage(staged, packageDirectory); + } finally { + rmSync(stagingRoot, { recursive: true, force: true }); + } +} + +function requireRealPackagePath(root: string, relativePath: string): string { + let current = resolve(root); + for (const part of ["", ...relativePath.split("/")]) { + current = join(current, part); + const metadata = lstatSync(current); + if (!metadata.isDirectory() || metadata.isSymbolicLink()) { + throw new Error("Plugin security remediation requires real package directories"); + } + } + return current; +} + +/** Repair bundled copies that npm's overrides do not replace. */ +export function patchOpenClaw105PluginDependencies( + packageDirectory: string, + workingDirectory: string, + env: NodeJS.ProcessEnv = process.env, +): void { + requireRealPackagePath(packageDirectory, ""); + const manifest = readSafeJson(join(packageDirectory, "package.json"), "OpenClaw plugin manifest"); + const originalManifest = JSON.stringify(manifest); + if ( + manifest.version !== "2026.10.5" || + !["@openclaw/discord", "@openclaw/googlechat", "@openclaw/slack"].includes( + String(manifest.name), + ) + ) { + throw new Error("OpenClaw plugin security remediation identity has drifted"); + } + const root = mkdtempSync(join(workingDirectory, "plugin-security-")); + try { + const replacements = new Map(); + const replacement = (name: keyof typeof PLUGIN_SECURITY_REPLACEMENTS): string => { + const cached = replacements.get(name); + if (cached) return cached; + const identity = PLUGIN_SECURITY_REPLACEMENTS[name]; + const archive = packReplacement( + `${name}@${identity.version}`, + identity.integrity, + identity.tarball, + root, + env, + ); + const directory = extractArchive(archive.archivePath, join(root, name), root, env); + if (hashPackageTree(directory) !== identity.tree) { + throw new Error(`Plugin replacement tree integrity mismatch: ${name}`); + } + replacements.set(name, directory); + return directory; + }; + const replace = (name: "undici" | "zod" | "body-parser", location: string): void => { + const destination = requireRealPackagePath(packageDirectory, location); + const current = hashPackageTree(destination); + const expected = + name === "body-parser" + ? PLUGIN_SECURITY_REPLACEMENTS[name].closedTree + : PLUGIN_SECURITY_REPLACEMENTS[name].tree; + if (current === expected) return; + if (current !== PLUGIN_SECURITY_SOURCE_TREES[name]) { + throw new Error(`OpenClaw bundled dependency source integrity mismatch: ${name}`); + } + const source = replacement(name); + if (name === "body-parser") { + // Bolt also has content-type 1.x and qs 6.16.0. Keep 2.4's required copies local. + for (const nested of ["content-type", "qs"] as const) { + copyReplacementPackage(replacement(nested), join(source, "node_modules", nested)); + } + } + if (hashPackageTree(source) !== expected) { + throw new Error(`Plugin prepared dependency tree integrity mismatch: ${name}`); + } + copyReplacementPackage(source, destination); + }; + const dependencies = manifest.dependencies as Record; + if (dependencies?.zod !== "4.6.5" && dependencies?.zod !== "4.6.6") { + throw new Error("OpenClaw plugin Zod declaration has drifted"); + } + if ( + manifest.name !== "@openclaw/googlechat" && + dependencies?.undici !== "8.11.2" && + dependencies?.undici !== "8.12.3" + ) { + throw new Error("OpenClaw plugin HTTP dependency declaration has drifted"); + } + replace("zod", "node_modules/zod"); + if (manifest.name !== "@openclaw/googlechat") replace("undici", "node_modules/undici"); + if (manifest.name === "@openclaw/slack") { + replace("body-parser", "node_modules/@slack/bolt/node_modules/body-parser"); + } + if (manifest.name === "@openclaw/discord") { + const sdk = requireRealPackagePath( + packageDirectory, + "node_modules/@discord/embedded-app-sdk", + ); + patchDiscordEmbeddedZodPackage(sdk, join(packageDirectory, "node_modules/zod")); + } + dependencies.zod = "4.6.6"; + if (manifest.name !== "@openclaw/googlechat") dependencies.undici = "8.12.3"; + rewriteRegularFile( + join(packageDirectory, "package.json"), + "OpenClaw plugin manifest", + (original) => { + if (JSON.stringify(JSON.parse(original)) !== originalManifest) + throw new Error("OpenClaw plugin manifest changed before writing"); + return `${JSON.stringify(manifest, null, 2)}\n`; + }, + ); + } finally { + rmSync(root, { recursive: true, force: true }); + } +} + function copyReplacementPackage( source: string, destination: string, @@ -2189,7 +2487,9 @@ export function buildRemediatedOpenClawPluginArchive( remediationRoot, env, ); - if (remediation.kind === "slack-proxy-addr") { + if (remediation.kind === "plugin-security") { + patchOpenClaw105PluginDependencies(sourcePackage, remediationRoot, env); + } else if (remediation.kind === "slack-proxy-addr") { const archive = packReplacement( `proxy-addr@${PROXY_ADDR_VERSION}`, PROXY_ADDR_INTEGRITY, @@ -2814,6 +3114,7 @@ function remediateInstalledTeamsDependencies( function remediateVerifiedInstalledOfficialOpenClawPlugin( request: RemediationRequest & Readonly<{ packageDirectory?: string; trustedStateRoot: string }>, ): void { + const kind = REMEDIATIONS[request.packageSpec]?.kind; const patchesProxyAddr = REMEDIATIONS[request.packageSpec]?.kind === "slack-proxy-addr"; const supportsZod = Boolean(BUNDLED_ZOD_VERSIONS[request.packageSpec]); const patchesBody = @@ -2822,7 +3123,7 @@ function remediateVerifiedInstalledOfficialOpenClawPlugin( const patchesMsal = request.packageSpec === "@openclaw/msteams@2026.9.2" || request.packageSpec === "@openclaw/msteams@2026.9.5"; - if (!patchesProxyAddr && !supportsZod && !patchesMsal) return; + if (kind !== "plugin-security" && !patchesProxyAddr && !supportsZod && !patchesMsal) return; if ( !request.packageDirectory || !isAbsolute(request.packageDirectory) || @@ -2854,6 +3155,23 @@ function remediateVerifiedInstalledOfficialOpenClawPlugin( `Official ${packageName === "@openclaw/slack" ? "Slack" : "plugin"} install path is outside its trusted plugin root`, ); } + let installedPath = trustedRoot; + for (const component of installedParts) { + installedPath = join(installedPath, component); + const metadata = lstatSync(installedPath); + if (!metadata.isDirectory() || metadata.isSymbolicLink()) { + throw new Error("Official plugin directory must be a real directory"); + } + } + if (kind === "plugin-security") { + const installed = readJson(join(packageDirectory, "package.json")); + requirePackageIdentity(installed, packageName, "2026.10.5", "Official plugin"); + patchOpenClaw105PluginDependencies(packageDirectory, request.workingDirectory, { + ...process.env, + ...request.env, + }); + return; + } const installedMetadata = readJson(join(packageDirectory, "package.json")); requirePackageIdentity( installedMetadata, diff --git a/scripts/lib/patch-bundled-npm-ip-address.mts b/scripts/lib/patch-bundled-npm-ip-address.mts index ac50b2de1fb..5191f80a173 100755 --- a/scripts/lib/patch-bundled-npm-ip-address.mts +++ b/scripts/lib/patch-bundled-npm-ip-address.mts @@ -3,27 +3,20 @@ // SPDX-FileCopyrightText: Copyright (c) 2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. // SPDX-License-Identifier: Apache-2.0 -import { spawnSync } from "node:child_process"; -import { createHash, randomBytes } from "node:crypto"; -import { - chmodSync, - closeSync, - constants, - cpSync, - fstatSync, - mkdirSync, - mkdtempSync, - openSync, - readFileSync, - renameSync, - rmSync, -} from "node:fs"; -import { tmpdir } from "node:os"; -import { dirname, join, resolve } from "node:path"; +import { chmodSync } from "node:fs"; +import { join, resolve } from "node:path"; import { fileURLToPath } from "node:url"; import { type JsonObject, + type BundledNpmCommandRunner, + type PreparedBundledReplacement, + replaceBundledPackage, + reconcileBundledPackageBackup, + restoreMissingBundledPackage, + prepareBundledPackageReplacement, + remediateBundledPackageFromRegistry, + runBundledNpmCommand, collectBundledPackageVersions, jsonObject as record, readJsonObject as readJson, @@ -46,21 +39,6 @@ const REVIEWED_IP_ADDRESS_VERSIONS = new Set([ FIXED_IP_ADDRESS_VERSION, ]); -function removeBackup(backupPath: string): void { - try { - rmSync(backupPath, { force: true, recursive: true }); - } catch (cleanupError) { - try { - rmSync(backupPath, { force: true, recursive: true }); - } catch (retryError) { - throw new AggregateError( - [cleanupError, retryError], - `verified replacement retained but affected backup cleanup failed: ${backupPath}`, - ); - } - } -} - function verifyIpAddressManifest(manifest: JsonObject): string { const version = manifest.version; const engines = record(manifest.engines, "npm bundled ip-address engines"); @@ -94,13 +72,19 @@ export type BundledNpmIpAddressState = Readonly<{ state: "affected" | "fixed"; }>; -export function inspectBundledNpmIpAddress(npmRoot: string): BundledNpmIpAddressState { - const root = realDirectory(npmRoot, "npm package root"); +function inspectNpmVersion(root: string): string { const npmManifest = readJson(join(root, "package.json"), "npm package manifest"); if (npmManifest.name !== "npm" || npmManifest.version !== REVIEWED_NPM_VERSION) { throw new Error(`npm package identity has drifted; expected npm@${REVIEWED_NPM_VERSION}`); } + return REVIEWED_NPM_VERSION; +} + +export function inspectBundledNpmIpAddress(npmRoot: string): BundledNpmIpAddressState { + const root = realDirectory(npmRoot, "npm package root"); + const npmVersion = inspectNpmVersion(root); + const version = verifyIpAddressManifest( readJson( join(root, "node_modules", "ip-address", "package.json"), @@ -119,7 +103,7 @@ export function inspectBundledNpmIpAddress(npmRoot: string): BundledNpmIpAddress return { ipAddressVersion: version, - npmVersion: REVIEWED_NPM_VERSION, + npmVersion, state: version === FIXED_IP_ADDRESS_VERSION ? "fixed" : "affected", }; } @@ -148,127 +132,61 @@ export function patchBundledNpmIpAddress(options: { throw new Error(`replacement package must be ip-address@${FIXED_IP_ADDRESS_VERSION}`); } - const current = inspectBundledNpmIpAddress(npmRoot); - const livePath = join(npmRoot, "node_modules", "ip-address"); - if (current.state === "fixed") { - chmodSync(realDirectory(livePath, "npm bundled ip-address root"), 0o755); - return current; - } - const transactionId = `${process.pid}-${randomBytes(8).toString("hex")}`; - const stagingRoot = mkdtempSync(join(dirname(livePath), ".ip-address.nemoclaw-stage-")); - const stagedPath = join(stagingRoot, "replacement"); - const backupPath = `${livePath}.nemoclaw-backup-${transactionId}`; - let rollbackRequired = false; - try { - cpSync(replacementRoot, stagedPath, { dereference: false, recursive: true }); - // The transaction stays private; its installed package must be readable by the sandbox. - chmodSync(stagedPath, 0o755); - cpSync(livePath, backupPath, { - dereference: false, - errorOnExist: true, - force: false, - preserveTimestamps: true, - recursive: true, - }); - rollbackRequired = true; - rmSync(livePath, { recursive: true }); - renameSync(stagedPath, livePath); - const fixed = verifyBundledNpmIpAddress(npmRoot); - rollbackRequired = false; - removeBackup(backupPath); - return fixed; - } catch (error) { - if (rollbackRequired) { - try { - rmSync(livePath, { force: true, recursive: true }); - renameSync(backupPath, livePath); - } catch (rollbackError) { - throw new AggregateError( - [error, rollbackError], - `npm bundled ip-address rollback failed; ${backupPath} retains the original tree`, - ); - } - } - throw error; - } finally { - rmSync(stagingRoot, { force: true, recursive: true }); - } -} - -export type BundledNpmIpAddressCommandRunner = (command: string, args: readonly string[]) => void; + const current = inspectForPatch(npmRoot); + if (current.state === "fixed") return current; -function run(command: string, args: readonly string[]): void { - const result = spawnSync(command, args, { - encoding: "utf8", - stdio: ["ignore", "pipe", "pipe"], - timeout: 60_000, + return replaceBundledPackage({ + npmRoot, + packageName: "ip-address", + replacementRoot, + verify: verifyReadableBundledNpmIpAddress, }); - if (result.error) throw result.error; - if (result.status !== 0) { - throw new Error(`${command} failed: ${`${result.stdout ?? ""}${result.stderr ?? ""}`.trim()}`); - } } -type PreparedReplacement = Readonly<{ - cleanup: () => void; - replacementRoot: string; -}>; +export type BundledNpmIpAddressCommandRunner = BundledNpmCommandRunner; + +type PreparedReplacement = PreparedBundledReplacement; function prepareFixedIpAddressReplacement( commandRunner: BundledNpmIpAddressCommandRunner, ): PreparedReplacement { - const rootDirectory = mkdtempSync(join(tmpdir(), "nemoclaw-npm-ip-address-")); - const archivePath = join(rootDirectory, `ip-address-${FIXED_IP_ADDRESS_VERSION}.tgz`); - const replacementRoot = join(rootDirectory, "replacement"); - try { - commandRunner("curl", [ - "--proto", - "=https", - "--tlsv1.2", - "--fail", - "--silent", - "--show-error", - "--output", - archivePath, - FIXED_IP_ADDRESS_TARBALL, - ]); - const descriptor = openSync(archivePath, constants.O_RDONLY | constants.O_NOFOLLOW); - let archiveBytes: Buffer; - try { - if (!fstatSync(descriptor).isFile()) { - throw new Error("ip-address replacement download must be a real file"); - } - archiveBytes = readFileSync(descriptor); - } finally { - closeSync(descriptor); - } - const actualIntegrity = `sha512-${createHash("sha512").update(archiveBytes).digest("base64")}`; - if (actualIntegrity !== FIXED_IP_ADDRESS_INTEGRITY) { - throw new Error( - `ip-address replacement integrity mismatch\nExpected: ${FIXED_IP_ADDRESS_INTEGRITY}\nActual: ${actualIntegrity}`, - ); - } + return prepareBundledPackageReplacement({ + packageName: "ip-address", + version: FIXED_IP_ADDRESS_VERSION, + integrity: FIXED_IP_ADDRESS_INTEGRITY, + tarball: FIXED_IP_ADDRESS_TARBALL, + offline: false, + commandRunner, + }); +} - mkdirSync(replacementRoot, { mode: 0o700 }); - commandRunner("tar", [ - "--extract", - "--gzip", - "--file", - archivePath, - "--directory", - replacementRoot, - "--strip-components=1", - "--no-same-owner", - "--no-same-permissions", - ]); - return { - cleanup: () => rmSync(rootDirectory, { force: true, recursive: true }), - replacementRoot, - }; - } catch (error) { - rmSync(rootDirectory, { force: true, recursive: true }); - throw error; - } +function verifyReadableBundledNpmIpAddress(npmRoot: string): BundledNpmIpAddressState { + const fixed = verifyBundledNpmIpAddress(npmRoot); + // Keep the installed package readable while the replacement transaction stays private. + chmodSync( + realDirectory(join(npmRoot, "node_modules", "ip-address"), "npm bundled ip-address root"), + 0o755, + ); + return fixed; +} + +function inspectForPatch(npmRoot: string): BundledNpmIpAddressState { + const root = realDirectory(npmRoot, "npm package root"); + inspectNpmVersion(root); + const recovery = { + npmRoot: root, + packageName: "ip-address" as const, + verifyBackup(manifest: JsonObject) { + const affectedVersion = AFFECTED_IP_ADDRESS_VERSION; + if (verifyIpAddressManifest(manifest) !== affectedVersion) + throw new Error("retained backup identity has drifted"); + }, + }; + restoreMissingBundledPackage(recovery); + const current = inspectBundledNpmIpAddress(root); + reconcileBundledPackageBackup({ ...recovery, fixed: current.state === "fixed" }); + if (current.state === "fixed") return verifyReadableBundledNpmIpAddress(root); + return current; } export type BundledNpmIpAddressRegistryDependencies = Readonly<{ @@ -280,31 +198,17 @@ export function patchBundledNpmIpAddressFromRegistry( npmRoot: string, dependencies: BundledNpmIpAddressRegistryDependencies = {}, ): BundledNpmIpAddressState { - const commandRunner = dependencies.commandRunner ?? run; - const current = inspectBundledNpmIpAddress(npmRoot); - if (current.state === "fixed") { - chmodSync( - realDirectory(join(npmRoot, "node_modules", "ip-address"), "npm bundled ip-address root"), - 0o755, - ); - commandRunner("npm", ["--version"]); - commandRunner("npx", ["--version"]); - return current; - } - const prepared = (dependencies.prepareReplacement ?? prepareFixedIpAddressReplacement)( - commandRunner, - ); - try { - const result = patchBundledNpmIpAddress({ - npmRoot, - replacementRoot: prepared.replacementRoot, - }); - commandRunner("npm", ["--version"]); - commandRunner("npx", ["--version"]); - return result; - } finally { - prepared.cleanup(); - } + const current = inspectForPatch(npmRoot); + return remediateBundledPackageFromRegistry({ + current, + commandRunner: dependencies.commandRunner ?? runBundledNpmCommand, + prepareReplacement: dependencies.prepareReplacement ?? prepareFixedIpAddressReplacement, + patch: (replacementRoot) => patchBundledNpmIpAddress({ npmRoot, replacementRoot }), + verifyCommands(runner) { + runner("npm", ["--version"]); + runner("npx", ["--version"]); + }, + }); } function argument(name: string): string { diff --git a/scripts/lib/patch-bundled-npm-undici.mts b/scripts/lib/patch-bundled-npm-undici.mts new file mode 100755 index 00000000000..3b91c333ff1 --- /dev/null +++ b/scripts/lib/patch-bundled-npm-undici.mts @@ -0,0 +1,226 @@ +#!/usr/bin/env node + +// SPDX-FileCopyrightText: Copyright (c) 2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. +// SPDX-License-Identifier: Apache-2.0 + +import { join, resolve } from "node:path"; +import { fileURLToPath } from "node:url"; + +import { + type JsonObject, + type BundledNpmCommandRunner, + type PreparedBundledReplacement, + replaceBundledPackage, + reconcileBundledPackageBackup, + restoreMissingBundledPackage, + prepareBundledPackageReplacement, + remediateBundledPackageFromRegistry, + runBundledNpmCommand, + collectBundledPackageVersions, + jsonObject as record, + readJsonObject as readJson, + rejectUnsafePackageTree, + requireRealDirectory as realDirectory, +} from "./bundled-npm-package.mts"; +import { REVIEWED_NPM_VERSION } from "./reviewed-npm-identity.mts"; + +export { REVIEWED_NPM_VERSION }; + +export const AFFECTED_UNDICI_VERSION = "6.27.0"; +export const FIXED_UNDICI_VERSION = "6.29.1"; +export const FIXED_UNDICI_INTEGRITY = + "sha512-EvRlUt/QqAEvXdQeRMYUfwOQsfzpDztykrG2owGEE/rBOBoYv9uF39ZzsNDh4lTFHhTr2XOZjKkYgueD12ZmGA=="; +export const FIXED_UNDICI_TARBALL = "https://registry.npmjs.org/undici/-/undici-6.29.1.tgz"; + +const REVIEWED_UNDICI_VERSIONS = new Set([AFFECTED_UNDICI_VERSION, "6.29.0", FIXED_UNDICI_VERSION]); + +function verifyUndiciManifest(manifest: JsonObject): string { + const version = manifest.version; + const engines = record(manifest.engines, "npm bundled undici engines"); + if ( + manifest.name !== "undici" || + typeof version !== "string" || + !REVIEWED_UNDICI_VERSIONS.has(version) || + manifest.main !== "index.js" || + manifest.types !== "index.d.ts" || + manifest.license !== "MIT" || + engines.node !== ">=18.17" || + manifest.dependencies !== undefined + ) { + throw new Error( + `npm bundled undici identity or package contract has drifted: ${JSON.stringify({ + dependencies: manifest.dependencies, + engines, + license: manifest.license, + main: manifest.main, + types: manifest.types, + version, + })}`, + ); + } + return version; +} + +export type BundledNpmUndiciState = Readonly<{ + undiciVersion: string; + npmVersion: string; + state: "affected" | "fixed"; +}>; + +function inspectNpmVersion(root: string): string { + const npmManifest = readJson(join(root, "package.json"), "npm package manifest"); + const npmVersion = npmManifest.version; + if ( + npmManifest.name !== "npm" || + (npmVersion !== REVIEWED_NPM_VERSION && npmVersion !== "12.2.1") + ) { + throw new Error( + `npm package identity has drifted; expected npm@${REVIEWED_NPM_VERSION} or npm@12.2.1`, + ); + } + + return npmVersion; +} + +export function inspectBundledNpmUndici(npmRoot: string): BundledNpmUndiciState { + const root = realDirectory(npmRoot, "npm package root"); + const npmVersion = inspectNpmVersion(root); + + const version = verifyUndiciManifest( + readJson(join(root, "node_modules", "undici", "package.json"), "npm bundled undici manifest"), + ); + const affectedVersion = npmVersion === "12.2.1" ? "6.29.0" : AFFECTED_UNDICI_VERSION; + if (version !== affectedVersion && version !== FIXED_UNDICI_VERSION) { + throw new Error(`npm@${npmVersion} bundled undici identity has drifted`); + } + const nodeModulesRoot = realDirectory(join(root, "node_modules"), "npm node_modules root"); + const versions = collectBundledPackageVersions({ + ignoredDirectoryPrefixes: [".undici.nemoclaw-stage-", "undici.nemoclaw-backup-"], + nodeModulesRoot, + packageName: "undici", + }); + if (versions.length !== 1 || versions[0] !== version) { + throw new Error(`npm bundled undici layout has drifted: ${JSON.stringify(versions)}`); + } + + return { + undiciVersion: version, + npmVersion, + state: version === FIXED_UNDICI_VERSION ? "fixed" : "affected", + }; +} + +export function verifyBundledNpmUndici(npmRoot: string): BundledNpmUndiciState { + const inspected = inspectBundledNpmUndici(npmRoot); + if (inspected.state !== "fixed") { + throw new Error( + `npm@${inspected.npmVersion} bundles affected undici@${inspected.undiciVersion}; expected ${FIXED_UNDICI_VERSION}`, + ); + } + return inspected; +} + +export function patchBundledNpmUndici(options: { + npmRoot: string; + replacementRoot: string; +}): BundledNpmUndiciState { + const npmRoot = realDirectory(options.npmRoot, "npm package root"); + const replacementRoot = realDirectory(options.replacementRoot, "replacement undici root"); + rejectUnsafePackageTree(replacementRoot, "replacement undici package"); + const replacementVersion = verifyUndiciManifest( + readJson(join(replacementRoot, "package.json"), "replacement undici manifest"), + ); + if (replacementVersion !== FIXED_UNDICI_VERSION) { + throw new Error(`replacement package must be undici@${FIXED_UNDICI_VERSION}`); + } + + const current = inspectForPatch(npmRoot); + if (current.state === "fixed") return current; + + return replaceBundledPackage({ + npmRoot, + packageName: "undici", + replacementRoot, + verify: verifyBundledNpmUndici, + }); +} + +export type BundledNpmUndiciCommandRunner = BundledNpmCommandRunner; + +type PreparedReplacement = PreparedBundledReplacement; + +function prepareFixedUndiciReplacement( + commandRunner: BundledNpmUndiciCommandRunner, +): PreparedReplacement { + return prepareBundledPackageReplacement({ + packageName: "undici", + version: FIXED_UNDICI_VERSION, + integrity: FIXED_UNDICI_INTEGRITY, + tarball: FIXED_UNDICI_TARBALL, + offline: process.env.NPM_CONFIG_OFFLINE === "true" || process.env.npm_config_offline === "true", + commandRunner, + }); +} + +function inspectForPatch(npmRoot: string): BundledNpmUndiciState { + const root = realDirectory(npmRoot, "npm package root"); + const npmVersion = inspectNpmVersion(root); + const recovery = { + npmRoot: root, + packageName: "undici" as const, + verifyBackup(manifest: JsonObject) { + const affectedVersion = npmVersion === "12.2.1" ? "6.29.0" : AFFECTED_UNDICI_VERSION; + if (verifyUndiciManifest(manifest) !== affectedVersion) + throw new Error("retained backup identity has drifted"); + }, + }; + restoreMissingBundledPackage(recovery); + const current = inspectBundledNpmUndici(root); + reconcileBundledPackageBackup({ ...recovery, fixed: current.state === "fixed" }); + return current; +} + +export type BundledNpmUndiciRegistryDependencies = Readonly<{ + commandRunner?: BundledNpmUndiciCommandRunner; + prepareReplacement?: (commandRunner: BundledNpmUndiciCommandRunner) => PreparedReplacement; +}>; + +export function patchBundledNpmUndiciFromRegistry( + npmRoot: string, + dependencies: BundledNpmUndiciRegistryDependencies = {}, +): BundledNpmUndiciState { + const current = inspectForPatch(npmRoot); + return remediateBundledPackageFromRegistry({ + current, + commandRunner: dependencies.commandRunner ?? runBundledNpmCommand, + prepareReplacement: dependencies.prepareReplacement ?? prepareFixedUndiciReplacement, + patch: (replacementRoot) => patchBundledNpmUndici({ npmRoot, replacementRoot }), + verifyCommands(runner) { + runner(process.execPath, [join(npmRoot, "bin", "npm-cli.js"), "--version"]); + runner(process.execPath, [join(npmRoot, "bin", "npx-cli.js"), "--version"]); + }, + }); +} + +function argument(name: string): string { + const index = process.argv.indexOf(name); + const value = index >= 0 ? process.argv[index + 1] : undefined; + if (!value || value.startsWith("--")) throw new Error(`${name} is required`); + return value; +} + +function isMainModule(): boolean { + return process.argv[1] ? fileURLToPath(import.meta.url) === resolve(process.argv[1]) : false; +} + +if (isMainModule()) { + try { + const result = patchBundledNpmUndiciFromRegistry(argument("--npm-root")); + process.stdout.write( + `Verified npm@${result.npmVersion} bundled undici@${result.undiciVersion}\n`, + ); + } catch (error) { + console.error(`ERROR: ${error instanceof Error ? error.message : String(error)}`); + process.exitCode = 1; + } +} diff --git a/scripts/lib/remediate-openclaw-runtime-dependencies.mts b/scripts/lib/remediate-openclaw-runtime-dependencies.mts new file mode 100755 index 00000000000..1fe0b313ee5 --- /dev/null +++ b/scripts/lib/remediate-openclaw-runtime-dependencies.mts @@ -0,0 +1,279 @@ +#!/usr/bin/env node +// SPDX-FileCopyrightText: Copyright (c) 2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. +// SPDX-License-Identifier: Apache-2.0 + +import { createHash } from "node:crypto"; +import { createRequire } from "node:module"; +import { existsSync, lstatSync, renameSync, rmSync } from "node:fs"; +import { dirname, join, resolve } from "node:path"; +import { fileURLToPath } from "node:url"; +import { + readJsonObject, + rewriteRegularFile, + rejectUnsafePackageTree, + requireRealDirectory, +} from "./bundled-npm-package.mts"; +import { + FIXED_UNDICI_INTEGRITY, + FIXED_UNDICI_TARBALL, + FIXED_UNDICI_VERSION, + patchBundledNpmUndiciFromRegistry, +} from "./patch-bundled-npm-undici.mts"; + +import { + patchOpenClaw105PluginDependencies, + PLUGIN_SECURITY_REPLACEMENTS, +} from "./openclaw-npm-remediation.mts"; + +type LockEntry = Record; + +function writeUnchangedJsonObject(filename: string, expected: string, updated: object): void { + rewriteRegularFile(filename, "OpenClaw remediation metadata", (original) => { + if (JSON.stringify(JSON.parse(original)) !== expected) + throw new Error("OpenClaw remediation metadata changed before writing"); + return `${JSON.stringify(updated, null, 2)}\n`; + }); +} + +/** OpenClaw copies these overrides into each official plugin's managed npm project. */ +export function patchOpenClawManagedPluginOverrides(packageDirectory: string): void { + requireRealDirectory(packageDirectory, "OpenClaw managed override owner"); + const manifest = readJsonObject( + join(packageDirectory, "package.json"), + "OpenClaw override owner", + ); + if (manifest.name !== "openclaw" || manifest.version !== "2026.10.5") { + throw new Error("OpenClaw managed override owner identity has drifted"); + } + const filename = join(packageDirectory, "pnpm-workspace.yaml"); + rewriteRegularFile(filename, "OpenClaw managed overrides", (original) => { + const digest = (text: string) => createHash("sha256").update(text).digest("hex"); + if (digest(original) === "c48734878ccb1de613af3307aa42f26cb8d6add6ca1e2dc95a2761ff671e20bb") + return original; + if (digest(original) !== "c95a6b7be1fa13956265abbff9bc9895064bf6677123c88314ef4dc20410bda3") + throw new Error("OpenClaw managed override source integrity mismatch"); + const patched = original + .replace( + "overrides:\n", + "overrides:\n" + + ' "@azure/msal-node": 7.1.0\n body-parser: 2.4.0\n undici: 8.12.3\n zod: 4.6.6\n', + ) + .replace(" qs: 6.16.0\n", " qs: 6.16.1\n"); + if (digest(patched) !== "c48734878ccb1de613af3307aa42f26cb8d6add6ca1e2dc95a2761ff671e20bb") + throw new Error("OpenClaw managed override replacement integrity mismatch"); + return patched; + }); +} + +function remediatePluginDependencies( + root: string, + packages: Record, + updateLock: boolean, +): void { + for (const name of ["discord", "googlechat", "slack"]) { + const location = `node_modules/@openclaw/${name}`; + if (packages[location]?.version !== "2026.10.5") continue; + const dependencies: Record = { + [`${location}/node_modules/zod`]: "zod", + }; + if (name !== "googlechat") dependencies[`${location}/node_modules/undici`] = "undici"; + if (name === "discord") + dependencies[`${location}/node_modules/@discord/embedded-app-sdk/node_modules/zod`] = "zod"; + if (name === "slack") { + const body = `${location}/node_modules/@slack/bolt/node_modules/body-parser`; + dependencies[body] = "body-parser"; + dependencies[`${body}/node_modules/content-type`] = "content-type"; + dependencies[`${body}/node_modules/qs`] = "qs"; + } + if (!updateLock) { + for (const [dependency, key] of Object.entries(dependencies)) { + const identity = PLUGIN_SECURITY_REPLACEMENTS[key]; + if ( + packages[dependency]?.version !== identity.version || + packages[dependency]?.integrity !== identity.integrity + ) { + throw new Error(`Plugin security remediation lock identity has drifted: ${dependency}`); + } + } + } + patchOpenClaw105PluginDependencies(join(root, location), root); + if (updateLock) { + packages[location].dependencies = readJsonObject( + join(root, location, "package.json"), + "Remediated plugin", + ).dependencies; + for (const [dependency, key] of Object.entries(dependencies)) { + const identity = PLUGIN_SECURITY_REPLACEMENTS[key]; + const installed = readJsonObject( + join(root, dependency, "package.json"), + "Remediated plugin dependency", + ); + const entry: LockEntry = { + version: identity.version, + resolved: identity.tarball, + integrity: identity.integrity, + license: installed.license, + }; + for (const field of [ + "dependencies", + "optionalDependencies", + "peerDependencies", + "peerDependenciesMeta", + "engines", + "bin", + ]) { + if (installed[field] !== undefined) entry[field] = installed[field]; + } + packages[dependency] = entry; + } + if (name === "discord") { + const sdk = packages[`${location}/node_modules/@discord/embedded-app-sdk`]; + sdk.dependencies = readJsonObject( + join(root, location, "node_modules/@discord/embedded-app-sdk/package.json"), + "Discord SDK", + ).dependencies; + } + } + } +} + +function verifyMigrationHttpClient(root: string): void { + const requireFromConsumer = createRequire(join(root, "node_modules", "openclaw", "package.json")); + const resolved = requireFromConsumer.resolve("undici/package.json"); + if (resolved !== join(root, "node_modules", "undici", "package.json")) { + throw new Error("OpenClaw migration did not resolve the reviewed HTTP client"); + } + const installed = readJsonObject(resolved, "OpenClaw migration HTTP client"); + if (installed.name !== "undici" || installed.version !== "8.12.3") { + throw new Error("OpenClaw migration HTTP client identity mismatch"); + } +} + +function removeMigrationHttpClientBackup(backup: string): void { + requireRealDirectory(dirname(backup), "OpenClaw bundled dependency directory"); + requireRealDirectory(backup, "OpenClaw migration HTTP client backup"); + const manifest = readJsonObject(join(backup, "package.json"), "OpenClaw HTTP client backup"); + if (manifest.name !== "undici" || manifest.version !== "8.10.2") { + throw new Error(`OpenClaw HTTP client backup identity has drifted: ${backup}`); + } + rejectUnsafePackageTree(backup, "OpenClaw migration HTTP client backup"); + try { + rmSync(backup, { recursive: true }); + } catch (error) { + throw new Error(`OpenClaw HTTP client backup cleanup failed; retained at ${backup}`, { + cause: error, + }); + } +} + +/** Apply the reviewed runtime recipe before checking the final installed lock. */ +export function remediateOpenClawRuntimeDependencies( + directory: string, + options: Readonly<{ updateLock?: boolean }> = {}, +): void { + const root = requireRealDirectory(directory, "OpenClaw runtime root"); + requireRealDirectory(join(root, "node_modules"), "OpenClaw runtime node_modules"); + const lockfile = join(root, "package-lock.json"); + const lock = readJsonObject(lockfile, "OpenClaw runtime lock"); + const originalLock = JSON.stringify(lock); + if (!lock.packages || typeof lock.packages !== "object" || Array.isArray(lock.packages)) { + throw new Error("OpenClaw runtime lock has no packages map"); + } + const packages = lock.packages as Record; + const npm = packages["node_modules/npm"]; + const npmUndiciLocation = "node_modules/npm/node_modules/undici"; + const npmUndici = packages[npmUndiciLocation]; + if (npm !== undefined) { + if ( + npm.version !== "12.2.1" || + !npmUndici || + (npmUndici.version !== FIXED_UNDICI_VERSION && + !(options.updateLock && npmUndici.version === "6.29.0")) + ) { + throw new Error("OpenClaw runtime npm remediation lock identity has drifted"); + } + patchBundledNpmUndiciFromRegistry(join(root, "node_modules", "npm")); + if (options.updateLock) { + npmUndici.version = FIXED_UNDICI_VERSION; + npmUndici.resolved = FIXED_UNDICI_TARBALL; + npmUndici.integrity = FIXED_UNDICI_INTEGRITY; + delete npmUndici.inBundle; + } + } + + const legacyUndiciLocation = "node_modules/openclaw/node_modules/undici"; + if (packages["node_modules/openclaw"]?.version === "2026.9.7") { + const replacement = packages["node_modules/undici"]; + if (replacement?.version !== "8.12.3") { + throw new Error("OpenClaw migration runtime requires reviewed undici@8.12.3"); + } + const legacy = packages[legacyUndiciLocation]; + if (legacy !== undefined && !(options.updateLock && legacy.version === "8.10.2")) { + throw new Error("OpenClaw migration runtime retains an unremediated bundled HTTP client"); + } + const destination = join(root, legacyUndiciLocation); + requireRealDirectory(join(root, "node_modules", "openclaw"), "OpenClaw migration package"); + requireRealDirectory(join(root, "node_modules", "undici"), "OpenClaw replacement HTTP client"); + const consumer = join(root, "node_modules", "openclaw", "package.json"); + const owner = readJsonObject(consumer, "OpenClaw migration package"); + if (owner.name !== "openclaw" || owner.version !== "2026.9.7") { + throw new Error("OpenClaw migration package identity has drifted"); + } + const backup = join(dirname(destination), ".undici-security-remediation-backup"); + if (existsSync(destination) || lstatSync(destination, { throwIfNoEntry: false })) { + requireRealDirectory(destination, "OpenClaw bundled undici"); + const bundled = readJsonObject(join(destination, "package.json"), "OpenClaw bundled undici"); + if (bundled.name !== "undici" || bundled.version !== "8.10.2") { + throw new Error("OpenClaw migration bundled undici identity has drifted"); + } + rejectUnsafePackageTree(destination, "OpenClaw migration bundled HTTP client"); + if (lstatSync(backup, { throwIfNoEntry: false })) { + throw new Error(`OpenClaw migration undici recovery directory already exists: ${backup}`); + } + renameSync(destination, backup); + try { + verifyMigrationHttpClient(root); + } catch (error) { + try { + renameSync(backup, destination); + } catch (rollbackError) { + throw new AggregateError( + [error, rollbackError], + `OpenClaw HTTP client recovery retained at ${backup}`, + ); + } + throw error; + } + removeMigrationHttpClientBackup(backup); + } else { + verifyMigrationHttpClient(root); + if (lstatSync(backup, { throwIfNoEntry: false })) removeMigrationHttpClientBackup(backup); + } + if (options.updateLock) delete packages[legacyUndiciLocation]; + } + if (packages["node_modules/openclaw"]?.version === "2026.10.5") { + patchOpenClawManagedPluginOverrides(join(root, "node_modules/openclaw")); + const ownerFile = join(root, "node_modules/openclaw/package.json"); + const owner = readJsonObject(ownerFile, "OpenClaw runtime owner"); + const originalOwner = JSON.stringify(owner); + const dependencies = owner.dependencies as Record; + if (dependencies?.undici !== "8.11.2" && dependencies?.undici !== "8.12.3") + throw new Error("OpenClaw HTTP dependency declaration has drifted"); + dependencies.undici = "8.12.3"; + if (dependencies.npm !== "12.2.0" && dependencies.npm !== "12.2.1") + throw new Error("OpenClaw npm dependency declaration has drifted"); + dependencies.npm = "12.2.1"; + writeUnchangedJsonObject(ownerFile, originalOwner, owner); + if (options.updateLock) packages["node_modules/openclaw"].dependencies = dependencies; + } + remediatePluginDependencies(root, packages, options.updateLock === true); + if (options.updateLock) writeUnchangedJsonObject(lockfile, originalLock, lock); +} + +if (process.argv[1] && resolve(process.argv[1]) === fileURLToPath(import.meta.url)) { + const args = process.argv.slice(2); + if (args.length !== 2 || args[0] !== "--prefix" || !args[1]) { + throw new Error("Expected --prefix "); + } + remediateOpenClawRuntimeDependencies(args[1]); +} diff --git a/src/lib/agent/candidate-authority.ts b/src/lib/agent/candidate-authority.ts index f27c40fb6ae..60c2ea0e697 100644 --- a/src/lib/agent/candidate-authority.ts +++ b/src/lib/agent/candidate-authority.ts @@ -13,8 +13,8 @@ export const CANDIDATE_QUALIFICATION_RECEIPT_DIGESTS: Readonly< Record > = Object.freeze({ pi: Object.freeze([ - "077a1c99fdb97c097b7c1c53c2b077ff1075fb1e788b8162e67a93aaf71ad6a0", - "9f376259669dfaa912fe6c311e69ba7f40c3ba097eece84befa04b77768fbcdb", + "49662a6eb37e1e93206c5f6b1539dd6133c85a5249ac4e4970902ad5b728f03d", + "9acabcf8bb74eab2c85315a42047a6f44864e871b453e05e9d31afc1dabbbc3f", ]), }); diff --git a/test/agents/openclaw/openclaw-discord-zod-migration.test.ts b/test/agents/openclaw/openclaw-discord-zod-migration.test.ts new file mode 100644 index 00000000000..c33636d6cb3 --- /dev/null +++ b/test/agents/openclaw/openclaw-discord-zod-migration.test.ts @@ -0,0 +1,143 @@ +// SPDX-FileCopyrightText: Copyright (c) 2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. +// SPDX-License-Identifier: Apache-2.0 + +import { spawnSync } from "node:child_process"; +import { createHash } from "node:crypto"; +import { mkdirSync, mkdtempSync, readFileSync, rmSync, symlinkSync, writeFileSync } from "node:fs"; +import { tmpdir } from "node:os"; +import path from "node:path"; +import { pathToFileURL } from "node:url"; +import { runInNewContext } from "node:vm"; +import ts from "typescript"; +import { afterAll, beforeAll, describe, expect, it } from "vitest"; +import { + hashPackageTree, + migrateDiscordZodDeclarations, + migrateDiscordZodSource, + patchOpenClawBundledZodPackageGraph, +} from "../../../scripts/lib/openclaw-npm-remediation.mts"; + +function readJson(file: string): T { + return JSON.parse(readFileSync(file, "utf-8")) as T; +} + +function writeJson(file: string, value: unknown): void { + writeFileSync(file, `${JSON.stringify(value, null, 2)}\n`); +} + +describe("Discord SDK Zod 4 migration", () => { + let directory: string; + let zod: Record; + beforeAll(async () => { + directory = mkdtempSync(path.join(tmpdir(), "nemoclaw-discord-zod4-")); + const archive = path.resolve(import.meta.dirname, "../../fixtures/npm/zod-4.6.6/zod-4.6.6.tgz"); + expect(`sha512-${createHash("sha512").update(readFileSync(archive)).digest("base64")}`).toBe( + "sha512-4UmzQUF5fxvfcYHlbjBmejU+w+hbDnWFx4aS8kBx7nPBHcO2SqPbpAG8snbdg+Xse4pRefR98hgjFgIMCI/UhA==", + ); + const unpacked = spawnSync("tar", ["-xzf", archive, "-C", directory]); + expect(unpacked.status, unpacked.stderr.toString()).toBe(0); + mkdirSync(path.join(directory, "node_modules")); + symlinkSync(path.join(directory, "package"), path.join(directory, "node_modules", "zod")); + zod = await import(pathToFileURL(path.join(directory, "package", "index.js")).href); + }); + afterAll(() => rmSync(directory, { recursive: true, force: true })); + + it.each([ + ["2026.9.2", "4.4.3"], + ["2026.9.5", "4.5.4"], + ])("replaces Google Chat %s bundled Zod with the verified patched tree", (version, original) => { + const plugin = path.join(directory, `googlechat-${version}`); + const target = path.join(plugin, "node_modules/zod"); + mkdirSync(target, { recursive: true }); + writeJson(path.join(plugin, "package.json"), { + name: "@openclaw/googlechat", + version, + dependencies: { zod: original }, + }); + writeJson(path.join(target, "package.json"), { name: "zod", version: original }); + patchOpenClawBundledZodPackageGraph( + plugin, + path.join(directory, "package"), + `@openclaw/googlechat@${version}`, + ); + expect(hashPackageTree(target)).toBe(hashPackageTree(path.join(directory, "package"))); + expect(readJson(path.join(plugin, "package.json"))).toMatchObject({ + dependencies: { zod: "4.6.6" }, + }); + }); + + it("preserves SDK defaults, unknown scopes and optional frame data with the patched runtime", () => { + const source = [ + "const index = require('../lib/zod/lib/index.cjs');", + "function fallbackToDefault(schema) {", + " const transform = index.custom().transform(data => {", + " const res = schema.safeParse(data);", + " if (res.success) return res.data;", + " return schema._def.defaultValue();", + " });", + " transform.overlayType = schema; return transform;", + "}", + 'const scopes = index.array(fallbackToDefault(index.enum(["identify"]).or(index.literal(-1)).default(-1)));', + "const values = { ...scopes.element.overlayType._def.innerType.options[0].Values, UNHANDLED: -1 };", + "module.exports = {", + " fallback: fallbackToDefault(index.object({opened:index.boolean().or(index.null())}).default({opened:null})),", + " frame: index.object({cmd:index.string(), data: index.unknown(), evt:index.null(), nonce:index.string()}),", + " scopes: index.preprocess(arg => arg != null && !Object.values(values).includes(arg) ? -1 : arg, index.string().or(index.number())),", + " bounded(values) { let visited=0; const schema=index.array(index.string().superRefine(()=>{visited++})).max(1); return {success:schema.safeParse(values).success,visited}; }", + "};", + ].join("\n"); + const module = { exports: {} }; + runInNewContext(migrateDiscordZodSource("output/utils/zodUtils.cjs", source), { + module, + require: (specifier: string) => { + expect(specifier).toBe("zod"); + return zod; + }, + }); + const sdk = module.exports as { + fallback: { parse: (input: unknown) => unknown }; + frame: { safeParse: (input: unknown) => { success: boolean } }; + scopes: { parse: (input: unknown) => unknown }; + bounded: (input: unknown) => { success: boolean; visited: number }; + }; + expect(sdk.fallback.parse({ opened: true })).toEqual({ opened: true }); + expect(sdk.fallback.parse("invalid")).toEqual({ opened: null }); + expect(sdk.scopes.parse("identify")).toBe("identify"); + expect(sdk.scopes.parse("new-client-scope")).toBe(-1); + expect(sdk.frame.safeParse({ cmd: "x", evt: null, nonce: "n" }).success).toBe(true); + expect(sdk.frame.safeParse({ cmd: 42, evt: null, nonce: "n" }).success).toBe(false); + expect(sdk.bounded(["a", "b"])).toEqual({ success: false, visited: 0 }); + }); + + it("keeps SDK declaration consumers valid against Zod 4 types", () => { + const source = [ + 'import * as z from "zod";', + 'declare const response: z.ZodObject<{name:z.ZodString;tags:z.ZodArray},"strip",z.ZodTypeAny,{name:string;tags:string[]},{name:string;tags:string[]}>;', + "declare const scope: z.ZodEffects,string,unknown>;", + "interface Event { payload:T }", + 'const value = response.parse({name:"n",tags:["t"]});', + "const name:string=value.name; const tag:string=value.tags[0]!;", + 'const known:string=scope.parse("identify"); void [name,tag,known];', + ].join("\n"); + const file = path.join(directory, "consumer.ts"); + writeFileSync(file, migrateDiscordZodDeclarations(source)); + const program = ts.createProgram([file], { + noEmit: true, + strict: true, + target: ts.ScriptTarget.ES2022, + module: ts.ModuleKind.CommonJS, + moduleResolution: ts.ModuleResolutionKind.Node10, + esModuleInterop: true, + ignoreDeprecations: "6.0", + types: [], + }); + expect( + ts + .getPreEmitDiagnostics(program) + .map((d) => ts.flattenDiagnosticMessageText(d.messageText, "\n")), + ).toEqual([]); + expect(() => migrateDiscordZodDeclarations("z.ZodObject<{name:z.ZodString}")).toThrow( + "incomplete schema type", + ); + }); +}); diff --git a/test/agents/openclaw/openclaw-npm-remediation.test.ts b/test/agents/openclaw/openclaw-npm-remediation.test.ts index 262f94dbfa8..bd7b5681204 100644 --- a/test/agents/openclaw/openclaw-npm-remediation.test.ts +++ b/test/agents/openclaw/openclaw-npm-remediation.test.ts @@ -18,22 +18,19 @@ import { import { tmpdir } from "node:os"; import { createRequire } from "node:module"; import path from "node:path"; -import { pathToFileURL } from "node:url"; -import { runInNewContext } from "node:vm"; -import ts from "typescript"; -import { afterAll, afterEach, beforeAll, describe, expect, it } from "vitest"; +import { afterEach, describe, expect, it } from "vitest"; import { buildRemediatedOpenClawPluginArchive, fatalOpenClawNpmRemediationDiagnostic, hashPackageTree, - migrateDiscordZodDeclarations, - migrateDiscordZodSource, patchCurrentOpenClawCorePackageGraph, + patchDiscordEmbeddedZodPackage, patchLegacyOpenClawCorePackageGraph, patchOpenClawDiagnosticsOtelPackageGraph, patchOpenClawBundledZodPackageGraph, patchOpenClawDiscordPackageGraph, patchOpenClawPluginPackageGraph, + patchOpenClaw105PluginDependencies, patchOpenClawSlackProxyAddrPackageGraph, remediateInstalledOfficialOpenClawPlugin, OpenClawNpmRemediationCommandError, @@ -42,123 +39,6 @@ import { const temporaryDirectories: string[] = []; -describe("Discord SDK Zod 4 migration", () => { - let directory: string; - let zod: Record; - beforeAll(async () => { - directory = mkdtempSync(path.join(tmpdir(), "nemoclaw-discord-zod4-")); - const archive = path.resolve(import.meta.dirname, "../../fixtures/npm/zod-4.6.6/zod-4.6.6.tgz"); - expect(`sha512-${createHash("sha512").update(readFileSync(archive)).digest("base64")}`).toBe( - "sha512-4UmzQUF5fxvfcYHlbjBmejU+w+hbDnWFx4aS8kBx7nPBHcO2SqPbpAG8snbdg+Xse4pRefR98hgjFgIMCI/UhA==", - ); - const unpacked = spawnSync("tar", ["-xzf", archive, "-C", directory]); - expect(unpacked.status, unpacked.stderr.toString()).toBe(0); - mkdirSync(path.join(directory, "node_modules")); - symlinkSync(path.join(directory, "package"), path.join(directory, "node_modules", "zod")); - zod = await import(pathToFileURL(path.join(directory, "package", "index.js")).href); - }); - afterAll(() => rmSync(directory, { recursive: true, force: true })); - - it.each([ - ["2026.9.2", "4.4.3"], - ["2026.9.5", "4.5.4"], - ])("replaces Google Chat %s bundled Zod with the verified patched tree", (version, original) => { - const plugin = path.join(directory, `googlechat-${version}`); - const target = path.join(plugin, "node_modules/zod"); - mkdirSync(target, { recursive: true }); - writeJson(path.join(plugin, "package.json"), { - name: "@openclaw/googlechat", - version, - dependencies: { zod: original }, - }); - writeJson(path.join(target, "package.json"), { name: "zod", version: original }); - patchOpenClawBundledZodPackageGraph( - plugin, - path.join(directory, "package"), - `@openclaw/googlechat@${version}`, - ); - expect(hashPackageTree(target)).toBe(hashPackageTree(path.join(directory, "package"))); - expect(readJson(path.join(plugin, "package.json"))).toMatchObject({ - dependencies: { zod: "4.6.6" }, - }); - }); - - it("preserves SDK defaults, unknown scopes and optional frame data with the patched runtime", () => { - const source = [ - "const index = require('../lib/zod/lib/index.cjs');", - "function fallbackToDefault(schema) {", - " const transform = index.custom().transform(data => {", - " const res = schema.safeParse(data);", - " if (res.success) return res.data;", - " return schema._def.defaultValue();", - " });", - " transform.overlayType = schema; return transform;", - "}", - 'const scopes = index.array(fallbackToDefault(index.enum(["identify"]).or(index.literal(-1)).default(-1)));', - "const values = { ...scopes.element.overlayType._def.innerType.options[0].Values, UNHANDLED: -1 };", - "module.exports = {", - " fallback: fallbackToDefault(index.object({opened:index.boolean().or(index.null())}).default({opened:null})),", - " frame: index.object({cmd:index.string(), data: index.unknown(), evt:index.null(), nonce:index.string()}),", - " scopes: index.preprocess(arg => arg != null && !Object.values(values).includes(arg) ? -1 : arg, index.string().or(index.number())),", - " bounded(values) { let visited=0; const schema=index.array(index.string().superRefine(()=>{visited++})).max(1); return {success:schema.safeParse(values).success,visited}; }", - "};", - ].join("\n"); - const module = { exports: {} }; - runInNewContext(migrateDiscordZodSource("output/utils/zodUtils.cjs", source), { - module, - require: (specifier: string) => { - expect(specifier).toBe("zod"); - return zod; - }, - }); - const sdk = module.exports as { - fallback: { parse: (input: unknown) => unknown }; - frame: { safeParse: (input: unknown) => { success: boolean } }; - scopes: { parse: (input: unknown) => unknown }; - bounded: (input: unknown) => { success: boolean; visited: number }; - }; - expect(sdk.fallback.parse({ opened: true })).toEqual({ opened: true }); - expect(sdk.fallback.parse("invalid")).toEqual({ opened: null }); - expect(sdk.scopes.parse("identify")).toBe("identify"); - expect(sdk.scopes.parse("new-client-scope")).toBe(-1); - expect(sdk.frame.safeParse({ cmd: "x", evt: null, nonce: "n" }).success).toBe(true); - expect(sdk.frame.safeParse({ cmd: 42, evt: null, nonce: "n" }).success).toBe(false); - expect(sdk.bounded(["a", "b"])).toEqual({ success: false, visited: 0 }); - }); - - it("keeps SDK declaration consumers valid against Zod 4 types", () => { - const source = [ - 'import * as z from "zod";', - 'declare const response: z.ZodObject<{name:z.ZodString;tags:z.ZodArray},"strip",z.ZodTypeAny,{name:string;tags:string[]},{name:string;tags:string[]}>;', - "declare const scope: z.ZodEffects,string,unknown>;", - "interface Event { payload:T }", - 'const value = response.parse({name:"n",tags:["t"]});', - "const name:string=value.name; const tag:string=value.tags[0]!;", - 'const known:string=scope.parse("identify"); void [name,tag,known];', - ].join("\n"); - const file = path.join(directory, "consumer.ts"); - writeFileSync(file, migrateDiscordZodDeclarations(source)); - const program = ts.createProgram([file], { - noEmit: true, - strict: true, - target: ts.ScriptTarget.ES2022, - module: ts.ModuleKind.CommonJS, - moduleResolution: ts.ModuleResolutionKind.Node10, - esModuleInterop: true, - ignoreDeprecations: "6.0", - types: [], - }); - expect( - ts - .getPreEmitDiagnostics(program) - .map((d) => ts.flattenDiagnosticMessageText(d.messageText, "\n")), - ).toEqual([]); - expect(() => migrateDiscordZodDeclarations("z.ZodObject<{name:z.ZodString}")).toThrow( - "incomplete schema type", - ); - }); -}); - function writeFixture(axiosVersion = "1.16.0"): string { const directory = mkdtempSync(path.join(tmpdir(), "nemoclaw-openclaw-npm-remediation-")); temporaryDirectories.push(directory); @@ -1287,6 +1167,122 @@ describe("OpenClaw npm remediation", () => { }, 60_000); }); +describe("Discord embedded Zod remediation trust boundary", () => { + function fixture() { + const root = mkdtempSync(path.join(tmpdir(), "nemoclaw-discord-zod-")); + temporaryDirectories.push(root); + const sdk = path.join(root, "sdk"); + const replacement = path.join(root, "replacement"); + mkdirSync(sdk); + mkdirSync(replacement); + writeFileSync( + path.join(sdk, "package.json"), + JSON.stringify({ + name: "@discord/embedded-app-sdk", + version: "2.5.0", + dependencies: { zod: "^3.9.8" }, + }), + ); + writeFileSync( + path.join(replacement, "package.json"), + JSON.stringify({ name: "zod", version: "4.6.6" }), + ); + return { root, sdk, replacement }; + } + + it("rejects unreviewed replacement bytes even when the package name and version match", () => { + const { sdk, replacement } = fixture(); + const before = hashPackageTree(sdk); + expect(() => patchDiscordEmbeddedZodPackage(sdk, replacement)).toThrow( + "replacement Zod tree integrity mismatch", + ); + expect(hashPackageTree(sdk)).toBe(before); + }); + + it("rejects a package directory symlink before changing its target", () => { + const { root, sdk, replacement } = fixture(); + const link = path.join(root, "sdk-link"); + symlinkSync(sdk, link); + const before = hashPackageTree(sdk); + expect(() => patchDiscordEmbeddedZodPackage(link, replacement)).toThrow( + "requires real package directories", + ); + expect(hashPackageTree(sdk)).toBe(before); + }); + + it("rejects linked source members before reading outside the package", () => { + const { root, sdk, replacement } = fixture(); + const outside = path.join(root, "outside"); + writeFileSync(outside, "preserved"); + symlinkSync(outside, path.join(sdk, "linked-member")); + expect(() => patchDiscordEmbeddedZodPackage(sdk, replacement)).toThrow(); + expect(readFileSync(outside, "utf8")).toBe("preserved"); + expect( + readJson<{ dependencies: { zod: string } }>(path.join(sdk, "package.json")), + ).toMatchObject({ dependencies: { zod: "^3.9.8" } }); + }); +}); + +describe("OpenClaw 10.5 bundled dependency repair", () => { + function fixture() { + const root = mkdtempSync(path.join(tmpdir(), "nemoclaw-plugin-security-")); + temporaryDirectories.push(root); + const plugin = path.join(root, "plugin"); + const zod = path.join(plugin, "node_modules/zod"); + mkdirSync(zod, { recursive: true }); + writeFileSync( + path.join(plugin, "package.json"), + JSON.stringify({ + name: "@openclaw/googlechat", + version: "2026.10.5", + dependencies: { zod: "4.6.5" }, + }), + ); + writeFileSync( + path.join(zod, "package.json"), + JSON.stringify({ name: "zod", version: "4.6.5" }), + ); + return { root, plugin, zod }; + } + + it("rejects changed bundled bytes before fetching or replacing packages", () => { + const { root, plugin } = fixture(); + const before = hashPackageTree(plugin); + expect(() => patchOpenClaw105PluginDependencies(plugin, root)).toThrow( + "source integrity mismatch", + ); + expect(hashPackageTree(plugin)).toBe(before); + }); + + it("rejects a linked dependency parent without modifying its target", () => { + const { root, plugin } = fixture(); + const outside = path.join(root, "outside"); + mkdirSync(outside); + writeFileSync(path.join(outside, "sentinel"), "preserved"); + rmSync(path.join(plugin, "node_modules"), { recursive: true }); + symlinkSync(outside, path.join(plugin, "node_modules")); + expect(() => patchOpenClaw105PluginDependencies(plugin, root)).toThrow( + "requires real package directories", + ); + expect(readFileSync(path.join(outside, "sentinel"), "utf8")).toBe("preserved"); + }); + + it("refuses an official plugin installed outside its named managed project", () => { + const { root, plugin } = fixture(); + const before = hashPackageTree(plugin); + expect(() => + remediateInstalledOfficialOpenClawPlugin({ + archivePath: path.join(root, "unused.tgz"), + packageSpec: "@openclaw/googlechat@2026.10.5", + packageDirectory: plugin, + trustedStateRoot: root, + workingDirectory: root, + }), + ).toThrow("requires a valid managed npm package directory"); + expect(hashPackageTree(plugin)).toBe(before); + }); +}); + describe("Teams native dependency remediation", () => { function teamsFixture() { const root = mkdtempSync(path.join(tmpdir(), "nemoclaw-teams-msal-")); diff --git a/test/agents/openclaw/openclaw-real-patched-dist-harness.test.ts b/test/agents/openclaw/openclaw-real-patched-dist-harness.test.ts index 2d05d0abf0f..663c4ac5294 100644 --- a/test/agents/openclaw/openclaw-real-patched-dist-harness.test.ts +++ b/test/agents/openclaw/openclaw-real-patched-dist-harness.test.ts @@ -9,6 +9,9 @@ import path from "node:path"; import { pathToFileURL } from "node:url"; import { describe, expect, it } from "vitest"; +import { interruptMetadataWrite } from "../../support/metadata-write-faults"; +import { reviewedArchiveGraphManifest } from "../../../scripts/audit-reviewed-npm-graph.mts"; +import { remediateOpenClawRuntimeDependencies } from "../../../scripts/lib/remediate-openclaw-runtime-dependencies.mts"; import { patchOpenClawContainerRestart } from "../../../scripts/lib/patch-openclaw-container-restart.mts"; import { @@ -553,6 +556,194 @@ describe("OpenClaw real patched-dist materialization guard", () => { describe.skipIf(process.env.NEMOCLAW_REAL_OPENCLAW_DIST_HARNESS !== "1")( "OpenClaw real patched-dist harness", () => { + // source-shape-contract: compatibility -- Exact installed plugin manifest bytes must survive interrupted remediation before retrying the real messaging consumers. + it.each(["discord", "googlechat", "slack"])( + "runs npm and messaging consumers after retrying an interrupted %s manifest write", + (plugin) => { + const nodeRuntime = resolveRealOpenClawNodeRuntime(); + const policy = JSON.parse( + fs.readFileSync(path.join(REPO_ROOT, "ci/reviewed-npm-audit.json"), "utf8"), + ) as { + archiveTarVersion: string; + archivePackages: Array<{ packageSpec: string; tarballUrl: string; integrity: string }>; + }; + const tmp = fs.mkdtempSync(path.join(os.tmpdir(), "nemoclaw-openclaw105-consumers-")); + try { + const archives = [ + "openclaw@2026.10.5", + "@openclaw/discord@2026.10.5", + "@openclaw/googlechat@2026.10.5", + "@openclaw/slack@2026.10.5", + ].map((spec) => { + const reviewed = policy.archivePackages.filter((entry) => entry.packageSpec === spec); + requireRuntimeEqual( + String(reviewed.length), + "1", + `unique reviewed archive for ${spec}`, + ); + return materializeReviewedTarball(reviewed[0].tarballUrl, tmp, reviewed[0].integrity); + }); + const runtime = path.join(tmp, "runtime"); + fs.mkdirSync(runtime); + fs.writeFileSync( + path.join(runtime, "package.json"), + JSON.stringify(reviewedArchiveGraphManifest(policy.archiveTarVersion)), + ); + const install = spawnSync( + "npm", + [ + "install", + "--prefix", + runtime, + "--allow-file=all", + "--ignore-scripts", + "--omit=dev", + "--no-audit", + "--no-fund", + ...archives, + ], + { encoding: "utf8", maxBuffer: 10 * 1024 * 1024, timeout: PATCH_COMMAND_TIMEOUT_MS }, + ); + requireSpawnSuccess(install, "install reviewed 2026.10.5 consumer graph without scripts"); + const manifest = path.join(runtime, "node_modules", "@openclaw", plugin, "package.json"); + const original = fs.readFileSync(manifest); + const failure = interruptMetadataWrite( + `"name": "@openclaw/${plugin}"`, + (contents) => contents.indexOf('"zod": "4.6.6"') + '"zod": "4.6.6"'.length, + ); + try { + expect(() => + remediateOpenClawRuntimeDependencies(runtime, { updateLock: true }), + ).toThrow("injected partial metadata write failure"); + const observed = fs.openSync(manifest, fs.constants.O_RDONLY | fs.constants.O_NOFOLLOW); + try { + expect(fs.readFileSync(observed)).toEqual(original); + } finally { + fs.closeSync(observed); + } + } finally { + failure.mockRestore(); + } + remediateOpenClawRuntimeDependencies(runtime, { updateLock: true }); + const npmResult = spawnSync( + nodeRuntime.executable, + [path.join(runtime, "node_modules/npm/bin/npm-cli.js"), "--version"], + { encoding: "utf8", timeout: PATCH_COMMAND_TIMEOUT_MS }, + ); + requireSpawnSuccess(npmResult, "run remediated npm"); + expect(npmResult.stdout.trim()).toBe("12.2.1"); + const npxResult = spawnSync( + nodeRuntime.executable, + [path.join(runtime, "node_modules/npm/bin/npx-cli.js"), "--version"], + { encoding: "utf8", timeout: PATCH_COMMAND_TIMEOUT_MS }, + ); + requireSpawnSuccess(npxResult, "run remediated npx"); + expect(npxResult.stdout.trim()).toBe("12.2.1"); + const consumer = spawnSync( + nodeRuntime.executable, + [ + "--input-type=module", + "-e", + String.raw` +import assert from "node:assert/strict"; +import { createRequire } from "node:module"; +import path from "node:path"; +import { pathToFileURL } from "node:url"; +const sdkRoot = path.join(process.argv[1], "node_modules/@openclaw/discord/node_modules/@discord/embedded-app-sdk"); +const require = createRequire(path.join(sdkRoot, "package.json")); +assert.equal(require("zod/package.json").version, "4.6.6"); +for (const sdk of [await import(pathToFileURL(path.join(sdkRoot, "output/index.mjs")).href), require(path.join(sdkRoot, "output/index.cjs"))]) { + assert.ok(Object.keys(sdk.Commands).length > 0); + assert.deepEqual(sdk.Responses.OpenExternalLinkResponse.parse({}), { opened: null }); + assert.deepEqual(sdk.Responses.OpenExternalLinkResponse.parse({ opened: true }), { opened: true }); +} +`, + runtime, + ], + { encoding: "utf8", timeout: PATCH_COMMAND_TIMEOUT_MS }, + ); + requireSpawnSuccess( + consumer, + "parse Discord SDK responses through remediated Zod in both module formats", + ); + const messagingConsumer = spawnSync( + nodeRuntime.executable, + [ + "--input-type=module", + "-e", + String.raw` +import assert from "node:assert/strict"; +import { createRequire } from "node:module"; +import { createServer } from "node:http"; +import path from "node:path"; +import { pathToFileURL } from "node:url"; +const pluginRoot = path.join(process.argv[1], "node_modules/@openclaw"); +const googleRoot = path.join(pluginRoot, "googlechat"); +const googleRequire = createRequire(path.join(googleRoot, "package.json")); +assert.equal(googleRequire.resolve("zod/package.json"), path.join(googleRoot, "node_modules/zod/package.json")); +assert.equal(googleRequire("zod/package.json").version, "4.6.6"); +const { googlechatPlugin } = await import(pathToFileURL(path.join(googleRoot, "dist/channel-plugin-api.js")).href); +const syntheticAccount = { client_email: "fixture@example.invalid", project_id: "fixture-project" }; +const account = googlechatPlugin.config.resolveAccount({ channels: { googlechat: { serviceAccount: JSON.stringify(syntheticAccount) } } }, "default"); +assert.deepEqual(account.credentials, syntheticAccount); +assert.equal(account.credentialSource, "inline"); +const invalid = googlechatPlugin.config.resolveAccount({ channels: { googlechat: { serviceAccount: "[]" } } }, "default"); +assert.equal(invalid.credentials, undefined); +assert.equal(invalid.credentialSource, "none"); +const slackRoot = path.join(pluginRoot, "slack"); +const slackRequire = createRequire(path.join(slackRoot, "package.json")); +assert.equal(slackRequire("zod/package.json").version, "4.6.6"); +assert.equal(slackRequire("undici/package.json").version, "8.12.3"); +const boltRoot = path.join(slackRoot, "node_modules/@slack/bolt"); +const boltRequire = createRequire(path.join(boltRoot, "package.json")); +const expressRequire = createRequire(boltRequire.resolve("express")); +const bodyManifest = expressRequire.resolve("body-parser/package.json"); +assert.equal(bodyManifest, path.join(boltRoot, "node_modules/body-parser/package.json")); +assert.equal(expressRequire("body-parser/package.json").version, "2.4.0"); +const bodyRequire = createRequire(bodyManifest); +assert.equal(bodyRequire("qs/package.json").version, "6.16.1"); +const contentTypeRoot = path.join(path.dirname(bodyManifest), "node_modules/content-type"); +assert.equal(bodyRequire.resolve("content-type"), path.join(contentTypeRoot, "dist/index.js")); +assert.equal(bodyRequire(path.join(contentTypeRoot, "package.json")).version, "2.1.0"); +const { ExpressReceiver } = slackRequire("@slack/bolt"); +const receiver = new ExpressReceiver({ signingSecret: "synthetic-local-test-secret" }); +const express = boltRequire("express"); +receiver.app.post("/parser-proof", express.urlencoded({ extended: true }), (req, res) => res.json(req.body)); +receiver.app.post("/json-proof", express.json(), (req, res) => res.json(req.body)); +receiver.app.use((error, _req, res, _next) => res.status(error.status).json({ type: error.type })); +const server = createServer(receiver.app); +try { + await new Promise((resolve, reject) => { server.once("error", reject); server.listen(0, "127.0.0.1", resolve); }); + const origin = "http://127.0.0.1:" + server.address().port; + const form = await fetch(origin + "/parser-proof", { method: "POST", headers: { "content-type": "application/x-www-form-urlencoded" }, body: "event[type]=message&event[text]=hello+world" }); + assert.equal(form.status, 200); + assert.deepEqual(await form.json(), { event: { type: "message", text: "hello world" } }); + const json = await fetch(origin + "/json-proof", { method: "POST", headers: { "content-type": "application/json; charset=utf-8" }, body: JSON.stringify({ text: "hello" }) }); + assert.equal(json.status, 200); + assert.deepEqual(await json.json(), { text: "hello" }); + const invalidJson = await fetch(origin + "/json-proof", { method: "POST", headers: { "content-type": "application/json" }, body: "{" }); + assert.equal(invalidJson.status, 400); + assert.deepEqual(await invalidJson.json(), { type: "entity.parse.failed" }); +} finally { + server.closeAllConnections(); + await new Promise((resolve) => server.close(resolve)); +} +`, + runtime, + ], + { encoding: "utf8", timeout: PATCH_COMMAND_TIMEOUT_MS }, + ); + requireSpawnSuccess( + messagingConsumer, + "resolve Google Chat accounts and parse Slack Bolt requests through remediated dependencies", + ); + } finally { + fs.rmSync(tmp, { recursive: true, force: true }); + } + }, + 600000, + ); + it("materializes the reviewed tarball and applies NemoClaw's Dockerfile OpenClaw patches", async () => { const nodeRuntime = resolveRealOpenClawNodeRuntime(); console.info( diff --git a/test/automation/releases/reviewed-npm-audit-fixtures.ts b/test/automation/releases/reviewed-npm-audit-fixtures.ts index 4b799e2d9b5..a1688969868 100644 --- a/test/automation/releases/reviewed-npm-audit-fixtures.ts +++ b/test/automation/releases/reviewed-npm-audit-fixtures.ts @@ -17,8 +17,26 @@ type ReviewedLockedGraph = ReturnType["lockedGraphs"][n export function openClawReplacementGraphFixture( repoRoot: string, - graph: ReviewedLockedGraph, ): LockedGraphFixture { + // Keep the transition proof after production policy adopts the replacement. + const graph = { + id: "openclaw-runtime", + label: "OpenClaw 2026.9.2 locked runtime graph", + packageSpec: "openclaw@2026.9.2", + integrity: + "sha512-M6C7UsnX815nv26qBJFYGe6aGzv+ftZLRzV6S9oRXUtXg2Yn67eVntpssT94kgkquKVSeUxerUg0j1ONp4WYQg==", + tarballUrl: "https://registry.npmjs.org/openclaw/-/openclaw-2026.9.2.tgz", + directory: "agents/openclaw/openclaw-runtime", + lockSha256: "b44c7f475fe36a378ebc078dbf068bd225f8470002834ce1308872049213b633", + replacement: { + label: "OpenClaw 2026.9.5 locked runtime graph", + packageSpec: "openclaw@2026.9.5", + integrity: + "sha512-TCO/ImVLh5HkF4tdfo7iriIa7kT6iYkIr/jR5ZOkePGFGhUx5Oe7DE716Y1DzzG2teRAVDdCjgJDu1A24Yta7w==", + tarballUrl: "https://registry.npmjs.org/openclaw/-/openclaw-2026.9.5.tgz", + lockSha256: "b73ebd8bb5e15cfcf080a21beaca0dce50cbca903988b20be74d49c9498baeb7", + }, + } satisfies ReviewedLockedGraph; const encodedLock = fs .readFileSync( path.join(repoRoot, "test/fixtures/openclaw-2026.9.5-package-lock.json.gz.base64"), @@ -29,7 +47,6 @@ export function openClawReplacementGraphFixture( const parsedLock = JSON.parse(lock.toString("utf8")) as { packages: { "": Record }; }; - if (!graph.replacement) throw new Error("OpenClaw transition requires a reviewed replacement"); if (createHash("sha256").update(lock).digest("hex") !== graph.replacement.lockSha256) { throw new Error("OpenClaw transition fixture does not match the reviewed replacement lock"); } diff --git a/test/automation/releases/reviewed-npm-audit-workflow.test.ts b/test/automation/releases/reviewed-npm-audit-workflow.test.ts index 9998cd55fe8..b057efe2f43 100644 --- a/test/automation/releases/reviewed-npm-audit-workflow.test.ts +++ b/test/automation/releases/reviewed-npm-audit-workflow.test.ts @@ -201,6 +201,7 @@ if (args[0] === "ci") { } } if (args[0] === "install" && !fs.existsSync("package-lock.json")) { + fs.mkdirSync("node_modules", { recursive: true }); const manifest = JSON.parse(fs.readFileSync("package.json", "utf8")); fs.writeFileSync("package-lock.json", JSON.stringify({ ...manifest, lockfileVersion: 3, packages: { "": manifest } })); } @@ -353,14 +354,13 @@ describe("trusted npm audit workflow (#5896)", () => { }); it("records the selected replacement identity in locked-graph audit provenance", () => { - const graph = REVIEWED_AUDIT_CONFIG.lockedGraphs.find(({ id }) => id === "openclaw-runtime")!; const fixture = runConsolidatedAuditFixture( () => {}, undefined, 0, 0, REVIEWED_AUDIT_CONFIG.npmVersion, - openClawReplacementGraphFixture(REPO_ROOT, graph), + openClawReplacementGraphFixture(REPO_ROOT), ); expect(fixture.result.status, fixture.result.stderr.toString()).toBe(0); diff --git a/test/automation/releases/reviewed-npm-audit.test.ts b/test/automation/releases/reviewed-npm-audit.test.ts index f6d680c18ea..d8b1190ff37 100644 --- a/test/automation/releases/reviewed-npm-audit.test.ts +++ b/test/automation/releases/reviewed-npm-audit.test.ts @@ -48,6 +48,13 @@ const CONFIG = JSON.parse( }; describe("reviewed archive graph materialization", () => { + it("selects patched npm for the aggregate archive audit", () => { + expect(reviewedArchiveGraphManifest("7.5.21").overrides.npm).toEqual({ + ".": "12.2.1", + undici: "6.29.1", + }); + }); + it("rejects an affected tar release", () => { expect(() => reviewedArchiveGraphManifest("7.5.20")).toThrow( "reviewed archive graph tar version must be exactly 7.5.21", diff --git a/test/fixtures/openclaw-managed-plugin-workspace.ts b/test/fixtures/openclaw-managed-plugin-workspace.ts new file mode 100644 index 00000000000..fa4b7c760cb --- /dev/null +++ b/test/fixtures/openclaw-managed-plugin-workspace.ts @@ -0,0 +1,127 @@ +// SPDX-FileCopyrightText: Copyright (c) 2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. +// SPDX-License-Identifier: Apache-2.0 + +// Exact reviewed pnpm-workspace.yaml from openclaw@2026.10.5. +export const OPENCLAW_MANAGED_PLUGIN_WORKSPACE = `packages: + - . + - ui + - packages/* + - extensions/* + - examples/* + +minimumReleaseAge: 10080 +minimumReleaseAgeStrict: true + +# Trusted Codex runtimes are outside the dependency cooldown. +minimumReleaseAgeExclude: + - "@openai/codex" + - "@openai/codex-*" + # Reviewed fs-safe 0.25.0 release and native helpers; remove after 2026-10-15T21:23:59.079Z. + - "@openclaw/fs-safe@0.25.0" + - "@openclaw/fs-safe-darwin-arm64@0.25.0" + - "@openclaw/fs-safe-darwin-x64@0.25.0" + - "@openclaw/fs-safe-linux-arm64-gnu@0.25.0" + - "@openclaw/fs-safe-linux-arm64-musl@0.25.0" + - "@openclaw/fs-safe-linux-x64-gnu@0.25.0" + - "@openclaw/fs-safe-linux-x64-musl@0.25.0" + - "@openclaw/fs-safe-win32-x64-msvc@0.25.0" + +# Isolated installs let pnpm reuse whole-package APFS clones instead of relinking every file. +nodeLinker: isolated +# Private inodes keep sibling installs from changing compiler input ctimes. +packageImportMethod: clone-or-copy +# GWTs share node_modules; script commands must not reconcile that shared install. +verifyDepsBeforeRun: false +blockExoticSubdeps: true + +overrides: + # Memory LanceDB supplies vectors; WhatsApp prepares thumbnails with Rastermill. + "@lancedb/lancedb>@huggingface/transformers": "-" + "baileys>sharp": "-" + "baileys>audio-decode": 3.12.0 + "chevrotain>lodash-es": 4.18.1 + "@chevrotain/cst-dts-gen>lodash-es": 4.18.1 + "@chevrotain/gast>lodash-es": 4.18.1 + "@agentclientprotocol/codex-acp@2.1.1>@openai/codex": 0.160.0 + "@codemirror/commands@6.11.1>@codemirror/view": 6.43.13 + "@codemirror/view@6.43.13>@codemirror/state": 6.7.6 + "@anthropic-ai/sdk": 0.131.0 + "@anthropic-ai/vertex-sdk@0.20.2>google-auth-library": 11.1.0 + "@opentelemetry/core": 2.11.0 + "@opentelemetry/propagator-jaeger": 2.11.0 + "@aws-sdk/core": 3.978.1 + "@aws-sdk/credential-provider-node": 3.972.84 + "@aws-sdk/xml-builder": 3.972.41 + "@hono/node-server": 2.1.3 + axios: 1.20.0 + fast-uri: 4.2.1 + follow-redirects: 1.16.1 + defu: 6.1.7 + fast-xml-parser: 5.11.2 + request: "npm:@cypress/request@4.0.1" + request-promise: "npm:@cypress/request-promise@5.0.0" + basic-ftp: 6.2.1 + brace-expansion: 5.0.12 + # GHSA-68fv-2mgg-jv7q: source-map-js <1.2.2 event-loop DoS (via css-tree). + source-map-js: 1.2.2 + file-type: 22.1.1 + form-data: 4.0.6 + ip-address: 10.7.3 + "mailauth@7.1.0>nodemailer": 10.0.13 + minimatch: 10.2.6 + path-to-regexp: 8.4.2 + proxy-addr: 2.0.8 + qs: 6.16.0 + node-domexception: "npm:@nolyfill/domexception@1.0.28" + typebox: 1.3.34 + tar: 7.5.22 + tough-cookie: 6.0.2 + "tsdown>rolldown-plugin-dts": 0.28.6 + # Keep both Lit analyzers on the same classic compiler until they support native TS7. + "web-component-analyzer@2.0.0>typescript": 5.9.3 + "zca-js@2.2.0>tough-cookie": 6.0.2 + yauzl: 3.4.0 + protobufjs: 8.8.0 + uuid: 14.0.2 + +allowBuilds: + onnxruntime-node: false + "@google/genai": true + "@lydell/node-pty": true + "@matrix-org/matrix-sdk-crypto-nodejs": true + "@tloncorp/api": true + "@tloncorp/tlon-skill": true + baileys: true + authenticate-pam: true + "@discordjs/opus": false + esbuild: true + koffi: false + protobufjs: true + tree-sitter-bash: false + openclaw: true + "@openclaw/proxyline": true + clawpdf: true + "@openclaw/crabline": true + rastermill: true + node-pty: true + +packageExtensions: + # The transient npm lock generator also needs the peer marked optional. + baileys: + peerDependenciesMeta: + sharp: + optional: true + # lit-analyzer imports the classic compiler without declaring it; match its analyzer dependency. + "lit-analyzer@2.0.3": + dependencies: + typescript: 5.9.3 + +patchedDependencies: + "baileys@7.0.0-rc14": patches/baileys@7.0.0-rc14.patch + "matrix-js-sdk@42.4.0": patches/matrix-js-sdk@42.4.0.patch + "@novnc/novnc@1.7.0": patches/@novnc__novnc@1.7.0.patch + vitest@5.0.1: patches/vitest@5.0.1.patch + "@awesome.me/webawesome@3.13.0": patches/@awesome.me__webawesome@3.13.0.patch + ghostty-web@0.4.0: patches/ghostty-web@0.4.0.patch + chrome-devtools-mcp@1.10.1: patches/chrome-devtools-mcp@1.10.1.patch +`; diff --git a/test/install/bundled-npm-package.test.ts b/test/install/bundled-npm-package.test.ts index d9f43a66580..db6eec93d12 100644 --- a/test/install/bundled-npm-package.test.ts +++ b/test/install/bundled-npm-package.test.ts @@ -1,14 +1,20 @@ // SPDX-FileCopyrightText: Copyright (c) 2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. // SPDX-License-Identifier: Apache-2.0 +import { createHash } from "node:crypto"; +import { syncBuiltinESMExports } from "node:module"; import fs from "node:fs"; import os from "node:os"; import path from "node:path"; -import { afterEach, describe, expect, it } from "vitest"; +import { afterEach, describe, expect, it, vi } from "vitest"; import { jsonObject, + reconcileBundledPackageBackup, + restoreMissingBundledPackage, + prepareBundledPackageReplacement, + runBundledNpmCommand, readJsonObject, rejectUnsafePackageTree, requireRealDirectory, @@ -61,3 +67,289 @@ describe("bundled npm package utilities", () => { ); }); }); + +function retainedBackupFixture() { + const npmRoot = fs.realpathSync(temporaryDirectory()); + const backup = path.join(npmRoot, "node_modules", "undici.nemoclaw-backup-123-0123456789abcdef"); + fs.mkdirSync(backup, { recursive: true }); + fs.writeFileSync(path.join(backup, "package.json"), '{"name":"undici","version":"6.27.0"}'); + fs.writeFileSync(path.join(backup, "original.js"), "original bytes\n"); + return { + backup, + originalPath: path.join(backup, "original.js"), + options: { + npmRoot, + packageName: "undici" as const, + fixed: true, + verifyBackup(manifest: Record) { + expect(manifest).toEqual({ name: "undici", version: "6.27.0" }); + }, + }, + }; +} + +describe("retained npm dependency backup recovery", () => { + it("preserves a missing live package and its backup when restore is interrupted", () => { + const { backup, options, originalPath } = retainedBackupFixture(); + const live = path.join(options.npmRoot, "node_modules", "undici"); + const spy = vi.spyOn(fs, "renameSync").mockImplementation(() => { + throw new Error("rename denied"); + }); + syncBuiltinESMExports(); + try { + expect(() => restoreMissingBundledPackage(options)).toThrow("rename denied"); + expect(fs.existsSync(live)).toBe(false); + expect(fs.readFileSync(originalPath, "utf8")).toBe("original bytes\n"); + } finally { + spy.mockRestore(); + syncBuiltinESMExports(); + } + restoreMissingBundledPackage(options); + expect(fs.readFileSync(path.join(live, "original.js"), "utf8")).toBe("original bytes\n"); + expect(fs.existsSync(backup)).toBe(false); + }); + + it("does not overwrite a dangling live symlink with the retained tree", () => { + const { options, originalPath } = retainedBackupFixture(); + const live = path.join(options.npmRoot, "node_modules", "undici"); + fs.symlinkSync("absent-target", live); + restoreMissingBundledPackage(options); + expect(fs.readlinkSync(live)).toBe("absent-target"); + expect(fs.readFileSync(originalPath, "utf8")).toBe("original bytes\n"); + }); + + it.each([ + { + scenario: "wrong identity", + mutate: (backup: string) => + fs.writeFileSync(path.join(backup, "package.json"), '{"name":"other"}'), + }, + { scenario: "multiple backups", mutate: (backup: string) => fs.mkdirSync(`${backup}0`) }, + { + scenario: "unsafe member", + mutate: (backup: string) => fs.symlinkSync("original.js", path.join(backup, "unsafe")), + }, + ])("refuses missing-live recovery with $scenario", ({ mutate }) => { + const { backup, options, originalPath } = retainedBackupFixture(); + mutate(backup); + expect(() => restoreMissingBundledPackage(options)).toThrow(); + expect(fs.existsSync(path.join(options.npmRoot, "node_modules", "undici"))).toBe(false); + expect(fs.readFileSync(originalPath, "utf8")).toBe("original bytes\n"); + }); + + it("removes only the recognized backup after a verified replacement", () => { + const { backup, options } = retainedBackupFixture(); + const unrelated = path.join(options.npmRoot, "node_modules", "unrelated"); + fs.mkdirSync(unrelated); + reconcileBundledPackageBackup(options); + expect(fs.existsSync(backup)).toBe(false); + expect(fs.existsSync(unrelated)).toBe(true); + }); + + it.each([ + { + scenario: "affected", + mutate: (target) => { + target.options.fixed = false; + }, + }, + { + scenario: "multiple", + mutate: (target) => { + fs.mkdirSync(`${target.backup}0`); + }, + }, + { + scenario: "unrecognized name", + mutate: (target) => { + fs.renameSync(target.backup, `${target.backup}unknown`); + target.originalPath = path.join(`${target.backup}unknown`, "original.js"); + }, + }, + { + scenario: "missing manifest", + mutate: (target) => { + fs.unlinkSync(path.join(target.backup, "package.json")); + }, + }, + { + scenario: "wrong identity", + mutate: (target) => { + fs.writeFileSync(path.join(target.backup, "package.json"), '{"name":"other"}'); + }, + }, + { + scenario: "unsafe member", + mutate: (target) => { + fs.symlinkSync("original.js", path.join(target.backup, "unsafe")); + }, + }, + { + scenario: "linked backup", + mutate: (target) => { + const outside = path.join(temporaryDirectory(), "original"); + fs.renameSync(target.backup, outside); + fs.symlinkSync(outside, target.backup); + target.originalPath = path.join(outside, "original.js"); + }, + }, + { + scenario: "linked parent", + mutate: (target) => { + fs.renameSync( + path.join(target.options.npmRoot, "node_modules"), + path.join(target.options.npmRoot, "actual"), + ); + fs.symlinkSync("actual", path.join(target.options.npmRoot, "node_modules")); + }, + }, + ] satisfies Array<{ + scenario: string; + mutate: (target: ReturnType) => void; + }>)("preserves the retained tree when recovery encounters $scenario", ({ mutate }) => { + const target = retainedBackupFixture(); + mutate(target); + expect(() => reconcileBundledPackageBackup(target.options)).toThrow(); + expect(fs.readFileSync(target.originalPath, "utf8")).toBe("original bytes\n"); + }); + + it("reports repeated cleanup failure and allows a later verified retry", () => { + const { backup, options } = retainedBackupFixture(); + const spy = vi.spyOn(fs, "rmSync").mockImplementation((file) => { + expect(String(file)).toBe(backup); + throw new Error("cleanup denied"); + }); + syncBuiltinESMExports(); + try { + expect(() => reconcileBundledPackageBackup(options)).toThrow( + `affected backup cleanup failed: ${backup}`, + ); + expect(() => reconcileBundledPackageBackup(options)).toThrow( + `affected backup cleanup failed: ${backup}`, + ); + expect(fs.readFileSync(path.join(backup, "original.js"), "utf8")).toBe("original bytes\n"); + } finally { + spy.mockRestore(); + syncBuiltinESMExports(); + } + reconcileBundledPackageBackup(options); + expect(fs.existsSync(backup)).toBe(false); + }); +}); + +describe("reviewed npm dependency archive preparation", () => { + it.each([ + { offline: false, downloadCommand: "curl", requiredFlag: "=https" }, + { offline: true, downloadCommand: "npm", requiredFlag: "--ignore-scripts" }, + ])( + "extracts only integrity-verified bytes and cleans the temporary archive (offline=$offline)", + ({ offline, downloadCommand, requiredFlag }) => { + const root = temporaryDirectory(); + const packageRoot = path.join(root, "package"); + fs.mkdirSync(packageRoot); + fs.writeFileSync( + path.join(packageRoot, "package.json"), + '{"name":"undici","version":"6.29.1"}', + ); + const archive = path.join(root, "reviewed.tgz"); + runBundledNpmCommand("tar", ["-czf", archive, "-C", root, "package"]); + const bytes = fs.readFileSync(archive); + const commands: string[] = []; + let downloadDirectory = ""; + const stageArchive = (destination: string, args: readonly string[]) => { + expect(args).toContain(requiredFlag); + downloadDirectory = path.dirname(destination); + fs.copyFileSync(archive, destination); + }; + const handlers: Record void> = { + tar: (args) => runBundledNpmCommand("tar", args), + curl: (args) => stageArchive(String(args[args.indexOf("--output") + 1]), args), + npm: (args) => + stageArchive( + path.join(String(args[args.indexOf("--pack-destination") + 1]), "undici-6.29.1.tgz"), + args, + ), + }; + const prepared = prepareBundledPackageReplacement({ + packageName: "undici", + version: "6.29.1", + tarball: "https://registry.npmjs.org/undici/-/undici-6.29.1.tgz", + integrity: `sha512-${createHash("sha512").update(bytes).digest("base64")}`, + offline, + commandRunner(command, args) { + commands.push(command); + handlers[command](args); + }, + }); + try { + expect(commands).toEqual([downloadCommand, "tar"]); + expect( + readJsonObject(path.join(prepared.replacementRoot, "package.json"), "replacement"), + ).toEqual({ name: "undici", version: "6.29.1" }); + } finally { + prepared.cleanup(); + } + expect(fs.existsSync(downloadDirectory)).toBe(false); + }, + ); + + it.each([ + { + scenario: "tampered", + commands: ["curl"], + download: (archive: string, _outside: string) => fs.writeFileSync(archive, "wrong bytes"), + }, + { + scenario: "linked", + commands: ["curl"], + download: (archive: string, outside: string) => fs.symlinkSync(outside, archive), + }, + { + scenario: "download failure", + commands: ["curl"], + download: (_archive: string, _outside: string) => { + throw new Error("download failed"); + }, + }, + { + scenario: "extraction failure", + commands: ["curl", "tar"], + download: (archive: string, outside: string) => fs.copyFileSync(outside, archive), + }, + ])( + "cleans up without accepting $scenario archives", + ({ commands: expectedCommands, download }) => { + const bytes = Buffer.from("reviewed bytes"); + const outside = path.join(temporaryDirectory(), "outside.tgz"); + fs.writeFileSync(outside, bytes); + let downloadDirectory = ""; + const commands: string[] = []; + const handlers: Record void> = { + tar: () => { + throw new Error("extraction failed"); + }, + curl: (args) => { + const archive = String(args[args.indexOf("--output") + 1]); + downloadDirectory = path.dirname(archive); + download(archive, outside); + }, + }; + expect(() => + prepareBundledPackageReplacement({ + packageName: "undici", + version: "6.29.1", + tarball: "https://registry.npmjs.org/undici/-/undici-6.29.1.tgz", + offline: false, + integrity: `sha512-${createHash("sha512").update(bytes).digest("base64")}`, + commandRunner(command, args) { + commands.push(command); + handlers[command](args); + }, + }), + ).toThrow(); + expect(commands).toEqual(expectedCommands); + expect(fs.existsSync(downloadDirectory)).toBe(false); + expect(fs.readFileSync(outside)).toEqual(bytes); + }, + ); +}); diff --git a/test/install/bundled-npm-staging-recovery.test.ts b/test/install/bundled-npm-staging-recovery.test.ts new file mode 100644 index 00000000000..5263a83568e --- /dev/null +++ b/test/install/bundled-npm-staging-recovery.test.ts @@ -0,0 +1,419 @@ +// SPDX-FileCopyrightText: Copyright (c) 2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. +// SPDX-License-Identifier: Apache-2.0 + +import { spawnSync } from "node:child_process"; +import fs from "node:fs"; +import { syncBuiltinESMExports } from "node:module"; +import os from "node:os"; +import path from "node:path"; +import { afterEach, describe, expect, it, vi } from "vitest"; + +import { + reconcileBundledPackageBackup, + replaceBundledPackage, + restoreMissingBundledPackage, +} from "../../scripts/lib/bundled-npm-package.mts"; + +import { + alterBackupCopy, + alterPublishedBackup, + racePackageFileOpen, + snapshotBackupFiles, +} from "../support/bundled-npm-recovery-faults.js"; + +const roots: string[] = []; +const helper = new URL("../../scripts/lib/bundled-npm-package.mts", import.meta.url).href; +const markerName = "nemoclaw-owner.json"; + +afterEach(() => { + for (const root of roots.splice(0)) fs.rmSync(root, { recursive: true, force: true }); +}); + +function fixture(packageName: "undici" | "ip-address") { + const root = fs.realpathSync(fs.mkdtempSync(path.join(os.tmpdir(), "npm-stage-recovery-"))); + roots.push(root); + const npmRoot = path.join(root, "npm"); + const parent = path.join(npmRoot, "node_modules"); + const live = path.join(parent, packageName); + const replacementRoot = path.join(root, "replacement"); + for (const [directory, version] of [ + [live, "old"], + [replacementRoot, "fixed"], + ]) { + fs.mkdirSync(directory, { recursive: true }); + fs.writeFileSync( + path.join(directory, "package.json"), + JSON.stringify({ name: packageName, version }), + ); + fs.writeFileSync(path.join(directory, "payload"), version); + } + const stages = () => + fs.readdirSync(parent).filter((name) => name.startsWith(`.${packageName}.nemoclaw-stage-`)); + const options = { + npmRoot, + packageName, + verifyBackup(manifest: Record) { + expect(manifest).toEqual({ name: packageName, version: "old" }); + }, + }; + function interrupt(point = "staged-copy") { + const child = spawnSync( + process.execPath, + [ + "--input-type=module", + "--eval", + ` + import fs from "node:fs"; + import { syncBuiltinESMExports } from "node:module"; + const [helper, npmRoot, packageName, replacementRoot, point] = process.argv.slice(1); + const { replaceBundledPackage } = await import(helper); + const copy = fs.cpSync; + const rename = fs.renameSync; + const kill = () => process.kill(process.pid, "SIGKILL"); + fs.cpSync = (source, destination, options) => { + if (point === "partial-backup" && String(source).endsWith("/node_modules/" + packageName)) { + fs.mkdirSync(destination, { recursive: true }); + copy(String(source) + "/package.json", String(destination) + "/package.json"); + kill(); + } + copy(source, destination, options); + if (point === "staged-copy" && String(destination).endsWith("/replacement")) kill(); + if (point === "backup-copy" && String(source).endsWith("/node_modules/" + packageName)) kill(); + }; + fs.renameSync = (source, destination) => { + const promotion = String(source).endsWith("/replacement"); + const receipt = String(destination).endsWith("/nemoclaw-owner.json"); + if (point === "before-backup-receipt" && receipt) kill(); + if (point === "before-promotion" && promotion) kill(); + rename(source, destination); + if (point === "after-backup-receipt" && receipt) kill(); + if (point === "after-promotion" && promotion) kill(); + if (point === "backup-publication" && String(destination).includes(".nemoclaw-backup-")) kill(); + }; + syncBuiltinESMExports(); + replaceBundledPackage({ npmRoot, packageName, replacementRoot, verify: () => true }); + throw new Error("interruption was not reached"); + `, + helper, + npmRoot, + packageName, + replacementRoot, + point, + ], + { encoding: "utf8", timeout: 15000 }, + ); + expect(child.error).toBeUndefined(); + expect(child.signal, child.stderr).toBe("SIGKILL"); + return path.join(parent, stages().at(-1)!); + } + return { root, parent, live, replacementRoot, stages, options, interrupt }; +} + +function alterMarker(markerPath: string, changes: Record): void { + const marker = JSON.parse(fs.readFileSync(markerPath, "utf8")); + fs.writeFileSync(markerPath, JSON.stringify({ ...marker, ...changes })); +} + +describe.each(["undici", "ip-address"] as const)("%s staging recovery", (packageName) => { + it.each([ + "partial-backup", + "backup-copy", + "before-backup-receipt", + "after-backup-receipt", + "backup-publication", + ])( + "retries after a hard kill at %s without manual cleanup or changing original bytes", + (point) => { + const f = fixture(packageName); + f.interrupt(point); + expect(fs.readFileSync(path.join(f.live, "payload"), "utf8")).toBe("old"); + restoreMissingBundledPackage(f.options); + reconcileBundledPackageBackup({ ...f.options, fixed: false }); + expect(fs.readdirSync(f.parent)).toEqual([packageName]); + expect(fs.readFileSync(path.join(f.live, "payload"), "utf8")).toBe("old"); + expect( + replaceBundledPackage({ + ...f.options, + replacementRoot: f.replacementRoot, + verify: () => fs.readFileSync(path.join(f.live, "payload"), "utf8"), + }), + ).toBe("fixed"); + expect(fs.readdirSync(f.parent)).toEqual([packageName]); + }, + ); + + it("reclaims interrupted copies on retry without touching unknown stages or original bytes", () => { + const f = fixture(packageName); + f.interrupt(); + expect(fs.readFileSync(path.join(f.live, "payload"), "utf8")).toBe("old"); + f.interrupt(); + expect(fs.readFileSync(path.join(f.live, "payload"), "utf8")).toBe("old"); + f.interrupt(); + expect(fs.readFileSync(path.join(f.live, "payload"), "utf8")).toBe("old"); + expect(f.stages()).toHaveLength(3); + const unknown = path.join(f.parent, `.${packageName}.nemoclaw-stage-unknown`); + fs.mkdirSync(unknown); + fs.writeFileSync(path.join(unknown, "payload"), "unowned"); + const diagnostic = vi.spyOn(console, "error").mockImplementation(() => {}); + restoreMissingBundledPackage(f.options); + expect(f.stages()).toEqual([path.basename(unknown)]); + expect(fs.readFileSync(path.join(unknown, "payload"), "utf8")).toBe("unowned"); + expect(diagnostic).toHaveBeenCalledWith(expect.stringContaining("staging recovery incomplete")); + expect( + replaceBundledPackage({ + ...f.options, + replacementRoot: f.replacementRoot, + verify: () => fs.readFileSync(path.join(f.live, "payload"), "utf8"), + }), + ).toBe("fixed"); + expect(f.stages()).toEqual([path.basename(unknown)]); + expect(fs.readdirSync(f.parent).filter((name) => name.includes(".nemoclaw-backup-"))).toEqual( + [], + ); + }); + + it.each([ + "changed-live", + "partial-backup", + "changed-backup", + "wrong-inode", + "wrong-digest", + "escaped-name", + "linked-backup", + "hardlinked-file", + "multiple-backups", + "missing-marker", + ])("retains the backup when published recovery has %s", (scenario) => { + const f = fixture(packageName); + const stage = f.interrupt("backup-publication"); + const markerPath = path.join(stage, markerName); + const retainedBackup = alterPublishedBackup(f, markerPath, scenario); + const backupBeforeRecovery = snapshotBackupFiles(retainedBackup); + const diagnostic = vi.spyOn(console, "error").mockImplementation(() => {}); + restoreMissingBundledPackage(f.options); + expect(diagnostic).toHaveBeenCalledWith(expect.stringContaining("staging recovery incomplete")); + expect(fs.existsSync(stage)).toBe(true); + expect(fs.readFileSync(path.join(f.live, "payload"), "utf8")).toBe( + scenario === "changed-live" ? "new" : "old", + ); + expect(snapshotBackupFiles(retainedBackup)).toEqual(backupBeforeRecovery); + expect(() => reconcileBundledPackageBackup({ ...f.options, fixed: false })).toThrow( + /retained backup/, + ); + }); + + it("retains a published backup when live file permissions change as comparison opens it", () => { + const f = fixture(packageName); + const payload = path.join(f.live, "payload"); + fs.chmodSync(payload, 0o644); + const stage = f.interrupt("backup-publication"); + const marker = JSON.parse(fs.readFileSync(path.join(stage, markerName), "utf8")); + const backup = path.join(f.parent, marker.backup.name); + const originalBackup = snapshotBackupFiles(backup); + const open = fs.openSync; + const diagnostic = vi.spyOn(console, "error").mockImplementation(() => {}); + const intercepted = vi + .spyOn(fs, "openSync") + .mockImplementation(racePackageFileOpen(open, payload, () => fs.chmodSync(payload, 0o600))); + try { + syncBuiltinESMExports(); + restoreMissingBundledPackage(f.options); + } finally { + intercepted.mockRestore(); + syncBuiltinESMExports(); + } + const payloadDescriptor = fs.openSync( + payload, + fs.constants.O_RDONLY | fs.constants.O_NOFOLLOW | fs.constants.O_NONBLOCK, + ); + try { + expect(fs.fstatSync(payloadDescriptor).mode & 0o777).toBe(0o600); + expect(fs.readFileSync(payloadDescriptor, "utf8")).toBe("old"); + } finally { + fs.closeSync(payloadDescriptor); + } + expect(fs.existsSync(stage)).toBe(true); + expect(snapshotBackupFiles(backup)).toEqual(originalBackup); + expect(fs.statSync(path.join(backup, "payload")).mode & 0o777).toBe(0o644); + expect(diagnostic).toHaveBeenCalledWith(expect.stringContaining("staging recovery incomplete")); + expect(() => reconcileBundledPackageBackup({ ...f.options, fixed: false })).toThrow( + /retained backup/, + ); + }); + + it("recovers an identical nested package without changing executable permissions", () => { + const f = fixture(packageName); + const directory = path.join(f.live, "nested", "bin"); + const executable = path.join(directory, "tool"); + fs.mkdirSync(directory, { recursive: true, mode: 0o755 }); + fs.writeFileSync(executable, "#!/bin/sh\nexit 0\n", { mode: 0o755 }); + f.interrupt("backup-publication"); + restoreMissingBundledPackage(f.options); + reconcileBundledPackageBackup({ ...f.options, fixed: false }); + expect(fs.readdirSync(f.parent)).toEqual([packageName]); + expect(fs.readFileSync(executable, "utf8")).toBe("#!/bin/sh\nexit 0\n"); + expect(fs.statSync(executable).mode & 0o777).toBe(0o755); + expect(fs.statSync(directory).mode & 0o777).toBe(0o755); + }); + + it("retains the original when a backup copy changes restrictive directory permissions", () => { + const f = fixture(packageName); + const directory = path.join(f.live, "private"); + fs.mkdirSync(directory, { mode: 0o700 }); + fs.writeFileSync(path.join(directory, "payload"), "private bytes"); + const verify = vi.fn(); + const copy = fs.cpSync; + const intercepted = vi.spyOn(fs, "cpSync").mockImplementation( + alterBackupCopy(copy, f.live, (destination) => { + fs.chmodSync(path.join(destination, "private"), 0o755); + }), + ); + try { + syncBuiltinESMExports(); + expect(() => + replaceBundledPackage({ + ...f.options, + replacementRoot: f.replacementRoot, + verify, + }), + ).toThrow(/original package changed while preparing its backup/); + } finally { + intercepted.mockRestore(); + syncBuiltinESMExports(); + } + expect(verify).not.toHaveBeenCalled(); + expect(fs.statSync(directory).mode & 0o777).toBe(0o700); + expect(fs.readFileSync(path.join(directory, "payload"), "utf8")).toBe("private bytes"); + expect(fs.readFileSync(path.join(f.live, "payload"), "utf8")).toBe("old"); + expect(fs.readdirSync(f.parent)).toEqual([packageName]); + }); + + it.each([false, true])( + "retains original backup bytes when a file becomes a symlink (after open: %s)", + (afterOpen) => { + const f = fixture(packageName); + const stage = f.interrupt("backup-publication"); + const marker = JSON.parse(fs.readFileSync(path.join(stage, markerName), "utf8")); + const backup = path.join(f.parent, marker.backup.name); + const originalBackup = snapshotBackupFiles(backup); + const payload = path.join(f.live, "payload"); + const retained = path.join(f.root, "original-payload"); + const outside = path.join(f.root, "outside"); + fs.writeFileSync(outside, "untouched"); + const open = fs.openSync; + const diagnostic = vi.spyOn(console, "error").mockImplementation(() => {}); + const intercepted = vi.spyOn(fs, "openSync").mockImplementation( + racePackageFileOpen( + open, + payload, + () => { + fs.renameSync(payload, retained); + fs.symlinkSync(outside, payload); + }, + afterOpen, + ), + ); + try { + syncBuiltinESMExports(); + restoreMissingBundledPackage(f.options); + } finally { + intercepted.mockRestore(); + syncBuiltinESMExports(); + } + expect(fs.readFileSync(retained, "utf8")).toBe("old"); + expect(fs.readFileSync(outside, "utf8")).toBe("untouched"); + expect(fs.lstatSync(payload).isSymbolicLink()).toBe(true); + expect(fs.existsSync(stage)).toBe(true); + expect(snapshotBackupFiles(backup)).toEqual(originalBackup); + expect(diagnostic).toHaveBeenCalledWith( + expect.stringContaining("staging recovery incomplete"), + ); + expect(() => reconcileBundledPackageBackup({ ...f.options, fixed: false })).toThrow( + /retained backup/, + ); + }, + ); + + it.each(["before-promotion", "after-promotion"])( + "recovers a hard kill %s while preserving the recoverable package", + (point) => { + const f = fixture(packageName); + f.interrupt(point); + restoreMissingBundledPackage(f.options); + expect(f.stages()).toEqual([]); + expect(fs.readFileSync(path.join(f.live, "payload"), "utf8")).toBe( + point === "before-promotion" ? "old" : "fixed", + ); + reconcileBundledPackageBackup({ ...f.options, fixed: point === "after-promotion" }); + expect(fs.readdirSync(f.parent)).toEqual([packageName]); + }, + ); + + it.each([ + { + scenario: "wrong-package", + mutate: ({ markerPath }) => alterMarker(markerPath, { packageName: "another-package" }), + }, + { + scenario: "wrong-inode", + mutate: ({ markerPath }) => alterMarker(markerPath, { stageInode: -1 }), + }, + { + scenario: "other-scope", + mutate: ({ markerPath }) => alterMarker(markerPath, { processScope: "another-host" }), + }, + { + scenario: "active-pid", + mutate: ({ markerPath }) => alterMarker(markerPath, { pid: process.pid }), + }, + { scenario: "malformed", mutate: ({ markerPath }) => fs.writeFileSync(markerPath, "{") }, + { scenario: "missing-marker", mutate: ({ markerPath }) => fs.unlinkSync(markerPath) }, + { + scenario: "marker-link", + mutate: ({ markerPath, outside }) => { + fs.unlinkSync(markerPath); + fs.symlinkSync(outside, markerPath); + }, + }, + { + scenario: "hardlinked-marker", + mutate: ({ markerPath, root }) => fs.linkSync(markerPath, path.join(root, "marker-copy")), + }, + { scenario: "public-marker", mutate: ({ markerPath }) => fs.chmodSync(markerPath, 0o644) }, + { scenario: "public-stage", mutate: ({ stage }) => fs.chmodSync(stage, 0o755) }, + { scenario: "public-parent", mutate: ({ parent }) => fs.chmodSync(parent, 0o777) }, + { + scenario: "unsafe-tree", + mutate: ({ stage, outside }) => fs.symlinkSync(outside, path.join(stage, "unsafe")), + }, + { + scenario: "unverifiable-pid", + mutate: () => + vi.spyOn(process, "kill").mockImplementation(() => { + throw Object.assign(new Error("permission denied"), { code: "EPERM" }); + }), + }, + ] satisfies { + scenario: string; + mutate: (value: { + markerPath: string; + outside: string; + root: string; + parent: string; + stage: string; + }) => unknown; + }[])("preserves a stage with $scenario and reports why recovery was withheld", ({ mutate }) => { + const f = fixture(packageName); + const stage = f.interrupt(); + const markerPath = path.join(stage, markerName); + const outside = path.join(f.root, "outside"); + fs.writeFileSync(outside, "untouched"); + mutate({ ...f, stage, markerPath, outside }); + const diagnostic = vi.spyOn(console, "error").mockImplementation(() => {}); + restoreMissingBundledPackage(f.options); + expect(fs.readFileSync(path.join(stage, "replacement", "payload"), "utf8")).toBe("fixed"); + expect(fs.readFileSync(path.join(f.live, "payload"), "utf8")).toBe("old"); + expect(fs.readFileSync(outside, "utf8")).toBe("untouched"); + expect(diagnostic).toHaveBeenCalledWith(expect.stringContaining("staging recovery incomplete")); + }); +}); diff --git a/test/install/patch-bundled-npm-ip-address.test.ts b/test/install/patch-bundled-npm-ip-address.test.ts index a6d2acb3501..0ebc72e91f6 100644 --- a/test/install/patch-bundled-npm-ip-address.test.ts +++ b/test/install/patch-bundled-npm-ip-address.test.ts @@ -17,6 +17,11 @@ import { verifyBundledNpmIpAddress, } from "../../scripts/lib/patch-bundled-npm-ip-address.mts"; +import { + failReplacementRename, + corruptAfterReplacementRename, +} from "../support/bundled-npm-recovery-faults.js"; + const temporaryDirectories: string[] = []; function temporaryDirectory(): string { @@ -80,6 +85,57 @@ afterEach(() => { }); describe("npm bundled ip-address remediation", () => { + it("rejects an unreviewed npm identity before restoring its missing package", () => { + const target = fixture(AFFECTED_IP_ADDRESS_VERSION); + const live = path.join(target.npmRoot, "node_modules", "ip-address"); + const backup = `${live}.nemoclaw-backup-123-0123456789abcdef`; + fs.renameSync(live, backup); + writeJson(path.join(target.npmRoot, "package.json"), { + name: "other", + version: REVIEWED_NPM_VERSION, + }); + expect(() => patchBundledNpmIpAddress(target)).toThrow("npm package identity has drifted"); + expect(fs.existsSync(live)).toBe(false); + expect(fs.readFileSync(path.join(backup, "old.js"), "utf8")).toBe("old\n"); + }); + + it.each([ + { entrypoint: "direct", run: (target) => patchBundledNpmIpAddress(target) }, + { + entrypoint: "registry", + run: (target) => + patchBundledNpmIpAddressFromRegistry(target.npmRoot, { + commandRunner: () => {}, + prepareReplacement: () => ({ + replacementRoot: target.replacementRoot, + cleanup: () => {}, + }), + }), + }, + ] satisfies Array<{ + entrypoint: string; + run: (target: ReturnType) => { state: string }; + }>)("recovers an interrupted missing live package through $entrypoint", ({ run }) => { + const target = fixture(AFFECTED_IP_ADDRESS_VERSION); + const live = path.join(target.npmRoot, "node_modules", "ip-address"); + const backup = `${live}.nemoclaw-backup-123-0123456789abcdef`; + // State left after the backup copy and live removal, before replacement rename. + fs.cpSync(live, backup, { recursive: true }); + fs.rmSync(live, { recursive: true }); + const staging = path.join( + target.npmRoot, + "node_modules", + ".ip-address.nemoclaw-stage-interrupted", + ); + fs.mkdirSync(staging); + fs.writeFileSync(path.join(staging, "unverified"), "preserve\n"); + + expect(run(target).state).toBe("fixed"); + expect(verifyBundledNpmIpAddress(target.npmRoot).state).toBe("fixed"); + expect(fs.existsSync(backup)).toBe(false); + expect(fs.readFileSync(path.join(staging, "unverified"), "utf8")).toBe("preserve\n"); + }); + it("replaces the complete affected private package tree", () => { const target = fixture(AFFECTED_IP_ADDRESS_VERSION); @@ -161,10 +217,7 @@ describe("npm bundled ip-address remediation", () => { const originalRenameSync = fs.renameSync.bind(fs); const renameSpy = vi .spyOn(fs, "renameSync") - .mockImplementationOnce(() => { - throw new Error("injected replacement rename failure"); - }) - .mockImplementation(originalRenameSync); + .mockImplementation(failReplacementRename(originalRenameSync)); syncBuiltinESMExports(); try { @@ -184,16 +237,18 @@ describe("npm bundled ip-address remediation", () => { const target = fixture(AFFECTED_IP_ADDRESS_VERSION); const livePath = path.join(target.npmRoot, "node_modules", "ip-address"); const originalRenameSync = fs.renameSync.bind(fs); - const renameSpy = vi - .spyOn(fs, "renameSync") - .mockImplementationOnce((oldPath, newPath) => { - originalRenameSync(oldPath, newPath); - writeJson(path.join(livePath, "package.json"), { - ...packageManifest(FIXED_IP_ADDRESS_VERSION), - main: "unexpected.js", - }); - }) - .mockImplementation(originalRenameSync); + const renameSpy = vi.spyOn(fs, "renameSync").mockImplementation( + corruptAfterReplacementRename( + originalRenameSync, + () => { + writeJson(path.join(livePath, "package.json"), { + ...packageManifest(FIXED_IP_ADDRESS_VERSION), + main: "unexpected.js", + }); + }, + false, + ), + ); syncBuiltinESMExports(); try { @@ -278,25 +333,75 @@ describe("npm bundled ip-address remediation", () => { .readdirSync(path.join(target.npmRoot, "node_modules")) .some((entry) => entry.startsWith("ip-address.nemoclaw-backup-")), ).toBe(true); + expect( + patchBundledNpmIpAddressFromRegistry(target.npmRoot, { + commandRunner: () => {}, + prepareReplacement: () => { + throw new Error("unexpected download"); + }, + }), + ).toMatchObject({ state: "fixed" }); + expect( + fs + .readdirSync(path.join(target.npmRoot, "node_modules")) + .some((entry) => entry.startsWith("ip-address.nemoclaw-backup-")), + ).toBe(false); + }); + + it("refuses an unrecognized retained backup before commands or package mutation", () => { + const target = fixture(FIXED_IP_ADDRESS_VERSION); + const backup = path.join( + target.npmRoot, + "node_modules", + "ip-address.nemoclaw-backup-123-0123456789abcdef", + ); + writeJson(path.join(backup, "package.json"), packageManifest(FIXED_IP_ADDRESS_VERSION)); + const commandRunner = vi.fn(); + expect(() => patchBundledNpmIpAddressFromRegistry(target.npmRoot, { commandRunner })).toThrow( + "retained backup cannot be verified", + ); + expect(() => patchBundledNpmIpAddress(target)).toThrow("retained backup cannot be verified"); + expect(commandRunner).not.toHaveBeenCalled(); + expect(fs.existsSync(path.join(backup, "package.json"))).toBe(true); + expectAffectedTreeUnchanged(target); + writeJson(path.join(backup, "package.json"), packageManifest(AFFECTED_IP_ADDRESS_VERSION)); + expect(patchBundledNpmIpAddress(target)).toMatchObject({ state: "fixed" }); + expect(fs.existsSync(backup)).toBe(false); + }); + + it("retains HTTPS download for ip-address in offline environments", () => { + vi.stubEnv("NPM_CONFIG_OFFLINE", "true"); + const target = fixture(AFFECTED_IP_ADDRESS_VERSION); + const commands: string[] = []; + expect(() => + patchBundledNpmIpAddressFromRegistry(target.npmRoot, { + commandRunner(command, args) { + commands.push(command); + const archive = String(args[args.indexOf("--output") + 1]); + fs.writeFileSync(archive, "tampered archive"); + }, + }), + ).toThrow("ip-address replacement integrity mismatch"); + expect(commands).toEqual(["curl"]); + expectAffectedTreeUnchanged(target); }); it("reports the original patch failure when rollback also fails", () => { const target = fixture(AFFECTED_IP_ADDRESS_VERSION); const livePath = path.join(target.npmRoot, "node_modules", "ip-address"); const originalRenameSync = fs.renameSync.bind(fs); - const renameSpy = vi - .spyOn(fs, "renameSync") - .mockImplementationOnce((oldPath, newPath) => { - originalRenameSync(oldPath, newPath); - writeJson(path.join(livePath, "package.json"), { - ...packageManifest(FIXED_IP_ADDRESS_VERSION), - main: "unexpected.js", - }); - }) - .mockImplementationOnce(() => { - throw new Error("injected rollback rename failure"); - }) - .mockImplementation(originalRenameSync); + const renameSpy = vi.spyOn(fs, "renameSync").mockImplementation( + corruptAfterReplacementRename( + originalRenameSync, + () => { + writeJson(path.join(livePath, "package.json"), { + ...packageManifest(FIXED_IP_ADDRESS_VERSION), + main: "unexpected.js", + }); + }, + true, + ), + ); syncBuiltinESMExports(); let failure: unknown; diff --git a/test/install/patch-bundled-npm-undici.test.ts b/test/install/patch-bundled-npm-undici.test.ts new file mode 100644 index 00000000000..fb10e433fe6 --- /dev/null +++ b/test/install/patch-bundled-npm-undici.test.ts @@ -0,0 +1,496 @@ +// SPDX-FileCopyrightText: Copyright (c) 2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. +// SPDX-License-Identifier: Apache-2.0 + +import fs from "node:fs"; +import { syncBuiltinESMExports } from "node:module"; +import os from "node:os"; +import path from "node:path"; + +import { afterEach, describe, expect, it, vi } from "vitest"; + +import { + AFFECTED_UNDICI_VERSION, + FIXED_UNDICI_VERSION, + patchBundledNpmUndici, + patchBundledNpmUndiciFromRegistry, + REVIEWED_NPM_VERSION, + verifyBundledNpmUndici, +} from "../../scripts/lib/patch-bundled-npm-undici.mts"; + +import { + failReplacementRename, + corruptAfterReplacementRename, +} from "../support/bundled-npm-recovery-faults.js"; + +const temporaryDirectories: string[] = []; + +function temporaryDirectory(): string { + const directory = fs.mkdtempSync(path.join(os.tmpdir(), "nemoclaw-npm-undici-")); + temporaryDirectories.push(directory); + return directory; +} + +function writeJson(file: string, value: object): void { + fs.mkdirSync(path.dirname(file), { recursive: true }); + fs.writeFileSync(file, `${JSON.stringify(value, null, 2)}\n`); +} + +function packageManifest(version: string): object { + return { + engines: { node: ">=18.17" }, + license: "MIT", + main: "index.js", + name: "undici", + types: "index.d.ts", + version, + }; +} + +function fixture(undiciVersion: string) { + const root = temporaryDirectory(); + const npmRoot = path.join(root, "npm"); + const replacementRoot = path.join(root, "replacement"); + writeJson(path.join(npmRoot, "package.json"), { + name: "npm", + version: REVIEWED_NPM_VERSION, + }); + writeJson( + path.join(npmRoot, "node_modules", "undici", "package.json"), + packageManifest(undiciVersion), + ); + fs.writeFileSync(path.join(npmRoot, "node_modules", "undici", "old.js"), "old\n"); + const arboristBin = path.join(npmRoot, "node_modules", "@npmcli", "arborist", "bin", "index.js"); + fs.mkdirSync(path.dirname(arboristBin), { recursive: true }); + fs.writeFileSync(arboristBin, "#!/usr/bin/env node\n"); + const npmBin = path.join(npmRoot, "node_modules", ".bin"); + fs.mkdirSync(npmBin); + fs.symlinkSync("../@npmcli/arborist/bin/index.js", path.join(npmBin, "arborist")); + writeJson(path.join(replacementRoot, "package.json"), packageManifest(FIXED_UNDICI_VERSION)); + fs.writeFileSync(path.join(replacementRoot, "index.js"), "fixed\n"); + return { npmRoot, replacementRoot }; +} + +function expectAffectedTreeUnchanged(target: ReturnType): void { + expect(fs.existsSync(path.join(target.npmRoot, "node_modules", "undici", "old.js"))).toBe(true); +} + +afterEach(() => { + for (const directory of temporaryDirectories.splice(0)) { + fs.rmSync(directory, { force: true, recursive: true }); + } +}); + +describe("npm bundled undici remediation", () => { + it("rejects an unreviewed npm identity before restoring its missing package", () => { + const target = fixture(AFFECTED_UNDICI_VERSION); + const live = path.join(target.npmRoot, "node_modules", "undici"); + const backup = `${live}.nemoclaw-backup-123-0123456789abcdef`; + fs.renameSync(live, backup); + writeJson(path.join(target.npmRoot, "package.json"), { + name: "other", + version: REVIEWED_NPM_VERSION, + }); + expect(() => patchBundledNpmUndici(target)).toThrow("npm package identity has drifted"); + expect(fs.existsSync(live)).toBe(false); + expect(fs.readFileSync(path.join(backup, "old.js"), "utf8")).toBe("old\n"); + }); + + it.each([ + { entrypoint: "direct", run: (target) => patchBundledNpmUndici(target) }, + { + entrypoint: "registry", + run: (target) => + patchBundledNpmUndiciFromRegistry(target.npmRoot, { + commandRunner: () => {}, + prepareReplacement: () => ({ + replacementRoot: target.replacementRoot, + cleanup: () => {}, + }), + }), + }, + ] satisfies Array<{ + entrypoint: string; + run: (target: ReturnType) => { state: string }; + }>)("recovers an interrupted missing live package through $entrypoint", ({ run }) => { + const target = fixture(AFFECTED_UNDICI_VERSION); + const live = path.join(target.npmRoot, "node_modules", "undici"); + const backup = `${live}.nemoclaw-backup-123-0123456789abcdef`; + // State left after the backup copy and live removal, before replacement rename. + fs.cpSync(live, backup, { recursive: true }); + fs.rmSync(live, { recursive: true }); + const staging = path.join(target.npmRoot, "node_modules", ".undici.nemoclaw-stage-interrupted"); + fs.mkdirSync(staging); + fs.writeFileSync(path.join(staging, "unverified"), "preserve\n"); + + expect(run(target).state).toBe("fixed"); + expect(verifyBundledNpmUndici(target.npmRoot).state).toBe("fixed"); + expect(fs.existsSync(backup)).toBe(false); + expect(fs.readFileSync(path.join(staging, "unverified"), "utf8")).toBe("preserve\n"); + }); + + it("recovers the reviewed npm 12.2.1 backup before remediating it", () => { + const target = fixture("6.29.0"); + writeJson(path.join(target.npmRoot, "package.json"), { name: "npm", version: "12.2.1" }); + const live = path.join(target.npmRoot, "node_modules", "undici"); + const backup = `${live}.nemoclaw-backup-123-0123456789abcdef`; + fs.renameSync(live, backup); + expect(patchBundledNpmUndici(target)).toEqual({ + undiciVersion: FIXED_UNDICI_VERSION, + npmVersion: "12.2.1", + state: "fixed", + }); + expect(fs.existsSync(backup)).toBe(false); + }); + + it("retains a missing-live backup from a different npm distribution", () => { + const target = fixture(AFFECTED_UNDICI_VERSION); + writeJson(path.join(target.npmRoot, "package.json"), { name: "npm", version: "12.2.1" }); + const live = path.join(target.npmRoot, "node_modules", "undici"); + const backup = `${live}.nemoclaw-backup-123-0123456789abcdef`; + fs.renameSync(live, backup); + expect(() => patchBundledNpmUndici(target)).toThrow("retained backup cannot be verified"); + expect(fs.existsSync(live)).toBe(false); + expect(fs.readFileSync(path.join(backup, "old.js"), "utf8")).toBe("old\n"); + }); + + it("repairs the npm version bundled by OpenClaw without changing npm itself", () => { + const target = fixture("6.29.0"); + writeJson(path.join(target.npmRoot, "package.json"), { name: "npm", version: "12.2.1" }); + expect(patchBundledNpmUndici(target)).toEqual({ + undiciVersion: FIXED_UNDICI_VERSION, + npmVersion: "12.2.1", + state: "fixed", + }); + expect(JSON.parse(fs.readFileSync(path.join(target.npmRoot, "package.json"), "utf8"))).toEqual({ + name: "npm", + version: "12.2.1", + }); + }); + + it("rejects an affected version that belongs to a different npm distribution", () => { + const target = fixture("6.29.0"); + expect(() => patchBundledNpmUndici(target)).toThrow("bundled undici identity has drifted"); + expectAffectedTreeUnchanged(target); + }); + + it("replaces the complete affected private package tree", () => { + const target = fixture(AFFECTED_UNDICI_VERSION); + + expect(patchBundledNpmUndici(target)).toMatchObject({ + undiciVersion: FIXED_UNDICI_VERSION, + npmVersion: REVIEWED_NPM_VERSION, + state: "fixed", + }); + expect(fs.existsSync(path.join(target.npmRoot, "node_modules", "undici", "old.js"))).toBe( + false, + ); + expect( + fs.readFileSync(path.join(target.npmRoot, "node_modules", "undici", "index.js"), "utf8"), + ).toBe("fixed\n"); + }); + + it("does not invoke npm or npx until the private package is replaced and verified", () => { + const target = fixture(AFFECTED_UNDICI_VERSION); + const commands: string[] = []; + const postPatchAssertions: Record void> = { + [process.execPath]: () => expect(verifyBundledNpmUndici(target.npmRoot).state).toBe("fixed"), + }; + + const result = patchBundledNpmUndiciFromRegistry(target.npmRoot, { + commandRunner(command) { + commands.push(command); + postPatchAssertions[command]?.(); + }, + prepareReplacement(commandRunner) { + commandRunner("curl", []); + commandRunner("tar", []); + return { + cleanup: () => commands.push("cleanup"), + replacementRoot: target.replacementRoot, + }; + }, + }); + + expect(result.state).toBe("fixed"); + expect(commands).toEqual(["curl", "tar", process.execPath, process.execPath, "cleanup"]); + }); + + it("rejects a downloaded archive with the wrong integrity before changing npm", () => { + const target = fixture(AFFECTED_UNDICI_VERSION); + const commandRunner = vi.fn((_command: string, args: readonly string[]) => { + fs.writeFileSync(String(args[args.indexOf("--output") + 1]), "tampered archive"); + }); + expect(() => patchBundledNpmUndiciFromRegistry(target.npmRoot, { commandRunner })).toThrow( + "undici replacement integrity mismatch", + ); + expect(commandRunner).toHaveBeenCalledTimes(1); + expectAffectedTreeUnchanged(target); + }); + + it("does not download when npm already contains the fixed release", () => { + const target = fixture(FIXED_UNDICI_VERSION); + const commands: string[] = []; + + expect( + patchBundledNpmUndiciFromRegistry(target.npmRoot, { + commandRunner: (command) => commands.push(command), + prepareReplacement: () => { + throw new Error("unexpected download"); + }, + }), + ).toMatchObject({ state: "fixed" }); + expect(commands).toEqual([process.execPath, process.execPath]); + expectAffectedTreeUnchanged(target); + }); + + it("restores the original package when the replacement rename fails", () => { + const target = fixture(AFFECTED_UNDICI_VERSION); + const originalRenameSync = fs.renameSync.bind(fs); + const renameSpy = vi + .spyOn(fs, "renameSync") + .mockImplementation(failReplacementRename(originalRenameSync)); + syncBuiltinESMExports(); + + try { + expect(() => patchBundledNpmUndici(target)).toThrow("injected replacement rename failure"); + } finally { + renameSpy.mockRestore(); + syncBuiltinESMExports(); + } + + expectAffectedTreeUnchanged(target); + expect(() => verifyBundledNpmUndici(target.npmRoot)).toThrow( + `affected undici@${AFFECTED_UNDICI_VERSION}`, + ); + }); + + it("restores the original package when post-swap verification fails", () => { + const target = fixture(AFFECTED_UNDICI_VERSION); + const livePath = path.join(target.npmRoot, "node_modules", "undici"); + const originalRenameSync = fs.renameSync.bind(fs); + const renameSpy = vi.spyOn(fs, "renameSync").mockImplementation( + corruptAfterReplacementRename( + originalRenameSync, + () => { + writeJson(path.join(livePath, "package.json"), { + ...packageManifest(FIXED_UNDICI_VERSION), + main: "unexpected.js", + }); + }, + false, + ), + ); + syncBuiltinESMExports(); + + try { + expect(() => patchBundledNpmUndici(target)).toThrow( + "npm bundled undici identity or package contract has drifted", + ); + } finally { + renameSpy.mockRestore(); + syncBuiltinESMExports(); + } + + expectAffectedTreeUnchanged(target); + expect(() => verifyBundledNpmUndici(target.npmRoot)).toThrow( + `affected undici@${AFFECTED_UNDICI_VERSION}`, + ); + }); + + it("keeps the verified replacement when backup cleanup is partial", () => { + const target = fixture(AFFECTED_UNDICI_VERSION); + const originalRmSync = fs.rmSync.bind(fs); + let injectedCleanupFailure = false; + const rmSpy = vi + .spyOn(fs, "rmSync") + .mockImplementationOnce(originalRmSync) + .mockImplementationOnce((targetPath) => { + injectedCleanupFailure = true; + originalRmSync(path.join(String(targetPath), "old.js"), { force: true }); + throw new Error("injected partial backup cleanup failure"); + }) + .mockImplementation(originalRmSync); + syncBuiltinESMExports(); + + try { + expect(patchBundledNpmUndici(target)).toMatchObject({ state: "fixed" }); + } finally { + rmSpy.mockRestore(); + syncBuiltinESMExports(); + } + + expect(injectedCleanupFailure).toBe(true); + expect(verifyBundledNpmUndici(target.npmRoot)).toMatchObject({ state: "fixed" }); + expect( + fs + .readdirSync(path.join(target.npmRoot, "node_modules")) + .some((entry) => entry.startsWith("undici.nemoclaw-backup-")), + ).toBe(false); + }); + + it("fails closed when the affected backup cannot be removed", () => { + const target = fixture(AFFECTED_UNDICI_VERSION); + const originalRmSync = fs.rmSync.bind(fs); + const rmSpy = vi + .spyOn(fs, "rmSync") + .mockImplementationOnce(originalRmSync) + .mockImplementationOnce(() => { + throw new Error("injected backup cleanup failure"); + }) + .mockImplementationOnce(() => { + throw new Error("injected backup cleanup retry failure"); + }) + .mockImplementation(originalRmSync); + syncBuiltinESMExports(); + + let failure: unknown; + try { + patchBundledNpmUndici(target); + } catch (error) { + failure = error; + } finally { + rmSpy.mockRestore(); + syncBuiltinESMExports(); + } + + expect(failure).toBeInstanceOf(AggregateError); + expect((failure as AggregateError).errors.map(String)).toEqual([ + "Error: injected backup cleanup failure", + "Error: injected backup cleanup retry failure", + ]); + expect(verifyBundledNpmUndici(target.npmRoot)).toMatchObject({ state: "fixed" }); + expect( + fs + .readdirSync(path.join(target.npmRoot, "node_modules")) + .some((entry) => entry.startsWith("undici.nemoclaw-backup-")), + ).toBe(true); + expect( + patchBundledNpmUndiciFromRegistry(target.npmRoot, { + commandRunner: () => {}, + prepareReplacement: () => { + throw new Error("unexpected download"); + }, + }), + ).toMatchObject({ state: "fixed" }); + expect( + fs + .readdirSync(path.join(target.npmRoot, "node_modules")) + .some((entry) => entry.startsWith("undici.nemoclaw-backup-")), + ).toBe(false); + }); + + it("refuses an unrecognized retained backup before commands or package mutation", () => { + const target = fixture(FIXED_UNDICI_VERSION); + const backup = path.join( + target.npmRoot, + "node_modules", + "undici.nemoclaw-backup-123-0123456789abcdef", + ); + writeJson(path.join(backup, "package.json"), packageManifest(FIXED_UNDICI_VERSION)); + const commandRunner = vi.fn(); + expect(() => patchBundledNpmUndiciFromRegistry(target.npmRoot, { commandRunner })).toThrow( + "retained backup cannot be verified", + ); + expect(() => patchBundledNpmUndici(target)).toThrow("retained backup cannot be verified"); + expect(commandRunner).not.toHaveBeenCalled(); + expect(fs.existsSync(path.join(backup, "package.json"))).toBe(true); + expectAffectedTreeUnchanged(target); + writeJson(path.join(backup, "package.json"), packageManifest(AFFECTED_UNDICI_VERSION)); + expect(patchBundledNpmUndici(target)).toMatchObject({ state: "fixed" }); + expect(fs.existsSync(backup)).toBe(false); + }); + + it("uses cached npm pack for Undici in offline environments", () => { + vi.stubEnv("NPM_CONFIG_OFFLINE", "true"); + const target = fixture(AFFECTED_UNDICI_VERSION); + const commands: string[] = []; + expect(() => + patchBundledNpmUndiciFromRegistry(target.npmRoot, { + commandRunner(command, args) { + commands.push(command); + const archive = path.join( + String(args[args.indexOf("--pack-destination") + 1]), + "undici-6.29.1.tgz", + ); + fs.writeFileSync(archive, "tampered archive"); + }, + }), + ).toThrow("undici replacement integrity mismatch"); + expect(commands).toEqual(["npm"]); + expectAffectedTreeUnchanged(target); + }); + + it("reports the original patch failure when rollback also fails", () => { + const target = fixture(AFFECTED_UNDICI_VERSION); + const livePath = path.join(target.npmRoot, "node_modules", "undici"); + const originalRenameSync = fs.renameSync.bind(fs); + const renameSpy = vi.spyOn(fs, "renameSync").mockImplementation( + corruptAfterReplacementRename( + originalRenameSync, + () => { + writeJson(path.join(livePath, "package.json"), { + ...packageManifest(FIXED_UNDICI_VERSION), + main: "unexpected.js", + }); + }, + true, + ), + ); + syncBuiltinESMExports(); + + let failure: unknown; + try { + patchBundledNpmUndici(target); + } catch (error) { + failure = error; + } finally { + renameSpy.mockRestore(); + syncBuiltinESMExports(); + } + + expect(failure).toBeInstanceOf(AggregateError); + expect((failure as AggregateError).errors.map(String)).toEqual([ + expect.stringContaining("npm bundled undici identity or package contract has drifted"), + "Error: injected rollback rename failure", + ]); + const backup = fs + .readdirSync(path.join(target.npmRoot, "node_modules")) + .find((entry) => entry.startsWith("undici.nemoclaw-backup-")); + expect(backup).toBeDefined(); + expect(fs.existsSync(path.join(target.npmRoot, "node_modules", String(backup), "old.js"))).toBe( + true, + ); + }); + + it("fails closed on npm layout drift and unsafe package members", () => { + const drifted = fixture(AFFECTED_UNDICI_VERSION); + writeJson(path.join(drifted.npmRoot, "package.json"), { name: "npm", version: "12.0.0" }); + expect(() => patchBundledNpmUndici(drifted)).toThrow("npm package identity has drifted"); + expectAffectedTreeUnchanged(drifted); + + const duplicate = fixture(AFFECTED_UNDICI_VERSION); + writeJson( + path.join(duplicate.npmRoot, "node_modules", "nested", "undici", "package.json"), + packageManifest(AFFECTED_UNDICI_VERSION), + ); + expect(() => patchBundledNpmUndici(duplicate)).toThrow("npm bundled undici layout has drifted"); + expectAffectedTreeUnchanged(duplicate); + + const unsafe = fixture(AFFECTED_UNDICI_VERSION); + fs.symlinkSync("package.json", path.join(unsafe.replacementRoot, "unsafe-link")); + expect(() => patchBundledNpmUndici(unsafe)).toThrow("unsafe member"); + expectAffectedTreeUnchanged(unsafe); + + const escapingBinLink = fixture(AFFECTED_UNDICI_VERSION); + const outsideNodeModules = path.join(path.dirname(escapingBinLink.npmRoot), "outside.js"); + fs.writeFileSync(outsideNodeModules, "outside\n"); + fs.symlinkSync( + "../../../../outside.js", + path.join(escapingBinLink.npmRoot, "node_modules", ".bin", "escape"), + ); + expect(() => patchBundledNpmUndici(escapingBinLink)).toThrow( + "npm package contains an unsafe symlink", + ); + expectAffectedTreeUnchanged(escapingBinLink); + }); +}); diff --git a/test/install/remediate-openclaw-runtime-dependencies.test.ts b/test/install/remediate-openclaw-runtime-dependencies.test.ts new file mode 100644 index 00000000000..4620fe53ee4 --- /dev/null +++ b/test/install/remediate-openclaw-runtime-dependencies.test.ts @@ -0,0 +1,537 @@ +// SPDX-FileCopyrightText: Copyright (c) 2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. +// SPDX-License-Identifier: Apache-2.0 + +import fs, { + existsSync, + mkdirSync, + mkdtempSync, + readFileSync, + rmSync, + symlinkSync, + writeFileSync, +} from "node:fs"; +import { tmpdir } from "node:os"; +import { join } from "node:path"; +import { createHash } from "node:crypto"; +import { syncBuiltinESMExports } from "node:module"; +import { afterEach, describe, expect, it, vi } from "vitest"; +import { + interruptMetadataWrite, + replaceAfterMetadataRead, + failMetadataDirectorySync, +} from "../support/metadata-write-faults"; +import { OPENCLAW_MANAGED_PLUGIN_WORKSPACE } from "../fixtures/openclaw-managed-plugin-workspace"; +import { + remediateOpenClawRuntimeDependencies, + patchOpenClawManagedPluginOverrides, +} from "../../scripts/lib/remediate-openclaw-runtime-dependencies.mts"; + +const directories: string[] = []; +function fixture(installedVersion = "8.12.3") { + const root = mkdtempSync(join(tmpdir(), "nemoclaw-runtime-security-")); + directories.push(root); + const legacy = join(root, "node_modules/openclaw/node_modules/undici"); + const replacement = join(root, "node_modules/undici"); + mkdirSync(legacy, { recursive: true }); + mkdirSync(replacement, { recursive: true }); + writeFileSync( + join(root, "node_modules/openclaw/package.json"), + JSON.stringify({ name: "openclaw", version: "2026.9.7" }), + ); + writeFileSync( + join(legacy, "package.json"), + JSON.stringify({ name: "undici", version: "8.10.2" }), + ); + writeFileSync(join(legacy, "original.js"), "original"); + writeFileSync( + join(replacement, "package.json"), + JSON.stringify({ name: "undici", version: installedVersion }), + ); + const lockfile = join(root, "package-lock.json"); + writeFileSync( + lockfile, + JSON.stringify({ + lockfileVersion: 3, + packages: { + "": { dependencies: { openclaw: "2026.9.7", undici: "8.12.3" } }, + "node_modules/openclaw": { version: "2026.9.7" }, + "node_modules/undici": { version: "8.12.3" }, + }, + }), + ); + return { + root, + legacy, + replacement, + lockfile, + replacementManifest: join(replacement, "package.json"), + backupManifest: join( + root, + "node_modules/openclaw/node_modules/.undici-security-remediation-backup/package.json", + ), + }; +} +afterEach(() => { + vi.restoreAllMocks(); + syncBuiltinESMExports(); + for (const directory of directories.splice(0)) + rmSync(directory, { recursive: true, force: true }); +}); + +describe("OpenClaw migration HTTP dependency remediation", () => { + it("removes the bundled copy only when the consumer resolves the reviewed replacement", () => { + const target = fixture(); + const originalLock = readFileSync(target.lockfile, "utf8"); + remediateOpenClawRuntimeDependencies(target.root); + expect(existsSync(target.legacy)).toBe(false); + expect(readFileSync(target.lockfile, "utf8")).toBe(originalLock); + remediateOpenClawRuntimeDependencies(target.root); + expect(readFileSync(target.lockfile, "utf8")).toBe(originalLock); + }); + + it("rechecks the resolved package on an already remediated installation", () => { + const target = fixture(); + remediateOpenClawRuntimeDependencies(target.root); + writeFileSync( + join(target.replacement, "package.json"), + JSON.stringify({ name: "undici", version: "8.10.2" }), + ); + expect(() => remediateOpenClawRuntimeDependencies(target.root)).toThrow( + "HTTP client identity mismatch", + ); + expect(existsSync(target.legacy)).toBe(false); + }); + + it("retries retained backup cleanup after verifying the replacement", () => { + const target = fixture(); + const backup = join( + fs.realpathSync(target.root), + "node_modules/openclaw/node_modules/.undici-security-remediation-backup", + ); + const originalLock = readFileSync(target.lockfile); + const replacement = readFileSync(target.replacementManifest); + const failure = vi.spyOn(fs, "rmSync").mockImplementation((filename) => { + expect(filename).toBe(backup); + throw new Error("injected backup cleanup failure"); + }); + syncBuiltinESMExports(); + expect(() => remediateOpenClawRuntimeDependencies(target.root)).toThrow(/cleanup/); + expect(existsSync(target.legacy)).toBe(false); + expect(readFileSync(join(backup, "original.js"), "utf8")).toBe("original"); + expect(() => remediateOpenClawRuntimeDependencies(target.root)).toThrow(backup); + expect(readFileSync(join(backup, "original.js"), "utf8")).toBe("original"); + failure.mockRestore(); + syncBuiltinESMExports(); + + remediateOpenClawRuntimeDependencies(target.root); + expect(existsSync(backup)).toBe(false); + expect(existsSync(target.legacy)).toBe(false); + expect(readFileSync(target.replacementManifest)).toEqual(replacement); + expect(readFileSync(target.lockfile)).toEqual(originalLock); + }); + + it.each([ + { + condition: "wrong identity", + mutate: (target: ReturnType, backup: string) => + writeFileSync( + join(backup, "package.json"), + JSON.stringify({ name: "other", version: "8.10.2" }), + ), + }, + { + condition: "unsafe member", + mutate: (target: ReturnType, backup: string) => + symlinkSync(target.replacement, join(backup, "unsafe")), + }, + { + condition: "linked backup", + mutate: (target: ReturnType, backup: string) => { + const retained = join(target.root, "retained"); + fs.renameSync(backup, retained); + symlinkSync(retained, backup); + }, + }, + { + condition: "linked parent", + mutate: (target: ReturnType) => { + const parent = join(target.root, "node_modules/openclaw/node_modules"); + const retained = join(target.root, "retained-dependencies"); + fs.renameSync(parent, retained); + symlinkSync(retained, parent); + }, + }, + { + condition: "invalid replacement", + mutate: (target: ReturnType) => + writeFileSync( + target.replacementManifest, + JSON.stringify({ name: "undici", version: "8.10.2" }), + ), + }, + { + condition: "both copies", + mutate: (target: ReturnType, backup: string) => + fs.cpSync(backup, target.legacy, { recursive: true }), + }, + ])("preserves a retained backup when recovery finds $condition", ({ condition, mutate }) => { + const target = fixture(); + const backup = join( + fs.realpathSync(target.root), + "node_modules/openclaw/node_modules/.undici-security-remediation-backup", + ); + const originalLock = readFileSync(target.lockfile); + fs.renameSync(target.legacy, backup); + mutate(target, backup); + const before = readFileSync(target.backupManifest); + expect(() => remediateOpenClawRuntimeDependencies(target.root)).toThrow(); + expect(readFileSync(join(backup, "original.js"), "utf8")).toBe("original"); + expect(readFileSync(target.backupManifest)).toEqual(before); + expect(readFileSync(target.lockfile)).toEqual(originalLock); + expect(existsSync(target.legacy)).toBe(condition === "both copies"); + }); + + it("restores the original copy when replacement verification fails", () => { + const target = fixture("8.10.2"); + const originalLock = readFileSync(target.lockfile, "utf8"); + expect(() => remediateOpenClawRuntimeDependencies(target.root)).toThrow( + "HTTP client identity mismatch", + ); + expect(readFileSync(join(target.legacy, "original.js"), "utf8")).toBe("original"); + expect(readFileSync(target.lockfile, "utf8")).toBe(originalLock); + }); + + it("rejects a linked dependency without changing its target", () => { + const target = fixture(); + const outside = join(target.root, "outside"); + mkdirSync(outside); + writeFileSync(join(outside, "sentinel"), "preserved"); + rmSync(target.legacy, { recursive: true }); + symlinkSync(outside, target.legacy); + expect(() => remediateOpenClawRuntimeDependencies(target.root)).toThrow( + "must be a real directory", + ); + expect(readFileSync(join(outside, "sentinel"), "utf8")).toBe("preserved"); + }); + + it("rejects a replaced lock pathname without changing either file", () => { + const target = fixture(); + const opened = join(target.root, "opened-lock.json"); + const originalLock = readFileSync(target.lockfile); + const originalRead = fs.readFileSync; + vi.spyOn(fs, "readFileSync").mockImplementationOnce((descriptor) => { + const contents = originalRead(descriptor, "utf8"); + fs.renameSync(target.lockfile, opened); + writeFileSync(target.lockfile, "replacement must remain unchanged"); + return contents; + }); + expect(() => remediateOpenClawRuntimeDependencies(target.root, { updateLock: true })).toThrow( + "changed before writing", + ); + expect(readFileSync(target.lockfile, "utf8")).toBe("replacement must remain unchanged"); + expect(readFileSync(opened)).toEqual(originalLock); + }); + + it("rejects lock contents changed since the initial review", () => { + const target = fixture(); + const originalRead = fs.readFileSync; + vi.spyOn(fs, "readFileSync").mockImplementationOnce((descriptor) => { + writeFileSync(target.lockfile, '{"changed":true}\n'); + return originalRead(descriptor, "utf8"); + }); + expect(() => remediateOpenClawRuntimeDependencies(target.root, { updateLock: true })).toThrow( + "metadata changed before writing", + ); + expect(readFileSync(target.lockfile, "utf8")).toBe('{"changed":true}\n'); + }); + + it("refuses a stale lock instead of quietly changing its reviewed identity", () => { + const target = fixture(); + const lock = JSON.parse(readFileSync(target.lockfile, "utf8")); + lock.packages["node_modules/openclaw/node_modules/undici"] = { + version: "8.10.2", + inBundle: true, + }; + writeFileSync(target.lockfile, JSON.stringify(lock)); + expect(() => remediateOpenClawRuntimeDependencies(target.root)).toThrow( + "retains an unremediated bundled HTTP client", + ); + expect(readFileSync(join(target.legacy, "original.js"), "utf8")).toBe("original"); + }); +}); + +function workspaceFixture() { + const { root } = fixture(); + const owner = join(root, "node_modules/openclaw"); + writeFileSync( + join(owner, "package.json"), + JSON.stringify({ name: "openclaw", version: "2026.10.5" }), + ); + const workspace = join(owner, "pnpm-workspace.yaml"); + writeFileSync(workspace, OPENCLAW_MANAGED_PLUGIN_WORKSPACE, { mode: 0o600 }); + return { root, owner, workspace }; +} + +function readWorkspaceSnapshot(workspace: string) { + const descriptor = fs.openSync(workspace, fs.constants.O_RDONLY | fs.constants.O_NOFOLLOW); + try { + return { contents: readFileSync(descriptor), mode: fs.fstatSync(descriptor).mode & 0o777 }; + } finally { + fs.closeSync(descriptor); + } +} + +describe("OpenClaw managed plugin security overrides", () => { + it("preserves a workspace changed while replacement bytes are being staged", () => { + const { owner, workspace } = workspaceFixture(); + const entries = fs.readdirSync(owner).sort(); + const write = fs.writeSync; + vi.spyOn(fs, "writeSync").mockImplementationOnce((descriptor, bytes, ...args) => { + const written = write(descriptor, bytes, ...args); + writeFileSync(workspace, "concurrent owner data"); + return written; + }); + expect(() => patchOpenClawManagedPluginOverrides(owner)).toThrow("changed before writing"); + expect(readFileSync(workspace, "utf8")).toBe("concurrent owner data"); + expect(fs.readdirSync(owner).sort()).toEqual(entries); + }); + + it.each(["fchmodSync", "fsyncSync", "renameSync"] as const)( + "preserves the workspace when %s fails before replacement and permits retry", + (operation) => { + const { owner, workspace } = workspaceFixture(); + const original = readWorkspaceSnapshot(workspace); + const entries = fs.readdirSync(owner).sort(); + const failure = vi.spyOn(fs, operation).mockImplementationOnce(() => { + throw new Error("injected metadata publication failure"); + }); + expect(() => patchOpenClawManagedPluginOverrides(owner)).toThrow( + "injected metadata publication failure", + ); + expect(readWorkspaceSnapshot(workspace)).toEqual(original); + expect(fs.readdirSync(owner).sort()).toEqual(entries); + failure.mockRestore(); + patchOpenClawManagedPluginOverrides(owner); + expect(createHash("sha256").update(readFileSync(workspace)).digest("hex")).toBe( + "c48734878ccb1de613af3307aa42f26cb8d6add6ca1e2dc95a2761ff671e20bb", + ); + expect(readWorkspaceSnapshot(workspace).mode).toBe(original.mode); + }, + ); + + it("rejects corrupted staging bytes without replacing the workspace", () => { + const { owner, workspace } = workspaceFixture(); + const original = readWorkspaceSnapshot(workspace); + const entries = fs.readdirSync(owner).sort(); + const write = fs.writeSync; + vi.spyOn(fs, "writeSync").mockImplementationOnce((descriptor, bytes) => + write(descriptor, Buffer.alloc(bytes.length)), + ); + expect(() => patchOpenClawManagedPluginOverrides(owner)).toThrow( + "staged contents failed verification", + ); + expect(readWorkspaceSnapshot(workspace)).toEqual(original); + expect(fs.readdirSync(owner).sort()).toEqual(entries); + }); + + // source-shape-contract: compatibility -- Exact runtime metadata bytes must survive interrupted remediation so the original package manager can retry safely. + it.each(["workspace", "manifest", "lock"] as const)( + "preserves %s metadata after a partial write failure and permits retry", + (kind) => { + const { root, owner, workspace } = workspaceFixture(); + const manifest = join(owner, "package.json"); + const lock = join(root, "package-lock.json"); + writeFileSync( + manifest, + JSON.stringify({ + name: "openclaw", + version: "2026.10.5", + dependencies: { undici: "8.11.2", npm: "12.2.0" }, + }), + ); + writeFileSync( + lock, + JSON.stringify({ + lockfileVersion: 3, + packages: { "node_modules/openclaw": { version: "2026.10.5" } }, + }), + ); + const filename = { workspace, manifest, lock }[kind]; + const original = readFileSync(filename); + const entries = fs.readdirSync(kind === "lock" ? root : owner).sort(); + const marker = { + workspace: "overrides:\n", + manifest: '"name": "openclaw"', + lock: '"lockfileVersion"', + }[kind]; + const prefixLength = { + workspace: (contents: string) => contents.indexOf("@azure/msal-node") + 10, + manifest: (_contents: string) => 7, + lock: (_contents: string) => 7, + }[kind]; + const failure = interruptMetadataWrite(marker, prefixLength); + expect(() => remediateOpenClawRuntimeDependencies(root, { updateLock: true })).toThrow( + "injected partial metadata write failure", + ); + expect(readWorkspaceSnapshot(filename).contents).toEqual(original); + expect(fs.readdirSync(kind === "lock" ? root : owner).sort()).toEqual(entries); + failure.mockRestore(); + remediateOpenClawRuntimeDependencies(root, { updateLock: true }); + expect(createHash("sha256").update(readFileSync(workspace)).digest("hex")).toBe( + "c48734878ccb1de613af3307aa42f26cb8d6add6ca1e2dc95a2761ff671e20bb", + ); + expect(JSON.parse(readFileSync(manifest, "utf8")).dependencies).toEqual({ + undici: "8.12.3", + npm: "12.2.1", + }); + expect( + JSON.parse(readFileSync(lock, "utf8")).packages["node_modules/openclaw"].dependencies, + ).toEqual({ + undici: "8.12.3", + npm: "12.2.1", + }); + }, + ); + + it("reports directory sync failure and retries complete published metadata", () => { + const { owner, workspace } = workspaceFixture(); + const entries = fs.readdirSync(owner).sort(); + const failure = failMetadataDirectorySync(); + expect(() => patchOpenClawManagedPluginOverrides(owner)).toThrow("directory sync failed"); + expect(createHash("sha256").update(readFileSync(workspace)).digest("hex")).toBe( + "c48734878ccb1de613af3307aa42f26cb8d6add6ca1e2dc95a2761ff671e20bb", + ); + expect(fs.readdirSync(owner).sort()).toEqual(entries); + // Already patched bytes must not hide an incomplete directory publication on retry. + expect(() => patchOpenClawManagedPluginOverrides(owner)).toThrow("directory sync failed"); + failure.mockRestore(); + patchOpenClawManagedPluginOverrides(owner); + expect(createHash("sha256").update(readFileSync(workspace)).digest("hex")).toBe( + "c48734878ccb1de613af3307aa42f26cb8d6add6ca1e2dc95a2761ff671e20bb", + ); + expect(fs.readdirSync(owner).sort()).toEqual(entries); + }); + + it("patches the reviewed workspace and remains idempotent", () => { + const { owner, workspace } = workspaceFixture(); + patchOpenClawManagedPluginOverrides(owner); + const patched = readWorkspaceSnapshot(workspace); + expect(createHash("sha256").update(patched.contents).digest("hex")).toBe( + "c48734878ccb1de613af3307aa42f26cb8d6add6ca1e2dc95a2761ff671e20bb", + ); + expect(patched.mode).toBe(0o600); + patchOpenClawManagedPluginOverrides(owner); + expect(readWorkspaceSnapshot(workspace)).toEqual(patched); + }); + + it.skipIf(process.platform === "win32")("rejects a symlink without changing its target", () => { + const { root, owner, workspace } = workspaceFixture(); + const target = join(root, "target.yaml"); + fs.renameSync(workspace, target); + symlinkSync(target, workspace); + expect(() => patchOpenClawManagedPluginOverrides(owner)).toThrow(); + expect(readFileSync(target, "utf8")).toBe(OPENCLAW_MANAGED_PLUGIN_WORKSPACE); + }); + + it("does not follow a pathname replaced after reading the workspace", () => { + const { root, owner, workspace } = workspaceFixture(); + const opened = join(root, "opened.yaml"); + const originalRead = fs.readFileSync; + vi.spyOn(fs, "readFileSync").mockImplementationOnce((descriptor) => { + const contents = originalRead(descriptor, "utf8"); + fs.renameSync(workspace, opened); + writeFileSync(workspace, "replacement must remain unchanged"); + return contents; + }); + expect(() => patchOpenClawManagedPluginOverrides(owner)).toThrow("changed before writing"); + expect(readFileSync(workspace, "utf8")).toBe("replacement must remain unchanged"); + expect(readFileSync(opened, "utf8")).toBe(OPENCLAW_MANAGED_PLUGIN_WORKSPACE); + }); + + it("completes a short write at the correct offset", () => { + const { owner, workspace } = workspaceFixture(); + const originalWrite = fs.writeSync; + vi.spyOn(fs, "writeSync").mockImplementationOnce((descriptor, bytes) => + originalWrite(descriptor, Buffer.from(bytes), 0, 7, 0), + ); + patchOpenClawManagedPluginOverrides(owner); + expect(createHash("sha256").update(readFileSync(workspace)).digest("hex")).toBe( + "c48734878ccb1de613af3307aa42f26cb8d6add6ca1e2dc95a2761ff671e20bb", + ); + }); + + it("fails a stalled write and closes the opened file", () => { + const { owner, workspace } = workspaceFixture(); + vi.spyOn(fs, "writeSync").mockReturnValueOnce(0); + const opened = vi.spyOn(fs, "openSync"); + expect(() => patchOpenClawManagedPluginOverrides(owner)).toThrow("write made no progress"); + expect(opened.mock.results).toHaveLength(2); + expect(opened.mock.results[0].type).toBe("return"); + expect(opened.mock.results[1].type).toBe("return"); + expect(() => fs.fstatSync(opened.mock.results[0].value)).toThrow(); + expect(() => fs.fstatSync(opened.mock.results[1].value)).toThrow(); + expect(readFileSync(workspace, "utf8")).toBe(OPENCLAW_MANAGED_PLUGIN_WORKSPACE); + }); + + it("rejects a missing workspace without creating it", () => { + const { owner, workspace } = workspaceFixture(); + rmSync(workspace); + expect(() => patchOpenClawManagedPluginOverrides(owner)).toThrow(); + expect(existsSync(workspace)).toBe(false); + }); + + it("rejects a replaced runtime manifest without changing either file or the lock", () => { + const { root, owner, workspace } = workspaceFixture(); + const ownerFile = join(owner, "package.json"); + writeFileSync( + ownerFile, + JSON.stringify({ + name: "openclaw", + version: "2026.10.5", + dependencies: { undici: "8.11.2", npm: "12.2.0" }, + }), + ); + const lockfile = join(root, "package-lock.json"); + writeFileSync( + lockfile, + JSON.stringify({ + lockfileVersion: 3, + packages: { "node_modules/openclaw": { version: "2026.10.5" } }, + }), + ); + const opened = join(root, "opened-manifest.json"); + const originalLock = readFileSync(lockfile); + replaceAfterMetadataRead('"npm":"12.2.0"', () => { + fs.renameSync(ownerFile, opened); + writeFileSync(ownerFile, JSON.stringify({ name: "replacement", untouched: true })); + }); + expect(() => remediateOpenClawRuntimeDependencies(root, { updateLock: true })).toThrow( + "changed before writing", + ); + expect(JSON.parse(readFileSync(ownerFile, "utf8"))).toEqual({ + name: "replacement", + untouched: true, + }); + expect(JSON.parse(readFileSync(opened, "utf8")).dependencies).toEqual({ + undici: "8.11.2", + npm: "12.2.0", + }); + expect(readFileSync(lockfile)).toEqual(originalLock); + expect(createHash("sha256").update(readFileSync(workspace)).digest("hex")).toBe( + "c48734878ccb1de613af3307aa42f26cb8d6add6ca1e2dc95a2761ff671e20bb", + ); + }); + + it("rejects workspace source drift without changing the file", () => { + const { root } = fixture(); + const owner = join(root, "node_modules/openclaw"); + writeFileSync( + join(owner, "package.json"), + JSON.stringify({ name: "openclaw", version: "2026.10.5" }), + ); + const workspace = join(owner, "pnpm-workspace.yaml"); + writeFileSync(workspace, "overrides: {}\n"); + expect(() => patchOpenClawManagedPluginOverrides(owner)).toThrow("source integrity mismatch"); + expect(readFileSync(workspace, "utf8")).toBe("overrides: {}\n"); + }); +}); diff --git a/test/runtime/messaging/messaging-build-applier-integrity.test.ts b/test/runtime/messaging/messaging-build-applier-integrity.test.ts index 89f5d3ecde0..4b8c2a9bf74 100644 --- a/test/runtime/messaging/messaging-build-applier-integrity.test.ts +++ b/test/runtime/messaging/messaging-build-applier-integrity.test.ts @@ -783,7 +783,7 @@ describe("messaging-build-applier.mts: plugin archive integrity", () => { try { [ ...dockerfile.matchAll( - /^COPY (src\/lib\/messaging\/|scripts\/lib\/(?:openclaw-npm-remediation|reviewed-npm-archive)\.mts) (\/\S+)$/gm, + /^COPY (src\/lib\/messaging\/|scripts\/lib\/(?:bundled-npm-package|openclaw-npm-remediation|reviewed-npm-archive)\.mts) (\/\S+)$/gm, ), ].forEach((copy) => { const source = copy[1] ?? ""; @@ -1379,6 +1379,7 @@ describe("messaging-build-applier.mts: plugin archive integrity", () => { OPENCLAW_SLACK_INTEGRITY: OPENCLAW_SLACK_2026_9_1_INTEGRITY, OPENCLAW_PACK_INTEGRITY_OVERRIDE: OPENCLAW_SLACK_2026_9_1_INTEGRITY, OPENCLAW_PACK_FILENAME_OVERRIDE: "../slack-2026.9.1.tgz", + TMPDIR: tmp, OPENCLAW_VERSION: "2026.9.1", NEMOCLAW_MESSAGING_CHANNELS_B64: channelsB64(["slack"]), }, diff --git a/test/support/bundled-npm-recovery-faults.ts b/test/support/bundled-npm-recovery-faults.ts new file mode 100644 index 00000000000..894f31e6a98 --- /dev/null +++ b/test/support/bundled-npm-recovery-faults.ts @@ -0,0 +1,95 @@ +// SPDX-FileCopyrightText: Copyright (c) 2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. +// SPDX-License-Identifier: Apache-2.0 + +import fs from "node:fs"; +import path from "node:path"; + +export function alterBackupCopy( + copy: typeof fs.cpSync, + live: string, + mutate: (destination: string) => void, +): typeof fs.cpSync { + return (source, destination, options) => { + copy(source, destination, options); + if (String(source) === live) mutate(String(destination)); + }; +} + +export function racePackageFileOpen( + open: typeof fs.openSync, + target: string, + mutate: () => void, + afterOpen = false, +): typeof fs.openSync { + let injected = false; + return (file, flags, mode) => { + if (String(file) !== target || injected) return open(file, flags, mode); + injected = true; + if (afterOpen) { + const descriptor = open(file, flags, mode); + mutate(); + return descriptor; + } + mutate(); + return open(file, flags, mode); + }; +} + +export function snapshotBackupFiles(directory: string): Record { + return Object.fromEntries( + fs + .readdirSync(directory) + .sort() + .map((name) => [name, fs.readFileSync(path.join(directory, name))]), + ); +} + +export function failReplacementRename(rename: typeof fs.renameSync): typeof fs.renameSync { + return (source, destination) => { + if (String(source).endsWith("/replacement")) { + throw new Error("injected replacement rename failure"); + } + rename(source, destination); + }; +} + +export function corruptAfterReplacementRename( + rename: typeof fs.renameSync, + corrupt: () => void, + failRollback = false, +): typeof fs.renameSync { + return (source, destination) => { + if (failRollback && String(source).includes(".nemoclaw-backup-")) { + throw new Error("injected rollback rename failure"); + } + rename(source, destination); + if (String(source).endsWith("/replacement")) corrupt(); + }; +} + +export function alterPublishedBackup( + fixture: { root: string; live: string; parent: string }, + markerPath: string, + scenario: string, +): string { + const marker = JSON.parse(fs.readFileSync(markerPath, "utf8")); + const backup = path.join(fixture.parent, marker.backup.name); + let retainedBackup = backup; + if (scenario === "changed-live") fs.writeFileSync(path.join(fixture.live, "payload"), "new"); + if (scenario === "partial-backup") fs.unlinkSync(path.join(backup, "payload")); + if (scenario === "changed-backup") fs.writeFileSync(path.join(backup, "payload"), "new"); + if (scenario === "wrong-inode") marker.backup.inode = -1; + if (scenario === "wrong-digest") marker.backup.digest = "0".repeat(64); + if (scenario === "escaped-name") marker.backup.name = `../${marker.backup.name}`; + if (scenario === "linked-backup") { + retainedBackup = path.join(fixture.root, "outside-backup"); + fs.renameSync(backup, retainedBackup); + fs.symlinkSync(retainedBackup, backup); + } + if (scenario === "hardlinked-file") + fs.linkSync(path.join(backup, "payload"), path.join(fixture.root, "linked-payload")); + if (scenario === "multiple-backups") fs.cpSync(backup, `${backup}0`, { recursive: true }); + fs.writeFileSync(markerPath, JSON.stringify(marker)); + if (scenario === "missing-marker") fs.unlinkSync(markerPath); + return retainedBackup; +} diff --git a/test/support/metadata-write-faults.ts b/test/support/metadata-write-faults.ts new file mode 100644 index 00000000000..1df771750c3 --- /dev/null +++ b/test/support/metadata-write-faults.ts @@ -0,0 +1,43 @@ +// SPDX-FileCopyrightText: Copyright (c) 2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. +// SPDX-License-Identifier: Apache-2.0 + +import fs from "node:fs"; +import { vi } from "vitest"; + +/** Interrupt the selected metadata write only after the filesystem accepts a prefix. */ +export function interruptMetadataWrite(marker: string, prefixLength: (contents: string) => number) { + const write = fs.writeSync; + let interrupted: number | undefined; + return vi.spyOn(fs, "writeSync").mockImplementation((descriptor, bytes, ...args) => { + if (descriptor === interrupted) throw new Error("injected partial metadata write failure"); + const contents = Buffer.from(bytes).toString(); + if (contents.includes(marker)) { + interrupted = descriptor; + return write(descriptor, Buffer.from(bytes), 0, prefixLength(contents), 0); + } + return write(descriptor, bytes, ...args); + }); +} + +/** Model another owner replacing metadata immediately after the selected read. */ +export function replaceAfterMetadataRead(marker: string, replace: () => void) { + const read = fs.readFileSync; + let replaced = false; + return vi.spyOn(fs, "readFileSync").mockImplementation((descriptor, ...args) => { + const contents = read(descriptor, ...args); + if (!replaced && contents.toString().includes(marker)) { + replaced = true; + replace(); + } + return contents; + }); +} + +/** Fail directory publication while allowing staged file contents to sync. */ +export function failMetadataDirectorySync() { + const sync = fs.fsyncSync; + return vi.spyOn(fs, "fsyncSync").mockImplementation((descriptor) => { + if (fs.fstatSync(descriptor).isDirectory()) throw new Error("directory sync failed"); + sync(descriptor); + }); +}