Skip to content

feat(harness): expose native Pi runtime#3391

Open
jonathanlab wants to merge 1 commit into
mainfrom
pi-harness-runtime
Open

feat(harness): expose native Pi runtime#3391
jonathanlab wants to merge 1 commit into
mainfrom
pi-harness-runtime

Conversation

@jonathanlab

@jonathanlab jonathanlab commented Jul 13, 2026

Copy link
Copy Markdown
Contributor

This cleans up the entry points towards the harness, which were getting quite muddled

It also introduces a way to spawn pi in RPC mode in @posthog/agent via rpc-host.ts, and a way to interact with the RPC host in a typed manner via rpc-client.ts

@trunk-io

trunk-io Bot commented Jul 13, 2026

Copy link
Copy Markdown

Merging to main in this repository is managed by Trunk.

  • To merge this pull request, check the box to the left or comment /trunk merge below.

After your PR is submitted to the merge queue, this comment will be automatically updated with its status. If the PR fails, failure details will also be posted here

jonathanlab commented Jul 13, 2026

Copy link
Copy Markdown
Contributor Author

@github-actions

github-actions Bot commented Jul 13, 2026

Copy link
Copy Markdown

React Doctor found no issues in the changed files. 🎉

Reviewed by React Doctor for commit 0e925bf.

@greptile-apps

greptile-apps Bot commented Jul 13, 2026

Copy link
Copy Markdown
Contributor

Security Review

The new runtime can reuse credentials from the initial agent directory when Pi recreates a runtime with a different directory. That can cross account or region boundaries in embedded runtime flows.

Reviews (1): Last reviewed commit: "feat(harness): expose native Pi runtime" | Re-trigger Greptile

Comment thread packages/harness/src/runtime.ts Outdated
Comment thread packages/harness/package.json
@jonathanlab jonathanlab force-pushed the pi-harness-runtime branch 5 times, most recently from 1b1dd43 to a4f25c4 Compare July 13, 2026 13:35
@jonathanlab jonathanlab force-pushed the pi-harness-runtime branch 2 times, most recently from 608c021 to cd593d5 Compare July 15, 2026 14:00
@jonathanlab jonathanlab force-pushed the pi-harness-runtime branch 2 times, most recently from b12cfed to 84dccb9 Compare July 15, 2026 14:19
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