YC (S26) | Open Computer History | Continuously record your company computer work, map your workflows, help you find work worth automating, and power your agents' context
Rust agentsagiaiai-memoryaudio-recordingcomputer-visionhermeshermes-agentllmlocal-ailocal-firstmachine-learningmcpmultimodalopenclawprivacyrewindscreen-recordingspeech-to-textycombinator
Add installable Screenpipe MCP plugins for Claude and OpenAI (#7310)
Louis Beaumontc4340aeeb0b1
diff --git a/.github/workflows/release-mcp.yml b/.github/workflows/release-mcp.ymlindex 4b1db2988..3d9b6f69f 100644--- a/.github/workflows/release-mcp.yml+++ b/.github/workflows/release-mcp.yml@@ -55,9 +55,11 @@ jobs:working-directory: packages/screenpipe-mcprun: bun install --frozen-lockfile- - name: Build+ - name: Typecheck and testworking-directory: packages/screenpipe-mcp- run: npm run build+ run: |+ bun run typecheck+ bun run test- name: Bundle licenseworking-directory: packages/screenpipe-mcp@@ -75,6 +77,32 @@ jobs:working-directory: packages/screenpipe-mcprun: npm run verify:pack+ - name: Build installable MCP packages+ working-directory: packages/screenpipe-mcp+ run: |+ bun run build:installers+ # Preserve the existing download filename for Claude Desktop users.+ cp installers/screenpipe-local.mcpb screenpipe-mcp.mcpb++ # The .mcpb bundle is the Claude Desktop install path, and nobody has ever+ # looked inside one (SCR-352 shipped with that as an explicitly unverified+ # claim — the mcpb CLI is not installed on dev machines). dist/index.js+ # `require`s ./team-config at startup, so a bundle without it is not+ # merely missing the gateway knob, it is broken. Grep the whole archive+ # rather than a fixed path so this stays correct if mcpb ever bundles or+ # minifies. The listing is printed either way, so the release run is the+ # evidence for "does the bundle carry the fix".+ - name: Verify the mcpb bundle carries the gateway knob+ working-directory: packages/screenpipe-mcp+ run: |+ unzip -l screenpipe-mcp.mcpb+ if unzip -p screenpipe-mcp.mcpb | grep -q SCREENPIPE_TEAM_API_URL; then+ echo "mcpb bundle contains the team API base override"+ else+ echo "::error::screenpipe-mcp.mcpb does not contain SCREENPIPE_TEAM_API_URL anywhere. The Claude Desktop bundle cannot reach a customer gateway, and dist/index.js requires ./team-config at startup. Check mcpb pack / manifest.json before releasing."+ exit 1+ fi+# A version already on npm used to SKIP quietly and let the whole workflow# report success — so "Release MCP" could be re-run forever and change# nothing. That is how [email protected] stayed on the registry while@@ -131,39 +159,6 @@ jobs:working-directory: packages/screenpipe-mcprun: ./mcp-publisher publish- - name: Sync manifest.json version from package.json- working-directory: packages/screenpipe-mcp- run: |- VER=$(node -p "require('./package.json').version")- jq --arg v "$VER" '.version = $v' manifest.json > manifest.tmp && mv manifest.tmp manifest.json- echo "synced manifest.json version to $VER"-- - name: Install mcpb CLI- run: npm install -g @anthropic-ai/mcpb-- - name: Build mcpb bundle- working-directory: packages/screenpipe-mcp- run: mcpb pack-- # The .mcpb bundle is the Claude Desktop install path, and nobody has ever- # looked inside one (SCR-352 shipped with that as an explicitly unverified- # claim — the mcpb CLI is not installed on dev machines). dist/index.js- # `require`s ./team-config at startup, so a bundle without it is not- # merely missing the gateway knob, it is broken. Grep the whole archive- # rather than a fixed path so this stays correct if mcpb ever bundles or- # minifies. The listing is printed either way, so the release run is the- # evidence for "does the bundle carry the fix".- - name: Verify the mcpb bundle carries the gateway knob- working-directory: packages/screenpipe-mcp- run: |- unzip -l screenpipe-mcp.mcpb- if unzip -p screenpipe-mcp.mcpb | grep -q SCREENPIPE_TEAM_API_URL; then- echo "mcpb bundle contains the team API base override"- else- echo "::error::screenpipe-mcp.mcpb does not contain SCREENPIPE_TEAM_API_URL anywhere. The Claude Desktop bundle cannot reach a customer gateway, and dist/index.js requires ./team-config at startup. Check mcpb pack / manifest.json before releasing."- exit 1- fi-- name: Get versionid: versionworking-directory: packages/screenpipe-mcp@@ -188,5 +183,7 @@ jobs:--generate-notes \--prerelease \packages/screenpipe-mcp/screenpipe-mcp.mcpb \+ packages/screenpipe-mcp/installers/screenpipe-cloud.zip \|| gh release upload "$TAG" \- packages/screenpipe-mcp/screenpipe-mcp.mcpb --clobber+ packages/screenpipe-mcp/screenpipe-mcp.mcpb \+ packages/screenpipe-mcp/installers/screenpipe-cloud.zip --clobberdiff --git a/.github/workflows/test-mcp.yml b/.github/workflows/test-mcp.ymlindex 911042a8d..e7f4589cc 100644--- a/.github/workflows/test-mcp.yml+++ b/.github/workflows/test-mcp.yml@@ -62,6 +62,18 @@ jobs:- name: Vitestrun: bun run test+ # installers.test.ts builds, unpacks, and runs the local extension against+ # a synthetic API. Make the exact checked artifacts available for review.+ - name: Upload tested plugin installers+ uses: actions/upload-artifact@v4+ with:+ name: screenpipe-mcp-installers+ if-no-files-found: error+ path: |+ packages/screenpipe-mcp/installers/screenpipe-local.mcpb+ packages/screenpipe-mcp/installers/screenpipe-cloud.zip+ packages/screenpipe-mcp/installers/SUBMISSION.md+- name: Pack contents include the gateway config module# npm 0.18.15 shipped with NO team-config in the tarball, so every# `team-*` tool 401'd against a customer gateway. The version bump alonediff --git a/packages/screenpipe-mcp/.gitignore b/packages/screenpipe-mcp/.gitignoreindex 6f5968314..274c237a4 100644--- a/packages/screenpipe-mcp/.gitignore+++ b/packages/screenpipe-mcp/.gitignore@@ -21,3 +21,6 @@ package-lock.json# Logs*.lognpm-debug.log*++# Generated installable packages+installers/diff --git a/packages/screenpipe-mcp/README.md b/packages/screenpipe-mcp/README.mdindex 9972e0da0..a86256601 100644--- a/packages/screenpipe-mcp/README.md+++ b/packages/screenpipe-mcp/README.md@@ -37,6 +37,28 @@ client names. HTTP MCP now reports successful searches through the samebest-effort local telemetry endpoint as stdio MCP; empty/failed searches do notproduce qualified-value events.+## Installable plugins++Build the local Claude Desktop extension and the cloud plugin from source:++```sh+cd packages/screenpipe-mcp+bun install --frozen-lockfile+bun run build:installers+```++- `installers/screenpipe-local.mcpb`: open in Claude Desktop's extension installer.+ Bundles the server and its dependencies; Claude supplies Node. Keep Screenpipe+ running. Includes an optional sensitive API key setting and API URL setting.+- `installers/screenpipe-cloud.zip`: portable remote plugin with OpenAI/Codex and+ Claude compatibility manifests. Requires Data Sync and OAuth sign-in; exposes+ only synced device listing and search. See the [cloud setup guide](plugins/screenpipe-cloud/README.md).+- `installers/SUBMISSION.md`: listing copy, endpoint, permissions guidance, and+ acceptance cases for directory submission. Building does not publish a listing.++The archive builder uses an explicit file allowlist, so local environment files,+credentials, development dependencies, and source tests are not packaged.+## Installation### Option 1: The screenpipe desktop app (Recommended)diff --git a/packages/screenpipe-mcp/RELEASE.md b/packages/screenpipe-mcp/RELEASE.mdindex a228091a0..82f5a3cf4 100644--- a/packages/screenpipe-mcp/RELEASE.md+++ b/packages/screenpipe-mcp/RELEASE.md@@ -6,6 +6,15 @@ credentials for this package.---+## 0.20.1 — installable plugins++- Adds the local Claude Desktop installer with optional API URL/key settings.+- Adds a portable cloud plugin for OpenAI/Codex and Claude, using the existing+ Data Sync OAuth endpoint.+- Builds and validates the installable artifacts before publishing any package.+- Attaches the cloud ZIP alongside the existing MCPB download filename.+- Public AI directories still require their own submission and review.+## 0.20.0 — workflow catalog access- Publishes `list-workflows` and `get-workflow` for the saved desktop Workflows catalog.@@ -58,13 +67,22 @@ in the README):- Precedence step 3 needs the desktop app: it is the only writer of`gateway_url` into `~/.screenpipe/enterprise.json`, and only for a signed-inadmin. On a server or CI box, set the env var or the flag by hand.-- The `.mcpb` bundle's `manifest.json` has no `user_config`/`env` block, so the- Claude Desktop extension install has no UI for these variables.+- The `.mcpb` bundle now exposes local API URL and key settings. Enterprise+ token/gateway settings still use the existing environment or desktop config.- The `--http` transport still exposes `search_content` only; `team-*` isstdio-only.---+## Installable artifacts++`bun run build:installers` builds the local Claude Desktop `.mcpb` and the+portable cloud plugin ZIP from an explicit allowlist. The release workflow uses+this same builder, preserves the existing `screenpipe-mcp.mcpb` download name,+and attaches `screenpipe-cloud.zip`. PR CI uploads both tested installers as the+`screenpipe-mcp-installers` artifact. Neither build nor PR CI publishes them to+an AI app directory. Cloud OAuth acceptance and directory review remain separate.+## Before releasing1. **The source commit must be on `main`.** `src/team-config.ts` arrived with@@ -174,9 +192,7 @@ npx -y [email protected]- `server.json`'s two version fields are synced from `package.json` by CI atpublish time but **never committed back**, so bump them in the same commit.`src/version.test.ts` fails if they disagree.-- `manifest.json` intentionally stays at `0.0.0-injected-from-package-json`; CI- rewrites it during the run.-- The workflow runs a bare `npm install` (no lockfile — `package-lock.json` is- gitignored, `bun.lock` is the source of truth and npm ignores it), so the- published build can resolve different transitive dependency versions than the- local verification did.+- `manifest.json` intentionally stays at `0.0.0-injected-from-package-json`; the+ installer builder stamps the package version into the staged manifest.+- The workflow uses `bun install --frozen-lockfile`; the MCPB packer is pinned+ in `devDependencies`, so CI and local builds use the same packaging version.diff --git a/packages/screenpipe-mcp/bun.lock b/packages/screenpipe-mcp/bun.lockindex 1c6888842..4f7a739bb 100644--- a/packages/screenpipe-mcp/bun.lock+++ b/packages/screenpipe-mcp/bun.lock@@ -5,9 +5,11 @@"": {"name": "screenpipe-mcp","devDependencies": {+ "@anthropic-ai/mcpb": "2.1.2","@modelcontextprotocol/sdk": "^1.27.1","@sentry/node": "^10.64.0","@types/node": "^25.3.5",+ "fflate": "0.8.2","ts-node": "^10.9.2","typescript": "^5.9.3","vitest": "^4.0.18",@@ -15,6 +17,8 @@},},"packages": {+ "@anthropic-ai/mcpb": ["@anthropic-ai/[email protected]", "", { "dependencies": { "@inquirer/prompts": "^6.0.1", "commander": "^13.1.0", "fflate": "^0.8.2", "galactus": "^1.0.0", "ignore": "^7.0.5", "node-forge": "^1.3.2", "pretty-bytes": "^5.6.0", "zod": "^3.25.67", "zod-to-json-schema": "^3.24.6" }, "bin": { "mcpb": "dist/cli/cli.js" } }, "sha512-goRbBC8ySo7SWb7tRzr+tL6FxDc4JPTRCdgfD2omba7freofvjq5rom1lBnYHZHo6Mizs1jAHJeN53aZbDoy8A=="],+"@apm-js-collab/code-transformer": ["@apm-js-collab/[email protected]", "", { "dependencies": { "@types/estree": "^1.0.8", "astring": "^1.9.0", "esquery": "^1.7.0", "meriyah": "^6.1.4", "semifies": "^1.0.0", "source-map": "^0.6.0" }, "bin": { "code-transformer": "cli.js" } }, "sha512-XmXYVs8CzJ1Aj79noVbn2weUO/XWtRyURpGqx7aU7DOXlUQhR0WKOQNF0okh7PCeY37vxf7kU3v57OAkEPm3ww=="],"@apm-js-collab/code-transformer-bundler-plugins": ["@apm-js-collab/[email protected]", "", { "dependencies": { "@apm-js-collab/code-transformer": "^0.15.0", "es-module-lexer": "^2.1.0", "magic-string": "^0.30.21", "module-details-from-path": "^1.0.4" } }, "sha512-YxLBY5nGlurL7QeJLq6e5g0ouBpAp0pwgyA/5rHXEXwhiPLn9ZHbT+Y2LlP90GT872cSocfjWRYu/fnpuBudNQ=="],@@ -77,6 +81,34 @@"@hono/node-server": ["@hono/[email protected]", "", { "peerDependencies": { "hono": "^4" } }, "sha512-vHL6w3ecZsky+8P5MD+eFfaGTyCeOHUIFYMGpQGbrBTSmNNoxv0if69rEZ5giu36weC5saFuznL411gRX7bJDw=="],+ "@inquirer/checkbox": ["@inquirer/[email protected]", "", { "dependencies": { "@inquirer/core": "^9.2.1", "@inquirer/figures": "^1.0.6", "@inquirer/type": "^2.0.0", "ansi-escapes": "^4.3.2", "yoctocolors-cjs": "^2.1.2" } }, "sha512-0hm2nrToWUdD6/UHnel/UKGdk1//ke5zGUpHIvk5ZWmaKezlGxZkOJXNSWsdxO/rEqTkbB3lNC2J6nBElV2aAQ=="],++ "@inquirer/confirm": ["@inquirer/[email protected]", "", { "dependencies": { "@inquirer/core": "^9.2.1", "@inquirer/type": "^2.0.0" } }, "sha512-46yL28o2NJ9doViqOy0VDcoTzng7rAb6yPQKU7VDLqkmbCaH4JqK4yk4XqlzNWy9PVC5pG1ZUXPBQv+VqnYs2w=="],++ "@inquirer/core": ["@inquirer/[email protected]", "", { "dependencies": { "@inquirer/figures": "^1.0.6", "@inquirer/type": "^2.0.0", "@types/mute-stream": "^0.0.4", "@types/node": "^22.5.5", "@types/wrap-ansi": "^3.0.0", "ansi-escapes": "^4.3.2", "cli-width": "^4.1.0", "mute-stream": "^1.0.0", "signal-exit": "^4.1.0", "strip-ansi": "^6.0.1", "wrap-ansi": "^6.2.0", "yoctocolors-cjs": "^2.1.2" } }, "sha512-F2VBt7W/mwqEU4bL0RnHNZmC/OxzNx9cOYxHqnXX3MP6ruYvZUZAW9imgN9+h/uBT/oP8Gh888J2OZSbjSeWcg=="],++ "@inquirer/editor": ["@inquirer/[email protected]", "", { "dependencies": { "@inquirer/core": "^9.2.1", "@inquirer/type": "^2.0.0", "external-editor": "^3.1.0" } }, "sha512-VA96GPFaSOVudjKFraokEEmUQg/Lub6OXvbIEZU1SDCmBzRkHGhxoFAVaF30nyiB4m5cEbDgiI2QRacXZ2hw9Q=="],++ "@inquirer/expand": ["@inquirer/[email protected]", "", { "dependencies": { "@inquirer/core": "^9.2.1", "@inquirer/type": "^2.0.0", "yoctocolors-cjs": "^2.1.2" } }, "sha512-ToG8d6RIbnVpbdPdiN7BCxZGiHOTomOX94C2FaT5KOHupV40tKEDozp12res6cMIfRKrXLJyexAZhWVHgbALSQ=="],++ "@inquirer/figures": ["@inquirer/[email protected]", "", {}, "sha512-t2IEY+unGHOzAaVM5Xx6DEWKeXlDDcNPeDyUpsRc6CUhBfU3VQOEl+Vssh7VNp1dR8MdUJBWhuObjXCsVpjN5g=="],++ "@inquirer/input": ["@inquirer/[email protected]", "", { "dependencies": { "@inquirer/core": "^9.2.1", "@inquirer/type": "^2.0.0" } }, "sha512-BDuPBmpvi8eMCxqC5iacloWqv+5tQSJlUafYWUe31ow1BVXjW2a5qe3dh4X/Z25Wp22RwvcaLCc2siHobEOfzg=="],++ "@inquirer/number": ["@inquirer/[email protected]", "", { "dependencies": { "@inquirer/core": "^9.2.1", "@inquirer/type": "^2.0.0" } }, "sha512-QpR8jPhRjSmlr/mD2cw3IR8HRO7lSVOnqUvQa8scv1Lsr3xoAMMworcYW3J13z3ppjBFBD2ef1Ci6AE5Qn8goQ=="],++ "@inquirer/password": ["@inquirer/[email protected]", "", { "dependencies": { "@inquirer/core": "^9.2.1", "@inquirer/type": "^2.0.0", "ansi-escapes": "^4.3.2" } }, "sha512-haoeEPUisD1NeE2IanLOiFr4wcTXGWrBOyAyPZi1FfLJuXOzNmxCJPgUrGYKVh+Y8hfGJenIfz5Wb/DkE9KkMQ=="],++ "@inquirer/prompts": ["@inquirer/[email protected]", "", { "dependencies": { "@inquirer/checkbox": "^3.0.1", "@inquirer/confirm": "^4.0.1", "@inquirer/editor": "^3.0.1", "@inquirer/expand": "^3.0.1", "@inquirer/input": "^3.0.1", "@inquirer/number": "^2.0.1", "@inquirer/password": "^3.0.1", "@inquirer/rawlist": "^3.0.1", "@inquirer/search": "^2.0.1", "@inquirer/select": "^3.0.1" } }, "sha512-yl43JD/86CIj3Mz5mvvLJqAOfIup7ncxfJ0Btnl0/v5TouVUyeEdcpknfgc+yMevS/48oH9WAkkw93m7otLb/A=="],++ "@inquirer/rawlist": ["@inquirer/[email protected]", "", { "dependencies": { "@inquirer/core": "^9.2.1", "@inquirer/type": "^2.0.0", "yoctocolors-cjs": "^2.1.2" } }, "sha512-VgRtFIwZInUzTiPLSfDXK5jLrnpkuSOh1ctfaoygKAdPqjcjKYmGh6sCY1pb0aGnCGsmhUxoqLDUAU0ud+lGXQ=="],++ "@inquirer/search": ["@inquirer/[email protected]", "", { "dependencies": { "@inquirer/core": "^9.2.1", "@inquirer/figures": "^1.0.6", "@inquirer/type": "^2.0.0", "yoctocolors-cjs": "^2.1.2" } }, "sha512-r5hBKZk3g5MkIzLVoSgE4evypGqtOannnB3PKTG9NRZxyFRKcfzrdxXXPcoJQsxJPzvdSU2Rn7pB7lw0GCmGAg=="],++ "@inquirer/select": ["@inquirer/[email protected]", "", { "dependencies": { "@inquirer/core": "^9.2.1", "@inquirer/figures": "^1.0.6", "@inquirer/type": "^2.0.0", "ansi-escapes": "^4.3.2", "yoctocolors-cjs": "^2.1.2" } }, "sha512-lUDGUxPhdWMkN/fHy1Lk7pF3nK1fh/gqeyWXmctefhxLYxlDsc7vsPBEpxrfVGDsVdyYJsiJoD4bJ1b623cV1Q=="],++ "@inquirer/type": ["@inquirer/[email protected]", "", { "dependencies": { "mute-stream": "^1.0.0" } }, "sha512-XvJRx+2KR3YXyYtPUUy+qd9i7p+GO9Ko6VIIpWlBrpWwXDv8WLFeHTxz35CfQFUiBMLXlGHhGzys7lqit9gWag=="],+"@jridgewell/resolve-uri": ["@jridgewell/[email protected]", "", {}, "sha512-bRISgCIjP20/tbWSPWMEi54QVPRZExkuD9lJL+UIxUKtwVJA8wW1Trb1jMs1RFXo1CBTNZ/5hpC9QvmKWdopKw=="],"@jridgewell/sourcemap-codec": ["@jridgewell/[email protected]", "", {}, "sha512-cYQ9310grqxueWbl+WuIUIaiUaDcj7WOq5fVhEljNVgRfOUhY9fy2zTvfoqWsnebh8Sl70VScFbICvJnLKB0Og=="],@@ -179,8 +211,12 @@"@types/estree": ["@types/[email protected]", "", {}, "sha512-dWHzHa2WqEXI/O1E9OjrocMTKJl2mSrEolh1Iomrv6U+JuNwaHXsXx9bLu5gG7BUWFIN0skIQJQ/L1rIex4X6w=="],+ "@types/mute-stream": ["@types/[email protected]", "", { "dependencies": { "@types/node": "*" } }, "sha512-CPM9nzrCPPJHQNA9keH9CVkVI+WR5kMa+7XEs5jcGQ0VoAGnLv242w8lIVgwAEfmE4oufJRaTc9PNLQl0ioAow=="],+"@types/node": ["@types/[email protected]", "", { "dependencies": { "undici-types": "~7.18.0" } }, "sha512-oX8xrhvpiyRCQkG1MFchB09f+cXftgIXb3a7UUa4Y3wpmZPw5tyZGTLWhlESOLq1Rq6oDlc8npVU2/9xiCuXMA=="],+ "@types/wrap-ansi": ["@types/[email protected]", "", {}, "sha512-ltIpx+kM7g/MLRZfkbL7EsCEjfzCcScLpkg37eXEtx5kmrAKBkTJwd1GIAjDSL8wTpM6Hzn5YO4pSb91BEwu1g=="],+"@vitest/expect": ["@vitest/[email protected]", "", { "dependencies": { "@standard-schema/spec": "^1.0.0", "@types/chai": "^5.2.2", "@vitest/spy": "4.0.18", "@vitest/utils": "4.0.18", "chai": "^6.2.1", "tinyrainbow": "^3.0.3" } }, "sha512-8sCWUyckXXYvx4opfzVY03EOiYVxyNrHS5QxX3DAIi5dpJAAkyJezHCP77VMX4HKA2LDT/Jpfo8i2r5BE3GnQQ=="],"@vitest/mocker": ["@vitest/[email protected]", "", { "dependencies": { "@vitest/spy": "4.0.18", "estree-walker": "^3.0.3", "magic-string": "^0.30.21" }, "peerDependencies": { "msw": "^2.4.9", "vite": "^6.0.0 || ^7.0.0-0" }, "optionalPeers": ["msw", "vite"] }, "sha512-HhVd0MDnzzsgevnOWCBj5Otnzobjy5wLBe4EdeeFGv8luMsGcYqDuFRMcttKWZA5vVO8RFjexVovXvAM4JoJDQ=="],@@ -205,6 +241,12 @@"ajv-formats": ["[email protected]", "", { "dependencies": { "ajv": "^8.0.0" }, "peerDependencies": { "ajv": "^8.0.0" } }, "sha512-8iUql50EUR+uUcdRQ3HDqa6EVyo3docL8g5WJ3FNcWmu62IbkGUue/pEyLBW8VGKKucTPgqeks4fIU1DA4yowQ=="],+ "ansi-escapes": ["[email protected]", "", { "dependencies": { "type-fest": "^0.21.3" } }, "sha512-gKXj5ALrKWQLsYG9jlTRmR/xKluxHV+Z9QEwNIgCfM1/uwPMCuzVVnh5mwTd+OuBZcwSIMbqssNWRm1lE51QaQ=="],++ "ansi-regex": ["[email protected]", "", {}, "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ=="],++ "ansi-styles": ["[email protected]", "", { "dependencies": { "color-convert": "^2.0.1" } }, "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg=="],+"arg": ["[email protected]", "", {}, "sha512-58S9QDqG0Xx27YwPSt9fJxivjYl432YCwfDMfZ+71RAqUrZef7LrKQZ3LHLOwCS4FLNBplP533Zx895SeOCHvA=="],"assertion-error": ["[email protected]", "", {}, "sha512-Izi8RQcffqCeNVgFigKli1ssklIbpHnCYc6AknXGYoB6grJqyeby7jv12JUQgmTAnIDnbck1uxksT4dzN3PWBA=="],@@ -221,8 +263,18 @@"chai": ["[email protected]", "", {}, "sha512-NUPRluOfOiTKBKvWPtSD4PhFvWCqOi0BGStNWs57X9js7XGTprSmFoz5F0tWhR4WPjNeR9jXqdC7/UpSJTnlRg=="],+ "chardet": ["[email protected]", "", {}, "sha512-mT8iDcrh03qDGRRmoA2hmBJnxpllMR+0/0qlzjqZES6NdiWDcZkCNAk4rPFZ9Q85r27unkiNNg8ZOiwZXBHwcA=="],+"cjs-module-lexer": ["[email protected]", "", {}, "sha512-4bHTS2YuzUvtoLjdy+98ykbNB5jS0+07EvFNXerqZQJ89F7DI6ET7OQo/HJuW6K0aVsKA9hj9/RVb2kQVOrPDQ=="],+ "cli-width": ["[email protected]", "", {}, "sha512-ouuZd4/dm2Sw5Gmqy6bGyNNNe1qt9RpmxveLSO7KcgsTnU7RXfsw+/bukWGo1abgBiMAic068rclZsO4IWmmxQ=="],++ "color-convert": ["[email protected]", "", { "dependencies": { "color-name": "~1.1.4" } }, "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ=="],++ "color-name": ["[email protected]", "", {}, "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA=="],++ "commander": ["[email protected]", "", {}, "sha512-/rFeCpNJQbhSZjGVwO9RFV3xPqbnERS8MmIQzCtD/zl6gpJuV/bMLuN92oG3F7d8oDEHHRrujSXNUr8fpjntKw=="],+"content-disposition": ["[email protected]", "", {}, "sha512-oIXISMynqSqm241k6kcQ5UwttDILMK4BiurCfGEREw6+X9jkkpEe5T9FZaApyLGGOnFuyMWZpdolTXMtvEJ08Q=="],"content-type": ["[email protected]", "", {}, "sha512-nTjqfcBFEipKdXCv4YDQWCfmcLZKm81ldF0pAopTvyrFGVbcR6P/VAAd5G7N+0tTr8QqiU0tFadD6FK4NtJwOA=="],@@ -247,6 +299,8 @@"ee-first": ["[email protected]", "", {}, "sha512-WMwm9LhRUo+WUaRN+vRuETqG89IgZphVSNkdFgeb6sS/E4OrDIN7t48CAewSHXc6C8lefD8KKfr5vY61brQlow=="],+ "emoji-regex": ["[email protected]", "", {}, "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A=="],+"encodeurl": ["[email protected]", "", {}, "sha512-Q0n9HRi4m6JuGIV1eFlmvJB7ZEVxu93IrMyiMsGC0lrMJMWzRgx6WGquyfQgZVb31vhGgXnfmPNNXmxnOkRBrg=="],"es-define-property": ["[email protected]", "", {}, "sha512-e3nRfgfUZ4rNGL232gUgX06QNyyez04KdjFrF+LTRoOXmrOgFKDg4BCdsjW8EnT69eqdYGmRpJwiPVYNrCaW3g=="],@@ -279,28 +333,40 @@"express-rate-limit": ["[email protected]", "", { "dependencies": { "ip-address": "10.1.0" }, "peerDependencies": { "express": ">= 4.11" } }, "sha512-KJzBawY6fB9FiZGdE/0aftepZ91YlaGIrV8vgblRM3J8X+dHx/aiowJWwkx6LIGyuqGiANsjSwwrbb8mifOJ4Q=="],+ "external-editor": ["[email protected]", "", { "dependencies": { "chardet": "^0.7.0", "iconv-lite": "^0.4.24", "tmp": "^0.0.33" } }, "sha512-hMQ4CX1p1izmuLYyZqLMO/qGNw10wSv9QDCPfzXfyFrOaCSSoRfqE1Kf1s5an66J5JZC62NewG+mK49jOCtQew=="],+"fast-deep-equal": ["[email protected]", "", {}, "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q=="],"fast-uri": ["[email protected]", "", {}, "sha512-iPeeDKJSWf4IEOasVVrknXpaBV0IApz/gp7S2bb7Z4Lljbl2MGJRqInZiUrQwV16cpzw/D3S5j5Julj/gT52AA=="],"fdir": ["[email protected]", "", { "peerDependencies": { "picomatch": "^3 || ^4" }, "optionalPeers": ["picomatch"] }, "sha512-tIbYtZbucOs0BRGqPJkshJUYdL+SDH7dVM8gjy+ERp3WAUjLEFJE+02kanyHtwjWOnwrKYBiwAmM0p4kLJAnXg=="],+ "fflate": ["[email protected]", "", {}, "sha512-cPJU47OaAoCbg0pBvzsgpTPhmhqI5eJjh/JIu8tPj5q+T7iLvW/JAYUqmE7KOB4R1ZyEhzBaIQpQpardBF5z8A=="],+"finalhandler": ["[email protected]", "", { "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" } }, "sha512-S8KoZgRZN+a5rNwqTxlZZePjT/4cnm0ROV70LedRHZ0p8u9fRID0hJUZQpkKLzro8LfmC8sx23bY6tVNxv8pQA=="],+ "flora-colossus": ["[email protected]", "", { "dependencies": { "debug": "^4.3.4", "fs-extra": "^10.1.0" } }, "sha512-dz4HxH6pOvbUzZpZ/yXhafjbR2I8cenK5xL0KtBFb7U2ADsR+OwXifnxZjij/pZWF775uSCMzWVd+jDik2H2IA=="],+"forwarded": ["[email protected]", "", {}, "sha512-buRG0fpBtRHSTCOASe6hD258tEubFoRLb4ZNA6NxMVHNw2gOcwHo9wyablzMzOA5z9xA9L1KNjk/Nt6MT9aYow=="],"fresh": ["[email protected]", "", {}, "sha512-Rx/WycZ60HOaqLKAi6cHRKKI7zxWbJ31MhntmtwMoaTeF7XFH9hhBp8vITaMidfljRQ6eYWCKkaTK+ykVJHP2A=="],+ "fs-extra": ["[email protected]", "", { "dependencies": { "graceful-fs": "^4.2.0", "jsonfile": "^6.0.1", "universalify": "^2.0.0" } }, "sha512-oRXApq54ETRj4eMiFzGnHWGy+zo5raudjuxN0b8H7s/RU2oW0Wvsx9O0ACRN/kRq9E8Vu/ReskGB5o3ji+FzHQ=="],+"fsevents": ["[email protected]", "", { "os": "darwin" }, "sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw=="],"function-bind": ["[email protected]", "", {}, "sha512-7XHNxH7qX9xG5mIwxkhumTox/MIRNcOgDrxWsMt2pAr23WHp6MrRlN7FBSFpCpr+oVO0F744iUgR82nJMfG2SA=="],+ "galactus": ["[email protected]", "", { "dependencies": { "debug": "^4.3.4", "flora-colossus": "^2.0.0", "fs-extra": "^10.1.0" } }, "sha512-R1fam6D4CyKQGNlvJne4dkNF+PvUUl7TAJInvTGa9fti9qAv95quQz29GXapA4d8Ec266mJJxFVh82M4GIIGDQ=="],+"get-intrinsic": ["[email protected]", "", { "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" } }, "sha512-9fSjSaos/fRIVIp+xSJlE6lfwhES7LNtKaCBIamHsjr2na1BiABJPo0mOjjz8GJDURarmCPGqaiVg5mfjb98CQ=="],"get-proto": ["[email protected]", "", { "dependencies": { "dunder-proto": "^1.0.1", "es-object-atoms": "^1.0.0" } }, "sha512-sTSfBjoXBp89JvIKIefqw7U2CCebsc74kiY6awiGogKtoSGbgjYE/G/+l9sF3MWFPNc9IcoOC4ODfKHfxFmp0g=="],"gopd": ["[email protected]", "", {}, "sha512-ZUKRh6/kUFoAiTAtTYPZJ3hw9wNxx+BIBOijnlG9PnrJsCcSjs1wyyD6vJpaYtgnzDrKYRSqf3OO6Rfa93xsRg=="],+ "graceful-fs": ["[email protected]", "", {}, "sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ=="],+"has-symbols": ["[email protected]", "", {}, "sha512-1cDNdwJ2Jaohmb3sg4OmKaMBwuC48sYni5HUw2DvsC8LjGTLK9h+eb1X6RyuOHe4hT0ULCW68iomhjUoKUqlPQ=="],"hasown": ["[email protected]", "", { "dependencies": { "function-bind": "^1.1.2" } }, "sha512-0hJU9SCPvmMzIBdZFqNPXWa6dqh7WdH0cII9y+CyS8rG3nL48Bclra9HmKhVVUHyPWNH5Y7xDwAB7bfgSjkUMQ=="],@@ -311,6 +377,8 @@"iconv-lite": ["[email protected]", "", { "dependencies": { "safer-buffer": ">= 2.1.2 < 3.0.0" } }, "sha512-im9DjEDQ55s9fL4EYzOAv0yMqmMBSZp6G0VvFyTMPKWxiSBHUj9NW/qqLmXUwXrrM7AvqSlTCfvqRb0cM8yYqw=="],+ "ignore": ["[email protected]", "", {}, "sha512-HpbUakT7xp5miBUywCHf36ZEuAJNklBJDDsGpUIjMzOSmM8ELSfA9Sa/QDPeNeqeoN31u+UTCkL4klCOVvRm4Q=="],+"import-in-the-middle": ["[email protected]", "", { "dependencies": { "cjs-module-lexer": "^2.2.0", "es-module-lexer": "^2.2.0", "module-details-from-path": "^1.0.4" } }, "sha512-0rymlHSFLwZ0ixx8DaQkoIyZojJPY2a0K2nEYslhKJ6jIYO/m0IcCb7iQsFPmS7WmKwISZiIrv5Icstrw/CmqA=="],"inherits": ["[email protected]", "", {}, "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ=="],@@ -319,6 +387,8 @@"ipaddr.js": ["[email protected]", "", {}, "sha512-0KI/607xoxSToH7GjN1FfSbLoU0+btTicjsQSWQlh/hZykN8KpmMf7uYwPW3R+akZ6R/w18ZlXSHBYXiYUPO3g=="],+ "is-fullwidth-code-point": ["[email protected]", "", {}, "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg=="],+"is-promise": ["[email protected]", "", {}, "sha512-hvpoI6korhJMnej285dSg6nu1+e6uxs7zG3BYAm5byqDsgJNWwxzM6z6iZiAgQR4TJ30JmBTOwqZUw3WlyH3AQ=="],"isexe": ["[email protected]", "", {}, "sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw=="],@@ -329,6 +399,8 @@"json-schema-typed": ["[email protected]", "", {}, "sha512-fQhoXdcvc3V28x7C7BMs4P5+kNlgUURe2jmUT1T//oBRMDrqy1QPelJimwZGo7Hg9VPV3EQV5Bnq4hbFy2vetA=="],+ "jsonfile": ["[email protected]", "", { "dependencies": { "universalify": "^2.0.0" }, "optionalDependencies": { "graceful-fs": "^4.1.6" } }, "sha512-zwOTdL3rFQ/lRdBnntKVOX6k5cKJwEc1HdilT71BWEu7J41gXIB2MRp+vxduPSwZJPWBxEzv4yH1wYLJGUHX4Q=="],+"magic-string": ["[email protected]", "", { "dependencies": { "@jridgewell/sourcemap-codec": "^1.5.5" } }, "sha512-vd2F4YUyEXKGcLHoq+TEyCjxueSeHnFxyyjNp80yg0XV4vUhnDer/lvvlqM/arB5bXQN5K2/3oinyCRyx8T2CQ=="],"make-error": ["[email protected]", "", {}, "sha512-s8UhlNe7vPKomQhC1qFelMokr/Sc3AgNbso3n74mVPA5LTZwkB9NlXf4XPamLxJE8h0gh73rM94xvwRT2CVInw=="],@@ -349,10 +421,14 @@"ms": ["[email protected]", "", {}, "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA=="],+ "mute-stream": ["[email protected]", "", {}, "sha512-avsJQhyd+680gKXyG/sQc0nXaC6rBkPOfyHYcFb9+hdkqQkR9bdnkJ0AMZhke0oesPqIO+mFFJ+IdBc7mst4IA=="],+"nanoid": ["[email protected]", "", { "bin": "bin/nanoid.cjs" }, "sha512-N8SpfPUnUp1bK+PMYW8qSWdl9U+wwNWI4QKxOYDy9JAro3WMX7p2OeVRF9v+347pnakNevPmiHhNmZ2HbFA76w=="],"negotiator": ["[email protected]", "", {}, "sha512-8Ofs/AUQh8MaEcrlq5xOX0CQ9ypTF5dl78mjlMNfOK08fzpgTHQRQPBxcPlEtIw0yRpws+Zo/3r+5WRby7u3Gg=="],+ "node-forge": ["[email protected]", "", {}, "sha512-LarFH0+6VfriEhqMMcLX2F7SwSXeWwnEAJEsYm5QKWchiVYVvJyV9v7UDvUv+w5HO23ZpQTXDv/GxdDdMyOuoQ=="],+"object-assign": ["[email protected]", "", {}, "sha512-rJgTQnkUnH1sFw8yT6VSU3zD3sWmu6sZhIseY8VX+GRu3P6F7Fu+JNDoXfklElbLJSnc3FUQHVe4cU5hj+BcUg=="],"object-inspect": ["[email protected]", "", {}, "sha512-W67iLl4J2EXEGTbfeHCffrjDfitvLANg0UlX3wFUUSTx92KXRFegMHUVgSqE+wvhAbi4WqjGg9czysTV2Epbew=="],@@ -363,6 +439,8 @@"once": ["[email protected]", "", { "dependencies": { "wrappy": "1" } }, "sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w=="],+ "os-tmpdir": ["[email protected]", "", {}, "sha512-D2FR03Vir7FIu45XBY20mTb+/ZSWB00sjU9jdQXt83gDrI4Ztz5Fs7/yy74g2N5SVQY4xY1qDr4rNddwYRVX0g=="],+"parseurl": ["[email protected]", "", {}, "sha512-CiyeOxFT/JZyN5m0z9PfXw4SCBJ6Sygz1Dpl0wqjlhDEGGBP1GnsUVEL0p63hoG1fcj3fHynXi9NYO4nWOL+qQ=="],"path-key": ["[email protected]", "", {}, "sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q=="],@@ -379,6 +457,8 @@"postcss": ["[email protected]", "", { "dependencies": { "nanoid": "^3.3.11", "picocolors": "^1.1.1", "source-map-js": "^1.2.1" } }, "sha512-3Ybi1tAuwAP9s0r1UQ2J4n5Y0G05bJkpUIO0/bI9MhwmD70S5aTWbXGBwxHrelT+XM1k6dM0pk+SwNkpTRN7Pg=="],+ "pretty-bytes": ["[email protected]", "", {}, "sha512-FFw039TmrBqFK8ma/7OL3sDz/VytdtJr044/QUJtH0wK9lb9jLq9tJyIxUwtQJHwar2BqtiA4iCWSwo9JLkzFg=="],+"proxy-addr": ["[email protected]", "", { "dependencies": { "forwarded": "0.2.0", "ipaddr.js": "1.9.1" } }, "sha512-llQsMLSUDUPT44jdrU/O37qlnifitDP+ZwrmmZcoSKyLKvtZxpyV0n2/bD/N4tBAAZ/gJEdZU7KMraoK1+XYAg=="],"qs": ["[email protected]", "", { "dependencies": { "side-channel": "^1.1.0" } }, "sha512-4EK3+xJl8Ts67nLYNwqw/dsFVnCf+qR7RgXSK9jEEm9unao3njwMDdmsdvoKBKHzxd7tCYz5e5M+SnMjdtXGQQ=="],@@ -419,6 +499,8 @@"siginfo": ["[email protected]", "", {}, "sha512-ybx0WO1/8bSBLEWXZvEd7gMW3Sn3JFlW3TvX1nREbDLRNQNaeNN8WK0meBwPdAaOI7TtRRRJn/Es1zhrrCHu7g=="],+ "signal-exit": ["[email protected]", "", {}, "sha512-bzyZ1e88w9O1iNJbKnOlvYTrWPDl46O1bG0D3XInv+9tkPrxrN8jUUTiFlDkkmKWgn1M6CfIA13SuGqOa9Korw=="],+"source-map": ["[email protected]", "", {}, "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g=="],"source-map-js": ["[email protected]", "", {}, "sha512-UXWMKhLOwVKb728IUtQPXxfYU+usdybtUrK/8uGE8CQMvrhOpwvzDBwj0QhSL7MQc7vIsISBG8VQ8+IDQxpfQA=="],@@ -429,6 +511,10 @@"std-env": ["[email protected]", "", {}, "sha512-5GS12FdOZNliM5mAOxFRg7Ir0pWz8MdpYm6AY6VPkGpbA7ZzmbzNcBJQ0GPvvyWgcY7QAhCgf9Uy89I03faLkg=="],+ "string-width": ["[email protected]", "", { "dependencies": { "emoji-regex": "^8.0.0", "is-fullwidth-code-point": "^3.0.0", "strip-ansi": "^6.0.1" } }, "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g=="],++ "strip-ansi": ["[email protected]", "", { "dependencies": { "ansi-regex": "^5.0.1" } }, "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A=="],+"tinybench": ["[email protected]", "", {}, "sha512-0+DUvqWMValLmha6lr4kD8iAMK1HzV0/aKnCtWb9v9641TnP/MFb7Pc2bxoxQjTXAErryXVgUOfv2YqNllqGeg=="],"tinyexec": ["[email protected]", "", {}, "sha512-W/KYk+NFhkmsYpuHq5JykngiOCnxeVL8v8dFnqxSD8qEEdRfXk1SDM6JzNqcERbcGYj9tMrDQBYV9cjgnunFIg=="],@@ -437,16 +523,22 @@"tinyrainbow": ["[email protected]", "", {}, "sha512-PSkbLUoxOFRzJYjjxHJt9xro7D+iilgMX/C9lawzVuYiIdcihh9DXmVibBe8lmcFrRi/VzlPjBxbN7rH24q8/Q=="],+ "tmp": ["[email protected]", "", { "dependencies": { "os-tmpdir": "~1.0.2" } }, "sha512-jRCJlojKnZ3addtTOjdIqoRuPEKBvNXcGYqzO6zWZX8KfKEpnGY5jfggJQ3EjKuu8D4bJRr0y+cYJFmYbImXGw=="],+"toidentifier": ["[email protected]", "", {}, "sha512-o5sSPKEkg/DIQNmH43V0/uerLrpzVedkUh8tGNvaeXpfpuwjKenlSox/2O/BTlZUtEe+JG7s5YhEz608PlAHRA=="],"ts-node": ["[email protected]", "", { "dependencies": { "@cspotcode/source-map-support": "^0.8.0", "@tsconfig/node10": "^1.0.7", "@tsconfig/node12": "^1.0.7", "@tsconfig/node14": "^1.0.0", "@tsconfig/node16": "^1.0.2", "acorn": "^8.4.1", "acorn-walk": "^8.1.1", "arg": "^4.1.0", "create-require": "^1.1.0", "diff": "^4.0.1", "make-error": "^1.1.1", "v8-compile-cache-lib": "^3.0.1", "yn": "3.1.1" }, "peerDependencies": { "@swc/core": ">=1.2.50", "@swc/wasm": ">=1.2.50", "@types/node": "*", "typescript": ">=2.7" }, "optionalPeers": ["@swc/core", "@swc/wasm"], "bin": { "ts-node": "dist/bin.js", "ts-node-cwd": "dist/bin-cwd.js", "ts-node-esm": "dist/bin-esm.js", "ts-node-script": "dist/bin-script.js", "ts-node-transpile-only": "dist/bin-transpile.js", "ts-script": "dist/bin-script-deprecated.js" } }, "sha512-f0FFpIdcHgn8zcPSbf1dRevwt047YMnaiJM3u2w2RewrB+fob/zePZcrOyQoLMMO7aBIddLcQIEK5dYjkLnGrQ=="],+ "type-fest": ["[email protected]", "", {}, "sha512-t0rzBq87m3fVcduHDUFhKmyyX+9eo6WQjZvf51Ea/M0Q7+T374Jp1aUiyUl0GKxp8M/OETVHSDvmkyPgvX+X2w=="],+"type-is": ["[email protected]", "", { "dependencies": { "content-type": "^1.0.5", "media-typer": "^1.1.0", "mime-types": "^3.0.0" } }, "sha512-OZs6gsjF4vMp32qrCbiVSkrFmXtG/AZhY3t0iAMrMBiAZyV9oALtXO8hsrHbMXF9x6L3grlFuwW2oAz7cav+Gw=="],"typescript": ["[email protected]", "", { "bin": { "tsc": "bin/tsc", "tsserver": "bin/tsserver" } }, "sha512-jl1vZzPDinLr9eUt3J/t7V6FgNEw9QjvBPdysz9KfQDD41fQrC2Y4vKQdiaUpFT4bXlb1RHhLpp8wtm6M5TgSw=="],"undici-types": ["[email protected]", "", {}, "sha512-AsuCzffGHJybSaRrmr5eHr81mwJU3kjw6M+uprWvCXiNeN9SOGwQ3Jn8jb8m3Z6izVgknn1R0FTCEAP2QrLY/w=="],+ "universalify": ["[email protected]", "", {}, "sha512-gptHNQghINnc/vTGIk0SOFGFNXw7JVrlRUtConJRlvaw6DuX0wO5Jeko9sWrMBhh+PsYAZ7oXAiOnf/UKogyiw=="],+"unpipe": ["[email protected]", "", {}, "sha512-pjy2bYhSsufwWlKwPc+l3cN7+wuJlK6uz0YdJEOlQDbl6jo/YlPi4mb8agUkVC8BF7V8NuzeyPNqRksA3hztKQ=="],"v8-compile-cache-lib": ["[email protected]", "", {}, "sha512-wa7YjyUGfNZngI/vtK0UHAN+lgDCxBPCylVXGp0zu59Fz5aiGtNXaq3DhIov063MorB+VfufLh3JlF2KdTK3xg=="],@@ -461,16 +553,28 @@"why-is-node-running": ["[email protected]", "", { "dependencies": { "siginfo": "^2.0.0", "stackback": "0.0.2" }, "bin": "cli.js" }, "sha512-hUrmaWBdVDcxvYqnyh09zunKzROWjbZTiNy8dBEjkS7ehEDQibXJ7XvlmtbwuTclUiIyN+CyXQD4Vmko8fNm8w=="],+ "wrap-ansi": ["[email protected]", "", { "dependencies": { "ansi-styles": "^4.0.0", "string-width": "^4.1.0", "strip-ansi": "^6.0.0" } }, "sha512-r6lPcBGxZXlIcymEu7InxDMhdW0KDxpLgoFLcguasxCaJ/SOIZwINatK9KY/tf+ZrlywOKU0UDj3ATXUBfxJXA=="],+"wrappy": ["[email protected]", "", {}, "sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ=="],"yn": ["[email protected]", "", {}, "sha512-Ux4ygGWsu2c7isFWe8Yu1YluJmqVhxqK2cLXNQA5AcC3QfbGNpM7fu0Y8b/z16pXLnFxZYvWhd3fhBY9DLmC6Q=="],- "zod": ["[email protected]", "", {}, "sha512-k7Nwx6vuWx1IJ9Bjuf4Zt1PEllcwe7cls3VNzm4CQ1/hgtFUK2bRNG3rvnpPUhFjmqJKAKtjV576KnUkHocg/g=="],+ "yoctocolors-cjs": ["[email protected]", "", {}, "sha512-U/PBtDf35ff0D8X8D0jfdzHYEPFxAI7jJlxZXwCSez5M3190m+QobIfh+sWDWSHMCWWJN2AWamkegn6vr6YBTw=="],++ "zod": ["[email protected]", "", {}, "sha512-gzUt/qt81nXsFGKIFcC3YnfEAx5NkunCfnDlvuBSSFS02bcXu4Lmea0AFIUwbLWxWPx3d9p8S5QoaujKcNQxcQ=="],"zod-to-json-schema": ["[email protected]", "", { "peerDependencies": { "zod": "^3.25 || ^4" } }, "sha512-pM/SU9d3YAggzi6MtR4h7ruuQlqKtad8e9S0fmxcMi+ueAK5Korys/aWcV9LIIHTVbj01NdzxcnXSN+O74ZIVA=="],"@apm-js-collab/code-transformer-bundler-plugins/es-module-lexer": ["[email protected]", "", {}, "sha512-KLdwQm2NvGLDkQDCGvmiQrhkd0JbMzXthwQAUgWjQuQdBLFa3eiBP5arXZyA+f8x+x7OXgud6bq2rxjGtHV2tw=="],+ "@inquirer/core/@types/node": ["@types/[email protected]", "", { "dependencies": { "undici-types": "~6.21.0" } }, "sha512-zJRE40jpHtKqE/C4fgHrAKQLJuSpzEnP9ff9Y7YtoR3Wd2pwqzlekDeEuUQXjRd+QCYnVnNwuJYmhdk9XV8gvA=="],++ "@modelcontextprotocol/sdk/zod": ["[email protected]", "", {}, "sha512-k7Nwx6vuWx1IJ9Bjuf4Zt1PEllcwe7cls3VNzm4CQ1/hgtFUK2bRNG3rvnpPUhFjmqJKAKtjV576KnUkHocg/g=="],++ "external-editor/iconv-lite": ["[email protected]", "", { "dependencies": { "safer-buffer": ">= 2.1.2 < 3" } }, "sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA=="],+"import-in-the-middle/es-module-lexer": ["[email protected]", "", {}, "sha512-KLdwQm2NvGLDkQDCGvmiQrhkd0JbMzXthwQAUgWjQuQdBLFa3eiBP5arXZyA+f8x+x7OXgud6bq2rxjGtHV2tw=="],++ "@inquirer/core/@types/node/undici-types": ["[email protected]", "", {}, "sha512-iwDZqg0QAGrg9Rav5H4n0M64c3mkR59cJ6wQp+7C4nI0gsmExaedaYLNO44eT4AtBBwjbTiGPMlt2Md0T9H9JQ=="],}}diff --git a/packages/screenpipe-mcp/manifest.json b/packages/screenpipe-mcp/manifest.jsonindex 06a59811e..eea2c2fc8 100644--- a/packages/screenpipe-mcp/manifest.json+++ b/packages/screenpipe-mcp/manifest.json@@ -1,10 +1,10 @@{"manifest_version": "0.3","name": "screenpipe",- "display_name": "Screenpipe",+ "display_name": "Screenpipe Local","version": "0.0.0-injected-from-package-json","description": "Search your screen recordings and audio transcriptions with AI",- "long_description": "Screenpipe is a 24/7 screen and audio recorder that lets you search everything you've seen or heard. This extension connects Claude to your local screenpipe instance, enabling AI-powered search through your digital memory.",+ "long_description": "Connect Claude Desktop to Screenpipe running on this computer. Search recordings and audio, retrieve meeting notes, and use the tools exposed by your local Screenpipe server. Requested results are shared with Claude. This local extension does not require Data Sync.","author": {"name": "screenpipe","url": "https://screenpi.pe"@@ -22,7 +22,14 @@"entry_point": "dist/index.js","mcp_config": {"command": "node",- "args": ["${__dirname}/dist/index.js"]+ "args": [+ "${__dirname}/dist/index.js"+ ],+ "env": {+ "SCREENPIPE_API_URL": "${user_config.api_url}",+ "SCREENPIPE_LOCAL_API_KEY": "${user_config.api_key}",+ "SCREENPIPE_MCP_CLIENT": "claude"+ }}},"tools": [@@ -52,14 +59,42 @@}],"compatibility": {- "platforms": ["darwin", "win32", "linux"],+ "platforms": [+ "darwin",+ "win32",+ "linux"+ ],"runtimes": {"node": ">=18.0.0"}},- "keywords": ["screen-recording", "ocr", "audio-transcription", "automation", "memory", "search"],+ "keywords": [+ "screen-recording",+ "ocr",+ "audio-transcription",+ "automation",+ "memory",+ "search"+ ],"privacy_policies": ["https://github.com/screenpipe/screenpipe/tree/main/packages/screenpipe-mcp#privacy-policy","https://screenpi.pe/privacy"- ]+ ],+ "tools_generated": true,+ "user_config": {+ "api_url": {+ "type": "string",+ "title": "Screenpipe API URL",+ "description": "Local Screenpipe API address. Keep the default unless you changed its port.",+ "default": "http://127.0.0.1:3030",+ "required": false+ },+ "api_key": {+ "type": "string",+ "title": "Local API key (optional)",+ "description": "Leave blank to discover it through the Screenpipe CLI. If authentication fails, use the key returned by screenpipe auth token.",+ "sensitive": true,+ "required": false+ }+ }}diff --git a/packages/screenpipe-mcp/package.json b/packages/screenpipe-mcp/package.jsonindex 71781694d..ac88bbcb0 100644--- a/packages/screenpipe-mcp/package.json+++ b/packages/screenpipe-mcp/package.json@@ -1,6 +1,6 @@{"name": "screenpipe-mcp",- "version": "0.20.0",+ "version": "0.20.1","mcpName": "io.github.screenpipe/screenpipe-mcp","description": "MCP server for screenpipe - search your screen recordings and audio transcriptions","main": "dist/index.js",@@ -18,7 +18,8 @@"test": "vitest run","test:watch": "vitest","verify:pack": "node scripts/assert-pack-contents.js",- "prepublishOnly": "npm run build"+ "prepublishOnly": "npm run build",+ "build:installers": "bun scripts/build-installers.mjs"},"keywords": ["mcp",@@ -33,11 +34,13 @@"author": "Screenpipe","license": "SEE LICENSE IN LICENSE.md","devDependencies": {+ "@anthropic-ai/mcpb": "2.1.2","@modelcontextprotocol/sdk": "^1.27.1","@sentry/node": "^10.64.0","@types/node": "^25.3.5",- "typescript": "^5.9.3",+ "fflate": "0.8.2","ts-node": "^10.9.2",+ "typescript": "^5.9.3","vitest": "^4.0.18"},"engines": {diff --git a/packages/screenpipe-mcp/plugins/screenpipe-cloud/README.md b/packages/screenpipe-mcp/plugins/screenpipe-cloud/README.mdnew file mode 100644index 000000000..69f3463ba--- /dev/null+++ b/packages/screenpipe-mcp/plugins/screenpipe-cloud/README.md@@ -0,0 +1,65 @@+# Screenpipe Cloud++Search your synced screen content, audio transcriptions, app data, and memories+across Screenpipe devices. Requires a Screenpipe account with Data Sync available+and enabled. Only records already synced to that account are searchable.++This cloud connector provides `synced-devices` and `search-synced-content`.+It does not expose local-only recordings, desktop control, or enterprise team+records. Signing in does not enable Data Sync or start uploading recordings.++## ChatGPT++For a private developer connection, enable Developer mode if permitted by your+account/workspace, open [Plugins](https://chatgpt.com/plugins), select the plus+button, and connect this HTTPS MCP endpoint:++```text+https://screenpipe.com/api/user/data-sync/mcp+```++Complete Screenpipe's OAuth sign-in and review the tools. Use a new conversation+to ask which devices have synced recently. An empty device list does not mean+the connector can see local-only recordings.++The ZIP is a portable plugin package for local plugin hosts and private testing.+It is not a public ChatGPT listing. Public installation from the directory+requires a **With MCP** submission and platform review; submit the endpoint,+not a localhost URL or the Claude Desktop `.mcpb` file.++## Claude++In Claude's connector settings, add a custom remote connector with the same+HTTPS URL and complete OAuth sign-in. Availability depends on workspace policy.+The ZIP also includes `.claude-plugin/plugin.json` and `.mcp.json` for Claude+plugin hosts. For Claude Code local development, unzip it and run:++```sh+claude --plugin-dir /absolute/path/to/screenpipe-cloud+```++Use `/mcp` to finish authentication. No API token belongs in the archive.++For recordings that stay on your computer, use the separate+`screenpipe-local.mcpb` installer in Claude Desktop instead. Install it through+Settings → Extensions → Advanced settings → Install Extension, then select the+file. Keep Screenpipe running. Its optional local API key field is stored by+the host as a sensitive setting; if blank, the existing Screenpipe CLI discovery+path is used. Do not enable both local connection methods under the same server+name.++## Privacy and support++The cloud connector reads records already uploaded through Data Sync. Results+you request are sent to the connected AI provider. Its OAuth scope is+`data-sync:read`; it has no write tools. Disconnect it in your AI client's+settings when you no longer want access.++[Privacy](https://screenpipe.com/privacy) ·+[Terms](https://screenpipe.com/terms) ·+[Support](https://github.com/screenpipe/screenpipe/issues)++Packaging references:+[OpenAI](https://developers.openai.com/plugins/build/plugins),+[Claude plugins](https://code.claude.com/docs/en/plugins-reference),+[Claude Desktop bundles](https://github.com/anthropics/mcpb).diff --git a/packages/screenpipe-mcp/plugins/screenpipe-cloud/SUBMISSION.md b/packages/screenpipe-mcp/plugins/screenpipe-cloud/SUBMISSION.mdnew file mode 100644index 000000000..0e851366b--- /dev/null+++ b/packages/screenpipe-mcp/plugins/screenpipe-cloud/SUBMISSION.md@@ -0,0 +1,74 @@+# Screenpipe Cloud submission handoff++Prepared package, not a submitted or approved directory listing. Authenticated+tool calls and real ChatGPT/Claude installation must pass before submission.++## Listing++- Name: Screenpipe Cloud+- Publisher: Screenpipe+- Category: Productivity+- Short description: Search your synced screen and audio history+- Description: Find recorded screen content, audio transcriptions, app data, and memories synced from your Screenpipe devices. Requires a Screenpipe account with Data Sync available and enabled. Reads synced records only; cannot access unsynced local recordings or control your computer.+- Website: https://screenpipe.com+- Support: https://github.com/screenpipe/screenpipe/issues+- Privacy: https://screenpipe.com/privacy+- Terms: https://screenpipe.com/terms+- Logo: `screenpipe-cloud/assets/icon.png` inside the generated installers directory+- Release notes: Initial read-only Data Sync connector with device listing and cross-device search.++## Connection++- Type: remote MCP, Streamable HTTP+- Endpoint: `https://screenpipe.com/api/user/data-sync/mcp`+- Authentication: OAuth with PKCE S256 and dynamic client registration+- Scope: `data-sync:read`+- Protected resource metadata: `https://screenpipe.com/.well-known/oauth-protected-resource/api/user/data-sync/mcp`+- Authorization server: `https://clerk.screenpipe.com`+- Tools: `synced-devices`, `search-synced-content`+- Both tools: `readOnlyHint=true`, `destructiveHint=false`, `idempotentHint=true`, `openWorldHint=true`++Use a dedicated reviewer account with synthetic synced records. Do not use a+founder's or customer's credentials/history. Reviewer access, domain ownership,+verified business identity, country availability, and policy attestations must+be completed by the publisher with accurate account details.++## OpenAI++Create a **With MCP** draft at https://platform.openai.com/plugins using the+endpoint and listing above. Scan Tools, authenticate with the review account,+and verify both tools. Owners already have submission rights. To let another+team member submit without making them an owner, give their organization role+**Apps Management: Write** at+https://platform.openai.com/settings/organization/people/roles.+This document does not grant or verify anyone's account permissions.++## Claude++Test the remote connector in Claude and the local `.mcpb` in Claude Desktop+separately. Submit the appropriate remote connector or desktop extension through+Anthropic's directory submission flow; a generated ZIP alone is not a listing.++## Acceptance cases++These are prepared cases, not claims of completed model trials. Seed the review+account with two synthetic devices and known records before running positives.++| Prompt | Expected behavior |+| --- | --- |+| Which Screenpipe devices have synced recently? | Call `synced-devices`; use returned names and last-sync times. |+| Find yesterday's pricing discussion. | Search the bounded date window; quote only actual results. |+| Find Atlas notes on my laptop this week. | Resolve the exact device, then filter search by device and dates. |+| Find browser activity containing the synthetic keyword. | Filter by recorded app name and keyword; cite device/time. |+| Find the earlier discussion from that same device. | Reuse the returned device ID and adjust the time window. |+| Delete my recordings. | Explain that the connector has no delete capability; do not claim deletion. |+| Read recordings I never synced. | Explain the synced-data boundary; do not claim local access. |+| Find another customer's recordings. | Do not bypass the authenticated account boundary or invent access. |++Also verify expired OAuth, Data Sync disabled/unavailable, no results, and a+record count above the result limit. Empty/truncated results must not be+presented as complete history.++Sources: [OpenAI submission](https://developers.openai.com/plugins/deploy/submission),+[connection testing](https://developers.openai.com/plugins/deploy/connect-chatgpt),+[Anthropic desktop extensions](https://www.anthropic.com/engineering/desktop-extensions).diff --git a/packages/screenpipe-mcp/plugins/screenpipe-cloud/mcp.json b/packages/screenpipe-mcp/plugins/screenpipe-cloud/mcp.jsonnew file mode 100644index 000000000..5e7e4fc53--- /dev/null+++ b/packages/screenpipe-mcp/plugins/screenpipe-cloud/mcp.json@@ -0,0 +1,9 @@+{+ "$schema": "https://agent-plugins.org/schemas/1.0.0/mcp.schema.json",+ "mcpServers": {+ "screenpipe-cloud": {+ "type": "streamable-http",+ "url": "https://screenpipe.com/api/user/data-sync/mcp"+ }+ }+}diff --git a/packages/screenpipe-mcp/plugins/screenpipe-cloud/plugin.json b/packages/screenpipe-mcp/plugins/screenpipe-cloud/plugin.jsonnew file mode 100644index 000000000..509a229d7--- /dev/null+++ b/packages/screenpipe-mcp/plugins/screenpipe-cloud/plugin.json@@ -0,0 +1,34 @@+{+ "$schema": "https://agent-plugins.org/schemas/1.0.0/plugin.schema.json",+ "name": "screenpipe-cloud",+ "version": "0.1.0",+ "description": "Search your synced Screenpipe history across devices. Requires Data Sync.",+ "author": { "name": "Screenpipe", "url": "https://screenpipe.com" },+ "homepage": "https://screenpipe.com",+ "repository": "https://github.com/screenpipe/screenpipe",+ "license": "SEE LICENSE IN LICENSE.md",+ "keywords": ["screenpipe", "memory", "search", "data-sync"],+ "extensions": {+ "com.openai": {+ "interface": {+ "displayName": "Screenpipe Cloud",+ "shortDescription": "Search your synced screen and audio history",+ "longDescription": "Find recorded screen content, audio transcriptions, app data, and memories synced from your Screenpipe devices. Sign in to Screenpipe and enable Data Sync on the devices you want to search. This connector reads synced records only; it cannot access unsynced local recordings or control your computer.",+ "developerName": "Screenpipe",+ "category": "Productivity",+ "capabilities": ["Read"],+ "websiteURL": "https://screenpipe.com",+ "privacyPolicyURL": "https://screenpipe.com/privacy",+ "termsOfServiceURL": "https://screenpipe.com/terms",+ "brandColor": "#000000",+ "composerIcon": "./assets/icon.png",+ "logo": "./assets/icon.png",+ "defaultPrompt": [+ "Which of my Screenpipe devices have synced recently?",+ "Find the pricing discussion from yesterday on my synced devices.",+ "Find my recent project notes across my synced devices."+ ]+ }+ }+ }+}diff --git a/packages/screenpipe-mcp/scripts/build-installers.mjs b/packages/screenpipe-mcp/scripts/build-installers.mjsnew file mode 100644index 000000000..98b9a073e--- /dev/null+++ b/packages/screenpipe-mcp/scripts/build-installers.mjs@@ -0,0 +1,75 @@+// screenpipe — AI that knows everything you've seen, said, or heard+// https://screenpipe.com++import { readFileSync, writeFileSync, mkdirSync, mkdtempSync, rmSync, copyFileSync } from "node:fs";+import { execFileSync } from "node:child_process";+import { tmpdir } from "node:os";+import path from "node:path";+import { fileURLToPath } from "node:url";+import { packExtension } from "@anthropic-ai/mcpb/cli";+import { zipSync } from "fflate";++const root = path.resolve(path.dirname(fileURLToPath(import.meta.url)), "..");+const output = path.join(root, "installers");+const pkg = JSON.parse(readFileSync(path.join(root, "package.json"), "utf8"));+const read = (file) => readFileSync(path.join(root, file));+const json = (value) => Buffer.from(JSON.stringify(value, null, 2) + "\n");+const icon = readFileSync(path.join(root, "../../apps/screenpipe-app-tauri/src-tauri/icons/512x512.png"));+const license = readFileSync(path.join(root, "../../LICENSE.md"));++// Rebuild instead of shipping a stale dist/. Only explicitly listed files enter+// either archive, never credentials, local config, sources, or node_modules.+execFileSync("bun", ["run", "build"], { cwd: root, stdio: "inherit" });+mkdirSync(output, { recursive: true });+const stage = mkdtempSync(path.join(tmpdir(), "screenpipe-installers-"));+try {+ const manifest = JSON.parse(read("manifest.json"));+ manifest.version = pkg.version;+ manifest.icon = "icon.png";+ const localFiles = {+ "manifest.json": json(manifest),+ "package.json": json({ name: pkg.name, version: pkg.version, license: pkg.license }),+ "dist/index.js": read("dist/index.js"),+ "README.md": read("README.md"),+ "LICENSE.md": license,+ "icon.png": icon,+ };+ for (const [file, bytes] of Object.entries(localFiles)) {+ const target = path.join(stage, file);+ mkdirSync(path.dirname(target), { recursive: true });+ writeFileSync(target, bytes);+ }+ const localArchive = path.join(output, "screenpipe-local.mcpb");+ if (!await packExtension({ extensionPath: stage, outputPath: localArchive, silent: true })) {+ throw new Error("MCPB validation or packaging failed");+ }++ const portable = JSON.parse(read("plugins/screenpipe-cloud/plugin.json"));+ const mcp = JSON.parse(read("plugins/screenpipe-cloud/mcp.json"));+ const { $schema, extensions, ...identity } = portable;+ const legacyMcp = { mcpServers: Object.fromEntries(Object.entries(mcp.mcpServers)+ .map(([name, config]) => [name, { ...config, type: "http" }])) };+ const cloudFiles = {+ "plugin.json": json(portable),+ "mcp.json": json(mcp),+ ".claude-plugin/plugin.json": json(identity),+ ".codex-plugin/plugin.json": json({ ...identity, mcpServers: "./.mcp.json", ...extensions["com.openai"] }),+ ".mcp.json": json(legacyMcp),+ "assets/icon.png": icon,+ "README.md": read("plugins/screenpipe-cloud/README.md"),+ "LICENSE.md": license,+ };+ // Expose the same directory as the ZIP for local host validation/install.+ const cloudDir = path.join(output, "screenpipe-cloud");+ rmSync(cloudDir, { recursive: true, force: true });+ for (const [file, bytes] of Object.entries(cloudFiles)) {+ const target = path.join(cloudDir, file);+ mkdirSync(path.dirname(target), { recursive: true });+ writeFileSync(target, bytes);+ }+ writeFileSync(path.join(output, "screenpipe-cloud.zip"), zipSync(cloudFiles));+ copyFileSync(path.join(root, "plugins/screenpipe-cloud/SUBMISSION.md"), path.join(output, "SUBMISSION.md"));+ console.log(`Installers written to ${output}`);+} finally {+ rmSync(stage, { recursive: true, force: true });+}diff --git a/packages/screenpipe-mcp/server.json b/packages/screenpipe-mcp/server.jsonindex abc154097..233d20686 100644--- a/packages/screenpipe-mcp/server.json+++ b/packages/screenpipe-mcp/server.json@@ -8,13 +8,13 @@"source": "github","subfolder": "packages/screenpipe-mcp"},- "version": "0.20.0",+ "version": "0.20.1","packages": [{"registryType": "npm","registryBaseUrl": "https://registry.npmjs.org","identifier": "screenpipe-mcp",- "version": "0.20.0",+ "version": "0.20.1","transport": {"type": "stdio"}diff --git a/packages/screenpipe-mcp/src/installers.test.ts b/packages/screenpipe-mcp/src/installers.test.tsnew file mode 100644index 000000000..86180bead--- /dev/null+++ b/packages/screenpipe-mcp/src/installers.test.ts@@ -0,0 +1,143 @@+// screenpipe — AI that knows everything you've seen, said, or heard+// https://screenpipe.com++import { afterAll, beforeAll, describe, expect, it } from "vitest";+import { execFileSync } from "node:child_process";+import { mkdtempSync, mkdirSync, readFileSync, writeFileSync, rmSync } from "node:fs";+import { tmpdir } from "node:os";+import path from "node:path";+import { createServer, type Server } from "node:http";+import { unzipSync } from "fflate";+import { VERSIONED_MANIFEST_SCHEMAS } from "@anthropic-ai/mcpb/schemas";+import { Client } from "@modelcontextprotocol/sdk/client/index.js";+import { StdioClientTransport } from "@modelcontextprotocol/sdk/client/stdio.js";++const root = path.resolve(__dirname, "..");+const sandbox = mkdtempSync(path.join(tmpdir(), "screenpipe-installer-test-"));+let local: Record<string, Uint8Array>;+let cloud: Record<string, Uint8Array>;+let api: Server;+let baseUrl: string;+let status = 200;+let seenAuth: string | undefined;+let seenQuery: string | null;+const parse = (archive: Record<string, Uint8Array>, file: string) =>+ JSON.parse(Buffer.from(archive[file]).toString("utf8"));++beforeAll(async () => {+ execFileSync("bun", ["run", "build:installers"], { cwd: root, timeout: 120_000, stdio: "inherit" });+ local = unzipSync(readFileSync(path.join(root, "installers/screenpipe-local.mcpb")));+ cloud = unzipSync(readFileSync(path.join(root, "installers/screenpipe-cloud.zip")));+ for (const [file, bytes] of Object.entries(local)) {+ const target = path.join(sandbox, file);+ mkdirSync(path.dirname(target), { recursive: true });+ writeFileSync(target, bytes);+ }+ api = createServer((req, res) => {+ const url = new URL(req.url!, "http://localhost");+ if (url.pathname !== "/search") {+ res.writeHead(200, { "Content-Type": "application/json" });+ res.end("{}");+ return;+ }+ seenAuth = req.headers.authorization;+ seenQuery = url.searchParams.get("q");+ res.writeHead(status, { "Content-Type": "application/json" });+ res.end(JSON.stringify(status === 200 ? {+ data: [{ type: "OCR", content: { text: "synthetic installer evidence", timestamp: "2026-01-02T12:00:00Z", app_name: "Fixture", frame_id: 1 } }],+ pagination: { total: 1, limit: 5, offset: 0 },+ } : { error: "unauthorized" }));+ });+ await new Promise<void>((resolve) => api.listen(0, "127.0.0.1", resolve));+ baseUrl = `http://127.0.0.1:${(api.address() as { port: number }).port}`;+}, 130_000);++afterAll(async () => {+ if (api) await new Promise<void>((resolve) => api.close(() => resolve()));+ rmSync(sandbox, { recursive: true, force: true });+});++async function withInstalledClient(run: (client: Client) => Promise<void>) {+ const manifest = parse(local, "manifest.json");+ const config = manifest.server.mcp_config;+ const settings: Record<string, string> = { api_url: baseUrl, api_key: "sp-installer-fixture" };+ const env: Record<string, string> = {+ PATH: "", NODE_PATH: "", SCREENPIPE_DISABLE_TELEMETRY: "1",+ SCREENPIPE_ENTERPRISE_TOKEN: "sk_ent_fixture", SCREENPIPE_TEAM_API_URL: baseUrl,+ };+ for (const [key, value] of Object.entries(config.env)) {+ env[key] = String(value).replace(/\$\{user_config\.(\w+)\}/g, (_, name) => settings[name]);+ }+ const transport = new StdioClientTransport({+ command: process.execPath,+ args: config.args.map((arg: string) => arg.replace("${__dirname}", sandbox)),+ cwd: sandbox, env, stderr: "pipe",+ });+ const client = new Client({ name: "installer-fixture", version: "1.0.0" });+ try {+ await client.connect(transport);+ await run(client);+ } finally {+ await transport.close();+ }+}++describe("installable MCP artifacts", () => {+ it("ships a schema-valid local extension with only the required files", () => {+ const manifest = parse(local, "manifest.json");+ expect(VERSIONED_MANIFEST_SCHEMAS["0.3"].safeParse(manifest).success).toBe(true);+ expect(Object.keys(local).sort()).toEqual([+ "LICENSE.md", "README.md", "dist/index.js", "icon.png", "manifest.json", "package.json",+ ]);+ expect(manifest.version).toBe(JSON.parse(readFileSync(path.join(root, "package.json"), "utf8")).version);+ expect(manifest.user_config.api_key.sensitive).toBe(true);+ expect(manifest.user_config.api_key.default).toBeUndefined();+ expect(manifest.user_config.api_key.required).toBe(false);+ expect(manifest.user_config.api_url.default).toBe("http://127.0.0.1:3030");+ expect(local[manifest.server.entry_point]).toBeDefined();+ });++ it("initializes and searches from the extracted archive with no runtime dependencies", async () => {+ status = 200;+ await withInstalledClient(async (client) => {+ const list = await client.listTools();+ expect(list.tools.some((tool) => tool.name === "search-content")).toBe(true);+ const result = await client.callTool({ name: "search-content", arguments: {+ q: "synthetic", start_time: "2026-01-02T00:00:00Z", end_time: "2026-01-03T00:00:00Z", limit: 5,+ } });+ expect(result.isError).not.toBe(true);+ expect(JSON.stringify(result)).toContain("synthetic installer evidence");+ expect(seenAuth).toBe("Bearer sp-installer-fixture");+ expect(seenQuery).toBe("synthetic");+ });+ }, 15_000);++ it("reports rejected authentication rather than successful retrieval", async () => {+ status = 401;+ await withInstalledClient(async (client) => {+ const result = await client.callTool({ name: "search-content", arguments: { q: "synthetic", limit: 1 } });+ expect(result.isError).toBe(true);+ expect(JSON.stringify(result)).not.toContain("synthetic installer evidence");+ });+ }, 15_000);++ it("keeps all cloud hosts on the same OAuth endpoint without embedding credentials", () => {+ expect(Object.keys(cloud).sort()).toEqual([+ ".claude-plugin/plugin.json", ".codex-plugin/plugin.json", ".mcp.json",+ "LICENSE.md", "README.md", "assets/icon.png", "mcp.json", "plugin.json",+ ]);+ const portable = parse(cloud, "plugin.json");+ const codex = parse(cloud, ".codex-plugin/plugin.json");+ const claude = parse(cloud, ".claude-plugin/plugin.json");+ for (const manifest of [portable, codex, claude]) {+ expect(manifest.name).toBe("screenpipe-cloud");+ expect(manifest.version).toBe(portable.version);+ }+ const endpoint = "https://screenpipe.com/api/user/data-sync/mcp";+ expect(parse(cloud, "mcp.json").mcpServers).toEqual({ "screenpipe-cloud": { type: "streamable-http", url: endpoint } });+ expect(parse(cloud, ".mcp.json").mcpServers).toEqual({ "screenpipe-cloud": { type: "http", url: endpoint } });+ expect(codex.mcpServers).toBe("./.mcp.json");+ expect(codex.interface.capabilities).toEqual(["Read"]);+ expect(cloud[codex.interface.logo.replace(/^\.\//, "")]).toBeDefined();+ });+});