@sentry/junior 0.235.0 → 0.236.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.
Files changed (71) hide show
  1. package/dist/{agent-hooks-DS7k0ZWY.js → agent-hooks-Da_H0jHv.js} +8 -8
  2. package/dist/{agent-runner-BlDI1zV2.js → agent-runner-uP7QRc4c.js} +353 -117
  3. package/dist/api/schema.d.ts +223 -2
  4. package/dist/api/schema.js +5 -4
  5. package/dist/api.d.ts +8 -2
  6. package/dist/api.js +404 -47
  7. package/dist/{app-pGsR__aT.d.ts → app-MEd7wbF0.d.ts} +82 -48
  8. package/dist/app.d.ts +3 -3
  9. package/dist/app.js +162 -119
  10. package/dist/{types-Du-HbEun.js → automation-B9Kc1gcf.js} +304 -33
  11. package/dist/{briefs-C3jhszOz.js → briefs-DrjBPQFy.js} +4 -4
  12. package/dist/{catalog-runtime-B9u_3-GW.js → catalog-runtime-C7339Cfm.js} +1 -1
  13. package/dist/{checkpoint-DLcJ5mKL.js → checkpoint-DaD7_Gsb.js} +16 -9
  14. package/dist/cli/chat.d.ts +1 -1
  15. package/dist/cli/chat.js +14 -14
  16. package/dist/cli/check.js +4 -4
  17. package/dist/cli/main.js +1 -1
  18. package/dist/cli/plugins.d.ts +1 -1
  19. package/dist/cli/plugins.js +4 -4
  20. package/dist/cli/snapshot-create.js +3 -3
  21. package/dist/cli/upgrade.d.ts +1 -1
  22. package/dist/cli/upgrade.js +5 -5
  23. package/dist/{client-BSnNHO0R.js → client-Ch9Hg9NU.js} +2 -2
  24. package/dist/{config-Bmw4xTPK.js → config-JR9wke1W.js} +57 -17
  25. package/dist/{conversation-C_aYrISI.js → conversation-9Fxa1Zbq.js} +13 -1
  26. package/dist/{conversation-privacy-BV2dtba2.js → conversation-privacy-au02dyZK.js} +1 -1
  27. package/dist/{credential-sync-CukzQJ1x.js → credential-sync-BWTA3LnL.js} +14 -14
  28. package/dist/{executor-B9ksWZCv.js → executor-BW9XWgUQ.js} +38 -6
  29. package/dist/{images-CEXcQ0Id.js → images-BdG7zcNf.js} +3 -3
  30. package/dist/instrumentation.js +2 -2
  31. package/dist/{job-queue-CY1L2YRn.js → job-queue-BqXd0ZPV.js} +1 -1
  32. package/dist/{logging-F--48Q7Q.js → logging-B4sKwmCG.js} +1 -1
  33. package/dist/nitro.d.ts +2 -2
  34. package/dist/nitro.js +5 -5
  35. package/dist/{oauth-authorization-LasSG3Qc.js → oauth-authorization-BjRN99dc.js} +1 -1
  36. package/dist/{oauth-callback-server-D07ZzVMs.js → oauth-callback-server-B_1p98Mb.js} +2 -2
  37. package/dist/{pending-auth-DrG9Mkje.js → pending-auth-WqF4Gh8Z.js} +1 -1
  38. package/dist/{plugins-BT2l4We3.d.ts → plugins-CjfUP5gJ.d.ts} +1 -0
  39. package/dist/{profile-DZ2DUdd1.js → profile-BamYnmhO.js} +4 -4
  40. package/dist/{prompt-BM_5mAU3.js → prompt-Ctwy6hSI.js} +1 -1
  41. package/dist/queue-B5SnqRln.d.ts +25 -0
  42. package/dist/{registry-_JLY0x7b.js → registry-CXNv9fDX.js} +38 -2
  43. package/dist/{resolve-Cuoj3MML.js → resolve-C9ETkt4T.js} +2 -2
  44. package/dist/{runner-BfelmbMv.js → runner-DnBGVRnW.js} +9 -9
  45. package/dist/{sandbox-egress-signals-D5QUIO7Z.js → sandbox-egress-signals-DwJ7Boi_.js} +1 -1
  46. package/dist/{schema-CrdDxGbx.js → schema-CJiqDc5r.js} +3 -2
  47. package/dist/{skills-DAegjk5Y.js → skills-Dd8O9Aav.js} +3 -3
  48. package/dist/{spawn-DCfV7zGK.js → spawn-DFdRspSD.js} +2 -2
  49. package/dist/{task-queue-GcuFtzor.js → task-queue-DGQEOk1A.js} +16 -10
  50. package/dist/{task-runner-B0-P_3aq.js → task-runner-C5XCIDSF.js} +9 -9
  51. package/dist/{thread-state-TezcEhuH.js → thread-state-D3E29wZk.js} +5 -5
  52. package/dist/{turn-failure-response-Drhj_-t4.js → turn-failure-response-TDoj0aZz.js} +8 -8
  53. package/dist/{turn-lifecycle-BpIW3zOx.js → turn-lifecycle-DOnU45p7.js} +1 -1
  54. package/dist/{turn-session-routing-Dg8GDgyc.js → turn-session-routing-DbpZZoin.js} +1 -1
  55. package/dist/{validation-DAkYeKDT.js → validation-B9lMbisx.js} +1 -1
  56. package/dist/{version-9CB4Z-J4.js → version-CWkIGcLU.js} +1 -1
  57. package/dist/version.js +1 -1
  58. package/dist/{web-authorization-Cu33voNg.js → web-authorization-PPaoj2ns.js} +6 -6
  59. package/dist/{web-input-B3k0J7WB.js → web-input-CfNxXtHm.js} +86 -34
  60. package/dist/web-message-id-xPI_EFSC.js +239 -0
  61. package/dist/{work-PmkvcY9l.js → work-DNaoFrEe.js} +7 -7
  62. package/dist/{worker-COcaq2J6.js → worker-xeJLxYwm.js} +5 -5
  63. package/migrations/0045_conversation_forks.sql +3 -0
  64. package/migrations/0046_automation_versions.sql +71 -0
  65. package/migrations/meta/0045_snapshot.json +3503 -0
  66. package/migrations/meta/0046_snapshot.json +3707 -0
  67. package/migrations/meta/_journal.json +15 -1
  68. package/package.json +4 -4
  69. package/dist/web-message-id-CVVCTWUb.js +0 -464
  70. package/dist/{package-discovery-7a9YqLhE.js → package-discovery-BVvSnQBB.js} +1 -1
  71. package/dist/{plugin-module-BKGOXca2.js → plugin-module-CVvEUSMH.js} +1 -1
