@dxos/react-ui-trace 0.11.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (148) hide show
  1. package/LICENSE +105 -0
  2. package/README.md +3 -0
  3. package/dist/lib/index.mjs +2868 -0
  4. package/dist/lib/index.mjs.map +1 -0
  5. package/dist/lib/testing.mjs +338 -0
  6. package/dist/lib/testing.mjs.map +1 -0
  7. package/dist/lib/translations.mjs +19 -0
  8. package/dist/lib/translations.mjs.map +1 -0
  9. package/dist/types/src/components/Gantt/Gantt.d.ts +68 -0
  10. package/dist/types/src/components/Gantt/Gantt.d.ts.map +1 -0
  11. package/dist/types/src/components/Gantt/Gantt.stories.d.ts +30 -0
  12. package/dist/types/src/components/Gantt/Gantt.stories.d.ts.map +1 -0
  13. package/dist/types/src/components/Gantt/index.d.ts +2 -0
  14. package/dist/types/src/components/Gantt/index.d.ts.map +1 -0
  15. package/dist/types/src/components/ProcessTree/ProcessTree.d.ts +32 -0
  16. package/dist/types/src/components/ProcessTree/ProcessTree.d.ts.map +1 -0
  17. package/dist/types/src/components/ProcessTree/ProcessTree.stories.d.ts +8 -0
  18. package/dist/types/src/components/ProcessTree/ProcessTree.stories.d.ts.map +1 -0
  19. package/dist/types/src/components/ProcessTree/index.d.ts +2 -0
  20. package/dist/types/src/components/ProcessTree/index.d.ts.map +1 -0
  21. package/dist/types/src/components/Timeline/Timeline.d.ts +50 -0
  22. package/dist/types/src/components/Timeline/Timeline.d.ts.map +1 -0
  23. package/dist/types/src/components/Timeline/Timeline.stories.d.ts +24 -0
  24. package/dist/types/src/components/Timeline/Timeline.stories.d.ts.map +1 -0
  25. package/dist/types/src/components/Timeline/index.d.ts +4 -0
  26. package/dist/types/src/components/Timeline/index.d.ts.map +1 -0
  27. package/dist/types/src/components/Timeline/timeline-options.d.ts +9 -0
  28. package/dist/types/src/components/Timeline/timeline-options.d.ts.map +1 -0
  29. package/dist/types/src/components/Timeline/timeline-printer.d.ts +7 -0
  30. package/dist/types/src/components/Timeline/timeline-printer.d.ts.map +1 -0
  31. package/dist/types/src/components/Timeline/timeline-printer.test.d.ts +2 -0
  32. package/dist/types/src/components/Timeline/timeline-printer.test.d.ts.map +1 -0
  33. package/dist/types/src/components/TracePanel/TracePanel.d.ts +28 -0
  34. package/dist/types/src/components/TracePanel/TracePanel.d.ts.map +1 -0
  35. package/dist/types/src/components/TracePanel/dxn-extractor.d.ts +19 -0
  36. package/dist/types/src/components/TracePanel/dxn-extractor.d.ts.map +1 -0
  37. package/dist/types/src/components/TracePanel/dxn-extractor.test.d.ts +2 -0
  38. package/dist/types/src/components/TracePanel/dxn-extractor.test.d.ts.map +1 -0
  39. package/dist/types/src/components/TracePanel/index.d.ts +4 -0
  40. package/dist/types/src/components/TracePanel/index.d.ts.map +1 -0
  41. package/dist/types/src/components/TracePanel/trace-filter.d.ts +39 -0
  42. package/dist/types/src/components/TracePanel/trace-filter.d.ts.map +1 -0
  43. package/dist/types/src/components/TracePanel/trace-filter.test.d.ts +2 -0
  44. package/dist/types/src/components/TracePanel/trace-filter.test.d.ts.map +1 -0
  45. package/dist/types/src/components/TracePanel/useTraceMenu.d.ts +15 -0
  46. package/dist/types/src/components/TracePanel/useTraceMenu.d.ts.map +1 -0
  47. package/dist/types/src/components/index.d.ts +5 -0
  48. package/dist/types/src/components/index.d.ts.map +1 -0
  49. package/dist/types/src/execution-graph/execution-graph.d.ts +139 -0
  50. package/dist/types/src/execution-graph/execution-graph.d.ts.map +1 -0
  51. package/dist/types/src/execution-graph/execution-graph.test.d.ts +2 -0
  52. package/dist/types/src/execution-graph/execution-graph.test.d.ts.map +1 -0
  53. package/dist/types/src/execution-graph/index.d.ts +4 -0
  54. package/dist/types/src/execution-graph/index.d.ts.map +1 -0
  55. package/dist/types/src/execution-graph/pending-block-status.d.ts +26 -0
  56. package/dist/types/src/execution-graph/pending-block-status.d.ts.map +1 -0
  57. package/dist/types/src/execution-graph/pending-block-status.test.d.ts +2 -0
  58. package/dist/types/src/execution-graph/pending-block-status.test.d.ts.map +1 -0
  59. package/dist/types/src/execution-graph/remote-snapshot.test.d.ts +2 -0
  60. package/dist/types/src/execution-graph/remote-snapshot.test.d.ts.map +1 -0
  61. package/dist/types/src/execution-graph/span-tree.d.ts +106 -0
  62. package/dist/types/src/execution-graph/span-tree.d.ts.map +1 -0
  63. package/dist/types/src/execution-graph/span-tree.test.d.ts +2 -0
  64. package/dist/types/src/execution-graph/span-tree.test.d.ts.map +1 -0
  65. package/dist/types/src/execution-graph/sub-agent-delegation.test.d.ts +2 -0
  66. package/dist/types/src/execution-graph/sub-agent-delegation.test.d.ts.map +1 -0
  67. package/dist/types/src/execution-graph/testing/collect-trace-events.d.ts +40 -0
  68. package/dist/types/src/execution-graph/testing/collect-trace-events.d.ts.map +1 -0
  69. package/dist/types/src/execution-graph/testing/index.d.ts +2 -0
  70. package/dist/types/src/execution-graph/testing/index.d.ts.map +1 -0
  71. package/dist/types/src/hooks/index.d.ts +4 -0
  72. package/dist/types/src/hooks/index.d.ts.map +1 -0
  73. package/dist/types/src/hooks/useExecutionGraph.d.ts +17 -0
  74. package/dist/types/src/hooks/useExecutionGraph.d.ts.map +1 -0
  75. package/dist/types/src/hooks/useSessionTimeline.d.ts +17 -0
  76. package/dist/types/src/hooks/useSessionTimeline.d.ts.map +1 -0
  77. package/dist/types/src/hooks/useTraceMessages.d.ts +17 -0
  78. package/dist/types/src/hooks/useTraceMessages.d.ts.map +1 -0
  79. package/dist/types/src/index.d.ts +5 -0
  80. package/dist/types/src/index.d.ts.map +1 -0
  81. package/dist/types/src/session-timeline/index.d.ts +3 -0
  82. package/dist/types/src/session-timeline/index.d.ts.map +1 -0
  83. package/dist/types/src/session-timeline/session-timeline.d.ts +19 -0
  84. package/dist/types/src/session-timeline/session-timeline.d.ts.map +1 -0
  85. package/dist/types/src/session-timeline/session-timeline.test.d.ts +2 -0
  86. package/dist/types/src/session-timeline/session-timeline.test.d.ts.map +1 -0
  87. package/dist/types/src/session-timeline/types.d.ts +129 -0
  88. package/dist/types/src/session-timeline/types.d.ts.map +1 -0
  89. package/dist/types/src/testing/index.d.ts +5 -0
  90. package/dist/types/src/testing/index.d.ts.map +1 -0
  91. package/dist/types/src/testing/simulated-agent.d.ts +63 -0
  92. package/dist/types/src/testing/simulated-agent.d.ts.map +1 -0
  93. package/dist/types/src/testing/snapshot-playback.d.ts +12 -0
  94. package/dist/types/src/testing/snapshot-playback.d.ts.map +1 -0
  95. package/dist/types/src/testing/test-trace.d.ts +5 -0
  96. package/dist/types/src/testing/test-trace.d.ts.map +1 -0
  97. package/dist/types/src/translations.d.ts +19 -0
  98. package/dist/types/src/translations.d.ts.map +1 -0
  99. package/dist/types/tsconfig.tsbuildinfo +1 -0
  100. package/package.json +77 -0
  101. package/src/components/Gantt/Gantt.stories.tsx +241 -0
  102. package/src/components/Gantt/Gantt.tsx +589 -0
  103. package/src/components/Gantt/index.ts +5 -0
  104. package/src/components/ProcessTree/ProcessTree.stories.tsx +95 -0
  105. package/src/components/ProcessTree/ProcessTree.tsx +265 -0
  106. package/src/components/ProcessTree/index.ts +5 -0
  107. package/src/components/Timeline/Timeline.stories.tsx +326 -0
  108. package/src/components/Timeline/Timeline.tsx +534 -0
  109. package/src/components/Timeline/git.drawio.svg +821 -0
  110. package/src/components/Timeline/index.ts +7 -0
  111. package/src/components/Timeline/timeline-options.ts +27 -0
  112. package/src/components/Timeline/timeline-printer.test.ts +76 -0
  113. package/src/components/Timeline/timeline-printer.ts +223 -0
  114. package/src/components/TracePanel/TracePanel.tsx +248 -0
  115. package/src/components/TracePanel/dxn-extractor.test.ts +153 -0
  116. package/src/components/TracePanel/dxn-extractor.ts +166 -0
  117. package/src/components/TracePanel/index.ts +7 -0
  118. package/src/components/TracePanel/trace-filter.test.ts +137 -0
  119. package/src/components/TracePanel/trace-filter.ts +120 -0
  120. package/src/components/TracePanel/useTraceMenu.ts +95 -0
  121. package/src/components/index.ts +8 -0
  122. package/src/execution-graph/SPEC.md +749 -0
  123. package/src/execution-graph/execution-graph.test.ts +1205 -0
  124. package/src/execution-graph/execution-graph.ts +1076 -0
  125. package/src/execution-graph/index.ts +35 -0
  126. package/src/execution-graph/pending-block-status.test.ts +118 -0
  127. package/src/execution-graph/pending-block-status.ts +88 -0
  128. package/src/execution-graph/remote-snapshot.test.ts +116 -0
  129. package/src/execution-graph/span-tree.test.ts +370 -0
  130. package/src/execution-graph/span-tree.ts +404 -0
  131. package/src/execution-graph/sub-agent-delegation.test.ts +65 -0
  132. package/src/execution-graph/testing/collect-trace-events.ts +76 -0
  133. package/src/execution-graph/testing/index.ts +5 -0
  134. package/src/execution-graph/testing/sub-agent-delegation.json +1285 -0
  135. package/src/hooks/index.ts +7 -0
  136. package/src/hooks/useExecutionGraph.ts +107 -0
  137. package/src/hooks/useSessionTimeline.ts +53 -0
  138. package/src/hooks/useTraceMessages.ts +58 -0
  139. package/src/index.ts +8 -0
  140. package/src/session-timeline/index.ts +6 -0
  141. package/src/session-timeline/session-timeline.test.ts +662 -0
  142. package/src/session-timeline/session-timeline.ts +605 -0
  143. package/src/session-timeline/types.ts +100 -0
  144. package/src/testing/index.ts +8 -0
  145. package/src/testing/simulated-agent.ts +293 -0
  146. package/src/testing/snapshot-playback.ts +45 -0
  147. package/src/testing/test-trace.ts +22 -0
  148. package/src/translations.ts +29 -0
