@sentry/junior 0.175.0 → 0.176.1
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-DOXAOEHI.js → agent-hooks-ZCRXEWPE.js} +12 -12
- package/dist/api.js +26 -26
- package/dist/app.js +256 -342
- package/dist/{catalog-runtime-OTFZT3R2.js → catalog-runtime-O7ZMK27R.js} +5 -5
- package/dist/chat/agent-dispatch/heartbeat.d.ts +1 -1
- package/dist/chat/agent-dispatch/store.d.ts +3 -16
- package/dist/chat/resource-events/catalog.d.ts +2 -2
- package/dist/chat/resource-events/notification.d.ts +1 -1
- package/dist/{chunk-2XWTVTLS.js → chunk-425VJ2C7.js} +1 -1
- package/dist/{chunk-RG6JSBDJ.js → chunk-4BO7CQTP.js} +1 -1
- package/dist/{chunk-2AEUOTQL.js → chunk-4OLTNDE5.js} +1 -1
- package/dist/{chunk-YMBCD6FB.js → chunk-53D4PCKF.js} +6 -6
- package/dist/{chunk-RAV6B2TQ.js → chunk-7V5CF6SH.js} +2 -2
- package/dist/{chunk-UQURHDWJ.js → chunk-B74MKQA3.js} +4 -4
- package/dist/{chunk-2WCXOLNX.js → chunk-BTAXMONT.js} +2 -2
- package/dist/{chunk-HVI3ZLMV.js → chunk-BV66CCPV.js} +1 -1
- package/dist/{chunk-DVWHUWTB.js → chunk-DKQC4BZG.js} +12 -12
- package/dist/{chunk-JLHYNMXZ.js → chunk-DKXXKOHJ.js} +6 -6
- package/dist/{chunk-GBDCHVNI.js → chunk-F4K7AAHQ.js} +5 -5
- package/dist/{chunk-I7F7WVUW.js → chunk-FFQR4YEB.js} +6 -6
- package/dist/{chunk-K4SGLRWX.js → chunk-G26PYGXP.js} +6 -6
- package/dist/{chunk-XL24YNNO.js → chunk-GUIEHC3H.js} +1 -1
- package/dist/{chunk-CSV5XEQN.js → chunk-H4WJ6GCS.js} +1 -1
- package/dist/{chunk-T3RN2B3T.js → chunk-I2OSXB2S.js} +13 -55
- package/dist/{chunk-PQV33DEV.js → chunk-I7VX7SFH.js} +4 -4
- package/dist/{chunk-HHAR5IDU.js → chunk-IKIQ6N44.js} +6 -6
- package/dist/{chunk-DSZNZ7AW.js → chunk-KMZ54JGE.js} +18 -18
- package/dist/{chunk-NBE6DME6.js → chunk-NBASTXA5.js} +1 -1
- package/dist/{chunk-RMANRIHC.js → chunk-O72OX3BI.js} +5 -5
- package/dist/{chunk-WHKREAVX.js → chunk-OCK3LT7D.js} +1 -1
- package/dist/{chunk-6KKCC7CG.js → chunk-OYQSJ2NN.js} +4 -4
- package/dist/{chunk-46BUAC7H.js → chunk-QD27ZPYB.js} +3 -3
- package/dist/{chunk-VMVTHLJM.js → chunk-QHEYFDCZ.js} +1 -1
- package/dist/{chunk-WNQBHYAQ.js → chunk-RTNSAKYV.js} +1 -1
- package/dist/{chunk-KGKKBFOI.js → chunk-SZPWKEVR.js} +1 -1
- package/dist/{chunk-YUUMDYLN.js → chunk-VRWFZY2Q.js} +1 -1
- package/dist/{chunk-GLYH4OBP.js → chunk-X3M2JJGL.js} +1 -1
- package/dist/{chunk-TYSWSX3M.js → chunk-XGGLAKES.js} +8 -8
- package/dist/{chunk-4CVWSS6Q.js → chunk-YGIPCZZD.js} +1 -1
- package/dist/{chunk-V7QS3Z53.js → chunk-ZO7WMPPR.js} +17 -17
- 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 +10 -10
- package/dist/cli/upgrade.js +7 -7
- package/dist/{db-B7NVPW7Y.js → db-N4UWAT3N.js} +7 -7
- package/dist/instrumentation.js +4 -4
- package/dist/nitro.js +2 -2
- package/dist/{oauth-callback-server-TMTQK74Z.js → oauth-callback-server-BYURWP3V.js} +23 -23
- package/dist/{runner-HROVFS4C.js → runner-AYSX73AQ.js} +15 -15
- package/dist/{skills-77LC6PFU.js → skills-L4ZYR5E3.js} +6 -6
- package/dist/spawn-GXHJJJYU.js +37 -0
- package/dist/{validation-EL4J4FYB.js → validation-AAFNNQUZ.js} +6 -6
- package/dist/version.js +1 -1
- package/dist/{work-5UQRXUOD.js → work-JHA35XRS.js} +18 -18
- package/dist/worker-F3BYG2FG.js +24 -0
- package/package.json +5 -5
- package/dist/chat/agent-dispatch/signing.d.ts +0 -14
- package/dist/handlers/agent-dispatch.d.ts +0 -12
- package/dist/spawn-JBWVVXIL.js +0 -37
- package/dist/worker-3FBM4GWV.js +0 -24
|
@@ -8,14 +8,14 @@ import {
|
|
|
8
8
|
getConversationStore,
|
|
9
9
|
parseDestination,
|
|
10
10
|
sameDestination
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-QD27ZPYB.js";
|
|
12
12
|
import {
|
|
13
13
|
getDefaultRedisStateAdapterFor,
|
|
14
14
|
getStateAdapter
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-H4WJ6GCS.js";
|
|
16
16
|
import {
|
|
17
17
|
getChatConfig
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-7V5CF6SH.js";
|
|
19
19
|
import {
|
|
20
20
|
parseStoredSlackActor
|
|
21
21
|
} from "./chunk-M63DETLL.js";
|
|
@@ -23,7 +23,7 @@ import {
|
|
|
23
23
|
isRecord,
|
|
24
24
|
toOptionalNumber,
|
|
25
25
|
toOptionalString
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-QHEYFDCZ.js";
|
|
27
27
|
|
|
28
28
|
// src/chat/task-execution/state.ts
|
|
29
29
|
import { randomUUID } from "crypto";
|
|
@@ -5,19 +5,19 @@ import {
|
|
|
5
5
|
isDmChannel,
|
|
6
6
|
normalizeSlackConversationId,
|
|
7
7
|
withSlackRetries
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-G26PYGXP.js";
|
|
9
9
|
import {
|
|
10
10
|
parseDestination
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-QD27ZPYB.js";
|
|
12
12
|
import {
|
|
13
13
|
getStateAdapter
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-H4WJ6GCS.js";
|
|
15
15
|
import {
|
|
16
16
|
normalizeSlackEmojiName
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-7V5CF6SH.js";
|
|
18
18
|
import {
|
|
19
19
|
pluginCatalogRuntime
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-GUIEHC3H.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-QHEYFDCZ.js";
|
|
30
30
|
|
|
31
31
|
// src/chat/slack/outbound.ts
|
|
32
32
|
var MAX_SLACK_MESSAGE_TEXT_CHARS = 4e4;
|
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
PluginCredentialFailureError,
|
|
8
8
|
agentNameSchema,
|
|
9
9
|
createPluginAuthOrchestration
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-F4K7AAHQ.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-XGGLAKES.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-IKIQ6N44.js";
|
|
52
52
|
import {
|
|
53
53
|
parseSandboxEgressAuthRequiredSignal,
|
|
54
54
|
parseSandboxEgressPermissionDeniedSignal,
|
|
@@ -87,10 +87,10 @@ import {
|
|
|
87
87
|
scheduledTaskAttributes,
|
|
88
88
|
storeAttachments,
|
|
89
89
|
writableEventTask
|
|
90
|
-
} from "./chunk-
|
|
90
|
+
} from "./chunk-FFQR4YEB.js";
|
|
91
91
|
import {
|
|
92
92
|
parseSlackThreadId
|
|
93
|
-
} from "./chunk-
|
|
93
|
+
} from "./chunk-RTNSAKYV.js";
|
|
94
94
|
import {
|
|
95
95
|
AGENTS_REMOVAL_NOTICE,
|
|
96
96
|
AGENTS_REPLACEMENT_NOTICE,
|
|
@@ -160,7 +160,7 @@ import {
|
|
|
160
160
|
stripRuntimeTurnContext,
|
|
161
161
|
trimTrailingAssistantMessages,
|
|
162
162
|
truncateText
|
|
163
|
-
} from "./chunk-
|
|
163
|
+
} from "./chunk-53D4PCKF.js";
|
|
164
164
|
import {
|
|
165
165
|
bindSandboxFileSystem,
|
|
166
166
|
createSandboxSession,
|
|
@@ -176,7 +176,7 @@ import {
|
|
|
176
176
|
stopSession,
|
|
177
177
|
throwSandboxOperationError,
|
|
178
178
|
wrapSandboxSetupError
|
|
179
|
-
} from "./chunk-
|
|
179
|
+
} from "./chunk-B74MKQA3.js";
|
|
180
180
|
import {
|
|
181
181
|
privateTraceResultAttributes
|
|
182
182
|
} from "./chunk-UIE3R5XU.js";
|
|
@@ -219,7 +219,7 @@ import {
|
|
|
219
219
|
updateWorkspace,
|
|
220
220
|
withSlackRetries,
|
|
221
221
|
workspaceRepoCheckoutPath
|
|
222
|
-
} from "./chunk-
|
|
222
|
+
} from "./chunk-G26PYGXP.js";
|
|
223
223
|
import {
|
|
224
224
|
KNOWN_CONVERSATION_EVENT_TYPES,
|
|
225
225
|
contextProvenance,
|
|
@@ -231,11 +231,11 @@ import {
|
|
|
231
231
|
instructionActors,
|
|
232
232
|
instructionProvenanceFor,
|
|
233
233
|
sameActorIdentity
|
|
234
|
-
} from "./chunk-
|
|
234
|
+
} from "./chunk-QD27ZPYB.js";
|
|
235
235
|
import {
|
|
236
236
|
juniorArtifacts,
|
|
237
237
|
juniorIdentities
|
|
238
|
-
} from "./chunk-
|
|
238
|
+
} from "./chunk-4BO7CQTP.js";
|
|
239
239
|
import {
|
|
240
240
|
SANDBOX_DATA_ROOT,
|
|
241
241
|
SANDBOX_REPOS_ROOT,
|
|
@@ -250,10 +250,10 @@ import {
|
|
|
250
250
|
sandboxSkillFile,
|
|
251
251
|
sandboxSkillPathResolution,
|
|
252
252
|
sleep
|
|
253
|
-
} from "./chunk-
|
|
253
|
+
} from "./chunk-VRWFZY2Q.js";
|
|
254
254
|
import {
|
|
255
255
|
getStateAdapter
|
|
256
|
-
} from "./chunk-
|
|
256
|
+
} from "./chunk-H4WJ6GCS.js";
|
|
257
257
|
import {
|
|
258
258
|
ACTIVE_TURN_COMPACTION_SUMMARY_PREFIX,
|
|
259
259
|
COMPACTION_SUMMARY_PREFIX,
|
|
@@ -286,7 +286,7 @@ import {
|
|
|
286
286
|
resolveGatewayCredential,
|
|
287
287
|
resolveGatewayModel,
|
|
288
288
|
unwrapCurrentInstruction
|
|
289
|
-
} from "./chunk-
|
|
289
|
+
} from "./chunk-7V5CF6SH.js";
|
|
290
290
|
import {
|
|
291
291
|
canExposeConversationPayload,
|
|
292
292
|
resolveConversationPrivacy,
|
|
@@ -296,16 +296,16 @@ import {
|
|
|
296
296
|
toGenAiMessagesTraceAttributes,
|
|
297
297
|
toGenAiPayloadMetadata,
|
|
298
298
|
toGenAiPayloadTraceAttributes
|
|
299
|
-
} from "./chunk-
|
|
299
|
+
} from "./chunk-NBASTXA5.js";
|
|
300
300
|
import {
|
|
301
301
|
discoverSkills,
|
|
302
302
|
findSkillByName,
|
|
303
303
|
loadSkillsByName,
|
|
304
304
|
parseSkillInvocation
|
|
305
|
-
} from "./chunk-
|
|
305
|
+
} from "./chunk-BTAXMONT.js";
|
|
306
306
|
import {
|
|
307
307
|
pluginCatalogRuntime
|
|
308
|
-
} from "./chunk-
|
|
308
|
+
} from "./chunk-GUIEHC3H.js";
|
|
309
309
|
import {
|
|
310
310
|
CredentialUnavailableError,
|
|
311
311
|
OAuthProviderError,
|
|
@@ -313,7 +313,7 @@ import {
|
|
|
313
313
|
getOAuthProviderErrorAttributes,
|
|
314
314
|
resolveAuthTokenPlaceholder,
|
|
315
315
|
resolvePluginCommandEnv
|
|
316
|
-
} from "./chunk-
|
|
316
|
+
} from "./chunk-4OLTNDE5.js";
|
|
317
317
|
import {
|
|
318
318
|
credentialUserSubjectId
|
|
319
319
|
} from "./chunk-CGA4ERJ5.js";
|
|
@@ -343,7 +343,7 @@ import {
|
|
|
343
343
|
summarizeMessageText,
|
|
344
344
|
withLogContext,
|
|
345
345
|
withSpan
|
|
346
|
-
} from "./chunk-
|
|
346
|
+
} from "./chunk-QHEYFDCZ.js";
|
|
347
347
|
import {
|
|
348
348
|
startInactiveSpan,
|
|
349
349
|
withActiveSpan
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
persistConversationMessages
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-53D4PCKF.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-QD27ZPYB.js";
|
|
10
10
|
import {
|
|
11
11
|
juniorLocationConfigurations
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-4BO7CQTP.js";
|
|
13
13
|
import {
|
|
14
14
|
getStateAdapter
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-H4WJ6GCS.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-QHEYFDCZ.js";
|
|
24
24
|
|
|
25
25
|
// src/chat/conversations/turn-lifecycle.ts
|
|
26
26
|
var ConversationTurnLifecycleService = class {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getTurnRequestDeadline
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-425VJ2C7.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-I7VX7SFH.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-7V5CF6SH.js";
|
|
32
32
|
import {
|
|
33
33
|
logException,
|
|
34
34
|
logInfo,
|
|
35
35
|
logWarn,
|
|
36
36
|
withLogContext
|
|
37
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-QHEYFDCZ.js";
|
|
38
38
|
|
|
39
39
|
// src/chat/task-execution/worker.ts
|
|
40
40
|
var CONVERSATION_WORK_DEFER_DELAY_MS = 15e3;
|
|
@@ -7,12 +7,12 @@ import {
|
|
|
7
7
|
juniorConversations,
|
|
8
8
|
juniorIdentities,
|
|
9
9
|
juniorUsers
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-4BO7CQTP.js";
|
|
11
11
|
import {
|
|
12
12
|
TURN_REASONING_LEVELS,
|
|
13
13
|
getChatConfig,
|
|
14
14
|
modelProfileSchema
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-7V5CF6SH.js";
|
|
16
16
|
import {
|
|
17
17
|
juniorDestinations
|
|
18
18
|
} from "./chunk-VFUK3X5B.js";
|
|
@@ -23,7 +23,7 @@ import {
|
|
|
23
23
|
} from "./chunk-M63DETLL.js";
|
|
24
24
|
import {
|
|
25
25
|
normalizeIdentityEmail
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-QHEYFDCZ.js";
|
|
27
27
|
|
|
28
28
|
// src/chat/conversations/sql/store.ts
|
|
29
29
|
import { randomUUID as randomUUID2 } from "crypto";
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
} from "./chunk-RF6J3DIO.js";
|
|
4
4
|
import {
|
|
5
5
|
resolveBaseUrl
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-IKIQ6N44.js";
|
|
7
7
|
import {
|
|
8
8
|
isExperimentalFeatureEnabled
|
|
9
9
|
} from "./chunk-VRS6WDK5.js";
|
|
@@ -12,27 +12,27 @@ import {
|
|
|
12
12
|
getPlugins,
|
|
13
13
|
getSlackClient,
|
|
14
14
|
withSlackRetries
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-G26PYGXP.js";
|
|
16
16
|
import {
|
|
17
17
|
getDb,
|
|
18
18
|
parseDestination
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-QD27ZPYB.js";
|
|
20
20
|
import {
|
|
21
21
|
sleep
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-VRWFZY2Q.js";
|
|
23
23
|
import {
|
|
24
24
|
acquireActiveLock,
|
|
25
25
|
getStateAdapter
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-H4WJ6GCS.js";
|
|
27
27
|
import {
|
|
28
28
|
pluginCatalogRuntime
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-GUIEHC3H.js";
|
|
30
30
|
import {
|
|
31
31
|
fetchWithBoundedOAuthErrorBodies
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-4OLTNDE5.js";
|
|
33
33
|
import {
|
|
34
34
|
isRecord
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-QHEYFDCZ.js";
|
|
36
36
|
|
|
37
37
|
// src/chat/capabilities/router.ts
|
|
38
38
|
var ProviderCredentialRouter = class {
|
|
@@ -3,15 +3,15 @@ import {
|
|
|
3
3
|
} from "./chunk-FA6POGLH.js";
|
|
4
4
|
import {
|
|
5
5
|
getTurnRequestDeadline
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-425VJ2C7.js";
|
|
7
7
|
import {
|
|
8
8
|
buildSentryConversationUrl,
|
|
9
9
|
deleteWebAuthorization
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-X3M2JJGL.js";
|
|
11
11
|
import {
|
|
12
12
|
ensureConversationWake,
|
|
13
13
|
requestConversationWork
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-I7VX7SFH.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-I2OSXB2S.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-O72OX3BI.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-XGGLAKES.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-IKIQ6N44.js";
|
|
67
67
|
import {
|
|
68
68
|
parseSlackThreadId,
|
|
69
69
|
readSlackRawMessageContext,
|
|
70
70
|
resolveSlackChannelIdFromMessage,
|
|
71
71
|
resolveSlackChannelIdFromThreadId
|
|
72
|
-
} from "./chunk-
|
|
72
|
+
} from "./chunk-RTNSAKYV.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-53D4PCKF.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-G26PYGXP.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-QD27ZPYB.js";
|
|
116
116
|
import {
|
|
117
117
|
acquireActiveLock,
|
|
118
118
|
getStateAdapter
|
|
119
|
-
} from "./chunk-
|
|
119
|
+
} from "./chunk-H4WJ6GCS.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-7V5CF6SH.js";
|
|
128
128
|
import {
|
|
129
129
|
discoverSkills
|
|
130
|
-
} from "./chunk-
|
|
130
|
+
} from "./chunk-BTAXMONT.js";
|
|
131
131
|
import {
|
|
132
132
|
pluginCatalogRuntime
|
|
133
|
-
} from "./chunk-
|
|
133
|
+
} from "./chunk-GUIEHC3H.js";
|
|
134
134
|
import {
|
|
135
135
|
buildOAuthTokenRequest,
|
|
136
136
|
hasRequiredOAuthScope,
|
|
137
137
|
parseOAuthTokenResponse
|
|
138
|
-
} from "./chunk-
|
|
138
|
+
} from "./chunk-4OLTNDE5.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-QHEYFDCZ.js";
|
|
155
155
|
import {
|
|
156
156
|
homeDir
|
|
157
157
|
} from "./chunk-H4HBKISO.js";
|
package/dist/cli/chat.js
CHANGED
|
@@ -1,44 +1,44 @@
|
|
|
1
1
|
import {
|
|
2
2
|
executeAgentRun
|
|
3
|
-
} from "../chunk-
|
|
4
|
-
import "../chunk-
|
|
3
|
+
} from "../chunk-KMZ54JGE.js";
|
|
4
|
+
import "../chunk-F4K7AAHQ.js";
|
|
5
5
|
import "../chunk-DIB4GX3G.js";
|
|
6
6
|
import {
|
|
7
7
|
createAgentRunner
|
|
8
|
-
} from "../chunk-
|
|
8
|
+
} from "../chunk-XGGLAKES.js";
|
|
9
9
|
import "../chunk-RF6J3DIO.js";
|
|
10
|
-
import "../chunk-
|
|
10
|
+
import "../chunk-IKIQ6N44.js";
|
|
11
11
|
import "../chunk-6ZWRNC4D.js";
|
|
12
12
|
import "../chunk-VRS6WDK5.js";
|
|
13
|
-
import "../chunk-
|
|
14
|
-
import "../chunk-
|
|
15
|
-
import "../chunk-
|
|
16
|
-
import "../chunk-
|
|
13
|
+
import "../chunk-FFQR4YEB.js";
|
|
14
|
+
import "../chunk-RTNSAKYV.js";
|
|
15
|
+
import "../chunk-53D4PCKF.js";
|
|
16
|
+
import "../chunk-B74MKQA3.js";
|
|
17
17
|
import "../chunk-PDO5BLNM.js";
|
|
18
18
|
import "../chunk-UIE3R5XU.js";
|
|
19
19
|
import {
|
|
20
20
|
loadAppPluginSet
|
|
21
21
|
} from "../chunk-Y2CM7HXH.js";
|
|
22
|
-
import "../chunk-
|
|
22
|
+
import "../chunk-G26PYGXP.js";
|
|
23
23
|
import "../chunk-3Y47VMHV.js";
|
|
24
|
-
import "../chunk-
|
|
25
|
-
import "../chunk-
|
|
26
|
-
import "../chunk-
|
|
27
|
-
import "../chunk-
|
|
28
|
-
import "../chunk-
|
|
24
|
+
import "../chunk-QD27ZPYB.js";
|
|
25
|
+
import "../chunk-4BO7CQTP.js";
|
|
26
|
+
import "../chunk-VRWFZY2Q.js";
|
|
27
|
+
import "../chunk-H4WJ6GCS.js";
|
|
28
|
+
import "../chunk-7V5CF6SH.js";
|
|
29
29
|
import "../chunk-VFUK3X5B.js";
|
|
30
|
-
import "../chunk-
|
|
31
|
-
import "../chunk-
|
|
32
|
-
import "../chunk-
|
|
33
|
-
import "../chunk-
|
|
30
|
+
import "../chunk-NBASTXA5.js";
|
|
31
|
+
import "../chunk-BTAXMONT.js";
|
|
32
|
+
import "../chunk-GUIEHC3H.js";
|
|
33
|
+
import "../chunk-4OLTNDE5.js";
|
|
34
34
|
import "../chunk-CGA4ERJ5.js";
|
|
35
35
|
import "../chunk-M63DETLL.js";
|
|
36
|
-
import "../chunk-
|
|
36
|
+
import "../chunk-QHEYFDCZ.js";
|
|
37
37
|
import "../chunk-6GWA276C.js";
|
|
38
38
|
import "../chunk-OOUNJNMR.js";
|
|
39
39
|
import "../chunk-H4HBKISO.js";
|
|
40
|
-
import "../chunk-
|
|
41
|
-
import "../chunk-
|
|
40
|
+
import "../chunk-BV66CCPV.js";
|
|
41
|
+
import "../chunk-YGIPCZZD.js";
|
|
42
42
|
import "../chunk-MLKGABMK.js";
|
|
43
43
|
|
|
44
44
|
// src/cli/chat.ts
|
|
@@ -161,10 +161,10 @@ async function configureLocalChatPlugins(pluginSet) {
|
|
|
161
161
|
databaseModule
|
|
162
162
|
] = await Promise.all([
|
|
163
163
|
import("../plugins-HW4VWW6G.js"),
|
|
164
|
-
import("../agent-hooks-
|
|
165
|
-
import("../catalog-runtime-
|
|
166
|
-
import("../validation-
|
|
167
|
-
import("../db-
|
|
164
|
+
import("../agent-hooks-ZCRXEWPE.js"),
|
|
165
|
+
import("../catalog-runtime-O7ZMK27R.js"),
|
|
166
|
+
import("../validation-AAFNNQUZ.js"),
|
|
167
|
+
import("../db-N4UWAT3N.js")
|
|
168
168
|
]);
|
|
169
169
|
const resolvedPluginSet = pluginSet === void 0 ? await loadLocalPluginSet() : pluginSet ?? void 0;
|
|
170
170
|
const plugins = pluginsModule.pluginRuntimeRegistrationsFromPluginSet(resolvedPluginSet);
|
|
@@ -230,14 +230,14 @@ async function prepareLocalChatRun(io, pluginSet) {
|
|
|
230
230
|
await configureLocalChatPlugins(pluginSet);
|
|
231
231
|
const { setExperimentalFeatures } = await import("../experimental-XVDOSRBS.js");
|
|
232
232
|
setExperimentalFeatures({ subagents: true });
|
|
233
|
-
const { runLocalAgentTurn } = await import("../runner-
|
|
234
|
-
const { startLocalOAuthCallbackServer } = await import("../oauth-callback-server-
|
|
233
|
+
const { runLocalAgentTurn } = await import("../runner-AYSX73AQ.js");
|
|
234
|
+
const { startLocalOAuthCallbackServer } = await import("../oauth-callback-server-BYURWP3V.js");
|
|
235
235
|
const { createLocalOAuthState } = await import("../oauth-relay-3ZU72UGL.js");
|
|
236
236
|
const { createLocalSandboxEgressSignalTransport } = await import("../sandbox-egress-signals-DXOOBSBI.js");
|
|
237
|
-
const { bindSpawnAgent } = await import("../spawn-
|
|
238
|
-
const { createAgentInvocationWorker, routeAgentInvocationWork } = await import("../work-
|
|
237
|
+
const { bindSpawnAgent } = await import("../spawn-GXHJJJYU.js");
|
|
238
|
+
const { createAgentInvocationWorker, routeAgentInvocationWork } = await import("../work-JHA35XRS.js");
|
|
239
239
|
const { createLocalConversationWork } = await import("../conversation-work-KATFHLG3.js");
|
|
240
|
-
const { processConversationWork } = await import("../worker-
|
|
240
|
+
const { processConversationWork } = await import("../worker-F3BYG2FG.js");
|
|
241
241
|
let agentRunner;
|
|
242
242
|
const localConversationWork = createLocalConversationWork(async (message) => {
|
|
243
243
|
if (!agentRunner) {
|
package/dist/cli/check.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
parseSkillFile
|
|
3
|
-
} from "../chunk-
|
|
4
|
-
import "../chunk-
|
|
3
|
+
} from "../chunk-BTAXMONT.js";
|
|
4
|
+
import "../chunk-GUIEHC3H.js";
|
|
5
5
|
import {
|
|
6
6
|
parseInlinePluginManifest,
|
|
7
7
|
parsePluginManifest
|
|
8
|
-
} from "../chunk-
|
|
8
|
+
} from "../chunk-4OLTNDE5.js";
|
|
9
9
|
import "../chunk-CGA4ERJ5.js";
|
|
10
10
|
import "../chunk-M63DETLL.js";
|
|
11
|
-
import "../chunk-
|
|
11
|
+
import "../chunk-QHEYFDCZ.js";
|
|
12
12
|
import "../chunk-6GWA276C.js";
|
|
13
13
|
import "../chunk-OOUNJNMR.js";
|
|
14
14
|
import "../chunk-H4HBKISO.js";
|
|
@@ -16,8 +16,8 @@ import {
|
|
|
16
16
|
JUNIOR_CONVERSATION_WORK_CALLBACK_ROUTE,
|
|
17
17
|
JUNIOR_HEARTBEAT_ROUTE,
|
|
18
18
|
LEGACY_JUNIOR_CONVERSATION_WORK_FUNCTION
|
|
19
|
-
} from "../chunk-
|
|
20
|
-
import "../chunk-
|
|
19
|
+
} from "../chunk-BV66CCPV.js";
|
|
20
|
+
import "../chunk-YGIPCZZD.js";
|
|
21
21
|
import "../chunk-MLKGABMK.js";
|
|
22
22
|
|
|
23
23
|
// src/cli/check.ts
|