@glasstrace/sdk 1.17.0 → 1.18.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-B0txjNut.d.cts → capture-error-B8qiXFeC.d.cts} +2 -2
- package/dist/{capture-error-Dc01rYNR.d.ts → capture-error-BTI6mCH2.d.ts} +2 -2
- package/dist/{chunk-VEQX2YSQ.js → chunk-SONZOTBP.js} +9 -1
- package/dist/{chunk-VEQX2YSQ.js.map → chunk-SONZOTBP.js.map} +1 -1
- package/dist/{chunk-F2IPBTDJ.js → chunk-Z2DSC3YI.js} +20 -8
- package/dist/{chunk-F2IPBTDJ.js.map → chunk-Z2DSC3YI.js.map} +1 -1
- package/dist/cli/init.cjs +4 -4
- package/dist/cli/init.cjs.map +1 -1
- package/dist/cli/init.js +3 -3
- 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/{correlation-id-CelUvw7j.d.cts → correlation-id-CClOq8Wn.d.cts} +1 -1
- package/dist/{correlation-id-B9YYmoZw.d.ts → correlation-id-Ct86Ug4s.d.ts} +1 -1
- package/dist/edge-entry.d.cts +2 -2
- package/dist/edge-entry.d.ts +2 -2
- package/dist/{import-graph-Dka_Fm7j.d.ts → import-graph-DZjTJdJ5.d.ts} +1 -1
- package/dist/{import-graph-DBLGNjcI.d.cts → import-graph-DyQfZU2f.d.cts} +1 -1
- package/dist/index.cjs +136 -6
- package/dist/index.cjs.map +1 -1
- package/dist/{index.d-3-cJoY8y.d.cts → index.d-DhatN7mq.d.cts} +1 -1
- package/dist/{index.d-3-cJoY8y.d.ts → index.d-DhatN7mq.d.ts} +1 -1
- package/dist/index.d.cts +170 -5
- package/dist/index.d.ts +170 -5
- package/dist/index.js +123 -3
- package/dist/index.js.map +1 -1
- package/dist/node-entry.cjs +5 -5
- package/dist/node-entry.cjs.map +1 -1
- package/dist/node-entry.d.cts +4 -4
- package/dist/node-entry.d.ts +4 -4
- package/dist/node-entry.js +2 -2
- package/dist/node-subpath.d.cts +2 -2
- package/dist/node-subpath.d.ts +2 -2
- package/package.json +1 -1
package/dist/cli/init.cjs
CHANGED
|
@@ -18108,7 +18108,7 @@ async function mcpAdd(options) {
|
|
|
18108
18108
|
);
|
|
18109
18109
|
const dispatchSetMcpAdd = detectedNonGenericMcpAdd.length === 0 ? agentsWithMcpReady : nonGenericReadyMcpAdd;
|
|
18110
18110
|
if (dispatchSetMcpAdd.length > 0) {
|
|
18111
|
-
const sdkVersion = true ? "1.
|
|
18111
|
+
const sdkVersion = true ? "1.18.0" : "0.0.0-dev";
|
|
18112
18112
|
try {
|
|
18113
18113
|
await injectAllTargets(
|
|
18114
18114
|
dispatchSetMcpAdd,
|
|
@@ -18365,7 +18365,7 @@ async function runUpgradeInstructions(options) {
|
|
|
18365
18365
|
);
|
|
18366
18366
|
return { exitCode: 1, refreshed, skipped, warnings, errors };
|
|
18367
18367
|
}
|
|
18368
|
-
const sdkVersion = true ? "1.
|
|
18368
|
+
const sdkVersion = true ? "1.18.0" : "0.0.0-dev";
|
|
18369
18369
|
const optedInAgents = [];
|
|
18370
18370
|
for (const agent of agents) {
|
|
18371
18371
|
if (agent.infoFilePath === null) {
|
|
@@ -20050,7 +20050,7 @@ Then add this as the first statement in your register() function:
|
|
|
20050
20050
|
);
|
|
20051
20051
|
const dispatchSet = detectedNonGeneric.length === 0 ? agentsWithMcpReady : nonGenericReady;
|
|
20052
20052
|
if (dispatchSet.length > 0) {
|
|
20053
|
-
const sdkVersionForInject = true ? "1.
|
|
20053
|
+
const sdkVersionForInject = true ? "1.18.0" : "0.0.0-dev";
|
|
20054
20054
|
try {
|
|
20055
20055
|
await injectAllTargets(
|
|
20056
20056
|
dispatchSet,
|
|
@@ -20152,7 +20152,7 @@ async function verifyAnonKeyRegistration(projectRoot) {
|
|
|
20152
20152
|
}
|
|
20153
20153
|
const baseConfig = resolveConfig({ apiKey: devKey });
|
|
20154
20154
|
const config2 = { ...baseConfig, apiKey: devKey };
|
|
20155
|
-
const sdkVersion = true ? "1.
|
|
20155
|
+
const sdkVersion = true ? "1.18.0" : "0.0.0-dev";
|
|
20156
20156
|
const result = await verifyInitReachable(config2, anonKey, sdkVersion);
|
|
20157
20157
|
if (result.ok) {
|
|
20158
20158
|
return { outcome: "verified" };
|