Contract at server dev 2fd3c03: the tree frame, and a subagent asking
CI / check (push) Canceled after 0s

The server's /api/v2 now carries the 3.4.0 subagents (2fd3c03):
- the stream's `tree` frame {tree} (event_tree.json): LiveReply keeps it,
  ChatState keeps the last one after the reply ends (cleared when another
  chat opens), and the activity sheet draws it as the reduced list. The
  provisional `Activity.tree` is gone -- the tree never came that way.
- an ask item's `subagent {id, name, position}` (event_ask.json card4): the
  approval names it with the page's sentence ("Subagent parser (s1),
  reviews the parser, asks:"), translated from the server's catalogue.
- an agent chat's `subagents.offered` is true where the instance allows
  them (chat_agent.json): the Subagents setting shows for an existing agent
  chat by the chat's own word.

ContractTest: the tree frame, the subagent's card; the agent chat offered.
Screenshot 24-approval-subagent; 26-subagents from the tree.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
HomerandClaude Opus 5.5 committed 2026-11-10 10:01:22 +00:00
1 parent 3e1c320b00
commit 415dc653c3
24 files changed
+239 -62

No files matched your search

+2
View File
@@ -283,6 +283,7 @@ STRINGS: dict[str, str] = {
"tree_context": "%1$s%% context",
"tree_open_slots": "Open slots: %1$s",
"card_asker": "%1$s asks:",
"card_subagent_asks": "Subagent %1$s (%2$s), %3$s, asks:",
"card_it_says": "It says: %1$s",
"card_change_before": "Change this before it runs",
"card_edit_runs": "Allow runs what is in the box. It is not checked against this chat's rules again — you typed it.",
@@ -410,6 +411,7 @@ SERVER_ENGLISH: dict[str, str] = {
"progress_line": "{{text}} · {{elapsed}}",
"tree_context": "{{percent}}% context",
"card_asker": "%(job)s asks:",
"card_subagent_asks": "Subagent %(name)s (%(id)s), %(position)s, asks:",
"card_it_says": "It says: %(purpose)s",
"activity_used": "%(percent)s%% used",
"activity_tools_offered": "%(n)s tools offered.",