@sentry/junior 0.160.0 → 0.162.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{agent-hooks-U6R3O2V4.js → agent-hooks-TL2SGC5W.js} +13 -10
- package/dist/api/locations/detail.d.ts +17 -0
- package/dist/api/people/plugin-reports.d.ts +7 -0
- package/dist/api/schema/conversation.d.ts +80 -8
- package/dist/api/schema/location.d.ts +30 -0
- package/dist/api/schema/person.d.ts +30 -0
- package/dist/api/schema.js +1 -1
- package/dist/api.js +128 -27
- package/dist/app.js +73 -42
- package/dist/{catalog-runtime-HIDNHGOP.js → catalog-runtime-IGSMIADJ.js} +5 -5
- package/dist/chat/artifacts/store.d.ts +42 -0
- package/dist/chat/conversations/message-search.d.ts +6 -0
- package/dist/chat/plugins/agent-hooks.d.ts +9 -1
- package/dist/chat/plugins/annotations.d.ts +3 -0
- package/dist/chat/plugins/conversation-sidebar.d.ts +3 -0
- package/dist/chat/plugins/viewer.d.ts +4 -0
- package/dist/chat/slack/mrkdwn.d.ts +3 -4
- package/dist/chat/slack/tools/conversation-message-search.d.ts +9 -0
- package/dist/chat/tools/publish-image.d.ts +44 -0
- package/dist/chat/tools/unpublish-image.d.ts +35 -0
- package/dist/{chunk-RJGRXDA7.js → chunk-4WYGQ47U.js} +5 -5
- package/dist/{chunk-FKMWPA4A.js → chunk-5NEBOHRG.js} +4 -4
- package/dist/{chunk-BGVQGEKB.js → chunk-6BJFIWEV.js} +4 -4
- package/dist/{chunk-TBRJGMTO.js → chunk-7DTPFFQX.js} +1 -1
- package/dist/{chunk-WACYTIIK.js → chunk-AJ7J2HWY.js} +6 -6
- package/dist/{chunk-YPMDNE7R.js → chunk-BPZQWAZJ.js} +1 -1
- package/dist/{chunk-TPFOVXRB.js → chunk-C3KUKA27.js} +19 -21
- package/dist/{chunk-4UO3UAW7.js → chunk-CZ6EHOU5.js} +239 -199
- package/dist/{chunk-JQZIUESN.js → chunk-DDQ43S5Q.js} +49 -4
- package/dist/{chunk-UNDTW2PY.js → chunk-DZC3F2UI.js} +1 -1
- package/dist/{chunk-42E7432W.js → chunk-EBEHJPFF.js} +1 -1
- package/dist/{chunk-M5HCOMDR.js → chunk-EHQLTK3X.js} +450 -115
- package/dist/{chunk-2SFMRMDV.js → chunk-FESUWAYU.js} +1 -1
- package/dist/{chunk-XPX3DYG7.js → chunk-FEWT5KPP.js} +2 -2
- package/dist/{chunk-2MK6S2UA.js → chunk-H2KW7AZC.js} +1 -1
- package/dist/{chunk-FJR66CQT.js → chunk-HW4BW3PC.js} +4 -4
- package/dist/{chunk-PZUJPPON.js → chunk-JJ3VXFDI.js} +1 -1
- package/dist/{chunk-MBDWMEO6.js → chunk-JRVURR3H.js} +10 -10
- package/dist/{chunk-756F567I.js → chunk-K7IV6UV3.js} +5 -5
- package/dist/{chunk-URPLKXLG.js → chunk-KQSO4DJ4.js} +9 -9
- package/dist/{chunk-LNUZXEEI.js → chunk-MMBMDSRK.js} +1 -1
- package/dist/{chunk-J77DLAPE.js → chunk-MNCEGXEH.js} +2 -2
- package/dist/{chunk-P7W3ZL5J.js → chunk-O6P7DZ6O.js} +8 -36
- package/dist/{chunk-PVIM2RWO.js → chunk-OBFRMQBY.js} +8 -10
- package/dist/{chunk-3AHIB66R.js → chunk-OPNJRQDP.js} +5 -5
- package/dist/{chunk-U26KRMYX.js → chunk-QHCIZLIX.js} +537 -27
- package/dist/{chunk-472VVYYV.js → chunk-RDV4BQRZ.js} +1 -1
- package/dist/{chunk-UYUS4L6F.js → chunk-SA6BEEAB.js} +16 -9
- package/dist/{chunk-HDPH4CHJ.js → chunk-THXMSSFZ.js} +1 -1
- package/dist/{chunk-RLOXMHLA.js → chunk-V7QL4QMW.js} +4 -4
- package/dist/{chunk-56TFPTZU.js → chunk-WHAJ3QVY.js} +1 -1
- package/dist/{chunk-ZNBGWMVQ.js → chunk-Y75ZDQB5.js} +1 -1
- package/dist/cli/chat.js +29 -30
- package/dist/cli/check.js +6 -6
- package/dist/cli/plugins.js +12 -13
- package/dist/cli/snapshot-create.js +9 -9
- package/dist/cli/upgrade.js +7 -7
- package/dist/db/schema/artifacts.d.ts +178 -0
- package/dist/db/schema.d.ts +179 -1
- package/dist/{db-2JKT3BB5.js → db-66XZ4HHQ.js} +7 -7
- package/dist/handlers/artifacts.d.ts +8 -0
- package/dist/instrumentation.js +4 -4
- package/dist/nitro.js +2 -2
- package/dist/{oauth-callback-server-7MC2UMQC.js → oauth-callback-server-FMLKDUUF.js} +22 -23
- package/dist/{runner-GUU4G7XO.js → runner-YZONUMNY.js} +12 -13
- package/dist/{skills-7NW5N3VM.js → skills-3UDJJXSO.js} +6 -6
- package/dist/spawn-TBPVA5S2.js +37 -0
- package/dist/{validation-AQLI6N2C.js → validation-3HTDBONC.js} +6 -6
- package/dist/version.js +1 -1
- package/dist/{work-FLFK5XNU.js → work-O4YTIS54.js} +17 -17
- package/dist/worker-WHURUEYX.js +24 -0
- package/migrations/0028_artifacts.sql +16 -0
- package/migrations/meta/0028_snapshot.json +2685 -0
- package/migrations/meta/_journal.json +8 -1
- package/package.json +4 -4
- package/dist/chunk-OUAZDZTZ.js +0 -441
- package/dist/spawn-WGK4W3XF.js +0 -37
- package/dist/worker-KSJIRBQJ.js +0 -24
|
@@ -41,6 +41,7 @@ function activityDays(days, nowMs, count) {
|
|
|
41
41
|
import { z as z2 } from "zod";
|
|
42
42
|
import {
|
|
43
43
|
conversationAnnotationInputSchema,
|
|
44
|
+
conversationSidebarAnnotationSchema,
|
|
44
45
|
conversationEventPresentationSchema
|
|
45
46
|
} from "@sentry/junior-plugin-api";
|
|
46
47
|
var conversationReportStatusSchema = z2.enum([
|
|
@@ -166,6 +167,13 @@ var conversationSourceTaskSchema = z2.object({
|
|
|
166
167
|
});
|
|
167
168
|
}
|
|
168
169
|
});
|
|
170
|
+
var conversationAnnotationReportSchema = conversationAnnotationInputSchema.and(
|
|
171
|
+
z2.object({
|
|
172
|
+
plugin: z2.string().min(1),
|
|
173
|
+
createdAt: z2.string().datetime(),
|
|
174
|
+
updatedAt: z2.string().datetime()
|
|
175
|
+
})
|
|
176
|
+
);
|
|
169
177
|
var conversationSummaryReportSchema = z2.object({
|
|
170
178
|
displayTitle: z2.string(),
|
|
171
179
|
cumulativeDurationMs: z2.number(),
|
|
@@ -188,6 +196,14 @@ var conversationSummaryReportSchema = z2.object({
|
|
|
188
196
|
sentryTraceUrl: z2.string().optional(),
|
|
189
197
|
sourceUrl: z2.string().url().optional(),
|
|
190
198
|
traceId: z2.string().optional(),
|
|
199
|
+
/**
|
|
200
|
+
* Plugin-owned resource links for this conversation.
|
|
201
|
+
* Present on the conversation feed when the viewer can see private content.
|
|
202
|
+
* Clients must not fetch provider state while rendering these links.
|
|
203
|
+
*/
|
|
204
|
+
annotations: z2.array(conversationAnnotationReportSchema).optional(),
|
|
205
|
+
/** Plugin-selected annotations for the compact conversation row. */
|
|
206
|
+
sidebarAnnotations: z2.array(conversationSidebarAnnotationSchema).optional(),
|
|
191
207
|
assignedWork: z2.boolean().optional(),
|
|
192
208
|
finishedWorkAt: z2.string().datetime().optional(),
|
|
193
209
|
/**
|
|
@@ -511,15 +527,6 @@ function validateConversationEvents(report, context) {
|
|
|
511
527
|
}
|
|
512
528
|
}
|
|
513
529
|
var conversationDetailReportSchema = conversationSummaryReportSchema.extend({
|
|
514
|
-
annotations: z2.array(
|
|
515
|
-
conversationAnnotationInputSchema.and(
|
|
516
|
-
z2.object({
|
|
517
|
-
plugin: z2.string().min(1),
|
|
518
|
-
createdAt: z2.string().datetime(),
|
|
519
|
-
updatedAt: z2.string().datetime()
|
|
520
|
-
})
|
|
521
|
-
)
|
|
522
|
-
).optional(),
|
|
523
530
|
modelUsage: z2.array(conversationModelUsageSchema).optional(),
|
|
524
531
|
events: z2.array(conversationReportEventSchema),
|
|
525
532
|
eventHistory: conversationEventHistorySchema,
|
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
instructionProvenanceFor,
|
|
14
14
|
sanitizePostgresJson,
|
|
15
15
|
withConversationEventLock
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-DDQ43S5Q.js";
|
|
17
17
|
import {
|
|
18
18
|
SANDBOX_WORKSPACE_ROOT,
|
|
19
19
|
sleep
|
|
@@ -23,14 +23,14 @@ import {
|
|
|
23
23
|
fenceLock,
|
|
24
24
|
getStateAdapter,
|
|
25
25
|
withLock
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-DZC3F2UI.js";
|
|
27
27
|
import {
|
|
28
28
|
botConfig,
|
|
29
29
|
completeText,
|
|
30
30
|
escapeXml,
|
|
31
31
|
resolveGatewayModel,
|
|
32
32
|
unwrapCurrentInstruction
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-MNCEGXEH.js";
|
|
34
34
|
import {
|
|
35
35
|
parseSlackMessageTs,
|
|
36
36
|
toStoredSlackActor
|
|
@@ -40,7 +40,7 @@ import {
|
|
|
40
40
|
logException,
|
|
41
41
|
logWarn,
|
|
42
42
|
setSpanAttributes
|
|
43
|
-
} from "./chunk-
|
|
43
|
+
} from "./chunk-Y75ZDQB5.js";
|
|
44
44
|
|
|
45
45
|
// src/chat/turn-context-tag.ts
|
|
46
46
|
var TURN_CONTEXT_TAG = "runtime-turn-context";
|
package/dist/cli/chat.js
CHANGED
|
@@ -1,45 +1,44 @@
|
|
|
1
1
|
import {
|
|
2
2
|
executeAgentRun
|
|
3
|
-
} from "../chunk-
|
|
4
|
-
import "../chunk-
|
|
3
|
+
} from "../chunk-EHQLTK3X.js";
|
|
4
|
+
import "../chunk-K7IV6UV3.js";
|
|
5
5
|
import "../chunk-DIB4GX3G.js";
|
|
6
6
|
import {
|
|
7
7
|
createAgentRunner
|
|
8
|
-
} from "../chunk-
|
|
8
|
+
} from "../chunk-OBFRMQBY.js";
|
|
9
9
|
import "../chunk-RF6J3DIO.js";
|
|
10
|
-
import "../chunk-
|
|
10
|
+
import "../chunk-O6P7DZ6O.js";
|
|
11
11
|
import "../chunk-7MA4HV4W.js";
|
|
12
12
|
import "../chunk-5IDFPCON.js";
|
|
13
|
-
import "../chunk-
|
|
14
|
-
import "../chunk-
|
|
15
|
-
import "../chunk-
|
|
16
|
-
import "../chunk-
|
|
13
|
+
import "../chunk-6BJFIWEV.js";
|
|
14
|
+
import "../chunk-4WYGQ47U.js";
|
|
15
|
+
import "../chunk-WHAJ3QVY.js";
|
|
16
|
+
import "../chunk-V7QL4QMW.js";
|
|
17
17
|
import "../chunk-3Y47VMHV.js";
|
|
18
18
|
import "../chunk-PDO5BLNM.js";
|
|
19
19
|
import "../chunk-UIE3R5XU.js";
|
|
20
20
|
import {
|
|
21
21
|
loadAppPluginSet
|
|
22
22
|
} from "../chunk-Y2CM7HXH.js";
|
|
23
|
-
import "../chunk-
|
|
24
|
-
import "../chunk-
|
|
25
|
-
import "../chunk-
|
|
26
|
-
import "../chunk-4UO3UAW7.js";
|
|
23
|
+
import "../chunk-QHCIZLIX.js";
|
|
24
|
+
import "../chunk-DDQ43S5Q.js";
|
|
25
|
+
import "../chunk-CZ6EHOU5.js";
|
|
27
26
|
import "../chunk-EM225ITJ.js";
|
|
28
|
-
import "../chunk-
|
|
29
|
-
import "../chunk-
|
|
27
|
+
import "../chunk-DZC3F2UI.js";
|
|
28
|
+
import "../chunk-MNCEGXEH.js";
|
|
30
29
|
import "../chunk-VFUK3X5B.js";
|
|
31
|
-
import "../chunk-
|
|
32
|
-
import "../chunk-
|
|
33
|
-
import "../chunk-
|
|
34
|
-
import "../chunk-
|
|
30
|
+
import "../chunk-7DTPFFQX.js";
|
|
31
|
+
import "../chunk-FEWT5KPP.js";
|
|
32
|
+
import "../chunk-FESUWAYU.js";
|
|
33
|
+
import "../chunk-EBEHJPFF.js";
|
|
35
34
|
import "../chunk-BDUENQD3.js";
|
|
36
35
|
import "../chunk-V7YE4WCP.js";
|
|
37
|
-
import "../chunk-
|
|
36
|
+
import "../chunk-Y75ZDQB5.js";
|
|
38
37
|
import "../chunk-6GWA276C.js";
|
|
39
38
|
import "../chunk-OOUNJNMR.js";
|
|
40
39
|
import "../chunk-H4HBKISO.js";
|
|
41
|
-
import "../chunk-
|
|
42
|
-
import "../chunk-
|
|
40
|
+
import "../chunk-THXMSSFZ.js";
|
|
41
|
+
import "../chunk-BPZQWAZJ.js";
|
|
43
42
|
import "../chunk-MLKGABMK.js";
|
|
44
43
|
|
|
45
44
|
// src/cli/chat.ts
|
|
@@ -162,10 +161,10 @@ async function configureLocalChatPlugins(pluginSet) {
|
|
|
162
161
|
databaseModule
|
|
163
162
|
] = await Promise.all([
|
|
164
163
|
import("../plugins-HW4VWW6G.js"),
|
|
165
|
-
import("../agent-hooks-
|
|
166
|
-
import("../catalog-runtime-
|
|
167
|
-
import("../validation-
|
|
168
|
-
import("../db-
|
|
164
|
+
import("../agent-hooks-TL2SGC5W.js"),
|
|
165
|
+
import("../catalog-runtime-IGSMIADJ.js"),
|
|
166
|
+
import("../validation-3HTDBONC.js"),
|
|
167
|
+
import("../db-66XZ4HHQ.js")
|
|
169
168
|
]);
|
|
170
169
|
const resolvedPluginSet = pluginSet === void 0 ? await loadLocalPluginSet() : pluginSet ?? void 0;
|
|
171
170
|
const plugins = pluginsModule.pluginRuntimeRegistrationsFromPluginSet(resolvedPluginSet);
|
|
@@ -231,14 +230,14 @@ async function prepareLocalChatRun(io, pluginSet) {
|
|
|
231
230
|
await configureLocalChatPlugins(pluginSet);
|
|
232
231
|
const { setExperimentalFeatures } = await import("../experimental-HH6OM6UH.js");
|
|
233
232
|
setExperimentalFeatures({ subagents: true });
|
|
234
|
-
const { runLocalAgentTurn } = await import("../runner-
|
|
235
|
-
const { startLocalOAuthCallbackServer } = await import("../oauth-callback-server-
|
|
233
|
+
const { runLocalAgentTurn } = await import("../runner-YZONUMNY.js");
|
|
234
|
+
const { startLocalOAuthCallbackServer } = await import("../oauth-callback-server-FMLKDUUF.js");
|
|
236
235
|
const { createLocalOAuthState } = await import("../oauth-relay-3ZU72UGL.js");
|
|
237
236
|
const { createLocalSandboxEgressSignalTransport } = await import("../sandbox-egress-signals-U3ZX7C5W.js");
|
|
238
|
-
const { bindSpawnAgent } = await import("../spawn-
|
|
239
|
-
const { createAgentInvocationWorker, routeAgentInvocationWork } = await import("../work-
|
|
237
|
+
const { bindSpawnAgent } = await import("../spawn-TBPVA5S2.js");
|
|
238
|
+
const { createAgentInvocationWorker, routeAgentInvocationWork } = await import("../work-O4YTIS54.js");
|
|
240
239
|
const { createLocalConversationWork } = await import("../conversation-work-KATFHLG3.js");
|
|
241
|
-
const { processConversationWork } = await import("../worker-
|
|
240
|
+
const { processConversationWork } = await import("../worker-WHURUEYX.js");
|
|
242
241
|
let agentRunner;
|
|
243
242
|
const localConversationWork = createLocalConversationWork(async (message) => {
|
|
244
243
|
if (!agentRunner) {
|
package/dist/cli/check.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
parseSkillFile
|
|
3
|
-
} from "../chunk-
|
|
4
|
-
import "../chunk-
|
|
3
|
+
} from "../chunk-FEWT5KPP.js";
|
|
4
|
+
import "../chunk-FESUWAYU.js";
|
|
5
5
|
import {
|
|
6
6
|
parseInlinePluginManifest,
|
|
7
7
|
parsePluginManifest
|
|
8
|
-
} from "../chunk-
|
|
8
|
+
} from "../chunk-EBEHJPFF.js";
|
|
9
9
|
import "../chunk-BDUENQD3.js";
|
|
10
10
|
import "../chunk-V7YE4WCP.js";
|
|
11
|
-
import "../chunk-
|
|
11
|
+
import "../chunk-Y75ZDQB5.js";
|
|
12
12
|
import "../chunk-6GWA276C.js";
|
|
13
13
|
import "../chunk-OOUNJNMR.js";
|
|
14
14
|
import "../chunk-H4HBKISO.js";
|
|
@@ -16,8 +16,8 @@ import {
|
|
|
16
16
|
JUNIOR_CONVERSATION_WORK_CALLBACK_ROUTE,
|
|
17
17
|
JUNIOR_HEARTBEAT_ROUTE,
|
|
18
18
|
LEGACY_JUNIOR_CONVERSATION_WORK_FUNCTION
|
|
19
|
-
} from "../chunk-
|
|
20
|
-
import "../chunk-
|
|
19
|
+
} from "../chunk-THXMSSFZ.js";
|
|
20
|
+
import "../chunk-BPZQWAZJ.js";
|
|
21
21
|
import "../chunk-MLKGABMK.js";
|
|
22
22
|
|
|
23
23
|
// src/cli/check.ts
|
package/dist/cli/plugins.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
validatePluginEgressCredentialHooks,
|
|
3
3
|
validatePluginRegistrations
|
|
4
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-JJ3VXFDI.js";
|
|
5
5
|
import {
|
|
6
6
|
pluginCatalogConfigFromPluginSet,
|
|
7
7
|
pluginCliRegistrationsFromPluginSet,
|
|
@@ -14,29 +14,28 @@ import {
|
|
|
14
14
|
createPluginLogger,
|
|
15
15
|
setPlugins,
|
|
16
16
|
validatePlugins
|
|
17
|
-
} from "../chunk-
|
|
18
|
-
import "../chunk-OUAZDZTZ.js";
|
|
17
|
+
} from "../chunk-QHCIZLIX.js";
|
|
19
18
|
import {
|
|
20
19
|
getDb
|
|
21
|
-
} from "../chunk-
|
|
22
|
-
import "../chunk-
|
|
20
|
+
} from "../chunk-DDQ43S5Q.js";
|
|
21
|
+
import "../chunk-CZ6EHOU5.js";
|
|
23
22
|
import "../chunk-EM225ITJ.js";
|
|
24
|
-
import "../chunk-
|
|
25
|
-
import "../chunk-
|
|
23
|
+
import "../chunk-DZC3F2UI.js";
|
|
24
|
+
import "../chunk-MNCEGXEH.js";
|
|
26
25
|
import "../chunk-VFUK3X5B.js";
|
|
27
|
-
import "../chunk-
|
|
26
|
+
import "../chunk-7DTPFFQX.js";
|
|
28
27
|
import {
|
|
29
28
|
pluginCatalogRuntime
|
|
30
|
-
} from "../chunk-
|
|
31
|
-
import "../chunk-
|
|
29
|
+
} from "../chunk-FESUWAYU.js";
|
|
30
|
+
import "../chunk-EBEHJPFF.js";
|
|
32
31
|
import "../chunk-BDUENQD3.js";
|
|
33
32
|
import "../chunk-V7YE4WCP.js";
|
|
34
|
-
import "../chunk-
|
|
33
|
+
import "../chunk-Y75ZDQB5.js";
|
|
35
34
|
import "../chunk-6GWA276C.js";
|
|
36
35
|
import "../chunk-OOUNJNMR.js";
|
|
37
36
|
import "../chunk-H4HBKISO.js";
|
|
38
|
-
import "../chunk-
|
|
39
|
-
import "../chunk-
|
|
37
|
+
import "../chunk-THXMSSFZ.js";
|
|
38
|
+
import "../chunk-BPZQWAZJ.js";
|
|
40
39
|
import "../chunk-MLKGABMK.js";
|
|
41
40
|
|
|
42
41
|
// src/cli/plugins.ts
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import {
|
|
2
2
|
create,
|
|
3
3
|
resolve
|
|
4
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-6BJFIWEV.js";
|
|
5
5
|
import "../chunk-EM225ITJ.js";
|
|
6
6
|
import {
|
|
7
7
|
disconnectStateAdapter
|
|
8
|
-
} from "../chunk-
|
|
9
|
-
import "../chunk-
|
|
10
|
-
import "../chunk-
|
|
8
|
+
} from "../chunk-DZC3F2UI.js";
|
|
9
|
+
import "../chunk-MNCEGXEH.js";
|
|
10
|
+
import "../chunk-7DTPFFQX.js";
|
|
11
11
|
import {
|
|
12
12
|
pluginCatalogRuntime
|
|
13
|
-
} from "../chunk-
|
|
14
|
-
import "../chunk-
|
|
13
|
+
} from "../chunk-FESUWAYU.js";
|
|
14
|
+
import "../chunk-EBEHJPFF.js";
|
|
15
15
|
import "../chunk-BDUENQD3.js";
|
|
16
16
|
import "../chunk-V7YE4WCP.js";
|
|
17
|
-
import "../chunk-
|
|
17
|
+
import "../chunk-Y75ZDQB5.js";
|
|
18
18
|
import "../chunk-6GWA276C.js";
|
|
19
19
|
import "../chunk-OOUNJNMR.js";
|
|
20
20
|
import "../chunk-H4HBKISO.js";
|
|
21
|
-
import "../chunk-
|
|
22
|
-
import "../chunk-
|
|
21
|
+
import "../chunk-THXMSSFZ.js";
|
|
22
|
+
import "../chunk-BPZQWAZJ.js";
|
|
23
23
|
import "../chunk-MLKGABMK.js";
|
|
24
24
|
|
|
25
25
|
// src/cli/snapshot-create.ts
|
package/dist/cli/upgrade.js
CHANGED
|
@@ -8,23 +8,23 @@ import {
|
|
|
8
8
|
} from "../chunk-Y2CM7HXH.js";
|
|
9
9
|
import {
|
|
10
10
|
createJuniorSqlExecutor
|
|
11
|
-
} from "../chunk-
|
|
11
|
+
} from "../chunk-CZ6EHOU5.js";
|
|
12
12
|
import {
|
|
13
13
|
getChatConfig
|
|
14
|
-
} from "../chunk-
|
|
14
|
+
} from "../chunk-MNCEGXEH.js";
|
|
15
15
|
import "../chunk-VFUK3X5B.js";
|
|
16
|
-
import "../chunk-
|
|
16
|
+
import "../chunk-7DTPFFQX.js";
|
|
17
17
|
import {
|
|
18
18
|
createPluginCatalogRuntime
|
|
19
|
-
} from "../chunk-
|
|
19
|
+
} from "../chunk-EBEHJPFF.js";
|
|
20
20
|
import "../chunk-BDUENQD3.js";
|
|
21
21
|
import "../chunk-V7YE4WCP.js";
|
|
22
|
-
import "../chunk-
|
|
22
|
+
import "../chunk-Y75ZDQB5.js";
|
|
23
23
|
import "../chunk-6GWA276C.js";
|
|
24
24
|
import "../chunk-OOUNJNMR.js";
|
|
25
25
|
import "../chunk-H4HBKISO.js";
|
|
26
|
-
import "../chunk-
|
|
27
|
-
import "../chunk-
|
|
26
|
+
import "../chunk-THXMSSFZ.js";
|
|
27
|
+
import "../chunk-BPZQWAZJ.js";
|
|
28
28
|
import "../chunk-MLKGABMK.js";
|
|
29
29
|
|
|
30
30
|
// src/chat/conversations/sql/migrations.ts
|
|
@@ -0,0 +1,178 @@
|
|
|
1
|
+
/** Durable metadata for conversation-owned public artifacts. */
|
|
2
|
+
export declare const juniorArtifacts: import("drizzle-orm/pg-core").PgTableWithColumns<{
|
|
3
|
+
name: "junior_artifacts";
|
|
4
|
+
schema: undefined;
|
|
5
|
+
columns: {
|
|
6
|
+
id: import("drizzle-orm/pg-core").PgColumn<{
|
|
7
|
+
name: "id";
|
|
8
|
+
tableName: "junior_artifacts";
|
|
9
|
+
dataType: "string";
|
|
10
|
+
columnType: "PgText";
|
|
11
|
+
data: string;
|
|
12
|
+
driverParam: string;
|
|
13
|
+
notNull: true;
|
|
14
|
+
hasDefault: false;
|
|
15
|
+
isPrimaryKey: true;
|
|
16
|
+
isAutoincrement: false;
|
|
17
|
+
hasRuntimeDefault: false;
|
|
18
|
+
enumValues: [string, ...string[]];
|
|
19
|
+
baseColumn: never;
|
|
20
|
+
identity: undefined;
|
|
21
|
+
generated: undefined;
|
|
22
|
+
}, {}, {}>;
|
|
23
|
+
conversationId: import("drizzle-orm/pg-core").PgColumn<{
|
|
24
|
+
name: "conversation_id";
|
|
25
|
+
tableName: "junior_artifacts";
|
|
26
|
+
dataType: "string";
|
|
27
|
+
columnType: "PgText";
|
|
28
|
+
data: string;
|
|
29
|
+
driverParam: string;
|
|
30
|
+
notNull: true;
|
|
31
|
+
hasDefault: false;
|
|
32
|
+
isPrimaryKey: false;
|
|
33
|
+
isAutoincrement: false;
|
|
34
|
+
hasRuntimeDefault: false;
|
|
35
|
+
enumValues: [string, ...string[]];
|
|
36
|
+
baseColumn: never;
|
|
37
|
+
identity: undefined;
|
|
38
|
+
generated: undefined;
|
|
39
|
+
}, {}, {}>;
|
|
40
|
+
sha256: import("drizzle-orm/pg-core").PgColumn<{
|
|
41
|
+
name: "sha256";
|
|
42
|
+
tableName: "junior_artifacts";
|
|
43
|
+
dataType: "string";
|
|
44
|
+
columnType: "PgText";
|
|
45
|
+
data: string;
|
|
46
|
+
driverParam: string;
|
|
47
|
+
notNull: true;
|
|
48
|
+
hasDefault: false;
|
|
49
|
+
isPrimaryKey: false;
|
|
50
|
+
isAutoincrement: false;
|
|
51
|
+
hasRuntimeDefault: false;
|
|
52
|
+
enumValues: [string, ...string[]];
|
|
53
|
+
baseColumn: never;
|
|
54
|
+
identity: undefined;
|
|
55
|
+
generated: undefined;
|
|
56
|
+
}, {}, {}>;
|
|
57
|
+
ext: import("drizzle-orm/pg-core").PgColumn<{
|
|
58
|
+
name: "ext";
|
|
59
|
+
tableName: "junior_artifacts";
|
|
60
|
+
dataType: "string";
|
|
61
|
+
columnType: "PgText";
|
|
62
|
+
data: string;
|
|
63
|
+
driverParam: string;
|
|
64
|
+
notNull: true;
|
|
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
|
+
storageKey: import("drizzle-orm/pg-core").PgColumn<{
|
|
75
|
+
name: "storage_key";
|
|
76
|
+
tableName: "junior_artifacts";
|
|
77
|
+
dataType: "string";
|
|
78
|
+
columnType: "PgText";
|
|
79
|
+
data: string;
|
|
80
|
+
driverParam: string;
|
|
81
|
+
notNull: true;
|
|
82
|
+
hasDefault: false;
|
|
83
|
+
isPrimaryKey: false;
|
|
84
|
+
isAutoincrement: false;
|
|
85
|
+
hasRuntimeDefault: false;
|
|
86
|
+
enumValues: [string, ...string[]];
|
|
87
|
+
baseColumn: never;
|
|
88
|
+
identity: undefined;
|
|
89
|
+
generated: undefined;
|
|
90
|
+
}, {}, {}>;
|
|
91
|
+
contentType: import("drizzle-orm/pg-core").PgColumn<{
|
|
92
|
+
name: "content_type";
|
|
93
|
+
tableName: "junior_artifacts";
|
|
94
|
+
dataType: "string";
|
|
95
|
+
columnType: "PgText";
|
|
96
|
+
data: string;
|
|
97
|
+
driverParam: string;
|
|
98
|
+
notNull: true;
|
|
99
|
+
hasDefault: false;
|
|
100
|
+
isPrimaryKey: false;
|
|
101
|
+
isAutoincrement: false;
|
|
102
|
+
hasRuntimeDefault: false;
|
|
103
|
+
enumValues: [string, ...string[]];
|
|
104
|
+
baseColumn: never;
|
|
105
|
+
identity: undefined;
|
|
106
|
+
generated: undefined;
|
|
107
|
+
}, {}, {}>;
|
|
108
|
+
bytes: import("drizzle-orm/pg-core").PgColumn<{
|
|
109
|
+
name: "bytes";
|
|
110
|
+
tableName: "junior_artifacts";
|
|
111
|
+
dataType: "number";
|
|
112
|
+
columnType: "PgInteger";
|
|
113
|
+
data: number;
|
|
114
|
+
driverParam: string | number;
|
|
115
|
+
notNull: true;
|
|
116
|
+
hasDefault: false;
|
|
117
|
+
isPrimaryKey: false;
|
|
118
|
+
isAutoincrement: false;
|
|
119
|
+
hasRuntimeDefault: false;
|
|
120
|
+
enumValues: undefined;
|
|
121
|
+
baseColumn: never;
|
|
122
|
+
identity: undefined;
|
|
123
|
+
generated: undefined;
|
|
124
|
+
}, {}, {}>;
|
|
125
|
+
public: import("drizzle-orm/pg-core").PgColumn<{
|
|
126
|
+
name: "public";
|
|
127
|
+
tableName: "junior_artifacts";
|
|
128
|
+
dataType: "boolean";
|
|
129
|
+
columnType: "PgBoolean";
|
|
130
|
+
data: boolean;
|
|
131
|
+
driverParam: boolean;
|
|
132
|
+
notNull: true;
|
|
133
|
+
hasDefault: false;
|
|
134
|
+
isPrimaryKey: false;
|
|
135
|
+
isAutoincrement: false;
|
|
136
|
+
hasRuntimeDefault: false;
|
|
137
|
+
enumValues: undefined;
|
|
138
|
+
baseColumn: never;
|
|
139
|
+
identity: undefined;
|
|
140
|
+
generated: undefined;
|
|
141
|
+
}, {}, {}>;
|
|
142
|
+
createdAt: import("drizzle-orm/pg-core").PgColumn<{
|
|
143
|
+
name: string;
|
|
144
|
+
tableName: "junior_artifacts";
|
|
145
|
+
dataType: "date";
|
|
146
|
+
columnType: "PgTimestamp";
|
|
147
|
+
data: Date;
|
|
148
|
+
driverParam: string;
|
|
149
|
+
notNull: true;
|
|
150
|
+
hasDefault: false;
|
|
151
|
+
isPrimaryKey: false;
|
|
152
|
+
isAutoincrement: false;
|
|
153
|
+
hasRuntimeDefault: false;
|
|
154
|
+
enumValues: undefined;
|
|
155
|
+
baseColumn: never;
|
|
156
|
+
identity: undefined;
|
|
157
|
+
generated: undefined;
|
|
158
|
+
}, {}, {}>;
|
|
159
|
+
deleteRequestedAt: import("drizzle-orm/pg-core").PgColumn<{
|
|
160
|
+
name: string;
|
|
161
|
+
tableName: "junior_artifacts";
|
|
162
|
+
dataType: "date";
|
|
163
|
+
columnType: "PgTimestamp";
|
|
164
|
+
data: Date;
|
|
165
|
+
driverParam: string;
|
|
166
|
+
notNull: false;
|
|
167
|
+
hasDefault: false;
|
|
168
|
+
isPrimaryKey: false;
|
|
169
|
+
isAutoincrement: false;
|
|
170
|
+
hasRuntimeDefault: false;
|
|
171
|
+
enumValues: undefined;
|
|
172
|
+
baseColumn: never;
|
|
173
|
+
identity: undefined;
|
|
174
|
+
generated: undefined;
|
|
175
|
+
}, {}, {}>;
|
|
176
|
+
};
|
|
177
|
+
dialect: "pg";
|
|
178
|
+
}>;
|