@sentry/junior 0.126.1 → 0.128.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-U5YGLX6Y.js → agent-hooks-F75ANGBV.js} +9 -9
- package/dist/api/people/spend.d.ts +4 -0
- package/dist/api/people/spend.query.d.ts +3 -0
- package/dist/api/schema/person.d.ts +9 -0
- package/dist/api/schema.d.ts +2 -2
- package/dist/api/schema.js +3 -1
- package/dist/api.js +141 -40
- package/dist/app.js +289 -146
- package/dist/{catalog-runtime-OUPLWD7F.js → catalog-runtime-ZPSA5QM2.js} +6 -6
- package/dist/chat/agent-dispatch/context.d.ts +17 -0
- package/dist/chat/agent-dispatch/store.d.ts +1 -1
- package/dist/chat/agent-dispatch/work.d.ts +1 -1
- package/dist/chat/credentials/context.d.ts +27 -0
- package/dist/chat/credentials/subject.d.ts +15 -0
- package/dist/chat/event-tasks/ingest.d.ts +9 -0
- package/dist/chat/event-tasks/store.d.ts +15 -0
- package/dist/chat/event-tasks/tool-support.d.ts +140 -0
- package/dist/chat/event-tasks/types.d.ts +44 -0
- package/dist/chat/plugins/agent-hooks.d.ts +4 -2
- package/dist/chat/plugins/viewer.d.ts +16 -0
- package/dist/chat/resource-events/catalog.d.ts +21 -0
- package/dist/chat/resource-events/ingest.d.ts +2 -1
- package/dist/chat/resource-events/notification.d.ts +2 -2
- package/dist/chat/resource-events/store.d.ts +11 -9
- package/dist/chat/resource-events/tool-support.d.ts +10 -0
- package/dist/chat/resource-events/workspace.d.ts +4 -0
- package/dist/chat/sandbox/command-result.d.ts +3 -22
- package/dist/chat/sandbox/egress/schemas.d.ts +11 -0
- package/dist/chat/services/guardian-action-policy.d.ts +1 -1
- package/dist/chat/slack/dispatch-turn.d.ts +1 -1
- package/dist/chat/slack/tools/canvas/create.d.ts +0 -16
- package/dist/chat/slack/tools/canvas/edit.d.ts +0 -16
- package/dist/chat/slack/tools/canvas/read.d.ts +0 -16
- package/dist/chat/slack/tools/canvas/write.d.ts +0 -16
- package/dist/chat/slack/tools/channel-list-messages.d.ts +0 -16
- package/dist/chat/slack/tools/conversation-search.d.ts +0 -16
- package/dist/chat/slack/tools/list/add-items.d.ts +0 -16
- package/dist/chat/slack/tools/list/create.d.ts +0 -16
- package/dist/chat/slack/tools/list/get-items.d.ts +0 -16
- package/dist/chat/slack/tools/list/update-item.d.ts +0 -16
- package/dist/chat/slack/tools/message-add-reaction.d.ts +0 -16
- package/dist/chat/slack/tools/public-search.d.ts +0 -16
- package/dist/chat/slack/tools/send-files.d.ts +10 -28
- package/dist/chat/slack/tools/thread-read.d.ts +0 -16
- package/dist/chat/slack/tools/user-lookup.d.ts +0 -16
- package/dist/chat/task-execution/slack-work.d.ts +4 -4
- package/dist/chat/tool-support/action-review.d.ts +1 -1
- package/dist/chat/tool-support/structured-result.d.ts +17 -46
- package/dist/chat/tool-support/text-range-result.d.ts +8 -32
- package/dist/chat/tool-support/zod-tool.d.ts +6 -7
- package/dist/chat/tools/create-event-task.d.ts +65 -0
- package/dist/chat/tools/definition.d.ts +4 -0
- package/dist/chat/tools/delete-event-task.d.ts +57 -0
- package/dist/chat/tools/event-tasks.d.ts +5 -0
- package/dist/chat/tools/handoff/tool.d.ts +0 -16
- package/dist/chat/tools/list-event-tasks.d.ts +55 -0
- package/dist/chat/tools/list-resource-event-subscriptions.d.ts +42 -0
- package/dist/chat/tools/query-conversation-events.d.ts +0 -16
- package/dist/chat/tools/resource-events.d.ts +2 -1
- package/dist/chat/tools/runtime/report-progress.d.ts +0 -16
- package/dist/chat/tools/sandbox/edit-file.d.ts +0 -23
- package/dist/chat/tools/sandbox/file-utils.d.ts +2 -17
- package/dist/chat/tools/sandbox/find-files.d.ts +5 -8
- package/dist/chat/tools/sandbox/grep.d.ts +1 -4
- package/dist/chat/tools/sandbox/list-dir.d.ts +1 -4
- package/dist/chat/tools/search-resource-event-types.d.ts +44 -0
- package/dist/chat/tools/search-tools.d.ts +0 -16
- package/dist/chat/tools/skill/load-skill.d.ts +0 -20
- package/dist/chat/tools/skill/search-mcp-tools.d.ts +0 -16
- package/dist/chat/tools/stop-watching-resources.d.ts +28 -0
- package/dist/chat/tools/system-time.d.ts +0 -16
- package/dist/chat/tools/types.d.ts +8 -4
- package/dist/chat/tools/update-event-task.d.ts +66 -0
- package/dist/chat/tools/watch-resource-events.d.ts +59 -0
- package/dist/chat/tools/web/fetch-content.d.ts +0 -2
- package/dist/chat/tools/web/fetch-tool.d.ts +0 -16
- package/dist/chat/tools/web/image-generate.d.ts +0 -16
- package/dist/chat/tools/web/search.d.ts +0 -16
- package/dist/{chunk-QVSYR5CV.js → chunk-2HTHX6XV.js} +4 -4
- package/dist/{chunk-Y2QRKPI7.js → chunk-3PKF6YNU.js} +1 -1
- package/dist/{chunk-GLNB2R42.js → chunk-5KKIBIIP.js} +12 -12
- package/dist/{chunk-W3U3YQYI.js → chunk-77VDLF3Z.js} +18 -1
- package/dist/{chunk-YZHA2L7P.js → chunk-A76LKS5W.js} +230 -102
- package/dist/{chunk-6ZBSTNYN.js → chunk-AFJF3RGU.js} +9 -0
- package/dist/{chunk-PD6J33TO.js → chunk-B6E3YA2H.js} +1 -1
- package/dist/{chunk-S4LM6UB7.js → chunk-B7FPRGUJ.js} +3 -3
- package/dist/{chunk-R3GXQJEE.js → chunk-BY43CEXN.js} +2 -2
- package/dist/{chunk-HDSDCEPK.js → chunk-EPBBYMNE.js} +1 -1
- package/dist/{chunk-YFE6VNHU.js → chunk-FJEIX3AH.js} +2 -2
- package/dist/{chunk-F2ARYRKC.js → chunk-G6XQODHM.js} +1 -1
- package/dist/{chunk-KBW6J5GA.js → chunk-HBFQLSGV.js} +4 -4
- package/dist/{chunk-YUPNY2HZ.js → chunk-JDCPDJ54.js} +2 -2
- package/dist/{chunk-WIIPHGJY.js → chunk-K5ZB3WWH.js} +2 -2
- package/dist/{chunk-OG6E44DH.js → chunk-KNRODVH2.js} +6 -6
- package/dist/{chunk-W3JHZHAN.js → chunk-KTGJAWRO.js} +1 -1
- package/dist/{chunk-7VF3JAVF.js → chunk-NHWE6Y7G.js} +7 -7
- package/dist/{chunk-HXWOZ4HG.js → chunk-OLGB5Y7R.js} +2 -2
- package/dist/{chunk-QMK2VF6K.js → chunk-PBWUUVVG.js} +1 -1
- package/dist/{chunk-7ZMY4GCG.js → chunk-RYWMDDWK.js} +1 -1
- package/dist/{chunk-S4PUICSB.js → chunk-SHMHHXD5.js} +34 -5
- package/dist/{chunk-JKV244BI.js → chunk-WZ365SQC.js} +1 -1
- package/dist/{chunk-SD2VFSN6.js → chunk-YY6CVET7.js} +1428 -1116
- package/dist/{chunk-U36WL4OL.js → chunk-Z4KTQMWW.js} +1 -1
- package/dist/cli/chat.js +27 -27
- package/dist/cli/check.js +7 -7
- package/dist/cli/plugins.js +13 -13
- package/dist/cli/snapshot-create.js +10 -10
- package/dist/cli/upgrade.js +8 -8
- package/dist/db/schema/event-tasks.d.ts +161 -0
- package/dist/db/schema.d.ts +163 -1
- package/dist/{db-FQID26JW.js → db-FYJYPAKG.js} +7 -7
- package/dist/instrumentation.js +4 -4
- package/dist/nitro.js +2 -2
- package/dist/{oauth-callback-server-Z5MHHKFD.js → oauth-callback-server-W3PPIHCS.js} +18 -18
- package/dist/{runner-PGPGKYSF.js → runner-5NOFUYKR.js} +11 -11
- package/dist/{sandbox-egress-signals-CDFAP67O.js → sandbox-egress-signals-A5HWIQH4.js} +2 -2
- package/dist/{skills-BCQHR636.js → skills-ENIBKF5V.js} +7 -7
- package/dist/{validation-QP3FYBLZ.js → validation-BHLBOO6K.js} +7 -7
- package/dist/version.js +1 -1
- package/migrations/0015_magical_ezekiel_stane.sql +11 -0
- package/migrations/meta/0015_snapshot.json +1360 -0
- package/migrations/meta/_journal.json +7 -0
- package/package.json +5 -5
- package/dist/chat/plugins/viewer-actors.d.ts +0 -6
package/dist/cli/chat.js
CHANGED
|
@@ -1,39 +1,39 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createAgentRunner,
|
|
3
3
|
executeAgentRun
|
|
4
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-YY6CVET7.js";
|
|
5
5
|
import "../chunk-DIB4GX3G.js";
|
|
6
|
-
import "../chunk-
|
|
7
|
-
import "../chunk-
|
|
8
|
-
import "../chunk-
|
|
9
|
-
import "../chunk-
|
|
10
|
-
import "../chunk-
|
|
11
|
-
import "../chunk-
|
|
6
|
+
import "../chunk-NHWE6Y7G.js";
|
|
7
|
+
import "../chunk-HBFQLSGV.js";
|
|
8
|
+
import "../chunk-EPBBYMNE.js";
|
|
9
|
+
import "../chunk-2HTHX6XV.js";
|
|
10
|
+
import "../chunk-FJEIX3AH.js";
|
|
11
|
+
import "../chunk-PBWUUVVG.js";
|
|
12
12
|
import "../chunk-HX236W2U.js";
|
|
13
13
|
import "../chunk-PDO5BLNM.js";
|
|
14
14
|
import "../chunk-UIE3R5XU.js";
|
|
15
15
|
import {
|
|
16
16
|
loadAppPluginSet
|
|
17
17
|
} from "../chunk-Y2CM7HXH.js";
|
|
18
|
-
import "../chunk-
|
|
19
|
-
import "../chunk-
|
|
20
|
-
import "../chunk-
|
|
21
|
-
import "../chunk-
|
|
22
|
-
import "../chunk-
|
|
18
|
+
import "../chunk-A76LKS5W.js";
|
|
19
|
+
import "../chunk-B7FPRGUJ.js";
|
|
20
|
+
import "../chunk-SHMHHXD5.js";
|
|
21
|
+
import "../chunk-G6XQODHM.js";
|
|
22
|
+
import "../chunk-K5ZB3WWH.js";
|
|
23
23
|
import "../chunk-VFUK3X5B.js";
|
|
24
|
-
import "../chunk-
|
|
25
|
-
import "../chunk-
|
|
26
|
-
import "../chunk-
|
|
27
|
-
import "../chunk-
|
|
28
|
-
import "../chunk-
|
|
24
|
+
import "../chunk-Z4KTQMWW.js";
|
|
25
|
+
import "../chunk-BY43CEXN.js";
|
|
26
|
+
import "../chunk-WZ365SQC.js";
|
|
27
|
+
import "../chunk-OLGB5Y7R.js";
|
|
28
|
+
import "../chunk-77VDLF3Z.js";
|
|
29
29
|
import "../chunk-HZF5P5UN.js";
|
|
30
30
|
import "../chunk-F3B2YJ76.js";
|
|
31
|
-
import "../chunk-
|
|
31
|
+
import "../chunk-B6E3YA2H.js";
|
|
32
32
|
import "../chunk-6GWA276C.js";
|
|
33
33
|
import "../chunk-OOUNJNMR.js";
|
|
34
34
|
import "../chunk-H4HBKISO.js";
|
|
35
|
-
import "../chunk-
|
|
36
|
-
import "../chunk-
|
|
35
|
+
import "../chunk-RYWMDDWK.js";
|
|
36
|
+
import "../chunk-KTGJAWRO.js";
|
|
37
37
|
import "../chunk-MLKGABMK.js";
|
|
38
38
|
|
|
39
39
|
// src/cli/chat.ts
|
|
@@ -156,10 +156,10 @@ async function configureLocalChatPlugins(pluginSet) {
|
|
|
156
156
|
databaseModule
|
|
157
157
|
] = await Promise.all([
|
|
158
158
|
import("../plugins-HW4VWW6G.js"),
|
|
159
|
-
import("../agent-hooks-
|
|
160
|
-
import("../catalog-runtime-
|
|
161
|
-
import("../validation-
|
|
162
|
-
import("../db-
|
|
159
|
+
import("../agent-hooks-F75ANGBV.js"),
|
|
160
|
+
import("../catalog-runtime-ZPSA5QM2.js"),
|
|
161
|
+
import("../validation-BHLBOO6K.js"),
|
|
162
|
+
import("../db-FYJYPAKG.js")
|
|
163
163
|
]);
|
|
164
164
|
const resolvedPluginSet = pluginSet === void 0 ? await loadLocalPluginSet() : pluginSet ?? void 0;
|
|
165
165
|
const plugins = pluginsModule.pluginRuntimeRegistrationsFromPluginSet(resolvedPluginSet);
|
|
@@ -223,10 +223,10 @@ function localDevServerUrl() {
|
|
|
223
223
|
async function prepareLocalChatRun(io, pluginSet) {
|
|
224
224
|
defaultStateAdapterForLocalChat();
|
|
225
225
|
await configureLocalChatPlugins(pluginSet);
|
|
226
|
-
const { runLocalAgentTurn } = await import("../runner-
|
|
227
|
-
const { startLocalOAuthCallbackServer } = await import("../oauth-callback-server-
|
|
226
|
+
const { runLocalAgentTurn } = await import("../runner-5NOFUYKR.js");
|
|
227
|
+
const { startLocalOAuthCallbackServer } = await import("../oauth-callback-server-W3PPIHCS.js");
|
|
228
228
|
const { createLocalOAuthState } = await import("../oauth-relay-3ZU72UGL.js");
|
|
229
|
-
const { createLocalSandboxEgressSignalTransport } = await import("../sandbox-egress-signals-
|
|
229
|
+
const { createLocalSandboxEgressSignalTransport } = await import("../sandbox-egress-signals-A5HWIQH4.js");
|
|
230
230
|
const agentRunner = createAgentRunner(executeAgentRun);
|
|
231
231
|
const oauthCallback = await startLocalOAuthCallbackServer(agentRunner);
|
|
232
232
|
const deps = {
|
package/dist/cli/check.js
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
parseSkillFile
|
|
3
|
-
} from "../chunk-
|
|
4
|
-
import "../chunk-
|
|
3
|
+
} from "../chunk-BY43CEXN.js";
|
|
4
|
+
import "../chunk-WZ365SQC.js";
|
|
5
5
|
import {
|
|
6
6
|
parseInlinePluginManifest,
|
|
7
7
|
parsePluginManifest
|
|
8
|
-
} from "../chunk-
|
|
9
|
-
import "../chunk-
|
|
8
|
+
} from "../chunk-OLGB5Y7R.js";
|
|
9
|
+
import "../chunk-77VDLF3Z.js";
|
|
10
10
|
import "../chunk-HZF5P5UN.js";
|
|
11
11
|
import "../chunk-F3B2YJ76.js";
|
|
12
|
-
import "../chunk-
|
|
12
|
+
import "../chunk-B6E3YA2H.js";
|
|
13
13
|
import "../chunk-6GWA276C.js";
|
|
14
14
|
import "../chunk-OOUNJNMR.js";
|
|
15
15
|
import "../chunk-H4HBKISO.js";
|
|
@@ -17,8 +17,8 @@ import {
|
|
|
17
17
|
JUNIOR_CONVERSATION_WORK_CALLBACK_ROUTE,
|
|
18
18
|
JUNIOR_HEARTBEAT_ROUTE,
|
|
19
19
|
LEGACY_JUNIOR_CONVERSATION_WORK_FUNCTION
|
|
20
|
-
} from "../chunk-
|
|
21
|
-
import "../chunk-
|
|
20
|
+
} from "../chunk-RYWMDDWK.js";
|
|
21
|
+
import "../chunk-KTGJAWRO.js";
|
|
22
22
|
import "../chunk-MLKGABMK.js";
|
|
23
23
|
|
|
24
24
|
// 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-3PKF6YNU.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-A76LKS5W.js";
|
|
18
18
|
import {
|
|
19
19
|
getDb
|
|
20
|
-
} from "../chunk-
|
|
21
|
-
import "../chunk-
|
|
22
|
-
import "../chunk-
|
|
23
|
-
import "../chunk-
|
|
20
|
+
} from "../chunk-B7FPRGUJ.js";
|
|
21
|
+
import "../chunk-SHMHHXD5.js";
|
|
22
|
+
import "../chunk-G6XQODHM.js";
|
|
23
|
+
import "../chunk-K5ZB3WWH.js";
|
|
24
24
|
import "../chunk-VFUK3X5B.js";
|
|
25
|
-
import "../chunk-
|
|
25
|
+
import "../chunk-Z4KTQMWW.js";
|
|
26
26
|
import {
|
|
27
27
|
pluginCatalogRuntime
|
|
28
|
-
} from "../chunk-
|
|
29
|
-
import "../chunk-
|
|
30
|
-
import "../chunk-
|
|
28
|
+
} from "../chunk-WZ365SQC.js";
|
|
29
|
+
import "../chunk-OLGB5Y7R.js";
|
|
30
|
+
import "../chunk-77VDLF3Z.js";
|
|
31
31
|
import "../chunk-HZF5P5UN.js";
|
|
32
32
|
import "../chunk-F3B2YJ76.js";
|
|
33
|
-
import "../chunk-
|
|
33
|
+
import "../chunk-B6E3YA2H.js";
|
|
34
34
|
import "../chunk-6GWA276C.js";
|
|
35
35
|
import "../chunk-OOUNJNMR.js";
|
|
36
36
|
import "../chunk-H4HBKISO.js";
|
|
37
|
-
import "../chunk-
|
|
38
|
-
import "../chunk-
|
|
37
|
+
import "../chunk-RYWMDDWK.js";
|
|
38
|
+
import "../chunk-KTGJAWRO.js";
|
|
39
39
|
import "../chunk-MLKGABMK.js";
|
|
40
40
|
|
|
41
41
|
// src/cli/plugins.ts
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import {
|
|
2
2
|
create,
|
|
3
3
|
resolve
|
|
4
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-2HTHX6XV.js";
|
|
5
5
|
import {
|
|
6
6
|
disconnectStateAdapter
|
|
7
|
-
} from "../chunk-
|
|
8
|
-
import "../chunk-
|
|
9
|
-
import "../chunk-
|
|
7
|
+
} from "../chunk-G6XQODHM.js";
|
|
8
|
+
import "../chunk-K5ZB3WWH.js";
|
|
9
|
+
import "../chunk-Z4KTQMWW.js";
|
|
10
10
|
import {
|
|
11
11
|
pluginCatalogRuntime
|
|
12
|
-
} from "../chunk-
|
|
13
|
-
import "../chunk-
|
|
14
|
-
import "../chunk-
|
|
12
|
+
} from "../chunk-WZ365SQC.js";
|
|
13
|
+
import "../chunk-OLGB5Y7R.js";
|
|
14
|
+
import "../chunk-77VDLF3Z.js";
|
|
15
15
|
import "../chunk-HZF5P5UN.js";
|
|
16
16
|
import "../chunk-F3B2YJ76.js";
|
|
17
|
-
import "../chunk-
|
|
17
|
+
import "../chunk-B6E3YA2H.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-RYWMDDWK.js";
|
|
22
|
+
import "../chunk-KTGJAWRO.js";
|
|
23
23
|
import "../chunk-MLKGABMK.js";
|
|
24
24
|
|
|
25
25
|
// src/cli/snapshot-create.ts
|
package/dist/cli/upgrade.js
CHANGED
|
@@ -8,24 +8,24 @@ import {
|
|
|
8
8
|
} from "../chunk-Y2CM7HXH.js";
|
|
9
9
|
import {
|
|
10
10
|
createJuniorSqlExecutor
|
|
11
|
-
} from "../chunk-
|
|
11
|
+
} from "../chunk-SHMHHXD5.js";
|
|
12
12
|
import {
|
|
13
13
|
getChatConfig
|
|
14
|
-
} from "../chunk-
|
|
14
|
+
} from "../chunk-K5ZB3WWH.js";
|
|
15
15
|
import "../chunk-VFUK3X5B.js";
|
|
16
|
-
import "../chunk-
|
|
16
|
+
import "../chunk-Z4KTQMWW.js";
|
|
17
17
|
import {
|
|
18
18
|
createPluginCatalogRuntime
|
|
19
|
-
} from "../chunk-
|
|
20
|
-
import "../chunk-
|
|
19
|
+
} from "../chunk-OLGB5Y7R.js";
|
|
20
|
+
import "../chunk-77VDLF3Z.js";
|
|
21
21
|
import "../chunk-HZF5P5UN.js";
|
|
22
22
|
import "../chunk-F3B2YJ76.js";
|
|
23
|
-
import "../chunk-
|
|
23
|
+
import "../chunk-B6E3YA2H.js";
|
|
24
24
|
import "../chunk-6GWA276C.js";
|
|
25
25
|
import "../chunk-OOUNJNMR.js";
|
|
26
26
|
import "../chunk-H4HBKISO.js";
|
|
27
|
-
import "../chunk-
|
|
28
|
-
import "../chunk-
|
|
27
|
+
import "../chunk-RYWMDDWK.js";
|
|
28
|
+
import "../chunk-KTGJAWRO.js";
|
|
29
29
|
import "../chunk-MLKGABMK.js";
|
|
30
30
|
|
|
31
31
|
// src/chat/conversations/sql/migrations.ts
|
|
@@ -0,0 +1,161 @@
|
|
|
1
|
+
export declare const juniorEventTasks: import("drizzle-orm/pg-core").PgTableWithColumns<{
|
|
2
|
+
name: "junior_event_tasks";
|
|
3
|
+
schema: undefined;
|
|
4
|
+
columns: {
|
|
5
|
+
id: import("drizzle-orm/pg-core").PgColumn<{
|
|
6
|
+
name: "id";
|
|
7
|
+
tableName: "junior_event_tasks";
|
|
8
|
+
dataType: "string";
|
|
9
|
+
columnType: "PgText";
|
|
10
|
+
data: string;
|
|
11
|
+
driverParam: string;
|
|
12
|
+
notNull: true;
|
|
13
|
+
hasDefault: false;
|
|
14
|
+
isPrimaryKey: true;
|
|
15
|
+
isAutoincrement: false;
|
|
16
|
+
hasRuntimeDefault: false;
|
|
17
|
+
enumValues: [string, ...string[]];
|
|
18
|
+
baseColumn: never;
|
|
19
|
+
identity: undefined;
|
|
20
|
+
generated: undefined;
|
|
21
|
+
}, {}, {}>;
|
|
22
|
+
teamId: import("drizzle-orm/pg-core").PgColumn<{
|
|
23
|
+
name: "team_id";
|
|
24
|
+
tableName: "junior_event_tasks";
|
|
25
|
+
dataType: "string";
|
|
26
|
+
columnType: "PgText";
|
|
27
|
+
data: string;
|
|
28
|
+
driverParam: string;
|
|
29
|
+
notNull: true;
|
|
30
|
+
hasDefault: false;
|
|
31
|
+
isPrimaryKey: false;
|
|
32
|
+
isAutoincrement: false;
|
|
33
|
+
hasRuntimeDefault: false;
|
|
34
|
+
enumValues: [string, ...string[]];
|
|
35
|
+
baseColumn: never;
|
|
36
|
+
identity: undefined;
|
|
37
|
+
generated: undefined;
|
|
38
|
+
}, {}, {}>;
|
|
39
|
+
namespace: import("drizzle-orm/pg-core").PgColumn<{
|
|
40
|
+
name: "namespace";
|
|
41
|
+
tableName: "junior_event_tasks";
|
|
42
|
+
dataType: "string";
|
|
43
|
+
columnType: "PgText";
|
|
44
|
+
data: string;
|
|
45
|
+
driverParam: string;
|
|
46
|
+
notNull: true;
|
|
47
|
+
hasDefault: false;
|
|
48
|
+
isPrimaryKey: false;
|
|
49
|
+
isAutoincrement: false;
|
|
50
|
+
hasRuntimeDefault: false;
|
|
51
|
+
enumValues: [string, ...string[]];
|
|
52
|
+
baseColumn: never;
|
|
53
|
+
identity: undefined;
|
|
54
|
+
generated: undefined;
|
|
55
|
+
}, {}, {}>;
|
|
56
|
+
identifier: import("drizzle-orm/pg-core").PgColumn<{
|
|
57
|
+
name: "identifier";
|
|
58
|
+
tableName: "junior_event_tasks";
|
|
59
|
+
dataType: "string";
|
|
60
|
+
columnType: "PgText";
|
|
61
|
+
data: string;
|
|
62
|
+
driverParam: string;
|
|
63
|
+
notNull: true;
|
|
64
|
+
hasDefault: false;
|
|
65
|
+
isPrimaryKey: false;
|
|
66
|
+
isAutoincrement: false;
|
|
67
|
+
hasRuntimeDefault: false;
|
|
68
|
+
enumValues: [string, ...string[]];
|
|
69
|
+
baseColumn: never;
|
|
70
|
+
identity: undefined;
|
|
71
|
+
generated: undefined;
|
|
72
|
+
}, {}, {}>;
|
|
73
|
+
createdAtMs: import("drizzle-orm/pg-core").PgColumn<{
|
|
74
|
+
name: "created_at_ms";
|
|
75
|
+
tableName: "junior_event_tasks";
|
|
76
|
+
dataType: "number";
|
|
77
|
+
columnType: "PgBigInt53";
|
|
78
|
+
data: number;
|
|
79
|
+
driverParam: string | number;
|
|
80
|
+
notNull: true;
|
|
81
|
+
hasDefault: false;
|
|
82
|
+
isPrimaryKey: false;
|
|
83
|
+
isAutoincrement: false;
|
|
84
|
+
hasRuntimeDefault: false;
|
|
85
|
+
enumValues: undefined;
|
|
86
|
+
baseColumn: never;
|
|
87
|
+
identity: undefined;
|
|
88
|
+
generated: undefined;
|
|
89
|
+
}, {}, {}>;
|
|
90
|
+
task: import("drizzle-orm/pg-core").PgColumn<{
|
|
91
|
+
name: "task_json";
|
|
92
|
+
tableName: "junior_event_tasks";
|
|
93
|
+
dataType: "json";
|
|
94
|
+
columnType: "PgJsonb";
|
|
95
|
+
data: {
|
|
96
|
+
id: string;
|
|
97
|
+
createdAtMs: number;
|
|
98
|
+
createdBy: {
|
|
99
|
+
slackUserId: string;
|
|
100
|
+
fullName?: string | undefined;
|
|
101
|
+
userName?: string | undefined;
|
|
102
|
+
};
|
|
103
|
+
credentialMode: "system" | "creator";
|
|
104
|
+
destination: {
|
|
105
|
+
platform: "slack";
|
|
106
|
+
teamId: string;
|
|
107
|
+
channelId: string;
|
|
108
|
+
};
|
|
109
|
+
destinationVisibility: "public" | "private";
|
|
110
|
+
task: {
|
|
111
|
+
text: string;
|
|
112
|
+
};
|
|
113
|
+
trigger: {
|
|
114
|
+
events: string[];
|
|
115
|
+
label: string;
|
|
116
|
+
namespace: string;
|
|
117
|
+
identifier: string;
|
|
118
|
+
resourceType: string;
|
|
119
|
+
};
|
|
120
|
+
};
|
|
121
|
+
driverParam: unknown;
|
|
122
|
+
notNull: true;
|
|
123
|
+
hasDefault: false;
|
|
124
|
+
isPrimaryKey: false;
|
|
125
|
+
isAutoincrement: false;
|
|
126
|
+
hasRuntimeDefault: false;
|
|
127
|
+
enumValues: undefined;
|
|
128
|
+
baseColumn: never;
|
|
129
|
+
identity: undefined;
|
|
130
|
+
generated: undefined;
|
|
131
|
+
}, {}, {
|
|
132
|
+
$type: {
|
|
133
|
+
id: string;
|
|
134
|
+
createdAtMs: number;
|
|
135
|
+
createdBy: {
|
|
136
|
+
slackUserId: string;
|
|
137
|
+
fullName?: string | undefined;
|
|
138
|
+
userName?: string | undefined;
|
|
139
|
+
};
|
|
140
|
+
credentialMode: "system" | "creator";
|
|
141
|
+
destination: {
|
|
142
|
+
platform: "slack";
|
|
143
|
+
teamId: string;
|
|
144
|
+
channelId: string;
|
|
145
|
+
};
|
|
146
|
+
destinationVisibility: "public" | "private";
|
|
147
|
+
task: {
|
|
148
|
+
text: string;
|
|
149
|
+
};
|
|
150
|
+
trigger: {
|
|
151
|
+
events: string[];
|
|
152
|
+
label: string;
|
|
153
|
+
namespace: string;
|
|
154
|
+
identifier: string;
|
|
155
|
+
resourceType: string;
|
|
156
|
+
};
|
|
157
|
+
};
|
|
158
|
+
}>;
|
|
159
|
+
};
|
|
160
|
+
dialect: "pg";
|
|
161
|
+
}>;
|
package/dist/db/schema.d.ts
CHANGED
|
@@ -3,10 +3,11 @@ import { juniorApiTokens } from "./schema/api-tokens";
|
|
|
3
3
|
import { juniorConversationEvents } from "./schema/conversation-events";
|
|
4
4
|
import { juniorConversations } from "./schema/conversations";
|
|
5
5
|
import { juniorDestinations } from "./schema/destinations";
|
|
6
|
+
import { juniorEventTasks } from "./schema/event-tasks";
|
|
6
7
|
import { juniorIdentities } from "./schema/identities";
|
|
7
8
|
import { juniorStats } from "./schema/stats";
|
|
8
9
|
import { juniorUsers } from "./schema/users";
|
|
9
|
-
export { juniorConversationAnnotations, juniorApiTokens, juniorConversationEvents, juniorConversations, juniorDestinations, juniorIdentities, juniorStats, juniorUsers, };
|
|
10
|
+
export { juniorConversationAnnotations, juniorApiTokens, juniorConversationEvents, juniorConversations, juniorDestinations, juniorEventTasks, juniorIdentities, juniorStats, juniorUsers, };
|
|
10
11
|
export declare const juniorSqlSchema: {
|
|
11
12
|
juniorConversationAnnotations: import("drizzle-orm/pg-core").PgTableWithColumns<{
|
|
12
13
|
name: "junior_conversation_annotations";
|
|
@@ -1302,6 +1303,167 @@ export declare const juniorSqlSchema: {
|
|
|
1302
1303
|
};
|
|
1303
1304
|
dialect: "pg";
|
|
1304
1305
|
}>;
|
|
1306
|
+
juniorEventTasks: import("drizzle-orm/pg-core").PgTableWithColumns<{
|
|
1307
|
+
name: "junior_event_tasks";
|
|
1308
|
+
schema: undefined;
|
|
1309
|
+
columns: {
|
|
1310
|
+
id: import("drizzle-orm/pg-core").PgColumn<{
|
|
1311
|
+
name: "id";
|
|
1312
|
+
tableName: "junior_event_tasks";
|
|
1313
|
+
dataType: "string";
|
|
1314
|
+
columnType: "PgText";
|
|
1315
|
+
data: string;
|
|
1316
|
+
driverParam: string;
|
|
1317
|
+
notNull: true;
|
|
1318
|
+
hasDefault: false;
|
|
1319
|
+
isPrimaryKey: true;
|
|
1320
|
+
isAutoincrement: false;
|
|
1321
|
+
hasRuntimeDefault: false;
|
|
1322
|
+
enumValues: [string, ...string[]];
|
|
1323
|
+
baseColumn: never;
|
|
1324
|
+
identity: undefined;
|
|
1325
|
+
generated: undefined;
|
|
1326
|
+
}, {}, {}>;
|
|
1327
|
+
teamId: import("drizzle-orm/pg-core").PgColumn<{
|
|
1328
|
+
name: "team_id";
|
|
1329
|
+
tableName: "junior_event_tasks";
|
|
1330
|
+
dataType: "string";
|
|
1331
|
+
columnType: "PgText";
|
|
1332
|
+
data: string;
|
|
1333
|
+
driverParam: string;
|
|
1334
|
+
notNull: true;
|
|
1335
|
+
hasDefault: false;
|
|
1336
|
+
isPrimaryKey: false;
|
|
1337
|
+
isAutoincrement: false;
|
|
1338
|
+
hasRuntimeDefault: false;
|
|
1339
|
+
enumValues: [string, ...string[]];
|
|
1340
|
+
baseColumn: never;
|
|
1341
|
+
identity: undefined;
|
|
1342
|
+
generated: undefined;
|
|
1343
|
+
}, {}, {}>;
|
|
1344
|
+
namespace: import("drizzle-orm/pg-core").PgColumn<{
|
|
1345
|
+
name: "namespace";
|
|
1346
|
+
tableName: "junior_event_tasks";
|
|
1347
|
+
dataType: "string";
|
|
1348
|
+
columnType: "PgText";
|
|
1349
|
+
data: string;
|
|
1350
|
+
driverParam: string;
|
|
1351
|
+
notNull: true;
|
|
1352
|
+
hasDefault: false;
|
|
1353
|
+
isPrimaryKey: false;
|
|
1354
|
+
isAutoincrement: false;
|
|
1355
|
+
hasRuntimeDefault: false;
|
|
1356
|
+
enumValues: [string, ...string[]];
|
|
1357
|
+
baseColumn: never;
|
|
1358
|
+
identity: undefined;
|
|
1359
|
+
generated: undefined;
|
|
1360
|
+
}, {}, {}>;
|
|
1361
|
+
identifier: import("drizzle-orm/pg-core").PgColumn<{
|
|
1362
|
+
name: "identifier";
|
|
1363
|
+
tableName: "junior_event_tasks";
|
|
1364
|
+
dataType: "string";
|
|
1365
|
+
columnType: "PgText";
|
|
1366
|
+
data: string;
|
|
1367
|
+
driverParam: string;
|
|
1368
|
+
notNull: true;
|
|
1369
|
+
hasDefault: false;
|
|
1370
|
+
isPrimaryKey: false;
|
|
1371
|
+
isAutoincrement: false;
|
|
1372
|
+
hasRuntimeDefault: false;
|
|
1373
|
+
enumValues: [string, ...string[]];
|
|
1374
|
+
baseColumn: never;
|
|
1375
|
+
identity: undefined;
|
|
1376
|
+
generated: undefined;
|
|
1377
|
+
}, {}, {}>;
|
|
1378
|
+
createdAtMs: import("drizzle-orm/pg-core").PgColumn<{
|
|
1379
|
+
name: "created_at_ms";
|
|
1380
|
+
tableName: "junior_event_tasks";
|
|
1381
|
+
dataType: "number";
|
|
1382
|
+
columnType: "PgBigInt53";
|
|
1383
|
+
data: number;
|
|
1384
|
+
driverParam: string | number;
|
|
1385
|
+
notNull: true;
|
|
1386
|
+
hasDefault: false;
|
|
1387
|
+
isPrimaryKey: false;
|
|
1388
|
+
isAutoincrement: false;
|
|
1389
|
+
hasRuntimeDefault: false;
|
|
1390
|
+
enumValues: undefined;
|
|
1391
|
+
baseColumn: never;
|
|
1392
|
+
identity: undefined;
|
|
1393
|
+
generated: undefined;
|
|
1394
|
+
}, {}, {}>;
|
|
1395
|
+
task: import("drizzle-orm/pg-core").PgColumn<{
|
|
1396
|
+
name: "task_json";
|
|
1397
|
+
tableName: "junior_event_tasks";
|
|
1398
|
+
dataType: "json";
|
|
1399
|
+
columnType: "PgJsonb";
|
|
1400
|
+
data: {
|
|
1401
|
+
id: string;
|
|
1402
|
+
createdAtMs: number;
|
|
1403
|
+
createdBy: {
|
|
1404
|
+
slackUserId: string;
|
|
1405
|
+
fullName?: string | undefined;
|
|
1406
|
+
userName?: string | undefined;
|
|
1407
|
+
};
|
|
1408
|
+
credentialMode: "system" | "creator";
|
|
1409
|
+
destination: {
|
|
1410
|
+
platform: "slack";
|
|
1411
|
+
teamId: string;
|
|
1412
|
+
channelId: string;
|
|
1413
|
+
};
|
|
1414
|
+
destinationVisibility: "public" | "private";
|
|
1415
|
+
task: {
|
|
1416
|
+
text: string;
|
|
1417
|
+
};
|
|
1418
|
+
trigger: {
|
|
1419
|
+
events: string[];
|
|
1420
|
+
label: string;
|
|
1421
|
+
namespace: string;
|
|
1422
|
+
identifier: string;
|
|
1423
|
+
resourceType: string;
|
|
1424
|
+
};
|
|
1425
|
+
};
|
|
1426
|
+
driverParam: unknown;
|
|
1427
|
+
notNull: true;
|
|
1428
|
+
hasDefault: false;
|
|
1429
|
+
isPrimaryKey: false;
|
|
1430
|
+
isAutoincrement: false;
|
|
1431
|
+
hasRuntimeDefault: false;
|
|
1432
|
+
enumValues: undefined;
|
|
1433
|
+
baseColumn: never;
|
|
1434
|
+
identity: undefined;
|
|
1435
|
+
generated: undefined;
|
|
1436
|
+
}, {}, {
|
|
1437
|
+
$type: {
|
|
1438
|
+
id: string;
|
|
1439
|
+
createdAtMs: number;
|
|
1440
|
+
createdBy: {
|
|
1441
|
+
slackUserId: string;
|
|
1442
|
+
fullName?: string | undefined;
|
|
1443
|
+
userName?: string | undefined;
|
|
1444
|
+
};
|
|
1445
|
+
credentialMode: "system" | "creator";
|
|
1446
|
+
destination: {
|
|
1447
|
+
platform: "slack";
|
|
1448
|
+
teamId: string;
|
|
1449
|
+
channelId: string;
|
|
1450
|
+
};
|
|
1451
|
+
destinationVisibility: "public" | "private";
|
|
1452
|
+
task: {
|
|
1453
|
+
text: string;
|
|
1454
|
+
};
|
|
1455
|
+
trigger: {
|
|
1456
|
+
events: string[];
|
|
1457
|
+
label: string;
|
|
1458
|
+
namespace: string;
|
|
1459
|
+
identifier: string;
|
|
1460
|
+
resourceType: string;
|
|
1461
|
+
};
|
|
1462
|
+
};
|
|
1463
|
+
}>;
|
|
1464
|
+
};
|
|
1465
|
+
dialect: "pg";
|
|
1466
|
+
}>;
|
|
1305
1467
|
juniorIdentities: import("drizzle-orm/pg-core").PgTableWithColumns<{
|
|
1306
1468
|
name: "junior_identities";
|
|
1307
1469
|
schema: undefined;
|
|
@@ -5,16 +5,16 @@ import {
|
|
|
5
5
|
getConversationStore,
|
|
6
6
|
getDb,
|
|
7
7
|
getSqlExecutor
|
|
8
|
-
} from "./chunk-
|
|
9
|
-
import "./chunk-
|
|
10
|
-
import "./chunk-
|
|
8
|
+
} from "./chunk-B7FPRGUJ.js";
|
|
9
|
+
import "./chunk-SHMHHXD5.js";
|
|
10
|
+
import "./chunk-K5ZB3WWH.js";
|
|
11
11
|
import "./chunk-VFUK3X5B.js";
|
|
12
|
-
import "./chunk-
|
|
12
|
+
import "./chunk-Z4KTQMWW.js";
|
|
13
13
|
import "./chunk-F3B2YJ76.js";
|
|
14
|
-
import "./chunk-
|
|
14
|
+
import "./chunk-B6E3YA2H.js";
|
|
15
15
|
import "./chunk-6GWA276C.js";
|
|
16
|
-
import "./chunk-
|
|
17
|
-
import "./chunk-
|
|
16
|
+
import "./chunk-RYWMDDWK.js";
|
|
17
|
+
import "./chunk-KTGJAWRO.js";
|
|
18
18
|
import "./chunk-MLKGABMK.js";
|
|
19
19
|
export {
|
|
20
20
|
closeDb,
|
package/dist/instrumentation.js
CHANGED
|
@@ -3,8 +3,8 @@ import {
|
|
|
3
3
|
} from "./chunk-UIE3R5XU.js";
|
|
4
4
|
import {
|
|
5
5
|
getCurrentConversationPrivacy
|
|
6
|
-
} from "./chunk-
|
|
7
|
-
import "./chunk-
|
|
6
|
+
} from "./chunk-Z4KTQMWW.js";
|
|
7
|
+
import "./chunk-B6E3YA2H.js";
|
|
8
8
|
import {
|
|
9
9
|
getClient,
|
|
10
10
|
getGlobalScope,
|
|
@@ -15,8 +15,8 @@ import {
|
|
|
15
15
|
import {
|
|
16
16
|
getDeploymentServiceVersion,
|
|
17
17
|
getDeploymentTelemetryAttributes
|
|
18
|
-
} from "./chunk-
|
|
19
|
-
import "./chunk-
|
|
18
|
+
} from "./chunk-RYWMDDWK.js";
|
|
19
|
+
import "./chunk-KTGJAWRO.js";
|
|
20
20
|
import "./chunk-MLKGABMK.js";
|
|
21
21
|
|
|
22
22
|
// src/chat/sentry-payload-filter.ts
|
package/dist/nitro.js
CHANGED
|
@@ -26,8 +26,8 @@ import {
|
|
|
26
26
|
JUNIOR_PLUGIN_TASK_CALLBACK_ROUTE,
|
|
27
27
|
JUNIOR_RETENTION_CRON_SCHEDULE,
|
|
28
28
|
JUNIOR_RETENTION_ROUTE
|
|
29
|
-
} from "./chunk-
|
|
30
|
-
import "./chunk-
|
|
29
|
+
} from "./chunk-RYWMDDWK.js";
|
|
30
|
+
import "./chunk-KTGJAWRO.js";
|
|
31
31
|
import "./chunk-MLKGABMK.js";
|
|
32
32
|
|
|
33
33
|
// src/nitro.ts
|