@irogane/kaji 0.2.0-beta.11 → 0.3.0

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 (137) hide show
  1. package/README.md +112 -551
  2. package/dist/index.d.mts +253 -0
  3. package/dist/index.mjs +440 -0
  4. package/package.json +28 -166
  5. package/contracts/README.md +0 -14
  6. package/contracts/beta-core-v1.json +0 -52
  7. package/contracts/cli/init-cases-v1.json +0 -27
  8. package/contracts/errors/error-codes.json +0 -48
  9. package/contracts/errors/integration-recovery-v1.json +0 -127
  10. package/contracts/errors/provider-normalization.json +0 -111
  11. package/contracts/events/conformance-invalid.json +0 -20
  12. package/contracts/events/conformance.json +0 -511
  13. package/contracts/events/new-kaji-event-v1.schema.json +0 -1021
  14. package/contracts/events/stored-kaji-event-v1.schema.json +0 -1025
  15. package/contracts/feature-tiers-v1.json +0 -488
  16. package/contracts/integrations/abi-index-v1.json +0 -8
  17. package/contracts/integrations/conformance-invalid.json +0 -443
  18. package/contracts/integrations/conformance-valid.json +0 -121
  19. package/contracts/integrations/copy-provenance-v1.schema.json +0 -61
  20. package/contracts/integrations/echo-tool-abi-v1.json +0 -37
  21. package/contracts/integrations/github-api-conformance-v1.json +0 -644
  22. package/contracts/integrations/github-tool-abi-typescript-v1.json +0 -369
  23. package/contracts/integrations/github-tool-abi-v1.json +0 -146
  24. package/contracts/integrations/gmail-api-conformance-v1.json +0 -750
  25. package/contracts/integrations/gmail-tool-abi-v1.json +0 -62
  26. package/contracts/integrations/index.schema.json +0 -37
  27. package/contracts/integrations/manifest.schema.json +0 -119
  28. package/contracts/parity/expected-normalized.json +0 -4906
  29. package/contracts/parity/scenarios.json +0 -100
  30. package/contracts/parity/scenarios.schema.json +0 -214
  31. package/contracts/providers/cost-conformance.json +0 -112
  32. package/contracts/release/github-proof-v1.schema.json +0 -138
  33. package/contracts/release/gmail-proof-v1.schema.json +0 -138
  34. package/contracts/release/kaji-ts-consumer-handoff-v1.schema.json +0 -1289
  35. package/contracts/release/publisher-identity-receipt-v1.schema.json +0 -319
  36. package/contracts/release/typescript-onboarding-evidence-v1.schema.json +0 -740
  37. package/contracts/tools/conformance-invalid.json +0 -271
  38. package/contracts/tools/conformance-valid.json +0 -78
  39. package/contracts/tools/tool-schema-v1.schema.json +0 -18
  40. package/dist/anthropic.cjs +0 -1231
  41. package/dist/anthropic.cjs.map +0 -1
  42. package/dist/anthropic.d.cts +0 -26
  43. package/dist/anthropic.d.ts +0 -26
  44. package/dist/anthropic.js +0 -270
  45. package/dist/anthropic.js.map +0 -1
  46. package/dist/auth.cjs +0 -1507
  47. package/dist/auth.cjs.map +0 -1
  48. package/dist/auth.d.cts +0 -129
  49. package/dist/auth.d.ts +0 -129
  50. package/dist/auth.js +0 -1039
  51. package/dist/auth.js.map +0 -1
  52. package/dist/base-B9FRMcP8.d.cts +0 -140
  53. package/dist/base-nHQd1VtS.d.ts +0 -140
  54. package/dist/chunk-AAM33KAO.js +0 -4367
  55. package/dist/chunk-AAM33KAO.js.map +0 -1
  56. package/dist/chunk-KAJ6BM64.js +0 -153
  57. package/dist/chunk-KAJ6BM64.js.map +0 -1
  58. package/dist/chunk-KCAXIOZS.js +0 -308
  59. package/dist/chunk-KCAXIOZS.js.map +0 -1
  60. package/dist/chunk-LSJ4AVO2.js +0 -243
  61. package/dist/chunk-LSJ4AVO2.js.map +0 -1
  62. package/dist/chunk-TM7ZGOJX.js +0 -716
  63. package/dist/chunk-TM7ZGOJX.js.map +0 -1
  64. package/dist/cli/bin.d.ts +0 -2
  65. package/dist/cli/bin.js +0 -13
  66. package/dist/cli/bin.js.map +0 -1
  67. package/dist/cli/chunk-2RCWPRVY.js +0 -6277
  68. package/dist/cli/chunk-2RCWPRVY.js.map +0 -1
  69. package/dist/cli/chunk-SEBX54TR.js +0 -681
  70. package/dist/cli/chunk-SEBX54TR.js.map +0 -1
  71. package/dist/cli/index.d.ts +0 -232
  72. package/dist/cli/index.js +0 -11
  73. package/dist/cli/index.js.map +0 -1
  74. package/dist/cli/init-worker.d.ts +0 -2
  75. package/dist/cli/init-worker.js +0 -18
  76. package/dist/cli/init-worker.js.map +0 -1
  77. package/dist/cli/integration-copy-worker.js +0 -48
  78. package/dist/cli/integration-copy-worker.js.map +0 -1
  79. package/dist/cli/package-entry-cjs.cjs +0 -21
  80. package/dist/cli/package-entry-cjs.cjs.map +0 -1
  81. package/dist/cli/package-entry-cjs.d.cts +0 -2
  82. package/dist/cli/package-entry.d.ts +0 -2
  83. package/dist/cli/package-entry.js +0 -13
  84. package/dist/cli/package-entry.js.map +0 -1
  85. package/dist/context-BaFHrQHv.d.cts +0 -21
  86. package/dist/context-BaFHrQHv.d.ts +0 -21
  87. package/dist/context-C-YPY-GS.d.cts +0 -1538
  88. package/dist/context-C-YPY-GS.d.ts +0 -1538
  89. package/dist/index.cjs +0 -12346
  90. package/dist/index.cjs.map +0 -1
  91. package/dist/index.d.cts +0 -1560
  92. package/dist/index.d.ts +0 -1560
  93. package/dist/index.js +0 -7852
  94. package/dist/index.js.map +0 -1
  95. package/dist/integrations/github.cjs +0 -2092
  96. package/dist/integrations/github.cjs.map +0 -1
  97. package/dist/integrations/github.d.cts +0 -21
  98. package/dist/integrations/github.d.ts +0 -21
  99. package/dist/integrations/github.js +0 -2088
  100. package/dist/integrations/github.js.map +0 -1
  101. package/dist/integrations.cjs +0 -3370
  102. package/dist/integrations.cjs.map +0 -1
  103. package/dist/integrations.d.cts +0 -202
  104. package/dist/integrations.d.ts +0 -202
  105. package/dist/integrations.js +0 -2650
  106. package/dist/integrations.js.map +0 -1
  107. package/dist/observability-Cj--OkME.d.cts +0 -96
  108. package/dist/observability-Cj--OkME.d.ts +0 -96
  109. package/dist/openai.cjs +0 -1235
  110. package/dist/openai.cjs.map +0 -1
  111. package/dist/openai.d.cts +0 -32
  112. package/dist/openai.d.ts +0 -32
  113. package/dist/openai.js +0 -272
  114. package/dist/openai.js.map +0 -1
  115. package/dist/testing.cjs +0 -554
  116. package/dist/testing.cjs.map +0 -1
  117. package/dist/testing.d.cts +0 -43
  118. package/dist/testing.d.ts +0 -43
  119. package/dist/testing.js +0 -118
  120. package/dist/testing.js.map +0 -1
  121. package/registry/echo/index.ts +0 -53
  122. package/registry/echo/manifest.json +0 -53
  123. package/registry/github/LICENSE +0 -105
  124. package/registry/github/client.ts +0 -1727
  125. package/registry/github/index.ts +0 -263
  126. package/registry/github/manifest.json +0 -227
  127. package/registry/github/owner-fixtures.json +0 -10
  128. package/registry/github/tests/github.test.ts +0 -32
  129. package/registry/gmail/LICENSE +0 -105
  130. package/registry/gmail/client.ts +0 -548
  131. package/registry/gmail/index.ts +0 -165
  132. package/registry/gmail/manifest.json +0 -102
  133. package/registry/gmail/owner-fixtures.json +0 -10
  134. package/registry/gmail/tests/gmail.test.ts +0 -32
  135. package/registry/index.json +0 -21
  136. package/registry/index.schema.json +0 -37
  137. package/registry/schema.json +0 -119
