wokhei-0.3.1 is not a library.
Wokhei
Agent-first CLI for creating and publishing Decentralized List events on Nostr using the DCoSL protocol.
Every command returns structured JSON with next_actions — no plain text ever.
Protocol
- Protocol: NIP-01 + Decentralized Lists standards and how Wokhei implements them.
Install
Quick Start
# Generate a keypair
# Import a key from stdin (both forms are supported)
|
|
# Create a list header
# Add an item
# Query
# Utility
# Delete (NIP-09 request)
Relay Configuration
Default relay: ws://localhost:7777
Override with --relay=<url> flag or WOKHEI_RELAY env var:
JSON Response Envelope
Event Kinds
| Kind | Type | Usage |
|---|---|---|
| 9998 | Regular | One-off list header |
| 9999 | Regular | One-off list item |
| 39998 | Addressable | Persistent list header (keyed by d-tag) |
| 39999 | Addressable | Persistent list item (keyed by d-tag) |
Agent Integration
See SKILL.md for the full agent skill guide — error codes, tag schema, workflow patterns, and relay URLs.
License
MIT