From 53091ff7093ad17df606c0ed29530df36f52d1b7 Mon Sep 17 00:00:00 2001 From: Volodymyr Vreshch Date: Sun, 8 Nov 2026 00:05:10 +0100 Subject: [PATCH 01/38] Initial commit --- template/LICENSE | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 template/LICENSE diff --git a/template/LICENSE b/template/LICENSE new file mode 100644 index 0000000..b68dd64 --- /dev/null +++ b/template/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2026 agentage + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. From 00d9cadd0671c9ee4eadff2119013922f542f733 Mon Sep 17 00:00:00 2001 From: Volodymyr Vreshch Date: Sun, 8 Nov 2026 01:04:06 +0100 Subject: [PATCH 02/38] feat: the extension starting point, seven parts from probe (#1) * feat: the extension starting point, seven parts from probe * docs: cli 0.43 build rule; edit the parts table after create * feat(release): carry release.yml and the guard; refuse to release itself * docs: no id literal in tables (create keeps the widths) * chore: repo-doctor (prepublishOnly, waivers, README verify) * fix: ui-only build, contract files per part, review notes Claude-Session: https://claude.ai/code/session_01XQkodjcXRj9XV1ZhGuYQQr --- template/.github/dependabot.yml | 35 + template/.github/workflows/ci.yml | 104 + template/.github/workflows/release.yml | 118 + template/.gitignore | 12 + template/.npmrc | 1 + template/.prettierignore | 8 + template/.prettierrc | 7 + template/.repo-class | 1 + template/.repo-doctor.yml | 11 + template/CLAUDE.md | 119 + template/README.md | 17 + template/eslint.config.mjs | 67 + template/migrations/001-pings.sql | 5 + template/openapi.json | 194 + template/package-lock.json | 9326 ++++++++++++++++++++++++ template/package.json | 108 + template/playwright.config.ts | 17 + template/scripts/image-smoke.sh | 26 + template/scripts/release-guard.sh | 60 + template/scripts/release-guard.test.ts | 169 + template/seeds/001-ping.sql | 2 + template/src/api/echo.schema.ts | 7 + template/src/api/index.test.ts | 100 + template/src/api/index.ts | 28 + template/src/api/openapi.test.ts | 97 + template/src/cli/index.test.ts | 17 + template/src/cli/index.ts | 12 + template/src/manifest.test.ts | 63 + template/src/mcp/index.test.ts | 67 + template/src/mcp/index.ts | 16 + template/src/pages/index.test.ts | 13 + template/src/pages/index.ts | 4 + template/src/ui/echo.tsx | 20 + template/src/ui/harness.spec.ts | 29 + template/src/ui/index.ts | 3 + template/src/worker/index.test.ts | 21 + template/src/worker/index.ts | 6 + template/template.mcpc.json | 35 + template/tsconfig.build.json | 9 + template/tsconfig.eslint.json | 8 + template/tsconfig.json | 29 + template/vitest.config.ts | 18 + 42 files changed, 11009 insertions(+) create mode 100644 template/.github/dependabot.yml create mode 100644 template/.github/workflows/ci.yml create mode 100644 template/.github/workflows/release.yml create mode 100644 template/.gitignore create mode 100644 template/.npmrc create mode 100644 template/.prettierignore create mode 100644 template/.prettierrc create mode 100644 template/.repo-class create mode 100644 template/.repo-doctor.yml create mode 100644 template/CLAUDE.md create mode 100644 template/README.md create mode 100644 template/eslint.config.mjs create mode 100644 template/migrations/001-pings.sql create mode 100644 template/openapi.json create mode 100644 template/package-lock.json create mode 100644 template/package.json create mode 100644 template/playwright.config.ts create mode 100755 template/scripts/image-smoke.sh create mode 100755 template/scripts/release-guard.sh create mode 100644 template/scripts/release-guard.test.ts create mode 100644 template/seeds/001-ping.sql create mode 100644 template/src/api/echo.schema.ts create mode 100644 template/src/api/index.test.ts create mode 100644 template/src/api/index.ts create mode 100644 template/src/api/openapi.test.ts create mode 100644 template/src/cli/index.test.ts create mode 100644 template/src/cli/index.ts create mode 100644 template/src/manifest.test.ts create mode 100644 template/src/mcp/index.test.ts create mode 100644 template/src/mcp/index.ts create mode 100644 template/src/pages/index.test.ts create mode 100644 template/src/pages/index.ts create mode 100644 template/src/ui/echo.tsx create mode 100644 template/src/ui/harness.spec.ts create mode 100644 template/src/ui/index.ts create mode 100644 template/src/worker/index.test.ts create mode 100644 template/src/worker/index.ts create mode 100644 template/template.mcpc.json create mode 100644 template/tsconfig.build.json create mode 100644 template/tsconfig.eslint.json create mode 100644 template/tsconfig.json create mode 100644 template/vitest.config.ts diff --git a/template/.github/dependabot.yml b/template/.github/dependabot.yml new file mode 100644 index 0000000..8dcf705 --- /dev/null +++ b/template/.github/dependabot.yml @@ -0,0 +1,35 @@ +version: 2 +updates: + - package-ecosystem: 'npm' + directory: '/' + schedule: + interval: 'weekly' + day: 'friday' + time: '16:07' + timezone: 'Etc/UTC' + assignees: + - 'vreshch' + open-pull-requests-limit: 10 + ignore: + # typescript-eslint peer-caps typescript - drop when it supports the next major + - dependency-name: 'typescript' + update-types: ['version-update:semver-major'] + groups: + all-dependencies: + patterns: + - '*' + + - package-ecosystem: 'github-actions' + directory: '/' + schedule: + interval: 'weekly' + day: 'friday' + time: '16:07' + timezone: 'Etc/UTC' + assignees: + - 'vreshch' + open-pull-requests-limit: 5 + groups: + all-actions: + patterns: + - '*' diff --git a/template/.github/workflows/ci.yml b/template/.github/workflows/ci.yml new file mode 100644 index 0000000..4acfd1c --- /dev/null +++ b/template/.github/workflows/ci.yml @@ -0,0 +1,104 @@ +name: CI + +on: + push: + branches: [master] + pull_request: + branches: [master] + +concurrency: + group: ci-${{ github.ref }} + cancel-in-progress: true + +permissions: + contents: read + +jobs: + verify: + name: Verify + runs-on: ubuntu-latest + timeout-minutes: 15 + steps: + - name: Checkout + uses: actions/checkout@v7 + + - name: Setup Node.js + uses: actions/setup-node@v7 + with: + node-version: 22 + cache: 'npm' + + - name: Install + run: npm ci + + - name: Verify (type-check, lint, format, test with coverage, build) + run: npm run verify + + - name: Conformance (the kit's six rules; the store rule uses the runner's docker) + run: node_modules/.bin/agentage extension check + + local: + name: up and the e2e gate on local + runs-on: ubuntu-latest + # The gate on local stays under 10 minutes; slower is a regression. + timeout-minutes: 10 + steps: + - name: Checkout + uses: actions/checkout@v7 + + - name: Setup Node.js + uses: actions/setup-node@v7 + with: + node-version: 22 + cache: 'npm' + + - name: Install (and Chromium for the widget test; the runner has its OS libraries) + run: | + npm ci + npx playwright install chromium + + # agentage/e2e is private (the org PAT_TOKEN reads it); Dependabot runs get no secrets. + - name: Checkout agentage/e2e + if: github.actor != 'dependabot[bot]' + uses: actions/checkout@v7 + with: + repository: agentage/e2e + path: e2e-suite + token: ${{ secrets.PAT_TOKEN }} + persist-credentials: false + + - name: Install agentage/e2e + if: github.actor != 'dependabot[bot]' + run: | + npm ci --prefix e2e-suite --no-audit --no-fund + npx --prefix e2e-suite playwright install chromium + + # The cli and its kit come from this lockfile: a cli or kit patch needs a commit here. + - name: agentage extension up (the release recipes, store, dev issuer, gateway) + run: node_modules/.bin/agentage extension up + + - name: Image smoke (each part carries this commit, /health ok on loopback) + run: scripts/image-smoke.sh "$GITHUB_SHA" + + - name: The widget a11y test through the local gateway (src/**/*.spec.ts) + run: npm run test:e2e + + # {ID}_DIR lets the gate read the contracts from this checkout; the name follows the id. + - name: e2e gate on local (agentage/e2e, a row in its extensions.json) + if: github.actor != 'dependabot[bot]' + working-directory: e2e-suite + run: | + var="$(jq -r .agentage.id ../package.json | tr a-z- A-Z_)_DIR" + env "$var=$GITHUB_WORKSPACE" npm run e2e -- template gate local + + # A gate that skipped itself is not green (31 executed on 2026-11-08). + - name: Assert the gate was not vacuous + if: github.actor != 'dependabot[bot]' + working-directory: e2e-suite + env: + MIN_EXECUTED: '25' + run: node scripts/assert-executed.mjs + + - name: Logs on failure + if: failure() || cancelled() + run: docker compose -f .agentage/compose.json logs --no-color --tail 80 || true diff --git a/template/.github/workflows/release.yml b/template/.github/workflows/release.yml new file mode 100644 index 0000000..22d9d66 --- /dev/null +++ b/template/.github/workflows/release.yml @@ -0,0 +1,118 @@ +name: Release + +# A v* tag: the kit tool builds and pushes one image per part to GHCR, the build record with the +# digests becomes the release asset agentage-extension.json, then the package is published to npm +# with OIDC trusted publishing (npmjs.com trusted publisher = this file). A re-run of a released +# version keeps its images and record and only retries npm (scripts/release-guard.sh). +on: + push: + tags: ['v*'] + +concurrency: + group: release + cancel-in-progress: false + +permissions: + contents: write + packages: write + id-token: write + +jobs: + release: + name: Images, record, package + runs-on: ubuntu-latest + timeout-minutes: 45 + steps: + - name: Checkout + uses: actions/checkout@v7 + with: + fetch-depth: 0 + + # Upper case on purpose: create rewrites only the lower-case word, so this stays as written. + - name: The starting point never releases + run: | + if [ "$(jq -r .agentage.id package.json | tr a-z A-Z)" = TEMPLATE ]; then + echo "::error::this repo is the starting point for extensions: create one, release that" + exit 1 + fi + + - name: Tag commit must be on master + run: | + git fetch origin master + git merge-base --is-ancestor "$GITHUB_SHA" origin/master || { echo "::error::$GITHUB_SHA is not on master"; exit 1; } + + - name: Setup Node.js + uses: actions/setup-node@v7 + with: + node-version: 22 + cache: 'npm' + + - name: The tag is the package version + run: | + version=$(node -p "require('./package.json').version") + if [ "v$version" != "$GITHUB_REF_NAME" ]; then + echo "::error::tag $GITHUB_REF_NAME is not v$version, the package.json version; tag the commit that sets it" + exit 1 + fi + + - name: Install + run: npm ci --ignore-scripts + + - name: Verify + run: npm run verify + + - name: Log in to GHCR + env: + GHCR_TOKEN: ${{ secrets.GITHUB_TOKEN }} + run: printf '%s' "$GHCR_TOKEN" | docker login ghcr.io -u "${{ github.actor }}" --password-stdin + + - name: A released version is never rebuilt + id: guard + env: + GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} + run: | + decision=$(scripts/release-guard.sh "$GITHUB_REF_NAME" "$GITHUB_SHA") + echo "decision=$decision" >> "$GITHUB_OUTPUT" + echo "release guard: $decision" >> "$GITHUB_STEP_SUMMARY" + + - name: Build and push the images, write the record + if: steps.guard.outputs.decision == 'build' + # The cli and the kit tool that writes the recipe are the lockfile's, never a fresh resolve. + run: | + node_modules/.bin/agentage extension build --push + cat dist/agentage-extension.json + + - name: Release asset agentage-extension.json + if: steps.guard.outputs.decision == 'build' + env: + GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} + run: | + if gh release view "$GITHUB_REF_NAME" >/dev/null 2>&1; then + gh release upload "$GITHUB_REF_NAME" dist/agentage-extension.json + else + gh release create "$GITHUB_REF_NAME" dist/agentage-extension.json \ + --title "$GITHUB_REF_NAME" --notes "Images by digest: agentage-extension.json" + fi + + - name: Upgrade npm + run: npm install -g npm@latest && npm --version # OIDC needs npm >= 11.5.1 + + - name: Publish to npm (skips a version already published) + env: + # A new npm name has no trusted publisher: its first publish is staged + NPM_TOKEN: ${{ secrets.NPM_TOKEN }} + run: | + set -euo pipefail + if [ -n "${NPM_TOKEN:-}" ]; then + # Single quotes on purpose: npm expands ${NPM_TOKEN} itself, the token never lands on disk + echo '//registry.npmjs.org/:_authToken=${NPM_TOKEN}' >> ~/.npmrc + echo "first-publish token in use" >> "$GITHUB_STEP_SUMMARY" + fi + name=$(node -p "require('./package.json').name") + version=$(node -p "require('./package.json').version") + if npm view "${name}@${version}" version >/dev/null 2>&1; then + echo "${name}@${version} is already on npm" + exit 0 + fi + if [ -n "${NPM_TOKEN:-}" ] && ! npm view "${name}" name >/dev/null 2>&1; then npm stage publish --access public --provenance; elif ! npm publish --access public --provenance; then echo "direct publish of ${name}@${version} not authorized (no validated trusted publisher): staging it for approval"; npm stage publish --access public --provenance; fi + echo "published ${name}@${version}" >> "$GITHUB_STEP_SUMMARY" diff --git a/template/.gitignore b/template/.gitignore new file mode 100644 index 0000000..6caa13f --- /dev/null +++ b/template/.gitignore @@ -0,0 +1,12 @@ +node_modules/ +dist/ +coverage/ +*.tgz +*.log +.DS_Store +.env +.env.local +test-results/ +playwright-report/ +.agentage/ +.kit/ diff --git a/template/.npmrc b/template/.npmrc new file mode 100644 index 0000000..cffe8cd --- /dev/null +++ b/template/.npmrc @@ -0,0 +1 @@ +save-exact=true diff --git a/template/.prettierignore b/template/.prettierignore new file mode 100644 index 0000000..610f127 --- /dev/null +++ b/template/.prettierignore @@ -0,0 +1,8 @@ +node_modules +dist +coverage +package-lock.json +*.snap +*.tsbuildinfo +test-results +playwright-report diff --git a/template/.prettierrc b/template/.prettierrc new file mode 100644 index 0000000..a95cb05 --- /dev/null +++ b/template/.prettierrc @@ -0,0 +1,7 @@ +{ + "semi": true, + "singleQuote": true, + "trailingComma": "es5", + "printWidth": 100, + "tabWidth": 2 +} diff --git a/template/.repo-class b/template/.repo-class new file mode 100644 index 0000000..578cee9 --- /dev/null +++ b/template/.repo-class @@ -0,0 +1 @@ +express-service diff --git a/template/.repo-doctor.yml b/template/.repo-doctor.yml new file mode 100644 index 0000000..8c1677e --- /dev/null +++ b/template/.repo-doctor.yml @@ -0,0 +1,11 @@ +# repo-doctor config for this repo; schema in agentage/automation scripts/repo-doctor/README.md. +class: express-service +waive: + - id: cicd-no-npm-token + reason: 'the first publish of a new npm name is staged with a token until its trusted publisher exists (as extension-probe)' + - id: rb-published-files + reason: 'no prepare-release: this repo never bumps; an extension made from it adds one with the release loop' + - id: obs-kit + reason: 'the extension kit owns the server, logs and /health (sealing); telemetry shipping lands in the kit' + - id: be-migrations-ci + reason: 'an extension never migrates from its own repo: the kit migrate job applies migrations/ in the local job (up) and in estate apply before each rollout; unit tests apply them to an in-process postgres' diff --git a/template/CLAUDE.md b/template/CLAUDE.md new file mode 100644 index 0000000..8be9f0b --- /dev/null +++ b/template/CLAUDE.md @@ -0,0 +1,119 @@ +# CLAUDE.md - the one page + +Read this page first. It is the only page you need to ship this extension to `next` in one day. +The deployed proof of the same shape is [agentage/extension-probe](https://github.com/agentage/extension-probe). +The kit rules are in the READMEs of [`@agentage/extension`](https://www.npmjs.com/package/@agentage/extension) +and [`@agentage/widget`](https://www.npmjs.com/package/@agentage/widget). + +## 1. What an extension is + +- An extension is one npm package. The `agentage` block of `package.json` is its manifest: the + id, the parts, the commands, the settings and the secrets. +- A part is one folder in `src/`. Each exports `create(ctx)` only; the ui part exports `widgets`. +- The kit owns the server, the port, `/health`, discovery, the envelope, the `agcid`, the store + pool, the scheduler, the command line and one image for each part. You write only the part code. + +| Part | Folder | What it does here | +| ------ | ----------------------- | --------------------------------------------------------------- | +| pages | `src/pages` | `/` shows `{id} {version} ยท {commit}` | +| ui | `src/ui` | the widget `<{id}-echo>`, served at `/ui/{version}/{id}.js` | +| api | `src/api` | `GET /api/v1/echo?msg=` (scope `{id}:read`), `GET /api/v1/ping` | +| mcp | `src/mcp` | the tool `{id}__echo` (scope `{id}:read`) on `POST /mcp` | +| worker | `src/worker` | the job `tick`, every minute; it logs `tick` and uses no store | +| store | `migrations/`, `seeds/` | postgres; `GET /api/v1/ping` counts its `pings` rows | +| cli | `src/cli` | `agentage ping [msg]` prints `pong` | + +## 2. Start + +```bash +agentage extension create [part...] # no part = all seven +cd extension- && npm ci && npm run build && agentage extension check +git init -b master && git add -A && git commit -m "feat: extension" +``` + +- The id has lowercase letters, digits and `-`. It starts with a letter. It is not a part name. +- Keep at least one of pages, ui, api or mcp. +- `create` deletes the folders of the parts you do not keep. It writes your id into every file. +- Push to a new public repo `agentage/extension-`, default branch `master`. +- Without api, delete `openapi.json`. Without mcp, delete `.mcpc.json`. +- Edit to the parts you kept: the table of section 1, the README, `description` in `package.json` + and `MIN_EXECUTED` in `ci.yml` (the gate's floor: 25 fits all seven parts). + +## 3. Write parts + +- A part imports only its own folder and `src/lib/`. Each image carries `dist/{part}` and + `dist/lib` only. `src/manifest.test.ts` refuses a cross-part import. +- Put code in `src/lib/` only when every kept part can use it. +- Never use `listen()`, the `process` global, a token check or an absolute agentage URL in `src/`. +- Each part has its tests beside it in `src/{part}/`. One part can go without breaking another. +- api: validate every query and body with Zod (`parse`). Answer with `ok(...)`. +- api: give each route a scope in `src/api/openapi.test.ts`, which writes `openapi.json`: + `security: [{ pat: ['template:read'] }]`, or `security: []` for an anonymous route. +- mcp: give each tool a `scope` beside its schemas. The kit names it `{id}__{name}`. +- The api reads `parts.store` from `package.json`. Without a store, `/ping` does not query. +- store: add a numbered file in `migrations/`. Never edit a migration that ran. +- `openapi.json` and `template.mcpc.json` are committed contracts. Tests compare them to the code. + `UPDATE_SNAPSHOT=1 npm test` writes both again. A version bump changes both. + +## 4. The loop on a laptop + +You need Node 22+, npm 10+, Docker, `git` and `jq`. + +```bash +npm run verify # type-check, lint, format, tests, build +npx agentage extension check # PASS {id} {version} conforms (6 rules) +npx agentage extension up # ready N parts healthy s +scripts/image-smoke.sh "$(git rev-parse HEAD)" # PASS for each part image +npm run test:e2e # the widget in a browser, axe WCAG A/AA +T=$(npx agentage extension token --scope template:read) +curl -s -H "Authorization: Bearer $T" "localhost:4280/api/v1/echo?msg=hi" +npx agentage extension down # removes this working copy's containers +``` + +- `up` builds the images with the release recipe. It starts postgres, runs the migrations, a dev + issuer on 4281 and a gateway on 4280 with the URL layout of `next`. +- `up` writes `.agentage/` (ignored). From cli 0.43, `build` needs a commit. +- CI runs the same steps, then the e2e gate on local: `npm run e2e -- template gate local` in + agentage/e2e. The gate needs your row in its `extensions.json` (section 6). It never retries. + +## 5. Release + +- Set the version in `package.json` on master. Push the tag `v{version}` on that commit. +- `.github/workflows/release.yml` then pushes `ghcr.io/agentage/{id}-{part}:{version}`, attaches + `agentage-extension.json` (the images by digest) to the GitHub release and publishes the npm + package with provenance. The first publish of a new npm name waits for the owner's approval; + then add the trusted publisher (this `release.yml`) on npmjs.com, so OIDC takes over. +- `scripts/release-guard.sh` keeps a released version: a re-run only retries npm, a moved tag is + refused. A fix is a new version. Never move a `v*` tag. +- The first release step stops the starting point itself. It passes for every other id. + +## 6. The estate row + +These touches are outside this repo. Each is one small PR or one owner action. + +| Where | What | +| ------------------------------------- | ------------------------------------------------------------------------ | +| agentage/estate `estate.yaml` | `extensions.{id}: { version, parts: { api: api, ... } }` | +| agentage/e2e `extensions.json` | `{ "id": "{id}", "token": "GATE_TOKENS", "targets": ["local", "next"] }` | +| the `GATE_TOKENS` secret (owner) | a `"{id}"` entry: the bearer your gate sends on `next` | +| agentage/auth `pat-scopes.ts` (owner) | the id in `EXTENSION_IDS`: echo declares `{id}:read`, so it is needed | + +- Pools: `web` for pages and ui, `api` for api, mcp and worker, `data` for store. Host: `{id}.next.agentage.io`. + +## 7. Operate + +- A merge to estate master deploys `next`. The deploy applies the stacks, checks each part's + `/health`, then runs your gate: `npm run e2e -- {id} gate next`. +- Read a red run on the Actions tab of agentage/estate. The run names the part and the check. + A part logs JSON lines with the request's `agcid`: search for it. +- To change what runs, release a new version and change the version in the estate row. + +## 8. What the platform promises + +- The kit checks the token and the declared scope before your route or tool runs. +- The kit answers `/health`, discovery and errors in the envelope with an `agcid`. +- The gateway serves `/`, `/ui/{version}/`, `/api/v1/` and `/mcp`. It drops the `Cookie` header. + No route reaches a part's `/health`. +- The estate runs the migrations as a job before the rollout. A release never restarts the store. +- The same smoke and contract gate runs for every extension in the e2e registry. +- A kit minor reaches this repo through the Friday Dependabot group PR. Merge it when CI is green. diff --git a/template/README.md b/template/README.md new file mode 100644 index 0000000..4bd28ac --- /dev/null +++ b/template/README.md @@ -0,0 +1,17 @@ +# extension-template + +An agentage extension with one of every part: pages, ui, api, mcp, worker, store and cli. Start a +new extension from it, keep the parts you need, and ship it to `next` in one day. + +## Start + +```bash +agentage extension create [part...] # no part = all seven +cd extension- && npm ci && npm run build && agentage extension check +npm run verify # type-check, lint, format, tests, build +``` + +## The one page + +[CLAUDE.md](CLAUDE.md): what an extension is, how to write parts, the loop on a laptop, release, +the estate row, how to operate it and what the platform promises. diff --git a/template/eslint.config.mjs b/template/eslint.config.mjs new file mode 100644 index 0000000..f1d8ec1 --- /dev/null +++ b/template/eslint.config.mjs @@ -0,0 +1,67 @@ +import typescriptEslint from '@typescript-eslint/eslint-plugin'; +import tsParser from '@typescript-eslint/parser'; +import prettierPlugin from 'eslint-plugin-prettier'; +import prettierConfig from 'eslint-config-prettier'; +import playwrightPlugin from 'eslint-plugin-playwright'; +import jsxA11y from 'eslint-plugin-jsx-a11y'; +import reactHooks from 'eslint-plugin-react-hooks'; + +export default [ + { + ignores: ['dist/**', 'coverage/**', 'node_modules/**', 'test-results/**'], + }, + { + files: ['src/**/*.{ts,tsx}', 'scripts/**/*.ts', '*.ts'], + languageOptions: { + parser: tsParser, + parserOptions: { + ecmaVersion: 2024, + sourceType: 'module', + project: ['./tsconfig.eslint.json'], + }, + }, + plugins: { + '@typescript-eslint': typescriptEslint, + prettier: prettierPlugin, + }, + rules: { + ...prettierConfig.rules, + 'prettier/prettier': 'error', + '@typescript-eslint/no-explicit-any': 'error', + '@typescript-eslint/consistent-type-imports': [ + 'error', + { prefer: 'type-imports', fixStyle: 'inline-type-imports' }, + ], + '@typescript-eslint/no-unused-vars': ['error', { argsIgnorePattern: '^_' }], + '@typescript-eslint/naming-convention': [ + 'error', + { + selector: 'interface', + format: ['PascalCase'], + custom: { regex: '^[A-Z]', match: true }, + }, + { + selector: 'typeAlias', + format: ['PascalCase'], + }, + ], + 'prefer-const': 'error', + 'prefer-arrow-callback': 'error', + 'arrow-body-style': ['error', 'as-needed'], + 'no-var': 'error', + }, + }, + { + files: ['src/**/*.spec.ts'], + plugins: { playwright: playwrightPlugin }, + rules: { + 'playwright/missing-playwright-await': 'error', + 'playwright/no-force-option': 'error', + }, + }, + { + files: ['src/ui/**/*.tsx'], + plugins: { 'jsx-a11y': jsxA11y, 'react-hooks': reactHooks }, + rules: { ...jsxA11y.flatConfigs.recommended.rules, ...reactHooks.configs.recommended.rules }, + }, +]; diff --git a/template/migrations/001-pings.sql b/template/migrations/001-pings.sql new file mode 100644 index 0000000..db10d2b --- /dev/null +++ b/template/migrations/001-pings.sql @@ -0,0 +1,5 @@ +-- Applied in order by the api image's migrate job, before the rollout; GET /api/v1/ping counts the rows. +create table if not exists pings ( + id bigint generated always as identity primary key, + pinged_at timestamptz not null default now() +); diff --git a/template/openapi.json b/template/openapi.json new file mode 100644 index 0000000..92463c2 --- /dev/null +++ b/template/openapi.json @@ -0,0 +1,194 @@ +{ + "openapi": "3.1.0", + "info": { + "title": "template", + "version": "0.1.0" + }, + "components": { + "securitySchemes": { + "pat": { + "type": "http", + "scheme": "bearer" + } + } + }, + "paths": { + "/api/v1/echo": { + "get": { + "operationId": "echo", + "security": [ + { + "pat": ["template:read"] + } + ], + "parameters": [ + { + "name": "msg", + "in": "query", + "required": true, + "schema": { + "type": "string", + "minLength": 1, + "maxLength": 200 + } + } + ], + "responses": { + "200": { + "description": "the envelope", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "success": { + "type": "boolean", + "const": true + }, + "data": { + "type": "object", + "properties": { + "msg": { + "type": "string" + }, + "caller": { + "type": "string" + } + }, + "required": ["msg", "caller"] + }, + "meta": { + "type": "object", + "propertyNames": { + "type": "string" + }, + "additionalProperties": {} + } + }, + "required": ["success", "data"] + } + } + } + }, + "400": { + "description": "VALIDATION_ERROR", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "success": { + "type": "boolean", + "const": false + }, + "error": { + "type": "object", + "properties": { + "code": { + "type": "string", + "enum": [ + "VALIDATION_ERROR", + "UNAUTHORIZED", + "FORBIDDEN", + "NOT_FOUND", + "CONFLICT", + "PRECONDITION_FAILED", + "PAYLOAD_TOO_LARGE", + "RATE_LIMITED", + "INTERNAL", + "UNAVAILABLE" + ] + }, + "message": { + "type": "string", + "minLength": 1 + }, + "agcid": { + "type": "string", + "pattern": "^[A-Za-z0-9._:-]{8,128}$" + }, + "details": { + "type": "array", + "items": { + "type": "object", + "properties": { + "field": { + "type": "string" + }, + "message": { + "type": "string" + } + }, + "required": ["field", "message"], + "additionalProperties": false + } + } + }, + "required": ["code", "message", "agcid"], + "additionalProperties": false + } + }, + "required": ["success", "error"], + "additionalProperties": false + } + } + } + } + } + } + }, + "/api/v1/ping": { + "get": { + "operationId": "ping", + "security": [], + "responses": { + "200": { + "description": "the envelope", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "success": { + "type": "boolean", + "const": true + }, + "data": { + "type": "object", + "properties": { + "msg": { + "type": "string" + }, + "pings": { + "anyOf": [ + { + "type": "integer", + "minimum": -9007199254740991, + "maximum": 9007199254740991 + }, + { + "type": "null" + } + ] + } + }, + "required": ["msg", "pings"] + }, + "meta": { + "type": "object", + "propertyNames": { + "type": "string" + }, + "additionalProperties": {} + } + }, + "required": ["success", "data"] + } + } + } + } + } + } + } + } +} diff --git a/template/package-lock.json b/template/package-lock.json new file mode 100644 index 0000000..86cff28 --- /dev/null +++ b/template/package-lock.json @@ -0,0 +1,9326 @@ +{ + "name": "@agentage/extension-template", + "version": "0.1.0", + "lockfileVersion": 3, + "requires": true, + "packages": { + "": { + "name": "@agentage/extension-template", + "version": "0.1.0", + "license": "MIT", + "dependencies": { + "@agentage/extension": "^0.4.3", + "express": "^5.1.0", + "zod": "^4.2.0" + }, + "devDependencies": { + "@agentage/cli": "0.42.1", + "@agentage/widget": "^0.1.1", + "@axe-core/playwright": "4.14.0", + "@electric-sql/pglite": "0.5.15", + "@playwright/test": "1.64.1", + "@types/express": "5.0.6", + "@types/node": "26.6.6", + "@types/react": "19.3.0", + "@typescript-eslint/eslint-plugin": "8.72.1", + "@typescript-eslint/parser": "8.72.1", + "@vitest/coverage-v8": "5.1.0", + "eslint": "10.14.0", + "eslint-config-prettier": "10.1.8", + "eslint-plugin-jsx-a11y": "6.10.2", + "eslint-plugin-playwright": "2.12.2", + "eslint-plugin-prettier": "5.5.7", + "eslint-plugin-react-hooks": "7.1.1", + "prettier": "3.9.10", + "react": "19.3.1", + "react-dom": "19.3.1", + "typescript": "6.0.3", + "vitest": "5.1.0" + }, + "engines": { + "agentage": "^0.4", + "node": ">=22" + } + }, + "node_modules/@agentage/cli": { + "version": "0.42.1", + "resolved": "https://registry.npmjs.org/@agentage/cli/-/cli-0.42.1.tgz", + "integrity": "sha512-0QbjoiW0L3jnbYZbyz8BClZMu/ha2ZXfA7G7xt0JuEyRHFLET/bwNq6VBRy64YKsEe1eIAR92cwatoZIEJ8LGw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@agentage/extension": "^0.4.0", + "chalk": "^6.0.0", + "commander": "^15.0.0", + "open": "^11.0.0" + }, + "bin": { + "agentage": "dist/cli.js" + }, + "engines": { + "node": ">=22.0.0", + "npm": ">=10.0.0" + } + }, + "node_modules/@agentage/design-system": { + "version": "0.19.2", + "resolved": "https://registry.npmjs.org/@agentage/design-system/-/design-system-0.19.2.tgz", + "integrity": "sha512-34oA8MTFh6bw+Gan1uQp6LkJnDCD99RFFMHlBQF5Qfur3P+lT4AQY+MFXTpJLpoB29leKO6rkeyWT1UXP6EMZQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@radix-ui/react-select": "^2.4.1", + "@radix-ui/react-slot": "^1.2.4", + "class-variance-authority": "^0.7.1", + "clsx": "^2.1.1", + "react-markdown": "^10.1.0", + "rehype-raw": "^7.0.0", + "remark-gfm": "^4.0.1", + "tailwind-merge": "^3.7.0" + }, + "engines": { + "node": ">=22.0.0", + "npm": ">=10.0.0" + }, + "peerDependencies": { + "react": ">=19.0.0", + "react-dom": ">=19.0.0", + "tailwindcss": ">=4.0.0" + }, + "peerDependenciesMeta": { + "tailwindcss": { + "optional": true + } + } + }, + "node_modules/@agentage/extension": { + "version": "0.4.3", + "resolved": "https://registry.npmjs.org/@agentage/extension/-/extension-0.4.3.tgz", + "integrity": "sha512-Cu4CNpm9/6wO7OESrSmcyos4RJw+ujwkCll5iz5/hrqGUDlow4T1MU0vMgePAkMh0xnWAQ5oEAbQFDF663Bv/Q==", + "license": "MIT", + "dependencies": { + "@modelcontextprotocol/server": "^2.4.0", + "cors": "^2.8.5", + "helmet": "^8.1.0", + "jose": "^6.2.15", + "pg": "^8.23.1", + "semver": "^7.8.6", + "zod": "^4.2.0" + }, + "engines": { + "node": ">=22" + }, + "peerDependencies": { + "@electric-sql/pglite": "^0.5.0", + "express": "^5.1.0" + }, + "peerDependenciesMeta": { + "@electric-sql/pglite": { + "optional": true + }, + "express": { + "optional": true + } + } + }, + "node_modules/@agentage/widget": { + "version": "0.1.1", + "resolved": "https://registry.npmjs.org/@agentage/widget/-/widget-0.1.1.tgz", + "integrity": "sha512-ps893b7FzoWp32J2WiScP42F+x52i/tm6ufkVkngUIsi57R0SIFkdcxK5U9ADHWJEsO8DmWfxUaS8RohOX6xPA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@agentage/design-system": "^0.19.2", + "esbuild": "^0.28.2", + "zod": "^4.2.0" + }, + "bin": { + "agentage-widget": "dist/bundle/cli.js" + }, + "engines": { + "node": ">=22" + }, + "peerDependencies": { + "react": "^19.0.0", + "react-dom": "^19.0.0" + } + }, + "node_modules/@axe-core/playwright": { + "version": "4.14.0", + "resolved": "https://registry.npmjs.org/@axe-core/playwright/-/playwright-4.14.0.tgz", + "integrity": "sha512-SGUhG5PIHd2eMdpgBF2PyQLOhX+qyDR2PT4cmoS4Qk2ak+jX/rrSvst9l0PGv5WTHolKpUMvVmoHpr4cZgf1RQ==", + "dev": true, + "license": "MPL-2.0", + "dependencies": { + "axe-core": "~4.14.0" + }, + "engines": { + "node": ">=22.12.0" + }, + "peerDependencies": { + "playwright-core": ">= 1.0.0" + } + }, + "node_modules/@babel/code-frame": { + "version": "7.29.7", + "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.29.7.tgz", + "integrity": "sha512-Aup7aUOfpbAUg2ROOJN6Iw5f9DMBlzu0mIkm/malLQFN/YQgO48wCj0Kxa3sEHJvPVFg7siR+qRInwXd2qhQKw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-validator-identifier": "^7.29.7", + "js-tokens": "^4.0.0", + "picocolors": "^1.1.1" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/code-frame/node_modules/js-tokens": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz", + "integrity": "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==", + "dev": true, + "license": "MIT" + }, + "node_modules/@babel/compat-data": { + "version": "7.29.7", + "resolved": "https://registry.npmjs.org/@babel/compat-data/-/compat-data-7.29.7.tgz", + "integrity": "sha512-locTkQyKvwIEgBzVrn8693ebc97F2U8ZHjbXwDXJ5Fn2TCpNwTlKcaKLkdHop5c/icOFE7qt7Q9JC5hnKNa6Gg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/core": { + "version": "7.29.13", + "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.29.13.tgz", + "integrity": "sha512-j1nvOQCZYSgp7HLmisnCXFTpVvFODiijQ9QHkORfGKWH6YDtskTEeCJS7eV545GZ9UBzrq0e2xsOd5QQ5PjIqw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/code-frame": "^7.29.7", + "@babel/generator": "^7.29.13", + "@babel/helper-compilation-targets": "^7.29.13", + "@babel/helper-module-transforms": "^7.29.13", + "@babel/helpers": "^7.29.13", + "@babel/parser": "^7.29.13", + "@babel/template": "^7.29.7", + "@babel/traverse": "^7.29.13", + "@babel/types": "^7.29.11", + "@jridgewell/remapping": "^2.3.5", + "convert-source-map": "^2.0.0", + "debug": "^4.1.0", + "gensync": "^1.0.0-beta.2", + "json5": "^2.2.3", + "semver": "^6.3.1" + }, + "engines": { + "node": ">=6.9.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/babel" + } + }, + "node_modules/@babel/core/node_modules/semver": { + "version": "6.3.2", + "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.2.tgz", + "integrity": "sha512-GYrCADwpu6yV5OAvchkQ27Z5wwMxWAEMg5NNWjyHh/5DboFFqbdbvYNIvZouQpxXyeMPoTOh0vdPYKlf0ZswdQ==", + "dev": true, + "license": "ISC", + "bin": { + "semver": "bin/semver.js" + } + }, + "node_modules/@babel/generator": { + "version": "7.29.13", + "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.29.13.tgz", + "integrity": "sha512-T5FRo+RzVHvGjWOuF1Ljc44b+NXAOazodHkGUHp4I3zCkQ4/sNVJm56h1S278LMR0bY5xBhztGziSbli8zObIw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/parser": "^7.29.13", + "@babel/types": "^7.29.11", + "@jridgewell/gen-mapping": "^0.3.12", + "@jridgewell/trace-mapping": "^0.3.28", + "jsesc": "^3.0.2" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-compilation-targets": { + "version": "7.29.13", + "resolved": "https://registry.npmjs.org/@babel/helper-compilation-targets/-/helper-compilation-targets-7.29.13.tgz", + "integrity": "sha512-8WxJ4/Vmes3ghacj8VOJy3NW8eyHiFY/4thU/LSBuBE470+igjR/j1ZTNn8fV5VdNrLx6iXUwig526UdOvfP0w==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/compat-data": "^7.29.7", + "@babel/helper-validator-option": "^7.29.7", + "browserslist": "^4.24.0", + "lru-cache": "^5.1.1", + "semver": "^6.3.1" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-compilation-targets/node_modules/semver": { + "version": "6.3.2", + "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.2.tgz", + "integrity": "sha512-GYrCADwpu6yV5OAvchkQ27Z5wwMxWAEMg5NNWjyHh/5DboFFqbdbvYNIvZouQpxXyeMPoTOh0vdPYKlf0ZswdQ==", + "dev": true, + "license": "ISC", + "bin": { + "semver": "bin/semver.js" + } + }, + "node_modules/@babel/helper-globals": { + "version": "7.29.7", + "resolved": "https://registry.npmjs.org/@babel/helper-globals/-/helper-globals-7.29.7.tgz", + "integrity": "sha512-3nQVUAtvkKH9zahfWgw96Jc/uFOmjACE1kQz82E2lqWmHBgjzbNlsC22nuQTfahmWeQtTq5nQ/4Nnd2A1wj4zA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-module-imports": { + "version": "7.29.7", + "resolved": "https://registry.npmjs.org/@babel/helper-module-imports/-/helper-module-imports-7.29.7.tgz", + "integrity": "sha512-ejHwrQQYcm9xnTivShn2IDOlIzInN34AXskvq9QicvCtEzq1Vzclu/tKF8Jq1Cg8JG2GL6/EmjgsCT7lXepE3g==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/traverse": "^7.29.7", + "@babel/types": "^7.29.7" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-module-transforms": { + "version": "7.29.13", + "resolved": "https://registry.npmjs.org/@babel/helper-module-transforms/-/helper-module-transforms-7.29.13.tgz", + "integrity": "sha512-/U96wOz+SCoZ7Da/8kjDGltcNY280JPQcRNPK0Hk3PTbdpaiBDQImtC6JsbVwb1HGMr3usZQU2WsWVjhYNmRzw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-module-imports": "^7.29.7", + "@babel/helper-validator-identifier": "^7.29.7", + "@babel/traverse": "^7.29.13" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0" + } + }, + "node_modules/@babel/helper-string-parser": { + "version": "7.29.11", + "resolved": "https://registry.npmjs.org/@babel/helper-string-parser/-/helper-string-parser-7.29.11.tgz", + "integrity": "sha512-snZbO7MEDOof+hvNa97EjEY7qD7h2kwvQr5AJC3ZhQudKW5dnej6k3kP9NQV88hJwaS8vDqRLFo9rivLEhle2g==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-validator-identifier": { + "version": "7.29.7", + "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.29.7.tgz", + "integrity": "sha512-qehxGkRj55h/ff8EMaJ+cYhyaKlHIxqYDn682wQD7RNp9UujOQsHog2uS0r2vzr4pW+sXf90NeeayjcNaX3fFg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-validator-option": { + "version": "7.29.7", + "resolved": "https://registry.npmjs.org/@babel/helper-validator-option/-/helper-validator-option-7.29.7.tgz", + "integrity": "sha512-N9ZErrD+yW5geCDtBqnOoxmR8+tNKiGuxKlDpuJxfsqpa2dFcexaziGAE/qoHLiDDreVNMupxGmSoNlyvsA3gw==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helpers": { + "version": "7.29.13", + "resolved": "https://registry.npmjs.org/@babel/helpers/-/helpers-7.29.13.tgz", + "integrity": "sha512-laoRpD/kO/iA4CDlgJbixHekg7oPvWALK0PQyK3Ob2I2njZRvVAD77RfWCIImtqWCq6KijoBoZK7bp/HlTWASQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/template": "^7.29.7", + "@babel/types": "^7.29.11" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/parser": { + "version": "7.29.13", + "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.29.13.tgz", + "integrity": "sha512-fJM50YYjlTiBhgdkGmC1tBpv+FMAyo4annf2X6Aks+0yRlaiVkYW/3f07xAfVVkYIoZ9fFZp+mEThUFnuybhkQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/types": "^7.29.11" + }, + "bin": { + "parser": "bin/babel-parser.js" + }, + "engines": { + "node": ">=6.0.0" + } + }, + "node_modules/@babel/template": { + "version": "7.29.7", + "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.29.7.tgz", + "integrity": "sha512-puq+Gf35oI24FeN11LkoUQFqv9uwNeWpxXZi/Ji3rRIoKAzKnxRaZ+Gkj0vKS9ZCiTESfng1N9LyOyXvo+m+Gg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/code-frame": "^7.29.7", + "@babel/parser": "^7.29.7", + "@babel/types": "^7.29.7" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/traverse": { + "version": "7.29.13", + "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.29.13.tgz", + "integrity": "sha512-0ve0xMlFA73dgY1oyJRY6RoW+/bncdcOQqg6jjYcVfXBK90OdLXjm9R6lmRetdZVrPjXkKIoMVBqYFPjcAlZ4Q==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/code-frame": "^7.29.7", + "@babel/generator": "^7.29.13", + "@babel/helper-globals": "^7.29.7", + "@babel/parser": "^7.29.13", + "@babel/template": "^7.29.7", + "@babel/types": "^7.29.11", + "debug": "^4.3.1" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/types": { + "version": "7.29.11", + "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.29.11.tgz", + "integrity": "sha512-WCsemW40Cpc6gouC1SrY6PBaZ+oLRlEVY9XBvZBI7il/HyUrb2nJ505wE1MHEFyDZNnrWDEuy4jL50WVHfTTSQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-string-parser": "^7.29.11", + "@babel/helper-validator-identifier": "^7.29.7" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@bcoe/v8-coverage": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/@bcoe/v8-coverage/-/v8-coverage-1.0.2.tgz", + "integrity": "sha512-6zABk/ECA/QYSCQ1NGiVwwbQerUCZ+TQbp64Q3AgmfNvurHH0j8TtXa1qbShXA6qqkpAj4V5W8pP6mLe1mcMqA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=18" + } + }, + "node_modules/@cacheable/memory": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/@cacheable/memory/-/memory-2.2.0.tgz", + "integrity": "sha512-CTLKqLItRCEixEAewD3/j9DB3/o96gpTPD4eJ1v+DGOlxZRZncRQkGYqqnAGCscYd6RNeXfGeiuCphsPtqyIfQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@cacheable/utils": "^2.5.0", + "@keyv/bigmap": "^1.3.1", + "hookified": "^1.15.1", + "keyv": "^5.6.0" + } + }, + "node_modules/@cacheable/utils": { + "version": "2.5.0", + "resolved": "https://registry.npmjs.org/@cacheable/utils/-/utils-2.5.0.tgz", + "integrity": "sha512-buipgOVDkkPXNR5+xBpDw7Zk2n1EvU7qBJCNUcL7rhQ//kfpOXPAvQ511Os0vpLYJ1pZnvudNytkQt2hst3wqA==", + "dev": true, + "license": "MIT", + "dependencies": { + "hashery": "^1.5.1", + "keyv": "^5.6.0" + } + }, + "node_modules/@dual-bundle/import-meta-resolve": { + "version": "4.2.1", + "resolved": "https://registry.npmjs.org/@dual-bundle/import-meta-resolve/-/import-meta-resolve-4.2.1.tgz", + "integrity": "sha512-id+7YRUgoUX6CgV0DtuhirQWodeeA7Lf4i2x71JS/vtA5pRb/hIGWlw+G6MeXvsM+MXrz0VAydTGElX1rAfgPg==", + "dev": true, + "license": "MIT", + "funding": { + "type": "github", + "url": "https://github.com/sponsors/JounQin" + } + }, + "node_modules/@electric-sql/pglite": { + "version": "0.5.15", + "resolved": "https://registry.npmjs.org/@electric-sql/pglite/-/pglite-0.5.15.tgz", + "integrity": "sha512-ERZWgaRTxueGV4cvL1tfpAOzFCWTXoUtbCBqnf2FhHDVs/so9eAKaanvrwWF9Dntx7BYsmFQujVQ0/B4S8Mmiw==", + "devOptional": true, + "license": "Apache-2.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" + ], + "dev": true, + "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" + ], + "dev": true, + "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" + ], + "dev": true, + "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" + ], + "dev": true, + "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" + ], + "dev": true, + "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" + ], + "dev": true, + "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" + ], + "dev": true, + "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" + ], + "dev": true, + "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" + ], + "dev": true, + "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" + ], + "dev": true, + "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" + ], + "dev": true, + "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" + ], + "dev": true, + "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" + ], + "dev": true, + "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" + ], + "dev": true, + "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" + ], + "dev": true, + "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" + ], + "dev": true, + "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" + ], + "dev": true, + "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" + ], + "dev": true, + "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" + ], + "dev": true, + "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" + ], + "dev": true, + "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" + ], + "dev": true, + "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" + ], + "dev": true, + "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" + ], + "dev": true, + "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" + ], + "dev": true, + "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" + ], + "dev": true, + "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" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@eslint-community/eslint-utils": { + "version": "4.10.1", + "resolved": "https://registry.npmjs.org/@eslint-community/eslint-utils/-/eslint-utils-4.10.1.tgz", + "integrity": "sha512-cuadcxVFE8sDK6iWJbs8Sn0av2Nrh2QSGQhVlBW9AaAHqHwjWsZHT8LJ4hFGPh7ASBV2deFdM7H/DPjulmh8rg==", + "dev": true, + "license": "MIT", + "dependencies": { + "eslint-visitor-keys": "^3.4.3" + }, + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + }, + "funding": { + "url": "https://opencollective.com/eslint" + }, + "peerDependencies": { + "eslint": "^6.0.0 || ^7.0.0 || >=8.0.0" + } + }, + "node_modules/@eslint-community/regexpp": { + "version": "4.12.2", + "resolved": "https://registry.npmjs.org/@eslint-community/regexpp/-/regexpp-4.12.2.tgz", + "integrity": "sha512-EriSTlt5OC9/7SXkRSCAhfSxxoSUgBm33OH+IkwbdpgoqsSsUg7y3uh+IICI/Qg4BBWr3U2i39RpmycbxMq4ew==", + "dev": true, + "license": "MIT", + "engines": { + "node": "^12.0.0 || ^14.0.0 || >=16.0.0" + } + }, + "node_modules/@eslint/config-array": { + "version": "0.23.5", + "resolved": "https://registry.npmjs.org/@eslint/config-array/-/config-array-0.23.5.tgz", + "integrity": "sha512-Y3kKLvC1dvTOT+oGlqNQ1XLqK6D1HU2YXPc52NmAlJZbMMWDzGYXMiPRJ8TYD39muD/OTjlZmNJ4ib7dvSrMBA==", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "@eslint/object-schema": "^3.0.5", + "debug": "^4.3.1", + "minimatch": "^10.2.4" + }, + "engines": { + "node": "^20.19.0 || ^22.13.0 || >=24" + } + }, + "node_modules/@eslint/config-helpers": { + "version": "0.7.0", + "resolved": "https://registry.npmjs.org/@eslint/config-helpers/-/config-helpers-0.7.0.tgz", + "integrity": "sha512-DObd/KKUsU+FaFv4PLxSRenpXfQWmPXXP3pPZ6/K1PCrMu2vQpMDMuQe/BqYeoLcz8ro0bVDF1RxOJgfVEdhUw==", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "@eslint/core": "^1.2.1" + }, + "engines": { + "node": "^20.19.0 || ^22.13.0 || >=24" + } + }, + "node_modules/@eslint/core": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/@eslint/core/-/core-1.2.1.tgz", + "integrity": "sha512-MwcE1P+AZ4C6DWlpin/OmOA54mmIZ/+xZuJiQd4SyB29oAJjN30UW9wkKNptW2ctp4cEsvhlLY/CsQ1uoHDloQ==", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "@types/json-schema": "^7.0.15" + }, + "engines": { + "node": "^20.19.0 || ^22.13.0 || >=24" + } + }, + "node_modules/@eslint/object-schema": { + "version": "3.0.5", + "resolved": "https://registry.npmjs.org/@eslint/object-schema/-/object-schema-3.0.5.tgz", + "integrity": "sha512-vqTaUEgxzm+YDSdElad6PiRoX4t8VGDjCtt05zn4nU810UIx/uNEV7/lZJ6KwFThKZOzOxzXy48da+No7HZaMw==", + "dev": true, + "license": "Apache-2.0", + "engines": { + "node": "^20.19.0 || ^22.13.0 || >=24" + } + }, + "node_modules/@eslint/plugin-kit": { + "version": "0.7.3", + "resolved": "https://registry.npmjs.org/@eslint/plugin-kit/-/plugin-kit-0.7.3.tgz", + "integrity": "sha512-IkO+/KEUvwbVpiURZg+P7zF74z5Jxe0UgJxVni+RtoHQ6IZieXaO02kmadomap/q+l6bc/jdPGGqTjhuZnuz1Q==", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "@eslint/core": "^1.2.1", + "levn": "^0.4.1" + }, + "engines": { + "node": "^20.19.0 || ^22.13.0 || >=24" + } + }, + "node_modules/@floating-ui/core": { + "version": "1.8.0", + "resolved": "https://registry.npmjs.org/@floating-ui/core/-/core-1.8.0.tgz", + "integrity": "sha512-0CIZ5itps/8x7BG8dEIhs53BvCUH2PCoogtakwRTut+Arm58sJooJ0AuZhLw2HJYIR5cMLNPBSS728sPho2khQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@floating-ui/utils": "^0.2.12" + } + }, + "node_modules/@floating-ui/dom": { + "version": "1.8.0", + "resolved": "https://registry.npmjs.org/@floating-ui/dom/-/dom-1.8.0.tgz", + "integrity": "sha512-yXSrzeHZBTZadLOlfyhCkJHNeLJnHRnRInwdZ40L7ZiaAtrBwoYlsDrX3v5zB1Utk7CLfzcOVnVVWoXEky7Ceg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@floating-ui/core": "^1.8.0", + "@floating-ui/utils": "^0.2.12" + } + }, + "node_modules/@floating-ui/react-dom": { + "version": "2.1.9", + "resolved": "https://registry.npmjs.org/@floating-ui/react-dom/-/react-dom-2.1.9.tgz", + "integrity": "sha512-JDjEFGCpImxDCA7JJKviA0M9+RtmJdj0m/NVU5IMgBK+AmZouAQQ7/+2GLH0GXXY0YMw9oXPB8hKdbPYg5QLYg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@floating-ui/dom": "^1.8.0" + }, + "peerDependencies": { + "react": ">=16.8.0", + "react-dom": ">=16.8.0" + } + }, + "node_modules/@floating-ui/utils": { + "version": "0.2.12", + "resolved": "https://registry.npmjs.org/@floating-ui/utils/-/utils-0.2.12.tgz", + "integrity": "sha512-HpCo8tmWzLVad5s2d19EhAz5zqrrQ6s69qd6moPMQvkOuSwDT1YgRfWSVuc4ennqrgv3OHppiOGMQ7oC13yIww==", + "dev": true, + "license": "MIT" + }, + "node_modules/@humanfs/core": { + "version": "0.19.2", + "resolved": "https://registry.npmjs.org/@humanfs/core/-/core-0.19.2.tgz", + "integrity": "sha512-UhXNm+CFMWcbChXywFwkmhqjs3PRCmcSa/hfBgLIb7oQ5HNb1wS0icWsGtSAUNgefHeI+eBrA8I1fxmbHsGdvA==", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "@humanfs/types": "^0.15.0" + }, + "engines": { + "node": ">=18.18.0" + } + }, + "node_modules/@humanfs/node": { + "version": "0.16.8", + "resolved": "https://registry.npmjs.org/@humanfs/node/-/node-0.16.8.tgz", + "integrity": "sha512-gE1eQNZ3R++kTzFUpdGlpmy8kDZD/MLyHqDwqjkVQI0JMdI1D51sy1H958PNXYkM2rAac7e5/CnIKZrHtPh3BQ==", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "@humanfs/core": "^0.19.2", + "@humanfs/types": "^0.15.0", + "@humanwhocodes/retry": "^0.4.0" + }, + "engines": { + "node": ">=18.18.0" + } + }, + "node_modules/@humanfs/types": { + "version": "0.15.0", + "resolved": "https://registry.npmjs.org/@humanfs/types/-/types-0.15.0.tgz", + "integrity": "sha512-ZZ1w0aoQkwuUuC7Yf+7sdeaNfqQiiLcSRbfI08oAxqLtpXQr9AIVX7Ay7HLDuiLYAaFPu8oBYNq/QIi9URHJ3Q==", + "dev": true, + "license": "Apache-2.0", + "engines": { + "node": ">=18.18.0" + } + }, + "node_modules/@humanwhocodes/module-importer": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/@humanwhocodes/module-importer/-/module-importer-1.0.1.tgz", + "integrity": "sha512-bxveV4V8v5Yb4ncFTT3rPSgZBOpCkjfK0y4oVVVJwIuDVBRMDXrPyXRL988i5ap9m9bnyEEjWfm5WkBmtffLfA==", + "dev": true, + "license": "Apache-2.0", + "engines": { + "node": ">=12.22" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/nzakas" + } + }, + "node_modules/@humanwhocodes/retry": { + "version": "0.4.3", + "resolved": "https://registry.npmjs.org/@humanwhocodes/retry/-/retry-0.4.3.tgz", + "integrity": "sha512-bV0Tgo9K4hfPCek+aMAn81RppFKv2ySDQeMoSZuvTASywNTnVJCArCZE2FWqpvIatKu7VMRLWlR1EazvVhDyhQ==", + "dev": true, + "license": "Apache-2.0", + "engines": { + "node": ">=18.18" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/nzakas" + } + }, + "node_modules/@jridgewell/gen-mapping": { + "version": "0.3.13", + "resolved": "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.3.13.tgz", + "integrity": "sha512-2kkt/7niJ6MgEPxF0bYdQ6etZaA+fQvDcLKckhy1yIQOzaoKjBBjSj63/aLVjYE3qhRt5dvM+uUyfCg6UKCBbA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@jridgewell/sourcemap-codec": "^1.5.0", + "@jridgewell/trace-mapping": "^0.3.24" + } + }, + "node_modules/@jridgewell/remapping": { + "version": "2.3.5", + "resolved": "https://registry.npmjs.org/@jridgewell/remapping/-/remapping-2.3.5.tgz", + "integrity": "sha512-LI9u/+laYG4Ds1TDKSJW2YPrIlcVYOwi2fUC6xB43lueCjgxV4lffOCZCtYFiH6TNOX+tQKXx97T4IKHbhyHEQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@jridgewell/gen-mapping": "^0.3.5", + "@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==", + "dev": true, + "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==", + "dev": true, + "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==", + "dev": true, + "license": "MIT", + "dependencies": { + "@jridgewell/resolve-uri": "^3.1.0", + "@jridgewell/sourcemap-codec": "^1.4.14" + } + }, + "node_modules/@keyv/bigmap": { + "version": "1.3.1", + "resolved": "https://registry.npmjs.org/@keyv/bigmap/-/bigmap-1.3.1.tgz", + "integrity": "sha512-WbzE9sdmQtKy8vrNPa9BRnwZh5UF4s1KTmSK0KUVLo3eff5BlQNNWDnFOouNpKfPKDnms9xynJjsMYjMaT/aFQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "hashery": "^1.4.0", + "hookified": "^1.15.0" + }, + "engines": { + "node": ">= 18" + }, + "peerDependencies": { + "keyv": "^5.6.0" + } + }, + "node_modules/@keyv/serialize": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/@keyv/serialize/-/serialize-1.1.1.tgz", + "integrity": "sha512-dXn3FZhPv0US+7dtJsIi2R+c7qWYiReoEh5zUntWCf4oSpMNib8FDhSoed6m3QyZdx5hK7iLFkYk3rNxwt8vTA==", + "dev": true, + "license": "MIT" + }, + "node_modules/@modelcontextprotocol/core": { + "version": "2.4.0", + "resolved": "https://registry.npmjs.org/@modelcontextprotocol/core/-/core-2.4.0.tgz", + "integrity": "sha512-z8QBKqdfXLPzkLQuG4xp8hrVEMm1PZ1IgxMN2sMbJiFiAKOWXnAzogXn2W4aqIBlP1ea6U5yiqVquvUNM1Cj6Q==", + "license": "Apache-2.0", + "dependencies": { + "zod": "^4.2.0" + }, + "engines": { + "node": ">=20" + } + }, + "node_modules/@modelcontextprotocol/server": { + "version": "2.4.0", + "resolved": "https://registry.npmjs.org/@modelcontextprotocol/server/-/server-2.4.0.tgz", + "integrity": "sha512-rgR9yxSaAJ+bcsi/XroT/S2AfPiIWloXAnrdfYSCms9ivVju0ishu/wW0J21Ho6+ZOR1r7RyeRbjiRuF87ix5Q==", + "license": "Apache-2.0", + "dependencies": { + "@modelcontextprotocol/core": "2.4.0", + "zod": "^4.2.0" + }, + "engines": { + "node": ">=20" + } + }, + "node_modules/@oxc-project/types": { + "version": "0.156.0", + "resolved": "https://registry.npmjs.org/@oxc-project/types/-/types-0.156.0.tgz", + "integrity": "sha512-1Duyg48TdJNdyhEB8Xn1L36bT9Pv6GUtlKjHxOys8xkaF/rQq3XJE+bAurSK/AgIz5mGFsb77cn9Pb20+WCScw==", + "dev": true, + "license": "MIT", + "peer": true, + "funding": { + "url": "https://github.com/sponsors/oxc-project" + } + }, + "node_modules/@pkgr/core": { + "version": "0.3.6", + "resolved": "https://registry.npmjs.org/@pkgr/core/-/core-0.3.6.tgz", + "integrity": "sha512-SEeaJLb3qBNF/OaXnaR1NmmBbFYk1zC0ZH/52fATcRPLFg/p791YrcyFFy44Bo9sLaGuSuLp5Q6axbb/O+v/RA==", + "dev": true, + "license": "MIT", + "engines": { + "node": "^14.18.0 || >=16.0.0" + }, + "funding": { + "url": "https://opencollective.com/pkgr" + } + }, + "node_modules/@playwright/test": { + "version": "1.64.1", + "resolved": "https://registry.npmjs.org/@playwright/test/-/test-1.64.1.tgz", + "integrity": "sha512-IaYGml/nSOiZWROfPtuIL7neuu9qDOZ3TNvNljUIrhDMxiGTgPjzj/g9p9RxpS2tSepPDRY+UwAaEeiKtUvIAg==", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "playwright": "1.64.1" + }, + "bin": { + "playwright": "cli.js" + }, + "engines": { + "node": ">=20" + } + }, + "node_modules/@radix-ui/number": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/@radix-ui/number/-/number-1.1.3.tgz", + "integrity": "sha512-Road2bidD0uu/1BGDOWNdPI06g0lIRy6IF9GZcIrDK2KGItfor8IQwQa+yM2ERgHM1MmHxaxpTzk0/Jp42lNfA==", + "dev": true, + "license": "MIT" + }, + "node_modules/@radix-ui/primitive": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/@radix-ui/primitive/-/primitive-1.2.0.tgz", + "integrity": "sha512-KABY+VMIRPJL+Vyzv/335FEhXXD/xDv8BMb1kl48/aXJZMH0LtHCTx5ga5RnxaEP3nZHtmTLf1P9vanmFX46bw==", + "dev": true, + "license": "MIT" + }, + "node_modules/@radix-ui/react-arrow": { + "version": "1.1.17", + "resolved": "https://registry.npmjs.org/@radix-ui/react-arrow/-/react-arrow-1.1.17.tgz", + "integrity": "sha512-67jjcVvxjXCCStnTW3Z+M7jmaFMuMR7M2JgpDzH4w7JSRrikmzhjfYgP/09ECb8n7whnsgh1ifJ+Ie96qEj+pQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@radix-ui/react-primitive": "2.2.0" + }, + "peerDependencies": { + "@types/react": "*", + "@types/react-dom": "*", + "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc", + "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + }, + "@types/react-dom": { + "optional": true + } + } + }, + "node_modules/@radix-ui/react-collection": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/@radix-ui/react-collection/-/react-collection-1.2.0.tgz", + "integrity": "sha512-+yiQzqcc7Sy7/5s0jrMCjpPRFB3538VNrXPWdTLZhE/SCfgEws4aI6lHWN/vvcnyhHndROWBzqmqB4QBrITZ9Q==", + "dev": true, + "license": "MIT", + "dependencies": { + "@radix-ui/react-compose-refs": "1.1.5", + "@radix-ui/react-context": "1.3.0", + "@radix-ui/react-primitive": "2.2.0", + "@radix-ui/react-slot": "1.5.0", + "@radix-ui/react-use-layout-effect": "1.1.4" + }, + "peerDependencies": { + "@types/react": "*", + "@types/react-dom": "*", + "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc", + "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + }, + "@types/react-dom": { + "optional": true + } + } + }, + "node_modules/@radix-ui/react-compose-refs": { + "version": "1.1.5", + "resolved": "https://registry.npmjs.org/@radix-ui/react-compose-refs/-/react-compose-refs-1.1.5.tgz", + "integrity": "sha512-+48PbAAbq3didjJxa+OaWY2ZwgAKsNiRGyeHKszblZMQ+kcpd9pAaT11cMkGEie0vsOi3QdeTE6d5Fe3Gn61kA==", + "dev": true, + "license": "MIT", + "peerDependencies": { + "@types/react": "*", + "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + } + } + }, + "node_modules/@radix-ui/react-context": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/@radix-ui/react-context/-/react-context-1.3.0.tgz", + "integrity": "sha512-v5AYEocMISkbJ+1fTXzZpiFv7NRr3D2WiYbLIKf+FkmJ8VkP6d503eV2n34MFussHXY1pcoq3yfJiQH77dc4Mg==", + "dev": true, + "license": "MIT", + "peerDependencies": { + "@types/react": "*", + "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + } + } + }, + "node_modules/@radix-ui/react-direction": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/@radix-ui/react-direction/-/react-direction-1.2.0.tgz", + "integrity": "sha512-FtRA52a/r+LKStFT+neLUm+8vSe7wbzkbQGGeU8ixFiwC8NU14Evoq9ATECqL3eGbcUzJR4fyfA4KkK/q6dfqg==", + "dev": true, + "license": "MIT", + "peerDependencies": { + "@types/react": "*", + "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + } + } + }, + "node_modules/@radix-ui/react-dismissable-layer": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/@radix-ui/react-dismissable-layer/-/react-dismissable-layer-1.2.1.tgz", + "integrity": "sha512-KIfDcAsx+oVylFZ4xryVKusJUrLLhTQmfnJW4kwk4Km5myvhHCrj04hnWWUC166+xD4DHdH8tQGylwYX1h6+Pg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@radix-ui/primitive": "1.2.0", + "@radix-ui/react-compose-refs": "1.1.5", + "@radix-ui/react-primitive": "2.2.0", + "@radix-ui/react-use-callback-ref": "1.1.5", + "@radix-ui/react-use-effect-event": "0.0.5" + }, + "peerDependencies": { + "@types/react": "*", + "@types/react-dom": "*", + "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc", + "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + }, + "@types/react-dom": { + "optional": true + } + } + }, + "node_modules/@radix-ui/react-focus-guards": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/@radix-ui/react-focus-guards/-/react-focus-guards-1.2.0.tgz", + "integrity": "sha512-MPm5R0iRGUDrDnPNxmLBkv+X7pN4XKzt+MbWJEuJQsH3NFH4omrbpXpucyYCCKTSt+na/ZxGhEWQrWTZ0285cA==", + "dev": true, + "license": "MIT", + "peerDependencies": { + "@types/react": "*", + "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + } + } + }, + "node_modules/@radix-ui/react-focus-scope": { + "version": "1.3.1", + "resolved": "https://registry.npmjs.org/@radix-ui/react-focus-scope/-/react-focus-scope-1.3.1.tgz", + "integrity": "sha512-ugeMhbXt4y5S2T1GnIqbWDKEN962PDwnX1fN0eKOOgf5f63Dh2mn8F1FUySlgW0iF6GiVsRF32DzuDIWTUyQJg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@radix-ui/react-compose-refs": "1.1.5", + "@radix-ui/react-primitive": "2.2.0", + "@radix-ui/react-use-callback-ref": "1.1.5" + }, + "peerDependencies": { + "@types/react": "*", + "@types/react-dom": "*", + "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc", + "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + }, + "@types/react-dom": { + "optional": true + } + } + }, + "node_modules/@radix-ui/react-id": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/@radix-ui/react-id/-/react-id-1.1.4.tgz", + "integrity": "sha512-TMQp2llA+RYn7JcjnrMnz7wN4pcVttPZnRZo52PLQsoLVKzNlVwUeHmfePgTgRluXFvlD3GD5g5MOVVTJCO0qA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@radix-ui/react-use-layout-effect": "1.1.4" + }, + "peerDependencies": { + "@types/react": "*", + "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + } + } + }, + "node_modules/@radix-ui/react-popper": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/@radix-ui/react-popper/-/react-popper-1.4.0.tgz", + "integrity": "sha512-yCWRvLeGv9Pz3+efwHqGPp70mZ56r3kfIgQVF56Oj2aAa4uP/Tb+IE59wNcc+758rctqbCKx4LbK8II/r7Bn0Q==", + "dev": true, + "license": "MIT", + "dependencies": { + "@floating-ui/react-dom": "^2.0.0", + "@radix-ui/react-arrow": "1.1.17", + "@radix-ui/react-compose-refs": "1.1.5", + "@radix-ui/react-context": "1.3.0", + "@radix-ui/react-primitive": "2.2.0", + "@radix-ui/react-use-callback-ref": "1.1.5", + "@radix-ui/react-use-layout-effect": "1.1.4", + "@radix-ui/react-use-rect": "1.1.4", + "@radix-ui/react-use-size": "1.1.5", + "@radix-ui/rect": "1.1.3" + }, + "peerDependencies": { + "@types/react": "*", + "@types/react-dom": "*", + "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc", + "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + }, + "@types/react-dom": { + "optional": true + } + } + }, + "node_modules/@radix-ui/react-portal": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/@radix-ui/react-portal/-/react-portal-1.2.0.tgz", + "integrity": "sha512-StX7xXnaRU41VvFtMm9zlhVGz8XF6GmWWTXftkQaY+tqVkbs/R9UmAp5mLzHHapk5hM9RMZQvO/3usyIP/g42g==", + "dev": true, + "license": "MIT", + "dependencies": { + "@radix-ui/react-primitive": "2.2.0", + "@radix-ui/react-use-layout-effect": "1.1.4" + }, + "peerDependencies": { + "@types/react": "*", + "@types/react-dom": "*", + "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc", + "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + }, + "@types/react-dom": { + "optional": true + } + } + }, + "node_modules/@radix-ui/react-presence": { + "version": "1.1.11", + "resolved": "https://registry.npmjs.org/@radix-ui/react-presence/-/react-presence-1.1.11.tgz", + "integrity": "sha512-Z7/atlkab36Z8hm+V8zYc79r0W+tiOB1o0tun1By94JyadkekLQmtEAnBSP9XKXBNQsStoStS4+gX10JpS5akA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@radix-ui/react-use-layout-effect": "1.1.4" + }, + "peerDependencies": { + "@types/react": "*", + "@types/react-dom": "*", + "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc", + "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + }, + "@types/react-dom": { + "optional": true + } + } + }, + "node_modules/@radix-ui/react-primitive": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/@radix-ui/react-primitive/-/react-primitive-2.2.0.tgz", + "integrity": "sha512-HCTSPMNqv55Qk0IX4geJbpyXazmqulcimwuyjxTkKi29v+QZbG2Zho9BnbBq4YS2PF+KlNb2CXoLz66uUmblkg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@radix-ui/react-slot": "1.5.0" + }, + "peerDependencies": { + "@types/react": "*", + "@types/react-dom": "*", + "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc", + "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + }, + "@types/react-dom": { + "optional": true + } + } + }, + "node_modules/@radix-ui/react-select": { + "version": "2.4.1", + "resolved": "https://registry.npmjs.org/@radix-ui/react-select/-/react-select-2.4.1.tgz", + "integrity": "sha512-888ZwW0Md6GyptuqYABRX9nLKgoYfcooCyBBvVaX5Jp3e+8Jp2i4Zo/Uy50Hm+Ysn2JfloQXstW4U36w8teVtg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@radix-ui/number": "1.1.3", + "@radix-ui/primitive": "1.2.0", + "@radix-ui/react-collection": "1.2.0", + "@radix-ui/react-compose-refs": "1.1.5", + "@radix-ui/react-context": "1.3.0", + "@radix-ui/react-direction": "1.2.0", + "@radix-ui/react-dismissable-layer": "1.2.1", + "@radix-ui/react-focus-guards": "1.2.0", + "@radix-ui/react-focus-scope": "1.3.1", + "@radix-ui/react-id": "1.1.4", + "@radix-ui/react-popper": "1.4.0", + "@radix-ui/react-portal": "1.2.0", + "@radix-ui/react-presence": "1.1.11", + "@radix-ui/react-primitive": "2.2.0", + "@radix-ui/react-slot": "1.5.0", + "@radix-ui/react-use-callback-ref": "1.1.5", + "@radix-ui/react-use-controllable-state": "1.3.0", + "@radix-ui/react-use-layout-effect": "1.1.4", + "@radix-ui/react-visually-hidden": "1.2.13", + "aria-hidden": "^1.2.4", + "react-remove-scroll": "^2.7.2" + }, + "peerDependencies": { + "@types/react": "*", + "@types/react-dom": "*", + "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc", + "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + }, + "@types/react-dom": { + "optional": true + } + } + }, + "node_modules/@radix-ui/react-slot": { + "version": "1.5.0", + "resolved": "https://registry.npmjs.org/@radix-ui/react-slot/-/react-slot-1.5.0.tgz", + "integrity": "sha512-tyYd9ddPXAysAbdbD9eYxgwpCSv6f3PncqVSNKQFSR5lcJVLz3cb/pANDoYrLiHBpXv7skortyUgGUWsYuPPFQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@radix-ui/react-compose-refs": "1.1.5" + }, + "peerDependencies": { + "@types/react": "*", + "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + } + } + }, + "node_modules/@radix-ui/react-use-callback-ref": { + "version": "1.1.5", + "resolved": "https://registry.npmjs.org/@radix-ui/react-use-callback-ref/-/react-use-callback-ref-1.1.5.tgz", + "integrity": "sha512-Y5GBf4NKeADoXI1geiMlMuMoURT3k9MizzzKhGb/m55H94aGigZ01PIpkvsO6lML13BA6XYAXSJ6gza7vTn5nw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@radix-ui/react-use-layout-effect": "1.1.4" + }, + "peerDependencies": { + "@types/react": "*", + "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + } + } + }, + "node_modules/@radix-ui/react-use-controllable-state": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/@radix-ui/react-use-controllable-state/-/react-use-controllable-state-1.3.0.tgz", + "integrity": "sha512-TAcBI7bw2ljYCbv4+zuTSd6zICu8pRt6SDN2vJ/Z06K2MXh6I9WYFe/A9ovlFDtR5HVHGm5iDxDoABm/++dbKg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@radix-ui/primitive": "1.2.0", + "@radix-ui/react-use-effect-event": "0.0.5", + "@radix-ui/react-use-layout-effect": "1.1.4" + }, + "peerDependencies": { + "@types/react": "*", + "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + } + } + }, + "node_modules/@radix-ui/react-use-effect-event": { + "version": "0.0.5", + "resolved": "https://registry.npmjs.org/@radix-ui/react-use-effect-event/-/react-use-effect-event-0.0.5.tgz", + "integrity": "sha512-7cshFL8HGS/7HEiHH+9kL9HBwp2sa9yX18Knwek6KYWmXwM7pegMgta2AXMQKI+rq3JnfSj9x8wYqFMTdG1Jgg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@radix-ui/react-use-layout-effect": "1.1.4" + }, + "peerDependencies": { + "@types/react": "*", + "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + } + } + }, + "node_modules/@radix-ui/react-use-layout-effect": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/@radix-ui/react-use-layout-effect/-/react-use-layout-effect-1.1.4.tgz", + "integrity": "sha512-K20DkRkUwDnxEYMBPcg3Y6voLkEy5p5QQmszZgLngKKiC7dzBR/aEuK3w1qlx2JWDUNH6FluahYdgR3BP+QbYw==", + "dev": true, + "license": "MIT", + "peerDependencies": { + "@types/react": "*", + "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + } + } + }, + "node_modules/@radix-ui/react-use-rect": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/@radix-ui/react-use-rect/-/react-use-rect-1.1.4.tgz", + "integrity": "sha512-cSOCh6JlkmfjLyNcLiu2nB4v+nm+dkZ+Q5KHWk/soo4U7ZLiEQFKHK9/YmtBHjfCEaU43IBKQOc4/uJmCaiCTQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@radix-ui/rect": "1.1.3" + }, + "peerDependencies": { + "@types/react": "*", + "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + } + } + }, + "node_modules/@radix-ui/react-use-size": { + "version": "1.1.5", + "resolved": "https://registry.npmjs.org/@radix-ui/react-use-size/-/react-use-size-1.1.5.tgz", + "integrity": "sha512-V1McDQkMGzgivwqdu7u96APs7oi0Jvj9LTzgq3WWrDZqxWdAqU9yZnZQqk5OizGFR8badUQwZsrlao7MOlWYOA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@radix-ui/react-use-layout-effect": "1.1.4" + }, + "peerDependencies": { + "@types/react": "*", + "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + } + } + }, + "node_modules/@radix-ui/react-visually-hidden": { + "version": "1.2.13", + "resolved": "https://registry.npmjs.org/@radix-ui/react-visually-hidden/-/react-visually-hidden-1.2.13.tgz", + "integrity": "sha512-feijiN1oPk4rck4u9Dm9tsU4mT6Wp9oeEEhaz1WUEs1VuqLf8xzsFG+Qk+uWq6TnMH9O+WRECRg0NftyP9E4Fw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@radix-ui/react-primitive": "2.2.0" + }, + "peerDependencies": { + "@types/react": "*", + "@types/react-dom": "*", + "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc", + "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + }, + "@types/react-dom": { + "optional": true + } + } + }, + "node_modules/@radix-ui/rect": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/@radix-ui/rect/-/rect-1.1.3.tgz", + "integrity": "sha512-JtyZR+mqgBibTo8xea3B6ZRmzZiM/YeVBtUkas6zMuXjAlfIFIW2FgqeM9eLyvEaYX66vr6DJMK+4U6LV0KhNw==", + "dev": true, + "license": "MIT" + }, + "node_modules/@rolldown/binding-android-arm-eabi": { + "version": "1.2.16", + "resolved": "https://registry.npmjs.org/@rolldown/binding-android-arm-eabi/-/binding-android-arm-eabi-1.2.16.tgz", + "integrity": "sha512-ia3DwAs0OsMGS7+IConptSiyk9pEXkOx/AbJ2n/lAGxH3QkWQus1t8d7gnAT38FCU2sQu8lUbeR6AiZFv4JxaA==", + "cpu": [ + "arm" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "android" + ], + "peer": true, + "engines": { + "node": "^20.19.0 || >=22.12.0" + } + }, + "node_modules/@rolldown/binding-android-arm64": { + "version": "1.2.16", + "resolved": "https://registry.npmjs.org/@rolldown/binding-android-arm64/-/binding-android-arm64-1.2.16.tgz", + "integrity": "sha512-kx5wBiMB6E7TEvpl2B9gjLU004BkvEm2Dr941BFjx/SontPwSzNuQUIoVKxHHoSjpFIfHMmcguyLOtyn0hObRg==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "android" + ], + "peer": true, + "engines": { + "node": "^20.19.0 || >=22.12.0" + } + }, + "node_modules/@rolldown/binding-darwin-arm64": { + "version": "1.2.16", + "resolved": "https://registry.npmjs.org/@rolldown/binding-darwin-arm64/-/binding-darwin-arm64-1.2.16.tgz", + "integrity": "sha512-qslZrXnKJU4cUpjoAmtAo/KQM9e2IRMlmpig6Zpwj+8KWxW8v+nkAf9216Bsek9lOC1jvg2yCjygCFo2f83msQ==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "darwin" + ], + "peer": true, + "engines": { + "node": "^20.19.0 || >=22.12.0" + } + }, + "node_modules/@rolldown/binding-darwin-x64": { + "version": "1.2.16", + "resolved": "https://registry.npmjs.org/@rolldown/binding-darwin-x64/-/binding-darwin-x64-1.2.16.tgz", + "integrity": "sha512-FdF+y48ND13eAyM2mQn+85kvAqNlvRWROy2rhgA463X/0Gv4vGtazZtfaF1mRBLscYvtOlh4QnLjOWiFzX69OQ==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "darwin" + ], + "peer": true, + "engines": { + "node": "^20.19.0 || >=22.12.0" + } + }, + "node_modules/@rolldown/binding-freebsd-x64": { + "version": "1.2.16", + "resolved": "https://registry.npmjs.org/@rolldown/binding-freebsd-x64/-/binding-freebsd-x64-1.2.16.tgz", + "integrity": "sha512-ddjqFM5e95AgLbUPtKIS7V1KTVlA0RUgCVr5mn+/IEhsdy3pr+Vuj/HZ7nlMN2FyxIwUktOH1LEPIQXO1v9y1Q==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "freebsd" + ], + "peer": true, + "engines": { + "node": "^20.19.0 || >=22.12.0" + } + }, + "node_modules/@rolldown/binding-linux-arm-gnueabihf": { + "version": "1.2.16", + "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-arm-gnueabihf/-/binding-linux-arm-gnueabihf-1.2.16.tgz", + "integrity": "sha512-tHdKWbFkFBI687iim3LIyIvyL7j66VvQYkDPss5Stn/qyE2tWkR1YD0dXmXPFKKqT/o5ZEJVsaRsWS2meQwGOA==", + "cpu": [ + "arm" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "peer": true, + "engines": { + "node": "^20.19.0 || >=22.12.0" + } + }, + "node_modules/@rolldown/binding-linux-arm64-gnu": { + "version": "1.2.16", + "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-arm64-gnu/-/binding-linux-arm64-gnu-1.2.16.tgz", + "integrity": "sha512-FJiLGAblPBMlBEdbOqw6kW6QcXDWAf/oJu7gYs9ZJZwmg+K+/zjFLxPTIY9izJUzxzc24FHvmseyA0IvJSl17w==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "peer": true, + "engines": { + "node": "^20.19.0 || >=22.12.0" + } + }, + "node_modules/@rolldown/binding-linux-arm64-musl": { + "version": "1.2.16", + "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-arm64-musl/-/binding-linux-arm64-musl-1.2.16.tgz", + "integrity": "sha512-hrJpblMsrQ58U9veWpbXzkhV5zStunds6HWLprqq1qauvgBr1E6P+24kLj6lSLI9vjRn/RYpjprhkHQPKGWpNg==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "peer": true, + "engines": { + "node": "^20.19.0 || >=22.12.0" + } + }, + "node_modules/@rolldown/binding-linux-ppc64-gnu": { + "version": "1.2.16", + "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-ppc64-gnu/-/binding-linux-ppc64-gnu-1.2.16.tgz", + "integrity": "sha512-qJd/dC6j6CwLG9/s/RP2nb1RZ0GIgj7Ioj7x/SYa3RzjVrlzrmH0fhIOpfvqQDeIsdP0loi+kHaMhJzY1PBIaA==", + "cpu": [ + "ppc64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "peer": true, + "engines": { + "node": "^20.19.0 || >=22.12.0" + } + }, + "node_modules/@rolldown/binding-linux-s390x-gnu": { + "version": "1.2.16", + "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-s390x-gnu/-/binding-linux-s390x-gnu-1.2.16.tgz", + "integrity": "sha512-Vx7Xg5uUJuNcujJjI70OICaH0EYj80BtOLZTSN7uOYg8QOLlyKnaG0IW7Fn/J0IpJsaKzmDKMhOQv1JBM9m9vg==", + "cpu": [ + "s390x" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "peer": true, + "engines": { + "node": "^20.19.0 || >=22.12.0" + } + }, + "node_modules/@rolldown/binding-linux-x64-gnu": { + "version": "1.2.16", + "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-x64-gnu/-/binding-linux-x64-gnu-1.2.16.tgz", + "integrity": "sha512-TNKhgE3uJTsTzatUSSYt0Kgo+Oa2uSlSjz4r1aEIea7HX6ULBym4fAlYUhG1i6pjNf2njfCUAfKwr6C3E9Xg1w==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "peer": true, + "engines": { + "node": "^20.19.0 || >=22.12.0" + } + }, + "node_modules/@rolldown/binding-linux-x64-musl": { + "version": "1.2.16", + "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-x64-musl/-/binding-linux-x64-musl-1.2.16.tgz", + "integrity": "sha512-7chXdpjXZ8qG0+mIxECN3cT9kvhZ3/oZhMX6Pp876P7CDrIy8nJswva6Mq357JR7eYXfuskwZxMeV1SzoZdHrA==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "peer": true, + "engines": { + "node": "^20.19.0 || >=22.12.0" + } + }, + "node_modules/@rolldown/binding-openharmony-arm64": { + "version": "1.2.16", + "resolved": "https://registry.npmjs.org/@rolldown/binding-openharmony-arm64/-/binding-openharmony-arm64-1.2.16.tgz", + "integrity": "sha512-Kwjt+7uNTJK5/MDkGWGVO2KQPnj8yAV75dMpfwyHZrJSXWHrniOB0aUEWlVYf3H1hOqFLIStLdM5QXq6bnKmOQ==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "openharmony" + ], + "peer": true, + "engines": { + "node": "^20.19.0 || >=22.12.0" + } + }, + "node_modules/@rolldown/binding-win32-arm64-msvc": { + "version": "1.2.16", + "resolved": "https://registry.npmjs.org/@rolldown/binding-win32-arm64-msvc/-/binding-win32-arm64-msvc-1.2.16.tgz", + "integrity": "sha512-/LH6WfjDRXXJz/p5xl4TmU+jpcnwcxbKEQBW/GZE0JHfN0lGIyTtsUEGaQ/q/GikkGJ2yLKe6pwm7AnEWO8pdw==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "win32" + ], + "peer": true, + "engines": { + "node": "^20.19.0 || >=22.12.0" + } + }, + "node_modules/@rolldown/binding-win32-x64-msvc": { + "version": "1.2.16", + "resolved": "https://registry.npmjs.org/@rolldown/binding-win32-x64-msvc/-/binding-win32-x64-msvc-1.2.16.tgz", + "integrity": "sha512-1lv1KvX0Z871zfk7vw+dnXMMnHNyDwMzWG8Kv3HxDXMOhzCX4SHc7HK319fInP0i+0p9D8brkfzL7pJOaGl+tw==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "win32" + ], + "peer": true, + "engines": { + "node": "^20.19.0 || >=22.12.0" + } + }, + "node_modules/@rolldown/pluginutils": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/@rolldown/pluginutils/-/pluginutils-1.0.1.tgz", + "integrity": "sha512-2j9bGt5Jh8hj+vPtgzPtl72j0yRxHAyumoo6TNfAjsLB04UtpSvPbPcDcBMxz7n+9CYB0c1GxQFxYRg2jimqGw==", + "dev": true, + "license": "MIT", + "peer": true + }, + "node_modules/@types/body-parser": { + "version": "1.19.6", + "resolved": "https://registry.npmjs.org/@types/body-parser/-/body-parser-1.19.6.tgz", + "integrity": "sha512-HLFeCYgz89uk22N5Qg3dvGvsv46B8GLvKKo1zKG4NybA8U2DiEO3w9lqGg29t/tfLRJpJ6iQxnVw4OnB7MoM9g==", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/connect": "*", + "@types/node": "*" + } + }, + "node_modules/@types/chai": { + "version": "5.2.3", + "resolved": "https://registry.npmjs.org/@types/chai/-/chai-5.2.3.tgz", + "integrity": "sha512-Mw558oeA9fFbv65/y4mHtXDs9bPnFMZAL/jxdPFUpOHHIXX91mcgEHbS5Lahr+pwZFR8A7GQleRWeI6cGFC2UA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/deep-eql": "*", + "assertion-error": "^2.0.1" + } + }, + "node_modules/@types/connect": { + "version": "3.4.38", + "resolved": "https://registry.npmjs.org/@types/connect/-/connect-3.4.38.tgz", + "integrity": "sha512-K6uROf1LD88uDQqJCktA4yzL1YYAK6NgfsI0v/mTgyPKWsX1CnJ0XPSDhViejru1GcRkLWb8RlzFYJRqGUbaug==", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/node": "*" + } + }, + "node_modules/@types/debug": { + "version": "4.1.13", + "resolved": "https://registry.npmjs.org/@types/debug/-/debug-4.1.13.tgz", + "integrity": "sha512-KSVgmQmzMwPlmtljOomayoR89W4FynCAi3E8PPs7vmDVPe84hT+vGPKkJfThkmXs0x0jAaa9U8uW8bbfyS2fWw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/ms": "*" + } + }, + "node_modules/@types/deep-eql": { + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/@types/deep-eql/-/deep-eql-4.0.2.tgz", + "integrity": "sha512-c9h9dVVMigMPc4bwTvC5dxqtqJZwQPePsWjPlpSOnojbor6pGqdk541lfA7AqFQr5pB1BRdq0juY9db81BwyFw==", + "dev": true, + "license": "MIT" + }, + "node_modules/@types/esrecurse": { + "version": "4.3.1", + "resolved": "https://registry.npmjs.org/@types/esrecurse/-/esrecurse-4.3.1.tgz", + "integrity": "sha512-xJBAbDifo5hpffDBuHl0Y8ywswbiAp/Wi7Y/GtAgSlZyIABppyurxVueOPE8LUQOxdlgi6Zqce7uoEpqNTeiUw==", + "dev": true, + "license": "MIT" + }, + "node_modules/@types/estree": { + "version": "1.0.10", + "resolved": "https://registry.npmjs.org/@types/estree/-/estree-1.0.10.tgz", + "integrity": "sha512-lTyOMnOcmRBzdCv6/4zUZCrEhV0xrqQiUZBZtVcbmLHBXKLnN8q89v/wKRF/Q0HbwVsqbIG3o5HDoFl9sduM+g==", + "dev": true, + "license": "MIT" + }, + "node_modules/@types/estree-jsx": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/@types/estree-jsx/-/estree-jsx-1.0.5.tgz", + "integrity": "sha512-52CcUVNFyfb1A2ALocQw/Dd1BQFNmSdkuC3BkZ6iqhdMfQz7JWOFRuJFloOzjk+6WijU56m9oKXFAXc7o3Towg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/estree": "*" + } + }, + "node_modules/@types/express": { + "version": "5.0.6", + "resolved": "https://registry.npmjs.org/@types/express/-/express-5.0.6.tgz", + "integrity": "sha512-sKYVuV7Sv9fbPIt/442koC7+IIwK5olP1KWeD88e/idgoJqDm3JV/YUiPwkoKK92ylff2MGxSz1CSjsXelx0YA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/body-parser": "*", + "@types/express-serve-static-core": "^5.0.0", + "@types/serve-static": "^2" + } + }, + "node_modules/@types/express-serve-static-core": { + "version": "5.1.3", + "resolved": "https://registry.npmjs.org/@types/express-serve-static-core/-/express-serve-static-core-5.1.3.tgz", + "integrity": "sha512-dPfW8NFiOF4wOHc7+N/QSxlY9cfSsenewGbAz8C8U/MULPd/YZ27LvJUIlzaXie7e6Ove9YunJGgC9tbHD2cKw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/node": "*", + "@types/qs": "*", + "@types/range-parser": "*", + "@types/send": "*" + } + }, + "node_modules/@types/hast": { + "version": "3.0.5", + "resolved": "https://registry.npmjs.org/@types/hast/-/hast-3.0.5.tgz", + "integrity": "sha512-rp/ezSWaD1m44dPKICGhiskI13nVr7qTloFwDa/IYkhhf5nzwP+zIQcIJh3WIFSBOy/H1PzB40jPjMDksN4F+g==", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/unist": "*" + } + }, + "node_modules/@types/http-errors": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/@types/http-errors/-/http-errors-2.0.5.tgz", + "integrity": "sha512-r8Tayk8HJnX0FztbZN7oVqGccWgw98T/0neJphO91KkmOzug1KkofZURD4UaD5uH8AqcFLfdPErnBod0u71/qg==", + "dev": true, + "license": "MIT" + }, + "node_modules/@types/json-schema": { + "version": "7.0.15", + "resolved": "https://registry.npmjs.org/@types/json-schema/-/json-schema-7.0.15.tgz", + "integrity": "sha512-5+fP8P8MFNC+AyZCDxrB2pkZFPGzqQWUzpSeuuVLvm8VMcorNYavBqoFcxK8bQz4Qsbn4oUEEem4wDLfcysGHA==", + "dev": true, + "license": "MIT" + }, + "node_modules/@types/mdast": { + "version": "4.0.4", + "resolved": "https://registry.npmjs.org/@types/mdast/-/mdast-4.0.4.tgz", + "integrity": "sha512-kGaNbPh1k7AFzgpud/gMdvIm5xuECykRR+JnWKQno9TAXVa6WIVCGTPvYGekIDL4uwCZQSYbUxNBSb1aUo79oA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/unist": "*" + } + }, + "node_modules/@types/ms": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/@types/ms/-/ms-2.1.0.tgz", + "integrity": "sha512-GsCCIZDE/p3i96vtEqx+7dBUGXrc7zeSK3wwPHIaRThS+9OhWIXRqzs4d6k1SVU8g91DrNRWxWUGhp5KXQb2VA==", + "dev": true, + "license": "MIT" + }, + "node_modules/@types/node": { + "version": "26.6.6", + "resolved": "https://registry.npmjs.org/@types/node/-/node-26.6.6.tgz", + "integrity": "sha512-MzQj+8Kx3XI40OmUAE6Qoh58ZMNstNNMwn2nfd3qWsfe7nDNSqJNzes4njhz6AHwrSHOffSLwXU6yb474Q4aog==", + "dev": true, + "license": "MIT", + "dependencies": { + "undici-types": "~8.9.0" + } + }, + "node_modules/@types/qs": { + "version": "6.15.1", + "resolved": "https://registry.npmjs.org/@types/qs/-/qs-6.15.1.tgz", + "integrity": "sha512-GZHUBZR9hckSUhrxmp1nG6NwdpM9fCunJwyThLW1X3AyHgd9IlHb6VANpQQqDr2o/qQp6McZ3y/IA2rVzKzSbw==", + "dev": true, + "license": "MIT" + }, + "node_modules/@types/range-parser": { + "version": "1.2.7", + "resolved": "https://registry.npmjs.org/@types/range-parser/-/range-parser-1.2.7.tgz", + "integrity": "sha512-hKormJbkJqzQGhziax5PItDUTMAM9uE2XXQmM37dyd4hVM+5aVl7oVxMVUiVQn2oCQFN/LKCZdvSM0pFRqbSmQ==", + "dev": true, + "license": "MIT" + }, + "node_modules/@types/react": { + "version": "19.3.0", + "resolved": "https://registry.npmjs.org/@types/react/-/react-19.3.0.tgz", + "integrity": "sha512-N0rFCuH9YoxG9/m61l9MfpJKfmLOVU0em7ipIz6TRgSSkvReLB9vL85GB+yr8Bs5leqpvg96JSwF4ZS1s4viQg==", + "dev": true, + "license": "MIT", + "dependencies": { + "csstype": "^3.2.2" + } + }, + "node_modules/@types/send": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/@types/send/-/send-1.2.1.tgz", + "integrity": "sha512-arsCikDvlU99zl1g69TcAB3mzZPpxgw0UQnaHeC1Nwb015xp8bknZv5rIfri9xTOcMuaVgvabfIRA7PSZVuZIQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/node": "*" + } + }, + "node_modules/@types/serve-static": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/@types/serve-static/-/serve-static-2.2.0.tgz", + "integrity": "sha512-8mam4H1NHLtu7nmtalF7eyBH14QyOASmcxHhSfEoRyr0nP/YdoesEtU+uSRvMe96TW/HPTtkoKqQLl53N7UXMQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/http-errors": "*", + "@types/node": "*" + } + }, + "node_modules/@types/unist": { + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/@types/unist/-/unist-3.0.3.tgz", + "integrity": "sha512-ko/gIFJRv177XgZsZcBwnqJN5x/Gien8qNOn0D5bQU/zAzVf9Zt3BlcUiLqhV9y4ARk0GbT3tnUiPNgnTXzc/Q==", + "dev": true, + "license": "MIT" + }, + "node_modules/@typescript-eslint/eslint-plugin": { + "version": "8.72.1", + "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-8.72.1.tgz", + "integrity": "sha512-5CokTWXpmbylfFabsbvHC0CAw3XLaGnoa+nFJX5FR592h/LoZsENUE6p/rg5xvkKrFEXz6pYmgI29AgXc2N3BQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@eslint-community/regexpp": "^4.12.2", + "@typescript-eslint/scope-manager": "8.72.1", + "@typescript-eslint/type-utils": "8.72.1", + "@typescript-eslint/utils": "8.72.1", + "@typescript-eslint/visitor-keys": "8.72.1", + "ignore": "^7.0.5", + "natural-compare": "^1.4.0", + "ts-api-utils": "^2.5.0" + }, + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + }, + "peerDependencies": { + "@typescript-eslint/parser": "^8.72.1", + "eslint": "^8.57.0 || ^9.0.0 || ^10.0.0", + "typescript": ">=4.8.4 <6.1.0" + } + }, + "node_modules/@typescript-eslint/parser": { + "version": "8.72.1", + "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-8.72.1.tgz", + "integrity": "sha512-ZGwZP4OCfyA0AQTpEAMWz+rtX01DRhQWW5hB0ucKDEIX5U7jdmPSaMx94rQfaPAQzIYz2BimOgKOJtjfpRFQ9g==", + "dev": true, + "license": "MIT", + "dependencies": { + "@typescript-eslint/scope-manager": "8.72.1", + "@typescript-eslint/types": "8.72.1", + "@typescript-eslint/typescript-estree": "8.72.1", + "@typescript-eslint/visitor-keys": "8.72.1", + "debug": "^4.4.3" + }, + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + }, + "peerDependencies": { + "eslint": "^8.57.0 || ^9.0.0 || ^10.0.0", + "typescript": ">=4.8.4 <6.1.0" + } + }, + "node_modules/@typescript-eslint/project-service": { + "version": "8.72.1", + "resolved": "https://registry.npmjs.org/@typescript-eslint/project-service/-/project-service-8.72.1.tgz", + "integrity": "sha512-fAuVMkwdO/huI8nyo/WKnNKf6Gag93S56Rh3Ts5mGcavwSdaN8tRg1gCeIGX8PF+nzp1BjGfO4gHhGzW1J6jTg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@typescript-eslint/tsconfig-utils": "^8.72.1", + "@typescript-eslint/types": "^8.72.1", + "debug": "^4.4.3" + }, + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + }, + "peerDependencies": { + "typescript": ">=4.8.4 <6.1.0" + } + }, + "node_modules/@typescript-eslint/scope-manager": { + "version": "8.72.1", + "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.72.1.tgz", + "integrity": "sha512-lC/t6eMCZZQAAKZEYGL6RDVSuFehpdmMT6h+nJIjIa6oylN/PwDgDVtEIbB7O9xFfZYtZAYLoLlDNWKJhtF+uQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@typescript-eslint/types": "8.72.1", + "@typescript-eslint/visitor-keys": "8.72.1" + }, + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + } + }, + "node_modules/@typescript-eslint/tsconfig-utils": { + "version": "8.72.1", + "resolved": "https://registry.npmjs.org/@typescript-eslint/tsconfig-utils/-/tsconfig-utils-8.72.1.tgz", + "integrity": "sha512-e4D5R5vpeAEPBxT2BAzsFQL3sbwyeeeo5+aczgNSRK1V734jE7pTqaGFU+fXapWEQwnZbpFaTn32+Z8DwS6OTg==", + "dev": true, + "license": "MIT", + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + }, + "peerDependencies": { + "typescript": ">=4.8.4 <6.1.0" + } + }, + "node_modules/@typescript-eslint/type-utils": { + "version": "8.72.1", + "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-8.72.1.tgz", + "integrity": "sha512-iY2wlmyrXJmx4yxUGP3aYCFF3cA/6ShddOKmLU2dx7LnEykbAM8WThlxZEfd1NddqceF6eJmZUayxx9oKIYNlg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@typescript-eslint/types": "8.72.1", + "@typescript-eslint/typescript-estree": "8.72.1", + "@typescript-eslint/utils": "8.72.1", + "debug": "^4.4.3", + "ts-api-utils": "^2.5.0" + }, + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + }, + "peerDependencies": { + "eslint": "^8.57.0 || ^9.0.0 || ^10.0.0", + "typescript": ">=4.8.4 <6.1.0" + } + }, + "node_modules/@typescript-eslint/types": { + "version": "8.72.1", + "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.72.1.tgz", + "integrity": "sha512-LmE5IhQet1BWOWEXqBrVtBPsMAOQ6Nzk35d+WLh3mk4EUF33sqlfxjio1MdYeSvKSG5skactKKuixBIKXhL4Rw==", + "dev": true, + "license": "MIT", + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + } + }, + "node_modules/@typescript-eslint/typescript-estree": { + "version": "8.72.1", + "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.72.1.tgz", + "integrity": "sha512-DAlUoUV93hIvrtIQLwCbmZQYVZwOMhiHJrOVUUIWicFZaIYjTRqlY3I/NZevfkLmSqkNHRu2qYDcq9lrn16oOQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@typescript-eslint/project-service": "8.72.1", + "@typescript-eslint/tsconfig-utils": "8.72.1", + "@typescript-eslint/types": "8.72.1", + "@typescript-eslint/visitor-keys": "8.72.1", + "debug": "^4.4.3", + "minimatch": "^10.2.2", + "semver": "^7.7.3", + "tinyglobby": "^0.2.15", + "ts-api-utils": "^2.5.0" + }, + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + }, + "peerDependencies": { + "typescript": ">=4.8.4 <6.1.0" + } + }, + "node_modules/@typescript-eslint/utils": { + "version": "8.72.1", + "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-8.72.1.tgz", + "integrity": "sha512-5v5liypurJBFHCBNqh/RjsymAD+VWcE0djuGY/BUqp5fC3Qn+luWDEksjuTtWjPn6i5zQlUtkZCRG/CYG0yCkA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@eslint-community/eslint-utils": "^4.9.1", + "@typescript-eslint/scope-manager": "8.72.1", + "@typescript-eslint/types": "8.72.1", + "@typescript-eslint/typescript-estree": "8.72.1" + }, + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + }, + "peerDependencies": { + "eslint": "^8.57.0 || ^9.0.0 || ^10.0.0", + "typescript": ">=4.8.4 <6.1.0" + } + }, + "node_modules/@typescript-eslint/visitor-keys": { + "version": "8.72.1", + "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.72.1.tgz", + "integrity": "sha512-SB8xqipSzZHUePCCLNeYxqnxq83X61/qzNhjQGbTfjxGZIeOEP7tBgWYX05Tcd6CgE02WdTJnh5b8kMZJ/+bnQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@typescript-eslint/types": "8.72.1", + "eslint-visitor-keys": "^5.0.0" + }, + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + } + }, + "node_modules/@typescript-eslint/visitor-keys/node_modules/eslint-visitor-keys": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-5.0.1.tgz", + "integrity": "sha512-tD40eHxA35h0PEIZNeIjkHoDR4YjjJp34biM0mDvplBe//mB+IHCqHDGV7pxF+7MklTvighcCPPZC7ynWyjdTA==", + "dev": true, + "license": "Apache-2.0", + "engines": { + "node": "^20.19.0 || ^22.13.0 || >=24" + }, + "funding": { + "url": "https://opencollective.com/eslint" + } + }, + "node_modules/@ungap/structured-clone": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/@ungap/structured-clone/-/structured-clone-1.4.0.tgz", + "integrity": "sha512-1mEZtMKPM09vDmQt5y7YvmN2+DFTP7Tg0EWXdic8/C6VRnpb33e4ghisCIE3WZjsE2N8mf+QV1Zqh7ZFYLWInQ==", + "dev": true, + "license": "ISC" + }, + "node_modules/@vitest/coverage-v8": { + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/@vitest/coverage-v8/-/coverage-v8-5.1.0.tgz", + "integrity": "sha512-OY9aShBQG5KOIw2zCo9fDoCHI9RHliNHJ//nM7m6jGg41Hyke9JOGWmeMlK74xYErsxMoK8mIB3gAeEyFVA7LA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@bcoe/v8-coverage": "^1.0.2", + "@vitest/istanbul-lib-coverage": "^2.1.0", + "@vitest/istanbul-lib-report": "^2.1.0", + "ast-v8-to-istanbul": "^1.0.7", + "magicast": "^0.5.5", + "obug": "^3.0.0", + "std-env": "^4.3.0", + "tinyrainbow": "^3.2.0" + }, + "funding": { + "url": "https://opencollective.com/vitest" + }, + "peerDependencies": { + "@vitest/browser": "5.1.0", + "vitest": "5.1.0" + }, + "peerDependenciesMeta": { + "@vitest/browser": { + "optional": true + } + } + }, + "node_modules/@vitest/istanbul-lib-coverage": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/@vitest/istanbul-lib-coverage/-/istanbul-lib-coverage-2.1.0.tgz", + "integrity": "sha512-WOjuS+xcjSIy7ruYBQ+9BUcV7XZQ0FyVcbWbWxW9TRx/kLGx5SQaeFRIFDJxjNplb6YsT7SpKo2zuXXUo91OIQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=22" + } + }, + "node_modules/@vitest/istanbul-lib-report": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/@vitest/istanbul-lib-report/-/istanbul-lib-report-2.1.0.tgz", + "integrity": "sha512-+ZFta25nWtGCOBG9/IET8w1RO5Oawsd6H8Uf6AJ9EA/StFuKVtKAEJEJ6uRt84OH+T4YkI0ASmIHAhRA+0KVxw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@vitest/istanbul-lib-coverage": "2.1.0" + }, + "engines": { + "node": ">=22" + } + }, + "node_modules/@vitest/mocker": { + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/@vitest/mocker/-/mocker-5.1.0.tgz", + "integrity": "sha512-5umB9/jlWcqVS6fsrFmv5Gdnpu6wAUio/lEOwAmvB7v+lFo/IW2B9FhAD0p19GCULTgMzLCdUmuCDCnAzWgppQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@jridgewell/trace-mapping": "0.3.31", + "@vitest/spy": "5.1.0", + "estree-walker": "^3.0.3", + "magic-string": "^1.4.3" + }, + "funding": { + "url": "https://opencollective.com/vitest" + }, + "peerDependencies": { + "msw": "^2.4.9 || ^3.0.0", + "vite": "^6.0.0 || ^7.0.0 || ^8.0.0" + }, + "peerDependenciesMeta": { + "msw": { + "optional": true + }, + "vite": { + "optional": true + } + } + }, + "node_modules/@vitest/spy": { + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/@vitest/spy/-/spy-5.1.0.tgz", + "integrity": "sha512-2DPO5OMHWKrBngC+fCmTQqemNF0gidRhp3lxbBmRhW+M1XJrfgPpqNqWVevXtn2f2ufD5ZaR1B6B641aAlcX5A==", + "dev": true, + "license": "MIT", + "funding": { + "url": "https://opencollective.com/vitest" + } + }, + "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.19.0", + "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.19.0.tgz", + "integrity": "sha512-oJlA3XiRm7Cyk6qFD2Jn8ak9B7jSy0qy00ADO3+8dpT0LSjFihQYv4C02LFCSYJV3Q37xYwwRy5m+IpIiUzqWw==", + "dev": true, + "license": "MIT", + "bin": { + "acorn": "bin/acorn" + }, + "engines": { + "node": ">=0.4.0" + } + }, + "node_modules/acorn-jsx": { + "version": "5.3.2", + "resolved": "https://registry.npmjs.org/acorn-jsx/-/acorn-jsx-5.3.2.tgz", + "integrity": "sha512-rq9s+JNhf0IChjtDXxllJ7g41oZk5SlXtp0LHwyA5cejwn7vKmKp4pPri6YEePv2PU65sAsegbXtIinmDFDXgQ==", + "dev": true, + "license": "MIT", + "peerDependencies": { + "acorn": "^6.0.0 || ^7.0.0 || ^8.0.0" + } + }, + "node_modules/ajv": { + "version": "6.15.0", + "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.15.0.tgz", + "integrity": "sha512-fgFx7Hfoq60ytK2c7DhnF8jIvzYgOMxfugjLOSMHjLIPgenqa7S7oaagATUq99mV6IYvN2tRmC0wnTYX6iPbMw==", + "dev": true, + "license": "MIT", + "dependencies": { + "fast-deep-equal": "^3.1.1", + "fast-json-stable-stringify": "^2.0.0", + "json-schema-traverse": "^0.4.1", + "uri-js": "^4.2.2" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/epoberezkin" + } + }, + "node_modules/aria-hidden": { + "version": "1.2.6", + "resolved": "https://registry.npmjs.org/aria-hidden/-/aria-hidden-1.2.6.tgz", + "integrity": "sha512-ik3ZgC9dY/lYVVM++OISsaYDeg1tb0VtP5uL3ouh1koGOaUMDPpbFIei4JkFimWUFPn90sbMNMXQAIVOlnYKJA==", + "dev": true, + "license": "MIT", + "dependencies": { + "tslib": "^2.0.0" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/aria-query": { + "version": "5.3.2", + "resolved": "https://registry.npmjs.org/aria-query/-/aria-query-5.3.2.tgz", + "integrity": "sha512-COROpnaoap1E2F000S62r6A60uHZnmlvomhfyT2DlTcrY1OrBKn2UhH7qn5wTC9zMvD0AY7csdPSNwKP+7WiQw==", + "dev": true, + "license": "Apache-2.0", + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/array-buffer-byte-length": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/array-buffer-byte-length/-/array-buffer-byte-length-1.0.2.tgz", + "integrity": "sha512-LHE+8BuR7RYGDKvnrmcuSq3tDcKv9OFEXQt/HpbZhY7V6h0zlUXutnAD82GiFx9rdieCMjkvtcsPqBwgUl1Iiw==", + "dev": true, + "license": "MIT", + "dependencies": { + "call-bound": "^1.0.3", + "is-array-buffer": "^3.0.5" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/array-includes": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/array-includes/-/array-includes-3.2.0.tgz", + "integrity": "sha512-VXY5eFRarnXcYxwBjJzPmEhH55+rmP79/+ueDhi0F+TuqfHCItagIHqxeUZrmgrOPa31QTh9H85DjX3FfJ0FTg==", + "dev": true, + "license": "MIT", + "dependencies": { + "call-bind": "^1.0.9", + "call-bound": "^1.0.4", + "define-properties": "^1.2.1", + "es-abstract": "^1.24.2", + "es-object-atoms": "^1.1.2", + "es-shim-unscopables": "^1.1.0", + "is-string": "^1.1.1", + "math-intrinsics": "^1.1.0" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/array.prototype.flat": { + "version": "1.3.3", + "resolved": "https://registry.npmjs.org/array.prototype.flat/-/array.prototype.flat-1.3.3.tgz", + "integrity": "sha512-rwG/ja1neyLqCuGZ5YYrznA62D4mZXg0i1cIskIUKSiqF3Cje9/wXAls9B9s1Wa2fomMsIv8czB8jZcPmxCXFg==", + "dev": true, + "license": "MIT", + "dependencies": { + "call-bind": "^1.0.8", + "define-properties": "^1.2.1", + "es-abstract": "^1.23.5", + "es-shim-unscopables": "^1.0.2" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/array.prototype.flatmap": { + "version": "1.3.3", + "resolved": "https://registry.npmjs.org/array.prototype.flatmap/-/array.prototype.flatmap-1.3.3.tgz", + "integrity": "sha512-Y7Wt51eKJSyi80hFrJCePGGNo5ktJCslFuboqJsbf57CCPcm5zztluPlc4/aD8sWsKvlwatezpV4U1efk8kpjg==", + "dev": true, + "license": "MIT", + "dependencies": { + "call-bind": "^1.0.8", + "define-properties": "^1.2.1", + "es-abstract": "^1.23.5", + "es-shim-unscopables": "^1.0.2" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/arraybuffer.prototype.slice": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/arraybuffer.prototype.slice/-/arraybuffer.prototype.slice-1.0.4.tgz", + "integrity": "sha512-BNoCY6SXXPQ7gF2opIP4GBE+Xw7U+pHMYKuzjgCN3GwiaIR09UUeKfheyIry77QtrCBlC0KK0q5/TER/tYh3PQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "array-buffer-byte-length": "^1.0.1", + "call-bind": "^1.0.8", + "define-properties": "^1.2.1", + "es-abstract": "^1.23.5", + "es-errors": "^1.3.0", + "get-intrinsic": "^1.2.6", + "is-array-buffer": "^3.0.4" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/assertion-error": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/assertion-error/-/assertion-error-2.0.1.tgz", + "integrity": "sha512-Izi8RQcffqCeNVgFigKli1ssklIbpHnCYc6AknXGYoB6grJqyeby7jv12JUQgmTAnIDnbck1uxksT4dzN3PWBA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=12" + } + }, + "node_modules/ast-types-flow": { + "version": "0.0.8", + "resolved": "https://registry.npmjs.org/ast-types-flow/-/ast-types-flow-0.0.8.tgz", + "integrity": "sha512-OH/2E5Fg20h2aPrbe+QL8JZQFko0YZaF+j4mnQ7BGhfavO7OpSLa8a0y9sBwomHdSbkhTS8TQNayBfnW5DwbvQ==", + "dev": true, + "license": "MIT" + }, + "node_modules/ast-v8-to-istanbul": { + "version": "1.0.7", + "resolved": "https://registry.npmjs.org/ast-v8-to-istanbul/-/ast-v8-to-istanbul-1.0.7.tgz", + "integrity": "sha512-kFL68AG6ajd8fg248zwM9GQrUWEp79gsmjum34OEXjs4yHuUMZfYKwOLW9GMmB4oNvVrj+EAGxsP7ye2UR9UlA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@jridgewell/trace-mapping": "^0.3.31", + "estree-walker": "^3.0.3", + "js-tokens": "^10.0.0" + } + }, + "node_modules/async-function": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/async-function/-/async-function-1.0.0.tgz", + "integrity": "sha512-hsU18Ae8CDTR6Kgu9DYf0EbCr/a5iGL0rytQDobUcdpYOKokk8LEjVphnXkDkgpi0wYVsqrXuP0bZxJaTqdgoA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/available-typed-arrays": { + "version": "1.0.7", + "resolved": "https://registry.npmjs.org/available-typed-arrays/-/available-typed-arrays-1.0.7.tgz", + "integrity": "sha512-wvUjBtSGN7+7SjNpq/9M2Tg350UZD3q62IFZLbRAR1bSMlCo1ZaeW+BJ+D090e4hIIZLBcTDWe4Mh4jvUDajzQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "possible-typed-array-names": "^1.0.0" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/axe-core": { + "version": "4.14.0", + "resolved": "https://registry.npmjs.org/axe-core/-/axe-core-4.14.0.tgz", + "integrity": "sha512-9WTZxEjsZ7b13TH8JPmbV2z8CHbl80/2hm3XPEG4JgNdQLK81IBRXmSxHfMAOkSqQeRxT/0dwNDz2GOm3zzpcQ==", + "dev": true, + "license": "MPL-2.0", + "engines": { + "node": ">=4" + } + }, + "node_modules/axobject-query": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/axobject-query/-/axobject-query-4.1.0.tgz", + "integrity": "sha512-qIj0G9wZbMGNLjLmg1PT6v2mE9AH2zlnADJD/2tC6E00hgmhUOfEB6greHPAfLRSufHqROIUTkw6E+M3lH0PTQ==", + "dev": true, + "license": "Apache-2.0", + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/bail": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/bail/-/bail-2.0.2.tgz", + "integrity": "sha512-0xO6mYd7JB2YesxDKplafRpsiOzPt9V02ddPCLbY1xYGPOX24NTyN50qnUxgCPcSoYMhKpAuBTjQoRZCAkUDRw==", + "dev": true, + "license": "MIT", + "funding": { + "type": "github", + "url": "https://github.com/sponsors/wooorm" + } + }, + "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==", + "dev": true, + "license": "MIT", + "engines": { + "node": "18 || 20 || >=22" + } + }, + "node_modules/baseline-browser-mapping": { + "version": "2.11.35", + "resolved": "https://registry.npmjs.org/baseline-browser-mapping/-/baseline-browser-mapping-2.11.35.tgz", + "integrity": "sha512-GNk8KX52CHqeNKGk8+7tZnQab/2k1t/BgrUHPKNdijzpEhF1saPQZHVKb6m5loSAxB39gyrTYw34Qf9CQ3u1qQ==", + "dev": true, + "license": "Apache-2.0", + "bin": { + "baseline-browser-mapping": "dist/cli.cjs" + }, + "engines": { + "node": ">=6.0.0" + } + }, + "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/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==", + "dev": true, + "license": "MIT", + "dependencies": { + "balanced-match": "^4.0.2" + }, + "engines": { + "node": "20 || >=22" + } + }, + "node_modules/browserslist": { + "version": "4.29.5", + "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.29.5.tgz", + "integrity": "sha512-khTmKu5NGYTotqcYo8Bew2k4RAE9PuXRSFRXG2lQBrCEQHyeQ/vX6gKMxfokwywBsLiXZMnHsmWMG1pnO8J7uQ==", + "dev": true, + "funding": [ + { + "type": "opencollective", + "url": "https://opencollective.com/browserslist" + }, + { + "type": "tidelift", + "url": "https://tidelift.com/funding/github/npm/browserslist" + }, + { + "type": "github", + "url": "https://github.com/sponsors/ai" + } + ], + "license": "MIT", + "dependencies": { + "baseline-browser-mapping": "^2.11.33", + "caniuse-lite": "^1.0.30001819", + "electron-to-chromium": "^1.5.464", + "node-releases": "^2.0.60", + "update-browserslist-db": "^1.3.4" + }, + "bin": { + "browserslist": "cli.js" + }, + "engines": { + "node": "^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7" + } + }, + "node_modules/bundle-name": { + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/bundle-name/-/bundle-name-4.1.1.tgz", + "integrity": "sha512-DdH81/zPLVS11EUgWq3tEu/xn+EzljlMYooDNdzWEnFha3R3NBMpMV1UqYIpjYHV/SgpFKMIX1Oh7o06SjM/oA==", + "dev": true, + "license": "MIT", + "dependencies": { + "run-applescript": "^7.0.0" + }, + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "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/cacheable": { + "version": "2.5.0", + "resolved": "https://registry.npmjs.org/cacheable/-/cacheable-2.5.0.tgz", + "integrity": "sha512-60cyAOytib/OzBw1JNSoSV/boK1AtHryDIjvVBk7XbN4ugfkM3+Sry7fEjNgPMGgOjuaZPAp8ruZ0Cxafwyq9g==", + "dev": true, + "license": "MIT", + "dependencies": { + "@cacheable/memory": "^2.2.0", + "@cacheable/utils": "^2.5.0", + "hookified": "^1.15.0", + "keyv": "^5.6.0", + "qified": "^0.10.1" + } + }, + "node_modules/call-bind": { + "version": "1.0.9", + "resolved": "https://registry.npmjs.org/call-bind/-/call-bind-1.0.9.tgz", + "integrity": "sha512-a/hy+pNsFUTR+Iz8TCJvXudKVLAnz/DyeSUo10I5yvFDQJBFU2s9uqQpoSrJlroHUKoKqzg+epxyP9lqFdzfBQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "call-bind-apply-helpers": "^1.0.2", + "es-define-property": "^1.0.1", + "get-intrinsic": "^1.3.0", + "set-function-length": "^1.2.2" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "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/caniuse-lite": { + "version": "1.0.30001820", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001820.tgz", + "integrity": "sha512-gfWD6MxqVCqAOwmODfZf7DchWvlrA+SRdNX7ceLfg3xRqe5ssjjpF7EgslC/0tiLiNTajdaNN/q8c/5u/7Gz8w==", + "dev": true, + "funding": [ + { + "type": "opencollective", + "url": "https://opencollective.com/browserslist" + }, + { + "type": "tidelift", + "url": "https://tidelift.com/funding/github/npm/caniuse-lite" + }, + { + "type": "github", + "url": "https://github.com/sponsors/ai" + } + ], + "license": "CC-BY-4.0" + }, + "node_modules/ccount": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/ccount/-/ccount-2.0.1.tgz", + "integrity": "sha512-eyrF0jiFpY+3drT6383f1qhkbGsLSifNAjA61IUjZjmLCWjItY6LB9ft9YhoDgwfmclB2zhu51Lc7+95b8NRAg==", + "dev": true, + "license": "MIT", + "funding": { + "type": "github", + "url": "https://github.com/sponsors/wooorm" + } + }, + "node_modules/chai": { + "version": "6.3.0", + "resolved": "https://registry.npmjs.org/chai/-/chai-6.3.0.tgz", + "integrity": "sha512-XWAtwJ6OHO+tj0EKCs0Y2UamnyOxseZWltU4x2U2wh8g4AigdjwvtUjvLP2tqkA/avxHEtzxNaqGq/YGNwckKg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=18" + } + }, + "node_modules/chalk": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-6.0.1.tgz", + "integrity": "sha512-/Ce6KNm3vIbWdMlNna6RVIZ/ICQxnJxCicet5LBKK9ZffBkqzDw0xh9EiKSljdRtiIQ1S1z4YgcscUUGzNCWrA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=22" + }, + "funding": { + "url": "https://github.com/chalk/chalk?sponsor=1" + } + }, + "node_modules/character-entities": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/character-entities/-/character-entities-2.0.2.tgz", + "integrity": "sha512-shx7oQ0Awen/BRIdkjkvz54PnEEI/EjwXDSIZp86/KKdbafHh1Df/RYGBhn4hbe2+uKC9FnT5UCEdyPz3ai9hQ==", + "dev": true, + "license": "MIT", + "funding": { + "type": "github", + "url": "https://github.com/sponsors/wooorm" + } + }, + "node_modules/character-entities-html4": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/character-entities-html4/-/character-entities-html4-2.1.0.tgz", + "integrity": "sha512-1v7fgQRj6hnSwFpq1Eu0ynr/CDEw0rXo2B61qXrLNdHZmPKgb7fqS1a2JwF0rISo9q77jDI8VMEHoApn8qDoZA==", + "dev": true, + "license": "MIT", + "funding": { + "type": "github", + "url": "https://github.com/sponsors/wooorm" + } + }, + "node_modules/character-entities-legacy": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/character-entities-legacy/-/character-entities-legacy-3.0.0.tgz", + "integrity": "sha512-RpPp0asT/6ufRm//AJVwpViZbGM/MkjQFxJccQRHmISF/22NBtsHqAWmL+/pmkPWoIUJdWyeVleTl1wydHATVQ==", + "dev": true, + "license": "MIT", + "funding": { + "type": "github", + "url": "https://github.com/sponsors/wooorm" + } + }, + "node_modules/character-reference-invalid": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/character-reference-invalid/-/character-reference-invalid-2.0.1.tgz", + "integrity": "sha512-iBZ4F4wRbyORVsu0jPV7gXkOsGYjGHPmAyv+HiHG8gi5PtC9KI2j1+v8/tlibRvjoWX027ypmG/n0HtO5t7unw==", + "dev": true, + "license": "MIT", + "funding": { + "type": "github", + "url": "https://github.com/sponsors/wooorm" + } + }, + "node_modules/class-variance-authority": { + "version": "0.7.1", + "resolved": "https://registry.npmjs.org/class-variance-authority/-/class-variance-authority-0.7.1.tgz", + "integrity": "sha512-Ka+9Trutv7G8M6WT6SeiRWz792K5qEqIGEGzXKhAE6xOWAY6pPH8U+9IY3oCMv6kqTmLsv7Xh/2w2RigkePMsg==", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "clsx": "^2.1.1" + }, + "funding": { + "url": "https://polar.sh/cva" + } + }, + "node_modules/clsx": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/clsx/-/clsx-2.1.1.tgz", + "integrity": "sha512-eYm0QWBtUrBWZWG0d386OGAw16Z995PiOVo2B7bjWSbHedGl5e0ZWaq65kOGgUSNesEIDkB9ISbTg/JK9dhCZA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6" + } + }, + "node_modules/comma-separated-tokens": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/comma-separated-tokens/-/comma-separated-tokens-2.0.3.tgz", + "integrity": "sha512-Fu4hJdvzeylCfQPp9SGWidpzrMs7tTrlu6Vb8XGaRGck8QSNZJJp538Wrb60Lax4fPwR64ViY468OIUTbRlGZg==", + "dev": true, + "license": "MIT", + "funding": { + "type": "github", + "url": "https://github.com/sponsors/wooorm" + } + }, + "node_modules/commander": { + "version": "15.0.0", + "resolved": "https://registry.npmjs.org/commander/-/commander-15.0.0.tgz", + "integrity": "sha512-z67u4ZhzCL/Tydu1lJARtEZYWbWaN7oYLHbsuzocr6y4N6WZAagG3RQ4FW61V1/0+jImpj293XfrcYnd1qxtPg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=22.12.0" + } + }, + "node_modules/concat-map": { + "version": "0.0.1", + "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz", + "integrity": "sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==", + "dev": true, + "license": "MIT" + }, + "node_modules/content-disposition": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/content-disposition/-/content-disposition-2.0.1.tgz", + "integrity": "sha512-e+H0ZXHSWYrENhQzw1LPuP4oF5MzVKmDU6d3hxlvaPEYLLg62MxtQNPRx4SYSuYJSBUgnQIG4HIN2tEtNv7Dog==", + "license": "MIT", + "engines": { + "node": ">=18" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/express" + } + }, + "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/convert-source-map": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/convert-source-map/-/convert-source-map-2.0.0.tgz", + "integrity": "sha512-Kvp459HrV2FEJ1CAsi1Ku+MY3kasH19TFykTz2xWmMeq6bk2NU3XXvfJ+Q61m0xktWwt+1HSYf3JZsTms3aRJg==", + "dev": true, + "license": "MIT" + }, + "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/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==", + "dev": true, + "license": "MIT", + "dependencies": { + "path-key": "^3.1.0", + "shebang-command": "^2.0.0", + "which": "^2.0.1" + }, + "engines": { + "node": ">= 8" + } + }, + "node_modules/csstype": { + "version": "3.2.3", + "resolved": "https://registry.npmjs.org/csstype/-/csstype-3.2.3.tgz", + "integrity": "sha512-z1HGKcYy2xA8AGQfwrn0PAy+PB7X/GSj3UVJW9qKyn43xWa+gl5nXmU4qqLMRzWVLFC8KusUX8T/0kCiOYpAIQ==", + "dev": true, + "license": "MIT" + }, + "node_modules/damerau-levenshtein": { + "version": "1.0.8", + "resolved": "https://registry.npmjs.org/damerau-levenshtein/-/damerau-levenshtein-1.0.8.tgz", + "integrity": "sha512-sdQSFB7+llfUcQHUQO3+B8ERRj0Oa4w9POWMI/puGtuf7gFywGmkaLCElnudfTiKZV+NvHqL0ifzdrI8Ro7ESA==", + "dev": true, + "license": "BSD-2-Clause" + }, + "node_modules/data-view-buffer": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/data-view-buffer/-/data-view-buffer-1.0.2.tgz", + "integrity": "sha512-EmKO5V3OLXh1rtK2wgXRansaK1/mtVdTUEiEI0W8RkvgT05kfxaH29PliLnpLP73yYO6142Q72QNa8Wx/A5CqQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "call-bound": "^1.0.3", + "es-errors": "^1.3.0", + "is-data-view": "^1.0.2" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/data-view-byte-length": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/data-view-byte-length/-/data-view-byte-length-1.0.2.tgz", + "integrity": "sha512-tuhGbE6CfTM9+5ANGf+oQb72Ky/0+s3xKUpHvShfiz2RxMFgFPjsXuRLBVMtvMs15awe45SRb83D6wH4ew6wlQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "call-bound": "^1.0.3", + "es-errors": "^1.3.0", + "is-data-view": "^1.0.2" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/inspect-js" + } + }, + "node_modules/data-view-byte-offset": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/data-view-byte-offset/-/data-view-byte-offset-1.0.1.tgz", + "integrity": "sha512-BS8PfmtDGnrgYdOonGZQdLZslWIeCGFP9tpan0hi1Co2Zr2NKADsvGYA8XxuG/4UWgJ6Cjtv+YJnB6MM69QGlQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "call-bound": "^1.0.2", + "es-errors": "^1.3.0", + "is-data-view": "^1.0.1" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "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/decode-named-character-reference": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/decode-named-character-reference/-/decode-named-character-reference-1.3.0.tgz", + "integrity": "sha512-GtpQYB283KrPp6nRw50q3U9/VfOutZOe103qlN7BPP6Ad27xYnOIWv4lPzo8HCAL+mMZofJ9KEy30fq6MfaK6Q==", + "dev": true, + "license": "MIT", + "dependencies": { + "character-entities": "^2.0.0" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/wooorm" + } + }, + "node_modules/deep-is": { + "version": "0.1.4", + "resolved": "https://registry.npmjs.org/deep-is/-/deep-is-0.1.4.tgz", + "integrity": "sha512-oIPzksmTg4/MriiaYGO+okXDT7ztn/w3Eptv/+gSIdMdKsJo0u4CfYNFJPy+4SKMuCqGw2wxnA+URMg3t8a/bQ==", + "dev": true, + "license": "MIT" + }, + "node_modules/default-browser": { + "version": "5.5.1", + "resolved": "https://registry.npmjs.org/default-browser/-/default-browser-5.5.1.tgz", + "integrity": "sha512-m1pAzaJgZ/gssEqlOhJkPJp8Xly7QyW6xcrkUa2KKcDeDSEMP7X8xipU3snUcfisTQx0w1AGae+9UtJSfVnXGw==", + "dev": true, + "license": "MIT", + "dependencies": { + "bundle-name": "^4.1.0", + "default-browser-id": "^5.0.0" + }, + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/default-browser-id": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/default-browser-id/-/default-browser-id-5.0.1.tgz", + "integrity": "sha512-x1VCxdX4t+8wVfd1so/9w+vQ4vx7lKd2Qp5tDRutErwmR85OgmfX7RlLRMWafRMY7hbEiXIbudNrjOAPa/hL8Q==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/define-data-property": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/define-data-property/-/define-data-property-1.1.4.tgz", + "integrity": "sha512-rBMvIzlpA8v6E+SJZoo++HAYqsLrkg7MSfIinMPFhmkorw7X+dOXVJQs+QT69zGkzMyfDnIMN2Wid1+NbL3T+A==", + "dev": true, + "license": "MIT", + "dependencies": { + "es-define-property": "^1.0.0", + "es-errors": "^1.3.0", + "gopd": "^1.0.1" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/define-lazy-prop": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/define-lazy-prop/-/define-lazy-prop-3.0.0.tgz", + "integrity": "sha512-N+MeXYoqr3pOgn8xfyRPREN7gHakLYjhsHhWGT3fWAiL4IkAt0iDw14QiiEm2bE30c5XX5q0FtAA3CK5f9/BUg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/define-properties": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/define-properties/-/define-properties-1.2.1.tgz", + "integrity": "sha512-8QmQKqEASLd5nx0U1B1okLElbUuuttJ/AnYmRXbbbGDWh6uS208EjD4Xqq/I9wK7u0v6O08XhTWnt5XtEbR6Dg==", + "dev": true, + "license": "MIT", + "dependencies": { + "define-data-property": "^1.0.1", + "has-property-descriptors": "^1.0.0", + "object-keys": "^1.1.1" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "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/dequal": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/dequal/-/dequal-2.0.3.tgz", + "integrity": "sha512-0je+qPKHEMohvfRTCEo3CrPG6cAzAYgmzKyxRiYSSDkS6eGJdyVJm7WaYA5ECaAD9wLB2T4EEeymA5aFVcYXCA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6" + } + }, + "node_modules/detect-libc": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/detect-libc/-/detect-libc-2.1.2.tgz", + "integrity": "sha512-Btj2BOOO83o3WyH59e8MgXsxEQVcarkUOpEYrubB0urwnN10yQ364rsiByU11nZlqWYZm05i/of7io4mzihBtQ==", + "dev": true, + "license": "Apache-2.0", + "peer": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/detect-node-es": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/detect-node-es/-/detect-node-es-1.1.0.tgz", + "integrity": "sha512-ypdmJU/TbBby2Dxibuv7ZLW3Bs1QEmM7nHjEANfohJLvE0XVujisn1qPJcZxg+qDucsr+bP6fLD1rPS3AhJ7EQ==", + "dev": true, + "license": "MIT" + }, + "node_modules/devlop": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/devlop/-/devlop-1.1.0.tgz", + "integrity": "sha512-RWmIqhcFf1lRYBvNmr7qTNuyCt/7/ns2jbpp1+PalgE/rDQcBT0fioSMUpJ93irlUhC5hrg4cYqe6U+0ImW0rA==", + "dev": true, + "license": "MIT", + "dependencies": { + "dequal": "^2.0.0" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/wooorm" + } + }, + "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/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/electron-to-chromium": { + "version": "1.5.477", + "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.5.477.tgz", + "integrity": "sha512-PN++F4zWZoVDGWinxMnSCpVqKhqFOJfLXxdU8bYJKudAEsHL/XKVITOKWVbfMt1r276Mi9RDLU9VHx9uKJ4RMQ==", + "dev": true, + "license": "ISC" + }, + "node_modules/emoji-regex": { + "version": "9.2.2", + "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-9.2.2.tgz", + "integrity": "sha512-L18DaJsXSUk2+42pv8mLs5jJT2hqFkFE4j21wOmgbUqsZ2hL72NsUU785g9RXgo3s0ZNgVl42TiHp3ZtOv/Vyg==", + "dev": true, + "license": "MIT" + }, + "node_modules/encodeurl": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/encodeurl/-/encodeurl-2.0.1.tgz", + "integrity": "sha512-Ev/hIyePLZtpL98x562lvPtenrUfGr0lfaf44HFZ+hDEwso7ccV9QAZrEVLg0hxNAzygaAFxy2dYaAKKM0G06A==", + "license": "MIT", + "engines": { + "node": ">= 0.8" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/express" + } + }, + "node_modules/entities": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/entities/-/entities-6.0.1.tgz", + "integrity": "sha512-aN97NXWF6AWBTahfVOIrB/NShkzi5H7F9r1s9mD3cDj4Ko5f2qhhVoYMibXF7GlLveb/D2ioWay8lxI97Ven3g==", + "dev": true, + "license": "BSD-2-Clause", + "engines": { + "node": ">=0.12" + }, + "funding": { + "url": "https://github.com/fb55/entities?sponsor=1" + } + }, + "node_modules/es-abstract": { + "version": "1.24.2", + "resolved": "https://registry.npmjs.org/es-abstract/-/es-abstract-1.24.2.tgz", + "integrity": "sha512-2FpH9Q5i2RRwyEP1AylXe6nYLR5OhaJTZwmlcP0dL/+JCbgg7yyEo/sEK6HeGZRf3dFpWwThaRHVApXSkW3xeg==", + "dev": true, + "license": "MIT", + "dependencies": { + "array-buffer-byte-length": "^1.0.2", + "arraybuffer.prototype.slice": "^1.0.4", + "available-typed-arrays": "^1.0.7", + "call-bind": "^1.0.8", + "call-bound": "^1.0.4", + "data-view-buffer": "^1.0.2", + "data-view-byte-length": "^1.0.2", + "data-view-byte-offset": "^1.0.1", + "es-define-property": "^1.0.1", + "es-errors": "^1.3.0", + "es-object-atoms": "^1.1.1", + "es-set-tostringtag": "^2.1.0", + "es-to-primitive": "^1.3.0", + "function.prototype.name": "^1.1.8", + "get-intrinsic": "^1.3.0", + "get-proto": "^1.0.1", + "get-symbol-description": "^1.1.0", + "globalthis": "^1.0.4", + "gopd": "^1.2.0", + "has-property-descriptors": "^1.0.2", + "has-proto": "^1.2.0", + "has-symbols": "^1.1.0", + "hasown": "^2.0.2", + "internal-slot": "^1.1.0", + "is-array-buffer": "^3.0.5", + "is-callable": "^1.2.7", + "is-data-view": "^1.0.2", + "is-negative-zero": "^2.0.3", + "is-regex": "^1.2.1", + "is-set": "^2.0.3", + "is-shared-array-buffer": "^1.0.4", + "is-string": "^1.1.1", + "is-typed-array": "^1.1.15", + "is-weakref": "^1.1.1", + "math-intrinsics": "^1.1.0", + "object-inspect": "^1.13.4", + "object-keys": "^1.1.1", + "object.assign": "^4.1.7", + "own-keys": "^1.0.1", + "regexp.prototype.flags": "^1.5.4", + "safe-array-concat": "^1.1.3", + "safe-push-apply": "^1.0.0", + "safe-regex-test": "^1.1.0", + "set-proto": "^1.0.0", + "stop-iteration-iterator": "^1.1.0", + "string.prototype.trim": "^1.2.10", + "string.prototype.trimend": "^1.0.9", + "string.prototype.trimstart": "^1.0.8", + "typed-array-buffer": "^1.0.3", + "typed-array-byte-length": "^1.0.3", + "typed-array-byte-offset": "^1.0.4", + "typed-array-length": "^1.0.7", + "unbox-primitive": "^1.1.0", + "which-typed-array": "^1.1.19" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/es-abstract-get": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/es-abstract-get/-/es-abstract-get-1.0.0.tgz", + "integrity": "sha512-6PMWXpdhshVvFp+FoWYs1EvG1Nj0tvk0dZM+XcK0xMEM1czRVcP6ohqPWHy6qPagSpC8j4+p89WXlT+xXJs/fg==", + "dev": true, + "license": "MIT", + "dependencies": { + "es-errors": "^1.3.0", + "es-object-atoms": "^1.1.2", + "is-callable": "^1.2.7", + "object-inspect": "^1.13.4" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "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-module-lexer": { + "version": "2.3.2", + "resolved": "https://registry.npmjs.org/es-module-lexer/-/es-module-lexer-2.3.2.tgz", + "integrity": "sha512-poHGpORABojJJucnV9KbOavETW8lBVnphkW77ER5/BQ5Fz7oXSoCNek7IH3vR5nRjdsEz926ibFYX8KtLQmdyw==", + "dev": true, + "license": "MIT" + }, + "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/es-set-tostringtag": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/es-set-tostringtag/-/es-set-tostringtag-2.1.0.tgz", + "integrity": "sha512-j6vWzfrGVfyXxge+O0x5sh6cvxAog0a/4Rdd2K36zCMV5eJ+/+tOAngRO8cODMNWbVRdVlmGZQL2YS3yR8bIUA==", + "dev": true, + "license": "MIT", + "dependencies": { + "es-errors": "^1.3.0", + "get-intrinsic": "^1.2.6", + "has-tostringtag": "^1.0.2", + "hasown": "^2.0.2" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/es-shim-unscopables": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/es-shim-unscopables/-/es-shim-unscopables-1.1.0.tgz", + "integrity": "sha512-d9T8ucsEhh8Bi1woXCf+TIKDIROLG5WCkxg8geBCbvk22kzwC5G2OnXVMO6FUsvQlgUUXQ2itephWDLqDzbeCw==", + "dev": true, + "license": "MIT", + "dependencies": { + "hasown": "^2.0.2" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/es-to-primitive": { + "version": "1.3.4", + "resolved": "https://registry.npmjs.org/es-to-primitive/-/es-to-primitive-1.3.4.tgz", + "integrity": "sha512-yPDz7wqpg1/mmHLmS3tcfTfbw5f1eryXvyghYBffGdERwe+mV7ZcWzTR8LR17Kvqt3qfPurjlonmnq3MKXIOXw==", + "dev": true, + "license": "MIT", + "dependencies": { + "es-abstract-get": "^1.0.0", + "es-define-property": "^1.0.1", + "es-errors": "^1.3.0", + "is-callable": "^1.2.7", + "is-date-object": "^1.1.0", + "is-symbol": "^1.1.1" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/esbuild": { + "version": "0.28.2", + "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.28.2.tgz", + "integrity": "sha512-HKVLS8dvII+xoKW9kmqxbRKrnWEXfJJr/FZhhJmiqIB0e053QNYFqOBouTMO/k5sID4MvCiUCvv8b9M4h32wIA==", + "dev": true, + "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==", + "dev": true, + "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/escape-string-regexp": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-4.0.0.tgz", + "integrity": "sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/eslint": { + "version": "10.14.0", + "resolved": "https://registry.npmjs.org/eslint/-/eslint-10.14.0.tgz", + "integrity": "sha512-T0pNsxkb9IKmtQjhpK3d7nWOpFv+YHuMbTJnSVMoQblF0onvXfErrtp4V1jHtsQPan7dKaGVD0q1WCXnzMF31A==", + "dev": true, + "license": "MIT", + "workspaces": [ + "packages/*" + ], + "dependencies": { + "@eslint-community/eslint-utils": "^4.8.0", + "@eslint-community/regexpp": "^4.12.2", + "@eslint/config-array": "^0.23.5", + "@eslint/config-helpers": "^0.7.0", + "@eslint/core": "^1.2.1", + "@eslint/plugin-kit": "^0.7.3", + "@humanfs/node": "^0.16.8", + "@humanwhocodes/module-importer": "^1.0.1", + "@humanwhocodes/retry": "^0.4.2", + "@types/estree": "^1.0.6", + "ajv": "^6.14.0", + "cross-spawn": "^7.0.6", + "debug": "^4.3.2", + "escape-string-regexp": "^4.0.0", + "eslint-scope": "^9.1.2", + "eslint-visitor-keys": "^5.0.1", + "espree": "^11.2.0", + "esquery": "^1.7.0", + "esutils": "^2.0.2", + "fast-deep-equal": "^3.1.3", + "file-entry-cache": "11.1.5 || >11.1.6 <12", + "find-up": "^5.0.0", + "glob-parent": "^6.0.2", + "ignore": "^5.2.0", + "imurmurhash": "^0.1.4", + "is-glob": "^4.0.0", + "json-stable-stringify-without-jsonify": "^1.0.1", + "minimatch": "^10.2.6", + "natural-compare": "^1.4.0", + "optionator": "^0.9.3" + }, + "bin": { + "eslint": "bin/eslint.js" + }, + "engines": { + "node": "^20.19.0 || ^22.13.0 || >=24" + }, + "funding": { + "url": "https://eslint.org/donate" + }, + "peerDependencies": { + "jiti": "*" + }, + "peerDependenciesMeta": { + "jiti": { + "optional": true + } + } + }, + "node_modules/eslint-config-prettier": { + "version": "10.1.8", + "resolved": "https://registry.npmjs.org/eslint-config-prettier/-/eslint-config-prettier-10.1.8.tgz", + "integrity": "sha512-82GZUjRS0p/jganf6q1rEO25VSoHH0hKPCTrgillPjdI/3bgBhAE1QzHrHTizjpRvy6pGAvKjDJtk2pF9NDq8w==", + "dev": true, + "license": "MIT", + "bin": { + "eslint-config-prettier": "bin/cli.js" + }, + "funding": { + "url": "https://opencollective.com/eslint-config-prettier" + }, + "peerDependencies": { + "eslint": ">=7.0.0" + } + }, + "node_modules/eslint-plugin-jsx-a11y": { + "version": "6.10.2", + "resolved": "https://registry.npmjs.org/eslint-plugin-jsx-a11y/-/eslint-plugin-jsx-a11y-6.10.2.tgz", + "integrity": "sha512-scB3nz4WmG75pV8+3eRUQOHZlNSUhFNq37xnpgRkCCELU3XMvXAxLk1eqWWyE22Ki4Q01Fnsw9BA3cJHDPgn2Q==", + "dev": true, + "license": "MIT", + "dependencies": { + "aria-query": "^5.3.2", + "array-includes": "^3.1.8", + "array.prototype.flatmap": "^1.3.2", + "ast-types-flow": "^0.0.8", + "axe-core": "^4.10.0", + "axobject-query": "^4.1.0", + "damerau-levenshtein": "^1.0.8", + "emoji-regex": "^9.2.2", + "hasown": "^2.0.2", + "jsx-ast-utils": "^3.3.5", + "language-tags": "^1.0.9", + "minimatch": "^3.1.2", + "object.fromentries": "^2.0.8", + "safe-regex-test": "^1.0.3", + "string.prototype.includes": "^2.0.1" + }, + "engines": { + "node": ">=4.0" + }, + "peerDependencies": { + "eslint": "^3 || ^4 || ^5 || ^6 || ^7 || ^8 || ^9" + } + }, + "node_modules/eslint-plugin-jsx-a11y/node_modules/balanced-match": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz", + "integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==", + "dev": true, + "license": "MIT" + }, + "node_modules/eslint-plugin-jsx-a11y/node_modules/brace-expansion": { + "version": "1.1.21", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.21.tgz", + "integrity": "sha512-9zeA+KLZNNzglF2TPKRQEDyx6Yby7daAkuy8MiPzpXPsYDWi/DRM8jmwUDxokQjYqBpv5DgPiwD4h4ZZSy1Ujw==", + "dev": true, + "license": "MIT", + "dependencies": { + "balanced-match": "^1.0.0", + "concat-map": "0.0.1" + } + }, + "node_modules/eslint-plugin-jsx-a11y/node_modules/minimatch": { + "version": "3.1.5", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.5.tgz", + "integrity": "sha512-VgjWUsnnT6n+NUk6eZq77zeFdpW2LWDzP6zFGrCbHXiYNul5Dzqk2HHQ5uFH2DNW5Xbp8+jVzaeNt94ssEEl4w==", + "dev": true, + "license": "ISC", + "dependencies": { + "brace-expansion": "^1.1.7" + }, + "engines": { + "node": "*" + } + }, + "node_modules/eslint-plugin-playwright": { + "version": "2.12.2", + "resolved": "https://registry.npmjs.org/eslint-plugin-playwright/-/eslint-plugin-playwright-2.12.2.tgz", + "integrity": "sha512-sYRCyAEACD3URVoFTfldZcvZNdlJ1r5414gilOTsDCu26PY7l4dUl/3o9ohIEltZgaDS1VXD1mG5xU1KlIGJSw==", + "dev": true, + "license": "MIT", + "dependencies": { + "globals": "^17.3.0" + }, + "engines": { + "node": ">=16.9.0" + }, + "peerDependencies": { + "eslint": ">=8.40.0" + } + }, + "node_modules/eslint-plugin-prettier": { + "version": "5.5.7", + "resolved": "https://registry.npmjs.org/eslint-plugin-prettier/-/eslint-plugin-prettier-5.5.7.tgz", + "integrity": "sha512-WjHyn3GrFd+ZR0rzsLiM4zJZ35PZMOE0SUIxzGmnWNG0126yNfJKJzObmmkYDwHJfGlkz3PSlzyG9ez/LJntwg==", + "dev": true, + "license": "MIT", + "dependencies": { + "prettier-linter-helpers": "^1.0.1", + "synckit": "^0.12.3" + }, + "engines": { + "node": "^14.18.0 || >=16.0.0" + }, + "funding": { + "url": "https://opencollective.com/eslint-plugin-prettier" + }, + "peerDependencies": { + "@types/eslint": ">=8.0.0", + "eslint": ">=8.0.0", + "eslint-config-prettier": ">= 7.0.0 <10.0.0 || >=10.1.0", + "prettier": ">=3.0.0" + }, + "peerDependenciesMeta": { + "@types/eslint": { + "optional": true + }, + "eslint-config-prettier": { + "optional": true + } + } + }, + "node_modules/eslint-plugin-react-hooks": { + "version": "7.1.1", + "resolved": "https://registry.npmjs.org/eslint-plugin-react-hooks/-/eslint-plugin-react-hooks-7.1.1.tgz", + "integrity": "sha512-f2I7Gw6JbvCexzIInuSbZpfdQ44D7iqdWX01FKLvrPgqxoE7oMj8clOfto8U6vYiz4yd5oKu39rRSVOe1zRu0g==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/core": "^7.24.4", + "@babel/parser": "^7.24.4", + "hermes-parser": "^0.25.1", + "zod": "^3.25.0 || ^4.0.0", + "zod-validation-error": "^3.5.0 || ^4.0.0" + }, + "engines": { + "node": ">=18" + }, + "peerDependencies": { + "eslint": "^3.0.0 || ^4.0.0 || ^5.0.0 || ^6.0.0 || ^7.0.0 || ^8.0.0-0 || ^9.0.0 || ^10.0.0" + } + }, + "node_modules/eslint-scope": { + "version": "9.1.2", + "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-9.1.2.tgz", + "integrity": "sha512-xS90H51cKw0jltxmvmHy2Iai1LIqrfbw57b79w/J7MfvDfkIkFZ+kj6zC3BjtUwh150HsSSdxXZcsuv72miDFQ==", + "dev": true, + "license": "BSD-2-Clause", + "dependencies": { + "@types/esrecurse": "^4.3.1", + "@types/estree": "^1.0.8", + "esrecurse": "^4.3.0", + "estraverse": "^5.2.0" + }, + "engines": { + "node": "^20.19.0 || ^22.13.0 || >=24" + }, + "funding": { + "url": "https://opencollective.com/eslint" + } + }, + "node_modules/eslint-visitor-keys": { + "version": "3.4.3", + "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-3.4.3.tgz", + "integrity": "sha512-wpc+LXeiyiisxPlEkUzU6svyS1frIO3Mgxj1fdy7Pm8Ygzguax2N3Fa/D/ag1WqbOprdI+uY6wMUl8/a2G+iag==", + "dev": true, + "license": "Apache-2.0", + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + }, + "funding": { + "url": "https://opencollective.com/eslint" + } + }, + "node_modules/eslint/node_modules/eslint-visitor-keys": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-5.0.1.tgz", + "integrity": "sha512-tD40eHxA35h0PEIZNeIjkHoDR4YjjJp34biM0mDvplBe//mB+IHCqHDGV7pxF+7MklTvighcCPPZC7ynWyjdTA==", + "dev": true, + "license": "Apache-2.0", + "engines": { + "node": "^20.19.0 || ^22.13.0 || >=24" + }, + "funding": { + "url": "https://opencollective.com/eslint" + } + }, + "node_modules/eslint/node_modules/ignore": { + "version": "5.3.2", + "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.3.2.tgz", + "integrity": "sha512-hsBTNUqQTDwkWtcdYI2i06Y/nUBEsNEDJKjWdigLvegy8kDuJAS8uRlpkkcQpyEXL0Z/pjDy5HBmMjRCJ2gq+g==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 4" + } + }, + "node_modules/espree": { + "version": "11.2.0", + "resolved": "https://registry.npmjs.org/espree/-/espree-11.2.0.tgz", + "integrity": "sha512-7p3DrVEIopW1B1avAGLuCSh1jubc01H2JHc8B4qqGblmg5gI9yumBgACjWo4JlIc04ufug4xJ3SQI8HkS/Rgzw==", + "dev": true, + "license": "BSD-2-Clause", + "dependencies": { + "acorn": "^8.16.0", + "acorn-jsx": "^5.3.2", + "eslint-visitor-keys": "^5.0.1" + }, + "engines": { + "node": "^20.19.0 || ^22.13.0 || >=24" + }, + "funding": { + "url": "https://opencollective.com/eslint" + } + }, + "node_modules/espree/node_modules/eslint-visitor-keys": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-5.0.1.tgz", + "integrity": "sha512-tD40eHxA35h0PEIZNeIjkHoDR4YjjJp34biM0mDvplBe//mB+IHCqHDGV7pxF+7MklTvighcCPPZC7ynWyjdTA==", + "dev": true, + "license": "Apache-2.0", + "engines": { + "node": "^20.19.0 || ^22.13.0 || >=24" + }, + "funding": { + "url": "https://opencollective.com/eslint" + } + }, + "node_modules/esquery": { + "version": "1.7.0", + "resolved": "https://registry.npmjs.org/esquery/-/esquery-1.7.0.tgz", + "integrity": "sha512-Ap6G0WQwcU/LHsvLwON1fAQX9Zp0A2Y6Y/cJBl9r/JbW90Zyg4/zbG6zzKa2OTALELarYHmKu0GhpM5EO+7T0g==", + "dev": true, + "license": "BSD-3-Clause", + "dependencies": { + "estraverse": "^5.1.0" + }, + "engines": { + "node": ">=0.10" + } + }, + "node_modules/esrecurse": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/esrecurse/-/esrecurse-4.3.0.tgz", + "integrity": "sha512-KmfKL3b6G+RXvP8N1vr3Tq1kL/oCFgn2NYXEtqP8/L3pKapUA4G8cFVaoF3SU323CD4XypR/ffioHmkti6/Tag==", + "dev": true, + "license": "BSD-2-Clause", + "dependencies": { + "estraverse": "^5.2.0" + }, + "engines": { + "node": ">=4.0" + } + }, + "node_modules/estraverse": { + "version": "5.3.0", + "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-5.3.0.tgz", + "integrity": "sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==", + "dev": true, + "license": "BSD-2-Clause", + "engines": { + "node": ">=4.0" + } + }, + "node_modules/estree-util-is-identifier-name": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/estree-util-is-identifier-name/-/estree-util-is-identifier-name-3.0.0.tgz", + "integrity": "sha512-hFtqIDZTIUZ9BXLb8y4pYGyk6+wekIivNVTcmvk8NoOh+VeRn5y6cEHzbURrWbfp1fIqdVipilzj+lfaadNZmg==", + "dev": true, + "license": "MIT", + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/estree-walker": { + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/estree-walker/-/estree-walker-3.0.3.tgz", + "integrity": "sha512-7RUKfXgSMMkzt6ZuXmqapOurLGPPfgj6l9uRZ7lRGolvk0y2yocc35LdcxKC5PQZdn2DMqioAQ2NoWcrTKmm6g==", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/estree": "^1.0.0" + } + }, + "node_modules/esutils": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/esutils/-/esutils-2.0.3.tgz", + "integrity": "sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g==", + "dev": true, + "license": "BSD-2-Clause", + "engines": { + "node": ">=0.10.0" + } + }, + "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/expect-type": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/expect-type/-/expect-type-1.4.0.tgz", + "integrity": "sha512-KfYbmpRm0VbLjEvVa9yGwCi9GI34xvi7A/HXYWQO65CSD2u3MczUJSuwXKFIxlGsgBQizV9q5J9NHj4VG0n+pA==", + "dev": true, + "license": "Apache-2.0", + "engines": { + "node": ">=12.0.0" + } + }, + "node_modules/express": { + "version": "5.3.0", + "resolved": "https://registry.npmjs.org/express/-/express-5.3.0.tgz", + "integrity": "sha512-qCqy1xSoaugxOD4IVHb1ZWdkvCF2W3aE2okKouWj8VwJ+ztskSiXoBnCSJqfKT+cVPJhuJqe9YLbY425+Zh00g==", + "license": "MIT", + "dependencies": { + "accepts": "^2.0.0", + "body-parser": "^2.3.0", + "content-disposition": "^2.0.1", + "content-type": "^2.0.0", + "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.8", + "qs": "^6.16.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.1.0", + "vary": "^1.1.2" + }, + "engines": { + "node": ">= 18" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/express" + } + }, + "node_modules/extend": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/extend/-/extend-3.0.2.tgz", + "integrity": "sha512-fjquC59cD7CyW6urNXK0FBufkZcoiGG80wTuPujX590cB5Ttln20E2UB4S/WARVqhXffZl2LNgS+gQdPIIim/g==", + "dev": true, + "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==", + "dev": true, + "license": "MIT" + }, + "node_modules/fast-diff": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/fast-diff/-/fast-diff-1.3.0.tgz", + "integrity": "sha512-VxPP4NqbUjj6MaAOafWeUn2cXWLcCtljklUtZf0Ind4XQ+QPtmA0b18zZy0jIQx+ExRVCR/ZQpBmik5lXshNsw==", + "dev": true, + "license": "Apache-2.0" + }, + "node_modules/fast-json-stable-stringify": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz", + "integrity": "sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw==", + "dev": true, + "license": "MIT" + }, + "node_modules/fast-levenshtein": { + "version": "2.0.6", + "resolved": "https://registry.npmjs.org/fast-levenshtein/-/fast-levenshtein-2.0.6.tgz", + "integrity": "sha512-DCXu6Ifhqcks7TZKY3Hxp3y6qphY5SJZmrWMDrKcERSOXWQdMhU9Ig/PYrzyw/ul9jOIyh0N4M0tbC5hodg8dw==", + "dev": true, + "license": "MIT" + }, + "node_modules/fdir": { + "version": "6.5.0", + "resolved": "https://registry.npmjs.org/fdir/-/fdir-6.5.0.tgz", + "integrity": "sha512-tIbYtZbucOs0BRGqPJkshJUYdL+SDH7dVM8gjy+ERp3WAUjLEFJE+02kanyHtwjWOnwrKYBiwAmM0p4kLJAnXg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=12.0.0" + }, + "peerDependencies": { + "picomatch": "^3 || ^4" + }, + "peerDependenciesMeta": { + "picomatch": { + "optional": true + } + } + }, + "node_modules/file-entry-cache": { + "version": "11.1.5", + "resolved": "https://registry.npmjs.org/file-entry-cache/-/file-entry-cache-11.1.5.tgz", + "integrity": "sha512-+PFTHITI08JIGhnNpGNI8T8inUpgZfk3GNEqfT9R2zZV2iFXg3CvqzSl/uEhs7TSGujYRELEANyDvS8Fj7+S7Q==", + "dev": true, + "license": "MIT", + "dependencies": { + "flat-cache": "^6.1.23" + } + }, + "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": "5.0.0", + "resolved": "https://registry.npmjs.org/find-up/-/find-up-5.0.0.tgz", + "integrity": "sha512-78/PXT1wlLLDgTzDs7sjq9hzz0vXD+zn+7wypEe4fXQxCmdmqfGsEPQxmiCSQI3ajFV91bVSsvNtrJRiW6nGng==", + "dev": true, + "license": "MIT", + "dependencies": { + "locate-path": "^6.0.0", + "path-exists": "^4.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/flat-cache": { + "version": "6.1.23", + "resolved": "https://registry.npmjs.org/flat-cache/-/flat-cache-6.1.23.tgz", + "integrity": "sha512-f++BY9pTk+983xK1FLzlLpmM0i0z+jHmx3QESGkURMXujQZz1k5wzwX6hjnQ8goaD0B+sYnDK1yZ6MTyZfUaqA==", + "dev": true, + "license": "MIT", + "dependencies": { + "cacheable": "^2.5.0", + "flatted": "^3.4.2", + "hookified": "^1.15.0" + } + }, + "node_modules/flatted": { + "version": "3.4.4", + "resolved": "https://registry.npmjs.org/flatted/-/flatted-3.4.4.tgz", + "integrity": "sha512-5+ybhBZANEJxaH3X5evAFatUxLfEHSr7n6kYJ+1Qd0mUqr4eu9gIf6GDbWHf8RJijHrjjO8G+la14SlL2SeS1Q==", + "dev": true, + "license": "ISC" + }, + "node_modules/for-each": { + "version": "0.3.5", + "resolved": "https://registry.npmjs.org/for-each/-/for-each-0.3.5.tgz", + "integrity": "sha512-dKx12eRCVIzqCxFGplyFKJMPvLEWgmNtUrpTiJIR5u97zEhRG8ySrtboPHZXx7daLxQVrl643cTzbab2tkQjxg==", + "dev": true, + "license": "MIT", + "dependencies": { + "is-callable": "^1.2.7" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "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/fsevents": { + "version": "2.3.3", + "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.3.tgz", + "integrity": "sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw==", + "dev": true, + "hasInstallScript": true, + "license": "MIT", + "optional": true, + "os": [ + "darwin" + ], + "peer": true, + "engines": { + "node": "^8.16.0 || ^10.6.0 || >=11.0.0" + } + }, + "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/function.prototype.name": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/function.prototype.name/-/function.prototype.name-1.2.0.tgz", + "integrity": "sha512-jObKIik1P2QjPHP5nz5BaOtUlfgS0fWo8IUByNXkM+o+02sJOi94em77GwJKQSJ3gfPHdgzLNrHc1uokV4P/ew==", + "dev": true, + "license": "MIT", + "dependencies": { + "call-bind": "^1.0.9", + "call-bound": "^1.0.4", + "es-define-property": "^1.0.1", + "es-errors": "^1.3.0", + "functions-have-names": "^1.2.3", + "has-property-descriptors": "^1.0.2", + "hasown": "^2.0.4", + "is-callable": "^1.2.7", + "is-document.all": "^1.0.0" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/functions-have-names": { + "version": "1.2.3", + "resolved": "https://registry.npmjs.org/functions-have-names/-/functions-have-names-1.2.3.tgz", + "integrity": "sha512-xckBUXyTIqT97tq2x2AMb+g163b5JFysYk0x4qxNFwbfQkmNZoiRHb6sPzI9/QV33WeuvVYBUIiD4NzNIyqaRQ==", + "dev": true, + "license": "MIT", + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/generator-function": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/generator-function/-/generator-function-2.0.1.tgz", + "integrity": "sha512-SFdFmIJi+ybC0vjlHN0ZGVGHc3lgE0DxPAT0djjVg+kjOnSqclqmj0KQ7ykTOLP6YxoqOvuAODGdcHJn+43q3g==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/gensync": { + "version": "1.0.0-beta.2", + "resolved": "https://registry.npmjs.org/gensync/-/gensync-1.0.0-beta.2.tgz", + "integrity": "sha512-3hN7NaskYvMDLQY55gnW3NQ+mesEAepTqlg+VEbj7zzqEMBVNhzcGYYeqFo/TlYz6eQiFcp1HcsCZO+nGgS8zg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6.9.0" + } + }, + "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-nonce": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/get-nonce/-/get-nonce-1.0.1.tgz", + "integrity": "sha512-FJhYRoDaiatfEkUK8HKlicmu/3SGFD51q3itKDGoSTysQJBnfOcxU5GxnhE1E6soB76MbT0MBtnKJuXyAx+96Q==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6" + } + }, + "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-symbol-description": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/get-symbol-description/-/get-symbol-description-1.1.0.tgz", + "integrity": "sha512-w9UMqWwJxHNOvoNzSJ2oPF5wvYcvP7jUvYzhp67yEhTi17ZDBBC1z9pTdGuzjD+EFIqLSYRweZjqfiPzQ06Ebg==", + "dev": true, + "license": "MIT", + "dependencies": { + "call-bound": "^1.0.3", + "es-errors": "^1.3.0", + "get-intrinsic": "^1.2.6" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/glob-parent": { + "version": "6.0.2", + "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-6.0.2.tgz", + "integrity": "sha512-XxwI8EOhVQgWp6iDL+3b0r86f4d6AX6zSU55HfB4ydCEuXLXc5FcYeOu+nnGftS4TEju/11rt4KJPTMgbfmv4A==", + "dev": true, + "license": "ISC", + "dependencies": { + "is-glob": "^4.0.3" + }, + "engines": { + "node": ">=10.13.0" + } + }, + "node_modules/globals": { + "version": "17.14.0", + "resolved": "https://registry.npmjs.org/globals/-/globals-17.14.0.tgz", + "integrity": "sha512-UtdkTVyAJePQv0J2M9Xe4L0ruNSDV314XiIJsADI2Zf40bcdAonE/D/OhAU8AT99oij9mhLByb+NvA3QWZYgCg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/globalthis": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/globalthis/-/globalthis-1.0.4.tgz", + "integrity": "sha512-DpLKbNU4WylpxJykQujfCcwYWiV/Jhm50Goo0wrVILAv5jOr9d+H+UR3PhSCD2rCCEIg0uc+G+muBTwD54JhDQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "define-properties": "^1.2.1", + "gopd": "^1.0.1" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "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/has-bigints": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/has-bigints/-/has-bigints-1.1.0.tgz", + "integrity": "sha512-R3pbpkcIqv2Pm3dUwgjclDRVmWpTJW2DcMzcIhEXEx1oh/CEMObMm3KLmRJOdvhM7o4uQBnwr8pzRK2sJWIqfg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/has-property-descriptors": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/has-property-descriptors/-/has-property-descriptors-1.0.2.tgz", + "integrity": "sha512-55JNKuIW+vq4Ke1BjOTjM2YctQIvCT7GFzHwmfZPGo5wnrgkid0YQtnAleFSqumZm4az3n2BS+erby5ipJdgrg==", + "dev": true, + "license": "MIT", + "dependencies": { + "es-define-property": "^1.0.0" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/has-proto": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/has-proto/-/has-proto-1.2.0.tgz", + "integrity": "sha512-KIL7eQPfHQRC8+XluaIw7BHUwwqL19bQn4hzNgdr+1wXoU0KKj6rufu47lhY7KbJR2C6T6+PfyN0Ea7wkSS+qQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "dunder-proto": "^1.0.0" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "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/has-tostringtag": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/has-tostringtag/-/has-tostringtag-1.0.2.tgz", + "integrity": "sha512-NqADB8VjPFLM2V0VvHUewwwsw0ZWBaIdgo+ieHtK3hasLz4qeCRjYcqfB6AQrBggRKppKF8L52/VqdVsO47Dlw==", + "dev": true, + "license": "MIT", + "dependencies": { + "has-symbols": "^1.0.3" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/hashery": { + "version": "1.5.1", + "resolved": "https://registry.npmjs.org/hashery/-/hashery-1.5.1.tgz", + "integrity": "sha512-iZyKG96/JwPz1N55vj2Ie2vXbhu440zfUfJvSwEqEbeLluk7NnapfGqa7LH0mOsnDxTF85Mx8/dyR6HfqcbmbQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "hookified": "^1.15.0" + }, + "engines": { + "node": ">=20" + } + }, + "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/hast-util-from-parse5": { + "version": "8.0.4", + "resolved": "https://registry.npmjs.org/hast-util-from-parse5/-/hast-util-from-parse5-8.0.4.tgz", + "integrity": "sha512-Yq7XlXor0Cpb71sI2E0zpv8QxQ5a6rfhDEETk4bcgrFX2SvJAY2PHocWwFtL6U9qyfiyByW3wZ6sZEfP2kW81g==", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/hast": "^3.0.0", + "@types/unist": "^3.0.0", + "devlop": "^1.0.0", + "hastscript": "^9.0.0", + "property-information": "^7.0.0", + "vfile": "^6.0.0", + "vfile-location": "^5.0.0", + "web-namespaces": "^2.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/hast-util-parse-selector": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/hast-util-parse-selector/-/hast-util-parse-selector-4.0.0.tgz", + "integrity": "sha512-wkQCkSYoOGCRKERFWcxMVMOcYE2K1AaNLU8DXS9arxnLOUEWbOXKXiJUNzEpqZ3JOKpnha3jkFrumEjVliDe7A==", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/hast": "^3.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/hast-util-raw": { + "version": "9.1.0", + "resolved": "https://registry.npmjs.org/hast-util-raw/-/hast-util-raw-9.1.0.tgz", + "integrity": "sha512-Y8/SBAHkZGoNkpzqqfCldijcuUKh7/su31kEBp67cFY09Wy0mTRgtsLYsiIxMJxlu0f6AA5SUTbDR8K0rxnbUw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/hast": "^3.0.0", + "@types/unist": "^3.0.0", + "@ungap/structured-clone": "^1.0.0", + "hast-util-from-parse5": "^8.0.0", + "hast-util-to-parse5": "^8.0.0", + "html-void-elements": "^3.0.0", + "mdast-util-to-hast": "^13.0.0", + "parse5": "^7.0.0", + "unist-util-position": "^5.0.0", + "unist-util-visit": "^5.0.0", + "vfile": "^6.0.0", + "web-namespaces": "^2.0.0", + "zwitch": "^2.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/hast-util-to-jsx-runtime": { + "version": "2.3.7", + "resolved": "https://registry.npmjs.org/hast-util-to-jsx-runtime/-/hast-util-to-jsx-runtime-2.3.7.tgz", + "integrity": "sha512-F7DNV2NMcTxA4GqPVHnXzX+mpoPHAIY9rJAVH3CZ1FdBZOcBUEjUuvMkMpHVs/sicEtznh9tMGj5WUR9S4E2rg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/estree": "^1.0.0", + "@types/hast": "^3.0.0", + "@types/unist": "^3.0.0", + "comma-separated-tokens": "^2.0.0", + "devlop": "^1.0.0", + "estree-util-is-identifier-name": "^3.0.0", + "hast-util-whitespace": "^3.0.0", + "mdast-util-mdx-expression": "^2.0.0", + "mdast-util-mdx-jsx": "^3.0.0", + "mdast-util-mdxjs-esm": "^2.0.0", + "property-information": "^7.0.0", + "space-separated-tokens": "^2.0.0", + "style-to-object": "^2.0.0", + "unist-util-position": "^5.0.0", + "vfile-message": "^4.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/hast-util-to-parse5": { + "version": "8.0.1", + "resolved": "https://registry.npmjs.org/hast-util-to-parse5/-/hast-util-to-parse5-8.0.1.tgz", + "integrity": "sha512-MlWT6Pjt4CG9lFCjiz4BH7l9wmrMkfkJYCxFwKQic8+RTZgWPuWxwAfjJElsXkex7DJjfSJsQIt931ilUgmwdA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/hast": "^3.0.0", + "comma-separated-tokens": "^2.0.0", + "devlop": "^1.0.0", + "property-information": "^7.0.0", + "space-separated-tokens": "^2.0.0", + "web-namespaces": "^2.0.0", + "zwitch": "^2.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/hast-util-whitespace": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/hast-util-whitespace/-/hast-util-whitespace-3.0.0.tgz", + "integrity": "sha512-88JUN06ipLwsnv+dVn+OIYOvAuvBMy/Qoi6O7mQHxdPXpjy+Cd6xRkWwux7DKO+4sYILtLBRIKgsdpS2gQc7qw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/hast": "^3.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/hastscript": { + "version": "9.0.3", + "resolved": "https://registry.npmjs.org/hastscript/-/hastscript-9.0.3.tgz", + "integrity": "sha512-1ALZXSmCGmW3h8AMz4R4+QKSKFi7sNgXLVwmwB8FYVtl1CwQ3WDkSAEY/d5tp1g/vbQgq2s1WlHgfO3jbw1TsA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/hast": "^3.0.0", + "comma-separated-tokens": "^2.0.0", + "hast-util-parse-selector": "^4.0.0", + "property-information": "^7.0.0", + "space-separated-tokens": "^2.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/helmet": { + "version": "8.3.0", + "resolved": "https://registry.npmjs.org/helmet/-/helmet-8.3.0.tgz", + "integrity": "sha512-Qgpiaws3Sm30Av8Eah6sjMCZZwjlBu+E68rhpCWBshY1lb09HtLwj5GviX0OyQIn+ulUS0iX0AxN5n3tLZzz1w==", + "license": "MIT", + "engines": { + "node": ">=18.0.0" + }, + "funding": { + "url": "https://github.com/sponsors/EvanHahn" + } + }, + "node_modules/hermes-estree": { + "version": "0.25.1", + "resolved": "https://registry.npmjs.org/hermes-estree/-/hermes-estree-0.25.1.tgz", + "integrity": "sha512-0wUoCcLp+5Ev5pDW2OriHC2MJCbwLwuRx+gAqMTOkGKJJiBCLjtrvy4PWUGn6MIVefecRpzoOZ/UV6iGdOr+Cw==", + "dev": true, + "license": "MIT" + }, + "node_modules/hermes-parser": { + "version": "0.25.1", + "resolved": "https://registry.npmjs.org/hermes-parser/-/hermes-parser-0.25.1.tgz", + "integrity": "sha512-6pEjquH3rqaI6cYAXYPcz9MS4rY6R4ngRgrgfDshRptUZIc3lw0MCIJIGDj9++mfySOuPTHB4nrSW99BCvOPIA==", + "dev": true, + "license": "MIT", + "dependencies": { + "hermes-estree": "0.25.1" + } + }, + "node_modules/hookified": { + "version": "1.15.1", + "resolved": "https://registry.npmjs.org/hookified/-/hookified-1.15.1.tgz", + "integrity": "sha512-MvG/clsADq1GPM2KGo2nyfaWVyn9naPiXrqIe4jYjXNZQt238kWyOGrsyc/DmRAQ+Re6yeo6yX/yoNCG5KAEVg==", + "dev": true, + "license": "MIT" + }, + "node_modules/html-url-attributes": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/html-url-attributes/-/html-url-attributes-3.0.1.tgz", + "integrity": "sha512-ol6UPyBWqsrO6EJySPz2O7ZSr856WDrEzM5zMqp+FJJLGMW35cLYmmZnl0vztAZxRUoNZJFTCohfjuIJ8I4QBQ==", + "dev": true, + "license": "MIT", + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/html-void-elements": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/html-void-elements/-/html-void-elements-3.0.0.tgz", + "integrity": "sha512-bEqo66MRXsUGxWHV5IP0PUiAWwoEjba4VCzg0LjFJBpchPaTfyfCKTG6bc5F8ucKec3q5y6qOdGyYTSBEvhCrg==", + "dev": true, + "license": "MIT", + "funding": { + "type": "github", + "url": "https://github.com/sponsors/wooorm" + } + }, + "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/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/ignore": { + "version": "7.0.14", + "resolved": "https://registry.npmjs.org/ignore/-/ignore-7.0.14.tgz", + "integrity": "sha512-wCBiZ77u1tuWde6G/nfOtLaCTYcFDU5yCzARzK10y+rLhzYoL7a7yEemcopcc2Mzow7gZOIjnV2ym1NYmdiJOQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 4" + } + }, + "node_modules/imurmurhash": { + "version": "0.1.4", + "resolved": "https://registry.npmjs.org/imurmurhash/-/imurmurhash-0.1.4.tgz", + "integrity": "sha512-JmXMZ6wuvDmLiHEml9ykzqO6lwFbof0GG4IkcGaENdCRDDmMVnny7s5HsIgHCbaq0w2MyPhDqkhTUgS2LU2PHA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.8.19" + } + }, + "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/inline-style-parser": { + "version": "0.2.9", + "resolved": "https://registry.npmjs.org/inline-style-parser/-/inline-style-parser-0.2.9.tgz", + "integrity": "sha512-IttN8BqKLxzUrnTqHI+/hwAJQItBAUjdoHERCDv+oOuX48VP6bzW8+QjOXSfoevzq3YrYAwX1uLHp8TqO9yIeg==", + "dev": true, + "license": "MIT" + }, + "node_modules/internal-slot": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/internal-slot/-/internal-slot-1.1.0.tgz", + "integrity": "sha512-4gd7VpWNQNB4UKKCFFVcp1AVv+FMOgs9NKzjHKusc8jTMhd5eL1NqQqOpE0KzMds804/yHlglp3uxgluOqAPLw==", + "dev": true, + "license": "MIT", + "dependencies": { + "es-errors": "^1.3.0", + "hasown": "^2.0.2", + "side-channel": "^1.1.0" + }, + "engines": { + "node": ">= 0.4" + } + }, + "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-alphabetical": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/is-alphabetical/-/is-alphabetical-2.0.1.tgz", + "integrity": "sha512-FWyyY60MeTNyeSRpkM2Iry0G9hpr7/9kD40mD/cGQEuilcZYS4okz8SN2Q6rLCJ8gbCt6fN+rC+6tMGS99LaxQ==", + "dev": true, + "license": "MIT", + "funding": { + "type": "github", + "url": "https://github.com/sponsors/wooorm" + } + }, + "node_modules/is-alphanumerical": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/is-alphanumerical/-/is-alphanumerical-2.0.1.tgz", + "integrity": "sha512-hmbYhX/9MUMF5uh7tOXyK/n0ZvWpad5caBA17GsC6vyuCqaWliRG5K1qS9inmUhEMaOBIW7/whAnSwveW/LtZw==", + "dev": true, + "license": "MIT", + "dependencies": { + "is-alphabetical": "^2.0.0", + "is-decimal": "^2.0.0" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/wooorm" + } + }, + "node_modules/is-array-buffer": { + "version": "3.0.5", + "resolved": "https://registry.npmjs.org/is-array-buffer/-/is-array-buffer-3.0.5.tgz", + "integrity": "sha512-DDfANUiiG2wC1qawP66qlTugJeL5HyzMpfr8lLK+jMQirGzNod0B12cFB/9q838Ru27sBwfw78/rdoU7RERz6A==", + "dev": true, + "license": "MIT", + "dependencies": { + "call-bind": "^1.0.8", + "call-bound": "^1.0.3", + "get-intrinsic": "^1.2.6" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/is-async-function": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/is-async-function/-/is-async-function-2.1.1.tgz", + "integrity": "sha512-9dgM/cZBnNvjzaMYHVoxxfPj2QXt22Ev7SuuPrs+xav0ukGB0S6d4ydZdEiM48kLx5kDV+QBPrpVnFyefL8kkQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "async-function": "^1.0.0", + "call-bound": "^1.0.3", + "get-proto": "^1.0.1", + "has-tostringtag": "^1.0.2", + "safe-regex-test": "^1.1.0" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/is-bigint": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/is-bigint/-/is-bigint-1.1.0.tgz", + "integrity": "sha512-n4ZT37wG78iz03xPRKJrHTdZbe3IicyucEtdRsV5yglwc3GyUfbAfpSeD0FJ41NbUNSt5wbhqfp1fS+BgnvDFQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "has-bigints": "^1.0.2" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/is-boolean-object": { + "version": "1.2.2", + "resolved": "https://registry.npmjs.org/is-boolean-object/-/is-boolean-object-1.2.2.tgz", + "integrity": "sha512-wa56o2/ElJMYqjCjGkXri7it5FbebW5usLw/nPmCMs5DeZ7eziSYZhSmPRn0txqeW4LnAmQQU7FgqLpsEFKM4A==", + "dev": true, + "license": "MIT", + "dependencies": { + "call-bound": "^1.0.3", + "has-tostringtag": "^1.0.2" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/is-callable": { + "version": "1.2.7", + "resolved": "https://registry.npmjs.org/is-callable/-/is-callable-1.2.7.tgz", + "integrity": "sha512-1BC0BVFhS/p0qtw6enp8e+8OD0UrK0oFLztSjNzhcKA3WDuJxxAPXzPuPtKkjEY9UUoEWlX/8fgKeu2S8i9JTA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/is-data-view": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/is-data-view/-/is-data-view-1.0.2.tgz", + "integrity": "sha512-RKtWF8pGmS87i2D6gqQu/l7EYRlVdfzemCJN/P3UOs//x1QE7mfhvzHIApBTRf7axvT6DMGwSwBXYCT0nfB9xw==", + "dev": true, + "license": "MIT", + "dependencies": { + "call-bound": "^1.0.2", + "get-intrinsic": "^1.2.6", + "is-typed-array": "^1.1.13" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/is-date-object": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/is-date-object/-/is-date-object-1.1.0.tgz", + "integrity": "sha512-PwwhEakHVKTdRNVOw+/Gyh0+MzlCl4R6qKvkhuvLtPMggI1WAHt9sOwZxQLSGpUaDnrdyDsomoRgNnCfKNSXXg==", + "dev": true, + "license": "MIT", + "dependencies": { + "call-bound": "^1.0.2", + "has-tostringtag": "^1.0.2" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/is-decimal": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/is-decimal/-/is-decimal-2.0.1.tgz", + "integrity": "sha512-AAB9hiomQs5DXWcRB1rqsxGUstbRroFOPPVAomNk/3XHR5JyEZChOyTWe2oayKnsSsr/kcGqF+z6yuH6HHpN0A==", + "dev": true, + "license": "MIT", + "funding": { + "type": "github", + "url": "https://github.com/sponsors/wooorm" + } + }, + "node_modules/is-docker": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/is-docker/-/is-docker-3.0.0.tgz", + "integrity": "sha512-eljcgEDlEns/7AXFosB5K/2nCM4P7FQPkGc/DWLy5rmFEWvZayGrik1d9/QIY5nJ4f9YsVvBkA6kJpHn9rISdQ==", + "dev": true, + "license": "MIT", + "bin": { + "is-docker": "cli.js" + }, + "engines": { + "node": "^12.20.0 || ^14.13.1 || >=16.0.0" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/is-document.all": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-document.all/-/is-document.all-1.0.0.tgz", + "integrity": "sha512-+XSoyS05OdBbhFuELhgTCpFNHkpBOJqtsZfUFFpe5QTw+9Sjbh8zitxhQkYAo6wV7e1Vb8cAPvpCk9jGam/82g==", + "dev": true, + "license": "MIT", + "dependencies": { + "call-bound": "^1.0.4" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/is-extglob": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz", + "integrity": "sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/is-finalizationregistry": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/is-finalizationregistry/-/is-finalizationregistry-1.1.1.tgz", + "integrity": "sha512-1pC6N8qWJbWoPtEjgcL2xyhQOP491EQjeUo3qTKcmV8YSDDJrOepfG8pcC7h/QgnQHYSv0mJ3Z/ZWxmatVrysg==", + "dev": true, + "license": "MIT", + "dependencies": { + "call-bound": "^1.0.3" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/is-generator-function": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/is-generator-function/-/is-generator-function-1.1.2.tgz", + "integrity": "sha512-upqt1SkGkODW9tsGNG5mtXTXtECizwtS2kA161M+gJPc1xdb/Ax629af6YrTwcOeQHbewrPNlE5Dx7kzvXTizA==", + "dev": true, + "license": "MIT", + "dependencies": { + "call-bound": "^1.0.4", + "generator-function": "^2.0.0", + "get-proto": "^1.0.1", + "has-tostringtag": "^1.0.2", + "safe-regex-test": "^1.1.0" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/is-glob": { + "version": "4.0.3", + "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.3.tgz", + "integrity": "sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==", + "dev": true, + "license": "MIT", + "dependencies": { + "is-extglob": "^2.1.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/is-hexadecimal": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/is-hexadecimal/-/is-hexadecimal-2.0.1.tgz", + "integrity": "sha512-DgZQp241c8oO6cA1SbTEWiXeoxV42vlcJxgH+B3hi1AiqqKruZR3ZGF8In3fj4+/y/7rHvlOZLZtgJ/4ttYGZg==", + "dev": true, + "license": "MIT", + "funding": { + "type": "github", + "url": "https://github.com/sponsors/wooorm" + } + }, + "node_modules/is-in-ssh": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-in-ssh/-/is-in-ssh-1.0.0.tgz", + "integrity": "sha512-jYa6Q9rH90kR1vKB6NM7qqd1mge3Fx4Dhw5TVlK1MUBqhEOuCagrEHMevNuCcbECmXZ0ThXkRm+Ymr51HwEPAw==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=20" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/is-inside-container": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-inside-container/-/is-inside-container-1.0.0.tgz", + "integrity": "sha512-KIYLCCJghfHZxqjYBE7rEy0OBuTd5xCHS7tHVgvCLkx7StIoaxwNW3hCALgEUjFfeRk+MG/Qxmp/vtETEF3tRA==", + "dev": true, + "license": "MIT", + "dependencies": { + "is-docker": "^3.0.0" + }, + "bin": { + "is-inside-container": "cli.js" + }, + "engines": { + "node": ">=14.16" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/is-map": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/is-map/-/is-map-2.0.3.tgz", + "integrity": "sha512-1Qed0/Hr2m+YqxnM09CjA2d/i6YZNfF6R2oRAOj36eUdS6qIV/huPJNSEpKbupewFs+ZsJlxsjjPbc0/afW6Lw==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/is-negative-zero": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/is-negative-zero/-/is-negative-zero-2.0.3.tgz", + "integrity": "sha512-5KoIu2Ngpyek75jXodFvnafB6DJgr3u8uuK0LEZJjrU19DrMD3EVERaR8sjz8CCGgpZvxPl9SuE1GMVPFHx1mw==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/is-number-object": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/is-number-object/-/is-number-object-1.1.1.tgz", + "integrity": "sha512-lZhclumE1G6VYD8VHe35wFaIif+CTy5SJIi5+3y4psDgWu4wPDoBhF8NxUOinEc7pHgiTsT6MaBb92rKhhD+Xw==", + "dev": true, + "license": "MIT", + "dependencies": { + "call-bound": "^1.0.3", + "has-tostringtag": "^1.0.2" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "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==", + "dev": true, + "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-regex": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/is-regex/-/is-regex-1.2.1.tgz", + "integrity": "sha512-MjYsKHO5O7mCsmRGxWcLWheFqN9DJ/2TmngvjKXihe6efViPqc274+Fx/4fYj/r03+ESvBdTXK0V6tA3rgez1g==", + "dev": true, + "license": "MIT", + "dependencies": { + "call-bound": "^1.0.2", + "gopd": "^1.2.0", + "has-tostringtag": "^1.0.2", + "hasown": "^2.0.2" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/is-set": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/is-set/-/is-set-2.0.3.tgz", + "integrity": "sha512-iPAjerrse27/ygGLxw+EBR9agv9Y6uLeYVJMu+QNCoouJ1/1ri0mGrcWpfCqFZuzzx3WjtwxG098X+n4OuRkPg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/is-shared-array-buffer": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/is-shared-array-buffer/-/is-shared-array-buffer-1.0.4.tgz", + "integrity": "sha512-ISWac8drv4ZGfwKl5slpHG9OwPNty4jOWPRIhBpxOoD+hqITiwuipOQ2bNthAzwA3B4fIjO4Nln74N0S9byq8A==", + "dev": true, + "license": "MIT", + "dependencies": { + "call-bound": "^1.0.3" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/is-string": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/is-string/-/is-string-1.1.1.tgz", + "integrity": "sha512-BtEeSsoaQjlSPBemMQIrY1MY0uM6vnS1g5fmufYOtnxLGUZM2178PKbhsk7Ffv58IX+ZtcvoGwccYsh0PglkAA==", + "dev": true, + "license": "MIT", + "dependencies": { + "call-bound": "^1.0.3", + "has-tostringtag": "^1.0.2" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/is-symbol": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/is-symbol/-/is-symbol-1.1.1.tgz", + "integrity": "sha512-9gGx6GTtCQM73BgmHQXfDmLtfjjTUDSyoxTCbp5WtoixAhfgsDirWIcVQ/IHpvI5Vgd5i/J5F7B9cN/WlVbC/w==", + "dev": true, + "license": "MIT", + "dependencies": { + "call-bound": "^1.0.2", + "has-symbols": "^1.1.0", + "safe-regex-test": "^1.1.0" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/is-typed-array": { + "version": "1.1.15", + "resolved": "https://registry.npmjs.org/is-typed-array/-/is-typed-array-1.1.15.tgz", + "integrity": "sha512-p3EcsicXjit7SaskXHs1hA91QxgTw46Fv6EFKKGS5DRFLD8yKnohjF3hxoju94b/OcMZoQukzpPpBE9uLVKzgQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "which-typed-array": "^1.1.16" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/is-weakmap": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/is-weakmap/-/is-weakmap-2.0.2.tgz", + "integrity": "sha512-K5pXYOm9wqY1RgjpL3YTkF39tni1XajUIkawTLUo9EZEVUFga5gSQJF8nNS7ZwJQ02y+1YCNYcMh+HIf1ZqE+w==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/is-weakref": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/is-weakref/-/is-weakref-1.1.1.tgz", + "integrity": "sha512-6i9mGWSlqzNMEqpCp93KwRS1uUOodk2OJ6b+sq7ZPDSy2WuI5NFIxp/254TytR8ftefexkWn5xNiHUNpPOfSew==", + "dev": true, + "license": "MIT", + "dependencies": { + "call-bound": "^1.0.3" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/is-weakset": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/is-weakset/-/is-weakset-2.0.4.tgz", + "integrity": "sha512-mfcwb6IzQyOKTs84CQMrOwW4gQcaTOAWJ0zzJCl2WSPDrWk/OzDaImWFH3djXhb24g4eudZfLRozAvPGw4d9hQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "call-bound": "^1.0.3", + "get-intrinsic": "^1.2.6" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/is-wsl": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/is-wsl/-/is-wsl-3.1.1.tgz", + "integrity": "sha512-e6rvdUCiQCAuumZslxRJWR/Doq4VpPR82kqclvcS0efgt430SlGIk05vdCN58+VrzgtIcfNODjozVielycD4Sw==", + "dev": true, + "license": "MIT", + "dependencies": { + "is-inside-container": "^1.0.0" + }, + "engines": { + "node": ">=16" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/isarray": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/isarray/-/isarray-2.0.5.tgz", + "integrity": "sha512-xHjhDr3cNBK0BzdUJSPXZntQUx/mwMS5Rw4A7lPJ90XGAO6ISP/ePDNuo0vhqOZU+UD5JoodwCAAoZQd3FeAKw==", + "dev": true, + "license": "MIT" + }, + "node_modules/isexe": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz", + "integrity": "sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw==", + "dev": true, + "license": "ISC" + }, + "node_modules/jose": { + "version": "6.2.15", + "resolved": "https://registry.npmjs.org/jose/-/jose-6.2.15.tgz", + "integrity": "sha512-qdF6ewcZARtef63fJ9AKKZPgxw+t7USH6HLXYcD4CrdmSvDp79rpJSPFEKc90QBeGS63u1KQtN2MZQHC0yDIzA==", + "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==", + "dev": true, + "license": "MIT" + }, + "node_modules/jsesc": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/jsesc/-/jsesc-3.1.0.tgz", + "integrity": "sha512-/sM3dO2FOzXjKQhJuo0Q173wf2KOo8t4I8vHy6lF9poUp7bKT0/NHE8fPX23PwfhnykfqnC2xRxOnVw5XuGIaA==", + "dev": true, + "license": "MIT", + "bin": { + "jsesc": "bin/jsesc" + }, + "engines": { + "node": ">=6" + } + }, + "node_modules/json-schema-traverse": { + "version": "0.4.1", + "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz", + "integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==", + "dev": true, + "license": "MIT" + }, + "node_modules/json-stable-stringify-without-jsonify": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/json-stable-stringify-without-jsonify/-/json-stable-stringify-without-jsonify-1.0.1.tgz", + "integrity": "sha512-Bdboy+l7tA3OGW6FjyFHWkP5LuByj1Tk33Ljyq0axyzdk9//JSi2u3fP1QSmd1KNwq6VOKYGlAu87CisVir6Pw==", + "dev": true, + "license": "MIT" + }, + "node_modules/json5": { + "version": "2.2.3", + "resolved": "https://registry.npmjs.org/json5/-/json5-2.2.3.tgz", + "integrity": "sha512-XmOWe7eyHYH14cLdVPoyg+GOH3rYX++KpzrylJwSW98t3Nk+U8XOl8FWKOgwtzdb8lXGf6zYwDUzeHMWfxasyg==", + "dev": true, + "license": "MIT", + "bin": { + "json5": "lib/cli.js" + }, + "engines": { + "node": ">=6" + } + }, + "node_modules/jsx-ast-utils": { + "version": "3.3.5", + "resolved": "https://registry.npmjs.org/jsx-ast-utils/-/jsx-ast-utils-3.3.5.tgz", + "integrity": "sha512-ZZow9HBI5O6EPgSJLUb8n2NKgmVWTwCvHGwFuJlMjvLFqlGG6pjirPhtdsseaLZjSibD8eegzmYpUZwoIlj2cQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "array-includes": "^3.1.6", + "array.prototype.flat": "^1.3.1", + "object.assign": "^4.1.4", + "object.values": "^1.1.6" + }, + "engines": { + "node": ">=4.0" + } + }, + "node_modules/keyv": { + "version": "5.6.0", + "resolved": "https://registry.npmjs.org/keyv/-/keyv-5.6.0.tgz", + "integrity": "sha512-CYDD3SOtsHtyXeEORYRx2qBtpDJFjRTGXUtmNEMGyzYOKj1TE3tycdlho7kA1Ufx9OYWZzg52QFBGALTirzDSw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@keyv/serialize": "^1.1.1" + } + }, + "node_modules/language-subtag-registry": { + "version": "0.3.23", + "resolved": "https://registry.npmjs.org/language-subtag-registry/-/language-subtag-registry-0.3.23.tgz", + "integrity": "sha512-0K65Lea881pHotoGEa5gDlMxt3pctLi2RplBb7Ezh4rRdLEOtgi7n4EwK9lamnUCkKBqaeKRVebTq6BAxSkpXQ==", + "dev": true, + "license": "CC0-1.0" + }, + "node_modules/language-tags": { + "version": "1.0.9", + "resolved": "https://registry.npmjs.org/language-tags/-/language-tags-1.0.9.tgz", + "integrity": "sha512-MbjN408fEndfiQXbFQ1vnd+1NoLDsnQW41410oQBXiyXDMYH5z505juWa4KUE1LqxRC7DgOgZDbKLxHIwm27hA==", + "dev": true, + "license": "MIT", + "dependencies": { + "language-subtag-registry": "^0.3.20" + }, + "engines": { + "node": ">=0.10" + } + }, + "node_modules/levn": { + "version": "0.4.1", + "resolved": "https://registry.npmjs.org/levn/-/levn-0.4.1.tgz", + "integrity": "sha512-+bT2uH4E5LGE7h/n3evcS/sQlJXCpIp6ym8OWJ5eV6+67Dsql/LaaT7qJBAt2rzfoa/5QBGBhxDix1dMt2kQKQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "prelude-ls": "^1.2.1", + "type-check": "~0.4.0" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "node_modules/lightningcss": { + "version": "1.33.0", + "resolved": "https://registry.npmjs.org/lightningcss/-/lightningcss-1.33.0.tgz", + "integrity": "sha512-WkUDrojuJs0xkgGf2udWxa3yGBRxPtxUkB79i6aCZLRgc7PM8fZe9TosfPDcvEpQZbuFASnHYmRLBLUbmLOIIA==", + "dev": true, + "license": "MPL-2.0", + "peer": true, + "dependencies": { + "detect-libc": "^2.0.3" + }, + "engines": { + "node": ">= 12.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + }, + "optionalDependencies": { + "lightningcss-android-arm64": "1.33.0", + "lightningcss-darwin-arm64": "1.33.0", + "lightningcss-darwin-x64": "1.33.0", + "lightningcss-freebsd-x64": "1.33.0", + "lightningcss-linux-arm-gnueabihf": "1.33.0", + "lightningcss-linux-arm64-gnu": "1.33.0", + "lightningcss-linux-arm64-musl": "1.33.0", + "lightningcss-linux-x64-gnu": "1.33.0", + "lightningcss-linux-x64-musl": "1.33.0", + "lightningcss-win32-arm64-msvc": "1.33.0", + "lightningcss-win32-x64-msvc": "1.33.0" + } + }, + "node_modules/lightningcss-android-arm64": { + "version": "1.33.0", + "resolved": "https://registry.npmjs.org/lightningcss-android-arm64/-/lightningcss-android-arm64-1.33.0.tgz", + "integrity": "sha512-gEpRTalKdosp4Bb8qWtc2iOgE5SeIHlpS1up9bFq2wAyYhl1UdTObYiHe98zEM9SQvSoqQZ1IQD0JNpg3Ml5pg==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MPL-2.0", + "optional": true, + "os": [ + "android" + ], + "peer": true, + "engines": { + "node": ">= 12.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, + "node_modules/lightningcss-darwin-arm64": { + "version": "1.33.0", + "resolved": "https://registry.npmjs.org/lightningcss-darwin-arm64/-/lightningcss-darwin-arm64-1.33.0.tgz", + "integrity": "sha512-Sciaz8eenNTKn9b3t7+xr0ipTp9YxKQY4npwQ3mrRuL0BAVHBLyZxofhaKBAVtzmtRZ/zTyo0/to4B1uWG/Djg==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MPL-2.0", + "optional": true, + "os": [ + "darwin" + ], + "peer": true, + "engines": { + "node": ">= 12.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, + "node_modules/lightningcss-darwin-x64": { + "version": "1.33.0", + "resolved": "https://registry.npmjs.org/lightningcss-darwin-x64/-/lightningcss-darwin-x64-1.33.0.tgz", + "integrity": "sha512-Z5UPAxzrjlWNNyGy6i65cJzzvgJ5D3T6wMvs+gWpY9d7qRhANrxqAp6LhxIgZhWEw18RfJTGcRxjuLIBr+m8XQ==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MPL-2.0", + "optional": true, + "os": [ + "darwin" + ], + "peer": true, + "engines": { + "node": ">= 12.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, + "node_modules/lightningcss-freebsd-x64": { + "version": "1.33.0", + "resolved": "https://registry.npmjs.org/lightningcss-freebsd-x64/-/lightningcss-freebsd-x64-1.33.0.tgz", + "integrity": "sha512-QQM/Ti/hQajJwCY+RiWuCZ9sdtI/XQk7nDK5vC8kkdwixezOlDgvDx7+RT+QjK6FcFT4MpsuoBnHIo/O3StRRg==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MPL-2.0", + "optional": true, + "os": [ + "freebsd" + ], + "peer": true, + "engines": { + "node": ">= 12.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, + "node_modules/lightningcss-linux-arm-gnueabihf": { + "version": "1.33.0", + "resolved": "https://registry.npmjs.org/lightningcss-linux-arm-gnueabihf/-/lightningcss-linux-arm-gnueabihf-1.33.0.tgz", + "integrity": "sha512-N7FVBe6iS24MlM6R/4RBTxGhQheZGs7tiQ9U32UtF75NzP5Q7xWPRqLBCKxlRQRk3rY1jCIPLzx7WzOhuUIRLQ==", + "cpu": [ + "arm" + ], + "dev": true, + "license": "MPL-2.0", + "optional": true, + "os": [ + "linux" + ], + "peer": true, + "engines": { + "node": ">= 12.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, + "node_modules/lightningcss-linux-arm64-gnu": { + "version": "1.33.0", + "resolved": "https://registry.npmjs.org/lightningcss-linux-arm64-gnu/-/lightningcss-linux-arm64-gnu-1.33.0.tgz", + "integrity": "sha512-j2v/itmy4HlNxlc6voKXYgBqNi0Ng2LShg4z7GufpEgs05P+2suBVyi9I6YHq5uoVFx9ETin3eCEhLVyXGQnKg==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MPL-2.0", + "optional": true, + "os": [ + "linux" + ], + "peer": true, + "engines": { + "node": ">= 12.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, + "node_modules/lightningcss-linux-arm64-musl": { + "version": "1.33.0", + "resolved": "https://registry.npmjs.org/lightningcss-linux-arm64-musl/-/lightningcss-linux-arm64-musl-1.33.0.tgz", + "integrity": "sha512-yiO5ROMuYQgXbC60yjZU5CYSFZGKXL0HFATXt9mHJn1+zW55oCtMI9NfcVhYLMFDL7gV7oBPon/EmMMGg2OvtQ==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MPL-2.0", + "optional": true, + "os": [ + "linux" + ], + "peer": true, + "engines": { + "node": ">= 12.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, + "node_modules/lightningcss-linux-x64-gnu": { + "version": "1.33.0", + "resolved": "https://registry.npmjs.org/lightningcss-linux-x64-gnu/-/lightningcss-linux-x64-gnu-1.33.0.tgz", + "integrity": "sha512-ar+Ju7LmcN0Jo4FpL4hpFybwNG9/3A/Br5KW2n2jyODg3MEZXaDYADdemoNS+BDNfMgKvylJLj4S5tyRActuAg==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MPL-2.0", + "optional": true, + "os": [ + "linux" + ], + "peer": true, + "engines": { + "node": ">= 12.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, + "node_modules/lightningcss-linux-x64-musl": { + "version": "1.33.0", + "resolved": "https://registry.npmjs.org/lightningcss-linux-x64-musl/-/lightningcss-linux-x64-musl-1.33.0.tgz", + "integrity": "sha512-RYiYbkokw0trfKqqzfF55lginwEPrD3OJDfTuJzFs1MK6iFnDenaz1fqLLtX4ITG3OktJQXOeTaw1awrBAlZPw==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MPL-2.0", + "optional": true, + "os": [ + "linux" + ], + "peer": true, + "engines": { + "node": ">= 12.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, + "node_modules/lightningcss-win32-arm64-msvc": { + "version": "1.33.0", + "resolved": "https://registry.npmjs.org/lightningcss-win32-arm64-msvc/-/lightningcss-win32-arm64-msvc-1.33.0.tgz", + "integrity": "sha512-1K+MPfLSFVpphzpdbfkhlWk6wBrTObBzS2T6db10PNOZgR9GoVsAWzwNyuhUYYbTp23j+4RrncfujZ4uAzXvwA==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MPL-2.0", + "optional": true, + "os": [ + "win32" + ], + "peer": true, + "engines": { + "node": ">= 12.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, + "node_modules/lightningcss-win32-x64-msvc": { + "version": "1.33.0", + "resolved": "https://registry.npmjs.org/lightningcss-win32-x64-msvc/-/lightningcss-win32-x64-msvc-1.33.0.tgz", + "integrity": "sha512-OlEICDx/Xl0FqSp4bry8zFnCvGpig3Gl4gCquvYwHuqJKEC1+n9NgDniFvqHGmMv1ZkqDJrDqKKSykTDX+ehuA==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MPL-2.0", + "optional": true, + "os": [ + "win32" + ], + "peer": true, + "engines": { + "node": ">= 12.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, + "node_modules/locate-path": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-6.0.0.tgz", + "integrity": "sha512-iPZK6eYjbxRu3uB4/WZ3EsEIMJFMqAoopl3R+zuq0UjcAm/MO6KCweDgPfP3elTztoKP3KtnVHxTn2NHBSDVUw==", + "dev": true, + "license": "MIT", + "dependencies": { + "p-locate": "^5.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/longest-streak": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/longest-streak/-/longest-streak-3.1.0.tgz", + "integrity": "sha512-9Ri+o0JYgehTaVBBDoMqIl8GXtbWg711O3srftcHhZ0dqnETqLaoIK0x17fUw9rFSlK/0NlsKe0Ahhyl5pXE2g==", + "dev": true, + "license": "MIT", + "funding": { + "type": "github", + "url": "https://github.com/sponsors/wooorm" + } + }, + "node_modules/lru-cache": { + "version": "5.1.1", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-5.1.1.tgz", + "integrity": "sha512-KpNARQA3Iwv+jTA0utUVVbrh+Jlrr1Fv0e56GGzAFOXN7dk/FviaDW8LHmK52DlcH4WP2n6gI8vN1aesBFgo9w==", + "dev": true, + "license": "ISC", + "dependencies": { + "yallist": "^3.0.2" + } + }, + "node_modules/magic-string": { + "version": "1.4.5", + "resolved": "https://registry.npmjs.org/magic-string/-/magic-string-1.4.5.tgz", + "integrity": "sha512-oLLC2+YvQUfAa+vxoufE/yc1icb87M9iXIRqAoR/2EhE/8cb3SF/+Gi0c2By1B+5Vz2e2vQtUvHiu1+63Znh+w==", + "dev": true, + "license": "MIT", + "dependencies": { + "@jridgewell/sourcemap-codec": "^1.6.0" + } + }, + "node_modules/magicast": { + "version": "0.5.5", + "resolved": "https://registry.npmjs.org/magicast/-/magicast-0.5.5.tgz", + "integrity": "sha512-UicdXN8zQ3JHlxVq+28afMXPr1z7WNY6+7EJnzTdQWkTAlMLF5fNCCKxJHBQwGaNGR11581EiQmQzx73+MvszA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/parser": "^7.29.7", + "@babel/types": "^7.29.7", + "source-map-js": "^1.2.1" + } + }, + "node_modules/markdown-table": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/markdown-table/-/markdown-table-3.1.0.tgz", + "integrity": "sha512-xpeSCdM+B+6P3ncfgaB7FoDbtJ30xAe6Z18TGT7AgXJsHqCElCICZovQqdRMm7kHgpTyYv36EupqewoFFSB8vw==", + "dev": true, + "license": "MIT", + "funding": { + "type": "github", + "url": "https://github.com/sponsors/wooorm" + } + }, + "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/mdast-util-find-and-replace": { + "version": "3.0.4", + "resolved": "https://registry.npmjs.org/mdast-util-find-and-replace/-/mdast-util-find-and-replace-3.0.4.tgz", + "integrity": "sha512-z4B5c6jrnJ1ltOQemhWYPBSAo6y42Z8Gt2yEgfgNTMcLSU59B8bfj8Z8AnAlJrBGLnqkdAUZ7jdDEqQw3KuipQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/mdast": "^4.0.0", + "escape-string-regexp": "^5.0.0", + "unist-util-is": "^6.0.0", + "unist-util-visit-parents": "^6.1.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/mdast-util-find-and-replace/node_modules/escape-string-regexp": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-5.0.0.tgz", + "integrity": "sha512-/veY75JbMK4j1yjvuUxuVsiS/hr/4iHs9FTT6cgTexxdE0Ly/glccBAkloH/DofkjRbZU3bnoj38mOmhkZ0lHw==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/mdast-util-from-markdown": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/mdast-util-from-markdown/-/mdast-util-from-markdown-2.1.0.tgz", + "integrity": "sha512-KRLgmPaP2H1ul2bpoJkOS+9pAcDAAj9Nu1mqLnh8NLeJG5tlvj42TH80PIGBpROWlRXLk0lDrWNuZCFy/tsB4A==", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/mdast": "^4.0.0", + "@types/unist": "^3.0.0", + "decode-named-character-reference": "^1.0.0", + "devlop": "^1.0.0", + "mdast-util-to-string": "^4.0.0", + "micromark": "^4.0.0", + "micromark-util-decode-numeric-character-reference": "^2.0.0", + "micromark-util-decode-string": "^2.0.0", + "micromark-util-normalize-identifier": "^2.0.0", + "micromark-util-symbol": "^2.0.0", + "micromark-util-types": "^2.0.0", + "unist-util-stringify-position": "^4.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/mdast-util-gfm": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/mdast-util-gfm/-/mdast-util-gfm-3.1.0.tgz", + "integrity": "sha512-0ulfdQOM3ysHhCJ1p06l0b0VKlhU0wuQs3thxZQagjcjPrlFRqY215uZGHHJan9GEAXd9MbfPjFJz+qMkVR6zQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "mdast-util-from-markdown": "^2.0.0", + "mdast-util-gfm-autolink-literal": "^2.0.0", + "mdast-util-gfm-footnote": "^2.0.0", + "mdast-util-gfm-strikethrough": "^2.0.0", + "mdast-util-gfm-table": "^2.0.0", + "mdast-util-gfm-task-list-item": "^2.0.0", + "mdast-util-to-markdown": "^2.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/mdast-util-gfm-autolink-literal": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/mdast-util-gfm-autolink-literal/-/mdast-util-gfm-autolink-literal-2.0.1.tgz", + "integrity": "sha512-5HVP2MKaP6L+G6YaxPNjuL0BPrq9orG3TsrZ9YXbA3vDw/ACI4MEsnoDpn6ZNm7GnZgtAcONJyPhOP8tNJQavQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/mdast": "^4.0.0", + "ccount": "^2.0.0", + "devlop": "^1.0.0", + "mdast-util-find-and-replace": "^3.0.0", + "micromark-util-character": "^2.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/mdast-util-gfm-footnote": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/mdast-util-gfm-footnote/-/mdast-util-gfm-footnote-2.1.0.tgz", + "integrity": "sha512-sqpDWlsHn7Ac9GNZQMeUzPQSMzR6Wv0WKRNvQRg0KqHh02fpTz69Qc1QSseNX29bhz1ROIyNyxExfawVKTm1GQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/mdast": "^4.0.0", + "devlop": "^1.1.0", + "mdast-util-from-markdown": "^2.0.0", + "mdast-util-to-markdown": "^2.0.0", + "micromark-util-normalize-identifier": "^2.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/mdast-util-gfm-strikethrough": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/mdast-util-gfm-strikethrough/-/mdast-util-gfm-strikethrough-2.0.1.tgz", + "integrity": "sha512-OuJHqvr455pwu2OaOrir7dbzqs4jlWKOtlu9L6GjcIjjQwNyw02VntQsr/Ek6/A13vgnXfUhBekWRUP1OkNivw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/mdast": "^4.0.0", + "mdast-util-from-markdown": "^2.0.0", + "mdast-util-to-markdown": "^2.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/mdast-util-gfm-table": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/mdast-util-gfm-table/-/mdast-util-gfm-table-2.0.1.tgz", + "integrity": "sha512-fiIjPrAy4kz68/eFbPHhsiWDGHhqUSVoU1XsfLM5DsEPXw7MxgiVVyulUggFRckVWeT1KXQXkg5vm3kv4oMSOA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/mdast": "^4.0.0", + "devlop": "^1.0.0", + "markdown-table": "^3.0.0", + "mdast-util-from-markdown": "^2.0.0", + "mdast-util-to-markdown": "^2.0.0", + "mdast-util-to-string": "^4.0.0", + "unist-util-visit": "^5.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/mdast-util-gfm-task-list-item": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/mdast-util-gfm-task-list-item/-/mdast-util-gfm-task-list-item-2.0.0.tgz", + "integrity": "sha512-IrtvNvjxC1o06taBAVJznEnkiHxLFTzgonUdy8hzFVeDun0uTjxxrRGVaNFqkU1wJR3RBPEfsxmU6jDWPofrTQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/mdast": "^4.0.0", + "devlop": "^1.0.0", + "mdast-util-from-markdown": "^2.0.0", + "mdast-util-to-markdown": "^2.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/mdast-util-mdx-expression": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/mdast-util-mdx-expression/-/mdast-util-mdx-expression-2.0.1.tgz", + "integrity": "sha512-J6f+9hUp+ldTZqKRSg7Vw5V6MqjATc+3E4gf3CFNcuZNWD8XdyI6zQ8GqH7f8169MM6P7hMBRDVGnn7oHB9kXQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/estree-jsx": "^1.0.0", + "@types/hast": "^3.0.0", + "@types/mdast": "^4.0.0", + "devlop": "^1.0.0", + "mdast-util-from-markdown": "^2.0.0", + "mdast-util-to-markdown": "^2.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/mdast-util-mdx-jsx": { + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/mdast-util-mdx-jsx/-/mdast-util-mdx-jsx-3.2.1.tgz", + "integrity": "sha512-oXp1GIa+E9IwIs3a106+tr3Bz2MlTTBvlXjOZMoIat11kk7vjqgmBnksB9WHmWv+gZh7k3IUgpAHlwHB7DH4GQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/estree-jsx": "^1.0.0", + "@types/hast": "^3.0.0", + "@types/mdast": "^4.0.0", + "@types/unist": "^3.0.0", + "ccount": "^2.0.0", + "devlop": "^1.1.0", + "mdast-util-from-markdown": "^2.0.0", + "mdast-util-to-markdown": "^2.0.0", + "parse-entities": "^4.0.0", + "stringify-entities": "^4.0.0", + "unist-util-stringify-position": "^4.0.0", + "vfile-message": "^4.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/mdast-util-mdxjs-esm": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/mdast-util-mdxjs-esm/-/mdast-util-mdxjs-esm-2.0.1.tgz", + "integrity": "sha512-EcmOpxsZ96CvlP03NghtH1EsLtr0n9Tm4lPUJUBccV9RwUOneqSycg19n5HGzCf+10LozMRSObtVr3ee1WoHtg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/estree-jsx": "^1.0.0", + "@types/hast": "^3.0.0", + "@types/mdast": "^4.0.0", + "devlop": "^1.0.0", + "mdast-util-from-markdown": "^2.0.0", + "mdast-util-to-markdown": "^2.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/mdast-util-phrasing": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/mdast-util-phrasing/-/mdast-util-phrasing-4.1.0.tgz", + "integrity": "sha512-TqICwyvJJpBwvGAMZjj4J2n0X8QWp21b9l0o7eXyVJ25YNWYbJDVIyD1bZXE6WtV6RmKJVYmQAKWa0zWOABz2w==", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/mdast": "^4.0.0", + "unist-util-is": "^6.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/mdast-util-to-hast": { + "version": "13.2.1", + "resolved": "https://registry.npmjs.org/mdast-util-to-hast/-/mdast-util-to-hast-13.2.1.tgz", + "integrity": "sha512-cctsq2wp5vTsLIcaymblUriiTcZd0CwWtCbLvrOzYCDZoWyMNV8sZ7krj09FSnsiJi3WVsHLM4k6Dq/yaPyCXA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/hast": "^3.0.0", + "@types/mdast": "^4.0.0", + "@ungap/structured-clone": "^1.0.0", + "devlop": "^1.0.0", + "micromark-util-sanitize-uri": "^2.0.0", + "trim-lines": "^3.0.0", + "unist-util-position": "^5.0.0", + "unist-util-visit": "^5.0.0", + "vfile": "^6.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/mdast-util-to-markdown": { + "version": "2.2.2", + "resolved": "https://registry.npmjs.org/mdast-util-to-markdown/-/mdast-util-to-markdown-2.2.2.tgz", + "integrity": "sha512-ELNT5jYDUdx0B/hlUSSAiAEtvqkY3Oriwkp1KEYseF1Ccu4MnKkmE5yK3oE3WGT/Pq8VTE+XwP0GLL5pafY8yA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/mdast": "^4.0.0", + "@types/unist": "^3.0.0", + "longest-streak": "^3.0.0", + "mdast-util-phrasing": "^4.0.0", + "mdast-util-to-string": "^4.0.0", + "micromark-util-character": "^2.0.0", + "micromark-util-classify-character": "^2.0.0", + "micromark-util-decode-string": "^2.0.0", + "micromark-util-html-tag-name": "^2.0.0", + "unist-util-visit": "^5.0.0", + "zwitch": "^2.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/mdast-util-to-string": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/mdast-util-to-string/-/mdast-util-to-string-4.0.0.tgz", + "integrity": "sha512-0H44vDimn51F0YwvxSJSm0eCDOJTRlmN0R1yBh4HLj9wiV1Dn0QoXGbvFAWj2hSItVTlCmBF1hqKlIyUBVFLPg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/mdast": "^4.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "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/micromark": { + "version": "4.0.3", + "resolved": "https://registry.npmjs.org/micromark/-/micromark-4.0.3.tgz", + "integrity": "sha512-oGYfQzHSG5dOMovQcJ3fyTmZlWAWpi0XA0sJwJs+i6OT88o1+Jtw/8z0CmdowSLxGhhFK89rQ/oXph/wN02PNw==", + "dev": true, + "funding": [ + { + "type": "GitHub Sponsors", + "url": "https://github.com/sponsors/unifiedjs" + }, + { + "type": "OpenCollective", + "url": "https://opencollective.com/unified" + } + ], + "license": "MIT", + "dependencies": { + "@types/debug": "^4.0.0", + "debug": "^4.0.0", + "decode-named-character-reference": "^1.0.0", + "devlop": "^1.0.0", + "micromark-core-commonmark": "^2.0.0", + "micromark-factory-space": "^2.0.0", + "micromark-util-character": "^2.0.0", + "micromark-util-chunked": "^2.0.0", + "micromark-util-combine-extensions": "^2.0.0", + "micromark-util-decode-numeric-character-reference": "^2.0.0", + "micromark-util-edit-map": "^1.0.0", + "micromark-util-encode": "^2.0.0", + "micromark-util-normalize-identifier": "^2.0.0", + "micromark-util-resolve-all": "^2.0.0", + "micromark-util-sanitize-uri": "^2.0.0", + "micromark-util-subtokenize": "^2.0.0", + "micromark-util-symbol": "^2.0.0", + "micromark-util-types": "^2.0.0" + } + }, + "node_modules/micromark-core-commonmark": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/micromark-core-commonmark/-/micromark-core-commonmark-2.0.4.tgz", + "integrity": "sha512-wxEeE8v8XVvOrxn1TZj74qYhAtTQsSqufHVS3uNVyT1MupXxhyaHk8/9xDNPh9BmL77QNDgWTkZ3RsYHB2ry7w==", + "dev": true, + "funding": [ + { + "type": "GitHub Sponsors", + "url": "https://github.com/sponsors/unifiedjs" + }, + { + "type": "OpenCollective", + "url": "https://opencollective.com/unified" + } + ], + "license": "MIT", + "dependencies": { + "decode-named-character-reference": "^1.0.0", + "devlop": "^1.0.0", + "micromark-factory-destination": "^2.0.0", + "micromark-factory-label": "^2.0.0", + "micromark-factory-space": "^2.1.0", + "micromark-factory-title": "^2.0.0", + "micromark-factory-whitespace": "^2.0.0", + "micromark-util-character": "^2.0.0", + "micromark-util-chunked": "^2.0.0", + "micromark-util-classify-character": "^2.0.0", + "micromark-util-edit-map": "^1.0.0", + "micromark-util-html-tag-name": "^2.0.0", + "micromark-util-normalize-identifier": "^2.0.0", + "micromark-util-resolve-all": "^2.0.0", + "micromark-util-subtokenize": "^2.0.0", + "micromark-util-symbol": "^2.0.0", + "micromark-util-types": "^2.0.3" + } + }, + "node_modules/micromark-extension-gfm": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/micromark-extension-gfm/-/micromark-extension-gfm-3.0.0.tgz", + "integrity": "sha512-vsKArQsicm7t0z2GugkCKtZehqUm31oeGBV/KVSorWSy8ZlNAv7ytjFhvaryUiCUJYqs+NoE6AFhpQvBTM6Q4w==", + "dev": true, + "license": "MIT", + "dependencies": { + "micromark-extension-gfm-autolink-literal": "^2.0.0", + "micromark-extension-gfm-footnote": "^2.0.0", + "micromark-extension-gfm-strikethrough": "^2.0.0", + "micromark-extension-gfm-table": "^2.0.0", + "micromark-extension-gfm-tagfilter": "^2.0.0", + "micromark-extension-gfm-task-list-item": "^2.0.0", + "micromark-util-combine-extensions": "^2.0.0", + "micromark-util-types": "^2.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/micromark-extension-gfm-autolink-literal": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/micromark-extension-gfm-autolink-literal/-/micromark-extension-gfm-autolink-literal-2.1.0.tgz", + "integrity": "sha512-oOg7knzhicgQ3t4QCjCWgTmfNhvQbDDnJeVu9v81r7NltNCVmhPy1fJRX27pISafdjL+SVc4d3l48Gb6pbRypw==", + "dev": true, + "license": "MIT", + "dependencies": { + "micromark-util-character": "^2.0.0", + "micromark-util-sanitize-uri": "^2.0.0", + "micromark-util-symbol": "^2.0.0", + "micromark-util-types": "^2.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/micromark-extension-gfm-footnote": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/micromark-extension-gfm-footnote/-/micromark-extension-gfm-footnote-2.1.0.tgz", + "integrity": "sha512-/yPhxI1ntnDNsiHtzLKYnE3vf9JZ6cAisqVDauhp4CEHxlb4uoOTxOCJ+9s51bIB8U1N1FJ1RXOKTIlD5B/gqw==", + "dev": true, + "license": "MIT", + "dependencies": { + "devlop": "^1.0.0", + "micromark-core-commonmark": "^2.0.0", + "micromark-factory-space": "^2.0.0", + "micromark-util-character": "^2.0.0", + "micromark-util-normalize-identifier": "^2.0.0", + "micromark-util-sanitize-uri": "^2.0.0", + "micromark-util-symbol": "^2.0.0", + "micromark-util-types": "^2.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/micromark-extension-gfm-strikethrough": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/micromark-extension-gfm-strikethrough/-/micromark-extension-gfm-strikethrough-2.1.0.tgz", + "integrity": "sha512-ADVjpOOkjz1hhkZLlBiYA9cR2Anf8F4HqZUO6e5eDcPQd0Txw5fxLzzxnEkSkfnD0wziSGiv7sYhk/ktvbf1uw==", + "dev": true, + "license": "MIT", + "dependencies": { + "devlop": "^1.0.0", + "micromark-util-chunked": "^2.0.0", + "micromark-util-classify-character": "^2.0.0", + "micromark-util-resolve-all": "^2.0.0", + "micromark-util-symbol": "^2.0.0", + "micromark-util-types": "^2.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/micromark-extension-gfm-table": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/micromark-extension-gfm-table/-/micromark-extension-gfm-table-2.1.2.tgz", + "integrity": "sha512-pRzm4kDTu0MjlmBkxmS9yYhw60nncfcEwu9NNdPFSQEFXS95ZKyIIyTSHu/o3ReBUrLKYEq+7YaXCRn/bPB4MA==", + "dev": true, + "license": "MIT", + "dependencies": { + "devlop": "^1.0.0", + "micromark-factory-space": "^2.0.0", + "micromark-util-character": "^2.0.0", + "micromark-util-symbol": "^2.0.0", + "micromark-util-types": "^2.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/micromark-extension-gfm-tagfilter": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/micromark-extension-gfm-tagfilter/-/micromark-extension-gfm-tagfilter-2.0.0.tgz", + "integrity": "sha512-xHlTOmuCSotIA8TW1mDIM6X2O1SiX5P9IuDtqGonFhEK0qgRI4yeC6vMxEV2dgyr2TiD+2PQ10o+cOhdVAcwfg==", + "dev": true, + "license": "MIT", + "dependencies": { + "micromark-util-types": "^2.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/micromark-extension-gfm-task-list-item": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/micromark-extension-gfm-task-list-item/-/micromark-extension-gfm-task-list-item-2.1.0.tgz", + "integrity": "sha512-qIBZhqxqI6fjLDYFTBIa4eivDMnP+OZqsNwmQ3xNLE4Cxwc+zfQEfbs6tzAo2Hjq+bh6q5F+Z8/cksrLFYWQQw==", + "dev": true, + "license": "MIT", + "dependencies": { + "devlop": "^1.0.0", + "micromark-factory-space": "^2.0.0", + "micromark-util-character": "^2.0.0", + "micromark-util-symbol": "^2.0.0", + "micromark-util-types": "^2.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/micromark-factory-destination": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/micromark-factory-destination/-/micromark-factory-destination-2.0.1.tgz", + "integrity": "sha512-Xe6rDdJlkmbFRExpTOmRj9N3MaWmbAgdpSrBQvCFqhezUn4AHqJHbaEnfbVYYiexVSs//tqOdY/DxhjdCiJnIA==", + "dev": true, + "funding": [ + { + "type": "GitHub Sponsors", + "url": "https://github.com/sponsors/unifiedjs" + }, + { + "type": "OpenCollective", + "url": "https://opencollective.com/unified" + } + ], + "license": "MIT", + "dependencies": { + "micromark-util-character": "^2.0.0", + "micromark-util-symbol": "^2.0.0", + "micromark-util-types": "^2.0.0" + } + }, + "node_modules/micromark-factory-label": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/micromark-factory-label/-/micromark-factory-label-2.0.1.tgz", + "integrity": "sha512-VFMekyQExqIW7xIChcXn4ok29YE3rnuyveW3wZQWWqF4Nv9Wk5rgJ99KzPvHjkmPXF93FXIbBp6YdW3t71/7Vg==", + "dev": true, + "funding": [ + { + "type": "GitHub Sponsors", + "url": "https://github.com/sponsors/unifiedjs" + }, + { + "type": "OpenCollective", + "url": "https://opencollective.com/unified" + } + ], + "license": "MIT", + "dependencies": { + "devlop": "^1.0.0", + "micromark-util-character": "^2.0.0", + "micromark-util-symbol": "^2.0.0", + "micromark-util-types": "^2.0.0" + } + }, + "node_modules/micromark-factory-space": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/micromark-factory-space/-/micromark-factory-space-2.1.0.tgz", + "integrity": "sha512-fS8hnLIjnjvdQIj39Geug8wWsR0HrYZ43KShKxNfwT7t2LOHo/LbWZEzEaSOjwtjdCsjoE6syHhonEzW0zv0+Q==", + "dev": true, + "funding": [ + { + "type": "GitHub Sponsors", + "url": "https://github.com/sponsors/unifiedjs" + }, + { + "type": "OpenCollective", + "url": "https://opencollective.com/unified" + } + ], + "license": "MIT", + "dependencies": { + "micromark-util-character": "^2.0.0", + "micromark-util-types": "^2.0.0" + } + }, + "node_modules/micromark-factory-title": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/micromark-factory-title/-/micromark-factory-title-2.0.1.tgz", + "integrity": "sha512-5bZ+3CjhAd9eChYTHsjy6TGxpOFSKgKKJPJxr293jTbfry2KDoWkhBb6TcPVB4NmzaPhMs1Frm9AZH7OD4Cjzw==", + "dev": true, + "funding": [ + { + "type": "GitHub Sponsors", + "url": "https://github.com/sponsors/unifiedjs" + }, + { + "type": "OpenCollective", + "url": "https://opencollective.com/unified" + } + ], + "license": "MIT", + "dependencies": { + "micromark-factory-space": "^2.0.0", + "micromark-util-character": "^2.0.0", + "micromark-util-symbol": "^2.0.0", + "micromark-util-types": "^2.0.0" + } + }, + "node_modules/micromark-factory-whitespace": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/micromark-factory-whitespace/-/micromark-factory-whitespace-2.0.1.tgz", + "integrity": "sha512-Ob0nuZ3PKt/n0hORHyvoD9uZhr+Za8sFoP+OnMcnWK5lngSzALgQYKMr9RJVOWLqQYuyn6ulqGWSXdwf6F80lQ==", + "dev": true, + "funding": [ + { + "type": "GitHub Sponsors", + "url": "https://github.com/sponsors/unifiedjs" + }, + { + "type": "OpenCollective", + "url": "https://opencollective.com/unified" + } + ], + "license": "MIT", + "dependencies": { + "micromark-factory-space": "^2.0.0", + "micromark-util-character": "^2.0.0", + "micromark-util-symbol": "^2.0.0", + "micromark-util-types": "^2.0.0" + } + }, + "node_modules/micromark-util-character": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/micromark-util-character/-/micromark-util-character-2.1.1.tgz", + "integrity": "sha512-wv8tdUTJ3thSFFFJKtpYKOYiGP2+v96Hvk4Tu8KpCAsTMs6yi+nVmGh1syvSCsaxz45J6Jbw+9DD6g97+NV67Q==", + "dev": true, + "funding": [ + { + "type": "GitHub Sponsors", + "url": "https://github.com/sponsors/unifiedjs" + }, + { + "type": "OpenCollective", + "url": "https://opencollective.com/unified" + } + ], + "license": "MIT", + "dependencies": { + "micromark-util-symbol": "^2.0.0", + "micromark-util-types": "^2.0.0" + } + }, + "node_modules/micromark-util-chunked": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/micromark-util-chunked/-/micromark-util-chunked-2.0.1.tgz", + "integrity": "sha512-QUNFEOPELfmvv+4xiNg2sRYeS/P84pTW0TCgP5zc9FpXetHY0ab7SxKyAQCNCc1eK0459uoLI1y5oO5Vc1dbhA==", + "dev": true, + "funding": [ + { + "type": "GitHub Sponsors", + "url": "https://github.com/sponsors/unifiedjs" + }, + { + "type": "OpenCollective", + "url": "https://opencollective.com/unified" + } + ], + "license": "MIT", + "dependencies": { + "micromark-util-symbol": "^2.0.0" + } + }, + "node_modules/micromark-util-classify-character": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/micromark-util-classify-character/-/micromark-util-classify-character-2.0.1.tgz", + "integrity": "sha512-K0kHzM6afW/MbeWYWLjoHQv1sgg2Q9EccHEDzSkxiP/EaagNzCm7T/WMKZ3rjMbvIpvBiZgwR3dKMygtA4mG1Q==", + "dev": true, + "funding": [ + { + "type": "GitHub Sponsors", + "url": "https://github.com/sponsors/unifiedjs" + }, + { + "type": "OpenCollective", + "url": "https://opencollective.com/unified" + } + ], + "license": "MIT", + "dependencies": { + "micromark-util-character": "^2.0.0", + "micromark-util-symbol": "^2.0.0", + "micromark-util-types": "^2.0.0" + } + }, + "node_modules/micromark-util-combine-extensions": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/micromark-util-combine-extensions/-/micromark-util-combine-extensions-2.0.1.tgz", + "integrity": "sha512-OnAnH8Ujmy59JcyZw8JSbK9cGpdVY44NKgSM7E9Eh7DiLS2E9RNQf0dONaGDzEG9yjEl5hcqeIsj4hfRkLH/Bg==", + "dev": true, + "funding": [ + { + "type": "GitHub Sponsors", + "url": "https://github.com/sponsors/unifiedjs" + }, + { + "type": "OpenCollective", + "url": "https://opencollective.com/unified" + } + ], + "license": "MIT", + "dependencies": { + "micromark-util-chunked": "^2.0.0", + "micromark-util-types": "^2.0.0" + } + }, + "node_modules/micromark-util-decode-numeric-character-reference": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/micromark-util-decode-numeric-character-reference/-/micromark-util-decode-numeric-character-reference-2.0.2.tgz", + "integrity": "sha512-ccUbYk6CwVdkmCQMyr64dXz42EfHGkPQlBj5p7YVGzq8I7CtjXZJrubAYezf7Rp+bjPseiROqe7G6foFd+lEuw==", + "dev": true, + "funding": [ + { + "type": "GitHub Sponsors", + "url": "https://github.com/sponsors/unifiedjs" + }, + { + "type": "OpenCollective", + "url": "https://opencollective.com/unified" + } + ], + "license": "MIT", + "dependencies": { + "micromark-util-symbol": "^2.0.0" + } + }, + "node_modules/micromark-util-decode-string": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/micromark-util-decode-string/-/micromark-util-decode-string-2.0.1.tgz", + "integrity": "sha512-nDV/77Fj6eH1ynwscYTOsbK7rR//Uj0bZXBwJZRfaLEJ1iGBR6kIfNmlNqaqJf649EP0F3NWNdeJi03elllNUQ==", + "dev": true, + "funding": [ + { + "type": "GitHub Sponsors", + "url": "https://github.com/sponsors/unifiedjs" + }, + { + "type": "OpenCollective", + "url": "https://opencollective.com/unified" + } + ], + "license": "MIT", + "dependencies": { + "decode-named-character-reference": "^1.0.0", + "micromark-util-character": "^2.0.0", + "micromark-util-decode-numeric-character-reference": "^2.0.0", + "micromark-util-symbol": "^2.0.0" + } + }, + "node_modules/micromark-util-edit-map": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/micromark-util-edit-map/-/micromark-util-edit-map-1.0.0.tgz", + "integrity": "sha512-Pa2ljlsEL6sVwFaYeyrOLSYbQt73JvGbPOYFq+9AElXiSnfI5Q4465RRZ1sHv7lDjDOnGRDDaqPXqClqWK/q1Q==", + "dev": true, + "funding": [ + { + "type": "GitHub Sponsors", + "url": "https://github.com/sponsors/unifiedjs" + }, + { + "type": "OpenCollective", + "url": "https://opencollective.com/unified" + } + ], + "license": "MIT", + "dependencies": { + "micromark-util-types": "^2.0.0" + } + }, + "node_modules/micromark-util-encode": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/micromark-util-encode/-/micromark-util-encode-2.0.1.tgz", + "integrity": "sha512-c3cVx2y4KqUnwopcO9b/SCdo2O67LwJJ/UyqGfbigahfegL9myoEFoDYZgkT7f36T0bLrM9hZTAaAyH+PCAXjw==", + "dev": true, + "funding": [ + { + "type": "GitHub Sponsors", + "url": "https://github.com/sponsors/unifiedjs" + }, + { + "type": "OpenCollective", + "url": "https://opencollective.com/unified" + } + ], + "license": "MIT" + }, + "node_modules/micromark-util-html-tag-name": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/micromark-util-html-tag-name/-/micromark-util-html-tag-name-2.0.1.tgz", + "integrity": "sha512-2cNEiYDhCWKI+Gs9T0Tiysk136SnR13hhO8yW6BGNyhOC4qYFnwF1nKfD3HFAIXA5c45RrIG1ub11GiXeYd1xA==", + "dev": true, + "funding": [ + { + "type": "GitHub Sponsors", + "url": "https://github.com/sponsors/unifiedjs" + }, + { + "type": "OpenCollective", + "url": "https://opencollective.com/unified" + } + ], + "license": "MIT" + }, + "node_modules/micromark-util-normalize-identifier": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/micromark-util-normalize-identifier/-/micromark-util-normalize-identifier-2.0.1.tgz", + "integrity": "sha512-sxPqmo70LyARJs0w2UclACPUUEqltCkJ6PhKdMIDuJ3gSf/Q+/GIe3WKl0Ijb/GyH9lOpUkRAO2wp0GVkLvS9Q==", + "dev": true, + "funding": [ + { + "type": "GitHub Sponsors", + "url": "https://github.com/sponsors/unifiedjs" + }, + { + "type": "OpenCollective", + "url": "https://opencollective.com/unified" + } + ], + "license": "MIT", + "dependencies": { + "micromark-util-symbol": "^2.0.0" + } + }, + "node_modules/micromark-util-resolve-all": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/micromark-util-resolve-all/-/micromark-util-resolve-all-2.0.1.tgz", + "integrity": "sha512-VdQyxFWFT2/FGJgwQnJYbe1jjQoNTS4RjglmSjTUlpUMa95Htx9NHeYW4rGDJzbjvCsl9eLjMQwGeElsqmzcHg==", + "dev": true, + "funding": [ + { + "type": "GitHub Sponsors", + "url": "https://github.com/sponsors/unifiedjs" + }, + { + "type": "OpenCollective", + "url": "https://opencollective.com/unified" + } + ], + "license": "MIT", + "dependencies": { + "micromark-util-types": "^2.0.0" + } + }, + "node_modules/micromark-util-sanitize-uri": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/micromark-util-sanitize-uri/-/micromark-util-sanitize-uri-2.0.1.tgz", + "integrity": "sha512-9N9IomZ/YuGGZZmQec1MbgxtlgougxTodVwDzzEouPKo3qFWvymFHWcnDi2vzV1ff6kas9ucW+o3yzJK9YB1AQ==", + "dev": true, + "funding": [ + { + "type": "GitHub Sponsors", + "url": "https://github.com/sponsors/unifiedjs" + }, + { + "type": "OpenCollective", + "url": "https://opencollective.com/unified" + } + ], + "license": "MIT", + "dependencies": { + "micromark-util-character": "^2.0.0", + "micromark-util-encode": "^2.0.0", + "micromark-util-symbol": "^2.0.0" + } + }, + "node_modules/micromark-util-subtokenize": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/micromark-util-subtokenize/-/micromark-util-subtokenize-2.1.0.tgz", + "integrity": "sha512-XQLu552iSctvnEcgXw6+Sx75GflAPNED1qx7eBJ+wydBb2KCbRZe+NwvIEEMM83uml1+2WSXpBAcp9IUCgCYWA==", + "dev": true, + "funding": [ + { + "type": "GitHub Sponsors", + "url": "https://github.com/sponsors/unifiedjs" + }, + { + "type": "OpenCollective", + "url": "https://opencollective.com/unified" + } + ], + "license": "MIT", + "dependencies": { + "devlop": "^1.0.0", + "micromark-util-chunked": "^2.0.0", + "micromark-util-symbol": "^2.0.0", + "micromark-util-types": "^2.0.0" + } + }, + "node_modules/micromark-util-symbol": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/micromark-util-symbol/-/micromark-util-symbol-2.0.1.tgz", + "integrity": "sha512-vs5t8Apaud9N28kgCrRUdEed4UJ+wWNvicHLPxCa9ENlYuAY31M0ETy5y1vA33YoNPDFTghEbnh6efaE8h4x0Q==", + "dev": true, + "funding": [ + { + "type": "GitHub Sponsors", + "url": "https://github.com/sponsors/unifiedjs" + }, + { + "type": "OpenCollective", + "url": "https://opencollective.com/unified" + } + ], + "license": "MIT" + }, + "node_modules/micromark-util-types": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/micromark-util-types/-/micromark-util-types-2.0.3.tgz", + "integrity": "sha512-oxB2Ik03hI0gv+VNn9tnh1t1YEe9MDPptViAEgfdf3YQHsn0pzGTgCdlSCJXcwhqm8phaEuM7zeEu3QQzVBrPg==", + "dev": true, + "funding": [ + { + "type": "GitHub Sponsors", + "url": "https://github.com/sponsors/unifiedjs" + }, + { + "type": "OpenCollective", + "url": "https://opencollective.com/unified" + } + ], + "license": "MIT" + }, + "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==", + "dev": true, + "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/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/nanoid": { + "version": "3.3.20", + "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.20.tgz", + "integrity": "sha512-uKdg2G3GNCKQn9byYOpxbGqrT2fGO5KRt5J/8b3pok8rT6qxGWF6hxMyJiEYtAf+FVyYuD9hRaDqX5uPFYJ4ZQ==", + "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/ai" + } + ], + "license": "MIT", + "peer": true, + "bin": { + "nanoid": "bin/nanoid.cjs" + }, + "engines": { + "node": "^10 || ^12 || ^13.7 || ^14 || >=15.0.1" + } + }, + "node_modules/natural-compare": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/natural-compare/-/natural-compare-1.4.0.tgz", + "integrity": "sha512-OWND8ei3VtNC9h7V60qff3SVobHr996CTwgxubgyQYEpg290h9J0buyECNNJexkFm5sOajh5G116RYA1c8ZMSw==", + "dev": true, + "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/node-releases": { + "version": "2.0.63", + "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-2.0.63.tgz", + "integrity": "sha512-6li2QanLsAXpIH2R6j77MzRyvOyrvdTqlKtO4CgBdHGNvN99ZZfyxszHc5o5+IZBWD5u6Hzwg83JoGXmqZNG9Q==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=18" + } + }, + "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/object-keys": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/object-keys/-/object-keys-1.1.1.tgz", + "integrity": "sha512-NuAESUOUMrlIXOfHKzD6bpPu3tYt3xvjNdRIQ+FeT0lNb4K8WR70CaDxhuNguS2XG+GjkyMwOzsN5ZktImfhLA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/object.assign": { + "version": "4.1.7", + "resolved": "https://registry.npmjs.org/object.assign/-/object.assign-4.1.7.tgz", + "integrity": "sha512-nK28WOo+QIjBkDduTINE4JkF/UJJKyf2EJxvJKfblDpyg0Q+pkOHNTL0Qwy6NP6FhE/EnzV73BxxqcJaXY9anw==", + "dev": true, + "license": "MIT", + "dependencies": { + "call-bind": "^1.0.8", + "call-bound": "^1.0.3", + "define-properties": "^1.2.1", + "es-object-atoms": "^1.0.0", + "has-symbols": "^1.1.0", + "object-keys": "^1.1.1" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/object.fromentries": { + "version": "2.0.8", + "resolved": "https://registry.npmjs.org/object.fromentries/-/object.fromentries-2.0.8.tgz", + "integrity": "sha512-k6E21FzySsSK5a21KRADBd/NGneRegFO5pLHfdQLpRDETUNJueLXs3WCzyQ3tFRDYgbq3KHGXfTbi2bs8WQ6rQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "call-bind": "^1.0.7", + "define-properties": "^1.2.1", + "es-abstract": "^1.23.2", + "es-object-atoms": "^1.0.0" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/object.values": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/object.values/-/object.values-1.2.1.tgz", + "integrity": "sha512-gXah6aZrcUxjWg2zR2MwouP2eHlCBzdV4pygudehaKXSGW4v2AsRQUK+lwwXhii6KFZcunEnmSUoYp5CXibxtA==", + "dev": true, + "license": "MIT", + "dependencies": { + "call-bind": "^1.0.8", + "call-bound": "^1.0.3", + "define-properties": "^1.2.1", + "es-object-atoms": "^1.0.0" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/obug": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/obug/-/obug-3.0.0.tgz", + "integrity": "sha512-5vvB5+W7ePv+p3uqxi+RcW1XAzLW0/hxt3/4X4Lc4qHudzOhmBiBwOY6DRob4WnanAEGvNcLjF+KNOufrUoEQw==", + "dev": true, + "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/open": { + "version": "11.0.4", + "resolved": "https://registry.npmjs.org/open/-/open-11.0.4.tgz", + "integrity": "sha512-++Zlftm0kVLPmzC06t6epuWmcRMDbI4z5P3NNX979WA/k23+NtSOynEGzsVfZwguKw2mi5umVgnBlJQMwRz4Pg==", + "dev": true, + "license": "MIT", + "dependencies": { + "default-browser": "^5.5.1", + "define-lazy-prop": "^3.0.0", + "is-in-ssh": "^1.0.0", + "is-inside-container": "^1.0.0", + "powershell-utils": "^0.2.1", + "wsl-utils": "^1.0.0" + }, + "engines": { + "node": ">=20" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/optionator": { + "version": "0.9.4", + "resolved": "https://registry.npmjs.org/optionator/-/optionator-0.9.4.tgz", + "integrity": "sha512-6IpQ7mKUxRcZNLIObR0hz7lxsapSSIYNZJwXPGeF0mTVqGKFIXj1DQcMoT22S3ROcLyY/rz0PWaWZ9ayWmad9g==", + "dev": true, + "license": "MIT", + "dependencies": { + "deep-is": "^0.1.3", + "fast-levenshtein": "^2.0.6", + "levn": "^0.4.1", + "prelude-ls": "^1.2.1", + "type-check": "^0.4.0", + "word-wrap": "^1.2.5" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "node_modules/own-keys": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/own-keys/-/own-keys-1.0.2.tgz", + "integrity": "sha512-19YVAg7T+WTrxggPukVq7DjTv6+PJ867TmhCvBsYwmbFCsZd344rq2Ld1p0wo8f8Qrrhgp82c6FJRqdXWtSEhg==", + "dev": true, + "license": "MIT", + "dependencies": { + "call-bound": "^1.0.4", + "get-intrinsic": "^1.3.0", + "object-keys": "^1.1.1", + "safe-push-apply": "^1.0.0" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/p-limit": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-3.1.0.tgz", + "integrity": "sha512-TYOanM3wGwNGsZN2cVTYPArw454xnXj5qmWF1bEoAc4+cU/ol7GVh7odevjp1FNHduHc3KZMcFduxU5Xc6uJRQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "yocto-queue": "^0.1.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/p-locate": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-5.0.0.tgz", + "integrity": "sha512-LaNjtRWUBY++zB5nE/NwcaoMylSPk+S+ZHNB1TzdbMJMny6dynpAGt7X/tl/QYq3TIeE6nxHppbo2LGymrG5Pw==", + "dev": true, + "license": "MIT", + "dependencies": { + "p-limit": "^3.0.2" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/parse-entities": { + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/parse-entities/-/parse-entities-4.0.2.tgz", + "integrity": "sha512-GG2AQYWoLgL877gQIKeRPGO1xF9+eG1ujIb5soS5gPvLQ1y2o8FL90w2QWNdf9I361Mpp7726c+lj3U0qK1uGw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/unist": "^2.0.0", + "character-entities-legacy": "^3.0.0", + "character-reference-invalid": "^2.0.0", + "decode-named-character-reference": "^1.0.0", + "is-alphanumerical": "^2.0.0", + "is-decimal": "^2.0.0", + "is-hexadecimal": "^2.0.0" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/wooorm" + } + }, + "node_modules/parse-entities/node_modules/@types/unist": { + "version": "2.0.11", + "resolved": "https://registry.npmjs.org/@types/unist/-/unist-2.0.11.tgz", + "integrity": "sha512-CmBKiL6NNo/OqgmMn95Fk9Whlp2mtvIv+KNpQKN2F4SjvrEesubTRWGYSg+BnWZOnlCaSTU1sMpsBOzgbYhnsA==", + "dev": true, + "license": "MIT" + }, + "node_modules/parse5": { + "version": "7.3.0", + "resolved": "https://registry.npmjs.org/parse5/-/parse5-7.3.0.tgz", + "integrity": "sha512-IInvU7fabl34qmi9gY8XOVxhYyMyuH2xUNpb2q8/Y+7552KlejkRvqvD19nMoUW/uQGGbqNpA6Tufu5FL5BZgw==", + "dev": true, + "license": "MIT", + "dependencies": { + "entities": "^6.0.0" + }, + "funding": { + "url": "https://github.com/inikulin/parse5?sponsor=1" + } + }, + "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/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==", + "dev": true, + "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==", + "dev": true, + "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/pg": { + "version": "8.23.1", + "resolved": "https://registry.npmjs.org/pg/-/pg-8.23.1.tgz", + "integrity": "sha512-aL96AHANtWjPLDOLqnhx+ngp9+UK7ETEU8VJrDCGvsSSi/mGLcWYsS6Herg7lmaBJe4uwrfqsa7gTEFaSizDoQ==", + "license": "MIT", + "dependencies": { + "pg-connection-string": "^2.14.1", + "pg-pool": "^3.14.0", + "pg-protocol": "^1.16.1", + "pg-types": "2.2.0", + "pgpass": "1.0.5" + }, + "engines": { + "node": ">= 16.0.0" + }, + "optionalDependencies": { + "pg-cloudflare": "^1.4.1" + }, + "peerDependencies": { + "pg-native": ">=3.0.1" + }, + "peerDependenciesMeta": { + "pg-native": { + "optional": true + } + } + }, + "node_modules/pg-cloudflare": { + "version": "1.4.1", + "resolved": "https://registry.npmjs.org/pg-cloudflare/-/pg-cloudflare-1.4.1.tgz", + "integrity": "sha512-6PQbsFWZcp9EmJEwy5cGQ2La+AMWpP46lgbb8X+U/XsHIUweYDNCpeuKck5RxL2MdVFi7krbbEi5nX4Zh7JhrQ==", + "license": "MIT", + "optional": true + }, + "node_modules/pg-connection-string": { + "version": "2.14.1", + "resolved": "https://registry.npmjs.org/pg-connection-string/-/pg-connection-string-2.14.1.tgz", + "integrity": "sha512-qR3kGNPBLpCNtz0evbKA0Y/MRFXwSSdT+pTJvYp/bXTcReZbvX1kzF0IyTc1QnxqF7AZbOeBhNL8R5mYQZV/MA==", + "license": "MIT" + }, + "node_modules/pg-int8": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/pg-int8/-/pg-int8-1.0.1.tgz", + "integrity": "sha512-WCtabS6t3c8SkpDBUlb1kjOs7l66xsGdKpIPZsg4wR+B3+u9UAum2odSsF9tnvxg80h4ZxLWMy4pRjOsFIqQpw==", + "license": "ISC", + "engines": { + "node": ">=4.0.0" + } + }, + "node_modules/pg-pool": { + "version": "3.14.0", + "resolved": "https://registry.npmjs.org/pg-pool/-/pg-pool-3.14.0.tgz", + "integrity": "sha512-gKtPkFdQPU3DksooVLi9LsjZxrsBUZIpa+7aVx+LV5pNh0KzP4Zleud2po+ConrxbuXGBJ6Hfer6hdgpIBpBaw==", + "license": "MIT", + "peerDependencies": { + "pg": ">=8.0" + } + }, + "node_modules/pg-protocol": { + "version": "1.16.1", + "resolved": "https://registry.npmjs.org/pg-protocol/-/pg-protocol-1.16.1.tgz", + "integrity": "sha512-p9VOFMiHB/ZbJATetbg+99PxssTVSQRnyuPSQ67mN1+1KBOjZaZ83ZQzltnxPhJwSsC3nwVjJ10DVJlerbFzLg==", + "license": "MIT" + }, + "node_modules/pg-types": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/pg-types/-/pg-types-2.2.0.tgz", + "integrity": "sha512-qTAAlrEsl8s4OiEQY69wDvcMIdQN6wdz5ojQiOy6YRMuynxenON0O5oCpJI6lshc6scgAY8qvJ2On/p+CXY0GA==", + "license": "MIT", + "dependencies": { + "pg-int8": "1.0.1", + "postgres-array": "~2.0.0", + "postgres-bytea": "~1.0.0", + "postgres-date": "~1.0.4", + "postgres-interval": "^1.1.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/pgpass": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/pgpass/-/pgpass-1.0.5.tgz", + "integrity": "sha512-FdW9r/jQZhSeohs1Z3sI1yxFQNFvMcnmfuj4WBMUTxOrAyLMaTcE1aAMBiTlbMNaXvBCQuVi0R7hd8udDSP7ug==", + "license": "MIT", + "dependencies": { + "split2": "^4.1.0" + } + }, + "node_modules/picocolors": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.1.1.tgz", + "integrity": "sha512-xceH2snhtb5M9liqDsmEw56le376mTZkEX/jEb/RxNFyegNul7eNslCXP9FDj/Lcu0X8KEyMceP2ntpaHrDEVA==", + "dev": true, + "license": "ISC" + }, + "node_modules/picomatch": { + "version": "4.0.7", + "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-4.0.7.tgz", + "integrity": "sha512-qcJu88Q2IWqJsDD529JKMdwGm/dvInW4HvQnRwiH9JtihJvzGOscDtHE3x1pBKeUOTysQ8kVmLnJ2kJu7yhcGA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/jonschlinkert" + } + }, + "node_modules/playwright": { + "version": "1.64.1", + "resolved": "https://registry.npmjs.org/playwright/-/playwright-1.64.1.tgz", + "integrity": "sha512-HCrVhHr5QQuwYoswEUGTb7gGp522yflbv/ST8nF4sFWGuLjQCt17Q/EubpGGSNKYn1tsTCPZxqHhHCfVURu7UA==", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "playwright-core": "1.64.1" + }, + "bin": { + "playwright": "cli.js" + }, + "engines": { + "node": ">=20" + } + }, + "node_modules/playwright-core": { + "version": "1.64.1", + "resolved": "https://registry.npmjs.org/playwright-core/-/playwright-core-1.64.1.tgz", + "integrity": "sha512-BC4s8y6SEVA6Q1rSxZTto8hI1KUI3xXlHGZgvGqP4IqPdI/a6FX9H29IDNz7vKo9l21b6LfYosScPL6M3xxyDQ==", + "dev": true, + "license": "Apache-2.0", + "bin": { + "playwright-core": "cli.js" + }, + "engines": { + "node": ">=20" + } + }, + "node_modules/possible-typed-array-names": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/possible-typed-array-names/-/possible-typed-array-names-1.1.0.tgz", + "integrity": "sha512-/+5VFTchJDoVj3bhoqi6UeymcD00DAwb1nJwamzPvHEszJ4FpF6SNNbUbOS8yI56qHzdV8eK0qEfOSiodkTdxg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/postcss": { + "version": "8.5.32", + "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.5.32.tgz", + "integrity": "sha512-LJlKCCAUFKOuZxipUdYw1NzIITEsPcgyOG9LkvRJvuKj/bRzbuRY0ARXvL0pWGpsZvn8jku+LMep2eU0seHp8g==", + "dev": true, + "funding": [ + { + "type": "opencollective", + "url": "https://opencollective.com/postcss/" + }, + { + "type": "tidelift", + "url": "https://tidelift.com/funding/github/npm/postcss" + }, + { + "type": "github", + "url": "https://github.com/sponsors/ai" + } + ], + "license": "MIT", + "peer": true, + "dependencies": { + "nanoid": "^3.3.20", + "picocolors": "^1.1.1", + "source-map-js": "^1.2.2" + }, + "engines": { + "node": "^10 || ^12 || >=14" + } + }, + "node_modules/postgres-array": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/postgres-array/-/postgres-array-2.0.0.tgz", + "integrity": "sha512-VpZrUqU5A69eQyW2c5CA1jtLecCsN2U/bD6VilrFDWq5+5UIEVO7nazS3TEcHf1zuPYO/sqGvUvW62g86RXZuA==", + "license": "MIT", + "engines": { + "node": ">=4" + } + }, + "node_modules/postgres-bytea": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/postgres-bytea/-/postgres-bytea-1.0.1.tgz", + "integrity": "sha512-5+5HqXnsZPE65IJZSMkZtURARZelel2oXUEO8rH83VS/hxH5vv1uHquPg5wZs8yMAfdv971IU+kcPUczi7NVBQ==", + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/postgres-date": { + "version": "1.0.7", + "resolved": "https://registry.npmjs.org/postgres-date/-/postgres-date-1.0.7.tgz", + "integrity": "sha512-suDmjLVQg78nMK2UZ454hAG+OAW+HQPZ6n++TNDUX+L0+uUlLywnoxJKDou51Zm+zTCjrCl0Nq6J9C5hP9vK/Q==", + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/postgres-interval": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/postgres-interval/-/postgres-interval-1.2.0.tgz", + "integrity": "sha512-9ZhXKM/rw350N1ovuWHbGxnGh/SNJ4cnxHiM0rxE4VN41wsg8P8zWn9hv/buK00RP4WvlOyr/RBDiptyxVbkZQ==", + "license": "MIT", + "dependencies": { + "xtend": "^4.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/powershell-utils": { + "version": "0.2.1", + "resolved": "https://registry.npmjs.org/powershell-utils/-/powershell-utils-0.2.1.tgz", + "integrity": "sha512-C+y9x90UElAddDZmV4qOx9W53B61PO7cIqWz2dQsWlwswuq4mr8NEwytdGKboYbQlGZ3awrkTeNvcZiZNHnQ8A==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=20" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/prelude-ls": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/prelude-ls/-/prelude-ls-1.2.1.tgz", + "integrity": "sha512-vkcDPrRZo1QZLbn5RLGPpg/WmIQ65qoWWhcGKf/b5eplkkarX0m9z8ppCat4mlOqUsWpyNuYgO3VRyrYHSzX5g==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.8.0" + } + }, + "node_modules/prettier": { + "version": "3.9.10", + "resolved": "https://registry.npmjs.org/prettier/-/prettier-3.9.10.tgz", + "integrity": "sha512-skGHTH1Yb9QvaTC4hWnRTzEYtCpApF0UMBPz+t/0ZPzP8ihefo/btKd+QA7pUE0fEwA1SbS/NmhyEcstdXOIdA==", + "dev": true, + "license": "MIT", + "bin": { + "prettier": "bin/prettier.cjs" + }, + "engines": { + "node": ">=14" + }, + "funding": { + "url": "https://github.com/prettier/prettier?sponsor=1" + } + }, + "node_modules/prettier-linter-helpers": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/prettier-linter-helpers/-/prettier-linter-helpers-1.0.1.tgz", + "integrity": "sha512-SxToR7P8Y2lWmv/kTzVLC1t/GDI2WGjMwNhLLE9qtH8Q13C+aEmuRlzDst4Up4s0Wc8sF2M+J57iB3cMLqftfg==", + "dev": true, + "license": "MIT", + "dependencies": { + "fast-diff": "^1.1.2" + }, + "engines": { + "node": ">=6.0.0" + } + }, + "node_modules/property-information": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/property-information/-/property-information-7.2.0.tgz", + "integrity": "sha512-IAtzIB6sUiWaJYrX9smp3V46pBGbBeLFRGdh25kg1334VcBlD8HzhPeNIWQH9zhGmo2itIe25EHt9dQP7G5hmg==", + "dev": true, + "license": "MIT", + "funding": { + "type": "github", + "url": "https://github.com/sponsors/wooorm" + } + }, + "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/punycode": { + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.3.1.tgz", + "integrity": "sha512-vYt7UD1U9Wg6138shLtLOvdAu+8DsC/ilFtEVHcH+wydcSpNE20AfSOduf6MkRFahL5FY7X1oU7nKVZFtfq8Fg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6" + } + }, + "node_modules/qified": { + "version": "0.10.1", + "resolved": "https://registry.npmjs.org/qified/-/qified-0.10.1.tgz", + "integrity": "sha512-+Owyggi9IxT1ePKGafcI87ubSmxol6smwJ+RAHDQlx9+9cPwFWDiKFFCPuWhr9ignlGpZ9vDQLw67N4dcTVFEA==", + "dev": true, + "license": "MIT", + "dependencies": { + "hookified": "^2.1.1" + }, + "engines": { + "node": ">=20" + } + }, + "node_modules/qified/node_modules/hookified": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/hookified/-/hookified-2.2.0.tgz", + "integrity": "sha512-p/LgFzRN5FeoD3DLS6bkUapeye6E4SI6yJs6KetENd18S+FBthqYq2amJUWpt5z0EQwwHemidjY5OqJGEKm5uA==", + "dev": true, + "license": "MIT" + }, + "node_modules/qs": { + "version": "6.17.1", + "resolved": "https://registry.npmjs.org/qs/-/qs-6.17.1.tgz", + "integrity": "sha512-jd3COkaKVgGUW+ZHyEHCG9bH7RoaaiWuMgzsIBjUMVjLAaWGWpoUAVwljVvBHxRu/2qEHnadLGZrkutYUBPQJA==", + "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/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/react": { + "version": "19.3.1", + "resolved": "https://registry.npmjs.org/react/-/react-19.3.1.tgz", + "integrity": "sha512-QNhWdt7nrgVWWQG58QuGsAR3jv3Hbe4mb4vz7w2csnHavciZJgda1CPNaldF6eVxv90ud3jUXpKlHL69gO38yw==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/react-dom": { + "version": "19.3.1", + "resolved": "https://registry.npmjs.org/react-dom/-/react-dom-19.3.1.tgz", + "integrity": "sha512-Y0bARz53lhEC1NMCASs0/j+faB/zqt3R8hpvg1e8+61ZVJ4UL0UdC4cBbXfZMcIuhrfgeILTLe+ZeBCavQPtKQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "scheduler": "^0.28.0" + }, + "peerDependencies": { + "react": "^19.3.1" + } + }, + "node_modules/react-markdown": { + "version": "10.1.0", + "resolved": "https://registry.npmjs.org/react-markdown/-/react-markdown-10.1.0.tgz", + "integrity": "sha512-qKxVopLT/TyA6BX3Ue5NwabOsAzm0Q7kAPwq6L+wWDwisYs7R8vZ0nRXqq6rkueboxpkjvLGU9fWifiX/ZZFxQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/hast": "^3.0.0", + "@types/mdast": "^4.0.0", + "devlop": "^1.0.0", + "hast-util-to-jsx-runtime": "^2.0.0", + "html-url-attributes": "^3.0.0", + "mdast-util-to-hast": "^13.0.0", + "remark-parse": "^11.0.0", + "remark-rehype": "^11.0.0", + "unified": "^11.0.0", + "unist-util-visit": "^5.0.0", + "vfile": "^6.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + }, + "peerDependencies": { + "@types/react": ">=18", + "react": ">=18" + } + }, + "node_modules/react-remove-scroll": { + "version": "2.7.2", + "resolved": "https://registry.npmjs.org/react-remove-scroll/-/react-remove-scroll-2.7.2.tgz", + "integrity": "sha512-Iqb9NjCCTt6Hf+vOdNIZGdTiH1QSqr27H/Ek9sv/a97gfueI/5h1s3yRi1nngzMUaOOToin5dI1dXKdXiF+u0Q==", + "dev": true, + "license": "MIT", + "dependencies": { + "react-remove-scroll-bar": "^2.3.7", + "react-style-singleton": "^2.2.3", + "tslib": "^2.1.0", + "use-callback-ref": "^1.3.3", + "use-sidecar": "^1.1.3" + }, + "engines": { + "node": ">=10" + }, + "peerDependencies": { + "@types/react": "*", + "react": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0 || ^19.0.0-rc" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + } + } + }, + "node_modules/react-remove-scroll-bar": { + "version": "2.3.8", + "resolved": "https://registry.npmjs.org/react-remove-scroll-bar/-/react-remove-scroll-bar-2.3.8.tgz", + "integrity": "sha512-9r+yi9+mgU33AKcj6IbT9oRCO78WriSj6t/cF8DWBZJ9aOGPOTEDvdUDz1FwKim7QXWwmHqtdHnRJfhAxEG46Q==", + "dev": true, + "license": "MIT", + "dependencies": { + "react-style-singleton": "^2.2.2", + "tslib": "^2.0.0" + }, + "engines": { + "node": ">=10" + }, + "peerDependencies": { + "@types/react": "*", + "react": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + } + } + }, + "node_modules/react-style-singleton": { + "version": "2.2.3", + "resolved": "https://registry.npmjs.org/react-style-singleton/-/react-style-singleton-2.2.3.tgz", + "integrity": "sha512-b6jSvxvVnyptAiLjbkWLE/lOnR4lfTtDAl+eUC7RZy+QQWc6wRzIV2CE6xBuMmDxc2qIihtDCZD5NPOFl7fRBQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "get-nonce": "^1.0.0", + "tslib": "^2.0.0" + }, + "engines": { + "node": ">=10" + }, + "peerDependencies": { + "@types/react": "*", + "react": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0 || ^19.0.0-rc" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + } + } + }, + "node_modules/reflect.getprototypeof": { + "version": "1.0.10", + "resolved": "https://registry.npmjs.org/reflect.getprototypeof/-/reflect.getprototypeof-1.0.10.tgz", + "integrity": "sha512-00o4I+DVrefhv+nX0ulyi3biSHCPDe+yLv5o/p6d/UVlirijB8E16FtfwSAi4g3tcqrQ4lRAqQSoFEZJehYEcw==", + "dev": true, + "license": "MIT", + "dependencies": { + "call-bind": "^1.0.8", + "define-properties": "^1.2.1", + "es-abstract": "^1.23.9", + "es-errors": "^1.3.0", + "es-object-atoms": "^1.0.0", + "get-intrinsic": "^1.2.7", + "get-proto": "^1.0.1", + "which-builtin-type": "^1.2.1" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/regexp.prototype.flags": { + "version": "1.5.4", + "resolved": "https://registry.npmjs.org/regexp.prototype.flags/-/regexp.prototype.flags-1.5.4.tgz", + "integrity": "sha512-dYqgNSZbDwkaJ2ceRd9ojCGjBq+mOm9LmtXnAnEGyHhN/5R7iDW2TRw3h+o/jCFxus3P2LfWIIiwowAjANm7IA==", + "dev": true, + "license": "MIT", + "dependencies": { + "call-bind": "^1.0.8", + "define-properties": "^1.2.1", + "es-errors": "^1.3.0", + "get-proto": "^1.0.1", + "gopd": "^1.2.0", + "set-function-name": "^2.0.2" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/rehype-raw": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/rehype-raw/-/rehype-raw-7.0.0.tgz", + "integrity": "sha512-/aE8hCfKlQeA8LmyeyQvQF3eBiLRGNlfBJEvWH7ivp9sBqs7TNqBL5X3v157rM4IFETqDnIOO+z5M/biZbo9Ww==", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/hast": "^3.0.0", + "hast-util-raw": "^9.0.0", + "vfile": "^6.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/remark-gfm": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/remark-gfm/-/remark-gfm-4.0.1.tgz", + "integrity": "sha512-1quofZ2RQ9EWdeN34S79+KExV1764+wCUGop5CPL1WGdD0ocPpu91lzPGbwWMECpEpd42kJGQwzRfyov9j4yNg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/mdast": "^4.0.0", + "mdast-util-gfm": "^3.0.0", + "micromark-extension-gfm": "^3.0.0", + "remark-parse": "^11.0.0", + "remark-stringify": "^11.0.0", + "unified": "^11.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/remark-parse": { + "version": "11.0.0", + "resolved": "https://registry.npmjs.org/remark-parse/-/remark-parse-11.0.0.tgz", + "integrity": "sha512-FCxlKLNGknS5ba/1lmpYijMUzX2esxW5xQqjWxw2eHFfS2MSdaHVINFmhjo+qN1WhZhNimq0dZATN9pH0IDrpA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/mdast": "^4.0.0", + "mdast-util-from-markdown": "^2.0.0", + "micromark-util-types": "^2.0.0", + "unified": "^11.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/remark-rehype": { + "version": "11.1.2", + "resolved": "https://registry.npmjs.org/remark-rehype/-/remark-rehype-11.1.2.tgz", + "integrity": "sha512-Dh7l57ianaEoIpzbp0PC9UKAdCSVklD8E5Rpw7ETfbTl3FqcOOgq5q2LVDhgGCkaBv7p24JXikPdvhhmHvKMsw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/hast": "^3.0.0", + "@types/mdast": "^4.0.0", + "mdast-util-to-hast": "^13.0.0", + "unified": "^11.0.0", + "vfile": "^6.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/remark-stringify": { + "version": "11.0.0", + "resolved": "https://registry.npmjs.org/remark-stringify/-/remark-stringify-11.0.0.tgz", + "integrity": "sha512-1OSmLd3awB/t8qdoEOMazZkNsfVTeY4fTsgzcQFdXNq8ToTN4ZGwrMnlda4K6smTFKD+GRV6O48i6Z4iKgPPpw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/mdast": "^4.0.0", + "mdast-util-to-markdown": "^2.0.0", + "unified": "^11.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/rolldown": { + "version": "1.2.16", + "resolved": "https://registry.npmjs.org/rolldown/-/rolldown-1.2.16.tgz", + "integrity": "sha512-bWvlMpFKiTfDKfnK7FC2MPgPeWCf/Kpwsq49ApdW+FQaBZb6O6dZ4MAPbPUjp7hYQrw/RobqCzn64BRrQecGHw==", + "dev": true, + "license": "MIT", + "peer": true, + "dependencies": { + "@oxc-project/types": "=0.156.0", + "@rolldown/pluginutils": "^1.0.0" + }, + "bin": { + "rolldown": "bin/cli.mjs" + }, + "engines": { + "node": "^20.19.0 || >=22.12.0" + }, + "optionalDependencies": { + "@rolldown/binding-android-arm-eabi": "1.2.16", + "@rolldown/binding-android-arm64": "1.2.16", + "@rolldown/binding-darwin-arm64": "1.2.16", + "@rolldown/binding-darwin-x64": "1.2.16", + "@rolldown/binding-freebsd-x64": "1.2.16", + "@rolldown/binding-linux-arm-gnueabihf": "1.2.16", + "@rolldown/binding-linux-arm64-gnu": "1.2.16", + "@rolldown/binding-linux-arm64-musl": "1.2.16", + "@rolldown/binding-linux-ppc64-gnu": "1.2.16", + "@rolldown/binding-linux-s390x-gnu": "1.2.16", + "@rolldown/binding-linux-x64-gnu": "1.2.16", + "@rolldown/binding-linux-x64-musl": "1.2.16", + "@rolldown/binding-openharmony-arm64": "1.2.16", + "@rolldown/binding-win32-arm64-msvc": "1.2.16", + "@rolldown/binding-win32-x64-msvc": "1.2.16" + } + }, + "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/run-applescript": { + "version": "7.1.0", + "resolved": "https://registry.npmjs.org/run-applescript/-/run-applescript-7.1.0.tgz", + "integrity": "sha512-DPe5pVFaAsinSaV6QjQ6gdiedWDcRCbUuiQfQa2wmWV7+xC9bGulGI8+TdRmoFkAPaBXk8CrAbnlY2ISniJ47Q==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/safe-array-concat": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/safe-array-concat/-/safe-array-concat-1.1.4.tgz", + "integrity": "sha512-wtZlHyOje6OZTGqAoaDKxFkgRtkF9CnHAVnCHKfuj200wAgL+bSJhdsCD2l0Qx/2ekEXjPWcyKkfGb5CPboslg==", + "dev": true, + "license": "MIT", + "dependencies": { + "call-bind": "^1.0.9", + "call-bound": "^1.0.4", + "get-intrinsic": "^1.3.0", + "has-symbols": "^1.1.0", + "isarray": "^2.0.5" + }, + "engines": { + "node": ">=0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/safe-push-apply": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/safe-push-apply/-/safe-push-apply-1.0.0.tgz", + "integrity": "sha512-iKE9w/Z7xCzUMIZqdBsp6pEQvwuEebH4vdpjcDWnyzaI6yl6O9FHvVpmGelvEHNsoY6wGblkxR6Zty/h00WiSA==", + "dev": true, + "license": "MIT", + "dependencies": { + "es-errors": "^1.3.0", + "isarray": "^2.0.5" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/safe-regex-test": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/safe-regex-test/-/safe-regex-test-1.1.0.tgz", + "integrity": "sha512-x/+Cz4YrimQxQccJf5mKEbIa1NzeCRNI5Ecl/ekmlYaampdNLPalVyIcCZNNH3MvmqBugV5TMYZXv0ljslUlaw==", + "dev": true, + "license": "MIT", + "dependencies": { + "call-bound": "^1.0.2", + "es-errors": "^1.3.0", + "is-regex": "^1.2.1" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "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/scheduler": { + "version": "0.28.0", + "resolved": "https://registry.npmjs.org/scheduler/-/scheduler-0.28.0.tgz", + "integrity": "sha512-juorfCmIkIw8tT+p5BXSm6PJjQF/ycEYmKyzURCIt/RaZIhL+PulbQ9Yu2z1HdOJDdqDTlxA1+xKBmHXJsczAw==", + "dev": true, + "license": "MIT" + }, + "node_modules/semver": { + "version": "7.8.6", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.8.6.tgz", + "integrity": "sha512-9lpSSU4Mly3mrtruwLs1eLK6+gzbzqeBFwRNjIjE+9LuDpWdYctrQlQ3ej1Ilgi7gknpsTRnPoLP8DpCHqHIJw==", + "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-function-length": { + "version": "1.2.2", + "resolved": "https://registry.npmjs.org/set-function-length/-/set-function-length-1.2.2.tgz", + "integrity": "sha512-pgRc4hJ4/sNjWCSS9AmnS40x3bNMDTknHgL5UaMBTMyJnU90EgWh1Rz+MC9eFu4BuN/UwZjKQuY/1v3rM7HMfg==", + "dev": true, + "license": "MIT", + "dependencies": { + "define-data-property": "^1.1.4", + "es-errors": "^1.3.0", + "function-bind": "^1.1.2", + "get-intrinsic": "^1.2.4", + "gopd": "^1.0.1", + "has-property-descriptors": "^1.0.2" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/set-function-name": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/set-function-name/-/set-function-name-2.0.2.tgz", + "integrity": "sha512-7PGFlmtwsEADb0WYyvCMa1t+yke6daIG4Wirafur5kcf+MhUnPms1UeR0CKQdTZD81yESwMHbtn+TR+dMviakQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "define-data-property": "^1.1.4", + "es-errors": "^1.3.0", + "functions-have-names": "^1.2.3", + "has-property-descriptors": "^1.0.2" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/set-proto": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/set-proto/-/set-proto-1.0.0.tgz", + "integrity": "sha512-RJRdvCo6IAnPdsvP/7m6bsQqNnn1FCBX5ZNtFL98MmFF/4xAIJTIg1YbHW5DC2W5SKZanrC6i4HsJqlajw/dZw==", + "dev": true, + "license": "MIT", + "dependencies": { + "dunder-proto": "^1.0.1", + "es-errors": "^1.3.0", + "es-object-atoms": "^1.0.0" + }, + "engines": { + "node": ">= 0.4" + } + }, + "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==", + "dev": true, + "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==", + "dev": true, + "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/source-map-js": { + "version": "1.2.2", + "resolved": "https://registry.npmjs.org/source-map-js/-/source-map-js-1.2.2.tgz", + "integrity": "sha512-KGj/8Y43x35aZVDtt+J4mK1hoLGHULMYfSkODJNQjNDC3oW1PqPoxMwo0pLUsWM/UEGzON/NxeHywEfNXNP3Vw==", + "dev": true, + "license": "BSD-3-Clause", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/space-separated-tokens": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/space-separated-tokens/-/space-separated-tokens-2.0.2.tgz", + "integrity": "sha512-PEGlAwrG8yXGXRjW32fGbg66JAlOAwbObuqVoJpv/mRgoWDQfgH1wDPvtzWyUSNAXBGSk8h755YDbbcEy3SH2Q==", + "dev": true, + "license": "MIT", + "funding": { + "type": "github", + "url": "https://github.com/sponsors/wooorm" + } + }, + "node_modules/split2": { + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/split2/-/split2-4.2.0.tgz", + "integrity": "sha512-UcjcJOWknrNkF6PLX83qcHM6KHgVKNkV62Y8a5uYDVv9ydGQVwAHMKqHdJje1VTWpljG0WYpCDhrCdAOYH4TWg==", + "license": "ISC", + "engines": { + "node": ">= 10.x" + } + }, + "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/std-env": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/std-env/-/std-env-4.3.0.tgz", + "integrity": "sha512-OtU/EgQ1kIm5KwqQpBC6ZEMXrZRui11w8zgfTWp8cdO9B8OaPsbA8bTHO2P+HNo1VlUTGMVBwPhydu6poeXiag==", + "dev": true, + "license": "MIT" + }, + "node_modules/stop-iteration-iterator": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/stop-iteration-iterator/-/stop-iteration-iterator-1.1.0.tgz", + "integrity": "sha512-eLoXW/DHyl62zxY4SCaIgnRhuMr6ri4juEYARS8E6sCEqzKpOiE521Ucofdx+KnDZl5xmvGYaaKCk5FEOxJCoQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "es-errors": "^1.3.0", + "internal-slot": "^1.1.0" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/string.prototype.includes": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/string.prototype.includes/-/string.prototype.includes-2.0.1.tgz", + "integrity": "sha512-o7+c9bW6zpAdJHTtujeePODAhkuicdAryFsfVKwA+wGw89wJ4GTY484WTucM9hLtDEOpOvI+aHnzqnC5lHp4Rg==", + "dev": true, + "license": "MIT", + "dependencies": { + "call-bind": "^1.0.7", + "define-properties": "^1.2.1", + "es-abstract": "^1.23.3" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/string.prototype.trim": { + "version": "1.2.11", + "resolved": "https://registry.npmjs.org/string.prototype.trim/-/string.prototype.trim-1.2.11.tgz", + "integrity": "sha512-PwvK7BU+CMTJGYQCTZb5RWXIML92lftJLhQz1tBzgKiqGxJaMlBAa48POXaNAC2s4y8jr3EFqrkF9+44neS46w==", + "dev": true, + "license": "MIT", + "dependencies": { + "call-bind": "^1.0.9", + "call-bound": "^1.0.4", + "define-data-property": "^1.1.4", + "define-properties": "^1.2.1", + "es-abstract": "^1.24.2", + "es-object-atoms": "^1.1.2", + "has-property-descriptors": "^1.0.2", + "safe-regex-test": "^1.1.0" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/string.prototype.trimend": { + "version": "1.0.10", + "resolved": "https://registry.npmjs.org/string.prototype.trimend/-/string.prototype.trimend-1.0.10.tgz", + "integrity": "sha512-2+3aDAOmPTmuFwjDnmJG2ctEkQKVki7vOSqaxkv42Mowj1V6PnvuwFCRrR5lChUux1TBskPjfkeTOhqczDMxTw==", + "dev": true, + "license": "MIT", + "dependencies": { + "call-bind": "^1.0.9", + "call-bound": "^1.0.4", + "define-properties": "^1.2.1", + "es-object-atoms": "^1.1.2" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/string.prototype.trimstart": { + "version": "1.0.8", + "resolved": "https://registry.npmjs.org/string.prototype.trimstart/-/string.prototype.trimstart-1.0.8.tgz", + "integrity": "sha512-UXSH262CSZY1tfu3G3Secr6uGLCFVPMhIqHjlgCUtCCcgihYc/xKs9djMTMUOb2j1mVSeU8EU6NWc/iQKU6Gfg==", + "dev": true, + "license": "MIT", + "dependencies": { + "call-bind": "^1.0.7", + "define-properties": "^1.2.1", + "es-object-atoms": "^1.0.0" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/stringify-entities": { + "version": "4.0.4", + "resolved": "https://registry.npmjs.org/stringify-entities/-/stringify-entities-4.0.4.tgz", + "integrity": "sha512-IwfBptatlO+QCJUo19AqvrPNqlVMpW9YEL2LIVY+Rpv2qsjCGxaDLNRgeGsQWJhfItebuJhsGSLjaBbNSQ+ieg==", + "dev": true, + "license": "MIT", + "dependencies": { + "character-entities-html4": "^2.0.0", + "character-entities-legacy": "^3.0.0" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/wooorm" + } + }, + "node_modules/style-to-object": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/style-to-object/-/style-to-object-2.0.2.tgz", + "integrity": "sha512-QmbXPUylqU80HAgTOJeEOdbA40W9KtxmjMhQy+tq+b8F2aoh3aQLuy82hh2jm2qsC9hR9eI0+eQidTMydKcqRA==", + "dev": true, + "license": "MIT", + "dependencies": { + "inline-style-parser": "0.2.9" + } + }, + "node_modules/synckit": { + "version": "0.12.3", + "resolved": "https://registry.npmjs.org/synckit/-/synckit-0.12.3.tgz", + "integrity": "sha512-U+/AXT6LWsxnj2vz9HeUuPWBNgdWxjyIEjEPdbJARC9txmgPzo2VEdqnFo4hHaNyMPtycyVJrSaQYeQv/PoyyA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@dual-bundle/import-meta-resolve": "^4.2.1", + "@pkgr/core": "^0.3.6" + }, + "engines": { + "node": "^14.18.0 || >=16.0.0" + }, + "funding": { + "url": "https://opencollective.com/synckit" + } + }, + "node_modules/tailwind-merge": { + "version": "3.7.0", + "resolved": "https://registry.npmjs.org/tailwind-merge/-/tailwind-merge-3.7.0.tgz", + "integrity": "sha512-XPPUyAc+cvspz3lHTcR/QgPfW2A0lv/xQNIjX3HGhLR+Nq2lHaLq5MtTesHn8GUr3W3DguT2KT5x3NVgRtYwmA==", + "dev": true, + "license": "MIT", + "funding": { + "type": "github", + "url": "https://github.com/sponsors/dcastil" + } + }, + "node_modules/tinybench": { + "version": "6.2.3", + "resolved": "https://registry.npmjs.org/tinybench/-/tinybench-6.2.3.tgz", + "integrity": "sha512-Al01C2JIBnO2CXCAPbpAl6sUiOZHeThGtHYNTa51JRw9PyWOCdr+9Ong05R4qg/Sk3+H645E8ov1h2c58ityNw==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=20.0.0" + } + }, + "node_modules/tinyexec": { + "version": "1.3.1", + "resolved": "https://registry.npmjs.org/tinyexec/-/tinyexec-1.3.1.tgz", + "integrity": "sha512-GCvB3aoys96IuDFBMcTB46JOR6mdMtAToqwiW8JlWhsoh1mhHi/xn9ss/Dg7N555GiJyEt2qzoG/NHCwM6h1EA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=18" + } + }, + "node_modules/tinyglobby": { + "version": "0.2.17", + "resolved": "https://registry.npmjs.org/tinyglobby/-/tinyglobby-0.2.17.tgz", + "integrity": "sha512-wXR/dYpcqKmfWpEdZjiKJOwCNFndD0DMnrW/cYjVGttEkBfVgcLFHoNrlj47mjOVic9yyNu65alsgF4NQyTa2g==", + "dev": 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/tinyrainbow": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/tinyrainbow/-/tinyrainbow-3.2.0.tgz", + "integrity": "sha512-LgO3D9yZJjApUiuUfl9iFAwrtaX4+lok3wJIqttGoKCHlWUqHqbQpnxCf82L8FjgKsh4iGo78hqJwgL8F6To2A==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=14.0.0" + } + }, + "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/trim-lines": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/trim-lines/-/trim-lines-3.0.1.tgz", + "integrity": "sha512-kRj8B+YHZCc9kQYdWfJB2/oUl9rA99qbowYYBtr4ui4mZyAQ2JpvVBd/6U2YloATfqBhBTSMhTpgBHtU0Mf3Rg==", + "dev": true, + "license": "MIT", + "funding": { + "type": "github", + "url": "https://github.com/sponsors/wooorm" + } + }, + "node_modules/trough": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/trough/-/trough-2.2.0.tgz", + "integrity": "sha512-tmMpK00BjZiUyVyvrBK7knerNgmgvcV/KLVyuma/SC+TQN167GrMRciANTz09+k3zW8L8t60jWO1GpfkZdjTaw==", + "dev": true, + "license": "MIT", + "funding": { + "type": "github", + "url": "https://github.com/sponsors/wooorm" + } + }, + "node_modules/ts-api-utils": { + "version": "2.5.0", + "resolved": "https://registry.npmjs.org/ts-api-utils/-/ts-api-utils-2.5.0.tgz", + "integrity": "sha512-OJ/ibxhPlqrMM0UiNHJ/0CKQkoKF243/AEmplt3qpRgkW8VG7IfOS41h7V8TjITqdByHzrjcS/2si+y4lIh8NA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=18.12" + }, + "peerDependencies": { + "typescript": ">=4.8.4" + } + }, + "node_modules/tslib": { + "version": "2.9.1", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.9.1.tgz", + "integrity": "sha512-a4Ux9VKuIMHsOS7ENbEq6hK2ZGYIT27Rtl0E4eD9KqwxhKiQeMZE/9xb3IdYwWaSOyIBQLExhQgXDTYoiCxnWA==", + "dev": true, + "license": "0BSD" + }, + "node_modules/type-check": { + "version": "0.4.0", + "resolved": "https://registry.npmjs.org/type-check/-/type-check-0.4.0.tgz", + "integrity": "sha512-XleUoc9uwGXqjWwXaUTZAmzMcFZ5858QA2vvx1Ur5xIcixXIP+8LnFDgRplU30us6teqdlskFfu+ae4K79Ooew==", + "dev": true, + "license": "MIT", + "dependencies": { + "prelude-ls": "^1.2.1" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "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/typed-array-buffer": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/typed-array-buffer/-/typed-array-buffer-1.0.3.tgz", + "integrity": "sha512-nAYYwfY3qnzX30IkA6AQZjVbtK6duGontcQm1WSG1MD94YLqK0515GNApXkoxKOWMusVssAHWLh9SeaoefYFGw==", + "dev": true, + "license": "MIT", + "dependencies": { + "call-bound": "^1.0.3", + "es-errors": "^1.3.0", + "is-typed-array": "^1.1.14" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/typed-array-byte-length": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/typed-array-byte-length/-/typed-array-byte-length-1.0.3.tgz", + "integrity": "sha512-BaXgOuIxz8n8pIq3e7Atg/7s+DpiYrxn4vdot3w9KbnBhcRQq6o3xemQdIfynqSeXeDrF32x+WvfzmOjPiY9lg==", + "dev": true, + "license": "MIT", + "dependencies": { + "call-bind": "^1.0.8", + "for-each": "^0.3.3", + "gopd": "^1.2.0", + "has-proto": "^1.2.0", + "is-typed-array": "^1.1.14" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/typed-array-byte-offset": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/typed-array-byte-offset/-/typed-array-byte-offset-1.0.5.tgz", + "integrity": "sha512-0FHJvLPqZ7KJzp17O13jfsAjsqazgrxBu2zEK95PmUz8lv2+GjRuxUInCr2Rk9Dms3ihN21zJ929ZO43yJ95QQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "available-typed-arrays": "^1.0.7", + "call-bind": "^1.0.9", + "for-each": "^0.3.5", + "gopd": "^1.2.0", + "is-typed-array": "^1.1.15", + "reflect.getprototypeof": "^1.0.10" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/typed-array-length": { + "version": "1.0.8", + "resolved": "https://registry.npmjs.org/typed-array-length/-/typed-array-length-1.0.8.tgz", + "integrity": "sha512-phPGCwqr2+Qo0fwniCE8e4pKnGu/yFb5nD5Y8bf0EEeiI5GklnACYA9GFy/DrAeRrKHXvHn+1SUsOWgJp6RO+g==", + "dev": true, + "license": "MIT", + "dependencies": { + "call-bind": "^1.0.9", + "for-each": "^0.3.5", + "gopd": "^1.2.0", + "is-typed-array": "^1.1.15", + "possible-typed-array-names": "^1.1.0", + "reflect.getprototypeof": "^1.0.10" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/typescript": { + "version": "6.0.3", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-6.0.3.tgz", + "integrity": "sha512-y2TvuxSZPDyQakkFRPZHKFm+KKVqIisdg9/CZwm9ftvKXLP8NRWj38/ODjNbr43SsoXqNuAisEf1GdCxqWcdBw==", + "dev": true, + "license": "Apache-2.0", + "bin": { + "tsc": "bin/tsc", + "tsserver": "bin/tsserver" + }, + "engines": { + "node": ">=14.17" + } + }, + "node_modules/unbox-primitive": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/unbox-primitive/-/unbox-primitive-1.1.0.tgz", + "integrity": "sha512-nWJ91DjeOkej/TA8pXQ3myruKpKEYgqvpw9lz4OPHj/NWFNluYrjbz9j01CJ8yKQd2g4jFoOkINCTW2I5LEEyw==", + "dev": true, + "license": "MIT", + "dependencies": { + "call-bound": "^1.0.3", + "has-bigints": "^1.0.2", + "has-symbols": "^1.1.0", + "which-boxed-primitive": "^1.1.1" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "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==", + "dev": true, + "license": "MIT" + }, + "node_modules/unified": { + "version": "11.0.5", + "resolved": "https://registry.npmjs.org/unified/-/unified-11.0.5.tgz", + "integrity": "sha512-xKvGhPWw3k84Qjh8bI3ZeJjqnyadK+GEFtazSfZv/rKeTkTjOJho6mFqh2SM96iIcZokxiOpg78GazTSg8+KHA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/unist": "^3.0.0", + "bail": "^2.0.0", + "devlop": "^1.0.0", + "extend": "^3.0.0", + "is-plain-obj": "^4.0.0", + "trough": "^2.0.0", + "vfile": "^6.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/unist-util-is": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/unist-util-is/-/unist-util-is-6.0.1.tgz", + "integrity": "sha512-LsiILbtBETkDz8I9p1dQ0uyRUWuaQzd/cuEeS1hoRSyW5E5XGmTzlwY1OrNzzakGowI9Dr/I8HVaw4hTtnxy8g==", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/unist": "^3.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/unist-util-position": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/unist-util-position/-/unist-util-position-5.0.0.tgz", + "integrity": "sha512-fucsC7HjXvkB5R3kTCO7kUjRdrS0BJt3M/FPxmHMBOm8JQi2BsHAHFsy27E0EolP8rp0NzXsJ+jNPyDWvOJZPA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/unist": "^3.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/unist-util-stringify-position": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/unist-util-stringify-position/-/unist-util-stringify-position-4.0.0.tgz", + "integrity": "sha512-0ASV06AAoKCDkS2+xw5RXJywruurpbC4JZSm7nr7MOt1ojAzvyyaO+UxZf18j8FCF6kmzCZKcAgN/yu2gm2XgQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/unist": "^3.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/unist-util-visit": { + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/unist-util-visit/-/unist-util-visit-5.2.0.tgz", + "integrity": "sha512-fpsYs/VVoZxfGY9/j3FQpZmN8wdLJaV1Pt38AaJNZu9uKIHcFU3halCdBveEq1HGKO1OEfJY65w1zvoFV1b3qQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/unist": "^3.0.0", + "unist-util-is": "^6.0.0", + "unist-util-visit-parents": "^6.1.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/unist-util-visit-parents": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/unist-util-visit-parents/-/unist-util-visit-parents-6.1.0.tgz", + "integrity": "sha512-vKXxz6O38sKDj1mtx/k2cWvkkFBuYGx6uGrlzBkVeWCRF/F8sdI0j3Wbkz/5rVNRRuVc8UrgRdbCxNhmYXgP3w==", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/unist": "^3.0.0", + "unist-util-is": "^6.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "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/update-browserslist-db": { + "version": "1.3.4", + "resolved": "https://registry.npmjs.org/update-browserslist-db/-/update-browserslist-db-1.3.4.tgz", + "integrity": "sha512-t8wonIOdQyOjtPd2VktlBu6QjTVTks6v8bSi7kd0r2Vll8TK1JYDZtRRdbmCHOAMphkZgrzK+L+vXK4pyZ8t4A==", + "dev": true, + "funding": [ + { + "type": "opencollective", + "url": "https://opencollective.com/browserslist" + }, + { + "type": "tidelift", + "url": "https://tidelift.com/funding/github/npm/browserslist" + }, + { + "type": "github", + "url": "https://github.com/sponsors/ai" + } + ], + "license": "MIT", + "dependencies": { + "escalade": "^3.2.0", + "picocolors": "^1.1.1" + }, + "bin": { + "update-browserslist-db": "cli.js" + }, + "peerDependencies": { + "browserslist": ">= 4.21.0" + } + }, + "node_modules/uri-js": { + "version": "4.4.1", + "resolved": "https://registry.npmjs.org/uri-js/-/uri-js-4.4.1.tgz", + "integrity": "sha512-7rKUyy33Q1yc98pQ1DAmLtwX109F7TIfWlW1Ydo8Wl1ii1SeHieeh0HHfPeL2fMXK6z0s8ecKs9frCuLJvndBg==", + "dev": true, + "license": "BSD-2-Clause", + "dependencies": { + "punycode": "^2.1.0" + } + }, + "node_modules/use-callback-ref": { + "version": "1.3.3", + "resolved": "https://registry.npmjs.org/use-callback-ref/-/use-callback-ref-1.3.3.tgz", + "integrity": "sha512-jQL3lRnocaFtu3V00JToYz/4QkNWswxijDaCVNZRiRTO3HQDLsdu1ZtmIUvV4yPp+rvWm5j0y0TG/S61cuijTg==", + "dev": true, + "license": "MIT", + "dependencies": { + "tslib": "^2.0.0" + }, + "engines": { + "node": ">=10" + }, + "peerDependencies": { + "@types/react": "*", + "react": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0 || ^19.0.0-rc" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + } + } + }, + "node_modules/use-sidecar": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/use-sidecar/-/use-sidecar-1.1.3.tgz", + "integrity": "sha512-Fedw0aZvkhynoPYlA5WXrMCAMm+nSWdZt6lzJQ7Ok8S6Q+VsHmHpRWndVRJ8Be0ZbkfPc5LRYH+5XrzXcEeLRQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "detect-node-es": "^1.1.0", + "tslib": "^2.0.0" + }, + "engines": { + "node": ">=10" + }, + "peerDependencies": { + "@types/react": "*", + "react": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0 || ^19.0.0-rc" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + } + } + }, + "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/vfile": { + "version": "6.0.3", + "resolved": "https://registry.npmjs.org/vfile/-/vfile-6.0.3.tgz", + "integrity": "sha512-KzIbH/9tXat2u30jf+smMwFCsno4wHVdNmzFyL+T/L3UGqqk6JKfVqOFOZEpZSHADH1k40ab6NUIXZq422ov3Q==", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/unist": "^3.0.0", + "vfile-message": "^4.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/vfile-location": { + "version": "5.0.3", + "resolved": "https://registry.npmjs.org/vfile-location/-/vfile-location-5.0.3.tgz", + "integrity": "sha512-5yXvWDEgqeiYiBe1lbxYF7UMAIm/IcopxMHrMQDq3nvKcjPKIhZklUKL+AE7J7uApI4kwe2snsK+eI6UTj9EHg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/unist": "^3.0.0", + "vfile": "^6.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/vfile-message": { + "version": "4.0.3", + "resolved": "https://registry.npmjs.org/vfile-message/-/vfile-message-4.0.3.tgz", + "integrity": "sha512-QTHzsGd1EhbZs4AsQ20JX1rC3cOlt/IWJruk893DfLRr57lcnOeMaWG4K0JrRta4mIJZKth2Au3mM3u03/JWKw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/unist": "^3.0.0", + "unist-util-stringify-position": "^4.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/vite": { + "version": "8.3.5", + "resolved": "https://registry.npmjs.org/vite/-/vite-8.3.5.tgz", + "integrity": "sha512-z1YpjieJ9g0ebTmQpLBv/oq9E3F9EIlOe+7LahW8SrE3LTiG3udBRUXQOlYXP9b+IC2q2phHeVxj9xGlw34OEQ==", + "dev": true, + "license": "MIT", + "peer": true, + "dependencies": { + "lightningcss": "^1.33.0", + "picomatch": "^4.0.7", + "postcss": "^8.5.30", + "rolldown": "~1.2.14", + "tinyglobby": "^0.2.17" + }, + "bin": { + "vite": "bin/vite.js" + }, + "engines": { + "node": "^20.19.0 || >=22.12.0" + }, + "funding": { + "url": "https://github.com/vitejs/vite?sponsor=1" + }, + "optionalDependencies": { + "fsevents": "~2.3.3" + }, + "peerDependencies": { + "@types/node": "^20.19.0 || >=22.12.0", + "@vitejs/devtools": "^0.7.1 || ^0.8.0", + "esbuild": "^0.27.0 || ^0.28.0", + "jiti": ">=1.21.0", + "less": "^4.0.0", + "sass": "^1.70.0", + "sass-embedded": "^1.70.0", + "stylus": ">=0.54.8", + "sugarss": "^5.0.0", + "terser": "^5.16.0", + "tsx": "^4.8.1", + "yaml": "^2.4.2" + }, + "peerDependenciesMeta": { + "@types/node": { + "optional": true + }, + "@vitejs/devtools": { + "optional": true + }, + "esbuild": { + "optional": true + }, + "jiti": { + "optional": true + }, + "less": { + "optional": true + }, + "sass": { + "optional": true + }, + "sass-embedded": { + "optional": true + }, + "stylus": { + "optional": true + }, + "sugarss": { + "optional": true + }, + "terser": { + "optional": true + }, + "tsx": { + "optional": true + }, + "yaml": { + "optional": true + } + } + }, + "node_modules/vitest": { + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/vitest/-/vitest-5.1.0.tgz", + "integrity": "sha512-MzmNFnrwa8v8lF1bLxw3UJ4EREwVOVb75VqJZmUDRjJ6EluK/x9th7qTbaeDk41WxE1GxWqmTXcdsfobfH5sOA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/chai": "^5.2.2", + "@vitest/mocker": "5.1.0", + "chai": "^6.3.0", + "es-module-lexer": "^2.3.2", + "expect-type": "^1.4.0", + "magic-string": "^1.4.3", + "obug": "^3.0.0", + "picomatch": "^4.0.7", + "std-env": "^4.3.0", + "tinybench": "^6.2.2", + "tinyexec": "^1.3.1", + "tinyglobby": "^0.2.17", + "why-is-node-running": "3.2.1" + }, + "bin": { + "vitest": "vitest.mjs" + }, + "engines": { + "node": "^22.12.0 || ^24.0.0 || >=26.0.0" + }, + "funding": { + "url": "https://opencollective.com/vitest" + }, + "peerDependencies": { + "@edge-runtime/vm": "*", + "@opentelemetry/api": "^1.9.0", + "@types/node": "^22.0.0 || >=24.0.0", + "@vitest/browser-playwright": "5.1.0", + "@vitest/browser-preview": "5.1.0", + "@vitest/browser-webdriverio": "^5.0.0-beta.5 || >=5.0.0", + "@vitest/coverage-istanbul": "5.1.0", + "@vitest/coverage-v8": "5.1.0", + "@vitest/ui": "5.1.0", + "happy-dom": "*", + "jsdom": "*", + "vite": "^6.4.0 || ^7.0.0 || ^8.0.0" + }, + "peerDependenciesMeta": { + "@edge-runtime/vm": { + "optional": true + }, + "@opentelemetry/api": { + "optional": true + }, + "@types/node": { + "optional": true + }, + "@vitest/browser-playwright": { + "optional": true + }, + "@vitest/browser-preview": { + "optional": true + }, + "@vitest/browser-webdriverio": { + "optional": true + }, + "@vitest/coverage-istanbul": { + "optional": true + }, + "@vitest/coverage-v8": { + "optional": true + }, + "@vitest/ui": { + "optional": true + }, + "happy-dom": { + "optional": true + }, + "jsdom": { + "optional": true + }, + "vite": { + "optional": false + } + } + }, + "node_modules/web-namespaces": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/web-namespaces/-/web-namespaces-2.0.1.tgz", + "integrity": "sha512-bKr1DkiNa2krS7qxNtdrtHAmzuYGFQLiQ13TsorsdT6ULTkPLKuu5+GsFpDlg6JFjUTwX2DyhMPG2be8uPrqsQ==", + "dev": true, + "license": "MIT", + "funding": { + "type": "github", + "url": "https://github.com/sponsors/wooorm" + } + }, + "node_modules/which": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", + "integrity": "sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==", + "dev": true, + "license": "ISC", + "dependencies": { + "isexe": "^2.0.0" + }, + "bin": { + "node-which": "bin/node-which" + }, + "engines": { + "node": ">= 8" + } + }, + "node_modules/which-boxed-primitive": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/which-boxed-primitive/-/which-boxed-primitive-1.1.1.tgz", + "integrity": "sha512-TbX3mj8n0odCBFVlY8AxkqcHASw3L60jIuF8jFP78az3C2YhmGvqbHBpAjTRH2/xqYunrJ9g1jSyjCjpoWzIAA==", + "dev": true, + "license": "MIT", + "dependencies": { + "is-bigint": "^1.1.0", + "is-boolean-object": "^1.2.1", + "is-number-object": "^1.1.1", + "is-string": "^1.1.1", + "is-symbol": "^1.1.1" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/which-builtin-type": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/which-builtin-type/-/which-builtin-type-1.2.1.tgz", + "integrity": "sha512-6iBczoX+kDQ7a3+YJBnh3T+KZRxM/iYNPXicqk66/Qfm1b93iu+yOImkg0zHbj5LNOcNv1TEADiZ0xa34B4q6Q==", + "dev": true, + "license": "MIT", + "dependencies": { + "call-bound": "^1.0.2", + "function.prototype.name": "^1.1.6", + "has-tostringtag": "^1.0.2", + "is-async-function": "^2.0.0", + "is-date-object": "^1.1.0", + "is-finalizationregistry": "^1.1.0", + "is-generator-function": "^1.0.10", + "is-regex": "^1.2.1", + "is-weakref": "^1.0.2", + "isarray": "^2.0.5", + "which-boxed-primitive": "^1.1.0", + "which-collection": "^1.0.2", + "which-typed-array": "^1.1.16" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/which-collection": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/which-collection/-/which-collection-1.0.2.tgz", + "integrity": "sha512-K4jVyjnBdgvc86Y6BkaLZEN933SwYOuBFkdmBu9ZfkcAbdVbpITnDmjvZ/aQjRXQrv5EPkTnD1s39GiiqbngCw==", + "dev": true, + "license": "MIT", + "dependencies": { + "is-map": "^2.0.3", + "is-set": "^2.0.3", + "is-weakmap": "^2.0.2", + "is-weakset": "^2.0.3" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/which-typed-array": { + "version": "1.1.24", + "resolved": "https://registry.npmjs.org/which-typed-array/-/which-typed-array-1.1.24.tgz", + "integrity": "sha512-wk4Mf4pR5mRP7eYuuTBCIQ9d0ud2Fv2jRLQpfgnRjbOxAFHmjKFValgTpitVKzJJS8ajnYQV2Du1SZ8j6b/EUQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "available-typed-arrays": "^1.0.7", + "call-bind": "^1.0.9", + "call-bound": "^1.0.4", + "for-each": "^0.3.5", + "get-proto": "^1.0.1", + "gopd": "^1.2.0", + "has-tostringtag": "^1.0.2" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/why-is-node-running": { + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/why-is-node-running/-/why-is-node-running-3.2.1.tgz", + "integrity": "sha512-Tb2FUhB4vUsGQlfSquQLYkApkuPAFQXGFzxWKHHumVz2dK+X1RUm/HnID4+TfIGYJ1kTcwOaCk/buYCEJr6YjQ==", + "dev": true, + "license": "MIT", + "bin": { + "why-is-node-running": "cli.js" + }, + "engines": { + "node": ">=20.11" + } + }, + "node_modules/word-wrap": { + "version": "1.2.5", + "resolved": "https://registry.npmjs.org/word-wrap/-/word-wrap-1.2.5.tgz", + "integrity": "sha512-BN22B5eaMMI9UMtjrGd5g5eCYPpCPDUy0FJXbYsaT5zYxjFOckS53SQDE3pWkVoWpHXVb3BrYcEN4Twa55B5cA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "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/wsl-utils": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/wsl-utils/-/wsl-utils-1.0.1.tgz", + "integrity": "sha512-c16PKLIRxBYpR3jSWsdS7SFp0COm5SOQdiFjY818dYFHJbMGuLBszpF07LBWmOS1uzrHa9VGdynsEgoeKy0oOQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "is-wsl": "^3.1.0", + "powershell-utils": "^0.2.0" + }, + "engines": { + "node": ">=20" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/xtend": { + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/xtend/-/xtend-4.0.2.tgz", + "integrity": "sha512-LKYU1iAXJXUgAXn9URjiu+MWhyUXHsvfp7mcuYm9dSUKK0/CjtrUwFAxD82/mCWbtLsGjFIad0wIsod4zrTAEQ==", + "license": "MIT", + "engines": { + "node": ">=0.4" + } + }, + "node_modules/yallist": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/yallist/-/yallist-3.1.1.tgz", + "integrity": "sha512-a4UGQaWPH59mOXUYnAG2ewncQS4i4F43Tv3JoAM+s2VDAmS9NsK8GpDMLrCHPksFT7h3K6TOoUNn2pb7RoXx4g==", + "dev": true, + "license": "ISC" + }, + "node_modules/yocto-queue": { + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/yocto-queue/-/yocto-queue-0.1.0.tgz", + "integrity": "sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/zod": { + "version": "4.6.7", + "resolved": "https://registry.npmjs.org/zod/-/zod-4.6.7.tgz", + "integrity": "sha512-g8W2D2kU6a8untc053fX1uVBKzM7yqAxW/3zwk83+6RyF2+SKOuV+c0wBDhUwzV1PaGapmZH+rmcUzPf+3CGwg==", + "license": "MIT", + "funding": { + "url": "https://github.com/sponsors/colinhacks" + } + }, + "node_modules/zod-validation-error": { + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/zod-validation-error/-/zod-validation-error-4.0.2.tgz", + "integrity": "sha512-Q6/nZLe6jxuU80qb/4uJ4t5v2VEZ44lzQjPDhYJNztRQ4wyWc6VF3D3Kb/fAuPetZQnhS3hnajCf9CsWesghLQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=18.0.0" + }, + "peerDependencies": { + "zod": "^3.25.0 || ^4.0.0" + } + }, + "node_modules/zwitch": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/zwitch/-/zwitch-2.0.4.tgz", + "integrity": "sha512-bXE4cR/kVZhKZX/RjPEflHaKVhUVl85noU3v6b8apfQEc1x4A+zBxjZ4lN8LqGd6WZ3dl98pY4o717VFmoPp+A==", + "dev": true, + "license": "MIT", + "funding": { + "type": "github", + "url": "https://github.com/sponsors/wooorm" + } + } + } +} diff --git a/template/package.json b/template/package.json new file mode 100644 index 0000000..e97615c --- /dev/null +++ b/template/package.json @@ -0,0 +1,108 @@ +{ + "name": "@agentage/extension-template", + "version": "0.1.0", + "description": "An agentage extension: start from this repo with agentage extension create", + "type": "module", + "license": "MIT", + "repository": { + "type": "git", + "url": "git+https://github.com/agentage/extension-template.git" + }, + "homepage": "https://agentage.io", + "bugs": { + "url": "https://github.com/agentage/extension-template/issues" + }, + "publishConfig": { + "access": "public" + }, + "engines": { + "node": ">=22", + "agentage": "^0.4 || ^0.5" + }, + "agentage": { + "id": "template", + "parts": { + "pages": true, + "ui": true, + "api": true, + "mcp": true, + "worker": true, + "cli": true, + "store": "postgres" + }, + "commands": [ + { + "name": "ping", + "summary": "answer pong", + "args": [ + { + "name": "msg", + "type": "string", + "required": false + } + ] + } + ], + "settings": {}, + "secrets": [] + }, + "exports": { + "./agentage-extension.json": "./dist/agentage-extension.json", + "./package.json": "./package.json" + }, + "files": [ + "dist", + "migrations", + "!dist/**/*.test.*" + ], + "scripts": { + "build": "tsc -p tsconfig.build.json && (test ! -d src/ui || agentage-widget bundle)", + "type-check": "tsc --noEmit -p tsconfig.eslint.json", + "lint": "eslint .", + "format": "prettier --write .", + "format:check": "prettier --check .", + "test": "vitest run", + "test:coverage": "vitest run --coverage", + "test:e2e": "playwright test --pass-with-no-tests", + "verify": "npm run type-check && npm run lint && npm run format:check && npm run test:coverage && npm run build", + "prepublishOnly": "npm run verify" + }, + "dependencies": { + "@agentage/extension": "^0.4.3", + "express": "^5.1.0", + "zod": "^4.2.0" + }, + "devDependencies": { + "@agentage/cli": "0.42.1", + "@agentage/widget": "^0.1.1", + "@axe-core/playwright": "4.14.0", + "@electric-sql/pglite": "0.5.15", + "@playwright/test": "1.64.1", + "@types/express": "5.0.6", + "@types/node": "26.6.6", + "@types/react": "19.3.0", + "@typescript-eslint/eslint-plugin": "8.72.1", + "@typescript-eslint/parser": "8.72.1", + "@vitest/coverage-v8": "5.1.0", + "eslint": "10.14.0", + "eslint-config-prettier": "10.1.8", + "eslint-plugin-jsx-a11y": "6.10.2", + "eslint-plugin-playwright": "2.12.2", + "eslint-plugin-prettier": "5.5.7", + "eslint-plugin-react-hooks": "7.1.1", + "prettier": "3.9.10", + "react": "19.3.1", + "react-dom": "19.3.1", + "typescript": "6.0.3", + "vitest": "5.1.0" + }, + "keywords": [ + "agentage", + "agentage-extension" + ], + "overrides": { + "eslint-plugin-jsx-a11y": { + "eslint": "$eslint" + } + } +} diff --git a/template/playwright.config.ts b/template/playwright.config.ts new file mode 100644 index 0000000..36b2898 --- /dev/null +++ b/template/playwright.config.ts @@ -0,0 +1,17 @@ +import { defineConfig } from '@playwright/test'; + +// Against `agentage extension up` (the release images behind the local gateway); E2E_BASE_URL elsewhere. +export default defineConfig({ + testDir: 'src', + testMatch: '**/*.spec.ts', + forbidOnly: !!process.env.CI, + // A retry only records the trace: a test that passes on it still fails the run. + retries: process.env.CI ? 1 : 0, + failOnFlakyTests: !!process.env.CI, + reporter: [['list']], + use: { + trace: 'on-first-retry', + baseURL: process.env.E2E_BASE_URL ?? 'http://localhost:4280', + extraHTTPHeaders: { 'x-client-type': 'test' }, + }, +}); diff --git a/template/scripts/image-smoke.sh b/template/scripts/image-smoke.sh new file mode 100755 index 0000000..f8b05cc --- /dev/null +++ b/template/scripts/image-smoke.sh @@ -0,0 +1,26 @@ +#!/usr/bin/env bash +# After `agentage extension up`: every part image carries this commit and its /health on loopback +# answers ok with the part's own checks. Usage: scripts/image-smoke.sh +# The compose file up rendered names its project (one per working copy), so no -p here. +set -euo pipefail + +commit="${1:?usage: scripts/image-smoke.sh }" +id=$(jq -r .agentage.id package.json) +version=$(jq -r .version package.json) +health_js="fetch('http://127.0.0.1:3000/health').then(async (r) => { process.stdout.write(await r.text()); })" +fail=0 +for part in $(jq -r '.agentage.parts | to_entries[] | select(.value != false) | .key' package.json); do + case "$part" in pages | ui | api | mcp | worker) ;; *) continue ;; esac + image="ghcr.io/agentage/$id-$part:$version" + label=$(docker inspect -f '{{index .Config.Labels "org.opencontainers.image.revision"}}' "$image") + health=$(docker compose -f .agentage/compose.json exec -T "$part" node -e "$health_js") + status=$(jq -r .data.status <<<"$health") + checks=$(jq -c .data.checks <<<"$health") + if [ "$label" = "$commit" ] && [ "$(jq -r .data.commit <<<"$health")" = "$commit" ] && [ "$status" = ok ] && [ "$(jq -r .data.part <<<"$health")" = "$part" ]; then + echo "PASS $part commit ${commit:0:12} $status $checks" + else + echo "FAIL $part label ${label:0:12} health $health" + fail=1 + fi +done +exit "$fail" diff --git a/template/scripts/release-guard.sh b/template/scripts/release-guard.sh new file mode 100755 index 0000000..9aa426e --- /dev/null +++ b/template/scripts/release-guard.sh @@ -0,0 +1,60 @@ +#!/usr/bin/env bash +# A released version is never rebuilt: its images and record stay as first pushed. +# Usage: scripts/release-guard.sh . Prints `reuse` (the released record is now in +# dist/, only npm may still be missing) or `build`; exits 1 when the version cannot be released +# or when GitHub or the registry cannot say whether it was (each call is bounded by GUARD_TIMEOUT s). +set -euo pipefail + +tag="${1:?usage: scripts/release-guard.sh }" +commit="${2:?usage: scripts/release-guard.sh }" +record=dist/agentage-extension.json +id=$(jq -r .agentage.id package.json) +version="${tag#v}" +err=$(mktemp) +trap 'rm -f "$err"' EXIT +limit="${GUARD_TIMEOUT:-60}" +if ! command -v timeout >/dev/null; then + echo "release-guard: timeout (GNU coreutils) is not on PATH; it bounds every GitHub and registry call" >&2 + exit 1 +fi + +# Each call is bounded (SIGKILL 5 s after SIGTERM); a timeout reads as "cannot tell". +bounded() { + local rc=0 + timeout -k 5 "$limit" "$@" 2>"$err" || rc=$? + if [ "$rc" = 124 ] || [ "$rc" = 137 ]; then echo "timed out after $limit s" >>"$err"; fi + return "$rc" +} + +# Only "not found" means "not released"; any other failure stops the release, never rebuilds it. +not_found() { + if grep -qE "$1" "$err"; then return 0; fi + echo "release-guard: cannot tell whether $2 exists:" >&2 + cat "$err" >&2 + exit 1 +} + +if json=$(bounded gh release download "$tag" -p agentage-extension.json -O -); then + released=$(jq -r .commit <<<"$json") + if [ "$released" != "$commit" ]; then + echo "release-guard: $tag was released from $released, not $commit; a version's images never change: release a new version" >&2 + exit 1 + fi + mkdir -p dist + printf '%s\n' "$json" >"$record" + echo reuse + exit 0 +fi +not_found 'release not found|no assets match|no assets to download' "the $tag release record" + +for part in $(jq -r '.agentage.parts | to_entries[] | select(.value != false) | .key' package.json); do + case "$part" in pages | ui | api | mcp | worker) ;; *) continue ;; esac + image="ghcr.io/agentage/$id-$part:$version" + if bounded docker manifest inspect "$image" >/dev/null; then + echo "release-guard: $image is already pushed but $tag has no record; release a new version" >&2 + exit 1 + fi + # denied too: GHCR may answer it for a package that does not exist yet (a new part). + not_found 'manifest unknown|no such manifest|denied' "$image" +done +echo build diff --git a/template/scripts/release-guard.test.ts b/template/scripts/release-guard.test.ts new file mode 100644 index 0000000..fc97199 --- /dev/null +++ b/template/scripts/release-guard.test.ts @@ -0,0 +1,169 @@ +import { execFileSync, spawnSync } from 'node:child_process'; +import { + chmodSync, + mkdtempSync, + mkdirSync, + readFileSync, + symlinkSync, + writeFileSync, +} from 'node:fs'; +import { tmpdir } from 'node:os'; +import { join } from 'node:path'; +import { describe, expect, it } from 'vitest'; + +const GUARD = new URL('./release-guard.sh', import.meta.url).pathname; +const SHA = 'a'.repeat(40); +const { id } = ( + JSON.parse(readFileSync(new URL('../package.json', import.meta.url), 'utf8')) as { + agentage: { id: string }; + } +).agentage; +const RECORD = { id, version: '0.1.0', commit: SHA, parts: {} }; +const API = `ghcr.io/agentage/${id}-api:0.1.0`; +const PAGES = `ghcr.io/agentage/${id}-pages:0.1.0`; // the first image part the guard asks about + +// gh and docker answer as the real ones do (messages checked against both); FAKE_*_ERROR overrides. +const SHIMS = { + gh: [ + '[ -n "$FAKE_GH_SLEEP" ] && sleep "$FAKE_GH_SLEEP"', + '[ -n "$FAKE_GH_ERROR" ] && { echo "$FAKE_GH_ERROR" >&2; exit 1; }', + '[ -f "$FAKE_RECORD" ] && { cat "$FAKE_RECORD"; exit 0; }', + 'echo "release not found" >&2; exit 1', + ], + docker: [ + '[ -n "$FAKE_DOCKER_SLEEP" ] && sleep "$FAKE_DOCKER_SLEEP"', + '[ -n "$FAKE_DOCKER_ERROR" ] && { echo "$FAKE_DOCKER_ERROR" >&2; exit 1; }', + 'case " $FAKE_IMAGES " in *" $3 "*) exit 0 ;; esac', + 'echo "manifest unknown" >&2; exit 1', + ], +}; + +// Only the tools the guard needs, timeout left out: how it runs on a machine without coreutils. +const pathWithoutTimeout = (dir: string): string => { + const tools = join(dir, 'tools'); + mkdirSync(tools); + for (const tool of ['bash', 'jq', 'mktemp', 'grep', 'cat', 'rm', 'mkdir']) { + const found = execFileSync('bash', ['-c', `command -v ${tool}`], { encoding: 'utf8' }).trim(); + symlinkSync(found, join(tools, tool)); + } + return `${join(dir, 'bin')}:${tools}`; +}; + +interface Released { + record?: object; + images?: string[]; + ghError?: string; + dockerError?: string; + ghSleep?: string; + dockerSleep?: string; + noTimeout?: boolean; +} + +const guard = (released: Released, args = ['v0.1.0', SHA]) => { + const dir = mkdtempSync(join(tmpdir(), 'release-guard-')); + mkdirSync(join(dir, 'bin')); + for (const [name, lines] of Object.entries(SHIMS)) { + writeFileSync(join(dir, 'bin', name), `#!/bin/sh\n${lines.join('\n')}\n`); + chmodSync(join(dir, 'bin', name), 0o755); + } + const parts = { + pages: true, + ui: true, + api: true, + mcp: true, + worker: true, + cli: true, + store: 'postgres', + }; + writeFileSync(join(dir, 'package.json'), JSON.stringify({ agentage: { id, parts } })); + const { record, images = [] } = released; + if (record) writeFileSync(join(dir, 'released.json'), `${JSON.stringify(record, null, 2)}\n`); + const env = { + ...process.env, + PATH: released.noTimeout + ? pathWithoutTimeout(dir) + : `${join(dir, 'bin')}:${process.env['PATH'] ?? ''}`, + FAKE_RECORD: join(dir, 'released.json'), + FAKE_IMAGES: images.join(' '), + FAKE_GH_ERROR: released.ghError ?? '', + FAKE_DOCKER_ERROR: released.dockerError ?? '', + FAKE_GH_SLEEP: released.ghSleep ?? '', + FAKE_DOCKER_SLEEP: released.dockerSleep ?? '', + GUARD_TIMEOUT: '1', + }; + const bash = released.noTimeout ? join(dir, 'tools', 'bash') : 'bash'; + const run = spawnSync(bash, [GUARD, ...args], { cwd: dir, env, encoding: 'utf8' }); + return { dir, code: run.status, out: run.stdout.trim(), err: run.stderr.trim() }; +}; + +describe('release guard', () => { + it('builds a version with no release and no image', () => { + expect(guard({})).toMatchObject({ code: 0, out: 'build', err: '' }); + }); + + it('builds when the release exists with no record yet (a fresh tag)', () => { + expect(guard({ ghError: 'no assets to download' })).toMatchObject({ code: 0, out: 'build' }); + }); + + it('builds the first image of a part when the registry denies a package it has never seen', () => { + expect( + guard({ dockerError: 'Get "https://ghcr.io/v2/x/manifests/0.1.0": denied' }) + ).toMatchObject({ code: 0, out: 'build' }); + }); + + it('reuses the released record on a re-run of the same commit', () => { + const run = guard({ record: RECORD, images: [API] }); + expect(run).toMatchObject({ code: 0, out: 'reuse' }); + const kept = readFileSync(join(run.dir, 'dist', 'agentage-extension.json'), 'utf8'); + expect(kept).toBe(`${JSON.stringify(RECORD, null, 2)}\n`); + }); + + it('refuses a tag moved to another commit', () => { + const run = guard({ record: RECORD }, ['v0.1.0', 'b'.repeat(40)]); + expect(run.code).toBe(1); + expect(run.err).toContain(`v0.1.0 was released from ${SHA}`); + }); + + it('refuses an image already pushed without a record, whichever part it is', () => { + for (const image of [API, `ghcr.io/agentage/${id}-worker:0.1.0`]) { + const run = guard({ images: [image] }); + expect(run).toMatchObject({ code: 1, out: '' }); + expect(run.err).toBe( + `release-guard: ${image} is already pushed but v0.1.0 has no record; release a new version` + ); + } + }); + + it('stops when GitHub or the registry cannot answer, instead of rebuilding', () => { + const gh = guard({ ghError: 'HTTP 401: Bad credentials' }); + expect(gh).toMatchObject({ code: 1, out: '' }); + expect(gh.err).toContain('cannot tell whether the v0.1.0 release record exists'); + expect(gh.err).toContain('HTTP 401: Bad credentials'); + const registry = guard({ dockerError: 'received unexpected HTTP status: 503' }); + expect(registry).toMatchObject({ code: 1, out: '' }); + expect(registry.err).toContain(`cannot tell whether ${PAGES} exists`); + }); + + it('stops on a GitHub or registry call that hangs, naming the timeout', () => { + const gh = guard({ ghSleep: '5' }); + expect(gh).toMatchObject({ code: 1, out: '' }); + expect(gh.err).toContain('cannot tell whether the v0.1.0 release record exists'); + expect(gh.err).toContain('timed out after 1 s'); + const registry = guard({ dockerSleep: '5' }); + expect(registry).toMatchObject({ code: 1, out: '' }); + expect(registry.err).toContain(`cannot tell whether ${PAGES} exists`); + expect(registry.err).toContain('timed out after 1 s'); + }); + + it('refuses to run where timeout is missing, rather than call GitHub unbounded', () => { + const run = guard({ noTimeout: true }); + expect(run).toMatchObject({ code: 1, out: '' }); + expect(run.err).toContain('timeout (GNU coreutils) is not on PATH'); + }); + + it('says how to call it', () => { + const run = guard({}, ['v0.1.0']); + expect(run).toMatchObject({ code: 1, out: '' }); + expect(run.err).toContain('usage: scripts/release-guard.sh '); + }); +}); diff --git a/template/seeds/001-ping.sql b/template/seeds/001-ping.sql new file mode 100644 index 0000000..2ff6ae3 --- /dev/null +++ b/template/seeds/001-ping.sql @@ -0,0 +1,2 @@ +-- Applied once, only on an empty store. +insert into pings default values; diff --git a/template/src/api/echo.schema.ts b/template/src/api/echo.schema.ts new file mode 100644 index 0000000..8623589 --- /dev/null +++ b/template/src/api/echo.schema.ts @@ -0,0 +1,7 @@ +import { z } from 'zod'; + +export const EchoSchema = z.object({ + msg: z.string().min(1).max(200), +}); + +export type Echo = z.infer; diff --git a/template/src/api/index.test.ts b/template/src/api/index.test.ts new file mode 100644 index 0000000..51bd7cb --- /dev/null +++ b/template/src/api/index.test.ts @@ -0,0 +1,100 @@ +import type fs from 'node:fs'; +import { readFileSync } from 'node:fs'; +import { + createTestContext, + ErrorEnvelopeSchema, + startTestServer, + type PartContext, + type Store, +} from '@agentage/extension'; +import { afterAll, beforeAll, describe, expect, it, vi } from 'vitest'; +import { create } from './index.js'; + +const UUID_V7 = /^[0-9a-f]{8}-[0-9a-f]{4}-7[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$/; +const { agentage } = JSON.parse( + readFileSync(new URL('../../package.json', import.meta.url), 'utf8') +) as { agentage: { parts: { store?: string } } }; +const store = Boolean(agentage.parts.store); + +const ctx = createTestContext({ store }); +let server: Awaited>; +// The store boots (WASM, migrations, seed) on first use: here, not inside a test's 5 s. +beforeAll(async () => { + if (store) await ctx.store.query('select 1'); + server = await startTestServer({ create, ctx }); +}, 30_000); +afterAll(async () => { + await server.close(); + await ctx.close(); +}); + +describe('GET /api/v1/echo', () => { + it('echoes msg and names the caller in the envelope, with an agcid', async () => { + const res = await server.fetch('/api/v1/echo?msg=hi'); + expect(res.status).toBe(200); + expect(await res.text()).toBe('{"success":true,"data":{"msg":"hi","caller":"usr_test"}}'); + expect(res.headers.get('agcid')).toMatch(UUID_V7); + }); + + it('keeps the caller agcid', async () => { + const res = await server.fetch('/api/v1/echo?msg=hi', { headers: { agcid: 'echo-test-1' } }); + expect(res.headers.get('agcid')).toBe('echo-test-1'); + }); + + it('answers VALIDATION_ERROR without msg', async () => { + const res = await server.fetch('/api/v1/echo', { headers: { agcid: 'echo-test-2' } }); + expect(res.status).toBe(400); + expect(ErrorEnvelopeSchema.parse(await res.json())).toEqual({ + success: false, + error: { + code: 'VALIDATION_ERROR', + message: 'Invalid query', + agcid: 'echo-test-2', + details: [{ field: 'msg', message: expect.any(String) }], + }, + }); + }); + + it('takes 200 characters, refuses an empty, repeated or oversized msg', async () => { + expect((await server.fetch(`/api/v1/echo?msg=${'x'.repeat(200)}`)).status).toBe(200); + for (const query of ['msg=', 'msg=a&msg=b', `msg=${'x'.repeat(201)}`]) { + const res = await server.fetch(`/api/v1/echo?${query}`); + expect(res.status, query).toBe(400); + } + }); +}); + +// The api reads parts.store from package.json at import: each manifest gets a fresh module. +const ping = async (parts: object, ctx: PartContext = createTestContext()) => { + vi.resetModules(); + vi.doMock('node:fs', async (real) => ({ + ...(await real()), + readFileSync: () => JSON.stringify({ agentage: { parts } }), + })); + const api = await import('./index.js'); + vi.doUnmock('node:fs'); + const one = await startTestServer({ create: api.create, ctx }); + const body: unknown = await (await one.fetch('/api/v1/ping')).json(); + await one.close(); + return body; +}; + +describe('GET /api/v1/ping', () => { + it('counts the rows of pings when the manifest keeps the store', async () => { + const counted = { + ...createTestContext(), + store: { query: async () => ({ rows: [{ n: 3 }] }) } as Store, + }; + const body = await ping({ store: 'postgres' }, counted); + expect(body).toEqual({ success: true, data: { msg: 'pong', pings: 3 } }); + }); + + it('answers pings null and never queries without a store', async () => { + expect(await ping({})).toEqual({ success: true, data: { msg: 'pong', pings: null } }); + }); + + it.runIf(store)('counts the seeded row: the migration and the seed ran', async () => { + const res = await server.fetch('/api/v1/ping'); + expect(await res.json()).toEqual({ success: true, data: { msg: 'pong', pings: 1 } }); + }); +}); diff --git a/template/src/api/index.ts b/template/src/api/index.ts new file mode 100644 index 0000000..acf4f8e --- /dev/null +++ b/template/src/api/index.ts @@ -0,0 +1,28 @@ +import { readFileSync } from 'node:fs'; +import { Router } from 'express'; +import { ok, parse, type PartContext } from '@agentage/extension'; +import { EchoSchema } from './echo.schema.js'; + +// package.json ships in every image; without parts.store the ping route never queries. +const { agentage } = JSON.parse( + readFileSync(new URL('../../package.json', import.meta.url), 'utf8') +) as { agentage: { parts: { store?: string } } }; + +const pings = async ({ store }: PartContext): Promise => { + const { rows } = await store.query<{ n: number }>('select count(*)::int as n from pings'); + const [count] = rows as [{ n: number }]; // count(*) answers one row + return count.n; +}; + +// The kit mounts this router at /api/v1/; openapi.json is its contract. +export const create = (ctx: PartContext): Router => { + const router = Router(); + router.get('/echo', (req, res) => { + const { msg } = parse(EchoSchema, req.query, 'Invalid query'); + res.json(ok({ msg, caller: ctx.auth.caller(req)?.sub })); + }); + router.get('/ping', async (_req, res) => { + res.json(ok({ msg: 'pong', pings: agentage.parts.store ? await pings(ctx) : null })); + }); + return router; +}; diff --git a/template/src/api/openapi.test.ts b/template/src/api/openapi.test.ts new file mode 100644 index 0000000..14ada42 --- /dev/null +++ b/template/src/api/openapi.test.ts @@ -0,0 +1,97 @@ +import { readFileSync, writeFileSync } from 'node:fs'; +import { createTestContext, ErrorEnvelopeSchema } from '@agentage/extension'; +import { describe, expect, it } from 'vitest'; +import { z } from 'zod'; +import { EchoSchema } from './echo.schema.js'; +import { create } from './index.js'; + +const FILE = new URL('../../openapi.json', import.meta.url); +const { version, agentage } = JSON.parse( + readFileSync(new URL('../../package.json', import.meta.url), 'utf8') +) as { version: string; agentage: { id: string } }; +const { id } = agentage; + +const json = (schema: z.ZodType): Record => { + const doc = { ...(z.toJSONSchema(schema, { io: 'input' }) as Record) }; + delete doc['$schema']; + return doc; +}; + +const parameters = (schema: z.ZodObject) => { + const { properties = {}, required = [] } = json(schema) as { + properties?: Record; + required?: string[]; + }; + return Object.entries(properties).map(([name, s]) => ({ + name, + in: 'query', + required: required.includes(name), + schema: s, + })); +}; + +const ok = (data: z.ZodType) => ({ + description: 'the envelope', + content: { + 'application/json': { + schema: json( + z.object({ + success: z.literal(true), + data, + meta: z.record(z.string(), z.unknown()).optional(), + }) + ), + }, + }, +}); + +const invalid = { + description: 'VALIDATION_ERROR', + content: { 'application/json': { schema: json(ErrorEnvelopeSchema) } }, +}; + +// The api's contract, generated from its Zod schemas; the kit serves the committed copy. +const generated = () => ({ + openapi: '3.1.0', + info: { title: id, version }, + // The only place a route names its scope; the kit asks for it before the route runs. + components: { securitySchemes: { pat: { type: 'http', scheme: 'bearer' } } }, + paths: { + '/api/v1/echo': { + get: { + operationId: 'echo', + security: [{ pat: [`${id}:read`] }], + parameters: parameters(EchoSchema), + responses: { '200': ok(z.object({ msg: z.string(), caller: z.string() })), '400': invalid }, + }, + }, + '/api/v1/ping': { + get: { + operationId: 'ping', + security: [], + responses: { '200': ok(z.object({ msg: z.string(), pings: z.int().nullable() })) }, + }, + }, + }, +}); + +describe('openapi.json', () => { + it('equals what the Zod schemas generate', () => { + if (process.env['UPDATE_SNAPSHOT']) + writeFileSync(FILE, `${JSON.stringify(generated(), null, 2)}\n`); + expect(JSON.parse(readFileSync(FILE, 'utf8'))).toEqual(generated()); + }); + + // A route outside openapi.json would have no declared access; no sub-routers. + it('documents every route the api part serves, and nothing else', () => { + const { stack } = create(createTestContext()); + expect(stack.filter((layer) => !layer.route).map((layer) => layer.name)).toEqual([]); + const served = stack.flatMap(({ route }) => + route ? route.stack.map(({ method }) => `${method} /api/v1${route.path}`) : [] + ); + const documented = Object.entries(generated().paths).flatMap(([path, ops]) => + Object.keys(ops).map((method) => `${method} ${path}`) + ); + expect(served.sort()).toEqual(documented.sort()); + }); +}); diff --git a/template/src/cli/index.test.ts b/template/src/cli/index.test.ts new file mode 100644 index 0000000..2b9157e --- /dev/null +++ b/template/src/cli/index.test.ts @@ -0,0 +1,17 @@ +import { createTestContext } from '@agentage/extension'; +import { describe, expect, it } from 'vitest'; +import { create } from './index.js'; + +describe('agentage ping', () => { + it('answers pong', async () => { + const ctx = createTestContext({ args: {} }); + expect(await create(ctx).ping()).toBe(0); + expect(ctx.output).toEqual({ stdout: ['pong'], stderr: [] }); + }); + + it('answers pong and the message', async () => { + const ctx = createTestContext({ args: { msg: 'hi' } }); + expect(await create(ctx).ping()).toBe(0); + expect(ctx.output).toEqual({ stdout: ['pong hi'], stderr: [] }); + }); +}); diff --git a/template/src/cli/index.ts b/template/src/cli/index.ts new file mode 100644 index 0000000..5d8d8ba --- /dev/null +++ b/template/src/cli/index.ts @@ -0,0 +1,12 @@ +import { type CliContext } from '@agentage/extension'; + +// One handler per command in agentage.commands: `agentage ping [msg]`. +export function create({ out, args }: CliContext) { + return { + ping: async () => { + const { msg } = args; + out.log(msg ? `pong ${msg}` : 'pong'); + return 0; + }, + }; +} diff --git a/template/src/manifest.test.ts b/template/src/manifest.test.ts new file mode 100644 index 0000000..5277a79 --- /dev/null +++ b/template/src/manifest.test.ts @@ -0,0 +1,63 @@ +import { existsSync, readdirSync, readFileSync } from 'node:fs'; +import { dirname, join, normalize } from 'node:path'; +import { imageParts, validateManifest } from '@agentage/extension'; +import { describe, expect, it } from 'vitest'; + +const SRC = new URL('.', import.meta.url); +const pkg = JSON.parse(readFileSync(new URL('../package.json', SRC), 'utf8')) as { + exports: Record; + agentage: { id: string }; +}; +const IMAGES = ['pages', 'ui', 'api', 'mcp', 'worker']; +const has = (path: string) => existsSync(new URL(path, SRC)); +const folders = IMAGES.filter((part) => has(part)); +// A variable specifier: the ui folder may have been dropped by create. +const UI = './ui/index.js'; + +const sources = (): [string, string][] => + readdirSync(SRC, { recursive: true, encoding: 'utf8' }) + .filter((file) => /\.tsx?$/.test(file) && !/\.(test|spec)\.ts$/.test(file)) + .map((file) => [file, readFileSync(new URL(file, SRC), 'utf8')]); + +const relativeImports = (text: string): string[] => + [...text.matchAll(/from '(\.[^']+)'/g)].map((match) => match[1] ?? ''); + +describe('the manifest', () => { + it('is valid and declares exactly the parts whose folders exist', () => { + const manifest = validateManifest(pkg); + expect(imageParts(manifest)).toEqual(folders); + const store = has('../migrations') ? { store: 'postgres' } : {}; + const cli = has('cli') ? { cli: true } : {}; + const parts = Object.fromEntries(folders.map((part) => [part, true])); + expect(manifest.agentage.parts).toEqual({ ...parts, ...cli, ...store }); + expect(manifest.agentage.commands?.map(({ name }) => name)).toEqual( + has('cli') ? ['ping'] : undefined + ); + }); + + it.runIf(has('ui'))('ui exports its widgets map', async () => { + expect(Object.keys((await import(UI)) as object)).toEqual(['widgets']); + }); + + it('commits a contract only beside its part', () => { + expect([has('../openapi.json'), has(`../${pkg.agentage.id}.mcpc.json`)]).toEqual([ + has('api'), + has('mcp'), + ]); + }); + + it('the package exports no part code', () => { + expect(Object.keys(pkg.exports)).toEqual(['./agentage-extension.json', './package.json']); + }); + + it('a part imports only its own folder and src/lib: each image carries just those', () => { + const crossing = sources().flatMap(([file, text]) => { + const part = file.split(/[\\/]/)[0] ?? ''; + return relativeImports(text) + .map((spec) => normalize(join(dirname(file), spec)).split(/[\\/]/)[0] ?? '') + .filter((target) => target !== part && target !== 'lib') + .map((target) => `${file} -> ${target}`); + }); + expect(crossing).toEqual([]); + }); +}); diff --git a/template/src/mcp/index.test.ts b/template/src/mcp/index.test.ts new file mode 100644 index 0000000..47fd858 --- /dev/null +++ b/template/src/mcp/index.test.ts @@ -0,0 +1,67 @@ +import { readFileSync, writeFileSync } from 'node:fs'; +import { + canonical, + createTestContext, + mcpSnapshot, + PROTOCOL_VERSIONS, + startTestMcp, +} from '@agentage/extension'; +import { afterAll, beforeAll, describe, expect, it } from 'vitest'; +import { create } from './index.js'; + +const { version, agentage } = JSON.parse( + readFileSync(new URL('../../package.json', import.meta.url), 'utf8') +) as { version: string; agentage: { id: string } }; +const { id } = agentage; +const SNAPSHOT = new URL(`../../${id}.mcpc.json`, import.meta.url); +const ctx = createTestContext({ extension: { id, version } }); +let server: Awaited>; +beforeAll(async () => { + server = await startTestMcp({ create, ctx }); +}); +afterAll(() => server.close()); + +// The contract: what each protocol version's client lists equals the committed snapshot. +describe(`${id}.mcpc.json`, () => { + for (const version of PROTOCOL_VERSIONS) { + it(`a ${version} client lists exactly the committed snapshot`, async () => { + const snapshot = await mcpSnapshot(`${server.url}/mcp`, version); + if (process.env['UPDATE_SNAPSHOT']) + writeFileSync(SNAPSHOT, `${JSON.stringify(snapshot, null, 2)}\n`); + expect(snapshot).toEqual(canonical(JSON.parse(readFileSync(SNAPSHOT, 'utf8')))); + }); + } +}); + +describe(`${id}__echo`, () => { + it(`needs ${id}:read: the scope it declares beside its schemas`, () => { + const recorded = createTestContext({ extension: { id } }); + create(recorded); + expect(recorded.tools.map(({ name, spec }) => [name, spec.scope])).toEqual([['echo', 'read']]); + }); + + it('answers pong and the message', async () => { + const res = await server.fetch('/mcp', { + method: 'POST', + headers: { + 'content-type': 'application/json', + accept: 'application/json, text/event-stream', + }, + body: JSON.stringify({ + jsonrpc: '2.0', + id: 1, + method: 'tools/call', + params: { name: `${id}__echo`, arguments: { msg: 'hi' } }, + }), + }); + const data = (await res.text()).split('\n').find((line) => line.startsWith('data:')) ?? ''; + expect(JSON.parse(data.slice(5))).toEqual({ + jsonrpc: '2.0', + id: 1, + result: { + content: [{ type: 'text', text: '{"msg":"pong hi"}' }], + structuredContent: { msg: 'pong hi' }, + }, + }); + }); +}); diff --git a/template/src/mcp/index.ts b/template/src/mcp/index.ts new file mode 100644 index 0000000..4bb16b1 --- /dev/null +++ b/template/src/mcp/index.ts @@ -0,0 +1,16 @@ +import { type McpContext } from '@agentage/extension'; +import { z } from 'zod'; + +// The kit serves this tool as {id}__echo on POST /mcp; scope read is {id}:read. +export function create(ctx: McpContext) { + ctx.tool( + 'echo', + { + description: 'Echo a message back', + scope: 'read', + input: z.object({ msg: z.string().min(1).max(200) }), + output: z.object({ msg: z.string() }), + }, + async ({ msg }) => ({ msg: `pong ${msg}` }) + ); +} diff --git a/template/src/pages/index.test.ts b/template/src/pages/index.test.ts new file mode 100644 index 0000000..2abb53e --- /dev/null +++ b/template/src/pages/index.test.ts @@ -0,0 +1,13 @@ +import { createTestContext } from '@agentage/extension'; +import { describe, expect, it } from 'vitest'; +import { create } from './index.js'; + +describe('pages', () => { + it('/ names the version and the commit that run', () => { + const commit = 'c'.repeat(40); + const ctx = createTestContext({ extension: { version: '0.2.0', commit } }); + const site = create(ctx); + expect(Object.keys(site)).toEqual(['/']); + expect(site['/']).toContain(`${ctx.extension.id} 0.2.0 ยท ${commit}`); + }); +}); diff --git a/template/src/pages/index.ts b/template/src/pages/index.ts new file mode 100644 index 0000000..6c429a7 --- /dev/null +++ b/template/src/pages/index.ts @@ -0,0 +1,4 @@ +import { versionPage, type PagesContext, type PagesSite } from '@agentage/extension'; + +// The kit serves this map; "/" names what runs: {id} {version} ยท {commit}. +export const create = (ctx: PagesContext): PagesSite => ({ '/': versionPage(ctx) }); diff --git a/template/src/ui/echo.tsx b/template/src/ui/echo.tsx new file mode 100644 index 0000000..a955fcc --- /dev/null +++ b/template/src/ui/echo.tsx @@ -0,0 +1,20 @@ +import { useState } from 'react'; +import { useHost } from '@agentage/widget'; +import { Button, Card } from '@agentage/widget/ds'; + +export function Echo() { + const { tool, context } = useHost(); + const [answer, setAnswer] = useState(''); + // A refused call (no token on next) shows the host's reason, not an empty card. + const ping = () => + tool(`${context.extension}__echo`, { msg: 'hi' }).then( + ({ msg }) => String(msg), + (error: Error) => error.message + ); + return ( + + +

{answer}

+
+ ); +} diff --git a/template/src/ui/harness.spec.ts b/template/src/ui/harness.spec.ts new file mode 100644 index 0000000..2695e3e --- /dev/null +++ b/template/src/ui/harness.spec.ts @@ -0,0 +1,29 @@ +import { readFileSync } from 'node:fs'; +import AxeBuilder from '@axe-core/playwright'; +import { expect, test } from '@playwright/test'; + +// The ui part in a browser through the local gateway (after up): the harness mounts {id}-echo. +const { version, agentage } = JSON.parse( + readFileSync(new URL('../../package.json', import.meta.url), 'utf8') +) as { version: string; agentage: { id: string } }; +const echo = `${agentage.id}-echo`; +const WCAG = ['wcag2a', 'wcag2aa', 'wcag21a', 'wcag21aa']; + +for (const colorScheme of ['light', 'dark'] as const) { + test(`the echo widget answers pong hi, axe WCAG A/AA clean (${colorScheme})`, async ({ + page, + }) => { + await page.emulateMedia({ colorScheme }); + await page.goto(`/ui/${version}/harness.html`); + await page.getByRole('button', { name: 'ping' }).click(); + await expect(page.locator(echo)).toContainText('pong hi'); + const { violations } = await new AxeBuilder({ page }).withTags(WCAG).analyze(); + expect(violations.map((violation) => violation.id)).toEqual([]); + }); +} + +test('the echo widget shows the refusal when its token is refused', async ({ page }) => { + await page.goto(`/ui/${version}/harness.html?token=aga_refused`); + await page.getByRole('button', { name: 'ping' }).click(); + await expect(page.locator(echo)).toContainText('Invalid token'); +}); diff --git a/template/src/ui/index.ts b/template/src/ui/index.ts new file mode 100644 index 0000000..d45e12e --- /dev/null +++ b/template/src/ui/index.ts @@ -0,0 +1,3 @@ +import { Echo } from './echo.js'; + +export const widgets = { echo: Echo }; diff --git a/template/src/worker/index.test.ts b/template/src/worker/index.test.ts new file mode 100644 index 0000000..a2298e5 --- /dev/null +++ b/template/src/worker/index.test.ts @@ -0,0 +1,21 @@ +import { createTestContext } from '@agentage/extension'; +import { describe, expect, it, vi } from 'vitest'; +import { create } from './index.js'; + +describe('worker tick', () => { + it('schedules tick every minute with a 30 s timeout', () => { + const ctx = createTestContext(); + const schedule = vi.fn(); + create({ ...ctx, schedule }); + expect(schedule.mock.calls.map(([name, cron, , options]) => [name, cron, options])).toEqual([ + ['tick', '* * * * *', { timeout: '30s' }], + ]); + }); + + it('logs its tick into the run and touches no store', async () => { + const ctx = createTestContext(); + create(ctx); + const run = await ctx.runJob('tick'); + expect(run).toMatchObject({ job: 'tick', status: 'ok', log: 'info tick\n', timeoutMs: 30_000 }); + }); +}); diff --git a/template/src/worker/index.ts b/template/src/worker/index.ts new file mode 100644 index 0000000..29d1fdf --- /dev/null +++ b/template/src/worker/index.ts @@ -0,0 +1,6 @@ +import { type WorkerContext } from '@agentage/extension'; + +// Every minute one log line; the kit never runs a job twice at once and saves each run. +export function create({ schedule, log }: WorkerContext) { + schedule('tick', '* * * * *', async () => log.info('tick'), { timeout: '30s' }); +} diff --git a/template/template.mcpc.json b/template/template.mcpc.json new file mode 100644 index 0000000..7cd14ad --- /dev/null +++ b/template/template.mcpc.json @@ -0,0 +1,35 @@ +{ + "serverInfo": { + "name": "agentage-template", + "version": "0.1.0" + }, + "tools": [ + { + "description": "Echo a message back", + "inputSchema": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "properties": { + "msg": { + "maxLength": 200, + "minLength": 1, + "type": "string" + } + }, + "required": ["msg"], + "type": "object" + }, + "name": "template__echo", + "outputSchema": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": false, + "properties": { + "msg": { + "type": "string" + } + }, + "required": ["msg"], + "type": "object" + } + } + ] +} diff --git a/template/tsconfig.build.json b/template/tsconfig.build.json new file mode 100644 index 0000000..55419aa --- /dev/null +++ b/template/tsconfig.build.json @@ -0,0 +1,9 @@ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "sourceMap": false, + "declarationMap": false + }, + "files": [], + "exclude": ["node_modules", "dist", "coverage", "src/**/*.test.ts", "src/ui"] +} diff --git a/template/tsconfig.eslint.json b/template/tsconfig.eslint.json new file mode 100644 index 0000000..ca0b3a0 --- /dev/null +++ b/template/tsconfig.eslint.json @@ -0,0 +1,8 @@ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "noEmit": true, + "rootDir": "." + }, + "include": ["src", "scripts", "vitest.config.ts", "playwright.config.ts"] +} diff --git a/template/tsconfig.json b/template/tsconfig.json new file mode 100644 index 0000000..37d4bec --- /dev/null +++ b/template/tsconfig.json @@ -0,0 +1,29 @@ +{ + "compilerOptions": { + "target": "ES2024", + "module": "NodeNext", + "moduleResolution": "NodeNext", + "lib": ["ES2024"], + "types": ["node"], + "outDir": "dist", + "rootDir": "src", + "strict": true, + "noUnusedLocals": true, + "noUnusedParameters": true, + "noImplicitReturns": true, + "noFallthroughCasesInSwitch": true, + "noUncheckedIndexedAccess": true, + "noImplicitOverride": true, + "verbatimModuleSyntax": true, + "esModuleInterop": true, + "skipLibCheck": true, + "forceConsistentCasingInFileNames": true, + "resolveJsonModule": true, + "declaration": true, + "declarationMap": true, + "sourceMap": true, + "jsx": "react-jsx" + }, + "include": ["src"], + "exclude": ["node_modules", "dist", "coverage"] +} diff --git a/template/vitest.config.ts b/template/vitest.config.ts new file mode 100644 index 0000000..67fcb8c --- /dev/null +++ b/template/vitest.config.ts @@ -0,0 +1,18 @@ +import { defineConfig } from 'vitest/config'; + +export default defineConfig({ + test: { + include: ['src/**/*.test.ts', 'scripts/**/*.test.ts'], + coverage: { + provider: 'v8', + include: ['src/**/*.ts'], + exclude: ['**/*.test.ts', '**/*.spec.ts'], + thresholds: { + branches: 70, + functions: 70, + lines: 70, + statements: 70, + }, + }, + }, +}); From f1faf33f0d5b55e20e70662c0fdbcb4e1e486202 Mon Sep 17 00:00:00 2001 From: Volodymyr Vreshch Date: Sun, 8 Nov 2026 01:34:46 +0100 Subject: [PATCH 03/38] chore(deps): pin kit 0.5.0, four standards lows (#2) engines.agentage keeps ^0.4 || ^0.5: the published cli runs a nested kit 0.4.3. npm@11 in release, waiver reason for extensions made from the template, fork guard on the private e2e steps, undated comment. Claude-Session: https://claude.ai/code/session_01XQkodjcXRj9XV1ZhGuYQQr --- template/.github/workflows/ci.yml | 12 ++++---- template/.github/workflows/release.yml | 2 +- template/.repo-doctor.yml | 2 +- template/package-lock.json | 41 ++++++++++++++++++++++---- template/package.json | 2 +- 5 files changed, 45 insertions(+), 14 deletions(-) diff --git a/template/.github/workflows/ci.yml b/template/.github/workflows/ci.yml index 4acfd1c..440cf47 100644 --- a/template/.github/workflows/ci.yml +++ b/template/.github/workflows/ci.yml @@ -57,9 +57,9 @@ jobs: npm ci npx playwright install chromium - # agentage/e2e is private (the org PAT_TOKEN reads it); Dependabot runs get no secrets. + # agentage/e2e is private (the org PAT_TOKEN reads it); Dependabot and fork runs get no secrets. - name: Checkout agentage/e2e - if: github.actor != 'dependabot[bot]' + if: github.actor != 'dependabot[bot]' && github.event.pull_request.head.repo.fork != true uses: actions/checkout@v7 with: repository: agentage/e2e @@ -68,7 +68,7 @@ jobs: persist-credentials: false - name: Install agentage/e2e - if: github.actor != 'dependabot[bot]' + if: github.actor != 'dependabot[bot]' && github.event.pull_request.head.repo.fork != true run: | npm ci --prefix e2e-suite --no-audit --no-fund npx --prefix e2e-suite playwright install chromium @@ -85,15 +85,15 @@ jobs: # {ID}_DIR lets the gate read the contracts from this checkout; the name follows the id. - name: e2e gate on local (agentage/e2e, a row in its extensions.json) - if: github.actor != 'dependabot[bot]' + if: github.actor != 'dependabot[bot]' && github.event.pull_request.head.repo.fork != true working-directory: e2e-suite run: | var="$(jq -r .agentage.id ../package.json | tr a-z- A-Z_)_DIR" env "$var=$GITHUB_WORKSPACE" npm run e2e -- template gate local - # A gate that skipped itself is not green (31 executed on 2026-11-08). + # A gate that skipped itself is not green. - name: Assert the gate was not vacuous - if: github.actor != 'dependabot[bot]' + if: github.actor != 'dependabot[bot]' && github.event.pull_request.head.repo.fork != true working-directory: e2e-suite env: MIN_EXECUTED: '25' diff --git a/template/.github/workflows/release.yml b/template/.github/workflows/release.yml index 22d9d66..e31daa3 100644 --- a/template/.github/workflows/release.yml +++ b/template/.github/workflows/release.yml @@ -95,7 +95,7 @@ jobs: fi - name: Upgrade npm - run: npm install -g npm@latest && npm --version # OIDC needs npm >= 11.5.1 + run: npm install -g npm@11 && npm --version # OIDC needs npm >= 11.5.1 - name: Publish to npm (skips a version already published) env: diff --git a/template/.repo-doctor.yml b/template/.repo-doctor.yml index 8c1677e..e390a0b 100644 --- a/template/.repo-doctor.yml +++ b/template/.repo-doctor.yml @@ -2,7 +2,7 @@ class: express-service waive: - id: cicd-no-npm-token - reason: 'the first publish of a new npm name is staged with a token until its trusted publisher exists (as extension-probe)' + reason: 'for extensions made from this template: their first npm publish is staged with a token until the trusted publisher exists (the template itself never releases: the guard refuses it)' - id: rb-published-files reason: 'no prepare-release: this repo never bumps; an extension made from it adds one with the release loop' - id: obs-kit diff --git a/template/package-lock.json b/template/package-lock.json index 86cff28..bcea8c6 100644 --- a/template/package-lock.json +++ b/template/package-lock.json @@ -9,7 +9,7 @@ "version": "0.1.0", "license": "MIT", "dependencies": { - "@agentage/extension": "^0.4.3", + "@agentage/extension": "0.5.0", "express": "^5.1.0", "zod": "^4.2.0" }, @@ -38,7 +38,7 @@ "vitest": "5.1.0" }, "engines": { - "agentage": "^0.4", + "agentage": "^0.4 || ^0.5", "node": ">=22" } }, @@ -62,6 +62,37 @@ "npm": ">=10.0.0" } }, + "node_modules/@agentage/cli/node_modules/@agentage/extension": { + "version": "0.4.3", + "resolved": "https://registry.npmjs.org/@agentage/extension/-/extension-0.4.3.tgz", + "integrity": "sha512-Cu4CNpm9/6wO7OESrSmcyos4RJw+ujwkCll5iz5/hrqGUDlow4T1MU0vMgePAkMh0xnWAQ5oEAbQFDF663Bv/Q==", + "dev": true, + "license": "MIT", + "dependencies": { + "@modelcontextprotocol/server": "^2.4.0", + "cors": "^2.8.5", + "helmet": "^8.1.0", + "jose": "^6.2.15", + "pg": "^8.23.1", + "semver": "^7.8.6", + "zod": "^4.2.0" + }, + "engines": { + "node": ">=22" + }, + "peerDependencies": { + "@electric-sql/pglite": "^0.5.0", + "express": "^5.1.0" + }, + "peerDependenciesMeta": { + "@electric-sql/pglite": { + "optional": true + }, + "express": { + "optional": true + } + } + }, "node_modules/@agentage/design-system": { "version": "0.19.2", "resolved": "https://registry.npmjs.org/@agentage/design-system/-/design-system-0.19.2.tgz", @@ -94,9 +125,9 @@ } }, "node_modules/@agentage/extension": { - "version": "0.4.3", - "resolved": "https://registry.npmjs.org/@agentage/extension/-/extension-0.4.3.tgz", - "integrity": "sha512-Cu4CNpm9/6wO7OESrSmcyos4RJw+ujwkCll5iz5/hrqGUDlow4T1MU0vMgePAkMh0xnWAQ5oEAbQFDF663Bv/Q==", + "version": "0.5.0", + "resolved": "https://registry.npmjs.org/@agentage/extension/-/extension-0.5.0.tgz", + "integrity": "sha512-q2gFKPcBqPqaTj0Ri3rllEDriGgkDdnNTwx4GV7zA2lfmUVEB3ZTnZJRblWXTSisHQDcelyHlB0hUsH5JWiwLw==", "license": "MIT", "dependencies": { "@modelcontextprotocol/server": "^2.4.0", diff --git a/template/package.json b/template/package.json index e97615c..f5a6867 100644 --- a/template/package.json +++ b/template/package.json @@ -68,7 +68,7 @@ "prepublishOnly": "npm run verify" }, "dependencies": { - "@agentage/extension": "^0.4.3", + "@agentage/extension": "0.5.0", "express": "^5.1.0", "zod": "^4.2.0" }, From bbe54a4a73442f1b08b4bb3bedad3e5e07b6c380 Mon Sep 17 00:00:00 2001 From: Volodymyr Vreshch Date: Sun, 8 Nov 2026 01:44:04 +0100 Subject: [PATCH 04/38] refactor: clean-code pass over every file an author copies (#3) Tests cover only the author's lines, one create(ctx) shape per part, config options that equal the default or have no reader removed. Claude-Session: https://claude.ai/code/session_01XQkodjcXRj9XV1ZhGuYQQr --- template/.github/workflows/release.yml | 7 +++- template/CLAUDE.md | 24 +++++------ template/eslint.config.mjs | 8 +--- template/package-lock.json | 41 +++---------------- template/package.json | 2 +- template/src/api/echo.schema.ts | 2 - template/src/api/index.test.ts | 55 +++++++------------------- template/src/api/index.ts | 16 ++++---- template/src/api/openapi.test.ts | 18 +-------- template/src/cli/index.test.ts | 18 ++++----- template/src/cli/index.ts | 6 +-- template/src/mcp/index.test.ts | 35 ++++++---------- template/src/pages/index.test.ts | 8 +--- template/src/pages/index.ts | 7 ++-- template/src/worker/index.test.ts | 13 +----- template/src/worker/index.ts | 1 - template/tsconfig.build.json | 2 +- template/tsconfig.eslint.json | 1 - template/tsconfig.json | 1 - template/vitest.config.ts | 2 +- 20 files changed, 80 insertions(+), 187 deletions(-) diff --git a/template/.github/workflows/release.yml b/template/.github/workflows/release.yml index e31daa3..23e2d44 100644 --- a/template/.github/workflows/release.yml +++ b/template/.github/workflows/release.yml @@ -114,5 +114,10 @@ jobs: echo "${name}@${version} is already on npm" exit 0 fi - if [ -n "${NPM_TOKEN:-}" ] && ! npm view "${name}" name >/dev/null 2>&1; then npm stage publish --access public --provenance; elif ! npm publish --access public --provenance; then echo "direct publish of ${name}@${version} not authorized (no validated trusted publisher): staging it for approval"; npm stage publish --access public --provenance; fi + if [ -n "${NPM_TOKEN:-}" ] && ! npm view "${name}" name >/dev/null 2>&1; then + npm stage publish --access public --provenance + elif ! npm publish --access public --provenance; then + echo "direct publish of ${name}@${version} not authorized (no validated trusted publisher): staging it for approval" + npm stage publish --access public --provenance + fi echo "published ${name}@${version}" >> "$GITHUB_STEP_SUMMARY" diff --git a/template/CLAUDE.md b/template/CLAUDE.md index 8be9f0b..2151cb8 100644 --- a/template/CLAUDE.md +++ b/template/CLAUDE.md @@ -10,8 +10,8 @@ and [`@agentage/widget`](https://www.npmjs.com/package/@agentage/widget). - An extension is one npm package. The `agentage` block of `package.json` is its manifest: the id, the parts, the commands, the settings and the secrets. - A part is one folder in `src/`. Each exports `create(ctx)` only; the ui part exports `widgets`. -- The kit owns the server, the port, `/health`, discovery, the envelope, the `agcid`, the store - pool, the scheduler, the command line and one image for each part. You write only the part code. +- The kit owns the server, `/health`, auth, the store pool, the scheduler and the images. You + write only the part code. | Part | Folder | What it does here | | ------ | ----------------------- | --------------------------------------------------------------- | @@ -33,9 +33,8 @@ git init -b master && git add -A && git commit -m "feat: extension" - The id has lowercase letters, digits and `-`. It starts with a letter. It is not a part name. - Keep at least one of pages, ui, api or mcp. -- `create` deletes the folders of the parts you do not keep. It writes your id into every file. +- `create` deletes the folders and contracts of the parts you do not keep. It writes your id into every file. - Push to a new public repo `agentage/extension-`, default branch `master`. -- Without api, delete `openapi.json`. Without mcp, delete `.mcpc.json`. - Edit to the parts you kept: the table of section 1, the README, `description` in `package.json` and `MIN_EXECUTED` in `ci.yml` (the gate's floor: 25 fits all seven parts). @@ -46,6 +45,7 @@ git init -b master && git add -A && git commit -m "feat: extension" - Put code in `src/lib/` only when every kept part can use it. - Never use `listen()`, the `process` global, a token check or an absolute agentage URL in `src/`. - Each part has its tests beside it in `src/{part}/`. One part can go without breaking another. +- Test only the lines you wrote: `check` and the kit's own tests cover the rest. - api: validate every query and body with Zod (`parse`). Answer with `ok(...)`. - api: give each route a scope in `src/api/openapi.test.ts`, which writes `openapi.json`: `security: [{ pat: ['template:read'] }]`, or `security: []` for an anonymous route. @@ -70,8 +70,8 @@ curl -s -H "Authorization: Bearer $T" "localhost:4280/api/v1/echo?msg=hi" npx agentage extension down # removes this working copy's containers ``` -- `up` builds the images with the release recipe. It starts postgres, runs the migrations, a dev - issuer on 4281 and a gateway on 4280 with the URL layout of `next`. +- `up` runs the release images, postgres with your migrations, a dev issuer (4281) and a gateway + (4280) laid out like `next`. - `up` writes `.agentage/` (ignored). From cli 0.43, `build` needs a commit. - CI runs the same steps, then the e2e gate on local: `npm run e2e -- template gate local` in agentage/e2e. The gate needs your row in its `extensions.json` (section 6). It never retries. @@ -79,12 +79,10 @@ npx agentage extension down # removes this working copy's co ## 5. Release - Set the version in `package.json` on master. Push the tag `v{version}` on that commit. -- `.github/workflows/release.yml` then pushes `ghcr.io/agentage/{id}-{part}:{version}`, attaches - `agentage-extension.json` (the images by digest) to the GitHub release and publishes the npm - package with provenance. The first publish of a new npm name waits for the owner's approval; - then add the trusted publisher (this `release.yml`) on npmjs.com, so OIDC takes over. -- `scripts/release-guard.sh` keeps a released version: a re-run only retries npm, a moved tag is - refused. A fix is a new version. Never move a `v*` tag. +- `release.yml` then pushes the part images, attaches `agentage-extension.json` to the GitHub + release and publishes to npm. The first publish of a new npm name waits for the owner's + approval; then add `release.yml` as the trusted publisher on npmjs.com. +- A re-run only retries npm; a moved tag is refused. A fix is a new version. Never move a `v*` tag. - The first release step stops the starting point itself. It passes for every other id. ## 6. The estate row @@ -111,9 +109,7 @@ These touches are outside this repo. Each is one small PR or one owner action. ## 8. What the platform promises - The kit checks the token and the declared scope before your route or tool runs. -- The kit answers `/health`, discovery and errors in the envelope with an `agcid`. - The gateway serves `/`, `/ui/{version}/`, `/api/v1/` and `/mcp`. It drops the `Cookie` header. - No route reaches a part's `/health`. - The estate runs the migrations as a job before the rollout. A release never restarts the store. - The same smoke and contract gate runs for every extension in the e2e registry. - A kit minor reaches this repo through the Friday Dependabot group PR. Merge it when CI is green. diff --git a/template/eslint.config.mjs b/template/eslint.config.mjs index f1d8ec1..6be6fa9 100644 --- a/template/eslint.config.mjs +++ b/template/eslint.config.mjs @@ -8,17 +8,13 @@ import reactHooks from 'eslint-plugin-react-hooks'; export default [ { - ignores: ['dist/**', 'coverage/**', 'node_modules/**', 'test-results/**'], + ignores: ['dist/**', 'coverage/**', 'test-results/**'], }, { files: ['src/**/*.{ts,tsx}', 'scripts/**/*.ts', '*.ts'], languageOptions: { parser: tsParser, - parserOptions: { - ecmaVersion: 2024, - sourceType: 'module', - project: ['./tsconfig.eslint.json'], - }, + parserOptions: { project: './tsconfig.eslint.json' }, }, plugins: { '@typescript-eslint': typescriptEslint, diff --git a/template/package-lock.json b/template/package-lock.json index bcea8c6..94e3cd1 100644 --- a/template/package-lock.json +++ b/template/package-lock.json @@ -14,7 +14,7 @@ "zod": "^4.2.0" }, "devDependencies": { - "@agentage/cli": "0.42.1", + "@agentage/cli": "0.44.0", "@agentage/widget": "^0.1.1", "@axe-core/playwright": "4.14.0", "@electric-sql/pglite": "0.5.15", @@ -43,13 +43,13 @@ } }, "node_modules/@agentage/cli": { - "version": "0.42.1", - "resolved": "https://registry.npmjs.org/@agentage/cli/-/cli-0.42.1.tgz", - "integrity": "sha512-0QbjoiW0L3jnbYZbyz8BClZMu/ha2ZXfA7G7xt0JuEyRHFLET/bwNq6VBRy64YKsEe1eIAR92cwatoZIEJ8LGw==", + "version": "0.44.0", + "resolved": "https://registry.npmjs.org/@agentage/cli/-/cli-0.44.0.tgz", + "integrity": "sha512-NFIlh0xOrMFkXnaufrUR3AAOERCpQ4JqZ3XNTMr4XJAvnRBygraPa+PVthH3+Xa5idN+3QKNrzb7wjMnHfGakg==", "dev": true, "license": "MIT", "dependencies": { - "@agentage/extension": "^0.4.0", + "@agentage/extension": "^0.5.0", "chalk": "^6.0.0", "commander": "^15.0.0", "open": "^11.0.0" @@ -62,37 +62,6 @@ "npm": ">=10.0.0" } }, - "node_modules/@agentage/cli/node_modules/@agentage/extension": { - "version": "0.4.3", - "resolved": "https://registry.npmjs.org/@agentage/extension/-/extension-0.4.3.tgz", - "integrity": "sha512-Cu4CNpm9/6wO7OESrSmcyos4RJw+ujwkCll5iz5/hrqGUDlow4T1MU0vMgePAkMh0xnWAQ5oEAbQFDF663Bv/Q==", - "dev": true, - "license": "MIT", - "dependencies": { - "@modelcontextprotocol/server": "^2.4.0", - "cors": "^2.8.5", - "helmet": "^8.1.0", - "jose": "^6.2.15", - "pg": "^8.23.1", - "semver": "^7.8.6", - "zod": "^4.2.0" - }, - "engines": { - "node": ">=22" - }, - "peerDependencies": { - "@electric-sql/pglite": "^0.5.0", - "express": "^5.1.0" - }, - "peerDependenciesMeta": { - "@electric-sql/pglite": { - "optional": true - }, - "express": { - "optional": true - } - } - }, "node_modules/@agentage/design-system": { "version": "0.19.2", "resolved": "https://registry.npmjs.org/@agentage/design-system/-/design-system-0.19.2.tgz", diff --git a/template/package.json b/template/package.json index f5a6867..6cb2e65 100644 --- a/template/package.json +++ b/template/package.json @@ -73,7 +73,7 @@ "zod": "^4.2.0" }, "devDependencies": { - "@agentage/cli": "0.42.1", + "@agentage/cli": "0.44.0", "@agentage/widget": "^0.1.1", "@axe-core/playwright": "4.14.0", "@electric-sql/pglite": "0.5.15", diff --git a/template/src/api/echo.schema.ts b/template/src/api/echo.schema.ts index 8623589..010af75 100644 --- a/template/src/api/echo.schema.ts +++ b/template/src/api/echo.schema.ts @@ -3,5 +3,3 @@ import { z } from 'zod'; export const EchoSchema = z.object({ msg: z.string().min(1).max(200), }); - -export type Echo = z.infer; diff --git a/template/src/api/index.test.ts b/template/src/api/index.test.ts index 51bd7cb..406182c 100644 --- a/template/src/api/index.test.ts +++ b/template/src/api/index.test.ts @@ -2,7 +2,7 @@ import type fs from 'node:fs'; import { readFileSync } from 'node:fs'; import { createTestContext, - ErrorEnvelopeSchema, + ok, startTestServer, type PartContext, type Store, @@ -10,12 +10,10 @@ import { import { afterAll, beforeAll, describe, expect, it, vi } from 'vitest'; import { create } from './index.js'; -const UUID_V7 = /^[0-9a-f]{8}-[0-9a-f]{4}-7[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$/; const { agentage } = JSON.parse( readFileSync(new URL('../../package.json', import.meta.url), 'utf8') ) as { agentage: { parts: { store?: string } } }; const store = Boolean(agentage.parts.store); - const ctx = createTestContext({ store }); let server: Awaited>; // The store boots (WASM, migrations, seed) on first use: here, not inside a test's 5 s. @@ -29,38 +27,16 @@ afterAll(async () => { }); describe('GET /api/v1/echo', () => { - it('echoes msg and names the caller in the envelope, with an agcid', async () => { + it('echoes msg and names the caller', async () => { const res = await server.fetch('/api/v1/echo?msg=hi'); - expect(res.status).toBe(200); - expect(await res.text()).toBe('{"success":true,"data":{"msg":"hi","caller":"usr_test"}}'); - expect(res.headers.get('agcid')).toMatch(UUID_V7); - }); - - it('keeps the caller agcid', async () => { - const res = await server.fetch('/api/v1/echo?msg=hi', { headers: { agcid: 'echo-test-1' } }); - expect(res.headers.get('agcid')).toBe('echo-test-1'); - }); - - it('answers VALIDATION_ERROR without msg', async () => { - const res = await server.fetch('/api/v1/echo', { headers: { agcid: 'echo-test-2' } }); - expect(res.status).toBe(400); - expect(ErrorEnvelopeSchema.parse(await res.json())).toEqual({ - success: false, - error: { - code: 'VALIDATION_ERROR', - message: 'Invalid query', - agcid: 'echo-test-2', - details: [{ field: 'msg', message: expect.any(String) }], - }, - }); + expect(await res.json()).toEqual(ok({ msg: 'hi', caller: 'usr_test' })); }); - it('takes 200 characters, refuses an empty, repeated or oversized msg', async () => { - expect((await server.fetch(`/api/v1/echo?msg=${'x'.repeat(200)}`)).status).toBe(200); - for (const query of ['msg=', 'msg=a&msg=b', `msg=${'x'.repeat(201)}`]) { - const res = await server.fetch(`/api/v1/echo?${query}`); - expect(res.status, query).toBe(400); - } + it.each([ + ['empty', ''], + ['over 200 characters', 'x'.repeat(201)], + ])('refuses a msg %s', async (_name, msg) => { + expect((await server.fetch(`/api/v1/echo?msg=${msg}`)).status).toBe(400); }); }); @@ -81,20 +57,17 @@ const ping = async (parts: object, ctx: PartContext = createTestContext()) => { describe('GET /api/v1/ping', () => { it('counts the rows of pings when the manifest keeps the store', async () => { - const counted = { - ...createTestContext(), - store: { query: async () => ({ rows: [{ n: 3 }] }) } as Store, - }; - const body = await ping({ store: 'postgres' }, counted); - expect(body).toEqual({ success: true, data: { msg: 'pong', pings: 3 } }); + const counted = { query: async () => ({ rows: [{ n: 3 }] }) } as Store; + const body = await ping({ store: 'postgres' }, { ...createTestContext(), store: counted }); + expect(body).toEqual(ok({ msg: 'pong', pings: 3 })); }); - it('answers pings null and never queries without a store', async () => { - expect(await ping({})).toEqual({ success: true, data: { msg: 'pong', pings: null } }); + it('answers pings null without a store', async () => { + expect(await ping({})).toEqual(ok({ msg: 'pong', pings: null })); }); it.runIf(store)('counts the seeded row: the migration and the seed ran', async () => { const res = await server.fetch('/api/v1/ping'); - expect(await res.json()).toEqual({ success: true, data: { msg: 'pong', pings: 1 } }); + expect(await res.json()).toEqual(ok({ msg: 'pong', pings: 1 })); }); }); diff --git a/template/src/api/index.ts b/template/src/api/index.ts index acf4f8e..ee99657 100644 --- a/template/src/api/index.ts +++ b/template/src/api/index.ts @@ -3,26 +3,26 @@ import { Router } from 'express'; import { ok, parse, type PartContext } from '@agentage/extension'; import { EchoSchema } from './echo.schema.js'; -// package.json ships in every image; without parts.store the ping route never queries. +// Without parts.store in package.json the ping route never queries. const { agentage } = JSON.parse( readFileSync(new URL('../../package.json', import.meta.url), 'utf8') ) as { agentage: { parts: { store?: string } } }; -const pings = async ({ store }: PartContext): Promise => { +const countPings = async ({ store }: PartContext) => { const { rows } = await store.query<{ n: number }>('select count(*)::int as n from pings'); - const [count] = rows as [{ n: number }]; // count(*) answers one row - return count.n; + const [{ n }] = rows as [{ n: number }]; // count(*) answers one row + return n; }; -// The kit mounts this router at /api/v1/; openapi.json is its contract. -export const create = (ctx: PartContext): Router => { +// Mounted at /api/v1; openapi.json declares each route's scope. +export function create(ctx: PartContext) { const router = Router(); router.get('/echo', (req, res) => { const { msg } = parse(EchoSchema, req.query, 'Invalid query'); res.json(ok({ msg, caller: ctx.auth.caller(req)?.sub })); }); router.get('/ping', async (_req, res) => { - res.json(ok({ msg: 'pong', pings: agentage.parts.store ? await pings(ctx) : null })); + res.json(ok({ msg: 'pong', pings: agentage.parts.store ? await countPings(ctx) : null })); }); return router; -}; +} diff --git a/template/src/api/openapi.test.ts b/template/src/api/openapi.test.ts index 14ada42..f78b35a 100644 --- a/template/src/api/openapi.test.ts +++ b/template/src/api/openapi.test.ts @@ -1,9 +1,8 @@ import { readFileSync, writeFileSync } from 'node:fs'; -import { createTestContext, ErrorEnvelopeSchema } from '@agentage/extension'; +import { ErrorEnvelopeSchema } from '@agentage/extension'; import { describe, expect, it } from 'vitest'; import { z } from 'zod'; import { EchoSchema } from './echo.schema.js'; -import { create } from './index.js'; const FILE = new URL('../../openapi.json', import.meta.url); const { version, agentage } = JSON.parse( @@ -54,8 +53,8 @@ const invalid = { const generated = () => ({ openapi: '3.1.0', info: { title: id, version }, - // The only place a route names its scope; the kit asks for it before the route runs. components: { securitySchemes: { pat: { type: 'http', scheme: 'bearer' } } }, + // The only place a route names its scope; the kit asks for it before the route runs. paths: { '/api/v1/echo': { get: { @@ -81,17 +80,4 @@ describe('openapi.json', () => { writeFileSync(FILE, `${JSON.stringify(generated(), null, 2)}\n`); expect(JSON.parse(readFileSync(FILE, 'utf8'))).toEqual(generated()); }); - - // A route outside openapi.json would have no declared access; no sub-routers. - it('documents every route the api part serves, and nothing else', () => { - const { stack } = create(createTestContext()); - expect(stack.filter((layer) => !layer.route).map((layer) => layer.name)).toEqual([]); - const served = stack.flatMap(({ route }) => - route ? route.stack.map(({ method }) => `${method} /api/v1${route.path}`) : [] - ); - const documented = Object.entries(generated().paths).flatMap(([path, ops]) => - Object.keys(ops).map((method) => `${method} ${path}`) - ); - expect(served.sort()).toEqual(documented.sort()); - }); }); diff --git a/template/src/cli/index.test.ts b/template/src/cli/index.test.ts index 2b9157e..2ede5b2 100644 --- a/template/src/cli/index.test.ts +++ b/template/src/cli/index.test.ts @@ -3,15 +3,13 @@ import { describe, expect, it } from 'vitest'; import { create } from './index.js'; describe('agentage ping', () => { - it('answers pong', async () => { - const ctx = createTestContext({ args: {} }); - expect(await create(ctx).ping()).toBe(0); - expect(ctx.output).toEqual({ stdout: ['pong'], stderr: [] }); - }); - - it('answers pong and the message', async () => { - const ctx = createTestContext({ args: { msg: 'hi' } }); - expect(await create(ctx).ping()).toBe(0); - expect(ctx.output).toEqual({ stdout: ['pong hi'], stderr: [] }); + it.each([ + [{}, 'pong'], + [{ msg: 'hi' }, 'pong hi'], + ])('with args %j prints %s', (args, line) => { + const ctx = createTestContext({ args }); + create(ctx).ping(); + expect(ctx.output).toEqual({ stdout: [line], stderr: [] }); + expect(ctx.exitCode).toBeUndefined(); }); }); diff --git a/template/src/cli/index.ts b/template/src/cli/index.ts index 5d8d8ba..bc5c1be 100644 --- a/template/src/cli/index.ts +++ b/template/src/cli/index.ts @@ -3,10 +3,6 @@ import { type CliContext } from '@agentage/extension'; // One handler per command in agentage.commands: `agentage ping [msg]`. export function create({ out, args }: CliContext) { return { - ping: async () => { - const { msg } = args; - out.log(msg ? `pong ${msg}` : 'pong'); - return 0; - }, + ping: () => out.log(args.msg ? `pong ${args.msg}` : 'pong'), }; } diff --git a/template/src/mcp/index.test.ts b/template/src/mcp/index.test.ts index 47fd858..8609dc8 100644 --- a/template/src/mcp/index.test.ts +++ b/template/src/mcp/index.test.ts @@ -14,30 +14,26 @@ const { version, agentage } = JSON.parse( ) as { version: string; agentage: { id: string } }; const { id } = agentage; const SNAPSHOT = new URL(`../../${id}.mcpc.json`, import.meta.url); -const ctx = createTestContext({ extension: { id, version } }); let server: Awaited>; beforeAll(async () => { - server = await startTestMcp({ create, ctx }); + server = await startTestMcp({ create, ctx: createTestContext({ extension: { id, version } }) }); }); afterAll(() => server.close()); -// The contract: what each protocol version's client lists equals the committed snapshot. describe(`${id}.mcpc.json`, () => { - for (const version of PROTOCOL_VERSIONS) { - it(`a ${version} client lists exactly the committed snapshot`, async () => { - const snapshot = await mcpSnapshot(`${server.url}/mcp`, version); - if (process.env['UPDATE_SNAPSHOT']) - writeFileSync(SNAPSHOT, `${JSON.stringify(snapshot, null, 2)}\n`); - expect(snapshot).toEqual(canonical(JSON.parse(readFileSync(SNAPSHOT, 'utf8')))); - }); - } + it.each(PROTOCOL_VERSIONS)('a %s client lists exactly the committed snapshot', async (proto) => { + const snapshot = await mcpSnapshot(`${server.url}/mcp`, proto); + if (process.env['UPDATE_SNAPSHOT']) + writeFileSync(SNAPSHOT, `${JSON.stringify(snapshot, null, 2)}\n`); + expect(snapshot).toEqual(canonical(JSON.parse(readFileSync(SNAPSHOT, 'utf8')))); + }); }); describe(`${id}__echo`, () => { - it(`needs ${id}:read: the scope it declares beside its schemas`, () => { - const recorded = createTestContext({ extension: { id } }); - create(recorded); - expect(recorded.tools.map(({ name, spec }) => [name, spec.scope])).toEqual([['echo', 'read']]); + it('declares scope read', () => { + const ctx = createTestContext(); + create(ctx); + expect(ctx.tools.map(({ name, spec }) => [name, spec.scope])).toEqual([['echo', 'read']]); }); it('answers pong and the message', async () => { @@ -55,13 +51,8 @@ describe(`${id}__echo`, () => { }), }); const data = (await res.text()).split('\n').find((line) => line.startsWith('data:')) ?? ''; - expect(JSON.parse(data.slice(5))).toEqual({ - jsonrpc: '2.0', - id: 1, - result: { - content: [{ type: 'text', text: '{"msg":"pong hi"}' }], - structuredContent: { msg: 'pong hi' }, - }, + expect(JSON.parse(data.slice(5))).toMatchObject({ + result: { structuredContent: { msg: 'pong hi' } }, }); }); }); diff --git a/template/src/pages/index.test.ts b/template/src/pages/index.test.ts index 2abb53e..ddfe6ef 100644 --- a/template/src/pages/index.test.ts +++ b/template/src/pages/index.test.ts @@ -3,11 +3,7 @@ import { describe, expect, it } from 'vitest'; import { create } from './index.js'; describe('pages', () => { - it('/ names the version and the commit that run', () => { - const commit = 'c'.repeat(40); - const ctx = createTestContext({ extension: { version: '0.2.0', commit } }); - const site = create(ctx); - expect(Object.keys(site)).toEqual(['/']); - expect(site['/']).toContain(`${ctx.extension.id} 0.2.0 ยท ${commit}`); + it('serves one page at /', () => { + expect(Object.keys(create(createTestContext()))).toEqual(['/']); }); }); diff --git a/template/src/pages/index.ts b/template/src/pages/index.ts index 6c429a7..8931a60 100644 --- a/template/src/pages/index.ts +++ b/template/src/pages/index.ts @@ -1,4 +1,5 @@ -import { versionPage, type PagesContext, type PagesSite } from '@agentage/extension'; +import { versionPage, type PagesContext } from '@agentage/extension'; -// The kit serves this map; "/" names what runs: {id} {version} ยท {commit}. -export const create = (ctx: PagesContext): PagesSite => ({ '/': versionPage(ctx) }); +export function create(ctx: PagesContext) { + return { '/': versionPage(ctx) }; +} diff --git a/template/src/worker/index.test.ts b/template/src/worker/index.test.ts index a2298e5..a7682ce 100644 --- a/template/src/worker/index.test.ts +++ b/template/src/worker/index.test.ts @@ -1,18 +1,9 @@ import { createTestContext } from '@agentage/extension'; -import { describe, expect, it, vi } from 'vitest'; +import { describe, expect, it } from 'vitest'; import { create } from './index.js'; describe('worker tick', () => { - it('schedules tick every minute with a 30 s timeout', () => { - const ctx = createTestContext(); - const schedule = vi.fn(); - create({ ...ctx, schedule }); - expect(schedule.mock.calls.map(([name, cron, , options]) => [name, cron, options])).toEqual([ - ['tick', '* * * * *', { timeout: '30s' }], - ]); - }); - - it('logs its tick into the run and touches no store', async () => { + it('logs tick into its run within the 30 s timeout', async () => { const ctx = createTestContext(); create(ctx); const run = await ctx.runJob('tick'); diff --git a/template/src/worker/index.ts b/template/src/worker/index.ts index 29d1fdf..f69848b 100644 --- a/template/src/worker/index.ts +++ b/template/src/worker/index.ts @@ -1,6 +1,5 @@ import { type WorkerContext } from '@agentage/extension'; -// Every minute one log line; the kit never runs a job twice at once and saves each run. export function create({ schedule, log }: WorkerContext) { schedule('tick', '* * * * *', async () => log.info('tick'), { timeout: '30s' }); } diff --git a/template/tsconfig.build.json b/template/tsconfig.build.json index 55419aa..4269de0 100644 --- a/template/tsconfig.build.json +++ b/template/tsconfig.build.json @@ -5,5 +5,5 @@ "declarationMap": false }, "files": [], - "exclude": ["node_modules", "dist", "coverage", "src/**/*.test.ts", "src/ui"] + "exclude": ["src/**/*.test.ts", "src/ui"] } diff --git a/template/tsconfig.eslint.json b/template/tsconfig.eslint.json index ca0b3a0..8d33f38 100644 --- a/template/tsconfig.eslint.json +++ b/template/tsconfig.eslint.json @@ -1,7 +1,6 @@ { "extends": "./tsconfig.json", "compilerOptions": { - "noEmit": true, "rootDir": "." }, "include": ["src", "scripts", "vitest.config.ts", "playwright.config.ts"] diff --git a/template/tsconfig.json b/template/tsconfig.json index 37d4bec..8a3b6fe 100644 --- a/template/tsconfig.json +++ b/template/tsconfig.json @@ -13,7 +13,6 @@ "noImplicitReturns": true, "noFallthroughCasesInSwitch": true, "noUncheckedIndexedAccess": true, - "noImplicitOverride": true, "verbatimModuleSyntax": true, "esModuleInterop": true, "skipLibCheck": true, diff --git a/template/vitest.config.ts b/template/vitest.config.ts index 67fcb8c..9d6bfcd 100644 --- a/template/vitest.config.ts +++ b/template/vitest.config.ts @@ -6,7 +6,7 @@ export default defineConfig({ coverage: { provider: 'v8', include: ['src/**/*.ts'], - exclude: ['**/*.test.ts', '**/*.spec.ts'], + exclude: ['**/*.spec.ts'], thresholds: { branches: 70, functions: 70, From d08701766fe04a6a31fed0ebcdd7ac94fb6db537 Mon Sep 17 00:00:00 2001 From: Volodymyr Vreshch Date: Sun, 8 Nov 2026 08:49:27 +0100 Subject: [PATCH 05/38] refactor: adopt kit 0.5.1 and cli 0.45.0, drop release scripts (#4) * refactor: adopt kit 0.5.1 and cli 0.45.0, drop release scripts Claude-Session: https://claude.ai/code/session_01XQkodjcXRj9XV1ZhGuYQQr * fix: keep prepublishOnly per repo-baseline Claude-Session: https://claude.ai/code/session_01XQkodjcXRj9XV1ZhGuYQQr * docs: release refusal, check --write scope, rewrap Claude-Session: https://claude.ai/code/session_01XQkodjcXRj9XV1ZhGuYQQr --- template/.github/workflows/ci.yml | 3 - template/.github/workflows/release.yml | 103 ++------------- template/.repo-doctor.yml | 2 +- template/CLAUDE.md | 24 ++-- template/eslint.config.mjs | 2 +- template/package-lock.json | 18 +-- template/package.json | 6 +- template/scripts/image-smoke.sh | 26 ---- template/scripts/release-guard.sh | 60 --------- template/scripts/release-guard.test.ts | 169 ------------------------- template/src/api/index.test.ts | 20 +-- template/src/api/index.ts | 8 +- template/src/api/openapi.test.ts | 4 +- template/src/mcp/index.test.ts | 38 +----- template/src/worker/index.test.ts | 10 +- template/tsconfig.eslint.json | 2 +- template/vitest.config.ts | 2 +- 17 files changed, 58 insertions(+), 439 deletions(-) delete mode 100755 template/scripts/image-smoke.sh delete mode 100755 template/scripts/release-guard.sh delete mode 100644 template/scripts/release-guard.test.ts diff --git a/template/.github/workflows/ci.yml b/template/.github/workflows/ci.yml index 440cf47..4a72f29 100644 --- a/template/.github/workflows/ci.yml +++ b/template/.github/workflows/ci.yml @@ -77,9 +77,6 @@ jobs: - name: agentage extension up (the release recipes, store, dev issuer, gateway) run: node_modules/.bin/agentage extension up - - name: Image smoke (each part carries this commit, /health ok on loopback) - run: scripts/image-smoke.sh "$GITHUB_SHA" - - name: The widget a11y test through the local gateway (src/**/*.spec.ts) run: npm run test:e2e diff --git a/template/.github/workflows/release.yml b/template/.github/workflows/release.yml index 23e2d44..a9a69ef 100644 --- a/template/.github/workflows/release.yml +++ b/template/.github/workflows/release.yml @@ -1,9 +1,8 @@ name: Release -# A v* tag: the kit tool builds and pushes one image per part to GHCR, the build record with the -# digests becomes the release asset agentage-extension.json, then the package is published to npm -# with OIDC trusted publishing (npmjs.com trusted publisher = this file). A re-run of a released -# version keeps its images and record and only retries npm (scripts/release-guard.sh). +# A v* tag: agentage extension release refuses the template, a commit off master and a tag that is +# not the version, keeps a released version (re-run = npm only), then pushes the images, attaches +# agentage-extension.json to the release and publishes to npm with OIDC (npm = this file). on: push: tags: ['v*'] @@ -23,101 +22,19 @@ jobs: runs-on: ubuntu-latest timeout-minutes: 45 steps: - - name: Checkout - uses: actions/checkout@v7 + - uses: actions/checkout@v7 with: fetch-depth: 0 - - # Upper case on purpose: create rewrites only the lower-case word, so this stays as written. - - name: The starting point never releases - run: | - if [ "$(jq -r .agentage.id package.json | tr a-z A-Z)" = TEMPLATE ]; then - echo "::error::this repo is the starting point for extensions: create one, release that" - exit 1 - fi - - - name: Tag commit must be on master - run: | - git fetch origin master - git merge-base --is-ancestor "$GITHUB_SHA" origin/master || { echo "::error::$GITHUB_SHA is not on master"; exit 1; } - - - name: Setup Node.js - uses: actions/setup-node@v7 + - uses: actions/setup-node@v7 with: node-version: 22 cache: 'npm' - - - name: The tag is the package version - run: | - version=$(node -p "require('./package.json').version") - if [ "v$version" != "$GITHUB_REF_NAME" ]; then - echo "::error::tag $GITHUB_REF_NAME is not v$version, the package.json version; tag the commit that sets it" - exit 1 - fi - - - name: Install - run: npm ci --ignore-scripts - - - name: Verify - run: npm run verify - - - name: Log in to GHCR - env: + - run: npm ci --ignore-scripts && npm run verify + - run: npm install -g npm@11 # OIDC needs npm >= 11.5.1 + - env: GHCR_TOKEN: ${{ secrets.GITHUB_TOKEN }} run: printf '%s' "$GHCR_TOKEN" | docker login ghcr.io -u "${{ github.actor }}" --password-stdin - - - name: A released version is never rebuilt - id: guard - env: - GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} - run: | - decision=$(scripts/release-guard.sh "$GITHUB_REF_NAME" "$GITHUB_SHA") - echo "decision=$decision" >> "$GITHUB_OUTPUT" - echo "release guard: $decision" >> "$GITHUB_STEP_SUMMARY" - - - name: Build and push the images, write the record - if: steps.guard.outputs.decision == 'build' - # The cli and the kit tool that writes the recipe are the lockfile's, never a fresh resolve. - run: | - node_modules/.bin/agentage extension build --push - cat dist/agentage-extension.json - - - name: Release asset agentage-extension.json - if: steps.guard.outputs.decision == 'build' - env: + - env: GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} - run: | - if gh release view "$GITHUB_REF_NAME" >/dev/null 2>&1; then - gh release upload "$GITHUB_REF_NAME" dist/agentage-extension.json - else - gh release create "$GITHUB_REF_NAME" dist/agentage-extension.json \ - --title "$GITHUB_REF_NAME" --notes "Images by digest: agentage-extension.json" - fi - - - name: Upgrade npm - run: npm install -g npm@11 && npm --version # OIDC needs npm >= 11.5.1 - - - name: Publish to npm (skips a version already published) - env: - # A new npm name has no trusted publisher: its first publish is staged NPM_TOKEN: ${{ secrets.NPM_TOKEN }} - run: | - set -euo pipefail - if [ -n "${NPM_TOKEN:-}" ]; then - # Single quotes on purpose: npm expands ${NPM_TOKEN} itself, the token never lands on disk - echo '//registry.npmjs.org/:_authToken=${NPM_TOKEN}' >> ~/.npmrc - echo "first-publish token in use" >> "$GITHUB_STEP_SUMMARY" - fi - name=$(node -p "require('./package.json').name") - version=$(node -p "require('./package.json').version") - if npm view "${name}@${version}" version >/dev/null 2>&1; then - echo "${name}@${version} is already on npm" - exit 0 - fi - if [ -n "${NPM_TOKEN:-}" ] && ! npm view "${name}" name >/dev/null 2>&1; then - npm stage publish --access public --provenance - elif ! npm publish --access public --provenance; then - echo "direct publish of ${name}@${version} not authorized (no validated trusted publisher): staging it for approval" - npm stage publish --access public --provenance - fi - echo "published ${name}@${version}" >> "$GITHUB_STEP_SUMMARY" + run: node_modules/.bin/agentage extension release # the lockfile's cli, never a fresh resolve diff --git a/template/.repo-doctor.yml b/template/.repo-doctor.yml index e390a0b..3c9315e 100644 --- a/template/.repo-doctor.yml +++ b/template/.repo-doctor.yml @@ -2,7 +2,7 @@ class: express-service waive: - id: cicd-no-npm-token - reason: 'for extensions made from this template: their first npm publish is staged with a token until the trusted publisher exists (the template itself never releases: the guard refuses it)' + reason: 'for extensions made from this template: their first npm publish is staged with a token until the trusted publisher exists (the template itself never releases: `agentage extension release` refuses the template id)' - id: rb-published-files reason: 'no prepare-release: this repo never bumps; an extension made from it adds one with the release loop' - id: obs-kit diff --git a/template/CLAUDE.md b/template/CLAUDE.md index 2151cb8..b30d2f0 100644 --- a/template/CLAUDE.md +++ b/template/CLAUDE.md @@ -47,13 +47,14 @@ git init -b master && git add -A && git commit -m "feat: extension" - Each part has its tests beside it in `src/{part}/`. One part can go without breaking another. - Test only the lines you wrote: `check` and the kit's own tests cover the rest. - api: validate every query and body with Zod (`parse`). Answer with `ok(...)`. -- api: give each route a scope in `src/api/openapi.test.ts`, which writes `openapi.json`: +- api: give each route a scope in `src/api/openapi.test.ts`, which `openapi.json` must equal: `security: [{ pat: ['template:read'] }]`, or `security: []` for an anonymous route. - mcp: give each tool a `scope` beside its schemas. The kit names it `{id}__{name}`. -- The api reads `parts.store` from `package.json`. Without a store, `/ping` does not query. +- The api reads `ctx.extension.store`. Without a store, `/ping` does not query. - store: add a numbered file in `migrations/`. Never edit a migration that ran. -- `openapi.json` and `template.mcpc.json` are committed contracts. Tests compare them to the code. - `UPDATE_SNAPSHOT=1 npm test` writes both again. A version bump changes both. +- `openapi.json` and `template.mcpc.json` are committed contracts. `check` compares them to the code. + `npx agentage extension check --write` writes them again, then `npm run format`. + For `openapi.json` it only sets `info.version`: edit routes by hand, `openapi.test.ts` asserts them. ## 4. The loop on a laptop @@ -62,8 +63,7 @@ You need Node 22+, npm 10+, Docker, `git` and `jq`. ```bash npm run verify # type-check, lint, format, tests, build npx agentage extension check # PASS {id} {version} conforms (6 rules) -npx agentage extension up # ready N parts healthy s -scripts/image-smoke.sh "$(git rev-parse HEAD)" # PASS for each part image +npx agentage extension up # ready N parts healthy s (each /health body checked) npm run test:e2e # the widget in a browser, axe WCAG A/AA T=$(npx agentage extension token --scope template:read) curl -s -H "Authorization: Bearer $T" "localhost:4280/api/v1/echo?msg=hi" @@ -78,12 +78,14 @@ npx agentage extension down # removes this working copy's co ## 5. Release -- Set the version in `package.json` on master. Push the tag `v{version}` on that commit. -- `release.yml` then pushes the part images, attaches `agentage-extension.json` to the GitHub - release and publishes to npm. The first publish of a new npm name waits for the owner's - approval; then add `release.yml` as the trusted publisher on npmjs.com. +- Bump the version in `package.json`, run `npx agentage extension check --write`, commit, and + push the tag `v{version}` on that commit on master. +- `release.yml` (`agentage extension release`) then pushes the part images, attaches + `agentage-extension.json` to the GitHub release and publishes to npm. The first publish of a + new npm name waits for the owner's approval; then add `release.yml` as the trusted publisher + on npmjs.com. - A re-run only retries npm; a moved tag is refused. A fix is a new version. Never move a `v*` tag. -- The first release step stops the starting point itself. It passes for every other id. +- `agentage extension release` refuses the id `template` (this starting point). It passes for every other id. ## 6. The estate row diff --git a/template/eslint.config.mjs b/template/eslint.config.mjs index 6be6fa9..13a2808 100644 --- a/template/eslint.config.mjs +++ b/template/eslint.config.mjs @@ -11,7 +11,7 @@ export default [ ignores: ['dist/**', 'coverage/**', 'test-results/**'], }, { - files: ['src/**/*.{ts,tsx}', 'scripts/**/*.ts', '*.ts'], + files: ['src/**/*.{ts,tsx}', '*.ts'], languageOptions: { parser: tsParser, parserOptions: { project: './tsconfig.eslint.json' }, diff --git a/template/package-lock.json b/template/package-lock.json index 94e3cd1..e22ec9c 100644 --- a/template/package-lock.json +++ b/template/package-lock.json @@ -9,12 +9,12 @@ "version": "0.1.0", "license": "MIT", "dependencies": { - "@agentage/extension": "0.5.0", + "@agentage/extension": "0.5.1", "express": "^5.1.0", "zod": "^4.2.0" }, "devDependencies": { - "@agentage/cli": "0.44.0", + "@agentage/cli": "0.45.0", "@agentage/widget": "^0.1.1", "@axe-core/playwright": "4.14.0", "@electric-sql/pglite": "0.5.15", @@ -43,13 +43,13 @@ } }, "node_modules/@agentage/cli": { - "version": "0.44.0", - "resolved": "https://registry.npmjs.org/@agentage/cli/-/cli-0.44.0.tgz", - "integrity": "sha512-NFIlh0xOrMFkXnaufrUR3AAOERCpQ4JqZ3XNTMr4XJAvnRBygraPa+PVthH3+Xa5idN+3QKNrzb7wjMnHfGakg==", + "version": "0.45.0", + "resolved": "https://registry.npmjs.org/@agentage/cli/-/cli-0.45.0.tgz", + "integrity": "sha512-MbUwKTpEIF4X9HjF9FjUavo8Rsamw5L83UgP5WmJVOLjvuCEr8sJQq+sjxIMYiVyZ8E5w7ZA9OowTuZGcNZGow==", "dev": true, "license": "MIT", "dependencies": { - "@agentage/extension": "^0.5.0", + "@agentage/extension": "^0.5.1", "chalk": "^6.0.0", "commander": "^15.0.0", "open": "^11.0.0" @@ -94,9 +94,9 @@ } }, "node_modules/@agentage/extension": { - "version": "0.5.0", - "resolved": "https://registry.npmjs.org/@agentage/extension/-/extension-0.5.0.tgz", - "integrity": "sha512-q2gFKPcBqPqaTj0Ri3rllEDriGgkDdnNTwx4GV7zA2lfmUVEB3ZTnZJRblWXTSisHQDcelyHlB0hUsH5JWiwLw==", + "version": "0.5.1", + "resolved": "https://registry.npmjs.org/@agentage/extension/-/extension-0.5.1.tgz", + "integrity": "sha512-Nlejdj/vxpG3Fc/E0i/266KLP0uoUBOQFTZ2jedBSxVxlsliZKBjmsmvrmYq9v16YfVaH7n52ztJKlCatrKZDQ==", "license": "MIT", "dependencies": { "@modelcontextprotocol/server": "^2.4.0", diff --git a/template/package.json b/template/package.json index 6cb2e65..5956b23 100644 --- a/template/package.json +++ b/template/package.json @@ -17,7 +17,7 @@ }, "engines": { "node": ">=22", - "agentage": "^0.4 || ^0.5" + "agentage": "^0.5" }, "agentage": { "id": "template", @@ -68,12 +68,12 @@ "prepublishOnly": "npm run verify" }, "dependencies": { - "@agentage/extension": "0.5.0", + "@agentage/extension": "0.5.1", "express": "^5.1.0", "zod": "^4.2.0" }, "devDependencies": { - "@agentage/cli": "0.44.0", + "@agentage/cli": "0.45.0", "@agentage/widget": "^0.1.1", "@axe-core/playwright": "4.14.0", "@electric-sql/pglite": "0.5.15", diff --git a/template/scripts/image-smoke.sh b/template/scripts/image-smoke.sh deleted file mode 100755 index f8b05cc..0000000 --- a/template/scripts/image-smoke.sh +++ /dev/null @@ -1,26 +0,0 @@ -#!/usr/bin/env bash -# After `agentage extension up`: every part image carries this commit and its /health on loopback -# answers ok with the part's own checks. Usage: scripts/image-smoke.sh -# The compose file up rendered names its project (one per working copy), so no -p here. -set -euo pipefail - -commit="${1:?usage: scripts/image-smoke.sh }" -id=$(jq -r .agentage.id package.json) -version=$(jq -r .version package.json) -health_js="fetch('http://127.0.0.1:3000/health').then(async (r) => { process.stdout.write(await r.text()); })" -fail=0 -for part in $(jq -r '.agentage.parts | to_entries[] | select(.value != false) | .key' package.json); do - case "$part" in pages | ui | api | mcp | worker) ;; *) continue ;; esac - image="ghcr.io/agentage/$id-$part:$version" - label=$(docker inspect -f '{{index .Config.Labels "org.opencontainers.image.revision"}}' "$image") - health=$(docker compose -f .agentage/compose.json exec -T "$part" node -e "$health_js") - status=$(jq -r .data.status <<<"$health") - checks=$(jq -c .data.checks <<<"$health") - if [ "$label" = "$commit" ] && [ "$(jq -r .data.commit <<<"$health")" = "$commit" ] && [ "$status" = ok ] && [ "$(jq -r .data.part <<<"$health")" = "$part" ]; then - echo "PASS $part commit ${commit:0:12} $status $checks" - else - echo "FAIL $part label ${label:0:12} health $health" - fail=1 - fi -done -exit "$fail" diff --git a/template/scripts/release-guard.sh b/template/scripts/release-guard.sh deleted file mode 100755 index 9aa426e..0000000 --- a/template/scripts/release-guard.sh +++ /dev/null @@ -1,60 +0,0 @@ -#!/usr/bin/env bash -# A released version is never rebuilt: its images and record stay as first pushed. -# Usage: scripts/release-guard.sh . Prints `reuse` (the released record is now in -# dist/, only npm may still be missing) or `build`; exits 1 when the version cannot be released -# or when GitHub or the registry cannot say whether it was (each call is bounded by GUARD_TIMEOUT s). -set -euo pipefail - -tag="${1:?usage: scripts/release-guard.sh }" -commit="${2:?usage: scripts/release-guard.sh }" -record=dist/agentage-extension.json -id=$(jq -r .agentage.id package.json) -version="${tag#v}" -err=$(mktemp) -trap 'rm -f "$err"' EXIT -limit="${GUARD_TIMEOUT:-60}" -if ! command -v timeout >/dev/null; then - echo "release-guard: timeout (GNU coreutils) is not on PATH; it bounds every GitHub and registry call" >&2 - exit 1 -fi - -# Each call is bounded (SIGKILL 5 s after SIGTERM); a timeout reads as "cannot tell". -bounded() { - local rc=0 - timeout -k 5 "$limit" "$@" 2>"$err" || rc=$? - if [ "$rc" = 124 ] || [ "$rc" = 137 ]; then echo "timed out after $limit s" >>"$err"; fi - return "$rc" -} - -# Only "not found" means "not released"; any other failure stops the release, never rebuilds it. -not_found() { - if grep -qE "$1" "$err"; then return 0; fi - echo "release-guard: cannot tell whether $2 exists:" >&2 - cat "$err" >&2 - exit 1 -} - -if json=$(bounded gh release download "$tag" -p agentage-extension.json -O -); then - released=$(jq -r .commit <<<"$json") - if [ "$released" != "$commit" ]; then - echo "release-guard: $tag was released from $released, not $commit; a version's images never change: release a new version" >&2 - exit 1 - fi - mkdir -p dist - printf '%s\n' "$json" >"$record" - echo reuse - exit 0 -fi -not_found 'release not found|no assets match|no assets to download' "the $tag release record" - -for part in $(jq -r '.agentage.parts | to_entries[] | select(.value != false) | .key' package.json); do - case "$part" in pages | ui | api | mcp | worker) ;; *) continue ;; esac - image="ghcr.io/agentage/$id-$part:$version" - if bounded docker manifest inspect "$image" >/dev/null; then - echo "release-guard: $image is already pushed but $tag has no record; release a new version" >&2 - exit 1 - fi - # denied too: GHCR may answer it for a package that does not exist yet (a new part). - not_found 'manifest unknown|no such manifest|denied' "$image" -done -echo build diff --git a/template/scripts/release-guard.test.ts b/template/scripts/release-guard.test.ts deleted file mode 100644 index fc97199..0000000 --- a/template/scripts/release-guard.test.ts +++ /dev/null @@ -1,169 +0,0 @@ -import { execFileSync, spawnSync } from 'node:child_process'; -import { - chmodSync, - mkdtempSync, - mkdirSync, - readFileSync, - symlinkSync, - writeFileSync, -} from 'node:fs'; -import { tmpdir } from 'node:os'; -import { join } from 'node:path'; -import { describe, expect, it } from 'vitest'; - -const GUARD = new URL('./release-guard.sh', import.meta.url).pathname; -const SHA = 'a'.repeat(40); -const { id } = ( - JSON.parse(readFileSync(new URL('../package.json', import.meta.url), 'utf8')) as { - agentage: { id: string }; - } -).agentage; -const RECORD = { id, version: '0.1.0', commit: SHA, parts: {} }; -const API = `ghcr.io/agentage/${id}-api:0.1.0`; -const PAGES = `ghcr.io/agentage/${id}-pages:0.1.0`; // the first image part the guard asks about - -// gh and docker answer as the real ones do (messages checked against both); FAKE_*_ERROR overrides. -const SHIMS = { - gh: [ - '[ -n "$FAKE_GH_SLEEP" ] && sleep "$FAKE_GH_SLEEP"', - '[ -n "$FAKE_GH_ERROR" ] && { echo "$FAKE_GH_ERROR" >&2; exit 1; }', - '[ -f "$FAKE_RECORD" ] && { cat "$FAKE_RECORD"; exit 0; }', - 'echo "release not found" >&2; exit 1', - ], - docker: [ - '[ -n "$FAKE_DOCKER_SLEEP" ] && sleep "$FAKE_DOCKER_SLEEP"', - '[ -n "$FAKE_DOCKER_ERROR" ] && { echo "$FAKE_DOCKER_ERROR" >&2; exit 1; }', - 'case " $FAKE_IMAGES " in *" $3 "*) exit 0 ;; esac', - 'echo "manifest unknown" >&2; exit 1', - ], -}; - -// Only the tools the guard needs, timeout left out: how it runs on a machine without coreutils. -const pathWithoutTimeout = (dir: string): string => { - const tools = join(dir, 'tools'); - mkdirSync(tools); - for (const tool of ['bash', 'jq', 'mktemp', 'grep', 'cat', 'rm', 'mkdir']) { - const found = execFileSync('bash', ['-c', `command -v ${tool}`], { encoding: 'utf8' }).trim(); - symlinkSync(found, join(tools, tool)); - } - return `${join(dir, 'bin')}:${tools}`; -}; - -interface Released { - record?: object; - images?: string[]; - ghError?: string; - dockerError?: string; - ghSleep?: string; - dockerSleep?: string; - noTimeout?: boolean; -} - -const guard = (released: Released, args = ['v0.1.0', SHA]) => { - const dir = mkdtempSync(join(tmpdir(), 'release-guard-')); - mkdirSync(join(dir, 'bin')); - for (const [name, lines] of Object.entries(SHIMS)) { - writeFileSync(join(dir, 'bin', name), `#!/bin/sh\n${lines.join('\n')}\n`); - chmodSync(join(dir, 'bin', name), 0o755); - } - const parts = { - pages: true, - ui: true, - api: true, - mcp: true, - worker: true, - cli: true, - store: 'postgres', - }; - writeFileSync(join(dir, 'package.json'), JSON.stringify({ agentage: { id, parts } })); - const { record, images = [] } = released; - if (record) writeFileSync(join(dir, 'released.json'), `${JSON.stringify(record, null, 2)}\n`); - const env = { - ...process.env, - PATH: released.noTimeout - ? pathWithoutTimeout(dir) - : `${join(dir, 'bin')}:${process.env['PATH'] ?? ''}`, - FAKE_RECORD: join(dir, 'released.json'), - FAKE_IMAGES: images.join(' '), - FAKE_GH_ERROR: released.ghError ?? '', - FAKE_DOCKER_ERROR: released.dockerError ?? '', - FAKE_GH_SLEEP: released.ghSleep ?? '', - FAKE_DOCKER_SLEEP: released.dockerSleep ?? '', - GUARD_TIMEOUT: '1', - }; - const bash = released.noTimeout ? join(dir, 'tools', 'bash') : 'bash'; - const run = spawnSync(bash, [GUARD, ...args], { cwd: dir, env, encoding: 'utf8' }); - return { dir, code: run.status, out: run.stdout.trim(), err: run.stderr.trim() }; -}; - -describe('release guard', () => { - it('builds a version with no release and no image', () => { - expect(guard({})).toMatchObject({ code: 0, out: 'build', err: '' }); - }); - - it('builds when the release exists with no record yet (a fresh tag)', () => { - expect(guard({ ghError: 'no assets to download' })).toMatchObject({ code: 0, out: 'build' }); - }); - - it('builds the first image of a part when the registry denies a package it has never seen', () => { - expect( - guard({ dockerError: 'Get "https://ghcr.io/v2/x/manifests/0.1.0": denied' }) - ).toMatchObject({ code: 0, out: 'build' }); - }); - - it('reuses the released record on a re-run of the same commit', () => { - const run = guard({ record: RECORD, images: [API] }); - expect(run).toMatchObject({ code: 0, out: 'reuse' }); - const kept = readFileSync(join(run.dir, 'dist', 'agentage-extension.json'), 'utf8'); - expect(kept).toBe(`${JSON.stringify(RECORD, null, 2)}\n`); - }); - - it('refuses a tag moved to another commit', () => { - const run = guard({ record: RECORD }, ['v0.1.0', 'b'.repeat(40)]); - expect(run.code).toBe(1); - expect(run.err).toContain(`v0.1.0 was released from ${SHA}`); - }); - - it('refuses an image already pushed without a record, whichever part it is', () => { - for (const image of [API, `ghcr.io/agentage/${id}-worker:0.1.0`]) { - const run = guard({ images: [image] }); - expect(run).toMatchObject({ code: 1, out: '' }); - expect(run.err).toBe( - `release-guard: ${image} is already pushed but v0.1.0 has no record; release a new version` - ); - } - }); - - it('stops when GitHub or the registry cannot answer, instead of rebuilding', () => { - const gh = guard({ ghError: 'HTTP 401: Bad credentials' }); - expect(gh).toMatchObject({ code: 1, out: '' }); - expect(gh.err).toContain('cannot tell whether the v0.1.0 release record exists'); - expect(gh.err).toContain('HTTP 401: Bad credentials'); - const registry = guard({ dockerError: 'received unexpected HTTP status: 503' }); - expect(registry).toMatchObject({ code: 1, out: '' }); - expect(registry.err).toContain(`cannot tell whether ${PAGES} exists`); - }); - - it('stops on a GitHub or registry call that hangs, naming the timeout', () => { - const gh = guard({ ghSleep: '5' }); - expect(gh).toMatchObject({ code: 1, out: '' }); - expect(gh.err).toContain('cannot tell whether the v0.1.0 release record exists'); - expect(gh.err).toContain('timed out after 1 s'); - const registry = guard({ dockerSleep: '5' }); - expect(registry).toMatchObject({ code: 1, out: '' }); - expect(registry.err).toContain(`cannot tell whether ${PAGES} exists`); - expect(registry.err).toContain('timed out after 1 s'); - }); - - it('refuses to run where timeout is missing, rather than call GitHub unbounded', () => { - const run = guard({ noTimeout: true }); - expect(run).toMatchObject({ code: 1, out: '' }); - expect(run.err).toContain('timeout (GNU coreutils) is not on PATH'); - }); - - it('says how to call it', () => { - const run = guard({}, ['v0.1.0']); - expect(run).toMatchObject({ code: 1, out: '' }); - expect(run.err).toContain('usage: scripts/release-guard.sh '); - }); -}); diff --git a/template/src/api/index.test.ts b/template/src/api/index.test.ts index 406182c..8a973d2 100644 --- a/template/src/api/index.test.ts +++ b/template/src/api/index.test.ts @@ -1,4 +1,3 @@ -import type fs from 'node:fs'; import { readFileSync } from 'node:fs'; import { createTestContext, @@ -7,7 +6,7 @@ import { type PartContext, type Store, } from '@agentage/extension'; -import { afterAll, beforeAll, describe, expect, it, vi } from 'vitest'; +import { afterAll, beforeAll, describe, expect, it } from 'vitest'; import { create } from './index.js'; const { agentage } = JSON.parse( @@ -40,16 +39,8 @@ describe('GET /api/v1/echo', () => { }); }); -// The api reads parts.store from package.json at import: each manifest gets a fresh module. -const ping = async (parts: object, ctx: PartContext = createTestContext()) => { - vi.resetModules(); - vi.doMock('node:fs', async (real) => ({ - ...(await real()), - readFileSync: () => JSON.stringify({ agentage: { parts } }), - })); - const api = await import('./index.js'); - vi.doUnmock('node:fs'); - const one = await startTestServer({ create: api.create, ctx }); +const ping = async (ctx: PartContext) => { + const one = await startTestServer({ create, ctx }); const body: unknown = await (await one.fetch('/api/v1/ping')).json(); await one.close(); return body; @@ -58,12 +49,13 @@ const ping = async (parts: object, ctx: PartContext = createTestContext()) => { describe('GET /api/v1/ping', () => { it('counts the rows of pings when the manifest keeps the store', async () => { const counted = { query: async () => ({ rows: [{ n: 3 }] }) } as Store; - const body = await ping({ store: 'postgres' }, { ...createTestContext(), store: counted }); + const ctx = createTestContext({ extension: { store: 'postgres' } }); + const body = await ping({ ...ctx, store: counted }); expect(body).toEqual(ok({ msg: 'pong', pings: 3 })); }); it('answers pings null without a store', async () => { - expect(await ping({})).toEqual(ok({ msg: 'pong', pings: null })); + expect(await ping(createTestContext())).toEqual(ok({ msg: 'pong', pings: null })); }); it.runIf(store)('counts the seeded row: the migration and the seed ran', async () => { diff --git a/template/src/api/index.ts b/template/src/api/index.ts index ee99657..19fc12d 100644 --- a/template/src/api/index.ts +++ b/template/src/api/index.ts @@ -1,13 +1,7 @@ -import { readFileSync } from 'node:fs'; import { Router } from 'express'; import { ok, parse, type PartContext } from '@agentage/extension'; import { EchoSchema } from './echo.schema.js'; -// Without parts.store in package.json the ping route never queries. -const { agentage } = JSON.parse( - readFileSync(new URL('../../package.json', import.meta.url), 'utf8') -) as { agentage: { parts: { store?: string } } }; - const countPings = async ({ store }: PartContext) => { const { rows } = await store.query<{ n: number }>('select count(*)::int as n from pings'); const [{ n }] = rows as [{ n: number }]; // count(*) answers one row @@ -22,7 +16,7 @@ export function create(ctx: PartContext) { res.json(ok({ msg, caller: ctx.auth.caller(req)?.sub })); }); router.get('/ping', async (_req, res) => { - res.json(ok({ msg: 'pong', pings: agentage.parts.store ? await countPings(ctx) : null })); + res.json(ok({ msg: 'pong', pings: ctx.extension.store ? await countPings(ctx) : null })); }); return router; } diff --git a/template/src/api/openapi.test.ts b/template/src/api/openapi.test.ts index f78b35a..23bd179 100644 --- a/template/src/api/openapi.test.ts +++ b/template/src/api/openapi.test.ts @@ -1,4 +1,4 @@ -import { readFileSync, writeFileSync } from 'node:fs'; +import { readFileSync } from 'node:fs'; import { ErrorEnvelopeSchema } from '@agentage/extension'; import { describe, expect, it } from 'vitest'; import { z } from 'zod'; @@ -76,8 +76,6 @@ const generated = () => ({ describe('openapi.json', () => { it('equals what the Zod schemas generate', () => { - if (process.env['UPDATE_SNAPSHOT']) - writeFileSync(FILE, `${JSON.stringify(generated(), null, 2)}\n`); expect(JSON.parse(readFileSync(FILE, 'utf8'))).toEqual(generated()); }); }); diff --git a/template/src/mcp/index.test.ts b/template/src/mcp/index.test.ts index 8609dc8..fdd5127 100644 --- a/template/src/mcp/index.test.ts +++ b/template/src/mcp/index.test.ts @@ -1,11 +1,5 @@ -import { readFileSync, writeFileSync } from 'node:fs'; -import { - canonical, - createTestContext, - mcpSnapshot, - PROTOCOL_VERSIONS, - startTestMcp, -} from '@agentage/extension'; +import { readFileSync } from 'node:fs'; +import { createTestContext, startTestMcp } from '@agentage/extension'; import { afterAll, beforeAll, describe, expect, it } from 'vitest'; import { create } from './index.js'; @@ -13,22 +7,12 @@ const { version, agentage } = JSON.parse( readFileSync(new URL('../../package.json', import.meta.url), 'utf8') ) as { version: string; agentage: { id: string } }; const { id } = agentage; -const SNAPSHOT = new URL(`../../${id}.mcpc.json`, import.meta.url); let server: Awaited>; beforeAll(async () => { server = await startTestMcp({ create, ctx: createTestContext({ extension: { id, version } }) }); }); afterAll(() => server.close()); -describe(`${id}.mcpc.json`, () => { - it.each(PROTOCOL_VERSIONS)('a %s client lists exactly the committed snapshot', async (proto) => { - const snapshot = await mcpSnapshot(`${server.url}/mcp`, proto); - if (process.env['UPDATE_SNAPSHOT']) - writeFileSync(SNAPSHOT, `${JSON.stringify(snapshot, null, 2)}\n`); - expect(snapshot).toEqual(canonical(JSON.parse(readFileSync(SNAPSHOT, 'utf8')))); - }); -}); - describe(`${id}__echo`, () => { it('declares scope read', () => { const ctx = createTestContext(); @@ -37,22 +21,6 @@ describe(`${id}__echo`, () => { }); it('answers pong and the message', async () => { - const res = await server.fetch('/mcp', { - method: 'POST', - headers: { - 'content-type': 'application/json', - accept: 'application/json, text/event-stream', - }, - body: JSON.stringify({ - jsonrpc: '2.0', - id: 1, - method: 'tools/call', - params: { name: `${id}__echo`, arguments: { msg: 'hi' } }, - }), - }); - const data = (await res.text()).split('\n').find((line) => line.startsWith('data:')) ?? ''; - expect(JSON.parse(data.slice(5))).toMatchObject({ - result: { structuredContent: { msg: 'pong hi' } }, - }); + expect(await server.call('echo', { msg: 'hi' })).toEqual({ msg: 'pong hi' }); }); }); diff --git a/template/src/worker/index.test.ts b/template/src/worker/index.test.ts index a7682ce..a19b355 100644 --- a/template/src/worker/index.test.ts +++ b/template/src/worker/index.test.ts @@ -3,10 +3,16 @@ import { describe, expect, it } from 'vitest'; import { create } from './index.js'; describe('worker tick', () => { - it('logs tick into its run within the 30 s timeout', async () => { + it('runs every minute with a 30 s timeout', () => { + const ctx = createTestContext(); + create(ctx); + expect(ctx.jobs).toEqual([{ name: 'tick', cron: '* * * * *', options: { timeout: '30s' } }]); + }); + + it('logs tick into its run', async () => { const ctx = createTestContext(); create(ctx); const run = await ctx.runJob('tick'); - expect(run).toMatchObject({ job: 'tick', status: 'ok', log: 'info tick\n', timeoutMs: 30_000 }); + expect(run).toMatchObject({ job: 'tick', status: 'ok', log: 'info tick\n' }); }); }); diff --git a/template/tsconfig.eslint.json b/template/tsconfig.eslint.json index 8d33f38..e2046c5 100644 --- a/template/tsconfig.eslint.json +++ b/template/tsconfig.eslint.json @@ -3,5 +3,5 @@ "compilerOptions": { "rootDir": "." }, - "include": ["src", "scripts", "vitest.config.ts", "playwright.config.ts"] + "include": ["src", "vitest.config.ts", "playwright.config.ts"] } diff --git a/template/vitest.config.ts b/template/vitest.config.ts index 9d6bfcd..c9298da 100644 --- a/template/vitest.config.ts +++ b/template/vitest.config.ts @@ -2,7 +2,7 @@ import { defineConfig } from 'vitest/config'; export default defineConfig({ test: { - include: ['src/**/*.test.ts', 'scripts/**/*.test.ts'], + include: ['src/**/*.test.ts'], coverage: { provider: 'v8', include: ['src/**/*.ts'], From b7472940222a7f36d5f61fb811cb250d983130e3 Mon Sep 17 00:00:00 2001 From: Volodymyr Vreshch Date: Sun, 8 Nov 2026 11:17:54 +0100 Subject: [PATCH 06/38] refactor(api): adopt kit 0.6 (ctx.route, generated openapi) (#5) * refactor(api): adopt kit 0.6 ctx.route and the generated contract Claude-Session: https://claude.ai/code/session_01XQkodjcXRj9XV1ZhGuYQQr * chore(deps): pin cli 0.46.0, regenerate openapi.json Claude-Session: https://claude.ai/code/session_01XQkodjcXRj9XV1ZhGuYQQr --- template/CLAUDE.md | 13 ++--- template/openapi.json | 24 +++------- template/package-lock.json | 20 ++++---- template/package.json | 6 +-- template/src/api/echo.schema.ts | 5 -- template/src/api/index.test.ts | 11 ++--- template/src/api/index.ts | 31 ++++++------ template/src/api/openapi.test.ts | 81 -------------------------------- template/src/mcp/index.test.ts | 9 +--- 9 files changed, 48 insertions(+), 152 deletions(-) delete mode 100644 template/src/api/echo.schema.ts delete mode 100644 template/src/api/openapi.test.ts diff --git a/template/CLAUDE.md b/template/CLAUDE.md index b30d2f0..616cbc4 100644 --- a/template/CLAUDE.md +++ b/template/CLAUDE.md @@ -46,15 +46,16 @@ git init -b master && git add -A && git commit -m "feat: extension" - Never use `listen()`, the `process` global, a token check or an absolute agentage URL in `src/`. - Each part has its tests beside it in `src/{part}/`. One part can go without breaking another. - Test only the lines you wrote: `check` and the kit's own tests cover the rest. -- api: validate every query and body with Zod (`parse`). Answer with `ok(...)`. -- api: give each route a scope in `src/api/openapi.test.ts`, which `openapi.json` must equal: - `security: [{ pat: ['template:read'] }]`, or `security: []` for an anonymous route. +- api: declare each route with `route(method, path, { summary, scope?, input?, output? }, handler)`. + The scope is `read` (the default), `write`, `admin` or `public` (anonymous). `input` is read + from the query on get and delete and from the body otherwise: use `z.coerce` for numbers. + The handler returns the data; the kit answers `ok(...)`. - mcp: give each tool a `scope` beside its schemas. The kit names it `{id}__{name}`. - The api reads `ctx.extension.store`. Without a store, `/ping` does not query. - store: add a numbered file in `migrations/`. Never edit a migration that ran. -- `openapi.json` and `template.mcpc.json` are committed contracts. `check` compares them to the code. - `npx agentage extension check --write` writes them again, then `npm run format`. - For `openapi.json` it only sets `info.version`: edit routes by hand, `openapi.test.ts` asserts them. +- `openapi.json` and `template.mcpc.json` are committed contracts, generated from the routes and + tools. `check` compares them to the code. After a change, run `npm run build`, + `npx agentage extension check --write`, then `npm run format`. ## 4. The loop on a laptop diff --git a/template/openapi.json b/template/openapi.json index 92463c2..8d2bf9e 100644 --- a/template/openapi.json +++ b/template/openapi.json @@ -15,7 +15,7 @@ "paths": { "/api/v1/echo": { "get": { - "operationId": "echo", + "summary": "Echo msg", "security": [ { "pat": ["template:read"] @@ -55,14 +55,8 @@ "type": "string" } }, - "required": ["msg", "caller"] - }, - "meta": { - "type": "object", - "propertyNames": { - "type": "string" - }, - "additionalProperties": {} + "required": ["msg", "caller"], + "additionalProperties": false } }, "required": ["success", "data"] @@ -139,7 +133,7 @@ }, "/api/v1/ping": { "get": { - "operationId": "ping", + "summary": "Answer pong", "security": [], "responses": { "200": { @@ -172,14 +166,8 @@ ] } }, - "required": ["msg", "pings"] - }, - "meta": { - "type": "object", - "propertyNames": { - "type": "string" - }, - "additionalProperties": {} + "required": ["msg", "pings"], + "additionalProperties": false } }, "required": ["success", "data"] diff --git a/template/package-lock.json b/template/package-lock.json index e22ec9c..4f88f62 100644 --- a/template/package-lock.json +++ b/template/package-lock.json @@ -9,12 +9,12 @@ "version": "0.1.0", "license": "MIT", "dependencies": { - "@agentage/extension": "0.5.1", + "@agentage/extension": "0.6.0", "express": "^5.1.0", "zod": "^4.2.0" }, "devDependencies": { - "@agentage/cli": "0.45.0", + "@agentage/cli": "0.46.0", "@agentage/widget": "^0.1.1", "@axe-core/playwright": "4.14.0", "@electric-sql/pglite": "0.5.15", @@ -38,18 +38,18 @@ "vitest": "5.1.0" }, "engines": { - "agentage": "^0.4 || ^0.5", + "agentage": "^0.6", "node": ">=22" } }, "node_modules/@agentage/cli": { - "version": "0.45.0", - "resolved": "https://registry.npmjs.org/@agentage/cli/-/cli-0.45.0.tgz", - "integrity": "sha512-MbUwKTpEIF4X9HjF9FjUavo8Rsamw5L83UgP5WmJVOLjvuCEr8sJQq+sjxIMYiVyZ8E5w7ZA9OowTuZGcNZGow==", + "version": "0.46.0", + "resolved": "https://registry.npmjs.org/@agentage/cli/-/cli-0.46.0.tgz", + "integrity": "sha512-0oJCDCH/oFmpyJZL0YlqxKH3ug6/2m3vi18/X6gBT5t+SCVUk+zdDraO/ylBiHuvLkEnYdbpKFCSfSHq5ic42Q==", "dev": true, "license": "MIT", "dependencies": { - "@agentage/extension": "^0.5.1", + "@agentage/extension": "^0.6.0", "chalk": "^6.0.0", "commander": "^15.0.0", "open": "^11.0.0" @@ -94,9 +94,9 @@ } }, "node_modules/@agentage/extension": { - "version": "0.5.1", - "resolved": "https://registry.npmjs.org/@agentage/extension/-/extension-0.5.1.tgz", - "integrity": "sha512-Nlejdj/vxpG3Fc/E0i/266KLP0uoUBOQFTZ2jedBSxVxlsliZKBjmsmvrmYq9v16YfVaH7n52ztJKlCatrKZDQ==", + "version": "0.6.0", + "resolved": "https://registry.npmjs.org/@agentage/extension/-/extension-0.6.0.tgz", + "integrity": "sha512-cziFYiSaTlHLWE+3GSY20Q7nUdZO+n5tW11hdqYxWMDGjJITaFaSJYXRmNoB4WOdpwFEHLNEhUhyVFTDsm5OBQ==", "license": "MIT", "dependencies": { "@modelcontextprotocol/server": "^2.4.0", diff --git a/template/package.json b/template/package.json index 5956b23..7b2894e 100644 --- a/template/package.json +++ b/template/package.json @@ -17,7 +17,7 @@ }, "engines": { "node": ">=22", - "agentage": "^0.5" + "agentage": "^0.6" }, "agentage": { "id": "template", @@ -68,12 +68,12 @@ "prepublishOnly": "npm run verify" }, "dependencies": { - "@agentage/extension": "0.5.1", + "@agentage/extension": "0.6.0", "express": "^5.1.0", "zod": "^4.2.0" }, "devDependencies": { - "@agentage/cli": "0.45.0", + "@agentage/cli": "0.46.0", "@agentage/widget": "^0.1.1", "@axe-core/playwright": "4.14.0", "@electric-sql/pglite": "0.5.15", diff --git a/template/src/api/echo.schema.ts b/template/src/api/echo.schema.ts deleted file mode 100644 index 010af75..0000000 --- a/template/src/api/echo.schema.ts +++ /dev/null @@ -1,5 +0,0 @@ -import { z } from 'zod'; - -export const EchoSchema = z.object({ - msg: z.string().min(1).max(200), -}); diff --git a/template/src/api/index.test.ts b/template/src/api/index.test.ts index 8a973d2..662b96c 100644 --- a/template/src/api/index.test.ts +++ b/template/src/api/index.test.ts @@ -1,4 +1,3 @@ -import { readFileSync } from 'node:fs'; import { createTestContext, ok, @@ -9,11 +8,8 @@ import { import { afterAll, beforeAll, describe, expect, it } from 'vitest'; import { create } from './index.js'; -const { agentage } = JSON.parse( - readFileSync(new URL('../../package.json', import.meta.url), 'utf8') -) as { agentage: { parts: { store?: string } } }; -const store = Boolean(agentage.parts.store); -const ctx = createTestContext({ store }); +const ctx = createTestContext(); +const { store } = ctx.extension; let server: Awaited>; // The store boots (WASM, migrations, seed) on first use: here, not inside a test's 5 s. beforeAll(async () => { @@ -55,7 +51,8 @@ describe('GET /api/v1/ping', () => { }); it('answers pings null without a store', async () => { - expect(await ping(createTestContext())).toEqual(ok({ msg: 'pong', pings: null })); + const body = await ping(createTestContext({ store: false })); + expect(body).toEqual(ok({ msg: 'pong', pings: null })); }); it.runIf(store)('counts the seeded row: the migration and the seed ran', async () => { diff --git a/template/src/api/index.ts b/template/src/api/index.ts index 19fc12d..2aff00e 100644 --- a/template/src/api/index.ts +++ b/template/src/api/index.ts @@ -1,22 +1,23 @@ -import { Router } from 'express'; -import { ok, parse, type PartContext } from '@agentage/extension'; -import { EchoSchema } from './echo.schema.js'; +import { z } from 'zod'; +import { type ApiContext, type Store } from '@agentage/extension'; -const countPings = async ({ store }: PartContext) => { +const countPings = async (store: Store) => { const { rows } = await store.query<{ n: number }>('select count(*)::int as n from pings'); const [{ n }] = rows as [{ n: number }]; // count(*) answers one row return n; }; -// Mounted at /api/v1; openapi.json declares each route's scope. -export function create(ctx: PartContext) { - const router = Router(); - router.get('/echo', (req, res) => { - const { msg } = parse(EchoSchema, req.query, 'Invalid query'); - res.json(ok({ msg, caller: ctx.auth.caller(req)?.sub })); - }); - router.get('/ping', async (_req, res) => { - res.json(ok({ msg: 'pong', pings: ctx.extension.store ? await countPings(ctx) : null })); - }); - return router; +// Mounted at /api/v1; openapi.json is generated from these routes. +export function create({ route, store, extension }: ApiContext) { + const input = z.object({ msg: z.string().min(1).max(200) }); + const output = z.object({ msg: z.string(), caller: z.string() }); + route('get', '/echo', { summary: 'Echo msg', input, output }, (req) => ({ + msg: req.input.msg, + caller: req.caller.sub, + })); + const pong = z.object({ msg: z.string(), pings: z.int().nullable() }); + route('get', '/ping', { summary: 'Answer pong', scope: 'public', output: pong }, async () => ({ + msg: 'pong', + pings: extension.store ? await countPings(store) : null, + })); } diff --git a/template/src/api/openapi.test.ts b/template/src/api/openapi.test.ts deleted file mode 100644 index 23bd179..0000000 --- a/template/src/api/openapi.test.ts +++ /dev/null @@ -1,81 +0,0 @@ -import { readFileSync } from 'node:fs'; -import { ErrorEnvelopeSchema } from '@agentage/extension'; -import { describe, expect, it } from 'vitest'; -import { z } from 'zod'; -import { EchoSchema } from './echo.schema.js'; - -const FILE = new URL('../../openapi.json', import.meta.url); -const { version, agentage } = JSON.parse( - readFileSync(new URL('../../package.json', import.meta.url), 'utf8') -) as { version: string; agentage: { id: string } }; -const { id } = agentage; - -const json = (schema: z.ZodType): Record => { - const doc = { ...(z.toJSONSchema(schema, { io: 'input' }) as Record) }; - delete doc['$schema']; - return doc; -}; - -const parameters = (schema: z.ZodObject) => { - const { properties = {}, required = [] } = json(schema) as { - properties?: Record; - required?: string[]; - }; - return Object.entries(properties).map(([name, s]) => ({ - name, - in: 'query', - required: required.includes(name), - schema: s, - })); -}; - -const ok = (data: z.ZodType) => ({ - description: 'the envelope', - content: { - 'application/json': { - schema: json( - z.object({ - success: z.literal(true), - data, - meta: z.record(z.string(), z.unknown()).optional(), - }) - ), - }, - }, -}); - -const invalid = { - description: 'VALIDATION_ERROR', - content: { 'application/json': { schema: json(ErrorEnvelopeSchema) } }, -}; - -// The api's contract, generated from its Zod schemas; the kit serves the committed copy. -const generated = () => ({ - openapi: '3.1.0', - info: { title: id, version }, - components: { securitySchemes: { pat: { type: 'http', scheme: 'bearer' } } }, - // The only place a route names its scope; the kit asks for it before the route runs. - paths: { - '/api/v1/echo': { - get: { - operationId: 'echo', - security: [{ pat: [`${id}:read`] }], - parameters: parameters(EchoSchema), - responses: { '200': ok(z.object({ msg: z.string(), caller: z.string() })), '400': invalid }, - }, - }, - '/api/v1/ping': { - get: { - operationId: 'ping', - security: [], - responses: { '200': ok(z.object({ msg: z.string(), pings: z.int().nullable() })) }, - }, - }, - }, -}); - -describe('openapi.json', () => { - it('equals what the Zod schemas generate', () => { - expect(JSON.parse(readFileSync(FILE, 'utf8'))).toEqual(generated()); - }); -}); diff --git a/template/src/mcp/index.test.ts b/template/src/mcp/index.test.ts index fdd5127..b3cd71e 100644 --- a/template/src/mcp/index.test.ts +++ b/template/src/mcp/index.test.ts @@ -1,19 +1,14 @@ -import { readFileSync } from 'node:fs'; import { createTestContext, startTestMcp } from '@agentage/extension'; import { afterAll, beforeAll, describe, expect, it } from 'vitest'; import { create } from './index.js'; -const { version, agentage } = JSON.parse( - readFileSync(new URL('../../package.json', import.meta.url), 'utf8') -) as { version: string; agentage: { id: string } }; -const { id } = agentage; let server: Awaited>; beforeAll(async () => { - server = await startTestMcp({ create, ctx: createTestContext({ extension: { id, version } }) }); + server = await startTestMcp({ create, ctx: createTestContext() }); }); afterAll(() => server.close()); -describe(`${id}__echo`, () => { +describe('template__echo', () => { it('declares scope read', () => { const ctx = createTestContext(); create(ctx); From 24ad582b01fcc49bd6eb4900f2fbbc91eb20cf30 Mon Sep 17 00:00:00 2001 From: Volodymyr Vreshch Date: Sun, 8 Nov 2026 12:39:15 +0100 Subject: [PATCH 07/38] fix(docs): keep starting-point prose free of the template id (#6) Claude-Session: https://claude.ai/code/session_01XQkodjcXRj9XV1ZhGuYQQr --- template/.github/workflows/release.yml | 2 +- template/.repo-doctor.yml | 2 +- template/CLAUDE.md | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/template/.github/workflows/release.yml b/template/.github/workflows/release.yml index a9a69ef..8a251ab 100644 --- a/template/.github/workflows/release.yml +++ b/template/.github/workflows/release.yml @@ -1,6 +1,6 @@ name: Release -# A v* tag: agentage extension release refuses the template, a commit off master and a tag that is +# A v* tag: agentage extension release refuses the starting-point id, a commit off master and a tag that is # not the version, keeps a released version (re-run = npm only), then pushes the images, attaches # agentage-extension.json to the release and publishes to npm with OIDC (npm = this file). on: diff --git a/template/.repo-doctor.yml b/template/.repo-doctor.yml index 3c9315e..e966a44 100644 --- a/template/.repo-doctor.yml +++ b/template/.repo-doctor.yml @@ -2,7 +2,7 @@ class: express-service waive: - id: cicd-no-npm-token - reason: 'for extensions made from this template: their first npm publish is staged with a token until the trusted publisher exists (the template itself never releases: `agentage extension release` refuses the template id)' + reason: 'the first npm publish of an extension is staged with a token until the trusted publisher exists (the starting-point repo never releases: `agentage extension release` refuses its id)' - id: rb-published-files reason: 'no prepare-release: this repo never bumps; an extension made from it adds one with the release loop' - id: obs-kit diff --git a/template/CLAUDE.md b/template/CLAUDE.md index 616cbc4..0437354 100644 --- a/template/CLAUDE.md +++ b/template/CLAUDE.md @@ -86,7 +86,7 @@ npx agentage extension down # removes this working copy's co new npm name waits for the owner's approval; then add `release.yml` as the trusted publisher on npmjs.com. - A re-run only retries npm; a moved tag is refused. A fix is a new version. Never move a `v*` tag. -- `agentage extension release` refuses the id `template` (this starting point). It passes for every other id. +- `agentage extension release` refuses the id of the repo this one was copied from, and passes for every other id. ## 6. The estate row From d5170484933b263dc92203993d50ad402812e590 Mon Sep 17 00:00:00 2001 From: Volodymyr Vreshch Date: Sun, 8 Nov 2026 13:30:56 +0100 Subject: [PATCH 08/38] fix(release): pin npm to 11.21.2 for the OIDC publish (#7) Claude-Session: https://claude.ai/code/session_01XQkodjcXRj9XV1ZhGuYQQr --- template/.github/workflows/release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/template/.github/workflows/release.yml b/template/.github/workflows/release.yml index 8a251ab..25bbd17 100644 --- a/template/.github/workflows/release.yml +++ b/template/.github/workflows/release.yml @@ -30,7 +30,7 @@ jobs: node-version: 22 cache: 'npm' - run: npm ci --ignore-scripts && npm run verify - - run: npm install -g npm@11 # OIDC needs npm >= 11.5.1 + - run: npm install -g npm@11.21.2 # OIDC needs npm >= 11.5.1; 11.21.2 published probe 0.5.2 - env: GHCR_TOKEN: ${{ secrets.GITHUB_TOKEN }} run: printf '%s' "$GHCR_TOKEN" | docker login ghcr.io -u "${{ github.actor }}" --password-stdin From c724a94800f1723fe563df79f66542b7e4ecc628 Mon Sep 17 00:00:00 2001 From: Volodymyr Vreshch Date: Sun, 8 Nov 2026 17:04:56 +0100 Subject: [PATCH 09/38] chore(deps): kit 0.7.0 (#8) Claude-Session: https://claude.ai/code/session_01XQkodkYzdd9TrLYK3RbzNd --- template/openapi.json | 135 ++++++++++++++++++++++--------------- template/package-lock.json | 18 ++--- template/package.json | 9 +-- 3 files changed, 94 insertions(+), 68 deletions(-) diff --git a/template/openapi.json b/template/openapi.json index 8d2bf9e..2e5c851 100644 --- a/template/openapi.json +++ b/template/openapi.json @@ -10,6 +10,65 @@ "type": "http", "scheme": "bearer" } + }, + "schemas": { + "Error": { + "type": "object", + "properties": { + "success": { + "type": "boolean", + "const": false + }, + "error": { + "type": "object", + "properties": { + "code": { + "type": "string", + "enum": [ + "VALIDATION_ERROR", + "UNAUTHORIZED", + "FORBIDDEN", + "NOT_FOUND", + "CONFLICT", + "PRECONDITION_FAILED", + "PAYLOAD_TOO_LARGE", + "RATE_LIMITED", + "INTERNAL", + "UNAVAILABLE" + ] + }, + "message": { + "type": "string", + "minLength": 1 + }, + "agcid": { + "type": "string", + "pattern": "^[A-Za-z0-9._:-]{8,128}$" + }, + "details": { + "type": "array", + "items": { + "type": "object", + "properties": { + "field": { + "type": "string" + }, + "message": { + "type": "string" + } + }, + "required": ["field", "message"], + "additionalProperties": false + } + } + }, + "required": ["code", "message", "agcid"], + "additionalProperties": false + } + }, + "required": ["success", "error"], + "additionalProperties": false + } } }, "paths": { @@ -69,61 +128,27 @@ "content": { "application/json": { "schema": { - "type": "object", - "properties": { - "success": { - "type": "boolean", - "const": false - }, - "error": { - "type": "object", - "properties": { - "code": { - "type": "string", - "enum": [ - "VALIDATION_ERROR", - "UNAUTHORIZED", - "FORBIDDEN", - "NOT_FOUND", - "CONFLICT", - "PRECONDITION_FAILED", - "PAYLOAD_TOO_LARGE", - "RATE_LIMITED", - "INTERNAL", - "UNAVAILABLE" - ] - }, - "message": { - "type": "string", - "minLength": 1 - }, - "agcid": { - "type": "string", - "pattern": "^[A-Za-z0-9._:-]{8,128}$" - }, - "details": { - "type": "array", - "items": { - "type": "object", - "properties": { - "field": { - "type": "string" - }, - "message": { - "type": "string" - } - }, - "required": ["field", "message"], - "additionalProperties": false - } - } - }, - "required": ["code", "message", "agcid"], - "additionalProperties": false - } - }, - "required": ["success", "error"], - "additionalProperties": false + "$ref": "#/components/schemas/Error" + } + } + } + }, + "401": { + "description": "UNAUTHORIZED", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "403": { + "description": "FORBIDDEN", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" } } } diff --git a/template/package-lock.json b/template/package-lock.json index 4f88f62..11181df 100644 --- a/template/package-lock.json +++ b/template/package-lock.json @@ -9,13 +9,13 @@ "version": "0.1.0", "license": "MIT", "dependencies": { - "@agentage/extension": "0.6.0", + "@agentage/extension": "0.7.0", "express": "^5.1.0", "zod": "^4.2.0" }, "devDependencies": { "@agentage/cli": "0.46.0", - "@agentage/widget": "^0.1.1", + "@agentage/widget": "^0.3.0", "@axe-core/playwright": "4.14.0", "@electric-sql/pglite": "0.5.15", "@playwright/test": "1.64.1", @@ -38,7 +38,7 @@ "vitest": "5.1.0" }, "engines": { - "agentage": "^0.6", + "agentage": "^0.7", "node": ">=22" } }, @@ -94,9 +94,9 @@ } }, "node_modules/@agentage/extension": { - "version": "0.6.0", - "resolved": "https://registry.npmjs.org/@agentage/extension/-/extension-0.6.0.tgz", - "integrity": "sha512-cziFYiSaTlHLWE+3GSY20Q7nUdZO+n5tW11hdqYxWMDGjJITaFaSJYXRmNoB4WOdpwFEHLNEhUhyVFTDsm5OBQ==", + "version": "0.7.0", + "resolved": "https://registry.npmjs.org/@agentage/extension/-/extension-0.7.0.tgz", + "integrity": "sha512-SSRBObjeNFE5rKj9wpu3aXiDQLtsfUX01o8OZPofPDDPXo9peAAwbq9Wsnyb4rek9eLSDsAQhg9ffkasHwX47g==", "license": "MIT", "dependencies": { "@modelcontextprotocol/server": "^2.4.0", @@ -124,9 +124,9 @@ } }, "node_modules/@agentage/widget": { - "version": "0.1.1", - "resolved": "https://registry.npmjs.org/@agentage/widget/-/widget-0.1.1.tgz", - "integrity": "sha512-ps893b7FzoWp32J2WiScP42F+x52i/tm6ufkVkngUIsi57R0SIFkdcxK5U9ADHWJEsO8DmWfxUaS8RohOX6xPA==", + "version": "0.3.0", + "resolved": "https://registry.npmjs.org/@agentage/widget/-/widget-0.3.0.tgz", + "integrity": "sha512-MwMJt+PUIQ+/6yC5rEdA3NmqD8cJQ/IzGrNxMaxC1UyBQLiYPf9ZSkooG3bgWLp02ky+PFR57htE/sy3XrzyCg==", "dev": true, "license": "MIT", "dependencies": { diff --git a/template/package.json b/template/package.json index 7b2894e..706bad7 100644 --- a/template/package.json +++ b/template/package.json @@ -17,7 +17,7 @@ }, "engines": { "node": ">=22", - "agentage": "^0.6" + "agentage": "^0.7" }, "agentage": { "id": "template", @@ -68,13 +68,13 @@ "prepublishOnly": "npm run verify" }, "dependencies": { - "@agentage/extension": "0.6.0", + "@agentage/extension": "0.7.0", "express": "^5.1.0", "zod": "^4.2.0" }, "devDependencies": { "@agentage/cli": "0.46.0", - "@agentage/widget": "^0.1.1", + "@agentage/widget": "^0.3.0", "@axe-core/playwright": "4.14.0", "@electric-sql/pglite": "0.5.15", "@playwright/test": "1.64.1", @@ -103,6 +103,7 @@ "overrides": { "eslint-plugin-jsx-a11y": { "eslint": "$eslint" - } + }, + "@agentage/extension": "$@agentage/extension" } } From c846c2432033eb4ea74ca4158f4c0c5fd8a21100 Mon Sep 17 00:00:00 2001 From: Volodymyr Vreshch Date: Sun, 8 Nov 2026 17:34:58 +0100 Subject: [PATCH 10/38] chore(deps): kit 0.8.0, cli 0.48.0 (#9) Claude-Session: https://claude.ai/code/session_01XQkodkYzdd9TrLYK3RbzNd --- template/package-lock.json | 20 ++++++++++---------- template/package.json | 9 ++++----- 2 files changed, 14 insertions(+), 15 deletions(-) diff --git a/template/package-lock.json b/template/package-lock.json index 11181df..1ca2ba5 100644 --- a/template/package-lock.json +++ b/template/package-lock.json @@ -9,12 +9,12 @@ "version": "0.1.0", "license": "MIT", "dependencies": { - "@agentage/extension": "0.7.0", + "@agentage/extension": "0.8.0", "express": "^5.1.0", "zod": "^4.2.0" }, "devDependencies": { - "@agentage/cli": "0.46.0", + "@agentage/cli": "0.48.0", "@agentage/widget": "^0.3.0", "@axe-core/playwright": "4.14.0", "@electric-sql/pglite": "0.5.15", @@ -38,18 +38,18 @@ "vitest": "5.1.0" }, "engines": { - "agentage": "^0.7", + "agentage": "^0.8", "node": ">=22" } }, "node_modules/@agentage/cli": { - "version": "0.46.0", - "resolved": "https://registry.npmjs.org/@agentage/cli/-/cli-0.46.0.tgz", - "integrity": "sha512-0oJCDCH/oFmpyJZL0YlqxKH3ug6/2m3vi18/X6gBT5t+SCVUk+zdDraO/ylBiHuvLkEnYdbpKFCSfSHq5ic42Q==", + "version": "0.48.0", + "resolved": "https://registry.npmjs.org/@agentage/cli/-/cli-0.48.0.tgz", + "integrity": "sha512-zn28YaBujhrH51U6RJR5a6mpiRqs4TYLuDciR9H/0FuXKXVpfhDhT8E7PCKHfWqDXKTcSwHZGJHzk7vT4SyeDw==", "dev": true, "license": "MIT", "dependencies": { - "@agentage/extension": "^0.6.0", + "@agentage/extension": "^0.8.0", "chalk": "^6.0.0", "commander": "^15.0.0", "open": "^11.0.0" @@ -94,9 +94,9 @@ } }, "node_modules/@agentage/extension": { - "version": "0.7.0", - "resolved": "https://registry.npmjs.org/@agentage/extension/-/extension-0.7.0.tgz", - "integrity": "sha512-SSRBObjeNFE5rKj9wpu3aXiDQLtsfUX01o8OZPofPDDPXo9peAAwbq9Wsnyb4rek9eLSDsAQhg9ffkasHwX47g==", + "version": "0.8.0", + "resolved": "https://registry.npmjs.org/@agentage/extension/-/extension-0.8.0.tgz", + "integrity": "sha512-+ZncgtVgu+9zKrl8KUmXWXcI+6NDd3gYxuE0kc+FPKuzuAYCIMunQMiEG05vG8KnAT/Ny0mtoXdV5f/qrri2AQ==", "license": "MIT", "dependencies": { "@modelcontextprotocol/server": "^2.4.0", diff --git a/template/package.json b/template/package.json index 706bad7..60b3b15 100644 --- a/template/package.json +++ b/template/package.json @@ -17,7 +17,7 @@ }, "engines": { "node": ">=22", - "agentage": "^0.7" + "agentage": "^0.8" }, "agentage": { "id": "template", @@ -68,12 +68,12 @@ "prepublishOnly": "npm run verify" }, "dependencies": { - "@agentage/extension": "0.7.0", + "@agentage/extension": "0.8.0", "express": "^5.1.0", "zod": "^4.2.0" }, "devDependencies": { - "@agentage/cli": "0.46.0", + "@agentage/cli": "0.48.0", "@agentage/widget": "^0.3.0", "@axe-core/playwright": "4.14.0", "@electric-sql/pglite": "0.5.15", @@ -103,7 +103,6 @@ "overrides": { "eslint-plugin-jsx-a11y": { "eslint": "$eslint" - }, - "@agentage/extension": "$@agentage/extension" + } } } From 0f514d4fe73243e64e87065f44cce42f8c0135b9 Mon Sep 17 00:00:00 2001 From: Volodymyr Vreshch Date: Sun, 8 Nov 2026 18:17:52 +0100 Subject: [PATCH 11/38] chore(deps): kit 0.9.0, cli 0.49.0 (#10) Claude-Session: https://claude.ai/code/session_01XQkodkYzdd9TrLYK3RbzNd --- template/package-lock.json | 20 ++++++++++---------- template/package.json | 6 +++--- template/src/manifest.test.ts | 2 +- 3 files changed, 14 insertions(+), 14 deletions(-) diff --git a/template/package-lock.json b/template/package-lock.json index 1ca2ba5..b9c99ee 100644 --- a/template/package-lock.json +++ b/template/package-lock.json @@ -9,12 +9,12 @@ "version": "0.1.0", "license": "MIT", "dependencies": { - "@agentage/extension": "0.8.0", + "@agentage/extension": "0.9.0", "express": "^5.1.0", "zod": "^4.2.0" }, "devDependencies": { - "@agentage/cli": "0.48.0", + "@agentage/cli": "0.49.0", "@agentage/widget": "^0.3.0", "@axe-core/playwright": "4.14.0", "@electric-sql/pglite": "0.5.15", @@ -38,18 +38,18 @@ "vitest": "5.1.0" }, "engines": { - "agentage": "^0.8", + "agentage": "^0.9", "node": ">=22" } }, "node_modules/@agentage/cli": { - "version": "0.48.0", - "resolved": "https://registry.npmjs.org/@agentage/cli/-/cli-0.48.0.tgz", - "integrity": "sha512-zn28YaBujhrH51U6RJR5a6mpiRqs4TYLuDciR9H/0FuXKXVpfhDhT8E7PCKHfWqDXKTcSwHZGJHzk7vT4SyeDw==", + "version": "0.49.0", + "resolved": "https://registry.npmjs.org/@agentage/cli/-/cli-0.49.0.tgz", + "integrity": "sha512-rguJdUavQQWtkVQktrjeZFpvc1CkH7V7iJeDHN1LrfZkbOmRE/aGdDbYhObjnLWGtNeMg8ji7TAP8rAUQYgTeQ==", "dev": true, "license": "MIT", "dependencies": { - "@agentage/extension": "^0.8.0", + "@agentage/extension": "^0.9.0", "chalk": "^6.0.0", "commander": "^15.0.0", "open": "^11.0.0" @@ -94,9 +94,9 @@ } }, "node_modules/@agentage/extension": { - "version": "0.8.0", - "resolved": "https://registry.npmjs.org/@agentage/extension/-/extension-0.8.0.tgz", - "integrity": "sha512-+ZncgtVgu+9zKrl8KUmXWXcI+6NDd3gYxuE0kc+FPKuzuAYCIMunQMiEG05vG8KnAT/Ny0mtoXdV5f/qrri2AQ==", + "version": "0.9.0", + "resolved": "https://registry.npmjs.org/@agentage/extension/-/extension-0.9.0.tgz", + "integrity": "sha512-rK6J1f0A7YwV9qncx+Ad10mYXGagmialnFIil/3YnGVb0aSh3dZb1uj+XxcUhhpNZg7GmdmcORyk3t0Tbq+4xw==", "license": "MIT", "dependencies": { "@modelcontextprotocol/server": "^2.4.0", diff --git a/template/package.json b/template/package.json index 60b3b15..3406f0c 100644 --- a/template/package.json +++ b/template/package.json @@ -17,7 +17,7 @@ }, "engines": { "node": ">=22", - "agentage": "^0.8" + "agentage": "^0.9" }, "agentage": { "id": "template", @@ -68,12 +68,12 @@ "prepublishOnly": "npm run verify" }, "dependencies": { - "@agentage/extension": "0.8.0", + "@agentage/extension": "0.9.0", "express": "^5.1.0", "zod": "^4.2.0" }, "devDependencies": { - "@agentage/cli": "0.48.0", + "@agentage/cli": "0.49.0", "@agentage/widget": "^0.3.0", "@axe-core/playwright": "4.14.0", "@electric-sql/pglite": "0.5.15", diff --git a/template/src/manifest.test.ts b/template/src/manifest.test.ts index 5277a79..3053df5 100644 --- a/template/src/manifest.test.ts +++ b/template/src/manifest.test.ts @@ -1,6 +1,6 @@ import { existsSync, readdirSync, readFileSync } from 'node:fs'; import { dirname, join, normalize } from 'node:path'; -import { imageParts, validateManifest } from '@agentage/extension'; +import { imageParts, validateManifest } from '@agentage/extension/tool'; import { describe, expect, it } from 'vitest'; const SRC = new URL('.', import.meta.url); From 7158f5d7ebc43e35e19ee3123bf43bb7b7b2a84b Mon Sep 17 00:00:00 2001 From: Volodymyr Vreshch Date: Tue, 10 Nov 2026 22:25:02 +0100 Subject: [PATCH 12/38] chore(deps): kit 0.12.2, cli 0.50.4 for the e2e gate (#12) * chore(deps): kit 0.12.2, cli 0.50.4 for the 32-hex agcid Claude-Session: https://claude.ai/code/session_01XQkodjcXRj9XV1ZhGuYQQr * fix(template): regenerate openapi.json for kit 0.12 Claude-Session: https://claude.ai/code/session_01XQkodjcXRj9XV1ZhGuYQQr * fix(template): regenerate openapi.json for kit 0.12 Claude-Session: https://claude.ai/code/session_01XQkodjcXRj9XV1ZhGuYQQr --- template/openapi.json | 50 +++++++++++++++++++------------------- template/package-lock.json | 26 ++++++++++---------- template/package.json | 6 ++--- 3 files changed, 41 insertions(+), 41 deletions(-) diff --git a/template/openapi.json b/template/openapi.json index 2e5c851..dcc843d 100644 --- a/template/openapi.json +++ b/template/openapi.json @@ -24,18 +24,7 @@ "properties": { "code": { "type": "string", - "enum": [ - "VALIDATION_ERROR", - "UNAUTHORIZED", - "FORBIDDEN", - "NOT_FOUND", - "CONFLICT", - "PRECONDITION_FAILED", - "PAYLOAD_TOO_LARGE", - "RATE_LIMITED", - "INTERNAL", - "UNAVAILABLE" - ] + "pattern": "^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$" }, "message": { "type": "string", @@ -43,23 +32,34 @@ }, "agcid": { "type": "string", - "pattern": "^[A-Za-z0-9._:-]{8,128}$" + "pattern": "^[0-9a-f]{32}$" }, "details": { - "type": "array", - "items": { - "type": "object", - "properties": { - "field": { - "type": "string" - }, - "message": { - "type": "string" + "anyOf": [ + { + "type": "array", + "items": { + "type": "object", + "properties": { + "field": { + "type": "string" + }, + "message": { + "type": "string" + } + }, + "required": ["field", "message"], + "additionalProperties": false } }, - "required": ["field", "message"], - "additionalProperties": false - } + { + "type": "object", + "propertyNames": { + "type": "string" + }, + "additionalProperties": {} + } + ] } }, "required": ["code", "message", "agcid"], diff --git a/template/package-lock.json b/template/package-lock.json index b9c99ee..55853e3 100644 --- a/template/package-lock.json +++ b/template/package-lock.json @@ -9,12 +9,12 @@ "version": "0.1.0", "license": "MIT", "dependencies": { - "@agentage/extension": "0.9.0", + "@agentage/extension": "0.12.2", "express": "^5.1.0", "zod": "^4.2.0" }, "devDependencies": { - "@agentage/cli": "0.49.0", + "@agentage/cli": "0.50.4", "@agentage/widget": "^0.3.0", "@axe-core/playwright": "4.14.0", "@electric-sql/pglite": "0.5.15", @@ -38,18 +38,18 @@ "vitest": "5.1.0" }, "engines": { - "agentage": "^0.9", + "agentage": "^0.12", "node": ">=22" } }, "node_modules/@agentage/cli": { - "version": "0.49.0", - "resolved": "https://registry.npmjs.org/@agentage/cli/-/cli-0.49.0.tgz", - "integrity": "sha512-rguJdUavQQWtkVQktrjeZFpvc1CkH7V7iJeDHN1LrfZkbOmRE/aGdDbYhObjnLWGtNeMg8ji7TAP8rAUQYgTeQ==", + "version": "0.50.4", + "resolved": "https://registry.npmjs.org/@agentage/cli/-/cli-0.50.4.tgz", + "integrity": "sha512-Z7v06aIDrW5l/6j62xoIXxAbVEa4jKpFFay2DtpcD5QLw4RAdI54GY3Y0N6Xaln9X+4s3Ly4XCNaZnWiKPbMcw==", "dev": true, "license": "MIT", "dependencies": { - "@agentage/extension": "^0.9.0", + "@agentage/extension": "^0.12.1", "chalk": "^6.0.0", "commander": "^15.0.0", "open": "^11.0.0" @@ -94,9 +94,9 @@ } }, "node_modules/@agentage/extension": { - "version": "0.9.0", - "resolved": "https://registry.npmjs.org/@agentage/extension/-/extension-0.9.0.tgz", - "integrity": "sha512-rK6J1f0A7YwV9qncx+Ad10mYXGagmialnFIil/3YnGVb0aSh3dZb1uj+XxcUhhpNZg7GmdmcORyk3t0Tbq+4xw==", + "version": "0.12.2", + "resolved": "https://registry.npmjs.org/@agentage/extension/-/extension-0.12.2.tgz", + "integrity": "sha512-2KVTf0f5RVBDDCYUGzXVCTXGdn/d9OJSQBQSdi+MyBE/2EoNDUGpivYZJVmk+2YxiG1cjEw3iDcGXNbQFTKJlw==", "license": "MIT", "dependencies": { "@modelcontextprotocol/server": "^2.4.0", @@ -5492,9 +5492,9 @@ "license": "ISC" }, "node_modules/jose": { - "version": "6.2.15", - "resolved": "https://registry.npmjs.org/jose/-/jose-6.2.15.tgz", - "integrity": "sha512-qdF6ewcZARtef63fJ9AKKZPgxw+t7USH6HLXYcD4CrdmSvDp79rpJSPFEKc90QBeGS63u1KQtN2MZQHC0yDIzA==", + "version": "6.2.17", + "resolved": "https://registry.npmjs.org/jose/-/jose-6.2.17.tgz", + "integrity": "sha512-wOuK9V1yujQFH5S0ZWmLcDZN7+IKh9bUCC2ZPCf2HDlol3WWHy+PPyNjEI75FXRLMp3vDKQcupP59xhVU95hcg==", "license": "MIT", "funding": { "url": "https://github.com/sponsors/panva" diff --git a/template/package.json b/template/package.json index 3406f0c..06e3fea 100644 --- a/template/package.json +++ b/template/package.json @@ -17,7 +17,7 @@ }, "engines": { "node": ">=22", - "agentage": "^0.9" + "agentage": "^0.12" }, "agentage": { "id": "template", @@ -68,12 +68,12 @@ "prepublishOnly": "npm run verify" }, "dependencies": { - "@agentage/extension": "0.9.0", + "@agentage/extension": "0.12.2", "express": "^5.1.0", "zod": "^4.2.0" }, "devDependencies": { - "@agentage/cli": "0.49.0", + "@agentage/cli": "0.50.4", "@agentage/widget": "^0.3.0", "@axe-core/playwright": "4.14.0", "@electric-sql/pglite": "0.5.15", From 9df809ffec18524afeaa0ce9fbc056e75cf557bf Mon Sep 17 00:00:00 2001 From: Volodymyr Vreshch Date: Tue, 10 Nov 2026 22:56:14 +0100 Subject: [PATCH 13/38] ci(release): publish by trusted publishing only (#11) Claude-Session: https://claude.ai/code/session_01XQkodjcXRj9XV1ZhGuYQQr --- template/.github/workflows/release.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/template/.github/workflows/release.yml b/template/.github/workflows/release.yml index 25bbd17..873c166 100644 --- a/template/.github/workflows/release.yml +++ b/template/.github/workflows/release.yml @@ -36,5 +36,4 @@ jobs: run: printf '%s' "$GHCR_TOKEN" | docker login ghcr.io -u "${{ github.actor }}" --password-stdin - env: GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} - NPM_TOKEN: ${{ secrets.NPM_TOKEN }} run: node_modules/.bin/agentage extension release # the lockfile's cli, never a fresh resolve From d7cfa62958ee015ba7fe92a7551d51a7c8c0ded2 Mon Sep 17 00:00:00 2001 From: Volodymyr Vreshch Date: Fri, 13 Nov 2026 16:35:03 +0100 Subject: [PATCH 14/38] docs: make CLAUDE.md match the checker (#13) Claude-Session: https://claude.ai/code/session_01XQkodjcXRj9XV1ZhGuYQQr --- template/CLAUDE.md | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/template/CLAUDE.md b/template/CLAUDE.md index 0437354..8a0b258 100644 --- a/template/CLAUDE.md +++ b/template/CLAUDE.md @@ -43,7 +43,7 @@ git init -b master && git add -A && git commit -m "feat: extension" - A part imports only its own folder and `src/lib/`. Each image carries `dist/{part}` and `dist/lib` only. `src/manifest.test.ts` refuses a cross-part import. - Put code in `src/lib/` only when every kept part can use it. -- Never use `listen()`, the `process` global, a token check or an absolute agentage URL in `src/`. +- Never use `listen()`, the `process` global (or an import of it), an absolute agentage URL, a symlink or a dependency on another extension in `src/`. The `sealing` rule scans for these. The kit checks the token before a route runs: a part needs no token check. - Each part has its tests beside it in `src/{part}/`. One part can go without breaking another. - Test only the lines you wrote: `check` and the kit's own tests cover the rest. - api: declare each route with `route(method, path, { summary, scope?, input?, output? }, handler)`. @@ -99,6 +99,7 @@ These touches are outside this repo. Each is one small PR or one owner action. | the `GATE_TOKENS` secret (owner) | a `"{id}"` entry: the bearer your gate sends on `next` | | agentage/auth `pat-scopes.ts` (owner) | the id in `EXTENSION_IDS`: echo declares `{id}:read`, so it is needed | +- A row can also set `host`, `market`, `public`, `source`, `resources` and `settings`. The schema in the estate repo is the full list. - Pools: `web` for pages and ui, `api` for api, mcp and worker, `data` for store. Host: `{id}.next.agentage.io`. ## 7. Operate @@ -107,7 +108,11 @@ These touches are outside this repo. Each is one small PR or one owner action. `/health`, then runs your gate: `npm run e2e -- {id} gate next`. - Read a red run on the Actions tab of agentage/estate. The run names the part and the check. A part logs JSON lines with the request's `agcid`: search for it. -- To change what runs, release a new version and change the version in the estate row. +- A release goes live so: + - A `v*` tag runs `release.yml`: the package and the images. + - The market lists the version. + - A row with `version: latest`: the cloud extension opens a PR to `estate.lock`. It merges by itself and the deploy to `next` runs. A red deploy is reverted by a PR. + - A row with an exact version (a pin) changes only by a PR to `estate.yaml`. ## 8. What the platform promises From 0b3a2a0a96b0887a2c0dc49a46b043393f08df5f Mon Sep 17 00:00:00 2001 From: Volodymyr Vreshch Date: Fri, 13 Nov 2026 18:29:44 +0100 Subject: [PATCH 15/38] docs: README for humans, CLAUDE.md matches the code (#15) * docs: README for humans, CLAUDE.md matches the code Claude-Session: https://claude.ai/code/session_01XQkodjcXRj9XV1ZhGuYQQr * docs: show real answer envelopes, name api in health and logs Claude-Session: https://claude.ai/code/session_01XQkodjcXRj9XV1ZhGuYQQr --- template/CLAUDE.md | 76 +++++++++++++------------------ template/README.md | 108 +++++++++++++++++++++++++++++++++++++++++---- 2 files changed, 131 insertions(+), 53 deletions(-) diff --git a/template/CLAUDE.md b/template/CLAUDE.md index 8a0b258..86485d6 100644 --- a/template/CLAUDE.md +++ b/template/CLAUDE.md @@ -1,9 +1,10 @@ -# CLAUDE.md - the one page +# CLAUDE.md - rules for changing this extension -Read this page first. It is the only page you need to ship this extension to `next` in one day. +Humans start at [README.md](README.md): the start steps, running on a laptop, calling it and the +release. This page is for the agent that changes the code. Do not repeat the README here. The deployed proof of the same shape is [agentage/extension-probe](https://github.com/agentage/extension-probe). -The kit rules are in the READMEs of [`@agentage/extension`](https://www.npmjs.com/package/@agentage/extension) -and [`@agentage/widget`](https://www.npmjs.com/package/@agentage/widget). +The kit is the library `@agentage/extension` that owns the server. Its rules, and those of the +widget kit `@agentage/widget`, are in their npm READMEs. ## 1. What an extension is @@ -13,37 +14,31 @@ and [`@agentage/widget`](https://www.npmjs.com/package/@agentage/widget). - The kit owns the server, `/health`, auth, the store pool, the scheduler and the images. You write only the part code. -| Part | Folder | What it does here | -| ------ | ----------------------- | --------------------------------------------------------------- | -| pages | `src/pages` | `/` shows `{id} {version} ยท {commit}` | -| ui | `src/ui` | the widget `<{id}-echo>`, served at `/ui/{version}/{id}.js` | -| api | `src/api` | `GET /api/v1/echo?msg=` (scope `{id}:read`), `GET /api/v1/ping` | -| mcp | `src/mcp` | the tool `{id}__echo` (scope `{id}:read`) on `POST /mcp` | -| worker | `src/worker` | the job `tick`, every minute; it logs `tick` and uses no store | -| store | `migrations/`, `seeds/` | postgres; `GET /api/v1/ping` counts its `pings` rows | -| cli | `src/cli` | `agentage ping [msg]` prints `pong` | +The part table is in [README.md](README.md#what-each-part-does-here). ## 2. Start -```bash -agentage extension create [part...] # no part = all seven -cd extension- && npm ci && npm run build && agentage extension check -git init -b master && git add -A && git commit -m "feat: extension" -``` +The start steps are in [README.md](README.md#start). After `create`: -- The id has lowercase letters, digits and `-`. It starts with a letter. It is not a part name. - Keep at least one of pages, ui, api or mcp. -- `create` deletes the folders and contracts of the parts you do not keep. It writes your id into every file. +- `create` deletes the folders and contracts of the parts you drop, and writes your id into every + text file. It does not edit `ci.yml`. - Push to a new public repo `agentage/extension-`, default branch `master`. -- Edit to the parts you kept: the table of section 1, the README, `description` in `package.json` - and `MIN_EXECUTED` in `ci.yml` (the gate's floor: 25 fits all seven parts). +- Edit to the parts you kept: the part table and the lines of [README.md](README.md), and + `description` in `package.json`. +- `MIN_EXECUTED` in `ci.yml` is the gate's floor, the fewest tests the gate must run (the gate is + the e2e suite in agentage/e2e). `25` fits all seven parts. With fewer parts the gate runs fewer + tests, so lower it, or the job is red. ## 3. Write parts - A part imports only its own folder and `src/lib/`. Each image carries `dist/{part}` and `dist/lib` only. `src/manifest.test.ts` refuses a cross-part import. - Put code in `src/lib/` only when every kept part can use it. -- Never use `listen()`, the `process` global (or an import of it), an absolute agentage URL, a symlink or a dependency on another extension in `src/`. The `sealing` rule scans for these. The kit checks the token before a route runs: a part needs no token check. +- Never use these in `src/`: `listen()`, the `process` global (or an import of it), an absolute + agentage URL, a symlink, a dependency on another extension. The `sealing` rule of + `agentage extension check` scans for them. +- The kit checks the token before a route runs. A part needs no token check. - Each part has its tests beside it in `src/{part}/`. One part can go without breaking another. - Test only the lines you wrote: `check` and the kit's own tests cover the rest. - api: declare each route with `route(method, path, { summary, scope?, input?, output? }, handler)`. @@ -59,37 +54,28 @@ git init -b master && git add -A && git commit -m "feat: extension" ## 4. The loop on a laptop -You need Node 22+, npm 10+, Docker, `git` and `jq`. - -```bash -npm run verify # type-check, lint, format, tests, build -npx agentage extension check # PASS {id} {version} conforms (6 rules) -npx agentage extension up # ready N parts healthy s (each /health body checked) -npm run test:e2e # the widget in a browser, axe WCAG A/AA -T=$(npx agentage extension token --scope template:read) -curl -s -H "Authorization: Bearer $T" "localhost:4280/api/v1/echo?msg=hi" -npx agentage extension down # removes this working copy's containers -``` +The commands are in [README.md](README.md#run-it-on-your-machine). Rules for the agent: +- Run `npm run verify` and `npx agentage extension check` before every push. +- `npm run test:e2e` runs the widget test in a browser (axe WCAG A/AA). It needs `up` running and + Chromium: `npx playwright install chromium`. - `up` runs the release images, postgres with your migrations, a dev issuer (4281) and a gateway - (4280) laid out like `next`. -- `up` writes `.agentage/` (ignored). From cli 0.43, `build` needs a commit. -- CI runs the same steps, then the e2e gate on local: `npm run e2e -- template gate local` in + (4280) laid out like `next` (the shared test environment). It writes `.agentage/` (ignored). +- `up` and `build` need a git commit, because the image tags come from it. +- CI runs the same steps, then the e2e gate on local: `npm run e2e -- gate local` in agentage/e2e. The gate needs your row in its `extensions.json` (section 6). It never retries. ## 5. Release -- Bump the version in `package.json`, run `npx agentage extension check --write`, commit, and - push the tag `v{version}` on that commit on master. -- `release.yml` (`agentage extension release`) then pushes the part images, attaches - `agentage-extension.json` to the GitHub release and publishes to npm. The first publish of a - new npm name waits for the owner's approval; then add `release.yml` as the trusted publisher - on npmjs.com. +- The steps are in [README.md](README.md#release). `release.yml` runs `agentage extension release`. +- The first publish of a new npm name waits for the owner's approval. Then add `release.yml` as + the trusted publisher on npmjs.com. - A re-run only retries npm; a moved tag is refused. A fix is a new version. Never move a `v*` tag. - `agentage extension release` refuses the id of the repo this one was copied from, and passes for every other id. ## 6. The estate row +The estate is the agentage/estate repo that holds the deployment config of every extension. These touches are outside this repo. Each is one small PR or one owner action. | Where | What | @@ -112,7 +98,7 @@ These touches are outside this repo. Each is one small PR or one owner action. - A `v*` tag runs `release.yml`: the package and the images. - The market lists the version. - A row with `version: latest`: the cloud extension opens a PR to `estate.lock`. It merges by itself and the deploy to `next` runs. A red deploy is reverted by a PR. - - A row with an exact version (a pin) changes only by a PR to `estate.yaml`. + - A row with an exact version (a pin: the version never moves by itself) changes only by a PR to `estate.yaml`. ## 8. What the platform promises @@ -120,4 +106,4 @@ These touches are outside this repo. Each is one small PR or one owner action. - The gateway serves `/`, `/ui/{version}/`, `/api/v1/` and `/mcp`. It drops the `Cookie` header. - The estate runs the migrations as a job before the rollout. A release never restarts the store. - The same smoke and contract gate runs for every extension in the e2e registry. -- A kit minor reaches this repo through the Friday Dependabot group PR. Merge it when CI is green. +- A kit minor reaches this repo through the weekly Dependabot group PR. Merge it when CI is green. diff --git a/template/README.md b/template/README.md index 4bd28ac..7ff17e6 100644 --- a/template/README.md +++ b/template/README.md @@ -1,17 +1,109 @@ # extension-template -An agentage extension with one of every part: pages, ui, api, mcp, worker, store and cli. Start a -new extension from it, keep the parts you need, and ship it to `next` in one day. +An agentage extension with one of every part. It is for developers who write an extension. An +extension is one npm package. It adds a web page, a widget, an API, MCP tools, a job or CLI +commands to agentage. + +```bash +npx @agentage/cli@latest extension create [part...] # no part = all seven +``` + +A **part** is one folder in `src/`: `pages`, `ui`, `api`, `mcp`, `worker`, `cli`, plus `store` +(postgres, in `migrations/` and `seeds/`). `create` keeps the parts you name, drops the rest and +writes your id into every file. The id has lowercase letters, digits and `-`. It starts with a +letter and is not a part name. + +Lines below that name a part apply only when you kept it. Delete the others from your README. + +## You need + +Node 22 or newer, npm 10 or newer, Docker and git. Nothing needs a sign-in. ## Start ```bash -agentage extension create [part...] # no part = all seven -cd extension- && npm ci && npm run build && agentage extension check -npm run verify # type-check, lint, format, tests, build +cd extension- +npm ci && npm run build +npx agentage extension check # PASS conforms (6 rules) +npm run verify # type-check, lint, format, tests, build +git init -b master && git add -A && git commit -m "feat: extension" ``` -## The one page +Commit before `up`: `up` and `build` need a git commit, and stop with "is not a git checkout" +without one. Use `npx agentage` inside this folder. The global `agentage` can be older than the +version this project pins in `devDependencies`, and then it lacks `extension up`. + +## Run it on your machine + +```bash +npx agentage extension up # Docker; prints "ready N parts healthy" when done +T=$(npx agentage extension token --scope :read) +curl -s -H "Authorization: Bearer $T" "localhost:4280/api/v1/echo?msg=hi" +npx agentage extension down # removes this folder's containers, network and volume +``` + +- `up` needs ports 4280 (gateway) and 4281 (dev token issuer) free. When another working copy + holds them, `up` refuses and names its compose project. Run `npx agentage extension down` in + that folder, or find the holder with `docker ps`. +- `token` asks localhost:4281 only. Run `up` first. The scope is `:read`, where `` is + `agentage.id` in `package.json`. +- Open `http://localhost:4280/` in a browser to see the pages part. + +### Call it + +| Call | Answer | +| ------------------------------------- | -------------------------------------------------------------------------------------------- | +| `GET /api/v1/echo?msg=hi` with token | 200 `{"success":true,"data":{"msg":"hi","caller":...}}` | +| `GET /api/v1/ping` (public, no token) | 200 `{"success":true,"data":{"msg":"pong","pings":1}}`; `pings` counts the rows in the store | +| a protected route without a token | 401 `{"success":false,"error":{"code":"UNAUTHORIZED","message":...,"agcid":...}}` | +| `echo` without `msg` | 400 `{"success":false,"error":{"code":"VALIDATION_ERROR",...}}`, with the field named | + +Every answer has an `Agcid` response header with the request id. An error body also carries it as +`error.agcid`; a success body does not. `openapi.json` (api) and `.mcpc.json` (mcp) are +the full lists of routes and tools. MCP tool `__echo` is served at `POST /mcp` with the same +token. + +### Health and logs + +- The gateway answers 404 on `/health`. Each part serves its own `/health` on container port 3000, + which `up` does not publish. `up` has already checked each one when it prints `ready`. +- `docker ps` lists the gateway, the issuer, the store and one container per part you kept. The + gateway and the store do not answer on port 3000, so name a part. For the api, run this inside + this folder: + `docker compose -f .agentage/compose.json exec api wget -qO- localhost:3000/health`. +- To read logs: `docker compose -f .agentage/compose.json logs --no-color --tail 80 api`. The api + logs JSON lines with the request's `agcid`. Without `api` you also get the store's init text. + The gateway logs nothing. + +## What each part does here + +| Part | Folder | What it does | +| ------ | ----------------------- | ------------------------------------------------------------------- | +| pages | `src/pages` | `/` shows the id, version and commit | +| ui | `src/ui` | the widget `<{id}-echo>`, served at `/ui/{version}/{id}.js` | +| api | `src/api` | `GET /api/v1/echo` (scope `{id}:read`), `GET /api/v1/ping` (public) | +| mcp | `src/mcp` | the tool `{id}__echo` (scope `{id}:read`) | +| worker | `src/worker` | the job `tick`, every minute; it logs `tick` | +| store | `migrations/`, `seeds/` | postgres; `ping` counts the rows of `pings` | +| cli | `src/cli` | `agentage ping [msg]` prints `pong` | + +A seed in `seeds/` runs once, on an empty store. + +## Change it + +[CLAUDE.md](CLAUDE.md) holds the rules for writing parts, the checks and the release steps. +After a change to a route or tool, regenerate the contract files: + +```bash +npm run build && npx agentage extension check --write && npm run format +``` + +## Release + +1. Raise the version in `package.json`. +2. Run `npx agentage extension check --write`, commit, and push the tag `v` on that + commit on master. +3. `release.yml` pushes the part images, attaches `agentage-extension.json` to the GitHub release + and publishes the package to npm. -[CLAUDE.md](CLAUDE.md): what an extension is, how to write parts, the loop on a laptop, release, -the estate row, how to operate it and what the platform promises. +The first publish of a new npm name waits for the owner. A fix is a new version: never move a tag. From ad40e85ed5f11432c3a4db57624d21545d00946f Mon Sep 17 00:00:00 2001 From: Volodymyr Vreshch Date: Fri, 13 Nov 2026 18:53:27 +0100 Subject: [PATCH 16/38] docs: state the git needs of up and build exactly (#16) Claude-Session: https://claude.ai/code/session_01XQkodjcXRj9XV1ZhGuYQQr --- template/CLAUDE.md | 2 +- template/README.md | 10 ++++++---- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/template/CLAUDE.md b/template/CLAUDE.md index 86485d6..2a01b13 100644 --- a/template/CLAUDE.md +++ b/template/CLAUDE.md @@ -61,7 +61,7 @@ The commands are in [README.md](README.md#run-it-on-your-machine). Rules for the Chromium: `npx playwright install chromium`. - `up` runs the release images, postgres with your migrations, a dev issuer (4281) and a gateway (4280) laid out like `next` (the shared test environment). It writes `.agentage/` (ignored). -- `up` and `build` need a git commit, because the image tags come from it. +- `up` needs one git commit, or `COMMIT_SHA` set, because the image tags come from it. `build` also needs a clean tree. - CI runs the same steps, then the e2e gate on local: `npm run e2e -- gate local` in agentage/e2e. The gate needs your row in its `extensions.json` (section 6). It never retries. diff --git a/template/README.md b/template/README.md index 7ff17e6..851c735 100644 --- a/template/README.md +++ b/template/README.md @@ -29,8 +29,9 @@ npm run verify # type-check, lint, format, tests, build git init -b master && git add -A && git commit -m "feat: extension" ``` -Commit before `up`: `up` and `build` need a git commit, and stop with "is not a git checkout" -without one. Use `npx agentage` inside this folder. The global `agentage` can be older than the +Commit before `up`: `up` needs one git commit, or `COMMIT_SHA` set. Without one it fails with +`git rev-parse failed`. `build` needs a clean tree: it stops with "is not a git checkout" outside a repo, +and with "has uncommitted changes: commit first" on a dirty tree. Use `npx agentage` inside this folder. The global `agentage` can be older than the version this project pins in `devDependencies`, and then it lacks `extension up`. ## Run it on your machine @@ -67,8 +68,9 @@ token. - The gateway answers 404 on `/health`. Each part serves its own `/health` on container port 3000, which `up` does not publish. `up` has already checked each one when it prints `ready`. -- `docker ps` lists the gateway, the issuer, the store and one container per part you kept. The - gateway and the store do not answer on port 3000, so name a part. For the api, run this inside +- `docker ps` lists the gateway, the issuer and one container each for the parts `pages`, `ui`, `api`, + `mcp` and `worker` that you kept. The `cli` part has no container. The store is a container only + when you kept `store`, and its migrate job exits. The gateway and the store do not answer on port 3000, so name a part. For the api, run this inside this folder: `docker compose -f .agentage/compose.json exec api wget -qO- localhost:3000/health`. - To read logs: `docker compose -f .agentage/compose.json logs --no-color --tail 80 api`. The api From b0b5fcfa010699bdbfd1188e2190a69ffb420666 Mon Sep 17 00:00:00 2001 From: Volodymyr Vreshch Date: Fri, 13 Nov 2026 19:38:57 +0100 Subject: [PATCH 17/38] docs: add a Where facts live list to CLAUDE.md (#17) Claude-Session: https://claude.ai/code/session_01XQkodjcXRj9XV1ZhGuYQQr --- template/CLAUDE.md | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/template/CLAUDE.md b/template/CLAUDE.md index 2a01b13..42cd44b 100644 --- a/template/CLAUDE.md +++ b/template/CLAUDE.md @@ -6,6 +6,18 @@ The deployed proof of the same shape is [agentage/extension-probe](https://githu The kit is the library `@agentage/extension` that owns the server. Its rules, and those of the widget kit `@agentage/widget`, are in their npm READMEs. +## Where facts live + +- Start steps, running on a laptop, calling it, health and logs: `README.md` "Start", "Run it on your machine", "Call it", "Health and logs". +- What each part does and its folder: `README.md` "What each part does here". +- The manifest, commands, settings and secrets: the `agentage` block of `package.json`. +- Routes, scopes, status codes (if you kept the api part): `openapi.json` (generated; never edit by hand). +- MCP tools and their inputs (if you kept the mcp part): `.mcpc.json` (generated; never edit by hand). +- Database tables and migration rules (if you kept the store part): `migrations/`, `seeds/`; the rules are in section 3 below. +- CI jobs and the `MIN_EXECUTED` floor: `.github/workflows/ci.yml`. Release rules and refusals: `.github/workflows/release.yml`, `README.md` "Release". + +Read the file named here before you read `src/`. + ## 1. What an extension is - An extension is one npm package. The `agentage` block of `package.json` is its manifest: the @@ -61,7 +73,6 @@ The commands are in [README.md](README.md#run-it-on-your-machine). Rules for the Chromium: `npx playwright install chromium`. - `up` runs the release images, postgres with your migrations, a dev issuer (4281) and a gateway (4280) laid out like `next` (the shared test environment). It writes `.agentage/` (ignored). -- `up` needs one git commit, or `COMMIT_SHA` set, because the image tags come from it. `build` also needs a clean tree. - CI runs the same steps, then the e2e gate on local: `npm run e2e -- gate local` in agentage/e2e. The gate needs your row in its `extensions.json` (section 6). It never retries. From c931a3b0b4ea105037c0760a19415c7651ecce38 Mon Sep 17 00:00:00 2001 From: Volodymyr Vreshch Date: Sat, 14 Nov 2026 00:52:44 +0100 Subject: [PATCH 18/38] docs: shorten the README, move depth to docs/ (#18) * docs: move README depth to docs/ Claude-Session: https://claude.ai/code/session_01XQkodjcXRj9XV1ZhGuYQQr * docs: shorten the README Claude-Session: https://claude.ai/code/session_01XQkodjcXRj9XV1ZhGuYQQr * docs: apply review fixes Claude-Session: https://claude.ai/code/session_01XQkodjcXRj9XV1ZhGuYQQr --- template/CLAUDE.md | 2 +- template/README.md | 86 ++++++++++++++++-------------------- template/docs/run-locally.md | 47 ++++++++++++++++++++ 3 files changed, 85 insertions(+), 50 deletions(-) create mode 100644 template/docs/run-locally.md diff --git a/template/CLAUDE.md b/template/CLAUDE.md index 42cd44b..1ecfad9 100644 --- a/template/CLAUDE.md +++ b/template/CLAUDE.md @@ -8,7 +8,7 @@ widget kit `@agentage/widget`, are in their npm READMEs. ## Where facts live -- Start steps, running on a laptop, calling it, health and logs: `README.md` "Start", "Run it on your machine", "Call it", "Health and logs". +- Start steps, running on a laptop, calling it, health and logs: `README.md` "Start", "Run it on your machine", "Call it"; health and logs: `docs/run-locally.md` "Health and logs". - What each part does and its folder: `README.md` "What each part does here". - The manifest, commands, settings and secrets: the `agentage` block of `package.json`. - Routes, scopes, status codes (if you kept the api part): `openapi.json` (generated; never edit by hand). diff --git a/template/README.md b/template/README.md index 851c735..aa7f402 100644 --- a/template/README.md +++ b/template/README.md @@ -1,6 +1,6 @@ # extension-template -An agentage extension with one of every part. It is for developers who write an extension. An +An agentage extension with one of every part. It is for extension developers. An extension is one npm package. It adds a web page, a widget, an API, MCP tools, a job or CLI commands to agentage. @@ -9,11 +9,9 @@ npx @agentage/cli@latest extension create [part...] # no part = all seven ``` A **part** is one folder in `src/`: `pages`, `ui`, `api`, `mcp`, `worker`, `cli`, plus `store` -(postgres, in `migrations/` and `seeds/`). `create` keeps the parts you name, drops the rest and -writes your id into every file. The id has lowercase letters, digits and `-`. It starts with a -letter and is not a part name. - -Lines below that name a part apply only when you kept it. Delete the others from your README. +(postgres, in `migrations/` and `seeds/`). `create` keeps the parts you name. It deletes the other +parts. It writes your id into every file. Lines below that name a part apply only when you kept it; delete the others from your README. +See the [id rules](docs/run-locally.md#create). ## You need @@ -25,14 +23,14 @@ Node 22 or newer, npm 10 or newer, Docker and git. Nothing needs a sign-in. cd extension- npm ci && npm run build npx agentage extension check # PASS conforms (6 rules) -npm run verify # type-check, lint, format, tests, build +npm run verify # type-check, lint, format, test, build git init -b master && git add -A && git commit -m "feat: extension" ``` -Commit before `up`: `up` needs one git commit, or `COMMIT_SHA` set. Without one it fails with -`git rev-parse failed`. `build` needs a clean tree: it stops with "is not a git checkout" outside a repo, -and with "has uncommitted changes: commit first" on a dirty tree. Use `npx agentage` inside this folder. The global `agentage` can be older than the -version this project pins in `devDependencies`, and then it lacks `extension up`. +Commit before `up`: it needs a git commit, or `COMMIT_SHA` set. `build` needs a clean tree. +Use `npx agentage` here. It runs the pinned version. A global `agentage` can be older and lack `extension up`. + +More: [when up or build stops](docs/run-locally.md#when-up-or-build-stops). ## Run it on your machine @@ -43,39 +41,23 @@ curl -s -H "Authorization: Bearer $T" "localhost:4280/api/v1/echo?msg=hi" npx agentage extension down # removes this folder's containers, network and volume ``` -- `up` needs ports 4280 (gateway) and 4281 (dev token issuer) free. When another working copy - holds them, `up` refuses and names its compose project. Run `npx agentage extension down` in - that folder, or find the holder with `docker ps`. -- `token` asks localhost:4281 only. Run `up` first. The scope is `:read`, where `` is - `agentage.id` in `package.json`. -- Open `http://localhost:4280/` in a browser to see the pages part. +- `up` needs ports 4280 (gateway) and 4281 (token issuer) free. +- `token` asks localhost:4281 only, so run `up` first. `` is `agentage.id` in `package.json`. +- Open `http://localhost:4280/` for the pages part. ### Call it -| Call | Answer | -| ------------------------------------- | -------------------------------------------------------------------------------------------- | -| `GET /api/v1/echo?msg=hi` with token | 200 `{"success":true,"data":{"msg":"hi","caller":...}}` | -| `GET /api/v1/ping` (public, no token) | 200 `{"success":true,"data":{"msg":"pong","pings":1}}`; `pings` counts the rows in the store | -| a protected route without a token | 401 `{"success":false,"error":{"code":"UNAUTHORIZED","message":...,"agcid":...}}` | -| `echo` without `msg` | 400 `{"success":false,"error":{"code":"VALIDATION_ERROR",...}}`, with the field named | - -Every answer has an `Agcid` response header with the request id. An error body also carries it as -`error.agcid`; a success body does not. `openapi.json` (api) and `.mcpc.json` (mcp) are -the full lists of routes and tools. MCP tool `__echo` is served at `POST /mcp` with the same -token. - -### Health and logs - -- The gateway answers 404 on `/health`. Each part serves its own `/health` on container port 3000, - which `up` does not publish. `up` has already checked each one when it prints `ready`. -- `docker ps` lists the gateway, the issuer and one container each for the parts `pages`, `ui`, `api`, - `mcp` and `worker` that you kept. The `cli` part has no container. The store is a container only - when you kept `store`, and its migrate job exits. The gateway and the store do not answer on port 3000, so name a part. For the api, run this inside - this folder: - `docker compose -f .agentage/compose.json exec api wget -qO- localhost:3000/health`. -- To read logs: `docker compose -f .agentage/compose.json logs --no-color --tail 80 api`. The api - logs JSON lines with the request's `agcid`. Without `api` you also get the store's init text. - The gateway logs nothing. +- `GET /api/v1/echo?msg=hi` with a token answers 200; without `msg`, 400. +- `GET /api/v1/ping` is public and answers 200 `pong`. +- A protected route without a token answers 401. + +`openapi.json` (api) and `.mcpc.json` (mcp) list all routes and tools. The MCP tool +`__echo` is at `POST /mcp`, with the same token. + +More: [answers](docs/run-locally.md#answers). + +Each part serves `/health` on port 3000 in its container. `up` does not publish it. More: +[Health and logs](docs/run-locally.md#health-and-logs). ## What each part does here @@ -85,7 +67,7 @@ token. | ui | `src/ui` | the widget `<{id}-echo>`, served at `/ui/{version}/{id}.js` | | api | `src/api` | `GET /api/v1/echo` (scope `{id}:read`), `GET /api/v1/ping` (public) | | mcp | `src/mcp` | the tool `{id}__echo` (scope `{id}:read`) | -| worker | `src/worker` | the job `tick`, every minute; it logs `tick` | +| worker | `src/worker` | the job `tick`, every minute | | store | `migrations/`, `seeds/` | postgres; `ping` counts the rows of `pings` | | cli | `src/cli` | `agentage ping [msg]` prints `pong` | @@ -93,8 +75,7 @@ A seed in `seeds/` runs once, on an empty store. ## Change it -[CLAUDE.md](CLAUDE.md) holds the rules for writing parts, the checks and the release steps. -After a change to a route or tool, regenerate the contract files: +[CLAUDE.md](CLAUDE.md) has the rules. After a route or tool changes, regenerate the contracts: ```bash npm run build && npx agentage extension check --write && npm run format @@ -103,9 +84,16 @@ npm run build && npx agentage extension check --write && npm run format ## Release 1. Raise the version in `package.json`. -2. Run `npx agentage extension check --write`, commit, and push the tag `v` on that - commit on master. -3. `release.yml` pushes the part images, attaches `agentage-extension.json` to the GitHub release - and publishes the package to npm. +2. Run `npx agentage extension check --write`, commit, and push the tag `v` on that commit, on master. +3. `release.yml` pushes the part images, attaches `agentage-extension.json` to the release and + publishes the package to npm. + +The owner does the first publish of a new npm name. A fix is a new version: never move a tag. + +## Documentation + +- [docs/run-locally.md](docs/run-locally.md): id rules, start errors, answers, health and logs. + +## License -The first publish of a new npm name waits for the owner. A fix is a new version: never move a tag. +[MIT](LICENSE). diff --git a/template/docs/run-locally.md b/template/docs/run-locally.md new file mode 100644 index 0000000..921cfd2 --- /dev/null +++ b/template/docs/run-locally.md @@ -0,0 +1,47 @@ +# Run it locally + +Details for the [README](../README.md): how to create the project, why `up` or `build` stops, what +the calls answer, and how to check health and logs. + +## Create + +The id has lowercase letters, digits and `-`. It starts with a letter. It is not a part name. + +## When up or build stops + +Commit before `up`. `up` needs one git commit, or `COMMIT_SHA` set. Without one it fails with +`git rev-parse failed`. + +`build` needs a clean git tree. Outside a repo it stops with "is not a git checkout". With +uncommitted changes it stops with "has uncommitted changes: commit first". + +`up` needs ports 4280 (gateway) and 4281 (dev token issuer) free. When another working copy holds +them, `up` refuses and names its compose project. To free them, run `npx agentage extension down` +in that folder, or find the holder with `docker ps`. + +## Answers + +| Call | Answer | +| ------------------------------------- | -------------------------------------------------------------------------------------------- | +| `GET /api/v1/echo?msg=hi` with token | 200 `{"success":true,"data":{"msg":"hi","caller":...}}` | +| `GET /api/v1/ping` (public, no token) | 200 `{"success":true,"data":{"msg":"pong","pings":1}}`; `pings` counts the rows in the store | +| a protected route without a token | 401 `{"success":false,"error":{"code":"UNAUTHORIZED","message":...,"agcid":...}}` | +| `echo` without `msg` | 400 `{"success":false,"error":{"code":"VALIDATION_ERROR",...}}`, with the field named | + +Every answer has an `Agcid` response header with the request id. An error body also carries it as +`error.agcid`. A success body does not. + +## Health and logs + +- The gateway answers 404 on `/health`. Each part serves its own `/health` on container port 3000. + `up` does not publish that port. `up` has already checked each one when it prints `ready`. +- `docker ps` lists the gateway, the issuer and one container each for the parts `pages`, `ui`, + `api`, `mcp` and `worker` that you kept. The `cli` part has no container. +- The store is a container only when you kept `store`. Its migrate job runs once and exits. +- The gateway and the store do not answer on port 3000, so name a part. For the api, run this + inside this folder: + `docker compose -f .agentage/compose.json exec api wget -qO- localhost:3000/health`. +- To read logs, run: + `docker compose -f .agentage/compose.json logs --no-color --tail 80 api`. The api logs JSON + lines with the request's `agcid`. The worker job `tick` logs `tick`. Without `api` you also get + the store's init text. The gateway logs nothing. From a3743a5c9028ec66d8b8b4dc7c2137fc1229cafa Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Sat, 14 Nov 2026 01:33:47 +0100 Subject: [PATCH 19/38] chore(deps-dev): bump the all-dependencies group with 4 updates (#14) Bumps the all-dependencies group with 4 updates: [@electric-sql/pglite](https://github.com/electric-sql/pglite/tree/HEAD/packages/pglite), [@playwright/test](https://github.com/microsoft/playwright), [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) and [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser). Updates `@electric-sql/pglite` from 0.5.15 to 0.5.16 - [Release notes](https://github.com/electric-sql/pglite/releases) - [Changelog](https://github.com/neondatabase/electric-pglite/blob/main/packages/pglite/CHANGELOG.md) - [Commits](https://github.com/electric-sql/pglite/commits/@electric-sql/pglite@0.5.16/packages/pglite) Updates `@playwright/test` from 1.64.1 to 1.65.0 - [Release notes](https://github.com/microsoft/playwright/releases) - [Commits](https://github.com/microsoft/playwright/compare/v1.64.1...v1.65.0) Updates `@typescript-eslint/eslint-plugin` from 8.72.1 to 8.72.2 - [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases) - [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md) - [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v8.72.2/packages/eslint-plugin) Updates `@typescript-eslint/parser` from 8.72.1 to 8.72.2 - [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases) - [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md) - [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v8.72.2/packages/parser) --- template/package-lock.json | 144 ++++++++++++++++++------------------- template/package.json | 8 +-- 2 files changed, 76 insertions(+), 76 deletions(-) diff --git a/template/package-lock.json b/template/package-lock.json index 55853e3..417d9ca 100644 --- a/template/package-lock.json +++ b/template/package-lock.json @@ -17,13 +17,13 @@ "@agentage/cli": "0.50.4", "@agentage/widget": "^0.3.0", "@axe-core/playwright": "4.14.0", - "@electric-sql/pglite": "0.5.15", - "@playwright/test": "1.64.1", + "@electric-sql/pglite": "0.5.16", + "@playwright/test": "1.65.0", "@types/express": "5.0.6", "@types/node": "26.6.6", "@types/react": "19.3.0", - "@typescript-eslint/eslint-plugin": "8.72.1", - "@typescript-eslint/parser": "8.72.1", + "@typescript-eslint/eslint-plugin": "8.72.2", + "@typescript-eslint/parser": "8.72.2", "@vitest/coverage-v8": "5.1.0", "eslint": "10.14.0", "eslint-config-prettier": "10.1.8", @@ -474,9 +474,9 @@ } }, "node_modules/@electric-sql/pglite": { - "version": "0.5.15", - "resolved": "https://registry.npmjs.org/@electric-sql/pglite/-/pglite-0.5.15.tgz", - "integrity": "sha512-ERZWgaRTxueGV4cvL1tfpAOzFCWTXoUtbCBqnf2FhHDVs/so9eAKaanvrwWF9Dntx7BYsmFQujVQ0/B4S8Mmiw==", + "version": "0.5.16", + "resolved": "https://registry.npmjs.org/@electric-sql/pglite/-/pglite-0.5.16.tgz", + "integrity": "sha512-Nj8KcIsJL748W408U2N8q4+9IlONdpRIU8MJypIAAINMJ5nqKyqpX7Mgg/5XKkXiAib3AoZGR6hnJFlrlLBrcg==", "devOptional": true, "license": "Apache-2.0" }, @@ -1248,13 +1248,13 @@ } }, "node_modules/@playwright/test": { - "version": "1.64.1", - "resolved": "https://registry.npmjs.org/@playwright/test/-/test-1.64.1.tgz", - "integrity": "sha512-IaYGml/nSOiZWROfPtuIL7neuu9qDOZ3TNvNljUIrhDMxiGTgPjzj/g9p9RxpS2tSepPDRY+UwAaEeiKtUvIAg==", + "version": "1.65.0", + "resolved": "https://registry.npmjs.org/@playwright/test/-/test-1.65.0.tgz", + "integrity": "sha512-iGURLGuKDLakSEl7Pgfv8h7f+XLT+V861Wfhz0zlEl5nyFuKUopdkFBPKqTllTUp06aOwPuH8iuUEb3yp3MpbQ==", "dev": true, "license": "Apache-2.0", "dependencies": { - "playwright": "1.64.1" + "playwright": "1.65.0" }, "bin": { "playwright": "cli.js" @@ -2259,17 +2259,17 @@ "license": "MIT" }, "node_modules/@typescript-eslint/eslint-plugin": { - "version": "8.72.1", - "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-8.72.1.tgz", - "integrity": "sha512-5CokTWXpmbylfFabsbvHC0CAw3XLaGnoa+nFJX5FR592h/LoZsENUE6p/rg5xvkKrFEXz6pYmgI29AgXc2N3BQ==", + "version": "8.72.2", + "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-8.72.2.tgz", + "integrity": "sha512-222PKFXKihmFpi/pS5njoBgdAqsPhj2/GBmFbrNw8Tq8gEG9Sv+kSlKFy4u2q+mJv9ZzJgM2Gkv/bUzRZwZw5g==", "dev": true, "license": "MIT", "dependencies": { "@eslint-community/regexpp": "^4.12.2", - "@typescript-eslint/scope-manager": "8.72.1", - "@typescript-eslint/type-utils": "8.72.1", - "@typescript-eslint/utils": "8.72.1", - "@typescript-eslint/visitor-keys": "8.72.1", + "@typescript-eslint/scope-manager": "8.72.2", + "@typescript-eslint/type-utils": "8.72.2", + "@typescript-eslint/utils": "8.72.2", + "@typescript-eslint/visitor-keys": "8.72.2", "ignore": "^7.0.5", "natural-compare": "^1.4.0", "ts-api-utils": "^2.5.0" @@ -2282,22 +2282,22 @@ "url": "https://opencollective.com/typescript-eslint" }, "peerDependencies": { - "@typescript-eslint/parser": "^8.72.1", + "@typescript-eslint/parser": "^8.72.2", "eslint": "^8.57.0 || ^9.0.0 || ^10.0.0", "typescript": ">=4.8.4 <6.1.0" } }, "node_modules/@typescript-eslint/parser": { - "version": "8.72.1", - "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-8.72.1.tgz", - "integrity": "sha512-ZGwZP4OCfyA0AQTpEAMWz+rtX01DRhQWW5hB0ucKDEIX5U7jdmPSaMx94rQfaPAQzIYz2BimOgKOJtjfpRFQ9g==", + "version": "8.72.2", + "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-8.72.2.tgz", + "integrity": "sha512-llP+T1YuJOLlxEciP6OyQGtz5SMxyn+9LA2BvZw5RmToGVa1y4beEDVQL6Gje7T5WFYh19WREjDCN9Ev4gm5AA==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/scope-manager": "8.72.1", - "@typescript-eslint/types": "8.72.1", - "@typescript-eslint/typescript-estree": "8.72.1", - "@typescript-eslint/visitor-keys": "8.72.1", + "@typescript-eslint/scope-manager": "8.72.2", + "@typescript-eslint/types": "8.72.2", + "@typescript-eslint/typescript-estree": "8.72.2", + "@typescript-eslint/visitor-keys": "8.72.2", "debug": "^4.4.3" }, "engines": { @@ -2313,14 +2313,14 @@ } }, "node_modules/@typescript-eslint/project-service": { - "version": "8.72.1", - "resolved": "https://registry.npmjs.org/@typescript-eslint/project-service/-/project-service-8.72.1.tgz", - "integrity": "sha512-fAuVMkwdO/huI8nyo/WKnNKf6Gag93S56Rh3Ts5mGcavwSdaN8tRg1gCeIGX8PF+nzp1BjGfO4gHhGzW1J6jTg==", + "version": "8.72.2", + "resolved": "https://registry.npmjs.org/@typescript-eslint/project-service/-/project-service-8.72.2.tgz", + "integrity": "sha512-6y5dLTZdHhI8Eh3yIQ/bfQhRKwn5e+TpJj64o18Cngc0iW/BCrVvrr6zGYqXPnYH31u6YXAYiFh0+qxX5mybJw==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/tsconfig-utils": "^8.72.1", - "@typescript-eslint/types": "^8.72.1", + "@typescript-eslint/tsconfig-utils": "^8.72.2", + "@typescript-eslint/types": "^8.72.2", "debug": "^4.4.3" }, "engines": { @@ -2335,14 +2335,14 @@ } }, "node_modules/@typescript-eslint/scope-manager": { - "version": "8.72.1", - "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.72.1.tgz", - "integrity": "sha512-lC/t6eMCZZQAAKZEYGL6RDVSuFehpdmMT6h+nJIjIa6oylN/PwDgDVtEIbB7O9xFfZYtZAYLoLlDNWKJhtF+uQ==", + "version": "8.72.2", + "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.72.2.tgz", + "integrity": "sha512-iIoMJ6/8c1/QpFNyFjU0d1YzPco4MsZjQw0k3V+vfzNWAFmUmvhlyMoYEoYYDQZXc+J6Gi1X5XcxlzW2taIIGQ==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/types": "8.72.1", - "@typescript-eslint/visitor-keys": "8.72.1" + "@typescript-eslint/types": "8.72.2", + "@typescript-eslint/visitor-keys": "8.72.2" }, "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" @@ -2353,9 +2353,9 @@ } }, "node_modules/@typescript-eslint/tsconfig-utils": { - "version": "8.72.1", - "resolved": "https://registry.npmjs.org/@typescript-eslint/tsconfig-utils/-/tsconfig-utils-8.72.1.tgz", - "integrity": "sha512-e4D5R5vpeAEPBxT2BAzsFQL3sbwyeeeo5+aczgNSRK1V734jE7pTqaGFU+fXapWEQwnZbpFaTn32+Z8DwS6OTg==", + "version": "8.72.2", + "resolved": "https://registry.npmjs.org/@typescript-eslint/tsconfig-utils/-/tsconfig-utils-8.72.2.tgz", + "integrity": "sha512-+h3iCgZXuTNtoLXcnnjP12ZUHLMqoUcIHPfQrFEXTUqvb9dF8QK9b5nv5VtSo5fLkdHuks8ehbTzZj3rImAm9w==", "dev": true, "license": "MIT", "engines": { @@ -2370,15 +2370,15 @@ } }, "node_modules/@typescript-eslint/type-utils": { - "version": "8.72.1", - "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-8.72.1.tgz", - "integrity": "sha512-iY2wlmyrXJmx4yxUGP3aYCFF3cA/6ShddOKmLU2dx7LnEykbAM8WThlxZEfd1NddqceF6eJmZUayxx9oKIYNlg==", + "version": "8.72.2", + "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-8.72.2.tgz", + "integrity": "sha512-STfkR38qIdhfkLpgtXnUjAzsNy4xouqiBO0lrVc/Wpk9Kem5/aHXUx1J8dGC16zpdYN1+yc2ILQ28er1kXX7ag==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/types": "8.72.1", - "@typescript-eslint/typescript-estree": "8.72.1", - "@typescript-eslint/utils": "8.72.1", + "@typescript-eslint/types": "8.72.2", + "@typescript-eslint/typescript-estree": "8.72.2", + "@typescript-eslint/utils": "8.72.2", "debug": "^4.4.3", "ts-api-utils": "^2.5.0" }, @@ -2395,9 +2395,9 @@ } }, "node_modules/@typescript-eslint/types": { - "version": "8.72.1", - "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.72.1.tgz", - "integrity": "sha512-LmE5IhQet1BWOWEXqBrVtBPsMAOQ6Nzk35d+WLh3mk4EUF33sqlfxjio1MdYeSvKSG5skactKKuixBIKXhL4Rw==", + "version": "8.72.2", + "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.72.2.tgz", + "integrity": "sha512-Xfn37OLZx03+PCU7qWx9DTv2FCRh1E6fk2+wONeNY15HXIwtcwuveaSwVpGAUptkNmPQegRxW5JyRel9T7wrog==", "dev": true, "license": "MIT", "engines": { @@ -2409,16 +2409,16 @@ } }, "node_modules/@typescript-eslint/typescript-estree": { - "version": "8.72.1", - "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.72.1.tgz", - "integrity": "sha512-DAlUoUV93hIvrtIQLwCbmZQYVZwOMhiHJrOVUUIWicFZaIYjTRqlY3I/NZevfkLmSqkNHRu2qYDcq9lrn16oOQ==", + "version": "8.72.2", + "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.72.2.tgz", + "integrity": "sha512-pQEGqIK/cqEvKivVWaFLYpe7XYejFxfuAOi4mu1oAWFvIo36aRHI9esRFTUxcIy/z8N482RJyH+LpZB0ZIU7Ow==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/project-service": "8.72.1", - "@typescript-eslint/tsconfig-utils": "8.72.1", - "@typescript-eslint/types": "8.72.1", - "@typescript-eslint/visitor-keys": "8.72.1", + "@typescript-eslint/project-service": "8.72.2", + "@typescript-eslint/tsconfig-utils": "8.72.2", + "@typescript-eslint/types": "8.72.2", + "@typescript-eslint/visitor-keys": "8.72.2", "debug": "^4.4.3", "minimatch": "^10.2.2", "semver": "^7.7.3", @@ -2437,16 +2437,16 @@ } }, "node_modules/@typescript-eslint/utils": { - "version": "8.72.1", - "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-8.72.1.tgz", - "integrity": "sha512-5v5liypurJBFHCBNqh/RjsymAD+VWcE0djuGY/BUqp5fC3Qn+luWDEksjuTtWjPn6i5zQlUtkZCRG/CYG0yCkA==", + "version": "8.72.2", + "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-8.72.2.tgz", + "integrity": "sha512-hv3eRYbpPbbpezuax1EfGrzpa3C4ySgNZkPUkLOWOAjU8HsOKowEDAr8C7nsNl1C+SBSKDpvno6VKHnlhvp9iA==", "dev": true, "license": "MIT", "dependencies": { "@eslint-community/eslint-utils": "^4.9.1", - "@typescript-eslint/scope-manager": "8.72.1", - "@typescript-eslint/types": "8.72.1", - "@typescript-eslint/typescript-estree": "8.72.1" + "@typescript-eslint/scope-manager": "8.72.2", + "@typescript-eslint/types": "8.72.2", + "@typescript-eslint/typescript-estree": "8.72.2" }, "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" @@ -2461,13 +2461,13 @@ } }, "node_modules/@typescript-eslint/visitor-keys": { - "version": "8.72.1", - "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.72.1.tgz", - "integrity": "sha512-SB8xqipSzZHUePCCLNeYxqnxq83X61/qzNhjQGbTfjxGZIeOEP7tBgWYX05Tcd6CgE02WdTJnh5b8kMZJ/+bnQ==", + "version": "8.72.2", + "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.72.2.tgz", + "integrity": "sha512-NAGrjn0Pitjqzq/GkgMC4kBYm233PQ8GffyQ9+kTA3AlNQYEzOf25EIM02BAHZv5FRJSpHpJk+OGUxVkOB93GQ==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/types": "8.72.1", + "@typescript-eslint/types": "8.72.2", "eslint-visitor-keys": "^5.0.0" }, "engines": { @@ -7407,13 +7407,13 @@ } }, "node_modules/playwright": { - "version": "1.64.1", - "resolved": "https://registry.npmjs.org/playwright/-/playwright-1.64.1.tgz", - "integrity": "sha512-HCrVhHr5QQuwYoswEUGTb7gGp522yflbv/ST8nF4sFWGuLjQCt17Q/EubpGGSNKYn1tsTCPZxqHhHCfVURu7UA==", + "version": "1.65.0", + "resolved": "https://registry.npmjs.org/playwright/-/playwright-1.65.0.tgz", + "integrity": "sha512-F3AMWcR44qMBt4kq+6Kb6mX7bjGXshktKFOPULd7reED6ZJWevjbNRqysP7q+AATE9kdPEZBibex1BYsvpVoeA==", "dev": true, "license": "Apache-2.0", "dependencies": { - "playwright-core": "1.64.1" + "playwright-core": "1.65.0" }, "bin": { "playwright": "cli.js" @@ -7423,9 +7423,9 @@ } }, "node_modules/playwright-core": { - "version": "1.64.1", - "resolved": "https://registry.npmjs.org/playwright-core/-/playwright-core-1.64.1.tgz", - "integrity": "sha512-BC4s8y6SEVA6Q1rSxZTto8hI1KUI3xXlHGZgvGqP4IqPdI/a6FX9H29IDNz7vKo9l21b6LfYosScPL6M3xxyDQ==", + "version": "1.65.0", + "resolved": "https://registry.npmjs.org/playwright-core/-/playwright-core-1.65.0.tgz", + "integrity": "sha512-vNSKgH6YqtN7cdT/L334zo0a+YwkrpicyrHJlWWPIm/Q+Nn2SWInil01oT0mbu96U4GgoRtCYQD9CzJQgju+lA==", "dev": true, "license": "Apache-2.0", "bin": { diff --git a/template/package.json b/template/package.json index 06e3fea..e627808 100644 --- a/template/package.json +++ b/template/package.json @@ -76,13 +76,13 @@ "@agentage/cli": "0.50.4", "@agentage/widget": "^0.3.0", "@axe-core/playwright": "4.14.0", - "@electric-sql/pglite": "0.5.15", - "@playwright/test": "1.64.1", + "@electric-sql/pglite": "0.5.16", + "@playwright/test": "1.65.0", "@types/express": "5.0.6", "@types/node": "26.6.6", "@types/react": "19.3.0", - "@typescript-eslint/eslint-plugin": "8.72.1", - "@typescript-eslint/parser": "8.72.1", + "@typescript-eslint/eslint-plugin": "8.72.2", + "@typescript-eslint/parser": "8.72.2", "@vitest/coverage-v8": "5.1.0", "eslint": "10.14.0", "eslint-config-prettier": "10.1.8", From f74530202d792b0a5245718d3c0c6460366431c2 Mon Sep 17 00:00:00 2001 From: Volodymyr Vreshch Date: Sat, 14 Nov 2026 02:06:02 +0100 Subject: [PATCH 20/38] docs: apply README review notes (#19) * docs: apply README review notes Claude-Session: https://claude.ai/code/session_01XQkodjcXRj9XV1ZhGuYQQr * docs: apply review fixes Claude-Session: https://claude.ai/code/session_01XQkodjcXRj9XV1ZhGuYQQr --- template/README.md | 19 ++++++++----------- 1 file changed, 8 insertions(+), 11 deletions(-) diff --git a/template/README.md b/template/README.md index aa7f402..a309e25 100644 --- a/template/README.md +++ b/template/README.md @@ -1,21 +1,18 @@ # extension-template -An agentage extension with one of every part. It is for extension developers. An -extension is one npm package. It adds a web page, a widget, an API, MCP tools, a job or CLI -commands to agentage. +An agentage extension with one of every part (a part is one folder in `src/`; the `store` part is +`migrations/` and `seeds/`). It is for extension developers. An extension is one npm package. It adds +a web page, a widget, an API, MCP tools, a job or CLI commands to agentage. + +You need Node 22 or newer, npm 10 or newer, Docker and git. Nothing needs a sign-in. ```bash npx @agentage/cli@latest extension create [part...] # no part = all seven ``` -A **part** is one folder in `src/`: `pages`, `ui`, `api`, `mcp`, `worker`, `cli`, plus `store` -(postgres, in `migrations/` and `seeds/`). `create` keeps the parts you name. It deletes the other -parts. It writes your id into every file. Lines below that name a part apply only when you kept it; delete the others from your README. -See the [id rules](docs/run-locally.md#create). - -## You need - -Node 22 or newer, npm 10 or newer, Docker and git. Nothing needs a sign-in. +The parts are `pages`, `ui`, `api`, `mcp`, `worker`, `cli` and `store` (postgres). `create` keeps +the parts you name and deletes the other parts. It writes your id into every file. In your copy, +delete the README lines about parts you did not keep. See the [id rules](docs/run-locally.md#create). ## Start From 82ff35e4548094eaeb0d218d495fe56653010eb5 Mon Sep 17 00:00:00 2001 From: Volodymyr Vreshch Date: Mon, 16 Nov 2026 00:20:08 +0100 Subject: [PATCH 21/38] feat: move to kit 0.14.0 and /api/template (#20) * feat: move to kit 0.13.0 and /api/template Claude-Session: https://claude.ai/code/session_01XQkodk97SUpq3ukrbuYAxz * feat: move to kit 0.14.0, echo without a caller, up --docker in CI Claude-Session: https://claude.ai/code/session_01XQkodk97SUpq3ukrbuYAxz * chore(deps): lock kit 0.14.0 Claude-Session: https://claude.ai/code/session_01XQkodk97SUpq3ukrbuYAxz * chore(deps): lock cli 0.52.0, the cli that knows up --docker Claude-Session: https://claude.ai/code/session_01XQkodk97SUpq3ukrbuYAxz --- template/.github/workflows/ci.yml | 4 ++-- template/CLAUDE.md | 2 +- template/README.md | 26 +++++++++++++------------- template/docs/run-locally.md | 12 ++++++------ template/migrations/001-pings.sql | 2 +- template/openapi.json | 4 ++-- template/package-lock.json | 22 ++++++++++++---------- template/package.json | 6 +++--- template/playwright.config.ts | 2 +- template/src/api/index.test.ts | 27 +++++++++++++++++++++------ template/src/api/index.ts | 4 ++-- 11 files changed, 64 insertions(+), 47 deletions(-) diff --git a/template/.github/workflows/ci.yml b/template/.github/workflows/ci.yml index 4a72f29..7f08938 100644 --- a/template/.github/workflows/ci.yml +++ b/template/.github/workflows/ci.yml @@ -74,8 +74,8 @@ jobs: npx --prefix e2e-suite playwright install chromium # The cli and its kit come from this lockfile: a cli or kit patch needs a commit here. - - name: agentage extension up (the release recipes, store, dev issuer, gateway) - run: node_modules/.bin/agentage extension up + - name: agentage extension up --docker (the release recipes, store, dev issuer, gateway) + run: node_modules/.bin/agentage extension up --docker - name: The widget a11y test through the local gateway (src/**/*.spec.ts) run: npm run test:e2e diff --git a/template/CLAUDE.md b/template/CLAUDE.md index 1ecfad9..beb4340 100644 --- a/template/CLAUDE.md +++ b/template/CLAUDE.md @@ -114,7 +114,7 @@ These touches are outside this repo. Each is one small PR or one owner action. ## 8. What the platform promises - The kit checks the token and the declared scope before your route or tool runs. -- The gateway serves `/`, `/ui/{version}/`, `/api/v1/` and `/mcp`. It drops the `Cookie` header. +- The gateway serves `/`, `/ui/{version}/`, `/api/{id}/` and `/mcp`. It drops the `Cookie` header. - The estate runs the migrations as a job before the rollout. A release never restarts the store. - The same smoke and contract gate runs for every extension in the e2e registry. - A kit minor reaches this repo through the weekly Dependabot group PR. Merge it when CI is green. diff --git a/template/README.md b/template/README.md index a309e25..996752c 100644 --- a/template/README.md +++ b/template/README.md @@ -32,9 +32,9 @@ More: [when up or build stops](docs/run-locally.md#when-up-or-build-stops). ## Run it on your machine ```bash -npx agentage extension up # Docker; prints "ready N parts healthy" when done +npx agentage extension up --docker # Docker; prints "ready N parts healthy" when done T=$(npx agentage extension token --scope :read) -curl -s -H "Authorization: Bearer $T" "localhost:4280/api/v1/echo?msg=hi" +curl -s -H "Authorization: Bearer $T" "localhost:4280/api/template/echo?msg=hi" npx agentage extension down # removes this folder's containers, network and volume ``` @@ -44,8 +44,8 @@ npx agentage extension down # removes this folder's containers, network and v ### Call it -- `GET /api/v1/echo?msg=hi` with a token answers 200; without `msg`, 400. -- `GET /api/v1/ping` is public and answers 200 `pong`. +- `GET /api/template/echo?msg=hi` with a token answers 200; without `msg`, 400. +- `GET /api/template/ping` is public and answers 200 `pong`. - A protected route without a token answers 401. `openapi.json` (api) and `.mcpc.json` (mcp) list all routes and tools. The MCP tool @@ -58,15 +58,15 @@ Each part serves `/health` on port 3000 in its container. `up` does not publish ## What each part does here -| Part | Folder | What it does | -| ------ | ----------------------- | ------------------------------------------------------------------- | -| pages | `src/pages` | `/` shows the id, version and commit | -| ui | `src/ui` | the widget `<{id}-echo>`, served at `/ui/{version}/{id}.js` | -| api | `src/api` | `GET /api/v1/echo` (scope `{id}:read`), `GET /api/v1/ping` (public) | -| mcp | `src/mcp` | the tool `{id}__echo` (scope `{id}:read`) | -| worker | `src/worker` | the job `tick`, every minute | -| store | `migrations/`, `seeds/` | postgres; `ping` counts the rows of `pings` | -| cli | `src/cli` | `agentage ping [msg]` prints `pong` | +| Part | Folder | What it does | +| ------ | ----------------------- | ------------------------------------------------------------------------------- | +| pages | `src/pages` | `/` shows the id, version and commit | +| ui | `src/ui` | the widget `<{id}-echo>`, served at `/ui/{version}/{id}.js` | +| api | `src/api` | `GET /api/template/echo` (scope `{id}:read`), `GET /api/template/ping` (public) | +| mcp | `src/mcp` | the tool `{id}__echo` (scope `{id}:read`) | +| worker | `src/worker` | the job `tick`, every minute | +| store | `migrations/`, `seeds/` | postgres; `ping` counts the rows of `pings` | +| cli | `src/cli` | `agentage ping [msg]` prints `pong` | A seed in `seeds/` runs once, on an empty store. diff --git a/template/docs/run-locally.md b/template/docs/run-locally.md index 921cfd2..5087ef4 100644 --- a/template/docs/run-locally.md +++ b/template/docs/run-locally.md @@ -21,12 +21,12 @@ in that folder, or find the holder with `docker ps`. ## Answers -| Call | Answer | -| ------------------------------------- | -------------------------------------------------------------------------------------------- | -| `GET /api/v1/echo?msg=hi` with token | 200 `{"success":true,"data":{"msg":"hi","caller":...}}` | -| `GET /api/v1/ping` (public, no token) | 200 `{"success":true,"data":{"msg":"pong","pings":1}}`; `pings` counts the rows in the store | -| a protected route without a token | 401 `{"success":false,"error":{"code":"UNAUTHORIZED","message":...,"agcid":...}}` | -| `echo` without `msg` | 400 `{"success":false,"error":{"code":"VALIDATION_ERROR",...}}`, with the field named | +| Call | Answer | +| ------------------------------------------- | -------------------------------------------------------------------------------------------- | +| `GET /api/template/echo?msg=hi` with token | 200 `{"success":true,"data":{"msg":"hi","caller":...}}` | +| `GET /api/template/ping` (public, no token) | 200 `{"success":true,"data":{"msg":"pong","pings":1}}`; `pings` counts the rows in the store | +| a protected route without a token | 401 `{"success":false,"error":{"code":"UNAUTHORIZED","message":...,"agcid":...}}` | +| `echo` without `msg` | 400 `{"success":false,"error":{"code":"VALIDATION_ERROR",...}}`, with the field named | Every answer has an `Agcid` response header with the request id. An error body also carries it as `error.agcid`. A success body does not. diff --git a/template/migrations/001-pings.sql b/template/migrations/001-pings.sql index db10d2b..2daa4d8 100644 --- a/template/migrations/001-pings.sql +++ b/template/migrations/001-pings.sql @@ -1,4 +1,4 @@ --- Applied in order by the api image's migrate job, before the rollout; GET /api/v1/ping counts the rows. +-- Applied in order by the api image's migrate job, before the rollout; GET /api/template/ping counts the rows. create table if not exists pings ( id bigint generated always as identity primary key, pinged_at timestamptz not null default now() diff --git a/template/openapi.json b/template/openapi.json index dcc843d..5d71dce 100644 --- a/template/openapi.json +++ b/template/openapi.json @@ -72,7 +72,7 @@ } }, "paths": { - "/api/v1/echo": { + "/api/template/echo": { "get": { "summary": "Echo msg", "security": [ @@ -156,7 +156,7 @@ } } }, - "/api/v1/ping": { + "/api/template/ping": { "get": { "summary": "Answer pong", "security": [], diff --git a/template/package-lock.json b/template/package-lock.json index 417d9ca..ca5f2ea 100644 --- a/template/package-lock.json +++ b/template/package-lock.json @@ -9,12 +9,12 @@ "version": "0.1.0", "license": "MIT", "dependencies": { - "@agentage/extension": "0.12.2", + "@agentage/extension": "0.14.0", "express": "^5.1.0", "zod": "^4.2.0" }, "devDependencies": { - "@agentage/cli": "0.50.4", + "@agentage/cli": "0.52.0", "@agentage/widget": "^0.3.0", "@axe-core/playwright": "4.14.0", "@electric-sql/pglite": "0.5.16", @@ -38,20 +38,22 @@ "vitest": "5.1.0" }, "engines": { - "agentage": "^0.12", + "agentage": "^0.14", "node": ">=22" } }, "node_modules/@agentage/cli": { - "version": "0.50.4", - "resolved": "https://registry.npmjs.org/@agentage/cli/-/cli-0.50.4.tgz", - "integrity": "sha512-Z7v06aIDrW5l/6j62xoIXxAbVEa4jKpFFay2DtpcD5QLw4RAdI54GY3Y0N6Xaln9X+4s3Ly4XCNaZnWiKPbMcw==", + "version": "0.52.0", + "resolved": "https://registry.npmjs.org/@agentage/cli/-/cli-0.52.0.tgz", + "integrity": "sha512-Sx4iMQfH20H5H0Wg5o5Vekmfw9xYRdctu7ls3OfMK1w/erovCjA9zuZVUsfGmkkbt/CNAE8sXagSTy9ehgpc6Q==", "dev": true, "license": "MIT", "dependencies": { - "@agentage/extension": "^0.12.1", + "@agentage/extension": "^0.14.0", + "@electric-sql/pglite": "^0.5.16", "chalk": "^6.0.0", "commander": "^15.0.0", + "express": "^5.3.0", "open": "^11.0.0" }, "bin": { @@ -94,9 +96,9 @@ } }, "node_modules/@agentage/extension": { - "version": "0.12.2", - "resolved": "https://registry.npmjs.org/@agentage/extension/-/extension-0.12.2.tgz", - "integrity": "sha512-2KVTf0f5RVBDDCYUGzXVCTXGdn/d9OJSQBQSdi+MyBE/2EoNDUGpivYZJVmk+2YxiG1cjEw3iDcGXNbQFTKJlw==", + "version": "0.14.0", + "resolved": "https://registry.npmjs.org/@agentage/extension/-/extension-0.14.0.tgz", + "integrity": "sha512-ELKoRHAYajm9CBE8AoKFq860crL9n/oLtXPsDyXiO6uwXVtR01EvakvVEEU9MaHT9s5G8Een/G7+RcHma9RyZg==", "license": "MIT", "dependencies": { "@modelcontextprotocol/server": "^2.4.0", diff --git a/template/package.json b/template/package.json index e627808..f5184ea 100644 --- a/template/package.json +++ b/template/package.json @@ -17,7 +17,7 @@ }, "engines": { "node": ">=22", - "agentage": "^0.12" + "agentage": "^0.14" }, "agentage": { "id": "template", @@ -68,12 +68,12 @@ "prepublishOnly": "npm run verify" }, "dependencies": { - "@agentage/extension": "0.12.2", + "@agentage/extension": "0.14.0", "express": "^5.1.0", "zod": "^4.2.0" }, "devDependencies": { - "@agentage/cli": "0.50.4", + "@agentage/cli": "0.52.0", "@agentage/widget": "^0.3.0", "@axe-core/playwright": "4.14.0", "@electric-sql/pglite": "0.5.16", diff --git a/template/playwright.config.ts b/template/playwright.config.ts index 36b2898..cba7f7a 100644 --- a/template/playwright.config.ts +++ b/template/playwright.config.ts @@ -1,6 +1,6 @@ import { defineConfig } from '@playwright/test'; -// Against `agentage extension up` (the release images behind the local gateway); E2E_BASE_URL elsewhere. +// Against `agentage extension up --docker` (the release images behind the local gateway); E2E_BASE_URL elsewhere. export default defineConfig({ testDir: 'src', testMatch: '**/*.spec.ts', diff --git a/template/src/api/index.test.ts b/template/src/api/index.test.ts index 662b96c..03c00e6 100644 --- a/template/src/api/index.test.ts +++ b/template/src/api/index.test.ts @@ -1,4 +1,5 @@ import { + type ApiContext, createTestContext, ok, startTestServer, @@ -21,9 +22,9 @@ afterAll(async () => { await ctx.close(); }); -describe('GET /api/v1/echo', () => { +describe('GET /api/template/echo', () => { it('echoes msg and names the caller', async () => { - const res = await server.fetch('/api/v1/echo?msg=hi'); + const res = await server.fetch('/api/template/echo?msg=hi'); expect(await res.json()).toEqual(ok({ msg: 'hi', caller: 'usr_test' })); }); @@ -31,18 +32,18 @@ describe('GET /api/v1/echo', () => { ['empty', ''], ['over 200 characters', 'x'.repeat(201)], ])('refuses a msg %s', async (_name, msg) => { - expect((await server.fetch(`/api/v1/echo?msg=${msg}`)).status).toBe(400); + expect((await server.fetch(`/api/template/echo?msg=${msg}`)).status).toBe(400); }); }); const ping = async (ctx: PartContext) => { const one = await startTestServer({ create, ctx }); - const body: unknown = await (await one.fetch('/api/v1/ping')).json(); + const body: unknown = await (await one.fetch('/api/template/ping')).json(); await one.close(); return body; }; -describe('GET /api/v1/ping', () => { +describe('GET /api/template/ping', () => { it('counts the rows of pings when the manifest keeps the store', async () => { const counted = { query: async () => ({ rows: [{ n: 3 }] }) } as Store; const ctx = createTestContext({ extension: { store: 'postgres' } }); @@ -56,7 +57,21 @@ describe('GET /api/v1/ping', () => { }); it.runIf(store)('counts the seeded row: the migration and the seed ran', async () => { - const res = await server.fetch('/api/v1/ping'); + const res = await server.fetch('/api/template/ping'); expect(await res.json()).toEqual(ok({ msg: 'pong', pings: 1 })); }); }); + +describe('GET /api/template/echo with no token check', () => { + it('names the caller local when the request has no caller', () => { + const handlers: Record unknown> = {}; + const route = ((_m: string, path: string, _o: unknown, h: (req: unknown) => unknown) => { + handlers[path] = h; + }) as unknown as ApiContext['route']; + create({ ...ctx, route } as ApiContext); + expect(handlers['/echo']?.({ input: { msg: 'hi' }, caller: null })).toEqual({ + msg: 'hi', + caller: 'local', + }); + }); +}); diff --git a/template/src/api/index.ts b/template/src/api/index.ts index 2aff00e..a210f02 100644 --- a/template/src/api/index.ts +++ b/template/src/api/index.ts @@ -7,13 +7,13 @@ const countPings = async (store: Store) => { return n; }; -// Mounted at /api/v1; openapi.json is generated from these routes. +// Mounted at /api/template; openapi.json is generated from these routes. export function create({ route, store, extension }: ApiContext) { const input = z.object({ msg: z.string().min(1).max(200) }); const output = z.object({ msg: z.string(), caller: z.string() }); route('get', '/echo', { summary: 'Echo msg', input, output }, (req) => ({ msg: req.input.msg, - caller: req.caller.sub, + caller: req.caller?.sub ?? 'local', })); const pong = z.object({ msg: z.string(), pings: z.int().nullable() }); route('get', '/ping', { summary: 'Answer pong', scope: 'public', output: pong }, async () => ({ From d59ed644c7bc869598a21764aa709643abd8866e Mon Sep 17 00:00:00 2001 From: Volodymyr Vreshch Date: Mon, 16 Nov 2026 08:18:31 +0100 Subject: [PATCH 22/38] feat: kit 0.15 (#21) * feat: kit 0.15, up on the daemon Claude-Session: https://claude.ai/code/session_01XQkodk97SUpq3ukrbuYAxz * ci: cli 0.53.0, gate docker Claude-Session: https://claude.ai/code/session_01XQkodk97SUpq3ukrbuYAxz * ci: keep the required job name Claude-Session: https://claude.ai/code/session_01XQkodk97SUpq3ukrbuYAxz --- template/.github/workflows/ci.yml | 7 ++++--- template/.gitignore | 2 ++ template/README.md | 5 +++++ template/package-lock.json | 20 ++++++++++---------- template/package.json | 6 +++--- 5 files changed, 24 insertions(+), 16 deletions(-) diff --git a/template/.github/workflows/ci.yml b/template/.github/workflows/ci.yml index 7f08938..4379ae4 100644 --- a/template/.github/workflows/ci.yml +++ b/template/.github/workflows/ci.yml @@ -38,9 +38,10 @@ jobs: run: node_modules/.bin/agentage extension check local: + # The name stays: a required check of the ruleset. name: up and the e2e gate on local runs-on: ubuntu-latest - # The gate on local stays under 10 minutes; slower is a regression. + # The gate on docker stays under 10 minutes; slower is a regression. timeout-minutes: 10 steps: - name: Checkout @@ -81,12 +82,12 @@ jobs: run: npm run test:e2e # {ID}_DIR lets the gate read the contracts from this checkout; the name follows the id. - - name: e2e gate on local (agentage/e2e, a row in its extensions.json) + - name: e2e gate on docker (agentage/e2e, a row in its extensions.json) if: github.actor != 'dependabot[bot]' && github.event.pull_request.head.repo.fork != true working-directory: e2e-suite run: | var="$(jq -r .agentage.id ../package.json | tr a-z- A-Z_)_DIR" - env "$var=$GITHUB_WORKSPACE" npm run e2e -- template gate local + env "$var=$GITHUB_WORKSPACE" npm run e2e -- template gate docker # A gate that skipped itself is not green. - name: Assert the gate was not vacuous diff --git a/template/.gitignore b/template/.gitignore index 6caa13f..6ebad8e 100644 --- a/template/.gitignore +++ b/template/.gitignore @@ -1,5 +1,7 @@ node_modules/ dist/ +dist.next/ +dist.prev/ coverage/ *.tgz *.log diff --git a/template/README.md b/template/README.md index 996752c..869efbd 100644 --- a/template/README.md +++ b/template/README.md @@ -31,6 +31,11 @@ More: [when up or build stops](docs/run-locally.md#when-up-or-build-stops). ## Run it on your machine +`npx agentage extension up` runs the folder on the daemon (127.0.0.1:4243): api, mcp (`/mcp/`) and +worker in one sealed child, no token, and each saved change in `src/` reloads it. `extension down` removes the row. + +With Docker, `up --docker` runs the release images, as a deployment does: + ```bash npx agentage extension up --docker # Docker; prints "ready N parts healthy" when done T=$(npx agentage extension token --scope :read) diff --git a/template/package-lock.json b/template/package-lock.json index ca5f2ea..3945b64 100644 --- a/template/package-lock.json +++ b/template/package-lock.json @@ -9,12 +9,12 @@ "version": "0.1.0", "license": "MIT", "dependencies": { - "@agentage/extension": "0.14.0", + "@agentage/extension": "0.15.0", "express": "^5.1.0", "zod": "^4.2.0" }, "devDependencies": { - "@agentage/cli": "0.52.0", + "@agentage/cli": "0.53.0", "@agentage/widget": "^0.3.0", "@axe-core/playwright": "4.14.0", "@electric-sql/pglite": "0.5.16", @@ -38,18 +38,18 @@ "vitest": "5.1.0" }, "engines": { - "agentage": "^0.14", + "agentage": "^0.15", "node": ">=22" } }, "node_modules/@agentage/cli": { - "version": "0.52.0", - "resolved": "https://registry.npmjs.org/@agentage/cli/-/cli-0.52.0.tgz", - "integrity": "sha512-Sx4iMQfH20H5H0Wg5o5Vekmfw9xYRdctu7ls3OfMK1w/erovCjA9zuZVUsfGmkkbt/CNAE8sXagSTy9ehgpc6Q==", + "version": "0.53.0", + "resolved": "https://registry.npmjs.org/@agentage/cli/-/cli-0.53.0.tgz", + "integrity": "sha512-NK2JssJjXsjrnu4uRzkeeH5rG79e0GYBK4H11iPJM+AE82RNHTwBR8fhCMSUWhLHMBh7/QPMfEUsWoirfiPr3g==", "dev": true, "license": "MIT", "dependencies": { - "@agentage/extension": "^0.14.0", + "@agentage/extension": "^0.15.0", "@electric-sql/pglite": "^0.5.16", "chalk": "^6.0.0", "commander": "^15.0.0", @@ -96,9 +96,9 @@ } }, "node_modules/@agentage/extension": { - "version": "0.14.0", - "resolved": "https://registry.npmjs.org/@agentage/extension/-/extension-0.14.0.tgz", - "integrity": "sha512-ELKoRHAYajm9CBE8AoKFq860crL9n/oLtXPsDyXiO6uwXVtR01EvakvVEEU9MaHT9s5G8Een/G7+RcHma9RyZg==", + "version": "0.15.0", + "resolved": "https://registry.npmjs.org/@agentage/extension/-/extension-0.15.0.tgz", + "integrity": "sha512-JBUZhPAMJzhm6sN1UsU2EvPZf3+IYc4O/jT7/btBcteMTM+Cf6V8GoBP9/CAML3F0BehpRdXqZP8u8WPrXRjGw==", "license": "MIT", "dependencies": { "@modelcontextprotocol/server": "^2.4.0", diff --git a/template/package.json b/template/package.json index f5184ea..c90f85a 100644 --- a/template/package.json +++ b/template/package.json @@ -17,7 +17,7 @@ }, "engines": { "node": ">=22", - "agentage": "^0.14" + "agentage": "^0.15" }, "agentage": { "id": "template", @@ -68,12 +68,12 @@ "prepublishOnly": "npm run verify" }, "dependencies": { - "@agentage/extension": "0.14.0", + "@agentage/extension": "0.15.0", "express": "^5.1.0", "zod": "^4.2.0" }, "devDependencies": { - "@agentage/cli": "0.52.0", + "@agentage/cli": "0.53.0", "@agentage/widget": "^0.3.0", "@axe-core/playwright": "4.14.0", "@electric-sql/pglite": "0.5.16", From 87ab6e7e9136aa386e605361900afa5f6bcd54d4 Mon Sep 17 00:00:00 2001 From: Volodymyr Vreshch Date: Mon, 16 Nov 2026 23:16:17 +0100 Subject: [PATCH 23/38] chore(deps): kit ^0.16 and cli 0.54.0 (#22) Claude-Session: https://claude.ai/code/session_01XQkodgygL4W8UcLQDwC212 --- template/package-lock.json | 20 ++++++++++---------- template/package.json | 6 +++--- 2 files changed, 13 insertions(+), 13 deletions(-) diff --git a/template/package-lock.json b/template/package-lock.json index 3945b64..709016c 100644 --- a/template/package-lock.json +++ b/template/package-lock.json @@ -9,12 +9,12 @@ "version": "0.1.0", "license": "MIT", "dependencies": { - "@agentage/extension": "0.15.0", + "@agentage/extension": "0.16.0", "express": "^5.1.0", "zod": "^4.2.0" }, "devDependencies": { - "@agentage/cli": "0.53.0", + "@agentage/cli": "0.54.0", "@agentage/widget": "^0.3.0", "@axe-core/playwright": "4.14.0", "@electric-sql/pglite": "0.5.16", @@ -38,18 +38,18 @@ "vitest": "5.1.0" }, "engines": { - "agentage": "^0.15", + "agentage": "^0.15 || ^0.16", "node": ">=22" } }, "node_modules/@agentage/cli": { - "version": "0.53.0", - "resolved": "https://registry.npmjs.org/@agentage/cli/-/cli-0.53.0.tgz", - "integrity": "sha512-NK2JssJjXsjrnu4uRzkeeH5rG79e0GYBK4H11iPJM+AE82RNHTwBR8fhCMSUWhLHMBh7/QPMfEUsWoirfiPr3g==", + "version": "0.54.0", + "resolved": "https://registry.npmjs.org/@agentage/cli/-/cli-0.54.0.tgz", + "integrity": "sha512-X50B3XitK8rBEktSnoOFJ901Kqkf3hBxTLIAQzwT1/ZJrgQh+vNur3poaBDtQLCvZKgjgN2qe+9t6LgS5nNv/w==", "dev": true, "license": "MIT", "dependencies": { - "@agentage/extension": "^0.15.0", + "@agentage/extension": "0.16.0", "@electric-sql/pglite": "^0.5.16", "chalk": "^6.0.0", "commander": "^15.0.0", @@ -96,9 +96,9 @@ } }, "node_modules/@agentage/extension": { - "version": "0.15.0", - "resolved": "https://registry.npmjs.org/@agentage/extension/-/extension-0.15.0.tgz", - "integrity": "sha512-JBUZhPAMJzhm6sN1UsU2EvPZf3+IYc4O/jT7/btBcteMTM+Cf6V8GoBP9/CAML3F0BehpRdXqZP8u8WPrXRjGw==", + "version": "0.16.0", + "resolved": "https://registry.npmjs.org/@agentage/extension/-/extension-0.16.0.tgz", + "integrity": "sha512-G7CBtW5qOJk76TeGv08SoStLq/26XeiWB3mgJuxHTH2FJiR0Iq6SgcQtVmha5ptyKulVv8FV6bZN3Yx1U2Hoig==", "license": "MIT", "dependencies": { "@modelcontextprotocol/server": "^2.4.0", diff --git a/template/package.json b/template/package.json index c90f85a..89bd20e 100644 --- a/template/package.json +++ b/template/package.json @@ -17,7 +17,7 @@ }, "engines": { "node": ">=22", - "agentage": "^0.15" + "agentage": "^0.15 || ^0.16" }, "agentage": { "id": "template", @@ -68,12 +68,12 @@ "prepublishOnly": "npm run verify" }, "dependencies": { - "@agentage/extension": "0.15.0", + "@agentage/extension": "0.16.0", "express": "^5.1.0", "zod": "^4.2.0" }, "devDependencies": { - "@agentage/cli": "0.53.0", + "@agentage/cli": "0.54.0", "@agentage/widget": "^0.3.0", "@axe-core/playwright": "4.14.0", "@electric-sql/pglite": "0.5.16", From a28e87cbfefbde1f2f0e6fa84d7fe4a246a63e76 Mon Sep 17 00:00:00 2001 From: Volodymyr Vreshch Date: Tue, 17 Nov 2026 06:48:00 +0100 Subject: [PATCH 24/38] feat(app): the app part and the fetch lint rule (S1.2 X3, kit 0.18) (#23) * feat(app): the app part and the fetch lint rule (S1.2 X3, kit 0.18) Claude-Session: https://claude.ai/code/session_01XQkodgygL4W8UcLQDwC212 * fix(app): catch the api error, block window.fetch, cli 0.57.0 Claude-Session: https://claude.ai/code/session_01XQkodgygL4W8UcLQDwC212 * fix(app): lint fetch by syntax so every form is refused Claude-Session: https://claude.ai/code/session_01XQkodgygL4W8UcLQDwC212 * test(app): show the lint messages on failure Claude-Session: https://claude.ai/code/session_01XQkodgygL4W8UcLQDwC212 * test(app): single-quoted lint inputs Claude-Session: https://claude.ai/code/session_01XQkodgygL4W8UcLQDwC212 * test(app): fix lint test quoting Claude-Session: https://claude.ai/code/session_01XQkodgygL4W8UcLQDwC212 * test(app): one ESLint instance for the lint cases Claude-Session: https://claude.ai/code/session_01XQkodgygL4W8UcLQDwC212 * test(app): dump the empty lint result Claude-Session: https://claude.ai/code/session_01XQkodgygL4W8UcLQDwC212 * test(app): readable lint dump Claude-Session: https://claude.ai/code/session_01XQkodgygL4W8UcLQDwC212 * test(app): throw the empty lint result Claude-Session: https://claude.ai/code/session_01XQkodgygL4W8UcLQDwC212 * test(app): warm the first typed lint Claude-Session: https://claude.ai/code/session_01XQkodgygL4W8UcLQDwC212 * test(app): set TSESTREE_SINGLE_RUN, drop the warm-up, assert every lint call Claude-Session: https://claude.ai/code/session_01XQkodgygL4W8UcLQDwC212 --- template/README.md | 21 +- template/eslint.config.mjs | 10 +- template/package-lock.json | 933 +++++++++++++++++++++++++++++---- template/package.json | 25 +- template/src/app-lint.test.ts | 28 + template/src/app-part.test.tsx | 45 ++ template/src/app/index.tsx | 32 ++ template/src/manifest.test.ts | 5 +- template/tsconfig.build.json | 2 +- template/tsconfig.eslint.json | 3 +- template/vitest.config.ts | 6 +- 11 files changed, 990 insertions(+), 120 deletions(-) create mode 100644 template/src/app-lint.test.ts create mode 100644 template/src/app-part.test.tsx create mode 100644 template/src/app/index.tsx diff --git a/template/README.md b/template/README.md index 869efbd..1502121 100644 --- a/template/README.md +++ b/template/README.md @@ -10,7 +10,7 @@ You need Node 22 or newer, npm 10 or newer, Docker and git. Nothing needs a sign npx @agentage/cli@latest extension create [part...] # no part = all seven ``` -The parts are `pages`, `ui`, `api`, `mcp`, `worker`, `cli` and `store` (postgres). `create` keeps +The parts are `pages`, `ui`, `api`, `mcp`, `worker`, `cli`, `app` and `store` (postgres). `create` keeps the parts you name and deletes the other parts. It writes your id into every file. In your copy, delete the README lines about parts you did not keep. See the [id rules](docs/run-locally.md#create). @@ -63,15 +63,16 @@ Each part serves `/health` on port 3000 in its container. `up` does not publish ## What each part does here -| Part | Folder | What it does | -| ------ | ----------------------- | ------------------------------------------------------------------------------- | -| pages | `src/pages` | `/` shows the id, version and commit | -| ui | `src/ui` | the widget `<{id}-echo>`, served at `/ui/{version}/{id}.js` | -| api | `src/api` | `GET /api/template/echo` (scope `{id}:read`), `GET /api/template/ping` (public) | -| mcp | `src/mcp` | the tool `{id}__echo` (scope `{id}:read`) | -| worker | `src/worker` | the job `tick`, every minute | -| store | `migrations/`, `seeds/` | postgres; `ping` counts the rows of `pings` | -| cli | `src/cli` | `agentage ping [msg]` prints `pong` | +| Part | Folder | What it does | +| ------ | ----------------------- | -------------------------------------------------------------------------------- | +| pages | `src/pages` | `/` shows the id, version and commit | +| ui | `src/ui` | the widget `<{id}-echo>`, served at `/ui/{version}/{id}.js` | +| api | `src/api` | `GET /api/template/echo` (scope `{id}:read`), `GET /api/template/ping` (public) | +| mcp | `src/mcp` | the tool `{id}__echo` (scope `{id}:read`) | +| worker | `src/worker` | the job `tick`, every minute | +| store | `migrations/`, `seeds/` | postgres; `ping` counts the rows of `pings` | +| cli | `src/cli` | `agentage ping [msg]` prints `pong` | +| app | `src/app` | the shell page `/{id}`: an Echo button that calls the api through `useAppHost()` | A seed in `seeds/` runs once, on an empty store. diff --git a/template/eslint.config.mjs b/template/eslint.config.mjs index 13a2808..05f0356 100644 --- a/template/eslint.config.mjs +++ b/template/eslint.config.mjs @@ -6,6 +6,8 @@ import playwrightPlugin from 'eslint-plugin-playwright'; import jsxA11y from 'eslint-plugin-jsx-a11y'; import reactHooks from 'eslint-plugin-react-hooks'; +const FETCH = 'Use useAppHost().api: the shell owns auth and the id.'; + export default [ { ignores: ['dist/**', 'coverage/**', 'test-results/**'], @@ -56,8 +58,14 @@ export default [ }, }, { - files: ['src/ui/**/*.tsx'], + files: ['src/ui/**/*.tsx', 'src/app/**/*.tsx'], plugins: { 'jsx-a11y': jsxA11y, 'react-hooks': reactHooks }, rules: { ...jsxA11y.flatConfigs.recommended.rules, ...reactHooks.configs.recommended.rules }, }, + { + files: ['src/app/**/*.tsx'], + rules: { + 'no-restricted-syntax': ['error', { selector: "Identifier[name='fetch']", message: FETCH }], + }, + }, ]; diff --git a/template/package-lock.json b/template/package-lock.json index 709016c..3c81182 100644 --- a/template/package-lock.json +++ b/template/package-lock.json @@ -9,52 +9,63 @@ "version": "0.1.0", "license": "MIT", "dependencies": { - "@agentage/extension": "0.16.0", + "@agentage/extension": "^0.18.1", "express": "^5.1.0", "zod": "^4.2.0" }, "devDependencies": { - "@agentage/cli": "0.54.0", + "@agentage/cli": "0.57.0", + "@agentage/design-system": "0.20.1", "@agentage/widget": "^0.3.0", "@axe-core/playwright": "4.14.0", "@electric-sql/pglite": "0.5.16", "@playwright/test": "1.65.0", + "@tailwindcss/postcss": "4.3.5", "@types/express": "5.0.6", "@types/node": "26.6.6", "@types/react": "19.3.0", + "@types/react-dom": "19.3.0", "@typescript-eslint/eslint-plugin": "8.72.2", "@typescript-eslint/parser": "8.72.2", "@vitest/coverage-v8": "5.1.0", + "esbuild": "0.28.2", "eslint": "10.14.0", "eslint-config-prettier": "10.1.8", "eslint-plugin-jsx-a11y": "6.10.2", "eslint-plugin-playwright": "2.12.2", "eslint-plugin-prettier": "5.5.7", "eslint-plugin-react-hooks": "7.1.1", + "jsdom": "31.0.1", + "postcss": "8.5.33", "prettier": "3.9.10", "react": "19.3.1", "react-dom": "19.3.1", + "tailwindcss": "4.3.5", "typescript": "6.0.3", "vitest": "5.1.0" }, "engines": { - "agentage": "^0.15 || ^0.16", + "agentage": "^0.18.1", "node": ">=22" } }, "node_modules/@agentage/cli": { - "version": "0.54.0", - "resolved": "https://registry.npmjs.org/@agentage/cli/-/cli-0.54.0.tgz", - "integrity": "sha512-X50B3XitK8rBEktSnoOFJ901Kqkf3hBxTLIAQzwT1/ZJrgQh+vNur3poaBDtQLCvZKgjgN2qe+9t6LgS5nNv/w==", + "version": "0.57.0", + "resolved": "https://registry.npmjs.org/@agentage/cli/-/cli-0.57.0.tgz", + "integrity": "sha512-Vb0IZ4Cwq+RSwz6CqRnUuSnv1fGbiElhLu+4kqIdKLgMOBYC14ZoXuuHIE9DUeJqtZqmySMBM3zkndN/pBYvug==", "dev": true, "license": "MIT", "dependencies": { - "@agentage/extension": "0.16.0", + "@agentage/extension": "0.18.1", "@electric-sql/pglite": "^0.5.16", + "@tailwindcss/postcss": "^4.3.5", "chalk": "^6.0.0", "commander": "^15.0.0", + "esbuild": "^0.28.2", "express": "^5.3.0", - "open": "^11.0.0" + "open": "^11.0.0", + "postcss": "^8.5.33", + "tailwindcss": "^4.3.5" }, "bin": { "agentage": "dist/cli.js" @@ -65,9 +76,9 @@ } }, "node_modules/@agentage/design-system": { - "version": "0.19.2", - "resolved": "https://registry.npmjs.org/@agentage/design-system/-/design-system-0.19.2.tgz", - "integrity": "sha512-34oA8MTFh6bw+Gan1uQp6LkJnDCD99RFFMHlBQF5Qfur3P+lT4AQY+MFXTpJLpoB29leKO6rkeyWT1UXP6EMZQ==", + "version": "0.20.1", + "resolved": "https://registry.npmjs.org/@agentage/design-system/-/design-system-0.20.1.tgz", + "integrity": "sha512-TTEqyfo9GYQZ6lYp5j5fxxbCX5yL4PrByZA9bGJ1wmbDYpUQ8i6V262cPwBqkcd4jFXJ5e7jzwXogxO9/lM4IQ==", "dev": true, "license": "MIT", "dependencies": { @@ -96,9 +107,9 @@ } }, "node_modules/@agentage/extension": { - "version": "0.16.0", - "resolved": "https://registry.npmjs.org/@agentage/extension/-/extension-0.16.0.tgz", - "integrity": "sha512-G7CBtW5qOJk76TeGv08SoStLq/26XeiWB3mgJuxHTH2FJiR0Iq6SgcQtVmha5ptyKulVv8FV6bZN3Yx1U2Hoig==", + "version": "0.18.1", + "resolved": "https://registry.npmjs.org/@agentage/extension/-/extension-0.18.1.tgz", + "integrity": "sha512-afJCZMub+M8t+aHTUeZVAQTaSPMFp3rQkeR9f0X+JuytPt1+kh0AHJ7QBL8XYeZM0aFxM7sYPsviEdMrJcr3/g==", "license": "MIT", "dependencies": { "@modelcontextprotocol/server": "^2.4.0", @@ -114,14 +125,38 @@ }, "peerDependencies": { "@electric-sql/pglite": "^0.5.0", - "express": "^5.1.0" + "@tailwindcss/postcss": "^4.3.0", + "esbuild": ">=0.25.0", + "express": "^5.1.0", + "postcss": "^8.5.0", + "react": "^19.0.0", + "react-dom": "^19.0.0", + "tailwindcss": "^4.3.0" }, "peerDependenciesMeta": { "@electric-sql/pglite": { "optional": true }, + "@tailwindcss/postcss": { + "optional": true + }, + "esbuild": { + "optional": true + }, "express": { "optional": true + }, + "postcss": { + "optional": true + }, + "react": { + "optional": true + }, + "react-dom": { + "optional": true + }, + "tailwindcss": { + "optional": true } } }, @@ -147,6 +182,50 @@ "react-dom": "^19.0.0" } }, + "node_modules/@agentage/widget/node_modules/@agentage/design-system": { + "version": "0.19.4", + "resolved": "https://registry.npmjs.org/@agentage/design-system/-/design-system-0.19.4.tgz", + "integrity": "sha512-INv7nGayjZv6Urn7qTpDGgGR+lN51sk7AYBIXVxJzV87ocC4xPmvb/MJ33g4U6RDekzfTJZcYTG/7lqcDqE0bQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@radix-ui/react-select": "^2.4.1", + "@radix-ui/react-slot": "^1.2.4", + "class-variance-authority": "^0.7.1", + "clsx": "^2.1.1", + "react-markdown": "^10.1.0", + "rehype-raw": "^7.0.0", + "remark-gfm": "^4.0.1", + "tailwind-merge": "^3.7.0" + }, + "engines": { + "node": ">=22.0.0", + "npm": ">=10.0.0" + }, + "peerDependencies": { + "react": ">=19.0.0", + "react-dom": ">=19.0.0", + "tailwindcss": ">=4.0.0" + }, + "peerDependenciesMeta": { + "tailwindcss": { + "optional": true + } + } + }, + "node_modules/@alloc/quick-lru": { + "version": "5.3.0", + "resolved": "https://registry.npmjs.org/@alloc/quick-lru/-/quick-lru-5.3.0.tgz", + "integrity": "sha512-U4+70Pc5ZS9osnCBCE5Jha/ciHM+Yp+CNMNC/7HvYbNRk1Ldd+f7qO65W5qfhu/TCv+/ozljlXXe9Nj8419DMA==", + "devOptional": true, + "license": "MIT", + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, "node_modules/@axe-core/playwright": { "version": "4.14.0", "resolved": "https://registry.npmjs.org/@axe-core/playwright/-/playwright-4.14.0.tgz", @@ -489,7 +568,6 @@ "cpu": [ "ppc64" ], - "dev": true, "license": "MIT", "optional": true, "os": [ @@ -506,7 +584,6 @@ "cpu": [ "arm" ], - "dev": true, "license": "MIT", "optional": true, "os": [ @@ -523,7 +600,6 @@ "cpu": [ "arm64" ], - "dev": true, "license": "MIT", "optional": true, "os": [ @@ -540,7 +616,6 @@ "cpu": [ "x64" ], - "dev": true, "license": "MIT", "optional": true, "os": [ @@ -557,7 +632,6 @@ "cpu": [ "arm64" ], - "dev": true, "license": "MIT", "optional": true, "os": [ @@ -574,7 +648,6 @@ "cpu": [ "x64" ], - "dev": true, "license": "MIT", "optional": true, "os": [ @@ -591,7 +664,6 @@ "cpu": [ "arm64" ], - "dev": true, "license": "MIT", "optional": true, "os": [ @@ -608,7 +680,6 @@ "cpu": [ "x64" ], - "dev": true, "license": "MIT", "optional": true, "os": [ @@ -625,7 +696,6 @@ "cpu": [ "arm" ], - "dev": true, "license": "MIT", "optional": true, "os": [ @@ -642,7 +712,6 @@ "cpu": [ "arm64" ], - "dev": true, "license": "MIT", "optional": true, "os": [ @@ -659,7 +728,6 @@ "cpu": [ "ia32" ], - "dev": true, "license": "MIT", "optional": true, "os": [ @@ -676,7 +744,6 @@ "cpu": [ "loong64" ], - "dev": true, "license": "MIT", "optional": true, "os": [ @@ -693,7 +760,6 @@ "cpu": [ "mips64el" ], - "dev": true, "license": "MIT", "optional": true, "os": [ @@ -710,7 +776,6 @@ "cpu": [ "ppc64" ], - "dev": true, "license": "MIT", "optional": true, "os": [ @@ -727,7 +792,6 @@ "cpu": [ "riscv64" ], - "dev": true, "license": "MIT", "optional": true, "os": [ @@ -744,7 +808,6 @@ "cpu": [ "s390x" ], - "dev": true, "license": "MIT", "optional": true, "os": [ @@ -761,7 +824,6 @@ "cpu": [ "x64" ], - "dev": true, "license": "MIT", "optional": true, "os": [ @@ -778,7 +840,6 @@ "cpu": [ "arm64" ], - "dev": true, "license": "MIT", "optional": true, "os": [ @@ -795,7 +856,6 @@ "cpu": [ "x64" ], - "dev": true, "license": "MIT", "optional": true, "os": [ @@ -812,7 +872,6 @@ "cpu": [ "arm64" ], - "dev": true, "license": "MIT", "optional": true, "os": [ @@ -829,7 +888,6 @@ "cpu": [ "x64" ], - "dev": true, "license": "MIT", "optional": true, "os": [ @@ -846,7 +904,6 @@ "cpu": [ "arm64" ], - "dev": true, "license": "MIT", "optional": true, "os": [ @@ -863,7 +920,6 @@ "cpu": [ "x64" ], - "dev": true, "license": "MIT", "optional": true, "os": [ @@ -880,7 +936,6 @@ "cpu": [ "arm64" ], - "dev": true, "license": "MIT", "optional": true, "os": [ @@ -897,7 +952,6 @@ "cpu": [ "ia32" ], - "dev": true, "license": "MIT", "optional": true, "os": [ @@ -914,7 +968,6 @@ "cpu": [ "x64" ], - "dev": true, "license": "MIT", "optional": true, "os": [ @@ -1018,6 +1071,24 @@ "node": "^20.19.0 || ^22.13.0 || >=24" } }, + "node_modules/@exodus/bytes": { + "version": "1.16.0", + "resolved": "https://registry.npmjs.org/@exodus/bytes/-/bytes-1.16.0.tgz", + "integrity": "sha512-IcpW84uEn3N7ETtNZMlxKhfl6Pec8rUNGOTBtWbK1FKhJxIFAptZyVrvVRVBimAJxJCgc3PxepxkdWWG4DVzfA==", + "dev": true, + "license": "MIT", + "engines": { + "node": "^20.19.0 || ^22.12.0 || >=24.0.0" + }, + "peerDependencies": { + "@noble/hashes": "^1.8.0 || ^2.0.0" + }, + "peerDependenciesMeta": { + "@noble/hashes": { + "optional": true + } + } + }, "node_modules/@floating-ui/core": { "version": "1.8.0", "resolved": "https://registry.npmjs.org/@floating-ui/core/-/core-1.8.0.tgz", @@ -1130,7 +1201,7 @@ "version": "0.3.13", "resolved": "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.3.13.tgz", "integrity": "sha512-2kkt/7niJ6MgEPxF0bYdQ6etZaA+fQvDcLKckhy1yIQOzaoKjBBjSj63/aLVjYE3qhRt5dvM+uUyfCg6UKCBbA==", - "dev": true, + "devOptional": true, "license": "MIT", "dependencies": { "@jridgewell/sourcemap-codec": "^1.5.0", @@ -1141,7 +1212,7 @@ "version": "2.3.5", "resolved": "https://registry.npmjs.org/@jridgewell/remapping/-/remapping-2.3.5.tgz", "integrity": "sha512-LI9u/+laYG4Ds1TDKSJW2YPrIlcVYOwi2fUC6xB43lueCjgxV4lffOCZCtYFiH6TNOX+tQKXx97T4IKHbhyHEQ==", - "dev": true, + "devOptional": true, "license": "MIT", "dependencies": { "@jridgewell/gen-mapping": "^0.3.5", @@ -1152,7 +1223,7 @@ "version": "3.1.2", "resolved": "https://registry.npmjs.org/@jridgewell/resolve-uri/-/resolve-uri-3.1.2.tgz", "integrity": "sha512-bRISgCIjP20/tbWSPWMEi54QVPRZExkuD9lJL+UIxUKtwVJA8wW1Trb1jMs1RFXo1CBTNZ/5hpC9QvmKWdopKw==", - "dev": true, + "devOptional": true, "license": "MIT", "engines": { "node": ">=6.0.0" @@ -1162,14 +1233,14 @@ "version": "1.6.0", "resolved": "https://registry.npmjs.org/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.6.0.tgz", "integrity": "sha512-T7jf+5zgsZHwNJ4lvQ7/aezbyk0nNX+zJVWpmHA7VYsEx7a7qr5Rg5IbtJFqkgze5Y2sruq1RUY8Q837Od7iFw==", - "dev": true, + "devOptional": true, "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==", - "dev": true, + "devOptional": true, "license": "MIT", "dependencies": { "@jridgewell/resolve-uri": "^3.1.0", @@ -2059,6 +2130,325 @@ "license": "MIT", "peer": true }, + "node_modules/@tailwindcss/node": { + "version": "4.3.5", + "resolved": "https://registry.npmjs.org/@tailwindcss/node/-/node-4.3.5.tgz", + "integrity": "sha512-yT53FzV4ke0cr/BguDxhWMpm5MJu1O2muzk+tKw6lKHjODAsYArBbWwFbJiaksfzFv1tpkO9QHGzmfs1hJT66g==", + "devOptional": true, + "license": "MIT", + "dependencies": { + "@jridgewell/remapping": "^2.3.5", + "enhanced-resolve": "^5.24.5", + "jiti": "^2.7.0", + "lightningcss": "1.33.0", + "magic-string": "^1.1.0", + "source-map-js": "^1.2.1", + "tailwindcss": "4.3.5" + } + }, + "node_modules/@tailwindcss/oxide": { + "version": "4.3.5", + "resolved": "https://registry.npmjs.org/@tailwindcss/oxide/-/oxide-4.3.5.tgz", + "integrity": "sha512-PynqGLZsZvwM9tqD/CUxkOIfyd6K5elZ2MooauzJryP/UqXYgi3yYbtt3N0Xe+MHV/eFKPFQCEfIKAqlAS1CBg==", + "devOptional": true, + "license": "MIT", + "engines": { + "node": ">= 20" + }, + "optionalDependencies": { + "@tailwindcss/oxide-android-arm64": "4.3.5", + "@tailwindcss/oxide-darwin-arm64": "4.3.5", + "@tailwindcss/oxide-darwin-x64": "4.3.5", + "@tailwindcss/oxide-freebsd-x64": "4.3.5", + "@tailwindcss/oxide-linux-arm-gnueabihf": "4.3.5", + "@tailwindcss/oxide-linux-arm64-gnu": "4.3.5", + "@tailwindcss/oxide-linux-arm64-musl": "4.3.5", + "@tailwindcss/oxide-linux-x64-gnu": "4.3.5", + "@tailwindcss/oxide-linux-x64-musl": "4.3.5", + "@tailwindcss/oxide-wasm32-wasi": "4.3.5", + "@tailwindcss/oxide-win32-arm64-msvc": "4.3.5", + "@tailwindcss/oxide-win32-x64-msvc": "4.3.5" + } + }, + "node_modules/@tailwindcss/oxide-android-arm64": { + "version": "4.3.5", + "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-android-arm64/-/oxide-android-arm64-4.3.5.tgz", + "integrity": "sha512-Se0z5xMqcSQanJD1IYmO0cGpK3iv0fp3ZsIT7xRJZ1Da5PghvNoc46zz4jIQn+aan3dV9T8AermFNN9QPmsh0Q==", + "cpu": [ + "arm64" + ], + "license": "MIT", + "optional": true, + "os": [ + "android" + ], + "engines": { + "node": ">= 20" + } + }, + "node_modules/@tailwindcss/oxide-darwin-arm64": { + "version": "4.3.5", + "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-darwin-arm64/-/oxide-darwin-arm64-4.3.5.tgz", + "integrity": "sha512-UPrgTDuUbvmqGMZuCnmI3FKee/tYKzKdp00/kuB4oSGB213VYg8QTdF7lVhnPoBXq/mIfJ+ILoBFqNOboWcMwQ==", + "cpu": [ + "arm64" + ], + "license": "MIT", + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": ">= 20" + } + }, + "node_modules/@tailwindcss/oxide-darwin-x64": { + "version": "4.3.5", + "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-darwin-x64/-/oxide-darwin-x64-4.3.5.tgz", + "integrity": "sha512-E+p7HEtjI0b8D7kbbWxH067cGui6d4c79COGko9fAPVE3rwc1E7ld2HFCbaG86AOGWS5VKQYqZOaf38ya4uxTQ==", + "cpu": [ + "x64" + ], + "license": "MIT", + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": ">= 20" + } + }, + "node_modules/@tailwindcss/oxide-freebsd-x64": { + "version": "4.3.5", + "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-freebsd-x64/-/oxide-freebsd-x64-4.3.5.tgz", + "integrity": "sha512-yWEWcWyAG7rWOcTpJTjdhQ3pcaFY2h+0bqTRfgU3G2fz87ZU3AKdvdZKhslD+kyHnjBUWKvNdRYwIYC5dI1tIg==", + "cpu": [ + "x64" + ], + "license": "MIT", + "optional": true, + "os": [ + "freebsd" + ], + "engines": { + "node": ">= 20" + } + }, + "node_modules/@tailwindcss/oxide-linux-arm-gnueabihf": { + "version": "4.3.5", + "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-linux-arm-gnueabihf/-/oxide-linux-arm-gnueabihf-4.3.5.tgz", + "integrity": "sha512-WmeVjtJhZlr+smpqcdR2kQkkn6arHIJnUIBxTO2EJcTLGY1ecVXNo2hbSn8xc0IH2aEtys936iMWKGyj0GaKnA==", + "cpu": [ + "arm" + ], + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">= 20" + } + }, + "node_modules/@tailwindcss/oxide-linux-arm64-gnu": { + "version": "4.3.5", + "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-linux-arm64-gnu/-/oxide-linux-arm64-gnu-4.3.5.tgz", + "integrity": "sha512-DTCSyucc6ShMp1QMqV5R94Z7xlgNgUzkGmFF1rL5HH2Qjy4eSmEqy+YLGkqqYvWa4sILtgrBt1JjRKbneQtiFQ==", + "cpu": [ + "arm64" + ], + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">= 20" + } + }, + "node_modules/@tailwindcss/oxide-linux-arm64-musl": { + "version": "4.3.5", + "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-linux-arm64-musl/-/oxide-linux-arm64-musl-4.3.5.tgz", + "integrity": "sha512-H9lsvO4x9E4nE4Hi8h7NHHw0O/kcVSu+iOyFHNGdYzazGgDjFHZbE6S3hQ8kMcbNXSBlMdNi67LV5EVqtpaJtw==", + "cpu": [ + "arm64" + ], + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">= 20" + } + }, + "node_modules/@tailwindcss/oxide-linux-x64-gnu": { + "version": "4.3.5", + "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-linux-x64-gnu/-/oxide-linux-x64-gnu-4.3.5.tgz", + "integrity": "sha512-4uxQvtBvPuIdl13WfUBj9xMZHH14PtHZ8OZdtLmdyDtG66sCa1t599NZT+jagkUzRtWhuul1qRZQ1nAJscXN5g==", + "cpu": [ + "x64" + ], + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">= 20" + } + }, + "node_modules/@tailwindcss/oxide-linux-x64-musl": { + "version": "4.3.5", + "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-linux-x64-musl/-/oxide-linux-x64-musl-4.3.5.tgz", + "integrity": "sha512-0JQAzs7jwbA7O6+z/adU+Jk3AXwsu3npAhtr5escXS7TqEqWcaDV7qHuI+0Vy/KQRuVGnLQREcSJWYauyV3oqg==", + "cpu": [ + "x64" + ], + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">= 20" + } + }, + "node_modules/@tailwindcss/oxide-wasm32-wasi": { + "version": "4.3.5", + "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-wasm32-wasi/-/oxide-wasm32-wasi-4.3.5.tgz", + "integrity": "sha512-OJhFmlEfdzMr+avACdi40RPtnkW0B6hXyxL/8r+tnEHBWZji36CYRjEXrrvgBmaYsD3oEOBqwYFRKsYvzFe7Bw==", + "bundleDependencies": [ + "@napi-rs/wasm-runtime", + "@emnapi/core", + "@emnapi/runtime", + "@tybys/wasm-util", + "@emnapi/wasi-threads", + "tslib" + ], + "license": "MIT", + "optional": true, + "dependencies": { + "@emnapi/core": "^1.11.3", + "@emnapi/runtime": "^1.11.3", + "@emnapi/wasi-threads": "^1.2.3", + "@napi-rs/wasm-runtime": "^1.2.2", + "@tybys/wasm-util": "^0.10.3", + "tslib": "^2.8.1" + }, + "engines": { + "node": "^20.19.0 || ^22.13.0 || >=23.5.0" + } + }, + "node_modules/@tailwindcss/oxide-wasm32-wasi/node_modules/@emnapi/core": { + "version": "1.11.3", + "inBundle": true, + "license": "MIT", + "optional": true, + "dependencies": { + "@emnapi/wasi-threads": "1.2.3", + "tslib": "^2.4.0" + } + }, + "node_modules/@tailwindcss/oxide-wasm32-wasi/node_modules/@emnapi/runtime": { + "version": "1.11.3", + "inBundle": true, + "license": "MIT", + "optional": true, + "dependencies": { + "tslib": "^2.4.0" + } + }, + "node_modules/@tailwindcss/oxide-wasm32-wasi/node_modules/@emnapi/wasi-threads": { + "version": "1.2.3", + "inBundle": true, + "license": "MIT", + "optional": true, + "dependencies": { + "tslib": "^2.4.0" + } + }, + "node_modules/@tailwindcss/oxide-wasm32-wasi/node_modules/@napi-rs/wasm-runtime": { + "version": "1.2.2", + "inBundle": true, + "license": "MIT", + "optional": true, + "dependencies": { + "@tybys/wasm-util": "^0.10.3" + }, + "engines": { + "node": "^20.19.0 || ^22.13.0 || >=23.5.0" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/Brooooooklyn" + }, + "peerDependencies": { + "@emnapi/core": "^1.7.1 || ^2.0.0-alpha.3", + "@emnapi/runtime": "^1.7.1 || ^2.0.0-alpha.3" + } + }, + "node_modules/@tailwindcss/oxide-wasm32-wasi/node_modules/@tybys/wasm-util": { + "version": "0.10.3", + "inBundle": true, + "license": "MIT", + "optional": true, + "dependencies": { + "tslib": "^2.4.0" + } + }, + "node_modules/@tailwindcss/oxide-wasm32-wasi/node_modules/tslib": { + "version": "2.8.1", + "inBundle": true, + "license": "0BSD", + "optional": true + }, + "node_modules/@tailwindcss/oxide-win32-arm64-msvc": { + "version": "4.3.5", + "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-win32-arm64-msvc/-/oxide-win32-arm64-msvc-4.3.5.tgz", + "integrity": "sha512-9o8jgthi+QE5eandnboiJT64VQfnIArfZzSTdgbhEK5aafdiu2jTW9Honi/mwYHxBZuH1vAC57IFyrh+0iK5Gg==", + "cpu": [ + "arm64" + ], + "license": "MIT", + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">= 20" + } + }, + "node_modules/@tailwindcss/oxide-win32-x64-msvc": { + "version": "4.3.5", + "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-win32-x64-msvc/-/oxide-win32-x64-msvc-4.3.5.tgz", + "integrity": "sha512-XiKFfIy1RWe7qK4WqByxNW7Oz1/nkOy8o/BWhHminyV1PmpUd8Eedj5v2A8h2kpqeVlz6xRnwk9Fr/ZXNLcZfg==", + "cpu": [ + "x64" + ], + "license": "MIT", + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">= 20" + } + }, + "node_modules/@tailwindcss/postcss": { + "version": "4.3.5", + "resolved": "https://registry.npmjs.org/@tailwindcss/postcss/-/postcss-4.3.5.tgz", + "integrity": "sha512-FAV37Tlx9wBiT/hkfgVD0Q6CWsP2oUX3lf28nrfjW8+ksILjnpuFulUqWDfNR4/ZiEHHDRBX8DUTzD1Rys687A==", + "devOptional": true, + "license": "MIT", + "dependencies": { + "@alloc/quick-lru": "^5.2.0", + "@tailwindcss/node": "4.3.5", + "@tailwindcss/oxide": "4.3.5", + "postcss": "^8.5.25", + "tailwindcss": "4.3.5" + } + }, "node_modules/@types/body-parser": { "version": "1.19.6", "resolved": "https://registry.npmjs.org/@types/body-parser/-/body-parser-1.19.6.tgz", @@ -2232,6 +2622,16 @@ "csstype": "^3.2.2" } }, + "node_modules/@types/react-dom": { + "version": "19.3.0", + "resolved": "https://registry.npmjs.org/@types/react-dom/-/react-dom-19.3.0.tgz", + "integrity": "sha512-ZI7bU42mZXXKHn/qNLEw2IrbiINU7X5+vfgdixBHkCNpYWXjKgfQ/P+uyGb5CjOLB9UcnTeg3rylQtV2hym44Q==", + "dev": true, + "license": "MIT", + "peerDependencies": { + "@types/react": "^19.3.0" + } + }, "node_modules/@types/send": { "version": "1.2.1", "resolved": "https://registry.npmjs.org/@types/send/-/send-1.2.1.tgz", @@ -2862,17 +3262,44 @@ "node": "18 || 20 || >=22" } }, - "node_modules/baseline-browser-mapping": { - "version": "2.11.35", - "resolved": "https://registry.npmjs.org/baseline-browser-mapping/-/baseline-browser-mapping-2.11.35.tgz", - "integrity": "sha512-GNk8KX52CHqeNKGk8+7tZnQab/2k1t/BgrUHPKNdijzpEhF1saPQZHVKb6m5loSAxB39gyrTYw34Qf9CQ3u1qQ==", + "node_modules/baseline-browser-mapping": { + "version": "2.11.35", + "resolved": "https://registry.npmjs.org/baseline-browser-mapping/-/baseline-browser-mapping-2.11.35.tgz", + "integrity": "sha512-GNk8KX52CHqeNKGk8+7tZnQab/2k1t/BgrUHPKNdijzpEhF1saPQZHVKb6m5loSAxB39gyrTYw34Qf9CQ3u1qQ==", + "dev": true, + "license": "Apache-2.0", + "bin": { + "baseline-browser-mapping": "dist/cli.cjs" + }, + "engines": { + "node": ">=6.0.0" + } + }, + "node_modules/bcp-47": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/bcp-47/-/bcp-47-2.1.2.tgz", + "integrity": "sha512-wsv86UuNFuPnVieKLyECTT+CP1WSAHeoIg5P3xu2kA9Z+7fVPoKt7dxzSeEhtJel0AI+NW3fIW3KtTKQKUCngg==", + "dev": true, + "license": "MIT", + "dependencies": { + "is-alphabetical": "^2.0.0", + "is-alphanumerical": "^2.0.0", + "is-decimal": "^2.0.0" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/wooorm" + } + }, + "node_modules/bcp-47-match": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/bcp-47-match/-/bcp-47-match-2.0.3.tgz", + "integrity": "sha512-JtTezzbAibu8G0R9op9zb3vcWZd9JF6M0xOYGPn0fNCd7wOpRB1mU2mH9T8gaBGbAAyIIVgB2G7xG0GP98zMAQ==", "dev": true, - "license": "Apache-2.0", - "bin": { - "baseline-browser-mapping": "dist/cli.cjs" - }, - "engines": { - "node": ">=6.0.0" + "license": "MIT", + "funding": { + "type": "github", + "url": "https://github.com/sponsors/wooorm" } }, "node_modules/body-parser": { @@ -3280,6 +3707,20 @@ "dev": true, "license": "BSD-2-Clause" }, + "node_modules/data-urls": { + "version": "8.0.0", + "resolved": "https://registry.npmjs.org/data-urls/-/data-urls-8.0.0.tgz", + "integrity": "sha512-JQUCCK+/CAGbGGx618PlFZMXH81Jtj7t73CHv9dd/zVWvxgGT2zLFRjnKb+Ng46GIwcy+f7f88qd4duqllK+WQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "whatwg-mimetype": "^5.0.0", + "whatwg-url": "^17.1.2" + }, + "engines": { + "node": "^22.14.0 || >=24.0.0" + } + }, "node_modules/data-view-buffer": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/data-view-buffer/-/data-view-buffer-1.0.2.tgz", @@ -3351,6 +3792,13 @@ } } }, + "node_modules/decimal.js": { + "version": "10.6.0", + "resolved": "https://registry.npmjs.org/decimal.js/-/decimal.js-10.6.0.tgz", + "integrity": "sha512-YpgQiITW3JXGntzdUmyUR1V812Hn8T1YVXhCu+wO3OpS4eU9l4YdD3qjyiKdV6mvV29zapkMeD390UVEf2lkUg==", + "dev": true, + "license": "MIT" + }, "node_modules/decode-named-character-reference": { "version": "1.3.0", "resolved": "https://registry.npmjs.org/decode-named-character-reference/-/decode-named-character-reference-1.3.0.tgz", @@ -3474,9 +3922,8 @@ "version": "2.1.2", "resolved": "https://registry.npmjs.org/detect-libc/-/detect-libc-2.1.2.tgz", "integrity": "sha512-Btj2BOOO83o3WyH59e8MgXsxEQVcarkUOpEYrubB0urwnN10yQ364rsiByU11nZlqWYZm05i/of7io4mzihBtQ==", - "dev": true, + "devOptional": true, "license": "Apache-2.0", - "peer": true, "engines": { "node": ">=8" } @@ -3549,6 +3996,20 @@ "url": "https://opencollective.com/express" } }, + "node_modules/enhanced-resolve": { + "version": "5.27.0", + "resolved": "https://registry.npmjs.org/enhanced-resolve/-/enhanced-resolve-5.27.0.tgz", + "integrity": "sha512-Do6BB2xzlcc/odFg+XEYyneAx4T/WfywO71yw9ePS2tVfRsf7JVR4mUeELadIeHzixkzbG5DpluiEFPi2WGfYQ==", + "devOptional": true, + "license": "MIT", + "dependencies": { + "graceful-fs": "^4.2.4", + "tapable": "^2.3.3" + }, + "engines": { + "node": ">=10.13.0" + } + }, "node_modules/entities": { "version": "6.0.1", "resolved": "https://registry.npmjs.org/entities/-/entities-6.0.1.tgz", @@ -3741,7 +4202,7 @@ "version": "0.28.2", "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.28.2.tgz", "integrity": "sha512-HKVLS8dvII+xoKW9kmqxbRKrnWEXfJJr/FZhhJmiqIB0e053QNYFqOBouTMO/k5sID4MvCiUCvv8b9M4h32wIA==", - "dev": true, + "devOptional": true, "hasInstallScript": true, "license": "MIT", "bin": { @@ -4579,6 +5040,13 @@ "url": "https://github.com/sponsors/ljharb" } }, + "node_modules/graceful-fs": { + "version": "4.2.12", + "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.12.tgz", + "integrity": "sha512-iuyGF2E4oafQfPsRrG2wtY2ILupMhvtdrhzrxB+0VcjsPpSPttpfYdjnGFGsTi5MaJFjI1jOKHPQ6UTbTj9TAw==", + "devOptional": true, + "license": "BlueOak-1.0.0" + }, "node_modules/has-bigints": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/has-bigints/-/has-bigints-1.1.0.tgz", @@ -4851,6 +5319,19 @@ "dev": true, "license": "MIT" }, + "node_modules/html-encoding-sniffer": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/html-encoding-sniffer/-/html-encoding-sniffer-7.0.0.tgz", + "integrity": "sha512-UikN5yr7xsCDAq87Or5or0PAlD3HJJOKVzM05az588WnpDJ4Ux7a2A53Qi6gofGg2/EtvF/H4hCi/TXfCW4Y6w==", + "dev": true, + "license": "MIT", + "dependencies": { + "@exodus/bytes": "^1.15.1" + }, + "engines": { + "node": "^22.13.0 || >=24.0.0" + } + }, "node_modules/html-url-attributes": { "version": "3.0.1", "resolved": "https://registry.npmjs.org/html-url-attributes/-/html-url-attributes-3.0.1.tgz", @@ -5312,6 +5793,13 @@ "url": "https://github.com/sponsors/sindresorhus" } }, + "node_modules/is-potential-custom-element-name": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/is-potential-custom-element-name/-/is-potential-custom-element-name-1.0.1.tgz", + "integrity": "sha512-bCYeRA2rVibKZd+s2625gGnGF/t7DSqDs4dP7CrLA1m7jKWz6pps0LpYLJN8Q64HtmPKJ1hrN3nzPNKFEKOUiQ==", + "dev": true, + "license": "MIT" + }, "node_modules/is-promise": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/is-promise/-/is-promise-4.0.0.tgz", @@ -5493,6 +5981,16 @@ "dev": true, "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==", + "devOptional": true, + "license": "MIT", + "bin": { + "jiti": "lib/jiti-cli.mjs" + } + }, "node_modules/jose": { "version": "6.2.17", "resolved": "https://registry.npmjs.org/jose/-/jose-6.2.17.tgz", @@ -5509,6 +6007,80 @@ "dev": true, "license": "MIT" }, + "node_modules/jsdom": { + "version": "31.0.1", + "resolved": "https://registry.npmjs.org/jsdom/-/jsdom-31.0.1.tgz", + "integrity": "sha512-CbhJL8ZQg3eKswxSZth4QO9tW0jPIhmR0vtSXQSbKSfWbwIT6hoRc17wdHIVTQ43KI0mdV5iTJr3281IDgVZ5g==", + "dev": true, + "license": "MIT", + "dependencies": { + "@exodus/bytes": "^1.16.0", + "bcp-47": "^2.1.2", + "bcp-47-match": "^2.0.3", + "data-urls": "^8.0.0", + "decimal.js": "^10.6.0", + "html-encoding-sniffer": "^7.0.0", + "is-potential-custom-element-name": "^1.0.1", + "lru-cache": "^11.5.3", + "parse5": "^8.1.0", + "parse5-parser-stream": "^8.1.0", + "saxes": "^6.0.0", + "tough-cookie": "^6.0.2", + "undici": "^8.12.3", + "w3c-xmlserializer": "^6.0.0", + "webidl-conversions": "^8.0.1", + "whatwg-mimetype": "^5.0.0", + "whatwg-url": "^17.3.0", + "xml-name-validator": "^5.0.0" + }, + "engines": { + "node": "^22.22.2 || ^24.15.0 || >=26.0.0" + }, + "peerDependencies": { + "@napi-rs/canvas": "^1.0.13" + }, + "peerDependenciesMeta": { + "@napi-rs/canvas": { + "optional": true + } + } + }, + "node_modules/jsdom/node_modules/entities": { + "version": "9.0.0", + "resolved": "https://registry.npmjs.org/entities/-/entities-9.0.0.tgz", + "integrity": "sha512-oJFNDJg3kTPwAD1cNn2+WmUq4wFoo09npc3Ydf1D7ED4smRiWrsKnaLxykrTWgyGEcusc87P5dxlAleol9kpkg==", + "dev": true, + "license": "BSD-2-Clause", + "engines": { + "node": ">=20.19.0" + }, + "funding": { + "url": "https://github.com/fb55/entities?sponsor=1" + } + }, + "node_modules/jsdom/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==", + "dev": true, + "license": "BlueOak-1.0.0", + "engines": { + "node": "20 || >=22" + } + }, + "node_modules/jsdom/node_modules/parse5": { + "version": "8.1.1", + "resolved": "https://registry.npmjs.org/parse5/-/parse5-8.1.1.tgz", + "integrity": "sha512-EcR/6WDcU7b2N3vQSxKALCk9lXGtUMQxXio008OEMBE0kavu/7JLfBEeFPzi43nMqVDSbEn3QCK+BMCc9zO//w==", + "dev": true, + "license": "MIT", + "dependencies": { + "entities": "^9.0.0" + }, + "funding": { + "url": "https://github.com/inikulin/parse5?sponsor=1" + } + }, "node_modules/jsesc": { "version": "3.1.0", "resolved": "https://registry.npmjs.org/jsesc/-/jsesc-3.1.0.tgz", @@ -5613,9 +6185,8 @@ "version": "1.33.0", "resolved": "https://registry.npmjs.org/lightningcss/-/lightningcss-1.33.0.tgz", "integrity": "sha512-WkUDrojuJs0xkgGf2udWxa3yGBRxPtxUkB79i6aCZLRgc7PM8fZe9TosfPDcvEpQZbuFASnHYmRLBLUbmLOIIA==", - "dev": true, + "devOptional": true, "license": "MPL-2.0", - "peer": true, "dependencies": { "detect-libc": "^2.0.3" }, @@ -5647,13 +6218,11 @@ "cpu": [ "arm64" ], - "dev": true, "license": "MPL-2.0", "optional": true, "os": [ "android" ], - "peer": true, "engines": { "node": ">= 12.0.0" }, @@ -5669,13 +6238,11 @@ "cpu": [ "arm64" ], - "dev": true, "license": "MPL-2.0", "optional": true, "os": [ "darwin" ], - "peer": true, "engines": { "node": ">= 12.0.0" }, @@ -5691,13 +6258,11 @@ "cpu": [ "x64" ], - "dev": true, "license": "MPL-2.0", "optional": true, "os": [ "darwin" ], - "peer": true, "engines": { "node": ">= 12.0.0" }, @@ -5713,13 +6278,11 @@ "cpu": [ "x64" ], - "dev": true, "license": "MPL-2.0", "optional": true, "os": [ "freebsd" ], - "peer": true, "engines": { "node": ">= 12.0.0" }, @@ -5735,13 +6298,11 @@ "cpu": [ "arm" ], - "dev": true, "license": "MPL-2.0", "optional": true, "os": [ "linux" ], - "peer": true, "engines": { "node": ">= 12.0.0" }, @@ -5757,13 +6318,11 @@ "cpu": [ "arm64" ], - "dev": true, "license": "MPL-2.0", "optional": true, "os": [ "linux" ], - "peer": true, "engines": { "node": ">= 12.0.0" }, @@ -5779,13 +6338,11 @@ "cpu": [ "arm64" ], - "dev": true, "license": "MPL-2.0", "optional": true, "os": [ "linux" ], - "peer": true, "engines": { "node": ">= 12.0.0" }, @@ -5801,13 +6358,11 @@ "cpu": [ "x64" ], - "dev": true, "license": "MPL-2.0", "optional": true, "os": [ "linux" ], - "peer": true, "engines": { "node": ">= 12.0.0" }, @@ -5823,13 +6378,11 @@ "cpu": [ "x64" ], - "dev": true, "license": "MPL-2.0", "optional": true, "os": [ "linux" ], - "peer": true, "engines": { "node": ">= 12.0.0" }, @@ -5845,13 +6398,11 @@ "cpu": [ "arm64" ], - "dev": true, "license": "MPL-2.0", "optional": true, "os": [ "win32" ], - "peer": true, "engines": { "node": ">= 12.0.0" }, @@ -5867,13 +6418,11 @@ "cpu": [ "x64" ], - "dev": true, "license": "MPL-2.0", "optional": true, "os": [ "win32" ], - "peer": true, "engines": { "node": ">= 12.0.0" }, @@ -5923,7 +6472,7 @@ "version": "1.4.5", "resolved": "https://registry.npmjs.org/magic-string/-/magic-string-1.4.5.tgz", "integrity": "sha512-oLLC2+YvQUfAa+vxoufE/yc1icb87M9iXIRqAoR/2EhE/8cb3SF/+Gi0c2By1B+5Vz2e2vQtUvHiu1+63Znh+w==", - "dev": true, + "devOptional": true, "license": "MIT", "dependencies": { "@jridgewell/sourcemap-codec": "^1.6.0" @@ -6952,7 +7501,7 @@ "version": "3.3.20", "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.20.tgz", "integrity": "sha512-uKdg2G3GNCKQn9byYOpxbGqrT2fGO5KRt5J/8b3pok8rT6qxGWF6hxMyJiEYtAf+FVyYuD9hRaDqX5uPFYJ4ZQ==", - "dev": true, + "devOptional": true, "funding": [ { "type": "github", @@ -6960,7 +7509,6 @@ } ], "license": "MIT", - "peer": true, "bin": { "nanoid": "bin/nanoid.cjs" }, @@ -7260,6 +7808,45 @@ "url": "https://github.com/inikulin/parse5?sponsor=1" } }, + "node_modules/parse5-parser-stream": { + "version": "8.1.1", + "resolved": "https://registry.npmjs.org/parse5-parser-stream/-/parse5-parser-stream-8.1.1.tgz", + "integrity": "sha512-hMcVbbUJcQmP8rURWUdYrT1flRiBiBVjq/RYGguJpDUgIXSqdYKlE0CxthmdMWoSlBAuL5bUBa73g0pttSy7Hw==", + "dev": true, + "license": "MIT", + "dependencies": { + "parse5": "^8.1.1" + }, + "funding": { + "url": "https://github.com/inikulin/parse5?sponsor=1" + } + }, + "node_modules/parse5-parser-stream/node_modules/entities": { + "version": "9.0.0", + "resolved": "https://registry.npmjs.org/entities/-/entities-9.0.0.tgz", + "integrity": "sha512-oJFNDJg3kTPwAD1cNn2+WmUq4wFoo09npc3Ydf1D7ED4smRiWrsKnaLxykrTWgyGEcusc87P5dxlAleol9kpkg==", + "dev": true, + "license": "BSD-2-Clause", + "engines": { + "node": ">=20.19.0" + }, + "funding": { + "url": "https://github.com/fb55/entities?sponsor=1" + } + }, + "node_modules/parse5-parser-stream/node_modules/parse5": { + "version": "8.1.1", + "resolved": "https://registry.npmjs.org/parse5/-/parse5-8.1.1.tgz", + "integrity": "sha512-EcR/6WDcU7b2N3vQSxKALCk9lXGtUMQxXio008OEMBE0kavu/7JLfBEeFPzi43nMqVDSbEn3QCK+BMCc9zO//w==", + "dev": true, + "license": "MIT", + "dependencies": { + "entities": "^9.0.0" + }, + "funding": { + "url": "https://github.com/inikulin/parse5?sponsor=1" + } + }, "node_modules/parseurl": { "version": "1.3.3", "resolved": "https://registry.npmjs.org/parseurl/-/parseurl-1.3.3.tgz", @@ -7392,7 +7979,7 @@ "version": "1.1.1", "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.1.1.tgz", "integrity": "sha512-xceH2snhtb5M9liqDsmEw56le376mTZkEX/jEb/RxNFyegNul7eNslCXP9FDj/Lcu0X8KEyMceP2ntpaHrDEVA==", - "dev": true, + "devOptional": true, "license": "ISC" }, "node_modules/picomatch": { @@ -7448,10 +8035,10 @@ } }, "node_modules/postcss": { - "version": "8.5.32", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.5.32.tgz", - "integrity": "sha512-LJlKCCAUFKOuZxipUdYw1NzIITEsPcgyOG9LkvRJvuKj/bRzbuRY0ARXvL0pWGpsZvn8jku+LMep2eU0seHp8g==", - "dev": true, + "version": "8.5.33", + "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.5.33.tgz", + "integrity": "sha512-RVHEU9/Pp1Fnjr/MpAJsZoADukCKhfIi15OunEYiGktIkYLkPVvC1sioWolGDS7XByMTx9m/IGbro0Js13zhnQ==", + "devOptional": true, "funding": [ { "type": "opencollective", @@ -7467,7 +8054,6 @@ } ], "license": "MIT", - "peer": true, "dependencies": { "nanoid": "^3.3.20", "picocolors": "^1.1.1", @@ -7674,7 +8260,7 @@ "version": "19.3.1", "resolved": "https://registry.npmjs.org/react/-/react-19.3.1.tgz", "integrity": "sha512-QNhWdt7nrgVWWQG58QuGsAR3jv3Hbe4mb4vz7w2csnHavciZJgda1CPNaldF6eVxv90ud3jUXpKlHL69gO38yw==", - "dev": true, + "devOptional": true, "license": "MIT", "engines": { "node": ">=0.10.0" @@ -7684,7 +8270,7 @@ "version": "19.3.1", "resolved": "https://registry.npmjs.org/react-dom/-/react-dom-19.3.1.tgz", "integrity": "sha512-Y0bARz53lhEC1NMCASs0/j+faB/zqt3R8hpvg1e8+61ZVJ4UL0UdC4cBbXfZMcIuhrfgeILTLe+ZeBCavQPtKQ==", - "dev": true, + "devOptional": true, "license": "MIT", "dependencies": { "scheduler": "^0.28.0" @@ -8048,11 +8634,24 @@ "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==", "license": "MIT" }, + "node_modules/saxes": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/saxes/-/saxes-6.0.0.tgz", + "integrity": "sha512-xAg7SOnEhrm5zI3puOOKyy1OMcMlIJZYNJY7xLBwSze0UjhPLnWfj2GF2EpT0jmzaJKIWKHLsaSSajf35bcYnA==", + "dev": true, + "license": "ISC", + "dependencies": { + "xmlchars": "^2.2.0" + }, + "engines": { + "node": ">=v12.22.7" + } + }, "node_modules/scheduler": { "version": "0.28.0", "resolved": "https://registry.npmjs.org/scheduler/-/scheduler-0.28.0.tgz", "integrity": "sha512-juorfCmIkIw8tT+p5BXSm6PJjQF/ycEYmKyzURCIt/RaZIhL+PulbQ9Yu2z1HdOJDdqDTlxA1+xKBmHXJsczAw==", - "dev": true, + "devOptional": true, "license": "MIT" }, "node_modules/semver": { @@ -8266,7 +8865,7 @@ "version": "1.2.2", "resolved": "https://registry.npmjs.org/source-map-js/-/source-map-js-1.2.2.tgz", "integrity": "sha512-KGj/8Y43x35aZVDtt+J4mK1hoLGHULMYfSkODJNQjNDC3oW1PqPoxMwo0pLUsWM/UEGzON/NxeHywEfNXNP3Vw==", - "dev": true, + "devOptional": true, "license": "BSD-3-Clause", "engines": { "node": ">=0.10.0" @@ -8450,6 +9049,27 @@ "url": "https://github.com/sponsors/dcastil" } }, + "node_modules/tailwindcss": { + "version": "4.3.5", + "resolved": "https://registry.npmjs.org/tailwindcss/-/tailwindcss-4.3.5.tgz", + "integrity": "sha512-FcQk9BuffmEHJP2G0XmB2SplU1aLTI7j07Kunk+U74Ny+XiWOtzXz9aujFZ/avntw1e2cOv/3PkgzflQ7gX2vQ==", + "devOptional": true, + "license": "MIT" + }, + "node_modules/tapable": { + "version": "2.3.4", + "resolved": "https://registry.npmjs.org/tapable/-/tapable-2.3.4.tgz", + "integrity": "sha512-NHFiWnAbMJxNNpBwiO7jJVGDuqMxT9/oV8v57RR+fgBQShkJil5inGD8/xWy0hjLyHQyX1tu27QANhlz3KBqCg==", + "devOptional": true, + "license": "MIT", + "engines": { + "node": ">=6" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/webpack" + } + }, "node_modules/tinybench": { "version": "6.2.3", "resolved": "https://registry.npmjs.org/tinybench/-/tinybench-6.2.3.tgz", @@ -8497,6 +9117,26 @@ "node": ">=14.0.0" } }, + "node_modules/tldts": { + "version": "7.5.4", + "resolved": "https://registry.npmjs.org/tldts/-/tldts-7.5.4.tgz", + "integrity": "sha512-Rn2ABgjHZrA+jzqom5zhxA0hLohzYrIgfCPyhpTUxqsUrcsBYuab49LseR9waB9Jr8/MxdodvMHA91oRiGLO3Q==", + "dev": true, + "license": "MIT", + "dependencies": { + "tldts-core": "^7.5.4" + }, + "bin": { + "tldts": "bin/cli.js" + } + }, + "node_modules/tldts-core": { + "version": "7.5.4", + "resolved": "https://registry.npmjs.org/tldts-core/-/tldts-core-7.5.4.tgz", + "integrity": "sha512-9+4zWtKEDZ3V3FoZ1B97rv+5z5oqp7yeXGVze3CxgQ+CJro9do9DCPD00wxstYZDXDMXsurkBerFfiB6GYtPbA==", + "dev": true, + "license": "MIT" + }, "node_modules/toidentifier": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/toidentifier/-/toidentifier-1.0.1.tgz", @@ -8506,6 +9146,32 @@ "node": ">=0.6" } }, + "node_modules/tough-cookie": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/tough-cookie/-/tough-cookie-6.1.0.tgz", + "integrity": "sha512-FTxc8u8Kl2tz0Lat1u8ksvcy8bwHRyEMawwTWybo51JqaC6O7SvfuhAKg+Ld6VqyIe2QRJBzY9HA7y2WyFRT2w==", + "dev": true, + "license": "BSD-3-Clause", + "dependencies": { + "tldts": "^7.0.5" + }, + "engines": { + "node": ">=16" + } + }, + "node_modules/tr46": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/tr46/-/tr46-7.0.0.tgz", + "integrity": "sha512-BcDSDW+SIGWVOns1Zm6Yg91q9AEj7eaID0QDY9oIqJD1A8dscNwMcl9Sms2DeuWCNov1X0/oXanHGYQBSLwZsg==", + "dev": true, + "license": "MIT", + "dependencies": { + "punycode": "^2.3.1" + }, + "engines": { + "node": "^22.14.0 || >=24.0.0" + } + }, "node_modules/trim-lines": { "version": "3.0.1", "resolved": "https://registry.npmjs.org/trim-lines/-/trim-lines-3.0.1.tgz", @@ -8689,6 +9355,16 @@ "url": "https://github.com/sponsors/ljharb" } }, + "node_modules/undici": { + "version": "8.12.4", + "resolved": "https://registry.npmjs.org/undici/-/undici-8.12.4.tgz", + "integrity": "sha512-8Mx+uNKKER2bA4AdtedkqRbwUCIJFr2nJckXRe5yrDqzePqwLP7VNcctN8/XdmDSbF7mS+jJKIszlL+vbam1VA==", + "dev": true, + "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", @@ -9100,6 +9776,19 @@ } } }, + "node_modules/w3c-xmlserializer": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/w3c-xmlserializer/-/w3c-xmlserializer-6.0.0.tgz", + "integrity": "sha512-4Nsy8K5Tr6SPDH9jhKJOHf7ChDrc1zufZTVSF7x72hwuEXBqxqk9G6cK+K2NRUtB3iELRJqjXb4JPDMBjMTl2Q==", + "dev": true, + "license": "MIT", + "dependencies": { + "xml-name-validator": "^5.0.0" + }, + "engines": { + "node": "^22.22.2 || ^24.15.0 || >=26.0.0" + } + }, "node_modules/web-namespaces": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/web-namespaces/-/web-namespaces-2.0.1.tgz", @@ -9111,6 +9800,41 @@ "url": "https://github.com/sponsors/wooorm" } }, + "node_modules/webidl-conversions": { + "version": "8.0.1", + "resolved": "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-8.0.1.tgz", + "integrity": "sha512-BMhLD/Sw+GbJC21C/UgyaZX41nPt8bUTg+jWyDeg7e7YN4xOM05YPSIXceACnXVtqyEw/LMClUQMtMZ+PGGpqQ==", + "dev": true, + "license": "BSD-2-Clause", + "engines": { + "node": ">=20" + } + }, + "node_modules/whatwg-mimetype": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/whatwg-mimetype/-/whatwg-mimetype-5.0.0.tgz", + "integrity": "sha512-sXcNcHOC51uPGF0P/D4NVtrkjSU2fNsm9iog4ZvZJsL3rjoDAzXZhkm2MWt1y+PUdggKAYVoMAIYcs78wJ51Cw==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=20" + } + }, + "node_modules/whatwg-url": { + "version": "17.3.0", + "resolved": "https://registry.npmjs.org/whatwg-url/-/whatwg-url-17.3.0.tgz", + "integrity": "sha512-KwOAJrpf+GTgBvcBQJcP38sMF0DsQKdwtG+TxM2pW44P6E5k0hDbWrDmyuJDIF0Uef0aQq0ZoJs+5oI+k8ddhg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@exodus/bytes": "^1.16.0", + "tr46": "^7.0.0", + "webidl-conversions": "^8.0.1" + }, + "engines": { + "node": "^22.14.0 || >=24.0.0" + } + }, "node_modules/which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", @@ -9262,6 +9986,23 @@ "url": "https://github.com/sponsors/sindresorhus" } }, + "node_modules/xml-name-validator": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/xml-name-validator/-/xml-name-validator-5.0.0.tgz", + "integrity": "sha512-EvGK8EJ3DhaHfbRlETOWAS5pO9MZITeauHKJyb8wyajUfQUenkIg2MvLDTZ4T/TgIcm3HU0TFBgWWboAZ30UHg==", + "dev": true, + "license": "Apache-2.0", + "engines": { + "node": ">=18" + } + }, + "node_modules/xmlchars": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/xmlchars/-/xmlchars-2.2.0.tgz", + "integrity": "sha512-JZnDKK8B0RCDw84FNdDAIpZK+JuJw+s7Lz8nksI7SIuU3UXJJslUthsi+uWBUYOwPFwW7W7PRLRfUKpxjtjFCw==", + "dev": true, + "license": "MIT" + }, "node_modules/xtend": { "version": "4.0.2", "resolved": "https://registry.npmjs.org/xtend/-/xtend-4.0.2.tgz", diff --git a/template/package.json b/template/package.json index 89bd20e..f61db46 100644 --- a/template/package.json +++ b/template/package.json @@ -17,7 +17,7 @@ }, "engines": { "node": ">=22", - "agentage": "^0.15 || ^0.16" + "agentage": "^0.18.1" }, "agentage": { "id": "template", @@ -28,7 +28,8 @@ "mcp": true, "worker": true, "cli": true, - "store": "postgres" + "store": "postgres", + "app": true }, "commands": [ { @@ -44,7 +45,12 @@ } ], "settings": {}, - "secrets": [] + "secrets": [], + "app": { + "title": "template", + "icon": "layout-dashboard", + "order": 50 + } }, "exports": { "./agentage-extension.json": "./dist/agentage-extension.json", @@ -56,7 +62,7 @@ "!dist/**/*.test.*" ], "scripts": { - "build": "tsc -p tsconfig.build.json && (test ! -d src/ui || agentage-widget bundle)", + "build": "tsc -p tsconfig.build.json && (test ! -d src/ui || agentage-widget bundle) && node node_modules/@agentage/extension/dist/tool/cli.js app", "type-check": "tsc --noEmit -p tsconfig.eslint.json", "lint": "eslint .", "format": "prettier --write .", @@ -68,31 +74,38 @@ "prepublishOnly": "npm run verify" }, "dependencies": { - "@agentage/extension": "0.16.0", + "@agentage/extension": "^0.18.1", "express": "^5.1.0", "zod": "^4.2.0" }, "devDependencies": { - "@agentage/cli": "0.54.0", + "@agentage/cli": "0.57.0", + "@agentage/design-system": "0.20.1", "@agentage/widget": "^0.3.0", "@axe-core/playwright": "4.14.0", "@electric-sql/pglite": "0.5.16", "@playwright/test": "1.65.0", + "@tailwindcss/postcss": "4.3.5", "@types/express": "5.0.6", "@types/node": "26.6.6", "@types/react": "19.3.0", + "@types/react-dom": "19.3.0", "@typescript-eslint/eslint-plugin": "8.72.2", "@typescript-eslint/parser": "8.72.2", "@vitest/coverage-v8": "5.1.0", + "esbuild": "0.28.2", "eslint": "10.14.0", "eslint-config-prettier": "10.1.8", "eslint-plugin-jsx-a11y": "6.10.2", "eslint-plugin-playwright": "2.12.2", "eslint-plugin-prettier": "5.5.7", "eslint-plugin-react-hooks": "7.1.1", + "jsdom": "31.0.1", + "postcss": "8.5.33", "prettier": "3.9.10", "react": "19.3.1", "react-dom": "19.3.1", + "tailwindcss": "4.3.5", "typescript": "6.0.3", "vitest": "5.1.0" }, diff --git a/template/src/app-lint.test.ts b/template/src/app-lint.test.ts new file mode 100644 index 0000000..0572b90 --- /dev/null +++ b/template/src/app-lint.test.ts @@ -0,0 +1,28 @@ +import { ESLint } from 'eslint'; +import { describe, expect, it, vi } from 'vitest'; + +// With CI set, typescript-eslint assumes a one-shot CLI run and the first lintText returns nothing. +process.env['TSESTREE_SINGLE_RUN'] = 'false'; +const eslint = new ESLint(); + +const lint = async (code: string, filePath: string) => { + const [result] = await eslint.lintText(code, { filePath }); + return result?.messages.map((m) => m.ruleId ?? m.message.slice(0, 200)) ?? []; +}; + +vi.setConfig({ testTimeout: 30_000 }); + +describe('the app lint rule: no raw fetch in src/app', () => { + it.each(["fetch('/x')", "window.fetch('/x')", "globalThis.fetch('/x')"])( + '%s is refused', + async (code) => { + const rules = await lint(`export const x = () => ${code};\n`, 'src/app/index.tsx'); + expect(rules).toEqual(['no-restricted-syntax']); + } + ); + + it('fetch outside src/app is allowed', async () => { + const rules = await lint("export const x = () => fetch('/x');\n", 'src/api/index.ts'); + expect(rules).toEqual([]); + }); +}); diff --git a/template/src/app-part.test.tsx b/template/src/app-part.test.tsx new file mode 100644 index 0000000..a335dd4 --- /dev/null +++ b/template/src/app-part.test.tsx @@ -0,0 +1,45 @@ +// @vitest-environment jsdom +import { act } from 'react'; +import { createRoot, type Root } from 'react-dom/client'; +import { afterEach, describe, expect, it } from 'vitest'; +import { createTestRecord, TestHost } from '@agentage/extension/app/test-host'; +import App from './app/index.js'; + +(globalThis as { IS_REACT_ACT_ENVIRONMENT?: boolean }).IS_REACT_ACT_ENVIRONMENT = true; + +let root: Root | undefined; +afterEach(() => { + act(() => root?.unmount()); + document.body.innerHTML = ''; +}); + +const mount = async (reply: (c: { path: string }) => unknown) => { + const record = createTestRecord(); + const el = document.body.appendChild(document.createElement('div')); + root = createRoot(el); + await act(async () => + root?.render( + + + + ) + ); + const echo = [...el.querySelectorAll('button')].find((b) => b.textContent === 'Echo'); + await act(async () => echo?.click()); + return { record, el }; +}; + +describe('the app part', () => { + it('Echo calls the own api with the message and shows the answer', async () => { + const { record, el } = await mount(() => ({ msg: 'hi' })); + expect(record.calls[0]).toMatchObject({ id: 'template', path: '/echo?msg=hi' }); + expect(el.textContent).toContain('"msg":"hi"'); + }); + + it('a refused call shows its error code and does not reject', async () => { + const { el } = await mount(() => { + throw Object.assign(new Error('no'), { code: 'FORBIDDEN' }); + }); + expect(el.querySelector('p')?.textContent).toBe('FORBIDDEN'); + }); +}); diff --git a/template/src/app/index.tsx b/template/src/app/index.tsx new file mode 100644 index 0000000..0ceb6af --- /dev/null +++ b/template/src/app/index.tsx @@ -0,0 +1,32 @@ +import { useAppHost, useAppState } from '@agentage/extension/app'; +import { Button } from '@agentage/design-system/button'; +import { Input } from '@agentage/design-system/input'; +import { Label } from '@agentage/design-system/label'; +import { useState } from 'react'; + +// The shell page of the extension: it reaches its own api through useAppHost().api, never fetch. +export default function App() { + const { api } = useAppHost(); + const [msg, setMsg] = useAppState('msg', 'hi'); + const [answer, setAnswer] = useState(''); + const ping = async () => { + try { + setAnswer(JSON.stringify(await api(`/echo?msg=${encodeURIComponent(msg)}`))); + } catch (err) { + setAnswer(String((err as { code?: string }).code ?? err)); + } + }; + return ( +
+

template

+
+ + setMsg(e.target.value)} /> +
+ +

+ {answer} +

+
+ ); +} diff --git a/template/src/manifest.test.ts b/template/src/manifest.test.ts index 3053df5..4b63af5 100644 --- a/template/src/manifest.test.ts +++ b/template/src/manifest.test.ts @@ -16,7 +16,7 @@ const UI = './ui/index.js'; const sources = (): [string, string][] => readdirSync(SRC, { recursive: true, encoding: 'utf8' }) - .filter((file) => /\.tsx?$/.test(file) && !/\.(test|spec)\.ts$/.test(file)) + .filter((file) => /\.tsx?$/.test(file) && !/\.(test|spec)\.tsx?$/.test(file)) .map((file) => [file, readFileSync(new URL(file, SRC), 'utf8')]); const relativeImports = (text: string): string[] => @@ -28,8 +28,9 @@ describe('the manifest', () => { expect(imageParts(manifest)).toEqual(folders); const store = has('../migrations') ? { store: 'postgres' } : {}; const cli = has('cli') ? { cli: true } : {}; + const app = has('app') ? { app: true } : {}; const parts = Object.fromEntries(folders.map((part) => [part, true])); - expect(manifest.agentage.parts).toEqual({ ...parts, ...cli, ...store }); + expect(manifest.agentage.parts).toEqual({ ...parts, ...cli, ...app, ...store }); expect(manifest.agentage.commands?.map(({ name }) => name)).toEqual( has('cli') ? ['ping'] : undefined ); diff --git a/template/tsconfig.build.json b/template/tsconfig.build.json index 4269de0..050d03c 100644 --- a/template/tsconfig.build.json +++ b/template/tsconfig.build.json @@ -5,5 +5,5 @@ "declarationMap": false }, "files": [], - "exclude": ["src/**/*.test.ts", "src/ui"] + "exclude": ["src/**/*.test.ts", "src/**/*.test.tsx", "src/ui", "src/app"] } diff --git a/template/tsconfig.eslint.json b/template/tsconfig.eslint.json index e2046c5..be218b3 100644 --- a/template/tsconfig.eslint.json +++ b/template/tsconfig.eslint.json @@ -1,7 +1,8 @@ { "extends": "./tsconfig.json", "compilerOptions": { - "rootDir": "." + "rootDir": ".", + "lib": ["ES2024", "DOM", "DOM.Iterable"] }, "include": ["src", "vitest.config.ts", "playwright.config.ts"] } diff --git a/template/vitest.config.ts b/template/vitest.config.ts index c9298da..57fb9c6 100644 --- a/template/vitest.config.ts +++ b/template/vitest.config.ts @@ -2,11 +2,11 @@ import { defineConfig } from 'vitest/config'; export default defineConfig({ test: { - include: ['src/**/*.test.ts'], + include: ['src/**/*.test.{ts,tsx}'], coverage: { provider: 'v8', - include: ['src/**/*.ts'], - exclude: ['**/*.spec.ts'], + include: ['src/**/*.ts', 'src/app/**/*.tsx'], + exclude: ['**/*.spec.ts', '**/*.test.{ts,tsx}'], thresholds: { branches: 70, functions: 70, From 6d88aba530fc674dfaf203fc4aebd12058d8ed11 Mon Sep 17 00:00:00 2001 From: Volodymyr Vreshch Date: Tue, 17 Nov 2026 07:09:20 +0100 Subject: [PATCH 25/38] docs: one README order, both release records, the deployment row (#24) * docs: one README order, both release records, the deployment row Claude-Session: https://claude.ai/code/session_01XQkodgygL4W8UcLQDwC212 * docs: count the app part Claude-Session: https://claude.ai/code/session_01XQkodgygL4W8UcLQDwC212 --- template/CLAUDE.md | 64 +++++++++++++++++++++++++++------------------- template/README.md | 41 +++++++++++++++++++---------- 2 files changed, 65 insertions(+), 40 deletions(-) diff --git a/template/CLAUDE.md b/template/CLAUDE.md index beb4340..7ae78d2 100644 --- a/template/CLAUDE.md +++ b/template/CLAUDE.md @@ -8,13 +8,15 @@ widget kit `@agentage/widget`, are in their npm READMEs. ## Where facts live -- Start steps, running on a laptop, calling it, health and logs: `README.md` "Start", "Run it on your machine", "Call it"; health and logs: `docs/run-locally.md` "Health and logs". -- What each part does and its folder: `README.md` "What each part does here". +- Start steps, running on a laptop, calling it, health and logs: `README.md` "Quick start", "Run it on your machine", "Call it"; health and logs: `docs/run-locally.md` "Health and logs". +- What each part does and its folder: `README.md` "What it serves". - The manifest, commands, settings and secrets: the `agentage` block of `package.json`. - Routes, scopes, status codes (if you kept the api part): `openapi.json` (generated; never edit by hand). - MCP tools and their inputs (if you kept the mcp part): `.mcpc.json` (generated; never edit by hand). - Database tables and migration rules (if you kept the store part): `migrations/`, `seeds/`; the rules are in section 3 below. - CI jobs and the `MIN_EXECUTED` floor: `.github/workflows/ci.yml`. Release rules and refusals: `.github/workflows/release.yml`, `README.md` "Release". +- How a release goes live: `README.md` "Deploy", sections 6 and 7 below. +- The target design (the extension model, the app host, the app shell): the north star in the agentage product vault, `projects/architecture/`. Do not copy it into this repo. Read the file named here before you read `src/`. @@ -22,15 +24,16 @@ Read the file named here before you read `src/`. - An extension is one npm package. The `agentage` block of `package.json` is its manifest: the id, the parts, the commands, the settings and the secrets. -- A part is one folder in `src/`. Each exports `create(ctx)` only; the ui part exports `widgets`. +- A part is one folder in `src/`. Each exports `create(ctx)` only; the ui part exports `widgets`, + and the app part (`src/app/index.tsx`) a default root component for the shell. - The kit owns the server, `/health`, auth, the store pool, the scheduler and the images. You write only the part code. -The part table is in [README.md](README.md#what-each-part-does-here). +The part table is in [README.md](README.md#what-it-serves). ## 2. Start -The start steps are in [README.md](README.md#start). After `create`: +The start steps are in [README.md](README.md#quick-start). After `create`: - Keep at least one of pages, ui, api or mcp. - `create` deletes the folders and contracts of the parts you drop, and writes your id into every @@ -39,7 +42,7 @@ The start steps are in [README.md](README.md#start). After `create`: - Edit to the parts you kept: the part table and the lines of [README.md](README.md), and `description` in `package.json`. - `MIN_EXECUTED` in `ci.yml` is the gate's floor, the fewest tests the gate must run (the gate is - the e2e suite in agentage/e2e). `25` fits all seven parts. With fewer parts the gate runs fewer + the e2e suite in agentage/e2e). `25` fits all eight parts. With fewer parts the gate runs fewer tests, so lower it, or the job is red. ## 3. Write parts @@ -71,50 +74,59 @@ The commands are in [README.md](README.md#run-it-on-your-machine). Rules for the - Run `npm run verify` and `npx agentage extension check` before every push. - `npm run test:e2e` runs the widget test in a browser (axe WCAG A/AA). It needs `up` running and Chromium: `npx playwright install chromium`. -- `up` runs the release images, postgres with your migrations, a dev issuer (4281) and a gateway - (4280) laid out like `next` (the shared test environment). It writes `.agentage/` (ignored). -- CI runs the same steps, then the e2e gate on local: `npm run e2e -- gate local` in - agentage/e2e. The gate needs your row in its `extensions.json` (section 6). It never retries. +- `up` runs the folder on the daemon and reloads each saved change. `up --docker` runs the release + images, postgres with your migrations, a dev issuer (4281) and a gateway (4280) laid out like + `next` (the shared test environment). Both write `.agentage/` (ignored). +- CI runs the same steps with `up --docker`, then the e2e gate: `npm run e2e -- template gate docker` + in agentage/e2e. The gate needs your row in its `extensions.json` (section 6). It never retries. ## 5. Release - The steps are in [README.md](README.md#release). `release.yml` runs `agentage extension release`. +- The release attaches two records to the GitHub release: `agentage-extension.json` (the part + images by digest) and `agentage-container.json` (the one image an app host runs). +- A package with `"private": true` is never published to npm. - The first publish of a new npm name waits for the owner's approval. Then add `release.yml` as the trusted publisher on npmjs.com. - A re-run only retries npm; a moved tag is refused. A fix is a new version. Never move a `v*` tag. - `agentage extension release` refuses the id of the repo this one was copied from, and passes for every other id. -## 6. The estate row +## 6. The deployment row -The estate is the agentage/estate repo that holds the deployment config of every extension. -These touches are outside this repo. Each is one small PR or one owner action. +An extension runs where an operator lists it. These touches are outside this repo. Each is one +small PR or one owner action. -| Where | What | -| ------------------------------------- | ------------------------------------------------------------------------ | -| agentage/estate `estate.yaml` | `extensions.{id}: { version, parts: { api: api, ... } }` | -| agentage/e2e `extensions.json` | `{ "id": "{id}", "token": "GATE_TOKENS", "targets": ["local", "next"] }` | -| the `GATE_TOKENS` secret (owner) | a `"{id}"` entry: the bearer your gate sends on `next` | -| agentage/auth `pat-scopes.ts` (owner) | the id in `EXTENSION_IDS`: echo declares `{id}:read`, so it is needed | +| Where | What | +| ------------------------------------- | ------------------------------------------------------------------------- | +| agentage/apphosts `installation.json` | `{ "id": "{id}", "version", "store", "expose": { "api": "public" } }` | +| agentage/estate `estate.yaml` | `extensions.{id}: { version, parts: { api: api, ... } }` | +| agentage/e2e `extensions.json` | `{ "id": "{id}", "token": "GATE_TOKENS", "targets": ["docker", "next"] }` | +| the `GATE_TOKENS` secret (owner) | a `"{id}"` entry: the bearer your gate sends on `next` | +| agentage/auth `pat-scopes.ts` (owner) | the id in `EXTENSION_IDS`: echo declares `{id}:read`, so it is needed | -- A row can also set `host`, `market`, `public`, `source`, `resources` and `settings`. The schema in the estate repo is the full list. -- Pools: `web` for pages and ui, `api` for api, mcp and worker, `data` for store. Host: `{id}.next.agentage.io`. +- An extension has one of the two rows. The `installation.json` row puts it on an app host: one + service at `{app host}/api/{id}/...` and `{app host}/mcp/{id}`. This is the target shape. +- The `estate.yaml` row is the older shape: one container per part at `{id}.next.agentage.io`. + It can also set `host`, `market`, `public`, `source`, `resources` and `settings`. Pools: `web` + for pages and ui, `api` for api, mcp and worker, `data` for store. +- The schema of each file is in its repo. ## 7. Operate -- A merge to estate master deploys `next`. The deploy applies the stacks, checks each part's +- A merge to estate master, or to apphosts master, deploys `next`. The deploy applies the stacks, checks each part's `/health`, then runs your gate: `npm run e2e -- {id} gate next`. - Read a red run on the Actions tab of agentage/estate. The run names the part and the check. A part logs JSON lines with the request's `agcid`: search for it. - A release goes live so: - - A `v*` tag runs `release.yml`: the package and the images. + - A `v*` tag runs `release.yml`: the images, the records and the package. - The market lists the version. - - A row with `version: latest`: the cloud extension opens a PR to `estate.lock`. It merges by itself and the deploy to `next` runs. A red deploy is reverted by a PR. - - A row with an exact version (a pin: the version never moves by itself) changes only by a PR to `estate.yaml`. + - A floating row (`"track": "latest"` in `installation.json`, `version: latest` in `estate.yaml`): the cloud extension opens a PR that changes the version. It merges by itself and the deploy to `next` runs. A red deploy is reverted by a PR. + - A row with an exact version (a pin: the version never moves by itself) changes only by a PR to its file. ## 8. What the platform promises - The kit checks the token and the declared scope before your route or tool runs. -- The gateway serves `/`, `/ui/{version}/`, `/api/{id}/` and `/mcp`. It drops the `Cookie` header. +- The gateway of `up --docker` serves `/`, `/ui/{version}/`, `/api/{id}/` and `/mcp`. It drops the `Cookie` header. - The estate runs the migrations as a job before the rollout. A release never restarts the store. - The same smoke and contract gate runs for every extension in the e2e registry. - A kit minor reaches this repo through the weekly Dependabot group PR. Merge it when CI is green. diff --git a/template/README.md b/template/README.md index 1502121..e575599 100644 --- a/template/README.md +++ b/template/README.md @@ -7,14 +7,14 @@ a web page, a widget, an API, MCP tools, a job or CLI commands to agentage. You need Node 22 or newer, npm 10 or newer, Docker and git. Nothing needs a sign-in. ```bash -npx @agentage/cli@latest extension create [part...] # no part = all seven +npx @agentage/cli@latest extension create [part...] # no part = all eight ``` The parts are `pages`, `ui`, `api`, `mcp`, `worker`, `cli`, `app` and `store` (postgres). `create` keeps the parts you name and deletes the other parts. It writes your id into every file. In your copy, delete the README lines about parts you did not keep. See the [id rules](docs/run-locally.md#create). -## Start +## Quick start ```bash cd extension- @@ -29,22 +29,22 @@ Use `npx agentage` here. It runs the pinned version. A global `agentage` can be More: [when up or build stops](docs/run-locally.md#when-up-or-build-stops). -## Run it on your machine +### Run it on your machine -`npx agentage extension up` runs the folder on the daemon (127.0.0.1:4243): api, mcp (`/mcp/`) and +`npx agentage extension up` runs the folder on the daemon (127.0.0.1:4243): api, mcp (`/mcp/template`) and worker in one sealed child, no token, and each saved change in `src/` reloads it. `extension down` removes the row. With Docker, `up --docker` runs the release images, as a deployment does: ```bash npx agentage extension up --docker # Docker; prints "ready N parts healthy" when done -T=$(npx agentage extension token --scope :read) +T=$(npx agentage extension token --scope template:read) curl -s -H "Authorization: Bearer $T" "localhost:4280/api/template/echo?msg=hi" npx agentage extension down # removes this folder's containers, network and volume ``` - `up` needs ports 4280 (gateway) and 4281 (token issuer) free. -- `token` asks localhost:4281 only, so run `up` first. `` is `agentage.id` in `package.json`. +- `token` asks localhost:4281 only, so run `up` first. The scope starts with `agentage.id` of `package.json`. - Open `http://localhost:4280/` for the pages part. ### Call it @@ -53,15 +53,15 @@ npx agentage extension down # removes this folder's containers, network and v - `GET /api/template/ping` is public and answers 200 `pong`. - A protected route without a token answers 401. -`openapi.json` (api) and `.mcpc.json` (mcp) list all routes and tools. The MCP tool -`__echo` is at `POST /mcp`, with the same token. +`openapi.json` (api) and `template.mcpc.json` (mcp) list all routes and tools. The MCP tool +`template__echo` is at `POST /mcp`, with the same token. More: [answers](docs/run-locally.md#answers). Each part serves `/health` on port 3000 in its container. `up` does not publish it. More: [Health and logs](docs/run-locally.md#health-and-logs). -## What each part does here +## What it serves | Part | Folder | What it does | | ------ | ----------------------- | -------------------------------------------------------------------------------- | @@ -76,9 +76,14 @@ Each part serves `/health` on port 3000 in its container. `up` does not publish A seed in `seeds/` runs once, on an empty store. -## Change it +## Verify -[CLAUDE.md](CLAUDE.md) has the rules. After a route or tool changes, regenerate the contracts: +```bash +npm run verify # type-check, lint, format, test, build +npx agentage extension check # the six conformance rules +``` + +[CLAUDE.md](CLAUDE.md) has the rules for a change. After a route or tool changes, regenerate the contracts: ```bash npm run build && npx agentage extension check --write && npm run format @@ -88,14 +93,22 @@ npm run build && npx agentage extension check --write && npm run format 1. Raise the version in `package.json`. 2. Run `npx agentage extension check --write`, commit, and push the tag `v` on that commit, on master. -3. `release.yml` pushes the part images, attaches `agentage-extension.json` to the release and - publishes the package to npm. +3. `release.yml` pushes the images, attaches the records `agentage-container.json` and + `agentage-extension.json` to the GitHub release and publishes the package to npm. + +A package with `"private": true` skips npm. The owner does the first publish of a new npm name. +A fix is a new version: never move a tag. + +## Deploy -The owner does the first publish of a new npm name. A fix is a new version: never move a tag. +A release deploys nothing. An operator adds a row with the id and the version to the +`installation.json` of an app host (repo agentage/apphosts). The app host then serves +`/api/template/...` and `/mcp/template` at its own address. More: [CLAUDE.md](CLAUDE.md#6-the-deployment-row). ## Documentation - [docs/run-locally.md](docs/run-locally.md): id rules, start errors, answers, health and logs. +- [CLAUDE.md](CLAUDE.md): the rules for an agent that changes this repo. ## License From 754f79a9792d7c8dea5ff10afd8340ca3fd84bb2 Mon Sep 17 00:00:00 2001 From: Volodymyr Vreshch Date: Tue, 17 Nov 2026 13:01:53 +0100 Subject: [PATCH 26/38] chore(deps): kit ^0.18.4, the anonymous HEAD fix (#25) * chore(deps): kit ^0.18.4, the anonymous HEAD fix Claude-Session: https://claude.ai/code/session_01XQkodgygL4W8UcLQDwC212 * chore(deps): kit ^0.18.5, cli ^0.61.0 Claude-Session: https://claude.ai/code/session_01XQkodgygL4W8UcLQDwC212 --- template/openapi.json | 2 +- template/package-lock.json | 393 +++++++++++++++++++++--------------- template/package.json | 6 +- template/template.mcpc.json | 2 +- 4 files changed, 233 insertions(+), 170 deletions(-) diff --git a/template/openapi.json b/template/openapi.json index 5d71dce..ec44253 100644 --- a/template/openapi.json +++ b/template/openapi.json @@ -2,7 +2,7 @@ "openapi": "3.1.0", "info": { "title": "template", - "version": "0.1.0" + "version": "0.1.1" }, "components": { "securitySchemes": { diff --git a/template/package-lock.json b/template/package-lock.json index 3c81182..8fa1357 100644 --- a/template/package-lock.json +++ b/template/package-lock.json @@ -1,20 +1,20 @@ { "name": "@agentage/extension-template", - "version": "0.1.0", + "version": "0.1.1", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@agentage/extension-template", - "version": "0.1.0", + "version": "0.1.1", "license": "MIT", "dependencies": { - "@agentage/extension": "^0.18.1", + "@agentage/extension": "^0.18.5", "express": "^5.1.0", "zod": "^4.2.0" }, "devDependencies": { - "@agentage/cli": "0.57.0", + "@agentage/cli": "^0.61.0", "@agentage/design-system": "0.20.1", "@agentage/widget": "^0.3.0", "@axe-core/playwright": "4.14.0", @@ -50,13 +50,13 @@ } }, "node_modules/@agentage/cli": { - "version": "0.57.0", - "resolved": "https://registry.npmjs.org/@agentage/cli/-/cli-0.57.0.tgz", - "integrity": "sha512-Vb0IZ4Cwq+RSwz6CqRnUuSnv1fGbiElhLu+4kqIdKLgMOBYC14ZoXuuHIE9DUeJqtZqmySMBM3zkndN/pBYvug==", + "version": "0.61.0", + "resolved": "https://registry.npmjs.org/@agentage/cli/-/cli-0.61.0.tgz", + "integrity": "sha512-lX1F55I15jVwXZxl/clGB9WARqa6qo71xnX4SL0mjYF6EHgGuKsIoqw5Do0aNfFKwvja53CmdcLXdhXr/TVLNg==", "dev": true, "license": "MIT", "dependencies": { - "@agentage/extension": "0.18.1", + "@agentage/extension": "0.18.4", "@electric-sql/pglite": "^0.5.16", "@tailwindcss/postcss": "^4.3.5", "chalk": "^6.0.0", @@ -75,11 +75,70 @@ "npm": ">=10.0.0" } }, + "node_modules/@agentage/cli/node_modules/@agentage/extension": { + "version": "0.18.4", + "resolved": "https://registry.npmjs.org/@agentage/extension/-/extension-0.18.4.tgz", + "integrity": "sha512-fkp7yzl2ADDD65sD9honAAa2u5/F7EHHEyXDDOp48YYwwpiC4iBnzZi5debDEv9FUxfx4UbEewTsfsIxIkIWxg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@modelcontextprotocol/server": "^2.4.0", + "cors": "^2.8.5", + "helmet": "^8.1.0", + "jose": "^6.2.15", + "pg": "^8.23.1", + "semver": "^7.8.6", + "zod": "^4.2.0" + }, + "engines": { + "node": ">=22" + }, + "peerDependencies": { + "@agentage/design-system": "^0.20", + "@electric-sql/pglite": "^0.5.0", + "@tailwindcss/postcss": "^4.3.0", + "esbuild": ">=0.25.0", + "express": "^5.1.0", + "postcss": "^8.5.0", + "react": "^19.0.0", + "react-dom": "^19.0.0", + "tailwindcss": "^4.3.0" + }, + "peerDependenciesMeta": { + "@agentage/design-system": { + "optional": true + }, + "@electric-sql/pglite": { + "optional": true + }, + "@tailwindcss/postcss": { + "optional": true + }, + "esbuild": { + "optional": true + }, + "express": { + "optional": true + }, + "postcss": { + "optional": true + }, + "react": { + "optional": true + }, + "react-dom": { + "optional": true + }, + "tailwindcss": { + "optional": true + } + } + }, "node_modules/@agentage/design-system": { "version": "0.20.1", "resolved": "https://registry.npmjs.org/@agentage/design-system/-/design-system-0.20.1.tgz", "integrity": "sha512-TTEqyfo9GYQZ6lYp5j5fxxbCX5yL4PrByZA9bGJ1wmbDYpUQ8i6V262cPwBqkcd4jFXJ5e7jzwXogxO9/lM4IQ==", - "dev": true, + "devOptional": true, "license": "MIT", "dependencies": { "@radix-ui/react-select": "^2.4.1", @@ -107,9 +166,9 @@ } }, "node_modules/@agentage/extension": { - "version": "0.18.1", - "resolved": "https://registry.npmjs.org/@agentage/extension/-/extension-0.18.1.tgz", - "integrity": "sha512-afJCZMub+M8t+aHTUeZVAQTaSPMFp3rQkeR9f0X+JuytPt1+kh0AHJ7QBL8XYeZM0aFxM7sYPsviEdMrJcr3/g==", + "version": "0.18.5", + "resolved": "https://registry.npmjs.org/@agentage/extension/-/extension-0.18.5.tgz", + "integrity": "sha512-HZSt7SOHIt9GT5gcDrtSFLYrcR1kskWdwFjfxutl7MLc5Kz2RQJeYwaA1QqkBya2AxgPtiefC7jPYiPZwK9gQw==", "license": "MIT", "dependencies": { "@modelcontextprotocol/server": "^2.4.0", @@ -124,6 +183,7 @@ "node": ">=22" }, "peerDependencies": { + "@agentage/design-system": "^0.20", "@electric-sql/pglite": "^0.5.0", "@tailwindcss/postcss": "^4.3.0", "esbuild": ">=0.25.0", @@ -134,6 +194,9 @@ "tailwindcss": "^4.3.0" }, "peerDependenciesMeta": { + "@agentage/design-system": { + "optional": true + }, "@electric-sql/pglite": { "optional": true }, @@ -1093,7 +1156,7 @@ "version": "1.8.0", "resolved": "https://registry.npmjs.org/@floating-ui/core/-/core-1.8.0.tgz", "integrity": "sha512-0CIZ5itps/8x7BG8dEIhs53BvCUH2PCoogtakwRTut+Arm58sJooJ0AuZhLw2HJYIR5cMLNPBSS728sPho2khQ==", - "dev": true, + "devOptional": true, "license": "MIT", "dependencies": { "@floating-ui/utils": "^0.2.12" @@ -1103,7 +1166,7 @@ "version": "1.8.0", "resolved": "https://registry.npmjs.org/@floating-ui/dom/-/dom-1.8.0.tgz", "integrity": "sha512-yXSrzeHZBTZadLOlfyhCkJHNeLJnHRnRInwdZ40L7ZiaAtrBwoYlsDrX3v5zB1Utk7CLfzcOVnVVWoXEky7Ceg==", - "dev": true, + "devOptional": true, "license": "MIT", "dependencies": { "@floating-ui/core": "^1.8.0", @@ -1114,7 +1177,7 @@ "version": "2.1.9", "resolved": "https://registry.npmjs.org/@floating-ui/react-dom/-/react-dom-2.1.9.tgz", "integrity": "sha512-JDjEFGCpImxDCA7JJKviA0M9+RtmJdj0m/NVU5IMgBK+AmZouAQQ7/+2GLH0GXXY0YMw9oXPB8hKdbPYg5QLYg==", - "dev": true, + "devOptional": true, "license": "MIT", "dependencies": { "@floating-ui/dom": "^1.8.0" @@ -1128,7 +1191,7 @@ "version": "0.2.12", "resolved": "https://registry.npmjs.org/@floating-ui/utils/-/utils-0.2.12.tgz", "integrity": "sha512-HpCo8tmWzLVad5s2d19EhAz5zqrrQ6s69qd6moPMQvkOuSwDT1YgRfWSVuc4ennqrgv3OHppiOGMQ7oC13yIww==", - "dev": true, + "devOptional": true, "license": "MIT" }, "node_modules/@humanfs/core": { @@ -1340,21 +1403,21 @@ "version": "1.1.3", "resolved": "https://registry.npmjs.org/@radix-ui/number/-/number-1.1.3.tgz", "integrity": "sha512-Road2bidD0uu/1BGDOWNdPI06g0lIRy6IF9GZcIrDK2KGItfor8IQwQa+yM2ERgHM1MmHxaxpTzk0/Jp42lNfA==", - "dev": true, + "devOptional": true, "license": "MIT" }, "node_modules/@radix-ui/primitive": { "version": "1.2.0", "resolved": "https://registry.npmjs.org/@radix-ui/primitive/-/primitive-1.2.0.tgz", "integrity": "sha512-KABY+VMIRPJL+Vyzv/335FEhXXD/xDv8BMb1kl48/aXJZMH0LtHCTx5ga5RnxaEP3nZHtmTLf1P9vanmFX46bw==", - "dev": true, + "devOptional": true, "license": "MIT" }, "node_modules/@radix-ui/react-arrow": { "version": "1.1.17", "resolved": "https://registry.npmjs.org/@radix-ui/react-arrow/-/react-arrow-1.1.17.tgz", "integrity": "sha512-67jjcVvxjXCCStnTW3Z+M7jmaFMuMR7M2JgpDzH4w7JSRrikmzhjfYgP/09ECb8n7whnsgh1ifJ+Ie96qEj+pQ==", - "dev": true, + "devOptional": true, "license": "MIT", "dependencies": { "@radix-ui/react-primitive": "2.2.0" @@ -1378,7 +1441,7 @@ "version": "1.2.0", "resolved": "https://registry.npmjs.org/@radix-ui/react-collection/-/react-collection-1.2.0.tgz", "integrity": "sha512-+yiQzqcc7Sy7/5s0jrMCjpPRFB3538VNrXPWdTLZhE/SCfgEws4aI6lHWN/vvcnyhHndROWBzqmqB4QBrITZ9Q==", - "dev": true, + "devOptional": true, "license": "MIT", "dependencies": { "@radix-ui/react-compose-refs": "1.1.5", @@ -1406,7 +1469,7 @@ "version": "1.1.5", "resolved": "https://registry.npmjs.org/@radix-ui/react-compose-refs/-/react-compose-refs-1.1.5.tgz", "integrity": "sha512-+48PbAAbq3didjJxa+OaWY2ZwgAKsNiRGyeHKszblZMQ+kcpd9pAaT11cMkGEie0vsOi3QdeTE6d5Fe3Gn61kA==", - "dev": true, + "devOptional": true, "license": "MIT", "peerDependencies": { "@types/react": "*", @@ -1422,7 +1485,7 @@ "version": "1.3.0", "resolved": "https://registry.npmjs.org/@radix-ui/react-context/-/react-context-1.3.0.tgz", "integrity": "sha512-v5AYEocMISkbJ+1fTXzZpiFv7NRr3D2WiYbLIKf+FkmJ8VkP6d503eV2n34MFussHXY1pcoq3yfJiQH77dc4Mg==", - "dev": true, + "devOptional": true, "license": "MIT", "peerDependencies": { "@types/react": "*", @@ -1438,7 +1501,7 @@ "version": "1.2.0", "resolved": "https://registry.npmjs.org/@radix-ui/react-direction/-/react-direction-1.2.0.tgz", "integrity": "sha512-FtRA52a/r+LKStFT+neLUm+8vSe7wbzkbQGGeU8ixFiwC8NU14Evoq9ATECqL3eGbcUzJR4fyfA4KkK/q6dfqg==", - "dev": true, + "devOptional": true, "license": "MIT", "peerDependencies": { "@types/react": "*", @@ -1454,7 +1517,7 @@ "version": "1.2.1", "resolved": "https://registry.npmjs.org/@radix-ui/react-dismissable-layer/-/react-dismissable-layer-1.2.1.tgz", "integrity": "sha512-KIfDcAsx+oVylFZ4xryVKusJUrLLhTQmfnJW4kwk4Km5myvhHCrj04hnWWUC166+xD4DHdH8tQGylwYX1h6+Pg==", - "dev": true, + "devOptional": true, "license": "MIT", "dependencies": { "@radix-ui/primitive": "1.2.0", @@ -1482,7 +1545,7 @@ "version": "1.2.0", "resolved": "https://registry.npmjs.org/@radix-ui/react-focus-guards/-/react-focus-guards-1.2.0.tgz", "integrity": "sha512-MPm5R0iRGUDrDnPNxmLBkv+X7pN4XKzt+MbWJEuJQsH3NFH4omrbpXpucyYCCKTSt+na/ZxGhEWQrWTZ0285cA==", - "dev": true, + "devOptional": true, "license": "MIT", "peerDependencies": { "@types/react": "*", @@ -1498,7 +1561,7 @@ "version": "1.3.1", "resolved": "https://registry.npmjs.org/@radix-ui/react-focus-scope/-/react-focus-scope-1.3.1.tgz", "integrity": "sha512-ugeMhbXt4y5S2T1GnIqbWDKEN962PDwnX1fN0eKOOgf5f63Dh2mn8F1FUySlgW0iF6GiVsRF32DzuDIWTUyQJg==", - "dev": true, + "devOptional": true, "license": "MIT", "dependencies": { "@radix-ui/react-compose-refs": "1.1.5", @@ -1524,7 +1587,7 @@ "version": "1.1.4", "resolved": "https://registry.npmjs.org/@radix-ui/react-id/-/react-id-1.1.4.tgz", "integrity": "sha512-TMQp2llA+RYn7JcjnrMnz7wN4pcVttPZnRZo52PLQsoLVKzNlVwUeHmfePgTgRluXFvlD3GD5g5MOVVTJCO0qA==", - "dev": true, + "devOptional": true, "license": "MIT", "dependencies": { "@radix-ui/react-use-layout-effect": "1.1.4" @@ -1543,7 +1606,7 @@ "version": "1.4.0", "resolved": "https://registry.npmjs.org/@radix-ui/react-popper/-/react-popper-1.4.0.tgz", "integrity": "sha512-yCWRvLeGv9Pz3+efwHqGPp70mZ56r3kfIgQVF56Oj2aAa4uP/Tb+IE59wNcc+758rctqbCKx4LbK8II/r7Bn0Q==", - "dev": true, + "devOptional": true, "license": "MIT", "dependencies": { "@floating-ui/react-dom": "^2.0.0", @@ -1576,7 +1639,7 @@ "version": "1.2.0", "resolved": "https://registry.npmjs.org/@radix-ui/react-portal/-/react-portal-1.2.0.tgz", "integrity": "sha512-StX7xXnaRU41VvFtMm9zlhVGz8XF6GmWWTXftkQaY+tqVkbs/R9UmAp5mLzHHapk5hM9RMZQvO/3usyIP/g42g==", - "dev": true, + "devOptional": true, "license": "MIT", "dependencies": { "@radix-ui/react-primitive": "2.2.0", @@ -1601,7 +1664,7 @@ "version": "1.1.11", "resolved": "https://registry.npmjs.org/@radix-ui/react-presence/-/react-presence-1.1.11.tgz", "integrity": "sha512-Z7/atlkab36Z8hm+V8zYc79r0W+tiOB1o0tun1By94JyadkekLQmtEAnBSP9XKXBNQsStoStS4+gX10JpS5akA==", - "dev": true, + "devOptional": true, "license": "MIT", "dependencies": { "@radix-ui/react-use-layout-effect": "1.1.4" @@ -1625,7 +1688,7 @@ "version": "2.2.0", "resolved": "https://registry.npmjs.org/@radix-ui/react-primitive/-/react-primitive-2.2.0.tgz", "integrity": "sha512-HCTSPMNqv55Qk0IX4geJbpyXazmqulcimwuyjxTkKi29v+QZbG2Zho9BnbBq4YS2PF+KlNb2CXoLz66uUmblkg==", - "dev": true, + "devOptional": true, "license": "MIT", "dependencies": { "@radix-ui/react-slot": "1.5.0" @@ -1649,7 +1712,7 @@ "version": "2.4.1", "resolved": "https://registry.npmjs.org/@radix-ui/react-select/-/react-select-2.4.1.tgz", "integrity": "sha512-888ZwW0Md6GyptuqYABRX9nLKgoYfcooCyBBvVaX5Jp3e+8Jp2i4Zo/Uy50Hm+Ysn2JfloQXstW4U36w8teVtg==", - "dev": true, + "devOptional": true, "license": "MIT", "dependencies": { "@radix-ui/number": "1.1.3", @@ -1693,7 +1756,7 @@ "version": "1.5.0", "resolved": "https://registry.npmjs.org/@radix-ui/react-slot/-/react-slot-1.5.0.tgz", "integrity": "sha512-tyYd9ddPXAysAbdbD9eYxgwpCSv6f3PncqVSNKQFSR5lcJVLz3cb/pANDoYrLiHBpXv7skortyUgGUWsYuPPFQ==", - "dev": true, + "devOptional": true, "license": "MIT", "dependencies": { "@radix-ui/react-compose-refs": "1.1.5" @@ -1712,7 +1775,7 @@ "version": "1.1.5", "resolved": "https://registry.npmjs.org/@radix-ui/react-use-callback-ref/-/react-use-callback-ref-1.1.5.tgz", "integrity": "sha512-Y5GBf4NKeADoXI1geiMlMuMoURT3k9MizzzKhGb/m55H94aGigZ01PIpkvsO6lML13BA6XYAXSJ6gza7vTn5nw==", - "dev": true, + "devOptional": true, "license": "MIT", "dependencies": { "@radix-ui/react-use-layout-effect": "1.1.4" @@ -1731,7 +1794,7 @@ "version": "1.3.0", "resolved": "https://registry.npmjs.org/@radix-ui/react-use-controllable-state/-/react-use-controllable-state-1.3.0.tgz", "integrity": "sha512-TAcBI7bw2ljYCbv4+zuTSd6zICu8pRt6SDN2vJ/Z06K2MXh6I9WYFe/A9ovlFDtR5HVHGm5iDxDoABm/++dbKg==", - "dev": true, + "devOptional": true, "license": "MIT", "dependencies": { "@radix-ui/primitive": "1.2.0", @@ -1752,7 +1815,7 @@ "version": "0.0.5", "resolved": "https://registry.npmjs.org/@radix-ui/react-use-effect-event/-/react-use-effect-event-0.0.5.tgz", "integrity": "sha512-7cshFL8HGS/7HEiHH+9kL9HBwp2sa9yX18Knwek6KYWmXwM7pegMgta2AXMQKI+rq3JnfSj9x8wYqFMTdG1Jgg==", - "dev": true, + "devOptional": true, "license": "MIT", "dependencies": { "@radix-ui/react-use-layout-effect": "1.1.4" @@ -1771,7 +1834,7 @@ "version": "1.1.4", "resolved": "https://registry.npmjs.org/@radix-ui/react-use-layout-effect/-/react-use-layout-effect-1.1.4.tgz", "integrity": "sha512-K20DkRkUwDnxEYMBPcg3Y6voLkEy5p5QQmszZgLngKKiC7dzBR/aEuK3w1qlx2JWDUNH6FluahYdgR3BP+QbYw==", - "dev": true, + "devOptional": true, "license": "MIT", "peerDependencies": { "@types/react": "*", @@ -1787,7 +1850,7 @@ "version": "1.1.4", "resolved": "https://registry.npmjs.org/@radix-ui/react-use-rect/-/react-use-rect-1.1.4.tgz", "integrity": "sha512-cSOCh6JlkmfjLyNcLiu2nB4v+nm+dkZ+Q5KHWk/soo4U7ZLiEQFKHK9/YmtBHjfCEaU43IBKQOc4/uJmCaiCTQ==", - "dev": true, + "devOptional": true, "license": "MIT", "dependencies": { "@radix-ui/rect": "1.1.3" @@ -1806,7 +1869,7 @@ "version": "1.1.5", "resolved": "https://registry.npmjs.org/@radix-ui/react-use-size/-/react-use-size-1.1.5.tgz", "integrity": "sha512-V1McDQkMGzgivwqdu7u96APs7oi0Jvj9LTzgq3WWrDZqxWdAqU9yZnZQqk5OizGFR8badUQwZsrlao7MOlWYOA==", - "dev": true, + "devOptional": true, "license": "MIT", "dependencies": { "@radix-ui/react-use-layout-effect": "1.1.4" @@ -1825,7 +1888,7 @@ "version": "1.2.13", "resolved": "https://registry.npmjs.org/@radix-ui/react-visually-hidden/-/react-visually-hidden-1.2.13.tgz", "integrity": "sha512-feijiN1oPk4rck4u9Dm9tsU4mT6Wp9oeEEhaz1WUEs1VuqLf8xzsFG+Qk+uWq6TnMH9O+WRECRg0NftyP9E4Fw==", - "dev": true, + "devOptional": true, "license": "MIT", "dependencies": { "@radix-ui/react-primitive": "2.2.0" @@ -1849,7 +1912,7 @@ "version": "1.1.3", "resolved": "https://registry.npmjs.org/@radix-ui/rect/-/rect-1.1.3.tgz", "integrity": "sha512-JtyZR+mqgBibTo8xea3B6ZRmzZiM/YeVBtUkas6zMuXjAlfIFIW2FgqeM9eLyvEaYX66vr6DJMK+4U6LV0KhNw==", - "dev": true, + "devOptional": true, "license": "MIT" }, "node_modules/@rolldown/binding-android-arm-eabi": { @@ -2485,7 +2548,7 @@ "version": "4.1.13", "resolved": "https://registry.npmjs.org/@types/debug/-/debug-4.1.13.tgz", "integrity": "sha512-KSVgmQmzMwPlmtljOomayoR89W4FynCAi3E8PPs7vmDVPe84hT+vGPKkJfThkmXs0x0jAaa9U8uW8bbfyS2fWw==", - "dev": true, + "devOptional": true, "license": "MIT", "dependencies": { "@types/ms": "*" @@ -2509,14 +2572,14 @@ "version": "1.0.10", "resolved": "https://registry.npmjs.org/@types/estree/-/estree-1.0.10.tgz", "integrity": "sha512-lTyOMnOcmRBzdCv6/4zUZCrEhV0xrqQiUZBZtVcbmLHBXKLnN8q89v/wKRF/Q0HbwVsqbIG3o5HDoFl9sduM+g==", - "dev": true, + "devOptional": true, "license": "MIT" }, "node_modules/@types/estree-jsx": { "version": "1.0.5", "resolved": "https://registry.npmjs.org/@types/estree-jsx/-/estree-jsx-1.0.5.tgz", "integrity": "sha512-52CcUVNFyfb1A2ALocQw/Dd1BQFNmSdkuC3BkZ6iqhdMfQz7JWOFRuJFloOzjk+6WijU56m9oKXFAXc7o3Towg==", - "dev": true, + "devOptional": true, "license": "MIT", "dependencies": { "@types/estree": "*" @@ -2551,7 +2614,7 @@ "version": "3.0.5", "resolved": "https://registry.npmjs.org/@types/hast/-/hast-3.0.5.tgz", "integrity": "sha512-rp/ezSWaD1m44dPKICGhiskI13nVr7qTloFwDa/IYkhhf5nzwP+zIQcIJh3WIFSBOy/H1PzB40jPjMDksN4F+g==", - "dev": true, + "devOptional": true, "license": "MIT", "dependencies": { "@types/unist": "*" @@ -2575,7 +2638,7 @@ "version": "4.0.4", "resolved": "https://registry.npmjs.org/@types/mdast/-/mdast-4.0.4.tgz", "integrity": "sha512-kGaNbPh1k7AFzgpud/gMdvIm5xuECykRR+JnWKQno9TAXVa6WIVCGTPvYGekIDL4uwCZQSYbUxNBSb1aUo79oA==", - "dev": true, + "devOptional": true, "license": "MIT", "dependencies": { "@types/unist": "*" @@ -2585,7 +2648,7 @@ "version": "2.1.0", "resolved": "https://registry.npmjs.org/@types/ms/-/ms-2.1.0.tgz", "integrity": "sha512-GsCCIZDE/p3i96vtEqx+7dBUGXrc7zeSK3wwPHIaRThS+9OhWIXRqzs4d6k1SVU8g91DrNRWxWUGhp5KXQb2VA==", - "dev": true, + "devOptional": true, "license": "MIT" }, "node_modules/@types/node": { @@ -2616,7 +2679,7 @@ "version": "19.3.0", "resolved": "https://registry.npmjs.org/@types/react/-/react-19.3.0.tgz", "integrity": "sha512-N0rFCuH9YoxG9/m61l9MfpJKfmLOVU0em7ipIz6TRgSSkvReLB9vL85GB+yr8Bs5leqpvg96JSwF4ZS1s4viQg==", - "dev": true, + "devOptional": true, "license": "MIT", "dependencies": { "csstype": "^3.2.2" @@ -2626,7 +2689,7 @@ "version": "19.3.0", "resolved": "https://registry.npmjs.org/@types/react-dom/-/react-dom-19.3.0.tgz", "integrity": "sha512-ZI7bU42mZXXKHn/qNLEw2IrbiINU7X5+vfgdixBHkCNpYWXjKgfQ/P+uyGb5CjOLB9UcnTeg3rylQtV2hym44Q==", - "dev": true, + "devOptional": true, "license": "MIT", "peerDependencies": { "@types/react": "^19.3.0" @@ -2657,7 +2720,7 @@ "version": "3.0.3", "resolved": "https://registry.npmjs.org/@types/unist/-/unist-3.0.3.tgz", "integrity": "sha512-ko/gIFJRv177XgZsZcBwnqJN5x/Gien8qNOn0D5bQU/zAzVf9Zt3BlcUiLqhV9y4ARk0GbT3tnUiPNgnTXzc/Q==", - "dev": true, + "devOptional": true, "license": "MIT" }, "node_modules/@typescript-eslint/eslint-plugin": { @@ -2897,7 +2960,7 @@ "version": "1.4.0", "resolved": "https://registry.npmjs.org/@ungap/structured-clone/-/structured-clone-1.4.0.tgz", "integrity": "sha512-1mEZtMKPM09vDmQt5y7YvmN2+DFTP7Tg0EWXdic8/C6VRnpb33e4ghisCIE3WZjsE2N8mf+QV1Zqh7ZFYLWInQ==", - "dev": true, + "devOptional": true, "license": "ISC" }, "node_modules/@vitest/coverage-v8": { @@ -3047,7 +3110,7 @@ "version": "1.2.6", "resolved": "https://registry.npmjs.org/aria-hidden/-/aria-hidden-1.2.6.tgz", "integrity": "sha512-ik3ZgC9dY/lYVVM++OISsaYDeg1tb0VtP5uL3ouh1koGOaUMDPpbFIei4JkFimWUFPn90sbMNMXQAIVOlnYKJA==", - "dev": true, + "devOptional": true, "license": "MIT", "dependencies": { "tslib": "^2.0.0" @@ -3245,7 +3308,7 @@ "version": "2.0.2", "resolved": "https://registry.npmjs.org/bail/-/bail-2.0.2.tgz", "integrity": "sha512-0xO6mYd7JB2YesxDKplafRpsiOzPt9V02ddPCLbY1xYGPOX24NTyN50qnUxgCPcSoYMhKpAuBTjQoRZCAkUDRw==", - "dev": true, + "devOptional": true, "license": "MIT", "funding": { "type": "github", @@ -3485,7 +3548,7 @@ "version": "2.0.1", "resolved": "https://registry.npmjs.org/ccount/-/ccount-2.0.1.tgz", "integrity": "sha512-eyrF0jiFpY+3drT6383f1qhkbGsLSifNAjA61IUjZjmLCWjItY6LB9ft9YhoDgwfmclB2zhu51Lc7+95b8NRAg==", - "dev": true, + "devOptional": true, "license": "MIT", "funding": { "type": "github", @@ -3519,7 +3582,7 @@ "version": "2.0.2", "resolved": "https://registry.npmjs.org/character-entities/-/character-entities-2.0.2.tgz", "integrity": "sha512-shx7oQ0Awen/BRIdkjkvz54PnEEI/EjwXDSIZp86/KKdbafHh1Df/RYGBhn4hbe2+uKC9FnT5UCEdyPz3ai9hQ==", - "dev": true, + "devOptional": true, "license": "MIT", "funding": { "type": "github", @@ -3530,7 +3593,7 @@ "version": "2.1.0", "resolved": "https://registry.npmjs.org/character-entities-html4/-/character-entities-html4-2.1.0.tgz", "integrity": "sha512-1v7fgQRj6hnSwFpq1Eu0ynr/CDEw0rXo2B61qXrLNdHZmPKgb7fqS1a2JwF0rISo9q77jDI8VMEHoApn8qDoZA==", - "dev": true, + "devOptional": true, "license": "MIT", "funding": { "type": "github", @@ -3541,7 +3604,7 @@ "version": "3.0.0", "resolved": "https://registry.npmjs.org/character-entities-legacy/-/character-entities-legacy-3.0.0.tgz", "integrity": "sha512-RpPp0asT/6ufRm//AJVwpViZbGM/MkjQFxJccQRHmISF/22NBtsHqAWmL+/pmkPWoIUJdWyeVleTl1wydHATVQ==", - "dev": true, + "devOptional": true, "license": "MIT", "funding": { "type": "github", @@ -3552,7 +3615,7 @@ "version": "2.0.1", "resolved": "https://registry.npmjs.org/character-reference-invalid/-/character-reference-invalid-2.0.1.tgz", "integrity": "sha512-iBZ4F4wRbyORVsu0jPV7gXkOsGYjGHPmAyv+HiHG8gi5PtC9KI2j1+v8/tlibRvjoWX027ypmG/n0HtO5t7unw==", - "dev": true, + "devOptional": true, "license": "MIT", "funding": { "type": "github", @@ -3563,7 +3626,7 @@ "version": "0.7.1", "resolved": "https://registry.npmjs.org/class-variance-authority/-/class-variance-authority-0.7.1.tgz", "integrity": "sha512-Ka+9Trutv7G8M6WT6SeiRWz792K5qEqIGEGzXKhAE6xOWAY6pPH8U+9IY3oCMv6kqTmLsv7Xh/2w2RigkePMsg==", - "dev": true, + "devOptional": true, "license": "Apache-2.0", "dependencies": { "clsx": "^2.1.1" @@ -3576,7 +3639,7 @@ "version": "2.1.1", "resolved": "https://registry.npmjs.org/clsx/-/clsx-2.1.1.tgz", "integrity": "sha512-eYm0QWBtUrBWZWG0d386OGAw16Z995PiOVo2B7bjWSbHedGl5e0ZWaq65kOGgUSNesEIDkB9ISbTg/JK9dhCZA==", - "dev": true, + "devOptional": true, "license": "MIT", "engines": { "node": ">=6" @@ -3586,7 +3649,7 @@ "version": "2.0.3", "resolved": "https://registry.npmjs.org/comma-separated-tokens/-/comma-separated-tokens-2.0.3.tgz", "integrity": "sha512-Fu4hJdvzeylCfQPp9SGWidpzrMs7tTrlu6Vb8XGaRGck8QSNZJJp538Wrb60Lax4fPwR64ViY468OIUTbRlGZg==", - "dev": true, + "devOptional": true, "license": "MIT", "funding": { "type": "github", @@ -3697,7 +3760,7 @@ "version": "3.2.3", "resolved": "https://registry.npmjs.org/csstype/-/csstype-3.2.3.tgz", "integrity": "sha512-z1HGKcYy2xA8AGQfwrn0PAy+PB7X/GSj3UVJW9qKyn43xWa+gl5nXmU4qqLMRzWVLFC8KusUX8T/0kCiOYpAIQ==", - "dev": true, + "devOptional": true, "license": "MIT" }, "node_modules/damerau-levenshtein": { @@ -3803,7 +3866,7 @@ "version": "1.3.0", "resolved": "https://registry.npmjs.org/decode-named-character-reference/-/decode-named-character-reference-1.3.0.tgz", "integrity": "sha512-GtpQYB283KrPp6nRw50q3U9/VfOutZOe103qlN7BPP6Ad27xYnOIWv4lPzo8HCAL+mMZofJ9KEy30fq6MfaK6Q==", - "dev": true, + "devOptional": true, "license": "MIT", "dependencies": { "character-entities": "^2.0.0" @@ -3912,7 +3975,7 @@ "version": "2.0.3", "resolved": "https://registry.npmjs.org/dequal/-/dequal-2.0.3.tgz", "integrity": "sha512-0je+qPKHEMohvfRTCEo3CrPG6cAzAYgmzKyxRiYSSDkS6eGJdyVJm7WaYA5ECaAD9wLB2T4EEeymA5aFVcYXCA==", - "dev": true, + "devOptional": true, "license": "MIT", "engines": { "node": ">=6" @@ -3932,14 +3995,14 @@ "version": "1.1.0", "resolved": "https://registry.npmjs.org/detect-node-es/-/detect-node-es-1.1.0.tgz", "integrity": "sha512-ypdmJU/TbBby2Dxibuv7ZLW3Bs1QEmM7nHjEANfohJLvE0XVujisn1qPJcZxg+qDucsr+bP6fLD1rPS3AhJ7EQ==", - "dev": true, + "devOptional": true, "license": "MIT" }, "node_modules/devlop": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/devlop/-/devlop-1.1.0.tgz", "integrity": "sha512-RWmIqhcFf1lRYBvNmr7qTNuyCt/7/ns2jbpp1+PalgE/rDQcBT0fioSMUpJ93irlUhC5hrg4cYqe6U+0ImW0rA==", - "dev": true, + "devOptional": true, "license": "MIT", "dependencies": { "dequal": "^2.0.0" @@ -4014,7 +4077,7 @@ "version": "6.0.1", "resolved": "https://registry.npmjs.org/entities/-/entities-6.0.1.tgz", "integrity": "sha512-aN97NXWF6AWBTahfVOIrB/NShkzi5H7F9r1s9mD3cDj4Ko5f2qhhVoYMibXF7GlLveb/D2ioWay8lxI97Ven3g==", - "dev": true, + "devOptional": true, "license": "BSD-2-Clause", "engines": { "node": ">=0.12" @@ -4598,7 +4661,7 @@ "version": "3.0.0", "resolved": "https://registry.npmjs.org/estree-util-is-identifier-name/-/estree-util-is-identifier-name-3.0.0.tgz", "integrity": "sha512-hFtqIDZTIUZ9BXLb8y4pYGyk6+wekIivNVTcmvk8NoOh+VeRn5y6cEHzbURrWbfp1fIqdVipilzj+lfaadNZmg==", - "dev": true, + "devOptional": true, "license": "MIT", "funding": { "type": "opencollective", @@ -4691,7 +4754,7 @@ "version": "3.0.2", "resolved": "https://registry.npmjs.org/extend/-/extend-3.0.2.tgz", "integrity": "sha512-fjquC59cD7CyW6urNXK0FBufkZcoiGG80wTuPujX590cB5Ttln20E2UB4S/WARVqhXffZl2LNgS+gQdPIIim/g==", - "dev": true, + "devOptional": true, "license": "MIT" }, "node_modules/fast-deep-equal": { @@ -4948,7 +5011,7 @@ "version": "1.0.1", "resolved": "https://registry.npmjs.org/get-nonce/-/get-nonce-1.0.1.tgz", "integrity": "sha512-FJhYRoDaiatfEkUK8HKlicmu/3SGFD51q3itKDGoSTysQJBnfOcxU5GxnhE1E6soB76MbT0MBtnKJuXyAx+96Q==", - "dev": true, + "devOptional": true, "license": "MIT", "engines": { "node": ">=6" @@ -5146,7 +5209,7 @@ "version": "8.0.4", "resolved": "https://registry.npmjs.org/hast-util-from-parse5/-/hast-util-from-parse5-8.0.4.tgz", "integrity": "sha512-Yq7XlXor0Cpb71sI2E0zpv8QxQ5a6rfhDEETk4bcgrFX2SvJAY2PHocWwFtL6U9qyfiyByW3wZ6sZEfP2kW81g==", - "dev": true, + "devOptional": true, "license": "MIT", "dependencies": { "@types/hast": "^3.0.0", @@ -5167,7 +5230,7 @@ "version": "4.0.0", "resolved": "https://registry.npmjs.org/hast-util-parse-selector/-/hast-util-parse-selector-4.0.0.tgz", "integrity": "sha512-wkQCkSYoOGCRKERFWcxMVMOcYE2K1AaNLU8DXS9arxnLOUEWbOXKXiJUNzEpqZ3JOKpnha3jkFrumEjVliDe7A==", - "dev": true, + "devOptional": true, "license": "MIT", "dependencies": { "@types/hast": "^3.0.0" @@ -5181,7 +5244,7 @@ "version": "9.1.0", "resolved": "https://registry.npmjs.org/hast-util-raw/-/hast-util-raw-9.1.0.tgz", "integrity": "sha512-Y8/SBAHkZGoNkpzqqfCldijcuUKh7/su31kEBp67cFY09Wy0mTRgtsLYsiIxMJxlu0f6AA5SUTbDR8K0rxnbUw==", - "dev": true, + "devOptional": true, "license": "MIT", "dependencies": { "@types/hast": "^3.0.0", @@ -5207,7 +5270,7 @@ "version": "2.3.7", "resolved": "https://registry.npmjs.org/hast-util-to-jsx-runtime/-/hast-util-to-jsx-runtime-2.3.7.tgz", "integrity": "sha512-F7DNV2NMcTxA4GqPVHnXzX+mpoPHAIY9rJAVH3CZ1FdBZOcBUEjUuvMkMpHVs/sicEtznh9tMGj5WUR9S4E2rg==", - "dev": true, + "devOptional": true, "license": "MIT", "dependencies": { "@types/estree": "^1.0.0", @@ -5235,7 +5298,7 @@ "version": "8.0.1", "resolved": "https://registry.npmjs.org/hast-util-to-parse5/-/hast-util-to-parse5-8.0.1.tgz", "integrity": "sha512-MlWT6Pjt4CG9lFCjiz4BH7l9wmrMkfkJYCxFwKQic8+RTZgWPuWxwAfjJElsXkex7DJjfSJsQIt931ilUgmwdA==", - "dev": true, + "devOptional": true, "license": "MIT", "dependencies": { "@types/hast": "^3.0.0", @@ -5255,7 +5318,7 @@ "version": "3.0.0", "resolved": "https://registry.npmjs.org/hast-util-whitespace/-/hast-util-whitespace-3.0.0.tgz", "integrity": "sha512-88JUN06ipLwsnv+dVn+OIYOvAuvBMy/Qoi6O7mQHxdPXpjy+Cd6xRkWwux7DKO+4sYILtLBRIKgsdpS2gQc7qw==", - "dev": true, + "devOptional": true, "license": "MIT", "dependencies": { "@types/hast": "^3.0.0" @@ -5269,7 +5332,7 @@ "version": "9.0.3", "resolved": "https://registry.npmjs.org/hastscript/-/hastscript-9.0.3.tgz", "integrity": "sha512-1ALZXSmCGmW3h8AMz4R4+QKSKFi7sNgXLVwmwB8FYVtl1CwQ3WDkSAEY/d5tp1g/vbQgq2s1WlHgfO3jbw1TsA==", - "dev": true, + "devOptional": true, "license": "MIT", "dependencies": { "@types/hast": "^3.0.0", @@ -5336,7 +5399,7 @@ "version": "3.0.1", "resolved": "https://registry.npmjs.org/html-url-attributes/-/html-url-attributes-3.0.1.tgz", "integrity": "sha512-ol6UPyBWqsrO6EJySPz2O7ZSr856WDrEzM5zMqp+FJJLGMW35cLYmmZnl0vztAZxRUoNZJFTCohfjuIJ8I4QBQ==", - "dev": true, + "devOptional": true, "license": "MIT", "funding": { "type": "opencollective", @@ -5347,7 +5410,7 @@ "version": "3.0.0", "resolved": "https://registry.npmjs.org/html-void-elements/-/html-void-elements-3.0.0.tgz", "integrity": "sha512-bEqo66MRXsUGxWHV5IP0PUiAWwoEjba4VCzg0LjFJBpchPaTfyfCKTG6bc5F8ucKec3q5y6qOdGyYTSBEvhCrg==", - "dev": true, + "devOptional": true, "license": "MIT", "funding": { "type": "github", @@ -5420,7 +5483,7 @@ "version": "0.2.9", "resolved": "https://registry.npmjs.org/inline-style-parser/-/inline-style-parser-0.2.9.tgz", "integrity": "sha512-IttN8BqKLxzUrnTqHI+/hwAJQItBAUjdoHERCDv+oOuX48VP6bzW8+QjOXSfoevzq3YrYAwX1uLHp8TqO9yIeg==", - "dev": true, + "devOptional": true, "license": "MIT" }, "node_modules/internal-slot": { @@ -5451,7 +5514,7 @@ "version": "2.0.1", "resolved": "https://registry.npmjs.org/is-alphabetical/-/is-alphabetical-2.0.1.tgz", "integrity": "sha512-FWyyY60MeTNyeSRpkM2Iry0G9hpr7/9kD40mD/cGQEuilcZYS4okz8SN2Q6rLCJ8gbCt6fN+rC+6tMGS99LaxQ==", - "dev": true, + "devOptional": true, "license": "MIT", "funding": { "type": "github", @@ -5462,7 +5525,7 @@ "version": "2.0.1", "resolved": "https://registry.npmjs.org/is-alphanumerical/-/is-alphanumerical-2.0.1.tgz", "integrity": "sha512-hmbYhX/9MUMF5uh7tOXyK/n0ZvWpad5caBA17GsC6vyuCqaWliRG5K1qS9inmUhEMaOBIW7/whAnSwveW/LtZw==", - "dev": true, + "devOptional": true, "license": "MIT", "dependencies": { "is-alphabetical": "^2.0.0", @@ -5596,7 +5659,7 @@ "version": "2.0.1", "resolved": "https://registry.npmjs.org/is-decimal/-/is-decimal-2.0.1.tgz", "integrity": "sha512-AAB9hiomQs5DXWcRB1rqsxGUstbRroFOPPVAomNk/3XHR5JyEZChOyTWe2oayKnsSsr/kcGqF+z6yuH6HHpN0A==", - "dev": true, + "devOptional": true, "license": "MIT", "funding": { "type": "github", @@ -5698,7 +5761,7 @@ "version": "2.0.1", "resolved": "https://registry.npmjs.org/is-hexadecimal/-/is-hexadecimal-2.0.1.tgz", "integrity": "sha512-DgZQp241c8oO6cA1SbTEWiXeoxV42vlcJxgH+B3hi1AiqqKruZR3ZGF8In3fj4+/y/7rHvlOZLZtgJ/4ttYGZg==", - "dev": true, + "devOptional": true, "license": "MIT", "funding": { "type": "github", @@ -5784,7 +5847,7 @@ "version": "4.1.0", "resolved": "https://registry.npmjs.org/is-plain-obj/-/is-plain-obj-4.1.0.tgz", "integrity": "sha512-+Pgi+vMuUNkJyExiMBt5IlFoMyKnr5zhJ4Uspz58WOhBF5QoIZkFyNHIbBAtHwzVAgk5RtndVNsDRN61/mmDqg==", - "dev": true, + "devOptional": true, "license": "MIT", "engines": { "node": ">=12" @@ -6451,7 +6514,7 @@ "version": "3.1.0", "resolved": "https://registry.npmjs.org/longest-streak/-/longest-streak-3.1.0.tgz", "integrity": "sha512-9Ri+o0JYgehTaVBBDoMqIl8GXtbWg711O3srftcHhZ0dqnETqLaoIK0x17fUw9rFSlK/0NlsKe0Ahhyl5pXE2g==", - "dev": true, + "devOptional": true, "license": "MIT", "funding": { "type": "github", @@ -6494,7 +6557,7 @@ "version": "3.1.0", "resolved": "https://registry.npmjs.org/markdown-table/-/markdown-table-3.1.0.tgz", "integrity": "sha512-xpeSCdM+B+6P3ncfgaB7FoDbtJ30xAe6Z18TGT7AgXJsHqCElCICZovQqdRMm7kHgpTyYv36EupqewoFFSB8vw==", - "dev": true, + "devOptional": true, "license": "MIT", "funding": { "type": "github", @@ -6514,7 +6577,7 @@ "version": "3.0.4", "resolved": "https://registry.npmjs.org/mdast-util-find-and-replace/-/mdast-util-find-and-replace-3.0.4.tgz", "integrity": "sha512-z4B5c6jrnJ1ltOQemhWYPBSAo6y42Z8Gt2yEgfgNTMcLSU59B8bfj8Z8AnAlJrBGLnqkdAUZ7jdDEqQw3KuipQ==", - "dev": true, + "devOptional": true, "license": "MIT", "dependencies": { "@types/mdast": "^4.0.0", @@ -6531,7 +6594,7 @@ "version": "5.0.0", "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-5.0.0.tgz", "integrity": "sha512-/veY75JbMK4j1yjvuUxuVsiS/hr/4iHs9FTT6cgTexxdE0Ly/glccBAkloH/DofkjRbZU3bnoj38mOmhkZ0lHw==", - "dev": true, + "devOptional": true, "license": "MIT", "engines": { "node": ">=12" @@ -6544,7 +6607,7 @@ "version": "2.1.0", "resolved": "https://registry.npmjs.org/mdast-util-from-markdown/-/mdast-util-from-markdown-2.1.0.tgz", "integrity": "sha512-KRLgmPaP2H1ul2bpoJkOS+9pAcDAAj9Nu1mqLnh8NLeJG5tlvj42TH80PIGBpROWlRXLk0lDrWNuZCFy/tsB4A==", - "dev": true, + "devOptional": true, "license": "MIT", "dependencies": { "@types/mdast": "^4.0.0", @@ -6569,7 +6632,7 @@ "version": "3.1.0", "resolved": "https://registry.npmjs.org/mdast-util-gfm/-/mdast-util-gfm-3.1.0.tgz", "integrity": "sha512-0ulfdQOM3ysHhCJ1p06l0b0VKlhU0wuQs3thxZQagjcjPrlFRqY215uZGHHJan9GEAXd9MbfPjFJz+qMkVR6zQ==", - "dev": true, + "devOptional": true, "license": "MIT", "dependencies": { "mdast-util-from-markdown": "^2.0.0", @@ -6589,7 +6652,7 @@ "version": "2.0.1", "resolved": "https://registry.npmjs.org/mdast-util-gfm-autolink-literal/-/mdast-util-gfm-autolink-literal-2.0.1.tgz", "integrity": "sha512-5HVP2MKaP6L+G6YaxPNjuL0BPrq9orG3TsrZ9YXbA3vDw/ACI4MEsnoDpn6ZNm7GnZgtAcONJyPhOP8tNJQavQ==", - "dev": true, + "devOptional": true, "license": "MIT", "dependencies": { "@types/mdast": "^4.0.0", @@ -6607,7 +6670,7 @@ "version": "2.1.0", "resolved": "https://registry.npmjs.org/mdast-util-gfm-footnote/-/mdast-util-gfm-footnote-2.1.0.tgz", "integrity": "sha512-sqpDWlsHn7Ac9GNZQMeUzPQSMzR6Wv0WKRNvQRg0KqHh02fpTz69Qc1QSseNX29bhz1ROIyNyxExfawVKTm1GQ==", - "dev": true, + "devOptional": true, "license": "MIT", "dependencies": { "@types/mdast": "^4.0.0", @@ -6625,7 +6688,7 @@ "version": "2.0.1", "resolved": "https://registry.npmjs.org/mdast-util-gfm-strikethrough/-/mdast-util-gfm-strikethrough-2.0.1.tgz", "integrity": "sha512-OuJHqvr455pwu2OaOrir7dbzqs4jlWKOtlu9L6GjcIjjQwNyw02VntQsr/Ek6/A13vgnXfUhBekWRUP1OkNivw==", - "dev": true, + "devOptional": true, "license": "MIT", "dependencies": { "@types/mdast": "^4.0.0", @@ -6641,7 +6704,7 @@ "version": "2.0.1", "resolved": "https://registry.npmjs.org/mdast-util-gfm-table/-/mdast-util-gfm-table-2.0.1.tgz", "integrity": "sha512-fiIjPrAy4kz68/eFbPHhsiWDGHhqUSVoU1XsfLM5DsEPXw7MxgiVVyulUggFRckVWeT1KXQXkg5vm3kv4oMSOA==", - "dev": true, + "devOptional": true, "license": "MIT", "dependencies": { "@types/mdast": "^4.0.0", @@ -6661,7 +6724,7 @@ "version": "2.0.0", "resolved": "https://registry.npmjs.org/mdast-util-gfm-task-list-item/-/mdast-util-gfm-task-list-item-2.0.0.tgz", "integrity": "sha512-IrtvNvjxC1o06taBAVJznEnkiHxLFTzgonUdy8hzFVeDun0uTjxxrRGVaNFqkU1wJR3RBPEfsxmU6jDWPofrTQ==", - "dev": true, + "devOptional": true, "license": "MIT", "dependencies": { "@types/mdast": "^4.0.0", @@ -6678,7 +6741,7 @@ "version": "2.0.1", "resolved": "https://registry.npmjs.org/mdast-util-mdx-expression/-/mdast-util-mdx-expression-2.0.1.tgz", "integrity": "sha512-J6f+9hUp+ldTZqKRSg7Vw5V6MqjATc+3E4gf3CFNcuZNWD8XdyI6zQ8GqH7f8169MM6P7hMBRDVGnn7oHB9kXQ==", - "dev": true, + "devOptional": true, "license": "MIT", "dependencies": { "@types/estree-jsx": "^1.0.0", @@ -6697,7 +6760,7 @@ "version": "3.2.1", "resolved": "https://registry.npmjs.org/mdast-util-mdx-jsx/-/mdast-util-mdx-jsx-3.2.1.tgz", "integrity": "sha512-oXp1GIa+E9IwIs3a106+tr3Bz2MlTTBvlXjOZMoIat11kk7vjqgmBnksB9WHmWv+gZh7k3IUgpAHlwHB7DH4GQ==", - "dev": true, + "devOptional": true, "license": "MIT", "dependencies": { "@types/estree-jsx": "^1.0.0", @@ -6722,7 +6785,7 @@ "version": "2.0.1", "resolved": "https://registry.npmjs.org/mdast-util-mdxjs-esm/-/mdast-util-mdxjs-esm-2.0.1.tgz", "integrity": "sha512-EcmOpxsZ96CvlP03NghtH1EsLtr0n9Tm4lPUJUBccV9RwUOneqSycg19n5HGzCf+10LozMRSObtVr3ee1WoHtg==", - "dev": true, + "devOptional": true, "license": "MIT", "dependencies": { "@types/estree-jsx": "^1.0.0", @@ -6741,7 +6804,7 @@ "version": "4.1.0", "resolved": "https://registry.npmjs.org/mdast-util-phrasing/-/mdast-util-phrasing-4.1.0.tgz", "integrity": "sha512-TqICwyvJJpBwvGAMZjj4J2n0X8QWp21b9l0o7eXyVJ25YNWYbJDVIyD1bZXE6WtV6RmKJVYmQAKWa0zWOABz2w==", - "dev": true, + "devOptional": true, "license": "MIT", "dependencies": { "@types/mdast": "^4.0.0", @@ -6756,7 +6819,7 @@ "version": "13.2.1", "resolved": "https://registry.npmjs.org/mdast-util-to-hast/-/mdast-util-to-hast-13.2.1.tgz", "integrity": "sha512-cctsq2wp5vTsLIcaymblUriiTcZd0CwWtCbLvrOzYCDZoWyMNV8sZ7krj09FSnsiJi3WVsHLM4k6Dq/yaPyCXA==", - "dev": true, + "devOptional": true, "license": "MIT", "dependencies": { "@types/hast": "^3.0.0", @@ -6778,7 +6841,7 @@ "version": "2.2.2", "resolved": "https://registry.npmjs.org/mdast-util-to-markdown/-/mdast-util-to-markdown-2.2.2.tgz", "integrity": "sha512-ELNT5jYDUdx0B/hlUSSAiAEtvqkY3Oriwkp1KEYseF1Ccu4MnKkmE5yK3oE3WGT/Pq8VTE+XwP0GLL5pafY8yA==", - "dev": true, + "devOptional": true, "license": "MIT", "dependencies": { "@types/mdast": "^4.0.0", @@ -6802,7 +6865,7 @@ "version": "4.0.0", "resolved": "https://registry.npmjs.org/mdast-util-to-string/-/mdast-util-to-string-4.0.0.tgz", "integrity": "sha512-0H44vDimn51F0YwvxSJSm0eCDOJTRlmN0R1yBh4HLj9wiV1Dn0QoXGbvFAWj2hSItVTlCmBF1hqKlIyUBVFLPg==", - "dev": true, + "devOptional": true, "license": "MIT", "dependencies": { "@types/mdast": "^4.0.0" @@ -6841,7 +6904,7 @@ "version": "4.0.3", "resolved": "https://registry.npmjs.org/micromark/-/micromark-4.0.3.tgz", "integrity": "sha512-oGYfQzHSG5dOMovQcJ3fyTmZlWAWpi0XA0sJwJs+i6OT88o1+Jtw/8z0CmdowSLxGhhFK89rQ/oXph/wN02PNw==", - "dev": true, + "devOptional": true, "funding": [ { "type": "GitHub Sponsors", @@ -6878,7 +6941,7 @@ "version": "2.0.4", "resolved": "https://registry.npmjs.org/micromark-core-commonmark/-/micromark-core-commonmark-2.0.4.tgz", "integrity": "sha512-wxEeE8v8XVvOrxn1TZj74qYhAtTQsSqufHVS3uNVyT1MupXxhyaHk8/9xDNPh9BmL77QNDgWTkZ3RsYHB2ry7w==", - "dev": true, + "devOptional": true, "funding": [ { "type": "GitHub Sponsors", @@ -6914,7 +6977,7 @@ "version": "3.0.0", "resolved": "https://registry.npmjs.org/micromark-extension-gfm/-/micromark-extension-gfm-3.0.0.tgz", "integrity": "sha512-vsKArQsicm7t0z2GugkCKtZehqUm31oeGBV/KVSorWSy8ZlNAv7ytjFhvaryUiCUJYqs+NoE6AFhpQvBTM6Q4w==", - "dev": true, + "devOptional": true, "license": "MIT", "dependencies": { "micromark-extension-gfm-autolink-literal": "^2.0.0", @@ -6935,7 +6998,7 @@ "version": "2.1.0", "resolved": "https://registry.npmjs.org/micromark-extension-gfm-autolink-literal/-/micromark-extension-gfm-autolink-literal-2.1.0.tgz", "integrity": "sha512-oOg7knzhicgQ3t4QCjCWgTmfNhvQbDDnJeVu9v81r7NltNCVmhPy1fJRX27pISafdjL+SVc4d3l48Gb6pbRypw==", - "dev": true, + "devOptional": true, "license": "MIT", "dependencies": { "micromark-util-character": "^2.0.0", @@ -6952,7 +7015,7 @@ "version": "2.1.0", "resolved": "https://registry.npmjs.org/micromark-extension-gfm-footnote/-/micromark-extension-gfm-footnote-2.1.0.tgz", "integrity": "sha512-/yPhxI1ntnDNsiHtzLKYnE3vf9JZ6cAisqVDauhp4CEHxlb4uoOTxOCJ+9s51bIB8U1N1FJ1RXOKTIlD5B/gqw==", - "dev": true, + "devOptional": true, "license": "MIT", "dependencies": { "devlop": "^1.0.0", @@ -6973,7 +7036,7 @@ "version": "2.1.0", "resolved": "https://registry.npmjs.org/micromark-extension-gfm-strikethrough/-/micromark-extension-gfm-strikethrough-2.1.0.tgz", "integrity": "sha512-ADVjpOOkjz1hhkZLlBiYA9cR2Anf8F4HqZUO6e5eDcPQd0Txw5fxLzzxnEkSkfnD0wziSGiv7sYhk/ktvbf1uw==", - "dev": true, + "devOptional": true, "license": "MIT", "dependencies": { "devlop": "^1.0.0", @@ -6992,7 +7055,7 @@ "version": "2.1.2", "resolved": "https://registry.npmjs.org/micromark-extension-gfm-table/-/micromark-extension-gfm-table-2.1.2.tgz", "integrity": "sha512-pRzm4kDTu0MjlmBkxmS9yYhw60nncfcEwu9NNdPFSQEFXS95ZKyIIyTSHu/o3ReBUrLKYEq+7YaXCRn/bPB4MA==", - "dev": true, + "devOptional": true, "license": "MIT", "dependencies": { "devlop": "^1.0.0", @@ -7010,7 +7073,7 @@ "version": "2.0.0", "resolved": "https://registry.npmjs.org/micromark-extension-gfm-tagfilter/-/micromark-extension-gfm-tagfilter-2.0.0.tgz", "integrity": "sha512-xHlTOmuCSotIA8TW1mDIM6X2O1SiX5P9IuDtqGonFhEK0qgRI4yeC6vMxEV2dgyr2TiD+2PQ10o+cOhdVAcwfg==", - "dev": true, + "devOptional": true, "license": "MIT", "dependencies": { "micromark-util-types": "^2.0.0" @@ -7024,7 +7087,7 @@ "version": "2.1.0", "resolved": "https://registry.npmjs.org/micromark-extension-gfm-task-list-item/-/micromark-extension-gfm-task-list-item-2.1.0.tgz", "integrity": "sha512-qIBZhqxqI6fjLDYFTBIa4eivDMnP+OZqsNwmQ3xNLE4Cxwc+zfQEfbs6tzAo2Hjq+bh6q5F+Z8/cksrLFYWQQw==", - "dev": true, + "devOptional": true, "license": "MIT", "dependencies": { "devlop": "^1.0.0", @@ -7042,7 +7105,7 @@ "version": "2.0.1", "resolved": "https://registry.npmjs.org/micromark-factory-destination/-/micromark-factory-destination-2.0.1.tgz", "integrity": "sha512-Xe6rDdJlkmbFRExpTOmRj9N3MaWmbAgdpSrBQvCFqhezUn4AHqJHbaEnfbVYYiexVSs//tqOdY/DxhjdCiJnIA==", - "dev": true, + "devOptional": true, "funding": [ { "type": "GitHub Sponsors", @@ -7064,7 +7127,7 @@ "version": "2.0.1", "resolved": "https://registry.npmjs.org/micromark-factory-label/-/micromark-factory-label-2.0.1.tgz", "integrity": "sha512-VFMekyQExqIW7xIChcXn4ok29YE3rnuyveW3wZQWWqF4Nv9Wk5rgJ99KzPvHjkmPXF93FXIbBp6YdW3t71/7Vg==", - "dev": true, + "devOptional": true, "funding": [ { "type": "GitHub Sponsors", @@ -7087,7 +7150,7 @@ "version": "2.1.0", "resolved": "https://registry.npmjs.org/micromark-factory-space/-/micromark-factory-space-2.1.0.tgz", "integrity": "sha512-fS8hnLIjnjvdQIj39Geug8wWsR0HrYZ43KShKxNfwT7t2LOHo/LbWZEzEaSOjwtjdCsjoE6syHhonEzW0zv0+Q==", - "dev": true, + "devOptional": true, "funding": [ { "type": "GitHub Sponsors", @@ -7108,7 +7171,7 @@ "version": "2.0.1", "resolved": "https://registry.npmjs.org/micromark-factory-title/-/micromark-factory-title-2.0.1.tgz", "integrity": "sha512-5bZ+3CjhAd9eChYTHsjy6TGxpOFSKgKKJPJxr293jTbfry2KDoWkhBb6TcPVB4NmzaPhMs1Frm9AZH7OD4Cjzw==", - "dev": true, + "devOptional": true, "funding": [ { "type": "GitHub Sponsors", @@ -7131,7 +7194,7 @@ "version": "2.0.1", "resolved": "https://registry.npmjs.org/micromark-factory-whitespace/-/micromark-factory-whitespace-2.0.1.tgz", "integrity": "sha512-Ob0nuZ3PKt/n0hORHyvoD9uZhr+Za8sFoP+OnMcnWK5lngSzALgQYKMr9RJVOWLqQYuyn6ulqGWSXdwf6F80lQ==", - "dev": true, + "devOptional": true, "funding": [ { "type": "GitHub Sponsors", @@ -7154,7 +7217,7 @@ "version": "2.1.1", "resolved": "https://registry.npmjs.org/micromark-util-character/-/micromark-util-character-2.1.1.tgz", "integrity": "sha512-wv8tdUTJ3thSFFFJKtpYKOYiGP2+v96Hvk4Tu8KpCAsTMs6yi+nVmGh1syvSCsaxz45J6Jbw+9DD6g97+NV67Q==", - "dev": true, + "devOptional": true, "funding": [ { "type": "GitHub Sponsors", @@ -7175,7 +7238,7 @@ "version": "2.0.1", "resolved": "https://registry.npmjs.org/micromark-util-chunked/-/micromark-util-chunked-2.0.1.tgz", "integrity": "sha512-QUNFEOPELfmvv+4xiNg2sRYeS/P84pTW0TCgP5zc9FpXetHY0ab7SxKyAQCNCc1eK0459uoLI1y5oO5Vc1dbhA==", - "dev": true, + "devOptional": true, "funding": [ { "type": "GitHub Sponsors", @@ -7195,7 +7258,7 @@ "version": "2.0.1", "resolved": "https://registry.npmjs.org/micromark-util-classify-character/-/micromark-util-classify-character-2.0.1.tgz", "integrity": "sha512-K0kHzM6afW/MbeWYWLjoHQv1sgg2Q9EccHEDzSkxiP/EaagNzCm7T/WMKZ3rjMbvIpvBiZgwR3dKMygtA4mG1Q==", - "dev": true, + "devOptional": true, "funding": [ { "type": "GitHub Sponsors", @@ -7217,7 +7280,7 @@ "version": "2.0.1", "resolved": "https://registry.npmjs.org/micromark-util-combine-extensions/-/micromark-util-combine-extensions-2.0.1.tgz", "integrity": "sha512-OnAnH8Ujmy59JcyZw8JSbK9cGpdVY44NKgSM7E9Eh7DiLS2E9RNQf0dONaGDzEG9yjEl5hcqeIsj4hfRkLH/Bg==", - "dev": true, + "devOptional": true, "funding": [ { "type": "GitHub Sponsors", @@ -7238,7 +7301,7 @@ "version": "2.0.2", "resolved": "https://registry.npmjs.org/micromark-util-decode-numeric-character-reference/-/micromark-util-decode-numeric-character-reference-2.0.2.tgz", "integrity": "sha512-ccUbYk6CwVdkmCQMyr64dXz42EfHGkPQlBj5p7YVGzq8I7CtjXZJrubAYezf7Rp+bjPseiROqe7G6foFd+lEuw==", - "dev": true, + "devOptional": true, "funding": [ { "type": "GitHub Sponsors", @@ -7258,7 +7321,7 @@ "version": "2.0.1", "resolved": "https://registry.npmjs.org/micromark-util-decode-string/-/micromark-util-decode-string-2.0.1.tgz", "integrity": "sha512-nDV/77Fj6eH1ynwscYTOsbK7rR//Uj0bZXBwJZRfaLEJ1iGBR6kIfNmlNqaqJf649EP0F3NWNdeJi03elllNUQ==", - "dev": true, + "devOptional": true, "funding": [ { "type": "GitHub Sponsors", @@ -7281,7 +7344,7 @@ "version": "1.0.0", "resolved": "https://registry.npmjs.org/micromark-util-edit-map/-/micromark-util-edit-map-1.0.0.tgz", "integrity": "sha512-Pa2ljlsEL6sVwFaYeyrOLSYbQt73JvGbPOYFq+9AElXiSnfI5Q4465RRZ1sHv7lDjDOnGRDDaqPXqClqWK/q1Q==", - "dev": true, + "devOptional": true, "funding": [ { "type": "GitHub Sponsors", @@ -7301,7 +7364,7 @@ "version": "2.0.1", "resolved": "https://registry.npmjs.org/micromark-util-encode/-/micromark-util-encode-2.0.1.tgz", "integrity": "sha512-c3cVx2y4KqUnwopcO9b/SCdo2O67LwJJ/UyqGfbigahfegL9myoEFoDYZgkT7f36T0bLrM9hZTAaAyH+PCAXjw==", - "dev": true, + "devOptional": true, "funding": [ { "type": "GitHub Sponsors", @@ -7318,7 +7381,7 @@ "version": "2.0.1", "resolved": "https://registry.npmjs.org/micromark-util-html-tag-name/-/micromark-util-html-tag-name-2.0.1.tgz", "integrity": "sha512-2cNEiYDhCWKI+Gs9T0Tiysk136SnR13hhO8yW6BGNyhOC4qYFnwF1nKfD3HFAIXA5c45RrIG1ub11GiXeYd1xA==", - "dev": true, + "devOptional": true, "funding": [ { "type": "GitHub Sponsors", @@ -7335,7 +7398,7 @@ "version": "2.0.1", "resolved": "https://registry.npmjs.org/micromark-util-normalize-identifier/-/micromark-util-normalize-identifier-2.0.1.tgz", "integrity": "sha512-sxPqmo70LyARJs0w2UclACPUUEqltCkJ6PhKdMIDuJ3gSf/Q+/GIe3WKl0Ijb/GyH9lOpUkRAO2wp0GVkLvS9Q==", - "dev": true, + "devOptional": true, "funding": [ { "type": "GitHub Sponsors", @@ -7355,7 +7418,7 @@ "version": "2.0.1", "resolved": "https://registry.npmjs.org/micromark-util-resolve-all/-/micromark-util-resolve-all-2.0.1.tgz", "integrity": "sha512-VdQyxFWFT2/FGJgwQnJYbe1jjQoNTS4RjglmSjTUlpUMa95Htx9NHeYW4rGDJzbjvCsl9eLjMQwGeElsqmzcHg==", - "dev": true, + "devOptional": true, "funding": [ { "type": "GitHub Sponsors", @@ -7375,7 +7438,7 @@ "version": "2.0.1", "resolved": "https://registry.npmjs.org/micromark-util-sanitize-uri/-/micromark-util-sanitize-uri-2.0.1.tgz", "integrity": "sha512-9N9IomZ/YuGGZZmQec1MbgxtlgougxTodVwDzzEouPKo3qFWvymFHWcnDi2vzV1ff6kas9ucW+o3yzJK9YB1AQ==", - "dev": true, + "devOptional": true, "funding": [ { "type": "GitHub Sponsors", @@ -7397,7 +7460,7 @@ "version": "2.1.0", "resolved": "https://registry.npmjs.org/micromark-util-subtokenize/-/micromark-util-subtokenize-2.1.0.tgz", "integrity": "sha512-XQLu552iSctvnEcgXw6+Sx75GflAPNED1qx7eBJ+wydBb2KCbRZe+NwvIEEMM83uml1+2WSXpBAcp9IUCgCYWA==", - "dev": true, + "devOptional": true, "funding": [ { "type": "GitHub Sponsors", @@ -7420,7 +7483,7 @@ "version": "2.0.1", "resolved": "https://registry.npmjs.org/micromark-util-symbol/-/micromark-util-symbol-2.0.1.tgz", "integrity": "sha512-vs5t8Apaud9N28kgCrRUdEed4UJ+wWNvicHLPxCa9ENlYuAY31M0ETy5y1vA33YoNPDFTghEbnh6efaE8h4x0Q==", - "dev": true, + "devOptional": true, "funding": [ { "type": "GitHub Sponsors", @@ -7437,7 +7500,7 @@ "version": "2.0.3", "resolved": "https://registry.npmjs.org/micromark-util-types/-/micromark-util-types-2.0.3.tgz", "integrity": "sha512-oxB2Ik03hI0gv+VNn9tnh1t1YEe9MDPptViAEgfdf3YQHsn0pzGTgCdlSCJXcwhqm8phaEuM7zeEu3QQzVBrPg==", - "dev": true, + "devOptional": true, "funding": [ { "type": "GitHub Sponsors", @@ -7772,7 +7835,7 @@ "version": "4.0.2", "resolved": "https://registry.npmjs.org/parse-entities/-/parse-entities-4.0.2.tgz", "integrity": "sha512-GG2AQYWoLgL877gQIKeRPGO1xF9+eG1ujIb5soS5gPvLQ1y2o8FL90w2QWNdf9I361Mpp7726c+lj3U0qK1uGw==", - "dev": true, + "devOptional": true, "license": "MIT", "dependencies": { "@types/unist": "^2.0.0", @@ -7792,14 +7855,14 @@ "version": "2.0.11", "resolved": "https://registry.npmjs.org/@types/unist/-/unist-2.0.11.tgz", "integrity": "sha512-CmBKiL6NNo/OqgmMn95Fk9Whlp2mtvIv+KNpQKN2F4SjvrEesubTRWGYSg+BnWZOnlCaSTU1sMpsBOzgbYhnsA==", - "dev": true, + "devOptional": true, "license": "MIT" }, "node_modules/parse5": { "version": "7.3.0", "resolved": "https://registry.npmjs.org/parse5/-/parse5-7.3.0.tgz", "integrity": "sha512-IInvU7fabl34qmi9gY8XOVxhYyMyuH2xUNpb2q8/Y+7552KlejkRvqvD19nMoUW/uQGGbqNpA6Tufu5FL5BZgw==", - "dev": true, + "devOptional": true, "license": "MIT", "dependencies": { "entities": "^6.0.0" @@ -8158,7 +8221,7 @@ "version": "7.2.0", "resolved": "https://registry.npmjs.org/property-information/-/property-information-7.2.0.tgz", "integrity": "sha512-IAtzIB6sUiWaJYrX9smp3V46pBGbBeLFRGdh25kg1334VcBlD8HzhPeNIWQH9zhGmo2itIe25EHt9dQP7G5hmg==", - "dev": true, + "devOptional": true, "license": "MIT", "funding": { "type": "github", @@ -8283,7 +8346,7 @@ "version": "10.1.0", "resolved": "https://registry.npmjs.org/react-markdown/-/react-markdown-10.1.0.tgz", "integrity": "sha512-qKxVopLT/TyA6BX3Ue5NwabOsAzm0Q7kAPwq6L+wWDwisYs7R8vZ0nRXqq6rkueboxpkjvLGU9fWifiX/ZZFxQ==", - "dev": true, + "devOptional": true, "license": "MIT", "dependencies": { "@types/hast": "^3.0.0", @@ -8311,7 +8374,7 @@ "version": "2.7.2", "resolved": "https://registry.npmjs.org/react-remove-scroll/-/react-remove-scroll-2.7.2.tgz", "integrity": "sha512-Iqb9NjCCTt6Hf+vOdNIZGdTiH1QSqr27H/Ek9sv/a97gfueI/5h1s3yRi1nngzMUaOOToin5dI1dXKdXiF+u0Q==", - "dev": true, + "devOptional": true, "license": "MIT", "dependencies": { "react-remove-scroll-bar": "^2.3.7", @@ -8337,7 +8400,7 @@ "version": "2.3.8", "resolved": "https://registry.npmjs.org/react-remove-scroll-bar/-/react-remove-scroll-bar-2.3.8.tgz", "integrity": "sha512-9r+yi9+mgU33AKcj6IbT9oRCO78WriSj6t/cF8DWBZJ9aOGPOTEDvdUDz1FwKim7QXWwmHqtdHnRJfhAxEG46Q==", - "dev": true, + "devOptional": true, "license": "MIT", "dependencies": { "react-style-singleton": "^2.2.2", @@ -8360,7 +8423,7 @@ "version": "2.2.3", "resolved": "https://registry.npmjs.org/react-style-singleton/-/react-style-singleton-2.2.3.tgz", "integrity": "sha512-b6jSvxvVnyptAiLjbkWLE/lOnR4lfTtDAl+eUC7RZy+QQWc6wRzIV2CE6xBuMmDxc2qIihtDCZD5NPOFl7fRBQ==", - "dev": true, + "devOptional": true, "license": "MIT", "dependencies": { "get-nonce": "^1.0.0", @@ -8427,7 +8490,7 @@ "version": "7.0.0", "resolved": "https://registry.npmjs.org/rehype-raw/-/rehype-raw-7.0.0.tgz", "integrity": "sha512-/aE8hCfKlQeA8LmyeyQvQF3eBiLRGNlfBJEvWH7ivp9sBqs7TNqBL5X3v157rM4IFETqDnIOO+z5M/biZbo9Ww==", - "dev": true, + "devOptional": true, "license": "MIT", "dependencies": { "@types/hast": "^3.0.0", @@ -8443,7 +8506,7 @@ "version": "4.0.1", "resolved": "https://registry.npmjs.org/remark-gfm/-/remark-gfm-4.0.1.tgz", "integrity": "sha512-1quofZ2RQ9EWdeN34S79+KExV1764+wCUGop5CPL1WGdD0ocPpu91lzPGbwWMECpEpd42kJGQwzRfyov9j4yNg==", - "dev": true, + "devOptional": true, "license": "MIT", "dependencies": { "@types/mdast": "^4.0.0", @@ -8462,7 +8525,7 @@ "version": "11.0.0", "resolved": "https://registry.npmjs.org/remark-parse/-/remark-parse-11.0.0.tgz", "integrity": "sha512-FCxlKLNGknS5ba/1lmpYijMUzX2esxW5xQqjWxw2eHFfS2MSdaHVINFmhjo+qN1WhZhNimq0dZATN9pH0IDrpA==", - "dev": true, + "devOptional": true, "license": "MIT", "dependencies": { "@types/mdast": "^4.0.0", @@ -8479,7 +8542,7 @@ "version": "11.1.2", "resolved": "https://registry.npmjs.org/remark-rehype/-/remark-rehype-11.1.2.tgz", "integrity": "sha512-Dh7l57ianaEoIpzbp0PC9UKAdCSVklD8E5Rpw7ETfbTl3FqcOOgq5q2LVDhgGCkaBv7p24JXikPdvhhmHvKMsw==", - "dev": true, + "devOptional": true, "license": "MIT", "dependencies": { "@types/hast": "^3.0.0", @@ -8497,7 +8560,7 @@ "version": "11.0.0", "resolved": "https://registry.npmjs.org/remark-stringify/-/remark-stringify-11.0.0.tgz", "integrity": "sha512-1OSmLd3awB/t8qdoEOMazZkNsfVTeY4fTsgzcQFdXNq8ToTN4ZGwrMnlda4K6smTFKD+GRV6O48i6Z4iKgPPpw==", - "dev": true, + "devOptional": true, "license": "MIT", "dependencies": { "@types/mdast": "^4.0.0", @@ -8875,7 +8938,7 @@ "version": "2.0.2", "resolved": "https://registry.npmjs.org/space-separated-tokens/-/space-separated-tokens-2.0.2.tgz", "integrity": "sha512-PEGlAwrG8yXGXRjW32fGbg66JAlOAwbObuqVoJpv/mRgoWDQfgH1wDPvtzWyUSNAXBGSk8h755YDbbcEy3SH2Q==", - "dev": true, + "devOptional": true, "license": "MIT", "funding": { "type": "github", @@ -9000,7 +9063,7 @@ "version": "4.0.4", "resolved": "https://registry.npmjs.org/stringify-entities/-/stringify-entities-4.0.4.tgz", "integrity": "sha512-IwfBptatlO+QCJUo19AqvrPNqlVMpW9YEL2LIVY+Rpv2qsjCGxaDLNRgeGsQWJhfItebuJhsGSLjaBbNSQ+ieg==", - "dev": true, + "devOptional": true, "license": "MIT", "dependencies": { "character-entities-html4": "^2.0.0", @@ -9015,7 +9078,7 @@ "version": "2.0.2", "resolved": "https://registry.npmjs.org/style-to-object/-/style-to-object-2.0.2.tgz", "integrity": "sha512-QmbXPUylqU80HAgTOJeEOdbA40W9KtxmjMhQy+tq+b8F2aoh3aQLuy82hh2jm2qsC9hR9eI0+eQidTMydKcqRA==", - "dev": true, + "devOptional": true, "license": "MIT", "dependencies": { "inline-style-parser": "0.2.9" @@ -9042,7 +9105,7 @@ "version": "3.7.0", "resolved": "https://registry.npmjs.org/tailwind-merge/-/tailwind-merge-3.7.0.tgz", "integrity": "sha512-XPPUyAc+cvspz3lHTcR/QgPfW2A0lv/xQNIjX3HGhLR+Nq2lHaLq5MtTesHn8GUr3W3DguT2KT5x3NVgRtYwmA==", - "dev": true, + "devOptional": true, "license": "MIT", "funding": { "type": "github", @@ -9176,7 +9239,7 @@ "version": "3.0.1", "resolved": "https://registry.npmjs.org/trim-lines/-/trim-lines-3.0.1.tgz", "integrity": "sha512-kRj8B+YHZCc9kQYdWfJB2/oUl9rA99qbowYYBtr4ui4mZyAQ2JpvVBd/6U2YloATfqBhBTSMhTpgBHtU0Mf3Rg==", - "dev": true, + "devOptional": true, "license": "MIT", "funding": { "type": "github", @@ -9187,7 +9250,7 @@ "version": "2.2.0", "resolved": "https://registry.npmjs.org/trough/-/trough-2.2.0.tgz", "integrity": "sha512-tmMpK00BjZiUyVyvrBK7knerNgmgvcV/KLVyuma/SC+TQN167GrMRciANTz09+k3zW8L8t60jWO1GpfkZdjTaw==", - "dev": true, + "devOptional": true, "license": "MIT", "funding": { "type": "github", @@ -9211,7 +9274,7 @@ "version": "2.9.1", "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.9.1.tgz", "integrity": "sha512-a4Ux9VKuIMHsOS7ENbEq6hK2ZGYIT27Rtl0E4eD9KqwxhKiQeMZE/9xb3IdYwWaSOyIBQLExhQgXDTYoiCxnWA==", - "dev": true, + "devOptional": true, "license": "0BSD" }, "node_modules/type-check": { @@ -9376,7 +9439,7 @@ "version": "11.0.5", "resolved": "https://registry.npmjs.org/unified/-/unified-11.0.5.tgz", "integrity": "sha512-xKvGhPWw3k84Qjh8bI3ZeJjqnyadK+GEFtazSfZv/rKeTkTjOJho6mFqh2SM96iIcZokxiOpg78GazTSg8+KHA==", - "dev": true, + "devOptional": true, "license": "MIT", "dependencies": { "@types/unist": "^3.0.0", @@ -9396,7 +9459,7 @@ "version": "6.0.1", "resolved": "https://registry.npmjs.org/unist-util-is/-/unist-util-is-6.0.1.tgz", "integrity": "sha512-LsiILbtBETkDz8I9p1dQ0uyRUWuaQzd/cuEeS1hoRSyW5E5XGmTzlwY1OrNzzakGowI9Dr/I8HVaw4hTtnxy8g==", - "dev": true, + "devOptional": true, "license": "MIT", "dependencies": { "@types/unist": "^3.0.0" @@ -9410,7 +9473,7 @@ "version": "5.0.0", "resolved": "https://registry.npmjs.org/unist-util-position/-/unist-util-position-5.0.0.tgz", "integrity": "sha512-fucsC7HjXvkB5R3kTCO7kUjRdrS0BJt3M/FPxmHMBOm8JQi2BsHAHFsy27E0EolP8rp0NzXsJ+jNPyDWvOJZPA==", - "dev": true, + "devOptional": true, "license": "MIT", "dependencies": { "@types/unist": "^3.0.0" @@ -9424,7 +9487,7 @@ "version": "4.0.0", "resolved": "https://registry.npmjs.org/unist-util-stringify-position/-/unist-util-stringify-position-4.0.0.tgz", "integrity": "sha512-0ASV06AAoKCDkS2+xw5RXJywruurpbC4JZSm7nr7MOt1ojAzvyyaO+UxZf18j8FCF6kmzCZKcAgN/yu2gm2XgQ==", - "dev": true, + "devOptional": true, "license": "MIT", "dependencies": { "@types/unist": "^3.0.0" @@ -9438,7 +9501,7 @@ "version": "5.2.0", "resolved": "https://registry.npmjs.org/unist-util-visit/-/unist-util-visit-5.2.0.tgz", "integrity": "sha512-fpsYs/VVoZxfGY9/j3FQpZmN8wdLJaV1Pt38AaJNZu9uKIHcFU3halCdBveEq1HGKO1OEfJY65w1zvoFV1b3qQ==", - "dev": true, + "devOptional": true, "license": "MIT", "dependencies": { "@types/unist": "^3.0.0", @@ -9454,7 +9517,7 @@ "version": "6.1.0", "resolved": "https://registry.npmjs.org/unist-util-visit-parents/-/unist-util-visit-parents-6.1.0.tgz", "integrity": "sha512-vKXxz6O38sKDj1mtx/k2cWvkkFBuYGx6uGrlzBkVeWCRF/F8sdI0j3Wbkz/5rVNRRuVc8UrgRdbCxNhmYXgP3w==", - "dev": true, + "devOptional": true, "license": "MIT", "dependencies": { "@types/unist": "^3.0.0", @@ -9519,7 +9582,7 @@ "version": "1.3.3", "resolved": "https://registry.npmjs.org/use-callback-ref/-/use-callback-ref-1.3.3.tgz", "integrity": "sha512-jQL3lRnocaFtu3V00JToYz/4QkNWswxijDaCVNZRiRTO3HQDLsdu1ZtmIUvV4yPp+rvWm5j0y0TG/S61cuijTg==", - "dev": true, + "devOptional": true, "license": "MIT", "dependencies": { "tslib": "^2.0.0" @@ -9541,7 +9604,7 @@ "version": "1.1.3", "resolved": "https://registry.npmjs.org/use-sidecar/-/use-sidecar-1.1.3.tgz", "integrity": "sha512-Fedw0aZvkhynoPYlA5WXrMCAMm+nSWdZt6lzJQ7Ok8S6Q+VsHmHpRWndVRJ8Be0ZbkfPc5LRYH+5XrzXcEeLRQ==", - "dev": true, + "devOptional": true, "license": "MIT", "dependencies": { "detect-node-es": "^1.1.0", @@ -9573,7 +9636,7 @@ "version": "6.0.3", "resolved": "https://registry.npmjs.org/vfile/-/vfile-6.0.3.tgz", "integrity": "sha512-KzIbH/9tXat2u30jf+smMwFCsno4wHVdNmzFyL+T/L3UGqqk6JKfVqOFOZEpZSHADH1k40ab6NUIXZq422ov3Q==", - "dev": true, + "devOptional": true, "license": "MIT", "dependencies": { "@types/unist": "^3.0.0", @@ -9588,7 +9651,7 @@ "version": "5.0.3", "resolved": "https://registry.npmjs.org/vfile-location/-/vfile-location-5.0.3.tgz", "integrity": "sha512-5yXvWDEgqeiYiBe1lbxYF7UMAIm/IcopxMHrMQDq3nvKcjPKIhZklUKL+AE7J7uApI4kwe2snsK+eI6UTj9EHg==", - "dev": true, + "devOptional": true, "license": "MIT", "dependencies": { "@types/unist": "^3.0.0", @@ -9603,7 +9666,7 @@ "version": "4.0.3", "resolved": "https://registry.npmjs.org/vfile-message/-/vfile-message-4.0.3.tgz", "integrity": "sha512-QTHzsGd1EhbZs4AsQ20JX1rC3cOlt/IWJruk893DfLRr57lcnOeMaWG4K0JrRta4mIJZKth2Au3mM3u03/JWKw==", - "dev": true, + "devOptional": true, "license": "MIT", "dependencies": { "@types/unist": "^3.0.0", @@ -9793,7 +9856,7 @@ "version": "2.0.1", "resolved": "https://registry.npmjs.org/web-namespaces/-/web-namespaces-2.0.1.tgz", "integrity": "sha512-bKr1DkiNa2krS7qxNtdrtHAmzuYGFQLiQ13TsorsdT6ULTkPLKuu5+GsFpDlg6JFjUTwX2DyhMPG2be8uPrqsQ==", - "dev": true, + "devOptional": true, "license": "MIT", "funding": { "type": "github", @@ -10058,7 +10121,7 @@ "version": "2.0.4", "resolved": "https://registry.npmjs.org/zwitch/-/zwitch-2.0.4.tgz", "integrity": "sha512-bXE4cR/kVZhKZX/RjPEflHaKVhUVl85noU3v6b8apfQEc1x4A+zBxjZ4lN8LqGd6WZ3dl98pY4o717VFmoPp+A==", - "dev": true, + "devOptional": true, "license": "MIT", "funding": { "type": "github", diff --git a/template/package.json b/template/package.json index f61db46..acab3ab 100644 --- a/template/package.json +++ b/template/package.json @@ -1,6 +1,6 @@ { "name": "@agentage/extension-template", - "version": "0.1.0", + "version": "0.1.1", "description": "An agentage extension: start from this repo with agentage extension create", "type": "module", "license": "MIT", @@ -74,12 +74,12 @@ "prepublishOnly": "npm run verify" }, "dependencies": { - "@agentage/extension": "^0.18.1", + "@agentage/extension": "^0.18.5", "express": "^5.1.0", "zod": "^4.2.0" }, "devDependencies": { - "@agentage/cli": "0.57.0", + "@agentage/cli": "^0.61.0", "@agentage/design-system": "0.20.1", "@agentage/widget": "^0.3.0", "@axe-core/playwright": "4.14.0", diff --git a/template/template.mcpc.json b/template/template.mcpc.json index 7cd14ad..bc1f898 100644 --- a/template/template.mcpc.json +++ b/template/template.mcpc.json @@ -1,7 +1,7 @@ { "serverInfo": { "name": "agentage-template", - "version": "0.1.0" + "version": "0.1.1" }, "tools": [ { From 6b589bccd58743a8aa94d06e064658e0d76b5222 Mon Sep 17 00:00:00 2001 From: Volodymyr Vreshch Date: Wed, 18 Nov 2026 01:39:26 +0100 Subject: [PATCH 27/38] chore: waive cicd-release-artifact in repo-doctor (#26) * chore: waive cicd-release-artifact in repo-doctor Claude-Session: https://claude.ai/code/session_01XQkodgygL4W8UcLQDwC212 * chore: correct the release waiver reason Claude-Session: https://claude.ai/code/session_01XQkodgygL4W8UcLQDwC212 --- template/.repo-doctor.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/template/.repo-doctor.yml b/template/.repo-doctor.yml index e966a44..adc168a 100644 --- a/template/.repo-doctor.yml +++ b/template/.repo-doctor.yml @@ -9,3 +9,5 @@ waive: reason: 'the extension kit owns the server, logs and /health (sealing); telemetry shipping lands in the kit' - id: be-migrations-ci reason: 'an extension never migrates from its own repo: the kit migrate job applies migrations/ in the local job (up) and in estate apply before each rollout; unit tests apply them to an in-process postgres' + - id: cicd-release-artifact + reason: 'release.yml publishes through `agentage extension release` (images, a release record and the npm publish via OIDC), not a literal npm publish command' From 2bdacfafce9bd4b726836e6b9f54090efcf3a338 Mon Sep 17 00:00:00 2001 From: Volodymyr Vreshch Date: Wed, 18 Nov 2026 01:49:19 +0100 Subject: [PATCH 28/38] chore(deps): cli ^0.64.1 and kit ^0.18.8, the seal fix (#27) Claude-Session: https://claude.ai/code/session_01XQkodgygL4W8UcLQDwC212 --- template/openapi.json | 2 +- template/package-lock.json | 83 ++++++------------------------------- template/package.json | 6 +-- template/template.mcpc.json | 2 +- 4 files changed, 17 insertions(+), 76 deletions(-) diff --git a/template/openapi.json b/template/openapi.json index ec44253..6588964 100644 --- a/template/openapi.json +++ b/template/openapi.json @@ -2,7 +2,7 @@ "openapi": "3.1.0", "info": { "title": "template", - "version": "0.1.1" + "version": "0.1.2" }, "components": { "securitySchemes": { diff --git a/template/package-lock.json b/template/package-lock.json index 8fa1357..00e89e8 100644 --- a/template/package-lock.json +++ b/template/package-lock.json @@ -1,20 +1,20 @@ { "name": "@agentage/extension-template", - "version": "0.1.1", + "version": "0.1.2", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@agentage/extension-template", - "version": "0.1.1", + "version": "0.1.2", "license": "MIT", "dependencies": { - "@agentage/extension": "^0.18.5", + "@agentage/extension": "^0.18.8", "express": "^5.1.0", "zod": "^4.2.0" }, "devDependencies": { - "@agentage/cli": "^0.61.0", + "@agentage/cli": "^0.64.1", "@agentage/design-system": "0.20.1", "@agentage/widget": "^0.3.0", "@axe-core/playwright": "4.14.0", @@ -50,13 +50,13 @@ } }, "node_modules/@agentage/cli": { - "version": "0.61.0", - "resolved": "https://registry.npmjs.org/@agentage/cli/-/cli-0.61.0.tgz", - "integrity": "sha512-lX1F55I15jVwXZxl/clGB9WARqa6qo71xnX4SL0mjYF6EHgGuKsIoqw5Do0aNfFKwvja53CmdcLXdhXr/TVLNg==", + "version": "0.64.1", + "resolved": "https://registry.npmjs.org/@agentage/cli/-/cli-0.64.1.tgz", + "integrity": "sha512-5H5rk93Ce3B2wqciRBuuXsgsFslZhGzj7/BRllrjU3mv3XfN+IyxQOgIAow9doYH++21hF+NR9EcIK99VtPizA==", "dev": true, "license": "MIT", "dependencies": { - "@agentage/extension": "0.18.4", + "@agentage/extension": "0.18.8", "@electric-sql/pglite": "^0.5.16", "@tailwindcss/postcss": "^4.3.5", "chalk": "^6.0.0", @@ -75,65 +75,6 @@ "npm": ">=10.0.0" } }, - "node_modules/@agentage/cli/node_modules/@agentage/extension": { - "version": "0.18.4", - "resolved": "https://registry.npmjs.org/@agentage/extension/-/extension-0.18.4.tgz", - "integrity": "sha512-fkp7yzl2ADDD65sD9honAAa2u5/F7EHHEyXDDOp48YYwwpiC4iBnzZi5debDEv9FUxfx4UbEewTsfsIxIkIWxg==", - "dev": true, - "license": "MIT", - "dependencies": { - "@modelcontextprotocol/server": "^2.4.0", - "cors": "^2.8.5", - "helmet": "^8.1.0", - "jose": "^6.2.15", - "pg": "^8.23.1", - "semver": "^7.8.6", - "zod": "^4.2.0" - }, - "engines": { - "node": ">=22" - }, - "peerDependencies": { - "@agentage/design-system": "^0.20", - "@electric-sql/pglite": "^0.5.0", - "@tailwindcss/postcss": "^4.3.0", - "esbuild": ">=0.25.0", - "express": "^5.1.0", - "postcss": "^8.5.0", - "react": "^19.0.0", - "react-dom": "^19.0.0", - "tailwindcss": "^4.3.0" - }, - "peerDependenciesMeta": { - "@agentage/design-system": { - "optional": true - }, - "@electric-sql/pglite": { - "optional": true - }, - "@tailwindcss/postcss": { - "optional": true - }, - "esbuild": { - "optional": true - }, - "express": { - "optional": true - }, - "postcss": { - "optional": true - }, - "react": { - "optional": true - }, - "react-dom": { - "optional": true - }, - "tailwindcss": { - "optional": true - } - } - }, "node_modules/@agentage/design-system": { "version": "0.20.1", "resolved": "https://registry.npmjs.org/@agentage/design-system/-/design-system-0.20.1.tgz", @@ -166,15 +107,15 @@ } }, "node_modules/@agentage/extension": { - "version": "0.18.5", - "resolved": "https://registry.npmjs.org/@agentage/extension/-/extension-0.18.5.tgz", - "integrity": "sha512-HZSt7SOHIt9GT5gcDrtSFLYrcR1kskWdwFjfxutl7MLc5Kz2RQJeYwaA1QqkBya2AxgPtiefC7jPYiPZwK9gQw==", + "version": "0.18.8", + "resolved": "https://registry.npmjs.org/@agentage/extension/-/extension-0.18.8.tgz", + "integrity": "sha512-h2y9sEmci81cNqC22D4+UQyQIrQCLguHr56wMJ4HboEiAJEwF0PUe2ZLpLApxnbqlNpyOe1FF/VU4YTmhRqc5Q==", "license": "MIT", "dependencies": { "@modelcontextprotocol/server": "^2.4.0", "cors": "^2.8.5", "helmet": "^8.1.0", - "jose": "^6.2.15", + "jose": "^6.2.17", "pg": "^8.23.1", "semver": "^7.8.6", "zod": "^4.2.0" diff --git a/template/package.json b/template/package.json index acab3ab..aca766c 100644 --- a/template/package.json +++ b/template/package.json @@ -1,6 +1,6 @@ { "name": "@agentage/extension-template", - "version": "0.1.1", + "version": "0.1.2", "description": "An agentage extension: start from this repo with agentage extension create", "type": "module", "license": "MIT", @@ -74,12 +74,12 @@ "prepublishOnly": "npm run verify" }, "dependencies": { - "@agentage/extension": "^0.18.5", + "@agentage/extension": "^0.18.8", "express": "^5.1.0", "zod": "^4.2.0" }, "devDependencies": { - "@agentage/cli": "^0.61.0", + "@agentage/cli": "^0.64.1", "@agentage/design-system": "0.20.1", "@agentage/widget": "^0.3.0", "@axe-core/playwright": "4.14.0", diff --git a/template/template.mcpc.json b/template/template.mcpc.json index bc1f898..c10f616 100644 --- a/template/template.mcpc.json +++ b/template/template.mcpc.json @@ -1,7 +1,7 @@ { "serverInfo": { "name": "agentage-template", - "version": "0.1.1" + "version": "0.1.2" }, "tools": [ { From 162678cb5eadec99e2d91a432d2bd11fcb52696d Mon Sep 17 00:00:00 2001 From: Volodymyr Vreshch Date: Thu, 19 Nov 2026 05:52:58 +0100 Subject: [PATCH 29/38] chore(deps): kit ^0.20.0 and cli ^0.66.0, the served parts (J.4.1 D4) (#28) * chore(deps): kit ^0.20.0 and cli ^0.65.2, the served parts (serves) Claude-Session: https://claude.ai/code/session_01XQkodgygL4W8UcLQDwC212 * chore(deps): cli ^0.66.0 (kit 0.20.0), engines.agentage ^0.20 Claude-Session: https://claude.ai/code/session_01XQkodgygL4W8UcLQDwC212 --- template/package-lock.json | 83 +++++++++++++++++++++++++++++++------- template/package.json | 6 +-- 2 files changed, 72 insertions(+), 17 deletions(-) diff --git a/template/package-lock.json b/template/package-lock.json index 00e89e8..7657960 100644 --- a/template/package-lock.json +++ b/template/package-lock.json @@ -9,12 +9,12 @@ "version": "0.1.2", "license": "MIT", "dependencies": { - "@agentage/extension": "^0.18.8", + "@agentage/extension": "^0.20.0", "express": "^5.1.0", "zod": "^4.2.0" }, "devDependencies": { - "@agentage/cli": "^0.64.1", + "@agentage/cli": "^0.66.0", "@agentage/design-system": "0.20.1", "@agentage/widget": "^0.3.0", "@axe-core/playwright": "4.14.0", @@ -45,18 +45,18 @@ "vitest": "5.1.0" }, "engines": { - "agentage": "^0.18.1", + "agentage": "^0.20", "node": ">=22" } }, "node_modules/@agentage/cli": { - "version": "0.64.1", - "resolved": "https://registry.npmjs.org/@agentage/cli/-/cli-0.64.1.tgz", - "integrity": "sha512-5H5rk93Ce3B2wqciRBuuXsgsFslZhGzj7/BRllrjU3mv3XfN+IyxQOgIAow9doYH++21hF+NR9EcIK99VtPizA==", + "version": "0.66.0", + "resolved": "https://registry.npmjs.org/@agentage/cli/-/cli-0.66.0.tgz", + "integrity": "sha512-DeONY2gPDOQ5vWsGOIrY1FLyBWyc56n4n8g2kbP95CcuF8oBCfjc62GFlYUi5m9fLRv6UzJAMdYLAYQ5iUTj3Q==", "dev": true, "license": "MIT", "dependencies": { - "@agentage/extension": "0.18.8", + "@agentage/extension": "0.20.0", "@electric-sql/pglite": "^0.5.16", "@tailwindcss/postcss": "^4.3.5", "chalk": "^6.0.0", @@ -107,9 +107,9 @@ } }, "node_modules/@agentage/extension": { - "version": "0.18.8", - "resolved": "https://registry.npmjs.org/@agentage/extension/-/extension-0.18.8.tgz", - "integrity": "sha512-h2y9sEmci81cNqC22D4+UQyQIrQCLguHr56wMJ4HboEiAJEwF0PUe2ZLpLApxnbqlNpyOe1FF/VU4YTmhRqc5Q==", + "version": "0.20.0", + "resolved": "https://registry.npmjs.org/@agentage/extension/-/extension-0.20.0.tgz", + "integrity": "sha512-2SxGKwcornh0j6WzmhkbHIQlCLjSg/SFOx03c9I6/sg8z8K7d9L5RSIBhJw346cYEe5nWYvSvm2TSaAJKSRNJw==", "license": "MIT", "dependencies": { "@modelcontextprotocol/server": "^2.4.0", @@ -572,6 +572,7 @@ "cpu": [ "ppc64" ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -588,6 +589,7 @@ "cpu": [ "arm" ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -604,6 +606,7 @@ "cpu": [ "arm64" ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -620,6 +623,7 @@ "cpu": [ "x64" ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -636,6 +640,7 @@ "cpu": [ "arm64" ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -652,6 +657,7 @@ "cpu": [ "x64" ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -668,6 +674,7 @@ "cpu": [ "arm64" ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -684,6 +691,7 @@ "cpu": [ "x64" ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -700,6 +708,7 @@ "cpu": [ "arm" ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -716,6 +725,7 @@ "cpu": [ "arm64" ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -732,6 +742,7 @@ "cpu": [ "ia32" ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -748,6 +759,7 @@ "cpu": [ "loong64" ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -764,6 +776,7 @@ "cpu": [ "mips64el" ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -780,6 +793,7 @@ "cpu": [ "ppc64" ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -796,6 +810,7 @@ "cpu": [ "riscv64" ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -812,6 +827,7 @@ "cpu": [ "s390x" ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -828,6 +844,7 @@ "cpu": [ "x64" ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -844,6 +861,7 @@ "cpu": [ "arm64" ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -860,6 +878,7 @@ "cpu": [ "x64" ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -876,6 +895,7 @@ "cpu": [ "arm64" ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -892,6 +912,7 @@ "cpu": [ "x64" ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -908,6 +929,7 @@ "cpu": [ "arm64" ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -924,6 +946,7 @@ "cpu": [ "x64" ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -940,6 +963,7 @@ "cpu": [ "arm64" ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -956,6 +980,7 @@ "cpu": [ "ia32" ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -972,6 +997,7 @@ "cpu": [ "x64" ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -2181,6 +2207,7 @@ "cpu": [ "arm64" ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -2197,6 +2224,7 @@ "cpu": [ "arm64" ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -2213,6 +2241,7 @@ "cpu": [ "x64" ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -2229,6 +2258,7 @@ "cpu": [ "x64" ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -2245,6 +2275,7 @@ "cpu": [ "arm" ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -2261,6 +2292,7 @@ "cpu": [ "arm64" ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -2277,6 +2309,7 @@ "cpu": [ "arm64" ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -2293,6 +2326,7 @@ "cpu": [ "x64" ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -2309,6 +2343,7 @@ "cpu": [ "x64" ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -2330,6 +2365,7 @@ "@emnapi/wasi-threads", "tslib" ], + "dev": true, "license": "MIT", "optional": true, "dependencies": { @@ -2346,6 +2382,7 @@ }, "node_modules/@tailwindcss/oxide-wasm32-wasi/node_modules/@emnapi/core": { "version": "1.11.3", + "dev": true, "inBundle": true, "license": "MIT", "optional": true, @@ -2356,6 +2393,7 @@ }, "node_modules/@tailwindcss/oxide-wasm32-wasi/node_modules/@emnapi/runtime": { "version": "1.11.3", + "dev": true, "inBundle": true, "license": "MIT", "optional": true, @@ -2365,6 +2403,7 @@ }, "node_modules/@tailwindcss/oxide-wasm32-wasi/node_modules/@emnapi/wasi-threads": { "version": "1.2.3", + "dev": true, "inBundle": true, "license": "MIT", "optional": true, @@ -2374,6 +2413,7 @@ }, "node_modules/@tailwindcss/oxide-wasm32-wasi/node_modules/@napi-rs/wasm-runtime": { "version": "1.2.2", + "dev": true, "inBundle": true, "license": "MIT", "optional": true, @@ -2394,6 +2434,7 @@ }, "node_modules/@tailwindcss/oxide-wasm32-wasi/node_modules/@tybys/wasm-util": { "version": "0.10.3", + "dev": true, "inBundle": true, "license": "MIT", "optional": true, @@ -2403,6 +2444,7 @@ }, "node_modules/@tailwindcss/oxide-wasm32-wasi/node_modules/tslib": { "version": "2.8.1", + "dev": true, "inBundle": true, "license": "0BSD", "optional": true @@ -2414,6 +2456,7 @@ "cpu": [ "arm64" ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -2430,6 +2473,7 @@ "cpu": [ "x64" ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -2630,7 +2674,7 @@ "version": "19.3.0", "resolved": "https://registry.npmjs.org/@types/react-dom/-/react-dom-19.3.0.tgz", "integrity": "sha512-ZI7bU42mZXXKHn/qNLEw2IrbiINU7X5+vfgdixBHkCNpYWXjKgfQ/P+uyGb5CjOLB9UcnTeg3rylQtV2hym44Q==", - "devOptional": true, + "dev": true, "license": "MIT", "peerDependencies": { "@types/react": "^19.3.0" @@ -5996,9 +6040,9 @@ } }, "node_modules/jose": { - "version": "6.2.17", - "resolved": "https://registry.npmjs.org/jose/-/jose-6.2.17.tgz", - "integrity": "sha512-wOuK9V1yujQFH5S0ZWmLcDZN7+IKh9bUCC2ZPCf2HDlol3WWHy+PPyNjEI75FXRLMp3vDKQcupP59xhVU95hcg==", + "version": "6.2.18", + "resolved": "https://registry.npmjs.org/jose/-/jose-6.2.18.tgz", + "integrity": "sha512-doV4thUwgkrycJH4yLeqwTGIIZphHl+pk7CPReuMIhYhncmgzdko85MaCG4YQFTxqMFr1/oEH32tZuKKovcDEg==", "license": "MIT", "funding": { "url": "https://github.com/sponsors/panva" @@ -6222,6 +6266,7 @@ "cpu": [ "arm64" ], + "dev": true, "license": "MPL-2.0", "optional": true, "os": [ @@ -6242,6 +6287,7 @@ "cpu": [ "arm64" ], + "dev": true, "license": "MPL-2.0", "optional": true, "os": [ @@ -6262,6 +6308,7 @@ "cpu": [ "x64" ], + "dev": true, "license": "MPL-2.0", "optional": true, "os": [ @@ -6282,6 +6329,7 @@ "cpu": [ "x64" ], + "dev": true, "license": "MPL-2.0", "optional": true, "os": [ @@ -6302,6 +6350,7 @@ "cpu": [ "arm" ], + "dev": true, "license": "MPL-2.0", "optional": true, "os": [ @@ -6322,6 +6371,7 @@ "cpu": [ "arm64" ], + "dev": true, "license": "MPL-2.0", "optional": true, "os": [ @@ -6342,6 +6392,7 @@ "cpu": [ "arm64" ], + "dev": true, "license": "MPL-2.0", "optional": true, "os": [ @@ -6362,6 +6413,7 @@ "cpu": [ "x64" ], + "dev": true, "license": "MPL-2.0", "optional": true, "os": [ @@ -6382,6 +6434,7 @@ "cpu": [ "x64" ], + "dev": true, "license": "MPL-2.0", "optional": true, "os": [ @@ -6402,6 +6455,7 @@ "cpu": [ "arm64" ], + "dev": true, "license": "MPL-2.0", "optional": true, "os": [ @@ -6422,6 +6476,7 @@ "cpu": [ "x64" ], + "dev": true, "license": "MPL-2.0", "optional": true, "os": [ diff --git a/template/package.json b/template/package.json index aca766c..546adba 100644 --- a/template/package.json +++ b/template/package.json @@ -17,7 +17,7 @@ }, "engines": { "node": ">=22", - "agentage": "^0.18.1" + "agentage": "^0.20" }, "agentage": { "id": "template", @@ -74,12 +74,12 @@ "prepublishOnly": "npm run verify" }, "dependencies": { - "@agentage/extension": "^0.18.8", + "@agentage/extension": "^0.20.0", "express": "^5.1.0", "zod": "^4.2.0" }, "devDependencies": { - "@agentage/cli": "^0.64.1", + "@agentage/cli": "^0.66.0", "@agentage/design-system": "0.20.1", "@agentage/widget": "^0.3.0", "@axe-core/playwright": "4.14.0", From b8185266fcac286aa0f3fd4b04658353e7c6fbf8 Mon Sep 17 00:00:00 2001 From: Volodymyr Vreshch Date: Fri, 20 Nov 2026 10:06:23 +0100 Subject: [PATCH 30/38] chore(deps): kit ^0.21.0, engines ^0.21 (#29) * chore(deps): kit ^0.21.0, engines ^0.21 Claude-Session: https://claude.ai/code/session_01XQkodgygL4W8UcLQDwC212 * chore(deps): cli ^0.69.0 (kit 0.21.0) Claude-Session: https://claude.ai/code/session_01XQkodgygL4W8UcLQDwC212 --- template/package-lock.json | 111 +++++++++++++++---------------------- template/package.json | 6 +- 2 files changed, 48 insertions(+), 69 deletions(-) diff --git a/template/package-lock.json b/template/package-lock.json index 7657960..e526497 100644 --- a/template/package-lock.json +++ b/template/package-lock.json @@ -9,12 +9,12 @@ "version": "0.1.2", "license": "MIT", "dependencies": { - "@agentage/extension": "^0.20.0", + "@agentage/extension": "^0.21.0", "express": "^5.1.0", "zod": "^4.2.0" }, "devDependencies": { - "@agentage/cli": "^0.66.0", + "@agentage/cli": "^0.69.0", "@agentage/design-system": "0.20.1", "@agentage/widget": "^0.3.0", "@axe-core/playwright": "4.14.0", @@ -45,18 +45,42 @@ "vitest": "5.1.0" }, "engines": { - "agentage": "^0.20", + "agentage": "^0.21", "node": ">=22" } }, + "node_modules/@agentage/apphost": { + "version": "0.3.0", + "resolved": "https://registry.npmjs.org/@agentage/apphost/-/apphost-0.3.0.tgz", + "integrity": "sha512-9PY+Upuk5rvYY3rzXFUwJPk+mKc/kVKVDdqt4Hj5KS/lfxgX519pRNH7OqeNB7ozUMBST+1gGOgiKaqobNoMYg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@agentage/shell-dashboard": "0.3.1", + "express": "^5.1.0", + "helmet": "^8.1.0", + "semver": "^7.8.6", + "zod": "^4.2.0" + }, + "bin": { + "agentage-apphost-cloud": "dist/cloud-main.js" + }, + "engines": { + "node": ">=22" + }, + "peerDependencies": { + "@agentage/extension": "~0.21.0" + } + }, "node_modules/@agentage/cli": { - "version": "0.66.0", - "resolved": "https://registry.npmjs.org/@agentage/cli/-/cli-0.66.0.tgz", - "integrity": "sha512-DeONY2gPDOQ5vWsGOIrY1FLyBWyc56n4n8g2kbP95CcuF8oBCfjc62GFlYUi5m9fLRv6UzJAMdYLAYQ5iUTj3Q==", + "version": "0.69.0", + "resolved": "https://registry.npmjs.org/@agentage/cli/-/cli-0.69.0.tgz", + "integrity": "sha512-/0w4SUZ6Aubrt/SghdiXDVJRqyfvAK7pGbHlRccW4/tH7wxRG3cGVrurMF+ZqeWNI3NfHwAG4WqfNdwl3wZzDQ==", "dev": true, "license": "MIT", "dependencies": { - "@agentage/extension": "0.20.0", + "@agentage/apphost": "0.3.0", + "@agentage/extension": "0.21.0", "@electric-sql/pglite": "^0.5.16", "@tailwindcss/postcss": "^4.3.5", "chalk": "^6.0.0", @@ -107,9 +131,9 @@ } }, "node_modules/@agentage/extension": { - "version": "0.20.0", - "resolved": "https://registry.npmjs.org/@agentage/extension/-/extension-0.20.0.tgz", - "integrity": "sha512-2SxGKwcornh0j6WzmhkbHIQlCLjSg/SFOx03c9I6/sg8z8K7d9L5RSIBhJw346cYEe5nWYvSvm2TSaAJKSRNJw==", + "version": "0.21.0", + "resolved": "https://registry.npmjs.org/@agentage/extension/-/extension-0.21.0.tgz", + "integrity": "sha512-AOlGfwgteY233puzRb2BqRXrvbhm8jM41YyCUpzasEQqIo6gUzo7OoVnnGxOaNxZIQ/N939/89ItRmrde0wSSw==", "license": "MIT", "dependencies": { "@modelcontextprotocol/server": "^2.4.0", @@ -164,6 +188,16 @@ } } }, + "node_modules/@agentage/shell-dashboard": { + "version": "0.3.1", + "resolved": "https://registry.npmjs.org/@agentage/shell-dashboard/-/shell-dashboard-0.3.1.tgz", + "integrity": "sha512-Logb1iQHWHhfCtn6VVP7iW8SBSmrDHGB0gZiBDVW4Pv47EY6UjdmB6WOd60HltHabD0W+Yg2clDa2Lw7rqYs+A==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=22" + } + }, "node_modules/@agentage/widget": { "version": "0.3.0", "resolved": "https://registry.npmjs.org/@agentage/widget/-/widget-0.3.0.tgz", @@ -572,7 +606,6 @@ "cpu": [ "ppc64" ], - "dev": true, "license": "MIT", "optional": true, "os": [ @@ -589,7 +622,6 @@ "cpu": [ "arm" ], - "dev": true, "license": "MIT", "optional": true, "os": [ @@ -606,7 +638,6 @@ "cpu": [ "arm64" ], - "dev": true, "license": "MIT", "optional": true, "os": [ @@ -623,7 +654,6 @@ "cpu": [ "x64" ], - "dev": true, "license": "MIT", "optional": true, "os": [ @@ -640,7 +670,6 @@ "cpu": [ "arm64" ], - "dev": true, "license": "MIT", "optional": true, "os": [ @@ -657,7 +686,6 @@ "cpu": [ "x64" ], - "dev": true, "license": "MIT", "optional": true, "os": [ @@ -674,7 +702,6 @@ "cpu": [ "arm64" ], - "dev": true, "license": "MIT", "optional": true, "os": [ @@ -691,7 +718,6 @@ "cpu": [ "x64" ], - "dev": true, "license": "MIT", "optional": true, "os": [ @@ -708,7 +734,6 @@ "cpu": [ "arm" ], - "dev": true, "license": "MIT", "optional": true, "os": [ @@ -725,7 +750,6 @@ "cpu": [ "arm64" ], - "dev": true, "license": "MIT", "optional": true, "os": [ @@ -742,7 +766,6 @@ "cpu": [ "ia32" ], - "dev": true, "license": "MIT", "optional": true, "os": [ @@ -759,7 +782,6 @@ "cpu": [ "loong64" ], - "dev": true, "license": "MIT", "optional": true, "os": [ @@ -776,7 +798,6 @@ "cpu": [ "mips64el" ], - "dev": true, "license": "MIT", "optional": true, "os": [ @@ -793,7 +814,6 @@ "cpu": [ "ppc64" ], - "dev": true, "license": "MIT", "optional": true, "os": [ @@ -810,7 +830,6 @@ "cpu": [ "riscv64" ], - "dev": true, "license": "MIT", "optional": true, "os": [ @@ -827,7 +846,6 @@ "cpu": [ "s390x" ], - "dev": true, "license": "MIT", "optional": true, "os": [ @@ -844,7 +862,6 @@ "cpu": [ "x64" ], - "dev": true, "license": "MIT", "optional": true, "os": [ @@ -861,7 +878,6 @@ "cpu": [ "arm64" ], - "dev": true, "license": "MIT", "optional": true, "os": [ @@ -878,7 +894,6 @@ "cpu": [ "x64" ], - "dev": true, "license": "MIT", "optional": true, "os": [ @@ -895,7 +910,6 @@ "cpu": [ "arm64" ], - "dev": true, "license": "MIT", "optional": true, "os": [ @@ -912,7 +926,6 @@ "cpu": [ "x64" ], - "dev": true, "license": "MIT", "optional": true, "os": [ @@ -929,7 +942,6 @@ "cpu": [ "arm64" ], - "dev": true, "license": "MIT", "optional": true, "os": [ @@ -946,7 +958,6 @@ "cpu": [ "x64" ], - "dev": true, "license": "MIT", "optional": true, "os": [ @@ -963,7 +974,6 @@ "cpu": [ "arm64" ], - "dev": true, "license": "MIT", "optional": true, "os": [ @@ -980,7 +990,6 @@ "cpu": [ "ia32" ], - "dev": true, "license": "MIT", "optional": true, "os": [ @@ -997,7 +1006,6 @@ "cpu": [ "x64" ], - "dev": true, "license": "MIT", "optional": true, "os": [ @@ -2207,7 +2215,6 @@ "cpu": [ "arm64" ], - "dev": true, "license": "MIT", "optional": true, "os": [ @@ -2224,7 +2231,6 @@ "cpu": [ "arm64" ], - "dev": true, "license": "MIT", "optional": true, "os": [ @@ -2241,7 +2247,6 @@ "cpu": [ "x64" ], - "dev": true, "license": "MIT", "optional": true, "os": [ @@ -2258,7 +2263,6 @@ "cpu": [ "x64" ], - "dev": true, "license": "MIT", "optional": true, "os": [ @@ -2275,7 +2279,6 @@ "cpu": [ "arm" ], - "dev": true, "license": "MIT", "optional": true, "os": [ @@ -2292,7 +2295,6 @@ "cpu": [ "arm64" ], - "dev": true, "license": "MIT", "optional": true, "os": [ @@ -2309,7 +2311,6 @@ "cpu": [ "arm64" ], - "dev": true, "license": "MIT", "optional": true, "os": [ @@ -2326,7 +2327,6 @@ "cpu": [ "x64" ], - "dev": true, "license": "MIT", "optional": true, "os": [ @@ -2343,7 +2343,6 @@ "cpu": [ "x64" ], - "dev": true, "license": "MIT", "optional": true, "os": [ @@ -2365,7 +2364,6 @@ "@emnapi/wasi-threads", "tslib" ], - "dev": true, "license": "MIT", "optional": true, "dependencies": { @@ -2382,7 +2380,6 @@ }, "node_modules/@tailwindcss/oxide-wasm32-wasi/node_modules/@emnapi/core": { "version": "1.11.3", - "dev": true, "inBundle": true, "license": "MIT", "optional": true, @@ -2393,7 +2390,6 @@ }, "node_modules/@tailwindcss/oxide-wasm32-wasi/node_modules/@emnapi/runtime": { "version": "1.11.3", - "dev": true, "inBundle": true, "license": "MIT", "optional": true, @@ -2403,7 +2399,6 @@ }, "node_modules/@tailwindcss/oxide-wasm32-wasi/node_modules/@emnapi/wasi-threads": { "version": "1.2.3", - "dev": true, "inBundle": true, "license": "MIT", "optional": true, @@ -2413,7 +2408,6 @@ }, "node_modules/@tailwindcss/oxide-wasm32-wasi/node_modules/@napi-rs/wasm-runtime": { "version": "1.2.2", - "dev": true, "inBundle": true, "license": "MIT", "optional": true, @@ -2434,7 +2428,6 @@ }, "node_modules/@tailwindcss/oxide-wasm32-wasi/node_modules/@tybys/wasm-util": { "version": "0.10.3", - "dev": true, "inBundle": true, "license": "MIT", "optional": true, @@ -2444,7 +2437,6 @@ }, "node_modules/@tailwindcss/oxide-wasm32-wasi/node_modules/tslib": { "version": "2.8.1", - "dev": true, "inBundle": true, "license": "0BSD", "optional": true @@ -2456,7 +2448,6 @@ "cpu": [ "arm64" ], - "dev": true, "license": "MIT", "optional": true, "os": [ @@ -2473,7 +2464,6 @@ "cpu": [ "x64" ], - "dev": true, "license": "MIT", "optional": true, "os": [ @@ -2674,7 +2664,7 @@ "version": "19.3.0", "resolved": "https://registry.npmjs.org/@types/react-dom/-/react-dom-19.3.0.tgz", "integrity": "sha512-ZI7bU42mZXXKHn/qNLEw2IrbiINU7X5+vfgdixBHkCNpYWXjKgfQ/P+uyGb5CjOLB9UcnTeg3rylQtV2hym44Q==", - "dev": true, + "devOptional": true, "license": "MIT", "peerDependencies": { "@types/react": "^19.3.0" @@ -6266,7 +6256,6 @@ "cpu": [ "arm64" ], - "dev": true, "license": "MPL-2.0", "optional": true, "os": [ @@ -6287,7 +6276,6 @@ "cpu": [ "arm64" ], - "dev": true, "license": "MPL-2.0", "optional": true, "os": [ @@ -6308,7 +6296,6 @@ "cpu": [ "x64" ], - "dev": true, "license": "MPL-2.0", "optional": true, "os": [ @@ -6329,7 +6316,6 @@ "cpu": [ "x64" ], - "dev": true, "license": "MPL-2.0", "optional": true, "os": [ @@ -6350,7 +6336,6 @@ "cpu": [ "arm" ], - "dev": true, "license": "MPL-2.0", "optional": true, "os": [ @@ -6371,7 +6356,6 @@ "cpu": [ "arm64" ], - "dev": true, "license": "MPL-2.0", "optional": true, "os": [ @@ -6392,7 +6376,6 @@ "cpu": [ "arm64" ], - "dev": true, "license": "MPL-2.0", "optional": true, "os": [ @@ -6413,7 +6396,6 @@ "cpu": [ "x64" ], - "dev": true, "license": "MPL-2.0", "optional": true, "os": [ @@ -6434,7 +6416,6 @@ "cpu": [ "x64" ], - "dev": true, "license": "MPL-2.0", "optional": true, "os": [ @@ -6455,7 +6436,6 @@ "cpu": [ "arm64" ], - "dev": true, "license": "MPL-2.0", "optional": true, "os": [ @@ -6476,7 +6456,6 @@ "cpu": [ "x64" ], - "dev": true, "license": "MPL-2.0", "optional": true, "os": [ diff --git a/template/package.json b/template/package.json index 546adba..569e519 100644 --- a/template/package.json +++ b/template/package.json @@ -17,7 +17,7 @@ }, "engines": { "node": ">=22", - "agentage": "^0.20" + "agentage": "^0.21" }, "agentage": { "id": "template", @@ -74,12 +74,12 @@ "prepublishOnly": "npm run verify" }, "dependencies": { - "@agentage/extension": "^0.20.0", + "@agentage/extension": "^0.21.0", "express": "^5.1.0", "zod": "^4.2.0" }, "devDependencies": { - "@agentage/cli": "^0.66.0", + "@agentage/cli": "^0.69.0", "@agentage/design-system": "0.20.1", "@agentage/widget": "^0.3.0", "@axe-core/playwright": "4.14.0", From 0bcc20dfa9720d70801aac8d3c4a5388034f4a4d Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Sat, 21 Nov 2026 01:57:18 +0100 Subject: [PATCH 31/38] chore(deps-dev): bump the all-dependencies group with 5 updates (#30) Bumps the all-dependencies group with 5 updates: | Package | From | To | | --- | --- | --- | | [@playwright/test](https://github.com/microsoft/playwright) | `1.65.0` | `1.65.1` | | [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) | `8.72.2` | `8.73.0` | | [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) | `8.72.2` | `8.73.0` | | [eslint](https://github.com/eslint/eslint) | `10.14.0` | `10.15.0` | | [prettier](https://github.com/prettier/prettier) | `3.9.10` | `3.10.1` | Updates `@playwright/test` from 1.65.0 to 1.65.1 - [Release notes](https://github.com/microsoft/playwright/releases) - [Commits](https://github.com/microsoft/playwright/compare/v1.65.0...v1.65.1) Updates `@typescript-eslint/eslint-plugin` from 8.72.2 to 8.73.0 - [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases) - [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md) - [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v8.73.0/packages/eslint-plugin) Updates `@typescript-eslint/parser` from 8.72.2 to 8.73.0 - [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases) - [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md) - [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v8.73.0/packages/parser) Updates `eslint` from 10.14.0 to 10.15.0 - [Release notes](https://github.com/eslint/eslint/releases) - [Commits](https://github.com/eslint/eslint/compare/v10.14.0...v10.15.0) Updates `prettier` from 3.9.10 to 3.10.1 - [Release notes](https://github.com/prettier/prettier/releases) - [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md) - [Commits](https://github.com/prettier/prettier/compare/3.9.10...3.10.1) --- template/package-lock.json | 190 ++++++++++++++++++++----------------- template/package.json | 10 +- 2 files changed, 107 insertions(+), 93 deletions(-) diff --git a/template/package-lock.json b/template/package-lock.json index e526497..7ddca61 100644 --- a/template/package-lock.json +++ b/template/package-lock.json @@ -19,17 +19,17 @@ "@agentage/widget": "^0.3.0", "@axe-core/playwright": "4.14.0", "@electric-sql/pglite": "0.5.16", - "@playwright/test": "1.65.0", + "@playwright/test": "1.65.1", "@tailwindcss/postcss": "4.3.5", "@types/express": "5.0.6", "@types/node": "26.6.6", "@types/react": "19.3.0", "@types/react-dom": "19.3.0", - "@typescript-eslint/eslint-plugin": "8.72.2", - "@typescript-eslint/parser": "8.72.2", + "@typescript-eslint/eslint-plugin": "8.73.0", + "@typescript-eslint/parser": "8.73.0", "@vitest/coverage-v8": "5.1.0", "esbuild": "0.28.2", - "eslint": "10.14.0", + "eslint": "10.15.0", "eslint-config-prettier": "10.1.8", "eslint-plugin-jsx-a11y": "6.10.2", "eslint-plugin-playwright": "2.12.2", @@ -37,7 +37,7 @@ "eslint-plugin-react-hooks": "7.1.1", "jsdom": "31.0.1", "postcss": "8.5.33", - "prettier": "3.9.10", + "prettier": "3.10.1", "react": "19.3.1", "react-dom": "19.3.1", "tailwindcss": "4.3.5", @@ -1045,15 +1045,15 @@ } }, "node_modules/@eslint/config-array": { - "version": "0.23.5", - "resolved": "https://registry.npmjs.org/@eslint/config-array/-/config-array-0.23.5.tgz", - "integrity": "sha512-Y3kKLvC1dvTOT+oGlqNQ1XLqK6D1HU2YXPc52NmAlJZbMMWDzGYXMiPRJ8TYD39muD/OTjlZmNJ4ib7dvSrMBA==", + "version": "0.23.6", + "resolved": "https://registry.npmjs.org/@eslint/config-array/-/config-array-0.23.6.tgz", + "integrity": "sha512-WrTH7nioI9QPY4NZGnsywmecswJdgeq4BCM76qok9VgjTO29ZgUzUvcuJLVPYVQM4uDbaPBU0M33R9DIxI8X3w==", "dev": true, "license": "Apache-2.0", "dependencies": { "@eslint/object-schema": "^3.0.5", "debug": "^4.3.1", - "minimatch": "^10.2.4" + "minimatch": "^11.0.5" }, "engines": { "node": "^20.19.0 || ^22.13.0 || >=24" @@ -1235,6 +1235,13 @@ "url": "https://github.com/sponsors/nzakas" } }, + "node_modules/@isaacs/nonrecursive-glob-match": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@isaacs/nonrecursive-glob-match/-/nonrecursive-glob-match-1.1.0.tgz", + "integrity": "sha512-GPm/Dbvk5RLmhRnxXIa7nTpK0xtl4E0wj0MslsuNiJ1FIROU+2+9lgUC/dgF7Ey4QCWhfEsgxilMRMCdHPfDfw==", + "dev": true, + "license": "BlueOak-1.0.0" + }, "node_modules/@jridgewell/gen-mapping": { "version": "0.3.13", "resolved": "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.3.13.tgz", @@ -1359,13 +1366,13 @@ } }, "node_modules/@playwright/test": { - "version": "1.65.0", - "resolved": "https://registry.npmjs.org/@playwright/test/-/test-1.65.0.tgz", - "integrity": "sha512-iGURLGuKDLakSEl7Pgfv8h7f+XLT+V861Wfhz0zlEl5nyFuKUopdkFBPKqTllTUp06aOwPuH8iuUEb3yp3MpbQ==", + "version": "1.65.1", + "resolved": "https://registry.npmjs.org/@playwright/test/-/test-1.65.1.tgz", + "integrity": "sha512-y+NCIRm2LvY4slUVWvGh1nujJ8RF/hEisIsq2mtUPgdQC4L701bq5hZGMhrpeXjACvwvO9tj5dJqhvM6TP9lbw==", "dev": true, "license": "Apache-2.0", "dependencies": { - "playwright": "1.65.0" + "playwright": "1.65.1" }, "bin": { "playwright": "cli.js" @@ -2699,17 +2706,17 @@ "license": "MIT" }, "node_modules/@typescript-eslint/eslint-plugin": { - "version": "8.72.2", - "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-8.72.2.tgz", - "integrity": "sha512-222PKFXKihmFpi/pS5njoBgdAqsPhj2/GBmFbrNw8Tq8gEG9Sv+kSlKFy4u2q+mJv9ZzJgM2Gkv/bUzRZwZw5g==", + "version": "8.73.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-8.73.0.tgz", + "integrity": "sha512-UkygMFer53Yzn29MCYFTHf34hGXf5KJhiDWfIm1tXtXRrym1CS6l5H9Y3yCtPWChpC0/f93H88gdj8tN0dd4kw==", "dev": true, "license": "MIT", "dependencies": { "@eslint-community/regexpp": "^4.12.2", - "@typescript-eslint/scope-manager": "8.72.2", - "@typescript-eslint/type-utils": "8.72.2", - "@typescript-eslint/utils": "8.72.2", - "@typescript-eslint/visitor-keys": "8.72.2", + "@typescript-eslint/scope-manager": "8.73.0", + "@typescript-eslint/type-utils": "8.73.0", + "@typescript-eslint/utils": "8.73.0", + "@typescript-eslint/visitor-keys": "8.73.0", "ignore": "^7.0.5", "natural-compare": "^1.4.0", "ts-api-utils": "^2.5.0" @@ -2722,22 +2729,22 @@ "url": "https://opencollective.com/typescript-eslint" }, "peerDependencies": { - "@typescript-eslint/parser": "^8.72.2", + "@typescript-eslint/parser": "^8.73.0", "eslint": "^8.57.0 || ^9.0.0 || ^10.0.0", "typescript": ">=4.8.4 <6.1.0" } }, "node_modules/@typescript-eslint/parser": { - "version": "8.72.2", - "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-8.72.2.tgz", - "integrity": "sha512-llP+T1YuJOLlxEciP6OyQGtz5SMxyn+9LA2BvZw5RmToGVa1y4beEDVQL6Gje7T5WFYh19WREjDCN9Ev4gm5AA==", + "version": "8.73.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-8.73.0.tgz", + "integrity": "sha512-AuL45bVcmssHfZ3Di3cs9Q0l4gBm4ZFVrJOQEE7VpqW+PVgQaEwSwazz4TVIiFabXkk6U51EprYDwqw+HR8ePw==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/scope-manager": "8.72.2", - "@typescript-eslint/types": "8.72.2", - "@typescript-eslint/typescript-estree": "8.72.2", - "@typescript-eslint/visitor-keys": "8.72.2", + "@typescript-eslint/scope-manager": "8.73.0", + "@typescript-eslint/types": "8.73.0", + "@typescript-eslint/typescript-estree": "8.73.0", + "@typescript-eslint/visitor-keys": "8.73.0", "debug": "^4.4.3" }, "engines": { @@ -2753,14 +2760,14 @@ } }, "node_modules/@typescript-eslint/project-service": { - "version": "8.72.2", - "resolved": "https://registry.npmjs.org/@typescript-eslint/project-service/-/project-service-8.72.2.tgz", - "integrity": "sha512-6y5dLTZdHhI8Eh3yIQ/bfQhRKwn5e+TpJj64o18Cngc0iW/BCrVvrr6zGYqXPnYH31u6YXAYiFh0+qxX5mybJw==", + "version": "8.73.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/project-service/-/project-service-8.73.0.tgz", + "integrity": "sha512-/pEf8Rc4Mjk+qJnY0uO1+Gadeal8uv50xpuic+srG2vIVatA0XxvWMUeMtFvs6OCHqftiQ7/+qH4aehG5stzIA==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/tsconfig-utils": "^8.72.2", - "@typescript-eslint/types": "^8.72.2", + "@typescript-eslint/tsconfig-utils": "^8.73.0", + "@typescript-eslint/types": "^8.73.0", "debug": "^4.4.3" }, "engines": { @@ -2775,14 +2782,14 @@ } }, "node_modules/@typescript-eslint/scope-manager": { - "version": "8.72.2", - "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.72.2.tgz", - "integrity": "sha512-iIoMJ6/8c1/QpFNyFjU0d1YzPco4MsZjQw0k3V+vfzNWAFmUmvhlyMoYEoYYDQZXc+J6Gi1X5XcxlzW2taIIGQ==", + "version": "8.73.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.73.0.tgz", + "integrity": "sha512-/TjD738Iq2rzj5z0ixVOi+TsvgjAzZPLPaH1yWdDBytR/HTR5gMpyYWZeCe5WTQZLwk3ho8AV7U3muoQCRtXBQ==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/types": "8.72.2", - "@typescript-eslint/visitor-keys": "8.72.2" + "@typescript-eslint/types": "8.73.0", + "@typescript-eslint/visitor-keys": "8.73.0" }, "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" @@ -2793,9 +2800,9 @@ } }, "node_modules/@typescript-eslint/tsconfig-utils": { - "version": "8.72.2", - "resolved": "https://registry.npmjs.org/@typescript-eslint/tsconfig-utils/-/tsconfig-utils-8.72.2.tgz", - "integrity": "sha512-+h3iCgZXuTNtoLXcnnjP12ZUHLMqoUcIHPfQrFEXTUqvb9dF8QK9b5nv5VtSo5fLkdHuks8ehbTzZj3rImAm9w==", + "version": "8.73.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/tsconfig-utils/-/tsconfig-utils-8.73.0.tgz", + "integrity": "sha512-lmtCFOfYaJfpqZywGuXi4FpNtE+NQ+YLe3T0K9rtEDcW8ZuGWvfI++pj8r05sYMI8vWT2CYK4rWyedmD6Rp4og==", "dev": true, "license": "MIT", "engines": { @@ -2810,15 +2817,15 @@ } }, "node_modules/@typescript-eslint/type-utils": { - "version": "8.72.2", - "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-8.72.2.tgz", - "integrity": "sha512-STfkR38qIdhfkLpgtXnUjAzsNy4xouqiBO0lrVc/Wpk9Kem5/aHXUx1J8dGC16zpdYN1+yc2ILQ28er1kXX7ag==", + "version": "8.73.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-8.73.0.tgz", + "integrity": "sha512-MOC9i4xy1F7KcDde7Ip8jf1SrRiALb2Km4UWxGNjUE2YlhjIEo1ayE27GHIwIQyfWuHTmEonQT14uyurlyC6aA==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/types": "8.72.2", - "@typescript-eslint/typescript-estree": "8.72.2", - "@typescript-eslint/utils": "8.72.2", + "@typescript-eslint/types": "8.73.0", + "@typescript-eslint/typescript-estree": "8.73.0", + "@typescript-eslint/utils": "8.73.0", "debug": "^4.4.3", "ts-api-utils": "^2.5.0" }, @@ -2835,9 +2842,9 @@ } }, "node_modules/@typescript-eslint/types": { - "version": "8.72.2", - "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.72.2.tgz", - "integrity": "sha512-Xfn37OLZx03+PCU7qWx9DTv2FCRh1E6fk2+wONeNY15HXIwtcwuveaSwVpGAUptkNmPQegRxW5JyRel9T7wrog==", + "version": "8.73.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.73.0.tgz", + "integrity": "sha512-O/1ytYzflF16QDKXx4/qOXg1IuZp+n7hr9t+S0nv7N/2Tl8rJiNCshztV1gcSUvHbPtoX3+zmNbtSAyVbzxVfw==", "dev": true, "license": "MIT", "engines": { @@ -2849,18 +2856,18 @@ } }, "node_modules/@typescript-eslint/typescript-estree": { - "version": "8.72.2", - "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.72.2.tgz", - "integrity": "sha512-pQEGqIK/cqEvKivVWaFLYpe7XYejFxfuAOi4mu1oAWFvIo36aRHI9esRFTUxcIy/z8N482RJyH+LpZB0ZIU7Ow==", + "version": "8.73.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.73.0.tgz", + "integrity": "sha512-InjlBkSdWceIwIBWSwS3ENUp+i0O02PGX3Zv2wnihWJC1WDVGvG7mTHuf8b57uAaITj94d6tRPDH+sUEtXdRQQ==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/project-service": "8.72.2", - "@typescript-eslint/tsconfig-utils": "8.72.2", - "@typescript-eslint/types": "8.72.2", - "@typescript-eslint/visitor-keys": "8.72.2", + "@typescript-eslint/project-service": "8.73.0", + "@typescript-eslint/tsconfig-utils": "8.73.0", + "@typescript-eslint/types": "8.73.0", + "@typescript-eslint/visitor-keys": "8.73.0", "debug": "^4.4.3", - "minimatch": "^10.2.2", + "minimatch": "^11.0.1", "semver": "^7.7.3", "tinyglobby": "^0.2.15", "ts-api-utils": "^2.5.0" @@ -2873,20 +2880,26 @@ "url": "https://opencollective.com/typescript-eslint" }, "peerDependencies": { + "@typescript/native": "npm:typescript@>=7.1.0-dev.20261009.1 || >=7.1.0-beta <7.1.0-dev", "typescript": ">=4.8.4 <6.1.0" + }, + "peerDependenciesMeta": { + "@typescript/native": { + "optional": true + } } }, "node_modules/@typescript-eslint/utils": { - "version": "8.72.2", - "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-8.72.2.tgz", - "integrity": "sha512-hv3eRYbpPbbpezuax1EfGrzpa3C4ySgNZkPUkLOWOAjU8HsOKowEDAr8C7nsNl1C+SBSKDpvno6VKHnlhvp9iA==", + "version": "8.73.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-8.73.0.tgz", + "integrity": "sha512-j2SVJJvVkXdUL0WcEzo4vEH1mO1vIi8KlVukcYA2MgMZvYN2LlZR4PmsW+GTSxSW24j6Q/EP7+MOifLtg5hmsA==", "dev": true, "license": "MIT", "dependencies": { "@eslint-community/eslint-utils": "^4.9.1", - "@typescript-eslint/scope-manager": "8.72.2", - "@typescript-eslint/types": "8.72.2", - "@typescript-eslint/typescript-estree": "8.72.2" + "@typescript-eslint/scope-manager": "8.73.0", + "@typescript-eslint/types": "8.73.0", + "@typescript-eslint/typescript-estree": "8.73.0" }, "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" @@ -2901,13 +2914,13 @@ } }, "node_modules/@typescript-eslint/visitor-keys": { - "version": "8.72.2", - "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.72.2.tgz", - "integrity": "sha512-NAGrjn0Pitjqzq/GkgMC4kBYm233PQ8GffyQ9+kTA3AlNQYEzOf25EIM02BAHZv5FRJSpHpJk+OGUxVkOB93GQ==", + "version": "8.73.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.73.0.tgz", + "integrity": "sha512-k4lsFVpRZICbltkIEEH4hZRkwXkqDF1GHBpClKQOHQY+RkoZAAuyc1ci3I6p+CB6v3U4jaHIUshc4RzzQXZWLg==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/types": "8.72.2", + "@typescript-eslint/types": "8.73.0", "eslint-visitor-keys": "^5.0.0" }, "engines": { @@ -4308,9 +4321,9 @@ } }, "node_modules/eslint": { - "version": "10.14.0", - "resolved": "https://registry.npmjs.org/eslint/-/eslint-10.14.0.tgz", - "integrity": "sha512-T0pNsxkb9IKmtQjhpK3d7nWOpFv+YHuMbTJnSVMoQblF0onvXfErrtp4V1jHtsQPan7dKaGVD0q1WCXnzMF31A==", + "version": "10.15.0", + "resolved": "https://registry.npmjs.org/eslint/-/eslint-10.15.0.tgz", + "integrity": "sha512-+5Wg4p+ze3sG1WErYgUO/3H1IQIfFBymVUA0Fo/XTeBOLS6UQIUekpSJ8sdRkn7O7wjh84b55w/roqavH2aScg==", "dev": true, "license": "MIT", "workspaces": [ @@ -4319,7 +4332,7 @@ "dependencies": { "@eslint-community/eslint-utils": "^4.8.0", "@eslint-community/regexpp": "^4.12.2", - "@eslint/config-array": "^0.23.5", + "@eslint/config-array": "^0.23.6", "@eslint/config-helpers": "^0.7.0", "@eslint/core": "^1.2.1", "@eslint/plugin-kit": "^0.7.3", @@ -4344,7 +4357,7 @@ "imurmurhash": "^0.1.4", "is-glob": "^4.0.0", "json-stable-stringify-without-jsonify": "^1.0.1", - "minimatch": "^10.2.6", + "minimatch": "^11.0.5", "natural-compare": "^1.4.0", "optionator": "^0.9.3" }, @@ -7514,16 +7527,17 @@ } }, "node_modules/minimatch": { - "version": "10.2.6", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-10.2.6.tgz", - "integrity": "sha512-vpLQEs+VLCr1nU0BXS07maYoFwlDAH0gngQuuttxIwutDFEMHq2blX+8vpgxDdK3J1PwjCJiep77OitTZ4Ll1A==", + "version": "11.0.9", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-11.0.9.tgz", + "integrity": "sha512-KCFkfyjqerNlSstjlhIGNXIKZGA/6O4V4RlhZ+Dsr621SPPw0mzlypE9D9ZOoPiVefHID+j7/XuMMlqfD/F60Q==", "dev": true, "license": "BlueOak-1.0.0", "dependencies": { - "brace-expansion": "^5.0.8" + "@isaacs/nonrecursive-glob-match": "^1.1.0", + "brace-expansion": "^5.0.12" }, "engines": { - "node": "18 || 20 || >=22" + "node": "20 || >=22" }, "funding": { "url": "https://github.com/sponsors/isaacs" @@ -8034,13 +8048,13 @@ } }, "node_modules/playwright": { - "version": "1.65.0", - "resolved": "https://registry.npmjs.org/playwright/-/playwright-1.65.0.tgz", - "integrity": "sha512-F3AMWcR44qMBt4kq+6Kb6mX7bjGXshktKFOPULd7reED6ZJWevjbNRqysP7q+AATE9kdPEZBibex1BYsvpVoeA==", + "version": "1.65.1", + "resolved": "https://registry.npmjs.org/playwright/-/playwright-1.65.1.tgz", + "integrity": "sha512-vJ1FuoOrNwOKHUIVEvSt3jT1L+wjjDpwhwIstKtfvTh8XIG4FG4bIFuvNdMxi81LGfAhUgUZleVFaOLY4RIUUw==", "dev": true, "license": "Apache-2.0", "dependencies": { - "playwright-core": "1.65.0" + "playwright-core": "1.65.1" }, "bin": { "playwright": "cli.js" @@ -8050,9 +8064,9 @@ } }, "node_modules/playwright-core": { - "version": "1.65.0", - "resolved": "https://registry.npmjs.org/playwright-core/-/playwright-core-1.65.0.tgz", - "integrity": "sha512-vNSKgH6YqtN7cdT/L334zo0a+YwkrpicyrHJlWWPIm/Q+Nn2SWInil01oT0mbu96U4GgoRtCYQD9CzJQgju+lA==", + "version": "1.65.1", + "resolved": "https://registry.npmjs.org/playwright-core/-/playwright-core-1.65.1.tgz", + "integrity": "sha512-hqPpz7blSMPxWVdoeE1yiBSzXsKiVOd2k+kjCvmUywD2GPO2Dd9HfcWnq9NN0GHbNZDFgZ9JfBFr+X5/BLo0qw==", "dev": true, "license": "Apache-2.0", "bin": { @@ -8164,9 +8178,9 @@ } }, "node_modules/prettier": { - "version": "3.9.10", - "resolved": "https://registry.npmjs.org/prettier/-/prettier-3.9.10.tgz", - "integrity": "sha512-skGHTH1Yb9QvaTC4hWnRTzEYtCpApF0UMBPz+t/0ZPzP8ihefo/btKd+QA7pUE0fEwA1SbS/NmhyEcstdXOIdA==", + "version": "3.10.1", + "resolved": "https://registry.npmjs.org/prettier/-/prettier-3.10.1.tgz", + "integrity": "sha512-70vp3ZUYoPlFbF9uiTdXHUUCGEIp7d4+6p+8DYbkm2jP7x/3i/paXVF6dopSI3zd/CEitrZN1rc4i85xWmmXlg==", "dev": true, "license": "MIT", "bin": { diff --git a/template/package.json b/template/package.json index 569e519..c70201d 100644 --- a/template/package.json +++ b/template/package.json @@ -84,17 +84,17 @@ "@agentage/widget": "^0.3.0", "@axe-core/playwright": "4.14.0", "@electric-sql/pglite": "0.5.16", - "@playwright/test": "1.65.0", + "@playwright/test": "1.65.1", "@tailwindcss/postcss": "4.3.5", "@types/express": "5.0.6", "@types/node": "26.6.6", "@types/react": "19.3.0", "@types/react-dom": "19.3.0", - "@typescript-eslint/eslint-plugin": "8.72.2", - "@typescript-eslint/parser": "8.72.2", + "@typescript-eslint/eslint-plugin": "8.73.0", + "@typescript-eslint/parser": "8.73.0", "@vitest/coverage-v8": "5.1.0", "esbuild": "0.28.2", - "eslint": "10.14.0", + "eslint": "10.15.0", "eslint-config-prettier": "10.1.8", "eslint-plugin-jsx-a11y": "6.10.2", "eslint-plugin-playwright": "2.12.2", @@ -102,7 +102,7 @@ "eslint-plugin-react-hooks": "7.1.1", "jsdom": "31.0.1", "postcss": "8.5.33", - "prettier": "3.9.10", + "prettier": "3.10.1", "react": "19.3.1", "react-dom": "19.3.1", "tailwindcss": "4.3.5", From 2f12412c5d0987d5de812be0957b864f2ca1d3d5 Mon Sep 17 00:00:00 2001 From: Volodymyr Vreshch Date: Sun, 22 Nov 2026 08:12:24 +0100 Subject: [PATCH 32/38] build: keep template/ out of lint, format and the image context Claude-Session: https://claude.ai/code/session_01XQkodgygL4W8UcLQDwC212 --- .prettierignore | 1 + eslint.config.mjs | 2 ++ packages/apphost/Dockerfile.dockerignore | 1 + 3 files changed, 4 insertions(+) diff --git a/.prettierignore b/.prettierignore index 65ff03d..e93cc80 100644 --- a/.prettierignore +++ b/.prettierignore @@ -11,3 +11,4 @@ playwright-report packages/shell-dashboard/dist-e2e packages/shell-dashboard/.vendor packages/shell-dashboard/shots +template diff --git a/eslint.config.mjs b/eslint.config.mjs index 3b3a500..d90e5c6 100644 --- a/eslint.config.mjs +++ b/eslint.config.mjs @@ -26,6 +26,8 @@ export default [ 'packages/shell-dashboard/.vendor/**', '**/test-results/**', '**/playwright-report/**', + // The extension template lints with its own config and node_modules (template/eslint.config.mjs). + 'template/**', ], }, { diff --git a/packages/apphost/Dockerfile.dockerignore b/packages/apphost/Dockerfile.dockerignore index 0fdfde8..a95ae02 100644 --- a/packages/apphost/Dockerfile.dockerignore +++ b/packages/apphost/Dockerfile.dockerignore @@ -12,3 +12,4 @@ packages/shell-dashboard/.vendor packages/shell-dashboard/shots packages/widget/src/ds/styles.generated.ts packages/widget/src/test-support/fixture/dist +template From 75ad5b7ba71e78fb6e6eed26a0061a76aafaf2a6 Mon Sep 17 00:00:00 2001 From: Volodymyr Vreshch Date: Sun, 22 Nov 2026 08:17:25 +0100 Subject: [PATCH 33/38] feat(template): a merge is the release; repository names the kit Claude-Session: https://claude.ai/code/session_01XQkodgygL4W8UcLQDwC212 --- template/.github/workflows/release.yml | 13 +++++++------ template/CLAUDE.md | 6 +++--- template/README.md | 11 ++++++----- template/package.json | 5 +++-- 4 files changed, 19 insertions(+), 16 deletions(-) diff --git a/template/.github/workflows/release.yml b/template/.github/workflows/release.yml index 873c166..f99abde 100644 --- a/template/.github/workflows/release.yml +++ b/template/.github/workflows/release.yml @@ -1,11 +1,12 @@ name: Release -# A v* tag: agentage extension release refuses the starting-point id, a commit off master and a tag that is -# not the version, keeps a released version (re-run = npm only), then pushes the images, attaches -# agentage-extension.json to the release and publishes to npm with OIDC (npm = this file). +# A merge is the release: agentage extension release --changed gives this extension, when its files +# differ from its last @* tag, a date version YYYY.MDD.N, the tag @, its images, the +# records on the GitHub release and npm with OIDC (a private package skips npm). It refuses the id of +# the starting point, so only a repo made by agentage extension create releases. on: push: - tags: ['v*'] + branches: [master] concurrency: group: release @@ -30,10 +31,10 @@ jobs: node-version: 22 cache: 'npm' - run: npm ci --ignore-scripts && npm run verify - - run: npm install -g npm@11.21.2 # OIDC needs npm >= 11.5.1; 11.21.2 published probe 0.5.2 + - run: npm install -g npm@11 # OIDC needs npm >= 11.5.1 - env: GHCR_TOKEN: ${{ secrets.GITHUB_TOKEN }} run: printf '%s' "$GHCR_TOKEN" | docker login ghcr.io -u "${{ github.actor }}" --password-stdin - env: GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} - run: node_modules/.bin/agentage extension release # the lockfile's cli, never a fresh resolve + run: npx -y @agentage/cli@0.71.0 extension release --changed # pinned: the merge-release cli diff --git a/template/CLAUDE.md b/template/CLAUDE.md index 7ae78d2..832ebef 100644 --- a/template/CLAUDE.md +++ b/template/CLAUDE.md @@ -82,13 +82,13 @@ The commands are in [README.md](README.md#run-it-on-your-machine). Rules for the ## 5. Release -- The steps are in [README.md](README.md#release). `release.yml` runs `agentage extension release`. +- A merge to master is the release ([README.md](README.md#release)). `release.yml` runs `agentage extension release --changed`. - The release attaches two records to the GitHub release: `agentage-extension.json` (the part images by digest) and `agentage-container.json` (the one image an app host runs). - A package with `"private": true` is never published to npm. - The first publish of a new npm name waits for the owner's approval. Then add `release.yml` as the trusted publisher on npmjs.com. -- A re-run only retries npm; a moved tag is refused. A fix is a new version. Never move a `v*` tag. +- A re-run only retries npm; a moved tag is refused. A fix is a new merge. Never move an `@*` tag. - `agentage extension release` refuses the id of the repo this one was copied from, and passes for every other id. ## 6. The deployment row @@ -118,7 +118,7 @@ small PR or one owner action. - Read a red run on the Actions tab of agentage/estate. The run names the part and the check. A part logs JSON lines with the request's `agcid`: search for it. - A release goes live so: - - A `v*` tag runs `release.yml`: the images, the records and the package. + - A merge to master runs `release.yml`: the date version, the images, the records and the package. - The market lists the version. - A floating row (`"track": "latest"` in `installation.json`, `version: latest` in `estate.yaml`): the cloud extension opens a PR that changes the version. It merges by itself and the deploy to `next` runs. A red deploy is reverted by a PR. - A row with an exact version (a pin: the version never moves by itself) changes only by a PR to its file. diff --git a/template/README.md b/template/README.md index e575599..0e3d92f 100644 --- a/template/README.md +++ b/template/README.md @@ -91,13 +91,14 @@ npm run build && npx agentage extension check --write && npm run format ## Release -1. Raise the version in `package.json`. -2. Run `npx agentage extension check --write`, commit, and push the tag `v` on that commit, on master. -3. `release.yml` pushes the images, attaches the records `agentage-container.json` and - `agentage-extension.json` to the GitHub release and publishes the package to npm. +A merge to master is the release. `release.yml` runs `agentage extension release --changed`: when the +extension changed since its last `@*` tag, it gets a date version `YYYY.MDD.N` and the tag +`@`. The run pushes the images, attaches the records `agentage-container.json` and +`agentage-extension.json` to the GitHub release and publishes the package to npm. Do not raise the +version in `package.json` by hand: the run writes the date version in its own copy only. A package with `"private": true` skips npm. The owner does the first publish of a new npm name. -A fix is a new version: never move a tag. +A fix is a new merge: never move a tag. ## Deploy diff --git a/template/package.json b/template/package.json index c70201d..9d39dd2 100644 --- a/template/package.json +++ b/template/package.json @@ -6,11 +6,12 @@ "license": "MIT", "repository": { "type": "git", - "url": "git+https://github.com/agentage/extension-template.git" + "url": "git+https://github.com/agentage/platform.git", + "directory": "template" }, "homepage": "https://agentage.io", "bugs": { - "url": "https://github.com/agentage/extension-template/issues" + "url": "https://github.com/agentage/platform/issues" }, "publishConfig": { "access": "public" From af1013b6da4b2753c0b0b90fe0165a49ec311434 Mon Sep 17 00:00:00 2001 From: Volodymyr Vreshch Date: Sun, 22 Nov 2026 08:17:25 +0100 Subject: [PATCH 34/38] ci: the Template check runs the template's own CI in template/ Claude-Session: https://claude.ai/code/session_01XQkodgygL4W8UcLQDwC212 --- .github/workflows/ci.yml | 187 ++++++++++++++++++++++++++++++++++++++- 1 file changed, 186 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b622098..32cfc02 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -26,7 +26,7 @@ jobs: env: TITLE: ${{ github.event.pull_request.title }} run: | - scoped='^(feat|fix|refactor|test|chore|ci|docs|perf|build)\((extension|apphost|logs|widget|identity|shell|app|release|ci|docs|deps)\)!?: .{1,60}$' + scoped='^(feat|fix|refactor|test|chore|ci|docs|perf|build)\((extension|apphost|logs|widget|identity|shell|app|template|release|ci|docs|deps)\)!?: .{1,60}$' bare='^(ci|docs|chore|build): ' if [ "${#TITLE}" -le 72 ] && { [[ $TITLE =~ $scoped ]] || [[ $TITLE =~ $bare ]]; }; then exit 0; fi echo "::error::PR title '$TITLE' breaks the commit title rules in CLAUDE.md (type(scope): text, max 72)"; exit 1 @@ -424,3 +424,188 @@ jobs: if: always() working-directory: ${{ env.PROBE_DIR }} run: node node_modules/@agentage/extension/dist/tool/cli.js down || true + + # template/ is the start of every new extension, with its own lockfile (not a workspace). + template-changes: + name: Template changes + runs-on: ubuntu-latest + timeout-minutes: 5 + outputs: + run: ${{ steps.pick.outputs.run }} + candidate: ${{ steps.pick.outputs.candidate }} + steps: + - name: Checkout + uses: actions/checkout@v7 + with: + fetch-depth: 0 + + # template/** or this file: the template on its lockfile kit. A kit package it imports: on the candidate kit. + - name: Pick what this change touches + id: pick + env: + BASE: ${{ github.event.pull_request.base.sha || github.event.before }} + run: | + set -euo pipefail + files='' + if [ -n "$BASE" ] && git cat-file -e "$BASE^{commit}" 2>/dev/null; then + files=$(git diff --name-only "$BASE" HEAD) + fi + own=false; kit=false + if [ -z "$files" ] || grep -qE '^(template/|\.github/workflows/ci\.yml$)' <<<"$files"; then own=true; fi + if [ -z "$files" ] || grep -qE '^packages/(extension|widget|logs|app)/' <<<"$files"; then kit=true; fi + run=$([ "$own" = true ] || [ "$kit" = true ] && echo true || echo false) + echo "template: $own, kit: $kit" | tee -a "$GITHUB_STEP_SUMMARY" + echo "run=$run" >> "$GITHUB_OUTPUT" + echo "candidate=$kit" >> "$GITHUB_OUTPUT" + + template-verify: + name: Template verify and check + needs: template-changes + if: needs.template-changes.outputs.run == 'true' + runs-on: ubuntu-latest + timeout-minutes: 15 + env: + CANDIDATE: ${{ needs.template-changes.outputs.candidate }} + steps: + - name: Checkout + uses: actions/checkout@v7 + + - name: Setup Node.js + uses: actions/setup-node@v7 + with: + node-version: 22 + cache: 'npm' + cache-dependency-path: template/package-lock.json + + # The root install goes before the template's: a root node_modules would hide a missing template dependency. + - name: The candidate kit and widget, packed into template/.kit + if: env.CANDIDATE == 'true' + run: | + set -euo pipefail + npm ci --no-audit --no-fund && npm run build + mkdir -p template/.kit + npm pack -w @agentage/extension -w @agentage/widget --pack-destination template/.kit + rm -rf node_modules packages/*/node_modules + + - name: Install (the template's own lockfile; the candidate on top when the kit changed) + working-directory: template + run: | + set -euo pipefail + npm ci --no-audit --no-fund + if [ "$CANDIDATE" = true ]; then + npm install --no-audit --no-fund ./.kit/agentage-*.tgz + npm pkg set engines.agentage=">=0.6" + fi + + - name: Verify (type-check, lint, format, test with coverage, build) + working-directory: template + run: npm run verify + + - name: Conformance (the kit's six rules; the store rule uses the runner's docker) + working-directory: template + run: node_modules/.bin/agentage extension check + + template-local: + name: Template up and the e2e gate on local + needs: template-changes + if: needs.template-changes.outputs.run == 'true' + runs-on: ubuntu-latest + # The gate on docker stays under 10 minutes; the candidate build adds about 2. + timeout-minutes: 15 + env: + CANDIDATE: ${{ needs.template-changes.outputs.candidate }} + SECRETS_OK: ${{ github.actor != 'dependabot[bot]' && github.event.pull_request.head.repo.fork != true }} + steps: + - name: Checkout + uses: actions/checkout@v7 + + - name: Setup Node.js + uses: actions/setup-node@v7 + with: + node-version: 22 + cache: 'npm' + cache-dependency-path: template/package-lock.json + + - name: The candidate kit and widget, packed into template/.kit + if: env.CANDIDATE == 'true' + run: | + set -euo pipefail + npm ci --no-audit --no-fund && npm run build + mkdir -p template/.kit + npm pack -w @agentage/extension -w @agentage/widget --pack-destination template/.kit + rm -rf node_modules packages/*/node_modules + + - name: Install (and Chromium for the widget test; the runner has its OS libraries) + working-directory: template + run: | + set -euo pipefail + npm ci --no-audit --no-fund + if [ "$CANDIDATE" = true ]; then + npm install --no-audit --no-fund ./.kit/agentage-*.tgz + npm pkg set engines.agentage=">=0.6" + fi + npx playwright install chromium + + # agentage/e2e is private (the org PAT_TOKEN reads it); Dependabot and fork runs get no secrets. + - name: Checkout agentage/e2e + if: env.SECRETS_OK == 'true' + uses: actions/checkout@v7 + with: + repository: agentage/e2e + path: e2e-suite + token: ${{ secrets.PAT_TOKEN }} + persist-credentials: false + + - name: Install agentage/e2e (the candidate kit validates when the kit changed) + if: env.SECRETS_OK == 'true' + working-directory: e2e-suite + run: | + set -euo pipefail + npm ci --no-audit --no-fund + if [ "$CANDIDATE" = true ]; then npm install --no-save ../template/.kit/agentage-extension-*.tgz; fi + npx playwright install chromium + + # The lockfile cli as in a created repo; on the candidate, the kit's own tool (the cli bundles the released kit). + - name: agentage extension up --docker (the release recipes, store, dev issuer, gateway) + working-directory: template + run: | + if [ "$CANDIDATE" = true ]; then node node_modules/@agentage/extension/dist/tool/cli.js up + else node_modules/.bin/agentage extension up --docker; fi + + - name: The widget a11y test through the local gateway (src/**/*.spec.ts) + working-directory: template + run: npm run test:e2e + + - name: e2e gate on docker (agentage/e2e, the template row) + if: env.SECRETS_OK == 'true' + working-directory: e2e-suite + run: env "TEMPLATE_DIR=$GITHUB_WORKSPACE/template" npm run e2e -- template gate docker + + # A gate that skipped itself is not green. + - name: Assert the gate was not vacuous + if: env.SECRETS_OK == 'true' + working-directory: e2e-suite + env: + MIN_EXECUTED: '25' + run: node scripts/assert-executed.mjs + + - name: Logs on failure + if: failure() || cancelled() + working-directory: template + run: docker compose -f .agentage/compose.json logs --no-color --tail 80 || true + + # The one context for the template: green when its jobs passed or this change did not touch it. + template: + name: Template + needs: [template-changes, template-verify, template-local] + if: always() + runs-on: ubuntu-latest + timeout-minutes: 5 + steps: + - name: Every template job passed or had nothing to test + env: + NEEDS: ${{ toJSON(needs) }} + run: | + set -euo pipefail + jq -r 'to_entries[] | "\(.key): \(.value.result)"' <<<"$NEEDS" + jq -e '.["template-changes"].result == "success" and all(.[]; .result == "success" or .result == "skipped")' <<<"$NEEDS" >/dev/null From 64a189f6b8f1c001e0ce97406341fc0d292b9d93 Mon Sep 17 00:00:00 2001 From: Volodymyr Vreshch Date: Sun, 22 Nov 2026 08:17:25 +0100 Subject: [PATCH 35/38] docs: the template lives in template/; dependabot reads it Claude-Session: https://claude.ai/code/session_01XQkodgygL4W8UcLQDwC212 --- .github/dependabot.yml | 4 ++-- CLAUDE.md | 6 +++++- README.md | 17 ++++++++++++++++- 3 files changed, 23 insertions(+), 4 deletions(-) diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 87aab1e..9134d5e 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -1,7 +1,7 @@ version: 2 updates: - package-ecosystem: 'npm' - directory: '/' + directories: ['/', '/template'] schedule: interval: 'weekly' day: 'friday' @@ -20,7 +20,7 @@ updates: - '*' - package-ecosystem: 'github-actions' - directory: '/' + directories: ['/', '/template'] schedule: interval: 'weekly' day: 'friday' diff --git a/CLAUDE.md b/CLAUDE.md index f13d6dc..903d771 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -22,6 +22,7 @@ docker-deploy, security, backend); this file only adds what the tree does not sa - App kit `@agentage/extension/app` (hooks, `Region`, `Split`, test host): `packages/app/README.md`. - Dashboard shell (`@agentage/shell-dashboard`, served by `@agentage/apphost`): `packages/shell-dashboard/README.md`. - Sign in, page token, `mintToken`, `revokeToken`, sign out: `packages/identity/README.md`. +- The extension template: `template/` (its own `CLAUDE.md`, lockfile and CI files); README "The extension template". - CI jobs: `.github/workflows/ci.yml`. Coverage floor: `vitest.config.ts`. Release rules: `README.md` "Release" (proof: `.github/workflows/release.yml`). Read the file named here before you read `src/` (`src/` = `packages/extension/src`). @@ -49,7 +50,7 @@ Read the file named here before you read `src/` (`src/` = `packages/extension/sr ## Commits -- Scopes: `extension, apphost, logs, widget, identity, shell, app, release, ci, docs, deps`; repo-level `ci`, `docs`, `chore` +- Scopes: `extension, apphost, logs, widget, identity, shell, app, template, release, ci, docs, deps`; repo-level `ci`, `docs`, `chore` and `build` commits may go scopeless. Titles are conventional commits, 72 characters at most; CI checks the PR title. - A release bump commit touches one package, or uses the `release` scope. @@ -119,6 +120,9 @@ Read the file named here before you read `src/` (`src/` = `packages/extension/sr ## Gotchas +- `template/` is not a workspace: run `npm ci` and `npm run verify` inside it. Its `.github/` files + never run here; `agentage extension create` copies them once the cli takes `template/`. The + `Template` job runs its CI. - Screenshot baselines are made in `mcr.microsoft.com/playwright:v1.65.1-noble` (the CI job's image), never on a host: `npx playwright test -c packages/widget --update-snapshots` inside it. - Browser code uses `zod/mini` with `import * as z`: full `zod` or a named import puts about diff --git a/README.md b/README.md index be63411..fafe6b3 100644 --- a/README.md +++ b/README.md @@ -20,7 +20,7 @@ npx agentage extension up # runs it on the loca No part named means all parts. `up` runs the package's `build` script itself, adds the folder to the daemon on `127.0.0.1:4243` and reloads the extension at each change. `up --docker` runs the part images on Docker instead; it needs the ports 4280 and 4281 free. The template and its guide are in -[extension-template](https://github.com/agentage/extension-template). +[template/](template). See "The extension template" below. To work on this repo, you need Node 22+ and npm 10+: @@ -188,6 +188,21 @@ npm deprecate @0.0.0-stage "placeholder for the first trusted publish" npm dist-tag rm bootstrap ``` +## The extension template + +The folder [template/](template) is the start of every new extension. It came here with its +history from the repo `agentage/extension-template`. It is not an npm workspace: it keeps its own +`package-lock.json` and takes the kit from npm, as a new extension does. The root lint, format, tests, +type-check, build and image context leave it out. + +- CI: the `Template` check runs its verify, `agentage extension check`, `up --docker` and the e2e gate + when `template/` or `ci.yml` changes. A change in a kit package it imports runs the same jobs on the + candidate kit and widget. +- Release: `template/.github/workflows/release.yml` never runs here. A repo made by + `agentage extension create` gets it at its root: a merge to master is its release. +- The cli clones the old repo `agentage/extension-template` until a cli release takes this folder. + The old repo stays readable for older cli versions until it is archived. + ## License MIT. See [LICENSE](LICENSE). From 000f8ca18c9bfe444684ffa3f14ce886bebe424b Mon Sep 17 00:00:00 2001 From: Volodymyr Vreshch Date: Sun, 22 Nov 2026 08:32:20 +0100 Subject: [PATCH 36/38] ci: dependabot reads template/ for npm only Claude-Session: https://claude.ai/code/session_01XQkodgygL4W8UcLQDwC212 --- .github/dependabot.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 9134d5e..32cf1e9 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -20,7 +20,7 @@ updates: - '*' - package-ecosystem: 'github-actions' - directories: ['/', '/template'] + directory: '/' schedule: interval: 'weekly' day: 'friday' From 23320f4bf6863636acd10e795822041d120c11cf Mon Sep 17 00:00:00 2001 From: Volodymyr Vreshch Date: Sun, 22 Nov 2026 08:43:53 +0100 Subject: [PATCH 37/38] fix(template): private by default, repository that create rewrites Claude-Session: https://claude.ai/code/session_01XQkodgygL4W8UcLQDwC212 --- template/README.md | 4 +++- template/package.json | 6 +++--- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/template/README.md b/template/README.md index 0e3d92f..3eefe1c 100644 --- a/template/README.md +++ b/template/README.md @@ -97,7 +97,9 @@ extension changed since its last `@*` tag, it gets a date version `YYYY.MDD. `agentage-extension.json` to the GitHub release and publishes the package to npm. Do not raise the version in `package.json` by hand: the run writes the date version in its own copy only. -A package with `"private": true` skips npm. The owner does the first publish of a new npm name. +The package starts with `"private": true`: a release pushes the images and the records, never npm. +To publish to npm on purpose, first add `release.yml` of your repo as the trusted publisher on npmjs.com. +Then remove `"private": true` from `package.json` and merge: the next release publishes the package. A fix is a new merge: never move a tag. ## Deploy diff --git a/template/package.json b/template/package.json index 9d39dd2..57a475e 100644 --- a/template/package.json +++ b/template/package.json @@ -1,17 +1,17 @@ { "name": "@agentage/extension-template", "version": "0.1.2", + "private": true, "description": "An agentage extension: start from this repo with agentage extension create", "type": "module", "license": "MIT", "repository": { "type": "git", - "url": "git+https://github.com/agentage/platform.git", - "directory": "template" + "url": "git+https://github.com/agentage/extension-template.git" }, "homepage": "https://agentage.io", "bugs": { - "url": "https://github.com/agentage/platform/issues" + "url": "https://github.com/agentage/extension-template/issues" }, "publishConfig": { "access": "public" From e86342f49abc36a1cf4f4ae7351d8bb3142769c8 Mon Sep 17 00:00:00 2001 From: Volodymyr Vreshch Date: Sun, 22 Nov 2026 08:43:53 +0100 Subject: [PATCH 38/38] ci: the Template job refuses a kit repo or directory in package.json Claude-Session: https://claude.ai/code/session_01XQkodgygL4W8UcLQDwC212 --- .github/workflows/ci.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 32cfc02..463ec60 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -497,6 +497,11 @@ jobs: npm pkg set engines.agentage=">=0.6" fi + # create rewrites the word template to the id only: a kit repo URL or a directory would break npm provenance. + - name: package.json is private and names no kit repo + working-directory: template + run: jq -e '.private == true and (.repository.url | test("agentage/(platform|kit)") | not) and (.repository.directory == null) and (.bugs.url | test("agentage/(platform|kit)") | not)' package.json + - name: Verify (type-check, lint, format, test with coverage, build) working-directory: template run: npm run verify