@overdeck/contracts 0.49.0 → 0.49.2

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.
package/dist/index.d.ts CHANGED
@@ -332,6 +332,80 @@ declare const EmbedProgressSnapshot: Schema.Struct<{
332
332
  readonly timestamp: Schema.String;
333
333
  }>;
334
334
  type EmbedProgressSnapshot = typeof EmbedProgressSnapshot.Type;
335
+ declare const ProjectCiSuite: Schema.Struct<{
336
+ readonly status: Schema.String;
337
+ readonly conclusion: Schema.NullOr<Schema.String>;
338
+ readonly htmlUrl: Schema.optional<Schema.String>; /** GitHub's suite/run update time, used to reject delayed same-SHA events. */
339
+ readonly observedAt: Schema.optional<Schema.String>;
340
+ }>;
341
+ type ProjectCiSuite = typeof ProjectCiSuite.Type;
342
+ declare const ProjectCiSnapshot: Schema.Struct<{
343
+ readonly projectKey: Schema.String;
344
+ readonly repo: Schema.String;
345
+ readonly branch: Schema.String;
346
+ readonly headSha: Schema.String; /** suiteId → suite. Only GitHub Actions suites ever appear here. */
347
+ readonly suites: Schema.$Record<Schema.String, Schema.Struct<{
348
+ readonly status: Schema.String;
349
+ readonly conclusion: Schema.NullOr<Schema.String>;
350
+ readonly htmlUrl: Schema.optional<Schema.String>; /** GitHub's suite/run update time, used to reject delayed same-SHA events. */
351
+ readonly observedAt: Schema.optional<Schema.String>;
352
+ }>>; /** Newest `observedAt` folded into this record. */
353
+ readonly updatedAt: Schema.String;
354
+ }>;
355
+ type ProjectCiSnapshot = typeof ProjectCiSnapshot.Type;
356
+ /** What kind of process asked for the voluntary dashboard restart. */
357
+ declare const RestartGateKind: Schema.Literals<readonly ["deploy", "reload", "restart"]>;
358
+ type RestartGateKind = typeof RestartGateKind.Type;
359
+ /**
360
+ * One live restart request. `requesterId` is stable for a single requester
361
+ * invocation (e.g. `deploy:PAN-3724:<pid>`), so a re-poll refreshes the same
362
+ * row instead of adding another.
363
+ */
364
+ declare const RestartGateRequest: Schema.Struct<{
365
+ readonly requesterId: Schema.String;
366
+ readonly kind: Schema.Literals<readonly ["deploy", "reload", "restart"]>;
367
+ readonly reason: Schema.String;
368
+ readonly builtSha: Schema.optional<Schema.String>;
369
+ readonly requestedAt: Schema.String;
370
+ }>;
371
+ type RestartGateRequest = typeof RestartGateRequest.Type;
372
+ /**
373
+ * How the last approval cycle ended, when the ending is worth telling the
374
+ * operator about (PAN-3731). Present only inside the brief window after it
375
+ * happened, so the banner can explain a click that restarted nothing.
376
+ *
377
+ * `pruned-unclaimed` — an approved epoch expired with nobody left to perform
378
+ * the restart: every requester died before claiming, or a claimant lapsed and
379
+ * the rest gave up. Either way nothing was restarted.
380
+ */
381
+ declare const RestartGateOutcome: Schema.Struct<{
382
+ readonly type: Schema.Literals<readonly ["pruned-unclaimed"]>;
383
+ readonly at: Schema.String;
384
+ }>;
385
+ type RestartGateOutcome = typeof RestartGateOutcome.Type;
386
+ /**
387
+ * The operator-facing view of the restart gate — identical to the body of
388
+ * `GET /api/restart-gate`, so the banner and the CLI read the same shape.
389
+ *
390
+ * `idle` no live requests; `pending` requests are waiting for approval;
391
+ * `approved` the operator approved an epoch that nobody has claimed yet;
392
+ * `claimed` one requester holds the exclusive right to perform the restart.
393
+ */
394
+ declare const RestartGateSnapshot: Schema.Struct<{
395
+ readonly status: Schema.Literals<readonly ["idle", "pending", "approved", "claimed"]>;
396
+ readonly pending: Schema.$Array<Schema.Struct<{
397
+ readonly requesterId: Schema.String;
398
+ readonly kind: Schema.Literals<readonly ["deploy", "reload", "restart"]>;
399
+ readonly reason: Schema.String;
400
+ readonly builtSha: Schema.optional<Schema.String>;
401
+ readonly requestedAt: Schema.String;
402
+ }>>;
403
+ readonly lastOutcome: Schema.optional<Schema.Struct<{
404
+ readonly type: Schema.Literals<readonly ["pruned-unclaimed"]>;
405
+ readonly at: Schema.String;
406
+ }>>;
407
+ }>;
408
+ type RestartGateSnapshot = typeof RestartGateSnapshot.Type;
335
409
  declare const DashboardSnapshot: Schema.Struct<{
336
410
  readonly sequence: Schema.Number;
337
411
  readonly agents: Schema.$Array<Schema.Struct<{
@@ -530,6 +604,33 @@ declare const DashboardSnapshot: Schema.Struct<{
530
604
  readonly error: Schema.optional<Schema.String>;
531
605
  readonly timestamp: Schema.String;
532
606
  }>>>;
607
+ readonly ciByProjectKey: Schema.optional<Schema.$Record<Schema.String, Schema.Struct<{
608
+ readonly projectKey: Schema.String;
609
+ readonly repo: Schema.String;
610
+ readonly branch: Schema.String;
611
+ readonly headSha: Schema.String; /** suiteId → suite. Only GitHub Actions suites ever appear here. */
612
+ readonly suites: Schema.$Record<Schema.String, Schema.Struct<{
613
+ readonly status: Schema.String;
614
+ readonly conclusion: Schema.NullOr<Schema.String>;
615
+ readonly htmlUrl: Schema.optional<Schema.String>; /** GitHub's suite/run update time, used to reject delayed same-SHA events. */
616
+ readonly observedAt: Schema.optional<Schema.String>;
617
+ }>>; /** Newest `observedAt` folded into this record. */
618
+ readonly updatedAt: Schema.String;
619
+ }>>>;
620
+ readonly restartGate: Schema.optional<Schema.Struct<{
621
+ readonly status: Schema.Literals<readonly ["idle", "pending", "approved", "claimed"]>;
622
+ readonly pending: Schema.$Array<Schema.Struct<{
623
+ readonly requesterId: Schema.String;
624
+ readonly kind: Schema.Literals<readonly ["deploy", "reload", "restart"]>;
625
+ readonly reason: Schema.String;
626
+ readonly builtSha: Schema.optional<Schema.String>;
627
+ readonly requestedAt: Schema.String;
628
+ }>>;
629
+ readonly lastOutcome: Schema.optional<Schema.Struct<{
630
+ readonly type: Schema.Literals<readonly ["pruned-unclaimed"]>;
631
+ readonly at: Schema.String;
632
+ }>>;
633
+ }>>;
533
634
  readonly timestamp: Schema.String;
534
635
  }>;
535
636
  type DashboardSnapshot = typeof DashboardSnapshot.Type;
@@ -970,6 +1071,96 @@ declare const BeadsFreshnessChangedEvent: Schema.Struct<{
970
1071
  }>;
971
1072
  }>;
972
1073
  type BeadsFreshnessChangedEvent = typeof BeadsFreshnessChangedEvent.Type;
