@sentry/junior 0.205.0 → 0.207.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 (73) hide show
  1. package/dist/{agent-D4nu8MQV.js → agent-CmQlX68D.js} +603 -394
  2. package/dist/{agent-hooks-DXHpTJ4m.js → agent-hooks-BBX9p6aG.js} +1171 -100
  3. package/dist/{agent-runner-C04colea.js → agent-runner-CQD4HKK2.js} +9 -9
  4. package/dist/api/schema.d.ts +116 -39
  5. package/dist/api/schema.js +3 -3
  6. package/dist/api.d.ts +1 -1
  7. package/dist/api.js +182 -649
  8. package/dist/{app-Cb776lL8.d.ts → app-DfNrn_gS.d.ts} +9 -2
  9. package/dist/app.d.ts +1 -1
  10. package/dist/app.js +205 -233
  11. package/dist/{auth-pause-state-C2P3guS1.js → auth-pause-state-uv8on6cT.js} +7 -7
  12. package/dist/briefs-BXEmjD9D.js +398 -0
  13. package/dist/{catalog-runtime-CXw3asJD.js → catalog-runtime-1BZEOR8J.js} +1 -1
  14. package/dist/{checkpoint-CrViJ8Ps.js → checkpoint-B-JO5F3c.js} +9 -8
  15. package/dist/cli/chat.js +14 -12
  16. package/dist/cli/check.js +3 -3
  17. package/dist/cli/init.js +1 -0
  18. package/dist/cli/main.js +5 -1
  19. package/dist/cli/plugins.js +3 -3
  20. package/dist/cli/run.d.ts +2 -1
  21. package/dist/cli/run.js +2 -1
  22. package/dist/cli/snapshot-create.js +3 -3
  23. package/dist/cli/upgrade.d.ts +1 -1
  24. package/dist/cli/upgrade.js +3 -3
  25. package/dist/{config-BOtJQ7Pc.js → client-Bp297GA0.js} +6 -369
  26. package/dist/config-G2gv97R1.js +386 -0
  27. package/dist/{context-B45_WqVX.js → context-Bplcgypl.js} +13 -13
  28. package/dist/{schema-Rn8-XEaN.js → conversation-AA4R1VUn.js} +580 -558
  29. package/dist/{conversation-privacy-BZRA6Pes.js → conversation-privacy-BUfel19D.js} +1 -1
  30. package/dist/{credential-sync-Bep34IB_.js → credential-sync-D04NWqMR.js} +21 -20
  31. package/dist/{db-BeyXKJOI.d.ts → db-D74z7BZH.d.ts} +1 -1
  32. package/dist/{execution-stats-B6lgWxCK.js → execution-stats-Ds4bSvam.js} +77 -77
  33. package/dist/{executor-BlUhFL7_.js → executor-BZu1Ta06.js} +41 -13
  34. package/dist/instrumentation.js +2 -2
  35. package/dist/{job-queue-DLMqIK74.js → job-queue-rnAPfUhP.js} +1 -1
  36. package/dist/{logging-BMJzdDlP.js → logging-Dx0S5k2z.js} +1 -1
  37. package/dist/nitro.d.ts +1 -1
  38. package/dist/nitro.js +3 -3
  39. package/dist/{oauth-callback-server-WwG5_Zgm.js → oauth-callback-server-xGpwURIj.js} +2 -2
  40. package/dist/{pending-auth-CUbXq06G.js → pending-auth-DIZ4iZjS.js} +2 -2
  41. package/dist/{profile-T0tXE4zu.js → profile-d-fKypxo.js} +4 -3
  42. package/dist/prompt-x-0ZtTyb.js +552 -0
  43. package/dist/{registry-BA0__8ai.js → registry-CWKdLCTG.js} +2 -2
  44. package/dist/{resolve-bvD1ORdv.js → resolve-BhRB1s2A.js} +2 -2
  45. package/dist/{runner-BXYxfIUL.js → runner-DNml3owD.js} +10 -10
  46. package/dist/{sandbox-egress-signals-ngEPjSEW.js → sandbox-egress-signals-DUIl3-gW.js} +1 -1
  47. package/dist/schema-CwTeb-BF.js +559 -0
  48. package/dist/{skills-DJOlYdBs.js → skills-D9WesdJJ.js} +2 -2
  49. package/dist/{spawn-h0R1bTEo.js → spawn-Eh_3-s0M.js} +2 -2
  50. package/dist/{stats-3YZn-Swi.js → stats-CFlUGqVA.js} +292 -268
  51. package/dist/{store-C5qxF2ac.d.ts → store-Det8MQ9g.d.ts} +1 -1
  52. package/dist/{task-queue-CoXwd2eq.js → task-queue-D8I1_5wP.js} +3 -3
  53. package/dist/{task-runner-B2_mJZj0.js → task-runner-DO79gdho.js} +18 -18
  54. package/dist/{thread-state-CqZ1m-es.js → thread-state-DD6BA4xz.js} +5 -5
  55. package/dist/{turn-execution-fI6PZ0iI.js → turn-execution-BSIHxmQJ.js} +3 -3
  56. package/dist/{turn-lifecycle-CcnwrOcp.js → turn-lifecycle-DSBK4Ars.js} +1 -1
  57. package/dist/{usage-B5SfMb3H.js → usage-WRXkNOHp.js} +4 -125
  58. package/dist/{validation-DfWcvhuS.js → validation-BbHZ4r4S.js} +1 -1
  59. package/dist/{version-oD-oPrbO.js → version-C71UcRWw.js} +1 -1
  60. package/dist/version.js +1 -1
  61. package/dist/web-authorization-C73gJV7l.js +38 -0
  62. package/dist/{web-input-BOuq3oKK.js → web-input-Ce1FcNIM.js} +8 -8
  63. package/dist/{work-B91LQKHr.js → work-BEzDU_2x.js} +9 -9
  64. package/dist/{worker-BcRRTe6k.js → worker-MK2ubOv-.js} +5 -4
  65. package/migrations/0040_conversation_briefs.sql +17 -0
  66. package/migrations/0041_automation_outcomes_backfill.sql +27 -0
  67. package/migrations/meta/0040_snapshot.json +3516 -0
  68. package/migrations/meta/0041_snapshot.json +3516 -0
  69. package/migrations/meta/_journal.json +14 -0
  70. package/package.json +4 -4
  71. package/dist/history-CqTuSAdI.js +0 -441
  72. package/dist/usage-schema-CKaDkH_j.js +0 -20
  73. package/dist/web-authorization-Crbzlmzo.js +0 -76
