@sentry/junior 0.108.0 → 0.110.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 (109) hide show
  1. package/dist/{agent-hooks-NU5HK3PS.js → agent-hooks-ELT4ODFF.js} +12 -13
  2. package/dist/api/conversations/access.d.ts +9 -0
  3. package/dist/api/conversations/aggregate.d.ts +12 -1
  4. package/dist/api/conversations/archive.d.ts +3 -5
  5. package/dist/api/conversations/detail.d.ts +156 -7
  6. package/dist/api/conversations/events.d.ts +2 -2
  7. package/dist/api/conversations/list.d.ts +57 -6
  8. package/dist/api/conversations/projection.d.ts +6 -7
  9. package/dist/api/conversations/reporting.d.ts +10 -4
  10. package/dist/api/conversations/routes.d.ts +2 -1
  11. package/dist/api/conversations/shared.d.ts +1 -1
  12. package/dist/api/conversations/stats.d.ts +37 -6
  13. package/dist/api/conversations/stats.query.d.ts +1 -1
  14. package/dist/api/conversations/usage.d.ts +9 -0
  15. package/dist/api/http.d.ts +7 -0
  16. package/dist/api/locations/detail.d.ts +102 -6
  17. package/dist/api/locations/list.d.ts +43 -5
  18. package/dist/api/locations/query.d.ts +4 -2
  19. package/dist/api/locations/routes.d.ts +2 -1
  20. package/dist/api/people/list.d.ts +28 -6
  21. package/dist/api/people/list.query.d.ts +1 -1
  22. package/dist/api/people/profile.d.ts +96 -7
  23. package/dist/api/people/profile.query.d.ts +4 -2
  24. package/dist/api/people/routes.d.ts +2 -1
  25. package/dist/api/people/shared.d.ts +1219 -2
  26. package/dist/api/route.d.ts +18 -4
  27. package/dist/api/schema/common.d.ts +6 -0
  28. package/dist/api/{conversations/schema.d.ts → schema/conversation.d.ts} +88 -9
  29. package/dist/api/{locations/schema.d.ts → schema/location.d.ts} +5 -0
  30. package/dist/api/{people/schema.d.ts → schema/person.d.ts} +37 -45
  31. package/dist/api/schema.d.ts +8 -22
  32. package/dist/api/schema.js +10 -2
  33. package/dist/api.d.ts +5 -1
  34. package/dist/api.js +838 -369
  35. package/dist/app.d.ts +1 -0
  36. package/dist/app.js +1564 -486
  37. package/dist/catalog-runtime-4GI22PXK.js +16 -0
  38. package/dist/chat/agent/resume.d.ts +11 -12
  39. package/dist/chat/conversations/history.d.ts +3 -0
  40. package/dist/chat/conversations/sql/privacy.d.ts +3 -15
  41. package/dist/chat/conversations/sql/store.d.ts +0 -7
  42. package/dist/chat/log-context.d.ts +40 -0
  43. package/dist/chat/logging.d.ts +3 -26
  44. package/dist/chat/pi/messages.d.ts +2 -2
  45. package/dist/chat/pi/sql-model-usage.d.ts +4 -1
  46. package/dist/chat/runtime/slack-resume.d.ts +2 -2
  47. package/dist/chat/services/auth-pause.d.ts +4 -0
  48. package/dist/chat/services/context-compaction.d.ts +1 -0
  49. package/dist/chat/services/turn-session-record.d.ts +0 -2
  50. package/dist/chat/slack/reply.d.ts +7 -19
  51. package/dist/chat/state/conversation.d.ts +1 -0
  52. package/dist/chat/task-execution/queue-signing.d.ts +10 -8
  53. package/dist/chat/task-execution/queue.d.ts +9 -7
  54. package/dist/chat/task-execution/slack-work.d.ts +6 -6
  55. package/dist/{chunk-UD6THJ2I.js → chunk-2T7TIEXI.js} +197 -12
  56. package/dist/{chunk-CEA3A3UA.js → chunk-2ZTTXTSZ.js} +24 -1
  57. package/dist/{chunk-XKB7LGIW.js → chunk-3S7YYHBI.js} +3 -139
  58. package/dist/chunk-3TV7OEHL.js +10 -0
  59. package/dist/{chunk-A5CO2EHL.js → chunk-3UBQI73J.js} +11 -15
  60. package/dist/{chunk-7FBGKXPE.js → chunk-42WRQLJ6.js} +10 -33
  61. package/dist/{chunk-TE4QHJH4.js → chunk-4QU44P7Q.js} +135 -595
  62. package/dist/{chunk-RT5BUHR5.js → chunk-6Y5L4BOM.js} +3 -5
  63. package/dist/{chunk-VIXFG2VC.js → chunk-C4MZ3GP5.js} +1 -2
  64. package/dist/{chunk-3RGQLX2F.js → chunk-C5XAFTHY.js} +1011 -29
  65. package/dist/{chunk-PUAMO4PI.js → chunk-FPK7XY3F.js} +139 -99
  66. package/dist/{chunk-H3QYZL7K.js → chunk-GK47NBDE.js} +28 -3
  67. package/dist/{chunk-O24R4DCK.js → chunk-IYKPU7H6.js} +94 -56
  68. package/dist/chunk-JQFJO5WH.js +477 -0
  69. package/dist/{chunk-VH6KWKG2.js → chunk-L5XQPJ7T.js} +3 -3
  70. package/dist/{chunk-2XXEKR44.js → chunk-MIAKQNYX.js} +43 -31
  71. package/dist/{chunk-KPMPQ6AA.js → chunk-RHHRKSPI.js} +249 -223
  72. package/dist/{chunk-YT72TOEK.js → chunk-SBOBTS27.js} +2 -2
  73. package/dist/{chunk-B5I5LMSP.js → chunk-W6RJZG7F.js} +5 -7
  74. package/dist/chunk-W75ZPAGG.js +44 -0
  75. package/dist/{chunk-SS67LUOK.js → chunk-WNOVRQ67.js} +6 -7
  76. package/dist/{chunk-YIPD3L6L.js → chunk-Y3H2DN6F.js} +8 -10
  77. package/dist/{chunk-DY7TRYB5.js → chunk-Y5FK3CNG.js} +1 -1
  78. package/dist/chunk-ZKIOWEFL.js +125 -0
  79. package/dist/cli/chat.js +23 -24
  80. package/dist/cli/check.js +9 -7
  81. package/dist/cli/plugins.js +16 -17
  82. package/dist/cli/snapshot-warmup.js +11 -10
  83. package/dist/cli/upgrade.js +314 -3505
  84. package/dist/db/db.d.ts +1 -1
  85. package/dist/db/schema/conversations.d.ts +17 -0
  86. package/dist/db/schema.d.ts +17 -0
  87. package/dist/{db-AMRBAT5D.js → db-Y6W6CWWW.js} +8 -7
  88. package/dist/instrumentation.js +4 -3
  89. package/dist/nitro.js +4 -4
  90. package/dist/reporting-schema.d.ts +46 -0
  91. package/dist/{runner-TQH5GAJ4.js → runner-BBFV5GLR.js} +17 -21
  92. package/dist/{skills-ITNHBARB.js → skills-AR4AF32L.js} +8 -6
  93. package/dist/{validation-AGQ46ZGV.js → validation-FBIEPTC2.js} +8 -6
  94. package/dist/version.d.ts +2 -0
  95. package/dist/version.js +7 -0
  96. package/migrations/0006_drop_legacy_conversation_messages.sql +1 -0
  97. package/migrations/0007_thick_sugar_man.sql +23 -0
  98. package/migrations/README.md +12 -9
  99. package/migrations/meta/0006_snapshot.json +948 -0
  100. package/migrations/meta/0007_snapshot.json +1013 -0
  101. package/migrations/meta/_journal.json +14 -0
  102. package/package.json +9 -5
  103. package/dist/catalog-runtime-FOFNPR3P.js +0 -14
  104. package/dist/chunk-AHJR2IFF.js +0 -115
  105. package/dist/chunk-B7PUBQQM.js +0 -53
  106. package/dist/chunk-G3E7SCME.js +0 -28
  107. package/dist/chunk-J3B3FPP2.js +0 -1061
  108. package/dist/chunk-OB42YVAE.js +0 -16
  109. package/dist/chunk-TWINAEZQ.js +0 -1283
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  pluginCatalogRuntime
3
- } from "./chunk-YIPD3L6L.js";
3
+ } from "./chunk-3TV7OEHL.js";
4
4
  import {
5
5
  logWarn
6
- } from "./chunk-O24R4DCK.js";
6
+ } from "./chunk-IYKPU7H6.js";
7
7
  import {
8
8
  skillRoots
9
9
  } from "./chunk-3V7OFJZC.js";
