@sentry/junior 0.170.0 → 0.171.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-IPUNCZPZ.js → agent-hooks-UXIRPATC.js} +15 -10
- package/dist/api.js +31 -30
- package/dist/app.js +32 -32
- package/dist/{catalog-runtime-E6XHWRPG.js → catalog-runtime-PQCGQUXA.js} +5 -5
- package/dist/chat/sandbox/snapshot/store.d.ts +28 -0
- package/dist/chat/workspaces/store.d.ts +1 -10
- package/dist/chat/workspaces/types.d.ts +14 -1
- package/dist/{chunk-B53NR3XY.js → chunk-2AYWP7PZ.js} +6 -270
- package/dist/{chunk-3SFZJVX5.js → chunk-3AX2WCFV.js} +2 -2
- package/dist/{chunk-T4SEUU7A.js → chunk-4TKPTFSO.js} +1 -1
- package/dist/{chunk-6W2UIZSA.js → chunk-5GF7HQOP.js} +70 -11
- package/dist/{chunk-KQCHIOME.js → chunk-5ML752HJ.js} +8 -8
- package/dist/{chunk-UD4BNNM2.js → chunk-5TZ2DKVU.js} +1 -1
- package/dist/{chunk-F3I6YFB4.js → chunk-62WK6FLT.js} +182 -68
- package/dist/{chunk-5EPG7PYS.js → chunk-6RRTVWAD.js} +1 -1
- package/dist/{chunk-YWX7D7BJ.js → chunk-AOAOBZJQ.js} +17 -17
- package/dist/chunk-CVHKLS7B.js +399 -0
- package/dist/{chunk-6GOKKLWF.js → chunk-CWTWZKWH.js} +6 -6
- package/dist/{chunk-NGL4XFT2.js → chunk-FI5A2RF6.js} +1 -1
- package/dist/{chunk-IX7VHMIJ.js → chunk-HKWEMKK4.js} +3 -3
- package/dist/{chunk-UHW5RAIB.js → chunk-HWXXFINO.js} +12 -12
- package/dist/{chunk-2XI6OLXA.js → chunk-IZSMYLCS.js} +9 -9
- package/dist/{chunk-47GJ7QRO.js → chunk-JNYIJHFF.js} +1 -1
- package/dist/{chunk-A22DGDXT.js → chunk-KUYIW4BD.js} +1 -1
- package/dist/{chunk-NFERKIUX.js → chunk-M5QJJMFK.js} +4 -4
- package/dist/{chunk-NESGW5HV.js → chunk-MFFU45QO.js} +1 -1
- package/dist/{chunk-TX553KXA.js → chunk-O2SUZKWU.js} +5 -5
- package/dist/{chunk-IF3OK4XO.js → chunk-POF7HORW.js} +6 -6
- package/dist/{chunk-FKOLWEMX.js → chunk-QHBHUCDS.js} +5 -5
- package/dist/{chunk-6E4WQV75.js → chunk-SIOO3CCL.js} +1 -1
- package/dist/{chunk-E7HKIHI5.js → chunk-UC35XHGT.js} +2 -2
- package/dist/{chunk-CA6JIB7S.js → chunk-UTG3IY2C.js} +21 -21
- package/dist/{chunk-IJTFG6AK.js → chunk-VGWC4KG2.js} +5 -9
- package/dist/{chunk-BW644E3V.js → chunk-WCWPRFHZ.js} +1 -1
- package/dist/{chunk-HZALSYOW.js → chunk-WIUGVE66.js} +5 -5
- package/dist/{chunk-4PSUCN4P.js → chunk-XHBYNJNZ.js} +1 -1
- package/dist/{chunk-7TVGQZOH.js → chunk-Y5RRKS67.js} +4 -4
- package/dist/{chunk-F4UM52UH.js → chunk-Y6DW6AVG.js} +1 -1
- package/dist/{chunk-74XMBKRI.js → chunk-YURMXTZF.js} +1 -1
- 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 +12 -11
- package/dist/cli/upgrade.js +7 -7
- package/dist/db/schema/snapshots.d.ts +254 -0
- package/dist/db/schema/workspaces.d.ts +0 -68
- package/dist/db/schema.d.ts +251 -69
- package/dist/{db-WMSEGSFM.js → db-EHCO5WGL.js} +7 -7
- package/dist/instrumentation.js +4 -4
- package/dist/nitro.js +2 -2
- package/dist/{oauth-callback-server-GBS47NTO.js → oauth-callback-server-O7CH6FOJ.js} +23 -23
- package/dist/{runner-V2A2Z7K3.js → runner-3D5AGGUD.js} +17 -13
- package/dist/{skills-Z35YXLUG.js → skills-6IW3DDW2.js} +6 -6
- package/dist/spawn-5LKOLABU.js +37 -0
- package/dist/{validation-EQCK4DA5.js → validation-RCLP4EU4.js} +6 -6
- package/dist/version.js +1 -1
- package/dist/{work-XIANCABO.js → work-L54N7O65.js} +18 -18
- package/dist/worker-VJCSXI5L.js +24 -0
- package/migrations/0032_workspace_snapshots_table.sql +69 -0
- package/migrations/meta/0032_snapshot.json +2892 -0
- package/migrations/meta/_journal.json +8 -1
- package/package.json +5 -5
- package/dist/chunk-BVREIWBD.js +0 -131
- package/dist/spawn-AKPJBUS2.js +0 -37
- package/dist/worker-YALLEN2Z.js +0 -24
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
persistConversationMessages
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-WIUGVE66.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-HKWEMKK4.js";
|
|
10
10
|
import {
|
|
11
11
|
juniorLocationConfigurations
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-5GF7HQOP.js";
|
|
13
13
|
import {
|
|
14
14
|
getStateAdapter
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-YURMXTZF.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-6RRTVWAD.js";
|
|
24
24
|
|
|
25
25
|
// src/chat/conversations/turn-lifecycle.ts
|
|
26
26
|
var ConversationTurnLifecycleService = class {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
appendAndEnqueueInboundMessage
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-Y5RRKS67.js";
|
|
4
4
|
import {
|
|
5
5
|
ConversationTurnLifecycleService,
|
|
6
6
|
getPersistedSandboxState,
|
|
7
7
|
getPersistedThreadState,
|
|
8
8
|
persistThreadStateById
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-O2SUZKWU.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-QHBHUCDS.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-WIUGVE66.js";
|
|
30
30
|
import {
|
|
31
31
|
getConversationEventStore,
|
|
32
32
|
getConversationStore,
|
|
33
33
|
getSqlExecutor
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-HKWEMKK4.js";
|
|
35
35
|
import {
|
|
36
36
|
juniorAgentBindings,
|
|
37
37
|
juniorAgentInvocations
|
|
38
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-5GF7HQOP.js";
|
|
39
39
|
|
|
40
40
|
// src/chat/agent-invocations/work.ts
|
|
41
41
|
import { z } from "zod";
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
import {
|
|
5
5
|
formatProviderLabel,
|
|
6
6
|
startOAuthFlow
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-CWTWZKWH.js";
|
|
8
8
|
import {
|
|
9
9
|
parseSandboxEgressAuthRequiredSignal
|
|
10
10
|
} from "./chunk-6ZWRNC4D.js";
|
|
@@ -12,16 +12,16 @@ import {
|
|
|
12
12
|
abandonReplacedPendingAuth,
|
|
13
13
|
canReusePendingAuthLink,
|
|
14
14
|
recordAuthorizationRequested
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-WIUGVE66.js";
|
|
16
16
|
import {
|
|
17
17
|
AGENT_INVOCATION_MAILBOX_STATUSES
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-5GF7HQOP.js";
|
|
19
19
|
import {
|
|
20
20
|
TURN_REASONING_LEVELS
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-UC35XHGT.js";
|
|
22
22
|
import {
|
|
23
23
|
pluginCatalogRuntime
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-SIOO3CCL.js";
|
|
25
25
|
import {
|
|
26
26
|
credentialContextSchema
|
|
27
27
|
} from "./chunk-CGA4ERJ5.js";
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
toCanonicalInputMessage,
|
|
4
4
|
toCanonicalOutputMessage,
|
|
5
5
|
toGenAiMessagesTraceAttributes
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-FI5A2RF6.js";
|
|
7
7
|
import {
|
|
8
8
|
extractGenAiUsageAttributes,
|
|
9
9
|
logException,
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
normalizeGenAiFinishReason,
|
|
12
12
|
serializeGenAiAttribute,
|
|
13
13
|
withSpan
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-6RRTVWAD.js";
|
|
15
15
|
|
|
16
16
|
// src/chat/services/provider-error.ts
|
|
17
17
|
var ProviderError = class extends Error {
|
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
PluginCredentialFailureError,
|
|
8
8
|
agentNameSchema,
|
|
9
9
|
createPluginAuthOrchestration
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-QHBHUCDS.js";
|
|
11
11
|
import {
|
|
12
12
|
authorizationId
|
|
13
13
|
} from "./chunk-DIB4GX3G.js";
|
|
@@ -32,7 +32,7 @@ import {
|
|
|
32
32
|
searchSlackUsers,
|
|
33
33
|
selectPluginGrant,
|
|
34
34
|
toMcpProviderError
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-5ML752HJ.js";
|
|
36
36
|
import {
|
|
37
37
|
RetryableDeliveryError,
|
|
38
38
|
actorFromRun,
|
|
@@ -48,7 +48,7 @@ import {
|
|
|
48
48
|
getSlackMessagePermalink,
|
|
49
49
|
resolveBaseUrl,
|
|
50
50
|
uploadFilesToConversation
|
|
51
|
-
} from "./chunk-
|
|
51
|
+
} from "./chunk-CWTWZKWH.js";
|
|
52
52
|
import {
|
|
53
53
|
parseSandboxEgressAuthRequiredSignal,
|
|
54
54
|
parseSandboxEgressPermissionDeniedSignal,
|
|
@@ -56,7 +56,6 @@ import {
|
|
|
56
56
|
sandboxEgressCredentialLeaseSchema
|
|
57
57
|
} from "./chunk-6ZWRNC4D.js";
|
|
58
58
|
import {
|
|
59
|
-
SANDBOX_RUNTIME,
|
|
60
59
|
SCHEDULED_TASK_SYSTEM_ACTOR,
|
|
61
60
|
compactEventTask,
|
|
62
61
|
createEventTask,
|
|
@@ -88,10 +87,10 @@ import {
|
|
|
88
87
|
scheduledTaskAttributes,
|
|
89
88
|
storeAttachments,
|
|
90
89
|
writableEventTask
|
|
91
|
-
} from "./chunk-
|
|
90
|
+
} from "./chunk-VGWC4KG2.js";
|
|
92
91
|
import {
|
|
93
92
|
parseSlackThreadId
|
|
94
|
-
} from "./chunk-
|
|
93
|
+
} from "./chunk-XHBYNJNZ.js";
|
|
95
94
|
import {
|
|
96
95
|
AGENTS_REMOVAL_NOTICE,
|
|
97
96
|
AGENTS_REPLACEMENT_NOTICE,
|
|
@@ -162,17 +161,15 @@ import {
|
|
|
162
161
|
stripRuntimeTurnContext,
|
|
163
162
|
trimTrailingAssistantMessages,
|
|
164
163
|
truncateText
|
|
165
|
-
} from "./chunk-
|
|
164
|
+
} from "./chunk-WIUGVE66.js";
|
|
166
165
|
import {
|
|
167
166
|
JUNIOR_THREAD_STATE_TTL_MS
|
|
168
167
|
} from "./chunk-3Y47VMHV.js";
|
|
169
168
|
import {
|
|
170
169
|
bindSandboxFileSystem,
|
|
171
170
|
createSandboxSession,
|
|
172
|
-
ensureDockerDaemon,
|
|
173
171
|
getSandboxResources,
|
|
174
172
|
getVercelSandboxCredentials,
|
|
175
|
-
hash,
|
|
176
173
|
isAlreadyExistsError,
|
|
177
174
|
isMissingError,
|
|
178
175
|
isSandboxCommandStreamInterruptedError,
|
|
@@ -183,11 +180,12 @@ import {
|
|
|
183
180
|
stopSession,
|
|
184
181
|
throwSandboxOperationError,
|
|
185
182
|
wrapSandboxSetupError
|
|
186
|
-
} from "./chunk-
|
|
183
|
+
} from "./chunk-2AYWP7PZ.js";
|
|
187
184
|
import {
|
|
188
185
|
privateTraceResultAttributes
|
|
189
186
|
} from "./chunk-UIE3R5XU.js";
|
|
190
187
|
import {
|
|
188
|
+
SANDBOX_RUNTIME,
|
|
191
189
|
SlackActionError,
|
|
192
190
|
WorkspaceValidationError,
|
|
193
191
|
createPluginHookRunner,
|
|
@@ -214,7 +212,7 @@ import {
|
|
|
214
212
|
updateWorkspace,
|
|
215
213
|
withSlackRetries,
|
|
216
214
|
workspaceRepoCheckoutPath
|
|
217
|
-
} from "./chunk-
|
|
215
|
+
} from "./chunk-62WK6FLT.js";
|
|
218
216
|
import {
|
|
219
217
|
KNOWN_CONVERSATION_EVENT_TYPES,
|
|
220
218
|
contextProvenance,
|
|
@@ -226,11 +224,11 @@ import {
|
|
|
226
224
|
instructionActors,
|
|
227
225
|
instructionProvenanceFor,
|
|
228
226
|
sameActorIdentity
|
|
229
|
-
} from "./chunk-
|
|
227
|
+
} from "./chunk-HKWEMKK4.js";
|
|
230
228
|
import {
|
|
231
229
|
juniorArtifacts,
|
|
232
230
|
juniorIdentities
|
|
233
|
-
} from "./chunk-
|
|
231
|
+
} from "./chunk-5GF7HQOP.js";
|
|
234
232
|
import {
|
|
235
233
|
SANDBOX_DATA_ROOT,
|
|
236
234
|
SANDBOX_REPOS_ROOT,
|
|
@@ -238,15 +236,17 @@ import {
|
|
|
238
236
|
SANDBOX_WORKSPACE_ROOT,
|
|
239
237
|
buildCommandScript,
|
|
240
238
|
buildNonInteractiveShellScript,
|
|
239
|
+
ensureDockerDaemon,
|
|
240
|
+
hash,
|
|
241
241
|
runNonInteractiveCommand,
|
|
242
242
|
sandboxSkillDir,
|
|
243
243
|
sandboxSkillFile,
|
|
244
244
|
sandboxSkillPathResolution,
|
|
245
245
|
sleep
|
|
246
|
-
} from "./chunk-
|
|
246
|
+
} from "./chunk-CVHKLS7B.js";
|
|
247
247
|
import {
|
|
248
248
|
getStateAdapter
|
|
249
|
-
} from "./chunk-
|
|
249
|
+
} from "./chunk-YURMXTZF.js";
|
|
250
250
|
import {
|
|
251
251
|
ACTIVE_TURN_COMPACTION_SUMMARY_PREFIX,
|
|
252
252
|
COMPACTION_SUMMARY_PREFIX,
|
|
@@ -279,7 +279,7 @@ import {
|
|
|
279
279
|
resolveGatewayCredential,
|
|
280
280
|
resolveGatewayModel,
|
|
281
281
|
unwrapCurrentInstruction
|
|
282
|
-
} from "./chunk-
|
|
282
|
+
} from "./chunk-UC35XHGT.js";
|
|
283
283
|
import {
|
|
284
284
|
canExposeConversationPayload,
|
|
285
285
|
resolveConversationPrivacy,
|
|
@@ -289,16 +289,16 @@ import {
|
|
|
289
289
|
toGenAiMessagesTraceAttributes,
|
|
290
290
|
toGenAiPayloadMetadata,
|
|
291
291
|
toGenAiPayloadTraceAttributes
|
|
292
|
-
} from "./chunk-
|
|
292
|
+
} from "./chunk-FI5A2RF6.js";
|
|
293
293
|
import {
|
|
294
294
|
discoverSkills,
|
|
295
295
|
findSkillByName,
|
|
296
296
|
loadSkillsByName,
|
|
297
297
|
parseSkillInvocation
|
|
298
|
-
} from "./chunk-
|
|
298
|
+
} from "./chunk-3AX2WCFV.js";
|
|
299
299
|
import {
|
|
300
300
|
pluginCatalogRuntime
|
|
301
|
-
} from "./chunk-
|
|
301
|
+
} from "./chunk-SIOO3CCL.js";
|
|
302
302
|
import {
|
|
303
303
|
CredentialUnavailableError,
|
|
304
304
|
OAuthProviderError,
|
|
@@ -306,7 +306,7 @@ import {
|
|
|
306
306
|
getOAuthProviderErrorAttributes,
|
|
307
307
|
resolveAuthTokenPlaceholder,
|
|
308
308
|
resolvePluginCommandEnv
|
|
309
|
-
} from "./chunk-
|
|
309
|
+
} from "./chunk-KUYIW4BD.js";
|
|
310
310
|
import {
|
|
311
311
|
credentialUserSubjectId
|
|
312
312
|
} from "./chunk-CGA4ERJ5.js";
|
|
@@ -336,7 +336,7 @@ import {
|
|
|
336
336
|
summarizeMessageText,
|
|
337
337
|
withLogContext,
|
|
338
338
|
withSpan
|
|
339
|
-
} from "./chunk-
|
|
339
|
+
} from "./chunk-6RRTVWAD.js";
|
|
340
340
|
import {
|
|
341
341
|
startInactiveSpan,
|
|
342
342
|
withActiveSpan
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ToolInputError
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-WIUGVE66.js";
|
|
4
4
|
import {
|
|
5
5
|
canRouteResourceEvents,
|
|
6
6
|
getPlugins
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-62WK6FLT.js";
|
|
8
8
|
import {
|
|
9
9
|
getDb
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-HKWEMKK4.js";
|
|
11
11
|
import {
|
|
12
12
|
juniorAttachments,
|
|
13
13
|
juniorConversations,
|
|
@@ -15,16 +15,13 @@ import {
|
|
|
15
15
|
juniorSchedulerRuns,
|
|
16
16
|
juniorSchedulerTasks,
|
|
17
17
|
juniorStats
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-5GF7HQOP.js";
|
|
19
19
|
import {
|
|
20
20
|
juniorDestinations
|
|
21
21
|
} from "./chunk-VFUK3X5B.js";
|
|
22
22
|
import {
|
|
23
23
|
logInfo
|
|
24
|
-
} from "./chunk-
|
|
25
|
-
|
|
26
|
-
// src/chat/sandbox/snapshot/runtime.ts
|
|
27
|
-
var SANDBOX_RUNTIME = "node22";
|
|
24
|
+
} from "./chunk-6RRTVWAD.js";
|
|
28
25
|
|
|
29
26
|
// src/chat/event-tasks/store.ts
|
|
30
27
|
import { and, asc, desc, eq, inArray, or, sql } from "drizzle-orm";
|
|
@@ -1902,7 +1899,6 @@ export {
|
|
|
1902
1899
|
juniorToolOutputSchema,
|
|
1903
1900
|
injectContinuationToolName,
|
|
1904
1901
|
makeStructuredToolOutput,
|
|
1905
|
-
SANDBOX_RUNTIME,
|
|
1906
1902
|
eventNamespaceSchema,
|
|
1907
1903
|
registeredEventTypeSchema,
|
|
1908
1904
|
registeredResourceTypeSchema,
|
|
@@ -13,25 +13,25 @@ import {
|
|
|
13
13
|
instructionProvenanceFor,
|
|
14
14
|
sanitizePostgresJson,
|
|
15
15
|
withConversationEventLock
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-HKWEMKK4.js";
|
|
17
17
|
import {
|
|
18
18
|
SANDBOX_REPOS_ROOT,
|
|
19
19
|
SANDBOX_WORKSPACE_ROOT,
|
|
20
20
|
sleep
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-CVHKLS7B.js";
|
|
22
22
|
import {
|
|
23
23
|
MUTATION_LOCK_TTL_MS,
|
|
24
24
|
fenceLock,
|
|
25
25
|
getStateAdapter,
|
|
26
26
|
withLock
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-YURMXTZF.js";
|
|
28
28
|
import {
|
|
29
29
|
botConfig,
|
|
30
30
|
completeText,
|
|
31
31
|
escapeXml,
|
|
32
32
|
resolveGatewayModel,
|
|
33
33
|
unwrapCurrentInstruction
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-UC35XHGT.js";
|
|
35
35
|
import {
|
|
36
36
|
parseSlackMessageTs,
|
|
37
37
|
toStoredSlackActor
|
|
@@ -41,7 +41,7 @@ import {
|
|
|
41
41
|
logException,
|
|
42
42
|
logWarn,
|
|
43
43
|
setSpanAttributes
|
|
44
|
-
} from "./chunk-
|
|
44
|
+
} from "./chunk-6RRTVWAD.js";
|
|
45
45
|
|
|
46
46
|
// src/chat/turn-context-tag.ts
|
|
47
47
|
var TURN_CONTEXT_TAG = "runtime-turn-context";
|
|
@@ -8,14 +8,14 @@ import {
|
|
|
8
8
|
getConversationStore,
|
|
9
9
|
parseDestination,
|
|
10
10
|
sameDestination
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-HKWEMKK4.js";
|
|
12
12
|
import {
|
|
13
13
|
getDefaultRedisStateAdapterFor,
|
|
14
14
|
getStateAdapter
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-YURMXTZF.js";
|
|
16
16
|
import {
|
|
17
17
|
getChatConfig
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-UC35XHGT.js";
|
|
19
19
|
import {
|
|
20
20
|
parseStoredSlackActor
|
|
21
21
|
} from "./chunk-M63DETLL.js";
|
|
@@ -23,7 +23,7 @@ import {
|
|
|
23
23
|
isRecord,
|
|
24
24
|
toOptionalNumber,
|
|
25
25
|
toOptionalString
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-6RRTVWAD.js";
|
|
27
27
|
|
|
28
28
|
// src/chat/task-execution/state.ts
|
|
29
29
|
import { randomUUID } from "crypto";
|
package/dist/cli/chat.js
CHANGED
|
@@ -1,44 +1,44 @@
|
|
|
1
1
|
import {
|
|
2
2
|
executeAgentRun
|
|
3
|
-
} from "../chunk-
|
|
4
|
-
import "../chunk-
|
|
3
|
+
} from "../chunk-UTG3IY2C.js";
|
|
4
|
+
import "../chunk-QHBHUCDS.js";
|
|
5
5
|
import "../chunk-DIB4GX3G.js";
|
|
6
6
|
import {
|
|
7
7
|
createAgentRunner
|
|
8
|
-
} from "../chunk-
|
|
8
|
+
} from "../chunk-5ML752HJ.js";
|
|
9
9
|
import "../chunk-RF6J3DIO.js";
|
|
10
|
-
import "../chunk-
|
|
10
|
+
import "../chunk-CWTWZKWH.js";
|
|
11
11
|
import "../chunk-6ZWRNC4D.js";
|
|
12
12
|
import "../chunk-VRS6WDK5.js";
|
|
13
|
-
import "../chunk-
|
|
14
|
-
import "../chunk-
|
|
15
|
-
import "../chunk-
|
|
13
|
+
import "../chunk-VGWC4KG2.js";
|
|
14
|
+
import "../chunk-XHBYNJNZ.js";
|
|
15
|
+
import "../chunk-WIUGVE66.js";
|
|
16
16
|
import "../chunk-3Y47VMHV.js";
|
|
17
|
-
import "../chunk-
|
|
17
|
+
import "../chunk-2AYWP7PZ.js";
|
|
18
18
|
import "../chunk-PDO5BLNM.js";
|
|
19
19
|
import "../chunk-UIE3R5XU.js";
|
|
20
20
|
import {
|
|
21
21
|
loadAppPluginSet
|
|
22
22
|
} from "../chunk-Y2CM7HXH.js";
|
|
23
|
-
import "../chunk-
|
|
24
|
-
import "../chunk-
|
|
25
|
-
import "../chunk-
|
|
26
|
-
import "../chunk-
|
|
27
|
-
import "../chunk-
|
|
28
|
-
import "../chunk-
|
|
23
|
+
import "../chunk-62WK6FLT.js";
|
|
24
|
+
import "../chunk-HKWEMKK4.js";
|
|
25
|
+
import "../chunk-5GF7HQOP.js";
|
|
26
|
+
import "../chunk-CVHKLS7B.js";
|
|
27
|
+
import "../chunk-YURMXTZF.js";
|
|
28
|
+
import "../chunk-UC35XHGT.js";
|
|
29
29
|
import "../chunk-VFUK3X5B.js";
|
|
30
|
-
import "../chunk-
|
|
31
|
-
import "../chunk-
|
|
32
|
-
import "../chunk-
|
|
33
|
-
import "../chunk-
|
|
30
|
+
import "../chunk-FI5A2RF6.js";
|
|
31
|
+
import "../chunk-3AX2WCFV.js";
|
|
32
|
+
import "../chunk-SIOO3CCL.js";
|
|
33
|
+
import "../chunk-KUYIW4BD.js";
|
|
34
34
|
import "../chunk-CGA4ERJ5.js";
|
|
35
35
|
import "../chunk-M63DETLL.js";
|
|
36
|
-
import "../chunk-
|
|
36
|
+
import "../chunk-6RRTVWAD.js";
|
|
37
37
|
import "../chunk-6GWA276C.js";
|
|
38
38
|
import "../chunk-OOUNJNMR.js";
|
|
39
39
|
import "../chunk-H4HBKISO.js";
|
|
40
|
-
import "../chunk-
|
|
41
|
-
import "../chunk-
|
|
40
|
+
import "../chunk-WCWPRFHZ.js";
|
|
41
|
+
import "../chunk-Y6DW6AVG.js";
|
|
42
42
|
import "../chunk-MLKGABMK.js";
|
|
43
43
|
|
|
44
44
|
// src/cli/chat.ts
|
|
@@ -161,10 +161,10 @@ async function configureLocalChatPlugins(pluginSet) {
|
|
|
161
161
|
databaseModule
|
|
162
162
|
] = await Promise.all([
|
|
163
163
|
import("../plugins-HW4VWW6G.js"),
|
|
164
|
-
import("../agent-hooks-
|
|
165
|
-
import("../catalog-runtime-
|
|
166
|
-
import("../validation-
|
|
167
|
-
import("../db-
|
|
164
|
+
import("../agent-hooks-UXIRPATC.js"),
|
|
165
|
+
import("../catalog-runtime-PQCGQUXA.js"),
|
|
166
|
+
import("../validation-RCLP4EU4.js"),
|
|
167
|
+
import("../db-EHCO5WGL.js")
|
|
168
168
|
]);
|
|
169
169
|
const resolvedPluginSet = pluginSet === void 0 ? await loadLocalPluginSet() : pluginSet ?? void 0;
|
|
170
170
|
const plugins = pluginsModule.pluginRuntimeRegistrationsFromPluginSet(resolvedPluginSet);
|
|
@@ -230,14 +230,14 @@ async function prepareLocalChatRun(io, pluginSet) {
|
|
|
230
230
|
await configureLocalChatPlugins(pluginSet);
|
|
231
231
|
const { setExperimentalFeatures } = await import("../experimental-XVDOSRBS.js");
|
|
232
232
|
setExperimentalFeatures({ subagents: true });
|
|
233
|
-
const { runLocalAgentTurn } = await import("../runner-
|
|
234
|
-
const { startLocalOAuthCallbackServer } = await import("../oauth-callback-server-
|
|
233
|
+
const { runLocalAgentTurn } = await import("../runner-3D5AGGUD.js");
|
|
234
|
+
const { startLocalOAuthCallbackServer } = await import("../oauth-callback-server-O7CH6FOJ.js");
|
|
235
235
|
const { createLocalOAuthState } = await import("../oauth-relay-3ZU72UGL.js");
|
|
236
236
|
const { createLocalSandboxEgressSignalTransport } = await import("../sandbox-egress-signals-DXOOBSBI.js");
|
|
237
|
-
const { bindSpawnAgent } = await import("../spawn-
|
|
238
|
-
const { createAgentInvocationWorker, routeAgentInvocationWork } = await import("../work-
|
|
237
|
+
const { bindSpawnAgent } = await import("../spawn-5LKOLABU.js");
|
|
238
|
+
const { createAgentInvocationWorker, routeAgentInvocationWork } = await import("../work-L54N7O65.js");
|
|
239
239
|
const { createLocalConversationWork } = await import("../conversation-work-KATFHLG3.js");
|
|
240
|
-
const { processConversationWork } = await import("../worker-
|
|
240
|
+
const { processConversationWork } = await import("../worker-VJCSXI5L.js");
|
|
241
241
|
let agentRunner;
|
|
242
242
|
const localConversationWork = createLocalConversationWork(async (message) => {
|
|
243
243
|
if (!agentRunner) {
|
package/dist/cli/check.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
parseSkillFile
|
|
3
|
-
} from "../chunk-
|
|
4
|
-
import "../chunk-
|
|
3
|
+
} from "../chunk-3AX2WCFV.js";
|
|
4
|
+
import "../chunk-SIOO3CCL.js";
|
|
5
5
|
import {
|
|
6
6
|
parseInlinePluginManifest,
|
|
7
7
|
parsePluginManifest
|
|
8
|
-
} from "../chunk-
|
|
8
|
+
} from "../chunk-KUYIW4BD.js";
|
|
9
9
|
import "../chunk-CGA4ERJ5.js";
|
|
10
10
|
import "../chunk-M63DETLL.js";
|
|
11
|
-
import "../chunk-
|
|
11
|
+
import "../chunk-6RRTVWAD.js";
|
|
12
12
|
import "../chunk-6GWA276C.js";
|
|
13
13
|
import "../chunk-OOUNJNMR.js";
|
|
14
14
|
import "../chunk-H4HBKISO.js";
|
|
@@ -16,8 +16,8 @@ import {
|
|
|
16
16
|
JUNIOR_CONVERSATION_WORK_CALLBACK_ROUTE,
|
|
17
17
|
JUNIOR_HEARTBEAT_ROUTE,
|
|
18
18
|
LEGACY_JUNIOR_CONVERSATION_WORK_FUNCTION
|
|
19
|
-
} from "../chunk-
|
|
20
|
-
import "../chunk-
|
|
19
|
+
} from "../chunk-WCWPRFHZ.js";
|
|
20
|
+
import "../chunk-Y6DW6AVG.js";
|
|
21
21
|
import "../chunk-MLKGABMK.js";
|
|
22
22
|
|
|
23
23
|
// src/cli/check.ts
|
package/dist/cli/plugins.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
validatePluginEgressCredentialHooks,
|
|
3
3
|
validatePluginRegistrations
|
|
4
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-JNYIJHFF.js";
|
|
5
5
|
import {
|
|
6
6
|
pluginCatalogConfigFromPluginSet,
|
|
7
7
|
pluginCliRegistrationsFromPluginSet,
|
|
@@ -14,28 +14,28 @@ import {
|
|
|
14
14
|
createPluginLogger,
|
|
15
15
|
setPlugins,
|
|
16
16
|
validatePlugins
|
|
17
|
-
} from "../chunk-
|
|
17
|
+
} from "../chunk-62WK6FLT.js";
|
|
18
18
|
import {
|
|
19
19
|
getDb
|
|
20
|
-
} from "../chunk-
|
|
21
|
-
import "../chunk-
|
|
22
|
-
import "../chunk-
|
|
23
|
-
import "../chunk-
|
|
24
|
-
import "../chunk-
|
|
20
|
+
} from "../chunk-HKWEMKK4.js";
|
|
21
|
+
import "../chunk-5GF7HQOP.js";
|
|
22
|
+
import "../chunk-CVHKLS7B.js";
|
|
23
|
+
import "../chunk-YURMXTZF.js";
|
|
24
|
+
import "../chunk-UC35XHGT.js";
|
|
25
25
|
import "../chunk-VFUK3X5B.js";
|
|
26
|
-
import "../chunk-
|
|
26
|
+
import "../chunk-FI5A2RF6.js";
|
|
27
27
|
import {
|
|
28
28
|
pluginCatalogRuntime
|
|
29
|
-
} from "../chunk-
|
|
30
|
-
import "../chunk-
|
|
29
|
+
} from "../chunk-SIOO3CCL.js";
|
|
30
|
+
import "../chunk-KUYIW4BD.js";
|
|
31
31
|
import "../chunk-CGA4ERJ5.js";
|
|
32
32
|
import "../chunk-M63DETLL.js";
|
|
33
|
-
import "../chunk-
|
|
33
|
+
import "../chunk-6RRTVWAD.js";
|
|
34
34
|
import "../chunk-6GWA276C.js";
|
|
35
35
|
import "../chunk-OOUNJNMR.js";
|
|
36
36
|
import "../chunk-H4HBKISO.js";
|
|
37
|
-
import "../chunk-
|
|
38
|
-
import "../chunk-
|
|
37
|
+
import "../chunk-WCWPRFHZ.js";
|
|
38
|
+
import "../chunk-Y6DW6AVG.js";
|
|
39
39
|
import "../chunk-MLKGABMK.js";
|
|
40
40
|
|
|
41
41
|
// src/cli/plugins.ts
|
|
@@ -1,25 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
|
-
create,
|
|
3
2
|
resolve
|
|
4
|
-
} from "../chunk-
|
|
5
|
-
import
|
|
3
|
+
} from "../chunk-2AYWP7PZ.js";
|
|
4
|
+
import {
|
|
5
|
+
create
|
|
6
|
+
} from "../chunk-CVHKLS7B.js";
|
|
6
7
|
import {
|
|
7
8
|
disconnectStateAdapter
|
|
8
|
-
} from "../chunk-
|
|
9
|
-
import "../chunk-
|
|
10
|
-
import "../chunk-
|
|
9
|
+
} from "../chunk-YURMXTZF.js";
|
|
10
|
+
import "../chunk-UC35XHGT.js";
|
|
11
|
+
import "../chunk-FI5A2RF6.js";
|
|
11
12
|
import {
|
|
12
13
|
pluginCatalogRuntime
|
|
13
|
-
} from "../chunk-
|
|
14
|
-
import "../chunk-
|
|
14
|
+
} from "../chunk-SIOO3CCL.js";
|
|
15
|
+
import "../chunk-KUYIW4BD.js";
|
|
15
16
|
import "../chunk-CGA4ERJ5.js";
|
|
16
17
|
import "../chunk-M63DETLL.js";
|
|
17
|
-
import "../chunk-
|
|
18
|
+
import "../chunk-6RRTVWAD.js";
|
|
18
19
|
import "../chunk-6GWA276C.js";
|
|
19
20
|
import "../chunk-OOUNJNMR.js";
|
|
20
21
|
import "../chunk-H4HBKISO.js";
|
|
21
|
-
import "../chunk-
|
|
22
|
-
import "../chunk-
|
|
22
|
+
import "../chunk-WCWPRFHZ.js";
|
|
23
|
+
import "../chunk-Y6DW6AVG.js";
|
|
23
24
|
import "../chunk-MLKGABMK.js";
|
|
24
25
|
|
|
25
26
|
// src/cli/snapshot-create.ts
|