Skip to content

feat(pi-harness): make pi-harness a standalone publishable package#87

Merged
arjun-zosma merged 1 commit into
zosmaai:mainfrom
arjun-zosma:feat/pi-harness-standalone-publish
Apr 26, 2026
Merged

feat(pi-harness): make pi-harness a standalone publishable package#87
arjun-zosma merged 1 commit into
zosmaai:mainfrom
arjun-zosma:feat/pi-harness-standalone-publish

Conversation

@arjun-zosma
Copy link
Copy Markdown
Member

Summary

Makes pi-harness a standalone npm package (like create-openzosma) so it can be published without relying on the unpublished @openzosma scope.

Problem

Publishing @openzosma/pi-harness fails because:

  1. The @openzosma npm scope doesn't exist (or the token lacks access)
  2. It depends on unpublished workspace packages: @openzosma/agents and @openzosma/logger

Changes

  • Renamed package: @openzosma/pi-harnesspi-harness
  • Inlined logger: Created a minimal src/logger.ts to replace @openzosma/logger dependency
  • Removed workspace deps: @openzosma/agents and @openzosma/logger removed from package.json (agents code is already bundled by esbuild)
  • Updated build script: build-bundle.mjs now bundles server.ts and cleans up internal session-manager files that referenced workspace packages
  • Added metadata: license, keywords, and repository fields to `package.json"

Verification

cd packages/pi-harness
pnpm build
npm pack --dry-run
# → name: pi-harness
# → no @openzosma runtime imports in dist/

@arjun-zosma arjun-zosma force-pushed the feat/pi-harness-standalone-publish branch 2 times, most recently from 2d153f6 to 8c6c7ed Compare April 26, 2026 20:06
- Rename package from @openzosma/pi-harness to pi-harness
- Inline createLogger to remove @openzosma/logger workspace dependency
- Remove @openzosma/agents from dependencies (bundled by esbuild)
- Update build-bundle.mjs to bundle server.ts and clean internal files
- Add license, keywords, and repository metadata to package.json
@arjun-zosma arjun-zosma force-pushed the feat/pi-harness-standalone-publish branch from 8c6c7ed to 76fce35 Compare April 26, 2026 20:10
@arjun-zosma arjun-zosma merged commit a6cc24d into zosmaai:main Apr 26, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant