@ccmsg/protocol 1.20.0 → 1.22.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.
@@ -14,8 +14,8 @@ import type {
14
14
  FileFindResponse,
15
15
  FileReadRequest,
16
16
  FileReadResponse,
17
- FileStatBatchRequest,
18
- FileStatBatchResponse,
17
+ FileStatRequest,
18
+ FileStatResponse,
19
19
  FileWriteRequest,
20
20
  FileWriteResponse,
21
21
  } from "../control/files.ts";
@@ -56,12 +56,12 @@ import type {
56
56
  SessionDumpWriteResponse,
57
57
  SessionEnvReadRequest,
58
58
  SessionEnvReadResponse,
59
- SessionForkOriginRequest,
60
- SessionForkOriginResponse,
59
+ SessionForkOriginReadRequest,
60
+ SessionForkOriginReadResponse,
61
61
  SessionKillRequest,
62
62
  SessionKillResponse,
63
- SessionLastLiveRemoveRequest,
64
- SessionLastLiveRemoveResponse,
63
+ SessionForgetRequest,
64
+ SessionForgetResponse,
65
65
  SessionRenameRequest,
66
66
  SessionRenameResponse,
67
67
  SessionSearchRequest,
@@ -83,7 +83,7 @@ const FILE_PATH = "src/fixtures/index.ts";
83
83
 
84
84
  export const SESSION_KILL_REQUEST: Static<typeof SessionKillRequest> = {
85
85
  request_id,
86
- op: "session_kill",
86
+ op: "session.kill",
87
87
  to_instance: instance,
88
88
  sid,
89
89
  force: false,
@@ -97,7 +97,7 @@ export const SESSION_KILL_RESPONSE: Static<typeof SessionKillResponse> = {
97
97
 
98
98
  export const SESSION_RENAME_REQUEST: Static<typeof SessionRenameRequest> = {
99
99
  request_id,
100
- op: "session_rename",
100
+ op: "session.rename",
101
101
  sid,
102
102
  title: "contract fixtures",
103
103
  };
@@ -112,7 +112,7 @@ export const SESSION_RENAME_RESPONSE: Static<typeof SessionRenameResponse> = {
112
112
 
113
113
  export const SESSION_ENV_READ_REQUEST: Static<typeof SessionEnvReadRequest> = {
114
114
  request_id,
115
- op: "session_env_read",
115
+ op: "session.env.read",
116
116
  sid,
117
117
  };
118
118
 
@@ -126,7 +126,7 @@ export const SESSION_ENV_READ_RESPONSE: Static<typeof SessionEnvReadResponse> =
126
126
 
127
127
  export const SESSION_SEARCH_REQUEST: Static<typeof SessionSearchRequest> = {
128
128
  request_id,
129
- op: "session_search",
129
+ op: "session.search",
130
130
  query: "fixture",
131
131
  target_agent: true,
132
132
  modified_within_ms: 86_400_000,
@@ -158,12 +158,12 @@ export const SESSION_SEARCH_RESPONSE: Static<typeof SessionSearchResponse> = {
158
158
 
159
159
  export const SESSION_DUMP_WRITE_REQUEST: Static<typeof SessionDumpWriteRequest> = {
160
160
  request_id,
161
- op: "session_dump_write",
161
+ op: "session.dump.write",
162
162
  sid,
163
163
  agent_id: "a471372f2",
164
164
  since_at: FIXTURE_NOW - 3_600_000,
165
165
  preset: "howto",
166
- types: ["@file", "-tool:Grep", "thinking"],
166
+ types: ["@file", "-tool.Grep", "thinking"],
167
167
  };
168
168
 
169
169
  export const SESSION_DUMP_WRITE_RESPONSE: Static<typeof SessionDumpWriteResponse> = {
@@ -171,7 +171,7 @@ export const SESSION_DUMP_WRITE_RESPONSE: Static<typeof SessionDumpWriteResponse
171
171
  request_id,
172
172
  path: "/transcripts/6f1a2b3c.dump.json",
173
173
  instance,
174
- entries: { thinking: 41, "tool:Bash": 62, "tool:Read": 25 },
174
+ entries: { thinking: 41, "tool.Bash": 62, "tool.Read": 25 },
175
175
  ids: [
176
176
  {
177
177
  kind: "agent",
@@ -191,14 +191,14 @@ export const SESSION_DUMP_FILE: Static<typeof SessionDumpFile> = {
191
191
  sid,
192
192
  agent_id: "a471372f2",
193
193
  written_at: FIXTURE_NOW,
194
- types: ["tool:Read", "tool:Write", "tool:Edit", "tool:Glob", "thinking"],
194
+ types: ["tool.Read", "tool.Write", "tool.Edit", "tool.Glob", "thinking"],
195
195
  items: [],
196
196
  ids: [{ kind: "agent", id: "a471372f2", label: "dump-kinds-design", status: "ok" }],
197
197
  };
198
198
 
199
199
  export const DUMP_PRESETS_READ_REQUEST: Static<typeof DumpPresetsReadRequest> = {
200
200
  request_id,
201
- op: "dump_presets_read",
201
+ op: "dump.presets.read",
202
202
  };
203
203
 
204
204
  export const DUMP_PRESETS_READ_RESPONSE: Static<typeof DumpPresetsReadResponse> = {
@@ -208,13 +208,13 @@ export const DUMP_PRESETS_READ_RESPONSE: Static<typeof DumpPresetsReadResponse>
208
208
  {
209
209
  name: "file",
210
210
  description: "reading, writing and searching, as one interest",
211
- opts: { types: ["tool:Read", "tool:Write", "tool:Edit", "tool:Glob", "tool:Grep"] },
211
+ opts: { types: ["tool.Read", "tool.Write", "tool.Edit", "tool.Glob", "tool.Grep"] },
212
212
  },
213
213
  {
214
214
  name: "howto",
215
215
  description: "how the work was done: what was thought, run, read and written",
216
216
  opts: {
217
- types: ["thinking", "message:user", "message:parent", "message:sub", "tool:Bash", "@file"],
217
+ types: ["thinking", "message.user", "message.parent", "message.sub", "tool.Bash", "@file"],
218
218
  },
219
219
  },
220
220
  ],
@@ -232,7 +232,7 @@ export const TRANSCRIPT_ITEMS: Static<typeof TranscriptItem>[] = [
232
232
  uuid: "3f9a21c4",
233
233
  subject: "main",
234
234
  source: { offset: 180_000, bytes: 420 },
235
- type: "message:user:in",
235
+ type: "message.user.in",
236
236
  at: FIXTURE_NOW - 3_600_000,
237
237
  turn: 1,
238
238
  text: "dump のアイテム型を整理して",
@@ -251,7 +251,7 @@ export const TRANSCRIPT_ITEMS: Static<typeof TranscriptItem>[] = [
251
251
  uuid: "f10b6d43",
252
252
  subject: "main",
253
253
  source: { offset: 180_420, bytes: 980 },
254
- type: "tool:Bash",
254
+ type: "tool.Bash",
255
255
  at: FIXTURE_NOW - 3_400_000,
256
256
  role: "use",
257
257
  tool_use_id: "toolu_01Ne9BDS",
@@ -264,7 +264,7 @@ export const TRANSCRIPT_ITEMS: Static<typeof TranscriptItem>[] = [
264
264
  uuid: "18d6f2c9",
265
265
  subject: "main",
266
266
  source: { offset: 181_400, bytes: 260 },
267
- type: "tool:Bash",
267
+ type: "tool.Bash",
268
268
  at: FIXTURE_NOW - 3_399_000,
269
269
  role: "result",
270
270
  parent_item: "f10b6d43:1",
@@ -277,7 +277,7 @@ export const TRANSCRIPT_ITEMS: Static<typeof TranscriptItem>[] = [
277
277
  uuid: "b7e41d09",
278
278
  subject: "main",
279
279
  source: { offset: 181_660, bytes: 640 },
280
- type: "message:sub:out",
280
+ type: "message.sub.out",
281
281
  at: FIXTURE_NOW - 3_300_000,
282
282
  role: "use",
283
283
  result_item: "c2d80f16:0",
@@ -291,7 +291,7 @@ export const TRANSCRIPT_ITEMS: Static<typeof TranscriptItem>[] = [
291
291
  uuid: "92e6d4f5",
292
292
  subject: "main",
293
293
  source: { offset: 182_300, bytes: 310 },
294
- type: "hook:PreToolUse",
294
+ type: "hook.PreToolUse",
295
295
  at: FIXTURE_NOW - 3_200_000,
296
296
  hook_name: "PreToolUse:Bash",
297
297
  outcome: "additionalContext",
@@ -303,7 +303,7 @@ export const TRANSCRIPT_ITEMS: Static<typeof TranscriptItem>[] = [
303
303
  uuid: "81d5c3e4",
304
304
  subject: "main",
305
305
  source: { offset: 182_610, bytes: 190 },
306
- type: "system:attachment:queued_command",
306
+ type: "system.attachment.queued_command",
307
307
  at: FIXTURE_NOW - 3_100_000,
308
308
  attachment: { type: "queued_command", command: "/pre-clear" },
309
309
  },
@@ -312,12 +312,12 @@ export const TRANSCRIPT_ITEMS: Static<typeof TranscriptItem>[] = [
312
312
  uuid: "c8a2f371",
313
313
  subject: "main",
314
314
  source: { offset: 182_800, bytes: 520 },
315
- type: "message:team:out",
315
+ type: "message.team.out",
316
316
  at: FIXTURE_NOW - 3_000_000,
317
317
  role: "use",
318
318
  result_item: "d4c1a0b2:0",
319
319
  tool_use_id: "toolu_01Tm5XYp",
320
- text: "契約に message:parent と message:team を足して",
320
+ text: "契約に message.parent と message.team を足して",
321
321
  harness_name: "contract-dump-items",
322
322
  agent_id: "b83e0f114",
323
323
  subagent_type: "opus5-worker-high",
@@ -327,7 +327,7 @@ export const TRANSCRIPT_ITEMS: Static<typeof TranscriptItem>[] = [
327
327
  uuid: "e5b70c93",
328
328
  subject: "main",
329
329
  source: { offset: 183_320, bytes: 300 },
330
- type: "message:team:in",
330
+ type: "message.team.in",
331
331
  at: FIXTURE_NOW - 2_900_000,
332
332
  text: "fixtures まで通ったので ci を回す",
333
333
  harness_name: "contract-dump-items",
@@ -337,7 +337,7 @@ export const TRANSCRIPT_ITEMS: Static<typeof TranscriptItem>[] = [
337
337
  uuid: "d4c1a0b2",
338
338
  subject: "main",
339
339
  source: { offset: 183_620, bytes: 410 },
340
- type: "message:team:in",
340
+ type: "message.team.in",
341
341
  at: FIXTURE_NOW - 2_800_000,
342
342
  role: "result",
343
343
  parent_item: "c8a2f371:0",
@@ -352,7 +352,7 @@ export const TRANSCRIPT_ITEMS: Static<typeof TranscriptItem>[] = [
352
352
  /** The same vocabulary read with a throwaway agent as the subject.
353
353
  *
354
354
  * Nothing here is a new type: the brief an agent opens with and the answer it
355
- * closes with are what `message:parent` names from wherever it is read, and the
355
+ * closes with are what `message.parent` names from wherever it is read, and the
356
356
  * answer comes as prose with no call behind it. What says these were read from
357
357
  * an errand's transcript rather than a session's is `subject`, which every item
358
358
  * carries. */
@@ -362,7 +362,7 @@ export const TRANSCRIPT_ITEMS_AGENT_SUBJECT: Static<typeof TranscriptItem>[] = [
362
362
  uuid: "a9f30d15",
363
363
  subject: "sub",
364
364
  source: { offset: 0, bytes: 1_240 },
365
- type: "message:parent:in",
365
+ type: "message.parent.in",
366
366
  at: FIXTURE_NOW - 3_290_000,
367
367
  turn: 1,
368
368
  text: "docs/design/dump-kinds.md を書き直す",
@@ -372,7 +372,7 @@ export const TRANSCRIPT_ITEMS_AGENT_SUBJECT: Static<typeof TranscriptItem>[] = [
372
372
  uuid: "b0e41c26",
373
373
  subject: "sub",
374
374
  source: { offset: 1_240, bytes: 380 },
375
- type: "message:parent:out",
375
+ type: "message.parent.out",
376
376
  at: FIXTURE_NOW - 3_260_000,
377
377
  role: "use",
378
378
  tool_use_id: "toolu_01Qz8Vbn",
@@ -385,7 +385,7 @@ export const TRANSCRIPT_ITEMS_AGENT_SUBJECT: Static<typeof TranscriptItem>[] = [
385
385
  uuid: "c1f52d37",
386
386
  subject: "sub",
387
387
  source: { offset: 1_620, bytes: 690 },
388
- type: "message:parent:out",
388
+ type: "message.parent.out",
389
389
  at: FIXTURE_NOW - 3_200_000,
390
390
  text: "型一覧を 4 群に整理し、preset の例も揃えた",
391
391
  },
@@ -404,10 +404,10 @@ export const TRANSCRIPT_ITEMS_TEAM_SUBJECT: Static<typeof TranscriptItem>[] = [
404
404
  uuid: "d2a63e48",
405
405
  subject: "team",
406
406
  source: { offset: 0, bytes: 1_480 },
407
- type: "message:parent:in",
407
+ type: "message.parent.in",
408
408
  at: FIXTURE_NOW - 3_000_000,
409
409
  turn: 1,
410
- text: "契約に message:parent と message:team を足して",
410
+ text: "契約に message.parent と message.team を足して",
411
411
  harness_name: "main",
412
412
  },
413
413
  {
@@ -415,7 +415,7 @@ export const TRANSCRIPT_ITEMS_TEAM_SUBJECT: Static<typeof TranscriptItem>[] = [
415
415
  uuid: "e3b74f59",
416
416
  subject: "team",
417
417
  source: { offset: 1_480, bytes: 260 },
418
- type: "message:user:in",
418
+ type: "message.user.in",
419
419
  at: FIXTURE_NOW - 2_950_000,
420
420
  text: "fixtures も忘れずに",
421
421
  },
@@ -424,7 +424,7 @@ export const TRANSCRIPT_ITEMS_TEAM_SUBJECT: Static<typeof TranscriptItem>[] = [
424
424
  uuid: "f4c8506a",
425
425
  subject: "team",
426
426
  source: { offset: 1_740, bytes: 340 },
427
- type: "message:team:out",
427
+ type: "message.team.out",
428
428
  at: FIXTURE_NOW - 2_920_000,
429
429
  role: "use",
430
430
  tool_use_id: "toolu_01Wc7Zdq",
@@ -436,7 +436,7 @@ export const TRANSCRIPT_ITEMS_TEAM_SUBJECT: Static<typeof TranscriptItem>[] = [
436
436
  uuid: "a5d9617b",
437
437
  subject: "team",
438
438
  source: { offset: 2_080, bytes: 410 },
439
- type: "message:parent:out",
439
+ type: "message.parent.out",
440
440
  at: FIXTURE_NOW - 2_800_000,
441
441
  text: "4 型を足して 1.17.0 を切った",
442
442
  },
@@ -444,7 +444,7 @@ export const TRANSCRIPT_ITEMS_TEAM_SUBJECT: Static<typeof TranscriptItem>[] = [
444
444
 
445
445
  export const TRANSCRIPT_READ_REQUEST: Static<typeof TranscriptReadRequest> = {
446
446
  request_id,
447
- op: "transcript_read",
447
+ op: "transcript.read",
448
448
  sid,
449
449
  before: 182_400,
450
450
  max_bytes: 65_536,
@@ -462,10 +462,10 @@ export const TRANSCRIPT_READ_RESPONSE: Static<typeof TranscriptReadResponse> = {
462
462
 
463
463
  export const TRANSCRIPT_ITEMS_READ_REQUEST: Static<typeof TranscriptItemsReadRequest> = {
464
464
  request_id,
465
- op: "transcript_items_read",
465
+ op: "transcript.items.read",
466
466
  sid,
467
467
  since_at: FIXTURE_NOW - 3_600_000,
468
- types: ["message", "thinking", "tool:Bash"],
468
+ types: ["message", "thinking", "tool.Bash"],
469
469
  limit: 200,
470
470
  };
471
471
 
@@ -483,7 +483,7 @@ export const TRANSCRIPT_ITEMS_READ_RESPONSE: Static<typeof TranscriptItemsReadRe
483
483
  * walks back by handing the `prev` it was given to the next call. */
484
484
  export const TRANSCRIPT_ITEMS_READ_BACKWARD_REQUEST: Static<typeof TranscriptItemsReadRequest> = {
485
485
  request_id,
486
- op: "transcript_items_read",
486
+ op: "transcript.items.read",
487
487
  sid,
488
488
  until_id: "18d6f2c9:0",
489
489
  limit: 2,
@@ -496,25 +496,25 @@ export const TRANSCRIPT_ITEMS_READ_BACKWARD_RESPONSE: Static<typeof TranscriptIt
496
496
  prev: "f10b6d43:0",
497
497
  };
498
498
 
499
- export const SESSION_FORK_ORIGIN_REQUEST: Static<typeof SessionForkOriginRequest> = {
499
+ export const SESSION_FORK_ORIGIN_READ_REQUEST: Static<typeof SessionForkOriginReadRequest> = {
500
500
  request_id,
501
- op: "session_fork_origin",
501
+ op: "session.fork.origin.read",
502
502
  sid,
503
503
  };
504
504
 
505
- export const SESSION_FORK_ORIGIN_RESPONSE: Static<typeof SessionForkOriginResponse> = {
505
+ export const SESSION_FORK_ORIGIN_READ_RESPONSE: Static<typeof SessionForkOriginReadResponse> = {
506
506
  ok: true,
507
507
  request_id,
508
508
  origin: { sid: other_sid, boundary_uuid: "6d1f0c2e-8a44-4b1e-9f30-5c7a2d9e4b81", copied: 128 },
509
509
  };
510
510
 
511
- export const SESSION_LAST_LIVE_REMOVE_REQUEST: Static<typeof SessionLastLiveRemoveRequest> = {
511
+ export const SESSION_FORGET_REQUEST: Static<typeof SessionForgetRequest> = {
512
512
  request_id,
513
- op: "session_last_live_remove",
513
+ op: "session.forget",
514
514
  sid: other_sid,
515
515
  };
516
516
 
517
- export const SESSION_LAST_LIVE_REMOVE_RESPONSE: Static<typeof SessionLastLiveRemoveResponse> = {
517
+ export const SESSION_FORGET_RESPONSE: Static<typeof SessionForgetResponse> = {
518
518
  ok: true,
519
519
  request_id,
520
520
  removed: true,
@@ -522,7 +522,7 @@ export const SESSION_LAST_LIVE_REMOVE_RESPONSE: Static<typeof SessionLastLiveRem
522
522
 
523
523
  export const DIR_LIST_REQUEST: Static<typeof DirListRequest> = {
524
524
  request_id,
525
- op: "dir_list",
525
+ op: "dir.list",
526
526
  sid,
527
527
  kind: "workspace",
528
528
  path: "src/fixtures",
@@ -541,7 +541,7 @@ export const DIR_LIST_RESPONSE: Static<typeof DirListResponse> = {
541
541
 
542
542
  export const FILE_READ_REQUEST: Static<typeof FileReadRequest> = {
543
543
  request_id,
544
- op: "file_read",
544
+ op: "file.read",
545
545
  sid,
546
546
  kind: "workspace",
547
547
  path: FILE_PATH,
@@ -561,7 +561,7 @@ export const FILE_READ_RESPONSE: Static<typeof FileReadResponse> = {
561
561
 
562
562
  export const FILE_WRITE_REQUEST: Static<typeof FileWriteRequest> = {
563
563
  request_id,
564
- op: "file_write",
564
+ op: "file.write",
565
565
  sid,
566
566
  path: FILE_PATH,
567
567
  content: "export const OP_FIXTURES = {} as const;\n",
@@ -576,7 +576,7 @@ export const FILE_WRITE_RESPONSE: Static<typeof FileWriteResponse> = {
576
576
 
577
577
  export const FILE_CREATE_REQUEST: Static<typeof FileCreateRequest> = {
578
578
  request_id,
579
- op: "file_create",
579
+ op: "file.create",
580
580
  sid,
581
581
  kind: "workspace",
582
582
  path: "src/fixtures/ids.ts",
@@ -592,7 +592,7 @@ export const FILE_CREATE_RESPONSE: Static<typeof FileCreateResponse> = {
592
592
 
593
593
  export const FILE_EDIT_REQUEST: Static<typeof FileEditRequest> = {
594
594
  request_id,
595
- op: "file_edit",
595
+ op: "file.edit",
596
596
  sid,
597
597
  kind: "workspace",
598
598
  path: FILE_PATH,
@@ -612,7 +612,7 @@ export const FILE_EDIT_RESPONSE: Static<typeof FileEditResponse> = {
612
612
 
613
613
  export const FILE_DELETE_REQUEST: Static<typeof FileDeleteRequest> = {
614
614
  request_id,
615
- op: "file_delete",
615
+ op: "file.delete",
616
616
  sid,
617
617
  kind: "workspace",
618
618
  path: "src/fixtures/scratch.ts",
@@ -627,7 +627,7 @@ export const FILE_DELETE_RESPONSE: Static<typeof FileDeleteResponse> = {
627
627
 
628
628
  export const FILE_FIND_REQUEST: Static<typeof FileFindRequest> = {
629
629
  request_id,
630
- op: "file_find",
630
+ op: "file.find",
631
631
  sid,
632
632
  kind: "workspace",
633
633
  root: "src",
@@ -646,16 +646,16 @@ export const FILE_FIND_RESPONSE: Static<typeof FileFindResponse> = {
646
646
  truncated: false,
647
647
  };
648
648
 
649
- export const FILE_STAT_BATCH_REQUEST: Static<typeof FileStatBatchRequest> = {
649
+ export const FILE_STAT_REQUEST: Static<typeof FileStatRequest> = {
650
650
  request_id,
651
- op: "file_stat_batch",
651
+ op: "file.stat",
652
652
  sid,
653
653
  paths: [FILE_PATH, "/etc/hosts"],
654
654
  };
655
655
 
656
656
  /** A path the session may not reach answers `null` in its place rather than
657
657
  * dropping out of the list, so the results line up with the paths asked for. */
658
- export const FILE_STAT_BATCH_RESPONSE: Static<typeof FileStatBatchResponse> = {
658
+ export const FILE_STAT_RESPONSE: Static<typeof FileStatResponse> = {
659
659
  ok: true,
660
660
  request_id,
661
661
  results: [{ kind: "workspace", path: FILE_PATH }, null],
@@ -663,7 +663,7 @@ export const FILE_STAT_BATCH_RESPONSE: Static<typeof FileStatBatchResponse> = {
663
663
 
664
664
  export const DIR_TREE_REQUEST: Static<typeof DirTreeRequest> = {
665
665
  request_id,
666
- op: "dir_tree",
666
+ op: "dir.tree",
667
667
  roots: ["/repos/kawaz"],
668
668
  depth: 2,
669
669
  filter: "ccmsg",
@@ -682,7 +682,7 @@ export const DIR_TREE_RESPONSE: Static<typeof DirTreeResponse> = {
682
682
 
683
683
  export const LAUNCHER_CONFIG_READ_REQUEST: Static<typeof LauncherConfigReadRequest> = {
684
684
  request_id,
685
- op: "launcher_config_read",
685
+ op: "launcher.config.read",
686
686
  };
687
687
 
688
688
  export const LAUNCHER_CONFIG_READ_RESPONSE: Static<typeof LauncherConfigReadResponse> = {
@@ -700,7 +700,7 @@ export const LAUNCHER_CONFIG_READ_RESPONSE: Static<typeof LauncherConfigReadResp
700
700
 
701
701
  export const LAUNCHER_RUN_REQUEST: Static<typeof LauncherRunRequest> = {
702
702
  request_id,
703
- op: "launcher_run",
703
+ op: "launcher.run",
704
704
  cwd: WORKSPACE,
705
705
  params: { effort: "high" },
706
706
  template: "claude",
@@ -717,7 +717,7 @@ export const LAUNCHER_RUN_RESPONSE: Static<typeof LauncherRunResponse> = {
717
717
 
718
718
  export const SANDBOX_GRANT_REQUEST: Static<typeof SandboxGrantRequest> = {
719
719
  request_id,
720
- op: "sandbox_grant",
720
+ op: "sandbox.grant",
721
721
  sid,
722
722
  kind: "workspace",
723
723
  path: FILE_PATH,
@@ -734,7 +734,7 @@ export const SANDBOX_GRANT_RESPONSE: Static<typeof SandboxGrantResponse> = {
734
734
 
735
735
  export const SANDBOX_REVOKE_REQUEST: Static<typeof SandboxRevokeRequest> = {
736
736
  request_id,
737
- op: "sandbox_revoke",
737
+ op: "sandbox.revoke",
738
738
  gid: "g-01J9Z3W2Q",
739
739
  };
740
740
 
@@ -745,7 +745,7 @@ export const SANDBOX_REVOKE_RESPONSE: Static<typeof SandboxRevokeResponse> = {
745
745
 
746
746
  export const TRANSLATE_RUN_REQUEST: Static<typeof TranslateRunRequest> = {
747
747
  request_id,
748
- op: "translate_run",
748
+ op: "translate.run",
749
749
  texts: ["the contract's own fixtures", "one that the helper could not take"],
750
750
  };
751
751
 
@@ -762,7 +762,7 @@ export const TRANSLATE_RUN_RESPONSE: Static<typeof TranslateRunResponse> = {
762
762
 
763
763
  export const LLM_USAGE_READ_REQUEST: Static<typeof LlmUsageReadRequest> = {
764
764
  request_id,
765
- op: "llm_usage_read",
765
+ op: "llm.usage.read",
766
766
  refresh: true,
767
767
  };
768
768
 
@@ -804,7 +804,7 @@ export const LLM_USAGE_READ_RESPONSE: Static<typeof LlmUsageReadResponse> = {
804
804
 
805
805
  export const LLM_STATS_READ_REQUEST: Static<typeof LlmStatsReadRequest> = {
806
806
  request_id,
807
- op: "llm_stats_read",
807
+ op: "llm.stats.read",
808
808
  days: 7,
809
809
  };
810
810
 
@@ -833,7 +833,7 @@ export const LLM_STATS_READ_RESPONSE: Static<typeof LlmStatsReadResponse> = {
833
833
 
834
834
  export const KV_READ_REQUEST: Static<typeof KvReadRequest> = {
835
835
  request_id,
836
- op: "kv_read",
836
+ op: "kv.read",
837
837
  ns: "webui",
838
838
  key: "layout",
839
839
  };
@@ -847,7 +847,7 @@ export const KV_READ_RESPONSE: Static<typeof KvReadResponse> = {
847
847
 
848
848
  export const KV_WRITE_REQUEST: Static<typeof KvWriteRequest> = {
849
849
  request_id,
850
- op: "kv_write",
850
+ op: "kv.write",
851
851
  ns: "webui",
852
852
  key: "layout",
853
853
  value: { pane: "peers", collapsed: true },
@@ -862,7 +862,7 @@ export const KV_WRITE_RESPONSE: Static<typeof KvWriteResponse> = {
862
862
 
863
863
  export const KV_DELETE_REQUEST: Static<typeof KvDeleteRequest> = {
864
864
  request_id,
865
- op: "kv_delete",
865
+ op: "kv.delete",
866
866
  ns: "webui",
867
867
  key: "layout",
868
868
  };