@sentry/junior 0.136.0 → 0.136.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-TQSI2FKN.js → agent-hooks-2KDSPPO4.js} +9 -9
- package/dist/api.js +16 -16
- package/dist/app.js +22 -22
- package/dist/{catalog-runtime-VXL5EO2X.js → catalog-runtime-WSZQGC4D.js} +5 -5
- package/dist/{chunk-KRUSDASP.js → chunk-22Z6MGMK.js} +1 -1
- package/dist/{chunk-IUSO5QUB.js → chunk-3QNJOHKG.js} +1 -1
- package/dist/{chunk-6ABWAONM.js → chunk-3SUK3UXX.js} +5 -5
- package/dist/{chunk-5I3MXBNV.js → chunk-4YQ6I6VF.js} +1 -1
- package/dist/{chunk-ZIYDJIWQ.js → chunk-BG3KWWDJ.js} +1 -1
- package/dist/{chunk-XRC4TXJ4.js → chunk-CDVCCOMF.js} +12 -12
- package/dist/{chunk-CTKCGKWB.js → chunk-CZZDCH3Q.js} +4 -4
- package/dist/{chunk-QCX3TRIM.js → chunk-FSYXYBWU.js} +2 -2
- package/dist/{chunk-HEGTNY2S.js → chunk-G66RYKRS.js} +7 -7
- package/dist/{chunk-4ULSYOL6.js → chunk-HIRIWTWD.js} +3 -3
- package/dist/{chunk-DO37VD6O.js → chunk-JQRTXJHD.js} +1 -1
- package/dist/{chunk-76Y5A57F.js → chunk-KLBYCSLJ.js} +5 -5
- package/dist/{chunk-BTBTQEXF.js → chunk-MW2QRPGW.js} +1 -1
- package/dist/{chunk-3TOCJOYJ.js → chunk-NVVBEJUB.js} +4 -4
- package/dist/{chunk-3NLQQ7DC.js → chunk-OTJMQYVP.js} +14 -14
- package/dist/{chunk-2E5D3Z3U.js → chunk-RFDD3Z2I.js} +1 -1
- package/dist/{chunk-3UUDZPO5.js → chunk-TYNMSQKA.js} +1 -1
- package/dist/{chunk-CGZ6O74P.js → chunk-UX2TNH5D.js} +3 -3
- package/dist/{chunk-4VDQGQHY.js → chunk-VH6MI4L7.js} +1 -1
- package/dist/{chunk-QE4DN7JQ.js → chunk-XCZ6COFO.js} +2 -2
- package/dist/{chunk-BECYUPSQ.js → chunk-XWPA5KZF.js} +1 -1
- package/dist/{chunk-UIAZI7UJ.js → chunk-Y6JNHTRD.js} +6 -6
- package/dist/cli/chat.js +24 -24
- package/dist/cli/check.js +6 -6
- package/dist/cli/plugins.js +12 -12
- package/dist/cli/snapshot-create.js +9 -9
- package/dist/cli/upgrade.js +7 -7
- package/dist/{db-NN6T27OO.js → db-Z2NNL2JC.js} +7 -7
- package/dist/instrumentation.js +4 -4
- package/dist/nitro.js +2 -2
- package/dist/{oauth-callback-server-VJQ27ITN.js → oauth-callback-server-PO3M5JMG.js} +17 -17
- package/dist/{runner-ZHI3GQII.js → runner-QHQYZYJA.js} +11 -11
- package/dist/{skills-YT5ZSNAW.js → skills-KXMT3DRA.js} +6 -6
- package/dist/{validation-EKUNT5IY.js → validation-Y42ULTT6.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-
|
|
16
|
-
import "./chunk-
|
|
17
|
-
import "./chunk-
|
|
18
|
-
import "./chunk-
|
|
14
|
+
} from "./chunk-KLBYCSLJ.js";
|
|
15
|
+
import "./chunk-HIRIWTWD.js";
|
|
16
|
+
import "./chunk-MW2QRPGW.js";
|
|
17
|
+
import "./chunk-4YQ6I6VF.js";
|
|
18
|
+
import "./chunk-XCZ6COFO.js";
|
|
19
19
|
import "./chunk-VFUK3X5B.js";
|
|
20
|
-
import "./chunk-
|
|
20
|
+
import "./chunk-22Z6MGMK.js";
|
|
21
21
|
import "./chunk-HZF5P5UN.js";
|
|
22
22
|
import "./chunk-F3B2YJ76.js";
|
|
23
|
-
import "./chunk-
|
|
23
|
+
import "./chunk-XWPA5KZF.js";
|
|
24
24
|
import "./chunk-6GWA276C.js";
|
|
25
|
-
import "./chunk-
|
|
26
|
-
import "./chunk-
|
|
25
|
+
import "./chunk-BG3KWWDJ.js";
|
|
26
|
+
import "./chunk-JQRTXJHD.js";
|
|
27
27
|
import "./chunk-MLKGABMK.js";
|
|
28
28
|
export {
|
|
29
29
|
PluginHookDeniedError,
|
package/dist/api.js
CHANGED
|
@@ -34,7 +34,7 @@ import {
|
|
|
34
34
|
readTaskExecutionDays,
|
|
35
35
|
readTaskExecutionSummaries,
|
|
36
36
|
resolveSlackConversationContextFromThreadId
|
|
37
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-3SUK3UXX.js";
|
|
38
38
|
import {
|
|
39
39
|
buildSentryConversationUrl
|
|
40
40
|
} from "./chunk-4CODA7P5.js";
|
|
@@ -56,10 +56,10 @@ import {
|
|
|
56
56
|
listPublicEventTasksForTeams,
|
|
57
57
|
listPublicScheduledTasksForTeams,
|
|
58
58
|
readStats
|
|
59
|
-
} from "./chunk-
|
|
59
|
+
} from "./chunk-UX2TNH5D.js";
|
|
60
60
|
import {
|
|
61
61
|
parseSlackThreadId
|
|
62
|
-
} from "./chunk-
|
|
62
|
+
} from "./chunk-TYNMSQKA.js";
|
|
63
63
|
import {
|
|
64
64
|
agentTurnUsageSchema,
|
|
65
65
|
hasAgentTurnUsage,
|
|
@@ -72,38 +72,38 @@ import {
|
|
|
72
72
|
listConversationAnnotations,
|
|
73
73
|
renderPluginConversationEvent,
|
|
74
74
|
resolveViewerUser
|
|
75
|
-
} from "./chunk-
|
|
75
|
+
} from "./chunk-KLBYCSLJ.js";
|
|
76
76
|
import {
|
|
77
77
|
decodeStoredConversationEvent,
|
|
78
78
|
getDb,
|
|
79
79
|
getSqlExecutor,
|
|
80
80
|
locationFromRow,
|
|
81
81
|
parseSessionSource
|
|
82
|
-
} from "./chunk-
|
|
82
|
+
} from "./chunk-HIRIWTWD.js";
|
|
83
83
|
import {
|
|
84
84
|
juniorApiTokens,
|
|
85
85
|
juniorConversationEvents,
|
|
86
86
|
juniorConversations,
|
|
87
87
|
juniorIdentities,
|
|
88
88
|
juniorUsers
|
|
89
|
-
} from "./chunk-
|
|
90
|
-
import "./chunk-
|
|
91
|
-
import "./chunk-
|
|
89
|
+
} from "./chunk-MW2QRPGW.js";
|
|
90
|
+
import "./chunk-4YQ6I6VF.js";
|
|
91
|
+
import "./chunk-XCZ6COFO.js";
|
|
92
92
|
import {
|
|
93
93
|
juniorDestinations
|
|
94
94
|
} from "./chunk-VFUK3X5B.js";
|
|
95
95
|
import {
|
|
96
96
|
canExposeConversationPayload
|
|
97
|
-
} from "./chunk-
|
|
97
|
+
} from "./chunk-22Z6MGMK.js";
|
|
98
98
|
import "./chunk-HZF5P5UN.js";
|
|
99
99
|
import {
|
|
100
100
|
parseSlackChannelId,
|
|
101
101
|
parseSlackTeamId
|
|
102
102
|
} from "./chunk-F3B2YJ76.js";
|
|
103
|
-
import "./chunk-
|
|
103
|
+
import "./chunk-XWPA5KZF.js";
|
|
104
104
|
import "./chunk-6GWA276C.js";
|
|
105
|
-
import "./chunk-
|
|
106
|
-
import "./chunk-
|
|
105
|
+
import "./chunk-BG3KWWDJ.js";
|
|
106
|
+
import "./chunk-JQRTXJHD.js";
|
|
107
107
|
import "./chunk-MLKGABMK.js";
|
|
108
108
|
|
|
109
109
|
// src/api.ts
|
|
@@ -2029,7 +2029,7 @@ function readDescriptionText(home) {
|
|
|
2029
2029
|
}
|
|
2030
2030
|
}
|
|
2031
2031
|
async function readSkillReports() {
|
|
2032
|
-
const { discoverSkills } = await import("./skills-
|
|
2032
|
+
const { discoverSkills } = await import("./skills-KXMT3DRA.js");
|
|
2033
2033
|
const skills = await discoverSkills();
|
|
2034
2034
|
return skillReportsSchema.parse(
|
|
2035
2035
|
skills.map((skill) => ({
|
|
@@ -2039,7 +2039,7 @@ async function readSkillReports() {
|
|
|
2039
2039
|
);
|
|
2040
2040
|
}
|
|
2041
2041
|
async function readPlugins() {
|
|
2042
|
-
const { pluginCatalogRuntime } = await import("./catalog-runtime-
|
|
2042
|
+
const { pluginCatalogRuntime } = await import("./catalog-runtime-WSZQGC4D.js");
|
|
2043
2043
|
return pluginsSchema.parse(
|
|
2044
2044
|
pluginCatalogRuntime.getProviders().map((plugin) => ({
|
|
2045
2045
|
configKeys: plugin.manifest.configKeys ?? [],
|
|
@@ -2052,7 +2052,7 @@ async function readPlugins() {
|
|
|
2052
2052
|
async function readRuntimeInfoReport() {
|
|
2053
2053
|
const [{ homeDir }, { pluginCatalogRuntime }, plugins, skills] = await Promise.all([
|
|
2054
2054
|
import("./discovery-GUFTFBTL.js"),
|
|
2055
|
-
import("./catalog-runtime-
|
|
2055
|
+
import("./catalog-runtime-WSZQGC4D.js"),
|
|
2056
2056
|
readPlugins(),
|
|
2057
2057
|
readSkillReports()
|
|
2058
2058
|
]);
|
|
@@ -2068,7 +2068,7 @@ async function readRuntimeInfoReport() {
|
|
|
2068
2068
|
}
|
|
2069
2069
|
async function readPluginOperationalReportFeed() {
|
|
2070
2070
|
const nowMs = Date.now();
|
|
2071
|
-
const { getPluginOperationalReports } = await import("./agent-hooks-
|
|
2071
|
+
const { getPluginOperationalReports } = await import("./agent-hooks-2KDSPPO4.js");
|
|
2072
2072
|
return pluginOperationalReportFeedSchema.parse({
|
|
2073
2073
|
source: "plugins",
|
|
2074
2074
|
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-CDVCCOMF.js";
|
|
54
54
|
import "./chunk-FA6POGLH.js";
|
|
55
55
|
import {
|
|
56
56
|
ConversationTurnLifecycleService,
|
|
@@ -65,14 +65,14 @@ import {
|
|
|
65
65
|
processPluginTask,
|
|
66
66
|
requireTurnFailureEventId,
|
|
67
67
|
scheduleSessionCompletedPluginTasks
|
|
68
|
-
} from "./chunk-
|
|
68
|
+
} from "./chunk-Y6JNHTRD.js";
|
|
69
69
|
import {
|
|
70
70
|
GET,
|
|
71
71
|
conversationVisibilityFromSlackChannelType,
|
|
72
72
|
recordTaskExecution,
|
|
73
73
|
resolveSlackChannelTypeFromMessage,
|
|
74
74
|
resolveSlackConversationContext
|
|
75
|
-
} from "./chunk-
|
|
75
|
+
} from "./chunk-3SUK3UXX.js";
|
|
76
76
|
import "./chunk-4CODA7P5.js";
|
|
77
77
|
import "./chunk-UTL3MHPC.js";
|
|
78
78
|
import {
|
|
@@ -91,7 +91,7 @@ import {
|
|
|
91
91
|
import {
|
|
92
92
|
validatePluginEgressCredentialHooks,
|
|
93
93
|
validatePluginRegistrations
|
|
94
|
-
} from "./chunk-
|
|
94
|
+
} from "./chunk-RFDD3Z2I.js";
|
|
95
95
|
import {
|
|
96
96
|
defineJuniorPlugins,
|
|
97
97
|
pluginCatalogConfigFromEnv,
|
|
@@ -126,7 +126,7 @@ import {
|
|
|
126
126
|
setConfigDefaults,
|
|
127
127
|
shouldEmitDevAgentTrace,
|
|
128
128
|
shouldPropagateSandboxEgressTrace
|
|
129
|
-
} from "./chunk-
|
|
129
|
+
} from "./chunk-OTJMQYVP.js";
|
|
130
130
|
import "./chunk-DIB4GX3G.js";
|
|
131
131
|
import {
|
|
132
132
|
RetryableDeliveryError,
|
|
@@ -137,7 +137,7 @@ import {
|
|
|
137
137
|
formatProviderLabel,
|
|
138
138
|
postSlackMessage,
|
|
139
139
|
startOAuthFlow
|
|
140
|
-
} from "./chunk-
|
|
140
|
+
} from "./chunk-G66RYKRS.js";
|
|
141
141
|
import {
|
|
142
142
|
ConversationTurnBoundaryError,
|
|
143
143
|
CooperativeTurnYieldError,
|
|
@@ -193,19 +193,19 @@ import {
|
|
|
193
193
|
trimTrailingAssistantMessages,
|
|
194
194
|
updateConversationStats,
|
|
195
195
|
upsertConversationMessage
|
|
196
|
-
} from "./chunk-
|
|
196
|
+
} from "./chunk-NVVBEJUB.js";
|
|
197
197
|
import "./chunk-EPBBYMNE.js";
|
|
198
198
|
import {
|
|
199
199
|
getSandboxResourceConfig,
|
|
200
200
|
setSandboxResourceConfig
|
|
201
|
-
} from "./chunk-
|
|
201
|
+
} from "./chunk-CZZDCH3Q.js";
|
|
202
202
|
import {
|
|
203
203
|
createSchedulerSqlStore,
|
|
204
204
|
findMatchingEventTasks
|
|
205
|
-
} from "./chunk-
|
|
205
|
+
} from "./chunk-UX2TNH5D.js";
|
|
206
206
|
import {
|
|
207
207
|
parseSlackThreadId
|
|
208
|
-
} from "./chunk-
|
|
208
|
+
} from "./chunk-TYNMSQKA.js";
|
|
209
209
|
import "./chunk-CDQ4YIZM.js";
|
|
210
210
|
import "./chunk-PDO5BLNM.js";
|
|
211
211
|
import "./chunk-UIE3R5XU.js";
|
|
@@ -233,7 +233,7 @@ import {
|
|
|
233
233
|
verifyEventTaskCredentialSubject,
|
|
234
234
|
verifyScheduledTaskCredentialSubject,
|
|
235
235
|
verifySlackDirectCredentialSubject
|
|
236
|
-
} from "./chunk-
|
|
236
|
+
} from "./chunk-KLBYCSLJ.js";
|
|
237
237
|
import {
|
|
238
238
|
contextProvenance,
|
|
239
239
|
createSlackDestination,
|
|
@@ -244,16 +244,16 @@ import {
|
|
|
244
244
|
instructionProvenanceFor,
|
|
245
245
|
requireSlackDestination,
|
|
246
246
|
withConversationEventLock
|
|
247
|
-
} from "./chunk-
|
|
247
|
+
} from "./chunk-HIRIWTWD.js";
|
|
248
248
|
import {
|
|
249
249
|
juniorConversationEvents,
|
|
250
250
|
juniorConversations
|
|
251
|
-
} from "./chunk-
|
|
251
|
+
} from "./chunk-MW2QRPGW.js";
|
|
252
252
|
import {
|
|
253
253
|
acquireActiveLock,
|
|
254
254
|
getStateAdapter,
|
|
255
255
|
sleep
|
|
256
|
-
} from "./chunk-
|
|
256
|
+
} from "./chunk-4YQ6I6VF.js";
|
|
257
257
|
import {
|
|
258
258
|
STANDARD_MODEL_PROFILE,
|
|
259
259
|
botConfig,
|
|
@@ -271,16 +271,16 @@ import {
|
|
|
271
271
|
modelIdForProfile,
|
|
272
272
|
setSlackReactionConfig,
|
|
273
273
|
standardModelId
|
|
274
|
-
} from "./chunk-
|
|
274
|
+
} from "./chunk-XCZ6COFO.js";
|
|
275
275
|
import {
|
|
276
276
|
juniorDestinations
|
|
277
277
|
} from "./chunk-VFUK3X5B.js";
|
|
278
|
-
import "./chunk-
|
|
279
|
-
import "./chunk-
|
|
278
|
+
import "./chunk-22Z6MGMK.js";
|
|
279
|
+
import "./chunk-FSYXYBWU.js";
|
|
280
280
|
import {
|
|
281
281
|
pluginCatalogRuntime
|
|
282
|
-
} from "./chunk-
|
|
283
|
-
import "./chunk-
|
|
282
|
+
} from "./chunk-3QNJOHKG.js";
|
|
283
|
+
import "./chunk-VH6MI4L7.js";
|
|
284
284
|
import {
|
|
285
285
|
credentialSubjectSchema
|
|
286
286
|
} from "./chunk-77VDLF3Z.js";
|
|
@@ -312,7 +312,7 @@ import {
|
|
|
312
312
|
withContext,
|
|
313
313
|
withLogContext,
|
|
314
314
|
withSpan
|
|
315
|
-
} from "./chunk-
|
|
315
|
+
} from "./chunk-XWPA5KZF.js";
|
|
316
316
|
import {
|
|
317
317
|
continueTrace
|
|
318
318
|
} from "./chunk-6GWA276C.js";
|
|
@@ -320,10 +320,10 @@ import "./chunk-OOUNJNMR.js";
|
|
|
320
320
|
import "./chunk-H4HBKISO.js";
|
|
321
321
|
import {
|
|
322
322
|
JUNIOR_PLUGIN_TASK_CALLBACK_ROUTE
|
|
323
|
-
} from "./chunk-
|
|
323
|
+
} from "./chunk-BG3KWWDJ.js";
|
|
324
324
|
import {
|
|
325
325
|
JUNIOR_VERSION
|
|
326
|
-
} from "./chunk-
|
|
326
|
+
} from "./chunk-JQRTXJHD.js";
|
|
327
327
|
import "./chunk-MLKGABMK.js";
|
|
328
328
|
|
|
329
329
|
// src/app.ts
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
pluginCatalogRuntime
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-3QNJOHKG.js";
|
|
4
|
+
import "./chunk-VH6MI4L7.js";
|
|
5
5
|
import "./chunk-77VDLF3Z.js";
|
|
6
6
|
import "./chunk-HZF5P5UN.js";
|
|
7
7
|
import "./chunk-F3B2YJ76.js";
|
|
8
|
-
import "./chunk-
|
|
8
|
+
import "./chunk-XWPA5KZF.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-BG3KWWDJ.js";
|
|
13
|
+
import "./chunk-JQRTXJHD.js";
|
|
14
14
|
import "./chunk-MLKGABMK.js";
|
|
15
15
|
export {
|
|
16
16
|
pluginCatalogRuntime
|
|
@@ -3,19 +3,19 @@ import {
|
|
|
3
3
|
} from "./chunk-UTL3MHPC.js";
|
|
4
4
|
import {
|
|
5
5
|
parseSlackThreadId
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-TYNMSQKA.js";
|
|
7
7
|
import {
|
|
8
8
|
normalizeSlackConversationId
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-KLBYCSLJ.js";
|
|
10
10
|
import {
|
|
11
11
|
getDb
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-HIRIWTWD.js";
|
|
13
13
|
import {
|
|
14
14
|
juniorTaskExecutions
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-MW2QRPGW.js";
|
|
16
16
|
import {
|
|
17
17
|
logWarn
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-XWPA5KZF.js";
|
|
19
19
|
|
|
20
20
|
// src/handlers/health.ts
|
|
21
21
|
function readHealthReport() {
|
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
persistAuthPauseTurnState,
|
|
14
14
|
requireTurnFailureEventId,
|
|
15
15
|
scheduleSessionCompletedPluginTasks
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-Y6JNHTRD.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-G66RYKRS.js";
|
|
44
44
|
import {
|
|
45
45
|
JUNIOR_THREAD_STATE_TTL_MS,
|
|
46
46
|
TurnSliceLimitExceededError,
|
|
@@ -72,13 +72,13 @@ import {
|
|
|
72
72
|
recordDeliveredAssistantMessage,
|
|
73
73
|
turnHasReply,
|
|
74
74
|
updateConversationStats
|
|
75
|
-
} from "./chunk-
|
|
75
|
+
} from "./chunk-NVVBEJUB.js";
|
|
76
76
|
import {
|
|
77
77
|
parseSlackThreadId,
|
|
78
78
|
readSlackRawMessageContext,
|
|
79
79
|
resolveSlackChannelIdFromMessage,
|
|
80
80
|
resolveSlackChannelIdFromThreadId
|
|
81
|
-
} from "./chunk-
|
|
81
|
+
} from "./chunk-TYNMSQKA.js";
|
|
82
82
|
import {
|
|
83
83
|
SlackActionError,
|
|
84
84
|
getDashboardConversationLink,
|
|
@@ -87,19 +87,19 @@ import {
|
|
|
87
87
|
getSlackClient,
|
|
88
88
|
isDmChannel,
|
|
89
89
|
normalizeSlackConversationId
|
|
90
|
-
} from "./chunk-
|
|
90
|
+
} from "./chunk-KLBYCSLJ.js";
|
|
91
91
|
import {
|
|
92
92
|
getConversationEventStore,
|
|
93
93
|
getConversationStore,
|
|
94
94
|
parseDestination,
|
|
95
95
|
requireSlackDestination,
|
|
96
96
|
sameDestination
|
|
97
|
-
} from "./chunk-
|
|
97
|
+
} from "./chunk-HIRIWTWD.js";
|
|
98
98
|
import {
|
|
99
99
|
acquireActiveLock,
|
|
100
100
|
getDefaultRedisStateAdapterFor,
|
|
101
101
|
getStateAdapter
|
|
102
|
-
} from "./chunk-
|
|
102
|
+
} from "./chunk-4YQ6I6VF.js";
|
|
103
103
|
import {
|
|
104
104
|
FUNCTION_TIMEOUT_BUFFER_SECONDS,
|
|
105
105
|
botConfig,
|
|
@@ -108,18 +108,18 @@ import {
|
|
|
108
108
|
getRuntimeMetadata,
|
|
109
109
|
normalizeSlackEmojiName,
|
|
110
110
|
standardModelId
|
|
111
|
-
} from "./chunk-
|
|
111
|
+
} from "./chunk-XCZ6COFO.js";
|
|
112
112
|
import {
|
|
113
113
|
discoverSkills
|
|
114
|
-
} from "./chunk-
|
|
114
|
+
} from "./chunk-FSYXYBWU.js";
|
|
115
115
|
import {
|
|
116
116
|
pluginCatalogRuntime
|
|
117
|
-
} from "./chunk-
|
|
117
|
+
} from "./chunk-3QNJOHKG.js";
|
|
118
118
|
import {
|
|
119
119
|
buildOAuthTokenRequest,
|
|
120
120
|
hasRequiredOAuthScope,
|
|
121
121
|
parseOAuthTokenResponse
|
|
122
|
-
} from "./chunk-
|
|
122
|
+
} from "./chunk-VH6MI4L7.js";
|
|
123
123
|
import {
|
|
124
124
|
createSlackResumeActor,
|
|
125
125
|
isUserActor,
|
|
@@ -138,7 +138,7 @@ import {
|
|
|
138
138
|
toOptionalNumber,
|
|
139
139
|
toOptionalString,
|
|
140
140
|
withLogContext
|
|
141
|
-
} from "./chunk-
|
|
141
|
+
} from "./chunk-XWPA5KZF.js";
|
|
142
142
|
import {
|
|
143
143
|
homeDir
|
|
144
144
|
} from "./chunk-H4HBKISO.js";
|
|
@@ -2,18 +2,18 @@ import {
|
|
|
2
2
|
SANDBOX_WORKSPACE_ROOT,
|
|
3
3
|
getStateAdapter,
|
|
4
4
|
sleep
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-4YQ6I6VF.js";
|
|
6
6
|
import {
|
|
7
7
|
toOptionalTrimmed
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-XCZ6COFO.js";
|
|
9
9
|
import {
|
|
10
10
|
pluginCatalogRuntime
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-3QNJOHKG.js";
|
|
12
12
|
import {
|
|
13
13
|
setSpanAttributes,
|
|
14
14
|
setSpanStatus,
|
|
15
15
|
withSpan
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-XWPA5KZF.js";
|
|
17
17
|
|
|
18
18
|
// src/chat/sandbox/resources.ts
|
|
19
19
|
var configuredResources;
|
|
@@ -6,25 +6,25 @@ import {
|
|
|
6
6
|
isDmChannel,
|
|
7
7
|
normalizeSlackConversationId,
|
|
8
8
|
withSlackRetries
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-KLBYCSLJ.js";
|
|
10
10
|
import {
|
|
11
11
|
getDb,
|
|
12
12
|
parseDestination
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-HIRIWTWD.js";
|
|
14
14
|
import {
|
|
15
15
|
acquireActiveLock,
|
|
16
16
|
getStateAdapter,
|
|
17
17
|
sleep
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-4YQ6I6VF.js";
|
|
19
19
|
import {
|
|
20
20
|
normalizeSlackEmojiName
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-XCZ6COFO.js";
|
|
22
22
|
import {
|
|
23
23
|
pluginCatalogRuntime
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-3QNJOHKG.js";
|
|
25
25
|
import {
|
|
26
26
|
fetchWithBoundedOAuthErrorBodies
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-VH6MI4L7.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-XWPA5KZF.js";
|
|
37
37
|
|
|
38
38
|
// src/chat/capabilities/router.ts
|
|
39
39
|
var ProviderCredentialRouter = class {
|
|
@@ -5,12 +5,12 @@ import {
|
|
|
5
5
|
juniorConversations,
|
|
6
6
|
juniorIdentities,
|
|
7
7
|
juniorUsers
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-MW2QRPGW.js";
|
|
9
9
|
import {
|
|
10
10
|
TURN_REASONING_LEVELS,
|
|
11
11
|
getChatConfig,
|
|
12
12
|
modelProfileSchema
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-XCZ6COFO.js";
|
|
14
14
|
import {
|
|
15
15
|
juniorDestinations
|
|
16
16
|
} from "./chunk-VFUK3X5B.js";
|
|
@@ -20,7 +20,7 @@ import {
|
|
|
20
20
|
} from "./chunk-F3B2YJ76.js";
|
|
21
21
|
import {
|
|
22
22
|
normalizeIdentityEmail
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-XWPA5KZF.js";
|
|
24
24
|
|
|
25
25
|
// src/chat/conversations/sql/store.ts
|
|
26
26
|
import { randomUUID as randomUUID2 } from "crypto";
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getConversationEventStore,
|
|
3
3
|
getDb
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-HIRIWTWD.js";
|
|
5
5
|
import {
|
|
6
6
|
juniorConversationAnnotations,
|
|
7
7
|
juniorConversationEvents,
|
|
8
8
|
juniorIdentities,
|
|
9
9
|
juniorUsers
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-MW2QRPGW.js";
|
|
11
11
|
import {
|
|
12
12
|
SANDBOX_WORKSPACE_ROOT,
|
|
13
13
|
getStateAdapter,
|
|
14
14
|
sleep
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-4YQ6I6VF.js";
|
|
16
16
|
import {
|
|
17
17
|
botConfig,
|
|
18
18
|
completeObject,
|
|
19
19
|
embedTexts,
|
|
20
20
|
getSlackBotToken,
|
|
21
21
|
standardModelId
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-XCZ6COFO.js";
|
|
23
23
|
import {
|
|
24
24
|
isActorUserId,
|
|
25
25
|
parseActorUserId
|
|
@@ -37,7 +37,7 @@ import {
|
|
|
37
37
|
setSpanAttributes,
|
|
38
38
|
setSpanStatus,
|
|
39
39
|
withSpan
|
|
40
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-XWPA5KZF.js";
|
|
41
41
|
|
|
42
42
|
// src/chat/plugins/agent-hooks.ts
|
|
43
43
|
import {
|
|
@@ -18,18 +18,18 @@ import {
|
|
|
18
18
|
instructionProvenanceFor,
|
|
19
19
|
sanitizePostgresJson,
|
|
20
20
|
withConversationEventLock
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-HIRIWTWD.js";
|
|
22
22
|
import {
|
|
23
23
|
SANDBOX_WORKSPACE_ROOT,
|
|
24
24
|
getStateAdapter,
|
|
25
25
|
sleep
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-4YQ6I6VF.js";
|
|
27
27
|
import {
|
|
28
28
|
botConfig,
|
|
29
29
|
escapeXml,
|
|
30
30
|
resolveGatewayModel,
|
|
31
31
|
unwrapCurrentInstruction
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-XCZ6COFO.js";
|
|
33
33
|
import {
|
|
34
34
|
toStoredSlackActor
|
|
35
35
|
} from "./chunk-HZF5P5UN.js";
|
|
@@ -44,7 +44,7 @@ import {
|
|
|
44
44
|
setSpanAttributes,
|
|
45
45
|
toOptionalNumber,
|
|
46
46
|
toOptionalString
|
|
47
|
-
} from "./chunk-
|
|
47
|
+
} from "./chunk-XWPA5KZF.js";
|
|
48
48
|
|
|
49
49
|
// src/chat/turn-context-tag.ts
|
|
50
50
|
var TURN_CONTEXT_TAG = "runtime-turn-context";
|