@sentry/junior 0.126.0 → 0.126.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-HDSNWDQM.js → agent-hooks-U5YGLX6Y.js} +8 -8
- package/dist/api.js +15 -15
- package/dist/app.js +21 -21
- package/dist/{catalog-runtime-BDC3UWPG.js → catalog-runtime-OUPLWD7F.js} +5 -5
- package/dist/{chunk-4PV73JHH.js → chunk-7VF3JAVF.js} +7 -7
- package/dist/{chunk-LCRWDMCH.js → chunk-7ZMY4GCG.js} +1 -1
- package/dist/{chunk-APYVVX2Y.js → chunk-F2ARYRKC.js} +1 -1
- package/dist/{chunk-KISG7E24.js → chunk-GLNB2R42.js} +12 -12
- package/dist/{chunk-EFQX6XBW.js → chunk-HXWOZ4HG.js} +1 -1
- package/dist/{chunk-GHNO2WUH.js → chunk-JKV244BI.js} +1 -1
- package/dist/{chunk-WRH7DWFO.js → chunk-KBW6J5GA.js} +4 -4
- package/dist/{chunk-YMSVBWBY.js → chunk-OG6E44DH.js} +6 -6
- package/dist/{chunk-JP2ZOSQK.js → chunk-PD6J33TO.js} +1 -1
- package/dist/{chunk-72SDEHFP.js → chunk-QMK2VF6K.js} +1 -1
- package/dist/{chunk-LIDEU7QS.js → chunk-QVSYR5CV.js} +4 -4
- package/dist/{chunk-ACJZZY5W.js → chunk-R3GXQJEE.js} +2 -2
- package/dist/{chunk-KP7E267S.js → chunk-S4LM6UB7.js} +2 -2
- package/dist/{chunk-TUHUIBDX.js → chunk-SD2VFSN6.js} +14 -14
- package/dist/{chunk-VUBUFT66.js → chunk-U36WL4OL.js} +1 -1
- package/dist/{chunk-JFW62B3Y.js → chunk-W3JHZHAN.js} +1 -1
- package/dist/{chunk-XLIAQRDI.js → chunk-WIIPHGJY.js} +2 -2
- package/dist/{chunk-GK55KLEH.js → chunk-Y2QRKPI7.js} +1 -1
- package/dist/{chunk-EQMSKORN.js → chunk-YFE6VNHU.js} +1 -1
- package/dist/{chunk-XVKJJXHF.js → chunk-YUPNY2HZ.js} +2 -2
- package/dist/{chunk-6KWO5DU3.js → chunk-YZHA2L7P.js} +4 -4
- package/dist/cli/chat.js +23 -23
- package/dist/cli/check.js +6 -6
- package/dist/cli/plugins.js +11 -11
- package/dist/cli/snapshot-create.js +9 -9
- package/dist/cli/upgrade.js +6 -6
- package/dist/{db-AZB6AGJL.js → db-FQID26JW.js} +6 -6
- package/dist/instrumentation.js +4 -4
- package/dist/nitro.js +2 -2
- package/dist/{oauth-callback-server-XK4QJLPZ.js → oauth-callback-server-Z5MHHKFD.js} +16 -16
- package/dist/{runner-DSGDSATN.js → runner-PGPGKYSF.js} +10 -10
- package/dist/{skills-CO6E3BQJ.js → skills-BCQHR636.js} +6 -6
- package/dist/{validation-IHLISKM5.js → validation-QP3FYBLZ.js} +6 -6
- package/dist/version.js +1 -1
- package/package.json +5 -5
|
@@ -11,19 +11,19 @@ import {
|
|
|
11
11
|
getPlugins,
|
|
12
12
|
setPlugins,
|
|
13
13
|
validatePlugins
|
|
14
|
-
} from "./chunk-
|
|
15
|
-
import "./chunk-
|
|
14
|
+
} from "./chunk-YZHA2L7P.js";
|
|
15
|
+
import "./chunk-S4LM6UB7.js";
|
|
16
16
|
import "./chunk-S4PUICSB.js";
|
|
17
|
-
import "./chunk-
|
|
18
|
-
import "./chunk-
|
|
17
|
+
import "./chunk-F2ARYRKC.js";
|
|
18
|
+
import "./chunk-WIIPHGJY.js";
|
|
19
19
|
import "./chunk-VFUK3X5B.js";
|
|
20
|
-
import "./chunk-
|
|
20
|
+
import "./chunk-U36WL4OL.js";
|
|
21
21
|
import "./chunk-HZF5P5UN.js";
|
|
22
22
|
import "./chunk-F3B2YJ76.js";
|
|
23
|
-
import "./chunk-
|
|
23
|
+
import "./chunk-PD6J33TO.js";
|
|
24
24
|
import "./chunk-6GWA276C.js";
|
|
25
|
-
import "./chunk-
|
|
26
|
-
import "./chunk-
|
|
25
|
+
import "./chunk-7ZMY4GCG.js";
|
|
26
|
+
import "./chunk-W3JHZHAN.js";
|
|
27
27
|
import "./chunk-MLKGABMK.js";
|
|
28
28
|
export {
|
|
29
29
|
PluginHookDeniedError,
|
package/dist/api.js
CHANGED
|
@@ -29,7 +29,7 @@ import {
|
|
|
29
29
|
formatSlackConversationRedactedLabel,
|
|
30
30
|
readHealthReport,
|
|
31
31
|
resolveSlackConversationContextFromThreadId
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-YUPNY2HZ.js";
|
|
33
33
|
import {
|
|
34
34
|
buildSentryConversationUrl
|
|
35
35
|
} from "./chunk-4CODA7P5.js";
|
|
@@ -42,10 +42,10 @@ import {
|
|
|
42
42
|
} from "./chunk-UTL3MHPC.js";
|
|
43
43
|
import {
|
|
44
44
|
readStats
|
|
45
|
-
} from "./chunk-
|
|
45
|
+
} from "./chunk-YFE6VNHU.js";
|
|
46
46
|
import {
|
|
47
47
|
parseSlackThreadId
|
|
48
|
-
} from "./chunk-
|
|
48
|
+
} from "./chunk-QMK2VF6K.js";
|
|
49
49
|
import {
|
|
50
50
|
agentTurnUsageSchema,
|
|
51
51
|
hasAgentTurnUsage,
|
|
@@ -58,13 +58,13 @@ import {
|
|
|
58
58
|
listConversationAnnotations,
|
|
59
59
|
readViewerActors,
|
|
60
60
|
renderPluginConversationEvent
|
|
61
|
-
} from "./chunk-
|
|
61
|
+
} from "./chunk-YZHA2L7P.js";
|
|
62
62
|
import {
|
|
63
63
|
decodeStoredConversationEvent,
|
|
64
64
|
getDb,
|
|
65
65
|
getSqlExecutor,
|
|
66
66
|
parseSessionSource
|
|
67
|
-
} from "./chunk-
|
|
67
|
+
} from "./chunk-S4LM6UB7.js";
|
|
68
68
|
import {
|
|
69
69
|
juniorApiTokens,
|
|
70
70
|
juniorConversationEvents,
|
|
@@ -72,23 +72,23 @@ import {
|
|
|
72
72
|
juniorIdentities,
|
|
73
73
|
juniorUsers
|
|
74
74
|
} from "./chunk-S4PUICSB.js";
|
|
75
|
-
import "./chunk-
|
|
76
|
-
import "./chunk-
|
|
75
|
+
import "./chunk-F2ARYRKC.js";
|
|
76
|
+
import "./chunk-WIIPHGJY.js";
|
|
77
77
|
import {
|
|
78
78
|
juniorDestinations
|
|
79
79
|
} from "./chunk-VFUK3X5B.js";
|
|
80
80
|
import {
|
|
81
81
|
canExposeConversationPayload
|
|
82
|
-
} from "./chunk-
|
|
82
|
+
} from "./chunk-U36WL4OL.js";
|
|
83
83
|
import "./chunk-HZF5P5UN.js";
|
|
84
84
|
import {
|
|
85
85
|
parseSlackChannelId,
|
|
86
86
|
parseSlackTeamId
|
|
87
87
|
} from "./chunk-F3B2YJ76.js";
|
|
88
|
-
import "./chunk-
|
|
88
|
+
import "./chunk-PD6J33TO.js";
|
|
89
89
|
import "./chunk-6GWA276C.js";
|
|
90
|
-
import "./chunk-
|
|
91
|
-
import "./chunk-
|
|
90
|
+
import "./chunk-7ZMY4GCG.js";
|
|
91
|
+
import "./chunk-W3JHZHAN.js";
|
|
92
92
|
import "./chunk-MLKGABMK.js";
|
|
93
93
|
|
|
94
94
|
// src/api.ts
|
|
@@ -2014,7 +2014,7 @@ function readDescriptionText(home) {
|
|
|
2014
2014
|
}
|
|
2015
2015
|
}
|
|
2016
2016
|
async function readSkillReports() {
|
|
2017
|
-
const { discoverSkills } = await import("./skills-
|
|
2017
|
+
const { discoverSkills } = await import("./skills-BCQHR636.js");
|
|
2018
2018
|
const skills = await discoverSkills();
|
|
2019
2019
|
return skillReportsSchema.parse(
|
|
2020
2020
|
skills.map((skill) => ({
|
|
@@ -2024,7 +2024,7 @@ async function readSkillReports() {
|
|
|
2024
2024
|
);
|
|
2025
2025
|
}
|
|
2026
2026
|
async function readPlugins() {
|
|
2027
|
-
const { pluginCatalogRuntime } = await import("./catalog-runtime-
|
|
2027
|
+
const { pluginCatalogRuntime } = await import("./catalog-runtime-OUPLWD7F.js");
|
|
2028
2028
|
return pluginsSchema.parse(
|
|
2029
2029
|
pluginCatalogRuntime.getProviders().map((plugin) => ({
|
|
2030
2030
|
configKeys: plugin.manifest.configKeys ?? [],
|
|
@@ -2037,7 +2037,7 @@ async function readPlugins() {
|
|
|
2037
2037
|
async function readRuntimeInfoReport() {
|
|
2038
2038
|
const [{ homeDir }, { pluginCatalogRuntime }, plugins, skills] = await Promise.all([
|
|
2039
2039
|
import("./discovery-GUFTFBTL.js"),
|
|
2040
|
-
import("./catalog-runtime-
|
|
2040
|
+
import("./catalog-runtime-OUPLWD7F.js"),
|
|
2041
2041
|
readPlugins(),
|
|
2042
2042
|
readSkillReports()
|
|
2043
2043
|
]);
|
|
@@ -2053,7 +2053,7 @@ async function readRuntimeInfoReport() {
|
|
|
2053
2053
|
}
|
|
2054
2054
|
async function readPluginOperationalReportFeed() {
|
|
2055
2055
|
const nowMs = Date.now();
|
|
2056
|
-
const { getPluginOperationalReports } = await import("./agent-hooks-
|
|
2056
|
+
const { getPluginOperationalReports } = await import("./agent-hooks-U5YGLX6Y.js");
|
|
2057
2057
|
return pluginOperationalReportFeedSchema.parse({
|
|
2058
2058
|
source: "plugins",
|
|
2059
2059
|
generatedAt: new Date(nowMs).toISOString(),
|
package/dist/app.js
CHANGED
|
@@ -50,7 +50,7 @@ import {
|
|
|
50
50
|
startConversationWork,
|
|
51
51
|
startSlackProcessingReaction,
|
|
52
52
|
stripLeadingBotMention
|
|
53
|
-
} from "./chunk-
|
|
53
|
+
} from "./chunk-GLNB2R42.js";
|
|
54
54
|
import "./chunk-FA6POGLH.js";
|
|
55
55
|
import {
|
|
56
56
|
ConversationTurnLifecycleService,
|
|
@@ -65,13 +65,13 @@ import {
|
|
|
65
65
|
processPluginTask,
|
|
66
66
|
requireTurnFailureEventId,
|
|
67
67
|
scheduleSessionCompletedPluginTasks
|
|
68
|
-
} from "./chunk-
|
|
68
|
+
} from "./chunk-OG6E44DH.js";
|
|
69
69
|
import {
|
|
70
70
|
GET,
|
|
71
71
|
conversationVisibilityFromSlackChannelType,
|
|
72
72
|
resolveSlackChannelTypeFromMessage,
|
|
73
73
|
resolveSlackConversationContext
|
|
74
|
-
} from "./chunk-
|
|
74
|
+
} from "./chunk-YUPNY2HZ.js";
|
|
75
75
|
import "./chunk-4CODA7P5.js";
|
|
76
76
|
import "./chunk-UTL3MHPC.js";
|
|
77
77
|
import {
|
|
@@ -90,7 +90,7 @@ import {
|
|
|
90
90
|
import {
|
|
91
91
|
validatePluginEgressCredentialHooks,
|
|
92
92
|
validatePluginRegistrations
|
|
93
|
-
} from "./chunk-
|
|
93
|
+
} from "./chunk-Y2QRKPI7.js";
|
|
94
94
|
import {
|
|
95
95
|
defineJuniorPlugins,
|
|
96
96
|
pluginCatalogConfigFromEnv,
|
|
@@ -124,7 +124,7 @@ import {
|
|
|
124
124
|
setConfigDefaults,
|
|
125
125
|
shouldEmitDevAgentTrace,
|
|
126
126
|
shouldPropagateSandboxEgressTrace
|
|
127
|
-
} from "./chunk-
|
|
127
|
+
} from "./chunk-SD2VFSN6.js";
|
|
128
128
|
import "./chunk-DIB4GX3G.js";
|
|
129
129
|
import {
|
|
130
130
|
RetryableDeliveryError,
|
|
@@ -135,7 +135,7 @@ import {
|
|
|
135
135
|
formatProviderLabel,
|
|
136
136
|
postSlackMessage,
|
|
137
137
|
startOAuthFlow
|
|
138
|
-
} from "./chunk-
|
|
138
|
+
} from "./chunk-7VF3JAVF.js";
|
|
139
139
|
import {
|
|
140
140
|
ConversationTurnBoundaryError,
|
|
141
141
|
CooperativeTurnYieldError,
|
|
@@ -191,13 +191,13 @@ import {
|
|
|
191
191
|
trimTrailingAssistantMessages,
|
|
192
192
|
updateConversationStats,
|
|
193
193
|
upsertConversationMessage
|
|
194
|
-
} from "./chunk-
|
|
194
|
+
} from "./chunk-KBW6J5GA.js";
|
|
195
195
|
import "./chunk-HDSDCEPK.js";
|
|
196
|
-
import "./chunk-
|
|
197
|
-
import "./chunk-
|
|
196
|
+
import "./chunk-QVSYR5CV.js";
|
|
197
|
+
import "./chunk-YFE6VNHU.js";
|
|
198
198
|
import {
|
|
199
199
|
parseSlackThreadId
|
|
200
|
-
} from "./chunk-
|
|
200
|
+
} from "./chunk-QMK2VF6K.js";
|
|
201
201
|
import "./chunk-HX236W2U.js";
|
|
202
202
|
import "./chunk-PDO5BLNM.js";
|
|
203
203
|
import "./chunk-UIE3R5XU.js";
|
|
@@ -222,7 +222,7 @@ import {
|
|
|
222
222
|
validatePlugins,
|
|
223
223
|
verifyScheduledTaskCredentialSubject,
|
|
224
224
|
verifySlackDirectCredentialSubject
|
|
225
|
-
} from "./chunk-
|
|
225
|
+
} from "./chunk-YZHA2L7P.js";
|
|
226
226
|
import {
|
|
227
227
|
contextProvenance,
|
|
228
228
|
createSlackDestination,
|
|
@@ -233,7 +233,7 @@ import {
|
|
|
233
233
|
instructionProvenanceFor,
|
|
234
234
|
requireSlackDestination,
|
|
235
235
|
withConversationEventLock
|
|
236
|
-
} from "./chunk-
|
|
236
|
+
} from "./chunk-S4LM6UB7.js";
|
|
237
237
|
import {
|
|
238
238
|
juniorConversationEvents,
|
|
239
239
|
juniorConversations
|
|
@@ -242,7 +242,7 @@ import {
|
|
|
242
242
|
acquireActiveLock,
|
|
243
243
|
getStateAdapter,
|
|
244
244
|
sleep
|
|
245
|
-
} from "./chunk-
|
|
245
|
+
} from "./chunk-F2ARYRKC.js";
|
|
246
246
|
import {
|
|
247
247
|
STANDARD_MODEL_PROFILE,
|
|
248
248
|
botConfig,
|
|
@@ -260,16 +260,16 @@ import {
|
|
|
260
260
|
modelIdForProfile,
|
|
261
261
|
setSlackReactionConfig,
|
|
262
262
|
standardModelId
|
|
263
|
-
} from "./chunk-
|
|
263
|
+
} from "./chunk-WIIPHGJY.js";
|
|
264
264
|
import {
|
|
265
265
|
juniorDestinations
|
|
266
266
|
} from "./chunk-VFUK3X5B.js";
|
|
267
|
-
import "./chunk-
|
|
268
|
-
import "./chunk-
|
|
267
|
+
import "./chunk-U36WL4OL.js";
|
|
268
|
+
import "./chunk-R3GXQJEE.js";
|
|
269
269
|
import {
|
|
270
270
|
pluginCatalogRuntime
|
|
271
|
-
} from "./chunk-
|
|
272
|
-
import "./chunk-
|
|
271
|
+
} from "./chunk-JKV244BI.js";
|
|
272
|
+
import "./chunk-HXWOZ4HG.js";
|
|
273
273
|
import {
|
|
274
274
|
credentialSubjectSchema
|
|
275
275
|
} from "./chunk-W3U3YQYI.js";
|
|
@@ -301,7 +301,7 @@ import {
|
|
|
301
301
|
withContext,
|
|
302
302
|
withLogContext,
|
|
303
303
|
withSpan
|
|
304
|
-
} from "./chunk-
|
|
304
|
+
} from "./chunk-PD6J33TO.js";
|
|
305
305
|
import {
|
|
306
306
|
continueTrace
|
|
307
307
|
} from "./chunk-6GWA276C.js";
|
|
@@ -309,10 +309,10 @@ import "./chunk-OOUNJNMR.js";
|
|
|
309
309
|
import "./chunk-H4HBKISO.js";
|
|
310
310
|
import {
|
|
311
311
|
JUNIOR_PLUGIN_TASK_CALLBACK_ROUTE
|
|
312
|
-
} from "./chunk-
|
|
312
|
+
} from "./chunk-7ZMY4GCG.js";
|
|
313
313
|
import {
|
|
314
314
|
JUNIOR_VERSION
|
|
315
|
-
} from "./chunk-
|
|
315
|
+
} from "./chunk-W3JHZHAN.js";
|
|
316
316
|
import "./chunk-MLKGABMK.js";
|
|
317
317
|
|
|
318
318
|
// src/app.ts
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
pluginCatalogRuntime
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-JKV244BI.js";
|
|
4
|
+
import "./chunk-HXWOZ4HG.js";
|
|
5
5
|
import "./chunk-W3U3YQYI.js";
|
|
6
6
|
import "./chunk-HZF5P5UN.js";
|
|
7
7
|
import "./chunk-F3B2YJ76.js";
|
|
8
|
-
import "./chunk-
|
|
8
|
+
import "./chunk-PD6J33TO.js";
|
|
9
9
|
import "./chunk-6GWA276C.js";
|
|
10
10
|
import "./chunk-OOUNJNMR.js";
|
|
11
11
|
import "./chunk-H4HBKISO.js";
|
|
12
|
-
import "./chunk-
|
|
13
|
-
import "./chunk-
|
|
12
|
+
import "./chunk-7ZMY4GCG.js";
|
|
13
|
+
import "./chunk-W3JHZHAN.js";
|
|
14
14
|
import "./chunk-MLKGABMK.js";
|
|
15
15
|
export {
|
|
16
16
|
pluginCatalogRuntime
|
|
@@ -6,25 +6,25 @@ import {
|
|
|
6
6
|
isDmChannel,
|
|
7
7
|
normalizeSlackConversationId,
|
|
8
8
|
withSlackRetries
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-YZHA2L7P.js";
|
|
10
10
|
import {
|
|
11
11
|
getDb,
|
|
12
12
|
parseDestination
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-S4LM6UB7.js";
|
|
14
14
|
import {
|
|
15
15
|
acquireActiveLock,
|
|
16
16
|
getStateAdapter,
|
|
17
17
|
sleep
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-F2ARYRKC.js";
|
|
19
19
|
import {
|
|
20
20
|
normalizeSlackEmojiName
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-WIIPHGJY.js";
|
|
22
22
|
import {
|
|
23
23
|
pluginCatalogRuntime
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-JKV244BI.js";
|
|
25
25
|
import {
|
|
26
26
|
fetchWithBoundedOAuthErrorBodies
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-HXWOZ4HG.js";
|
|
28
28
|
import {
|
|
29
29
|
parseSlackMessageTs,
|
|
30
30
|
parseSlackUserId
|
|
@@ -33,7 +33,7 @@ import {
|
|
|
33
33
|
isRecord,
|
|
34
34
|
logInfo,
|
|
35
35
|
logWarn
|
|
36
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-PD6J33TO.js";
|
|
37
37
|
|
|
38
38
|
// src/chat/capabilities/router.ts
|
|
39
39
|
var ProviderCredentialRouter = class {
|
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
persistAuthPauseTurnState,
|
|
14
14
|
requireTurnFailureEventId,
|
|
15
15
|
scheduleSessionCompletedPluginTasks
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-OG6E44DH.js";
|
|
17
17
|
import {
|
|
18
18
|
buildSentryConversationUrl
|
|
19
19
|
} from "./chunk-4CODA7P5.js";
|
|
@@ -40,7 +40,7 @@ import {
|
|
|
40
40
|
resolveBaseUrl,
|
|
41
41
|
resolvePluginOAuthAccount,
|
|
42
42
|
truncateStatusText
|
|
43
|
-
} from "./chunk-
|
|
43
|
+
} from "./chunk-7VF3JAVF.js";
|
|
44
44
|
import {
|
|
45
45
|
JUNIOR_THREAD_STATE_TTL_MS,
|
|
46
46
|
TurnSliceLimitExceededError,
|
|
@@ -73,13 +73,13 @@ import {
|
|
|
73
73
|
recordDeliveredAssistantMessage,
|
|
74
74
|
turnHasReply,
|
|
75
75
|
updateConversationStats
|
|
76
|
-
} from "./chunk-
|
|
76
|
+
} from "./chunk-KBW6J5GA.js";
|
|
77
77
|
import {
|
|
78
78
|
parseSlackThreadId,
|
|
79
79
|
readSlackRawMessageContext,
|
|
80
80
|
resolveSlackChannelIdFromMessage,
|
|
81
81
|
resolveSlackChannelIdFromThreadId
|
|
82
|
-
} from "./chunk-
|
|
82
|
+
} from "./chunk-QMK2VF6K.js";
|
|
83
83
|
import {
|
|
84
84
|
SlackActionError,
|
|
85
85
|
getDashboardConversationLink,
|
|
@@ -88,19 +88,19 @@ import {
|
|
|
88
88
|
getSlackClient,
|
|
89
89
|
isDmChannel,
|
|
90
90
|
normalizeSlackConversationId
|
|
91
|
-
} from "./chunk-
|
|
91
|
+
} from "./chunk-YZHA2L7P.js";
|
|
92
92
|
import {
|
|
93
93
|
getConversationEventStore,
|
|
94
94
|
getConversationStore,
|
|
95
95
|
parseDestination,
|
|
96
96
|
requireSlackDestination,
|
|
97
97
|
sameDestination
|
|
98
|
-
} from "./chunk-
|
|
98
|
+
} from "./chunk-S4LM6UB7.js";
|
|
99
99
|
import {
|
|
100
100
|
acquireActiveLock,
|
|
101
101
|
getDefaultRedisStateAdapterFor,
|
|
102
102
|
getStateAdapter
|
|
103
|
-
} from "./chunk-
|
|
103
|
+
} from "./chunk-F2ARYRKC.js";
|
|
104
104
|
import {
|
|
105
105
|
FUNCTION_TIMEOUT_BUFFER_SECONDS,
|
|
106
106
|
botConfig,
|
|
@@ -109,18 +109,18 @@ import {
|
|
|
109
109
|
getRuntimeMetadata,
|
|
110
110
|
normalizeSlackEmojiName,
|
|
111
111
|
standardModelId
|
|
112
|
-
} from "./chunk-
|
|
112
|
+
} from "./chunk-WIIPHGJY.js";
|
|
113
113
|
import {
|
|
114
114
|
discoverSkills
|
|
115
|
-
} from "./chunk-
|
|
115
|
+
} from "./chunk-R3GXQJEE.js";
|
|
116
116
|
import {
|
|
117
117
|
pluginCatalogRuntime
|
|
118
|
-
} from "./chunk-
|
|
118
|
+
} from "./chunk-JKV244BI.js";
|
|
119
119
|
import {
|
|
120
120
|
buildOAuthTokenRequest,
|
|
121
121
|
hasRequiredOAuthScope,
|
|
122
122
|
parseOAuthTokenResponse
|
|
123
|
-
} from "./chunk-
|
|
123
|
+
} from "./chunk-HXWOZ4HG.js";
|
|
124
124
|
import {
|
|
125
125
|
createSlackResumeActor,
|
|
126
126
|
isUserActor,
|
|
@@ -139,7 +139,7 @@ import {
|
|
|
139
139
|
toOptionalNumber,
|
|
140
140
|
toOptionalString,
|
|
141
141
|
withLogContext
|
|
142
|
-
} from "./chunk-
|
|
142
|
+
} from "./chunk-PD6J33TO.js";
|
|
143
143
|
import {
|
|
144
144
|
homeDir
|
|
145
145
|
} from "./chunk-H4HBKISO.js";
|
|
@@ -16,17 +16,17 @@ import {
|
|
|
16
16
|
instructionProvenanceFor,
|
|
17
17
|
sanitizePostgresJson,
|
|
18
18
|
withConversationEventLock
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-S4LM6UB7.js";
|
|
20
20
|
import {
|
|
21
21
|
getStateAdapter,
|
|
22
22
|
sleep
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-F2ARYRKC.js";
|
|
24
24
|
import {
|
|
25
25
|
botConfig,
|
|
26
26
|
escapeXml,
|
|
27
27
|
resolveGatewayModel,
|
|
28
28
|
unwrapCurrentInstruction
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-WIIPHGJY.js";
|
|
30
30
|
import {
|
|
31
31
|
toStoredSlackActor
|
|
32
32
|
} from "./chunk-HZF5P5UN.js";
|
|
@@ -41,7 +41,7 @@ import {
|
|
|
41
41
|
setSpanAttributes,
|
|
42
42
|
toOptionalNumber,
|
|
43
43
|
toOptionalString
|
|
44
|
-
} from "./chunk-
|
|
44
|
+
} from "./chunk-PD6J33TO.js";
|
|
45
45
|
|
|
46
46
|
// src/chat/turn-context-tag.ts
|
|
47
47
|
var TURN_CONTEXT_TAG = "runtime-turn-context";
|
|
@@ -22,7 +22,7 @@ import {
|
|
|
22
22
|
persistThreadStateById,
|
|
23
23
|
stripRuntimeTurnContext,
|
|
24
24
|
updateConversationStats
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-KBW6J5GA.js";
|
|
26
26
|
import {
|
|
27
27
|
createPluginConversationEvents,
|
|
28
28
|
createPluginEmbedder,
|
|
@@ -30,26 +30,26 @@ import {
|
|
|
30
30
|
createPluginModel,
|
|
31
31
|
createPluginState,
|
|
32
32
|
getPlugins
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-YZHA2L7P.js";
|
|
34
34
|
import {
|
|
35
35
|
getDb,
|
|
36
36
|
sameActorIdentity
|
|
37
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-S4LM6UB7.js";
|
|
38
38
|
import {
|
|
39
39
|
getStateAdapter
|
|
40
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-F2ARYRKC.js";
|
|
41
41
|
import {
|
|
42
42
|
ProviderError,
|
|
43
43
|
findProviderError,
|
|
44
44
|
getProviderErrorAttributes,
|
|
45
45
|
getProviderErrorUserMessage
|
|
46
|
-
} from "./chunk-
|
|
46
|
+
} from "./chunk-WIIPHGJY.js";
|
|
47
47
|
import {
|
|
48
48
|
parseSlackMessageTs
|
|
49
49
|
} from "./chunk-F3B2YJ76.js";
|
|
50
50
|
import {
|
|
51
51
|
buildTurnFailureResponse
|
|
52
|
-
} from "./chunk-
|
|
52
|
+
} from "./chunk-PD6J33TO.js";
|
|
53
53
|
|
|
54
54
|
// src/chat/runtime/delivered-turn-state.ts
|
|
55
55
|
function buildDeliveredTurnStatePatch(args) {
|
|
@@ -2,18 +2,18 @@ import {
|
|
|
2
2
|
SANDBOX_WORKSPACE_ROOT,
|
|
3
3
|
getStateAdapter,
|
|
4
4
|
sleep
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-F2ARYRKC.js";
|
|
6
6
|
import {
|
|
7
7
|
toOptionalTrimmed
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-WIIPHGJY.js";
|
|
9
9
|
import {
|
|
10
10
|
pluginCatalogRuntime
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-JKV244BI.js";
|
|
12
12
|
import {
|
|
13
13
|
setSpanAttributes,
|
|
14
14
|
setSpanStatus,
|
|
15
15
|
withSpan
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-PD6J33TO.js";
|
|
17
17
|
|
|
18
18
|
// src/chat/sandbox/snapshot/profile.ts
|
|
19
19
|
import { createHash } from "crypto";
|
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
TURN_REASONING_LEVELS,
|
|
10
10
|
getChatConfig,
|
|
11
11
|
modelProfileSchema
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-WIIPHGJY.js";
|
|
13
13
|
import {
|
|
14
14
|
juniorDestinations
|
|
15
15
|
} from "./chunk-VFUK3X5B.js";
|
|
@@ -19,7 +19,7 @@ import {
|
|
|
19
19
|
} from "./chunk-F3B2YJ76.js";
|
|
20
20
|
import {
|
|
21
21
|
normalizeIdentityEmail
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-PD6J33TO.js";
|
|
23
23
|
|
|
24
24
|
// src/chat/conversations/sql/store.ts
|
|
25
25
|
import { randomUUID as randomUUID2 } from "crypto";
|