Skip to content

Commit f0953c1

Browse files
authored
fix(ci): add repository.url for OIDC provenance + publish remaining v1.57.4 (CopilotKit#4977)
## Summary - Add `repository.url` to 5 packages missing it (`agentcore-runner`, `core`, `sqlite-runner`, `voice`, `web-inspector`) — required for npm OIDC provenance verification - One-shot `publish-remaining` workflow to publish the 14 packages that didn't make it in the first run (`a2ui-renderer` already published via OIDC successfully) ## Context v1.57.4 OIDC publish got 1/15 packages out before failing on `agentcore-runner` with E422 (missing `repository.url`). This fixes the URLs and provides a targeted publish workflow for the remaining 14. ## Test plan - [ ] Merge this PR - [ ] Dispatch `release / publish-remaining-1.57.4` workflow - [ ] Verify all 15 packages at v1.57.4 on npm with OIDC provenance - [ ] Delete `publish-remaining.yml` after successful publish
2 parents f63211f + 47d3a0d commit f0953c1

6 files changed

Lines changed: 91 additions & 0 deletions

File tree

Lines changed: 71 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,71 @@
1+
name: release / publish-remaining-1.57.4
2+
3+
on:
4+
workflow_dispatch:
5+
6+
permissions:
7+
contents: read
8+
9+
jobs:
10+
publish:
11+
runs-on: ubuntu-latest
12+
timeout-minutes: 20
13+
environment: npm
14+
permissions:
15+
contents: read
16+
id-token: write
17+
steps:
18+
- name: Checkout
19+
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
20+
with:
21+
persist-credentials: false
22+
23+
- name: Setup pnpm
24+
uses: pnpm/action-setup@0e279bb959325dab635dd2c09392533439d90093 # v6.0.8
25+
26+
- name: Setup Node
27+
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
28+
with:
29+
node-version: 22.x
30+
registry-url: https://registry.npmjs.org
31+
32+
- name: Install Dependencies
33+
run: pnpm install --frozen-lockfile
34+
35+
- name: Build packages
36+
run: pnpm run build
37+
38+
- name: Publish remaining packages
39+
env:
40+
NODE_AUTH_TOKEN: ""
41+
run: |
42+
PACKAGES=(
43+
agentcore-runner
44+
core
45+
react-core
46+
react-native
47+
react-textarea
48+
react-ui
49+
runtime
50+
runtime-client-gql
51+
sdk-js
52+
shared
53+
sqlite-runner
54+
voice
55+
vue
56+
web-inspector
57+
)
58+
for pkg in "${PACKAGES[@]}"; do
59+
DIR="packages/$pkg"
60+
NAME=$(jq -r '.name' "$DIR/package.json")
61+
VERSION=$(jq -r '.version' "$DIR/package.json")
62+
echo "=== Publishing $NAME@$VERSION ==="
63+
cd "$DIR"
64+
pnpm pack
65+
TARBALL="${NAME//@/}"
66+
TARBALL="${TARBALL////-}-${VERSION}.tgz"
67+
npx --yes npm@11.15.0 publish "$TARBALL" --tag latest --access public
68+
cd /home/runner/work/CopilotKit/CopilotKit
69+
echo "Done: $NAME@$VERSION"
70+
echo ""
71+
done

packages/agentcore-runner/package.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22
"name": "@copilotkit/agentcore-runner",
33
"version": "1.57.4",
44
"description": "AWS Bedrock AgentCore-compatible agent runner for CopilotKit2",
5+
"repository": {
6+
"type": "git",
7+
"url": "https://github.com/CopilotKit/CopilotKit.git"
8+
},
59
"type": "module",
610
"main": "./dist/index.cjs",
711
"module": "./dist/index.mjs",

packages/core/package.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22
"name": "@copilotkit/core",
33
"version": "1.57.4",
44
"description": "Core web utilities for CopilotKit2",
5+
"repository": {
6+
"type": "git",
7+
"url": "https://github.com/CopilotKit/CopilotKit.git"
8+
},
59
"type": "module",
610
"main": "./dist/index.cjs",
711
"module": "./dist/index.mjs",

packages/sqlite-runner/package.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22
"name": "@copilotkit/sqlite-runner",
33
"version": "1.57.4",
44
"description": "SQLite-backed agent runner for CopilotKit2",
5+
"repository": {
6+
"type": "git",
7+
"url": "https://github.com/CopilotKit/CopilotKit.git"
8+
},
59
"type": "module",
610
"main": "./dist/index.cjs",
711
"module": "./dist/index.mjs",

packages/voice/package.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22
"name": "@copilotkit/voice",
33
"version": "1.57.4",
44
"description": "Voice services for CopilotKit (transcription, text-to-speech, etc.)",
5+
"repository": {
6+
"type": "git",
7+
"url": "https://github.com/CopilotKit/CopilotKit.git"
8+
},
59
"type": "module",
610
"main": "./dist/index.cjs",
711
"module": "./dist/index.mjs",

packages/web-inspector/package.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22
"name": "@copilotkit/web-inspector",
33
"version": "1.57.4",
44
"description": "Lit-based web component for the CopilotKit web inspector",
5+
"repository": {
6+
"type": "git",
7+
"url": "https://github.com/CopilotKit/CopilotKit.git"
8+
},
59
"type": "module",
610
"main": "./dist/index.cjs",
711
"module": "./dist/index.mjs",

0 commit comments

Comments
 (0)