@sentry/junior 0.113.0 → 0.114.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-BKEMWR3Z.js → agent-hooks-WNBUY4OB.js} +8 -8
- package/dist/api/conversations/detail.d.ts +24 -0
- package/dist/api/conversations/event-list.d.ts +24 -0
- package/dist/api/conversations/events.d.ts +1 -1
- package/dist/api/schema/conversation.d.ts +96 -0
- package/dist/api/schema.js +1 -1
- package/dist/api.js +29 -13
- package/dist/app.d.ts +2 -0
- package/dist/app.js +30 -21
- package/dist/{catalog-runtime-6XYOUVRZ.js → catalog-runtime-6O4M6JGA.js} +5 -5
- package/dist/chat/config.d.ts +1 -1
- package/dist/chat/conversations/history.d.ts +86 -0
- package/dist/chat/conversations/projection.d.ts +20 -1
- package/dist/chat/services/context-budget.d.ts +7 -2
- package/dist/chat/services/context-compaction.d.ts +28 -1
- package/dist/chat/services/conversation-memory.d.ts +1 -0
- package/dist/chat/services/provider-error.d.ts +1 -0
- package/dist/chat/services/turn-router.d.ts +1 -0
- package/dist/chat/tools/sandbox/edit-file.d.ts +1 -1
- package/dist/chat/tools/sandbox/text-edits.d.ts +1 -0
- package/dist/{chunk-36UJA3OD.js → chunk-4FUEG3QY.js} +1 -1
- package/dist/{chunk-NP7TYFYR.js → chunk-5CZ7RETL.js} +1 -1
- package/dist/{chunk-DXRPHBOU.js → chunk-6QWPVTMO.js} +72 -33
- package/dist/{chunk-WBB22ANL.js → chunk-ABPSDO6M.js} +6 -6
- package/dist/{chunk-LLKDNPYV.js → chunk-FIGAF6KL.js} +34 -2
- package/dist/{chunk-OXE5ZUTS.js → chunk-K2W4CK7K.js} +1 -1
- package/dist/{chunk-K5BXPM74.js → chunk-O4GT7LYB.js} +1 -1
- package/dist/{chunk-LR2SKL5Y.js → chunk-OSKEC4XU.js} +1 -1
- package/dist/{chunk-ZRSUCJGA.js → chunk-PM3PX42K.js} +1 -1
- package/dist/{chunk-QTS66GMR.js → chunk-RD7EJI7H.js} +2 -2
- package/dist/{chunk-UKGNSJQQ.js → chunk-S4QDH23A.js} +25 -1
- package/dist/{chunk-4WZ7YKDF.js → chunk-TLGM5X2M.js} +2 -2
- package/dist/{chunk-YJ44UT7D.js → chunk-VNNBSKCO.js} +5 -5
- package/dist/{chunk-3CTIAKSS.js → chunk-W6RDUAO3.js} +1 -1
- package/dist/{chunk-H5ON7XTE.js → chunk-WV4UJBAS.js} +369 -79
- package/dist/{chunk-4VKFQPCW.js → chunk-XLFBQJUO.js} +4 -4
- package/dist/{chunk-HMRVILWZ.js → chunk-YU6PO42Q.js} +1 -1
- package/dist/{chunk-RCBUZGIT.js → chunk-ZGXH3REA.js} +12 -19
- package/dist/cli/chat.js +19 -19
- package/dist/cli/check.js +6 -6
- package/dist/cli/plugins.js +11 -11
- package/dist/cli/snapshot-warmup.js +8 -8
- package/dist/cli/upgrade.js +5 -5
- package/dist/{db-2ASK6MV6.js → db-4VLP7KBF.js} +5 -5
- package/dist/instrumentation.js +2 -2
- package/dist/nitro.js +2 -2
- package/dist/{runner-L363K62Z.js → runner-IPXLWQOF.js} +10 -10
- package/dist/{skills-VCPG3NOO.js → skills-QCNZISNF.js} +6 -6
- package/dist/{validation-GY7AJBLC.js → validation-I2BW3UHD.js} +6 -6
- package/dist/version.js +1 -1
- package/package.json +5 -5
|
@@ -3,13 +3,13 @@ import {
|
|
|
3
3
|
} from "./chunk-4ZNGQH7C.js";
|
|
4
4
|
import {
|
|
5
5
|
getSlackBotToken
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-ZGXH3REA.js";
|
|
7
7
|
import {
|
|
8
8
|
logWarn,
|
|
9
9
|
setSpanAttributes,
|
|
10
10
|
setSpanStatus,
|
|
11
11
|
withSpan
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-4FUEG3QY.js";
|
|
13
13
|
import {
|
|
14
14
|
parseSlackChannelReferenceId
|
|
15
15
|
} from "./chunk-42WRQLJ6.js";
|
|
@@ -117,7 +117,30 @@ var conversationReportTurnLifecycleEventDataSchema = z2.discriminatedUnion(
|
|
|
117
117
|
}).strict()
|
|
118
118
|
]
|
|
119
119
|
);
|
|
120
|
-
var
|
|
120
|
+
var conversationReportTurnRoutedEventDataSchema = z2.object({
|
|
121
|
+
type: z2.literal("turn_routed"),
|
|
122
|
+
turnId: z2.string().min(1),
|
|
123
|
+
modelProfile: z2.string().min(1),
|
|
124
|
+
modelId: z2.string().min(1),
|
|
125
|
+
reasoningLevel: z2.string().min(1),
|
|
126
|
+
confidence: z2.number().min(0).max(1).optional(),
|
|
127
|
+
source: z2.enum(["configured", "inherited", "router"])
|
|
128
|
+
}).strict();
|
|
129
|
+
var conversationReportCompactionEventDataSchema = z2.object({
|
|
130
|
+
type: z2.literal("compaction"),
|
|
131
|
+
modelProfile: z2.string().min(1).optional(),
|
|
132
|
+
modelId: z2.string().min(1).optional(),
|
|
133
|
+
details: z2.object({
|
|
134
|
+
reason: z2.literal("capacity"),
|
|
135
|
+
estimatedInputTokens: z2.number().int().nonnegative(),
|
|
136
|
+
replacementInputTokens: z2.number().int().nonnegative().optional(),
|
|
137
|
+
triggerTokens: z2.number().int().nonnegative(),
|
|
138
|
+
inputLimitTokens: z2.number().int().positive(),
|
|
139
|
+
inputMessageCount: z2.number().int().nonnegative(),
|
|
140
|
+
retainedMessageCount: z2.number().int().nonnegative(),
|
|
141
|
+
summaryChars: z2.number().int().nonnegative()
|
|
142
|
+
}).strict().optional()
|
|
143
|
+
}).strict();
|
|
121
144
|
var conversationReportHandoffEventDataSchema = z2.object({
|
|
122
145
|
type: z2.literal("handoff"),
|
|
123
146
|
modelProfile: z2.string().min(1),
|
|
@@ -139,6 +162,7 @@ var conversationReportEventDataSchema = z2.discriminatedUnion("type", [
|
|
|
139
162
|
conversationReportMessageHandledEventDataSchema,
|
|
140
163
|
conversationReportToolCallsEventDataSchema,
|
|
141
164
|
conversationReportTurnLifecycleEventDataSchema,
|
|
165
|
+
conversationReportTurnRoutedEventDataSchema,
|
|
142
166
|
conversationReportCompactionEventDataSchema,
|
|
143
167
|
conversationReportHandoffEventDataSchema,
|
|
144
168
|
conversationReportSubagentEventDataSchema
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SANDBOX_WORKSPACE_ROOT,
|
|
3
3
|
getStateAdapter
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-YU6PO42Q.js";
|
|
5
5
|
import {
|
|
6
6
|
isConversationChannel,
|
|
7
7
|
isConversationScopedChannel,
|
|
8
8
|
isDmChannel,
|
|
9
9
|
normalizeSlackConversationId
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-RD7EJI7H.js";
|
|
11
11
|
import {
|
|
12
12
|
getDb
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-FIGAF6KL.js";
|
|
14
14
|
import {
|
|
15
15
|
botConfig,
|
|
16
16
|
completeObject,
|
|
17
17
|
embedTexts,
|
|
18
18
|
standardModelId
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-ZGXH3REA.js";
|
|
20
20
|
import {
|
|
21
21
|
isActorUserId,
|
|
22
22
|
parseActorUserId
|
|
@@ -25,7 +25,7 @@ import {
|
|
|
25
25
|
logException,
|
|
26
26
|
logInfo,
|
|
27
27
|
logWarn
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-4FUEG3QY.js";
|
|
29
29
|
import {
|
|
30
30
|
parseSlackChannelReferenceId,
|
|
31
31
|
parseSlackMessageTs,
|