@sentry/junior 0.284.0 → 0.286.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/{adapter-CW5UW7vL.js → adapter-JQZaJ-B_.js} +37 -3
- package/dist/{admin-DUWN8zZX.js → admin-Dm2bimJ-.js} +1 -1
- package/dist/{agent-runner-Cqr21pOU.js → agent-runner-DGCwOEyL.js} +2180 -2735
- package/dist/api/schema.d.ts +2 -2
- package/dist/api/schema.js +8 -7
- package/dist/api.d.ts +1 -1
- package/dist/api.js +166 -90
- package/dist/{app-CvGalMxi.d.ts → app-BKq0JzWx.d.ts} +2 -3
- package/dist/app.d.ts +1 -1
- package/dist/app.js +225 -188
- package/dist/{assistant-reply-CFE-OZMS.js → assistant-reply-CAPafcUY.js} +1 -1
- package/dist/{automation-Zvx_I9Z5.js → automation-B-jJN_gM.js} +1 -1
- package/dist/{background-compaction-queue-CHFzrQbS.js → background-compaction-queue-Btu2oab_.js} +137 -3
- package/dist/{briefs-Cx7mkfSk.js → briefs-UMeYehUe.js} +5 -5
- package/dist/{catalog-runtime-dKOVbR7l.js → catalog-runtime-Bym8GVdh.js} +1 -1
- package/dist/cli/chat.js +19 -16
- package/dist/cli/check.js +3 -3
- package/dist/cli/init.js +3 -0
- package/dist/cli/main.js +3 -3
- package/dist/cli/plugins.js +4 -4
- package/dist/cli/snapshot-create.js +5 -6
- package/dist/cli/upgrade.d.ts +1 -1
- package/dist/cli/upgrade.js +12 -17
- package/dist/{client-CMyH5rDz.js → client-B0aAs7wC.js} +2 -2
- package/dist/{config-Dt3CpG17.js → config-B9f9Lqo5.js} +1 -1
- package/dist/{connections-CCHPybZP.js → connections-CQ7p0aNJ.js} +16 -50
- package/dist/{conversation-DdT7SNar.js → conversation-BusI2uzj.js} +68 -7
- package/dist/{conversation-pending-messages-Dct5pheX.js → conversation-pending-messages-DwehU0Fd.js} +1 -1
- package/dist/{conversation-privacy-BpHHhEVp.js → conversation-privacy-Cd_nZZBM.js} +1 -1
- package/dist/{credential-sync-BBPw8dam.js → credential-sync-DmiJi_At.js} +13 -13
- package/dist/{db-D7CCwAo8.d.ts → db-C5zi4ecs.d.ts} +18 -2
- package/dist/{executor-CyIwHz9r.js → executor-Dipi2Ixl.js} +19 -17
- package/dist/instrumentation.js +2 -2
- package/dist/{logging-Qo-7xGp1.js → logging-CMFhLLj4.js} +1 -1
- package/dist/{media-Bu9C6lz0.js → media-B-BpXo41.js} +14 -2
- package/dist/{message-DFbtOWqv.js → message-D1xLljUF.js} +13 -23
- package/dist/nitro.d.ts +1 -1
- package/dist/nitro.js +2 -3
- package/dist/{oauth-callback-server-BB1gixWo.js → oauth-callback-server-DCAFIUQr.js} +2 -2
- package/dist/{projection-0UcUeuzn.js → projection-CoeMNxJ4.js} +545 -262
- package/dist/{prompt-CCtaGgbI.js → prompt-C9OQEfan.js} +8 -6
- package/dist/{registry-DOnPkI8g.js → registry-u-sFYtx_.js} +1 -1
- package/dist/{reporting-window-B-QP9zX1.js → reporting-window-B4TwyuJo.js} +14 -14
- package/dist/{resolve-Di3omymY.js → resolve-DYqgL3Eo.js} +3 -3
- package/dist/result-CescSwAw.js +299 -0
- package/dist/result-event-type-DD6BAgT7.js +11 -0
- package/dist/{runner-CnX_dTKw.js → runner-Cr67a8TB.js} +16 -12
- package/dist/{sandbox-egress-signals-CtxLJmmg.js → sandbox-egress-signals-DLOazy5W.js} +1 -1
- package/dist/{schema-Bn3miEd_.js → schema-BUSi3sgv.js} +63 -5
- package/dist/{schema-B017enNE.d.ts → schema-Ih60j59-.d.ts} +194 -220
- package/dist/{service-account-KhZIqXRi.js → service-account-CGEqz9wG.js} +3 -3
- package/dist/{service-account-ewDAx4Mx.js → service-account-CsKxktLk.js} +3 -3
- package/dist/session-stop-CGz5DByb.js +2926 -0
- package/dist/{skills-CKyotM4g.js → skills-COCqf61f.js} +2 -2
- package/dist/{spawn-D5D2MQdz.js → spawn-C8F_iXWO.js} +13 -2
- package/dist/{stop-BSKRTaRS.js → stop-GyFZkHuQ.js} +7730 -7818
- package/dist/{store-ymkEUWe4.js → store-D0-8plWp.js} +30 -5
- package/dist/{turn-session-routing-D_GXfcAG.js → task-runner-xPuQmEot.js} +1440 -994
- package/dist/{store-G3S0kWSD.js → turn-failure-response-BOviBdT-.js} +404 -311
- package/dist/{validation-DJG_wrg2.js → validation-DZDKorGz.js} +1 -1
- package/dist/{version-i1An1eTS.js → version-BTIz7fGi.js} +1 -1
- package/dist/version.js +1 -1
- package/dist/{viewer-BlpnzZZa.js → viewer-CH-ASQzh.js} +208 -68
- package/dist/{work-BgCW3FDC.js → work-C75_IM5e.js} +311 -100
- package/dist/{worker-BJz1mwYt.js → worker-Dl47I729.js} +6 -6
- package/migrations/0083_conversation_kind.sql +11 -0
- package/migrations/0084_read_position_backfill.sql +25 -0
- package/migrations/0085_child_archived_at.sql +1 -0
- package/migrations/0086_shared_archive.sql +31 -0
- package/migrations/0087_child_location.sql +64 -0
- package/migrations/meta/0083_snapshot.json +4388 -0
- package/migrations/meta/0084_snapshot.json +4388 -0
- package/migrations/meta/0085_snapshot.json +4394 -0
- package/migrations/meta/0086_snapshot.json +4366 -0
- package/migrations/meta/0087_snapshot.json +4366 -0
- package/migrations/meta/_journal.json +35 -0
- package/package.json +5 -4
- package/dist/result-NvndYzCb.js +0 -483
- package/dist/session-stop-D_1SysjC.js +0 -1438
- package/dist/task-queue-BcOHzXxe.js +0 -139
- package/dist/task-runner-B65cDumh.js +0 -290
- package/dist/thread-state-D6rNGQu9.js +0 -173
- package/dist/turn-failure-response-BlO4nuDJ.js +0 -224
- package/dist/turn-lifecycle-BQ8ETk63.js +0 -58
|
@@ -26,6 +26,8 @@ declare const messageAttachmentSchema: z.ZodObject<{
|
|
|
26
26
|
bytes: z.ZodNumber;
|
|
27
27
|
}, z.core.$strict>;
|
|
28
28
|
type MessageAttachment = z.output<typeof messageAttachmentSchema>;
|
|
29
|
+
/** True when an Event type names an agent invocation result. */
|
|
30
|
+
declare function isAgentInvocationResultEventType(eventType: string): boolean;
|
|
29
31
|
/**
|
|
30
32
|
* Build the retry-stable Message id shared by web ingress and browser sends.
|
|
31
33
|
* Keep the existing hash and prefix so retries still address stored Messages.
|
|
@@ -441,6 +443,7 @@ declare const conversationReportStatusSchema: z.ZodEnum<{
|
|
|
441
443
|
active: "active";
|
|
442
444
|
completed: "completed";
|
|
443
445
|
failed: "failed";
|
|
446
|
+
stopped: "stopped";
|
|
444
447
|
}>;
|
|
445
448
|
declare const conversationSurfaceSchema: z.ZodEnum<{
|
|
446
449
|
api: "api";
|
|
@@ -660,6 +663,12 @@ declare const conversationSummaryReportSchema: z.ZodObject<{
|
|
|
660
663
|
}, z.core.$strict>>;
|
|
661
664
|
}, z.core.$strict>>;
|
|
662
665
|
conversationId: z.ZodString;
|
|
666
|
+
kind: z.ZodEnum<{
|
|
667
|
+
root: "root";
|
|
668
|
+
task: "task";
|
|
669
|
+
thread: "thread";
|
|
670
|
+
}>;
|
|
671
|
+
parentConversationId: z.ZodOptional<z.ZodString>;
|
|
663
672
|
isParticipant: z.ZodBoolean;
|
|
664
673
|
visibility: z.ZodOptional<z.ZodEnum<{
|
|
665
674
|
private: "private";
|
|
@@ -669,6 +678,7 @@ declare const conversationSummaryReportSchema: z.ZodObject<{
|
|
|
669
678
|
active: "active";
|
|
670
679
|
completed: "completed";
|
|
671
680
|
failed: "failed";
|
|
681
|
+
stopped: "stopped";
|
|
672
682
|
}>;
|
|
673
683
|
startedAt: z.ZodString;
|
|
674
684
|
lastSeenAt: z.ZodString;
|
|
@@ -696,6 +706,7 @@ declare const conversationSummaryReportSchema: z.ZodObject<{
|
|
|
696
706
|
archivedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
697
707
|
pinnedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
698
708
|
pinPosition: z.ZodOptional<z.ZodNumber>;
|
|
709
|
+
unread: z.ZodOptional<z.ZodBoolean>;
|
|
699
710
|
channel: z.ZodOptional<z.ZodString>;
|
|
700
711
|
channelName: z.ZodOptional<z.ZodString>;
|
|
701
712
|
channelNameRedacted: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -851,6 +862,7 @@ declare const conversationReportEventDataSchema: z.ZodDiscriminatedUnion<[z.ZodO
|
|
|
851
862
|
actorIdentityId: z.ZodOptional<z.ZodString>;
|
|
852
863
|
agentInvocationId: z.ZodOptional<z.ZodString>;
|
|
853
864
|
eventType: z.ZodOptional<z.ZodString>;
|
|
865
|
+
eventNamespace: z.ZodOptional<z.ZodString>;
|
|
854
866
|
eventObjectType: z.ZodOptional<z.ZodEnum<{
|
|
855
867
|
automation: "automation";
|
|
856
868
|
calendar_event: "calendar_event";
|
|
@@ -1016,6 +1028,11 @@ declare const conversationReportEventDataSchema: z.ZodDiscriminatedUnion<[z.ZodO
|
|
|
1016
1028
|
contentType: z.ZodString;
|
|
1017
1029
|
bytes: z.ZodNumber;
|
|
1018
1030
|
}, z.core.$strict>>;
|
|
1031
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1032
|
+
type: z.ZodLiteral<"reply_posted">;
|
|
1033
|
+
plugin: z.ZodString;
|
|
1034
|
+
text: z.ZodString;
|
|
1035
|
+
url: z.ZodOptional<z.ZodString>;
|
|
1019
1036
|
}, z.core.$strict>, z.ZodObject<{
|
|
1020
1037
|
type: z.ZodLiteral<"guardian_action_reviewed">;
|
|
1021
1038
|
turnId: z.ZodString;
|
|
@@ -1096,6 +1113,7 @@ declare const conversationReportEventSchema: z.ZodObject<{
|
|
|
1096
1113
|
actorIdentityId: z.ZodOptional<z.ZodString>;
|
|
1097
1114
|
agentInvocationId: z.ZodOptional<z.ZodString>;
|
|
1098
1115
|
eventType: z.ZodOptional<z.ZodString>;
|
|
1116
|
+
eventNamespace: z.ZodOptional<z.ZodString>;
|
|
1099
1117
|
eventObjectType: z.ZodOptional<z.ZodEnum<{
|
|
1100
1118
|
automation: "automation";
|
|
1101
1119
|
calendar_event: "calendar_event";
|
|
@@ -1261,6 +1279,11 @@ declare const conversationReportEventSchema: z.ZodObject<{
|
|
|
1261
1279
|
contentType: z.ZodString;
|
|
1262
1280
|
bytes: z.ZodNumber;
|
|
1263
1281
|
}, z.core.$strict>>;
|
|
1282
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1283
|
+
type: z.ZodLiteral<"reply_posted">;
|
|
1284
|
+
plugin: z.ZodString;
|
|
1285
|
+
text: z.ZodString;
|
|
1286
|
+
url: z.ZodOptional<z.ZodString>;
|
|
1264
1287
|
}, z.core.$strict>, z.ZodObject<{
|
|
1265
1288
|
type: z.ZodLiteral<"guardian_action_reviewed">;
|
|
1266
1289
|
turnId: z.ZodString;
|
|
@@ -1387,6 +1410,11 @@ declare const forkConversationResponseSchema: z.ZodObject<{
|
|
|
1387
1410
|
/** One Conversation in the agent tree of a child Conversation. */
|
|
1388
1411
|
declare const conversationAgentTreeNodeSchema: z.ZodObject<{
|
|
1389
1412
|
conversationId: z.ZodString;
|
|
1413
|
+
kind: z.ZodEnum<{
|
|
1414
|
+
root: "root";
|
|
1415
|
+
task: "task";
|
|
1416
|
+
thread: "thread";
|
|
1417
|
+
}>;
|
|
1390
1418
|
label: z.ZodString;
|
|
1391
1419
|
}, z.core.$strict>;
|
|
1392
1420
|
type ConversationAgentTreeNode = z.infer<typeof conversationAgentTreeNodeSchema>;
|
|
@@ -1416,6 +1444,7 @@ declare const conversationEventPageSchema: z.ZodObject<{
|
|
|
1416
1444
|
actorIdentityId: z.ZodOptional<z.ZodString>;
|
|
1417
1445
|
agentInvocationId: z.ZodOptional<z.ZodString>;
|
|
1418
1446
|
eventType: z.ZodOptional<z.ZodString>;
|
|
1447
|
+
eventNamespace: z.ZodOptional<z.ZodString>;
|
|
1419
1448
|
eventObjectType: z.ZodOptional<z.ZodEnum<{
|
|
1420
1449
|
automation: "automation";
|
|
1421
1450
|
calendar_event: "calendar_event";
|
|
@@ -1581,6 +1610,11 @@ declare const conversationEventPageSchema: z.ZodObject<{
|
|
|
1581
1610
|
contentType: z.ZodString;
|
|
1582
1611
|
bytes: z.ZodNumber;
|
|
1583
1612
|
}, z.core.$strict>>;
|
|
1613
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1614
|
+
type: z.ZodLiteral<"reply_posted">;
|
|
1615
|
+
plugin: z.ZodString;
|
|
1616
|
+
text: z.ZodString;
|
|
1617
|
+
url: z.ZodOptional<z.ZodString>;
|
|
1584
1618
|
}, z.core.$strict>, z.ZodObject<{
|
|
1585
1619
|
type: z.ZodLiteral<"guardian_action_reviewed">;
|
|
1586
1620
|
turnId: z.ZodString;
|
|
@@ -1685,6 +1719,12 @@ declare const conversationEventPageSchema: z.ZodObject<{
|
|
|
1685
1719
|
* validators itself, after the function had already built the full report.
|
|
1686
1720
|
*/
|
|
1687
1721
|
declare const CONVERSATION_DETAIL_VERSION_HEADER = "x-junior-detail-version";
|
|
1722
|
+
/**
|
|
1723
|
+
* Carries the change token of the Conversation tree that a detail report was
|
|
1724
|
+
* built from. The dashboard compares it with the token of `GET /api/versions`
|
|
1725
|
+
* and asks for the report only when they differ.
|
|
1726
|
+
*/
|
|
1727
|
+
declare const CONVERSATION_VERSION_HEADER = "x-junior-conversation-version";
|
|
1688
1728
|
declare const conversationDetailReportSchema: z.ZodObject<{
|
|
1689
1729
|
displayTitle: z.ZodString;
|
|
1690
1730
|
activityPreview: z.ZodOptional<z.ZodObject<{
|
|
@@ -1748,6 +1788,12 @@ declare const conversationDetailReportSchema: z.ZodObject<{
|
|
|
1748
1788
|
}, z.core.$strict>>;
|
|
1749
1789
|
}, z.core.$strict>>;
|
|
1750
1790
|
conversationId: z.ZodString;
|
|
1791
|
+
kind: z.ZodEnum<{
|
|
1792
|
+
root: "root";
|
|
1793
|
+
task: "task";
|
|
1794
|
+
thread: "thread";
|
|
1795
|
+
}>;
|
|
1796
|
+
parentConversationId: z.ZodOptional<z.ZodString>;
|
|
1751
1797
|
isParticipant: z.ZodBoolean;
|
|
1752
1798
|
visibility: z.ZodOptional<z.ZodEnum<{
|
|
1753
1799
|
private: "private";
|
|
@@ -1757,6 +1803,7 @@ declare const conversationDetailReportSchema: z.ZodObject<{
|
|
|
1757
1803
|
active: "active";
|
|
1758
1804
|
completed: "completed";
|
|
1759
1805
|
failed: "failed";
|
|
1806
|
+
stopped: "stopped";
|
|
1760
1807
|
}>;
|
|
1761
1808
|
startedAt: z.ZodString;
|
|
1762
1809
|
lastSeenAt: z.ZodString;
|
|
@@ -1784,6 +1831,7 @@ declare const conversationDetailReportSchema: z.ZodObject<{
|
|
|
1784
1831
|
archivedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1785
1832
|
pinnedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1786
1833
|
pinPosition: z.ZodOptional<z.ZodNumber>;
|
|
1834
|
+
unread: z.ZodOptional<z.ZodBoolean>;
|
|
1787
1835
|
channel: z.ZodOptional<z.ZodString>;
|
|
1788
1836
|
channelName: z.ZodOptional<z.ZodString>;
|
|
1789
1837
|
channelNameRedacted: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -1903,10 +1951,16 @@ declare const conversationDetailReportSchema: z.ZodObject<{
|
|
|
1903
1951
|
unfinishedWork: z.ZodOptional<z.ZodBoolean>;
|
|
1904
1952
|
agentTree: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1905
1953
|
conversationId: z.ZodString;
|
|
1954
|
+
kind: z.ZodEnum<{
|
|
1955
|
+
root: "root";
|
|
1956
|
+
task: "task";
|
|
1957
|
+
thread: "thread";
|
|
1958
|
+
}>;
|
|
1906
1959
|
label: z.ZodString;
|
|
1907
1960
|
}, z.core.$strict>>>;
|
|
1908
1961
|
autoArchive: z.ZodOptional<z.ZodBoolean>;
|
|
1909
1962
|
canFork: z.ZodOptional<z.ZodBoolean>;
|
|
1963
|
+
canContinueInSlack: z.ZodOptional<z.ZodLiteral<true>>;
|
|
1910
1964
|
readPosition: z.ZodOptional<z.ZodObject<{
|
|
1911
1965
|
lastReadSeq: z.ZodNumber;
|
|
1912
1966
|
}, z.core.$strict>>;
|
|
@@ -1937,6 +1991,7 @@ declare const conversationDetailReportSchema: z.ZodObject<{
|
|
|
1937
1991
|
actorIdentityId: z.ZodOptional<z.ZodString>;
|
|
1938
1992
|
agentInvocationId: z.ZodOptional<z.ZodString>;
|
|
1939
1993
|
eventType: z.ZodOptional<z.ZodString>;
|
|
1994
|
+
eventNamespace: z.ZodOptional<z.ZodString>;
|
|
1940
1995
|
eventObjectType: z.ZodOptional<z.ZodEnum<{
|
|
1941
1996
|
automation: "automation";
|
|
1942
1997
|
calendar_event: "calendar_event";
|
|
@@ -2102,6 +2157,11 @@ declare const conversationDetailReportSchema: z.ZodObject<{
|
|
|
2102
2157
|
contentType: z.ZodString;
|
|
2103
2158
|
bytes: z.ZodNumber;
|
|
2104
2159
|
}, z.core.$strict>>;
|
|
2160
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2161
|
+
type: z.ZodLiteral<"reply_posted">;
|
|
2162
|
+
plugin: z.ZodString;
|
|
2163
|
+
text: z.ZodString;
|
|
2164
|
+
url: z.ZodOptional<z.ZodString>;
|
|
2105
2165
|
}, z.core.$strict>, z.ZodObject<{
|
|
2106
2166
|
type: z.ZodLiteral<"guardian_action_reviewed">;
|
|
2107
2167
|
turnId: z.ZodString;
|
|
@@ -2333,6 +2393,7 @@ declare const conversationDetailReportSchema: z.ZodObject<{
|
|
|
2333
2393
|
actorIdentityId: z.ZodOptional<z.ZodString>;
|
|
2334
2394
|
agentInvocationId: z.ZodOptional<z.ZodString>;
|
|
2335
2395
|
eventType: z.ZodOptional<z.ZodString>;
|
|
2396
|
+
eventNamespace: z.ZodOptional<z.ZodString>;
|
|
2336
2397
|
eventObjectType: z.ZodOptional<z.ZodEnum<{
|
|
2337
2398
|
automation: "automation";
|
|
2338
2399
|
calendar_event: "calendar_event";
|
|
@@ -2498,6 +2559,11 @@ declare const conversationDetailReportSchema: z.ZodObject<{
|
|
|
2498
2559
|
contentType: z.ZodString;
|
|
2499
2560
|
bytes: z.ZodNumber;
|
|
2500
2561
|
}, z.core.$strict>>;
|
|
2562
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2563
|
+
type: z.ZodLiteral<"reply_posted">;
|
|
2564
|
+
plugin: z.ZodString;
|
|
2565
|
+
text: z.ZodString;
|
|
2566
|
+
url: z.ZodOptional<z.ZodString>;
|
|
2501
2567
|
}, z.core.$strict>, z.ZodObject<{
|
|
2502
2568
|
type: z.ZodLiteral<"guardian_action_reviewed">;
|
|
2503
2569
|
turnId: z.ZodString;
|
|
@@ -2614,224 +2680,12 @@ declare const conversationDetailReportSchema: z.ZodObject<{
|
|
|
2614
2680
|
credentialUser: z.ZodOptional<z.ZodString>;
|
|
2615
2681
|
}, z.core.$strict>>;
|
|
2616
2682
|
}, z.core.$strict>;
|
|
2683
|
+
/** A feed row, with its visible Threads nested under their parents. */
|
|
2684
|
+
type ConversationFeedItem = ConversationSummaryReport & {
|
|
2685
|
+
threads?: ConversationFeedItem[];
|
|
2686
|
+
};
|
|
2617
2687
|
declare const conversationFeedSchema: z.ZodObject<{
|
|
2618
|
-
conversations: z.ZodArray<z.
|
|
2619
|
-
displayTitle: z.ZodString;
|
|
2620
|
-
activityPreview: z.ZodOptional<z.ZodObject<{
|
|
2621
|
-
createdAt: z.ZodString;
|
|
2622
|
-
mentions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2623
|
-
avatarUrl: z.ZodOptional<z.ZodString>;
|
|
2624
|
-
email: z.ZodOptional<z.ZodString>;
|
|
2625
|
-
fullName: z.ZodOptional<z.ZodString>;
|
|
2626
|
-
slackUserId: z.ZodOptional<z.ZodString>;
|
|
2627
|
-
slackUserName: z.ZodOptional<z.ZodString>;
|
|
2628
|
-
}, z.core.$strict>>>;
|
|
2629
|
-
role: z.ZodEnum<{
|
|
2630
|
-
assistant: "assistant";
|
|
2631
|
-
user: "user";
|
|
2632
|
-
}>;
|
|
2633
|
-
text: z.ZodString;
|
|
2634
|
-
}, z.core.$strict>>;
|
|
2635
|
-
cumulativeDurationMs: z.ZodNumber;
|
|
2636
|
-
cumulativeUsage: z.ZodOptional<z.ZodObject<{
|
|
2637
|
-
inputTokens: z.ZodOptional<z.ZodNumber>;
|
|
2638
|
-
outputTokens: z.ZodOptional<z.ZodNumber>;
|
|
2639
|
-
cachedInputTokens: z.ZodOptional<z.ZodNumber>;
|
|
2640
|
-
cacheCreationTokens: z.ZodOptional<z.ZodNumber>;
|
|
2641
|
-
reasoningTokens: z.ZodOptional<z.ZodNumber>;
|
|
2642
|
-
totalTokens: z.ZodOptional<z.ZodNumber>;
|
|
2643
|
-
cost: z.ZodOptional<z.ZodObject<{
|
|
2644
|
-
input: z.ZodOptional<z.ZodNumber>;
|
|
2645
|
-
output: z.ZodOptional<z.ZodNumber>;
|
|
2646
|
-
cacheRead: z.ZodOptional<z.ZodNumber>;
|
|
2647
|
-
cacheWrite: z.ZodOptional<z.ZodNumber>;
|
|
2648
|
-
total: z.ZodOptional<z.ZodNumber>;
|
|
2649
|
-
}, z.core.$strict>>;
|
|
2650
|
-
}, z.core.$strict>>;
|
|
2651
|
-
auxiliaryCosts: z.ZodOptional<z.ZodObject<{
|
|
2652
|
-
costUsd: z.ZodNumber;
|
|
2653
|
-
operations: z.ZodArray<z.ZodObject<{
|
|
2654
|
-
costUsd: z.ZodNumber;
|
|
2655
|
-
events: z.ZodNumber;
|
|
2656
|
-
name: z.ZodString;
|
|
2657
|
-
namespace: z.ZodString;
|
|
2658
|
-
}, z.core.$strict>>;
|
|
2659
|
-
}, z.core.$strict>>;
|
|
2660
|
-
childAgentTotals: z.ZodOptional<z.ZodObject<{
|
|
2661
|
-
auxiliaryCostUsd: z.ZodOptional<z.ZodNumber>;
|
|
2662
|
-
count: z.ZodNumber;
|
|
2663
|
-
cumulativeDurationMs: z.ZodNumber;
|
|
2664
|
-
cumulativeUsage: z.ZodOptional<z.ZodObject<{
|
|
2665
|
-
inputTokens: z.ZodOptional<z.ZodNumber>;
|
|
2666
|
-
outputTokens: z.ZodOptional<z.ZodNumber>;
|
|
2667
|
-
cachedInputTokens: z.ZodOptional<z.ZodNumber>;
|
|
2668
|
-
cacheCreationTokens: z.ZodOptional<z.ZodNumber>;
|
|
2669
|
-
reasoningTokens: z.ZodOptional<z.ZodNumber>;
|
|
2670
|
-
totalTokens: z.ZodOptional<z.ZodNumber>;
|
|
2671
|
-
cost: z.ZodOptional<z.ZodObject<{
|
|
2672
|
-
input: z.ZodOptional<z.ZodNumber>;
|
|
2673
|
-
output: z.ZodOptional<z.ZodNumber>;
|
|
2674
|
-
cacheRead: z.ZodOptional<z.ZodNumber>;
|
|
2675
|
-
cacheWrite: z.ZodOptional<z.ZodNumber>;
|
|
2676
|
-
total: z.ZodOptional<z.ZodNumber>;
|
|
2677
|
-
}, z.core.$strict>>;
|
|
2678
|
-
}, z.core.$strict>>;
|
|
2679
|
-
}, z.core.$strict>>;
|
|
2680
|
-
conversationId: z.ZodString;
|
|
2681
|
-
isParticipant: z.ZodBoolean;
|
|
2682
|
-
visibility: z.ZodOptional<z.ZodEnum<{
|
|
2683
|
-
private: "private";
|
|
2684
|
-
public: "public";
|
|
2685
|
-
}>>;
|
|
2686
|
-
status: z.ZodEnum<{
|
|
2687
|
-
active: "active";
|
|
2688
|
-
completed: "completed";
|
|
2689
|
-
failed: "failed";
|
|
2690
|
-
}>;
|
|
2691
|
-
startedAt: z.ZodString;
|
|
2692
|
-
lastSeenAt: z.ZodString;
|
|
2693
|
-
lastProgressAt: z.ZodString;
|
|
2694
|
-
surface: z.ZodEnum<{
|
|
2695
|
-
api: "api";
|
|
2696
|
-
internal: "internal";
|
|
2697
|
-
scheduler: "scheduler";
|
|
2698
|
-
slack: "slack";
|
|
2699
|
-
}>;
|
|
2700
|
-
actorIdentity: z.ZodOptional<z.ZodObject<{
|
|
2701
|
-
avatarUrl: z.ZodOptional<z.ZodString>;
|
|
2702
|
-
email: z.ZodOptional<z.ZodString>;
|
|
2703
|
-
fullName: z.ZodOptional<z.ZodString>;
|
|
2704
|
-
slackUserId: z.ZodOptional<z.ZodString>;
|
|
2705
|
-
slackUserName: z.ZodOptional<z.ZodString>;
|
|
2706
|
-
}, z.core.$strict>>;
|
|
2707
|
-
participants: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2708
|
-
avatarUrl: z.ZodOptional<z.ZodString>;
|
|
2709
|
-
email: z.ZodOptional<z.ZodString>;
|
|
2710
|
-
fullName: z.ZodOptional<z.ZodString>;
|
|
2711
|
-
slackUserId: z.ZodOptional<z.ZodString>;
|
|
2712
|
-
slackUserName: z.ZodOptional<z.ZodString>;
|
|
2713
|
-
}, z.core.$strict>>>;
|
|
2714
|
-
archivedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2715
|
-
pinnedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2716
|
-
pinPosition: z.ZodOptional<z.ZodNumber>;
|
|
2717
|
-
channel: z.ZodOptional<z.ZodString>;
|
|
2718
|
-
channelName: z.ZodOptional<z.ZodString>;
|
|
2719
|
-
channelNameRedacted: z.ZodOptional<z.ZodBoolean>;
|
|
2720
|
-
locationId: z.ZodOptional<z.ZodString>;
|
|
2721
|
-
sentryTraceUrl: z.ZodOptional<z.ZodString>;
|
|
2722
|
-
locationUrl: z.ZodOptional<z.ZodString>;
|
|
2723
|
-
traceId: z.ZodOptional<z.ZodString>;
|
|
2724
|
-
annotations: z.ZodOptional<z.ZodArray<z.ZodIntersection<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2725
|
-
kind: z.ZodLiteral<"resource_link">;
|
|
2726
|
-
objectType: z.ZodOptional<z.ZodEnum<{
|
|
2727
|
-
automation: "automation";
|
|
2728
|
-
calendar_event: "calendar_event";
|
|
2729
|
-
code_change: "code_change";
|
|
2730
|
-
deployment: "deployment";
|
|
2731
|
-
item: "item";
|
|
2732
|
-
task: "task";
|
|
2733
|
-
}>>;
|
|
2734
|
-
key: z.ZodString;
|
|
2735
|
-
label: z.ZodString;
|
|
2736
|
-
url: z.ZodString;
|
|
2737
|
-
description: z.ZodOptional<z.ZodString>;
|
|
2738
|
-
status: z.ZodOptional<z.ZodEnum<{
|
|
2739
|
-
closed: "closed";
|
|
2740
|
-
draft: "draft";
|
|
2741
|
-
merged: "merged";
|
|
2742
|
-
open: "open";
|
|
2743
|
-
warning: "warning";
|
|
2744
|
-
}>>;
|
|
2745
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
2746
|
-
kind: z.ZodLiteral<"object">;
|
|
2747
|
-
key: z.ZodString;
|
|
2748
|
-
label: z.ZodString;
|
|
2749
|
-
objectType: z.ZodEnum<{
|
|
2750
|
-
automation: "automation";
|
|
2751
|
-
calendar_event: "calendar_event";
|
|
2752
|
-
code_change: "code_change";
|
|
2753
|
-
deployment: "deployment";
|
|
2754
|
-
item: "item";
|
|
2755
|
-
task: "task";
|
|
2756
|
-
}>;
|
|
2757
|
-
title: z.ZodString;
|
|
2758
|
-
url: z.ZodNullable<z.ZodURL>;
|
|
2759
|
-
description: z.ZodOptional<z.ZodString>;
|
|
2760
|
-
status: z.ZodOptional<z.ZodString>;
|
|
2761
|
-
trigger: z.ZodOptional<z.ZodString>;
|
|
2762
|
-
warning: z.ZodOptional<z.ZodString>;
|
|
2763
|
-
displayType: z.ZodOptional<z.ZodString>;
|
|
2764
|
-
sourceUpdatedAt: z.ZodOptional<z.ZodISODateTime>;
|
|
2765
|
-
facts: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2766
|
-
type: z.ZodLiteral<"code_change">;
|
|
2767
|
-
author: z.ZodOptional<z.ZodString>;
|
|
2768
|
-
sourceBranch: z.ZodOptional<z.ZodString>;
|
|
2769
|
-
targetBranch: z.ZodOptional<z.ZodString>;
|
|
2770
|
-
reviewers: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2771
|
-
review: z.ZodOptional<z.ZodEnum<{
|
|
2772
|
-
approved: "approved";
|
|
2773
|
-
changes_requested: "changes_requested";
|
|
2774
|
-
required: "required";
|
|
2775
|
-
}>>;
|
|
2776
|
-
checks: z.ZodOptional<z.ZodObject<{
|
|
2777
|
-
passed: z.ZodNumber;
|
|
2778
|
-
failed: z.ZodNumber;
|
|
2779
|
-
pending: z.ZodNumber;
|
|
2780
|
-
}, z.core.$strict>>;
|
|
2781
|
-
mergeable: z.ZodOptional<z.ZodBoolean>;
|
|
2782
|
-
changedFiles: z.ZodOptional<z.ZodNumber>;
|
|
2783
|
-
additions: z.ZodOptional<z.ZodNumber>;
|
|
2784
|
-
deletions: z.ZodOptional<z.ZodNumber>;
|
|
2785
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
2786
|
-
type: z.ZodLiteral<"task">;
|
|
2787
|
-
assignees: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2788
|
-
priority: z.ZodOptional<z.ZodString>;
|
|
2789
|
-
project: z.ZodOptional<z.ZodString>;
|
|
2790
|
-
cycle: z.ZodOptional<z.ZodString>;
|
|
2791
|
-
dueDate: z.ZodOptional<z.ZodISODate>;
|
|
2792
|
-
labels: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2793
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
2794
|
-
type: z.ZodLiteral<"deployment">;
|
|
2795
|
-
project: z.ZodOptional<z.ZodString>;
|
|
2796
|
-
environment: z.ZodOptional<z.ZodString>;
|
|
2797
|
-
revision: z.ZodOptional<z.ZodString>;
|
|
2798
|
-
branch: z.ZodOptional<z.ZodString>;
|
|
2799
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
2800
|
-
type: z.ZodLiteral<"calendar_event">;
|
|
2801
|
-
when: z.ZodOptional<z.ZodString>;
|
|
2802
|
-
attendees: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2803
|
-
}, z.core.$strict>], "type">>;
|
|
2804
|
-
}, z.core.$strict>], "kind">, z.ZodObject<{
|
|
2805
|
-
plugin: z.ZodString;
|
|
2806
|
-
createdAt: z.ZodString;
|
|
2807
|
-
updatedAt: z.ZodString;
|
|
2808
|
-
}, z.core.$strip>>>>;
|
|
2809
|
-
sidebarAnnotations: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2810
|
-
icon: z.ZodOptional<z.ZodEnum<{
|
|
2811
|
-
"circle-dashed": "circle-dashed";
|
|
2812
|
-
"circle-dot": "circle-dot";
|
|
2813
|
-
"circle-x": "circle-x";
|
|
2814
|
-
"git-merge": "git-merge";
|
|
2815
|
-
"git-pull-request": "git-pull-request";
|
|
2816
|
-
"triangle-alert": "triangle-alert";
|
|
2817
|
-
}>>;
|
|
2818
|
-
objectType: z.ZodOptional<z.ZodEnum<{
|
|
2819
|
-
automation: "automation";
|
|
2820
|
-
calendar_event: "calendar_event";
|
|
2821
|
-
code_change: "code_change";
|
|
2822
|
-
deployment: "deployment";
|
|
2823
|
-
item: "item";
|
|
2824
|
-
task: "task";
|
|
2825
|
-
}>>;
|
|
2826
|
-
status: z.ZodOptional<z.ZodString>;
|
|
2827
|
-
key: z.ZodString;
|
|
2828
|
-
label: z.ZodString;
|
|
2829
|
-
}, z.core.$strict>>>;
|
|
2830
|
-
assignedWork: z.ZodOptional<z.ZodBoolean>;
|
|
2831
|
-
finishedWorkAt: z.ZodOptional<z.ZodString>;
|
|
2832
|
-
isPriority: z.ZodOptional<z.ZodBoolean>;
|
|
2833
|
-
unfinishedWork: z.ZodOptional<z.ZodBoolean>;
|
|
2834
|
-
}, z.core.$strict>>;
|
|
2688
|
+
conversations: z.ZodArray<z.ZodType<ConversationFeedItem, unknown, z.core.$ZodTypeInternals<ConversationFeedItem, unknown>>>;
|
|
2835
2689
|
source: z.ZodLiteral<"conversation_index">;
|
|
2836
2690
|
generatedAt: z.ZodString;
|
|
2837
2691
|
}, z.core.$strict>;
|
|
@@ -3036,6 +2890,12 @@ declare const conversationDetailWithMailboxReportSchema: z.ZodObject<{
|
|
|
3036
2890
|
}, z.core.$strict>>;
|
|
3037
2891
|
}, z.core.$strict>>;
|
|
3038
2892
|
conversationId: z.ZodString;
|
|
2893
|
+
kind: z.ZodEnum<{
|
|
2894
|
+
root: "root";
|
|
2895
|
+
task: "task";
|
|
2896
|
+
thread: "thread";
|
|
2897
|
+
}>;
|
|
2898
|
+
parentConversationId: z.ZodOptional<z.ZodString>;
|
|
3039
2899
|
isParticipant: z.ZodBoolean;
|
|
3040
2900
|
visibility: z.ZodOptional<z.ZodEnum<{
|
|
3041
2901
|
private: "private";
|
|
@@ -3045,6 +2905,7 @@ declare const conversationDetailWithMailboxReportSchema: z.ZodObject<{
|
|
|
3045
2905
|
active: "active";
|
|
3046
2906
|
completed: "completed";
|
|
3047
2907
|
failed: "failed";
|
|
2908
|
+
stopped: "stopped";
|
|
3048
2909
|
}>;
|
|
3049
2910
|
startedAt: z.ZodString;
|
|
3050
2911
|
lastSeenAt: z.ZodString;
|
|
@@ -3072,6 +2933,7 @@ declare const conversationDetailWithMailboxReportSchema: z.ZodObject<{
|
|
|
3072
2933
|
archivedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3073
2934
|
pinnedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3074
2935
|
pinPosition: z.ZodOptional<z.ZodNumber>;
|
|
2936
|
+
unread: z.ZodOptional<z.ZodBoolean>;
|
|
3075
2937
|
channel: z.ZodOptional<z.ZodString>;
|
|
3076
2938
|
channelName: z.ZodOptional<z.ZodString>;
|
|
3077
2939
|
channelNameRedacted: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -3191,10 +3053,16 @@ declare const conversationDetailWithMailboxReportSchema: z.ZodObject<{
|
|
|
3191
3053
|
unfinishedWork: z.ZodOptional<z.ZodBoolean>;
|
|
3192
3054
|
agentTree: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3193
3055
|
conversationId: z.ZodString;
|
|
3056
|
+
kind: z.ZodEnum<{
|
|
3057
|
+
root: "root";
|
|
3058
|
+
task: "task";
|
|
3059
|
+
thread: "thread";
|
|
3060
|
+
}>;
|
|
3194
3061
|
label: z.ZodString;
|
|
3195
3062
|
}, z.core.$strict>>>;
|
|
3196
3063
|
autoArchive: z.ZodOptional<z.ZodBoolean>;
|
|
3197
3064
|
canFork: z.ZodOptional<z.ZodBoolean>;
|
|
3065
|
+
canContinueInSlack: z.ZodOptional<z.ZodLiteral<true>>;
|
|
3198
3066
|
readPosition: z.ZodOptional<z.ZodObject<{
|
|
3199
3067
|
lastReadSeq: z.ZodNumber;
|
|
3200
3068
|
}, z.core.$strict>>;
|
|
@@ -3225,6 +3093,7 @@ declare const conversationDetailWithMailboxReportSchema: z.ZodObject<{
|
|
|
3225
3093
|
actorIdentityId: z.ZodOptional<z.ZodString>;
|
|
3226
3094
|
agentInvocationId: z.ZodOptional<z.ZodString>;
|
|
3227
3095
|
eventType: z.ZodOptional<z.ZodString>;
|
|
3096
|
+
eventNamespace: z.ZodOptional<z.ZodString>;
|
|
3228
3097
|
eventObjectType: z.ZodOptional<z.ZodEnum<{
|
|
3229
3098
|
automation: "automation";
|
|
3230
3099
|
calendar_event: "calendar_event";
|
|
@@ -3390,6 +3259,11 @@ declare const conversationDetailWithMailboxReportSchema: z.ZodObject<{
|
|
|
3390
3259
|
contentType: z.ZodString;
|
|
3391
3260
|
bytes: z.ZodNumber;
|
|
3392
3261
|
}, z.core.$strict>>;
|
|
3262
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3263
|
+
type: z.ZodLiteral<"reply_posted">;
|
|
3264
|
+
plugin: z.ZodString;
|
|
3265
|
+
text: z.ZodString;
|
|
3266
|
+
url: z.ZodOptional<z.ZodString>;
|
|
3393
3267
|
}, z.core.$strict>, z.ZodObject<{
|
|
3394
3268
|
type: z.ZodLiteral<"guardian_action_reviewed">;
|
|
3395
3269
|
turnId: z.ZodString;
|
|
@@ -3621,6 +3495,7 @@ declare const conversationDetailWithMailboxReportSchema: z.ZodObject<{
|
|
|
3621
3495
|
actorIdentityId: z.ZodOptional<z.ZodString>;
|
|
3622
3496
|
agentInvocationId: z.ZodOptional<z.ZodString>;
|
|
3623
3497
|
eventType: z.ZodOptional<z.ZodString>;
|
|
3498
|
+
eventNamespace: z.ZodOptional<z.ZodString>;
|
|
3624
3499
|
eventObjectType: z.ZodOptional<z.ZodEnum<{
|
|
3625
3500
|
automation: "automation";
|
|
3626
3501
|
calendar_event: "calendar_event";
|
|
@@ -3786,6 +3661,11 @@ declare const conversationDetailWithMailboxReportSchema: z.ZodObject<{
|
|
|
3786
3661
|
contentType: z.ZodString;
|
|
3787
3662
|
bytes: z.ZodNumber;
|
|
3788
3663
|
}, z.core.$strict>>;
|
|
3664
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3665
|
+
type: z.ZodLiteral<"reply_posted">;
|
|
3666
|
+
plugin: z.ZodString;
|
|
3667
|
+
text: z.ZodString;
|
|
3668
|
+
url: z.ZodOptional<z.ZodString>;
|
|
3789
3669
|
}, z.core.$strict>, z.ZodObject<{
|
|
3790
3670
|
type: z.ZodLiteral<"guardian_action_reviewed">;
|
|
3791
3671
|
turnId: z.ZodString;
|
|
@@ -4046,7 +3926,14 @@ type CancelConversationPendingMessagesBody = z.infer<typeof cancelConversationPe
|
|
|
4046
3926
|
type CancelConversationPendingMessagesResponse = z.infer<typeof cancelConversationPendingMessagesResponseSchema>;
|
|
4047
3927
|
type SteerConversationPendingMessagesBody = z.infer<typeof steerConversationPendingMessagesBodySchema>;
|
|
4048
3928
|
type SteerConversationPendingMessagesResponse = z.infer<typeof steerConversationPendingMessagesResponseSchema>;
|
|
3929
|
+
/**
|
|
3930
|
+
* Archive or restore one conversation. `applyToChildren` applies to a child
|
|
3931
|
+
* only: archive refuses while a descendant is unarchived unless it is true,
|
|
3932
|
+
* and restore also restores the descendants archived with the child when it
|
|
3933
|
+
* is true. A root archive is per viewer and writes no child rows.
|
|
3934
|
+
*/
|
|
4049
3935
|
declare const archiveConversationBodySchema: z.ZodObject<{
|
|
3936
|
+
applyToChildren: z.ZodOptional<z.ZodBoolean>;
|
|
4050
3937
|
archived: z.ZodBoolean;
|
|
4051
3938
|
lastSeenAt: z.ZodString;
|
|
4052
3939
|
}, z.core.$strict>;
|
|
@@ -4241,17 +4128,40 @@ declare const stopConversationTurnResponseSchema: z.ZodObject<{
|
|
|
4241
4128
|
}, z.core.$strict>>;
|
|
4242
4129
|
}, z.core.$strict>;
|
|
4243
4130
|
type StopConversationTurnResponse = z.infer<typeof stopConversationTurnResponseSchema>;
|
|
4131
|
+
/** Public Slack channel Location that a dashboard Conversation moves to. */
|
|
4132
|
+
declare const continueConversationInSlackBodySchema: z.ZodObject<{
|
|
4133
|
+
locationId: z.ZodString;
|
|
4134
|
+
}, z.core.$strict>;
|
|
4135
|
+
/** The Slack thread where the Conversation now continues. */
|
|
4136
|
+
declare const continueConversationInSlackResponseSchema: z.ZodObject<{
|
|
4137
|
+
conversationId: z.ZodString;
|
|
4138
|
+
channelName: z.ZodOptional<z.ZodString>;
|
|
4139
|
+
locationUrl: z.ZodOptional<z.ZodString>;
|
|
4140
|
+
}, z.core.$strict>;
|
|
4141
|
+
type ContinueConversationInSlackBody = z.infer<typeof continueConversationInSlackBodySchema>;
|
|
4142
|
+
type ContinueConversationInSlackResponse = z.infer<typeof continueConversationInSlackResponseSchema>;
|
|
4244
4143
|
/**
|
|
4245
4144
|
* How far the signed-in viewer has read a Conversation transcript.
|
|
4246
4145
|
*
|
|
4247
4146
|
* `lastReadSeq` is the event sequence of the last transcript row the viewer
|
|
4248
|
-
* saw.
|
|
4249
|
-
*
|
|
4147
|
+
* saw. Reports only move it forward: the server keeps the highest value it
|
|
4148
|
+
* receives. Only Mark as unread moves it back. It is never before the
|
|
4149
|
+
* viewer's own latest Message.
|
|
4250
4150
|
*/
|
|
4251
4151
|
declare const conversationReadPositionSchema: z.ZodObject<{
|
|
4252
4152
|
lastReadSeq: z.ZodNumber;
|
|
4253
4153
|
}, z.core.$strict>;
|
|
4254
4154
|
type ConversationReadPosition = z.infer<typeof conversationReadPositionSchema>;
|
|
4155
|
+
/**
|
|
4156
|
+
* The reply to a read report: the stored read position and whether Junior's
|
|
4157
|
+
* latest visible reply is still after it. The dashboard clears the unread
|
|
4158
|
+
* flag from this, so it does not refetch the feed after each report.
|
|
4159
|
+
*/
|
|
4160
|
+
declare const conversationReadReportSchema: z.ZodObject<{
|
|
4161
|
+
lastReadSeq: z.ZodNumber;
|
|
4162
|
+
unreadReply: z.ZodBoolean;
|
|
4163
|
+
}, z.core.$strict>;
|
|
4164
|
+
type ConversationReadReport = z.infer<typeof conversationReadReportSchema>;
|
|
4255
4165
|
/**
|
|
4256
4166
|
* The unread rows to summarize: every event after `afterSeq`, through
|
|
4257
4167
|
* `throughSeq`. The dashboard sends the range from when the Conversation
|
|
@@ -4291,12 +4201,38 @@ declare const reorderPinnedConversationsResponseSchema: z.ZodObject<{
|
|
|
4291
4201
|
}, z.core.$strict>;
|
|
4292
4202
|
type ReorderPinnedConversationsBody = z.infer<typeof reorderPinnedConversationsBodySchema>;
|
|
4293
4203
|
type ReorderPinnedConversationsResponse = z.infer<typeof reorderPinnedConversationsResponseSchema>;
|
|
4204
|
+
/** Mark one Conversation read or unread for the signed-in viewer. */
|
|
4205
|
+
declare const markConversationUnreadBodySchema: z.ZodObject<{
|
|
4206
|
+
unread: z.ZodBoolean;
|
|
4207
|
+
}, z.core.$strict>;
|
|
4208
|
+
type MarkConversationUnreadBody = z.infer<typeof markConversationUnreadBodySchema>;
|
|
4209
|
+
/**
|
|
4210
|
+
* Whether Junior's latest visible reply is after the viewer's read position
|
|
4211
|
+
* once the change is stored.
|
|
4212
|
+
*/
|
|
4213
|
+
declare const conversationUnreadSchema: z.ZodObject<{
|
|
4214
|
+
unreadReply: z.ZodBoolean;
|
|
4215
|
+
}, z.core.$strict>;
|
|
4216
|
+
type ConversationUnread = z.infer<typeof conversationUnreadSchema>;
|
|
4217
|
+
/** Longest Conversation title that a rename can save. */
|
|
4218
|
+
declare const CONVERSATION_TITLE_MAX_LENGTH = 200;
|
|
4219
|
+
/** A participant's new title for one Conversation. Every viewer sees it. */
|
|
4220
|
+
declare const renameConversationBodySchema: z.ZodObject<{
|
|
4221
|
+
title: z.ZodString;
|
|
4222
|
+
}, z.core.$strict>;
|
|
4223
|
+
/** The stored title after the rename. */
|
|
4224
|
+
declare const renameConversationResponseSchema: z.ZodObject<{
|
|
4225
|
+
title: z.ZodString;
|
|
4226
|
+
}, z.core.$strict>;
|
|
4227
|
+
type RenameConversationBody = z.infer<typeof renameConversationBodySchema>;
|
|
4228
|
+
type RenameConversationResponse = z.infer<typeof renameConversationResponseSchema>;
|
|
4294
4229
|
/**
|
|
4295
4230
|
* One direct child agent of a Conversation, from agent invocation records.
|
|
4296
4231
|
*
|
|
4297
4232
|
* Viewers who cannot see private content get the status, time, and usage, but
|
|
4298
4233
|
* not the name, task, title, or error. Usage covers the child Conversation and
|
|
4299
4234
|
* all its own child agents, like the detail of that child Conversation.
|
|
4235
|
+
* Archived children stay in the report.
|
|
4300
4236
|
*/
|
|
4301
4237
|
declare const conversationChildAgentSchema: z.ZodObject<{
|
|
4302
4238
|
auxiliaryCosts: z.ZodOptional<z.ZodObject<{
|
|
@@ -4308,6 +4244,7 @@ declare const conversationChildAgentSchema: z.ZodObject<{
|
|
|
4308
4244
|
namespace: z.ZodString;
|
|
4309
4245
|
}, z.core.$strict>>;
|
|
4310
4246
|
}, z.core.$strict>>;
|
|
4247
|
+
archivedAt: z.ZodNullable<z.ZodString>;
|
|
4311
4248
|
childAgentTotals: z.ZodOptional<z.ZodObject<{
|
|
4312
4249
|
auxiliaryCostUsd: z.ZodOptional<z.ZodNumber>;
|
|
4313
4250
|
count: z.ZodNumber;
|
|
@@ -4346,6 +4283,10 @@ declare const conversationChildAgentSchema: z.ZodObject<{
|
|
|
4346
4283
|
}, z.core.$strict>>;
|
|
4347
4284
|
}, z.core.$strict>>;
|
|
4348
4285
|
error: z.ZodOptional<z.ZodString>;
|
|
4286
|
+
kind: z.ZodEnum<{
|
|
4287
|
+
task: "task";
|
|
4288
|
+
thread: "thread";
|
|
4289
|
+
}>;
|
|
4349
4290
|
name: z.ZodOptional<z.ZodString>;
|
|
4350
4291
|
redacted: z.ZodOptional<z.ZodLiteral<true>>;
|
|
4351
4292
|
status: z.ZodEnum<{
|
|
@@ -4373,6 +4314,7 @@ declare const conversationChildAgentsReportSchema: z.ZodObject<{
|
|
|
4373
4314
|
namespace: z.ZodString;
|
|
4374
4315
|
}, z.core.$strict>>;
|
|
4375
4316
|
}, z.core.$strict>>;
|
|
4317
|
+
archivedAt: z.ZodNullable<z.ZodString>;
|
|
4376
4318
|
childAgentTotals: z.ZodOptional<z.ZodObject<{
|
|
4377
4319
|
auxiliaryCostUsd: z.ZodOptional<z.ZodNumber>;
|
|
4378
4320
|
count: z.ZodNumber;
|
|
@@ -4411,6 +4353,10 @@ declare const conversationChildAgentsReportSchema: z.ZodObject<{
|
|
|
4411
4353
|
}, z.core.$strict>>;
|
|
4412
4354
|
}, z.core.$strict>>;
|
|
4413
4355
|
error: z.ZodOptional<z.ZodString>;
|
|
4356
|
+
kind: z.ZodEnum<{
|
|
4357
|
+
task: "task";
|
|
4358
|
+
thread: "thread";
|
|
4359
|
+
}>;
|
|
4414
4360
|
name: z.ZodOptional<z.ZodString>;
|
|
4415
4361
|
redacted: z.ZodOptional<z.ZodLiteral<true>>;
|
|
4416
4362
|
status: z.ZodEnum<{
|
|
@@ -4745,6 +4691,12 @@ declare const actorProfileReportSchema: z.ZodObject<{
|
|
|
4745
4691
|
}, z.core.$strict>>;
|
|
4746
4692
|
}, z.core.$strict>>;
|
|
4747
4693
|
conversationId: z.ZodString;
|
|
4694
|
+
kind: z.ZodEnum<{
|
|
4695
|
+
root: "root";
|
|
4696
|
+
task: "task";
|
|
4697
|
+
thread: "thread";
|
|
4698
|
+
}>;
|
|
4699
|
+
parentConversationId: z.ZodOptional<z.ZodString>;
|
|
4748
4700
|
isParticipant: z.ZodBoolean;
|
|
4749
4701
|
visibility: z.ZodOptional<z.ZodEnum<{
|
|
4750
4702
|
private: "private";
|
|
@@ -4754,6 +4706,7 @@ declare const actorProfileReportSchema: z.ZodObject<{
|
|
|
4754
4706
|
active: "active";
|
|
4755
4707
|
completed: "completed";
|
|
4756
4708
|
failed: "failed";
|
|
4709
|
+
stopped: "stopped";
|
|
4757
4710
|
}>;
|
|
4758
4711
|
startedAt: z.ZodString;
|
|
4759
4712
|
lastSeenAt: z.ZodString;
|
|
@@ -4781,6 +4734,7 @@ declare const actorProfileReportSchema: z.ZodObject<{
|
|
|
4781
4734
|
archivedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4782
4735
|
pinnedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4783
4736
|
pinPosition: z.ZodOptional<z.ZodNumber>;
|
|
4737
|
+
unread: z.ZodOptional<z.ZodBoolean>;
|
|
4784
4738
|
channel: z.ZodOptional<z.ZodString>;
|
|
4785
4739
|
channelName: z.ZodOptional<z.ZodString>;
|
|
4786
4740
|
channelNameRedacted: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -5170,6 +5124,12 @@ declare const locationDetailReportSchema: z.ZodObject<{
|
|
|
5170
5124
|
}, z.core.$strict>>;
|
|
5171
5125
|
}, z.core.$strict>>;
|
|
5172
5126
|
conversationId: z.ZodString;
|
|
5127
|
+
kind: z.ZodEnum<{
|
|
5128
|
+
root: "root";
|
|
5129
|
+
task: "task";
|
|
5130
|
+
thread: "thread";
|
|
5131
|
+
}>;
|
|
5132
|
+
parentConversationId: z.ZodOptional<z.ZodString>;
|
|
5173
5133
|
isParticipant: z.ZodBoolean;
|
|
5174
5134
|
visibility: z.ZodOptional<z.ZodEnum<{
|
|
5175
5135
|
private: "private";
|
|
@@ -5179,6 +5139,7 @@ declare const locationDetailReportSchema: z.ZodObject<{
|
|
|
5179
5139
|
active: "active";
|
|
5180
5140
|
completed: "completed";
|
|
5181
5141
|
failed: "failed";
|
|
5142
|
+
stopped: "stopped";
|
|
5182
5143
|
}>;
|
|
5183
5144
|
startedAt: z.ZodString;
|
|
5184
5145
|
lastSeenAt: z.ZodString;
|
|
@@ -5206,6 +5167,7 @@ declare const locationDetailReportSchema: z.ZodObject<{
|
|
|
5206
5167
|
archivedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5207
5168
|
pinnedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5208
5169
|
pinPosition: z.ZodOptional<z.ZodNumber>;
|
|
5170
|
+
unread: z.ZodOptional<z.ZodBoolean>;
|
|
5209
5171
|
channel: z.ZodOptional<z.ZodString>;
|
|
5210
5172
|
channelName: z.ZodOptional<z.ZodString>;
|
|
5211
5173
|
channelNameRedacted: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -7434,4 +7396,16 @@ declare const reviewItemActionSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
7434
7396
|
}, z.core.$strict>;
|
|
7435
7397
|
}, z.core.$strict>], "action">;
|
|
7436
7398
|
type ReviewItemActionBody = z.output<typeof reviewItemActionSchema>;
|
|
7437
|
-
|
|
7399
|
+
/**
|
|
7400
|
+
* Opaque change tokens for the dashboard reads that refresh by themselves.
|
|
7401
|
+
* A token changes when the read it covers can change. Compare a token only
|
|
7402
|
+
* with an earlier token of the same field.
|
|
7403
|
+
*/
|
|
7404
|
+
declare const versionsSchema: z.ZodObject<{
|
|
7405
|
+
conversation: z.ZodOptional<z.ZodString>;
|
|
7406
|
+
conversations: z.ZodString;
|
|
7407
|
+
reviewItems: z.ZodString;
|
|
7408
|
+
spend: z.ZodString;
|
|
7409
|
+
}, z.core.$strict>;
|
|
7410
|
+
type Versions = z.output<typeof versionsSchema>;
|
|
7411
|
+
export { automationEventCatalogSchema as $, dailyConversationActivitySchema as $i, ConversationCatchUp as $n, ConversationEventPage as $r, connectionSchema as $t, skillReportSchema as A, createConversationBodySchema as Ai, conversationWatchSchema as An, ConversationPendingMessagesReport as Ar, USER_CUSTOMIZATION_MAX_CHARS as At, AutomationExecutionStatusDay as B, CodeRepositoryReport as Bi, renameConversationResponseSchema as Bn, conversationUnchangedDetailWithMailboxSchema as Br, serviceAccountListSchema as Bt, pluginOperationalReportFeedSchema as C, conversationEventsQuerySchema as Ci, PersonalSpendReport as Cn, archiveConversationResponseSchema as Cr, baselineSnapshotSchema as Ct, pluginSchema as D, conversationReportEventDataSchema as Di, personalSpendReportSchema as Dn, CancelConversationPendingMessagesResponse as Dr, workspaceParamsSchema as Dt, pluginPackageContentReportSchema as E, conversationParamsSchema as Ei, personParamsSchema as En, CancelConversationPendingMessagesBody as Er, workspaceListSchema as Et, statsReportSchema as F, conversationTurnFailureReasonSchema as Fi, conversationChildAgentsReportSchema as Fn, conversationDetailWithMailboxReportSchema as Fr, personalTokenListSchema as Ft, AutomationRunWindows as G, codeOverviewReportSchema as Gi, PinConversationBody as Gn, CONVERSATION_DETAIL_VERSION_HEADER as Gr, notificationSettingsSchema as Gt, AutomationListQuery as H, codeActivityDaySchema as Hi, MarkConversationUnreadBody as Hn, steerConversationPendingMessagesResponseSchema as Hr, serviceAccountSchema as Ht, AutomationEdit as I, CodeActivityDay as Ii, CONVERSATION_TITLE_MAX_LENGTH as In, conversationPendingAuthorizationSchema as Ir, personalTokenMetadataSchema as It, AutomationUpdate as J, codeRepositoryReportSchema as Ji, ReorderPinnedConversationsResponse as Jn, ConversationAgentTreeNode as Jr, NotificationSchedule as Jt, AutomationScheduleIntent as K, codePersonReportSchema as Ki, PinConversationResponse as Kn, CONVERSATION_VERSION_HEADER as Kr, testNotificationResponseSchema as Kt, AutomationExecution as L, CodeChangeSummaryReport as Li, RenameConversationBody as Ln, conversationPendingMessageDeliverySchema as Lr, personalTokenParamsSchema as Lt, StatReport as M, forkConversationBodySchema as Mi, ConversationChildAgent as Mn, SteerConversationPendingMessagesResponse as Mr, PersonalTokenMetadata as Mt, StatsReport as N, forkConversationResponseSchema as Ni, ConversationChildAgentsReport as Nn, cancelConversationPendingMessagesBodySchema as Nr, createPersonalTokenBodySchema as Nt, pluginsSchema as O, conversationReportEventSchema as Oi, ConversationWatch as On, ConversationPendingMessage as Or, workspaceRepoSchema as Ot, statSchema as P, conversationTurnFailureCodeSchema as Pi, conversationChildAgentSchema as Pn, cancelConversationPendingMessagesResponseSchema as Pr, createdPersonalTokenSchema as Pt, automationEditSchema as Q, DailyConversationActivity as Qi, reorderPinnedConversationsResponseSchema as Qn, ConversationEventHistory as Qr, connectionParamsSchema as Qt, AutomationExecutionDay as R, CodeOverviewReport as Ri, RenameConversationResponse as Rn, conversationPendingMessageSchema as Rr, revokePersonalTokenResponseSchema as Rt, healthReportSchema as S, conversationEventPageSchema as Si, PersonParams as Sn, archiveConversationBodySchema as Sr, WorkspaceReport as St, pluginPackageContentItemReportSchema as T, conversationFeedSchema as Ti, actorProfileReportSchema as Tn, conversationAutoArchiveSchema as Tr, workspaceBodySchema as Tt, AutomationRun as U, codeChangeSummaryReportSchema as Ui, conversationUnreadSchema as Un, AcceptedConversationMessage as Ur, startServiceAccountSignInResponseSchema as Ut, AutomationList as V, CodeRepositorySummary as Vi, ConversationUnread as Vn, steerConversationPendingMessagesBodySchema as Vr, serviceAccountParamsSchema as Vt, AutomationRunList as W, codeChangeSummarySchema as Wi, markConversationUnreadBodySchema as Wn, ActorIdentity as Wr, NotificationSettings as Wt, ListedAutomationVersion as X, ConversationChildAgentTotals as Xi, pinConversationResponseSchema as Xn, ConversationCost as Xr, notificationScheduleSchema as Xt, AutomationVersionList as Y, codeRepositorySummarySchema as Yi, pinConversationBodySchema as Yn, ConversationAuxiliaryCosts as Yr, isWithinNotificationSchedule as Yt, automationEditErrorSchema as Z, conversationChildAgentTotalsSchema as Zi, reorderPinnedConversationsBodySchema as Zn, ConversationDetailReport as Zr, connectionListSchema as Zt, PluginPackageContentReport as _, INLINE_VIDEO_TYPES as _a, conversationActivityPreviewSchema as _i, ActorProfileReport as _n, GuardianStats as _r, automationVersionSchema as _t, ReviewItemPayload as a, UserInputAnswer as aa, ConversationReportEventData as ai, LocationActorSummaryReport as an, conversationReadPositionSchema as ar, automationListSchema as at, SkillReport as b, conversationDetailReportSchema as bi, ActorWindowMetrics as bn, ArchiveConversationResponse as br, BaselineSnapshotReport as bt, reviewItemListSchema as c, buttonUserInputField as ca, ConversationSourceTask as ci, LocationParams as cn, ContinueConversationInSlackResponse as cr, automationRunSchema as ct, ReviewItemChangeRecord as d, webMessageId as da, ConversationTurnFailureCode as di, locationDetailReportSchema as dn, StopConversationTurnResponse as dr, automationSchedulePreviewSchema as dt, MessageCard as ea, ConversationFeed as ei, disconnectConnectionResponseSchema as en, ConversationCatchUpBody as er, automationExecutionListSchema as et, HealthReport as f, isAgentInvocationResultEventType as fa, ConversationTurnFailureReason as fi, locationDirectoryReportSchema as fn, stopConversationTurnResponseSchema as fr, automationSummarySchema as ft, PluginPackageContentItemReport as g, MessageAttachment as ga, acceptedConversationMessageSchema as gi, ActorDirectoryWindows as gn, GuardianMetricDay as gr, automationVersionParamsSchema as gt, PluginOperationalReportFeed as h, MAX_INPUT_IMAGE_BYTES as ha, CreateConversationMessageBody as hi, ActorDirectoryReport as hn, ConversationStatsReport as hr, automationVersionListSchema as ht, ReviewItemActionBody as i, USER_INPUT_NOTE as ia, ConversationReportEvent as ii, LocationActivityDayReport as in, ConversationReadReport as ir, automationListQuerySchema as it, skillReportsSchema as j, createConversationMessageBodySchema as ji, conversationWatchesReportSchema as jn, SteerConversationPendingMessagesBody as jr, userCustomizationSchema as jt, runtimeInfoReportSchema as k, conversationSummaryReportSchema as ki, ConversationWatchesReport as kn, ConversationPendingMessageDelivery as kr, workspaceSchema as kt, reviewItemSchema as l, isEmptyUserInputAnswer as la, ConversationSummaryReport as li, LocationSummaryReport as ln, continueConversationInSlackBodySchema as lr, automationRunWindowsSchema as lt, PluginOperationalReport as m, MAX_INPUT_IMAGES as ma, CreateConversationBody as mi, ActorActivityDayReport as mn, ConversationStatsItem as mr, automationVersionActivateSchema as mt, Versions as n, resolveMessageCards as na, ConversationModelUsage as ni, ApiError as nn, conversationCatchUpSchema as nr, automationExecutionStatusDaySchema as nt, reviewItemActionSchema as o, UserInputField as oa, ConversationReportMessageEvent as oi, LocationDetailReport as on, conversationReadReportSchema as or, automationParamsSchema as ot, Plugin as p, InputImage as pa, ConversationUsage as pi, locationParamsSchema as pn, ConversationMetricDay as pr, automationUpdateSchema as pt, AutomationSummary as q, codeRepositoryParamsSchema as qi, ReorderPinnedConversationsBody as qn, ConversationActivityPreview as qr, DEFAULT_NOTIFICATION_SCHEDULE as qt, versionsSchema as r, AutomationCard as ra, ConversationParams as ri, apiErrorSchema as rn, ConversationReadPosition as rr, automationExecutionStatusSchema as rt, reviewItemCountSchema as s, UserInputRequest as sa, ConversationReportStatus as si, LocationDirectoryReport as sn, ContinueConversationInSlackBody as sr, automationRunListSchema as st, OwnedObjectAnnotation$1 as t, messageCardText as ta, ConversationFeedItem as ti, startConnectionResponseSchema as tn, conversationCatchUpBodySchema as tr, automationExecutionSchema as tt, reviewItemWaitingConversationsSchema as u, normalizeUserInputAnswer as ua, ConversationSurface as ui, locationActivityDayReportSchema as un, continueConversationInSlackResponseSchema as ur, automationScheduleIntentSchema as ut, Plugins as v, INPUT_IMAGE_TYPES as va, conversationAuxiliaryCostsSchema as vi, ActorSummaryReport as vn, conversationStatsReportSchema as vr, eventAutomationSummarySchema as vt, pluginOperationalReportSchema as w, conversationFeedQuerySchema as wi, actorDirectoryReportSchema as wn, archiveDoneConversationsResponseSchema as wr, deleteWorkspaceResponseSchema as wt, SkillReports as x, conversationEventHistorySchema as xi, PeopleActivityDayReport as xn, ConversationAutoArchive as xr, WorkspaceListReport as xt, RuntimeInfoReport as y, conversationDetailQuerySchema as yi, ActorTotalsReport as yn, ArchiveConversationBody as yr, scheduledAutomationSummarySchema as yt, AutomationExecutionList as z, CodePersonReport as zi, renameConversationBodySchema as zn, conversationPendingMessagesReportSchema as zr, disconnectServiceAccountResponseSchema as zt };
|