@glasstrace/sdk 1.13.0 → 1.14.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-VWZMG3W2.js → chunk-E2F4S5IJ.js} +358 -7
- package/dist/chunk-E2F4S5IJ.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 +1016 -957
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +3 -295
- package/dist/index.js.map +1 -1
- package/dist/node-entry.cjs +12 -5
- package/dist/node-entry.cjs.map +1 -1
- package/dist/node-entry.js +1 -1
- package/package.json +1 -1
- package/dist/chunk-VWZMG3W2.js.map +0 -1
package/dist/cli/init.cjs
CHANGED
|
@@ -18092,7 +18092,7 @@ async function mcpAdd(options) {
|
|
|
18092
18092
|
);
|
|
18093
18093
|
const dispatchSetMcpAdd = detectedNonGenericMcpAdd.length === 0 ? agentsWithMcpReady : nonGenericReadyMcpAdd;
|
|
18094
18094
|
if (dispatchSetMcpAdd.length > 0) {
|
|
18095
|
-
const sdkVersion = true ? "1.
|
|
18095
|
+
const sdkVersion = true ? "1.14.0" : "0.0.0-dev";
|
|
18096
18096
|
try {
|
|
18097
18097
|
await injectAllTargets(
|
|
18098
18098
|
dispatchSetMcpAdd,
|
|
@@ -18349,7 +18349,7 @@ async function runUpgradeInstructions(options) {
|
|
|
18349
18349
|
);
|
|
18350
18350
|
return { exitCode: 1, refreshed, skipped, warnings, errors };
|
|
18351
18351
|
}
|
|
18352
|
-
const sdkVersion = true ? "1.
|
|
18352
|
+
const sdkVersion = true ? "1.14.0" : "0.0.0-dev";
|
|
18353
18353
|
const optedInAgents = [];
|
|
18354
18354
|
for (const agent of agents) {
|
|
18355
18355
|
if (agent.infoFilePath === null) {
|
|
@@ -20034,7 +20034,7 @@ Then add this as the first statement in your register() function:
|
|
|
20034
20034
|
);
|
|
20035
20035
|
const dispatchSet = detectedNonGeneric.length === 0 ? agentsWithMcpReady : nonGenericReady;
|
|
20036
20036
|
if (dispatchSet.length > 0) {
|
|
20037
|
-
const sdkVersionForInject = true ? "1.
|
|
20037
|
+
const sdkVersionForInject = true ? "1.14.0" : "0.0.0-dev";
|
|
20038
20038
|
try {
|
|
20039
20039
|
await injectAllTargets(
|
|
20040
20040
|
dispatchSet,
|
|
@@ -20136,7 +20136,7 @@ async function verifyAnonKeyRegistration(projectRoot) {
|
|
|
20136
20136
|
}
|
|
20137
20137
|
const baseConfig = resolveConfig({ apiKey: devKey });
|
|
20138
20138
|
const config2 = { ...baseConfig, apiKey: devKey };
|
|
20139
|
-
const sdkVersion = true ? "1.
|
|
20139
|
+
const sdkVersion = true ? "1.14.0" : "0.0.0-dev";
|
|
20140
20140
|
const result = await verifyInitReachable(config2, anonKey, sdkVersion);
|
|
20141
20141
|
if (result.ok) {
|
|
20142
20142
|
return { outcome: "verified" };
|
package/dist/cli/init.js
CHANGED
|
@@ -918,7 +918,7 @@ Then add this as the first statement in your register() function:
|
|
|
918
918
|
);
|
|
919
919
|
const dispatchSet = detectedNonGeneric.length === 0 ? agentsWithMcpReady : nonGenericReady;
|
|
920
920
|
if (dispatchSet.length > 0) {
|
|
921
|
-
const sdkVersionForInject = true ? "1.
|
|
921
|
+
const sdkVersionForInject = true ? "1.14.0" : "0.0.0-dev";
|
|
922
922
|
try {
|
|
923
923
|
await injectAllTargets(
|
|
924
924
|
dispatchSet,
|
|
@@ -1020,7 +1020,7 @@ async function verifyAnonKeyRegistration(projectRoot) {
|
|
|
1020
1020
|
}
|
|
1021
1021
|
const baseConfig = resolveConfig({ apiKey: devKey });
|
|
1022
1022
|
const config = { ...baseConfig, apiKey: devKey };
|
|
1023
|
-
const sdkVersion = true ? "1.
|
|
1023
|
+
const sdkVersion = true ? "1.14.0" : "0.0.0-dev";
|
|
1024
1024
|
const result = await verifyInitReachable(config, anonKey, sdkVersion);
|
|
1025
1025
|
if (result.ok) {
|
|
1026
1026
|
return { outcome: "verified" };
|
package/dist/cli/mcp-add.cjs
CHANGED
|
@@ -15987,7 +15987,7 @@ async function mcpAdd(options) {
|
|
|
15987
15987
|
);
|
|
15988
15988
|
const dispatchSetMcpAdd = detectedNonGenericMcpAdd.length === 0 ? agentsWithMcpReady : nonGenericReadyMcpAdd;
|
|
15989
15989
|
if (dispatchSetMcpAdd.length > 0) {
|
|
15990
|
-
const sdkVersion = true ? "1.
|
|
15990
|
+
const sdkVersion = true ? "1.14.0" : "0.0.0-dev";
|
|
15991
15991
|
try {
|
|
15992
15992
|
await injectAllTargets(
|
|
15993
15993
|
dispatchSetMcpAdd,
|
package/dist/cli/mcp-add.js
CHANGED
|
@@ -230,7 +230,7 @@ async function mcpAdd(options) {
|
|
|
230
230
|
);
|
|
231
231
|
const dispatchSetMcpAdd = detectedNonGenericMcpAdd.length === 0 ? agentsWithMcpReady : nonGenericReadyMcpAdd;
|
|
232
232
|
if (dispatchSetMcpAdd.length > 0) {
|
|
233
|
-
const sdkVersion = true ? "1.
|
|
233
|
+
const sdkVersion = true ? "1.14.0" : "0.0.0-dev";
|
|
234
234
|
try {
|
|
235
235
|
await injectAllTargets(
|
|
236
236
|
dispatchSetMcpAdd,
|
|
@@ -669,7 +669,7 @@ async function runUpgradeInstructions(options) {
|
|
|
669
669
|
);
|
|
670
670
|
return { exitCode: 1, refreshed, skipped, warnings, errors };
|
|
671
671
|
}
|
|
672
|
-
const sdkVersion = true ? "1.
|
|
672
|
+
const sdkVersion = true ? "1.14.0" : "0.0.0-dev";
|
|
673
673
|
const optedInAgents = [];
|
|
674
674
|
for (const agent of agents) {
|
|
675
675
|
if (agent.infoFilePath === null) {
|
|
@@ -67,7 +67,7 @@ async function runUpgradeInstructions(options) {
|
|
|
67
67
|
);
|
|
68
68
|
return { exitCode: 1, refreshed, skipped, warnings, errors };
|
|
69
69
|
}
|
|
70
|
-
const sdkVersion = true ? "1.
|
|
70
|
+
const sdkVersion = true ? "1.14.0" : "0.0.0-dev";
|
|
71
71
|
const optedInAgents = [];
|
|
72
72
|
for (const agent of agents) {
|
|
73
73
|
if (agent.infoFilePath === null) {
|