@sentry/junior 0.257.0 → 0.258.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 (101) hide show
  1. package/dist/{actor-BTtLaeWy.js → actor-tlxzqaRe.js} +3 -6
  2. package/dist/{admin-DgIkm6Vy.js → admin-My1SLGVO.js} +2 -3
  3. package/dist/{agent-hooks-BjtTzvru.js → agent-hooks-BJ_5mlRH.js} +69 -109
  4. package/dist/{agent-invocations-Bdu3ROfo.js → agent-invocations-Qfz7dWgU.js} +6 -12
  5. package/dist/{agent-runner-D7OboVb3.js → agent-runner-DGsFQw72.js} +261 -458
  6. package/dist/api/schema.d.ts +414 -448
  7. package/dist/api/schema.js +5 -5
  8. package/dist/api.d.ts +2 -12
  9. package/dist/api.js +94 -158
  10. package/dist/{app-BsU5QNBd.d.ts → app-PX2H1PxU.d.ts} +21 -44
  11. package/dist/app.d.ts +3 -3
  12. package/dist/app.js +204 -321
  13. package/dist/{assistant-reply-CbTPebzL.js → assistant-reply-H1M-91oF.js} +3 -5
  14. package/dist/{automation-CHdlHVZP.js → automation-DWBFBenG.js} +6 -11
  15. package/dist/{briefs-oLOldnDM.js → briefs-vYoK85rJ.js} +8 -11
  16. package/dist/{cadence-D00SCzT1.js → cadence-R7Em4RjE.js} +1 -2
  17. package/dist/{catalog-runtime-CZzhGQ7F.js → catalog-runtime-BN4DVxco.js} +3 -4
  18. package/dist/cli/chat.d.ts +2 -4
  19. package/dist/cli/chat.js +22 -24
  20. package/dist/cli/check.d.ts +1 -3
  21. package/dist/cli/check.js +4 -5
  22. package/dist/cli/env.d.ts +1 -3
  23. package/dist/cli/env.js +1 -2
  24. package/dist/cli/init.d.ts +1 -3
  25. package/dist/cli/init.js +3 -3
  26. package/dist/cli/main.d.ts +1 -3
  27. package/dist/cli/main.js +4 -5
  28. package/dist/cli/plugins.d.ts +2 -4
  29. package/dist/cli/plugins.js +7 -8
  30. package/dist/cli/run.d.ts +1 -2
  31. package/dist/cli/run.js +1 -2
  32. package/dist/cli/snapshot-create.d.ts +1 -3
  33. package/dist/cli/snapshot-create.js +4 -5
  34. package/dist/cli/upgrade.d.ts +3 -6
  35. package/dist/cli/upgrade.js +11 -17
  36. package/dist/{client-D8HnkOQX.js → client-DbyHuMFU.js} +9 -16
  37. package/dist/{config-CJRnWK9H.js → config-_WO_AjCB.js} +18 -15
  38. package/dist/{connections-ClYrKzpX.js → connections-ag_1JOhB.js} +14 -19
  39. package/dist/{conversation-CKNLYBJt.js → conversation-DjN3mlog.js} +8 -15
  40. package/dist/{conversation-privacy-C8b1nphZ.js → conversation-privacy-DHP_xnVj.js} +2 -3
  41. package/dist/{conversation-work-C6y3T5Hx.js → conversation-work-BaT_T6EB.js} +1 -2
  42. package/dist/{credential-sync-BXfohNmJ.js → credential-sync-B-CPX_ag.js} +23 -28
  43. package/dist/{db-Ca9Nt5ci.d.ts → db-BnRqQ7G5.d.ts} +1 -1
  44. package/dist/{executor-Do0THDRR.js → executor-RvG6kVe1.js} +30 -52
  45. package/dist/{experimental-CQIvMUO7.js → experimental-BNK1l1jv.js} +2 -4
  46. package/dist/{history-9pO1Zd4Y.js → history-AY8rs-FR.js} +5 -9
  47. package/dist/{history-DvqWZlYX.d.ts → history-BgI33Kie.d.ts} +12 -20
  48. package/dist/{images-BN_BiBXF.js → images-C2J_bj2g.js} +5 -6
  49. package/dist/instrumentation.d.ts +1 -3
  50. package/dist/instrumentation.js +6 -8
  51. package/dist/{job-queue-B6SV9uVa.js → job-queue-DVe37it2.js} +6 -12
  52. package/dist/{logging-CWxiIuCF.js → logging-DsHONhVm.js} +7 -12
  53. package/dist/{message-TUOdbSBW.js → message-DyitL8no.js} +5 -6
  54. package/dist/{model-profile-BwU8mqwD.js → model-profile-Bg8EoCKD.js} +2 -4
  55. package/dist/nitro.d.ts +3 -5
  56. package/dist/nitro.js +12 -17
  57. package/dist/{oauth-authorization-BA4Dt6a7.js → oauth-authorization-djQn5Nhy.js} +2 -4
  58. package/dist/{oauth-callback-server-Dj5UJODo.js → oauth-callback-server-CDby-pCn.js} +3 -4
  59. package/dist/{oauth-relay-CdCnu80W.js → oauth-relay-CTygMkNx.js} +2 -3
  60. package/dist/{package-discovery-BVvSnQBB.js → package-discovery-DJBompdd.js} +17 -21
  61. package/dist/{pending-auth-s_QFribU.js → pending-auth-D8J1uJUS.js} +37 -28
  62. package/dist/{plugin-module-CVvEUSMH.js → plugin-module-Cf5gVPWP.js} +1 -2
  63. package/dist/{plugins-CjfUP5gJ.d.ts → plugins-B11Mfkmv.d.ts} +0 -4
  64. package/dist/{plugins-egKWjgue.js → plugins-DOm9Y6qI.js} +2 -3
  65. package/dist/{private-trace-result-BLvBjy_e.js → private-trace-result-CE7_lEdq.js} +1 -2
  66. package/dist/{profile-h-72wM78.js → profile-DpYjfKke.js} +16 -28
  67. package/dist/{prompt-DyoEj9c2.js → prompt-xgpyMtg7.js} +5 -9
  68. package/dist/{queue-B5SnqRln.d.ts → queue-C37RbDVc.d.ts} +0 -2
  69. package/dist/{registry-sLTr-sV9.js → registry-Du566MtJ.js} +16 -29
  70. package/dist/{resolve-ncQPZROQ.js → resolve-ClCIgh8E.js} +7 -12
  71. package/dist/{result-C883vngT.js → result-BBbKA61B.js} +13 -17
  72. package/dist/{rolldown-runtime-B4FMCO8f.js → rolldown-runtime-nwUcYXjP.js} +1 -2
  73. package/dist/{runner-CzYImdOF.js → runner-CCuqFSqx.js} +12 -13
  74. package/dist/{sandbox-egress-signals-CZbMINHI.js → sandbox-egress-signals-DY1mbKF4.js} +2 -3
  75. package/dist/{schema-Dy69D4Ge.js → schema-DrMh3NtR.js} +15 -26
  76. package/dist/{sentry-CgWZM_kV.js → sentry-BBUlHih9.js} +2 -3
  77. package/dist/{session-stop-CQjKd4a2.js → session-stop-CIoFiwwe.js} +23 -33
  78. package/dist/{skills-C22SLruK.js → skills-DyQBLIrK.js} +9 -9
  79. package/dist/{spawn-DY9CLXDL.js → spawn-Dqfeo7XP.js} +4 -5
  80. package/dist/{store-DoewL5mG.d.ts → store-CG0VJyye.d.ts} +0 -14
  81. package/dist/{store-DXFIQy-G.js → store-DJLwq4x8.js} +13 -15
  82. package/dist/{task-queue-B17vV0La.js → task-queue-BzW4MaWU.js} +5 -7
  83. package/dist/{task-runner-DUjvzYXj.js → task-runner-D3qJh4fK.js} +22 -26
  84. package/dist/{tasks-D_WIJtvO.js → tasks-CEXKTASS.js} +62 -78
  85. package/dist/{thread-state-Ch4yuCqG.js → thread-state-W3f6kAtz.js} +13 -19
  86. package/dist/{turn-failure-response-C5nBKC4S.js → turn-failure-response-CWx7aNIh.js} +16 -22
  87. package/dist/{turn-lifecycle-CO-ylUmV.js → turn-lifecycle-C9JFst7-.js} +2 -3
  88. package/dist/{turn-session-routing-B3LWooK5.js → turn-session-routing-CUxtfpr7.js} +2 -3
  89. package/dist/{validation-CXYxaNYx.js → validation-BHRxa5G4.js} +3 -4
  90. package/dist/vercel.d.ts +1 -3
  91. package/dist/vercel.js +1 -2
  92. package/dist/{version-BcdZy2zg.js → version-C0U6rHg0.js} +3 -5
  93. package/dist/{version-CnXZ614E.d.ts → version-Cc2OFd9G.d.ts} +0 -2
  94. package/dist/version.d.ts +1 -1
  95. package/dist/version.js +1 -2
  96. package/dist/{viewer-DSZXygMU.js → viewer-CGvvRqKp.js} +26 -57
  97. package/dist/{web-input-B9Bv0_lR.js → web-input-Keb5GRWj.js} +98 -155
  98. package/dist/{web-message-id-xPI_EFSC.js → web-message-id-CJSUiksE.js} +3 -6
  99. package/dist/{work-nAfDSUFP.js → work-DRcsJ3hV.js} +14 -16
  100. package/dist/{worker-vGXZ6XFT.js → worker-Cjo-QqPq.js} +7 -8
  101. package/package.json +7 -6
