Repository navigation
Add Pi agent support to install and cleanup scheduling - #18
Merged
Merged
Conversation
Install Codex and Pi skills into the shared .agents/skills directory, copying and removing it once while reporting both hosts. Drop the Codex-specific .codex/skills destination; backwards compatibility is not required. Add Pi as a cleanup scheduler agent. Pi runs non-interactively with an ephemeral session, no extensions, and a shell-free editing tool list. When no model is recorded, the --model flag is omitted so Pi uses its own configured, authenticated default rather than a hardcoded provider.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds Pi support and makes CLI cleanup runs inspectable through persistent local history.
claude,codex, andpi. Codex and Pi share.agents/skills, with one write/removal per destination and separate host reporting. Home installs detect.codexand.pi/agentindependently. Onlycontext-tree-*skills are managed.--modelis supplied. Pi runs without session persistence or extensions and with a restricted file-tool list. Codex and Claude retain their model defaults.cleanup logsshows the latest run;--listlists runs and--run <run-id>selects one. Text and versioned JSON include lifecycle events and agent stdout/stderr. History is shared across projects connected to the same tree and survives schedule removal. Reads do not refresh activity or contact the scheduler.Compatibility: Codex skill installation moves from
.codex/skillsto.agents/skills; existing files at the old location are no longer managed. Pi schedules may omitmodelin JSON. The package version advances to0.1.13.Validation:
pnpm check,pnpm typecheck,pnpm test, andpnpm check:package. Coverage includes host detection and shared installation, Pi arguments, cleanup history and retention, output handling, subprocess timeouts, and macOS removal.