Skip to content

chore: add current Pi extension config#1314

Merged
Soph merged 1 commit into
mainfrom
chore/add-pi-extension-current
Jun 1, 2026
Merged

chore: add current Pi extension config#1314
Soph merged 1 commit into
mainfrom
chore/add-pi-extension-current

Conversation

@dipree
Copy link
Copy Markdown
Contributor

@dipree dipree commented Jun 1, 2026

https://entire.io/gh/entireio/cli/trails/468

Summary

  • Add the current project-local Pi extension at .pi/extensions/entire/index.ts
  • Normalize the checked-in Entire settings JSON ordering
  • Do not add the stale top-level .pi/extensions/entire.ts file from chore: add Pi extension config #1261

Tests

  • Not run (configuration-only change)

Note

Low Risk
Configuration and a best-effort, non-blocking hook bridge with no auth or production runtime changes.

Overview
Adds the project-local Pi coding-agent extension at .pi/extensions/entire/index.ts so Pi sessions forward lifecycle events to entire hooks pi (session start/shutdown, before agent start, agent end) with JSON on stdin—supporting checkpoints, transcripts, and rewind/resume. The extension also buffers /skill:… invocations until the next agent turn and prepends GIT_TERMINAL_PROMPT=0 to bash tool commands so agent-driven git work stays non-interactive.

.entire/settings.json is updated only to reorder/normalize JSON (e.g. strategy and filtered_fetches placement); behavior should match the prior layout.

Reviewed by Cursor Bugbot for commit fa24303. Configure here.

Entire-Checkpoint: b659a6bb10ba
Copilot AI review requested due to automatic review settings June 1, 2026 19:41
@dipree dipree requested a review from a team as a code owner June 1, 2026 19:41
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds the project-local Pi coding-agent extension that bridges Pi lifecycle events into entire hooks pi, and normalizes the JSON key ordering in .entire/settings.json. This supersedes #1261 by keeping only the .pi/extensions/entire/index.ts form and omitting the stale top-level .pi/extensions/entire.ts.

Changes:

  • Add .pi/extensions/entire/index.ts forwarding session_start, before_agent_start, agent_end, and session_shutdown to entire hooks pi, buffering /skill: invocations, and prepending GIT_TERMINAL_PROMPT=0 to bash tool commands.
  • Reorder keys in .entire/settings.json (no behavioral change).

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
.pi/extensions/entire/index.ts New Pi extension that forwards lifecycle events to entire hooks pi and patches bash commands for non-interactive git.
.entire/settings.json Key-order normalization only; no semantic change.

@Soph Soph enabled auto-merge June 1, 2026 19:42
@Soph Soph merged commit a97f557 into main Jun 1, 2026
11 checks passed
@Soph Soph deleted the chore/add-pi-extension-current branch June 1, 2026 19:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants