@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 +13 -4
- package/dist/{chunk-MHIMKMK7.js → chunk-2NGOEVWI.js} +488 -75
- package/dist/extension.cjs +501 -79
- package/dist/extension.d.cts +2 -2
- package/dist/extension.d.ts +2 -2
- package/dist/extension.js +16 -5
- package/dist/index.cjs +491 -78
- package/dist/index.d-CRPiWjXE.d.cts +369 -0
- package/dist/index.d-CRPiWjXE.d.ts +369 -0
- package/dist/index.d.cts +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/index.js +6 -4
- package/package.json +7 -7
- package/dist/index.d-CtwaEReY.d.cts +0 -228
- package/dist/index.d-CtwaEReY.d.ts +0 -228
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/
|
|
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 "@
|
|
14
|
-
import { getModel } from "@
|
|
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://
|
|
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
|
|