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
fix: single source of truth for MCP version (package.json)
Louis Beaumont4a71c5b1f1f1
diff --git a/.github/workflows/release-mcp.yml b/.github/workflows/release-mcp.ymlindex 63023a497..04b051ad9 100644--- a/.github/workflows/release-mcp.yml+++ b/.github/workflows/release-mcp.yml@@ -39,6 +39,13 @@ jobs:env:NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}+ - name: Sync manifest.json version from package.json+ working-directory: crates/screenpipe-connect/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 CLIrun: npm install -g @anthropic-ai/mcpbdiff --git a/crates/screenpipe-connect/screenpipe-mcp/manifest.json b/crates/screenpipe-connect/screenpipe-mcp/manifest.jsonindex 9d03a8319..e972adf57 100644--- a/crates/screenpipe-connect/screenpipe-mcp/manifest.json+++ b/crates/screenpipe-connect/screenpipe-mcp/manifest.json@@ -2,7 +2,7 @@"manifest_version": "0.3","name": "screenpipe","display_name": "Screenpipe",- "version": "0.8.4",+ "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.","author": {diff --git a/crates/screenpipe-connect/screenpipe-mcp/src/index.ts b/crates/screenpipe-connect/screenpipe-mcp/src/index.tsindex b340f35d2..c34e54919 100644--- a/crates/screenpipe-connect/screenpipe-mcp/src/index.ts+++ b/crates/screenpipe-connect/screenpipe-mcp/src/index.ts@@ -28,11 +28,15 @@ for (let i = 0; i < args.length; i++) {const SCREENPIPE_API = `http://localhost:${port}`;+// Read version from package.json (single source of truth)+// eslint-disable-next-line @typescript-eslint/no-var-requires+const PKG_VERSION: string = require("../package.json").version;+// Initialize serverconst server = new Server({name: "screenpipe",- version: "0.9.0",+ version: PKG_VERSION,},{capabilities: {