clawtamer 0.4.0 → 0.5.0
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 +17 -18
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -46,21 +46,6 @@ Per request:
|
|
|
46
46
|
3. Route target is selected
|
|
47
47
|
4. Savings metadata is returned with the response
|
|
48
48
|
|
|
49
|
-
## Response Headers
|
|
50
|
-
|
|
51
|
-
Clawtamer adds:
|
|
52
|
-
|
|
53
|
-
- `x-clawtamer-baseline-model`
|
|
54
|
-
- `x-clawtamer-routed-model`
|
|
55
|
-
- `x-clawtamer-original-input-tokens`
|
|
56
|
-
- `x-clawtamer-compressed-input-tokens`
|
|
57
|
-
- `x-clawtamer-compression-ratio`
|
|
58
|
-
- `x-clawtamer-baseline-cost-usd`
|
|
59
|
-
- `x-clawtamer-actual-cost-usd`
|
|
60
|
-
- `x-clawtamer-saved-usd`
|
|
61
|
-
- `x-clawtamer-route-reason`
|
|
62
|
-
- `x-clawtamer-request-id`
|
|
63
|
-
|
|
64
49
|
## CLI
|
|
65
50
|
|
|
66
51
|
```bash
|
|
@@ -76,15 +61,29 @@ npx clawtamer restore # Remove patch and restore prior defaults
|
|
|
76
61
|
npx clawtamer remove # Alias for restore
|
|
77
62
|
```
|
|
78
63
|
|
|
79
|
-
##
|
|
64
|
+
## Remove
|
|
65
|
+
|
|
66
|
+
To undo Clawtamer setup and restore previous defaults:
|
|
67
|
+
|
|
68
|
+
```bash
|
|
69
|
+
npx clawtamer remove
|
|
70
|
+
```
|
|
71
|
+
|
|
72
|
+
Alias:
|
|
73
|
+
|
|
74
|
+
```bash
|
|
75
|
+
npx clawtamer restore
|
|
76
|
+
```
|
|
77
|
+
|
|
78
|
+
## Safety
|
|
80
79
|
|
|
81
80
|
`init` is intentionally defensive:
|
|
82
81
|
|
|
83
82
|
- Runs proxy preflight before switching default model.
|
|
84
83
|
- If preflight fails, leaves install in staged mode (provider added, primary unchanged).
|
|
85
84
|
- Runs post-install verification and auto-reverts activation if health fails.
|
|
86
|
-
|
|
87
|
-
|
|
85
|
+
|
|
86
|
+
Your Openclaw configs stay safe!
|
|
88
87
|
|
|
89
88
|
## Common Flags
|
|
90
89
|
|