@sentry/junior 0.116.0 → 0.116.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-67NFITDH.js → agent-hooks-GUAAS3XH.js} +8 -8
- package/dist/api.js +11 -11
- package/dist/app.js +19 -19
- package/dist/{catalog-runtime-CWZY6GTH.js → catalog-runtime-WMPC4J4U.js} +5 -5
- package/dist/{chunk-BXLS3I4W.js → chunk-2YYPXQNQ.js} +1 -1
- package/dist/{chunk-53ZKTQO6.js → chunk-7CSVG54J.js} +1 -1
- package/dist/{chunk-KBNDFU6J.js → chunk-BFYVIOTS.js} +2 -2
- package/dist/{chunk-PGKWXHYJ.js → chunk-CGXLCMWI.js} +8 -8
- package/dist/{chunk-PZGPCOSD.js → chunk-CY7NXM32.js} +1 -1
- package/dist/{chunk-6RQ5GCWH.js → chunk-DLLW5ITL.js} +2 -2
- package/dist/{chunk-3JOGUT46.js → chunk-F3SWGSPG.js} +1 -1
- package/dist/{chunk-CI3VK7X5.js → chunk-FAEALXEH.js} +2 -2
- package/dist/{chunk-5UNB623T.js → chunk-GDAXWEIJ.js} +12 -12
- package/dist/{chunk-UEVLIYK5.js → chunk-H35BDAUS.js} +6 -6
- package/dist/{chunk-VKZ6WVAY.js → chunk-JPKGW6L6.js} +12 -12
- package/dist/{chunk-4DD6AOCG.js → chunk-KNCELO2M.js} +1 -1
- package/dist/{chunk-MGH5ADQS.js → chunk-N3C4XCRE.js} +1 -1
- package/dist/{chunk-25GU5B5E.js → chunk-OY2PQQ4P.js} +1 -1
- package/dist/{chunk-OF5FODBL.js → chunk-RYFAVWP3.js} +4 -4
- package/dist/{chunk-3H45VOBZ.js → chunk-VBMMMVVQ.js} +84 -32
- package/dist/{chunk-N7TMYLF2.js → chunk-WLT72MRP.js} +1 -1
- package/dist/{chunk-JZPQ5K4V.js → chunk-XA3VLFPK.js} +1 -1
- package/dist/{chunk-VZCSLYCE.js → chunk-ZYHLNTC2.js} +5 -5
- package/dist/cli/chat.js +21 -21
- 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-57FHVGGQ.js → db-FH4R5ZQ4.js} +5 -5
- package/dist/instrumentation.js +2 -2
- package/dist/nitro.js +2 -2
- package/dist/{oauth-callback-server-PAQRPXZX.js → oauth-callback-server-C2SSJ3FQ.js} +15 -15
- package/dist/{runner-4ISZYJEX.js → runner-NAALFIXM.js} +10 -10
- package/dist/{skills-UE2KXQMB.js → skills-UN2JXYYF.js} +6 -6
- package/dist/{validation-PO5LHTJT.js → validation-EEF4ROHR.js} +6 -6
- package/dist/version.js +1 -1
- package/package.json +6 -6
|
@@ -11,22 +11,22 @@ import {
|
|
|
11
11
|
getPlugins,
|
|
12
12
|
setPlugins,
|
|
13
13
|
validatePlugins
|
|
14
|
-
} from "./chunk-
|
|
15
|
-
import "./chunk-
|
|
16
|
-
import "./chunk-
|
|
17
|
-
import "./chunk-
|
|
14
|
+
} from "./chunk-ZYHLNTC2.js";
|
|
15
|
+
import "./chunk-7CSVG54J.js";
|
|
16
|
+
import "./chunk-FAEALXEH.js";
|
|
17
|
+
import "./chunk-BFYVIOTS.js";
|
|
18
18
|
import "./chunk-RXRQJF7Y.js";
|
|
19
19
|
import "./chunk-4ZNGQH7C.js";
|
|
20
|
-
import "./chunk-
|
|
20
|
+
import "./chunk-CY7NXM32.js";
|
|
21
21
|
import "./chunk-VFUK3X5B.js";
|
|
22
22
|
import "./chunk-FXOYURO4.js";
|
|
23
23
|
import "./chunk-HZF5P5UN.js";
|
|
24
|
-
import "./chunk-
|
|
24
|
+
import "./chunk-F3SWGSPG.js";
|
|
25
25
|
import "./chunk-OB42YVAE.js";
|
|
26
26
|
import "./chunk-F3B2YJ76.js";
|
|
27
27
|
import "./chunk-6GWA276C.js";
|
|
28
|
-
import "./chunk-
|
|
29
|
-
import "./chunk-
|
|
28
|
+
import "./chunk-WLT72MRP.js";
|
|
29
|
+
import "./chunk-N3C4XCRE.js";
|
|
30
30
|
import "./chunk-MLKGABMK.js";
|
|
31
31
|
export {
|
|
32
32
|
PluginHookDeniedError,
|
package/dist/api.js
CHANGED
|
@@ -28,7 +28,7 @@ import {
|
|
|
28
28
|
formatSlackConversationRedactedLabel,
|
|
29
29
|
readHealthReport,
|
|
30
30
|
resolveSlackConversationContextFromThreadId
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-KNCELO2M.js";
|
|
32
32
|
import {
|
|
33
33
|
buildSentryConversationUrl
|
|
34
34
|
} from "./chunk-4CODA7P5.js";
|
|
@@ -46,12 +46,12 @@ import {
|
|
|
46
46
|
import "./chunk-PDO5BLNM.js";
|
|
47
47
|
import {
|
|
48
48
|
listConversationAnnotations
|
|
49
|
-
} from "./chunk-
|
|
49
|
+
} from "./chunk-FAEALXEH.js";
|
|
50
50
|
import {
|
|
51
51
|
decodeStoredConversationEvent,
|
|
52
52
|
getDb,
|
|
53
53
|
getSqlExecutor
|
|
54
|
-
} from "./chunk-
|
|
54
|
+
} from "./chunk-BFYVIOTS.js";
|
|
55
55
|
import {
|
|
56
56
|
juniorApiTokens,
|
|
57
57
|
juniorConversationEvents,
|
|
@@ -60,7 +60,7 @@ import {
|
|
|
60
60
|
juniorUsers
|
|
61
61
|
} from "./chunk-RXRQJF7Y.js";
|
|
62
62
|
import "./chunk-4ZNGQH7C.js";
|
|
63
|
-
import "./chunk-
|
|
63
|
+
import "./chunk-CY7NXM32.js";
|
|
64
64
|
import {
|
|
65
65
|
juniorDestinations
|
|
66
66
|
} from "./chunk-VFUK3X5B.js";
|
|
@@ -68,12 +68,12 @@ import {
|
|
|
68
68
|
canExposeConversationPayload,
|
|
69
69
|
parseSlackThreadId
|
|
70
70
|
} from "./chunk-FXOYURO4.js";
|
|
71
|
-
import "./chunk-
|
|
71
|
+
import "./chunk-F3SWGSPG.js";
|
|
72
72
|
import "./chunk-OB42YVAE.js";
|
|
73
73
|
import "./chunk-F3B2YJ76.js";
|
|
74
74
|
import "./chunk-6GWA276C.js";
|
|
75
|
-
import "./chunk-
|
|
76
|
-
import "./chunk-
|
|
75
|
+
import "./chunk-WLT72MRP.js";
|
|
76
|
+
import "./chunk-N3C4XCRE.js";
|
|
77
77
|
import "./chunk-MLKGABMK.js";
|
|
78
78
|
|
|
79
79
|
// src/api.ts
|
|
@@ -1677,7 +1677,7 @@ function readDescriptionText(home) {
|
|
|
1677
1677
|
}
|
|
1678
1678
|
}
|
|
1679
1679
|
async function readSkillReports() {
|
|
1680
|
-
const { discoverSkills } = await import("./skills-
|
|
1680
|
+
const { discoverSkills } = await import("./skills-UN2JXYYF.js");
|
|
1681
1681
|
const skills = await discoverSkills();
|
|
1682
1682
|
return skillReportsSchema.parse(
|
|
1683
1683
|
skills.map((skill) => ({
|
|
@@ -1687,7 +1687,7 @@ async function readSkillReports() {
|
|
|
1687
1687
|
);
|
|
1688
1688
|
}
|
|
1689
1689
|
async function readPlugins() {
|
|
1690
|
-
const { pluginCatalogRuntime } = await import("./catalog-runtime-
|
|
1690
|
+
const { pluginCatalogRuntime } = await import("./catalog-runtime-WMPC4J4U.js");
|
|
1691
1691
|
return pluginsSchema.parse(
|
|
1692
1692
|
pluginCatalogRuntime.getProviders().map((plugin) => ({
|
|
1693
1693
|
configKeys: plugin.manifest.configKeys ?? [],
|
|
@@ -1700,7 +1700,7 @@ async function readPlugins() {
|
|
|
1700
1700
|
async function readRuntimeInfoReport() {
|
|
1701
1701
|
const [{ homeDir }, { pluginCatalogRuntime }, plugins, skills] = await Promise.all([
|
|
1702
1702
|
import("./discovery-RMHYSRL7.js"),
|
|
1703
|
-
import("./catalog-runtime-
|
|
1703
|
+
import("./catalog-runtime-WMPC4J4U.js"),
|
|
1704
1704
|
readPlugins(),
|
|
1705
1705
|
readSkillReports()
|
|
1706
1706
|
]);
|
|
@@ -1716,7 +1716,7 @@ async function readRuntimeInfoReport() {
|
|
|
1716
1716
|
}
|
|
1717
1717
|
async function readPluginOperationalReportFeed() {
|
|
1718
1718
|
const nowMs = Date.now();
|
|
1719
|
-
const { getPluginOperationalReports } = await import("./agent-hooks-
|
|
1719
|
+
const { getPluginOperationalReports } = await import("./agent-hooks-GUAAS3XH.js");
|
|
1720
1720
|
return pluginOperationalReportFeedSchema.parse({
|
|
1721
1721
|
source: "plugins",
|
|
1722
1722
|
generatedAt: new Date(nowMs).toISOString(),
|
package/dist/app.js
CHANGED
|
@@ -48,7 +48,7 @@ import {
|
|
|
48
48
|
startConversationWork,
|
|
49
49
|
startSlackProcessingReaction,
|
|
50
50
|
stripLeadingBotMention
|
|
51
|
-
} from "./chunk-
|
|
51
|
+
} from "./chunk-JPKGW6L6.js";
|
|
52
52
|
import "./chunk-FA6POGLH.js";
|
|
53
53
|
import {
|
|
54
54
|
ConversationTurnLifecycleService,
|
|
@@ -63,13 +63,13 @@ import {
|
|
|
63
63
|
processPluginTask,
|
|
64
64
|
requireTurnFailureEventId,
|
|
65
65
|
scheduleSessionCompletedPluginTasks
|
|
66
|
-
} from "./chunk-
|
|
66
|
+
} from "./chunk-H35BDAUS.js";
|
|
67
67
|
import {
|
|
68
68
|
GET,
|
|
69
69
|
conversationVisibilityFromSlackChannelType,
|
|
70
70
|
resolveSlackChannelTypeFromMessage,
|
|
71
71
|
resolveSlackConversationContext
|
|
72
|
-
} from "./chunk-
|
|
72
|
+
} from "./chunk-KNCELO2M.js";
|
|
73
73
|
import "./chunk-4CODA7P5.js";
|
|
74
74
|
import "./chunk-PE44LDDQ.js";
|
|
75
75
|
import {
|
|
@@ -88,7 +88,7 @@ import {
|
|
|
88
88
|
import {
|
|
89
89
|
validatePluginEgressCredentialHooks,
|
|
90
90
|
validatePluginRegistrations
|
|
91
|
-
} from "./chunk-
|
|
91
|
+
} from "./chunk-2YYPXQNQ.js";
|
|
92
92
|
import {
|
|
93
93
|
defineJuniorPlugins,
|
|
94
94
|
pluginCatalogConfigFromEnv,
|
|
@@ -121,7 +121,7 @@ import {
|
|
|
121
121
|
setConfigDefaults,
|
|
122
122
|
shouldEmitDevAgentTrace,
|
|
123
123
|
shouldPropagateSandboxEgressTrace
|
|
124
|
-
} from "./chunk-
|
|
124
|
+
} from "./chunk-GDAXWEIJ.js";
|
|
125
125
|
import "./chunk-DIB4GX3G.js";
|
|
126
126
|
import {
|
|
127
127
|
RetryableDeliveryError,
|
|
@@ -134,7 +134,7 @@ import {
|
|
|
134
134
|
postSlackMessage,
|
|
135
135
|
splitSlackReplyText,
|
|
136
136
|
startOAuthFlow
|
|
137
|
-
} from "./chunk-
|
|
137
|
+
} from "./chunk-CGXLCMWI.js";
|
|
138
138
|
import {
|
|
139
139
|
ConversationTurnBoundaryError,
|
|
140
140
|
CooperativeTurnYieldError,
|
|
@@ -188,9 +188,9 @@ import {
|
|
|
188
188
|
trimTrailingAssistantMessages,
|
|
189
189
|
updateConversationStats,
|
|
190
190
|
upsertConversationMessage
|
|
191
|
-
} from "./chunk-
|
|
191
|
+
} from "./chunk-RYFAVWP3.js";
|
|
192
192
|
import "./chunk-HDSDCEPK.js";
|
|
193
|
-
import "./chunk-
|
|
193
|
+
import "./chunk-VBMMMVVQ.js";
|
|
194
194
|
import "./chunk-MU6HHZEN.js";
|
|
195
195
|
import "./chunk-PDO5BLNM.js";
|
|
196
196
|
import "./chunk-UIE3R5XU.js";
|
|
@@ -207,11 +207,11 @@ import {
|
|
|
207
207
|
validatePlugins,
|
|
208
208
|
verifyScheduledTaskCredentialSubject,
|
|
209
209
|
verifySlackDirectCredentialSubject
|
|
210
|
-
} from "./chunk-
|
|
210
|
+
} from "./chunk-ZYHLNTC2.js";
|
|
211
211
|
import {
|
|
212
212
|
acquireActiveLock,
|
|
213
213
|
getStateAdapter
|
|
214
|
-
} from "./chunk-
|
|
214
|
+
} from "./chunk-7CSVG54J.js";
|
|
215
215
|
import {
|
|
216
216
|
SlackActionError,
|
|
217
217
|
downloadPrivateSlackFile,
|
|
@@ -221,7 +221,7 @@ import {
|
|
|
221
221
|
normalizeSlackConversationId,
|
|
222
222
|
runWithSlackInstallationToken,
|
|
223
223
|
runWithWorkspaceTeamId
|
|
224
|
-
} from "./chunk-
|
|
224
|
+
} from "./chunk-FAEALXEH.js";
|
|
225
225
|
import {
|
|
226
226
|
contextProvenance,
|
|
227
227
|
createSlackDestination,
|
|
@@ -232,7 +232,7 @@ import {
|
|
|
232
232
|
instructionProvenanceFor,
|
|
233
233
|
requireSlackDestination,
|
|
234
234
|
withConversationEventLock
|
|
235
|
-
} from "./chunk-
|
|
235
|
+
} from "./chunk-BFYVIOTS.js";
|
|
236
236
|
import {
|
|
237
237
|
juniorConversationEvents,
|
|
238
238
|
juniorConversations
|
|
@@ -257,18 +257,18 @@ import {
|
|
|
257
257
|
modelIdForProfile,
|
|
258
258
|
setSlackReactionConfig,
|
|
259
259
|
standardModelId
|
|
260
|
-
} from "./chunk-
|
|
260
|
+
} from "./chunk-CY7NXM32.js";
|
|
261
261
|
import {
|
|
262
262
|
juniorDestinations
|
|
263
263
|
} from "./chunk-VFUK3X5B.js";
|
|
264
264
|
import {
|
|
265
265
|
parseSlackThreadId
|
|
266
266
|
} from "./chunk-FXOYURO4.js";
|
|
267
|
-
import "./chunk-
|
|
267
|
+
import "./chunk-DLLW5ITL.js";
|
|
268
268
|
import {
|
|
269
269
|
pluginCatalogRuntime
|
|
270
|
-
} from "./chunk-
|
|
271
|
-
import "./chunk-
|
|
270
|
+
} from "./chunk-OY2PQQ4P.js";
|
|
271
|
+
import "./chunk-XA3VLFPK.js";
|
|
272
272
|
import {
|
|
273
273
|
credentialSubjectSchema
|
|
274
274
|
} from "./chunk-W3U3YQYI.js";
|
|
@@ -294,7 +294,7 @@ import {
|
|
|
294
294
|
setTags,
|
|
295
295
|
withContext,
|
|
296
296
|
withSpan
|
|
297
|
-
} from "./chunk-
|
|
297
|
+
} from "./chunk-F3SWGSPG.js";
|
|
298
298
|
import {
|
|
299
299
|
toOptionalString
|
|
300
300
|
} from "./chunk-OB42YVAE.js";
|
|
@@ -309,10 +309,10 @@ import "./chunk-B3IT5END.js";
|
|
|
309
309
|
import "./chunk-3V7OFJZC.js";
|
|
310
310
|
import {
|
|
311
311
|
JUNIOR_PLUGIN_TASK_CALLBACK_ROUTE
|
|
312
|
-
} from "./chunk-
|
|
312
|
+
} from "./chunk-WLT72MRP.js";
|
|
313
313
|
import {
|
|
314
314
|
JUNIOR_VERSION
|
|
315
|
-
} from "./chunk-
|
|
315
|
+
} from "./chunk-N3C4XCRE.js";
|
|
316
316
|
import "./chunk-MLKGABMK.js";
|
|
317
317
|
|
|
318
318
|
// src/app.ts
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
pluginCatalogRuntime
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-OY2PQQ4P.js";
|
|
4
|
+
import "./chunk-XA3VLFPK.js";
|
|
5
5
|
import "./chunk-W3U3YQYI.js";
|
|
6
6
|
import "./chunk-HZF5P5UN.js";
|
|
7
|
-
import "./chunk-
|
|
7
|
+
import "./chunk-F3SWGSPG.js";
|
|
8
8
|
import "./chunk-OB42YVAE.js";
|
|
9
9
|
import "./chunk-F3B2YJ76.js";
|
|
10
10
|
import "./chunk-6GWA276C.js";
|
|
11
11
|
import "./chunk-B3IT5END.js";
|
|
12
12
|
import "./chunk-3V7OFJZC.js";
|
|
13
|
-
import "./chunk-
|
|
14
|
-
import "./chunk-
|
|
13
|
+
import "./chunk-WLT72MRP.js";
|
|
14
|
+
import "./chunk-N3C4XCRE.js";
|
|
15
15
|
import "./chunk-MLKGABMK.js";
|
|
16
16
|
export {
|
|
17
17
|
pluginCatalogRuntime
|
|
@@ -9,13 +9,13 @@ import {
|
|
|
9
9
|
TURN_REASONING_LEVELS,
|
|
10
10
|
getChatConfig,
|
|
11
11
|
modelProfileSchema
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-CY7NXM32.js";
|
|
13
13
|
import {
|
|
14
14
|
juniorDestinations
|
|
15
15
|
} from "./chunk-VFUK3X5B.js";
|
|
16
16
|
import {
|
|
17
17
|
normalizeIdentityEmail
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-F3SWGSPG.js";
|
|
19
19
|
import {
|
|
20
20
|
parseSlackChannelReferenceId,
|
|
21
21
|
parseSlackTeamId
|
|
@@ -1,38 +1,38 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getInterruptionMarker
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-RYFAVWP3.js";
|
|
4
4
|
import {
|
|
5
5
|
createPluginLogger,
|
|
6
6
|
getPlugins
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-ZYHLNTC2.js";
|
|
8
8
|
import {
|
|
9
9
|
acquireActiveLock,
|
|
10
10
|
getStateAdapter
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-7CSVG54J.js";
|
|
12
12
|
import {
|
|
13
13
|
SlackActionError,
|
|
14
14
|
getSlackClient,
|
|
15
15
|
isDmChannel,
|
|
16
16
|
normalizeSlackConversationId,
|
|
17
17
|
withSlackRetries
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-FAEALXEH.js";
|
|
19
19
|
import {
|
|
20
20
|
getDb,
|
|
21
21
|
parseDestination
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-BFYVIOTS.js";
|
|
23
23
|
import {
|
|
24
24
|
sleep
|
|
25
25
|
} from "./chunk-4ZNGQH7C.js";
|
|
26
26
|
import {
|
|
27
27
|
normalizeSlackEmojiName
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-CY7NXM32.js";
|
|
29
29
|
import {
|
|
30
30
|
pluginCatalogRuntime
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-OY2PQQ4P.js";
|
|
32
32
|
import {
|
|
33
33
|
logInfo,
|
|
34
34
|
logWarn
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-F3SWGSPG.js";
|
|
36
36
|
import {
|
|
37
37
|
isRecord
|
|
38
38
|
} from "./chunk-OB42YVAE.js";
|
|
@@ -6,13 +6,13 @@ import {
|
|
|
6
6
|
} from "./chunk-4ZNGQH7C.js";
|
|
7
7
|
import {
|
|
8
8
|
getSlackBotToken
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-CY7NXM32.js";
|
|
10
10
|
import {
|
|
11
11
|
logWarn,
|
|
12
12
|
setSpanAttributes,
|
|
13
13
|
setSpanStatus,
|
|
14
14
|
withSpan
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-F3SWGSPG.js";
|
|
16
16
|
import {
|
|
17
17
|
parseSlackChannelReferenceId
|
|
18
18
|
} from "./chunk-F3B2YJ76.js";
|
|
@@ -25,7 +25,7 @@ import {
|
|
|
25
25
|
surfaceFromRouting,
|
|
26
26
|
toolInvocationDestination,
|
|
27
27
|
uploadFilesToConversation
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-CGXLCMWI.js";
|
|
29
29
|
import {
|
|
30
30
|
CooperativeTurnYieldError,
|
|
31
31
|
JUNIOR_THREAD_STATE_TTL_MS,
|
|
@@ -67,7 +67,7 @@ import {
|
|
|
67
67
|
stripRuntimeTurnContext,
|
|
68
68
|
trimTrailingAssistantMessages,
|
|
69
69
|
updateConversationStats
|
|
70
|
-
} from "./chunk-
|
|
70
|
+
} from "./chunk-RYFAVWP3.js";
|
|
71
71
|
import {
|
|
72
72
|
parseSandboxEgressAuthRequiredSignal,
|
|
73
73
|
parseSandboxEgressPermissionDeniedSignal,
|
|
@@ -91,7 +91,7 @@ import {
|
|
|
91
91
|
runNonInteractiveCommand,
|
|
92
92
|
throwSandboxOperationError,
|
|
93
93
|
wrapSandboxSetupError
|
|
94
|
-
} from "./chunk-
|
|
94
|
+
} from "./chunk-VBMMMVVQ.js";
|
|
95
95
|
import {
|
|
96
96
|
addAgentTurnUsage,
|
|
97
97
|
hasAgentTurnUsage
|
|
@@ -106,7 +106,7 @@ import {
|
|
|
106
106
|
getPluginUserPromptContributions,
|
|
107
107
|
getSlackToolContext,
|
|
108
108
|
resolveChannelCapabilities
|
|
109
|
-
} from "./chunk-
|
|
109
|
+
} from "./chunk-ZYHLNTC2.js";
|
|
110
110
|
import {
|
|
111
111
|
SANDBOX_DATA_ROOT,
|
|
112
112
|
SANDBOX_SKILLS_ROOT,
|
|
@@ -114,7 +114,7 @@ import {
|
|
|
114
114
|
getStateAdapter,
|
|
115
115
|
sandboxSkillDir,
|
|
116
116
|
sandboxSkillFile
|
|
117
|
-
} from "./chunk-
|
|
117
|
+
} from "./chunk-7CSVG54J.js";
|
|
118
118
|
import {
|
|
119
119
|
SlackActionError,
|
|
120
120
|
downloadPrivateSlackFile,
|
|
@@ -123,7 +123,7 @@ import {
|
|
|
123
123
|
isConversationScopedChannel,
|
|
124
124
|
normalizeSlackConversationId,
|
|
125
125
|
withSlackRetries
|
|
126
|
-
} from "./chunk-
|
|
126
|
+
} from "./chunk-FAEALXEH.js";
|
|
127
127
|
import {
|
|
128
128
|
KNOWN_CONVERSATION_EVENT_TYPES,
|
|
129
129
|
contextProvenance,
|
|
@@ -132,7 +132,7 @@ import {
|
|
|
132
132
|
getConversationStore,
|
|
133
133
|
instructionActors,
|
|
134
134
|
instructionProvenanceFor
|
|
135
|
-
} from "./chunk-
|
|
135
|
+
} from "./chunk-BFYVIOTS.js";
|
|
136
136
|
import {
|
|
137
137
|
sleep
|
|
138
138
|
} from "./chunk-4ZNGQH7C.js";
|
|
@@ -165,7 +165,7 @@ import {
|
|
|
165
165
|
renderCurrentInstruction,
|
|
166
166
|
resolveGatewayModel,
|
|
167
167
|
unwrapCurrentInstruction
|
|
168
|
-
} from "./chunk-
|
|
168
|
+
} from "./chunk-CY7NXM32.js";
|
|
169
169
|
import {
|
|
170
170
|
canExposeConversationPayload,
|
|
171
171
|
parseSlackThreadId,
|
|
@@ -182,15 +182,15 @@ import {
|
|
|
182
182
|
findSkillByName,
|
|
183
183
|
loadSkillsByName,
|
|
184
184
|
parseSkillInvocation
|
|
185
|
-
} from "./chunk-
|
|
185
|
+
} from "./chunk-DLLW5ITL.js";
|
|
186
186
|
import {
|
|
187
187
|
pluginCatalogRuntime
|
|
188
|
-
} from "./chunk-
|
|
188
|
+
} from "./chunk-OY2PQQ4P.js";
|
|
189
189
|
import {
|
|
190
190
|
CredentialUnavailableError,
|
|
191
191
|
resolveAuthTokenPlaceholder,
|
|
192
192
|
resolvePluginCommandEnv
|
|
193
|
-
} from "./chunk-
|
|
193
|
+
} from "./chunk-XA3VLFPK.js";
|
|
194
194
|
import {
|
|
195
195
|
credentialUserSubjectId
|
|
196
196
|
} from "./chunk-W3U3YQYI.js";
|
|
@@ -214,7 +214,7 @@ import {
|
|
|
214
214
|
summarizeMessageText,
|
|
215
215
|
withLogContext,
|
|
216
216
|
withSpan
|
|
217
|
-
} from "./chunk-
|
|
217
|
+
} from "./chunk-F3SWGSPG.js";
|
|
218
218
|
import {
|
|
219
219
|
parseSlackChannelId,
|
|
220
220
|
parseSlackMessageTs,
|
|
@@ -23,28 +23,28 @@ import {
|
|
|
23
23
|
persistThreadStateById,
|
|
24
24
|
stripRuntimeTurnContext,
|
|
25
25
|
updateConversationStats
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-RYFAVWP3.js";
|
|
27
27
|
import {
|
|
28
28
|
createPluginEmbedder,
|
|
29
29
|
createPluginLogger,
|
|
30
30
|
createPluginModel,
|
|
31
31
|
createPluginState,
|
|
32
32
|
getPlugins
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-ZYHLNTC2.js";
|
|
34
34
|
import {
|
|
35
35
|
getStateAdapter
|
|
36
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-7CSVG54J.js";
|
|
37
37
|
import {
|
|
38
38
|
getDb
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-BFYVIOTS.js";
|
|
40
40
|
import {
|
|
41
41
|
ProviderError,
|
|
42
42
|
getProviderErrorAttributes,
|
|
43
43
|
getProviderErrorUserMessage
|
|
44
|
-
} from "./chunk-
|
|
44
|
+
} from "./chunk-CY7NXM32.js";
|
|
45
45
|
import {
|
|
46
46
|
buildTurnFailureResponse
|
|
47
|
-
} from "./chunk-
|
|
47
|
+
} from "./chunk-F3SWGSPG.js";
|
|
48
48
|
import {
|
|
49
49
|
parseSlackMessageTs
|
|
50
50
|
} from "./chunk-F3B2YJ76.js";
|
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
persistAuthPauseTurnState,
|
|
13
13
|
requireTurnFailureEventId,
|
|
14
14
|
scheduleSessionCompletedPluginTasks
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-H35BDAUS.js";
|
|
16
16
|
import {
|
|
17
17
|
buildSentryConversationUrl
|
|
18
18
|
} from "./chunk-4CODA7P5.js";
|
|
@@ -38,7 +38,7 @@ import {
|
|
|
38
38
|
resolvePluginOAuthAccount,
|
|
39
39
|
splitSlackReplyText,
|
|
40
40
|
truncateStatusText
|
|
41
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-CGXLCMWI.js";
|
|
42
42
|
import {
|
|
43
43
|
JUNIOR_THREAD_STATE_TTL_MS,
|
|
44
44
|
TurnSliceLimitExceededError,
|
|
@@ -68,30 +68,30 @@ import {
|
|
|
68
68
|
recordDeliveredAssistantMessage,
|
|
69
69
|
turnHasReply,
|
|
70
70
|
updateConversationStats
|
|
71
|
-
} from "./chunk-
|
|
71
|
+
} from "./chunk-RYFAVWP3.js";
|
|
72
72
|
import {
|
|
73
73
|
getDashboardConversationLink,
|
|
74
74
|
getPluginSlackConversationLink
|
|
75
|
-
} from "./chunk-
|
|
75
|
+
} from "./chunk-ZYHLNTC2.js";
|
|
76
76
|
import {
|
|
77
77
|
acquireActiveLock,
|
|
78
78
|
getDefaultRedisStateAdapterFor,
|
|
79
79
|
getStateAdapter
|
|
80
|
-
} from "./chunk-
|
|
80
|
+
} from "./chunk-7CSVG54J.js";
|
|
81
81
|
import {
|
|
82
82
|
SlackActionError,
|
|
83
83
|
getHeaderString,
|
|
84
84
|
getSlackClient,
|
|
85
85
|
isDmChannel,
|
|
86
86
|
normalizeSlackConversationId
|
|
87
|
-
} from "./chunk-
|
|
87
|
+
} from "./chunk-FAEALXEH.js";
|
|
88
88
|
import {
|
|
89
89
|
getConversationEventStore,
|
|
90
90
|
getConversationStore,
|
|
91
91
|
parseDestination,
|
|
92
92
|
requireSlackDestination,
|
|
93
93
|
sameDestination
|
|
94
|
-
} from "./chunk-
|
|
94
|
+
} from "./chunk-BFYVIOTS.js";
|
|
95
95
|
import {
|
|
96
96
|
FUNCTION_TIMEOUT_BUFFER_SECONDS,
|
|
97
97
|
botConfig,
|
|
@@ -100,7 +100,7 @@ import {
|
|
|
100
100
|
getRuntimeMetadata,
|
|
101
101
|
normalizeSlackEmojiName,
|
|
102
102
|
standardModelId
|
|
103
|
-
} from "./chunk-
|
|
103
|
+
} from "./chunk-CY7NXM32.js";
|
|
104
104
|
import {
|
|
105
105
|
parseSlackThreadId,
|
|
106
106
|
readSlackRawMessageContext,
|
|
@@ -109,15 +109,15 @@ import {
|
|
|
109
109
|
} from "./chunk-FXOYURO4.js";
|
|
110
110
|
import {
|
|
111
111
|
discoverSkills
|
|
112
|
-
} from "./chunk-
|
|
112
|
+
} from "./chunk-DLLW5ITL.js";
|
|
113
113
|
import {
|
|
114
114
|
pluginCatalogRuntime
|
|
115
|
-
} from "./chunk-
|
|
115
|
+
} from "./chunk-OY2PQQ4P.js";
|
|
116
116
|
import {
|
|
117
117
|
buildOAuthTokenRequest,
|
|
118
118
|
hasRequiredOAuthScope,
|
|
119
119
|
parseOAuthTokenResponse
|
|
120
|
-
} from "./chunk-
|
|
120
|
+
} from "./chunk-XA3VLFPK.js";
|
|
121
121
|
import {
|
|
122
122
|
createSlackResumeActor,
|
|
123
123
|
isUserActor,
|
|
@@ -128,7 +128,7 @@ import {
|
|
|
128
128
|
logException,
|
|
129
129
|
logInfo,
|
|
130
130
|
logWarn
|
|
131
|
-
} from "./chunk-
|
|
131
|
+
} from "./chunk-F3SWGSPG.js";
|
|
132
132
|
import {
|
|
133
133
|
isRecord,
|
|
134
134
|
toOptionalNumber,
|