Skip to content

Commit 2fc3110

Browse files
authored
Merge pull request #2 from codebase/codex/release-provenance
Fix npm provenance and prepare pre.75
2 parents a1de077 + f024d22 commit 2fc3110

11 files changed

Lines changed: 26 additions & 12 deletions

File tree

.github/workflows/release.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,15 @@ jobs:
4141
exit 1
4242
fi
4343
44+
- name: Verify npm provenance repository
45+
run: |
46+
REPOSITORY_URL="$(node -p "require('./package.json').repository.url")"
47+
EXPECTED="git+https://github.com/${GITHUB_REPOSITORY}.git"
48+
if [ "$REPOSITORY_URL" != "$EXPECTED" ]; then
49+
echo "::error::package.json repository.url is $REPOSITORY_URL; expected $EXPECTED for npm provenance"
50+
exit 1
51+
fi
52+
4453
- name: Determine npm dist-tag
4554
id: disttag
4655
run: |

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
<p align="center">
99
<a href="https://www.npmjs.com/package/codebase-cli"><img alt="npm" src="https://img.shields.io/npm/v/codebase-cli?style=flat-square" /></a>
10-
<a href="https://github.com/codebase-foundation/codebase-cli/blob/master/LICENSE"><img alt="license" src="https://img.shields.io/badge/license-MIT-blue?style=flat-square" /></a>
10+
<a href="https://github.com/codebase/codebase-cli/blob/main/LICENSE"><img alt="license" src="https://img.shields.io/badge/license-MIT-blue?style=flat-square" /></a>
1111
</p>
1212

1313
## Install

docs/DISTRIBUTION.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ deployed last.
211211
(If you'd rather avoid the manual sync, two safe alternatives are: a
212212
prebuild step in `web/package.json` that runs the sync script, or a
213213
302 redirect from `/install.sh` to
214-
`https://raw.githubusercontent.com/codebase-foundation/codebase-cli/main/install.sh` —
214+
`https://raw.githubusercontent.com/codebase/codebase-cli/main/install.sh` —
215215
quickest, but loses caching and the GitHub repo must be public.)
216216
217217
---

install.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
#
33
# Usage:
44
# irm https://codebase.design/install.ps1 | iex
5-
# irm https://raw.githubusercontent.com/codebase-foundation/codebase-cli/main/install.ps1 | iex
5+
# irm https://raw.githubusercontent.com/codebase/codebase-cli/main/install.ps1 | iex
66
#
77
# What this does:
88
# 1. Detects an existing v1 (Go) binary at ~\.codebase\bin\codebase.exe

install.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ set -e
44
# Codebase CLI installer (Linux / macOS).
55
# Usage:
66
# curl -fsSL https://codebase.design/install.sh | sh
7-
# curl -fsSL https://raw.githubusercontent.com/codebase-foundation/codebase-cli/main/install.sh | sh
7+
# curl -fsSL https://raw.githubusercontent.com/codebase/codebase-cli/main/install.sh | sh
88
#
99
# What this does:
1010
# 1. Detects an existing v1 (Go) binary and offers to remove it.

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "codebase-cli",
3-
"version": "2.0.0-pre.74",
3+
"version": "2.0.0-pre.75",
44
"description": "Codebase CLI — a TypeScript coding agent on the pi-mono runtime. OAuth-aware, any LLM provider, single install.",
55
"keywords": [
66
"ai",
@@ -16,11 +16,11 @@
1616
],
1717
"homepage": "https://codebase.design",
1818
"bugs": {
19-
"url": "https://github.com/codebase-foundation/codebase-cli/issues"
19+
"url": "https://github.com/codebase/codebase-cli/issues"
2020
},
2121
"repository": {
2222
"type": "git",
23-
"url": "git+https://github.com/codebase-foundation/codebase-cli.git"
23+
"url": "git+https://github.com/codebase/codebase-cli.git"
2424
},
2525
"license": "MIT",
2626
"author": "Codebase Foundation",

scripts/help-smoke.mjs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,11 @@ try {
7777
console.error(`FAIL ${label}: references retired codebase.foundation domain\n${output.trim()}`);
7878
continue;
7979
}
80+
if (output.includes("github.com/codebase-foundation/codebase-cli")) {
81+
failures++;
82+
console.error(`FAIL ${label}: references retired GitHub repository\n${output.trim()}`);
83+
continue;
84+
}
8085
console.log(`ok ${label}`);
8186
}
8287
} finally {

src/cli.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -375,7 +375,7 @@ function printHelp(): void {
375375
" --debug-input log every keystroke to ~/.codebase/logs/input.log",
376376
" (use when reporting a keyboard/terminal issue)",
377377
"",
378-
"More: https://github.com/codebase-foundation/codebase-cli",
378+
"More: https://github.com/codebase/codebase-cli",
379379
"",
380380
].join("\n"),
381381
);

vscode-extension/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Codebase — VS Code / Cursor / Windsurf extension
22

3-
A sidebar chat panel powered by [codebase-cli](https://github.com/codebase-foundation/codebase-cli).
3+
A sidebar chat panel powered by [codebase-cli](https://github.com/codebase/codebase-cli).
44
Spawns `codebase app-server` as a child process and renders the agent's
55
events into a webview. Works in any VS Code-API-compatible editor —
66
verified in **VS Code**, **Cursor**, and **Windsurf**.

0 commit comments

Comments
 (0)