agentkit-cleanweb 1.0.0 → 1.0.2
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 +24 -5
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -4,11 +4,25 @@
|
|
|
4
4
|
> Pure B2A (Business-to-Agent) 87% Token Noise Reduction, Research PDF Parser, YouTube Gemini Flash Intelligence, and Base Mainnet EIP-712 Ground Truth Attestations.
|
|
5
5
|
|
|
6
6
|
[](https://www.npmjs.com/package/agentkit-cleanweb)
|
|
7
|
+
[](https://pypi.org/project/x402-cleanweb-agent/)
|
|
8
|
+
[](https://www.npmjs.com/package/cleanweb-eliza-plugin)
|
|
7
9
|
[](https://opensource.org/licenses/MIT)
|
|
8
10
|
[](https://basescan.org)
|
|
9
11
|
|
|
10
12
|
---
|
|
11
13
|
|
|
14
|
+
## 🔗 Official CleanWeb Multi-Registry Suite (npm ↔ PyPI Companion Packages)
|
|
15
|
+
|
|
16
|
+
For full-stack multi-agent deployments, pair `agentkit-cleanweb` with the official **Python Core / MCP Server (`PyPI`)** and **ElizaOS v2 Plugin (`npm`)**:
|
|
17
|
+
|
|
18
|
+
| Registry | Package | Role in Your Agent Stack | Install Command |
|
|
19
|
+
| :---: | :--- | :--- | :--- |
|
|
20
|
+
| **npm** | [**`agentkit-cleanweb`**](https://www.npmjs.com/package/agentkit-cleanweb) | **Coinbase AgentKit Action Provider** (Base Mainnet EIP-712 & x402 Vaults) | `npm install agentkit-cleanweb @coinbase/agentkit` |
|
|
21
|
+
| **PyPI** | [**`x402-cleanweb-agent`**](https://pypi.org/project/x402-cleanweb-agent/) | **Python Core Engine, Claude/Cursor MCP Server & Dual-Core Eliza Brain** | `pip install x402-cleanweb-agent` *(or `uvx x402-cleanweb-agent`)* |
|
|
22
|
+
| **npm** | [**`cleanweb-eliza-plugin`**](https://www.npmjs.com/package/cleanweb-eliza-plugin) | **ElizaOS v2 Plugin** (Solana x402 Micropayments & A.GRID Priority 0 Dispatch) | `npm install cleanweb-eliza-plugin` |
|
|
23
|
+
|
|
24
|
+
---
|
|
25
|
+
|
|
12
26
|
## 📌 Why CleanWeb for Coinbase AgentKit?
|
|
13
27
|
|
|
14
28
|
When autonomous AI agents crawl or scrape the live web, raw HTML boilerplate (cookie banners, JavaScript scripts, navigation clutter, ads) consumes **70% to 90% of the LLM context window**.
|
|
@@ -31,7 +45,11 @@ On GPT-4o or Claude 3.5 Sonnet, scraping a single 80KB page costs ~$0.05 in inpu
|
|
|
31
45
|
### 1. Installation
|
|
32
46
|
|
|
33
47
|
```bash
|
|
48
|
+
# TypeScript / Coinbase AgentKit
|
|
34
49
|
npm install agentkit-cleanweb @coinbase/agentkit
|
|
50
|
+
|
|
51
|
+
# Companion Python Core & MCP Server (Optional: for local self-hosting & Claude/Cursor MCP)
|
|
52
|
+
pip install x402-cleanweb-agent
|
|
35
53
|
```
|
|
36
54
|
|
|
37
55
|
### 2. Register Action Provider with AgentKit
|
|
@@ -105,12 +123,13 @@ console.log(`EIP-712 Signature: ${proof.attestation?.signature}`);
|
|
|
105
123
|
|
|
106
124
|
---
|
|
107
125
|
|
|
108
|
-
## 🔒 Security &
|
|
126
|
+
## 🔒 Dual-Core Security Gate & ElizaOS Brain Integration
|
|
109
127
|
|
|
110
|
-
CleanWeb is
|
|
111
|
-
1. **Indirect Prompt Injection
|
|
112
|
-
2. **AST Malicious Code Execution**
|
|
113
|
-
3. **
|
|
128
|
+
CleanWeb is powered by the **Dual-Core Cognitive Fortress** ([`x402-cleanweb-agent` on PyPI](https://pypi.org/project/x402-cleanweb-agent/)), ensuring that all scraped content passes through a 5-stage zero-trust pipeline:
|
|
129
|
+
1. **Indirect Prompt Injection & Steganography Neutralization**
|
|
130
|
+
2. **AST Malicious Code Execution Firewall**
|
|
131
|
+
3. **ElizaOS Brain Causality & Brier Score Ground-Truth Verification**
|
|
132
|
+
4. **Double Cryptographic Seal (Keccak-256 Merkle Root + EIP-712 Signature)**
|
|
114
133
|
|
|
115
134
|
---
|
|
116
135
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "agentkit-cleanweb",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.2",
|
|
4
4
|
"description": "Official Coinbase AgentKit Action Provider for CleanWeb 87% Token Reduction, Research PDF Parser, YouTube Gemini Intelligence, and Base Mainnet EIP-712 Oracle Grounding",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/index.js",
|