@glasstrace/sdk 1.15.1 → 1.16.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 +74 -8
- 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-F7A3QXCT.js → chunk-774XIOZG.js} +2 -2
- package/dist/{chunk-VMK2G6QR.js → chunk-AFTCLH77.js} +2 -2
- package/dist/{chunk-XMD5OYD6.js → chunk-BGJKEFBN.js} +2 -2
- package/dist/{chunk-LQZRGBN5.js → chunk-DW3CZDS6.js} +2 -2
- package/dist/{chunk-T4ETJJSK.js → chunk-EWW3TZ52.js} +95 -11
- package/dist/{chunk-T4ETJJSK.js.map → chunk-EWW3TZ52.js.map} +1 -1
- package/dist/{chunk-7LE2O4ZJ.js → chunk-GBVMPMVV.js} +54 -5
- package/dist/{chunk-7LE2O4ZJ.js.map → chunk-GBVMPMVV.js.map} +1 -1
- package/dist/{chunk-HMEHYSTS.js → chunk-KM4UNN3Q.js} +2 -2
- package/dist/{chunk-MP3QNDXQ.js → chunk-OHSX224U.js} +2 -2
- package/dist/{chunk-6ST4QV7T.js → chunk-T7B752NF.js} +3 -3
- package/dist/{chunk-ZIYT2Y4B.js → chunk-WOYJAG7H.js} +3 -3
- 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 +137 -11
- 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 +28 -4
- package/dist/index.d.ts +28 -4
- package/dist/index.js +5 -5
- 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-UJPZCUFN.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-F7A3QXCT.js.map → chunk-774XIOZG.js.map} +0 -0
- /package/dist/{chunk-VMK2G6QR.js.map → chunk-AFTCLH77.js.map} +0 -0
- /package/dist/{chunk-XMD5OYD6.js.map → chunk-BGJKEFBN.js.map} +0 -0
- /package/dist/{chunk-LQZRGBN5.js.map → chunk-DW3CZDS6.js.map} +0 -0
- /package/dist/{chunk-HMEHYSTS.js.map → chunk-KM4UNN3Q.js.map} +0 -0
- /package/dist/{chunk-MP3QNDXQ.js.map → chunk-OHSX224U.js.map} +0 -0
- /package/dist/{chunk-6ST4QV7T.js.map → chunk-T7B752NF.js.map} +0 -0
- /package/dist/{chunk-ZIYT2Y4B.js.map → chunk-WOYJAG7H.js.map} +0 -0
- /package/dist/{source-map-uploader-NUONOEJG.js.map → source-map-uploader-UJPZCUFN.js.map} +0 -0
package/dist/cli/mcp-add.js
CHANGED
|
@@ -10,8 +10,8 @@ import {
|
|
|
10
10
|
readMcpMarker,
|
|
11
11
|
resolveEffectiveMcpCredential,
|
|
12
12
|
writeMcpMarker
|
|
13
|
-
} from "../chunk-
|
|
14
|
-
import "../chunk-
|
|
13
|
+
} from "../chunk-774XIOZG.js";
|
|
14
|
+
import "../chunk-GBVMPMVV.js";
|
|
15
15
|
import {
|
|
16
16
|
formatAgentName
|
|
17
17
|
} from "../chunk-NB7GJE4S.js";
|
|
@@ -230,7 +230,7 @@ async function mcpAdd(options) {
|
|
|
230
230
|
);
|
|
231
231
|
const dispatchSetMcpAdd = detectedNonGenericMcpAdd.length === 0 ? agentsWithMcpReady : nonGenericReadyMcpAdd;
|
|
232
232
|
if (dispatchSetMcpAdd.length > 0) {
|
|
233
|
-
const sdkVersion = true ? "1.
|
|
233
|
+
const sdkVersion = true ? "1.16.0" : "0.0.0-dev";
|
|
234
234
|
try {
|
|
235
235
|
await injectAllTargets(
|
|
236
236
|
dispatchSetMcpAdd,
|
package/dist/cli/uninit.js
CHANGED
|
@@ -12,9 +12,9 @@ import {
|
|
|
12
12
|
unwrapCJSExport,
|
|
13
13
|
unwrapExport,
|
|
14
14
|
writeShutdownMarker
|
|
15
|
-
} from "../chunk-
|
|
16
|
-
import "../chunk-
|
|
17
|
-
import "../chunk-
|
|
15
|
+
} from "../chunk-WOYJAG7H.js";
|
|
16
|
+
import "../chunk-774XIOZG.js";
|
|
17
|
+
import "../chunk-GBVMPMVV.js";
|
|
18
18
|
import "../chunk-NB7GJE4S.js";
|
|
19
19
|
import "../chunk-YIEXKQYP.js";
|
|
20
20
|
import "../chunk-NSBPE2FW.js";
|
|
@@ -672,7 +672,7 @@ async function runUpgradeInstructions(options) {
|
|
|
672
672
|
);
|
|
673
673
|
return { exitCode: 1, refreshed, skipped, warnings, errors };
|
|
674
674
|
}
|
|
675
|
-
const sdkVersion = true ? "1.
|
|
675
|
+
const sdkVersion = true ? "1.16.0" : "0.0.0-dev";
|
|
676
676
|
const optedInAgents = [];
|
|
677
677
|
for (const agent of agents) {
|
|
678
678
|
if (agent.infoFilePath === null) {
|
|
@@ -5,8 +5,8 @@ import {
|
|
|
5
5
|
} from "../chunk-3A25EBAC.js";
|
|
6
6
|
import {
|
|
7
7
|
MCP_ENDPOINT
|
|
8
|
-
} from "../chunk-
|
|
9
|
-
import "../chunk-
|
|
8
|
+
} from "../chunk-774XIOZG.js";
|
|
9
|
+
import "../chunk-GBVMPMVV.js";
|
|
10
10
|
import {
|
|
11
11
|
hasManagedSection
|
|
12
12
|
} from "../chunk-YIEXKQYP.js";
|
|
@@ -67,7 +67,7 @@ async function runUpgradeInstructions(options) {
|
|
|
67
67
|
);
|
|
68
68
|
return { exitCode: 1, refreshed, skipped, warnings, errors };
|
|
69
69
|
}
|
|
70
|
-
const sdkVersion = true ? "1.
|
|
70
|
+
const sdkVersion = true ? "1.16.0" : "0.0.0-dev";
|
|
71
71
|
const optedInAgents = [];
|
|
72
72
|
for (const agent of agents) {
|
|
73
73
|
if (agent.infoFilePath === null) {
|
package/dist/cli/validate.cjs
CHANGED
|
@@ -14587,7 +14587,20 @@ var CaptureConfigSchema = external_exports.object({
|
|
|
14587
14587
|
* client-side allowlist enforcement layered with the product's
|
|
14588
14588
|
* storage-time filter as defense-in-depth.
|
|
14589
14589
|
*/
|
|
14590
|
-
sideEffectEvidence: external_exports.boolean().optional().default(false)
|
|
14590
|
+
sideEffectEvidence: external_exports.boolean().optional().default(false),
|
|
14591
|
+
/**
|
|
14592
|
+
* Per-account value-fidelity capture posture (server-pushed).
|
|
14593
|
+
*
|
|
14594
|
+
* `strict` (default) is fail-closed: the SDK rejects raw wall-clock
|
|
14595
|
+
* timestamps and unhashed identifiers from the `scalar.*` channel at
|
|
14596
|
+
* emit time. `full` relaxes those rejections so raw magnitudes can be
|
|
14597
|
+
* surfaced — but only in conjunction with an explicit producer opt-in
|
|
14598
|
+
* (so a `full`-configured account still emits strict-shaped scalars
|
|
14599
|
+
* unless the producer also opts in). The operator owns this flag; it
|
|
14600
|
+
* is never derived from producer or request input. Absent on the wire
|
|
14601
|
+
* ⇒ `strict`.
|
|
14602
|
+
*/
|
|
14603
|
+
captureFidelity: external_exports.enum(["strict", "full"]).optional().default("strict")
|
|
14591
14604
|
});
|
|
14592
14605
|
var SdkCachedConfigSchema = external_exports.object({
|
|
14593
14606
|
response: external_exports.record(external_exports.string(), external_exports.unknown()),
|