@sentry/junior 0.129.0 → 0.131.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-ZM4WMZCN.js → agent-hooks-M5V454P5.js} +8 -8
- package/dist/api.js +15 -15
- package/dist/app.js +30 -21
- package/dist/{catalog-runtime-TN2GPVEI.js → catalog-runtime-PI2IFWZ5.js} +5 -5
- package/dist/chat/sandbox/runtime-dependencies.d.ts +2 -1
- package/dist/{chunk-PQFNTLZI.js → chunk-5ONXE2GF.js} +2 -2
- package/dist/{chunk-BDIEEZK7.js → chunk-7X62XOC4.js} +2 -2
- package/dist/{chunk-CZQ2DSQZ.js → chunk-7Y2OKB5K.js} +1 -1
- package/dist/{chunk-A6QQPVSH.js → chunk-APUL3Y63.js} +1 -1
- package/dist/{chunk-ESYXDXNX.js → chunk-D6ZMP3FC.js} +6 -6
- package/dist/{chunk-6CMYU62S.js → chunk-DRFI6CW3.js} +9 -7
- package/dist/{chunk-P6I7LFKC.js → chunk-HSPYTFMD.js} +1 -1
- package/dist/{chunk-U23X4ASF.js → chunk-HZ5EVSPV.js} +4 -4
- package/dist/{chunk-R62DRNKB.js → chunk-J4I2GVGH.js} +2 -2
- package/dist/{chunk-LV2BQ26V.js → chunk-JKHK3LM2.js} +1 -1
- package/dist/{chunk-GPWHBHAG.js → chunk-KWYCUXJX.js} +1 -1
- package/dist/{chunk-QAOA4GUG.js → chunk-MLIJGLW5.js} +4 -4
- package/dist/{chunk-GURSWCI4.js → chunk-NGJEC4MF.js} +2 -2
- package/dist/{chunk-NNRV4T2C.js → chunk-SVX4JDOR.js} +1 -1
- package/dist/{chunk-K3U5447S.js → chunk-TD2A27ET.js} +1 -1
- package/dist/{chunk-6QQOLIJJ.js → chunk-TRKWWIB3.js} +14 -14
- package/dist/{chunk-E4UCPRYL.js → chunk-UYYSD255.js} +1 -1
- package/dist/{chunk-CZJUBH6O.js → chunk-VMPL77IK.js} +12 -12
- package/dist/{chunk-3N4MWF3R.js → chunk-XMDY52DJ.js} +1 -1
- package/dist/{chunk-XENYUOZG.js → chunk-XXGCQCFJ.js} +31 -6
- package/dist/{chunk-2BCQKJTX.js → chunk-ZMIO64MA.js} +2 -2
- 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-ZI6TBXIS.js → db-5P6K3ZCM.js} +6 -6
- package/dist/instrumentation.js +4 -4
- package/dist/nitro.js +2 -2
- package/dist/{oauth-callback-server-TLA4GARF.js → oauth-callback-server-RIMCKQZX.js} +16 -16
- package/dist/{runner-23YFRWQJ.js → runner-CAD3BVML.js} +10 -10
- package/dist/{skills-QIUG4D6M.js → skills-WVPCTBUT.js} +6 -6
- package/dist/{validation-3KGEBATS.js → validation-GLEXIFFI.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-MLIJGLW5.js";
|
|
15
|
+
import "./chunk-5ONXE2GF.js";
|
|
16
16
|
import "./chunk-KB2M27DL.js";
|
|
17
|
-
import "./chunk-
|
|
18
|
-
import "./chunk-
|
|
17
|
+
import "./chunk-XMDY52DJ.js";
|
|
18
|
+
import "./chunk-ZMIO64MA.js";
|
|
19
19
|
import "./chunk-VFUK3X5B.js";
|
|
20
|
-
import "./chunk-
|
|
20
|
+
import "./chunk-KWYCUXJX.js";
|
|
21
21
|
import "./chunk-HZF5P5UN.js";
|
|
22
22
|
import "./chunk-F3B2YJ76.js";
|
|
23
|
-
import "./chunk-
|
|
23
|
+
import "./chunk-HSPYTFMD.js";
|
|
24
24
|
import "./chunk-6GWA276C.js";
|
|
25
|
-
import "./chunk-
|
|
26
|
-
import "./chunk-
|
|
25
|
+
import "./chunk-TD2A27ET.js";
|
|
26
|
+
import "./chunk-SVX4JDOR.js";
|
|
27
27
|
import "./chunk-MLKGABMK.js";
|
|
28
28
|
export {
|
|
29
29
|
PluginHookDeniedError,
|
package/dist/api.js
CHANGED
|
@@ -32,7 +32,7 @@ import {
|
|
|
32
32
|
formatSlackConversationRedactedLabel,
|
|
33
33
|
readHealthReport,
|
|
34
34
|
resolveSlackConversationContextFromThreadId
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-NGJEC4MF.js";
|
|
36
36
|
import {
|
|
37
37
|
buildSentryConversationUrl
|
|
38
38
|
} from "./chunk-4CODA7P5.js";
|
|
@@ -54,10 +54,10 @@ import {
|
|
|
54
54
|
listPublicEventTasksForTeams,
|
|
55
55
|
listPublicScheduledTasksForTeams,
|
|
56
56
|
readStats
|
|
57
|
-
} from "./chunk-
|
|
57
|
+
} from "./chunk-7X62XOC4.js";
|
|
58
58
|
import {
|
|
59
59
|
parseSlackThreadId
|
|
60
|
-
} from "./chunk-
|
|
60
|
+
} from "./chunk-JKHK3LM2.js";
|
|
61
61
|
import {
|
|
62
62
|
agentTurnUsageSchema,
|
|
63
63
|
hasAgentTurnUsage,
|
|
@@ -70,13 +70,13 @@ import {
|
|
|
70
70
|
listConversationAnnotations,
|
|
71
71
|
renderPluginConversationEvent,
|
|
72
72
|
resolveViewerUser
|
|
73
|
-
} from "./chunk-
|
|
73
|
+
} from "./chunk-MLIJGLW5.js";
|
|
74
74
|
import {
|
|
75
75
|
decodeStoredConversationEvent,
|
|
76
76
|
getDb,
|
|
77
77
|
getSqlExecutor,
|
|
78
78
|
parseSessionSource
|
|
79
|
-
} from "./chunk-
|
|
79
|
+
} from "./chunk-5ONXE2GF.js";
|
|
80
80
|
import {
|
|
81
81
|
juniorApiTokens,
|
|
82
82
|
juniorConversationEvents,
|
|
@@ -84,23 +84,23 @@ import {
|
|
|
84
84
|
juniorIdentities,
|
|
85
85
|
juniorUsers
|
|
86
86
|
} from "./chunk-KB2M27DL.js";
|
|
87
|
-
import "./chunk-
|
|
88
|
-
import "./chunk-
|
|
87
|
+
import "./chunk-XMDY52DJ.js";
|
|
88
|
+
import "./chunk-ZMIO64MA.js";
|
|
89
89
|
import {
|
|
90
90
|
juniorDestinations
|
|
91
91
|
} from "./chunk-VFUK3X5B.js";
|
|
92
92
|
import {
|
|
93
93
|
canExposeConversationPayload
|
|
94
|
-
} from "./chunk-
|
|
94
|
+
} from "./chunk-KWYCUXJX.js";
|
|
95
95
|
import "./chunk-HZF5P5UN.js";
|
|
96
96
|
import {
|
|
97
97
|
parseSlackChannelId,
|
|
98
98
|
parseSlackTeamId
|
|
99
99
|
} from "./chunk-F3B2YJ76.js";
|
|
100
|
-
import "./chunk-
|
|
100
|
+
import "./chunk-HSPYTFMD.js";
|
|
101
101
|
import "./chunk-6GWA276C.js";
|
|
102
|
-
import "./chunk-
|
|
103
|
-
import "./chunk-
|
|
102
|
+
import "./chunk-TD2A27ET.js";
|
|
103
|
+
import "./chunk-SVX4JDOR.js";
|
|
104
104
|
import "./chunk-MLKGABMK.js";
|
|
105
105
|
|
|
106
106
|
// src/api.ts
|
|
@@ -2026,7 +2026,7 @@ function readDescriptionText(home) {
|
|
|
2026
2026
|
}
|
|
2027
2027
|
}
|
|
2028
2028
|
async function readSkillReports() {
|
|
2029
|
-
const { discoverSkills } = await import("./skills-
|
|
2029
|
+
const { discoverSkills } = await import("./skills-WVPCTBUT.js");
|
|
2030
2030
|
const skills = await discoverSkills();
|
|
2031
2031
|
return skillReportsSchema.parse(
|
|
2032
2032
|
skills.map((skill) => ({
|
|
@@ -2036,7 +2036,7 @@ async function readSkillReports() {
|
|
|
2036
2036
|
);
|
|
2037
2037
|
}
|
|
2038
2038
|
async function readPlugins() {
|
|
2039
|
-
const { pluginCatalogRuntime } = await import("./catalog-runtime-
|
|
2039
|
+
const { pluginCatalogRuntime } = await import("./catalog-runtime-PI2IFWZ5.js");
|
|
2040
2040
|
return pluginsSchema.parse(
|
|
2041
2041
|
pluginCatalogRuntime.getProviders().map((plugin) => ({
|
|
2042
2042
|
configKeys: plugin.manifest.configKeys ?? [],
|
|
@@ -2049,7 +2049,7 @@ async function readPlugins() {
|
|
|
2049
2049
|
async function readRuntimeInfoReport() {
|
|
2050
2050
|
const [{ homeDir }, { pluginCatalogRuntime }, plugins, skills] = await Promise.all([
|
|
2051
2051
|
import("./discovery-GUFTFBTL.js"),
|
|
2052
|
-
import("./catalog-runtime-
|
|
2052
|
+
import("./catalog-runtime-PI2IFWZ5.js"),
|
|
2053
2053
|
readPlugins(),
|
|
2054
2054
|
readSkillReports()
|
|
2055
2055
|
]);
|
|
@@ -2065,7 +2065,7 @@ async function readRuntimeInfoReport() {
|
|
|
2065
2065
|
}
|
|
2066
2066
|
async function readPluginOperationalReportFeed() {
|
|
2067
2067
|
const nowMs = Date.now();
|
|
2068
|
-
const { getPluginOperationalReports } = await import("./agent-hooks-
|
|
2068
|
+
const { getPluginOperationalReports } = await import("./agent-hooks-M5V454P5.js");
|
|
2069
2069
|
return pluginOperationalReportFeedSchema.parse({
|
|
2070
2070
|
source: "plugins",
|
|
2071
2071
|
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-VMPL77IK.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-D6ZMP3FC.js";
|
|
69
69
|
import {
|
|
70
70
|
GET,
|
|
71
71
|
conversationVisibilityFromSlackChannelType,
|
|
72
72
|
resolveSlackChannelTypeFromMessage,
|
|
73
73
|
resolveSlackConversationContext
|
|
74
|
-
} from "./chunk-
|
|
74
|
+
} from "./chunk-NGJEC4MF.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-UYYSD255.js";
|
|
94
94
|
import {
|
|
95
95
|
defineJuniorPlugins,
|
|
96
96
|
pluginCatalogConfigFromEnv,
|
|
@@ -125,7 +125,7 @@ import {
|
|
|
125
125
|
setConfigDefaults,
|
|
126
126
|
shouldEmitDevAgentTrace,
|
|
127
127
|
shouldPropagateSandboxEgressTrace
|
|
128
|
-
} from "./chunk-
|
|
128
|
+
} from "./chunk-TRKWWIB3.js";
|
|
129
129
|
import "./chunk-DIB4GX3G.js";
|
|
130
130
|
import {
|
|
131
131
|
RetryableDeliveryError,
|
|
@@ -136,7 +136,7 @@ import {
|
|
|
136
136
|
formatProviderLabel,
|
|
137
137
|
postSlackMessage,
|
|
138
138
|
startOAuthFlow
|
|
139
|
-
} from "./chunk-
|
|
139
|
+
} from "./chunk-DRFI6CW3.js";
|
|
140
140
|
import {
|
|
141
141
|
ConversationTurnBoundaryError,
|
|
142
142
|
CooperativeTurnYieldError,
|
|
@@ -192,19 +192,19 @@ import {
|
|
|
192
192
|
trimTrailingAssistantMessages,
|
|
193
193
|
updateConversationStats,
|
|
194
194
|
upsertConversationMessage
|
|
195
|
-
} from "./chunk-
|
|
195
|
+
} from "./chunk-HZ5EVSPV.js";
|
|
196
196
|
import "./chunk-EPBBYMNE.js";
|
|
197
197
|
import {
|
|
198
198
|
getSandboxResourceConfig,
|
|
199
199
|
setSandboxResourceConfig
|
|
200
|
-
} from "./chunk-
|
|
200
|
+
} from "./chunk-XXGCQCFJ.js";
|
|
201
201
|
import {
|
|
202
202
|
createSchedulerSqlStore,
|
|
203
203
|
findMatchingEventTasks
|
|
204
|
-
} from "./chunk-
|
|
204
|
+
} from "./chunk-7X62XOC4.js";
|
|
205
205
|
import {
|
|
206
206
|
parseSlackThreadId
|
|
207
|
-
} from "./chunk-
|
|
207
|
+
} from "./chunk-JKHK3LM2.js";
|
|
208
208
|
import "./chunk-HX236W2U.js";
|
|
209
209
|
import "./chunk-PDO5BLNM.js";
|
|
210
210
|
import "./chunk-UIE3R5XU.js";
|
|
@@ -232,7 +232,7 @@ import {
|
|
|
232
232
|
verifyEventTaskCredentialSubject,
|
|
233
233
|
verifyScheduledTaskCredentialSubject,
|
|
234
234
|
verifySlackDirectCredentialSubject
|
|
235
|
-
} from "./chunk-
|
|
235
|
+
} from "./chunk-MLIJGLW5.js";
|
|
236
236
|
import {
|
|
237
237
|
contextProvenance,
|
|
238
238
|
createSlackDestination,
|
|
@@ -243,7 +243,7 @@ import {
|
|
|
243
243
|
instructionProvenanceFor,
|
|
244
244
|
requireSlackDestination,
|
|
245
245
|
withConversationEventLock
|
|
246
|
-
} from "./chunk-
|
|
246
|
+
} from "./chunk-5ONXE2GF.js";
|
|
247
247
|
import {
|
|
248
248
|
juniorConversationEvents,
|
|
249
249
|
juniorConversations
|
|
@@ -252,7 +252,7 @@ import {
|
|
|
252
252
|
acquireActiveLock,
|
|
253
253
|
getStateAdapter,
|
|
254
254
|
sleep
|
|
255
|
-
} from "./chunk-
|
|
255
|
+
} from "./chunk-XMDY52DJ.js";
|
|
256
256
|
import {
|
|
257
257
|
STANDARD_MODEL_PROFILE,
|
|
258
258
|
botConfig,
|
|
@@ -270,16 +270,16 @@ import {
|
|
|
270
270
|
modelIdForProfile,
|
|
271
271
|
setSlackReactionConfig,
|
|
272
272
|
standardModelId
|
|
273
|
-
} from "./chunk-
|
|
273
|
+
} from "./chunk-ZMIO64MA.js";
|
|
274
274
|
import {
|
|
275
275
|
juniorDestinations
|
|
276
276
|
} from "./chunk-VFUK3X5B.js";
|
|
277
|
-
import "./chunk-
|
|
278
|
-
import "./chunk-
|
|
277
|
+
import "./chunk-KWYCUXJX.js";
|
|
278
|
+
import "./chunk-J4I2GVGH.js";
|
|
279
279
|
import {
|
|
280
280
|
pluginCatalogRuntime
|
|
281
|
-
} from "./chunk-
|
|
282
|
-
import "./chunk-
|
|
281
|
+
} from "./chunk-APUL3Y63.js";
|
|
282
|
+
import "./chunk-7Y2OKB5K.js";
|
|
283
283
|
import {
|
|
284
284
|
credentialSubjectSchema
|
|
285
285
|
} from "./chunk-77VDLF3Z.js";
|
|
@@ -311,7 +311,7 @@ import {
|
|
|
311
311
|
withContext,
|
|
312
312
|
withLogContext,
|
|
313
313
|
withSpan
|
|
314
|
-
} from "./chunk-
|
|
314
|
+
} from "./chunk-HSPYTFMD.js";
|
|
315
315
|
import {
|
|
316
316
|
continueTrace
|
|
317
317
|
} from "./chunk-6GWA276C.js";
|
|
@@ -319,10 +319,10 @@ import "./chunk-OOUNJNMR.js";
|
|
|
319
319
|
import "./chunk-H4HBKISO.js";
|
|
320
320
|
import {
|
|
321
321
|
JUNIOR_PLUGIN_TASK_CALLBACK_ROUTE
|
|
322
|
-
} from "./chunk-
|
|
322
|
+
} from "./chunk-TD2A27ET.js";
|
|
323
323
|
import {
|
|
324
324
|
JUNIOR_VERSION
|
|
325
|
-
} from "./chunk-
|
|
325
|
+
} from "./chunk-SVX4JDOR.js";
|
|
326
326
|
import "./chunk-MLKGABMK.js";
|
|
327
327
|
|
|
328
328
|
// src/app.ts
|
|
@@ -9248,6 +9248,14 @@ function eventTaskDispatchKey(taskId, namespace, eventKey) {
|
|
|
9248
9248
|
function oneLine(value) {
|
|
9249
9249
|
return value.replace(/[\r\n]+/g, " ").replace(/\s+/g, " ").trim().slice(0, 512);
|
|
9250
9250
|
}
|
|
9251
|
+
function replyAttribution2(task, event) {
|
|
9252
|
+
const resourceLabel = oneLine(task.trigger.label);
|
|
9253
|
+
const eventType = oneLine(event.eventType);
|
|
9254
|
+
const detail = oneLine(
|
|
9255
|
+
resourceLabel && eventType ? `${resourceLabel} \xB7 ${eventType}` : resourceLabel || eventType
|
|
9256
|
+
).slice(0, 128).trim();
|
|
9257
|
+
return detail ? { label: "Event task", detail } : { label: "Event task" };
|
|
9258
|
+
}
|
|
9251
9259
|
function eventInput(task, event) {
|
|
9252
9260
|
const lines = [
|
|
9253
9261
|
"An event task matched a resource event.",
|
|
@@ -9300,6 +9308,7 @@ async function ingestEventTasks(input, options) {
|
|
|
9300
9308
|
destination: task.destination,
|
|
9301
9309
|
destinationVisibility: task.destinationVisibility,
|
|
9302
9310
|
input: eventInput(task, event),
|
|
9311
|
+
replyAttribution: replyAttribution2(task, event),
|
|
9303
9312
|
source: createSlackSource3({
|
|
9304
9313
|
teamId: task.destination.teamId,
|
|
9305
9314
|
channelId: task.destination.channelId,
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
pluginCatalogRuntime
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-APUL3Y63.js";
|
|
4
|
+
import "./chunk-7Y2OKB5K.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-HSPYTFMD.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-TD2A27ET.js";
|
|
13
|
+
import "./chunk-SVX4JDOR.js";
|
|
14
14
|
import "./chunk-MLKGABMK.js";
|
|
15
15
|
export {
|
|
16
16
|
pluginCatalogRuntime
|
|
@@ -1,2 +1,3 @@
|
|
|
1
|
-
import type { PluginRuntimeDependency } from "@/chat/plugins/types";
|
|
1
|
+
import type { PluginRuntimeDependency, PluginRuntimePostinstallCommand } from "@/chat/plugins/types";
|
|
2
2
|
export declare const GLOBAL_RUNTIME_DEPENDENCIES: PluginRuntimeDependency[];
|
|
3
|
+
export declare const GLOBAL_RUNTIME_POSTINSTALL: PluginRuntimePostinstallCommand[];
|
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
TURN_REASONING_LEVELS,
|
|
10
10
|
getChatConfig,
|
|
11
11
|
modelProfileSchema
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-ZMIO64MA.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-HSPYTFMD.js";
|
|
23
23
|
|
|
24
24
|
// src/chat/conversations/sql/store.ts
|
|
25
25
|
import { randomUUID as randomUUID2 } from "crypto";
|
|
@@ -22,7 +22,7 @@ import {
|
|
|
22
22
|
persistThreadStateById,
|
|
23
23
|
stripRuntimeTurnContext,
|
|
24
24
|
updateConversationStats
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-HZ5EVSPV.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-MLIJGLW5.js";
|
|
34
34
|
import {
|
|
35
35
|
getDb,
|
|
36
36
|
sameActorIdentity
|
|
37
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-5ONXE2GF.js";
|
|
38
38
|
import {
|
|
39
39
|
getStateAdapter
|
|
40
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-XMDY52DJ.js";
|
|
41
41
|
import {
|
|
42
42
|
ProviderError,
|
|
43
43
|
findProviderError,
|
|
44
44
|
getProviderErrorAttributes,
|
|
45
45
|
getProviderErrorUserMessage
|
|
46
|
-
} from "./chunk-
|
|
46
|
+
} from "./chunk-ZMIO64MA.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-HSPYTFMD.js";
|
|
53
53
|
|
|
54
54
|
// src/chat/runtime/delivered-turn-state.ts
|
|
55
55
|
function buildDeliveredTurnStatePatch(args) {
|
|
@@ -6,25 +6,25 @@ import {
|
|
|
6
6
|
isDmChannel,
|
|
7
7
|
normalizeSlackConversationId,
|
|
8
8
|
withSlackRetries
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-MLIJGLW5.js";
|
|
10
10
|
import {
|
|
11
11
|
getDb,
|
|
12
12
|
parseDestination
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-5ONXE2GF.js";
|
|
14
14
|
import {
|
|
15
15
|
acquireActiveLock,
|
|
16
16
|
getStateAdapter,
|
|
17
17
|
sleep
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-XMDY52DJ.js";
|
|
19
19
|
import {
|
|
20
20
|
normalizeSlackEmojiName
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-ZMIO64MA.js";
|
|
22
22
|
import {
|
|
23
23
|
pluginCatalogRuntime
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-APUL3Y63.js";
|
|
25
25
|
import {
|
|
26
26
|
fetchWithBoundedOAuthErrorBodies
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-7Y2OKB5K.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-HSPYTFMD.js";
|
|
37
37
|
|
|
38
38
|
// src/chat/capabilities/router.ts
|
|
39
39
|
var ProviderCredentialRouter = class {
|
|
@@ -278,6 +278,8 @@ async function postSlackMessage(input) {
|
|
|
278
278
|
() => getSlackClient().chat.postMessage({
|
|
279
279
|
channel: channelId,
|
|
280
280
|
text,
|
|
281
|
+
unfurl_links: false,
|
|
282
|
+
unfurl_media: false,
|
|
281
283
|
...input.blocks?.length ? {
|
|
282
284
|
blocks: input.blocks
|
|
283
285
|
} : {},
|
|
@@ -16,17 +16,17 @@ import {
|
|
|
16
16
|
instructionProvenanceFor,
|
|
17
17
|
sanitizePostgresJson,
|
|
18
18
|
withConversationEventLock
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-5ONXE2GF.js";
|
|
20
20
|
import {
|
|
21
21
|
getStateAdapter,
|
|
22
22
|
sleep
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-XMDY52DJ.js";
|
|
24
24
|
import {
|
|
25
25
|
botConfig,
|
|
26
26
|
escapeXml,
|
|
27
27
|
resolveGatewayModel,
|
|
28
28
|
unwrapCurrentInstruction
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-ZMIO64MA.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-HSPYTFMD.js";
|
|
45
45
|
|
|
46
46
|
// src/chat/turn-context-tag.ts
|
|
47
47
|
var TURN_CONTEXT_TAG = "runtime-turn-context";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getConversationEventStore,
|
|
3
3
|
getDb
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-5ONXE2GF.js";
|
|
5
5
|
import {
|
|
6
6
|
juniorConversationAnnotations,
|
|
7
7
|
juniorConversationEvents,
|
|
@@ -12,14 +12,14 @@ import {
|
|
|
12
12
|
SANDBOX_WORKSPACE_ROOT,
|
|
13
13
|
getStateAdapter,
|
|
14
14
|
sleep
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-XMDY52DJ.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-ZMIO64MA.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-HSPYTFMD.js";
|
|
41
41
|
|
|
42
42
|
// src/chat/plugins/agent-hooks.ts
|
|
43
43
|
import {
|
|
@@ -3,10 +3,10 @@ import {
|
|
|
3
3
|
} from "./chunk-UTL3MHPC.js";
|
|
4
4
|
import {
|
|
5
5
|
parseSlackThreadId
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-JKHK3LM2.js";
|
|
7
7
|
import {
|
|
8
8
|
normalizeSlackConversationId
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-MLIJGLW5.js";
|
|
10
10
|
|
|
11
11
|
// src/handlers/health.ts
|
|
12
12
|
function readHealthReport() {
|