@sentry/junior 0.142.0 → 0.143.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-WDJQQAPH.js → agent-hooks-2EP3QS47.js} +10 -10
- package/dist/api.js +19 -19
- package/dist/app.js +32 -32
- package/dist/{catalog-runtime-CLHTYBHB.js → catalog-runtime-IAVW4W3B.js} +5 -5
- package/dist/{chunk-4L7PKEHM.js → chunk-2KLMGRRQ.js} +1 -1
- package/dist/{chunk-LXLBYA6N.js → chunk-2T5CHXRZ.js} +2 -2
- package/dist/{chunk-LGY7YX5O.js → chunk-5YJBS4I5.js} +1 -1
- package/dist/{chunk-A646AKNB.js → chunk-7GVX5SOG.js} +2 -2
- package/dist/{chunk-7R3CGEMF.js → chunk-A3XPSABC.js} +3 -3
- package/dist/{chunk-QDRMQI5W.js → chunk-AEFJN7OK.js} +4 -4
- package/dist/{chunk-R7E476CH.js → chunk-ANG7IWAI.js} +6 -6
- package/dist/{chunk-SF6YKONJ.js → chunk-BJ6ISBOA.js} +1 -1
- package/dist/{chunk-T4NFQ5SG.js → chunk-F6RWNJBK.js} +5 -5
- package/dist/{chunk-XAW6IN6M.js → chunk-GZRWULXF.js} +1 -1
- package/dist/{chunk-RYYBUI34.js → chunk-I25V3XRN.js} +2 -2
- package/dist/{chunk-VJMBLWYR.js → chunk-I4NQNZVW.js} +6 -6
- package/dist/{chunk-WJEW7UNC.js → chunk-I5PIM72M.js} +10 -10
- package/dist/{chunk-N3H7G5K6.js → chunk-LSBQHDI2.js} +1 -1
- package/dist/{chunk-NWO5IB7V.js → chunk-M2T7MHQJ.js} +1 -1
- package/dist/{chunk-SCHH6264.js → chunk-NAINBOZQ.js} +3 -3
- package/dist/{chunk-WYLSMTWU.js → chunk-NVFVM67W.js} +1 -1
- package/dist/{chunk-JIWZ7T4C.js → chunk-OB7ZJK7Y.js} +1 -1
- package/dist/{chunk-5ITSZIAP.js → chunk-OG5JQHKR.js} +1 -1
- package/dist/{chunk-B2H7NI5C.js → chunk-PBV7VXUA.js} +4 -4
- package/dist/{chunk-ZPNUI4L3.js → chunk-QFWXGUAH.js} +15 -15
- package/dist/{chunk-5QVVW3FY.js → chunk-RABHACKG.js} +7 -7
- package/dist/{chunk-PWDCFIQG.js → chunk-SNBTWIQO.js} +6 -6
- package/dist/{chunk-XFHSZNOX.js → chunk-STX5WIH6.js} +2 -2
- package/dist/{chunk-HVTWCMDS.js → chunk-TPJK6AVJ.js} +1 -1
- package/dist/{chunk-CBMIVCPM.js → chunk-U5ATCOHE.js} +2 -2
- package/dist/{chunk-6IMKBHCG.js → chunk-UFCA4EZB.js} +4 -4
- package/dist/{chunk-DRTWANQF.js → chunk-WJHWOAVZ.js} +1 -1
- package/dist/{chunk-CA4WLRA3.js → chunk-WM4PRM7W.js} +4 -4
- package/dist/{chunk-LL3BGP7J.js → chunk-WSWVWP2V.js} +1 -1
- package/dist/{chunk-OQAPYAXH.js → chunk-X5SC2UGE.js} +3 -3
- package/dist/{chunk-4EZV6URQ.js → chunk-XYJNNZYR.js} +19 -19
- package/dist/cli/chat.js +32 -32
- 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-6N4CD5AI.js → db-RBXBVEVO.js} +7 -7
- package/dist/instrumentation.js +4 -4
- package/dist/nitro.js +2 -2
- package/dist/{oauth-callback-server-G4K2X56R.js → oauth-callback-server-LRB6BX6C.js} +23 -23
- package/dist/{runner-DEIHVRUE.js → runner-WK5VUOW6.js} +15 -15
- package/dist/{skills-FZVJ6ZFW.js → skills-MJWRME3A.js} +6 -6
- package/dist/{spawn-WD4F67SZ.js → spawn-ZCW6UOAA.js} +17 -17
- package/dist/{validation-EOLSG7B6.js → validation-556WSWVU.js} +6 -6
- package/dist/version.js +1 -1
- package/dist/{work-AS3IBMLA.js → work-W6IXSPY3.js} +16 -16
- package/dist/{worker-VGGNGOUU.js → worker-5KM346HH.js} +10 -10
- package/package.json +4 -4
|
@@ -11,21 +11,21 @@ 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-SNBTWIQO.js";
|
|
15
|
+
import "./chunk-I25V3XRN.js";
|
|
16
|
+
import "./chunk-NAINBOZQ.js";
|
|
17
|
+
import "./chunk-2KLMGRRQ.js";
|
|
18
18
|
import "./chunk-EM225ITJ.js";
|
|
19
|
-
import "./chunk-
|
|
20
|
-
import "./chunk-
|
|
19
|
+
import "./chunk-M2T7MHQJ.js";
|
|
20
|
+
import "./chunk-7GVX5SOG.js";
|
|
21
21
|
import "./chunk-VFUK3X5B.js";
|
|
22
|
-
import "./chunk-
|
|
22
|
+
import "./chunk-5YJBS4I5.js";
|
|
23
23
|
import "./chunk-HZF5P5UN.js";
|
|
24
24
|
import "./chunk-F3B2YJ76.js";
|
|
25
|
-
import "./chunk-
|
|
25
|
+
import "./chunk-GZRWULXF.js";
|
|
26
26
|
import "./chunk-6GWA276C.js";
|
|
27
|
-
import "./chunk-
|
|
28
|
-
import "./chunk-
|
|
27
|
+
import "./chunk-WSWVWP2V.js";
|
|
28
|
+
import "./chunk-OB7ZJK7Y.js";
|
|
29
29
|
import "./chunk-MLKGABMK.js";
|
|
30
30
|
export {
|
|
31
31
|
PluginHookDeniedError,
|
package/dist/api.js
CHANGED
|
@@ -33,7 +33,7 @@ import {
|
|
|
33
33
|
formatSlackConversationRedactedLabel,
|
|
34
34
|
readHealthReport,
|
|
35
35
|
resolveSlackConversationContextFromThreadId
|
|
36
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-2T5CHXRZ.js";
|
|
37
37
|
import {
|
|
38
38
|
buildSentryConversationUrl
|
|
39
39
|
} from "./chunk-4CODA7P5.js";
|
|
@@ -42,7 +42,7 @@ import {
|
|
|
42
42
|
readTaskExecutionStatusDays,
|
|
43
43
|
readTaskExecutionSummaries,
|
|
44
44
|
readTaskExecutions
|
|
45
|
-
} from "./chunk-
|
|
45
|
+
} from "./chunk-A3XPSABC.js";
|
|
46
46
|
import {
|
|
47
47
|
healthReportSchema,
|
|
48
48
|
pluginOperationalReportFeedSchema,
|
|
@@ -61,13 +61,13 @@ import {
|
|
|
61
61
|
listPublicEventTasksForTeams,
|
|
62
62
|
listPublicScheduledTasksForTeams,
|
|
63
63
|
readStats
|
|
64
|
-
} from "./chunk-
|
|
64
|
+
} from "./chunk-UFCA4EZB.js";
|
|
65
65
|
import {
|
|
66
66
|
parseSlackThreadId
|
|
67
|
-
} from "./chunk-
|
|
67
|
+
} from "./chunk-OG5JQHKR.js";
|
|
68
68
|
import {
|
|
69
69
|
fallbackShortTitle
|
|
70
|
-
} from "./chunk-
|
|
70
|
+
} from "./chunk-STX5WIH6.js";
|
|
71
71
|
import {
|
|
72
72
|
agentTurnUsageSchema,
|
|
73
73
|
hasAgentTurnUsage,
|
|
@@ -80,44 +80,44 @@ import {
|
|
|
80
80
|
listConversationAnnotations,
|
|
81
81
|
renderPluginConversationEvent,
|
|
82
82
|
resolveViewerUser
|
|
83
|
-
} from "./chunk-
|
|
83
|
+
} from "./chunk-SNBTWIQO.js";
|
|
84
84
|
import {
|
|
85
85
|
getSlackClient,
|
|
86
86
|
withSlackRetries
|
|
87
|
-
} from "./chunk-
|
|
87
|
+
} from "./chunk-I25V3XRN.js";
|
|
88
88
|
import {
|
|
89
89
|
decodeStoredConversationEvent,
|
|
90
90
|
getDb,
|
|
91
91
|
getSqlExecutor,
|
|
92
92
|
locationFromRow,
|
|
93
93
|
parseSessionSource
|
|
94
|
-
} from "./chunk-
|
|
94
|
+
} from "./chunk-NAINBOZQ.js";
|
|
95
95
|
import {
|
|
96
96
|
juniorApiTokens,
|
|
97
97
|
juniorConversationEvents,
|
|
98
98
|
juniorConversations,
|
|
99
99
|
juniorIdentities,
|
|
100
100
|
juniorUsers
|
|
101
|
-
} from "./chunk-
|
|
101
|
+
} from "./chunk-2KLMGRRQ.js";
|
|
102
102
|
import "./chunk-EM225ITJ.js";
|
|
103
|
-
import "./chunk-
|
|
104
|
-
import "./chunk-
|
|
103
|
+
import "./chunk-M2T7MHQJ.js";
|
|
104
|
+
import "./chunk-7GVX5SOG.js";
|
|
105
105
|
import {
|
|
106
106
|
juniorDestinations
|
|
107
107
|
} from "./chunk-VFUK3X5B.js";
|
|
108
108
|
import {
|
|
109
109
|
canExposeConversationPayload
|
|
110
|
-
} from "./chunk-
|
|
110
|
+
} from "./chunk-5YJBS4I5.js";
|
|
111
111
|
import "./chunk-HZF5P5UN.js";
|
|
112
112
|
import {
|
|
113
113
|
parseSlackChannelId,
|
|
114
114
|
parseSlackMessageTs,
|
|
115
115
|
parseSlackTeamId
|
|
116
116
|
} from "./chunk-F3B2YJ76.js";
|
|
117
|
-
import "./chunk-
|
|
117
|
+
import "./chunk-GZRWULXF.js";
|
|
118
118
|
import "./chunk-6GWA276C.js";
|
|
119
|
-
import "./chunk-
|
|
120
|
-
import "./chunk-
|
|
119
|
+
import "./chunk-WSWVWP2V.js";
|
|
120
|
+
import "./chunk-OB7ZJK7Y.js";
|
|
121
121
|
import "./chunk-MLKGABMK.js";
|
|
122
122
|
|
|
123
123
|
// src/api.ts
|
|
@@ -2178,7 +2178,7 @@ function readDescriptionText(home) {
|
|
|
2178
2178
|
}
|
|
2179
2179
|
}
|
|
2180
2180
|
async function readSkillReports() {
|
|
2181
|
-
const { discoverSkills } = await import("./skills-
|
|
2181
|
+
const { discoverSkills } = await import("./skills-MJWRME3A.js");
|
|
2182
2182
|
const skills = await discoverSkills();
|
|
2183
2183
|
return skillReportsSchema.parse(
|
|
2184
2184
|
skills.map((skill) => ({
|
|
@@ -2188,7 +2188,7 @@ async function readSkillReports() {
|
|
|
2188
2188
|
);
|
|
2189
2189
|
}
|
|
2190
2190
|
async function readPlugins() {
|
|
2191
|
-
const { pluginCatalogRuntime } = await import("./catalog-runtime-
|
|
2191
|
+
const { pluginCatalogRuntime } = await import("./catalog-runtime-IAVW4W3B.js");
|
|
2192
2192
|
return pluginsSchema.parse(
|
|
2193
2193
|
pluginCatalogRuntime.getProviders().map((plugin) => ({
|
|
2194
2194
|
configKeys: plugin.manifest.configKeys ?? [],
|
|
@@ -2201,7 +2201,7 @@ async function readPlugins() {
|
|
|
2201
2201
|
async function readRuntimeInfoReport() {
|
|
2202
2202
|
const [{ homeDir }, { pluginCatalogRuntime }, plugins, skills] = await Promise.all([
|
|
2203
2203
|
import("./discovery-GUFTFBTL.js"),
|
|
2204
|
-
import("./catalog-runtime-
|
|
2204
|
+
import("./catalog-runtime-IAVW4W3B.js"),
|
|
2205
2205
|
readPlugins(),
|
|
2206
2206
|
readSkillReports()
|
|
2207
2207
|
]);
|
|
@@ -2217,7 +2217,7 @@ async function readRuntimeInfoReport() {
|
|
|
2217
2217
|
}
|
|
2218
2218
|
async function readPluginOperationalReportFeed() {
|
|
2219
2219
|
const nowMs = Date.now();
|
|
2220
|
-
const { getPluginOperationalReports } = await import("./agent-hooks-
|
|
2220
|
+
const { getPluginOperationalReports } = await import("./agent-hooks-2EP3QS47.js");
|
|
2221
2221
|
return pluginOperationalReportFeedSchema.parse({
|
|
2222
2222
|
source: "plugins",
|
|
2223
2223
|
generatedAt: new Date(nowMs).toISOString(),
|
package/dist/app.js
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
processConversationWork
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-X5SC2UGE.js";
|
|
4
4
|
import {
|
|
5
5
|
bindSpawnAgent
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-LSBQHDI2.js";
|
|
7
7
|
import {
|
|
8
8
|
createAgentInvocationWorker,
|
|
9
9
|
enqueueAgentInvocation,
|
|
10
10
|
listPendingAgentInvocationMailboxAppends,
|
|
11
11
|
routeAgentInvocationWork
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-I4NQNZVW.js";
|
|
13
13
|
import {
|
|
14
14
|
GET as GET2,
|
|
15
15
|
GET2 as GET3,
|
|
@@ -39,7 +39,7 @@ import {
|
|
|
39
39
|
splitSlackReplyText,
|
|
40
40
|
startSlackProcessingReaction,
|
|
41
41
|
stripLeadingBotMention
|
|
42
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-QFWXGUAH.js";
|
|
43
43
|
import "./chunk-FA6POGLH.js";
|
|
44
44
|
import {
|
|
45
45
|
CONVERSATION_WORK_STALE_ENQUEUE_MS,
|
|
@@ -51,7 +51,7 @@ import {
|
|
|
51
51
|
isInvalidConversationRecordError,
|
|
52
52
|
listActiveConversationIds,
|
|
53
53
|
removeActiveConversation
|
|
54
|
-
} from "./chunk-
|
|
54
|
+
} from "./chunk-WM4PRM7W.js";
|
|
55
55
|
import {
|
|
56
56
|
buildConversationContext,
|
|
57
57
|
buildDeliveredTurnStatePatch,
|
|
@@ -91,7 +91,7 @@ import {
|
|
|
91
91
|
resolveTurnSessionRouting,
|
|
92
92
|
scheduleSessionCompletedPluginTasks,
|
|
93
93
|
upsertConversationMessage
|
|
94
|
-
} from "./chunk-
|
|
94
|
+
} from "./chunk-I5PIM72M.js";
|
|
95
95
|
import {
|
|
96
96
|
ConversationTurnLifecycleService
|
|
97
97
|
} from "./chunk-Q6QZTTLS.js";
|
|
@@ -100,11 +100,11 @@ import {
|
|
|
100
100
|
conversationVisibilityFromSlackChannelType,
|
|
101
101
|
resolveSlackChannelTypeFromMessage,
|
|
102
102
|
resolveSlackConversationContext
|
|
103
|
-
} from "./chunk-
|
|
103
|
+
} from "./chunk-2T5CHXRZ.js";
|
|
104
104
|
import "./chunk-4CODA7P5.js";
|
|
105
105
|
import {
|
|
106
106
|
recordTaskExecution
|
|
107
|
-
} from "./chunk-
|
|
107
|
+
} from "./chunk-A3XPSABC.js";
|
|
108
108
|
import "./chunk-UTL3MHPC.js";
|
|
109
109
|
import {
|
|
110
110
|
getVercelConversationWorkQueue,
|
|
@@ -123,7 +123,7 @@ import {
|
|
|
123
123
|
import {
|
|
124
124
|
validatePluginEgressCredentialHooks,
|
|
125
125
|
validatePluginRegistrations
|
|
126
|
-
} from "./chunk-
|
|
126
|
+
} from "./chunk-TPJK6AVJ.js";
|
|
127
127
|
import {
|
|
128
128
|
defineJuniorPlugins,
|
|
129
129
|
pluginCatalogConfigFromEnv,
|
|
@@ -156,18 +156,18 @@ import {
|
|
|
156
156
|
setConfigDefaults,
|
|
157
157
|
shouldEmitDevAgentTrace,
|
|
158
158
|
shouldPropagateSandboxEgressTrace
|
|
159
|
-
} from "./chunk-
|
|
159
|
+
} from "./chunk-XYJNNZYR.js";
|
|
160
160
|
import {
|
|
161
161
|
AuthorizationFlowDisabledError,
|
|
162
162
|
PluginCredentialFailureError
|
|
163
|
-
} from "./chunk-
|
|
163
|
+
} from "./chunk-F6RWNJBK.js";
|
|
164
164
|
import "./chunk-DIB4GX3G.js";
|
|
165
165
|
import {
|
|
166
166
|
createUserTokenStore,
|
|
167
167
|
deleteMcpAuthSessionsForUserProvider,
|
|
168
168
|
deleteMcpServerSessionId,
|
|
169
169
|
deleteMcpStoredOAuthCredentials
|
|
170
|
-
} from "./chunk-
|
|
170
|
+
} from "./chunk-RABHACKG.js";
|
|
171
171
|
import {
|
|
172
172
|
RetryableDeliveryError
|
|
173
173
|
} from "./chunk-R776HKPK.js";
|
|
@@ -175,10 +175,10 @@ import {
|
|
|
175
175
|
formatProviderLabel,
|
|
176
176
|
postSlackMessage,
|
|
177
177
|
startOAuthFlow
|
|
178
|
-
} from "./chunk-
|
|
178
|
+
} from "./chunk-ANG7IWAI.js";
|
|
179
179
|
import {
|
|
180
180
|
estimateTextTokens
|
|
181
|
-
} from "./chunk-
|
|
181
|
+
} from "./chunk-WJHWOAVZ.js";
|
|
182
182
|
import {
|
|
183
183
|
ConversationTurnBoundaryError,
|
|
184
184
|
CooperativeTurnYieldError,
|
|
@@ -223,7 +223,7 @@ import {
|
|
|
223
223
|
startActiveTurn,
|
|
224
224
|
stripRuntimeTurnContext,
|
|
225
225
|
trimTrailingAssistantMessages
|
|
226
|
-
} from "./chunk-
|
|
226
|
+
} from "./chunk-PBV7VXUA.js";
|
|
227
227
|
import "./chunk-3Y47VMHV.js";
|
|
228
228
|
import "./chunk-HUO3UTAQ.js";
|
|
229
229
|
import {
|
|
@@ -233,17 +233,17 @@ import {
|
|
|
233
233
|
import {
|
|
234
234
|
getSandboxResourceConfig,
|
|
235
235
|
setSandboxResourceConfig
|
|
236
|
-
} from "./chunk-
|
|
236
|
+
} from "./chunk-AEFJN7OK.js";
|
|
237
237
|
import {
|
|
238
238
|
createSchedulerSqlStore,
|
|
239
239
|
findMatchingEventTasks,
|
|
240
240
|
logScheduledTaskRunSkipped,
|
|
241
241
|
scheduledTaskRunAttributes
|
|
242
|
-
} from "./chunk-
|
|
242
|
+
} from "./chunk-UFCA4EZB.js";
|
|
243
243
|
import {
|
|
244
244
|
parseSlackThreadId
|
|
245
|
-
} from "./chunk-
|
|
246
|
-
import "./chunk-
|
|
245
|
+
} from "./chunk-OG5JQHKR.js";
|
|
246
|
+
import "./chunk-STX5WIH6.js";
|
|
247
247
|
import "./chunk-HLXXQI5Q.js";
|
|
248
248
|
import "./chunk-PDO5BLNM.js";
|
|
249
249
|
import "./chunk-UIE3R5XU.js";
|
|
@@ -263,7 +263,7 @@ import {
|
|
|
263
263
|
verifyEventTaskCredentialSubject,
|
|
264
264
|
verifyScheduledTaskCredentialSubject,
|
|
265
265
|
verifySlackDirectCredentialSubject
|
|
266
|
-
} from "./chunk-
|
|
266
|
+
} from "./chunk-SNBTWIQO.js";
|
|
267
267
|
import {
|
|
268
268
|
SlackActionError,
|
|
269
269
|
downloadPrivateSlackFile,
|
|
@@ -273,7 +273,7 @@ import {
|
|
|
273
273
|
normalizeSlackConversationId,
|
|
274
274
|
runWithSlackInstallationToken,
|
|
275
275
|
runWithWorkspaceTeamId
|
|
276
|
-
} from "./chunk-
|
|
276
|
+
} from "./chunk-I25V3XRN.js";
|
|
277
277
|
import {
|
|
278
278
|
contextProvenance,
|
|
279
279
|
createSlackDestination,
|
|
@@ -285,20 +285,20 @@ import {
|
|
|
285
285
|
requireSlackDestination,
|
|
286
286
|
withConversationEventLock,
|
|
287
287
|
withConversationMutationLock
|
|
288
|
-
} from "./chunk-
|
|
288
|
+
} from "./chunk-NAINBOZQ.js";
|
|
289
289
|
import {
|
|
290
290
|
juniorAgentBindings,
|
|
291
291
|
juniorAgentInvocations,
|
|
292
292
|
juniorConversationEvents,
|
|
293
293
|
juniorConversations
|
|
294
|
-
} from "./chunk-
|
|
294
|
+
} from "./chunk-2KLMGRRQ.js";
|
|
295
295
|
import {
|
|
296
296
|
sleep
|
|
297
297
|
} from "./chunk-EM225ITJ.js";
|
|
298
298
|
import {
|
|
299
299
|
acquireActiveLock,
|
|
300
300
|
getStateAdapter
|
|
301
|
-
} from "./chunk-
|
|
301
|
+
} from "./chunk-M2T7MHQJ.js";
|
|
302
302
|
import {
|
|
303
303
|
STANDARD_MODEL_PROFILE,
|
|
304
304
|
botConfig,
|
|
@@ -316,16 +316,16 @@ import {
|
|
|
316
316
|
modelIdForProfile,
|
|
317
317
|
setSlackReactionConfig,
|
|
318
318
|
standardModelId
|
|
319
|
-
} from "./chunk-
|
|
319
|
+
} from "./chunk-7GVX5SOG.js";
|
|
320
320
|
import {
|
|
321
321
|
juniorDestinations
|
|
322
322
|
} from "./chunk-VFUK3X5B.js";
|
|
323
|
-
import "./chunk-
|
|
324
|
-
import "./chunk-
|
|
323
|
+
import "./chunk-5YJBS4I5.js";
|
|
324
|
+
import "./chunk-U5ATCOHE.js";
|
|
325
325
|
import {
|
|
326
326
|
pluginCatalogRuntime
|
|
327
|
-
} from "./chunk-
|
|
328
|
-
import "./chunk-
|
|
327
|
+
} from "./chunk-NVFVM67W.js";
|
|
328
|
+
import "./chunk-BJ6ISBOA.js";
|
|
329
329
|
import {
|
|
330
330
|
credentialContextForActor
|
|
331
331
|
} from "./chunk-RUIXF3YQ.js";
|
|
@@ -357,7 +357,7 @@ import {
|
|
|
357
357
|
withContext,
|
|
358
358
|
withLogContext,
|
|
359
359
|
withSpan
|
|
360
|
-
} from "./chunk-
|
|
360
|
+
} from "./chunk-GZRWULXF.js";
|
|
361
361
|
import {
|
|
362
362
|
continueTrace
|
|
363
363
|
} from "./chunk-6GWA276C.js";
|
|
@@ -365,10 +365,10 @@ import "./chunk-OOUNJNMR.js";
|
|
|
365
365
|
import "./chunk-H4HBKISO.js";
|
|
366
366
|
import {
|
|
367
367
|
JUNIOR_PLUGIN_TASK_CALLBACK_ROUTE
|
|
368
|
-
} from "./chunk-
|
|
368
|
+
} from "./chunk-WSWVWP2V.js";
|
|
369
369
|
import {
|
|
370
370
|
JUNIOR_VERSION
|
|
371
|
-
} from "./chunk-
|
|
371
|
+
} from "./chunk-OB7ZJK7Y.js";
|
|
372
372
|
import "./chunk-MLKGABMK.js";
|
|
373
373
|
|
|
374
374
|
// src/app.ts
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
pluginCatalogRuntime
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-NVFVM67W.js";
|
|
4
|
+
import "./chunk-BJ6ISBOA.js";
|
|
5
5
|
import "./chunk-RUIXF3YQ.js";
|
|
6
6
|
import "./chunk-HZF5P5UN.js";
|
|
7
7
|
import "./chunk-F3B2YJ76.js";
|
|
8
|
-
import "./chunk-
|
|
8
|
+
import "./chunk-GZRWULXF.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-WSWVWP2V.js";
|
|
13
|
+
import "./chunk-OB7ZJK7Y.js";
|
|
14
14
|
import "./chunk-MLKGABMK.js";
|
|
15
15
|
export {
|
|
16
16
|
pluginCatalogRuntime
|
|
@@ -3,10 +3,10 @@ import {
|
|
|
3
3
|
} from "./chunk-UTL3MHPC.js";
|
|
4
4
|
import {
|
|
5
5
|
parseSlackThreadId
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-OG5JQHKR.js";
|
|
7
7
|
import {
|
|
8
8
|
normalizeSlackConversationId
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-I25V3XRN.js";
|
|
10
10
|
|
|
11
11
|
// src/handlers/health.ts
|
|
12
12
|
function readHealthReport() {
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
toCanonicalInputMessage,
|
|
4
4
|
toCanonicalOutputMessage,
|
|
5
5
|
toGenAiMessagesTraceAttributes
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-5YJBS4I5.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-GZRWULXF.js";
|
|
15
15
|
|
|
16
16
|
// src/chat/services/provider-error.ts
|
|
17
17
|
var ProviderError = class extends Error {
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getDb
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-NAINBOZQ.js";
|
|
4
4
|
import {
|
|
5
5
|
juniorConversations,
|
|
6
6
|
juniorTaskExecutions
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-2KLMGRRQ.js";
|
|
8
8
|
import {
|
|
9
9
|
logWarn
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-GZRWULXF.js";
|
|
11
11
|
|
|
12
12
|
// src/chat/tasks/execution-stats.ts
|
|
13
13
|
import { and, asc, count, desc, eq, gte, inArray, lte, max, sql } from "drizzle-orm";
|
|
@@ -4,18 +4,18 @@ import {
|
|
|
4
4
|
} from "./chunk-EM225ITJ.js";
|
|
5
5
|
import {
|
|
6
6
|
getStateAdapter
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-M2T7MHQJ.js";
|
|
8
8
|
import {
|
|
9
9
|
toOptionalTrimmed
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-7GVX5SOG.js";
|
|
11
11
|
import {
|
|
12
12
|
pluginCatalogRuntime
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-NVFVM67W.js";
|
|
14
14
|
import {
|
|
15
15
|
setSpanAttributes,
|
|
16
16
|
setSpanStatus,
|
|
17
17
|
withSpan
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-GZRWULXF.js";
|
|
19
19
|
|
|
20
20
|
// src/chat/sandbox/resources.ts
|
|
21
21
|
var configuredResources;
|
|
@@ -4,19 +4,19 @@ import {
|
|
|
4
4
|
isDmChannel,
|
|
5
5
|
normalizeSlackConversationId,
|
|
6
6
|
withSlackRetries
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-I25V3XRN.js";
|
|
8
8
|
import {
|
|
9
9
|
parseDestination
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-NAINBOZQ.js";
|
|
11
11
|
import {
|
|
12
12
|
getStateAdapter
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-M2T7MHQJ.js";
|
|
14
14
|
import {
|
|
15
15
|
normalizeSlackEmojiName
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-7GVX5SOG.js";
|
|
17
17
|
import {
|
|
18
18
|
pluginCatalogRuntime
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-NVFVM67W.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-GZRWULXF.js";
|
|
29
29
|
|
|
30
30
|
// src/chat/slack/outbound.ts
|
|
31
31
|
var MAX_SLACK_MESSAGE_TEXT_CHARS = 4e4;
|
|
@@ -4,24 +4,24 @@ import {
|
|
|
4
4
|
import {
|
|
5
5
|
formatProviderLabel,
|
|
6
6
|
startOAuthFlow
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-ANG7IWAI.js";
|
|
8
8
|
import {
|
|
9
9
|
abandonReplacedPendingAuth,
|
|
10
10
|
canReusePendingAuthLink,
|
|
11
11
|
recordAuthorizationRequested
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-PBV7VXUA.js";
|
|
13
13
|
import {
|
|
14
14
|
parseSandboxEgressAuthRequiredSignal
|
|
15
15
|
} from "./chunk-HUO3UTAQ.js";
|
|
16
16
|
import {
|
|
17
17
|
AGENT_INVOCATION_MAILBOX_STATUSES
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-2KLMGRRQ.js";
|
|
19
19
|
import {
|
|
20
20
|
TURN_REASONING_LEVELS
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-7GVX5SOG.js";
|
|
22
22
|
import {
|
|
23
23
|
pluginCatalogRuntime
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-NVFVM67W.js";
|
|
25
25
|
import {
|
|
26
26
|
credentialContextSchema
|
|
27
27
|
} from "./chunk-RUIXF3YQ.js";
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
} from "./chunk-EM225ITJ.js";
|
|
4
4
|
import {
|
|
5
5
|
getSlackBotToken
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-7GVX5SOG.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-GZRWULXF.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
|
appendAndEnqueueInboundMessage
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-WM4PRM7W.js";
|
|
4
4
|
import {
|
|
5
5
|
ConversationTurnLifecycleService
|
|
6
6
|
} from "./chunk-Q6QZTTLS.js";
|
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
agentBindingSchema,
|
|
13
13
|
agentInvocationSchema,
|
|
14
14
|
createAgentInvocationSchema
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-F6RWNJBK.js";
|
|
16
16
|
import {
|
|
17
17
|
TurnInputCommitLostError,
|
|
18
18
|
coerceThreadArtifactsState,
|
|
@@ -28,20 +28,20 @@ import {
|
|
|
28
28
|
persistCompletedSessionRecord,
|
|
29
29
|
persistThreadStateById,
|
|
30
30
|
persistYieldSessionRecord
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-PBV7VXUA.js";
|
|
32
32
|
import {
|
|
33
33
|
getConversationEventStore,
|
|
34
34
|
getConversationStore,
|
|
35
35
|
getSqlExecutor
|
|
36
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-NAINBOZQ.js";
|
|
37
37
|
import {
|
|
38
38
|
juniorAgentBindings,
|
|
39
39
|
juniorAgentInvocations
|
|
40
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-2KLMGRRQ.js";
|
|
41
41
|
import {
|
|
42
42
|
botConfig,
|
|
43
43
|
modelIdForProfile
|
|
44
|
-
} from "./chunk-
|
|
44
|
+
} from "./chunk-7GVX5SOG.js";
|
|
45
45
|
|
|
46
46
|
// src/chat/agent-invocations/work.ts
|
|
47
47
|
import { z } from "zod";
|