@@ -1,7 +1,7 @@
1
- import { f as logException } from "./logging-CWxiIuCF.js";
2
- import { g as startSpanManual } from "./sentry-CgWZM_kV.js";
3
- import "./config-CJRnWK9H.js";
4
- import { a as juniorAgentInvocations, c as juniorIdentities, d as juniorDestinations, f as timestamptz, i as juniorAgentBindings, l as juniorUsers, s as juniorConversations } from "./agent-invocations-Bdu3ROfo.js";
1
+ import { f as logException } from "./logging-DsHONhVm.js";
2
+ import { g as startSpanManual } from "./sentry-BBUlHih9.js";
3
+ import "./config-_WO_AjCB.js";
4
+ import { a as juniorAgentInvocations, c as juniorIdentities, d as juniorDestinations, f as timestamptz, i as juniorAgentBindings, l as juniorUsers, s as juniorConversations } from "./agent-invocations-Qfz7dWgU.js";
5
5
  import { AsyncLocalStorage } from "node:async_hooks";
6
6
  import { sql } from "drizzle-orm";
7
7
  import { bigint, boolean, check, date, doublePrecision, foreignKey, index, integer, jsonb, pgTable, primaryKey, text, uniqueIndex, uuid } from "drizzle-orm/pg-core";
@@ -12,7 +12,7 @@ import { SpanKind } from "@opentelemetry/api";
12
12
  import pg from "pg";
13
13
  import { drizzle as drizzle$1 } from "drizzle-orm/node-postgres";
14
14
  import { migrate as migrate$1 } from "drizzle-orm/node-postgres/migrator";
15
- //#region src/db/schema/artifacts.ts
15
+ // src/db/schema/artifacts.ts
16
16
  /** Durable metadata for conversation-owned public artifacts. */
