@sentry/junior 0.139.0 → 0.141.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-MJXMD7JP.js → agent-hooks-HIRVKUQJ.js} +10 -10
- package/dist/api/conversations/detail.d.ts +1 -0
- package/dist/api/conversations/event-list.d.ts +1 -0
- package/dist/api/schema/conversation.d.ts +4 -0
- package/dist/api/schema/task.d.ts +4 -0
- package/dist/api/schema.js +1 -1
- package/dist/api.js +20 -20
- package/dist/app.js +117 -36
- package/dist/{catalog-runtime-GCCFYPIK.js → catalog-runtime-XVLED5UH.js} +5 -5
- package/dist/chat/agent/repository-context.d.ts +1 -0
- package/dist/chat/conversations/history.d.ts +2 -0
- package/dist/chat/conversations/projection.d.ts +8 -0
- package/dist/chat/conversations/store.d.ts +5 -0
- package/dist/chat/conversations/structured-events.d.ts +11 -0
- package/dist/chat/runtime/thread-state.d.ts +3 -1
- package/dist/chat/scheduled-tasks/telemetry.d.ts +7 -0
- package/dist/chat/scheduled-tasks/tool-support.d.ts +10 -2
- package/dist/chat/scheduled-tasks/tools/create.d.ts +4 -2
- package/dist/chat/scheduled-tasks/tools/delete.d.ts +4 -2
- package/dist/chat/scheduled-tasks/tools/list.d.ts +4 -2
- package/dist/chat/scheduled-tasks/tools/run-now.d.ts +4 -2
- package/dist/chat/scheduled-tasks/tools/update.d.ts +4 -2
- package/dist/chat/scheduled-tasks/types.d.ts +1 -1
- package/dist/chat/services/guardian-action-policy.d.ts +1 -1
- package/dist/chat/slack/dashboard-link.d.ts +2 -0
- package/dist/chat/state/turn-session-keys.d.ts +2 -2
- package/dist/chat/state/turn-session.d.ts +18 -13
- package/dist/{chunk-GI52BW74.js → chunk-2DOVDDZJ.js} +3 -3
- package/dist/{chunk-UDBUS533.js → chunk-3H42HMA2.js} +1 -1
- package/dist/{chunk-U7CMWQ7Z.js → chunk-43OPSFUY.js} +1 -1
- package/dist/{chunk-J3S57AXY.js → chunk-44NWPKY3.js} +1 -1
- package/dist/{chunk-DW4PMHNW.js → chunk-5LPWHC7Q.js} +148 -87
- package/dist/{chunk-QTBKPZDA.js → chunk-5MFCEKR6.js} +19 -3
- package/dist/{chunk-GWQSZT4C.js → chunk-6FRAWWGR.js} +2 -2
- package/dist/{chunk-MXTVUV3I.js → chunk-6U44QGXL.js} +1 -1
- package/dist/{chunk-IIESAYDL.js → chunk-7ULXCNOZ.js} +17 -8
- package/dist/{chunk-AEQISMMU.js → chunk-A2O7SGK5.js} +15 -17
- package/dist/{chunk-75I3UBIL.js → chunk-BBLO66XT.js} +29 -29
- package/dist/{chunk-WQRX57EA.js → chunk-DBKS7JR2.js} +3 -3
- package/dist/{chunk-U27DSXKB.js → chunk-DK3GQWJK.js} +6 -6
- package/dist/{chunk-5GSZWRE2.js → chunk-DKH4WGZU.js} +8 -8
- package/dist/{chunk-6SU2DT27.js → chunk-DVIJ6DP6.js} +2 -2
- package/dist/{chunk-6OHTDR4F.js → chunk-EYD523BV.js} +1 -1
- package/dist/{chunk-4V4QIYJH.js → chunk-FWXSPJRN.js} +1 -1
- package/dist/{chunk-G52UXKGO.js → chunk-FZFJZZR3.js} +4 -4
- package/dist/{chunk-WZH4JV7R.js → chunk-H4WNQFBH.js} +5 -5
- package/dist/{chunk-CDQ4YIZM.js → chunk-HLXXQI5Q.js} +55 -1
- package/dist/{chunk-3T2JAGRH.js → chunk-HN4UZTG7.js} +2 -2
- package/dist/{chunk-MXVD2BDS.js → chunk-HQAFIN6O.js} +1 -1
- package/dist/{chunk-J6EJQCHY.js → chunk-LIVSCWI5.js} +15 -15
- package/dist/{chunk-CXH25EL4.js → chunk-LMGKSDO4.js} +1 -1
- package/dist/{chunk-MQ5RYATN.js → chunk-NFL4FRIU.js} +4 -4
- package/dist/{chunk-C2N6MNO4.js → chunk-OFQBDHVG.js} +1 -1
- package/dist/{chunk-ZYQSPQYR.js → chunk-OHO46E7F.js} +50 -19
- package/dist/{chunk-YGZ2OLXL.js → chunk-PGJUJCOQ.js} +1 -1
- package/dist/{chunk-PJW6U46K.js → chunk-PIQKV7IR.js} +212 -149
- package/dist/{chunk-2ECYPYKP.js → chunk-UFEU4UX6.js} +1 -1
- package/dist/{chunk-ZQCGQMF2.js → chunk-UONUDOJP.js} +7 -7
- package/dist/{chunk-YCTDA7BD.js → chunk-YWM6MJT4.js} +1 -1
- package/dist/cli/chat.js +31 -31
- 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-UXPPGHDF.js → db-PSMQZR4P.js} +7 -7
- package/dist/instrumentation.js +4 -4
- package/dist/nitro.js +2 -2
- package/dist/{oauth-callback-server-4ZYMD5UA.js → oauth-callback-server-XZUK2AT6.js} +22 -22
- package/dist/{runner-MZSEONRZ.js → runner-5EKJCQWP.js} +14 -14
- package/dist/{skills-IMVPXSQ7.js → skills-2PRM42SE.js} +6 -6
- package/dist/spawn-UGTLRTFP.js +38 -0
- package/dist/{validation-ZKCY2BVR.js → validation-XLXAIRTR.js} +6 -6
- package/dist/version.js +1 -1
- package/dist/{work-GG3XDYRX.js → work-CNTNEQ2Q.js} +17 -17
- package/dist/{worker-23AUELCJ.js → worker-BGW7CKZ7.js} +10 -10
- package/package.json +5 -5
- package/dist/spawn-S5LSVOCE.js +0 -38
|
@@ -18,20 +18,20 @@ import {
|
|
|
18
18
|
releaseConversationWork,
|
|
19
19
|
requestConversationContinuation,
|
|
20
20
|
startConversationWork
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-NFL4FRIU.js";
|
|
22
22
|
import {
|
|
23
23
|
ConversationQueueMessageRejectedError
|
|
24
24
|
} from "./chunk-IUFM5JWV.js";
|
|
25
25
|
import {
|
|
26
26
|
getChatConfig,
|
|
27
27
|
isProviderRetryError
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-BBLO66XT.js";
|
|
29
29
|
import {
|
|
30
30
|
logException,
|
|
31
31
|
logInfo,
|
|
32
32
|
logWarn,
|
|
33
33
|
withLogContext
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-UFEU4UX6.js";
|
|
35
35
|
|
|
36
36
|
// src/chat/task-execution/worker.ts
|
|
37
37
|
var CONVERSATION_WORK_DEFER_DELAY_MS = 15e3;
|
|
@@ -4,19 +4,19 @@ import {
|
|
|
4
4
|
isDmChannel,
|
|
5
5
|
normalizeSlackConversationId,
|
|
6
6
|
withSlackRetries
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-DVIJ6DP6.js";
|
|
8
8
|
import {
|
|
9
9
|
parseDestination
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-5MFCEKR6.js";
|
|
11
11
|
import {
|
|
12
12
|
getStateAdapter
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-6U44QGXL.js";
|
|
14
14
|
import {
|
|
15
15
|
normalizeSlackEmojiName
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-BBLO66XT.js";
|
|
17
17
|
import {
|
|
18
18
|
pluginCatalogRuntime
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-EYD523BV.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-UFEU4UX6.js";
|
|
29
29
|
|
|
30
30
|
// src/chat/slack/outbound.ts
|
|
31
31
|
var MAX_SLACK_MESSAGE_TEXT_CHARS = 4e4;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
recordTaskExecution
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-2DOVDDZJ.js";
|
|
4
4
|
import {
|
|
5
5
|
pluginTaskId,
|
|
6
6
|
pluginTaskParamsSchema,
|
|
@@ -25,7 +25,7 @@ import {
|
|
|
25
25
|
persistThreadStateById,
|
|
26
26
|
stripRuntimeTurnContext,
|
|
27
27
|
updateConversationStats
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-PIQKV7IR.js";
|
|
29
29
|
import {
|
|
30
30
|
JUNIOR_THREAD_STATE_TTL_MS
|
|
31
31
|
} from "./chunk-3Y47VMHV.js";
|
|
@@ -36,21 +36,21 @@ import {
|
|
|
36
36
|
createPluginModel,
|
|
37
37
|
createPluginState,
|
|
38
38
|
getPlugins
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-7ULXCNOZ.js";
|
|
40
40
|
import {
|
|
41
41
|
getConversationStore,
|
|
42
42
|
getDb,
|
|
43
43
|
sameActorIdentity
|
|
44
|
-
} from "./chunk-
|
|
44
|
+
} from "./chunk-5MFCEKR6.js";
|
|
45
45
|
import {
|
|
46
46
|
getStateAdapter
|
|
47
|
-
} from "./chunk-
|
|
47
|
+
} from "./chunk-6U44QGXL.js";
|
|
48
48
|
import {
|
|
49
49
|
ProviderError,
|
|
50
50
|
findProviderError,
|
|
51
51
|
getProviderErrorAttributes,
|
|
52
52
|
getProviderErrorUserMessage
|
|
53
|
-
} from "./chunk-
|
|
53
|
+
} from "./chunk-BBLO66XT.js";
|
|
54
54
|
import {
|
|
55
55
|
credentialSubjectSchema
|
|
56
56
|
} from "./chunk-RUIXF3YQ.js";
|
|
@@ -59,7 +59,7 @@ import {
|
|
|
59
59
|
} from "./chunk-F3B2YJ76.js";
|
|
60
60
|
import {
|
|
61
61
|
buildTurnFailureResponse
|
|
62
|
-
} from "./chunk-
|
|
62
|
+
} from "./chunk-UFEU4UX6.js";
|
|
63
63
|
|
|
64
64
|
// src/chat/runtime/delivered-turn-state.ts
|
|
65
65
|
function buildDeliveredTurnStatePatch(args) {
|
|
@@ -95,7 +95,7 @@ import {
|
|
|
95
95
|
|
|
96
96
|
// src/chat/services/turn-session-routing.ts
|
|
97
97
|
async function resolveTurnSessionRouting(args) {
|
|
98
|
-
const conversationStore = args.conversationStore ?? (await import("./db-
|
|
98
|
+
const conversationStore = args.conversationStore ?? (await import("./db-PSMQZR4P.js")).getConversationStore();
|
|
99
99
|
const conversation = await conversationStore.get({
|
|
100
100
|
conversationId: args.conversationId
|
|
101
101
|
});
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
} from "./chunk-EM225ITJ.js";
|
|
4
4
|
import {
|
|
5
5
|
getSlackBotToken
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-BBLO66XT.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-UFEU4UX6.js";
|
|
16
16
|
|
|
17
17
|
// src/chat/slack/client.ts
|
|
18
18
|
import { AsyncLocalStorage as AsyncLocalStorage2 } from "async_hooks";
|
|
@@ -4,18 +4,18 @@ import {
|
|
|
4
4
|
} from "./chunk-EM225ITJ.js";
|
|
5
5
|
import {
|
|
6
6
|
getStateAdapter
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-6U44QGXL.js";
|
|
8
8
|
import {
|
|
9
9
|
toOptionalTrimmed
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-BBLO66XT.js";
|
|
11
11
|
import {
|
|
12
12
|
pluginCatalogRuntime
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-EYD523BV.js";
|
|
14
14
|
import {
|
|
15
15
|
setSpanAttributes,
|
|
16
16
|
setSpanStatus,
|
|
17
17
|
withSpan
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-UFEU4UX6.js";
|
|
19
19
|
|
|
20
20
|
// src/chat/sandbox/resources.ts
|
|
21
21
|
var configuredResources;
|
|
@@ -4,24 +4,24 @@ import {
|
|
|
4
4
|
import {
|
|
5
5
|
formatProviderLabel,
|
|
6
6
|
startOAuthFlow
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-DK3GQWJK.js";
|
|
8
8
|
import {
|
|
9
9
|
abandonReplacedPendingAuth,
|
|
10
10
|
canReusePendingAuthLink,
|
|
11
11
|
recordAuthorizationRequested
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-PIQKV7IR.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-3H42HMA2.js";
|
|
19
19
|
import {
|
|
20
20
|
TURN_REASONING_LEVELS
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-BBLO66XT.js";
|
|
22
22
|
import {
|
|
23
23
|
pluginCatalogRuntime
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-EYD523BV.js";
|
|
25
25
|
import {
|
|
26
26
|
credentialContextSchema
|
|
27
27
|
} from "./chunk-RUIXF3YQ.js";
|
|
@@ -16,9 +16,41 @@ var authenticationEventContentSchema = z.object({
|
|
|
16
16
|
provider: z.string().regex(/^[a-z][a-z0-9-]*$/),
|
|
17
17
|
providerLabel: z.string().trim().min(1).max(80).optional()
|
|
18
18
|
}).strict();
|
|
19
|
+
var agentsInstructionsUpdatedContentSchema = z.object({
|
|
20
|
+
action: z.enum(["loaded", "replaced", "cleared"]),
|
|
21
|
+
directory: z.string().trim().min(1).max(500).optional(),
|
|
22
|
+
fingerprint: z.string().trim().min(1).max(128),
|
|
23
|
+
sources: z.array(
|
|
24
|
+
z.object({
|
|
25
|
+
content: z.string().min(1).max(32 * 1024),
|
|
26
|
+
path: z.string().trim().min(1).max(500)
|
|
27
|
+
}).strict()
|
|
28
|
+
).max(32),
|
|
29
|
+
textBytes: z.number().int().nonnegative().optional()
|
|
30
|
+
}).strict();
|
|
19
31
|
function providerTitle(content) {
|
|
20
32
|
return content.providerLabel?.trim() || content.provider;
|
|
21
33
|
}
|
|
34
|
+
function agentsInstructionsTitle(action) {
|
|
35
|
+
if (action === "loaded") return "Loaded AGENTS.md";
|
|
36
|
+
if (action === "replaced") return "Updated AGENTS.md";
|
|
37
|
+
return "Cleared AGENTS.md";
|
|
38
|
+
}
|
|
39
|
+
function sourceFilename(sourcePath) {
|
|
40
|
+
return sourcePath.split("/").at(-1) || sourcePath;
|
|
41
|
+
}
|
|
42
|
+
function formatBytes(bytes) {
|
|
43
|
+
if (bytes < 1024) return `${bytes} bytes`;
|
|
44
|
+
const kilobytes = bytes / 1024;
|
|
45
|
+
return `${Number.isInteger(kilobytes) ? kilobytes : kilobytes.toFixed(1)} KB`;
|
|
46
|
+
}
|
|
47
|
+
function agentsInstructionsPreview(content) {
|
|
48
|
+
const source = content.sources[0];
|
|
49
|
+
if (!source) return void 0;
|
|
50
|
+
const filename = sourceFilename(source.path);
|
|
51
|
+
const label = content.sources.length === 1 ? filename : `${content.sources.length} AGENTS.md files`;
|
|
52
|
+
return typeof content.textBytes === "number" ? `${label} \xB7 ${formatBytes(content.textBytes)}` : label;
|
|
53
|
+
}
|
|
22
54
|
var authenticationLinkedEvent = defineConversationEvent({
|
|
23
55
|
name: "authentication_linked",
|
|
24
56
|
version: 1,
|
|
@@ -57,9 +89,30 @@ var authenticationUnlinkedEvent = defineConversationEvent({
|
|
|
57
89
|
};
|
|
58
90
|
}
|
|
59
91
|
});
|
|
92
|
+
var agentsInstructionsUpdatedEvent = defineConversationEvent({
|
|
93
|
+
name: "agents_instructions_updated",
|
|
94
|
+
version: 1,
|
|
95
|
+
schema: agentsInstructionsUpdatedContentSchema,
|
|
96
|
+
renderEvent(event) {
|
|
97
|
+
const title = agentsInstructionsTitle(event.action);
|
|
98
|
+
const preview = agentsInstructionsPreview(event);
|
|
99
|
+
return {
|
|
100
|
+
icon: "brain",
|
|
101
|
+
title,
|
|
102
|
+
...preview ? { preview } : {},
|
|
103
|
+
...event.sources.length > 0 ? {
|
|
104
|
+
details: event.sources.map((source) => ({
|
|
105
|
+
title: sourceFilename(source.path),
|
|
106
|
+
content: source.content
|
|
107
|
+
}))
|
|
108
|
+
} : {}
|
|
109
|
+
};
|
|
110
|
+
}
|
|
111
|
+
});
|
|
60
112
|
var NATIVE_EVENT_DEFINITIONS = [
|
|
61
113
|
authenticationLinkedEvent,
|
|
62
|
-
authenticationUnlinkedEvent
|
|
114
|
+
authenticationUnlinkedEvent,
|
|
115
|
+
agentsInstructionsUpdatedEvent
|
|
63
116
|
];
|
|
64
117
|
function getJuniorNativeEventDefinition(args) {
|
|
65
118
|
return NATIVE_EVENT_DEFINITIONS.find(
|
|
@@ -176,6 +229,7 @@ export {
|
|
|
176
229
|
JUNIOR_NATIVE_EVENT_NAMESPACE,
|
|
177
230
|
authenticationLinkedEvent,
|
|
178
231
|
authenticationUnlinkedEvent,
|
|
232
|
+
agentsInstructionsUpdatedEvent,
|
|
179
233
|
renderJuniorNativeConversationEvent,
|
|
180
234
|
ToolInputError,
|
|
181
235
|
agentTurnUsageSchema,
|
|
@@ -3,10 +3,10 @@ import {
|
|
|
3
3
|
} from "./chunk-UTL3MHPC.js";
|
|
4
4
|
import {
|
|
5
5
|
parseSlackThreadId
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-HQAFIN6O.js";
|
|
7
7
|
import {
|
|
8
8
|
normalizeSlackConversationId
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-DVIJ6DP6.js";
|
|
10
10
|
|
|
11
11
|
// src/handlers/health.ts
|
|
12
12
|
function readHealthReport() {
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
import {
|
|
5
5
|
ensureConversationWake,
|
|
6
6
|
requestConversationWork
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-NFL4FRIU.js";
|
|
8
8
|
import {
|
|
9
9
|
buildDeliveredTurnStatePatch,
|
|
10
10
|
finalizeFailedTurnReplyWithEvent,
|
|
@@ -17,7 +17,7 @@ import {
|
|
|
17
17
|
requireTurnFailureEventId,
|
|
18
18
|
resolveTurnSessionRouting,
|
|
19
19
|
scheduleSessionCompletedPluginTasks
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-DKH4WGZU.js";
|
|
21
21
|
import {
|
|
22
22
|
ConversationTurnLifecycleService
|
|
23
23
|
} from "./chunk-Q6QZTTLS.js";
|
|
@@ -35,7 +35,7 @@ import {
|
|
|
35
35
|
getMcpProviderErrorAttributes,
|
|
36
36
|
getMcpStoredOAuthCredentials,
|
|
37
37
|
resolvePluginOAuthAccount
|
|
38
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-UONUDOJP.js";
|
|
39
39
|
import {
|
|
40
40
|
RetryableDeliveryError
|
|
41
41
|
} from "./chunk-R776HKPK.js";
|
|
@@ -51,7 +51,7 @@ import {
|
|
|
51
51
|
removeReactionFromMessage,
|
|
52
52
|
resolveBaseUrl,
|
|
53
53
|
truncateStatusText
|
|
54
|
-
} from "./chunk-
|
|
54
|
+
} from "./chunk-DK3GQWJK.js";
|
|
55
55
|
import {
|
|
56
56
|
TurnSliceLimitExceededError,
|
|
57
57
|
abandonAgentTurnSessionRecord,
|
|
@@ -82,32 +82,32 @@ import {
|
|
|
82
82
|
recordDeliveredAssistantMessage,
|
|
83
83
|
turnHasReply,
|
|
84
84
|
updateConversationStats
|
|
85
|
-
} from "./chunk-
|
|
85
|
+
} from "./chunk-PIQKV7IR.js";
|
|
86
86
|
import {
|
|
87
87
|
parseSlackThreadId,
|
|
88
88
|
readSlackRawMessageContext,
|
|
89
89
|
resolveSlackChannelIdFromMessage,
|
|
90
90
|
resolveSlackChannelIdFromThreadId
|
|
91
|
-
} from "./chunk-
|
|
91
|
+
} from "./chunk-HQAFIN6O.js";
|
|
92
92
|
import {
|
|
93
93
|
getDashboardConversationLink,
|
|
94
94
|
getPluginSlackConversationLink
|
|
95
|
-
} from "./chunk-
|
|
95
|
+
} from "./chunk-7ULXCNOZ.js";
|
|
96
96
|
import {
|
|
97
97
|
SlackActionError,
|
|
98
98
|
getHeaderString,
|
|
99
99
|
getSlackClient,
|
|
100
100
|
isDmChannel,
|
|
101
101
|
normalizeSlackConversationId
|
|
102
|
-
} from "./chunk-
|
|
102
|
+
} from "./chunk-DVIJ6DP6.js";
|
|
103
103
|
import {
|
|
104
104
|
getConversationEventStore,
|
|
105
105
|
requireSlackDestination
|
|
106
|
-
} from "./chunk-
|
|
106
|
+
} from "./chunk-5MFCEKR6.js";
|
|
107
107
|
import {
|
|
108
108
|
acquireActiveLock,
|
|
109
109
|
getStateAdapter
|
|
110
|
-
} from "./chunk-
|
|
110
|
+
} from "./chunk-6U44QGXL.js";
|
|
111
111
|
import {
|
|
112
112
|
FUNCTION_TIMEOUT_BUFFER_SECONDS,
|
|
113
113
|
botConfig,
|
|
@@ -116,18 +116,18 @@ import {
|
|
|
116
116
|
getRuntimeMetadata,
|
|
117
117
|
normalizeSlackEmojiName,
|
|
118
118
|
standardModelId
|
|
119
|
-
} from "./chunk-
|
|
119
|
+
} from "./chunk-BBLO66XT.js";
|
|
120
120
|
import {
|
|
121
121
|
discoverSkills
|
|
122
|
-
} from "./chunk-
|
|
122
|
+
} from "./chunk-6FRAWWGR.js";
|
|
123
123
|
import {
|
|
124
124
|
pluginCatalogRuntime
|
|
125
|
-
} from "./chunk-
|
|
125
|
+
} from "./chunk-EYD523BV.js";
|
|
126
126
|
import {
|
|
127
127
|
buildOAuthTokenRequest,
|
|
128
128
|
hasRequiredOAuthScope,
|
|
129
129
|
parseOAuthTokenResponse
|
|
130
|
-
} from "./chunk-
|
|
130
|
+
} from "./chunk-LMGKSDO4.js";
|
|
131
131
|
import {
|
|
132
132
|
createSlackResumeActor,
|
|
133
133
|
isUserActor
|
|
@@ -143,7 +143,7 @@ import {
|
|
|
143
143
|
setTags,
|
|
144
144
|
toOptionalString,
|
|
145
145
|
withLogContext
|
|
146
|
-
} from "./chunk-
|
|
146
|
+
} from "./chunk-UFEU4UX6.js";
|
|
147
147
|
import {
|
|
148
148
|
homeDir
|
|
149
149
|
} from "./chunk-H4HBKISO.js";
|
|
@@ -5,14 +5,14 @@ import {
|
|
|
5
5
|
getConversationStore,
|
|
6
6
|
parseDestination,
|
|
7
7
|
sameDestination
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-5MFCEKR6.js";
|
|
9
9
|
import {
|
|
10
10
|
getDefaultRedisStateAdapterFor,
|
|
11
11
|
getStateAdapter
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-6U44QGXL.js";
|
|
13
13
|
import {
|
|
14
14
|
getChatConfig
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-BBLO66XT.js";
|
|
16
16
|
import {
|
|
17
17
|
parseStoredSlackActor
|
|
18
18
|
} from "./chunk-HZF5P5UN.js";
|
|
@@ -20,7 +20,7 @@ import {
|
|
|
20
20
|
isRecord,
|
|
21
21
|
toOptionalNumber,
|
|
22
22
|
toOptionalString
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-UFEU4UX6.js";
|
|
24
24
|
|
|
25
25
|
// src/chat/task-execution/state.ts
|
|
26
26
|
import { randomUUID } from "crypto";
|