@sentry/junior 0.18.1 → 0.20.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.
@@ -51,6 +51,7 @@ function readBotConfig(env) {
51
51
  userName: env.JUNIOR_BOT_NAME ?? "junior",
52
52
  modelId: env.AI_MODEL ?? "anthropic/claude-sonnet-4.6",
53
53
  fastModelId: env.AI_FAST_MODEL ?? env.AI_MODEL ?? "anthropic/claude-haiku-4.5",
54
+ visionModelId: toOptionalTrimmed(env.AI_VISION_MODEL),
54
55
  turnTimeoutMs: parseAgentTurnTimeoutMs(
55
56
  env.AGENT_TURN_TIMEOUT_MS,
56
57
  maxTurnTimeoutMs
@@ -256,6 +257,9 @@ var SANDBOX_SKILLS_ROOT = `${SANDBOX_WORKSPACE_ROOT}/skills`;
256
257
  function sandboxSkillDir(skillName) {
257
258
  return `${SANDBOX_SKILLS_ROOT}/${skillName}`;
258
259
  }
260
+ function sandboxSkillFile(skillName) {
261
+ return `${sandboxSkillDir(skillName)}/SKILL.md`;
262
+ }
259
263
 
260
264
  // src/chat/sandbox/runtime-dependency-snapshots.ts
261
265
  var SNAPSHOT_CACHE_PREFIX = "junior:sandbox_snapshot_profile";
@@ -811,6 +815,7 @@ export {
811
815
  SANDBOX_WORKSPACE_ROOT,
812
816
  SANDBOX_SKILLS_ROOT,
813
817
  sandboxSkillDir,
818
+ sandboxSkillFile,
814
819
  buildNonInteractiveShellScript,
815
820
  runNonInteractiveCommand,
816
821
  getVercelSandboxCredentials,
@@ -431,7 +431,6 @@ export {
431
431
  getCapabilityProvider,
432
432
  listCapabilityProviders,
433
433
  logCapabilityCatalogLoadedOnce,
434
- stripFrontmatter,
435
434
  parseSkillFile,
436
435
  discoverSkills,
437
436
  parseSkillInvocation,
package/dist/cli/check.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  parseSkillFile
3
- } from "../chunk-4XWTSMRF.js";
3
+ } from "../chunk-VJLT6LLV.js";
4
4
  import {
5
5
  parsePluginManifest
6
6
  } from "../chunk-DTOS5CG4.js";
package/dist/cli/init.js CHANGED
@@ -138,6 +138,7 @@ SLACK_SIGNING_SECRET=
138
138
  JUNIOR_BOT_NAME=
139
139
  AI_MODEL=
140
140
  AI_FAST_MODEL=
141
+ AI_VISION_MODEL=
141
142
  REDIS_URL=
142
143
  SENTRY_DSN=
143
144
  `
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  disconnectStateAdapter,
3
3
  resolveRuntimeDependencySnapshot
4
- } from "../chunk-XYOKYK6U.js";
4
+ } from "../chunk-LOTYK7IE.js";
5
5
  import {
6
6
  getPluginProviders,
7
7
  getPluginRuntimeDependencies,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sentry/junior",
3
- "version": "0.18.1",
3
+ "version": "0.20.0",
4
4
  "private": false,
5
5
  "publishConfig": {
6
6
  "access": "public"