diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 93a9336..7675784 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -41,6 +41,15 @@ jobs: exit 1 fi + - name: Verify npm provenance repository + run: | + REPOSITORY_URL="$(node -p "require('./package.json').repository.url")" + EXPECTED="git+https://github.com/${GITHUB_REPOSITORY}.git" + if [ "$REPOSITORY_URL" != "$EXPECTED" ]; then + echo "::error::package.json repository.url is $REPOSITORY_URL; expected $EXPECTED for npm provenance" + exit 1 + fi + - name: Determine npm dist-tag id: disttag run: | diff --git a/README.md b/README.md index a010e73..7651519 100644 --- a/README.md +++ b/README.md @@ -7,7 +7,7 @@

npm - license + license

## Install diff --git a/docs/DISTRIBUTION.md b/docs/DISTRIBUTION.md index 327ea96..909aa11 100644 --- a/docs/DISTRIBUTION.md +++ b/docs/DISTRIBUTION.md @@ -211,7 +211,7 @@ deployed last. (If you'd rather avoid the manual sync, two safe alternatives are: a prebuild step in `web/package.json` that runs the sync script, or a 302 redirect from `/install.sh` to -`https://raw.githubusercontent.com/codebase-foundation/codebase-cli/main/install.sh` — +`https://raw.githubusercontent.com/codebase/codebase-cli/main/install.sh` — quickest, but loses caching and the GitHub repo must be public.) --- diff --git a/install.ps1 b/install.ps1 index 73d2c42..4b30f24 100644 --- a/install.ps1 +++ b/install.ps1 @@ -2,7 +2,7 @@ # # Usage: # irm https://codebase.design/install.ps1 | iex -# irm https://raw.githubusercontent.com/codebase-foundation/codebase-cli/main/install.ps1 | iex +# irm https://raw.githubusercontent.com/codebase/codebase-cli/main/install.ps1 | iex # # What this does: # 1. Detects an existing v1 (Go) binary at ~\.codebase\bin\codebase.exe diff --git a/install.sh b/install.sh index 5464f88..d5b70fd 100755 --- a/install.sh +++ b/install.sh @@ -4,7 +4,7 @@ set -e # Codebase CLI installer (Linux / macOS). # Usage: # curl -fsSL https://codebase.design/install.sh | sh -# curl -fsSL https://raw.githubusercontent.com/codebase-foundation/codebase-cli/main/install.sh | sh +# curl -fsSL https://raw.githubusercontent.com/codebase/codebase-cli/main/install.sh | sh # # What this does: # 1. Detects an existing v1 (Go) binary and offers to remove it. diff --git a/package-lock.json b/package-lock.json index 7a1e043..1e5b965 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "codebase-cli", - "version": "2.0.0-pre.74", + "version": "2.0.0-pre.75", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "codebase-cli", - "version": "2.0.0-pre.74", + "version": "2.0.0-pre.75", "license": "MIT", "dependencies": { "@earendil-works/pi-agent-core": "0.74.0", diff --git a/package.json b/package.json index 9063138..8bb990f 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "codebase-cli", - "version": "2.0.0-pre.74", + "version": "2.0.0-pre.75", "description": "Codebase CLI — a TypeScript coding agent on the pi-mono runtime. OAuth-aware, any LLM provider, single install.", "keywords": [ "ai", @@ -16,11 +16,11 @@ ], "homepage": "https://codebase.design", "bugs": { - "url": "https://github.com/codebase-foundation/codebase-cli/issues" + "url": "https://github.com/codebase/codebase-cli/issues" }, "repository": { "type": "git", - "url": "git+https://github.com/codebase-foundation/codebase-cli.git" + "url": "git+https://github.com/codebase/codebase-cli.git" }, "license": "MIT", "author": "Codebase Foundation", diff --git a/scripts/help-smoke.mjs b/scripts/help-smoke.mjs index d049753..dc0dc80 100644 --- a/scripts/help-smoke.mjs +++ b/scripts/help-smoke.mjs @@ -77,6 +77,11 @@ try { console.error(`FAIL ${label}: references retired codebase.foundation domain\n${output.trim()}`); continue; } + if (output.includes("github.com/codebase-foundation/codebase-cli")) { + failures++; + console.error(`FAIL ${label}: references retired GitHub repository\n${output.trim()}`); + continue; + } console.log(`ok ${label}`); } } finally { diff --git a/src/cli.tsx b/src/cli.tsx index d763751..532c867 100755 --- a/src/cli.tsx +++ b/src/cli.tsx @@ -375,7 +375,7 @@ function printHelp(): void { " --debug-input log every keystroke to ~/.codebase/logs/input.log", " (use when reporting a keyboard/terminal issue)", "", - "More: https://github.com/codebase-foundation/codebase-cli", + "More: https://github.com/codebase/codebase-cli", "", ].join("\n"), ); diff --git a/vscode-extension/README.md b/vscode-extension/README.md index e19a8a2..c84c7cb 100644 --- a/vscode-extension/README.md +++ b/vscode-extension/README.md @@ -1,6 +1,6 @@ # Codebase — VS Code / Cursor / Windsurf extension -A sidebar chat panel powered by [codebase-cli](https://github.com/codebase-foundation/codebase-cli). +A sidebar chat panel powered by [codebase-cli](https://github.com/codebase/codebase-cli). Spawns `codebase app-server` as a child process and renders the agent's events into a webview. Works in any VS Code-API-compatible editor — verified in **VS Code**, **Cursor**, and **Windsurf**. diff --git a/vscode-extension/package.json b/vscode-extension/package.json index 3e88f40..c55429a 100644 --- a/vscode-extension/package.json +++ b/vscode-extension/package.json @@ -6,7 +6,7 @@ "publisher": "codebase-foundation", "repository": { "type": "git", - "url": "https://github.com/codebase-foundation/codebase-cli" + "url": "https://github.com/codebase/codebase-cli" }, "engines": { "vscode": "^1.85.0"