@glasstrace/sdk 0.17.0 → 0.17.1

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
@@ -18095,7 +18095,7 @@ async function verifyAnonKeyRegistration(projectRoot) {
18095
18095
  }
18096
18096
  const baseConfig = resolveConfig({ apiKey: devKey });
18097
18097
  const config2 = { ...baseConfig, apiKey: devKey };
18098
- const sdkVersion = true ? "0.17.0" : "0.0.0-dev";
18098
+ const sdkVersion = true ? "0.17.1" : "0.0.0-dev";
18099
18099
  const result = await verifyInitReachable(config2, anonKey, sdkVersion);
18100
18100
  if (result.ok) {
18101
18101
  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.0" : "0.0.0-dev";
512
+ const sdkVersion = true ? "0.17.1" : "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
@@ -21681,7 +21681,7 @@ function registerGlasstrace(options) {
21681
21681
  setCoreState(CoreState.REGISTERING);
21682
21682
  startRuntimeStateWriter({
21683
21683
  projectRoot: process.cwd(),
21684
- sdkVersion: "0.17.0"
21684
+ sdkVersion: "0.17.1"
21685
21685
  });
21686
21686
  const config2 = resolveConfig(options);
21687
21687
  if (config2.verbose) {
@@ -21846,8 +21846,8 @@ async function backgroundInit(config2, anonKeyForInit, generation) {
21846
21846
  if (config2.verbose) {
21847
21847
  console.info("[glasstrace] Background init firing.");
21848
21848
  }
21849
- const healthReport = collectHealthReport("0.17.0");
21850
- const initResult = await performInit(config2, anonKeyForInit, "0.17.0", healthReport);
21849
+ const healthReport = collectHealthReport("0.17.1");
21850
+ const initResult = await performInit(config2, anonKeyForInit, "0.17.1", healthReport);
21851
21851
  if (generation !== registrationGeneration) return;
21852
21852
  const currentState = getCoreState();
21853
21853
  if (currentState === CoreState.SHUTTING_DOWN || currentState === CoreState.SHUTDOWN) {
@@ -21870,7 +21870,7 @@ async function backgroundInit(config2, anonKeyForInit, generation) {
21870
21870
  }
21871
21871
  maybeInstallConsoleCapture();
21872
21872
  if (didLastInitSucceed()) {
21873
- startHeartbeat(config2, anonKeyForInit, "0.17.0", generation, (newApiKey, accountId) => {
21873
+ startHeartbeat(config2, anonKeyForInit, "0.17.1", generation, (newApiKey, accountId) => {
21874
21874
  setAuthState(AuthState.CLAIMING);
21875
21875
  emitLifecycleEvent("auth:claim_started", { accountId });
21876
21876
  setResolvedApiKey(newApiKey);
package/dist/index.js CHANGED
@@ -4204,7 +4204,7 @@ function registerGlasstrace(options) {
4204
4204
  setCoreState(CoreState.REGISTERING);
4205
4205
  startRuntimeStateWriter({
4206
4206
  projectRoot: process.cwd(),
4207
- sdkVersion: "0.17.0"
4207
+ sdkVersion: "0.17.1"
4208
4208
  });
4209
4209
  const config = resolveConfig(options);
4210
4210
  if (config.verbose) {
@@ -4369,8 +4369,8 @@ async function backgroundInit(config, anonKeyForInit, generation) {
4369
4369
  if (config.verbose) {
4370
4370
  console.info("[glasstrace] Background init firing.");
4371
4371
  }
4372
- const healthReport = collectHealthReport("0.17.0");
4373
- const initResult = await performInit(config, anonKeyForInit, "0.17.0", healthReport);
4372
+ const healthReport = collectHealthReport("0.17.1");
4373
+ const initResult = await performInit(config, anonKeyForInit, "0.17.1", healthReport);
4374
4374
  if (generation !== registrationGeneration) return;
4375
4375
  const currentState = getCoreState();
4376
4376
  if (currentState === CoreState.SHUTTING_DOWN || currentState === CoreState.SHUTDOWN) {
@@ -4393,7 +4393,7 @@ async function backgroundInit(config, anonKeyForInit, generation) {
4393
4393
  }
4394
4394
  maybeInstallConsoleCapture();
4395
4395
  if (didLastInitSucceed()) {
4396
- startHeartbeat(config, anonKeyForInit, "0.17.0", generation, (newApiKey, accountId) => {
4396
+ startHeartbeat(config, anonKeyForInit, "0.17.1", generation, (newApiKey, accountId) => {
4397
4397
  setAuthState(AuthState.CLAIMING);
4398
4398
  emitLifecycleEvent("auth:claim_started", { accountId });
4399
4399
  setResolvedApiKey(newApiKey);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@glasstrace/sdk",
3
- "version": "0.17.0",
3
+ "version": "0.17.1",
4
4
  "description": "Glasstrace server-side debugging SDK for AI coding agents",
5
5
  "type": "module",
6
6
  "sideEffects": false,
@@ -16,7 +16,8 @@
16
16
  "import": "./dist/adapters/drizzle.js",
17
17
  "require": "./dist/adapters/drizzle.cjs",
18
18
  "default": "./dist/adapters/drizzle.js"
19
- }
19
+ },
20
+ "./package.json": "./package.json"
20
21
  },
21
22
  "bin": {
22
23
  "glasstrace": "dist/cli/init.js"