@mapick/cost-firewall 0.2.5 → 0.2.6
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 +22 -0
- package/dist/index.js +1 -1
- package/openclaw.plugin.json +1 -1
- package/package.json +14 -2
package/README.md
CHANGED
|
@@ -144,6 +144,28 @@ pnpm build
|
|
|
144
144
|
pnpm test
|
|
145
145
|
```
|
|
146
146
|
|
|
147
|
+
## Roadmap
|
|
148
|
+
|
|
149
|
+
- **@mapick/cli** — standalone CLI for skill recommendation, search, scan (works with any Agent via SKILL.md files)
|
|
150
|
+
- **@mapick/firewall** — standalone daemon proxy: intercept ALL model calls from ANY AI CLI
|
|
151
|
+
|
|
152
|
+
```bash
|
|
153
|
+
# Claude Code
|
|
154
|
+
export ANTHROPIC_BASE_URL=http://localhost:9199
|
|
155
|
+
|
|
156
|
+
# Aider / Codex
|
|
157
|
+
export OPENAI_BASE_URL=http://localhost:9199/v1
|
|
158
|
+
|
|
159
|
+
# Cursor
|
|
160
|
+
# Settings → Model → Override Base URL → http://localhost:9199
|
|
161
|
+
```
|
|
162
|
+
|
|
163
|
+
No plugin needed. Just set a base URL.
|
|
164
|
+
|
|
147
165
|
## License
|
|
148
166
|
|
|
149
167
|
MIT
|
|
168
|
+
|
|
169
|
+
---
|
|
170
|
+
|
|
171
|
+
*Made by [Mapick AI](https://github.com/mapick-ai) — because AI agents shouldn't break the bank.*
|
package/dist/index.js
CHANGED
|
@@ -13,7 +13,7 @@ import { detectConfigRisks } from "./config-warn.js";
|
|
|
13
13
|
export default {
|
|
14
14
|
id: PLUGIN_ID,
|
|
15
15
|
name: PLUGIN_NAME,
|
|
16
|
-
version: "0.2.
|
|
16
|
+
version: "0.2.6",
|
|
17
17
|
register(api) {
|
|
18
18
|
const config = api.config?.plugins?.entries?.[PLUGIN_ID]?.config ?? {};
|
|
19
19
|
const state = new FirewallState(config);
|
package/openclaw.plugin.json
CHANGED
package/package.json
CHANGED
|
@@ -1,8 +1,20 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mapick/cost-firewall",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.6",
|
|
4
4
|
"license": "MIT",
|
|
5
|
-
"description": "
|
|
5
|
+
"description": "AI Call Firewall — real-time monitoring, budget control, automatic circuit breaker for LLM agents (Claude Code, Aider, OpenClaw, Cursor)",
|
|
6
|
+
"keywords": [
|
|
7
|
+
"cost-firewall",
|
|
8
|
+
"ai-gateway",
|
|
9
|
+
"llm-proxy",
|
|
10
|
+
"circuit-breaker",
|
|
11
|
+
"token-budget",
|
|
12
|
+
"claude-code",
|
|
13
|
+
"aider",
|
|
14
|
+
"openclaw-plugin",
|
|
15
|
+
"cost-control",
|
|
16
|
+
"rate-limiting"
|
|
17
|
+
],
|
|
6
18
|
"type": "module",
|
|
7
19
|
"main": "./dist/index.js",
|
|
8
20
|
"types": "./dist/index.d.ts",
|