1074
+ /**
1075
+ * One GitHub Actions check suite observed on a project's default branch
1076
+ * (PAN-3537).
1077
+ *
1078
+ * Emitted by the `check_suite` webhook handler for live updates, only after an
1079
+ * independent branch-head lookup verifies the payload SHA is still current.
1080
+ * `suiteId` is the check suite id — for GitHub Actions that is one suite per
1081
+ * workflow run. The webhook payload does not carry `htmlUrl`.
1082
+ *
1083
+ * Boot and periodic repair use `project.ci_head_observed`, which replaces the
1084
+ * complete projection after pagination. Both events feed
1085
+ * `ReadModelState.ciByProjectKey`, a disposable cache rebuilt from REST on every
1086
+ * boot — there is no durable CI store.
1087
+ */
1088
+ declare const ProjectCiSuiteObservedEvent: Schema.Struct<{
1089
+ readonly type: Schema.Literal<"project.ci_suite_observed">;
1090
+ readonly sequence: Schema.Number;
1091
+ readonly timestamp: Schema.String;
1092
+ readonly payload: Schema.Struct<{
1093
+ readonly projectKey: Schema.String;
1094
+ readonly repo: Schema.String;
1095
+ readonly branch: Schema.String;
1096
+ readonly headSha: Schema.String;
1097
+ readonly suiteId: Schema.String;
1098
+ readonly status: Schema.String;
1099
+ readonly conclusion: Schema.NullOr<Schema.String>;
1100
+ readonly htmlUrl: Schema.optional<Schema.String>;
1101
+ readonly observedAt: Schema.String; /** True only after the emitter verified headSha against the branch head. */
1102
+ readonly authoritativeHead: Schema.optional<Schema.Boolean>;
1103
+ }>;
1104
+ }>;
1105
+ type ProjectCiSuiteObservedEvent = typeof ProjectCiSuiteObservedEvent.Type;
1106
+ /**
1107
+ * Complete GitHub Actions projection for the verified default-branch head.
1108
+ * The REST seed/repair emits one event after paginating every run and verifying
1109
+ * the branch head a second time. An empty suites record explicitly clears stale
1110
+ * CI when the current commit has no Actions runs.
1111
+ */
1112
+ declare const ProjectCiHeadObservedEvent: Schema.Struct<{
1113
+ readonly type: Schema.Literal<"project.ci_head_observed">;
1114
+ readonly sequence: Schema.Number;
1115
+ readonly timestamp: Schema.String;
1116
+ readonly payload: Schema.Struct<{
1117
+ readonly projectKey: Schema.String;
1118
+ readonly repo: Schema.String;
1119
+ readonly branch: Schema.String;
1120
+ readonly headSha: Schema.String;
1121
+ readonly suites: Schema.$Record<Schema.String, Schema.Struct<{
1122
+ readonly status: Schema.String;
1123
+ readonly conclusion: Schema.NullOr<Schema.String>;
1124
+ readonly htmlUrl: Schema.optional<Schema.String>;
1125
+ readonly observedAt: Schema.optional<Schema.String>;
1126
+ }>>;
1127
+ readonly observedAt: Schema.String;
1128
+ }>;
1129
+ }>;
1130
+ type ProjectCiHeadObservedEvent = typeof ProjectCiHeadObservedEvent.Type;
1131
+ /**
1132
+ * The restart gate changed (PAN-3729).
1133
+ *
1134
+ * The payload is the COMPLETE gate projection, not a delta, so the reducer is a
1135
+ * plain replace and no ordering logic is needed. Emitted by the gate writer
1136
+ * (`src/dashboard/server/services/restart-gate.ts`) on every mutation and on
1137
+ * every sweep tick that drops an expired request, so the approval banner clears
1138
+ * itself when a requester dies without polling again.
1139
+ *
1140
+ * The gate is runtime-plane state (like `~/.overdeck/dashboard-restarting.json`),
1141
+ * so this event is emitted in-memory only — it is never persisted to the event
1142
+ * log and never replayed at boot.
1143
+ */
1144
+ declare const RestartGateChangedEvent: Schema.Struct<{
1145
+ readonly type: Schema.Literal<"restart_gate.changed">;
1146
+ readonly sequence: Schema.Number;
1147
+ readonly timestamp: Schema.String;
1148
+ readonly payload: Schema.Struct<{
1149
+ readonly status: Schema.Literals<readonly ["idle", "pending", "approved", "claimed"]>;
1150
+ readonly pending: Schema.$Array<Schema.Struct<{
1151
+ readonly requesterId: Schema.String;
1152
+ readonly kind: Schema.Literals<readonly ["deploy", "reload", "restart"]>;
1153
+ readonly reason: Schema.String;
1154
+ readonly builtSha: Schema.optional<Schema.String>;
1155
+ readonly requestedAt: Schema.String;
1156
+ }>>;
1157
+ readonly lastOutcome: Schema.optional<Schema.Struct<{
1158
+ readonly type: Schema.Literals<readonly ["pruned-unclaimed"]>;
1159
+ readonly at: Schema.String;
1160
+ }>>;
1161
+ }>;
1162
+ }>;
1163
+ type RestartGateChangedEvent = typeof RestartGateChangedEvent.Type;
973
1164
  /** Replaces socket.io `agents:changed` (event: 'started') */
974
1165
  declare const AgentStartedEvent: Schema.Struct<{
975
1166
  readonly type: Schema.Literal<"agent.started">;
@@ -2668,6 +2859,57 @@ declare const DomainEvent: Schema.Union<readonly [Schema.Struct<{
2668
2859
  readonly localHead: Schema.String;
2669
2860
  readonly lastSyncedAt: Schema.String;
2670
2861
  }>;
2862
+ }>, Schema.Struct<{
2863
+ readonly type: Schema.Literal<"project.ci_suite_observed">;
2864
+ readonly sequence: Schema.Number;
2865
+ readonly timestamp: Schema.String;
2866
+ readonly payload: Schema.Struct<{
2867
+ readonly projectKey: Schema.String;
2868
+ readonly repo: Schema.String;
2869
+ readonly branch: Schema.String;
2870
+ readonly headSha: Schema.String;
2871
+ readonly suiteId: Schema.String;
2872
+ readonly status: Schema.String;
2873
+ readonly conclusion: Schema.NullOr<Schema.String>;
2874
+ readonly htmlUrl: Schema.optional<Schema.String>;
2875
+ readonly observedAt: Schema.String; /** True only after the emitter verified headSha against the branch head. */
2876
+ readonly authoritativeHead: Schema.optional<Schema.Boolean>;
2877
+ }>;
2878
+ }>, Schema.Struct<{
2879
+ readonly type: Schema.Literal<"project.ci_head_observed">;
2880
+ readonly sequence: Schema.Number;
2881
+ readonly timestamp: Schema.String;
2882
+ readonly payload: Schema.Struct<{
2883
+ readonly projectKey: Schema.String;
2884
+ readonly repo: Schema.String;
2885
+ readonly branch: Schema.String;
2886
+ readonly headSha: Schema.String;
2887
+ readonly suites: Schema.$Record<Schema.String, Schema.Struct<{
2888
+ readonly status: Schema.String;
2889
+ readonly conclusion: Schema.NullOr<Schema.String>;
2890
+ readonly htmlUrl: Schema.optional<Schema.String>;
2891
+ readonly observedAt: Schema.optional<Schema.String>;
2892
+ }>>;
2893
+ readonly observedAt: Schema.String;
2894
+ }>;
2895
+ }>, Schema.Struct<{
2896
+ readonly type: Schema.Literal<"restart_gate.changed">;
2897
+ readonly sequence: Schema.Number;
2898
+ readonly timestamp: Schema.String;
2899
+ readonly payload: Schema.Struct<{
2900
+ readonly status: Schema.Literals<readonly ["idle", "pending", "approved", "claimed"]>;
2901
+ readonly pending: Schema.$Array<Schema.Struct<{
2902
+ readonly requesterId: Schema.String;
2903
+ readonly kind: Schema.Literals<readonly ["deploy", "reload", "restart"]>;
2904
+ readonly reason: Schema.String;
2905
+ readonly builtSha: Schema.optional<Schema.String>;
2906
+ readonly requestedAt: Schema.String;
2907
+ }>>;
2908
+ readonly lastOutcome: Schema.optional<Schema.Struct<{
2909
+ readonly type: Schema.Literals<readonly ["pruned-unclaimed"]>;
2910
+ readonly at: Schema.String;
2911
+ }>>;
2912
+ }>;
2671
2913
  }>, Schema.Struct<{
2672
2914
  readonly type: Schema.Literal<"agent.created">;
2673
2915
  readonly sequence: Schema.Number;
@@ -4506,6 +4748,57 @@ declare const SubscribeDomainEventsRpc: Rpc.Rpc<"pan.subscribeDomainEvents", Sch
4506
4748
  readonly localHead: Schema.String;
4507
4749
  readonly lastSyncedAt: Schema.String;
4508
4750
  }>;
4751
+ }>, Schema.Struct<{
4752
+ readonly type: Schema.Literal<"project.ci_suite_observed">;
4753
+ readonly sequence: Schema.Number;
4754
+ readonly timestamp: Schema.String;
4755
+ readonly payload: Schema.Struct<{
4756
+ readonly projectKey: Schema.String;
4757
+ readonly repo: Schema.String;
4758
+ readonly branch: Schema.String;
4759
+ readonly headSha: Schema.String;
4760
+ readonly suiteId: Schema.String;
4761
+ readonly status: Schema.String;
4762
+ readonly conclusion: Schema.NullOr<Schema.String>;
4763
+ readonly htmlUrl: Schema.optional<Schema.String>;
4764
+ readonly observedAt: Schema.String;
4765
+ readonly authoritativeHead: Schema.optional<Schema.Boolean>;
4766
+ }>;
4767
+ }>, Schema.Struct<{
4768
+ readonly type: Schema.Literal<"project.ci_head_observed">;
4769
+ readonly sequence: Schema.Number;
4770
+ readonly timestamp: Schema.String;
4771
+ readonly payload: Schema.Struct<{
4772
+ readonly projectKey: Schema.String;
4773
+ readonly repo: Schema.String;
4774
+ readonly branch: Schema.String;
4775
+ readonly headSha: Schema.String;
4776
+ readonly suites: Schema.$Record<Schema.String, Schema.Struct<{
4777
+ readonly status: Schema.String;
4778
+ readonly conclusion: Schema.NullOr<Schema.String>;
4779
+ readonly htmlUrl: Schema.optional<Schema.String>;
4780
+ readonly observedAt: Schema.optional<Schema.String>;
4781
+ }>>;
4782
+ readonly observedAt: Schema.String;
4783
+ }>;
4784
+ }>, Schema.Struct<{
4785
+ readonly type: Schema.Literal<"restart_gate.changed">;
4786
+ readonly sequence: Schema.Number;
4787
+ readonly timestamp: Schema.String;
4788
+ readonly payload: Schema.Struct<{
4789
+ readonly status: Schema.Literals<readonly ["idle", "pending", "approved", "claimed"]>;
4790
+ readonly pending: Schema.$Array<Schema.Struct<{
4791
+ readonly requesterId: Schema.String;
4792
+ readonly kind: Schema.Literals<readonly ["deploy", "reload", "restart"]>;
4793
+ readonly reason: Schema.String;
4794
+ readonly builtSha: Schema.optional<Schema.String>;
4795
+ readonly requestedAt: Schema.String;
4796
+ }>>;
4797
+ readonly lastOutcome: Schema.optional<Schema.Struct<{
4798
+ readonly type: Schema.Literals<readonly ["pruned-unclaimed"]>;
4799
+ readonly at: Schema.String;
4800
+ }>>;
4801
+ }>;
4509
4802
  }>, Schema.Struct<{
4510
4803
  readonly type: Schema.Literal<"agent.created">;
4511
4804
  readonly sequence: Schema.Number;
@@ -5909,6 +6202,57 @@ declare const SubscribeIssueEventsRpc: Rpc.Rpc<"pan.subscribeIssueEvents", Schem
5909
6202
  readonly localHead: Schema.String;
5910
6203
  readonly lastSyncedAt: Schema.String;
5911
6204
  }>;
