@overdeck/contracts 0.47.1 → 0.48.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -46,7 +46,8 @@ declare const ReleaseStatusValue: Schema.Literals<readonly ["pending", "releasin
46
46
  type ReleaseStatusValue = typeof ReleaseStatusValue.Type;
47
47
  declare const VerificationStatusValue: Schema.Literals<readonly ["pending", "running", "passed", "failed", "skipped"]>;
48
48
  type VerificationStatusValue = typeof VerificationStatusValue.Type;
49
- type Harness = 'claude-code' | 'ohmypi' | 'codex' | 'acp';
49
+ type Harness = 'claude-code' | 'ohmypi' | 'codex' | 'acp' | 'kimi-code';
50
+ declare const KNOWN_HARNESSES: ReadonlySet<string>;
50
51
  /**
51
52
  * Normalize a snapshot's runtime field to a known Harness value.
52
53
  * Unknown or missing values fall back to 'claude-code' (the default harness).
@@ -977,6 +978,7 @@ declare const AgentStartedEvent: Schema.Struct<{
977
978
  readonly payload: Schema.Struct<{
978
979
  readonly agentId: Schema.String;
979
980
  readonly issueId: Schema.String;
981
+ readonly workspaceId: Schema.optional<Schema.String>;
980
982
  readonly agent: Schema.Struct<{
981
983
  readonly id: Schema.String;
982
984
  readonly issueId: Schema.String;
@@ -1046,6 +1048,7 @@ declare const AgentStoppedEvent: Schema.Struct<{
1046
1048
  readonly payload: Schema.Struct<{
1047
1049
  readonly agentId: Schema.String;
1048
1050
  readonly issueId: Schema.String;
1051
+ readonly workspaceId: Schema.optional<Schema.String>;
1049
1052
  readonly sessionId: Schema.optional<Schema.String>;
1050
1053
  }>;
1051
1054
  }>;
@@ -1057,6 +1060,7 @@ declare const AgentHeartbeatDeadEvent: Schema.Struct<{
1057
1060
  readonly payload: Schema.Struct<{
1058
1061
  readonly agentId: Schema.String;
1059
1062
  readonly issueId: Schema.optional<Schema.String>;
1063
+ readonly workspaceId: Schema.optional<Schema.String>;
1060
1064
  readonly sessionId: Schema.optional<Schema.String>;
1061
1065
  }>;
1062
1066
  }>;
@@ -1068,6 +1072,7 @@ declare const WorkCompletedEvent: Schema.Struct<{
1068
1072
  readonly timestamp: Schema.String;
1069
1073
  readonly payload: Schema.Struct<{
1070
1074
  readonly issueId: Schema.String;
1075
+ readonly workspaceId: Schema.optional<Schema.String>;
1071
1076
  readonly agentId: Schema.optional<Schema.String>;
1072
1077
  }>;
1073
1078
  }>;
@@ -1079,6 +1084,7 @@ declare const AgentCompletedEvent: Schema.Struct<{
1079
1084
  readonly timestamp: Schema.String;
1080
1085
  readonly payload: Schema.Struct<{
1081
1086
  readonly issueId: Schema.String;
1087
+ readonly workspaceId: Schema.optional<Schema.String>;
1082
1088
  readonly agentId: Schema.optional<Schema.String>;
1083
1089
  readonly role: Schema.optional<Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge"]>>;
1084
1090
  }>;
@@ -1091,6 +1097,7 @@ declare const ReviewApprovedEvent: Schema.Struct<{
1091
1097
  readonly timestamp: Schema.String;
1092
1098
  readonly payload: Schema.Struct<{
1093
1099
  readonly issueId: Schema.String;
1100
+ readonly workspaceId: Schema.optional<Schema.String>;
1094
1101
  }>;
1095
1102
  }>;
1096
1103
  type ReviewApprovedEvent = typeof ReviewApprovedEvent.Type;
@@ -1101,6 +1108,7 @@ declare const TestPassedEvent: Schema.Struct<{
1101
1108
  readonly timestamp: Schema.String;
1102
1109
  readonly payload: Schema.Struct<{
1103
1110
  readonly issueId: Schema.String;
1111
+ readonly workspaceId: Schema.optional<Schema.String>;
1104
1112
  }>;
1105
1113
  }>;
1106
1114
  type TestPassedEvent = typeof TestPassedEvent.Type;
@@ -1112,6 +1120,7 @@ declare const AgentStatusChangedEvent: Schema.Struct<{
1112
1120
  readonly payload: Schema.Struct<{
1113
1121
  readonly agentId: Schema.String;
1114
1122
  readonly issueId: Schema.optional<Schema.String>;
1123
+ readonly workspaceId: Schema.optional<Schema.String>;
1115
1124
  readonly status: Schema.Literals<readonly ["starting", "running", "stopped", "error", "unknown"]>;
1116
1125
  readonly previousStatus: Schema.optional<Schema.Literals<readonly ["starting", "running", "stopped", "error", "unknown"]>>;
1117
1126
  readonly hasLiveTmuxSession: Schema.optional<Schema.Boolean>;
@@ -1174,6 +1183,8 @@ declare const AgentEnrichmentChangedEvent: Schema.Struct<{
1174
1183
  readonly timestamp: Schema.String;
1175
1184
  readonly payload: Schema.Struct<{
1176
1185
  readonly agentId: Schema.String;
1186
+ readonly issueId: Schema.optional<Schema.String>;
1187
+ readonly workspaceId: Schema.optional<Schema.String>;
1177
1188
  readonly role: Schema.optional<Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge"]>>;
1178
1189
  readonly hasPendingQuestion: Schema.optional<Schema.Boolean>;
1179
1190
  readonly pendingQuestionCount: Schema.optional<Schema.Number>;
@@ -1212,6 +1223,7 @@ declare const AgentCreatedEvent: Schema.Struct<{
1212
1223
  readonly payload: Schema.Struct<{
1213
1224
  readonly agentId: Schema.String;
1214
1225
  readonly issueId: Schema.String;
1226
+ readonly workspaceId: Schema.optional<Schema.String>;
1215
1227
  readonly agent: Schema.Struct<{
1216
1228
  readonly id: Schema.String;
1217
1229
  readonly issueId: Schema.String;
@@ -1348,6 +1360,7 @@ declare const AgentPermissionResolvedEvent: Schema.Struct<{
1348
1360
  readonly requestId: Schema.String;
1349
1361
  readonly agentId: Schema.String;
1350
1362
  readonly issueId: Schema.optional<Schema.String>;
1363
+ readonly workspaceId: Schema.optional<Schema.String>;
1351
1364
  readonly behavior: Schema.Literals<readonly ["allow", "deny"]>;
1352
1365
  }>;
1353
1366
  }>;
@@ -1503,6 +1516,7 @@ declare const PlanningStartedEvent: Schema.Struct<{
1503
1516
  readonly timestamp: Schema.String;
1504
1517
  readonly payload: Schema.Struct<{
1505
1518
  readonly issueId: Schema.String;
1519
+ readonly workspaceId: Schema.optional<Schema.String>;
1506
1520
  readonly sessionName: Schema.String;
1507
1521
  readonly harness: Schema.optional<Schema.String>;
1508
1522
  }>;
@@ -1515,6 +1529,7 @@ declare const PlanningFailedEvent: Schema.Struct<{
1515
1529
  readonly timestamp: Schema.String;
1516
1530
  readonly payload: Schema.Struct<{
1517
1531
  readonly issueId: Schema.String;
1532
+ readonly workspaceId: Schema.optional<Schema.String>;
1518
1533
  readonly error: Schema.String;
1519
1534
  }>;
1520
1535
  }>;
@@ -1526,6 +1541,7 @@ declare const PlanningSyncEvent: Schema.Struct<{
1526
1541
  readonly timestamp: Schema.String;
1527
1542
  readonly payload: Schema.Struct<{
1528
1543
  readonly issueId: Schema.String;
1544
+ readonly workspaceId: Schema.optional<Schema.String>;
1529
1545
  readonly status: Schema.String;
1530
1546
  readonly progress: Schema.optional<Schema.Number>;
1531
1547
  readonly message: Schema.optional<Schema.String>;
@@ -1539,6 +1555,7 @@ declare const PlanItemStatusChangedEvent: Schema.Struct<{
1539
1555
  readonly timestamp: Schema.String;
1540
1556
  readonly payload: Schema.Struct<{
1541
1557
  readonly issueId: Schema.String;
1558
+ readonly workspaceId: Schema.optional<Schema.String>;
1542
1559
  readonly itemId: Schema.String;
1543
1560
  readonly status: Schema.String;
1544
1561
  }>;
@@ -1551,6 +1568,7 @@ declare const PlanSubitemStatusChangedEvent: Schema.Struct<{
1551
1568
  readonly timestamp: Schema.String;
1552
1569
  readonly payload: Schema.Struct<{
1553
1570
  readonly issueId: Schema.String;
1571
+ readonly workspaceId: Schema.optional<Schema.String>;
1554
1572
  readonly itemId: Schema.String;
1555
1573
  readonly subItemId: Schema.String;
1556
1574
  readonly status: Schema.String;
@@ -1564,6 +1582,7 @@ declare const PlanItemsUnblockedEvent: Schema.Struct<{
1564
1582
  readonly timestamp: Schema.String;
1565
1583
  readonly payload: Schema.Struct<{
1566
1584
  readonly issueId: Schema.String;
1585
+ readonly workspaceId: Schema.optional<Schema.String>;
1567
1586
  readonly items: Schema.$Array<Schema.String>;
1568
1587
  }>;
1569
1588
  }>;
@@ -1575,6 +1594,7 @@ declare const PipelineStatusChangedEvent: Schema.Struct<{
1575
1594
  readonly timestamp: Schema.String;
1576
1595
  readonly payload: Schema.Struct<{
1577
1596
  readonly issueId: Schema.String;
1597
+ readonly workspaceId: Schema.optional<Schema.String>;
1578
1598
  readonly status: Schema.Struct<{
1579
1599
  readonly issueId: Schema.String;
1580
1600
  readonly reviewStatus: Schema.optional<Schema.Literals<readonly ["pending", "reviewing", "passed", "failed", "blocked", "skipped"]>>;
@@ -1637,6 +1657,7 @@ declare const MergeReadyEvent: Schema.Struct<{
1637
1657
  readonly timestamp: Schema.String;
1638
1658
  readonly payload: Schema.Struct<{
1639
1659
  readonly issueId: Schema.String;
1660
+ readonly workspaceId: Schema.optional<Schema.String>;
1640
1661
  }>;
1641
1662
  }>;
1642
1663
  type MergeReadyEvent = typeof MergeReadyEvent.Type;
@@ -1647,6 +1668,7 @@ declare const ReviewStatusChangedEvent: Schema.Struct<{
1647
1668
  readonly timestamp: Schema.String;
1648
1669
  readonly payload: Schema.Struct<{
1649
1670
  readonly issueId: Schema.String;
1671
+ readonly workspaceId: Schema.optional<Schema.String>;
1650
1672
  readonly status: Schema.Struct<{
1651
1673
  readonly issueId: Schema.String;
1652
1674
  readonly reviewStatus: Schema.optional<Schema.Literals<readonly ["pending", "reviewing", "passed", "failed", "blocked", "skipped"]>>;
@@ -1709,6 +1731,7 @@ declare const PipelineReviewStartedEvent: Schema.Struct<{
1709
1731
  readonly timestamp: Schema.String;
1710
1732
  readonly payload: Schema.Struct<{
1711
1733
  readonly issueId: Schema.String;
1734
+ readonly workspaceId: Schema.optional<Schema.String>;
1712
1735
  }>;
1713
1736
  }>;
1714
1737
  type PipelineReviewStartedEvent = typeof PipelineReviewStartedEvent.Type;
@@ -1719,6 +1742,7 @@ declare const PipelineReviewCompletedEvent: Schema.Struct<{
1719
1742
  readonly timestamp: Schema.String;
1720
1743
  readonly payload: Schema.Struct<{
1721
1744
  readonly issueId: Schema.String;
1745
+ readonly workspaceId: Schema.optional<Schema.String>;
1722
1746
  readonly passed: Schema.Boolean;
1723
1747
  }>;
1724
1748
  }>;
@@ -1730,6 +1754,7 @@ declare const PipelineTestStartedEvent: Schema.Struct<{
1730
1754
  readonly timestamp: Schema.String;
1731
1755
  readonly payload: Schema.Struct<{
1732
1756
  readonly issueId: Schema.String;
1757
+ readonly workspaceId: Schema.optional<Schema.String>;
1733
1758
  }>;
1734
1759
  }>;
1735
1760
  type PipelineTestStartedEvent = typeof PipelineTestStartedEvent.Type;
@@ -1740,6 +1765,7 @@ declare const PipelineTestCompletedEvent: Schema.Struct<{
1740
1765
  readonly timestamp: Schema.String;
1741
1766
  readonly payload: Schema.Struct<{
1742
1767
  readonly issueId: Schema.String;
1768
+ readonly workspaceId: Schema.optional<Schema.String>;
1743
1769
  readonly passed: Schema.Boolean;
1744
1770
  }>;
1745
1771
  }>;
@@ -1751,6 +1777,7 @@ declare const PipelineVerificationStartedEvent: Schema.Struct<{
1751
1777
  readonly timestamp: Schema.String;
1752
1778
  readonly payload: Schema.Struct<{
1753
1779
  readonly issueId: Schema.String;
1780
+ readonly workspaceId: Schema.optional<Schema.String>;
1754
1781
  }>;
1755
1782
  }>;
1756
1783
  type PipelineVerificationStartedEvent = typeof PipelineVerificationStartedEvent.Type;
@@ -1761,6 +1788,7 @@ declare const PipelineVerificationFailedEvent: Schema.Struct<{
1761
1788
  readonly timestamp: Schema.String;
1762
1789
  readonly payload: Schema.Struct<{
1763
1790
  readonly issueId: Schema.String;
1791
+ readonly workspaceId: Schema.optional<Schema.String>;
1764
1792
  readonly failedCheck: Schema.optional<Schema.String>;
1765
1793
  readonly message: Schema.optional<Schema.String>;
1766
1794
  }>;
@@ -1775,6 +1803,7 @@ declare const IssueTransitionedEvent: Schema.Struct<{
1775
1803
  readonly timestamp: Schema.String;
1776
1804
  readonly payload: Schema.Struct<{
1777
1805
  readonly issueId: Schema.String;
1806
+ readonly workspaceId: Schema.optional<Schema.String>;
1778
1807
  readonly state: Schema.String;
1779
1808
  }>;
1780
1809
  }>;
@@ -1785,6 +1814,7 @@ declare const OperatorInterventionEvent: Schema.Struct<{
1785
1814
  readonly timestamp: Schema.String;
1786
1815
  readonly payload: Schema.Struct<{
1787
1816
  readonly issueId: Schema.String;
1817
+ readonly workspaceId: Schema.optional<Schema.String>;
1788
1818
  readonly kind: Schema.Literals<readonly ["tell", "pause", "restart", "manual_edit", "deep_wipe", "unpause", "untroubled"]>;
1789
1819
  readonly source: Schema.String;
1790
1820
  }>;
@@ -1841,6 +1871,7 @@ declare const SubstrateBugFiledEvent: Schema.Struct<{
1841
1871
  readonly timestamp: Schema.String;
1842
1872
  readonly payload: Schema.Struct<{
1843
1873
  readonly issueId: Schema.String;
1874
+ readonly workspaceId: Schema.optional<Schema.String>;
1844
1875
  readonly runId: Schema.optional<Schema.String>;
1845
1876
  readonly filedBy: Schema.Literals<readonly ["agent", "operator"]>;
1846
1877
  readonly discoveredIn: Schema.optional<Schema.String>;
@@ -1859,6 +1890,7 @@ declare const ReviewReviewerStartedEvent: Schema.Struct<{
1859
1890
  readonly timestamp: Schema.String;
1860
1891
  readonly payload: Schema.Struct<{
1861
1892
  readonly issueId: Schema.String;
1893
+ readonly workspaceId: Schema.optional<Schema.String>;
1862
1894
  readonly role: Schema.String;
1863
1895
  readonly sessionName: Schema.String;
1864
1896
  }>;
@@ -1874,6 +1906,7 @@ declare const ReviewReviewerCompletedEvent: Schema.Struct<{
1874
1906
  readonly timestamp: Schema.String;
1875
1907
  readonly payload: Schema.Struct<{
1876
1908
  readonly issueId: Schema.String;
1909
+ readonly workspaceId: Schema.optional<Schema.String>;
1877
1910
  readonly role: Schema.String;
1878
1911
  }>;
1879
1912
  }>;
@@ -1889,6 +1922,7 @@ declare const ReviewSpecialistTimedOutEvent: Schema.Struct<{
1889
1922
  readonly timestamp: Schema.String;
1890
1923
  readonly payload: Schema.Struct<{
1891
1924
  readonly issueId: Schema.String;
1925
+ readonly workspaceId: Schema.optional<Schema.String>;
1892
1926
  readonly role: Schema.String;
1893
1927
  readonly sessionName: Schema.String;
1894
1928
  readonly attempt: Schema.Number;
@@ -1908,6 +1942,7 @@ declare const ReviewCoordinatorStartedEvent: Schema.Struct<{
1908
1942
  readonly timestamp: Schema.String;
1909
1943
  readonly payload: Schema.Struct<{
1910
1944
  readonly issueId: Schema.String;
1945
+ readonly workspaceId: Schema.optional<Schema.String>;
1911
1946
  readonly sessionName: Schema.String;
1912
1947
  }>;
1913
1948
  }>;
@@ -1919,6 +1954,7 @@ declare const ReviewCoordinatorDiedEvent: Schema.Struct<{
1919
1954
  readonly timestamp: Schema.String;
1920
1955
  readonly payload: Schema.Struct<{
1921
1956
  readonly issueId: Schema.String;
1957
+ readonly workspaceId: Schema.optional<Schema.String>;
1922
1958
  readonly sessionName: Schema.String;
1923
1959
  readonly reason: Schema.String;
1924
1960
  }>;
@@ -1946,6 +1982,7 @@ declare const SpecialistCompletedEvent: Schema.Struct<{
1946
1982
  readonly payload: Schema.Struct<{
1947
1983
  readonly name: Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge"]>;
1948
1984
  readonly issueId: Schema.optional<Schema.String>;
1985
+ readonly workspaceId: Schema.optional<Schema.String>;
1949
1986
  }>;
1950
1987
  }>;
1951
1988
  type SpecialistCompletedEvent = typeof SpecialistCompletedEvent.Type;
@@ -1957,6 +1994,7 @@ declare const SpecialistFailedEvent: Schema.Struct<{
1957
1994
  readonly payload: Schema.Struct<{
1958
1995
  readonly name: Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge"]>;
1959
1996
  readonly issueId: Schema.optional<Schema.String>;
1997
+ readonly workspaceId: Schema.optional<Schema.String>;
1960
1998
  readonly error: Schema.String;
1961
1999
  }>;
1962
2000
  }>;
@@ -2013,6 +2051,7 @@ declare const IssuesUpdatedEvent: Schema.Struct<{
2013
2051
  readonly timestamp: Schema.String;
2014
2052
  readonly payload: Schema.Struct<{
2015
2053
  readonly issueId: Schema.optional<Schema.String>;
2054
+ readonly workspaceId: Schema.optional<Schema.String>;
2016
2055
  }>;
2017
2056
  }>;
2018
2057
  type IssuesUpdatedEvent = typeof IssuesUpdatedEvent.Type;
@@ -2023,6 +2062,7 @@ declare const IssueStatusChangedEvent: Schema.Struct<{
2023
2062
  readonly timestamp: Schema.String;
2024
2063
  readonly payload: Schema.Struct<{
2025
2064
  readonly issueId: Schema.String;
2065
+ readonly workspaceId: Schema.optional<Schema.String>;
2026
2066
  readonly status: Schema.String;
2027
2067
  readonly canonicalStatus: Schema.String;
2028
2068
  readonly labels: Schema.optional<Schema.$Array<Schema.String>>;
@@ -2053,7 +2093,8 @@ declare const ActivityEntryEvent: Schema.Struct<{
2053
2093
  readonly message: Schema.String;
2054
2094
  readonly details: Schema.optional<Schema.String>;
2055
2095
  readonly output: Schema.optional<Schema.String>;
2056
- readonly issueId: Schema.optional<Schema.String>; /** Dashboard route the feed navigates to on click (e.g. /conv/<name>, /flywheel). */
2096
+ readonly issueId: Schema.optional<Schema.String>;
2097
+ readonly workspaceId: Schema.optional<Schema.String>; /** Dashboard route the feed navigates to on click (e.g. /conv/<name>, /flywheel). */
2057
2098
  readonly link: Schema.optional<Schema.String>; /** PAN-1862 (FR-12): fire a desktop notification for this entry (operator-facing warnings). */
2058
2099
  readonly desktop: Schema.optional<Schema.Boolean>;
2059
2100
  }>;
@@ -2071,6 +2112,7 @@ declare const ActivityDetailedEvent: Schema.Struct<{
2071
2112
  readonly message: Schema.String;
2072
2113
  readonly details: Schema.optional<Schema.String>;
2073
2114
  readonly issueId: Schema.optional<Schema.String>;
2115
+ readonly workspaceId: Schema.optional<Schema.String>;
2074
2116
  readonly triggeringEvent: Schema.optional<Schema.String>;
2075
2117
  }>;
2076
2118
  }>;
@@ -2085,6 +2127,7 @@ declare const ActivityTtsEvent: Schema.Struct<{
2085
2127
  readonly utterance: Schema.String;
2086
2128
  readonly priority: Schema.optional<Schema.Number>;
2087
2129
  readonly issueId: Schema.optional<Schema.String>;
2130
+ readonly workspaceId: Schema.optional<Schema.String>;
2088
2131
  readonly source: Schema.optional<Schema.String>;
2089
2132
  readonly eventType: Schema.optional<Schema.String>;
2090
2133
  }>;
@@ -2098,6 +2141,7 @@ declare const DashboardLifecycleStartedEvent: Schema.Struct<{
2098
2141
  readonly payload: Schema.Struct<{
2099
2142
  readonly reason: Schema.String;
2100
2143
  readonly issueId: Schema.optional<Schema.String>;
2144
+ readonly workspaceId: Schema.optional<Schema.String>;
2101
2145
  readonly trigger: Schema.String;
2102
2146
  }>;
2103
2147
  }>;
@@ -2110,6 +2154,7 @@ declare const DashboardLifecycleCompletedEvent: Schema.Struct<{
2110
2154
  readonly payload: Schema.Struct<{
2111
2155
  readonly reason: Schema.String;
2112
2156
  readonly issueId: Schema.optional<Schema.String>;
2157
+ readonly workspaceId: Schema.optional<Schema.String>;
2113
2158
  readonly durationMs: Schema.Number;
2114
2159
  }>;
2115
2160
  }>;
@@ -2122,6 +2167,7 @@ declare const DashboardLifecycleFailedEvent: Schema.Struct<{
2122
2167
  readonly payload: Schema.Struct<{
2123
2168
  readonly reason: Schema.String;
2124
2169
  readonly issueId: Schema.optional<Schema.String>;
2170
+ readonly workspaceId: Schema.optional<Schema.String>;
2125
2171
  readonly error: Schema.String;
2126
2172
  }>;
2127
2173
  }>;
@@ -2133,6 +2179,7 @@ declare const ShadowInferenceUpdateEvent: Schema.Struct<{
2133
2179
  readonly timestamp: Schema.String;
2134
2180
  readonly payload: Schema.Struct<{
2135
2181
  readonly issueId: Schema.String;
2182
+ readonly workspaceId: Schema.optional<Schema.String>;
2136
2183
  readonly content: Schema.String;
2137
2184
  }>;
2138
2185
  }>;
@@ -2144,6 +2191,7 @@ declare const WorkspaceCreatedEvent: Schema.Struct<{
2144
2191
  readonly timestamp: Schema.String;
2145
2192
  readonly payload: Schema.Struct<{
2146
2193
  readonly issueId: Schema.String;
2194
+ readonly workspaceId: Schema.optional<Schema.String>;
2147
2195
  readonly workspacePath: Schema.String;
2148
2196
  }>;
2149
2197
  }>;
@@ -2155,6 +2203,7 @@ declare const WorkspaceWipeStartedEvent: Schema.Struct<{
2155
2203
  readonly timestamp: Schema.String;
2156
2204
  readonly payload: Schema.Struct<{
2157
2205
  readonly issueId: Schema.String;
2206
+ readonly workspaceId: Schema.optional<Schema.String>;
2158
2207
  }>;
2159
2208
  }>;
2160
2209
  type WorkspaceWipeStartedEvent = typeof WorkspaceWipeStartedEvent.Type;
@@ -2165,6 +2214,7 @@ declare const WorkspaceDestroyedEvent: Schema.Struct<{
2165
2214
  readonly timestamp: Schema.String;
2166
2215
  readonly payload: Schema.Struct<{
2167
2216
  readonly issueId: Schema.String;
2217
+ readonly workspaceId: Schema.optional<Schema.String>;
2168
2218
  }>;
2169
2219
  }>;
2170
2220
  type WorkspaceDestroyedEvent = typeof WorkspaceDestroyedEvent.Type;
@@ -2175,6 +2225,7 @@ declare const WorkspaceDeletedEvent: Schema.Struct<{
2175
2225
  readonly timestamp: Schema.String;
2176
2226
  readonly payload: Schema.Struct<{
2177
2227
  readonly issueId: Schema.String;
2228
+ readonly workspaceId: Schema.optional<Schema.String>;
2178
2229
  }>;
2179
2230
  }>;
2180
2231
  type WorkspaceDeletedEvent = typeof WorkspaceDeletedEvent.Type;
@@ -2185,6 +2236,7 @@ declare const WorkspaceAbortedEvent: Schema.Struct<{
2185
2236
  readonly timestamp: Schema.String;
2186
2237
  readonly payload: Schema.Struct<{
2187
2238
  readonly issueId: Schema.String;
2239
+ readonly workspaceId: Schema.optional<Schema.String>;
2188
2240
  readonly sessionName: Schema.optional<Schema.String>;
2189
2241
  }>;
2190
2242
  }>;
