Third-party Session Source Example (sm-demo-source)
Less than 1 minute
sm-demo-source
❝ Want to contribute a session source to All Sessions? Just copy this one. ❞
A session-manager third-party agent source contributor example (the minimal runnable template of the §4.8 slot contract). The contract in three steps:
ui.provides: ["session-agent-source"]declares the capability → session-manager discovers youGET agent-source/manifest→{ agents: [{ id, label, dependencyHint? }] }GET agent-source/list?agent=/agent-source/session?agent=&sid=→ normalized JSON (aligned with session-manager's internal SessionFileMeta + IndexedMessage)
The parsing logic runs in your own process (your code, your dependencies); this example demonstrates with built-in fixture data.