@pi-in-go/pigpen-ahp 0.1.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 (304) hide show
  1. package/CREDITS.md +27 -0
  2. package/LICENSE +23 -0
  3. package/README.md +148 -0
  4. package/extensions/ahp/access_options_test.go +116 -0
  5. package/extensions/ahp/extension.go +54 -0
  6. package/extensions/ahp/go.mod +12 -0
  7. package/extensions/ahp/go.sum +2 -0
  8. package/extensions/ahp/go.work +8 -0
  9. package/extensions/ahp/internal/channels/chat.go +110 -0
  10. package/extensions/ahp/internal/channels/root.go +32 -0
  11. package/extensions/ahp/internal/channels/session.go +128 -0
  12. package/extensions/ahp/internal/channels/session_test.go +108 -0
  13. package/extensions/ahp/internal/compose/compose.go +153 -0
  14. package/extensions/ahp/internal/compose/compose_test.go +120 -0
  15. package/extensions/ahp/internal/gaps/gaps_test.go +88 -0
  16. package/extensions/ahp/internal/host/handshake_test.go +206 -0
  17. package/extensions/ahp/internal/host/host.go +1305 -0
  18. package/extensions/ahp/internal/host/reconnect_test.go +197 -0
  19. package/extensions/ahp/internal/host/replaywindow_test.go +31 -0
  20. package/extensions/ahp/internal/host/schema_test.go +79 -0
  21. package/extensions/ahp/internal/host/store.go +291 -0
  22. package/extensions/ahp/internal/host/store_update_test.go +85 -0
  23. package/extensions/ahp/internal/host/subscriptions_test.go +160 -0
  24. package/extensions/ahp/internal/host/surface_test.go +95 -0
  25. package/extensions/ahp/internal/host/workarounds.go +458 -0
  26. package/extensions/ahp/internal/host/workarounds_test.go +96 -0
  27. package/extensions/ahp/internal/live/live.go +328 -0
  28. package/extensions/ahp/internal/live/live_test.go +91 -0
  29. package/extensions/ahp/internal/live/store.go +113 -0
  30. package/extensions/ahp/internal/mapper/activity.go +199 -0
  31. package/extensions/ahp/internal/mapper/activity_test.go +188 -0
  32. package/extensions/ahp/internal/mapper/bench_test.go +38 -0
  33. package/extensions/ahp/internal/mapper/event_mapper_test.go +380 -0
  34. package/extensions/ahp/internal/mapper/fixtures_test.go +387 -0
  35. package/extensions/ahp/internal/mapper/helpers_test.go +251 -0
  36. package/extensions/ahp/internal/mapper/js.go +131 -0
  37. package/extensions/ahp/internal/mapper/mapper.go +600 -0
  38. package/extensions/ahp/internal/mapper/message_input_test.go +196 -0
  39. package/extensions/ahp/internal/mapper/messageinput.go +272 -0
  40. package/extensions/ahp/internal/mapper/schema_helpers_test.go +5 -0
  41. package/extensions/ahp/internal/mapper/testdata/LICENSE-pi-ahp +21 -0
  42. package/extensions/ahp/internal/mapper/testdata/fixtures/abort.json +711 -0
  43. package/extensions/ahp/internal/mapper/testdata/fixtures/bash-long-output.json +1312 -0
  44. package/extensions/ahp/internal/mapper/testdata/fixtures/compaction.json +6285 -0
  45. package/extensions/ahp/internal/mapper/testdata/fixtures/parallel-tools.json +2622 -0
  46. package/extensions/ahp/internal/mapper/testdata/fixtures/plain-text.json +1856 -0
  47. package/extensions/ahp/internal/mapper/testdata/fixtures/single-tool.json +1128 -0
  48. package/extensions/ahp/internal/mapper/testdata/fixtures/steering.json +3926 -0
  49. package/extensions/ahp/internal/mapper/testdata/fixtures/tool-bash.json +2372 -0
  50. package/extensions/ahp/internal/mapper/testdata/fixtures/tool-edit.json +3983 -0
  51. package/extensions/ahp/internal/mapper/testdata/fixtures/tool-error.json +2850 -0
  52. package/extensions/ahp/internal/mapper/testdata/fixtures/tool-find.json +1162 -0
  53. package/extensions/ahp/internal/mapper/testdata/fixtures/tool-grep.json +2783 -0
  54. package/extensions/ahp/internal/mapper/testdata/fixtures/tool-loop.json +1693 -0
  55. package/extensions/ahp/internal/mapper/testdata/fixtures/tool-ls.json +2427 -0
  56. package/extensions/ahp/internal/mapper/testdata/fixtures/tool-write.json +1271 -0
  57. package/extensions/ahp/internal/mapper/title.go +34 -0
  58. package/extensions/ahp/internal/mapper/usermsg.go +87 -0
  59. package/extensions/ahp/internal/pi/activeturn_test.go +296 -0
  60. package/extensions/ahp/internal/pi/backend.go +64 -0
  61. package/extensions/ahp/internal/pi/catalogue.go +370 -0
  62. package/extensions/ahp/internal/pi/catalogue_test.go +271 -0
  63. package/extensions/ahp/internal/pi/chatdriver.go +533 -0
  64. package/extensions/ahp/internal/pi/chatdriver_test.go +416 -0
  65. package/extensions/ahp/internal/pi/clientactions.go +212 -0
  66. package/extensions/ahp/internal/pi/clientactions_test.go +273 -0
  67. package/extensions/ahp/internal/pi/completions.go +230 -0
  68. package/extensions/ahp/internal/pi/completions_test.go +272 -0
  69. package/extensions/ahp/internal/pi/config_test.go +269 -0
  70. package/extensions/ahp/internal/pi/deletesession.go +69 -0
  71. package/extensions/ahp/internal/pi/deletesession_test.go +153 -0
  72. package/extensions/ahp/internal/pi/disposal_test.go +362 -0
  73. package/extensions/ahp/internal/pi/fixture_test.go +308 -0
  74. package/extensions/ahp/internal/pi/foreign_test.go +122 -0
  75. package/extensions/ahp/internal/pi/harness_test.go +83 -0
  76. package/extensions/ahp/internal/pi/history.go +269 -0
  77. package/extensions/ahp/internal/pi/hydrated_test.go +171 -0
  78. package/extensions/ahp/internal/pi/hydratedlifecycle_test.go +196 -0
  79. package/extensions/ahp/internal/pi/hydration_test.go +209 -0
  80. package/extensions/ahp/internal/pi/hydrator.go +212 -0
  81. package/extensions/ahp/internal/pi/imageinput.go +224 -0
  82. package/extensions/ahp/internal/pi/imageinput_test.go +57 -0
  83. package/extensions/ahp/internal/pi/lifecycle_test.go +381 -0
  84. package/extensions/ahp/internal/pi/models.go +212 -0
  85. package/extensions/ahp/internal/pi/models_test.go +128 -0
  86. package/extensions/ahp/internal/pi/paging.go +95 -0
  87. package/extensions/ahp/internal/pi/pagingtruncate_test.go +323 -0
  88. package/extensions/ahp/internal/pi/projecttrust.go +222 -0
  89. package/extensions/ahp/internal/pi/registry.go +924 -0
  90. package/extensions/ahp/internal/pi/restart_test.go +185 -0
  91. package/extensions/ahp/internal/pi/services.go +70 -0
  92. package/extensions/ahp/internal/pi/sessionconfig.go +64 -0
  93. package/extensions/ahp/internal/pi/sessionfiles_test.go +74 -0
  94. package/extensions/ahp/internal/pi/sessionstore.go +83 -0
  95. package/extensions/ahp/internal/pi/summary_test.go +426 -0
  96. package/extensions/ahp/internal/pi/workarounds_wire_test.go +208 -0
  97. package/extensions/ahp/internal/pisession/fromentries_test.go +32 -0
  98. package/extensions/ahp/internal/pisession/json.go +31 -0
  99. package/extensions/ahp/internal/pisession/pisession.go +580 -0
  100. package/extensions/ahp/internal/settings/access.go +63 -0
  101. package/extensions/ahp/internal/settings/access_test.go +52 -0
  102. package/extensions/ahp/internal/settings/settings.go +117 -0
  103. package/extensions/ahp/internal/settings/settings_test.go +104 -0
  104. package/extensions/ahp/internal/svc/etag_other.go +15 -0
  105. package/extensions/ahp/internal/svc/etag_unix.go +34 -0
  106. package/extensions/ahp/internal/svc/glob.go +197 -0
  107. package/extensions/ahp/internal/svc/mime.go +37 -0
  108. package/extensions/ahp/internal/svc/paths.go +108 -0
  109. package/extensions/ahp/internal/svc/pty.go +64 -0
  110. package/extensions/ahp/internal/svc/pty_darwin.go +42 -0
  111. package/extensions/ahp/internal/svc/pty_linux.go +36 -0
  112. package/extensions/ahp/internal/svc/pty_other.go +9 -0
  113. package/extensions/ahp/internal/svc/pty_test.go +114 -0
  114. package/extensions/ahp/internal/svc/pty_unix.go +147 -0
  115. package/extensions/ahp/internal/svc/resource.go +495 -0
  116. package/extensions/ahp/internal/svc/resource_test.go +501 -0
  117. package/extensions/ahp/internal/svc/stat_bsd.go +9 -0
  118. package/extensions/ahp/internal/svc/stat_linux.go +9 -0
  119. package/extensions/ahp/internal/svc/terminal.go +454 -0
  120. package/extensions/ahp/internal/svc/terminal_test.go +512 -0
  121. package/extensions/ahp/internal/svc/watch.go +590 -0
  122. package/extensions/ahp/internal/svc/watch_test.go +627 -0
  123. package/extensions/ahp/internal/svc/watchevents_test.go +452 -0
  124. package/extensions/ahp/internal/svc/watchpolicy.go +81 -0
  125. package/extensions/ahp/internal/svc/watchpolicy_test.go +151 -0
  126. package/extensions/ahp/internal/svc/watchracy_test.go +61 -0
  127. package/extensions/ahp/internal/testkit/schema/LICENSE-agent-host-protocol +21 -0
  128. package/extensions/ahp/internal/testkit/schema/actions.schema.json +9208 -0
  129. package/extensions/ahp/internal/testkit/schema/commands.schema.json +10862 -0
  130. package/extensions/ahp/internal/testkit/schema/errors.schema.json +10928 -0
  131. package/extensions/ahp/internal/testkit/schema/notifications.schema.json +6667 -0
  132. package/extensions/ahp/internal/testkit/schema/state.schema.json +6392 -0
  133. package/extensions/ahp/internal/testkit/schema.go +360 -0
  134. package/extensions/ahp/internal/testkit/testkit.go +367 -0
  135. package/extensions/ahp/internal/twin/twin.go +27 -0
  136. package/extensions/ahp/internal/wire/dispatchable.go +106 -0
  137. package/extensions/ahp/internal/wire/dispatchable_list.go +15 -0
  138. package/extensions/ahp/internal/wire/helpers_test.go +5 -0
  139. package/extensions/ahp/internal/wire/wire.go +218 -0
  140. package/extensions/ahp/internal/wire/wire_test.go +123 -0
  141. package/extensions/ahp/internal/ws/helpers_test.go +7 -0
  142. package/extensions/ahp/internal/ws/vscode_test.go +198 -0
  143. package/extensions/ahp/internal/ws/ws.go +674 -0
  144. package/extensions/ahp/internal/ws/ws_test.go +324 -0
  145. package/extensions/ahp/realpig_test.go +589 -0
  146. package/extensions/ahp/runtime.go +311 -0
  147. package/extensions/ahp/runtime_test.go +110 -0
  148. package/extensions/ahp/testdata/upstream-tests.json +3833 -0
  149. package/extensions/ahp/third_party/agent-host-protocol-go/LICENSE +21 -0
  150. package/extensions/ahp/third_party/agent-host-protocol-go/NOTICE-PIGPEN.md +18 -0
  151. package/extensions/ahp/third_party/agent-host-protocol-go/ahp/client.go +1011 -0
  152. package/extensions/ahp/third_party/agent-host-protocol-go/ahp/error.go +111 -0
  153. package/extensions/ahp/third_party/agent-host-protocol-go/ahp/multi_host_state_mirror.go +239 -0
  154. package/extensions/ahp/third_party/agent-host-protocol-go/ahp/reducers.go +1939 -0
  155. package/extensions/ahp/third_party/agent-host-protocol-go/ahp/transport.go +176 -0
  156. package/extensions/ahp/third_party/agent-host-protocol-go/ahptypes/actions.generated.go +2447 -0
  157. package/extensions/ahp/third_party/agent-host-protocol-go/ahptypes/commands.generated.go +1546 -0
  158. package/extensions/ahp/third_party/agent-host-protocol-go/ahptypes/common.go +205 -0
  159. package/extensions/ahp/third_party/agent-host-protocol-go/ahptypes/errors.generated.go +65 -0
  160. package/extensions/ahp/third_party/agent-host-protocol-go/ahptypes/messages.generated.go +138 -0
  161. package/extensions/ahp/third_party/agent-host-protocol-go/ahptypes/notifications.generated.go +264 -0
  162. package/extensions/ahp/third_party/agent-host-protocol-go/ahptypes/state.generated.go +6171 -0
  163. package/extensions/ahp/third_party/agent-host-protocol-go/ahptypes/version.generated.go +31 -0
  164. package/extensions/ahp/third_party/agent-host-protocol-go/go.mod +3 -0
  165. package/extensions/ahp/twins_test.go +91 -0
  166. package/package.json +40 -0
  167. package/proof/PORT.md +121 -0
  168. package/proof/mutations.json +152 -0
  169. package/proof/oracle/LICENSE +21 -0
  170. package/proof/oracle/README.md +120 -0
  171. package/proof/oracle/UPSTREAM.md +7 -0
  172. package/proof/oracle/package.json +68 -0
  173. package/proof/oracle/src/bin/cli.ts +66 -0
  174. package/proof/oracle/src/bin/tunnel.ts +128 -0
  175. package/proof/oracle/src/channels/chat.ts +134 -0
  176. package/proof/oracle/src/channels/root.ts +39 -0
  177. package/proof/oracle/src/channels/session.ts +118 -0
  178. package/proof/oracle/src/channels/terminal.ts +11 -0
  179. package/proof/oracle/src/core/channels.ts +108 -0
  180. package/proof/oracle/src/core/client-workarounds.ts +358 -0
  181. package/proof/oracle/src/core/connection.ts +41 -0
  182. package/proof/oracle/src/core/host.ts +882 -0
  183. package/proof/oracle/src/core/sequencer.ts +75 -0
  184. package/proof/oracle/src/core/state-store.ts +162 -0
  185. package/proof/oracle/src/core/uri.ts +25 -0
  186. package/proof/oracle/src/host/direct-settings.ts +110 -0
  187. package/proof/oracle/src/host/pi-host.ts +220 -0
  188. package/proof/oracle/src/host/serve.ts +71 -0
  189. package/proof/oracle/src/host/terminal-service.ts +346 -0
  190. package/proof/oracle/src/pi/activity.ts +171 -0
  191. package/proof/oracle/src/pi/changeset-service.ts +646 -0
  192. package/proof/oracle/src/pi/changeset-uri.ts +64 -0
  193. package/proof/oracle/src/pi/chat-driver.ts +529 -0
  194. package/proof/oracle/src/pi/completions.ts +160 -0
  195. package/proof/oracle/src/pi/delete-session.ts +53 -0
  196. package/proof/oracle/src/pi/event-mapper.ts +648 -0
  197. package/proof/oracle/src/pi/git-changes.ts +605 -0
  198. package/proof/oracle/src/pi/history.ts +305 -0
  199. package/proof/oracle/src/pi/image-input.ts +56 -0
  200. package/proof/oracle/src/pi/image-mime.ts +8 -0
  201. package/proof/oracle/src/pi/in-process-backend.ts +155 -0
  202. package/proof/oracle/src/pi/message-input.ts +212 -0
  203. package/proof/oracle/src/pi/models.ts +124 -0
  204. package/proof/oracle/src/pi/project-trust.ts +66 -0
  205. package/proof/oracle/src/pi/provider.ts +2 -0
  206. package/proof/oracle/src/pi/resource-paths.ts +80 -0
  207. package/proof/oracle/src/pi/resource-service.ts +356 -0
  208. package/proof/oracle/src/pi/resource-watch-policy.ts +35 -0
  209. package/proof/oracle/src/pi/resource-watch.ts +357 -0
  210. package/proof/oracle/src/pi/session-catalogue.ts +318 -0
  211. package/proof/oracle/src/pi/session-config.ts +84 -0
  212. package/proof/oracle/src/pi/session-history.ts +75 -0
  213. package/proof/oracle/src/pi/session-hydrator.ts +219 -0
  214. package/proof/oracle/src/pi/session-registry.ts +815 -0
  215. package/proof/oracle/src/pi/session-storage.ts +29 -0
  216. package/proof/oracle/src/pi/session-title.ts +18 -0
  217. package/proof/oracle/src/pi/turn-paging.ts +94 -0
  218. package/proof/oracle/src/pi/user-message.ts +66 -0
  219. package/proof/oracle/src/protocol/errors.ts +44 -0
  220. package/proof/oracle/src/protocol/jsonrpc.ts +89 -0
  221. package/proof/oracle/src/protocol/version.ts +39 -0
  222. package/proof/oracle/src/transport/websocket.ts +136 -0
  223. package/proof/oracle/src/tunnel/devtunnel.ts +293 -0
  224. package/proof/oracle/src/tunnel/discovery.ts +37 -0
  225. package/proof/oracle/test/active-turn-reconnect.test.ts +274 -0
  226. package/proof/oracle/test/activity.test.ts +171 -0
  227. package/proof/oracle/test/changeset-lifecycle.test.serial.ts +303 -0
  228. package/proof/oracle/test/changeset-uri.test.ts +37 -0
  229. package/proof/oracle/test/changeset.test.serial.ts +487 -0
  230. package/proof/oracle/test/chat-driver.test.ts +691 -0
  231. package/proof/oracle/test/client-actions.test.ts +409 -0
  232. package/proof/oracle/test/client-workarounds.test.ts +320 -0
  233. package/proof/oracle/test/completions.test.ts +323 -0
  234. package/proof/oracle/test/delete-session.test.ts +142 -0
  235. package/proof/oracle/test/direct-settings.test.ts +81 -0
  236. package/proof/oracle/test/event-mapper.test.ts +619 -0
  237. package/proof/oracle/test/fetch-turns.test.ts +207 -0
  238. package/proof/oracle/test/fixtures/abort.json +711 -0
  239. package/proof/oracle/test/fixtures/bash-long-output.json +1312 -0
  240. package/proof/oracle/test/fixtures/compaction.json +6285 -0
  241. package/proof/oracle/test/fixtures/parallel-tools.json +2622 -0
  242. package/proof/oracle/test/fixtures/plain-text.json +1856 -0
  243. package/proof/oracle/test/fixtures/single-tool.json +1128 -0
  244. package/proof/oracle/test/fixtures/steering.json +3926 -0
  245. package/proof/oracle/test/fixtures/tool-bash.json +2372 -0
  246. package/proof/oracle/test/fixtures/tool-edit.json +3983 -0
  247. package/proof/oracle/test/fixtures/tool-error.json +2850 -0
  248. package/proof/oracle/test/fixtures/tool-find.json +1162 -0
  249. package/proof/oracle/test/fixtures/tool-grep.json +2783 -0
  250. package/proof/oracle/test/fixtures/tool-loop.json +1693 -0
  251. package/proof/oracle/test/fixtures/tool-ls.json +2427 -0
  252. package/proof/oracle/test/fixtures/tool-write.json +1271 -0
  253. package/proof/oracle/test/handshake.test.ts +275 -0
  254. package/proof/oracle/test/harness.ts +153 -0
  255. package/proof/oracle/test/hydrated-session-lifecycle.test.ts +211 -0
  256. package/proof/oracle/test/image-input.test.ts +28 -0
  257. package/proof/oracle/test/image-session.test.ts +69 -0
  258. package/proof/oracle/test/live-turn.test.ts +304 -0
  259. package/proof/oracle/test/mapper-fixtures.test.ts +293 -0
  260. package/proof/oracle/test/message-input.test.ts +181 -0
  261. package/proof/oracle/test/model-discovery.test.ts +170 -0
  262. package/proof/oracle/test/models.test.ts +109 -0
  263. package/proof/oracle/test/pi-host.test.ts +91 -0
  264. package/proof/oracle/test/pi-replay.test.ts +141 -0
  265. package/proof/oracle/test/project-trust.test.ts +125 -0
  266. package/proof/oracle/test/protocol-surface.test.ts +121 -0
  267. package/proof/oracle/test/pty.test.ts +100 -0
  268. package/proof/oracle/test/reconnect.test.ts +389 -0
  269. package/proof/oracle/test/resource-watch-policy.test.ts +78 -0
  270. package/proof/oracle/test/resource-watch.test.serial.ts +536 -0
  271. package/proof/oracle/test/resource.test.ts +499 -0
  272. package/proof/oracle/test/schema.test.ts +88 -0
  273. package/proof/oracle/test/session-catalogue.test.ts +314 -0
  274. package/proof/oracle/test/session-config.test.ts +224 -0
  275. package/proof/oracle/test/session-disposal.test.ts +364 -0
  276. package/proof/oracle/test/session-hydration.test.ts +194 -0
  277. package/proof/oracle/test/session-lifecycle.test.ts +416 -0
  278. package/proof/oracle/test/session-storage.test.serial.ts +32 -0
  279. package/proof/oracle/test/session-summary.test.ts +418 -0
  280. package/proof/oracle/test/subscriptions.test.ts +198 -0
  281. package/proof/oracle/test/support/assertions.ts +32 -0
  282. package/proof/oracle/test/support/async.ts +26 -0
  283. package/proof/oracle/test/support/hydrated-session.ts +205 -0
  284. package/proof/oracle/test/support/images.ts +8 -0
  285. package/proof/oracle/test/support/recorded-fixtures.ts +60 -0
  286. package/proof/oracle/test/support/recorded-scenarios.ts +145 -0
  287. package/proof/oracle/test/support/replay.ts +194 -0
  288. package/proof/oracle/test/support/schema.ts +221 -0
  289. package/proof/oracle/test/support/session-files.ts +12 -0
  290. package/proof/oracle/test/support/session-storage.ts +22 -0
  291. package/proof/oracle/test/support/upstream.ts +25 -0
  292. package/proof/oracle/test/support/watch-events.ts +108 -0
  293. package/proof/oracle/test/terminal-service.test.ts +495 -0
  294. package/proof/oracle/test/truncate.test.ts +230 -0
  295. package/proof/oracle/test/tunnel.test.ts +258 -0
  296. package/proof/oracle/test/upstream-workarounds.test.ts +37 -0
  297. package/proof/oracle/test/uri.test.ts +24 -0
  298. package/proof/oracle/test/watch-events.test.ts +118 -0
  299. package/proof/oracle/tsconfig.json +32 -0
  300. package/proof/proof-piglet/piglet.yaml +18 -0
  301. package/proof/tools/fakellm/go.mod +3 -0
  302. package/proof/tools/fakellm/main.go +109 -0
  303. package/proof/tools/gen-dispatchable.py +30 -0
  304. package/provenance.json +28 -0