@@ -1,21 +1,19 @@
1
1
  import {
2
- SANDBOX_WORKSPACE_ROOT
3
- } from "./chunk-G3E7SCME.js";
4
- import {
2
+ SANDBOX_WORKSPACE_ROOT,
5
3
  getStateAdapter
6
- } from "./chunk-H3QYZL7K.js";
4
+ } from "./chunk-GK47NBDE.js";
7
5
  import {
8
6
  sleep
9
7
  } from "./chunk-4ZNGQH7C.js";
10
8
  import {
11
9
  toOptionalTrimmed
12
- } from "./chunk-SS67LUOK.js";
10
+ } from "./chunk-WNOVRQ67.js";
13
11
  import {
14
12
  pluginCatalogRuntime
15
- } from "./chunk-YIPD3L6L.js";
13
+ } from "./chunk-3TV7OEHL.js";
16
14
  import {
17
15
  withSpan
18
- } from "./chunk-O24R4DCK.js";
16
+ } from "./chunk-IYKPU7H6.js";
19
17
 
20
18
  // src/chat/sandbox/runtime-dependencies.ts
21
19
  var GLOBAL_RUNTIME_DEPENDENCIES = [
@@ -0,0 +1,44 @@
1
+ import {
2
+ JUNIOR_VERSION
3
+ } from "./chunk-ZKIOWEFL.js";
4
+
5
+ // src/deployment.ts
6
+ var JUNIOR_HEARTBEAT_ROUTE = "/api/internal/heartbeat";
7
+ var JUNIOR_HEARTBEAT_CRON_SCHEDULE = "* * * * *";
8
+ var JUNIOR_RETENTION_ROUTE = "/api/internal/retention";
9
+ var JUNIOR_RETENTION_CRON_SCHEDULE = "0 4 * * *";
10
+ var JUNIOR_CONVERSATION_WORK_CALLBACK_ROUTE = "/api/internal/agent/continue";
11
+ var JUNIOR_PLUGIN_TASK_CALLBACK_ROUTE = "/api/internal/plugin/tasks";
12
+ var LEGACY_JUNIOR_CONVERSATION_WORK_FUNCTION = "api/internal/agent/continue.ts";
13
+ function toOptionalTrimmed(value) {
14
+ const trimmed = value?.trim();
15
+ return trimmed ? trimmed : void 0;
16
+ }
17
+ function getDeploymentServiceVersion() {
18
+ return toOptionalTrimmed(process.env.SENTRY_RELEASE) ?? toOptionalTrimmed(process.env.VERCEL_GIT_COMMIT_SHA);
19
+ }
20
+ function getDeploymentTelemetryAttributes() {
21
+ const attributes = {};
22
+ const serviceVersion = getDeploymentServiceVersion();
23
+ const deploymentId = toOptionalTrimmed(process.env.VERCEL_DEPLOYMENT_ID);
24
+ attributes["app.junior.version"] = JUNIOR_VERSION;
25
+ if (serviceVersion) {
26
+ attributes["service.version"] = serviceVersion;
27
+ }
28
+ if (deploymentId) {
29
+ attributes["deployment.id"] = deploymentId;
30
+ }
31
+ return attributes;
32
+ }
33
+
34
+ export {
35
+ JUNIOR_HEARTBEAT_ROUTE,
36
+ JUNIOR_HEARTBEAT_CRON_SCHEDULE,
37
+ JUNIOR_RETENTION_ROUTE,
38
+ JUNIOR_RETENTION_CRON_SCHEDULE,
39
+ JUNIOR_CONVERSATION_WORK_CALLBACK_ROUTE,
40
+ JUNIOR_PLUGIN_TASK_CALLBACK_ROUTE,
41
+ LEGACY_JUNIOR_CONVERSATION_WORK_FUNCTION,
42
+ getDeploymentServiceVersion,
43
+ getDeploymentTelemetryAttributes
44
+ };
@@ -4,7 +4,7 @@ import {
4
4
  toCanonicalInputMessage,
5
5
  toCanonicalOutputMessage,
6
6
  toGenAiMessagesTraceAttributes
7
- } from "./chunk-RT5BUHR5.js";
7
+ } from "./chunk-6Y5L4BOM.js";
8
8
  import {
9
9
  extractGenAiUsageAttributes,
10
10
  logException,
@@ -12,7 +12,7 @@ import {
12
12
  normalizeGenAiFinishReason,
13
13
  serializeGenAiAttribute,
14
14
  withSpan
15
- } from "./chunk-O24R4DCK.js";
15
+ } from "./chunk-IYKPU7H6.js";
16
16
 
