@sentry/junior 0.127.0 → 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-HMCMFIIO.js → agent-hooks-F75ANGBV.js} +9 -9
- package/dist/api.js +23 -22
- package/dist/app.js +281 -138
- package/dist/{catalog-runtime-MI5UNBZ7.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/viewer.d.ts +16 -0
- package/dist/chat/resource-events/ingest.d.ts +1 -0
- package/dist/chat/resource-events/store.d.ts +2 -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/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 +0 -38
- package/dist/chat/tools/query-conversation-events.d.ts +0 -16
- 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 +0 -16
- 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 +0 -22
- 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 +0 -46
- 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-YSOZT72W.js → chunk-2HTHX6XV.js} +4 -4
- package/dist/{chunk-NYVMPADK.js → chunk-3PKF6YNU.js} +1 -1
- package/dist/{chunk-UEMGGJZD.js → chunk-5KKIBIIP.js} +12 -12
- package/dist/{chunk-W3U3YQYI.js → chunk-77VDLF3Z.js} +18 -1
- package/dist/{chunk-TLMI3Q4Q.js → chunk-A76LKS5W.js} +199 -94
- package/dist/{chunk-AYICPT5T.js → chunk-B6E3YA2H.js} +1 -1
- package/dist/{chunk-PDG3BSOD.js → chunk-B7FPRGUJ.js} +3 -3
- package/dist/{chunk-JNYR4G7A.js → chunk-BY43CEXN.js} +2 -2
- package/dist/{chunk-HDSDCEPK.js → chunk-EPBBYMNE.js} +1 -1
- package/dist/{chunk-VHUMNUJL.js → chunk-FJEIX3AH.js} +2 -2
- package/dist/{chunk-SH7HDO2D.js → chunk-G6XQODHM.js} +1 -1
- package/dist/{chunk-WXP2ZXC7.js → chunk-HBFQLSGV.js} +4 -4
- package/dist/{chunk-C7AVHH3H.js → chunk-JDCPDJ54.js} +2 -2
- package/dist/{chunk-L7L7RYJM.js → chunk-K5ZB3WWH.js} +2 -2
- package/dist/{chunk-4H2NZPFJ.js → chunk-KNRODVH2.js} +6 -6
- package/dist/{chunk-JXQWTNDI.js → chunk-KTGJAWRO.js} +1 -1
- package/dist/{chunk-6DU2ZNF7.js → chunk-NHWE6Y7G.js} +7 -7
- package/dist/{chunk-FVIU6NQO.js → chunk-OLGB5Y7R.js} +2 -2
- package/dist/{chunk-2M6LYDTB.js → chunk-PBWUUVVG.js} +1 -1
- package/dist/{chunk-AKL3BAYJ.js → chunk-RYWMDDWK.js} +1 -1
- package/dist/{chunk-S4PUICSB.js → chunk-SHMHHXD5.js} +34 -5
- package/dist/{chunk-2N6EL22B.js → chunk-WZ365SQC.js} +1 -1
- package/dist/{chunk-Z5LLJNTL.js → chunk-YY6CVET7.js} +1116 -1083
- package/dist/{chunk-NK7QVIMJ.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-N4EY57ZJ.js → db-FYJYPAKG.js} +7 -7
- package/dist/instrumentation.js +4 -4
- package/dist/nitro.js +2 -2
- package/dist/{oauth-callback-server-O62UOQSS.js → oauth-callback-server-W3PPIHCS.js} +18 -18
- package/dist/{runner-SRHRD3NX.js → runner-5NOFUYKR.js} +11 -11
- package/dist/{sandbox-egress-signals-CDFAP67O.js → sandbox-egress-signals-A5HWIQH4.js} +2 -2
- package/dist/{skills-V6X3JVVA.js → skills-ENIBKF5V.js} +7 -7
- package/dist/{validation-ZZXZELGH.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 +6 -6
- package/dist/chat/plugins/viewer-actors.d.ts +0 -6
|
@@ -274,15 +274,42 @@ var juniorConversationEvents = pgTable6(
|
|
|
274
274
|
]
|
|
275
275
|
);
|
|
276
276
|
|
|
277
|
+
// src/db/schema/event-tasks.ts
|
|
278
|
+
import { bigint, index as index5, jsonb as jsonb5, pgTable as pgTable7, text as text7 } from "drizzle-orm/pg-core";
|
|
279
|
+
var juniorEventTasks = pgTable7(
|
|
280
|
+
"junior_event_tasks",
|
|
281
|
+
{
|
|
282
|
+
id: text7("id").primaryKey(),
|
|
283
|
+
teamId: text7("team_id").notNull(),
|
|
284
|
+
namespace: text7("namespace").notNull(),
|
|
285
|
+
identifier: text7("identifier").notNull(),
|
|
286
|
+
createdAtMs: bigint("created_at_ms", { mode: "number" }).notNull(),
|
|
287
|
+
task: jsonb5("task_json").$type().notNull()
|
|
288
|
+
},
|
|
289
|
+
(table) => [
|
|
290
|
+
index5("junior_event_tasks_team_idx").on(
|
|
291
|
+
table.teamId,
|
|
292
|
+
table.createdAtMs,
|
|
293
|
+
table.id
|
|
294
|
+
),
|
|
295
|
+
index5("junior_event_tasks_match_idx").on(
|
|
296
|
+
table.namespace,
|
|
297
|
+
table.identifier,
|
|
298
|
+
table.createdAtMs,
|
|
299
|
+
table.id
|
|
300
|
+
)
|
|
301
|
+
]
|
|
302
|
+
);
|
|
303
|
+
|
|
277
304
|
// src/db/schema/stats.ts
|
|
278
|
-
import { date, integer as integer3, pgTable as
|
|
279
|
-
var juniorStats =
|
|
305
|
+
import { date, integer as integer3, pgTable as pgTable8, primaryKey as primaryKey3, text as text8 } from "drizzle-orm/pg-core";
|
|
306
|
+
var juniorStats = pgTable8(
|
|
280
307
|
"junior_stats",
|
|
281
308
|
{
|
|
282
309
|
date: date("date", { mode: "string" }).notNull(),
|
|
283
|
-
namespace:
|
|
284
|
-
metric:
|
|
285
|
-
name:
|
|
310
|
+
namespace: text8("namespace").notNull(),
|
|
311
|
+
metric: text8("metric").notNull(),
|
|
312
|
+
name: text8("name").notNull(),
|
|
286
313
|
count: integer3("count").notNull().default(0)
|
|
287
314
|
},
|
|
288
315
|
(table) => [
|
|
@@ -300,6 +327,7 @@ var juniorSqlSchema = {
|
|
|
300
327
|
juniorConversationEvents,
|
|
301
328
|
juniorConversations,
|
|
302
329
|
juniorDestinations,
|
|
330
|
+
juniorEventTasks,
|
|
303
331
|
juniorIdentities,
|
|
304
332
|
juniorStats,
|
|
305
333
|
juniorUsers
|
|
@@ -552,6 +580,7 @@ export {
|
|
|
552
580
|
juniorConversationAnnotations,
|
|
553
581
|
juniorApiTokens,
|
|
554
582
|
juniorConversationEvents,
|
|
583
|
+
juniorEventTasks,
|
|
555
584
|
juniorStats,
|
|
556
585
|
createJuniorSqlExecutor
|
|
557
586
|
};
|