6205
+ }>, Schema.Struct<{
6206
+ readonly type: Schema.Literal<"project.ci_suite_observed">;
6207
+ readonly sequence: Schema.Number;
6208
+ readonly timestamp: Schema.String;
6209
+ readonly payload: Schema.Struct<{
6210
+ readonly projectKey: Schema.String;
6211
+ readonly repo: Schema.String;
6212
+ readonly branch: Schema.String;
6213
+ readonly headSha: Schema.String;
6214
+ readonly suiteId: Schema.String;
6215
+ readonly status: Schema.String;
6216
+ readonly conclusion: Schema.NullOr<Schema.String>;
6217
+ readonly htmlUrl: Schema.optional<Schema.String>;
6218
+ readonly observedAt: Schema.String;
6219
+ readonly authoritativeHead: Schema.optional<Schema.Boolean>;
6220
+ }>;
6221
+ }>, Schema.Struct<{
6222
+ readonly type: Schema.Literal<"project.ci_head_observed">;
6223
+ readonly sequence: Schema.Number;
6224
+ readonly timestamp: Schema.String;
6225
+ readonly payload: Schema.Struct<{
6226
+ readonly projectKey: Schema.String;
6227
+ readonly repo: Schema.String;
6228
+ readonly branch: Schema.String;
6229
+ readonly headSha: Schema.String;
6230
+ readonly suites: Schema.$Record<Schema.String, Schema.Struct<{
6231
+ readonly status: Schema.String;
6232
+ readonly conclusion: Schema.NullOr<Schema.String>;
6233
+ readonly htmlUrl: Schema.optional<Schema.String>;
6234
+ readonly observedAt: Schema.optional<Schema.String>;
6235
+ }>>;
6236
+ readonly observedAt: Schema.String;
6237
+ }>;
6238
+ }>, Schema.Struct<{
6239
+ readonly type: Schema.Literal<"restart_gate.changed">;
6240
+ readonly sequence: Schema.Number;
6241
+ readonly timestamp: Schema.String;
6242
+ readonly payload: Schema.Struct<{
6243
+ readonly status: Schema.Literals<readonly ["idle", "pending", "approved", "claimed"]>;
6244
+ readonly pending: Schema.$Array<Schema.Struct<{
6245
+ readonly requesterId: Schema.String;
6246
+ readonly kind: Schema.Literals<readonly ["deploy", "reload", "restart"]>;
6247
+ readonly reason: Schema.String;
6248
+ readonly builtSha: Schema.optional<Schema.String>;
6249
+ readonly requestedAt: Schema.String;
6250
+ }>>;
6251
+ readonly lastOutcome: Schema.optional<Schema.Struct<{
6252
+ readonly type: Schema.Literals<readonly ["pruned-unclaimed"]>;
6253
+ readonly at: Schema.String;
6254
+ }>>;
6255
+ }>;
5912
6256
  }>, Schema.Struct<{
5913
6257
  readonly type: Schema.Literal<"agent.created">;
5914
6258
  readonly sequence: Schema.Number;
@@ -7509,6 +7853,33 @@ declare const GetSnapshotRpc: Rpc.Rpc<"pan.getSnapshot", Schema.Struct<{}>, Sche
7509
7853
  readonly error: Schema.optional<Schema.String>;
7510
7854
  readonly timestamp: Schema.String;
7511
7855
  }>>>;
7856
+ readonly ciByProjectKey: Schema.optional<Schema.$Record<Schema.String, Schema.Struct<{
7857
+ readonly projectKey: Schema.String;
7858
+ readonly repo: Schema.String;
7859
+ readonly branch: Schema.String;
7860
+ readonly headSha: Schema.String;
7861
+ readonly suites: Schema.$Record<Schema.String, Schema.Struct<{
7862
+ readonly status: Schema.String;
7863
+ readonly conclusion: Schema.NullOr<Schema.String>;
7864
+ readonly htmlUrl: Schema.optional<Schema.String>;
7865
+ readonly observedAt: Schema.optional<Schema.String>;
7866
+ }>>;
7867
+ readonly updatedAt: Schema.String;
7868
+ }>>>;
7869
+ readonly restartGate: Schema.optional<Schema.Struct<{
7870
+ readonly status: Schema.Literals<readonly ["idle", "pending", "approved", "claimed"]>;
7871
+ readonly pending: Schema.$Array<Schema.Struct<{
7872
+ readonly requesterId: Schema.String;
7873
+ readonly kind: Schema.Literals<readonly ["deploy", "reload", "restart"]>;
7874
+ readonly reason: Schema.String;
7875
+ readonly builtSha: Schema.optional<Schema.String>;
7876
+ readonly requestedAt: Schema.String;
7877
+ }>>;
7878
+ readonly lastOutcome: Schema.optional<Schema.Struct<{
7879
+ readonly type: Schema.Literals<readonly ["pruned-unclaimed"]>;
7880
+ readonly at: Schema.String;
7881
+ }>>;
7882
+ }>>;
7512
7883
  readonly timestamp: Schema.String;
7513
7884
  }>, typeof PanRpcError, never, never>;
7514
7885
  /** 5. Replay events since a given sequence number (unary) */
@@ -7529,6 +7900,57 @@ declare const ReplayEventsRpc: Rpc.Rpc<"pan.replayEvents", Schema.Struct<{
7529
7900
  readonly localHead: Schema.String;
7530
7901
  readonly lastSyncedAt: Schema.String;
7531
7902
  }>;
7903
+ }>, Schema.Struct<{
7904
+ readonly type: Schema.Literal<"project.ci_suite_observed">;
7905
+ readonly sequence: Schema.Number;
7906
+ readonly timestamp: Schema.String;
7907
+ readonly payload: Schema.Struct<{
7908
+ readonly projectKey: Schema.String;
7909
+ readonly repo: Schema.String;
7910
+ readonly branch: Schema.String;
7911
+ readonly headSha: Schema.String;
7912
+ readonly suiteId: Schema.String;
7913
+ readonly status: Schema.String;
7914
+ readonly conclusion: Schema.NullOr<Schema.String>;
7915
+ readonly htmlUrl: Schema.optional<Schema.String>;
7916
+ readonly observedAt: Schema.String;
7917
+ readonly authoritativeHead: Schema.optional<Schema.Boolean>;
7918
+ }>;
7919
+ }>, Schema.Struct<{
7920
+ readonly type: Schema.Literal<"project.ci_head_observed">;
7921
+ readonly sequence: Schema.Number;
7922
+ readonly timestamp: Schema.String;
7923
+ readonly payload: Schema.Struct<{
7924
+ readonly projectKey: Schema.String;
7925
+ readonly repo: Schema.String;
7926
+ readonly branch: Schema.String;
7927
+ readonly headSha: Schema.String;
7928
+ readonly suites: Schema.$Record<Schema.String, Schema.Struct<{
7929
+ readonly status: Schema.String;
7930
+ readonly conclusion: Schema.NullOr<Schema.String>;
7931
+ readonly htmlUrl: Schema.optional<Schema.String>;
7932
+ readonly observedAt: Schema.optional<Schema.String>;
7933
+ }>>;
7934
+ readonly observedAt: Schema.String;
7935
+ }>;
7936
+ }>, Schema.Struct<{
7937
+ readonly type: Schema.Literal<"restart_gate.changed">;
7938
+ readonly sequence: Schema.Number;
7939
+ readonly timestamp: Schema.String;
7940
+ readonly payload: Schema.Struct<{
7941
+ readonly status: Schema.Literals<readonly ["idle", "pending", "approved", "claimed"]>;
7942
+ readonly pending: Schema.$Array<Schema.Struct<{
7943
+ readonly requesterId: Schema.String;
7944
+ readonly kind: Schema.Literals<readonly ["deploy", "reload", "restart"]>;
7945
+ readonly reason: Schema.String;
7946
+ readonly builtSha: Schema.optional<Schema.String>;
7947
+ readonly requestedAt: Schema.String;
7948
+ }>>;
7949
+ readonly lastOutcome: Schema.optional<Schema.Struct<{
7950
+ readonly type: Schema.Literals<readonly ["pruned-unclaimed"]>;
7951
+ readonly at: Schema.String;
7952
+ }>>;
7953
+ }>;
7532
7954
  }>, Schema.Struct<{
7533
7955
  readonly type: Schema.Literal<"agent.created">;
7534
7956
  readonly sequence: Schema.Number;
@@ -9717,6 +10139,57 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
9717
10139
  readonly localHead: Schema.String;
9718
10140
  readonly lastSyncedAt: Schema.String;
9719
10141
  }>;