17
17
  // src/chat/xml.ts
18
18
  function escapeXml(value) {
@@ -403,14 +403,14 @@ async function completeText(params) {
403
403
  }
404
404
  function logContextFromMetadata(modelId, metadata) {
405
405
  const conversationId = typeof metadata?.conversationId === "string" ? metadata.conversationId : typeof metadata?.threadId === "string" ? metadata.threadId : void 0;
406
- const slackThreadId = typeof metadata?.threadId === "string" ? metadata.threadId : void 0;
407
- const slackChannelId = typeof metadata?.channelId === "string" ? metadata.channelId : void 0;
406
+ const messageConversationId = typeof metadata?.threadId === "string" ? metadata.threadId : void 0;
407
+ const destinationName = typeof metadata?.channelId === "string" ? metadata.channelId : void 0;
408
408
  const runId = typeof metadata?.runId === "string" ? metadata.runId : void 0;
409
409
  return {
410
410
  modelId,
411
411
  ...conversationId ? { conversationId } : {},
412
- ...slackThreadId ? { slackThreadId } : {},
413
- ...slackChannelId ? { slackChannelId } : {},
412
+ ...messageConversationId ? { messageConversationId } : {},
413
+ ...destinationName ? { destinationName } : {},
414
414
  ...runId ? { runId } : {}
415
415
  };
416
416
  }
@@ -869,7 +869,6 @@ function setSlackReactionConfig(overrides) {
869
869
  export {
870
870
  toOptionalTrimmed,
871
871
  escapeXml,
872
- unescapeXml,
873
872
  renderCurrentInstruction,
874
873
  unwrapCurrentInstruction,
875
874
  TURN_CONTEXT_TAG,
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  parseActorUserId
3
- } from "./chunk-VIXFG2VC.js";
3
+ } from "./chunk-C4MZ3GP5.js";
4
4
  import {
5
5
  logInfo,
6
6
  logWarn,
7
7
  setSpanAttributes
8
- } from "./chunk-O24R4DCK.js";
8
+ } from "./chunk-IYKPU7H6.js";
9
9
  import {
10
10
  discoverInstalledPluginPackageContent,
11
11
  normalizePluginPackageNames
@@ -14,10 +14,6 @@ import {
14
14
  pluginRoots
15
15
  } from "./chunk-3V7OFJZC.js";
16
16
 
17
- // src/chat/plugins/registry.ts
18
- import { readFileSync, readdirSync, statSync } from "fs";
19
- import path from "path";
20
-
21
17
  // src/chat/plugins/manifest.ts
22
18
  import { z } from "zod";
23
19
  import { parse as parseYaml } from "yaml";
@@ -1070,6 +1066,10 @@ function parseInlinePluginManifest(manifest, dir, config) {
1070
1066
  });
