@sentry/junior 0.154.0 → 0.156.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-VEHV2QUA.js → agent-hooks-CCAR46PQ.js} +11 -12
- package/dist/api/conversations/list.d.ts +5 -3
- package/dist/api/conversations/membership.d.ts +16 -0
- package/dist/api/locations/detail.d.ts +2 -0
- package/dist/api/schema/conversation.d.ts +22 -4
- package/dist/api/schema/location.d.ts +2 -0
- package/dist/api/schema/person.d.ts +2 -0
- package/dist/api/schema.js +1 -1
- package/dist/api.js +331 -188
- package/dist/app.js +154 -51
- package/dist/catalog-runtime-3SNKYCBG.js +16 -0
- package/dist/chat/agent/types.d.ts +2 -0
- package/dist/chat/attachments/storage.d.ts +12 -0
- package/dist/chat/attachments/store.d.ts +52 -0
- package/dist/chat/attachments/vercel.d.ts +3 -0
- package/dist/chat/conversations/retention.d.ts +4 -0
- package/dist/chat/conversations/sql/event-actor.d.ts +14 -0
- package/dist/chat/conversations/sql/event-lock.d.ts +1 -1
- package/dist/chat/conversations/sql/participants.d.ts +17 -0
- package/dist/chat/ingress/bot-mention.d.ts +13 -0
- package/dist/chat/plugins/unfinished-work.d.ts +8 -0
- package/dist/chat/runtime/agent-runner.d.ts +4 -0
- package/dist/chat/runtime/slack-resume.d.ts +1 -1
- package/dist/chat/services/conversation-memory.d.ts +1 -1
- package/dist/chat/slack/tools/send-files.d.ts +17 -11
- package/dist/chat/state/conversation.d.ts +3 -1
- package/dist/chat/tools/types.d.ts +2 -0
- package/dist/{chunk-XYMCZGH6.js → chunk-3FFUC32L.js} +8 -10
- package/dist/{chunk-4U4MNYGP.js → chunk-3L2PMOSR.js} +6 -8
- package/dist/{chunk-PTJ75ZWR.js → chunk-4ZZDTHFC.js} +94 -9
- package/dist/{chunk-DAJZZFU7.js → chunk-53W3LZEW.js} +386 -93
- package/dist/{chunk-F7QUK3YP.js → chunk-6CINHXIL.js} +5 -5
- package/dist/{chunk-6VWMX7NS.js → chunk-6JUU7J2B.js} +4 -4
- package/dist/{chunk-HUO3UTAQ.js → chunk-7MA4HV4W.js} +1 -1
- package/dist/{chunk-O4AQDOKA.js → chunk-7RAETIYO.js} +7 -7
- package/dist/{chunk-4R2XCKUH.js → chunk-A6WPDFHQ.js} +1 -1
- package/dist/{chunk-CZD6M57V.js → chunk-AIJRG227.js} +191 -126
- package/dist/{chunk-RUIXF3YQ.js → chunk-BDUENQD3.js} +1 -1
- package/dist/{chunk-NUG3VYHL.js → chunk-CK2H7CFO.js} +2 -2
- package/dist/{chunk-HOGJ6TBT.js → chunk-CN2XSVKF.js} +6 -6
- package/dist/{chunk-3567VGCN.js → chunk-EDJ64P2P.js} +1 -1
- package/dist/{chunk-6PJXR4BC.js → chunk-GKC43TLS.js} +2 -2
- package/dist/{chunk-A6LWN4K6.js → chunk-GSBPZHLQ.js} +11 -11
- package/dist/{chunk-Y654CTW2.js → chunk-IIO5PFZX.js} +366 -138
- package/dist/{chunk-F2Q3ZHW2.js → chunk-IZEBHYI4.js} +1 -1
- package/dist/{chunk-QGR6QTC4.js → chunk-JUJR6WTL.js} +4 -4
- package/dist/{chunk-ZQT4RHUO.js → chunk-KBGMYLSV.js} +4 -1
- package/dist/{chunk-DK2FSQHS.js → chunk-KCA5MKHU.js} +5 -5
- package/dist/{chunk-NNN2WYAD.js → chunk-MC57E5U5.js} +1 -1
- package/dist/{chunk-6AF5GOZA.js → chunk-MJE7XKWP.js} +1 -1
- package/dist/{chunk-7CPN5JTA.js → chunk-NTNU6T2D.js} +3 -3
- package/dist/{chunk-NG4IAOVD.js → chunk-OGZPRMZA.js} +1 -1
- package/dist/{chunk-UCH55IGZ.js → chunk-OMQJB7YN.js} +28 -37
- package/dist/{chunk-2XNVS6RC.js → chunk-PMFGVLDU.js} +12 -11
- package/dist/{chunk-65IAU2L2.js → chunk-SE3D225X.js} +1 -1
- package/dist/{chunk-CCAU73CE.js → chunk-SRJA6QLM.js} +2 -2
- package/dist/{chunk-7RFWIHPM.js → chunk-TN4LVILT.js} +5 -5
- package/dist/{chunk-3ZR2R5EQ.js → chunk-TNXGMFWV.js} +1 -1
- package/dist/{chunk-HZF5P5UN.js → chunk-V7YE4WCP.js} +58 -7
- package/dist/{chunk-MSOZLASC.js → chunk-WD7SEUZO.js} +2 -2
- package/dist/{chunk-UG5UCHHJ.js → chunk-X5NZQH5U.js} +4 -2
- package/dist/{chunk-3HX67UPN.js → chunk-X7W45B5G.js} +1 -1
- package/dist/{chunk-FVY7AJ46.js → chunk-ZNWRYNCA.js} +7 -7
- package/dist/cli/chat.js +36 -36
- package/dist/cli/check.js +8 -9
- package/dist/cli/init.js +41 -7
- package/dist/cli/plugins.js +15 -16
- package/dist/cli/snapshot-create.js +11 -12
- package/dist/cli/upgrade.js +9 -10
- package/dist/db/schema/attachments.d.ts +178 -0
- package/dist/db/schema/conversation-events.d.ts +20 -0
- package/dist/db/schema/conversation-participants.d.ts +63 -0
- package/dist/db/schema.d.ts +255 -1
- package/dist/{db-SOJJLMJK.js → db-TYUUKGJX.js} +8 -8
- package/dist/handlers/retention.d.ts +4 -1
- package/dist/instrumentation.js +4 -4
- package/dist/nitro.js +2 -2
- package/dist/{oauth-callback-server-GCJROMVO.js → oauth-callback-server-AWVDKPR5.js} +26 -26
- package/dist/{runner-SY6KDQCN.js → runner-JUQXMACC.js} +15 -16
- package/dist/{sandbox-egress-signals-EKPAVWQL.js → sandbox-egress-signals-U3ZX7C5W.js} +3 -4
- package/dist/{skills-XJ2LJ2ML.js → skills-4GZTZX4V.js} +8 -9
- package/dist/spawn-32SSRWU4.js +37 -0
- package/dist/{validation-XQWY6QRY.js → validation-DRLNJRND.js} +8 -9
- package/dist/version.js +1 -1
- package/dist/{work-FFT5JAOU.js → work-TGIXRRJY.js} +20 -21
- package/dist/worker-IFXZOYED.js +24 -0
- package/migrations/0026_conversation_event_actor_and_participants.sql +140 -0
- package/migrations/0027_attachment_storage.sql +16 -0
- package/migrations/meta/0026_snapshot.json +2424 -0
- package/migrations/meta/0027_snapshot.json +2554 -0
- package/migrations/meta/_journal.json +15 -1
- package/package.json +10 -7
- package/dist/catalog-runtime-AK5MY63F.js +0 -17
- package/dist/chunk-F3B2YJ76.js +0 -57
- package/dist/spawn-QFCQREEP.js +0 -38
- package/dist/worker-JAITK72F.js +0 -25
|
@@ -183,6 +183,20 @@
|
|
|
183
183
|
"when": 1786477029866,
|
|
184
184
|
"tag": "0025_mcp_credential_subject",
|
|
185
185
|
"breakpoints": true
|
|
186
|
+
},
|
|
187
|
+
{
|
|
188
|
+
"idx": 26,
|
|
189
|
+
"version": "7",
|
|
190
|
+
"when": 1786505364250,
|
|
191
|
+
"tag": "0026_conversation_event_actor_and_participants",
|
|
192
|
+
"breakpoints": true
|
|
193
|
+
},
|
|
194
|
+
{
|
|
195
|
+
"idx": 27,
|
|
196
|
+
"version": "7",
|
|
197
|
+
"when": 1786555458641,
|
|
198
|
+
"tag": "0027_attachment_storage",
|
|
199
|
+
"breakpoints": true
|
|
186
200
|
}
|
|
187
201
|
]
|
|
188
|
-
}
|
|
202
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sentry/junior",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.156.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
@@ -56,15 +56,18 @@
|
|
|
56
56
|
"@chat-adapter/slack": "4.29.0",
|
|
57
57
|
"@chat-adapter/state-memory": "4.29.0",
|
|
58
58
|
"@chat-adapter/state-redis": "4.29.0",
|
|
59
|
-
"@earendil-works/pi-agent-core": "0.
|
|
60
|
-
"@earendil-works/pi-ai": "0.
|
|
59
|
+
"@earendil-works/pi-agent-core": "0.84.1",
|
|
60
|
+
"@earendil-works/pi-ai": "0.84.1",
|
|
61
61
|
"@hono/zod-validator": "^0.9.0",
|
|
62
62
|
"@logtape/logtape": "^2.1.1",
|
|
63
63
|
"@modelcontextprotocol/sdk": "1.29.0",
|
|
64
64
|
"@neondatabase/serverless": "^1.1.0",
|
|
65
|
+
"@opentelemetry/api": "1.9.1",
|
|
66
|
+
"@opentelemetry/core": "2.9.0",
|
|
65
67
|
"@sentry/node": "10.65.0",
|
|
66
68
|
"@sinclair/typebox": "^0.34.49",
|
|
67
69
|
"@slack/web-api": "^7.16.0",
|
|
70
|
+
"@vercel/blob": "^2.4.0",
|
|
68
71
|
"@vercel/functions": "^3.6.0",
|
|
69
72
|
"@vercel/oidc": "^3.4.1",
|
|
70
73
|
"@vercel/queue": "^0.2.0",
|
|
@@ -81,7 +84,7 @@
|
|
|
81
84
|
"pg": "^8.16.3",
|
|
82
85
|
"yaml": "^2.9.0",
|
|
83
86
|
"zod": "^4.4.3",
|
|
84
|
-
"@sentry/junior-plugin-api": "0.
|
|
87
|
+
"@sentry/junior-plugin-api": "0.156.0"
|
|
85
88
|
},
|
|
86
89
|
"devDependencies": {
|
|
87
90
|
"@emnapi/core": "^1.10.0",
|
|
@@ -98,9 +101,9 @@
|
|
|
98
101
|
"typescript": "^6.0.3",
|
|
99
102
|
"vercel": "^54.4.0",
|
|
100
103
|
"vitest": "^4.1.7",
|
|
101
|
-
"@sentry/junior-
|
|
102
|
-
"@sentry/junior-
|
|
103
|
-
"@sentry/junior-
|
|
104
|
+
"@sentry/junior-memory": "0.156.0",
|
|
105
|
+
"@sentry/junior-github": "0.156.0",
|
|
106
|
+
"@sentry/junior-testing": "0.0.0"
|
|
104
107
|
},
|
|
105
108
|
"scripts": {
|
|
106
109
|
"build": "tsup && tsc -p tsconfig.build.json --emitDeclarationOnly",
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
pluginCatalogRuntime
|
|
3
|
-
} from "./chunk-3567VGCN.js";
|
|
4
|
-
import "./chunk-MSOZLASC.js";
|
|
5
|
-
import "./chunk-RUIXF3YQ.js";
|
|
6
|
-
import "./chunk-HZF5P5UN.js";
|
|
7
|
-
import "./chunk-F3B2YJ76.js";
|
|
8
|
-
import "./chunk-3HX67UPN.js";
|
|
9
|
-
import "./chunk-6GWA276C.js";
|
|
10
|
-
import "./chunk-OOUNJNMR.js";
|
|
11
|
-
import "./chunk-H4HBKISO.js";
|
|
12
|
-
import "./chunk-NG4IAOVD.js";
|
|
13
|
-
import "./chunk-ZQT4RHUO.js";
|
|
14
|
-
import "./chunk-MLKGABMK.js";
|
|
15
|
-
export {
|
|
16
|
-
pluginCatalogRuntime
|
|
17
|
-
};
|
package/dist/chunk-F3B2YJ76.js
DELETED
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
// src/chat/slack/timestamp.ts
|
|
2
|
-
import { z } from "zod";
|
|
3
|
-
var slackMessageTsSchema = z.string().trim().regex(/^\d+(?:\.\d+)?$/).brand();
|
|
4
|
-
function parseSlackMessageTs(value) {
|
|
5
|
-
const parsed = slackMessageTsSchema.safeParse(value);
|
|
6
|
-
return parsed.success ? parsed.data : void 0;
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
// src/chat/slack/ids.ts
|
|
10
|
-
import { z as z2 } from "zod";
|
|
11
|
-
var slackChannelIdSchema = z2.string().regex(/^[CDG][A-Z0-9]+$/).brand();
|
|
12
|
-
var slackTeamIdSchema = z2.string().regex(/^T[A-Z0-9]+$/).brand();
|
|
13
|
-
var slackUserIdSchema = z2.string().regex(/^[UW][A-Z0-9]+$/).brand();
|
|
14
|
-
function slackChannelReferenceCandidate(value) {
|
|
15
|
-
const trimmed = value.trim();
|
|
16
|
-
if (!trimmed.startsWith("slack:")) {
|
|
17
|
-
return trimmed;
|
|
18
|
-
}
|
|
19
|
-
const parts = trimmed.split(":");
|
|
20
|
-
if (parts.length === 2) {
|
|
21
|
-
return parts[1]?.trim() ?? "";
|
|
22
|
-
}
|
|
23
|
-
if (parts.length === 3 && parseSlackMessageTs(parts[2])) {
|
|
24
|
-
return parts[1]?.trim() ?? "";
|
|
25
|
-
}
|
|
26
|
-
return "";
|
|
27
|
-
}
|
|
28
|
-
function parseSlackChannelId(value) {
|
|
29
|
-
if (typeof value !== "string") return void 0;
|
|
30
|
-
const parsed = slackChannelIdSchema.safeParse(value.trim());
|
|
31
|
-
return parsed.success ? parsed.data : void 0;
|
|
32
|
-
}
|
|
33
|
-
function parseSlackChannelReferenceId(value) {
|
|
34
|
-
if (typeof value !== "string") return void 0;
|
|
35
|
-
const parsed = slackChannelIdSchema.safeParse(
|
|
36
|
-
slackChannelReferenceCandidate(value)
|
|
37
|
-
);
|
|
38
|
-
return parsed.success ? parsed.data : void 0;
|
|
39
|
-
}
|
|
40
|
-
function parseSlackTeamId(value) {
|
|
41
|
-
if (typeof value !== "string") return void 0;
|
|
42
|
-
const parsed = slackTeamIdSchema.safeParse(value.trim());
|
|
43
|
-
return parsed.success ? parsed.data : void 0;
|
|
44
|
-
}
|
|
45
|
-
function parseSlackUserId(value) {
|
|
46
|
-
if (typeof value !== "string") return void 0;
|
|
47
|
-
const parsed = slackUserIdSchema.safeParse(value.trim());
|
|
48
|
-
return parsed.success ? parsed.data : void 0;
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
export {
|
|
52
|
-
parseSlackMessageTs,
|
|
53
|
-
parseSlackChannelId,
|
|
54
|
-
parseSlackChannelReferenceId,
|
|
55
|
-
parseSlackTeamId,
|
|
56
|
-
parseSlackUserId
|
|
57
|
-
};
|
package/dist/spawn-QFCQREEP.js
DELETED
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
bindSpawnAgent
|
|
3
|
-
} from "./chunk-F2Q3ZHW2.js";
|
|
4
|
-
import "./chunk-HOGJ6TBT.js";
|
|
5
|
-
import "./chunk-F7QUK3YP.js";
|
|
6
|
-
import "./chunk-7RFWIHPM.js";
|
|
7
|
-
import "./chunk-JAL3CH4G.js";
|
|
8
|
-
import "./chunk-FVY7AJ46.js";
|
|
9
|
-
import "./chunk-DIB4GX3G.js";
|
|
10
|
-
import "./chunk-RF6J3DIO.js";
|
|
11
|
-
import "./chunk-O4AQDOKA.js";
|
|
12
|
-
import "./chunk-HUO3UTAQ.js";
|
|
13
|
-
import "./chunk-4U4MNYGP.js";
|
|
14
|
-
import "./chunk-3Y47VMHV.js";
|
|
15
|
-
import "./chunk-PDO5BLNM.js";
|
|
16
|
-
import "./chunk-7CPN5JTA.js";
|
|
17
|
-
import "./chunk-Y654CTW2.js";
|
|
18
|
-
import "./chunk-CZD6M57V.js";
|
|
19
|
-
import "./chunk-EM225ITJ.js";
|
|
20
|
-
import "./chunk-NNN2WYAD.js";
|
|
21
|
-
import "./chunk-6PJXR4BC.js";
|
|
22
|
-
import "./chunk-VFUK3X5B.js";
|
|
23
|
-
import "./chunk-6AF5GOZA.js";
|
|
24
|
-
import "./chunk-3567VGCN.js";
|
|
25
|
-
import "./chunk-MSOZLASC.js";
|
|
26
|
-
import "./chunk-RUIXF3YQ.js";
|
|
27
|
-
import "./chunk-HZF5P5UN.js";
|
|
28
|
-
import "./chunk-F3B2YJ76.js";
|
|
29
|
-
import "./chunk-3HX67UPN.js";
|
|
30
|
-
import "./chunk-6GWA276C.js";
|
|
31
|
-
import "./chunk-OOUNJNMR.js";
|
|
32
|
-
import "./chunk-H4HBKISO.js";
|
|
33
|
-
import "./chunk-NG4IAOVD.js";
|
|
34
|
-
import "./chunk-ZQT4RHUO.js";
|
|
35
|
-
import "./chunk-MLKGABMK.js";
|
|
36
|
-
export {
|
|
37
|
-
bindSpawnAgent
|
|
38
|
-
};
|
package/dist/worker-JAITK72F.js
DELETED
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
CONVERSATION_WORK_DEFER_DELAY_MS,
|
|
3
|
-
processConversationWork
|
|
4
|
-
} from "./chunk-QGR6QTC4.js";
|
|
5
|
-
import "./chunk-4R2XCKUH.js";
|
|
6
|
-
import "./chunk-F7QUK3YP.js";
|
|
7
|
-
import "./chunk-JAL3CH4G.js";
|
|
8
|
-
import "./chunk-3Y47VMHV.js";
|
|
9
|
-
import "./chunk-Y654CTW2.js";
|
|
10
|
-
import "./chunk-CZD6M57V.js";
|
|
11
|
-
import "./chunk-NNN2WYAD.js";
|
|
12
|
-
import "./chunk-6PJXR4BC.js";
|
|
13
|
-
import "./chunk-VFUK3X5B.js";
|
|
14
|
-
import "./chunk-6AF5GOZA.js";
|
|
15
|
-
import "./chunk-HZF5P5UN.js";
|
|
16
|
-
import "./chunk-F3B2YJ76.js";
|
|
17
|
-
import "./chunk-3HX67UPN.js";
|
|
18
|
-
import "./chunk-6GWA276C.js";
|
|
19
|
-
import "./chunk-NG4IAOVD.js";
|
|
20
|
-
import "./chunk-ZQT4RHUO.js";
|
|
21
|
-
import "./chunk-MLKGABMK.js";
|
|
22
|
-
export {
|
|
23
|
-
CONVERSATION_WORK_DEFER_DELAY_MS,
|
|
24
|
-
processConversationWork
|
|
25
|
-
};
|