@glasstrace/sdk 1.15.1 → 1.17.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 +118 -11
- package/dist/async-context/index.cjs +21 -2
- package/dist/async-context/index.cjs.map +1 -1
- package/dist/async-context/index.js +2 -2
- package/dist/{capture-error-03qDnC5v.d.cts → capture-error-B0txjNut.d.cts} +2 -2
- package/dist/{capture-error-CAfFUyIU.d.ts → capture-error-Dc01rYNR.d.ts} +2 -2
- package/dist/{chunk-ZIYT2Y4B.js → chunk-BJOZBAP7.js} +3 -3
- package/dist/{chunk-VMK2G6QR.js → chunk-CN5EP25B.js} +2 -2
- package/dist/{chunk-HMEHYSTS.js → chunk-EVX6D2TX.js} +2 -2
- package/dist/{chunk-T4ETJJSK.js → chunk-F2IPBTDJ.js} +133 -11
- package/dist/{chunk-T4ETJJSK.js.map → chunk-F2IPBTDJ.js.map} +1 -1
- package/dist/{chunk-XMD5OYD6.js → chunk-M3QGJUEI.js} +2 -2
- package/dist/{chunk-7LE2O4ZJ.js → chunk-MKT54VEH.js} +55 -6
- package/dist/{chunk-7LE2O4ZJ.js.map → chunk-MKT54VEH.js.map} +1 -1
- package/dist/{chunk-MP3QNDXQ.js → chunk-O7IJP2TQ.js} +2 -2
- package/dist/{chunk-F7A3QXCT.js → chunk-UOAG72NR.js} +2 -2
- package/dist/{chunk-6ST4QV7T.js → chunk-VEQX2YSQ.js} +3 -3
- package/dist/{chunk-LQZRGBN5.js → chunk-YKE6HJLW.js} +2 -2
- package/dist/cli/init.cjs +18 -5
- package/dist/cli/init.cjs.map +1 -1
- package/dist/cli/init.js +7 -7
- package/dist/cli/mcp-add.cjs +15 -2
- 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 +14 -1
- package/dist/cli/validate.cjs.map +1 -1
- package/dist/cli/validate.js +2 -2
- package/dist/{correlation-id-YcfcqOru.d.ts → correlation-id-B9YYmoZw.d.ts} +1 -1
- package/dist/{correlation-id-CZ2bstzA.d.cts → correlation-id-CelUvw7j.d.cts} +1 -1
- package/dist/edge-entry.cjs +21 -2
- package/dist/edge-entry.cjs.map +1 -1
- package/dist/edge-entry.d.cts +2 -2
- package/dist/edge-entry.d.ts +2 -2
- package/dist/edge-entry.js +4 -4
- package/dist/import-graph-DBLGNjcI.d.cts +238 -0
- package/dist/import-graph-Dka_Fm7j.d.ts +238 -0
- package/dist/index.cjs +203 -12
- package/dist/index.cjs.map +1 -1
- package/dist/{index.d-BQIJ5Dvc.d.cts → index.d-3-cJoY8y.d.cts} +10 -2
- package/dist/{index.d-BQIJ5Dvc.d.ts → index.d-3-cJoY8y.d.ts} +10 -2
- package/dist/index.d.cts +102 -5
- package/dist/index.d.ts +102 -5
- package/dist/index.js +30 -5
- package/dist/index.js.map +1 -1
- package/dist/middleware/index.cjs +21 -2
- package/dist/middleware/index.cjs.map +1 -1
- package/dist/middleware/index.js +2 -2
- package/dist/node-entry.cjs +28 -8
- package/dist/node-entry.cjs.map +1 -1
- package/dist/node-entry.d.cts +4 -4
- package/dist/node-entry.d.ts +4 -4
- package/dist/node-entry.js +7 -7
- package/dist/node-subpath.cjs +27 -1
- package/dist/node-subpath.cjs.map +1 -1
- package/dist/node-subpath.d.cts +51 -235
- package/dist/node-subpath.d.ts +51 -235
- package/dist/node-subpath.js +16 -3
- package/dist/node-subpath.js.map +1 -1
- package/dist/{source-map-uploader-NUONOEJG.js → source-map-uploader-U7SLSKIZ.js} +3 -3
- package/dist/trpc/index.cjs +21 -2
- package/dist/trpc/index.cjs.map +1 -1
- package/dist/trpc/index.js +1 -1
- package/package.json +1 -1
- /package/dist/{chunk-ZIYT2Y4B.js.map → chunk-BJOZBAP7.js.map} +0 -0
- /package/dist/{chunk-VMK2G6QR.js.map → chunk-CN5EP25B.js.map} +0 -0
- /package/dist/{chunk-HMEHYSTS.js.map → chunk-EVX6D2TX.js.map} +0 -0
- /package/dist/{chunk-XMD5OYD6.js.map → chunk-M3QGJUEI.js.map} +0 -0
- /package/dist/{chunk-MP3QNDXQ.js.map → chunk-O7IJP2TQ.js.map} +0 -0
- /package/dist/{chunk-F7A3QXCT.js.map → chunk-UOAG72NR.js.map} +0 -0
- /package/dist/{chunk-6ST4QV7T.js.map → chunk-VEQX2YSQ.js.map} +0 -0
- /package/dist/{chunk-LQZRGBN5.js.map → chunk-YKE6HJLW.js.map} +0 -0
- /package/dist/{source-map-uploader-NUONOEJG.js.map → source-map-uploader-U7SLSKIZ.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-UOAG72NR.js";
|
|
6
|
+
import "../chunk-MKT54VEH.js";
|
|
7
7
|
import "../chunk-NSBPE2FW.js";
|
|
8
8
|
|
|
9
9
|
// src/cli/validate.ts
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { j as SdkDiagnosticCode, k as SessionId, C as CaptureConfig } from './index.d-3-cJoY8y.js';
|
|
2
2
|
import { ReadableSpan } from './export/ReadableSpan';
|
|
3
3
|
import { Span } from './Span';
|
|
4
4
|
import { SpanProcessor } from './SpanProcessor';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { j as SdkDiagnosticCode, k as SessionId, C as CaptureConfig } from './index.d-3-cJoY8y.cjs';
|
|
2
2
|
import { ReadableSpan } from './export/ReadableSpan';
|
|
3
3
|
import { Span } from './Span';
|
|
4
4
|
import { SpanProcessor } from './SpanProcessor';
|
package/dist/edge-entry.cjs
CHANGED
|
@@ -15331,7 +15331,20 @@ var CaptureConfigSchema = external_exports.object({
|
|
|
15331
15331
|
* client-side allowlist enforcement layered with the product's
|
|
15332
15332
|
* storage-time filter as defense-in-depth.
|
|
15333
15333
|
*/
|
|
15334
|
-
sideEffectEvidence: external_exports.boolean().optional().default(false)
|
|
15334
|
+
sideEffectEvidence: external_exports.boolean().optional().default(false),
|
|
15335
|
+
/**
|
|
15336
|
+
* Per-account value-fidelity capture posture (server-pushed).
|
|
15337
|
+
*
|
|
15338
|
+
* `strict` (default) is fail-closed: the SDK rejects raw wall-clock
|
|
15339
|
+
* timestamps and unhashed identifiers from the `scalar.*` channel at
|
|
15340
|
+
* emit time. `full` relaxes those rejections so raw magnitudes can be
|
|
15341
|
+
* surfaced — but only in conjunction with an explicit producer opt-in
|
|
15342
|
+
* (so a `full`-configured account still emits strict-shaped scalars
|
|
15343
|
+
* unless the producer also opts in). The operator owns this flag; it
|
|
15344
|
+
* is never derived from producer or request input. Absent on the wire
|
|
15345
|
+
* ⇒ `strict`.
|
|
15346
|
+
*/
|
|
15347
|
+
captureFidelity: external_exports.enum(["strict", "full"]).optional().default("strict")
|
|
15335
15348
|
});
|
|
15336
15349
|
var SdkCachedConfigSchema = external_exports.object({
|
|
15337
15350
|
response: external_exports.record(external_exports.string(), external_exports.unknown()),
|
|
@@ -15522,7 +15535,13 @@ var GLASSTRACE_ATTRIBUTE_NAMES = {
|
|
|
15522
15535
|
SIDE_EFFECT_OMITTED_UNSUPPORTED_KEY: "glasstrace.side_effect.omitted.unsupported_key",
|
|
15523
15536
|
SIDE_EFFECT_OMITTED_VALUE_TOO_LONG: "glasstrace.side_effect.omitted.value_too_long",
|
|
15524
15537
|
SIDE_EFFECT_OMITTED_NOT_EMITTED: "glasstrace.side_effect.omitted.not_emitted",
|
|
15525
|
-
SIDE_EFFECT_OMITTED_CAPTURE_DISABLED: "glasstrace.side_effect.omitted.capture_disabled"
|
|
15538
|
+
SIDE_EFFECT_OMITTED_CAPTURE_DISABLED: "glasstrace.side_effect.omitted.capture_disabled",
|
|
15539
|
+
// Value-fidelity scalar-channel omission reasons. Counts only; the
|
|
15540
|
+
// rejected raw value (timestamp, unhashed id, non-finite number) is
|
|
15541
|
+
// never echoed. Mirror the product omission enum verbatim.
|
|
15542
|
+
SIDE_EFFECT_OMITTED_RAW_TIMESTAMP: "glasstrace.side_effect.omitted.raw_timestamp",
|
|
15543
|
+
SIDE_EFFECT_OMITTED_UNHASHED_ID: "glasstrace.side_effect.omitted.unhashed_id",
|
|
15544
|
+
SIDE_EFFECT_OMITTED_NON_FINITE: "glasstrace.side_effect.omitted.non_finite"
|
|
15526
15545
|
};
|
|
15527
15546
|
var MAX_SOURCE_MAP_FILE_PATH_LENGTH = 512;
|
|
15528
15547
|
var MAX_SOURCE_MAP_FILE_SIZE = 50 * 1024 * 1024;
|