@sentry/junior 0.315.0 → 0.316.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/{adapter-context-BlSGE44V.js → adapter-context-Bref7aPI.js} +1 -1
- package/dist/{admin-5jUYY46p.js → admin-QYiDMnsu.js} +1 -1
- package/dist/{agent-runner-C7GNLRB6.js → agent-runner-Cr5Fhjf-.js} +2298 -1866
- package/dist/{agent-update-delivery-BNEYQsAf.js → agent-update-delivery-BY13DPSD.js} +10 -37
- package/dist/api/schema.d.ts +69 -20
- package/dist/api/schema.js +4 -4
- package/dist/api.js +202 -315
- package/dist/{app-D_bAXRDe.d.ts → app-BhvzRD__.d.ts} +18 -14
- package/dist/app.d.ts +1 -1
- package/dist/app.js +34 -34
- package/dist/{chat-core-engine-CxkwRpn9.js → chat-core-engine-3dtlMku3.js} +3 -3
- package/dist/cli/chat.js +17 -17
- package/dist/cli/check.js +4 -4
- package/dist/cli/main.js +2 -2
- package/dist/cli/plugins.js +3 -3
- package/dist/cli/snapshot-create.js +2 -2
- package/dist/cli/upgrade.js +23 -3
- package/dist/{continue-in-slack-BGKjIdFp.js → continue-in-slack-DbQUFe_F.js} +3 -3
- package/dist/{conversation-feed-Sl8lKKmR.js → conversation-feed-B84pMjHo.js} +8 -3
- package/dist/{conversation-turn-BoLK9i6g.js → conversation-turn-DzEpTIaf.js} +16 -109
- package/dist/{create-BOycVH9h.js → create-DUJBXr6E.js} +4 -5
- package/dist/{credential-sync-Mn4OdkEh.js → credential-sync-JH_K9Adg.js} +9 -9
- package/dist/{db-DXTOYRzR.js → db-DhzvUY23.js} +343 -179
- package/dist/{deployment-CG3TchWh.js → deployment-BhvrhQeh.js} +1 -1
- package/dist/{engine-context-dyWlfNdD.js → engine-context-C9Nal48K.js} +9 -12
- package/dist/{html-CfXEwl_h.js → html-B_12WjKT.js} +2 -2
- package/dist/instrumentation.js +2 -2
- package/dist/{job-runner-CySgpi9v.js → job-runner-DO8nslyY.js} +17 -9
- package/dist/{lineage-tRTOcrsL.js → lineage-D3AZAJVe.js} +1 -1
- package/dist/{list-DXBz8SYL.js → list-B0zsb5Cp.js} +64 -182
- package/dist/{parent-result-Dg6P6roR.js → list-mkB_GU8R.js} +80 -108
- package/dist/{logging-czs0nqLC.js → logging-B8KEJegM.js} +1 -1
- package/dist/{media-Cr9pGkzr.js → media-BebquhET.js} +15 -3
- package/dist/{message-BTox2Cmb.js → message-B5fKDYzz.js} +8 -8
- package/dist/{model-input-IRGa98V7.js → model-input-CuMWy37l.js} +3 -3
- package/dist/nitro.d.ts +1 -1
- package/dist/nitro.js +2 -2
- package/dist/{oauth-callback-server-NXK7AlBp.js → oauth-callback-server-B3Vvlydo.js} +2 -2
- package/dist/{oauth-relay-6NBPSpFE.js → oauth-relay-6ERrGPbA.js} +1 -1
- package/dist/{people-Cegp1Iwq.js → people-CUtFApfL.js} +2 -2
- package/dist/{proxy-path-Dc-0jXGi.js → proxy-path-BTmXDjfx.js} +1 -1
- package/dist/{resolve-BUFkmxkT.js → resolve-D5JVvv6A.js} +3 -3
- package/dist/{result-DfATzX77.js → result-CS_7mo8a.js} +30 -14
- package/dist/{runner-CmKP3inb.js → runner-BzAES5W3.js} +7 -7
- package/dist/{sandbox-egress-signals-DYo5BsM7.js → sandbox-egress-signals-Dwhk2Q5F.js} +1 -1
- package/dist/{schema-DrBMdPmv.js → schema-z5-wA6N4.js} +34 -13
- package/dist/{service-account-CxTX7nnR.js → service-account-D6AsAtc1.js} +1 -1
- package/dist/{mailbox-turn-79Nv1JXv.js → session-stop-DponjDUZ.js} +3075 -3092
- package/dist/{skills-BlHUDj7k.js → skills-DgJ9GBPR.js} +3 -3
- package/dist/{slack-conversation-unfurl-Dhe3lB1U.js → slack-conversation-unfurl-Dq71EkhM.js} +6 -6
- package/dist/{spawn-CfvlFdfz.js → spawn-BJWpdwhQ.js} +4 -4
- package/dist/{start-conversation-Uh8Sk1EF.js → start-conversation-B-LIqqNi.js} +2 -2
- package/dist/{system-prompt-table-CDCYVwqN.js → system-prompt-table-iIgpmslr.js} +6 -4
- package/dist/{task-runner-DcdQJd9e.js → task-runner-BJae4JwE.js} +23 -11
- package/dist/{thread-context-DF5uDcWN.js → thread-context-fiMNylbg.js} +5 -5
- package/dist/{transcript-BHhJVY0P.js → transcript-CCi7323k.js} +1 -1
- package/dist/{turn-session-routing-GtetHsdO.js → turn-session-routing-D15orfwy.js} +7 -7
- package/dist/{turn-wake-um5Ubd4m.js → turn-wake-BjDW7x-5.js} +4 -4
- package/dist/{validation-CJyuOPD2.js → validation-D5WmmmhX.js} +1 -1
- package/dist/{version-Bhe7RPIe.js → version-CBQoanXb.js} +1 -1
- package/dist/version.js +1 -1
- package/dist/{worker-D8PRgUqr.js → worker-Cyb4kF17.js} +3 -3
- package/migrations/20261125171254_conversation_visibility/migration.sql +4 -0
- package/migrations/20261125171254_conversation_visibility/snapshot.json +67 -0
- package/migrations/20261125171257_conversation_visibility_backfill/migration.sql +25 -0
- package/migrations/20261125171257_conversation_visibility_backfill/snapshot.json +9 -0
- package/migrations/20261125213232_drop_versions_notify/migration.sql +19 -0
- package/migrations/20261125213232_drop_versions_notify/snapshot.json +9 -0
- package/migrations/20261125225138_conversation_kind_root_thread/migration.sql +23 -0
- package/migrations/20261125225138_conversation_kind_root_thread/snapshot.json +55 -0
- package/migrations/20261125225142_conversation_kind_root_thread_backfill/migration.sql +7 -0
- package/migrations/20261125225142_conversation_kind_root_thread_backfill/snapshot.json +9 -0
- package/migrations/20261126000151_conversation_event_message_role_seq_index/migration.sql +1 -0
- package/migrations/20261126000151_conversation_event_message_role_seq_index/snapshot.json +69 -0
- package/migrations/20261126012917_merge_leaves/migration.sql +2 -0
- package/migrations/20261126012917_merge_leaves/snapshot.json +12 -0
- package/package.json +5 -5
- package/skills/jr-rpc/SKILL.md +3 -5
- package/dist/direct-url-BYgYfuIy.js +0 -22
- package/dist/markers-CE0HMXWT.js +0 -67
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-BKpuH2hG.js";
|
|
2
|
-
import {
|
|
3
|
-
import { E as withSpan, S as setTags, h as logWarn, p as logException } from "./logging-
|
|
4
|
-
import { Kt as readMessageAttachments, bt as instructionProvenanceFor } from "./media-
|
|
5
|
-
import { C as resolveSlackReplyTarget, X as measureTurnCompactionWait,
|
|
6
|
-
import { a as buildDeliveredTurnStatePatch, o as loadPendingMessageCards, r as completeAuthPauseTurn, t as buildTurnThreadContext } from "./thread-context-
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
2
|
+
import { $d as JUNIOR_THREAD_STATE_TTL_MS, Kt as isTopLevel, La as getDispatchIdForConversation, Mo as blockEventAutomation, Pf as botConfig, Wt as isPersonInput, Xt as turnBehavior, Ya as notifyAutomationBlocked, _d as verifyTimerWatchCredentialSubject, a as getDb, i as getConversationStore, ja as readConversationAutomationRun, n as getConversationEventStore, nf as getStateAdapter, of as credentialContextForActor, tn as indexEndedTurnEvents, uo as blockScheduledAutomation } from "./db-DhzvUY23.js";
|
|
3
|
+
import { E as withSpan, S as setTags, h as logWarn, p as logException } from "./logging-B8KEJegM.js";
|
|
4
|
+
import { Kt as readMessageAttachments, bt as instructionProvenanceFor } from "./media-BebquhET.js";
|
|
5
|
+
import { C as resolveSlackReplyTarget, X as measureTurnCompactionWait, k as isConversationDeliveryPaused, w as sendSlackReply, xt as stopConversationAndChildAgents } from "./agent-runner-Cr5Fhjf-.js";
|
|
6
|
+
import { a as buildDeliveredTurnStatePatch, o as loadPendingMessageCards, r as completeAuthPauseTurn, t as buildTurnThreadContext } from "./thread-context-fiMNylbg.js";
|
|
7
|
+
import { C as isParentMessageAuthor, Ci as getTurnLifecycle, Cr as normalizeConversationText, Dr as upsertConversationMessage, G as getConversationTurnBoundaryError, L as getTurnUserMessage, Pi as finalizeFailedTurnReplyWithEvent, Q as startActiveTurn, Qn as loadConversationProjection, Qr as abandonTurnRecord, Si as ConversationTurnLifecycleService, Sr as markConversationMessage, U as TurnInputCommitLostError, Xt as getConversationWorkState, Y as markTurnClosed, Yn as commitAcceptedReply, Z as markTurnFailed, Zi as persistWithRetry, Zr as saveTurnCheckpoint, _ as legacyWebMailboxMetadataSchema, _i as canJoinTurn, _t as instructionForInputs, at as persistThreadStateById, b as childAgentTurnOptions, bt as withoutSavedSteeringMessages, ct as deleteWebAuthorization, d as getEventBatchDelayMs, dn as isEventMailboxMetadata, dt as loadInboxItemInput, ei as failTurnRecord, et as buildDeterministicTurnId, fn as renderEventBatchInputs, fr as hydrateConversationMessages, g as turnInputFactsFromConversationMessage, gt as instructionActorFor, h as sourceFromTurnInput, ht as buildSteeringPiMessage, jr as isEventConversationMessage, l as completeCancelledConversationTurn, mr as persistConversationMessages, nt as getPersistedSandboxState, ot as coerceThreadConversationState, p as listActiveMailboxTurns, pn as timerWatchCredentialSubject, q as isTurnInputCommitLostError, rt as getPersistedThreadState, st as createWebAuthorization, ti as getTurnRecord, un as eventBatchMessageMeta, ut as eventInboxItemInputs, wr as recordDeliveredAssistantMessage, x as commitParentMessageFork, xi as readParentMessage, xr as latestConversationMessageSeq, yt as turnRequestText } from "./session-stop-DponjDUZ.js";
|
|
8
|
+
import { d as isChildAgentEvent, o as parentResultActor } from "./list-mkB_GU8R.js";
|
|
9
9
|
import { i as getActiveSpan, r as continueTrace } from "./sentry-CPbZjomA.js";
|
|
10
|
-
import { p as getAssistantReplyText } from "./system-prompt-table-
|
|
11
|
-
import { i as CONVERSATION_METADATA_TASK, n as scheduleSessionCompletedPluginTasks, t as processPluginTask } from "./task-runner-
|
|
12
|
-
import { n as getPausedTurnRequest } from "./turn-wake-
|
|
13
|
-
import { G as mapBounded } from "./transcript-
|
|
14
|
-
import { g as resolveConversationDestination } from "./turn-session-routing-
|
|
15
|
-
import { t as readConversationLineage } from "./lineage-
|
|
10
|
+
import { p as getAssistantReplyText } from "./system-prompt-table-iIgpmslr.js";
|
|
11
|
+
import { i as CONVERSATION_METADATA_TASK, n as scheduleSessionCompletedPluginTasks, t as processPluginTask } from "./task-runner-BJae4JwE.js";
|
|
12
|
+
import { n as getPausedTurnRequest } from "./turn-wake-BjDW7x-5.js";
|
|
13
|
+
import { G as mapBounded } from "./transcript-CCi7323k.js";
|
|
14
|
+
import { g as resolveConversationDestination } from "./turn-session-routing-D15orfwy.js";
|
|
15
|
+
import { t as readConversationLineage } from "./lineage-D3AZAJVe.js";
|
|
16
16
|
import * as z from "zod";
|
|
17
17
|
import { isDeepStrictEqual } from "node:util";
|
|
18
18
|
import { createHash } from "node:crypto";
|
|
@@ -225,100 +225,6 @@ async function recordFinishedTurnForAutomatedLimit(args) {
|
|
|
225
225
|
state: args.state
|
|
226
226
|
});
|
|
227
227
|
}
|
|
228
|
-
// src/chat/conversations/stop.ts
|
|
229
|
-
/**
|
|
230
|
-
* Stop a Conversation for a person, on every stop path. Every child agent
|
|
231
|
-
* below it stops, then it and they are stopped Conversations until a person
|
|
232
|
-
* sends input, and then its Turn stops. A Turn that waits for sign-in ends
|
|
233
|
-
* too, so a later sign-in does not resume it. Their automated input is held.
|
|
234
|
-
* Nothing above it changes: this reports the stop of a Task to its parent.
|
|
235
|
-
*
|
|
236
|
-
* A stop that comes from a message or a button press, such as the Slack
|
|
237
|
-
* `stop` keyword or stop button, passes it. Its id is claimed in the mailbox
|
|
238
|
-
* first, so a redelivery returns `duplicate` and stops nothing, not even
|
|
239
|
-
* newer work. A stop that fails before its stop request is saved releases
|
|
240
|
-
* its claim, so a redelivery can stop again. A failed claim check keeps a
|
|
241
|
-
* claim that an earlier delivery saved. A failure after the stop request is
|
|
242
|
-
* saved keeps the claim, as does a failed reply: the work is already
|
|
243
|
-
* stopped, and a redelivery must not stop newer work. Its send time
|
|
244
|
-
* is the stop time, and only person input sent at or before it is dropped.
|
|
245
|
-
* So a retry writes the same stop and keeps input that the person sent after
|
|
246
|
-
* it.
|
|
247
|
-
*
|
|
248
|
-
* The child agents and sessions stop first, so a failure leaves the Turn
|
|
249
|
-
* running and the stop can be retried. A child agent can outlive the parent
|
|
250
|
-
* Turn, so this runs even when no Turn runs.
|
|
251
|
-
*/
|
|
252
|
-
async function stopConversation(args) {
|
|
253
|
-
if (args.message && (await claimInboundMessage({
|
|
254
|
-
conversationStore: args.conversationStore,
|
|
255
|
-
message: args.message,
|
|
256
|
-
state: args.state
|
|
257
|
-
})).status === "duplicate") return { status: "duplicate" };
|
|
258
|
-
let stopSaved = false;
|
|
259
|
-
try {
|
|
260
|
-
const nowMs = Date.now();
|
|
261
|
-
const stoppedAtMs = args.message?.createdAtMs ?? nowMs;
|
|
262
|
-
await reportPersonStopToParent(args.conversationId, {
|
|
263
|
-
queue: args.queue,
|
|
264
|
-
state: args.state,
|
|
265
|
-
stoppedAtMs
|
|
266
|
-
});
|
|
267
|
-
const result = await stopConversationAndChildAgents({
|
|
268
|
-
conversationId: args.conversationId,
|
|
269
|
-
conversationStore: args.conversationStore,
|
|
270
|
-
nowMs,
|
|
271
|
-
onStopSaved: () => {
|
|
272
|
-
stopSaved = true;
|
|
273
|
-
},
|
|
274
|
-
queue: args.queue,
|
|
275
|
-
sentAtOrBeforeMs: args.message ? stoppedAtMs : void 0,
|
|
276
|
-
state: args.state,
|
|
277
|
-
stoppedAtMs
|
|
278
|
-
});
|
|
279
|
-
if (result.status === "requested") await ensureConversationWake({
|
|
280
|
-
conversationId: args.conversationId,
|
|
281
|
-
conversationStore: args.conversationStore,
|
|
282
|
-
idempotencyKey: `conversation-stop:${args.conversationId}:${result.runId}`,
|
|
283
|
-
nowMs,
|
|
284
|
-
queue: args.queue,
|
|
285
|
-
replaceExistingWake: true,
|
|
286
|
-
state: args.state
|
|
287
|
-
});
|
|
288
|
-
return result;
|
|
289
|
-
} catch (error) {
|
|
290
|
-
if (args.message && !stopSaved) await releaseInboundMessage({
|
|
291
|
-
message: args.message,
|
|
292
|
-
state: args.state
|
|
293
|
-
});
|
|
294
|
-
throw error;
|
|
295
|
-
}
|
|
296
|
-
}
|
|
297
|
-
/**
|
|
298
|
-
* Stop a Conversation and every child agent below it, through
|
|
299
|
-
* `stopConversationTree`. A person's stop and the automated-turn limit call
|
|
300
|
-
* this. The child agents stop first, so a failure leaves the Conversation
|
|
301
|
-
* running and the stop can be retried. Its waiting parent messages are
|
|
302
|
-
* dropped before its stop request is saved, so no stop request outlives
|
|
303
|
-
* the stop.
|
|
304
|
-
*/
|
|
305
|
-
async function stopConversationAndChildAgents(args) {
|
|
306
|
-
const { conversationId, ...options } = args;
|
|
307
|
-
await stopChildAgentsBelow(conversationId, {
|
|
308
|
-
nowMs: options.nowMs,
|
|
309
|
-
queue: options.queue,
|
|
310
|
-
stoppedAtMs: options.stoppedAtMs,
|
|
311
|
-
state: options.state
|
|
312
|
-
});
|
|
313
|
-
await cancelWaitingParentMessages(conversationId, {
|
|
314
|
-
nowMs: options.stoppedAtMs,
|
|
315
|
-
state: options.state
|
|
316
|
-
});
|
|
317
|
-
const [result] = await stopConversationTree([conversationId], options);
|
|
318
|
-
if (!result) throw new Error("Stop returned no result");
|
|
319
|
-
await dropOwnUnreadLoopReplies(conversationId, options.state);
|
|
320
|
-
return result;
|
|
321
|
-
}
|
|
322
228
|
// src/chat/slack/automated-turn-limit-notice.ts
|
|
323
229
|
/**
|
|
324
230
|
* Stop and notice for the consecutive automated-turn limit.
|
|
@@ -782,7 +688,7 @@ function createConversationTurnWorker(agentRunner, deliverMessage, updates) {
|
|
|
782
688
|
let authorIdentityId;
|
|
783
689
|
let webInputMessages = [];
|
|
784
690
|
const storedConversation = await getConversationStore().get({ conversationId: context.conversationId });
|
|
785
|
-
const kind = storedConversation?.kind ?? "
|
|
691
|
+
const kind = storedConversation?.kind ?? "thread";
|
|
786
692
|
const visibility = isTopLevel({ parentConversationId: storedConversation?.parentConversationId }) ? storedConversation?.visibility : storedConversation?.visibility ?? "private";
|
|
787
693
|
const mailboxDestination = resolved.kind === "mailbox" ? resolved.batch[0]?.message.destination : void 0;
|
|
788
694
|
const destination = resolveConversationDestination({
|
|
@@ -854,6 +760,7 @@ function createConversationTurnWorker(agentRunner, deliverMessage, updates) {
|
|
|
854
760
|
const postsToProvider = Boolean(conversationLocation) && isEventTurn;
|
|
855
761
|
const behavior = turnBehavior({
|
|
856
762
|
kind,
|
|
763
|
+
hasParent: !isTopLevel({ parentConversationId: storedConversation?.parentConversationId }),
|
|
857
764
|
personInput: isPersonInput(source.kind)
|
|
858
765
|
});
|
|
859
766
|
const webActor = actor.platform === "web" ? actor : void 0;
|
|
@@ -1224,4 +1131,4 @@ function createConversationTurnWorker(agentRunner, deliverMessage, updates) {
|
|
|
1224
1131
|
});
|
|
1225
1132
|
};
|
|
1226
1133
|
}
|
|
1227
|
-
export {
|
|
1134
|
+
export { recordFinishedTurnForAutomatedLimit as a, getTurnInputSpanAttributes as c, stopAtAutomatedTurnLimit as i, turnInputTelemetry as l, createConversationTurnWorker as n, AgentRunError as o, supersedeTurnForInput as r, executeTurn as s, conversation_turn_exports as t, withTurnSpan as u };
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import { $ as getAgentBinding,
|
|
4
|
-
import {
|
|
5
|
-
import { n as recordSubagentStartedMarker } from "./markers-CE0HMXWT.js";
|
|
1
|
+
import { Jt as ensureConversationWake, Mn as addConversationNote, N as getSpawnedChildConversationId, O as agentConfigSchema, Xt as getConversationWorkState, ci as hasConversationStop, j as getChildAgentLockName, k as readAgentConfig, n as getConversationStoppedAtMs, v as appendParentMessage, wi as loadTurnStart, y as buildParentMessage } from "./session-stop-DponjDUZ.js";
|
|
2
|
+
import { Tu as juniorConversations, Vl as nextDetailVersion, cu as juniorAgentBindings, i as getConversationStore, o as getSqlExecutor } from "./db-DhzvUY23.js";
|
|
3
|
+
import { $ as getAgentBinding, at as AgentNameInUseError, ot as AgentStoppedError, rt as AgentInvocationLimitError, tt as spawnChildAgentInputSchema } from "./agent-runner-Cr5Fhjf-.js";
|
|
4
|
+
import { c as recordSubagentStartedMarker, i as listOpenChildAgents, p as readChildConversationSender } from "./list-mkB_GU8R.js";
|
|
6
5
|
import { randomUUID } from "node:crypto";
|
|
7
6
|
import { eq } from "drizzle-orm";
|
|
8
7
|
/**
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { $r as getMcpStoredOAuthCredentials, Br as buildOAuthTokenRequest, Ef as parseSlackUserId, Hr as hasRequiredOAuthScope, If as getRuntimeMetadata, Pf as botConfig, Sa as lookupSlackUserProfile, Td as getSlackClient, Vr as parseOAuthTokenResponse, Yc as readIdentityById, Zr as getMcpAuthSession, cl as resolveActorIdentityId, di as getMcpProviderErrorAttributes, gl as upsertLinkedIdentity, jr as pluginCatalogRuntime, ka as resolvePluginOAuthAccount, ml as findUserByVerifiedEmails, nf as getStateAdapter, no as postSlackMessage, nr as parseOAuthStatePayload, o as getSqlExecutor, op as acquireActiveLock, qr as deleteMcpAuthSession, ri as putMcpStoredOAuthCredentials, rr as resolveBaseUrl, tr as formatProviderLabel, vd as readJuniorSecret, wr as createUserTokenStore } from "./db-DhzvUY23.js";
|
|
2
2
|
import { i as homeDir } from "./package-discovery-BI6T_RkD.js";
|
|
3
|
-
import { G as mapBounded } from "./transcript-
|
|
4
|
-
import { M as isNativeIdentityProvider, _ as runBestEffort, h as logWarn, p as logException } from "./logging-
|
|
5
|
-
import {
|
|
6
|
-
import { i as finalizeMcpAuthorization } from "./agent-runner-
|
|
7
|
-
import { t as discoverSkills } from "./skills-
|
|
8
|
-
import { a as wakePausedTurn, i as wakeAuthorizedTurn } from "./turn-wake-
|
|
9
|
-
import { s as readConnectedOAuthTokens, t as escapeHtml, u as htmlCallbackResponse } from "./html-
|
|
10
|
-
import { n as relayLocalOAuthCallback } from "./oauth-relay-
|
|
3
|
+
import { G as mapBounded } from "./transcript-CCi7323k.js";
|
|
4
|
+
import { M as isNativeIdentityProvider, _ as runBestEffort, h as logWarn, p as logException } from "./logging-B8KEJegM.js";
|
|
5
|
+
import { Kr as getConversationPendingAuth, ct as deleteWebAuthorization, ir as recordAuthorizationCompleted, ot as coerceThreadConversationState, rr as recordAuthenticationLinked, rt as getPersistedThreadState, ti as getTurnRecord, zr as authorizationId } from "./session-stop-DponjDUZ.js";
|
|
6
|
+
import { i as finalizeMcpAuthorization } from "./agent-runner-Cr5Fhjf-.js";
|
|
7
|
+
import { t as discoverSkills } from "./skills-DgJ9GBPR.js";
|
|
8
|
+
import { a as wakePausedTurn, i as wakeAuthorizedTurn } from "./turn-wake-BjDW7x-5.js";
|
|
9
|
+
import { s as readConnectedOAuthTokens, t as escapeHtml, u as htmlCallbackResponse } from "./html-B_12WjKT.js";
|
|
10
|
+
import { n as relayLocalOAuthCallback } from "./oauth-relay-6ERrGPbA.js";
|
|
11
11
|
import * as z from "zod";
|
|
12
12
|
import path from "node:path";
|
|
13
13
|
import { createHmac, createSecretKey, timingSafeEqual } from "node:crypto";
|