@sentry/junior 0.170.0 → 0.172.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 (65) hide show
  1. package/dist/{agent-hooks-IPUNCZPZ.js → agent-hooks-IZMIMXUX.js} +15 -10
  2. package/dist/api.js +31 -30
  3. package/dist/app.js +32 -32
  4. package/dist/{catalog-runtime-E6XHWRPG.js → catalog-runtime-PDNXCNCJ.js} +5 -5
  5. package/dist/chat/sandbox/snapshot/store.d.ts +28 -0
  6. package/dist/chat/workspaces/store.d.ts +1 -10
  7. package/dist/chat/workspaces/types.d.ts +14 -1
  8. package/dist/{chunk-NESGW5HV.js → chunk-27T2WQJV.js} +1 -1
  9. package/dist/{chunk-47GJ7QRO.js → chunk-6RWQHBTV.js} +1 -1
  10. package/dist/{chunk-TX553KXA.js → chunk-A6AJ354O.js} +5 -5
  11. package/dist/{chunk-IJTFG6AK.js → chunk-AHWLGR5T.js} +5 -9
  12. package/dist/{chunk-CA6JIB7S.js → chunk-AQ4GXXRD.js} +21 -21
  13. package/dist/{chunk-3SFZJVX5.js → chunk-BTD6ZYFL.js} +2 -2
  14. package/dist/{chunk-E7HKIHI5.js → chunk-CBPREIWS.js} +2 -2
  15. package/dist/{chunk-7TVGQZOH.js → chunk-CO47EWFW.js} +4 -4
  16. package/dist/{chunk-2XI6OLXA.js → chunk-CUJ2T7FO.js} +9 -9
  17. package/dist/{chunk-F4UM52UH.js → chunk-ELAP5LB5.js} +1 -1
  18. package/dist/{chunk-BW644E3V.js → chunk-EXEO2R4S.js} +1 -1
  19. package/dist/{chunk-4PSUCN4P.js → chunk-FESC2EW7.js} +1 -1
  20. package/dist/{chunk-74XMBKRI.js → chunk-FUYKKSDV.js} +1 -1
  21. package/dist/{chunk-6GOKKLWF.js → chunk-G2DJ7LUE.js} +6 -6
  22. package/dist/{chunk-HZALSYOW.js → chunk-G4GNP4Q2.js} +5 -5
  23. package/dist/{chunk-6E4WQV75.js → chunk-HEOOUGVL.js} +1 -1
  24. package/dist/{chunk-5EPG7PYS.js → chunk-IAOQPDO6.js} +1 -1
  25. package/dist/chunk-IFSKN5VH.js +399 -0
  26. package/dist/{chunk-YWX7D7BJ.js → chunk-JOSDA5SZ.js} +17 -17
  27. package/dist/{chunk-6W2UIZSA.js → chunk-LVNMMESU.js} +70 -11
  28. package/dist/{chunk-UD4BNNM2.js → chunk-MNYAYK5I.js} +1 -1
  29. package/dist/{chunk-A22DGDXT.js → chunk-NB7WS4SP.js} +1 -1
  30. package/dist/{chunk-T4SEUU7A.js → chunk-Q36YWAJT.js} +1 -1
  31. package/dist/{chunk-NGL4XFT2.js → chunk-QAEKVEZY.js} +1 -1
  32. package/dist/{chunk-B53NR3XY.js → chunk-QBHPQCEQ.js} +6 -270
  33. package/dist/{chunk-NFERKIUX.js → chunk-QCGDWFYC.js} +4 -4
  34. package/dist/{chunk-KQCHIOME.js → chunk-SU7QH274.js} +8 -8
  35. package/dist/{chunk-IF3OK4XO.js → chunk-TWIRPYVB.js} +6 -6
  36. package/dist/{chunk-FKOLWEMX.js → chunk-W6THM2TX.js} +5 -5
  37. package/dist/{chunk-UHW5RAIB.js → chunk-XSO5JEHI.js} +12 -12
  38. package/dist/{chunk-IX7VHMIJ.js → chunk-Y4AEFUEV.js} +3 -3
  39. package/dist/{chunk-F3I6YFB4.js → chunk-YRBLN5PJ.js} +182 -68
  40. package/dist/cli/chat.js +30 -30
  41. package/dist/cli/check.js +6 -6
  42. package/dist/cli/plugins.js +13 -13
  43. package/dist/cli/snapshot-create.js +12 -11
  44. package/dist/cli/upgrade.js +7 -7
  45. package/dist/db/schema/snapshots.d.ts +254 -0
  46. package/dist/db/schema/workspaces.d.ts +0 -68
  47. package/dist/db/schema.d.ts +251 -69
  48. package/dist/{db-WMSEGSFM.js → db-32P3ZO4Z.js} +7 -7
  49. package/dist/instrumentation.js +4 -4
  50. package/dist/nitro.js +2 -2
  51. package/dist/{oauth-callback-server-GBS47NTO.js → oauth-callback-server-ZOHC35HH.js} +23 -23
  52. package/dist/{runner-V2A2Z7K3.js → runner-QWGQH425.js} +17 -13
  53. package/dist/{skills-Z35YXLUG.js → skills-2T6JZT2K.js} +6 -6
  54. package/dist/spawn-55U4TVHQ.js +37 -0
  55. package/dist/{validation-EQCK4DA5.js → validation-LMGCYHRK.js} +6 -6
  56. package/dist/version.js +1 -1
  57. package/dist/{work-XIANCABO.js → work-CVXCACZK.js} +18 -18
  58. package/dist/worker-SWMVAAN6.js +24 -0
  59. package/migrations/0032_workspace_snapshots_table.sql +69 -0
  60. package/migrations/meta/0032_snapshot.json +2892 -0
  61. package/migrations/meta/_journal.json +8 -1
  62. package/package.json +4 -4
  63. package/dist/chunk-BVREIWBD.js +0 -131
  64. package/dist/spawn-AKPJBUS2.js +0 -37
  65. package/dist/worker-YALLEN2Z.js +0 -24
