diff --git a/.changeset/fix-web-search-prompt-guard.md b/.changeset/fix-web-search-prompt-guard.md deleted file mode 100644 index 9d6c199..0000000 --- a/.changeset/fix-web-search-prompt-guard.md +++ /dev/null @@ -1,10 +0,0 @@ ---- -"@counterposition/pi-web-search": patch ---- - -# pi-web-search - -Fix the web-content prompt-injection guard so the extension returns the updated -`before_agent_start` system prompt instead of mutating the event object. Pi reads -system-prompt changes from the handler's return value, so the previous mutation -of `event.systemPrompt` did not reach the active prompt. diff --git a/.changeset/sync-skill-pi-073x.md b/.changeset/sync-skill-pi-073x.md deleted file mode 100644 index 7764afc..0000000 --- a/.changeset/sync-skill-pi-073x.md +++ /dev/null @@ -1,14 +0,0 @@ ---- -"@counterposition/skill-pi": minor ---- - -# skill-pi - -Sync skill docs with the Pi 0.73.x coding agent and tighten the skill for token efficiency. - -- SDK `tools` is now a `string[]` name allowlist (Pi 0.68); document `noTools: "all" | "builtin"` and drop references to the removed `readTool`/`bashTool`/`codingTools`/`readOnlyTools` exports. -- Document the new extension surface: `terminate: true` on tool results, `defineTool()`, `ctx.ui.setWorkingIndicator`/`setWorkingVisible`/`addAutocompleteProvider`/`getEditorComponent`, `before_agent_start.systemPromptOptions`, `after_provider_response`, `thinking_level_select`, `message_end` replacement, `session_shutdown.{reason,targetSessionFile}`, `ctx.fork(id, {position})` plus `/clone`, and `pi.unregisterProvider`. -- Switch TypeBox guidance to `typebox` 1.x (legacy `@sinclair/typebox` still aliased). -- Refresh the providers reference: remove Google Gemini CLI / Antigravity, add DeepSeek, Cloudflare AI Gateway / Workers AI, Moonshot, Fireworks, and Xiaomi MiMo (+ regional Token Plan variants); replace `compat.reasoningEffortMap` with model-level `thinkingLevelMap`; cover per-model `baseUrl` overrides and Azure Cognitive Services endpoints. -- Settings: add `terminal.showTerminalProgress`/`imageWidthCells`, `retry.provider.*`, `warnings.anthropicExtraUsage`, `enableInstallTelemetry`, and the `PI_CODING_AGENT_SESSION_DIR`/`PI_OFFLINE`/`PI_TELEMETRY`/`PI_OAUTH_CALLBACK_HOST` env vars; absorb the CLI-flag cheatsheet so SKILL.md can stay routing-focused. -- Trim SKILL.md from ~210 lines to ~70, dropping the redundant CLI dump, built-in tools table, and execution-modes table; condense niche compat-flag prose in the providers reference into a single pointer to upstream `models.md`. diff --git a/packages/pi-web-search/CHANGELOG.md b/packages/pi-web-search/CHANGELOG.md index 997507d..e0c91e8 100644 --- a/packages/pi-web-search/CHANGELOG.md +++ b/packages/pi-web-search/CHANGELOG.md @@ -1,5 +1,16 @@ # Changelog +## 0.4.1 + +### Patch Changes + +- dde2a16: # pi-web-search + + Fix the web-content prompt-injection guard so the extension returns the updated + `before_agent_start` system prompt instead of mutating the event object. Pi reads + system-prompt changes from the handler's return value, so the previous mutation + of `event.systemPrompt` did not reach the active prompt. + ## 0.4.0 ### Minor Changes diff --git a/packages/pi-web-search/package.json b/packages/pi-web-search/package.json index 174fcfa..bd6f9d2 100644 --- a/packages/pi-web-search/package.json +++ b/packages/pi-web-search/package.json @@ -1,6 +1,6 @@ { "name": "@counterposition/pi-web-search", - "version": "0.4.0", + "version": "0.4.1", "description": "Multi-provider web search and markdown page fetch for Pi", "keywords": [ "brave-search", diff --git a/packages/skill-pi/CHANGELOG.md b/packages/skill-pi/CHANGELOG.md index 478fb82..30bb6b7 100644 --- a/packages/skill-pi/CHANGELOG.md +++ b/packages/skill-pi/CHANGELOG.md @@ -1,5 +1,20 @@ # @counterposition/skill-pi +## 0.73.0 + +### Minor Changes + +- 8519110: # skill-pi + + Sync skill docs with the Pi 0.73.x coding agent and tighten the skill for token efficiency. + + - SDK `tools` is now a `string[]` name allowlist (Pi 0.68); document `noTools: "all" | "builtin"` and drop references to the removed `readTool`/`bashTool`/`codingTools`/`readOnlyTools` exports. + - Document the new extension surface: `terminate: true` on tool results, `defineTool()`, `ctx.ui.setWorkingIndicator`/`setWorkingVisible`/`addAutocompleteProvider`/`getEditorComponent`, `before_agent_start.systemPromptOptions`, `after_provider_response`, `thinking_level_select`, `message_end` replacement, `session_shutdown.{reason,targetSessionFile}`, `ctx.fork(id, {position})` plus `/clone`, and `pi.unregisterProvider`. + - Switch TypeBox guidance to `typebox` 1.x (legacy `@sinclair/typebox` still aliased). + - Refresh the providers reference: remove Google Gemini CLI / Antigravity, add DeepSeek, Cloudflare AI Gateway / Workers AI, Moonshot, Fireworks, and Xiaomi MiMo (+ regional Token Plan variants); replace `compat.reasoningEffortMap` with model-level `thinkingLevelMap`; cover per-model `baseUrl` overrides and Azure Cognitive Services endpoints. + - Settings: add `terminal.showTerminalProgress`/`imageWidthCells`, `retry.provider.*`, `warnings.anthropicExtraUsage`, `enableInstallTelemetry`, and the `PI_CODING_AGENT_SESSION_DIR`/`PI_OFFLINE`/`PI_TELEMETRY`/`PI_OAUTH_CALLBACK_HOST` env vars; absorb the CLI-flag cheatsheet so SKILL.md can stay routing-focused. + - Trim SKILL.md from ~210 lines to ~70, dropping the redundant CLI dump, built-in tools table, and execution-modes table; condense niche compat-flag prose in the providers reference into a single pointer to upstream `models.md`. + ## 0.65.1 ### Patch Changes diff --git a/packages/skill-pi/package.json b/packages/skill-pi/package.json index 94a7480..b696b6c 100644 --- a/packages/skill-pi/package.json +++ b/packages/skill-pi/package.json @@ -1,6 +1,6 @@ { "name": "@counterposition/skill-pi", - "version": "0.72.0", + "version": "0.73.0", "description": "Pi coding agent reference skill — extensions, settings, providers, SDK/RPC, packages, and .pi/ config", "keywords": [ "ai-skill",