@wirecat/wirecat 0.0.0-stage → 1.0.0

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.
Files changed (230) hide show
  1. package/LICENSE +204 -0
  2. package/README.md +400 -2
  3. package/THIRD_PARTY_NOTICES +2 -0
  4. package/contracts/wirecat.json +4612 -0
  5. package/dist/actions/actions.js +269 -0
  6. package/dist/actions/command.js +102 -0
  7. package/dist/agents/command.js +17 -0
  8. package/dist/agents/log.js +23 -0
  9. package/dist/answer.js +100 -0
  10. package/dist/answers/command.js +128 -0
  11. package/dist/app.js +15 -0
  12. package/dist/author.js +109 -0
  13. package/dist/bin/wcat-wirecat.js +40 -0
  14. package/dist/bots/command.js +175 -0
  15. package/dist/bundle/auto-YETGUQ2J.js +43 -0
  16. package/dist/bundle/chunk-3ME37WWB.js +31 -0
  17. package/dist/bundle/chunk-4WI3FO7T.js +395 -0
  18. package/dist/bundle/chunk-7O7XM37N.js +2 -0
  19. package/dist/bundle/chunk-DWQQRBQV.js +51 -0
  20. package/dist/bundle/chunk-FOWR5KJS.js +72 -0
  21. package/dist/bundle/chunk-GGRL6DTE.js +120 -0
  22. package/dist/bundle/chunk-KNFSW562.js +312 -0
  23. package/dist/bundle/chunk-KPJVVFQF.js +416 -0
  24. package/dist/bundle/chunk-WMPDRWVF.js +222 -0
  25. package/dist/bundle/chunk-X5OK73GU.js +807 -0
  26. package/dist/bundle/chunk-ZC4PRE6C.js +38 -0
  27. package/dist/bundle/entry-S4DSYEAY.js +64 -0
  28. package/dist/bundle/failure-FALOD7QW.js +19 -0
  29. package/dist/bundle/from-memo-XVOLSUOM.js +314 -0
  30. package/dist/bundle/program-XSZSINBU.js +14994 -0
  31. package/dist/bundle/server-GQ4NZUDL.js +303 -0
  32. package/dist/bundle/update-2EH5KHTV.js +22 -0
  33. package/dist/bundle/wcat-wirecat.js +83 -0
  34. package/dist/config-command.js +39 -0
  35. package/dist/config-issues.js +15 -0
  36. package/dist/config.js +187 -0
  37. package/dist/context/command.js +162 -0
  38. package/dist/context/context.js +197 -0
  39. package/dist/contract-overrides/commands.js +81 -0
  40. package/dist/contract-overrides/mcp.js +241 -0
  41. package/dist/contract-overrides/meetings.js +344 -0
  42. package/dist/contract-overrides/search.js +508 -0
  43. package/dist/contract-overrides/skill.js +85 -0
  44. package/dist/contract-overrides.js +7 -0
  45. package/dist/digest/backfill.js +175 -0
  46. package/dist/digest/brief.js +189 -0
  47. package/dist/digest/catch-up-record.js +30 -0
  48. package/dist/digest/catch-up.js +86 -0
  49. package/dist/digest/command.js +110 -0
  50. package/dist/digest/digest-commands.js +327 -0
  51. package/dist/digest/digest.js +560 -0
  52. package/dist/digest/digests.js +213 -0
  53. package/dist/digest/history.js +202 -0
  54. package/dist/digest/input.js +30 -0
  55. package/dist/digest/known.js +28 -0
  56. package/dist/digest/sources.js +155 -0
  57. package/dist/digest/sync-health.js +158 -0
  58. package/dist/digest/task-proposals.js +67 -0
  59. package/dist/digest/tasks.js +145 -0
  60. package/dist/digest/text.js +49 -0
  61. package/dist/discovery/command.js +107 -0
  62. package/dist/doctor/command.js +167 -0
  63. package/dist/documents/command.js +107 -0
  64. package/dist/domain-lists/command.js +13 -0
  65. package/dist/events/command.js +35 -0
  66. package/dist/events/events.js +196 -0
  67. package/dist/examples.js +609 -0
  68. package/dist/facts/command.js +100 -0
  69. package/dist/facts/fact.js +54 -0
  70. package/dist/facts/facts.js +15 -0
  71. package/dist/failure.js +58 -0
  72. package/dist/finance/command.js +121 -0
  73. package/dist/finance/contracts-command.js +109 -0
  74. package/dist/finance/deal-text.js +34 -0
  75. package/dist/finance/deals-command.js +346 -0
  76. package/dist/finance/finance.js +129 -0
  77. package/dist/finance/lines-command.js +70 -0
  78. package/dist/finance/orders-command.js +94 -0
  79. package/dist/finance/products-command.js +98 -0
  80. package/dist/finance/subscriptions-command.js +152 -0
  81. package/dist/finance/transactions-command.js +136 -0
  82. package/dist/finance/wallets-command.js +105 -0
  83. package/dist/finance/written.js +36 -0
  84. package/dist/findings/command.js +102 -0
  85. package/dist/findings-input.js +23 -0
  86. package/dist/identity.js +20 -0
  87. package/dist/install/postinstall.js +47 -0
  88. package/dist/json-fields.js +48 -0
  89. package/dist/knowledge/business-text.js +19 -0
  90. package/dist/knowledge/command.js +435 -0
  91. package/dist/knowledge/document-context.js +33 -0
  92. package/dist/knowledge/key-documents.js +120 -0
  93. package/dist/knowledge/list-queries.js +20 -0
  94. package/dist/knowledge/meeting-projects-command.js +61 -0
  95. package/dist/knowledge/messenger-sync.js +253 -0
  96. package/dist/knowledge/money-text.js +16 -0
  97. package/dist/knowledge/notes-about.js +81 -0
  98. package/dist/knowledge/organization-delete-command.js +44 -0
  99. package/dist/knowledge/organization-text.js +27 -0
  100. package/dist/knowledge/project-actions-command.js +130 -0
  101. package/dist/knowledge/project-actions.js +104 -0
  102. package/dist/knowledge/project-activity-command.js +70 -0
  103. package/dist/knowledge/project-context.js +101 -0
  104. package/dist/knowledge/project-findings.js +41 -0
  105. package/dist/knowledge/project-gather-command.js +100 -0
  106. package/dist/knowledge/project-status-command.js +129 -0
  107. package/dist/knowledge/project-transfer-command.js +58 -0
  108. package/dist/knowledge/project-transfer.js +107 -0
  109. package/dist/knowledge/relationships-scan.js +116 -0
  110. package/dist/knowledge/relationships.js +115 -0
  111. package/dist/knowledge/roles-command.js +67 -0
  112. package/dist/mail/command.js +20 -0
  113. package/dist/mail/findings-command.js +143 -0
  114. package/dist/mail/findings-duplicates.js +159 -0
  115. package/dist/mail/messages-command.js +77 -0
  116. package/dist/mail/review-command.js +59 -0
  117. package/dist/mail/subscriptions-command.js +84 -0
  118. package/dist/mcp/catalogue.js +159 -0
  119. package/dist/mcp/command.js +125 -0
  120. package/dist/mcp/granted.js +18 -0
  121. package/dist/mcp/permissions.js +61 -0
  122. package/dist/mcp/server.js +128 -0
  123. package/dist/meetings/command.js +31 -0
  124. package/dist/meetings/list-command.js +59 -0
  125. package/dist/meetings/preparation-command.js +42 -0
  126. package/dist/meetings/preparation-text.js +44 -0
  127. package/dist/meetings/preparation.js +50 -0
  128. package/dist/meetings/read.js +32 -0
  129. package/dist/memories/command.js +105 -0
  130. package/dist/memories/memories.js +17 -0
  131. package/dist/memories/memory.js +89 -0
  132. package/dist/memories/sources.js +111 -0
  133. package/dist/mentions/command.js +91 -0
  134. package/dist/migrate/check.js +48 -0
  135. package/dist/migrate/from-memo.js +345 -0
  136. package/dist/migrate/skill.js +35 -0
  137. package/dist/models/command.js +19 -0
  138. package/dist/options.js +35 -0
  139. package/dist/output.js +17 -0
  140. package/dist/page.js +14 -0
  141. package/dist/people/command.js +144 -0
  142. package/dist/people/delete-command.js +53 -0
  143. package/dist/people/doubts-command.js +81 -0
  144. package/dist/people/identities-command.js +188 -0
  145. package/dist/people/identity.js +42 -0
  146. package/dist/people/owner.js +14 -0
  147. package/dist/people/proposal-rows.js +70 -0
  148. package/dist/people/proposals-command.js +248 -0
  149. package/dist/people/review-context.js +108 -0
  150. package/dist/people/subject.js +19 -0
  151. package/dist/program.js +875 -0
  152. package/dist/read-only.js +51 -0
  153. package/dist/reasons.js +368 -0
  154. package/dist/records/import.js +135 -0
  155. package/dist/records/input.js +210 -0
  156. package/dist/records/mapping.js +80 -0
  157. package/dist/records/record-commands.js +125 -0
  158. package/dist/records/sources.js +73 -0
  159. package/dist/refs.js +28 -0
  160. package/dist/review/command.js +171 -0
  161. package/dist/review/kinds.js +44 -0
  162. package/dist/review/review.js +299 -0
  163. package/dist/review/status.js +93 -0
  164. package/dist/rows.js +219 -0
  165. package/dist/run/auto.js +237 -0
  166. package/dist/run/entry.js +62 -0
  167. package/dist/run/files.js +51 -0
  168. package/dist/run/import.js +253 -0
  169. package/dist/run/lock.js +20 -0
  170. package/dist/save-help.js +3 -0
  171. package/dist/schedule/command.js +58 -0
  172. package/dist/schedule/mail-triage-input.js +152 -0
  173. package/dist/schedule/task-triage-input.js +152 -0
  174. package/dist/search/answers.js +176 -0
  175. package/dist/search/command.js +257 -0
  176. package/dist/search/denied.js +9 -0
  177. package/dist/search/embed.js +126 -0
  178. package/dist/search/hits.js +4 -0
  179. package/dist/search/lane-gates.js +76 -0
  180. package/dist/search/notes-text.js +18 -0
  181. package/dist/search/people.js +88 -0
  182. package/dist/search/search.js +306 -0
  183. package/dist/show/command.js +179 -0
  184. package/dist/store/crm-viewer.js +102 -0
  185. package/dist/store/group.js +112 -0
  186. package/dist/store/groups-command.js +136 -0
  187. package/dist/store/guard.js +94 -0
  188. package/dist/store/held.js +21 -0
  189. package/dist/store/info-command.js +37 -0
  190. package/dist/store/scope.js +53 -0
  191. package/dist/store/source-list.js +222 -0
  192. package/dist/store/source-target.js +28 -0
  193. package/dist/tags/command.js +176 -0
  194. package/dist/tasks/command.js +174 -0
  195. package/dist/tasks/context.js +74 -0
  196. package/dist/tasks/list.js +199 -0
  197. package/dist/tasks/proposal-duplicates.js +70 -0
  198. package/dist/tasks/relations-command.js +28 -0
  199. package/dist/tasks/shared.js +105 -0
  200. package/dist/tasks/tasks.js +197 -0
  201. package/dist/templates/command.js +18 -0
  202. package/dist/terminal.js +23 -0
  203. package/dist/update.js +35 -0
  204. package/dist/version.js +2 -0
  205. package/dist/vocabulary/command.js +103 -0
  206. package/dist/vocabulary/inspect.js +23 -0
  207. package/dist/vocabulary/inspection.js +18 -0
  208. package/dist/vocabulary/list.js +18 -0
  209. package/dist/vocabulary/project.js +19 -0
  210. package/dist/wcat.js +3 -0
  211. package/install/postinstall.mjs +9 -0
  212. package/package.json +89 -4
  213. package/scenarios/decision-trail.md +21 -0
  214. package/scenarios/person-brief.md +35 -0
  215. package/scenarios/prepare-meeting.md +17 -0
  216. package/scenarios/project-state.md +26 -0
  217. package/scenarios/set-up.md +18 -0
  218. package/scenarios/start-the-day.md +19 -0
  219. package/skills/mail-triage/SKILL.md +208 -0
  220. package/skills/morning-digest/SKILL.md +147 -0
  221. package/skills/task-triage/SKILL.md +79 -0
  222. package/skills/wcat/SKILL.md +65 -0
  223. package/skills/wcat/topics/mail.md +32 -0
  224. package/skills/wcat/topics/mcp.md +22 -0
  225. package/skills/wcat/topics/meetings.md +37 -0
  226. package/skills/wcat/topics/money.md +52 -0
  227. package/skills/wcat/topics/projects.md +54 -0
  228. package/skills/wcat/topics/proposals.md +113 -0
  229. package/skills/wcat/topics/search.md +85 -0
  230. package/skills/wcat/topics/vocabulary.md +8 -0
