@wirecat/attio-cli 0.8.0 → 0.10.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 (207) hide show
  1. package/CHANGELOG.md +23 -0
  2. package/contracts/wirecat.json +1 -0
  3. package/dist/bin/attio.js +11 -11
  4. package/dist/bundle/attio.js +5 -166
  5. package/dist/bundle/{chunk-UXJZISVL.js → chunk-OGWKDPR5.js} +2 -1
  6. package/dist/bundle/chunk-TQAECZFO.js +13 -0
  7. package/dist/bundle/{definitions-FODOIPM2.js → definitions-J73IBAHT.js} +1 -1
  8. package/dist/bundle/program-NSBWZ25F.js +6201 -0
  9. package/dist/bundle/{schemas-YGSTNU6F.js → schemas-G3HFAS45.js} +576 -29
  10. package/dist/commands/api.js +1 -2
  11. package/dist/commands/crm.js +1 -4
  12. package/dist/commands/schedule.js +1 -1
  13. package/dist/commands/session.js +1 -2
  14. package/dist/config.js +1 -2
  15. package/dist/context.js +1 -1
  16. package/dist/identity.js +1 -0
  17. package/dist/program.js +1 -2
  18. package/dist/version.js +1 -1
  19. package/package.json +4 -4
  20. package/dist/activities.d.ts +0 -4
  21. package/dist/activities.d.ts.map +0 -1
  22. package/dist/activities.js.map +0 -1
  23. package/dist/bin/attio.d.ts +0 -3
  24. package/dist/bin/attio.d.ts.map +0 -1
  25. package/dist/bin/attio.js.map +0 -1
  26. package/dist/bundle/agent-GUXXSLT5.js +0 -38
  27. package/dist/bundle/all-profiles-63N3EQ46.js +0 -320
  28. package/dist/bundle/anthropic-B4W7MZQE.js +0 -91
  29. package/dist/bundle/app-server-EXNGTHWO.js +0 -250
  30. package/dist/bundle/bun-OPDGMZZQ.js +0 -169
  31. package/dist/bundle/bun-sqlite-NBAY7FR2.js +0 -76
  32. package/dist/bundle/chunk-2JHVQMVC.js +0 -16
  33. package/dist/bundle/chunk-2QDUP74I.js +0 -794
  34. package/dist/bundle/chunk-2XBDILVW.js +0 -53
  35. package/dist/bundle/chunk-3HC5F3P7.js +0 -24
  36. package/dist/bundle/chunk-3MSHGNVE.js +0 -1243
  37. package/dist/bundle/chunk-3YM4B2GT.js +0 -63
  38. package/dist/bundle/chunk-4N7PP76S.js +0 -6848
  39. package/dist/bundle/chunk-4RBMCXZT.js +0 -1337
  40. package/dist/bundle/chunk-4RSWOPKL.js +0 -323
  41. package/dist/bundle/chunk-5JKTVAXX.js +0 -2788
  42. package/dist/bundle/chunk-5N2V6XO7.js +0 -119
  43. package/dist/bundle/chunk-5WD22IXQ.js +0 -66
  44. package/dist/bundle/chunk-6K4Z6CAM.js +0 -43997
  45. package/dist/bundle/chunk-6TD3DCWC.js +0 -106
  46. package/dist/bundle/chunk-7Z53MLQP.js +0 -388
  47. package/dist/bundle/chunk-AATTOFNY.js +0 -2045
  48. package/dist/bundle/chunk-APARYILG.js +0 -743
  49. package/dist/bundle/chunk-D72URWJE.js +0 -532
  50. package/dist/bundle/chunk-DFDN6AUB.js +0 -21
  51. package/dist/bundle/chunk-DM7KWVDZ.js +0 -3752
  52. package/dist/bundle/chunk-DNCLQPOM.js +0 -7
  53. package/dist/bundle/chunk-DPD4FMHN.js +0 -388
  54. package/dist/bundle/chunk-DPV53EZC.js +0 -206
  55. package/dist/bundle/chunk-DURNR4RO.js +0 -353
  56. package/dist/bundle/chunk-EH6ZEJGT.js +0 -932
  57. package/dist/bundle/chunk-EVUMQKV7.js +0 -76
  58. package/dist/bundle/chunk-EY36BTKZ.js +0 -108
  59. package/dist/bundle/chunk-FH6OEGGN.js +0 -557
  60. package/dist/bundle/chunk-FOP6G45D.js +0 -358
  61. package/dist/bundle/chunk-GGMAIIVE.js +0 -38
  62. package/dist/bundle/chunk-GTEX4IUO.js +0 -334
  63. package/dist/bundle/chunk-HZ3C4WXD.js +0 -142
  64. package/dist/bundle/chunk-IA7LLLEI.js +0 -100
  65. package/dist/bundle/chunk-J6GVVISK.js +0 -185
  66. package/dist/bundle/chunk-JG6LCSEX.js +0 -407
  67. package/dist/bundle/chunk-JIGEJZ4I.js +0 -68943
  68. package/dist/bundle/chunk-KVTNYRDO.js +0 -1007
  69. package/dist/bundle/chunk-L45WN3AR.js +0 -80
  70. package/dist/bundle/chunk-L72WUJAS.js +0 -54
  71. package/dist/bundle/chunk-LKH3UKLO.js +0 -230
  72. package/dist/bundle/chunk-LM3W7YOM.js +0 -274
  73. package/dist/bundle/chunk-M4AC55ZB.js +0 -12733
  74. package/dist/bundle/chunk-MCLQTCGH.js +0 -1202
  75. package/dist/bundle/chunk-NB7EOAUZ.js +0 -123
  76. package/dist/bundle/chunk-NISH4UXM.js +0 -58
  77. package/dist/bundle/chunk-OYEVYOCL.js +0 -259
  78. package/dist/bundle/chunk-P7G5HFY3.js +0 -288
  79. package/dist/bundle/chunk-PAEKXVJW.js +0 -188
  80. package/dist/bundle/chunk-PL5P7UKW.js +0 -25216
  81. package/dist/bundle/chunk-PLPBEWD4.js +0 -170
  82. package/dist/bundle/chunk-PMQ7GP6X.js +0 -95
  83. package/dist/bundle/chunk-Q7ICVP25.js +0 -18
  84. package/dist/bundle/chunk-QPPOIWPY.js +0 -1246
  85. package/dist/bundle/chunk-QSJKSPWF.js +0 -131
  86. package/dist/bundle/chunk-RDVTHFPP.js +0 -338
  87. package/dist/bundle/chunk-RQORQN2V.js +0 -4072
  88. package/dist/bundle/chunk-RRTMPSQR.js +0 -29
  89. package/dist/bundle/chunk-S4UUN6LD.js +0 -1410
  90. package/dist/bundle/chunk-S6JG4YUH.js +0 -72
  91. package/dist/bundle/chunk-SCI7QEHF.js +0 -362
  92. package/dist/bundle/chunk-SSA6JBPA.js +0 -778
  93. package/dist/bundle/chunk-T4J7XFXT.js +0 -9667
  94. package/dist/bundle/chunk-TTF5DP4V.js +0 -1197
  95. package/dist/bundle/chunk-TXDR6YSF.js +0 -23
  96. package/dist/bundle/chunk-TY7NDMFY.js +0 -46
  97. package/dist/bundle/chunk-UDSL3MUU.js +0 -2333
  98. package/dist/bundle/chunk-UKHF37ZU.js +0 -1068
  99. package/dist/bundle/chunk-V57E7PJQ.js +0 -161
  100. package/dist/bundle/chunk-V7IF2K3P.js +0 -52
  101. package/dist/bundle/chunk-VB7FZOYX.js +0 -633
  102. package/dist/bundle/chunk-VZ5PPYDG.js +0 -77
  103. package/dist/bundle/chunk-WOPVBRPV.js +0 -29
  104. package/dist/bundle/chunk-WXQGA6XK.js +0 -50
  105. package/dist/bundle/chunk-XQGN2D44.js +0 -86
  106. package/dist/bundle/chunk-XQUUANA2.js +0 -24600
  107. package/dist/bundle/chunk-Y5E2WNWB.js +0 -35
  108. package/dist/bundle/chunk-YNGU36GW.js +0 -218
  109. package/dist/bundle/chunk-YWDFYQOU.js +0 -82
  110. package/dist/bundle/chunk-ZVVMGPBJ.js +0 -50
  111. package/dist/bundle/chunk-ZZD2YPOX.js +0 -156
  112. package/dist/bundle/command-contract-KCCW4LNI.js +0 -37
  113. package/dist/bundle/command-server-entry-3NPPABQQ.js +0 -166
  114. package/dist/bundle/decode-26M7XE2B.js +0 -297
  115. package/dist/bundle/dispatch-2FTOHA5D.js +0 -411
  116. package/dist/bundle/dist-EM7KLEG4.js +0 -7577
  117. package/dist/bundle/dist-PAKDDIBT.js +0 -191
  118. package/dist/bundle/echarts-O3TNDAXJ.js +0 -42501
  119. package/dist/bundle/embed-XJLEAWXE.js +0 -38
  120. package/dist/bundle/embedder-OEL6PXEH.js +0 -111
  121. package/dist/bundle/failure-OHIXWTR6.js +0 -25
  122. package/dist/bundle/first-run-CIXGBXY6.js +0 -29
  123. package/dist/bundle/first-screen-5FK4D45F.js +0 -38
  124. package/dist/bundle/instructions-AMH5RWVJ.js +0 -11
  125. package/dist/bundle/mcp-5HFPWC3W.js +0 -167
  126. package/dist/bundle/meeting-combined-DMVGQNJ7.js +0 -24
  127. package/dist/bundle/meeting-model-2THAT7OH.js +0 -25
  128. package/dist/bundle/meeting-semantic-Q6XYFYUD.js +0 -22
  129. package/dist/bundle/node-EGMCBAO7.js +0 -176
  130. package/dist/bundle/node-KM3CUABH.js +0 -2340
  131. package/dist/bundle/node-TLZSIHIJ.js +0 -21
  132. package/dist/bundle/node-sqlite-2SWWGW6H.js +0 -74
  133. package/dist/bundle/oauth-V5LGTXF2.js +0 -20
  134. package/dist/bundle/open-25EKOTZA.js +0 -23
  135. package/dist/bundle/openai-VX3OLIHM.js +0 -238
  136. package/dist/bundle/process-SGHEN6MQ.js +0 -91
  137. package/dist/bundle/program-Z5NUNXME.js +0 -34214
  138. package/dist/bundle/prompt-2VSPX5S7.js +0 -17
  139. package/dist/bundle/recognize-NA5XUFKK.js +0 -26
  140. package/dist/bundle/remote-BOME6XOE.js +0 -31
  141. package/dist/bundle/rerank-NG3XMFCV.js +0 -52
  142. package/dist/bundle/serve-MR67OBED.js +0 -199
  143. package/dist/bundle/server-4BWAGJQO.js +0 -80
  144. package/dist/bundle/server-OP2HJNXD.js +0 -213
  145. package/dist/bundle/sqlite-runtime-V5U6F5EB.js +0 -20
  146. package/dist/bundle/state-L4MWAATO.js +0 -36
  147. package/dist/bundle/store-2ALTEH55.js +0 -181
  148. package/dist/bundle/store-CXZFRG5D.js +0 -297
  149. package/dist/bundle/store-maintenance-command-LC55DRQA.js +0 -67
  150. package/dist/bundle/surface-3GRJ7473.js +0 -66
  151. package/dist/commands/api.d.ts +0 -12
  152. package/dist/commands/api.d.ts.map +0 -1
  153. package/dist/commands/api.js.map +0 -1
  154. package/dist/commands/crm.d.ts +0 -7
  155. package/dist/commands/crm.d.ts.map +0 -1
  156. package/dist/commands/crm.js.map +0 -1
  157. package/dist/commands/schedule.d.ts +0 -3
  158. package/dist/commands/schedule.d.ts.map +0 -1
  159. package/dist/commands/schedule.js.map +0 -1
  160. package/dist/commands/session.d.ts +0 -8
  161. package/dist/commands/session.d.ts.map +0 -1
  162. package/dist/commands/session.js.map +0 -1
  163. package/dist/config.d.ts +0 -13
  164. package/dist/config.d.ts.map +0 -1
  165. package/dist/config.js.map +0 -1
  166. package/dist/context.d.ts +0 -37
  167. package/dist/context.d.ts.map +0 -1
  168. package/dist/context.js.map +0 -1
  169. package/dist/generated/definitions.d.ts +0 -3
  170. package/dist/generated/definitions.d.ts.map +0 -1
  171. package/dist/generated/definitions.js.map +0 -1
  172. package/dist/generated/manifest.d.ts +0 -6
  173. package/dist/generated/manifest.d.ts.map +0 -1
  174. package/dist/generated/manifest.js.map +0 -1
  175. package/dist/generated/schemas.d.ts +0 -383
  176. package/dist/generated/schemas.d.ts.map +0 -1
  177. package/dist/generated/schemas.js.map +0 -1
  178. package/dist/generated/types.d.ts +0 -10166
  179. package/dist/generated/types.d.ts.map +0 -1
  180. package/dist/generated/types.js.map +0 -1
  181. package/dist/generated/wirecat-config.d.ts +0 -15
  182. package/dist/generated/wirecat-config.d.ts.map +0 -1
  183. package/dist/generated/wirecat-config.js.map +0 -1
  184. package/dist/hooks.d.ts +0 -33
  185. package/dist/hooks.d.ts.map +0 -1
  186. package/dist/hooks.js.map +0 -1
  187. package/dist/identity.d.ts +0 -33
  188. package/dist/identity.d.ts.map +0 -1
  189. package/dist/identity.js.map +0 -1
  190. package/dist/index.d.ts +0 -3
  191. package/dist/index.d.ts.map +0 -1
  192. package/dist/index.js.map +0 -1
  193. package/dist/links.d.ts +0 -10
  194. package/dist/links.d.ts.map +0 -1
  195. package/dist/links.js.map +0 -1
  196. package/dist/meetings.d.ts +0 -57
  197. package/dist/meetings.d.ts.map +0 -1
  198. package/dist/meetings.js.map +0 -1
  199. package/dist/program.d.ts +0 -6
  200. package/dist/program.d.ts.map +0 -1
  201. package/dist/program.js.map +0 -1
  202. package/dist/version.d.ts +0 -2
  203. package/dist/version.d.ts.map +0 -1
  204. package/dist/version.js.map +0 -1
  205. package/dist/wcat.d.ts +0 -3
  206. package/dist/wcat.d.ts.map +0 -1
  207. package/dist/wcat.js.map +0 -1