@@ -1,9 +1,9 @@
1
- import { m as normalizeSlackEmojiName } from "./config-BOtJQ7Pc.js";
2
- import { F as isRecord, d as logInfo, f as logWarn } from "./logging-BMJzdDlP.js";
3
- import { _ as parseSlackMessageTs, g as parseSlackUserId } from "./context-B45_WqVX.js";
4
- import { B as getSlackClient, Bt as parseDestination, G as withSlackRetries, H as isDmChannel, I as SlackActionError, U as normalizeSlackConversationId, n as applyPluginFormatMarkdown } from "./agent-hooks-DXHpTJ4m.js";
5
- import { n as pluginCatalogRuntime } from "./catalog-runtime-CXw3asJD.js";
6
- import { w as getStateAdapter } from "./profile-T0tXE4zu.js";
1
+ import { F as isRecord, d as logInfo, f as logWarn } from "./logging-Dx0S5k2z.js";
2
+ import { h as normalizeSlackEmojiName } from "./config-G2gv97R1.js";
3
+ import { _ as parseSlackMessageTs, g as parseSlackUserId } from "./context-Bplcgypl.js";
4
+ import { G as isDmChannel, J as withSlackRetries, K as normalizeSlackConversationId, U as getSlackClient, Xt as parseDestination, n as applyPluginFormatMarkdown, z as SlackActionError } from "./agent-hooks-BBX9p6aG.js";
5
+ import { n as pluginCatalogRuntime } from "./catalog-runtime-1BZEOR8J.js";
6
+ import { w as getStateAdapter } from "./profile-d-fKypxo.js";
7
7
  import { r as isExperimentalFeatureEnabled } from "./experimental-CIXf7Uye.js";
8
8
  import { randomBytes } from "node:crypto";
9
9
  import { actorSchema, sourceSchema } from "@sentry/junior-plugin-api";
@@ -46,9 +46,9 @@ function assertRunConsistency(run) {
46
46
  if (run.surface !== "internal" && destination.conversationId !== run.conversationId) throw new TypeError("Source, destination, and run conversation IDs do not match");
47
47
  }
48
48
  break;
49
- case "resource_event":
50
- case "scheduled_task":
51
- case "event_task":
49
+ case "event":
50
+ case "scheduled_automation":
51
+ case "event_automation":
52
52
  case "plugin_dispatch":
53
53
  case "agent_invocation": return;
54
54
  }
