@sentry/junior 0.12.0 → 0.13.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.
package/dist/app.js CHANGED
@@ -7,7 +7,7 @@ import {
7
7
  logCapabilityCatalogLoadedOnce,
8
8
  parseSkillInvocation,
9
9
  stripFrontmatter
10
- } from "./chunk-IH4T747D.js";
10
+ } from "./chunk-7YFFZCL4.js";
11
11
  import {
12
12
  SANDBOX_SKILLS_ROOT,
13
13
  SANDBOX_WORKSPACE_ROOT,
@@ -26,20 +26,17 @@ import {
26
26
  runNonInteractiveCommand,
27
27
  sandboxSkillDir,
28
28
  toOptionalTrimmed
29
- } from "./chunk-SCG4PCEG.js";
29
+ } from "./chunk-C4N7XWDT.js";
30
30
  import {
31
31
  CredentialUnavailableError,
32
- aboutPathCandidates,
33
32
  buildOAuthTokenRequest,
34
33
  createPluginBroker,
35
34
  createRequestContext,
36
- discoverInstalledPluginPackageContent,
37
35
  extractGenAiUsageAttributes,
38
36
  getPluginDefinition,
39
37
  getPluginMcpProviders,
40
38
  getPluginOAuthConfig,
41
39
  getPluginProviders,
42
- homeDir,
43
40
  isPluginProvider,
44
41
  isRecord,
45
42
  logError,
@@ -50,17 +47,22 @@ import {
50
47
  resolveAuthTokenPlaceholder,
51
48
  resolveErrorReference,
52
49
  serializeGenAiAttribute,
53
- setPluginPackages,
54
50
  setSpanAttributes,
55
51
  setSpanStatus,
56
52
  setTags,
57
- soulPathCandidates,
58
53
  toOptionalNumber,
59
54
  toOptionalString,
60
55
  withContext,
61
56
  withSpan
62
- } from "./chunk-Y2LVMCQ3.js";
57
+ } from "./chunk-WZXIUH5S.js";
63
58
  import "./chunk-Z3YD6NHK.js";
59
+ import {
60
+ aboutPathCandidates,
61
+ discoverInstalledPluginPackageContent,
62
+ homeDir,
63
+ setPluginPackages,
64
+ soulPathCandidates
65
+ } from "./chunk-XH7TV4JS.js";
64
66
  import "./chunk-2KG3PWR4.js";
65
67
 
66
68
  // src/app.ts
@@ -1859,6 +1861,7 @@ import {
1859
1861
  getEnvApiKey,
1860
1862
  getModels
1861
1863
  } from "@mariozechner/pi-ai";
1864
+ import "@mariozechner/pi-ai/anthropic";
1862
1865
  var GATEWAY_PROVIDER = "vercel-ai-gateway";
1863
1866
  var GEN_AI_PROVIDER_NAME = GATEWAY_PROVIDER;
1864
1867
  var GEN_AI_OPERATION_CHAT = "chat";
@@ -4,9 +4,11 @@ import {
4
4
  getPluginForSkillPath,
5
5
  getPluginSkillRoots,
6
6
  logInfo,
7
- logWarn,
7
+ logWarn
8
+ } from "./chunk-WZXIUH5S.js";
9
+ import {
8
10
  skillRoots
9
- } from "./chunk-Y2LVMCQ3.js";
11
+ } from "./chunk-XH7TV4JS.js";
10
12
 
11
13
  // src/chat/skills.ts
12
14
  import fs from "fs/promises";
@@ -2,7 +2,7 @@ import {
2
2
  getPluginRuntimeDependencies,
3
3
  getPluginRuntimePostinstall,
4
4
  withSpan
5
- } from "./chunk-Y2LVMCQ3.js";
5
+ } from "./chunk-WZXIUH5S.js";
6
6
 
7
7
  // src/chat/state/adapter.ts
8
8
  import { createMemoryState } from "@chat-adapter/state-memory";
@@ -176,7 +176,16 @@ var NON_INTERACTIVE_ENV = {
176
176
  GH_SPINNER_DISABLED: "1",
177
177
  GIT_TERMINAL_PROMPT: "0",
178
178
  GCM_INTERACTIVE: "never",
179
- DEBIAN_FRONTEND: "noninteractive"
179
+ DEBIAN_FRONTEND: "noninteractive",
180
+ // Git credential isolation: prevent git from sending its own auth so the
181
+ // sandbox network proxy's header transforms are the sole credential source.
182
+ GIT_ASKPASS: "/bin/true",
183
+ GIT_CONFIG_NOSYSTEM: "1",
184
+ GIT_CONFIG_COUNT: "2",
185
+ GIT_CONFIG_KEY_0: "credential.helper",
186
+ GIT_CONFIG_VALUE_0: "",
187
+ GIT_CONFIG_KEY_1: "http.emptyAuth",
188
+ GIT_CONFIG_VALUE_1: "true"
180
189
  };
181
190
  function shellQuote(value) {
182
191
  return `'${value.replace(/'/g, "'\\''")}'`;