@sentry/junior 0.161.0 → 0.162.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-O75UJNC6.js → agent-hooks-TL2SGC5W.js} +9 -9
- package/dist/api/locations/detail.d.ts +1 -1
- package/dist/api/schema/conversation.d.ts +3 -0
- package/dist/api/schema/location.d.ts +1 -0
- package/dist/api/schema/person.d.ts +1 -0
- package/dist/api.js +22 -22
- package/dist/app.js +31 -31
- package/dist/{catalog-runtime-Z3FHU4ZY.js → catalog-runtime-IGSMIADJ.js} +5 -5
- package/dist/chat/conversations/message-search.d.ts +6 -0
- package/dist/chat/slack/tools/conversation-message-search.d.ts +9 -0
- package/dist/{chunk-ZBCLWBMV.js → chunk-4WYGQ47U.js} +5 -5
- package/dist/{chunk-G35DUPNB.js → chunk-5NEBOHRG.js} +4 -4
- package/dist/{chunk-RULQD7OX.js → chunk-6BJFIWEV.js} +4 -4
- package/dist/{chunk-EAIQBR66.js → chunk-7DTPFFQX.js} +1 -1
- package/dist/{chunk-O7JTSJPU.js → chunk-AJ7J2HWY.js} +6 -6
- package/dist/{chunk-WKN4ZQTZ.js → chunk-BPZQWAZJ.js} +1 -1
- package/dist/{chunk-IW7C5C7E.js → chunk-C3KUKA27.js} +17 -17
- package/dist/{chunk-FLMD25Y5.js → chunk-CZ6EHOU5.js} +1 -1
- package/dist/{chunk-U2XOBFDK.js → chunk-DDQ43S5Q.js} +49 -4
- package/dist/{chunk-IYFKONIL.js → chunk-DZC3F2UI.js} +1 -1
- package/dist/{chunk-6WTDZKFR.js → chunk-EBEHJPFF.js} +1 -1
- package/dist/{chunk-OYQEO72I.js → chunk-EHQLTK3X.js} +58 -25
- package/dist/{chunk-CGAIDDLD.js → chunk-FESUWAYU.js} +1 -1
- package/dist/{chunk-DGKLYDX7.js → chunk-FEWT5KPP.js} +2 -2
- package/dist/{chunk-QHXT7LLF.js → chunk-H2KW7AZC.js} +1 -1
- package/dist/{chunk-6ILVZOF6.js → chunk-HW4BW3PC.js} +4 -4
- package/dist/{chunk-MVG5UPLM.js → chunk-JJ3VXFDI.js} +1 -1
- package/dist/{chunk-4WAZ6DGX.js → chunk-JRVURR3H.js} +10 -10
- package/dist/{chunk-OY2DBUV4.js → chunk-K7IV6UV3.js} +5 -5
- package/dist/{chunk-OPIJ6HY3.js → chunk-KQSO4DJ4.js} +9 -9
- package/dist/{chunk-IRHX2S46.js → chunk-MMBMDSRK.js} +1 -1
- package/dist/{chunk-RVENVPNO.js → chunk-MNCEGXEH.js} +2 -2
- package/dist/{chunk-VXFDVY4C.js → chunk-O6P7DZ6O.js} +6 -6
- package/dist/{chunk-V67ORYKQ.js → chunk-OBFRMQBY.js} +7 -7
- package/dist/{chunk-QQ7SY5IZ.js → chunk-OPNJRQDP.js} +5 -5
- package/dist/{chunk-MNY5M7RB.js → chunk-QHCIZLIX.js} +5 -5
- package/dist/{chunk-HSFYTIS2.js → chunk-RDV4BQRZ.js} +1 -1
- package/dist/{chunk-WVSQ2SCS.js → chunk-THXMSSFZ.js} +1 -1
- package/dist/{chunk-STZVUVMS.js → chunk-V7QL4QMW.js} +4 -4
- package/dist/{chunk-YSWHAOPQ.js → chunk-WHAJ3QVY.js} +1 -1
- package/dist/{chunk-DNSIU27S.js → chunk-Y75ZDQB5.js} +1 -1
- package/dist/cli/chat.js +29 -29
- 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-KKOZRE62.js → db-66XZ4HHQ.js} +7 -7
- package/dist/instrumentation.js +4 -4
- package/dist/nitro.js +2 -2
- package/dist/{oauth-callback-server-5AUZDWXA.js → oauth-callback-server-FMLKDUUF.js} +22 -22
- package/dist/{runner-K5H5NDEC.js → runner-YZONUMNY.js} +12 -12
- package/dist/{skills-OZGPB6G4.js → skills-3UDJJXSO.js} +6 -6
- package/dist/spawn-TBPVA5S2.js +37 -0
- package/dist/{validation-TVHCNCYL.js → validation-3HTDBONC.js} +6 -6
- package/dist/version.js +1 -1
- package/dist/{work-DXCQMJ5U.js → work-O4YTIS54.js} +17 -17
- package/dist/worker-WHURUEYX.js +24 -0
- package/package.json +4 -4
- package/dist/spawn-RCQSC2L5.js +0 -37
- package/dist/worker-24HZ5HRI.js +0 -24
|
@@ -13,19 +13,19 @@ import {
|
|
|
13
13
|
getPlugins,
|
|
14
14
|
setPlugins,
|
|
15
15
|
validatePlugins
|
|
16
|
-
} from "./chunk-
|
|
17
|
-
import "./chunk-
|
|
18
|
-
import "./chunk-
|
|
16
|
+
} from "./chunk-QHCIZLIX.js";
|
|
17
|
+
import "./chunk-DDQ43S5Q.js";
|
|
18
|
+
import "./chunk-CZ6EHOU5.js";
|
|
19
19
|
import "./chunk-EM225ITJ.js";
|
|
20
|
-
import "./chunk-
|
|
21
|
-
import "./chunk-
|
|
20
|
+
import "./chunk-DZC3F2UI.js";
|
|
21
|
+
import "./chunk-MNCEGXEH.js";
|
|
22
22
|
import "./chunk-VFUK3X5B.js";
|
|
23
|
-
import "./chunk-
|
|
23
|
+
import "./chunk-7DTPFFQX.js";
|
|
24
24
|
import "./chunk-V7YE4WCP.js";
|
|
25
|
-
import "./chunk-
|
|
25
|
+
import "./chunk-Y75ZDQB5.js";
|
|
26
26
|
import "./chunk-6GWA276C.js";
|
|
27
|
-
import "./chunk-
|
|
28
|
-
import "./chunk-
|
|
27
|
+
import "./chunk-THXMSSFZ.js";
|
|
28
|
+
import "./chunk-BPZQWAZJ.js";
|
|
29
29
|
import "./chunk-MLKGABMK.js";
|
|
30
30
|
export {
|
|
31
31
|
PluginHookDeniedError,
|
|
@@ -103,7 +103,7 @@ export declare function readLocationDetail(locationId: string, options?: {
|
|
|
103
103
|
sidebarAnnotations?: {
|
|
104
104
|
key: string;
|
|
105
105
|
label: string;
|
|
106
|
-
icon?: "circle-dot" | "circle-dashed" | "circle-x" | "git-merge" | "triangle-alert" | undefined;
|
|
106
|
+
icon?: "circle-dot" | "circle-dashed" | "circle-x" | "git-merge" | "git-pull-request" | "triangle-alert" | undefined;
|
|
107
107
|
}[] | undefined;
|
|
108
108
|
assignedWork?: boolean | undefined;
|
|
109
109
|
finishedWorkAt?: string | undefined;
|
|
@@ -265,6 +265,7 @@ export declare const conversationSummaryReportSchema: z.ZodObject<{
|
|
|
265
265
|
"circle-dashed": "circle-dashed";
|
|
266
266
|
"circle-x": "circle-x";
|
|
267
267
|
"git-merge": "git-merge";
|
|
268
|
+
"git-pull-request": "git-pull-request";
|
|
268
269
|
"triangle-alert": "triangle-alert";
|
|
269
270
|
}>>;
|
|
270
271
|
key: z.ZodString;
|
|
@@ -776,6 +777,7 @@ export declare const conversationDetailReportSchema: z.ZodObject<{
|
|
|
776
777
|
"circle-dashed": "circle-dashed";
|
|
777
778
|
"circle-x": "circle-x";
|
|
778
779
|
"git-merge": "git-merge";
|
|
780
|
+
"git-pull-request": "git-pull-request";
|
|
779
781
|
"triangle-alert": "triangle-alert";
|
|
780
782
|
}>>;
|
|
781
783
|
key: z.ZodString;
|
|
@@ -1314,6 +1316,7 @@ export declare const conversationFeedSchema: z.ZodObject<{
|
|
|
1314
1316
|
"circle-dashed": "circle-dashed";
|
|
1315
1317
|
"circle-x": "circle-x";
|
|
1316
1318
|
"git-merge": "git-merge";
|
|
1319
|
+
"git-pull-request": "git-pull-request";
|
|
1317
1320
|
"triangle-alert": "triangle-alert";
|
|
1318
1321
|
}>>;
|
|
1319
1322
|
key: z.ZodString;
|
|
@@ -219,6 +219,7 @@ export declare const locationDetailReportSchema: z.ZodObject<{
|
|
|
219
219
|
"circle-dashed": "circle-dashed";
|
|
220
220
|
"circle-x": "circle-x";
|
|
221
221
|
"git-merge": "git-merge";
|
|
222
|
+
"git-pull-request": "git-pull-request";
|
|
222
223
|
"triangle-alert": "triangle-alert";
|
|
223
224
|
}>>;
|
|
224
225
|
key: z.ZodString;
|
|
@@ -186,6 +186,7 @@ export declare const actorProfileReportSchema: z.ZodObject<{
|
|
|
186
186
|
"circle-dashed": "circle-dashed";
|
|
187
187
|
"circle-x": "circle-x";
|
|
188
188
|
"git-merge": "git-merge";
|
|
189
|
+
"git-pull-request": "git-pull-request";
|
|
189
190
|
"triangle-alert": "triangle-alert";
|
|
190
191
|
}>>;
|
|
191
192
|
key: z.ZodString;
|
package/dist/api.js
CHANGED
|
@@ -46,15 +46,15 @@ import {
|
|
|
46
46
|
readHealthReport,
|
|
47
47
|
resolveSlackConversationContextFromThreadId,
|
|
48
48
|
webActorFromEmail
|
|
49
|
-
} from "./chunk-
|
|
49
|
+
} from "./chunk-JRVURR3H.js";
|
|
50
50
|
import {
|
|
51
51
|
buildSentryConversationUrl,
|
|
52
52
|
getWebAuthorization
|
|
53
|
-
} from "./chunk-
|
|
53
|
+
} from "./chunk-RDV4BQRZ.js";
|
|
54
54
|
import {
|
|
55
55
|
cancelHumanFacingPendingMessages,
|
|
56
56
|
getConversation
|
|
57
|
-
} from "./chunk-
|
|
57
|
+
} from "./chunk-5NEBOHRG.js";
|
|
58
58
|
import {
|
|
59
59
|
readTaskExecutionByConversationId,
|
|
60
60
|
readTaskExecutionDays,
|
|
@@ -62,8 +62,8 @@ import {
|
|
|
62
62
|
readTaskExecutionSummaries,
|
|
63
63
|
readTaskExecutions,
|
|
64
64
|
readTaskRuns
|
|
65
|
-
} from "./chunk-
|
|
66
|
-
import "./chunk-
|
|
65
|
+
} from "./chunk-KQSO4DJ4.js";
|
|
66
|
+
import "./chunk-OPNJRQDP.js";
|
|
67
67
|
import {
|
|
68
68
|
healthReportSchema,
|
|
69
69
|
pluginOperationalReportFeedSchema,
|
|
@@ -88,16 +88,16 @@ import {
|
|
|
88
88
|
listPublicScheduledTasksForTeams,
|
|
89
89
|
readLiveAttachment,
|
|
90
90
|
readStats
|
|
91
|
-
} from "./chunk-
|
|
91
|
+
} from "./chunk-4WYGQ47U.js";
|
|
92
92
|
import {
|
|
93
93
|
parseSlackThreadId
|
|
94
|
-
} from "./chunk-
|
|
94
|
+
} from "./chunk-WHAJ3QVY.js";
|
|
95
95
|
import {
|
|
96
96
|
agentTurnUsageSchema,
|
|
97
97
|
fallbackShortTitle,
|
|
98
98
|
hasAgentTurnUsage,
|
|
99
99
|
renderJuniorNativeConversationEvent
|
|
100
|
-
} from "./chunk-
|
|
100
|
+
} from "./chunk-V7QL4QMW.js";
|
|
101
101
|
import "./chunk-3Y47VMHV.js";
|
|
102
102
|
import "./chunk-PDO5BLNM.js";
|
|
103
103
|
import {
|
|
@@ -111,7 +111,7 @@ import {
|
|
|
111
111
|
resolveViewerUser,
|
|
112
112
|
updateViewerDisplayName,
|
|
113
113
|
withSlackRetries
|
|
114
|
-
} from "./chunk-
|
|
114
|
+
} from "./chunk-QHCIZLIX.js";
|
|
115
115
|
import {
|
|
116
116
|
decodeStoredConversationEvent,
|
|
117
117
|
getConversationStore,
|
|
@@ -119,7 +119,7 @@ import {
|
|
|
119
119
|
getSqlExecutor,
|
|
120
120
|
locationFromRow,
|
|
121
121
|
parseSessionSource
|
|
122
|
-
} from "./chunk-
|
|
122
|
+
} from "./chunk-DDQ43S5Q.js";
|
|
123
123
|
import {
|
|
124
124
|
juniorApiTokens,
|
|
125
125
|
juniorConversationEvents,
|
|
@@ -127,16 +127,16 @@ import {
|
|
|
127
127
|
juniorConversations,
|
|
128
128
|
juniorIdentities,
|
|
129
129
|
juniorUsers
|
|
130
|
-
} from "./chunk-
|
|
130
|
+
} from "./chunk-CZ6EHOU5.js";
|
|
131
131
|
import "./chunk-EM225ITJ.js";
|
|
132
|
-
import "./chunk-
|
|
133
|
-
import "./chunk-
|
|
132
|
+
import "./chunk-DZC3F2UI.js";
|
|
133
|
+
import "./chunk-MNCEGXEH.js";
|
|
134
134
|
import {
|
|
135
135
|
juniorDestinations
|
|
136
136
|
} from "./chunk-VFUK3X5B.js";
|
|
137
137
|
import {
|
|
138
138
|
canExposeConversationPayload
|
|
139
|
-
} from "./chunk-
|
|
139
|
+
} from "./chunk-7DTPFFQX.js";
|
|
140
140
|
import "./chunk-BDUENQD3.js";
|
|
141
141
|
import {
|
|
142
142
|
parseSlackChannelId,
|
|
@@ -146,10 +146,10 @@ import {
|
|
|
146
146
|
import {
|
|
147
147
|
logException,
|
|
148
148
|
logWarn
|
|
149
|
-
} from "./chunk-
|
|
149
|
+
} from "./chunk-Y75ZDQB5.js";
|
|
150
150
|
import "./chunk-6GWA276C.js";
|
|
151
|
-
import "./chunk-
|
|
152
|
-
import "./chunk-
|
|
151
|
+
import "./chunk-THXMSSFZ.js";
|
|
152
|
+
import "./chunk-BPZQWAZJ.js";
|
|
153
153
|
import "./chunk-MLKGABMK.js";
|
|
154
154
|
|
|
155
155
|
// src/api.ts
|
|
@@ -4176,7 +4176,7 @@ async function readPeoplePluginReports(args) {
|
|
|
4176
4176
|
source: "plugins"
|
|
4177
4177
|
});
|
|
4178
4178
|
}
|
|
4179
|
-
const { getPluginProfileReports } = await import("./agent-hooks-
|
|
4179
|
+
const { getPluginProfileReports } = await import("./agent-hooks-TL2SGC5W.js");
|
|
4180
4180
|
return pluginOperationalReportFeedSchema.parse({
|
|
4181
4181
|
generatedAt: new Date(nowMs).toISOString(),
|
|
4182
4182
|
reports: await getPluginProfileReports({
|
|
@@ -4834,7 +4834,7 @@ function readDescriptionText(home) {
|
|
|
4834
4834
|
}
|
|
4835
4835
|
}
|
|
4836
4836
|
async function readSkillReports() {
|
|
4837
|
-
const { discoverSkills } = await import("./skills-
|
|
4837
|
+
const { discoverSkills } = await import("./skills-3UDJJXSO.js");
|
|
4838
4838
|
const skills = await discoverSkills();
|
|
4839
4839
|
return skillReportsSchema.parse(
|
|
4840
4840
|
skills.map((skill) => ({
|
|
@@ -4844,7 +4844,7 @@ async function readSkillReports() {
|
|
|
4844
4844
|
);
|
|
4845
4845
|
}
|
|
4846
4846
|
async function readPlugins() {
|
|
4847
|
-
const { pluginCatalogRuntime } = await import("./catalog-runtime-
|
|
4847
|
+
const { pluginCatalogRuntime } = await import("./catalog-runtime-IGSMIADJ.js");
|
|
4848
4848
|
return pluginsSchema.parse(
|
|
4849
4849
|
pluginCatalogRuntime.getProviders().map((plugin) => ({
|
|
4850
4850
|
configKeys: plugin.manifest.configKeys ?? [],
|
|
@@ -4857,7 +4857,7 @@ async function readPlugins() {
|
|
|
4857
4857
|
async function readRuntimeInfoReport() {
|
|
4858
4858
|
const [{ homeDir }, { pluginCatalogRuntime }, plugins, skills] = await Promise.all([
|
|
4859
4859
|
import("./discovery-GUFTFBTL.js"),
|
|
4860
|
-
import("./catalog-runtime-
|
|
4860
|
+
import("./catalog-runtime-IGSMIADJ.js"),
|
|
4861
4861
|
readPlugins(),
|
|
4862
4862
|
readSkillReports()
|
|
4863
4863
|
]);
|
|
@@ -4873,7 +4873,7 @@ async function readRuntimeInfoReport() {
|
|
|
4873
4873
|
}
|
|
4874
4874
|
async function readPluginOperationalReportFeed() {
|
|
4875
4875
|
const nowMs = Date.now();
|
|
4876
|
-
const { getPluginOperationalReports } = await import("./agent-hooks-
|
|
4876
|
+
const { getPluginOperationalReports } = await import("./agent-hooks-TL2SGC5W.js");
|
|
4877
4877
|
return pluginOperationalReportFeedSchema.parse({
|
|
4878
4878
|
source: "plugins",
|
|
4879
4879
|
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-HW4BW3PC.js";
|
|
4
4
|
import {
|
|
5
5
|
bindSpawnAgent
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-H2KW7AZC.js";
|
|
7
7
|
import {
|
|
8
8
|
createAgentInvocationWorker,
|
|
9
9
|
enqueueAgentInvocation,
|
|
10
10
|
listPendingAgentInvocationMailboxAppends,
|
|
11
11
|
routeAgentInvocationWork
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-AJ7J2HWY.js";
|
|
13
13
|
import {
|
|
14
14
|
GET as GET2,
|
|
15
15
|
GET2 as GET3,
|
|
@@ -36,12 +36,12 @@ import {
|
|
|
36
36
|
startSlackProcessingReaction,
|
|
37
37
|
stripLeadingBotMention,
|
|
38
38
|
wakePausedTurn
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-C3KUKA27.js";
|
|
40
40
|
import "./chunk-FA6POGLH.js";
|
|
41
41
|
import {
|
|
42
42
|
getTurnRequestDeadline,
|
|
43
43
|
runWithTurnRequestDeadline
|
|
44
|
-
} from "./chunk-
|
|
44
|
+
} from "./chunk-MMBMDSRK.js";
|
|
45
45
|
import {
|
|
46
46
|
GET,
|
|
47
47
|
conversationVisibilityFromSlackChannelType,
|
|
@@ -51,8 +51,8 @@ import {
|
|
|
51
51
|
resolveSlackChannelTypeFromMessage,
|
|
52
52
|
resolveSlackConversationContext,
|
|
53
53
|
routeApiTurnWork
|
|
54
|
-
} from "./chunk-
|
|
55
|
-
import "./chunk-
|
|
54
|
+
} from "./chunk-JRVURR3H.js";
|
|
55
|
+
import "./chunk-RDV4BQRZ.js";
|
|
56
56
|
import {
|
|
57
57
|
CONVERSATION_WORK_STALE_ENQUEUE_MS,
|
|
58
58
|
appendAndEnqueueInboundMessage,
|
|
@@ -63,7 +63,7 @@ import {
|
|
|
63
63
|
isInvalidConversationRecordError,
|
|
64
64
|
listActiveConversationIds,
|
|
65
65
|
removeActiveConversation
|
|
66
|
-
} from "./chunk-
|
|
66
|
+
} from "./chunk-5NEBOHRG.js";
|
|
67
67
|
import {
|
|
68
68
|
buildDeliveredTurnStatePatch,
|
|
69
69
|
claimDispatchMailboxAppend,
|
|
@@ -94,7 +94,7 @@ import {
|
|
|
94
94
|
requireTurnFailureEventId,
|
|
95
95
|
resolveTurnSessionRouting,
|
|
96
96
|
scheduleSessionCompletedPluginTasks
|
|
97
|
-
} from "./chunk-
|
|
97
|
+
} from "./chunk-KQSO4DJ4.js";
|
|
98
98
|
import {
|
|
99
99
|
ConversationTurnLifecycleService,
|
|
100
100
|
coerceThreadConversationState,
|
|
@@ -104,7 +104,7 @@ import {
|
|
|
104
104
|
persistThreadRuntimeState,
|
|
105
105
|
persistThreadState,
|
|
106
106
|
persistThreadStateById
|
|
107
|
-
} from "./chunk-
|
|
107
|
+
} from "./chunk-OPNJRQDP.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-JJ3VXFDI.js";
|
|
127
127
|
import {
|
|
128
128
|
defineJuniorPlugins,
|
|
129
129
|
pluginCatalogConfigFromEnv,
|
|
@@ -158,11 +158,11 @@ import {
|
|
|
158
158
|
shouldEmitDevAgentTrace,
|
|
159
159
|
shouldPropagateSandboxEgressTrace,
|
|
160
160
|
unpublishedArtifactHeaders
|
|
161
|
-
} from "./chunk-
|
|
161
|
+
} from "./chunk-EHQLTK3X.js";
|
|
162
162
|
import {
|
|
163
163
|
AuthorizationFlowDisabledError,
|
|
164
164
|
PluginCredentialFailureError
|
|
165
|
-
} from "./chunk-
|
|
165
|
+
} from "./chunk-K7IV6UV3.js";
|
|
166
166
|
import "./chunk-DIB4GX3G.js";
|
|
167
167
|
import {
|
|
168
168
|
createAgentRunner,
|
|
@@ -170,7 +170,7 @@ import {
|
|
|
170
170
|
deleteMcpAuthSessionsForUserProvider,
|
|
171
171
|
deleteMcpServerSessionId,
|
|
172
172
|
deleteMcpStoredOAuthCredentials
|
|
173
|
-
} from "./chunk-
|
|
173
|
+
} from "./chunk-OBFRMQBY.js";
|
|
174
174
|
import {
|
|
175
175
|
RetryableDeliveryError
|
|
176
176
|
} from "./chunk-RF6J3DIO.js";
|
|
@@ -178,7 +178,7 @@ import {
|
|
|
178
178
|
formatProviderLabel,
|
|
179
179
|
postSlackMessage,
|
|
180
180
|
startOAuthFlow
|
|
181
|
-
} from "./chunk-
|
|
181
|
+
} from "./chunk-O6P7DZ6O.js";
|
|
182
182
|
import "./chunk-7MA4HV4W.js";
|
|
183
183
|
import {
|
|
184
184
|
getExperimentalFeatures,
|
|
@@ -187,7 +187,7 @@ import {
|
|
|
187
187
|
import {
|
|
188
188
|
getSandboxResourceConfig,
|
|
189
189
|
setSandboxResourceConfig
|
|
190
|
-
} from "./chunk-
|
|
190
|
+
} from "./chunk-6BJFIWEV.js";
|
|
191
191
|
import {
|
|
192
192
|
collectAttachmentGarbage,
|
|
193
193
|
createSchedulerSqlStore,
|
|
@@ -195,10 +195,10 @@ import {
|
|
|
195
195
|
logScheduledTaskRunSkipped,
|
|
196
196
|
requestAttachmentDeletion,
|
|
197
197
|
scheduledTaskRunAttributes
|
|
198
|
-
} from "./chunk-
|
|
198
|
+
} from "./chunk-4WYGQ47U.js";
|
|
199
199
|
import {
|
|
200
200
|
parseSlackThreadId
|
|
201
|
-
} from "./chunk-
|
|
201
|
+
} from "./chunk-WHAJ3QVY.js";
|
|
202
202
|
import {
|
|
203
203
|
ConversationTurnBoundaryError,
|
|
204
204
|
CooperativeTurnYieldError,
|
|
@@ -248,7 +248,7 @@ import {
|
|
|
248
248
|
trimTrailingAssistantMessages,
|
|
249
249
|
turnHasReply,
|
|
250
250
|
upsertConversationMessage
|
|
251
|
-
} from "./chunk-
|
|
251
|
+
} from "./chunk-V7QL4QMW.js";
|
|
252
252
|
import "./chunk-3Y47VMHV.js";
|
|
253
253
|
import "./chunk-PDO5BLNM.js";
|
|
254
254
|
import "./chunk-UIE3R5XU.js";
|
|
@@ -276,7 +276,7 @@ import {
|
|
|
276
276
|
verifyEventTaskCredentialSubject,
|
|
277
277
|
verifyScheduledTaskCredentialSubject,
|
|
278
278
|
verifySlackDirectCredentialSubject
|
|
279
|
-
} from "./chunk-
|
|
279
|
+
} from "./chunk-QHCIZLIX.js";
|
|
280
280
|
import {
|
|
281
281
|
contextProvenance,
|
|
282
282
|
createSlackDestination,
|
|
@@ -289,19 +289,19 @@ import {
|
|
|
289
289
|
requireSlackDestination,
|
|
290
290
|
withConversationEventLock,
|
|
291
291
|
withConversationMutationLock
|
|
292
|
-
} from "./chunk-
|
|
292
|
+
} from "./chunk-DDQ43S5Q.js";
|
|
293
293
|
import {
|
|
294
294
|
juniorAgentBindings,
|
|
295
295
|
juniorAgentInvocations,
|
|
296
296
|
juniorConversationEvents,
|
|
297
297
|
juniorConversations
|
|
298
|
-
} from "./chunk-
|
|
298
|
+
} from "./chunk-CZ6EHOU5.js";
|
|
299
299
|
import "./chunk-EM225ITJ.js";
|
|
300
300
|
import {
|
|
301
301
|
acquireActiveLock,
|
|
302
302
|
getStateAdapter,
|
|
303
303
|
withActiveLock
|
|
304
|
-
} from "./chunk-
|
|
304
|
+
} from "./chunk-DZC3F2UI.js";
|
|
305
305
|
import {
|
|
306
306
|
STANDARD_MODEL_PROFILE,
|
|
307
307
|
botConfig,
|
|
@@ -319,16 +319,16 @@ import {
|
|
|
319
319
|
modelIdForProfile,
|
|
320
320
|
setSlackReactionConfig,
|
|
321
321
|
standardModelId
|
|
322
|
-
} from "./chunk-
|
|
322
|
+
} from "./chunk-MNCEGXEH.js";
|
|
323
323
|
import {
|
|
324
324
|
juniorDestinations
|
|
325
325
|
} from "./chunk-VFUK3X5B.js";
|
|
326
|
-
import "./chunk-
|
|
327
|
-
import "./chunk-
|
|
326
|
+
import "./chunk-7DTPFFQX.js";
|
|
327
|
+
import "./chunk-FEWT5KPP.js";
|
|
328
328
|
import {
|
|
329
329
|
pluginCatalogRuntime
|
|
330
|
-
} from "./chunk-
|
|
331
|
-
import "./chunk-
|
|
330
|
+
} from "./chunk-FESUWAYU.js";
|
|
331
|
+
import "./chunk-EBEHJPFF.js";
|
|
332
332
|
import {
|
|
333
333
|
credentialContextForActor
|
|
334
334
|
} from "./chunk-BDUENQD3.js";
|
|
@@ -360,7 +360,7 @@ import {
|
|
|
360
360
|
withContext,
|
|
361
361
|
withLogContext,
|
|
362
362
|
withSpan
|
|
363
|
-
} from "./chunk-
|
|
363
|
+
} from "./chunk-Y75ZDQB5.js";
|
|
364
364
|
import {
|
|
365
365
|
continueTrace
|
|
366
366
|
} from "./chunk-6GWA276C.js";
|
|
@@ -368,10 +368,10 @@ import "./chunk-OOUNJNMR.js";
|
|
|
368
368
|
import "./chunk-H4HBKISO.js";
|
|
369
369
|
import {
|
|
370
370
|
JUNIOR_PLUGIN_TASK_CALLBACK_ROUTE
|
|
371
|
-
} from "./chunk-
|
|
371
|
+
} from "./chunk-THXMSSFZ.js";
|
|
372
372
|
import {
|
|
373
373
|
JUNIOR_VERSION
|
|
374
|
-
} from "./chunk-
|
|
374
|
+
} from "./chunk-BPZQWAZJ.js";
|
|
375
375
|
import "./chunk-MLKGABMK.js";
|
|
376
376
|
|
|
377
377
|
// src/app.ts
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
pluginCatalogRuntime
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-FESUWAYU.js";
|
|
4
|
+
import "./chunk-EBEHJPFF.js";
|
|
5
5
|
import "./chunk-BDUENQD3.js";
|
|
6
6
|
import "./chunk-V7YE4WCP.js";
|
|
7
|
-
import "./chunk-
|
|
7
|
+
import "./chunk-Y75ZDQB5.js";
|
|
8
8
|
import "./chunk-6GWA276C.js";
|
|
9
9
|
import "./chunk-OOUNJNMR.js";
|
|
10
10
|
import "./chunk-H4HBKISO.js";
|
|
11
|
-
import "./chunk-
|
|
12
|
-
import "./chunk-
|
|
11
|
+
import "./chunk-THXMSSFZ.js";
|
|
12
|
+
import "./chunk-BPZQWAZJ.js";
|
|
13
13
|
import "./chunk-MLKGABMK.js";
|
|
14
14
|
export {
|
|
15
15
|
pluginCatalogRuntime
|
|
@@ -16,6 +16,12 @@ export interface ConversationMessageSearchScope {
|
|
|
16
16
|
}
|
|
17
17
|
/** Optional filters that narrow retained public workspace search. */
|
|
18
18
|
export interface ConversationMessageSearchFilters {
|
|
19
|
+
/** Only conversations active at or after this time. */
|
|
20
|
+
afterMs?: number;
|
|
21
|
+
/** Annotation key, matched case-insensitively. Nested keys may continue with `#`. */
|
|
22
|
+
annotation?: string;
|
|
23
|
+
/** Only conversations active before this time. */
|
|
24
|
+
beforeMs?: number;
|
|
19
25
|
/** Slack channel id of the conversation destination. */
|
|
20
26
|
channelId?: string;
|
|
21
27
|
/** Full-text query over retained visible message text. */
|
|
@@ -4,6 +4,9 @@ export declare function createSlackConversationMessageSearchTool(scope: Conversa
|
|
|
4
4
|
inputSchema: import("../../tools/definition").JsonSchemaObject;
|
|
5
5
|
outputSchema: import("../../tools/definition").JsonSchemaObject;
|
|
6
6
|
prepareArguments(args: unknown): {
|
|
7
|
+
after?: string | null | undefined;
|
|
8
|
+
annotation?: string | null | undefined;
|
|
9
|
+
before?: string | null | undefined;
|
|
7
10
|
channel_id?: string | null | undefined;
|
|
8
11
|
query?: string | null | undefined;
|
|
9
12
|
limit?: number | null | undefined;
|
|
@@ -29,6 +32,9 @@ export declare function createSlackConversationMessageSearchTool(scope: Conversa
|
|
|
29
32
|
arguments: Record<string, unknown>;
|
|
30
33
|
reason?: string | undefined;
|
|
31
34
|
} | undefined;
|
|
35
|
+
after?: string | undefined;
|
|
36
|
+
annotation?: string | undefined;
|
|
37
|
+
before?: string | undefined;
|
|
32
38
|
channel_id?: string | undefined;
|
|
33
39
|
query?: string | undefined;
|
|
34
40
|
} | Promise<{
|
|
@@ -52,6 +58,9 @@ export declare function createSlackConversationMessageSearchTool(scope: Conversa
|
|
|
52
58
|
arguments: Record<string, unknown>;
|
|
53
59
|
reason?: string | undefined;
|
|
54
60
|
} | undefined;
|
|
61
|
+
after?: string | undefined;
|
|
62
|
+
annotation?: string | undefined;
|
|
63
|
+
before?: string | undefined;
|
|
55
64
|
channel_id?: string | undefined;
|
|
56
65
|
query?: string | undefined;
|
|
57
66
|
}>) | undefined;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ToolInputError
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-V7QL4QMW.js";
|
|
4
4
|
import {
|
|
5
5
|
canRouteResourceEvents,
|
|
6
6
|
getPlugins
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-QHCIZLIX.js";
|
|
8
8
|
import {
|
|
9
9
|
getDb
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-DDQ43S5Q.js";
|
|
11
11
|
import {
|
|
12
12
|
juniorAttachments,
|
|
13
13
|
juniorConversations,
|
|
@@ -15,13 +15,13 @@ import {
|
|
|
15
15
|
juniorSchedulerRuns,
|
|
16
16
|
juniorSchedulerTasks,
|
|
17
17
|
juniorStats
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-CZ6EHOU5.js";
|
|
19
19
|
import {
|
|
20
20
|
juniorDestinations
|
|
21
21
|
} from "./chunk-VFUK3X5B.js";
|
|
22
22
|
import {
|
|
23
23
|
logInfo
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-Y75ZDQB5.js";
|
|
25
25
|
|
|
26
26
|
// src/chat/event-tasks/store.ts
|
|
27
27
|
import { and, asc, desc, eq, inArray, or, sql } from "drizzle-orm";
|
|
@@ -8,14 +8,14 @@ import {
|
|
|
8
8
|
getConversationStore,
|
|
9
9
|
parseDestination,
|
|
10
10
|
sameDestination
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-DDQ43S5Q.js";
|
|
12
12
|
import {
|
|
13
13
|
getDefaultRedisStateAdapterFor,
|
|
14
14
|
getStateAdapter
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-DZC3F2UI.js";
|
|
16
16
|
import {
|
|
17
17
|
getChatConfig
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-MNCEGXEH.js";
|
|
19
19
|
import {
|
|
20
20
|
parseStoredSlackActor
|
|
21
21
|
} from "./chunk-V7YE4WCP.js";
|
|
@@ -23,7 +23,7 @@ import {
|
|
|
23
23
|
isRecord,
|
|
24
24
|
toOptionalNumber,
|
|
25
25
|
toOptionalString
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-Y75ZDQB5.js";
|
|
27
27
|
|
|
28
28
|
// src/chat/task-execution/state.ts
|
|
29
29
|
import { randomUUID } from "crypto";
|
|
@@ -4,18 +4,18 @@ import {
|
|
|
4
4
|
} from "./chunk-EM225ITJ.js";
|
|
5
5
|
import {
|
|
6
6
|
getStateAdapter
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-DZC3F2UI.js";
|
|
8
8
|
import {
|
|
9
9
|
toOptionalTrimmed
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-MNCEGXEH.js";
|
|
11
11
|
import {
|
|
12
12
|
pluginCatalogRuntime
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-FESUWAYU.js";
|
|
14
14
|
import {
|
|
15
15
|
setSpanAttributes,
|
|
16
16
|
setSpanStatus,
|
|
17
17
|
withSpan
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-Y75ZDQB5.js";
|
|
19
19
|
|
|
20
20
|
// src/chat/sandbox/resources.ts
|
|
21
21
|
var configuredResources;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
appendAndEnqueueInboundMessage
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-5NEBOHRG.js";
|
|
4
4
|
import {
|
|
5
5
|
ConversationTurnLifecycleService,
|
|
6
6
|
getPersistedSandboxState,
|
|
7
7
|
getPersistedThreadState,
|
|
8
8
|
persistThreadStateById
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-OPNJRQDP.js";
|
|
10
10
|
import {
|
|
11
11
|
AgentInvocationBusyError,
|
|
12
12
|
AgentInvocationLimitError,
|
|
@@ -15,7 +15,7 @@ import {
|
|
|
15
15
|
agentBindingSchema,
|
|
16
16
|
agentInvocationSchema,
|
|
17
17
|
createAgentInvocationSchema
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-K7IV6UV3.js";
|
|
19
19
|
import {
|
|
20
20
|
TurnInputCommitLostError,
|
|
21
21
|
failTurnRecord,
|
|
@@ -26,16 +26,16 @@ import {
|
|
|
26
26
|
isTurnInputCommitLostError,
|
|
27
27
|
openConversationProjection,
|
|
28
28
|
saveTurnCheckpoint
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-V7QL4QMW.js";
|
|
30
30
|
import {
|
|
31
31
|
getConversationEventStore,
|
|
32
32
|
getConversationStore,
|
|
33
33
|
getSqlExecutor
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-DDQ43S5Q.js";
|
|
35
35
|
import {
|
|
36
36
|
juniorAgentBindings,
|
|
37
37
|
juniorAgentInvocations
|
|
38
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-CZ6EHOU5.js";
|
|
39
39
|
|
|
40
40
|
// src/chat/agent-invocations/work.ts
|
|
41
41
|
import { z } from "zod";
|