No error is a dead end: crash, click, and your agent is already looking
Claude-Session: https://claude.ai/code/session_01Ms2FbjQy31TVf3CEvQhGM8
This commit is contained in:
@@ -178,6 +178,31 @@ ShellRoot {
|
||||
});
|
||||
}
|
||||
|
||||
// A command carried as data in the `panama-exec` hint -- the mechanism
|
||||
// the escalation ladder rides. Three facts in one pass: a notification
|
||||
// without the hint carries nothing (which is almost all of them), one
|
||||
// with it carries exactly what was sent, and the entry goes when the
|
||||
// notification does rather than outliving it in the model.
|
||||
function execHint(): string {
|
||||
root.reset();
|
||||
|
||||
const plain = root.notification(20, "org.exec.App.desktop", "Exec App");
|
||||
Notifs.handleNotification(plain);
|
||||
|
||||
const carrying = root.notification(21, "org.exec.App.desktop", "Exec App");
|
||||
carrying.hints = { "panama-exec": " panama-agent-crash 41283 kitty " };
|
||||
Notifs.handleNotification(carrying);
|
||||
const carried = Notifs.execCommand(carrying);
|
||||
|
||||
carrying.dismiss();
|
||||
|
||||
return JSON.stringify({
|
||||
plain: Notifs.execCommand(plain),
|
||||
carried: carried,
|
||||
afterDismiss: Notifs.execCommand(carrying)
|
||||
});
|
||||
}
|
||||
|
||||
// The override is one answer shared by the bell, the banner duration,
|
||||
// the breakthrough gate and the card. Only the duration is observable
|
||||
// from here, and it is the one that would silently keep the old value.
|
||||
|
||||
Reference in New Issue
Block a user