@stateforge-labs/herdr 0.0.0-stage → 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 (171) hide show
  1. package/LICENSE +18 -0
  2. package/NOTICE.md +51 -0
  3. package/README.md +211 -2
  4. package/bin/herdr-drift.js +14 -0
  5. package/bin/herdr-skill.js +38 -0
  6. package/dist/admin.d.ts +2 -0
  7. package/dist/admin.js +3 -0
  8. package/dist/constants.d.ts +236 -0
  9. package/dist/constants.js +294 -0
  10. package/dist/core/backoff.d.ts +20 -0
  11. package/dist/core/backoff.js +53 -0
  12. package/dist/core/constants.d.ts +143 -0
  13. package/dist/core/constants.js +98 -0
  14. package/dist/core/errors.d.ts +35 -0
  15. package/dist/core/errors.js +16 -0
  16. package/dist/core/events.d.ts +42 -0
  17. package/dist/core/events.js +128 -0
  18. package/dist/core/kernel.d.ts +65 -0
  19. package/dist/core/kernel.js +138 -0
  20. package/dist/core/link.d.ts +47 -0
  21. package/dist/core/link.js +187 -0
  22. package/dist/core/test-kit/constants.d.ts +51 -0
  23. package/dist/core/test-kit/constants.js +43 -0
  24. package/dist/core/test-kit/fake-core.d.ts +61 -0
  25. package/dist/core/test-kit/fake-core.js +228 -0
  26. package/dist/core/test-kit/frames.d.ts +1 -0
  27. package/dist/core/test-kit/frames.js +480 -0
  28. package/dist/core/test-kit/setup-test.d.ts +18 -0
  29. package/dist/core/test-kit/setup-test.js +35 -0
  30. package/dist/core/wire.d.ts +85 -0
  31. package/dist/core/wire.js +199 -0
  32. package/dist/core-test-kit.d.ts +5 -0
  33. package/dist/core-test-kit.js +5 -0
  34. package/dist/core.d.ts +15 -0
  35. package/dist/core.js +12 -0
  36. package/dist/drift/cli.d.ts +22 -0
  37. package/dist/drift/cli.js +146 -0
  38. package/dist/drift/constants.d.ts +83 -0
  39. package/dist/drift/constants.js +73 -0
  40. package/dist/drift/diff.d.ts +7 -0
  41. package/dist/drift/diff.js +91 -0
  42. package/dist/drift/schema.d.ts +19 -0
  43. package/dist/drift/schema.js +190 -0
  44. package/dist/drift/types.d.ts +76 -0
  45. package/dist/drift/types.js +1 -0
  46. package/dist/drift.d.ts +5 -0
  47. package/dist/drift.js +6 -0
  48. package/dist/effect.d.ts +3 -0
  49. package/dist/effect.js +4 -0
  50. package/dist/herdr/client/connect.d.ts +5 -0
  51. package/dist/herdr/client/connect.js +81 -0
  52. package/dist/herdr/client/held.d.ts +54 -0
  53. package/dist/herdr/client/held.js +100 -0
  54. package/dist/herdr/client/long-poll.d.ts +33 -0
  55. package/dist/herdr/client/long-poll.js +66 -0
  56. package/dist/herdr/client/scoped.d.ts +45 -0
  57. package/dist/herdr/client/scoped.js +241 -0
  58. package/dist/herdr/client/streams.d.ts +9 -0
  59. package/dist/herdr/client/streams.js +40 -0
  60. package/dist/herdr/client/subscribe.d.ts +75 -0
  61. package/dist/herdr/client/subscribe.js +208 -0
  62. package/dist/herdr/client/types.d.ts +150 -0
  63. package/dist/herdr/client/types.js +1 -0
  64. package/dist/herdr/client/watch-pane-set.d.ts +34 -0
  65. package/dist/herdr/client/watch-pane-set.js +271 -0
  66. package/dist/herdr/client/watch.d.ts +117 -0
  67. package/dist/herdr/client/watch.js +138 -0
  68. package/dist/herdr/effect/to-tagged-error.d.ts +2 -0
  69. package/dist/herdr/effect/to-tagged-error.js +54 -0
  70. package/dist/herdr/effect/types.d.ts +51 -0
  71. package/dist/herdr/effect/types.js +26 -0
  72. package/dist/herdr/errors.d.ts +53 -0
  73. package/dist/herdr/errors.js +87 -0
  74. package/dist/herdr/generated/entries/admin.d.ts +2 -0
  75. package/dist/herdr/generated/entries/admin.js +5 -0
  76. package/dist/herdr/generated/entries/client.d.ts +2 -0
  77. package/dist/herdr/generated/entries/client.js +5 -0
  78. package/dist/herdr/generated/entries/held.d.ts +2 -0
  79. package/dist/herdr/generated/entries/held.js +5 -0
  80. package/dist/herdr/generated/entries/prompt.d.ts +2 -0
  81. package/dist/herdr/generated/entries/prompt.js +5 -0
  82. package/dist/herdr/generated/entries/read-only-content.d.ts +2 -0
  83. package/dist/herdr/generated/entries/read-only-content.js +5 -0
  84. package/dist/herdr/generated/entries/read-only.d.ts +2 -0
  85. package/dist/herdr/generated/entries/read-only.js +5 -0
  86. package/dist/herdr/generated/entry-methods.d.ts +9 -0
  87. package/dist/herdr/generated/entry-methods.js +17 -0
  88. package/dist/herdr/generated/errors.d.ts +4 -0
  89. package/dist/herdr/generated/errors.js +3 -0
  90. package/dist/herdr/generated/events.d.ts +274 -0
  91. package/dist/herdr/generated/events.js +3 -0
  92. package/dist/herdr/generated/index.d.ts +20 -0
  93. package/dist/herdr/generated/index.js +19 -0
  94. package/dist/herdr/generated/method-table.d.ts +615 -0
  95. package/dist/herdr/generated/method-table.js +106 -0
  96. package/dist/herdr/generated/names/agent-status.d.ts +10 -0
  97. package/dist/herdr/generated/names/agent-status.js +10 -0
  98. package/dist/herdr/generated/names/capability-class.d.ts +14 -0
  99. package/dist/herdr/generated/names/capability-class.js +15 -0
  100. package/dist/herdr/generated/names/event-kind.d.ts +31 -0
  101. package/dist/herdr/generated/names/event-kind.js +31 -0
  102. package/dist/herdr/generated/names/event-match-kind.d.ts +23 -0
  103. package/dist/herdr/generated/names/event-match-kind.js +24 -0
  104. package/dist/herdr/generated/names/index.d.ts +10 -0
  105. package/dist/herdr/generated/names/index.js +12 -0
  106. package/dist/herdr/generated/names/method.d.ts +209 -0
  107. package/dist/herdr/generated/names/method.js +209 -0
  108. package/dist/herdr/generated/names/result-tag.d.ts +68 -0
  109. package/dist/herdr/generated/names/result-tag.js +68 -0
  110. package/dist/herdr/generated/names/server-capability.d.ts +10 -0
  111. package/dist/herdr/generated/names/server-capability.js +11 -0
  112. package/dist/herdr/generated/names/subscription-event-kind.d.ts +8 -0
  113. package/dist/herdr/generated/names/subscription-event-kind.js +8 -0
  114. package/dist/herdr/generated/names/subscription-type.d.ts +31 -0
  115. package/dist/herdr/generated/names/subscription-type.js +32 -0
  116. package/dist/herdr/generated/names/token-name-pattern.d.ts +2 -0
  117. package/dist/herdr/generated/names/token-name-pattern.js +4 -0
  118. package/dist/herdr/generated/namespaces.d.ts +785 -0
  119. package/dist/herdr/generated/namespaces.js +3 -0
  120. package/dist/herdr/generated/overrides.d.ts +33 -0
  121. package/dist/herdr/generated/overrides.js +20 -0
  122. package/dist/herdr/generated/params.d.ts +799 -0
  123. package/dist/herdr/generated/params.js +3 -0
  124. package/dist/herdr/generated/preset-methods.d.ts +4 -0
  125. package/dist/herdr/generated/preset-methods.js +7 -0
  126. package/dist/herdr/generated/presets/sessions-reader.d.ts +2 -0
  127. package/dist/herdr/generated/presets/sessions-reader.js +5 -0
  128. package/dist/herdr/generated/results.d.ts +978 -0
  129. package/dist/herdr/generated/results.js +52 -0
  130. package/dist/herdr/generated/test-data/defaults.d.ts +739 -0
  131. package/dist/herdr/generated/test-data/defaults.js +741 -0
  132. package/dist/herdr/generated/test-data/shapes.d.ts +1325 -0
  133. package/dist/herdr/generated/test-data/shapes.js +2245 -0
  134. package/dist/herdr/test-kit/fake-herdr.d.ts +13 -0
  135. package/dist/herdr/test-kit/fake-herdr.js +216 -0
  136. package/dist/herdr/test-kit/fake-protocol.d.ts +107 -0
  137. package/dist/herdr/test-kit/fake-protocol.js +436 -0
  138. package/dist/herdr/test-kit/types.d.ts +88 -0
  139. package/dist/herdr/test-kit/types.js +1 -0
  140. package/dist/herdr/wire/codec.d.ts +36 -0
  141. package/dist/herdr/wire/codec.js +62 -0
  142. package/dist/herdr/wire/connection.d.ts +13 -0
  143. package/dist/herdr/wire/connection.js +65 -0
  144. package/dist/herdr/wire/dedicated.d.ts +2 -0
  145. package/dist/herdr/wire/dedicated.js +238 -0
  146. package/dist/herdr/wire/push-decoder.d.ts +2 -0
  147. package/dist/herdr/wire/push-decoder.js +40 -0
  148. package/dist/herdr/wire/rpc.d.ts +3 -0
  149. package/dist/herdr/wire/rpc.js +141 -0
  150. package/dist/herdr/wire/socket-path.d.ts +8 -0
  151. package/dist/herdr/wire/socket-path.js +23 -0
  152. package/dist/herdr/wire/types.d.ts +78 -0
  153. package/dist/herdr/wire/types.js +1 -0
  154. package/dist/index.d.ts +11 -0
  155. package/dist/index.js +7 -0
  156. package/dist/read-only.d.ts +5 -0
  157. package/dist/read-only.js +6 -0
  158. package/dist/schema.d.ts +5 -0
  159. package/dist/schema.js +6 -0
  160. package/dist/test-kit.d.ts +2 -0
  161. package/dist/test-kit.js +3 -0
  162. package/docs/api/events.md +43 -0
  163. package/docs/api/methods.md +232 -0
  164. package/package.json +112 -4
  165. package/schema/herdr-api.schema.json +10759 -0
  166. package/schema/herdr-version.json +5 -0
  167. package/skills/herdr-sdk/SKILL.md +75 -0
  168. package/skills/herdr-sdk/references/api-map.md +28 -0
  169. package/skills/herdr-sdk/references/errors.md +19 -0
  170. package/skills/herdr-sdk/references/recipes.md +171 -0
  171. package/skills/herdr-sdk/references/versions.md +7 -0
