Make terminal a button that expands the collapsed agent panel

AI Assisted
This commit is contained in:
jparkerweb committed 2026-11-03 10:22:08 -08:00
1 parent bd5daa7972
commit a450604d8f
9 files changed
+131 -11

No files matched your search

+2 -1
View File
@@ -26,7 +26,8 @@ export function linkLeavesPage(href, origin) {
/**
* Call `handler(data)` for each `{ plan2code: kind, ... }` message the frame's
* parent sends, and for nothing from anywhere else (another frame, the page
* itself). The app's only answer today is `taskbar-state`.
* itself). The app sends `taskbar-state`, `terminal-state` and the loop's
* answers (wireLoopMessages).
*/
export function onAppMessage(kind, handler) {
window.addEventListener("message", (event) => {