@overdeck/contracts 0.48.0 → 0.49.1
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.cjs +497 -65
- package/dist/index.d.ts +884 -4
- package/dist/index.d.ts.map +1 -1
- package/dist/index.mjs +487 -66
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1293,9 +1293,22 @@ declare const AgentActivityChangedEvent: Schema.Struct<{
|
|
|
1293
1293
|
readonly agentId: Schema.String;
|
|
1294
1294
|
readonly activity: Schema.Literals<readonly ["working", "thinking", "waiting", "idle", "stopped"]>;
|
|
1295
1295
|
readonly currentTool: Schema.optional<Schema.String>;
|
|
1296
|
+
readonly hookName: Schema.optional<Schema.String>;
|
|
1296
1297
|
}>;
|
|
1297
1298
|
}>;
|
|
1298
1299
|
type AgentActivityChangedEvent = typeof AgentActivityChangedEvent.Type;
|
|
1300
|
+
/** A registered harness hook fired without implying an agent activity transition. */
|
|
1301
|
+
declare const AgentHookFiredEvent: Schema.Struct<{
|
|
1302
|
+
readonly type: Schema.Literal<"agent.hook_fired">;
|
|
1303
|
+
readonly sequence: Schema.Number;
|
|
1304
|
+
readonly timestamp: Schema.String;
|
|
1305
|
+
readonly payload: Schema.Struct<{
|
|
1306
|
+
readonly agentId: Schema.String;
|
|
1307
|
+
readonly hookName: Schema.String;
|
|
1308
|
+
readonly tool: Schema.optional<Schema.String>;
|
|
1309
|
+
}>;
|
|
1310
|
+
}>;
|
|
1311
|
+
type AgentHookFiredEvent = typeof AgentHookFiredEvent.Type;
|
|
1299
1312
|
declare const AgentThinkingStartedEvent: Schema.Struct<{
|
|
1300
1313
|
readonly type: Schema.Literal<"agent.thinking_started">;
|
|
1301
1314
|
readonly sequence: Schema.Number;
|
|
@@ -1960,6 +1973,59 @@ declare const ReviewCoordinatorDiedEvent: Schema.Struct<{
|
|
|
1960
1973
|
}>;
|
|
1961
1974
|
}>;
|
|
1962
1975
|
type ReviewCoordinatorDiedEvent = typeof ReviewCoordinatorDiedEvent.Type;
|
|
1976
|
+
/** A terminal review verdict was rejected due to stale evidence. */
|
|
1977
|
+
declare const ReviewVerdictRejectedEvent: Schema.Struct<{
|
|
1978
|
+
readonly type: Schema.Literal<"review.verdict_rejected">;
|
|
1979
|
+
readonly sequence: Schema.Number;
|
|
1980
|
+
readonly timestamp: Schema.String;
|
|
1981
|
+
readonly payload: Schema.Struct<{
|
|
1982
|
+
readonly issueId: Schema.String;
|
|
1983
|
+
readonly workspaceId: Schema.optional<Schema.String>;
|
|
1984
|
+
readonly writer: Schema.String;
|
|
1985
|
+
readonly verdict: Schema.String;
|
|
1986
|
+
readonly evidenceHead: Schema.String;
|
|
1987
|
+
readonly rowHead: Schema.String;
|
|
1988
|
+
readonly reason: Schema.String;
|
|
1989
|
+
}>;
|
|
1990
|
+
}>;
|
|
1991
|
+
type ReviewVerdictRejectedEvent = typeof ReviewVerdictRejectedEvent.Type;
|
|
1992
|
+
/** A terminal review verdict was landed and dispatched with a fresh evidence head. */
|
|
1993
|
+
declare const ReviewVerdictDispatchedEvent: Schema.Struct<{
|
|
1994
|
+
readonly type: Schema.Literal<"review.verdict_dispatched">;
|
|
1995
|
+
readonly sequence: Schema.Number;
|
|
1996
|
+
readonly timestamp: Schema.String;
|
|
1997
|
+
readonly payload: Schema.Struct<{
|
|
1998
|
+
readonly issueId: Schema.String;
|
|
1999
|
+
readonly workspaceId: Schema.optional<Schema.String>;
|
|
2000
|
+
readonly writer: Schema.String;
|
|
2001
|
+
readonly verdict: Schema.String;
|
|
2002
|
+
readonly evidenceHead: Schema.String;
|
|
2003
|
+
readonly rowHead: Schema.String;
|
|
2004
|
+
readonly classification: Schema.String;
|
|
2005
|
+
readonly testGateReset: Schema.Boolean;
|
|
2006
|
+
}>;
|
|
2007
|
+
}>;
|
|
2008
|
+
type ReviewVerdictDispatchedEvent = typeof ReviewVerdictDispatchedEvent.Type;
|
|
2009
|
+
/**
|
|
2010
|
+
* A recovery path found a fresh verdict artifact but declined to restore it,
|
|
2011
|
+
* because the artifact's head evidence disagrees with the row's anchor. The
|
|
2012
|
+
* verdict is NOT lost silently — it is reported here so the operator can see a
|
|
2013
|
+
* finished review that recovery refused to write (PAN-3511).
|
|
2014
|
+
*/
|
|
2015
|
+
declare const ReviewVerdictRestoreBlockedEvent: Schema.Struct<{
|
|
2016
|
+
readonly type: Schema.Literal<"review.verdict_restore_blocked">;
|
|
2017
|
+
readonly sequence: Schema.Number;
|
|
2018
|
+
readonly timestamp: Schema.String;
|
|
2019
|
+
readonly payload: Schema.Struct<{
|
|
2020
|
+
readonly issueId: Schema.String; /** Recovery path that attempted the restore (orphan-reset, sweeper, …). */
|
|
2021
|
+
readonly caller: Schema.String;
|
|
2022
|
+
readonly verdict: Schema.String;
|
|
2023
|
+
readonly artifactHead: Schema.String;
|
|
2024
|
+
readonly rowHead: Schema.String;
|
|
2025
|
+
readonly reason: Schema.String;
|
|
2026
|
+
}>;
|
|
2027
|
+
}>;
|
|
2028
|
+
type ReviewVerdictRestoreBlockedEvent = typeof ReviewVerdictRestoreBlockedEvent.Type;
|
|
1963
2029
|
/** New — role-backed specialist became active */
|
|
1964
2030
|
declare const SpecialistStartedEvent: Schema.Struct<{
|
|
1965
2031
|
readonly type: Schema.Literal<"specialist.started">;
|
|
@@ -2427,6 +2493,19 @@ declare const ConversationCreatedEvent: Schema.Struct<{
|
|
|
2427
2493
|
}>;
|
|
2428
2494
|
}>;
|
|
2429
2495
|
type ConversationCreatedEvent = typeof ConversationCreatedEvent.Type;
|
|
2496
|
+
/** Emitted (in-memory only, not persisted) when a conversation's project
|
|
2497
|
+
* assignment override changes, so the sidebar can re-group it live instead of
|
|
2498
|
+
* waiting for its poll tick. */
|
|
2499
|
+
declare const ConversationMovedEvent: Schema.Struct<{
|
|
2500
|
+
readonly type: Schema.Literal<"conversation.moved">;
|
|
2501
|
+
readonly sequence: Schema.Number;
|
|
2502
|
+
readonly timestamp: Schema.String;
|
|
2503
|
+
readonly payload: Schema.Struct<{
|
|
2504
|
+
readonly conversationName: Schema.String;
|
|
2505
|
+
readonly projectKey: Schema.String;
|
|
2506
|
+
}>;
|
|
2507
|
+
}>;
|
|
2508
|
+
type ConversationMovedEvent = typeof ConversationMovedEvent.Type;
|
|
2430
2509
|
/** Emitted (in-memory only) when a conversation title changes, so the sidebar
|
|
2431
2510
|
* list can refresh immediately instead of waiting for its poll tick. */
|
|
2432
2511
|
declare const ConversationTitleChangedEvent: Schema.Struct<{
|
|
@@ -2531,6 +2610,48 @@ declare const EmbedProgressEvent: Schema.Struct<{
|
|
|
2531
2610
|
}>;
|
|
2532
2611
|
}>;
|
|
2533
2612
|
type EmbedProgressEvent = typeof EmbedProgressEvent.Type;
|
|
2613
|
+
/** The parked population changed — carries the full new population (compact rows). */
|
|
2614
|
+
declare const SweepScanEvent: Schema.Struct<{
|
|
2615
|
+
readonly type: Schema.Literal<"sweep.scan">;
|
|
2616
|
+
readonly sequence: Schema.Number;
|
|
2617
|
+
readonly timestamp: Schema.String;
|
|
2618
|
+
readonly payload: Schema.Struct<{
|
|
2619
|
+
readonly issueCount: Schema.Number;
|
|
2620
|
+
readonly rowCount: Schema.Number;
|
|
2621
|
+
readonly rows: Schema.$Array<Schema.Struct<{
|
|
2622
|
+
readonly issueId: Schema.String;
|
|
2623
|
+
readonly orbit: Schema.String;
|
|
2624
|
+
readonly parkedAt: Schema.String;
|
|
2625
|
+
}>>;
|
|
2626
|
+
}>;
|
|
2627
|
+
}>;
|
|
2628
|
+
type SweepScanEvent = typeof SweepScanEvent.Type;
|
|
2629
|
+
/** A parked row was (re-)surfaced to the operator — gates respected, TTL re-surface, or exhaustion. */
|
|
2630
|
+
declare const SweepEscalatedEvent: Schema.Struct<{
|
|
2631
|
+
readonly type: Schema.Literal<"sweep.escalated">;
|
|
2632
|
+
readonly sequence: Schema.Number;
|
|
2633
|
+
readonly timestamp: Schema.String;
|
|
2634
|
+
readonly payload: Schema.Struct<{
|
|
2635
|
+
readonly issueId: Schema.String;
|
|
2636
|
+
readonly orbit: Schema.String;
|
|
2637
|
+
readonly reason: Schema.String;
|
|
2638
|
+
}>;
|
|
2639
|
+
}>;
|
|
2640
|
+
type SweepEscalatedEvent = typeof SweepEscalatedEvent.Type;
|
|
2641
|
+
/** The sweeper recommended a remedy for a parked row (observability-only — never an action, PAN-3551). */
|
|
2642
|
+
declare const SweepRecommendationEvent: Schema.Struct<{
|
|
2643
|
+
readonly type: Schema.Literal<"sweep.recommendation">;
|
|
2644
|
+
readonly sequence: Schema.Number;
|
|
2645
|
+
readonly timestamp: Schema.String;
|
|
2646
|
+
readonly payload: Schema.Struct<{
|
|
2647
|
+
readonly issueId: Schema.String;
|
|
2648
|
+
readonly orbit: Schema.String;
|
|
2649
|
+
readonly recommendation: Schema.String;
|
|
2650
|
+
readonly recurring: Schema.optional<Schema.Boolean>;
|
|
2651
|
+
readonly agentId: Schema.optional<Schema.String>;
|
|
2652
|
+
}>;
|
|
2653
|
+
}>;
|
|
2654
|
+
type SweepRecommendationEvent = typeof SweepRecommendationEvent.Type;
|
|
2534
2655
|
/** All domain events — the shape streamed via subscribeDomainEvents RPC */
|
|
2535
2656
|
declare const DomainEvent: Schema.Union<readonly [Schema.Struct<{
|
|
2536
2657
|
readonly type: Schema.Literal<"system.heartbeat">;
|
|
@@ -2838,6 +2959,16 @@ declare const DomainEvent: Schema.Union<readonly [Schema.Struct<{
|
|
|
2838
2959
|
readonly agentId: Schema.String;
|
|
2839
2960
|
readonly activity: Schema.Literals<readonly ["working", "thinking", "waiting", "idle", "stopped"]>;
|
|
2840
2961
|
readonly currentTool: Schema.optional<Schema.String>;
|
|
2962
|
+
readonly hookName: Schema.optional<Schema.String>;
|
|
2963
|
+
}>;
|
|
2964
|
+
}>, Schema.Struct<{
|
|
2965
|
+
readonly type: Schema.Literal<"agent.hook_fired">;
|
|
2966
|
+
readonly sequence: Schema.Number;
|
|
2967
|
+
readonly timestamp: Schema.String;
|
|
2968
|
+
readonly payload: Schema.Struct<{
|
|
2969
|
+
readonly agentId: Schema.String;
|
|
2970
|
+
readonly hookName: Schema.String;
|
|
2971
|
+
readonly tool: Schema.optional<Schema.String>;
|
|
2841
2972
|
}>;
|
|
2842
2973
|
}>, Schema.Struct<{
|
|
2843
2974
|
readonly type: Schema.Literal<"agent.thinking_started">;
|
|
@@ -3377,6 +3508,45 @@ declare const DomainEvent: Schema.Union<readonly [Schema.Struct<{
|
|
|
3377
3508
|
readonly sessionName: Schema.String;
|
|
3378
3509
|
readonly reason: Schema.String;
|
|
3379
3510
|
}>;
|
|
3511
|
+
}>, Schema.Struct<{
|
|
3512
|
+
readonly type: Schema.Literal<"review.verdict_rejected">;
|
|
3513
|
+
readonly sequence: Schema.Number;
|
|
3514
|
+
readonly timestamp: Schema.String;
|
|
3515
|
+
readonly payload: Schema.Struct<{
|
|
3516
|
+
readonly issueId: Schema.String;
|
|
3517
|
+
readonly workspaceId: Schema.optional<Schema.String>;
|
|
3518
|
+
readonly writer: Schema.String;
|
|
3519
|
+
readonly verdict: Schema.String;
|
|
3520
|
+
readonly evidenceHead: Schema.String;
|
|
3521
|
+
readonly rowHead: Schema.String;
|
|
3522
|
+
readonly reason: Schema.String;
|
|
3523
|
+
}>;
|
|
3524
|
+
}>, Schema.Struct<{
|
|
3525
|
+
readonly type: Schema.Literal<"review.verdict_dispatched">;
|
|
3526
|
+
readonly sequence: Schema.Number;
|
|
3527
|
+
readonly timestamp: Schema.String;
|
|
3528
|
+
readonly payload: Schema.Struct<{
|
|
3529
|
+
readonly issueId: Schema.String;
|
|
3530
|
+
readonly workspaceId: Schema.optional<Schema.String>;
|
|
3531
|
+
readonly writer: Schema.String;
|
|
3532
|
+
readonly verdict: Schema.String;
|
|
3533
|
+
readonly evidenceHead: Schema.String;
|
|
3534
|
+
readonly rowHead: Schema.String;
|
|
3535
|
+
readonly classification: Schema.String;
|
|
3536
|
+
readonly testGateReset: Schema.Boolean;
|
|
3537
|
+
}>;
|
|
3538
|
+
}>, Schema.Struct<{
|
|
3539
|
+
readonly type: Schema.Literal<"review.verdict_restore_blocked">;
|
|
3540
|
+
readonly sequence: Schema.Number;
|
|
3541
|
+
readonly timestamp: Schema.String;
|
|
3542
|
+
readonly payload: Schema.Struct<{
|
|
3543
|
+
readonly issueId: Schema.String; /** Recovery path that attempted the restore (orphan-reset, sweeper, …). */
|
|
3544
|
+
readonly caller: Schema.String;
|
|
3545
|
+
readonly verdict: Schema.String;
|
|
3546
|
+
readonly artifactHead: Schema.String;
|
|
3547
|
+
readonly rowHead: Schema.String;
|
|
3548
|
+
readonly reason: Schema.String;
|
|
3549
|
+
}>;
|
|
3380
3550
|
}>, Schema.Struct<{
|
|
3381
3551
|
readonly type: Schema.Literal<"specialist.started">;
|
|
3382
3552
|
readonly sequence: Schema.Number;
|
|
@@ -3762,6 +3932,14 @@ declare const DomainEvent: Schema.Union<readonly [Schema.Struct<{
|
|
|
3762
3932
|
readonly payload: Schema.Struct<{
|
|
3763
3933
|
readonly conversationName: Schema.String;
|
|
3764
3934
|
}>;
|
|
3935
|
+
}>, Schema.Struct<{
|
|
3936
|
+
readonly type: Schema.Literal<"conversation.moved">;
|
|
3937
|
+
readonly sequence: Schema.Number;
|
|
3938
|
+
readonly timestamp: Schema.String;
|
|
3939
|
+
readonly payload: Schema.Struct<{
|
|
3940
|
+
readonly conversationName: Schema.String;
|
|
3941
|
+
readonly projectKey: Schema.String;
|
|
3942
|
+
}>;
|
|
3765
3943
|
}>, Schema.Struct<{
|
|
3766
3944
|
readonly type: Schema.Literal<"conversation.title_changed">;
|
|
3767
3945
|
readonly sequence: Schema.Number;
|
|
@@ -3841,6 +4019,39 @@ declare const DomainEvent: Schema.Union<readonly [Schema.Struct<{
|
|
|
3841
4019
|
readonly success: Schema.Boolean;
|
|
3842
4020
|
readonly error: Schema.optional<Schema.String>;
|
|
3843
4021
|
}>;
|
|
4022
|
+
}>, Schema.Struct<{
|
|
4023
|
+
readonly type: Schema.Literal<"sweep.scan">;
|
|
4024
|
+
readonly sequence: Schema.Number;
|
|
4025
|
+
readonly timestamp: Schema.String;
|
|
4026
|
+
readonly payload: Schema.Struct<{
|
|
4027
|
+
readonly issueCount: Schema.Number;
|
|
4028
|
+
readonly rowCount: Schema.Number;
|
|
4029
|
+
readonly rows: Schema.$Array<Schema.Struct<{
|
|
4030
|
+
readonly issueId: Schema.String;
|
|
4031
|
+
readonly orbit: Schema.String;
|
|
4032
|
+
readonly parkedAt: Schema.String;
|
|
4033
|
+
}>>;
|
|
4034
|
+
}>;
|
|
4035
|
+
}>, Schema.Struct<{
|
|
4036
|
+
readonly type: Schema.Literal<"sweep.escalated">;
|
|
4037
|
+
readonly sequence: Schema.Number;
|
|
4038
|
+
readonly timestamp: Schema.String;
|
|
4039
|
+
readonly payload: Schema.Struct<{
|
|
4040
|
+
readonly issueId: Schema.String;
|
|
4041
|
+
readonly orbit: Schema.String;
|
|
4042
|
+
readonly reason: Schema.String;
|
|
4043
|
+
}>;
|
|
4044
|
+
}>, Schema.Struct<{
|
|
4045
|
+
readonly type: Schema.Literal<"sweep.recommendation">;
|
|
4046
|
+
readonly sequence: Schema.Number;
|
|
4047
|
+
readonly timestamp: Schema.String;
|
|
4048
|
+
readonly payload: Schema.Struct<{
|
|
4049
|
+
readonly issueId: Schema.String;
|
|
4050
|
+
readonly orbit: Schema.String;
|
|
4051
|
+
readonly recommendation: Schema.String;
|
|
4052
|
+
readonly recurring: Schema.optional<Schema.Boolean>;
|
|
4053
|
+
readonly agentId: Schema.optional<Schema.String>;
|
|
4054
|
+
}>;
|
|
3844
4055
|
}>]>;
|
|
3845
4056
|
type DomainEvent = typeof DomainEvent.Type;
|
|
3846
4057
|
//#endregion
|
|
@@ -4586,6 +4797,16 @@ declare const SubscribeDomainEventsRpc: Rpc.Rpc<"pan.subscribeDomainEvents", Sch
|
|
|
4586
4797
|
readonly agentId: Schema.String;
|
|
4587
4798
|
readonly activity: Schema.Literals<readonly ["working", "thinking", "waiting", "idle", "stopped"]>;
|
|
4588
4799
|
readonly currentTool: Schema.optional<Schema.String>;
|
|
4800
|
+
readonly hookName: Schema.optional<Schema.String>;
|
|
4801
|
+
}>;
|
|
4802
|
+
}>, Schema.Struct<{
|
|
4803
|
+
readonly type: Schema.Literal<"agent.hook_fired">;
|
|
4804
|
+
readonly sequence: Schema.Number;
|
|
4805
|
+
readonly timestamp: Schema.String;
|
|
4806
|
+
readonly payload: Schema.Struct<{
|
|
4807
|
+
readonly agentId: Schema.String;
|
|
4808
|
+
readonly hookName: Schema.String;
|
|
4809
|
+
readonly tool: Schema.optional<Schema.String>;
|
|
4589
4810
|
}>;
|
|
4590
4811
|
}>, Schema.Struct<{
|
|
4591
4812
|
readonly type: Schema.Literal<"agent.thinking_started">;
|
|
@@ -5125,6 +5346,45 @@ declare const SubscribeDomainEventsRpc: Rpc.Rpc<"pan.subscribeDomainEvents", Sch
|
|
|
5125
5346
|
readonly sessionName: Schema.String;
|
|
5126
5347
|
readonly reason: Schema.String;
|
|
5127
5348
|
}>;
|
|
5349
|
+
}>, Schema.Struct<{
|
|
5350
|
+
readonly type: Schema.Literal<"review.verdict_rejected">;
|
|
5351
|
+
readonly sequence: Schema.Number;
|
|
5352
|
+
readonly timestamp: Schema.String;
|
|
5353
|
+
readonly payload: Schema.Struct<{
|
|
5354
|
+
readonly issueId: Schema.String;
|
|
5355
|
+
readonly workspaceId: Schema.optional<Schema.String>;
|
|
5356
|
+
readonly writer: Schema.String;
|
|
5357
|
+
readonly verdict: Schema.String;
|
|
5358
|
+
readonly evidenceHead: Schema.String;
|
|
5359
|
+
readonly rowHead: Schema.String;
|
|
5360
|
+
readonly reason: Schema.String;
|
|
5361
|
+
}>;
|
|
5362
|
+
}>, Schema.Struct<{
|
|
5363
|
+
readonly type: Schema.Literal<"review.verdict_dispatched">;
|
|
5364
|
+
readonly sequence: Schema.Number;
|
|
5365
|
+
readonly timestamp: Schema.String;
|
|
5366
|
+
readonly payload: Schema.Struct<{
|
|
5367
|
+
readonly issueId: Schema.String;
|
|
5368
|
+
readonly workspaceId: Schema.optional<Schema.String>;
|
|
5369
|
+
readonly writer: Schema.String;
|
|
5370
|
+
readonly verdict: Schema.String;
|
|
5371
|
+
readonly evidenceHead: Schema.String;
|
|
5372
|
+
readonly rowHead: Schema.String;
|
|
5373
|
+
readonly classification: Schema.String;
|
|
5374
|
+
readonly testGateReset: Schema.Boolean;
|
|
5375
|
+
}>;
|
|
5376
|
+
}>, Schema.Struct<{
|
|
5377
|
+
readonly type: Schema.Literal<"review.verdict_restore_blocked">;
|
|
5378
|
+
readonly sequence: Schema.Number;
|
|
5379
|
+
readonly timestamp: Schema.String;
|
|
5380
|
+
readonly payload: Schema.Struct<{
|
|
5381
|
+
readonly issueId: Schema.String;
|
|
5382
|
+
readonly caller: Schema.String;
|
|
5383
|
+
readonly verdict: Schema.String;
|
|
5384
|
+
readonly artifactHead: Schema.String;
|
|
5385
|
+
readonly rowHead: Schema.String;
|
|
5386
|
+
readonly reason: Schema.String;
|
|
5387
|
+
}>;
|
|
5128
5388
|
}>, Schema.Struct<{
|
|
5129
5389
|
readonly type: Schema.Literal<"specialist.started">;
|
|
5130
5390
|
readonly sequence: Schema.Number;
|
|
@@ -5510,6 +5770,14 @@ declare const SubscribeDomainEventsRpc: Rpc.Rpc<"pan.subscribeDomainEvents", Sch
|
|
|
5510
5770
|
readonly payload: Schema.Struct<{
|
|
5511
5771
|
readonly conversationName: Schema.String;
|
|
5512
5772
|
}>;
|
|
5773
|
+
}>, Schema.Struct<{
|
|
5774
|
+
readonly type: Schema.Literal<"conversation.moved">;
|
|
5775
|
+
readonly sequence: Schema.Number;
|
|
5776
|
+
readonly timestamp: Schema.String;
|
|
5777
|
+
readonly payload: Schema.Struct<{
|
|
5778
|
+
readonly conversationName: Schema.String;
|
|
5779
|
+
readonly projectKey: Schema.String;
|
|
5780
|
+
}>;
|
|
5513
5781
|
}>, Schema.Struct<{
|
|
5514
5782
|
readonly type: Schema.Literal<"conversation.title_changed">;
|
|
5515
5783
|
readonly sequence: Schema.Number;
|
|
@@ -5589,6 +5857,39 @@ declare const SubscribeDomainEventsRpc: Rpc.Rpc<"pan.subscribeDomainEvents", Sch
|
|
|
5589
5857
|
readonly success: Schema.Boolean;
|
|
5590
5858
|
readonly error: Schema.optional<Schema.String>;
|
|
5591
5859
|
}>;
|
|
5860
|
+
}>, Schema.Struct<{
|
|
5861
|
+
readonly type: Schema.Literal<"sweep.scan">;
|
|
5862
|
+
readonly sequence: Schema.Number;
|
|
5863
|
+
readonly timestamp: Schema.String;
|
|
5864
|
+
readonly payload: Schema.Struct<{
|
|
5865
|
+
readonly issueCount: Schema.Number;
|
|
5866
|
+
readonly rowCount: Schema.Number;
|
|
5867
|
+
readonly rows: Schema.$Array<Schema.Struct<{
|
|
5868
|
+
readonly issueId: Schema.String;
|
|
5869
|
+
readonly orbit: Schema.String;
|
|
5870
|
+
readonly parkedAt: Schema.String;
|
|
5871
|
+
}>>;
|
|
5872
|
+
}>;
|
|
5873
|
+
}>, Schema.Struct<{
|
|
5874
|
+
readonly type: Schema.Literal<"sweep.escalated">;
|
|
5875
|
+
readonly sequence: Schema.Number;
|
|
5876
|
+
readonly timestamp: Schema.String;
|
|
5877
|
+
readonly payload: Schema.Struct<{
|
|
5878
|
+
readonly issueId: Schema.String;
|
|
5879
|
+
readonly orbit: Schema.String;
|
|
5880
|
+
readonly reason: Schema.String;
|
|
5881
|
+
}>;
|
|
5882
|
+
}>, Schema.Struct<{
|
|
5883
|
+
readonly type: Schema.Literal<"sweep.recommendation">;
|
|
5884
|
+
readonly sequence: Schema.Number;
|
|
5885
|
+
readonly timestamp: Schema.String;
|
|
5886
|
+
readonly payload: Schema.Struct<{
|
|
5887
|
+
readonly issueId: Schema.String;
|
|
5888
|
+
readonly orbit: Schema.String;
|
|
5889
|
+
readonly recommendation: Schema.String;
|
|
5890
|
+
readonly recurring: Schema.optional<Schema.Boolean>;
|
|
5891
|
+
readonly agentId: Schema.optional<Schema.String>;
|
|
5892
|
+
}>;
|
|
5592
5893
|
}>]>, Schema.Never>, Schema.Never, never, never>;
|
|
5593
5894
|
/** 1b. Subscribe to the live domain event stream for one issue (stream) */
|
|
5594
5895
|
declare const SubscribeIssueEventsRpc: Rpc.Rpc<"pan.subscribeIssueEvents", Schema.Struct<{
|
|
@@ -5899,6 +6200,16 @@ declare const SubscribeIssueEventsRpc: Rpc.Rpc<"pan.subscribeIssueEvents", Schem
|
|
|
5899
6200
|
readonly agentId: Schema.String;
|
|
5900
6201
|
readonly activity: Schema.Literals<readonly ["working", "thinking", "waiting", "idle", "stopped"]>;
|
|
5901
6202
|
readonly currentTool: Schema.optional<Schema.String>;
|
|
6203
|
+
readonly hookName: Schema.optional<Schema.String>;
|
|
6204
|
+
}>;
|
|
6205
|
+
}>, Schema.Struct<{
|
|
6206
|
+
readonly type: Schema.Literal<"agent.hook_fired">;
|
|
6207
|
+
readonly sequence: Schema.Number;
|
|
6208
|
+
readonly timestamp: Schema.String;
|
|
6209
|
+
readonly payload: Schema.Struct<{
|
|
6210
|
+
readonly agentId: Schema.String;
|
|
6211
|
+
readonly hookName: Schema.String;
|
|
6212
|
+
readonly tool: Schema.optional<Schema.String>;
|
|
5902
6213
|
}>;
|
|
5903
6214
|
}>, Schema.Struct<{
|
|
5904
6215
|
readonly type: Schema.Literal<"agent.thinking_started">;
|
|
@@ -6438,6 +6749,45 @@ declare const SubscribeIssueEventsRpc: Rpc.Rpc<"pan.subscribeIssueEvents", Schem
|
|
|
6438
6749
|
readonly sessionName: Schema.String;
|
|
6439
6750
|
readonly reason: Schema.String;
|
|
6440
6751
|
}>;
|
|
6752
|
+
}>, Schema.Struct<{
|
|
6753
|
+
readonly type: Schema.Literal<"review.verdict_rejected">;
|
|
6754
|
+
readonly sequence: Schema.Number;
|
|
6755
|
+
readonly timestamp: Schema.String;
|
|
6756
|
+
readonly payload: Schema.Struct<{
|
|
6757
|
+
readonly issueId: Schema.String;
|
|
6758
|
+
readonly workspaceId: Schema.optional<Schema.String>;
|
|
6759
|
+
readonly writer: Schema.String;
|
|
6760
|
+
readonly verdict: Schema.String;
|
|
6761
|
+
readonly evidenceHead: Schema.String;
|
|
6762
|
+
readonly rowHead: Schema.String;
|
|
6763
|
+
readonly reason: Schema.String;
|
|
6764
|
+
}>;
|
|
6765
|
+
}>, Schema.Struct<{
|
|
6766
|
+
readonly type: Schema.Literal<"review.verdict_dispatched">;
|
|
6767
|
+
readonly sequence: Schema.Number;
|
|
6768
|
+
readonly timestamp: Schema.String;
|
|
6769
|
+
readonly payload: Schema.Struct<{
|
|
6770
|
+
readonly issueId: Schema.String;
|
|
6771
|
+
readonly workspaceId: Schema.optional<Schema.String>;
|
|
6772
|
+
readonly writer: Schema.String;
|
|
6773
|
+
readonly verdict: Schema.String;
|
|
6774
|
+
readonly evidenceHead: Schema.String;
|
|
6775
|
+
readonly rowHead: Schema.String;
|
|
6776
|
+
readonly classification: Schema.String;
|
|
6777
|
+
readonly testGateReset: Schema.Boolean;
|
|
6778
|
+
}>;
|
|
6779
|
+
}>, Schema.Struct<{
|
|
6780
|
+
readonly type: Schema.Literal<"review.verdict_restore_blocked">;
|
|
6781
|
+
readonly sequence: Schema.Number;
|
|
6782
|
+
readonly timestamp: Schema.String;
|
|
6783
|
+
readonly payload: Schema.Struct<{
|
|
6784
|
+
readonly issueId: Schema.String;
|
|
6785
|
+
readonly caller: Schema.String;
|
|
6786
|
+
readonly verdict: Schema.String;
|
|
6787
|
+
readonly artifactHead: Schema.String;
|
|
6788
|
+
readonly rowHead: Schema.String;
|
|
6789
|
+
readonly reason: Schema.String;
|
|
6790
|
+
}>;
|
|
6441
6791
|
}>, Schema.Struct<{
|
|
6442
6792
|
readonly type: Schema.Literal<"specialist.started">;
|
|
6443
6793
|
readonly sequence: Schema.Number;
|
|
@@ -6823,6 +7173,14 @@ declare const SubscribeIssueEventsRpc: Rpc.Rpc<"pan.subscribeIssueEvents", Schem
|
|
|
6823
7173
|
readonly payload: Schema.Struct<{
|
|
6824
7174
|
readonly conversationName: Schema.String;
|
|
6825
7175
|
}>;
|
|
7176
|
+
}>, Schema.Struct<{
|
|
7177
|
+
readonly type: Schema.Literal<"conversation.moved">;
|
|
7178
|
+
readonly sequence: Schema.Number;
|
|
7179
|
+
readonly timestamp: Schema.String;
|
|
7180
|
+
readonly payload: Schema.Struct<{
|
|
7181
|
+
readonly conversationName: Schema.String;
|
|
7182
|
+
readonly projectKey: Schema.String;
|
|
7183
|
+
}>;
|
|
6826
7184
|
}>, Schema.Struct<{
|
|
6827
7185
|
readonly type: Schema.Literal<"conversation.title_changed">;
|
|
6828
7186
|
readonly sequence: Schema.Number;
|
|
@@ -6902,6 +7260,39 @@ declare const SubscribeIssueEventsRpc: Rpc.Rpc<"pan.subscribeIssueEvents", Schem
|
|
|
6902
7260
|
readonly success: Schema.Boolean;
|
|
6903
7261
|
readonly error: Schema.optional<Schema.String>;
|
|
6904
7262
|
}>;
|
|
7263
|
+
}>, Schema.Struct<{
|
|
7264
|
+
readonly type: Schema.Literal<"sweep.scan">;
|
|
7265
|
+
readonly sequence: Schema.Number;
|
|
7266
|
+
readonly timestamp: Schema.String;
|
|
7267
|
+
readonly payload: Schema.Struct<{
|
|
7268
|
+
readonly issueCount: Schema.Number;
|
|
7269
|
+
readonly rowCount: Schema.Number;
|
|
7270
|
+
readonly rows: Schema.$Array<Schema.Struct<{
|
|
7271
|
+
readonly issueId: Schema.String;
|
|
7272
|
+
readonly orbit: Schema.String;
|
|
7273
|
+
readonly parkedAt: Schema.String;
|
|
7274
|
+
}>>;
|
|
7275
|
+
}>;
|
|
7276
|
+
}>, Schema.Struct<{
|
|
7277
|
+
readonly type: Schema.Literal<"sweep.escalated">;
|
|
7278
|
+
readonly sequence: Schema.Number;
|
|
7279
|
+
readonly timestamp: Schema.String;
|
|
7280
|
+
readonly payload: Schema.Struct<{
|
|
7281
|
+
readonly issueId: Schema.String;
|
|
7282
|
+
readonly orbit: Schema.String;
|
|
7283
|
+
readonly reason: Schema.String;
|
|
7284
|
+
}>;
|
|
7285
|
+
}>, Schema.Struct<{
|
|
7286
|
+
readonly type: Schema.Literal<"sweep.recommendation">;
|
|
7287
|
+
readonly sequence: Schema.Number;
|
|
7288
|
+
readonly timestamp: Schema.String;
|
|
7289
|
+
readonly payload: Schema.Struct<{
|
|
7290
|
+
readonly issueId: Schema.String;
|
|
7291
|
+
readonly orbit: Schema.String;
|
|
7292
|
+
readonly recommendation: Schema.String;
|
|
7293
|
+
readonly recurring: Schema.optional<Schema.Boolean>;
|
|
7294
|
+
readonly agentId: Schema.optional<Schema.String>;
|
|
7295
|
+
}>;
|
|
6905
7296
|
}>]>, Schema.Never>, Schema.Never, never, never>;
|
|
6906
7297
|
/** 2. Subscribe to raw terminal output for a tmux session (stream) */
|
|
6907
7298
|
declare const SubscribeTerminalRpc: Rpc.Rpc<"pan.subscribeTerminal", Schema.Struct<{
|
|
@@ -7429,6 +7820,16 @@ declare const ReplayEventsRpc: Rpc.Rpc<"pan.replayEvents", Schema.Struct<{
|
|
|
7429
7820
|
readonly agentId: Schema.String;
|
|
7430
7821
|
readonly activity: Schema.Literals<readonly ["working", "thinking", "waiting", "idle", "stopped"]>;
|
|
7431
7822
|
readonly currentTool: Schema.optional<Schema.String>;
|
|
7823
|
+
readonly hookName: Schema.optional<Schema.String>;
|
|
7824
|
+
}>;
|
|
7825
|
+
}>, Schema.Struct<{
|
|
7826
|
+
readonly type: Schema.Literal<"agent.hook_fired">;
|
|
7827
|
+
readonly sequence: Schema.Number;
|
|
7828
|
+
readonly timestamp: Schema.String;
|
|
7829
|
+
readonly payload: Schema.Struct<{
|
|
7830
|
+
readonly agentId: Schema.String;
|
|
7831
|
+
readonly hookName: Schema.String;
|
|
7832
|
+
readonly tool: Schema.optional<Schema.String>;
|
|
7432
7833
|
}>;
|
|
7433
7834
|
}>, Schema.Struct<{
|
|
7434
7835
|
readonly type: Schema.Literal<"agent.thinking_started">;
|
|
@@ -7968,6 +8369,45 @@ declare const ReplayEventsRpc: Rpc.Rpc<"pan.replayEvents", Schema.Struct<{
|
|
|
7968
8369
|
readonly sessionName: Schema.String;
|
|
7969
8370
|
readonly reason: Schema.String;
|
|
7970
8371
|
}>;
|
|
8372
|
+
}>, Schema.Struct<{
|
|
8373
|
+
readonly type: Schema.Literal<"review.verdict_rejected">;
|
|
8374
|
+
readonly sequence: Schema.Number;
|
|
8375
|
+
readonly timestamp: Schema.String;
|
|
8376
|
+
readonly payload: Schema.Struct<{
|
|
8377
|
+
readonly issueId: Schema.String;
|
|
8378
|
+
readonly workspaceId: Schema.optional<Schema.String>;
|
|
8379
|
+
readonly writer: Schema.String;
|
|
8380
|
+
readonly verdict: Schema.String;
|
|
8381
|
+
readonly evidenceHead: Schema.String;
|
|
8382
|
+
readonly rowHead: Schema.String;
|
|
8383
|
+
readonly reason: Schema.String;
|
|
8384
|
+
}>;
|
|
8385
|
+
}>, Schema.Struct<{
|
|
8386
|
+
readonly type: Schema.Literal<"review.verdict_dispatched">;
|
|
8387
|
+
readonly sequence: Schema.Number;
|
|
8388
|
+
readonly timestamp: Schema.String;
|
|
8389
|
+
readonly payload: Schema.Struct<{
|
|
8390
|
+
readonly issueId: Schema.String;
|
|
8391
|
+
readonly workspaceId: Schema.optional<Schema.String>;
|
|
8392
|
+
readonly writer: Schema.String;
|
|
8393
|
+
readonly verdict: Schema.String;
|
|
8394
|
+
readonly evidenceHead: Schema.String;
|
|
8395
|
+
readonly rowHead: Schema.String;
|
|
8396
|
+
readonly classification: Schema.String;
|
|
8397
|
+
readonly testGateReset: Schema.Boolean;
|
|
8398
|
+
}>;
|
|
8399
|
+
}>, Schema.Struct<{
|
|
8400
|
+
readonly type: Schema.Literal<"review.verdict_restore_blocked">;
|
|
8401
|
+
readonly sequence: Schema.Number;
|
|
8402
|
+
readonly timestamp: Schema.String;
|
|
8403
|
+
readonly payload: Schema.Struct<{
|
|
8404
|
+
readonly issueId: Schema.String;
|
|
8405
|
+
readonly caller: Schema.String;
|
|
8406
|
+
readonly verdict: Schema.String;
|
|
8407
|
+
readonly artifactHead: Schema.String;
|
|
8408
|
+
readonly rowHead: Schema.String;
|
|
8409
|
+
readonly reason: Schema.String;
|
|
8410
|
+
}>;
|
|
7971
8411
|
}>, Schema.Struct<{
|
|
7972
8412
|
readonly type: Schema.Literal<"specialist.started">;
|
|
7973
8413
|
readonly sequence: Schema.Number;
|
|
@@ -8353,6 +8793,14 @@ declare const ReplayEventsRpc: Rpc.Rpc<"pan.replayEvents", Schema.Struct<{
|
|
|
8353
8793
|
readonly payload: Schema.Struct<{
|
|
8354
8794
|
readonly conversationName: Schema.String;
|
|
8355
8795
|
}>;
|
|
8796
|
+
}>, Schema.Struct<{
|
|
8797
|
+
readonly type: Schema.Literal<"conversation.moved">;
|
|
8798
|
+
readonly sequence: Schema.Number;
|
|
8799
|
+
readonly timestamp: Schema.String;
|
|
8800
|
+
readonly payload: Schema.Struct<{
|
|
8801
|
+
readonly conversationName: Schema.String;
|
|
8802
|
+
readonly projectKey: Schema.String;
|
|
8803
|
+
}>;
|
|
8356
8804
|
}>, Schema.Struct<{
|
|
8357
8805
|
readonly type: Schema.Literal<"conversation.title_changed">;
|
|
8358
8806
|
readonly sequence: Schema.Number;
|
|
@@ -8432,6 +8880,39 @@ declare const ReplayEventsRpc: Rpc.Rpc<"pan.replayEvents", Schema.Struct<{
|
|
|
8432
8880
|
readonly success: Schema.Boolean;
|
|
8433
8881
|
readonly error: Schema.optional<Schema.String>;
|
|
8434
8882
|
}>;
|
|
8883
|
+
}>, Schema.Struct<{
|
|
8884
|
+
readonly type: Schema.Literal<"sweep.scan">;
|
|
8885
|
+
readonly sequence: Schema.Number;
|
|
8886
|
+
readonly timestamp: Schema.String;
|
|
8887
|
+
readonly payload: Schema.Struct<{
|
|
8888
|
+
readonly issueCount: Schema.Number;
|
|
8889
|
+
readonly rowCount: Schema.Number;
|
|
8890
|
+
readonly rows: Schema.$Array<Schema.Struct<{
|
|
8891
|
+
readonly issueId: Schema.String;
|
|
8892
|
+
readonly orbit: Schema.String;
|
|
8893
|
+
readonly parkedAt: Schema.String;
|
|
8894
|
+
}>>;
|
|
8895
|
+
}>;
|
|
8896
|
+
}>, Schema.Struct<{
|
|
8897
|
+
readonly type: Schema.Literal<"sweep.escalated">;
|
|
8898
|
+
readonly sequence: Schema.Number;
|
|
8899
|
+
readonly timestamp: Schema.String;
|
|
8900
|
+
readonly payload: Schema.Struct<{
|
|
8901
|
+
readonly issueId: Schema.String;
|
|
8902
|
+
readonly orbit: Schema.String;
|
|
8903
|
+
readonly reason: Schema.String;
|
|
8904
|
+
}>;
|
|
8905
|
+
}>, Schema.Struct<{
|
|
8906
|
+
readonly type: Schema.Literal<"sweep.recommendation">;
|
|
8907
|
+
readonly sequence: Schema.Number;
|
|
8908
|
+
readonly timestamp: Schema.String;
|
|
8909
|
+
readonly payload: Schema.Struct<{
|
|
8910
|
+
readonly issueId: Schema.String;
|
|
8911
|
+
readonly orbit: Schema.String;
|
|
8912
|
+
readonly recommendation: Schema.String;
|
|
8913
|
+
readonly recurring: Schema.optional<Schema.Boolean>;
|
|
8914
|
+
readonly agentId: Schema.optional<Schema.String>;
|
|
8915
|
+
}>;
|
|
8435
8916
|
}>]>>, typeof PanRpcError, never, never>;
|
|
8436
8917
|
/** 6. Open a terminal session / attach PTY (unary) */
|
|
8437
8918
|
declare const TerminalOpenRpc: Rpc.Rpc<"pan.terminalOpen", Schema.Struct<{
|
|
@@ -8560,7 +9041,7 @@ declare const WriteFileAtPathRpc: Rpc.Rpc<"pan.writeFileAtPath", Schema.Struct<{
|
|
|
8560
9041
|
* chat happens outside any single workspace.
|
|
8561
9042
|
*/
|
|
8562
9043
|
declare const ResolveFilePathExistsInput: Schema.Struct<{
|
|
8563
|
-
readonly cwd: Schema.String
|
|
9044
|
+
readonly cwd: Schema.optional<Schema.String>;
|
|
8564
9045
|
readonly path: Schema.String;
|
|
8565
9046
|
}>;
|
|
8566
9047
|
type ResolveFilePathExistsInput = typeof ResolveFilePathExistsInput.Type;
|
|
@@ -8570,7 +9051,7 @@ declare const ResolveFilePathExistsResult: Schema.Struct<{
|
|
|
8570
9051
|
}>;
|
|
8571
9052
|
type ResolveFilePathExistsResult = typeof ResolveFilePathExistsResult.Type;
|
|
8572
9053
|
declare const ResolveFilePathExistsRpc: Rpc.Rpc<"pan.resolveFilePathExists", Schema.Struct<{
|
|
8573
|
-
readonly cwd: Schema.String
|
|
9054
|
+
readonly cwd: Schema.optional<Schema.String>;
|
|
8574
9055
|
readonly path: Schema.String;
|
|
8575
9056
|
}>, Schema.Struct<{
|
|
8576
9057
|
readonly exists: Schema.Boolean;
|
|
@@ -9527,6 +10008,16 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
|
|
|
9527
10008
|
readonly agentId: Schema.String;
|
|
9528
10009
|
readonly activity: Schema.Literals<readonly ["working", "thinking", "waiting", "idle", "stopped"]>;
|
|
9529
10010
|
readonly currentTool: Schema.optional<Schema.String>;
|
|
10011
|
+
readonly hookName: Schema.optional<Schema.String>;
|
|
10012
|
+
}>;
|
|
10013
|
+
}>, Schema.Struct<{
|
|
10014
|
+
readonly type: Schema.Literal<"agent.hook_fired">;
|
|
10015
|
+
readonly sequence: Schema.Number;
|
|
10016
|
+
readonly timestamp: Schema.String;
|
|
10017
|
+
readonly payload: Schema.Struct<{
|
|
10018
|
+
readonly agentId: Schema.String;
|
|
10019
|
+
readonly hookName: Schema.String;
|
|
10020
|
+
readonly tool: Schema.optional<Schema.String>;
|
|
9530
10021
|
}>;
|
|
9531
10022
|
}>, Schema.Struct<{
|
|
9532
10023
|
readonly type: Schema.Literal<"agent.thinking_started">;
|
|
@@ -10066,6 +10557,45 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
|
|
|
10066
10557
|
readonly sessionName: Schema.String;
|
|
10067
10558
|
readonly reason: Schema.String;
|
|
10068
10559
|
}>;
|
|
10560
|
+
}>, Schema.Struct<{
|
|
10561
|
+
readonly type: Schema.Literal<"review.verdict_rejected">;
|
|
10562
|
+
readonly sequence: Schema.Number;
|
|
10563
|
+
readonly timestamp: Schema.String;
|
|
10564
|
+
readonly payload: Schema.Struct<{
|
|
10565
|
+
readonly issueId: Schema.String;
|
|
10566
|
+
readonly workspaceId: Schema.optional<Schema.String>;
|
|
10567
|
+
readonly writer: Schema.String;
|
|
10568
|
+
readonly verdict: Schema.String;
|
|
10569
|
+
readonly evidenceHead: Schema.String;
|
|
10570
|
+
readonly rowHead: Schema.String;
|
|
10571
|
+
readonly reason: Schema.String;
|
|
10572
|
+
}>;
|
|
10573
|
+
}>, Schema.Struct<{
|
|
10574
|
+
readonly type: Schema.Literal<"review.verdict_dispatched">;
|
|
10575
|
+
readonly sequence: Schema.Number;
|
|
10576
|
+
readonly timestamp: Schema.String;
|
|
10577
|
+
readonly payload: Schema.Struct<{
|
|
10578
|
+
readonly issueId: Schema.String;
|
|
10579
|
+
readonly workspaceId: Schema.optional<Schema.String>;
|
|
10580
|
+
readonly writer: Schema.String;
|
|
10581
|
+
readonly verdict: Schema.String;
|
|
10582
|
+
readonly evidenceHead: Schema.String;
|
|
10583
|
+
readonly rowHead: Schema.String;
|
|
10584
|
+
readonly classification: Schema.String;
|
|
10585
|
+
readonly testGateReset: Schema.Boolean;
|
|
10586
|
+
}>;
|
|
10587
|
+
}>, Schema.Struct<{
|
|
10588
|
+
readonly type: Schema.Literal<"review.verdict_restore_blocked">;
|
|
10589
|
+
readonly sequence: Schema.Number;
|
|
10590
|
+
readonly timestamp: Schema.String;
|
|
10591
|
+
readonly payload: Schema.Struct<{
|
|
10592
|
+
readonly issueId: Schema.String;
|
|
10593
|
+
readonly caller: Schema.String;
|
|
10594
|
+
readonly verdict: Schema.String;
|
|
10595
|
+
readonly artifactHead: Schema.String;
|
|
10596
|
+
readonly rowHead: Schema.String;
|
|
10597
|
+
readonly reason: Schema.String;
|
|
10598
|
+
}>;
|
|
10069
10599
|
}>, Schema.Struct<{
|
|
10070
10600
|
readonly type: Schema.Literal<"specialist.started">;
|
|
10071
10601
|
readonly sequence: Schema.Number;
|
|
@@ -10451,6 +10981,14 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
|
|
|
10451
10981
|
readonly payload: Schema.Struct<{
|
|
10452
10982
|
readonly conversationName: Schema.String;
|
|
10453
10983
|
}>;
|
|
10984
|
+
}>, Schema.Struct<{
|
|
10985
|
+
readonly type: Schema.Literal<"conversation.moved">;
|
|
10986
|
+
readonly sequence: Schema.Number;
|
|
10987
|
+
readonly timestamp: Schema.String;
|
|
10988
|
+
readonly payload: Schema.Struct<{
|
|
10989
|
+
readonly conversationName: Schema.String;
|
|
10990
|
+
readonly projectKey: Schema.String;
|
|
10991
|
+
}>;
|
|
10454
10992
|
}>, Schema.Struct<{
|
|
10455
10993
|
readonly type: Schema.Literal<"conversation.title_changed">;
|
|
10456
10994
|
readonly sequence: Schema.Number;
|
|
@@ -10530,6 +11068,39 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
|
|
|
10530
11068
|
readonly success: Schema.Boolean;
|
|
10531
11069
|
readonly error: Schema.optional<Schema.String>;
|
|
10532
11070
|
}>;
|
|
11071
|
+
}>, Schema.Struct<{
|
|
11072
|
+
readonly type: Schema.Literal<"sweep.scan">;
|
|
11073
|
+
readonly sequence: Schema.Number;
|
|
11074
|
+
readonly timestamp: Schema.String;
|
|
11075
|
+
readonly payload: Schema.Struct<{
|
|
11076
|
+
readonly issueCount: Schema.Number;
|
|
11077
|
+
readonly rowCount: Schema.Number;
|
|
11078
|
+
readonly rows: Schema.$Array<Schema.Struct<{
|
|
11079
|
+
readonly issueId: Schema.String;
|
|
11080
|
+
readonly orbit: Schema.String;
|
|
11081
|
+
readonly parkedAt: Schema.String;
|
|
11082
|
+
}>>;
|
|
11083
|
+
}>;
|
|
11084
|
+
}>, Schema.Struct<{
|
|
11085
|
+
readonly type: Schema.Literal<"sweep.escalated">;
|
|
11086
|
+
readonly sequence: Schema.Number;
|
|
11087
|
+
readonly timestamp: Schema.String;
|
|
11088
|
+
readonly payload: Schema.Struct<{
|
|
11089
|
+
readonly issueId: Schema.String;
|
|
11090
|
+
readonly orbit: Schema.String;
|
|
11091
|
+
readonly reason: Schema.String;
|
|
11092
|
+
}>;
|
|
11093
|
+
}>, Schema.Struct<{
|
|
11094
|
+
readonly type: Schema.Literal<"sweep.recommendation">;
|
|
11095
|
+
readonly sequence: Schema.Number;
|
|
11096
|
+
readonly timestamp: Schema.String;
|
|
11097
|
+
readonly payload: Schema.Struct<{
|
|
11098
|
+
readonly issueId: Schema.String;
|
|
11099
|
+
readonly orbit: Schema.String;
|
|
11100
|
+
readonly recommendation: Schema.String;
|
|
11101
|
+
readonly recurring: Schema.optional<Schema.Boolean>;
|
|
11102
|
+
readonly agentId: Schema.optional<Schema.String>;
|
|
11103
|
+
}>;
|
|
10533
11104
|
}>]>, Schema.Never>, Schema.Never, never, never> | Rpc.Rpc<"pan.subscribeIssueEvents", Schema.Struct<{
|
|
10534
11105
|
readonly issueId: Schema.String;
|
|
10535
11106
|
}>, _$effect_unstable_rpc_RpcSchema0.Stream<Schema.Union<readonly [Schema.Struct<{
|
|
@@ -10838,6 +11409,16 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
|
|
|
10838
11409
|
readonly agentId: Schema.String;
|
|
10839
11410
|
readonly activity: Schema.Literals<readonly ["working", "thinking", "waiting", "idle", "stopped"]>;
|
|
10840
11411
|
readonly currentTool: Schema.optional<Schema.String>;
|
|
11412
|
+
readonly hookName: Schema.optional<Schema.String>;
|
|
11413
|
+
}>;
|
|
11414
|
+
}>, Schema.Struct<{
|
|
11415
|
+
readonly type: Schema.Literal<"agent.hook_fired">;
|
|
11416
|
+
readonly sequence: Schema.Number;
|
|
11417
|
+
readonly timestamp: Schema.String;
|
|
11418
|
+
readonly payload: Schema.Struct<{
|
|
11419
|
+
readonly agentId: Schema.String;
|
|
11420
|
+
readonly hookName: Schema.String;
|
|
11421
|
+
readonly tool: Schema.optional<Schema.String>;
|
|
10841
11422
|
}>;
|
|
10842
11423
|
}>, Schema.Struct<{
|
|
10843
11424
|
readonly type: Schema.Literal<"agent.thinking_started">;
|
|
@@ -11377,6 +11958,45 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
|
|
|
11377
11958
|
readonly sessionName: Schema.String;
|
|
11378
11959
|
readonly reason: Schema.String;
|
|
11379
11960
|
}>;
|
|
11961
|
+
}>, Schema.Struct<{
|
|
11962
|
+
readonly type: Schema.Literal<"review.verdict_rejected">;
|
|
11963
|
+
readonly sequence: Schema.Number;
|
|
11964
|
+
readonly timestamp: Schema.String;
|
|
11965
|
+
readonly payload: Schema.Struct<{
|
|
11966
|
+
readonly issueId: Schema.String;
|
|
11967
|
+
readonly workspaceId: Schema.optional<Schema.String>;
|
|
11968
|
+
readonly writer: Schema.String;
|
|
11969
|
+
readonly verdict: Schema.String;
|
|
11970
|
+
readonly evidenceHead: Schema.String;
|
|
11971
|
+
readonly rowHead: Schema.String;
|
|
11972
|
+
readonly reason: Schema.String;
|
|
11973
|
+
}>;
|
|
11974
|
+
}>, Schema.Struct<{
|
|
11975
|
+
readonly type: Schema.Literal<"review.verdict_dispatched">;
|
|
11976
|
+
readonly sequence: Schema.Number;
|
|
11977
|
+
readonly timestamp: Schema.String;
|
|
11978
|
+
readonly payload: Schema.Struct<{
|
|
11979
|
+
readonly issueId: Schema.String;
|
|
11980
|
+
readonly workspaceId: Schema.optional<Schema.String>;
|
|
11981
|
+
readonly writer: Schema.String;
|
|
11982
|
+
readonly verdict: Schema.String;
|
|
11983
|
+
readonly evidenceHead: Schema.String;
|
|
11984
|
+
readonly rowHead: Schema.String;
|
|
11985
|
+
readonly classification: Schema.String;
|
|
11986
|
+
readonly testGateReset: Schema.Boolean;
|
|
11987
|
+
}>;
|
|
11988
|
+
}>, Schema.Struct<{
|
|
11989
|
+
readonly type: Schema.Literal<"review.verdict_restore_blocked">;
|
|
11990
|
+
readonly sequence: Schema.Number;
|
|
11991
|
+
readonly timestamp: Schema.String;
|
|
11992
|
+
readonly payload: Schema.Struct<{
|
|
11993
|
+
readonly issueId: Schema.String;
|
|
11994
|
+
readonly caller: Schema.String;
|
|
11995
|
+
readonly verdict: Schema.String;
|
|
11996
|
+
readonly artifactHead: Schema.String;
|
|
11997
|
+
readonly rowHead: Schema.String;
|
|
11998
|
+
readonly reason: Schema.String;
|
|
11999
|
+
}>;
|
|
11380
12000
|
}>, Schema.Struct<{
|
|
11381
12001
|
readonly type: Schema.Literal<"specialist.started">;
|
|
11382
12002
|
readonly sequence: Schema.Number;
|
|
@@ -11762,6 +12382,14 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
|
|
|
11762
12382
|
readonly payload: Schema.Struct<{
|
|
11763
12383
|
readonly conversationName: Schema.String;
|
|
11764
12384
|
}>;
|
|
12385
|
+
}>, Schema.Struct<{
|
|
12386
|
+
readonly type: Schema.Literal<"conversation.moved">;
|
|
12387
|
+
readonly sequence: Schema.Number;
|
|
12388
|
+
readonly timestamp: Schema.String;
|
|
12389
|
+
readonly payload: Schema.Struct<{
|
|
12390
|
+
readonly conversationName: Schema.String;
|
|
12391
|
+
readonly projectKey: Schema.String;
|
|
12392
|
+
}>;
|
|
11765
12393
|
}>, Schema.Struct<{
|
|
11766
12394
|
readonly type: Schema.Literal<"conversation.title_changed">;
|
|
11767
12395
|
readonly sequence: Schema.Number;
|
|
@@ -11841,6 +12469,39 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
|
|
|
11841
12469
|
readonly success: Schema.Boolean;
|
|
11842
12470
|
readonly error: Schema.optional<Schema.String>;
|
|
11843
12471
|
}>;
|
|
12472
|
+
}>, Schema.Struct<{
|
|
12473
|
+
readonly type: Schema.Literal<"sweep.scan">;
|
|
12474
|
+
readonly sequence: Schema.Number;
|
|
12475
|
+
readonly timestamp: Schema.String;
|
|
12476
|
+
readonly payload: Schema.Struct<{
|
|
12477
|
+
readonly issueCount: Schema.Number;
|
|
12478
|
+
readonly rowCount: Schema.Number;
|
|
12479
|
+
readonly rows: Schema.$Array<Schema.Struct<{
|
|
12480
|
+
readonly issueId: Schema.String;
|
|
12481
|
+
readonly orbit: Schema.String;
|
|
12482
|
+
readonly parkedAt: Schema.String;
|
|
12483
|
+
}>>;
|
|
12484
|
+
}>;
|
|
12485
|
+
}>, Schema.Struct<{
|
|
12486
|
+
readonly type: Schema.Literal<"sweep.escalated">;
|
|
12487
|
+
readonly sequence: Schema.Number;
|
|
12488
|
+
readonly timestamp: Schema.String;
|
|
12489
|
+
readonly payload: Schema.Struct<{
|
|
12490
|
+
readonly issueId: Schema.String;
|
|
12491
|
+
readonly orbit: Schema.String;
|
|
12492
|
+
readonly reason: Schema.String;
|
|
12493
|
+
}>;
|
|
12494
|
+
}>, Schema.Struct<{
|
|
12495
|
+
readonly type: Schema.Literal<"sweep.recommendation">;
|
|
12496
|
+
readonly sequence: Schema.Number;
|
|
12497
|
+
readonly timestamp: Schema.String;
|
|
12498
|
+
readonly payload: Schema.Struct<{
|
|
12499
|
+
readonly issueId: Schema.String;
|
|
12500
|
+
readonly orbit: Schema.String;
|
|
12501
|
+
readonly recommendation: Schema.String;
|
|
12502
|
+
readonly recurring: Schema.optional<Schema.Boolean>;
|
|
12503
|
+
readonly agentId: Schema.optional<Schema.String>;
|
|
12504
|
+
}>;
|
|
11844
12505
|
}>]>, Schema.Never>, Schema.Never, never, never> | Rpc.Rpc<"pan.subscribeTerminal", Schema.Struct<{
|
|
11845
12506
|
readonly sessionName: Schema.String;
|
|
11846
12507
|
readonly cols: Schema.Number;
|
|
@@ -12360,6 +13021,16 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
|
|
|
12360
13021
|
readonly agentId: Schema.String;
|
|
12361
13022
|
readonly activity: Schema.Literals<readonly ["working", "thinking", "waiting", "idle", "stopped"]>;
|
|
12362
13023
|
readonly currentTool: Schema.optional<Schema.String>;
|
|
13024
|
+
readonly hookName: Schema.optional<Schema.String>;
|
|
13025
|
+
}>;
|
|
13026
|
+
}>, Schema.Struct<{
|
|
13027
|
+
readonly type: Schema.Literal<"agent.hook_fired">;
|
|
13028
|
+
readonly sequence: Schema.Number;
|
|
13029
|
+
readonly timestamp: Schema.String;
|
|
13030
|
+
readonly payload: Schema.Struct<{
|
|
13031
|
+
readonly agentId: Schema.String;
|
|
13032
|
+
readonly hookName: Schema.String;
|
|
13033
|
+
readonly tool: Schema.optional<Schema.String>;
|
|
12363
13034
|
}>;
|
|
12364
13035
|
}>, Schema.Struct<{
|
|
12365
13036
|
readonly type: Schema.Literal<"agent.thinking_started">;
|
|
@@ -12899,6 +13570,45 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
|
|
|
12899
13570
|
readonly sessionName: Schema.String;
|
|
12900
13571
|
readonly reason: Schema.String;
|
|
12901
13572
|
}>;
|
|
13573
|
+
}>, Schema.Struct<{
|
|
13574
|
+
readonly type: Schema.Literal<"review.verdict_rejected">;
|
|
13575
|
+
readonly sequence: Schema.Number;
|
|
13576
|
+
readonly timestamp: Schema.String;
|
|
13577
|
+
readonly payload: Schema.Struct<{
|
|
13578
|
+
readonly issueId: Schema.String;
|
|
13579
|
+
readonly workspaceId: Schema.optional<Schema.String>;
|
|
13580
|
+
readonly writer: Schema.String;
|
|
13581
|
+
readonly verdict: Schema.String;
|
|
13582
|
+
readonly evidenceHead: Schema.String;
|
|
13583
|
+
readonly rowHead: Schema.String;
|
|
13584
|
+
readonly reason: Schema.String;
|
|
13585
|
+
}>;
|
|
13586
|
+
}>, Schema.Struct<{
|
|
13587
|
+
readonly type: Schema.Literal<"review.verdict_dispatched">;
|
|
13588
|
+
readonly sequence: Schema.Number;
|
|
13589
|
+
readonly timestamp: Schema.String;
|
|
13590
|
+
readonly payload: Schema.Struct<{
|
|
13591
|
+
readonly issueId: Schema.String;
|
|
13592
|
+
readonly workspaceId: Schema.optional<Schema.String>;
|
|
13593
|
+
readonly writer: Schema.String;
|
|
13594
|
+
readonly verdict: Schema.String;
|
|
13595
|
+
readonly evidenceHead: Schema.String;
|
|
13596
|
+
readonly rowHead: Schema.String;
|
|
13597
|
+
readonly classification: Schema.String;
|
|
13598
|
+
readonly testGateReset: Schema.Boolean;
|
|
13599
|
+
}>;
|
|
13600
|
+
}>, Schema.Struct<{
|
|
13601
|
+
readonly type: Schema.Literal<"review.verdict_restore_blocked">;
|
|
13602
|
+
readonly sequence: Schema.Number;
|
|
13603
|
+
readonly timestamp: Schema.String;
|
|
13604
|
+
readonly payload: Schema.Struct<{
|
|
13605
|
+
readonly issueId: Schema.String;
|
|
13606
|
+
readonly caller: Schema.String;
|
|
13607
|
+
readonly verdict: Schema.String;
|
|
13608
|
+
readonly artifactHead: Schema.String;
|
|
13609
|
+
readonly rowHead: Schema.String;
|
|
13610
|
+
readonly reason: Schema.String;
|
|
13611
|
+
}>;
|
|
12902
13612
|
}>, Schema.Struct<{
|
|
12903
13613
|
readonly type: Schema.Literal<"specialist.started">;
|
|
12904
13614
|
readonly sequence: Schema.Number;
|
|
@@ -13284,6 +13994,14 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
|
|
|
13284
13994
|
readonly payload: Schema.Struct<{
|
|
13285
13995
|
readonly conversationName: Schema.String;
|
|
13286
13996
|
}>;
|
|
13997
|
+
}>, Schema.Struct<{
|
|
13998
|
+
readonly type: Schema.Literal<"conversation.moved">;
|
|
13999
|
+
readonly sequence: Schema.Number;
|
|
14000
|
+
readonly timestamp: Schema.String;
|
|
14001
|
+
readonly payload: Schema.Struct<{
|
|
14002
|
+
readonly conversationName: Schema.String;
|
|
14003
|
+
readonly projectKey: Schema.String;
|
|
14004
|
+
}>;
|
|
13287
14005
|
}>, Schema.Struct<{
|
|
13288
14006
|
readonly type: Schema.Literal<"conversation.title_changed">;
|
|
13289
14007
|
readonly sequence: Schema.Number;
|
|
@@ -13363,6 +14081,39 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
|
|
|
13363
14081
|
readonly success: Schema.Boolean;
|
|
13364
14082
|
readonly error: Schema.optional<Schema.String>;
|
|
13365
14083
|
}>;
|
|
14084
|
+
}>, Schema.Struct<{
|
|
14085
|
+
readonly type: Schema.Literal<"sweep.scan">;
|
|
14086
|
+
readonly sequence: Schema.Number;
|
|
14087
|
+
readonly timestamp: Schema.String;
|
|
14088
|
+
readonly payload: Schema.Struct<{
|
|
14089
|
+
readonly issueCount: Schema.Number;
|
|
14090
|
+
readonly rowCount: Schema.Number;
|
|
14091
|
+
readonly rows: Schema.$Array<Schema.Struct<{
|
|
14092
|
+
readonly issueId: Schema.String;
|
|
14093
|
+
readonly orbit: Schema.String;
|
|
14094
|
+
readonly parkedAt: Schema.String;
|
|
14095
|
+
}>>;
|
|
14096
|
+
}>;
|
|
14097
|
+
}>, Schema.Struct<{
|
|
14098
|
+
readonly type: Schema.Literal<"sweep.escalated">;
|
|
14099
|
+
readonly sequence: Schema.Number;
|
|
14100
|
+
readonly timestamp: Schema.String;
|
|
14101
|
+
readonly payload: Schema.Struct<{
|
|
14102
|
+
readonly issueId: Schema.String;
|
|
14103
|
+
readonly orbit: Schema.String;
|
|
14104
|
+
readonly reason: Schema.String;
|
|
14105
|
+
}>;
|
|
14106
|
+
}>, Schema.Struct<{
|
|
14107
|
+
readonly type: Schema.Literal<"sweep.recommendation">;
|
|
14108
|
+
readonly sequence: Schema.Number;
|
|
14109
|
+
readonly timestamp: Schema.String;
|
|
14110
|
+
readonly payload: Schema.Struct<{
|
|
14111
|
+
readonly issueId: Schema.String;
|
|
14112
|
+
readonly orbit: Schema.String;
|
|
14113
|
+
readonly recommendation: Schema.String;
|
|
14114
|
+
readonly recurring: Schema.optional<Schema.Boolean>;
|
|
14115
|
+
readonly agentId: Schema.optional<Schema.String>;
|
|
14116
|
+
}>;
|
|
13366
14117
|
}>]>>, typeof PanRpcError, never, never> | Rpc.Rpc<"pan.terminalOpen", Schema.Struct<{
|
|
13367
14118
|
readonly sessionName: Schema.String;
|
|
13368
14119
|
readonly cols: Schema.Number;
|
|
@@ -13410,7 +14161,7 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
|
|
|
13410
14161
|
}>, Schema.Struct<{
|
|
13411
14162
|
readonly mtimeMs: Schema.Number;
|
|
13412
14163
|
}>, typeof PanRpcError, never, never> | Rpc.Rpc<"pan.resolveFilePathExists", Schema.Struct<{
|
|
13413
|
-
readonly cwd: Schema.String
|
|
14164
|
+
readonly cwd: Schema.optional<Schema.String>;
|
|
13414
14165
|
readonly path: Schema.String;
|
|
13415
14166
|
}>, Schema.Struct<{
|
|
13416
14167
|
readonly exists: Schema.Boolean;
|
|
@@ -16540,5 +17291,134 @@ type ComposerCommandResult = {
|
|
|
16540
17291
|
readonly message: string;
|
|
16541
17292
|
};
|
|
16542
17293
|
//#endregion
|
|
16543
|
-
|
|
17294
|
+
//#region src/hook-inventory.d.ts
|
|
17295
|
+
interface WiredHookInventoryEntry {
|
|
17296
|
+
readonly name: string;
|
|
17297
|
+
readonly wired: true;
|
|
17298
|
+
readonly color: `#${string}`;
|
|
17299
|
+
}
|
|
17300
|
+
interface UnwiredHookInventoryEntry {
|
|
17301
|
+
readonly name: string;
|
|
17302
|
+
readonly wired: false;
|
|
17303
|
+
}
|
|
17304
|
+
type HookInventoryEntry = WiredHookInventoryEntry | UnwiredHookInventoryEntry;
|
|
17305
|
+
declare const HOOK_INVENTORY: readonly [{
|
|
17306
|
+
readonly name: "PreToolUse";
|
|
17307
|
+
readonly wired: true;
|
|
17308
|
+
readonly color: "#00d4ff";
|
|
17309
|
+
}, {
|
|
17310
|
+
readonly name: "PostToolUse";
|
|
17311
|
+
readonly wired: true;
|
|
17312
|
+
readonly color: "#39ff14";
|
|
17313
|
+
}, {
|
|
17314
|
+
readonly name: "PostToolUseFailure";
|
|
17315
|
+
readonly wired: true;
|
|
17316
|
+
readonly color: "#ff4444";
|
|
17317
|
+
}, {
|
|
17318
|
+
readonly name: "Stop";
|
|
17319
|
+
readonly wired: true;
|
|
17320
|
+
readonly color: "#ff2d7c";
|
|
17321
|
+
}, {
|
|
17322
|
+
readonly name: "SessionStart";
|
|
17323
|
+
readonly wired: true;
|
|
17324
|
+
readonly color: "#9d4edd";
|
|
17325
|
+
}, {
|
|
17326
|
+
readonly name: "Notification";
|
|
17327
|
+
readonly wired: true;
|
|
17328
|
+
readonly color: "#ffb800";
|
|
17329
|
+
}, {
|
|
17330
|
+
readonly name: "UserPromptSubmit";
|
|
17331
|
+
readonly wired: true;
|
|
17332
|
+
readonly color: "#00d4ff";
|
|
17333
|
+
}, {
|
|
17334
|
+
readonly name: "PreCompact";
|
|
17335
|
+
readonly wired: true;
|
|
17336
|
+
readonly color: "#ff7700";
|
|
17337
|
+
}, {
|
|
17338
|
+
readonly name: "PostCompact";
|
|
17339
|
+
readonly wired: true;
|
|
17340
|
+
readonly color: "#ff7700";
|
|
17341
|
+
}, {
|
|
17342
|
+
readonly name: "PermissionRequest";
|
|
17343
|
+
readonly wired: true;
|
|
17344
|
+
readonly color: "#ffb800";
|
|
17345
|
+
}, {
|
|
17346
|
+
readonly name: "SessionEnd";
|
|
17347
|
+
readonly wired: false;
|
|
17348
|
+
}, {
|
|
17349
|
+
readonly name: "SubagentStart";
|
|
17350
|
+
readonly wired: false;
|
|
17351
|
+
}, {
|
|
17352
|
+
readonly name: "SubagentStop";
|
|
17353
|
+
readonly wired: false;
|
|
17354
|
+
}, {
|
|
17355
|
+
readonly name: "StopFailure";
|
|
17356
|
+
readonly wired: false;
|
|
17357
|
+
}, {
|
|
17358
|
+
readonly name: "PermissionDenied";
|
|
17359
|
+
readonly wired: false;
|
|
17360
|
+
}, {
|
|
17361
|
+
readonly name: "TaskCreated";
|
|
17362
|
+
readonly wired: false;
|
|
17363
|
+
}, {
|
|
17364
|
+
readonly name: "TaskCompleted";
|
|
17365
|
+
readonly wired: false;
|
|
17366
|
+
}, {
|
|
17367
|
+
readonly name: "TeammateIdle";
|
|
17368
|
+
readonly wired: false;
|
|
17369
|
+
}, {
|
|
17370
|
+
readonly name: "ConfigChange";
|
|
17371
|
+
readonly wired: false;
|
|
17372
|
+
}, {
|
|
17373
|
+
readonly name: "WorktreeCreate";
|
|
17374
|
+
readonly wired: false;
|
|
17375
|
+
}, {
|
|
17376
|
+
readonly name: "InstructionsLoaded";
|
|
17377
|
+
readonly wired: false;
|
|
17378
|
+
}];
|
|
17379
|
+
type HookInventoryName = (typeof HOOK_INVENTORY)[number]["name"];
|
|
17380
|
+
declare const WIRED_HOOK_INVENTORY: ({
|
|
17381
|
+
readonly name: "PreToolUse";
|
|
17382
|
+
readonly wired: true;
|
|
17383
|
+
readonly color: "#00d4ff";
|
|
17384
|
+
} | {
|
|
17385
|
+
readonly name: "PostToolUse";
|
|
17386
|
+
readonly wired: true;
|
|
17387
|
+
readonly color: "#39ff14";
|
|
17388
|
+
} | {
|
|
17389
|
+
readonly name: "PostToolUseFailure";
|
|
17390
|
+
readonly wired: true;
|
|
17391
|
+
readonly color: "#ff4444";
|
|
17392
|
+
} | {
|
|
17393
|
+
readonly name: "Stop";
|
|
17394
|
+
readonly wired: true;
|
|
17395
|
+
readonly color: "#ff2d7c";
|
|
17396
|
+
} | {
|
|
17397
|
+
readonly name: "SessionStart";
|
|
17398
|
+
readonly wired: true;
|
|
17399
|
+
readonly color: "#9d4edd";
|
|
17400
|
+
} | {
|
|
17401
|
+
readonly name: "Notification";
|
|
17402
|
+
readonly wired: true;
|
|
17403
|
+
readonly color: "#ffb800";
|
|
17404
|
+
} | {
|
|
17405
|
+
readonly name: "UserPromptSubmit";
|
|
17406
|
+
readonly wired: true;
|
|
17407
|
+
readonly color: "#00d4ff";
|
|
17408
|
+
} | {
|
|
17409
|
+
readonly name: "PreCompact";
|
|
17410
|
+
readonly wired: true;
|
|
17411
|
+
readonly color: "#ff7700";
|
|
17412
|
+
} | {
|
|
17413
|
+
readonly name: "PostCompact";
|
|
17414
|
+
readonly wired: true;
|
|
17415
|
+
readonly color: "#ff7700";
|
|
17416
|
+
} | {
|
|
17417
|
+
readonly name: "PermissionRequest";
|
|
17418
|
+
readonly wired: true;
|
|
17419
|
+
readonly color: "#ffb800";
|
|
17420
|
+
})[];
|
|
17421
|
+
declare const WIRED_HOOK_NAMES: ("PreToolUse" | "PostToolUse" | "PostToolUseFailure" | "Stop" | "SessionStart" | "Notification" | "UserPromptSubmit" | "PreCompact" | "PostCompact" | "PermissionRequest")[];
|
|
17422
|
+
//#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 };
|
|
16544
17424
|
//# sourceMappingURL=index.d.ts.map
|