@newtype-ai/nit 0.4.9 → 0.4.11

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 CHANGED
@@ -114,6 +114,9 @@ Pure Node.js builtins. No bloat.
114
114
  | `nit branch [name]` | List branches or create a new one |
115
115
  | `nit checkout <branch>` | Switch branch (overwrites agent-card.json) |
116
116
  | `nit push [--all]` | Push branch(es) to remote |
117
+ | `nit pull [--all]` | Pull branch(es) from remote |
118
+ | `nit reset [target]` | Restore agent-card.json from HEAD or target |
119
+ | `nit show [target]` | Show commit metadata and card content |
117
120
  | `nit sign "msg"` | Sign a message with your Ed25519 key |
118
121
  | `nit sign --login <domain>` | Auto-switch to domain branch + generate login payload |
119
122
  | `nit remote` | Show remote URL and credential status |
@@ -123,6 +126,8 @@ Pure Node.js builtins. No bloat.
123
126
  | `nit broadcast --chain <c> <tx>` | Broadcast signed transaction to configured RPC endpoint |
124
127
  | `nit rpc` | Show configured RPC endpoints |
125
128
  | `nit rpc set-url <chain> <url>` | Set RPC endpoint for a chain |
129
+ | `nit auth set <domain> --provider <p> --account <a>` | Configure OAuth auth for a domain branch |
130
+ | `nit auth show [domain]` | Show auth config for branch(es) |
126
131
 
127
132
  ## How It Works
128
133
 
@@ -186,7 +191,7 @@ your-project/
186
191
  ```typescript
187
192
  import {
188
193
  init, commit, checkout, branch, push, status, sign, loginPayload,
189
- loadRawKeyPair, getWalletAddresses, signTx, broadcast, rpcSetUrl,
194
+ loadRawKeyPair, getWalletAddresses, signTx, broadcast, rpcSetUrl, authSet, authShow,
190
195
  } from '@newtype-ai/nit';
191
196
 
192
197
  await init();