@sentry/junior 0.181.1 → 0.183.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-KO56HJ74.js → agent-hooks-SNRBZYAU.js} +11 -11
- package/dist/api/code/overview.d.ts +35 -0
- package/dist/api/code/routes.d.ts +4 -0
- package/dist/api/schema/code.d.ts +75 -0
- package/dist/api/schema.d.ts +2 -0
- package/dist/api/schema.js +9 -1
- package/dist/api.js +347 -149
- package/dist/app-adapter.d.ts +85 -0
- package/dist/app.d.ts +6 -1
- package/dist/app.js +380 -501
- package/dist/{catalog-runtime-CJTFLCK3.js → catalog-runtime-3I3JOIIH.js} +4 -4
- package/dist/chat/agent-invocations/store.d.ts +4 -2
- package/dist/chat/agent-invocations/work.d.ts +1 -3
- package/dist/chat/api-turns/adapter-conversations.d.ts +15 -0
- package/dist/chat/api-turns/stop.d.ts +12 -0
- package/dist/chat/api-turns/work.d.ts +9 -1
- package/dist/chat/app/conversation-work.d.ts +1 -1
- package/dist/chat/app/factory.d.ts +3 -3
- package/dist/chat/app/services.d.ts +3 -3
- package/dist/chat/code/publisher.d.ts +3 -0
- package/dist/chat/code/store.d.ts +9 -0
- package/dist/chat/event-tasks/store.d.ts +10 -0
- package/dist/chat/event-tasks/tool-support.d.ts +7 -1
- package/dist/chat/event-tasks/types.d.ts +1 -0
- package/dist/chat/experimental.d.ts +1 -1
- package/dist/chat/ingress/slack-webhook.d.ts +1 -1
- package/dist/chat/plugins/agent-hooks.d.ts +5 -0
- package/dist/chat/{runtime/slack-runtime.d.ts → providers/slack/runtime.d.ts} +2 -2
- package/dist/chat/{runtime/reply-executor.d.ts → providers/slack/turn.d.ts} +10 -9
- package/dist/chat/resource-events/catalog.d.ts +11 -1
- package/dist/chat/resource-events/store.d.ts +17 -1
- package/dist/chat/runtime/turn-execution.d.ts +30 -0
- package/dist/chat/services/subscribed-decision.d.ts +2 -1
- package/dist/chat/slack/dispatch-turn.d.ts +12 -14
- package/dist/chat/task-execution/slack-work.d.ts +1 -1
- package/dist/chat/tools/create-event-task.d.ts +3 -0
- package/dist/chat/tools/delete-event-task.d.ts +2 -0
- package/dist/chat/tools/list-event-tasks.d.ts +2 -0
- package/dist/chat/tools/list-resource-event-subscriptions.d.ts +2 -0
- package/dist/chat/tools/search-resource-event-types.d.ts +10 -0
- package/dist/chat/tools/update-event-task.d.ts +3 -0
- package/dist/chat/tools/watch-resource-events.d.ts +3 -0
- package/dist/{chunk-DTRCZOHE.js → chunk-24OJZ5OU.js} +6 -6
- package/dist/{chunk-Z2UG4FBT.js → chunk-2ADFGSUS.js} +1 -1
- package/dist/{chunk-RULGB5NX.js → chunk-2EPYYVJC.js} +9 -9
- package/dist/{chunk-VRS6WDK5.js → chunk-2LYHWMR4.js} +1 -1
- package/dist/{chunk-XQ56HNH5.js → chunk-35PM4YY5.js} +6 -6
- package/dist/{chunk-6TB7JN63.js → chunk-37IQ6DGU.js} +3 -3
- package/dist/{chunk-MR36BRPE.js → chunk-3HJ4F4L7.js} +4 -4
- package/dist/{chunk-4WYHL4EH.js → chunk-3L7CWDQQ.js} +1 -1
- package/dist/{chunk-CJRUBOJI.js → chunk-4WGFWHWP.js} +1 -1
- package/dist/{chunk-VHSBLFNT.js → chunk-56XONJPF.js} +1 -1
- package/dist/{chunk-ULM7P4EQ.js → chunk-6UXDTPEN.js} +233 -173
- package/dist/{chunk-WDNA4LML.js → chunk-AHMWPFIW.js} +188 -11
- package/dist/{chunk-YCW6RZGX.js → chunk-AX3UDIMA.js} +3 -3
- package/dist/{chunk-HG6HNOTQ.js → chunk-AYW7J6K4.js} +130 -200
- package/dist/{chunk-DXK3VTVP.js → chunk-E3OBGRHN.js} +1 -1
- package/dist/{chunk-7UF37LNL.js → chunk-EENQGEIP.js} +1 -1
- package/dist/{chunk-HRTW7FFX.js → chunk-FJMTMGBC.js} +1 -1
- package/dist/{chunk-H6MPFFBE.js → chunk-G2B2XZQW.js} +1 -1
- package/dist/{chunk-4GOZBB22.js → chunk-HUK5XIZL.js} +63 -7
- package/dist/{chunk-DINF4LMR.js → chunk-IO6KFXYE.js} +160 -97
- package/dist/{chunk-KH2SL2HT.js → chunk-KTXOGLNE.js} +2 -2
- package/dist/{chunk-S63LNPIV.js → chunk-LMNMMESF.js} +2 -2
- package/dist/{chunk-2CZ63QCL.js → chunk-LZBPGX5A.js} +1 -1
- package/dist/{chunk-PJ7EGFME.js → chunk-PLZT45VC.js} +5 -5
- package/dist/{chunk-ZQQWJMHE.js → chunk-QI5JW5AG.js} +6 -6
- package/dist/{chunk-IWRPJ3J5.js → chunk-QZV76CM4.js} +58 -32
- package/dist/{chunk-YFJDRORU.js → chunk-R767Y7QV.js} +202 -90
- package/dist/{chunk-4OSVTPYQ.js → chunk-SQHFVIMZ.js} +1 -1
- package/dist/{chunk-J4ID4ZI6.js → chunk-T5MTGX2E.js} +19 -19
- package/dist/{chunk-NRF23QZ4.js → chunk-V64JCZUV.js} +3 -3
- package/dist/{chunk-GITIZ6TZ.js → chunk-VOV3SCM3.js} +1 -1
- package/dist/{chunk-S5X2VQOD.js → chunk-W46NIB5H.js} +3 -2
- package/dist/{chunk-XL3C4NAR.js → chunk-W5JMPEBO.js} +9 -9
- package/dist/{chunk-HPFHC7YR.js → chunk-WOKJRLM2.js} +5 -5
- package/dist/chunk-WVIA7V3M.js +975 -0
- package/dist/{chunk-QA6RE6IB.js → chunk-X52ESOBP.js} +3 -3
- package/dist/cli/chat.js +35 -37
- package/dist/cli/check.js +5 -5
- package/dist/cli/plugins.js +12 -12
- package/dist/cli/snapshot-create.js +9 -9
- package/dist/cli/upgrade.js +6 -6
- package/dist/db/schema/code.d.ts +367 -0
- package/dist/db/schema.d.ts +367 -1
- package/dist/{db-4PXTD3OH.js → db-K2VMNLHQ.js} +6 -6
- package/dist/{experimental-SIJSRDJD.js → experimental-P5FZM4CU.js} +1 -1
- package/dist/instrumentation.js +3 -3
- package/dist/nitro.js +6 -6
- package/dist/{oauth-callback-server-TQWNEVR6.js → oauth-callback-server-DZZMTKSS.js} +26 -26
- package/dist/{runner-G5HLQA43.js → runner-IIAKWDXI.js} +18 -18
- package/dist/{skills-BNNNRYNT.js → skills-EXIQ7BP5.js} +5 -5
- package/dist/spawn-ZR6OOEAN.js +37 -0
- package/dist/task-runner-C52HYCVD.js +32 -0
- package/dist/{validation-IJSBB6JR.js → validation-XUGIWBJF.js} +5 -5
- package/dist/version.js +1 -1
- package/dist/{work-5FQI4P2A.js → work-G4RLJ634.js} +18 -18
- package/dist/worker-R2JEHK67.js +22 -0
- package/migrations/0036_complex_rage.sql +32 -0
- package/migrations/meta/0036_snapshot.json +3186 -0
- package/migrations/meta/_journal.json +8 -1
- package/package.json +6 -5
- package/dist/api/acp/route.d.ts +0 -13
- package/dist/chunk-CZYNWPWD.js +0 -930
- package/dist/spawn-U2RKOFP2.js +0 -37
- package/dist/task-runner-CDZJBEXP.js +0 -32
- package/dist/worker-KJ362GVB.js +0 -22
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
toOptionalTrimmed
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-LMNMMESF.js";
|
|
4
4
|
import {
|
|
5
5
|
pluginCatalogRuntime
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-E3OBGRHN.js";
|
|
7
7
|
import {
|
|
8
8
|
setSpanAttributes,
|
|
9
9
|
setSpanStatus
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-LZBPGX5A.js";
|
|
11
11
|
|
|
12
12
|
// src/chat/sandbox/paths.ts
|
|
13
13
|
function normalizeWorkspaceRoot(input) {
|
package/dist/cli/chat.js
CHANGED
|
@@ -1,50 +1,50 @@
|
|
|
1
1
|
import {
|
|
2
2
|
executeAgentRun
|
|
3
|
-
} from "../chunk-
|
|
4
|
-
import "../chunk-
|
|
3
|
+
} from "../chunk-QZV76CM4.js";
|
|
4
|
+
import "../chunk-35PM4YY5.js";
|
|
5
5
|
import "../chunk-6Y5B5PEX.js";
|
|
6
6
|
import "../chunk-DIB4GX3G.js";
|
|
7
7
|
import {
|
|
8
8
|
createAgentRunner
|
|
9
|
-
} from "../chunk-
|
|
9
|
+
} from "../chunk-2EPYYVJC.js";
|
|
10
10
|
import "../chunk-RF6J3DIO.js";
|
|
11
|
-
import "../chunk-
|
|
12
|
-
import "../chunk-
|
|
13
|
-
import "../chunk-
|
|
14
|
-
import "../chunk-
|
|
15
|
-
import "../chunk-
|
|
16
|
-
import "../chunk-
|
|
17
|
-
import "../chunk-
|
|
18
|
-
import "../chunk-
|
|
11
|
+
import "../chunk-QI5JW5AG.js";
|
|
12
|
+
import "../chunk-2LYHWMR4.js";
|
|
13
|
+
import "../chunk-R767Y7QV.js";
|
|
14
|
+
import "../chunk-SQHFVIMZ.js";
|
|
15
|
+
import "../chunk-HUK5XIZL.js";
|
|
16
|
+
import "../chunk-56XONJPF.js";
|
|
17
|
+
import "../chunk-24OJZ5OU.js";
|
|
18
|
+
import "../chunk-37IQ6DGU.js";
|
|
19
19
|
import "../chunk-PDO5BLNM.js";
|
|
20
20
|
import "../chunk-UIE3R5XU.js";
|
|
21
21
|
import "../chunk-X6GDDWQH.js";
|
|
22
22
|
import "../chunk-DKIJ2RP5.js";
|
|
23
23
|
import "../chunk-JAL3CH4G.js";
|
|
24
24
|
import "../chunk-7H2VZTWN.js";
|
|
25
|
-
import "../chunk-
|
|
25
|
+
import "../chunk-FJMTMGBC.js";
|
|
26
26
|
import {
|
|
27
27
|
loadAppPluginSet
|
|
28
28
|
} from "../chunk-Y2CM7HXH.js";
|
|
29
|
-
import "../chunk-
|
|
29
|
+
import "../chunk-AHMWPFIW.js";
|
|
30
30
|
import "../chunk-3Y47VMHV.js";
|
|
31
|
-
import "../chunk-
|
|
32
|
-
import "../chunk-
|
|
33
|
-
import "../chunk-
|
|
34
|
-
import "../chunk-
|
|
31
|
+
import "../chunk-AX3UDIMA.js";
|
|
32
|
+
import "../chunk-6UXDTPEN.js";
|
|
33
|
+
import "../chunk-X52ESOBP.js";
|
|
34
|
+
import "../chunk-G2B2XZQW.js";
|
|
35
35
|
import "../chunk-VFUK3X5B.js";
|
|
36
|
-
import "../chunk-
|
|
37
|
-
import "../chunk-
|
|
38
|
-
import "../chunk-
|
|
39
|
-
import "../chunk-
|
|
40
|
-
import "../chunk-
|
|
36
|
+
import "../chunk-LMNMMESF.js";
|
|
37
|
+
import "../chunk-2ADFGSUS.js";
|
|
38
|
+
import "../chunk-KTXOGLNE.js";
|
|
39
|
+
import "../chunk-E3OBGRHN.js";
|
|
40
|
+
import "../chunk-EENQGEIP.js";
|
|
41
41
|
import "../chunk-CEMMLV5L.js";
|
|
42
42
|
import "../chunk-N7TMSOZH.js";
|
|
43
43
|
import "../chunk-DWPN6SCH.js";
|
|
44
44
|
import "../chunk-TXKUKMVO.js";
|
|
45
|
-
import "../chunk-
|
|
45
|
+
import "../chunk-LZBPGX5A.js";
|
|
46
46
|
import "../chunk-PEQXYSSE.js";
|
|
47
|
-
import "../chunk-
|
|
47
|
+
import "../chunk-W46NIB5H.js";
|
|
48
48
|
|
|
49
49
|
// src/cli/chat.ts
|
|
50
50
|
import {
|
|
@@ -166,10 +166,10 @@ async function configureLocalChatPlugins(pluginSet) {
|
|
|
166
166
|
databaseModule
|
|
167
167
|
] = await Promise.all([
|
|
168
168
|
import("../plugins-YTYJMMJF.js"),
|
|
169
|
-
import("../agent-hooks-
|
|
170
|
-
import("../catalog-runtime-
|
|
171
|
-
import("../validation-
|
|
172
|
-
import("../db-
|
|
169
|
+
import("../agent-hooks-SNRBZYAU.js"),
|
|
170
|
+
import("../catalog-runtime-3I3JOIIH.js"),
|
|
171
|
+
import("../validation-XUGIWBJF.js"),
|
|
172
|
+
import("../db-K2VMNLHQ.js")
|
|
173
173
|
]);
|
|
174
174
|
const resolvedPluginSet = pluginSet === void 0 ? await loadLocalPluginSet() : pluginSet ?? void 0;
|
|
175
175
|
const plugins = pluginsModule.pluginRuntimeRegistrationsFromPluginSet(resolvedPluginSet);
|
|
@@ -233,16 +233,16 @@ function localDevServerUrl() {
|
|
|
233
233
|
async function prepareLocalChatRun(io, pluginSet) {
|
|
234
234
|
defaultStateAdapterForLocalChat();
|
|
235
235
|
await configureLocalChatPlugins(pluginSet);
|
|
236
|
-
const { setExperimentalFeatures } = await import("../experimental-
|
|
236
|
+
const { setExperimentalFeatures } = await import("../experimental-P5FZM4CU.js");
|
|
237
237
|
setExperimentalFeatures({ subagents: true });
|
|
238
|
-
const { runLocalAgentTurn } = await import("../runner-
|
|
239
|
-
const { startLocalOAuthCallbackServer } = await import("../oauth-callback-server-
|
|
238
|
+
const { runLocalAgentTurn } = await import("../runner-IIAKWDXI.js");
|
|
239
|
+
const { startLocalOAuthCallbackServer } = await import("../oauth-callback-server-DZZMTKSS.js");
|
|
240
240
|
const { createLocalOAuthState } = await import("../oauth-relay-5XPVRPYB.js");
|
|
241
241
|
const { createLocalSandboxEgressSignalTransport } = await import("../sandbox-egress-signals-FIL7EGPR.js");
|
|
242
|
-
const { bindSpawnAgent } = await import("../spawn-
|
|
243
|
-
const { createAgentInvocationWorker, routeAgentInvocationWork } = await import("../work-
|
|
242
|
+
const { bindSpawnAgent } = await import("../spawn-ZR6OOEAN.js");
|
|
243
|
+
const { createAgentInvocationWorker, routeAgentInvocationWork } = await import("../work-G4RLJ634.js");
|
|
244
244
|
const { createLocalConversationWork } = await import("../conversation-work-VIOQ5ZF3.js");
|
|
245
|
-
const { processConversationWork } = await import("../worker-
|
|
245
|
+
const { processConversationWork } = await import("../worker-R2JEHK67.js");
|
|
246
246
|
let agentRunner;
|
|
247
247
|
const localConversationWork = createLocalConversationWork(async (message) => {
|
|
248
248
|
if (!agentRunner) {
|
|
@@ -252,9 +252,7 @@ async function prepareLocalChatRun(io, pluginSet) {
|
|
|
252
252
|
fallbackWorker: async () => {
|
|
253
253
|
throw new Error("Local child queue received non-invocation work");
|
|
254
254
|
},
|
|
255
|
-
invocationWorker: createAgentInvocationWorker(
|
|
256
|
-
agentRunner
|
|
257
|
-
})
|
|
255
|
+
invocationWorker: createAgentInvocationWorker(agentRunner)
|
|
258
256
|
});
|
|
259
257
|
await processConversationWork(message, {
|
|
260
258
|
queue: localConversationWork.queue,
|
package/dist/cli/check.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
parseSkillFile
|
|
3
|
-
} from "../chunk-
|
|
4
|
-
import "../chunk-
|
|
3
|
+
} from "../chunk-KTXOGLNE.js";
|
|
4
|
+
import "../chunk-E3OBGRHN.js";
|
|
5
5
|
import {
|
|
6
6
|
parseInlinePluginManifest,
|
|
7
7
|
parsePluginManifest
|
|
8
|
-
} from "../chunk-
|
|
8
|
+
} from "../chunk-EENQGEIP.js";
|
|
9
9
|
import "../chunk-CEMMLV5L.js";
|
|
10
10
|
import "../chunk-N7TMSOZH.js";
|
|
11
11
|
import "../chunk-DWPN6SCH.js";
|
|
@@ -14,9 +14,9 @@ import {
|
|
|
14
14
|
JUNIOR_CONVERSATION_WORK_CALLBACK_ROUTE,
|
|
15
15
|
JUNIOR_HEARTBEAT_ROUTE,
|
|
16
16
|
LEGACY_JUNIOR_CONVERSATION_WORK_FUNCTION
|
|
17
|
-
} from "../chunk-
|
|
17
|
+
} from "../chunk-LZBPGX5A.js";
|
|
18
18
|
import "../chunk-PEQXYSSE.js";
|
|
19
|
-
import "../chunk-
|
|
19
|
+
import "../chunk-W46NIB5H.js";
|
|
20
20
|
|
|
21
21
|
// src/cli/check.ts
|
|
22
22
|
import fs from "fs/promises";
|
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-3L7CWDQQ.js";
|
|
5
5
|
import {
|
|
6
6
|
pluginCatalogConfigFromPluginSet,
|
|
7
7
|
pluginCliRegistrationsFromPluginSet,
|
|
@@ -14,28 +14,28 @@ import {
|
|
|
14
14
|
createPluginLogger,
|
|
15
15
|
setPlugins,
|
|
16
16
|
validatePlugins
|
|
17
|
-
} from "../chunk-
|
|
17
|
+
} from "../chunk-AHMWPFIW.js";
|
|
18
18
|
import "../chunk-3Y47VMHV.js";
|
|
19
19
|
import {
|
|
20
20
|
getDb
|
|
21
|
-
} from "../chunk-
|
|
22
|
-
import "../chunk-
|
|
23
|
-
import "../chunk-
|
|
24
|
-
import "../chunk-
|
|
21
|
+
} from "../chunk-AX3UDIMA.js";
|
|
22
|
+
import "../chunk-6UXDTPEN.js";
|
|
23
|
+
import "../chunk-X52ESOBP.js";
|
|
24
|
+
import "../chunk-G2B2XZQW.js";
|
|
25
25
|
import "../chunk-VFUK3X5B.js";
|
|
26
|
-
import "../chunk-
|
|
27
|
-
import "../chunk-
|
|
26
|
+
import "../chunk-LMNMMESF.js";
|
|
27
|
+
import "../chunk-2ADFGSUS.js";
|
|
28
28
|
import {
|
|
29
29
|
pluginCatalogRuntime
|
|
30
|
-
} from "../chunk-
|
|
31
|
-
import "../chunk-
|
|
30
|
+
} from "../chunk-E3OBGRHN.js";
|
|
31
|
+
import "../chunk-EENQGEIP.js";
|
|
32
32
|
import "../chunk-CEMMLV5L.js";
|
|
33
33
|
import "../chunk-N7TMSOZH.js";
|
|
34
34
|
import "../chunk-DWPN6SCH.js";
|
|
35
35
|
import "../chunk-TXKUKMVO.js";
|
|
36
|
-
import "../chunk-
|
|
36
|
+
import "../chunk-LZBPGX5A.js";
|
|
37
37
|
import "../chunk-PEQXYSSE.js";
|
|
38
|
-
import "../chunk-
|
|
38
|
+
import "../chunk-W46NIB5H.js";
|
|
39
39
|
|
|
40
40
|
// src/cli/plugins.ts
|
|
41
41
|
import { stderr as defaultStderr, stdout as defaultStdout } from "process";
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import {
|
|
2
2
|
resolve
|
|
3
|
-
} from "../chunk-
|
|
3
|
+
} from "../chunk-37IQ6DGU.js";
|
|
4
4
|
import {
|
|
5
5
|
create
|
|
6
|
-
} from "../chunk-
|
|
6
|
+
} from "../chunk-X52ESOBP.js";
|
|
7
7
|
import {
|
|
8
8
|
disconnectStateAdapter
|
|
9
|
-
} from "../chunk-
|
|
10
|
-
import "../chunk-
|
|
11
|
-
import "../chunk-
|
|
9
|
+
} from "../chunk-G2B2XZQW.js";
|
|
10
|
+
import "../chunk-LMNMMESF.js";
|
|
11
|
+
import "../chunk-2ADFGSUS.js";
|
|
12
12
|
import {
|
|
13
13
|
pluginCatalogRuntime
|
|
14
|
-
} from "../chunk-
|
|
15
|
-
import "../chunk-
|
|
14
|
+
} from "../chunk-E3OBGRHN.js";
|
|
15
|
+
import "../chunk-EENQGEIP.js";
|
|
16
16
|
import "../chunk-CEMMLV5L.js";
|
|
17
17
|
import "../chunk-N7TMSOZH.js";
|
|
18
18
|
import "../chunk-DWPN6SCH.js";
|
|
19
19
|
import "../chunk-TXKUKMVO.js";
|
|
20
|
-
import "../chunk-
|
|
20
|
+
import "../chunk-LZBPGX5A.js";
|
|
21
21
|
import "../chunk-PEQXYSSE.js";
|
|
22
|
-
import "../chunk-
|
|
22
|
+
import "../chunk-W46NIB5H.js";
|
|
23
23
|
|
|
24
24
|
// src/cli/snapshot-create.ts
|
|
25
25
|
var DEFAULT_RUNTIME = "node22";
|
package/dist/cli/upgrade.js
CHANGED
|
@@ -8,22 +8,22 @@ import {
|
|
|
8
8
|
} from "../chunk-Y2CM7HXH.js";
|
|
9
9
|
import {
|
|
10
10
|
createJuniorSqlExecutor
|
|
11
|
-
} from "../chunk-
|
|
11
|
+
} from "../chunk-6UXDTPEN.js";
|
|
12
12
|
import "../chunk-VFUK3X5B.js";
|
|
13
13
|
import {
|
|
14
14
|
getChatConfig
|
|
15
|
-
} from "../chunk-
|
|
16
|
-
import "../chunk-
|
|
15
|
+
} from "../chunk-LMNMMESF.js";
|
|
16
|
+
import "../chunk-2ADFGSUS.js";
|
|
17
17
|
import {
|
|
18
18
|
createPluginCatalogRuntime
|
|
19
|
-
} from "../chunk-
|
|
19
|
+
} from "../chunk-EENQGEIP.js";
|
|
20
20
|
import "../chunk-CEMMLV5L.js";
|
|
21
21
|
import "../chunk-N7TMSOZH.js";
|
|
22
22
|
import "../chunk-DWPN6SCH.js";
|
|
23
23
|
import "../chunk-TXKUKMVO.js";
|
|
24
|
-
import "../chunk-
|
|
24
|
+
import "../chunk-LZBPGX5A.js";
|
|
25
25
|
import "../chunk-PEQXYSSE.js";
|
|
26
|
-
import "../chunk-
|
|
26
|
+
import "../chunk-W46NIB5H.js";
|
|
27
27
|
|
|
28
28
|
// src/chat/conversations/sql/migrations.ts
|
|
29
29
|
import { basename, dirname, join, resolve } from "path";
|
|
@@ -0,0 +1,367 @@
|
|
|
1
|
+
/** Repository known to Junior through an installed code plugin. */
|
|
2
|
+
export declare const juniorCodeRepositories: import("drizzle-orm/pg-core").PgTableWithColumns<{
|
|
3
|
+
name: "junior_code_repositories";
|
|
4
|
+
schema: undefined;
|
|
5
|
+
columns: {
|
|
6
|
+
id: import("drizzle-orm/pg-core").PgColumn<{
|
|
7
|
+
name: "id";
|
|
8
|
+
tableName: "junior_code_repositories";
|
|
9
|
+
dataType: "string";
|
|
10
|
+
columnType: "PgUUID";
|
|
11
|
+
data: string;
|
|
12
|
+
driverParam: string;
|
|
13
|
+
notNull: true;
|
|
14
|
+
hasDefault: false;
|
|
15
|
+
isPrimaryKey: true;
|
|
16
|
+
isAutoincrement: false;
|
|
17
|
+
hasRuntimeDefault: false;
|
|
18
|
+
enumValues: undefined;
|
|
19
|
+
baseColumn: never;
|
|
20
|
+
identity: undefined;
|
|
21
|
+
generated: undefined;
|
|
22
|
+
}, {}, {}>;
|
|
23
|
+
name: import("drizzle-orm/pg-core").PgColumn<{
|
|
24
|
+
name: "name";
|
|
25
|
+
tableName: "junior_code_repositories";
|
|
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
|
+
provider: import("drizzle-orm/pg-core").PgColumn<{
|
|
41
|
+
name: "provider";
|
|
42
|
+
tableName: "junior_code_repositories";
|
|
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
|
+
providerId: import("drizzle-orm/pg-core").PgColumn<{
|
|
58
|
+
name: "provider_id";
|
|
59
|
+
tableName: "junior_code_repositories";
|
|
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
|
+
url: import("drizzle-orm/pg-core").PgColumn<{
|
|
75
|
+
name: "url";
|
|
76
|
+
tableName: "junior_code_repositories";
|
|
77
|
+
dataType: "string";
|
|
78
|
+
columnType: "PgText";
|
|
79
|
+
data: string;
|
|
80
|
+
driverParam: string;
|
|
81
|
+
notNull: false;
|
|
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
|
+
updatedAt: import("drizzle-orm/pg-core").PgColumn<{
|
|
92
|
+
name: string;
|
|
93
|
+
tableName: "junior_code_repositories";
|
|
94
|
+
dataType: "date";
|
|
95
|
+
columnType: "PgTimestamp";
|
|
96
|
+
data: Date;
|
|
97
|
+
driverParam: string;
|
|
98
|
+
notNull: true;
|
|
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
|
+
};
|
|
109
|
+
dialect: "pg";
|
|
110
|
+
}>;
|
|
111
|
+
/** Latest known state for one code change created by Junior. */
|
|
112
|
+
export declare const juniorCodeChanges: import("drizzle-orm/pg-core").PgTableWithColumns<{
|
|
113
|
+
name: "junior_code_changes";
|
|
114
|
+
schema: undefined;
|
|
115
|
+
columns: {
|
|
116
|
+
id: import("drizzle-orm/pg-core").PgColumn<{
|
|
117
|
+
name: "id";
|
|
118
|
+
tableName: "junior_code_changes";
|
|
119
|
+
dataType: "string";
|
|
120
|
+
columnType: "PgUUID";
|
|
121
|
+
data: string;
|
|
122
|
+
driverParam: string;
|
|
123
|
+
notNull: true;
|
|
124
|
+
hasDefault: false;
|
|
125
|
+
isPrimaryKey: true;
|
|
126
|
+
isAutoincrement: false;
|
|
127
|
+
hasRuntimeDefault: false;
|
|
128
|
+
enumValues: undefined;
|
|
129
|
+
baseColumn: never;
|
|
130
|
+
identity: undefined;
|
|
131
|
+
generated: undefined;
|
|
132
|
+
}, {}, {}>;
|
|
133
|
+
closedAt: import("drizzle-orm/pg-core").PgColumn<{
|
|
134
|
+
name: string;
|
|
135
|
+
tableName: "junior_code_changes";
|
|
136
|
+
dataType: "date";
|
|
137
|
+
columnType: "PgTimestamp";
|
|
138
|
+
data: Date;
|
|
139
|
+
driverParam: string;
|
|
140
|
+
notNull: false;
|
|
141
|
+
hasDefault: false;
|
|
142
|
+
isPrimaryKey: false;
|
|
143
|
+
isAutoincrement: false;
|
|
144
|
+
hasRuntimeDefault: false;
|
|
145
|
+
enumValues: undefined;
|
|
146
|
+
baseColumn: never;
|
|
147
|
+
identity: undefined;
|
|
148
|
+
generated: undefined;
|
|
149
|
+
}, {}, {}>;
|
|
150
|
+
conversationIds: import("drizzle-orm/pg-core").PgColumn<{
|
|
151
|
+
name: "conversation_ids";
|
|
152
|
+
tableName: "junior_code_changes";
|
|
153
|
+
dataType: "array";
|
|
154
|
+
columnType: "PgArray";
|
|
155
|
+
data: string[];
|
|
156
|
+
driverParam: string | string[];
|
|
157
|
+
notNull: true;
|
|
158
|
+
hasDefault: true;
|
|
159
|
+
isPrimaryKey: false;
|
|
160
|
+
isAutoincrement: false;
|
|
161
|
+
hasRuntimeDefault: false;
|
|
162
|
+
enumValues: [string, ...string[]];
|
|
163
|
+
baseColumn: import("drizzle-orm").Column<{
|
|
164
|
+
name: "conversation_ids";
|
|
165
|
+
tableName: "junior_code_changes";
|
|
166
|
+
dataType: "string";
|
|
167
|
+
columnType: "PgText";
|
|
168
|
+
data: string;
|
|
169
|
+
driverParam: string;
|
|
170
|
+
notNull: false;
|
|
171
|
+
hasDefault: false;
|
|
172
|
+
isPrimaryKey: false;
|
|
173
|
+
isAutoincrement: false;
|
|
174
|
+
hasRuntimeDefault: false;
|
|
175
|
+
enumValues: [string, ...string[]];
|
|
176
|
+
baseColumn: never;
|
|
177
|
+
identity: undefined;
|
|
178
|
+
generated: undefined;
|
|
179
|
+
}, {}, {}>;
|
|
180
|
+
identity: undefined;
|
|
181
|
+
generated: undefined;
|
|
182
|
+
}, {}, {
|
|
183
|
+
baseBuilder: import("drizzle-orm/pg-core").PgColumnBuilder<{
|
|
184
|
+
name: "conversation_ids";
|
|
185
|
+
dataType: "string";
|
|
186
|
+
columnType: "PgText";
|
|
187
|
+
data: string;
|
|
188
|
+
enumValues: [string, ...string[]];
|
|
189
|
+
driverParam: string;
|
|
190
|
+
}, {}, {}, import("drizzle-orm").ColumnBuilderExtraConfig>;
|
|
191
|
+
size: undefined;
|
|
192
|
+
}>;
|
|
193
|
+
mergedAt: import("drizzle-orm/pg-core").PgColumn<{
|
|
194
|
+
name: string;
|
|
195
|
+
tableName: "junior_code_changes";
|
|
196
|
+
dataType: "date";
|
|
197
|
+
columnType: "PgTimestamp";
|
|
198
|
+
data: Date;
|
|
199
|
+
driverParam: string;
|
|
200
|
+
notNull: false;
|
|
201
|
+
hasDefault: false;
|
|
202
|
+
isPrimaryKey: false;
|
|
203
|
+
isAutoincrement: false;
|
|
204
|
+
hasRuntimeDefault: false;
|
|
205
|
+
enumValues: undefined;
|
|
206
|
+
baseColumn: never;
|
|
207
|
+
identity: undefined;
|
|
208
|
+
generated: undefined;
|
|
209
|
+
}, {}, {}>;
|
|
210
|
+
number: import("drizzle-orm/pg-core").PgColumn<{
|
|
211
|
+
name: "number";
|
|
212
|
+
tableName: "junior_code_changes";
|
|
213
|
+
dataType: "number";
|
|
214
|
+
columnType: "PgInteger";
|
|
215
|
+
data: number;
|
|
216
|
+
driverParam: string | number;
|
|
217
|
+
notNull: true;
|
|
218
|
+
hasDefault: false;
|
|
219
|
+
isPrimaryKey: false;
|
|
220
|
+
isAutoincrement: false;
|
|
221
|
+
hasRuntimeDefault: false;
|
|
222
|
+
enumValues: undefined;
|
|
223
|
+
baseColumn: never;
|
|
224
|
+
identity: undefined;
|
|
225
|
+
generated: undefined;
|
|
226
|
+
}, {}, {}>;
|
|
227
|
+
openedAt: import("drizzle-orm/pg-core").PgColumn<{
|
|
228
|
+
name: string;
|
|
229
|
+
tableName: "junior_code_changes";
|
|
230
|
+
dataType: "date";
|
|
231
|
+
columnType: "PgTimestamp";
|
|
232
|
+
data: Date;
|
|
233
|
+
driverParam: string;
|
|
234
|
+
notNull: true;
|
|
235
|
+
hasDefault: false;
|
|
236
|
+
isPrimaryKey: false;
|
|
237
|
+
isAutoincrement: false;
|
|
238
|
+
hasRuntimeDefault: false;
|
|
239
|
+
enumValues: undefined;
|
|
240
|
+
baseColumn: never;
|
|
241
|
+
identity: undefined;
|
|
242
|
+
generated: undefined;
|
|
243
|
+
}, {}, {}>;
|
|
244
|
+
provider: import("drizzle-orm/pg-core").PgColumn<{
|
|
245
|
+
name: "provider";
|
|
246
|
+
tableName: "junior_code_changes";
|
|
247
|
+
dataType: "string";
|
|
248
|
+
columnType: "PgText";
|
|
249
|
+
data: string;
|
|
250
|
+
driverParam: string;
|
|
251
|
+
notNull: true;
|
|
252
|
+
hasDefault: false;
|
|
253
|
+
isPrimaryKey: false;
|
|
254
|
+
isAutoincrement: false;
|
|
255
|
+
hasRuntimeDefault: false;
|
|
256
|
+
enumValues: [string, ...string[]];
|
|
257
|
+
baseColumn: never;
|
|
258
|
+
identity: undefined;
|
|
259
|
+
generated: undefined;
|
|
260
|
+
}, {}, {}>;
|
|
261
|
+
providerId: import("drizzle-orm/pg-core").PgColumn<{
|
|
262
|
+
name: "provider_id";
|
|
263
|
+
tableName: "junior_code_changes";
|
|
264
|
+
dataType: "string";
|
|
265
|
+
columnType: "PgText";
|
|
266
|
+
data: string;
|
|
267
|
+
driverParam: string;
|
|
268
|
+
notNull: true;
|
|
269
|
+
hasDefault: false;
|
|
270
|
+
isPrimaryKey: false;
|
|
271
|
+
isAutoincrement: false;
|
|
272
|
+
hasRuntimeDefault: false;
|
|
273
|
+
enumValues: [string, ...string[]];
|
|
274
|
+
baseColumn: never;
|
|
275
|
+
identity: undefined;
|
|
276
|
+
generated: undefined;
|
|
277
|
+
}, {}, {}>;
|
|
278
|
+
repositoryId: import("drizzle-orm/pg-core").PgColumn<{
|
|
279
|
+
name: "repository_id";
|
|
280
|
+
tableName: "junior_code_changes";
|
|
281
|
+
dataType: "string";
|
|
282
|
+
columnType: "PgUUID";
|
|
283
|
+
data: string;
|
|
284
|
+
driverParam: string;
|
|
285
|
+
notNull: true;
|
|
286
|
+
hasDefault: false;
|
|
287
|
+
isPrimaryKey: false;
|
|
288
|
+
isAutoincrement: false;
|
|
289
|
+
hasRuntimeDefault: false;
|
|
290
|
+
enumValues: undefined;
|
|
291
|
+
baseColumn: never;
|
|
292
|
+
identity: undefined;
|
|
293
|
+
generated: undefined;
|
|
294
|
+
}, {}, {}>;
|
|
295
|
+
state: import("drizzle-orm/pg-core").PgColumn<{
|
|
296
|
+
name: "state";
|
|
297
|
+
tableName: "junior_code_changes";
|
|
298
|
+
dataType: "string";
|
|
299
|
+
columnType: "PgText";
|
|
300
|
+
data: "open" | "closed" | "merged";
|
|
301
|
+
driverParam: string;
|
|
302
|
+
notNull: true;
|
|
303
|
+
hasDefault: false;
|
|
304
|
+
isPrimaryKey: false;
|
|
305
|
+
isAutoincrement: false;
|
|
306
|
+
hasRuntimeDefault: false;
|
|
307
|
+
enumValues: [string, ...string[]];
|
|
308
|
+
baseColumn: never;
|
|
309
|
+
identity: undefined;
|
|
310
|
+
generated: undefined;
|
|
311
|
+
}, {}, {
|
|
312
|
+
$type: "open" | "closed" | "merged";
|
|
313
|
+
}>;
|
|
314
|
+
title: import("drizzle-orm/pg-core").PgColumn<{
|
|
315
|
+
name: "title";
|
|
316
|
+
tableName: "junior_code_changes";
|
|
317
|
+
dataType: "string";
|
|
318
|
+
columnType: "PgText";
|
|
319
|
+
data: string;
|
|
320
|
+
driverParam: string;
|
|
321
|
+
notNull: false;
|
|
322
|
+
hasDefault: false;
|
|
323
|
+
isPrimaryKey: false;
|
|
324
|
+
isAutoincrement: false;
|
|
325
|
+
hasRuntimeDefault: false;
|
|
326
|
+
enumValues: [string, ...string[]];
|
|
327
|
+
baseColumn: never;
|
|
328
|
+
identity: undefined;
|
|
329
|
+
generated: undefined;
|
|
330
|
+
}, {}, {}>;
|
|
331
|
+
updatedAt: import("drizzle-orm/pg-core").PgColumn<{
|
|
332
|
+
name: string;
|
|
333
|
+
tableName: "junior_code_changes";
|
|
334
|
+
dataType: "date";
|
|
335
|
+
columnType: "PgTimestamp";
|
|
336
|
+
data: Date;
|
|
337
|
+
driverParam: string;
|
|
338
|
+
notNull: true;
|
|
339
|
+
hasDefault: false;
|
|
340
|
+
isPrimaryKey: false;
|
|
341
|
+
isAutoincrement: false;
|
|
342
|
+
hasRuntimeDefault: false;
|
|
343
|
+
enumValues: undefined;
|
|
344
|
+
baseColumn: never;
|
|
345
|
+
identity: undefined;
|
|
346
|
+
generated: undefined;
|
|
347
|
+
}, {}, {}>;
|
|
348
|
+
url: import("drizzle-orm/pg-core").PgColumn<{
|
|
349
|
+
name: "url";
|
|
350
|
+
tableName: "junior_code_changes";
|
|
351
|
+
dataType: "string";
|
|
352
|
+
columnType: "PgText";
|
|
353
|
+
data: string;
|
|
354
|
+
driverParam: string;
|
|
355
|
+
notNull: false;
|
|
356
|
+
hasDefault: false;
|
|
357
|
+
isPrimaryKey: false;
|
|
358
|
+
isAutoincrement: false;
|
|
359
|
+
hasRuntimeDefault: false;
|
|
360
|
+
enumValues: [string, ...string[]];
|
|
361
|
+
baseColumn: never;
|
|
362
|
+
identity: undefined;
|
|
363
|
+
generated: undefined;
|
|
364
|
+
}, {}, {}>;
|
|
365
|
+
};
|
|
366
|
+
dialect: "pg";
|
|
367
|
+
}>;
|