@getmarrow/sdk 3.0.2 → 3.0.4
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 +5 -5
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -32,13 +32,13 @@ When you call `orient({autoWarn: true})`, Marrow scans your recent decisions and
|
|
|
32
32
|
|
|
33
33
|
```typescript
|
|
34
34
|
const result = await marrow.orient({
|
|
35
|
-
task: "Fix
|
|
35
|
+
task: "Fix authentication error",
|
|
36
36
|
autoWarn: true
|
|
37
37
|
});
|
|
38
38
|
|
|
39
39
|
// Returns warnings like:
|
|
40
|
-
// "⚠️ HIGH: This task type failed 4x with
|
|
41
|
-
// Try
|
|
40
|
+
// "⚠️ HIGH: This task type failed 4x with approach='retry-without-fix'.
|
|
41
|
+
// Try approach='apply-patch-first' (89% success rate)"
|
|
42
42
|
```
|
|
43
43
|
|
|
44
44
|
### Loop Detection on Think
|
|
@@ -52,8 +52,8 @@ const decision = await marrow.think({
|
|
|
52
52
|
|
|
53
53
|
// Returns loop warnings:
|
|
54
54
|
// "🚨 LOOP DETECTED: You're retrying a failed approach.
|
|
55
|
-
// Previous failure: '
|
|
56
|
-
// Suggested: Use
|
|
55
|
+
// Previous failure: 'retry-without-fix' approach not supported.
|
|
56
|
+
// Suggested: Use 'apply-patch-first' approach instead."
|
|
57
57
|
```
|
|
58
58
|
|
|
59
59
|
### Rate Limiting
|