@sentry/junior 0.146.0 → 0.148.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 (227) hide show
  1. package/dist/{agent-hooks-SLJADYE5.js → agent-hooks-VAUYT6PD.js} +10 -10
  2. package/dist/api/conversations/access.d.ts +2 -1
  3. package/dist/api/conversations/archive.d.ts +3 -5
  4. package/dist/api/conversations/create.d.ts +6 -0
  5. package/dist/api/conversations/detail.d.ts +2 -295
  6. package/dist/api/conversations/event-list.d.ts +2 -192
  7. package/dist/api/conversations/list.d.ts +4 -66
  8. package/dist/api/conversations/routes.d.ts +1 -1
  9. package/dist/api/conversations/stats.d.ts +0 -54
  10. package/dist/api/http.d.ts +2 -6
  11. package/dist/api/locations/detail.d.ts +3 -111
  12. package/dist/api/locations/list.d.ts +0 -45
  13. package/dist/api/locations/query.d.ts +2 -1
  14. package/dist/api/locations/routes.d.ts +1 -1
  15. package/dist/api/people/list.d.ts +0 -29
  16. package/dist/api/people/profile.d.ts +2 -106
  17. package/dist/api/people/profile.query.d.ts +2 -1
  18. package/dist/api/people/routes.d.ts +1 -1
  19. package/dist/api/people/shared.d.ts +1 -1
  20. package/dist/api/people/spend.d.ts +3 -4
  21. package/dist/api/personal-tokens/routes.d.ts +2 -2
  22. package/dist/api/route.d.ts +8 -14
  23. package/dist/api/schema/conversation.d.ts +64 -29
  24. package/dist/api/schema/location.d.ts +4 -0
  25. package/dist/api/schema/person.d.ts +7 -3
  26. package/dist/api/schema.d.ts +2 -2
  27. package/dist/api/schema.js +7 -1
  28. package/dist/api/stats.d.ts +0 -13
  29. package/dist/api/validation.d.ts +7 -0
  30. package/dist/api/viewer.d.ts +3 -0
  31. package/dist/api.d.ts +2 -1
  32. package/dist/api.js +630 -564
  33. package/dist/app.js +369 -309
  34. package/dist/{catalog-runtime-RQIMSDPR.js → catalog-runtime-WADOZVTB.js} +5 -5
  35. package/dist/chat/actor.d.ts +4 -1
  36. package/dist/chat/agent/prompt.d.ts +0 -2
  37. package/dist/chat/agent/request.d.ts +4 -5
  38. package/dist/chat/agent/resume.d.ts +1 -0
  39. package/dist/chat/agent/sandbox.d.ts +2 -2
  40. package/dist/chat/agent/tools.d.ts +0 -2
  41. package/dist/chat/agent-dispatch/context.d.ts +2 -2
  42. package/dist/chat/agent-dispatch/types.d.ts +2 -2
  43. package/dist/chat/agent-invocations/types.d.ts +52 -0
  44. package/dist/chat/api-turns/work.d.ts +103 -0
  45. package/dist/chat/capabilities/jr-rpc-command.d.ts +2 -2
  46. package/dist/chat/configuration/service.d.ts +5 -2
  47. package/dist/chat/configuration/sql.d.ts +9 -0
  48. package/dist/chat/configuration/types.d.ts +17 -13
  49. package/dist/chat/conversations/history.d.ts +63 -0
  50. package/dist/chat/conversations/projection.d.ts +10 -0
  51. package/dist/chat/conversations/provenance.d.ts +6 -0
  52. package/dist/chat/conversations/sql/actor-identity.d.ts +19 -0
  53. package/dist/chat/conversations/store.d.ts +1 -1
  54. package/dist/chat/credentials/unlink-provider.d.ts +2 -1
  55. package/dist/chat/credentials/user-token-store.d.ts +2 -0
  56. package/dist/chat/event-tasks/tool-support.d.ts +2 -0
  57. package/dist/chat/identities/sql.d.ts +8 -0
  58. package/dist/chat/logging.d.ts +2 -0
  59. package/dist/chat/mcp/auth-store.d.ts +0 -2
  60. package/dist/chat/mcp/oauth.d.ts +0 -2
  61. package/dist/chat/oauth-flow.d.ts +3 -1
  62. package/dist/chat/pi/client.d.ts +2 -0
  63. package/dist/chat/plugins/credential-hooks.d.ts +2 -0
  64. package/dist/chat/prompt.d.ts +0 -2
  65. package/dist/chat/resource-events/notification.d.ts +2 -1
  66. package/dist/chat/resource-events/store.d.ts +1 -1
  67. package/dist/chat/runtime/delivered-turn-state.d.ts +1 -4
  68. package/dist/chat/runtime/reply-executor.d.ts +1 -1
  69. package/dist/chat/runtime/slack-runtime.d.ts +2 -1
  70. package/dist/chat/runtime/thread-state.d.ts +8 -11
  71. package/dist/chat/runtime/turn-input.d.ts +4 -2
  72. package/dist/chat/runtime/turn-preparation.d.ts +11 -4
  73. package/dist/chat/sandbox/command-result.d.ts +2 -0
  74. package/dist/chat/sandbox/egress/schemas.d.ts +6 -0
  75. package/dist/chat/scheduled-tasks/tool-support.d.ts +7 -5
  76. package/dist/chat/scheduled-tasks/tools/create.d.ts +4 -2
  77. package/dist/chat/scheduled-tasks/tools/delete.d.ts +4 -2
  78. package/dist/chat/scheduled-tasks/tools/list.d.ts +4 -2
  79. package/dist/chat/scheduled-tasks/tools/run-now.d.ts +4 -2
  80. package/dist/chat/scheduled-tasks/tools/update.d.ts +4 -2
  81. package/dist/chat/services/mcp-auth-orchestration.d.ts +0 -3
  82. package/dist/chat/services/plugin-auth-orchestration.d.ts +2 -1
  83. package/dist/chat/services/provider-default-config.d.ts +2 -2
  84. package/dist/chat/services/subscribed-decision.d.ts +3 -0
  85. package/dist/chat/services/subscribed-reply-policy.d.ts +1 -0
  86. package/dist/chat/services/turn-result.d.ts +0 -3
  87. package/dist/chat/services/turn-router.d.ts +3 -0
  88. package/dist/chat/slack/assistant-thread/lifecycle.d.ts +0 -1
  89. package/dist/chat/slack/assistant-thread/title.d.ts +0 -3
  90. package/dist/chat/slack/channel.d.ts +26 -0
  91. package/dist/chat/slack/dispatch-turn.d.ts +2 -1
  92. package/dist/chat/slack/timestamp-param.d.ts +0 -2
  93. package/dist/chat/slack/{tools → tool-support}/canvas/api.d.ts +1 -1
  94. package/dist/chat/slack/tool-support/canvas/context.d.ts +11 -0
  95. package/dist/chat/slack/tool-support/channel-access.d.ts +42 -0
  96. package/dist/chat/slack/tool-support/channel-target.d.ts +27 -0
  97. package/dist/chat/slack/{tools → tool-support}/list/api.d.ts +8 -1
  98. package/dist/chat/slack/tool-support/list/params.d.ts +5 -0
  99. package/dist/chat/slack/tools/canvas/create.d.ts +3 -1
  100. package/dist/chat/slack/tools/canvas/edit.d.ts +2 -0
  101. package/dist/chat/slack/tools/canvas/read.d.ts +2 -0
  102. package/dist/chat/slack/tools/canvas/write.d.ts +2 -0
  103. package/dist/chat/slack/tools/{user-lookup.d.ts → channel-join.d.ts} +6 -5
  104. package/dist/chat/slack/tools/channel-list-messages.d.ts +5 -2
  105. package/dist/chat/slack/tools/conversation-message-search.d.ts +4 -8
  106. package/dist/chat/slack/tools/list/add-items.d.ts +4 -1
  107. package/dist/chat/slack/tools/list/create.d.ts +2 -0
  108. package/dist/chat/slack/tools/list/get-items.d.ts +5 -3
  109. package/dist/chat/slack/tools/list/update-item.d.ts +5 -1
  110. package/dist/chat/slack/tools/message-add-reaction.d.ts +3 -1
  111. package/dist/chat/slack/tools/public-search.d.ts +65 -2
  112. package/dist/chat/slack/tools/send-files.d.ts +3 -1
  113. package/dist/chat/slack/tools/thread-read.d.ts +4 -5
  114. package/dist/chat/slack/vision-cache.d.ts +5 -0
  115. package/dist/chat/source.d.ts +2 -0
  116. package/dist/chat/state/conversation.d.ts +4 -5
  117. package/dist/chat/task-execution/checkpoint.d.ts +1 -0
  118. package/dist/chat/task-execution/state.d.ts +9 -4
  119. package/dist/chat/task-execution/store.d.ts +3 -2
  120. package/dist/chat/task-execution/turn-cursor.d.ts +2 -0
  121. package/dist/chat/task-execution/worker.d.ts +2 -0
  122. package/dist/chat/tasks/read.d.ts +1 -1
  123. package/dist/chat/tool-support/structured-result.d.ts +1 -0
  124. package/dist/chat/tool-support/timed-out-tool-result.d.ts +11 -0
  125. package/dist/chat/tools/create-event-task.d.ts +2 -0
  126. package/dist/chat/tools/delete-event-task.d.ts +2 -0
  127. package/dist/chat/tools/handoff/tool.d.ts +2 -0
  128. package/dist/chat/tools/list-event-tasks.d.ts +2 -0
  129. package/dist/chat/tools/list-resource-event-subscriptions.d.ts +2 -0
  130. package/dist/chat/tools/runtime/report-progress.d.ts +2 -0
  131. package/dist/chat/tools/runtime/spawn-agent.d.ts +2 -0
  132. package/dist/chat/tools/search-conversation-events.d.ts +3 -1
  133. package/dist/chat/tools/search-resource-event-types.d.ts +2 -0
  134. package/dist/chat/tools/search-tools.d.ts +2 -0
  135. package/dist/chat/tools/skill/load-skill.d.ts +2 -0
  136. package/dist/chat/tools/skill/search-mcp-tools.d.ts +2 -0
  137. package/dist/chat/tools/stop-watching-resources.d.ts +2 -0
  138. package/dist/chat/tools/system-time.d.ts +2 -0
  139. package/dist/chat/tools/types.d.ts +11 -10
  140. package/dist/chat/tools/update-event-task.d.ts +2 -0
  141. package/dist/chat/tools/user-lookup.d.ts +29 -0
  142. package/dist/chat/tools/watch-resource-events.d.ts +4 -2
  143. package/dist/chat/tools/web/fetch-tool.d.ts +2 -0
  144. package/dist/chat/tools/web/image-generate.d.ts +2 -0
  145. package/dist/chat/tools/web/search.d.ts +2 -0
  146. package/dist/{chunk-GYEKOX7N.js → chunk-2B3PT3V2.js} +1 -1
  147. package/dist/{chunk-JLMVCNXL.js → chunk-45LOR4PU.js} +22 -4
  148. package/dist/{chunk-FGHADGIC.js → chunk-4AQZYNHM.js} +2 -2
  149. package/dist/{chunk-W65V465O.js → chunk-4EA2SFK2.js} +66 -4
  150. package/dist/{chunk-MKRIZ4VG.js → chunk-4GXJUYJV.js} +4 -2
  151. package/dist/{chunk-F7REGDKO.js → chunk-55F4QU2V.js} +2 -1
  152. package/dist/{chunk-M6ZWP4RI.js → chunk-7OEIXFC3.js} +2 -2
  153. package/dist/{chunk-MCFIXAV5.js → chunk-D3WPMGEX.js} +55 -37
  154. package/dist/{chunk-AISNSNDV.js → chunk-D6YX4NNN.js} +22 -10
  155. package/dist/chunk-DUY5CDAM.js +36 -0
  156. package/dist/{chunk-B63BF443.js → chunk-EAI67NTM.js} +9 -1
  157. package/dist/{chunk-FEKQHPVA.js → chunk-EINWQFXI.js} +9 -8
  158. package/dist/chunk-GDFF3BQG.js +136 -0
  159. package/dist/{chunk-X22KCSCO.js → chunk-GXYDVZKM.js} +7 -5
  160. package/dist/{chunk-X2WMBTS3.js → chunk-HLPLT3NY.js} +8 -5
  161. package/dist/{chunk-PB222GIA.js → chunk-HWQGBIH7.js} +1 -1
  162. package/dist/chunk-IL4EDBMV.js +566 -0
  163. package/dist/{chunk-HQE6EJS5.js → chunk-LAZGHEYU.js} +1 -1
  164. package/dist/{chunk-QG7OOKIN.js → chunk-LE5H7LMT.js} +1 -1
  165. package/dist/chunk-LNVEIJ2L.js +48 -0
  166. package/dist/{chunk-JUA6VU2Z.js → chunk-OJCP3C3J.js} +12 -23
  167. package/dist/{chunk-37JJDS4H.js → chunk-POSZWRGL.js} +1 -1
  168. package/dist/{chunk-TCEJ7XXM.js → chunk-QOWHHM3F.js} +1 -1
  169. package/dist/{chunk-H6U2U3EP.js → chunk-RRJV5UR5.js} +304 -65
  170. package/dist/{chunk-OFPYOC3M.js → chunk-ULAU5ZGU.js} +127 -120
  171. package/dist/{chunk-V6SRLKUB.js → chunk-V2FXMOEA.js} +2 -2
  172. package/dist/{chunk-GDQEU4I7.js → chunk-VCYSOXON.js} +296 -526
  173. package/dist/{chunk-BLETMLRX.js → chunk-VMNRXKAH.js} +1374 -989
  174. package/dist/{chunk-37EVZP66.js → chunk-VRHTNBA6.js} +167 -92
  175. package/dist/{chunk-FXDDDSPL.js → chunk-VY6W3T43.js} +4 -4
  176. package/dist/{chunk-ZDGHGY74.js → chunk-WCN4YSH7.js} +13 -6
  177. package/dist/{chunk-PH4Q3A6W.js → chunk-WOONT5ZP.js} +1 -1
  178. package/dist/{chunk-47OSH2ZO.js → chunk-XJ42NBP5.js} +395 -206
  179. package/dist/{chunk-SCGVWUZX.js → chunk-ZCHIC2GM.js} +92 -75
  180. package/dist/chunk-ZPL2RR7F.js +798 -0
  181. package/dist/cli/chat.js +33 -35
  182. package/dist/cli/check.js +6 -6
  183. package/dist/cli/plugins.js +13 -13
  184. package/dist/cli/snapshot-create.js +9 -9
  185. package/dist/cli/upgrade.js +7 -7
  186. package/dist/db/schema/agent-invocations.d.ts +20 -0
  187. package/dist/db/schema/conversation-annotations.d.ts +2 -2
  188. package/dist/db/schema/location-configurations.d.ts +127 -0
  189. package/dist/db/schema.d.ts +150 -3
  190. package/dist/{db-WWOMXWTT.js → db-XUKZRFFK.js} +7 -7
  191. package/dist/instrumentation.js +4 -4
  192. package/dist/nitro.js +2 -2
  193. package/dist/{oauth-callback-server-A6ZZX74U.js → oauth-callback-server-LPZMMGFI.js} +25 -26
  194. package/dist/{runner-KSGB2UAV.js → runner-DGKUTMPX.js} +22 -41
  195. package/dist/{skills-26QPWKVS.js → skills-P7YUFSXM.js} +6 -6
  196. package/dist/spawn-DSK3ZEVD.js +38 -0
  197. package/dist/{validation-OPSRGFGH.js → validation-S7U5M5NR.js} +6 -6
  198. package/dist/version.js +1 -1
  199. package/dist/{work-VMSW7STJ.js → work-GAA7TVAD.js} +18 -19
  200. package/dist/{worker-2JNFB7C7.js → worker-JXPJH3QB.js} +11 -10
  201. package/migrations/0024_misty_typhoid_mary.sql +12 -0
  202. package/migrations/meta/0024_snapshot.json +2275 -0
  203. package/migrations/meta/_journal.json +7 -0
  204. package/package.json +6 -5
  205. package/dist/api/health.d.ts +0 -7
  206. package/dist/api/personal-tokens/create.d.ts +0 -11
  207. package/dist/api/personal-tokens/list.d.ts +0 -12
  208. package/dist/api/personal-tokens/revoke.d.ts +0 -5
  209. package/dist/api/plugin-reports.d.ts +0 -63
  210. package/dist/api/plugins.d.ts +0 -8
  211. package/dist/api/runtime.d.ts +0 -24
  212. package/dist/api/skills.d.ts +0 -6
  213. package/dist/chat/slack/tools/canvas/context.d.ts +0 -18
  214. package/dist/chat/slack/tools/channel-access.d.ts +0 -30
  215. package/dist/chat/state/artifacts.d.ts +0 -30
  216. package/dist/chat/tool-support/turn-deadline-result.d.ts +0 -3
  217. package/dist/chunk-HLXXQI5Q.js +0 -238
  218. package/dist/chunk-LVW7BLLT.js +0 -115
  219. package/dist/chunk-Q6QZTTLS.js +0 -55
  220. package/dist/chunk-QSXZ42KX.js +0 -285
  221. package/dist/chunk-R776HKPK.js +0 -81
  222. package/dist/chunk-T5GXFFLA.js +0 -67
  223. package/dist/spawn-5LAJXZ2P.js +0 -39
  224. /package/dist/chat/slack/{tools → tool-support}/canvas/markdown.d.ts +0 -0
  225. /package/dist/chat/slack/{tools → tool-support}/channel-capabilities.d.ts +0 -0
  226. /package/dist/chat/slack/{tools → tool-support}/context.d.ts +0 -0
  227. /package/dist/chat/slack/{tools → tool-support}/slack-message-url.d.ts +0 -0
