Feature request: local lifecycle hooks / notification integration for tools like peon-ping #6686
KyloJorgensen
started this conversation in
Ideas
Replies: 1 comment
|
Yeah, we need some type of notification/sound when the agent finishes work or needs input/approval. |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Summary
I'd like T3 Code to expose a clean integration surface for external local notification/sound tools like peon-ping.
peon-ping repo: https://github.com/PeonPing/peon-ping
peon-ping is an open-source local notifier for coding agents: it plays sound packs / voice lines, updates tab titles, and shows desktop notifications/overlays when an agent finishes work, needs approval, errors, or hits resource limits. It already integrates with multiple agent tools via small adapters/hooks.
This request is not necessarily "bundle peon-ping into T3." The more important part is exposing a stable local lifecycle/hook surface so tools like peon-ping can integrate cleanly.
Why this seems feasible
I dug through a local checkout of
t3codeand T3 already appears to have almost everything needed internally:session.startedturn.startedturn.completedrequest.openeduser-input.requestedruntime.erroraccount.rate-limits.updatedSo the missing piece seems to be an external/local notification sink or hook API, not the event modeling itself.
Why this would help
This would let users plug in tools like peon-ping without T3 needing to own every sound pack / voice pack / overlay implementation itself.
It also keeps the integration generic enough for:
Suggested shape
A good minimal version would be one of these:
Important design detail
Because sound playback / desktop notifications should happen on the user's local machine, this probably should live in the desktop/local runtime (for example Electron main process or another local-only integration path), not purely in the browser UI and not only in a possibly-remote server process.
Suggested event mapping
Something like this would make external sound tools work well:
session.started-> session start / greetingturn.started-> task acknowledged / workingturn.completed-> task completerequest.opened-> input required / permission neededuser-input.requested-> question pendingturn.completedorruntime.error-> task errorOne important nuance
The final "done" signal should be based on the actual settled turn completion signal, not intermediate task events.
In other words: an integration should avoid firing completion sounds for internal progress/task markers that happen before the user-visible turn is truly complete.
Request
Would you be open to either:
If helpful, I can also put together a concrete proposed event contract / mapping for peon-ping-style integrations.
All reactions