@sentry/core 10.52.0 → 10.53.1
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/browser.d.ts +4 -0
- package/browser.js +3 -0
- package/build/cjs/browser.js +529 -0
- package/build/cjs/browser.js.map +1 -0
- package/build/cjs/client.js +9 -0
- package/build/cjs/client.js.map +1 -1
- package/build/cjs/index.js +69 -68
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/instrument/console.js +43 -3
- package/build/cjs/instrument/console.js.map +1 -1
- package/build/cjs/integrations/captureconsole.js +2 -2
- package/build/cjs/integrations/captureconsole.js.map +1 -1
- package/build/cjs/integrations/console.js +5 -1
- package/build/cjs/integrations/console.js.map +1 -1
- package/build/cjs/integrations/express/index.js +2 -2
- package/build/cjs/integrations/express/index.js.map +1 -1
- package/build/cjs/integrations/mcp-server/errorCapture.js +2 -2
- package/build/cjs/integrations/mcp-server/errorCapture.js.map +1 -1
- package/build/cjs/integrations/mcp-server/handlers.js +72 -0
- package/build/cjs/integrations/mcp-server/handlers.js.map +1 -1
- package/build/cjs/integrations/mcp-server/index.js +10 -1
- package/build/cjs/integrations/mcp-server/index.js.map +1 -1
- package/build/cjs/integrations/supabase.js +4 -4
- package/build/cjs/integrations/supabase.js.map +1 -1
- package/build/cjs/semanticAttributes.js +4 -4
- package/build/cjs/semanticAttributes.js.map +1 -1
- package/build/cjs/server.js +563 -0
- package/build/cjs/server.js.map +1 -0
- package/build/cjs/tracing/ai/utils.js +2 -2
- package/build/cjs/tracing/ai/utils.js.map +1 -1
- package/build/cjs/tracing/anthropic-ai/index.js +3 -3
- package/build/cjs/tracing/anthropic-ai/index.js.map +1 -1
- package/build/cjs/tracing/anthropic-ai/streaming.js +3 -3
- package/build/cjs/tracing/anthropic-ai/streaming.js.map +1 -1
- package/build/cjs/tracing/anthropic-ai/utils.js +2 -2
- package/build/cjs/tracing/anthropic-ai/utils.js.map +1 -1
- package/build/cjs/tracing/google-genai/index.js +3 -3
- package/build/cjs/tracing/google-genai/index.js.map +1 -1
- package/build/cjs/tracing/google-genai/streaming.js +2 -2
- package/build/cjs/tracing/google-genai/streaming.js.map +1 -1
- package/build/cjs/tracing/langchain/embeddings.js +2 -2
- package/build/cjs/tracing/langchain/embeddings.js.map +1 -1
- package/build/cjs/tracing/langchain/index.js +4 -4
- package/build/cjs/tracing/langchain/index.js.map +1 -1
- package/build/cjs/tracing/langgraph/index.js +3 -3
- package/build/cjs/tracing/langgraph/index.js.map +1 -1
- package/build/cjs/tracing/langgraph/utils.js +2 -2
- package/build/cjs/tracing/langgraph/utils.js.map +1 -1
- package/build/cjs/tracing/openai/index.js +3 -3
- package/build/cjs/tracing/openai/index.js.map +1 -1
- package/build/cjs/tracing/openai/streaming.js +2 -2
- package/build/cjs/tracing/openai/streaming.js.map +1 -1
- package/build/cjs/tracing/sentrySpan.js +5 -0
- package/build/cjs/tracing/sentrySpan.js.map +1 -1
- package/build/cjs/tracing/spans/captureSpan.js +5 -9
- package/build/cjs/tracing/spans/captureSpan.js.map +1 -1
- package/build/cjs/tracing/spans/extractGenAiSpans.js +60 -0
- package/build/cjs/tracing/spans/extractGenAiSpans.js.map +1 -0
- package/build/cjs/tracing/spans/spanJsonToStreamedSpan.js +26 -0
- package/build/cjs/tracing/spans/spanJsonToStreamedSpan.js.map +1 -0
- package/build/cjs/tracing/vercel-ai/index.js +6 -1
- package/build/cjs/tracing/vercel-ai/index.js.map +1 -1
- package/build/cjs/trpc.js +3 -3
- package/build/cjs/trpc.js.map +1 -1
- package/build/cjs/utils/exports.js +7 -7
- package/build/cjs/utils/exports.js.map +1 -1
- package/build/cjs/utils/flushIfServerless.js +2 -2
- package/build/cjs/utils/flushIfServerless.js.map +1 -1
- package/build/cjs/utils/string.js +9 -2
- package/build/cjs/utils/string.js.map +1 -1
- package/build/cjs/utils/traceData.js +2 -2
- package/build/cjs/utils/traceData.js.map +1 -1
- package/build/cjs/utils/version.js +1 -1
- package/build/esm/browser.js +142 -0
- package/build/esm/browser.js.map +1 -0
- package/build/esm/client.js +9 -0
- package/build/esm/client.js.map +1 -1
- package/build/esm/index.js +17 -17
- package/build/esm/instrument/console.js +44 -5
- package/build/esm/instrument/console.js.map +1 -1
- package/build/esm/integrations/console.js +6 -2
- package/build/esm/integrations/console.js.map +1 -1
- package/build/esm/integrations/mcp-server/handlers.js +72 -1
- package/build/esm/integrations/mcp-server/handlers.js.map +1 -1
- package/build/esm/integrations/mcp-server/index.js +11 -2
- package/build/esm/integrations/mcp-server/index.js.map +1 -1
- package/build/esm/package.json +1 -1
- package/build/esm/semanticAttributes.js +4 -4
- package/build/esm/semanticAttributes.js.map +1 -1
- package/build/esm/server.js +157 -0
- package/build/esm/server.js.map +1 -0
- package/build/esm/tracing/sentrySpan.js +5 -0
- package/build/esm/tracing/sentrySpan.js.map +1 -1
- package/build/esm/tracing/spans/captureSpan.js +5 -9
- package/build/esm/tracing/spans/captureSpan.js.map +1 -1
- package/build/esm/tracing/spans/extractGenAiSpans.js +58 -0
- package/build/esm/tracing/spans/extractGenAiSpans.js.map +1 -0
- package/build/esm/tracing/spans/spanJsonToStreamedSpan.js +24 -0
- package/build/esm/tracing/spans/spanJsonToStreamedSpan.js.map +1 -0
- package/build/esm/tracing/vercel-ai/index.js +6 -1
- package/build/esm/tracing/vercel-ai/index.js.map +1 -1
- package/build/esm/utils/exports.js +7 -7
- package/build/esm/utils/exports.js.map +1 -1
- package/build/esm/utils/string.js +9 -2
- package/build/esm/utils/string.js.map +1 -1
- package/build/esm/utils/version.js +1 -1
- package/build/types/browser-exports.d.ts +11 -0
- package/build/types/browser-exports.d.ts.map +1 -0
- package/build/types/browser.d.ts +3 -0
- package/build/types/browser.d.ts.map +1 -0
- package/build/types/build-time-plugins/buildTimeOptionsBase.d.ts +8 -0
- package/build/types/build-time-plugins/buildTimeOptionsBase.d.ts.map +1 -1
- package/build/types/carrier.d.ts +1 -1
- package/build/types/carrier.d.ts.map +1 -1
- package/build/types/client.d.ts.map +1 -1
- package/build/types/index.d.ts +3 -232
- package/build/types/index.d.ts.map +1 -1
- package/build/types/instrument/console.d.ts +7 -0
- package/build/types/instrument/console.d.ts.map +1 -1
- package/build/types/integrations/captureconsole.d.ts +1 -1
- package/build/types/integrations/captureconsole.d.ts.map +1 -1
- package/build/types/integrations/console.d.ts +5 -0
- package/build/types/integrations/console.d.ts.map +1 -1
- package/build/types/integrations/conversationId.d.ts +1 -1
- package/build/types/integrations/conversationId.d.ts.map +1 -1
- package/build/types/integrations/dedupe.d.ts +1 -1
- package/build/types/integrations/dedupe.d.ts.map +1 -1
- package/build/types/integrations/eventFilters.d.ts +2 -2
- package/build/types/integrations/eventFilters.d.ts.map +1 -1
- package/build/types/integrations/extraerrordata.d.ts +1 -1
- package/build/types/integrations/extraerrordata.d.ts.map +1 -1
- package/build/types/integrations/functiontostring.d.ts +1 -1
- package/build/types/integrations/functiontostring.d.ts.map +1 -1
- package/build/types/integrations/linkederrors.d.ts +1 -1
- package/build/types/integrations/linkederrors.d.ts.map +1 -1
- package/build/types/integrations/mcp-server/handlers.d.ts +18 -0
- package/build/types/integrations/mcp-server/handlers.d.ts.map +1 -1
- package/build/types/integrations/mcp-server/index.d.ts +8 -1
- package/build/types/integrations/mcp-server/index.d.ts.map +1 -1
- package/build/types/integrations/requestdata.d.ts +1 -1
- package/build/types/integrations/requestdata.d.ts.map +1 -1
- package/build/types/integrations/spanStreaming.d.ts +1 -1
- package/build/types/integrations/spanStreaming.d.ts.map +1 -1
- package/build/types/integrations/supabase.d.ts +1 -1
- package/build/types/integrations/supabase.d.ts.map +1 -1
- package/build/types/integrations/zoderrors.d.ts +1 -1
- package/build/types/integrations/zoderrors.d.ts.map +1 -1
- package/build/types/logs/console-integration.d.ts +1 -1
- package/build/types/logs/console-integration.d.ts.map +1 -1
- package/build/types/semanticAttributes.d.ts +4 -4
- package/build/types/semanticAttributes.d.ts.map +1 -1
- package/build/types/server-exports.d.ts +26 -0
- package/build/types/server-exports.d.ts.map +1 -0
- package/build/types/server.d.ts +10 -0
- package/build/types/server.d.ts.map +1 -0
- package/build/types/shared-exports.d.ts +215 -0
- package/build/types/shared-exports.d.ts.map +1 -0
- package/build/types/tracing/sentrySpan.d.ts.map +1 -1
- package/build/types/tracing/spans/captureSpan.d.ts.map +1 -1
- package/build/types/tracing/spans/extractGenAiSpans.d.ts +15 -0
- package/build/types/tracing/spans/extractGenAiSpans.d.ts.map +1 -0
- package/build/types/tracing/spans/spanJsonToStreamedSpan.d.ts +6 -0
- package/build/types/tracing/spans/spanJsonToStreamedSpan.d.ts.map +1 -0
- package/build/types/tracing/vercel-ai/index.d.ts.map +1 -1
- package/build/types/types-hoist/envelope.d.ts +1 -1
- package/build/types/types-hoist/envelope.d.ts.map +1 -1
- package/build/types/types-hoist/options.d.ts +8 -0
- package/build/types/types-hoist/options.d.ts.map +1 -1
- package/build/types/utils/string.d.ts +1 -1
- package/build/types/utils/string.d.ts.map +1 -1
- package/build/types-ts3.8/browser-exports.d.ts +11 -0
- package/build/types-ts3.8/browser.d.ts +3 -0
- package/build/types-ts3.8/build-time-plugins/buildTimeOptionsBase.d.ts +8 -0
- package/build/types-ts3.8/carrier.d.ts +1 -1
- package/build/types-ts3.8/index.d.ts +3 -234
- package/build/types-ts3.8/instrument/console.d.ts +7 -0
- package/build/types-ts3.8/integrations/captureconsole.d.ts +1 -1
- package/build/types-ts3.8/integrations/console.d.ts +5 -0
- package/build/types-ts3.8/integrations/conversationId.d.ts +1 -1
- package/build/types-ts3.8/integrations/dedupe.d.ts +1 -1
- package/build/types-ts3.8/integrations/eventFilters.d.ts +2 -2
- package/build/types-ts3.8/integrations/extraerrordata.d.ts +1 -1
- package/build/types-ts3.8/integrations/functiontostring.d.ts +1 -1
- package/build/types-ts3.8/integrations/linkederrors.d.ts +1 -1
- package/build/types-ts3.8/integrations/mcp-server/handlers.d.ts +18 -0
- package/build/types-ts3.8/integrations/mcp-server/index.d.ts +8 -1
- package/build/types-ts3.8/integrations/requestdata.d.ts +1 -1
- package/build/types-ts3.8/integrations/spanStreaming.d.ts +1 -1
- package/build/types-ts3.8/integrations/supabase.d.ts +1 -1
- package/build/types-ts3.8/integrations/zoderrors.d.ts +1 -1
- package/build/types-ts3.8/logs/console-integration.d.ts +1 -1
- package/build/types-ts3.8/semanticAttributes.d.ts +4 -4
- package/build/types-ts3.8/server-exports.d.ts +21 -0
- package/build/types-ts3.8/server.d.ts +10 -0
- package/build/types-ts3.8/shared-exports.d.ts +214 -0
- package/build/types-ts3.8/tracing/spans/extractGenAiSpans.d.ts +15 -0
- package/build/types-ts3.8/tracing/spans/spanJsonToStreamedSpan.d.ts +6 -0
- package/build/types-ts3.8/types-hoist/envelope.d.ts +1 -1
- package/build/types-ts3.8/types-hoist/options.d.ts +8 -0
- package/build/types-ts3.8/utils/string.d.ts +1 -1
- package/package.json +32 -2
- package/server.d.ts +4 -0
- package/server.js +3 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"eventFilters.d.ts","sourceRoot":"","sources":["../../../src/integrations/eventFilters.ts"],"names":[],"mappings":"AA0BA,+CAA+C;AAC/C,MAAM,WAAW,mBAAmB;IAClC,SAAS,EAAE,KAAK,CAAC,MAAM,GAAG,MAAM,CAAC,CAAC;IAClC,QAAQ,EAAE,KAAK,CAAC,MAAM,GAAG,MAAM,CAAC,CAAC;IACjC,YAAY,EAAE,KAAK,CAAC,MAAM,GAAG,MAAM,CAAC,CAAC;IACrC,kBAAkB,EAAE,KAAK,CAAC,MAAM,GAAG,MAAM,CAAC,CAAC;IAC3C,cAAc,EAAE,OAAO,CAAC;IACxB,oBAAoB,EAAE,OAAO,CAAC;CAC/B;AAID;;;;;;;;;;;;GAYG;AACH,eAAO,MAAM,uBAAuB,
|
|
1
|
+
{"version":3,"file":"eventFilters.d.ts","sourceRoot":"","sources":["../../../src/integrations/eventFilters.ts"],"names":[],"mappings":"AA0BA,+CAA+C;AAC/C,MAAM,WAAW,mBAAmB;IAClC,SAAS,EAAE,KAAK,CAAC,MAAM,GAAG,MAAM,CAAC,CAAC;IAClC,QAAQ,EAAE,KAAK,CAAC,MAAM,GAAG,MAAM,CAAC,CAAC;IACjC,YAAY,EAAE,KAAK,CAAC,MAAM,GAAG,MAAM,CAAC,CAAC;IACrC,kBAAkB,EAAE,KAAK,CAAC,MAAM,GAAG,MAAM,CAAC,CAAC;IAC3C,cAAc,EAAE,OAAO,CAAC;IACxB,oBAAoB,EAAE,OAAO,CAAC;CAC/B;AAID;;;;;;;;;;;;GAYG;AACH,eAAO,MAAM,uBAAuB,kFAgBlC,CAAC;AAEH;;;;;;;;;;;;;;;GAeG;AACH,eAAO,MAAM,yBAAyB,kFAKX,CAAC"}
|
|
@@ -10,6 +10,6 @@ interface ExtraErrorDataOptions {
|
|
|
10
10
|
*/
|
|
11
11
|
captureErrorCause: boolean;
|
|
12
12
|
}
|
|
13
|
-
export declare const extraErrorDataIntegration: (options?: Partial<ExtraErrorDataOptions> | undefined) => import("
|
|
13
|
+
export declare const extraErrorDataIntegration: (options?: Partial<ExtraErrorDataOptions> | undefined) => import("..").Integration;
|
|
14
14
|
export {};
|
|
15
15
|
//# sourceMappingURL=extraerrordata.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"extraerrordata.d.ts","sourceRoot":"","sources":["../../../src/integrations/extraerrordata.ts"],"names":[],"mappings":"AAcA,UAAU,qBAAqB;IAC7B;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IAEd;;;;OAIG;IACH,iBAAiB,EAAE,OAAO,CAAC;CAC5B;AAgBD,eAAO,MAAM,yBAAyB,
|
|
1
|
+
{"version":3,"file":"extraerrordata.d.ts","sourceRoot":"","sources":["../../../src/integrations/extraerrordata.ts"],"names":[],"mappings":"AAcA,UAAU,qBAAqB;IAC7B;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IAEd;;;;OAIG;IACH,iBAAiB,EAAE,OAAO,CAAC;CAC5B;AAgBD,eAAO,MAAM,yBAAyB,oFAAgD,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"functiontostring.d.ts","sourceRoot":"","sources":["../../../src/integrations/functiontostring.ts"],"names":[],"mappings":"AAuCA;;;;;;;;;;GAUG;AACH,eAAO,MAAM,2BAA2B,
|
|
1
|
+
{"version":3,"file":"functiontostring.d.ts","sourceRoot":"","sources":["../../../src/integrations/functiontostring.ts"],"names":[],"mappings":"AAuCA;;;;;;;;;;GAUG;AACH,eAAO,MAAM,2BAA2B,gCAAkD,CAAC"}
|
|
@@ -2,6 +2,6 @@ interface LinkedErrorsOptions {
|
|
|
2
2
|
key?: string;
|
|
3
3
|
limit?: number;
|
|
4
4
|
}
|
|
5
|
-
export declare const linkedErrorsIntegration: (options?: LinkedErrorsOptions | undefined) => import("
|
|
5
|
+
export declare const linkedErrorsIntegration: (options?: LinkedErrorsOptions | undefined) => import("..").Integration;
|
|
6
6
|
export {};
|
|
7
7
|
//# sourceMappingURL=linkederrors.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"linkederrors.d.ts","sourceRoot":"","sources":["../../../src/integrations/linkederrors.ts"],"names":[],"mappings":"AAKA,UAAU,mBAAmB;IAC3B,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAqBD,eAAO,MAAM,uBAAuB,
|
|
1
|
+
{"version":3,"file":"linkederrors.d.ts","sourceRoot":"","sources":["../../../src/integrations/linkederrors.ts"],"names":[],"mappings":"AAKA,UAAU,mBAAmB;IAC3B,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAqBD,eAAO,MAAM,uBAAuB,yEAA8C,CAAC"}
|
|
@@ -30,4 +30,22 @@ export declare function wrapPromptHandlers(serverInstance: MCPServerInstance): v
|
|
|
30
30
|
* @param serverInstance - MCP server instance
|
|
31
31
|
*/
|
|
32
32
|
export declare function wrapAllMCPHandlers(serverInstance: MCPServerInstance): void;
|
|
33
|
+
/**
|
|
34
|
+
* Retroactively wraps handlers on tools, resources, and prompts that were registered
|
|
35
|
+
* before `wrapMcpServerWithSentry` was called.
|
|
36
|
+
*
|
|
37
|
+
* The MCP SDK stores registered entries in private maps and invokes them via the entry's
|
|
38
|
+
* own property at call time — `executor` for tools, `readCallback` for resources, and
|
|
39
|
+
* `handler` for prompts. Replacing those properties
|
|
40
|
+
* in-place is therefore equivalent to having wrapped the original registration call.
|
|
41
|
+
*
|
|
42
|
+
* NOTE: This intentionally accesses private MCP SDK internals (`_registeredTools` etc.).
|
|
43
|
+
* The properties and their shapes are verified against @modelcontextprotocol/sdk source:
|
|
44
|
+
* https://github.com/modelcontextprotocol/typescript-sdk/blob/2c0c481cb9dbfd15c8613f765c940a5f5bace94d/packages/server/src/server/mcp.ts#L304
|
|
45
|
+
* When upgrading the MCP SDK, re-verify that these internal maps and their callable
|
|
46
|
+
* properties still exist and are invoked directly (not captured by closure at registration).
|
|
47
|
+
* All access is defensive — if a property is absent or not a function we skip silently.
|
|
48
|
+
* @internal
|
|
49
|
+
*/
|
|
50
|
+
export declare function wrapExistingHandlers(serverInstance: MCPServerInstance): void;
|
|
33
51
|
//# sourceMappingURL=handlers.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"handlers.d.ts","sourceRoot":"","sources":["../../../../src/integrations/mcp-server/handlers.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAMH,OAAO,KAAK,EAAc,iBAAiB,EAAE,MAAM,SAAS,CAAC;AAqH7D;;;;GAIG;AACH,wBAAgB,gBAAgB,CAAC,cAAc,EAAE,iBAAiB,GAAG,IAAI,CAGxE;AAED;;;;GAIG;AACH,wBAAgB,oBAAoB,CAAC,cAAc,EAAE,iBAAiB,GAAG,IAAI,CAG5E;AAED;;;;GAIG;AACH,wBAAgB,kBAAkB,CAAC,cAAc,EAAE,iBAAiB,GAAG,IAAI,CAG1E;AAED;;;;;GAKG;AACH,wBAAgB,kBAAkB,CAAC,cAAc,EAAE,iBAAiB,GAAG,IAAI,CAI1E"}
|
|
1
|
+
{"version":3,"file":"handlers.d.ts","sourceRoot":"","sources":["../../../../src/integrations/mcp-server/handlers.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAMH,OAAO,KAAK,EAAc,iBAAiB,EAAE,MAAM,SAAS,CAAC;AAqH7D;;;;GAIG;AACH,wBAAgB,gBAAgB,CAAC,cAAc,EAAE,iBAAiB,GAAG,IAAI,CAGxE;AAED;;;;GAIG;AACH,wBAAgB,oBAAoB,CAAC,cAAc,EAAE,iBAAiB,GAAG,IAAI,CAG5E;AAED;;;;GAIG;AACH,wBAAgB,kBAAkB,CAAC,cAAc,EAAE,iBAAiB,GAAG,IAAI,CAG1E;AAED;;;;;GAKG;AACH,wBAAgB,kBAAkB,CAAC,cAAc,EAAE,iBAAiB,GAAG,IAAI,CAI1E;AAED;;;;;;;;;;;;;;;;GAgBG;AACH,wBAAgB,oBAAoB,CAAC,cAAc,EAAE,iBAAiB,GAAG,IAAI,CAoD5E"}
|
|
@@ -6,17 +6,24 @@ import type { McpServerWrapperOptions } from './types';
|
|
|
6
6
|
* and versions that expose the newer `registerTool`/`registerResource`/`registerPrompt` API (introduced in 1.x, sole API in 2.x).
|
|
7
7
|
* Automatically instruments transport methods and handler functions for comprehensive monitoring.
|
|
8
8
|
*
|
|
9
|
+
* Both call orderings are supported: wrapping before or after registering tools, resources,
|
|
10
|
+
* and prompts. Sentry patches the registration methods for future handlers and retroactively
|
|
11
|
+
* wraps any already-registered ones. Wrapping at construction time is recommended by
|
|
12
|
+
* convention (consistent with other SDK integrations), but is not required.
|
|
13
|
+
*
|
|
9
14
|
* @example
|
|
10
15
|
* ```typescript
|
|
11
16
|
* import * as Sentry from '@sentry/core';
|
|
12
17
|
* import { McpServer } from '@modelcontextprotocol/sdk/server/mcp.js';
|
|
13
18
|
* import { StreamableHTTPServerTransport } from '@modelcontextprotocol/sdk/server/streamableHttp.js';
|
|
14
19
|
*
|
|
15
|
-
* //
|
|
20
|
+
* // Wrap first, then register tools — this is the correct order
|
|
16
21
|
* const server = Sentry.wrapMcpServerWithSentry(
|
|
17
22
|
* new McpServer({ name: "my-server", version: "1.0.0" })
|
|
18
23
|
* );
|
|
19
24
|
*
|
|
25
|
+
* server.registerTool('my-tool', schema, handler);
|
|
26
|
+
*
|
|
20
27
|
* // Explicitly control input/output capture
|
|
21
28
|
* const server = Sentry.wrapMcpServerWithSentry(
|
|
22
29
|
* new McpServer({ name: "my-server", version: "1.0.0" }),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/integrations/mcp-server/index.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAqB,uBAAuB,EAAoC,MAAM,SAAS,CAAC;AAS5G
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/integrations/mcp-server/index.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAqB,uBAAuB,EAAoC,MAAM,SAAS,CAAC;AAS5G;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsCG;AACH,wBAAgB,uBAAuB,CAAC,CAAC,SAAS,MAAM,EAAE,iBAAiB,EAAE,CAAC,EAAE,OAAO,CAAC,EAAE,uBAAuB,GAAG,CAAC,CAyCpH"}
|
|
@@ -16,6 +16,6 @@ type RequestDataIntegrationOptions = {
|
|
|
16
16
|
* Add data about a request to an event. Primarily for use in Node-based SDKs, but included in `@sentry/core`
|
|
17
17
|
* so it can be used in cross-platform SDKs like `@sentry/nextjs`.
|
|
18
18
|
*/
|
|
19
|
-
export declare const requestDataIntegration: (options?: RequestDataIntegrationOptions | undefined) => import("
|
|
19
|
+
export declare const requestDataIntegration: (options?: RequestDataIntegrationOptions | undefined) => import("..").Integration;
|
|
20
20
|
export {};
|
|
21
21
|
//# sourceMappingURL=requestdata.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"requestdata.d.ts","sourceRoot":"","sources":["../../../src/integrations/requestdata.ts"],"names":[],"mappings":"AAYA,UAAU,yBAAyB;IACjC,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,EAAE,CAAC,EAAE,OAAO,CAAC;IACb,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,GAAG,CAAC,EAAE,OAAO,CAAC;CACf;AAED,KAAK,6BAA6B,GAAG;IACnC;;OAEG;IACH,OAAO,CAAC,EAAE,yBAAyB,CAAC;CACrC,CAAC;AAuDF;;;GAGG;AACH,eAAO,MAAM,sBAAsB,
|
|
1
|
+
{"version":3,"file":"requestdata.d.ts","sourceRoot":"","sources":["../../../src/integrations/requestdata.ts"],"names":[],"mappings":"AAYA,UAAU,yBAAyB;IACjC,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,EAAE,CAAC,EAAE,OAAO,CAAC;IACb,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,GAAG,CAAC,EAAE,OAAO,CAAC;CACf;AAED,KAAK,6BAA6B,GAAG;IACnC;;OAEG;IACH,OAAO,CAAC,EAAE,yBAAyB,CAAC;CACrC,CAAC;AAuDF;;;GAGG;AACH,eAAO,MAAM,sBAAsB,mFAA6C,CAAC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const spanStreamingIntegration: () => import("
|
|
1
|
+
export declare const spanStreamingIntegration: () => import("..").Integration;
|
|
2
2
|
//# sourceMappingURL=spanStreaming.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"spanStreaming.d.ts","sourceRoot":"","sources":["../../../src/integrations/spanStreaming.ts"],"names":[],"mappings":"AAUA,eAAO,MAAM,wBAAwB,
|
|
1
|
+
{"version":3,"file":"spanStreaming.d.ts","sourceRoot":"","sources":["../../../src/integrations/spanStreaming.ts"],"names":[],"mappings":"AAUA,eAAO,MAAM,wBAAwB,gCAiCX,CAAC"}
|
|
@@ -95,6 +95,6 @@ export declare function translateFiltersIntoMethods(key: string, query: string):
|
|
|
95
95
|
export declare const instrumentSupabaseClient: (supabaseClient: unknown) => void;
|
|
96
96
|
export declare const supabaseIntegration: (options: {
|
|
97
97
|
supabaseClient: any;
|
|
98
|
-
}) => import("
|
|
98
|
+
}) => import("..").Integration;
|
|
99
99
|
export {};
|
|
100
100
|
//# sourceMappingURL=supabase.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"supabase.d.ts","sourceRoot":"","sources":["../../../src/integrations/supabase.ts"],"names":[],"mappings":"AAiBA,QAAA,MAAM,6BAA6B,UAWlC,CAAC;AAEF,QAAA,MAAM,mCAAmC,UAOxC,CAAC;AAEF,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA4B3B,CAAC;AAEF,eAAO,MAAM,2BAA2B,UAAqD,CAAC;AAE9F,KAAK,eAAe,GAAG,CAAC,GAAG,IAAI,EAAE,OAAO,EAAE,KAAK,OAAO,CAAC,OAAO,CAAC,CAAC;AAChE,KAAK,iBAAiB,GAAG,CAAC,OAAO,6BAA6B,CAAC,CAAC,MAAM,CAAC,CAAC;AACxE,KAAK,sBAAsB,GAAG,CAAC,OAAO,mCAAmC,CAAC,CAAC,MAAM,CAAC,CAAC;AACnF,KAAK,yBAAyB,GAAG,CAAC,GAAG,IAAI,EAAE,OAAO,EAAE,KAAK,sBAAsB,CAAC;AAEhF,MAAM,WAAW,sBAAsB;IACrC,IAAI,EAAE;QACJ,KAAK,EAAE,MAAM,CAAC,sBAAsB,EAAE,eAAe,CAAC,CAAC;KACxD,GAAG,MAAM,CAAC,iBAAiB,EAAE,eAAe,CAAC,CAAC;CAChD;AAED,MAAM,WAAW,qBAAqB;IACpC,CAAC,GAAG,EAAE,MAAM,GAA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C,CAAC;CACjB;AAyCD;;;;;GAKG;AACH,wBAAgB,gBAAgB,CAAC,MAAM,EAAE,MAAM,EAAE,OAAO,GAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAM,GAAG,MAAM,CAsB7F;AAED;;;;;GAKG;AACH,wBAAgB,2BAA2B,CAAC,GAAG,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,GAAG,MAAM,CA8B9E;AA6SD,eAAO,MAAM,wBAAwB,GAAI,gBAAgB,OAAO,KAAG,IAUlE,CAAC;AAaF,eAAO,MAAM,mBAAmB;oBAAiD,GAAG;8BAE1D,CAAC"}
|
|
@@ -71,6 +71,6 @@ export declare function applyZodErrorsToEvent(limit: number, saveZodIssuesAsAtta
|
|
|
71
71
|
/**
|
|
72
72
|
* Sentry integration to process Zod errors, making them easier to work with in Sentry.
|
|
73
73
|
*/
|
|
74
|
-
export declare const zodErrorsIntegration: (options?: ZodErrorsOptions | undefined) => import("
|
|
74
|
+
export declare const zodErrorsIntegration: (options?: ZodErrorsOptions | undefined) => import("..").Integration;
|
|
75
75
|
export {};
|
|
76
76
|
//# sourceMappingURL=zoderrors.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"zoderrors.d.ts","sourceRoot":"","sources":["../../../src/integrations/zoderrors.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,KAAK,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AAK7D,UAAU,gBAAgB;IACxB,GAAG,CAAC,EAAE,MAAM,CAAC;IACb;;;;OAIG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;;;OAIG;IACH,yBAAyB,CAAC,EAAE,OAAO,CAAC;CACrC;AAKD;;GAEG;AACH,UAAU,QAAQ;IAChB,IAAI,EAAE,CAAC,MAAM,GAAG,MAAM,CAAC,EAAE,CAAC;IAC1B,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,QAAQ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d,KAAK,CA6DP;AAcD;;GAEG;AACH,eAAO,MAAM,oBAAoB,sEAA2C,CAAC"}
|
|
@@ -22,6 +22,6 @@ interface CaptureConsoleOptions {
|
|
|
22
22
|
* });
|
|
23
23
|
* ```
|
|
24
24
|
*/
|
|
25
|
-
export declare const consoleLoggingIntegration: (options?: Partial<CaptureConsoleOptions> | undefined) => import("
|
|
25
|
+
export declare const consoleLoggingIntegration: (options?: Partial<CaptureConsoleOptions> | undefined) => import("..").Integration;
|
|
26
26
|
export {};
|
|
27
27
|
//# sourceMappingURL=console-integration.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"console-integration.d.ts","sourceRoot":"","sources":["../../../src/logs/console-integration.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AAM9D,UAAU,qBAAqB;IAC7B,MAAM,EAAE,YAAY,EAAE,CAAC;CACxB;AA6DD;;;;;;;;;;;;;;;;;;;GAmBG;AACH,eAAO,MAAM,yBAAyB,
|
|
1
|
+
{"version":3,"file":"console-integration.d.ts","sourceRoot":"","sources":["../../../src/logs/console-integration.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AAM9D,UAAU,qBAAqB;IAC7B,MAAM,EAAE,YAAY,EAAE,CAAC;CACxB;AA6DD;;;;;;;;;;;;;;;;;;;GAmBG;AACH,eAAO,MAAM,yBAAyB,oFAAgD,CAAC"}
|
|
@@ -44,13 +44,13 @@ export declare const SEMANTIC_ATTRIBUTE_SENTRY_SEGMENT_ID = "sentry.segment.id";
|
|
|
44
44
|
export declare const SEMANTIC_ATTRIBUTE_SENTRY_SDK_NAME = "sentry.sdk.name";
|
|
45
45
|
/** The version of the Sentry SDK */
|
|
46
46
|
export declare const SEMANTIC_ATTRIBUTE_SENTRY_SDK_VERSION = "sentry.sdk.version";
|
|
47
|
-
/** The user ID
|
|
47
|
+
/** The user ID */
|
|
48
48
|
export declare const SEMANTIC_ATTRIBUTE_USER_ID = "user.id";
|
|
49
|
-
/** The user email
|
|
49
|
+
/** The user email */
|
|
50
50
|
export declare const SEMANTIC_ATTRIBUTE_USER_EMAIL = "user.email";
|
|
51
|
-
/** The user IP address
|
|
51
|
+
/** The user IP address */
|
|
52
52
|
export declare const SEMANTIC_ATTRIBUTE_USER_IP_ADDRESS = "user.ip_address";
|
|
53
|
-
/** The user username
|
|
53
|
+
/** The user username */
|
|
54
54
|
export declare const SEMANTIC_ATTRIBUTE_USER_USERNAME = "user.name";
|
|
55
55
|
/**
|
|
56
56
|
* A custom span name set by users guaranteed to be taken over any automatically
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"semanticAttributes.d.ts","sourceRoot":"","sources":["../../src/semanticAttributes.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,eAAO,MAAM,gCAAgC,kBAAkB,CAAC;AAEhE;;;;;GAKG;AACH,eAAO,MAAM,qCAAqC,uBAAuB,CAAC;AAE1E;;;;;GAKG;AACH,eAAO,MAAM,oDAAoD,sCAAsC,CAAC;AAExG;;GAEG;AACH,eAAO,MAAM,4BAA4B,cAAc,CAAC;AAExD;;GAEG;AACH,eAAO,MAAM,gCAAgC,kBAAkB,CAAC;AAEhE,4CAA4C;AAC5C,eAAO,MAAM,iDAAiD,mCAAmC,CAAC;AAElG,sEAAsE;AACtE,eAAO,MAAM,0CAA0C,4BAA4B,CAAC;AAEpF,uEAAuE;AACvE,eAAO,MAAM,2CAA2C,6BAA6B,CAAC;AAEtF,6CAA6C;AAC7C,eAAO,MAAM,iCAAiC,mBAAmB,CAAC;AAClE,0EAA0E;AAC1E,eAAO,MAAM,qCAAqC,uBAAuB,CAAC;AAC1E,4CAA4C;AAC5C,eAAO,MAAM,sCAAsC,wBAAwB,CAAC;AAC5E,uDAAuD;AACvD,eAAO,MAAM,oCAAoC,sBAAsB,CAAC;AACxE,2EAA2E;AAC3E,eAAO,MAAM,kC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;AAEpF;;GAEG;AACH,eAAO,MAAM,6BAA6B,sBAAsB,CAAC;AAEjE,eAAO,MAAM,iCAAiC,0BAA0B,CAAC;AAEzE,eAAO,MAAM,4BAA4B,cAAc,CAAC;AAExD,eAAO,MAAM,4BAA4B,cAAc,CAAC;AAExD,eAAO,MAAM,kCAAkC,oBAAoB,CAAC;AAEpE,uEAAuE;AACvE,eAAO,MAAM,sCAAsC,wBAAwB,CAAC;AAC5E,eAAO,MAAM,2BAA2B,aAAa,CAAC;AAEtD;;;;;;;;;GASG;AACH,eAAO,MAAM,iCAAiC,qBAAqB,CAAC;AAEpE;;;;;;GAMG;AAEH;;;;GAIG;AACH,eAAO,MAAM,gCAAgC,2BAA2B,CAAC"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Server-only utilities for Sentry SDKs.
|
|
3
|
+
*
|
|
4
|
+
* @module
|
|
5
|
+
*/
|
|
6
|
+
export type { ServerRuntimeClientOptions } from './server-runtime-client';
|
|
7
|
+
export { ServerRuntimeClient } from './server-runtime-client';
|
|
8
|
+
export type { ServerRuntimeOptions } from './types-hoist/options';
|
|
9
|
+
export { trpcMiddleware } from './trpc';
|
|
10
|
+
export { wrapMcpServerWithSentry } from './integrations/mcp-server';
|
|
11
|
+
export { isNodeEnv, loadModule } from './utils/node';
|
|
12
|
+
export { filenameIsInApp, node, nodeStackLineParser } from './utils/node-stack-trace';
|
|
13
|
+
export { vercelWaitUntil } from './utils/vercelWaitUntil';
|
|
14
|
+
export { flushIfServerless } from './utils/flushIfServerless';
|
|
15
|
+
export { callFrameToStackFrame, watchdogTimer } from './utils/anr';
|
|
16
|
+
export { safeUnref as _INTERNAL_safeUnref } from './utils/timer';
|
|
17
|
+
export { patchExpressModule, setupExpressErrorHandler, expressErrorHandler } from './integrations/express/index';
|
|
18
|
+
export type { ExpressIntegrationOptions, ExpressHandlerOptions, ExpressMiddleware, ExpressErrorMiddleware, } from './integrations/express/types';
|
|
19
|
+
export { instrumentPostgresJsSql } from './integrations/postgresjs';
|
|
20
|
+
export { patchHttpModuleClient } from './integrations/http/client-patch';
|
|
21
|
+
export { getHttpClientSubscriptions } from './integrations/http/client-subscriptions';
|
|
22
|
+
export { addOutgoingRequestBreadcrumb } from './integrations/http/add-outgoing-request-breadcrumb';
|
|
23
|
+
export { getRequestUrl, getRequestUrlObject, getRequestUrlFromClientRequest, getRequestOptions, } from './integrations/http/get-request-url';
|
|
24
|
+
export { HTTP_ON_CLIENT_REQUEST, HTTP_ON_SERVER_REQUEST } from './integrations/http/constants';
|
|
25
|
+
export type { HttpInstrumentationOptions, HttpClientRequest, HttpIncomingMessage, HttpServerResponse, HttpModuleExport, } from './integrations/http/types';
|
|
26
|
+
//# sourceMappingURL=server-exports.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"server-exports.d.ts","sourceRoot":"","sources":["../../src/server-exports.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,YAAY,EAAE,0BAA0B,EAAE,MAAM,yBAAyB,CAAC;AAC1E,OAAO,EAAE,mBAAmB,EAAE,MAAM,yBAAyB,CAAC;AAC9D,YAAY,EAAE,oBAAoB,EAAE,MAAM,uBAAuB,CAAC;AAClE,OAAO,EAAE,cAAc,EAAE,MAAM,QAAQ,CAAC;AACxC,OAAO,EAAE,uBAAuB,EAAE,MAAM,2BAA2B,CAAC;AACpE,OAAO,EAAE,SAAS,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AACrD,OAAO,EAAE,eAAe,EAAE,IAAI,EAAE,mBAAmB,EAAE,MAAM,0BAA0B,CAAC;AACtF,OAAO,EAAE,eAAe,EAAE,MAAM,yBAAyB,CAAC;AAC1D,OAAO,EAAE,iBAAiB,EAAE,MAAM,2BAA2B,CAAC;AAC9D,OAAO,EAAE,qBAAqB,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AACnE,OAAO,EAAE,SAAS,IAAI,mBAAmB,EAAE,MAAM,eAAe,CAAC;AACjE,OAAO,EAAE,kBAAkB,EAAE,wBAAwB,EAAE,mBAAmB,EAAE,MAAM,8BAA8B,CAAC;AACjH,YAAY,EACV,yBAAyB,EACzB,qBAAqB,EACrB,iBAAiB,EACjB,sBAAsB,GACvB,MAAM,8BAA8B,CAAC;AACtC,OAAO,EAAE,uBAAuB,EAAE,MAAM,2BAA2B,CAAC;AAEpE,OAAO,EAAE,qBAAqB,EAAE,MAAM,kCAAkC,CAAC;AACzE,OAAO,EAAE,0BAA0B,EAAE,MAAM,0CAA0C,CAAC;AACtF,OAAO,EAAE,4BAA4B,EAAE,MAAM,qDAAqD,CAAC;AACnG,OAAO,EACL,aAAa,EACb,mBAAmB,EACnB,8BAA8B,EAC9B,iBAAiB,GAClB,MAAM,qCAAqC,CAAC;AAC7C,OAAO,EAAE,sBAAsB,EAAE,sBAAsB,EAAE,MAAM,+BAA+B,CAAC;AAC/F,YAAY,EACV,0BAA0B,EAC1B,iBAAiB,EACjB,mBAAmB,EACnB,kBAAkB,EAClB,gBAAgB,GACjB,MAAM,2BAA2B,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The Sentry core SDK and integrations used by node, node-core, cloudflare,
|
|
3
|
+
* bun, deno, aws lambda, and other server-side platforms, where bundle size
|
|
4
|
+
* is less of an issue.
|
|
5
|
+
*
|
|
6
|
+
* This export should not contain anything strictly browser-specific.
|
|
7
|
+
*/
|
|
8
|
+
export * from './shared-exports';
|
|
9
|
+
export * from './server-exports';
|
|
10
|
+
//# sourceMappingURL=server.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"server.d.ts","sourceRoot":"","sources":["../../src/server.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAGH,cAAc,kBAAkB,CAAC;AACjC,cAAc,kBAAkB,CAAC"}
|
|
@@ -0,0 +1,215 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Utilites shared between server and browser SDKs.
|
|
3
|
+
*/
|
|
4
|
+
export type { ClientClass as SentryCoreCurrentScopes } from './sdk';
|
|
5
|
+
export type { AsyncContextStrategy } from './asyncContext/types';
|
|
6
|
+
export type { Carrier } from './carrier';
|
|
7
|
+
export type { OfflineStore, OfflineTransportOptions } from './transports/offline';
|
|
8
|
+
export type { IntegrationIndex } from './integration';
|
|
9
|
+
export * from './tracing';
|
|
10
|
+
export * from './semanticAttributes';
|
|
11
|
+
export { createEventEnvelope, createSessionEnvelope, createSpanEnvelope } from './envelope';
|
|
12
|
+
export { captureCheckIn, withMonitor, captureException, captureEvent, captureMessage, lastEventId, close, flush, setContext, setExtra, setExtras, setTag, setTags, setUser, setConversationId, isInitialized, isEnabled, startSession, endSession, captureSession, addEventProcessor, } from './exports';
|
|
13
|
+
export { getCurrentScope, getIsolationScope, getGlobalScope, withScope, withIsolationScope, getClient, getTraceContextFromScope, registerExternalPropagationContext, getExternalPropagationContext, hasExternalPropagationContext, } from './currentScopes';
|
|
14
|
+
export { getDefaultCurrentScope, getDefaultIsolationScope } from './defaultScopes';
|
|
15
|
+
export { setAsyncContextStrategy } from './asyncContext';
|
|
16
|
+
export { getGlobalSingleton, getMainCarrier } from './carrier';
|
|
17
|
+
export { makeSession, closeSession, updateSession } from './session';
|
|
18
|
+
export { Scope } from './scope';
|
|
19
|
+
export type { CaptureContext, ScopeContext, ScopeData } from './scope';
|
|
20
|
+
export { notifyEventProcessors } from './eventProcessors';
|
|
21
|
+
export { getEnvelopeEndpointWithUrlEncodedAuth, getReportDialogEndpoint, SENTRY_API_VERSION } from './api';
|
|
22
|
+
export { Client } from './client';
|
|
23
|
+
export { initAndBind, setCurrentClient } from './sdk';
|
|
24
|
+
export { createTransport } from './transports/base';
|
|
25
|
+
export { makeOfflineTransport } from './transports/offline';
|
|
26
|
+
export { makeMultiplexedTransport, MULTIPLEXED_TRANSPORT_EXTRA_KEY } from './transports/multiplexed';
|
|
27
|
+
export { getIntegrationsToSetup, addIntegration, defineIntegration, installedIntegrations } from './integration';
|
|
28
|
+
export { _INTERNAL_skipAiProviderWrapping, _INTERNAL_shouldSkipAiProviderWrapping, _INTERNAL_clearAiProviderSkips, } from './utils/ai/providerSkip';
|
|
29
|
+
export { envToBool } from './utils/envToBool';
|
|
30
|
+
export { applyScopeDataToEvent, mergeScopeData, getCombinedScopeData } from './utils/scopeData';
|
|
31
|
+
export { prepareEvent } from './utils/prepareEvent';
|
|
32
|
+
export type { ExclusiveEventHintOrCaptureContext } from './utils/prepareEvent';
|
|
33
|
+
export { createCheckInEnvelope } from './checkin';
|
|
34
|
+
export { hasSpansEnabled } from './utils/hasSpansEnabled';
|
|
35
|
+
export { withStreamedSpan } from './tracing/spans/beforeSendSpan';
|
|
36
|
+
export { isStreamedBeforeSendSpanCallback } from './tracing/spans/beforeSendSpan';
|
|
37
|
+
export { safeSetSpanJSONAttributes } from './tracing/spans/captureSpan';
|
|
38
|
+
export { isSentryRequestUrl } from './utils/isSentryRequestUrl';
|
|
39
|
+
export { handleCallbackErrors } from './utils/handleCallbackErrors';
|
|
40
|
+
export { parameterize, fmt } from './utils/parameterize';
|
|
41
|
+
export type { HandleTunnelRequestOptions } from './utils/tunnel';
|
|
42
|
+
export { handleTunnelRequest } from './utils/tunnel';
|
|
43
|
+
export { addAutoIpAddressToSession } from './utils/ipAddress';
|
|
44
|
+
export { addAutoIpAddressToUser } from './utils/ipAddress';
|
|
45
|
+
export { convertSpanLinksForEnvelope, spanToTraceHeader, spanToJSON, spanToStreamedSpanJSON, spanIsSampled, spanToTraceContext, getSpanDescendants, getStatusMessage, getRootSpan, INTERNAL_getSegmentSpan, getActiveSpan, addChildSpanToSpan, spanTimeInputToSeconds, updateSpanName, } from './utils/spanUtils';
|
|
46
|
+
export { _setSpanForScope as _INTERNAL_setSpanForScope } from './utils/spanOnScope';
|
|
47
|
+
export { parseSampleRate } from './utils/parseSampleRate';
|
|
48
|
+
export { applySdkMetadata } from './utils/sdkMetadata';
|
|
49
|
+
export { getTraceData } from './utils/traceData';
|
|
50
|
+
export { shouldPropagateTraceForUrl } from './utils/tracePropagationTargets';
|
|
51
|
+
export { getTraceMetaTags } from './utils/meta';
|
|
52
|
+
export { debounce } from './utils/debounce';
|
|
53
|
+
export { makeWeakRef, derefWeakRef } from './utils/weakRef';
|
|
54
|
+
export type { MaybeWeakRef } from './utils/weakRef';
|
|
55
|
+
export { shouldIgnoreSpan } from './utils/should-ignore-span';
|
|
56
|
+
export { winterCGHeadersToDict, winterCGRequestToRequestData, captureBodyFromWinterCGRequest, httpRequestToRequestData, extractQueryParamsFromUrl, headersToDict, httpHeadersToSpanAttributes, getMaxBodyByteLength, MAX_BODY_BYTE_LENGTH, } from './utils/request';
|
|
57
|
+
export type { MaxRequestBodySize } from './utils/request';
|
|
58
|
+
export { DEFAULT_ENVIRONMENT, DEV_ENVIRONMENT } from './constants';
|
|
59
|
+
export { addBreadcrumb } from './breadcrumbs';
|
|
60
|
+
export { functionToStringIntegration } from './integrations/functiontostring';
|
|
61
|
+
export { inboundFiltersIntegration } from './integrations/eventFilters';
|
|
62
|
+
export { eventFiltersIntegration } from './integrations/eventFilters';
|
|
63
|
+
export { linkedErrorsIntegration } from './integrations/linkederrors';
|
|
64
|
+
export { moduleMetadataIntegration } from './integrations/moduleMetadata';
|
|
65
|
+
export { requestDataIntegration } from './integrations/requestdata';
|
|
66
|
+
export { captureConsoleIntegration } from './integrations/captureconsole';
|
|
67
|
+
export { dedupeIntegration } from './integrations/dedupe';
|
|
68
|
+
export { extraErrorDataIntegration } from './integrations/extraerrordata';
|
|
69
|
+
export { rewriteFramesIntegration } from './integrations/rewriteframes';
|
|
70
|
+
export { supabaseIntegration, instrumentSupabaseClient } from './integrations/supabase';
|
|
71
|
+
export { zodErrorsIntegration } from './integrations/zoderrors';
|
|
72
|
+
export { thirdPartyErrorFilterIntegration } from './integrations/third-party-errors-filter';
|
|
73
|
+
export { consoleIntegration } from './integrations/console';
|
|
74
|
+
export type { FeatureFlagsIntegration } from './integrations/featureFlags';
|
|
75
|
+
export { featureFlagsIntegration } from './integrations/featureFlags';
|
|
76
|
+
export { growthbookIntegration } from './integrations/featureFlags';
|
|
77
|
+
export { conversationIdIntegration } from './integrations/conversationId';
|
|
78
|
+
export { profiler } from './profiling';
|
|
79
|
+
export { instrumentFetchRequest, _INTERNAL_getTracingHeadersForFetchRequest } from './fetch';
|
|
80
|
+
export { captureFeedback } from './feedback';
|
|
81
|
+
export type { ReportDialogOptions } from './report-dialog';
|
|
82
|
+
export { _INTERNAL_captureLog, _INTERNAL_flushLogsBuffer, _INTERNAL_captureSerializedLog } from './logs/internal';
|
|
83
|
+
export * as logger from './logs/public-api';
|
|
84
|
+
export { consoleLoggingIntegration } from './logs/console-integration';
|
|
85
|
+
export { _INTERNAL_captureMetric, _INTERNAL_flushMetricsBuffer, _INTERNAL_captureSerializedMetric, } from './metrics/internal';
|
|
86
|
+
export * as metrics from './metrics/public-api';
|
|
87
|
+
export type { MetricOptions } from './metrics/public-api';
|
|
88
|
+
export { createConsolaReporter } from './integrations/consola';
|
|
89
|
+
export { addVercelAiProcessors } from './tracing/vercel-ai';
|
|
90
|
+
export { _INTERNAL_getSpanContextForToolCallId, _INTERNAL_cleanupToolCallSpanContext } from './tracing/vercel-ai/utils';
|
|
91
|
+
export { toolCallSpanContextMap as _INTERNAL_toolCallSpanContextMap } from './tracing/vercel-ai/constants';
|
|
92
|
+
export { instrumentOpenAiClient } from './tracing/openai';
|
|
93
|
+
export { OPENAI_INTEGRATION_NAME } from './tracing/openai/constants';
|
|
94
|
+
export { instrumentAnthropicAiClient } from './tracing/anthropic-ai';
|
|
95
|
+
export { ANTHROPIC_AI_INTEGRATION_NAME } from './tracing/anthropic-ai/constants';
|
|
96
|
+
export { instrumentGoogleGenAIClient } from './tracing/google-genai';
|
|
97
|
+
export { GOOGLE_GENAI_INTEGRATION_NAME } from './tracing/google-genai/constants';
|
|
98
|
+
export type { GoogleGenAIResponse } from './tracing/google-genai/types';
|
|
99
|
+
export { createLangChainCallbackHandler, instrumentLangChainEmbeddings } from './tracing/langchain';
|
|
100
|
+
export { LANGCHAIN_INTEGRATION_NAME } from './tracing/langchain/constants';
|
|
101
|
+
export type { LangChainOptions, LangChainIntegration } from './tracing/langchain/types';
|
|
102
|
+
export { instrumentStateGraphCompile, instrumentCreateReactAgent, instrumentLangGraph } from './tracing/langgraph';
|
|
103
|
+
export { LANGGRAPH_INTEGRATION_NAME } from './tracing/langgraph/constants';
|
|
104
|
+
export type { LangGraphOptions, LangGraphIntegration, CompiledGraph } from './tracing/langgraph/types';
|
|
105
|
+
export type { OpenAiClient, OpenAiOptions, InstrumentedMethod } from './tracing/openai/types';
|
|
106
|
+
export type { AnthropicAiClient, AnthropicAiOptions, AnthropicAiInstrumentedMethod, AnthropicAiResponse, } from './tracing/anthropic-ai/types';
|
|
107
|
+
export type { GoogleGenAIClient, GoogleGenAIChat, GoogleGenAIOptions, GoogleGenAIInstrumentedMethod, } from './tracing/google-genai/types';
|
|
108
|
+
export type { GoogleGenAIIstrumentedMethod } from './tracing/google-genai/types';
|
|
109
|
+
export { SpanBuffer } from './tracing/spans/spanBuffer';
|
|
110
|
+
export { hasSpanStreamingEnabled } from './tracing/spans/hasSpanStreamingEnabled';
|
|
111
|
+
export { spanStreamingIntegration } from './integrations/spanStreaming';
|
|
112
|
+
export type { FeatureFlag } from './utils/featureFlags';
|
|
113
|
+
export { _INTERNAL_copyFlagsFromScopeToEvent, _INTERNAL_insertFlagToScope, _INTERNAL_addFeatureFlagToActiveSpan, _INTERNAL_FLAG_BUFFER_SIZE, _INTERNAL_MAX_FLAGS_PER_SPAN, } from './utils/featureFlags';
|
|
114
|
+
export { applyAggregateErrorsToEvent } from './utils/aggregate-errors';
|
|
115
|
+
export { getBreadcrumbLogLevelFromHttpStatusCode } from './utils/breadcrumb-log-level';
|
|
116
|
+
export { dsnFromString, dsnToString, makeDsn } from './utils/dsn';
|
|
117
|
+
export { SentryError } from './utils/error';
|
|
118
|
+
export { GLOBAL_OBJ } from './utils/worldwide';
|
|
119
|
+
export type { InternalGlobal } from './utils/worldwide';
|
|
120
|
+
export { addConsoleInstrumentationHandler, addConsoleInstrumentationFilter } from './instrument/console';
|
|
121
|
+
export { addFetchEndInstrumentationHandler, addFetchInstrumentationHandler } from './instrument/fetch';
|
|
122
|
+
export { addGlobalErrorInstrumentationHandler } from './instrument/globalError';
|
|
123
|
+
export { addGlobalUnhandledRejectionInstrumentationHandler } from './instrument/globalUnhandledRejection';
|
|
124
|
+
export { addHandler, maybeInstrument, resetInstrumentationHandlers, triggerHandlers } from './instrument/handlers';
|
|
125
|
+
export { isDOMError, isDOMException, isElement, isError, isErrorEvent, isEvent, isInstanceOf, isParameterizedString, isPlainObject, isPrimitive, isRegExp, isString, isSyntheticEvent, isThenable, isVueViewModel, } from './utils/is';
|
|
126
|
+
export { isBrowser } from './utils/isBrowser';
|
|
127
|
+
export { CONSOLE_LEVELS, consoleSandbox, debug, originalConsoleMethods } from './utils/debug-logger';
|
|
128
|
+
export type { SentryDebugLogger } from './utils/debug-logger';
|
|
129
|
+
export { addContextToFrame, addExceptionMechanism, addExceptionTypeValue, checkOrSetAlreadyCaught, isAlreadyCaptured, getEventDescription, parseSemver, uuid4, } from './utils/misc';
|
|
130
|
+
export { normalize, normalizeToSize, normalizeUrlToBase } from './utils/normalize';
|
|
131
|
+
export { setNormalizationDepthOverrideHint, setSkipNormalizationHint } from './utils/normalizationHints';
|
|
132
|
+
export { addNonEnumerableProperty, convertToPlainObject, dropUndefinedKeys, extractExceptionKeysForMessage, fill, getOriginalFunction, markFunctionWrapped, objectify, } from './utils/object';
|
|
133
|
+
export { basename, dirname, isAbsolute, join, normalizePath, relative, resolve } from './utils/path';
|
|
134
|
+
export { makePromiseBuffer, SENTRY_BUFFER_FULL_ERROR } from './utils/promisebuffer';
|
|
135
|
+
export type { PromiseBuffer } from './utils/promisebuffer';
|
|
136
|
+
export { severityLevelFromString } from './utils/severity';
|
|
137
|
+
export { replaceExports } from './utils/exports';
|
|
138
|
+
export { UNKNOWN_FUNCTION, createStackParser, getFramesFromEvent, getFunctionName, stackParserFromStackParserOptions, stripSentryFramesAndReverse, } from './utils/stacktrace';
|
|
139
|
+
export { isMatchingPattern, safeJoin, snipLine, stringMatchesSomePattern, truncate } from './utils/string';
|
|
140
|
+
export { isNativeFunction, supportsDOMException, supportsErrorEvent, supportsFetch, supportsReferrerPolicy, } from './utils/supports';
|
|
141
|
+
export { SyncPromise, rejectedSyncPromise, resolvedSyncPromise } from './utils/syncpromise';
|
|
142
|
+
export { browserPerformanceTimeOrigin, dateTimestampInSeconds, timestampInSeconds } from './utils/time';
|
|
143
|
+
export { TRACEPARENT_REGEXP, extractTraceparentData, generateSentryTraceHeader, propagationContextFromHeaders, shouldContinueTrace, generateTraceparentHeader, } from './utils/tracing';
|
|
144
|
+
export { getSDKSource, isBrowserBundle } from './utils/env';
|
|
145
|
+
export type { SdkSource } from './utils/env';
|
|
146
|
+
export { addItemToEnvelope, createAttachmentEnvelopeItem, createEnvelope, createEventEnvelopeHeaders, createSpanEnvelopeItem, envelopeContainsItemType, envelopeItemTypeToDataCategory, forEachEnvelopeItem, getSdkMetadataForEnvelopeHeader, parseEnvelope, serializeEnvelope, } from './utils/envelope';
|
|
147
|
+
export { createClientReportEnvelope } from './utils/clientreport';
|
|
148
|
+
export { DEFAULT_RETRY_AFTER, disabledUntil, isRateLimited, parseRetryAfterHeader, updateRateLimits, } from './utils/ratelimit';
|
|
149
|
+
export type { RateLimits } from './utils/ratelimit';
|
|
150
|
+
export { MAX_BAGGAGE_STRING_LENGTH, SENTRY_BAGGAGE_KEY_PREFIX, SENTRY_BAGGAGE_KEY_PREFIX_REGEX, baggageHeaderToDynamicSamplingContext, dynamicSamplingContextToSentryBaggageHeader, parseBaggageHeader, objectToBaggageHeader, mergeBaggageHeaders, } from './utils/baggage';
|
|
151
|
+
export { getSanitizedUrlString, parseUrl, stripUrlQueryAndFragment, parseStringToURLObject, getHttpSpanDetailsFromUrlObject, isURLObjectRelative, getSanitizedUrlStringFromUrlObject, stripDataUrlContent, } from './utils/url';
|
|
152
|
+
export { eventFromMessage, eventFromUnknownInput, exceptionFromError, parseStackFrames, _enhanceErrorWithSentryInfo as _INTERNAL_enhanceErrorWithSentryInfo, } from './utils/eventbuilder';
|
|
153
|
+
export { LRUMap } from './utils/lru';
|
|
154
|
+
export { generateTraceId, generateSpanId } from './utils/propagationContext';
|
|
155
|
+
export { SDK_VERSION } from './utils/version';
|
|
156
|
+
export { getDebugImagesForResources, getFilenameToDebugIdMap } from './utils/debug-ids';
|
|
157
|
+
export { getFilenameToMetadataMap } from './metadata';
|
|
158
|
+
export { escapeStringForRegex } from './vendor/escapeStringForRegex';
|
|
159
|
+
export type { Attachment } from './types-hoist/attachment';
|
|
160
|
+
export type { Breadcrumb, BreadcrumbHint, FetchBreadcrumbData, FetchBreadcrumbHint } from './types-hoist/breadcrumb';
|
|
161
|
+
export type { ClientReport, Outcome, EventDropReason } from './types-hoist/clientreport';
|
|
162
|
+
export type { Context, Contexts, DeviceContext, OsContext, AppContext, CultureContext, TraceContext, CloudResourceContext, MissingInstrumentationContext, } from './types-hoist/context';
|
|
163
|
+
export type { DataCategory } from './types-hoist/datacategory';
|
|
164
|
+
export type { DsnComponents, DsnLike, DsnProtocol } from './types-hoist/dsn';
|
|
165
|
+
export type { DebugImage, DebugMeta } from './types-hoist/debugMeta';
|
|
166
|
+
export type { AttachmentItem, BaseEnvelopeHeaders, BaseEnvelopeItemHeaders, ClientReportEnvelope, ClientReportItem, DynamicSamplingContext, Envelope, EnvelopeItemType, EnvelopeItem, EventEnvelope, EventEnvelopeHeaders, EventItem, ReplayEnvelope, FeedbackItem, SessionEnvelope, SessionItem, UserFeedbackItem, CheckInItem, CheckInEnvelope, RawSecurityEnvelope, RawSecurityItem, ProfileItem, ProfileChunkEnvelope, ProfileChunkItem, SpanEnvelope, StreamedSpanEnvelope, SpanItem, LogEnvelope, MetricEnvelope, } from './types-hoist/envelope';
|
|
167
|
+
export type { ExtendedError } from './types-hoist/error';
|
|
168
|
+
export type { Event, EventHint, EventType, ErrorEvent, TransactionEvent } from './types-hoist/event';
|
|
169
|
+
export type { EventProcessor } from './types-hoist/eventprocessor';
|
|
170
|
+
export type { Exception } from './types-hoist/exception';
|
|
171
|
+
export type { Extra, Extras } from './types-hoist/extra';
|
|
172
|
+
export type { Integration, IntegrationFn } from './types-hoist/integration';
|
|
173
|
+
export type { Mechanism } from './types-hoist/mechanism';
|
|
174
|
+
export type { ExtractedNodeRequestData, HttpHeaderValue, Primitive, WorkerLocation } from './types-hoist/misc';
|
|
175
|
+
export type { ClientOptions, CoreOptions as Options } from './types-hoist/options';
|
|
176
|
+
export type { Package } from './types-hoist/package';
|
|
177
|
+
export type { PolymorphicEvent, PolymorphicRequest } from './types-hoist/polymorphics';
|
|
178
|
+
export type { ThreadId, FrameId, StackId, ThreadCpuSample, ThreadCpuStack, ThreadCpuFrame, ThreadCpuProfile, ContinuousThreadCpuProfile, Profile, ProfileChunk, } from './types-hoist/profiling';
|
|
179
|
+
export type { ReplayEndEvent, ReplayEvent, ReplayRecordingData, ReplayRecordingMode, ReplayStartEvent, ReplayStopReason, } from './types-hoist/replay';
|
|
180
|
+
export type { FeedbackErrorCode, FeedbackErrorMessages, FeedbackEvent, FeedbackFormData, FeedbackInternalOptions, FeedbackModalIntegration, FeedbackScreenshotIntegration, SendFeedback, SendFeedbackParams, UserFeedback, } from './types-hoist/feedback';
|
|
181
|
+
export type { QueryParams, RequestEventData, RequestHookInfo, ResponseHookInfo, SanitizedRequestData, } from './types-hoist/request';
|
|
182
|
+
export type { Runtime } from './types-hoist/runtime';
|
|
183
|
+
export type { SdkInfo } from './types-hoist/sdkinfo';
|
|
184
|
+
export type { SdkMetadata } from './types-hoist/sdkmetadata';
|
|
185
|
+
export type { SessionAggregates, AggregationCounts, Session, SessionContext, SessionStatus, SerializedSession, } from './types-hoist/session';
|
|
186
|
+
export type { SeverityLevel } from './types-hoist/severity';
|
|
187
|
+
export type { Span, SentrySpanArguments, SpanOrigin, SpanAttributeValue, SpanAttributes, SpanTimeInput, SpanJSON, SpanContextData, TraceFlag, SerializedStreamedSpan, SerializedStreamedSpanContainer, StreamedSpanJSON, } from './types-hoist/span';
|
|
188
|
+
export type { SpanStatus } from './types-hoist/spanStatus';
|
|
189
|
+
export type { Log, LogSeverityLevel } from './types-hoist/log';
|
|
190
|
+
export type { SpanLink } from './types-hoist/link';
|
|
191
|
+
export type { Metric, MetricType, SerializedMetric, SerializedMetricContainer, SerializedMetricAttributeValue, } from './types-hoist/metric';
|
|
192
|
+
export type { TimedEvent } from './types-hoist/timedEvent';
|
|
193
|
+
export type { StackFrame } from './types-hoist/stackframe';
|
|
194
|
+
export type { Stacktrace, StackParser, StackLineParser, StackLineParserFn } from './types-hoist/stacktrace';
|
|
195
|
+
export type { PropagationContext, TracePropagationTargets, SerializedTraceData } from './types-hoist/tracing';
|
|
196
|
+
export type { StartSpanOptions } from './types-hoist/startSpanOptions';
|
|
197
|
+
export type { TraceparentData, TransactionSource } from './types-hoist/transaction';
|
|
198
|
+
export type { TracesSamplerSamplingContext, CustomSamplingContext, SamplingContext, } from './types-hoist/samplingcontext';
|
|
199
|
+
export type { DurationUnit, InformationUnit, FractionUnit, MeasurementUnit, NoneUnit, Measurements, } from './types-hoist/measurement';
|
|
200
|
+
export type { Thread } from './types-hoist/thread';
|
|
201
|
+
export type { Transport, TransportRequest, TransportMakeRequestResponse, InternalBaseTransportOptions, BaseTransportOptions, TransportRequestExecutor, } from './types-hoist/transport';
|
|
202
|
+
export type { User } from './types-hoist/user';
|
|
203
|
+
export type { WebFetchHeaders, WebFetchRequest } from './types-hoist/webfetchapi';
|
|
204
|
+
export type { WrappedFunction } from './types-hoist/wrappedfunction';
|
|
205
|
+
export type { HandlerDataFetch, HandlerDataConsole, HandlerDataError, HandlerDataUnhandledRejection, ConsoleLevel, } from './types-hoist/instrument';
|
|
206
|
+
export type { CheckIn, MonitorConfig, FinishedCheckIn, InProgressCheckIn, SerializedCheckIn, } from './types-hoist/checkin';
|
|
207
|
+
export type { ParameterizedString } from './types-hoist/parameterize';
|
|
208
|
+
export type { ContinuousProfiler, ProfilingIntegration, Profiler } from './types-hoist/profiling';
|
|
209
|
+
export type { ViewHierarchyData, ViewHierarchyWindow } from './types-hoist/view-hierarchy';
|
|
210
|
+
export type { LegacyCSPReport } from './types-hoist/csp';
|
|
211
|
+
export type { SerializedLog, SerializedLogContainer } from './types-hoist/log';
|
|
212
|
+
export type { BuildTimeOptionsBase, UnstableVitePluginOptions, UnstableRollupPluginOptions, UnstableWebpackPluginOptions, } from './build-time-plugins/buildTimeOptionsBase';
|
|
213
|
+
export type { RandomSafeContextRunner as _INTERNAL_RandomSafeContextRunner } from './utils/randomSafeContext';
|
|
214
|
+
export { withRandomSafeContext as _INTERNAL_withRandomSafeContext, safeMathRandom as _INTERNAL_safeMathRandom, safeDateNow as _INTERNAL_safeDateNow, } from './utils/randomSafeContext';
|
|
215
|
+
//# sourceMappingURL=shared-exports.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"shared-exports.d.ts","sourceRoot":"","sources":["../../src/shared-exports.ts"],"names":[],"mappings":"AAAA;;GAEG;AAGH,YAAY,EAAE,WAAW,IAAI,uBAAuB,EAAE,MAAM,OAAO,CAAC;AACpE,YAAY,EAAE,oBAAoB,EAAE,MAAM,sBAAsB,CAAC;AACjE,YAAY,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACzC,YAAY,EAAE,YAAY,EAAE,uBAAuB,EAAE,MAAM,sBAAsB,CAAC;AAClF,YAAY,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAC;AACtD,cAAc,WAAW,CAAC;AAC1B,cAAc,sBAAsB,CAAC;AACrC,OAAO,EAAE,mBAAmB,EAAE,qBAAqB,EAAE,kBAAkB,EAAE,MAAM,YAAY,CAAC;AAC5F,OAAO,EACL,cAAc,EACd,WAAW,EACX,gBAAgB,EAChB,YAAY,EACZ,cAAc,EACd,WAAW,EACX,KAA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wBAAgB,2BAA2B,CACzC,IAAI,EAAE,gBAAgB,EACtB,cAAc,EAAE,CAAC,IAAI,EAAE,gBAAgB,KAAK,gBAAgB,GAC3D,gBAAgB,CAOlB;AAMD;;;;;;;GAOG;AACH,+BAA+B;AAC/B,wBAAgB,+BAA+B,CAAC,QAAQ,EAAE,gBAAgB,EAAE,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,CAmCnG"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import type { Client } from '../../client';
|
|
2
|
+
import type { SpanContainerItem } from '../../types-hoist/envelope';
|
|
3
|
+
import type { Event } from '../../types-hoist/event';
|
|
4
|
+
/**
|
|
5
|
+
* Extracts gen_ai spans from a transaction event, converts them to span v2 format,
|
|
6
|
+
* and returns them as a SpanContainerItem.
|
|
7
|
+
*
|
|
8
|
+
* Only applies to static mode (non-streaming) transactions.
|
|
9
|
+
*
|
|
10
|
+
* WARNING: This function mutates `event.spans` by removing the extracted gen_ai spans
|
|
11
|
+
* from the array. Call this before creating the event envelope so the transaction
|
|
12
|
+
* item does not include the extracted spans.
|
|
13
|
+
*/
|
|
14
|
+
export declare function extractGenAiSpansFromEvent(event: Event, client: Client): SpanContainerItem | undefined;
|
|
15
|
+
//# sourceMappingURL=extractGenAiSpans.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"extractGenAiSpans.d.ts","sourceRoot":"","sources":["../../../../src/tracing/spans/extractGenAiSpans.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,cAAc,CAAC;AAC3C,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,4BAA4B,CAAC;AACpE,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,yBAAyB,CAAC;AAKrD;;;;;;;;;GASG;AACH,wBAAgB,0BAA0B,CAAC,KAAK,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,GAAG,iBAAiB,GAAG,SAAS,CAwCtG"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type { SerializedStreamedSpan, SpanJSON } from '../../types-hoist/span';
|
|
2
|
+
/**
|
|
3
|
+
* Converts a v1 SpanJSON (from a legacy transaction) to a serialized v2 StreamedSpan.
|
|
4
|
+
*/
|
|
5
|
+
export declare function spanJsonToSerializedStreamedSpan(span: SpanJSON): SerializedStreamedSpan;
|
|
6
|
+
//# sourceMappingURL=spanJsonToStreamedSpan.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"spanJsonToStreamedSpan.d.ts","sourceRoot":"","sources":["../../../../src/tracing/spans/spanJsonToStreamedSpan.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,sBAAsB,EAAE,QAAQ,EAAoB,MAAM,wBAAwB,CAAC;AAGjG;;GAEG;AACH,wBAAgB,gCAAgC,CAAC,IAAI,EAAE,QAAQ,GAAG,sBAAsB,CAevF"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/tracing/vercel-ai/index.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,cAAc,CAAC;AAyO3C;;GAEG;AACH;;;;GAIG;AACH,wBAAgB,6BAA6B,CAAC,UAAU,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/tracing/vercel-ai/index.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,cAAc,CAAC;AAyO3C;;GAEG;AACH;;;;GAIG;AACH,wBAAgB,6BAA6B,CAAC,UAAU,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI,CAgGvF;AAkKD;;GAEG;AACH,wBAAgB,qBAAqB,CAAC,MAAM,EAAE,MAAM,GAAG,IAAI,CAO1D"}
|