package/dist/cli/chat.js CHANGED
@@ -1,48 +1,46 @@
1
1
  import {
2
2
  createAgentRunner,
3
3
  executeAgentRun
4
- } from "../chunk-BLETMLRX.js";
5
- import "../chunk-FEKQHPVA.js";
4
+ } from "../chunk-VMNRXKAH.js";
5
+ import "../chunk-EINWQFXI.js";
6
6
  import "../chunk-DIB4GX3G.js";
7
- import "../chunk-47OSH2ZO.js";
8
- import "../chunk-R776HKPK.js";
9
- import "../chunk-ZDGHGY74.js";
10
- import "../chunk-T5GXFFLA.js";
11
- import "../chunk-GDQEU4I7.js";
12
- import "../chunk-3Y47VMHV.js";
7
+ import "../chunk-XJ42NBP5.js";
8
+ import "../chunk-GDFF3BQG.js";
9
+ import "../chunk-WCN4YSH7.js";
13
10
  import "../chunk-HUO3UTAQ.js";
14
11
  import "../chunk-5IDFPCON.js";
15
- import "../chunk-FXDDDSPL.js";
16
- import "../chunk-X22KCSCO.js";
17
- import "../chunk-PH4Q3A6W.js";
18
- import "../chunk-W65V465O.js";
19
- import "../chunk-HLXXQI5Q.js";
12
+ import "../chunk-VY6W3T43.js";
13
+ import "../chunk-GXYDVZKM.js";
14
+ import "../chunk-WOONT5ZP.js";
15
+ import "../chunk-4EA2SFK2.js";
16
+ import "../chunk-VCYSOXON.js";
17
+ import "../chunk-3Y47VMHV.js";
20
18
  import "../chunk-PDO5BLNM.js";