@@ -1159,6 +1159,13 @@ declare const conversationModelUsageSchema: z.ZodObject<{
1159
1159
  }, z.core.$strict>>;
1160
1160
  }, z.core.$strict>;
1161
1161
  }, z.core.$strict>;
1162
+ export declare const forkConversationBodySchema: z.ZodObject<{
1163
+ messageId: z.ZodString;
1164
+ idempotencyKey: z.ZodString;
1165
+ }, z.core.$strict>;
1166
+ export declare const forkConversationResponseSchema: z.ZodObject<{
1167
+ conversationId: z.ZodString;
1168
+ }, z.core.$strict>;
1162
1169
  export declare const conversationDetailReportSchema: z.ZodObject<{
1163
1170
  displayTitle: z.ZodString;
1164
1171
  activityPreview: z.ZodOptional<z.ZodObject<{
@@ -1337,6 +1344,10 @@ export declare const conversationDetailReportSchema: z.ZodObject<{
1337
1344
  finishedWorkAt: z.ZodOptional<z.ZodString>;
1338
1345
  isPriority: z.ZodOptional<z.ZodBoolean>;
1339
1346
  unfinishedWork: z.ZodOptional<z.ZodBoolean>;
1347
+ canFork: z.ZodOptional<z.ZodBoolean>;
1348
+ forkedFromConversationId: z.ZodOptional<z.ZodString>;
1349
+ forkedFromTitle: z.ZodOptional<z.ZodString>;
1350
+ forks: z.ZodOptional<z.ZodArray<z.ZodString>>;
1340
1351
  brief: z.ZodOptional<z.ZodObject<{
1341
1352
  content: z.ZodObject<{
1342
1353
  schemaVersion: z.ZodLiteral<1>;
@@ -3894,6 +3905,210 @@ export declare const automationRunListSchema: z.ZodObject<{
3894
3905
  }, z.core.$strict>>;
3895
3906
  truncated: z.ZodBoolean;
3896
3907
  }, z.core.$strict>;
3908
+ /** One saved Automation definition. Newer versions have larger numbers. */
3909
+ export declare const automationVersionSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
3910
+ kind: z.ZodLiteral<"scheduled">;
3911
+ definition: z.ZodObject<{
3912
+ destination: z.ZodObject<{
3913
+ teamId: z.ZodString;
3914
+ channelId: z.ZodString;
3915
+ platform: z.ZodLiteral<"slack">;
3916
+ }, z.core.$strict>;
3917
+ credentialMode: z.ZodEnum<{
3918
+ system: "system";
3919
+ creator: "creator";
3920
+ }>;
3921
+ outcomes: z.ZodArray<z.ZodObject<{
3922
+ action: z.ZodLiteral<"send_message">;
3923
+ destination: z.ZodObject<{
3924
+ teamId: z.ZodString;
3925
+ channelId: z.ZodString;
3926
+ platform: z.ZodLiteral<"slack">;
3927
+ }, z.core.$strict>;
3928
+ }, z.core.$strict>>;
3929
+ schedule: z.ZodObject<{
3930
+ description: z.ZodString;
3931
+ kind: z.ZodEnum<{
3932
+ one_off: "one_off";
3933
+ recurring: "recurring";
3934
+ }>;
3935
+ recurrence: z.ZodOptional<z.ZodObject<{
3936
+ dayOfMonth: z.ZodOptional<z.ZodNumber>;
3937
+ frequency: z.ZodEnum<{
3938
+ daily: "daily";
3939
+ weekly: "weekly";
3940
+ monthly: "monthly";
3941
+ yearly: "yearly";
3942
+ }>;
3943
+ interval: z.ZodNumber;
3944
+ month: z.ZodOptional<z.ZodNumber>;
3945
+ startDate: z.ZodString;
3946
+ time: z.ZodObject<{
3947
+ hour: z.ZodNumber;
3948
+ minute: z.ZodNumber;
3949
+ }, z.core.$strict>;
3950
+ weekdays: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
3951
+ }, z.core.$strict>>;
3952
+ timezone: z.ZodString;
3953
+ }, z.core.$strict>;
3954
+ title: z.ZodNullable<z.ZodString>;
3955
+ instruction: z.ZodString;
3956
+ }, z.core.$strict>;
3957
+ version: z.ZodNumber;
3958
+ createdAt: z.ZodString;
3959
+ editedBy: z.ZodNullable<z.ZodObject<{
3960
+ slackUserId: z.ZodString;
3961
+ fullName: z.ZodOptional<z.ZodString>;
3962
+ userName: z.ZodOptional<z.ZodString>;
3963
+ }, z.core.$strict>>;
3964
+ }, z.core.$strict>, z.ZodObject<{
3965
+ kind: z.ZodLiteral<"event">;
3966
+ definition: z.ZodObject<{
3967
+ destination: z.ZodObject<{
3968
+ teamId: z.ZodString;
3969
+ channelId: z.ZodString;
3970
+ platform: z.ZodLiteral<"slack">;
3971
+ }, z.core.$strict>;
3972
+ trigger: z.ZodObject<{
3973
+ events: z.ZodArray<z.ZodString>;
3974
+ label: z.ZodString;
3975
+ match: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodBoolean, z.ZodNumber, z.ZodString, z.ZodArray<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>]>>>;
3976
+ namespace: z.ZodString;
3977
+ identifier: z.ZodString;
3978
+ resourceType: z.ZodString;
3979
+ }, z.core.$strict>;
3980
+ credentialMode: z.ZodEnum<{
3981
+ system: "system";
3982
+ creator: "creator";
3983
+ }>;
3984
+ outcomes: z.ZodArray<z.ZodObject<{
3985
+ action: z.ZodLiteral<"send_message">;
3986
+ destination: z.ZodObject<{
3987
+ teamId: z.ZodString;
3988
+ channelId: z.ZodString;
3989
+ platform: z.ZodLiteral<"slack">;
3990
+ }, z.core.$strict>;
3991
+ }, z.core.$strict>>;
3992
+ title: z.ZodNullable<z.ZodString>;
3993
+ instruction: z.ZodString;
3994
+ }, z.core.$strict>;
3995
+ version: z.ZodNumber;
3996
+ createdAt: z.ZodString;
3997
+ editedBy: z.ZodNullable<z.ZodObject<{
3998
+ slackUserId: z.ZodString;
3999
+ fullName: z.ZodOptional<z.ZodString>;
4000
+ userName: z.ZodOptional<z.ZodString>;
4001
+ }, z.core.$strict>>;
4002
+ }, z.core.$strict>], "kind">;
4003
+ /** Newest versions first. */
4004
+ export declare const automationVersionListSchema: z.ZodObject<{
4005
+ versions: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
4006
+ kind: z.ZodLiteral<"scheduled">;
4007
+ definition: z.ZodObject<{
4008
+ destination: z.ZodObject<{
4009
+ teamId: z.ZodString;
4010
+ channelId: z.ZodString;
4011
+ platform: z.ZodLiteral<"slack">;
4012
+ }, z.core.$strict>;
4013
+ credentialMode: z.ZodEnum<{
4014
+ system: "system";
4015
+ creator: "creator";
4016
+ }>;
4017
+ outcomes: z.ZodArray<z.ZodObject<{
4018
+ action: z.ZodLiteral<"send_message">;
4019
+ destination: z.ZodObject<{
4020
+ teamId: z.ZodString;
4021
+ channelId: z.ZodString;
4022
+ platform: z.ZodLiteral<"slack">;
4023
+ }, z.core.$strict>;
4024
+ }, z.core.$strict>>;
4025
+ schedule: z.ZodObject<{
4026
+ description: z.ZodString;
4027
+ kind: z.ZodEnum<{
4028
+ one_off: "one_off";
4029
+ recurring: "recurring";
4030
+ }>;
4031
+ recurrence: z.ZodOptional<z.ZodObject<{
4032
+ dayOfMonth: z.ZodOptional<z.ZodNumber>;
4033
+ frequency: z.ZodEnum<{
4034
+ daily: "daily";
4035
+ weekly: "weekly";
4036
+ monthly: "monthly";
4037
+ yearly: "yearly";
4038
+ }>;
4039
+ interval: z.ZodNumber;
4040
+ month: z.ZodOptional<z.ZodNumber>;
4041
+ startDate: z.ZodString;
4042
+ time: z.ZodObject<{
4043
+ hour: z.ZodNumber;
4044
+ minute: z.ZodNumber;
4045
+ }, z.core.$strict>;
4046
+ weekdays: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
4047
+ }, z.core.$strict>>;
4048
+ timezone: z.ZodString;
4049
+ }, z.core.$strict>;
4050
+ title: z.ZodNullable<z.ZodString>;
4051
+ instruction: z.ZodString;
4052
+ }, z.core.$strict>;
4053
+ version: z.ZodNumber;
4054
+ createdAt: z.ZodString;
4055
+ editedBy: z.ZodNullable<z.ZodObject<{
4056
+ slackUserId: z.ZodString;
4057
+ fullName: z.ZodOptional<z.ZodString>;
4058
+ userName: z.ZodOptional<z.ZodString>;
4059
+ }, z.core.$strict>>;
4060
+ }, z.core.$strict>, z.ZodObject<{
4061
+ kind: z.ZodLiteral<"event">;
4062
+ definition: z.ZodObject<{
4063
+ destination: z.ZodObject<{
4064
+ teamId: z.ZodString;
4065
+ channelId: z.ZodString;
4066
+ platform: z.ZodLiteral<"slack">;
4067
+ }, z.core.$strict>;
4068
+ trigger: z.ZodObject<{
4069
+ events: z.ZodArray<z.ZodString>;
4070
+ label: z.ZodString;
4071
+ match: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodBoolean, z.ZodNumber, z.ZodString, z.ZodArray<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>]>>>;
4072
+ namespace: z.ZodString;
4073
+ identifier: z.ZodString;
4074
+ resourceType: z.ZodString;
4075
+ }, z.core.$strict>;
4076
+ credentialMode: z.ZodEnum<{
4077
+ system: "system";
4078
+ creator: "creator";
4079
+ }>;
4080
+ outcomes: z.ZodArray<z.ZodObject<{
4081
+ action: z.ZodLiteral<"send_message">;
4082
+ destination: z.ZodObject<{
4083
+ teamId: z.ZodString;
4084
+ channelId: z.ZodString;
4085
+ platform: z.ZodLiteral<"slack">;
4086
+ }, z.core.$strict>;
4087
+ }, z.core.$strict>>;
4088
+ title: z.ZodNullable<z.ZodString>;
4089
+ instruction: z.ZodString;
4090
+ }, z.core.$strict>;
4091
+ version: z.ZodNumber;
4092
+ createdAt: z.ZodString;
4093
+ editedBy: z.ZodNullable<z.ZodObject<{
4094
+ slackUserId: z.ZodString;
4095
+ fullName: z.ZodOptional<z.ZodString>;
4096
+ userName: z.ZodOptional<z.ZodString>;
4097
+ }, z.core.$strict>>;
4098
+ }, z.core.$strict>], "kind">>;
4099
+ activeVersion: z.ZodNullable<z.ZodNumber>;
4100
+ truncated: z.ZodBoolean;
4101
+ }, z.core.$strict>;
4102
+ export declare const automationVersionParamsSchema: z.ZodObject<{
4103
+ id: z.ZodString;
4104
+ kind: z.ZodEnum<{
4105
+ event: "event";
4106
+ scheduled: "scheduled";
4107
+ }>;
4108
+ version: z.ZodCoercedNumber<unknown>;
4109
+ }, z.core.$strict>;
4110
+ type AutomationVersion = z.output<typeof automationVersionSchema>;
4111
+ type AutomationVersionList = z.output<typeof automationVersionListSchema>;
3897
4112
  type AutomationExecutionDay = z.output<typeof automationExecutionDaySchema>;
