anyclaude-sdk 0.7.0 → 0.7.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.
@@ -1,5 +1,5 @@
1
1
  /** Bump on release so adoption can be bucketed by version. */
2
- export declare const TELEMETRY_SDK_VERSION = "0.7.0";
2
+ export declare const TELEMETRY_SDK_VERSION = "0.7.1";
3
3
  export interface TelemetryOptions {
4
4
  /** Force-disable for this call (highest precedence besides the global opt-outs). */
5
5
  disabled?: boolean;
package/dist/telemetry.js CHANGED
@@ -16,9 +16,11 @@
16
16
  // See TELEMETRY.md for the full disclosure.
17
17
  import { uuid } from './util/ids.js';
18
18
  /** Bump on release so adoption can be bucketed by version. */
19
- export const TELEMETRY_SDK_VERSION = '0.7.0';
20
- // Set this (or `ANYCLAUDE_TELEMETRY_URL`) to your collector. Empty ⇒ no-op.
21
- const DEFAULT_TELEMETRY_URL = '';
19
+ export const TELEMETRY_SDK_VERSION = '0.7.1';
20
+ // Aggregate-only collector (Puter Worker; see examples/telemetry-collector).
21
+ // Override with `ANYCLAUDE_TELEMETRY_URL` / `telemetry: { url }`, or disable
22
+ // entirely with the opt-outs above. Set to '' to make telemetry a no-op.
23
+ const DEFAULT_TELEMETRY_URL = 'https://anyclaude-telemetry.puter.work';
22
24
  // Only these prop keys are ever transmitted, and only with safe value types.
23
25
  // Booleans pass through; these specific string keys pass through as-is (they are
24
26
  // coarse buckets we set ourselves — never free-form / user data).
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "anyclaude-sdk",
3
- "version": "0.7.0",
3
+ "version": "0.7.1",
4
4
  "description": "Standalone, browser-compatible SDK providing Claude Code agent capabilities (tools, tool loop, multi-turn, MCP, sub-agents, sessions) against any OpenAI/Anthropic-compatible LLM endpoint. Runs in the browser (WebContainer), Node, and Bun — no backend required.",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",