21
19
  import "../chunk-UIE3R5XU.js";
22
20
  import {
23
21
  loadAppPluginSet
24
22
  } from "../chunk-Y2CM7HXH.js";
25
- import "../chunk-SCGVWUZX.js";
26
- import "../chunk-V6SRLKUB.js";
27
- import "../chunk-37EVZP66.js";
28
- import "../chunk-MCFIXAV5.js";
23
+ import "../chunk-ZCHIC2GM.js";
24
+ import "../chunk-V2FXMOEA.js";
25
+ import "../chunk-VRHTNBA6.js";
26
+ import "../chunk-D3WPMGEX.js";
29
27
  import "../chunk-EM225ITJ.js";
30
- import "../chunk-GYEKOX7N.js";
31
- import "../chunk-MKRIZ4VG.js";
28
+ import "../chunk-2B3PT3V2.js";
29
+ import "../chunk-4GXJUYJV.js";
32
30
  import "../chunk-VFUK3X5B.js";
33
- import "../chunk-QG7OOKIN.js";
34
- import "../chunk-FGHADGIC.js";
35
- import "../chunk-PB222GIA.js";
36
- import "../chunk-37JJDS4H.js";
31
+ import "../chunk-LE5H7LMT.js";
32
+ import "../chunk-4AQZYNHM.js";
33
+ import "../chunk-HWQGBIH7.js";
34
+ import "../chunk-POSZWRGL.js";
37
35
  import "../chunk-RUIXF3YQ.js";
