feat(subagent): add session-owned task messaging and cancellation (#5985)
let's go!
This commit is contained in:
1 parent
f75470e72f
commit
6ff96f2a8f
93 files changed
+5632
-1156
No files matched your search
@@ -13,6 +13,9 @@ from nanobot import __version__
|
||||
|
||||
WEBUI_PROTOCOL = 1
|
||||
CORE_CAPABILITY = "webui.core.v1"
|
||||
SUBAGENT_CAPABILITY = "webui.subagents.v1"
|
||||
SUBAGENT_EVENTS_CAPABILITY = "webui.subagents.events.v1"
|
||||
SUBAGENT_HISTORY_CAPABILITY = "webui.subagents.history.v1"
|
||||
|
||||
|
||||
class Compatibility(TypedDict):
|
||||
@@ -26,7 +29,7 @@ def webui_contract() -> dict[str, object]:
|
||||
"version": __version__,
|
||||
"min_protocol": WEBUI_PROTOCOL,
|
||||
"max_protocol": WEBUI_PROTOCOL,
|
||||
"capabilities": [CORE_CAPABILITY],
|
||||
"capabilities": [CORE_CAPABILITY, SUBAGENT_CAPABILITY, SUBAGENT_EVENTS_CAPABILITY, SUBAGENT_HISTORY_CAPABILITY],
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user