@getmarrow/sdk 3.7.0 → 3.7.1
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 +28 -2
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -42,9 +42,35 @@ Four measured deltas: `attempts_per_success`, `time_to_success_seconds`, `drift_
|
|
|
42
42
|
|
|
43
43
|
---
|
|
44
44
|
|
|
45
|
-
## What's New in v3.
|
|
45
|
+
## What's New in v3.7.0
|
|
46
46
|
|
|
47
|
-
###
|
|
47
|
+
### Multi-API-Key Management
|
|
48
|
+
|
|
49
|
+
Manage API keys for your entire fleet of agents directly from your code:
|
|
50
|
+
|
|
51
|
+
- `createApiKey()` — Create named, scoped API keys (`live`/`test`)
|
|
52
|
+
- `listApiKeys()` — List all keys with masked display
|
|
53
|
+
- `getApiKey()` — Get key details and usage stats
|
|
54
|
+
- `revokeApiKey()` — Permanently revoke a key
|
|
55
|
+
- `rotateApiKey()` — Atomically rotate (revoke + create new)
|
|
56
|
+
- `getKeyAudit()` — Paginated audit log for key operations
|
|
57
|
+
|
|
58
|
+
```typescript
|
|
59
|
+
const key = await marrow.createApiKey({
|
|
60
|
+
name: 'Production Agent',
|
|
61
|
+
key_type: 'live',
|
|
62
|
+
scopes: ['decisions:write', 'memories:read']
|
|
63
|
+
});
|
|
64
|
+
// { id, key: 'mrw_live_...', name, scopes, ... }
|
|
65
|
+
// ⚠️ Full key shown once — store it securely
|
|
66
|
+
|
|
67
|
+
const keys = await marrow.listApiKeys();
|
|
68
|
+
// [{ name, key: 'mrw_live_abc1...d4ef', key_type, status, ... }]
|
|
69
|
+
```
|
|
70
|
+
|
|
71
|
+
---
|
|
72
|
+
|
|
73
|
+
### Previous: v3.6.0 — Agent-Narrated Marrow Contribution
|
|
48
74
|
|
|
49
75
|
Marrow now tells the agent exactly what it contributed to each decision, so the agent can surface that contribution to the user in plain English — no dashboard required.
|
|
50
76
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@getmarrow/sdk",
|
|
3
|
-
"version": "3.7.
|
|
3
|
+
"version": "3.7.1",
|
|
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",
|
|
@@ -44,4 +44,4 @@
|
|
|
44
44
|
"@types/node": "^25.5.2",
|
|
45
45
|
"typescript": "^5.3.3"
|
|
46
46
|
}
|
|
47
|
-
}
|
|
47
|
+
}
|