publishRepoState
Publish repository state to Nostr (kind 30618). HEAD follows branch when passed, otherwise main or master, not the alphabetically first branch. The private key is loaded from .nostr-keys.json when omitted.
Instructions
Publish repository state to Nostr (kind 30618). HEAD follows branch when passed, otherwise main or master, not the alphabetically first branch. The private key is loaded from .nostr-keys.json when omitted.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| refs | Yes | ||
| branch | No | Default branch for the HEAD tag, for example main | |
| relays | No | ||
| repoId | Yes | ||
| privkey | No | Private key (auto-loaded from .nostr-keys.json) |