mirror of
https://github.com/jparkerweb/plan2code.git
synced 2026-11-17 04:45:33 -08:00
Add the agent-less setup page, a shared agent list and the split Agents & models tab
AI Assisted
This commit is contained in:
1 parent
c122332657
commit
33f1783979
55 files changed
+5453
-1345
No files matched your search
@@ -87,6 +87,14 @@ export async function startNewSession(command = "") {
|
||||
tellApp("new-session");
|
||||
}
|
||||
|
||||
/**
|
||||
* Tell the app an agent was just found on the setup page: it returns to the
|
||||
* screen it came from, rechecks, and picks that agent on the launch card.
|
||||
*/
|
||||
export function agentFound(id) {
|
||||
tellApp("agent-found", { id });
|
||||
}
|
||||
|
||||
/** Post `message` to the frame's parent, as `{ plan2code: kind, ...extra }`; nothing outside a frame. */
|
||||
export function tellApp(kind, extra = {}) {
|
||||
if (!framed()) return;
|
||||
|
||||
Reference in new issue
Block a user