@@ -1,1197 +0,0 @@
1
- import { createRequire as __bundleRequire } from "node:module";
2
- const require = __bundleRequire(import.meta.url);
3
- import {
4
- storePath
5
- } from "./chunk-L72WUJAS.js";
6
- import {
7
- resolvePaths,
8
- writeSecurely
9
- } from "./chunk-5JKTVAXX.js";
10
- import {
11
- CliError,
12
- singleLine
13
- } from "./chunk-S6JG4YUH.js";
14
- import {
15
- __name
16
- } from "./chunk-ZVVMGPBJ.js";
17
-
18
- // node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/store/shared-config.js
19
- import { existsSync, mkdirSync, readFileSync, renameSync, statSync, writeFileSync } from "node:fs";
20
- import { dirname, join, resolve } from "node:path";
21
-
22
- // node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/domain/config-repair.js
23
- var REPAIR_WORDS = {
24
- byte_order_mark: "an invisible byte-order mark at the start",
25
- comment: "a comment, which JSON does not allow",
26
- trailing_comma: "a comma before a closing bracket",
27
- missing_comma: "a missing comma",
28
- unquoted_key: "a key without double quotes",
29
- single_quotes: "text in single quotes",
30
- missing_closer: "the file stops before its closing brackets \u2014 whatever followed this line was already lost"
31
- };
32
- var GiveUp = class {
33
- static {
34
- __name(this, "GiveUp");
35
- }
36
- at;
37
- why;
38
- constructor(at, why) {
39
- this.at = at;
40
- this.why = why;
41
- }
42
- };
43
- var NUMBER = /^-?(0|[1-9]\d*)(\.\d+)?([eE][+-]?\d+)?/;
44
- var LITERAL = /^(true|false|null)/;
45
- var KEY = /^[A-Za-z_$][\w$.-]*/;
46
- var ENDS_VALUE = /^[\s,\]}/]?$/;
47
- var repairConfigText = /* @__PURE__ */ __name((text) => {
48
- try {
49
- JSON.parse(text);
50
- return { state: "valid" };
51
- } catch {
52
- }
53
- const fixes = [];
54
- const lineAt = /* @__PURE__ */ __name((offset) => text.slice(0, offset).split("\n").length, "lineAt");
55
- const fix = /* @__PURE__ */ __name((kind, offset) => fixes.push({ kind, line: lineAt(offset) }), "fix");
56
- const giveUp = /* @__PURE__ */ __name((why, offset = at) => {
57
- throw new GiveUp(offset, why);
58
- }, "giveUp");
59
- let at = 0;
60
- let truncated = false;
61
- let last = "open";
62
- let lastEnd = 0;
63
- const previous = /* @__PURE__ */ __name(() => last, "previous");
64
- const skip = /* @__PURE__ */ __name(() => {
65
- for (; ; ) {
66
- while (/\s/.test(text[at] ?? ""))
67
- at++;
68
- if (text.startsWith("//", at)) {
69
- fix("comment", at);
70
- while (at < text.length && text[at] !== "\n")
71
- at++;
72
- } else if (text.startsWith("/*", at)) {
73
- const end = text.indexOf("*/", at + 2);
74
- if (end < 0)
75
- giveUp("a /* comment is never closed");
76
- fix("comment", at);
77
- at = end + 2;
78
- } else
79
- return;
80
- }
81
- }, "skip");
82
- const string = /* @__PURE__ */ __name(() => {
83
- const quote = text[at];
84
- const start = at;
85
- if (quote === "'")
86
- fix("single_quotes", at);
87
- at++;
88
- let body = "";
89
- for (; ; ) {
90
- if (at >= text.length)
91
- giveUp("the file stops inside a quoted text", start);
92
- const char = text[at];
93
- if (char === quote)
94
- break;
95
- if (text.charCodeAt(at) < 32)
96
- giveUp("a line break inside a quoted text");
97
- if (char === "\\") {
98
- const next = text[at + 1] ?? "";
99
- if (quote === "'" && next === "'")
100
- body += "'";
101
- else if (/^["\\/bfnrt]$/.test(next))
102
- body += `\\${next}`;
103
- else if (next === "u" && /^[0-9a-fA-F]{4}$/.test(text.slice(at + 2, at + 6))) {
104
- body += text.slice(at, at + 6);
105
- at += 4;
106
- } else
107
- giveUp("an escape JSON has no meaning for");
108
- at += 2;
109
- continue;
110
- }
111
- body += char === '"' ? '\\"' : char;
112
- at++;
113
- }
114
- at++;
115
- return JSON.parse(`"${body}"`);
116
- }, "string");
117
- const key = /* @__PURE__ */ __name(() => {
118
- const char = text[at] ?? "";
119
- if (char === '"' || char === "'")
120
- return string();
121
- const word = KEY.exec(text.slice(at))?.[0];
122
- if (!word)
123
- return giveUp("something other than a key where a key should be");
124
- fix("unquoted_key", at);
125
- at += word.length;
126
- return word;
127
- }, "key");
128
- const scalar = /* @__PURE__ */ __name(() => {
129
- const char = text[at] ?? "";
130
- if (char === '"' || char === "'")
131
- return { json: JSON.stringify(string()) };
132
- const word = (NUMBER.exec(text.slice(at)) ?? LITERAL.exec(text.slice(at)))?.[0];
133
- if (!word || !ENDS_VALUE.test(text[at + word.length] ?? ""))
134
- return giveUp("a value that is not JSON \u2014 text needs quotes, and only true, false and null go without");
135
- if (at + word.length === text.length && NUMBER.test(word))
136
- giveUp("the file stops inside a number");
137
- at += word.length;
138
- return { json: word };
139
- }, "scalar");
140
- const members = /* @__PURE__ */ __name((close, one) => {
141
- const out = [];
142
- at++;
143
- last = "open";
144
- let comma = -1;
145
- for (; ; ) {
146
- skip();
147
- if (truncated)
148
- return out;
149
- if (at >= text.length) {
150
- if (previous() === "close")
151
- giveUp("the file stops after a closing bracket, so which brackets are missing has two readings");
152
- if (previous() === "comma")
153
- fix("trailing_comma", comma);
154
- fix("missing_closer", text.length);
155
- truncated = true;
156
- return out;
157
- }
158
- const char = text[at];
159
- if (char === close) {
160
- if (previous() === "comma")
161
- fix("trailing_comma", comma);
162
- at++;
163
- last = "close";
164
- return out;
165
- }
166
- if (char === "}" || char === "]")
167
- giveUp(`a ${char} where ${close} should close`);
168
- if (char === ",") {
169
- if (previous() !== "value" && previous() !== "close")
170
- giveUp("a comma with nothing before it");
171
- comma = at;
172
- at++;
173
- last = "comma";
174
- continue;
175
- }
176
- if (previous() === "value" || previous() === "close") {
177
- if (lineAt(at) === lineAt(lastEnd))
178
- giveUp("two entries on one line with no comma between them");
179
- fix("missing_comma", lastEnd);
180
- }
181
- out.push(one());
182
- }
183
- }, "members");
184
- const value = /* @__PURE__ */ __name(() => {
185
- const char = text[at] ?? "";
186
- let node;
187
- if (char === "{") {
188
- const seen = /* @__PURE__ */ new Set();
189
- node = {
190
- object: members("}", () => {
191
- const start = at;
192
- const name = key();
193
- if (seen.has(name))
194
- giveUp("a key appears twice in one object", start);
195
- seen.add(name);
196
- skip();
197
- if (at >= text.length)
198
- giveUp("the file stops after a key, before its value");
199
- if (text[at] !== ":")
200
- giveUp("a key with no colon after it");
201
- at++;
202
- skip();
203
- if (at >= text.length)
204
- giveUp("the file stops after a key, before its value");
205
- return [name, value()];
206
- })
207
- };
208
- } else if (char === "[") {
209
- node = {
210
- array: members("]", () => {
211
- return value();
212
- })
213
- };
214
- } else
215
- node = scalar();
216
- if (!truncated) {
217
- last = "json" in node ? "value" : "close";
218
- lastEnd = at;
219
- }
220
- return node;
221
- }, "value");
222
- try {
223
- if (text.includes("\0") || text.includes(String.fromCharCode(65533)))
224
- giveUp("the file is not text", 0);
225
- if (text.charCodeAt(0) === 65279) {
226
- fix("byte_order_mark", 0);
227
- at = 1;
228
- }
229
- skip();
230
- if (text[at] !== "{")
231
- giveUp(at >= text.length ? "the file is empty" : "the file does not start with {");
232
- const root = value();
233
- skip();
234
- if (at < text.length)
235
- giveUp("more text after the closing }");
236
- const repaired = `${serialise(root, "")}
237
- `;
238
- JSON.parse(repaired);
239
- return { state: "repaired", text: repaired, fixes };
240
- } catch (error) {
241
- if (!(error instanceof GiveUp))
242
- throw error;
243
- const before = text.slice(0, error.at).split("\n");
244
- return {
245
- state: "refused",
246
- line: before.length,
247
- column: (before.at(-1)?.length ?? 0) + 1,
248
- why: error.why
249
- };
250
- }
251
- }, "repairConfigText");
252
- var serialise = /* @__PURE__ */ __name((node, indent) => {
253
- if ("json" in node)
254
- return node.json;
255
- const inner = `${indent} `;
256
- const parts = "object" in node ? node.object.map(([name, item]) => `${inner}${JSON.stringify(name)}: ${serialise(item, inner)}`) : node.array.map((item) => `${inner}${serialise(item, inner)}`);
257
- const [open, close] = "object" in node ? ["{", "}"] : ["[", "]"];
258
- return parts.length === 0 ? `${open}${close}` : `${open}
259
- ${parts.join(",\n")}
260
- ${indent}${close}`;
261
- }, "serialise");
262
- var SAFE_REPAIRS = /* @__PURE__ */ new Set([
263
- "byte_order_mark",
264
- "comment",
265
- "trailing_comma",
266
- "missing_comma"
267
- ]);
268
- var FIX_FOR = {
269
- unquoted_key: /* @__PURE__ */ __name((line) => `put the key on line ${line} in double quotes`, "unquoted_key"),
270
- single_quotes: /* @__PURE__ */ __name((line) => `use double quotes for the text on line ${line}`, "single_quotes"),
271
- missing_closer: /* @__PURE__ */ __name((line) => `add the closing } or ] the file lacks after line ${line}, and check that nothing after it was lost`, "missing_closer")
272
- };
273
- var FIX_FOR_REFUSAL = [
274
- [/no comma between/, (line, before) => `add a comma after ${before} on line ${line}`],
275
- [/no colon after/, (line) => `add a colon after the key on line ${line}`],
276
- [/comma with nothing before/, (line) => `remove the extra comma on line ${line}`],
277
- [/inside a quoted text/, (line) => `close the quotes on line ${line}`],
278
- [/value that is not JSON/, (line) => `put the value on line ${line} in double quotes`],
279
- [/key appears twice/, (line) => `keep one of the two keys named on line ${line}; the file holds both`]
280
- ];
281
- var shown = /* @__PURE__ */ __name((line) => line.trim().replace(/("(?:[^"\\]|\\.)*"|'(?:[^'\\]|\\.)*'|[^\s"',:{}[\]]+)(\s*:)?/g, (token, _value, key) => key || /^(true|false|null)$/.test(token) ? token : '"\u2026"'), "shown");
282
- var explainBrokenJson = /* @__PURE__ */ __name((text, result) => {
283
- const lines = text.replace(/^\uFEFF/u, "").split(/\r?\n/);
284
- const around = /* @__PURE__ */ __name((line2) => {
285
- const near = lines[line2 - 1]?.trim() ? lines[line2 - 1] : lines[line2 - 2];
286
- return near ? ` \u2014 near \`${shown(near)}\`` : "";
287
- }, "around");
288
- if (result.state === "repaired") {
289
- const asked = result.fixes.find((one) => !SAFE_REPAIRS.has(one.kind)) ?? result.fixes[0];
290
- if (!asked)
291
- return "it is not valid JSON";
292
- const fix2 = FIX_FOR[asked.kind]?.(asked.line);
293
- return `line ${asked.line} has ${REPAIR_WORDS[asked.kind]}${around(asked.line)}${fix2 ? `; likely fix: ${fix2}` : ""}`;
294
- }
295
- if (result.state === "valid")
296
- return "it is valid JSON";
297
- const { line, why } = result;
298
- const column = line === 1 && text.charCodeAt(0) === 65279 ? result.column - 1 : result.column;
299
- const head = (lines[line - 1] ?? "").slice(0, column - 1);
300
- const entry = head.slice(Math.max(head.lastIndexOf(","), head.lastIndexOf("{"), head.lastIndexOf("[")) + 1);
301
- const before = shown(entry) || shown(lines[line - 2] ?? "");
302
- const fix = FIX_FOR_REFUSAL.find(([pattern]) => pattern.test(why))?.[1](line, `\`${before}\``);
303
- return `line ${line}, column ${column}: ${why}${around(line)}; likely fix: ${fix ?? "correct that part by hand"}`;
304
- }, "explainBrokenJson");
305
-
306
- // node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/domain/task-categories.js
307
- var DEFAULT_TASK_CATEGORIES = [
308
- {
309
- name: "taxes",
310
- meaning: "tax returns, the accountant, the tax office",
311
- triggers: {
312
- en: ["tax", "taxes", "accountant", "vat", "hmrc"],
313
- ru: ["\u043D\u0430\u043B\u043E\u0433", "\u043D\u0430\u043B\u043E\u0433\u043E\u0432\u0430\u044F", "\u0434\u0435\u043A\u043B\u0430\u0440\u0430\u0446\u0438\u044F", "\u0431\u0443\u0445\u0433\u0430\u043B\u0442\u0435\u0440", "\u043D\u0434\u0444\u043B", "\u0438\u0444\u043D\u0441", "\u0432\u044B\u0447\u0435\u0442"],
314
- es: ["impuesto", "impuestos", "hacienda", "iva", "irpf", "gestor", "gestor\xEDa"]
315
- }
316
- },
317
- {
318
- name: "investments",
319
- meaning: "stocks, funds, crypto, a broker",
320
- triggers: {
321
- en: [
322
- "invest",
323
- "investment",
324
- "investments",
325
- "stocks",
326
- "broker",
327
- "brokerage",
328
- "portfolio",
329
- "crypto",
330
- "etf",
331
- "dividend",
332
- "dividends"
333
- ],
334
- ru: ["\u0438\u043D\u0432\u0435\u0441\u0442\u0438\u0446\u0438\u0438", "\u0438\u043D\u0432\u0435\u0441\u0442\u0438\u0440\u043E\u0432\u0430\u0442\u044C", "\u0431\u0440\u043E\u043A\u0435\u0440", "\u043E\u0431\u043B\u0438\u0433\u0430\u0446\u0438\u0438", "\u043F\u043E\u0440\u0442\u0444\u0435\u043B\u044C", "\u043A\u0440\u0438\u043F\u0442\u0430", "\u043A\u0440\u0438\u043F\u0442\u043E\u0432\u0430\u043B\u044E\u0442\u0430", "\u0434\u0438\u0432\u0438\u0434\u0435\u043D\u0434\u044B"],
335
- es: ["inversi\xF3n", "invertir", "br\xF3ker", "dividendos", "cripto", "bolsa"]
336
- }
337
- },
338
- {
339
- name: "subscriptions",
340
- meaning: "a service subscription to start, cancel or renew",
341
- triggers: {
342
- en: ["subscription", "subscriptions", "subscribe", "unsubscribe", "renewal", "membership", "trial"],
343
- ru: ["\u043F\u043E\u0434\u043F\u0438\u0441\u043A\u0430", "\u043F\u043E\u0434\u043F\u0438\u0441\u043A\u0443", "\u0430\u0431\u043E\u043D\u0435\u043D\u0442\u0441\u043A\u0430\u044F", "\u0430\u0431\u043E\u043D\u0435\u043C\u0435\u043D\u0442", "\u043F\u0440\u043E\u0434\u043B\u0435\u043D\u0438\u0435"],
344
- es: ["suscripci\xF3n", "suscribirse", "renovaci\xF3n", "membres\xEDa"]
345
- }
346
- },
347
- {
348
- name: "bills",
349
- meaning: "a recurring bill: utilities, phone, internet",
350
- triggers: {
351
- en: ["utility", "utilities", "electricity", "heating"],
352
- ru: ["\u043A\u043E\u043C\u043C\u0443\u043D\u0430\u043B\u043A\u0430", "\u043A\u043E\u043C\u043C\u0443\u043D\u0430\u043B\u044C\u043D\u044B\u0435", "\u044D\u043B\u0435\u043A\u0442\u0440\u0438\u0447\u0435\u0441\u0442\u0432\u043E", "\u0433\u0430\u0437", "\u043A\u0432\u0438\u0442\u0430\u043D\u0446\u0438\u044F", "\u043F\u043E\u043A\u0430\u0437\u0430\u043D\u0438\u044F"],
353
- es: ["recibo", "recibos", "suministro", "suministros", "electricidad"]
354
- }
355
- },
356
- {
357
- name: "donations",
358
- meaning: "a donation, a fundraiser, a charity",
359
- triggers: {
360
- en: ["donate", "donation", "donations", "charity", "fundraiser", "crowdfunding", "patreon"],
361
- ru: ["\u043F\u043E\u0436\u0435\u0440\u0442\u0432\u043E\u0432\u0430\u043D\u0438\u0435", "\u043F\u043E\u0436\u0435\u0440\u0442\u0432\u043E\u0432\u0430\u0442\u044C", "\u0431\u043B\u0430\u0433\u043E\u0442\u0432\u043E\u0440\u0438\u0442\u0435\u043B\u044C\u043D\u043E\u0441\u0442\u044C", "\u0434\u043E\u043D\u0430\u0442", "\u0444\u043E\u043D\u0434"],
362
- es: ["donaci\xF3n", "donar", "ben\xE9fico", "beneficencia", "ong"]
363
- }
364
- },
365
- {
366
- name: "insurance",
367
- meaning: "an insurance policy or claim",
368
- triggers: {
369
- en: ["insurance", "insurer", "insured", "coverage"],
370
- ru: ["\u0441\u0442\u0440\u0430\u0445\u043E\u0432\u043A\u0430", "\u0441\u0442\u0440\u0430\u0445\u043E\u0432\u0430\u044F", "\u0441\u0442\u0440\u0430\u0445\u043E\u0432\u0430\u043D\u0438\u0435", "\u043F\u043E\u043B\u0438\u0441", "\u043E\u0441\u0430\u0433\u043E", "\u043A\u0430\u0441\u043A\u043E", "\u0434\u043C\u0441"],
371
- es: ["aseguradora", "p\xF3liza", "siniestro", "mutua"]
372
- }
373
- },
374
- {
375
- name: "bank",
376
- meaning: "cards, bank accounts, wire transfers, a bank's request",
377
- triggers: {
378
- en: ["bank", "banking", "card", "iban", "swift", "wire", "overdraft"],
379
- ru: ["\u0431\u0430\u043D\u043A", "\u043A\u0430\u0440\u0442\u0430", "\u043A\u0430\u0440\u0442\u0443", "\u0440\u0435\u043A\u0432\u0438\u0437\u0438\u0442\u044B", "\u0432\u044B\u043F\u0438\u0441\u043A\u0430", "iban", "swift"],
380
- es: ["banco", "tarjeta", "iban", "swift"]
381
- }
382
- },
383
- {
384
- name: "civic",
385
- meaning: "voting, a petition, a census, jury duty, the local council",
386
- triggers: {
387
- en: ["vote", "voting", "election", "elections", "petition", "census", "jury", "ballot"],
388
- ru: ["\u0432\u044B\u0431\u043E\u0440\u044B", "\u0433\u043E\u043B\u043E\u0441\u043E\u0432\u0430\u043D\u0438\u0435", "\u043F\u0440\u043E\u0433\u043E\u043B\u043E\u0441\u043E\u0432\u0430\u0442\u044C", "\u043F\u0435\u0442\u0438\u0446\u0438\u044F", "\u043F\u0435\u0440\u0435\u043F\u0438\u0441\u044C", "\u0434\u0435\u043F\u0443\u0442\u0430\u0442"],
389
- es: ["elecciones", "votar", "votaci\xF3n", "censo", "refer\xE9ndum"]
390
- }
391
- },
392
- {
393
- name: "government",
394
- meaning: "a visa, residence, a permit, an appointment at a public office",
395
- triggers: {
396
- en: ["visa", "residence", "permit", "embassy", "consulate", "passport", "citizenship", "nie"],
397
- ru: [
398
- "\u0432\u0438\u0437\u0430",
399
- "\u0432\u043D\u0436",
400
- "\u0433\u0440\u0430\u0436\u0434\u0430\u043D\u0441\u0442\u0432\u043E",
401
- "\u043F\u043E\u0441\u043E\u043B\u044C\u0441\u0442\u0432\u043E",
402
- "\u043A\u043E\u043D\u0441\u0443\u043B\u044C\u0441\u0442\u0432\u043E",
403
- "\u0433\u043E\u0441\u0443\u0441\u043B\u0443\u0433\u0438",
404
- "\u043C\u0444\u0446",
405
- "\u043F\u0430\u0441\u043F\u043E\u0440\u0442",
406
- "\u0437\u0430\u0433\u0440\u0430\u043D\u043F\u0430\u0441\u043F\u043E\u0440\u0442",
407
- "\u043F\u0440\u043E\u043F\u0438\u0441\u043A\u0430"
408
- ],
409
- es: [
410
- "visado",
411
- "residencia",
412
- "extranjer\xEDa",
413
- "empadronamiento",
414
- "padr\xF3n",
415
- "ayuntamiento",
416
- "consulado",
417
- "embajada",
418
- "pasaporte",
419
- "nie"
420
- ]
421
- }
422
- },
423
- {
424
- name: "legal",
425
- meaning: "a lawyer, a notary, a court or a dispute",
426
- triggers: {
427
- en: ["lawyer", "attorney", "notary", "court", "lawsuit", "dispute", "legal"],
428
- ru: ["\u044E\u0440\u0438\u0441\u0442", "\u0430\u0434\u0432\u043E\u043A\u0430\u0442", "\u043D\u043E\u0442\u0430\u0440\u0438\u0443\u0441", "\u0438\u0441\u043A", "\u043F\u0440\u0435\u0442\u0435\u043D\u0437\u0438\u044F", "\u0434\u043E\u0432\u0435\u0440\u0435\u043D\u043D\u043E\u0441\u0442\u044C", "\u0441\u0443\u0434\u0435\u0431\u043D\u044B\u0439"],
429
- es: ["abogado", "notario", "juzgado", "demanda", "tribunal", "litigio"]
430
- }
431
- },
432
- {
433
- name: "hiring",
434
- meaning: "candidates, interviews, job offers",
435
- triggers: {
436
- en: ["candidate", "candidates", "interview", "hire", "hiring", "recruiter", "vacancy", "resume", "cv"],
437
- ru: ["\u043A\u0430\u043D\u0434\u0438\u0434\u0430\u0442", "\u0441\u043E\u0431\u0435\u0441\u0435\u0434\u043E\u0432\u0430\u043D\u0438\u0435", "\u0432\u0430\u043A\u0430\u043D\u0441\u0438\u044F", "\u0440\u0435\u0437\u044E\u043C\u0435", "\u043E\u0444\u0444\u0435\u0440", "\u043D\u0430\u0439\u043C", "\u0440\u0435\u043A\u0440\u0443\u0442\u0435\u0440"],
438
- es: ["candidato", "entrevista", "vacante", "curr\xEDculum", "contrataci\xF3n"]
439
- }
440
- },
441
- {
442
- name: "sales",
443
- meaning: "leads, deals, quotes",
444
- triggers: {
445
- en: ["quote", "pipeline", "prospect", "crm", "sales"],
446
- ru: ["\u043B\u0438\u0434", "\u043B\u0438\u0434\u044B", "\u0441\u0434\u0435\u043B\u043A\u0430", "\u043F\u0440\u043E\u0434\u0430\u0436\u0438", "\u043A\u043E\u043C\u043C\u0435\u0440\u0447\u0435\u0441\u043A\u043E\u0435"],
447
- es: ["venta", "ventas", "presupuesto"]
448
- }
449
- },
450
- {
451
- name: "partners",
452
- meaning: "a partnership or an integration with another company",
453
- triggers: {
454
- en: ["partner", "partners", "partnership", "integration", "affiliate", "reseller"],
455
- ru: ["\u043F\u0430\u0440\u0442\u043D\u0451\u0440", "\u043F\u0430\u0440\u0442\u043D\u0451\u0440\u044B", "\u043F\u0430\u0440\u0442\u043D\u0451\u0440\u0441\u0442\u0432\u043E", "\u0438\u043D\u0442\u0435\u0433\u0440\u0430\u0446\u0438\u044F"],
456
- es: ["socio", "alianza", "integraci\xF3n", "colaboraci\xF3n"]
457
- }
458
- },
459
- {
460
- name: "support",
461
- meaning: "a user's or customer's problem to solve",
462
- triggers: {
463
- en: ["support", "complaint", "helpdesk", "outage"],
464
- ru: ["\u043F\u043E\u0434\u0434\u0435\u0440\u0436\u043A\u0430", "\u0436\u0430\u043B\u043E\u0431\u0430", "\u043E\u0431\u0440\u0430\u0449\u0435\u043D\u0438\u0435", "\u0442\u0438\u043A\u0435\u0442"],
465
- es: ["soporte", "incidencia", "queja", "reclamaci\xF3n"]
466
- }
467
- },
468
- {
469
- name: "security",
470
- meaning: "a hacked account, a scam, 2FA, a leak or breach",
471
- triggers: {
472
- en: ["hacked", "hack", "scam", "phishing", "breach", "2fa", "malware", "fraud", "spam"],
473
- ru: ["\u0432\u0437\u043B\u043E\u043C", "\u0432\u0437\u043B\u043E\u043C\u0430\u043B\u0438", "\u043C\u043E\u0448\u0435\u043D\u043D\u0438\u043A\u0438", "\u043C\u043E\u0448\u0435\u043D\u043D\u0438\u0447\u0435\u0441\u0442\u0432\u043E", "\u0444\u0438\u0448\u0438\u043D\u0433", "\u0443\u0442\u0435\u0447\u043A\u0430", "\u0441\u043F\u0430\u043C"],
474
- es: ["hackeado", "estafa", "fraude", "phishing", "suplantaci\xF3n"]
475
- }
476
- },
477
- {
478
- name: "access",
479
- meaning: "a login, password, key, invite or permission to give or get",
480
- triggers: {
481
- en: ["access", "password", "credentials", "invite", "permission", "key", "keys", "token", "vpn"],
482
- ru: ["\u0434\u043E\u0441\u0442\u0443\u043F", "\u043F\u0430\u0440\u043E\u043B\u044C", "\u043B\u043E\u0433\u0438\u043D", "\u043A\u043B\u044E\u0447", "\u043A\u043B\u044E\u0447\u0438", "\u043F\u0440\u0438\u0433\u043B\u0430\u0448\u0435\u043D\u0438\u0435", "\u0430\u043A\u043A\u0430\u0443\u043D\u0442"],
483
- es: ["acceso", "contrase\xF1a", "llave", "llaves", "clave", "invitaci\xF3n", "permiso"]
484
- }
485
- },
486
- {
487
- name: "tech",
488
- meaning: "code, servers, bugs, builds, deploys",
489
- triggers: {
490
- en: [
491
- "bug",
492
- "deploy",
493
- "deployment",
494
- "server",
495
- "build",
496
- "code",
497
- "merge",
498
- "crash",
499
- "flaky",
500
- "database",
501
- "api",
502
- "release",
503
- "prod"
504
- ],
505
- ru: ["\u0431\u0430\u0433", "\u0434\u0435\u043F\u043B\u043E\u0439", "\u0441\u0435\u0440\u0432\u0435\u0440", "\u0441\u0431\u043E\u0440\u043A\u0430", "\u043A\u043E\u0434", "\u043F\u0443\u043B\u0440\u0435\u043A\u0432\u0435\u0441\u0442", "\u043F\u0440\u043E\u0434", "\u0440\u0435\u043B\u0438\u0437"],
506
- es: ["fallo", "servidor", "despliegue", "c\xF3digo"]
507
- }
508
- },
509
- {
510
- name: "media",
511
- meaning: "the press, a journalist, a podcast or an interview for the media",
512
- triggers: {
513
- en: ["press", "journalist", "podcast", "media"],
514
- ru: ["\u0436\u0443\u0440\u043D\u0430\u043B\u0438\u0441\u0442", "\u043F\u0440\u0435\u0441\u0441\u0430", "\u0441\u043C\u0438", "\u043F\u043E\u0434\u043A\u0430\u0441\u0442", "\u0438\u043D\u0442\u0435\u0440\u0432\u044C\u044E", "\u0440\u0435\u0434\u0430\u043A\u0446\u0438\u044F"],
515
- es: ["prensa", "periodista", "podcast", "entrevistarte"]
516
- }
517
- },
518
- {
519
- name: "marketing",
520
- meaning: "campaigns, ads, SEO, newsletters, social media",
521
- triggers: {
522
- en: ["marketing", "campaign", "ads", "advertising", "seo", "promo", "newsletter", "instagram"],
523
- ru: ["\u043C\u0430\u0440\u043A\u0435\u0442\u0438\u043D\u0433", "\u0440\u0435\u043A\u043B\u0430\u043C\u0430", "\u0440\u0435\u043A\u043B\u0430\u043C\u0443", "\u0442\u0430\u0440\u0433\u0435\u0442", "\u043A\u0430\u043C\u043F\u0430\u043D\u0438\u044F", "\u0440\u0430\u0441\u0441\u044B\u043B\u043A\u0430", "\u043F\u0440\u043E\u0434\u0432\u0438\u0436\u0435\u043D\u0438\u0435"],
524
- es: ["marketing", "campa\xF1a", "publicidad", "anuncio", "anuncios", "bolet\xEDn"]
525
- }
526
- },
527
- {
528
- name: "design",
529
- meaning: "UI, mockups, a logo or a brand to design or review",
530
- triggers: {
531
- en: ["design", "designer", "mockup", "mockups", "logo", "brand", "branding", "figma", "wireframe", "ui", "ux"],
532
- ru: ["\u0434\u0438\u0437\u0430\u0439\u043D", "\u0434\u0438\u0437\u0430\u0439\u043D\u0435\u0440", "\u043C\u0430\u043A\u0435\u0442", "\u043C\u0430\u043A\u0435\u0442\u044B", "\u043B\u043E\u0433\u043E\u0442\u0438\u043F", "\u0444\u0438\u0433\u043C\u0430", "\u0431\u0440\u0435\u043D\u0434\u0438\u043D\u0433"],
533
- es: ["dise\xF1o", "dise\xF1ador", "logotipo", "maqueta", "marca"]
534
- }
535
- },
536
- {
537
- name: "research",
538
- meaning: "research, a survey, an analysis or a benchmark",
539
- triggers: {
540
- en: ["research", "survey", "benchmark", "analysis", "experiment", "dataset"],
541
- ru: ["\u0438\u0441\u0441\u043B\u0435\u0434\u043E\u0432\u0430\u043D\u0438\u0435", "\u043E\u043F\u0440\u043E\u0441", "\u0431\u0435\u043D\u0447\u043C\u0430\u0440\u043A", "\u044D\u043A\u0441\u043F\u0435\u0440\u0438\u043C\u0435\u043D\u0442", "\u0434\u0430\u0442\u0430\u0441\u0435\u0442"],
542
- es: ["investigaci\xF3n", "encuesta", "experimento"]
543
- }
544
- },
545
- {
546
- name: "content",
547
- meaning: "posts, articles, videos to write, film or review",
548
- triggers: {
549
- en: ["article", "blog", "video", "draft", "copywriting"],
550
- ru: ["\u043F\u043E\u0441\u0442", "\u0431\u043B\u043E\u0433", "\u0432\u0438\u0434\u0435\u043E", "\u0440\u043E\u043B\u0438\u043A", "\u0447\u0435\u0440\u043D\u043E\u0432\u0438\u043A"],
551
- es: ["art\xEDculo", "publicaci\xF3n", "v\xEDdeo", "video", "borrador"]
552
- }
553
- },
554
- {
555
- name: "vendors",
556
- meaning: "a supplier, contractor or agency you pay for a service",
557
- triggers: {
558
- en: ["vendor", "vendors", "supplier", "suppliers", "contractor", "freelancer", "agency", "outsourcing"],
559
- ru: ["\u043F\u043E\u0441\u0442\u0430\u0432\u0449\u0438\u043A", "\u043F\u043E\u0434\u0440\u044F\u0434\u0447\u0438\u043A", "\u0444\u0440\u0438\u043B\u0430\u043D\u0441\u0435\u0440", "\u0430\u0433\u0435\u043D\u0442\u0441\u0442\u0432\u043E", "\u0438\u0441\u043F\u043E\u043B\u043D\u0438\u0442\u0435\u043B\u044C"],
560
- es: ["proveedor", "proveedores", "contratista", "agencia"]
561
- }
562
- },
563
- {
564
- name: "car",
565
- meaning: "the car: repairs, parking, fines, inspection",
566
- triggers: {
567
- en: ["car", "parking", "mechanic", "garage", "tyres", "tires", "mot"],
568
- ru: ["\u043C\u0430\u0448\u0438\u043D\u0430", "\u0430\u0432\u0442\u043E", "\u043F\u0430\u0440\u043A\u043E\u0432\u043A\u0430", "\u0448\u0442\u0440\u0430\u0444", "\u0433\u0438\u0431\u0434\u0434", "\u0448\u0438\u043D\u043E\u043C\u043E\u043D\u0442\u0430\u0436", "\u0442\u0435\u0445\u043E\u0441\u043C\u043E\u0442\u0440"],
569
- es: ["coche", "aparcamiento", "multa", "taller", "itv", "neum\xE1ticos"]
570
- }
571
- },
572
- {
573
- name: "travel",
574
- meaning: "flights, trains, hotels, trips",
575
- triggers: {
576
- en: ["flight", "flights", "hotel", "airport", "trip", "train", "airbnb", "boarding"],
577
- ru: ["\u0440\u0435\u0439\u0441", "\u043F\u0435\u0440\u0435\u043B\u0451\u0442", "\u0441\u0430\u043C\u043E\u043B\u0451\u0442", "\u0433\u043E\u0441\u0442\u0438\u043D\u0438\u0446\u0430", "\u043E\u0442\u0435\u043B\u044C", "\u0430\u044D\u0440\u043E\u043F\u043E\u0440\u0442", "\u043F\u043E\u0435\u0437\u0434", "\u043F\u043E\u0435\u0437\u0434\u043A\u0430", "\u043A\u043E\u043C\u0430\u043D\u0434\u0438\u0440\u043E\u0432\u043A\u0430"],
578
- es: ["vuelo", "vuelos", "hotel", "aeropuerto", "viaje", "tren"]
579
- }
580
- },
581
- {
582
- name: "pets",
583
- meaning: "a pet: the vet, food, a sitter, walks",
584
- triggers: {
585
- en: ["pet", "pets", "vet", "dog", "cat", "puppy", "kitten", "grooming"],
586
- ru: ["\u0432\u0435\u0442\u0435\u0440\u0438\u043D\u0430\u0440", "\u0432\u0435\u0442\u043A\u043B\u0438\u043D\u0438\u043A\u0430", "\u0441\u043E\u0431\u0430\u043A\u0430", "\u0441\u043E\u0431\u0430\u043A\u0443", "\u043A\u043E\u0448\u043A\u0430", "\u043A\u043E\u0442", "\u0449\u0435\u043D\u043E\u043A", "\u043A\u043E\u0442\u0451\u043D\u043E\u043A", "\u0433\u0440\u0443\u043C\u0438\u043D\u0433"],
587
- es: ["veterinario", "perro", "gato", "mascota", "cachorro"]
588
- }
589
- },
590
- {
591
- name: "fitness",
592
- meaning: "the gym, training, a sport",
593
- triggers: {
594
- en: ["gym", "workout", "trainer", "yoga", "pilates", "fitness", "marathon", "swimming"],
595
- ru: ["\u0441\u043F\u043E\u0440\u0442\u0437\u0430\u043B", "\u0442\u0440\u0435\u043D\u0438\u0440\u043E\u0432\u043A\u0430", "\u0442\u0440\u0435\u043D\u0435\u0440", "\u0439\u043E\u0433\u0430", "\u0444\u0438\u0442\u043D\u0435\u0441", "\u0431\u0430\u0441\u0441\u0435\u0439\u043D", "\u043F\u0440\u043E\u0431\u0435\u0436\u043A\u0430"],
596
- es: ["gimnasio", "entrenador", "entrenamiento", "yoga", "pilates", "piscina"]
597
- }
598
- },
599
- {
600
- name: "beauty",
601
- meaning: "a haircut, nails, cosmetics, a salon",
602
- triggers: {
603
- en: ["haircut", "hairdresser", "barber", "salon", "manicure", "nails", "cosmetics", "spa"],
604
- ru: ["\u043F\u0430\u0440\u0438\u043A\u043C\u0430\u0445\u0435\u0440", "\u0441\u0442\u0440\u0438\u0436\u043A\u0430", "\u043C\u0430\u043D\u0438\u043A\u044E\u0440", "\u043A\u043E\u0441\u043C\u0435\u0442\u043E\u043B\u043E\u0433", "\u0431\u0430\u0440\u0431\u0435\u0440\u0448\u043E\u043F", "\u0441\u0430\u043B\u043E\u043D", "\u043A\u043E\u0441\u043C\u0435\u0442\u0438\u043A\u0430"],
605
- es: ["peluquer\xEDa", "peluquero", "manicura", "u\xF1as", "est\xE9tica", "cosm\xE9tica"]
606
- }
607
- },
608
- {
609
- name: "health",
610
- meaning: "doctors, prescriptions, medicines",
611
- triggers: {
612
- en: ["doctor", "dentist", "clinic", "hospital", "prescription", "pharmacy", "medicine", "medicines", "vitamins"],
613
- ru: [
614
- "\u0432\u0440\u0430\u0447",
615
- "\u0441\u0442\u043E\u043C\u0430\u0442\u043E\u043B\u043E\u0433",
616
- "\u043E\u043A\u0443\u043B\u0438\u0441\u0442",
617
- "\u043A\u0430\u0440\u0434\u0438\u043E\u043B\u043E\u0433",
618
- "\u0431\u043E\u043B\u044C\u043D\u0438\u0446\u0430",
619
- "\u043F\u043E\u043B\u0438\u043A\u043B\u0438\u043D\u0438\u043A\u0430",
620
- "\u043B\u0435\u043A\u0430\u0440\u0441\u0442\u0432\u043E",
621
- "\u043B\u0435\u043A\u0430\u0440\u0441\u0442\u0432\u0430",
622
- "\u0440\u0435\u0446\u0435\u043F\u0442",
623
- "\u0430\u043F\u0442\u0435\u043A\u0430",
624
- "\u0430\u043D\u0430\u043B\u0438\u0437\u044B",
625
- "\u0432\u0438\u0442\u0430\u043C\u0438\u043D\u044B"
626
- ],
627
- es: ["m\xE9dico", "dentista", "cl\xEDnica", "hospital", "receta", "farmacia", "medicamento"]
628
- }
629
- },
630
- {
631
- name: "education",
632
- meaning: "courses, books, languages, studies at school or university",
633
- triggers: {
634
- en: ["course", "lesson", "tutor", "university", "exam", "homework", "study"],
635
- ru: ["\u043A\u0443\u0440\u0441\u044B", "\u0443\u0440\u043E\u043A", "\u0440\u0435\u043F\u0435\u0442\u0438\u0442\u043E\u0440", "\u0443\u043D\u0438\u0432\u0435\u0440\u0441\u0438\u0442\u0435\u0442", "\u044D\u043A\u0437\u0430\u043C\u0435\u043D", "\u0443\u0447\u0451\u0431\u0430", "\u043B\u0435\u043A\u0446\u0438\u044F", "\u043A\u043D\u0438\u0433\u0430"],
636
- es: ["curso", "universidad", "examen", "libro", "idioma"]
637
- }
638
- },
639
- {
640
- name: "celebrations",
641
- meaning: "a birthday, wedding, anniversary or holiday to plan or mark",
642
- triggers: {
643
- en: ["birthday", "anniversary", "christmas", "celebration", "celebrate"],
644
- ru: ["\u0440\u043E\u0436\u0434\u0435\u043D\u0438\u044F", "\u0441\u0432\u0430\u0434\u044C\u0431\u0430", "\u044E\u0431\u0438\u043B\u0435\u0439", "\u0433\u043E\u0434\u043E\u0432\u0449\u0438\u043D\u0430", "\u043F\u0440\u0430\u0437\u0434\u043D\u0438\u043A", "\u043F\u0440\u0430\u0437\u0434\u043D\u043E\u0432\u0430\u0442\u044C"],
645
- es: ["cumplea\xF1os", "boda", "aniversario", "navidad", "celebrar", "celebraci\xF3n"]
646
- }
647
- },
648
- {
649
- name: "childcare",
650
- meaning: "a nanny, a babysitter, kindergarten, kids' clubs",
651
- triggers: {
652
- en: ["nanny", "babysitter", "babysitting", "kindergarten", "daycare", "nursery"],
653
- ru: ["\u043D\u044F\u043D\u044F", "\u0441\u0430\u0434\u0438\u043A", "\u0434\u0435\u0442\u0441\u0430\u0434", "\u043A\u0440\u0443\u0436\u043E\u043A", "\u043F\u0440\u043E\u0434\u043B\u0451\u043D\u043A\u0430"],
654
- es: ["ni\xF1era", "guarder\xEDa", "canguro", "extraescolares"]
655
- }
656
- },
657
- {
658
- name: "elder-care",
659
- meaning: "care for an older relative: a carer, a care home",
660
- triggers: {
661
- en: ["carer", "caregiver", "eldercare", "elderly"],
662
- ru: ["\u0441\u0438\u0434\u0435\u043B\u043A\u0430", "\u043F\u0430\u043D\u0441\u0438\u043E\u043D\u0430\u0442", "\u043F\u043E\u0436\u0438\u043B\u043E\u0439", "\u043F\u043E\u0436\u0438\u043B\u044B\u0445"],
663
- es: ["cuidadora", "cuidador", "geri\xE1trico", "mayores"]
664
- }
665
- },
666
- {
667
- name: "family",
668
- meaning: "kids, school, parents and relatives",
669
- triggers: {
670
- en: [
671
- "mum",
672
- "mom",
673
- "dad",
674
- "kids",
675
- "kid",
676
- "school",
677
- "grandma",
678
- "grandpa",
679
- "wife",
680
- "husband",
681
- "daughter",
682
- "parents"
683
- ],
684
- ru: [
685
- "\u043C\u0430\u043C\u0430",
686
- "\u043F\u0430\u043F\u0430",
687
- "\u0431\u0430\u0431\u0443\u0448\u043A\u0430",
688
- "\u0434\u0435\u0434\u0443\u0448\u043A\u0430",
689
- "\u0434\u0435\u0442\u0438",
690
- "\u0440\u0435\u0431\u0451\u043D\u043E\u043A",
691
- "\u0441\u044B\u043D",
692
- "\u0434\u043E\u0447\u044C",
693
- "\u043C\u0443\u0436",
694
- "\u0436\u0435\u043D\u0430",
695
- "\u0448\u043A\u043E\u043B\u0430",
696
- "\u0443\u0447\u0438\u0442\u0435\u043B\u044C",
697
- "\u043A\u043B\u0430\u0441\u0441",
698
- "\u0440\u043E\u0434\u0438\u0442\u0435\u043B\u0438",
699
- "\u0440\u043E\u0434\u0438\u0442\u0435\u043B\u044C\u0441\u043A\u043E\u0435",
700
- "\u0434\u043D\u0435\u0432\u043D\u0438\u043A",
701
- "\u0442\u0451\u0442\u044F"
702
- ],
703
- es: ["mam\xE1", "pap\xE1", "hijos", "hijo", "hija", "colegio", "abuela", "abuelo", "padres", "ni\xF1os"]
704
- }
705
- },
706
- {
707
- name: "real-estate",
708
- meaning: "buying, selling or letting a property; a mortgage",
709
- triggers: {
710
- en: ["mortgage", "property", "realtor", "tenant", "tenants"],
711
- ru: ["\u0438\u043F\u043E\u0442\u0435\u043A\u0430", "\u043D\u0435\u0434\u0432\u0438\u0436\u0438\u043C\u043E\u0441\u0442\u044C", "\u0440\u0438\u0435\u043B\u0442\u043E\u0440", "\u0440\u0438\u044D\u043B\u0442\u043E\u0440", "\u0430\u0440\u0435\u043D\u0434\u0430\u0442\u043E\u0440", "\u0430\u0440\u0435\u043D\u0434\u0430\u0442\u043E\u0440\u044B"],
712
- es: ["hipoteca", "inmobiliaria", "inmueble", "compraventa", "tasaci\xF3n", "inquilino"]
713
- }
714
- },
715
- {
716
- name: "moving",
717
- meaning: "moving house: movers, boxes, a new address",
718
- triggers: {
719
- en: ["movers", "relocation", "relocate", "removals"],
720
- ru: ["\u043F\u0435\u0440\u0435\u0435\u0437\u0434", "\u043F\u0435\u0440\u0435\u0435\u0445\u0430\u0442\u044C", "\u043F\u0435\u0440\u0435\u0435\u0437\u0436\u0430\u0435\u043C", "\u0433\u0440\u0443\u0437\u0447\u0438\u043A\u0438"],
721
- es: ["mudanza", "mudarse", "mudanzas"]
722
- }
723
- },
724
- {
725
- name: "home",
726
- meaning: "the flat: repairs, rent, the landlord, neighbours",
727
- triggers: {
728
- en: [
729
- "flat",
730
- "apartment",
731
- "landlord",
732
- "rent",
733
- "plumber",
734
- "leak",
735
- "electrician",
736
- "neighbours",
737
- "boiler",
738
- "intercom",
739
- "repair"
740
- ],
741
- ru: [
742
- "\u043A\u0432\u0430\u0440\u0442\u0438\u0440\u0430",
743
- "\u0430\u0440\u0435\u043D\u0434\u0430",
744
- "\u0440\u0435\u043C\u043E\u043D\u0442",
745
- "\u0441\u0430\u043D\u0442\u0435\u0445\u043D\u0438\u043A",
746
- "\u043F\u0440\u043E\u0442\u0435\u0447\u043A\u0430",
747
- "\u044D\u043B\u0435\u043A\u0442\u0440\u0438\u043A",
748
- "\u0441\u043E\u0441\u0435\u0434\u0438",
749
- "\u043F\u043E\u0434\u044A\u0435\u0437\u0434",
750
- "\u0434\u043E\u043C\u043E\u0444\u043E\u043D",
751
- "\u043F\u043E\u0434\u0432\u0430\u043B",
752
- "\u0447\u0435\u0440\u0434\u0430\u043A",
753
- "\u044D\u0442\u0430\u0436",
754
- "\u043A\u043E\u0440\u0438\u0434\u043E\u0440",
755
- "\u0436\u0438\u043B\u044C\u0446\u044B"
756
- ],
757
- es: ["piso", "alquiler", "casero", "fontanero", "aver\xEDa", "vecinos", "portal", "reforma", "calefacci\xF3n"]
758
- }
759
- },
760
- {
761
- name: "delivery",
762
- meaning: "a parcel, order or courier to send, track or collect",
763
- triggers: {
764
- en: ["delivery", "deliver", "parcel", "package", "shipment", "ship", "courier", "tracking", "pickup", "order"],
765
- ru: ["\u0434\u043E\u0441\u0442\u0430\u0432\u043A\u0430", "\u043F\u043E\u0441\u044B\u043B\u043A\u0430", "\u043A\u0443\u0440\u044C\u0435\u0440", "\u0442\u0440\u0435\u043A", "\u0432\u044B\u0434\u0430\u0447\u0438", "\u0441\u0434\u044D\u043A", "\u043E\u0437\u043E\u043D", "\u0437\u0430\u043A\u0430\u0437"],
766
- es: ["entrega", "paquete", "env\xEDo", "pedido", "mensajero", "repartidor", "correos"]
767
- }
768
- },
769
- {
770
- name: "devices",
771
- meaning: "a phone, laptop or gadget to buy, fix or set up",
772
- triggers: {
773
- en: ["laptop", "iphone", "smartphone", "printer", "router", "charger", "headphones", "macbook", "gadget"],
774
- ru: ["\u043D\u043E\u0443\u0442\u0431\u0443\u043A", "\u0441\u043C\u0430\u0440\u0442\u0444\u043E\u043D", "\u0430\u0439\u0444\u043E\u043D", "\u043F\u0440\u0438\u043D\u0442\u0435\u0440", "\u0440\u043E\u0443\u0442\u0435\u0440", "\u0437\u0430\u0440\u044F\u0434\u043A\u0430", "\u043D\u0430\u0443\u0448\u043D\u0438\u043A\u0438", "\u043C\u0430\u043A\u0431\u0443\u043A", "\u0433\u0430\u0434\u0436\u0435\u0442"],
775
- es: ["port\xE1til", "impresora", "cargador", "auriculares", "router", "smartphone"]
776
- }
777
- },
778
- {
779
- name: "food",
780
- meaning: "groceries, cooking, a restaurant",
781
- triggers: {
782
- en: ["groceries", "restaurant", "cook", "cooking", "recipe", "takeaway"],
783
- ru: ["\u043F\u0440\u043E\u0434\u0443\u043A\u0442\u044B", "\u0440\u0435\u0441\u0442\u043E\u0440\u0430\u043D", "\u0441\u0442\u043E\u043B\u0438\u043A", "\u0433\u043E\u0442\u043E\u0432\u0438\u0442\u044C", "\u043A\u0443\u043B\u0438\u043D\u0430\u0440\u0438\u044F"],
784
- es: ["restaurante", "comida", "cocinar", "mercadona"]
785
- }
786
- },
787
- {
788
- name: "shopping",
789
- meaning: "things to buy",
790
- triggers: {
791
- en: ["buy", "purchase", "shop", "shopping"],
792
- ru: ["\u043A\u0443\u043F\u0438\u0442\u044C", "\u043F\u043E\u043A\u0443\u043F\u043A\u0430", "\u043C\u0430\u0433\u0430\u0437\u0438\u043D"],
793
- es: ["comprar", "compra", "tienda", "supermercado"]
794
- }
795
- },
796
- {
797
- name: "hobbies",
798
- meaning: "a hobby: music, photography, crafts, a game you play",
799
- triggers: {
800
- en: ["hobby", "guitar", "piano", "photography", "painting", "knitting", "fishing", "chess"],
801
- ru: ["\u0445\u043E\u0431\u0431\u0438", "\u0433\u0438\u0442\u0430\u0440\u0430", "\u0444\u043E\u0440\u0442\u0435\u043F\u0438\u0430\u043D\u043E", "\u0440\u0438\u0441\u043E\u0432\u0430\u043D\u0438\u0435", "\u0444\u043E\u0442\u043E\u0433\u0440\u0430\u0444\u0438\u044F", "\u0440\u044B\u0431\u0430\u043B\u043A\u0430", "\u0448\u0430\u0445\u043C\u0430\u0442\u044B"],
802
- es: ["afici\xF3n", "guitarra", "piano", "fotograf\xEDa", "pintura", "pesca", "ajedrez"]
803
- }
804
- },
805
- {
806
- name: "entertainment",
807
- meaning: "films, series, concerts, games, shows",
808
- triggers: {
809
- en: ["film", "movie", "cinema", "series", "concert", "game", "theatre", "theater", "netflix"],
810
- ru: ["\u0444\u0438\u043B\u044C\u043C", "\u0441\u0435\u0440\u0438\u0430\u043B", "\u043A\u043E\u043D\u0446\u0435\u0440\u0442", "\u0438\u0433\u0440\u0430", "\u0442\u0435\u0430\u0442\u0440", "\u0441\u043F\u0435\u043A\u0442\u0430\u043A\u043B\u044C", "\u043C\u0430\u0442\u0447", "\u043A\u0438\u043D\u043E\u0442\u0435\u0430\u0442\u0440"],
811
- es: ["pel\xEDcula", "cine", "serie", "concierto", "juego", "teatro"]
812
- }
813
- },
814
- {
815
- name: "events",
816
- meaning: "an event, tickets, a venue, an RSVP",
817
- triggers: {
818
- en: ["event", "tickets", "ticket", "rsvp", "venue", "conference", "festival", "party", "reservation"],
819
- ru: ["\u043C\u0435\u0440\u043E\u043F\u0440\u0438\u044F\u0442\u0438\u0435", "\u0431\u0438\u043B\u0435\u0442\u044B", "\u043A\u043E\u043D\u0444\u0435\u0440\u0435\u043D\u0446\u0438\u044F", "\u0444\u0435\u0441\u0442\u0438\u0432\u0430\u043B\u044C", "\u0432\u0435\u0447\u0435\u0440\u0438\u043D\u043A\u0430"],
820
- es: ["evento", "entradas", "fiesta", "congreso", "conferencia"]
821
- }
822
- },
823
- {
824
- name: "religion",
825
- meaning: "church, a service, a religious holiday or rite",
826
- triggers: {
827
- en: ["church", "mosque", "synagogue", "temple", "prayer", "priest", "baptism"],
828
- ru: ["\u0446\u0435\u0440\u043A\u043E\u0432\u044C", "\u0445\u0440\u0430\u043C", "\u0431\u0430\u0442\u044E\u0448\u043A\u0430", "\u043C\u043E\u043B\u0438\u0442\u0432\u0430", "\u043A\u0440\u0435\u0449\u0435\u043D\u0438\u0435", "\u043B\u0438\u0442\u0443\u0440\u0433\u0438\u044F"],
829
- es: ["iglesia", "misa", "parroquia", "bautizo", "sacerdote"]
830
- }
831
- },
832
- {
833
- name: "community",
834
- meaning: "a group or club you run or help: members, moderation, admin work",
835
- triggers: {
836
- en: ["community", "club", "members", "volunteer", "moderator"],
837
- ru: ["\u0441\u043E\u043E\u0431\u0449\u0435\u0441\u0442\u0432\u043E", "\u043A\u043B\u0443\u0431", "\u0443\u0447\u0430\u0441\u0442\u043D\u0438\u043A\u0438", "\u043C\u043E\u0434\u0435\u0440\u0430\u0446\u0438\u044F", "\u0432\u043E\u043B\u043E\u043D\u0442\u0451\u0440"],
838
- es: ["comunidad", "voluntario", "miembros"]
839
- }
840
- },
841
- {
842
- name: "intro",
843
- meaning: "introduce people, or ask for an introduction",
844
- triggers: {
845
- en: ["intro", "introduce", "introduction", "referral"],
846
- ru: ["\u043F\u043E\u0437\u043D\u0430\u043A\u043E\u043C\u0438\u0442\u044C", "\u043F\u043E\u0437\u043D\u0430\u043A\u043E\u043C\u044C", "\u0437\u043D\u0430\u043A\u043E\u043C\u0441\u0442\u0432\u043E"],
847
- es: ["presentarte", "presentaros"]
848
- }
849
- },
850
- {
851
- name: "money",
852
- meaning: "pay, invoice, refund, a price or a debt",
853
- triggers: {
854
- en: [
855
- "pay",
856
- "payment",
857
- "invoice",
858
- "refund",
859
- "price",
860
- "money",
861
- "transfer",
862
- "debt",
863
- "owe",
864
- "cost",
865
- "reimburse",
866
- "expenses"
867
- ],
868
- ru: [
869
- "\u043E\u043F\u043B\u0430\u0442\u0430",
870
- "\u043E\u043F\u043B\u0430\u0442\u0438\u0442\u044C",
871
- "\u043F\u043B\u0430\u0442\u0451\u0436",
872
- "\u0441\u0447\u0451\u0442",
873
- "\u0434\u0435\u043D\u044C\u0433\u0438",
874
- "\u043F\u0435\u0440\u0435\u0432\u043E\u0434",
875
- "\u043F\u0435\u0440\u0435\u0432\u0435\u0441\u0442\u0438",
876
- "\u0434\u043E\u043B\u0433",
877
- "\u0446\u0435\u043D\u0430",
878
- "\u0441\u0442\u043E\u0438\u043C\u043E\u0441\u0442\u044C",
879
- "\u0432\u043E\u0437\u0432\u0440\u0430\u0442",
880
- "\u0432\u0435\u0440\u043D\u0443\u0442\u044C",
881
- "\u0441\u043A\u0438\u043D\u0443\u0442\u044C\u0441\u044F"
882
- ],
883
- es: ["pagar", "pago", "factura", "dinero", "transferencia", "deuda", "precio", "reembolso", "cobrar"]
884
- }
885
- },
886
- {
887
- name: "documents",
888
- meaning: "a contract, scan, form or signature to send or receive",
889
- triggers: {
890
- en: [
891
- "document",
892
- "documents",
893
- "contract",
894
- "scan",
895
- "sign",
896
- "signature",
897
- "form",
898
- "certificate",
899
- "pdf",
900
- "agreement",
901
- "nda"
902
- ],
903
- ru: ["\u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442", "\u0434\u043E\u0433\u043E\u0432\u043E\u0440", "\u0441\u043A\u0430\u043D", "\u043F\u043E\u0434\u043F\u0438\u0441\u0430\u0442\u044C", "\u043F\u043E\u0434\u043F\u0438\u0441\u044C", "\u0430\u043D\u043A\u0435\u0442\u0430", "\u0441\u043F\u0440\u0430\u0432\u043A\u0430", "\u0430\u043A\u0442", "\u0441\u043E\u0433\u043B\u0430\u0441\u0438\u0435", "\u043F\u0440\u043E\u0442\u043E\u043A\u043E\u043B"],
904
- es: ["documento", "contrato", "escaneo", "firmar", "firma", "formulario", "certificado"]
905
- }
906
- },
907
- {
908
- name: "admin",
909
- meaning: "office admin: supplies, errands, paperwork with no closer area",
910
- triggers: {
911
- en: ["admin", "paperwork", "errand", "errands", "stationery", "supplies"],
912
- ru: ["\u043A\u0430\u043D\u0446\u0435\u043B\u044F\u0440\u0438\u044F", "\u043A\u0430\u043D\u0446\u0442\u043E\u0432\u0430\u0440\u044B", "\u043F\u043E\u0440\u0443\u0447\u0435\u043D\u0438\u0435", "\u0431\u0443\u043C\u0430\u0436\u043A\u0438"],
913
- es: ["papeleo", "recado", "recados", "gestiones"]
914
- }
915
- },
916
- {
917
- name: "meeting",
918
- meaning: "a call, meeting or appointment to arrange or attend",
919
- triggers: {
920
- en: ["meeting", "meet", "call", "appointment", "schedule", "zoom", "reschedule", "agenda", "sync", "standup"],
921
- ru: ["\u0432\u0441\u0442\u0440\u0435\u0447\u0430", "\u0432\u0441\u0442\u0440\u0435\u0442\u0438\u0442\u044C\u0441\u044F", "\u0441\u043E\u0437\u0432\u043E\u043D", "\u0441\u043E\u0437\u0432\u043E\u043D\u0438\u0442\u044C\u0441\u044F", "\u0437\u0432\u043E\u043D\u043E\u043A", "\u043F\u043E\u0437\u0432\u043E\u043D\u0438\u0442\u044C", "\u0441\u043E\u0431\u0440\u0430\u043D\u0438\u0435"],
922
- es: ["reuni\xF3n", "reunirse", "llamada", "cita", "agenda", "videollamada"]
923
- }
924
- },
925
- {
926
- name: "clients",
927
- meaning: "a client's request, a proposal, a client follow-up",
928
- triggers: {
929
- en: ["client", "clients", "customer", "proposal"],
930
- ru: ["\u043A\u043B\u0438\u0435\u043D\u0442", "\u0437\u0430\u043A\u0430\u0437\u0447\u0438\u043A"],
931
- es: ["cliente", "propuesta"]
932
- }
933
- },
934
- {
935
- name: "projects",
936
- meaning: "deliverables, deadlines, launches",
937
- triggers: {
938
- en: ["project", "deadline", "launch", "milestone", "deliverable", "roadmap", "sprint"],
939
- ru: ["\u043F\u0440\u043E\u0435\u043A\u0442", "\u0434\u0435\u0434\u043B\u0430\u0439\u043D", "\u0437\u0430\u043F\u0443\u0441\u043A", "\u0441\u043F\u0440\u0438\u043D\u0442"],
940
- es: ["proyecto", "lanzamiento", "plazo"]
941
- }
942
- },
943
- {
944
- name: "team",
945
- meaning: "colleagues, reviews, one-to-ones, time off",
946
- triggers: {
947
- en: ["team", "colleague", "colleagues", "vacation", "onboarding", "manager"],
948
- ru: ["\u043A\u043E\u043C\u0430\u043D\u0434\u0430", "\u043A\u043E\u043B\u043B\u0435\u0433\u0430", "\u043A\u043E\u043B\u043B\u0435\u0433\u0438", "\u043E\u0442\u043F\u0443\u0441\u043A", "\u043E\u043D\u0431\u043E\u0440\u0434\u0438\u043D\u0433", "\u0440\u0443\u043A\u043E\u0432\u043E\u0434\u0438\u0442\u0435\u043B\u044C"],
949
- es: ["equipo", "compa\xF1ero", "vacaciones"]
950
- }
951
- },
952
- {
953
- name: "follow-up",
954
- meaning: "you wait for someone: chase them",
955
- triggers: {
956
- en: ["remind", "reminder", "chase", "nudge", "followup"],
957
- ru: ["\u043D\u0430\u043F\u043E\u043C\u0438\u043D\u0430\u044E", "\u043D\u0430\u043F\u043E\u043C\u043D\u0438\u0442\u044C", "\u043D\u0430\u043F\u043E\u043C\u0438\u043D\u0430\u043D\u0438\u0435", "\u043F\u0438\u043D\u0433"],
958
- es: ["recordatorio", "recordar"]
959
- }
960
- },
961
- {
962
- name: "reply",
963
- meaning: "someone waits for your answer",
964
- triggers: {
965
- en: ["reply", "respond", "answer"],
966
- ru: ["\u043E\u0442\u0432\u0435\u0442\u044C", "\u043E\u0442\u0432\u0435\u0442\u0438\u0442\u044C", "\u043E\u0442\u0432\u0435\u0442"],
967
- es: ["responder", "respuesta", "contestar", "contesta"]
968
- }
969
- },
970
- {
971
- name: "work",
972
- meaning: "a job task with no closer category",
973
- triggers: {
974
- en: ["work", "job", "office", "task"],
975
- ru: ["\u0440\u0430\u0431\u043E\u0442\u0430", "\u043E\u0444\u0438\u0441", "\u0437\u0430\u0434\u0430\u0447\u0430", "\u043D\u0430\u0447\u0430\u043B\u044C\u043D\u0438\u043A"],
976
- es: ["trabajo", "oficina", "tarea", "jefe"]
977
- }
978
- },
979
- {
980
- name: "personal",
981
- meaning: "friends, gifts, favours",
982
- triggers: {
983
- en: ["friend", "friends", "gift", "favour", "favor"],
984
- ru: ["\u043F\u043E\u0434\u0440\u0443\u0433\u0430", "\u043F\u043E\u0434\u0430\u0440\u043E\u043A", "\u043F\u0440\u043E\u0441\u044C\u0431\u0430", "\u0434\u0440\u0443\u0437\u044C\u044F"],
985
- es: ["amigo", "amiga", "regalo", "favor"]
986
- }
987
- },
988
- { name: "other", meaning: "none of the above", triggers: { en: [], ru: [], es: [] } }
989
- ];
990
- var FALLBACK_CATEGORY = "other";
991
- var unlistedNote = /* @__PURE__ */ __name((unlisted, tool) => unlisted.map(({ name, open, total }) => `${total} task${total === 1 ? "" : "s"} (${open} open) still use ${name}, which is not in the list: ${tool} tasks list category:${name} shows them, ${tool} tasks update <id> --category <name> moves one`), "unlistedNote");
992
- var LANGUAGES = ["en", "ru", "es"];
993
- var NAME = /^[a-z][a-z0-9-]{0,29}$/;
994
- var MAX_CATEGORIES = 80;
995
- var parseTaskCategory = /* @__PURE__ */ __name((name, value) => {
996
- const named = name.trim().toLowerCase();
997
- if (!NAME.test(named))
998
- throw new CliError("validation_error", `a category name is a lower-case word of letters, digits and -, up to 30 \u2014 not "${singleLine(name)}"`);
999
- const [meaning = "", words = ""] = value.split("|", 2).map((part) => part.trim());
1000
- if (!meaning || meaning.length > 200)
1001
- throw new CliError("validation_error", 'a category takes "<meaning> | <trigger words, comma-separated>", the meaning up to 200 characters');
1002
- const triggers = { en: [], ru: [], es: [] };
1003
- for (const typed of words.split(",").map((word) => word.trim()).filter(Boolean)) {
1004
- const tagged = /^(en|ru|es):\s*(.+)$/i.exec(typed);
1005
- const word = (tagged?.[2] ?? typed).toLowerCase();
1006
- const language = tagged?.[1]?.toLowerCase() ?? (new RegExp("\\p{Script=Cyrillic}", "u").test(word) ? "ru" : "en");
1007
- if (!triggers[language].includes(word))
1008
- triggers[language].push(word.slice(0, 60));
1009
- }
1010
- if (Object.values(triggers).flat().length > 100)
1011
- throw new CliError("validation_error", "a category takes up to 100 trigger words");
1012
- return { name: named, meaning, triggers };
1013
- }, "parseTaskCategory");
1014
- var withTaskCategory = /* @__PURE__ */ __name((list, name, value) => {
1015
- const named = name.trim().toLowerCase();
1016
- if (value === void 0) {
1017
- if (named === FALLBACK_CATEGORY)
1018
- throw new CliError("validation_error", `${FALLBACK_CATEGORY} stays: a rule picks it when no trigger word matches`);
1019
- if (!list.some((one) => one.name === named))
1020
- throw new CliError("not_found", `no task category ${singleLine(named)} \u2014 tasks categories lists them`);
1021
- return list.filter((one) => one.name !== named);
1022
- }
1023
- const category = parseTaskCategory(named, value);
1024
- if (list.some((one) => one.name === named))
1025
- return list.map((one) => one.name === named ? category : one);
1026
- if (list.length >= MAX_CATEGORIES)
1027
- throw new CliError("validation_error", `the category list takes up to ${MAX_CATEGORIES} categories`);
1028
- const fallback = list.findIndex((one) => one.name === FALLBACK_CATEGORY);
1029
- return fallback < 0 ? [...list, category] : [...list.slice(0, fallback), category, ...list.slice(fallback)];
1030
- }, "withTaskCategory");
1031
- var taskCategoryValue = /* @__PURE__ */ __name(({ meaning, triggers }) => {
1032
- const words = LANGUAGES.flatMap((language) => triggers[language].map((word) => `${language}:${word}`));
1033
- return words.length === 0 ? meaning : `${meaning} | ${words.join(", ")}`;
1034
- }, "taskCategoryValue");
1035
- var wordsOf = /* @__PURE__ */ __name((words) => Array.isArray(words) ? words.map(String) : [], "wordsOf");
1036
- var storedTaskCategories = /* @__PURE__ */ __name((json) => {
1037
- try {
1038
- const parsed = JSON.parse(json);
1039
- if (!Array.isArray(parsed))
1040
- return void 0;
1041
- const list = parsed.map((one) => {
1042
- const { name, meaning, triggers } = one;
1043
- if (typeof name !== "string" || typeof meaning !== "string" || typeof triggers !== "object")
1044
- throw new Error();
1045
- return {
1046
- name,
1047
- meaning,
1048
- triggers: {
1049
- en: wordsOf(triggers.en),
1050
- ru: wordsOf(triggers.ru),
1051
- es: wordsOf(triggers.es)
1052
- }
1053
- };
1054
- });
1055
- return list.some((one) => one.name === FALLBACK_CATEGORY) ? list : void 0;
1056
- } catch {
1057
- return void 0;
1058
- }
1059
- }, "storedTaskCategories");
1060
-
1061
- // node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/store/shared-config.js
1062
- var SECTION = "task_categories";
1063
- var sharedConfigPath = /* @__PURE__ */ __name((store, env = process.env) => {
1064
- const paths = resolvePaths({ appName: "WireCat", prefix: "WIRECAT", env });
1065
- if (env.WIRECAT_CONFIG_DIR)
1066
- return join(paths.config, "config.json");
1067
- return resolve(store) === resolve(storePath({ ...env, MESSAGING_STORE: void 0 })) ? join(paths.config, "config.json") : join(dirname(store), "config.json");
1068
- }, "sharedConfigPath");
1069
- var backupPathFor = /* @__PURE__ */ __name((file) => {
1070
- const stamp = (/* @__PURE__ */ new Date()).toISOString().replace(/[:.]/g, "-");
1071
- let path = `${file}.bak-${stamp}`;
1072
- for (let n = 2; existsSync(path); n++)
1073
- path = `${file}.bak-${stamp}-${n}`;
1074
- return path;
1075
- }, "backupPathFor");
1076
- var mended = /* @__PURE__ */ __name((path, bytes) => {
1077
- const text = bytes.toString("utf8");
1078
- const result = repairConfigText(text);
1079
- if (result.state === "repaired" && result.fixes.every((one) => SAFE_REPAIRS.has(one.kind))) {
1080
- try {
1081
- writeSecurely(backupPathFor(path), bytes, statSync(path).mode & 511);
1082
- writeSecurely(path, result.text, 384);
1083
- } catch {
1084
- }
1085
- return JSON.parse(result.text);
1086
- }
1087
- throw new CliError("configuration_error", `${path} is not valid JSON, ${explainBrokenJson(text, result)}`, {
1088
- reason: "config.invalid_json",
1089
- file: path
1090
- });
1091
- }, "mended");
1092
- var readJson = /* @__PURE__ */ __name((path) => {
1093
- let bytes;
1094
- try {
1095
- bytes = readFileSync(path);
1096
- } catch (error) {
1097
- if (error.code === "ENOENT")
1098
- return void 0;
1099
- throw error;
1100
- }
1101
- let parsed;
1102
- try {
1103
- parsed = JSON.parse(bytes.toString("utf8"));
1104
- } catch {
1105
- parsed = mended(path, bytes);
1106
- }
1107
- if (parsed === null || typeof parsed !== "object" || Array.isArray(parsed))
1108
- throw new CliError("configuration_error", `${path} must hold a JSON object`);
1109
- return parsed;
1110
- }, "readJson");
1111
- var readTaskCategoryEdits = /* @__PURE__ */ __name((path) => {
1112
- const section = readSharedSection(path, SECTION);
1113
- if (section === void 0)
1114
- return void 0;
1115
- if (section === null || typeof section !== "object" || Array.isArray(section))
1116
- throw new CliError("configuration_error", `${path}: ${SECTION} must be an object of "<name>": "<meaning> | <words>"`);
1117
- for (const [name, value] of Object.entries(section))
1118
- if (value !== null && typeof value !== "string")
1119
- throw new CliError("configuration_error", `${path}: ${SECTION}.${name} takes "<meaning> | <words>", or null to drop the category`);
1120
- return section;
1121
- }, "readTaskCategoryEdits");
1122
- var applyTaskCategoryEdits = /* @__PURE__ */ __name((base, edits, path) => Object.entries(edits).reduce((list, [name, value]) => {
1123
- if (value === null && !list.some((one) => one.name === name.trim().toLowerCase()))
1124
- return list;
1125
- try {
1126
- return withTaskCategory(list, name, value ?? void 0);
1127
- } catch (error) {
1128
- if (error instanceof CliError)
1129
- throw new CliError("configuration_error", `${path}: ${error.message}`);
1130
- throw error;
1131
- }
1132
- }, base), "applyTaskCategoryEdits");
1133
- var editsFrom = /* @__PURE__ */ __name((list) => {
1134
- const edits = {};
1135
- const kept = new Map(list.map((one) => [one.name, one]));
1136
- for (const one of DEFAULT_TASK_CATEGORIES)
1137
- if (!kept.has(one.name) && one.name !== FALLBACK_CATEGORY)
1138
- edits[one.name] = null;
1139
- for (const one of list) {
1140
- const value = taskCategoryValue(one);
1141
- const before = DEFAULT_TASK_CATEGORIES.find(({ name }) => name === one.name);
1142
- if (!before || taskCategoryValue(before) !== value)
1143
- edits[one.name] = value;
1144
- }
1145
- return edits;
1146
- }, "editsFrom");
1147
- var readSharedSection = /* @__PURE__ */ __name((path, section) => readJson(path)?.[section], "readSharedSection");
1148
- var writeSharedSection = /* @__PURE__ */ __name((path, section, value) => {
1149
- const file = readJson(path) ?? {};
1150
- if (value === void 0)
1151
- delete file[section];
1152
- else
1153
- file[section] = value;
1154
- mkdirSync(dirname(path), { recursive: true, mode: 448 });
1155
- const temporary = `${path}.${process.pid}.tmp`;
1156
- writeFileSync(temporary, `${JSON.stringify(file, null, 2)}
1157
- `, { mode: 384 });
1158
- renameSync(temporary, path);
1159
- }, "writeSharedSection");
1160
- var writeTaskCategoryEdits = /* @__PURE__ */ __name((path, edits) => writeSharedSection(path, SECTION, edits === void 0 || Object.keys(edits).length === 0 ? void 0 : edits), "writeTaskCategoryEdits");
1161
- var taskCategoriesReader = /* @__PURE__ */ __name((path) => {
1162
- let seen;
1163
- return (base) => {
1164
- let stamp = "none";
1165
- try {
1166
- const { mtimeMs, size } = statSync(path);
1167
- stamp = `${mtimeMs}:${size}`;
1168
- } catch {
1169
- }
1170
- if (seen?.stamp === stamp && seen.base === base)
1171
- return seen.list;
1172
- const edits = readTaskCategoryEdits(path);
1173
- const list = edits ? applyTaskCategoryEdits(base, edits, path) : base;
1174
- seen = { stamp, base, list };
1175
- return list;
1176
- };
1177
- }, "taskCategoriesReader");
1178
-
1179
- export {
1180
- REPAIR_WORDS,
1181
- repairConfigText,
1182
- DEFAULT_TASK_CATEGORIES,
1183
- FALLBACK_CATEGORY,
1184
- unlistedNote,
1185
- withTaskCategory,
1186
- taskCategoryValue,
1187
- storedTaskCategories,
1188
- sharedConfigPath,
1189
- backupPathFor,
1190
- readTaskCategoryEdits,
1191
- applyTaskCategoryEdits,
1192
- editsFrom,
1193
- readSharedSection,
1194
- writeSharedSection,
1195
- writeTaskCategoryEdits,
1196
- taskCategoriesReader
1197
- };