@@ -334,8 +334,8 @@ export declare const conversationAuxiliaryCostsSchema: z.ZodObject<{
334
334
  declare const conversationSourceTaskSchema: z.ZodObject<{
335
335
  id: z.ZodOptional<z.ZodString>;
336
336
  kind: z.ZodEnum<{
337
- scheduled: "scheduled";
338
337
  event: "event";
338
+ scheduled: "scheduled";
339
339
  }>;
340
340
  label: z.ZodOptional<z.ZodString>;
341
341
  title: z.ZodOptional<z.ZodString>;
@@ -1015,6 +1015,83 @@ export declare const conversationDetailReportSchema: z.ZodObject<{
1015
1015
  finishedWorkAt: z.ZodOptional<z.ZodString>;
1016
1016
  isPriority: z.ZodOptional<z.ZodBoolean>;
1017
1017
  unfinishedWork: z.ZodOptional<z.ZodBoolean>;
1018
+ brief: z.ZodOptional<z.ZodObject<{
1019
+ content: z.ZodObject<{
1020
+ schemaVersion: z.ZodLiteral<1>;
1021
+ record: z.ZodObject<{
1022
+ startedAt: z.ZodString;
1023
+ lastActivityAt: z.ZodString;
1024
+ durationMs: z.ZodNumber;
1025
+ participants: z.ZodArray<z.ZodObject<{
1026
+ name: z.ZodString;
1027
+ messages: z.ZodNumber;
1028
+ }, z.core.$strict>>;
1029
+ userMessages: z.ZodNumber;
1030
+ assistantMessages: z.ZodNumber;
1031
+ toolResults: z.ZodNumber;
1032
+ events: z.ZodNumber;
1033
+ turns: z.ZodOptional<z.ZodNumber>;
1034
+ location: z.ZodOptional<z.ZodObject<{
1035
+ provider: z.ZodString;
1036
+ channelName: z.ZodOptional<z.ZodString>;
1037
+ }, z.core.$strict>>;
1038
+ codeChanges: z.ZodArray<z.ZodObject<{
1039
+ repository: z.ZodString;
1040
+ number: z.ZodNumber;
1041
+ title: z.ZodOptional<z.ZodString>;
1042
+ url: z.ZodString;
1043
+ state: z.ZodEnum<{
1044
+ open: "open";
1045
+ closed: "closed";
1046
+ merged: "merged";
1047
+ }>;
1048
+ openedAt: z.ZodOptional<z.ZodString>;
1049
+ mergedAt: z.ZodOptional<z.ZodString>;
1050
+ closedAt: z.ZodOptional<z.ZodString>;
1051
+ }, z.core.$strict>>;
1052
+ }, z.core.$strict>;
1053
+ summary: z.ZodString;
1054
+ intent: z.ZodString;
1055
+ outcome: z.ZodObject<{
1056
+ status: z.ZodEnum<{
1057
+ blocked: "blocked";
1058
+ in_progress: "in_progress";
1059
+ answered: "answered";
1060
+ done: "done";
1061
+ partial: "partial";
1062
+ abandoned: "abandoned";
1063
+ }>;
1064
+ text: z.ZodString;
1065
+ }, z.core.$strict>;
1066
+ decisions: z.ZodArray<z.ZodObject<{
1067
+ text: z.ZodString;
1068
+ by: z.ZodOptional<z.ZodString>;
1069
+ kind: z.ZodEnum<{
1070
+ stated: "stated";
1071
+ confirmed: "confirmed";
1072
+ assumed: "assumed";
1073
+ }>;
1074
+ }, z.core.$strict>>;
1075
+ openDecisions: z.ZodArray<z.ZodObject<{
1076
+ text: z.ZodString;
1077
+ owner: z.ZodOptional<z.ZodString>;
1078
+ }, z.core.$strict>>;
1079
+ facts: z.ZodArray<z.ZodString>;
1080
+ links: z.ZodArray<z.ZodObject<{
1081
+ kind: z.ZodEnum<{
1082
+ url: "url";
1083
+ code_change: "code_change";
1084
+ resource: "resource";
1085
+ }>;
1086
+ label: z.ZodString;
1087
+ url: z.ZodString;
1088
+ status: z.ZodOptional<z.ZodString>;
1089
+ }, z.core.$strict>>;
1090
+ keywords: z.ZodArray<z.ZodString>;
1091
+ }, z.core.$strict>;
1092
+ updatedAt: z.ZodString;
1093
+ version: z.ZodNumber;
1094
+ }, z.core.$strict>>;
1018
1095
  modelUsage: z.ZodOptional<z.ZodArray<z.ZodObject<{
1019
1096
  modelId: z.ZodString;
1020
1097
  usage: z.ZodObject<{
@@ -1265,8 +1342,8 @@ export declare const conversationDetailReportSchema: z.ZodObject<{
1265
1342
  sourceTask: z.ZodOptional<z.ZodObject<{
1266
1343
  id: z.ZodOptional<z.ZodString>;
1267
1344
  kind: z.ZodEnum<{
1268
- scheduled: "scheduled";
1269
1345
  event: "event";
1346
+ scheduled: "scheduled";
1270
1347
  }>;
1271
1348
  label: z.ZodOptional<z.ZodString>;
1272
1349
  title: z.ZodOptional<z.ZodString>;
@@ -2536,15 +2613,15 @@ export declare const deleteWorkspaceResponseSchema: z.ZodObject<{
2536
2613
  type BaselineSnapshotReport = z.infer<typeof baselineSnapshotSchema>;
2537
2614
  type WorkspaceReport = z.infer<typeof workspaceSchema>;
2538
2615
  //#endregion
2539
- //#region src/api/schema/task.d.ts
2540
- /** Task run counts for the dashboard range control (24h/7d/30d/90d). */
2541
- export declare const taskRunWindowsSchema: z.ZodObject<{
2616
+ //#region src/api/schema/automation.d.ts
2617
+ /** Automation run counts for the dashboard range control (24h/7d/30d/90d). */
2618
+ export declare const automationRunWindowsSchema: z.ZodObject<{
2542
2619
  1: z.ZodNumber;
2543
2620
  7: z.ZodNumber;
2544
2621
  30: z.ZodNumber;
2545
2622
  90: z.ZodNumber;
2546
2623
  }, z.core.$strict>;
2547
- export declare const scheduledTaskSummarySchema: z.ZodObject<{
2624
+ export declare const scheduledAutomationSummarySchema: z.ZodObject<{
2548
2625
  createdAt: z.ZodString;
2549
2626
  createdBy: z.ZodString;
2550
2627
  createdByEmail: z.ZodOptional<z.ZodString>;
@@ -2588,7 +2665,7 @@ export declare const scheduledTaskSummarySchema: z.ZodObject<{
2588
2665
  active: "active";
2589
2666
  }>;
2590
2667
  }, z.core.$strict>;
2591
- export declare const eventTaskSummarySchema: z.ZodObject<{
2668
+ export declare const eventAutomationSummarySchema: z.ZodObject<{
2592
2669
  createdAt: z.ZodString;
2593
2670
  createdBy: z.ZodString;
2594
2671
  createdByEmail: z.ZodOptional<z.ZodString>;
@@ -2629,7 +2706,7 @@ export declare const eventTaskSummarySchema: z.ZodObject<{
2629
2706
  source: z.ZodString;
2630
2707
  triggerAvailable: z.ZodBoolean;
2631
2708
  }, z.core.$strict>;
2632
- export declare const taskSummarySchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
2709
+ export declare const automationSummarySchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
2633
2710
  createdAt: z.ZodString;
2634
2711
  createdBy: z.ZodString;
2635
2712
  createdByEmail: z.ZodOptional<z.ZodString>;
@@ -2713,17 +2790,17 @@ export declare const taskSummarySchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
2713
2790
  source: z.ZodString;
2714
2791
  triggerAvailable: z.ZodBoolean;
2715
2792
  }, z.core.$strict>], "kind">;
2716
- /** One UTC day/hour of completed task executions stacked by task type. */
2717
- declare const taskExecutionDaySchema: z.ZodObject<{
2793
+ /** One UTC day/hour of completed automation executions stacked by automation type. */
2794
+ declare const automationExecutionDaySchema: z.ZodObject<{
2718
2795
  costUsd: z.ZodNumber;
2719
2796
  date: z.ZodString;
2720
2797
  event: z.ZodNumber;
2721
2798
  scheduled: z.ZodNumber;
2722
2799
  }, z.core.$strict>;
2723
- export declare const taskListQuerySchema: z.ZodObject<{
2800
+ export declare const automationListQuerySchema: z.ZodObject<{
2724
2801
  q: z.ZodOptional<z.ZodString>;
2725
2802
  }, z.core.$strict>;
2726
- export declare const taskListSchema: z.ZodObject<{
2803
+ export declare const automationListSchema: z.ZodObject<{
2727
2804
  executionDays: z.ZodArray<z.ZodObject<{
2728
2805
  costUsd: z.ZodNumber;
2729
2806
  date: z.ZodString;
@@ -2742,7 +2819,7 @@ export declare const taskListSchema: z.ZodObject<{
2742
2819
  event: z.ZodNumber;
2743
2820
  scheduled: z.ZodNumber;
2744
2821
  }, z.core.$strict>>>;
2745
- tasks: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
2822
+ automations: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
2746
2823
  createdAt: z.ZodString;
2747
2824
  createdBy: z.ZodString;
2748
2825
  createdByEmail: z.ZodOptional<z.ZodString>;
@@ -2828,19 +2905,19 @@ export declare const taskListSchema: z.ZodObject<{
2828
2905
  }, z.core.$strict>], "kind">>;
2829
2906
  truncated: z.ZodBoolean;
2830
2907
  }, z.core.$strict>;
2831
- export declare const taskParamsSchema: z.ZodObject<{
2908
+ export declare const automationParamsSchema: z.ZodObject<{
2832
2909
  id: z.ZodString;
2833
2910
  kind: z.ZodEnum<{
2834
- scheduled: "scheduled";
2835
2911
  event: "event";
2912
+ scheduled: "scheduled";
2836
2913
  }>;
2837
2914
  }, z.core.$strict>;
2838
- export declare const taskExecutionStatusSchema: z.ZodEnum<{
2915
+ export declare const automationExecutionStatusSchema: z.ZodEnum<{
2839
2916
  failed: "failed";
2840
2917
  blocked: "blocked";
2841
2918
  completed: "completed";
2842
2919
  }>;
2843
- export declare const taskExecutionSchema: z.ZodObject<{
2920
+ export declare const automationExecutionSchema: z.ZodObject<{
2844
2921
  conversationId: z.ZodOptional<z.ZodString>;
2845
2922
  costUsd: z.ZodOptional<z.ZodNumber>;
2846
2923
  durationMs: z.ZodOptional<z.ZodNumber>;
@@ -2854,14 +2931,14 @@ export declare const taskExecutionSchema: z.ZodObject<{
2854
2931
  title: z.ZodOptional<z.ZodString>;
2855
2932
  totalTokens: z.ZodOptional<z.ZodNumber>;
2856
2933
  }, z.core.$strict>;
2857
- /** One UTC day/hour of terminal executions for a single task, stacked by status. */
2858
- export declare const taskExecutionStatusDaySchema: z.ZodObject<{
2934
+ /** One UTC day/hour of terminal executions for a single automation, stacked by status. */
2935
+ export declare const automationExecutionStatusDaySchema: z.ZodObject<{
2859
2936
  blocked: z.ZodNumber;
2860
2937
  completed: z.ZodNumber;
2861
2938
  date: z.ZodString;
2862
2939
  failed: z.ZodNumber;
2863
2940
  }, z.core.$strict>;
2864
- export declare const taskExecutionListSchema: z.ZodObject<{
2941
+ export declare const automationExecutionListSchema: z.ZodObject<{
2865
2942
  executionDays: z.ZodArray<z.ZodObject<{
2866
2943
  blocked: z.ZodNumber;
2867
2944
  completed: z.ZodNumber;
@@ -2894,7 +2971,7 @@ export declare const taskExecutionListSchema: z.ZodObject<{
2894
2971
  title: z.ZodOptional<z.ZodString>;
2895
2972
  totalTokens: z.ZodOptional<z.ZodNumber>;
2896
2973
  }, z.core.$strict>>;
2897
- task: z.ZodDiscriminatedUnion<[z.ZodObject<{
2974
+ automation: z.ZodDiscriminatedUnion<[z.ZodObject<{
2898
2975
  createdAt: z.ZodString;
2899
2976
  createdBy: z.ZodString;
2900
2977
  createdByEmail: z.ZodOptional<z.ZodString>;
@@ -2980,7 +3057,7 @@ export declare const taskExecutionListSchema: z.ZodObject<{
2980
3057
  }, z.core.$strict>], "kind">;
2981
3058
  truncated: z.ZodBoolean;
2982
3059
  }, z.core.$strict>;
2983
- export declare const taskRunSchema: z.ZodObject<{
3060
+ export declare const automationRunSchema: z.ZodObject<{
2984
3061
  conversationId: z.ZodOptional<z.ZodString>;
2985
3062
  costUsd: z.ZodOptional<z.ZodNumber>;
2986
3063
  durationMs: z.ZodOptional<z.ZodNumber>;
@@ -2994,13 +3071,13 @@ export declare const taskRunSchema: z.ZodObject<{
2994
3071
  title: z.ZodOptional<z.ZodString>;
2995
3072
  totalTokens: z.ZodOptional<z.ZodNumber>;
2996
3073
  kind: z.ZodEnum<{
2997
- scheduled: "scheduled";
2998
3074
  event: "event";
3075
+ scheduled: "scheduled";
2999
3076
  }>;
3000
- taskId: z.ZodString;
3001
- taskTitle: z.ZodString;
3077
+ automationId: z.ZodString;
3078
+ automationTitle: z.ZodString;
3002
3079
  }, z.core.$strict>;
3003
- export declare const taskRunListSchema: z.ZodObject<{
3080
+ export declare const automationRunListSchema: z.ZodObject<{
3004
3081
  runs: z.ZodArray<z.ZodObject<{
3005
3082
  conversationId: z.ZodOptional<z.ZodString>;
3006
3083
  costUsd: z.ZodOptional<z.ZodNumber>;
@@ -3015,23 +3092,23 @@ export declare const taskRunListSchema: z.ZodObject<{
3015
3092
  title: z.ZodOptional<z.ZodString>;
3016
3093
  totalTokens: z.ZodOptional<z.ZodNumber>;
3017
3094
  kind: z.ZodEnum<{
3018
- scheduled: "scheduled";
3019
3095
  event: "event";
3096
+ scheduled: "scheduled";
3020
3097
  }>;
3021
- taskId: z.ZodString;
3022
- taskTitle: z.ZodString;
3098
+ automationId: z.ZodString;
3099
+ automationTitle: z.ZodString;
3023
3100
  }, z.core.$strict>>;
3024
3101
  truncated: z.ZodBoolean;
3025
3102
  }, z.core.$strict>;
3026
- type TaskExecutionDay = z.output<typeof taskExecutionDaySchema>;
3027
- type TaskExecutionStatusDay = z.output<typeof taskExecutionStatusDaySchema>;
3028
- type TaskExecution = z.output<typeof taskExecutionSchema>;
3029
- type TaskExecutionList = z.output<typeof taskExecutionListSchema>;
3030
- type TaskRun = z.output<typeof taskRunSchema>;
3031
- type TaskRunList = z.output<typeof taskRunListSchema>;
3032
- type TaskRunWindows = z.output<typeof taskRunWindowsSchema>;
3033
- type TaskSummary = z.output<typeof taskSummarySchema>;
3034
- type TaskList = z.output<typeof taskListSchema>;
3103
+ type AutomationExecutionDay = z.output<typeof automationExecutionDaySchema>;
3104
+ type AutomationExecutionStatusDay = z.output<typeof automationExecutionStatusDaySchema>;
3105
+ type AutomationExecution = z.output<typeof automationExecutionSchema>;
3106
+ type AutomationExecutionList = z.output<typeof automationExecutionListSchema>;
3107
+ type AutomationRun = z.output<typeof automationRunSchema>;
3108
+ type AutomationRunList = z.output<typeof automationRunListSchema>;
3109
+ type AutomationRunWindows = z.output<typeof automationRunWindowsSchema>;
3110
+ type AutomationSummary = z.output<typeof automationSummarySchema>;
3111
+ type AutomationList = z.output<typeof automationListSchema>;
3035
3112
  //#endregion
3036
3113
  //#region src/api/schema/stats.d.ts
3037
3114
  export declare const statSchema: z.ZodObject<{
@@ -3251,4 +3328,4 @@ type PluginPackageContentReport = z.infer<typeof pluginPackageContentReportSchem
3251
3328
  type PluginOperationalReport = z.infer<typeof pluginOperationalReportSchema>;
3252
3329
  type PluginOperationalReportFeed = z.infer<typeof pluginOperationalReportFeedSchema>;
3253
3330
  //#endregion
3254
- 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 BaselineSnapshotReport, type CancelConversationPendingMessagesBody, type CancelConversationPendingMessagesResponse, type CodeActivityDay, type CodeChangeSummaryReport, type CodeOverviewReport, type CodePersonReport, 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 LocationActivityDayReport, type LocationActorSummaryReport, type LocationDetailReport, type LocationDirectoryReport, type LocationParams, type LocationSummaryReport, 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 TaskExecution, type TaskExecutionDay, type TaskExecutionList, type TaskExecutionStatusDay, type TaskList, type TaskRun, type TaskRunList, type TaskRunWindows, type TaskSummary, type WorkspaceReport, conversationTurnFailureCodeSchema, conversationTurnFailureReasonSchema };
3331
+ 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 AutomationExecution, type AutomationExecutionDay, type AutomationExecutionList, type AutomationExecutionStatusDay, type AutomationList, type AutomationRun, type AutomationRunList, type AutomationRunWindows, type AutomationSummary, type BaselineSnapshotReport, type CancelConversationPendingMessagesBody, type CancelConversationPendingMessagesResponse, type CodeActivityDay, type CodeChangeSummaryReport, type CodeOverviewReport, type CodePersonReport, 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 LocationActivityDayReport, type LocationActorSummaryReport, type LocationDetailReport, type LocationDirectoryReport, type LocationParams, type LocationSummaryReport, 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 };
@@ -1,4 +1,4 @@
1
- import { a as conversationTurnFailureReasonSchema, i as conversationTurnFailureCodeSchema } from "../history-CqTuSAdI.js";
1
+ import { C as conversationReportEventSchema, D as createConversationBodySchema, E as conversationSummaryReportSchema, O as createConversationMessageBodySchema, R as conversationTurnFailureCodeSchema, S as conversationReportEventDataSchema, T as conversationStatsReportSchema, _ as conversationParamsSchema, a as cancelConversationPendingMessagesBodySchema, b as conversationPendingMessageSchema, d as conversationDetailReportSchema, f as conversationEventHistorySchema, g as conversationFeedSchema, h as conversationFeedQuerySchema, i as archiveConversationResponseSchema, 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, z as conversationTurnFailureReasonSchema } from "../conversation-AA4R1VUn.js";
2
2
  import { a as pluginPackageContentReportSchema, c as runtimeInfoReportSchema, i as pluginPackageContentItemReportSchema, l as skillReportSchema, n as pluginOperationalReportFeedSchema, o as pluginSchema, r as pluginOperationalReportSchema, s as pluginsSchema, t as healthReportSchema, u as skillReportsSchema } from "../reporting-schema-DosTN__Q.js";
3
- import { A as actorProfileReportSchema, At as createConversationMessageBodySchema, B as dailyConversationActivitySchema, C as createPersonalTokenBodySchema, Ct as conversationPendingMessageSchema, D as personalTokenParamsSchema, Dt as conversationStatsReportSchema, E as personalTokenMetadataSchema, Et as conversationReportEventSchema, F as locationDirectoryReportSchema, G as codePersonReportSchema, H as codeChangeSummaryReportSchema, I as locationParamsSchema, K as codeRepositorySummarySchema, M as personalSpendReportSchema, N as locationActivityDayReportSchema, O as revokePersonalTokenResponseSchema, Ot as conversationSummaryReportSchema, P as locationDetailReportSchema, S as taskSummarySchema, St as conversationPendingMessageDeliverySchema, T as personalTokenListSchema, Tt as conversationReportEventDataSchema, U as codeChangeSummarySchema, V as codeActivityDaySchema, W as codeOverviewReportSchema, _ as taskListSchema, _t as conversationEventsQuerySchema, a as workspaceBodySchema, at as acceptedConversationMessageSchema, b as taskRunSchema, bt as conversationParamsSchema, c as workspaceRepoSchema, ct as cancelConversationPendingMessagesBodySchema, d as scheduledTaskSummarySchema, f as taskExecutionListSchema, ft as conversationAuxiliaryCostsSchema, g as taskListQuerySchema, gt as conversationEventPageSchema, h as taskExecutionStatusSchema, ht as conversationEventHistorySchema, i as deleteWorkspaceResponseSchema, j as personParamsSchema, jt as apiErrorSchema, k as actorDirectoryReportSchema, kt as createConversationBodySchema, l as workspaceSchema, lt as cancelConversationPendingMessagesResponseSchema, m as taskExecutionStatusDaySchema, mt as conversationDetailReportSchema, n as statsReportSchema, o as workspaceListSchema, ot as archiveConversationBodySchema, p as taskExecutionSchema, pt as conversationDetailQuerySchema, r as baselineSnapshotSchema, s as workspaceParamsSchema, st as archiveConversationResponseSchema, t as statSchema, u as eventTaskSummarySchema, ut as conversationActivityPreviewSchema, v as taskParamsSchema, vt as conversationFeedQuerySchema, w as createdPersonalTokenSchema, wt as conversationPendingMessagesReportSchema, x as taskRunWindowsSchema, xt as conversationPendingAuthorizationSchema, y as taskRunListSchema, yt as conversationFeedSchema } from "../schema-Rn8-XEaN.js";
4
- export { acceptedConversationMessageSchema, actorDirectoryReportSchema, actorProfileReportSchema, apiErrorSchema, archiveConversationBodySchema, archiveConversationResponseSchema, baselineSnapshotSchema, cancelConversationPendingMessagesBodySchema, cancelConversationPendingMessagesResponseSchema, codeActivityDaySchema, codeChangeSummaryReportSchema, codeChangeSummarySchema, codeOverviewReportSchema, codePersonReportSchema, 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, eventTaskSummarySchema, healthReportSchema, locationActivityDayReportSchema, locationDetailReportSchema, locationDirectoryReportSchema, locationParamsSchema, personParamsSchema, personalSpendReportSchema, personalTokenListSchema, personalTokenMetadataSchema, personalTokenParamsSchema, pluginOperationalReportFeedSchema, pluginOperationalReportSchema, pluginPackageContentItemReportSchema, pluginPackageContentReportSchema, pluginSchema, pluginsSchema, revokePersonalTokenResponseSchema, runtimeInfoReportSchema, scheduledTaskSummarySchema, skillReportSchema, skillReportsSchema, statSchema, statsReportSchema, taskExecutionListSchema, taskExecutionSchema, taskExecutionStatusDaySchema, taskExecutionStatusSchema, taskListQuerySchema, taskListSchema, taskParamsSchema, taskRunListSchema, taskRunSchema, taskRunWindowsSchema, taskSummarySchema, workspaceBodySchema, workspaceListSchema, workspaceParamsSchema, workspaceRepoSchema, workspaceSchema };
3
+ import { A as actorProfileReportSchema, B as dailyConversationActivitySchema, C as createPersonalTokenBodySchema, D as personalTokenParamsSchema, E as personalTokenMetadataSchema, F as locationDirectoryReportSchema, G as codePersonReportSchema, H as codeChangeSummaryReportSchema, I as locationParamsSchema, K as codeRepositorySummarySchema, M as personalSpendReportSchema, N as locationActivityDayReportSchema, O as revokePersonalTokenResponseSchema, P as locationDetailReportSchema, S as scheduledAutomationSummarySchema, T as personalTokenListSchema, U as codeChangeSummarySchema, V as codeActivityDaySchema, W as codeOverviewReportSchema, _ as automationRunListSchema, a as workspaceBodySchema, at as apiErrorSchema, b as automationSummarySchema, c as workspaceRepoSchema, d as automationExecutionSchema, f as automationExecutionStatusDaySchema, g as automationParamsSchema, h as automationListSchema, i as deleteWorkspaceResponseSchema, j as personParamsSchema, k as actorDirectoryReportSchema, l as workspaceSchema, m as automationListQuerySchema, n as statsReportSchema, o as workspaceListSchema, p as automationExecutionStatusSchema, r as baselineSnapshotSchema, s as workspaceParamsSchema, t as statSchema, u as automationExecutionListSchema, v as automationRunSchema, w as createdPersonalTokenSchema, x as eventAutomationSummarySchema, y as automationRunWindowsSchema } from "../schema-CwTeb-BF.js";
4
+ export { acceptedConversationMessageSchema, actorDirectoryReportSchema, actorProfileReportSchema, apiErrorSchema, archiveConversationBodySchema, archiveConversationResponseSchema, automationExecutionListSchema, automationExecutionSchema, automationExecutionStatusDaySchema, automationExecutionStatusSchema, automationListQuerySchema, automationListSchema, automationParamsSchema, automationRunListSchema, automationRunSchema, automationRunWindowsSchema, automationSummarySchema, baselineSnapshotSchema, cancelConversationPendingMessagesBodySchema, cancelConversationPendingMessagesResponseSchema, codeActivityDaySchema, codeChangeSummaryReportSchema, codeChangeSummarySchema, codeOverviewReportSchema, codePersonReportSchema, 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, personParamsSchema, personalSpendReportSchema, personalTokenListSchema, personalTokenMetadataSchema, personalTokenParamsSchema, pluginOperationalReportFeedSchema, pluginOperationalReportSchema, pluginPackageContentItemReportSchema, pluginPackageContentReportSchema, pluginSchema, pluginsSchema, revokePersonalTokenResponseSchema, runtimeInfoReportSchema, scheduledAutomationSummarySchema, skillReportSchema, skillReportsSchema, statSchema, statsReportSchema, workspaceBodySchema, workspaceListSchema, workspaceParamsSchema, workspaceRepoSchema, workspaceSchema };
package/dist/api.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import "./db-BeyXKJOI.js";
1
+ import "./db-D74z7BZH.js";
2
2
  import { Hono } from "hono";
3
3
  import { z } from "zod";
4
4
  import { User } from "@sentry/junior-plugin-api";