@sentry/junior 0.21.0 → 0.22.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.
@@ -5,7 +5,7 @@ import {
5
5
  getPluginSkillRoots,
6
6
  logInfo,
7
7
  logWarn
8
- } from "./chunk-N4ICA2BC.js";
8
+ } from "./chunk-MCJJKEB3.js";
9
9
  import {
10
10
  skillRoots
11
11
  } from "./chunk-XPXD3FCE.js";
@@ -23,7 +23,12 @@ function cloneProviderDefinition(provider) {
23
23
  ...provider,
24
24
  capabilities: [...provider.capabilities],
25
25
  configKeys: [...provider.configKeys],
26
- ...provider.target ? { target: { ...provider.target } } : {}
26
+ ...provider.target ? {
27
+ target: {
28
+ ...provider.target,
29
+ ...provider.target.commandFlags ? { commandFlags: [...provider.target.commandFlags] } : {}
30
+ }
31
+ } : {}
27
32
  };
28
33
  }
29
34
  function getCapabilityCatalog() {
@@ -181,11 +186,11 @@ var skillFrontmatterSchema = z.object({
181
186
  }).optional(),
182
187
  "requires-capabilities": createTokenFieldSchema(
183
188
  "requires-capabilities",
184
- "github.issues.write"
189
+ "provider.scope.write"
185
190
  ).optional(),
186
191
  "uses-config": createTokenFieldSchema(
187
192
  "uses-config",
188
- "github.repo"
193
+ "provider.repo"
189
194
  ).optional()
190
195
  }).passthrough();
191
196
  function stripFrontmatter(raw) {