You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* fix(desktop): show ask-user dialog immediately, notify only as reminder
On macOS the makit window reports itself backgrounded whenever it isn't
frontmost, so SrvRequestHandler diverted every srv.request to a transient
system notification instead of the in-app dialog — the popup flashed and
vanished with no way to answer.
Add a reminderDelay mode: when set (desktop), requests always present the
dialog immediately regardless of window focus, and only fire a system
notification if still unanswered after the delay (2 min). Timers are
cancelled on answer/dispose. Mobile behavior (background→notification) is
unchanged (reminderDelay null).
* refactor(server): drop makit-pi connector + pi-ask filter for pi-ask-user
pi-ask-user degrades to ctx.ui.select/input under rpc, which the PiAdapter
interceptor (Path B) already transports to the app. That makes makit's own
AskUserQuestion connector tool (Path A) redundant, and the @mammothb/pi-ask
exclusion a no-op now that it's uninstalled.
Remove:
- connectors/makit-pi.ts (AskUserQuestion/askUserQuestion shadow tool)
- connectors/makit-piano.ts (piano connector skeleton)
- src/pi-agent-dir.ts + the buildFilteredAgentDir(['@mammothb/pi-ask']) filter
and PI_CODING_AGENT_DIR wiring
Keep the loopback bridge + extensionPaths (still used by test/e2e-server.ts:
StubAdapter reverse-RPC and the fake-model provider) and the askUser wiring
(Path B). No functional change to the ask_user flow.
* test(server): cover ask_user flow (e2e + integration + regression)
- e2e (test/ask-user-e2e.test.ts): real pi + pi-ask-user through PiAdapter
with a hermetic keyless fake model; proves ask_user round-trips with no
connector/bridge. Skips when pi/pi-ask-user are absent (e.g. cloud VM).
- integration (pi.test.ts): select/input/editor/confirm interceptor
round-trips assert the exact extension_ui_response written to pi stdin.
- regression (pi.test.ts): cancelled→{cancelled}, no-askUser→cancel (pi never
hangs after connector removal), detection keyed on method not tool name.
* fix: dismiss answered request dialogs
0 commit comments