10142
+ }>, Schema.Struct<{
10143
+ readonly type: Schema.Literal<"project.ci_suite_observed">;
10144
+ readonly sequence: Schema.Number;
10145
+ readonly timestamp: Schema.String;
10146
+ readonly payload: Schema.Struct<{
10147
+ readonly projectKey: Schema.String;
10148
+ readonly repo: Schema.String;
10149
+ readonly branch: Schema.String;
10150
+ readonly headSha: Schema.String;
10151
+ readonly suiteId: Schema.String;
10152
+ readonly status: Schema.String;
10153
+ readonly conclusion: Schema.NullOr<Schema.String>;
10154
+ readonly htmlUrl: Schema.optional<Schema.String>;
10155
+ readonly observedAt: Schema.String;
10156
+ readonly authoritativeHead: Schema.optional<Schema.Boolean>;
10157
+ }>;
10158
+ }>, Schema.Struct<{
10159
+ readonly type: Schema.Literal<"project.ci_head_observed">;
10160
+ readonly sequence: Schema.Number;
10161
+ readonly timestamp: Schema.String;
10162
+ readonly payload: Schema.Struct<{
10163
+ readonly projectKey: Schema.String;
10164
+ readonly repo: Schema.String;
10165
+ readonly branch: Schema.String;
10166
+ readonly headSha: Schema.String;
10167
+ readonly suites: Schema.$Record<Schema.String, Schema.Struct<{
10168
+ readonly status: Schema.String;
10169
+ readonly conclusion: Schema.NullOr<Schema.String>;
10170
+ readonly htmlUrl: Schema.optional<Schema.String>;
10171
+ readonly observedAt: Schema.optional<Schema.String>;
10172
+ }>>;
10173
+ readonly observedAt: Schema.String;
10174
+ }>;
10175
+ }>, Schema.Struct<{
10176
+ readonly type: Schema.Literal<"restart_gate.changed">;
10177
+ readonly sequence: Schema.Number;
10178
+ readonly timestamp: Schema.String;
10179
+ readonly payload: Schema.Struct<{
10180
+ readonly status: Schema.Literals<readonly ["idle", "pending", "approved", "claimed"]>;
10181
+ readonly pending: Schema.$Array<Schema.Struct<{
10182
+ readonly requesterId: Schema.String;
10183
+ readonly kind: Schema.Literals<readonly ["deploy", "reload", "restart"]>;
10184
+ readonly reason: Schema.String;
10185
+ readonly builtSha: Schema.optional<Schema.String>;
10186
+ readonly requestedAt: Schema.String;
10187
+ }>>;
10188
+ readonly lastOutcome: Schema.optional<Schema.Struct<{
10189
+ readonly type: Schema.Literals<readonly ["pruned-unclaimed"]>;
10190
+ readonly at: Schema.String;
10191
+ }>>;
10192
+ }>;
9720
10193
  }>, Schema.Struct<{
9721
10194
  readonly type: Schema.Literal<"agent.created">;
9722
10195
  readonly sequence: Schema.Number;
@@ -11118,6 +11591,57 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
11118
11591
  readonly localHead: Schema.String;
11119
11592
  readonly lastSyncedAt: Schema.String;
11120
11593
  }>;
11594
+ }>, Schema.Struct<{
11595
+ readonly type: Schema.Literal<"project.ci_suite_observed">;
11596
+ readonly sequence: Schema.Number;
11597
+ readonly timestamp: Schema.String;
11598
+ readonly payload: Schema.Struct<{
11599
+ readonly projectKey: Schema.String;
11600
+ readonly repo: Schema.String;
11601
+ readonly branch: Schema.String;
11602
+ readonly headSha: Schema.String;
11603
+ readonly suiteId: Schema.String;
11604
+ readonly status: Schema.String;
11605
+ readonly conclusion: Schema.NullOr<Schema.String>;
11606
+ readonly htmlUrl: Schema.optional<Schema.String>;
11607
+ readonly observedAt: Schema.String;
11608
+ readonly authoritativeHead: Schema.optional<Schema.Boolean>;
11609
+ }>;
11610
+ }>, Schema.Struct<{
11611
+ readonly type: Schema.Literal<"project.ci_head_observed">;
11612
+ readonly sequence: Schema.Number;
11613
+ readonly timestamp: Schema.String;
11614
+ readonly payload: Schema.Struct<{
11615
+ readonly projectKey: Schema.String;
11616
+ readonly repo: Schema.String;
11617
+ readonly branch: Schema.String;
11618
+ readonly headSha: Schema.String;
11619
+ readonly suites: Schema.$Record<Schema.String, Schema.Struct<{
11620
+ readonly status: Schema.String;
11621
+ readonly conclusion: Schema.NullOr<Schema.String>;
11622
+ readonly htmlUrl: Schema.optional<Schema.String>;
11623
+ readonly observedAt: Schema.optional<Schema.String>;
11624
+ }>>;
11625
+ readonly observedAt: Schema.String;
11626
+ }>;
11627
+ }>, Schema.Struct<{
11628
+ readonly type: Schema.Literal<"restart_gate.changed">;
11629
+ readonly sequence: Schema.Number;
11630
+ readonly timestamp: Schema.String;
11631
+ readonly payload: Schema.Struct<{
11632
+ readonly status: Schema.Literals<readonly ["idle", "pending", "approved", "claimed"]>;
11633
+ readonly pending: Schema.$Array<Schema.Struct<{
11634
+ readonly requesterId: Schema.String;
11635
+ readonly kind: Schema.Literals<readonly ["deploy", "reload", "restart"]>;
11636
+ readonly reason: Schema.String;
11637
+ readonly builtSha: Schema.optional<Schema.String>;
11638
+ readonly requestedAt: Schema.String;
11639
+ }>>;
11640
+ readonly lastOutcome: Schema.optional<Schema.Struct<{
11641
+ readonly type: Schema.Literals<readonly ["pruned-unclaimed"]>;
11642
+ readonly at: Schema.String;
11643
+ }>>;
11644
+ }>;
11121
11645
  }>, Schema.Struct<{
11122
11646
  readonly type: Schema.Literal<"agent.created">;
11123
11647
  readonly sequence: Schema.Number;
@@ -12712,6 +13236,33 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
12712
13236
  readonly error: Schema.optional<Schema.String>;
12713
13237
  readonly timestamp: Schema.String;
12714
13238
  }>>>;
13239
+ readonly ciByProjectKey: Schema.optional<Schema.$Record<Schema.String, Schema.Struct<{
13240
+ readonly projectKey: Schema.String;
13241
+ readonly repo: Schema.String;
13242
+ readonly branch: Schema.String;
13243
+ readonly headSha: Schema.String;
13244
+ readonly suites: Schema.$Record<Schema.String, Schema.Struct<{
13245
+ readonly status: Schema.String;
13246
+ readonly conclusion: Schema.NullOr<Schema.String>;
13247
+ readonly htmlUrl: Schema.optional<Schema.String>;
13248
+ readonly observedAt: Schema.optional<Schema.String>;
13249
+ }>>;
13250
+ readonly updatedAt: Schema.String;
13251
+ }>>>;
13252
+ readonly restartGate: Schema.optional<Schema.Struct<{
13253
+ readonly status: Schema.Literals<readonly ["idle", "pending", "approved", "claimed"]>;
13254
+ readonly pending: Schema.$Array<Schema.Struct<{
13255
+ readonly requesterId: Schema.String;
13256
+ readonly kind: Schema.Literals<readonly ["deploy", "reload", "restart"]>;
13257
+ readonly reason: Schema.String;
13258
+ readonly builtSha: Schema.optional<Schema.String>;
13259
+ readonly requestedAt: Schema.String;
13260
+ }>>;
13261
+ readonly lastOutcome: Schema.optional<Schema.Struct<{
13262
+ readonly type: Schema.Literals<readonly ["pruned-unclaimed"]>;
13263
+ readonly at: Schema.String;
13264
+ }>>;
13265
+ }>>;
12715
13266
  readonly timestamp: Schema.String;