38
36
  import "../chunk-HZF5P5UN.js";
39
37
  import "../chunk-F3B2YJ76.js";
40
- import "../chunk-B63BF443.js";
38
+ import "../chunk-EAI67NTM.js";
41
39
  import "../chunk-6GWA276C.js";
42
40
  import "../chunk-OOUNJNMR.js";
43
41
  import "../chunk-H4HBKISO.js";
44
- import "../chunk-HQE6EJS5.js";
45
- import "../chunk-F7REGDKO.js";
42
+ import "../chunk-LAZGHEYU.js";
43
+ import "../chunk-55F4QU2V.js";
46
44
  import "../chunk-MLKGABMK.js";
47
45
 
48
46
  // src/cli/chat.ts
@@ -165,10 +163,10 @@ async function configureLocalChatPlugins(pluginSet) {
165
163
  databaseModule
166
164
  ] = await Promise.all([
167
165
  import("../plugins-HW4VWW6G.js"),
168
- import("../agent-hooks-SLJADYE5.js"),
169
- import("../catalog-runtime-RQIMSDPR.js"),
170
- import("../validation-OPSRGFGH.js"),
171
- import("../db-WWOMXWTT.js")
166
+ import("../agent-hooks-VAUYT6PD.js"),
167
+ import("../catalog-runtime-WADOZVTB.js"),
168
+ import("../validation-S7U5M5NR.js"),
169
+ import("../db-XUKZRFFK.js")
172
170
  ]);
173
171
  const resolvedPluginSet = pluginSet === void 0 ? await loadLocalPluginSet() : pluginSet ?? void 0;
174
172
  const plugins = pluginsModule.pluginRuntimeRegistrationsFromPluginSet(resolvedPluginSet);
@@ -234,14 +232,14 @@ async function prepareLocalChatRun(io, pluginSet) {
234
232
  await configureLocalChatPlugins(pluginSet);
235
233
  const { setExperimentalFeatures } = await import("../experimental-HH6OM6UH.js");
236
234
  setExperimentalFeatures({ subagents: true });
237
- const { runLocalAgentTurn } = await import("../runner-KSGB2UAV.js");
238
- const { startLocalOAuthCallbackServer } = await import("../oauth-callback-server-A6ZZX74U.js");
235
+ const { runLocalAgentTurn } = await import("../runner-DGKUTMPX.js");
236
+ const { startLocalOAuthCallbackServer } = await import("../oauth-callback-server-LPZMMGFI.js");
239
237
  const { createLocalOAuthState } = await import("../oauth-relay-3ZU72UGL.js");
240
238
  const { createLocalSandboxEgressSignalTransport } = await import("../sandbox-egress-signals-EKPAVWQL.js");
241
- const { bindSpawnAgent } = await import("../spawn-5LAJXZ2P.js");
242
- const { createAgentInvocationWorker, routeAgentInvocationWork } = await import("../work-VMSW7STJ.js");
239
+ const { bindSpawnAgent } = await import("../spawn-DSK3ZEVD.js");
240
+ const { createAgentInvocationWorker, routeAgentInvocationWork } = await import("../work-GAA7TVAD.js");
243
241
  const { createLocalConversationWork } = await import("../conversation-work-KATFHLG3.js");
244
- const { processConversationWork } = await import("../worker-2JNFB7C7.js");
242
+ const { processConversationWork } = await import("../worker-JXPJH3QB.js");
245
243
  let agentRunner;
246
244
  const localConversationWork = createLocalConversationWork(async (message) => {
247
245
  if (!agentRunner) {
package/dist/cli/check.js CHANGED
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  parseSkillFile
3
- } from "../chunk-FGHADGIC.js";
4
- import "../chunk-PB222GIA.js";
3
+ } from "../chunk-4AQZYNHM.js";
4
+ import "../chunk-HWQGBIH7.js";
5
5
  import {
6
6
  parseInlinePluginManifest,
7
7
  parsePluginManifest
8
- } from "../chunk-37JJDS4H.js";
8
+ } from "../chunk-POSZWRGL.js";
9
9
  import "../chunk-RUIXF3YQ.js";
10
10
  import "../chunk-HZF5P5UN.js";
11
11
  import "../chunk-F3B2YJ76.js";
12
- import "../chunk-B63BF443.js";
12
+ import "../chunk-EAI67NTM.js";
13
13
  import "../chunk-6GWA276C.js";
14
14
  import "../chunk-OOUNJNMR.js";
15
15
  import "../chunk-H4HBKISO.js";
@@ -17,8 +17,8 @@ import {
17
17
  JUNIOR_CONVERSATION_WORK_CALLBACK_ROUTE,
18
18
  JUNIOR_HEARTBEAT_ROUTE,
19
19
  LEGACY_JUNIOR_CONVERSATION_WORK_FUNCTION
20
- } from "../chunk-HQE6EJS5.js";
21
- import "../chunk-F7REGDKO.js";
20
+ } from "../chunk-LAZGHEYU.js";
21
+ import "../chunk-55F4QU2V.js";
22
22
  import "../chunk-MLKGABMK.js";
