Add tree-wide names for subagent collaboration
This commit is contained in:
1 parent
0518302384
commit
7fd0dba80d
279 files changed
+5299
-2098
No files matched your search
@@ -763,7 +763,7 @@
|
||||
"type": "tool-call",
|
||||
"id": "advanced-direct-child",
|
||||
"name": "subagent",
|
||||
"arguments": "{\"description\": \"Check direct child\", \"prompt\": \"Reply with exactly DIRECT_CHILD_OK and nothing else.\"}"
|
||||
"arguments": "{\"name\": \"direct-child\", \"description\": \"Check direct child\", \"prompt\": \"Reply with exactly DIRECT_CHILD_OK and nothing else.\"}"
|
||||
}
|
||||
],
|
||||
"source": {
|
||||
@@ -818,7 +818,7 @@
|
||||
"dt": [],
|
||||
"id": "advanced-direct-child",
|
||||
"args": [
|
||||
"{\"description\": \"Check direct child\", \"prompt\": \"Reply with exactly DIRECT_CHILD_OK and nothing else.\"}"
|
||||
"{\"name\": \"direct-child\", \"description\": \"Check direct child\", \"prompt\": \"Reply with exactly DIRECT_CHILD_OK and nothing else.\"}"
|
||||
]
|
||||
},
|
||||
{
|
||||
@@ -831,7 +831,7 @@
|
||||
"type": "tool-call",
|
||||
"id": "advanced-direct-child",
|
||||
"name": "subagent",
|
||||
"arguments": "{\"description\": \"Check direct child\", \"prompt\": \"Reply with exactly DIRECT_CHILD_OK and nothing else.\"}"
|
||||
"arguments": "{\"name\": \"direct-child\", \"description\": \"Check direct child\", \"prompt\": \"Reply with exactly DIRECT_CHILD_OK and nothing else.\"}"
|
||||
}
|
||||
}
|
||||
},
|
||||
@@ -882,7 +882,7 @@
|
||||
"step": 3,
|
||||
"callId": "advanced-direct-child",
|
||||
"name": "subagent",
|
||||
"arguments": "{\"description\": \"Check direct child\", \"prompt\": \"Reply with exactly DIRECT_CHILD_OK and nothing else.\"}"
|
||||
"arguments": "{\"name\": \"direct-child\", \"description\": \"Check direct child\", \"prompt\": \"Reply with exactly DIRECT_CHILD_OK and nothing else.\"}"
|
||||
}
|
||||
},
|
||||
{
|
||||
@@ -898,9 +898,18 @@
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "tool/result",
|
||||
"type": "subagent/named",
|
||||
"seq": 38,
|
||||
"time": 0,
|
||||
"data": {
|
||||
"name": "direct-child",
|
||||
"id": "{{child-1}}"
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "tool/result",
|
||||
"seq": 39,
|
||||
"time": 0,
|
||||
"data": {
|
||||
"turn": 1,
|
||||
"step": 3,
|
||||
@@ -914,7 +923,7 @@
|
||||
"content": [
|
||||
{
|
||||
"type": "text",
|
||||
"text": "started subagent {{child-1}}"
|
||||
"text": "started subagent direct-child"
|
||||
}
|
||||
],
|
||||
"isError": false,
|
||||
@@ -928,7 +937,7 @@
|
||||
},
|
||||
{
|
||||
"type": "step/end",
|
||||
"seq": 39,
|
||||
"seq": 40,
|
||||
"time": 0,
|
||||
"data": {
|
||||
"turn": 1,
|
||||
@@ -937,7 +946,7 @@
|
||||
},
|
||||
{
|
||||
"type": "step/start",
|
||||
"seq": 40,
|
||||
"seq": 41,
|
||||
"time": 0,
|
||||
"data": {
|
||||
"turn": 1,
|
||||
@@ -946,17 +955,17 @@
|
||||
},
|
||||
{
|
||||
"type": "session-log-deepseek/delivery-accepted",
|
||||
"seq": 41,
|
||||
"seq": 42,
|
||||
"time": 0,
|
||||
"data": {
|
||||
"sessionId": "{{parent}}",
|
||||
"sessionFormatVersion": 4,
|
||||
"throughSeq": 40
|
||||
"throughSeq": 41
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "agent/inbox/spliced",
|
||||
"seq": 42,
|
||||
"seq": 43,
|
||||
"time": 0,
|
||||
"data": {
|
||||
"target": "next-step",
|
||||
@@ -966,7 +975,7 @@
|
||||
"content": [
|
||||
{
|
||||
"type": "text",
|
||||
"text": "Background subagent {{child-1}} finished and will do no further work unless you send it more."
|
||||
"text": "Background subagent direct-child finished and will do no further work unless you send it more."
|
||||
},
|
||||
{
|
||||
"type": "text",
|
||||
@@ -980,7 +989,7 @@
|
||||
"source": {
|
||||
"kind": "subagent-settled",
|
||||
"form": "notice",
|
||||
"summary": "Background subagent {{child-1}} finished and will do no further work unless you send it more.",
|
||||
"summary": "Background subagent direct-child finished and will do no further work unless you send it more.",
|
||||
"senderSessionId": "{{child-1}}"
|
||||
},
|
||||
"role": "user",
|
||||
@@ -991,7 +1000,7 @@
|
||||
},
|
||||
{
|
||||
"type": "assistant/message",
|
||||
"seq": 43,
|
||||
"seq": 44,
|
||||
"time": 0,
|
||||
"data": {
|
||||
"turn": 1,
|
||||
@@ -1115,7 +1124,7 @@
|
||||
},
|
||||
{
|
||||
"type": "tool/call",
|
||||
"seq": 44,
|
||||
"seq": 45,
|
||||
"time": 0,
|
||||
"data": {
|
||||
"turn": 1,
|
||||
@@ -1127,7 +1136,7 @@
|
||||
},
|
||||
{
|
||||
"type": "tool-workflow/run-start",
|
||||
"seq": 45,
|
||||
"seq": 46,
|
||||
"time": 0,
|
||||
"data": {
|
||||
"runId": "{{workflow-run}}",
|
||||
@@ -1136,7 +1145,7 @@
|
||||
},
|
||||
{
|
||||
"type": "subagent/catalog",
|
||||
"seq": 46,
|
||||
"seq": 47,
|
||||
"time": 0,
|
||||
"data": {
|
||||
"version": 0,
|
||||
@@ -1146,9 +1155,18 @@
|
||||
"label": "advanced-exe-snapshot child 1"
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "subagent/named",
|
||||
"seq": 48,
|
||||
"time": 0,
|
||||
"data": {
|
||||
"name": "workflow-{{workflow-run}}-1",
|
||||
"id": "{{child-2}}"
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "tool-workflow/agent-start",
|
||||
"seq": 47,
|
||||
"seq": 49,
|
||||
"time": 0,
|
||||
"data": {
|
||||
"runId": "{{workflow-run}}",
|
||||
@@ -1160,7 +1178,7 @@
|
||||
},
|
||||
{
|
||||
"type": "tool-workflow/agent-end",
|
||||
"seq": 48,
|
||||
"seq": 50,
|
||||
"time": 0,
|
||||
"data": {
|
||||
"runId": "{{workflow-run}}",
|
||||
@@ -1170,7 +1188,7 @@
|
||||
},
|
||||
{
|
||||
"type": "tool-workflow/run-end",
|
||||
"seq": 49,
|
||||
"seq": 51,
|
||||
"time": 0,
|
||||
"data": {
|
||||
"runId": "{{workflow-run}}",
|
||||
@@ -1179,7 +1197,7 @@
|
||||
},
|
||||
{
|
||||
"type": "tool/result",
|
||||
"seq": 50,
|
||||
"seq": 52,
|
||||
"time": 0,
|
||||
"data": {
|
||||
"turn": 1,
|
||||
@@ -1202,13 +1220,13 @@
|
||||
}
|
||||
},
|
||||
"sourceEventSeqs": [
|
||||
44
|
||||
45
|
||||
],
|
||||
"surfaceOp": "append"
|
||||
},
|
||||
{
|
||||
"type": "step/end",
|
||||
"seq": 51,
|
||||
"seq": 53,
|
||||
"time": 0,
|
||||
"data": {
|
||||
"turn": 1,
|
||||
@@ -1217,7 +1235,7 @@
|
||||
},
|
||||
{
|
||||
"type": "agent/inbox/spliced",
|
||||
"seq": 52,
|
||||
"seq": 54,
|
||||
"time": 0,
|
||||
"data": {
|
||||
"target": "next-step",
|
||||
@@ -1228,7 +1246,7 @@
|
||||
},
|
||||
{
|
||||
"type": "step/start",
|
||||
"seq": 53,
|
||||
"seq": 55,
|
||||
"time": 0,
|
||||
"data": {
|
||||
"turn": 1,
|
||||
@@ -1237,13 +1255,13 @@
|
||||
},
|
||||
{
|
||||
"type": "user/message",
|
||||
"seq": 54,
|
||||
"seq": 56,
|
||||
"time": 0,
|
||||
"data": {
|
||||
"content": [
|
||||
{
|
||||
"type": "text",
|
||||
"text": "Background subagent {{child-1}} finished and will do no further work unless you send it more."
|
||||
"text": "Background subagent direct-child finished and will do no further work unless you send it more."
|
||||
},
|
||||
{
|
||||
"type": "text",
|
||||
@@ -1257,7 +1275,7 @@
|
||||
"source": {
|
||||
"kind": "subagent-settled",
|
||||
"form": "notice",
|
||||
"summary": "Background subagent {{child-1}} finished and will do no further work unless you send it more.",
|
||||
"summary": "Background subagent direct-child finished and will do no further work unless you send it more.",
|
||||
"senderSessionId": "{{child-1}}"
|
||||
},
|
||||
"role": "user",
|
||||
@@ -1267,17 +1285,17 @@
|
||||
},
|
||||
{
|
||||
"type": "session-log-deepseek/delivery-accepted",
|
||||
"seq": 55,
|
||||
"seq": 57,
|
||||
"time": 0,
|
||||
"data": {
|
||||
"sessionId": "{{parent}}",
|
||||
"sessionFormatVersion": 4,
|
||||
"throughSeq": 54
|
||||
"throughSeq": 56
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "assistant/message",
|
||||
"seq": 56,
|
||||
"seq": 58,
|
||||
"time": 0,
|
||||
"data": {
|
||||
"turn": 1,
|
||||
@@ -1385,7 +1403,7 @@
|
||||
},
|
||||
{
|
||||
"type": "step/end",
|
||||
"seq": 57,
|
||||
"seq": 59,
|
||||
"time": 0,
|
||||
"data": {
|
||||
"turn": 1,
|
||||
@@ -1394,7 +1412,7 @@
|
||||
},
|
||||
{
|
||||
"type": "command/run",
|
||||
"seq": 58,
|
||||
"seq": 60,
|
||||
"time": 0,
|
||||
"data": {
|
||||
"commandId": "{{command:1}}",
|
||||
@@ -1406,7 +1424,7 @@
|
||||
},
|
||||
{
|
||||
"type": "feedback/record",
|
||||
"seq": 59,
|
||||
"seq": 61,
|
||||
"time": 0,
|
||||
"data": {
|
||||
"text": "The session needs a clearer explanation."
|
||||
@@ -1414,7 +1432,7 @@
|
||||
},
|
||||
{
|
||||
"type": "command/done",
|
||||
"seq": 60,
|
||||
"seq": 62,
|
||||
"time": 0,
|
||||
"data": {
|
||||
"commandId": "{{command:1}}",
|
||||
@@ -1424,7 +1442,7 @@
|
||||
},
|
||||
{
|
||||
"type": "feedback/record",
|
||||
"seq": 61,
|
||||
"seq": 63,
|
||||
"time": 0,
|
||||
"data": {
|
||||
"category": "other"
|
||||
@@ -1432,7 +1450,7 @@
|
||||
},
|
||||
{
|
||||
"type": "feedback/message-put",
|
||||
"seq": 62,
|
||||
"seq": 64,
|
||||
"time": 0,
|
||||
"data": {
|
||||
"sessionId": "{{parent}}",
|
||||
@@ -1449,7 +1467,7 @@
|
||||
},
|
||||
{
|
||||
"type": "feedback/message-put",
|
||||
"seq": 63,
|
||||
"seq": 65,
|
||||
"time": 0,
|
||||
"data": {
|
||||
"sessionId": "{{parent}}",
|
||||
@@ -1465,7 +1483,7 @@
|
||||
},
|
||||
{
|
||||
"type": "feedback/message-delete",
|
||||
"seq": 64,
|
||||
"seq": 66,
|
||||
"time": 0,
|
||||
"data": {
|
||||
"sessionId": "{{parent}}",
|
||||
@@ -1474,7 +1492,7 @@
|
||||
},
|
||||
{
|
||||
"type": "turn/end",
|
||||
"seq": 65,
|
||||
"seq": 67,
|
||||
"time": 0,
|
||||
"data": {
|
||||
"turn": 1,
|
||||
@@ -2443,7 +2461,7 @@
|
||||
"type": "tool-call",
|
||||
"id": "advanced-direct-child",
|
||||
"name": "subagent",
|
||||
"arguments": "{\"description\": \"Check direct child\", \"prompt\": \"Reply with exactly DIRECT_CHILD_OK and nothing else.\"}"
|
||||
"arguments": "{\"name\": \"direct-child\", \"description\": \"Check direct child\", \"prompt\": \"Reply with exactly DIRECT_CHILD_OK and nothing else.\"}"
|
||||
}
|
||||
],
|
||||
"source": {
|
||||
@@ -2498,7 +2516,7 @@
|
||||
"dt": [],
|
||||
"id": "advanced-direct-child",
|
||||
"args": [
|
||||
"{\"description\": \"Check direct child\", \"prompt\": \"Reply with exactly DIRECT_CHILD_OK and nothing else.\"}"
|
||||
"{\"name\": \"direct-child\", \"description\": \"Check direct child\", \"prompt\": \"Reply with exactly DIRECT_CHILD_OK and nothing else.\"}"
|
||||
]
|
||||
},
|
||||
{
|
||||
@@ -2511,7 +2529,7 @@
|
||||
"type": "tool-call",
|
||||
"id": "advanced-direct-child",
|
||||
"name": "subagent",
|
||||
"arguments": "{\"description\": \"Check direct child\", \"prompt\": \"Reply with exactly DIRECT_CHILD_OK and nothing else.\"}"
|
||||
"arguments": "{\"name\": \"direct-child\", \"description\": \"Check direct child\", \"prompt\": \"Reply with exactly DIRECT_CHILD_OK and nothing else.\"}"
|
||||
}
|
||||
}
|
||||
},
|
||||
@@ -2568,7 +2586,7 @@
|
||||
"step": 3,
|
||||
"callId": "advanced-direct-child",
|
||||
"name": "subagent",
|
||||
"arguments": "{\"description\": \"Check direct child\", \"prompt\": \"Reply with exactly DIRECT_CHILD_OK and nothing else.\"}"
|
||||
"arguments": "{\"name\": \"direct-child\", \"description\": \"Check direct child\", \"prompt\": \"Reply with exactly DIRECT_CHILD_OK and nothing else.\"}"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -2718,9 +2736,24 @@
|
||||
"payload": {
|
||||
"sessionId": "{{parent}}",
|
||||
"event": {
|
||||
"type": "tool/result",
|
||||
"type": "subagent/named",
|
||||
"seq": 38,
|
||||
"time": 0,
|
||||
"data": {
|
||||
"name": "direct-child",
|
||||
"id": "{{child-1}}"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"method": "session.event",
|
||||
"payload": {
|
||||
"sessionId": "{{parent}}",
|
||||
"event": {
|
||||
"type": "tool/result",
|
||||
"seq": 39,
|
||||
"time": 0,
|
||||
"data": {
|
||||
"turn": 1,
|
||||
"step": 3,
|
||||
@@ -2734,7 +2767,7 @@
|
||||
"content": [
|
||||
{
|
||||
"type": "text",
|
||||
"text": "started subagent {{child-1}}"
|
||||
"text": "started subagent direct-child"
|
||||
}
|
||||
],
|
||||
"isError": false,
|
||||
@@ -2754,7 +2787,7 @@
|
||||
"sessionId": "{{parent}}",
|
||||
"event": {
|
||||
"type": "step/end",
|
||||
"seq": 39,
|
||||
"seq": 40,
|
||||
"time": 0,
|
||||
"data": {
|
||||
"turn": 1,
|
||||
@@ -2769,7 +2802,7 @@
|
||||
"sessionId": "{{parent}}",
|
||||
"event": {
|
||||
"type": "step/start",
|
||||
"seq": 40,
|
||||
"seq": 41,
|
||||
"time": 0,
|
||||
"data": {
|
||||
"turn": 1,
|
||||
@@ -2784,12 +2817,12 @@
|
||||
"sessionId": "{{parent}}",
|
||||
"event": {
|
||||
"type": "session-log-deepseek/delivery-accepted",
|
||||
"seq": 41,
|
||||
"seq": 42,
|
||||
"time": 0,
|
||||
"data": {
|
||||
"sessionId": "{{parent}}",
|
||||
"sessionFormatVersion": 4,
|
||||
"throughSeq": 40
|
||||
"throughSeq": 41
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -3183,7 +3216,7 @@
|
||||
"sessionId": "{{parent}}",
|
||||
"event": {
|
||||
"type": "agent/inbox/spliced",
|
||||
"seq": 42,
|
||||
"seq": 43,
|
||||
"time": 0,
|
||||
"data": {
|
||||
"target": "next-step",
|
||||
@@ -3193,7 +3226,7 @@
|
||||
"content": [
|
||||
{
|
||||
"type": "text",
|
||||
"text": "Background subagent {{child-1}} finished and will do no further work unless you send it more."
|
||||
"text": "Background subagent direct-child finished and will do no further work unless you send it more."
|
||||
},
|
||||
{
|
||||
"type": "text",
|
||||
@@ -3207,7 +3240,7 @@
|
||||
"source": {
|
||||
"kind": "subagent-settled",
|
||||
"form": "notice",
|
||||
"summary": "Background subagent {{child-1}} finished and will do no further work unless you send it more.",
|
||||
"summary": "Background subagent direct-child finished and will do no further work unless you send it more.",
|
||||
"senderSessionId": "{{child-1}}"
|
||||
},
|
||||
"role": "user",
|
||||
@@ -3241,7 +3274,7 @@
|
||||
"sessionId": "{{parent}}",
|
||||
"event": {
|
||||
"type": "assistant/message",
|
||||
"seq": 43,
|
||||
"seq": 44,
|
||||
"time": 0,
|
||||
"data": {
|
||||
"turn": 1,
|
||||
@@ -3371,7 +3404,7 @@
|
||||
"sessionId": "{{parent}}",
|
||||
"event": {
|
||||
"type": "tool/call",
|
||||
"seq": 44,
|
||||
"seq": 45,
|
||||
"time": 0,
|
||||
"data": {
|
||||
"turn": 1,
|
||||
@@ -3389,7 +3422,7 @@
|
||||
"sessionId": "{{parent}}",
|
||||
"event": {
|
||||
"type": "tool-workflow/run-start",
|
||||
"seq": 45,
|
||||
"seq": 46,
|
||||
"time": 0,
|
||||
"data": {
|
||||
"runId": "{{workflow-run}}",
|
||||
@@ -3526,7 +3559,7 @@
|
||||
"sessionId": "{{parent}}",
|
||||
"event": {
|
||||
"type": "subagent/catalog",
|
||||
"seq": 46,
|
||||
"seq": 47,
|
||||
"time": 0,
|
||||
"data": {
|
||||
"version": 0,
|
||||
@@ -3538,13 +3571,28 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"method": "session.event",
|
||||
"payload": {
|
||||
"sessionId": "{{parent}}",
|
||||
"event": {
|
||||
"type": "subagent/named",
|
||||
"seq": 48,
|
||||
"time": 0,
|
||||
"data": {
|
||||
"name": "workflow-{{workflow-run}}-1",
|
||||
"id": "{{child-2}}"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"method": "session.event",
|
||||
"payload": {
|
||||
"sessionId": "{{parent}}",
|
||||
"event": {
|
||||
"type": "tool-workflow/agent-start",
|
||||
"seq": 47,
|
||||
"seq": 49,
|
||||
"time": 0,
|
||||
"data": {
|
||||
"runId": "{{workflow-run}}",
|
||||
@@ -3962,7 +4010,7 @@
|
||||
"sessionId": "{{parent}}",
|
||||
"event": {
|
||||
"type": "tool-workflow/agent-end",
|
||||
"seq": 48,
|
||||
"seq": 50,
|
||||
"time": 0,
|
||||
"data": {
|
||||
"runId": "{{workflow-run}}",
|
||||
@@ -3978,7 +4026,7 @@
|
||||
"sessionId": "{{parent}}",
|
||||
"event": {
|
||||
"type": "tool-workflow/run-end",
|
||||
"seq": 49,
|
||||
"seq": 51,
|
||||
"time": 0,
|
||||
"data": {
|
||||
"runId": "{{workflow-run}}",
|
||||
@@ -3993,7 +4041,7 @@
|
||||
"sessionId": "{{parent}}",
|
||||
"event": {
|
||||
"type": "tool/result",
|
||||
"seq": 50,
|
||||
"seq": 52,
|
||||
"time": 0,
|
||||
"data": {
|
||||
"turn": 1,
|
||||
@@ -4016,7 +4064,7 @@
|
||||
}
|
||||
},
|
||||
"sourceEventSeqs": [
|
||||
44
|
||||
45
|
||||
],
|
||||
"surfaceOp": "append"
|
||||
}
|
||||
@@ -4028,7 +4076,7 @@
|
||||
"sessionId": "{{parent}}",
|
||||
"event": {
|
||||
"type": "step/end",
|
||||
"seq": 51,
|
||||
"seq": 53,
|
||||
"time": 0,
|
||||
"data": {
|
||||
"turn": 1,
|
||||
@@ -4043,7 +4091,7 @@
|
||||
"sessionId": "{{parent}}",
|
||||
"event": {
|
||||
"type": "agent/inbox/spliced",
|
||||
"seq": 52,
|
||||
"seq": 54,
|
||||
"time": 0,
|
||||
"data": {
|
||||
"target": "next-step",
|
||||
@@ -4060,7 +4108,7 @@
|
||||
"sessionId": "{{parent}}",
|
||||
"event": {
|
||||
"type": "step/start",
|
||||
"seq": 53,
|
||||
"seq": 55,
|
||||
"time": 0,
|
||||
"data": {
|
||||
"turn": 1,
|
||||
@@ -4075,13 +4123,13 @@
|
||||
"sessionId": "{{parent}}",
|
||||
"event": {
|
||||
"type": "user/message",
|
||||
"seq": 54,
|
||||
"seq": 56,
|
||||
"time": 0,
|
||||
"data": {
|
||||
"content": [
|
||||
{
|
||||
"type": "text",
|
||||
"text": "Background subagent {{child-1}} finished and will do no further work unless you send it more."
|
||||
"text": "Background subagent direct-child finished and will do no further work unless you send it more."
|
||||
},
|
||||
{
|
||||
"type": "text",
|
||||
@@ -4095,7 +4143,7 @@
|
||||
"source": {
|
||||
"kind": "subagent-settled",
|
||||
"form": "notice",
|
||||
"summary": "Background subagent {{child-1}} finished and will do no further work unless you send it more.",
|
||||
"summary": "Background subagent direct-child finished and will do no further work unless you send it more.",
|
||||
"senderSessionId": "{{child-1}}"
|
||||
},
|
||||
"role": "user",
|
||||
@@ -4111,12 +4159,12 @@
|
||||
"sessionId": "{{parent}}",
|
||||
"event": {
|
||||
"type": "session-log-deepseek/delivery-accepted",
|
||||
"seq": 55,
|
||||
"seq": 57,
|
||||
"time": 0,
|
||||
"data": {
|
||||
"sessionId": "{{parent}}",
|
||||
"sessionFormatVersion": 4,
|
||||
"throughSeq": 54
|
||||
"throughSeq": 56
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -4127,7 +4175,7 @@
|
||||
"sessionId": "{{parent}}",
|
||||
"event": {
|
||||
"type": "assistant/message",
|
||||
"seq": 56,
|
||||
"seq": 58,
|
||||
"time": 0,
|
||||
"data": {
|
||||
"turn": 1,
|
||||
@@ -4241,7 +4289,7 @@
|
||||
"sessionId": "{{parent}}",
|
||||
"event": {
|
||||
"type": "step/end",
|
||||
"seq": 57,
|
||||
"seq": 59,
|
||||
"time": 0,
|
||||
"data": {
|
||||
"turn": 1,
|
||||
@@ -4256,7 +4304,7 @@
|
||||
"sessionId": "{{parent}}",
|
||||
"event": {
|
||||
"type": "command/run",
|
||||
"seq": 58,
|
||||
"seq": 60,
|
||||
"time": 0,
|
||||
"data": {
|
||||
"commandId": "{{command:1}}",
|
||||
@@ -4274,7 +4322,7 @@
|
||||
"sessionId": "{{parent}}",
|
||||
"event": {
|
||||
"type": "feedback/record",
|
||||
"seq": 59,
|
||||
"seq": 61,
|
||||
"time": 0,
|
||||
"data": {
|
||||
"text": "The session needs a clearer explanation."
|
||||
@@ -4288,7 +4336,7 @@
|
||||
"sessionId": "{{parent}}",
|
||||
"event": {
|
||||
"type": "command/done",
|
||||
"seq": 60,
|
||||
"seq": 62,
|
||||
"time": 0,
|
||||
"data": {
|
||||
"commandId": "{{command:1}}",
|
||||
@@ -4304,7 +4352,7 @@
|
||||
"sessionId": "{{parent}}",
|
||||
"event": {
|
||||
"type": "feedback/record",
|
||||
"seq": 61,
|
||||
"seq": 63,
|
||||
"time": 0,
|
||||
"data": {
|
||||
"category": "other"
|
||||
@@ -4318,7 +4366,7 @@
|
||||
"sessionId": "{{parent}}",
|
||||
"event": {
|
||||
"type": "feedback/message-put",
|
||||
"seq": 62,
|
||||
"seq": 64,
|
||||
"time": 0,
|
||||
"data": {
|
||||
"sessionId": "{{parent}}",
|
||||
@@ -4341,7 +4389,7 @@
|
||||
"sessionId": "{{parent}}",
|
||||
"event": {
|
||||
"type": "feedback/message-put",
|
||||
"seq": 63,
|
||||
"seq": 65,
|
||||
"time": 0,
|
||||
"data": {
|
||||
"sessionId": "{{parent}}",
|
||||
@@ -4363,7 +4411,7 @@
|
||||
"sessionId": "{{parent}}",
|
||||
"event": {
|
||||
"type": "feedback/message-delete",
|
||||
"seq": 64,
|
||||
"seq": 66,
|
||||
"time": 0,
|
||||
"data": {
|
||||
"sessionId": "{{parent}}",
|
||||
@@ -4378,7 +4426,7 @@
|
||||
"sessionId": "{{parent}}",
|
||||
"event": {
|
||||
"type": "turn/end",
|
||||
"seq": 65,
|
||||
"seq": 67,
|
||||
"time": 0,
|
||||
"data": {
|
||||
"turn": 1,
|
||||
|
||||
@@ -34,27 +34,29 @@
|
||||
{"type":"step/end","data":{"turn":1,"step":2}}
|
||||
{"type":"step/start","data":{"turn":1,"step":3}}
|
||||
{"type":"session-log-deepseek/delivery-accepted","data":{"sessionId":"{{parent}}","sessionFormatVersion":4,"throughSeq":33}}
|
||||
{"type":"assistant/message","data":{"turn":1,"step":3,"message":{"role":"assistant","content":[{"type":"tool-call","id":"advanced-direct-child","name":"subagent","arguments":"{\"description\": \"Check direct child\", \"prompt\": \"Reply with exactly DIRECT_CHILD_OK and nothing else.\"}"}],"source":{"kind":"model","provider":"deepseek-official","model":"smoke-model","replayState":{"response":{"kind":"deepseek-messages","version":1,"model":"smoke-model"},"blocks":[{"type":"tool-call"}]}},"id":"{{messageId}}"},"usage":{"inputTokens":3,"outputTokens":3,"totalTokens":6},"stream":[{"type":"chunk","time":0,"chunk":{"type":"block-start","index":0,"blockType":"tool-call"}},{"type":"tool-call-chunks","time0":0,"index":0,"dt":[],"id":"advanced-direct-child","name":"subagent","args":[""]},{"type":"tool-call-chunks","time0":0,"index":0,"dt":[],"id":"advanced-direct-child","args":["{\"description\": \"Check direct child\", \"prompt\": \"Reply with exactly DIRECT_CHILD_OK and nothing else.\"}"]},{"type":"chunk","time":0,"chunk":{"type":"block-end","index":0,"block":{"type":"tool-call","id":"advanced-direct-child","name":"subagent","arguments":"{\"description\": \"Check direct child\", \"prompt\": \"Reply with exactly DIRECT_CHILD_OK and nothing else.\"}"}}},{"type":"chunk","time":0,"chunk":{"type":"usage","usage":{"inputTokens":3,"outputTokens":3,"totalTokens":6}}},{"type":"chunk","time":0,"chunk":{"type":"finish","reason":{"kind":"tool-calls"},"replayState":{"response":{"kind":"deepseek-messages","version":1,"model":"smoke-model"},"blocks":[{"type":"tool-call"}]}}}]},"surfaceOp":"append"}
|
||||
{"type":"tool/call","data":{"turn":1,"step":3,"callId":"advanced-direct-child","name":"subagent","arguments":"{\"description\": \"Check direct child\", \"prompt\": \"Reply with exactly DIRECT_CHILD_OK and nothing else.\"}"}}
|
||||
{"type":"assistant/message","data":{"turn":1,"step":3,"message":{"role":"assistant","content":[{"type":"tool-call","id":"advanced-direct-child","name":"subagent","arguments":"{\"name\": \"direct-child\", \"description\": \"Check direct child\", \"prompt\": \"Reply with exactly DIRECT_CHILD_OK and nothing else.\"}"}],"source":{"kind":"model","provider":"deepseek-official","model":"smoke-model","replayState":{"response":{"kind":"deepseek-messages","version":1,"model":"smoke-model"},"blocks":[{"type":"tool-call"}]}},"id":"{{messageId}}"},"usage":{"inputTokens":3,"outputTokens":3,"totalTokens":6},"stream":[{"type":"chunk","time":0,"chunk":{"type":"block-start","index":0,"blockType":"tool-call"}},{"type":"tool-call-chunks","time0":0,"index":0,"dt":[],"id":"advanced-direct-child","name":"subagent","args":[""]},{"type":"tool-call-chunks","time0":0,"index":0,"dt":[],"id":"advanced-direct-child","args":["{\"name\": \"direct-child\", \"description\": \"Check direct child\", \"prompt\": \"Reply with exactly DIRECT_CHILD_OK and nothing else.\"}"]},{"type":"chunk","time":0,"chunk":{"type":"block-end","index":0,"block":{"type":"tool-call","id":"advanced-direct-child","name":"subagent","arguments":"{\"name\": \"direct-child\", \"description\": \"Check direct child\", \"prompt\": \"Reply with exactly DIRECT_CHILD_OK and nothing else.\"}"}}},{"type":"chunk","time":0,"chunk":{"type":"usage","usage":{"inputTokens":3,"outputTokens":3,"totalTokens":6}}},{"type":"chunk","time":0,"chunk":{"type":"finish","reason":{"kind":"tool-calls"},"replayState":{"response":{"kind":"deepseek-messages","version":1,"model":"smoke-model"},"blocks":[{"type":"tool-call"}]}}}]},"surfaceOp":"append"}
|
||||
{"type":"tool/call","data":{"turn":1,"step":3,"callId":"advanced-direct-child","name":"subagent","arguments":"{\"name\": \"direct-child\", \"description\": \"Check direct child\", \"prompt\": \"Reply with exactly DIRECT_CHILD_OK and nothing else.\"}"}}
|
||||
{"type":"subagent/catalog","data":{"version":0,"childId":"{{child-1}}","childCreatedAt":0,"mode":"continuable","label":"Check direct child"}}
|
||||
{"type":"tool/result","data":{"turn":1,"step":3,"message":{"role":"tool","source":{"kind":"tool","callId":"advanced-direct-child"},"toolCallId":"advanced-direct-child","content":[{"type":"text","text":"started subagent {{child-1}}"}],"isError":false,"id":"{{messageId}}"}},"sourceEventSeqs":[36],"surfaceOp":"append"}
|
||||
{"type":"subagent/named","data":{"name":"direct-child","id":"{{child-1}}"}}
|
||||
{"type":"tool/result","data":{"turn":1,"step":3,"message":{"role":"tool","source":{"kind":"tool","callId":"advanced-direct-child"},"toolCallId":"advanced-direct-child","content":[{"type":"text","text":"started subagent direct-child"}],"isError":false,"id":"{{messageId}}"}},"sourceEventSeqs":[36],"surfaceOp":"append"}
|
||||
{"type":"step/end","data":{"turn":1,"step":3}}
|
||||
{"type":"step/start","data":{"turn":1,"step":4}}
|
||||
{"type":"session-log-deepseek/delivery-accepted","data":{"sessionId":"{{parent}}","sessionFormatVersion":4,"throughSeq":40}}
|
||||
{"type":"agent/inbox/spliced","data":{"target":"next-step","start":0,"inserted":[{"content":[{"type":"text","text":"Background subagent {{child-1}} finished and will do no further work unless you send it more."},{"type":"text","text":"Its closing message:"},{"type":"text","text":"DIRECT_CHILD_OK"}],"source":{"kind":"subagent-settled","form":"notice","summary":"Background subagent {{child-1}} finished and will do no further work unless you send it more.","senderSessionId":"{{child-1}}"},"role":"user","id":"{{messageId}}"}]}}
|
||||
{"type":"session-log-deepseek/delivery-accepted","data":{"sessionId":"{{parent}}","sessionFormatVersion":4,"throughSeq":41}}
|
||||
{"type":"agent/inbox/spliced","data":{"target":"next-step","start":0,"inserted":[{"content":[{"type":"text","text":"Background subagent direct-child finished and will do no further work unless you send it more."},{"type":"text","text":"Its closing message:"},{"type":"text","text":"DIRECT_CHILD_OK"}],"source":{"kind":"subagent-settled","form":"notice","summary":"Background subagent direct-child finished and will do no further work unless you send it more.","senderSessionId":"{{child-1}}"},"role":"user","id":"{{messageId}}"}]}}
|
||||
{"type":"assistant/message","data":{"turn":1,"step":4,"message":{"role":"assistant","content":[{"type":"tool-call","id":"advanced-workflow","name":"workflow","arguments":"{\"script\": \"phase('Delegate')\\nconst reply = await agent('Reply with exactly WORKFLOW_CHILD_OK and nothing else.', { label: 'workflow-child' })\\nreturn { reply }\", \"meta\": {\"name\": \"advanced-exe-snapshot\", \"description\": \"exercise one packaged workflow child\"}}"}],"source":{"kind":"model","provider":"deepseek-official","model":"smoke-model","replayState":{"response":{"kind":"deepseek-messages","version":1,"model":"smoke-model"},"blocks":[{"type":"tool-call"}]}},"id":"{{messageId}}"},"usage":{"inputTokens":3,"outputTokens":3,"totalTokens":6},"stream":[{"type":"chunk","time":0,"chunk":{"type":"block-start","index":0,"blockType":"tool-call"}},{"type":"tool-call-chunks","time0":0,"index":0,"dt":[],"id":"advanced-workflow","name":"workflow","args":[""]},{"type":"tool-call-chunks","time0":0,"index":0,"dt":[],"id":"advanced-workflow","args":["{\"script\": \"phase('Delegate')\\nconst reply = await agent('Reply with exactly WORKFLOW_CHILD_OK and nothing else.', { label: 'workflow-child' })\\nreturn { reply }\", \"meta\": {\"name\": \"advanced-exe-snapshot\", \"description\": \"exercise one packaged workflow child\"}}"]},{"type":"chunk","time":0,"chunk":{"type":"block-end","index":0,"block":{"type":"tool-call","id":"advanced-workflow","name":"workflow","arguments":"{\"script\": \"phase('Delegate')\\nconst reply = await agent('Reply with exactly WORKFLOW_CHILD_OK and nothing else.', { label: 'workflow-child' })\\nreturn { reply }\", \"meta\": {\"name\": \"advanced-exe-snapshot\", \"description\": \"exercise one packaged workflow child\"}}"}}},{"type":"chunk","time":0,"chunk":{"type":"usage","usage":{"inputTokens":3,"outputTokens":3,"totalTokens":6}}},{"type":"chunk","time":0,"chunk":{"type":"finish","reason":{"kind":"tool-calls"},"replayState":{"response":{"kind":"deepseek-messages","version":1,"model":"smoke-model"},"blocks":[{"type":"tool-call"}]}}}]},"surfaceOp":"append"}
|
||||
{"type":"tool/call","data":{"turn":1,"step":4,"callId":"advanced-workflow","name":"workflow","arguments":"{\"script\": \"phase('Delegate')\\nconst reply = await agent('Reply with exactly WORKFLOW_CHILD_OK and nothing else.', { label: 'workflow-child' })\\nreturn { reply }\", \"meta\": {\"name\": \"advanced-exe-snapshot\", \"description\": \"exercise one packaged workflow child\"}}"}}
|
||||
{"type":"tool-workflow/run-start","data":{"runId":"{{workflow-run}}","name":"advanced-exe-snapshot"}}
|
||||
{"type":"subagent/catalog","data":{"version":0,"childId":"{{child-2}}","childCreatedAt":0,"mode":"continuable","label":"advanced-exe-snapshot child 1"}}
|
||||
{"type":"subagent/named","data":{"name":"workflow-{{workflow-run}}-1","id":"{{child-2}}"}}
|
||||
{"type":"tool-workflow/agent-start","data":{"runId":"{{workflow-run}}","seq":1,"label":"workflow-child","phase":"Delegate","childId":"{{child-2}}"}}
|
||||
{"type":"tool-workflow/agent-end","data":{"runId":"{{workflow-run}}","seq":1,"outcome":"completed"}}
|
||||
{"type":"tool-workflow/run-end","data":{"runId":"{{workflow-run}}","stopReason":"completed"}}
|
||||
{"type":"tool/result","data":{"turn":1,"step":4,"message":{"role":"tool","source":{"kind":"tool","callId":"advanced-workflow"},"toolCallId":"advanced-workflow","content":[{"type":"text","text":"workflow \"advanced-exe-snapshot\" completed (1 agent).\nReturn value:\n{\n \"reply\": \"WORKFLOW_CHILD_OK\"\n}"}],"isError":false,"id":"{{messageId}}"}},"sourceEventSeqs":[44],"surfaceOp":"append"}
|
||||
{"type":"tool/result","data":{"turn":1,"step":4,"message":{"role":"tool","source":{"kind":"tool","callId":"advanced-workflow"},"toolCallId":"advanced-workflow","content":[{"type":"text","text":"workflow \"advanced-exe-snapshot\" completed (1 agent).\nReturn value:\n{\n \"reply\": \"WORKFLOW_CHILD_OK\"\n}"}],"isError":false,"id":"{{messageId}}"}},"sourceEventSeqs":[45],"surfaceOp":"append"}
|
||||
{"type":"step/end","data":{"turn":1,"step":4}}
|
||||
{"type":"agent/inbox/spliced","data":{"target":"next-step","start":0,"removedCount":1,"inserted":[]}}
|
||||
{"type":"step/start","data":{"turn":1,"step":5}}
|
||||
{"type":"user/message","data":{"content":[{"type":"text","text":"Background subagent {{child-1}} finished and will do no further work unless you send it more."},{"type":"text","text":"Its closing message:"},{"type":"text","text":"DIRECT_CHILD_OK"}],"source":{"kind":"subagent-settled","form":"notice","summary":"Background subagent {{child-1}} finished and will do no further work unless you send it more.","senderSessionId":"{{child-1}}"},"role":"user","id":"{{messageId}}"},"surfaceOp":"append"}
|
||||
{"type":"session-log-deepseek/delivery-accepted","data":{"sessionId":"{{parent}}","sessionFormatVersion":4,"throughSeq":54}}
|
||||
{"type":"user/message","data":{"content":[{"type":"text","text":"Background subagent direct-child finished and will do no further work unless you send it more."},{"type":"text","text":"Its closing message:"},{"type":"text","text":"DIRECT_CHILD_OK"}],"source":{"kind":"subagent-settled","form":"notice","summary":"Background subagent direct-child finished and will do no further work unless you send it more.","senderSessionId":"{{child-1}}"},"role":"user","id":"{{messageId}}"},"surfaceOp":"append"}
|
||||
{"type":"session-log-deepseek/delivery-accepted","data":{"sessionId":"{{parent}}","sessionFormatVersion":4,"throughSeq":56}}
|
||||
{"type":"assistant/message","data":{"turn":1,"step":5,"message":{"role":"assistant","content":[{"type":"text","text":"ADVANCED_EXECUTABLE_OK"}],"source":{"kind":"model","provider":"deepseek-official","model":"smoke-model","replayState":{"response":{"kind":"deepseek-messages","version":1,"model":"smoke-model"},"blocks":[{"type":"text"}]}},"id":"{{message:1}}"},"usage":{"inputTokens":3,"outputTokens":3,"totalTokens":6},"stream":[{"type":"chunk","time":0,"chunk":{"type":"block-start","index":0,"blockType":"text"}},{"type":"text-chunks","time0":0,"index":0,"dt":[],"texts":["ADVANCED_EXECUTABLE_OK"]},{"type":"chunk","time":0,"chunk":{"type":"block-end","index":0,"block":{"type":"text","text":"ADVANCED_EXECUTABLE_OK"}}},{"type":"chunk","time":0,"chunk":{"type":"usage","usage":{"inputTokens":3,"outputTokens":3,"totalTokens":6}}},{"type":"chunk","time":0,"chunk":{"type":"finish","reason":{"kind":"stop"},"replayState":{"response":{"kind":"deepseek-messages","version":1,"model":"smoke-model"},"blocks":[{"type":"text"}]}}}]},"surfaceOp":"append"}
|
||||
{"type":"step/end","data":{"turn":1,"step":5}}
|
||||
{"type":"command/run","data":{"commandId":"{{command:1}}","name":"feedback","source":{"kind":"user"}}}
|
||||
|
||||
Reference in new issue
Block a user