@sentry/junior 0.176.0 → 0.176.2
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-ZPCHKYXI.js → agent-hooks-LQZFBXBK.js} +12 -12
- package/dist/api.js +26 -26
- package/dist/app.js +32 -32
- package/dist/{catalog-runtime-3Z2Y5IP6.js → catalog-runtime-P3DBC3XM.js} +5 -5
- package/dist/{chunk-CUA5SZR5.js → chunk-2KSPJ6EE.js} +1 -1
- package/dist/{chunk-AJEZETLT.js → chunk-2PWBS4JK.js} +1 -1
- package/dist/{chunk-CI4JX64I.js → chunk-2XQ45FB2.js} +1 -1
- package/dist/{chunk-BNGK2J6X.js → chunk-73FXUNOB.js} +1 -1
- package/dist/{chunk-6NQJQP7O.js → chunk-AJ6M3LLM.js} +5 -5
- package/dist/{chunk-64EGCW34.js → chunk-B2RBW7CX.js} +6 -6
- package/dist/{chunk-B7U2QBMT.js → chunk-DBXTXY2Z.js} +9 -9
- package/dist/{chunk-VUAHVGPY.js → chunk-E7MUDWFH.js} +4 -4
- package/dist/{chunk-5JB5JJO5.js → chunk-ESIS6NVJ.js} +1 -1
- package/dist/{chunk-CTYWFV6L.js → chunk-FDA3E627.js} +6 -6
- package/dist/{chunk-COFZR2CO.js → chunk-FIWDSKL2.js} +1 -1
- package/dist/{chunk-DVHYQDGM.js → chunk-FLBOMXLS.js} +1 -1
- package/dist/{chunk-OKXHYVKE.js → chunk-H5SVUUPE.js} +4 -4
- package/dist/{chunk-H7KTMGNI.js → chunk-HLEE6JNT.js} +1 -1
- package/dist/{chunk-RSIHA3XC.js → chunk-HXX3CSGJ.js} +5 -5
- package/dist/{chunk-VVLQGGJJ.js → chunk-JRDM64UU.js} +1 -1
- package/dist/{chunk-CNC65LIX.js → chunk-KKY2R2QF.js} +1 -1
- package/dist/{chunk-Z2YZ6QLG.js → chunk-LNV3NNDO.js} +2 -2
- package/dist/{chunk-KYHHJ6LS.js → chunk-LY6QWCJI.js} +1 -1
- package/dist/{chunk-2N7YRFMW.js → chunk-MNKXBIIA.js} +12 -12
- package/dist/{chunk-JHCAX7XY.js → chunk-MOVIDCPX.js} +3 -3
- package/dist/{chunk-SGLLADGQ.js → chunk-OJQTYDDD.js} +17 -17
- package/dist/{chunk-665JOQEP.js → chunk-OOH45KJS.js} +6 -6
- package/dist/{chunk-SBIQ5MZW.js → chunk-PLJ3UO67.js} +1 -1
- package/dist/{chunk-PS3ZPRL2.js → chunk-QWPKRFG6.js} +1 -1
- package/dist/{chunk-B6IOTX7W.js → chunk-RHNT2FYF.js} +1 -1
- package/dist/{chunk-FNOLPLXJ.js → chunk-SZWILPFG.js} +4 -4
- package/dist/{chunk-JIZ3RFER.js → chunk-TRG4RCTT.js} +6 -6
- package/dist/{chunk-B65VEBJV.js → chunk-UZM72ORS.js} +2 -2
- package/dist/{chunk-GYRGJVWR.js → chunk-V4SBMRZ3.js} +18 -18
- package/dist/{chunk-IPOB6IL5.js → chunk-WVDCJ26T.js} +4 -4
- package/dist/{chunk-Q374NKGS.js → chunk-YAB6CALP.js} +8 -8
- package/dist/cli/chat.js +30 -30
- package/dist/cli/check.js +6 -6
- package/dist/cli/plugins.js +13 -13
- package/dist/cli/snapshot-create.js +10 -10
- package/dist/cli/upgrade.js +7 -7
- package/dist/{db-63K2IY36.js → db-ATGRVFSI.js} +7 -7
- package/dist/instrumentation.js +4 -4
- package/dist/nitro.js +2 -2
- package/dist/{oauth-callback-server-JZXBDXGO.js → oauth-callback-server-55TYSRIZ.js} +23 -23
- package/dist/{runner-3KWZJVK6.js → runner-FD4BRECW.js} +15 -15
- package/dist/{skills-TFQQ3WSE.js → skills-5YY7QYV6.js} +6 -6
- package/dist/spawn-6IS46YNW.js +37 -0
- package/dist/{validation-RKLSF2UH.js → validation-KH5UQUV4.js} +6 -6
- package/dist/version.js +1 -1
- package/dist/{work-RKDS3J2X.js → work-5LWDUEO4.js} +18 -18
- package/dist/worker-XKVLTAI2.js +24 -0
- package/package.json +5 -5
- package/dist/spawn-3GVQNWFH.js +0 -37
- package/dist/worker-5RJNDPYW.js +0 -24
|
@@ -13,25 +13,25 @@ import {
|
|
|
13
13
|
getPlugins,
|
|
14
14
|
setPlugins,
|
|
15
15
|
validatePlugins
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-TRG4RCTT.js";
|
|
17
17
|
import "./chunk-3Y47VMHV.js";
|
|
18
|
-
import "./chunk-
|
|
19
|
-
import "./chunk-
|
|
20
|
-
import "./chunk-
|
|
21
|
-
import "./chunk-
|
|
22
|
-
import "./chunk-
|
|
18
|
+
import "./chunk-MOVIDCPX.js";
|
|
19
|
+
import "./chunk-2KSPJ6EE.js";
|
|
20
|
+
import "./chunk-KKY2R2QF.js";
|
|
21
|
+
import "./chunk-RHNT2FYF.js";
|
|
22
|
+
import "./chunk-LNV3NNDO.js";
|
|
23
23
|
import "./chunk-VFUK3X5B.js";
|
|
24
|
-
import "./chunk-
|
|
25
|
-
import "./chunk-
|
|
26
|
-
import "./chunk-
|
|
24
|
+
import "./chunk-HLEE6JNT.js";
|
|
25
|
+
import "./chunk-ESIS6NVJ.js";
|
|
26
|
+
import "./chunk-2XQ45FB2.js";
|
|
27
27
|
import "./chunk-CGA4ERJ5.js";
|
|
28
28
|
import "./chunk-M63DETLL.js";
|
|
29
|
-
import "./chunk-
|
|
29
|
+
import "./chunk-PLJ3UO67.js";
|
|
30
30
|
import "./chunk-6GWA276C.js";
|
|
31
31
|
import "./chunk-OOUNJNMR.js";
|
|
32
32
|
import "./chunk-H4HBKISO.js";
|
|
33
|
-
import "./chunk-
|
|
34
|
-
import "./chunk-
|
|
33
|
+
import "./chunk-LY6QWCJI.js";
|
|
34
|
+
import "./chunk-FLBOMXLS.js";
|
|
35
35
|
import "./chunk-MLKGABMK.js";
|
|
36
36
|
export {
|
|
37
37
|
PluginHookDeniedError,
|
package/dist/api.js
CHANGED
|
@@ -59,15 +59,15 @@ import {
|
|
|
59
59
|
revokePersonalToken,
|
|
60
60
|
viewerConversationMembership,
|
|
61
61
|
webActorFromEmail
|
|
62
|
-
} from "./chunk-
|
|
62
|
+
} from "./chunk-MNKXBIIA.js";
|
|
63
63
|
import {
|
|
64
64
|
buildSentryConversationUrl,
|
|
65
65
|
getWebAuthorization
|
|
66
|
-
} from "./chunk-
|
|
66
|
+
} from "./chunk-JRDM64UU.js";
|
|
67
67
|
import {
|
|
68
68
|
cancelHumanFacingPendingMessages,
|
|
69
69
|
getConversation
|
|
70
|
-
} from "./chunk-
|
|
70
|
+
} from "./chunk-H5SVUUPE.js";
|
|
71
71
|
import {
|
|
72
72
|
readTaskExecutionByConversationId,
|
|
73
73
|
readTaskExecutionDays,
|
|
@@ -75,8 +75,8 @@ import {
|
|
|
75
75
|
readTaskExecutionSummaries,
|
|
76
76
|
readTaskExecutions,
|
|
77
77
|
readTaskRuns
|
|
78
|
-
} from "./chunk-
|
|
79
|
-
import "./chunk-
|
|
78
|
+
} from "./chunk-DBXTXY2Z.js";
|
|
79
|
+
import "./chunk-AJ6M3LLM.js";
|
|
80
80
|
import {
|
|
81
81
|
healthReportSchema,
|
|
82
82
|
pluginOperationalReportFeedSchema,
|
|
@@ -101,19 +101,19 @@ import {
|
|
|
101
101
|
listPublicScheduledTasksForTeams,
|
|
102
102
|
readLiveAttachment,
|
|
103
103
|
readStats
|
|
104
|
-
} from "./chunk-
|
|
104
|
+
} from "./chunk-WVDCJ26T.js";
|
|
105
105
|
import {
|
|
106
106
|
parseSlackThreadId
|
|
107
|
-
} from "./chunk-
|
|
107
|
+
} from "./chunk-2PWBS4JK.js";
|
|
108
108
|
import {
|
|
109
109
|
agentTurnUsageSchema,
|
|
110
110
|
fallbackShortTitle,
|
|
111
111
|
hasAgentTurnUsage,
|
|
112
112
|
renderJuniorNativeConversationEvent
|
|
113
|
-
} from "./chunk-
|
|
113
|
+
} from "./chunk-B2RBW7CX.js";
|
|
114
114
|
import {
|
|
115
115
|
getCachedSnapshot
|
|
116
|
-
} from "./chunk-
|
|
116
|
+
} from "./chunk-SZWILPFG.js";
|
|
117
117
|
import "./chunk-PDO5BLNM.js";
|
|
118
118
|
import {
|
|
119
119
|
SANDBOX_RUNTIME,
|
|
@@ -134,7 +134,7 @@ import {
|
|
|
134
134
|
updateWorkspace,
|
|
135
135
|
withSlackRetries,
|
|
136
136
|
workspaceRepoCheckoutPath
|
|
137
|
-
} from "./chunk-
|
|
137
|
+
} from "./chunk-TRG4RCTT.js";
|
|
138
138
|
import "./chunk-3Y47VMHV.js";
|
|
139
139
|
import {
|
|
140
140
|
decodeStoredConversationEvent,
|
|
@@ -143,25 +143,25 @@ import {
|
|
|
143
143
|
getSqlExecutor,
|
|
144
144
|
locationFromRow,
|
|
145
145
|
parseSessionSource
|
|
146
|
-
} from "./chunk-
|
|
146
|
+
} from "./chunk-MOVIDCPX.js";
|
|
147
147
|
import {
|
|
148
148
|
juniorConversationEvents,
|
|
149
149
|
juniorConversations,
|
|
150
150
|
juniorIdentities,
|
|
151
151
|
juniorUsers
|
|
152
|
-
} from "./chunk-
|
|
152
|
+
} from "./chunk-2KSPJ6EE.js";
|
|
153
153
|
import {
|
|
154
154
|
create,
|
|
155
155
|
hash
|
|
156
|
-
} from "./chunk-
|
|
157
|
-
import "./chunk-
|
|
158
|
-
import "./chunk-
|
|
156
|
+
} from "./chunk-KKY2R2QF.js";
|
|
157
|
+
import "./chunk-RHNT2FYF.js";
|
|
158
|
+
import "./chunk-LNV3NNDO.js";
|
|
159
159
|
import {
|
|
160
160
|
juniorDestinations
|
|
161
161
|
} from "./chunk-VFUK3X5B.js";
|
|
162
|
-
import "./chunk-
|
|
163
|
-
import "./chunk-
|
|
164
|
-
import "./chunk-
|
|
162
|
+
import "./chunk-HLEE6JNT.js";
|
|
163
|
+
import "./chunk-ESIS6NVJ.js";
|
|
164
|
+
import "./chunk-2XQ45FB2.js";
|
|
165
165
|
import "./chunk-CGA4ERJ5.js";
|
|
166
166
|
import {
|
|
167
167
|
parseSlackChannelId,
|
|
@@ -171,12 +171,12 @@ import {
|
|
|
171
171
|
import {
|
|
172
172
|
logException,
|
|
173
173
|
logWarn
|
|
174
|
-
} from "./chunk-
|
|
174
|
+
} from "./chunk-PLJ3UO67.js";
|
|
175
175
|
import "./chunk-6GWA276C.js";
|
|
176
176
|
import "./chunk-OOUNJNMR.js";
|
|
177
177
|
import "./chunk-H4HBKISO.js";
|
|
178
|
-
import "./chunk-
|
|
179
|
-
import "./chunk-
|
|
178
|
+
import "./chunk-LY6QWCJI.js";
|
|
179
|
+
import "./chunk-FLBOMXLS.js";
|
|
180
180
|
import "./chunk-MLKGABMK.js";
|
|
181
181
|
|
|
182
182
|
// src/api.ts
|
|
@@ -4079,7 +4079,7 @@ async function readPeoplePluginReports(args) {
|
|
|
4079
4079
|
source: "plugins"
|
|
4080
4080
|
});
|
|
4081
4081
|
}
|
|
4082
|
-
const { getPluginProfileReports } = await import("./agent-hooks-
|
|
4082
|
+
const { getPluginProfileReports } = await import("./agent-hooks-LQZFBXBK.js");
|
|
4083
4083
|
return pluginOperationalReportFeedSchema.parse({
|
|
4084
4084
|
generatedAt: new Date(nowMs).toISOString(),
|
|
4085
4085
|
reports: await getPluginProfileReports({
|
|
@@ -4798,7 +4798,7 @@ function readDescriptionText(home) {
|
|
|
4798
4798
|
}
|
|
4799
4799
|
}
|
|
4800
4800
|
async function readSkillReports() {
|
|
4801
|
-
const { discoverSkills } = await import("./skills-
|
|
4801
|
+
const { discoverSkills } = await import("./skills-5YY7QYV6.js");
|
|
4802
4802
|
const skills = await discoverSkills();
|
|
4803
4803
|
return skillReportsSchema.parse(
|
|
4804
4804
|
skills.map((skill) => ({
|
|
@@ -4808,7 +4808,7 @@ async function readSkillReports() {
|
|
|
4808
4808
|
);
|
|
4809
4809
|
}
|
|
4810
4810
|
async function readPlugins() {
|
|
4811
|
-
const { pluginCatalogRuntime } = await import("./catalog-runtime-
|
|
4811
|
+
const { pluginCatalogRuntime } = await import("./catalog-runtime-P3DBC3XM.js");
|
|
4812
4812
|
return pluginsSchema.parse(
|
|
4813
4813
|
pluginCatalogRuntime.getProviders().map((plugin) => ({
|
|
4814
4814
|
configKeys: plugin.manifest.configKeys ?? [],
|
|
@@ -4821,7 +4821,7 @@ async function readPlugins() {
|
|
|
4821
4821
|
async function readRuntimeInfoReport() {
|
|
4822
4822
|
const [{ homeDir }, { pluginCatalogRuntime }, plugins, skills] = await Promise.all([
|
|
4823
4823
|
import("./discovery-GUFTFBTL.js"),
|
|
4824
|
-
import("./catalog-runtime-
|
|
4824
|
+
import("./catalog-runtime-P3DBC3XM.js"),
|
|
4825
4825
|
readPlugins(),
|
|
4826
4826
|
readSkillReports()
|
|
4827
4827
|
]);
|
|
@@ -4837,7 +4837,7 @@ async function readRuntimeInfoReport() {
|
|
|
4837
4837
|
}
|
|
4838
4838
|
async function readPluginOperationalReportFeed() {
|
|
4839
4839
|
const nowMs = Date.now();
|
|
4840
|
-
const { getPluginOperationalReports } = await import("./agent-hooks-
|
|
4840
|
+
const { getPluginOperationalReports } = await import("./agent-hooks-LQZFBXBK.js");
|
|
4841
4841
|
return pluginOperationalReportFeedSchema.parse({
|
|
4842
4842
|
source: "plugins",
|
|
4843
4843
|
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-E7MUDWFH.js";
|
|
4
4
|
import {
|
|
5
5
|
bindSpawnAgent
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-73FXUNOB.js";
|
|
7
7
|
import {
|
|
8
8
|
createAgentInvocationWorker,
|
|
9
9
|
enqueueAgentInvocation,
|
|
10
10
|
listPendingAgentInvocationMailboxAppends,
|
|
11
11
|
routeAgentInvocationWork
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-FDA3E627.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-OJQTYDDD.js";
|
|
40
40
|
import "./chunk-FA6POGLH.js";
|
|
41
41
|
import {
|
|
42
42
|
getTurnRequestDeadline,
|
|
43
43
|
runWithTurnRequestDeadline
|
|
44
|
-
} from "./chunk-
|
|
44
|
+
} from "./chunk-QWPKRFG6.js";
|
|
45
45
|
import {
|
|
46
46
|
GET,
|
|
47
47
|
apiTurnIdForMessage,
|
|
@@ -58,8 +58,8 @@ import {
|
|
|
58
58
|
resolveSlackConversationContext,
|
|
59
59
|
routeApiTurnWork,
|
|
60
60
|
webActorFromEmail
|
|
61
|
-
} from "./chunk-
|
|
62
|
-
import "./chunk-
|
|
61
|
+
} from "./chunk-MNKXBIIA.js";
|
|
62
|
+
import "./chunk-JRDM64UU.js";
|
|
63
63
|
import {
|
|
64
64
|
CONVERSATION_WORK_STALE_ENQUEUE_MS,
|
|
65
65
|
appendAndEnqueueInboundMessage,
|
|
@@ -70,7 +70,7 @@ import {
|
|
|
70
70
|
isInvalidConversationRecordError,
|
|
71
71
|
listActiveConversationIds,
|
|
72
72
|
removeActiveConversation
|
|
73
|
-
} from "./chunk-
|
|
73
|
+
} from "./chunk-H5SVUUPE.js";
|
|
74
74
|
import {
|
|
75
75
|
buildDeliveredTurnStatePatch,
|
|
76
76
|
claimDispatchMailboxAppend,
|
|
@@ -100,7 +100,7 @@ import {
|
|
|
100
100
|
requireTurnFailureEventId,
|
|
101
101
|
resolveTurnSessionRouting,
|
|
102
102
|
scheduleSessionCompletedPluginTasks
|
|
103
|
-
} from "./chunk-
|
|
103
|
+
} from "./chunk-DBXTXY2Z.js";
|
|
104
104
|
import {
|
|
105
105
|
ConversationTurnLifecycleService,
|
|
106
106
|
coerceThreadConversationState,
|
|
@@ -110,7 +110,7 @@ import {
|
|
|
110
110
|
persistThreadRuntimeState,
|
|
111
111
|
persistThreadState,
|
|
112
112
|
persistThreadStateById
|
|
113
|
-
} from "./chunk-
|
|
113
|
+
} from "./chunk-AJ6M3LLM.js";
|
|
114
114
|
import "./chunk-UTL3MHPC.js";
|
|
115
115
|
import {
|
|
116
116
|
getVercelConversationWorkQueue,
|
|
@@ -129,7 +129,7 @@ import {
|
|
|
129
129
|
import {
|
|
130
130
|
validatePluginEgressCredentialHooks,
|
|
131
131
|
validatePluginRegistrations
|
|
132
|
-
} from "./chunk-
|
|
132
|
+
} from "./chunk-FIWDSKL2.js";
|
|
133
133
|
import {
|
|
134
134
|
defineJuniorPlugins,
|
|
135
135
|
pluginCatalogConfigFromEnv,
|
|
@@ -161,11 +161,11 @@ import {
|
|
|
161
161
|
shouldEmitDevAgentTrace,
|
|
162
162
|
shouldPropagateSandboxEgressTrace,
|
|
163
163
|
unpublishedArtifactHeaders
|
|
164
|
-
} from "./chunk-
|
|
164
|
+
} from "./chunk-V4SBMRZ3.js";
|
|
165
165
|
import {
|
|
166
166
|
AuthorizationFlowDisabledError,
|
|
167
167
|
PluginCredentialFailureError
|
|
168
|
-
} from "./chunk-
|
|
168
|
+
} from "./chunk-HXX3CSGJ.js";
|
|
169
169
|
import "./chunk-DIB4GX3G.js";
|
|
170
170
|
import {
|
|
171
171
|
createAgentRunner,
|
|
@@ -173,7 +173,7 @@ import {
|
|
|
173
173
|
deleteMcpAuthSessionsForUserProvider,
|
|
174
174
|
deleteMcpServerSessionId,
|
|
175
175
|
deleteMcpStoredOAuthCredentials
|
|
176
|
-
} from "./chunk-
|
|
176
|
+
} from "./chunk-YAB6CALP.js";
|
|
177
177
|
import {
|
|
178
178
|
RetryableDeliveryError
|
|
179
179
|
} from "./chunk-RF6J3DIO.js";
|
|
@@ -181,7 +181,7 @@ import {
|
|
|
181
181
|
formatProviderLabel,
|
|
182
182
|
postSlackMessage,
|
|
183
183
|
startOAuthFlow
|
|
184
|
-
} from "./chunk-
|
|
184
|
+
} from "./chunk-OOH45KJS.js";
|
|
185
185
|
import "./chunk-6ZWRNC4D.js";
|
|
186
186
|
import {
|
|
187
187
|
getExperimentalFeatures,
|
|
@@ -197,10 +197,10 @@ import {
|
|
|
197
197
|
requestAttachmentDeletion,
|
|
198
198
|
resourceEventGuidance,
|
|
199
199
|
scheduledTaskRunAttributes
|
|
200
|
-
} from "./chunk-
|
|
200
|
+
} from "./chunk-WVDCJ26T.js";
|
|
201
201
|
import {
|
|
202
202
|
parseSlackThreadId
|
|
203
|
-
} from "./chunk-
|
|
203
|
+
} from "./chunk-2PWBS4JK.js";
|
|
204
204
|
import {
|
|
205
205
|
ConversationTurnBoundaryError,
|
|
206
206
|
CooperativeTurnYieldError,
|
|
@@ -252,11 +252,11 @@ import {
|
|
|
252
252
|
trimTrailingAssistantMessages,
|
|
253
253
|
turnHasReply,
|
|
254
254
|
upsertConversationMessage
|
|
255
|
-
} from "./chunk-
|
|
255
|
+
} from "./chunk-B2RBW7CX.js";
|
|
256
256
|
import {
|
|
257
257
|
getSandboxResourceConfig,
|
|
258
258
|
setSandboxResourceConfig
|
|
259
|
-
} from "./chunk-
|
|
259
|
+
} from "./chunk-SZWILPFG.js";
|
|
260
260
|
import "./chunk-PDO5BLNM.js";
|
|
261
261
|
import "./chunk-UIE3R5XU.js";
|
|
262
262
|
import {
|
|
@@ -287,7 +287,7 @@ import {
|
|
|
287
287
|
verifyEventTaskCredentialSubject,
|
|
288
288
|
verifyScheduledTaskCredentialSubject,
|
|
289
289
|
verifySlackDirectCredentialSubject
|
|
290
|
-
} from "./chunk-
|
|
290
|
+
} from "./chunk-TRG4RCTT.js";
|
|
291
291
|
import "./chunk-3Y47VMHV.js";
|
|
292
292
|
import {
|
|
293
293
|
contextProvenance,
|
|
@@ -301,21 +301,21 @@ import {
|
|
|
301
301
|
requireSlackDestination,
|
|
302
302
|
withConversationEventLock,
|
|
303
303
|
withConversationMutationLock
|
|
304
|
-
} from "./chunk-
|
|
304
|
+
} from "./chunk-MOVIDCPX.js";
|
|
305
305
|
import {
|
|
306
306
|
juniorAgentBindings,
|
|
307
307
|
juniorAgentInvocations,
|
|
308
308
|
juniorConversationEvents,
|
|
309
309
|
juniorConversations
|
|
310
|
-
} from "./chunk-
|
|
310
|
+
} from "./chunk-2KSPJ6EE.js";
|
|
311
311
|
import {
|
|
312
312
|
sleep
|
|
313
|
-
} from "./chunk-
|
|
313
|
+
} from "./chunk-KKY2R2QF.js";
|
|
314
314
|
import {
|
|
315
315
|
acquireActiveLock,
|
|
316
316
|
getStateAdapter,
|
|
317
317
|
withActiveLock
|
|
318
|
-
} from "./chunk-
|
|
318
|
+
} from "./chunk-RHNT2FYF.js";
|
|
319
319
|
import {
|
|
320
320
|
STANDARD_MODEL_PROFILE,
|
|
321
321
|
botConfig,
|
|
@@ -333,16 +333,16 @@ import {
|
|
|
333
333
|
modelIdForProfile,
|
|
334
334
|
setSlackReactionConfig,
|
|
335
335
|
standardModelId
|
|
336
|
-
} from "./chunk-
|
|
336
|
+
} from "./chunk-LNV3NNDO.js";
|
|
337
337
|
import {
|
|
338
338
|
juniorDestinations
|
|
339
339
|
} from "./chunk-VFUK3X5B.js";
|
|
340
|
-
import "./chunk-
|
|
341
|
-
import "./chunk-
|
|
340
|
+
import "./chunk-HLEE6JNT.js";
|
|
341
|
+
import "./chunk-UZM72ORS.js";
|
|
342
342
|
import {
|
|
343
343
|
pluginCatalogRuntime
|
|
344
|
-
} from "./chunk-
|
|
345
|
-
import "./chunk-
|
|
344
|
+
} from "./chunk-ESIS6NVJ.js";
|
|
345
|
+
import "./chunk-2XQ45FB2.js";
|
|
346
346
|
import {
|
|
347
347
|
credentialContextForActor
|
|
348
348
|
} from "./chunk-CGA4ERJ5.js";
|
|
@@ -374,7 +374,7 @@ import {
|
|
|
374
374
|
withContext,
|
|
375
375
|
withLogContext,
|
|
376
376
|
withSpan
|
|
377
|
-
} from "./chunk-
|
|
377
|
+
} from "./chunk-PLJ3UO67.js";
|
|
378
378
|
import {
|
|
379
379
|
continueTrace
|
|
380
380
|
} from "./chunk-6GWA276C.js";
|
|
@@ -382,10 +382,10 @@ import "./chunk-OOUNJNMR.js";
|
|
|
382
382
|
import "./chunk-H4HBKISO.js";
|
|
383
383
|
import {
|
|
384
384
|
JUNIOR_PLUGIN_TASK_CALLBACK_ROUTE
|
|
385
|
-
} from "./chunk-
|
|
385
|
+
} from "./chunk-LY6QWCJI.js";
|
|
386
386
|
import {
|
|
387
387
|
JUNIOR_VERSION
|
|
388
|
-
} from "./chunk-
|
|
388
|
+
} from "./chunk-FLBOMXLS.js";
|
|
389
389
|
import "./chunk-MLKGABMK.js";
|
|
390
390
|
|
|
391
391
|
// src/app.ts
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
pluginCatalogRuntime
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-ESIS6NVJ.js";
|
|
4
|
+
import "./chunk-2XQ45FB2.js";
|
|
5
5
|
import "./chunk-CGA4ERJ5.js";
|
|
6
6
|
import "./chunk-M63DETLL.js";
|
|
7
|
-
import "./chunk-
|
|
7
|
+
import "./chunk-PLJ3UO67.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-LY6QWCJI.js";
|
|
12
|
+
import "./chunk-FLBOMXLS.js";
|
|
13
13
|
import "./chunk-MLKGABMK.js";
|
|
14
14
|
export {
|
|
15
15
|
pluginCatalogRuntime
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
persistConversationMessages
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-B2RBW7CX.js";
|
|
4
4
|
import {
|
|
5
5
|
JUNIOR_THREAD_STATE_TTL_MS
|
|
6
6
|
} from "./chunk-3Y47VMHV.js";
|
|
7
7
|
import {
|
|
8
8
|
getDb
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-MOVIDCPX.js";
|
|
10
10
|
import {
|
|
11
11
|
juniorLocationConfigurations
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-2KSPJ6EE.js";
|
|
13
13
|
import {
|
|
14
14
|
getStateAdapter
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-RHNT2FYF.js";
|
|
16
16
|
import {
|
|
17
17
|
juniorDestinations
|
|
18
18
|
} from "./chunk-VFUK3X5B.js";
|
|
@@ -20,7 +20,7 @@ import {
|
|
|
20
20
|
isRecord,
|
|
21
21
|
toOptionalNumber,
|
|
22
22
|
toOptionalString
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-PLJ3UO67.js";
|
|
24
24
|
|
|
25
25
|
// src/chat/conversations/turn-lifecycle.ts
|
|
26
26
|
var ConversationTurnLifecycleService = class {
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
} from "./chunk-PDO5BLNM.js";
|
|
4
4
|
import {
|
|
5
5
|
ToolInputError
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-TRG4RCTT.js";
|
|
7
7
|
import {
|
|
8
8
|
agentHistoryItemSchema,
|
|
9
9
|
bindProviderConversation,
|
|
@@ -16,25 +16,25 @@ import {
|
|
|
16
16
|
instructionProvenanceFor,
|
|
17
17
|
sanitizePostgresJson,
|
|
18
18
|
withConversationEventLock
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-MOVIDCPX.js";
|
|
20
20
|
import {
|
|
21
21
|
SANDBOX_REPOS_ROOT,
|
|
22
22
|
SANDBOX_WORKSPACE_ROOT,
|
|
23
23
|
sleep
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-KKY2R2QF.js";
|
|
25
25
|
import {
|
|
26
26
|
MUTATION_LOCK_TTL_MS,
|
|
27
27
|
fenceLock,
|
|
28
28
|
getStateAdapter,
|
|
29
29
|
withLock
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-RHNT2FYF.js";
|
|
31
31
|
import {
|
|
32
32
|
botConfig,
|
|
33
33
|
completeText,
|
|
34
34
|
escapeXml,
|
|
35
35
|
resolveGatewayModel,
|
|
36
36
|
unwrapCurrentInstruction
|
|
37
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-LNV3NNDO.js";
|
|
38
38
|
import {
|
|
39
39
|
parseSlackMessageTs,
|
|
40
40
|
toStoredSlackActor
|
|
@@ -44,7 +44,7 @@ import {
|
|
|
44
44
|
logException,
|
|
45
45
|
logWarn,
|
|
46
46
|
setSpanAttributes
|
|
47
|
-
} from "./chunk-
|
|
47
|
+
} from "./chunk-PLJ3UO67.js";
|
|
48
48
|
|
|
49
49
|
// src/chat/turn-context-tag.ts
|
|
50
50
|
var TURN_CONTEXT_TAG = "runtime-turn-context";
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
coerceThreadConversationState,
|
|
3
3
|
getPersistedThreadState,
|
|
4
4
|
persistThreadStateById
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-AJ6M3LLM.js";
|
|
6
6
|
import {
|
|
7
7
|
pluginTaskId,
|
|
8
8
|
pluginTaskParamsSchema,
|
|
@@ -22,7 +22,7 @@ import {
|
|
|
22
22
|
markTurnCompleted,
|
|
23
23
|
normalizeToolNameFromResult,
|
|
24
24
|
stripRuntimeTurnContext
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-B2RBW7CX.js";
|
|
26
26
|
import {
|
|
27
27
|
createPluginConversationEvents,
|
|
28
28
|
createPluginEmbedder,
|
|
@@ -30,7 +30,7 @@ import {
|
|
|
30
30
|
createPluginModel,
|
|
31
31
|
createPluginState,
|
|
32
32
|
getPlugins
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-TRG4RCTT.js";
|
|
34
34
|
import {
|
|
35
35
|
JUNIOR_THREAD_STATE_TTL_MS
|
|
36
36
|
} from "./chunk-3Y47VMHV.js";
|
|
@@ -38,20 +38,20 @@ import {
|
|
|
38
38
|
getConversationStore,
|
|
39
39
|
getDb,
|
|
40
40
|
sameActorIdentity
|
|
41
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-MOVIDCPX.js";
|
|
42
42
|
import {
|
|
43
43
|
juniorConversations,
|
|
44
44
|
juniorTaskExecutions
|
|
45
|
-
} from "./chunk-
|
|
45
|
+
} from "./chunk-2KSPJ6EE.js";
|
|
46
46
|
import {
|
|
47
47
|
getStateAdapter
|
|
48
|
-
} from "./chunk-
|
|
48
|
+
} from "./chunk-RHNT2FYF.js";
|
|
49
49
|
import {
|
|
50
50
|
ProviderError,
|
|
51
51
|
findProviderError,
|
|
52
52
|
getProviderErrorAttributes,
|
|
53
53
|
getProviderErrorUserMessage
|
|
54
|
-
} from "./chunk-
|
|
54
|
+
} from "./chunk-LNV3NNDO.js";
|
|
55
55
|
import {
|
|
56
56
|
credentialSubjectSchema
|
|
57
57
|
} from "./chunk-CGA4ERJ5.js";
|
|
@@ -61,7 +61,7 @@ import {
|
|
|
61
61
|
import {
|
|
62
62
|
buildTurnFailureResponse,
|
|
63
63
|
logWarn
|
|
64
|
-
} from "./chunk-
|
|
64
|
+
} from "./chunk-PLJ3UO67.js";
|
|
65
65
|
|
|
66
66
|
// src/chat/runtime/delivered-turn-state.ts
|
|
67
67
|
function buildDeliveredTurnStatePatch(args) {
|
|
@@ -87,7 +87,7 @@ import { pluginRunContextSchema } from "@sentry/junior-plugin-api";
|
|
|
87
87
|
|
|
88
88
|
// src/chat/services/turn-session-routing.ts
|
|
89
89
|
async function resolveTurnSessionRouting(args) {
|
|
90
|
-
const conversationStore = args.conversationStore ?? (await import("./db-
|
|
90
|
+
const conversationStore = args.conversationStore ?? (await import("./db-ATGRVFSI.js")).getConversationStore();
|
|
91
91
|
const conversation = await conversationStore.get({
|
|
92
92
|
conversationId: args.conversationId
|
|
93
93
|
});
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getTurnRequestDeadline
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-QWPKRFG6.js";
|
|
4
4
|
import {
|
|
5
5
|
CONVERSATION_WORK_CHECK_IN_INTERVAL_MS,
|
|
6
6
|
CONVERSATION_WORK_MAX_RETRIES,
|
|
@@ -21,20 +21,20 @@ import {
|
|
|
21
21
|
releaseConversationWork,
|
|
22
22
|
requestAnotherSlice,
|
|
23
23
|
startConversationWork
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-H5SVUUPE.js";
|
|
25
25
|
import {
|
|
26
26
|
ConversationQueueMessageRejectedError
|
|
27
27
|
} from "./chunk-JAL3CH4G.js";
|
|
28
28
|
import {
|
|
29
29
|
getChatConfig,
|
|
30
30
|
isProviderRetryError
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-LNV3NNDO.js";
|
|
32
32
|
import {
|
|
33
33
|
logException,
|
|
34
34
|
logInfo,
|
|
35
35
|
logWarn,
|
|
36
36
|
withLogContext
|
|
37
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-PLJ3UO67.js";
|
|
38
38
|
|
|
39
39
|
// src/chat/task-execution/worker.ts
|
|
40
40
|
var CONVERSATION_WORK_DEFER_DELAY_MS = 15e3;
|