Skip to content

0.9.176

Latest

Choose a tag to compare

@michael-denyer michael-denyer released this 04 Dec 10:57
· 23 commits to main since this release
73c7013

The Antigravity SessionStart hook now keeps a saved role line whose entries carry a known reasoning effort, as in bug-fix: pro @high, and passes it on as bug-fix: pro, since invoke_subagent takes no effort. Before, any such line was dropped. When a known role's line still holds an entry that is not inherit, inherit-parent, auto, flash_lite, flash, or pro, or holds no entry at all, the hook names that role in the injected systemMessage and tells the agent to omit Model for it and tell the user. Before, the line was dropped without a word, and the role ran on the parent session's model. The names come from the hook's own role list, so no sheet text reaches the session. #625

The NOTICE.md in the open-pstack npm tarball had six links to five repository files the tarball does not ship, among them CHANGES.md, tools/forks.json, and docs/reference.md#codex. installer/scripts/stage.mjs now points each link in the staged NOTICE.md and NOTICE-skills.md whose target is not packed beside them at the same file on GitHub, at the release's tag. Links to the licenses packed beside them stay relative. A test in tests/installer.test.mjs runs npm pack --dry-run, copies the listed files, and fails on any local Markdown link that does not resolve inside them. #632

For contributors: the live Pi panel test failed on Pi 1.5.1 with panel-opus on openai/gpt-6.2-sol where the test expected openai/gpt-6.1-sol. The extension's choice was the documented one: on the OpenAI providers it prefers the Codex tier model when the session's model registry has it, and a Pi RPC session refreshes its catalog from pi.dev in the background, which lists gpt-6.2-sol. The test predicted from pi --list-models, which fetches nothing and lists Pi's built-in models plus the pi.dev models already stored in the agent directory. The suite's fresh directory had none stored, and Pi 1.5.1's built-in models lack gpt-6.2-sol. agentModels in tests/pi/live-harness.mjs now runs pi update --models before listing, so the prediction, the parent session, and its agents read the same stored catalog, and a failed refresh fails the test instead of predicting from a stale catalog. tests/pi/live-harness.test.mjs checks both against a stand-in for Pi's catalog commands. The extension's behavior is unchanged.

For contributors: the copy of Pi the tests load moves from 1.5.2 to 1.8.0, the latest release, and plugins/package.json drops its overrides block. Pi 1.8.0 depends on cross-spawn 7.1.2 and minimatch 11.0.9, past the advisories the cross-spawn and minimatch overrides worked around, and its CLI bundle inlines the fixed cross-spawn too. ws stays at 8.23.1 in plugins/bun.lock without its override. The OSV scan of the new lockfile finds nothing; the same scan of Pi 1.5.2 without the overrides finds five advisories. PI_FLOOR stays at 1.5.1, and CI's Pi extension types job still checks that release. No shipped file changes. #595

The Vibe session_start hook now has a PowerShell half. On native Windows, Vibe 3.2 runs a hook's command in the session's shell, and it picks PowerShell when it finds no bash.exe, Git for Windows' included. The old command, sh "$PLUGIN_ROOT/hooks/session-start.sh" vibe, could not run there: PowerShell reads $PLUGIN_ROOT as its own empty variable, and with no Git Bash there is no sh. The command in hooks.toml is now one line that PowerShell and sh each read their own half of, and PowerShell's half runs session-start.ps1, which gains a vibe case that reads VIBE_HOME as Vibe does, including ~\, UNC, and root-relative values. When that script is missing or does not parse, the command now exits 1 rather than 0, and Vibe reports a non-zero exit as a failed hook. The Windows CI job runs the command under Windows PowerShell and PowerShell 7 with the argv and command line Vibe 3.2.0 and 3.2.1 build, as read from Vibe's source; no Windows Vibe session has run it yet. #641

On Windows under Git Bash, the Vibe SessionStart hook now finds the saved model sheet for three more VIBE_HOME forms that Vibe itself reads as folders: ~\vibe, a UNC path such as \\server\share\vibe, and a path rooted on the current drive such as \vibe or /vibe. Before, it read ~/.vibe instead for ~\vibe, the UNC path, and \vibe, and read /vibe under Git's own install folder, so a sheet saved in any of them was not applied. session-start.sh now turns backslashes into slashes on Windows only and puts the current drive in front of a path with one leading separator. Other systems read VIBE_HOME as before. A Vibe session that runs hooks in PowerShell is #641. #631

watch-pr no longer reads a workflow run as passed in the moment between two of its jobs. gh pr checks lists only the jobs a run has created, so after one job finishes and before the next is created, a running workflow can show nothing but passed jobs. Once gh pr checks had reported the head, the suite read in watch-pr/check-suites.ts skipped every suite with check runs, so nothing kept the head pending. The reader now reads the check runs of each unfinished Actions suite with runs. It counts the suite as a pending GitHub Actions check suite check when the suite has a finished run and either its newest run finished or a run still going started within the last two minutes. A queued run gets its start time when it is created, so this also holds when the next job appears between the two reads. GitHub can leave a suite unfinished for weeks after its last run, and a suite with no activity in the last two minutes does not count, so a head with such a suite still settles. #634