@@ -0,0 +1,254 @@
1
+ import type { WorkspaceSnapshotBuildPhase, WorkspaceSnapshotStatus } from "@/chat/workspaces/types";
2
+ /**
3
+ * Sandbox snapshot build and ready artifact for one Workspace recipe.
4
+ * Keep prior ready rows so Vercel snapshot ids can be garbage-collected later.
5
+ */
6
+ export declare const juniorSnapshots: import("drizzle-orm/pg-core").PgTableWithColumns<{
7
+ name: "junior_snapshots";
8
+ schema: undefined;
9
+ columns: {
10
+ id: import("drizzle-orm/pg-core").PgColumn<{
11
+ name: "id";
12
+ tableName: "junior_snapshots";
13
+ dataType: "string";
14
+ columnType: "PgText";
15
+ data: string;
16
+ driverParam: string;
17
+ notNull: true;
18
+ hasDefault: false;
19
+ isPrimaryKey: true;
20
+ isAutoincrement: false;
21
+ hasRuntimeDefault: false;
22
+ enumValues: [string, ...string[]];
23
+ baseColumn: never;
24
+ identity: undefined;
25
+ generated: undefined;
26
+ }, {}, {}>;
27
+ workspaceId: import("drizzle-orm/pg-core").PgColumn<{
28
+ name: "workspace_id";
29
+ tableName: "junior_snapshots";
30
+ dataType: "string";
31
+ columnType: "PgText";
32
+ data: string;
33
+ driverParam: string;
34
+ notNull: true;
35
+ hasDefault: false;
36
+ isPrimaryKey: false;
37
+ isAutoincrement: false;
38
+ hasRuntimeDefault: false;
39
+ enumValues: [string, ...string[]];
40
+ baseColumn: never;
41
+ identity: undefined;
42
+ generated: undefined;
43
+ }, {}, {}>;
44
+ profileHash: import("drizzle-orm/pg-core").PgColumn<{
45
+ name: "profile_hash";
46
+ tableName: "junior_snapshots";
47
+ dataType: "string";
48
+ columnType: "PgText";
49
+ data: string;
50
+ driverParam: string;
51
+ notNull: true;
52
+ hasDefault: false;
53
+ isPrimaryKey: false;
54
+ isAutoincrement: false;
55
+ hasRuntimeDefault: false;
56
+ enumValues: [string, ...string[]];
57
+ baseColumn: never;
58
+ identity: undefined;
59
+ generated: undefined;
60
+ }, {}, {}>;
61
+ status: import("drizzle-orm/pg-core").PgColumn<{
62
+ name: "status";
63
+ tableName: "junior_snapshots";
64
+ dataType: "string";
65
+ columnType: "PgText";
66
+ data: WorkspaceSnapshotStatus;
67
+ driverParam: string;
68
+ notNull: true;
69
+ hasDefault: false;
70
+ isPrimaryKey: false;
71
+ isAutoincrement: false;
72
+ hasRuntimeDefault: false;
73
+ enumValues: [string, ...string[]];
74
+ baseColumn: never;
75
+ identity: undefined;
76
+ generated: undefined;
77
+ }, {}, {
78
+ $type: WorkspaceSnapshotStatus;
79
+ }>;
80
+ snapshotId: import("drizzle-orm/pg-core").PgColumn<{
81
+ name: "snapshot_id";
82
+ tableName: "junior_snapshots";
83
+ dataType: "string";
84
+ columnType: "PgText";
85
+ data: string;
86
+ driverParam: string;
87
+ notNull: false;
88
+ hasDefault: false;
89
+ isPrimaryKey: false;
90
+ isAutoincrement: false;
91
+ hasRuntimeDefault: false;
92
+ enumValues: [string, ...string[]];
93
+ baseColumn: never;
94
+ identity: undefined;
95
+ generated: undefined;
96
+ }, {}, {}>;
97
+ buildDurationMs: import("drizzle-orm/pg-core").PgColumn<{
98
+ name: "build_duration_ms";
99
+ tableName: "junior_snapshots";
100
+ dataType: "number";
101
+ columnType: "PgInteger";
102
+ data: number;
103
+ driverParam: string | number;
104
+ notNull: false;
105
+ hasDefault: false;
106
+ isPrimaryKey: false;
107
+ isAutoincrement: false;
108
+ hasRuntimeDefault: false;
109
+ enumValues: undefined;
110
+ baseColumn: never;
111
+ identity: undefined;
112
+ generated: undefined;
113
+ }, {}, {}>;
114
+ generatedAt: import("drizzle-orm/pg-core").PgColumn<{
115
+ name: string;
116
+ tableName: "junior_snapshots";
117
+ dataType: "date";
118
+ columnType: "PgTimestamp";
119
+ data: Date;
120
+ driverParam: string;
121
+ notNull: false;
122
+ hasDefault: false;
123
+ isPrimaryKey: false;
124
+ isAutoincrement: false;
125
+ hasRuntimeDefault: false;
126
+ enumValues: undefined;
127
+ baseColumn: never;
128
+ identity: undefined;
129
+ generated: undefined;
130
+ }, {}, {}>;
131
+ buildStartedAt: import("drizzle-orm/pg-core").PgColumn<{
132
+ name: string;
133
+ tableName: "junior_snapshots";
134
+ dataType: "date";
135
+ columnType: "PgTimestamp";
136
+ data: Date;
137
+ driverParam: string;
138
+ notNull: false;
139
+ hasDefault: false;
140
+ isPrimaryKey: false;
141
+ isAutoincrement: false;
142
+ hasRuntimeDefault: false;
143
+ enumValues: undefined;
144
+ baseColumn: never;
145
+ identity: undefined;
146
+ generated: undefined;
147
+ }, {}, {}>;
148
+ buildPhase: import("drizzle-orm/pg-core").PgColumn<{
149
+ name: "build_phase";
150
+ tableName: "junior_snapshots";
151
+ dataType: "string";
152
+ columnType: "PgText";
153
+ data: WorkspaceSnapshotBuildPhase;
154
+ driverParam: string;
155
+ notNull: false;
156
+ hasDefault: false;
157
+ isPrimaryKey: false;
158
+ isAutoincrement: false;
159
+ hasRuntimeDefault: false;
160
+ enumValues: [string, ...string[]];
161
+ baseColumn: never;
162
+ identity: undefined;
163
+ generated: undefined;
164
+ }, {}, {
165
+ $type: WorkspaceSnapshotBuildPhase;
166
+ }>;
167
+ buildSandboxName: import("drizzle-orm/pg-core").PgColumn<{
168
+ name: "build_sandbox_name";
169
+ tableName: "junior_snapshots";
170
+ dataType: "string";
171
+ columnType: "PgText";
172
+ data: string;
173
+ driverParam: string;
174
+ notNull: false;
175
+ hasDefault: false;
176
+ isPrimaryKey: false;
177
+ isAutoincrement: false;
178
+ hasRuntimeDefault: false;
179
+ enumValues: [string, ...string[]];
180
+ baseColumn: never;
181
+ identity: undefined;
182
+ generated: undefined;
183
+ }, {}, {}>;
184
+ buildCommandId: import("drizzle-orm/pg-core").PgColumn<{
185
+ name: "build_command_id";
186
+ tableName: "junior_snapshots";
187
+ dataType: "string";
188
+ columnType: "PgText";
189
+ data: string;
190
+ driverParam: string;
191
+ notNull: false;
192
+ hasDefault: false;
193
+ isPrimaryKey: false;
194
+ isAutoincrement: false;
195
+ hasRuntimeDefault: false;
196
+ enumValues: [string, ...string[]];
197
+ baseColumn: never;
198
+ identity: undefined;
199
+ generated: undefined;
200
+ }, {}, {}>;
201
+ buildError: import("drizzle-orm/pg-core").PgColumn<{
202
+ name: "build_error";
203
+ tableName: "junior_snapshots";
204
+ dataType: "string";
205
+ columnType: "PgText";
206
+ data: string;
207
+ driverParam: string;
208
+ notNull: false;
209
+ hasDefault: false;
210
+ isPrimaryKey: false;
211
+ isAutoincrement: false;
212
+ hasRuntimeDefault: false;
213
+ enumValues: [string, ...string[]];
214
+ baseColumn: never;
215
+ identity: undefined;
216
+ generated: undefined;
217
+ }, {}, {}>;
218
+ createdAt: import("drizzle-orm/pg-core").PgColumn<{
219
+ name: string;
220
+ tableName: "junior_snapshots";
221
+ dataType: "date";
222
+ columnType: "PgTimestamp";
223
+ data: Date;
224
+ driverParam: string;
225
+ notNull: true;
226
+ hasDefault: false;
227
+ isPrimaryKey: false;
228
+ isAutoincrement: false;
229
+ hasRuntimeDefault: false;
230
+ enumValues: undefined;
231
+ baseColumn: never;
232
+ identity: undefined;
233
+ generated: undefined;
234
+ }, {}, {}>;
235
+ updatedAt: import("drizzle-orm/pg-core").PgColumn<{
236
+ name: string;
237
+ tableName: "junior_snapshots";
238
+ dataType: "date";
239
+ columnType: "PgTimestamp";
240
+ data: Date;
241
+ driverParam: string;
242
+ notNull: true;
243
+ hasDefault: false;
244
+ isPrimaryKey: false;
245
+ isAutoincrement: false;
246
+ hasRuntimeDefault: false;
247
+ enumValues: undefined;
248
+ baseColumn: never;
249
+ identity: undefined;
250
+ generated: undefined;
251
+ }, {}, {}>;
252
+ };
253
+ dialect: "pg";
254
+ }>;
@@ -54,74 +54,6 @@ export declare const juniorWorkspaces: import("drizzle-orm/pg-core").PgTableWith
54
54
  identity: undefined;