@@ -1,511 +0,0 @@
1
- {
2
- "$schema": "https://json-schema.org/draft/2020-12/schema",
3
- "events": [
4
- {
5
- "id": "00000000-0000-4000-8000-000000000001",
6
- "type": "session.created",
7
- "version": "1.0",
8
- "timestamp": 1767225600.0,
9
- "session_id": "session-1",
10
- "sequence": 1,
11
- "metadata": {}
12
- },
13
- {
14
- "id": "00000000-0000-4000-8000-000000000002",
15
- "type": "tool.call.failed",
16
- "version": "1.0",
17
- "timestamp": 1767225601.0,
18
- "session_id": "session-1",
19
- "turn_id": "turn-1",
20
- "sequence": 2,
21
- "tool_call_id": "call-1",
22
- "tool_name": "lookup",
23
- "error": "Tool execution failed",
24
- "error_code": "INTEGRATION_POLICY_REJECTED",
25
- "retryable": false,
26
- "outcome": "failed",
27
- "reason_code": "policy_rejected",
28
- "recovery_code": "REVIEW_INTEGRATION_POLICY",
29
- "doc_url": "https://kaji.dev/docs/integrations/recovery-v1#policy-rejected",
30
- "metadata": {}
31
- },
32
- {
33
- "id": "00000000-0000-4000-8000-000000000003",
34
- "type": "agent.turn.failed",
35
- "version": "1.0",
36
- "timestamp": 1767225602.0,
37
- "session_id": "session-1",
38
- "turn_id": "turn-1",
39
- "sequence": 3,
40
- "error": "Agent turn failed",
41
- "error_code": "TURN_TIMEOUT",
42
- "phase": "provider_stream",
43
- "retryable": true,
44
- "outcome": "unknown",
45
- "metadata": {}
46
- },
47
- {
48
- "id": "00000000-0000-4000-8000-000000000004",
49
- "type": "tool.call.requested",
50
- "version": "1.0",
51
- "timestamp": 1767225603.0,
52
- "session_id": "session-1",
53
- "turn_id": "turn-approved",
54
- "sequence": 4,
55
- "tool_call_id": "call-approved",
56
- "tool_name": "lookup",
57
- "tool_args": { "query": "approved" },
58
- "metadata": {}
59
- },
60
- {
61
- "id": "00000000-0000-4000-8000-000000000005",
62
- "type": "tool.approval.requested",
63
- "version": "1.0",
64
- "timestamp": 1767225604.0,
65
- "session_id": "session-1",
66
- "turn_id": "turn-approved",
67
- "sequence": 5,
68
- "tool_call_id": "call-approved",
69
- "tool_name": "lookup",
70
- "tool_args": { "query": "approved" },
71
- "risk": "read",
72
- "metadata": {}
73
- },
74
- {
75
- "id": "00000000-0000-4000-8000-000000000006",
76
- "type": "tool.approval.approved",
77
- "version": "1.0",
78
- "timestamp": 1767225605.0,
79
- "session_id": "session-1",
80
- "turn_id": "turn-approved",
81
- "sequence": 6,
82
- "tool_call_id": "call-approved",
83
- "tool_name": "lookup",
84
- "metadata": {}
85
- },
86
- {
87
- "id": "00000000-0000-4000-8000-000000000007",
88
- "type": "tool.call.completed",
89
- "version": "1.0",
90
- "timestamp": 1767225606.0,
91
- "session_id": "session-1",
92
- "turn_id": "turn-approved",
93
- "sequence": 7,
94
- "tool_call_id": "call-approved",
95
- "tool_name": "lookup",
96
- "result": { "ok": true },
97
- "metadata": {}
98
- },
99
- {
100
- "id": "00000000-0000-4000-8000-000000000008",
101
- "type": "tool.call.requested",
102
- "version": "1.0",
103
- "timestamp": 1767225607.0,
104
- "session_id": "session-1",
105
- "turn_id": "turn-rejected",
106
- "sequence": 8,
107
- "tool_call_id": "call-rejected",
108
- "tool_name": "delete_record",
109
- "tool_args": { "id": "record-1" },
110
- "metadata": {}
111
- },
112
- {
113
- "id": "00000000-0000-4000-8000-000000000009",
114
- "type": "tool.approval.requested",
115
- "version": "1.0",
116
- "timestamp": 1767225608.0,
117
- "session_id": "session-1",
118
- "turn_id": "turn-rejected",
119
- "sequence": 9,
120
- "tool_call_id": "call-rejected",
121
- "tool_name": "delete_record",
122
- "tool_args": { "id": "record-1" },
123
- "risk": "destructive",
124
- "metadata": {}
125
- },
126
- {
127
- "id": "00000000-0000-4000-8000-000000000010",
128
- "type": "tool.approval.rejected",
129
- "version": "1.0",
130
- "timestamp": 1767225609.0,
131
- "session_id": "session-1",
132
- "turn_id": "turn-rejected",
133
- "sequence": 10,
134
- "tool_call_id": "call-rejected",
135
- "tool_name": "delete_record",
136
- "error_code": "APPROVAL_REJECTED",
137
- "reason": "Approval was rejected",
138
- "metadata": {}
139
- },
140
- {
141
- "id": "00000000-0000-4000-8000-000000000011",
142
- "type": "tool.call.failed",
143
- "version": "1.0",
144
- "timestamp": 1767225610.0,
145
- "session_id": "session-1",
146
- "turn_id": "turn-rejected",
147
- "sequence": 11,
148
- "tool_call_id": "call-rejected",
149
- "tool_name": "delete_record",
150
- "error": "Approval was rejected",
151
- "error_code": "APPROVAL_REJECTED",
152
- "retryable": false,
153
- "outcome": "not_started",
154
- "metadata": {}
155
- },
156
- {
157
- "id": "00000000-0000-4000-8000-000000000012",
158
- "type": "tool.call.requested",
159
- "version": "1.0",
160
- "timestamp": 1767225611.0,
161
- "session_id": "session-1",
162
- "turn_id": "turn-timeout",
163
- "sequence": 12,
164
- "tool_call_id": "call-timeout",
165
- "tool_name": "send_payment",
166
- "tool_args": { "amount": 10 },
167
- "metadata": {}
168
- },
169
- {
170
- "id": "00000000-0000-4000-8000-000000000013",
171
- "type": "tool.approval.requested",
172
- "version": "1.0",
173
- "timestamp": 1767225612.0,
174
- "session_id": "session-1",
175
- "turn_id": "turn-timeout",
176
- "sequence": 13,
177
- "tool_call_id": "call-timeout",
178
- "tool_name": "send_payment",
179
- "tool_args": { "amount": 10 },
180
- "risk": "destructive",
181
- "metadata": {}
182
- },
183
- {
184
- "id": "00000000-0000-4000-8000-000000000014",
185
- "type": "tool.approval.rejected",
186
- "version": "1.0",
187
- "timestamp": 1767225613.0,
188
- "session_id": "session-1",
189
- "turn_id": "turn-timeout",
190
- "sequence": 14,
191
- "tool_call_id": "call-timeout",
192
- "tool_name": "send_payment",
193
- "error_code": "APPROVAL_TIMEOUT",
194
- "reason": "Approval timed out",
195
- "metadata": {}
196
- },
197
- {
198
- "id": "00000000-0000-4000-8000-000000000015",
199
- "type": "tool.call.failed",
200
- "version": "1.0",
201
- "timestamp": 1767225614.0,
202
- "session_id": "session-1",
203
- "turn_id": "turn-timeout",
204
- "sequence": 15,
205
- "tool_call_id": "call-timeout",
206
- "tool_name": "send_payment",
207
- "error": "Approval timed out",
208
- "error_code": "APPROVAL_TIMEOUT",
209
- "retryable": true,
210
- "outcome": "not_started",
211
- "metadata": {}
212
- },
213
- {
214
- "id": "00000000-0000-4000-8000-000000000016",
215
- "type": "tool.call.requested",
216
- "version": "1.0",
217
- "timestamp": 1767225615.0,
218
- "session_id": "session-1",
219
- "turn_id": "turn-cancelled",
220
- "sequence": 16,
221
- "tool_call_id": "call-cancelled",
222
- "tool_name": "send_email",
223
- "tool_args": { "recipient": "user@example.com" },
224
- "metadata": {}
225
- },
226
- {
227
- "id": "00000000-0000-4000-8000-000000000017",
228
- "type": "tool.approval.requested",
229
- "version": "1.0",
230
- "timestamp": 1767225616.0,
231
- "session_id": "session-1",
232
- "turn_id": "turn-cancelled",
233
- "sequence": 17,
234
- "tool_call_id": "call-cancelled",
235
- "tool_name": "send_email",
236
- "tool_args": { "recipient": "user@example.com" },
237
- "risk": "external_effect",
238
- "metadata": {}
239
- },
240
- {
241
- "id": "00000000-0000-4000-8000-000000000018",
242
- "type": "tool.approval.rejected",
243
- "version": "1.0",
244
- "timestamp": 1767225617.0,
245
- "session_id": "session-1",
246
- "turn_id": "turn-cancelled",
247
- "sequence": 18,
248
- "tool_call_id": "call-cancelled",
249
- "tool_name": "send_email",
250
- "error_code": "TOOL_CANCELLED",
251
- "reason": "Approval was cancelled",
252
- "metadata": {}
253
- },
254
- {
255
- "id": "00000000-0000-4000-8000-000000000019",
256
- "type": "tool.call.failed",
257
- "version": "1.0",
258
- "timestamp": 1767225618.0,
259
- "session_id": "session-1",
260
- "turn_id": "turn-cancelled",
261
- "sequence": 19,
262
- "tool_call_id": "call-cancelled",
263
- "tool_name": "send_email",
264
- "error": "Approval was cancelled",
265
- "error_code": "TOOL_CANCELLED",
266
- "retryable": true,
267
- "outcome": "not_started",
268
- "metadata": {}
269
- },
270
- {
271
- "id": "00000000-0000-4000-8000-000000000020",
272
- "type": "tool.call.requested",
273
- "version": "1.0",
274
- "timestamp": 1767225619.0,
275
- "session_id": "session-1",
276
- "turn_id": "turn-unavailable",
277
- "sequence": 20,
278
- "tool_call_id": "call-unavailable",
279
- "tool_name": "change_settings",
280
- "tool_args": { "setting": "mode" },
281
- "metadata": {}
282
- },
283
- {
284
- "id": "00000000-0000-4000-8000-000000000021",
285
- "type": "tool.approval.requested",
286
- "version": "1.0",
287
- "timestamp": 1767225620.0,
288
- "session_id": "session-1",
289
- "turn_id": "turn-unavailable",
290
- "sequence": 21,
291
- "tool_call_id": "call-unavailable",
292
- "tool_name": "change_settings",
293
- "tool_args": { "setting": "mode" },
294
- "risk": "admin",
295
- "metadata": {}
296
- },
297
- {
298
- "id": "00000000-0000-4000-8000-000000000022",
299
- "type": "tool.approval.rejected",
300
- "version": "1.0",
301
- "timestamp": 1767225621.0,
302
- "session_id": "session-1",
303
- "turn_id": "turn-unavailable",
304
- "sequence": 22,
305
- "tool_call_id": "call-unavailable",
306
- "tool_name": "change_settings",
307
- "error_code": "APPROVAL_UNAVAILABLE",
308
- "reason": "Approval is unavailable",
309
- "metadata": {}
310
- },
311
- {
312
- "id": "00000000-0000-4000-8000-000000000023",
313
- "type": "tool.call.failed",
314
- "version": "1.0",
315
- "timestamp": 1767225622.0,
316
- "session_id": "session-1",
317
- "turn_id": "turn-unavailable",
318
- "sequence": 23,
319
- "tool_call_id": "call-unavailable",
320
- "tool_name": "change_settings",
321
- "error": "Approval is unavailable",
322
- "error_code": "APPROVAL_UNAVAILABLE",
323
- "retryable": false,
324
- "outcome": "not_started",
325
- "metadata": {}
326
- },
327
- {
328
- "id": "event-24",
329
- "type": "user.message",
330
- "version": "1.0",
331
- "timestamp": 1767225623.0,
332
- "session_id": "session-1",
333
- "sequence": 24,
334
- "content": "Hello",
335
- "metadata": {}
336
- },
337
- {
338
- "id": "event-25",
339
- "type": "user.audio.chunk",
340
- "version": "1.0",
341
- "timestamp": 1767225624.0,
342
- "session_id": "session-1",
343
- "sequence": 25,
344
- "chunk_size_bytes": 4,
345
- "metadata": {}
346
- },
347
- {
348
- "id": "event-26",
349
- "type": "transcript.partial",
350
- "version": "1.0",
351
- "timestamp": 1767225625.0,
352
- "session_id": "session-1",
353
- "sequence": 26,
354
- "text": "Hel",
355
- "metadata": {}
356
- },
357
- {
358
- "id": "event-27",
359
- "type": "transcript.final",
360
- "version": "1.0",
361
- "timestamp": 1767225626.0,
362
- "session_id": "session-1",
363
- "sequence": 27,
364
- "text": "Hello",
365
- "metadata": {}
366
- },
367
- {
368
- "id": "event-28",
369
- "type": "memory.retrieval.started",
370
- "version": "1.0",
371
- "timestamp": 1767225627.0,
372
- "session_id": "session-1",
373
- "sequence": 28,
374
- "query": "contract",
375
- "metadata": {}
376
- },
377
- {
378
- "id": "event-29",
379
- "type": "memory.retrieval.completed",
380
- "version": "1.0",
381
- "timestamp": 1767225628.0,
382
- "session_id": "session-1",
383
- "sequence": 29,
384
- "query": "contract",
385
- "documents": [{ "id": "doc-1", "score": 0.5 }],
386
- "metadata": {}
387
- },
388
- {
389
- "id": "event-30",
390
- "type": "agent.reasoning.started",
391
- "version": "1.0",
392
- "timestamp": 1767225629.0,
393
- "session_id": "session-1",
394
- "turn_id": "turn-2",
395
- "sequence": 30,
396
- "metadata": {}
397
- },
398
- {
399
- "id": "event-31",
400
- "type": "agent.message.delta",
401
- "version": "1.0",
402
- "timestamp": 1767225630.0,
403
- "session_id": "session-1",
404
- "turn_id": "turn-2",
405
- "sequence": 31,
406
- "delta": "Hi",
407
- "metadata": {}
408
- },
409
- {
410
- "id": "event-32",
411
- "type": "agent.message.completed",
412
- "version": "1.0",
413
- "timestamp": 1767225631.0,
414
- "session_id": "session-1",
415
- "turn_id": "turn-2",
416
- "sequence": 32,
417
- "content": "Hi",
418
- "tokens": null,
419
- "cost_usd": null,
420
- "metadata": {}
421
- },
422
- {
423
- "id": "event-33",
424
- "type": "agent.turn.exhausted",
425
- "version": "1.0",
426
- "timestamp": 1767225632.0,
427
- "session_id": "session-1",
428
- "turn_id": "turn-2",
429
- "sequence": 33,
430
- "max_iterations": 5,
431
- "pending_tool_calls": [{ "id": "call-pending" }],
432
- "reason": null,
433
- "metadata": {}
434
- },
435
- {
436
- "id": "event-34",
437
- "type": "tool.call.started",
438
- "version": "1.0",
439
- "timestamp": 1767225633.0,
440
- "session_id": "session-1",
441
- "turn_id": "turn-started",
442
- "sequence": 34,
443
- "tool_call_id": "call-started",
444
- "tool_name": "lookup",
445
- "metadata": {}
446
- },
447
- {
448
- "id": "event-35",
449
- "type": "workflow.started",
450
- "version": "1.0",
451
- "timestamp": 1767225634.0,
452
- "session_id": "session-1",
453
- "sequence": 35,
454
- "workflow_name": "fixture",
455
- "metadata": {}
456
- },
457
- {
458
- "id": "event-36",
459
- "type": "workflow.completed",
460
- "version": "1.0",
461
- "timestamp": 1767225635.0,
462
- "session_id": "session-1",
463
- "sequence": 36,
464
- "workflow_name": "fixture",
465
- "result": { "ok": true },
466
- "metadata": {}
467
- },
468
- {
469
- "id": "event-37",
470
- "type": "workflow.failed",
471
- "version": "1.0",
472
- "timestamp": 1767225636.0,
473
- "session_id": "session-1",
474
- "sequence": 37,
475
- "workflow_name": "fixture",
476
- "error": "fixture failed",
477
- "metadata": {}
478
- },
479
- {
480
- "id": "event-38",
481
- "type": "cancellation.requested",
482
- "version": "1.0",
483
- "timestamp": 1767225637.0,
484
- "session_id": "session-1",
485
- "turn_id": "turn-2",
486
- "sequence": 38,
487
- "reason": "operator requested cancellation",
488
- "metadata": {}
489
- },
490
- {
491
- "id": "event-39",
492
- "type": "cancellation.completed",
493
- "version": "1.0",
494
- "timestamp": 1767225638.0,
495
- "session_id": "session-1",
496
- "turn_id": "turn-2",
497
- "sequence": 39,
498
- "metadata": {}
499
- },
500
- {
501
- "id": "event-40",
502
- "type": "session.closed",
503
- "version": "1.0",
504
- "timestamp": 1767225639.0,
505
- "session_id": "session-1",
506
- "sequence": 40,
507
- "reason": "fixture complete",
508
- "metadata": {}
509
- }
510
- ]
511
- }