1071
1067
  }
1072
1068
 
1069
+ // src/chat/plugins/registry.ts
1070
+ import { readFileSync, readdirSync, statSync } from "fs";
1071
+ import path from "path";
1072
+
1073
1073
  // src/chat/plugins/auth/oauth-bearer-broker.ts
1074
1074
  import { randomUUID as randomUUID2 } from "crypto";
1075
1075
 
@@ -2066,19 +2066,17 @@ function createPluginCatalogRuntime() {
2066
2066
  };
2067
2067
  }
2068
2068
 
2069
- // src/chat/plugins/catalog-runtime.ts
2070
- var pluginCatalogRuntime = createPluginCatalogRuntime();
2071
-
2072
2069
  export {
2073
2070
  parsePluginManifest,
2074
2071
  parseInlinePluginManifest,
2075
2072
  CredentialUnavailableError,
2076
2073
  credentialSubjectSchema,
2077
2074
  credentialContextSchema,
2075
+ credentialUserSubjectId,
2078
2076
  hasRequiredOAuthScope,
2079
2077
  resolvePluginCommandEnv,
2080
2078
  resolveAuthTokenPlaceholder,
2081
2079
  buildOAuthTokenRequest,
2082
2080
  parseOAuthTokenResponse,
2083
- pluginCatalogRuntime
2081
+ createPluginCatalogRuntime
2084
2082
  };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  pluginCatalogRuntime
