Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 6 additions & 7 deletions .github/workflows/agent-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,15 +40,14 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v4

- name: Setup pnpm
uses: pnpm/action-setup@v4

- name: Setup Node.js
- name: Set up Node 24
uses: actions/setup-node@v4
with:
node-version: 22
node-version: 24
registry-url: https://registry.npmjs.org
cache: "pnpm"

- name: Install pnpm
run: npm install -g pnpm

- name: Install dependencies
run: pnpm install --frozen-lockfile
Expand All @@ -58,4 +57,4 @@ jobs:

- name: Publish the package to npm registry
working-directory: packages/agent
run: npm publish
run: pnpm publish --access public
5 changes: 1 addition & 4 deletions packages/agent/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"name": "@posthog/agent",
"version": "1.25.0",
"repository": "https://github.com/PostHog/array",
"description": "TypeScript agent framework wrapping Claude Agent SDK with Git-based task execution for PostHog",
"main": "./dist/index.js",
"module": "./dist/index.js",
Expand All @@ -23,10 +24,6 @@
],
"author": "PostHog",
"license": "SEE LICENSE IN LICENSE",
"repository": {
"type": "git",
"url": "https://github.com/PostHog/posthog-agent"
},
"scripts": {
"build": "pnpm exec rimraf dist && pnpm exec rollup -c && pnpm exec tsc --project tsconfig.build.json --emitDeclarationOnly",
"dev": "pnpm exec rollup -c --watch",
Expand Down