@glasstrace/sdk 0.17.3 → 0.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/cli/init.cjs CHANGED
@@ -18096,7 +18096,7 @@ async function verifyAnonKeyRegistration(projectRoot) {
18096
18096
  }
18097
18097
  const baseConfig = resolveConfig({ apiKey: devKey });
18098
18098
  const config2 = { ...baseConfig, apiKey: devKey };
18099
- const sdkVersion = true ? "0.17.3" : "0.0.0-dev";
18099
+ const sdkVersion = true ? "0.18.0" : "0.0.0-dev";
18100
18100
  const result = await verifyInitReachable(config2, anonKey, sdkVersion);
18101
18101
  if (result.ok) {
18102
18102
  return { outcome: "verified" };
package/dist/cli/init.js CHANGED
@@ -509,7 +509,7 @@ async function verifyAnonKeyRegistration(projectRoot) {
509
509
  }
510
510
  const baseConfig = resolveConfig({ apiKey: devKey });
511
511
  const config = { ...baseConfig, apiKey: devKey };
512
- const sdkVersion = true ? "0.17.3" : "0.0.0-dev";
512
+ const sdkVersion = true ? "0.18.0" : "0.0.0-dev";
513
513
  const result = await verifyInitReachable(config, anonKey, sdkVersion);
514
514
  if (result.ok) {
515
515
  return { outcome: "verified" };
package/dist/index.cjs CHANGED
@@ -21721,7 +21721,7 @@ function registerGlasstrace(options) {
21721
21721
  setCoreState(CoreState.REGISTERING);
21722
21722
  startRuntimeStateWriter({
21723
21723
  projectRoot: process.cwd(),
21724
- sdkVersion: "0.17.3"
21724
+ sdkVersion: "0.18.0"
21725
21725
  });
21726
21726
  const config2 = resolveConfig(options);
21727
21727
  if (config2.verbose) {
@@ -21887,8 +21887,8 @@ async function backgroundInit(config2, anonKeyForInit, generation) {
21887
21887
  if (config2.verbose) {
21888
21888
  console.info("[glasstrace] Background init firing.");
21889
21889
  }
21890
- const healthReport = collectHealthReport("0.17.3");
21891
- const initResult = await performInit(config2, anonKeyForInit, "0.17.3", healthReport);
21890
+ const healthReport = collectHealthReport("0.18.0");
21891
+ const initResult = await performInit(config2, anonKeyForInit, "0.18.0", healthReport);
21892
21892
  if (generation !== registrationGeneration) return;
21893
21893
  const currentState = getCoreState();
21894
21894
  if (currentState === CoreState.SHUTTING_DOWN || currentState === CoreState.SHUTDOWN) {
@@ -21911,7 +21911,7 @@ async function backgroundInit(config2, anonKeyForInit, generation) {
21911
21911
  }
21912
21912
  maybeInstallConsoleCapture();
21913
21913
  if (didLastInitSucceed()) {
21914
- startHeartbeat(config2, anonKeyForInit, "0.17.3", generation, (newApiKey, accountId) => {
21914
+ startHeartbeat(config2, anonKeyForInit, "0.18.0", generation, (newApiKey, accountId) => {
21915
21915
  setAuthState(AuthState.CLAIMING);
21916
21916
  emitLifecycleEvent("auth:claim_started", { accountId });
21917
21917
  setResolvedApiKey(newApiKey);
package/dist/index.js CHANGED
@@ -4236,7 +4236,7 @@ function registerGlasstrace(options) {
4236
4236
  setCoreState(CoreState.REGISTERING);
4237
4237
  startRuntimeStateWriter({
4238
4238
  projectRoot: process.cwd(),
4239
- sdkVersion: "0.17.3"
4239
+ sdkVersion: "0.18.0"
4240
4240
  });
4241
4241
  const config = resolveConfig(options);
4242
4242
  if (config.verbose) {
@@ -4402,8 +4402,8 @@ async function backgroundInit(config, anonKeyForInit, generation) {
4402
4402
  if (config.verbose) {
4403
4403
  console.info("[glasstrace] Background init firing.");
4404
4404
  }
4405
- const healthReport = collectHealthReport("0.17.3");
4406
- const initResult = await performInit(config, anonKeyForInit, "0.17.3", healthReport);
4405
+ const healthReport = collectHealthReport("0.18.0");
4406
+ const initResult = await performInit(config, anonKeyForInit, "0.18.0", healthReport);
4407
4407
  if (generation !== registrationGeneration) return;
4408
4408
  const currentState = getCoreState();
4409
4409
  if (currentState === CoreState.SHUTTING_DOWN || currentState === CoreState.SHUTDOWN) {
@@ -4426,7 +4426,7 @@ async function backgroundInit(config, anonKeyForInit, generation) {
4426
4426
  }
4427
4427
  maybeInstallConsoleCapture();
4428
4428
  if (didLastInitSucceed()) {
4429
- startHeartbeat(config, anonKeyForInit, "0.17.3", generation, (newApiKey, accountId) => {
4429
+ startHeartbeat(config, anonKeyForInit, "0.18.0", generation, (newApiKey, accountId) => {
4430
4430
  setAuthState(AuthState.CLAIMING);
4431
4431
  emitLifecycleEvent("auth:claim_started", { accountId });
4432
4432
  setResolvedApiKey(newApiKey);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@glasstrace/sdk",
3
- "version": "0.17.3",
3
+ "version": "0.18.0",
4
4
  "description": "Glasstrace server-side debugging SDK for AI coding agents",
5
5
  "type": "module",
6
6
  "sideEffects": false,