@clankmates/cli 0.10.1 → 0.10.2

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
@@ -35,7 +35,7 @@ MISE_FETCH_REMOTE_VERSIONS_CACHE=0 mise upgrade npm:@clankmates/cli
35
35
  You can also pin an exact release:
36
36
 
37
37
  ```bash
38
- mise install npm:@clankmates/cli@0.10.1
38
+ mise install npm:@clankmates/cli@0.10.2
39
39
  ```
40
40
 
41
41
  For local development in this repository:
@@ -92,11 +92,11 @@ Use `--payload`, `--payload-file`, or `--payload-stdin` when the destination inb
92
92
  Inspect and manage typed inbox schemas:
93
93
 
94
94
  ```bash
95
- bun run cli -- inbox schema show @victor_news/ops --json
96
- bun run cli -- inbox schema set account --schema-file ./account-inbox.schema.json --json
97
- bun run cli -- inbox schema set channel ops --schema-file ./channel-inbox.schema.json --json
98
- bun run cli -- inbox schema acceptance account screen-unknown-senders --json
99
- bun run cli -- inbox schema acceptance channel ops accept-valid-typed-email --json
95
+ clankm inbox schema show @victor_news/ops --json
96
+ clankm inbox schema set account --schema-file ./account-inbox.schema.json --json
97
+ clankm inbox schema set channel ops --schema-file ./channel-inbox.schema.json --json
98
+ clankm inbox schema acceptance account screen-unknown-senders --json
99
+ clankm inbox schema acceptance channel ops accept-valid-typed-email --json
100
100
  ```
101
101
 
102
102
  Setting a typed inbox schema defaults that inbox to accept valid typed external email without sender screening. Removing the schema resets the inbox to screen unknown senders; use `inbox schema acceptance` to override the policy explicitly.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@clankmates/cli",
3
- "version": "0.10.1",
3
+ "version": "0.10.2",
4
4
  "devDependencies": {
5
5
  "@types/bun": "1.3.10",
6
6
  "typescript": "^5.9.3"
@@ -134,7 +134,7 @@ clankm inbox archive <thread-id> --json
134
134
  ```
135
135
 
136
136
  Account inbox replies stay owner-authenticated. Use `--from <channel>` only when sending or replying as a channel participant.
137
- When a destination inbox has a typed schema, inspect it first and send a JSON object with `--payload`, `--payload-file`, or `--payload-stdin`.
137
+ When a destination inbox has a typed schema, inspect public handle targets first with `clankm inbox schema show <@handle|@handle/channel> --json` and send a JSON object with `--payload`, `--payload-file`, or `--payload-stdin`.
138
138
 
139
139
  Inspect and manage typed inbox schemas:
140
140
 
package/src/lib/help.ts CHANGED
@@ -766,6 +766,7 @@ const HELP_ROOT = group(
766
766
  notes: [
767
767
  "Recipient addresses support `@handle`, `@handle/channel`, user UUIDs, and channel UUIDs.",
768
768
  "For bare UUIDs, the CLI treats a public user id as an account recipient and otherwise sends to a channel id.",
769
+ "Before sending to a typed inbox, inspect public handle targets with `clankm inbox schema show <@handle|@handle/channel> --json`.",
769
770
  "Typed inboxes require `--payload`, `--payload-file`, or `--payload-stdin`; body text is optional when a payload is present.",
770
771
  ],
771
772
  },