@raindrop-ai/eve 0.0.14 → 0.0.15

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/README.md CHANGED
@@ -61,6 +61,7 @@ defineRaindropInstrumentation({
61
61
  registerOTel, // from @vercel/otel
62
62
  writeKey: process.env.RAINDROP_WRITE_KEY,
63
63
  endpoint: "https://api.raindrop.ai/v1/", // default
64
+ projectId: "support-prod", // route to a named project; omit for default Production
64
65
  localWorkshopUrl: undefined, // env + auto-detect by default
65
66
  serviceName: "support-agent", // defaults to the Eve agent name
66
67
  staticMetadata: { team: "support", tier: "prod" }, // static, every event
@@ -80,6 +81,23 @@ defineRaindropInstrumentation({
80
81
  });
81
82
  ```
82
83
 
84
+ ### Projects
85
+
86
+ If your org has multiple projects, route telemetry to a specific one by passing
87
+ its slug as `projectId` (or set `RAINDROP_PROJECT_ID`):
88
+
89
+ ```ts
90
+ defineRaindropInstrumentation({
91
+ registerOTel,
92
+ writeKey: process.env.RAINDROP_WRITE_KEY,
93
+ projectId: "support-prod",
94
+ });
95
+ ```
96
+
97
+ This sets the `X-Raindrop-Project-Id` header on every trace export and AI SDK
98
+ event. Omit it (or pass `"default"`) to use your org's default **Production**
99
+ project — the existing behavior. Single-project orgs need nothing new.
100
+
83
101
  ### Payload size limits
84
102
 
85
103
  Exported string span attributes (full prompts/completions recorded by the AI
package/dist/index.js CHANGED
@@ -693,7 +693,7 @@ var RaindropEveSpanExporter = class {
693
693
  // package.json
694
694
  var package_default = {
695
695
  name: "@raindrop-ai/eve",
696
- version: "0.0.14"};
696
+ version: "0.0.15"};
697
697
 
698
698
  // src/internal/version.ts
699
699
  var libraryName = package_default.name;