@glasstrace/sdk 0.17.3 → 0.19.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/dist/{chunk-GSGX76Q5.js → chunk-5N2IR4EO.js} +146 -3
- package/dist/chunk-5N2IR4EO.js.map +1 -0
- package/dist/{chunk-IOPCSX6C.js → chunk-F2TZRBEH.js} +2 -2
- package/dist/{chunk-E33Y7BQH.js → chunk-VN3GZDV6.js} +2 -2
- package/dist/{chunk-J5BW7V2D.js → chunk-YPXW2TN3.js} +2 -2
- package/dist/cli/init.cjs +68 -2
- package/dist/cli/init.cjs.map +1 -1
- package/dist/cli/init.js +4 -4
- package/dist/cli/mcp-add.cjs +66 -0
- package/dist/cli/mcp-add.cjs.map +1 -1
- package/dist/cli/mcp-add.js +2 -2
- package/dist/index.cjs +148 -34
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +43 -12
- package/dist/index.d.ts +43 -12
- package/dist/index.js +10 -39
- package/dist/index.js.map +1 -1
- package/dist/{source-map-uploader-26QPRSCG.js → source-map-uploader-VPDZWWM2.js} +3 -3
- package/package.json +1 -1
- package/dist/chunk-GSGX76Q5.js.map +0 -1
- /package/dist/{chunk-IOPCSX6C.js.map → chunk-F2TZRBEH.js.map} +0 -0
- /package/dist/{chunk-E33Y7BQH.js.map → chunk-VN3GZDV6.js.map} +0 -0
- /package/dist/{chunk-J5BW7V2D.js.map → chunk-YPXW2TN3.js.map} +0 -0
- /package/dist/{source-map-uploader-26QPRSCG.js.map → source-map-uploader-VPDZWWM2.js.map} +0 -0
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
SdkCachedConfigSchema,
|
|
4
4
|
SdkInitResponseSchema,
|
|
5
5
|
createBuildHash
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-5N2IR4EO.js";
|
|
7
7
|
import {
|
|
8
8
|
__require
|
|
9
9
|
} from "./chunk-NSBPE2FW.js";
|
|
@@ -856,4 +856,4 @@ export {
|
|
|
856
856
|
extractImports,
|
|
857
857
|
buildImportGraph
|
|
858
858
|
};
|
|
859
|
-
//# sourceMappingURL=chunk-
|
|
859
|
+
//# sourceMappingURL=chunk-F2TZRBEH.js.map
|
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
PresignedUploadResponseSchema,
|
|
7
7
|
SourceMapManifestResponseSchema,
|
|
8
8
|
SourceMapUploadResponseSchema
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-5N2IR4EO.js";
|
|
10
10
|
import {
|
|
11
11
|
__require
|
|
12
12
|
} from "./chunk-NSBPE2FW.js";
|
|
@@ -468,4 +468,4 @@ export {
|
|
|
468
468
|
uploadSourceMapsPresigned,
|
|
469
469
|
uploadSourceMapsAuto
|
|
470
470
|
};
|
|
471
|
-
//# sourceMappingURL=chunk-
|
|
471
|
+
//# sourceMappingURL=chunk-VN3GZDV6.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AnonApiKeySchema,
|
|
3
3
|
createAnonApiKey
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-5N2IR4EO.js";
|
|
5
5
|
|
|
6
6
|
// src/anon-key.ts
|
|
7
7
|
var GLASSTRACE_DIR = ".glasstrace";
|
|
@@ -95,4 +95,4 @@ export {
|
|
|
95
95
|
readAnonKey,
|
|
96
96
|
getOrCreateAnonKey
|
|
97
97
|
};
|
|
98
|
-
//# sourceMappingURL=chunk-
|
|
98
|
+
//# sourceMappingURL=chunk-YPXW2TN3.js.map
|
package/dist/cli/init.cjs
CHANGED
|
@@ -14905,7 +14905,7 @@ function createAnonApiKey() {
|
|
|
14905
14905
|
function createBuildHash(hash2) {
|
|
14906
14906
|
return BuildHashSchema.parse(hash2);
|
|
14907
14907
|
}
|
|
14908
|
-
var DevApiKeySchema, AnonApiKeySchema, SessionIdSchema, BuildHashSchema, SdkDiagnosticCodeSchema, CaptureConfigSchema, SdkCachedConfigSchema, GlasstraceOptionsSchema, GlasstraceEnvVarsSchema, ImportGraphPayloadSchema, SdkHealthReportSchema, TierLimitsSchema, SdkInitResponseSchema, DiscoveryResponseSchema, SourceMapUploadResponseSchema, PresignedUploadRequestSchema, PresignedUploadResponseSchema, SourceMapManifestRequestSchema, SourceMapManifestResponseSchema;
|
|
14908
|
+
var DevApiKeySchema, AnonApiKeySchema, SessionIdSchema, BuildHashSchema, SdkDiagnosticCodeSchema, CaptureConfigSchema, SdkCachedConfigSchema, GlasstraceOptionsSchema, GlasstraceEnvVarsSchema, ImportGraphPayloadSchema, SdkHealthReportSchema, TierLimitsSchema, SdkInitResponseSchema, DiscoveryResponseSchema, SourceMapUploadResponseSchema, PresignedUploadRequestSchema, PresignedUploadResponseSchema, SourceMapManifestRequestSchema, SourceMapManifestResponseSchema, K;
|
|
14909
14909
|
var init_dist = __esm({
|
|
14910
14910
|
"../protocol/dist/index.js"() {
|
|
14911
14911
|
"use strict";
|
|
@@ -15037,6 +15037,72 @@ var init_dist = __esm({
|
|
|
15037
15037
|
totalSizeBytes: external_exports.number().int().nonnegative(),
|
|
15038
15038
|
activatedAt: external_exports.number().int().positive()
|
|
15039
15039
|
});
|
|
15040
|
+
K = new Uint32Array([
|
|
15041
|
+
1116352408,
|
|
15042
|
+
1899447441,
|
|
15043
|
+
3049323471,
|
|
15044
|
+
3921009573,
|
|
15045
|
+
961987163,
|
|
15046
|
+
1508970993,
|
|
15047
|
+
2453635748,
|
|
15048
|
+
2870763221,
|
|
15049
|
+
3624381080,
|
|
15050
|
+
310598401,
|
|
15051
|
+
607225278,
|
|
15052
|
+
1426881987,
|
|
15053
|
+
1925078388,
|
|
15054
|
+
2162078206,
|
|
15055
|
+
2614888103,
|
|
15056
|
+
3248222580,
|
|
15057
|
+
3835390401,
|
|
15058
|
+
4022224774,
|
|
15059
|
+
264347078,
|
|
15060
|
+
604807628,
|
|
15061
|
+
770255983,
|
|
15062
|
+
1249150122,
|
|
15063
|
+
1555081692,
|
|
15064
|
+
1996064986,
|
|
15065
|
+
2554220882,
|
|
15066
|
+
2821834349,
|
|
15067
|
+
2952996808,
|
|
15068
|
+
3210313671,
|
|
15069
|
+
3336571891,
|
|
15070
|
+
3584528711,
|
|
15071
|
+
113926993,
|
|
15072
|
+
338241895,
|
|
15073
|
+
666307205,
|
|
15074
|
+
773529912,
|
|
15075
|
+
1294757372,
|
|
15076
|
+
1396182291,
|
|
15077
|
+
1695183700,
|
|
15078
|
+
1986661051,
|
|
15079
|
+
2177026350,
|
|
15080
|
+
2456956037,
|
|
15081
|
+
2730485921,
|
|
15082
|
+
2820302411,
|
|
15083
|
+
3259730800,
|
|
15084
|
+
3345764771,
|
|
15085
|
+
3516065817,
|
|
15086
|
+
3600352804,
|
|
15087
|
+
4094571909,
|
|
15088
|
+
275423344,
|
|
15089
|
+
430227734,
|
|
15090
|
+
506948616,
|
|
15091
|
+
659060556,
|
|
15092
|
+
883997877,
|
|
15093
|
+
958139571,
|
|
15094
|
+
1322822218,
|
|
15095
|
+
1537002063,
|
|
15096
|
+
1747873779,
|
|
15097
|
+
1955562222,
|
|
15098
|
+
2024104815,
|
|
15099
|
+
2227730452,
|
|
15100
|
+
2361852424,
|
|
15101
|
+
2428436474,
|
|
15102
|
+
2756734187,
|
|
15103
|
+
3204031479,
|
|
15104
|
+
3329325298
|
|
15105
|
+
]);
|
|
15040
15106
|
}
|
|
15041
15107
|
});
|
|
15042
15108
|
|
|
@@ -18096,7 +18162,7 @@ async function verifyAnonKeyRegistration(projectRoot) {
|
|
|
18096
18162
|
}
|
|
18097
18163
|
const baseConfig = resolveConfig({ apiKey: devKey });
|
|
18098
18164
|
const config2 = { ...baseConfig, apiKey: devKey };
|
|
18099
|
-
const sdkVersion = true ? "0.
|
|
18165
|
+
const sdkVersion = true ? "0.19.0" : "0.0.0-dev";
|
|
18100
18166
|
const result = await verifyInitReachable(config2, anonKey, sdkVersion);
|
|
18101
18167
|
if (result.ok) {
|
|
18102
18168
|
return { outcome: "verified" };
|