@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.
Files changed (35) hide show
  1. package/dist/{capture-error-B0txjNut.d.cts → capture-error-B8qiXFeC.d.cts} +2 -2
  2. package/dist/{capture-error-Dc01rYNR.d.ts → capture-error-BTI6mCH2.d.ts} +2 -2
  3. package/dist/{chunk-VEQX2YSQ.js → chunk-SONZOTBP.js} +9 -1
  4. package/dist/{chunk-VEQX2YSQ.js.map → chunk-SONZOTBP.js.map} +1 -1
  5. package/dist/{chunk-F2IPBTDJ.js → chunk-Z2DSC3YI.js} +20 -8
  6. package/dist/{chunk-F2IPBTDJ.js.map → chunk-Z2DSC3YI.js.map} +1 -1
  7. package/dist/cli/init.cjs +4 -4
  8. package/dist/cli/init.cjs.map +1 -1
  9. package/dist/cli/init.js +3 -3
  10. package/dist/cli/mcp-add.cjs +1 -1
  11. package/dist/cli/mcp-add.js +1 -1
  12. package/dist/cli/upgrade-instructions.cjs +1 -1
  13. package/dist/cli/upgrade-instructions.js +1 -1
  14. package/dist/{correlation-id-CelUvw7j.d.cts → correlation-id-CClOq8Wn.d.cts} +1 -1
  15. package/dist/{correlation-id-B9YYmoZw.d.ts → correlation-id-Ct86Ug4s.d.ts} +1 -1
  16. package/dist/edge-entry.d.cts +2 -2
  17. package/dist/edge-entry.d.ts +2 -2
  18. package/dist/{import-graph-Dka_Fm7j.d.ts → import-graph-DZjTJdJ5.d.ts} +1 -1
  19. package/dist/{import-graph-DBLGNjcI.d.cts → import-graph-DyQfZU2f.d.cts} +1 -1
  20. package/dist/index.cjs +136 -6
  21. package/dist/index.cjs.map +1 -1
  22. package/dist/{index.d-3-cJoY8y.d.cts → index.d-DhatN7mq.d.cts} +1 -1
  23. package/dist/{index.d-3-cJoY8y.d.ts → index.d-DhatN7mq.d.ts} +1 -1
  24. package/dist/index.d.cts +170 -5
  25. package/dist/index.d.ts +170 -5
  26. package/dist/index.js +123 -3
  27. package/dist/index.js.map +1 -1
  28. package/dist/node-entry.cjs +5 -5
  29. package/dist/node-entry.cjs.map +1 -1
  30. package/dist/node-entry.d.cts +4 -4
  31. package/dist/node-entry.d.ts +4 -4
  32. package/dist/node-entry.js +2 -2
  33. package/dist/node-subpath.d.cts +2 -2
  34. package/dist/node-subpath.d.ts +2 -2
  35. 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.17.0" : "0.0.0-dev";
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.17.0" : "0.0.0-dev";
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.17.0" : "0.0.0-dev";
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.17.0" : "0.0.0-dev";
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" };