@sentry/junior 0.153.0 → 0.155.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-7BWOB7SN.js → agent-hooks-AWVTLAV2.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 +1 -0
- package/dist/api/schema/conversation.d.ts +3 -0
- package/dist/api/schema/location.d.ts +1 -0
- package/dist/api/schema/person.d.ts +1 -0
- package/dist/api/schema.js +1 -1
- package/dist/api.js +318 -187
- package/dist/app.js +39 -39
- package/dist/catalog-runtime-V6YD6KH5.js +16 -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/plugins/unfinished-work.d.ts +2 -0
- package/dist/chat/runtime/agent-runner.d.ts +2 -0
- package/dist/chat/runtime/slack-resume.d.ts +1 -1
- package/dist/chat/state/conversation.d.ts +1 -0
- package/dist/{chunk-O2YXWWPM.js → chunk-2AHVM3HK.js} +92 -9
- package/dist/{chunk-VXWTGOLW.js → chunk-2WLJDM23.js} +1 -1
- package/dist/{chunk-4TWLKHOM.js → chunk-37G5HJ2X.js} +4 -4
- package/dist/{chunk-ISEROVYZ.js → chunk-4K5N6HTX.js} +5 -5
- package/dist/{chunk-ET54Q4TD.js → chunk-773XC7P4.js} +116 -82
- package/dist/{chunk-HUO3UTAQ.js → chunk-7MA4HV4W.js} +1 -1
- package/dist/{chunk-HMU2QP5M.js → chunk-7NYEB2TM.js} +1 -1
- package/dist/{chunk-URFV5RWN.js → chunk-AENPRXCG.js} +23 -56
- package/dist/{chunk-TIV3PX5H.js → chunk-APHDJYN7.js} +2 -2
- package/dist/{chunk-RUIXF3YQ.js → chunk-BDUENQD3.js} +1 -1
- package/dist/{chunk-5TXDKTET.js → chunk-CPQBTTI6.js} +7 -7
- package/dist/{chunk-A5SROS6H.js → chunk-ELOTIL5F.js} +5 -5
- package/dist/{chunk-JJAMURMR.js → chunk-EORR34UB.js} +1 -1
- package/dist/{chunk-5QBK3QHJ.js → chunk-J2SYI36O.js} +6 -8
- package/dist/{chunk-K4LK6KYO.js → chunk-J7MWZFFP.js} +4 -4
- package/dist/{chunk-COC65LIW.js → chunk-JFZBGFNX.js} +3 -1
- package/dist/{chunk-YECBSG77.js → chunk-JIC33O5L.js} +2 -2
- package/dist/{chunk-XAYXN4EG.js → chunk-JJX77MB7.js} +366 -138
- package/dist/{chunk-FLEY546A.js → chunk-KBT2I5ER.js} +7 -7
- package/dist/{chunk-37LMRT7G.js → chunk-KTVHAHUV.js} +1 -1
- package/dist/{chunk-PMJAY6JS.js → chunk-LQT3SWFA.js} +5 -5
- package/dist/{chunk-HYEAR6HL.js → chunk-MLBH7J7J.js} +1 -1
- package/dist/{chunk-5DMPHA4V.js → chunk-NKFRRZIT.js} +27 -37
- package/dist/{chunk-HOK7MEWG.js → chunk-NWSKFYOH.js} +1 -1
- package/dist/{chunk-JY2HJYJT.js → chunk-RN3AWYEP.js} +2 -2
- package/dist/{chunk-RKW5QGGN.js → chunk-RQ62VKM7.js} +1 -1
- package/dist/{chunk-XQPKMLRI.js → chunk-SDRJ2LE3.js} +1 -1
- package/dist/{chunk-JAJVUQV7.js → chunk-TKJ7277U.js} +3 -3
- package/dist/{chunk-EPOA52SD.js → chunk-TVXAN43I.js} +1 -1
- package/dist/{chunk-2NS3ACHB.js → chunk-UWTXAYBP.js} +11 -11
- package/dist/{chunk-2J4VCHRX.js → chunk-V57LZDHN.js} +8 -10
- package/dist/{chunk-HZF5P5UN.js → chunk-V7YE4WCP.js} +58 -7
- package/dist/{chunk-PGJBNO3I.js → chunk-XFZLQANQ.js} +2 -2
- package/dist/{chunk-5XBRH3N7.js → chunk-Y6MVGU7L.js} +12 -11
- package/dist/{chunk-WTKAALLV.js → chunk-Y7ZUBP2K.js} +6 -6
- package/dist/{chunk-UG5UCHHJ.js → chunk-ZLSFOSDK.js} +2 -1
- 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/conversation-events.d.ts +20 -0
- package/dist/db/schema/conversation-participants.d.ts +63 -0
- package/dist/db/schema.d.ts +77 -1
- package/dist/{db-QNQM5YRR.js → db-WT7P56AH.js} +8 -8
- package/dist/instrumentation.js +4 -4
- package/dist/nitro.js +2 -2
- package/dist/{oauth-callback-server-ERQPIR27.js → oauth-callback-server-R2PK2MCA.js} +26 -26
- package/dist/{runner-BX46SQIE.js → runner-O7YYUIHT.js} +15 -16
- package/dist/{sandbox-egress-signals-EKPAVWQL.js → sandbox-egress-signals-U3ZX7C5W.js} +3 -4
- package/dist/{skills-JL44EIRX.js → skills-S6HLQRH7.js} +8 -9
- package/dist/spawn-B4SBFFA2.js +37 -0
- package/dist/{validation-UU2AIJIY.js → validation-46WD2OAR.js} +8 -9
- package/dist/version.js +1 -1
- package/dist/{work-SS7RU5CH.js → work-YT5QUBS3.js} +20 -21
- package/dist/worker-4C5BEDWN.js +24 -0
- package/migrations/0026_conversation_event_actor_and_participants.sql +140 -0
- package/migrations/meta/0026_snapshot.json +2424 -0
- package/migrations/meta/_journal.json +7 -0
- package/package.json +8 -6
- package/dist/catalog-runtime-CGUDNL3D.js +0 -17
- package/dist/chunk-F3B2YJ76.js +0 -57
- package/dist/spawn-W6FO32T4.js +0 -38
- package/dist/worker-5P2E7LVI.js +0 -25
|
@@ -8,22 +8,22 @@ import {
|
|
|
8
8
|
getConversationStore,
|
|
9
9
|
parseDestination,
|
|
10
10
|
sameDestination
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-JJX77MB7.js";
|
|
12
12
|
import {
|
|
13
13
|
getDefaultRedisStateAdapterFor,
|
|
14
14
|
getStateAdapter
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-SDRJ2LE3.js";
|
|
16
16
|
import {
|
|
17
17
|
getChatConfig
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-XFZLQANQ.js";
|
|
19
19
|
import {
|
|
20
20
|
parseStoredSlackActor
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-V7YE4WCP.js";
|
|
22
22
|
import {
|
|
23
23
|
isRecord,
|
|
24
24
|
toOptionalNumber,
|
|
25
25
|
toOptionalString
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-7NYEB2TM.js";
|
|
27
27
|
|
|
28
28
|
// src/chat/task-execution/state.ts
|
|
29
29
|
import { randomUUID } from "crypto";
|
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
instructionProvenanceFor,
|
|
14
14
|
sanitizePostgresJson,
|
|
15
15
|
withConversationEventLock
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-JJX77MB7.js";
|
|
17
17
|
import {
|
|
18
18
|
SANDBOX_WORKSPACE_ROOT,
|
|
19
19
|
sleep
|
|
@@ -23,26 +23,24 @@ import {
|
|
|
23
23
|
fenceLock,
|
|
24
24
|
getStateAdapter,
|
|
25
25
|
withLock
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-SDRJ2LE3.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-XFZLQANQ.js";
|
|
34
34
|
import {
|
|
35
|
+
parseSlackMessageTs,
|
|
35
36
|
toStoredSlackActor
|
|
36
|
-
} from "./chunk-
|
|
37
|
-
import {
|
|
38
|
-
parseSlackMessageTs
|
|
39
|
-
} from "./chunk-F3B2YJ76.js";
|
|
37
|
+
} from "./chunk-V7YE4WCP.js";
|
|
40
38
|
import {
|
|
41
39
|
getActiveTraceId,
|
|
42
40
|
logException,
|
|
43
41
|
logWarn,
|
|
44
42
|
setSpanAttributes
|
|
45
|
-
} from "./chunk-
|
|
43
|
+
} from "./chunk-7NYEB2TM.js";
|
|
46
44
|
|
|
47
45
|
// src/chat/turn-context-tag.ts
|
|
48
46
|
var TURN_CONTEXT_TAG = "runtime-turn-context";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getTurnRequestDeadline
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-NWSKFYOH.js";
|
|
4
4
|
import {
|
|
5
5
|
CONVERSATION_WORK_CHECK_IN_INTERVAL_MS,
|
|
6
6
|
CONVERSATION_WORK_MAX_RETRIES,
|
|
@@ -21,20 +21,20 @@ import {
|
|
|
21
21
|
releaseConversationWork,
|
|
22
22
|
requestAnotherSlice,
|
|
23
23
|
startConversationWork
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-ELOTIL5F.js";
|
|
25
25
|
import {
|
|
26
26
|
ConversationQueueMessageRejectedError
|
|
27
27
|
} from "./chunk-JAL3CH4G.js";
|
|
28
28
|
import {
|
|
29
29
|
getChatConfig,
|
|
30
30
|
isProviderRetryError
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-XFZLQANQ.js";
|
|
32
32
|
import {
|
|
33
33
|
logException,
|
|
34
34
|
logInfo,
|
|
35
35
|
logWarn,
|
|
36
36
|
withLogContext
|
|
37
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-7NYEB2TM.js";
|
|
38
38
|
|
|
39
39
|
// src/chat/task-execution/worker.ts
|
|
40
40
|
var CONVERSATION_WORK_DEFER_DELAY_MS = 15e3;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// package.json
|
|
2
2
|
var package_default = {
|
|
3
3
|
name: "@sentry/junior",
|
|
4
|
-
version: "0.
|
|
4
|
+
version: "0.155.0",
|
|
5
5
|
private: false,
|
|
6
6
|
publishConfig: {
|
|
7
7
|
access: "public"
|
|
@@ -77,6 +77,8 @@ var package_default = {
|
|
|
77
77
|
"@logtape/logtape": "^2.1.1",
|
|
78
78
|
"@modelcontextprotocol/sdk": "1.29.0",
|
|
79
79
|
"@neondatabase/serverless": "^1.1.0",
|
|
80
|
+
"@opentelemetry/api": "catalog:",
|
|
81
|
+
"@opentelemetry/core": "catalog:",
|
|
80
82
|
"@sentry/junior-plugin-api": "workspace:*",
|
|
81
83
|
"@sentry/node": "catalog:",
|
|
82
84
|
"@sinclair/typebox": "^0.34.49",
|