@@ -2199,10 +2251,10 @@ declare const MemoryObservationCreatedEvent: Schema.Struct<{
2199
2251
  readonly timestamp: Schema.String;
2200
2252
  readonly projectId: Schema.String;
2201
2253
  readonly workspaceId: Schema.String;
2202
- readonly issueId: Schema.String;
2254
+ readonly issueId: Schema.NullOr<Schema.String>;
2203
2255
  readonly runId: Schema.String;
2204
2256
  readonly sessionId: Schema.String;
2205
- readonly agentRole: Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge"]>;
2257
+ readonly agentRole: Schema.Union<readonly [Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge"]>, Schema.Literal<"conversation">]>;
2206
2258
  readonly agentHarness: Schema.String;
2207
2259
  readonly gitBranch: Schema.String;
2208
2260
  readonly sourceTranscriptOffset: Schema.Number;
@@ -2299,6 +2351,7 @@ declare const MemoryHealthChangedEvent: Schema.Struct<{
2299
2351
  readonly payload: Schema.Struct<{
2300
2352
  readonly projectId: Schema.String;
2301
2353
  readonly issueId: Schema.String;
2354
+ readonly workspaceId: Schema.optional<Schema.String>;
2302
2355
  readonly status: Schema.Literals<readonly ["healthy", "degraded", "failing"]>;
2303
2356
  readonly reason: Schema.NullOr<Schema.String>;
2304
2357
  readonly detail: Schema.optional<Schema.String>;
@@ -2308,10 +2361,10 @@ declare const MemoryHealthChangedEvent: Schema.Struct<{
2308
2361
  readonly identity: Schema.Struct<{
2309
2362
  readonly projectId: Schema.String;
2310
2363
  readonly workspaceId: Schema.String;
2311
- readonly issueId: Schema.String;
2364
+ readonly issueId: Schema.NullOr<Schema.String>;
2312
2365
  readonly runId: Schema.String;
2313
2366
  readonly sessionId: Schema.String;
2314
- readonly agentRole: Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge"]>;
2367
+ readonly agentRole: Schema.Union<readonly [Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge"]>, Schema.Literal<"conversation">]>;
2315
2368
  readonly agentHarness: Schema.String;
2316
2369
  }>;
2317
2370
  readonly surface: Schema.Literals<readonly ["spawn", "user-prompt"]>;
@@ -2345,6 +2398,7 @@ declare const CostEventRecordedEvent: Schema.Struct<{
2345
2398
  readonly payload: Schema.Struct<{
2346
2399
  readonly agentId: Schema.String;
2347
2400
  readonly issueId: Schema.String;
2401
+ readonly workspaceId: Schema.optional<Schema.String>;
2348
2402
  readonly cost: Schema.Number;
2349
2403
  readonly inputTokens: Schema.Number;
2350
2404
  readonly outputTokens: Schema.Number;
@@ -2500,6 +2554,7 @@ declare const DomainEvent: Schema.Union<readonly [Schema.Struct<{
2500
2554
  readonly payload: Schema.Struct<{
2501
2555
  readonly agentId: Schema.String;
2502
2556
  readonly issueId: Schema.String;
2557
+ readonly workspaceId: Schema.optional<Schema.String>;
2503
2558
  readonly agent: Schema.Struct<{
2504
2559
  readonly id: Schema.String;
2505
2560
  readonly issueId: Schema.String;
@@ -2565,6 +2620,8 @@ declare const DomainEvent: Schema.Union<readonly [Schema.Struct<{
2565
2620
  readonly timestamp: Schema.String;
2566
2621
  readonly payload: Schema.Struct<{
2567
2622
  readonly agentId: Schema.String;
2623
+ readonly issueId: Schema.optional<Schema.String>;
2624
+ readonly workspaceId: Schema.optional<Schema.String>;
2568
2625
  readonly role: Schema.optional<Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge"]>>;
2569
2626
  readonly hasPendingQuestion: Schema.optional<Schema.Boolean>;
2570
2627
  readonly pendingQuestionCount: Schema.optional<Schema.Number>;
@@ -2600,6 +2657,7 @@ declare const DomainEvent: Schema.Union<readonly [Schema.Struct<{
2600
2657
  readonly payload: Schema.Struct<{
2601
2658
  readonly agentId: Schema.String;
2602
2659
  readonly issueId: Schema.String;
2660
+ readonly workspaceId: Schema.optional<Schema.String>;
2603
2661
  readonly agent: Schema.Struct<{
2604
2662
  readonly id: Schema.String;
2605
2663
  readonly issueId: Schema.String;
@@ -2666,6 +2724,7 @@ declare const DomainEvent: Schema.Union<readonly [Schema.Struct<{
2666
2724
  readonly payload: Schema.Struct<{
2667
2725
  readonly agentId: Schema.String;
2668
2726
  readonly issueId: Schema.String;
2727
+ readonly workspaceId: Schema.optional<Schema.String>;
2669
2728
  readonly sessionId: Schema.optional<Schema.String>;
2670
2729
  }>;
2671
2730
  }>, Schema.Struct<{
@@ -2675,6 +2734,7 @@ declare const DomainEvent: Schema.Union<readonly [Schema.Struct<{
2675
2734
  readonly payload: Schema.Struct<{
2676
2735
  readonly agentId: Schema.String;
2677
2736
  readonly issueId: Schema.optional<Schema.String>;
2737
+ readonly workspaceId: Schema.optional<Schema.String>;
2678
2738
  readonly sessionId: Schema.optional<Schema.String>;
2679
2739
  }>;
2680
2740
  }>, Schema.Struct<{
@@ -2683,6 +2743,7 @@ declare const DomainEvent: Schema.Union<readonly [Schema.Struct<{
2683
2743
  readonly timestamp: Schema.String;
2684
2744
  readonly payload: Schema.Struct<{
2685
2745
  readonly issueId: Schema.String;
2746
+ readonly workspaceId: Schema.optional<Schema.String>;
2686
2747
  readonly agentId: Schema.optional<Schema.String>;
2687
2748
  }>;
2688
2749
  }>, Schema.Struct<{
@@ -2691,6 +2752,7 @@ declare const DomainEvent: Schema.Union<readonly [Schema.Struct<{
2691
2752
  readonly timestamp: Schema.String;
2692
2753
  readonly payload: Schema.Struct<{
2693
2754
  readonly issueId: Schema.String;
2755
+ readonly workspaceId: Schema.optional<Schema.String>;
2694
2756
  readonly agentId: Schema.optional<Schema.String>;
2695
2757
  readonly role: Schema.optional<Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge"]>>;
2696
2758
  }>;
@@ -2700,6 +2762,7 @@ declare const DomainEvent: Schema.Union<readonly [Schema.Struct<{
2700
2762
  readonly timestamp: Schema.String;
2701
2763
  readonly payload: Schema.Struct<{
2702
2764
  readonly issueId: Schema.String;
2765
+ readonly workspaceId: Schema.optional<Schema.String>;
2703
2766
  }>;
2704
2767
  }>, Schema.Struct<{
2705
2768
  readonly type: Schema.Literal<"test.passed">;
@@ -2707,6 +2770,7 @@ declare const DomainEvent: Schema.Union<readonly [Schema.Struct<{
2707
2770
  readonly timestamp: Schema.String;
2708
2771
  readonly payload: Schema.Struct<{
2709
2772
  readonly issueId: Schema.String;
2773
+ readonly workspaceId: Schema.optional<Schema.String>;
2710
2774
  }>;
2711
2775
  }>, Schema.Struct<{
2712
2776
  readonly type: Schema.Literal<"agent.status_changed">;
@@ -2715,6 +2779,7 @@ declare const DomainEvent: Schema.Union<readonly [Schema.Struct<{
2715
2779
  readonly payload: Schema.Struct<{
2716
2780
  readonly agentId: Schema.String;
2717
2781
  readonly issueId: Schema.optional<Schema.String>;
2782
+ readonly workspaceId: Schema.optional<Schema.String>;
2718
2783
  readonly status: Schema.Literals<readonly ["starting", "running", "stopped", "error", "unknown"]>;
2719
2784
  readonly previousStatus: Schema.optional<Schema.Literals<readonly ["starting", "running", "stopped", "error", "unknown"]>>;
2720
2785
  readonly hasLiveTmuxSession: Schema.optional<Schema.Boolean>;
@@ -2828,6 +2893,7 @@ declare const DomainEvent: Schema.Union<readonly [Schema.Struct<{
2828
2893
  readonly requestId: Schema.String;
2829
2894
  readonly agentId: Schema.String;
2830
2895
  readonly issueId: Schema.optional<Schema.String>;
2896
+ readonly workspaceId: Schema.optional<Schema.String>;
2831
2897
  readonly behavior: Schema.Literals<readonly ["allow", "deny"]>;
2832
2898
  }>;
2833
2899
  }>, Schema.Struct<{
@@ -2958,6 +3024,7 @@ declare const DomainEvent: Schema.Union<readonly [Schema.Struct<{
2958
3024
  readonly timestamp: Schema.String;
2959
3025
  readonly payload: Schema.Struct<{
2960
3026
  readonly issueId: Schema.String;
3027
+ readonly workspaceId: Schema.optional<Schema.String>;
2961
3028
  readonly sessionName: Schema.String;
2962
3029
  readonly harness: Schema.optional<Schema.String>;
2963
3030
  }>;
@@ -2967,6 +3034,7 @@ declare const DomainEvent: Schema.Union<readonly [Schema.Struct<{
2967
3034
  readonly timestamp: Schema.String;
2968
3035
  readonly payload: Schema.Struct<{
2969
3036
  readonly issueId: Schema.String;
3037
+ readonly workspaceId: Schema.optional<Schema.String>;
2970
3038
  readonly error: Schema.String;
2971
3039
  }>;
2972
3040
  }>, Schema.Struct<{
@@ -2975,6 +3043,7 @@ declare const DomainEvent: Schema.Union<readonly [Schema.Struct<{
2975
3043
  readonly timestamp: Schema.String;
2976
3044
  readonly payload: Schema.Struct<{
2977
3045
  readonly issueId: Schema.String;
3046
+ readonly workspaceId: Schema.optional<Schema.String>;
2978
3047
  readonly status: Schema.String;
2979
3048
  readonly progress: Schema.optional<Schema.Number>;
2980
3049
  readonly message: Schema.optional<Schema.String>;
@@ -2985,6 +3054,7 @@ declare const DomainEvent: Schema.Union<readonly [Schema.Struct<{
2985
3054
  readonly timestamp: Schema.String;
2986
3055
  readonly payload: Schema.Struct<{
2987
3056
  readonly issueId: Schema.String;
3057
+ readonly workspaceId: Schema.optional<Schema.String>;
2988
3058
  readonly itemId: Schema.String;
2989
3059
  readonly status: Schema.String;
2990
3060
  }>;
@@ -2994,6 +3064,7 @@ declare const DomainEvent: Schema.Union<readonly [Schema.Struct<{
2994
3064
  readonly timestamp: Schema.String;
2995
3065
  readonly payload: Schema.Struct<{
2996
3066
  readonly issueId: Schema.String;
3067
+ readonly workspaceId: Schema.optional<Schema.String>;
2997
3068
  readonly itemId: Schema.String;
2998
3069
  readonly subItemId: Schema.String;
2999
3070
  readonly status: Schema.String;
@@ -3004,6 +3075,7 @@ declare const DomainEvent: Schema.Union<readonly [Schema.Struct<{
3004
3075
  readonly timestamp: Schema.String;
3005
3076
  readonly payload: Schema.Struct<{
3006
3077
  readonly issueId: Schema.String;
3078
+ readonly workspaceId: Schema.optional<Schema.String>;
3007
3079
  readonly items: Schema.$Array<Schema.String>;
3008
3080
  }>;
3009
3081
  }>, Schema.Struct<{
@@ -3012,6 +3084,7 @@ declare const DomainEvent: Schema.Union<readonly [Schema.Struct<{
3012
3084
  readonly timestamp: Schema.String;
3013
3085
  readonly payload: Schema.Struct<{
3014
3086
  readonly issueId: Schema.String;
3087
+ readonly workspaceId: Schema.optional<Schema.String>;
3015
3088
  readonly status: Schema.Struct<{
3016
3089
  readonly issueId: Schema.String;
3017
3090
  readonly reviewStatus: Schema.optional<Schema.Literals<readonly ["pending", "reviewing", "passed", "failed", "blocked", "skipped"]>>;
@@ -3071,6 +3144,7 @@ declare const DomainEvent: Schema.Union<readonly [Schema.Struct<{
3071
3144
  readonly timestamp: Schema.String;
3072
3145
  readonly payload: Schema.Struct<{
3073
3146
  readonly issueId: Schema.String;
3147
+ readonly workspaceId: Schema.optional<Schema.String>;
3074
3148
  }>;
3075
3149
  }>, Schema.Struct<{
3076
3150
  readonly type: Schema.Literal<"review.status_changed">;
@@ -3078,6 +3152,7 @@ declare const DomainEvent: Schema.Union<readonly [Schema.Struct<{
3078
3152
  readonly timestamp: Schema.String;
3079
3153
  readonly payload: Schema.Struct<{
3080
3154
  readonly issueId: Schema.String;
3155
+ readonly workspaceId: Schema.optional<Schema.String>;
3081
3156
  readonly status: Schema.Struct<{
3082
3157
  readonly issueId: Schema.String;
3083
3158
  readonly reviewStatus: Schema.optional<Schema.Literals<readonly ["pending", "reviewing", "passed", "failed", "blocked", "skipped"]>>;
@@ -3137,6 +3212,7 @@ declare const DomainEvent: Schema.Union<readonly [Schema.Struct<{
3137
3212
  readonly timestamp: Schema.String;
3138
3213
  readonly payload: Schema.Struct<{
3139
3214
  readonly issueId: Schema.String;
3215
+ readonly workspaceId: Schema.optional<Schema.String>;
3140
3216
  }>;
3141
3217
  }>, Schema.Struct<{
3142
3218
  readonly type: Schema.Literal<"pipeline.review-completed">;
@@ -3144,6 +3220,7 @@ declare const DomainEvent: Schema.Union<readonly [Schema.Struct<{
3144
3220
  readonly timestamp: Schema.String;
3145
3221
  readonly payload: Schema.Struct<{
3146
3222
  readonly issueId: Schema.String;
3223
+ readonly workspaceId: Schema.optional<Schema.String>;
3147
3224
  readonly passed: Schema.Boolean;
3148
3225
  }>;
3149
3226
  }>, Schema.Struct<{
@@ -3152,6 +3229,7 @@ declare const DomainEvent: Schema.Union<readonly [Schema.Struct<{
3152
3229
  readonly timestamp: Schema.String;
3153
3230
  readonly payload: Schema.Struct<{
3154
3231
  readonly issueId: Schema.String;
3232
+ readonly workspaceId: Schema.optional<Schema.String>;
3155
3233
  }>;
3156
3234
  }>, Schema.Struct<{
3157
3235
  readonly type: Schema.Literal<"pipeline.test-completed">;
@@ -3159,6 +3237,7 @@ declare const DomainEvent: Schema.Union<readonly [Schema.Struct<{
3159
3237
  readonly timestamp: Schema.String;
3160
3238
  readonly payload: Schema.Struct<{
3161
3239
  readonly issueId: Schema.String;
3240
+ readonly workspaceId: Schema.optional<Schema.String>;
3162
3241
  readonly passed: Schema.Boolean;
3163
3242
  }>;
3164
3243
  }>, Schema.Struct<{
@@ -3167,6 +3246,7 @@ declare const DomainEvent: Schema.Union<readonly [Schema.Struct<{
3167
3246
  readonly timestamp: Schema.String;
3168
3247
  readonly payload: Schema.Struct<{
3169
3248
  readonly issueId: Schema.String;
3249
+ readonly workspaceId: Schema.optional<Schema.String>;
3170
3250
  }>;
3171
3251
  }>, Schema.Struct<{
3172
3252
  readonly type: Schema.Literal<"pipeline.verification-failed">;
@@ -3174,6 +3254,7 @@ declare const DomainEvent: Schema.Union<readonly [Schema.Struct<{
3174
3254
  readonly timestamp: Schema.String;
3175
3255
  readonly payload: Schema.Struct<{
3176
3256
  readonly issueId: Schema.String;
3257
+ readonly workspaceId: Schema.optional<Schema.String>;
3177
3258
  readonly failedCheck: Schema.optional<Schema.String>;
3178
3259
  readonly message: Schema.optional<Schema.String>;
3179
3260
  }>;
@@ -3183,6 +3264,7 @@ declare const DomainEvent: Schema.Union<readonly [Schema.Struct<{
3183
3264
  readonly timestamp: Schema.String;
3184
3265
  readonly payload: Schema.Struct<{
3185
3266
  readonly issueId: Schema.String;
3267
+ readonly workspaceId: Schema.optional<Schema.String>;
3186
3268
  readonly state: Schema.String;
3187
3269
  }>;
3188
3270
  }>, Schema.Struct<{
@@ -3191,6 +3273,7 @@ declare const DomainEvent: Schema.Union<readonly [Schema.Struct<{
3191
3273
  readonly timestamp: Schema.String;
3192
3274
  readonly payload: Schema.Struct<{
3193
3275
  readonly issueId: Schema.String;
3276
+ readonly workspaceId: Schema.optional<Schema.String>;
3194
3277
  readonly kind: Schema.Literals<readonly ["tell", "pause", "restart", "manual_edit", "deep_wipe", "unpause", "untroubled"]>;
3195
3278
  readonly source: Schema.String;
3196
3279
  }>;
@@ -3237,6 +3320,7 @@ declare const DomainEvent: Schema.Union<readonly [Schema.Struct<{
3237
3320
  readonly timestamp: Schema.String;
3238
3321
  readonly payload: Schema.Struct<{
3239
3322
  readonly issueId: Schema.String;
3323
+ readonly workspaceId: Schema.optional<Schema.String>;
3240
3324
  readonly runId: Schema.optional<Schema.String>;
3241
3325
  readonly filedBy: Schema.Literals<readonly ["agent", "operator"]>;
3242
3326
  readonly discoveredIn: Schema.optional<Schema.String>;
@@ -3248,6 +3332,7 @@ declare const DomainEvent: Schema.Union<readonly [Schema.Struct<{
3248
3332
  readonly timestamp: Schema.String;
3249
3333
  readonly payload: Schema.Struct<{
3250
3334
  readonly issueId: Schema.String;
3335
+ readonly workspaceId: Schema.optional<Schema.String>;
3251
3336
  readonly role: Schema.String;
3252
3337
  readonly sessionName: Schema.String;
3253
3338
  }>;
@@ -3257,6 +3342,7 @@ declare const DomainEvent: Schema.Union<readonly [Schema.Struct<{
3257
3342
  readonly timestamp: Schema.String;
3258
3343
  readonly payload: Schema.Struct<{
3259
3344
  readonly issueId: Schema.String;
3345
+ readonly workspaceId: Schema.optional<Schema.String>;
3260
3346
  readonly role: Schema.String;
3261
3347
  }>;
3262
3348
  }>, Schema.Struct<{
@@ -3265,6 +3351,7 @@ declare const DomainEvent: Schema.Union<readonly [Schema.Struct<{
3265
3351
  readonly timestamp: Schema.String;
3266
3352
  readonly payload: Schema.Struct<{
3267
3353
  readonly issueId: Schema.String;
3354
+ readonly workspaceId: Schema.optional<Schema.String>;
3268
3355
  readonly role: Schema.String;
3269
3356
  readonly sessionName: Schema.String;
3270
3357
  readonly attempt: Schema.Number;
@@ -3277,6 +3364,7 @@ declare const DomainEvent: Schema.Union<readonly [Schema.Struct<{
3277
3364
  readonly timestamp: Schema.String;
3278
3365
  readonly payload: Schema.Struct<{
3279
3366
  readonly issueId: Schema.String;
3367
+ readonly workspaceId: Schema.optional<Schema.String>;
3280
3368
  readonly sessionName: Schema.String;
3281
3369
  }>;
3282
3370
  }>, Schema.Struct<{
@@ -3285,6 +3373,7 @@ declare const DomainEvent: Schema.Union<readonly [Schema.Struct<{
3285
3373
  readonly timestamp: Schema.String;
3286
3374
  readonly payload: Schema.Struct<{
3287
3375
  readonly issueId: Schema.String;
3376
+ readonly workspaceId: Schema.optional<Schema.String>;
3288
3377
  readonly sessionName: Schema.String;
3289
3378
  readonly reason: Schema.String;
3290
3379
  }>;
@@ -3306,6 +3395,7 @@ declare const DomainEvent: Schema.Union<readonly [Schema.Struct<{
3306
3395
  readonly payload: Schema.Struct<{
3307
3396
  readonly name: Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge"]>;
3308
3397
  readonly issueId: Schema.optional<Schema.String>;
3398
+ readonly workspaceId: Schema.optional<Schema.String>;
3309
3399
  }>;
3310
3400
  }>, Schema.Struct<{
3311
3401
  readonly type: Schema.Literal<"specialist.failed">;
@@ -3314,6 +3404,7 @@ declare const DomainEvent: Schema.Union<readonly [Schema.Struct<{
3314
3404
  readonly payload: Schema.Struct<{
3315
3405
  readonly name: Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge"]>;
3316
3406
  readonly issueId: Schema.optional<Schema.String>;
3407
+ readonly workspaceId: Schema.optional<Schema.String>;
3317
3408
  readonly error: Schema.String;
3318
3409
  }>;
3319
3410
  }>, Schema.Struct<{
@@ -3359,6 +3450,7 @@ declare const DomainEvent: Schema.Union<readonly [Schema.Struct<{
3359
3450
  readonly timestamp: Schema.String;
3360
3451
  readonly payload: Schema.Struct<{
3361
3452
  readonly issueId: Schema.optional<Schema.String>;
3453
+ readonly workspaceId: Schema.optional<Schema.String>;
3362
3454
  }>;
3363
3455
  }>, Schema.Struct<{
3364
3456
  readonly type: Schema.Literal<"issue.statusChanged">;
@@ -3366,6 +3458,7 @@ declare const DomainEvent: Schema.Union<readonly [Schema.Struct<{
3366
3458
  readonly timestamp: Schema.String;
3367
3459
  readonly payload: Schema.Struct<{
3368
3460
  readonly issueId: Schema.String;
3461
+ readonly workspaceId: Schema.optional<Schema.String>;
3369
3462
  readonly status: Schema.String;
3370
3463
  readonly canonicalStatus: Schema.String;
3371
3464
  readonly labels: Schema.optional<Schema.$Array<Schema.String>>;
@@ -3390,7 +3483,8 @@ declare const DomainEvent: Schema.Union<readonly [Schema.Struct<{
3390
3483
  readonly message: Schema.String;
3391
3484
  readonly details: Schema.optional<Schema.String>;
3392
3485
  readonly output: Schema.optional<Schema.String>;
3393
- readonly issueId: Schema.optional<Schema.String>; /** Dashboard route the feed navigates to on click (e.g. /conv/<name>, /flywheel). */
3486
+ readonly issueId: Schema.optional<Schema.String>;
3487
+ readonly workspaceId: Schema.optional<Schema.String>; /** Dashboard route the feed navigates to on click (e.g. /conv/<name>, /flywheel). */
3394
3488
  readonly link: Schema.optional<Schema.String>; /** PAN-1862 (FR-12): fire a desktop notification for this entry (operator-facing warnings). */
3395
3489
  readonly desktop: Schema.optional<Schema.Boolean>;
3396
3490
  }>;
@@ -3405,6 +3499,7 @@ declare const DomainEvent: Schema.Union<readonly [Schema.Struct<{
3405
3499
  readonly message: Schema.String;
3406
3500
  readonly details: Schema.optional<Schema.String>;
3407
3501
  readonly issueId: Schema.optional<Schema.String>;
3502
+ readonly workspaceId: Schema.optional<Schema.String>;
3408
3503
  readonly triggeringEvent: Schema.optional<Schema.String>;
3409
3504
  }>;
3410
3505
  }>, Schema.Struct<{
@@ -3416,6 +3511,7 @@ declare const DomainEvent: Schema.Union<readonly [Schema.Struct<{
3416
3511
  readonly utterance: Schema.String;
3417
3512
  readonly priority: Schema.optional<Schema.Number>;
3418
3513
  readonly issueId: Schema.optional<Schema.String>;
3514
+ readonly workspaceId: Schema.optional<Schema.String>;
3419
3515
  readonly source: Schema.optional<Schema.String>;
3420
3516
  readonly eventType: Schema.optional<Schema.String>;
3421
3517
  }>;
@@ -3425,6 +3521,7 @@ declare const DomainEvent: Schema.Union<readonly [Schema.Struct<{
3425
3521
  readonly timestamp: Schema.String;
3426
3522
  readonly payload: Schema.Struct<{
3427
3523
  readonly issueId: Schema.String;
3524
+ readonly workspaceId: Schema.optional<Schema.String>;
3428
3525
  readonly content: Schema.String;
3429
3526
  }>;
3430
3527
  }>, Schema.Struct<{
@@ -3437,10 +3534,10 @@ declare const DomainEvent: Schema.Union<readonly [Schema.Struct<{
3437
3534
  readonly timestamp: Schema.String;
3438
3535
  readonly projectId: Schema.String;
3439
3536
  readonly workspaceId: Schema.String;
3440
- readonly issueId: Schema.String;
3537
+ readonly issueId: Schema.NullOr<Schema.String>;
3441
3538
  readonly runId: Schema.String;
3442
3539
  readonly sessionId: Schema.String;
3443
- readonly agentRole: Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge"]>;
3540
+ readonly agentRole: Schema.Union<readonly [Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge"]>, Schema.Literal<"conversation">]>;
3444
3541
  readonly agentHarness: Schema.String;
3445
3542
  readonly gitBranch: Schema.String;
3446
3543
  readonly sourceTranscriptOffset: Schema.Number;
@@ -3529,6 +3626,7 @@ declare const DomainEvent: Schema.Union<readonly [Schema.Struct<{
3529
3626
  readonly payload: Schema.Struct<{
3530
3627
  readonly projectId: Schema.String;
3531
3628
  readonly issueId: Schema.String;
3629
+ readonly workspaceId: Schema.optional<Schema.String>;
3532
3630
  readonly status: Schema.Literals<readonly ["healthy", "degraded", "failing"]>;
3533
3631
  readonly reason: Schema.NullOr<Schema.String>;
3534
3632
  readonly detail: Schema.optional<Schema.String>;
@@ -3538,10 +3636,10 @@ declare const DomainEvent: Schema.Union<readonly [Schema.Struct<{
3538
3636
  readonly identity: Schema.Struct<{
3539
3637
  readonly projectId: Schema.String;
3540
3638
  readonly workspaceId: Schema.String;
3541
- readonly issueId: Schema.String;
3639
+ readonly issueId: Schema.NullOr<Schema.String>;
3542
3640
  readonly runId: Schema.String;
3543
3641
  readonly sessionId: Schema.String;
3544
- readonly agentRole: Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge"]>;
3642
+ readonly agentRole: Schema.Union<readonly [Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge"]>, Schema.Literal<"conversation">]>;
3545
3643
  readonly agentHarness: Schema.String;
3546
3644
  }>;
3547
3645
  readonly surface: Schema.Literals<readonly ["spawn", "user-prompt"]>;
@@ -3572,6 +3670,7 @@ declare const DomainEvent: Schema.Union<readonly [Schema.Struct<{
3572
3670
  readonly payload: Schema.Struct<{
3573
3671
  readonly agentId: Schema.String;
3574
3672
  readonly issueId: Schema.String;
3673
+ readonly workspaceId: Schema.optional<Schema.String>;
3575
3674
  readonly cost: Schema.Number;
3576
3675
  readonly inputTokens: Schema.Number;
3577
3676
  readonly outputTokens: Schema.Number;
@@ -3582,6 +3681,7 @@ declare const DomainEvent: Schema.Union<readonly [Schema.Struct<{
3582
3681
  readonly timestamp: Schema.String;
3583
3682
  readonly payload: Schema.Struct<{
3584
3683
  readonly issueId: Schema.String;
3684
+ readonly workspaceId: Schema.optional<Schema.String>;
3585
3685
  readonly workspacePath: Schema.String;
3586
3686
  }>;
3587
3687
  }>, Schema.Struct<{
@@ -3590,6 +3690,7 @@ declare const DomainEvent: Schema.Union<readonly [Schema.Struct<{
3590
3690
  readonly timestamp: Schema.String;
3591
3691
  readonly payload: Schema.Struct<{
3592
3692
  readonly issueId: Schema.String;
3693
+ readonly workspaceId: Schema.optional<Schema.String>;
3593
3694
  }>;
3594
3695
  }>, Schema.Struct<{
3595
3696
  readonly type: Schema.Literal<"workspace.destroyed">;
@@ -3597,6 +3698,7 @@ declare const DomainEvent: Schema.Union<readonly [Schema.Struct<{
3597
3698
  readonly timestamp: Schema.String;
3598
3699
  readonly payload: Schema.Struct<{
3599
3700
  readonly issueId: Schema.String;
3701
+ readonly workspaceId: Schema.optional<Schema.String>;
3600
3702
  }>;
3601
3703
  }>, Schema.Struct<{
3602
3704
  readonly type: Schema.Literal<"workspace.deleted">;
@@ -3604,6 +3706,7 @@ declare const DomainEvent: Schema.Union<readonly [Schema.Struct<{
3604
3706
  readonly timestamp: Schema.String;
3605
3707
  readonly payload: Schema.Struct<{
3606
3708
  readonly issueId: Schema.String;
3709
+ readonly workspaceId: Schema.optional<Schema.String>;
3607
3710
  }>;
3608
3711
  }>, Schema.Struct<{
3609
3712
  readonly type: Schema.Literal<"workspace.aborted">;
@@ -3611,6 +3714,7 @@ declare const DomainEvent: Schema.Union<readonly [Schema.Struct<{
3611
3714
  readonly timestamp: Schema.String;
3612
3715
  readonly payload: Schema.Struct<{
3613
3716
  readonly issueId: Schema.String;
3717
+ readonly workspaceId: Schema.optional<Schema.String>;
3614
3718
  readonly sessionName: Schema.optional<Schema.String>;
3615
3719
  }>;
3616
3720
  }>, Schema.Struct<{
@@ -3620,6 +3724,7 @@ declare const DomainEvent: Schema.Union<readonly [Schema.Struct<{
3620
3724
  readonly payload: Schema.Struct<{
3621
3725
  readonly reason: Schema.String;
3622
3726
  readonly issueId: Schema.optional<Schema.String>;
3727
+ readonly workspaceId: Schema.optional<Schema.String>;
3623
3728
  readonly trigger: Schema.String;
3624
3729
  }>;
3625
3730
  }>, Schema.Struct<{
@@ -3629,6 +3734,7 @@ declare const DomainEvent: Schema.Union<readonly [Schema.Struct<{
3629
3734
  readonly payload: Schema.Struct<{
3630
3735
  readonly reason: Schema.String;
3631
3736
  readonly issueId: Schema.optional<Schema.String>;
3737
+ readonly workspaceId: Schema.optional<Schema.String>;
3632
3738
  readonly durationMs: Schema.Number;
3633
3739
  }>;
3634
3740
  }>, Schema.Struct<{
@@ -3638,6 +3744,7 @@ declare const DomainEvent: Schema.Union<readonly [Schema.Struct<{
3638
3744
  readonly payload: Schema.Struct<{
3639
3745
  readonly reason: Schema.String;
3640
3746
  readonly issueId: Schema.optional<Schema.String>;
3747
+ readonly workspaceId: Schema.optional<Schema.String>;
3641
3748
  readonly error: Schema.String;
3642
3749
  }>;
3643
3750
  }>, Schema.Struct<{
@@ -3738,13 +3845,15 @@ declare const DomainEvent: Schema.Union<readonly [Schema.Struct<{
3738
3845
  type DomainEvent = typeof DomainEvent.Type;
3739
3846
  //#endregion
3740
3847
  //#region src/memory.d.ts
3848
+ declare const MemoryAgentRole: Schema.Union<readonly [Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge"]>, Schema.Literal<"conversation">]>;
3849
+ type MemoryAgentRole = typeof MemoryAgentRole.Type;
3741
3850
  declare const MemoryIdentity: Schema.Struct<{
3742
3851
  readonly projectId: Schema.String;
3743
3852
  readonly workspaceId: Schema.String;
3744
- readonly issueId: Schema.String;
3853
+ readonly issueId: Schema.NullOr<Schema.String>;
3745
3854
  readonly runId: Schema.String;
3746
3855
  readonly sessionId: Schema.String;
3747
- readonly agentRole: Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge"]>;
3856
+ readonly agentRole: Schema.Union<readonly [Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge"]>, Schema.Literal<"conversation">]>;
3748
3857
  readonly agentHarness: Schema.String;
3749
3858
  }>;
3750
3859
  type MemoryIdentity = typeof MemoryIdentity.Type;
@@ -3759,10 +3868,10 @@ declare const MemoryObservation: Schema.Struct<{
3759
3868
  readonly timestamp: Schema.String;
3760
3869
  readonly projectId: Schema.String;
3761
3870
  readonly workspaceId: Schema.String;
3762
- readonly issueId: Schema.String;
3871
+ readonly issueId: Schema.NullOr<Schema.String>;
3763
3872
  readonly runId: Schema.String;
3764
3873
  readonly sessionId: Schema.String;
3765
- readonly agentRole: Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge"]>;
3874
+ readonly agentRole: Schema.Union<readonly [Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge"]>, Schema.Literal<"conversation">]>;
3766
3875
  readonly agentHarness: Schema.String;
3767
3876
  readonly gitBranch: Schema.String;
3768
3877
  readonly sourceTranscriptOffset: Schema.Number;
@@ -3802,10 +3911,10 @@ declare const PendingTurn: Schema.Struct<{
3802
3911
  readonly identity: Schema.Struct<{
3803
3912
  readonly projectId: Schema.String;
3804
3913
  readonly workspaceId: Schema.String;
3805
- readonly issueId: Schema.String;
3914
+ readonly issueId: Schema.NullOr<Schema.String>;
3806
3915
  readonly runId: Schema.String;
3807
3916
  readonly sessionId: Schema.String;
3808
- readonly agentRole: Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge"]>;
3917
+ readonly agentRole: Schema.Union<readonly [Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge"]>, Schema.Literal<"conversation">]>;
3809
3918
  readonly agentHarness: Schema.String;
3810
3919
  }>;
3811
3920
  readonly trigger: Schema.Literals<readonly ["stop-hook", "poller", "reconciliation", "manual"]>;
@@ -3842,10 +3951,10 @@ declare const RagDecision: Schema.Struct<{
3842
3951
  readonly identity: Schema.Struct<{
3843
3952
  readonly projectId: Schema.String;
3844
3953
  readonly workspaceId: Schema.String;
3845
- readonly issueId: Schema.String;
3954
+ readonly issueId: Schema.NullOr<Schema.String>;
3846
3955
  readonly runId: Schema.String;
3847
3956
  readonly sessionId: Schema.String;
3848
- readonly agentRole: Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge"]>;
3957
+ readonly agentRole: Schema.Union<readonly [Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge"]>, Schema.Literal<"conversation">]>;
3849
3958
  readonly agentHarness: Schema.String;
3850
3959
  }>;
3851
3960
  readonly surface: Schema.Literals<readonly ["spawn", "user-prompt"]>;
@@ -3911,6 +4020,8 @@ declare const WS_METHODS: {
3911
4020
  readonly replayEvents: "pan.replayEvents";
3912
4021
  readonly getWorkspaceDetail: "pan.getWorkspaceDetail";
3913
4022
  readonly readWorkspaceFile: "pan.readWorkspaceFile";
4023
+ readonly readFileAtPath: "pan.readFileAtPath";
4024
+ readonly writeFileAtPath: "pan.writeFileAtPath";
3914
4025
  readonly resolveFilePathExists: "pan.resolveFilePathExists";
3915
4026
  readonly terminalOpen: "pan.terminalOpen";
3916
4027
  readonly terminalWrite: "pan.terminalWrite";
@@ -4156,11 +4267,15 @@ declare const ConversationEvent: Schema.Union<readonly [Schema.Struct<{
4156
4267
  }>]>;
4157
4268
  type ConversationEvent = typeof ConversationEvent.Type;
4158
4269
  declare const SessionTreeDelta: Schema.Struct<{
4159
- readonly kind: Schema.Literals<readonly ["session_added", "session_removed", "presence_changed", "status_changed"]>;
4270
+ readonly kind: Schema.Literals<readonly ["session_added", "session_removed", "presence_changed", "status_changed", "pending_input_changed"]>;
4160
4271
  readonly issueId: Schema.String;
4161
4272
  readonly sessionId: Schema.String;
4162
4273
  readonly presence: Schema.optional<Schema.Literals<readonly ["active", "idle", "suspended", "ended"]>>;
4163
4274
  readonly status: Schema.optional<Schema.Literals<readonly ["starting", "running", "stopped", "error", "unknown"]>>;
4275
+ readonly awaitingInput: Schema.optional<Schema.Boolean>;
4276
+ readonly awaitingInputPrompt: Schema.optional<Schema.String>;
4277
+ readonly awaitingInputReason: Schema.optional<Schema.String>;
4278
+ readonly pendingInputKinds: Schema.optional<Schema.$Array<Schema.String>>;
4164
4279
  readonly timestamp: Schema.String;
4165
4280
  }>;
4166
4281
  type SessionTreeDelta = typeof SessionTreeDelta.Type;
@@ -4187,6 +4302,7 @@ declare const SubscribeDomainEventsRpc: Rpc.Rpc<"pan.subscribeDomainEvents", Sch
4187
4302
  readonly payload: Schema.Struct<{
4188
4303
  readonly agentId: Schema.String;
4189
4304
  readonly issueId: Schema.String;
4305
+ readonly workspaceId: Schema.optional<Schema.String>;
4190
4306
  readonly agent: Schema.Struct<{
4191
4307
  readonly id: Schema.String;
4192
4308
  readonly issueId: Schema.String;
@@ -4252,6 +4368,8 @@ declare const SubscribeDomainEventsRpc: Rpc.Rpc<"pan.subscribeDomainEvents", Sch
4252
4368
  readonly timestamp: Schema.String;
4253
4369
  readonly payload: Schema.Struct<{
4254
4370
  readonly agentId: Schema.String;
4371
+ readonly issueId: Schema.optional<Schema.String>;
4372
+ readonly workspaceId: Schema.optional<Schema.String>;
4255
4373
  readonly role: Schema.optional<Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge"]>>;
4256
4374
  readonly hasPendingQuestion: Schema.optional<Schema.Boolean>;
4257
4375
  readonly pendingQuestionCount: Schema.optional<Schema.Number>;
@@ -4287,6 +4405,7 @@ declare const SubscribeDomainEventsRpc: Rpc.Rpc<"pan.subscribeDomainEvents", Sch
4287
4405
  readonly payload: Schema.Struct<{
4288
4406
  readonly agentId: Schema.String;
4289
4407
  readonly issueId: Schema.String;
4408
+ readonly workspaceId: Schema.optional<Schema.String>;
4290
4409
  readonly agent: Schema.Struct<{
4291
4410
  readonly id: Schema.String;
4292
4411
  readonly issueId: Schema.String;
@@ -4353,6 +4472,7 @@ declare const SubscribeDomainEventsRpc: Rpc.Rpc<"pan.subscribeDomainEvents", Sch
4353
4472
  readonly payload: Schema.Struct<{
4354
4473
  readonly agentId: Schema.String;
4355
4474
  readonly issueId: Schema.String;
4475
+ readonly workspaceId: Schema.optional<Schema.String>;
4356
4476
  readonly sessionId: Schema.optional<Schema.String>;
4357
4477
  }>;
4358
4478
  }>, Schema.Struct<{
@@ -4362,6 +4482,7 @@ declare const SubscribeDomainEventsRpc: Rpc.Rpc<"pan.subscribeDomainEvents", Sch
4362
4482
  readonly payload: Schema.Struct<{
4363
4483
  readonly agentId: Schema.String;
4364
4484
  readonly issueId: Schema.optional<Schema.String>;
4485
+ readonly workspaceId: Schema.optional<Schema.String>;
4365
4486
  readonly sessionId: Schema.optional<Schema.String>;
4366
4487
  }>;
4367
4488
  }>, Schema.Struct<{
@@ -4370,6 +4491,7 @@ declare const SubscribeDomainEventsRpc: Rpc.Rpc<"pan.subscribeDomainEvents", Sch
4370
4491
  readonly timestamp: Schema.String;
4371
4492
  readonly payload: Schema.Struct<{
4372
4493
  readonly issueId: Schema.String;
4494
+ readonly workspaceId: Schema.optional<Schema.String>;
4373
4495
  readonly agentId: Schema.optional<Schema.String>;
4374
4496
  }>;
4375
4497
  }>, Schema.Struct<{
@@ -4378,6 +4500,7 @@ declare const SubscribeDomainEventsRpc: Rpc.Rpc<"pan.subscribeDomainEvents", Sch
4378
4500
  readonly timestamp: Schema.String;
4379
4501
  readonly payload: Schema.Struct<{
4380
4502
  readonly issueId: Schema.String;
4503
+ readonly workspaceId: Schema.optional<Schema.String>;
4381
4504
  readonly agentId: Schema.optional<Schema.String>;
4382
4505
  readonly role: Schema.optional<Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge"]>>;
4383
4506
  }>;
@@ -4387,6 +4510,7 @@ declare const SubscribeDomainEventsRpc: Rpc.Rpc<"pan.subscribeDomainEvents", Sch
4387
4510
  readonly timestamp: Schema.String;
4388
4511
  readonly payload: Schema.Struct<{
4389
4512
  readonly issueId: Schema.String;
4513
+ readonly workspaceId: Schema.optional<Schema.String>;
4390
4514
  }>;
4391
4515
  }>, Schema.Struct<{
4392
4516
  readonly type: Schema.Literal<"test.passed">;
@@ -4394,6 +4518,7 @@ declare const SubscribeDomainEventsRpc: Rpc.Rpc<"pan.subscribeDomainEvents", Sch
4394
4518
  readonly timestamp: Schema.String;
4395
4519
  readonly payload: Schema.Struct<{
4396
4520
  readonly issueId: Schema.String;
4521
+ readonly workspaceId: Schema.optional<Schema.String>;
4397
4522
  }>;
4398
4523
  }>, Schema.Struct<{
4399
4524
  readonly type: Schema.Literal<"agent.status_changed">;
@@ -4402,6 +4527,7 @@ declare const SubscribeDomainEventsRpc: Rpc.Rpc<"pan.subscribeDomainEvents", Sch
4402
4527
  readonly payload: Schema.Struct<{
4403
4528
  readonly agentId: Schema.String;
4404
4529
  readonly issueId: Schema.optional<Schema.String>;
4530
+ readonly workspaceId: Schema.optional<Schema.String>;
4405
4531
  readonly status: Schema.Literals<readonly ["starting", "running", "stopped", "error", "unknown"]>;
4406
4532
  readonly previousStatus: Schema.optional<Schema.Literals<readonly ["starting", "running", "stopped", "error", "unknown"]>>;
4407
4533
  readonly hasLiveTmuxSession: Schema.optional<Schema.Boolean>;
@@ -4515,6 +4641,7 @@ declare const SubscribeDomainEventsRpc: Rpc.Rpc<"pan.subscribeDomainEvents", Sch
4515
4641
  readonly requestId: Schema.String;
4516
4642
  readonly agentId: Schema.String;
4517
4643
  readonly issueId: Schema.optional<Schema.String>;
4644
+ readonly workspaceId: Schema.optional<Schema.String>;
4518
4645
  readonly behavior: Schema.Literals<readonly ["allow", "deny"]>;
4519
4646
  }>;
4520
4647
  }>, Schema.Struct<{
@@ -4645,6 +4772,7 @@ declare const SubscribeDomainEventsRpc: Rpc.Rpc<"pan.subscribeDomainEvents", Sch
4645
4772
  readonly timestamp: Schema.String;
4646
4773
  readonly payload: Schema.Struct<{
4647
4774
  readonly issueId: Schema.String;
4775
+ readonly workspaceId: Schema.optional<Schema.String>;
4648
4776
  readonly sessionName: Schema.String;
4649
4777
  readonly harness: Schema.optional<Schema.String>;
4650
4778
  }>;
@@ -4654,6 +4782,7 @@ declare const SubscribeDomainEventsRpc: Rpc.Rpc<"pan.subscribeDomainEvents", Sch
4654
4782
  readonly timestamp: Schema.String;
4655
4783
  readonly payload: Schema.Struct<{
4656
4784
  readonly issueId: Schema.String;
4785
+ readonly workspaceId: Schema.optional<Schema.String>;
4657
4786
  readonly error: Schema.String;
4658
4787
  }>;
4659
4788
  }>, Schema.Struct<{
@@ -4662,6 +4791,7 @@ declare const SubscribeDomainEventsRpc: Rpc.Rpc<"pan.subscribeDomainEvents", Sch
4662
4791
  readonly timestamp: Schema.String;
4663
4792
  readonly payload: Schema.Struct<{
4664
4793
  readonly issueId: Schema.String;
4794
+ readonly workspaceId: Schema.optional<Schema.String>;
4665
4795
  readonly status: Schema.String;
4666
4796
  readonly progress: Schema.optional<Schema.Number>;
4667
4797
  readonly message: Schema.optional<Schema.String>;
@@ -4672,6 +4802,7 @@ declare const SubscribeDomainEventsRpc: Rpc.Rpc<"pan.subscribeDomainEvents", Sch
4672
4802
  readonly timestamp: Schema.String;
4673
4803
  readonly payload: Schema.Struct<{
4674
4804
  readonly issueId: Schema.String;
4805
+ readonly workspaceId: Schema.optional<Schema.String>;
4675
4806
  readonly itemId: Schema.String;
4676
4807
  readonly status: Schema.String;
4677
4808
  }>;
@@ -4681,6 +4812,7 @@ declare const SubscribeDomainEventsRpc: Rpc.Rpc<"pan.subscribeDomainEvents", Sch
4681
4812
  readonly timestamp: Schema.String;
4682
4813
  readonly payload: Schema.Struct<{
4683
4814
  readonly issueId: Schema.String;
4815
+ readonly workspaceId: Schema.optional<Schema.String>;
4684
4816
  readonly itemId: Schema.String;
4685
4817
  readonly subItemId: Schema.String;
4686
4818
  readonly status: Schema.String;
@@ -4691,6 +4823,7 @@ declare const SubscribeDomainEventsRpc: Rpc.Rpc<"pan.subscribeDomainEvents", Sch
4691
4823
  readonly timestamp: Schema.String;
4692
4824
  readonly payload: Schema.Struct<{
4693
4825
  readonly issueId: Schema.String;
4826
+ readonly workspaceId: Schema.optional<Schema.String>;
4694
4827
  readonly items: Schema.$Array<Schema.String>;
4695
4828
  }>;
4696
4829
  }>, Schema.Struct<{
@@ -4699,6 +4832,7 @@ declare const SubscribeDomainEventsRpc: Rpc.Rpc<"pan.subscribeDomainEvents", Sch
4699
4832
  readonly timestamp: Schema.String;
4700
4833
  readonly payload: Schema.Struct<{
4701
4834
  readonly issueId: Schema.String;
4835
+ readonly workspaceId: Schema.optional<Schema.String>;
4702
4836
  readonly status: Schema.Struct<{
4703
4837
  readonly issueId: Schema.String;
4704
4838
  readonly reviewStatus: Schema.optional<Schema.Literals<readonly ["pending", "reviewing", "passed", "failed", "blocked", "skipped"]>>;
@@ -4758,6 +4892,7 @@ declare const SubscribeDomainEventsRpc: Rpc.Rpc<"pan.subscribeDomainEvents", Sch
4758
4892
  readonly timestamp: Schema.String;
4759
4893
  readonly payload: Schema.Struct<{
4760
4894
  readonly issueId: Schema.String;
4895
+ readonly workspaceId: Schema.optional<Schema.String>;
4761
4896
  }>;
4762
4897
  }>, Schema.Struct<{
4763
4898
  readonly type: Schema.Literal<"review.status_changed">;
@@ -4765,6 +4900,7 @@ declare const SubscribeDomainEventsRpc: Rpc.Rpc<"pan.subscribeDomainEvents", Sch
4765
4900
  readonly timestamp: Schema.String;
4766
4901
  readonly payload: Schema.Struct<{
4767
4902
  readonly issueId: Schema.String;
4903
+ readonly workspaceId: Schema.optional<Schema.String>;
4768
4904
  readonly status: Schema.Struct<{
4769
4905
  readonly issueId: Schema.String;
4770
4906
  readonly reviewStatus: Schema.optional<Schema.Literals<readonly ["pending", "reviewing", "passed", "failed", "blocked", "skipped"]>>;
@@ -4824,6 +4960,7 @@ declare const SubscribeDomainEventsRpc: Rpc.Rpc<"pan.subscribeDomainEvents", Sch
4824
4960
  readonly timestamp: Schema.String;
4825
4961
  readonly payload: Schema.Struct<{
4826
4962
  readonly issueId: Schema.String;
4963
+ readonly workspaceId: Schema.optional<Schema.String>;
4827
4964
  }>;
4828
4965
  }>, Schema.Struct<{
4829
4966
  readonly type: Schema.Literal<"pipeline.review-completed">;
@@ -4831,6 +4968,7 @@ declare const SubscribeDomainEventsRpc: Rpc.Rpc<"pan.subscribeDomainEvents", Sch
4831
4968
  readonly timestamp: Schema.String;
4832
4969
  readonly payload: Schema.Struct<{
4833
4970
  readonly issueId: Schema.String;
4971
+ readonly workspaceId: Schema.optional<Schema.String>;
4834
4972
  readonly passed: Schema.Boolean;
4835
4973
  }>;
4836
4974
  }>, Schema.Struct<{
@@ -4839,6 +4977,7 @@ declare const SubscribeDomainEventsRpc: Rpc.Rpc<"pan.subscribeDomainEvents", Sch
4839
4977
  readonly timestamp: Schema.String;
4840
4978
  readonly payload: Schema.Struct<{
4841
4979
  readonly issueId: Schema.String;
4980
+ readonly workspaceId: Schema.optional<Schema.String>;
4842
4981
  }>;
4843
4982
  }>, Schema.Struct<{
4844
4983
  readonly type: Schema.Literal<"pipeline.test-completed">;
@@ -4846,6 +4985,7 @@ declare const SubscribeDomainEventsRpc: Rpc.Rpc<"pan.subscribeDomainEvents", Sch
4846
4985
  readonly timestamp: Schema.String;
4847
4986
  readonly payload: Schema.Struct<{
4848
4987
  readonly issueId: Schema.String;
4988
+ readonly workspaceId: Schema.optional<Schema.String>;
4849
4989
  readonly passed: Schema.Boolean;
4850
4990
  }>;
4851
4991
  }>, Schema.Struct<{
@@ -4854,6 +4994,7 @@ declare const SubscribeDomainEventsRpc: Rpc.Rpc<"pan.subscribeDomainEvents", Sch
4854
4994
  readonly timestamp: Schema.String;
4855
4995
  readonly payload: Schema.Struct<{
4856
4996
  readonly issueId: Schema.String;
4997
+ readonly workspaceId: Schema.optional<Schema.String>;
4857
4998
  }>;
4858
4999
  }>, Schema.Struct<{
4859
5000
  readonly type: Schema.Literal<"pipeline.verification-failed">;
@@ -4861,6 +5002,7 @@ declare const SubscribeDomainEventsRpc: Rpc.Rpc<"pan.subscribeDomainEvents", Sch
4861
5002
  readonly timestamp: Schema.String;
4862
5003
  readonly payload: Schema.Struct<{
4863
5004
  readonly issueId: Schema.String;
5005
+ readonly workspaceId: Schema.optional<Schema.String>;
4864
5006
  readonly failedCheck: Schema.optional<Schema.String>;
4865
5007
  readonly message: Schema.optional<Schema.String>;
4866
5008
  }>;
@@ -4870,6 +5012,7 @@ declare const SubscribeDomainEventsRpc: Rpc.Rpc<"pan.subscribeDomainEvents", Sch
4870
5012
  readonly timestamp: Schema.String;
4871
5013
  readonly payload: Schema.Struct<{
4872
5014
  readonly issueId: Schema.String;
5015
+ readonly workspaceId: Schema.optional<Schema.String>;
4873
5016
  readonly state: Schema.String;
4874
5017
  }>;
4875
5018
  }>, Schema.Struct<{
@@ -4878,6 +5021,7 @@ declare const SubscribeDomainEventsRpc: Rpc.Rpc<"pan.subscribeDomainEvents", Sch
4878
5021
  readonly timestamp: Schema.String;
4879
5022
  readonly payload: Schema.Struct<{
4880
5023
  readonly issueId: Schema.String;
5024
+ readonly workspaceId: Schema.optional<Schema.String>;
4881
5025
  readonly kind: Schema.Literals<readonly ["tell", "pause", "restart", "manual_edit", "deep_wipe", "unpause", "untroubled"]>;
4882
5026
  readonly source: Schema.String;
4883
5027
  }>;
@@ -4924,6 +5068,7 @@ declare const SubscribeDomainEventsRpc: Rpc.Rpc<"pan.subscribeDomainEvents", Sch
4924
5068
  readonly timestamp: Schema.String;
4925
5069
  readonly payload: Schema.Struct<{
4926
5070
  readonly issueId: Schema.String;
5071
+ readonly workspaceId: Schema.optional<Schema.String>;
4927
5072
  readonly runId: Schema.optional<Schema.String>;
4928
5073
  readonly filedBy: Schema.Literals<readonly ["agent", "operator"]>;
4929
5074
  readonly discoveredIn: Schema.optional<Schema.String>;
@@ -4935,6 +5080,7 @@ declare const SubscribeDomainEventsRpc: Rpc.Rpc<"pan.subscribeDomainEvents", Sch
4935
5080
  readonly timestamp: Schema.String;
4936
5081
  readonly payload: Schema.Struct<{
4937
5082
  readonly issueId: Schema.String;
5083
+ readonly workspaceId: Schema.optional<Schema.String>;
4938
5084
  readonly role: Schema.String;
4939
5085
  readonly sessionName: Schema.String;
4940
5086
  }>;
@@ -4944,6 +5090,7 @@ declare const SubscribeDomainEventsRpc: Rpc.Rpc<"pan.subscribeDomainEvents", Sch
4944
5090
  readonly timestamp: Schema.String;
4945
5091
  readonly payload: Schema.Struct<{
4946
5092
  readonly issueId: Schema.String;
5093
+ readonly workspaceId: Schema.optional<Schema.String>;
4947
5094
  readonly role: Schema.String;
4948
5095
  }>;
4949
5096
  }>, Schema.Struct<{
@@ -4952,6 +5099,7 @@ declare const SubscribeDomainEventsRpc: Rpc.Rpc<"pan.subscribeDomainEvents", Sch
4952
5099
  readonly timestamp: Schema.String;
4953
5100
  readonly payload: Schema.Struct<{
4954
5101
  readonly issueId: Schema.String;
5102
+ readonly workspaceId: Schema.optional<Schema.String>;
4955
5103
  readonly role: Schema.String;
4956
5104
  readonly sessionName: Schema.String;
4957
5105
  readonly attempt: Schema.Number;
@@ -4964,6 +5112,7 @@ declare const SubscribeDomainEventsRpc: Rpc.Rpc<"pan.subscribeDomainEvents", Sch
4964
5112
  readonly timestamp: Schema.String;
4965
5113
  readonly payload: Schema.Struct<{
4966
5114
  readonly issueId: Schema.String;
5115
+ readonly workspaceId: Schema.optional<Schema.String>;
4967
5116
  readonly sessionName: Schema.String;
4968
5117
  }>;
4969
5118
  }>, Schema.Struct<{
@@ -4972,6 +5121,7 @@ declare const SubscribeDomainEventsRpc: Rpc.Rpc<"pan.subscribeDomainEvents", Sch
4972
5121
  readonly timestamp: Schema.String;
4973
5122
  readonly payload: Schema.Struct<{
4974
5123
  readonly issueId: Schema.String;
5124
+ readonly workspaceId: Schema.optional<Schema.String>;
4975
5125
  readonly sessionName: Schema.String;
4976
5126
  readonly reason: Schema.String;
4977
5127
  }>;
@@ -4993,6 +5143,7 @@ declare const SubscribeDomainEventsRpc: Rpc.Rpc<"pan.subscribeDomainEvents", Sch
4993
5143
  readonly payload: Schema.Struct<{
4994
5144
  readonly name: Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge"]>;
4995
5145
  readonly issueId: Schema.optional<Schema.String>;
5146
+ readonly workspaceId: Schema.optional<Schema.String>;
4996
5147
  }>;
4997
5148
  }>, Schema.Struct<{
4998
5149
  readonly type: Schema.Literal<"specialist.failed">;
@@ -5001,6 +5152,7 @@ declare const SubscribeDomainEventsRpc: Rpc.Rpc<"pan.subscribeDomainEvents", Sch
5001
5152
  readonly payload: Schema.Struct<{
5002
5153
  readonly name: Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge"]>;
5003
5154
  readonly issueId: Schema.optional<Schema.String>;
5155
+ readonly workspaceId: Schema.optional<Schema.String>;
5004
5156
  readonly error: Schema.String;
5005
5157
  }>;
5006
5158
  }>, Schema.Struct<{
@@ -5046,6 +5198,7 @@ declare const SubscribeDomainEventsRpc: Rpc.Rpc<"pan.subscribeDomainEvents", Sch
5046
5198
  readonly timestamp: Schema.String;
5047
5199
  readonly payload: Schema.Struct<{
5048
5200
  readonly issueId: Schema.optional<Schema.String>;
5201
+ readonly workspaceId: Schema.optional<Schema.String>;
5049
5202
  }>;
5050
5203
  }>, Schema.Struct<{
5051
5204
  readonly type: Schema.Literal<"issue.statusChanged">;
@@ -5053,6 +5206,7 @@ declare const SubscribeDomainEventsRpc: Rpc.Rpc<"pan.subscribeDomainEvents", Sch
5053
5206
  readonly timestamp: Schema.String;
5054
5207
  readonly payload: Schema.Struct<{
5055
5208
  readonly issueId: Schema.String;
5209
+ readonly workspaceId: Schema.optional<Schema.String>;
5056
5210
  readonly status: Schema.String;
5057
5211
  readonly canonicalStatus: Schema.String;
5058
5212
  readonly labels: Schema.optional<Schema.$Array<Schema.String>>;
@@ -5078,6 +5232,7 @@ declare const SubscribeDomainEventsRpc: Rpc.Rpc<"pan.subscribeDomainEvents", Sch
5078
5232
  readonly details: Schema.optional<Schema.String>;
5079
5233
  readonly output: Schema.optional<Schema.String>;
5080
5234
  readonly issueId: Schema.optional<Schema.String>;
5235
+ readonly workspaceId: Schema.optional<Schema.String>;
5081
5236
  readonly link: Schema.optional<Schema.String>;
5082
5237
  readonly desktop: Schema.optional<Schema.Boolean>;
5083
5238
  }>;
@@ -5092,6 +5247,7 @@ declare const SubscribeDomainEventsRpc: Rpc.Rpc<"pan.subscribeDomainEvents", Sch
5092
5247
  readonly message: Schema.String;
5093
5248
  readonly details: Schema.optional<Schema.String>;
5094
5249
  readonly issueId: Schema.optional<Schema.String>;
5250
+ readonly workspaceId: Schema.optional<Schema.String>;
5095
5251
  readonly triggeringEvent: Schema.optional<Schema.String>;
5096
5252
  }>;
5097
5253
  }>, Schema.Struct<{
@@ -5103,6 +5259,7 @@ declare const SubscribeDomainEventsRpc: Rpc.Rpc<"pan.subscribeDomainEvents", Sch
5103
5259
  readonly utterance: Schema.String;
5104
5260
  readonly priority: Schema.optional<Schema.Number>;
5105
5261
  readonly issueId: Schema.optional<Schema.String>;
5262
+ readonly workspaceId: Schema.optional<Schema.String>;
5106
5263
  readonly source: Schema.optional<Schema.String>;
5107
5264
  readonly eventType: Schema.optional<Schema.String>;
5108
5265
  }>;
@@ -5112,6 +5269,7 @@ declare const SubscribeDomainEventsRpc: Rpc.Rpc<"pan.subscribeDomainEvents", Sch
5112
5269
  readonly timestamp: Schema.String;
5113
5270
  readonly payload: Schema.Struct<{
5114
5271
  readonly issueId: Schema.String;
5272
+ readonly workspaceId: Schema.optional<Schema.String>;
5115
5273
  readonly content: Schema.String;
5116
5274
  }>;
5117
5275
  }>, Schema.Struct<{
@@ -5124,10 +5282,10 @@ declare const SubscribeDomainEventsRpc: Rpc.Rpc<"pan.subscribeDomainEvents", Sch
5124
5282
  readonly timestamp: Schema.String;
5125
5283
  readonly projectId: Schema.String;
5126
5284
  readonly workspaceId: Schema.String;
5127
- readonly issueId: Schema.String;
5285
+ readonly issueId: Schema.NullOr<Schema.String>;
5128
5286
  readonly runId: Schema.String;
5129
5287
  readonly sessionId: Schema.String;
5130
- readonly agentRole: Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge"]>;
5288
+ readonly agentRole: Schema.Union<readonly [Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge"]>, Schema.Literal<"conversation">]>;
5131
5289
  readonly agentHarness: Schema.String;
5132
5290
  readonly gitBranch: Schema.String;
5133
5291
  readonly sourceTranscriptOffset: Schema.Number;
@@ -5216,6 +5374,7 @@ declare const SubscribeDomainEventsRpc: Rpc.Rpc<"pan.subscribeDomainEvents", Sch
5216
5374
  readonly payload: Schema.Struct<{
5217
5375
  readonly projectId: Schema.String;
5218
5376
  readonly issueId: Schema.String;
5377
+ readonly workspaceId: Schema.optional<Schema.String>;
5219
5378
  readonly status: Schema.Literals<readonly ["healthy", "degraded", "failing"]>;
5220
5379
  readonly reason: Schema.NullOr<Schema.String>;
5221
5380
  readonly detail: Schema.optional<Schema.String>;
@@ -5225,10 +5384,10 @@ declare const SubscribeDomainEventsRpc: Rpc.Rpc<"pan.subscribeDomainEvents", Sch
5225
5384
  readonly identity: Schema.Struct<{
5226
5385
  readonly projectId: Schema.String;
5227
5386
  readonly workspaceId: Schema.String;
5228
- readonly issueId: Schema.String;
5387
+ readonly issueId: Schema.NullOr<Schema.String>;
5229
5388
  readonly runId: Schema.String;
5230
5389
  readonly sessionId: Schema.String;
5231
- readonly agentRole: Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge"]>;
5390
+ readonly agentRole: Schema.Union<readonly [Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge"]>, Schema.Literal<"conversation">]>;
5232
5391
  readonly agentHarness: Schema.String;
5233
5392
  }>;
5234
5393
  readonly surface: Schema.Literals<readonly ["spawn", "user-prompt"]>;
@@ -5259,6 +5418,7 @@ declare const SubscribeDomainEventsRpc: Rpc.Rpc<"pan.subscribeDomainEvents", Sch
5259
5418
  readonly payload: Schema.Struct<{
5260
5419
  readonly agentId: Schema.String;
5261
5420
  readonly issueId: Schema.String;
5421
+ readonly workspaceId: Schema.optional<Schema.String>;
5262
5422
  readonly cost: Schema.Number;
5263
5423
  readonly inputTokens: Schema.Number;
5264
5424
  readonly outputTokens: Schema.Number;
@@ -5269,6 +5429,7 @@ declare const SubscribeDomainEventsRpc: Rpc.Rpc<"pan.subscribeDomainEvents", Sch
5269
5429
  readonly timestamp: Schema.String;
5270
5430
  readonly payload: Schema.Struct<{
5271
5431
  readonly issueId: Schema.String;
5432
+ readonly workspaceId: Schema.optional<Schema.String>;
5272
5433
  readonly workspacePath: Schema.String;
5273
5434
  }>;
5274
5435
  }>, Schema.Struct<{
@@ -5277,6 +5438,7 @@ declare const SubscribeDomainEventsRpc: Rpc.Rpc<"pan.subscribeDomainEvents", Sch
5277
5438
  readonly timestamp: Schema.String;
5278
5439
  readonly payload: Schema.Struct<{
5279
5440
  readonly issueId: Schema.String;
5441
+ readonly workspaceId: Schema.optional<Schema.String>;
5280
5442
  }>;
5281
5443
  }>, Schema.Struct<{
5282
5444
  readonly type: Schema.Literal<"workspace.destroyed">;
@@ -5284,6 +5446,7 @@ declare const SubscribeDomainEventsRpc: Rpc.Rpc<"pan.subscribeDomainEvents", Sch
5284
5446
  readonly timestamp: Schema.String;
5285
5447
  readonly payload: Schema.Struct<{
5286
5448
  readonly issueId: Schema.String;
5449
+ readonly workspaceId: Schema.optional<Schema.String>;
5287
5450
  }>;
5288
5451
  }>, Schema.Struct<{
5289
5452
  readonly type: Schema.Literal<"workspace.deleted">;
@@ -5291,6 +5454,7 @@ declare const SubscribeDomainEventsRpc: Rpc.Rpc<"pan.subscribeDomainEvents", Sch
5291
5454
  readonly timestamp: Schema.String;
5292
5455
  readonly payload: Schema.Struct<{
5293
5456
  readonly issueId: Schema.String;
5457
+ readonly workspaceId: Schema.optional<Schema.String>;
5294
5458
  }>;
5295
5459
  }>, Schema.Struct<{
5296
5460
  readonly type: Schema.Literal<"workspace.aborted">;
@@ -5298,6 +5462,7 @@ declare const SubscribeDomainEventsRpc: Rpc.Rpc<"pan.subscribeDomainEvents", Sch
5298
5462
  readonly timestamp: Schema.String;
5299
5463
  readonly payload: Schema.Struct<{
5300
5464
  readonly issueId: Schema.String;
5465
+ readonly workspaceId: Schema.optional<Schema.String>;
5301
5466
  readonly sessionName: Schema.optional<Schema.String>;
5302
5467
  }>;
5303
5468
  }>, Schema.Struct<{
@@ -5307,6 +5472,7 @@ declare const SubscribeDomainEventsRpc: Rpc.Rpc<"pan.subscribeDomainEvents", Sch
5307
5472
  readonly payload: Schema.Struct<{
5308
5473
  readonly reason: Schema.String;
5309
5474
  readonly issueId: Schema.optional<Schema.String>;
5475
+ readonly workspaceId: Schema.optional<Schema.String>;
5310
5476
  readonly trigger: Schema.String;
5311
5477
  }>;
5312
5478
  }>, Schema.Struct<{
@@ -5316,6 +5482,7 @@ declare const SubscribeDomainEventsRpc: Rpc.Rpc<"pan.subscribeDomainEvents", Sch
5316
5482
  readonly payload: Schema.Struct<{
5317
5483
  readonly reason: Schema.String;
5318
5484
  readonly issueId: Schema.optional<Schema.String>;
5485
+ readonly workspaceId: Schema.optional<Schema.String>;
5319
5486
  readonly durationMs: Schema.Number;
5320
5487
  }>;
5321
5488
  }>, Schema.Struct<{
@@ -5325,6 +5492,7 @@ declare const SubscribeDomainEventsRpc: Rpc.Rpc<"pan.subscribeDomainEvents", Sch
5325
5492
  readonly payload: Schema.Struct<{
5326
5493
  readonly reason: Schema.String;
5327
5494
  readonly issueId: Schema.optional<Schema.String>;
5495
+ readonly workspaceId: Schema.optional<Schema.String>;
5328
5496
  readonly error: Schema.String;
5329
5497
  }>;
5330
5498
  }>, Schema.Struct<{
@@ -5447,6 +5615,7 @@ declare const SubscribeIssueEventsRpc: Rpc.Rpc<"pan.subscribeIssueEvents", Schem
5447
5615
  readonly payload: Schema.Struct<{
5448
5616
  readonly agentId: Schema.String;
5449
5617
  readonly issueId: Schema.String;
5618
+ readonly workspaceId: Schema.optional<Schema.String>;
5450
5619
  readonly agent: Schema.Struct<{
5451
5620
  readonly id: Schema.String;
5452
5621
  readonly issueId: Schema.String;
@@ -5512,6 +5681,8 @@ declare const SubscribeIssueEventsRpc: Rpc.Rpc<"pan.subscribeIssueEvents", Schem
5512
5681
  readonly timestamp: Schema.String;
5513
5682
  readonly payload: Schema.Struct<{
5514
5683
  readonly agentId: Schema.String;
5684
+ readonly issueId: Schema.optional<Schema.String>;
5685
+ readonly workspaceId: Schema.optional<Schema.String>;
5515
5686
  readonly role: Schema.optional<Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge"]>>;
5516
5687
  readonly hasPendingQuestion: Schema.optional<Schema.Boolean>;
5517
5688
  readonly pendingQuestionCount: Schema.optional<Schema.Number>;
@@ -5547,6 +5718,7 @@ declare const SubscribeIssueEventsRpc: Rpc.Rpc<"pan.subscribeIssueEvents", Schem
5547
5718
  readonly payload: Schema.Struct<{
5548
5719
  readonly agentId: Schema.String;
5549
5720
  readonly issueId: Schema.String;
5721
+ readonly workspaceId: Schema.optional<Schema.String>;
5550
5722
  readonly agent: Schema.Struct<{
5551
5723
  readonly id: Schema.String;
5552
5724
  readonly issueId: Schema.String;
@@ -5613,6 +5785,7 @@ declare const SubscribeIssueEventsRpc: Rpc.Rpc<"pan.subscribeIssueEvents", Schem
5613
5785
  readonly payload: Schema.Struct<{
5614
5786
  readonly agentId: Schema.String;
5615
5787
  readonly issueId: Schema.String;
5788
+ readonly workspaceId: Schema.optional<Schema.String>;
5616
5789
  readonly sessionId: Schema.optional<Schema.String>;
5617
5790
  }>;
5618
5791
  }>, Schema.Struct<{
@@ -5622,6 +5795,7 @@ declare const SubscribeIssueEventsRpc: Rpc.Rpc<"pan.subscribeIssueEvents", Schem
5622
5795
  readonly payload: Schema.Struct<{
5623
5796
  readonly agentId: Schema.String;
5624
5797
  readonly issueId: Schema.optional<Schema.String>;
5798
+ readonly workspaceId: Schema.optional<Schema.String>;
5625
5799
  readonly sessionId: Schema.optional<Schema.String>;
5626
5800
  }>;
5627
5801
  }>, Schema.Struct<{
@@ -5630,6 +5804,7 @@ declare const SubscribeIssueEventsRpc: Rpc.Rpc<"pan.subscribeIssueEvents", Schem
5630
5804
  readonly timestamp: Schema.String;
5631
5805
  readonly payload: Schema.Struct<{
5632
5806
  readonly issueId: Schema.String;
5807
+ readonly workspaceId: Schema.optional<Schema.String>;
5633
5808
  readonly agentId: Schema.optional<Schema.String>;
5634
5809
  }>;
5635
5810
  }>, Schema.Struct<{
@@ -5638,6 +5813,7 @@ declare const SubscribeIssueEventsRpc: Rpc.Rpc<"pan.subscribeIssueEvents", Schem
5638
5813
  readonly timestamp: Schema.String;
5639
5814
  readonly payload: Schema.Struct<{
5640
5815
  readonly issueId: Schema.String;
5816
+ readonly workspaceId: Schema.optional<Schema.String>;
5641
5817
  readonly agentId: Schema.optional<Schema.String>;
5642
5818
  readonly role: Schema.optional<Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge"]>>;
5643
5819
  }>;
@@ -5647,6 +5823,7 @@ declare const SubscribeIssueEventsRpc: Rpc.Rpc<"pan.subscribeIssueEvents", Schem
5647
5823
  readonly timestamp: Schema.String;
5648
5824
  readonly payload: Schema.Struct<{
5649
5825
  readonly issueId: Schema.String;
5826
+ readonly workspaceId: Schema.optional<Schema.String>;
5650
5827
  }>;
5651
5828
  }>, Schema.Struct<{
5652
5829
  readonly type: Schema.Literal<"test.passed">;
@@ -5654,6 +5831,7 @@ declare const SubscribeIssueEventsRpc: Rpc.Rpc<"pan.subscribeIssueEvents", Schem
5654
5831
  readonly timestamp: Schema.String;
5655
5832
  readonly payload: Schema.Struct<{
5656
5833
  readonly issueId: Schema.String;
5834
+ readonly workspaceId: Schema.optional<Schema.String>;
5657
5835
  }>;
5658
5836
  }>, Schema.Struct<{
5659
5837
  readonly type: Schema.Literal<"agent.status_changed">;
@@ -5662,6 +5840,7 @@ declare const SubscribeIssueEventsRpc: Rpc.Rpc<"pan.subscribeIssueEvents", Schem
5662
5840
  readonly payload: Schema.Struct<{
5663
5841
  readonly agentId: Schema.String;
5664
5842
  readonly issueId: Schema.optional<Schema.String>;
5843
+ readonly workspaceId: Schema.optional<Schema.String>;
5665
5844
  readonly status: Schema.Literals<readonly ["starting", "running", "stopped", "error", "unknown"]>;
5666
5845
  readonly previousStatus: Schema.optional<Schema.Literals<readonly ["starting", "running", "stopped", "error", "unknown"]>>;
5667
5846
  readonly hasLiveTmuxSession: Schema.optional<Schema.Boolean>;
@@ -5775,6 +5954,7 @@ declare const SubscribeIssueEventsRpc: Rpc.Rpc<"pan.subscribeIssueEvents", Schem
5775
5954
  readonly requestId: Schema.String;
5776
5955
  readonly agentId: Schema.String;
5777
5956
  readonly issueId: Schema.optional<Schema.String>;
5957
+ readonly workspaceId: Schema.optional<Schema.String>;
5778
5958
  readonly behavior: Schema.Literals<readonly ["allow", "deny"]>;
5779
5959
  }>;
5780
5960
  }>, Schema.Struct<{
@@ -5905,6 +6085,7 @@ declare const SubscribeIssueEventsRpc: Rpc.Rpc<"pan.subscribeIssueEvents", Schem
5905
6085
  readonly timestamp: Schema.String;
5906
6086
  readonly payload: Schema.Struct<{
5907
6087
  readonly issueId: Schema.String;
6088
+ readonly workspaceId: Schema.optional<Schema.String>;
5908
6089
  readonly sessionName: Schema.String;
5909
6090
  readonly harness: Schema.optional<Schema.String>;
5910
6091
  }>;
@@ -5914,6 +6095,7 @@ declare const SubscribeIssueEventsRpc: Rpc.Rpc<"pan.subscribeIssueEvents", Schem
5914
6095
  readonly timestamp: Schema.String;
5915
6096
  readonly payload: Schema.Struct<{
5916
6097
  readonly issueId: Schema.String;
6098
+ readonly workspaceId: Schema.optional<Schema.String>;
5917
6099
  readonly error: Schema.String;
5918
6100
  }>;
5919
6101
  }>, Schema.Struct<{
@@ -5922,6 +6104,7 @@ declare const SubscribeIssueEventsRpc: Rpc.Rpc<"pan.subscribeIssueEvents", Schem
5922
6104
  readonly timestamp: Schema.String;
5923
6105
  readonly payload: Schema.Struct<{
5924
6106
  readonly issueId: Schema.String;
6107
+ readonly workspaceId: Schema.optional<Schema.String>;
5925
6108
  readonly status: Schema.String;
5926
6109
  readonly progress: Schema.optional<Schema.Number>;
5927
6110
  readonly message: Schema.optional<Schema.String>;
@@ -5932,6 +6115,7 @@ declare const SubscribeIssueEventsRpc: Rpc.Rpc<"pan.subscribeIssueEvents", Schem
5932
6115
  readonly timestamp: Schema.String;
5933
6116
  readonly payload: Schema.Struct<{
5934
6117
  readonly issueId: Schema.String;
6118
+ readonly workspaceId: Schema.optional<Schema.String>;
5935
6119
  readonly itemId: Schema.String;
5936
6120
  readonly status: Schema.String;
5937
6121
  }>;
@@ -5941,6 +6125,7 @@ declare const SubscribeIssueEventsRpc: Rpc.Rpc<"pan.subscribeIssueEvents", Schem
5941
6125
  readonly timestamp: Schema.String;
5942
6126
  readonly payload: Schema.Struct<{
5943
6127
  readonly issueId: Schema.String;
6128
+ readonly workspaceId: Schema.optional<Schema.String>;
5944
6129
  readonly itemId: Schema.String;
5945
6130
  readonly subItemId: Schema.String;
5946
6131
  readonly status: Schema.String;
@@ -5951,6 +6136,7 @@ declare const SubscribeIssueEventsRpc: Rpc.Rpc<"pan.subscribeIssueEvents", Schem
5951
6136
  readonly timestamp: Schema.String;
5952
6137
  readonly payload: Schema.Struct<{
5953
6138
  readonly issueId: Schema.String;
6139
+ readonly workspaceId: Schema.optional<Schema.String>;
5954
6140
  readonly items: Schema.$Array<Schema.String>;
5955
6141
  }>;
5956
6142
  }>, Schema.Struct<{
@@ -5959,6 +6145,7 @@ declare const SubscribeIssueEventsRpc: Rpc.Rpc<"pan.subscribeIssueEvents", Schem
5959
6145
  readonly timestamp: Schema.String;
5960
6146
  readonly payload: Schema.Struct<{
5961
6147
  readonly issueId: Schema.String;
6148
+ readonly workspaceId: Schema.optional<Schema.String>;
5962
6149
  readonly status: Schema.Struct<{
5963
6150
  readonly issueId: Schema.String;
5964
6151
  readonly reviewStatus: Schema.optional<Schema.Literals<readonly ["pending", "reviewing", "passed", "failed", "blocked", "skipped"]>>;
@@ -6018,6 +6205,7 @@ declare const SubscribeIssueEventsRpc: Rpc.Rpc<"pan.subscribeIssueEvents", Schem
6018
6205
  readonly timestamp: Schema.String;
6019
6206
  readonly payload: Schema.Struct<{
6020
6207
  readonly issueId: Schema.String;
6208
+ readonly workspaceId: Schema.optional<Schema.String>;
6021
6209
  }>;
6022
6210
  }>, Schema.Struct<{
6023
6211
  readonly type: Schema.Literal<"review.status_changed">;
@@ -6025,6 +6213,7 @@ declare const SubscribeIssueEventsRpc: Rpc.Rpc<"pan.subscribeIssueEvents", Schem
6025
6213
  readonly timestamp: Schema.String;
6026
6214
  readonly payload: Schema.Struct<{
6027
6215
  readonly issueId: Schema.String;
6216
+ readonly workspaceId: Schema.optional<Schema.String>;
6028
6217
  readonly status: Schema.Struct<{
6029
6218
  readonly issueId: Schema.String;
6030
6219
  readonly reviewStatus: Schema.optional<Schema.Literals<readonly ["pending", "reviewing", "passed", "failed", "blocked", "skipped"]>>;
@@ -6084,6 +6273,7 @@ declare const SubscribeIssueEventsRpc: Rpc.Rpc<"pan.subscribeIssueEvents", Schem
6084
6273
  readonly timestamp: Schema.String;
6085
6274
  readonly payload: Schema.Struct<{
6086
6275
  readonly issueId: Schema.String;
6276
+ readonly workspaceId: Schema.optional<Schema.String>;
6087
6277
  }>;
6088
6278
  }>, Schema.Struct<{
6089
6279
  readonly type: Schema.Literal<"pipeline.review-completed">;
@@ -6091,6 +6281,7 @@ declare const SubscribeIssueEventsRpc: Rpc.Rpc<"pan.subscribeIssueEvents", Schem
6091
6281
  readonly timestamp: Schema.String;
6092
6282
  readonly payload: Schema.Struct<{
6093
6283
  readonly issueId: Schema.String;
6284
+ readonly workspaceId: Schema.optional<Schema.String>;
6094
6285
  readonly passed: Schema.Boolean;
6095
6286
  }>;
6096
6287
  }>, Schema.Struct<{
@@ -6099,6 +6290,7 @@ declare const SubscribeIssueEventsRpc: Rpc.Rpc<"pan.subscribeIssueEvents", Schem
6099
6290
  readonly timestamp: Schema.String;
6100
6291
  readonly payload: Schema.Struct<{
6101
6292
  readonly issueId: Schema.String;
6293
+ readonly workspaceId: Schema.optional<Schema.String>;
6102
6294
  }>;
6103
6295
  }>, Schema.Struct<{
6104
6296
  readonly type: Schema.Literal<"pipeline.test-completed">;
@@ -6106,6 +6298,7 @@ declare const SubscribeIssueEventsRpc: Rpc.Rpc<"pan.subscribeIssueEvents", Schem
6106
6298
  readonly timestamp: Schema.String;
6107
6299
  readonly payload: Schema.Struct<{
6108
6300
  readonly issueId: Schema.String;
6301
+ readonly workspaceId: Schema.optional<Schema.String>;
6109
6302
  readonly passed: Schema.Boolean;
6110
6303
  }>;
6111
6304
  }>, Schema.Struct<{
@@ -6114,6 +6307,7 @@ declare const SubscribeIssueEventsRpc: Rpc.Rpc<"pan.subscribeIssueEvents", Schem
6114
6307
  readonly timestamp: Schema.String;
6115
6308
  readonly payload: Schema.Struct<{
6116
6309
  readonly issueId: Schema.String;
6310
+ readonly workspaceId: Schema.optional<Schema.String>;
6117
6311
  }>;
6118
6312
  }>, Schema.Struct<{
6119
6313
  readonly type: Schema.Literal<"pipeline.verification-failed">;
@@ -6121,6 +6315,7 @@ declare const SubscribeIssueEventsRpc: Rpc.Rpc<"pan.subscribeIssueEvents", Schem
6121
6315
  readonly timestamp: Schema.String;
6122
6316
  readonly payload: Schema.Struct<{
6123
6317
  readonly issueId: Schema.String;
6318
+ readonly workspaceId: Schema.optional<Schema.String>;
6124
6319
  readonly failedCheck: Schema.optional<Schema.String>;
6125
6320
  readonly message: Schema.optional<Schema.String>;
6126
6321
  }>;
@@ -6130,6 +6325,7 @@ declare const SubscribeIssueEventsRpc: Rpc.Rpc<"pan.subscribeIssueEvents", Schem
6130
6325
  readonly timestamp: Schema.String;
6131
6326
  readonly payload: Schema.Struct<{
6132
6327
  readonly issueId: Schema.String;
6328
+ readonly workspaceId: Schema.optional<Schema.String>;
6133
6329
  readonly state: Schema.String;
6134
6330
  }>;
6135
6331
  }>, Schema.Struct<{
@@ -6138,6 +6334,7 @@ declare const SubscribeIssueEventsRpc: Rpc.Rpc<"pan.subscribeIssueEvents", Schem
6138
6334
  readonly timestamp: Schema.String;
6139
6335
  readonly payload: Schema.Struct<{
6140
6336
  readonly issueId: Schema.String;
6337
+ readonly workspaceId: Schema.optional<Schema.String>;
6141
6338
  readonly kind: Schema.Literals<readonly ["tell", "pause", "restart", "manual_edit", "deep_wipe", "unpause", "untroubled"]>;
6142
6339
  readonly source: Schema.String;
6143
6340
  }>;
@@ -6184,6 +6381,7 @@ declare const SubscribeIssueEventsRpc: Rpc.Rpc<"pan.subscribeIssueEvents", Schem
6184
6381
  readonly timestamp: Schema.String;
6185
6382
  readonly payload: Schema.Struct<{
6186
6383
  readonly issueId: Schema.String;
6384
+ readonly workspaceId: Schema.optional<Schema.String>;
6187
6385
  readonly runId: Schema.optional<Schema.String>;
6188
6386
  readonly filedBy: Schema.Literals<readonly ["agent", "operator"]>;
6189
6387
  readonly discoveredIn: Schema.optional<Schema.String>;
@@ -6195,6 +6393,7 @@ declare const SubscribeIssueEventsRpc: Rpc.Rpc<"pan.subscribeIssueEvents", Schem
6195
6393
  readonly timestamp: Schema.String;
6196
6394
  readonly payload: Schema.Struct<{
6197
6395
  readonly issueId: Schema.String;
6396
+ readonly workspaceId: Schema.optional<Schema.String>;
6198
6397
  readonly role: Schema.String;
6199
6398
  readonly sessionName: Schema.String;
6200
6399
  }>;
@@ -6204,6 +6403,7 @@ declare const SubscribeIssueEventsRpc: Rpc.Rpc<"pan.subscribeIssueEvents", Schem
6204
6403
  readonly timestamp: Schema.String;
6205
6404
  readonly payload: Schema.Struct<{
6206
6405
  readonly issueId: Schema.String;
6406
+ readonly workspaceId: Schema.optional<Schema.String>;
6207
6407
  readonly role: Schema.String;
6208
6408
  }>;
6209
6409
  }>, Schema.Struct<{
@@ -6212,6 +6412,7 @@ declare const SubscribeIssueEventsRpc: Rpc.Rpc<"pan.subscribeIssueEvents", Schem
6212
6412
  readonly timestamp: Schema.String;
6213
6413
  readonly payload: Schema.Struct<{
6214
6414
  readonly issueId: Schema.String;
6415
+ readonly workspaceId: Schema.optional<Schema.String>;
6215
6416
  readonly role: Schema.String;
6216
6417
  readonly sessionName: Schema.String;
6217
6418
  readonly attempt: Schema.Number;
@@ -6224,6 +6425,7 @@ declare const SubscribeIssueEventsRpc: Rpc.Rpc<"pan.subscribeIssueEvents", Schem
6224
6425
  readonly timestamp: Schema.String;
6225
6426
  readonly payload: Schema.Struct<{
6226
6427
  readonly issueId: Schema.String;
6428
+ readonly workspaceId: Schema.optional<Schema.String>;
6227
6429
  readonly sessionName: Schema.String;
6228
6430
  }>;
6229
6431
  }>, Schema.Struct<{
@@ -6232,6 +6434,7 @@ declare const SubscribeIssueEventsRpc: Rpc.Rpc<"pan.subscribeIssueEvents", Schem
6232
6434
  readonly timestamp: Schema.String;
6233
6435
  readonly payload: Schema.Struct<{
6234
6436
  readonly issueId: Schema.String;
6437
+ readonly workspaceId: Schema.optional<Schema.String>;
6235
6438
  readonly sessionName: Schema.String;
6236
6439
  readonly reason: Schema.String;
6237
6440
  }>;
@@ -6253,6 +6456,7 @@ declare const SubscribeIssueEventsRpc: Rpc.Rpc<"pan.subscribeIssueEvents", Schem
6253
6456
  readonly payload: Schema.Struct<{
6254
6457
  readonly name: Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge"]>;
6255
6458
  readonly issueId: Schema.optional<Schema.String>;
6459
+ readonly workspaceId: Schema.optional<Schema.String>;
6256
6460
  }>;
6257
6461
  }>, Schema.Struct<{
6258
6462
  readonly type: Schema.Literal<"specialist.failed">;
@@ -6261,6 +6465,7 @@ declare const SubscribeIssueEventsRpc: Rpc.Rpc<"pan.subscribeIssueEvents", Schem
6261
6465
  readonly payload: Schema.Struct<{
6262
6466
  readonly name: Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge"]>;
6263
6467
  readonly issueId: Schema.optional<Schema.String>;
6468
+ readonly workspaceId: Schema.optional<Schema.String>;
6264
6469
  readonly error: Schema.String;
6265
6470
  }>;
6266
6471
  }>, Schema.Struct<{
@@ -6306,6 +6511,7 @@ declare const SubscribeIssueEventsRpc: Rpc.Rpc<"pan.subscribeIssueEvents", Schem
6306
6511
  readonly timestamp: Schema.String;
6307
6512
  readonly payload: Schema.Struct<{
6308
6513
  readonly issueId: Schema.optional<Schema.String>;
6514
+ readonly workspaceId: Schema.optional<Schema.String>;
6309
6515
  }>;
6310
6516
  }>, Schema.Struct<{
6311
6517
  readonly type: Schema.Literal<"issue.statusChanged">;
@@ -6313,6 +6519,7 @@ declare const SubscribeIssueEventsRpc: Rpc.Rpc<"pan.subscribeIssueEvents", Schem
6313
6519
  readonly timestamp: Schema.String;
6314
6520
  readonly payload: Schema.Struct<{
6315
6521
  readonly issueId: Schema.String;
6522
+ readonly workspaceId: Schema.optional<Schema.String>;
6316
6523
  readonly status: Schema.String;
6317
6524
  readonly canonicalStatus: Schema.String;
6318
6525
  readonly labels: Schema.optional<Schema.$Array<Schema.String>>;
@@ -6338,6 +6545,7 @@ declare const SubscribeIssueEventsRpc: Rpc.Rpc<"pan.subscribeIssueEvents", Schem
6338
6545
  readonly details: Schema.optional<Schema.String>;
6339
6546
  readonly output: Schema.optional<Schema.String>;
6340
6547
  readonly issueId: Schema.optional<Schema.String>;
6548
+ readonly workspaceId: Schema.optional<Schema.String>;
6341
6549
  readonly link: Schema.optional<Schema.String>;
6342
6550
  readonly desktop: Schema.optional<Schema.Boolean>;
6343
6551
  }>;
@@ -6352,6 +6560,7 @@ declare const SubscribeIssueEventsRpc: Rpc.Rpc<"pan.subscribeIssueEvents", Schem
6352
6560
  readonly message: Schema.String;
6353
6561
  readonly details: Schema.optional<Schema.String>;
6354
6562
  readonly issueId: Schema.optional<Schema.String>;
6563
+ readonly workspaceId: Schema.optional<Schema.String>;
6355
6564
  readonly triggeringEvent: Schema.optional<Schema.String>;
6356
6565
  }>;
6357
6566
  }>, Schema.Struct<{
@@ -6363,6 +6572,7 @@ declare const SubscribeIssueEventsRpc: Rpc.Rpc<"pan.subscribeIssueEvents", Schem
6363
6572
  readonly utterance: Schema.String;
6364
6573
  readonly priority: Schema.optional<Schema.Number>;
6365
6574
  readonly issueId: Schema.optional<Schema.String>;
6575
+ readonly workspaceId: Schema.optional<Schema.String>;
6366
6576
  readonly source: Schema.optional<Schema.String>;
6367
6577
  readonly eventType: Schema.optional<Schema.String>;
6368
6578
  }>;
@@ -6372,6 +6582,7 @@ declare const SubscribeIssueEventsRpc: Rpc.Rpc<"pan.subscribeIssueEvents", Schem
6372
6582
  readonly timestamp: Schema.String;
6373
6583
  readonly payload: Schema.Struct<{
6374
6584
  readonly issueId: Schema.String;
6585
+ readonly workspaceId: Schema.optional<Schema.String>;
6375
6586
  readonly content: Schema.String;
6376
6587
  }>;
6377
6588
  }>, Schema.Struct<{
@@ -6384,10 +6595,10 @@ declare const SubscribeIssueEventsRpc: Rpc.Rpc<"pan.subscribeIssueEvents", Schem
6384
6595
  readonly timestamp: Schema.String;
6385
6596
  readonly projectId: Schema.String;
6386
6597
  readonly workspaceId: Schema.String;
6387
- readonly issueId: Schema.String;
6598
+ readonly issueId: Schema.NullOr<Schema.String>;
6388
6599
  readonly runId: Schema.String;
6389
6600
  readonly sessionId: Schema.String;
6390
- readonly agentRole: Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge"]>;
6601
+ readonly agentRole: Schema.Union<readonly [Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge"]>, Schema.Literal<"conversation">]>;
6391
6602
  readonly agentHarness: Schema.String;
6392
6603
  readonly gitBranch: Schema.String;
6393
6604
  readonly sourceTranscriptOffset: Schema.Number;
@@ -6476,6 +6687,7 @@ declare const SubscribeIssueEventsRpc: Rpc.Rpc<"pan.subscribeIssueEvents", Schem
6476
6687
  readonly payload: Schema.Struct<{
6477
6688
  readonly projectId: Schema.String;
6478
6689
  readonly issueId: Schema.String;
6690
+ readonly workspaceId: Schema.optional<Schema.String>;
6479
6691
  readonly status: Schema.Literals<readonly ["healthy", "degraded", "failing"]>;
6480
6692
  readonly reason: Schema.NullOr<Schema.String>;
6481
6693
  readonly detail: Schema.optional<Schema.String>;
@@ -6485,10 +6697,10 @@ declare const SubscribeIssueEventsRpc: Rpc.Rpc<"pan.subscribeIssueEvents", Schem
6485
6697
  readonly identity: Schema.Struct<{
6486
6698
  readonly projectId: Schema.String;
6487
6699
  readonly workspaceId: Schema.String;
6488
- readonly issueId: Schema.String;
6700
+ readonly issueId: Schema.NullOr<Schema.String>;
6489
6701
  readonly runId: Schema.String;
6490
6702
  readonly sessionId: Schema.String;
6491
- readonly agentRole: Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge"]>;
6703
+ readonly agentRole: Schema.Union<readonly [Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge"]>, Schema.Literal<"conversation">]>;
6492
6704
  readonly agentHarness: Schema.String;
6493
6705
  }>;
6494
6706
  readonly surface: Schema.Literals<readonly ["spawn", "user-prompt"]>;
@@ -6519,6 +6731,7 @@ declare const SubscribeIssueEventsRpc: Rpc.Rpc<"pan.subscribeIssueEvents", Schem
6519
6731
  readonly payload: Schema.Struct<{
6520
6732
  readonly agentId: Schema.String;
6521
6733
  readonly issueId: Schema.String;
6734
+ readonly workspaceId: Schema.optional<Schema.String>;
6522
6735
  readonly cost: Schema.Number;
6523
6736
  readonly inputTokens: Schema.Number;
6524
6737
  readonly outputTokens: Schema.Number;
@@ -6529,6 +6742,7 @@ declare const SubscribeIssueEventsRpc: Rpc.Rpc<"pan.subscribeIssueEvents", Schem
6529
6742
  readonly timestamp: Schema.String;
6530
6743
  readonly payload: Schema.Struct<{
6531
6744
  readonly issueId: Schema.String;
6745
+ readonly workspaceId: Schema.optional<Schema.String>;
6532
6746
  readonly workspacePath: Schema.String;
6533
6747
  }>;
6534
6748
  }>, Schema.Struct<{
@@ -6537,6 +6751,7 @@ declare const SubscribeIssueEventsRpc: Rpc.Rpc<"pan.subscribeIssueEvents", Schem
6537
6751
  readonly timestamp: Schema.String;
6538
6752
  readonly payload: Schema.Struct<{
6539
6753
  readonly issueId: Schema.String;
6754
+ readonly workspaceId: Schema.optional<Schema.String>;
6540
6755
  }>;
6541
6756
  }>, Schema.Struct<{
6542
6757
  readonly type: Schema.Literal<"workspace.destroyed">;
@@ -6544,6 +6759,7 @@ declare const SubscribeIssueEventsRpc: Rpc.Rpc<"pan.subscribeIssueEvents", Schem
6544
6759
  readonly timestamp: Schema.String;
6545
6760
  readonly payload: Schema.Struct<{
6546
6761
  readonly issueId: Schema.String;
6762
+ readonly workspaceId: Schema.optional<Schema.String>;
6547
6763
  }>;
6548
6764
  }>, Schema.Struct<{
6549
6765
  readonly type: Schema.Literal<"workspace.deleted">;
@@ -6551,6 +6767,7 @@ declare const SubscribeIssueEventsRpc: Rpc.Rpc<"pan.subscribeIssueEvents", Schem
6551
6767
  readonly timestamp: Schema.String;
6552
6768
  readonly payload: Schema.Struct<{
6553
6769
  readonly issueId: Schema.String;
6770
+ readonly workspaceId: Schema.optional<Schema.String>;
6554
6771
  }>;
6555
6772
  }>, Schema.Struct<{
6556
6773
  readonly type: Schema.Literal<"workspace.aborted">;
@@ -6558,6 +6775,7 @@ declare const SubscribeIssueEventsRpc: Rpc.Rpc<"pan.subscribeIssueEvents", Schem
6558
6775
  readonly timestamp: Schema.String;
6559
6776
  readonly payload: Schema.Struct<{
6560
6777
  readonly issueId: Schema.String;
6778
+ readonly workspaceId: Schema.optional<Schema.String>;
6561
6779
  readonly sessionName: Schema.optional<Schema.String>;
6562
6780
  }>;
6563
6781
  }>, Schema.Struct<{
@@ -6567,6 +6785,7 @@ declare const SubscribeIssueEventsRpc: Rpc.Rpc<"pan.subscribeIssueEvents", Schem
6567
6785
  readonly payload: Schema.Struct<{
6568
6786
  readonly reason: Schema.String;
6569
6787
  readonly issueId: Schema.optional<Schema.String>;
6788
+ readonly workspaceId: Schema.optional<Schema.String>;
6570
6789
  readonly trigger: Schema.String;
6571
6790
  }>;
6572
6791
  }>, Schema.Struct<{
@@ -6576,6 +6795,7 @@ declare const SubscribeIssueEventsRpc: Rpc.Rpc<"pan.subscribeIssueEvents", Schem
6576
6795
  readonly payload: Schema.Struct<{
6577
6796
  readonly reason: Schema.String;
6578
6797
  readonly issueId: Schema.optional<Schema.String>;
6798
+ readonly workspaceId: Schema.optional<Schema.String>;
6579
6799
  readonly durationMs: Schema.Number;
6580
6800
  }>;
6581
6801
  }>, Schema.Struct<{
@@ -6585,6 +6805,7 @@ declare const SubscribeIssueEventsRpc: Rpc.Rpc<"pan.subscribeIssueEvents", Schem
6585
6805
  readonly payload: Schema.Struct<{
6586
6806
  readonly reason: Schema.String;
6587
6807
  readonly issueId: Schema.optional<Schema.String>;
6808
+ readonly workspaceId: Schema.optional<Schema.String>;
6588
6809
  readonly error: Schema.String;
6589
6810
  }>;
6590
6811
  }>, Schema.Struct<{
@@ -6924,6 +7145,7 @@ declare const ReplayEventsRpc: Rpc.Rpc<"pan.replayEvents", Schema.Struct<{
6924
7145
  readonly payload: Schema.Struct<{
6925
7146
  readonly agentId: Schema.String;
6926
7147
  readonly issueId: Schema.String;
7148
+ readonly workspaceId: Schema.optional<Schema.String>;
6927
7149
  readonly agent: Schema.Struct<{
6928
7150
  readonly id: Schema.String;
6929
7151
  readonly issueId: Schema.String;
@@ -6989,6 +7211,8 @@ declare const ReplayEventsRpc: Rpc.Rpc<"pan.replayEvents", Schema.Struct<{
6989
7211
  readonly timestamp: Schema.String;
6990
7212
  readonly payload: Schema.Struct<{
6991
7213
  readonly agentId: Schema.String;
7214
+ readonly issueId: Schema.optional<Schema.String>;
7215
+ readonly workspaceId: Schema.optional<Schema.String>;
6992
7216
  readonly role: Schema.optional<Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge"]>>;
6993
7217
  readonly hasPendingQuestion: Schema.optional<Schema.Boolean>;
6994
7218
  readonly pendingQuestionCount: Schema.optional<Schema.Number>;
@@ -7024,6 +7248,7 @@ declare const ReplayEventsRpc: Rpc.Rpc<"pan.replayEvents", Schema.Struct<{
7024
7248
  readonly payload: Schema.Struct<{
7025
7249
  readonly agentId: Schema.String;
7026
7250
  readonly issueId: Schema.String;
7251
+ readonly workspaceId: Schema.optional<Schema.String>;
7027
7252
  readonly agent: Schema.Struct<{
7028
7253
  readonly id: Schema.String;
7029
7254
  readonly issueId: Schema.String;
@@ -7090,6 +7315,7 @@ declare const ReplayEventsRpc: Rpc.Rpc<"pan.replayEvents", Schema.Struct<{
7090
7315
  readonly payload: Schema.Struct<{
7091
7316
  readonly agentId: Schema.String;
7092
7317
  readonly issueId: Schema.String;
7318
+ readonly workspaceId: Schema.optional<Schema.String>;
7093
7319
  readonly sessionId: Schema.optional<Schema.String>;
7094
7320
  }>;
7095
7321
  }>, Schema.Struct<{
@@ -7099,6 +7325,7 @@ declare const ReplayEventsRpc: Rpc.Rpc<"pan.replayEvents", Schema.Struct<{
7099
7325
  readonly payload: Schema.Struct<{
7100
7326
  readonly agentId: Schema.String;
7101
7327
  readonly issueId: Schema.optional<Schema.String>;
7328
+ readonly workspaceId: Schema.optional<Schema.String>;
7102
7329
  readonly sessionId: Schema.optional<Schema.String>;
7103
7330
  }>;
7104
7331
  }>, Schema.Struct<{
@@ -7107,6 +7334,7 @@ declare const ReplayEventsRpc: Rpc.Rpc<"pan.replayEvents", Schema.Struct<{
7107
7334
  readonly timestamp: Schema.String;
7108
7335
  readonly payload: Schema.Struct<{
7109
7336
  readonly issueId: Schema.String;
7337
+ readonly workspaceId: Schema.optional<Schema.String>;
7110
7338
  readonly agentId: Schema.optional<Schema.String>;
7111
7339
  }>;
7112
7340
  }>, Schema.Struct<{
@@ -7115,6 +7343,7 @@ declare const ReplayEventsRpc: Rpc.Rpc<"pan.replayEvents", Schema.Struct<{
7115
7343
  readonly timestamp: Schema.String;
7116
7344
  readonly payload: Schema.Struct<{
7117
7345
  readonly issueId: Schema.String;
7346
+ readonly workspaceId: Schema.optional<Schema.String>;
7118
7347
  readonly agentId: Schema.optional<Schema.String>;
7119
7348
  readonly role: Schema.optional<Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge"]>>;
7120
7349
  }>;
@@ -7124,6 +7353,7 @@ declare const ReplayEventsRpc: Rpc.Rpc<"pan.replayEvents", Schema.Struct<{
7124
7353
  readonly timestamp: Schema.String;
7125
7354
  readonly payload: Schema.Struct<{
7126
7355
  readonly issueId: Schema.String;
7356
+ readonly workspaceId: Schema.optional<Schema.String>;
7127
7357
  }>;
7128
7358
  }>, Schema.Struct<{
7129
7359
  readonly type: Schema.Literal<"test.passed">;
@@ -7131,6 +7361,7 @@ declare const ReplayEventsRpc: Rpc.Rpc<"pan.replayEvents", Schema.Struct<{
7131
7361
  readonly timestamp: Schema.String;
7132
7362
  readonly payload: Schema.Struct<{
7133
7363
  readonly issueId: Schema.String;
7364
+ readonly workspaceId: Schema.optional<Schema.String>;
7134
7365
  }>;
7135
7366
  }>, Schema.Struct<{
7136
7367
  readonly type: Schema.Literal<"agent.status_changed">;
@@ -7139,6 +7370,7 @@ declare const ReplayEventsRpc: Rpc.Rpc<"pan.replayEvents", Schema.Struct<{
7139
7370
  readonly payload: Schema.Struct<{
7140
7371
  readonly agentId: Schema.String;
7141
7372
  readonly issueId: Schema.optional<Schema.String>;
7373
+ readonly workspaceId: Schema.optional<Schema.String>;
7142
7374
  readonly status: Schema.Literals<readonly ["starting", "running", "stopped", "error", "unknown"]>;
7143
7375
  readonly previousStatus: Schema.optional<Schema.Literals<readonly ["starting", "running", "stopped", "error", "unknown"]>>;
7144
7376
  readonly hasLiveTmuxSession: Schema.optional<Schema.Boolean>;
@@ -7252,6 +7484,7 @@ declare const ReplayEventsRpc: Rpc.Rpc<"pan.replayEvents", Schema.Struct<{
7252
7484
  readonly requestId: Schema.String;
7253
7485
  readonly agentId: Schema.String;
7254
7486
  readonly issueId: Schema.optional<Schema.String>;
7487
+ readonly workspaceId: Schema.optional<Schema.String>;
7255
7488
  readonly behavior: Schema.Literals<readonly ["allow", "deny"]>;
7256
7489
  }>;
7257
7490
  }>, Schema.Struct<{
@@ -7382,6 +7615,7 @@ declare const ReplayEventsRpc: Rpc.Rpc<"pan.replayEvents", Schema.Struct<{
7382
7615
  readonly timestamp: Schema.String;
7383
7616
  readonly payload: Schema.Struct<{
7384
7617
  readonly issueId: Schema.String;
7618
+ readonly workspaceId: Schema.optional<Schema.String>;
7385
7619
  readonly sessionName: Schema.String;
7386
7620
  readonly harness: Schema.optional<Schema.String>;
7387
7621
  }>;
@@ -7391,6 +7625,7 @@ declare const ReplayEventsRpc: Rpc.Rpc<"pan.replayEvents", Schema.Struct<{
7391
7625
  readonly timestamp: Schema.String;
7392
7626
  readonly payload: Schema.Struct<{
7393
7627
  readonly issueId: Schema.String;
7628
+ readonly workspaceId: Schema.optional<Schema.String>;
7394
7629
  readonly error: Schema.String;
7395
7630
  }>;
7396
7631
  }>, Schema.Struct<{
@@ -7399,6 +7634,7 @@ declare const ReplayEventsRpc: Rpc.Rpc<"pan.replayEvents", Schema.Struct<{
7399
7634
  readonly timestamp: Schema.String;
7400
7635
  readonly payload: Schema.Struct<{
7401
7636
  readonly issueId: Schema.String;
7637
+ readonly workspaceId: Schema.optional<Schema.String>;
7402
7638
  readonly status: Schema.String;
7403
7639
  readonly progress: Schema.optional<Schema.Number>;
7404
7640
  readonly message: Schema.optional<Schema.String>;
@@ -7409,6 +7645,7 @@ declare const ReplayEventsRpc: Rpc.Rpc<"pan.replayEvents", Schema.Struct<{
7409
7645
  readonly timestamp: Schema.String;
7410
7646
  readonly payload: Schema.Struct<{
7411
7647
  readonly issueId: Schema.String;
7648
+ readonly workspaceId: Schema.optional<Schema.String>;
7412
7649
  readonly itemId: Schema.String;
7413
7650
  readonly status: Schema.String;
7414
7651
  }>;
@@ -7418,6 +7655,7 @@ declare const ReplayEventsRpc: Rpc.Rpc<"pan.replayEvents", Schema.Struct<{
7418
7655
  readonly timestamp: Schema.String;
7419
7656
  readonly payload: Schema.Struct<{
7420
7657
  readonly issueId: Schema.String;
7658
+ readonly workspaceId: Schema.optional<Schema.String>;
7421
7659
  readonly itemId: Schema.String;
7422
7660
  readonly subItemId: Schema.String;
7423
7661
  readonly status: Schema.String;
@@ -7428,6 +7666,7 @@ declare const ReplayEventsRpc: Rpc.Rpc<"pan.replayEvents", Schema.Struct<{
7428
7666
  readonly timestamp: Schema.String;
7429
7667
  readonly payload: Schema.Struct<{
7430
7668
  readonly issueId: Schema.String;
7669
+ readonly workspaceId: Schema.optional<Schema.String>;
7431
7670
  readonly items: Schema.$Array<Schema.String>;
7432
7671
  }>;
7433
7672
  }>, Schema.Struct<{
@@ -7436,6 +7675,7 @@ declare const ReplayEventsRpc: Rpc.Rpc<"pan.replayEvents", Schema.Struct<{
7436
7675
  readonly timestamp: Schema.String;
7437
7676
  readonly payload: Schema.Struct<{
7438
7677
  readonly issueId: Schema.String;
7678
+ readonly workspaceId: Schema.optional<Schema.String>;
7439
7679
  readonly status: Schema.Struct<{
7440
7680
  readonly issueId: Schema.String;
7441
7681
  readonly reviewStatus: Schema.optional<Schema.Literals<readonly ["pending", "reviewing", "passed", "failed", "blocked", "skipped"]>>;
@@ -7495,6 +7735,7 @@ declare const ReplayEventsRpc: Rpc.Rpc<"pan.replayEvents", Schema.Struct<{
7495
7735
  readonly timestamp: Schema.String;
7496
7736
  readonly payload: Schema.Struct<{
7497
7737
  readonly issueId: Schema.String;
7738
+ readonly workspaceId: Schema.optional<Schema.String>;
7498
7739
  }>;
7499
7740
  }>, Schema.Struct<{
7500
7741
  readonly type: Schema.Literal<"review.status_changed">;
@@ -7502,6 +7743,7 @@ declare const ReplayEventsRpc: Rpc.Rpc<"pan.replayEvents", Schema.Struct<{
7502
7743
  readonly timestamp: Schema.String;
7503
7744
  readonly payload: Schema.Struct<{
7504
7745
  readonly issueId: Schema.String;
7746
+ readonly workspaceId: Schema.optional<Schema.String>;
7505
7747
  readonly status: Schema.Struct<{
7506
7748
  readonly issueId: Schema.String;
7507
7749
  readonly reviewStatus: Schema.optional<Schema.Literals<readonly ["pending", "reviewing", "passed", "failed", "blocked", "skipped"]>>;
@@ -7561,6 +7803,7 @@ declare const ReplayEventsRpc: Rpc.Rpc<"pan.replayEvents", Schema.Struct<{
7561
7803
  readonly timestamp: Schema.String;
7562
7804
  readonly payload: Schema.Struct<{
7563
7805
  readonly issueId: Schema.String;
7806
+ readonly workspaceId: Schema.optional<Schema.String>;
7564
7807
  }>;
7565
7808
  }>, Schema.Struct<{
7566
7809
  readonly type: Schema.Literal<"pipeline.review-completed">;
@@ -7568,6 +7811,7 @@ declare const ReplayEventsRpc: Rpc.Rpc<"pan.replayEvents", Schema.Struct<{
7568
7811
  readonly timestamp: Schema.String;
7569
7812
  readonly payload: Schema.Struct<{
7570
7813
  readonly issueId: Schema.String;
7814
+ readonly workspaceId: Schema.optional<Schema.String>;
7571
7815
  readonly passed: Schema.Boolean;
7572
7816
  }>;
7573
7817
  }>, Schema.Struct<{
@@ -7576,6 +7820,7 @@ declare const ReplayEventsRpc: Rpc.Rpc<"pan.replayEvents", Schema.Struct<{
7576
7820
  readonly timestamp: Schema.String;
7577
7821
  readonly payload: Schema.Struct<{
7578
7822
  readonly issueId: Schema.String;
7823
+ readonly workspaceId: Schema.optional<Schema.String>;
7579
7824
  }>;
7580
7825
  }>, Schema.Struct<{
7581
7826
  readonly type: Schema.Literal<"pipeline.test-completed">;
@@ -7583,6 +7828,7 @@ declare const ReplayEventsRpc: Rpc.Rpc<"pan.replayEvents", Schema.Struct<{
7583
7828
  readonly timestamp: Schema.String;
7584
7829
  readonly payload: Schema.Struct<{
7585
7830
  readonly issueId: Schema.String;
7831
+ readonly workspaceId: Schema.optional<Schema.String>;
7586
7832
  readonly passed: Schema.Boolean;
7587
7833
  }>;
7588
7834
  }>, Schema.Struct<{
@@ -7591,6 +7837,7 @@ declare const ReplayEventsRpc: Rpc.Rpc<"pan.replayEvents", Schema.Struct<{
7591
7837
  readonly timestamp: Schema.String;
7592
7838
  readonly payload: Schema.Struct<{
7593
7839
  readonly issueId: Schema.String;
7840
+ readonly workspaceId: Schema.optional<Schema.String>;
7594
7841
  }>;
7595
7842
  }>, Schema.Struct<{
7596
7843
  readonly type: Schema.Literal<"pipeline.verification-failed">;
@@ -7598,6 +7845,7 @@ declare const ReplayEventsRpc: Rpc.Rpc<"pan.replayEvents", Schema.Struct<{
7598
7845
  readonly timestamp: Schema.String;
7599
7846
  readonly payload: Schema.Struct<{
7600
7847
  readonly issueId: Schema.String;
7848
+ readonly workspaceId: Schema.optional<Schema.String>;
7601
7849
  readonly failedCheck: Schema.optional<Schema.String>;
7602
7850
  readonly message: Schema.optional<Schema.String>;
7603
7851
  }>;
@@ -7607,6 +7855,7 @@ declare const ReplayEventsRpc: Rpc.Rpc<"pan.replayEvents", Schema.Struct<{
7607
7855
  readonly timestamp: Schema.String;
7608
7856
  readonly payload: Schema.Struct<{
7609
7857
  readonly issueId: Schema.String;
7858
+ readonly workspaceId: Schema.optional<Schema.String>;
7610
7859
  readonly state: Schema.String;
7611
7860
  }>;
7612
7861
  }>, Schema.Struct<{
@@ -7615,6 +7864,7 @@ declare const ReplayEventsRpc: Rpc.Rpc<"pan.replayEvents", Schema.Struct<{
7615
7864
  readonly timestamp: Schema.String;
7616
7865
  readonly payload: Schema.Struct<{
7617
7866
  readonly issueId: Schema.String;
7867
+ readonly workspaceId: Schema.optional<Schema.String>;
7618
7868
  readonly kind: Schema.Literals<readonly ["tell", "pause", "restart", "manual_edit", "deep_wipe", "unpause", "untroubled"]>;
7619
7869
  readonly source: Schema.String;
7620
7870
  }>;
@@ -7661,6 +7911,7 @@ declare const ReplayEventsRpc: Rpc.Rpc<"pan.replayEvents", Schema.Struct<{
7661
7911
  readonly timestamp: Schema.String;
7662
7912
  readonly payload: Schema.Struct<{
7663
7913
  readonly issueId: Schema.String;
7914
+ readonly workspaceId: Schema.optional<Schema.String>;
7664
7915
  readonly runId: Schema.optional<Schema.String>;
7665
7916
  readonly filedBy: Schema.Literals<readonly ["agent", "operator"]>;
7666
7917
  readonly discoveredIn: Schema.optional<Schema.String>;
@@ -7672,6 +7923,7 @@ declare const ReplayEventsRpc: Rpc.Rpc<"pan.replayEvents", Schema.Struct<{
7672
7923
  readonly timestamp: Schema.String;
7673
7924
  readonly payload: Schema.Struct<{
7674
7925
  readonly issueId: Schema.String;
7926
+ readonly workspaceId: Schema.optional<Schema.String>;
7675
7927
  readonly role: Schema.String;
7676
7928
  readonly sessionName: Schema.String;
7677
7929
  }>;
@@ -7681,6 +7933,7 @@ declare const ReplayEventsRpc: Rpc.Rpc<"pan.replayEvents", Schema.Struct<{
7681
7933
  readonly timestamp: Schema.String;
7682
7934
  readonly payload: Schema.Struct<{
7683
7935
  readonly issueId: Schema.String;
7936
+ readonly workspaceId: Schema.optional<Schema.String>;
7684
7937
  readonly role: Schema.String;
7685
7938
  }>;
7686
7939
  }>, Schema.Struct<{
@@ -7689,6 +7942,7 @@ declare const ReplayEventsRpc: Rpc.Rpc<"pan.replayEvents", Schema.Struct<{
7689
7942
  readonly timestamp: Schema.String;
7690
7943
  readonly payload: Schema.Struct<{
7691
7944
  readonly issueId: Schema.String;
7945
+ readonly workspaceId: Schema.optional<Schema.String>;
7692
7946
  readonly role: Schema.String;
7693
7947
  readonly sessionName: Schema.String;
7694
7948
  readonly attempt: Schema.Number;
@@ -7701,6 +7955,7 @@ declare const ReplayEventsRpc: Rpc.Rpc<"pan.replayEvents", Schema.Struct<{
7701
7955
  readonly timestamp: Schema.String;
7702
7956
  readonly payload: Schema.Struct<{
7703
7957
  readonly issueId: Schema.String;
7958
+ readonly workspaceId: Schema.optional<Schema.String>;
7704
7959
  readonly sessionName: Schema.String;
7705
7960
  }>;
7706
7961
  }>, Schema.Struct<{
@@ -7709,6 +7964,7 @@ declare const ReplayEventsRpc: Rpc.Rpc<"pan.replayEvents", Schema.Struct<{
7709
7964
  readonly timestamp: Schema.String;
7710
7965
  readonly payload: Schema.Struct<{
7711
7966
  readonly issueId: Schema.String;
7967
+ readonly workspaceId: Schema.optional<Schema.String>;
7712
7968
  readonly sessionName: Schema.String;
7713
7969
  readonly reason: Schema.String;
7714
7970
  }>;
@@ -7730,6 +7986,7 @@ declare const ReplayEventsRpc: Rpc.Rpc<"pan.replayEvents", Schema.Struct<{
7730
7986
  readonly payload: Schema.Struct<{
7731
7987
  readonly name: Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge"]>;
7732
7988
  readonly issueId: Schema.optional<Schema.String>;
7989
+ readonly workspaceId: Schema.optional<Schema.String>;
7733
7990
  }>;
7734
7991
  }>, Schema.Struct<{
7735
7992
  readonly type: Schema.Literal<"specialist.failed">;
@@ -7738,6 +7995,7 @@ declare const ReplayEventsRpc: Rpc.Rpc<"pan.replayEvents", Schema.Struct<{
7738
7995
  readonly payload: Schema.Struct<{
7739
7996
  readonly name: Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge"]>;
7740
7997
  readonly issueId: Schema.optional<Schema.String>;
7998
+ readonly workspaceId: Schema.optional<Schema.String>;
7741
7999
  readonly error: Schema.String;
7742
8000
  }>;
7743
8001
  }>, Schema.Struct<{
@@ -7783,6 +8041,7 @@ declare const ReplayEventsRpc: Rpc.Rpc<"pan.replayEvents", Schema.Struct<{
7783
8041
  readonly timestamp: Schema.String;
7784
8042
  readonly payload: Schema.Struct<{
7785
8043
  readonly issueId: Schema.optional<Schema.String>;
8044
+ readonly workspaceId: Schema.optional<Schema.String>;
7786
8045
  }>;
7787
8046
  }>, Schema.Struct<{
7788
8047
  readonly type: Schema.Literal<"issue.statusChanged">;
@@ -7790,6 +8049,7 @@ declare const ReplayEventsRpc: Rpc.Rpc<"pan.replayEvents", Schema.Struct<{
7790
8049
  readonly timestamp: Schema.String;
7791
8050
  readonly payload: Schema.Struct<{
7792
8051
  readonly issueId: Schema.String;
8052
+ readonly workspaceId: Schema.optional<Schema.String>;
7793
8053
  readonly status: Schema.String;
7794
8054
  readonly canonicalStatus: Schema.String;
7795
8055
  readonly labels: Schema.optional<Schema.$Array<Schema.String>>;
@@ -7815,6 +8075,7 @@ declare const ReplayEventsRpc: Rpc.Rpc<"pan.replayEvents", Schema.Struct<{
7815
8075
  readonly details: Schema.optional<Schema.String>;
7816
8076
  readonly output: Schema.optional<Schema.String>;
7817
8077
  readonly issueId: Schema.optional<Schema.String>;
8078
+ readonly workspaceId: Schema.optional<Schema.String>;
7818
8079
  readonly link: Schema.optional<Schema.String>;
7819
8080
  readonly desktop: Schema.optional<Schema.Boolean>;
7820
8081
  }>;
@@ -7829,6 +8090,7 @@ declare const ReplayEventsRpc: Rpc.Rpc<"pan.replayEvents", Schema.Struct<{
7829
8090
  readonly message: Schema.String;
7830
8091
  readonly details: Schema.optional<Schema.String>;
7831
8092
  readonly issueId: Schema.optional<Schema.String>;
8093
+ readonly workspaceId: Schema.optional<Schema.String>;
7832
8094
  readonly triggeringEvent: Schema.optional<Schema.String>;
7833
8095
  }>;
7834
8096
  }>, Schema.Struct<{
@@ -7840,6 +8102,7 @@ declare const ReplayEventsRpc: Rpc.Rpc<"pan.replayEvents", Schema.Struct<{
7840
8102
  readonly utterance: Schema.String;
7841
8103
  readonly priority: Schema.optional<Schema.Number>;
7842
8104
  readonly issueId: Schema.optional<Schema.String>;
8105
+ readonly workspaceId: Schema.optional<Schema.String>;
7843
8106
  readonly source: Schema.optional<Schema.String>;
7844
8107
  readonly eventType: Schema.optional<Schema.String>;
7845
8108
  }>;
@@ -7849,6 +8112,7 @@ declare const ReplayEventsRpc: Rpc.Rpc<"pan.replayEvents", Schema.Struct<{
7849
8112
  readonly timestamp: Schema.String;
7850
8113
  readonly payload: Schema.Struct<{
7851
8114
  readonly issueId: Schema.String;
8115
+ readonly workspaceId: Schema.optional<Schema.String>;
7852
8116
  readonly content: Schema.String;
7853
8117
  }>;
7854
8118
  }>, Schema.Struct<{
@@ -7861,10 +8125,10 @@ declare const ReplayEventsRpc: Rpc.Rpc<"pan.replayEvents", Schema.Struct<{
7861
8125
  readonly timestamp: Schema.String;
7862
8126
  readonly projectId: Schema.String;
7863
8127
  readonly workspaceId: Schema.String;
7864
- readonly issueId: Schema.String;
8128
+ readonly issueId: Schema.NullOr<Schema.String>;
7865
8129
  readonly runId: Schema.String;
7866
8130
  readonly sessionId: Schema.String;
7867
- readonly agentRole: Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge"]>;
8131
+ readonly agentRole: Schema.Union<readonly [Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge"]>, Schema.Literal<"conversation">]>;
7868
8132
  readonly agentHarness: Schema.String;
7869
8133
  readonly gitBranch: Schema.String;
7870
8134
  readonly sourceTranscriptOffset: Schema.Number;
@@ -7953,6 +8217,7 @@ declare const ReplayEventsRpc: Rpc.Rpc<"pan.replayEvents", Schema.Struct<{
7953
8217
  readonly payload: Schema.Struct<{
7954
8218
  readonly projectId: Schema.String;
7955
8219
  readonly issueId: Schema.String;
8220
+ readonly workspaceId: Schema.optional<Schema.String>;
7956
8221
  readonly status: Schema.Literals<readonly ["healthy", "degraded", "failing"]>;
7957
8222
  readonly reason: Schema.NullOr<Schema.String>;
7958
8223
  readonly detail: Schema.optional<Schema.String>;
@@ -7962,10 +8227,10 @@ declare const ReplayEventsRpc: Rpc.Rpc<"pan.replayEvents", Schema.Struct<{
7962
8227
  readonly identity: Schema.Struct<{
7963
8228
  readonly projectId: Schema.String;
7964
8229
  readonly workspaceId: Schema.String;
7965
- readonly issueId: Schema.String;
8230
+ readonly issueId: Schema.NullOr<Schema.String>;
7966
8231
  readonly runId: Schema.String;
7967
8232
  readonly sessionId: Schema.String;
7968
- readonly agentRole: Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge"]>;
8233
+ readonly agentRole: Schema.Union<readonly [Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge"]>, Schema.Literal<"conversation">]>;
7969
8234
  readonly agentHarness: Schema.String;
7970
8235
  }>;
7971
8236
  readonly surface: Schema.Literals<readonly ["spawn", "user-prompt"]>;
@@ -7996,6 +8261,7 @@ declare const ReplayEventsRpc: Rpc.Rpc<"pan.replayEvents", Schema.Struct<{
7996
8261
  readonly payload: Schema.Struct<{
7997
8262
  readonly agentId: Schema.String;
7998
8263
  readonly issueId: Schema.String;
8264
+ readonly workspaceId: Schema.optional<Schema.String>;
7999
8265
  readonly cost: Schema.Number;
8000
8266
  readonly inputTokens: Schema.Number;
8001
8267
  readonly outputTokens: Schema.Number;
@@ -8006,6 +8272,7 @@ declare const ReplayEventsRpc: Rpc.Rpc<"pan.replayEvents", Schema.Struct<{
8006
8272
  readonly timestamp: Schema.String;
8007
8273
  readonly payload: Schema.Struct<{
8008
8274
  readonly issueId: Schema.String;
8275
+ readonly workspaceId: Schema.optional<Schema.String>;
8009
8276
  readonly workspacePath: Schema.String;
8010
8277
  }>;
8011
8278
  }>, Schema.Struct<{
@@ -8014,6 +8281,7 @@ declare const ReplayEventsRpc: Rpc.Rpc<"pan.replayEvents", Schema.Struct<{
8014
8281
  readonly timestamp: Schema.String;
8015
8282
  readonly payload: Schema.Struct<{
8016
8283
  readonly issueId: Schema.String;
8284
+ readonly workspaceId: Schema.optional<Schema.String>;
8017
8285
  }>;
8018
8286
  }>, Schema.Struct<{
8019
8287
  readonly type: Schema.Literal<"workspace.destroyed">;
@@ -8021,6 +8289,7 @@ declare const ReplayEventsRpc: Rpc.Rpc<"pan.replayEvents", Schema.Struct<{
8021
8289
  readonly timestamp: Schema.String;
8022
8290
  readonly payload: Schema.Struct<{
8023
8291
  readonly issueId: Schema.String;
8292
+ readonly workspaceId: Schema.optional<Schema.String>;
8024
8293
  }>;
8025
8294
  }>, Schema.Struct<{
8026
8295
  readonly type: Schema.Literal<"workspace.deleted">;
@@ -8028,6 +8297,7 @@ declare const ReplayEventsRpc: Rpc.Rpc<"pan.replayEvents", Schema.Struct<{
8028
8297
  readonly timestamp: Schema.String;
8029
8298
  readonly payload: Schema.Struct<{
8030
8299
  readonly issueId: Schema.String;
8300
+ readonly workspaceId: Schema.optional<Schema.String>;
8031
8301
  }>;
8032
8302
  }>, Schema.Struct<{
8033
8303
  readonly type: Schema.Literal<"workspace.aborted">;
@@ -8035,6 +8305,7 @@ declare const ReplayEventsRpc: Rpc.Rpc<"pan.replayEvents", Schema.Struct<{
8035
8305
  readonly timestamp: Schema.String;
8036
8306
  readonly payload: Schema.Struct<{
8037
8307
  readonly issueId: Schema.String;
8308
+ readonly workspaceId: Schema.optional<Schema.String>;
8038
8309
  readonly sessionName: Schema.optional<Schema.String>;
8039
8310
  }>;
8040
8311
  }>, Schema.Struct<{
@@ -8044,6 +8315,7 @@ declare const ReplayEventsRpc: Rpc.Rpc<"pan.replayEvents", Schema.Struct<{
8044
8315
  readonly payload: Schema.Struct<{
8045
8316
  readonly reason: Schema.String;
8046
8317
  readonly issueId: Schema.optional<Schema.String>;
8318
+ readonly workspaceId: Schema.optional<Schema.String>;
8047
8319
  readonly trigger: Schema.String;
8048
8320
  }>;
8049
8321
  }>, Schema.Struct<{
@@ -8053,6 +8325,7 @@ declare const ReplayEventsRpc: Rpc.Rpc<"pan.replayEvents", Schema.Struct<{
8053
8325
  readonly payload: Schema.Struct<{
8054
8326
  readonly reason: Schema.String;
8055
8327
  readonly issueId: Schema.optional<Schema.String>;
8328
+ readonly workspaceId: Schema.optional<Schema.String>;
8056
8329
  readonly durationMs: Schema.Number;
8057
8330
  }>;
8058
8331
  }>, Schema.Struct<{
@@ -8062,6 +8335,7 @@ declare const ReplayEventsRpc: Rpc.Rpc<"pan.replayEvents", Schema.Struct<{
8062
8335
  readonly payload: Schema.Struct<{
8063
8336
  readonly reason: Schema.String;
8064
8337
  readonly issueId: Schema.optional<Schema.String>;
8338
+ readonly workspaceId: Schema.optional<Schema.String>;
8065
8339
  readonly error: Schema.String;
8066
8340
  }>;
8067
8341
  }>, Schema.Struct<{
@@ -8218,6 +8492,57 @@ declare const ReadWorkspaceFileRpc: Rpc.Rpc<"pan.readWorkspaceFile", Schema.Stru
8218
8492
  readonly truncated: Schema.Boolean;
8219
8493
  readonly totalLines: Schema.Number;
8220
8494
  }>, typeof PanRpcError, never, never>;
8495
+ declare const ReadFileAtPathInput: Schema.Struct<{
8496
+ readonly path: Schema.String;
8497
+ }>;
8498
+ type ReadFileAtPathInput = typeof ReadFileAtPathInput.Type;
8499
+ declare const ReadFileAtPathResult: Schema.Struct<{
8500
+ readonly text: Schema.String;
8501
+ readonly lang: Schema.String;
8502
+ readonly mtimeMs: Schema.Number;
8503
+ readonly totalLines: Schema.Number;
8504
+ }>;
8505
+ type ReadFileAtPathResult = typeof ReadFileAtPathResult.Type;
8506
+ /**
8507
+ * 10b-2. Read an allowlisted markdown file by absolute path (PAN-3260).
8508
+ *
8509
+ * Unlike ReadWorkspaceFileRpc this takes no issueId — the internal markdown
8510
+ * editor pane opens files reached from surfaces with no workspace context
8511
+ * (e.g. a repo-root file chip inside a conversation). The server validates
8512
+ * `path` against registered project roots + OVERDECK_HOME before reading.
8513
+ */
8514
+ declare const ReadFileAtPathRpc: Rpc.Rpc<"pan.readFileAtPath", Schema.Struct<{
8515
+ readonly path: Schema.String;
8516
+ }>, Schema.Struct<{
8517
+ readonly text: Schema.String;
8518
+ readonly lang: Schema.String;
8519
+ readonly mtimeMs: Schema.Number;
8520
+ readonly totalLines: Schema.Number;
8521
+ }>, typeof PanRpcError, never, never>;
8522
+ declare const WriteFileAtPathInput: Schema.Struct<{
8523
+ readonly path: Schema.String;
8524
+ readonly content: Schema.String;
8525
+ readonly expectedMtimeMs: Schema.optional<Schema.Number>;
8526
+ }>;
8527
+ type WriteFileAtPathInput = typeof WriteFileAtPathInput.Type;
8528
+ declare const WriteFileAtPathResult: Schema.Struct<{
8529
+ readonly mtimeMs: Schema.Number;
8530
+ }>;
8531
+ type WriteFileAtPathResult = typeof WriteFileAtPathResult.Type;
8532
+ /**
8533
+ * 10b-3. Write an allowlisted markdown file by absolute path (PAN-3260).
8534
+ *
8535
+ * `expectedMtimeMs` enables optimistic concurrency: a stale value is
8536
+ * rejected with a PanRpcError code of WRITE_CONFLICT and nothing is
8537
+ * written. Omitting it (e.g. an explicit Overwrite action) skips the check.
8538
+ */
8539
+ declare const WriteFileAtPathRpc: Rpc.Rpc<"pan.writeFileAtPath", Schema.Struct<{
8540
+ readonly path: Schema.String;
8541
+ readonly content: Schema.String;
8542
+ readonly expectedMtimeMs: Schema.optional<Schema.Number>;
8543
+ }>, Schema.Struct<{
8544
+ readonly mtimeMs: Schema.Number;
8545
+ }>, typeof PanRpcError, never, never>;
8221
8546
  /**
8222
8547
  * 10c. Resolve whether a file path candidate exists on disk (PAN-1457).
8223
8548
  *
@@ -8363,11 +8688,15 @@ declare const SubscribeConversationMessagesRpc: Rpc.Rpc<"pan.subscribeConversati
8363
8688
  declare const SubscribeProjectSessionTreeRpc: Rpc.Rpc<"pan.subscribeProjectSessionTree", Schema.Struct<{
8364
8689
  readonly projectKey: Schema.String;
8365
8690
  }>, _$effect_unstable_rpc_RpcSchema0.Stream<Schema.Struct<{
8366
- readonly kind: Schema.Literals<readonly ["session_added", "session_removed", "presence_changed", "status_changed"]>;
8691
+ readonly kind: Schema.Literals<readonly ["session_added", "session_removed", "presence_changed", "status_changed", "pending_input_changed"]>;
8367
8692
  readonly issueId: Schema.String;
8368
8693
  readonly sessionId: Schema.String;
8369
8694
  readonly presence: Schema.optional<Schema.Literals<readonly ["active", "idle", "suspended", "ended"]>>;
8370
8695
  readonly status: Schema.optional<Schema.Literals<readonly ["starting", "running", "stopped", "error", "unknown"]>>;
8696
+ readonly awaitingInput: Schema.optional<Schema.Boolean>;
8697
+ readonly awaitingInputPrompt: Schema.optional<Schema.String>;
8698
+ readonly awaitingInputReason: Schema.optional<Schema.String>;
8699
+ readonly pendingInputKinds: Schema.optional<Schema.$Array<Schema.String>>;
8371
8700
  readonly timestamp: Schema.String;
8372
8701
  }>, typeof PanRpcError>, Schema.Never, never, never>;
8373
8702
  /** 18. Subscribe to latest Flywheel status snapshots (stream) */
@@ -8376,7 +8705,7 @@ declare const SubscribeFlywheelStatusRpc: Rpc.Rpc<"pan.subscribeFlywheelStatus",
8376
8705
  readonly startedAt: Schema.String;
8377
8706
  readonly elapsedMs: Schema.Number;
8378
8707
  readonly orchestrator: Schema.Struct<{
8379
- readonly harness: Schema.Literals<readonly ["claude-code", "pi", "ohmypi", "codex", "acp"]>;
8708
+ readonly harness: Schema.Literals<readonly ["claude-code", "pi", "ohmypi", "codex", "acp", "kimi-code"]>;
8380
8709
  readonly model: Schema.String;
8381
8710
  readonly effort: Schema.Literals<readonly ["low", "medium", "high", "xhigh", "max"]>;
8382
8711
  readonly ctxPercent: Schema.Number;
@@ -8914,6 +9243,7 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
8914
9243
  readonly payload: Schema.Struct<{
8915
9244
  readonly agentId: Schema.String;
8916
9245
  readonly issueId: Schema.String;
9246
+ readonly workspaceId: Schema.optional<Schema.String>;
8917
9247
  readonly agent: Schema.Struct<{
8918
9248
  readonly id: Schema.String;
8919
9249
  readonly issueId: Schema.String;
@@ -8979,6 +9309,8 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
8979
9309
  readonly timestamp: Schema.String;
8980
9310
  readonly payload: Schema.Struct<{
8981
9311
  readonly agentId: Schema.String;
9312
+ readonly issueId: Schema.optional<Schema.String>;
9313
+ readonly workspaceId: Schema.optional<Schema.String>;
8982
9314
  readonly role: Schema.optional<Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge"]>>;
8983
9315
  readonly hasPendingQuestion: Schema.optional<Schema.Boolean>;
8984
9316
  readonly pendingQuestionCount: Schema.optional<Schema.Number>;
@@ -9014,6 +9346,7 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
9014
9346
  readonly payload: Schema.Struct<{
9015
9347
  readonly agentId: Schema.String;
9016
9348
  readonly issueId: Schema.String;
9349
+ readonly workspaceId: Schema.optional<Schema.String>;
9017
9350
  readonly agent: Schema.Struct<{
9018
9351
  readonly id: Schema.String;
9019
9352
  readonly issueId: Schema.String;
@@ -9080,6 +9413,7 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
9080
9413
  readonly payload: Schema.Struct<{
9081
9414
  readonly agentId: Schema.String;
9082
9415
  readonly issueId: Schema.String;
9416
+ readonly workspaceId: Schema.optional<Schema.String>;
9083
9417
  readonly sessionId: Schema.optional<Schema.String>;
9084
9418
  }>;
9085
9419
  }>, Schema.Struct<{
@@ -9089,6 +9423,7 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
9089
9423
  readonly payload: Schema.Struct<{
9090
9424
  readonly agentId: Schema.String;
9091
9425
  readonly issueId: Schema.optional<Schema.String>;
9426
+ readonly workspaceId: Schema.optional<Schema.String>;
9092
9427
  readonly sessionId: Schema.optional<Schema.String>;
9093
9428
  }>;
9094
9429
  }>, Schema.Struct<{
@@ -9097,6 +9432,7 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
9097
9432
  readonly timestamp: Schema.String;
9098
9433
  readonly payload: Schema.Struct<{
9099
9434
  readonly issueId: Schema.String;
9435
+ readonly workspaceId: Schema.optional<Schema.String>;
9100
9436
  readonly agentId: Schema.optional<Schema.String>;
9101
9437
  }>;
9102
9438
  }>, Schema.Struct<{
@@ -9105,6 +9441,7 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
9105
9441
  readonly timestamp: Schema.String;
9106
9442
  readonly payload: Schema.Struct<{
9107
9443
  readonly issueId: Schema.String;
9444
+ readonly workspaceId: Schema.optional<Schema.String>;
9108
9445
  readonly agentId: Schema.optional<Schema.String>;
9109
9446
  readonly role: Schema.optional<Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge"]>>;
9110
9447
  }>;
@@ -9114,6 +9451,7 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
9114
9451
  readonly timestamp: Schema.String;
9115
9452
  readonly payload: Schema.Struct<{
9116
9453
  readonly issueId: Schema.String;
9454
+ readonly workspaceId: Schema.optional<Schema.String>;
9117
9455
  }>;
9118
9456
  }>, Schema.Struct<{
9119
9457
  readonly type: Schema.Literal<"test.passed">;
@@ -9121,6 +9459,7 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
9121
9459
  readonly timestamp: Schema.String;
9122
9460
  readonly payload: Schema.Struct<{
9123
9461
  readonly issueId: Schema.String;
9462
+ readonly workspaceId: Schema.optional<Schema.String>;
9124
9463
  }>;
9125
9464
  }>, Schema.Struct<{
9126
9465
  readonly type: Schema.Literal<"agent.status_changed">;
@@ -9129,6 +9468,7 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
9129
9468
  readonly payload: Schema.Struct<{
9130
9469
  readonly agentId: Schema.String;
9131
9470
  readonly issueId: Schema.optional<Schema.String>;
9471
+ readonly workspaceId: Schema.optional<Schema.String>;
9132
9472
  readonly status: Schema.Literals<readonly ["starting", "running", "stopped", "error", "unknown"]>;
9133
9473
  readonly previousStatus: Schema.optional<Schema.Literals<readonly ["starting", "running", "stopped", "error", "unknown"]>>;
9134
9474
  readonly hasLiveTmuxSession: Schema.optional<Schema.Boolean>;
@@ -9242,6 +9582,7 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
9242
9582
  readonly requestId: Schema.String;
9243
9583
  readonly agentId: Schema.String;
9244
9584
  readonly issueId: Schema.optional<Schema.String>;
9585
+ readonly workspaceId: Schema.optional<Schema.String>;
9245
9586
  readonly behavior: Schema.Literals<readonly ["allow", "deny"]>;
9246
9587
  }>;
9247
9588
  }>, Schema.Struct<{
@@ -9372,6 +9713,7 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
9372
9713
  readonly timestamp: Schema.String;
9373
9714
  readonly payload: Schema.Struct<{
9374
9715
  readonly issueId: Schema.String;
9716
+ readonly workspaceId: Schema.optional<Schema.String>;
9375
9717
  readonly sessionName: Schema.String;
9376
9718
  readonly harness: Schema.optional<Schema.String>;
9377
9719
  }>;
@@ -9381,6 +9723,7 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
9381
9723
  readonly timestamp: Schema.String;
9382
9724
  readonly payload: Schema.Struct<{
9383
9725
  readonly issueId: Schema.String;
9726
+ readonly workspaceId: Schema.optional<Schema.String>;
9384
9727
  readonly error: Schema.String;
9385
9728
  }>;
9386
9729
  }>, Schema.Struct<{
@@ -9389,6 +9732,7 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
9389
9732
  readonly timestamp: Schema.String;
9390
9733
  readonly payload: Schema.Struct<{
9391
9734
  readonly issueId: Schema.String;
9735
+ readonly workspaceId: Schema.optional<Schema.String>;
9392
9736
  readonly status: Schema.String;
9393
9737
  readonly progress: Schema.optional<Schema.Number>;
9394
9738
  readonly message: Schema.optional<Schema.String>;
@@ -9399,6 +9743,7 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
9399
9743
  readonly timestamp: Schema.String;
9400
9744
  readonly payload: Schema.Struct<{
9401
9745
  readonly issueId: Schema.String;
9746
+ readonly workspaceId: Schema.optional<Schema.String>;
9402
9747
  readonly itemId: Schema.String;
9403
9748
  readonly status: Schema.String;
9404
9749
  }>;
@@ -9408,6 +9753,7 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
9408
9753
  readonly timestamp: Schema.String;
9409
9754
  readonly payload: Schema.Struct<{
9410
9755
  readonly issueId: Schema.String;
9756
+ readonly workspaceId: Schema.optional<Schema.String>;
9411
9757
  readonly itemId: Schema.String;
9412
9758
  readonly subItemId: Schema.String;
9413
9759
  readonly status: Schema.String;
@@ -9418,6 +9764,7 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
9418
9764
  readonly timestamp: Schema.String;
9419
9765
  readonly payload: Schema.Struct<{
9420
9766
  readonly issueId: Schema.String;
9767
+ readonly workspaceId: Schema.optional<Schema.String>;
9421
9768
  readonly items: Schema.$Array<Schema.String>;
9422
9769
  }>;
9423
9770
  }>, Schema.Struct<{
@@ -9426,6 +9773,7 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
9426
9773
  readonly timestamp: Schema.String;
9427
9774
  readonly payload: Schema.Struct<{
9428
9775
  readonly issueId: Schema.String;
9776
+ readonly workspaceId: Schema.optional<Schema.String>;
9429
9777
  readonly status: Schema.Struct<{
9430
9778
  readonly issueId: Schema.String;
9431
9779
  readonly reviewStatus: Schema.optional<Schema.Literals<readonly ["pending", "reviewing", "passed", "failed", "blocked", "skipped"]>>;
@@ -9485,6 +9833,7 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
9485
9833
  readonly timestamp: Schema.String;
9486
9834
  readonly payload: Schema.Struct<{
9487
9835
  readonly issueId: Schema.String;
9836
+ readonly workspaceId: Schema.optional<Schema.String>;
9488
9837
  }>;
9489
9838
  }>, Schema.Struct<{
9490
9839
  readonly type: Schema.Literal<"review.status_changed">;
@@ -9492,6 +9841,7 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
9492
9841
  readonly timestamp: Schema.String;
9493
9842
  readonly payload: Schema.Struct<{
9494
9843
  readonly issueId: Schema.String;
9844
+ readonly workspaceId: Schema.optional<Schema.String>;
9495
9845
  readonly status: Schema.Struct<{
9496
9846
  readonly issueId: Schema.String;
9497
9847
  readonly reviewStatus: Schema.optional<Schema.Literals<readonly ["pending", "reviewing", "passed", "failed", "blocked", "skipped"]>>;
@@ -9551,6 +9901,7 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
9551
9901
  readonly timestamp: Schema.String;
9552
9902
  readonly payload: Schema.Struct<{
9553
9903
  readonly issueId: Schema.String;
9904
+ readonly workspaceId: Schema.optional<Schema.String>;
9554
9905
  }>;
9555
9906
  }>, Schema.Struct<{
9556
9907
  readonly type: Schema.Literal<"pipeline.review-completed">;
@@ -9558,6 +9909,7 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
9558
9909
  readonly timestamp: Schema.String;
9559
9910
  readonly payload: Schema.Struct<{
9560
9911
  readonly issueId: Schema.String;
9912
+ readonly workspaceId: Schema.optional<Schema.String>;
9561
9913
  readonly passed: Schema.Boolean;
9562
9914
  }>;
9563
9915
  }>, Schema.Struct<{
@@ -9566,6 +9918,7 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
9566
9918
  readonly timestamp: Schema.String;
9567
9919
  readonly payload: Schema.Struct<{
9568
9920
  readonly issueId: Schema.String;
9921
+ readonly workspaceId: Schema.optional<Schema.String>;
9569
9922
  }>;
9570
9923
  }>, Schema.Struct<{
9571
9924
  readonly type: Schema.Literal<"pipeline.test-completed">;
@@ -9573,6 +9926,7 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
9573
9926
  readonly timestamp: Schema.String;
9574
9927
  readonly payload: Schema.Struct<{
9575
9928
  readonly issueId: Schema.String;
9929
+ readonly workspaceId: Schema.optional<Schema.String>;
9576
9930
  readonly passed: Schema.Boolean;
9577
9931
  }>;
9578
9932
  }>, Schema.Struct<{
@@ -9581,6 +9935,7 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
9581
9935
  readonly timestamp: Schema.String;
9582
9936
  readonly payload: Schema.Struct<{
9583
9937
  readonly issueId: Schema.String;
9938
+ readonly workspaceId: Schema.optional<Schema.String>;
9584
9939
  }>;
9585
9940
  }>, Schema.Struct<{
9586
9941
  readonly type: Schema.Literal<"pipeline.verification-failed">;
@@ -9588,6 +9943,7 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
9588
9943
  readonly timestamp: Schema.String;
9589
9944
  readonly payload: Schema.Struct<{
9590
9945
  readonly issueId: Schema.String;
9946
+ readonly workspaceId: Schema.optional<Schema.String>;
9591
9947
  readonly failedCheck: Schema.optional<Schema.String>;
9592
9948
  readonly message: Schema.optional<Schema.String>;
9593
9949
  }>;
@@ -9597,6 +9953,7 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
9597
9953
  readonly timestamp: Schema.String;
9598
9954
  readonly payload: Schema.Struct<{
9599
9955
  readonly issueId: Schema.String;
9956
+ readonly workspaceId: Schema.optional<Schema.String>;
9600
9957
  readonly state: Schema.String;
9601
9958
  }>;
9602
9959
  }>, Schema.Struct<{
@@ -9605,6 +9962,7 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
9605
9962
  readonly timestamp: Schema.String;
9606
9963
  readonly payload: Schema.Struct<{
9607
9964
  readonly issueId: Schema.String;
9965
+ readonly workspaceId: Schema.optional<Schema.String>;
9608
9966
  readonly kind: Schema.Literals<readonly ["tell", "pause", "restart", "manual_edit", "deep_wipe", "unpause", "untroubled"]>;
9609
9967
  readonly source: Schema.String;
9610
9968
  }>;
@@ -9651,6 +10009,7 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
9651
10009
  readonly timestamp: Schema.String;
9652
10010
  readonly payload: Schema.Struct<{
9653
10011
  readonly issueId: Schema.String;
10012
+ readonly workspaceId: Schema.optional<Schema.String>;
9654
10013
  readonly runId: Schema.optional<Schema.String>;
9655
10014
  readonly filedBy: Schema.Literals<readonly ["agent", "operator"]>;
9656
10015
  readonly discoveredIn: Schema.optional<Schema.String>;
@@ -9662,6 +10021,7 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
9662
10021
  readonly timestamp: Schema.String;
9663
10022
  readonly payload: Schema.Struct<{
9664
10023
  readonly issueId: Schema.String;
10024
+ readonly workspaceId: Schema.optional<Schema.String>;
9665
10025
  readonly role: Schema.String;
9666
10026
  readonly sessionName: Schema.String;
9667
10027
  }>;
@@ -9671,6 +10031,7 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
9671
10031
  readonly timestamp: Schema.String;
9672
10032
  readonly payload: Schema.Struct<{
9673
10033
  readonly issueId: Schema.String;
10034
+ readonly workspaceId: Schema.optional<Schema.String>;
9674
10035
  readonly role: Schema.String;
9675
10036
  }>;
9676
10037
  }>, Schema.Struct<{
@@ -9679,6 +10040,7 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
9679
10040
  readonly timestamp: Schema.String;
9680
10041
  readonly payload: Schema.Struct<{
9681
10042
  readonly issueId: Schema.String;
10043
+ readonly workspaceId: Schema.optional<Schema.String>;
9682
10044
  readonly role: Schema.String;
9683
10045
  readonly sessionName: Schema.String;
9684
10046
  readonly attempt: Schema.Number;
@@ -9691,6 +10053,7 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
9691
10053
  readonly timestamp: Schema.String;
9692
10054
  readonly payload: Schema.Struct<{
9693
10055
  readonly issueId: Schema.String;
10056
+ readonly workspaceId: Schema.optional<Schema.String>;
9694
10057
  readonly sessionName: Schema.String;
9695
10058
  }>;
9696
10059
  }>, Schema.Struct<{
@@ -9699,6 +10062,7 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
9699
10062
  readonly timestamp: Schema.String;
9700
10063
  readonly payload: Schema.Struct<{
9701
10064
  readonly issueId: Schema.String;
10065
+ readonly workspaceId: Schema.optional<Schema.String>;
9702
10066
  readonly sessionName: Schema.String;
9703
10067
  readonly reason: Schema.String;
9704
10068
  }>;
@@ -9720,6 +10084,7 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
9720
10084
  readonly payload: Schema.Struct<{
9721
10085
  readonly name: Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge"]>;
9722
10086
  readonly issueId: Schema.optional<Schema.String>;
10087
+ readonly workspaceId: Schema.optional<Schema.String>;
9723
10088
  }>;
9724
10089
  }>, Schema.Struct<{
9725
10090
  readonly type: Schema.Literal<"specialist.failed">;
@@ -9728,6 +10093,7 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
9728
10093
  readonly payload: Schema.Struct<{
9729
10094
  readonly name: Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge"]>;
9730
10095
  readonly issueId: Schema.optional<Schema.String>;
10096
+ readonly workspaceId: Schema.optional<Schema.String>;
9731
10097
  readonly error: Schema.String;
9732
10098
  }>;
9733
10099
  }>, Schema.Struct<{
@@ -9773,6 +10139,7 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
9773
10139
  readonly timestamp: Schema.String;
9774
10140
  readonly payload: Schema.Struct<{
9775
10141
  readonly issueId: Schema.optional<Schema.String>;
10142
+ readonly workspaceId: Schema.optional<Schema.String>;
9776
10143
  }>;
9777
10144
  }>, Schema.Struct<{
9778
10145
  readonly type: Schema.Literal<"issue.statusChanged">;
@@ -9780,6 +10147,7 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
9780
10147
  readonly timestamp: Schema.String;
9781
10148
  readonly payload: Schema.Struct<{
9782
10149
  readonly issueId: Schema.String;
10150
+ readonly workspaceId: Schema.optional<Schema.String>;
9783
10151
  readonly status: Schema.String;
9784
10152
  readonly canonicalStatus: Schema.String;
9785
10153
  readonly labels: Schema.optional<Schema.$Array<Schema.String>>;
@@ -9805,6 +10173,7 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
9805
10173
  readonly details: Schema.optional<Schema.String>;
9806
10174
  readonly output: Schema.optional<Schema.String>;
9807
10175
  readonly issueId: Schema.optional<Schema.String>;
10176
+ readonly workspaceId: Schema.optional<Schema.String>;
9808
10177
  readonly link: Schema.optional<Schema.String>;
9809
10178
  readonly desktop: Schema.optional<Schema.Boolean>;
9810
10179
  }>;
@@ -9819,6 +10188,7 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
9819
10188
  readonly message: Schema.String;
9820
10189
  readonly details: Schema.optional<Schema.String>;
9821
10190
  readonly issueId: Schema.optional<Schema.String>;
10191
+ readonly workspaceId: Schema.optional<Schema.String>;
9822
10192
  readonly triggeringEvent: Schema.optional<Schema.String>;
9823
10193
  }>;
9824
10194
  }>, Schema.Struct<{
@@ -9830,6 +10200,7 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
9830
10200
  readonly utterance: Schema.String;
9831
10201
  readonly priority: Schema.optional<Schema.Number>;
9832
10202
  readonly issueId: Schema.optional<Schema.String>;
10203
+ readonly workspaceId: Schema.optional<Schema.String>;
9833
10204
  readonly source: Schema.optional<Schema.String>;
9834
10205
  readonly eventType: Schema.optional<Schema.String>;
9835
10206
  }>;
@@ -9839,6 +10210,7 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
9839
10210
  readonly timestamp: Schema.String;
9840
10211
  readonly payload: Schema.Struct<{
9841
10212
  readonly issueId: Schema.String;
10213
+ readonly workspaceId: Schema.optional<Schema.String>;
9842
10214
  readonly content: Schema.String;
9843
10215
  }>;
9844
10216
  }>, Schema.Struct<{
@@ -9851,10 +10223,10 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
9851
10223
  readonly timestamp: Schema.String;
9852
10224
  readonly projectId: Schema.String;
9853
10225
  readonly workspaceId: Schema.String;
9854
- readonly issueId: Schema.String;
10226
+ readonly issueId: Schema.NullOr<Schema.String>;
9855
10227
  readonly runId: Schema.String;
9856
10228
  readonly sessionId: Schema.String;
9857
- readonly agentRole: Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge"]>;
10229
+ readonly agentRole: Schema.Union<readonly [Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge"]>, Schema.Literal<"conversation">]>;
9858
10230
  readonly agentHarness: Schema.String;
9859
10231
  readonly gitBranch: Schema.String;
9860
10232
  readonly sourceTranscriptOffset: Schema.Number;
@@ -9943,6 +10315,7 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
9943
10315
  readonly payload: Schema.Struct<{
9944
10316
  readonly projectId: Schema.String;
9945
10317
  readonly issueId: Schema.String;
10318
+ readonly workspaceId: Schema.optional<Schema.String>;
9946
10319
  readonly status: Schema.Literals<readonly ["healthy", "degraded", "failing"]>;
9947
10320
  readonly reason: Schema.NullOr<Schema.String>;
9948
10321
  readonly detail: Schema.optional<Schema.String>;
@@ -9952,10 +10325,10 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
9952
10325
  readonly identity: Schema.Struct<{
9953
10326
  readonly projectId: Schema.String;
9954
10327
  readonly workspaceId: Schema.String;
9955
- readonly issueId: Schema.String;
10328
+ readonly issueId: Schema.NullOr<Schema.String>;
9956
10329
  readonly runId: Schema.String;
9957
10330
  readonly sessionId: Schema.String;
9958
- readonly agentRole: Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge"]>;
10331
+ readonly agentRole: Schema.Union<readonly [Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge"]>, Schema.Literal<"conversation">]>;
9959
10332
  readonly agentHarness: Schema.String;
9960
10333
  }>;
9961
10334
  readonly surface: Schema.Literals<readonly ["spawn", "user-prompt"]>;
@@ -9986,6 +10359,7 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
9986
10359
  readonly payload: Schema.Struct<{
9987
10360
  readonly agentId: Schema.String;
9988
10361
  readonly issueId: Schema.String;
10362
+ readonly workspaceId: Schema.optional<Schema.String>;
9989
10363
  readonly cost: Schema.Number;
9990
10364
  readonly inputTokens: Schema.Number;
9991
10365
  readonly outputTokens: Schema.Number;
@@ -9996,6 +10370,7 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
9996
10370
  readonly timestamp: Schema.String;
9997
10371
  readonly payload: Schema.Struct<{
9998
10372
  readonly issueId: Schema.String;
10373
+ readonly workspaceId: Schema.optional<Schema.String>;
9999
10374
  readonly workspacePath: Schema.String;
10000
10375
  }>;
10001
10376
  }>, Schema.Struct<{
@@ -10004,6 +10379,7 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
10004
10379
  readonly timestamp: Schema.String;
10005
10380
  readonly payload: Schema.Struct<{
10006
10381
  readonly issueId: Schema.String;
10382
+ readonly workspaceId: Schema.optional<Schema.String>;
10007
10383
  }>;
10008
10384
  }>, Schema.Struct<{
10009
10385
  readonly type: Schema.Literal<"workspace.destroyed">;
@@ -10011,6 +10387,7 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
10011
10387
  readonly timestamp: Schema.String;
10012
10388
  readonly payload: Schema.Struct<{
10013
10389
  readonly issueId: Schema.String;
10390
+ readonly workspaceId: Schema.optional<Schema.String>;
10014
10391
  }>;
10015
10392
  }>, Schema.Struct<{
10016
10393
  readonly type: Schema.Literal<"workspace.deleted">;
@@ -10018,6 +10395,7 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
10018
10395
  readonly timestamp: Schema.String;
10019
10396
  readonly payload: Schema.Struct<{
10020
10397
  readonly issueId: Schema.String;
10398
+ readonly workspaceId: Schema.optional<Schema.String>;
10021
10399
  }>;
10022
10400
  }>, Schema.Struct<{
10023
10401
  readonly type: Schema.Literal<"workspace.aborted">;
@@ -10025,6 +10403,7 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
10025
10403
  readonly timestamp: Schema.String;
10026
10404
  readonly payload: Schema.Struct<{
10027
10405
  readonly issueId: Schema.String;
10406
+ readonly workspaceId: Schema.optional<Schema.String>;
10028
10407
  readonly sessionName: Schema.optional<Schema.String>;
10029
10408
  }>;
10030
10409
  }>, Schema.Struct<{
@@ -10034,6 +10413,7 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
10034
10413
  readonly payload: Schema.Struct<{
10035
10414
  readonly reason: Schema.String;
10036
10415
  readonly issueId: Schema.optional<Schema.String>;
10416
+ readonly workspaceId: Schema.optional<Schema.String>;
10037
10417
  readonly trigger: Schema.String;
10038
10418
  }>;
10039
10419
  }>, Schema.Struct<{
@@ -10043,6 +10423,7 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
10043
10423
  readonly payload: Schema.Struct<{
10044
10424
  readonly reason: Schema.String;
10045
10425
  readonly issueId: Schema.optional<Schema.String>;
10426
+ readonly workspaceId: Schema.optional<Schema.String>;
10046
10427
  readonly durationMs: Schema.Number;
10047
10428
  }>;
10048
10429
  }>, Schema.Struct<{
@@ -10052,6 +10433,7 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
10052
10433
  readonly payload: Schema.Struct<{
10053
10434
  readonly reason: Schema.String;
10054
10435
  readonly issueId: Schema.optional<Schema.String>;
10436
+ readonly workspaceId: Schema.optional<Schema.String>;
10055
10437
  readonly error: Schema.String;
10056
10438
  }>;
10057
10439
  }>, Schema.Struct<{
@@ -10172,6 +10554,7 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
10172
10554
  readonly payload: Schema.Struct<{
10173
10555
  readonly agentId: Schema.String;
10174
10556
  readonly issueId: Schema.String;
10557
+ readonly workspaceId: Schema.optional<Schema.String>;
10175
10558
  readonly agent: Schema.Struct<{
10176
10559
  readonly id: Schema.String;
10177
10560
  readonly issueId: Schema.String;
@@ -10237,6 +10620,8 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
10237
10620
  readonly timestamp: Schema.String;
10238
10621
  readonly payload: Schema.Struct<{
10239
10622
  readonly agentId: Schema.String;
10623
+ readonly issueId: Schema.optional<Schema.String>;
10624
+ readonly workspaceId: Schema.optional<Schema.String>;
10240
10625
  readonly role: Schema.optional<Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge"]>>;
10241
10626
  readonly hasPendingQuestion: Schema.optional<Schema.Boolean>;
10242
10627
  readonly pendingQuestionCount: Schema.optional<Schema.Number>;
@@ -10272,6 +10657,7 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
10272
10657
  readonly payload: Schema.Struct<{
10273
10658
  readonly agentId: Schema.String;
10274
10659
  readonly issueId: Schema.String;
10660
+ readonly workspaceId: Schema.optional<Schema.String>;
10275
10661
  readonly agent: Schema.Struct<{
10276
10662
  readonly id: Schema.String;
10277
10663
  readonly issueId: Schema.String;
@@ -10338,6 +10724,7 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
10338
10724
  readonly payload: Schema.Struct<{
10339
10725
  readonly agentId: Schema.String;
10340
10726
  readonly issueId: Schema.String;
10727
+ readonly workspaceId: Schema.optional<Schema.String>;
10341
10728
  readonly sessionId: Schema.optional<Schema.String>;
10342
10729
  }>;
10343
10730
  }>, Schema.Struct<{
@@ -10347,6 +10734,7 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
10347
10734
  readonly payload: Schema.Struct<{
10348
10735
  readonly agentId: Schema.String;
10349
10736
  readonly issueId: Schema.optional<Schema.String>;
10737
+ readonly workspaceId: Schema.optional<Schema.String>;
10350
10738
  readonly sessionId: Schema.optional<Schema.String>;
10351
10739
  }>;
10352
10740
  }>, Schema.Struct<{
@@ -10355,6 +10743,7 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
10355
10743
  readonly timestamp: Schema.String;
10356
10744
  readonly payload: Schema.Struct<{
10357
10745
  readonly issueId: Schema.String;
10746
+ readonly workspaceId: Schema.optional<Schema.String>;
10358
10747
  readonly agentId: Schema.optional<Schema.String>;
10359
10748
  }>;
10360
10749
  }>, Schema.Struct<{
@@ -10363,6 +10752,7 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
10363
10752
  readonly timestamp: Schema.String;
10364
10753
  readonly payload: Schema.Struct<{
10365
10754
  readonly issueId: Schema.String;
10755
+ readonly workspaceId: Schema.optional<Schema.String>;
10366
10756
  readonly agentId: Schema.optional<Schema.String>;
10367
10757
  readonly role: Schema.optional<Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge"]>>;
10368
10758
  }>;
@@ -10372,6 +10762,7 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
10372
10762
  readonly timestamp: Schema.String;
10373
10763
  readonly payload: Schema.Struct<{
10374
10764
  readonly issueId: Schema.String;
10765
+ readonly workspaceId: Schema.optional<Schema.String>;
10375
10766
  }>;
10376
10767
  }>, Schema.Struct<{
10377
10768
  readonly type: Schema.Literal<"test.passed">;
@@ -10379,6 +10770,7 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
10379
10770
  readonly timestamp: Schema.String;
10380
10771
  readonly payload: Schema.Struct<{
10381
10772
  readonly issueId: Schema.String;
10773
+ readonly workspaceId: Schema.optional<Schema.String>;
10382
10774
  }>;
10383
10775
  }>, Schema.Struct<{
10384
10776
  readonly type: Schema.Literal<"agent.status_changed">;
@@ -10387,6 +10779,7 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
10387
10779
  readonly payload: Schema.Struct<{
10388
10780
  readonly agentId: Schema.String;
10389
10781
  readonly issueId: Schema.optional<Schema.String>;
10782
+ readonly workspaceId: Schema.optional<Schema.String>;
10390
10783
  readonly status: Schema.Literals<readonly ["starting", "running", "stopped", "error", "unknown"]>;
10391
10784
  readonly previousStatus: Schema.optional<Schema.Literals<readonly ["starting", "running", "stopped", "error", "unknown"]>>;
10392
10785
  readonly hasLiveTmuxSession: Schema.optional<Schema.Boolean>;
@@ -10500,6 +10893,7 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
10500
10893
  readonly requestId: Schema.String;
10501
10894
  readonly agentId: Schema.String;
10502
10895
  readonly issueId: Schema.optional<Schema.String>;
10896
+ readonly workspaceId: Schema.optional<Schema.String>;
10503
10897
  readonly behavior: Schema.Literals<readonly ["allow", "deny"]>;
10504
10898
  }>;
10505
10899
  }>, Schema.Struct<{
@@ -10630,6 +11024,7 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
10630
11024
  readonly timestamp: Schema.String;
10631
11025
  readonly payload: Schema.Struct<{
10632
11026
  readonly issueId: Schema.String;
11027
+ readonly workspaceId: Schema.optional<Schema.String>;
10633
11028
  readonly sessionName: Schema.String;
10634
11029
  readonly harness: Schema.optional<Schema.String>;
10635
11030
  }>;
@@ -10639,6 +11034,7 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
10639
11034
  readonly timestamp: Schema.String;
10640
11035
  readonly payload: Schema.Struct<{
10641
11036
  readonly issueId: Schema.String;
11037
+ readonly workspaceId: Schema.optional<Schema.String>;
10642
11038
  readonly error: Schema.String;
10643
11039
  }>;
10644
11040
  }>, Schema.Struct<{
@@ -10647,6 +11043,7 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
10647
11043
  readonly timestamp: Schema.String;
10648
11044
  readonly payload: Schema.Struct<{
10649
11045
  readonly issueId: Schema.String;
11046
+ readonly workspaceId: Schema.optional<Schema.String>;
10650
11047
  readonly status: Schema.String;
10651
11048
  readonly progress: Schema.optional<Schema.Number>;
10652
11049
  readonly message: Schema.optional<Schema.String>;
@@ -10657,6 +11054,7 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
10657
11054
  readonly timestamp: Schema.String;
10658
11055
  readonly payload: Schema.Struct<{
10659
11056
  readonly issueId: Schema.String;
11057
+ readonly workspaceId: Schema.optional<Schema.String>;
10660
11058
  readonly itemId: Schema.String;
10661
11059
  readonly status: Schema.String;
10662
11060
  }>;
@@ -10666,6 +11064,7 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
10666
11064
  readonly timestamp: Schema.String;
10667
11065
  readonly payload: Schema.Struct<{
10668
11066
  readonly issueId: Schema.String;
11067
+ readonly workspaceId: Schema.optional<Schema.String>;
10669
11068
  readonly itemId: Schema.String;
10670
11069
  readonly subItemId: Schema.String;
10671
11070
  readonly status: Schema.String;
@@ -10676,6 +11075,7 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
10676
11075
  readonly timestamp: Schema.String;
10677
11076
  readonly payload: Schema.Struct<{
10678
11077
  readonly issueId: Schema.String;
11078
+ readonly workspaceId: Schema.optional<Schema.String>;
10679
11079
  readonly items: Schema.$Array<Schema.String>;
10680
11080
  }>;
10681
11081
  }>, Schema.Struct<{
@@ -10684,6 +11084,7 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
10684
11084
  readonly timestamp: Schema.String;
10685
11085
  readonly payload: Schema.Struct<{
10686
11086
  readonly issueId: Schema.String;
11087
+ readonly workspaceId: Schema.optional<Schema.String>;
10687
11088
  readonly status: Schema.Struct<{
10688
11089
  readonly issueId: Schema.String;
10689
11090
  readonly reviewStatus: Schema.optional<Schema.Literals<readonly ["pending", "reviewing", "passed", "failed", "blocked", "skipped"]>>;
@@ -10743,6 +11144,7 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
10743
11144
  readonly timestamp: Schema.String;
10744
11145
  readonly payload: Schema.Struct<{
10745
11146
  readonly issueId: Schema.String;
11147
+ readonly workspaceId: Schema.optional<Schema.String>;
10746
11148
  }>;
10747
11149
  }>, Schema.Struct<{
10748
11150
  readonly type: Schema.Literal<"review.status_changed">;
@@ -10750,6 +11152,7 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
10750
11152
  readonly timestamp: Schema.String;
10751
11153
  readonly payload: Schema.Struct<{
10752
11154
  readonly issueId: Schema.String;
11155
+ readonly workspaceId: Schema.optional<Schema.String>;
10753
11156
  readonly status: Schema.Struct<{
10754
11157
  readonly issueId: Schema.String;
10755
11158
  readonly reviewStatus: Schema.optional<Schema.Literals<readonly ["pending", "reviewing", "passed", "failed", "blocked", "skipped"]>>;
@@ -10809,6 +11212,7 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
10809
11212
  readonly timestamp: Schema.String;
10810
11213
  readonly payload: Schema.Struct<{
10811
11214
  readonly issueId: Schema.String;
11215
+ readonly workspaceId: Schema.optional<Schema.String>;
10812
11216
  }>;
10813
11217
  }>, Schema.Struct<{
10814
11218
  readonly type: Schema.Literal<"pipeline.review-completed">;
@@ -10816,6 +11220,7 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
10816
11220
  readonly timestamp: Schema.String;
10817
11221
  readonly payload: Schema.Struct<{
10818
11222
  readonly issueId: Schema.String;
11223
+ readonly workspaceId: Schema.optional<Schema.String>;
10819
11224
  readonly passed: Schema.Boolean;
10820
11225
  }>;
10821
11226
  }>, Schema.Struct<{
@@ -10824,6 +11229,7 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
10824
11229
  readonly timestamp: Schema.String;
10825
11230
  readonly payload: Schema.Struct<{
10826
11231
  readonly issueId: Schema.String;
11232
+ readonly workspaceId: Schema.optional<Schema.String>;
10827
11233
  }>;
10828
11234
  }>, Schema.Struct<{
10829
11235
  readonly type: Schema.Literal<"pipeline.test-completed">;
@@ -10831,6 +11237,7 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
10831
11237
  readonly timestamp: Schema.String;
10832
11238
  readonly payload: Schema.Struct<{
10833
11239
  readonly issueId: Schema.String;
11240
+ readonly workspaceId: Schema.optional<Schema.String>;
10834
11241
  readonly passed: Schema.Boolean;
10835
11242
  }>;
10836
11243
  }>, Schema.Struct<{
@@ -10839,6 +11246,7 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
10839
11246
  readonly timestamp: Schema.String;
10840
11247
  readonly payload: Schema.Struct<{
10841
11248
  readonly issueId: Schema.String;
11249
+ readonly workspaceId: Schema.optional<Schema.String>;
10842
11250
  }>;
10843
11251
  }>, Schema.Struct<{
10844
11252
  readonly type: Schema.Literal<"pipeline.verification-failed">;
@@ -10846,6 +11254,7 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
10846
11254
  readonly timestamp: Schema.String;
10847
11255
  readonly payload: Schema.Struct<{
10848
11256
  readonly issueId: Schema.String;
11257
+ readonly workspaceId: Schema.optional<Schema.String>;
10849
11258
  readonly failedCheck: Schema.optional<Schema.String>;
10850
11259
  readonly message: Schema.optional<Schema.String>;
10851
11260
  }>;
@@ -10855,6 +11264,7 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
10855
11264
  readonly timestamp: Schema.String;
10856
11265
  readonly payload: Schema.Struct<{
10857
11266
  readonly issueId: Schema.String;
11267
+ readonly workspaceId: Schema.optional<Schema.String>;
10858
11268
  readonly state: Schema.String;
10859
11269
  }>;
10860
11270
  }>, Schema.Struct<{
@@ -10863,6 +11273,7 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
10863
11273
  readonly timestamp: Schema.String;
10864
11274
  readonly payload: Schema.Struct<{
10865
11275
  readonly issueId: Schema.String;
11276
+ readonly workspaceId: Schema.optional<Schema.String>;
10866
11277
  readonly kind: Schema.Literals<readonly ["tell", "pause", "restart", "manual_edit", "deep_wipe", "unpause", "untroubled"]>;
10867
11278
  readonly source: Schema.String;
10868
11279
  }>;
@@ -10909,6 +11320,7 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
10909
11320
  readonly timestamp: Schema.String;
10910
11321
  readonly payload: Schema.Struct<{
10911
11322
  readonly issueId: Schema.String;
11323
+ readonly workspaceId: Schema.optional<Schema.String>;
10912
11324
  readonly runId: Schema.optional<Schema.String>;
10913
11325
  readonly filedBy: Schema.Literals<readonly ["agent", "operator"]>;
10914
11326
  readonly discoveredIn: Schema.optional<Schema.String>;
@@ -10920,6 +11332,7 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
10920
11332
  readonly timestamp: Schema.String;
10921
11333
  readonly payload: Schema.Struct<{
10922
11334
  readonly issueId: Schema.String;
11335
+ readonly workspaceId: Schema.optional<Schema.String>;
10923
11336
  readonly role: Schema.String;
10924
11337
  readonly sessionName: Schema.String;
10925
11338
  }>;
@@ -10929,6 +11342,7 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
10929
11342
  readonly timestamp: Schema.String;
10930
11343
  readonly payload: Schema.Struct<{
10931
11344
  readonly issueId: Schema.String;
11345
+ readonly workspaceId: Schema.optional<Schema.String>;
10932
11346
  readonly role: Schema.String;
10933
11347
  }>;
10934
11348
  }>, Schema.Struct<{
@@ -10937,6 +11351,7 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
10937
11351
  readonly timestamp: Schema.String;
10938
11352
  readonly payload: Schema.Struct<{
10939
11353
  readonly issueId: Schema.String;
11354
+ readonly workspaceId: Schema.optional<Schema.String>;
10940
11355
  readonly role: Schema.String;
10941
11356
  readonly sessionName: Schema.String;
10942
11357
  readonly attempt: Schema.Number;
@@ -10949,6 +11364,7 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
10949
11364
  readonly timestamp: Schema.String;
10950
11365
  readonly payload: Schema.Struct<{
10951
11366
  readonly issueId: Schema.String;
11367
+ readonly workspaceId: Schema.optional<Schema.String>;
10952
11368
  readonly sessionName: Schema.String;
10953
11369
  }>;
10954
11370
  }>, Schema.Struct<{
@@ -10957,6 +11373,7 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
10957
11373
  readonly timestamp: Schema.String;
10958
11374
  readonly payload: Schema.Struct<{
10959
11375
  readonly issueId: Schema.String;
11376
+ readonly workspaceId: Schema.optional<Schema.String>;
10960
11377
  readonly sessionName: Schema.String;
10961
11378
  readonly reason: Schema.String;
10962
11379
  }>;
@@ -10978,6 +11395,7 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
10978
11395
  readonly payload: Schema.Struct<{
10979
11396
  readonly name: Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge"]>;
10980
11397
  readonly issueId: Schema.optional<Schema.String>;
11398
+ readonly workspaceId: Schema.optional<Schema.String>;
10981
11399
  }>;
10982
11400
  }>, Schema.Struct<{
10983
11401
  readonly type: Schema.Literal<"specialist.failed">;
@@ -10986,6 +11404,7 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
10986
11404
  readonly payload: Schema.Struct<{
10987
11405
  readonly name: Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge"]>;
10988
11406
  readonly issueId: Schema.optional<Schema.String>;
11407
+ readonly workspaceId: Schema.optional<Schema.String>;
10989
11408
  readonly error: Schema.String;
10990
11409
  }>;
10991
11410
  }>, Schema.Struct<{
@@ -11031,6 +11450,7 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
11031
11450
  readonly timestamp: Schema.String;
11032
11451
  readonly payload: Schema.Struct<{
11033
11452
  readonly issueId: Schema.optional<Schema.String>;
11453
+ readonly workspaceId: Schema.optional<Schema.String>;
11034
11454
  }>;
11035
11455
  }>, Schema.Struct<{
11036
11456
  readonly type: Schema.Literal<"issue.statusChanged">;
@@ -11038,6 +11458,7 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
11038
11458
  readonly timestamp: Schema.String;
11039
11459
  readonly payload: Schema.Struct<{
11040
11460
  readonly issueId: Schema.String;
11461
+ readonly workspaceId: Schema.optional<Schema.String>;
11041
11462
  readonly status: Schema.String;
11042
11463
  readonly canonicalStatus: Schema.String;
11043
11464
  readonly labels: Schema.optional<Schema.$Array<Schema.String>>;
@@ -11063,6 +11484,7 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
11063
11484
  readonly details: Schema.optional<Schema.String>;
11064
11485
  readonly output: Schema.optional<Schema.String>;
11065
11486
  readonly issueId: Schema.optional<Schema.String>;
11487
+ readonly workspaceId: Schema.optional<Schema.String>;
11066
11488
  readonly link: Schema.optional<Schema.String>;
11067
11489
  readonly desktop: Schema.optional<Schema.Boolean>;
11068
11490
  }>;
@@ -11077,6 +11499,7 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
11077
11499
  readonly message: Schema.String;
11078
11500
  readonly details: Schema.optional<Schema.String>;
11079
11501
  readonly issueId: Schema.optional<Schema.String>;
11502
+ readonly workspaceId: Schema.optional<Schema.String>;
11080
11503
  readonly triggeringEvent: Schema.optional<Schema.String>;
11081
11504
  }>;
11082
11505
  }>, Schema.Struct<{
@@ -11088,6 +11511,7 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
11088
11511
  readonly utterance: Schema.String;
11089
11512
  readonly priority: Schema.optional<Schema.Number>;
11090
11513
  readonly issueId: Schema.optional<Schema.String>;
11514
+ readonly workspaceId: Schema.optional<Schema.String>;
11091
11515
  readonly source: Schema.optional<Schema.String>;
11092
11516
  readonly eventType: Schema.optional<Schema.String>;
11093
11517
  }>;
@@ -11097,6 +11521,7 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
11097
11521
  readonly timestamp: Schema.String;
11098
11522
  readonly payload: Schema.Struct<{
11099
11523
  readonly issueId: Schema.String;
11524
+ readonly workspaceId: Schema.optional<Schema.String>;
11100
11525
  readonly content: Schema.String;
11101
11526
  }>;
11102
11527
  }>, Schema.Struct<{
@@ -11109,10 +11534,10 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
11109
11534
  readonly timestamp: Schema.String;
11110
11535
  readonly projectId: Schema.String;
11111
11536
  readonly workspaceId: Schema.String;
11112
- readonly issueId: Schema.String;
11537
+ readonly issueId: Schema.NullOr<Schema.String>;
11113
11538
  readonly runId: Schema.String;
11114
11539
  readonly sessionId: Schema.String;
11115
- readonly agentRole: Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge"]>;
11540
+ readonly agentRole: Schema.Union<readonly [Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge"]>, Schema.Literal<"conversation">]>;
11116
11541
  readonly agentHarness: Schema.String;
11117
11542
  readonly gitBranch: Schema.String;
11118
11543
  readonly sourceTranscriptOffset: Schema.Number;
@@ -11201,6 +11626,7 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
11201
11626
  readonly payload: Schema.Struct<{
11202
11627
  readonly projectId: Schema.String;
11203
11628
  readonly issueId: Schema.String;
11629
+ readonly workspaceId: Schema.optional<Schema.String>;
11204
11630
  readonly status: Schema.Literals<readonly ["healthy", "degraded", "failing"]>;
11205
11631
  readonly reason: Schema.NullOr<Schema.String>;
11206
11632
  readonly detail: Schema.optional<Schema.String>;
@@ -11210,10 +11636,10 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
11210
11636
  readonly identity: Schema.Struct<{
11211
11637
  readonly projectId: Schema.String;
11212
11638
  readonly workspaceId: Schema.String;
11213
- readonly issueId: Schema.String;
11639
+ readonly issueId: Schema.NullOr<Schema.String>;
11214
11640
  readonly runId: Schema.String;
11215
11641
  readonly sessionId: Schema.String;
11216
- readonly agentRole: Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge"]>;
11642
+ readonly agentRole: Schema.Union<readonly [Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge"]>, Schema.Literal<"conversation">]>;
11217
11643
  readonly agentHarness: Schema.String;
11218
11644
  }>;
11219
11645
  readonly surface: Schema.Literals<readonly ["spawn", "user-prompt"]>;
@@ -11244,6 +11670,7 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
11244
11670
  readonly payload: Schema.Struct<{
11245
11671
  readonly agentId: Schema.String;
11246
11672
  readonly issueId: Schema.String;
11673
+ readonly workspaceId: Schema.optional<Schema.String>;
11247
11674
  readonly cost: Schema.Number;
11248
11675
  readonly inputTokens: Schema.Number;
11249
11676
  readonly outputTokens: Schema.Number;
@@ -11254,6 +11681,7 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
11254
11681
  readonly timestamp: Schema.String;
11255
11682
  readonly payload: Schema.Struct<{
11256
11683
  readonly issueId: Schema.String;
11684
+ readonly workspaceId: Schema.optional<Schema.String>;
11257
11685
  readonly workspacePath: Schema.String;
11258
11686
  }>;
11259
11687
  }>, Schema.Struct<{
@@ -11262,6 +11690,7 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
11262
11690
  readonly timestamp: Schema.String;
11263
11691
  readonly payload: Schema.Struct<{
11264
11692
  readonly issueId: Schema.String;
11693
+ readonly workspaceId: Schema.optional<Schema.String>;
11265
11694
  }>;
11266
11695
  }>, Schema.Struct<{
11267
11696
  readonly type: Schema.Literal<"workspace.destroyed">;
@@ -11269,6 +11698,7 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
11269
11698
  readonly timestamp: Schema.String;
11270
11699
  readonly payload: Schema.Struct<{
11271
11700
  readonly issueId: Schema.String;
11701
+ readonly workspaceId: Schema.optional<Schema.String>;
11272
11702
  }>;
11273
11703
  }>, Schema.Struct<{
11274
11704
  readonly type: Schema.Literal<"workspace.deleted">;
@@ -11276,6 +11706,7 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
11276
11706
  readonly timestamp: Schema.String;
11277
11707
  readonly payload: Schema.Struct<{
11278
11708
  readonly issueId: Schema.String;
11709
+ readonly workspaceId: Schema.optional<Schema.String>;
11279
11710
  }>;
11280
11711
  }>, Schema.Struct<{
11281
11712
  readonly type: Schema.Literal<"workspace.aborted">;
@@ -11283,6 +11714,7 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
11283
11714
  readonly timestamp: Schema.String;
11284
11715
  readonly payload: Schema.Struct<{
11285
11716
  readonly issueId: Schema.String;
11717
+ readonly workspaceId: Schema.optional<Schema.String>;
11286
11718
  readonly sessionName: Schema.optional<Schema.String>;
11287
11719
  }>;
11288
11720
  }>, Schema.Struct<{
@@ -11292,6 +11724,7 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
11292
11724
  readonly payload: Schema.Struct<{
11293
11725
  readonly reason: Schema.String;
11294
11726
  readonly issueId: Schema.optional<Schema.String>;
11727
+ readonly workspaceId: Schema.optional<Schema.String>;
11295
11728
  readonly trigger: Schema.String;
11296
11729
  }>;
11297
11730
  }>, Schema.Struct<{
@@ -11301,6 +11734,7 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
11301
11734
  readonly payload: Schema.Struct<{
11302
11735
  readonly reason: Schema.String;
11303
11736
  readonly issueId: Schema.optional<Schema.String>;
11737
+ readonly workspaceId: Schema.optional<Schema.String>;
11304
11738
  readonly durationMs: Schema.Number;
11305
11739
  }>;
11306
11740
  }>, Schema.Struct<{
@@ -11310,6 +11744,7 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
11310
11744
  readonly payload: Schema.Struct<{
11311
11745
  readonly reason: Schema.String;
11312
11746
  readonly issueId: Schema.optional<Schema.String>;
11747
+ readonly workspaceId: Schema.optional<Schema.String>;
11313
11748
  readonly error: Schema.String;
11314
11749
  }>;
11315
11750
  }>, Schema.Struct<{
@@ -11641,6 +12076,7 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
11641
12076
  readonly payload: Schema.Struct<{
11642
12077
  readonly agentId: Schema.String;
11643
12078
  readonly issueId: Schema.String;
12079
+ readonly workspaceId: Schema.optional<Schema.String>;
11644
12080
  readonly agent: Schema.Struct<{
11645
12081
  readonly id: Schema.String;
11646
12082
  readonly issueId: Schema.String;
@@ -11706,6 +12142,8 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
11706
12142
  readonly timestamp: Schema.String;
11707
12143
  readonly payload: Schema.Struct<{
11708
12144
  readonly agentId: Schema.String;
12145
+ readonly issueId: Schema.optional<Schema.String>;
12146
+ readonly workspaceId: Schema.optional<Schema.String>;
11709
12147
  readonly role: Schema.optional<Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge"]>>;
11710
12148
  readonly hasPendingQuestion: Schema.optional<Schema.Boolean>;
11711
12149
  readonly pendingQuestionCount: Schema.optional<Schema.Number>;
@@ -11741,6 +12179,7 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
11741
12179
  readonly payload: Schema.Struct<{
11742
12180
  readonly agentId: Schema.String;
11743
12181
  readonly issueId: Schema.String;
12182
+ readonly workspaceId: Schema.optional<Schema.String>;
11744
12183
  readonly agent: Schema.Struct<{
11745
12184
  readonly id: Schema.String;
11746
12185
  readonly issueId: Schema.String;
@@ -11807,6 +12246,7 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
11807
12246
  readonly payload: Schema.Struct<{
11808
12247
  readonly agentId: Schema.String;
11809
12248
  readonly issueId: Schema.String;
12249
+ readonly workspaceId: Schema.optional<Schema.String>;
11810
12250
  readonly sessionId: Schema.optional<Schema.String>;
11811
12251
  }>;
11812
12252
  }>, Schema.Struct<{
@@ -11816,6 +12256,7 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
11816
12256
  readonly payload: Schema.Struct<{
11817
12257
  readonly agentId: Schema.String;
11818
12258
  readonly issueId: Schema.optional<Schema.String>;
12259
+ readonly workspaceId: Schema.optional<Schema.String>;
11819
12260
  readonly sessionId: Schema.optional<Schema.String>;
11820
12261
  }>;
11821
12262
  }>, Schema.Struct<{
@@ -11824,6 +12265,7 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
11824
12265
  readonly timestamp: Schema.String;
11825
12266
  readonly payload: Schema.Struct<{
11826
12267
  readonly issueId: Schema.String;
12268
+ readonly workspaceId: Schema.optional<Schema.String>;
11827
12269
  readonly agentId: Schema.optional<Schema.String>;
11828
12270
  }>;
11829
12271
  }>, Schema.Struct<{
@@ -11832,6 +12274,7 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
11832
12274
  readonly timestamp: Schema.String;
11833
12275
  readonly payload: Schema.Struct<{
11834
12276
  readonly issueId: Schema.String;
12277
+ readonly workspaceId: Schema.optional<Schema.String>;
11835
12278
  readonly agentId: Schema.optional<Schema.String>;
11836
12279
  readonly role: Schema.optional<Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge"]>>;
11837
12280
  }>;
@@ -11841,6 +12284,7 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
11841
12284
  readonly timestamp: Schema.String;
11842
12285
  readonly payload: Schema.Struct<{
11843
12286
  readonly issueId: Schema.String;
12287
+ readonly workspaceId: Schema.optional<Schema.String>;
11844
12288
  }>;
11845
12289
  }>, Schema.Struct<{
11846
12290
  readonly type: Schema.Literal<"test.passed">;
@@ -11848,6 +12292,7 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
11848
12292
  readonly timestamp: Schema.String;
11849
12293
  readonly payload: Schema.Struct<{
11850
12294
  readonly issueId: Schema.String;
12295
+ readonly workspaceId: Schema.optional<Schema.String>;
11851
12296
  }>;
11852
12297
  }>, Schema.Struct<{
11853
12298
  readonly type: Schema.Literal<"agent.status_changed">;
@@ -11856,6 +12301,7 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
11856
12301
  readonly payload: Schema.Struct<{
11857
12302
  readonly agentId: Schema.String;
11858
12303
  readonly issueId: Schema.optional<Schema.String>;
12304
+ readonly workspaceId: Schema.optional<Schema.String>;
11859
12305
  readonly status: Schema.Literals<readonly ["starting", "running", "stopped", "error", "unknown"]>;
11860
12306
  readonly previousStatus: Schema.optional<Schema.Literals<readonly ["starting", "running", "stopped", "error", "unknown"]>>;
11861
12307
  readonly hasLiveTmuxSession: Schema.optional<Schema.Boolean>;
@@ -11969,6 +12415,7 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
11969
12415
  readonly requestId: Schema.String;
11970
12416
  readonly agentId: Schema.String;
11971
12417
  readonly issueId: Schema.optional<Schema.String>;
12418
+ readonly workspaceId: Schema.optional<Schema.String>;
11972
12419
  readonly behavior: Schema.Literals<readonly ["allow", "deny"]>;
11973
12420
  }>;
11974
12421
  }>, Schema.Struct<{
@@ -12099,6 +12546,7 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
12099
12546
  readonly timestamp: Schema.String;
12100
12547
  readonly payload: Schema.Struct<{
12101
12548
  readonly issueId: Schema.String;
12549
+ readonly workspaceId: Schema.optional<Schema.String>;
12102
12550
  readonly sessionName: Schema.String;
12103
12551
  readonly harness: Schema.optional<Schema.String>;
12104
12552
  }>;
@@ -12108,6 +12556,7 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
12108
12556
  readonly timestamp: Schema.String;
12109
12557
  readonly payload: Schema.Struct<{
12110
12558
  readonly issueId: Schema.String;
12559
+ readonly workspaceId: Schema.optional<Schema.String>;
12111
12560
  readonly error: Schema.String;
12112
12561
  }>;
12113
12562
  }>, Schema.Struct<{
@@ -12116,6 +12565,7 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
12116
12565
  readonly timestamp: Schema.String;
12117
12566
  readonly payload: Schema.Struct<{
12118
12567
  readonly issueId: Schema.String;
12568
+ readonly workspaceId: Schema.optional<Schema.String>;
12119
12569
  readonly status: Schema.String;
12120
12570
  readonly progress: Schema.optional<Schema.Number>;
12121
12571
  readonly message: Schema.optional<Schema.String>;
@@ -12126,6 +12576,7 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
12126
12576
  readonly timestamp: Schema.String;
12127
12577
  readonly payload: Schema.Struct<{
12128
12578
  readonly issueId: Schema.String;
12579
+ readonly workspaceId: Schema.optional<Schema.String>;
12129
12580
  readonly itemId: Schema.String;
12130
12581
  readonly status: Schema.String;
12131
12582
  }>;
@@ -12135,6 +12586,7 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
12135
12586
  readonly timestamp: Schema.String;
12136
12587
  readonly payload: Schema.Struct<{
12137
12588
  readonly issueId: Schema.String;
12589
+ readonly workspaceId: Schema.optional<Schema.String>;
12138
12590
  readonly itemId: Schema.String;
12139
12591
  readonly subItemId: Schema.String;
12140
12592
  readonly status: Schema.String;
@@ -12145,6 +12597,7 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
12145
12597
  readonly timestamp: Schema.String;
12146
12598
  readonly payload: Schema.Struct<{
12147
12599
  readonly issueId: Schema.String;
12600
+ readonly workspaceId: Schema.optional<Schema.String>;
12148
12601
  readonly items: Schema.$Array<Schema.String>;
12149
12602
  }>;
12150
12603
  }>, Schema.Struct<{
@@ -12153,6 +12606,7 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
12153
12606
  readonly timestamp: Schema.String;
12154
12607
  readonly payload: Schema.Struct<{
12155
12608
  readonly issueId: Schema.String;
12609
+ readonly workspaceId: Schema.optional<Schema.String>;
12156
12610
  readonly status: Schema.Struct<{
12157
12611
  readonly issueId: Schema.String;
12158
12612
  readonly reviewStatus: Schema.optional<Schema.Literals<readonly ["pending", "reviewing", "passed", "failed", "blocked", "skipped"]>>;
@@ -12212,6 +12666,7 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
12212
12666
  readonly timestamp: Schema.String;
12213
12667
  readonly payload: Schema.Struct<{
12214
12668
  readonly issueId: Schema.String;
12669
+ readonly workspaceId: Schema.optional<Schema.String>;
12215
12670
  }>;
12216
12671
  }>, Schema.Struct<{
12217
12672
  readonly type: Schema.Literal<"review.status_changed">;
@@ -12219,6 +12674,7 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
12219
12674
  readonly timestamp: Schema.String;
12220
12675
  readonly payload: Schema.Struct<{
12221
12676
  readonly issueId: Schema.String;
12677
+ readonly workspaceId: Schema.optional<Schema.String>;
12222
12678
  readonly status: Schema.Struct<{
12223
12679
  readonly issueId: Schema.String;
12224
12680
  readonly reviewStatus: Schema.optional<Schema.Literals<readonly ["pending", "reviewing", "passed", "failed", "blocked", "skipped"]>>;
@@ -12278,6 +12734,7 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
12278
12734
  readonly timestamp: Schema.String;
12279
12735
  readonly payload: Schema.Struct<{
12280
12736
  readonly issueId: Schema.String;
12737
+ readonly workspaceId: Schema.optional<Schema.String>;
12281
12738
  }>;
12282
12739
  }>, Schema.Struct<{
12283
12740
  readonly type: Schema.Literal<"pipeline.review-completed">;
@@ -12285,6 +12742,7 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
12285
12742
  readonly timestamp: Schema.String;
12286
12743
  readonly payload: Schema.Struct<{
12287
12744
  readonly issueId: Schema.String;
12745
+ readonly workspaceId: Schema.optional<Schema.String>;
12288
12746
  readonly passed: Schema.Boolean;
12289
12747
  }>;
12290
12748
  }>, Schema.Struct<{
@@ -12293,6 +12751,7 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
12293
12751
  readonly timestamp: Schema.String;
12294
12752
  readonly payload: Schema.Struct<{
12295
12753
  readonly issueId: Schema.String;
12754
+ readonly workspaceId: Schema.optional<Schema.String>;
12296
12755
  }>;
12297
12756
  }>, Schema.Struct<{
12298
12757
  readonly type: Schema.Literal<"pipeline.test-completed">;
@@ -12300,6 +12759,7 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
12300
12759
  readonly timestamp: Schema.String;
12301
12760
  readonly payload: Schema.Struct<{
12302
12761
  readonly issueId: Schema.String;
12762
+ readonly workspaceId: Schema.optional<Schema.String>;
12303
12763
  readonly passed: Schema.Boolean;
12304
12764
  }>;
12305
12765
  }>, Schema.Struct<{
@@ -12308,6 +12768,7 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
12308
12768
  readonly timestamp: Schema.String;
12309
12769
  readonly payload: Schema.Struct<{
12310
12770
  readonly issueId: Schema.String;
12771
+ readonly workspaceId: Schema.optional<Schema.String>;
12311
12772
  }>;
12312
12773
  }>, Schema.Struct<{
12313
12774
  readonly type: Schema.Literal<"pipeline.verification-failed">;
@@ -12315,6 +12776,7 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
12315
12776
  readonly timestamp: Schema.String;
12316
12777
  readonly payload: Schema.Struct<{
12317
12778
  readonly issueId: Schema.String;
12779
+ readonly workspaceId: Schema.optional<Schema.String>;
12318
12780
  readonly failedCheck: Schema.optional<Schema.String>;
12319
12781
  readonly message: Schema.optional<Schema.String>;
12320
12782
  }>;
@@ -12324,6 +12786,7 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
12324
12786
  readonly timestamp: Schema.String;
12325
12787
  readonly payload: Schema.Struct<{
12326
12788
  readonly issueId: Schema.String;
12789
+ readonly workspaceId: Schema.optional<Schema.String>;
12327
12790
  readonly state: Schema.String;
12328
12791
  }>;
12329
12792
  }>, Schema.Struct<{
@@ -12332,6 +12795,7 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
12332
12795
  readonly timestamp: Schema.String;
12333
12796
  readonly payload: Schema.Struct<{
12334
12797
  readonly issueId: Schema.String;
12798
+ readonly workspaceId: Schema.optional<Schema.String>;
12335
12799
  readonly kind: Schema.Literals<readonly ["tell", "pause", "restart", "manual_edit", "deep_wipe", "unpause", "untroubled"]>;
12336
12800
  readonly source: Schema.String;
12337
12801
  }>;
@@ -12378,6 +12842,7 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
12378
12842
  readonly timestamp: Schema.String;
12379
12843
  readonly payload: Schema.Struct<{
12380
12844
  readonly issueId: Schema.String;
12845
+ readonly workspaceId: Schema.optional<Schema.String>;
12381
12846
  readonly runId: Schema.optional<Schema.String>;
12382
12847
  readonly filedBy: Schema.Literals<readonly ["agent", "operator"]>;
12383
12848
  readonly discoveredIn: Schema.optional<Schema.String>;
@@ -12389,6 +12854,7 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
12389
12854
  readonly timestamp: Schema.String;
12390
12855
  readonly payload: Schema.Struct<{
12391
12856
  readonly issueId: Schema.String;
12857
+ readonly workspaceId: Schema.optional<Schema.String>;
12392
12858
  readonly role: Schema.String;
12393
12859
  readonly sessionName: Schema.String;
12394
12860
  }>;
@@ -12398,6 +12864,7 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
12398
12864
  readonly timestamp: Schema.String;
12399
12865
  readonly payload: Schema.Struct<{
12400
12866
  readonly issueId: Schema.String;
12867
+ readonly workspaceId: Schema.optional<Schema.String>;
12401
12868
  readonly role: Schema.String;
12402
12869
  }>;
12403
12870
  }>, Schema.Struct<{
@@ -12406,6 +12873,7 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
12406
12873
  readonly timestamp: Schema.String;
12407
12874
  readonly payload: Schema.Struct<{
12408
12875
  readonly issueId: Schema.String;
12876
+ readonly workspaceId: Schema.optional<Schema.String>;
12409
12877
  readonly role: Schema.String;
12410
12878
  readonly sessionName: Schema.String;
12411
12879
  readonly attempt: Schema.Number;
@@ -12418,6 +12886,7 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
12418
12886
  readonly timestamp: Schema.String;
12419
12887
  readonly payload: Schema.Struct<{
12420
12888
  readonly issueId: Schema.String;
12889
+ readonly workspaceId: Schema.optional<Schema.String>;
12421
12890
  readonly sessionName: Schema.String;
12422
12891
  }>;
12423
12892
  }>, Schema.Struct<{
@@ -12426,6 +12895,7 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
12426
12895
  readonly timestamp: Schema.String;
12427
12896
  readonly payload: Schema.Struct<{
12428
12897
  readonly issueId: Schema.String;
12898
+ readonly workspaceId: Schema.optional<Schema.String>;
12429
12899
  readonly sessionName: Schema.String;
12430
12900
  readonly reason: Schema.String;
12431
12901
  }>;
@@ -12447,6 +12917,7 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
12447
12917
  readonly payload: Schema.Struct<{
12448
12918
  readonly name: Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge"]>;
12449
12919
  readonly issueId: Schema.optional<Schema.String>;
12920
+ readonly workspaceId: Schema.optional<Schema.String>;
12450
12921
  }>;
12451
12922
  }>, Schema.Struct<{
12452
12923
  readonly type: Schema.Literal<"specialist.failed">;
@@ -12455,6 +12926,7 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
12455
12926
  readonly payload: Schema.Struct<{
12456
12927
  readonly name: Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge"]>;
12457
12928
  readonly issueId: Schema.optional<Schema.String>;
12929
+ readonly workspaceId: Schema.optional<Schema.String>;
12458
12930
  readonly error: Schema.String;
12459
12931
  }>;
12460
12932
  }>, Schema.Struct<{
@@ -12500,6 +12972,7 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
12500
12972
  readonly timestamp: Schema.String;
12501
12973
  readonly payload: Schema.Struct<{
12502
12974
  readonly issueId: Schema.optional<Schema.String>;
12975
+ readonly workspaceId: Schema.optional<Schema.String>;
12503
12976
  }>;
12504
12977
  }>, Schema.Struct<{
12505
12978
  readonly type: Schema.Literal<"issue.statusChanged">;
@@ -12507,6 +12980,7 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
12507
12980
  readonly timestamp: Schema.String;
12508
12981
  readonly payload: Schema.Struct<{
12509
12982
  readonly issueId: Schema.String;
12983
+ readonly workspaceId: Schema.optional<Schema.String>;
12510
12984
  readonly status: Schema.String;
12511
12985
  readonly canonicalStatus: Schema.String;
12512
12986
  readonly labels: Schema.optional<Schema.$Array<Schema.String>>;
@@ -12532,6 +13006,7 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
12532
13006
  readonly details: Schema.optional<Schema.String>;
12533
13007
  readonly output: Schema.optional<Schema.String>;
12534
13008
  readonly issueId: Schema.optional<Schema.String>;
13009
+ readonly workspaceId: Schema.optional<Schema.String>;
12535
13010
  readonly link: Schema.optional<Schema.String>;
12536
13011
  readonly desktop: Schema.optional<Schema.Boolean>;
12537
13012
  }>;
@@ -12546,6 +13021,7 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
12546
13021
  readonly message: Schema.String;
12547
13022
  readonly details: Schema.optional<Schema.String>;
12548
13023
  readonly issueId: Schema.optional<Schema.String>;
13024
+ readonly workspaceId: Schema.optional<Schema.String>;
12549
13025
  readonly triggeringEvent: Schema.optional<Schema.String>;
12550
13026
  }>;
12551
13027
  }>, Schema.Struct<{
@@ -12557,6 +13033,7 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
12557
13033
  readonly utterance: Schema.String;
12558
13034
  readonly priority: Schema.optional<Schema.Number>;
12559
13035
  readonly issueId: Schema.optional<Schema.String>;
13036
+ readonly workspaceId: Schema.optional<Schema.String>;
12560
13037
  readonly source: Schema.optional<Schema.String>;
12561
13038
  readonly eventType: Schema.optional<Schema.String>;
12562
13039
  }>;
@@ -12566,6 +13043,7 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
12566
13043
  readonly timestamp: Schema.String;
12567
13044
  readonly payload: Schema.Struct<{
12568
13045
  readonly issueId: Schema.String;
13046
+ readonly workspaceId: Schema.optional<Schema.String>;
12569
13047
  readonly content: Schema.String;
12570
13048
  }>;
12571
13049
  }>, Schema.Struct<{
@@ -12578,10 +13056,10 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
12578
13056
  readonly timestamp: Schema.String;
12579
13057
  readonly projectId: Schema.String;
12580
13058
  readonly workspaceId: Schema.String;
12581
- readonly issueId: Schema.String;
13059
+ readonly issueId: Schema.NullOr<Schema.String>;
12582
13060
  readonly runId: Schema.String;
12583
13061
  readonly sessionId: Schema.String;
12584
- readonly agentRole: Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge"]>;
13062
+ readonly agentRole: Schema.Union<readonly [Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge"]>, Schema.Literal<"conversation">]>;
12585
13063
  readonly agentHarness: Schema.String;
12586
13064
  readonly gitBranch: Schema.String;
12587
13065
  readonly sourceTranscriptOffset: Schema.Number;
@@ -12670,6 +13148,7 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
12670
13148
  readonly payload: Schema.Struct<{
12671
13149
  readonly projectId: Schema.String;
12672
13150
  readonly issueId: Schema.String;
13151
+ readonly workspaceId: Schema.optional<Schema.String>;
12673
13152
  readonly status: Schema.Literals<readonly ["healthy", "degraded", "failing"]>;
12674
13153
  readonly reason: Schema.NullOr<Schema.String>;
12675
13154
  readonly detail: Schema.optional<Schema.String>;
@@ -12679,10 +13158,10 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
12679
13158
  readonly identity: Schema.Struct<{
12680
13159
  readonly projectId: Schema.String;
12681
13160
  readonly workspaceId: Schema.String;
12682
- readonly issueId: Schema.String;
13161
+ readonly issueId: Schema.NullOr<Schema.String>;
12683
13162
  readonly runId: Schema.String;
12684
13163
  readonly sessionId: Schema.String;
12685
- readonly agentRole: Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge"]>;
13164
+ readonly agentRole: Schema.Union<readonly [Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge"]>, Schema.Literal<"conversation">]>;
12686
13165
  readonly agentHarness: Schema.String;
12687
13166
  }>;
12688
13167
  readonly surface: Schema.Literals<readonly ["spawn", "user-prompt"]>;
@@ -12713,6 +13192,7 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
12713
13192
  readonly payload: Schema.Struct<{
12714
13193
  readonly agentId: Schema.String;
12715
13194
  readonly issueId: Schema.String;
13195
+ readonly workspaceId: Schema.optional<Schema.String>;
12716
13196
  readonly cost: Schema.Number;
12717
13197
  readonly inputTokens: Schema.Number;
12718
13198
  readonly outputTokens: Schema.Number;
@@ -12723,6 +13203,7 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
12723
13203
  readonly timestamp: Schema.String;
12724
13204
  readonly payload: Schema.Struct<{
12725
13205
  readonly issueId: Schema.String;
13206
+ readonly workspaceId: Schema.optional<Schema.String>;
12726
13207
  readonly workspacePath: Schema.String;
12727
13208
  }>;
12728
13209
  }>, Schema.Struct<{
@@ -12731,6 +13212,7 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
12731
13212
  readonly timestamp: Schema.String;
12732
13213
  readonly payload: Schema.Struct<{
12733
13214
  readonly issueId: Schema.String;
13215
+ readonly workspaceId: Schema.optional<Schema.String>;
12734
13216
  }>;
12735
13217
  }>, Schema.Struct<{
12736
13218
  readonly type: Schema.Literal<"workspace.destroyed">;
@@ -12738,6 +13220,7 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
12738
13220
  readonly timestamp: Schema.String;
12739
13221
  readonly payload: Schema.Struct<{
12740
13222
  readonly issueId: Schema.String;
13223
+ readonly workspaceId: Schema.optional<Schema.String>;
12741
13224
  }>;
12742
13225
  }>, Schema.Struct<{
12743
13226
  readonly type: Schema.Literal<"workspace.deleted">;
@@ -12745,6 +13228,7 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
12745
13228
  readonly timestamp: Schema.String;
12746
13229
  readonly payload: Schema.Struct<{
12747
13230
  readonly issueId: Schema.String;
13231
+ readonly workspaceId: Schema.optional<Schema.String>;
12748
13232
  }>;
12749
13233
  }>, Schema.Struct<{
12750
13234
  readonly type: Schema.Literal<"workspace.aborted">;
@@ -12752,6 +13236,7 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
12752
13236
  readonly timestamp: Schema.String;
12753
13237
  readonly payload: Schema.Struct<{
12754
13238
  readonly issueId: Schema.String;
13239
+ readonly workspaceId: Schema.optional<Schema.String>;
12755
13240
  readonly sessionName: Schema.optional<Schema.String>;
12756
13241
  }>;
12757
13242
  }>, Schema.Struct<{
@@ -12761,6 +13246,7 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
12761
13246
  readonly payload: Schema.Struct<{
12762
13247
  readonly reason: Schema.String;
12763
13248
  readonly issueId: Schema.optional<Schema.String>;
13249
+ readonly workspaceId: Schema.optional<Schema.String>;
12764
13250
  readonly trigger: Schema.String;
12765
13251
  }>;
12766
13252
  }>, Schema.Struct<{
@@ -12770,6 +13256,7 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
12770
13256
  readonly payload: Schema.Struct<{
12771
13257
  readonly reason: Schema.String;
12772
13258
  readonly issueId: Schema.optional<Schema.String>;
13259
+ readonly workspaceId: Schema.optional<Schema.String>;
12773
13260
  readonly durationMs: Schema.Number;
12774
13261
  }>;
12775
13262
  }>, Schema.Struct<{
@@ -12779,6 +13266,7 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
12779
13266
  readonly payload: Schema.Struct<{
12780
13267
  readonly reason: Schema.String;
12781
13268
  readonly issueId: Schema.optional<Schema.String>;
13269
+ readonly workspaceId: Schema.optional<Schema.String>;
12782
13270
  readonly error: Schema.String;
12783
13271
  }>;
12784
13272
  }>, Schema.Struct<{
@@ -12908,6 +13396,19 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
12908
13396
  readonly lang: Schema.String;
12909
13397
  readonly truncated: Schema.Boolean;
12910
13398
  readonly totalLines: Schema.Number;
13399
+ }>, typeof PanRpcError, never, never> | Rpc.Rpc<"pan.readFileAtPath", Schema.Struct<{
13400
+ readonly path: Schema.String;
13401
+ }>, Schema.Struct<{
13402
+ readonly text: Schema.String;
13403
+ readonly lang: Schema.String;
13404
+ readonly mtimeMs: Schema.Number;
13405
+ readonly totalLines: Schema.Number;
13406
+ }>, typeof PanRpcError, never, never> | Rpc.Rpc<"pan.writeFileAtPath", Schema.Struct<{
13407
+ readonly path: Schema.String;
13408
+ readonly content: Schema.String;
13409
+ readonly expectedMtimeMs: Schema.optional<Schema.Number>;
13410
+ }>, Schema.Struct<{
13411
+ readonly mtimeMs: Schema.Number;
12911
13412
  }>, typeof PanRpcError, never, never> | Rpc.Rpc<"pan.resolveFilePathExists", Schema.Struct<{
12912
13413
  readonly cwd: Schema.String;
12913
13414
  readonly path: Schema.String;
@@ -13013,18 +13514,22 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
13013
13514
  }>]>, typeof PanRpcError>, Schema.Never, never, never> | Rpc.Rpc<"pan.subscribeProjectSessionTree", Schema.Struct<{
13014
13515
  readonly projectKey: Schema.String;
13015
13516
  }>, _$effect_unstable_rpc_RpcSchema0.Stream<Schema.Struct<{
13016
- readonly kind: Schema.Literals<readonly ["session_added", "session_removed", "presence_changed", "status_changed"]>;
13517
+ readonly kind: Schema.Literals<readonly ["session_added", "session_removed", "presence_changed", "status_changed", "pending_input_changed"]>;
13017
13518
  readonly issueId: Schema.String;
13018
13519
  readonly sessionId: Schema.String;
13019
13520
  readonly presence: Schema.optional<Schema.Literals<readonly ["active", "idle", "suspended", "ended"]>>;
13020
13521
  readonly status: Schema.optional<Schema.Literals<readonly ["starting", "running", "stopped", "error", "unknown"]>>;
13522
+ readonly awaitingInput: Schema.optional<Schema.Boolean>;
13523
+ readonly awaitingInputPrompt: Schema.optional<Schema.String>;
13524
+ readonly awaitingInputReason: Schema.optional<Schema.String>;
13525
+ readonly pendingInputKinds: Schema.optional<Schema.$Array<Schema.String>>;
13021
13526
  readonly timestamp: Schema.String;
13022
13527
  }>, typeof PanRpcError>, Schema.Never, never, never> | Rpc.Rpc<"pan.subscribeFlywheelStatus", Schema.Struct<{}>, _$effect_unstable_rpc_RpcSchema0.Stream<Schema.NullOr<Schema.Struct<{
13023
13528
  readonly runId: Schema.String;
13024
13529
  readonly startedAt: Schema.String;
13025
13530
  readonly elapsedMs: Schema.Number;
13026
13531
  readonly orchestrator: Schema.Struct<{
13027
- readonly harness: Schema.Literals<readonly ["claude-code", "pi", "ohmypi", "codex", "acp"]>;
13532
+ readonly harness: Schema.Literals<readonly ["claude-code", "pi", "ohmypi", "codex", "acp", "kimi-code"]>;
13028
13533
  readonly model: Schema.String;
13029
13534
  readonly effort: Schema.Literals<readonly ["low", "medium", "high", "xhigh", "max"]>;
13030
13535
  readonly ctxPercent: Schema.Number;
@@ -13743,7 +14248,7 @@ declare const FlywheelRunId: Schema.String;
13743
14248
  type FlywheelRunId = typeof FlywheelRunId.Type;
13744
14249
  declare const FlywheelHttpUrl: Schema.String;
13745
14250
  type FlywheelHttpUrl = typeof FlywheelHttpUrl.Type;
13746
- declare const FlywheelHarness: Schema.Literals<readonly ["claude-code", "pi", "ohmypi", "codex", "acp"]>;
14251
+ declare const FlywheelHarness: Schema.Literals<readonly ["claude-code", "pi", "ohmypi", "codex", "acp", "kimi-code"]>;
13747
14252
  interface FlywheelOrchestrator {
13748
14253
  harness: typeof FlywheelHarness.Type;
13749
14254
  model: string;
@@ -13752,7 +14257,7 @@ interface FlywheelOrchestrator {
13752
14257
  }
13753
14258
  declare const FlywheelEffort: Schema.Literals<readonly ["low", "medium", "high", "xhigh", "max"]>;
13754
14259
  declare const FlywheelOrchestrator: Schema.Struct<{
13755
- readonly harness: Schema.Literals<readonly ["claude-code", "pi", "ohmypi", "codex", "acp"]>;
14260
+ readonly harness: Schema.Literals<readonly ["claude-code", "pi", "ohmypi", "codex", "acp", "kimi-code"]>;
13756
14261
  readonly model: Schema.String;
13757
14262
  readonly effort: Schema.Literals<readonly ["low", "medium", "high", "xhigh", "max"]>;
13758
14263
  readonly ctxPercent: Schema.Number;
@@ -13955,7 +14460,7 @@ declare const FlywheelStatus: Schema.Struct<{
13955
14460
  readonly startedAt: Schema.String;
13956
14461
  readonly elapsedMs: Schema.Number;
13957
14462
  readonly orchestrator: Schema.Struct<{
13958
- readonly harness: Schema.Literals<readonly ["claude-code", "pi", "ohmypi", "codex", "acp"]>;
14463
+ readonly harness: Schema.Literals<readonly ["claude-code", "pi", "ohmypi", "codex", "acp", "kimi-code"]>;
13959
14464
  readonly model: Schema.String;
13960
14465
  readonly effort: Schema.Literals<readonly ["low", "medium", "high", "xhigh", "max"]>;
13961
14466
  readonly ctxPercent: Schema.Number;
@@ -14596,10 +15101,10 @@ declare const OrderBookIndexEntry: Schema.Struct<{
14596
15101
  //#endregion
14597
15102
  //#region src/context-layers.d.ts
14598
15103
  declare const CONTEXT_LAYER_KINDS: readonly ["global", "project", "workspace"];
14599
- declare const CONTEXT_PREVIEW_HARNESSES: readonly ["claude-code", "ohmypi", "codex", "acp"];
15104
+ declare const CONTEXT_PREVIEW_HARNESSES: readonly ["claude-code", "ohmypi", "codex", "acp", "kimi-code"];
14600
15105
  declare const ContextLayerKind: Schema.Literals<readonly ["global", "project", "workspace"]>;
14601
15106
  type ContextLayerKind = typeof ContextLayerKind.Type;
14602
- declare const ContextPreviewHarness: Schema.Literals<readonly ["claude-code", "ohmypi", "codex", "acp"]>;
15107
+ declare const ContextPreviewHarness: Schema.Literals<readonly ["claude-code", "ohmypi", "codex", "acp", "kimi-code"]>;
14603
15108
  type ContextPreviewHarness = typeof ContextPreviewHarness.Type;
14604
15109
  declare const ContextProjectSummary: Schema.Struct<{
14605
15110
  readonly projectKey: Schema.String;
@@ -14716,7 +15221,7 @@ type ContextLayerDraft = typeof ContextLayerDraft.Type;
14716
15221
  * their own content is preserved.
14717
15222
  */
14718
15223
  declare const ContextSyncTarget: Schema.Struct<{
14719
- readonly harness: Schema.Literals<readonly ["claude-code", "ohmypi", "codex", "acp"]>;
15224
+ readonly harness: Schema.Literals<readonly ["claude-code", "ohmypi", "codex", "acp", "kimi-code"]>;
14720
15225
  readonly layerKind: Schema.Literals<readonly ["global", "project"]>;
14721
15226
  readonly projectKey: Schema.optional<Schema.String>; /** Short human label, e.g. "Claude Code · global". */
14722
15227
  readonly label: Schema.String; /** Resolved absolute path of the target file. */
@@ -14766,7 +15271,7 @@ declare const ContextLayersResponse: Schema.Struct<{
14766
15271
  readonly workspacePath: Schema.String;
14767
15272
  }>]>>; /** Injection targets `pan sync` writes managed regions into. */
14768
15273
  readonly targets: Schema.$Array<Schema.Struct<{
14769
- readonly harness: Schema.Literals<readonly ["claude-code", "ohmypi", "codex", "acp"]>;
15274
+ readonly harness: Schema.Literals<readonly ["claude-code", "ohmypi", "codex", "acp", "kimi-code"]>;
14770
15275
  readonly layerKind: Schema.Literals<readonly ["global", "project"]>;
14771
15276
  readonly projectKey: Schema.optional<Schema.String>; /** Short human label, e.g. "Claude Code · global". */
14772
15277
  readonly label: Schema.String; /** Resolved absolute path of the target file. */
@@ -14809,6 +15314,7 @@ declare const ContextHarnessPreviews: Schema.Struct<{
14809
15314
  readonly ohmypi: Schema.String;
14810
15315
  readonly codex: Schema.String;
14811
15316
  readonly acp: Schema.String;
15317
+ readonly "kimi-code": Schema.String;
14812
15318
  readonly fullPrompt: Schema.String;
14813
15319
  }>;
14814
15320
  type ContextHarnessPreviews = typeof ContextHarnessPreviews.Type;
@@ -14834,6 +15340,7 @@ declare const ContextPreviewResponse: Schema.Struct<{
14834
15340
  readonly ohmypi: Schema.String;
14835
15341
  readonly codex: Schema.String;
14836
15342
  readonly acp: Schema.String;
15343
+ readonly "kimi-code": Schema.String;
14837
15344
  readonly fullPrompt: Schema.String;
14838
15345
  }>;
14839
15346
  readonly diagnostics: Schema.$Array<Schema.Struct<{
@@ -14917,7 +15424,7 @@ declare const ArtifactHash: Schema.String;
14917
15424
  type ArtifactHash = typeof ArtifactHash.Type;
14918
15425
  declare const ArtifactAgentRole: Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "user"]>;
14919
15426
  type ArtifactAgentRole = typeof ArtifactAgentRole.Type;
14920
- declare const ArtifactAgentHarness: Schema.Literals<readonly ["claude-code", "pi", "ohmypi", "codex", "acp", "user"]>;
15427
+ declare const ArtifactAgentHarness: Schema.Literals<readonly ["claude-code", "pi", "ohmypi", "codex", "acp", "kimi-code", "user"]>;
14921
15428
  type ArtifactAgentHarness = typeof ArtifactAgentHarness.Type;
14922
15429
  declare const ArtifactLifecycleState: Schema.Literals<readonly ["published", "pending_changes", "unshared"]>;
14923
15430
  type ArtifactLifecycleState = typeof ArtifactLifecycleState.Type;
@@ -14962,7 +15469,7 @@ declare const ArtifactMetadata: Schema.Struct<{
14962
15469
  readonly issueId: Schema.optional<Schema.NullOr<Schema.String>>;
14963
15470
  readonly workspaceId: Schema.optional<Schema.NullOr<Schema.String>>;
14964
15471
  readonly agentRole: Schema.optional<Schema.NullOr<Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "user"]>>>;
14965
- readonly agentHarness: Schema.optional<Schema.NullOr<Schema.Literals<readonly ["claude-code", "pi", "ohmypi", "codex", "acp", "user"]>>>;
15472
+ readonly agentHarness: Schema.optional<Schema.NullOr<Schema.Literals<readonly ["claude-code", "pi", "ohmypi", "codex", "acp", "kimi-code", "user"]>>>;
14966
15473
  readonly runId: Schema.optional<Schema.NullOr<Schema.String>>;
14967
15474
  readonly sessionId: Schema.optional<Schema.NullOr<Schema.String>>;
14968
15475
  readonly filePath: Schema.String;
@@ -14988,7 +15495,7 @@ declare const ArtifactStatusResponse: Schema.Struct<{
14988
15495
  readonly issueId: Schema.optional<Schema.NullOr<Schema.String>>;
14989
15496
  readonly workspaceId: Schema.optional<Schema.NullOr<Schema.String>>;
14990
15497
  readonly agentRole: Schema.optional<Schema.NullOr<Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "user"]>>>;
14991
- readonly agentHarness: Schema.optional<Schema.NullOr<Schema.Literals<readonly ["claude-code", "pi", "ohmypi", "codex", "acp", "user"]>>>;
15498
+ readonly agentHarness: Schema.optional<Schema.NullOr<Schema.Literals<readonly ["claude-code", "pi", "ohmypi", "codex", "acp", "kimi-code", "user"]>>>;
14992
15499
  readonly runId: Schema.optional<Schema.NullOr<Schema.String>>;
14993
15500
  readonly sessionId: Schema.optional<Schema.NullOr<Schema.String>>;
14994
15501
  readonly filePath: Schema.String;
@@ -15037,7 +15544,7 @@ declare const ArtifactCreateResponse: Schema.Struct<{
15037
15544
  readonly issueId: Schema.optional<Schema.NullOr<Schema.String>>;
15038
15545
  readonly workspaceId: Schema.optional<Schema.NullOr<Schema.String>>;
15039
15546
  readonly agentRole: Schema.optional<Schema.NullOr<Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "user"]>>>;
15040
- readonly agentHarness: Schema.optional<Schema.NullOr<Schema.Literals<readonly ["claude-code", "pi", "ohmypi", "codex", "acp", "user"]>>>;
15547
+ readonly agentHarness: Schema.optional<Schema.NullOr<Schema.Literals<readonly ["claude-code", "pi", "ohmypi", "codex", "acp", "kimi-code", "user"]>>>;
15041
15548
  readonly runId: Schema.optional<Schema.NullOr<Schema.String>>;
15042
15549
  readonly sessionId: Schema.optional<Schema.NullOr<Schema.String>>;
15043
15550
  readonly filePath: Schema.String;
@@ -15087,7 +15594,7 @@ declare const ArtifactPublishResponse: Schema.Struct<{
15087
15594
  readonly issueId: Schema.optional<Schema.NullOr<Schema.String>>;
15088
15595
  readonly workspaceId: Schema.optional<Schema.NullOr<Schema.String>>;
15089
15596
  readonly agentRole: Schema.optional<Schema.NullOr<Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "user"]>>>;
15090
- readonly agentHarness: Schema.optional<Schema.NullOr<Schema.Literals<readonly ["claude-code", "pi", "ohmypi", "codex", "acp", "user"]>>>;
15597
+ readonly agentHarness: Schema.optional<Schema.NullOr<Schema.Literals<readonly ["claude-code", "pi", "ohmypi", "codex", "acp", "kimi-code", "user"]>>>;
15091
15598
  readonly runId: Schema.optional<Schema.NullOr<Schema.String>>;
15092
15599
  readonly sessionId: Schema.optional<Schema.NullOr<Schema.String>>;
15093
15600
  readonly filePath: Schema.String;
@@ -15138,7 +15645,7 @@ declare const ArtifactUnshareResponse: Schema.Struct<{
15138
15645
  readonly issueId: Schema.optional<Schema.NullOr<Schema.String>>;
15139
15646
  readonly workspaceId: Schema.optional<Schema.NullOr<Schema.String>>;
15140
15647
  readonly agentRole: Schema.optional<Schema.NullOr<Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "user"]>>>;
15141
- readonly agentHarness: Schema.optional<Schema.NullOr<Schema.Literals<readonly ["claude-code", "pi", "ohmypi", "codex", "acp", "user"]>>>;
15648
+ readonly agentHarness: Schema.optional<Schema.NullOr<Schema.Literals<readonly ["claude-code", "pi", "ohmypi", "codex", "acp", "kimi-code", "user"]>>>;
15142
15649
  readonly runId: Schema.optional<Schema.NullOr<Schema.String>>;
15143
15650
  readonly sessionId: Schema.optional<Schema.NullOr<Schema.String>>;
15144
15651
  readonly filePath: Schema.String;
@@ -15161,7 +15668,7 @@ declare const ArtifactListEntry: Schema.Struct<{
15161
15668
  readonly issueId: Schema.optional<Schema.NullOr<Schema.String>>;
15162
15669
  readonly workspaceId: Schema.optional<Schema.NullOr<Schema.String>>;
15163
15670
  readonly agentRole: Schema.optional<Schema.NullOr<Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "user"]>>>;
15164
- readonly agentHarness: Schema.optional<Schema.NullOr<Schema.Literals<readonly ["claude-code", "pi", "ohmypi", "codex", "acp", "user"]>>>;
15671
+ readonly agentHarness: Schema.optional<Schema.NullOr<Schema.Literals<readonly ["claude-code", "pi", "ohmypi", "codex", "acp", "kimi-code", "user"]>>>;
15165
15672
  readonly runId: Schema.optional<Schema.NullOr<Schema.String>>;
15166
15673
  readonly sessionId: Schema.optional<Schema.NullOr<Schema.String>>;
15167
15674
  readonly filePath: Schema.String;
@@ -15191,7 +15698,7 @@ declare const ArtifactListResponse: Schema.Struct<{
15191
15698
  readonly issueId: Schema.optional<Schema.NullOr<Schema.String>>;
15192
15699
  readonly workspaceId: Schema.optional<Schema.NullOr<Schema.String>>;
15193
15700
  readonly agentRole: Schema.optional<Schema.NullOr<Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "user"]>>>;
15194
- readonly agentHarness: Schema.optional<Schema.NullOr<Schema.Literals<readonly ["claude-code", "pi", "ohmypi", "codex", "acp", "user"]>>>;
15701
+ readonly agentHarness: Schema.optional<Schema.NullOr<Schema.Literals<readonly ["claude-code", "pi", "ohmypi", "codex", "acp", "kimi-code", "user"]>>>;
15195
15702
  readonly runId: Schema.optional<Schema.NullOr<Schema.String>>;
15196
15703
  readonly sessionId: Schema.optional<Schema.NullOr<Schema.String>>;
15197
15704
  readonly filePath: Schema.String;
@@ -15221,7 +15728,7 @@ declare const ArtifactDetailResponse: Schema.Struct<{
15221
15728
  readonly issueId: Schema.optional<Schema.NullOr<Schema.String>>;
15222
15729
  readonly workspaceId: Schema.optional<Schema.NullOr<Schema.String>>;
15223
15730
  readonly agentRole: Schema.optional<Schema.NullOr<Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "user"]>>>;
15224
- readonly agentHarness: Schema.optional<Schema.NullOr<Schema.Literals<readonly ["claude-code", "pi", "ohmypi", "codex", "acp", "user"]>>>;
15731
+ readonly agentHarness: Schema.optional<Schema.NullOr<Schema.Literals<readonly ["claude-code", "pi", "ohmypi", "codex", "acp", "kimi-code", "user"]>>>;
15225
15732
  readonly runId: Schema.optional<Schema.NullOr<Schema.String>>;
15226
15733
  readonly sessionId: Schema.optional<Schema.NullOr<Schema.String>>;
15227
15734
  readonly filePath: Schema.String;
@@ -15252,7 +15759,7 @@ declare const WorkspaceArtifactsResponse: Schema.Struct<{
15252
15759
  readonly issueId: Schema.optional<Schema.NullOr<Schema.String>>;
15253
15760
  readonly workspaceId: Schema.optional<Schema.NullOr<Schema.String>>;
15254
15761
  readonly agentRole: Schema.optional<Schema.NullOr<Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "user"]>>>;
15255
- readonly agentHarness: Schema.optional<Schema.NullOr<Schema.Literals<readonly ["claude-code", "pi", "ohmypi", "codex", "acp", "user"]>>>;
15762
+ readonly agentHarness: Schema.optional<Schema.NullOr<Schema.Literals<readonly ["claude-code", "pi", "ohmypi", "codex", "acp", "kimi-code", "user"]>>>;
15256
15763
  readonly runId: Schema.optional<Schema.NullOr<Schema.String>>;
15257
15764
  readonly sessionId: Schema.optional<Schema.NullOr<Schema.String>>;
15258
15765
  readonly filePath: Schema.String;
@@ -15328,13 +15835,13 @@ interface FeatureRegistryOwnershipUpdate {
15328
15835
  //#region src/harness-behavior.d.ts
15329
15836
  type RuntimeName = Harness;
15330
15837
  type HarnessName = RuntimeName | "pi";
15331
- type HarnessLaunchCommandKind = "claude-code" | "ohmypi-rpc" | "codex-work-tui" | "codex-app-server" | "acp-host";
15838
+ type HarnessLaunchCommandKind = "claude-code" | "ohmypi-rpc" | "codex-work-tui" | "codex-app-server" | "acp-host" | "kimi-code-tui";
15332
15839
  type HarnessDeliveryKind = "pty-supervisor" | "rpc-fifo" | "codex-exec-resume" | "codex-app-server-rpc" | "acp-host-rpc" | "tmux-paste";
15333
- type HarnessReadinessKind = "claude-session-signal" | "ohmypi-ready-file" | "codex-tui-prompt" | "codex-app-server-ready" | "acp-host-ready";
15334
- type HarnessTranscriptKind = "claude-jsonl" | "ohmypi-jsonl" | "codex-rollout-jsonl" | "acp-jsonl";
15335
- type HarnessSessionIdSource = "launcher-session-id" | "transcript-jsonl" | "codex-thread-id" | "acp-session-id";
15336
- type HarnessContextLayerKind = "claude" | "pi" | "codex" | "acp";
15337
- type HarnessFeedKind = "claude_code" | "pi" | "codex" | "acp";
15840
+ type HarnessReadinessKind = "claude-session-signal" | "ohmypi-ready-file" | "codex-tui-prompt" | "codex-app-server-ready" | "acp-host-ready" | "kimi-session-signal";
15841
+ type HarnessTranscriptKind = "claude-jsonl" | "ohmypi-jsonl" | "codex-rollout-jsonl" | "acp-jsonl" | "kimi-wire-jsonl";
15842
+ type HarnessSessionIdSource = "launcher-session-id" | "transcript-jsonl" | "codex-thread-id" | "acp-session-id" | "kimi-session-newest";
15843
+ type HarnessContextLayerKind = "claude" | "pi" | "codex" | "acp" | "kimi-code";
15844
+ type HarnessFeedKind = "claude_code" | "pi" | "codex" | "acp" | "kimi_code";
15338
15845
  interface HarnessNativeCommand {
15339
15846
  readonly name: string;
15340
15847
  readonly description: string;
@@ -15359,13 +15866,14 @@ interface HarnessBehavior {
15359
15866
  readonly usesRpcFifo: boolean;
15360
15867
  readonly usesCodexHome: boolean;
15361
15868
  readonly injectsPromptTimeMemory: boolean;
15362
- readonly workAgentMode: "claude-code" | "ohmypi-rpc" | "codex-work-tui" | "codex-app-server" | "acp-host";
15869
+ readonly workAgentMode: "claude-code" | "ohmypi-rpc" | "codex-work-tui" | "codex-app-server" | "acp-host" | "kimi-code-tui";
15363
15870
  readonly readyTimeoutSeconds: number;
15364
15871
  }
15365
15872
  declare const CLAUDE_CODE_BEHAVIOR: HarnessBehavior;
15366
15873
  declare const OHMYPI_BEHAVIOR: HarnessBehavior;
15367
15874
  declare const CODEX_BEHAVIOR: HarnessBehavior;
15368
15875
  declare const ACP_BEHAVIOR: HarnessBehavior;
15876
+ declare const KIMI_CODE_BEHAVIOR: HarnessBehavior;
15369
15877
  declare function getHarnessBehavior(harness: HarnessName | undefined | null): HarnessBehavior;
15370
15878
  declare function getRuntimeBehavior(runtime: RuntimeName): HarnessBehavior;
15371
15879
  //#endregion
@@ -15807,12 +16315,12 @@ declare const TELEMETRY_PROPERTY_DOMAINS: {
15807
16315
  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"];
15808
16316
  readonly close_out_variant: readonly ["card", "inspector"];
15809
16317
  readonly count_bucket: readonly ["0", "1-2", "3-5", "6-10", "11+"];
15810
- 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"];
16318
+ 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"];
15811
16319
  readonly decision_subject: readonly ["agent", "conversation"];
15812
16320
  readonly duration_bucket: readonly ["under_100ms", "100ms-999ms", "1s-9s", "10s+"];
15813
16321
  readonly forge: readonly ["github", "gitlab"];
15814
16322
  readonly fork_kind: readonly ["summary", "handoff", "plain"];
15815
- readonly harness: readonly ["claude-code", "ohmypi", "codex", "acp"];
16323
+ readonly harness: readonly ["claude-code", "ohmypi", "codex", "acp", "kimi-code"];
15816
16324
  readonly merge_kind: readonly ["pipeline"];
15817
16325
  readonly model_family: readonly ["claude", "gpt", "gemini", "kimi", "minimax", "glm", "mimo", "other"];
15818
16326
  readonly pipeline_stage: readonly ["work_done", "review_passed", "verification_passed", "merged", "closed_out"];
@@ -16032,5 +16540,5 @@ type ComposerCommandResult = {
16032
16540
  readonly message: string;
16033
16541
  };
16034
16542
  //#endregion
16035
- export { ACP_BEHAVIOR, Activity, ActivityDetailedEvent, ActivityEntryEvent, ActivityTtsEvent, ActivityUpdatedEvent, AdmissionState, AgentActivityChangedEvent, AgentChannelReply, AgentChannelReplyEvent, AgentCompletedEvent, AgentContextSaturationChangedEvent, AgentCreatedEvent, AgentCurrentIssueSetEvent, AgentEnrichmentChangedEvent, AgentHealthKind, AgentHealthSnapshot, AgentHealthStatus, AgentHeartbeatDeadEvent, 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, 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, Harness, HarnessBehavior, HarnessContextLayerKind, HarnessDeliveryKind, HarnessFeedKind, HarnessLaunchCommandKind, HarnessName, HarnessNativeCommand, HarnessReadinessKind, HarnessSessionIdSource, HarnessTranscriptKind, HealthReason, HealthState, HostHealthMetrics, HostPlatform, HygieneFinding, HygienePullRequest, HygieneReport, INITIAL_READ_MODEL_STATE, IssueClosedOutProperties, IssueId, IssueMergedProperties, IssuePipelineMembership, IssueStatusChangedEvent, IssueTransitionedEvent, IssuesSnapshotEvent, IssuesUpdatedEvent, 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, 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, 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, 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, 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, UpdateChannel, UpdateCompatibility, UpdateInstallMode, UpdatePhase, UpdateSnapshot, VerificationStatusValue, WS_METHODS, WaitingReason, WaitingState, WorkCompletedEvent, WorkLogEntry, WorkspaceAbortedEvent, WorkspaceArtifactsResponse, WorkspaceContextLayerRecord, WorkspaceContextLayerTarget, WorkspaceCreatedEvent, WorkspaceDeletedEvent, WorkspaceDestroyedEvent, WorkspaceDetail, WorkspaceWipeStartedEvent, applyEvent, applyEvents, compareIssueIds, decodeFlywheelStats, encodeFlywheelStats, getHarness, getHarnessBehavior, getMaxMemoryObservationsPerIssue, getMaxTurnDiffSummariesPerAgent, getRuntimeBehavior, isChannelReplyKind, isTerminalTurnDiffSummaryStatus, normalizeChannelReplyPayload, omitTurnDiffSummariesForAgent, projectLegacySystemHealthSummary, syncSnapshot, trimMemoryObservations, trimTurnDiffSummaries };
16543
+ export { ACP_BEHAVIOR, Activity, ActivityDetailedEvent, ActivityEntryEvent, ActivityTtsEvent, ActivityUpdatedEvent, AdmissionState, AgentActivityChangedEvent, AgentChannelReply, AgentChannelReplyEvent, AgentCompletedEvent, AgentContextSaturationChangedEvent, AgentCreatedEvent, AgentCurrentIssueSetEvent, AgentEnrichmentChangedEvent, AgentHealthKind, AgentHealthSnapshot, AgentHealthStatus, AgentHeartbeatDeadEvent, 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, 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, Harness, HarnessBehavior, HarnessContextLayerKind, HarnessDeliveryKind, HarnessFeedKind, HarnessLaunchCommandKind, HarnessName, HarnessNativeCommand, HarnessReadinessKind, HarnessSessionIdSource, HarnessTranscriptKind, HealthReason, HealthState, 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, 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, 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, UpdateChannel, UpdateCompatibility, UpdateInstallMode, UpdatePhase, UpdateSnapshot, VerificationStatusValue, WS_METHODS, WaitingReason, WaitingState, 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 };
16036
16544
  //# sourceMappingURL=index.d.ts.map