@glasstrace/sdk 1.3.6 → 1.3.7
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 +23 -18
- package/dist/{chunk-QJVAKVQJ.js → chunk-4WUHMLMM.js} +2 -2
- package/dist/{chunk-BQKPRFLF.js → chunk-DBKG6SRI.js} +2 -2
- package/dist/{chunk-WKOQJCFN.js → chunk-FKBCEOJ5.js} +2 -2
- package/dist/{chunk-IY6A6EXS.js → chunk-LW7474ZA.js} +9 -9
- package/dist/{chunk-IY6A6EXS.js.map → chunk-LW7474ZA.js.map} +1 -1
- package/dist/{chunk-E62DL2H4.js → chunk-TUFUV43S.js} +3 -3
- package/dist/{chunk-LQKJ27LO.js → chunk-V2S7BSV4.js} +2 -2
- package/dist/{chunk-M4ZI7J3N.js → chunk-XS5W3SPL.js} +1 -1
- package/dist/{chunk-M4ZI7J3N.js.map → chunk-XS5W3SPL.js.map} +1 -1
- package/dist/{chunk-3HWBR7XM.js → chunk-YSBGMBI5.js} +3 -3
- package/dist/cli/init.cjs +2 -2
- package/dist/cli/init.cjs.map +1 -1
- package/dist/cli/init.js +7 -7
- package/dist/cli/init.js.map +1 -1
- package/dist/cli/mcp-add.cjs.map +1 -1
- package/dist/cli/mcp-add.js +2 -2
- package/dist/cli/uninit.js +3 -3
- package/dist/cli/validate.cjs.map +1 -1
- package/dist/cli/validate.js +2 -2
- package/dist/{edge-entry-shCc8_Y1.d.ts → edge-entry-BSKA1l_0.d.ts} +1 -1
- package/dist/{edge-entry-DT9OhPTC.d.cts → edge-entry-DyMWa6JK.d.cts} +1 -1
- 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 +2 -2
- package/dist/index.cjs +4 -4
- package/dist/index.cjs.map +1 -1
- package/dist/{index.d-DiI6uVEW.d.cts → index.d-Bo_Rxund.d.cts} +4 -1
- package/dist/{index.d-DiI6uVEW.d.ts → index.d-Bo_Rxund.d.ts} +4 -1
- package/dist/index.d.cts +4 -4
- package/dist/index.d.ts +4 -4
- package/dist/index.js +5 -5
- package/dist/node-entry.cjs +4 -4
- package/dist/node-entry.cjs.map +1 -1
- package/dist/node-entry.d.cts +2 -2
- package/dist/node-entry.d.ts +2 -2
- package/dist/node-entry.js +7 -7
- package/dist/node-subpath.cjs.map +1 -1
- package/dist/node-subpath.d.cts +1 -1
- package/dist/node-subpath.d.ts +1 -1
- package/dist/node-subpath.js +3 -3
- package/dist/{source-map-uploader-JAD3XM4F.js → source-map-uploader-FSTHCYDR.js} +3 -3
- package/package.json +1 -1
- /package/dist/{chunk-QJVAKVQJ.js.map → chunk-4WUHMLMM.js.map} +0 -0
- /package/dist/{chunk-BQKPRFLF.js.map → chunk-DBKG6SRI.js.map} +0 -0
- /package/dist/{chunk-WKOQJCFN.js.map → chunk-FKBCEOJ5.js.map} +0 -0
- /package/dist/{chunk-E62DL2H4.js.map → chunk-TUFUV43S.js.map} +0 -0
- /package/dist/{chunk-LQKJ27LO.js.map → chunk-V2S7BSV4.js.map} +0 -0
- /package/dist/{chunk-3HWBR7XM.js.map → chunk-YSBGMBI5.js.map} +0 -0
- /package/dist/{source-map-uploader-JAD3XM4F.js.map → source-map-uploader-FSTHCYDR.js.map} +0 -0
package/dist/cli/init.js
CHANGED
|
@@ -4,10 +4,10 @@ import {
|
|
|
4
4
|
} from "../chunk-2M57EO6U.js";
|
|
5
5
|
import {
|
|
6
6
|
verifyInitReachable
|
|
7
|
-
} from "../chunk-
|
|
7
|
+
} from "../chunk-YSBGMBI5.js";
|
|
8
8
|
import {
|
|
9
9
|
buildImportGraph
|
|
10
|
-
} from "../chunk-
|
|
10
|
+
} from "../chunk-4WUHMLMM.js";
|
|
11
11
|
import {
|
|
12
12
|
resolveConfig
|
|
13
13
|
} from "../chunk-VUZCLMIX.js";
|
|
@@ -21,7 +21,7 @@ import {
|
|
|
21
21
|
unwrapCJSExport,
|
|
22
22
|
unwrapExport,
|
|
23
23
|
writeDiscoveryFile
|
|
24
|
-
} from "../chunk-
|
|
24
|
+
} from "../chunk-TUFUV43S.js";
|
|
25
25
|
import {
|
|
26
26
|
detectAgents,
|
|
27
27
|
generateInfoSection,
|
|
@@ -40,8 +40,8 @@ import {
|
|
|
40
40
|
readEnvLocalApiKey,
|
|
41
41
|
resolveEffectiveMcpCredential,
|
|
42
42
|
writeMcpMarker
|
|
43
|
-
} from "../chunk-
|
|
44
|
-
import "../chunk-
|
|
43
|
+
} from "../chunk-V2S7BSV4.js";
|
|
44
|
+
import "../chunk-XS5W3SPL.js";
|
|
45
45
|
import {
|
|
46
46
|
NEXT_CONFIG_NAMES,
|
|
47
47
|
formatAgentName
|
|
@@ -797,7 +797,7 @@ Then add this as the first statement in your register() function:
|
|
|
797
797
|
break;
|
|
798
798
|
case "failed":
|
|
799
799
|
warnings.push(
|
|
800
|
-
`Failed to write ${relPath}${discoveryResult.error !== void 0 ? `: ${discoveryResult.error}` : ""}. The Glasstrace browser extension
|
|
800
|
+
`Failed to write ${relPath}${discoveryResult.error !== void 0 ? `: ${discoveryResult.error}` : ""}. The Glasstrace browser extension cannot discover this project until the file is written; rerun \`glasstrace init\` after fixing the underlying error.`
|
|
801
801
|
);
|
|
802
802
|
break;
|
|
803
803
|
}
|
|
@@ -994,7 +994,7 @@ async function verifyAnonKeyRegistration(projectRoot) {
|
|
|
994
994
|
}
|
|
995
995
|
const baseConfig = resolveConfig({ apiKey: devKey });
|
|
996
996
|
const config = { ...baseConfig, apiKey: devKey };
|
|
997
|
-
const sdkVersion = true ? "1.3.
|
|
997
|
+
const sdkVersion = true ? "1.3.7" : "0.0.0-dev";
|
|
998
998
|
const result = await verifyInitReachable(config, anonKey, sdkVersion);
|
|
999
999
|
if (result.ok) {
|
|
1000
1000
|
return { outcome: "verified" };
|