3
- } from "./chunk-YIPD3L6L.js";
3
+ } from "./chunk-3TV7OEHL.js";
4
4
 
5
5
  // src/chat/plugins/validation.ts
6
6
  import { isDeepStrictEqual } from "util";
@@ -0,0 +1,125 @@
1
+ // package.json
2
+ var package_default = {
3
+ name: "@sentry/junior",
4
+ version: "0.110.0",
5
+ private: false,
6
+ publishConfig: {
7
+ access: "public"
8
+ },
9
+ type: "module",
10
+ types: "./dist/app.d.ts",
11
+ repository: {
12
+ type: "git",
13
+ url: "git+https://github.com/getsentry/junior.git",
14
+ directory: "packages/junior"
15
+ },
16
+ bin: {
17
+ junior: "bin/junior.mjs"
18
+ },
19
+ exports: {
20
+ ".": {
21
+ types: "./dist/app.d.ts",
22
+ default: "./dist/app.js"
23
+ },
24
+ "./instrumentation": {
25
+ types: "./dist/instrumentation.d.ts",
26
+ default: "./dist/instrumentation.js"
27
+ },
28
+ "./nitro": {
29
+ types: "./dist/nitro.d.ts",
30
+ default: "./dist/nitro.js"
31
+ },
32
+ "./api": {
33
+ types: "./dist/api.d.ts",
34
+ default: "./dist/api.js"
35
+ },
36
+ "./api/schema": {
37
+ types: "./dist/api/schema.d.ts",
38
+ default: "./dist/api/schema.js"
39
+ },
40
+ "./vercel": {
41
+ types: "./dist/vercel.d.ts",
42
+ default: "./dist/vercel.js"
43
+ },
44
+ "./version": {
45
+ types: "./dist/version.d.ts",
46
+ default: "./dist/version.js"
47
+ }
48
+ },
49
+ files: [
50
+ "dist",
51
+ "bin",
52
+ "migrations"
53
+ ],
54
+ scripts: {
55
+ prepare: "pnpm run build",
56
+ prepack: "pnpm run build",
57
+ build: "tsup && tsc -p tsconfig.build.json --emitDeclarationOnly",
58
+ "db:generate": "pnpm exec drizzle-kit generate --config drizzle.config.ts",
59
+ lint: "oxlint --config .oxlintrc.json --deny-warnings src tests scripts bin tsup.config.ts && depcruise --config .dependency-cruiser.mjs src/chat",
60
+ "lint:fix": "oxlint --config .oxlintrc.json --deny-warnings --fix src tests scripts bin tsup.config.ts",
61
+ test: "vitest run --maxWorkers=4",
62
+ "test:watch": "vitest",
63
+ typecheck: "tsc --noEmit",
64
+ "skills:check": "node scripts/check-skills.mjs",
65
+ "test:coverage": "vitest run --maxWorkers=4 --coverage --reporter=default --reporter=junit --outputFile.junit=coverage/results.junit.xml"
66
+ },
67
+ dependencies: {
68
+ "@ai-sdk/gateway": "^3.0.119",
69
+ "@chat-adapter/slack": "4.29.0",
70
+ "@chat-adapter/state-memory": "4.29.0",
71
+ "@chat-adapter/state-redis": "4.29.0",
72
+ "@earendil-works/pi-agent-core": "0.80.6",
73
+ "@earendil-works/pi-ai": "0.80.6",
74
+ "@logtape/logtape": "^2.1.1",
75
+ "@modelcontextprotocol/sdk": "1.29.0",
76
+ "@neondatabase/serverless": "^1.1.0",
77
+ "@sentry/junior-plugin-api": "workspace:*",
78
+ "@sentry/node": "catalog:",
79
+ "@sinclair/typebox": "^0.34.49",
80
+ "@slack/web-api": "^7.16.0",
81
+ "@vercel/functions": "^3.6.0",
82
+ "@vercel/queue": "^0.2.0",
83
+ "@vercel/sandbox": "2.8.0",
84
+ ai: "^6.0.190",
85
+ "bash-tool": "^1.3.16",
86
+ chat: "4.29.0",
87
+ commander: "^14.0.3",
88
+ "drizzle-orm": "catalog:",
89
+ hono: "^4.12.22",
90
+ jiti: "^2.7.0",
91
+ jose: "^6.2.3",
92
+ "just-bash": "3.0.1",
93
+ "node-html-markdown": "^2.0.0",
94
+ pg: "^8.16.3",
95
+ yaml: "^2.9.0",
96
+ zod: "catalog:"
97
+ },
98
+ devDependencies: {
99
+ "@emnapi/core": "^1.10.0",
100
+ "@emnapi/runtime": "^1.10.0",
101
+ "@sentry/junior-github": "workspace:*",
102
+ "@sentry/junior-memory": "workspace:*",
103
+ "@sentry/junior-scheduler": "workspace:*",
104
+ "@sentry/junior-testing": "workspace:*",
105
+ "@types/node": "^25.9.1",
106
+ "@types/pg": "^8.15.6",
107
+ "@vitest/coverage-v8": "4.1.7",
108
+ "dependency-cruiser": "^17.4.0",
109
+ "drizzle-kit": "catalog:",
110
+ msw: "^2.14.6",
111
+ nitro: "3.0.260522-beta",
112
+ oxlint: "^1.66.0",
113
+ tsup: "^8.5.1",
114
+ typescript: "^6.0.3",
115
+ vercel: "^54.4.0",
116
+ vitest: "^4.1.7"
117
+ }
118
+ };
119
+
120
+ // src/version.ts
121
+ var JUNIOR_VERSION = typeof package_default.version === "string" && package_default.version.trim() ? package_default.version : "unknown";
122
+
123
+ export {
124
+ JUNIOR_VERSION
125
+ };
package/dist/cli/chat.js CHANGED
@@ -1,36 +1,35 @@
1
1
  import {
2
2
  createAgentRunner,
3
3
  executeAgentRun
4
- } from "../chunk-KPMPQ6AA.js";
5
- import "../chunk-3RGQLX2F.js";
6
- import "../chunk-J3B3FPP2.js";
7
- import "../chunk-B5I5LMSP.js";
4
+ } from "../chunk-RHHRKSPI.js";
5
+ import "../chunk-C5XAFTHY.js";
6
+ import "../chunk-W6RJZG7F.js";
8
7
  import "../chunk-MU6HHZEN.js";