@@ -0,0 +1,741 @@
1
+ // GENERATED by tools/gen/ from schema/herdr-api.schema.json. Do not edit.
2
+ // herdr protocol 22, schema_version 1.
3
+ /**
4
+ * One schema-valid result per response tag, built from the result schema. Strings with a format or pattern hold the
5
+ * placeholder "default". The satisfies clause makes bun run typecheck fail when a default does not match its type.
6
+ * No `as const`: a readonly array would not satisfy the mutable array types in results.ts.
7
+ */
8
+ export const DEFAULT_RESULT = {
9
+ "pong": {
10
+ "protocol": 0,
11
+ "type": "pong",
12
+ "version": ""
13
+ },
14
+ "session_snapshot": {
15
+ "snapshot": {
16
+ "agents": [],
17
+ "layouts": [],
18
+ "panes": [],
19
+ "protocol": 0,
20
+ "tabs": [],
21
+ "version": "",
22
+ "workspaces": []
23
+ },
24
+ "type": "session_snapshot"
25
+ },
26
+ "workspace_info": {
27
+ "type": "workspace_info",
28
+ "workspace": {
29
+ "active_tab_id": "",
30
+ "agent_status": "idle",
31
+ "focused": false,
32
+ "label": "",
33
+ "number": 0,
34
+ "pane_count": 0,
35
+ "tab_count": 0,
36
+ "workspace_id": ""
37
+ }
38
+ },
39
+ "workspace_created": {
40
+ "root_pane": {
41
+ "agent_status": "idle",
42
+ "focused": false,
43
+ "pane_id": "",
44
+ "revision": 0,
45
+ "tab_id": "",
46
+ "terminal_id": "",
47
+ "workspace_id": ""
48
+ },
49
+ "tab": {
50
+ "agent_status": "idle",
51
+ "focused": false,
52
+ "label": "",
53
+ "number": 0,
54
+ "pane_count": 0,
55
+ "tab_id": "",
56
+ "workspace_id": ""
57
+ },
58
+ "type": "workspace_created",
59
+ "workspace": {
60
+ "active_tab_id": "",
61
+ "agent_status": "idle",
62
+ "focused": false,
63
+ "label": "",
64
+ "number": 0,
65
+ "pane_count": 0,
66
+ "tab_count": 0,
67
+ "workspace_id": ""
68
+ }
69
+ },
70
+ "workspace_list": {
71
+ "type": "workspace_list",
72
+ "workspaces": []
73
+ },
74
+ "worktree_list": {
75
+ "source": {
76
+ "repo_key": "",
77
+ "repo_name": "",
78
+ "repo_root": "",
79
+ "source_checkout_path": ""
80
+ },
81
+ "type": "worktree_list",
82
+ "worktrees": []
83
+ },
84
+ "worktree_created": {
85
+ "root_pane": {
86
+ "agent_status": "idle",
87
+ "focused": false,
88
+ "pane_id": "",
89
+ "revision": 0,
90
+ "tab_id": "",
91
+ "terminal_id": "",
92
+ "workspace_id": ""
93
+ },
94
+ "tab": {
95
+ "agent_status": "idle",
96
+ "focused": false,
97
+ "label": "",
98
+ "number": 0,
99
+ "pane_count": 0,
100
+ "tab_id": "",
101
+ "workspace_id": ""
102
+ },
103
+ "type": "worktree_created",
104
+ "workspace": {
105
+ "active_tab_id": "",
106
+ "agent_status": "idle",
107
+ "focused": false,
108
+ "label": "",
109
+ "number": 0,
110
+ "pane_count": 0,
111
+ "tab_count": 0,
112
+ "workspace_id": ""
113
+ },
114
+ "worktree": {
115
+ "is_bare": false,
116
+ "is_detached": false,
117
+ "is_linked_worktree": false,
118
+ "is_prunable": false,
119
+ "label": "",
120
+ "path": ""
121
+ }
122
+ },
123
+ "worktree_opened": {
124
+ "already_open": false,
125
+ "root_pane": {
126
+ "agent_status": "idle",
127
+ "focused": false,
128
+ "pane_id": "",
129
+ "revision": 0,
130
+ "tab_id": "",
131
+ "terminal_id": "",
132
+ "workspace_id": ""
133
+ },
134
+ "tab": {
135
+ "agent_status": "idle",
136
+ "focused": false,
137
+ "label": "",
138
+ "number": 0,
139
+ "pane_count": 0,
140
+ "tab_id": "",
141
+ "workspace_id": ""
142
+ },
143
+ "type": "worktree_opened",
144
+ "workspace": {
145
+ "active_tab_id": "",
146
+ "agent_status": "idle",
147
+ "focused": false,
148
+ "label": "",
149
+ "number": 0,
150
+ "pane_count": 0,
151
+ "tab_count": 0,
152
+ "workspace_id": ""
153
+ },
154
+ "worktree": {
155
+ "is_bare": false,
156
+ "is_detached": false,
157
+ "is_linked_worktree": false,
158
+ "is_prunable": false,
159
+ "label": "",
160
+ "path": ""
161
+ }
162
+ },
163
+ "worktree_removed": {
164
+ "forced": false,
165
+ "path": "",
166
+ "type": "worktree_removed",
167
+ "workspace_id": ""
168
+ },
169
+ "tab_info": {
170
+ "tab": {
171
+ "agent_status": "idle",
172
+ "focused": false,
173
+ "label": "",
174
+ "number": 0,
175
+ "pane_count": 0,
176
+ "tab_id": "",
177
+ "workspace_id": ""
178
+ },
179
+ "type": "tab_info"
180
+ },
181
+ "tab_created": {
182
+ "root_pane": {
183
+ "agent_status": "idle",
184
+ "focused": false,
185
+ "pane_id": "",
186
+ "revision": 0,
187
+ "tab_id": "",
188
+ "terminal_id": "",
189
+ "workspace_id": ""
190
+ },
191
+ "tab": {
192
+ "agent_status": "idle",
193
+ "focused": false,
194
+ "label": "",
195
+ "number": 0,
196
+ "pane_count": 0,
197
+ "tab_id": "",
198
+ "workspace_id": ""
199
+ },
200
+ "type": "tab_created"
201
+ },
202
+ "tab_list": {
203
+ "tabs": [],
204
+ "type": "tab_list"
205
+ },
206
+ "agent_info": {
207
+ "agent": {
208
+ "agent_status": "idle",
209
+ "focused": false,
210
+ "pane_id": "",
211
+ "revision": 0,
212
+ "tab_id": "",
213
+ "terminal_id": "",
214
+ "workspace_id": ""
215
+ },
216
+ "type": "agent_info"
217
+ },
218
+ "agent_started": {
219
+ "agent": {
220
+ "agent_status": "idle",
221
+ "focused": false,
222
+ "pane_id": "",
223
+ "revision": 0,
224
+ "tab_id": "",
225
+ "terminal_id": "",
226
+ "workspace_id": ""
227
+ },
228
+ "argv": [],
229
+ "type": "agent_started"
230
+ },
231
+ "agent_prompted": {
232
+ "agent": {
233
+ "agent_status": "idle",
234
+ "focused": false,
235
+ "pane_id": "",
236
+ "revision": 0,
237
+ "tab_id": "",
238
+ "terminal_id": "",
239
+ "workspace_id": ""
240
+ },
241
+ "type": "agent_prompted"
242
+ },
243
+ "agent_list": {
244
+ "agents": [],
245
+ "type": "agent_list"
246
+ },
247
+ "agent_view": {
248
+ "active": false,
249
+ "type": "agent_view"
250
+ },
251
+ "pane_info": {
252
+ "pane": {
253
+ "agent_status": "idle",
254
+ "focused": false,
255
+ "pane_id": "",
256
+ "revision": 0,
257
+ "tab_id": "",
258
+ "terminal_id": "",
259
+ "workspace_id": ""
260
+ },
261
+ "type": "pane_info"
262
+ },
263
+ "pane_list": {
264
+ "panes": [],
265
+ "type": "pane_list"
266
+ },
267
+ "pane_current": {
268
+ "pane": {
269
+ "agent_status": "idle",
270
+ "focused": false,
271
+ "pane_id": "",
272
+ "revision": 0,
273
+ "tab_id": "",
274
+ "terminal_id": "",
275
+ "workspace_id": ""
276
+ },
277
+ "type": "pane_current"
278
+ },
279
+ "pane_swap": {
280
+ "swap": {
281
+ "changed": false,
282
+ "focused_pane_id": "",
283
+ "layout": {
284
+ "area": {
285
+ "height": 0,
286
+ "width": 0,
287
+ "x": 0,
288
+ "y": 0
289
+ },
290
+ "focused_pane_id": "",
291
+ "panes": [],
292
+ "splits": [],
293
+ "tab_id": "",
294
+ "workspace_id": "",
295
+ "zoomed": false
296
+ },
297
+ "source_pane_id": ""
298
+ },
299
+ "type": "pane_swap"
300
+ },
301
+ "pane_move": {
302
+ "move_result": {
303
+ "changed": false,
304
+ "focused_pane_id": "",
305
+ "pane": {
306
+ "agent_status": "idle",
307
+ "focused": false,
308
+ "pane_id": "",
309
+ "revision": 0,
310
+ "tab_id": "",
311
+ "terminal_id": "",
312
+ "workspace_id": ""
313
+ },
314
+ "previous_pane_id": "",
315
+ "previous_tab_id": "",
316
+ "previous_workspace_id": "",
317
+ "target_layout": {
318
+ "area": {
319
+ "height": 0,
320
+ "width": 0,
321
+ "x": 0,
322
+ "y": 0
323
+ },
324
+ "focused_pane_id": "",
325
+ "panes": [],
326
+ "splits": [],
327
+ "tab_id": "",
328
+ "workspace_id": "",
329
+ "zoomed": false
330
+ }
331
+ },
332
+ "type": "pane_move"
333
+ },
334
+ "pane_zoom": {
335
+ "type": "pane_zoom",
336
+ "zoom": {
337
+ "changed": false,
338
+ "focus_changed": false,
339
+ "focused_pane_id": "",
340
+ "layout": {
341
+ "area": {
342
+ "height": 0,
343
+ "width": 0,
344
+ "x": 0,
345
+ "y": 0
346
+ },
347
+ "focused_pane_id": "",
348
+ "panes": [],
349
+ "splits": [],
350
+ "tab_id": "",
351
+ "workspace_id": "",
352
+ "zoomed": false
353
+ },
354
+ "pane_id": "",
355
+ "zoom_changed": false,
356
+ "zoomed": false
357
+ }
358
+ },
359
+ "pane_layout": {
360
+ "layout": {
361
+ "area": {
362
+ "height": 0,
363
+ "width": 0,
364
+ "x": 0,
365
+ "y": 0
366
+ },
367
+ "focused_pane_id": "",
368
+ "panes": [],
369
+ "splits": [],
370
+ "tab_id": "",
371
+ "workspace_id": "",
372
+ "zoomed": false
373
+ },
374
+ "type": "pane_layout"
375
+ },
376
+ "pane_process_info": {
377
+ "process_info": {
378
+ "pane_id": ""
379
+ },
380
+ "type": "pane_process_info"
381
+ },
382
+ "layout_export": {
383
+ "layout": {
384
+ "focused_pane_id": "",
385
+ "root": {
386
+ "type": "pane"
387
+ },
388
+ "tab_id": "",
389
+ "workspace_id": "",
390
+ "zoomed": false
391
+ },
392
+ "type": "layout_export"
393
+ },
394
+ "layout_apply": {
395
+ "layout": {
396
+ "focused_pane_id": "",
397
+ "root": {
398
+ "type": "pane"
399
+ },
400
+ "tab_id": "",
401
+ "workspace_id": "",
402
+ "zoomed": false
403
+ },
404
+ "type": "layout_apply"
405
+ },
406
+ "layout_split_ratio_set": {
407
+ "layout": {
408
+ "focused_pane_id": "",
409
+ "root": {
410
+ "type": "pane"
411
+ },
412
+ "tab_id": "",
413
+ "workspace_id": "",
414
+ "zoomed": false
415
+ },
416
+ "type": "layout_split_ratio_set"
417
+ },
418
+ "pane_neighbor": {
419
+ "neighbor": {
420
+ "direction": "left",
421
+ "layout": {
422
+ "area": {
423
+ "height": 0,
424
+ "width": 0,
425
+ "x": 0,
426
+ "y": 0
427
+ },
428
+ "focused_pane_id": "",
429
+ "panes": [],
430
+ "splits": [],
431
+ "tab_id": "",
432
+ "workspace_id": "",
433
+ "zoomed": false
434
+ },
435
+ "pane_id": ""
436
+ },
437
+ "type": "pane_neighbor"
438
+ },
439
+ "pane_edges": {
440
+ "edges": {
441
+ "down": false,
442
+ "layout": {
443
+ "area": {
444
+ "height": 0,
445
+ "width": 0,
446
+ "x": 0,
447
+ "y": 0
448
+ },
449
+ "focused_pane_id": "",
450
+ "panes": [],
451
+ "splits": [],
452
+ "tab_id": "",
453
+ "workspace_id": "",
454
+ "zoomed": false
455
+ },
456
+ "left": false,
457
+ "pane_id": "",
458
+ "right": false,
459
+ "up": false
460
+ },
461
+ "type": "pane_edges"
462
+ },
463
+ "pane_focus_direction": {
464
+ "focus": {
465
+ "changed": false,
466
+ "layout": {
467
+ "area": {
468
+ "height": 0,
469
+ "width": 0,
470
+ "x": 0,
471
+ "y": 0
472
+ },
473
+ "focused_pane_id": "",
474
+ "panes": [],
475
+ "splits": [],
476
+ "tab_id": "",
477
+ "workspace_id": "",
478
+ "zoomed": false
479
+ },
480
+ "source_pane_id": ""
481
+ },
482
+ "type": "pane_focus_direction"
483
+ },
484
+ "pane_resize": {
485
+ "resize": {
486
+ "changed": false,
487
+ "focused_pane_id": "",
488
+ "layout": {
489
+ "area": {
490
+ "height": 0,
491
+ "width": 0,
492
+ "x": 0,
493
+ "y": 0
494
+ },
495
+ "focused_pane_id": "",
496
+ "panes": [],
497
+ "splits": [],
498
+ "tab_id": "",
499
+ "workspace_id": "",
500
+ "zoomed": false
501
+ },
502
+ "pane_id": ""
503
+ },
504
+ "type": "pane_resize"
505
+ },
506
+ "pane_read": {
507
+ "read": {
508
+ "format": "text",
509
+ "pane_id": "",
510
+ "revision": 0,
511
+ "source": "visible",
512
+ "tab_id": "",
513
+ "text": "",
514
+ "truncated": false,
515
+ "workspace_id": ""
516
+ },
517
+ "type": "pane_read"
518
+ },
519
+ "pane_selection": {
520
+ "pane_id": "",
521
+ "text": "",
522
+ "type": "pane_selection"
523
+ },
524
+ "pane_copy_motion": {
525
+ "content_revision": 0,
526
+ "cursor": {
527
+ "col": 0,
528
+ "row": 0
529
+ },
530
+ "pane_id": "",
531
+ "type": "pane_copy_motion"
532
+ },
533
+ "pane_copy_search": {
534
+ "content_revision": 0,
535
+ "matches": [],
536
+ "pane_id": "",
537
+ "total": 0,
538
+ "type": "pane_copy_search"
539
+ },
540
+ "agent_explain": {
541
+ "explain": null,
542
+ "type": "agent_explain"
543
+ },
544
+ "subscription_started": {
545
+ "type": "subscription_started"
546
+ },
547
+ "wait_matched": {
548
+ "event": {
549
+ "data": {
550
+ "type": "workspace_created",
551
+ "workspace": {
552
+ "active_tab_id": "",
553
+ "agent_status": "idle",
554
+ "focused": false,
555
+ "label": "",
556
+ "number": 0,
557
+ "pane_count": 0,
558
+ "tab_count": 0,
559
+ "workspace_id": ""
560
+ }
561
+ },
562
+ "event": "workspace_created"
563
+ },
564
+ "type": "wait_matched"
565
+ },
566
+ "output_matched": {
567
+ "pane_id": "",
568
+ "read": {
569
+ "format": "text",
570
+ "pane_id": "",
571
+ "revision": 0,
572
+ "source": "visible",
573
+ "tab_id": "",
574
+ "text": "",
575
+ "truncated": false,
576
+ "workspace_id": ""
577
+ },
578
+ "revision": 0,
579
+ "type": "output_matched"
580
+ },
581
+ "notification_show": {
582
+ "reason": "shown",
583
+ "shown": false,
584
+ "type": "notification_show"
585
+ },
586
+ "client_window_title": {
587
+ "changed": false,
588
+ "reason": "set",
589
+ "type": "client_window_title"
590
+ },
591
+ "integration_list": {
592
+ "integrations": [],
593
+ "type": "integration_list"
594
+ },
595
+ "integration_install": {
596
+ "details": {
597
+ "messages": []
598
+ },
599
+ "target": "pi",
600
+ "type": "integration_install"
601
+ },
602
+ "integration_uninstall": {
603
+ "details": {
604
+ "messages": []
605
+ },
606
+ "target": "pi",
607
+ "type": "integration_uninstall"
608
+ },
609
+ "agent_manifest_reload": {
610
+ "manifests": [],
611
+ "type": "agent_manifest_reload"
612
+ },
613
+ "agent_manifest_status": {
614
+ "manifests": [],
615
+ "type": "agent_manifest_status"
616
+ },
617
+ "plugin_linked": {
618
+ "plugin": {
619
+ "enabled": false,
620
+ "manifest_path": "",
621
+ "name": "",
622
+ "plugin_id": "",
623
+ "plugin_root": "",
624
+ "version": ""
625
+ },
626
+ "type": "plugin_linked"
627
+ },
628
+ "plugin_list": {
629
+ "plugins": [],
630
+ "type": "plugin_list"
631
+ },
632
+ "plugin_unlinked": {
633
+ "plugin_id": "",
634
+ "removed": false,
635
+ "type": "plugin_unlinked"
636
+ },
637
+ "plugin_enabled": {
638
+ "plugin": {
639
+ "enabled": false,
640
+ "manifest_path": "",
641
+ "name": "",
642
+ "plugin_id": "",
643
+ "plugin_root": "",
644
+ "version": ""
645
+ },
646
+ "type": "plugin_enabled"
647
+ },
648
+ "plugin_disabled": {
649
+ "plugin": {
650
+ "enabled": false,
651
+ "manifest_path": "",
652
+ "name": "",
653
+ "plugin_id": "",
654
+ "plugin_root": "",
655
+ "version": ""
656
+ },
657
+ "type": "plugin_disabled"
658
+ },
659
+ "plugin_action_list": {
660
+ "actions": [],
661
+ "type": "plugin_action_list"
662
+ },
663
+ "plugin_action_invoked": {
664
+ "action": {
665
+ "action_id": "",
666
+ "command": [],
667
+ "plugin_id": "",
668
+ "title": ""
669
+ },
670
+ "context": {},
671
+ "log": {
672
+ "command": [],
673
+ "log_id": "",
674
+ "plugin_id": "",
675
+ "started_unix_ms": 0,
676
+ "status": "running"
677
+ },
678
+ "type": "plugin_action_invoked"
679
+ },
680
+ "pane_link_resolved": {
681
+ "regions": [],
682
+ "type": "pane_link_resolved"
683
+ },
684
+ "pane_link_activated": {
685
+ "handled": false,
686
+ "type": "pane_link_activated"
687
+ },
688
+ "plugin_log_list": {
689
+ "logs": [],
690
+ "type": "plugin_log_list"
691
+ },
692
+ "plugin_pane_opened": {
693
+ "plugin_pane": {
694
+ "entrypoint": "",
695
+ "pane": {
696
+ "agent_status": "idle",
697
+ "focused": false,
698
+ "pane_id": "",
699
+ "revision": 0,
700
+ "tab_id": "",
701
+ "terminal_id": "",
702
+ "workspace_id": ""
703
+ },
704
+ "plugin_id": ""
705
+ },
706
+ "type": "plugin_pane_opened"
707
+ },
708
+ "plugin_pane_focused": {
709
+ "plugin_pane": {
710
+ "entrypoint": "",
711
+ "pane": {
712
+ "agent_status": "idle",
713
+ "focused": false,
714
+ "pane_id": "",
715
+ "revision": 0,
716
+ "tab_id": "",
717
+ "terminal_id": "",
718
+ "workspace_id": ""
719
+ },
720
+ "plugin_id": ""
721
+ },
722
+ "type": "plugin_pane_focused"
723
+ },
724
+ "plugin_pane_closed": {
725
+ "pane_id": "",
726
+ "type": "plugin_pane_closed"
727
+ },
728
+ "config_reload": {
729
+ "diagnostics": [],
730
+ "status": "applied",
731
+ "type": "config_reload"
732
+ },
733
+ "client_shell_surface_set": {
734
+ "active": false,
735
+ "projection_revision": 0,
736
+ "type": "client_shell_surface_set"
737
+ },
738
+ "ok": {
739
+ "type": "ok"
740
+ }
741
+ };