23
23
 
24
24
  // src/cli/check.ts
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  validatePluginEgressCredentialHooks,
3
3
  validatePluginRegistrations
4
- } from "../chunk-TCEJ7XXM.js";
4
+ } from "../chunk-QOWHHM3F.js";
5
5
  import {
6
6
  pluginCatalogConfigFromPluginSet,
7
7
  pluginCliRegistrationsFromPluginSet,
@@ -14,30 +14,30 @@ import {
14
14
  createPluginLogger,
15
15
  setPlugins,
16
16
  validatePlugins
17
- } from "../chunk-SCGVWUZX.js";
18
- import "../chunk-V6SRLKUB.js";
17
+ } from "../chunk-ZCHIC2GM.js";
18
+ import "../chunk-V2FXMOEA.js";
19
19
  import {
20
20
  getDb
21
- } from "../chunk-37EVZP66.js";
22
- import "../chunk-MCFIXAV5.js";
21
+ } from "../chunk-VRHTNBA6.js";
22
+ import "../chunk-D3WPMGEX.js";
23
23
  import "../chunk-EM225ITJ.js";
24
- import "../chunk-GYEKOX7N.js";
25
- import "../chunk-MKRIZ4VG.js";
24
+ import "../chunk-2B3PT3V2.js";
25
+ import "../chunk-4GXJUYJV.js";
26
26
  import "../chunk-VFUK3X5B.js";
27
- import "../chunk-QG7OOKIN.js";
27
+ import "../chunk-LE5H7LMT.js";
28
28
  import {
29
29
  pluginCatalogRuntime
30
- } from "../chunk-PB222GIA.js";
31
- import "../chunk-37JJDS4H.js";
30
+ } from "../chunk-HWQGBIH7.js";
31
+ import "../chunk-POSZWRGL.js";
32
32
  import "../chunk-RUIXF3YQ.js";
33
33
  import "../chunk-HZF5P5UN.js";
34
34
  import "../chunk-F3B2YJ76.js";
35
- import "../chunk-B63BF443.js";
35
+ import "../chunk-EAI67NTM.js";
36
36
  import "../chunk-6GWA276C.js";
37
37
  import "../chunk-OOUNJNMR.js";
38
38
  import "../chunk-H4HBKISO.js";
39
- import "../chunk-HQE6EJS5.js";
40
- import "../chunk-F7REGDKO.js";
39
+ import "../chunk-LAZGHEYU.js";
40
+ import "../chunk-55F4QU2V.js";
41
41
  import "../chunk-MLKGABMK.js";
42
42
 
43
43
  // src/cli/plugins.ts
@@ -1,26 +1,26 @@
1
1
  import {
2
2
  create,
3
3
  resolve
4
- } from "../chunk-FXDDDSPL.js";
4
+ } from "../chunk-VY6W3T43.js";
5
5
  import "../chunk-EM225ITJ.js";
6
6
  import {
7
7
  disconnectStateAdapter
8
- } from "../chunk-GYEKOX7N.js";
9
- import "../chunk-MKRIZ4VG.js";
10
- import "../chunk-QG7OOKIN.js";
8
+ } from "../chunk-2B3PT3V2.js";
9
+ import "../chunk-4GXJUYJV.js";
10
+ import "../chunk-LE5H7LMT.js";
11
11
  import {
12
12
  pluginCatalogRuntime
13
- } from "../chunk-PB222GIA.js";
14
- import "../chunk-37JJDS4H.js";
13
+ } from "../chunk-HWQGBIH7.js";
14
+ import "../chunk-POSZWRGL.js";
15
15
  import "../chunk-RUIXF3YQ.js";
16
16
  import "../chunk-HZF5P5UN.js";
17
17
  import "../chunk-F3B2YJ76.js";
18
- import "../chunk-B63BF443.js";
18
+ import "../chunk-EAI67NTM.js";
19
19
  import "../chunk-6GWA276C.js";
20
20
  import "../chunk-OOUNJNMR.js";
21
21
  import "../chunk-H4HBKISO.js";
22
- import "../chunk-HQE6EJS5.js";
23
- import "../chunk-F7REGDKO.js";
22
+ import "../chunk-LAZGHEYU.js";
23
+ import "../chunk-55F4QU2V.js";
24
24
  import "../chunk-MLKGABMK.js";
25
25
 
26
26
  // src/cli/snapshot-create.ts
@@ -8,24 +8,24 @@ import {
8
8
  } from "../chunk-Y2CM7HXH.js";
9
9
  import {
10
10
  createJuniorSqlExecutor
11
- } from "../chunk-MCFIXAV5.js";
11
+ } from "../chunk-D3WPMGEX.js";
12
12
  import {
13
13
  getChatConfig
14
- } from "../chunk-MKRIZ4VG.js";
14
+ } from "../chunk-4GXJUYJV.js";
15
15
  import "../chunk-VFUK3X5B.js";
