Added
contextExpandedparameter andPI_ASK_USER_CONTEXT_EXPANDEDpreference for opening oversized context expanded by default; per-call value wins,ctrl+estill toggles. Closes #45. (#57)
Changed
ask:answeredandask:cancelledevents are redacted by default: they now carry only the question and the responsekind, since every installed extension receives them. SetPI_ASK_USER_EMIT_FULL_EVENTS=trueto restore the previous payloads withcontext,options, and the fullresponse. The tool result'sdetailsis unchanged. Closes #51. (#56)
Fixed
- The overlay visibility shortcut now ignores Kitty keyboard repeat and release events, preventing one
alt+okeypress from hiding and immediately reopening the prompt. Closes #46. (#40) ask_userfailing to register on oh-my-pi 17.2.x, whose TypeBox shim returned a plain object fromType.UnsafethatType.Optionalcould not wrap (asRuntime(schema).or is not a function).StringEnumnow probes the host builder and falls back to a literal union — which those hosts already collapse to the flat{ type: "string", enum }form — while real TypeBox keeps the flat enum Google's function-calling API requires. Closes #38. (#55)
Full changelog: 2de7e14...v0.15.0