@glasstrace/sdk 1.1.0 → 1.1.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/dist/{chunk-KE7MCPO5.js → chunk-4EZ6JTDG.js} +2 -2
- package/dist/{chunk-67RIOAXV.js → chunk-6RNBUUBR.js} +2 -2
- package/dist/{chunk-DXRZKKSO.js → chunk-7SZQN6IU.js} +1 -3
- package/dist/chunk-7SZQN6IU.js.map +1 -0
- package/dist/{chunk-55FBXXER.js → chunk-DIM4JRXM.js} +2 -2
- package/dist/{chunk-UGJ3X4CT.js → chunk-DST4UBXU.js} +2 -2
- package/dist/{chunk-DO2YPMQ5.js → chunk-MXDZHFJQ.js} +23 -5
- package/dist/chunk-MXDZHFJQ.js.map +1 -0
- package/dist/chunk-P22UQ2OJ.js +384 -0
- package/dist/chunk-P22UQ2OJ.js.map +1 -0
- package/dist/{chunk-HAU66QBQ.js → chunk-P4OYPFQ5.js} +9 -9
- package/dist/chunk-P4OYPFQ5.js.map +1 -0
- package/dist/{chunk-TQ54WLCZ.js → chunk-X5MAXP5T.js} +2 -1
- package/dist/{chunk-ZBTC5QIQ.js → chunk-Y26HJUPD.js} +9 -9
- package/dist/{chunk-LU3PPAOQ.js → chunk-ZRDQ6ZKI.js} +474 -93
- package/dist/chunk-ZRDQ6ZKI.js.map +1 -0
- package/dist/cli/init.cjs +1118 -946
- package/dist/cli/init.cjs.map +1 -1
- package/dist/cli/init.js +42 -29
- package/dist/cli/init.js.map +1 -1
- package/dist/cli/mcp-add.cjs +243 -83
- package/dist/cli/mcp-add.cjs.map +1 -1
- package/dist/cli/mcp-add.d.cts +35 -4
- package/dist/cli/mcp-add.d.ts +35 -4
- package/dist/cli/mcp-add.js +48 -24
- package/dist/cli/mcp-add.js.map +1 -1
- package/dist/cli/status.cjs.map +1 -1
- package/dist/cli/status.js +3 -1
- package/dist/cli/status.js.map +1 -1
- package/dist/cli/uninit.cjs +4 -4
- package/dist/cli/uninit.cjs.map +1 -1
- package/dist/cli/uninit.js +4 -4
- package/dist/edge-entry.js +2 -2
- package/dist/index.cjs +293 -11
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +5 -5
- package/dist/{monorepo-N5Z63XP7.js → monorepo-GSL6JD3G.js} +5 -3
- package/dist/node-entry.cjs +293 -11
- package/dist/node-entry.cjs.map +1 -1
- package/dist/node-entry.js +7 -7
- package/dist/node-subpath.js +3 -3
- package/dist/{source-map-uploader-BJIXRLJ6.js → source-map-uploader-DPUUCLNW.js} +3 -3
- package/package.json +1 -1
- package/dist/chunk-DO2YPMQ5.js.map +0 -1
- package/dist/chunk-DXRZKKSO.js.map +0 -1
- package/dist/chunk-HAU66QBQ.js.map +0 -1
- package/dist/chunk-IP4NMDJK.js +0 -98
- package/dist/chunk-IP4NMDJK.js.map +0 -1
- package/dist/chunk-LU3PPAOQ.js.map +0 -1
- package/dist/chunk-O63DJKIJ.js +0 -460
- package/dist/chunk-O63DJKIJ.js.map +0 -1
- /package/dist/{chunk-KE7MCPO5.js.map → chunk-4EZ6JTDG.js.map} +0 -0
- /package/dist/{chunk-67RIOAXV.js.map → chunk-6RNBUUBR.js.map} +0 -0
- /package/dist/{chunk-55FBXXER.js.map → chunk-DIM4JRXM.js.map} +0 -0
- /package/dist/{chunk-UGJ3X4CT.js.map → chunk-DST4UBXU.js.map} +0 -0
- /package/dist/{chunk-TQ54WLCZ.js.map → chunk-X5MAXP5T.js.map} +0 -0
- /package/dist/{chunk-ZBTC5QIQ.js.map → chunk-Y26HJUPD.js.map} +0 -0
- /package/dist/{monorepo-N5Z63XP7.js.map → monorepo-GSL6JD3G.js.map} +0 -0
- /package/dist/{source-map-uploader-BJIXRLJ6.js.map → source-map-uploader-DPUUCLNW.js.map} +0 -0
|
@@ -33,7 +33,7 @@ import {
|
|
|
33
33
|
performInit,
|
|
34
34
|
recordSpansDropped,
|
|
35
35
|
recordSpansExported
|
|
36
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-MXDZHFJQ.js";
|
|
37
37
|
import {
|
|
38
38
|
isAnonymousMode,
|
|
39
39
|
isProductionDisabled,
|
|
@@ -42,11 +42,11 @@ import {
|
|
|
42
42
|
import {
|
|
43
43
|
getOrCreateAnonKey,
|
|
44
44
|
readAnonKey
|
|
45
|
-
} from "./chunk-
|
|
45
|
+
} from "./chunk-P22UQ2OJ.js";
|
|
46
46
|
import {
|
|
47
47
|
GLASSTRACE_ATTRIBUTE_NAMES,
|
|
48
48
|
deriveSessionId
|
|
49
|
-
} from "./chunk-
|
|
49
|
+
} from "./chunk-X5MAXP5T.js";
|
|
50
50
|
import {
|
|
51
51
|
__require
|
|
52
52
|
} from "./chunk-NSBPE2FW.js";
|
|
@@ -4027,7 +4027,7 @@ function registerGlasstrace(options) {
|
|
|
4027
4027
|
setCoreState(CoreState.REGISTERING);
|
|
4028
4028
|
startRuntimeStateWriter({
|
|
4029
4029
|
projectRoot: process.cwd(),
|
|
4030
|
-
sdkVersion: "1.1.
|
|
4030
|
+
sdkVersion: "1.1.1"
|
|
4031
4031
|
});
|
|
4032
4032
|
const config = resolveConfig(options);
|
|
4033
4033
|
if (config.verbose) {
|
|
@@ -4193,8 +4193,8 @@ async function backgroundInit(config, anonKeyForInit, generation) {
|
|
|
4193
4193
|
if (config.verbose) {
|
|
4194
4194
|
console.info("[glasstrace] Background init firing.");
|
|
4195
4195
|
}
|
|
4196
|
-
const healthReport = collectHealthReport("1.1.
|
|
4197
|
-
const initResult = await performInit(config, anonKeyForInit, "1.1.
|
|
4196
|
+
const healthReport = collectHealthReport("1.1.1");
|
|
4197
|
+
const initResult = await performInit(config, anonKeyForInit, "1.1.1", healthReport);
|
|
4198
4198
|
if (generation !== registrationGeneration) return;
|
|
4199
4199
|
const currentState = getCoreState();
|
|
4200
4200
|
if (currentState === CoreState.SHUTTING_DOWN || currentState === CoreState.SHUTDOWN) {
|
|
@@ -4217,7 +4217,7 @@ async function backgroundInit(config, anonKeyForInit, generation) {
|
|
|
4217
4217
|
}
|
|
4218
4218
|
maybeInstallConsoleCapture();
|
|
4219
4219
|
if (didLastInitSucceed()) {
|
|
4220
|
-
startHeartbeat(config, anonKeyForInit, "1.1.
|
|
4220
|
+
startHeartbeat(config, anonKeyForInit, "1.1.1", generation, (newApiKey, accountId) => {
|
|
4221
4221
|
setAuthState(AuthState.CLAIMING);
|
|
4222
4222
|
emitLifecycleEvent("auth:claim_started", { accountId });
|
|
4223
4223
|
setResolvedApiKey(newApiKey);
|
|
@@ -4512,7 +4512,7 @@ async function handleSourceMapUpload(distDir) {
|
|
|
4512
4512
|
);
|
|
4513
4513
|
return;
|
|
4514
4514
|
}
|
|
4515
|
-
const { discoverSourceMapFiles, computeBuildHash, uploadSourceMaps } = await import("./source-map-uploader-
|
|
4515
|
+
const { discoverSourceMapFiles, computeBuildHash, uploadSourceMaps } = await import("./source-map-uploader-DPUUCLNW.js");
|
|
4516
4516
|
const files = await discoverSourceMapFiles(distDir);
|
|
4517
4517
|
if (files.length === 0) {
|
|
4518
4518
|
console.info("[glasstrace] No source map files found. Skipping upload.");
|
|
@@ -4566,4 +4566,4 @@ export {
|
|
|
4566
4566
|
withGlasstraceConfig,
|
|
4567
4567
|
captureError
|
|
4568
4568
|
};
|
|
4569
|
-
//# sourceMappingURL=chunk-
|
|
4569
|
+
//# sourceMappingURL=chunk-Y26HJUPD.js.map
|