@wirecat/cli-memo 0.131.64 → 0.131.66
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/dist/bin/memo.js +2 -2
- package/dist/bundle/{all-profiles-L6EBORCV.js → all-profiles-CWV6RUGR.js} +9 -9
- package/dist/bundle/{anthropic-42PADP4V.js → anthropic-OIVOFYZY.js} +5 -5
- package/dist/bundle/{app-server-7KM4MSDA.js → app-server-2APNY5WO.js} +42 -42
- package/dist/bundle/auto-HRPCC4FE.js +85 -0
- package/dist/bundle/{bun-NYSNYHAD.js → bun-7ZKANZII.js} +2 -2
- package/dist/bundle/{bun-sqlite-B46U7KI7.js → bun-sqlite-M2EHGYBI.js} +5 -5
- package/dist/bundle/{chunk-NRHF7TQ4.js → chunk-22XVNJQP.js} +11 -11
- package/dist/bundle/{chunk-FKUA3BTM.js → chunk-2LAJDBWZ.js} +268 -268
- package/dist/bundle/{chunk-A524HPDV.js → chunk-2OEQH7HY.js} +2 -2
- package/dist/bundle/{chunk-TKPIS4G2.js → chunk-2QIM6246.js} +1 -1
- package/dist/bundle/{chunk-T3LVSUNZ.js → chunk-2SIOUXJ7.js} +7 -7
- package/dist/bundle/{chunk-ASWLM74P.js → chunk-4U2IONIS.js} +4 -4
- package/dist/bundle/{chunk-ZX6SWNSR.js → chunk-4Y33E3U3.js} +6 -6
- package/dist/bundle/{chunk-XVREIQ2N.js → chunk-637JEJOC.js} +2 -2
- package/dist/bundle/{chunk-5D7BPC33.js → chunk-75MWX5PK.js} +1 -1
- package/dist/bundle/{chunk-FH4P5UQA.js → chunk-7NV2IUIC.js} +4 -4
- package/dist/bundle/{chunk-SOQGV3ZM.js → chunk-ADDDSIRN.js} +6 -6
- package/dist/bundle/{chunk-DXTNBVLV.js → chunk-B3ZXE2IH.js} +277 -277
- package/dist/bundle/{chunk-37E74SKW.js → chunk-BF4SX6DP.js} +72 -72
- package/dist/bundle/{chunk-WINH45XG.js → chunk-C74WKN57.js} +8 -8
- package/dist/bundle/{chunk-3YNJBKGV.js → chunk-CRRBBPJK.js} +337 -337
- package/dist/bundle/{chunk-347UBASY.js → chunk-CUC7KGX4.js} +4 -4
- package/dist/bundle/{chunk-PVGK67AJ.js → chunk-DAA52TDI.js} +156 -156
- package/dist/bundle/{chunk-VTKLHYCZ.js → chunk-DH6PT65U.js} +4 -4
- package/dist/bundle/{chunk-UXAP7MNL.js → chunk-DMC3NDG7.js} +9 -9
- package/dist/bundle/{chunk-3SCHFNUH.js → chunk-DNXPQGFB.js} +23 -23
- package/dist/bundle/{chunk-IK6KH3RE.js → chunk-DSU6UR2X.js} +1 -1
- package/dist/bundle/{chunk-QHNAPLVB.js → chunk-DVVS2API.js} +45 -45
- package/dist/bundle/{chunk-RP6VV35S.js → chunk-EI5IEOXD.js} +2 -2
- package/dist/bundle/{chunk-FHZKHKBJ.js → chunk-GL74QTTV.js} +34 -34
- package/dist/bundle/{chunk-RLX5SC2X.js → chunk-GO73V5BC.js} +1 -1
- package/dist/bundle/{chunk-MYXB2T77.js → chunk-HB7WN6MX.js} +2 -2
- package/dist/bundle/{chunk-RCGFSWZE.js → chunk-HE2F4JII.js} +8 -8
- package/dist/bundle/{chunk-SIJA2UYC.js → chunk-HHDZIBBO.js} +7 -7
- package/dist/bundle/{chunk-6OS7PTOC.js → chunk-HPUTLOQU.js} +131 -38
- package/dist/bundle/{chunk-NH3A5QTW.js → chunk-HUJ666OW.js} +8 -8
- package/dist/bundle/{chunk-RTLQHLHG.js → chunk-I4EUGFS7.js} +4 -4
- package/dist/bundle/{chunk-RGZUDHAQ.js → chunk-IDBN5CTG.js} +8 -8
- package/dist/bundle/{chunk-I5L7MLZ6.js → chunk-IGXIPABG.js} +1 -1
- package/dist/bundle/{chunk-K5VF47E2.js → chunk-JSFC6TRN.js} +6 -6
- package/dist/bundle/{chunk-FWRBJAQZ.js → chunk-KOJN4WTN.js} +3 -3
- package/dist/bundle/{chunk-2XVXF4RW.js → chunk-KU4TU5XZ.js} +3 -3
- package/dist/bundle/{chunk-SIBQ34LX.js → chunk-KV35JTWA.js} +1 -1
- package/dist/bundle/{chunk-6G53ZFUT.js → chunk-L62FWN3Y.js} +1 -1
- package/dist/bundle/{chunk-LVLFLWGY.js → chunk-LDPNN4ED.js} +12 -12
- package/dist/bundle/{chunk-FG4Q6T72.js → chunk-LEL6NYM5.js} +5 -5
- package/dist/bundle/{chunk-VX4HNQLN.js → chunk-LRQD4RJN.js} +3 -3
- package/dist/bundle/{chunk-EDBZEHAU.js → chunk-LW5G7PAR.js} +6 -6
- package/dist/bundle/{chunk-MWAXS4BX.js → chunk-LWX2PCM6.js} +14 -10
- package/dist/bundle/{chunk-NIJZXGJN.js → chunk-M643YQVP.js} +4 -4
- package/dist/bundle/{chunk-ACG5QN77.js → chunk-M76ZJSPA.js} +3 -3
- package/dist/bundle/{chunk-4GTZSCUE.js → chunk-MEPRCROV.js} +3 -3
- package/dist/bundle/{chunk-ZUQXDJ7A.js → chunk-OO6SA2FM.js} +1 -1
- package/dist/bundle/{chunk-EMNQPMZO.js → chunk-OZBL624P.js} +20 -20
- package/dist/bundle/{chunk-XPT5PX7H.js → chunk-P2MMAW3A.js} +7 -7
- package/dist/bundle/{chunk-QTF4ZXOL.js → chunk-QWP6RJFR.js} +14 -14
- package/dist/bundle/{chunk-724DPWN6.js → chunk-R4LVHS2N.js} +2 -2
- package/dist/bundle/{chunk-PKUBC2ME.js → chunk-RKLCY7YU.js} +4 -4
- package/dist/bundle/{chunk-V7TJSYFK.js → chunk-UCLZMKTT.js} +2 -2
- package/dist/bundle/{chunk-EBDX6DNB.js → chunk-V3JOIUVB.js} +4 -4
- package/dist/bundle/{chunk-B3SERZMP.js → chunk-VBXQAIRI.js} +1 -1
- package/dist/bundle/{chunk-FC5PK6M6.js → chunk-WCRWS2W7.js} +13 -13
- package/dist/bundle/{chunk-DKO7WEXJ.js → chunk-WDVYPHNV.js} +2 -2
- package/dist/bundle/{chunk-ML46T7UC.js → chunk-XAEDDKM4.js} +30 -30
- package/dist/bundle/{chunk-4SUROBD4.js → chunk-XFZESHD3.js} +4 -4
- package/dist/bundle/{chunk-NZJUMLTD.js → chunk-XMGUKW6Y.js} +2 -2
- package/dist/bundle/{chunk-HKC7GDJD.js → chunk-XZBVXJWY.js} +6 -6
- package/dist/bundle/{chunk-VLUDHCCX.js → chunk-ZAOFHRBL.js} +23 -23
- package/dist/bundle/{chunk-4ZW6ZJ2V.js → chunk-ZTONSM5X.js} +2 -2
- package/dist/bundle/command-contract-N554VPBZ.js +32 -0
- package/dist/bundle/{decode-2Z4GCIGA.js → decode-ZCMHC5JI.js} +5 -5
- package/dist/bundle/{dispatch-CRYB6Q2V.js → dispatch-VJSUBAUM.js} +8 -8
- package/dist/bundle/{echarts-JADCSUD7.js → echarts-SJNM7DNA.js} +2 -2
- package/dist/bundle/{embed-ZLEPINEK.js → embed-JO3CVYBK.js} +6 -6
- package/dist/bundle/{embedder-E3DHPZCK.js → embedder-QAEGU7TZ.js} +9 -9
- package/dist/bundle/{entry-MUE6HWX3.js → entry-KMFOJYWF.js} +7 -7
- package/dist/bundle/failure-2FQL5SHA.js +65 -0
- package/dist/bundle/{failure-ZMQJF3RO.js → failure-GLF7OMMM.js} +2 -2
- package/dist/bundle/{first-run-3JYWLJCH.js → first-run-5X2NRJL2.js} +11 -11
- package/dist/bundle/first-screen-2LMAVNBU.js +30 -0
- package/dist/bundle/{instructions-ECXOBMWS.js → instructions-GLZE4RPY.js} +1 -1
- package/dist/bundle/{mcp-RKJG22KM.js → mcp-H2WYFBNW.js} +2 -2
- package/dist/bundle/mcp-QXTOJORS.js +90 -0
- package/dist/bundle/memo.js +16 -16
- package/dist/bundle/{node-A6363DJ4.js → node-BNMBIM5C.js} +2 -2
- package/dist/bundle/{node-sqlite-FA2P77PW.js → node-sqlite-BSRYEMOR.js} +6 -6
- package/dist/bundle/{oauth-DBGARGR7.js → oauth-HYAEWGBV.js} +7 -7
- package/dist/bundle/{open-5YYG2VWH.js → open-X7J4Q3I6.js} +5 -5
- package/dist/bundle/{openai-BPVP7TZ7.js → openai-ZACXNPZS.js} +10 -10
- package/dist/bundle/{process-DGPZRHQA.js → process-5I6233QY.js} +1 -1
- package/dist/bundle/{program-LXQLWUAG.js → program-RQIADAES.js} +135 -100
- package/dist/bundle/{prompt-NTAZWPWA.js → prompt-DVKTWZHJ.js} +5 -5
- package/dist/bundle/{recognize-OGEP5VD3.js → recognize-VXK4L74H.js} +4 -4
- package/dist/bundle/{remote-DER2PFH6.js → remote-IJLJQRQN.js} +7 -7
- package/dist/bundle/{rerank-PB5ACFHS.js → rerank-553ZMBYJ.js} +7 -7
- package/dist/bundle/{serve-KNEY4BXK.js → serve-76AFHLTI.js} +9 -9
- package/dist/bundle/{server-MVJU7QG4.js → server-B3F54YWL.js} +56 -56
- package/dist/bundle/server-PSEKWXKK.js +48 -0
- package/dist/bundle/server-QDPYZZT5.js +61 -0
- package/dist/bundle/{state-JMCWHHZM.js → state-WYFGGGAG.js} +6 -6
- package/dist/bundle/{store-M5QSIRWJ.js → store-S6QR47NT.js} +13 -13
- package/dist/bundle/store-maintenance-command-O4TXIWSL.js +47 -0
- package/dist/bundle/update-Z4LDMYC5.js +68 -0
- package/dist/digest/command.d.ts.map +1 -1
- package/dist/digest/command.js +4 -3
- package/dist/digest/command.js.map +1 -1
- package/dist/digest/digest.d.ts.map +1 -1
- package/dist/digest/digest.js +2 -0
- package/dist/digest/digest.js.map +1 -1
- package/dist/digest/sync-health.d.ts +6 -3
- package/dist/digest/sync-health.d.ts.map +1 -1
- package/dist/digest/sync-health.js +46 -20
- package/dist/digest/sync-health.js.map +1 -1
- package/dist/digest/tasks.d.ts +2 -0
- package/dist/digest/tasks.d.ts.map +1 -1
- package/dist/digest/tasks.js +3 -1
- package/dist/digest/tasks.js.map +1 -1
- package/dist/examples.js +4 -4
- package/dist/examples.js.map +1 -1
- package/dist/finance/subscriptions-command.js +3 -3
- package/dist/finance/subscriptions-command.js.map +1 -1
- package/dist/records/import.d.ts.map +1 -1
- package/dist/records/import.js +2 -0
- package/dist/records/import.js.map +1 -1
- package/dist/records/input.d.ts +3 -1
- package/dist/records/input.d.ts.map +1 -1
- package/dist/records/input.js +14 -2
- package/dist/records/input.js.map +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +2 -2
- package/scenarios/project-state.md +2 -2
- package/skills/morning-digest/SKILL.md +2 -1
- package/dist/bundle/auto-V3FUD6RW.js +0 -85
- package/dist/bundle/command-contract-PLB2JGFJ.js +0 -32
- package/dist/bundle/failure-6SP64Q66.js +0 -65
- package/dist/bundle/first-screen-QH34AIFV.js +0 -30
- package/dist/bundle/mcp-QX2D6EXA.js +0 -90
- package/dist/bundle/server-L622PMVC.js +0 -61
- package/dist/bundle/server-SJVP2XXD.js +0 -48
- package/dist/bundle/store-maintenance-command-PQCO5ICC.js +0 -47
- package/dist/bundle/update-MQUCCIBB.js +0 -68
- /package/dist/bundle/{chunk-C3XNJQD7.js → chunk-IJPRQERM.js} +0 -0
- /package/dist/bundle/{chunk-SW6C6WH5.js → chunk-SYWHHQMC.js} +0 -0
|
@@ -7,10 +7,10 @@ import {
|
|
|
7
7
|
agentJson,
|
|
8
8
|
commandAvailability,
|
|
9
9
|
failureContext
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-QWP6RJFR.js";
|
|
11
11
|
import {
|
|
12
12
|
callerOf
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-637JEJOC.js";
|
|
14
14
|
import {
|
|
15
15
|
QUERY_ARGUMENT,
|
|
16
16
|
lentConnection,
|
|
@@ -18,7 +18,7 @@ import {
|
|
|
18
18
|
refuseLacking,
|
|
19
19
|
servicesFor,
|
|
20
20
|
storeModeDeps
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-B3ZXE2IH.js";
|
|
22
22
|
import {
|
|
23
23
|
DEFAULT_OUTPUT_BYTES,
|
|
24
24
|
ENTITIES,
|
|
@@ -42,26 +42,26 @@ import {
|
|
|
42
42
|
sealed,
|
|
43
43
|
startRecording,
|
|
44
44
|
traceOf
|
|
45
|
-
} from "./chunk-
|
|
45
|
+
} from "./chunk-DAA52TDI.js";
|
|
46
46
|
import {
|
|
47
47
|
currentCaller,
|
|
48
48
|
keepsSuccess,
|
|
49
49
|
runContextOf,
|
|
50
50
|
withCaller
|
|
51
|
-
} from "./chunk-
|
|
51
|
+
} from "./chunk-HHDZIBBO.js";
|
|
52
52
|
import {
|
|
53
53
|
queryDescription
|
|
54
|
-
} from "./chunk-
|
|
54
|
+
} from "./chunk-BF4SX6DP.js";
|
|
55
55
|
import {
|
|
56
56
|
storeDamaged
|
|
57
|
-
} from "./chunk-
|
|
57
|
+
} from "./chunk-KU4TU5XZ.js";
|
|
58
58
|
import {
|
|
59
59
|
MAX_BUFFERED_INPUT
|
|
60
|
-
} from "./chunk-
|
|
60
|
+
} from "./chunk-R4LVHS2N.js";
|
|
61
61
|
import {
|
|
62
62
|
captureStreams,
|
|
63
63
|
traceIdOf
|
|
64
|
-
} from "./chunk-
|
|
64
|
+
} from "./chunk-OZBL624P.js";
|
|
65
65
|
import {
|
|
66
66
|
COMPACT_FLAG,
|
|
67
67
|
SNAKE_CASE,
|
|
@@ -100,25 +100,25 @@ import {
|
|
|
100
100
|
unknown,
|
|
101
101
|
word,
|
|
102
102
|
writes
|
|
103
|
-
} from "./chunk-
|
|
103
|
+
} from "./chunk-HE2F4JII.js";
|
|
104
104
|
import {
|
|
105
105
|
CliError,
|
|
106
106
|
errorCodes
|
|
107
|
-
} from "./chunk-
|
|
107
|
+
} from "./chunk-ZTONSM5X.js";
|
|
108
108
|
import {
|
|
109
109
|
__name
|
|
110
110
|
} from "./chunk-ZVVMGPBJ.js";
|
|
111
111
|
|
|
112
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.
|
|
112
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_4e56005b613f8e91d34ec4e9dbb41bec/node_modules/@wirecat/cli-core/dist/mcp/agent.js
|
|
113
113
|
import { Readable } from "node:stream";
|
|
114
114
|
|
|
115
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
115
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/lint.js
|
|
116
116
|
var LINT_SEVERITIES = ["high", "medium", "low"];
|
|
117
117
|
var lintRuleSchema = strictObject({
|
|
118
118
|
id: word,
|
|
119
119
|
severity: picklist(LINT_SEVERITIES),
|
|
120
120
|
/** What the rule looks at; a violation's target names one of these. */
|
|
121
|
-
scope: picklist(["command", "group", "argument", "option", "flag", "key"]),
|
|
121
|
+
scope: picklist(["command", "group", "argument", "option", "flag", "key", "source"]),
|
|
122
122
|
summary: text
|
|
123
123
|
});
|
|
124
124
|
var defineLintRules = /* @__PURE__ */ __name((input) => parseRegistry("lint rules", array(lintRuleSchema), input, (rules) => duplicates(rules.map((rule) => rule.id)).map((id) => `"${id}" is listed twice`)), "defineLintRules");
|
|
@@ -227,6 +227,18 @@ var LINT_RULES = defineLintRules([
|
|
|
227
227
|
severity: "high",
|
|
228
228
|
scope: "group",
|
|
229
229
|
summary: "the CLI keeps a failed run and reads it back: `runs list`, `runs show`, global `--record` and `--no-record`"
|
|
230
|
+
},
|
|
231
|
+
{
|
|
232
|
+
id: "raw-network",
|
|
233
|
+
severity: "high",
|
|
234
|
+
scope: "source",
|
|
235
|
+
summary: "the CLI's own source reaches the network only through `hostFetch`: no `node:http`, `https`, `net`, `tls`, `undici`, `axios`, `got`, `node-fetch` or `ws`, no global `fetch`"
|
|
236
|
+
},
|
|
237
|
+
{
|
|
238
|
+
id: "undeclared-host",
|
|
239
|
+
severity: "medium",
|
|
240
|
+
scope: "source",
|
|
241
|
+
summary: "every `http(s)://` host in the CLI's own source is in the manifest's `network.hosts`"
|
|
230
242
|
}
|
|
231
243
|
]);
|
|
232
244
|
var baselineSchema = array(text);
|
|
@@ -240,7 +252,7 @@ var overrideSchema = strictObject({
|
|
|
240
252
|
});
|
|
241
253
|
var overridesSchema = array(overrideSchema);
|
|
242
254
|
|
|
243
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
255
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/audit.js
|
|
244
256
|
var auditRuleSchema = strictObject({ id: word, severity: picklist(LINT_SEVERITIES), summary: text });
|
|
245
257
|
var defineAuditRules = /* @__PURE__ */ __name((input) => parseRegistry("audit rules", array(auditRuleSchema), input, (rules) => duplicates(rules.map((rule) => rule.id)).map((id) => `"${id}" is listed twice`)), "defineAuditRules");
|
|
246
258
|
var AUDIT_RULES = defineAuditRules([
|
|
@@ -366,7 +378,7 @@ var REQUIRED_ROOTS = defineRequiredRoots([
|
|
|
366
378
|
{ path: ["upgrade"], meaning: "updates the CLI" }
|
|
367
379
|
]);
|
|
368
380
|
|
|
369
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
381
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/fields.js
|
|
370
382
|
var fieldRuleSchema = strictObject({ id: word, rule: text });
|
|
371
383
|
var defineFieldRules = /* @__PURE__ */ __name((input) => parseRegistry("output field rules", array(fieldRuleSchema), input, (rules) => duplicates(rules.map((rule) => rule.id)).map((id) => `"${id}" is listed twice`)), "defineFieldRules");
|
|
372
384
|
var FIELD_RULES = defineFieldRules([
|
|
@@ -382,7 +394,7 @@ var FIELD_RULES = defineFieldRules([
|
|
|
382
394
|
}
|
|
383
395
|
]);
|
|
384
396
|
|
|
385
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
397
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/identifiers.js
|
|
386
398
|
var key = pipe(string(), regex(SNAKE_CASE, "a snake_case key"));
|
|
387
399
|
var identifierSchema = strictObject({ key, meaning: text, replaces: optional(array(key)) });
|
|
388
400
|
var defineIdentifiers = /* @__PURE__ */ __name((input) => parseRegistry("identifiers", array(identifierSchema), input, (identifiers) => {
|
|
@@ -404,7 +416,7 @@ var IDENTIFIERS = defineIdentifiers([
|
|
|
404
416
|
{ key: "trace_id", meaning: "the distributed trace a run belongs to, from `traceparent`" }
|
|
405
417
|
]);
|
|
406
418
|
|
|
407
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
419
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/flags-calendar.js
|
|
408
420
|
var CALENDAR_FLAGS = [
|
|
409
421
|
{ name: "--end-time", value: "<time>", role: "value", type: "time", meaning: "when it ends" },
|
|
410
422
|
{
|
|
@@ -478,7 +490,7 @@ var CALENDAR_FLAGS = [
|
|
|
478
490
|
}
|
|
479
491
|
];
|
|
480
492
|
|
|
481
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
493
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/flags-crm.js
|
|
482
494
|
var CRM_FLAGS = [
|
|
483
495
|
{
|
|
484
496
|
name: "--pipeline",
|
|
@@ -509,6 +521,13 @@ var CRM_FLAGS = [
|
|
|
509
521
|
type: "time",
|
|
510
522
|
meaning: "the day a deal or lead is expected to close, YYYY-MM-DD"
|
|
511
523
|
},
|
|
524
|
+
{
|
|
525
|
+
name: "--position",
|
|
526
|
+
value: "<title>",
|
|
527
|
+
role: "value",
|
|
528
|
+
type: "string",
|
|
529
|
+
meaning: "a person's job title on a relationship, stored as position; never the role"
|
|
530
|
+
},
|
|
512
531
|
{
|
|
513
532
|
name: "--owner",
|
|
514
533
|
value: "<user>",
|
|
@@ -576,6 +595,13 @@ var CRM_FLAGS = [
|
|
|
576
595
|
type: "choice",
|
|
577
596
|
meaning: "it renews by itself at its end, or it does not"
|
|
578
597
|
},
|
|
598
|
+
{
|
|
599
|
+
name: "--period",
|
|
600
|
+
value: "<count-unit>",
|
|
601
|
+
role: "value",
|
|
602
|
+
type: "duration",
|
|
603
|
+
meaning: "how often a charge repeats: a count and a calendar unit, such as 1-month"
|
|
604
|
+
},
|
|
579
605
|
{
|
|
580
606
|
name: "--opening-balance",
|
|
581
607
|
value: "<decimal>",
|
|
@@ -614,7 +640,7 @@ var CRM_FLAGS = [
|
|
|
614
640
|
}
|
|
615
641
|
];
|
|
616
642
|
|
|
617
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
643
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/flags-how.js
|
|
618
644
|
var HOW_FLAGS = [
|
|
619
645
|
{
|
|
620
646
|
name: "--limit",
|
|
@@ -1192,6 +1218,7 @@ var HOW_FLAGS = [
|
|
|
1192
1218
|
{ name: "--retract", role: "action", type: "switch", meaning: "take the owner's vote back" },
|
|
1193
1219
|
{ name: "--revoke", role: "action", type: "switch", meaning: "forget every login given to a browser app" },
|
|
1194
1220
|
{ name: "--track", role: "action", type: "switch", meaning: "also do it daily while serve runs" },
|
|
1221
|
+
{ name: "--undo", role: "mode", type: "switch", meaning: "put back what the last change replaced, not a new value" },
|
|
1195
1222
|
{
|
|
1196
1223
|
name: "--transcribe",
|
|
1197
1224
|
role: "action",
|
|
@@ -1610,7 +1637,39 @@ var HOW_FLAGS = [
|
|
|
1610
1637
|
}
|
|
1611
1638
|
];
|
|
1612
1639
|
|
|
1613
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
1640
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/flags-knowledge.js
|
|
1641
|
+
var KNOWLEDGE_FLAGS = [
|
|
1642
|
+
{
|
|
1643
|
+
name: "--quote",
|
|
1644
|
+
value: "<ref=words...>",
|
|
1645
|
+
role: "value",
|
|
1646
|
+
type: "list",
|
|
1647
|
+
meaning: "the words an --evidence reference says that a record rests on, as <ref>=<words>, one per reference"
|
|
1648
|
+
},
|
|
1649
|
+
{
|
|
1650
|
+
name: "--suggest",
|
|
1651
|
+
value: "<text>",
|
|
1652
|
+
role: "value",
|
|
1653
|
+
type: "string",
|
|
1654
|
+
meaning: "wording offered for the owner to take or leave; it decides nothing"
|
|
1655
|
+
},
|
|
1656
|
+
{
|
|
1657
|
+
name: "--keep-copy",
|
|
1658
|
+
role: "mode",
|
|
1659
|
+
type: "switch",
|
|
1660
|
+
meaning: "keep a copy of the original file as well as its text"
|
|
1661
|
+
},
|
|
1662
|
+
{
|
|
1663
|
+
name: "--max-chars",
|
|
1664
|
+
value: "<n>",
|
|
1665
|
+
role: "budget",
|
|
1666
|
+
type: "count",
|
|
1667
|
+
meaning: "at most this many characters read",
|
|
1668
|
+
unit: "characters"
|
|
1669
|
+
}
|
|
1670
|
+
];
|
|
1671
|
+
|
|
1672
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/flags-mail.js
|
|
1614
1673
|
var MAIL_FLAGS = [
|
|
1615
1674
|
{
|
|
1616
1675
|
name: "--cc",
|
|
@@ -1640,7 +1699,7 @@ var MAIL_FLAGS = [
|
|
|
1640
1699
|
}
|
|
1641
1700
|
];
|
|
1642
1701
|
|
|
1643
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
1702
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/flags-privacy.js
|
|
1644
1703
|
var PRIVACY_FLAGS = [
|
|
1645
1704
|
{
|
|
1646
1705
|
name: "--about-text",
|
|
@@ -1701,8 +1760,15 @@ var PRIVACY_FLAGS = [
|
|
|
1701
1760
|
{ name: "--read-receipts", value: "<on|off>", role: "value", type: "choice", meaning: "send read receipts" }
|
|
1702
1761
|
];
|
|
1703
1762
|
|
|
1704
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
1763
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/flags-schedule.js
|
|
1705
1764
|
var SCHEDULE_FLAGS = [
|
|
1765
|
+
{
|
|
1766
|
+
name: "--locale",
|
|
1767
|
+
value: "<code>",
|
|
1768
|
+
role: "target",
|
|
1769
|
+
type: "string",
|
|
1770
|
+
meaning: "a human language, as an ISO 639-1 code such as en or ru: which language's version it acts on"
|
|
1771
|
+
},
|
|
1706
1772
|
{
|
|
1707
1773
|
name: "--notify-on",
|
|
1708
1774
|
value: "<when>",
|
|
@@ -1727,7 +1793,7 @@ var SCHEDULE_FLAGS = [
|
|
|
1727
1793
|
}
|
|
1728
1794
|
];
|
|
1729
1795
|
|
|
1730
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
1796
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/flags-what.js
|
|
1731
1797
|
var WHAT_FLAGS = [
|
|
1732
1798
|
{
|
|
1733
1799
|
name: "--analysis-provider",
|
|
@@ -1743,6 +1809,13 @@ var WHAT_FLAGS = [
|
|
|
1743
1809
|
type: "choice",
|
|
1744
1810
|
meaning: "who computes embeddings: a local model or a configured remote model service"
|
|
1745
1811
|
},
|
|
1812
|
+
{
|
|
1813
|
+
name: "--region",
|
|
1814
|
+
value: "<country>",
|
|
1815
|
+
role: "mode",
|
|
1816
|
+
type: "string",
|
|
1817
|
+
meaning: "the two-letter country code, such as ru, that phone numbers written without + are read in"
|
|
1818
|
+
},
|
|
1746
1819
|
{
|
|
1747
1820
|
name: "--consent-provider",
|
|
1748
1821
|
value: "<identity>",
|
|
@@ -2271,7 +2344,13 @@ var WHAT_FLAGS = [
|
|
|
2271
2344
|
meaning: "who joins by the link asks first, and an admin lets them in"
|
|
2272
2345
|
},
|
|
2273
2346
|
{ name: "--can", value: "<rights>", role: "value", type: "list", meaning: "what an admin may do, comma-separated" },
|
|
2274
|
-
{
|
|
2347
|
+
{
|
|
2348
|
+
name: "--channel",
|
|
2349
|
+
role: "value",
|
|
2350
|
+
type: "switch",
|
|
2351
|
+
otherValues: ["channel"],
|
|
2352
|
+
meaning: "a channel instead of a group (a switch), or what a message is written for (<channel>), such as email"
|
|
2353
|
+
},
|
|
2275
2354
|
{
|
|
2276
2355
|
name: "--certainty",
|
|
2277
2356
|
value: "<n>",
|
|
@@ -2453,14 +2532,7 @@ var WHAT_FLAGS = [
|
|
|
2453
2532
|
type: "id",
|
|
2454
2533
|
meaning: "the stored calendar event it is linked to, or none to unlink"
|
|
2455
2534
|
},
|
|
2456
|
-
{
|
|
2457
|
-
name: "--every",
|
|
2458
|
-
value: "<duration>",
|
|
2459
|
-
role: "value",
|
|
2460
|
-
type: "duration",
|
|
2461
|
-
otherValues: ["count-unit"],
|
|
2462
|
-
meaning: "repeat this often: a length of time for a timer (<duration>), a count and a calendar unit for a charge, such as 1-month (<count-unit>)"
|
|
2463
|
-
},
|
|
2535
|
+
{ name: "--every", value: "<duration>", role: "value", type: "duration", meaning: "repeat this often" },
|
|
2464
2536
|
{
|
|
2465
2537
|
name: "--evidence",
|
|
2466
2538
|
value: "<ref...>",
|
|
@@ -2487,7 +2559,7 @@ var WHAT_FLAGS = [
|
|
|
2487
2559
|
value: "<file>",
|
|
2488
2560
|
role: "value",
|
|
2489
2561
|
type: "path",
|
|
2490
|
-
meaning: "a file to send with
|
|
2562
|
+
meaning: "a file it reads: one to send with a message, the text its caption, or the new text of a write"
|
|
2491
2563
|
},
|
|
2492
2564
|
{
|
|
2493
2565
|
name: "--filename",
|
|
@@ -2531,7 +2603,15 @@ var WHAT_FLAGS = [
|
|
|
2531
2603
|
meaning: "what kind of thing it is; the command lists the kinds"
|
|
2532
2604
|
},
|
|
2533
2605
|
{ name: "--name", value: "<name>", role: "value", type: "string", meaning: "the name to give it" },
|
|
2606
|
+
{
|
|
2607
|
+
name: "--button",
|
|
2608
|
+
value: "<text=data>",
|
|
2609
|
+
role: "value",
|
|
2610
|
+
type: "string",
|
|
2611
|
+
meaning: "an inline button under a message: its text, then the data a press sends back; repeat for more in one row"
|
|
2612
|
+
},
|
|
2534
2613
|
{ name: "--no-approval", role: "value", type: "switch", meaning: "anyone with the link joins at once" },
|
|
2614
|
+
{ name: "--no-buttons", role: "value", type: "switch", meaning: "take the buttons off the message" },
|
|
2535
2615
|
{
|
|
2536
2616
|
name: "--notification",
|
|
2537
2617
|
value: "<text>",
|
|
@@ -2566,6 +2646,13 @@ var WHAT_FLAGS = [
|
|
|
2566
2646
|
},
|
|
2567
2647
|
{ name: "--remind-time", value: "<time>", role: "value", type: "time", meaning: "when to look at it again" },
|
|
2568
2648
|
{ name: "--role", value: "<role>", role: "value", type: "string", meaning: "the part it plays, in a word or two" },
|
|
2649
|
+
{
|
|
2650
|
+
name: "--label",
|
|
2651
|
+
value: "<label>",
|
|
2652
|
+
role: "value",
|
|
2653
|
+
type: "string",
|
|
2654
|
+
meaning: "a human-readable label for an id, such as the name shown for a custom relationship role"
|
|
2655
|
+
},
|
|
2569
2656
|
{
|
|
2570
2657
|
name: "--scope",
|
|
2571
2658
|
value: "<scope>",
|
|
@@ -2696,7 +2783,7 @@ var WHAT_FLAGS = [
|
|
|
2696
2783
|
}
|
|
2697
2784
|
];
|
|
2698
2785
|
|
|
2699
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
2786
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/vocabulary.js
|
|
2700
2787
|
var FLAG_TYPES = [
|
|
2701
2788
|
"switch",
|
|
2702
2789
|
"count",
|
|
@@ -2792,6 +2879,7 @@ var verbs = [
|
|
|
2792
2879
|
["status", "how a thing stands right now"],
|
|
2793
2880
|
["check", "verify, and change nothing; the answer says what is wrong and how to fix it"],
|
|
2794
2881
|
["test", "run rules over what is already stored and say what they would have done, doing none of it"],
|
|
2882
|
+
["preview", "render what would be sent or written, from what is stored or a draft; sends and saves nothing"],
|
|
2795
2883
|
["apply", "run the owner's saved rules over what is already stored and change what they match; dry run unless --yes"],
|
|
2796
2884
|
["scan", "read stored messages for what a rule finds, such as tasks, and list it; records it only with --yes"],
|
|
2797
2885
|
["pause", "stop what a running process does for a profile, without stopping the process"],
|
|
@@ -2878,6 +2966,7 @@ var verbs = [
|
|
|
2878
2966
|
["assign", "name the person responsible for work, with their task role"],
|
|
2879
2967
|
["reverse", "record that an accepted decision no longer holds, without replacing it"],
|
|
2880
2968
|
["invalidate", "mark a derived record whose supporting evidence no longer holds"],
|
|
2969
|
+
["challenge", "say a record no longer holds, citing what contradicts it; it only proposes, and the owner decides"],
|
|
2881
2970
|
["acknowledge", "record successful delivery using the exact receipt issued when the item was claimed"],
|
|
2882
2971
|
["confirm", "the owner accepts what an agent proposed"],
|
|
2883
2972
|
["reject", "the owner refuses what an agent proposed"],
|
|
@@ -2927,6 +3016,7 @@ var collections = [
|
|
|
2927
3016
|
["topics", "forum topics in a group"],
|
|
2928
3017
|
["models", "local or remote models"],
|
|
2929
3018
|
["tags", "labels the owner puts on things"],
|
|
3019
|
+
["groups", "account groups: the accounts a run in a group reads, such as work and personal (WC-ACCT-13)"],
|
|
2930
3020
|
["searches", "the owner's saved searches"],
|
|
2931
3021
|
["copies", "tables kept aside by a repair"],
|
|
2932
3022
|
["tables", "the tables of the local store, with their kind, row count and size"],
|
|
@@ -2937,6 +3027,7 @@ var collections = [
|
|
|
2937
3027
|
["tracking", "the chats whose member lists are fetched daily"],
|
|
2938
3028
|
["documents", "files imported from Google Drive or Docs, or linked in a chat"],
|
|
2939
3029
|
["notes", "text the owner writes, or files from a notes folder"],
|
|
3030
|
+
["sources", "what the owner adds by hand to read from: a file, a web page or a pasted text, kept as its text"],
|
|
2940
3031
|
["projects", "the owner's work units with a task key"],
|
|
2941
3032
|
[
|
|
2942
3033
|
"annotations",
|
|
@@ -2971,6 +3062,7 @@ var collections = [
|
|
|
2971
3062
|
["facts", "what happened, with evidence"],
|
|
2972
3063
|
["memories", "what an agent concluded, with evidence and scope"],
|
|
2973
3064
|
["relationships", "confirmed or suggested links between people, organizations and projects"],
|
|
3065
|
+
["roles", "the parts a person plays in a relationship, built in or the owner's own"],
|
|
2974
3066
|
["sheets", "remote spreadsheets and their cell ranges, read or changed through a provider"],
|
|
2975
3067
|
["files", "files in the source, such as Google Drive, read and changed there"],
|
|
2976
3068
|
["comments", "comments people left on a thing in the source: a channel post or a file"],
|
|
@@ -3101,12 +3193,13 @@ var VOCABULARY = defineVocabulary({
|
|
|
3101
3193
|
...PRIVACY_FLAGS,
|
|
3102
3194
|
...CALENDAR_FLAGS,
|
|
3103
3195
|
...MAIL_FLAGS,
|
|
3196
|
+
...KNOWLEDGE_FLAGS,
|
|
3104
3197
|
...CRM_FLAGS,
|
|
3105
3198
|
...SCHEDULE_FLAGS
|
|
3106
3199
|
]
|
|
3107
3200
|
});
|
|
3108
3201
|
|
|
3109
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.
|
|
3202
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_4e56005b613f8e91d34ec4e9dbb41bec/node_modules/@wirecat/cli-core/dist/mcp/agent.js
|
|
3110
3203
|
var TYPES = new Map(VOCABULARY.flags.map((flag) => [flag.name, flag.type]));
|
|
3111
3204
|
var snake = /* @__PURE__ */ __name((name) => name.replaceAll("|", "_or_").replace(/[^a-z0-9]+/gi, "_"), "snake");
|
|
3112
3205
|
var longOf = /* @__PURE__ */ __name((option) => option.flags.match(/--[a-z0-9][a-z0-9-]*/)?.[0], "longOf");
|
|
@@ -3329,7 +3422,7 @@ var runCommandForAgent = /* @__PURE__ */ __name(async (program, path, input, ctx
|
|
|
3329
3422
|
}
|
|
3330
3423
|
}, "runCommandForAgent");
|
|
3331
3424
|
|
|
3332
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.
|
|
3425
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_4e56005b613f8e91d34ec4e9dbb41bec/node_modules/@wirecat/cli-core/dist/mcp/tool.js
|
|
3333
3426
|
var limit = optional(pipe(number(), integer(), minValue(1), maxValue(100), description("how many")));
|
|
3334
3427
|
var page = optional(pipe(number(), integer(), minValue(1), description("which page, from 1")));
|
|
3335
3428
|
var message = pipe(
|
|
@@ -3588,7 +3681,7 @@ var failed = /* @__PURE__ */ __name((error, errors, effects) => {
|
|
|
3588
3681
|
return mcpErrorResult(JSON.parse(agentJson(errorObjectOf(storeDamaged(error), context))));
|
|
3589
3682
|
}, "failed");
|
|
3590
3683
|
|
|
3591
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.
|
|
3684
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_4e56005b613f8e91d34ec4e9dbb41bec/node_modules/@wirecat/cli-core/dist/mcp/surface.js
|
|
3592
3685
|
import { randomUUID } from "node:crypto";
|
|
3593
3686
|
var MATCHES = 8;
|
|
3594
3687
|
var ANSWER = answerSchema();
|
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
commandPathOf,
|
|
8
8
|
findCommand,
|
|
9
9
|
outputOf
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-M643YQVP.js";
|
|
11
11
|
import {
|
|
12
12
|
Command,
|
|
13
13
|
Help,
|
|
@@ -18,18 +18,18 @@ import {
|
|
|
18
18
|
environmentOf,
|
|
19
19
|
metaOf,
|
|
20
20
|
takesProfile
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-DAA52TDI.js";
|
|
22
22
|
import {
|
|
23
23
|
writes
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-HE2F4JII.js";
|
|
25
25
|
import {
|
|
26
26
|
CliError
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-ZTONSM5X.js";
|
|
28
28
|
import {
|
|
29
29
|
__name
|
|
30
30
|
} from "./chunk-ZVVMGPBJ.js";
|
|
31
31
|
|
|
32
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.
|
|
32
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_4e56005b613f8e91d34ec4e9dbb41bec/node_modules/@wirecat/cli-core/dist/cli/help/sections.js
|
|
33
33
|
var SECTIONS = {
|
|
34
34
|
read: "Read",
|
|
35
35
|
write: "Write",
|
|
@@ -94,7 +94,7 @@ var CORE_SECTIONS = {
|
|
|
94
94
|
upgrade: "setup"
|
|
95
95
|
};
|
|
96
96
|
|
|
97
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.
|
|
97
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_4e56005b613f8e91d34ec4e9dbb41bec/node_modules/@wirecat/cli-core/dist/cli/help/commands-text.js
|
|
98
98
|
var DESCRIPTION = 90;
|
|
99
99
|
var COLUMN = 52;
|
|
100
100
|
var short = /* @__PURE__ */ __name((text) => {
|
|
@@ -133,7 +133,7 @@ var commandsText = /* @__PURE__ */ __name((root, commands, scope) => {
|
|
|
133
133
|
`;
|
|
134
134
|
}, "commandsText");
|
|
135
135
|
|
|
136
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.
|
|
136
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_4e56005b613f8e91d34ec4e9dbb41bec/node_modules/@wirecat/cli-core/dist/cli/help/command-help.js
|
|
137
137
|
var ARGUMENT_KINDS = {
|
|
138
138
|
chat: "chat",
|
|
139
139
|
chats: "chat",
|
|
@@ -325,7 +325,7 @@ var installCommandHelp = /* @__PURE__ */ __name((program, { profile = true } = {
|
|
|
325
325
|
command.addHelpText("after", () => commandHelpText(command));
|
|
326
326
|
}, "installCommandHelp");
|
|
327
327
|
|
|
328
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.
|
|
328
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_4e56005b613f8e91d34ec4e9dbb41bec/node_modules/@wirecat/cli-core/dist/cli/help/first-screen.js
|
|
329
329
|
var WIRECAT_TOOLS = [
|
|
330
330
|
{
|
|
331
331
|
command: "tg",
|
|
@@ -5,15 +5,15 @@ import {
|
|
|
5
5
|
readLock,
|
|
6
6
|
releaseLock,
|
|
7
7
|
takeLock
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-M76ZJSPA.js";
|
|
9
9
|
import {
|
|
10
10
|
__name
|
|
11
11
|
} from "./chunk-ZVVMGPBJ.js";
|
|
12
12
|
|
|
13
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.
|
|
13
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_4e56005b613f8e91d34ec4e9dbb41bec/node_modules/@wirecat/cli-core/dist/mcp/http/state.js
|
|
14
14
|
import { existsSync as existsSync2, readFileSync as readFileSync2 } from "node:fs";
|
|
15
15
|
|
|
16
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.
|
|
16
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_4e56005b613f8e91d34ec4e9dbb41bec/node_modules/@wirecat/cli-core/dist/mcp/http/activity.js
|
|
17
17
|
import { randomBytes } from "node:crypto";
|
|
18
18
|
import { chmodSync, existsSync, mkdirSync, readFileSync, renameSync, writeFileSync } from "node:fs";
|
|
19
19
|
import { dirname } from "node:path";
|
|
@@ -86,7 +86,7 @@ var activityRecorder = /* @__PURE__ */ __name((path, now = Date.now) => {
|
|
|
86
86
|
};
|
|
87
87
|
}, "activityRecorder");
|
|
88
88
|
|
|
89
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.
|
|
89
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_4e56005b613f8e91d34ec4e9dbb41bec/node_modules/@wirecat/cli-core/dist/mcp/http/state.js
|
|
90
90
|
var ACCESS_SECONDS = 60 * 60;
|
|
91
91
|
var REFRESH_SECONDS = 30 * 24 * 60 * 60;
|
|
92
92
|
var readStored = /* @__PURE__ */ __name((path) => existsSync2(path) ? JSON.parse(readFileSync2(path, "utf8")) : { clients: [], tokens: [] }, "readStored");
|
|
@@ -2,12 +2,12 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
CliError
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-ZTONSM5X.js";
|
|
6
6
|
import {
|
|
7
7
|
__name
|
|
8
8
|
} from "./chunk-ZVVMGPBJ.js";
|
|
9
9
|
|
|
10
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.
|
|
10
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_4e56005b613f8e91d34ec4e9dbb41bec/node_modules/@wirecat/cli-core/dist/search/languages.js
|
|
11
11
|
var LANGUAGES = [
|
|
12
12
|
{ name: "russian", code: "ru", label: "Russian", script: "cyrillic", dictionary: "dictionary-ru" },
|
|
13
13
|
{ name: "english", code: "en", label: "English", script: "latin", dictionary: "dictionary-en" },
|
|
@@ -15,12 +15,12 @@ var LANGUAGES = [
|
|
|
15
15
|
];
|
|
16
16
|
var languagesOf = /* @__PURE__ */ __name((script) => LANGUAGES.filter((one) => one.script === script).map(({ name }) => name), "languagesOf");
|
|
17
17
|
|
|
18
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.
|
|
18
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_4e56005b613f8e91d34ec4e9dbb41bec/node_modules/@wirecat/cli-core/dist/store/normalize.js
|
|
19
19
|
var NORMALIZER_VERSION = 1;
|
|
20
20
|
var fold = /* @__PURE__ */ __name((text) => text.normalize("NFKD").replace(new RegExp("\\p{M}+", "gu"), "").normalize("NFC").toLowerCase(), "fold");
|
|
21
21
|
var normalize = /* @__PURE__ */ __name((text) => fold(text).replace(new RegExp("\\p{Cc}", "gu"), " ").replace(/\s+/gu, " ").trim(), "normalize");
|
|
22
22
|
|
|
23
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.
|
|
23
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_4e56005b613f8e91d34ec4e9dbb41bec/node_modules/@wirecat/cli-core/dist/search/snowball/base-stemmer.js
|
|
24
24
|
var BaseStemmer = class {
|
|
25
25
|
static {
|
|
26
26
|
__name(this, "BaseStemmer");
|
|
@@ -395,7 +395,7 @@ var BaseStemmer = class {
|
|
|
395
395
|
}
|
|
396
396
|
};
|
|
397
397
|
|
|
398
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.
|
|
398
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_4e56005b613f8e91d34ec4e9dbb41bec/node_modules/@wirecat/cli-core/dist/search/snowball/english-stemmer.js
|
|
399
399
|
var a_0 = [
|
|
400
400
|
["arsen", -1],
|
|
401
401
|
["commun", -1],
|
|
@@ -1096,7 +1096,7 @@ var english_stemmer_default = class extends BaseStemmer {
|
|
|
1096
1096
|
stemWord = this.stem;
|
|
1097
1097
|
};
|
|
1098
1098
|
|
|
1099
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.
|
|
1099
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_4e56005b613f8e91d34ec4e9dbb41bec/node_modules/@wirecat/cli-core/dist/search/snowball/russian-stemmer.js
|
|
1100
1100
|
var a_02 = [
|
|
1101
1101
|
["\u0432", 1],
|
|
1102
1102
|
["\u0438\u0432", 2, 1],
|
|
@@ -1519,7 +1519,7 @@ var russian_stemmer_default = class extends BaseStemmer {
|
|
|
1519
1519
|
stemWord = this.stem;
|
|
1520
1520
|
};
|
|
1521
1521
|
|
|
1522
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.
|
|
1522
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_4e56005b613f8e91d34ec4e9dbb41bec/node_modules/@wirecat/cli-core/dist/search/snowball/spanish-stemmer.js
|
|
1523
1523
|
var a_03 = [
|
|
1524
1524
|
["", 6],
|
|
1525
1525
|
["\xE1", 1, 1],
|
|
@@ -2195,7 +2195,7 @@ var spanish_stemmer_default = class extends BaseStemmer {
|
|
|
2195
2195
|
stemWord = this.stem;
|
|
2196
2196
|
};
|
|
2197
2197
|
|
|
2198
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.
|
|
2198
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_4e56005b613f8e91d34ec4e9dbb41bec/node_modules/@wirecat/cli-core/dist/search/stem.js
|
|
2199
2199
|
var SNOWBALL_VERSION = "3.1.1";
|
|
2200
2200
|
var CYRILLIC_STEMMERS = [...languagesOf("cyrillic"), "none"];
|
|
2201
2201
|
var LATIN_STEMMERS = [...languagesOf("latin"), "none"];
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
__name
|
|
5
5
|
} from "./chunk-ZVVMGPBJ.js";
|
|
6
6
|
|
|
7
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.
|
|
7
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_4e56005b613f8e91d34ec4e9dbb41bec/node_modules/@wirecat/cli-core/dist/mcp/instructions.js
|
|
8
8
|
var instructions = /* @__PURE__ */ __name(({ command, name, profile, writes, skill }) => {
|
|
9
9
|
const all = typeof profile !== "string";
|
|
10
10
|
const offers = /* @__PURE__ */ __name((key) => all || writes.includes(key), "offers");
|
|
@@ -5,23 +5,23 @@ import {
|
|
|
5
5
|
installFiles,
|
|
6
6
|
megabytes,
|
|
7
7
|
sharedModelsDirectory
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-CUC7KGX4.js";
|
|
9
9
|
import {
|
|
10
10
|
importFrom
|
|
11
11
|
} from "./chunk-Y5E2WNWB.js";
|
|
12
12
|
import {
|
|
13
13
|
CliError
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-ZTONSM5X.js";
|
|
15
15
|
import {
|
|
16
16
|
__name
|
|
17
17
|
} from "./chunk-ZVVMGPBJ.js";
|
|
18
18
|
|
|
19
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.
|
|
19
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_4e56005b613f8e91d34ec4e9dbb41bec/node_modules/@wirecat/cli-core/dist/embeddings/embed.js
|
|
20
20
|
import { readFileSync as readFileSync2 } from "node:fs";
|
|
21
21
|
import { availableParallelism } from "node:os";
|
|
22
22
|
import { basename, join as join2 } from "node:path";
|
|
23
23
|
|
|
24
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.
|
|
24
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_4e56005b613f8e91d34ec4e9dbb41bec/node_modules/@wirecat/cli-core/dist/embeddings/onnx-runtime.js
|
|
25
25
|
import { createHash } from "node:crypto";
|
|
26
26
|
import { copyFileSync, mkdirSync, mkdtempSync, readFileSync, renameSync, rmSync, statSync, writeFileSync } from "node:fs";
|
|
27
27
|
import { join } from "node:path";
|
|
@@ -678,7 +678,7 @@ var Unzip = /* @__PURE__ */ (function() {
|
|
|
678
678
|
return Unzip2;
|
|
679
679
|
})();
|
|
680
680
|
|
|
681
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.
|
|
681
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_4e56005b613f8e91d34ec4e9dbb41bec/node_modules/@wirecat/cli-core/dist/embeddings/onnx-runtime.js
|
|
682
682
|
var ONNX_RUNTIME_VERSION = "1.30.0";
|
|
683
683
|
var release = /* @__PURE__ */ __name((name, sha256, bytes) => ({
|
|
684
684
|
name,
|
|
@@ -858,7 +858,7 @@ var openSession = /* @__PURE__ */ __name(async (bytes, threads, options = {}) =>
|
|
|
858
858
|
return { ort, session: await ort.InferenceSession.create(bytes, options) };
|
|
859
859
|
}, "openSession");
|
|
860
860
|
|
|
861
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.
|
|
861
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_4e56005b613f8e91d34ec4e9dbb41bec/node_modules/@wirecat/cli-core/dist/embeddings/embed.js
|
|
862
862
|
var textModelsDirectory = /* @__PURE__ */ __name((env = process.env) => sharedModelsDirectory("text", env), "textModelsDirectory");
|
|
863
863
|
var placedText = /* @__PURE__ */ __name((model, directory) => model.files.map((file) => [file, join2(directory, model.id, file.name)]), "placedText");
|
|
864
864
|
var isTextModelInstalled = /* @__PURE__ */ __name((model, directory) => filesPresent(placedText(model, directory)), "isTextModelInstalled");
|