Skip to content

fix: fix pi agent installation - #412

Open
dtandersen wants to merge 1 commit into
ExaDev:mainfrom
dtandersen:fix/pi-install
Open

dtandersen wants to merge 1 commit into
ExaDev:mainfrom
dtandersen:fix/pi-install

Conversation

@dtandersen

Copy link
Copy Markdown

Problem

pi install npm:agent-comms reports success, but Pi cannot load the extension because the package manifest points to ./src/bridges/pi/extension.ts, and src/ is not included in the published npm package.

Fix

Point pi.extensions at ./dist/bridges/pi/extension.js instead. The release workflow already builds the TypeScript into dist/, copies the web UI assets there, and publishes dist/ as part of the package. This makes the extension load from the published npm package without changing runtime behavior or including the full source tree.

Scope

This intentionally fixes the documented npm install path only. Installing directly from a source checkout is a separate concern because Pi does not run the project's build pipeline during a git install.

This branch has not been deployed

No deployments
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