55
55
  generated: undefined;
56
56
  }, {}, {}>;
57
- snapshotId: import("drizzle-orm/pg-core").PgColumn<{
58
- name: "snapshot_id";
59
- tableName: "junior_workspaces";
60
- dataType: "string";
61
- columnType: "PgText";
62
- data: string;
63
- driverParam: string;
64
- notNull: false;
65
- hasDefault: false;
66
- isPrimaryKey: false;
67
- isAutoincrement: false;
68
- hasRuntimeDefault: false;
69
- enumValues: [string, ...string[]];
70
- baseColumn: never;
71
- identity: undefined;
72
- generated: undefined;
73
- }, {}, {}>;
74
- snapshotGeneratedAt: import("drizzle-orm/pg-core").PgColumn<{
75
- name: string;
76
- tableName: "junior_workspaces";
77
- dataType: "date";
78
- columnType: "PgTimestamp";
79
- data: Date;
80
- driverParam: string;
81
- notNull: false;
82
- hasDefault: false;
83
- isPrimaryKey: false;
84
- isAutoincrement: false;
85
- hasRuntimeDefault: false;
86
- enumValues: undefined;
87
- baseColumn: never;
88
- identity: undefined;
89
- generated: undefined;
90
- }, {}, {}>;
91
- snapshotBuildDurationMs: import("drizzle-orm/pg-core").PgColumn<{
92
- name: "snapshot_build_duration_ms";
93
- tableName: "junior_workspaces";
94
- dataType: "number";
95
- columnType: "PgInteger";
96
- data: number;
97
- driverParam: string | number;
98
- notNull: false;
99
- hasDefault: false;
100
- isPrimaryKey: false;
101
- isAutoincrement: false;
102
- hasRuntimeDefault: false;
103
- enumValues: undefined;
104
- baseColumn: never;
105
- identity: undefined;
106
- generated: undefined;
107
- }, {}, {}>;
108
- snapshotProfileHash: import("drizzle-orm/pg-core").PgColumn<{
109
- name: "snapshot_profile_hash";
110
- tableName: "junior_workspaces";
111
- dataType: "string";
112
- columnType: "PgText";
113
- data: string;
114
- driverParam: string;
115
- notNull: false;
116
- hasDefault: false;
117
- isPrimaryKey: false;
118
- isAutoincrement: false;
119
- hasRuntimeDefault: false;
120
- enumValues: [string, ...string[]];
121
- baseColumn: never;
122
- identity: undefined;
123
- generated: undefined;
124
- }, {}, {}>;
125
57
  createdAt: import("drizzle-orm/pg-core").PgColumn<{
126
58
  name: string;
127
59
  tableName: "junior_workspaces";
@@ -14,9 +14,10 @@ import { juniorIdentities } from "./schema/identities";
14
14
  import { juniorStats } from "./schema/stats";
15
15
  import { juniorTaskExecutions } from "./schema/task-executions";
16
16
  import { juniorSchedulerRuns, juniorSchedulerTasks } from "./schema/scheduled-tasks";
17
+ import { juniorSnapshots } from "./schema/snapshots";
17
18
  import { juniorUsers } from "./schema/users";
18
19
  import { juniorWorkspaceRepos, juniorWorkspaces } from "./schema/workspaces";
19
- export { juniorArtifacts, juniorAttachments, juniorConversationAnnotations, juniorApiTokens, juniorAgentBindings, juniorAgentInvocations, juniorConversationEvents, juniorConversationBindings, juniorConversationParticipants, juniorConversations, juniorLocationConfigurations, juniorDestinations, juniorEventTasks, juniorIdentities, juniorStats, juniorTaskExecutions, juniorSchedulerRuns, juniorSchedulerTasks, juniorUsers, juniorWorkspaceRepos, juniorWorkspaces, };
20
+ export { juniorArtifacts, juniorAttachments, juniorConversationAnnotations, juniorApiTokens, juniorAgentBindings, juniorAgentInvocations, juniorConversationEvents, juniorConversationBindings, juniorConversationParticipants, juniorConversations, juniorLocationConfigurations, juniorDestinations, juniorEventTasks, juniorIdentities, juniorSnapshots, juniorStats, juniorTaskExecutions, juniorSchedulerRuns, juniorSchedulerTasks, juniorUsers, juniorWorkspaceRepos, juniorWorkspaces, };
20
21
  export declare const juniorSqlSchema: {
21
22
  juniorArtifacts: import("drizzle-orm/pg-core").PgTableWithColumns<{
22
23
  name: "junior_artifacts";
@@ -2929,6 +2930,255 @@ export declare const juniorSqlSchema: {
2929
2930
  };
2930
2931
  dialect: "pg";
2931
2932
  }>;
2933
+ juniorSnapshots: import("drizzle-orm/pg-core").PgTableWithColumns<{
2934
+ name: "junior_snapshots";
2935
+ schema: undefined;
2936
+ columns: {
2937
+ id: import("drizzle-orm/pg-core").PgColumn<{
2938
+ name: "id";
2939
+ tableName: "junior_snapshots";
2940
+ dataType: "string";
2941
+ columnType: "PgText";
2942
+ data: string;
2943
+ driverParam: string;
2944
+ notNull: true;
2945
+ hasDefault: false;
2946
+ isPrimaryKey: true;
2947
+ isAutoincrement: false;
2948
+ hasRuntimeDefault: false;
2949
+ enumValues: [string, ...string[]];
2950
+ baseColumn: never;
2951
+ identity: undefined;
2952
+ generated: undefined;
2953
+ }, {}, {}>;
2954
+ workspaceId: import("drizzle-orm/pg-core").PgColumn<{
2955
+ name: "workspace_id";
2956
+ tableName: "junior_snapshots";
2957
+ dataType: "string";
2958
+ columnType: "PgText";
2959
+ data: string;
2960
+ driverParam: string;
2961
+ notNull: true;
2962
+ hasDefault: false;
2963
+ isPrimaryKey: false;
2964
+ isAutoincrement: false;
2965
+ hasRuntimeDefault: false;
2966
+ enumValues: [string, ...string[]];
2967
+ baseColumn: never;
2968
+ identity: undefined;
2969
+ generated: undefined;
2970
+ }, {}, {}>;
2971
+ profileHash: import("drizzle-orm/pg-core").PgColumn<{
2972
+ name: "profile_hash";
2973
+ tableName: "junior_snapshots";
2974
+ dataType: "string";
2975
+ columnType: "PgText";
2976
+ data: string;
2977
+ driverParam: string;
2978
+ notNull: true;
2979
+ hasDefault: false;
2980
+ isPrimaryKey: false;
2981
+ isAutoincrement: false;
2982
+ hasRuntimeDefault: false;
2983
+ enumValues: [string, ...string[]];
2984
+ baseColumn: never;
2985
+ identity: undefined;
2986
+ generated: undefined;
2987
+ }, {}, {}>;
2988
+ status: import("drizzle-orm/pg-core").PgColumn<{
2989
+ name: "status";
2990
+ tableName: "junior_snapshots";
2991
+ dataType: "string";
2992
+ columnType: "PgText";
2993
+ data: import("../chat/workspaces/types").WorkspaceSnapshotStatus;
2994
+ driverParam: string;
2995
+ notNull: true;
2996
+ hasDefault: false;
2997
+ isPrimaryKey: false;
2998
+ isAutoincrement: false;
2999
+ hasRuntimeDefault: false;
3000
+ enumValues: [string, ...string[]];
3001
+ baseColumn: never;
3002
+ identity: undefined;
3003
+ generated: undefined;
3004
+ }, {}, {
3005
+ $type: import("../chat/workspaces/types").WorkspaceSnapshotStatus;
3006
+ }>;
3007
+ snapshotId: import("drizzle-orm/pg-core").PgColumn<{
3008
+ name: "snapshot_id";
3009
+ tableName: "junior_snapshots";
3010
+ dataType: "string";
3011
+ columnType: "PgText";
3012
+ data: string;
3013
+ driverParam: string;
3014
+ notNull: false;
3015
+ hasDefault: false;
3016
+ isPrimaryKey: false;
3017
+ isAutoincrement: false;
3018
+ hasRuntimeDefault: false;
3019
+ enumValues: [string, ...string[]];
3020
+ baseColumn: never;
3021
+ identity: undefined;
3022
+ generated: undefined;
3023
+ }, {}, {}>;
3024
+ buildDurationMs: import("drizzle-orm/pg-core").PgColumn<{
3025
+ name: "build_duration_ms";
3026
+ tableName: "junior_snapshots";
3027
+ dataType: "number";
3028
+ columnType: "PgInteger";
3029
+ data: number;
3030
+ driverParam: string | number;
3031
+ notNull: false;
3032
+ hasDefault: false;
3033
+ isPrimaryKey: false;
3034
+ isAutoincrement: false;
3035
+ hasRuntimeDefault: false;
3036
+ enumValues: undefined;
3037
+ baseColumn: never;
3038
+ identity: undefined;
3039
+ generated: undefined;
3040
+ }, {}, {}>;
3041
+ generatedAt: import("drizzle-orm/pg-core").PgColumn<{
3042
+ name: string;
3043
+ tableName: "junior_snapshots";
3044
+ dataType: "date";
3045
+ columnType: "PgTimestamp";
3046
+ data: Date;
3047
+ driverParam: string;
3048
+ notNull: false;
3049
+ hasDefault: false;
3050
+ isPrimaryKey: false;
3051
+ isAutoincrement: false;
3052
+ hasRuntimeDefault: false;
3053
+ enumValues: undefined;
3054
+ baseColumn: never;
3055
+ identity: undefined;
3056
+ generated: undefined;
3057
+ }, {}, {}>;
3058
+ buildStartedAt: import("drizzle-orm/pg-core").PgColumn<{
3059
+ name: string;
3060
+ tableName: "junior_snapshots";
3061
+ dataType: "date";
3062
+ columnType: "PgTimestamp";
3063
+ data: Date;
3064
+ driverParam: string;
3065
+ notNull: false;
3066
+ hasDefault: false;
3067
+ isPrimaryKey: false;
3068
+ isAutoincrement: false;
3069
+ hasRuntimeDefault: false;
3070
+ enumValues: undefined;
3071
+ baseColumn: never;
3072
+ identity: undefined;
3073
+ generated: undefined;
3074
+ }, {}, {}>;
3075
+ buildPhase: import("drizzle-orm/pg-core").PgColumn<{
3076
+ name: "build_phase";
3077
+ tableName: "junior_snapshots";
3078
+ dataType: "string";
3079
+ columnType: "PgText";
3080
+ data: import("../chat/workspaces/types").WorkspaceSnapshotBuildPhase;
3081
+ driverParam: string;
3082
+ notNull: false;
3083
+ hasDefault: false;
3084
+ isPrimaryKey: false;
3085
+ isAutoincrement: false;
3086
+ hasRuntimeDefault: false;
3087
+ enumValues: [string, ...string[]];
3088
+ baseColumn: never;
3089
+ identity: undefined;
3090
+ generated: undefined;
3091
+ }, {}, {
3092
+ $type: import("../chat/workspaces/types").WorkspaceSnapshotBuildPhase;
3093
+ }>;
3094
+ buildSandboxName: import("drizzle-orm/pg-core").PgColumn<{
3095
+ name: "build_sandbox_name";
3096
+ tableName: "junior_snapshots";
3097
+ dataType: "string";
3098
+ columnType: "PgText";
3099
+ data: string;
3100
+ driverParam: string;
3101
+ notNull: false;
3102
+ hasDefault: false;
3103
+ isPrimaryKey: false;
3104
+ isAutoincrement: false;
3105
+ hasRuntimeDefault: false;
3106
+ enumValues: [string, ...string[]];
3107
+ baseColumn: never;
3108
+ identity: undefined;
3109
+ generated: undefined;
3110
+ }, {}, {}>;
3111
+ buildCommandId: import("drizzle-orm/pg-core").PgColumn<{
3112
+ name: "build_command_id";
3113
+ tableName: "junior_snapshots";
3114
+ dataType: "string";
3115
+ columnType: "PgText";
3116
+ data: string;
3117
+ driverParam: string;
3118
+ notNull: false;
3119
+ hasDefault: false;
3120
+ isPrimaryKey: false;
3121
+ isAutoincrement: false;
3122
+ hasRuntimeDefault: false;
3123
+ enumValues: [string, ...string[]];
3124
+ baseColumn: never;
3125
+ identity: undefined;
3126
+ generated: undefined;
3127
+ }, {}, {}>;
3128
+ buildError: import("drizzle-orm/pg-core").PgColumn<{
3129
+ name: "build_error";
3130
+ tableName: "junior_snapshots";
3131
+ dataType: "string";
3132
+ columnType: "PgText";
3133
+ data: string;
3134
+ driverParam: string;
3135
+ notNull: false;
3136
+ hasDefault: false;
3137
+ isPrimaryKey: false;
3138
+ isAutoincrement: false;
3139
+ hasRuntimeDefault: false;
3140
+ enumValues: [string, ...string[]];
3141
+ baseColumn: never;
3142
+ identity: undefined;
3143
+ generated: undefined;
3144
+ }, {}, {}>;
3145
+ createdAt: import("drizzle-orm/pg-core").PgColumn<{
3146
+ name: string;
3147
+ tableName: "junior_snapshots";
3148
+ dataType: "date";
3149
+ columnType: "PgTimestamp";
3150
+ data: Date;
3151
+ driverParam: string;
3152
+ notNull: true;
3153
+ hasDefault: false;
3154
+ isPrimaryKey: false;
3155
+ isAutoincrement: false;
3156
+ hasRuntimeDefault: false;
3157
+ enumValues: undefined;
3158
+ baseColumn: never;
3159
+ identity: undefined;
3160
+ generated: undefined;
3161
+ }, {}, {}>;
3162
+ updatedAt: import("drizzle-orm/pg-core").PgColumn<{
3163
+ name: string;
3164
+ tableName: "junior_snapshots";
3165
+ dataType: "date";
3166
+ columnType: "PgTimestamp";
3167
+ data: Date;
3168
+ driverParam: string;
3169
+ notNull: true;
3170
+ hasDefault: false;
3171
+ isPrimaryKey: false;
3172
+ isAutoincrement: false;
3173
+ hasRuntimeDefault: false;
3174
+ enumValues: undefined;
3175
+ baseColumn: never;
3176
+ identity: undefined;
3177
+ generated: undefined;
3178
+ }, {}, {}>;
3179
+ };
3180
+ dialect: "pg";
3181
+ }>;
2932
3182
  juniorStats: import("drizzle-orm/pg-core").PgTableWithColumns<{
2933
3183
  name: "junior_stats";
2934
3184
  schema: undefined;
@@ -3644,74 +3894,6 @@ export declare const juniorSqlSchema: {
3644
3894
  identity: undefined;
3645
3895
  generated: undefined;
3646
3896
  }, {}, {}>;
3647
- snapshotId: import("drizzle-orm/pg-core").PgColumn<{
3648
- name: "snapshot_id";
3649
- tableName: "junior_workspaces";
3650
- dataType: "string";
3651
- columnType: "PgText";
3652
- data: string;
3653
- driverParam: string;
3654
- notNull: false;
3655
- hasDefault: false;
3656
- isPrimaryKey: false;
3657
- isAutoincrement: false;
3658
- hasRuntimeDefault: false;
3659
- enumValues: [string, ...string[]];
3660
- baseColumn: never;
3661
- identity: undefined;
3662
- generated: undefined;
3663
- }, {}, {}>;
3664
- snapshotGeneratedAt: import("drizzle-orm/pg-core").PgColumn<{
3665
- name: string;
3666
- tableName: "junior_workspaces";
3667
- dataType: "date";
3668
- columnType: "PgTimestamp";
3669
- data: Date;
3670
- driverParam: string;
3671
- notNull: false;
3672
- hasDefault: false;
3673
- isPrimaryKey: false;
3674
- isAutoincrement: false;
3675
- hasRuntimeDefault: false;
3676
- enumValues: undefined;
3677
- baseColumn: never;
3678
- identity: undefined;
3679
- generated: undefined;
3680
- }, {}, {}>;
3681
- snapshotBuildDurationMs: import("drizzle-orm/pg-core").PgColumn<{
3682
- name: "snapshot_build_duration_ms";
3683
- tableName: "junior_workspaces";
3684
- dataType: "number";
3685
- columnType: "PgInteger";
3686
- data: number;
3687
- driverParam: string | number;
3688
- notNull: false;
3689
- hasDefault: false;
3690
- isPrimaryKey: false;
3691
- isAutoincrement: false;
3692
- hasRuntimeDefault: false;
3693
- enumValues: undefined;
3694
- baseColumn: never;
3695
- identity: undefined;
3696
- generated: undefined;
3697
- }, {}, {}>;
3698
- snapshotProfileHash: import("drizzle-orm/pg-core").PgColumn<{
3699
- name: "snapshot_profile_hash";
3700
- tableName: "junior_workspaces";
3701
- dataType: "string";
3702
- columnType: "PgText";
3703
- data: string;
3704
- driverParam: string;
3705
- notNull: false;
3706
- hasDefault: false;
3707
- isPrimaryKey: false;
3708
- isAutoincrement: false;
3709
- hasRuntimeDefault: false;
3710
- enumValues: [string, ...string[]];
3711
- baseColumn: never;
3712
- identity: undefined;
3713
- generated: undefined;
3714
- }, {}, {}>;
3715
3897
  createdAt: import("drizzle-orm/pg-core").PgColumn<{
3716
3898
  name: string;
3717
3899
  tableName: "junior_workspaces";
@@ -5,16 +5,16 @@ import {
5
5
  getConversationStore,
6
6
  getDb,
7
7
  getSqlExecutor
8
- } from "./chunk-IX7VHMIJ.js";
9
- import "./chunk-6W2UIZSA.js";
10
- import "./chunk-E7HKIHI5.js";
8
+ } from "./chunk-Y4AEFUEV.js";
9
+ import "./chunk-LVNMMESU.js";
10
+ import "./chunk-CBPREIWS.js";
11
11
  import "./chunk-VFUK3X5B.js";
12
- import "./chunk-NGL4XFT2.js";
12
+ import "./chunk-QAEKVEZY.js";
13
13
  import "./chunk-M63DETLL.js";
14
- import "./chunk-5EPG7PYS.js";
14
+ import "./chunk-IAOQPDO6.js";
15
15
  import "./chunk-6GWA276C.js";
16
- import "./chunk-BW644E3V.js";
17
- import "./chunk-F4UM52UH.js";
16
+ import "./chunk-EXEO2R4S.js";
17
+ import "./chunk-ELAP5LB5.js";
18
18
  import "./chunk-MLKGABMK.js";
19
19
  export {
20
20
  closeDb,