agent-dealer 1.2.6 → 1.2.7

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.
@@ -15,6 +15,7 @@ export * from "./attempt-waste.js";
15
15
  export * from "./profile-snapshot.js";
16
16
  export * from "./workflow.js";
17
17
  export * from "./human-actions.js";
18
+ export * from "./action-presentation.js";
18
19
  export * from "./findings.js";
19
20
  export * from "./usage-events.js";
20
21
  export * from "./runtime-availability.js";
@@ -544,7 +545,7 @@ export declare const Run: z.ZodObject<{
544
545
  externalLabel: string | null;
545
546
  description: string | null;
546
547
  acceptanceCriteria: string | null;
547
- taskCategory: "code" | "email" | "communication" | "research" | "content" | "other";
548
+ taskCategory: "other" | "code" | "email" | "communication" | "research" | "content";
548
549
  artifactWorkspace: string | null;
549
550
  agentName: string | null;
550
551
  planModel: string | null;
@@ -569,7 +570,7 @@ export declare const Run: z.ZodObject<{
569
570
  externalLabel: string | null;
570
571
  description: string | null;
571
572
  acceptanceCriteria: string | null;
572
- taskCategory: "code" | "email" | "communication" | "research" | "content" | "other";
573
+ taskCategory: "other" | "code" | "email" | "communication" | "research" | "content";
573
574
  artifactWorkspace: string | null;
574
575
  agentName: string | null;
575
576
  planModel: string | null;
@@ -698,7 +699,7 @@ export declare const CreateRunInput: z.ZodObject<{
698
699
  status: "queued" | "plan_pending" | "plan_approved";
699
700
  agentId: string;
700
701
  title: string;
701
- taskCategory: "code" | "email" | "communication" | "research" | "content" | "other";
702
+ taskCategory: "other" | "code" | "email" | "communication" | "research" | "content";
702
703
  repo?: string | undefined;
703
704
  description?: string | undefined;
704
705
  acceptanceCriteria?: string | undefined;
@@ -726,7 +727,7 @@ export declare const CreateRunInput: z.ZodObject<{
726
727
  repo?: string | undefined;
727
728
  description?: string | undefined;
728
729
  acceptanceCriteria?: string | undefined;
729
- taskCategory?: "code" | "email" | "communication" | "research" | "content" | "other" | undefined;
730
+ taskCategory?: "other" | "code" | "email" | "communication" | "research" | "content" | undefined;
730
731
  artifactWorkspace?: string | undefined;
731
732
  planModel?: string | null | undefined;
732
733
  executeModel?: string | null | undefined;
@@ -1258,7 +1259,7 @@ export declare const QueueSnapshot: z.ZodObject<{
1258
1259
  externalLabel: string | null;
1259
1260
  description: string | null;
1260
1261
  acceptanceCriteria: string | null;
1261
- taskCategory: "code" | "email" | "communication" | "research" | "content" | "other";
1262
+ taskCategory: "other" | "code" | "email" | "communication" | "research" | "content";
1262
1263
  artifactWorkspace: string | null;
1263
1264
  agentName: string | null;
1264
1265
  planModel: string | null;
@@ -1283,7 +1284,7 @@ export declare const QueueSnapshot: z.ZodObject<{
1283
1284
  externalLabel: string | null;
1284
1285
  description: string | null;
1285
1286
  acceptanceCriteria: string | null;
1286
- taskCategory: "code" | "email" | "communication" | "research" | "content" | "other";
1287
+ taskCategory: "other" | "code" | "email" | "communication" | "research" | "content";
1287
1288
  artifactWorkspace: string | null;
1288
1289
  agentName: string | null;
1289
1290
  planModel: string | null;
@@ -1337,7 +1338,7 @@ export declare const QueueSnapshot: z.ZodObject<{
1337
1338
  externalLabel: string | null;
1338
1339
  description: string | null;
1339
1340
  acceptanceCriteria: string | null;
1340
- taskCategory: "code" | "email" | "communication" | "research" | "content" | "other";
1341
+ taskCategory: "other" | "code" | "email" | "communication" | "research" | "content";
1341
1342
  artifactWorkspace: string | null;
1342
1343
  agentName: string | null;
1343
1344
  planModel: string | null;
@@ -1362,7 +1363,7 @@ export declare const QueueSnapshot: z.ZodObject<{
1362
1363
  externalLabel: string | null;
1363
1364
  description: string | null;
1364
1365
  acceptanceCriteria: string | null;
1365
- taskCategory: "code" | "email" | "communication" | "research" | "content" | "other";
1366
+ taskCategory: "other" | "code" | "email" | "communication" | "research" | "content";
1366
1367
  artifactWorkspace: string | null;
1367
1368
  agentName: string | null;
1368
1369
  planModel: string | null;
@@ -1416,7 +1417,7 @@ export declare const QueueSnapshot: z.ZodObject<{
1416
1417
  externalLabel: string | null;
1417
1418
  description: string | null;
1418
1419
  acceptanceCriteria: string | null;
1419
- taskCategory: "code" | "email" | "communication" | "research" | "content" | "other";
1420
+ taskCategory: "other" | "code" | "email" | "communication" | "research" | "content";
1420
1421
  artifactWorkspace: string | null;
1421
1422
  agentName: string | null;
1422
1423
  planModel: string | null;
@@ -1441,7 +1442,7 @@ export declare const QueueSnapshot: z.ZodObject<{
1441
1442
  externalLabel: string | null;
1442
1443
  description: string | null;
1443
1444
  acceptanceCriteria: string | null;
1444
- taskCategory: "code" | "email" | "communication" | "research" | "content" | "other";
1445
+ taskCategory: "other" | "code" | "email" | "communication" | "research" | "content";
1445
1446
  artifactWorkspace: string | null;
1446
1447
  agentName: string | null;
1447
1448
  planModel: string | null;
@@ -1495,7 +1496,7 @@ export declare const QueueSnapshot: z.ZodObject<{
1495
1496
  externalLabel: string | null;
1496
1497
  description: string | null;
1497
1498
  acceptanceCriteria: string | null;
1498
- taskCategory: "code" | "email" | "communication" | "research" | "content" | "other";
1499
+ taskCategory: "other" | "code" | "email" | "communication" | "research" | "content";
1499
1500
  artifactWorkspace: string | null;
1500
1501
  agentName: string | null;
1501
1502
  planModel: string | null;
@@ -1520,7 +1521,7 @@ export declare const QueueSnapshot: z.ZodObject<{
1520
1521
  externalLabel: string | null;
1521
1522
  description: string | null;
1522
1523
  acceptanceCriteria: string | null;
1523
- taskCategory: "code" | "email" | "communication" | "research" | "content" | "other";
1524
+ taskCategory: "other" | "code" | "email" | "communication" | "research" | "content";
1524
1525
  artifactWorkspace: string | null;
1525
1526
  agentName: string | null;
1526
1527
  planModel: string | null;
@@ -1574,7 +1575,7 @@ export declare const QueueSnapshot: z.ZodObject<{
1574
1575
  externalLabel: string | null;
1575
1576
  description: string | null;
1576
1577
  acceptanceCriteria: string | null;
1577
- taskCategory: "code" | "email" | "communication" | "research" | "content" | "other";
1578
+ taskCategory: "other" | "code" | "email" | "communication" | "research" | "content";
1578
1579
  artifactWorkspace: string | null;
1579
1580
  agentName: string | null;
1580
1581
  planModel: string | null;
@@ -1599,7 +1600,7 @@ export declare const QueueSnapshot: z.ZodObject<{
1599
1600
  externalLabel: string | null;
1600
1601
  description: string | null;
1601
1602
  acceptanceCriteria: string | null;
1602
- taskCategory: "code" | "email" | "communication" | "research" | "content" | "other";
1603
+ taskCategory: "other" | "code" | "email" | "communication" | "research" | "content";
1603
1604
  artifactWorkspace: string | null;
1604
1605
  agentName: string | null;
1605
1606
  planModel: string | null;
@@ -1653,7 +1654,7 @@ export declare const QueueSnapshot: z.ZodObject<{
1653
1654
  externalLabel: string | null;
1654
1655
  description: string | null;
1655
1656
  acceptanceCriteria: string | null;
1656
- taskCategory: "code" | "email" | "communication" | "research" | "content" | "other";
1657
+ taskCategory: "other" | "code" | "email" | "communication" | "research" | "content";
1657
1658
  artifactWorkspace: string | null;
1658
1659
  agentName: string | null;
1659
1660
  planModel: string | null;
@@ -1678,7 +1679,7 @@ export declare const QueueSnapshot: z.ZodObject<{
1678
1679
  externalLabel: string | null;
1679
1680
  description: string | null;
1680
1681
  acceptanceCriteria: string | null;
1681
- taskCategory: "code" | "email" | "communication" | "research" | "content" | "other";
1682
+ taskCategory: "other" | "code" | "email" | "communication" | "research" | "content";
1682
1683
  artifactWorkspace: string | null;
1683
1684
  agentName: string | null;
1684
1685
  planModel: string | null;
@@ -1732,7 +1733,7 @@ export declare const QueueSnapshot: z.ZodObject<{
1732
1733
  externalLabel: string | null;
1733
1734
  description: string | null;
1734
1735
  acceptanceCriteria: string | null;
1735
- taskCategory: "code" | "email" | "communication" | "research" | "content" | "other";
1736
+ taskCategory: "other" | "code" | "email" | "communication" | "research" | "content";
1736
1737
  artifactWorkspace: string | null;
1737
1738
  agentName: string | null;
1738
1739
  planModel: string | null;
@@ -1757,7 +1758,7 @@ export declare const QueueSnapshot: z.ZodObject<{
1757
1758
  externalLabel: string | null;
1758
1759
  description: string | null;
1759
1760
  acceptanceCriteria: string | null;
1760
- taskCategory: "code" | "email" | "communication" | "research" | "content" | "other";
1761
+ taskCategory: "other" | "code" | "email" | "communication" | "research" | "content";
1761
1762
  artifactWorkspace: string | null;
1762
1763
  agentName: string | null;
1763
1764
  planModel: string | null;
@@ -1811,7 +1812,7 @@ export declare const QueueSnapshot: z.ZodObject<{
1811
1812
  externalLabel: string | null;
1812
1813
  description: string | null;
1813
1814
  acceptanceCriteria: string | null;
1814
- taskCategory: "code" | "email" | "communication" | "research" | "content" | "other";
1815
+ taskCategory: "other" | "code" | "email" | "communication" | "research" | "content";
1815
1816
  artifactWorkspace: string | null;
1816
1817
  agentName: string | null;
1817
1818
  planModel: string | null;
@@ -1836,7 +1837,7 @@ export declare const QueueSnapshot: z.ZodObject<{
1836
1837
  externalLabel: string | null;
1837
1838
  description: string | null;
1838
1839
  acceptanceCriteria: string | null;
1839
- taskCategory: "code" | "email" | "communication" | "research" | "content" | "other";
1840
+ taskCategory: "other" | "code" | "email" | "communication" | "research" | "content";
1840
1841
  artifactWorkspace: string | null;
1841
1842
  agentName: string | null;
1842
1843
  planModel: string | null;
@@ -1894,7 +1895,7 @@ export declare const QueueSnapshot: z.ZodObject<{
1894
1895
  externalLabel: string | null;
1895
1896
  description: string | null;
1896
1897
  acceptanceCriteria: string | null;
1897
- taskCategory: "code" | "email" | "communication" | "research" | "content" | "other";
1898
+ taskCategory: "other" | "code" | "email" | "communication" | "research" | "content";
1898
1899
  artifactWorkspace: string | null;
1899
1900
  agentName: string | null;
1900
1901
  planModel: string | null;
@@ -1919,7 +1920,7 @@ export declare const QueueSnapshot: z.ZodObject<{
1919
1920
  externalLabel: string | null;
1920
1921
  description: string | null;
1921
1922
  acceptanceCriteria: string | null;
1922
- taskCategory: "code" | "email" | "communication" | "research" | "content" | "other";
1923
+ taskCategory: "other" | "code" | "email" | "communication" | "research" | "content";
1923
1924
  artifactWorkspace: string | null;
1924
1925
  agentName: string | null;
1925
1926
  planModel: string | null;
@@ -2068,7 +2069,7 @@ export declare const QueueSnapshot: z.ZodObject<{
2068
2069
  externalLabel: string | null;
2069
2070
  description: string | null;
2070
2071
  acceptanceCriteria: string | null;
2071
- taskCategory: "code" | "email" | "communication" | "research" | "content" | "other";
2072
+ taskCategory: "other" | "code" | "email" | "communication" | "research" | "content";
2072
2073
  artifactWorkspace: string | null;
2073
2074
  agentName: string | null;
2074
2075
  planModel: string | null;
@@ -2094,7 +2095,7 @@ export declare const QueueSnapshot: z.ZodObject<{
2094
2095
  externalLabel: string | null;
2095
2096
  description: string | null;
2096
2097
  acceptanceCriteria: string | null;
2097
- taskCategory: "code" | "email" | "communication" | "research" | "content" | "other";
2098
+ taskCategory: "other" | "code" | "email" | "communication" | "research" | "content";
2098
2099
  artifactWorkspace: string | null;
2099
2100
  agentName: string | null;
2100
2101
  planModel: string | null;
@@ -2120,7 +2121,7 @@ export declare const QueueSnapshot: z.ZodObject<{
2120
2121
  externalLabel: string | null;
2121
2122
  description: string | null;
2122
2123
  acceptanceCriteria: string | null;
2123
- taskCategory: "code" | "email" | "communication" | "research" | "content" | "other";
2124
+ taskCategory: "other" | "code" | "email" | "communication" | "research" | "content";
2124
2125
  artifactWorkspace: string | null;
2125
2126
  agentName: string | null;
2126
2127
  planModel: string | null;
@@ -2146,7 +2147,7 @@ export declare const QueueSnapshot: z.ZodObject<{
2146
2147
  externalLabel: string | null;
2147
2148
  description: string | null;
2148
2149
  acceptanceCriteria: string | null;
2149
- taskCategory: "code" | "email" | "communication" | "research" | "content" | "other";
2150
+ taskCategory: "other" | "code" | "email" | "communication" | "research" | "content";
2150
2151
  artifactWorkspace: string | null;
2151
2152
  agentName: string | null;
2152
2153
  planModel: string | null;
@@ -2172,7 +2173,7 @@ export declare const QueueSnapshot: z.ZodObject<{
2172
2173
  externalLabel: string | null;
2173
2174
  description: string | null;
2174
2175
  acceptanceCriteria: string | null;
2175
- taskCategory: "code" | "email" | "communication" | "research" | "content" | "other";
2176
+ taskCategory: "other" | "code" | "email" | "communication" | "research" | "content";
2176
2177
  artifactWorkspace: string | null;
2177
2178
  agentName: string | null;
2178
2179
  planModel: string | null;
@@ -2198,7 +2199,7 @@ export declare const QueueSnapshot: z.ZodObject<{
2198
2199
  externalLabel: string | null;
2199
2200
  description: string | null;
2200
2201
  acceptanceCriteria: string | null;
2201
- taskCategory: "code" | "email" | "communication" | "research" | "content" | "other";
2202
+ taskCategory: "other" | "code" | "email" | "communication" | "research" | "content";
2202
2203
  artifactWorkspace: string | null;
2203
2204
  agentName: string | null;
2204
2205
  planModel: string | null;
@@ -2224,7 +2225,7 @@ export declare const QueueSnapshot: z.ZodObject<{
2224
2225
  externalLabel: string | null;
2225
2226
  description: string | null;
2226
2227
  acceptanceCriteria: string | null;
2227
- taskCategory: "code" | "email" | "communication" | "research" | "content" | "other";
2228
+ taskCategory: "other" | "code" | "email" | "communication" | "research" | "content";
2228
2229
  artifactWorkspace: string | null;
2229
2230
  agentName: string | null;
2230
2231
  planModel: string | null;
@@ -2250,7 +2251,7 @@ export declare const QueueSnapshot: z.ZodObject<{
2250
2251
  externalLabel: string | null;
2251
2252
  description: string | null;
2252
2253
  acceptanceCriteria: string | null;
2253
- taskCategory: "code" | "email" | "communication" | "research" | "content" | "other";
2254
+ taskCategory: "other" | "code" | "email" | "communication" | "research" | "content";
2254
2255
  artifactWorkspace: string | null;
2255
2256
  agentName: string | null;
2256
2257
  planModel: string | null;
@@ -2279,7 +2280,7 @@ export declare const QueueSnapshot: z.ZodObject<{
2279
2280
  externalLabel: string | null;
2280
2281
  description: string | null;
2281
2282
  acceptanceCriteria: string | null;
2282
- taskCategory: "code" | "email" | "communication" | "research" | "content" | "other";
2283
+ taskCategory: "other" | "code" | "email" | "communication" | "research" | "content";
2283
2284
  artifactWorkspace: string | null;
2284
2285
  agentName: string | null;
2285
2286
  planModel: string | null;
@@ -2340,7 +2341,7 @@ export declare const QueueSnapshot: z.ZodObject<{
2340
2341
  externalLabel: string | null;
2341
2342
  description: string | null;
2342
2343
  acceptanceCriteria: string | null;
2343
- taskCategory: "code" | "email" | "communication" | "research" | "content" | "other";
2344
+ taskCategory: "other" | "code" | "email" | "communication" | "research" | "content";
2344
2345
  artifactWorkspace: string | null;
2345
2346
  agentName: string | null;
2346
2347
  planModel: string | null;
@@ -2366,7 +2367,7 @@ export declare const QueueSnapshot: z.ZodObject<{
2366
2367
  externalLabel: string | null;
2367
2368
  description: string | null;
2368
2369
  acceptanceCriteria: string | null;
2369
- taskCategory: "code" | "email" | "communication" | "research" | "content" | "other";
2370
+ taskCategory: "other" | "code" | "email" | "communication" | "research" | "content";
2370
2371
  artifactWorkspace: string | null;
2371
2372
  agentName: string | null;
2372
2373
  planModel: string | null;
@@ -2392,7 +2393,7 @@ export declare const QueueSnapshot: z.ZodObject<{
2392
2393
  externalLabel: string | null;
2393
2394
  description: string | null;
2394
2395
  acceptanceCriteria: string | null;
2395
- taskCategory: "code" | "email" | "communication" | "research" | "content" | "other";
2396
+ taskCategory: "other" | "code" | "email" | "communication" | "research" | "content";
2396
2397
  artifactWorkspace: string | null;
2397
2398
  agentName: string | null;
2398
2399
  planModel: string | null;
@@ -2418,7 +2419,7 @@ export declare const QueueSnapshot: z.ZodObject<{
2418
2419
  externalLabel: string | null;
2419
2420
  description: string | null;
2420
2421
  acceptanceCriteria: string | null;
2421
- taskCategory: "code" | "email" | "communication" | "research" | "content" | "other";
2422
+ taskCategory: "other" | "code" | "email" | "communication" | "research" | "content";
2422
2423
  artifactWorkspace: string | null;
2423
2424
  agentName: string | null;
2424
2425
  planModel: string | null;
@@ -2444,7 +2445,7 @@ export declare const QueueSnapshot: z.ZodObject<{
2444
2445
  externalLabel: string | null;
2445
2446
  description: string | null;
2446
2447
  acceptanceCriteria: string | null;
2447
- taskCategory: "code" | "email" | "communication" | "research" | "content" | "other";
2448
+ taskCategory: "other" | "code" | "email" | "communication" | "research" | "content";
2448
2449
  artifactWorkspace: string | null;
2449
2450
  agentName: string | null;
2450
2451
  planModel: string | null;
@@ -2470,7 +2471,7 @@ export declare const QueueSnapshot: z.ZodObject<{
2470
2471
  externalLabel: string | null;
2471
2472
  description: string | null;
2472
2473
  acceptanceCriteria: string | null;
2473
- taskCategory: "code" | "email" | "communication" | "research" | "content" | "other";
2474
+ taskCategory: "other" | "code" | "email" | "communication" | "research" | "content";
2474
2475
  artifactWorkspace: string | null;
2475
2476
  agentName: string | null;
2476
2477
  planModel: string | null;
@@ -2496,7 +2497,7 @@ export declare const QueueSnapshot: z.ZodObject<{
2496
2497
  externalLabel: string | null;
2497
2498
  description: string | null;
2498
2499
  acceptanceCriteria: string | null;
2499
- taskCategory: "code" | "email" | "communication" | "research" | "content" | "other";
2500
+ taskCategory: "other" | "code" | "email" | "communication" | "research" | "content";
2500
2501
  artifactWorkspace: string | null;
2501
2502
  agentName: string | null;
2502
2503
  planModel: string | null;
@@ -2522,7 +2523,7 @@ export declare const QueueSnapshot: z.ZodObject<{
2522
2523
  externalLabel: string | null;
2523
2524
  description: string | null;
2524
2525
  acceptanceCriteria: string | null;
2525
- taskCategory: "code" | "email" | "communication" | "research" | "content" | "other";
2526
+ taskCategory: "other" | "code" | "email" | "communication" | "research" | "content";
2526
2527
  artifactWorkspace: string | null;
2527
2528
  agentName: string | null;
2528
2529
  planModel: string | null;
@@ -2551,7 +2552,7 @@ export declare const QueueSnapshot: z.ZodObject<{
2551
2552
  externalLabel: string | null;
2552
2553
  description: string | null;
2553
2554
  acceptanceCriteria: string | null;
2554
- taskCategory: "code" | "email" | "communication" | "research" | "content" | "other";
2555
+ taskCategory: "other" | "code" | "email" | "communication" | "research" | "content";
2555
2556
  artifactWorkspace: string | null;
2556
2557
  agentName: string | null;
2557
2558
  planModel: string | null;
@@ -19,6 +19,7 @@ export * from "./attempt-waste.js";
19
19
  export * from "./profile-snapshot.js";
20
20
  export * from "./workflow.js";
21
21
  export * from "./human-actions.js";
22
+ export * from "./action-presentation.js";
22
23
  export * from "./findings.js";
23
24
  export * from "./usage-events.js";
24
25
  export * from "./runtime-availability.js";
@@ -46,11 +46,11 @@ export declare const Issue: z.ZodObject<{
46
46
  createdAt: z.ZodString;
47
47
  updatedAt: z.ZodString;
48
48
  }, "strip", z.ZodTypeAny, {
49
- status: "done" | "final_review" | "ready" | "developing" | "reviewing" | "repairing" | "needs_human" | "closed";
49
+ branch: string | null;
50
+ status: "final_review" | "done" | "ready" | "developing" | "reviewing" | "repairing" | "needs_human" | "closed";
50
51
  id: string;
51
52
  createdAt: string;
52
53
  updatedAt: string;
53
- branch: string | null;
54
54
  repo: string;
55
55
  title: string;
56
56
  source: "manual" | "linear" | "agent";
@@ -60,7 +60,7 @@ export declare const Issue: z.ZodObject<{
60
60
  description: string | null;
61
61
  acceptanceCriteria: string | null;
62
62
  baseBranch: string;
63
- currentOwner: "developer" | "reviewer" | "human" | "system";
63
+ currentOwner: "reviewer" | "developer" | "human" | "system";
64
64
  currentIntent: string | null;
65
65
  developerAgentId: string | null;
66
66
  reviewerAgentId: string | null;
@@ -74,11 +74,11 @@ export declare const Issue: z.ZodObject<{
74
74
  prUrl: string | null;
75
75
  autoMerge: boolean;
76
76
  }, {
77
- status: "done" | "final_review" | "ready" | "developing" | "reviewing" | "repairing" | "needs_human" | "closed";
77
+ branch: string | null;
78
+ status: "final_review" | "done" | "ready" | "developing" | "reviewing" | "repairing" | "needs_human" | "closed";
78
79
  id: string;
79
80
  createdAt: string;
80
81
  updatedAt: string;
81
- branch: string | null;
82
82
  repo: string;
83
83
  title: string;
84
84
  source: "manual" | "linear" | "agent";
@@ -88,7 +88,7 @@ export declare const Issue: z.ZodObject<{
88
88
  description: string | null;
89
89
  acceptanceCriteria: string | null;
90
90
  baseBranch: string;
91
- currentOwner: "developer" | "reviewer" | "human" | "system";
91
+ currentOwner: "reviewer" | "developer" | "human" | "system";
92
92
  currentIntent: string | null;
93
93
  developerAgentId: string | null;
94
94
  reviewerAgentId: string | null;
@@ -280,11 +280,11 @@ export declare const CreateIssueResult: z.ZodObject<{
280
280
  */
281
281
  priorPasses: z.ZodNumber;
282
282
  }, "strip", z.ZodTypeAny, {
283
- status: "done" | "final_review" | "ready" | "developing" | "reviewing" | "repairing" | "needs_human" | "closed";
283
+ branch: string | null;
284
+ status: "final_review" | "done" | "ready" | "developing" | "reviewing" | "repairing" | "needs_human" | "closed";
284
285
  id: string;
285
286
  createdAt: string;
286
287
  updatedAt: string;
287
- branch: string | null;
288
288
  repo: string;
289
289
  title: string;
290
290
  source: "manual" | "linear" | "agent";
@@ -294,7 +294,7 @@ export declare const CreateIssueResult: z.ZodObject<{
294
294
  description: string | null;
295
295
  acceptanceCriteria: string | null;
296
296
  baseBranch: string;
297
- currentOwner: "developer" | "reviewer" | "human" | "system";
297
+ currentOwner: "reviewer" | "developer" | "human" | "system";
298
298
  currentIntent: string | null;
299
299
  developerAgentId: string | null;
300
300
  reviewerAgentId: string | null;
@@ -311,11 +311,11 @@ export declare const CreateIssueResult: z.ZodObject<{
311
311
  queue: "enqueued" | "already_queued" | "not_queued";
312
312
  priorPasses: number;
313
313
  }, {
314
- status: "done" | "final_review" | "ready" | "developing" | "reviewing" | "repairing" | "needs_human" | "closed";
314
+ branch: string | null;
315
+ status: "final_review" | "done" | "ready" | "developing" | "reviewing" | "repairing" | "needs_human" | "closed";
315
316
  id: string;
316
317
  createdAt: string;
317
318
  updatedAt: string;
318
- branch: string | null;
319
319
  repo: string;
320
320
  title: string;
321
321
  source: "manual" | "linear" | "agent";
@@ -325,7 +325,7 @@ export declare const CreateIssueResult: z.ZodObject<{
325
325
  description: string | null;
326
326
  acceptanceCriteria: string | null;
327
327
  baseBranch: string;
328
- currentOwner: "developer" | "reviewer" | "human" | "system";
328
+ currentOwner: "reviewer" | "developer" | "human" | "system";
329
329
  currentIntent: string | null;
330
330
  developerAgentId: string | null;
331
331
  reviewerAgentId: string | null;
@@ -53,22 +53,22 @@ export declare const OutboundDraftBlock: z.ZodObject<{
53
53
  arguments: Record<string, unknown>;
54
54
  }>;
55
55
  }, "strip", z.ZodTypeAny, {
56
+ actionType: "slack_message" | "email" | "service_tool_call";
56
57
  summary: {
57
58
  target: string;
58
59
  body: string;
59
60
  };
60
- actionType: "slack_message" | "email" | "service_tool_call";
61
61
  toolCall: {
62
62
  serviceName: string;
63
63
  toolName: string;
64
64
  arguments: Record<string, unknown>;
65
65
  };
66
66
  }, {
67
+ actionType: "slack_message" | "email" | "service_tool_call";
67
68
  summary: {
68
69
  target: string;
69
70
  body: string;
70
71
  };
71
- actionType: "slack_message" | "email" | "service_tool_call";
72
72
  toolCall: {
73
73
  serviceName: string;
74
74
  toolName: string;
@@ -106,22 +106,22 @@ export declare const OutboundDraftContent: z.ZodObject<{
106
106
  arguments: Record<string, unknown>;
107
107
  }>;
108
108
  }, "strip", z.ZodTypeAny, {
109
+ actionType: "slack_message" | "email" | "service_tool_call";
109
110
  summary: {
110
111
  target: string;
111
112
  body: string;
112
113
  };
113
- actionType: "slack_message" | "email" | "service_tool_call";
114
114
  toolCall: {
115
115
  serviceName: string;
116
116
  toolName: string;
117
117
  arguments: Record<string, unknown>;
118
118
  };
119
119
  }, {
120
+ actionType: "slack_message" | "email" | "service_tool_call";
120
121
  summary: {
121
122
  target: string;
122
123
  body: string;
123
124
  };
124
- actionType: "slack_message" | "email" | "service_tool_call";
125
125
  toolCall: {
126
126
  serviceName: string;
127
127
  toolName: string;
@@ -139,11 +139,11 @@ export declare const OutboundDraftContent: z.ZodObject<{
139
139
  }, "strip", z.ZodTypeAny, {
140
140
  status: "pending" | "sent" | "rejected";
141
141
  draft: {
142
+ actionType: "slack_message" | "email" | "service_tool_call";
142
143
  summary: {
143
144
  target: string;
144
145
  body: string;
145
146
  };
146
- actionType: "slack_message" | "email" | "service_tool_call";
147
147
  toolCall: {
148
148
  serviceName: string;
149
149
  toolName: string;
@@ -157,11 +157,11 @@ export declare const OutboundDraftContent: z.ZodObject<{
157
157
  }, {
158
158
  status: "pending" | "sent" | "rejected";
159
159
  draft: {
160
+ actionType: "slack_message" | "email" | "service_tool_call";
160
161
  summary: {
161
162
  target: string;
162
163
  body: string;
163
164
  };
164
- actionType: "slack_message" | "email" | "service_tool_call";
165
165
  toolCall: {
166
166
  serviceName: string;
167
167
  toolName: string;
@@ -109,7 +109,7 @@ export declare const ProfileSnapshot: z.ZodObject<{
109
109
  purpose: z.ZodNullable<z.ZodString>;
110
110
  capturedAt: z.ZodString;
111
111
  }, "strip", z.ZodTypeAny, {
112
- role: "developer" | "reviewer" | "legacy";
112
+ role: "reviewer" | "developer" | "legacy";
113
113
  agentId: string | null;
114
114
  runtime: "claude_code" | "cursor_local" | "codex_local" | "muse_code" | null;
115
115
  model: string | null;
@@ -126,7 +126,7 @@ export declare const ProfileSnapshot: z.ZodObject<{
126
126
  purpose: string | null;
127
127
  capturedAt: string;
128
128
  }, {
129
- role: "developer" | "reviewer" | "legacy";
129
+ role: "reviewer" | "developer" | "legacy";
130
130
  agentId: string | null;
131
131
  runtime: "claude_code" | "cursor_local" | "codex_local" | "muse_code" | null;
132
132
  model: string | null;
@@ -15,7 +15,7 @@ export declare const UsageEvent: z.ZodObject<{
15
15
  }, "strip", z.ZodTypeAny, {
16
16
  id: string;
17
17
  issueId: string;
18
- role: "developer" | "reviewer" | "legacy";
18
+ role: "reviewer" | "developer" | "legacy";
19
19
  runtime: string | null;
20
20
  durationMs: number | null;
21
21
  tokensIn: number | null;
@@ -27,7 +27,7 @@ export declare const UsageEvent: z.ZodObject<{
27
27
  }, {
28
28
  id: string;
29
29
  issueId: string;
30
- role: "developer" | "reviewer" | "legacy";
30
+ role: "reviewer" | "developer" | "legacy";
31
31
  runtime: string | null;
32
32
  durationMs: number | null;
33
33
  tokensIn: number | null;
@@ -50,16 +50,16 @@ export declare const WorkerSession: z.ZodObject<{
50
50
  completedAt: z.ZodNullable<z.ZodString>;
51
51
  updatedAt: z.ZodString;
52
52
  }, "strip", z.ZodTypeAny, {
53
+ worktreePath: string | null;
53
54
  status: "queued" | "running" | "done" | "failed" | "timed_out" | "cancelled";
54
55
  id: string;
55
56
  issueId: string;
56
- role: "developer" | "reviewer" | "legacy";
57
+ role: "reviewer" | "developer" | "legacy";
57
58
  round: number;
58
59
  agentId: string | null;
59
60
  runtime: "claude_code" | "cursor_local" | "codex_local" | "muse_code" | null;
60
61
  model: string | null;
61
62
  budgetJson: string | null;
62
- worktreePath: string | null;
63
63
  inputSha: string | null;
64
64
  sessionRef: string | null;
65
65
  logPath: string | null;
@@ -76,16 +76,16 @@ export declare const WorkerSession: z.ZodObject<{
76
76
  completedAt: string | null;
77
77
  updatedAt: string;
78
78
  }, {
79
+ worktreePath: string | null;
79
80
  status: "queued" | "running" | "done" | "failed" | "timed_out" | "cancelled";
80
81
  id: string;
81
82
  issueId: string;
82
- role: "developer" | "reviewer" | "legacy";
83
+ role: "reviewer" | "developer" | "legacy";
83
84
  round: number;
84
85
  agentId: string | null;
85
86
  runtime: "claude_code" | "cursor_local" | "codex_local" | "muse_code" | null;
86
87
  model: string | null;
87
88
  budgetJson: string | null;
88
- worktreePath: string | null;
89
89
  inputSha: string | null;
90
90
  sessionRef: string | null;
91
91
  logPath: string | null;
@@ -116,7 +116,7 @@ export declare const CreateWorkerSessionInput: z.ZodObject<{
116
116
  profileSnapshotJson: z.ZodOptional<z.ZodNullable<z.ZodString>>;
117
117
  }, "strip", z.ZodTypeAny, {
118
118
  issueId: string;
119
- role: "developer" | "reviewer" | "legacy";
119
+ role: "reviewer" | "developer" | "legacy";
120
120
  round: number;
121
121
  agentId: string | null;
122
122
  runtime: "claude_code" | "cursor_local" | "codex_local" | "muse_code" | null;
@@ -127,7 +127,7 @@ export declare const CreateWorkerSessionInput: z.ZodObject<{
127
127
  profileSnapshotJson?: string | null | undefined;
128
128
  }, {
129
129
  issueId: string;
130
- role: "developer" | "reviewer" | "legacy";
130
+ role: "reviewer" | "developer" | "legacy";
131
131
  round: number;
132
132
  agentId: string | null;
133
133
  runtime: "claude_code" | "cursor_local" | "codex_local" | "muse_code" | null;
@@ -51,7 +51,7 @@ export declare const WorkflowEvent: z.ZodObject<{
51
51
  round: number | null;
52
52
  workflowInstanceId: string | null;
53
53
  workerSessionId: string | null;
54
- actorType: "developer" | "reviewer" | "human" | "system";
54
+ actorType: "reviewer" | "developer" | "human" | "system";
55
55
  actorRef: string | null;
56
56
  stage: string;
57
57
  payloadJson: string | null;
@@ -66,7 +66,7 @@ export declare const WorkflowEvent: z.ZodObject<{
66
66
  round: number | null;
67
67
  workflowInstanceId: string | null;
68
68
  workerSessionId: string | null;
69
- actorType: "developer" | "reviewer" | "human" | "system";
69
+ actorType: "reviewer" | "developer" | "human" | "system";
70
70
  actorRef: string | null;
71
71
  stage: string;
72
72
  payloadJson: string | null;
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@agent-dealer/shared",
3
- "version": "1.2.6",
3
+ "version": "1.2.7",
4
4
  "type": "module",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",