@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.
- package/LICENSE +204 -0
- package/README.md +400 -2
- package/THIRD_PARTY_NOTICES +2 -0
- package/contracts/wirecat.json +4612 -0
- package/dist/actions/actions.js +269 -0
- package/dist/actions/command.js +102 -0
- package/dist/agents/command.js +17 -0
- package/dist/agents/log.js +23 -0
- package/dist/answer.js +100 -0
- package/dist/answers/command.js +128 -0
- package/dist/app.js +15 -0
- package/dist/author.js +109 -0
- package/dist/bin/wcat-wirecat.js +40 -0
- package/dist/bots/command.js +175 -0
- package/dist/bundle/auto-YETGUQ2J.js +43 -0
- package/dist/bundle/chunk-3ME37WWB.js +31 -0
- package/dist/bundle/chunk-4WI3FO7T.js +395 -0
- package/dist/bundle/chunk-7O7XM37N.js +2 -0
- package/dist/bundle/chunk-DWQQRBQV.js +51 -0
- package/dist/bundle/chunk-FOWR5KJS.js +72 -0
- package/dist/bundle/chunk-GGRL6DTE.js +120 -0
- package/dist/bundle/chunk-KNFSW562.js +312 -0
- package/dist/bundle/chunk-KPJVVFQF.js +416 -0
- package/dist/bundle/chunk-WMPDRWVF.js +222 -0
- package/dist/bundle/chunk-X5OK73GU.js +807 -0
- package/dist/bundle/chunk-ZC4PRE6C.js +38 -0
- package/dist/bundle/entry-S4DSYEAY.js +64 -0
- package/dist/bundle/failure-FALOD7QW.js +19 -0
- package/dist/bundle/from-memo-XVOLSUOM.js +314 -0
- package/dist/bundle/program-XSZSINBU.js +14994 -0
- package/dist/bundle/server-GQ4NZUDL.js +303 -0
- package/dist/bundle/update-2EH5KHTV.js +22 -0
- package/dist/bundle/wcat-wirecat.js +83 -0
- package/dist/config-command.js +39 -0
- package/dist/config-issues.js +15 -0
- package/dist/config.js +187 -0
- package/dist/context/command.js +162 -0
- package/dist/context/context.js +197 -0
- package/dist/contract-overrides/commands.js +81 -0
- package/dist/contract-overrides/mcp.js +241 -0
- package/dist/contract-overrides/meetings.js +344 -0
- package/dist/contract-overrides/search.js +508 -0
- package/dist/contract-overrides/skill.js +85 -0
- package/dist/contract-overrides.js +7 -0
- package/dist/digest/backfill.js +175 -0
- package/dist/digest/brief.js +189 -0
- package/dist/digest/catch-up-record.js +30 -0
- package/dist/digest/catch-up.js +86 -0
- package/dist/digest/command.js +110 -0
- package/dist/digest/digest-commands.js +327 -0
- package/dist/digest/digest.js +560 -0
- package/dist/digest/digests.js +213 -0
- package/dist/digest/history.js +202 -0
- package/dist/digest/input.js +30 -0
- package/dist/digest/known.js +28 -0
- package/dist/digest/sources.js +155 -0
- package/dist/digest/sync-health.js +158 -0
- package/dist/digest/task-proposals.js +67 -0
- package/dist/digest/tasks.js +145 -0
- package/dist/digest/text.js +49 -0
- package/dist/discovery/command.js +107 -0
- package/dist/doctor/command.js +167 -0
- package/dist/documents/command.js +107 -0
- package/dist/domain-lists/command.js +13 -0
- package/dist/events/command.js +35 -0
- package/dist/events/events.js +196 -0
- package/dist/examples.js +609 -0
- package/dist/facts/command.js +100 -0
- package/dist/facts/fact.js +54 -0
- package/dist/facts/facts.js +15 -0
- package/dist/failure.js +58 -0
- package/dist/finance/command.js +121 -0
- package/dist/finance/contracts-command.js +109 -0
- package/dist/finance/deal-text.js +34 -0
- package/dist/finance/deals-command.js +346 -0
- package/dist/finance/finance.js +129 -0
- package/dist/finance/lines-command.js +70 -0
- package/dist/finance/orders-command.js +94 -0
- package/dist/finance/products-command.js +98 -0
- package/dist/finance/subscriptions-command.js +152 -0
- package/dist/finance/transactions-command.js +136 -0
- package/dist/finance/wallets-command.js +105 -0
- package/dist/finance/written.js +36 -0
- package/dist/findings/command.js +102 -0
- package/dist/findings-input.js +23 -0
- package/dist/identity.js +20 -0
- package/dist/install/postinstall.js +47 -0
- package/dist/json-fields.js +48 -0
- package/dist/knowledge/business-text.js +19 -0
- package/dist/knowledge/command.js +435 -0
- package/dist/knowledge/document-context.js +33 -0
- package/dist/knowledge/key-documents.js +120 -0
- package/dist/knowledge/list-queries.js +20 -0
- package/dist/knowledge/meeting-projects-command.js +61 -0
- package/dist/knowledge/messenger-sync.js +253 -0
- package/dist/knowledge/money-text.js +16 -0
- package/dist/knowledge/notes-about.js +81 -0
- package/dist/knowledge/organization-delete-command.js +44 -0
- package/dist/knowledge/organization-text.js +27 -0
- package/dist/knowledge/project-actions-command.js +130 -0
- package/dist/knowledge/project-actions.js +104 -0
- package/dist/knowledge/project-activity-command.js +70 -0
- package/dist/knowledge/project-context.js +101 -0
- package/dist/knowledge/project-findings.js +41 -0
- package/dist/knowledge/project-gather-command.js +100 -0
- package/dist/knowledge/project-status-command.js +129 -0
- package/dist/knowledge/project-transfer-command.js +58 -0
- package/dist/knowledge/project-transfer.js +107 -0
- package/dist/knowledge/relationships-scan.js +116 -0
- package/dist/knowledge/relationships.js +115 -0
- package/dist/knowledge/roles-command.js +67 -0
- package/dist/mail/command.js +20 -0
- package/dist/mail/findings-command.js +143 -0
- package/dist/mail/findings-duplicates.js +159 -0
- package/dist/mail/messages-command.js +77 -0
- package/dist/mail/review-command.js +59 -0
- package/dist/mail/subscriptions-command.js +84 -0
- package/dist/mcp/catalogue.js +159 -0
- package/dist/mcp/command.js +125 -0
- package/dist/mcp/granted.js +18 -0
- package/dist/mcp/permissions.js +61 -0
- package/dist/mcp/server.js +128 -0
- package/dist/meetings/command.js +31 -0
- package/dist/meetings/list-command.js +59 -0
- package/dist/meetings/preparation-command.js +42 -0
- package/dist/meetings/preparation-text.js +44 -0
- package/dist/meetings/preparation.js +50 -0
- package/dist/meetings/read.js +32 -0
- package/dist/memories/command.js +105 -0
- package/dist/memories/memories.js +17 -0
- package/dist/memories/memory.js +89 -0
- package/dist/memories/sources.js +111 -0
- package/dist/mentions/command.js +91 -0
- package/dist/migrate/check.js +48 -0
- package/dist/migrate/from-memo.js +345 -0
- package/dist/migrate/skill.js +35 -0
- package/dist/models/command.js +19 -0
- package/dist/options.js +35 -0
- package/dist/output.js +17 -0
- package/dist/page.js +14 -0
- package/dist/people/command.js +144 -0
- package/dist/people/delete-command.js +53 -0
- package/dist/people/doubts-command.js +81 -0
- package/dist/people/identities-command.js +188 -0
- package/dist/people/identity.js +42 -0
- package/dist/people/owner.js +14 -0
- package/dist/people/proposal-rows.js +70 -0
- package/dist/people/proposals-command.js +248 -0
- package/dist/people/review-context.js +108 -0
- package/dist/people/subject.js +19 -0
- package/dist/program.js +875 -0
- package/dist/read-only.js +51 -0
- package/dist/reasons.js +368 -0
- package/dist/records/import.js +135 -0
- package/dist/records/input.js +210 -0
- package/dist/records/mapping.js +80 -0
- package/dist/records/record-commands.js +125 -0
- package/dist/records/sources.js +73 -0
- package/dist/refs.js +28 -0
- package/dist/review/command.js +171 -0
- package/dist/review/kinds.js +44 -0
- package/dist/review/review.js +299 -0
- package/dist/review/status.js +93 -0
- package/dist/rows.js +219 -0
- package/dist/run/auto.js +237 -0
- package/dist/run/entry.js +62 -0
- package/dist/run/files.js +51 -0
- package/dist/run/import.js +253 -0
- package/dist/run/lock.js +20 -0
- package/dist/save-help.js +3 -0
- package/dist/schedule/command.js +58 -0
- package/dist/schedule/mail-triage-input.js +152 -0
- package/dist/schedule/task-triage-input.js +152 -0
- package/dist/search/answers.js +176 -0
- package/dist/search/command.js +257 -0
- package/dist/search/denied.js +9 -0
- package/dist/search/embed.js +126 -0
- package/dist/search/hits.js +4 -0
- package/dist/search/lane-gates.js +76 -0
- package/dist/search/notes-text.js +18 -0
- package/dist/search/people.js +88 -0
- package/dist/search/search.js +306 -0
- package/dist/show/command.js +179 -0
- package/dist/store/crm-viewer.js +102 -0
- package/dist/store/group.js +112 -0
- package/dist/store/groups-command.js +136 -0
- package/dist/store/guard.js +94 -0
- package/dist/store/held.js +21 -0
- package/dist/store/info-command.js +37 -0
- package/dist/store/scope.js +53 -0
- package/dist/store/source-list.js +222 -0
- package/dist/store/source-target.js +28 -0
- package/dist/tags/command.js +176 -0
- package/dist/tasks/command.js +174 -0
- package/dist/tasks/context.js +74 -0
- package/dist/tasks/list.js +199 -0
- package/dist/tasks/proposal-duplicates.js +70 -0
- package/dist/tasks/relations-command.js +28 -0
- package/dist/tasks/shared.js +105 -0
- package/dist/tasks/tasks.js +197 -0
- package/dist/templates/command.js +18 -0
- package/dist/terminal.js +23 -0
- package/dist/update.js +35 -0
- package/dist/version.js +2 -0
- package/dist/vocabulary/command.js +103 -0
- package/dist/vocabulary/inspect.js +23 -0
- package/dist/vocabulary/inspection.js +18 -0
- package/dist/vocabulary/list.js +18 -0
- package/dist/vocabulary/project.js +19 -0
- package/dist/wcat.js +3 -0
- package/install/postinstall.mjs +9 -0
- package/package.json +89 -4
- package/scenarios/decision-trail.md +21 -0
- package/scenarios/person-brief.md +35 -0
- package/scenarios/prepare-meeting.md +17 -0
- package/scenarios/project-state.md +26 -0
- package/scenarios/set-up.md +18 -0
- package/scenarios/start-the-day.md +19 -0
- package/skills/mail-triage/SKILL.md +208 -0
- package/skills/morning-digest/SKILL.md +147 -0
- package/skills/task-triage/SKILL.md +79 -0
- package/skills/wcat/SKILL.md +65 -0
- package/skills/wcat/topics/mail.md +32 -0
- package/skills/wcat/topics/mcp.md +22 -0
- package/skills/wcat/topics/meetings.md +37 -0
- package/skills/wcat/topics/money.md +52 -0
- package/skills/wcat/topics/projects.md +54 -0
- package/skills/wcat/topics/proposals.md +113 -0
- package/skills/wcat/topics/search.md +85 -0
- package/skills/wcat/topics/vocabulary.md +8 -0
|
@@ -0,0 +1,508 @@
|
|
|
1
|
+
// Reviewed differences from Core; update only after reviewing both definitions.
|
|
2
|
+
export const search = [
|
|
3
|
+
{
|
|
4
|
+
command: ["search"],
|
|
5
|
+
field: "summary",
|
|
6
|
+
before: "search the local archive",
|
|
7
|
+
after: null,
|
|
8
|
+
reason: "wcat searches imported accounts, mail and native notes without a live messenger; its scope, ranking and output controls are explicit provider differences.",
|
|
9
|
+
},
|
|
10
|
+
{
|
|
11
|
+
command: ["search"],
|
|
12
|
+
field: "description",
|
|
13
|
+
before: "find things by text: one resource when you know it (messages, notes), or search all across messages and notes; for mail, wcat: wcat search mail",
|
|
14
|
+
after: "search messages, mail, notes, memories and people; search all when unsure where",
|
|
15
|
+
reason: "wcat searches imported accounts, mail and native notes without a live messenger; its scope, ranking and output controls are explicit provider differences.",
|
|
16
|
+
},
|
|
17
|
+
{
|
|
18
|
+
command: ["search"],
|
|
19
|
+
field: "children",
|
|
20
|
+
before: ["all", "messages", "notes", "conversations", "runs"],
|
|
21
|
+
after: ["all", "messages", "notes"],
|
|
22
|
+
reason: "wcat searches imported accounts, mail and native notes without a live messenger; its scope, ranking and output controls are explicit provider differences.",
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
command: ["search", "all"],
|
|
26
|
+
field: "summary",
|
|
27
|
+
before: "search stored messages, notes, calendar events and selected meeting transcripts",
|
|
28
|
+
after: "messages, mail, notes, events, deals, meetings and issues ranked together",
|
|
29
|
+
reason: "wcat searches imported accounts, mail and native notes without a live messenger; its scope, ranking and output controls are explicit provider differences.",
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
command: ["search", "all"],
|
|
33
|
+
field: "description",
|
|
34
|
+
before: "search messenger messages and notes in the local store, calendar events when the store holds a calendar, and a meeting account's transcripts when --source names one — best match first; not mail (the separate memo CLI searches it: memo search mail), tasks, people, memories or projects. Use it when you do not know where something was written; search messages or notes reads one kind with all its fields",
|
|
35
|
+
after: "messages, mail, notes, calendar events, deals, leads, business data, meeting passages from every meeting account and tracker issues and projects, ranked together; not people, memories, wcat's projects or decisions. A kind you know reads better with its own search, with all its fields",
|
|
36
|
+
reason: "wcat searches imported accounts, mail and native notes without a live messenger; its scope, ranking and output controls are explicit provider differences.",
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
command: ["search", "all"],
|
|
40
|
+
field: "effects",
|
|
41
|
+
before: {
|
|
42
|
+
remote: "read",
|
|
43
|
+
local: "read",
|
|
44
|
+
},
|
|
45
|
+
after: {
|
|
46
|
+
remote: "none",
|
|
47
|
+
local: "read",
|
|
48
|
+
},
|
|
49
|
+
reason: "wcat searches imported accounts, mail and native notes without a live messenger; its scope, ranking and output controls are explicit provider differences.",
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
command: ["search", "all"],
|
|
53
|
+
field: "examples",
|
|
54
|
+
before: ["wcat personal search all draft"],
|
|
55
|
+
after: null,
|
|
56
|
+
reason: "wcat searches imported accounts, mail and native notes without a live messenger; its scope, ranking and output controls are explicit provider differences.",
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
command: ["search", "all"],
|
|
60
|
+
field: "arguments",
|
|
61
|
+
before: [
|
|
62
|
+
{
|
|
63
|
+
name: "query",
|
|
64
|
+
required: true,
|
|
65
|
+
variadic: true,
|
|
66
|
+
description: 'strict Lucene query: words, "phrases", AND/OR/NOT, field groups and date ranges',
|
|
67
|
+
},
|
|
68
|
+
],
|
|
69
|
+
after: [
|
|
70
|
+
{
|
|
71
|
+
name: "query",
|
|
72
|
+
required: true,
|
|
73
|
+
variadic: true,
|
|
74
|
+
description: "words, phrases, Boolean operators and field queries",
|
|
75
|
+
},
|
|
76
|
+
],
|
|
77
|
+
reason: "wcat searches imported accounts, mail and native notes without a live messenger; its scope, ranking and output controls are explicit provider differences.",
|
|
78
|
+
},
|
|
79
|
+
{
|
|
80
|
+
command: ["search", "all"],
|
|
81
|
+
field: "options",
|
|
82
|
+
before: [
|
|
83
|
+
{
|
|
84
|
+
flags: "--only <resources>",
|
|
85
|
+
description: "only these resources, separated by commas: messages, notes, events; meetings when --source names a meeting account",
|
|
86
|
+
takes_value: true,
|
|
87
|
+
mandatory: false,
|
|
88
|
+
},
|
|
89
|
+
{
|
|
90
|
+
flags: "--source <accounts>",
|
|
91
|
+
description: "only these accounts, separated by commas: provider:account as a hit shows it, a provider, a kind or group:<name>; each resource reads the ones of its kind, and meetings only when it names one",
|
|
92
|
+
takes_value: true,
|
|
93
|
+
mandatory: false,
|
|
94
|
+
},
|
|
95
|
+
{
|
|
96
|
+
flags: "--max-meetings <n>",
|
|
97
|
+
description: "how many of the meeting account's meetings to look through, newest first, or all for every one (default 100)",
|
|
98
|
+
takes_value: true,
|
|
99
|
+
mandatory: false,
|
|
100
|
+
},
|
|
101
|
+
{
|
|
102
|
+
flags: "--limit <n>",
|
|
103
|
+
description: "how many",
|
|
104
|
+
takes_value: true,
|
|
105
|
+
mandatory: false,
|
|
106
|
+
},
|
|
107
|
+
{
|
|
108
|
+
flags: "--page <n>",
|
|
109
|
+
description: "which page, starting at 1",
|
|
110
|
+
takes_value: true,
|
|
111
|
+
mandatory: false,
|
|
112
|
+
},
|
|
113
|
+
{
|
|
114
|
+
flags: "--exact",
|
|
115
|
+
description: "bare words and quotes match their exact form only, as exact:word does",
|
|
116
|
+
takes_value: false,
|
|
117
|
+
mandatory: false,
|
|
118
|
+
},
|
|
119
|
+
{
|
|
120
|
+
flags: "--timezone <zone>",
|
|
121
|
+
description: "the IANA timezone for calendar date boundaries",
|
|
122
|
+
takes_value: true,
|
|
123
|
+
mandatory: false,
|
|
124
|
+
},
|
|
125
|
+
],
|
|
126
|
+
after: [
|
|
127
|
+
{
|
|
128
|
+
flags: "--limit <n>",
|
|
129
|
+
description: "most results, at most 100",
|
|
130
|
+
takes_value: true,
|
|
131
|
+
mandatory: false,
|
|
132
|
+
default: 20,
|
|
133
|
+
},
|
|
134
|
+
{
|
|
135
|
+
flags: "--exact",
|
|
136
|
+
description: "words as written; skip meaning search",
|
|
137
|
+
takes_value: false,
|
|
138
|
+
mandatory: false,
|
|
139
|
+
},
|
|
140
|
+
{
|
|
141
|
+
flags: "--timezone <zone>",
|
|
142
|
+
description: "IANA timezone for calendar date boundaries",
|
|
143
|
+
takes_value: true,
|
|
144
|
+
mandatory: false,
|
|
145
|
+
},
|
|
146
|
+
{
|
|
147
|
+
flags: "--json",
|
|
148
|
+
description: "print JSON; --json=id,title keeps only those fields",
|
|
149
|
+
takes_value: false,
|
|
150
|
+
mandatory: false,
|
|
151
|
+
},
|
|
152
|
+
{
|
|
153
|
+
flags: "--only <resources>",
|
|
154
|
+
description: "messages,mail,notes,events,crm,business,meetings,tracker, separated by commas",
|
|
155
|
+
takes_value: true,
|
|
156
|
+
mandatory: false,
|
|
157
|
+
},
|
|
158
|
+
{
|
|
159
|
+
flags: "--source <accounts>",
|
|
160
|
+
description: "only these accounts, separated by commas: provider:account as a hit shows it, a provider, a kind or group:<name>; each resource reads the ones of its kind, and one it names none of is left out",
|
|
161
|
+
takes_value: true,
|
|
162
|
+
mandatory: false,
|
|
163
|
+
},
|
|
164
|
+
{
|
|
165
|
+
flags: "--plain-order",
|
|
166
|
+
description: "best first by the words alone, without moving mail from suspicious senders down",
|
|
167
|
+
takes_value: false,
|
|
168
|
+
mandatory: false,
|
|
169
|
+
},
|
|
170
|
+
{
|
|
171
|
+
flags: "--harder",
|
|
172
|
+
description: "a hosted model reorders the first 30 hits; sends the question and those hits to the provider you chose with wcat models search-consents set <provider> --yes, only after that",
|
|
173
|
+
takes_value: false,
|
|
174
|
+
mandatory: false,
|
|
175
|
+
},
|
|
176
|
+
{
|
|
177
|
+
flags: "--project <project>",
|
|
178
|
+
description: "rank the key documents of this project (id, project:<id>, key, exact name or alias) first; nothing is left out",
|
|
179
|
+
takes_value: true,
|
|
180
|
+
mandatory: false,
|
|
181
|
+
},
|
|
182
|
+
],
|
|
183
|
+
reason: "wcat searches imported accounts, mail and native notes without a live messenger; its scope, ranking and output controls are explicit provider differences.",
|
|
184
|
+
},
|
|
185
|
+
{
|
|
186
|
+
command: ["search", "messages"],
|
|
187
|
+
field: "summary",
|
|
188
|
+
before: "find messages by words and filters",
|
|
189
|
+
after: null,
|
|
190
|
+
reason: "wcat searches imported accounts, mail and native notes without a live messenger; its scope, ranking and output controls are explicit provider differences.",
|
|
191
|
+
},
|
|
192
|
+
{
|
|
193
|
+
command: ["search", "messages"],
|
|
194
|
+
field: "description",
|
|
195
|
+
before: "search messenger messages in the local store — what was read, fetched or kept by serve; --discover searches the archive only",
|
|
196
|
+
after: "stored messenger messages only",
|
|
197
|
+
reason: "wcat searches imported accounts, mail and native notes without a live messenger; its scope, ranking and output controls are explicit provider differences.",
|
|
198
|
+
},
|
|
199
|
+
{
|
|
200
|
+
command: ["search", "messages"],
|
|
201
|
+
field: "effects",
|
|
202
|
+
before: {
|
|
203
|
+
remote: "read",
|
|
204
|
+
local: "read",
|
|
205
|
+
},
|
|
206
|
+
after: {
|
|
207
|
+
remote: "none",
|
|
208
|
+
local: "read",
|
|
209
|
+
},
|
|
210
|
+
reason: "wcat searches imported accounts, mail and native notes without a live messenger; its scope, ranking and output controls are explicit provider differences.",
|
|
211
|
+
},
|
|
212
|
+
{
|
|
213
|
+
command: ["search", "messages"],
|
|
214
|
+
field: "examples",
|
|
215
|
+
before: ["wcat personal search messages draft --limit 10"],
|
|
216
|
+
after: null,
|
|
217
|
+
reason: "wcat searches imported accounts, mail and native notes without a live messenger; its scope, ranking and output controls are explicit provider differences.",
|
|
218
|
+
},
|
|
219
|
+
{
|
|
220
|
+
command: ["search", "messages"],
|
|
221
|
+
field: "arguments",
|
|
222
|
+
before: [
|
|
223
|
+
{
|
|
224
|
+
name: "query",
|
|
225
|
+
required: false,
|
|
226
|
+
variadic: true,
|
|
227
|
+
description: 'strict Lucene query: words, "phrases", AND/OR/NOT, field groups and date ranges; with --saved, more words AND-ed to it',
|
|
228
|
+
},
|
|
229
|
+
],
|
|
230
|
+
after: [
|
|
231
|
+
{
|
|
232
|
+
name: "query",
|
|
233
|
+
required: true,
|
|
234
|
+
variadic: true,
|
|
235
|
+
description: "words, phrases, Boolean operators and field queries",
|
|
236
|
+
},
|
|
237
|
+
],
|
|
238
|
+
reason: "wcat searches imported accounts, mail and native notes without a live messenger; its scope, ranking and output controls are explicit provider differences.",
|
|
239
|
+
},
|
|
240
|
+
{
|
|
241
|
+
command: ["search", "messages"],
|
|
242
|
+
field: "options",
|
|
243
|
+
before: [
|
|
244
|
+
{
|
|
245
|
+
flags: "--thread",
|
|
246
|
+
description: "the stored reply chain and replies instead of time neighbours; falls back when no graph exists",
|
|
247
|
+
takes_value: false,
|
|
248
|
+
mandatory: false,
|
|
249
|
+
},
|
|
250
|
+
{
|
|
251
|
+
flags: "--thread-hops <n>",
|
|
252
|
+
description: "at most this many links from the hit (default: 8)",
|
|
253
|
+
takes_value: true,
|
|
254
|
+
mandatory: false,
|
|
255
|
+
},
|
|
256
|
+
{
|
|
257
|
+
flags: "--thread-messages <n>",
|
|
258
|
+
description: "at most this many messages in each thread context (default: 50)",
|
|
259
|
+
takes_value: true,
|
|
260
|
+
mandatory: false,
|
|
261
|
+
},
|
|
262
|
+
{
|
|
263
|
+
flags: "--thread-bytes <n>",
|
|
264
|
+
description: "at most this many bytes of whole messages and links in each context (default: 65536)",
|
|
265
|
+
takes_value: true,
|
|
266
|
+
mandatory: false,
|
|
267
|
+
},
|
|
268
|
+
{
|
|
269
|
+
flags: "--thread-within <duration>",
|
|
270
|
+
description: "messages within this long either side of the hit (default: 1d)",
|
|
271
|
+
takes_value: true,
|
|
272
|
+
mandatory: false,
|
|
273
|
+
},
|
|
274
|
+
{
|
|
275
|
+
flags: "--source <accounts>",
|
|
276
|
+
description: "every account of this messenger held in the store; personal, bots or all — the same as in: in the query; or a list: group:work,telegram:Alice",
|
|
277
|
+
takes_value: true,
|
|
278
|
+
mandatory: false,
|
|
279
|
+
},
|
|
280
|
+
{
|
|
281
|
+
flags: "--limit <n>",
|
|
282
|
+
description: "how many",
|
|
283
|
+
takes_value: true,
|
|
284
|
+
mandatory: false,
|
|
285
|
+
},
|
|
286
|
+
{
|
|
287
|
+
flags: "--page <n>",
|
|
288
|
+
description: "which page, starting at 1",
|
|
289
|
+
takes_value: true,
|
|
290
|
+
mandatory: false,
|
|
291
|
+
},
|
|
292
|
+
{
|
|
293
|
+
flags: "--newest",
|
|
294
|
+
description: "newest first instead of best first",
|
|
295
|
+
takes_value: false,
|
|
296
|
+
mandatory: false,
|
|
297
|
+
},
|
|
298
|
+
{
|
|
299
|
+
flags: "--exact",
|
|
300
|
+
description: "bare words and quotes match their exact form only, as exact:word does; text: still matches every form",
|
|
301
|
+
takes_value: false,
|
|
302
|
+
mandatory: false,
|
|
303
|
+
},
|
|
304
|
+
{
|
|
305
|
+
flags: "--context <n>",
|
|
306
|
+
description: "messages before and after each hit; 2 in the terminal, 0 otherwise",
|
|
307
|
+
takes_value: true,
|
|
308
|
+
mandatory: false,
|
|
309
|
+
},
|
|
310
|
+
{
|
|
311
|
+
flags: "--discover",
|
|
312
|
+
description: "find partial word matches, eligible replies and, once messages have vectors, messages close in meaning in the local archive; results are evidence, not confirmed answers",
|
|
313
|
+
takes_value: false,
|
|
314
|
+
mandatory: false,
|
|
315
|
+
},
|
|
316
|
+
{
|
|
317
|
+
flags: "--timezone <zone>",
|
|
318
|
+
description: "the IANA timezone for calendar date boundaries",
|
|
319
|
+
takes_value: true,
|
|
320
|
+
mandatory: false,
|
|
321
|
+
},
|
|
322
|
+
{
|
|
323
|
+
flags: "--saved <name|id>",
|
|
324
|
+
description: "run a saved search or an earlier run; options typed here replace its own",
|
|
325
|
+
takes_value: true,
|
|
326
|
+
mandatory: false,
|
|
327
|
+
},
|
|
328
|
+
],
|
|
329
|
+
after: [
|
|
330
|
+
{
|
|
331
|
+
flags: "--limit <n>",
|
|
332
|
+
description: "most results, at most 100",
|
|
333
|
+
takes_value: true,
|
|
334
|
+
mandatory: false,
|
|
335
|
+
default: 20,
|
|
336
|
+
},
|
|
337
|
+
{
|
|
338
|
+
flags: "--exact",
|
|
339
|
+
description: "words as written; skip meaning search",
|
|
340
|
+
takes_value: false,
|
|
341
|
+
mandatory: false,
|
|
342
|
+
},
|
|
343
|
+
{
|
|
344
|
+
flags: "--timezone <zone>",
|
|
345
|
+
description: "IANA timezone for calendar date boundaries",
|
|
346
|
+
takes_value: true,
|
|
347
|
+
mandatory: false,
|
|
348
|
+
},
|
|
349
|
+
{
|
|
350
|
+
flags: "--json",
|
|
351
|
+
description: "print JSON; --json=id,title keeps only those fields",
|
|
352
|
+
takes_value: false,
|
|
353
|
+
mandatory: false,
|
|
354
|
+
},
|
|
355
|
+
{
|
|
356
|
+
flags: "--brief",
|
|
357
|
+
description: "each message as reference, time, sender and excerpt only",
|
|
358
|
+
takes_value: false,
|
|
359
|
+
mandatory: false,
|
|
360
|
+
},
|
|
361
|
+
{
|
|
362
|
+
flags: "--full",
|
|
363
|
+
description: "each message with its whole text; --json still gives the excerpt",
|
|
364
|
+
takes_value: false,
|
|
365
|
+
mandatory: false,
|
|
366
|
+
},
|
|
367
|
+
],
|
|
368
|
+
reason: "wcat searches imported accounts, mail and native notes without a live messenger; its scope, ranking and output controls are explicit provider differences.",
|
|
369
|
+
},
|
|
370
|
+
{
|
|
371
|
+
command: ["search", "notes"],
|
|
372
|
+
field: "summary",
|
|
373
|
+
before: "find stored notes by words and filters",
|
|
374
|
+
after: null,
|
|
375
|
+
reason: "wcat searches imported accounts, mail and native notes without a live messenger; its scope, ranking and output controls are explicit provider differences.",
|
|
376
|
+
},
|
|
377
|
+
{
|
|
378
|
+
command: ["search", "notes"],
|
|
379
|
+
field: "description",
|
|
380
|
+
before: "search the notes — written in wcat, or imported from a notes folder — by words and, with the local text model, by meaning; each hit says which found it and what it links to",
|
|
381
|
+
after: "native notes by words and, with the local model, meaning",
|
|
382
|
+
reason: "wcat searches imported accounts, mail and native notes without a live messenger; its scope, ranking and output controls are explicit provider differences.",
|
|
383
|
+
},
|
|
384
|
+
{
|
|
385
|
+
command: ["search", "notes"],
|
|
386
|
+
field: "examples",
|
|
387
|
+
before: ["wcat personal search notes draft --limit 10"],
|
|
388
|
+
after: null,
|
|
389
|
+
reason: "wcat searches imported accounts, mail and native notes without a live messenger; its scope, ranking and output controls are explicit provider differences.",
|
|
390
|
+
},
|
|
391
|
+
{
|
|
392
|
+
command: ["search", "notes"],
|
|
393
|
+
field: "arguments",
|
|
394
|
+
before: [
|
|
395
|
+
{
|
|
396
|
+
name: "query",
|
|
397
|
+
required: true,
|
|
398
|
+
variadic: true,
|
|
399
|
+
description: 'strict Lucene query: words, "phrases", AND/OR/NOT, tag:, source:internal (written in wcat) or source:file (from a notes folder) and date ranges',
|
|
400
|
+
},
|
|
401
|
+
],
|
|
402
|
+
after: [
|
|
403
|
+
{
|
|
404
|
+
name: "query",
|
|
405
|
+
required: true,
|
|
406
|
+
variadic: true,
|
|
407
|
+
description: "words, phrases, Boolean operators and field queries",
|
|
408
|
+
},
|
|
409
|
+
],
|
|
410
|
+
reason: "wcat searches imported accounts, mail and native notes without a live messenger; its scope, ranking and output controls are explicit provider differences.",
|
|
411
|
+
},
|
|
412
|
+
{
|
|
413
|
+
command: ["search", "notes"],
|
|
414
|
+
field: "options",
|
|
415
|
+
before: [
|
|
416
|
+
{
|
|
417
|
+
flags: "--source <accounts>",
|
|
418
|
+
description: "only these notes accounts, separated by commas: notes:internal for notes written in wcat, notes:<folder id> as a hit shows it, notes, documents or group:<name>",
|
|
419
|
+
takes_value: true,
|
|
420
|
+
mandatory: false,
|
|
421
|
+
},
|
|
422
|
+
{
|
|
423
|
+
flags: "--filter <query>",
|
|
424
|
+
description: "a query every hit must also match, found by words or by meaning",
|
|
425
|
+
takes_value: true,
|
|
426
|
+
mandatory: false,
|
|
427
|
+
},
|
|
428
|
+
{
|
|
429
|
+
flags: "--limit <n>",
|
|
430
|
+
description: "how many",
|
|
431
|
+
takes_value: true,
|
|
432
|
+
mandatory: false,
|
|
433
|
+
},
|
|
434
|
+
{
|
|
435
|
+
flags: "--page <n>",
|
|
436
|
+
description: "which page, starting at 1",
|
|
437
|
+
takes_value: true,
|
|
438
|
+
mandatory: false,
|
|
439
|
+
},
|
|
440
|
+
{
|
|
441
|
+
flags: "--exact",
|
|
442
|
+
description: "words as written only; meaning is not searched",
|
|
443
|
+
takes_value: false,
|
|
444
|
+
mandatory: false,
|
|
445
|
+
},
|
|
446
|
+
{
|
|
447
|
+
flags: "--timezone <zone>",
|
|
448
|
+
description: "the IANA timezone for calendar date boundaries",
|
|
449
|
+
takes_value: true,
|
|
450
|
+
mandatory: false,
|
|
451
|
+
},
|
|
452
|
+
],
|
|
453
|
+
after: [
|
|
454
|
+
{
|
|
455
|
+
flags: "--limit <n>",
|
|
456
|
+
description: "most results, at most 100",
|
|
457
|
+
takes_value: true,
|
|
458
|
+
mandatory: false,
|
|
459
|
+
default: 20,
|
|
460
|
+
},
|
|
461
|
+
{
|
|
462
|
+
flags: "--exact",
|
|
463
|
+
description: "words as written; skip meaning search",
|
|
464
|
+
takes_value: false,
|
|
465
|
+
mandatory: false,
|
|
466
|
+
},
|
|
467
|
+
{
|
|
468
|
+
flags: "--timezone <zone>",
|
|
469
|
+
description: "IANA timezone for calendar date boundaries",
|
|
470
|
+
takes_value: true,
|
|
471
|
+
mandatory: false,
|
|
472
|
+
},
|
|
473
|
+
{
|
|
474
|
+
flags: "--json",
|
|
475
|
+
description: "print JSON; --json=id,title keeps only those fields",
|
|
476
|
+
takes_value: false,
|
|
477
|
+
mandatory: false,
|
|
478
|
+
},
|
|
479
|
+
{
|
|
480
|
+
flags: "--filter <query>",
|
|
481
|
+
description: "another query every note must match",
|
|
482
|
+
takes_value: true,
|
|
483
|
+
mandatory: false,
|
|
484
|
+
},
|
|
485
|
+
{
|
|
486
|
+
flags: "--source <accounts>",
|
|
487
|
+
description: "only these notes accounts, separated by commas: notes:internal for notes written in wcat, notes:<folder id> as a hit shows it, notes or group:<name>",
|
|
488
|
+
takes_value: true,
|
|
489
|
+
mandatory: false,
|
|
490
|
+
},
|
|
491
|
+
{
|
|
492
|
+
flags: "--page <n>",
|
|
493
|
+
description: "which page, from 1",
|
|
494
|
+
takes_value: true,
|
|
495
|
+
mandatory: false,
|
|
496
|
+
default: 1,
|
|
497
|
+
},
|
|
498
|
+
{
|
|
499
|
+
flags: "--project <project>",
|
|
500
|
+
description: "rank the key documents of this project (id, project:<id>, key, exact name or alias) first, labelled key; nothing is left out",
|
|
501
|
+
takes_value: true,
|
|
502
|
+
mandatory: false,
|
|
503
|
+
},
|
|
504
|
+
],
|
|
505
|
+
reason: "wcat searches imported accounts, mail and native notes without a live messenger; its scope, ranking and output controls are explicit provider differences.",
|
|
506
|
+
},
|
|
507
|
+
];
|
|
508
|
+
//# sourceMappingURL=search.js.map
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
const REASON = "wcat installs its own stored-data instructions through its environment, prints the packaged skills (morning-digest with the owner's brief from the store after it), and takes --json on each skill command because it has no global one.";
|
|
2
|
+
const SHOW_DESCRIPTION = "print SKILL.md — `wcat skill install` puts it where Claude Code, Codex, Gemini CLI and OpenClaw look for it, and where Hermes does on request; --for prints the copy already there";
|
|
3
|
+
const JSON_OPTION = { flags: "--json", description: "print JSON", takes_value: false, mandatory: false };
|
|
4
|
+
const SHOW_FOR = {
|
|
5
|
+
flags: "--for <agents>",
|
|
6
|
+
description: "print the copy installed for these agents instead of this version's",
|
|
7
|
+
takes_value: true,
|
|
8
|
+
mandatory: false,
|
|
9
|
+
choices: ["claude", "agents"],
|
|
10
|
+
};
|
|
11
|
+
const INSTALL_FOR = {
|
|
12
|
+
flags: "--for <agents>",
|
|
13
|
+
description: "which agents to install for",
|
|
14
|
+
takes_value: true,
|
|
15
|
+
mandatory: false,
|
|
16
|
+
choices: ["claude", "agents", "hermes", "all"],
|
|
17
|
+
default: "all",
|
|
18
|
+
};
|
|
19
|
+
// Reviewed differences from Core; update only after reviewing both definitions.
|
|
20
|
+
export const skill = [
|
|
21
|
+
{
|
|
22
|
+
command: ["skill", "show"],
|
|
23
|
+
field: "description",
|
|
24
|
+
before: SHOW_DESCRIPTION,
|
|
25
|
+
after: `${SHOW_DESCRIPTION}; morning-digest ends with your brief from \`wcat digest brief\` when you wrote one`,
|
|
26
|
+
reason: REASON,
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
command: ["skill", "show"],
|
|
30
|
+
field: "examples",
|
|
31
|
+
before: ["wcat skill show"],
|
|
32
|
+
after: null,
|
|
33
|
+
reason: REASON,
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
command: ["skill", "install"],
|
|
37
|
+
field: "examples",
|
|
38
|
+
before: ["wcat skill install --for agents"],
|
|
39
|
+
after: null,
|
|
40
|
+
reason: REASON,
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
command: ["skill", "show"],
|
|
44
|
+
field: "options",
|
|
45
|
+
before: [SHOW_FOR],
|
|
46
|
+
after: [SHOW_FOR, JSON_OPTION],
|
|
47
|
+
reason: REASON,
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
command: ["skill", "show"],
|
|
51
|
+
field: "arguments",
|
|
52
|
+
before: [
|
|
53
|
+
{
|
|
54
|
+
name: "name",
|
|
55
|
+
required: false,
|
|
56
|
+
variadic: false,
|
|
57
|
+
description: "a part of this skill, or a skill shipped for a task: vocabulary, search, proposals, projects, money, meetings, mcp, mail",
|
|
58
|
+
},
|
|
59
|
+
],
|
|
60
|
+
after: [
|
|
61
|
+
{
|
|
62
|
+
name: "name",
|
|
63
|
+
required: false,
|
|
64
|
+
variadic: false,
|
|
65
|
+
description: "a part of this skill, or a skill shipped for a task: vocabulary, search, proposals, projects, money, meetings, mcp, mail, mail-triage, morning-digest, task-triage",
|
|
66
|
+
},
|
|
67
|
+
],
|
|
68
|
+
reason: REASON,
|
|
69
|
+
},
|
|
70
|
+
{
|
|
71
|
+
command: ["skill", "install"],
|
|
72
|
+
field: "options",
|
|
73
|
+
before: [INSTALL_FOR],
|
|
74
|
+
after: [INSTALL_FOR, JSON_OPTION],
|
|
75
|
+
reason: REASON,
|
|
76
|
+
},
|
|
77
|
+
{
|
|
78
|
+
command: ["skill", "status"],
|
|
79
|
+
field: "options",
|
|
80
|
+
before: [],
|
|
81
|
+
after: [JSON_OPTION],
|
|
82
|
+
reason: REASON,
|
|
83
|
+
},
|
|
84
|
+
];
|
|
85
|
+
//# sourceMappingURL=skill.js.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { commands } from "./contract-overrides/commands.js";
|
|
2
|
+
import { mcp } from "./contract-overrides/mcp.js";
|
|
3
|
+
import { meetings } from "./contract-overrides/meetings.js";
|
|
4
|
+
import { search } from "./contract-overrides/search.js";
|
|
5
|
+
import { skill } from "./contract-overrides/skill.js";
|
|
6
|
+
export const SHELL_OVERRIDES = { search, skill, mcp, commands, meetings };
|
|
7
|
+
//# sourceMappingURL=contract-overrides.js.map
|