mirror of
https://github.com/jparkerweb/plan2code.git
synced 2026-11-17 04:45:33 -08:00
Make terminal a button that expands the collapsed agent panel
AI Assisted
This commit is contained in:
1 parent
bd5daa7972
commit
a450604d8f
9 files changed
+131
-11
No files matched your search
@@ -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) => {
|
||||
|
||||
Reference in new issue
Block a user