@sentry/junior 0.245.0 → 0.247.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.
Files changed (68) hide show
  1. package/dist/{admin-BEbNsG87.js → admin-BGwaqDMs.js} +1 -1
  2. package/dist/{agent-hooks-Caa0Qh_Q.js → agent-hooks-C72ByH0C.js} +11 -11
  3. package/dist/{agent-invocations-BO6ddZax.js → agent-invocations-D_YoNnAn.js} +8 -2
  4. package/dist/{agent-runner-BEuPFbbv.js → agent-runner-DsAFAKKs.js} +822 -2524
  5. package/dist/api/schema.d.ts +23 -1
  6. package/dist/api/schema.js +3 -3
  7. package/dist/api.js +82 -21
  8. package/dist/{app-BYB7szGb.d.ts → app-4t4mPTdS.d.ts} +8 -1
  9. package/dist/app.d.ts +1 -1
  10. package/dist/app.js +37 -68
  11. package/dist/assistant-reply-ChOzcTBS.js +45 -0
  12. package/dist/{briefs-DFAh_jTW.js → briefs-Dc7qZrhc.js} +4 -4
  13. package/dist/{catalog-runtime-wmq_fqff.js → catalog-runtime-DS1k7fUG.js} +1 -1
  14. package/dist/cli/chat.js +25 -15
  15. package/dist/cli/check.js +3 -3
  16. package/dist/cli/main.js +2 -2
  17. package/dist/cli/plugins.js +4 -4
  18. package/dist/cli/snapshot-create.js +3 -3
  19. package/dist/cli/upgrade.js +3 -3
  20. package/dist/{client-Bn9SRFCi.js → client-BVnfNd3D.js} +2 -2
  21. package/dist/{config-_XAINZMN.js → config-CgWvImQL.js} +2 -2
  22. package/dist/{conversation-CvBG57Io.js → conversation-CYsbVFLx.js} +71 -1
  23. package/dist/{conversation-privacy-BN5SGxsF.js → conversation-privacy-D3TdVM9H.js} +1 -1
  24. package/dist/{credential-sync-BvaUm6HQ.js → credential-sync-DLw3jkv-.js} +14 -14
  25. package/dist/{executor-CFIqoCNJ.js → executor-DQazjeGA.js} +3 -3
  26. package/dist/{images-Ci43I3ek.js → images-C3e5E-p_.js} +4 -21
  27. package/dist/instrumentation.js +2 -2
  28. package/dist/{job-queue-CGicV7x6.js → job-queue-BEUqRhjC.js} +1 -1
  29. package/dist/{logging-Bs3dV81s.js → logging-CZEc8_v4.js} +1 -1
  30. package/dist/message-BIJa7lKh.js +59 -0
  31. package/dist/nitro.d.ts +1 -1
  32. package/dist/nitro.js +3 -3
  33. package/dist/{oauth-authorization-COzWmMjO.js → oauth-authorization-BA4Dt6a7.js} +1 -45
  34. package/dist/{oauth-callback-server-17c9_39v.js → oauth-callback-server-R9OSdLP1.js} +2 -2
  35. package/dist/{pending-auth-Bnhg7Q9k.js → pending-auth-Oo5AQhaf.js} +2 -2
  36. package/dist/{profile-BA471c-l.js → profile-aVLDAirh.js} +4 -4
  37. package/dist/{prompt-C9Q9cjD3.js → prompt-ZG1UCxjF.js} +1 -1
  38. package/dist/{registry-BYNOFO6e.js → registry-CtaDOOM5.js} +1 -1
  39. package/dist/{resolve-rpz8No2i.js → resolve-Bdw4hu7s.js} +2 -2
  40. package/dist/result-DNgmkASh.js +463 -0
  41. package/dist/{runner-C8DRk9X6.js → runner-BUSScEu5.js} +11 -10
  42. package/dist/{sandbox-egress-signals-B8hurjFt.js → sandbox-egress-signals-E9r8bf9G.js} +1 -1
  43. package/dist/{schema-WRgR9EL6.js → schema-tyd6hALh.js} +23 -3
  44. package/dist/session-stop-CAhBfBUT.js +782 -0
  45. package/dist/{skills-C4yrD2NR.js → skills-DQy-mmBC.js} +2 -2
  46. package/dist/{spawn-CdAaTXrY.js → spawn-DQ_MVWZ6.js} +3 -2
  47. package/dist/store-DjLA8GKs.js +1417 -0
  48. package/dist/{task-queue-BBxHzlIB.js → task-queue-BT2h_t8I.js} +3 -3
  49. package/dist/{task-runner-BqFapTjs.js → task-runner-CiPepjIB.js} +11 -11
  50. package/dist/{tasks-Ddd7OAkp.js → tasks-DMmRrIVl.js} +9 -9
  51. package/dist/{thread-state-DqErwbA8.js → thread-state-ehZYGpX9.js} +7 -7
  52. package/dist/{turn-failure-response-DtL1-fOl.js → turn-failure-response-D7J10z7l.js} +9 -9
  53. package/dist/{turn-lifecycle-B5pzyD6W.js → turn-lifecycle-Buswqs90.js} +1 -1
  54. package/dist/{turn-session-routing-D6pTU5uF.js → turn-session-routing-Bw-yiSb4.js} +1 -1
  55. package/dist/{validation-BAzlyNIc.js → validation-DTguegIe.js} +1 -1
  56. package/dist/{version-CiXDH3oe.js → version-BrZSE5du.js} +1 -1
  57. package/dist/version.js +1 -1
  58. package/dist/{viewer-wCn8xneI.js → viewer-BlAozHer.js} +4 -4
  59. package/dist/{web-authorization-d5MtGpfG.js → web-authorization-DwyTlkAg.js} +6 -6
  60. package/dist/{web-input-BZTiCtvP.js → web-input-DSYxI7Wi.js} +77 -378
  61. package/dist/{work-4QPqTd5_.js → work-CRBXkJoU.js} +96 -13
  62. package/dist/{worker-mc62tybz.js → worker-BVJKM9Ja.js} +7 -7
  63. package/migrations/0053_conversation_stopped_at.sql +1 -0
  64. package/migrations/0054_flowery_rage.sql +1 -0
  65. package/migrations/meta/0053_snapshot.json +3771 -0
  66. package/migrations/meta/0054_snapshot.json +3777 -0
  67. package/migrations/meta/_journal.json +14 -0
  68. package/package.json +5 -4
