@sentry/junior 0.152.0 → 0.153.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-U66Q3X2P.js → agent-hooks-7BWOB7SN.js} +10 -10
- package/dist/api/conversations/list.d.ts +11 -5
- package/dist/api.js +34 -28
- package/dist/app.js +32 -32
- package/dist/{catalog-runtime-CVCR7SND.js → catalog-runtime-CGUDNL3D.js} +5 -5
- package/dist/{chunk-NF733C66.js → chunk-2J4VCHRX.js} +6 -6
- package/dist/{chunk-I4LR7MS2.js → chunk-2NS3ACHB.js} +9 -9
- package/dist/{chunk-SFYDSI34.js → chunk-37LMRT7G.js} +1 -1
- package/dist/{chunk-KC5XZBRB.js → chunk-4TWLKHOM.js} +4 -4
- package/dist/{chunk-SDMVFTH4.js → chunk-5DMPHA4V.js} +18 -18
- package/dist/{chunk-3PCKG4BT.js → chunk-5QBK3QHJ.js} +4 -4
- package/dist/{chunk-UFKSILED.js → chunk-5TXDKTET.js} +5 -5
- package/dist/{chunk-3UJ3QYRV.js → chunk-5XBRH3N7.js} +10 -10
- package/dist/{chunk-AYPU5T5L.js → chunk-A5SROS6H.js} +4 -4
- package/dist/{chunk-ELAVLP7Z.js → chunk-COC65LIW.js} +1 -1
- package/dist/{chunk-WZN4RQ64.js → chunk-EPOA52SD.js} +1 -1
- package/dist/{chunk-X4RM4TBW.js → chunk-ET54Q4TD.js} +1 -1
- package/dist/{chunk-QKPIW2CY.js → chunk-FLEY546A.js} +6 -6
- package/dist/{chunk-7TZM33YX.js → chunk-HMU2QP5M.js} +1 -1
- package/dist/{chunk-Z5WLTGME.js → chunk-HOK7MEWG.js} +1 -1
- package/dist/{chunk-VD6CRYCT.js → chunk-HYEAR6HL.js} +1 -1
- package/dist/{chunk-67VR4BJK.js → chunk-ISEROVYZ.js} +5 -5
- package/dist/{chunk-KTYC3GDO.js → chunk-JAJVUQV7.js} +2 -2
- package/dist/{chunk-M6PWM3OK.js → chunk-JJAMURMR.js} +1 -1
- package/dist/{chunk-CLX3T7Q3.js → chunk-JY2HJYJT.js} +1 -1
- package/dist/{chunk-ETXLHT3S.js → chunk-K4LK6KYO.js} +4 -4
- package/dist/{chunk-N2472SQK.js → chunk-O2YXWWPM.js} +8 -8
- package/dist/{chunk-OEECXAGT.js → chunk-PGJBNO3I.js} +2 -2
- package/dist/{chunk-KW2MGCW5.js → chunk-PMJAY6JS.js} +5 -5
- package/dist/{chunk-LETPYIDF.js → chunk-RKW5QGGN.js} +1 -1
- package/dist/{chunk-RCBAXKMB.js → chunk-TIV3PX5H.js} +1 -1
- package/dist/{chunk-5LDOQV7Y.js → chunk-URFV5RWN.js} +18 -18
- package/dist/{chunk-732P2RBQ.js → chunk-VXWTGOLW.js} +1 -1
- package/dist/{chunk-TSQMITMQ.js → chunk-WTKAALLV.js} +6 -6
- package/dist/{chunk-XTLF7C4I.js → chunk-XAYXN4EG.js} +3 -3
- package/dist/{chunk-X6JP6AMX.js → chunk-XQPKMLRI.js} +1 -1
- package/dist/{chunk-KC47ZY6Q.js → chunk-YECBSG77.js} +2 -2
- package/dist/cli/chat.js +30 -30
- package/dist/cli/check.js +6 -6
- package/dist/cli/plugins.js +13 -13
- package/dist/cli/snapshot-create.js +9 -9
- package/dist/cli/upgrade.js +7 -7
- package/dist/{db-HQAZQASY.js → db-QNQM5YRR.js} +7 -7
- package/dist/instrumentation.js +4 -4
- package/dist/nitro.js +2 -2
- package/dist/{oauth-callback-server-OJONZ7T3.js → oauth-callback-server-ERQPIR27.js} +23 -23
- package/dist/{runner-BIJAVQDX.js → runner-BX46SQIE.js} +13 -13
- package/dist/{skills-SIPNY4AT.js → skills-JL44EIRX.js} +6 -6
- package/dist/spawn-W6FO32T4.js +38 -0
- package/dist/{validation-KRPOY5RQ.js → validation-UU2AIJIY.js} +6 -6
- package/dist/version.js +1 -1
- package/dist/{work-KS3JOEI2.js → work-SS7RU5CH.js} +17 -17
- package/dist/{worker-CZ5KNZUI.js → worker-5P2E7LVI.js} +11 -11
- package/package.json +4 -4
- package/dist/spawn-ABDIBQT6.js +0 -38
|
@@ -3,15 +3,15 @@ import {
|
|
|
3
3
|
} from "./chunk-FA6POGLH.js";
|
|
4
4
|
import {
|
|
5
5
|
getTurnRequestDeadline
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-HOK7MEWG.js";
|
|
7
7
|
import {
|
|
8
8
|
buildSentryConversationUrl,
|
|
9
9
|
deleteWebAuthorization
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-37LMRT7G.js";
|
|
11
11
|
import {
|
|
12
12
|
ensureConversationWake,
|
|
13
13
|
requestConversationWork
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-A5SROS6H.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-2NS3ACHB.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-ISEROVYZ.js";
|
|
37
37
|
import {
|
|
38
38
|
getVercelConversationWorkQueue
|
|
39
39
|
} from "./chunk-WR76IVA5.js";
|
|
@@ -46,7 +46,7 @@ import {
|
|
|
46
46
|
getMcpStoredOAuthCredentials,
|
|
47
47
|
lookupSlackUserProfile,
|
|
48
48
|
resolvePluginOAuthAccount
|
|
49
|
-
} from "./chunk-
|
|
49
|
+
} from "./chunk-O2YXWWPM.js";
|
|
50
50
|
import {
|
|
51
51
|
RetryableDeliveryError
|
|
52
52
|
} from "./chunk-RF6J3DIO.js";
|
|
@@ -62,13 +62,13 @@ import {
|
|
|
62
62
|
removeReactionFromMessage,
|
|
63
63
|
resolveBaseUrl,
|
|
64
64
|
truncateStatusText
|
|
65
|
-
} from "./chunk-
|
|
65
|
+
} from "./chunk-FLEY546A.js";
|
|
66
66
|
import {
|
|
67
67
|
parseSlackThreadId,
|
|
68
68
|
readSlackRawMessageContext,
|
|
69
69
|
resolveSlackChannelIdFromMessage,
|
|
70
70
|
resolveSlackChannelIdFromThreadId
|
|
71
|
-
} from "./chunk-
|
|
71
|
+
} from "./chunk-TIV3PX5H.js";
|
|
72
72
|
import {
|
|
73
73
|
CooperativeTurnYieldError,
|
|
74
74
|
TurnSliceLimitExceededError,
|
|
@@ -95,29 +95,29 @@ import {
|
|
|
95
95
|
recordTurnSummary,
|
|
96
96
|
saveTurnCheckpoint,
|
|
97
97
|
turnHasReply
|
|
98
|
-
} from "./chunk-
|
|
98
|
+
} from "./chunk-5QBK3QHJ.js";
|
|
99
99
|
import {
|
|
100
100
|
getDashboardConversationLink,
|
|
101
101
|
getPluginSlackConversationLink
|
|
102
|
-
} from "./chunk-
|
|
102
|
+
} from "./chunk-2J4VCHRX.js";
|
|
103
103
|
import {
|
|
104
104
|
SlackActionError,
|
|
105
105
|
getHeaderString,
|
|
106
106
|
getSlackClient,
|
|
107
107
|
isDmChannel,
|
|
108
108
|
normalizeSlackConversationId
|
|
109
|
-
} from "./chunk-
|
|
109
|
+
} from "./chunk-JAJVUQV7.js";
|
|
110
110
|
import {
|
|
111
111
|
getConversationEventStore,
|
|
112
112
|
getSqlExecutor,
|
|
113
113
|
requireSlackDestination,
|
|
114
114
|
upsertIdentity,
|
|
115
115
|
upsertLinkedIdentity
|
|
116
|
-
} from "./chunk-
|
|
116
|
+
} from "./chunk-XAYXN4EG.js";
|
|
117
117
|
import {
|
|
118
118
|
acquireActiveLock,
|
|
119
119
|
getStateAdapter
|
|
120
|
-
} from "./chunk-
|
|
120
|
+
} from "./chunk-XQPKMLRI.js";
|
|
121
121
|
import {
|
|
122
122
|
botConfig,
|
|
123
123
|
escapeXml,
|
|
@@ -125,18 +125,18 @@ import {
|
|
|
125
125
|
getRuntimeMetadata,
|
|
126
126
|
normalizeSlackEmojiName,
|
|
127
127
|
standardModelId
|
|
128
|
-
} from "./chunk-
|
|
128
|
+
} from "./chunk-PGJBNO3I.js";
|
|
129
129
|
import {
|
|
130
130
|
discoverSkills
|
|
131
|
-
} from "./chunk-
|
|
131
|
+
} from "./chunk-YECBSG77.js";
|
|
132
132
|
import {
|
|
133
133
|
pluginCatalogRuntime
|
|
134
|
-
} from "./chunk-
|
|
134
|
+
} from "./chunk-EPOA52SD.js";
|
|
135
135
|
import {
|
|
136
136
|
buildOAuthTokenRequest,
|
|
137
137
|
hasRequiredOAuthScope,
|
|
138
138
|
parseOAuthTokenResponse
|
|
139
|
-
} from "./chunk-
|
|
139
|
+
} from "./chunk-JY2HJYJT.js";
|
|
140
140
|
import {
|
|
141
141
|
createSlackResumeActor,
|
|
142
142
|
isUserActor
|
|
@@ -154,7 +154,7 @@ import {
|
|
|
154
154
|
setTags,
|
|
155
155
|
toOptionalString,
|
|
156
156
|
withLogContext
|
|
157
|
-
} from "./chunk-
|
|
157
|
+
} from "./chunk-HMU2QP5M.js";
|
|
158
158
|
import {
|
|
159
159
|
homeDir
|
|
160
160
|
} from "./chunk-H4HBKISO.js";
|
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
instructionProvenanceFor,
|
|
14
14
|
sanitizePostgresJson,
|
|
15
15
|
withConversationEventLock
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-XAYXN4EG.js";
|
|
17
17
|
import {
|
|
18
18
|
SANDBOX_WORKSPACE_ROOT,
|
|
19
19
|
sleep
|
|
@@ -23,14 +23,14 @@ import {
|
|
|
23
23
|
fenceLock,
|
|
24
24
|
getStateAdapter,
|
|
25
25
|
withLock
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-XQPKMLRI.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-PGJBNO3I.js";
|
|
34
34
|
import {
|
|
35
35
|
toStoredSlackActor
|
|
36
36
|
} from "./chunk-HZF5P5UN.js";
|
|
@@ -42,7 +42,7 @@ import {
|
|
|
42
42
|
logException,
|
|
43
43
|
logWarn,
|
|
44
44
|
setSpanAttributes
|
|
45
|
-
} from "./chunk-
|
|
45
|
+
} from "./chunk-HMU2QP5M.js";
|
|
46
46
|
|
|
47
47
|
// src/chat/turn-context-tag.ts
|
|
48
48
|
var TURN_CONTEXT_TAG = "runtime-turn-context";
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
import {
|
|
5
5
|
formatProviderLabel,
|
|
6
6
|
startOAuthFlow
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-FLEY546A.js";
|
|
8
8
|
import {
|
|
9
9
|
parseSandboxEgressAuthRequiredSignal
|
|
10
10
|
} from "./chunk-HUO3UTAQ.js";
|
|
@@ -12,16 +12,16 @@ import {
|
|
|
12
12
|
abandonReplacedPendingAuth,
|
|
13
13
|
canReusePendingAuthLink,
|
|
14
14
|
recordAuthorizationRequested
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-5QBK3QHJ.js";
|
|
16
16
|
import {
|
|
17
17
|
AGENT_INVOCATION_MAILBOX_STATUSES
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-ET54Q4TD.js";
|
|
19
19
|
import {
|
|
20
20
|
TURN_REASONING_LEVELS
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-PGJBNO3I.js";
|
|
22
22
|
import {
|
|
23
23
|
pluginCatalogRuntime
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-EPOA52SD.js";
|
|
25
25
|
import {
|
|
26
26
|
credentialContextSchema
|
|
27
27
|
} from "./chunk-RUIXF3YQ.js";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createWebAuthorization,
|
|
3
3
|
deleteWebAuthorization
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-37LMRT7G.js";
|
|
5
5
|
import {
|
|
6
6
|
appendAndEnqueueInboundMessage
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-A5SROS6H.js";
|
|
8
8
|
import {
|
|
9
9
|
buildDeliveredTurnStatePatch,
|
|
10
10
|
completeAuthPauseTurn,
|
|
@@ -12,20 +12,20 @@ import {
|
|
|
12
12
|
getTurnUserMessage,
|
|
13
13
|
processPluginTask,
|
|
14
14
|
scheduleSessionCompletedPluginTasks
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-2NS3ACHB.js";
|
|
16
16
|
import {
|
|
17
17
|
ConversationTurnLifecycleService,
|
|
18
18
|
coerceThreadConversationState,
|
|
19
19
|
getPersistedSandboxState,
|
|
20
20
|
getPersistedThreadState,
|
|
21
21
|
persistThreadStateById
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-ISEROVYZ.js";
|
|
23
23
|
import {
|
|
24
24
|
healthReportSchema
|
|
25
25
|
} from "./chunk-UTL3MHPC.js";
|
|
26
26
|
import {
|
|
27
27
|
parseSlackThreadId
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-TIV3PX5H.js";
|
|
29
29
|
import {
|
|
30
30
|
TurnInputCommitLostError,
|
|
31
31
|
abandonTurnRecord,
|
|
@@ -48,17 +48,17 @@ import {
|
|
|
48
48
|
saveTurnCheckpoint,
|
|
49
49
|
startActiveTurn,
|
|
50
50
|
upsertConversationMessage
|
|
51
|
-
} from "./chunk-
|
|
51
|
+
} from "./chunk-5QBK3QHJ.js";
|
|
52
52
|
import {
|
|
53
53
|
normalizeSlackConversationId
|
|
54
|
-
} from "./chunk-
|
|
54
|
+
} from "./chunk-JAJVUQV7.js";
|
|
55
55
|
import {
|
|
56
56
|
getConversationEventStore,
|
|
57
57
|
getConversationStore
|
|
58
|
-
} from "./chunk-
|
|
58
|
+
} from "./chunk-XAYXN4EG.js";
|
|
59
59
|
import {
|
|
60
60
|
getSlackBotToken
|
|
61
|
-
} from "./chunk-
|
|
61
|
+
} from "./chunk-PGJBNO3I.js";
|
|
62
62
|
import {
|
|
63
63
|
credentialContextForActor
|
|
64
64
|
} from "./chunk-RUIXF3YQ.js";
|
|
@@ -67,7 +67,7 @@ import {
|
|
|
67
67
|
logWarn,
|
|
68
68
|
setTags,
|
|
69
69
|
withLogContext
|
|
70
|
-
} from "./chunk-
|
|
70
|
+
} from "./chunk-HMU2QP5M.js";
|
|
71
71
|
|
|
72
72
|
// src/handlers/health.ts
|
|
73
73
|
function readHealthReport() {
|
|
@@ -8,14 +8,14 @@ import {
|
|
|
8
8
|
getConversationStore,
|
|
9
9
|
parseDestination,
|
|
10
10
|
sameDestination
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-XAYXN4EG.js";
|
|
12
12
|
import {
|
|
13
13
|
getDefaultRedisStateAdapterFor,
|
|
14
14
|
getStateAdapter
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-XQPKMLRI.js";
|
|
16
16
|
import {
|
|
17
17
|
getChatConfig
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-PGJBNO3I.js";
|
|
19
19
|
import {
|
|
20
20
|
parseStoredSlackActor
|
|
21
21
|
} from "./chunk-HZF5P5UN.js";
|
|
@@ -23,7 +23,7 @@ import {
|
|
|
23
23
|
isRecord,
|
|
24
24
|
toOptionalNumber,
|
|
25
25
|
toOptionalString
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-HMU2QP5M.js";
|
|
27
27
|
|
|
28
28
|
// src/chat/task-execution/state.ts
|
|
29
29
|
import { randomUUID } from "crypto";
|
|
@@ -4,19 +4,19 @@ import {
|
|
|
4
4
|
isDmChannel,
|
|
5
5
|
normalizeSlackConversationId,
|
|
6
6
|
withSlackRetries
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-JAJVUQV7.js";
|
|
8
8
|
import {
|
|
9
9
|
parseDestination
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-XAYXN4EG.js";
|
|
11
11
|
import {
|
|
12
12
|
getStateAdapter
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-XQPKMLRI.js";
|
|
14
14
|
import {
|
|
15
15
|
normalizeSlackEmojiName
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-PGJBNO3I.js";
|
|
17
17
|
import {
|
|
18
18
|
pluginCatalogRuntime
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-EPOA52SD.js";
|
|
20
20
|
import {
|
|
21
21
|
parseSlackMessageTs,
|
|
22
22
|
parseSlackUserId
|
|
@@ -25,7 +25,7 @@ import {
|
|
|
25
25
|
isRecord,
|
|
26
26
|
logInfo,
|
|
27
27
|
logWarn
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-HMU2QP5M.js";
|
|
29
29
|
|
|
30
30
|
// src/chat/slack/outbound.ts
|
|
31
31
|
var MAX_SLACK_MESSAGE_TEXT_CHARS = 4e4;
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
persistConversationMessages
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-5QBK3QHJ.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-XAYXN4EG.js";
|
|
10
10
|
import {
|
|
11
11
|
juniorLocationConfigurations
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-ET54Q4TD.js";
|
|
13
13
|
import {
|
|
14
14
|
getStateAdapter
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-XQPKMLRI.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-HMU2QP5M.js";
|
|
24
24
|
|
|
25
25
|
// src/chat/conversations/turn-lifecycle.ts
|
|
26
26
|
var ConversationTurnLifecycleService = class {
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
} from "./chunk-EM225ITJ.js";
|
|
4
4
|
import {
|
|
5
5
|
getSlackBotToken
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-PGJBNO3I.js";
|
|
7
7
|
import {
|
|
8
8
|
parseSlackChannelReferenceId
|
|
9
9
|
} from "./chunk-F3B2YJ76.js";
|
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
setSpanAttributes,
|
|
13
13
|
setSpanStatus,
|
|
14
14
|
withSpan
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-HMU2QP5M.js";
|
|
16
16
|
|
|
17
17
|
// src/chat/slack/client.ts
|
|
18
18
|
import { AsyncLocalStorage as AsyncLocalStorage2 } from "async_hooks";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getTurnRequestDeadline
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-HOK7MEWG.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-A5SROS6H.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-PGJBNO3I.js";
|
|
32
32
|
import {
|
|
33
33
|
logException,
|
|
34
34
|
logInfo,
|
|
35
35
|
logWarn,
|
|
36
36
|
withLogContext
|
|
37
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-HMU2QP5M.js";
|
|
38
38
|
|
|
39
39
|
// src/chat/task-execution/worker.ts
|
|
40
40
|
var CONVERSATION_WORK_DEFER_DELAY_MS = 15e3;
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import {
|
|
2
2
|
resolveBaseUrl
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-FLEY546A.js";
|
|
4
4
|
import {
|
|
5
5
|
createPluginLogger,
|
|
6
6
|
getPlugins
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-2J4VCHRX.js";
|
|
8
8
|
import {
|
|
9
9
|
getSlackClient,
|
|
10
10
|
withSlackRetries
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-JAJVUQV7.js";
|
|
12
12
|
import {
|
|
13
13
|
getDb,
|
|
14
14
|
parseDestination
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-XAYXN4EG.js";
|
|
16
16
|
import {
|
|
17
17
|
sleep
|
|
18
18
|
} from "./chunk-EM225ITJ.js";
|
|
19
19
|
import {
|
|
20
20
|
acquireActiveLock,
|
|
21
21
|
getStateAdapter
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-XQPKMLRI.js";
|
|
23
23
|
import {
|
|
24
24
|
pluginCatalogRuntime
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-EPOA52SD.js";
|
|
26
26
|
import {
|
|
27
27
|
fetchWithBoundedOAuthErrorBodies
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-JY2HJYJT.js";
|
|
29
29
|
import {
|
|
30
30
|
isRecord
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-HMU2QP5M.js";
|
|
32
32
|
|
|
33
33
|
// src/chat/capabilities/router.ts
|
|
34
34
|
var ProviderCredentialRouter = class {
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
toCanonicalInputMessage,
|
|
4
4
|
toCanonicalOutputMessage,
|
|
5
5
|
toGenAiMessagesTraceAttributes
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-VXWTGOLW.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-HMU2QP5M.js";
|
|
15
15
|
|
|
16
16
|
// src/chat/services/provider-error.ts
|
|
17
17
|
var ProviderError = class extends Error {
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ToolInputError
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-5QBK3QHJ.js";
|
|
4
4
|
import {
|
|
5
5
|
canRouteResourceEvents,
|
|
6
6
|
getPlugins
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-2J4VCHRX.js";
|
|
8
8
|
import {
|
|
9
9
|
getDb
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-XAYXN4EG.js";
|
|
11
11
|
import {
|
|
12
12
|
juniorEventTasks,
|
|
13
13
|
juniorSchedulerRuns,
|
|
14
14
|
juniorSchedulerTasks,
|
|
15
15
|
juniorStats
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-ET54Q4TD.js";
|
|
17
17
|
import {
|
|
18
18
|
juniorDestinations
|
|
19
19
|
} from "./chunk-VFUK3X5B.js";
|
|
20
20
|
import {
|
|
21
21
|
logInfo
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-HMU2QP5M.js";
|
|
23
23
|
|
|
24
24
|
// src/chat/event-tasks/store.ts
|
|
25
25
|
import { and, asc, desc, eq, inArray, or, sql } from "drizzle-orm";
|