9
8
  import "../chunk-PDO5BLNM.js";
10
9
  import "../chunk-UIE3R5XU.js";
11
10
  import {
12
11
  loadAppPluginSet
13
12
  } from "../chunk-Y2CM7HXH.js";
14
- import "../chunk-UD6THJ2I.js";
15
- import "../chunk-AHJR2IFF.js";
16
- import "../chunk-G3E7SCME.js";
17
- import "../chunk-H3QYZL7K.js";
18
- import "../chunk-VH6KWKG2.js";
19
- import "../chunk-TE4QHJH4.js";
13
+ import "../chunk-2T7TIEXI.js";
14
+ import "../chunk-GK47NBDE.js";
15
+ import "../chunk-L5XQPJ7T.js";
16
+ import "../chunk-4QU44P7Q.js";
17
+ import "../chunk-JQFJO5WH.js";
20
18
  import "../chunk-4ZNGQH7C.js";
21
- import "../chunk-SS67LUOK.js";
19
+ import "../chunk-WNOVRQ67.js";
22
20
  import "../chunk-VFUK3X5B.js";
23
- import "../chunk-RT5BUHR5.js";
24
- import "../chunk-B7PUBQQM.js";
25
- import "../chunk-YT72TOEK.js";
26
- import "../chunk-YIPD3L6L.js";
27
- import "../chunk-VIXFG2VC.js";
28
- import "../chunk-O24R4DCK.js";
29
- import "../chunk-OB42YVAE.js";
21
+ import "../chunk-6Y5L4BOM.js";
22
+ import "../chunk-SBOBTS27.js";
23
+ import "../chunk-3TV7OEHL.js";
24
+ import "../chunk-Y3H2DN6F.js";
25
+ import "../chunk-C4MZ3GP5.js";
26
+ import "../chunk-IYKPU7H6.js";
27
+ import "../chunk-42WRQLJ6.js";
30
28
  import "../chunk-6GWA276C.js";