@@ -1,5 +1,5 @@
1
- import { p as logWarn } from "./logging-Bs3dV81s.js";
2
- import { c as QUEUE_SIGNATURE_MAX_AGE_MS, d as createVercelQueueClient, l as signQueueMessage, p as runWithTurnRequestDeadline, u as verifyQueueMessage } from "./job-queue-CGicV7x6.js";
1
+ import { p as logWarn } from "./logging-CZEc8_v4.js";
2
+ import { c as QUEUE_SIGNATURE_MAX_AGE_MS, d as createVercelQueueClient, l as signQueueMessage, p as runWithTurnRequestDeadline, u as verifyQueueMessage } from "./job-queue-BEUqRhjC.js";
3
3
  import { z } from "zod";
4
4
  import { createHash } from "node:crypto";
5
5
  import { handleCallback, registerDevConsumer } from "@vercel/queue";
@@ -115,7 +115,7 @@ function pluginTaskCallback() {
115
115
  maxDeliveries: PLUGIN_TASK_MAX_DELIVERIES,
116
116
  onRejected: logPluginTaskQueueMessageRejected,
117
117
  run: async (message) => {
118
- const { processPluginTask } = await import("./task-runner-BqFapTjs.js").then((n) => n.r);
118
+ const { processPluginTask } = await import("./task-runner-CiPepjIB.js").then((n) => n.r);
119
119
  await processPluginTask(message);
120
120
  },
121
121
  topic: PLUGIN_TASK_QUEUE_TOPIC,
@@ -1,17 +1,17 @@
1
1
  import { t as __exportAll } from "./rolldown-runtime-B4FMCO8f.js";
2
- import { h as runBestEffort, p as logWarn } from "./logging-Bs3dV81s.js";
2
+ import { h as runBestEffort, p as logWarn } from "./logging-CZEc8_v4.js";
3
3
  import { g as parseSlackMessageTs } from "./actor-BTtLaeWy.js";
4
- import { C as agentTurnTotalTokens, S as agentTurnCostUsd, d as getDb, r as readActorIdentity, u as getConversationStore } from "./viewer-wCn8xneI.js";
5
- import { s as juniorConversations } from "./agent-invocations-BO6ddZax.js";
6
- import { c as juniorAutomationExecutions } from "./executor-CFIqoCNJ.js";
4
+ import { C as agentTurnTotalTokens, S as agentTurnCostUsd, d as getDb, r as readActorIdentity, u as getConversationStore } from "./viewer-BlAozHer.js";
5
+ import { s as juniorConversations } from "./agent-invocations-D_YoNnAn.js";
6
+ import { c as juniorAutomationExecutions } from "./executor-DQazjeGA.js";
7
7
  import { p as sameActorIdentity } from "./history-Nte1oVed.js";
8
- import { p as credentialSubjectSchema } from "./registry-BYNOFO6e.js";
9
- import { Ht as hydrateConversationMessages, Jt as fallbackShortTitle, M as formatSlackLink, Q as getTurnRecord, V as postSlackMessage, a as readScheduledAutomation, dt as instructionTextForProjection, g as getEventAutomation, gt as normalizeToolNameFromResult, ht as isToolResultMessage, j as escapeSlackMrkdwnText, mt as isToolResultError, st as getPiMessageRole, u as blockEventAutomation, vt as stripRuntimeTurnContext, z as openSlackDirectMessage } from "./tasks-Ddd7OAkp.js";
10
- import { ct as createPluginModel, it as getDashboardTaskLink, lt as createPluginLogger, ot as createPluginState, p as coreTaskRegistrations, st as createPluginEmbedder, tt as JUNIOR_THREAD_STATE_TTL_MS, u as getPlugins, yt as createPluginConversationEvents } from "./agent-hooks-Caa0Qh_Q.js";
11
- import { w as getStateAdapter } from "./profile-BA471c-l.js";
12
- import { r as getPersistedThreadState, s as coerceThreadConversationState } from "./thread-state-DqErwbA8.js";
13
- import { t as resolveConversationRouting } from "./turn-session-routing-D6pTU5uF.js";
14
- import { i as pluginTaskParamsSchema, o as sendVercelPluginTask, r as pluginTaskId } from "./task-queue-BBxHzlIB.js";
8
+ import { p as credentialSubjectSchema } from "./registry-CtaDOOM5.js";
9
+ import { Ht as hydrateConversationMessages, Jt as fallbackShortTitle, M as formatSlackLink, Q as getTurnRecord, V as postSlackMessage, a as readScheduledAutomation, dt as instructionTextForProjection, g as getEventAutomation, gt as normalizeToolNameFromResult, ht as isToolResultMessage, j as escapeSlackMrkdwnText, mt as isToolResultError, st as getPiMessageRole, u as blockEventAutomation, vt as stripRuntimeTurnContext, z as openSlackDirectMessage } from "./tasks-DMmRrIVl.js";
10
+ import { ct as createPluginModel, it as getDashboardTaskLink, lt as createPluginLogger, ot as createPluginState, p as coreTaskRegistrations, st as createPluginEmbedder, tt as JUNIOR_THREAD_STATE_TTL_MS, u as getPlugins, yt as createPluginConversationEvents } from "./agent-hooks-C72ByH0C.js";
11
+ import { w as getStateAdapter } from "./profile-aVLDAirh.js";
12
+ import { r as getPersistedThreadState, s as coerceThreadConversationState } from "./thread-state-ehZYGpX9.js";
13
+ import { t as resolveConversationRouting } from "./turn-session-routing-Bw-yiSb4.js";
14
+ import { i as pluginTaskParamsSchema, o as sendVercelPluginTask, r as pluginTaskId } from "./task-queue-BT2h_t8I.js";
15
15
  import { z } from "zod";
16
16
  import { createHash } from "node:crypto";
17
17
  import { and, asc, count, desc, eq, gte, inArray, lte, max, or, sql } from "drizzle-orm";
@@ -1,15 +1,15 @@
1
- import { d as unwrapCurrentInstruction, f as escapeXml, i as completeText, o as resolveGatewayModel } from "./client-Bn9SRFCi.js";
2
- import { d as logException, o as getActiveTraceId, p as logWarn, s as getLogContextAttributes, t as buildTurnFailureResponse, v as setSpanAttributes } from "./logging-Bs3dV81s.js";
1
+ import { d as unwrapCurrentInstruction, f as escapeXml, i as completeText, o as resolveGatewayModel } from "./client-BVnfNd3D.js";
2
+ import { d as logException, o as getActiveTraceId, p as logWarn, s as getLogContextAttributes, t as buildTurnFailureResponse, v as setSpanAttributes } from "./logging-CZEc8_v4.js";
3
3
  import { n as captureMessage } from "./sentry-CgWZM_kV.js";
4
- import { n as botConfig, v as normalizeSlackEmojiName } from "./config-_XAINZMN.js";
4
+ import { n as botConfig, v as normalizeSlackEmojiName } from "./config-CgWvImQL.js";
5
5
  import { c as toStoredSlackActor, f as parseSlackUserId, g as parseSlackMessageTs } from "./actor-BTtLaeWy.js";
6
- import { c as getConversationEventStore, f as getSqlExecutor, m as withConversationEventLock, p as createSqlConversationEventStore, u as getConversationStore, v as startLocationThread, x as addAgentTurnUsage, y as bindProviderConversation } from "./viewer-wCn8xneI.js";
7
- import { a as juniorSchedulerRuns, o as juniorSchedulerTasks, s as juniorAutomationVersions, u as juniorEventAutomations } from "./executor-CFIqoCNJ.js";
6
+ import { c as getConversationEventStore, f as getSqlExecutor, m as withConversationEventLock, p as createSqlConversationEventStore, u as getConversationStore, v as startLocationThread, x as addAgentTurnUsage, y as bindProviderConversation } from "./viewer-BlAozHer.js";
7
+ import { a as juniorSchedulerRuns, o as juniorSchedulerTasks, s as juniorAutomationVersions, u as juniorEventAutomations } from "./executor-DQazjeGA.js";
8
8
  import { d as instructionActors, f as instructionProvenanceFor, n as agentHistoryItemSchema, u as contextProvenance } from "./history-Nte1oVed.js";
9
- import { p as credentialSubjectSchema } from "./registry-BYNOFO6e.js";
10
- import { Ft as SlackActionError, Ht as normalizeSlackConversationId, Jt as agentsInstructionsUpdatedEvent, Wt as withSlackRetries, Xt as authenticationUnlinkedEvent, Yt as authenticationLinkedEvent, n as applyPluginFormatMarkdown, qt as JUNIOR_NATIVE_EVENT_NAMESPACE, zt as getSlackClient } from "./agent-hooks-Caa0Qh_Q.js";
11
- import { U as messageCardRef } from "./conversation-CvBG57Io.js";
12
- import { D as fenceLock, O as withLock, T as MUTATION_LOCK_TTL_MS, k as sleep, w as getStateAdapter } from "./profile-BA471c-l.js";
9
+ import { p as credentialSubjectSchema } from "./registry-CtaDOOM5.js";
10
+ import { Ft as SlackActionError, Ht as normalizeSlackConversationId, Jt as agentsInstructionsUpdatedEvent, Wt as withSlackRetries, Xt as authenticationUnlinkedEvent, Yt as authenticationLinkedEvent, n as applyPluginFormatMarkdown, qt as JUNIOR_NATIVE_EVENT_NAMESPACE, zt as getSlackClient } from "./agent-hooks-C72ByH0C.js";
11
+ import { W as messageCardRef } from "./conversation-CYsbVFLx.js";
12
+ import { D as fenceLock, O as withLock, T as MUTATION_LOCK_TTL_MS, k as sleep, w as getStateAdapter } from "./profile-aVLDAirh.js";
13
13
  import { A as eventAutomationSchema, D as scheduledRunSchema, E as scheduledAutomationSchema, S as automationVersionSchema } from "./automation-gznOMaQ2.js";
14
14
  import { isDeepStrictEqual } from "node:util";
15
15
  import { z } from "zod";
@@ -1,10 +1,10 @@
1
- import { I as isRecord, L as toOptionalNumber, R as toOptionalString } from "./logging-Bs3dV81s.js";
2
- import { d as getDb } from "./viewer-wCn8xneI.js";
3
- import { d as juniorDestinations } from "./agent-invocations-BO6ddZax.js";
4
- import { d as juniorLocationConfigurations } from "./executor-CFIqoCNJ.js";
5
- import { Ut as persistConversationMessages } from "./tasks-Ddd7OAkp.js";
6
- import { tt as JUNIOR_THREAD_STATE_TTL_MS } from "./agent-hooks-Caa0Qh_Q.js";
7
- import { w as getStateAdapter } from "./profile-BA471c-l.js";
1
+ import { I as isRecord, L as toOptionalNumber, R as toOptionalString } from "./logging-CZEc8_v4.js";
2
+ import { d as getDb } from "./viewer-BlAozHer.js";
3
+ import { d as juniorDestinations } from "./agent-invocations-D_YoNnAn.js";
4
+ import { d as juniorLocationConfigurations } from "./executor-DQazjeGA.js";
5
+ import { Ut as persistConversationMessages } from "./tasks-DMmRrIVl.js";
6
+ import { tt as JUNIOR_THREAD_STATE_TTL_MS } from "./agent-hooks-C72ByH0C.js";
7
+ import { w as getStateAdapter } from "./profile-aVLDAirh.js";
8
8
  import { z } from "zod";
9
9
  import { randomUUID } from "node:crypto";
10
10
  import { and, eq, sql } from "drizzle-orm";
@@ -1,13 +1,13 @@
1
- import { _ as getProviderErrorUserMessage, g as getProviderErrorAttributes, h as findProviderError, p as ProviderError } from "./client-Bn9SRFCi.js";
2
- import { I as isRecord, t as buildTurnFailureResponse } from "./logging-Bs3dV81s.js";
1
+ import { _ as getProviderErrorUserMessage, g as getProviderErrorAttributes, h as findProviderError, p as ProviderError } from "./client-BVnfNd3D.js";
2
+ import { I as isRecord, t as buildTurnFailureResponse } from "./logging-CZEc8_v4.js";
3
3
  import { g as parseSlackMessageTs } from "./actor-BTtLaeWy.js";
4
- import { c as getConversationEventStore, d as getDb } from "./viewer-wCn8xneI.js";
5
- import { Ht as hydrateConversationMessages, nn as markConversationMessage } from "./tasks-Ddd7OAkp.js";
6
- import { At as listConversationAnnotations } from "./agent-hooks-Caa0Qh_Q.js";
7
- import { G as readMessageCardRefs, K as removedCardSchema, q as resolveMessageCards } from "./conversation-CvBG57Io.js";
8
- import { r as clearPendingAuth, u as buildDeterministicTurnId } from "./pending-auth-Bnhg7Q9k.js";
9
- import { g as markTurnCompleted, h as markTurnClosed } from "./oauth-authorization-COzWmMjO.js";
10
- import { o as persistThreadStateById, r as getPersistedThreadState, s as coerceThreadConversationState } from "./thread-state-DqErwbA8.js";
4
+ import { c as getConversationEventStore, d as getDb } from "./viewer-BlAozHer.js";
5
+ import { Ht as hydrateConversationMessages, nn as markConversationMessage } from "./tasks-DMmRrIVl.js";
6
+ import { At as listConversationAnnotations } from "./agent-hooks-C72ByH0C.js";
7
+ import { J as resolveMessageCards, K as readMessageCardRefs, q as removedCardSchema } from "./conversation-CYsbVFLx.js";
8
+ import { r as clearPendingAuth, u as buildDeterministicTurnId } from "./pending-auth-Oo5AQhaf.js";
9
+ import { d as markTurnCompleted, u as markTurnClosed } from "./oauth-authorization-BA4Dt6a7.js";
10
+ import { o as persistThreadStateById, r as getPersistedThreadState, s as coerceThreadConversationState } from "./thread-state-ehZYGpX9.js";
11
11
  //#region src/chat/conversations/pending-cards.ts
12
12
  /** Select undelivered cards and load their latest saved facts. */
13
13
  async function loadPendingMessageCards(conversationId) {
@@ -1,4 +1,4 @@
1
- import { c as getConversationEventStore } from "./viewer-wCn8xneI.js";
1
+ import { c as getConversationEventStore } from "./viewer-BlAozHer.js";
2
2
  //#region src/chat/conversations/turn-lifecycle.ts
3
3
  /** Persist correlated turn lifecycle facts with retry-safe terminal exclusion. */
4
4
  var ConversationTurnLifecycleService = class {
@@ -34,7 +34,7 @@ function slackSourceForDestination(args) {
34
34
  * Reads parent Conversations when this Conversation has no Destination.
35
35
  */
36
36
  async function resolveConversationRouting(args) {
37
- const conversationStore = args.conversationStore ?? (await import("./viewer-wCn8xneI.js").then((n) => n.s)).getConversationStore();
37
+ const conversationStore = args.conversationStore ?? (await import("./viewer-BlAozHer.js").then((n) => n.s)).getConversationStore();
38
38
  const chain = await loadConversationChain(args.conversationId, conversationStore);
39
39
  let destination;
40
40
  let source;
@@ -1,5 +1,5 @@
1
1
  import { t as __exportAll } from "./rolldown-runtime-B4FMCO8f.js";
2
- import { n as pluginCatalogRuntime } from "./catalog-runtime-wmq_fqff.js";
2
+ import { n as pluginCatalogRuntime } from "./catalog-runtime-DS1k7fUG.js";
3
3
  import { isDeepStrictEqual } from "node:util";
4
4
  //#region src/chat/plugins/validation.ts
5
5
  var validation_exports = /* @__PURE__ */ __exportAll({
@@ -1,5 +1,5 @@
1
1
  //#region package.json
2
- var version = "0.245.0";
2
+ var version = "0.247.0";
3
3
  //#endregion
4
4
  //#region src/version.ts
5
5
  /** Installed Junior package version, or `unknown` when package metadata is unavailable. */
package/dist/version.js CHANGED
@@ -1,2 +1,2 @@
1
- import { t as JUNIOR_VERSION } from "./version-CiXDH3oe.js";
1
+ import { t as JUNIOR_VERSION } from "./version-BrZSE5du.js";
2
2
  export { JUNIOR_VERSION };
@@ -1,9 +1,9 @@
1
1
  import { t as __exportAll } from "./rolldown-runtime-B4FMCO8f.js";
2
- import { F as normalizeIdentityEmail } from "./logging-Bs3dV81s.js";
3
- import { i as getChatConfig } from "./config-_XAINZMN.js";
2
+ import { F as normalizeIdentityEmail } from "./logging-CZEc8_v4.js";
3
+ import { i as getChatConfig } from "./config-CgWvImQL.js";
4
4
  import { d as parseSlackTeamId, o as parseActorUserId, u as parseSlackChannelReferenceId } from "./actor-BTtLaeWy.js";
5
- import { c as juniorIdentities, d as juniorDestinations, l as juniorUsers, o as conversationReadColumns, s as juniorConversations } from "./agent-invocations-BO6ddZax.js";
6
- import { _ as juniorConversationEvents, f as juniorConversationParticipants, g as juniorConversationMetrics, h as CONVERSATION_METRICS, p as juniorConversationBindings, t as createJuniorSqlExecutor, y as juniorConversationAnnotations } from "./executor-CFIqoCNJ.js";
5
+ import { c as juniorIdentities, d as juniorDestinations, l as juniorUsers, o as conversationReadColumns, s as juniorConversations } from "./agent-invocations-D_YoNnAn.js";
6
+ import { _ as juniorConversationEvents, f as juniorConversationParticipants, g as juniorConversationMetrics, h as CONVERSATION_METRICS, p as juniorConversationBindings, t as createJuniorSqlExecutor, y as juniorConversationAnnotations } from "./executor-DQazjeGA.js";
7
7
  import { c as newConversationEventSchema, l as encodeHistoryPayload, m as usageSchema, o as decodeStoredConversationEvent, r as conversationEventDataSchema, s as historyReplacementSchema } from "./history-Nte1oVed.js";
8
8
  import { randomUUID } from "node:crypto";
9
9
  import { and, asc, desc, eq, gt, gte, inArray, isNull, lt, lte, ne, or, sql } from "drizzle-orm";
@@ -1,9 +1,9 @@
1
- import { Ft as ensureConversationWake, Gt as requestConversationWork } from "./agent-runner-BEuPFbbv.js";
2
- import { c as getConversationEventStore } from "./viewer-wCn8xneI.js";
3
- import { Q as getTurnRecord, Z as failTurnRecord, q as loadTurnCheckpoint } from "./tasks-Ddd7OAkp.js";
4
- import { w as getStateAdapter } from "./profile-BA471c-l.js";
5
- import { a as getVercelConversationWorkQueue } from "./job-queue-CGicV7x6.js";
6
- import { n as resolveTurnSessionRouting } from "./turn-session-routing-D6pTU5uF.js";
1
+ import { c as getConversationEventStore } from "./viewer-BlAozHer.js";
2
+ import { Q as getTurnRecord, Z as failTurnRecord, q as loadTurnCheckpoint } from "./tasks-DMmRrIVl.js";
3
+ import { w as getStateAdapter } from "./profile-aVLDAirh.js";
4
+ import { a as getVercelConversationWorkQueue } from "./job-queue-BEUqRhjC.js";
5
+ import { m as ensureConversationWake, w as requestConversationWork } from "./store-DjLA8GKs.js";
6
+ import { n as resolveTurnSessionRouting } from "./turn-session-routing-Bw-yiSb4.js";
7
7
  import { z } from "zod";
8
8
  import { randomUUID } from "node:crypto";
9
9
  //#region src/chat/task-execution/authorized-turn.ts