@glasstrace/sdk 1.5.1 → 1.6.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 +108 -0
- package/dist/{chunk-YLY7AGLC.js → chunk-3PJP5Y3U.js} +3 -3
- package/dist/{chunk-Q42BY5BA.js → chunk-H57MQGNU.js} +2 -2
- package/dist/{chunk-TANUWTFO.js → chunk-M2TLX6NM.js} +3 -3
- package/dist/{chunk-MMKFFF2L.js → chunk-NN5YCETI.js} +2 -2
- package/dist/{chunk-4WI7B5FQ.js → chunk-P45NZR4J.js} +21 -1
- package/dist/chunk-P45NZR4J.js.map +1 -0
- package/dist/{chunk-QU26IKIJ.js → chunk-UQKI476D.js} +2 -2
- package/dist/{chunk-MFYOQOD7.js → chunk-WL6BXEJ5.js} +2 -2
- package/dist/{chunk-MLRQTCCK.js → chunk-ZU5XO77C.js} +205 -28
- package/dist/chunk-ZU5XO77C.js.map +1 -0
- package/dist/cli/init.cjs +4 -4
- package/dist/cli/init.cjs.map +1 -1
- package/dist/cli/init.js +7 -7
- package/dist/cli/mcp-add.cjs +1 -1
- 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.map +1 -1
- package/dist/cli/validate.js +2 -2
- package/dist/edge-entry.cjs +20 -0
- package/dist/edge-entry.cjs.map +1 -1
- package/dist/edge-entry.js +2 -2
- package/dist/index.cjs +220 -23
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +5 -5
- package/dist/node-entry.cjs +220 -23
- package/dist/node-entry.cjs.map +1 -1
- package/dist/node-entry.js +7 -7
- package/dist/node-subpath.cjs.map +1 -1
- package/dist/node-subpath.js +3 -3
- package/dist/{source-map-uploader-PB3M4PPP.js → source-map-uploader-XFUEVV7I.js} +3 -3
- package/package.json +1 -1
- package/dist/chunk-4WI7B5FQ.js.map +0 -1
- package/dist/chunk-MLRQTCCK.js.map +0 -1
- /package/dist/{chunk-YLY7AGLC.js.map → chunk-3PJP5Y3U.js.map} +0 -0
- /package/dist/{chunk-Q42BY5BA.js.map → chunk-H57MQGNU.js.map} +0 -0
- /package/dist/{chunk-TANUWTFO.js.map → chunk-M2TLX6NM.js.map} +0 -0
- /package/dist/{chunk-MMKFFF2L.js.map → chunk-NN5YCETI.js.map} +0 -0
- /package/dist/{chunk-QU26IKIJ.js.map → chunk-UQKI476D.js.map} +0 -0
- /package/dist/{chunk-MFYOQOD7.js.map → chunk-WL6BXEJ5.js.map} +0 -0
- /package/dist/{source-map-uploader-PB3M4PPP.js.map → source-map-uploader-XFUEVV7I.js.map} +0 -0
package/dist/cli/init.cjs
CHANGED
|
@@ -16994,7 +16994,7 @@ async function mcpAdd(options) {
|
|
|
16994
16994
|
const bearer = resolved.effective.key;
|
|
16995
16995
|
for (const agent of targetAgents) {
|
|
16996
16996
|
const name = formatAgentName(agent.name);
|
|
16997
|
-
const sdkVersion = true ? "1.
|
|
16997
|
+
const sdkVersion = true ? "1.6.0" : "0.0.0-dev";
|
|
16998
16998
|
if (agent.name !== "generic") {
|
|
16999
16999
|
const cliSuccess = await registerViaCli(agent, bearer);
|
|
17000
17000
|
if (cliSuccess) {
|
|
@@ -17262,7 +17262,7 @@ async function runUpgradeInstructions(options) {
|
|
|
17262
17262
|
);
|
|
17263
17263
|
return { exitCode: 1, refreshed, skipped, warnings, errors };
|
|
17264
17264
|
}
|
|
17265
|
-
const sdkVersion = true ? "1.
|
|
17265
|
+
const sdkVersion = true ? "1.6.0" : "0.0.0-dev";
|
|
17266
17266
|
for (const agent of agents) {
|
|
17267
17267
|
if (agent.infoFilePath === null) {
|
|
17268
17268
|
continue;
|
|
@@ -18898,7 +18898,7 @@ Then add this as the first statement in your register() function:
|
|
|
18898
18898
|
}
|
|
18899
18899
|
anyConfigWritten = true;
|
|
18900
18900
|
anyConfigRewrittenWithBearer = true;
|
|
18901
|
-
const sdkVersionForInject = true ? "1.
|
|
18901
|
+
const sdkVersionForInject = true ? "1.6.0" : "0.0.0-dev";
|
|
18902
18902
|
const infoContent = generateInfoSection(
|
|
18903
18903
|
agent,
|
|
18904
18904
|
MCP_ENDPOINT,
|
|
@@ -19001,7 +19001,7 @@ async function verifyAnonKeyRegistration(projectRoot) {
|
|
|
19001
19001
|
}
|
|
19002
19002
|
const baseConfig = resolveConfig({ apiKey: devKey });
|
|
19003
19003
|
const config2 = { ...baseConfig, apiKey: devKey };
|
|
19004
|
-
const sdkVersion = true ? "1.
|
|
19004
|
+
const sdkVersion = true ? "1.6.0" : "0.0.0-dev";
|
|
19005
19005
|
const result = await verifyInitReachable(config2, anonKey, sdkVersion);
|
|
19006
19006
|
if (result.ok) {
|
|
19007
19007
|
return { outcome: "verified" };
|