@sentry/junior 0.167.0 → 0.168.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-KEHBR4DB.js → agent-hooks-D7JHU7WE.js} +9 -9
- package/dist/api.js +25 -25
- package/dist/app.js +31 -31
- package/dist/{catalog-runtime-7QFMBU2Q.js → catalog-runtime-LXATMEQ6.js} +5 -5
- package/dist/{chunk-UFTE42ZF.js → chunk-24LYO2C5.js} +1 -1
- package/dist/{chunk-L63FA77C.js → chunk-2AZWPCBL.js} +1 -1
- package/dist/{chunk-5LZVDKQJ.js → chunk-2IMUHQWT.js} +4 -4
- package/dist/{chunk-V7GGA4LW.js → chunk-36ANNINB.js} +1 -1
- package/dist/{chunk-PMULUKHL.js → chunk-6MG6K3YZ.js} +3 -3
- package/dist/{chunk-6SJN7JZ3.js → chunk-76TU3ROD.js} +1 -1
- package/dist/{chunk-5IR2ABRO.js → chunk-7GXMR4MF.js} +12 -12
- package/dist/{chunk-EWAG7BNE.js → chunk-7JMIQWSP.js} +1 -1
- package/dist/{chunk-GC3AKBNP.js → chunk-AE7IUAXH.js} +7 -7
- package/dist/{chunk-CU7YQNZ3.js → chunk-AGVNNQCS.js} +4 -4
- package/dist/{chunk-PRV74X7E.js → chunk-B547UCF7.js} +5 -5
- package/dist/{chunk-HIB3XTKR.js → chunk-CHYKJIKV.js} +6 -6
- package/dist/{chunk-2RSPCWAV.js → chunk-DL4L7BBJ.js} +5 -5
- package/dist/{chunk-CC4EYBUO.js → chunk-FEJNF6FM.js} +17 -17
- package/dist/{chunk-TZHLY42G.js → chunk-GFAFJWSD.js} +1 -1
- package/dist/{chunk-MV4LDMRG.js → chunk-H4RVQPJF.js} +17 -17
- package/dist/{chunk-W72TSO24.js → chunk-HFCY2MP6.js} +1 -1
- package/dist/{chunk-O5J556I2.js → chunk-I654GTNX.js} +9 -9
- package/dist/{chunk-KE5ETKIR.js → chunk-IC2R5ZYK.js} +4 -4
- package/dist/{chunk-YVW44V5Y.js → chunk-JW5SNARN.js} +1 -1
- package/dist/{chunk-WD7PVGMA.js → chunk-JYZA27WZ.js} +1 -1
- package/dist/{chunk-2MPO25ZZ.js → chunk-KX2QWO3Z.js} +1 -1
- package/dist/{chunk-4KRDL4ZD.js → chunk-KXC3RX7T.js} +5 -5
- package/dist/{chunk-WHMDWHZX.js → chunk-ME26L5R4.js} +5 -5
- package/dist/{chunk-WZGOP5BZ.js → chunk-O6KWHWGM.js} +1 -1
- package/dist/{chunk-GIGUXRMY.js → chunk-PGEWSREG.js} +1 -1
- package/dist/{chunk-MKDIEH3C.js → chunk-RQTHGAPN.js} +2 -2
- package/dist/{chunk-WRBQL2AW.js → chunk-SA6HSGDQ.js} +2 -2
- package/dist/{chunk-BGRLZPMI.js → chunk-T5RDAC5O.js} +1 -1
- package/dist/{chunk-IHSPBOWG.js → chunk-WE6OK3UZ.js} +6 -6
- package/dist/{chunk-KSQIE2R4.js → chunk-YPLOMUS4.js} +4 -4
- package/dist/cli/chat.js +29 -29
- package/dist/cli/check.js +6 -6
- package/dist/cli/plugins.js +12 -12
- package/dist/cli/snapshot-create.js +9 -9
- package/dist/cli/upgrade.js +7 -7
- package/dist/{db-H25MZO65.js → db-J2DG77RS.js} +7 -7
- package/dist/instrumentation.js +4 -4
- package/dist/nitro.js +2 -2
- package/dist/{oauth-callback-server-BX334MQ6.js → oauth-callback-server-AZSRYN3C.js} +22 -22
- package/dist/{runner-GRWCCCKP.js → runner-U2WWTGBB.js} +12 -12
- package/dist/{skills-TG76W7TS.js → skills-VO5YJ2VN.js} +6 -6
- package/dist/spawn-KOVJQOQA.js +37 -0
- package/dist/{validation-JY6EXXR3.js → validation-ZNI5KAOD.js} +6 -6
- package/dist/version.js +1 -1
- package/dist/{work-53J6P32F.js → work-F3T7M2KC.js} +17 -17
- package/dist/worker-B3NU3RWC.js +24 -0
- package/package.json +5 -5
- package/dist/spawn-4YBTXAR2.js +0 -37
- package/dist/worker-WLLGEEQS.js +0 -24
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
import {
|
|
5
5
|
formatProviderLabel,
|
|
6
6
|
startOAuthFlow
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-CHYKJIKV.js";
|
|
8
8
|
import {
|
|
9
9
|
parseSandboxEgressAuthRequiredSignal
|
|
10
10
|
} from "./chunk-7MA4HV4W.js";
|
|
@@ -12,16 +12,16 @@ import {
|
|
|
12
12
|
abandonReplacedPendingAuth,
|
|
13
13
|
canReusePendingAuthLink,
|
|
14
14
|
recordAuthorizationRequested
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-YPLOMUS4.js";
|
|
16
16
|
import {
|
|
17
17
|
AGENT_INVOCATION_MAILBOX_STATUSES
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-JW5SNARN.js";
|
|
19
19
|
import {
|
|
20
20
|
TURN_REASONING_LEVELS
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-RQTHGAPN.js";
|
|
22
22
|
import {
|
|
23
23
|
pluginCatalogRuntime
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-2AZWPCBL.js";
|
|
25
25
|
import {
|
|
26
26
|
credentialContextSchema
|
|
27
27
|
} from "./chunk-BDUENQD3.js";
|
|
@@ -5,19 +5,19 @@ import {
|
|
|
5
5
|
isDmChannel,
|
|
6
6
|
normalizeSlackConversationId,
|
|
7
7
|
withSlackRetries
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-KXC3RX7T.js";
|
|
9
9
|
import {
|
|
10
10
|
parseDestination
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-6MG6K3YZ.js";
|
|
12
12
|
import {
|
|
13
13
|
getStateAdapter
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-HFCY2MP6.js";
|
|
15
15
|
import {
|
|
16
16
|
normalizeSlackEmojiName
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-RQTHGAPN.js";
|
|
18
18
|
import {
|
|
19
19
|
pluginCatalogRuntime
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-2AZWPCBL.js";
|
|
21
21
|
import {
|
|
22
22
|
parseSlackMessageTs,
|
|
23
23
|
parseSlackUserId
|
|
@@ -26,7 +26,7 @@ import {
|
|
|
26
26
|
isRecord,
|
|
27
27
|
logInfo,
|
|
28
28
|
logWarn
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-36ANNINB.js";
|
|
30
30
|
|
|
31
31
|
// src/chat/slack/outbound.ts
|
|
32
32
|
var MAX_SLACK_MESSAGE_TEXT_CHARS = 4e4;
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
persistConversationMessages
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-YPLOMUS4.js";
|
|
4
4
|
import {
|
|
5
5
|
JUNIOR_THREAD_STATE_TTL_MS
|
|
6
6
|
} from "./chunk-3Y47VMHV.js";
|
|
7
7
|
import {
|
|
8
8
|
getDb
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-6MG6K3YZ.js";
|
|
10
10
|
import {
|
|
11
11
|
juniorLocationConfigurations
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-JW5SNARN.js";
|
|
13
13
|
import {
|
|
14
14
|
getStateAdapter
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-HFCY2MP6.js";
|
|
16
16
|
import {
|
|
17
17
|
juniorDestinations
|
|
18
18
|
} from "./chunk-VFUK3X5B.js";
|
|
@@ -20,7 +20,7 @@ import {
|
|
|
20
20
|
isRecord,
|
|
21
21
|
toOptionalNumber,
|
|
22
22
|
toOptionalString
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-36ANNINB.js";
|
|
24
24
|
|
|
25
25
|
// src/chat/conversations/turn-lifecycle.ts
|
|
26
26
|
var ConversationTurnLifecycleService = class {
|
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
PluginCredentialFailureError,
|
|
8
8
|
agentNameSchema,
|
|
9
9
|
createPluginAuthOrchestration
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-B547UCF7.js";
|
|
11
11
|
import {
|
|
12
12
|
authorizationId
|
|
13
13
|
} from "./chunk-DIB4GX3G.js";
|
|
@@ -32,7 +32,7 @@ import {
|
|
|
32
32
|
searchSlackUsers,
|
|
33
33
|
selectPluginGrant,
|
|
34
34
|
toMcpProviderError
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-AE7IUAXH.js";
|
|
36
36
|
import {
|
|
37
37
|
RetryableDeliveryError,
|
|
38
38
|
actorFromRun,
|
|
@@ -48,7 +48,7 @@ import {
|
|
|
48
48
|
getSlackMessagePermalink,
|
|
49
49
|
resolveBaseUrl,
|
|
50
50
|
uploadFilesToConversation
|
|
51
|
-
} from "./chunk-
|
|
51
|
+
} from "./chunk-CHYKJIKV.js";
|
|
52
52
|
import {
|
|
53
53
|
parseSandboxEgressAuthRequiredSignal,
|
|
54
54
|
parseSandboxEgressPermissionDeniedSignal,
|
|
@@ -88,10 +88,10 @@ import {
|
|
|
88
88
|
scheduledTaskAttributes,
|
|
89
89
|
storeAttachments,
|
|
90
90
|
writableEventTask
|
|
91
|
-
} from "./chunk-
|
|
91
|
+
} from "./chunk-ME26L5R4.js";
|
|
92
92
|
import {
|
|
93
93
|
parseSlackThreadId
|
|
94
|
-
} from "./chunk-
|
|
94
|
+
} from "./chunk-GFAFJWSD.js";
|
|
95
95
|
import {
|
|
96
96
|
AGENTS_REMOVAL_NOTICE,
|
|
97
97
|
AGENTS_REPLACEMENT_NOTICE,
|
|
@@ -162,7 +162,7 @@ import {
|
|
|
162
162
|
stripRuntimeTurnContext,
|
|
163
163
|
trimTrailingAssistantMessages,
|
|
164
164
|
truncateText
|
|
165
|
-
} from "./chunk-
|
|
165
|
+
} from "./chunk-YPLOMUS4.js";
|
|
166
166
|
import {
|
|
167
167
|
JUNIOR_THREAD_STATE_TTL_MS
|
|
168
168
|
} from "./chunk-3Y47VMHV.js";
|
|
@@ -183,7 +183,7 @@ import {
|
|
|
183
183
|
stopSession,
|
|
184
184
|
throwSandboxOperationError,
|
|
185
185
|
wrapSandboxSetupError
|
|
186
|
-
} from "./chunk-
|
|
186
|
+
} from "./chunk-2IMUHQWT.js";
|
|
187
187
|
import {
|
|
188
188
|
privateTraceResultAttributes
|
|
189
189
|
} from "./chunk-UIE3R5XU.js";
|
|
@@ -209,7 +209,7 @@ import {
|
|
|
209
209
|
tryWorkspaceRepoCheckoutPath,
|
|
210
210
|
withSlackRetries,
|
|
211
211
|
workspaceRepoCheckoutPath
|
|
212
|
-
} from "./chunk-
|
|
212
|
+
} from "./chunk-KXC3RX7T.js";
|
|
213
213
|
import {
|
|
214
214
|
KNOWN_CONVERSATION_EVENT_TYPES,
|
|
215
215
|
contextProvenance,
|
|
@@ -221,11 +221,11 @@ import {
|
|
|
221
221
|
instructionActors,
|
|
222
222
|
instructionProvenanceFor,
|
|
223
223
|
sameActorIdentity
|
|
224
|
-
} from "./chunk-
|
|
224
|
+
} from "./chunk-6MG6K3YZ.js";
|
|
225
225
|
import {
|
|
226
226
|
juniorArtifacts,
|
|
227
227
|
juniorIdentities
|
|
228
|
-
} from "./chunk-
|
|
228
|
+
} from "./chunk-JW5SNARN.js";
|
|
229
229
|
import {
|
|
230
230
|
SANDBOX_DATA_ROOT,
|
|
231
231
|
SANDBOX_REPOS_ROOT,
|
|
@@ -241,7 +241,7 @@ import {
|
|
|
241
241
|
} from "./chunk-BVREIWBD.js";
|
|
242
242
|
import {
|
|
243
243
|
getStateAdapter
|
|
244
|
-
} from "./chunk-
|
|
244
|
+
} from "./chunk-HFCY2MP6.js";
|
|
245
245
|
import {
|
|
246
246
|
ACTIVE_TURN_COMPACTION_SUMMARY_PREFIX,
|
|
247
247
|
COMPACTION_SUMMARY_PREFIX,
|
|
@@ -274,7 +274,7 @@ import {
|
|
|
274
274
|
resolveGatewayCredential,
|
|
275
275
|
resolveGatewayModel,
|
|
276
276
|
unwrapCurrentInstruction
|
|
277
|
-
} from "./chunk-
|
|
277
|
+
} from "./chunk-RQTHGAPN.js";
|
|
278
278
|
import {
|
|
279
279
|
canExposeConversationPayload,
|
|
280
280
|
resolveConversationPrivacy,
|
|
@@ -284,16 +284,16 @@ import {
|
|
|
284
284
|
toGenAiMessagesTraceAttributes,
|
|
285
285
|
toGenAiPayloadMetadata,
|
|
286
286
|
toGenAiPayloadTraceAttributes
|
|
287
|
-
} from "./chunk-
|
|
287
|
+
} from "./chunk-O6KWHWGM.js";
|
|
288
288
|
import {
|
|
289
289
|
discoverSkills,
|
|
290
290
|
findSkillByName,
|
|
291
291
|
loadSkillsByName,
|
|
292
292
|
parseSkillInvocation
|
|
293
|
-
} from "./chunk-
|
|
293
|
+
} from "./chunk-SA6HSGDQ.js";
|
|
294
294
|
import {
|
|
295
295
|
pluginCatalogRuntime
|
|
296
|
-
} from "./chunk-
|
|
296
|
+
} from "./chunk-2AZWPCBL.js";
|
|
297
297
|
import {
|
|
298
298
|
CredentialUnavailableError,
|
|
299
299
|
OAuthProviderError,
|
|
@@ -301,7 +301,7 @@ import {
|
|
|
301
301
|
getOAuthProviderErrorAttributes,
|
|
302
302
|
resolveAuthTokenPlaceholder,
|
|
303
303
|
resolvePluginCommandEnv
|
|
304
|
-
} from "./chunk-
|
|
304
|
+
} from "./chunk-7JMIQWSP.js";
|
|
305
305
|
import {
|
|
306
306
|
credentialUserSubjectId
|
|
307
307
|
} from "./chunk-BDUENQD3.js";
|
|
@@ -329,7 +329,7 @@ import {
|
|
|
329
329
|
summarizeMessageText,
|
|
330
330
|
withLogContext,
|
|
331
331
|
withSpan
|
|
332
|
-
} from "./chunk-
|
|
332
|
+
} from "./chunk-36ANNINB.js";
|
|
333
333
|
import {
|
|
334
334
|
startInactiveSpan,
|
|
335
335
|
withActiveSpan
|
|
@@ -3,15 +3,15 @@ import {
|
|
|
3
3
|
} from "./chunk-FA6POGLH.js";
|
|
4
4
|
import {
|
|
5
5
|
getTurnRequestDeadline
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-76TU3ROD.js";
|
|
7
7
|
import {
|
|
8
8
|
buildSentryConversationUrl,
|
|
9
9
|
deleteWebAuthorization
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-KX2QWO3Z.js";
|
|
11
11
|
import {
|
|
12
12
|
ensureConversationWake,
|
|
13
13
|
requestConversationWork
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-IC2R5ZYK.js";
|
|
15
15
|
import {
|
|
16
16
|
buildDeliveredTurnStatePatch,
|
|
17
17
|
finalizeFailedTurnReplyWithEvent,
|
|
@@ -24,7 +24,7 @@ import {
|
|
|
24
24
|
requireTurnFailureEventId,
|
|
25
25
|
resolveTurnSessionRouting,
|
|
26
26
|
scheduleSessionCompletedPluginTasks
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-I654GTNX.js";
|
|
28
28
|
import {
|
|
29
29
|
ConversationTurnLifecycleService,
|
|
30
30
|
coerceThreadConversationState,
|
|
@@ -33,7 +33,7 @@ import {
|
|
|
33
33
|
getPersistedSandboxState,
|
|
34
34
|
getPersistedThreadState,
|
|
35
35
|
persistThreadStateById
|
|
36
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-DL4L7BBJ.js";
|
|
37
37
|
import {
|
|
38
38
|
getVercelConversationWorkQueue
|
|
39
39
|
} from "./chunk-WR76IVA5.js";
|
|
@@ -47,7 +47,7 @@ import {
|
|
|
47
47
|
lookupSlackUserProfile,
|
|
48
48
|
resolvePluginOAuthAccount,
|
|
49
49
|
runAgentWithTimeout
|
|
50
|
-
} from "./chunk-
|
|
50
|
+
} from "./chunk-AE7IUAXH.js";
|
|
51
51
|
import {
|
|
52
52
|
RetryableDeliveryError
|
|
53
53
|
} from "./chunk-RF6J3DIO.js";
|
|
@@ -63,13 +63,13 @@ import {
|
|
|
63
63
|
removeReactionFromMessage,
|
|
64
64
|
resolveBaseUrl,
|
|
65
65
|
truncateStatusText
|
|
66
|
-
} from "./chunk-
|
|
66
|
+
} from "./chunk-CHYKJIKV.js";
|
|
67
67
|
import {
|
|
68
68
|
parseSlackThreadId,
|
|
69
69
|
readSlackRawMessageContext,
|
|
70
70
|
resolveSlackChannelIdFromMessage,
|
|
71
71
|
resolveSlackChannelIdFromThreadId
|
|
72
|
-
} from "./chunk-
|
|
72
|
+
} from "./chunk-GFAFJWSD.js";
|
|
73
73
|
import {
|
|
74
74
|
CooperativeTurnYieldError,
|
|
75
75
|
TurnSliceLimitExceededError,
|
|
@@ -96,7 +96,7 @@ import {
|
|
|
96
96
|
recordTurnSummary,
|
|
97
97
|
saveTurnCheckpoint,
|
|
98
98
|
turnHasReply
|
|
99
|
-
} from "./chunk-
|
|
99
|
+
} from "./chunk-YPLOMUS4.js";
|
|
100
100
|
import {
|
|
101
101
|
SlackActionError,
|
|
102
102
|
getDashboardConversationLink,
|
|
@@ -105,18 +105,18 @@ import {
|
|
|
105
105
|
getSlackClient,
|
|
106
106
|
isDmChannel,
|
|
107
107
|
normalizeSlackConversationId
|
|
108
|
-
} from "./chunk-
|
|
108
|
+
} from "./chunk-KXC3RX7T.js";
|
|
109
109
|
import {
|
|
110
110
|
getConversationEventStore,
|
|
111
111
|
getSqlExecutor,
|
|
112
112
|
requireSlackDestination,
|
|
113
113
|
upsertIdentity,
|
|
114
114
|
upsertLinkedIdentity
|
|
115
|
-
} from "./chunk-
|
|
115
|
+
} from "./chunk-6MG6K3YZ.js";
|
|
116
116
|
import {
|
|
117
117
|
acquireActiveLock,
|
|
118
118
|
getStateAdapter
|
|
119
|
-
} from "./chunk-
|
|
119
|
+
} from "./chunk-HFCY2MP6.js";
|
|
120
120
|
import {
|
|
121
121
|
botConfig,
|
|
122
122
|
escapeXml,
|
|
@@ -124,18 +124,18 @@ import {
|
|
|
124
124
|
getRuntimeMetadata,
|
|
125
125
|
normalizeSlackEmojiName,
|
|
126
126
|
standardModelId
|
|
127
|
-
} from "./chunk-
|
|
127
|
+
} from "./chunk-RQTHGAPN.js";
|
|
128
128
|
import {
|
|
129
129
|
discoverSkills
|
|
130
|
-
} from "./chunk-
|
|
130
|
+
} from "./chunk-SA6HSGDQ.js";
|
|
131
131
|
import {
|
|
132
132
|
pluginCatalogRuntime
|
|
133
|
-
} from "./chunk-
|
|
133
|
+
} from "./chunk-2AZWPCBL.js";
|
|
134
134
|
import {
|
|
135
135
|
buildOAuthTokenRequest,
|
|
136
136
|
hasRequiredOAuthScope,
|
|
137
137
|
parseOAuthTokenResponse
|
|
138
|
-
} from "./chunk-
|
|
138
|
+
} from "./chunk-7JMIQWSP.js";
|
|
139
139
|
import {
|
|
140
140
|
createSlackResumeActor,
|
|
141
141
|
isUserActor,
|
|
@@ -151,7 +151,7 @@ import {
|
|
|
151
151
|
setTags,
|
|
152
152
|
toOptionalString,
|
|
153
153
|
withLogContext
|
|
154
|
-
} from "./chunk-
|
|
154
|
+
} from "./chunk-36ANNINB.js";
|
|
155
155
|
import {
|
|
156
156
|
homeDir
|
|
157
157
|
} from "./chunk-H4HBKISO.js";
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
coerceThreadConversationState,
|
|
3
3
|
getPersistedThreadState,
|
|
4
4
|
persistThreadStateById
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-DL4L7BBJ.js";
|
|
6
6
|
import {
|
|
7
7
|
pluginTaskId,
|
|
8
8
|
pluginTaskParamsSchema,
|
|
@@ -22,7 +22,7 @@ import {
|
|
|
22
22
|
markTurnCompleted,
|
|
23
23
|
normalizeToolNameFromResult,
|
|
24
24
|
stripRuntimeTurnContext
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-YPLOMUS4.js";
|
|
26
26
|
import {
|
|
27
27
|
JUNIOR_THREAD_STATE_TTL_MS
|
|
28
28
|
} from "./chunk-3Y47VMHV.js";
|
|
@@ -33,25 +33,25 @@ import {
|
|
|
33
33
|
createPluginModel,
|
|
34
34
|
createPluginState,
|
|
35
35
|
getPlugins
|
|
36
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-KXC3RX7T.js";
|
|
37
37
|
import {
|
|
38
38
|
getConversationStore,
|
|
39
39
|
getDb,
|
|
40
40
|
sameActorIdentity
|
|
41
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-6MG6K3YZ.js";
|
|
42
42
|
import {
|
|
43
43
|
juniorConversations,
|
|
44
44
|
juniorTaskExecutions
|
|
45
|
-
} from "./chunk-
|
|
45
|
+
} from "./chunk-JW5SNARN.js";
|
|
46
46
|
import {
|
|
47
47
|
getStateAdapter
|
|
48
|
-
} from "./chunk-
|
|
48
|
+
} from "./chunk-HFCY2MP6.js";
|
|
49
49
|
import {
|
|
50
50
|
ProviderError,
|
|
51
51
|
findProviderError,
|
|
52
52
|
getProviderErrorAttributes,
|
|
53
53
|
getProviderErrorUserMessage
|
|
54
|
-
} from "./chunk-
|
|
54
|
+
} from "./chunk-RQTHGAPN.js";
|
|
55
55
|
import {
|
|
56
56
|
credentialSubjectSchema
|
|
57
57
|
} from "./chunk-BDUENQD3.js";
|
|
@@ -61,7 +61,7 @@ import {
|
|
|
61
61
|
import {
|
|
62
62
|
buildTurnFailureResponse,
|
|
63
63
|
logWarn
|
|
64
|
-
} from "./chunk-
|
|
64
|
+
} from "./chunk-36ANNINB.js";
|
|
65
65
|
|
|
66
66
|
// src/chat/runtime/delivered-turn-state.ts
|
|
67
67
|
function buildDeliveredTurnStatePatch(args) {
|
|
@@ -87,7 +87,7 @@ import { pluginRunContextSchema } from "@sentry/junior-plugin-api";
|
|
|
87
87
|
|
|
88
88
|
// src/chat/services/turn-session-routing.ts
|
|
89
89
|
async function resolveTurnSessionRouting(args) {
|
|
90
|
-
const conversationStore = args.conversationStore ?? (await import("./db-
|
|
90
|
+
const conversationStore = args.conversationStore ?? (await import("./db-J2DG77RS.js")).getConversationStore();
|
|
91
91
|
const conversation = await conversationStore.get({
|
|
92
92
|
conversationId: args.conversationId
|
|
93
93
|
});
|
|
@@ -8,14 +8,14 @@ import {
|
|
|
8
8
|
getConversationStore,
|
|
9
9
|
parseDestination,
|
|
10
10
|
sameDestination
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-6MG6K3YZ.js";
|
|
12
12
|
import {
|
|
13
13
|
getDefaultRedisStateAdapterFor,
|
|
14
14
|
getStateAdapter
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-HFCY2MP6.js";
|
|
16
16
|
import {
|
|
17
17
|
getChatConfig
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-RQTHGAPN.js";
|
|
19
19
|
import {
|
|
20
20
|
parseStoredSlackActor
|
|
21
21
|
} from "./chunk-V7YE4WCP.js";
|
|
@@ -23,7 +23,7 @@ import {
|
|
|
23
23
|
isRecord,
|
|
24
24
|
toOptionalNumber,
|
|
25
25
|
toOptionalString
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-36ANNINB.js";
|
|
27
27
|
|
|
28
28
|
// src/chat/task-execution/state.ts
|
|
29
29
|
import { randomUUID } from "crypto";
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
getConversationEventStore,
|
|
3
3
|
getDb,
|
|
4
4
|
getSqlExecutor
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-6MG6K3YZ.js";
|
|
6
6
|
import {
|
|
7
7
|
juniorConversationAnnotations,
|
|
8
8
|
juniorConversationEvents,
|
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
juniorUsers,
|
|
11
11
|
juniorWorkspaceRepos,
|
|
12
12
|
juniorWorkspaces
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-JW5SNARN.js";
|
|
14
14
|
import {
|
|
15
15
|
SANDBOX_WORKSPACE_ROOT,
|
|
16
16
|
runNonInteractiveCommand,
|
|
@@ -18,14 +18,14 @@ import {
|
|
|
18
18
|
} from "./chunk-BVREIWBD.js";
|
|
19
19
|
import {
|
|
20
20
|
getStateAdapter
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-HFCY2MP6.js";
|
|
22
22
|
import {
|
|
23
23
|
botConfig,
|
|
24
24
|
completeObject,
|
|
25
25
|
embedTexts,
|
|
26
26
|
getSlackBotToken,
|
|
27
27
|
standardModelId
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-RQTHGAPN.js";
|
|
29
29
|
import {
|
|
30
30
|
isActorUserId,
|
|
31
31
|
parseActorUserId,
|
|
@@ -41,7 +41,7 @@ import {
|
|
|
41
41
|
setSpanAttributes,
|
|
42
42
|
setSpanStatus,
|
|
43
43
|
withSpan
|
|
44
|
-
} from "./chunk-
|
|
44
|
+
} from "./chunk-36ANNINB.js";
|
|
45
45
|
|
|
46
46
|
// src/chat/plugins/agent-hooks.ts
|
|
47
47
|
import {
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ToolInputError
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-YPLOMUS4.js";
|
|
4
4
|
import {
|
|
5
5
|
canRouteResourceEvents,
|
|
6
6
|
getPlugins
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-KXC3RX7T.js";
|
|
8
8
|
import {
|
|
9
9
|
getDb
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-6MG6K3YZ.js";
|
|
11
11
|
import {
|
|
12
12
|
juniorAttachments,
|
|
13
13
|
juniorConversations,
|
|
@@ -15,13 +15,13 @@ import {
|
|
|
15
15
|
juniorSchedulerRuns,
|
|
16
16
|
juniorSchedulerTasks,
|
|
17
17
|
juniorStats
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-JW5SNARN.js";
|
|
19
19
|
import {
|
|
20
20
|
juniorDestinations
|
|
21
21
|
} from "./chunk-VFUK3X5B.js";
|
|
22
22
|
import {
|
|
23
23
|
logInfo
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-36ANNINB.js";
|
|
25
25
|
|
|
26
26
|
// src/chat/sandbox/snapshot/runtime.ts
|
|
27
27
|
var SANDBOX_RUNTIME = "node22";
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
toCanonicalInputMessage,
|
|
4
4
|
toCanonicalOutputMessage,
|
|
5
5
|
toGenAiMessagesTraceAttributes
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-O6KWHWGM.js";
|
|
7
7
|
import {
|
|
8
8
|
extractGenAiUsageAttributes,
|
|
9
9
|
logException,
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
normalizeGenAiFinishReason,
|
|
12
12
|
serializeGenAiAttribute,
|
|
13
13
|
withSpan
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-36ANNINB.js";
|
|
15
15
|
|
|
16
16
|
// src/chat/services/provider-error.ts
|
|
17
17
|
var ProviderError = class extends Error {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
appendAndEnqueueInboundMessage
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-IC2R5ZYK.js";
|
|
4
4
|
import {
|
|
5
5
|
ConversationTurnLifecycleService,
|
|
6
6
|
getPersistedSandboxState,
|
|
7
7
|
getPersistedThreadState,
|
|
8
8
|
persistThreadStateById
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-DL4L7BBJ.js";
|
|
10
10
|
import {
|
|
11
11
|
AgentInvocationBusyError,
|
|
12
12
|
AgentInvocationLimitError,
|
|
@@ -15,7 +15,7 @@ import {
|
|
|
15
15
|
agentBindingSchema,
|
|
16
16
|
agentInvocationSchema,
|
|
17
17
|
createAgentInvocationSchema
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-B547UCF7.js";
|
|
19
19
|
import {
|
|
20
20
|
TurnInputCommitLostError,
|
|
21
21
|
failTurnRecord,
|
|
@@ -26,16 +26,16 @@ import {
|
|
|
26
26
|
isTurnInputCommitLostError,
|
|
27
27
|
openConversationProjection,
|
|
28
28
|
saveTurnCheckpoint
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-YPLOMUS4.js";
|
|
30
30
|
import {
|
|
31
31
|
getConversationEventStore,
|
|
32
32
|
getConversationStore,
|
|
33
33
|
getSqlExecutor
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-6MG6K3YZ.js";
|
|
35
35
|
import {
|
|
36
36
|
juniorAgentBindings,
|
|
37
37
|
juniorAgentInvocations
|
|
38
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-JW5SNARN.js";
|
|
39
39
|
|
|
40
40
|
// src/chat/agent-invocations/work.ts
|
|
41
41
|
import { z } from "zod";
|