{"_id":"@digital-mineral/agent-escrow","name":"@digital-mineral/agent-escrow","dist-tags":{"latest":"0.1.0"},"versions":{"0.1.0":{"name":"@digital-mineral/agent-escrow","version":"0.1.0","description":"Deterministic runtime authorization and governance layer for autonomous AI agent actions.","main":"./dist/index.js","types":"./dist/index.d.ts","scripts":{"build":"tsc","test":"vitest run"},"devDependencies":{"@types/node":"^25.9.5","tsx":"^4.23.12","typescript":"^5.9.3","vitest":"^4.1.11"},"dependencies":{"@hono/node-server":"^2.1.1","commander":"^15.0.0","dotenv":"^17.4.2","fast-json-stable-stringify":"^2.1.0","hono":"^4.13.5","zod":"^4.4.3"},"bin":{"agent-escrow":"dist/cli/index.js"},"author":{"name":"Digital Mineral Solutions LLC"},"gitHead":"0538b6415563c39763f0068c0914509585f9dc54","_id":"@digital-mineral/agent-escrow@0.1.0","_nodeVersion":"26.4.0","_npmVersion":"11.19.0","dist":{"integrity":"sha512-FlCKai19fNpoqW+hS1Oayc0e9W7TQb7zGVb7bpQWWjhnfWHcSBVrdhDuo+xjIeRRykO9D870Gb4gvBbVeFLUUg==","shasum":"1c2a9bb4dee41a0c8acb2806da9c9c89a0377e6a","tarball":"https://registry.npmjs.org/@digital-mineral/agent-escrow/-/agent-escrow-0.1.0.tgz","fileCount":47,"unpackedSize":101852,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQCvKGeAXiOF8ex+Hor4BjSGBucpk8A4O2LvEpIK45KhLQIhAPM+dy9sZx4i185HQgD3CKTuG+AUoXHLc12kdzZh8ZDr"}]},"_npmUser":{"name":"digitalmineralsolutions","email":"outsidegems@gmail.com"},"directories":{},"maintainers":[{"name":"digitalmineralsolutions","email":"outsidegems@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/agent-escrow_0.1.0_1787782821319_0.07899993427118002"},"_hasShrinkwrap":false}},"time":{"created":"2026-08-26T22:20:21.137Z","0.1.0":"2026-08-26T22:20:21.478Z","modified":"2026-08-26T22:20:21.764Z"},"maintainers":[{"name":"digitalmineralsolutions","email":"outsidegems@gmail.com"}],"description":"Deterministic runtime authorization and governance layer for autonomous AI agent actions.","author":{"name":"Digital Mineral Solutions LLC"},"readme":"# @digital-mineral/agent-escrow 🛑\n\n**Deterministic runtime authorization and governance layer for autonomous AI agent actions.**\n\nWhen building with autonomous coding agents, developers face a massive trust gap. Nobody wants an AI agent to hallucinate a transfer or deploy a broken smart contract using a funded dev wallet. \n\nThe **Agent Escrow** acts as a cryptographic circuit breaker. It intercepts high-stakes AI commands, stages them natively in the terminal or via a REST API, and demands a 1-bit human-in-the-loop override before issuing a cryptographically signed execution capability.\n\n### 📦 Installation\nnpm install @digital-mineral/agent-escrow\n\n### 🚀 Core Features\n* **Cryptographic Capability Tokens:** Agents do not execute based on database states. They must possess an HMAC-SHA256 signed, short-lived, single-use capability token.\n* **Tamper-Evident Audit Chaining:** All state transitions and human approvals are permanently chained in a local SQLite WAL database.\n* **Red-Team Hardened:** Built-in protection against Replay Attacks, Confused Deputy (Capability Theft), and Payload Tampering.\n* **Zero Cloud Dependencies:** Runs entirely on edge-native hardware (ARM64, Android, Raspberry Pi) using Node's native `node:sqlite` engine.\n\n### 💰 The Protocol Fee (Sovereign Yield)\nTo maintain and scale this decentralized infrastructure, Outside Gem operates on a standard protocol fee model. When external agents utilize this escrow middleware to execute on-chain transactions, the system enforces an automated fee split:\n* **95%** is routed directly to the host developer.\n* **5%** is routed to the Digital Mineral Treasury (`smurrison.eth.base`) as a maintenance tax.\n\n**Built with vision by [Outside Gem](https://github.com/outsidegem).**\n","readmeFilename":"README.md","_rev":"1-d4eccb109cea83dcc6c01721673144a3"}