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
ci(cli): use npm trusted publishing
Louis Beaumont77671b591e88
diff --git a/.github/workflows/release-cli.yml b/.github/workflows/release-cli.ymlindex 58761ca87..0ada3b5ad 100644--- a/.github/workflows/release-cli.yml+++ b/.github/workflows/release-cli.yml@@ -26,7 +26,7 @@ concurrency:cancel-in-progress: falsepermissions:- contents: write+ contents: readenv:GIT_LFS_SKIP_SMUDGE: 1@@ -885,6 +885,9 @@ jobs:publish-npm:runs-on: ubuntu-latest+ permissions:+ contents: read+ id-token: write# smoke-windows: nothing ships unless the package launches + inits ONNX# on non-AVX2 CPUs (#3125 regression guard).needs: [build-macos, build-windows, build-linux, smoke-windows]@@ -895,7 +898,8 @@ jobs:- name: Setup Node.jsuses: actions/setup-node@v4with:- node-version: "20"+ # npm trusted publishing requires Node >=22.14 and npm >=11.5.1.+ node-version: "24"registry-url: "https://registry.npmjs.org"- name: Setup Bun@@ -982,8 +986,6 @@ jobs:# every error — versions 0.3.290..0.3.295 all "succeeded" without ever# publishing because the npm token had expired and nobody noticed.- name: Publish platform packages- env:- NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}run: |for pkg in screenpipe-darwin-arm64 screenpipe-darwin-x64 screenpipe-linux-x64 screenpipe-win32-x64; docd packages/cli/$pkg@@ -1043,8 +1045,6 @@ jobs:done- name: Publish main package- env:- NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}run: |cd packages/cli/screenpipeerr=$(mktemp)@@ -1061,6 +1061,8 @@ jobs:release:runs-on: ubuntu-latest+ permissions:+ contents: write# smoke-windows: nothing ships unless the package launches + inits ONNX# on non-AVX2 CPUs (#3125 regression guard).needs: [build-macos, build-windows, build-linux, smoke-windows]diff --git a/packages/cli/screenpipe-darwin-arm64/package.json b/packages/cli/screenpipe-darwin-arm64/package.jsonindex 843c0dcee..84771f0e4 100644--- a/packages/cli/screenpipe-darwin-arm64/package.json+++ b/packages/cli/screenpipe-darwin-arm64/package.json@@ -2,11 +2,15 @@"name": "@screenpipe/cli-darwin-arm64","version": "0.1.0","description": "screenpipe CLI binary for macOS ARM64",- "os": ["darwin"],- "cpu": ["arm64"],+ "os": [+ "darwin"+ ],+ "cpu": [+ "arm64"+ ],"repository": {"type": "git",- "url": "https://github.com/screenpipe/screenpipe"+ "url": "git+https://github.com/screenpipe/screenpipe.git"},"license": "SEE LICENSE IN LICENSE.md"}diff --git a/packages/cli/screenpipe-darwin-x64/package.json b/packages/cli/screenpipe-darwin-x64/package.jsonindex 2a6eeb147..e78f61da2 100644--- a/packages/cli/screenpipe-darwin-x64/package.json+++ b/packages/cli/screenpipe-darwin-x64/package.json@@ -2,11 +2,15 @@"name": "@screenpipe/cli-darwin-x64","version": "0.1.0","description": "screenpipe CLI binary for macOS x64",- "os": ["darwin"],- "cpu": ["x64"],+ "os": [+ "darwin"+ ],+ "cpu": [+ "x64"+ ],"repository": {"type": "git",- "url": "https://github.com/screenpipe/screenpipe"+ "url": "git+https://github.com/screenpipe/screenpipe.git"},"license": "SEE LICENSE IN LICENSE.md"}diff --git a/packages/cli/screenpipe-linux-x64/package.json b/packages/cli/screenpipe-linux-x64/package.jsonindex 71472c754..2d9a2a320 100644--- a/packages/cli/screenpipe-linux-x64/package.json+++ b/packages/cli/screenpipe-linux-x64/package.json@@ -2,11 +2,15 @@"name": "@screenpipe/cli-linux-x64","version": "0.1.0","description": "screenpipe CLI binary for Linux x64",- "os": ["linux"],- "cpu": ["x64"],+ "os": [+ "linux"+ ],+ "cpu": [+ "x64"+ ],"repository": {"type": "git",- "url": "https://github.com/screenpipe/screenpipe"+ "url": "git+https://github.com/screenpipe/screenpipe.git"},"license": "SEE LICENSE IN LICENSE.md"}diff --git a/packages/cli/screenpipe-win32-x64/package.json b/packages/cli/screenpipe-win32-x64/package.jsonindex 17082f212..b81409906 100644--- a/packages/cli/screenpipe-win32-x64/package.json+++ b/packages/cli/screenpipe-win32-x64/package.json@@ -2,11 +2,15 @@"name": "@screenpipe/cli-win32-x64","version": "0.1.0","description": "screenpipe CLI binary for Windows x64",- "os": ["win32"],- "cpu": ["x64"],+ "os": [+ "win32"+ ],+ "cpu": [+ "x64"+ ],"repository": {"type": "git",- "url": "https://github.com/screenpipe/screenpipe"+ "url": "git+https://github.com/screenpipe/screenpipe.git"},"license": "SEE LICENSE IN LICENSE.md"}diff --git a/packages/cli/screenpipe/package.json b/packages/cli/screenpipe/package.jsonindex dd6696d1e..ae5776b3f 100644--- a/packages/cli/screenpipe/package.json+++ b/packages/cli/screenpipe/package.json@@ -20,8 +20,14 @@},"repository": {"type": "git",- "url": "https://github.com/screenpipe/screenpipe"+ "url": "git+https://github.com/screenpipe/screenpipe.git"},"license": "SEE LICENSE IN LICENSE.md",- "keywords": ["screenpipe", "screen-recording", "ai", "memory", "cli"]+ "keywords": [+ "screenpipe",+ "screen-recording",+ "ai",+ "memory",+ "cli"+ ]}