G sessions: the runner answers mesh/capabilities and drops a bundle's sessions when its channel closes
Builds: design 47 G §576, §518, §622, A-49 Claude-Session: https://claude.ai/code/session_01NcbgfGKaxw984XyAPfLm4h
This commit is contained in:
@@ -299,3 +299,9 @@ func newCall() string {
|
||||
_, _ = rand.Read(b[:])
|
||||
return hex.EncodeToString(b[:])
|
||||
}
|
||||
|
||||
// CapabilityWords are the capability words this runner states, answered to a bundle's `mesh/capabilities` (§576).
|
||||
func (b *moduleBus) CapabilityWords() []string { return CallCapabilities() }
|
||||
|
||||
// DropSessions ends the sessions of the module whose bundle's channel closed (§518).
|
||||
func (b *moduleBus) DropSessions() { b.all.dropModuleSessions(b.module) }
|
||||
|
||||
Reference in New Issue
Block a user