retrace-sdk 0.1.3 → 0.1.4

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 (2) hide show
  1. package/README.md +5 -5
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -5,13 +5,13 @@ Record, replay, fork & share AI agent executions — TypeScript SDK.
5
5
  ## Installation
6
6
 
7
7
  ```bash
8
- npm install retrace
8
+ npm install retrace-sdk
9
9
  ```
10
10
 
11
11
  ## Quick Start
12
12
 
13
13
  ```typescript
14
- import { configure, record, trace, TraceStatus } from "retrace";
14
+ import { configure, record, trace, TraceStatus } from "retrace-sdk";
15
15
 
16
16
  configure({ apiKey: "rt_live_...", projectId: "your-project-id" });
17
17
 
@@ -31,7 +31,7 @@ const result = myAgent("What is the meaning of life?");
31
31
  ## Configuration
32
32
 
33
33
  ```typescript
34
- import { configure } from "retrace";
34
+ import { configure } from "retrace-sdk";
35
35
 
36
36
  configure({
37
37
  apiKey: "rt_live_...", // or RETRACE_API_KEY env var
@@ -45,7 +45,7 @@ Set `RETRACE_ENABLED=false` to disable recording without changing code.
45
45
  ## OpenAI Auto-Capture
46
46
 
47
47
  ```typescript
48
- import { record, TraceStatus } from "retrace";
48
+ import { record, TraceStatus } from "retrace-sdk";
49
49
  import OpenAI from "openai";
50
50
 
51
51
  const openai = new OpenAI();
@@ -64,7 +64,7 @@ recorder.end(response.choices[0].message.content);
64
64
  ## Manual Span Creation
65
65
 
66
66
  ```typescript
67
- import { record, SpanType } from "retrace";
67
+ import { record, SpanType } from "retrace-sdk";
68
68
 
69
69
  const recorder = record({ name: "custom-agent" });
70
70
  recorder.start();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "retrace-sdk",
3
- "version": "0.1.3",
3
+ "version": "0.1.4",
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",