@getmarrow/sdk 3.7.7 → 3.7.8

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 +18 -0
  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.
@@ -482,3 +498,5 @@ MIT
482
498
  ## Related Packages
483
499
 
484
500
  - **[@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.
501
+
502
+ **📖 Full API reference with all endpoints:** [https://getmarrow.ai/docs/#api-reference](https://getmarrow.ai/docs/#api-reference)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@getmarrow/sdk",
3
- "version": "3.7.7",
3
+ "version": "3.7.8",
4
4
  "description": "Your go-to memory provider for all agents, for any AI model.",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",