fix(deps): update module github.com/michaelkinsy/pig/extensions/sdk to v0.9.0 #16
Loading…
Reference in a new issue
No description provided.
Delete branch "renovate/github.com-michaelkinsy-pig-extensions-sdk-0.x"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This PR contains the following updates:
v0.8.0→v0.9.0Release Notes
MichaelKinsy/PiG (github.com/MichaelKinsy/PiG/extensions/sdk)
v0.9.0Compare Source
PiG 0.9.0
PiG 0.9.0 is a Pi-catch-up, fix, extension-SDK and MCP OAuth release. It follows Pi 1.7.0 (
fb0fe823), advancing from the prior Pi pin shipped in PiG 0.8.0. It follows PiG 0.8.0, with 24 additions, 9 changes and 54 recorded fixes inCHANGELOG.md(54 bug-fix ledger entries withfixedIn: 0.9.0: 49 PiG defects and 5 Pi fixes ported). Install it withgo install github.com/MichaelKinsy/PiG/cmd/pig@latestornpm i -g @pi-in-go/pig, or download thepig,pig-standardorpig-acparchives attached to this release.PiG is a faithful Go implementation of Pi, the reference implementation. Pi's behavior is the contract, and every place PiG differs is a numbered divergence. PiG is not an official Pi project, and Pi's maintainers have not endorsed it. It was created by Michael Kinsy and originally developed at Hewlett Packard Enterprise.
This is a minor release because it catches up to Pi 1.7.0 (including
pi-image, Chord Protocol v2,--agent-dir, and removal of install telemetry), adds Microsoft Entra multi-tenant MCP OAuth discovery (D662/D663), adds opt-in Tier B derivative-harness hooks (D91,D664,D665), and removes deprecatedchord/syncepochs,durablenested park structs, and Chord v1variants. Read "Upgrading" before you update Go code or rebuild extensions.Thanks
This release includes fixes driven by your reports:
/slash-command autocomplete dropdown.kit.Loaderreturned from a custom entry, message or tool view renderer stayed frozen on its first frame inside a caching transcript container.Fixes for reported issues
customandbranch_summaryentries lazily by file offset, length, hash and base metadata instead of eagerly decoding and retaining both the raw JSONL line and decoded payload on the heap. Standard-shaped oversizedcustomlines (>4 MiB) stream in constant memory without buffering the whole line, and redundant raw JSON copies are stripped from canonical resident entries.ctx.SetEditorComponentin Go, Python, Rust and Common Lisp) that delegate to the host editor now flush and refresh slash-command autocomplete when typing/and complete onTab, instead of dropping queued flushes underEditor.forwards().kit.Loaderreturned from anEntryViewRenderer,MessageViewRendererorToolViewRenderernow animates inside a caching transcript container instead of staying frozen on its first frame.uint32(preventing oversized-record wraparound). Temp-file open/write/close failures in bash tool output,!shell execution, external editor launch and TUI crash logging no longer crash or drop output, and surfaceFullOutputError/full_output_erroracross sessions, RPC and all four SDKs.Pi 1.7.0 catch-up
PiG 0.9.0 pins Pi 1.7.0 (
fb0fe823).pi-imageAPI (ai.GenerateImages,PiImageRequest,PiImageResponse) withUsage.ImageOutput/ModelCost.ImageOutputpricing across Go, Python, Rust and Common Lisp SDKs. Adds thepi-decisionclassifier API (ClassifyPiDecision) andClassifierResult.ResponseID. Adds dynamic Radius gatewayimageanddecisioncatalogs,xhighthinking on Gemini 4 Hydrogen and Neon, GitHub Copilotgpt-6-luna-decisionsandreasoning_opaquereplay with prompt-cache preservation across effort/tool changes, and Bedrock Kimi K3 / GLM 5.3 updates.--agent-dir <dir>(applied before subcommands and carried into resume commands). Adds Program Resume via OSC 7577: in terminals settingOSC7577_TOKEN, interactive mode reports the session resume command (including restriction and resource flags) and stripsOSC7577_TOKENfrom child environments at startup. Adds per-notice visibility settings (notices.cacheMisses,notices.cacheWarming,notices.compactionCosts,notices.reasoningDrops) under Notices in/settings,BlockedKind(permission,question,auth) on OSC 7501 dialogs, and removes install telemetry reporting (/api/report-install,enableInstallTelemetry,PI_TELEMETRY/PIG_TELEMETRY).ProtocolVersion = 2) withgrantablestate,admit/allow/deny,Bound.Granted,Self.Follow,TuiScope.Live,Plugins.Apply/ApplyWith, commit-indexed shared live reads, andFileSystemSyncRemote. Moveschord/nextnode/plugins,chord/nextnode/workersanddurableto tagged unions (RolloutHost,PluginSource,SeriesResult,Compiled,ToolPark,FoundSlot,CompactionDecision,SignalState,CommitResult). Upgrades Durable's TinyGo runtime to v0.44.0.mcp.CreateMcpResultSchemaandmcp.ToMcpModelContent. Adds Microsoft Entra ID multi-tenant v2.0 OpenID discovery and RFC 9207 callback tenant-UUID matching (D662) so MCP OAuth sign-in works with Microsoft Work IQ, Fabric and Azure MCP servers, plus--oauth-auth-server-metadata-urland--oauth-scopeonpig mcp add(D663). Storedauth.json!commandfailures now render asstored key did not resolvein/loginwithout synchronous blocking.env/daemonnow tears down every process in a terminal or command session across process groups on shell exit or close (pidfdon Linux,getsidon macOS/Unix), leaving detachedsetsidsessions untouched.Extension SDKs & Piglets
D91,D664,D665). Adds opt-in recursive child sessions bounded byDefaultMaxChildSessionDepth = 8, extension MCP resource host calls (ListMcpResources,ListMcpResourceTemplates,ReadMcpResource), and prompt-only token accounting (agent.CalculatePromptTokens,ContextUsageEstimate.PromptTokens). Extends theD91frontend seam with opt-in structured transcript primitives (StructuredTranscriptSession,Toast,AssistantTurn,TurnUsage,FormCard,Env.SubmitForm,Env.Interrupt) and inlineui.formDialog/sdk.Context.FormDialog(with plain-terminal fallback). Adds opt-in tool argument hooks (PrepareArguments,PrepareArgumentsRaw,LenientValidation,IntentField, throttledOnPartialArgspreviews) and Piglet manifest UX defaults (settings,themes,keybindings,ShortcutDecl.{Action,Global}).pig buildnow raises the mergedgo.modgodirective to the highest version required by any fused member module.pig-acparchives update to@pi-in-go/pigpen-acp0.2.4.Upgrading
Every breaking change and removal from 0.8.0 is listed below. Run
pig extension upgradeto diagnose removed install-telemetry methods (RuleInstallTelemetryRemoved).enableInstallTelemetry,PI_TELEMETRY,PIG_TELEMETRY,PIG_INSTALL_TELEMETRY_URL, andSettingsManager.{Get,Set}EnableInstallTelemetryare removed across Go, Python, Rust and Common Lisp SDKs (Pi v1.7.0).chord/syncwriter epochs removed. Remove any references toStaleEpoch,PutStaleEpoch,UploadResult.Epoch,UploadOptions.Epoch,PutBatchResult.EpochandPutBatchOptions.Epoch(retired upstream).variantsremoved.variants/useVariantAPIs are replaced by Chord Protocol v2grantable/admit/useLive.chord/nextnodeanddurable.durable.ToolParkSleepanddurable.ToolParkWaitare nowToolParkKindconstants on flatdurable.ToolPark;harness.CompactionDecision.Declineis replaced byKind == CompactionDeclineandSummary string;SubmitInmethods ondurable.ConversationHandle,durable/harnessanddurable/core/driverare renamed toAdmit.RolloutHostKindstring values change to"reloaded"/"failed"and worker reload failures sendFromWorkerReloadFailed.showCacheMissNoticesandSettingsManager.{Get,Set}ShowCacheMissNoticesare deprecated in favor ofnotices.*(SettingsManager.GetNotices/SetNotice);coding/mcpext.{CreateMcpResultSchema,ToModelContent}are deprecated in favor ofmcp.{CreateMcpResultSchema,ToMcpModelContent}.Known differences
Every intentional difference between PiG and Pi is tracked as a numbered divergence record in docs/parity/DIVERGENCES.md (214 files under
docs/parity/divergences/) and additive PiG features in docs/additive-features.md. This release addsD662(Microsoft Entra multi-tenant v2.0 MCP OAuth discovery and RFC 9207 callback matching) and additive recordsD663,D664andD665.Parity inventories at Pi 1.7.0: 1,064 / 1,067 intended-portable monorepo files ported (99.7%; 544 / 545 across the four core packages, 99.8%), 1,060 upstream test files ported (0 partial, 0 pending), and 15,593 / 15,593 semantic interface IDs closed (0 gaps).
Full changelog
See CHANGELOG.md (0.9.0 section).
Configuration
📅 Schedule: (in timezone Europe/London)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate CLI.
🤖 Repair attempt
Status: invalid patch produced; no commit pushed
Attempt: 1 of 3
Summary
Update the Nix vendorHash for pig-extensions after the Go SDK dependency update.
Diagnosis
The PR updated
github.com/MichaelKinsy/PiG/extensions/sdkfrom v0.8.0 to v0.9.0 ingo.mod/go.sum, but the NixvendorHashforpig-extensionswas not updated. The build fails with a fixed-output derivation hash mismatch: expectedsha256-PjLGJ8MrihWpqKpbCRLSNcMEsfNWap9Gd3gjVgZWslY=, gotsha256-97AAL0unx4c4kbDW1ucth0b5yqpg4IMkvIsHTvxHSrk=.Confidence
mediumSuggested fixes
modules/aspects/ai/pig/extensions/default.nixvendorHash =(approx. 5-10)vendorHashattribute still contains the old hash for SDK v0.8.0, causing a hash mismatch in the fixed-output derivationpig-extensions-0.1.0-go-modules.drv.vendorHashvaluesha256-PjLGJ8MrihWpqKpbCRLSNcMEsfNWap9Gd3gjVgZWslY=with the new hashsha256-97AAL0unx4c4kbDW1ucth0b5yqpg4IMkvIsHTvxHSrk=.modules/aspects/ai/pig/default.nixvendorHash =default.nix, the same oldvendorHashis present there and must be updated.sha256-PjLGJ8MrihWpqKpbCRLSNcMEsfNWap9Gd3gjVgZWslY=withsha256-97AAL0unx4c4kbDW1ucth0b5yqpg4IMkvIsHTvxHSrk=.Artifacts
repair/repair.patchrepair/git-apply-check.logNote
The Go module hash changed after updating the SDK dependency. Update the
vendorHashin the Nix package definition to the hash reported in the build log (sha256-97AAL0unx4c4kbDW1ucth0b5yqpg4IMkvIsHTvxHSrk=). The patch targets the most likely filemodules/aspects/ai/pig/extensions/default.nix; if the definition lives inmodules/aspects/ai/pig/default.nix, apply the same change there.View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.