12716
13267
  }>, typeof PanRpcError, never, never> | Rpc.Rpc<"pan.replayEvents", Schema.Struct<{
12717
13268
  readonly fromSequence: Schema.Number;
@@ -12730,6 +13281,57 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
12730
13281
  readonly localHead: Schema.String;
12731
13282
  readonly lastSyncedAt: Schema.String;
12732
13283
  }>;
13284
+ }>, Schema.Struct<{
13285
+ readonly type: Schema.Literal<"project.ci_suite_observed">;
13286
+ readonly sequence: Schema.Number;
13287
+ readonly timestamp: Schema.String;
13288
+ readonly payload: Schema.Struct<{
13289
+ readonly projectKey: Schema.String;
13290
+ readonly repo: Schema.String;
13291
+ readonly branch: Schema.String;
13292
+ readonly headSha: Schema.String;
13293
+ readonly suiteId: Schema.String;
13294
+ readonly status: Schema.String;
13295
+ readonly conclusion: Schema.NullOr<Schema.String>;
13296
+ readonly htmlUrl: Schema.optional<Schema.String>;
13297
+ readonly observedAt: Schema.String;
13298
+ readonly authoritativeHead: Schema.optional<Schema.Boolean>;
13299
+ }>;
13300
+ }>, Schema.Struct<{
13301
+ readonly type: Schema.Literal<"project.ci_head_observed">;
13302
+ readonly sequence: Schema.Number;
13303
+ readonly timestamp: Schema.String;
13304
+ readonly payload: Schema.Struct<{
13305
+ readonly projectKey: Schema.String;
13306
+ readonly repo: Schema.String;
13307
+ readonly branch: Schema.String;
13308
+ readonly headSha: Schema.String;
13309
+ readonly suites: Schema.$Record<Schema.String, Schema.Struct<{
13310
+ readonly status: Schema.String;
13311
+ readonly conclusion: Schema.NullOr<Schema.String>;
13312
+ readonly htmlUrl: Schema.optional<Schema.String>;
13313
+ readonly observedAt: Schema.optional<Schema.String>;
13314
+ }>>;
13315
+ readonly observedAt: Schema.String;
13316
+ }>;
13317
+ }>, Schema.Struct<{
13318
+ readonly type: Schema.Literal<"restart_gate.changed">;
13319
+ readonly sequence: Schema.Number;
13320
+ readonly timestamp: Schema.String;
13321
+ readonly payload: Schema.Struct<{
13322
+ readonly status: Schema.Literals<readonly ["idle", "pending", "approved", "claimed"]>;
13323
+ readonly pending: Schema.$Array<Schema.Struct<{
13324
+ readonly requesterId: Schema.String;
13325
+ readonly kind: Schema.Literals<readonly ["deploy", "reload", "restart"]>;
13326
+ readonly reason: Schema.String;
13327
+ readonly builtSha: Schema.optional<Schema.String>;
13328
+ readonly requestedAt: Schema.String;
13329
+ }>>;
13330
+ readonly lastOutcome: Schema.optional<Schema.Struct<{
13331
+ readonly type: Schema.Literals<readonly ["pruned-unclaimed"]>;
13332
+ readonly at: Schema.String;
13333
+ }>>;
13334
+ }>;
12733
13335
  }>, Schema.Struct<{
12734
13336
  readonly type: Schema.Literal<"agent.created">;
12735
13337
  readonly sequence: Schema.Number;
@@ -14847,6 +15449,10 @@ interface ReadModelState {
14847
15449
  enrichProgressBySessionId: Record<number, EnrichProgressSnapshot>;
14848
15450
  /** PAN-457 — latest per-session embedding progress */
14849
15451
  embedProgressBySessionId: Record<number, EmbedProgressSnapshot>;
15452
+ /** PAN-3537 — per-project default-branch CI record, keyed by project key. */
15453
+ ciByProjectKey: Record<string, ProjectCiSnapshot>;
15454
+ /** PAN-3729 — voluntary-restart approval gate; null until the gate first reports. */
15455
+ restartGate: RestartGateSnapshot | null;
14850
15456
  /** sessionId (from agent snapshot or runtime claudeSessionId) → agentId index */
14851
15457
  agentIdBySessionId: Record<string, string>;
14852
15458
  }
@@ -14873,6 +15479,17 @@ declare function syncSnapshot(state: ReadModelState, snapshot: DashboardSnapshot
14873
15479
  declare function applyEvent(state: ReadModelState, event: DomainEvent): ReadModelState;
14874
15480
  declare function applyEvents(state: ReadModelState, events: DomainEvent[]): ReadModelState;
14875
15481
  //#endregion
15482
+ //#region src/project-ci.d.ts
15483
+ type ProjectCiState = 'queued' | 'in_progress' | 'success' | 'failure';
15484
+ interface DerivedProjectCi {
15485
+ state: ProjectCiState;
15486
+ completed: number;
15487
+ total: number;
15488
+ /** Where the chip navigates. Always an absolute github.com URL. */
15489
+ href: string;
15490
+ }
15491
+ declare function deriveProjectCi(record: ProjectCiSnapshot): DerivedProjectCi;
15492
+ //#endregion
14876
15493
  //#region src/editor.d.ts
14877
15494
  declare const EDITORS: readonly [{
14878
15495
  readonly id: "cursor";
@@ -17066,7 +17683,7 @@ declare const TELEMETRY_PROPERTY_DOMAINS: {
17066
17683
  readonly cli_verb: readonly ["abort", "approve", "backlog", "backup", "clean", "context", "destroy", "dev", "diff", "doctor", "done", "down", "edit", "finalize", "fork", "handoff", "health", "init", "issues", "kill", "list", "migrate", "mode", "open", "pause", "pending", "plan", "project", "projects", "recover", "reload", "reopen", "request", "reset", "restart", "restore", "resume", "review", "scope", "serve", "show", "skills", "spawn-reviewer", "staffing", "start", "status", "strike", "sync", "sync-main", "tell", "unarchive-conversation", "unpause", "untroubled", "up", "update", "validate", "wipe", "write-sequence", "other"];
17067
17684
  readonly close_out_variant: readonly ["card", "inspector"];
17068
17685
  readonly count_bucket: readonly ["0", "1-2", "3-5", "6-10", "11+"];
17069
- readonly dashboard_tab: readonly ["home", "pipeline", "kanban", "command-deck", "agents", "flywheel", "orders", "backlog", "resources", "knowledge", "skills", "context", "health", "activity", "metrics", "costs", "autopreso", "settings", "god-view", "deacon", "sessions", "awaiting-merge", "workspace"];
17686
+ readonly dashboard_tab: readonly ["home", "pipeline", "kanban", "command-deck", "agents", "flywheel", "orders", "backlog", "resources", "knowledge", "skills", "context", "health", "activity", "metrics", "costs", "autopreso", "settings", "god-view", "deacon", "sessions", "awaiting-merge", "workspace-new", "workspace"];
17070
17687
  readonly decision_subject: readonly ["agent", "conversation"];
17071
17688
  readonly duration_bucket: readonly ["under_100ms", "100ms-999ms", "1s-9s", "10s+"];
17072
17689
  readonly forge: readonly ["github", "gitlab"];
@@ -17420,5 +18037,5 @@ declare const WIRED_HOOK_INVENTORY: ({
17420
18037
  })[];
17421
18038
  declare const WIRED_HOOK_NAMES: ("PreToolUse" | "PostToolUse" | "PostToolUseFailure" | "Stop" | "SessionStart" | "Notification" | "UserPromptSubmit" | "PreCompact" | "PostCompact" | "PermissionRequest")[];
17422
18039
  //#endregion
17423
- export { ACP_BEHAVIOR, Activity, ActivityDetailedEvent, ActivityEntryEvent, ActivityTtsEvent, ActivityUpdatedEvent, AdmissionState, AgentActivityChangedEvent, AgentChannelReply, AgentChannelReplyEvent, AgentCompletedEvent, AgentContextSaturationChangedEvent, AgentCreatedEvent, AgentCurrentIssueSetEvent, AgentEnrichmentChangedEvent, AgentHealthKind, AgentHealthSnapshot, AgentHealthStatus, AgentHeartbeatDeadEvent, AgentHookFiredEvent, AgentId, AgentMessageReceivedEvent, AgentModelSetEvent, AgentOutput, AgentOutputReceivedEvent, AgentPermissionRequestedEvent, AgentPermissionResolvedEvent, AgentQuestionAnsweredProperties, AgentResolution, AgentResolutionChangedEvent, AgentRuntimeSnapshot, AgentSnapshot, AgentSpawnedProperties, AgentStartedEvent, AgentStateRestoredEvent, AgentStatus, AgentStatusChangedEvent, AgentStoppedEvent, AgentThinkingStartedEvent, AgentThinkingStoppedEvent, AgentTurnDiffCompletedEvent, AgentWaitingClearedEvent, AgentWaitingStartedEvent, ArtifactAgentHarness, ArtifactAgentRole, ArtifactCreateResponse, ArtifactDetailResponse, ArtifactHash, ArtifactId, ArtifactLifecycleState, ArtifactListEntry, ArtifactListResponse, ArtifactMetadata, ArtifactPublishResponse, ArtifactSlug, ArtifactStatusResponse, ArtifactUnshareResponse, ArtifactUrls, ArtifactValidationCode, ArtifactValidationFinding, ArtifactValidationResult, AutoMergeToggledProperties, BeadsFreshnessChangedEvent, BulkCloseOutInitiatedProperties, CHANNEL_REPLY_KIND_VALUES, CLAUDE_CODE_BEHAVIOR, CODEX_BEHAVIOR, COMPOSER_COMMAND_INSERT_OVERRIDES, COMPOSER_COMMAND_MANIFEST, COMPOSER_COMMAND_VARIANTS, CONTEXT_LAYER_KINDS, CONTEXT_PREVIEW_HARNESSES, ChannelPermissionRequestSnapshot, ChannelReplyArtifactRef, ChannelReplyKind, ChatMessage, ClaudeChannelPermissionBehavior, CliCommandRunProperties, CompactBoundary, ComposerCommandArgument, ComposerCommandManifestEntry, ComposerCommandOption, ComposerCommandPolicy, ComposerCommandResult, ComposerExecutionMode, ComposerSafety, ContextEditableLayerRecord, ContextHarnessPreviews, ContextLayerDraft, ContextLayerKind, ContextLayerSaveRequest, ContextLayerSaveResponse, ContextLayerTarget, ContextLayersResponse, ContextPreviewDiagnostic, ContextPreviewHarness, ContextPreviewRequest, ContextPreviewResponse, ContextProjectSummary, ContextSyncRequest, ContextSyncResponse, ContextSyncTarget, ContextUsage, ContextWorkspaceSummary, ConversationCompactingChangedEvent, ConversationCostSummary, ConversationCreatedEvent, ConversationEvent, ConversationFilter, ConversationForkedProperties, ConversationMovedEvent, ConversationPermissionChangedEvent, ConversationResponse, ConversationTitleChangedEvent, CostEventRecordedEvent, DEFAULT_MAX_MEMORY_OBSERVATIONS_PER_ISSUE, DEFAULT_MAX_TURN_DIFF_SUMMARIES_PER_AGENT, DashboardLifecycleCompletedEvent, DashboardLifecycleFailedEvent, DashboardLifecycleStartedEvent, DashboardLifecycleState, DashboardSnapshot, DashboardTabViewedProperties, DeepWipeRpc, DeployStalenessSnapshot, DiscoveredSessionSnapshot, DomainEvent, EDITORS, EditorEntry, EditorId, EditorIdSchema, EmbedProgressEvent, EmbedProgressSnapshot, EmbedSessionsRpc, EnrichCompleteEvent, EnrichProgressEvent, EnrichProgressSnapshot, EnrichSessionsRpc, EnrichStatsSnapshot, ExtractionProviderConfig, ExtractionProviderTarget, FeatureNode, FeatureRegistryEntry, FeatureRegistryListFilter, FeatureRegistryOwnershipUpdate, FeatureRegistryStatus, FeatureRegistryTagInput, FeatureRegistryUntagInput, FlywheelAgent, FlywheelAgentStatus, FlywheelEffort, FlywheelHarness, FlywheelHeadline, FlywheelHttpUrl, FlywheelOrchestrator, FlywheelOrders, FlywheelParkedItem, FlywheelPipelineItem, FlywheelPipelineStatus, FlywheelPipelineVerb, FlywheelRunId, FlywheelScope, FlywheelScopeValue, FlywheelStats, FlywheelStatsCriteria, FlywheelStatsCriterion, FlywheelStatsCriterionStatus, FlywheelStatsCriterionValue, FlywheelStatsCriterionValueObject, FlywheelStatsTrend, FlywheelStatus, FlywheelSubstrateBug, FlywheelSubstrateBugStatus, FlywheelSuggestion, FlywheelSuggestionAction, FlywheelSuggestionPriority, FlywheelSystemStatus, ForceMergeTriggeredProperties, GetAvailableEditorsRpc, GetConversationCostByWorkspaceRpc, GetConversationCostRpc, GetConversationStatsRpc, GetDiscoveredSessionRpc, GetSessionsFeedFacetsRpc, GetSnapshotRpc, GetWorkspaceDetailRpc, GlobalContextLayerRecord, GlobalContextLayerTarget, HOOK_INVENTORY, Harness, HarnessBehavior, HarnessContextLayerKind, HarnessDeliveryKind, HarnessFeedKind, HarnessLaunchCommandKind, HarnessName, HarnessNativeCommand, HarnessReadinessKind, HarnessSessionIdSource, HarnessTranscriptKind, HealthReason, HealthState, HookInventoryEntry, HookInventoryName, HostHealthMetrics, HostPlatform, HygieneFinding, HygienePullRequest, HygieneReport, INITIAL_READ_MODEL_STATE, IssueClosedOutProperties, IssueId, IssueMergedProperties, IssuePipelineMembership, IssueStatusChangedEvent, IssueTransitionedEvent, IssuesSnapshotEvent, IssuesUpdatedEvent, KIMI_CODE_BEHAVIOR, KNOWN_HARNESSES, LegacySystemHealthSummary, LegacyWebhookRelaySummary, LinearMcpAuthCallbackRelayedEvent, LinearMcpAuthHealthyEvent, LinearMcpAuthNotifiedEvent, LinearMcpAuthRequiredEvent, ListDiscoveredSessionsRpc, ListSessionsFeedRpc, MAX_CHANNEL_REPLY_ARTIFACT_LABEL_LENGTH, MAX_CHANNEL_REPLY_ARTIFACT_REFS, MAX_CHANNEL_REPLY_ARTIFACT_URI_LENGTH, MAX_CHANNEL_REPLY_SUMMARY_LENGTH, MEMBERSHIP_UNAVAILABLE_REASONS, MembershipUnavailableReason, MemoryAgentRole, MemoryHealthChangedEvent, MemoryHealthSnapshot, MemoryIdentity, MemoryObservation, MemoryObservationCreatedEvent, MemoryReadModelState, MemoryResetMarkerCreatedEvent, MemoryRollupTriggerSnapshot, MemoryRollupTriggeredEvent, MemoryStatus, MemoryStatusPhase, MemoryStatusUpdatedEvent, MemoryTokenUsage, MergeReadyEvent, MergeStatusValue, ModelOrigin, ModelOriginEntry, OHMYPI_BEHAVIOR, OVERDECK_AGENT_PROTOCOL_VERSION, OVERDECK_DASHBOARD_PROTOCOL_VERSION, OpenInEditorInput, OperatorInterventionEvent, OrderBook, OrderBookIndexEntry, OrderBookItem, OrderBookLane, OrderBookPosture, OrderBookSettings, OrderBookStatus, PanRpcError, PanRpcGroup, PendingTurn, PipelineBucket, PipelineMembershipUnavailableBody, PipelineReviewCompletedEvent, PipelineReviewStartedEvent, PipelineStageChangedProperties, PipelineStatusChangedEvent, PipelineTestCompletedEvent, PipelineTestStartedEvent, PipelineVerificationFailedEvent, PipelineVerificationStartedEvent, PlanApprovedProperties, PlanChangesRequestedProperties, PlanItemStatusChangedEvent, PlanItemsUnblockedEvent, PlanSubitemStatusChangedEvent, PlanningFailedEvent, PlanningStartedEvent, PlanningSyncEvent, ProjectContextLayerRecord, ProjectContextLayerTarget, ProjectCreatedProperties, ProjectSessionTree, ProposedPlan, RagDecision, RagDecisionSource, ReadFileAtPathInput, ReadFileAtPathResult, ReadFileAtPathRpc, ReadModelState, ReadWorkspaceFileInput, ReadWorkspaceFileResult, ReadWorkspaceFileRpc, ReleaseStatusValue, ReplayEventsRpc, ResetMarker, ResetMarkerScope, ResizeTerminalRpc, ResolveFilePathExistsInput, ResolveFilePathExistsResult, ResolveFilePathExistsRpc, ResolvedChannelPermissionDecision, ResourceStats, ResourcesUpdatedEvent, ReviewApprovedEvent, ReviewCoordinatorDiedEvent, ReviewCoordinatorStartedEvent, ReviewCycleEntry, ReviewReviewerCompletedEvent, ReviewReviewerStartedEvent, ReviewSpecialistTimedOutEvent, ReviewStatusChangedEvent, ReviewStatusSnapshot, ReviewStatusValue, ReviewVerdictDispatchedEvent, ReviewVerdictRejectedEvent, ReviewVerdictRestoreBlockedEvent, ReviewerRoundMetadata, ReviewerRoundSummary, Role, RuntimeName, ScanCompleteEvent, ScanConversationsRpc, ScanProgressEvent, ScanProgressSnapshot, ScanResult, ScanStartedEvent, SearchConversationsRpc, SendTerminalInputRpc, SequenceNumber, ServerBootProperties, ServiceHealthSnapshot, ServiceHealthStatus, SessionNode, SessionNodePresence, SessionNodeType, SessionTreeDelta, SessionsFeedFacetsSnapshot, SessionsFeedRowSnapshot, SessionsFeedSource, ShadowInferenceUpdateEvent, ShellOpenInEditorRpc, SpecialistCompletedEvent, SpecialistFailedEvent, SpecialistLifecycle, SpecialistStartedEvent, StartAgentRpc, StartPlanningRpc, SubagentSummary, SubscribeAgentOutputRpc, SubscribeConversationMessagesRpc, SubscribeDomainEventsRpc, SubscribeFlywheelStatusRpc, SubscribeIssueEventsRpc, SubscribeProjectSessionTreeRpc, SubscribeTerminalRpc, SubstrateBugFiledEvent, SweepEscalatedEvent, SweepRecommendationEvent, SweepScanEvent, SystemHealthConsumer, SystemHealthSeverityChangedEvent, SystemHealthSnapshot, SystemHeartbeatEvent, TELEMETRY_CLI_VERBS, TELEMETRY_EVENT_CATALOG, TELEMETRY_EVENT_NAMES, TELEMETRY_PROPERTY_DOMAINS, TelemetryCliVerb, TelemetryCountBucket, TelemetryDashboardTab, TelemetryDecisionSubjectKind, TelemetryDurationBucket, TelemetryEventName, TelemetryEventProperties, TelemetryModelFamily, TelemetryPropertiesFor, TelemetryPropertyDomainName, TerminalCloseRpc, TerminalOpenRpc, TerminalOutput, TerminalResizeRpc, TerminalWriteRpc, TestPassedEvent, TestStatusValue, ThinkingState, TurnDiffFileChange, TurnDiffSummary, UatStatusValue, UnwiredHookInventoryEntry, UpdateChannel, UpdateCompatibility, UpdateInstallMode, UpdatePhase, UpdateSnapshot, VerificationStatusValue, WIRED_HOOK_INVENTORY, WIRED_HOOK_NAMES, WS_METHODS, WaitingReason, WaitingState, WiredHookInventoryEntry, WorkCompletedEvent, WorkLogEntry, WorkspaceAbortedEvent, WorkspaceArtifactsResponse, WorkspaceContextLayerRecord, WorkspaceContextLayerTarget, WorkspaceCreatedEvent, WorkspaceDeletedEvent, WorkspaceDestroyedEvent, WorkspaceDetail, WorkspaceWipeStartedEvent, WriteFileAtPathInput, WriteFileAtPathResult, WriteFileAtPathRpc, applyEvent, applyEvents, compareIssueIds, decodeFlywheelStats, encodeFlywheelStats, getHarness, getHarnessBehavior, getMaxMemoryObservationsPerIssue, getMaxTurnDiffSummariesPerAgent, getRuntimeBehavior, isChannelReplyKind, isTerminalTurnDiffSummaryStatus, normalizeChannelReplyPayload, omitTurnDiffSummariesForAgent, projectLegacySystemHealthSummary, syncSnapshot, trimMemoryObservations, trimTurnDiffSummaries };
18040
+ export { ACP_BEHAVIOR, Activity, ActivityDetailedEvent, ActivityEntryEvent, ActivityTtsEvent, ActivityUpdatedEvent, AdmissionState, AgentActivityChangedEvent, AgentChannelReply, AgentChannelReplyEvent, AgentCompletedEvent, AgentContextSaturationChangedEvent, AgentCreatedEvent, AgentCurrentIssueSetEvent, AgentEnrichmentChangedEvent, AgentHealthKind, AgentHealthSnapshot, AgentHealthStatus, AgentHeartbeatDeadEvent, AgentHookFiredEvent, AgentId, AgentMessageReceivedEvent, AgentModelSetEvent, AgentOutput, AgentOutputReceivedEvent, AgentPermissionRequestedEvent, AgentPermissionResolvedEvent, AgentQuestionAnsweredProperties, AgentResolution, AgentResolutionChangedEvent, AgentRuntimeSnapshot, AgentSnapshot, AgentSpawnedProperties, AgentStartedEvent, AgentStateRestoredEvent, AgentStatus, AgentStatusChangedEvent, AgentStoppedEvent, AgentThinkingStartedEvent, AgentThinkingStoppedEvent, AgentTurnDiffCompletedEvent, AgentWaitingClearedEvent, AgentWaitingStartedEvent, ArtifactAgentHarness, ArtifactAgentRole, ArtifactCreateResponse, ArtifactDetailResponse, ArtifactHash, ArtifactId, ArtifactLifecycleState, ArtifactListEntry, ArtifactListResponse, ArtifactMetadata, ArtifactPublishResponse, ArtifactSlug, ArtifactStatusResponse, ArtifactUnshareResponse, ArtifactUrls, ArtifactValidationCode, ArtifactValidationFinding, ArtifactValidationResult, AutoMergeToggledProperties, BeadsFreshnessChangedEvent, BulkCloseOutInitiatedProperties, CHANNEL_REPLY_KIND_VALUES, CLAUDE_CODE_BEHAVIOR, CODEX_BEHAVIOR, COMPOSER_COMMAND_INSERT_OVERRIDES, COMPOSER_COMMAND_MANIFEST, COMPOSER_COMMAND_VARIANTS, CONTEXT_LAYER_KINDS, CONTEXT_PREVIEW_HARNESSES, ChannelPermissionRequestSnapshot, ChannelReplyArtifactRef, ChannelReplyKind, ChatMessage, ClaudeChannelPermissionBehavior, CliCommandRunProperties, CompactBoundary, ComposerCommandArgument, ComposerCommandManifestEntry, ComposerCommandOption, ComposerCommandPolicy, ComposerCommandResult, ComposerExecutionMode, ComposerSafety, ContextEditableLayerRecord, ContextHarnessPreviews, ContextLayerDraft, ContextLayerKind, ContextLayerSaveRequest, ContextLayerSaveResponse, ContextLayerTarget, ContextLayersResponse, ContextPreviewDiagnostic, ContextPreviewHarness, ContextPreviewRequest, ContextPreviewResponse, ContextProjectSummary, ContextSyncRequest, ContextSyncResponse, ContextSyncTarget, ContextUsage, ContextWorkspaceSummary, ConversationCompactingChangedEvent, ConversationCostSummary, ConversationCreatedEvent, ConversationEvent, ConversationFilter, ConversationForkedProperties, ConversationMovedEvent, ConversationPermissionChangedEvent, ConversationResponse, ConversationTitleChangedEvent, CostEventRecordedEvent, DEFAULT_MAX_MEMORY_OBSERVATIONS_PER_ISSUE, DEFAULT_MAX_TURN_DIFF_SUMMARIES_PER_AGENT, DashboardLifecycleCompletedEvent, DashboardLifecycleFailedEvent, DashboardLifecycleStartedEvent, DashboardLifecycleState, DashboardSnapshot, DashboardTabViewedProperties, DeepWipeRpc, DeployStalenessSnapshot, DerivedProjectCi, DiscoveredSessionSnapshot, DomainEvent, EDITORS, EditorEntry, EditorId, EditorIdSchema, EmbedProgressEvent, EmbedProgressSnapshot, EmbedSessionsRpc, EnrichCompleteEvent, EnrichProgressEvent, EnrichProgressSnapshot, EnrichSessionsRpc, EnrichStatsSnapshot, ExtractionProviderConfig, ExtractionProviderTarget, FeatureNode, FeatureRegistryEntry, FeatureRegistryListFilter, FeatureRegistryOwnershipUpdate, FeatureRegistryStatus, FeatureRegistryTagInput, FeatureRegistryUntagInput, FlywheelAgent, FlywheelAgentStatus, FlywheelEffort, FlywheelHarness, FlywheelHeadline, FlywheelHttpUrl, FlywheelOrchestrator, FlywheelOrders, FlywheelParkedItem, FlywheelPipelineItem, FlywheelPipelineStatus, FlywheelPipelineVerb, FlywheelRunId, FlywheelScope, FlywheelScopeValue, FlywheelStats, FlywheelStatsCriteria, FlywheelStatsCriterion, FlywheelStatsCriterionStatus, FlywheelStatsCriterionValue, FlywheelStatsCriterionValueObject, FlywheelStatsTrend, FlywheelStatus, FlywheelSubstrateBug, FlywheelSubstrateBugStatus, FlywheelSuggestion, FlywheelSuggestionAction, FlywheelSuggestionPriority, FlywheelSystemStatus, ForceMergeTriggeredProperties, GetAvailableEditorsRpc, GetConversationCostByWorkspaceRpc, GetConversationCostRpc, GetConversationStatsRpc, GetDiscoveredSessionRpc, GetSessionsFeedFacetsRpc, GetSnapshotRpc, GetWorkspaceDetailRpc, GlobalContextLayerRecord, GlobalContextLayerTarget, HOOK_INVENTORY, Harness, HarnessBehavior, HarnessContextLayerKind, HarnessDeliveryKind, HarnessFeedKind, HarnessLaunchCommandKind, HarnessName, HarnessNativeCommand, HarnessReadinessKind, HarnessSessionIdSource, HarnessTranscriptKind, HealthReason, HealthState, HookInventoryEntry, HookInventoryName, HostHealthMetrics, HostPlatform, HygieneFinding, HygienePullRequest, HygieneReport, INITIAL_READ_MODEL_STATE, IssueClosedOutProperties, IssueId, IssueMergedProperties, IssuePipelineMembership, IssueStatusChangedEvent, IssueTransitionedEvent, IssuesSnapshotEvent, IssuesUpdatedEvent, KIMI_CODE_BEHAVIOR, KNOWN_HARNESSES, LegacySystemHealthSummary, LegacyWebhookRelaySummary, LinearMcpAuthCallbackRelayedEvent, LinearMcpAuthHealthyEvent, LinearMcpAuthNotifiedEvent, LinearMcpAuthRequiredEvent, ListDiscoveredSessionsRpc, ListSessionsFeedRpc, MAX_CHANNEL_REPLY_ARTIFACT_LABEL_LENGTH, MAX_CHANNEL_REPLY_ARTIFACT_REFS, MAX_CHANNEL_REPLY_ARTIFACT_URI_LENGTH, MAX_CHANNEL_REPLY_SUMMARY_LENGTH, MEMBERSHIP_UNAVAILABLE_REASONS, MembershipUnavailableReason, MemoryAgentRole, MemoryHealthChangedEvent, MemoryHealthSnapshot, MemoryIdentity, MemoryObservation, MemoryObservationCreatedEvent, MemoryReadModelState, MemoryResetMarkerCreatedEvent, MemoryRollupTriggerSnapshot, MemoryRollupTriggeredEvent, MemoryStatus, MemoryStatusPhase, MemoryStatusUpdatedEvent, MemoryTokenUsage, MergeReadyEvent, MergeStatusValue, ModelOrigin, ModelOriginEntry, OHMYPI_BEHAVIOR, OVERDECK_AGENT_PROTOCOL_VERSION, OVERDECK_DASHBOARD_PROTOCOL_VERSION, OpenInEditorInput, OperatorInterventionEvent, OrderBook, OrderBookIndexEntry, OrderBookItem, OrderBookLane, OrderBookPosture, OrderBookSettings, OrderBookStatus, PanRpcError, PanRpcGroup, PendingTurn, PipelineBucket, PipelineMembershipUnavailableBody, PipelineReviewCompletedEvent, PipelineReviewStartedEvent, PipelineStageChangedProperties, PipelineStatusChangedEvent, PipelineTestCompletedEvent, PipelineTestStartedEvent, PipelineVerificationFailedEvent, PipelineVerificationStartedEvent, PlanApprovedProperties, PlanChangesRequestedProperties, PlanItemStatusChangedEvent, PlanItemsUnblockedEvent, PlanSubitemStatusChangedEvent, PlanningFailedEvent, PlanningStartedEvent, PlanningSyncEvent, ProjectCiHeadObservedEvent, ProjectCiSnapshot, ProjectCiState, ProjectCiSuite, ProjectCiSuiteObservedEvent, ProjectContextLayerRecord, ProjectContextLayerTarget, ProjectCreatedProperties, ProjectSessionTree, ProposedPlan, RagDecision, RagDecisionSource, ReadFileAtPathInput, ReadFileAtPathResult, ReadFileAtPathRpc, ReadModelState, ReadWorkspaceFileInput, ReadWorkspaceFileResult, ReadWorkspaceFileRpc, ReleaseStatusValue, ReplayEventsRpc, ResetMarker, ResetMarkerScope, ResizeTerminalRpc, ResolveFilePathExistsInput, ResolveFilePathExistsResult, ResolveFilePathExistsRpc, ResolvedChannelPermissionDecision, ResourceStats, ResourcesUpdatedEvent, RestartGateChangedEvent, RestartGateKind, RestartGateOutcome, RestartGateRequest, RestartGateSnapshot, ReviewApprovedEvent, ReviewCoordinatorDiedEvent, ReviewCoordinatorStartedEvent, ReviewCycleEntry, ReviewReviewerCompletedEvent, ReviewReviewerStartedEvent, ReviewSpecialistTimedOutEvent, ReviewStatusChangedEvent, ReviewStatusSnapshot, ReviewStatusValue, ReviewVerdictDispatchedEvent, ReviewVerdictRejectedEvent, ReviewVerdictRestoreBlockedEvent, ReviewerRoundMetadata, ReviewerRoundSummary, Role, RuntimeName, ScanCompleteEvent, ScanConversationsRpc, ScanProgressEvent, ScanProgressSnapshot, ScanResult, ScanStartedEvent, SearchConversationsRpc, SendTerminalInputRpc, SequenceNumber, ServerBootProperties, ServiceHealthSnapshot, ServiceHealthStatus, SessionNode, SessionNodePresence, SessionNodeType, SessionTreeDelta, SessionsFeedFacetsSnapshot, SessionsFeedRowSnapshot, SessionsFeedSource, ShadowInferenceUpdateEvent, ShellOpenInEditorRpc, SpecialistCompletedEvent, SpecialistFailedEvent, SpecialistLifecycle, SpecialistStartedEvent, StartAgentRpc, StartPlanningRpc, SubagentSummary, SubscribeAgentOutputRpc, SubscribeConversationMessagesRpc, SubscribeDomainEventsRpc, SubscribeFlywheelStatusRpc, SubscribeIssueEventsRpc, SubscribeProjectSessionTreeRpc, SubscribeTerminalRpc, SubstrateBugFiledEvent, SweepEscalatedEvent, SweepRecommendationEvent, SweepScanEvent, SystemHealthConsumer, SystemHealthSeverityChangedEvent, SystemHealthSnapshot, SystemHeartbeatEvent, TELEMETRY_CLI_VERBS, TELEMETRY_EVENT_CATALOG, TELEMETRY_EVENT_NAMES, TELEMETRY_PROPERTY_DOMAINS, TelemetryCliVerb, TelemetryCountBucket, TelemetryDashboardTab, TelemetryDecisionSubjectKind, TelemetryDurationBucket, TelemetryEventName, TelemetryEventProperties, TelemetryModelFamily, TelemetryPropertiesFor, TelemetryPropertyDomainName, TerminalCloseRpc, TerminalOpenRpc, TerminalOutput, TerminalResizeRpc, TerminalWriteRpc, TestPassedEvent, TestStatusValue, ThinkingState, TurnDiffFileChange, TurnDiffSummary, UatStatusValue, UnwiredHookInventoryEntry, UpdateChannel, UpdateCompatibility, UpdateInstallMode, UpdatePhase, UpdateSnapshot, VerificationStatusValue, WIRED_HOOK_INVENTORY, WIRED_HOOK_NAMES, WS_METHODS, WaitingReason, WaitingState, WiredHookInventoryEntry, WorkCompletedEvent, WorkLogEntry, WorkspaceAbortedEvent, WorkspaceArtifactsResponse, WorkspaceContextLayerRecord, WorkspaceContextLayerTarget, WorkspaceCreatedEvent, WorkspaceDeletedEvent, WorkspaceDestroyedEvent, WorkspaceDetail, WorkspaceWipeStartedEvent, WriteFileAtPathInput, WriteFileAtPathResult, WriteFileAtPathRpc, applyEvent, applyEvents, compareIssueIds, decodeFlywheelStats, deriveProjectCi, encodeFlywheelStats, getHarness, getHarnessBehavior, getMaxMemoryObservationsPerIssue, getMaxTurnDiffSummariesPerAgent, getRuntimeBehavior, isChannelReplyKind, isTerminalTurnDiffSummaryStatus, normalizeChannelReplyPayload, omitTurnDiffSummariesForAgent, projectLegacySystemHealthSummary, syncSnapshot, trimMemoryObservations, trimTurnDiffSummaries };
17424
18041
  //# sourceMappingURL=index.d.ts.map