retrace-sdk 0.16.2 → 0.16.3

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/config.js CHANGED
@@ -49,7 +49,7 @@ function assertSecureBaseUrl(baseUrl) {
49
49
  }
50
50
  export function configure(opts) {
51
51
  if (opts.apiKey && (!opts.apiKey.startsWith("rt_") || opts.apiKey.startsWith("rt_live_") || opts.apiKey.startsWith("rt_test_"))) {
52
- throw new Error("Invalid Retrace API key. Keys must start with 'rt_'. Get yours at https://retraceai.tech/settings");
52
+ throw new Error("Invalid Retrace API key. Keys must start with 'rt_'. Get yours at https://retraceai.tech/workspace/api-keys");
53
53
  }
54
54
  Object.assign(config, opts);
55
55
  if (opts.baseUrl && !opts.wsUrl) {
@@ -68,7 +68,7 @@ export function configure(opts) {
68
68
  }
69
69
  export function requireApiKey() {
70
70
  if (!config.apiKey) {
71
- throw new Error("Retrace API key required. Call configure({ apiKey: 'rt_...' }) or set RETRACE_API_KEY. Get yours at https://retraceai.tech/settings");
71
+ throw new Error("Retrace API key required. Call configure({ apiKey: 'rt_...' }) or set RETRACE_API_KEY. Get yours at https://retraceai.tech/workspace/api-keys");
72
72
  }
73
73
  // Validate the transport is encrypted before the key is ever used on the wire (covers env-only
74
74
  // config that never called configure()).
package/dist/telemetry.js CHANGED
@@ -14,7 +14,7 @@ import { getConfig } from "./config.js";
14
14
  const ANON_ID = Math.random().toString(16).slice(2, 18);
15
15
  const DISABLED = new Set(["0", "false", "no", "off"]);
16
16
  // Keep in sync with package.json version.
17
- const SDK_VERSION = "0.16.2";
17
+ const SDK_VERSION = "0.16.3";
18
18
  function enabled() {
19
19
  return !DISABLED.has((process.env.RETRACE_TELEMETRY ?? "1").trim().toLowerCase());
20
20
  }
package/dist/transport.js CHANGED
@@ -2,7 +2,7 @@ import { getConfig } from "./config.js";
2
2
  import { classifyServerSignal } from "./errors.js";
3
3
  // Client identifier sent on every request so the backend can attribute SDK usage/version.
4
4
  // Keep in sync with package.json on release.
5
- const CLIENT_ID = "typescript-sdk/0.16.2";
5
+ const CLIENT_ID = "typescript-sdk/0.16.3";
6
6
  // ─── Runtime-agnostic WebSocket ──────────────────────────────────────────────
7
7
  // Prefer the global Web `WebSocket` (Node 20+, Bun, Deno, browsers, and every edge runtime); fall
8
8
  // back to the OPTIONAL `ws` package only on older Node that lacks a global. Both expose the standard
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "retrace-sdk",
3
- "version": "0.16.2",
3
+ "version": "0.16.3",
4
4
  "description": "The execution replay engine for AI agents. Record, replay, fork, and share agent executions.",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",