@glasstrace/sdk 1.5.0 → 1.6.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/README.md +108 -0
- package/dist/{chunk-YLY7AGLC.js → chunk-3PJP5Y3U.js} +3 -3
- package/dist/{chunk-Q42BY5BA.js → chunk-H57MQGNU.js} +2 -2
- package/dist/{chunk-TANUWTFO.js → chunk-M2TLX6NM.js} +3 -3
- package/dist/{chunk-MMKFFF2L.js → chunk-NN5YCETI.js} +2 -2
- package/dist/{chunk-4WI7B5FQ.js → chunk-P45NZR4J.js} +21 -1
- package/dist/chunk-P45NZR4J.js.map +1 -0
- package/dist/{chunk-QU26IKIJ.js → chunk-UQKI476D.js} +2 -2
- package/dist/{chunk-MFYOQOD7.js → chunk-WL6BXEJ5.js} +2 -2
- package/dist/{chunk-N3XIVM2U.js → chunk-ZU5XO77C.js} +205 -28
- package/dist/chunk-ZU5XO77C.js.map +1 -0
- package/dist/cli/init.cjs +4 -4
- package/dist/cli/init.cjs.map +1 -1
- package/dist/cli/init.js +7 -7
- package/dist/cli/mcp-add.cjs +1 -1
- package/dist/cli/mcp-add.cjs.map +1 -1
- package/dist/cli/mcp-add.js +3 -3
- package/dist/cli/uninit.js +3 -3
- package/dist/cli/upgrade-instructions.cjs +1 -1
- package/dist/cli/upgrade-instructions.js +3 -3
- package/dist/cli/validate.cjs.map +1 -1
- package/dist/cli/validate.js +2 -2
- package/dist/edge-entry.cjs +20 -0
- package/dist/edge-entry.cjs.map +1 -1
- package/dist/edge-entry.js +2 -2
- package/dist/index.cjs +220 -23
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +5 -5
- package/dist/node-entry.cjs +220 -23
- package/dist/node-entry.cjs.map +1 -1
- package/dist/node-entry.js +7 -7
- package/dist/node-subpath.cjs.map +1 -1
- package/dist/node-subpath.js +3 -3
- package/dist/{source-map-uploader-PB3M4PPP.js → source-map-uploader-XFUEVV7I.js} +3 -3
- package/package.json +3 -2
- package/dist/chunk-4WI7B5FQ.js.map +0 -1
- package/dist/chunk-N3XIVM2U.js.map +0 -1
- /package/dist/{chunk-YLY7AGLC.js.map → chunk-3PJP5Y3U.js.map} +0 -0
- /package/dist/{chunk-Q42BY5BA.js.map → chunk-H57MQGNU.js.map} +0 -0
- /package/dist/{chunk-TANUWTFO.js.map → chunk-M2TLX6NM.js.map} +0 -0
- /package/dist/{chunk-MMKFFF2L.js.map → chunk-NN5YCETI.js.map} +0 -0
- /package/dist/{chunk-QU26IKIJ.js.map → chunk-UQKI476D.js.map} +0 -0
- /package/dist/{chunk-MFYOQOD7.js.map → chunk-WL6BXEJ5.js.map} +0 -0
- /package/dist/{source-map-uploader-PB3M4PPP.js.map → source-map-uploader-XFUEVV7I.js.map} +0 -0
package/dist/cli/validate.js
CHANGED
|
@@ -2,8 +2,8 @@ import {
|
|
|
2
2
|
identityFingerprint,
|
|
3
3
|
readMcpMarker,
|
|
4
4
|
resolveEffectiveMcpCredential
|
|
5
|
-
} from "../chunk-
|
|
6
|
-
import "../chunk-
|
|
5
|
+
} from "../chunk-WL6BXEJ5.js";
|
|
6
|
+
import "../chunk-P45NZR4J.js";
|
|
7
7
|
import "../chunk-NSBPE2FW.js";
|
|
8
8
|
|
|
9
9
|
// src/cli/validate.ts
|
package/dist/edge-entry.cjs
CHANGED
|
@@ -14609,6 +14609,26 @@ var GLASSTRACE_ATTRIBUTE_NAMES = {
|
|
|
14609
14609
|
ERROR_CODE: "glasstrace.error.code",
|
|
14610
14610
|
ERROR_CATEGORY: "glasstrace.error.category",
|
|
14611
14611
|
ERROR_FIELD: "glasstrace.error.field",
|
|
14612
|
+
// Error evidence v1 (SDK-041 / DISC-1535).
|
|
14613
|
+
// Additive to the existing `glasstrace.error.*` family. Bounded
|
|
14614
|
+
// stacktrace input for the product-side StackSummary parser
|
|
14615
|
+
// (SCHEMA-033); plus framework-fallback markers so the original
|
|
14616
|
+
// request path is preserved when Next.js (or another framework)
|
|
14617
|
+
// rewrites the route to a fallback like `/_error` or `/_not-found`;
|
|
14618
|
+
// plus a source-provenance enum so product can tell which surface
|
|
14619
|
+
// emitted each error fact (`exception.message` event vs span attr
|
|
14620
|
+
// vs response body vs framework runtime).
|
|
14621
|
+
//
|
|
14622
|
+
// Wire keys remain in `glasstrace.error.*` for namespace consistency
|
|
14623
|
+
// with the Tier-1 `error.message` / `error.code` / `error.category`
|
|
14624
|
+
// attributes already in this registry.
|
|
14625
|
+
ERROR_STACK: "glasstrace.error.stack",
|
|
14626
|
+
ERROR_STACK_TRUNCATED: "glasstrace.error.stack.truncated",
|
|
14627
|
+
ERROR_STACK_REDACTED: "glasstrace.error.stack.redacted",
|
|
14628
|
+
ERROR_SOURCE: "glasstrace.error.source",
|
|
14629
|
+
ERROR_FRAMEWORK_KIND: "glasstrace.error.framework.kind",
|
|
14630
|
+
ERROR_ORIGINAL_PATH: "glasstrace.error.original_path",
|
|
14631
|
+
ERROR_FALLBACK_ROUTE: "glasstrace.error.fallback_route",
|
|
14612
14632
|
ORM_PROVIDER: "glasstrace.orm.provider",
|
|
14613
14633
|
ORM_MODEL: "glasstrace.orm.model",
|
|
14614
14634
|
ORM_OPERATION: "glasstrace.orm.operation",
|