@@ -0,0 +1,609 @@
1
+ import { annotate, metaOf } from "@wirecat/cli-base/commands";
2
+ import { hasSharedContract, overrideSharedContract } from "@wirecat/cli-core";
3
+ export const EXAMPLES = {
4
+ context: [
5
+ "wcat context telegram:'Kai Sample'",
6
+ "wcat context email:kai@example.com --limit 5 --json",
7
+ "wcat context person:7 --before-time 2026-10-01T00:00:00Z --json",
8
+ ],
9
+ show: [
10
+ "wcat show chat:max/500/-1001 document:413",
11
+ "wcat show note:12 msg:telegram/1/77/42 --json",
12
+ "wcat show contract:2 invoice:4 --json",
13
+ ],
14
+ "groups list": ["wcat groups list", "wcat groups list --json"],
15
+ "groups add": ["wcat groups add work bitrix24:acme", "wcat groups add personal telegram:102"],
16
+ "groups remove": ["wcat groups remove work telegram:102"],
17
+ "groups move": ["wcat groups move telegram:102 personal work"],
18
+ "groups rename": ["wcat groups rename work office"],
19
+ "groups delete": ["wcat groups delete clients"],
20
+ "groups update": [
21
+ "wcat groups update bitrix24:acme --scope work",
22
+ "wcat groups update telegram:102 --chat 7 --scope account",
23
+ ],
24
+ "config show": ["wcat config show", "wcat config show --json"],
25
+ "config migrate": ["wcat config migrate"],
26
+ "config unset": ["wcat config unset permissions.facts.add"],
27
+ "mentions list": [
28
+ "wcat mentions list kind:phone --source notes",
29
+ "wcat mentions list domain:example.com --source email:personal,email:work --json",
30
+ "wcat mentions list kind:place --source mail",
31
+ ],
32
+ "mentions show": ["wcat mentions show 12", "wcat mentions show 40 --source email:personal --json"],
33
+ "mentions confirm": ["wcat mentions confirm 12 person:7", "wcat mentions confirm 40 --source email:personal"],
34
+ "mentions reject": ["wcat mentions reject 12", "wcat mentions reject 40 --source email:personal"],
35
+ "review mail": [
36
+ "wcat review mail --holder mail-triage --source email:work --json",
37
+ "wcat review mail --unanswered 1d --source email:personal",
38
+ "wcat review mail 'date>2h' --source email:me@example.com",
39
+ ],
40
+ "messages acknowledge": [
41
+ "wcat messages acknowledge --holder mail-triage --cursor 9123.1762090000000 --source email:work",
42
+ "wcat messages acknowledge --holder mail-triage --cursor 9123.1762090000000 --source email:me@example.com --json",
43
+ "wcat messages acknowledge --holder backfill --cursor 870.1762090000000 --source email:personal",
44
+ ],
45
+ "messages reset": [
46
+ "wcat messages reset --holder mail-triage --last 8 --dry-run --source email:me@example.com",
47
+ "wcat messages reset --holder mail-triage --since-time 2026-11-04T00:00:00Z --source email:work --json",
48
+ ],
49
+ "review findings add": [
50
+ "wcat review findings add findings.json --source email:work",
51
+ "wcat review findings add findings.json --source email:work --key mail-triage:9123 --dry-run --json",
52
+ 'wcat review findings add \'{"schema_version":1,"key":"mail-triage:9123","extractor":"mail-triage/1","findings":[…]}\' --source email:me@example.com --json',
53
+ ],
54
+ "review findings show": [
55
+ "wcat review findings show 41",
56
+ "wcat review findings show 41 --json",
57
+ "wcat review findings show 41 --json=id,input.findings",
58
+ ],
59
+ "review findings list": [
60
+ "wcat review findings list status:proposed",
61
+ "wcat review findings list --source email:work --json",
62
+ "wcat review findings list status:reviewed --limit 50 --page 2",
63
+ ],
64
+ "messages show": ["wcat messages show 'msg:email/me%40example.com/thread/42' --before-n 2 --after-n 2"],
65
+ "projects actions add": ["wcat projects actions add findings.json"],
66
+ "projects actions list": [
67
+ "wcat projects actions list SYH",
68
+ "wcat projects actions list SYH status:reviewed --brief --json",
69
+ ],
70
+ "projects actions confirm": [
71
+ "wcat projects actions confirm SYH 12 budget accountant --fingerprint 3f9a0c --reason 'both are stated plainly'",
72
+ "wcat projects actions confirm SYH key:4",
73
+ ],
74
+ "projects actions reject": [
75
+ "wcat projects actions reject SYH 12 --fingerprint 3f9a0c --reason 'not about this project'",
76
+ ],
77
+ "projects evidence": [
78
+ "wcat projects evidence SYH --source telegram:1,email:personal --contact 'Alice Example'",
79
+ "wcat projects evidence SYH --source all --context-query 'crane tender' --since-time 180d --json",
80
+ ],
81
+ "models list": ["wcat models list kind:text --json"],
82
+ "commands info": ["wcat commands info --json"],
83
+ "models download": ["wcat models download embeddinggemma", "wcat models download e5-small"],
84
+ "models set": ["wcat models set e5-large"],
85
+ "models consents show": ["wcat models consents show --json"],
86
+ "models consents set": [
87
+ "wcat models consents set openai --model gpt-4o-mini",
88
+ "wcat models consents set openai --model gpt-4o-mini --yes",
89
+ ],
90
+ "models consents revoke": ["wcat models consents revoke"],
91
+ "models search-consents show": ["wcat models search-consents show --json"],
92
+ "models search-consents set": [
93
+ "wcat models search-consents set anthropic",
94
+ "wcat models search-consents set anthropic --yes",
95
+ ],
96
+ "models search-consents revoke": ["wcat models search-consents revoke"],
97
+ "models keys set": ["wcat models keys set openai", "wcat models keys set anthropic"],
98
+ "models keys remove": ["wcat models keys remove openai"],
99
+ "models add": [
100
+ `wcat models add e5-base --payload '{"repository":"Xenova/multilingual-e5-base","onnx":"onnx/model_quantized.onnx","dims":768,"pooling":"mean","prefix":{"query":"query: ","passage":"passage: "}}'`,
101
+ ],
102
+ "tags add": ["wcat tags add follow-up --note note:12", "wcat tags add harbour --project HRB"],
103
+ "tags remove": ["wcat tags remove follow-up --note note:12"],
104
+ "tags list": ["wcat tags list tag:follow-up", "wcat tags list --source email:me@example.com --json"],
105
+ "tasks link": ["wcat tasks link HRB-2 HRB-1 --kind blocked-by"],
106
+ "tasks unlink": ["wcat tasks unlink HRB-2 HRB-1 --kind blocked-by"],
107
+ "tasks links": ["wcat tasks links HRB-2 --json"],
108
+ "tasks status": ["wcat tasks status HRB-2"],
109
+ "tasks add": [
110
+ "wcat tasks add 'msg:telegram/1/77/42' --account telegram:1 --type request",
111
+ "wcat tasks add --project HRB --title 'Draft the budget' --type feature",
112
+ "wcat tasks add --project INBOX --title 'Reply on Avito to Ivan' --external-id avito:4512345678 " +
113
+ "--source-url https://www.avito.ru/4512345678",
114
+ ],
115
+ "tasks list": [
116
+ "wcat tasks list state:done --source telegram:1",
117
+ "wcat tasks list project:HRB ready:true --json",
118
+ 'wcat tasks list project:* priority:[high TO critical] "invoice" --sort due --json',
119
+ ],
120
+ "tasks counts": ["wcat tasks counts project:* --json"],
121
+ "tasks history": ["wcat tasks history HRB-1 --json"],
122
+ "tasks comments add": ["wcat tasks comments add HRB-1 Booked the hall for Friday"],
123
+ "tasks comments list": ["wcat tasks comments list HRB-1 --json"],
124
+ "tasks move": ["wcat tasks move HRB-3 --status in_progress --before HRB-1 --revision 4"],
125
+ "people list": ["wcat people list --json", "wcat people list kind:organization --sort name --page 2"],
126
+ "people check": ["wcat people check ivan petrov --json"],
127
+ "people add": ["wcat people add Lena Example"],
128
+ "people show": ["wcat people show person:12", "wcat people show telegram:Lena --json"],
129
+ "people review": ["wcat people review", "wcat people review --kind split --json"],
130
+ "people confirm": ["wcat people confirm 17080 17082-17085", "wcat people confirm all --kind split --yes"],
131
+ "people reject": [
132
+ "wcat people reject 17081 --reason 'two people'",
133
+ "wcat people reject all --kind link --reason 'not one'",
134
+ ],
135
+ "people resolve": [
136
+ "wcat people resolve 17092 company",
137
+ "wcat people resolve 17093 company organization:12 --json",
138
+ 'wcat people resolve 17094 organization --name "Shop Ltd"',
139
+ ],
140
+ "people links check": ["wcat people links check", "wcat people links check --page 2 --json"],
141
+ "people links resolve": [
142
+ "wcat people links resolve person:42 keep",
143
+ "wcat people links resolve person:42 keep --from-app --json",
144
+ "wcat people links resolve person:42 test",
145
+ ],
146
+ "people scan": ["wcat people scan"],
147
+ "people link": [
148
+ "wcat people link max:Lena telegram:Lena",
149
+ "wcat people link max:Lena telegram:Lena --reason 'same phone in her signature'",
150
+ ],
151
+ "people unlink": [
152
+ "wcat people unlink telegram:12345 --from person:me",
153
+ "wcat people unlink email:lena@example.com max:6789 --from person:42 --reason 'her husband's mailbox'",
154
+ ],
155
+ "organizations delete": [
156
+ "wcat organizations delete organization:12",
157
+ "wcat organizations delete organization:12 --yes",
158
+ ],
159
+ "people delete": ["wcat people delete person:17", "wcat people delete person:17 --yes"],
160
+ "bots list": [
161
+ "wcat bots list name:shop",
162
+ "wcat bots list type:receipts",
163
+ "wcat bots list 'organization:\"organization:3\"' --page 2",
164
+ ],
165
+ "review subscriptions list": [
166
+ "wcat review subscriptions list",
167
+ "wcat review subscriptions list type:promotion",
168
+ "wcat review subscriptions list --source email:work --page 2 --json",
169
+ ],
170
+ "bots show": ["wcat bots show bot:3", "wcat bots show bot:3 --json"],
171
+ "bots move": [
172
+ "wcat bots move bot:3 --kind person",
173
+ "wcat bots move telegram:12345 --kind bot --into bot:3",
174
+ "wcat bots move noreply@shop.example --kind bot",
175
+ ],
176
+ "domain-lists list": ["wcat domain-lists list", "wcat domain-lists list --json"],
177
+ "domain-lists update": ["wcat domain-lists update", "wcat domain-lists update --commercial-only"],
178
+ "people unmerge": ["wcat people unmerge merge:12-34", "wcat people unmerge merge:12-34 --reason 'a shared mailbox'"],
179
+ "tasks agenda": [
180
+ "wcat tasks agenda --source telegram:1",
181
+ "wcat tasks agenda --source max:1 --waiting 3d --within 90d --json",
182
+ ],
183
+ "tasks claim": ["wcat tasks claim HRB-1 --lease 2h --account telegram:1"],
184
+ "tasks release": ["wcat tasks release HRB-1 --account telegram:1"],
185
+ "tasks show": ["wcat tasks show 1a2b3c4d --source telegram:1 --json"],
186
+ "stats projects show": ["wcat stats projects show", "wcat stats projects show --since-time 7d --json"],
187
+ "stats tasks show": [
188
+ "wcat stats tasks show --source telegram:1",
189
+ "wcat stats tasks show --type question --source telegram:1 --json",
190
+ ],
191
+ "tasks close": ["wcat tasks close 7 --account telegram:1 --as dismissed --reason 'answered by phone'"],
192
+ "tasks update": [
193
+ "wcat tasks update HRB-1 --title 'Send the budget' --priority high --account telegram:1",
194
+ "wcat tasks update 1a2b3c4d --due 2d --title 'Send the revised budget' --account telegram:1",
195
+ ],
196
+ "tasks assign": ["wcat tasks assign 7 person:3", "wcat tasks assign HRB-1 person:3 --clear --revision 4"],
197
+ "organizations add": [
198
+ "wcat organizations add 'Harbour Studio' --kind company --scope work",
199
+ "wcat organizations add 'Harbour Family' --kind family",
200
+ ],
201
+ "organizations rename": [
202
+ "wcat organizations rename organization:1 'Harbour Studio Ltd'",
203
+ "wcat organizations rename 1 'Harbour Studio Ltd' --json",
204
+ ],
205
+ "organizations show": ["wcat organizations show organization:1"],
206
+ "organizations list": [
207
+ "wcat organizations list name:*harbour*",
208
+ "wcat organizations list category:client",
209
+ "wcat organizations list --json",
210
+ ],
211
+ "organizations context": ["wcat organizations context organization:1", "wcat organizations context 1 --json"],
212
+ "projects meetings list": ["wcat projects meetings list HRB --source zoom:me@example.com"],
213
+ "projects meetings link": ["wcat projects meetings link HRB 31 --account zoom:me@example.com"],
214
+ "projects add": ["wcat projects add 'Harbour' --key HRB --type client --organization 1"],
215
+ "projects list": ["wcat projects list"],
216
+ "projects context": ["wcat projects context HRB", "wcat projects context project:2 --json"],
217
+ "projects status": ["wcat projects status HRB --context-query 1C", "wcat projects status HRB --compact"],
218
+ "projects annotations show": ["wcat projects annotations show HRB --max-read-bytes 1048576 --json"],
219
+ "projects annotations export": ["wcat projects annotations export HRB --output harbour-annotations.json --json"],
220
+ "projects annotations check": [
221
+ "wcat projects annotations check harbour-annotations.json --target-store ./trial/wirecat.db --project project:2 --bindings bindings.json --json",
222
+ ],
223
+ "projects annotations restore": [
224
+ "wcat projects annotations restore harbour-annotations.json --target-store ./trial/wirecat.db --project project:2 --bindings bindings.json --fingerprint aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa --json",
225
+ ],
226
+ "projects key-documents add": ["wcat projects key-documents add HRB note:12 --reason 'the brief'"],
227
+ "projects key-documents remove": ["wcat projects key-documents remove HRB note:12"],
228
+ "projects key-documents list": ["wcat projects key-documents list HRB"],
229
+ "relationships update": [
230
+ "wcat relationships update 12 --purpose sales",
231
+ "wcat relationships update 12 --engagement low",
232
+ "wcat relationships update 12 --role approver --role-note 'signs the acts'",
233
+ ],
234
+ "relationships add": [
235
+ "wcat relationships add person:3 organization:1 --role employee --position CTO --start-date 2026-01-01",
236
+ "wcat relationships add person:3 person:5 --kind reports-to",
237
+ "wcat relationships add organization:1 organization:2 --kind customer-of --reason 'signed in October'",
238
+ ],
239
+ "relationships list": [
240
+ 'wcat relationships list about:"person:3"',
241
+ 'wcat relationships list kind:reports-to to:"person:5"',
242
+ "wcat relationships list standing:reported include:ended --limit 50",
243
+ ],
244
+ "relationships remove": ["wcat relationships remove 4"],
245
+ "relationships roles list": ["wcat relationships roles list", "wcat relationships roles list list:deal --json"],
246
+ "relationships roles add": ["wcat relationships roles add organization board-member --label 'Board member'"],
247
+ "relationships roles remove": ["wcat relationships roles remove organization board-member"],
248
+ "relationships end": ["wcat relationships end 4 --end-date 2026-09-30"],
249
+ "relationships confirm": ["wcat relationships confirm 4"],
250
+ "relationships scan": [
251
+ "wcat relationships scan HRB --source all",
252
+ "wcat relationships scan HRB --source telegram:1,email:personal --yes",
253
+ "wcat relationships scan --source email:me@example.com",
254
+ ],
255
+ "reminders add": [
256
+ "wcat reminders add 7 --at-time 2026-10-20T09:00:00+02:00 --timezone Europe/Madrid --account telegram:1",
257
+ ],
258
+ "reminders list": ["wcat reminders list --source telegram:1"],
259
+ "reminders claim": ["wcat reminders claim --account telegram:1 --json"],
260
+ "reminders acknowledge": ["wcat reminders acknowledge 3 3:1 --account telegram:1"],
261
+ "reminders cancel": ["wcat reminders cancel 3 --account telegram:1"],
262
+ "reminders update": ["wcat reminders update 3 --revision 1 --at-time 2026-10-21T09:00:00+02:00 --account telegram:1"],
263
+ "vocabulary list": ["wcat vocabulary list kind:tag"],
264
+ "vocabulary show": ["wcat vocabulary show Harbour --kind project"],
265
+ "vocabulary check": ["wcat vocabulary check on-boarding --kind tag", "wcat vocabulary check --limit 20 --json"],
266
+ "vocabulary inspect": [
267
+ "wcat vocabulary inspect tag:1 tag:2 --fingerprint v1:all:all:aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa --limit 5 --json",
268
+ ],
269
+ "vocabulary create": ["wcat vocabulary create onboarding --kind tag --fingerprint 3f9a"],
270
+ "vocabulary aliases add": ["wcat vocabulary aliases add project:2 Harbor --fingerprint 3f9a"],
271
+ "vocabulary aliases remove": ["wcat vocabulary aliases remove project:2 5 --fingerprint 3f9a"],
272
+ "memories add": ["wcat memories add 'Kai prefers Friday meetings' --kind preference --scope work --evidence note:12"],
273
+ "memories list": ["wcat memories list status:proposed kind:preference"],
274
+ "memories show": ["wcat memories show memory:4 --sources"],
275
+ "memories update": ["wcat memories update memory:4 --project SYH", "wcat memories update memory:4 --project none"],
276
+ "memories confirm": ["wcat memories confirm memory:4"],
277
+ "memories invalidate": ["wcat memories invalidate memory:4"],
278
+ "memories remove": ["wcat memories remove memory:4"],
279
+ "memories check": ["wcat memories check", "wcat memories check --limit 2000 --json"],
280
+ "memories challenge": [
281
+ "wcat memories challenge memory:4 --evidence note:15 --reason 'the later note moves delivery to the 30th'",
282
+ "wcat memories challenge memory:4 --evidence note:15 --reason 'moved' --suggest 'Delivery is on the 30th' --json",
283
+ ],
284
+ "facts add": [
285
+ "wcat facts add 'We moved the launch to spring' --kind decision --evidence 'msg:telegram/1/77/42' --project HRB",
286
+ ],
287
+ "facts list": ["wcat facts list kind:decision project:HRB"],
288
+ "orders list": ["wcat orders list status:shipped", `wcat orders list number:A-1042 'supplier:"Shop One"' --json`],
289
+ "orders show": ["wcat orders show order:3"],
290
+ "pipelines list": ["wcat pipelines list", "wcat pipelines list kind:lead --json"],
291
+ "pipelines show": ["wcat pipelines show pipeline:2", "wcat pipelines show Sales --since-time 2026-09-01"],
292
+ "pipelines add": [
293
+ "wcat pipelines add Sales Call Quote Contract won lost",
294
+ "wcat pipelines add Inbound new called --kind lead",
295
+ ],
296
+ "deals list": ["wcat deals list status:open project:HRB", "wcat deals list stage:Quote --json"],
297
+ "deals show": ["wcat deals show deal:5"],
298
+ "deals context": ["wcat deals context deal:5", "wcat deals context deal:5 --brief --json"],
299
+ "deals update": ["wcat deals update deal:5 --project HRB"],
300
+ "deals add": [
301
+ "wcat deals add 'Site for the clinic' Call 500000.00 RUB --organization organization:3 --project HRB",
302
+ "wcat deals add 'Support contract' Sales/Quote --person person:7 --role decision-maker --due 2026-12-01",
303
+ ],
304
+ "deals move": ["wcat deals move deal:5 Quote", "wcat deals move deal:5 stage:5"],
305
+ "deals close": ["wcat deals close deal:5 won", "wcat deals close deal:6 lost --reason 'chose a cheaper studio'"],
306
+ "leads list": ["wcat leads list status:open"],
307
+ "leads show": ["wcat leads show lead:3"],
308
+ "leads context": ["wcat leads context lead:3 --brief"],
309
+ "leads update": ["wcat leads update lead:3 --project HRB"],
310
+ "leads add": ["wcat leads add 'Call from the site'", "wcat leads add 'Clinic in Kazan' contacted --person person:9"],
311
+ "leads move": ["wcat leads move lead:3 qualified", "wcat leads move lead:3 stage:5"],
312
+ "stages show": ["wcat stages show deal", "wcat stages show lead --json"],
313
+ "stages create": ["wcat stages create deal Demo", "wcat stages create lead Spam lost"],
314
+ "stages rename": ["wcat stages rename deal Proposal 'Quote sent'"],
315
+ "stages move": ["wcat stages move deal Negotiation 2"],
316
+ "stages remove": ["wcat stages remove deal Negotiation"],
317
+ "stages list": ["wcat stages list confirmed:false", "wcat stages list kind:deal pipeline:pipeline:3 --json"],
318
+ "stages set": ["wcat stages set stage:41 Proposal"],
319
+ "stages confirm": ["wcat stages confirm --pipeline pipeline:3", "wcat stages confirm --all"],
320
+ "leads close": ["wcat leads close lead:3 lost --reason 'no budget'"],
321
+ "orders add": [
322
+ "wcat orders add 'Shop One' 2499.00 RUB --kind personal --title A-1042",
323
+ "wcat orders add 'Office Supply' --kind client --organization organization:3",
324
+ ],
325
+ "events list": [
326
+ "wcat events list event_type:call",
327
+ "wcat events list account:phone:pixel 'starts_at:[2026-11-02 TO 2026-11-07}' --json",
328
+ ],
329
+ "events show": ["wcat events show event:42"],
330
+ "invoices list": ["wcat invoices list project:HRB open:true", "wcat invoices list review:proposed --json"],
331
+ "invoices show": ["wcat invoices show invoice:4"],
332
+ "invoices add": [
333
+ "wcat invoices add 50000.00 RUB Bed rental, November --kind receivable --organization organization:3 --project HRB",
334
+ "wcat invoices add 1200.50 EUR Hosting --kind payable --person person:7 --title 2026-118 --due 2026-11-15",
335
+ ],
336
+ "payments list": ["wcat payments list project:HRB direction:in", "wcat payments list review:proposed --json"],
337
+ "payments show": ["wcat payments show payment:9"],
338
+ "payments add": [
339
+ "wcat payments add 25000.00 RUB --kind in --organization organization:3 --occurred-time 2026-11-01 --project HRB",
340
+ "wcat payments add 5000.00 RUB --kind out --organization organization:3 --refund-of payment:9",
341
+ ],
342
+ "records import": [
343
+ "wcat records import payments.jsonl --account rentals --dry-run",
344
+ "wcat records import envelope.json --account rentals --json",
345
+ "wcat records import contacts.vcf --account phone:pixel --region gb",
346
+ ],
347
+ "records check": [
348
+ "wcat records check - --account rentals",
349
+ "wcat records check invoices.csv --type invoice --account sheet:rentals",
350
+ ],
351
+ "records templates list": ["wcat records templates list --json", "wcat records templates list type:invoice"],
352
+ "records templates show": [
353
+ "wcat records templates show invoice --locale ru",
354
+ "wcat records templates show invoice --format json --account sheet:rentals",
355
+ ],
356
+ "records list": [
357
+ "wcat records list waiting:true --account sheet:rentals",
358
+ "wcat records list type:organization --account sheet:rentals --json",
359
+ `wcat records list 'entity:"organization:3"' deleted:false --account sheet:rentals`,
360
+ ],
361
+ "records link": ["wcat records link organization:client organization:3 --account sheet:rentals"],
362
+ "payments allocate": ["wcat payments allocate payment:9 invoice:4 25000.00"],
363
+ "products list": ["wcat products list kind:service", "wcat products list archived:true --json"],
364
+ "products show": ["wcat products show product:4"],
365
+ "products add": [
366
+ "wcat products add 'Bike rental, month' 10000.00 RUB --kind service --unit month",
367
+ "wcat products add 'Helmet' 2500.00 RUB --sku H-12 --supplier organization:3",
368
+ ],
369
+ "products update": [
370
+ "wcat products update product:4 --amount 12000.00 --currency RUB",
371
+ "wcat products update product:4 --archived on",
372
+ ],
373
+ "orders lines add": [
374
+ "wcat orders lines add order:3 12 --product product:4",
375
+ "wcat orders lines add order:3 1 Rental, first week --product product:4 --amount 2000.00",
376
+ "wcat orders lines add order:3 2 Helmet --amount 2500.00",
377
+ ],
378
+ "orders lines remove": ["wcat orders lines remove order:3 2"],
379
+ "invoices lines add": [
380
+ "wcat invoices lines add invoice:4 1 --product product:4",
381
+ "wcat invoices lines add invoice:4 2 Delivery --amount 1500.00",
382
+ ],
383
+ "invoices lines remove": ["wcat invoices lines remove invoice:4 2"],
384
+ "contracts list": ["wcat contracts list status:active", "wcat contracts list expires:2026-12-31 --json"],
385
+ "contracts show": ["wcat contracts show contract:2"],
386
+ "contracts add": [
387
+ "wcat contracts add 'Rental agreement' --kind service --start-date 2026-11-01 --end-date 2027-10-31 --auto-renew on --notice-days 30 --amount 120000.00 --currency RUB",
388
+ "wcat contracts add 'NDA with the studio' --kind nda --project HRB",
389
+ ],
390
+ "contracts update": [
391
+ "wcat contracts update contract:2 --status terminated",
392
+ "wcat contracts update contract:2 --end-date 2027-12-31",
393
+ ],
394
+ "subscriptions list": [
395
+ "wcat subscriptions list status:active direction:payable",
396
+ "wcat subscriptions list renews:2026-12-01 --json",
397
+ ],
398
+ "subscriptions show": ["wcat subscriptions show subscription:5"],
399
+ "subscriptions add": [
400
+ "wcat subscriptions add Hosting 990.00 RUB --kind payable --supplier organization:3 --period 1-month --start-date 2026-11-01",
401
+ "wcat subscriptions add 'Bike rental' 10000.00 RUB --kind receivable --customer organization:3 --period 1-month --trial-end-date 2026-11-14 --status trial",
402
+ ],
403
+ "subscriptions update": [
404
+ "wcat subscriptions update subscription:5 --status paused",
405
+ "wcat subscriptions update subscription:5 --period 1-year",
406
+ ],
407
+ "subscriptions cancel": ["wcat subscriptions cancel subscription:5 --occurred-time 2026-11-30"],
408
+ "subscriptions prices add": ["wcat subscriptions prices add subscription:5 1190.00 RUB --start-date 2027-01-01"],
409
+ "wallets list": ["wcat wallets list", "wcat wallets list kind:card --json"],
410
+ "wallets show": ["wcat wallets show wallet:2", "wcat wallets show wallet:2 --until-time 2026-10-31"],
411
+ "wallets add": ["wcat wallets add 'Main card' RUB --kind card --institution 'Bank One'"],
412
+ "wallets update": ["wcat wallets update wallet:2 --opening-balance 15000.00 --opening-date 2026-01-01"],
413
+ "transactions list": [
414
+ `wcat transactions list 'wallet:"wallet:2"' status:pending`,
415
+ "wcat transactions list uncategorized:true --json",
416
+ ],
417
+ "transactions show": ["wcat transactions show transaction:12"],
418
+ "transactions add": [
419
+ "wcat transactions add wallet:2 500.00 --kind out --occurred-time 2026-11-14 --description 'Coffee shop'",
420
+ "wcat transactions add wallet:2 10000.00 --kind in --payment payment:9",
421
+ ],
422
+ "transactions update": [
423
+ "wcat transactions update transaction:12 --status booked",
424
+ "wcat transactions update transaction:12 --payment payment:9",
425
+ ],
426
+ "transactions splits add": ["wcat transactions splits add transaction:12 300.00 Rent --project HRB"],
427
+ "transactions splits remove": ["wcat transactions splits remove transaction:12 1"],
428
+ "records show": [
429
+ "wcat records show custom:quote:Q-7 --account example-erp:demo",
430
+ "wcat records show organization:client --account sheet:rentals --json",
431
+ ],
432
+ "records delete": ["wcat records delete payment:sheet-12 --account sheet:rentals"],
433
+ "records match": ["wcat records match --account sheet:rentals"],
434
+ "payments unlink": ["wcat payments unlink payment:9 invoice:4"],
435
+ "facts show": ["wcat facts show fact:4 --sources"],
436
+ "facts confirm": ["wcat facts confirm fact:4"],
437
+ "facts revoke": ["wcat facts revoke fact:4"],
438
+ "facts reverse": ["wcat facts reverse fact:4"],
439
+ "facts reject": ["wcat facts reject fact:4"],
440
+ "facts remove": ["wcat facts remove fact:4 --reason 'recorded twice'"],
441
+ "facts history": ["wcat facts history --limit 20"],
442
+ "facts challenge": ["wcat facts challenge fact:4 --evidence 'msg:telegram/1/77/50' --reason 'reversed in chat'"],
443
+ "actions add": [
444
+ "wcat actions add reply --reason 'Kai asked twice' --account telegram:1 --target 'msg:telegram/1/77/42' --payload '{\"text\":\"Friday works\"}'",
445
+ ],
446
+ "meetings actions add": ["wcat meetings actions add findings.json --account zoom:me@example.com"],
447
+ "meetings passage": [
448
+ "wcat meetings passage meeting:1/1/1/0 --source zoom:me@example.com --before-n 1 --after-n 1 --json",
449
+ ],
450
+ "meetings prepare": [
451
+ "wcat meetings prepare example-series --source zoom:me@example.com --json",
452
+ "wcat meetings prepare example-series --source zoom:me@example.com --context-source tg.personal --context-query Harbour --json",
453
+ ],
454
+ "search meetings": [
455
+ "wcat search meetings budget --source zoom:me@example.com --project Harbour --since-time 2026-10-01 --limit 10 --json",
456
+ ],
457
+ "meetings list": [
458
+ "wcat meetings list kind:call has_transcript:true",
459
+ "wcat meetings list 'started_at:[2026-11-01T00:00:00+01:00 TO 2026-12-01T00:00:00+01:00}' --order start --json",
460
+ ],
461
+ "meetings show": ["wcat meetings show event:42 --limit 500 --json", "wcat meetings show meeting:3/7"],
462
+ "documents list": [
463
+ "wcat documents list budget kind:pdf",
464
+ "wcat documents list source:google-drive:me@example.com folder:Contracts --page 2 --json",
465
+ ],
466
+ "documents tree": ["wcat documents tree --depth 2 --json"],
467
+ "documents show": ["wcat documents show document:12 --cursor 20000 --max-chars 20000 --json"],
468
+ "meetings actions list": ["wcat meetings actions list status:proposed --source zoom:me@example.com"],
469
+ "meetings actions show": ["wcat meetings actions show 5 --source zoom:me@example.com"],
470
+ "meetings actions confirm": [
471
+ "wcat meetings actions confirm 5 decision --fingerprint aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa --account zoom:me@example.com",
472
+ ],
473
+ "meetings actions reject": [
474
+ "wcat meetings actions reject 5 --fingerprint aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa --account zoom:me@example.com",
475
+ ],
476
+ "actions list": ["wcat actions list status:proposed"],
477
+ "actions show": ["wcat actions show 5"],
478
+ "actions confirm": ["wcat actions confirm 5"],
479
+ "actions edit": ['wcat actions edit 5 f2 --fingerprint 3f9a --set title="Send the signed contract" dueAt=null'],
480
+ "actions reject": ["wcat actions reject 5"],
481
+ "review list": [
482
+ "wcat review list project:HRB",
483
+ "wcat review list kind:relationship,fact by:agent",
484
+ "wcat review list via:chat:max/1/-100",
485
+ ],
486
+ "review show": ["wcat review show 17079", "wcat review show 17080 --brief --json"],
487
+ "review confirm": [
488
+ "wcat review confirm 17078-17081",
489
+ "wcat review confirm 17080/f1,17080/f3",
490
+ "wcat review confirm close:Q-15",
491
+ ],
492
+ "review reject": [
493
+ 'wcat review reject 17081 --reason "not this project"',
494
+ "wcat review reject close:Q-15 --reason 'still open'",
495
+ ],
496
+ "review agenda": ["wcat review agenda --compact", "wcat review agenda --since-time 3d --json"],
497
+ "review status": ["wcat review status", "wcat review status --since-time 7d --json"],
498
+ "schedule command": [
499
+ "wcat schedule command digest --at 08:30 -- review status",
500
+ "wcat schedule command mail-sync --every 1h -- sync --only mail",
501
+ ],
502
+ "schedule agent": [
503
+ "wcat schedule agent triage claude 'read wcat review status and list what needs me today' --at 08:45 --max-cost 1",
504
+ "wcat schedule agent mail-triage claude 'Run wcat skill show mail-triage and follow it.' --every 5m --on-new-mail mail-triage --mail-wait 1h --mail-batch 20 --max-cost 1 --max-cost-per-day 5",
505
+ "wcat schedule agent weekly claude 'read wcat review status and sum up the week' --at 09:00 --model opus",
506
+ ],
507
+ "schedule list": ["wcat schedule list", "wcat schedule list kind:agent --json"],
508
+ "schedule run": ["wcat schedule run digest"],
509
+ "digest list": ["wcat digest list", "wcat digest list name:weekly --json"],
510
+ "digest add": [
511
+ "wcat digest add evening --title 'Evening digest' --at 18:00 --deliver-to telegram-bot:personal/user:42",
512
+ "wcat digest add weekly --title 'The week' --at 'mon 09:00' --source telegram,mail,tasks",
513
+ ],
514
+ "digest edit": [
515
+ "wcat digest edit evening --at 08:30 --at 18:00",
516
+ "wcat digest edit weekly --source all --deliver-to none",
517
+ ],
518
+ "digest run": ["wcat digest run evening", "wcat digest run weekly --no-notify --json"],
519
+ "digest pause": ["wcat digest pause weekly"],
520
+ "digest resume": ["wcat digest resume weekly"],
521
+ "digest remove": ["wcat digest remove weekly"],
522
+ "digest backfill": [
523
+ "wcat digest backfill --since-time 2026-11-01 --until-time 2026-11-07",
524
+ "wcat digest backfill --since-time 2026-11-01 --until-time 2026-11-07 --yes --json",
525
+ ],
526
+ "digest brief show": ["wcat digest brief show", "wcat digest brief show --json"],
527
+ "digest history": ["wcat digest history --last 3 --compact", "wcat digest history weekly --json"],
528
+ "digest brief edit": [
529
+ "wcat digest brief edit",
530
+ "wcat digest brief edit --file brief.md",
531
+ "wcat digest brief edit --undo",
532
+ ],
533
+ "digest brief reset": ["wcat digest brief reset"],
534
+ "schedule pause": ["wcat schedule pause digest"],
535
+ "schedule resume": ["wcat schedule resume digest"],
536
+ "schedule remove": ["wcat schedule remove digest"],
537
+ "schedule exec": ["wcat schedule exec ~/.local/state/wcat/schedules/digest/schedule.json"],
538
+ "templates list": ["wcat templates list", "wcat templates list channel:telegram source:stored --json"],
539
+ "templates show": [
540
+ "wcat templates show report/morning-digest --channel telegram",
541
+ "wcat templates show report/weekly-gaps --channel email --locale en --json",
542
+ ],
543
+ "templates edit": [
544
+ "wcat templates edit report/morning-digest --channel telegram",
545
+ "wcat templates edit report/morning-digest --channel text --file digest.text.liquid",
546
+ "wcat templates edit report/morning-digest --channel telegram --undo",
547
+ ],
548
+ "templates preview": [
549
+ "wcat templates preview report/morning-digest --channel telegram",
550
+ "wcat templates preview report/morning-digest --channel email --locale en --file draft.liquid",
551
+ ],
552
+ "templates reset": ["wcat templates reset report/morning-digest --channel telegram"],
553
+ "agents list": ["wcat agents list agent:claude-code --limit 20"],
554
+ "mcp serve": ["wcat mcp serve", "wcat mcp serve --http --public-url https://laptop.example.ts.net"],
555
+ "mcp revoke": ["wcat mcp revoke --json"],
556
+ "mcp server start": ["wcat mcp server start --public-url https://laptop.example.ts.net"],
557
+ "mcp server status": ["wcat mcp server status --json"],
558
+ "mcp server stop": ["wcat mcp server stop"],
559
+ "search all": [
560
+ "wcat search all 'budget harbour'",
561
+ "wcat search all 'Rental agreement' --only business",
562
+ "wcat search all 'release date' --source zoom:work,notes --json",
563
+ ],
564
+ "search messages": ["wcat search messages 'friday meeting has:voice'"],
565
+ "search mail": ["wcat search mail 'mailbox:important budget' --source email:me@example.com"],
566
+ "search notes": ["wcat search notes budget notes:2", "wcat search notes kickoff --project HRB --json"],
567
+ "search memories": ["wcat search memories friday meetings scope:work"],
568
+ "search people": ["wcat search people ana", "wcat search people Ana Example --source telegram --json"],
569
+ "answers create": [
570
+ "wcat answers create 'what did Kai say about the budget?' --all",
571
+ "wcat answers create 'when is the launch?' --source telegram:1",
572
+ ],
573
+ sync: ["wcat sync", "wcat sync --only mail", "wcat sync --only people --no-embed"],
574
+ "jobs start": ["wcat jobs start --every 10m"],
575
+ "jobs stop": ["wcat jobs stop"],
576
+ "jobs status": ["wcat jobs status --json"],
577
+ "runs list": ["wcat runs list status:failed --limit 10", "wcat runs list --page 2 --json"],
578
+ "runs show": ["wcat runs show 20261025T090000Z-mail-sync-a81f2c --json"],
579
+ "runs path": ["wcat runs path 20261025T090000Z-mail-sync-a81f2c"],
580
+ "store info": ["wcat store info", "wcat store info --json"],
581
+ "store recover": ["wcat store recover", "wcat store recover --json"],
582
+ "store recover run": ["wcat store recover run"],
583
+ upgrade: ["wcat upgrade --check"],
584
+ commands: ["wcat commands --json", "wcat commands tags add --json"],
585
+ "skill show": ["wcat skill show"],
586
+ "skill install": ["wcat skill install --for all"],
587
+ "skill status": ["wcat skill status", "wcat skill status --json"],
588
+ guide: ["wcat guide", "wcat guide person-brief --json"],
589
+ help: ["wcat help options", "wcat help tasks agenda"],
590
+ };
591
+ export const leaves = (command, path = []) => command.commands.flatMap((child) => {
592
+ const at = [...path, child.name()];
593
+ return child.commands.length ? leaves(child, at) : [[at.join(" "), child]];
594
+ });
595
+ /** Puts each leaf's examples in `commands --json`; cli-core's help prints them as its Example lines. */
596
+ export const addExamples = (program) => {
597
+ for (const [path, command] of leaves(program)) {
598
+ const examples = EXAMPLES[path];
599
+ if (!examples || JSON.stringify(metaOf(command).examples) === JSON.stringify(examples))
600
+ continue;
601
+ if (hasSharedContract(command))
602
+ overrideSharedContract(command, "wcat examples use explicit stored-account scope rather than messenger profile words.", (one) => {
603
+ annotate(one, { examples });
604
+ });
605
+ else
606
+ annotate(command, { examples });
607
+ }
608
+ };
609
+ //# sourceMappingURL=examples.js.map