16
- import "../chunk-QG7OOKIN.js";
16
+ import "../chunk-LE5H7LMT.js";
17
17
  import {
18
18
  createPluginCatalogRuntime
19
- } from "../chunk-37JJDS4H.js";
19
+ } from "../chunk-POSZWRGL.js";
20
20
  import "../chunk-RUIXF3YQ.js";
21
21
  import "../chunk-HZF5P5UN.js";
22
22
  import "../chunk-F3B2YJ76.js";
23
- import "../chunk-B63BF443.js";
23
+ import "../chunk-EAI67NTM.js";
24
24
  import "../chunk-6GWA276C.js";
25
25
  import "../chunk-OOUNJNMR.js";
26
26
  import "../chunk-H4HBKISO.js";
27
- import "../chunk-HQE6EJS5.js";
28
- import "../chunk-F7REGDKO.js";
27
+ import "../chunk-LAZGHEYU.js";
28
+ import "../chunk-55F4QU2V.js";
29
29
  import "../chunk-MLKGABMK.js";
30
30
 
31
31
  // src/chat/conversations/sql/migrations.ts
@@ -166,6 +166,12 @@ export declare const juniorAgentInvocations: import("drizzle-orm/pg-core").PgTab
166
166
  email?: string | undefined;
167
167
  fullName?: string | undefined;
168
168
  userName?: string | undefined;
169
+ } | {
170
+ platform: "web";
171
+ userId: string;
172
+ email?: string | undefined;
173
+ fullName?: string | undefined;
174
+ userName?: string | undefined;
169
175
  } | {
170
176
  platform: "system";
171
177
  name: string;
@@ -194,6 +200,12 @@ export declare const juniorAgentInvocations: import("drizzle-orm/pg-core").PgTab
194
200
  email?: string | undefined;
195
201
  fullName?: string | undefined;
196
202
  userName?: string | undefined;
203
+ } | {
204
+ platform: "web";
205
+ userId: string;
206
+ email?: string | undefined;
207
+ fullName?: string | undefined;
208
+ userName?: string | undefined;
197
209
  } | {
198
210
  platform: "system";
199
211
  name: string;
@@ -320,6 +332,10 @@ export declare const juniorAgentInvocations: import("drizzle-orm/pg-core").PgTab
320
332
  platform: "local";
321
333
  visibility: "private";
322
334
  conversationId: string;
335
+ } | {
336
+ platform: "web";
337
+ visibility: "public" | "private";
338
+ conversationId: string;
323
339
  };
324
340
  driverParam: unknown;
325
341
  notNull: true;
@@ -343,6 +359,10 @@ export declare const juniorAgentInvocations: import("drizzle-orm/pg-core").PgTab
343
359
  platform: "local";
344
360
  visibility: "private";
345
361
  conversationId: string;
362
+ } | {
363
+ platform: "web";
364
+ visibility: "public" | "private";
365
+ conversationId: string;
346
366
  };
347
367
  }>;
348
368
  destination: import("drizzle-orm/pg-core").PgColumn<{
@@ -81,7 +81,7 @@ export declare const juniorConversationAnnotations: import("drizzle-orm/pg-core"
81
81
  label: string;
82
82
  url: string;
83
83
  description?: string | undefined;
84
- status?: "warning" | "open" | "draft" | "closed" | "merged" | undefined;
84
+ status?: "open" | "draft" | "closed" | "merged" | "warning" | undefined;
85
85
  };
86
86
  driverParam: unknown;
87
87
  notNull: true;
@@ -100,7 +100,7 @@ export declare const juniorConversationAnnotations: import("drizzle-orm/pg-core"
100
100
  label: string;
101
101
  url: string;
102
102
  description?: string | undefined;
103
- status?: "warning" | "open" | "draft" | "closed" | "merged" | undefined;
103
+ status?: "open" | "draft" | "closed" | "merged" | "warning" | undefined;
104
104
  };
105
105
  }>;