3898
4113
  type AutomationExecutionStatusDay = z.output<typeof automationExecutionStatusDaySchema>;
3899
4114
  type AutomationExecution = z.output<typeof automationExecutionSchema>;
@@ -3904,7 +4119,11 @@ type AutomationRunWindows = z.output<typeof automationRunWindowsSchema>;
3904
4119
  type AutomationSummary = z.output<typeof automationSummarySchema>;
3905
4120
  type AutomationList = z.output<typeof automationListSchema>;
3906
4121
  type AutomationListQuery = z.output<typeof automationListQuerySchema>;
3907
- /** Creator-only edit values. Read schemas also retain legacy values. */
4122
+ /** Make a saved version active. The revision is the edit read revision. */
4123
+ export declare const automationVersionActivateSchema: z.ZodObject<{
4124
+ revision: z.ZodString;
4125
+ }, z.core.$strict>;
4126
+ /** Edit values for owners and public readers. Read schemas also retain legacy values. */
3908
4127
  export declare const automationEditSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
3909
4128
  destination: z.ZodObject<{
3910
4129
  teamId: z.ZodString;
@@ -3933,6 +4152,7 @@ export declare const automationEditSchema: z.ZodDiscriminatedUnion<[z.ZodObject<
3933
4152
  threadTs: z.ZodOptional<z.ZodString>;
3934
4153
  }, z.core.$strict>;
3935
4154
  }, z.core.$strict>>;
