@glasstrace/sdk 1.7.0 → 1.8.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/{capture-error-BmQz7xF6.d.cts → capture-error-C95zvSvF.d.cts} +38 -0
- package/dist/{capture-error-CTgSYxek.d.ts → capture-error-Dzz7_-v4.d.ts} +38 -0
- package/dist/{chunk-OWPA7GHV.js → chunk-JJL2M64Z.js} +1385 -1033
- package/dist/chunk-JJL2M64Z.js.map +1 -0
- package/dist/cli/init.cjs +4 -4
- package/dist/cli/init.js +2 -2
- package/dist/cli/mcp-add.cjs +1 -1
- package/dist/cli/mcp-add.js +1 -1
- package/dist/cli/upgrade-instructions.cjs +1 -1
- package/dist/cli/upgrade-instructions.js +1 -1
- package/dist/index.cjs +3545 -3193
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/node-entry.cjs +3545 -3193
- package/dist/node-entry.cjs.map +1 -1
- package/dist/node-entry.d.cts +1 -1
- package/dist/node-entry.d.ts +1 -1
- package/dist/node-entry.js +1 -1
- package/package.json +1 -1
- package/dist/chunk-OWPA7GHV.js.map +0 -1
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.8.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.8.0" : "0.0.0-dev";
|
|
17266
17266
|
for (const agent of agents) {
|
|
17267
17267
|
if (agent.infoFilePath === null) {
|
|
17268
17268
|
continue;
|
|
@@ -18902,7 +18902,7 @@ Then add this as the first statement in your register() function:
|
|
|
18902
18902
|
}
|
|
18903
18903
|
anyConfigWritten = true;
|
|
18904
18904
|
anyConfigRewrittenWithBearer = true;
|
|
18905
|
-
const sdkVersionForInject = true ? "1.
|
|
18905
|
+
const sdkVersionForInject = true ? "1.8.0" : "0.0.0-dev";
|
|
18906
18906
|
const infoContent = generateInfoSection(
|
|
18907
18907
|
agent,
|
|
18908
18908
|
MCP_ENDPOINT,
|
|
@@ -19008,7 +19008,7 @@ async function verifyAnonKeyRegistration(projectRoot) {
|
|
|
19008
19008
|
}
|
|
19009
19009
|
const baseConfig = resolveConfig({ apiKey: devKey });
|
|
19010
19010
|
const config2 = { ...baseConfig, apiKey: devKey };
|
|
19011
|
-
const sdkVersion = true ? "1.
|
|
19011
|
+
const sdkVersion = true ? "1.8.0" : "0.0.0-dev";
|
|
19012
19012
|
const result = await verifyInitReachable(config2, anonKey, sdkVersion);
|
|
19013
19013
|
if (result.ok) {
|
|
19014
19014
|
return { outcome: "verified" };
|
package/dist/cli/init.js
CHANGED
|
@@ -901,7 +901,7 @@ Then add this as the first statement in your register() function:
|
|
|
901
901
|
}
|
|
902
902
|
anyConfigWritten = true;
|
|
903
903
|
anyConfigRewrittenWithBearer = true;
|
|
904
|
-
const sdkVersionForInject = true ? "1.
|
|
904
|
+
const sdkVersionForInject = true ? "1.8.0" : "0.0.0-dev";
|
|
905
905
|
const infoContent = generateInfoSection(
|
|
906
906
|
agent,
|
|
907
907
|
MCP_ENDPOINT,
|
|
@@ -1007,7 +1007,7 @@ async function verifyAnonKeyRegistration(projectRoot) {
|
|
|
1007
1007
|
}
|
|
1008
1008
|
const baseConfig = resolveConfig({ apiKey: devKey });
|
|
1009
1009
|
const config = { ...baseConfig, apiKey: devKey };
|
|
1010
|
-
const sdkVersion = true ? "1.
|
|
1010
|
+
const sdkVersion = true ? "1.8.0" : "0.0.0-dev";
|
|
1011
1011
|
const result = await verifyInitReachable(config, anonKey, sdkVersion);
|
|
1012
1012
|
if (result.ok) {
|
|
1013
1013
|
return { outcome: "verified" };
|
package/dist/cli/mcp-add.cjs
CHANGED
|
@@ -14929,7 +14929,7 @@ async function mcpAdd(options) {
|
|
|
14929
14929
|
const bearer = resolved.effective.key;
|
|
14930
14930
|
for (const agent of targetAgents) {
|
|
14931
14931
|
const name = formatAgentName(agent.name);
|
|
14932
|
-
const sdkVersion = true ? "1.
|
|
14932
|
+
const sdkVersion = true ? "1.8.0" : "0.0.0-dev";
|
|
14933
14933
|
if (agent.name !== "generic") {
|
|
14934
14934
|
const cliSuccess = await registerViaCli(agent, bearer);
|
|
14935
14935
|
if (cliSuccess) {
|
package/dist/cli/mcp-add.js
CHANGED
|
@@ -168,7 +168,7 @@ async function mcpAdd(options) {
|
|
|
168
168
|
const bearer = resolved.effective.key;
|
|
169
169
|
for (const agent of targetAgents) {
|
|
170
170
|
const name = formatAgentName(agent.name);
|
|
171
|
-
const sdkVersion = true ? "1.
|
|
171
|
+
const sdkVersion = true ? "1.8.0" : "0.0.0-dev";
|
|
172
172
|
if (agent.name !== "generic") {
|
|
173
173
|
const cliSuccess = await registerViaCli(agent, bearer);
|
|
174
174
|
if (cliSuccess) {
|
|
@@ -395,7 +395,7 @@ async function runUpgradeInstructions(options) {
|
|
|
395
395
|
);
|
|
396
396
|
return { exitCode: 1, refreshed, skipped, warnings, errors };
|
|
397
397
|
}
|
|
398
|
-
const sdkVersion = true ? "1.
|
|
398
|
+
const sdkVersion = true ? "1.8.0" : "0.0.0-dev";
|
|
399
399
|
for (const agent of agents) {
|
|
400
400
|
if (agent.infoFilePath === null) {
|
|
401
401
|
continue;
|
|
@@ -36,7 +36,7 @@ async function runUpgradeInstructions(options) {
|
|
|
36
36
|
);
|
|
37
37
|
return { exitCode: 1, refreshed, skipped, warnings, errors };
|
|
38
38
|
}
|
|
39
|
-
const sdkVersion = true ? "1.
|
|
39
|
+
const sdkVersion = true ? "1.8.0" : "0.0.0-dev";
|
|
40
40
|
for (const agent of agents) {
|
|
41
41
|
if (agent.infoFilePath === null) {
|
|
42
42
|
continue;
|