@@ -0,0 +1,1128 @@
1
+ {
2
+ "name": "single-tool",
3
+ "description": "One tool call, then an answer derived from its result.",
4
+ "prompt": "Read note.txt and reply with its exact contents only.",
5
+ "partials": [
6
+ {
7
+ "role": "assistant",
8
+ "content": [
9
+ {
10
+ "type": "thinking",
11
+ "thinking": "",
12
+ "thinkingSignature": ""
13
+ },
14
+ {
15
+ "type": "toolCall",
16
+ "id": "toolcall_0",
17
+ "name": "read",
18
+ "arguments": {
19
+ "path": "note.txt",
20
+ "offset": 1,
21
+ "limit": 2000
22
+ }
23
+ }
24
+ ],
25
+ "api": "openai-responses",
26
+ "provider": "github-copilot",
27
+ "model": "gpt-5.4",
28
+ "usage": {
29
+ "input": 1559,
30
+ "output": 67,
31
+ "cacheRead": 0,
32
+ "cacheWrite": 0,
33
+ "reasoning": 38,
34
+ "totalTokens": 1626,
35
+ "cost": {
36
+ "input": 0.0038975000000000004,
37
+ "output": 0.001005,
38
+ "cacheRead": 0,
39
+ "cacheWrite": 0,
40
+ "total": 0.004902500000000001
41
+ }
42
+ },
43
+ "stopReason": "toolUse",
44
+ "timestamp": 0,
45
+ "responseId": ""
46
+ },
47
+ {
48
+ "role": "assistant",
49
+ "content": [
50
+ {
51
+ "type": "text",
52
+ "text": "ALPHA BETA GAMMA",
53
+ "textSignature": ""
54
+ }
55
+ ],
56
+ "api": "openai-responses",
57
+ "provider": "github-copilot",
58
+ "model": "gpt-5.4",
59
+ "usage": {
60
+ "input": 1643,
61
+ "output": 10,
62
+ "cacheRead": 0,
63
+ "cacheWrite": 0,
64
+ "reasoning": 0,
65
+ "totalTokens": 1653,
66
+ "cost": {
67
+ "input": 0.0041075,
68
+ "output": 0.00015000000000000001,
69
+ "cacheRead": 0,
70
+ "cacheWrite": 0,
71
+ "total": 0.0042575
72
+ }
73
+ },
74
+ "stopReason": "stop",
75
+ "timestamp": 0,
76
+ "responseId": ""
77
+ }
78
+ ],
79
+ "turns": [
80
+ [
81
+ {
82
+ "type": "start",
83
+ "partialRef": 0
84
+ },
85
+ {
86
+ "type": "thinking_start",
87
+ "contentIndex": 0,
88
+ "partialRef": 0
89
+ },
90
+ {
91
+ "type": "thinking_end",
92
+ "contentIndex": 0,
93
+ "content": "",
94
+ "partialRef": 0
95
+ },
96
+ {
97
+ "type": "toolcall_start",
98
+ "contentIndex": 1,
99
+ "partialRef": 0
100
+ },
101
+ {
102
+ "type": "toolcall_delta",
103
+ "contentIndex": 1,
104
+ "delta": "{\"",
105
+ "partialRef": 0
106
+ },
107
+ {
108
+ "type": "toolcall_delta",
109
+ "contentIndex": 1,
110
+ "delta": "path",
111
+ "partialRef": 0
112
+ },
113
+ {
114
+ "type": "toolcall_delta",
115
+ "contentIndex": 1,
116
+ "delta": "\":\"",
117
+ "partialRef": 0
118
+ },
119
+ {
120
+ "type": "toolcall_delta",
121
+ "contentIndex": 1,
122
+ "delta": "note",
123
+ "partialRef": 0
124
+ },
125
+ {
126
+ "type": "toolcall_delta",
127
+ "contentIndex": 1,
128
+ "delta": ".txt",
129
+ "partialRef": 0
130
+ },
131
+ {
132
+ "type": "toolcall_delta",
133
+ "contentIndex": 1,
134
+ "delta": "\",\"",
135
+ "partialRef": 0
136
+ },
137
+ {
138
+ "type": "toolcall_delta",
139
+ "contentIndex": 1,
140
+ "delta": "offset",
141
+ "partialRef": 0
142
+ },
143
+ {
144
+ "type": "toolcall_delta",
145
+ "contentIndex": 1,
146
+ "delta": "\":",
147
+ "partialRef": 0
148
+ },
149
+ {
150
+ "type": "toolcall_delta",
151
+ "contentIndex": 1,
152
+ "delta": "1",
153
+ "partialRef": 0
154
+ },
155
+ {
156
+ "type": "toolcall_delta",
157
+ "contentIndex": 1,
158
+ "delta": ",\"",
159
+ "partialRef": 0
160
+ },
161
+ {
162
+ "type": "toolcall_delta",
163
+ "contentIndex": 1,
164
+ "delta": "limit",
165
+ "partialRef": 0
166
+ },
167
+ {
168
+ "type": "toolcall_delta",
169
+ "contentIndex": 1,
170
+ "delta": "\":",
171
+ "partialRef": 0
172
+ },
173
+ {
174
+ "type": "toolcall_delta",
175
+ "contentIndex": 1,
176
+ "delta": "200",
177
+ "partialRef": 0
178
+ },
179
+ {
180
+ "type": "toolcall_delta",
181
+ "contentIndex": 1,
182
+ "delta": "0",
183
+ "partialRef": 0
184
+ },
185
+ {
186
+ "type": "toolcall_delta",
187
+ "contentIndex": 1,
188
+ "delta": "}",
189
+ "partialRef": 0
190
+ },
191
+ {
192
+ "type": "toolcall_end",
193
+ "contentIndex": 1,
194
+ "toolCall": {
195
+ "type": "toolCall",
196
+ "id": "toolcall_0",
197
+ "name": "read",
198
+ "arguments": {
199
+ "path": "note.txt",
200
+ "offset": 1,
201
+ "limit": 2000
202
+ }
203
+ },
204
+ "partialRef": 0
205
+ },
206
+ {
207
+ "type": "done",
208
+ "reason": "toolUse",
209
+ "message": {
210
+ "role": "assistant",
211
+ "content": [
212
+ {
213
+ "type": "thinking",
214
+ "thinking": "",
215
+ "thinkingSignature": ""
216
+ },
217
+ {
218
+ "type": "toolCall",
219
+ "id": "toolcall_0",
220
+ "name": "read",
221
+ "arguments": {
222
+ "path": "note.txt",
223
+ "offset": 1,
224
+ "limit": 2000
225
+ }
226
+ }
227
+ ],
228
+ "api": "openai-responses",
229
+ "provider": "github-copilot",
230
+ "model": "gpt-5.4",
231
+ "usage": {
232
+ "input": 1559,
233
+ "output": 67,
234
+ "cacheRead": 0,
235
+ "cacheWrite": 0,
236
+ "reasoning": 38,
237
+ "totalTokens": 1626,
238
+ "cost": {
239
+ "input": 0.0038975000000000004,
240
+ "output": 0.001005,
241
+ "cacheRead": 0,
242
+ "cacheWrite": 0,
243
+ "total": 0.004902500000000001
244
+ }
245
+ },
246
+ "stopReason": "toolUse",
247
+ "timestamp": 0,
248
+ "responseId": ""
249
+ }
250
+ }
251
+ ],
252
+ [
253
+ {
254
+ "type": "start",
255
+ "partialRef": 1
256
+ },
257
+ {
258
+ "type": "text_start",
259
+ "contentIndex": 0,
260
+ "partialRef": 1
261
+ },
262
+ {
263
+ "type": "text_delta",
264
+ "contentIndex": 0,
265
+ "delta": "AL",
266
+ "partialRef": 1
267
+ },
268
+ {
269
+ "type": "text_delta",
270
+ "contentIndex": 0,
271
+ "delta": "PHA",
272
+ "partialRef": 1
273
+ },
274
+ {
275
+ "type": "text_delta",
276
+ "contentIndex": 0,
277
+ "delta": " B",
278
+ "partialRef": 1
279
+ },
280
+ {
281
+ "type": "text_delta",
282
+ "contentIndex": 0,
283
+ "delta": "ETA",
284
+ "partialRef": 1
285
+ },
286
+ {
287
+ "type": "text_delta",
288
+ "contentIndex": 0,
289
+ "delta": " GAM",
290
+ "partialRef": 1
291
+ },
292
+ {
293
+ "type": "text_delta",
294
+ "contentIndex": 0,
295
+ "delta": "MA",
296
+ "partialRef": 1
297
+ },
298
+ {
299
+ "type": "text_end",
300
+ "contentIndex": 0,
301
+ "content": "ALPHA BETA GAMMA",
302
+ "partialRef": 1
303
+ },
304
+ {
305
+ "type": "done",
306
+ "reason": "stop",
307
+ "message": {
308
+ "role": "assistant",
309
+ "content": [
310
+ {
311
+ "type": "text",
312
+ "text": "ALPHA BETA GAMMA",
313
+ "textSignature": ""
314
+ }
315
+ ],
316
+ "api": "openai-responses",
317
+ "provider": "github-copilot",
318
+ "model": "gpt-5.4",
319
+ "usage": {
320
+ "input": 1643,
321
+ "output": 10,
322
+ "cacheRead": 0,
323
+ "cacheWrite": 0,
324
+ "reasoning": 0,
325
+ "totalTokens": 1653,
326
+ "cost": {
327
+ "input": 0.0041075,
328
+ "output": 0.00015000000000000001,
329
+ "cacheRead": 0,
330
+ "cacheWrite": 0,
331
+ "total": 0.0042575
332
+ }
333
+ },
334
+ "stopReason": "stop",
335
+ "timestamp": 0,
336
+ "responseId": ""
337
+ }
338
+ }
339
+ ]
340
+ ],
341
+ "events": [
342
+ {
343
+ "type": "agent_start"
344
+ },
345
+ {
346
+ "type": "turn_start"
347
+ },
348
+ {
349
+ "type": "message_start",
350
+ "message": {
351
+ "role": "user",
352
+ "content": [
353
+ {
354
+ "type": "text",
355
+ "text": "Read note.txt and reply with its exact contents only."
356
+ }
357
+ ],
358
+ "timestamp": 0
359
+ }
360
+ },
361
+ {
362
+ "type": "message_end",
363
+ "message": {
364
+ "role": "user",
365
+ "content": [
366
+ {
367
+ "type": "text",
368
+ "text": "Read note.txt and reply with its exact contents only."
369
+ }
370
+ ],
371
+ "timestamp": 0
372
+ }
373
+ },
374
+ {
375
+ "type": "message_start",
376
+ "message": {
377
+ "role": "assistant",
378
+ "content": [
379
+ {
380
+ "type": "thinking",
381
+ "thinking": "",
382
+ "thinkingSignature": ""
383
+ },
384
+ {
385
+ "type": "toolCall",
386
+ "id": "toolcall_0",
387
+ "name": "read",
388
+ "arguments": {
389
+ "path": "note.txt",
390
+ "offset": 1,
391
+ "limit": 2000
392
+ }
393
+ }
394
+ ],
395
+ "api": "openai-responses",
396
+ "provider": "github-copilot",
397
+ "model": "gpt-5.4",
398
+ "usage": {
399
+ "input": 0,
400
+ "output": 0,
401
+ "cacheRead": 0,
402
+ "cacheWrite": 0,
403
+ "totalTokens": 0,
404
+ "cost": {
405
+ "input": 0,
406
+ "output": 0,
407
+ "cacheRead": 0,
408
+ "cacheWrite": 0,
409
+ "total": 0
410
+ }
411
+ },
412
+ "stopReason": "stop",
413
+ "timestamp": 0
414
+ }
415
+ },
416
+ {
417
+ "type": "message_update",
418
+ "assistantMessageEvent": {
419
+ "type": "thinking_start",
420
+ "contentIndex": 0
421
+ },
422
+ "message": {
423
+ "role": "assistant"
424
+ }
425
+ },
426
+ {
427
+ "type": "message_update",
428
+ "assistantMessageEvent": {
429
+ "type": "thinking_end",
430
+ "contentIndex": 0,
431
+ "content": ""
432
+ },
433
+ "message": {
434
+ "role": "assistant"
435
+ }
436
+ },
437
+ {
438
+ "type": "message_update",
439
+ "assistantMessageEvent": {
440
+ "type": "toolcall_start",
441
+ "contentIndex": 1,
442
+ "partial": {
443
+ "role": "assistant",
444
+ "content": [
445
+ {
446
+ "type": "thinking",
447
+ "thinking": "",
448
+ "thinkingSignature": ""
449
+ },
450
+ {
451
+ "type": "toolCall",
452
+ "id": "toolcall_0",
453
+ "name": "read",
454
+ "arguments": {
455
+ "path": "note.txt",
456
+ "offset": 1,
457
+ "limit": 2000
458
+ }
459
+ }
460
+ ],
461
+ "api": "openai-responses",
462
+ "provider": "github-copilot",
463
+ "model": "gpt-5.4",
464
+ "usage": {
465
+ "input": 1559,
466
+ "output": 67,
467
+ "cacheRead": 0,
468
+ "cacheWrite": 0,
469
+ "reasoning": 38,
470
+ "totalTokens": 1626,
471
+ "cost": {
472
+ "input": 0.0038975000000000004,
473
+ "output": 0.001005,
474
+ "cacheRead": 0,
475
+ "cacheWrite": 0,
476
+ "total": 0.004902500000000001
477
+ }
478
+ },
479
+ "stopReason": "toolUse",
480
+ "timestamp": 0,
481
+ "responseId": ""
482
+ }
483
+ },
484
+ "message": {
485
+ "role": "assistant"
486
+ }
487
+ },
488
+ {
489
+ "type": "message_update",
490
+ "assistantMessageEvent": {
491
+ "type": "toolcall_delta",
492
+ "contentIndex": 1,
493
+ "delta": "{\""
494
+ },
495
+ "message": {
496
+ "role": "assistant"
497
+ }
498
+ },
499
+ {
500
+ "type": "message_update",
501
+ "assistantMessageEvent": {
502
+ "type": "toolcall_delta",
503
+ "contentIndex": 1,
504
+ "delta": "path"
505
+ },
506
+ "message": {
507
+ "role": "assistant"
508
+ }
509
+ },
510
+ {
511
+ "type": "message_update",
512
+ "assistantMessageEvent": {
513
+ "type": "toolcall_delta",
514
+ "contentIndex": 1,
515
+ "delta": "\":\""
516
+ },
517
+ "message": {
518
+ "role": "assistant"
519
+ }
520
+ },
521
+ {
522
+ "type": "message_update",
523
+ "assistantMessageEvent": {
524
+ "type": "toolcall_delta",
525
+ "contentIndex": 1,
526
+ "delta": "note"
527
+ },
528
+ "message": {
529
+ "role": "assistant"
530
+ }
531
+ },
532
+ {
533
+ "type": "message_update",
534
+ "assistantMessageEvent": {
535
+ "type": "toolcall_delta",
536
+ "contentIndex": 1,
537
+ "delta": ".txt"
538
+ },
539
+ "message": {
540
+ "role": "assistant"
541
+ }
542
+ },
543
+ {
544
+ "type": "message_update",
545
+ "assistantMessageEvent": {
546
+ "type": "toolcall_delta",
547
+ "contentIndex": 1,
548
+ "delta": "\",\""
549
+ },
550
+ "message": {
551
+ "role": "assistant"
552
+ }
553
+ },
554
+ {
555
+ "type": "message_update",
556
+ "assistantMessageEvent": {
557
+ "type": "toolcall_delta",
558
+ "contentIndex": 1,
559
+ "delta": "offset"
560
+ },
561
+ "message": {
562
+ "role": "assistant"
563
+ }
564
+ },
565
+ {
566
+ "type": "message_update",
567
+ "assistantMessageEvent": {
568
+ "type": "toolcall_delta",
569
+ "contentIndex": 1,
570
+ "delta": "\":"
571
+ },
572
+ "message": {
573
+ "role": "assistant"
574
+ }
575
+ },
576
+ {
577
+ "type": "message_update",
578
+ "assistantMessageEvent": {
579
+ "type": "toolcall_delta",
580
+ "contentIndex": 1,
581
+ "delta": "1"
582
+ },
583
+ "message": {
584
+ "role": "assistant"
585
+ }
586
+ },
587
+ {
588
+ "type": "message_update",
589
+ "assistantMessageEvent": {
590
+ "type": "toolcall_delta",
591
+ "contentIndex": 1,
592
+ "delta": ",\""
593
+ },
594
+ "message": {
595
+ "role": "assistant"
596
+ }
597
+ },
598
+ {
599
+ "type": "message_update",
600
+ "assistantMessageEvent": {
601
+ "type": "toolcall_delta",
602
+ "contentIndex": 1,
603
+ "delta": "limit"
604
+ },
605
+ "message": {
606
+ "role": "assistant"
607
+ }
608
+ },
609
+ {
610
+ "type": "message_update",
611
+ "assistantMessageEvent": {
612
+ "type": "toolcall_delta",
613
+ "contentIndex": 1,
614
+ "delta": "\":"
615
+ },
616
+ "message": {
617
+ "role": "assistant"
618
+ }
619
+ },
620
+ {
621
+ "type": "message_update",
622
+ "assistantMessageEvent": {
623
+ "type": "toolcall_delta",
624
+ "contentIndex": 1,
625
+ "delta": "200"
626
+ },
627
+ "message": {
628
+ "role": "assistant"
629
+ }
630
+ },
631
+ {
632
+ "type": "message_update",
633
+ "assistantMessageEvent": {
634
+ "type": "toolcall_delta",
635
+ "contentIndex": 1,
636
+ "delta": "0"
637
+ },
638
+ "message": {
639
+ "role": "assistant"
640
+ }
641
+ },
642
+ {
643
+ "type": "message_update",
644
+ "assistantMessageEvent": {
645
+ "type": "toolcall_delta",
646
+ "contentIndex": 1,
647
+ "delta": "}"
648
+ },
649
+ "message": {
650
+ "role": "assistant"
651
+ }
652
+ },
653
+ {
654
+ "type": "message_update",
655
+ "assistantMessageEvent": {
656
+ "type": "toolcall_end",
657
+ "contentIndex": 1,
658
+ "toolCall": {
659
+ "type": "toolCall",
660
+ "id": "toolcall_0",
661
+ "name": "read",
662
+ "arguments": {
663
+ "path": "note.txt",
664
+ "offset": 1,
665
+ "limit": 2000
666
+ }
667
+ }
668
+ },
669
+ "message": {
670
+ "role": "assistant"
671
+ }
672
+ },
673
+ {
674
+ "type": "message_end",
675
+ "message": {
676
+ "role": "assistant",
677
+ "content": [
678
+ {
679
+ "type": "thinking",
680
+ "thinking": "",
681
+ "thinkingSignature": ""
682
+ },
683
+ {
684
+ "type": "toolCall",
685
+ "id": "toolcall_0",
686
+ "name": "read",
687
+ "arguments": {
688
+ "path": "note.txt",
689
+ "offset": 1,
690
+ "limit": 2000
691
+ }
692
+ }
693
+ ],
694
+ "api": "openai-responses",
695
+ "provider": "github-copilot",
696
+ "model": "gpt-5.4",
697
+ "usage": {
698
+ "input": 1559,
699
+ "output": 67,
700
+ "cacheRead": 0,
701
+ "cacheWrite": 0,
702
+ "reasoning": 38,
703
+ "totalTokens": 1626,
704
+ "cost": {
705
+ "input": 0.0038975000000000004,
706
+ "output": 0.001005,
707
+ "cacheRead": 0,
708
+ "cacheWrite": 0,
709
+ "total": 0.004902500000000001
710
+ }
711
+ },
712
+ "stopReason": "toolUse",
713
+ "timestamp": 0,
714
+ "responseId": ""
715
+ }
716
+ },
717
+ {
718
+ "type": "tool_execution_start",
719
+ "toolCallId": "toolcall_0",
720
+ "toolName": "read",
721
+ "args": {
722
+ "path": "note.txt",
723
+ "offset": 1,
724
+ "limit": 2000
725
+ }
726
+ },
727
+ {
728
+ "type": "tool_execution_end",
729
+ "toolCallId": "toolcall_0",
730
+ "toolName": "read",
731
+ "result": {
732
+ "content": [
733
+ {
734
+ "type": "text",
735
+ "text": "ALPHA BETA GAMMA\n"
736
+ }
737
+ ]
738
+ },
739
+ "isError": false
740
+ },
741
+ {
742
+ "type": "message_start",
743
+ "message": {
744
+ "role": "toolResult",
745
+ "toolCallId": "toolcall_0",
746
+ "toolName": "read",
747
+ "content": [
748
+ {
749
+ "type": "text",
750
+ "text": "ALPHA BETA GAMMA\n"
751
+ }
752
+ ],
753
+ "isError": false,
754
+ "timestamp": 0
755
+ }
756
+ },
757
+ {
758
+ "type": "message_end",
759
+ "message": {
760
+ "role": "toolResult",
761
+ "toolCallId": "toolcall_0",
762
+ "toolName": "read",
763
+ "content": [
764
+ {
765
+ "type": "text",
766
+ "text": "ALPHA BETA GAMMA\n"
767
+ }
768
+ ],
769
+ "isError": false,
770
+ "timestamp": 0
771
+ }
772
+ },
773
+ {
774
+ "type": "turn_end",
775
+ "message": {
776
+ "role": "assistant",
777
+ "content": [
778
+ {
779
+ "type": "thinking",
780
+ "thinking": "",
781
+ "thinkingSignature": ""
782
+ },
783
+ {
784
+ "type": "toolCall",
785
+ "id": "toolcall_0",
786
+ "name": "read",
787
+ "arguments": {
788
+ "path": "note.txt",
789
+ "offset": 1,
790
+ "limit": 2000
791
+ }
792
+ }
793
+ ],
794
+ "api": "openai-responses",
795
+ "provider": "github-copilot",
796
+ "model": "gpt-5.4",
797
+ "usage": {
798
+ "input": 1559,
799
+ "output": 67,
800
+ "cacheRead": 0,
801
+ "cacheWrite": 0,
802
+ "reasoning": 38,
803
+ "totalTokens": 1626,
804
+ "cost": {
805
+ "input": 0.0038975000000000004,
806
+ "output": 0.001005,
807
+ "cacheRead": 0,
808
+ "cacheWrite": 0,
809
+ "total": 0.004902500000000001
810
+ }
811
+ },
812
+ "stopReason": "toolUse",
813
+ "timestamp": 0,
814
+ "responseId": ""
815
+ },
816
+ "toolResults": [
817
+ {
818
+ "role": "toolResult",
819
+ "toolCallId": "toolcall_0",
820
+ "toolName": "read",
821
+ "content": [
822
+ {
823
+ "type": "text",
824
+ "text": "ALPHA BETA GAMMA\n"
825
+ }
826
+ ],
827
+ "isError": false,
828
+ "timestamp": 0
829
+ }
830
+ ]
831
+ },
832
+ {
833
+ "type": "turn_start"
834
+ },
835
+ {
836
+ "type": "message_start",
837
+ "message": {
838
+ "role": "assistant",
839
+ "content": [
840
+ {
841
+ "type": "text",
842
+ "text": "ALPHA BETA GAMMA",
843
+ "textSignature": ""
844
+ }
845
+ ],
846
+ "api": "openai-responses",
847
+ "provider": "github-copilot",
848
+ "model": "gpt-5.4",
849
+ "usage": {
850
+ "input": 0,
851
+ "output": 0,
852
+ "cacheRead": 0,
853
+ "cacheWrite": 0,
854
+ "totalTokens": 0,
855
+ "cost": {
856
+ "input": 0,
857
+ "output": 0,
858
+ "cacheRead": 0,
859
+ "cacheWrite": 0,
860
+ "total": 0
861
+ }
862
+ },
863
+ "stopReason": "stop",
864
+ "timestamp": 0
865
+ }
866
+ },
867
+ {
868
+ "type": "message_update",
869
+ "assistantMessageEvent": {
870
+ "type": "text_start",
871
+ "contentIndex": 0
872
+ },
873
+ "message": {
874
+ "role": "assistant"
875
+ }
876
+ },
877
+ {
878
+ "type": "message_update",
879
+ "assistantMessageEvent": {
880
+ "type": "text_delta",
881
+ "contentIndex": 0,
882
+ "delta": "AL"
883
+ },
884
+ "message": {
885
+ "role": "assistant"
886
+ }
887
+ },
888
+ {
889
+ "type": "message_update",
890
+ "assistantMessageEvent": {
891
+ "type": "text_delta",
892
+ "contentIndex": 0,
893
+ "delta": "PHA"
894
+ },
895
+ "message": {
896
+ "role": "assistant"
897
+ }
898
+ },
899
+ {
900
+ "type": "message_update",
901
+ "assistantMessageEvent": {
902
+ "type": "text_delta",
903
+ "contentIndex": 0,
904
+ "delta": " B"
905
+ },
906
+ "message": {
907
+ "role": "assistant"
908
+ }
909
+ },
910
+ {
911
+ "type": "message_update",
912
+ "assistantMessageEvent": {
913
+ "type": "text_delta",
914
+ "contentIndex": 0,
915
+ "delta": "ETA"
916
+ },
917
+ "message": {
918
+ "role": "assistant"
919
+ }
920
+ },
921
+ {
922
+ "type": "message_update",
923
+ "assistantMessageEvent": {
924
+ "type": "text_delta",
925
+ "contentIndex": 0,
926
+ "delta": " GAM"
927
+ },
928
+ "message": {
929
+ "role": "assistant"
930
+ }
931
+ },
932
+ {
933
+ "type": "message_update",
934
+ "assistantMessageEvent": {
935
+ "type": "text_delta",
936
+ "contentIndex": 0,
937
+ "delta": "MA"
938
+ },
939
+ "message": {
940
+ "role": "assistant"
941
+ }
942
+ },
943
+ {
944
+ "type": "message_update",
945
+ "assistantMessageEvent": {
946
+ "type": "text_end",
947
+ "contentIndex": 0,
948
+ "content": "ALPHA BETA GAMMA"
949
+ },
950
+ "message": {
951
+ "role": "assistant"
952
+ }
953
+ },
954
+ {
955
+ "type": "message_end",
956
+ "message": {
957
+ "role": "assistant",
958
+ "content": [
959
+ {
960
+ "type": "text",
961
+ "text": "ALPHA BETA GAMMA",
962
+ "textSignature": ""
963
+ }
964
+ ],
965
+ "api": "openai-responses",
966
+ "provider": "github-copilot",
967
+ "model": "gpt-5.4",
968
+ "usage": {
969
+ "input": 1643,
970
+ "output": 10,
971
+ "cacheRead": 0,
972
+ "cacheWrite": 0,
973
+ "reasoning": 0,
974
+ "totalTokens": 1653,
975
+ "cost": {
976
+ "input": 0.0041075,
977
+ "output": 0.00015000000000000001,
978
+ "cacheRead": 0,
979
+ "cacheWrite": 0,
980
+ "total": 0.0042575
981
+ }
982
+ },
983
+ "stopReason": "stop",
984
+ "timestamp": 0,
985
+ "responseId": ""
986
+ }
987
+ },
988
+ {
989
+ "type": "turn_end",
990
+ "message": {
991
+ "role": "assistant",
992
+ "content": [
993
+ {
994
+ "type": "text",
995
+ "text": "ALPHA BETA GAMMA",
996
+ "textSignature": ""
997
+ }
998
+ ],
999
+ "api": "openai-responses",
1000
+ "provider": "github-copilot",
1001
+ "model": "gpt-5.4",
1002
+ "usage": {
1003
+ "input": 1643,
1004
+ "output": 10,
1005
+ "cacheRead": 0,
1006
+ "cacheWrite": 0,
1007
+ "reasoning": 0,
1008
+ "totalTokens": 1653,
1009
+ "cost": {
1010
+ "input": 0.0041075,
1011
+ "output": 0.00015000000000000001,
1012
+ "cacheRead": 0,
1013
+ "cacheWrite": 0,
1014
+ "total": 0.0042575
1015
+ }
1016
+ },
1017
+ "stopReason": "stop",
1018
+ "timestamp": 0,
1019
+ "responseId": ""
1020
+ },
1021
+ "toolResults": []
1022
+ },
1023
+ {
1024
+ "type": "agent_end",
1025
+ "messages": [
1026
+ {
1027
+ "role": "user",
1028
+ "content": [
1029
+ {
1030
+ "type": "text",
1031
+ "text": "Read note.txt and reply with its exact contents only."
1032
+ }
1033
+ ],
1034
+ "timestamp": 0
1035
+ },
1036
+ {
1037
+ "role": "assistant",
1038
+ "content": [
1039
+ {
1040
+ "type": "thinking",
1041
+ "thinking": "",
1042
+ "thinkingSignature": ""
1043
+ },
1044
+ {
1045
+ "type": "toolCall",
1046
+ "id": "toolcall_0",
1047
+ "name": "read",
1048
+ "arguments": {
1049
+ "path": "note.txt",
1050
+ "offset": 1,
1051
+ "limit": 2000
1052
+ }
1053
+ }
1054
+ ],
1055
+ "api": "openai-responses",
1056
+ "provider": "github-copilot",
1057
+ "model": "gpt-5.4",
1058
+ "usage": {
1059
+ "input": 1559,
1060
+ "output": 67,
1061
+ "cacheRead": 0,
1062
+ "cacheWrite": 0,
1063
+ "reasoning": 38,
1064
+ "totalTokens": 1626,
1065
+ "cost": {
1066
+ "input": 0.0038975000000000004,
1067
+ "output": 0.001005,
1068
+ "cacheRead": 0,
1069
+ "cacheWrite": 0,
1070
+ "total": 0.004902500000000001
1071
+ }
1072
+ },
1073
+ "stopReason": "toolUse",
1074
+ "timestamp": 0,
1075
+ "responseId": ""
1076
+ },
1077
+ {
1078
+ "role": "toolResult",
1079
+ "toolCallId": "toolcall_0",
1080
+ "toolName": "read",
1081
+ "content": [
1082
+ {
1083
+ "type": "text",
1084
+ "text": "ALPHA BETA GAMMA\n"
1085
+ }
1086
+ ],
1087
+ "isError": false,
1088
+ "timestamp": 0
1089
+ },
1090
+ {
1091
+ "role": "assistant",
1092
+ "content": [
1093
+ {
1094
+ "type": "text",
1095
+ "text": "ALPHA BETA GAMMA",
1096
+ "textSignature": ""
1097
+ }
1098
+ ],
1099
+ "api": "openai-responses",
1100
+ "provider": "github-copilot",
1101
+ "model": "gpt-5.4",
1102
+ "usage": {
1103
+ "input": 1643,
1104
+ "output": 10,
1105
+ "cacheRead": 0,
1106
+ "cacheWrite": 0,
1107
+ "reasoning": 0,
1108
+ "totalTokens": 1653,
1109
+ "cost": {
1110
+ "input": 0.0041075,
1111
+ "output": 0.00015000000000000001,
1112
+ "cacheRead": 0,
1113
+ "cacheWrite": 0,
1114
+ "total": 0.0042575
1115
+ }
1116
+ },
1117
+ "stopReason": "stop",
1118
+ "timestamp": 0,
1119
+ "responseId": ""
1120
+ }
1121
+ ],
1122
+ "willRetry": false
1123
+ },
1124
+ {
1125
+ "type": "agent_settled"
1126
+ }
1127
+ ]
1128
+ }