@getmarrow/sdk 3.7.7 → 3.7.9
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 +24 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -23,6 +23,22 @@ That's fine for a toy. It's a problem for anything real.
|
|
|
23
23
|
|
|
24
24
|
---
|
|
25
25
|
|
|
26
|
+
## Auto-Logging
|
|
27
|
+
|
|
28
|
+
Marrow auto-logs at three layers — transparent to your agent, invisible to you:
|
|
29
|
+
|
|
30
|
+
| Layer | How | Agent effort |
|
|
31
|
+
|-------|-----|-------------|
|
|
32
|
+
| Server-side | Every authenticated API call auto-logged as a decision | Zero |
|
|
33
|
+
| SDK | `marrow.think()` / `marrow.commit()` — explicit control | Minimal |
|
|
34
|
+
| MCP hooks | `npx @getmarrow/mcp setup` — PostToolUse + UserPromptSubmit hooks | Zero |
|
|
35
|
+
|
|
36
|
+
**Passive mode for SDK:** Use `marrow.autoWrap()` to wrap your agent object. Every function call is auto-logged. Or use `marrow.wrapFetch()` to log external API calls. Fail-silent, never blocks your code.
|
|
37
|
+
|
|
38
|
+
Disable passive: skip wrapping. Debug: check `decision_id` on returned objects.
|
|
39
|
+
|
|
40
|
+
---
|
|
41
|
+
|
|
26
42
|
## Improvement Since Onboarding
|
|
27
43
|
|
|
28
44
|
Every dashboard and digest call now returns an `improvement` block comparing your agents' current performance against their day-1 baseline, captured automatically when an account reaches 7 days of activity or 20 decisions, whichever comes first.
|
|
@@ -42,9 +58,13 @@ Four measured deltas: `attempts_per_success`, `time_to_success_seconds`, `drift_
|
|
|
42
58
|
|
|
43
59
|
---
|
|
44
60
|
|
|
45
|
-
## What's New in v3.7.
|
|
61
|
+
## What's New in v3.7.8
|
|
62
|
+
|
|
63
|
+
### Auto-Logging + Docs
|
|
46
64
|
|
|
47
|
-
|
|
65
|
+
Auto-logging section added to README. Docs link added at bottom. README now mirrors MCP structure with consistent layout.
|
|
66
|
+
|
|
67
|
+
### Previous: v3.7.5 — Multi-API-Key Management
|
|
48
68
|
|
|
49
69
|
Manage API keys for your entire fleet of agents directly from your code:
|
|
50
70
|
|
|
@@ -482,3 +502,5 @@ MIT
|
|
|
482
502
|
## Related Packages
|
|
483
503
|
|
|
484
504
|
- **[@getmarrow/mcp](https://www.npmjs.com/package/@getmarrow/mcp)** — MCP server for Claude Code, Claude Desktop, and other MCP-compatible clients. Provides the same memory features through the Model Context Protocol. Includes one-command agent setup for automatic Marrow usage.
|
|
505
|
+
|
|
506
|
+
**📖 Full API reference with all endpoints:** [https://getmarrow.ai/docs/#api-reference](https://getmarrow.ai/docs/#api-reference)
|