106
106
  createdAt: import("drizzle-orm/pg-core").PgColumn<{
@@ -0,0 +1,127 @@
1
+ /** Durable user configuration entries scoped to provider Locations. */
2
+ export declare const juniorLocationConfigurations: import("drizzle-orm/pg-core").PgTableWithColumns<{
3
+ name: "junior_location_configurations";
4
+ schema: undefined;
5
+ columns: {
6
+ locationId: import("drizzle-orm/pg-core").PgColumn<{
7
+ name: "location_id";
8
+ tableName: "junior_location_configurations";
9
+ dataType: "string";
10
+ columnType: "PgText";
11
+ data: string;
12
+ driverParam: string;
13
+ notNull: true;
14
+ hasDefault: false;
15
+ isPrimaryKey: false;
16
+ isAutoincrement: false;
17
+ hasRuntimeDefault: false;
18
+ enumValues: [string, ...string[]];
19
+ baseColumn: never;
20
+ identity: undefined;
21
+ generated: undefined;
22
+ }, {}, {}>;
23
+ key: import("drizzle-orm/pg-core").PgColumn<{
24
+ name: "key";
25
+ tableName: "junior_location_configurations";
26
+ dataType: "string";
27
+ columnType: "PgText";
28
+ data: string;
29
+ driverParam: string;
30
+ notNull: true;
31
+ hasDefault: false;
32
+ isPrimaryKey: false;
33
+ isAutoincrement: false;
34
+ hasRuntimeDefault: false;
35
+ enumValues: [string, ...string[]];
36
+ baseColumn: never;
37
+ identity: undefined;
38
+ generated: undefined;
39
+ }, {}, {}>;
40
+ value: import("drizzle-orm/pg-core").PgColumn<{
41
+ name: "value";
42
+ tableName: "junior_location_configurations";
43
+ dataType: "string";
44
+ columnType: "PgText";
45
+ data: string;
46
+ driverParam: string;
47
+ notNull: true;
48
+ hasDefault: false;
49
+ isPrimaryKey: false;
50
+ isAutoincrement: false;
51
+ hasRuntimeDefault: false;
52
+ enumValues: [string, ...string[]];
53
+ baseColumn: never;
54
+ identity: undefined;
55
+ generated: undefined;
56
+ }, {}, {}>;
57
+ updatedAt: import("drizzle-orm/pg-core").PgColumn<{
58
+ name: string;
59
+ tableName: "junior_location_configurations";
60
+ dataType: "date";
61
+ columnType: "PgTimestamp";
62
+ data: Date;
63
+ driverParam: string;
64
+ notNull: true;
65
+ hasDefault: false;
66
+ isPrimaryKey: false;
67
+ isAutoincrement: false;
68
+ hasRuntimeDefault: false;
69
+ enumValues: undefined;
70
+ baseColumn: never;
71
+ identity: undefined;
72
+ generated: undefined;
73
+ }, {}, {}>;
74
+ updatedBy: import("drizzle-orm/pg-core").PgColumn<{
75
+ name: "updated_by";
76
+ tableName: "junior_location_configurations";
77
+ dataType: "string";
78
+ columnType: "PgText";
79
+ data: string;
80
+ driverParam: string;
81
+ notNull: false;
82
+ hasDefault: false;
83
+ isPrimaryKey: false;
84
+ isAutoincrement: false;
85
+ hasRuntimeDefault: false;
86
+ enumValues: [string, ...string[]];
87
+ baseColumn: never;
88
+ identity: undefined;
89
+ generated: undefined;
90
+ }, {}, {}>;
91
+ source: import("drizzle-orm/pg-core").PgColumn<{
92
+ name: "source";
93
+ tableName: "junior_location_configurations";
94
+ dataType: "string";
95
+ columnType: "PgText";
96
+ data: string;
97
+ driverParam: string;
98
+ notNull: false;
99
+ hasDefault: false;
100
+ isPrimaryKey: false;
101
+ isAutoincrement: false;
102
+ hasRuntimeDefault: false;
103
+ enumValues: [string, ...string[]];
104
+ baseColumn: never;
105
+ identity: undefined;
106
+ generated: undefined;
107
+ }, {}, {}>;
108
+ expiresAt: import("drizzle-orm/pg-core").PgColumn<{
109
+ name: "expires_at";
110
+ tableName: "junior_location_configurations";
111
+ dataType: "string";
112
+ columnType: "PgText";
113
+ data: string;
114
+ driverParam: string;
115
+ notNull: false;
116
+ hasDefault: false;
117
+ isPrimaryKey: false;
118
+ isAutoincrement: false;
119
+ hasRuntimeDefault: false;
120
+ enumValues: [string, ...string[]];
121
+ baseColumn: never;
122
+ identity: undefined;
123
+ generated: undefined;
124
+ }, {}, {}>;
125
+ };
126
+ dialect: "pg";
127
+ }>;
@@ -4,6 +4,7 @@ import { juniorConversationEvents } from "./schema/conversation-events";
4
4
  import { juniorConversationBindings } from "./schema/conversation-bindings";
5
5
  import { juniorConversations } from "./schema/conversations";
6
6
  import { juniorAgentBindings, juniorAgentInvocations } from "./schema/agent-invocations";
7
+ import { juniorLocationConfigurations } from "./schema/location-configurations";
7
8
  import { juniorDestinations } from "./schema/destinations";
8
9
  import { juniorEventTasks } from "./schema/event-tasks";
9
10
  import { juniorIdentities } from "./schema/identities";
@@ -11,7 +12,7 @@ import { juniorStats } from "./schema/stats";
11
12
  import { juniorTaskExecutions } from "./schema/task-executions";
12
13
  import { juniorSchedulerRuns, juniorSchedulerTasks } from "./schema/scheduled-tasks";
13
14
  import { juniorUsers } from "./schema/users";
14
- export { juniorConversationAnnotations, juniorApiTokens, juniorAgentBindings, juniorAgentInvocations, juniorConversationEvents, juniorConversationBindings, juniorConversations, juniorDestinations, juniorEventTasks, juniorIdentities, juniorStats, juniorTaskExecutions, juniorSchedulerRuns, juniorSchedulerTasks, juniorUsers, };
15
+ export { juniorConversationAnnotations, juniorApiTokens, juniorAgentBindings, juniorAgentInvocations, juniorConversationEvents, juniorConversationBindings, juniorConversations, juniorLocationConfigurations, juniorDestinations, juniorEventTasks, juniorIdentities, juniorStats, juniorTaskExecutions, juniorSchedulerRuns, juniorSchedulerTasks, juniorUsers, };
15
16
  export declare const juniorSqlSchema: {
16
17
  juniorConversationAnnotations: import("drizzle-orm/pg-core").PgTableWithColumns<{
17
18
  name: "junior_conversation_annotations";
@@ -96,7 +97,7 @@ export declare const juniorSqlSchema: {
96
97
  label: string;
97
98
  url: string;
98
99
  description?: string | undefined;
99
- status?: "warning" | "open" | "draft" | "closed" | "merged" | undefined;
100
+ status?: "open" | "draft" | "closed" | "merged" | "warning" | undefined;
100
101
  };
101
102
  driverParam: unknown;
102
103
  notNull: true;
@@ -115,7 +116,7 @@ export declare const juniorSqlSchema: {
115
116
  label: string;
116
117
  url: string;
117
118
  description?: string | undefined;
118
- status?: "warning" | "open" | "draft" | "closed" | "merged" | undefined;
119
+ status?: "open" | "draft" | "closed" | "merged" | "warning" | undefined;
119
120
  };
120
121
  }>;
121
122
  createdAt: import("drizzle-orm/pg-core").PgColumn<{
@@ -480,6 +481,12 @@ export declare const juniorSqlSchema: {
480
481
  email?: string | undefined;
481
482
  fullName?: string | undefined;
482
483
  userName?: string | undefined;
484
+ } | {
485
+ platform: "web";
486
+ userId: string;
487
+ email?: string | undefined;
488
+ fullName?: string | undefined;
489
+ userName?: string | undefined;
483
490
  } | {
484
491
  platform: "system";
485
492
  name: string;
@@ -508,6 +515,12 @@ export declare const juniorSqlSchema: {
508
515
  email?: string | undefined;
509
516
  fullName?: string | undefined;
510
517
  userName?: string | undefined;
518
+ } | {
519
+ platform: "web";
520
+ userId: string;
521
+ email?: string | undefined;
522
+ fullName?: string | undefined;
523
+ userName?: string | undefined;
511
524
  } | {
512
525
  platform: "system";
513
526
  name: string;
@@ -634,6 +647,10 @@ export declare const juniorSqlSchema: {
634
647
  platform: "local";
635
648
  visibility: "private";
636
649
  conversationId: string;
650
+ } | {
651
+ platform: "web";
652
+ visibility: "public" | "private";
653
+ conversationId: string;
637
654
  };
638
655
  driverParam: unknown;
639
656
  notNull: true;
@@ -657,6 +674,10 @@ export declare const juniorSqlSchema: {
657
674
  platform: "local";
658
675
  visibility: "private";
659
676
  conversationId: string;
677
+ } | {
678
+ platform: "web";
679
+ visibility: "public" | "private";
680
+ conversationId: string;
660
681
  };
661
682
  }>;
662
683
  destination: import("drizzle-orm/pg-core").PgColumn<{
@@ -1759,6 +1780,132 @@ export declare const juniorSqlSchema: {
1759
1780
  };
1760
1781
  dialect: "pg";
1761
1782
  }>;
1783
+ juniorLocationConfigurations: import("drizzle-orm/pg-core").PgTableWithColumns<{
1784
+ name: "junior_location_configurations";
1785
+ schema: undefined;
1786
+ columns: {
1787
+ locationId: import("drizzle-orm/pg-core").PgColumn<{
1788
+ name: "location_id";
1789
+ tableName: "junior_location_configurations";
1790
+ dataType: "string";
1791
+ columnType: "PgText";
1792
+ data: string;
1793
+ driverParam: string;
1794
+ notNull: true;
1795
+ hasDefault: false;
1796
+ isPrimaryKey: false;
1797
+ isAutoincrement: false;
1798
+ hasRuntimeDefault: false;
1799
+ enumValues: [string, ...string[]];
1800
+ baseColumn: never;
1801
+ identity: undefined;
1802
+ generated: undefined;
1803
+ }, {}, {}>;
1804
+ key: import("drizzle-orm/pg-core").PgColumn<{
1805
+ name: "key";
1806
+ tableName: "junior_location_configurations";
1807
+ dataType: "string";
1808
+ columnType: "PgText";
1809
+ data: string;
1810
+ driverParam: string;
1811
+ notNull: true;
1812
+ hasDefault: false;
1813
+ isPrimaryKey: false;
1814
+ isAutoincrement: false;
1815
+ hasRuntimeDefault: false;
1816
+ enumValues: [string, ...string[]];
1817
+ baseColumn: never;
1818
+ identity: undefined;
1819
+ generated: undefined;
1820
+ }, {}, {}>;
1821
+ value: import("drizzle-orm/pg-core").PgColumn<{
1822
+ name: "value";
1823
+ tableName: "junior_location_configurations";
1824
+ dataType: "string";
1825
+ columnType: "PgText";
1826
+ data: string;
1827
+ driverParam: string;
1828
+ notNull: true;
1829
+ hasDefault: false;
1830
+ isPrimaryKey: false;
1831
+ isAutoincrement: false;
1832
+ hasRuntimeDefault: false;
1833
+ enumValues: [string, ...string[]];
1834
+ baseColumn: never;
1835
+ identity: undefined;
1836
+ generated: undefined;
1837
+ }, {}, {}>;
1838
+ updatedAt: import("drizzle-orm/pg-core").PgColumn<{
1839
+ name: string;
1840
+ tableName: "junior_location_configurations";
1841
+ dataType: "date";
1842
+ columnType: "PgTimestamp";
1843
+ data: Date;
1844
+ driverParam: string;
1845
+ notNull: true;
1846
+ hasDefault: false;
1847
+ isPrimaryKey: false;
1848
+ isAutoincrement: false;
1849
+ hasRuntimeDefault: false;
1850
+ enumValues: undefined;
1851
+ baseColumn: never;
1852
+ identity: undefined;
1853
+ generated: undefined;
1854
+ }, {}, {}>;
1855
+ updatedBy: import("drizzle-orm/pg-core").PgColumn<{
1856
+ name: "updated_by";
1857
+ tableName: "junior_location_configurations";
1858
+ dataType: "string";
1859
+ columnType: "PgText";
1860
+ data: string;
1861
+ driverParam: string;
1862
+ notNull: false;
1863
+ hasDefault: false;
1864
+ isPrimaryKey: false;
1865
+ isAutoincrement: false;
1866
+ hasRuntimeDefault: false;
1867
+ enumValues: [string, ...string[]];
1868
+ baseColumn: never;
1869
+ identity: undefined;
1870
+ generated: undefined;
1871
+ }, {}, {}>;
1872
+ source: import("drizzle-orm/pg-core").PgColumn<{
1873
+ name: "source";
1874
+ tableName: "junior_location_configurations";
1875
+ dataType: "string";
1876
+ columnType: "PgText";
1877
+ data: string;
1878
+ driverParam: string;
1879
+ notNull: false;
1880
+ hasDefault: false;
1881
+ isPrimaryKey: false;
1882
+ isAutoincrement: false;
1883
+ hasRuntimeDefault: false;
1884
+ enumValues: [string, ...string[]];
1885
+ baseColumn: never;
1886
+ identity: undefined;
1887
+ generated: undefined;
1888
+ }, {}, {}>;
1889
+ expiresAt: import("drizzle-orm/pg-core").PgColumn<{
1890
+ name: "expires_at";
1891
+ tableName: "junior_location_configurations";
1892
+ dataType: "string";
1893
+ columnType: "PgText";
1894
+ data: string;
1895
+ driverParam: string;
1896
+ notNull: false;
1897
+ hasDefault: false;
1898
+ isPrimaryKey: false;
1899
+ isAutoincrement: false;
1900
+ hasRuntimeDefault: false;
1901
+ enumValues: [string, ...string[]];
1902
+ baseColumn: never;
1903
+ identity: undefined;
1904
+ generated: undefined;
1905
+ }, {}, {}>;
1906
+ };
1907
+ dialect: "pg";
1908
+ }>;
1762
1909
  juniorDestinations: import("drizzle-orm/pg-core").PgTableWithColumns<{
1763
1910
  name: "junior_destinations";
1764
1911
  schema: undefined;