31
29
  import "../chunk-B3IT5END.js";
32
- import "../chunk-7FBGKXPE.js";
33
30
  import "../chunk-3V7OFJZC.js";
31
+ import "../chunk-W75ZPAGG.js";
32
+ import "../chunk-ZKIOWEFL.js";
34
33
  import "../chunk-MLKGABMK.js";
35
34
 
36
35
  // src/cli/chat.ts
@@ -153,10 +152,10 @@ async function configureLocalChatPlugins(pluginSet) {
153
152
  databaseModule
154
153
  ] = await Promise.all([
155
154
  import("../plugins-PZMDS7AT.js"),
156
- import("../agent-hooks-NU5HK3PS.js"),
157
- import("../catalog-runtime-FOFNPR3P.js"),
158
- import("../validation-AGQ46ZGV.js"),
159
- import("../db-AMRBAT5D.js")
155
+ import("../agent-hooks-ELT4ODFF.js"),
156
+ import("../catalog-runtime-4GI22PXK.js"),
157
+ import("../validation-FBIEPTC2.js"),
158
+ import("../db-Y6W6CWWW.js")
160
159
  ]);
161
160
  const resolvedPluginSet = pluginSet === void 0 ? await loadLocalPluginSet() : pluginSet ?? void 0;
162
161
  const plugins = pluginsModule.pluginRuntimeRegistrationsFromPluginSet(resolvedPluginSet);
@@ -217,7 +216,7 @@ function newRunConversationId() {
217
216
  async function prepareLocalChatRun(io, pluginSet) {
218
217
  defaultStateAdapterForLocalChat();
219
218
  await configureLocalChatPlugins(pluginSet);
220
- const { runLocalAgentTurn } = await import("../runner-TQH5GAJ4.js");
219
+ const { runLocalAgentTurn } = await import("../runner-BBFV5GLR.js");
221
220
  const deps = {
222
221
  agentRunner: createAgentRunner(executeAgentRun),
223
222
  deliverReply: async (reply) => {
package/dist/cli/check.js CHANGED
@@ -1,21 +1,23 @@
1
1
  import {
2
2
  parseSkillFile
3
- } from "../chunk-YT72TOEK.js";
3
+ } from "../chunk-SBOBTS27.js";
4
+ import "../chunk-3TV7OEHL.js";
4
5
  import {
5
6
  parseInlinePluginManifest,
6
7
  parsePluginManifest
7
- } from "../chunk-YIPD3L6L.js";
8
- import "../chunk-VIXFG2VC.js";
9
- import "../chunk-O24R4DCK.js";
10
- import "../chunk-OB42YVAE.js";
8
+ } from "../chunk-Y3H2DN6F.js";
9
+ import "../chunk-C4MZ3GP5.js";
10
+ import "../chunk-IYKPU7H6.js";
11
+ import "../chunk-42WRQLJ6.js";
11
12
  import "../chunk-6GWA276C.js";
12
13
  import "../chunk-B3IT5END.js";
14
+ import "../chunk-3V7OFJZC.js";
13
15
  import {
14
16
  JUNIOR_CONVERSATION_WORK_CALLBACK_ROUTE,
15
17
  JUNIOR_HEARTBEAT_ROUTE,
16
18
  LEGACY_JUNIOR_CONVERSATION_WORK_FUNCTION
17
- } from "../chunk-7FBGKXPE.js";
18
- import "../chunk-3V7OFJZC.js";
19
+ } from "../chunk-W75ZPAGG.js";
20
+ import "../chunk-ZKIOWEFL.js";
19
21
  import "../chunk-MLKGABMK.js";
20
22
 
21
23
  // src/cli/check.ts
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  validatePluginEgressCredentialHooks,
3
3
  validatePluginRegistrations
4
- } from "../chunk-DY7TRYB5.js";
4
+ } from "../chunk-Y5FK3CNG.js";
5
5
  import {
6
6
  pluginCatalogConfigFromPluginSet,
7
7
  pluginCliRegistrationsFromPluginSet,
@@ -11,33 +11,32 @@ import {
11
11
  loadAppPluginSet
12
12
  } from "../chunk-Y2CM7HXH.js";
13
13
  import {
14
+ createPluginLogger,
14
15
  setPlugins,
15
16
  validatePlugins
16
- } from "../chunk-UD6THJ2I.js";
17
- import {
18
- createPluginLogger
19
- } from "../chunk-AHJR2IFF.js";
20
- import "../chunk-G3E7SCME.js";
21
- import "../chunk-H3QYZL7K.js";
22
- import "../chunk-VH6KWKG2.js";
17
+ } from "../chunk-2T7TIEXI.js";
18
+ import "../chunk-GK47NBDE.js";
19
+ import "../chunk-L5XQPJ7T.js";
23
20
  import {
24
21
  getDb
25
- } from "../chunk-TE4QHJH4.js";
22
+ } from "../chunk-4QU44P7Q.js";
23
+ import "../chunk-JQFJO5WH.js";
26
24
  import "../chunk-4ZNGQH7C.js";
