@raindrop-ai/pi-agent 0.0.3 → 0.0.5

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
@@ -1,6 +1,6 @@
1
1
  # @raindrop-ai/pi-agent
2
2
 
3
- Automatic observability for [Pi Agent](https://github.com/badlogic/pi-mono) with [Raindrop](https://raindrop.ai). Captures agent runs, LLM generations, tool calls, and token usage.
3
+ Automatic observability for [Pi Agent](https://github.com/earendil-works/pi) with [Raindrop](https://raindrop.ai). Captures agent runs, LLM generations, tool calls, and token usage.
4
4
 
5
5
  Two entry points:
6
6
 
@@ -10,8 +10,8 @@ Two entry points:
10
10
  ## Quick Start — Programmatic
11
11
 
12
12
  ```typescript
13
- import { Agent } from "@mariozechner/pi-agent-core";
14
- import { getModel } from "@mariozechner/pi-ai";
13
+ import { Agent } from "@earendil-works/pi-agent-core";
14
+ import { getModel } from "@earendil-works/pi-ai";
15
15
  import { createRaindropPiAgent } from "@raindrop-ai/pi-agent";
16
16
 
17
17
  const raindrop = createRaindropPiAgent({
@@ -39,9 +39,18 @@ pi install npm:@raindrop-ai/pi-agent
39
39
 
40
40
  Set `RAINDROP_WRITE_KEY` in your environment. Traces appear automatically.
41
41
 
42
+ ## Payload size limits
43
+
44
+ Event input/output are capped at **1,000,000 characters per field** (span
45
+ attributes at 32 KB) and truncated with a `...[truncated by raindrop]` marker.
46
+ The cap is enforced before (or during) serialization, so oversized payloads
47
+ cost the cap — not the payload — on the host's event loop, and large events
48
+ land truncated instead of being rejected at the ingest size limit. Hook error
49
+ logs are rate-limited to one line per failure family per 30s.
50
+
42
51
  ## Documentation
43
52
 
44
- See the full [Pi Agent docs](https://docs.raindrop.ai/sdk/pi-agent) for configuration, per-subscribe overrides, and extension settings.
53
+ See the full [Pi Agent docs](https://www.raindrop.ai/docs/integrations/pi-agent/) for configuration, per-subscribe overrides, and extension settings.
45
54
 
46
55
  ## License
47
56