4155
+ ownedByViewer: z.ZodBoolean;
3936
4156
  schedule: z.ZodObject<{
3937
4157
  description: z.ZodString;
3938
4158
  kind: z.ZodEnum<{
@@ -3994,6 +4214,7 @@ export declare const automationEditSchema: z.ZodDiscriminatedUnion<[z.ZodObject<
3994
4214
  threadTs: z.ZodOptional<z.ZodString>;
3995
4215
  }, z.core.$strict>;
3996
4216
  }, z.core.$strict>>;
4217
+ ownedByViewer: z.ZodBoolean;
3997
4218
  kind: z.ZodLiteral<"event">;
3998
4219
  trigger: z.ZodObject<{
3999
4220
  events: z.ZodArray<z.ZodString>;
@@ -4427,4 +4648,4 @@ type PluginPackageContentReport = z.infer<typeof pluginPackageContentReportSchem
4427
4648
  type PluginOperationalReport = z.infer<typeof pluginOperationalReportSchema>;
4428
4649
  type PluginOperationalReportFeed = z.infer<typeof pluginOperationalReportFeedSchema>;
4429
4650
  //#endregion
4430
- export { type AcceptedConversationMessage, type ActorActivityDayReport, type ActorDirectoryReport, type ActorDirectoryWindows, type ActorIdentity, type ActorProfileReport, type ActorSummaryReport, type ActorTotalsReport, type ActorWindowMetrics, type ApiError, type ArchiveConversationBody, type ArchiveConversationResponse, type AutomationCard, type AutomationEdit, type AutomationExecution, type AutomationExecutionDay, type AutomationExecutionList, type AutomationExecutionStatusDay, type AutomationList, type AutomationListQuery, type AutomationRun, type AutomationRunList, type AutomationRunWindows, type AutomationScheduleIntent, type AutomationSummary, type AutomationUpdate, type BaselineSnapshotReport, type CancelConversationPendingMessagesBody, type CancelConversationPendingMessagesResponse, type CodeActivityDay, type CodeChangeSummaryReport, type CodeOverviewReport, type CodePersonReport, type CodeRepositoryReport, type CodeRepositorySummary, type ConversationActivityPreview, type ConversationAuxiliaryCosts, type ConversationCost, type ConversationDetailReport, type ConversationEventHistory, type ConversationEventPage, type ConversationFeed, type ConversationMetricDay, type ConversationModelUsage, type ConversationParams, type ConversationPendingMessage, type ConversationPendingMessageDelivery, type ConversationPendingMessagesReport, type ConversationReportEvent, type ConversationReportEventData, type ConversationReportStatus, type ConversationSourceTask, type ConversationStatsItem, type ConversationStatsReport, type ConversationSummaryReport, type ConversationSurface, type ConversationTurnFailureCode, type ConversationTurnFailureReason, type ConversationUsage, type CreateConversationBody, type CreateConversationMessageBody, type DailyConversationActivity, type GuardianMetricDay, type GuardianStats, type HealthReport, type InputImage, type LocationActivityDayReport, type LocationActorSummaryReport, type LocationDetailReport, type LocationDirectoryReport, type LocationParams, type LocationSummaryReport, MAX_INPUT_IMAGES, MAX_INPUT_IMAGE_BYTES, type MessageAttachment, type MessageCard, type OwnedObjectAnnotation, type PeopleActivityDayReport, type PersonParams, type PersonalSpendReport, type PersonalTokenMetadata, type Plugin, type PluginOperationalReport, type PluginOperationalReportFeed, type PluginPackageContentItemReport, type PluginPackageContentReport, type Plugins, type RuntimeInfoReport, type SkillReport, type SkillReports, type StatReport, type StatsReport, type WorkspaceReport, conversationTurnFailureCodeSchema, conversationTurnFailureReasonSchema, messageCardText, resolveMessageCards };
4651
+ export { type AcceptedConversationMessage, type ActorActivityDayReport, type ActorDirectoryReport, type ActorDirectoryWindows, type ActorIdentity, type ActorProfileReport, type ActorSummaryReport, type ActorTotalsReport, type ActorWindowMetrics, type ApiError, type ArchiveConversationBody, type ArchiveConversationResponse, type AutomationCard, type AutomationEdit, type AutomationExecution, type AutomationExecutionDay, type AutomationExecutionList, type AutomationExecutionStatusDay, type AutomationList, type AutomationListQuery, type AutomationRun, type AutomationRunList, type AutomationRunWindows, type AutomationScheduleIntent, type AutomationSummary, type AutomationUpdate, type AutomationVersion, type AutomationVersionList, type BaselineSnapshotReport, type CancelConversationPendingMessagesBody, type CancelConversationPendingMessagesResponse, type CodeActivityDay, type CodeChangeSummaryReport, type CodeOverviewReport, type CodePersonReport, type CodeRepositoryReport, type CodeRepositorySummary, type ConversationActivityPreview, type ConversationAuxiliaryCosts, type ConversationCost, type ConversationDetailReport, type ConversationEventHistory, type ConversationEventPage, type ConversationFeed, type ConversationMetricDay, type ConversationModelUsage, type ConversationParams, type ConversationPendingMessage, type ConversationPendingMessageDelivery, type ConversationPendingMessagesReport, type ConversationReportEvent, type ConversationReportEventData, type ConversationReportStatus, type ConversationSourceTask, type ConversationStatsItem, type ConversationStatsReport, type ConversationSummaryReport, type ConversationSurface, type ConversationTurnFailureCode, type ConversationTurnFailureReason, type ConversationUsage, type CreateConversationBody, type CreateConversationMessageBody, type DailyConversationActivity, type GuardianMetricDay, type GuardianStats, type HealthReport, type InputImage, type LocationActivityDayReport, type LocationActorSummaryReport, type LocationDetailReport, type LocationDirectoryReport, type LocationParams, type LocationSummaryReport, MAX_INPUT_IMAGES, MAX_INPUT_IMAGE_BYTES, type MessageAttachment, type MessageCard, type OwnedObjectAnnotation, type PeopleActivityDayReport, type PersonParams, type PersonalSpendReport, type PersonalTokenMetadata, type Plugin, type PluginOperationalReport, type PluginOperationalReportFeed, type PluginPackageContentItemReport, type PluginPackageContentReport, type Plugins, type RuntimeInfoReport, type SkillReport, type SkillReports, type StatReport, type StatsReport, type WorkspaceReport, conversationTurnFailureCodeSchema, conversationTurnFailureReasonSchema, messageCardText, resolveMessageCards };
@@ -1,4 +1,5 @@
1
- import { A as MAX_INPUT_IMAGE_BYTES, C as conversationReportEventSchema, D as createConversationBodySchema, E as conversationSummaryReportSchema, J as conversationTurnFailureCodeSchema, M as INPUT_IMAGE_TYPES, O as createConversationMessageBodySchema, S as conversationReportEventDataSchema, T as conversationStatsReportSchema, V as messageCardText, W as resolveMessageCards, Y as conversationTurnFailureReasonSchema, _ as conversationParamsSchema, a as cancelConversationPendingMessagesBodySchema, b as conversationPendingMessageSchema, d as conversationDetailReportSchema, f as conversationEventHistorySchema, g as conversationFeedSchema, h as conversationFeedQuerySchema, i as archiveConversationResponseSchema, k as MAX_INPUT_IMAGES, l as conversationAuxiliaryCostsSchema, m as conversationEventsQuerySchema, o as cancelConversationPendingMessagesResponseSchema, p as conversationEventPageSchema, r as archiveConversationBodySchema, s as conversationActivityPreviewSchema, t as acceptedConversationMessageSchema, u as conversationDetailQuerySchema, v as conversationPendingAuthorizationSchema, x as conversationPendingMessagesReportSchema, y as conversationPendingMessageDeliverySchema } from "../conversation-C_aYrISI.js";
2
- import { A as automationSummarySchema, B as pluginsSchema, C as automationListSchema, D as automationRunWindowsSchema, E as automationRunSchema, F as pluginOperationalReportFeedSchema, H as skillReportSchema, I as pluginOperationalReportSchema, L as pluginPackageContentItemReportSchema, M as eventAutomationSummarySchema, N as scheduledAutomationSummarySchema, O as automationScheduleIntentSchema, P as healthReportSchema, R as pluginPackageContentReportSchema, S as automationListQuerySchema, T as automationRunListSchema, U as skillReportsSchema, V as runtimeInfoReportSchema, _ as automationExecutionListSchema, b as automationExecutionStatusSchema, g as automationEventCatalogSchema, h as automationEditSchema, j as automationUpdateSchema, k as automationSchedulePreviewSchema, m as automationEditErrorSchema, t as webMessageId, v as automationExecutionSchema, w as automationParamsSchema, y as automationExecutionStatusDaySchema, z as pluginSchema } from "../web-message-id-CVVCTWUb.js";
3
- import { A as codeChangeSummarySchema, C as locationParamsSchema, D as dailyConversationActivitySchema, F as codeRepositorySummarySchema, I as apiErrorSchema, M as codePersonReportSchema, N as codeRepositoryParamsSchema, O as codeActivityDaySchema, P as codeRepositoryReportSchema, S as locationDirectoryReportSchema, _ as actorProfileReportSchema, a as workspaceBodySchema, b as locationActivityDayReportSchema, c as workspaceRepoSchema, d as createdPersonalTokenSchema, f as personalTokenListSchema, g as actorDirectoryReportSchema, h as revokePersonalTokenResponseSchema, i as deleteWorkspaceResponseSchema, j as codeOverviewReportSchema, k as codeChangeSummaryReportSchema, l as workspaceSchema, m as personalTokenParamsSchema, n as statsReportSchema, o as workspaceListSchema, p as personalTokenMetadataSchema, r as baselineSnapshotSchema, s as workspaceParamsSchema, t as statSchema, u as createPersonalTokenBodySchema, v as personParamsSchema, x as locationDetailReportSchema, y as personalSpendReportSchema } from "../schema-CrdDxGbx.js";
4
- export { INPUT_IMAGE_TYPES, MAX_INPUT_IMAGES, MAX_INPUT_IMAGE_BYTES, acceptedConversationMessageSchema, actorDirectoryReportSchema, actorProfileReportSchema, apiErrorSchema, archiveConversationBodySchema, archiveConversationResponseSchema, automationEditErrorSchema, automationEditSchema, automationEventCatalogSchema, automationExecutionListSchema, automationExecutionSchema, automationExecutionStatusDaySchema, automationExecutionStatusSchema, automationListQuerySchema, automationListSchema, automationParamsSchema, automationRunListSchema, automationRunSchema, automationRunWindowsSchema, automationScheduleIntentSchema, automationSchedulePreviewSchema, automationSummarySchema, automationUpdateSchema, baselineSnapshotSchema, cancelConversationPendingMessagesBodySchema, cancelConversationPendingMessagesResponseSchema, codeActivityDaySchema, codeChangeSummaryReportSchema, codeChangeSummarySchema, codeOverviewReportSchema, codePersonReportSchema, codeRepositoryParamsSchema, codeRepositoryReportSchema, codeRepositorySummarySchema, conversationActivityPreviewSchema, conversationAuxiliaryCostsSchema, conversationDetailQuerySchema, conversationDetailReportSchema, conversationEventHistorySchema, conversationEventPageSchema, conversationEventsQuerySchema, conversationFeedQuerySchema, conversationFeedSchema, conversationParamsSchema, conversationPendingAuthorizationSchema, conversationPendingMessageDeliverySchema, conversationPendingMessageSchema, conversationPendingMessagesReportSchema, conversationReportEventDataSchema, conversationReportEventSchema, conversationStatsReportSchema, conversationSummaryReportSchema, conversationTurnFailureCodeSchema, conversationTurnFailureReasonSchema, createConversationBodySchema, createConversationMessageBodySchema, createPersonalTokenBodySchema, createdPersonalTokenSchema, dailyConversationActivitySchema, deleteWorkspaceResponseSchema, eventAutomationSummarySchema, healthReportSchema, locationActivityDayReportSchema, locationDetailReportSchema, locationDirectoryReportSchema, locationParamsSchema, messageCardText, personParamsSchema, personalSpendReportSchema, personalTokenListSchema, personalTokenMetadataSchema, personalTokenParamsSchema, pluginOperationalReportFeedSchema, pluginOperationalReportSchema, pluginPackageContentItemReportSchema, pluginPackageContentReportSchema, pluginSchema, pluginsSchema, resolveMessageCards, revokePersonalTokenResponseSchema, runtimeInfoReportSchema, scheduledAutomationSummarySchema, skillReportSchema, skillReportsSchema, statSchema, statsReportSchema, webMessageId, workspaceBodySchema, workspaceListSchema, workspaceParamsSchema, workspaceRepoSchema, workspaceSchema };
1
+ import { A as forkConversationResponseSchema, C as conversationReportEventSchema, D as createConversationBodySchema, E as conversationSummaryReportSchema, K as resolveMessageCards, M as MAX_INPUT_IMAGE_BYTES, O as createConversationMessageBodySchema, P as INPUT_IMAGE_TYPES, S as conversationReportEventDataSchema, T as conversationStatsReportSchema, U as messageCardText, X as conversationTurnFailureCodeSchema, Z as conversationTurnFailureReasonSchema, _ as conversationParamsSchema, a as cancelConversationPendingMessagesBodySchema, b as conversationPendingMessageSchema, d as conversationDetailReportSchema, f as conversationEventHistorySchema, g as conversationFeedSchema, h as conversationFeedQuerySchema, i as archiveConversationResponseSchema, j as MAX_INPUT_IMAGES, k as forkConversationBodySchema, l as conversationAuxiliaryCostsSchema, m as conversationEventsQuerySchema, o as cancelConversationPendingMessagesResponseSchema, p as conversationEventPageSchema, r as archiveConversationBodySchema, s as conversationActivityPreviewSchema, t as acceptedConversationMessageSchema, u as conversationDetailQuerySchema, v as conversationPendingAuthorizationSchema, x as conversationPendingMessagesReportSchema, y as conversationPendingMessageDeliverySchema } from "../conversation-9Fxa1Zbq.js";
2
+ import { C as eventAutomationSummarySchema, S as automationVersionSchema, _ as automationSummarySchema, a as automationExecutionSchema, b as automationVersionListSchema, d as automationParamsSchema, f as automationRunListSchema, g as automationSchedulePreviewSchema, h as automationScheduleIntentSchema, i as automationExecutionListSchema, l as automationListQuerySchema, m as automationRunWindowsSchema, n as automationEditSchema, o as automationExecutionStatusDaySchema, p as automationRunSchema, r as automationEventCatalogSchema, s as automationExecutionStatusSchema, t as automationEditErrorSchema, u as automationListSchema, v as automationUpdateSchema, w as scheduledAutomationSummarySchema, x as automationVersionParamsSchema, y as automationVersionActivateSchema } from "../automation-B9Kc1gcf.js";
3
+ import { C as skillReportsSchema, S as skillReportSchema, _ as pluginPackageContentItemReportSchema, b as pluginsSchema, g as pluginOperationalReportSchema, h as pluginOperationalReportFeedSchema, m as healthReportSchema, t as webMessageId, v as pluginPackageContentReportSchema, x as runtimeInfoReportSchema, y as pluginSchema } from "../web-message-id-xPI_EFSC.js";
4
+ import { A as codeChangeSummarySchema, C as locationParamsSchema, D as dailyConversationActivitySchema, F as codeRepositorySummarySchema, I as apiErrorSchema, M as codePersonReportSchema, N as codeRepositoryParamsSchema, O as codeActivityDaySchema, P as codeRepositoryReportSchema, S as locationDirectoryReportSchema, _ as actorProfileReportSchema, a as workspaceBodySchema, b as locationActivityDayReportSchema, c as workspaceRepoSchema, d as createdPersonalTokenSchema, f as personalTokenListSchema, g as actorDirectoryReportSchema, h as revokePersonalTokenResponseSchema, i as deleteWorkspaceResponseSchema, j as codeOverviewReportSchema, k as codeChangeSummaryReportSchema, l as workspaceSchema, m as personalTokenParamsSchema, n as statsReportSchema, o as workspaceListSchema, p as personalTokenMetadataSchema, r as baselineSnapshotSchema, s as workspaceParamsSchema, t as statSchema, u as createPersonalTokenBodySchema, v as personParamsSchema, x as locationDetailReportSchema, y as personalSpendReportSchema } from "../schema-CJiqDc5r.js";
5
+ export { INPUT_IMAGE_TYPES, MAX_INPUT_IMAGES, MAX_INPUT_IMAGE_BYTES, acceptedConversationMessageSchema, actorDirectoryReportSchema, actorProfileReportSchema, apiErrorSchema, archiveConversationBodySchema, archiveConversationResponseSchema, automationEditErrorSchema, automationEditSchema, automationEventCatalogSchema, automationExecutionListSchema, automationExecutionSchema, automationExecutionStatusDaySchema, automationExecutionStatusSchema, automationListQuerySchema, automationListSchema, automationParamsSchema, automationRunListSchema, automationRunSchema, automationRunWindowsSchema, automationScheduleIntentSchema, automationSchedulePreviewSchema, automationSummarySchema, automationUpdateSchema, automationVersionActivateSchema, automationVersionListSchema, automationVersionParamsSchema, automationVersionSchema, baselineSnapshotSchema, cancelConversationPendingMessagesBodySchema, cancelConversationPendingMessagesResponseSchema, codeActivityDaySchema, codeChangeSummaryReportSchema, codeChangeSummarySchema, codeOverviewReportSchema, codePersonReportSchema, codeRepositoryParamsSchema, codeRepositoryReportSchema, codeRepositorySummarySchema, conversationActivityPreviewSchema, conversationAuxiliaryCostsSchema, conversationDetailQuerySchema, conversationDetailReportSchema, conversationEventHistorySchema, conversationEventPageSchema, conversationEventsQuerySchema, conversationFeedQuerySchema, conversationFeedSchema, conversationParamsSchema, conversationPendingAuthorizationSchema, conversationPendingMessageDeliverySchema, conversationPendingMessageSchema, conversationPendingMessagesReportSchema, conversationReportEventDataSchema, conversationReportEventSchema, conversationStatsReportSchema, conversationSummaryReportSchema, conversationTurnFailureCodeSchema, conversationTurnFailureReasonSchema, createConversationBodySchema, createConversationMessageBodySchema, createPersonalTokenBodySchema, createdPersonalTokenSchema, dailyConversationActivitySchema, deleteWorkspaceResponseSchema, eventAutomationSummarySchema, forkConversationBodySchema, forkConversationResponseSchema, healthReportSchema, locationActivityDayReportSchema, locationDetailReportSchema, locationDirectoryReportSchema, locationParamsSchema, messageCardText, personParamsSchema, personalSpendReportSchema, personalTokenListSchema, personalTokenMetadataSchema, personalTokenParamsSchema, pluginOperationalReportFeedSchema, pluginOperationalReportSchema, pluginPackageContentItemReportSchema, pluginPackageContentReportSchema, pluginSchema, pluginsSchema, resolveMessageCards, revokePersonalTokenResponseSchema, runtimeInfoReportSchema, scheduledAutomationSummarySchema, skillReportSchema, skillReportsSchema, statSchema, statsReportSchema, webMessageId, workspaceBodySchema, workspaceListSchema, workspaceParamsSchema, workspaceRepoSchema, workspaceSchema };
package/dist/api.d.ts CHANGED
@@ -1,3 +1,4 @@
1
+ import { n as ConversationWorkQueue } from "./queue-B5SnqRln.js";
1
2
  import "./db-Ca9Nt5ci.js";
2
3
  import { Hono } from "hono";
3
4
  import { z } from "zod";
@@ -28,7 +29,12 @@ export declare function resolveViewerUser(email: string): Promise<User | undefin
28
29
  export declare function updateViewerDisplayName(userId: string, displayName: string): Promise<User | undefined>;
29
30
  //#endregion
30
31
  //#region src/api.d.ts
32
+ /** Options that `createApp()` passes through the dashboard. */
33
+ export interface JuniorApiOptions {
34
+ /** Queue for accepted web input. Defaults to Vercel Queues. */
35
+ conversationWorkQueue?: ConversationWorkQueue;
36
+ }
31
37
  /** Create Junior's production REST API for authenticated dashboard consumers. */
32
- export declare function createJuniorApi(): Hono<JuniorApiEnv>;
38
+ export declare function createJuniorApi(options?: JuniorApiOptions): Hono<JuniorApiEnv>;
33
39
  //#endregion
34
- export type { JuniorApiVariables };
40
+ export type { ConversationWorkQueue, JuniorApiVariables };