27
- import "../chunk-SS67LUOK.js";
25
+ import "../chunk-WNOVRQ67.js";
28
26
  import "../chunk-VFUK3X5B.js";
29
- import "../chunk-RT5BUHR5.js";
30
- import "../chunk-B7PUBQQM.js";
27
+ import "../chunk-6Y5L4BOM.js";
31
28
  import {
32
29
  pluginCatalogRuntime
33
- } from "../chunk-YIPD3L6L.js";
34
- import "../chunk-VIXFG2VC.js";
35
- import "../chunk-O24R4DCK.js";
36
- import "../chunk-OB42YVAE.js";
30
+ } from "../chunk-3TV7OEHL.js";
31
+ import "../chunk-Y3H2DN6F.js";
32
+ import "../chunk-C4MZ3GP5.js";
33
+ import "../chunk-IYKPU7H6.js";
34
+ import "../chunk-42WRQLJ6.js";
37
35
  import "../chunk-6GWA276C.js";
38
36
  import "../chunk-B3IT5END.js";
39
- import "../chunk-7FBGKXPE.js";
40
37
  import "../chunk-3V7OFJZC.js";
38
+ import "../chunk-W75ZPAGG.js";
39
+ import "../chunk-ZKIOWEFL.js";
41
40
  import "../chunk-MLKGABMK.js";
42
41
 
43
42
  // src/cli/plugins.ts
@@ -1,24 +1,25 @@
1
1
  import {
2
2
  GLOBAL_RUNTIME_DEPENDENCIES,
3
3
  resolveRuntimeDependencySnapshot
4
- } from "../chunk-B5I5LMSP.js";
5
- import "../chunk-G3E7SCME.js";
4
+ } from "../chunk-W6RJZG7F.js";
6
5
  import {
7
6
  disconnectStateAdapter
8
- } from "../chunk-H3QYZL7K.js";
7
+ } from "../chunk-GK47NBDE.js";
9
8
  import "../chunk-4ZNGQH7C.js";
10
- import "../chunk-SS67LUOK.js";
11
- import "../chunk-RT5BUHR5.js";
9
+ import "../chunk-WNOVRQ67.js";
10
+ import "../chunk-6Y5L4BOM.js";
12
11
  import {
13
12
  pluginCatalogRuntime
14
- } from "../chunk-YIPD3L6L.js";
15
- import "../chunk-VIXFG2VC.js";
16
- import "../chunk-O24R4DCK.js";
17
- import "../chunk-OB42YVAE.js";
13
+ } from "../chunk-3TV7OEHL.js";
14
+ import "../chunk-Y3H2DN6F.js";
15
+ import "../chunk-C4MZ3GP5.js";
16
+ import "../chunk-IYKPU7H6.js";
17
+ import "../chunk-42WRQLJ6.js";
18
18
  import "../chunk-6GWA276C.js";
19
19
  import "../chunk-B3IT5END.js";
20
- import "../chunk-7FBGKXPE.js";
21
20
  import "../chunk-3V7OFJZC.js";
21
+ import "../chunk-W75ZPAGG.js";
22
+ import "../chunk-ZKIOWEFL.js";
22
23
  import "../chunk-MLKGABMK.js";
23
24
 
24
25
  // src/cli/snapshot-warmup.ts