Skip to content

build: prepare provisional Prime Intellect Bun packages - #1980

Draft
sethkarten wants to merge 31 commits into
feat/bun-primary-runtimefrom
feat/prime-intellect-npm-package
Draft

build: prepare provisional Prime Intellect Bun packages#1980
sethkarten wants to merge 31 commits into
feat/bun-primary-runtimefrom
feat/prime-intellect-npm-package

Conversation

@sethkarten

@sethkarten sethkarten commented Sep 2, 2026

Copy link
Copy Markdown
Contributor

Stack

Draft PR stacked on #1970 (feat/bun-primary-runtime). Review and merge only after #1970 lands and the final npm package identity is confirmed.

Summary

  • propose the provisional public package graph under @prime-intellect
  • expose @prime-intellect/prime-agent through the prime-agent command
  • bundle the global CLI from the Bun entry point and target Bun
  • make bun install -g @prime-intellect/prime-agent the preferred install path in current docs
  • move all four public workspace dependencies together so the CLI does not retain release dependencies under @earendil-works
  • retain the legacy @earendil-works/pi-* extension aliases at runtime and in the root TypeScript paths
  • add public scoped-package metadata and change fragments

Explicitly not included

  • no npm or Bun package publication
  • no registry package reservation
  • no npm credentials, trusted-publishing setup, or release workflow changes
  • no final commitment to the proposed namespace or supporting package names

The package names in this draft are intentionally provisional and can be changed before publication.

Validation

  • bun install --frozen-lockfile (Bun 1.4.0)
  • bun run check
  • cd packages/coding-agent && bun test test/config.test.ts (22 passed)
  • independent diff review found no remaining blockers

Note

Rename packages to @prime-intellect/prime-agent-* scope and switch to Bun install

  • Renames all workspace packages to the @prime-intellect scope: prime-agent (CLI), prime-agent-ai, prime-agent-core, and prime-agent-tui, and repoints every import across the codebase, docs, and examples to the new names.
  • Changes the published CLI bin from pi to prime-agent and makes global Bun installation the primary install path, with the standalone shell installer retained as a macOS/Linux alternative.
  • Updates the bundle build script to target Bun and use the Bun-specific CLI entrypoint.
  • Behavioral Change: the CLI is now invoked as prime-agent and installed via bun install -g @prime-intellect/prime-agent; the theme global symbol key moves from the former coding-agent namespace to the Prime Agent namespace, and the config fallback identity in config.ts now reports @prime-intellect/prime-agent.

Macroscope summarized 97795bf.

@sethkarten
sethkarten force-pushed the feat/bun-primary-runtime branch 2 times, most recently from 5259609 to 1fc4769 Compare September 4, 2026 12:39
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