17
17
  const juniorArtifacts = pgTable("junior_artifacts", {
18
18
  /** Public identity used in `/public/artifacts/<id>.<ext>`. */
@@ -32,8 +32,7 @@ const juniorArtifacts = pgTable("junior_artifacts", {
32
32
  index("junior_artifacts_gc_idx").on(table.deleteRequestedAt, table.createdAt),
33
33
  index("junior_artifacts_conversation_idx").on(table.conversationId)
34
34
  ]);
35
- //#endregion
36
- //#region src/db/schema/attachments.ts
35
+ // src/db/schema/attachments.ts
37
36
  /** Durable metadata for files owned by one conversation. */
38
37
  const juniorAttachments = pgTable("junior_attachments", {
39
38
  id: text("id").primaryKey(),
@@ -58,8 +57,7 @@ const juniorAttachments = pgTable("junior_attachments", {
58
57
  index("junior_attachments_provider_idx").on(table.conversationId, table.provider, table.providerId),
59
58
  index("junior_attachments_gc_idx").on(table.storageProvider, table.deleteRequestedAt, table.createdAt)
60
59
  ]);
61
- //#endregion
62
- //#region src/db/schema/code.ts
60
+ // src/db/schema/code.ts
63
61
  /** Repository known to Junior through an installed code plugin. */
64
62
  const juniorCodeRepositories = pgTable("junior_code_repositories", {
65
63
  id: uuid("id").primaryKey(),
@@ -91,8 +89,7 @@ const juniorCodeChanges = pgTable("junior_code_changes", {
91
89
  index("junior_code_changes_closed_at_idx").on(table.closedAt),
92
90
  index("junior_code_changes_open_idx").on(table.id).where(sql`${table.state} = 'open'`)
93
91
  ]);
94
- //#endregion
95
- //#region src/db/schema/conversation-annotations.ts
92
+ // src/db/schema/conversation-annotations.ts
96
93
  const juniorConversationAnnotations = pgTable("junior_conversation_annotations", {
97
94
  conversationId: text("conversation_id").notNull(),
98
95
  plugin: text("plugin").notNull(),
@@ -114,8 +111,7 @@ const juniorConversationAnnotations = pgTable("junior_conversation_annotations",
114
111
  columns: [table.conversationId],
115
112
  foreignColumns: [juniorConversations.conversationId]
116
113
  }).onDelete("cascade")]);
117
- //#endregion
118
- //#region src/db/schema/api-tokens.ts
114
+ // src/db/schema/api-tokens.ts
119
115
  const juniorApiTokens = pgTable("junior_api_tokens", {
120
116
  id: text("id").primaryKey(),
121
117
  ownerEmailNormalized: text("owner_email_normalized").notNull(),
@@ -127,8 +123,7 @@ const juniorApiTokens = pgTable("junior_api_tokens", {
127
123
  lastUsedAt: timestamptz("last_used_at"),
128
124
  revokedAt: timestamptz("revoked_at")
129
125
  }, (table) => [uniqueIndex("junior_api_tokens_token_hash_uidx").on(table.tokenHash), index("junior_api_tokens_owner_email_idx").on(table.ownerEmailNormalized)]);
130
- //#endregion
131
- //#region src/db/schema/conversation-events.ts
126
+ // src/db/schema/conversation-events.ts
132
127
  /**
133
128
  * Append-only canonical conversation history. `history_version` partitions
134
129
  * model-history replacements, while `(conversation_id, seq)` is the stable
@@ -163,8 +158,7 @@ const juniorConversationEvents = pgTable("junior_conversation_events", {
163
158
  index("junior_conversation_events_message_search_idx").using("gin", sql`to_tsvector('english', ${table.payload}->>'text')`).where(sql`${table.type} = 'message'`),
164
159
  uniqueIndex("junior_conversation_events_idempotency_idx").on(table.conversationId, table.idempotencyKey)
165
160
  ]);
166
- //#endregion
167
- //#region src/db/schema/conversation-metrics.ts
161
+ // src/db/schema/conversation-metrics.ts
168
162
  const CONVERSATION_METRICS = [
169
163
  "duration_ms",
170
164
  "total_tokens",
@@ -199,8 +193,7 @@ const juniorConversationMetrics = pgTable("junior_conversation_metrics", {
199
193
  }),
200
194
  index("junior_conversation_metrics_occurred_at_metric_idx").on(table.occurredAt, table.metric)
201
195
  ]);
202
- //#endregion
203
- //#region src/db/schema/conversation-briefs.ts
196
+ // src/db/schema/conversation-briefs.ts
204
197
  /** Append-only Brief versions produced for completed Conversation turns. */
205
198
  const juniorConversationBriefs = pgTable("junior_conversation_briefs", {
206
199
  conversationId: text("conversation_id").notNull(),
@@ -226,8 +219,7 @@ const juniorConversationBriefs = pgTable("junior_conversation_briefs", {
226
219
  index("junior_conversation_briefs_conversation_version_idx").on(table.conversationId, table.version.desc()),
227
220
  index("junior_conversation_briefs_search_idx").using("gin", sql`to_tsvector('english', ${table.searchText})`)
228
221
  ]);
229
- //#endregion
230
- //#region src/db/schema/conversation-bindings.ts
222
+ // src/db/schema/conversation-bindings.ts
231
223
  /** Provider conversation coordinates bound to Junior's opaque durable conversation id. */
232
224
  const juniorConversationBindings = pgTable("junior_conversation_bindings", {
233
225
  conversationId: text("conversation_id").notNull().references(() => juniorConversations.conversationId),
@@ -245,8 +237,7 @@ const juniorConversationBindings = pgTable("junior_conversation_bindings", {
245
237
  table.providerConversationId
246
238
  ]
247
239
  }), index("junior_conversation_bindings_conversation_idx").on(table.conversationId)]);
248
- //#endregion
249
- //#region src/db/schema/conversation-participants.ts
240
+ // src/db/schema/conversation-participants.ts
250
241
  /**
251
242
  * Materialized personal-feed membership for one linked user on one root
252
243
  * conversation. Rows come from the root actor and from durable human user
@@ -265,8 +256,7 @@ const juniorConversationParticipants = pgTable("junior_conversation_participants
265
256
  index("junior_conversation_participants_user_activity_idx").on(table.userId, table.lastMessageAt.desc()),
266
257
  index("junior_conversation_participants_root_idx").on(table.rootConversationId)
267
258
  ]);
268
- //#endregion
269
- //#region src/db/schema/location-configurations.ts
259
+ // src/db/schema/location-configurations.ts
270
260
  /** Durable user configuration entries scoped to provider Locations. */
271
261
  const juniorLocationConfigurations = pgTable("junior_location_configurations", {
272
262
  locationId: text("location_id").notNull().references(() => juniorDestinations.id, { onDelete: "cascade" }),
@@ -277,8 +267,7 @@ const juniorLocationConfigurations = pgTable("junior_location_configurations", {
277
267
  source: text("source"),
278
268
  expiresAt: text("expires_at")
279
269
  }, (table) => [primaryKey({ columns: [table.locationId, table.key] })]);
280
- //#endregion
281
- //#region src/db/schema/stats.ts
270
+ // src/db/schema/stats.ts
282
271
  /**
283
272
  * Daily named counters used by Junior and loaded plugins.
284
273
  * TODO: store hour keys when dashboard 24h workspace usage needs hourly bars.
@@ -299,8 +288,7 @@ const juniorStats = pgTable("junior_stats", {
299
288
  table.name
300
289
  ]
301
290
  })]);
302
- //#endregion
303
- //#region src/db/schema/automations.ts
291
+ // src/db/schema/automations.ts
304
292
  /**
305
293
  * One row per Automation of either kind. `record` holds the fields that have
306
294
  * no column. Each write also copies the nested fields that queries filter or
@@ -337,8 +325,7 @@ const juniorAutomations = pgTable("junior_automations", {
337
325
  index("junior_automations_next_run_due_idx").on(table.nextRunAtMs, table.createdAtMs, table.id).where(sql`${table.status} = 'active' AND ${table.nextRunAtMs} IS NOT NULL`),
338
326
  index("junior_automations_match_idx").on(table.namespace, table.identifier, table.createdAtMs, table.id).where(sql`${table.status} <> 'deleted'`)
339
327
  ]);
340
- //#endregion
341
- //#region src/db/schema/automation-versions.ts
328
+ // src/db/schema/automation-versions.ts
342
329
  /** One saved Automation definition. Lifecycle and scheduler state are not versioned. */
343
330
  const juniorAutomationVersions = pgTable("junior_automation_versions", {
344
331
  automationId: text("automation_id").notNull(),
@@ -356,8 +343,7 @@ const juniorAutomationVersions = pgTable("junior_automation_versions", {
356
343
  columns: [table.automationId],
357
344
  foreignColumns: [juniorAutomations.id]
358
345
  }).onDelete("cascade")]);
359
- //#endregion
360
- //#region src/db/schema/automation-runs.ts
346
+ // src/db/schema/automation-runs.ts
361
347
  /**
362
348
  * One dispatch of an Automation, from claim or dispatch to its outcome. A
363
349
  * Scheduled automation run id is `<automation id>:<scheduled time>`. An event
@@ -394,8 +380,7 @@ const juniorAutomationRuns = pgTable("junior_automation_runs", {
394
380
  index("junior_automation_runs_completed_idx").on(table.completedAtMs),
395
381
  index("junior_automation_runs_incomplete_idx").on(table.automationId, table.scheduledForMs).where(sql`${table.status} in ('pending', 'running')`)
396
382
  ]);
397
- //#endregion
398
- //#region src/db/schema/workspaces.ts
383
+ // src/db/schema/workspaces.ts
399
384
  /** Named recipe used to prepare a reusable Sandbox. */
400
385
  const juniorWorkspaces = pgTable("junior_workspaces", {
401
386
  id: text("id").primaryKey(),
@@ -414,8 +399,7 @@ const juniorWorkspaceRepos = pgTable("junior_workspace_repos", {
414
399
  table.provider,
415
400
  table.repo
416
401
  ] })]);
417
- //#endregion
418
- //#region src/db/schema/snapshots.ts
402
+ // src/db/schema/snapshots.ts
419
403
  /**
420
404
  * Sandbox snapshot build and ready artifact for one Workspace recipe.
421
405
  * A ready row keeps its builder owner until the snapshot is discarded.
@@ -449,8 +433,7 @@ const juniorSnapshots = pgTable("junior_snapshots", {
449
433
  uniqueIndex("junior_snapshots_active_build_uidx").on(table.workspaceId, table.profileHash).where(sql`${table.status} = 'building'`),
450
434
  index("junior_snapshots_workspace_status_idx").on(table.workspaceId, table.status)
451
435
  ]);
452
- //#endregion
453
- //#region src/db/schema.ts
436
+ // src/db/schema.ts
454
437
  const juniorSqlSchema = {
455
438
  juniorArtifacts,
456
439
  juniorAttachments,
@@ -478,8 +461,7 @@ const juniorSqlSchema = {
478
461
  juniorWorkspaceRepos,
479
462
  juniorWorkspaces
480
463
  };
481
- //#endregion
482
- //#region src/db/tracing.ts
464
+ // src/db/tracing.ts
483
465
  const traced = Symbol("junior.db.traced");
484
466
  const MAX_QUERY_TEXT_LENGTH = 1e4;
485
467
  const MAX_QUERY_SUMMARY_LENGTH = 255;
@@ -751,14 +733,13 @@ function traceQueries(client, options) {
751
733
  });
752
734
  return client;
753
735
  }
754
- //#endregion
755
- //#region src/db/neon.ts
736
+ // src/db/neon.ts
756
737
  var NeonExecutor = class {
757
- pool;
758
- connectionString;
759
738
  transactionClient = new AsyncLocalStorage();
760
739
  savepointId = 0;
761
740
  isolatedQueryId = 0;
741
+ pool;
742
+ connectionString;
762
743
  constructor(pool, connectionString) {
763
744
  this.pool = pool;
764
745
  this.connectionString = connectionString;
@@ -875,15 +856,14 @@ function createNeonJuniorSqlExecutor(args) {
875
856
  });
876
857
  return new NeonExecutor(pool, args.connectionString);
877
858
  }
878
- //#endregion
879
- //#region src/db/postgres.ts
859
+ // src/db/postgres.ts
880
860
  const { Pool: Pool$1 } = pg;
881
861
  var PostgresExecutor = class {
882
- pool;
883
- connectionString;
884
862
  transactionClient = new AsyncLocalStorage();
885
863
  savepointId = 0;
886
864
  isolatedQueryId = 0;
865
+ pool;
866
+ connectionString;
887
867
  constructor(pool, connectionString) {
888
868
  this.pool = pool;
889
869
  this.connectionString = connectionString;
@@ -1001,8 +981,7 @@ function createPostgresJuniorSqlExecutor(args) {
1001
981
  });
1002
982
  return new PostgresExecutor(pool, args.connectionString);
1003
983
  }
1004
- //#endregion
1005
- //#region src/db/executor.ts
984
+ // src/db/executor.ts
1006
985
  /** Create the SQL executor appropriate for the configured database URL. */
1007
986
  function createJuniorSqlExecutor(args) {
1008
987
  const statementTimeoutMs = args.statementTimeoutMs ?? 3e4;
@@ -1015,5 +994,4 @@ function createJuniorSqlExecutor(args) {
1015
994
  statementTimeoutMs
1016
995
  });
1017
996
  }
1018
- //#endregion
1019
997
  export { juniorConversationAnnotations as _, juniorAutomationRuns as a, juniorAttachments as b, juniorStats as c, juniorConversationBindings as d, juniorConversationBriefs as f, juniorApiTokens as g, juniorConversationEvents as h, juniorWorkspaces as i, juniorLocationConfigurations as l, juniorConversationMetrics as m, juniorSnapshots as n, juniorAutomationVersions as o, CONVERSATION_METRICS as p, juniorWorkspaceRepos as r, juniorAutomations as s, createJuniorSqlExecutor as t, juniorConversationParticipants as u, juniorCodeChanges as v, juniorArtifacts as x, juniorCodeRepositories as y };
@@ -1,5 +1,5 @@
1
- import { t as __exportAll } from "./rolldown-runtime-B4FMCO8f.js";
2
- //#region src/chat/experimental.ts
1
+ import { t as __exportAll } from "./rolldown-runtime-nwUcYXjP.js";
2
+ // src/chat/experimental.ts
3
3
  var experimental_exports = /* @__PURE__ */ __exportAll({
4
4
  EXPERIMENTAL_FEATURES: () => EXPERIMENTAL_FEATURES,
5
5
  getExperimentalFeatures: () => getExperimentalFeatures,
@@ -14,7 +14,6 @@ var experimental_exports = /* @__PURE__ */ __exportAll({
14
14
  const EXPERIMENTAL_FEATURES = [
15
15
  "operator-tools",
16
16
  "passive-routing",
17
- "slack-sign-in",
18
17
  "subagents"
19
18
  ];
20
19
  const EXPERIMENTAL_FEATURE_SET = new Set(EXPERIMENTAL_FEATURES);
@@ -47,5 +46,4 @@ function getExperimentalFeatures() {
47
46
  function isExperimentalFeatureEnabled(feature) {
48
47
  return configuredExperimental[feature] === true;
49
48
  }
50
- //#endregion
51
49
  export { setExperimentalFeatures as i, getExperimentalFeatures as n, isExperimentalFeatureEnabled as r, experimental_exports as t };
@@ -1,7 +1,7 @@
1
- import { l as TURN_REASONING_LEVELS, s as modelProfileSchema } from "./model-profile-BwU8mqwD.js";
1
+ import { l as TURN_REASONING_LEVELS, s as modelProfileSchema } from "./model-profile-Bg8EoCKD.js";
2
2
  import { z } from "zod";
3
3
  import { actorSchema } from "@sentry/junior-plugin-api";
4
- //#region src/usage-schema.ts
4
+ // src/usage-schema.ts
5
5
  const usageCostSchema = z.object({
6
6
  input: z.number().finite().nonnegative().optional(),
7
7
  output: z.number().finite().nonnegative().optional(),
@@ -18,8 +18,7 @@ const usageSchema = z.object({
18
18
  totalTokens: z.number().int().nonnegative().optional(),
19
19
  cost: usageCostSchema.optional()
20
20
  }).strict();
21
- //#endregion
22
- //#region src/chat/conversations/provenance.ts
21
+ // src/chat/conversations/provenance.ts
23
22
  /**
24
23
  * Durable message attribution shared by storage and projections.
25
24
  * Attribution never grants credential authority.
@@ -69,8 +68,7 @@ function instructionActors(provenance) {
69
68
  }
70
69
  return actors;
71
70
  }
72
- //#endregion
73
- //#region src/chat/conversations/history-payload.ts
71
+ // src/chat/conversations/history-payload.ts
74
72
  const messageFieldsSchema = z.record(z.string(), z.unknown());
75
73
  const replacementEntrySchema = z.object({ item: z.string() }).passthrough();
76
74
  /** Identify history events that store message fields as JSON strings. */
@@ -121,8 +119,7 @@ function decodeHistoryPayload(type, payload) {
121
119
  if (fields.provenance !== void 0) message.provenance = fields.provenance;
122
120
  return message;
123
121
  }
124
- //#endregion
125
- //#region src/chat/conversations/history.ts
122
+ // src/chat/conversations/history.ts
126
123
  /**
127
124
  * Durable conversation event history port.
128
125
  *
@@ -524,5 +521,4 @@ const newConversationEventSchema = z.object({
524
521
  idempotencyKey: z.string().min(1).optional(),
525
522
  createdAtMs: z.number().finite()
526
523
  }).strict();
527
- //#endregion
528
524
  export { conversationTurnFailureReasonSchema as a, newConversationEventSchema as c, contextProvenance as d, instructionActors as f, usageSchema as h, conversationTurnFailureCodeSchema as i, encodeHistoryPayload as l, sameActorIdentity as m, agentHistoryItemSchema as n, decodeStoredConversationEvent as o, instructionProvenanceFor as p, conversationEventDataSchema as r, historyReplacementSchema as s, KNOWN_CONVERSATION_EVENT_TYPES as t, agentInstructionProvenance as u };
@@ -1,6 +1,5 @@
1
1
  import { z } from "zod";
2
2
  import { ConversationAnnotation, OwnedObjectAnnotation } from "@sentry/junior-plugin-api";
3
- //#region src/chat/attachments/input.d.ts
4
3
  /** Bound JSON image input below the hosting platform's request size limit. */
5
4
  declare const MAX_INPUT_IMAGE_BYTES: number;
6
5
  declare const MAX_INPUT_IMAGES = 3;
@@ -8,9 +7,9 @@ declare const MAX_INPUT_IMAGES = 3;
8
7
  declare const inputImageSchema: z.ZodObject<{
9
8
  filename: z.ZodString;
10
9
  contentType: z.ZodEnum<{
11
- "image/png": "image/png";
12
- "image/jpeg": "image/jpeg";
13
10
  "image/gif": "image/gif";
11
+ "image/jpeg": "image/jpeg";
12
+ "image/png": "image/png";
14
13
  "image/webp": "image/webp";
15
14
  }>;
16
15
  data: z.ZodString;
@@ -24,8 +23,6 @@ declare const messageAttachmentSchema: z.ZodObject<{
24
23
  bytes: z.ZodNumber;
25
24
  }, z.core.$strict>;
26
25
  type MessageAttachment = z.output<typeof messageAttachmentSchema>;
27
- //#endregion
28
- //#region src/chat/automations/card.d.ts
29
26
  /** Saved automation facts shown with a Message, not a live status view. */
30
27
  declare const automationCardSchema: z.ZodObject<{
31
28
  kind: z.ZodLiteral<"automation">;
@@ -37,8 +34,6 @@ declare const automationCardSchema: z.ZodObject<{
37
34
  warning: z.ZodNullable<z.ZodString>;
38
35
  }, z.core.$strict>;
39
36
  type AutomationCard = z.output<typeof automationCardSchema>;
40
- //#endregion
41
- //#region src/chat/conversations/cards.d.ts
42
37
  /** Facts for delivery and display. Messages store only references. */
43
38
  type MessageCard = OwnedObjectAnnotation | AutomationCard;
44
39
  /** Render each built-in card with its own text format. */
@@ -52,8 +47,6 @@ declare const messageCardRefSchema: z.ZodObject<{
52
47
  type MessageCardRef = z.output<typeof messageCardRefSchema>;
53
48
  /** Resolve current saved facts without fetching providers or changing history. */
54
49
  declare function resolveMessageCards(refs: readonly MessageCardRef[], annotations: readonly ConversationAnnotation[]): OwnedObjectAnnotation[];
55
- //#endregion
56
- //#region src/chat/conversations/history.d.ts
57
50
  /** Where a failed turn stopped. */
58
51
  declare const conversationTurnFailureCodeSchema: z.ZodEnum<{
59
52
  agent_run_failed: "agent_run_failed";
@@ -66,21 +59,20 @@ declare const conversationTurnFailureCodeSchema: z.ZodEnum<{
66
59
  * Values are fixed labels only. Do not store raw exception text.
67
60
  */
68
61
  declare const conversationTurnFailureReasonSchema: z.ZodEnum<{
69
- unknown: "unknown";
70
- capacity: "capacity";
71
62
  auth: "auth";
72
- permission: "permission";
73
- rate_limit: "rate_limit";
74
- timeout: "timeout";
75
- network: "network";
76
- server: "server";
63
+ capacity: "capacity";
64
+ content_policy: "content_policy";
65
+ empty_output: "empty_output";
77
66
  invalid_request: "invalid_request";
78
67
  invalid_response: "invalid_response";
68
+ network: "network";
69
+ permission: "permission";
79
70
  quota: "quota";
80
- content_policy: "content_policy";
81
- empty_output: "empty_output";
82
- tool_errors: "tool_errors";
71
+ rate_limit: "rate_limit";
72
+ server: "server";
83
73
  suppressed_output: "suppressed_output";
74
+ timeout: "timeout";
75
+ tool_errors: "tool_errors";
76
+ unknown: "unknown";
84
77
  }>;
85
- //#endregion
86
78
  export { resolveMessageCards as a, MAX_INPUT_IMAGES as c, messageCardText as i, MAX_INPUT_IMAGE_BYTES as l, conversationTurnFailureReasonSchema as n, AutomationCard as o, MessageCard as r, InputImage as s, conversationTurnFailureCodeSchema as t, MessageAttachment as u };
@@ -1,8 +1,8 @@
1
- import { t as __exportAll } from "./rolldown-runtime-B4FMCO8f.js";
2
- import { D as storeAttachment, T as readLiveAttachment } from "./agent-runner-D7OboVb3.js";
3
- import { p as getSqlExecutor } from "./viewer-DSZXygMU.js";
4
- import { L as detectImageMediaType } from "./conversation-CKNLYBJt.js";
5
- //#region src/chat/attachments/images.ts
1
+ import { t as __exportAll } from "./rolldown-runtime-nwUcYXjP.js";
2
+ import { D as storeAttachment, T as readLiveAttachment } from "./agent-runner-DGsFQw72.js";
3
+ import { f as getSqlExecutor } from "./viewer-CGvvRqKp.js";
4
+ import { L as detectImageMediaType } from "./conversation-DjN3mlog.js";
5
+ // src/chat/attachments/images.ts
6
6
  var images_exports = /* @__PURE__ */ __exportAll({
7
7
  decodeInputImages: () => decodeInputImages,
8
8
  loadInputImages: () => loadInputImages,
@@ -61,5 +61,4 @@ async function loadInputImages(args) {
61
61
  };
62
62
  }));
63
63
  }
64
- //#endregion
65
64
  export { images_exports as n, storeInputImages as r, decodeInputImages as t };
@@ -1,4 +1,2 @@
1
- //#region src/instrumentation.d.ts
2
1
  /** Initialize Sentry for the Junior runtime. Call at the top of your entry point. */
3
- export declare function initSentry(): void;
4
- //#endregion
2
+ export declare function initSentry(): void;
@@ -1,8 +1,8 @@
1
- import { F as getDeploymentTelemetryAttributes, P as getDeploymentServiceVersion } from "./logging-CWxiIuCF.js";
2
- import { _ as vercelAIIntegration, a as getClient, b as withStreamedSpan, c as init, o as getGlobalScope } from "./sentry-CgWZM_kV.js";
3
- import { n as getCurrentConversationPrivacy } from "./conversation-privacy-C8b1nphZ.js";
4
- import { t as consumePrivateTraceResultMarker } from "./private-trace-result-BLvBjy_e.js";
5
- //#region src/chat/sentry-payload-filter.ts
1
+ import { F as getDeploymentTelemetryAttributes, P as getDeploymentServiceVersion } from "./logging-DsHONhVm.js";
2
+ import { _ as vercelAIIntegration, a as getClient, b as withStreamedSpan, c as init, o as getGlobalScope } from "./sentry-BBUlHih9.js";
3
+ import { n as getCurrentConversationPrivacy } from "./conversation-privacy-DHP_xnVj.js";
4
+ import { t as consumePrivateTraceResultMarker } from "./private-trace-result-CE7_lEdq.js";
5
+ // src/chat/sentry-payload-filter.ts
6
6
  const PAYLOAD_ATTRIBUTE_KEYS = /* @__PURE__ */ new Set([
7
7
  "app.message.input",
8
8
  "app.message.output",
@@ -106,8 +106,7 @@ function scrubPrivateSentryLog(log) {
106
106
  scrubContainer(log);
107
107
  return log;
108
108
  }
109
- //#endregion
110
- //#region src/instrumentation.ts
109
+ // src/instrumentation.ts
111
110
  function getSampleRate(value, fallback) {
112
111
  if (!value) return fallback;
113
112
  const parsed = Number(value);
@@ -160,5 +159,4 @@ function initSentry() {
160
159
  });
161
160
  getGlobalScope().setAttributes(deploymentSpanAttributes);
162
161
  }
163
- //#endregion
164
162
  export { initSentry };
@@ -1,4 +1,4 @@
1
- import { i as getChatConfig } from "./config-CJRnWK9H.js";
1
+ import { i as getChatConfig } from "./config-_WO_AjCB.js";
2
2
  import { AsyncLocalStorage } from "node:async_hooks";
3
3
  import { z } from "zod";
4
4
  import { createHash, createHmac, timingSafeEqual } from "node:crypto";
@@ -22,8 +22,7 @@ var ConversationQueueMessageRejectedError = class extends Error {
22
22
  function isConversationQueueMessageRejectedError(error) {
23
23
  return error instanceof ConversationQueueMessageRejectedError;
24
24
  }
25
- //#endregion
26
- //#region src/chat/runtime/request-deadline.ts
25
+ // src/chat/runtime/request-deadline.ts
27
26
  const requestDeadlineStorage = new AsyncLocalStorage();
28
27
  function createTurnRequestDeadline(startedAtMs) {
29
28
  return {
@@ -40,8 +39,7 @@ function runWithTurnRequestDeadline(callback, startedAtMs = Date.now()) {
40
39
  if (requestDeadlineStorage.getStore()) return callback();
41
40
  return requestDeadlineStorage.run(createTurnRequestDeadline(startedAtMs), callback);
42
41
  }
43
- //#endregion
44
- //#region src/chat/vercel-queue-client.ts
42
+ // src/chat/vercel-queue-client.ts
45
43
  function defaultQueueClientOptions() {
46
44
  if (process.env.VERCEL_DEPLOYMENT_ID?.trim()) return {};
47
45
  return { deploymentId: null };
@@ -50,8 +48,7 @@ function defaultQueueClientOptions() {
50
48
  function createVercelQueueClient() {
51
49
  return new QueueClient(defaultQueueClientOptions());
52
50
  }
53
- //#endregion
54
- //#region src/chat/queue/sign.ts
51
+ // src/chat/queue/sign.ts
55
52
  /** Sign and check queue messages before public callbacks run them. */
56
53
  const QUEUE_SIGNATURE_MAX_AGE_MS = 36e5;
57
54
  function secret() {
@@ -137,8 +134,7 @@ function verifyQueueMessage(config, value, nowMs = Date.now()) {
137
134
  message: message.data
138
135
  };
139
136
  }
140
- //#endregion
141
- //#region src/chat/task-execution/queue-signing.ts
137
+ // src/chat/task-execution/queue-signing.ts
142
138
  const conversationQueueSign = {
143
139
  context: "junior.conversation_work_queue.v2",
144
140
  schema: conversationQueueMessageSchema,
@@ -183,8 +179,7 @@ function getVercelConversationWorkQueue() {
183
179
  defaultQueue ??= createVercelConversationWorkQueue();
184
180
  return defaultQueue;
185
181
  }
186
- //#endregion
187
- //#region src/chat/sandbox/snapshot/job-queue.ts
182
+ // src/chat/sandbox/snapshot/job-queue.ts
188
183
  /** Send Workspace snapshot build messages. */
189
184
  const SIGNATURE_CONTEXT = "junior.workspace_snapshot_queue.v1";
190
185
  const SIGNATURE_VERSION = "v1";
@@ -222,5 +217,4 @@ async function sendWorkspaceSnapshotJob(message) {
222
217
  async function sendNextWorkspaceSnapshotJob(message) {
223
218
  await send(message);
224
219
  }
225
- //#endregion
226
220
  export { getVercelConversationWorkQueue as a, QUEUE_SIGNATURE_MAX_AGE_MS as c, createVercelQueueClient as d, getTurnRequestDeadline as f, isConversationQueueMessageRejectedError as g, conversationQueueMessageSchema as h, verifyWorkspaceSnapshotJobMessage as i, signQueueMessage as l, ConversationQueueMessageRejectedError as m, sendNextWorkspaceSnapshotJob as n, resolveConversationWorkQueueTopic as o, runWithTurnRequestDeadline as p, sendWorkspaceSnapshotJob as r, verifyConversationQueueMessage as s, WORKSPACE_SNAPSHOT_JOB_QUEUE_TOPIC as t, verifyQueueMessage as u };
@@ -1,10 +1,10 @@
1
- import { d as setTag, f as setUser, h as startSpan, i as getActiveSpan, l as logger, n as captureMessage, p as spanToJSON, s as getTraceData, t as captureException, y as withScope } from "./sentry-CgWZM_kV.js";
2
- import { t as JUNIOR_VERSION } from "./version-BcdZy2zg.js";
1
+ import { d as setTag, f as setUser, h as startSpan, i as getActiveSpan, l as logger, n as captureMessage, p as spanToJSON, s as getTraceData, t as captureException, y as withScope } from "./sentry-BBUlHih9.js";
2
+ import { t as JUNIOR_VERSION } from "./version-C0U6rHg0.js";
3
3
  import path from "node:path";
4
4
  import { styleText } from "node:util";
5
5
  import { ConfigError, configureSync, getConfig, getLogger } from "@logtape/logtape";
6
6
  import { AsyncLocalStorage } from "node:async_hooks";
7
- //#region src/chat/coerce.ts
7
+ // src/chat/coerce.ts
8
8
  /** Narrow an unknown value to a non-empty string, or undefined. */
9
9
  function toOptionalString(value) {
10
10
  return typeof value === "string" && value.trim() ? value : void 0;
@@ -17,8 +17,7 @@ function toOptionalNumber(value) {
17
17
  function isRecord(value) {
18
18
  return typeof value === "object" && value !== null;
19
19
  }
20
- //#endregion
21
- //#region src/chat/identities/identity.ts
20
+ // src/chat/identities/identity.ts
22
21
  /**
23
22
  * Provider of the native Google identity. Core links it through Google
24
23
  * sign-in. Its tenant is empty and its subject is the Google OIDC `sub`.
@@ -37,8 +36,7 @@ function isNativeIdentityProvider(provider) {
37
36
  function normalizeIdentityEmail(email) {
38
37
  return email?.trim().toLowerCase() || void 0;
39
38
  }
40
- //#endregion
41
- //#region src/chat/log-context.ts
39
+ // src/chat/log-context.ts
42
40
  /** Async attribute domain consumed directly by LogTape. */
43
41
  const logContextStorage = new AsyncLocalStorage();
44
42
  /** Typed context domain retained for consumers such as native Sentry scope fields. */
@@ -101,8 +99,7 @@ function getBoundLogContext() {
101
99
  function getBoundLogAttributes() {
102
100
  return logContextStorage.getStore() ?? {};
103
101
  }
104
- //#endregion
105
- //#region src/deployment.ts
102
+ // src/deployment.ts
106
103
  const JUNIOR_HEARTBEAT_ROUTE = "/api/internal/heartbeat";
107
104
  const JUNIOR_HEARTBEAT_CRON_SCHEDULE = "* * * * *";
108
105
  const JUNIOR_RETENTION_ROUTE = "/api/internal/retention";
@@ -132,8 +129,7 @@ function getDeploymentTelemetryAttributes() {
132
129
  if (deploymentId) attributes["deployment.id"] = deploymentId;
133
130
  return attributes;
134
131
  }
135
- //#endregion
136
- //#region src/chat/logging.ts
132
+ // src/chat/logging.ts
137
133
  /**
138
134
  * Structured logging for Junior runtime events.
139
135
  *
@@ -1241,5 +1237,4 @@ function extractGenAiUsageAttributes(...sources) {
1241
1237
  ...cost?.total !== void 0 ? { "app.cost.total_usd": cost.total } : void 0
1242
1238
  };
1243
1239
  }
1244
- //#endregion
1245
1240
  export { JUNIOR_RETENTION_CRON_SCHEDULE as A, toOptionalNumber as B, withContext as C, JUNIOR_HEARTBEAT_CRON_SCHEDULE as D, JUNIOR_CONVERSATION_WORK_CALLBACK_ROUTE as E, getDeploymentTelemetryAttributes as F, GOOGLE_IDENTITY_PROVIDER as I, isNativeIdentityProvider as L, JUNIOR_WORKSPACE_SNAPSHOT_JOB_CALLBACK_ROUTE as M, LEGACY_JUNIOR_CONVERSATION_WORK_FUNCTION as N, JUNIOR_HEARTBEAT_ROUTE as O, getDeploymentServiceVersion as P, normalizeIdentityEmail as R, summarizeMessageText as S, withSpan as T, toOptionalString as V, serializeGenAiAttribute as _, extractGenAiUsageSummary as a, setSpanStatus as b, getLogContextAttributesForSpan as c, logError as d, logException as f, runBestEffort as g, normalizeGenAiFinishReason as h, extractGenAiUsageAttributes as i, JUNIOR_RETENTION_ROUTE as j, JUNIOR_PLUGIN_TASK_CALLBACK_ROUTE as k, getTracePropagationHeaders as l, logWarn as m, createChatSdkLogger as n, getActiveTraceId as o, logInfo as p, createRequestContext as r, getLogContextAttributes as s, buildTurnFailureResponse as t, logAudit as u, setSentryUser as v, withLogContext as w, setTags as x, setSpanAttributes as y, isRecord as z };
@@ -1,8 +1,8 @@
1
- import { t as __exportAll } from "./rolldown-runtime-B4FMCO8f.js";
2
- import { Ht as actorFromRun, Q as getActiveAgentInvocationForConversation, Ut as toolInvocationDestination, Y as createAgentInvocationForMessage, Z as findChildAgentConversationId, _t as AgentMessageTargetError, vt as PARENT_AGENT_TARGET } from "./agent-runner-D7OboVb3.js";
3
- import { n as enqueueAgentMessageToParent } from "./result-C883vngT.js";
4
- import { r as enqueueAgentInvocation } from "./work-nAfDSUFP.js";
5
- //#region src/chat/agent-invocations/message.ts
1
+ import { t as __exportAll } from "./rolldown-runtime-nwUcYXjP.js";
2
+ import { Ht as toolInvocationDestination, Q as getActiveAgentInvocationForConversation, Vt as actorFromRun, Y as createAgentInvocationForMessage, Z as findChildAgentConversationId, _t as AgentMessageTargetError, vt as PARENT_AGENT_TARGET } from "./agent-runner-DGsFQw72.js";
3
+ import { n as enqueueAgentMessageToParent } from "./result-BBbKA61B.js";
4
+ import { r as enqueueAgentInvocation } from "./work-DRcsJ3hV.js";
5
+ // src/chat/agent-invocations/message.ts
6
6
  var message_exports = /* @__PURE__ */ __exportAll({ bindMessageAgent: () => bindMessageAgent });
7
7
  /**
8
8
  * Bind a Run's Actor and credentials to messages for its parent and child
@@ -55,5 +55,4 @@ function bindMessageAgent(run, options) {
55
55
  };
56
56
  };
57
57
  }
58
- //#endregion
59
58
  export { message_exports as n, bindMessageAgent as t };
@@ -1,5 +1,5 @@
1
1
  import { z } from "zod";
2
- //#region src/chat/reasoning-level.ts
2
+ // src/chat/reasoning-level.ts
3
3
  const TURN_REASONING_LEVELS = [
4
4
  "none",
5
5
  "low",
@@ -11,8 +11,7 @@ const TURN_REASONING_LEVELS = [
11
11
  function parseTurnReasoningLevel(value) {
12
12
  return z.enum(TURN_REASONING_LEVELS).parse(value);
13
13
  }
14
- //#endregion
15
- //#region src/chat/model-profile.ts
14
+ // src/chat/model-profile.ts
16
15
  /** Keep durable profile names stable and safe to expose in tool schemas. */
17
16
  const modelProfileSchema = z.string().regex(/^[a-z][a-z0-9_-]*$/);
18
17
  /** Shared model profiles used when the app does not configure its own. */
@@ -58,5 +57,4 @@ function profileConfig(config, profile) {
58
57
  if (!profileConfig) throw new ModelProfileNotConfiguredError(profile);
59
58
  return profileConfig;
60
59
  }
61
- //#endregion
62
60
  export { formatModelProfiles as a, profileConfig as c, formatModelProfile as i, TURN_REASONING_LEVELS as l, ModelProfileNotConfiguredError as n, modelIdForProfile as o, defaultModelId as r, modelProfileSchema as s, DEFAULT_MODEL_PROFILES as t, parseTurnReasoningLevel as u };
package/dist/nitro.d.ts CHANGED
@@ -1,6 +1,5 @@
1
- import { r as JuniorDashboardOptions } from "./app-BsU5QNBd.js";
2
- import { n as JuniorPluginSet } from "./plugins-CjfUP5gJ.js";
3
- //#region src/nitro.d.ts
1
+ import { r as JuniorDashboardOptions } from "./app-PX2H1PxU.js";
2
+ import { n as JuniorPluginSet } from "./plugins-B11Mfkmv.js";
4
3
  export type JuniorNitroDashboardOptions = JuniorDashboardOptions;
5
4
  export interface JuniorPluginModuleReference {
6
5
  /** Runtime-safe module that exports a `defineJuniorPlugins(...)` set. */
@@ -31,5 +30,4 @@ export declare function juniorNitro(options?: JuniorNitroOptions): {
31
30
  nitro: {
32
31
  setup(nitro: unknown): void;
33
32
  };
34
- };
35
- //#endregion
33
+ };