{"_id":"@dantber/openclaw-agent-did","_rev":"8-1b2ee31f971a7ec23c4fec59d5885100","name":"@dantber/openclaw-agent-did","dist-tags":{"latest":"0.2.1"},"versions":{"0.1.0":{"name":"@dantber/openclaw-agent-did","version":"0.1.0","keywords":["openclaw","openclaw-plugin","did","verifiable-credentials","decentralized-identity","ai-agent","authentication","w3c"],"author":{"name":"Bernardo Dantas"},"license":"MIT","_id":"@dantber/openclaw-agent-did@0.1.0","maintainers":[{"name":"dantber","email":"bernardoniteroi@gmail.com"}],"homepage":"https://agent-did.xyz","bugs":{"url":"https://github.com/dantber/openclaw-agent-did/issues"},"dist":{"shasum":"1692497727575af85346bba9a30ef14199d38746","tarball":"https://registry.npmjs.org/@dantber/openclaw-agent-did/-/openclaw-agent-did-0.1.0.tgz","fileCount":21,"integrity":"sha512-nKuEnfM2CxxbEAvxGn3pyR1nYBqcWsQJewK50fogVvi3+EJHa3C8RzlRrhmihoHj1OqgGI2Sni9gUuGw509+UQ==","signatures":[{"sig":"MEUCIQCUwzJ7tFS5v+btuQ5LuSYBQBAJR+coPXLdQOLAgEIoMwIgFsUgHsVk5tf3ytzwhYDuS30RTXlOxPL4AhOiUtxRK8U=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":81305},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=20.0.0"},"gitHead":"059fdd9723cb782f15234956f94856a047a6af97","scripts":{"dev":"tsc --watch","test":"node test-plugin.js","build":"tsc","prepublishOnly":"npm run build && npm test"},"_npmUser":{"name":"dantber","email":"bernardoniteroi@gmail.com"},"openclaw":{"extensions":["dist/index.js"]},"repository":{"url":"git+https://github.com/dantber/openclaw-agent-did.git","type":"git"},"_npmVersion":"11.6.2","description":"OpenClaw plugin for W3C-compliant DID and Verifiable Credential management for AI agents","directories":{},"_nodeVersion":"24.13.0","dependencies":{"agent-did":"^0.1.0","commander":"^12.1.0"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.7.3","@types/node":"^22.10.5"},"_npmOperationalInternal":{"tmp":"tmp/openclaw-agent-did_0.1.0_1770241935772_0.06302464217302117","host":"s3://npm-registry-packages-npm-production"}},"0.1.1":{"name":"@dantber/openclaw-agent-did","version":"0.1.1","keywords":["openclaw","openclaw-plugin","did","verifiable-credentials","decentralized-identity","ai-agent","authentication","w3c"],"author":{"name":"Bernardo Dantas"},"license":"MIT","_id":"@dantber/openclaw-agent-did@0.1.1","maintainers":[{"name":"dantber","email":"bernardoniteroi@gmail.com"}],"homepage":"https://agent-did.xyz","bugs":{"url":"https://github.com/dantber/openclaw-agent-did/issues"},"dist":{"shasum":"494ab41547e0fa0b0ee12a1ebcc0dfb428e94d61","tarball":"https://registry.npmjs.org/@dantber/openclaw-agent-did/-/openclaw-agent-did-0.1.1.tgz","fileCount":30,"integrity":"sha512-oyexEIY7b52T2PJCcnbJAmIdxkExjl28fs3E3HLD181EXv8eTieDSMjNMaK6aGQTOOZ1wNcb71uTa7EFOmsRxA==","signatures":[{"sig":"MEUCIDrphv0VDMF3Bm0e5hwbrCqrdaIivN19KYhiUdZaNEwCAiEAqLk7mtrLa/dwnA2PhPRaKhDIL9BvCgdDvvM3h4Fp/lA=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":119855},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=20.0.0"},"gitHead":"afa450fb0078ce0706873520580b359580cd0817","scripts":{"dev":"tsc --watch","test":"node test-plugin.js","build":"tsc","prepublishOnly":"npm run build && npm test"},"_npmUser":{"name":"dantber","email":"bernardoniteroi@gmail.com"},"openclaw":{"extensions":["src/index.ts"]},"repository":{"url":"git+https://github.com/dantber/openclaw-agent-did.git","type":"git"},"_npmVersion":"11.6.2","description":"OpenClaw plugin for W3C-compliant DID and Verifiable Credential management for AI agents","directories":{},"_nodeVersion":"24.13.0","dependencies":{"agent-did":"^0.1.0","commander":"^12.1.0"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.7.3","@types/node":"^22.10.5"},"_npmOperationalInternal":{"tmp":"tmp/openclaw-agent-did_0.1.1_1770243894474_0.9102484185156552","host":"s3://npm-registry-packages-npm-production"}},"0.1.2":{"name":"@dantber/openclaw-agent-did","version":"0.1.2","keywords":["openclaw","openclaw-plugin","did","verifiable-credentials","decentralized-identity","ai-agent","authentication","w3c"],"author":{"name":"Bernardo Dantas"},"license":"MIT","_id":"@dantber/openclaw-agent-did@0.1.2","maintainers":[{"name":"dantber","email":"bernardoniteroi@gmail.com"}],"homepage":"https://agent-did.xyz","bugs":{"url":"https://github.com/dantber/openclaw-agent-did/issues"},"dist":{"shasum":"0c3b78feb88d096f93daa647b88a70289fe1d2ba","tarball":"https://registry.npmjs.org/@dantber/openclaw-agent-did/-/openclaw-agent-did-0.1.2.tgz","fileCount":30,"integrity":"sha512-oJnjfMM4UXXvNaczOg0aLPbQjcH32/nAO4UaoqalCf7equ3QYzFCuEAB3HYsiF6wKH4ja2n2VWNgJX+HMMYL6w==","signatures":[{"sig":"MEYCIQCKq/0ngbCf8agOGwdgY4nBYRY1VJl1HTUyuwUq8w7GTAIhAPWKXextNo3t6YHZz73maCONVxVWszvQnz3um7kkWRvn","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":119855},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=20.0.0"},"gitHead":"8b0d8dab4a97c1a517868c1846ce2e4e5f60439a","scripts":{"dev":"tsc --watch","test":"node test-plugin.js","build":"tsc","prepublishOnly":"npm run build && npm test"},"_npmUser":{"name":"dantber","email":"bernardoniteroi@gmail.com"},"openclaw":{"extensions":["src/index.ts"]},"repository":{"url":"git+https://github.com/dantber/openclaw-agent-did.git","type":"git"},"_npmVersion":"11.6.2","description":"OpenClaw plugin for W3C-compliant DID and Verifiable Credential management for AI agents","directories":{},"_nodeVersion":"24.13.0","dependencies":{"agent-did":"^0.1.1","commander":"^12.1.0"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.7.3","@types/node":"^22.10.5"},"_npmOperationalInternal":{"tmp":"tmp/openclaw-agent-did_0.1.2_1770244586723_0.8943151291606417","host":"s3://npm-registry-packages-npm-production"}},"0.1.3":{"name":"@dantber/openclaw-agent-did","version":"0.1.3","keywords":["openclaw","openclaw-plugin","did","verifiable-credentials","decentralized-identity","ai-agent","authentication","w3c"],"author":{"name":"Bernardo Dantas"},"license":"MIT","_id":"@dantber/openclaw-agent-did@0.1.3","maintainers":[{"name":"dantber","email":"bernardoniteroi@gmail.com"}],"homepage":"https://agent-did.xyz","bugs":{"url":"https://github.com/dantber/openclaw-agent-did/issues"},"dist":{"shasum":"85e63dee22cf3074633bdae270b9e3c45ade43dc","tarball":"https://registry.npmjs.org/@dantber/openclaw-agent-did/-/openclaw-agent-did-0.1.3.tgz","fileCount":30,"integrity":"sha512-xTnNXDbP6EVgYwLoZ25NAA3rkaL/lt7NauSPemSdo5cZYGp7Sq/DvQcM4NkRdLvsecgQJu7ghy3ci+eeN6wLMg==","signatures":[{"sig":"MEUCIQCMPo1IRAIhsJBcFCxfbZwGc+S8Y8J0b3QDQ2UKOTCoEgIgEzGP838jqpc3P8rKE7235hGCXnl3vrfaOP7XusWn7pI=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":120490},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=20.0.0"},"gitHead":"2b1ace830b75314456aab289f404cdcf5f0bf247","scripts":{"dev":"tsc --watch","test":"node test-plugin.js","build":"tsc","prepublishOnly":"npm run build && npm test"},"_npmUser":{"name":"dantber","email":"bernardoniteroi@gmail.com"},"openclaw":{"extensions":["src/index.ts"]},"repository":{"url":"git+https://github.com/dantber/openclaw-agent-did.git","type":"git"},"_npmVersion":"11.6.2","description":"OpenClaw plugin for W3C-compliant DID and Verifiable Credential management for AI agents","directories":{},"_nodeVersion":"24.13.0","dependencies":{"agent-did":"^0.1.1","commander":"^12.1.0"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.7.3","@types/node":"^22.10.5"},"_npmOperationalInternal":{"tmp":"tmp/openclaw-agent-did_0.1.3_1770244769579_0.15374197139812384","host":"s3://npm-registry-packages-npm-production"}},"0.1.4":{"name":"@dantber/openclaw-agent-did","version":"0.1.4","keywords":["openclaw","openclaw-plugin","did","verifiable-credentials","decentralized-identity","ai-agent","authentication","w3c"],"author":{"name":"Bernardo Dantas"},"license":"MIT","_id":"@dantber/openclaw-agent-did@0.1.4","maintainers":[{"name":"dantber","email":"bernardoniteroi@gmail.com"}],"homepage":"https://agent-did.xyz","bugs":{"url":"https://github.com/dantber/openclaw-agent-did/issues"},"dist":{"shasum":"1b0a898dc7b57c94cc8eab6ef40ee7a1dc8ab03b","tarball":"https://registry.npmjs.org/@dantber/openclaw-agent-did/-/openclaw-agent-did-0.1.4.tgz","fileCount":30,"integrity":"sha512-yfgwCq3cF2pCFM4lkFsdewVBbdgCMQHsKbTCA204UWQXqbyjye2gNU9x1lQtEqnQ+Jn436OtRCNqn+SFgYVCVg==","signatures":[{"sig":"MEUCIGe3gn1lVAwWzjTsfM4wv+wuOn0P1/QERn7Gqg+u7kQ1AiEA+i+NVz/TP4aEUC/urWjDk1MpPtR57iiv+Py7vYISqg8=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":120210},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=20.0.0"},"gitHead":"8f9eaf72b1107212af0089d3daa9748fd4c69394","scripts":{"dev":"tsc --watch","test":"node test-plugin.js","build":"tsc","prepublishOnly":"npm run build && npm test"},"_npmUser":{"name":"dantber","email":"bernardoniteroi@gmail.com"},"openclaw":{"extensions":["src/index.ts"]},"repository":{"url":"git+https://github.com/dantber/openclaw-agent-did.git","type":"git"},"_npmVersion":"11.6.2","description":"OpenClaw plugin for W3C-compliant DID and Verifiable Credential management for AI agents","directories":{},"_nodeVersion":"24.13.0","dependencies":{"agent-did":"^0.1.1","commander":"^12.1.0"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.7.3","@types/node":"^22.10.5"},"_npmOperationalInternal":{"tmp":"tmp/openclaw-agent-did_0.1.4_1770245162781_0.6216947344974515","host":"s3://npm-registry-packages-npm-production"}},"0.1.5":{"name":"@dantber/openclaw-agent-did","version":"0.1.5","keywords":["openclaw","openclaw-plugin","did","verifiable-credentials","decentralized-identity","ai-agent","authentication","w3c"],"author":{"name":"Bernardo Dantas"},"license":"MIT","_id":"@dantber/openclaw-agent-did@0.1.5","maintainers":[{"name":"dantber","email":"bernardoniteroi@gmail.com"}],"homepage":"https://agent-did.xyz","bugs":{"url":"https://github.com/dantber/openclaw-agent-did/issues"},"dist":{"shasum":"7104fe5ce914e03396f28328826e0609f1977553","tarball":"https://registry.npmjs.org/@dantber/openclaw-agent-did/-/openclaw-agent-did-0.1.5.tgz","fileCount":30,"integrity":"sha512-yEHZtK2hN0OpnyBbAWRRgJBKJLEJH1czRooWOcDC12DD1zP1i9eBs6qCbdoF6cP0Ih42wWWbmNbrNIq5g6Goxw==","signatures":[{"sig":"MEYCIQCOF/Y2a1FCOgebe/+u6lJvxuAWxP52ie2LU3XiWgFeBQIhAKlOiIQ8GKanvQAjkBsVEsQQmQR+fl/1WqJL8hkk8hXw","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":119646},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=20.0.0"},"gitHead":"7b171ce1527b1f930125f9c0fb80a2ce8b250ba9","scripts":{"dev":"tsc --watch","test":"node test-plugin.js","build":"tsc","prepublishOnly":"npm run build && npm test"},"_npmUser":{"name":"dantber","email":"bernardoniteroi@gmail.com"},"openclaw":{"extensions":["src/index.ts"]},"repository":{"url":"git+https://github.com/dantber/openclaw-agent-did.git","type":"git"},"_npmVersion":"11.6.2","description":"OpenClaw plugin for W3C-compliant DID and Verifiable Credential management for AI agents","directories":{},"_nodeVersion":"24.13.0","dependencies":{"agent-did":"^0.1.1","commander":"^12.1.0"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.7.3","@types/node":"^22.10.5"},"_npmOperationalInternal":{"tmp":"tmp/openclaw-agent-did_0.1.5_1770293931531_0.6119103753628217","host":"s3://npm-registry-packages-npm-production"}},"0.2.0":{"name":"@dantber/openclaw-agent-did","version":"0.2.0","keywords":["openclaw","openclaw-plugin","did","verifiable-credentials","decentralized-identity","ai-agent","authentication","w3c"],"author":{"name":"Bernardo Dantas"},"license":"MIT","_id":"@dantber/openclaw-agent-did@0.2.0","maintainers":[{"name":"dantber","email":"bernardoniteroi@gmail.com"}],"homepage":"https://agent-did.xyz","bugs":{"url":"https://github.com/dantber/openclaw-agent-did/issues"},"dist":{"shasum":"7d0347ae148beb6ce422e59ae5eb7c41835e0697","tarball":"https://registry.npmjs.org/@dantber/openclaw-agent-did/-/openclaw-agent-did-0.2.0.tgz","fileCount":30,"integrity":"sha512-RyDj45BpRLoRZSH4VZGEigtj2zFe6GxpCkqC+H/iMOvXn1jjVxBJpI8d5NwPhUia0vWm15uGu8LngjR8h27CJw==","signatures":[{"sig":"MEYCIQCxeFfMYstn2NCF2WPLt+YWNODTKxlZ1mudBNAowkYLfgIhAOn2QirV33tMnJuqrHc7ILL049SLu7y3I/LpOvU0VHB4","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":119889},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=20.0.0"},"gitHead":"54eebfa1b9acd44b1b1d6d329a59961beddeb373","scripts":{"dev":"tsc --watch","test":"node test-plugin.js","build":"tsc","prepublishOnly":"npm run build && npm test"},"_npmUser":{"name":"dantber","email":"bernardoniteroi@gmail.com"},"openclaw":{"extensions":["src/index.ts"]},"repository":{"url":"git+https://github.com/dantber/openclaw-agent-did.git","type":"git"},"_npmVersion":"11.6.2","description":"OpenClaw plugin for W3C-compliant DID and Verifiable Credential management for AI agents","directories":{},"_nodeVersion":"24.13.0","dependencies":{"agent-did":"^0.2.0","commander":"^12.1.0"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.7.3","@types/node":"^22.10.5"},"_npmOperationalInternal":{"tmp":"tmp/openclaw-agent-did_0.2.0_1770388901748_0.9273538461034729","host":"s3://npm-registry-packages-npm-production"}},"0.2.1":{"name":"@dantber/openclaw-agent-did","version":"0.2.1","description":"OpenClaw plugin for W3C-compliant DID and Verifiable Credential management for AI agents","main":"dist/index.js","types":"dist/index.d.ts","author":{"name":"Bernardo Dantas"},"license":"MIT","keywords":["openclaw","openclaw-plugin","did","verifiable-credentials","decentralized-identity","ai-agent","authentication","w3c"],"repository":{"type":"git","url":"git+https://github.com/dantber/openclaw-agent-did.git"},"homepage":"https://agent-did.xyz","bugs":{"url":"https://github.com/dantber/openclaw-agent-did/issues"},"openclaw":{"extensions":["src/index.ts"]},"scripts":{"build":"tsc","dev":"tsc --watch","test":"node test-plugin.js","prepublishOnly":"npm run build && npm test"},"dependencies":{"agent-did":"^0.2.0","commander":"^12.1.0"},"devDependencies":{"@types/node":"^22.10.5","typescript":"^5.7.3"},"engines":{"node":">=20.0.0"},"gitHead":"2ea78e4e6c6e36811e54966662179fca96ceb746","_id":"@dantber/openclaw-agent-did@0.2.1","_nodeVersion":"24.13.0","_npmVersion":"11.6.2","dist":{"integrity":"sha512-14DEe24Zc6GWqQNJsOlovt/Rf7zc7wjC9Gc9cTbiXaEHyU5ypkB0yr2aJNN8uOwEEgAK2sf9s1KtOxf5cVXygg==","shasum":"ba00336b4cab3b22bdb75c93f9ffa84da58f2f5b","tarball":"https://registry.npmjs.org/@dantber/openclaw-agent-did/-/openclaw-agent-did-0.2.1.tgz","fileCount":30,"unpackedSize":119889,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQCYh8B6k/zgRDKb5ujPb1v/JQ63uJAd8P6Fg0HxYxyDzAIhAMp0+bFRstFUz5H3AA3qTmxy6NVF9ABuv56bqgcIAQNf"}]},"_npmUser":{"name":"dantber","email":"bernardoniteroi@gmail.com"},"directories":{},"maintainers":[{"name":"dantber","email":"bernardoniteroi@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/openclaw-agent-did_0.2.1_1770397402245_0.908556980590105"},"_hasShrinkwrap":false}},"time":{"created":"2026-02-04T21:52:15.705Z","modified":"2026-02-06T17:03:22.593Z","0.1.0":"2026-02-04T21:52:15.925Z","0.1.1":"2026-02-04T22:24:54.643Z","0.1.2":"2026-02-04T22:36:26.865Z","0.1.3":"2026-02-04T22:39:29.739Z","0.1.4":"2026-02-04T22:46:02.939Z","0.1.5":"2026-02-05T12:18:51.678Z","0.2.0":"2026-02-06T14:41:41.895Z","0.2.1":"2026-02-06T17:03:22.471Z"},"bugs":{"url":"https://github.com/dantber/openclaw-agent-did/issues"},"author":{"name":"Bernardo Dantas"},"license":"MIT","homepage":"https://agent-did.xyz","keywords":["openclaw","openclaw-plugin","did","verifiable-credentials","decentralized-identity","ai-agent","authentication","w3c"],"repository":{"type":"git","url":"git+https://github.com/dantber/openclaw-agent-did.git"},"description":"OpenClaw plugin for W3C-compliant DID and Verifiable Credential management for AI agents","maintainers":[{"name":"dantber","email":"bernardoniteroi@gmail.com"}],"readme":"[![npm version](https://img.shields.io/npm/v/@dantber/openclaw-agent-did)](https://www.npmjs.com/package/@dantber/openclaw-agent-did)\n[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)\n\n# agent-did OpenClaw Plugin\n\nOpenClaw plugin for W3C-compliant DID and Verifiable Credential management for AI agents.\n\n## Installation\n\n```bash\nopenclaw plugins install dantber/openclaw-agent-did\n```\n\n## Usage\n\nSet your passphrase as an environment variable:\n\n```bash\nexport AGENT_DID_PASSPHRASE=\"your-secure-passphrase\"\n```\n\nOr use `--no-encryption` flag (not recommended for production).\n\n### Create Identities\n\n```bash\n# Create owner identity\nopenclaw agent-did create owner --name \"Alice\"\n\n# Create agent identity\nopenclaw agent-did create agent --name \"Assistant\" --owner <owner-did>\n```\n\n### List and Inspect Identities\n\n```bash\n# List all identities\nopenclaw agent-did list\n\n# Inspect specific identity\nopenclaw agent-did inspect --did <did>\n\n# Delete identity\nopenclaw agent-did delete --did <did>\n```\n\n### Issue Verifiable Credentials\n\n```bash\n# Issue ownership credential\nopenclaw agent-did vc issue ownership \\\n  --issuer <owner-did> \\\n  --subject <agent-did> \\\n  --out ownership.jwt\n\n# Issue capability credential\nopenclaw agent-did vc issue capability \\\n  --issuer <owner-did> \\\n  --subject <agent-did> \\\n  --scopes read,write,execute \\\n  --audience https://api.example.com \\\n  --expires 2026-12-31T23:59:59Z \\\n  --out capability.jwt\n```\n\n### Verify Credentials\n\n```bash\n# Verify credential\nopenclaw agent-did vc verify --file ownership.jwt\n\n# Verify with expected issuer/subject\nopenclaw agent-did vc verify \\\n  --file ownership.jwt \\\n  --issuer <expected-issuer-did> \\\n  --subject <expected-subject-did>\n```\n\n### Manage Credentials\n\n```bash\n# List stored credentials\nopenclaw agent-did vc list\n\n# Inspect credential without verifying\nopenclaw agent-did vc inspect --file ownership.jwt\n\n# Delete stored credential\nopenclaw agent-did vc delete --id <credential-id> --yes\n```\n\n### Authentication\n\n```bash\n# Sign authentication challenge\nopenclaw agent-did auth sign \\\n  --did <agent-did> \\\n  --challenge <nonce> \\\n  --audience https://api.example.com \\\n  --domain example.com \\\n  --expires-in 300\n\n# Verify authentication signature\nopenclaw agent-did auth verify \\\n  --did <agent-did> \\\n  --payload <base64url-payload> \\\n  --signature <base64url-signature> \\\n  --nonce <expected-nonce>\n```\n\n## Command Reference\n\n### Create Commands\n\n- `openclaw agent-did create owner --name <name>` - Create owner identity\n  - Options: `-s/--store <path>`, `--no-encryption`, `--json`\n- `openclaw agent-did create agent --name <name> --owner <did>` - Create agent identity\n  - Options: `-s/--store <path>`, `--no-encryption`, `--json`\n\n### Identity Commands\n\n- `openclaw agent-did list` - List all identities\n  - Options: `-s/--store <path>`, `--no-encryption`, `--json`\n- `openclaw agent-did inspect --did <did>` - Inspect specific identity\n  - Options: `-s/--store <path>`, `--no-encryption`, `--json`\n- `openclaw agent-did delete --did <did>` - Delete identity\n  - Options: `-s/--store <path>`, `--no-encryption`, `--json`\n\n### VC Commands\n\n- `openclaw agent-did vc issue ownership --issuer <did> --subject <did>` - Issue ownership credential\n  - Options: `--out <file>`, `-s/--store <path>`, `--no-encryption`, `--json`\n- `openclaw agent-did vc issue capability --issuer <did> --subject <did> --scopes <scopes>` - Issue capability credential\n  - Options: `--audience <string>`, `--expires <date>`, `--out <file>`, `-s/--store <path>`, `--no-encryption`, `--json`\n- `openclaw agent-did vc verify --file <file>` - Verify credential\n  - Options: `--issuer <did>`, `--subject <did>`, `--json`\n- `openclaw agent-did vc list` - List stored credentials in keystore\n  - Options: `-s/--store <path>`, `--no-encryption`, `--json`\n- `openclaw agent-did vc inspect --file <file>` - Decode credential without verifying\n  - Options: `--json`\n  - Returns: Decoded header and payload (no signature verification)\n- `openclaw agent-did vc delete --id <id> --yes` - Delete stored credential\n  - Required: `--yes` flag to confirm deletion\n  - Options: `-s/--store <path>`, `--no-encryption`, `--json`\n\n### Auth Commands\n\n- `openclaw agent-did auth sign --did <did> --challenge <nonce>` - Sign authentication challenge\n  - Options: `--audience <string>`, `--domain <string>`, `--expires-in <seconds>`, `-s/--store <path>`, `--no-encryption`, `--json`\n  - Returns: Signed payload and signature (base64url encoded)\n- `openclaw agent-did auth verify --did <did> --payload <b64> --signature <b64>` - Verify authentication signature\n  - Options: `--nonce <expected>`, `--audience <expected>`, `--domain <expected>`, `--json`\n  - Returns: Verification result with payload details\n\n## Environment Variables\n\n- `AGENT_DID_HOME` - Custom keystore path (default: `~/.agent-did`)\n- `AGENT_DID_PASSPHRASE` - Passphrase for keystore encryption\n\n## Architecture\n\nThis plugin uses **library imports** from the agent-did package instead of subprocess calls:\n\n- **Better Performance** - No process spawning overhead\n- **Type Safety** - Full TypeScript type checking\n- **Error Handling** - Structured exceptions vs parsing stderr\n- **Shared State** - Singleton keystore manager prevents re-initialization\n\n### Key Components\n\n- **KeystoreManager** - Singleton pattern for keystore instances\n- **Commands** - Commander.js command handlers that import agent-did functions\n- **Utils** - Output formatting and error normalization\n\n## Development\n\n```bash\n# Watch mode (auto-rebuild on changes)\nnpm run dev\n\n# Build\nnpm run build\n\n# After changes, reload plugin in OpenClaw\nopenclaw plugin reload agent-did\n```\n\n## Compatibility\n\nThe plugin shares keystores with the standalone agent-did CLI. You can use both interchangeably:\n\n```bash\n# Create with plugin\nopenclaw agent-did create owner --name \"Alice\"\n\n# List with standalone CLI\nagent-did list\n\n# Both work with the same keystore\n```\n\n## License\n\nMIT\n","readmeFilename":"README.md"}