@@ -0,0 +1,1285 @@
1
+ [
2
+ {
3
+ "meta": {
4
+ "pid": "2433a0a1-7c09-46e6-bc6f-893f104d1691",
5
+ "processName": "Agent",
6
+ "space": "BIRSBKL52RS4PRK3IU2GHWTRLO5T6VOLN",
7
+ "conversationId": "01KTFZZXTFTNVTK86WEJ6DKTFT",
8
+ "runtimeName": "local"
9
+ },
10
+ "isEphemeral": false,
11
+ "events": [
12
+ {
13
+ "timestamp": 1780800819470,
14
+ "type": "assistant.agentRequestBegin",
15
+ "data": {}
16
+ }
17
+ ]
18
+ },
19
+ {
20
+ "meta": {
21
+ "pid": "e200b1f7-30a5-4aa8-ba12-31c6d9ddf4aa",
22
+ "parentPid": "2433a0a1-7c09-46e6-bc6f-893f104d1691",
23
+ "processName": "Get Agent Context (dxn:org.dxos.operation.assistantToolkit.getContext)",
24
+ "space": "BIRSBKL52RS4PRK3IU2GHWTRLO5T6VOLN",
25
+ "runtimeName": "local"
26
+ },
27
+ "isEphemeral": false,
28
+ "events": [
29
+ {
30
+ "timestamp": 1780800819779,
31
+ "type": "operation.start",
32
+ "data": {
33
+ "key": "dxn:org.dxos.operation.assistantToolkit.getContext",
34
+ "name": "Get Agent Context",
35
+ "icon": "ph--info--regular"
36
+ }
37
+ }
38
+ ]
39
+ },
40
+ {
41
+ "meta": {
42
+ "pid": "e200b1f7-30a5-4aa8-ba12-31c6d9ddf4aa",
43
+ "parentPid": "2433a0a1-7c09-46e6-bc6f-893f104d1691",
44
+ "processName": "Get Agent Context (dxn:org.dxos.operation.assistantToolkit.getContext)",
45
+ "space": "BIRSBKL52RS4PRK3IU2GHWTRLO5T6VOLN",
46
+ "runtimeName": "local"
47
+ },
48
+ "isEphemeral": false,
49
+ "events": [
50
+ {
51
+ "timestamp": 1780800819796,
52
+ "type": "operation.end",
53
+ "data": {
54
+ "key": "dxn:org.dxos.operation.assistantToolkit.getContext",
55
+ "name": "Get Agent Context",
56
+ "icon": "ph--info--regular",
57
+ "outcome": "success"
58
+ }
59
+ }
60
+ ]
61
+ },
62
+ {
63
+ "meta": {
64
+ "pid": "2433a0a1-7c09-46e6-bc6f-893f104d1691",
65
+ "processName": "Agent",
66
+ "space": "BIRSBKL52RS4PRK3IU2GHWTRLO5T6VOLN",
67
+ "conversationId": "01KTFZZXTFTNVTK86WEJ6DKTFT",
68
+ "runtimeName": "local"
69
+ },
70
+ "isEphemeral": false,
71
+ "events": [
72
+ {
73
+ "timestamp": 1780800819855,
74
+ "type": "assistant.completeBlock",
75
+ "data": {
76
+ "messageId": "01KTG004MEGN8W9GP1T443300A",
77
+ "role": "user",
78
+ "block": {
79
+ "_tag": "text",
80
+ "text": "create a sub-agent that creates a haiku in a new document"
81
+ }
82
+ }
83
+ }
84
+ ]
85
+ },
86
+ {
87
+ "meta": {
88
+ "pid": "fe05f5e6-f261-464a-a993-1ecc78557286",
89
+ "parentPid": "2433a0a1-7c09-46e6-bc6f-893f104d1691",
90
+ "processName": "Get Agent Context (dxn:org.dxos.operation.assistantToolkit.getContext)",
91
+ "space": "BIRSBKL52RS4PRK3IU2GHWTRLO5T6VOLN",
92
+ "runtimeName": "local"
93
+ },
94
+ "isEphemeral": false,
95
+ "events": [
96
+ {
97
+ "timestamp": 1780800820015,
98
+ "type": "operation.start",
99
+ "data": {
100
+ "key": "dxn:org.dxos.operation.assistantToolkit.getContext",
101
+ "name": "Get Agent Context",
102
+ "icon": "ph--info--regular"
103
+ }
104
+ }
105
+ ]
106
+ },
107
+ {
108
+ "meta": {
109
+ "pid": "fe05f5e6-f261-464a-a993-1ecc78557286",
110
+ "parentPid": "2433a0a1-7c09-46e6-bc6f-893f104d1691",
111
+ "processName": "Get Agent Context (dxn:org.dxos.operation.assistantToolkit.getContext)",
112
+ "space": "BIRSBKL52RS4PRK3IU2GHWTRLO5T6VOLN",
113
+ "runtimeName": "local"
114
+ },
115
+ "isEphemeral": false,
116
+ "events": [
117
+ {
118
+ "timestamp": 1780800820031,
119
+ "type": "operation.end",
120
+ "data": {
121
+ "key": "dxn:org.dxos.operation.assistantToolkit.getContext",
122
+ "name": "Get Agent Context",
123
+ "icon": "ph--info--regular",
124
+ "outcome": "success"
125
+ }
126
+ }
127
+ ]
128
+ },
129
+ {
130
+ "meta": {
131
+ "pid": "2433a0a1-7c09-46e6-bc6f-893f104d1691",
132
+ "processName": "Agent",
133
+ "space": "BIRSBKL52RS4PRK3IU2GHWTRLO5T6VOLN",
134
+ "conversationId": "01KTFZZXTFTNVTK86WEJ6DKTFT",
135
+ "runtimeName": "local"
136
+ },
137
+ "isEphemeral": false,
138
+ "events": [
139
+ {
140
+ "timestamp": 1780800822596,
141
+ "type": "assistant.completeBlock",
142
+ "data": {
143
+ "messageId": "01KTG006SHPCW6D5WZJT9J0TKE",
144
+ "role": "assistant",
145
+ "block": {
146
+ "_tag": "toolCall",
147
+ "toolCallId": "toolu_01T1XhBHArQ2UNHvdCEtWY1C",
148
+ "name": "update-tasks",
149
+ "input": "{\"tasks\": [{\"id\":\"task_1\",\"title\":\"Create a sub-agent that writes a haiku in a new document\",\"status\":\"in-progress\"}]}",
150
+ "providerExecuted": false,
151
+ "operationKey": "dxn:org.dxos.operation.assistantToolkit.updateTasks",
152
+ "operationName": "Update tasks",
153
+ "operationIcon": "ph--check-square-offset--regular"
154
+ }
155
+ }
156
+ }
157
+ ]
158
+ },
159
+ {
160
+ "meta": {
161
+ "pid": "2433a0a1-7c09-46e6-bc6f-893f104d1691",
162
+ "processName": "Agent",
163
+ "space": "BIRSBKL52RS4PRK3IU2GHWTRLO5T6VOLN",
164
+ "conversationId": "01KTFZZXTFTNVTK86WEJ6DKTFT",
165
+ "runtimeName": "local"
166
+ },
167
+ "isEphemeral": false,
168
+ "events": [
169
+ {
170
+ "timestamp": 1780800822638,
171
+ "type": "assistant.completeBlock",
172
+ "data": {
173
+ "messageId": "01KTG007BDN1MTQT7JXNC9MFQW",
174
+ "role": "assistant",
175
+ "block": {
176
+ "_tag": "stats",
177
+ "model": "claude-sonnet-4-6",
178
+ "duration": 2536,
179
+ "message": "OK",
180
+ "toolCalls": 1,
181
+ "usage": {
182
+ "inputTokens": 3,
183
+ "outputTokens": 90,
184
+ "totalTokens": 93
185
+ }
186
+ }
187
+ }
188
+ }
189
+ ]
190
+ },
191
+ {
192
+ "meta": {
193
+ "pid": "4f9baefc-1353-406d-b883-0b5a7d1f0e31",
194
+ "parentPid": "2433a0a1-7c09-46e6-bc6f-893f104d1691",
195
+ "processName": "Update tasks (dxn:org.dxos.operation.assistantToolkit.updateTasks)",
196
+ "space": "BIRSBKL52RS4PRK3IU2GHWTRLO5T6VOLN",
197
+ "conversationId": "01KTFZZXTFTNVTK86WEJ6DKTFT",
198
+ "runtimeName": "local"
199
+ },
200
+ "isEphemeral": false,
201
+ "events": [
202
+ {
203
+ "timestamp": 1780800822760,
204
+ "type": "operation.start",
205
+ "data": {
206
+ "key": "dxn:org.dxos.operation.assistantToolkit.updateTasks",
207
+ "name": "Update tasks",
208
+ "icon": "ph--check-square-offset--regular"
209
+ }
210
+ }
211
+ ]
212
+ },
213
+ {
214
+ "meta": {
215
+ "pid": "4f9baefc-1353-406d-b883-0b5a7d1f0e31",
216
+ "parentPid": "2433a0a1-7c09-46e6-bc6f-893f104d1691",
217
+ "processName": "Update tasks (dxn:org.dxos.operation.assistantToolkit.updateTasks)",
218
+ "space": "BIRSBKL52RS4PRK3IU2GHWTRLO5T6VOLN",
219
+ "conversationId": "01KTFZZXTFTNVTK86WEJ6DKTFT",
220
+ "runtimeName": "local"
221
+ },
222
+ "isEphemeral": false,
223
+ "events": [
224
+ {
225
+ "timestamp": 1780800822783,
226
+ "type": "operation.end",
227
+ "data": {
228
+ "key": "dxn:org.dxos.operation.assistantToolkit.updateTasks",
229
+ "name": "Update tasks",
230
+ "icon": "ph--check-square-offset--regular",
231
+ "outcome": "success"
232
+ }
233
+ }
234
+ ]
235
+ },
236
+ {
237
+ "meta": {
238
+ "pid": "2433a0a1-7c09-46e6-bc6f-893f104d1691",
239
+ "processName": "Agent",
240
+ "space": "BIRSBKL52RS4PRK3IU2GHWTRLO5T6VOLN",
241
+ "conversationId": "01KTFZZXTFTNVTK86WEJ6DKTFT",
242
+ "runtimeName": "local"
243
+ },
244
+ "isEphemeral": false,
245
+ "events": [
246
+ {
247
+ "timestamp": 1780800822829,
248
+ "type": "assistant.completeBlock",
249
+ "data": {
250
+ "messageId": "01KTG007HCMJQEHXMRSCQCQDNY",
251
+ "role": "tool",
252
+ "block": {
253
+ "_tag": "toolResult",
254
+ "toolCallId": "toolu_01T1XhBHArQ2UNHvdCEtWY1C",
255
+ "name": "update-tasks",
256
+ "result": "\"You must update the task status to 'in-progress' when you start and 'done' when complete.\\nCurrent plan updated:\\n<plan>\\n - **IN-PROGRESS**: Create a sub-agent that writes a haiku in a new document <!-- id=task_1 -->\\n</plan>\"",
257
+ "providerExecuted": false
258
+ }
259
+ }
260
+ }
261
+ ]
262
+ },
263
+ {
264
+ "meta": {
265
+ "pid": "211a43a3-f85b-4925-aae3-af92c46ac91b",
266
+ "parentPid": "2433a0a1-7c09-46e6-bc6f-893f104d1691",
267
+ "processName": "Get Agent Context (dxn:org.dxos.operation.assistantToolkit.getContext)",
268
+ "space": "BIRSBKL52RS4PRK3IU2GHWTRLO5T6VOLN",
269
+ "runtimeName": "local"
270
+ },
271
+ "isEphemeral": false,
272
+ "events": [
273
+ {
274
+ "timestamp": 1780800823031,
275
+ "type": "operation.start",
276
+ "data": {
277
+ "key": "dxn:org.dxos.operation.assistantToolkit.getContext",
278
+ "name": "Get Agent Context",
279
+ "icon": "ph--info--regular"
280
+ }
281
+ }
282
+ ]
283
+ },
284
+ {
285
+ "meta": {
286
+ "pid": "211a43a3-f85b-4925-aae3-af92c46ac91b",
287
+ "parentPid": "2433a0a1-7c09-46e6-bc6f-893f104d1691",
288
+ "processName": "Get Agent Context (dxn:org.dxos.operation.assistantToolkit.getContext)",
289
+ "space": "BIRSBKL52RS4PRK3IU2GHWTRLO5T6VOLN",
290
+ "runtimeName": "local"
291
+ },
292
+ "isEphemeral": false,
293
+ "events": [
294
+ {
295
+ "timestamp": 1780800823047,
296
+ "type": "operation.end",
297
+ "data": {
298
+ "key": "dxn:org.dxos.operation.assistantToolkit.getContext",
299
+ "name": "Get Agent Context",
300
+ "icon": "ph--info--regular",
301
+ "outcome": "success"
302
+ }
303
+ }
304
+ ]
305
+ },
306
+ {
307
+ "meta": {
308
+ "pid": "2433a0a1-7c09-46e6-bc6f-893f104d1691",
309
+ "processName": "Agent",
310
+ "space": "BIRSBKL52RS4PRK3IU2GHWTRLO5T6VOLN",
311
+ "conversationId": "01KTFZZXTFTNVTK86WEJ6DKTFT",
312
+ "runtimeName": "local"
313
+ },
314
+ "isEphemeral": false,
315
+ "events": [
316
+ {
317
+ "timestamp": 1780800825033,
318
+ "type": "assistant.completeBlock",
319
+ "data": {
320
+ "messageId": "01KTG009EK5A1PBQW38R1T8ABZ",
321
+ "role": "assistant",
322
+ "block": {
323
+ "_tag": "toolCall",
324
+ "toolCallId": "toolu_014hZLnJnQzNRkr9Xwx6gJ79",
325
+ "name": "delegate-task",
326
+ "input": "{\"title\": \"Create a haiku in a new document\"}",
327
+ "providerExecuted": false,
328
+ "operationKey": "dxn:org.dxos.operation.assistantToolkit.delegateTask",
329
+ "operationName": "Delegate task",
330
+ "operationIcon": "ph--share-network--regular"
331
+ }
332
+ }
333
+ }
334
+ ]
335
+ },
336
+ {
337
+ "meta": {
338
+ "pid": "2433a0a1-7c09-46e6-bc6f-893f104d1691",
339
+ "processName": "Agent",
340
+ "space": "BIRSBKL52RS4PRK3IU2GHWTRLO5T6VOLN",
341
+ "conversationId": "01KTFZZXTFTNVTK86WEJ6DKTFT",
342
+ "runtimeName": "local"
343
+ },
344
+ "isEphemeral": false,
345
+ "events": [
346
+ {
347
+ "timestamp": 1780800825087,
348
+ "type": "assistant.completeBlock",
349
+ "data": {
350
+ "messageId": "01KTG009QYZCDFTBGFSNCFXZ4C",
351
+ "role": "assistant",
352
+ "block": {
353
+ "_tag": "stats",
354
+ "model": "claude-sonnet-4-6",
355
+ "duration": 1981,
356
+ "message": "OK",
357
+ "toolCalls": 1,
358
+ "usage": {
359
+ "inputTokens": 1,
360
+ "outputTokens": 60,
361
+ "totalTokens": 61
362
+ }
363
+ }
364
+ }
365
+ }
366
+ ]
367
+ },
368
+ {
369
+ "meta": {
370
+ "pid": "cad71a95-5fbc-45cd-a834-bfc7e5085a3f",
371
+ "parentPid": "2433a0a1-7c09-46e6-bc6f-893f104d1691",
372
+ "processName": "Delegate task (dxn:org.dxos.operation.assistantToolkit.delegateTask)",
373
+ "space": "BIRSBKL52RS4PRK3IU2GHWTRLO5T6VOLN",
374
+ "conversationId": "01KTFZZXTFTNVTK86WEJ6DKTFT",
375
+ "runtimeName": "local"
376
+ },
377
+ "isEphemeral": false,
378
+ "events": [
379
+ {
380
+ "timestamp": 1780800825246,
381
+ "type": "operation.start",
382
+ "data": {
383
+ "key": "dxn:org.dxos.operation.assistantToolkit.delegateTask",
384
+ "name": "Delegate task",
385
+ "icon": "ph--share-network--regular"
386
+ }
387
+ }
388
+ ]
389
+ },
390
+ {
391
+ "meta": {
392
+ "pid": "cad71a95-5fbc-45cd-a834-bfc7e5085a3f",
393
+ "parentPid": "2433a0a1-7c09-46e6-bc6f-893f104d1691",
394
+ "processName": "Delegate task (dxn:org.dxos.operation.assistantToolkit.delegateTask)",
395
+ "space": "BIRSBKL52RS4PRK3IU2GHWTRLO5T6VOLN",
396
+ "conversationId": "01KTFZZXTFTNVTK86WEJ6DKTFT",
397
+ "runtimeName": "local"
398
+ },
399
+ "isEphemeral": false,
400
+ "events": [
401
+ {
402
+ "timestamp": 1780800825268,
403
+ "type": "operation.end",
404
+ "data": {
405
+ "key": "dxn:org.dxos.operation.assistantToolkit.delegateTask",
406
+ "name": "Delegate task",
407
+ "icon": "ph--share-network--regular",
408
+ "outcome": "success"
409
+ }
410
+ }
411
+ ]
412
+ },
413
+ {
414
+ "meta": {
415
+ "pid": "2433a0a1-7c09-46e6-bc6f-893f104d1691",
416
+ "processName": "Agent",
417
+ "space": "BIRSBKL52RS4PRK3IU2GHWTRLO5T6VOLN",
418
+ "conversationId": "01KTFZZXTFTNVTK86WEJ6DKTFT",
419
+ "runtimeName": "local"
420
+ },
421
+ "isEphemeral": false,
422
+ "events": [
423
+ {
424
+ "timestamp": 1780800825324,
425
+ "type": "assistant.completeBlock",
426
+ "data": {
427
+ "messageId": "01KTG009ZCDCCCF7ZPHE3SECXG",
428
+ "role": "tool",
429
+ "block": {
430
+ "_tag": "toolResult",
431
+ "toolCallId": "toolu_014hZLnJnQzNRkr9Xwx6gJ79",
432
+ "name": "delegate-task",
433
+ "result": "\"Delegated work as an in-progress task. Current plan:\\n<plan>\\n - **IN-PROGRESS**: Create a sub-agent that writes a haiku in a new document <!-- id=task_1 -->\\n - **IN-PROGRESS**: Create a haiku in a new document <!-- id=1-d4 -->\\n</plan>\"",
434
+ "providerExecuted": false
435
+ }
436
+ }
437
+ }
438
+ ]
439
+ },
440
+ {
441
+ "meta": {
442
+ "pid": "cf82b042-0703-4e57-b630-204f0e13deee",
443
+ "parentPid": "2433a0a1-7c09-46e6-bc6f-893f104d1691",
444
+ "processName": "Get Agent Context (dxn:org.dxos.operation.assistantToolkit.getContext)",
445
+ "space": "BIRSBKL52RS4PRK3IU2GHWTRLO5T6VOLN",
446
+ "runtimeName": "local"
447
+ },
448
+ "isEphemeral": false,
449
+ "events": [
450
+ {
451
+ "timestamp": 1780800825537,
452
+ "type": "operation.start",
453
+ "data": {
454
+ "key": "dxn:org.dxos.operation.assistantToolkit.getContext",
455
+ "name": "Get Agent Context",
456
+ "icon": "ph--info--regular"
457
+ }
458
+ }
459
+ ]
460
+ },
461
+ {
462
+ "meta": {
463
+ "pid": "cf82b042-0703-4e57-b630-204f0e13deee",
464
+ "parentPid": "2433a0a1-7c09-46e6-bc6f-893f104d1691",
465
+ "processName": "Get Agent Context (dxn:org.dxos.operation.assistantToolkit.getContext)",
466
+ "space": "BIRSBKL52RS4PRK3IU2GHWTRLO5T6VOLN",
467
+ "runtimeName": "local"
468
+ },
469
+ "isEphemeral": false,
470
+ "events": [
471
+ {
472
+ "timestamp": 1780800825552,
473
+ "type": "operation.end",
474
+ "data": {
475
+ "key": "dxn:org.dxos.operation.assistantToolkit.getContext",
476
+ "name": "Get Agent Context",
477
+ "icon": "ph--info--regular",
478
+ "outcome": "success"
479
+ }
480
+ }
481
+ ]
482
+ },
483
+ {
484
+ "meta": {
485
+ "pid": "2433a0a1-7c09-46e6-bc6f-893f104d1691",
486
+ "processName": "Agent",
487
+ "space": "BIRSBKL52RS4PRK3IU2GHWTRLO5T6VOLN",
488
+ "conversationId": "01KTFZZXTFTNVTK86WEJ6DKTFT",
489
+ "runtimeName": "local"
490
+ },
491
+ "isEphemeral": false,
492
+ "events": [
493
+ {
494
+ "timestamp": 1780800827693,
495
+ "type": "assistant.completeBlock",
496
+ "data": {
497
+ "messageId": "01KTG00B9HS4BWE7G8NPYGEG00",
498
+ "role": "assistant",
499
+ "block": {
500
+ "_tag": "text",
501
+ "text": "Done! I've created a sub-agent with the task of writing a haiku in a new document. The sub-agent is now in progress and will create the document with a haiku. Once it completes, the artifact will be available in the space."
502
+ }
503
+ }
504
+ }
505
+ ]
506
+ },
507
+ {
508
+ "meta": {
509
+ "pid": "2433a0a1-7c09-46e6-bc6f-893f104d1691",
510
+ "processName": "Agent",
511
+ "space": "BIRSBKL52RS4PRK3IU2GHWTRLO5T6VOLN",
512
+ "conversationId": "01KTFZZXTFTNVTK86WEJ6DKTFT",
513
+ "runtimeName": "local"
514
+ },
515
+ "isEphemeral": false,
516
+ "events": [
517
+ {
518
+ "timestamp": 1780800827757,
519
+ "type": "assistant.completeBlock",
520
+ "data": {
521
+ "messageId": "01KTG00CBCTK0Y7068HEY1TJXJ",
522
+ "role": "assistant",
523
+ "block": {
524
+ "_tag": "stats",
525
+ "model": "claude-sonnet-4-6",
526
+ "duration": 2135,
527
+ "message": "OK",
528
+ "toolCalls": 0,
529
+ "usage": {
530
+ "inputTokens": 1,
531
+ "outputTokens": 57,
532
+ "totalTokens": 58
533
+ }
534
+ }
535
+ }
536
+ }
537
+ ]
538
+ },
539
+ {
540
+ "meta": {
541
+ "pid": "2433a0a1-7c09-46e6-bc6f-893f104d1691",
542
+ "processName": "Agent",
543
+ "space": "BIRSBKL52RS4PRK3IU2GHWTRLO5T6VOLN",
544
+ "conversationId": "01KTFZZXTFTNVTK86WEJ6DKTFT",
545
+ "runtimeName": "local"
546
+ },
547
+ "isEphemeral": false,
548
+ "events": [
549
+ {
550
+ "timestamp": 1780800827765,
551
+ "type": "assistant.agentRequestEnd",
552
+ "data": {}
553
+ }
554
+ ]
555
+ },
556
+ {
557
+ "meta": {
558
+ "pid": "cf8f7243-5b1d-4902-b158-70d9107d5f43",
559
+ "parentPid": "2433a0a1-7c09-46e6-bc6f-893f104d1691",
560
+ "processName": "Run Routine (dxn:org.dxos.function.prompt)",
561
+ "space": "BIRSBKL52RS4PRK3IU2GHWTRLO5T6VOLN",
562
+ "runtimeName": "local"
563
+ },
564
+ "isEphemeral": false,
565
+ "events": [
566
+ {
567
+ "timestamp": 1780800827912,
568
+ "type": "operation.start",
569
+ "data": {
570
+ "key": "dxn:org.dxos.function.prompt",
571
+ "name": "Run Routine",
572
+ "icon": "ph--brain--regular"
573
+ }
574
+ }
575
+ ]
576
+ },
577
+ {
578
+ "meta": {
579
+ "pid": "58e4ed1d-6cb2-475e-850a-d89be0c5c714",
580
+ "processName": "Update Chat Name (dxn:org.dxos.operation.assistant.updateChatName)",
581
+ "space": "BIRSBKL52RS4PRK3IU2GHWTRLO5T6VOLN",
582
+ "runtimeName": "local"
583
+ },
584
+ "isEphemeral": false,
585
+ "events": [
586
+ {
587
+ "timestamp": 1780800828033,
588
+ "type": "operation.start",
589
+ "data": {
590
+ "key": "dxn:org.dxos.operation.assistant.updateChatName",
591
+ "name": "Update Chat Name",
592
+ "icon": "ph--pencil--regular"
593
+ }
594
+ }
595
+ ]
596
+ },
597
+ {
598
+ "meta": {
599
+ "pid": "b070e30f-bafe-4118-94da-83681c24d49d",
600
+ "parentPid": "cf8f7243-5b1d-4902-b158-70d9107d5f43",
601
+ "processName": "Get Agent Context (dxn:org.dxos.operation.assistantToolkit.getContext)",
602
+ "space": "BIRSBKL52RS4PRK3IU2GHWTRLO5T6VOLN",
603
+ "runtimeName": "local"
604
+ },
605
+ "isEphemeral": false,
606
+ "events": [
607
+ {
608
+ "timestamp": 1780800828277,
609
+ "type": "operation.start",
610
+ "data": {
611
+ "key": "dxn:org.dxos.operation.assistantToolkit.getContext",
612
+ "name": "Get Agent Context",
613
+ "icon": "ph--info--regular"
614
+ }
615
+ }
616
+ ]
617
+ },
618
+ {
619
+ "meta": {
620
+ "pid": "b070e30f-bafe-4118-94da-83681c24d49d",
621
+ "parentPid": "cf8f7243-5b1d-4902-b158-70d9107d5f43",
622
+ "processName": "Get Agent Context (dxn:org.dxos.operation.assistantToolkit.getContext)",
623
+ "space": "BIRSBKL52RS4PRK3IU2GHWTRLO5T6VOLN",
624
+ "runtimeName": "local"
625
+ },
626
+ "isEphemeral": false,
627
+ "events": [
628
+ {
629
+ "timestamp": 1780800828278,
630
+ "type": "operation.end",
631
+ "data": {
632
+ "key": "dxn:org.dxos.operation.assistantToolkit.getContext",
633
+ "name": "Get Agent Context",
634
+ "icon": "ph--info--regular",
635
+ "outcome": "success"
636
+ }
637
+ }
638
+ ]
639
+ },
640
+ {
641
+ "meta": {
642
+ "pid": "cf8f7243-5b1d-4902-b158-70d9107d5f43",
643
+ "parentPid": "2433a0a1-7c09-46e6-bc6f-893f104d1691",
644
+ "processName": "Run Routine (dxn:org.dxos.function.prompt)",
645
+ "space": "BIRSBKL52RS4PRK3IU2GHWTRLO5T6VOLN",
646
+ "runtimeName": "local"
647
+ },
648
+ "isEphemeral": false,
649
+ "events": [
650
+ {
651
+ "timestamp": 1780800828323,
652
+ "type": "assistant.completeBlock",
653
+ "data": {
654
+ "messageId": "01KTG00CX281TNXBSMXVWGJFER",
655
+ "role": "user",
656
+ "block": {
657
+ "_tag": "text",
658
+ "text": "Complete the following task and report the result concisely.\n\nIf you create any documents or artifacts, call completeJob with a JSON object of the\nform { \"summary\": string, \"artifactIds\": string[] }, where artifactIds are the exact\nids returned by the tools that created them. Otherwise return a short summary string.\n\nTask: Create a haiku in a new document\n<input>{}</input>"
659
+ }
660
+ }
661
+ }
662
+ ]
663
+ },
664
+ {
665
+ "meta": {
666
+ "pid": "c2b79fcc-a455-4546-b306-fe175a2b646a",
667
+ "parentPid": "cf8f7243-5b1d-4902-b158-70d9107d5f43",
668
+ "processName": "Get Agent Context (dxn:org.dxos.operation.assistantToolkit.getContext)",
669
+ "space": "BIRSBKL52RS4PRK3IU2GHWTRLO5T6VOLN",
670
+ "runtimeName": "local"
671
+ },
672
+ "isEphemeral": false,
673
+ "events": [
674
+ {
675
+ "timestamp": 1780800828453,
676
+ "type": "operation.start",
677
+ "data": {
678
+ "key": "dxn:org.dxos.operation.assistantToolkit.getContext",
679
+ "name": "Get Agent Context",
680
+ "icon": "ph--info--regular"
681
+ }
682
+ }
683
+ ]
684
+ },
685
+ {
686
+ "meta": {
687
+ "pid": "c2b79fcc-a455-4546-b306-fe175a2b646a",
688
+ "parentPid": "cf8f7243-5b1d-4902-b158-70d9107d5f43",
689
+ "processName": "Get Agent Context (dxn:org.dxos.operation.assistantToolkit.getContext)",
690
+ "space": "BIRSBKL52RS4PRK3IU2GHWTRLO5T6VOLN",
691
+ "runtimeName": "local"
692
+ },
693
+ "isEphemeral": false,
694
+ "events": [
695
+ {
696
+ "timestamp": 1780800828455,
697
+ "type": "operation.end",
698
+ "data": {
699
+ "key": "dxn:org.dxos.operation.assistantToolkit.getContext",
700
+ "name": "Get Agent Context",
701
+ "icon": "ph--info--regular",
702
+ "outcome": "success"
703
+ }
704
+ }
705
+ ]
706
+ },
707
+ {
708
+ "meta": {
709
+ "pid": "58e4ed1d-6cb2-475e-850a-d89be0c5c714",
710
+ "processName": "Update Chat Name (dxn:org.dxos.operation.assistant.updateChatName)",
711
+ "space": "BIRSBKL52RS4PRK3IU2GHWTRLO5T6VOLN",
712
+ "runtimeName": "local"
713
+ },
714
+ "isEphemeral": false,
715
+ "events": [
716
+ {
717
+ "timestamp": 1780800828735,
718
+ "type": "operation.end",
719
+ "data": {
720
+ "key": "dxn:org.dxos.operation.assistant.updateChatName",
721
+ "name": "Update Chat Name",
722
+ "icon": "ph--pencil--regular",
723
+ "outcome": "success"
724
+ }
725
+ }
726
+ ]
727
+ },
728
+ {
729
+ "meta": {
730
+ "pid": "cf8f7243-5b1d-4902-b158-70d9107d5f43",
731
+ "parentPid": "2433a0a1-7c09-46e6-bc6f-893f104d1691",
732
+ "processName": "Run Routine (dxn:org.dxos.function.prompt)",
733
+ "space": "BIRSBKL52RS4PRK3IU2GHWTRLO5T6VOLN",
734
+ "runtimeName": "local"
735
+ },
736
+ "isEphemeral": false,
737
+ "events": [
738
+ {
739
+ "timestamp": 1780800830265,
740
+ "type": "assistant.completeBlock",
741
+ "data": {
742
+ "messageId": "01KTG00EK399C8GJJ8VA656YCB",
743
+ "role": "assistant",
744
+ "block": {
745
+ "_tag": "reasoning",
746
+ "reasoningText": "The user wants me to create a haiku in a new document."
747
+ }
748
+ }
749
+ }
750
+ ]
751
+ },
752
+ {
753
+ "meta": {
754
+ "pid": "cf8f7243-5b1d-4902-b158-70d9107d5f43",
755
+ "parentPid": "2433a0a1-7c09-46e6-bc6f-893f104d1691",
756
+ "processName": "Run Routine (dxn:org.dxos.function.prompt)",
757
+ "space": "BIRSBKL52RS4PRK3IU2GHWTRLO5T6VOLN",
758
+ "runtimeName": "local"
759
+ },
760
+ "isEphemeral": false,
761
+ "events": [
762
+ {
763
+ "timestamp": 1780800831962,
764
+ "type": "assistant.completeBlock",
765
+ "data": {
766
+ "messageId": "01KTG00EW0KX1Z76MNJBD0958W",
767
+ "role": "assistant",
768
+ "block": {
769
+ "_tag": "toolCall",
770
+ "toolCallId": "toolu_0178cbySPezLkhabBTSDtzCL",
771
+ "name": "create",
772
+ "input": "{\"name\": \"Haiku\", \"content\": \"# Haiku\\n\\nAutumn leaves descend,\\nWhispering through quiet woods—\\nEarth breathes in their fall.\"}",
773
+ "providerExecuted": false,
774
+ "operationKey": "dxn:org.dxos.operation.markdown.create",
775
+ "operationName": "Create",
776
+ "operationIcon": "ph--file-text--regular"
777
+ }
778
+ }
779
+ }
780
+ ]
781
+ },
782
+ {
783
+ "meta": {
784
+ "pid": "cf8f7243-5b1d-4902-b158-70d9107d5f43",
785
+ "parentPid": "2433a0a1-7c09-46e6-bc6f-893f104d1691",
786
+ "processName": "Run Routine (dxn:org.dxos.function.prompt)",
787
+ "space": "BIRSBKL52RS4PRK3IU2GHWTRLO5T6VOLN",
788
+ "runtimeName": "local"
789
+ },
790
+ "isEphemeral": false,
791
+ "events": [
792
+ {
793
+ "timestamp": 1780800832083,
794
+ "type": "assistant.completeBlock",
795
+ "data": {
796
+ "messageId": "01KTG00GJK5KB5BQT6C5H9HE6J",
797
+ "role": "assistant",
798
+ "block": {
799
+ "_tag": "stats",
800
+ "model": "claude-opus-4-6",
801
+ "duration": 3587,
802
+ "message": "OK",
803
+ "toolCalls": 1,
804
+ "usage": {
805
+ "inputTokens": 3,
806
+ "outputTokens": 126,
807
+ "totalTokens": 129
808
+ }
809
+ }
810
+ }
811
+ }
812
+ ]
813
+ },
814
+ {
815
+ "meta": {
816
+ "pid": "dd1b51d9-f2f7-4144-945b-7ccd96978964",
817
+ "parentPid": "cf8f7243-5b1d-4902-b158-70d9107d5f43",
818
+ "processName": "Create (dxn:org.dxos.operation.markdown.create)",
819
+ "space": "BIRSBKL52RS4PRK3IU2GHWTRLO5T6VOLN",
820
+ "runtimeName": "local"
821
+ },
822
+ "isEphemeral": false,
823
+ "events": [
824
+ {
825
+ "timestamp": 1780800832091,
826
+ "type": "operation.start",
827
+ "data": {
828
+ "key": "dxn:org.dxos.operation.markdown.create",
829
+ "name": "Create",
830
+ "icon": "ph--file-text--regular"
831
+ }
832
+ }
833
+ ]
834
+ },
835
+ {
836
+ "meta": {
837
+ "pid": "dd1b51d9-f2f7-4144-945b-7ccd96978964",
838
+ "parentPid": "cf8f7243-5b1d-4902-b158-70d9107d5f43",
839
+ "processName": "Create (dxn:org.dxos.operation.markdown.create)",
840
+ "space": "BIRSBKL52RS4PRK3IU2GHWTRLO5T6VOLN",
841
+ "runtimeName": "local"
842
+ },
843
+ "isEphemeral": false,
844
+ "events": [
845
+ {
846
+ "timestamp": 1780800832174,
847
+ "type": "operation.end",
848
+ "data": {
849
+ "key": "dxn:org.dxos.operation.markdown.create",
850
+ "name": "Create",
851
+ "icon": "ph--file-text--regular",
852
+ "outcome": "success"
853
+ }
854
+ }
855
+ ]
856
+ },
857
+ {
858
+ "meta": {
859
+ "pid": "cf8f7243-5b1d-4902-b158-70d9107d5f43",
860
+ "parentPid": "2433a0a1-7c09-46e6-bc6f-893f104d1691",
861
+ "processName": "Run Routine (dxn:org.dxos.function.prompt)",
862
+ "space": "BIRSBKL52RS4PRK3IU2GHWTRLO5T6VOLN",
863
+ "runtimeName": "local"
864
+ },
865
+ "isEphemeral": false,
866
+ "events": [
867
+ {
868
+ "timestamp": 1780800832177,
869
+ "type": "assistant.completeBlock",
870
+ "data": {
871
+ "messageId": "01KTG00GNGWSK4HBSS3G6GHN3Z",
872
+ "role": "tool",
873
+ "block": {
874
+ "_tag": "toolResult",
875
+ "toolCallId": "toolu_0178cbySPezLkhabBTSDtzCL",
876
+ "name": "create",
877
+ "result": "{\"id\":\"echo://BIRSBKL52RS4PRK3IU2GHWTRLO5T6VOLN/01KTG00GJWSZ4SQSXABYFWGDVV\"}",
878
+ "providerExecuted": false
879
+ }
880
+ }
881
+ }
882
+ ]
883
+ },
884
+ {
885
+ "meta": {
886
+ "pid": "01175964-6ffa-4785-84cb-649cbb80edd5",
887
+ "parentPid": "cf8f7243-5b1d-4902-b158-70d9107d5f43",
888
+ "processName": "Get Agent Context (dxn:org.dxos.operation.assistantToolkit.getContext)",
889
+ "space": "BIRSBKL52RS4PRK3IU2GHWTRLO5T6VOLN",
890
+ "runtimeName": "local"
891
+ },
892
+ "isEphemeral": false,
893
+ "events": [
894
+ {
895
+ "timestamp": 1780800832318,
896
+ "type": "operation.start",
897
+ "data": {
898
+ "key": "dxn:org.dxos.operation.assistantToolkit.getContext",
899
+ "name": "Get Agent Context",
900
+ "icon": "ph--info--regular"
901
+ }
902
+ }
903
+ ]
904
+ },
905
+ {
906
+ "meta": {
907
+ "pid": "01175964-6ffa-4785-84cb-649cbb80edd5",
908
+ "parentPid": "cf8f7243-5b1d-4902-b158-70d9107d5f43",
909
+ "processName": "Get Agent Context (dxn:org.dxos.operation.assistantToolkit.getContext)",
910
+ "space": "BIRSBKL52RS4PRK3IU2GHWTRLO5T6VOLN",
911
+ "runtimeName": "local"
912
+ },
913
+ "isEphemeral": false,
914
+ "events": [
915
+ {
916
+ "timestamp": 1780800832319,
917
+ "type": "operation.end",
918
+ "data": {
919
+ "key": "dxn:org.dxos.operation.assistantToolkit.getContext",
920
+ "name": "Get Agent Context",
921
+ "icon": "ph--info--regular",
922
+ "outcome": "success"
923
+ }
924
+ }
925
+ ]
926
+ },
927
+ {
928
+ "meta": {
929
+ "pid": "cf8f7243-5b1d-4902-b158-70d9107d5f43",
930
+ "parentPid": "2433a0a1-7c09-46e6-bc6f-893f104d1691",
931
+ "processName": "Run Routine (dxn:org.dxos.function.prompt)",
932
+ "space": "BIRSBKL52RS4PRK3IU2GHWTRLO5T6VOLN",
933
+ "runtimeName": "local"
934
+ },
935
+ "isEphemeral": false,
936
+ "events": [
937
+ {
938
+ "timestamp": 1780800834244,
939
+ "type": "assistant.completeBlock",
940
+ "data": {
941
+ "messageId": "01KTG00J47C4BSC65F86Z1DY9C",
942
+ "role": "assistant",
943
+ "block": {
944
+ "_tag": "toolCall",
945
+ "toolCallId": "toolu_019cwi3tVMMseebHThRSJkRA",
946
+ "name": "add-artifact",
947
+ "input": "{\"name\": \"Haiku\", \"artifact\": \"echo://BIRSBKL52RS4PRK3IU2GHWTRLO5T6VOLN/01KTG00GJWSZ4SQSXABYFWGDVV\"}",
948
+ "providerExecuted": false,
949
+ "operationKey": "dxn:org.dxos.function.agent.addArtifact",
950
+ "operationName": "Add artifact",
951
+ "operationIcon": "ph--plus--regular"
952
+ }
953
+ }
954
+ }
955
+ ]
956
+ },
957
+ {
958
+ "meta": {
959
+ "pid": "cf8f7243-5b1d-4902-b158-70d9107d5f43",
960
+ "parentPid": "2433a0a1-7c09-46e6-bc6f-893f104d1691",
961
+ "processName": "Run Routine (dxn:org.dxos.function.prompt)",
962
+ "space": "BIRSBKL52RS4PRK3IU2GHWTRLO5T6VOLN",
963
+ "runtimeName": "local"
964
+ },
965
+ "isEphemeral": false,
966
+ "events": [
967
+ {
968
+ "timestamp": 1780800834342,
969
+ "type": "assistant.completeBlock",
970
+ "data": {
971
+ "messageId": "01KTG00JS52RCKXSCQNEGYW6ZS",
972
+ "role": "assistant",
973
+ "block": {
974
+ "_tag": "stats",
975
+ "model": "claude-opus-4-6",
976
+ "duration": 1991,
977
+ "message": "OK",
978
+ "toolCalls": 1,
979
+ "usage": {
980
+ "inputTokens": 1,
981
+ "outputTokens": 121,
982
+ "totalTokens": 122
983
+ }
984
+ }
985
+ }
986
+ }
987
+ ]
988
+ },
989
+ {
990
+ "meta": {
991
+ "pid": "2f805c44-2f1e-4fff-9f1d-5864bc176d56",
992
+ "parentPid": "cf8f7243-5b1d-4902-b158-70d9107d5f43",
993
+ "processName": "Add artifact (dxn:org.dxos.function.agent.addArtifact)",
994
+ "space": "BIRSBKL52RS4PRK3IU2GHWTRLO5T6VOLN",
995
+ "runtimeName": "local"
996
+ },
997
+ "isEphemeral": false,
998
+ "events": [
999
+ {
1000
+ "timestamp": 1780800834363,
1001
+ "type": "operation.start",
1002
+ "data": {
1003
+ "key": "dxn:org.dxos.function.agent.addArtifact",
1004
+ "name": "Add artifact",
1005
+ "icon": "ph--plus--regular"
1006
+ }
1007
+ }
1008
+ ]
1009
+ },
1010
+ {
1011
+ "meta": {
1012
+ "pid": "2f805c44-2f1e-4fff-9f1d-5864bc176d56",
1013
+ "parentPid": "cf8f7243-5b1d-4902-b158-70d9107d5f43",
1014
+ "processName": "Add artifact (dxn:org.dxos.function.agent.addArtifact)",
1015
+ "space": "BIRSBKL52RS4PRK3IU2GHWTRLO5T6VOLN",
1016
+ "runtimeName": "local"
1017
+ },
1018
+ "isEphemeral": false,
1019
+ "events": [
1020
+ {
1021
+ "timestamp": 1780800834365,
1022
+ "type": "operation.end",
1023
+ "data": {
1024
+ "key": "dxn:org.dxos.function.agent.addArtifact",
1025
+ "name": "Add artifact",
1026
+ "icon": "ph--plus--regular",
1027
+ "outcome": "failure",
1028
+ "error": "There should be exactly one agent in context. Got: 0"
1029
+ }
1030
+ }
1031
+ ]
1032
+ },
1033
+ {
1034
+ "meta": {
1035
+ "pid": "cf8f7243-5b1d-4902-b158-70d9107d5f43",
1036
+ "parentPid": "2433a0a1-7c09-46e6-bc6f-893f104d1691",
1037
+ "processName": "Run Routine (dxn:org.dxos.function.prompt)",
1038
+ "space": "BIRSBKL52RS4PRK3IU2GHWTRLO5T6VOLN",
1039
+ "runtimeName": "local"
1040
+ },
1041
+ "isEphemeral": false,
1042
+ "events": [
1043
+ {
1044
+ "timestamp": 1780800834370,
1045
+ "type": "assistant.completeBlock",
1046
+ "data": {
1047
+ "messageId": "01KTG00JT1JGBNR4C0TW653WVV",
1048
+ "role": "tool",
1049
+ "block": {
1050
+ "_tag": "toolResult",
1051
+ "toolCallId": "toolu_019cwi3tVMMseebHThRSJkRA",
1052
+ "name": "add-artifact",
1053
+ "error": "Error: There should be exactly one agent in context. Got: 0",
1054
+ "providerExecuted": false
1055
+ }
1056
+ }
1057
+ }
1058
+ ]
1059
+ },
1060
+ {
1061
+ "meta": {
1062
+ "pid": "901f7e36-b0be-4e9e-99df-389261ff3722",
1063
+ "parentPid": "cf8f7243-5b1d-4902-b158-70d9107d5f43",
1064
+ "processName": "Get Agent Context (dxn:org.dxos.operation.assistantToolkit.getContext)",
1065
+ "space": "BIRSBKL52RS4PRK3IU2GHWTRLO5T6VOLN",
1066
+ "runtimeName": "local"
1067
+ },
1068
+ "isEphemeral": false,
1069
+ "events": [
1070
+ {
1071
+ "timestamp": 1780800834486,
1072
+ "type": "operation.start",
1073
+ "data": {
1074
+ "key": "dxn:org.dxos.operation.assistantToolkit.getContext",
1075
+ "name": "Get Agent Context",
1076
+ "icon": "ph--info--regular"
1077
+ }
1078
+ }
1079
+ ]
1080
+ },
1081
+ {
1082
+ "meta": {
1083
+ "pid": "901f7e36-b0be-4e9e-99df-389261ff3722",
1084
+ "parentPid": "cf8f7243-5b1d-4902-b158-70d9107d5f43",
1085
+ "processName": "Get Agent Context (dxn:org.dxos.operation.assistantToolkit.getContext)",
1086
+ "space": "BIRSBKL52RS4PRK3IU2GHWTRLO5T6VOLN",
1087
+ "runtimeName": "local"
1088
+ },
1089
+ "isEphemeral": false,
1090
+ "events": [
1091
+ {
1092
+ "timestamp": 1780800834487,
1093
+ "type": "operation.end",
1094
+ "data": {
1095
+ "key": "dxn:org.dxos.operation.assistantToolkit.getContext",
1096
+ "name": "Get Agent Context",
1097
+ "icon": "ph--info--regular",
1098
+ "outcome": "success"
1099
+ }
1100
+ }
1101
+ ]
1102
+ },
1103
+ {
1104
+ "meta": {
1105
+ "pid": "cf8f7243-5b1d-4902-b158-70d9107d5f43",
1106
+ "parentPid": "2433a0a1-7c09-46e6-bc6f-893f104d1691",
1107
+ "processName": "Run Routine (dxn:org.dxos.function.prompt)",
1108
+ "space": "BIRSBKL52RS4PRK3IU2GHWTRLO5T6VOLN",
1109
+ "runtimeName": "local"
1110
+ },
1111
+ "isEphemeral": false,
1112
+ "events": [
1113
+ {
1114
+ "timestamp": 1780800837620,
1115
+ "type": "assistant.completeBlock",
1116
+ "data": {
1117
+ "messageId": "01KTG00MSMF112Q6HS7TM5YRWZ",
1118
+ "role": "assistant",
1119
+ "block": {
1120
+ "_tag": "toolCall",
1121
+ "toolCallId": "toolu_01C5PdSKAg51X4odG3F3Nzf6",
1122
+ "name": "completeJob",
1123
+ "input": "{\"success\": {\"summary\":\"Created a new document titled 'Haiku' containing an autumn-themed haiku: \\\"Autumn leaves descend, / Whispering through quiet woods— / Earth breathes in their fall.\\\"\",\"artifactIds\":[\"echo://BIRSBKL52RS4PRK3IU2GHWTRLO5T6VOLN/01KTG00GJWSZ4SQSXABYFWGDVV\"]}}",
1124
+ "providerExecuted": false
1125
+ }
1126
+ }
1127
+ }
1128
+ ]
1129
+ },
1130
+ {
1131
+ "meta": {
1132
+ "pid": "cf8f7243-5b1d-4902-b158-70d9107d5f43",
1133
+ "parentPid": "2433a0a1-7c09-46e6-bc6f-893f104d1691",
1134
+ "processName": "Run Routine (dxn:org.dxos.function.prompt)",
1135
+ "space": "BIRSBKL52RS4PRK3IU2GHWTRLO5T6VOLN",
1136
+ "runtimeName": "local"
1137
+ },
1138
+ "isEphemeral": false,
1139
+ "events": [
1140
+ {
1141
+ "timestamp": 1780800837627,
1142
+ "type": "assistant.completeBlock",
1143
+ "data": {
1144
+ "messageId": "01KTG00NZTEE9V745YZTH9RJVS",
1145
+ "role": "assistant",
1146
+ "block": {
1147
+ "_tag": "stats",
1148
+ "model": "claude-opus-4-6",
1149
+ "duration": 3095,
1150
+ "message": "OK",
1151
+ "toolCalls": 1,
1152
+ "usage": {
1153
+ "inputTokens": 1,
1154
+ "outputTokens": 158,
1155
+ "totalTokens": 159
1156
+ }
1157
+ }
1158
+ }
1159
+ }
1160
+ ]
1161
+ },
1162
+ {
1163
+ "meta": {
1164
+ "pid": "cf8f7243-5b1d-4902-b158-70d9107d5f43",
1165
+ "parentPid": "2433a0a1-7c09-46e6-bc6f-893f104d1691",
1166
+ "processName": "Run Routine (dxn:org.dxos.function.prompt)",
1167
+ "space": "BIRSBKL52RS4PRK3IU2GHWTRLO5T6VOLN",
1168
+ "runtimeName": "local"
1169
+ },
1170
+ "isEphemeral": false,
1171
+ "events": [
1172
+ {
1173
+ "timestamp": 1780800837636,
1174
+ "type": "assistant.completeBlock",
1175
+ "data": {
1176
+ "messageId": "01KTG00P04B6FP1T09Y1XN487Q",
1177
+ "role": "tool",
1178
+ "block": {
1179
+ "_tag": "toolResult",
1180
+ "toolCallId": "toolu_01C5PdSKAg51X4odG3F3Nzf6",
1181
+ "name": "completeJob",
1182
+ "providerExecuted": false
1183
+ }
1184
+ }
1185
+ }
1186
+ ]
1187
+ },
1188
+ {
1189
+ "meta": {
1190
+ "pid": "639e78ff-d0b1-4d00-8e52-7fc43d245c9f",
1191
+ "parentPid": "cf8f7243-5b1d-4902-b158-70d9107d5f43",
1192
+ "processName": "Get Agent Context (dxn:org.dxos.operation.assistantToolkit.getContext)",
1193
+ "space": "BIRSBKL52RS4PRK3IU2GHWTRLO5T6VOLN",
1194
+ "runtimeName": "local"
1195
+ },
1196
+ "isEphemeral": false,
1197
+ "events": [
1198
+ {
1199
+ "timestamp": 1780800837746,
1200
+ "type": "operation.start",
1201
+ "data": {
1202
+ "key": "dxn:org.dxos.operation.assistantToolkit.getContext",
1203
+ "name": "Get Agent Context",
1204
+ "icon": "ph--info--regular"
1205
+ }
1206
+ }
1207
+ ]
1208
+ },
1209
+ {
1210
+ "meta": {
1211
+ "pid": "639e78ff-d0b1-4d00-8e52-7fc43d245c9f",
1212
+ "parentPid": "cf8f7243-5b1d-4902-b158-70d9107d5f43",
1213
+ "processName": "Get Agent Context (dxn:org.dxos.operation.assistantToolkit.getContext)",
1214
+ "space": "BIRSBKL52RS4PRK3IU2GHWTRLO5T6VOLN",
1215
+ "runtimeName": "local"
1216
+ },
1217
+ "isEphemeral": false,
1218
+ "events": [
1219
+ {
1220
+ "timestamp": 1780800837747,
1221
+ "type": "operation.end",
1222
+ "data": {
1223
+ "key": "dxn:org.dxos.operation.assistantToolkit.getContext",
1224
+ "name": "Get Agent Context",
1225
+ "icon": "ph--info--regular",
1226
+ "outcome": "success"
1227
+ }
1228
+ }
1229
+ ]
1230
+ },
1231
+ {
1232
+ "meta": {
1233
+ "pid": "cf8f7243-5b1d-4902-b158-70d9107d5f43",
1234
+ "parentPid": "2433a0a1-7c09-46e6-bc6f-893f104d1691",
1235
+ "processName": "Run Routine (dxn:org.dxos.function.prompt)",
1236
+ "space": "BIRSBKL52RS4PRK3IU2GHWTRLO5T6VOLN",
1237
+ "runtimeName": "local"
1238
+ },
1239
+ "isEphemeral": false,
1240
+ "events": [
1241
+ {
1242
+ "timestamp": 1780800838834,
1243
+ "type": "assistant.completeBlock",
1244
+ "data": {
1245
+ "messageId": "01KTG00Q5HN24VN54SRMH1GPT6",
1246
+ "role": "assistant",
1247
+ "block": {
1248
+ "_tag": "stats",
1249
+ "model": "claude-opus-4-6",
1250
+ "duration": 1052,
1251
+ "message": "OK",
1252
+ "toolCalls": 0,
1253
+ "usage": {
1254
+ "inputTokens": 1,
1255
+ "outputTokens": 2,
1256
+ "totalTokens": 3
1257
+ }
1258
+ }
1259
+ }
1260
+ }
1261
+ ]
1262
+ },
1263
+ {
1264
+ "meta": {
1265
+ "pid": "cf8f7243-5b1d-4902-b158-70d9107d5f43",
1266
+ "parentPid": "2433a0a1-7c09-46e6-bc6f-893f104d1691",
1267
+ "processName": "Run Routine (dxn:org.dxos.function.prompt)",
1268
+ "space": "BIRSBKL52RS4PRK3IU2GHWTRLO5T6VOLN",
1269
+ "runtimeName": "local"
1270
+ },
1271
+ "isEphemeral": false,
1272
+ "events": [
1273
+ {
1274
+ "timestamp": 1780800838870,
1275
+ "type": "operation.end",
1276
+ "data": {
1277
+ "key": "dxn:org.dxos.function.prompt",
1278
+ "name": "Run Routine",
1279
+ "icon": "ph--brain--regular",
1280
+ "outcome": "success"
1281
+ }
1282
+ }
1283
+ ]
1284
+ }
1285
+ ]