@wirecat/cli-memo 0.131.34 → 0.131.35
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-GPFKMOBB.js → all-profiles-6666YYUZ.js} +9 -9
- package/dist/bundle/{anthropic-ASHT7U76.js → anthropic-23OB7KWO.js} +6 -6
- package/dist/bundle/{app-server-D3IL4M6V.js → app-server-2S5OS3OH.js} +42 -42
- package/dist/bundle/auto-XDBIEURD.js +86 -0
- package/dist/bundle/{bun-EIOFQKTA.js → bun-BNVO37ZD.js} +2 -2
- package/dist/bundle/{bun-sqlite-YIX2BVSZ.js → bun-sqlite-USZ27VKM.js} +5 -5
- package/dist/bundle/{chunk-ZWBLSTFE.js → chunk-26PVWAKE.js} +255 -255
- package/dist/bundle/{chunk-XV4E2XGC.js → chunk-2DTUMEN2.js} +4 -4
- package/dist/bundle/{chunk-H7N5JMQN.js → chunk-2PFOLWD3.js} +3 -3
- package/dist/bundle/{chunk-TZ7WDQPD.js → chunk-2R2Z2VWL.js} +20 -20
- package/dist/bundle/{chunk-UW2FRDLZ.js → chunk-2Y4UU4DB.js} +3 -3
- package/dist/bundle/{chunk-3W4HD6ZQ.js → chunk-3ZZ5OCUO.js} +6 -6
- package/dist/bundle/{chunk-EVD3X6HS.js → chunk-4OR4HFSL.js} +8 -8
- package/dist/bundle/{chunk-ZV2K5I2G.js → chunk-6D47X4KD.js} +1 -1
- package/dist/bundle/{chunk-DU6LCIHP.js → chunk-6H6EXCZY.js} +1 -1
- package/dist/bundle/{chunk-KG7APWFM.js → chunk-736NNFPY.js} +1 -1
- package/dist/bundle/{chunk-C7AXGHGM.js → chunk-AYIUZUGD.js} +1 -1
- package/dist/bundle/{chunk-4VJJEIVC.js → chunk-BHDNHN55.js} +8 -8
- package/dist/bundle/{chunk-SMAODNHO.js → chunk-BU4LJSW2.js} +1 -1
- package/dist/bundle/{chunk-BN5H2M75.js → chunk-C2XCIZND.js} +2 -2
- package/dist/bundle/{chunk-KV4267S4.js → chunk-CID4MNRQ.js} +1 -1
- package/dist/bundle/{chunk-EQR2QVP3.js → chunk-CLHGYKYZ.js} +5 -5
- package/dist/bundle/{chunk-ONEW2BND.js → chunk-CMMKWXFG.js} +35 -35
- package/dist/bundle/{chunk-LC5SAWVM.js → chunk-DCBBLYCI.js} +29 -29
- package/dist/bundle/{chunk-GWMA7EU5.js → chunk-DMU5PAKY.js} +1 -1
- package/dist/bundle/{chunk-6PTJTITL.js → chunk-DMUIMBCE.js} +4 -4
- package/dist/bundle/{chunk-26I6JRFH.js → chunk-DQ66H456.js} +4 -4
- package/dist/bundle/{chunk-ZE5HUZJV.js → chunk-DYMUJFDK.js} +14 -14
- package/dist/bundle/{chunk-MQ7IHK4Z.js → chunk-EIYLAELT.js} +343 -289
- package/dist/bundle/{chunk-47KEZ3AX.js → chunk-FXG3SUIQ.js} +13 -13
- package/dist/bundle/{chunk-UBUKFDMN.js → chunk-FYT6A3UY.js} +1 -1
- package/dist/bundle/{chunk-RQVC4ETN.js → chunk-GAWGZN4F.js} +3 -3
- package/dist/bundle/{chunk-CL6MHRXX.js → chunk-GLFFCRRX.js} +2 -2
- package/dist/bundle/{chunk-G7TQ5W5Z.js → chunk-GNLCVNP7.js} +9 -9
- package/dist/bundle/{chunk-WROCO6RJ.js → chunk-I55VXEI2.js} +4 -4
- package/dist/bundle/{chunk-NDEA2YAQ.js → chunk-ICBWD2OL.js} +1 -1
- package/dist/bundle/{chunk-YZU5HNYY.js → chunk-IKDHJLSH.js} +277 -277
- package/dist/bundle/{chunk-XZ3XUN4R.js → chunk-JIWQNA2J.js} +156 -156
- package/dist/bundle/{chunk-I7PL5WX2.js → chunk-JY34MQW4.js} +4 -4
- package/dist/bundle/{chunk-Y3XTA24Z.js → chunk-L3SMTWCF.js} +7 -7
- package/dist/bundle/{chunk-7YECAMPV.js → chunk-L7AB7Y4Z.js} +46 -46
- package/dist/bundle/{chunk-BWVE7V4A.js → chunk-LBDMVVVW.js} +12 -12
- package/dist/bundle/{chunk-YPF6OS37.js → chunk-LER7G4XY.js} +1 -1
- package/dist/bundle/{chunk-IAFUPD2G.js → chunk-LQHW4G6G.js} +6 -6
- package/dist/bundle/{chunk-AQQSOZ57.js → chunk-ME5RGIHV.js} +11 -11
- package/dist/bundle/{chunk-5OCV4UG5.js → chunk-MMRM6ZMM.js} +2 -2
- package/dist/bundle/{chunk-Y3NJODLW.js → chunk-MNKCFCI7.js} +2 -2
- package/dist/bundle/{chunk-E7NEGYRF.js → chunk-N2Y6FTPK.js} +2 -2
- package/dist/bundle/{chunk-I4SJXEDS.js → chunk-NYELWBUA.js} +6 -6
- package/dist/bundle/{chunk-L43BXXBS.js → chunk-OCIE3POS.js} +6 -6
- package/dist/bundle/{chunk-7PQZBIBH.js → chunk-PYQU4GLK.js} +64 -64
- package/dist/bundle/{chunk-DOXKMSML.js → chunk-RUZOQ7QN.js} +4 -4
- package/dist/bundle/{chunk-EB2IULWB.js → chunk-RZ54DSVU.js} +2 -2
- package/dist/bundle/{chunk-BRG5MJLL.js → chunk-SKBMXSQ3.js} +2 -2
- package/dist/bundle/{chunk-JD4EEKNA.js → chunk-SKVRUW57.js} +2 -2
- package/dist/bundle/{chunk-2RDJLWOY.js → chunk-SMJAJWYW.js} +3 -3
- package/dist/bundle/{chunk-G2BB5WY5.js → chunk-SN63VOE6.js} +8 -8
- package/dist/bundle/{chunk-RTPTCTH6.js → chunk-SRHG24V7.js} +4 -4
- package/dist/bundle/{chunk-YJMQBJWU.js → chunk-T3AUEF46.js} +22 -22
- package/dist/bundle/{chunk-D22HTXOR.js → chunk-URQ7ZL5K.js} +10 -10
- package/dist/bundle/{chunk-NECGI52P.js → chunk-V5N65VRU.js} +9 -9
- package/dist/bundle/{chunk-GY27B6XK.js → chunk-VJSWU4JX.js} +3 -3
- package/dist/bundle/{chunk-TVHCOWJD.js → chunk-VMXESPNG.js} +7 -7
- package/dist/bundle/{chunk-D5LDALYF.js → chunk-VYYPW7YP.js} +31 -23
- package/dist/bundle/{chunk-NPLZ67KU.js → chunk-WIK6SGHZ.js} +2 -2
- package/dist/bundle/{chunk-VE2NDXFO.js → chunk-WRUD4OYQ.js} +5 -5
- package/dist/bundle/{chunk-EGB2R53R.js → chunk-XLKJSFQN.js} +2 -2
- package/dist/bundle/{chunk-S62WXHPD.js → chunk-XZPE2E3O.js} +8 -8
- package/dist/bundle/{chunk-XBIPSSKI.js → chunk-Y5CAKD4X.js} +4 -4
- package/dist/bundle/{chunk-5HVQTBDA.js → chunk-YGW3JZVB.js} +22 -22
- package/dist/bundle/command-contract-TBZCPYWZ.js +32 -0
- package/dist/bundle/{decode-BF5RUGSR.js → decode-RMAOEVTY.js} +5 -5
- package/dist/bundle/{dispatch-CU5KGRQL.js → dispatch-MLRETSNQ.js} +8 -8
- package/dist/bundle/{echarts-ADL7T3Q3.js → echarts-R2MI4OEU.js} +2 -2
- package/dist/bundle/{embed-DOTUACTV.js → embed-BG2XPLWM.js} +6 -6
- package/dist/bundle/{embedder-TMR4UP7L.js → embedder-65SA34CZ.js} +9 -9
- package/dist/bundle/{entry-RPG5J5UQ.js → entry-DX3D4TWF.js} +7 -7
- package/dist/bundle/failure-76A5ZD6Y.js +66 -0
- package/dist/bundle/{failure-TUXXI6JT.js → failure-UJBGB2GP.js} +2 -2
- package/dist/bundle/{first-run-ONCIVD42.js → first-run-ZUQRYWEZ.js} +11 -11
- package/dist/bundle/first-screen-O5X3OT77.js +30 -0
- package/dist/bundle/{instructions-QVBHRTPG.js → instructions-ZDWGTLMU.js} +1 -1
- package/dist/bundle/mcp-B5CUHAKS.js +90 -0
- package/dist/bundle/{mcp-PPVOM4SE.js → mcp-YMXA6IH6.js} +2 -2
- package/dist/bundle/memo.js +16 -16
- package/dist/bundle/{node-6OXRSWHH.js → node-43BSSPFC.js} +2 -2
- package/dist/bundle/{node-sqlite-TG4H4T3L.js → node-sqlite-RPWFR6H3.js} +6 -6
- package/dist/bundle/{oauth-OXKNZOKZ.js → oauth-AYAADVSS.js} +7 -7
- package/dist/bundle/{open-WW3W42QS.js → open-XEZ5CPLR.js} +5 -5
- package/dist/bundle/{openai-MNHTZHBT.js → openai-SQS7OBEI.js} +10 -10
- package/dist/bundle/{process-TCXURVHD.js → process-HJWMNCUC.js} +1 -1
- package/dist/bundle/{program-GYW7IHWQ.js → program-RQO3ZNVL.js} +80 -68
- package/dist/bundle/{prompt-TGGJDYAS.js → prompt-STQZGLH7.js} +5 -5
- package/dist/bundle/{recognize-WV4MK35T.js → recognize-HJ6G4OWB.js} +4 -4
- package/dist/bundle/{remote-RQVV5MFO.js → remote-HDTQYFBP.js} +7 -7
- package/dist/bundle/{rerank-OJPVJGX5.js → rerank-GBKN7RN4.js} +7 -7
- package/dist/bundle/{serve-KG7HPG5B.js → serve-KPTYHWUY.js} +9 -9
- package/dist/bundle/{server-ESYNVVQC.js → server-ASCI46TB.js} +57 -57
- package/dist/bundle/server-DJVWUOO7.js +61 -0
- package/dist/bundle/server-TEOK5SHM.js +48 -0
- package/dist/bundle/{state-G7KN3S6X.js → state-22MNHAQY.js} +6 -6
- package/dist/bundle/{store-GI2FLGUI.js → store-R7QBCWWM.js} +13 -13
- package/dist/bundle/store-maintenance-command-BZXFY2NT.js +48 -0
- package/dist/bundle/update-I5HTAMBY.js +69 -0
- package/dist/examples.d.ts.map +1 -1
- package/dist/examples.js +5 -1
- package/dist/examples.js.map +1 -1
- package/dist/knowledge/command.d.ts.map +1 -1
- package/dist/knowledge/command.js +23 -8
- package/dist/knowledge/command.js.map +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +3 -3
- package/dist/bundle/auto-BL5FF576.js +0 -86
- package/dist/bundle/command-contract-X3I3J4AF.js +0 -32
- package/dist/bundle/failure-4CTYFX6P.js +0 -66
- package/dist/bundle/first-screen-4LRYED7X.js +0 -30
- package/dist/bundle/mcp-4AFVFHYE.js +0 -90
- package/dist/bundle/server-TQVOXRHP.js +0 -48
- package/dist/bundle/server-YKMBFXQ4.js +0 -61
- package/dist/bundle/store-maintenance-command-CQ3KI7LW.js +0 -48
- package/dist/bundle/update-NP3I4GCG.js +0 -69
- /package/dist/bundle/{chunk-3RFXKBZA.js → chunk-AT5Y62SD.js} +0 -0
- /package/dist/bundle/{chunk-LU3WKZBA.js → chunk-QMNLI4NV.js} +0 -0
|
@@ -7,10 +7,10 @@ import {
|
|
|
7
7
|
agentJson,
|
|
8
8
|
commandAvailability,
|
|
9
9
|
failureContext
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-DYMUJFDK.js";
|
|
11
11
|
import {
|
|
12
12
|
callerOf
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-GLFFCRRX.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-EIYLAELT.js";
|
|
22
22
|
import {
|
|
23
23
|
DEFAULT_OUTPUT_BYTES,
|
|
24
24
|
ENTITIES,
|
|
@@ -42,23 +42,23 @@ import {
|
|
|
42
42
|
sealed,
|
|
43
43
|
startRecording,
|
|
44
44
|
traceOf
|
|
45
|
-
} from "./chunk-
|
|
45
|
+
} from "./chunk-JIWQNA2J.js";
|
|
46
46
|
import {
|
|
47
47
|
currentCaller,
|
|
48
48
|
keepsSuccess,
|
|
49
49
|
runContextOf,
|
|
50
50
|
withCaller
|
|
51
|
-
} from "./chunk-
|
|
51
|
+
} from "./chunk-GNLCVNP7.js";
|
|
52
52
|
import {
|
|
53
53
|
queryDescription
|
|
54
|
-
} from "./chunk-
|
|
54
|
+
} from "./chunk-PYQU4GLK.js";
|
|
55
55
|
import {
|
|
56
56
|
MAX_BUFFERED_INPUT
|
|
57
|
-
} from "./chunk-
|
|
57
|
+
} from "./chunk-MNKCFCI7.js";
|
|
58
58
|
import {
|
|
59
59
|
captureStreams,
|
|
60
60
|
traceIdOf
|
|
61
|
-
} from "./chunk-
|
|
61
|
+
} from "./chunk-2R2Z2VWL.js";
|
|
62
62
|
import {
|
|
63
63
|
COMPACT_FLAG,
|
|
64
64
|
SNAKE_CASE,
|
|
@@ -97,19 +97,19 @@ import {
|
|
|
97
97
|
unknown,
|
|
98
98
|
word,
|
|
99
99
|
writes
|
|
100
|
-
} from "./chunk-
|
|
100
|
+
} from "./chunk-SN63VOE6.js";
|
|
101
101
|
import {
|
|
102
102
|
CliError,
|
|
103
103
|
errorCodes
|
|
104
|
-
} from "./chunk-
|
|
104
|
+
} from "./chunk-RZ54DSVU.js";
|
|
105
105
|
import {
|
|
106
106
|
__name
|
|
107
107
|
} from "./chunk-ZVVMGPBJ.js";
|
|
108
108
|
|
|
109
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
109
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.579.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_c8215ada444796d31d091c0d7a963d03/node_modules/@wirecat/cli-core/dist/mcp/agent.js
|
|
110
110
|
import { Readable } from "node:stream";
|
|
111
111
|
|
|
112
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
112
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.78.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
|
|
113
113
|
var LINT_SEVERITIES = ["high", "medium", "low"];
|
|
114
114
|
var lintRuleSchema = strictObject({
|
|
115
115
|
id: word,
|
|
@@ -237,7 +237,7 @@ var overrideSchema = strictObject({
|
|
|
237
237
|
});
|
|
238
238
|
var overridesSchema = array(overrideSchema);
|
|
239
239
|
|
|
240
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
240
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.78.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
|
|
241
241
|
var auditRuleSchema = strictObject({ id: word, severity: picklist(LINT_SEVERITIES), summary: text });
|
|
242
242
|
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");
|
|
243
243
|
var AUDIT_RULES = defineAuditRules([
|
|
@@ -346,7 +346,7 @@ var REQUIRED_ROOTS = defineRequiredRoots([
|
|
|
346
346
|
{ path: ["upgrade"], meaning: "updates the CLI" }
|
|
347
347
|
]);
|
|
348
348
|
|
|
349
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
349
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.78.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
|
|
350
350
|
var fieldRuleSchema = strictObject({ id: word, rule: text });
|
|
351
351
|
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");
|
|
352
352
|
var FIELD_RULES = defineFieldRules([
|
|
@@ -362,7 +362,7 @@ var FIELD_RULES = defineFieldRules([
|
|
|
362
362
|
}
|
|
363
363
|
]);
|
|
364
364
|
|
|
365
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
365
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.78.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
|
|
366
366
|
var key = pipe(string(), regex(SNAKE_CASE, "a snake_case key"));
|
|
367
367
|
var identifierSchema = strictObject({ key, meaning: text, replaces: optional(array(key)) });
|
|
368
368
|
var defineIdentifiers = /* @__PURE__ */ __name((input) => parseRegistry("identifiers", array(identifierSchema), input, (identifiers) => {
|
|
@@ -384,7 +384,7 @@ var IDENTIFIERS = defineIdentifiers([
|
|
|
384
384
|
{ key: "trace_id", meaning: "the distributed trace a run belongs to, from `traceparent`" }
|
|
385
385
|
]);
|
|
386
386
|
|
|
387
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
387
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.78.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
|
|
388
388
|
var CALENDAR_FLAGS = [
|
|
389
389
|
{ name: "--end-time", value: "<time>", role: "value", type: "time", meaning: "when it ends" },
|
|
390
390
|
{
|
|
@@ -458,7 +458,7 @@ var CALENDAR_FLAGS = [
|
|
|
458
458
|
}
|
|
459
459
|
];
|
|
460
460
|
|
|
461
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
461
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.78.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
|
|
462
462
|
var HOW_FLAGS = [
|
|
463
463
|
{
|
|
464
464
|
name: "--limit",
|
|
@@ -1452,7 +1452,7 @@ var HOW_FLAGS = [
|
|
|
1452
1452
|
}
|
|
1453
1453
|
];
|
|
1454
1454
|
|
|
1455
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
1455
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.78.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
|
|
1456
1456
|
var MAIL_FLAGS = [
|
|
1457
1457
|
{
|
|
1458
1458
|
name: "--cc",
|
|
@@ -1482,7 +1482,7 @@ var MAIL_FLAGS = [
|
|
|
1482
1482
|
}
|
|
1483
1483
|
];
|
|
1484
1484
|
|
|
1485
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
1485
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.78.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
|
|
1486
1486
|
var WHAT_FLAGS = [
|
|
1487
1487
|
{
|
|
1488
1488
|
name: "--analysis-provider",
|
|
@@ -2480,7 +2480,7 @@ var WHAT_FLAGS = [
|
|
|
2480
2480
|
}
|
|
2481
2481
|
];
|
|
2482
2482
|
|
|
2483
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
2483
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.78.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
|
|
2484
2484
|
var FLAG_TYPES = [
|
|
2485
2485
|
"switch",
|
|
2486
2486
|
"count",
|
|
@@ -2621,6 +2621,7 @@ var verbs = [
|
|
|
2621
2621
|
// Only when someone asks, never from a matching name: WC-ACCT-11 in docs/standards/accounts.md.
|
|
2622
2622
|
["link", "record that two identities are one person"],
|
|
2623
2623
|
["unlink", "undo a link"],
|
|
2624
|
+
["allocate", "match a payment to the invoice or order it settles, in whole or in part"],
|
|
2624
2625
|
["lookup", "ask the messenger who is behind a phone number"],
|
|
2625
2626
|
[
|
|
2626
2627
|
"inspect",
|
|
@@ -2721,6 +2722,13 @@ var collections = [
|
|
|
2721
2722
|
"derived records attached to a selected entity, with explicit coverage of included and omitted facets"
|
|
2722
2723
|
],
|
|
2723
2724
|
["organizations", "companies, teams, families or communities"],
|
|
2725
|
+
[
|
|
2726
|
+
"records",
|
|
2727
|
+
"documents of the owner's business, such as an invoice or a receipt, kept with the things they are about"
|
|
2728
|
+
],
|
|
2729
|
+
["invoices", "bills the owner sends or receives, with their amounts and due dates"],
|
|
2730
|
+
["orders", "what a customer asked for and the owner owes or delivers"],
|
|
2731
|
+
["payments", "money that moved in or out, each one matched to the invoices it settles"],
|
|
2724
2732
|
[
|
|
2725
2733
|
"identities",
|
|
2726
2734
|
"ways to reach a person or an organization: an account in one messenger or mailbox, an e-mail address, a phone"
|
|
@@ -2853,7 +2861,7 @@ var VOCABULARY = defineVocabulary({
|
|
|
2853
2861
|
flags: [...HOW_FLAGS, ...WHAT_FLAGS, ...CALENDAR_FLAGS, ...MAIL_FLAGS]
|
|
2854
2862
|
});
|
|
2855
2863
|
|
|
2856
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2864
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.579.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_c8215ada444796d31d091c0d7a963d03/node_modules/@wirecat/cli-core/dist/mcp/agent.js
|
|
2857
2865
|
var TYPES = new Map(VOCABULARY.flags.map((flag) => [flag.name, flag.type]));
|
|
2858
2866
|
var snake = /* @__PURE__ */ __name((name) => name.replaceAll("|", "_or_").replace(/[^a-z0-9]+/gi, "_"), "snake");
|
|
2859
2867
|
var longOf = /* @__PURE__ */ __name((option) => option.flags.match(/--[a-z0-9][a-z0-9-]*/)?.[0], "longOf");
|
|
@@ -3076,7 +3084,7 @@ var runCommandForAgent = /* @__PURE__ */ __name(async (program, path, input, ctx
|
|
|
3076
3084
|
}
|
|
3077
3085
|
}, "runCommandForAgent");
|
|
3078
3086
|
|
|
3079
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3087
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.579.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_c8215ada444796d31d091c0d7a963d03/node_modules/@wirecat/cli-core/dist/mcp/tool.js
|
|
3080
3088
|
var limit = optional(pipe(number(), integer(), minValue(1), maxValue(100), description("how many")));
|
|
3081
3089
|
var page = optional(pipe(number(), integer(), minValue(1), description("which page, from 1")));
|
|
3082
3090
|
var message = pipe(
|
|
@@ -3335,7 +3343,7 @@ var failed = /* @__PURE__ */ __name((error, errors, effects) => {
|
|
|
3335
3343
|
return mcpErrorResult(JSON.parse(agentJson(errorObjectOf(error, context))));
|
|
3336
3344
|
}, "failed");
|
|
3337
3345
|
|
|
3338
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3346
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.579.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_c8215ada444796d31d091c0d7a963d03/node_modules/@wirecat/cli-core/dist/mcp/surface.js
|
|
3339
3347
|
import { randomUUID } from "node:crypto";
|
|
3340
3348
|
var MATCHES = 8;
|
|
3341
3349
|
var ANSWER = answerSchema();
|
|
@@ -2,12 +2,12 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
resolvePaths
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-2R2Z2VWL.js";
|
|
6
6
|
import {
|
|
7
7
|
__name
|
|
8
8
|
} from "./chunk-ZVVMGPBJ.js";
|
|
9
9
|
|
|
10
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.579.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_c8215ada444796d31d091c0d7a963d03/node_modules/@wirecat/cli-core/dist/store/path.js
|
|
11
11
|
import { userInfo } from "node:os";
|
|
12
12
|
import { isAbsolute, join, relative, resolve } from "node:path";
|
|
13
13
|
var wirecatDirectory = /* @__PURE__ */ __name((env = process.env, platform) => resolvePaths({ appName: "WireCat", prefix: "WIRECAT", env, ...platform ? { platform } : {} }).state, "wirecatDirectory");
|
|
@@ -3,19 +3,19 @@ const require = __bundleRequire(import.meta.url);
|
|
|
3
3
|
import {
|
|
4
4
|
agentResult,
|
|
5
5
|
failureContext
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-DYMUJFDK.js";
|
|
7
7
|
import {
|
|
8
8
|
CommanderError,
|
|
9
9
|
judgedEffects,
|
|
10
10
|
metaOf
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-JIWQNA2J.js";
|
|
12
12
|
import {
|
|
13
13
|
interactiveOf,
|
|
14
14
|
optionsOf
|
|
15
15
|
} from "./chunk-BPGYTJNB.js";
|
|
16
16
|
import {
|
|
17
17
|
APP
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-SKBMXSQ3.js";
|
|
19
19
|
import {
|
|
20
20
|
ValiError,
|
|
21
21
|
errorObjectOf,
|
|
@@ -23,10 +23,10 @@ import {
|
|
|
23
23
|
exitCodeOfError,
|
|
24
24
|
mcpErrorResult,
|
|
25
25
|
renderError
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-SN63VOE6.js";
|
|
27
27
|
import {
|
|
28
28
|
CliError
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-RZ54DSVU.js";
|
|
30
30
|
import {
|
|
31
31
|
__name
|
|
32
32
|
} from "./chunk-ZVVMGPBJ.js";
|
|
@@ -5,12 +5,12 @@ import {
|
|
|
5
5
|
} from "./chunk-Y5E2WNWB.js";
|
|
6
6
|
import {
|
|
7
7
|
CliError
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-RZ54DSVU.js";
|
|
9
9
|
import {
|
|
10
10
|
__name
|
|
11
11
|
} from "./chunk-ZVVMGPBJ.js";
|
|
12
12
|
|
|
13
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
13
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.579.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_c8215ada444796d31d091c0d7a963d03/node_modules/@wirecat/cli-core/dist/store/vector-extension.js
|
|
14
14
|
import { readFileSync } from "node:fs";
|
|
15
15
|
var musl = /* @__PURE__ */ __name(() => {
|
|
16
16
|
if (process.platform !== "linux")
|
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
commandPathOf,
|
|
8
8
|
findCommand,
|
|
9
9
|
outputOf
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-SRHG24V7.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-JIWQNA2J.js";
|
|
22
22
|
import {
|
|
23
23
|
writes
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-SN63VOE6.js";
|
|
25
25
|
import {
|
|
26
26
|
CliError
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-RZ54DSVU.js";
|
|
28
28
|
import {
|
|
29
29
|
__name
|
|
30
30
|
} from "./chunk-ZVVMGPBJ.js";
|
|
31
31
|
|
|
32
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
32
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.579.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_c8215ada444796d31d091c0d7a963d03/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.
|
|
97
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.579.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_c8215ada444796d31d091c0d7a963d03/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.
|
|
136
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.579.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_c8215ada444796d31d091c0d7a963d03/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.
|
|
328
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.579.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_c8215ada444796d31d091c0d7a963d03/node_modules/@wirecat/cli-core/dist/cli/help/first-screen.js
|
|
329
329
|
var WIRECAT_TOOLS = [
|
|
330
330
|
{
|
|
331
331
|
command: "tg",
|
|
@@ -2,12 +2,12 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
singleLine
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-RZ54DSVU.js";
|
|
6
6
|
import {
|
|
7
7
|
__name
|
|
8
8
|
} from "./chunk-ZVVMGPBJ.js";
|
|
9
9
|
|
|
10
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
10
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/wcat/names.js
|
|
11
11
|
var FIRST_PARTY_TOOLS = [
|
|
12
12
|
{ name: "tg", package: "@wirecat/tg-cli" },
|
|
13
13
|
{ name: "max", package: "@wirecat/max-cli" },
|
|
@@ -30,7 +30,7 @@ var PROGRAM_PREFIX = "wcat-";
|
|
|
30
30
|
var DESCRIBE_FLAG = "--wcat-describe";
|
|
31
31
|
var DISPATCH_FLAG = "--wcat-dispatch";
|
|
32
32
|
|
|
33
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
33
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/wcat/describe.js
|
|
34
34
|
var DESCRIBE_FORMAT = 1;
|
|
35
35
|
var describeAnswer = /* @__PURE__ */ __name((tool) => ({
|
|
36
36
|
wcat_describe: DESCRIBE_FORMAT,
|
|
@@ -59,7 +59,7 @@ var parseDescribe = /* @__PURE__ */ __name((text) => {
|
|
|
59
59
|
};
|
|
60
60
|
}, "parseDescribe");
|
|
61
61
|
|
|
62
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
62
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/wcat/shim.js
|
|
63
63
|
import { lstatSync, readFileSync, renameSync, rmSync, statSync, writeFileSync } from "node:fs";
|
|
64
64
|
import { join } from "node:path";
|
|
65
65
|
var SHIM_FORMAT = 1;
|
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
refuseLacking,
|
|
14
14
|
servicesFor,
|
|
15
15
|
throughWrapper
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-EIYLAELT.js";
|
|
17
17
|
import {
|
|
18
18
|
CEILING_KEY,
|
|
19
19
|
LOG_ATTRIBUTES,
|
|
@@ -38,35 +38,35 @@ import {
|
|
|
38
38
|
rememberAccount,
|
|
39
39
|
rootOf2 as rootOf,
|
|
40
40
|
skipFlagFor
|
|
41
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-JIWQNA2J.js";
|
|
42
42
|
import {
|
|
43
43
|
isCliFailure,
|
|
44
44
|
providerErrorKey
|
|
45
|
-
} from "./chunk-
|
|
45
|
+
} from "./chunk-GNLCVNP7.js";
|
|
46
46
|
import {
|
|
47
47
|
MESSENGER_CHANGE_REFUSAL,
|
|
48
48
|
readOnlyRefusal
|
|
49
|
-
} from "./chunk-
|
|
49
|
+
} from "./chunk-N2Y6FTPK.js";
|
|
50
50
|
import {
|
|
51
51
|
servingProfiles
|
|
52
|
-
} from "./chunk-
|
|
52
|
+
} from "./chunk-SMJAJWYW.js";
|
|
53
53
|
import {
|
|
54
54
|
openStore
|
|
55
|
-
} from "./chunk-
|
|
55
|
+
} from "./chunk-IKDHJLSH.js";
|
|
56
56
|
import {
|
|
57
57
|
logRecordOf,
|
|
58
58
|
realSleep,
|
|
59
59
|
resolvePaths,
|
|
60
60
|
writeSecurely
|
|
61
|
-
} from "./chunk-
|
|
61
|
+
} from "./chunk-2R2Z2VWL.js";
|
|
62
62
|
import {
|
|
63
63
|
CliError
|
|
64
|
-
} from "./chunk-
|
|
64
|
+
} from "./chunk-RZ54DSVU.js";
|
|
65
65
|
import {
|
|
66
66
|
__name
|
|
67
67
|
} from "./chunk-ZVVMGPBJ.js";
|
|
68
68
|
|
|
69
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
69
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.579.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_c8215ada444796d31d091c0d7a963d03/node_modules/@wirecat/cli-core/dist/cli/messenger/ask.js
|
|
70
70
|
import { openSync } from "node:fs";
|
|
71
71
|
import { createInterface } from "node:readline";
|
|
72
72
|
import { ReadStream } from "node:tty";
|
|
@@ -121,10 +121,10 @@ var terminalAsker = /* @__PURE__ */ __name((command) => async (key, request) =>
|
|
|
121
121
|
throw new CliError("cancelled", `${key}: not done \u2014 the answer was no`);
|
|
122
122
|
}, "terminalAsker");
|
|
123
123
|
|
|
124
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
124
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.579.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_c8215ada444796d31d091c0d7a963d03/node_modules/@wirecat/cli-core/dist/sends/guard.js
|
|
125
125
|
import { randomUUID } from "node:crypto";
|
|
126
126
|
|
|
127
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
127
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.579.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_c8215ada444796d31d091c0d7a963d03/node_modules/@wirecat/cli-core/dist/sends/flood.js
|
|
128
128
|
import { mkdirSync, readFileSync, renameSync, writeFileSync } from "node:fs";
|
|
129
129
|
import { dirname, join } from "node:path";
|
|
130
130
|
var MOST_DEADLINES = 50;
|
|
@@ -208,11 +208,11 @@ var FloodMemory = class {
|
|
|
208
208
|
}
|
|
209
209
|
};
|
|
210
210
|
|
|
211
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
211
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.579.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_c8215ada444796d31d091c0d7a963d03/node_modules/@wirecat/cli-core/dist/sends/journal.js
|
|
212
212
|
import { appendFileSync, mkdirSync as mkdirSync3, readFileSync as readFileSync2 } from "node:fs";
|
|
213
213
|
import { dirname as dirname3, join as join2 } from "node:path";
|
|
214
214
|
|
|
215
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
215
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.579.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_c8215ada444796d31d091c0d7a963d03/node_modules/@wirecat/cli-core/dist/sends/file-lock.js
|
|
216
216
|
import { closeSync, mkdirSync as mkdirSync2, openSync as openSync2, statSync, unlinkSync } from "node:fs";
|
|
217
217
|
import { dirname as dirname2 } from "node:path";
|
|
218
218
|
var LOCK_WAIT_MS = 5e3;
|
|
@@ -279,7 +279,7 @@ var lockTime = /* @__PURE__ */ __name((lock) => {
|
|
|
279
279
|
}
|
|
280
280
|
}, "lockTime");
|
|
281
281
|
|
|
282
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
282
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.579.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_c8215ada444796d31d091c0d7a963d03/node_modules/@wirecat/cli-core/dist/sends/journal.js
|
|
283
283
|
var sendsPathFor = /* @__PURE__ */ __name((app, profile, env = process.env) => join2(resolvePaths({ appName: app.appName, prefix: app.envPrefix, env }).state, "sends", `${profile}.jsonl`), "sendsPathFor");
|
|
284
284
|
var SendJournal = class {
|
|
285
285
|
static {
|
|
@@ -356,7 +356,7 @@ var withSendId = /* @__PURE__ */ __name((entry) => {
|
|
|
356
356
|
return cid === void 0 || rest.sendId !== void 0 ? rest : { ...rest, sendId: String(cid) };
|
|
357
357
|
}, "withSendId");
|
|
358
358
|
|
|
359
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
359
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.579.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_c8215ada444796d31d091c0d7a963d03/node_modules/@wirecat/cli-core/dist/sends/recipients.js
|
|
360
360
|
import { existsSync, readFileSync as readFileSync3, rmSync } from "node:fs";
|
|
361
361
|
import { join as join3 } from "node:path";
|
|
362
362
|
var recipientsPathFor = /* @__PURE__ */ __name((app, profile, env = process.env) => join3(resolvePaths({ appName: app.appName, prefix: app.envPrefix, env }).state, "profiles", `${profile}.recipients.json`), "recipientsPathFor");
|
|
@@ -468,7 +468,7 @@ var RecipientList = class {
|
|
|
468
468
|
}
|
|
469
469
|
};
|
|
470
470
|
|
|
471
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
471
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.579.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_c8215ada444796d31d091c0d7a963d03/node_modules/@wirecat/cli-core/dist/sends/guard.js
|
|
472
472
|
var HOUR_MS = 60 * 60 * 1e3;
|
|
473
473
|
var READS_UNDER_HOLD = /* @__PURE__ */ new Set([
|
|
474
474
|
"attachments.extract",
|
|
@@ -661,7 +661,7 @@ var guardFor = /* @__PURE__ */ __name((app, settings, warn, env = process.env, a
|
|
|
661
661
|
}), "guardFor");
|
|
662
662
|
var journalFailure = /* @__PURE__ */ __name((error) => error?.code ?? (error instanceof Error ? error.name : "error"), "journalFailure");
|
|
663
663
|
|
|
664
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
664
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.579.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_c8215ada444796d31d091c0d7a963d03/node_modules/@wirecat/cli-core/dist/sends/pace.js
|
|
665
665
|
import { readFileSync as readFileSync4, renameSync as renameSync2, writeFileSync as writeFileSync2 } from "node:fs";
|
|
666
666
|
import { join as join4 } from "node:path";
|
|
667
667
|
var DEFAULT_PACE = { perMinute: 60, burst: 20 };
|
|
@@ -720,7 +720,7 @@ var Pacer = class {
|
|
|
720
720
|
}
|
|
721
721
|
};
|
|
722
722
|
|
|
723
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
723
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.579.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_c8215ada444796d31d091c0d7a963d03/node_modules/@wirecat/cli-core/dist/cli/permission-keys.js
|
|
724
724
|
var pathOf = /* @__PURE__ */ __name((command) => {
|
|
725
725
|
const words = [];
|
|
726
726
|
for (let at = command; at?.parent; at = at.parent)
|
|
@@ -780,7 +780,7 @@ var refuseUnknownPermissionKeys = /* @__PURE__ */ __name((command, settings, too
|
|
|
780
780
|
throw new CliError("validation_error", `--permission ${key} names no command`, { permission: key });
|
|
781
781
|
}, "refuseUnknownPermissionKeys");
|
|
782
782
|
|
|
783
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
783
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.579.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_c8215ada444796d31d091c0d7a963d03/node_modules/@wirecat/cli-core/dist/cli/messenger/flooded.js
|
|
784
784
|
var LONG_LIVED = /* @__PURE__ */ new Set(["self", "newSendId", "close", "formatMarkdown", "formatHtml", "storedChats"]);
|
|
785
785
|
var LISTENING = /* @__PURE__ */ new Set(["watch", "feed", "listen", "listenHistory"]);
|
|
786
786
|
var BLOCKING = /* @__PURE__ */ new Set(["frozen", "limited", "banned"]);
|
|
@@ -899,7 +899,7 @@ var flooded = /* @__PURE__ */ __name((messenger, memory, { name, warn, pacer })
|
|
|
899
899
|
});
|
|
900
900
|
}, "flooded");
|
|
901
901
|
|
|
902
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
902
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.579.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_c8215ada444796d31d091c0d7a963d03/node_modules/@wirecat/cli-core/dist/cli/messenger/observed.js
|
|
903
903
|
var observed = /* @__PURE__ */ __name((messenger, events) => {
|
|
904
904
|
const timed = /* @__PURE__ */ __name(async (operation, named, work, after) => {
|
|
905
905
|
const write = currentOperation();
|
|
@@ -998,7 +998,7 @@ var byPart = /* @__PURE__ */ __name((batch, counts) => {
|
|
|
998
998
|
counts[part] = (counts[part] ?? 0) + items.length;
|
|
999
999
|
}, "byPart");
|
|
1000
1000
|
|
|
1001
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1001
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.579.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_c8215ada444796d31d091c0d7a963d03/node_modules/@wirecat/cli-core/dist/cli/messenger/stored.js
|
|
1002
1002
|
var REKEY_PACING = { lockMs: 50, pauseMs: 25 };
|
|
1003
1003
|
var stored = /* @__PURE__ */ __name((messenger, { account, store, warn, events, pending, announcing, deletedWithoutChat, profile, rekeyed, rekeyPacing = REKEY_PACING, closing, namesFromStore, recipientIds, countsUnread = false, historyLimits, command = "cli" }) => {
|
|
1004
1004
|
let warned = false;
|
|
@@ -1574,7 +1574,7 @@ var keep = /* @__PURE__ */ __name(async (store, account, event, seenAt, among, c
|
|
|
1574
1574
|
}
|
|
1575
1575
|
}, "keep");
|
|
1576
1576
|
|
|
1577
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1577
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.579.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_c8215ada444796d31d091c0d7a963d03/node_modules/@wirecat/cli-core/dist/cli/messenger/context.js
|
|
1578
1578
|
var lazyStore = /* @__PURE__ */ __name((env, command, version) => {
|
|
1579
1579
|
let opened;
|
|
1580
1580
|
return {
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { createRequire as __bundleRequire } from "node:module";
|
|
2
|
+
const require = __bundleRequire(import.meta.url);
|
|
3
|
+
import {
|
|
4
|
+
SCHEMA_DIALECT,
|
|
5
|
+
commandContract,
|
|
6
|
+
commandPathOf,
|
|
7
|
+
findCommand,
|
|
8
|
+
outputOf
|
|
9
|
+
} from "./chunk-SRHG24V7.js";
|
|
10
|
+
import "./chunk-JIWQNA2J.js";
|
|
11
|
+
import "./chunk-GNLCVNP7.js";
|
|
12
|
+
import "./chunk-2DTUMEN2.js";
|
|
13
|
+
import "./chunk-N2Y6FTPK.js";
|
|
14
|
+
import "./chunk-6D47X4KD.js";
|
|
15
|
+
import "./chunk-PYQU4GLK.js";
|
|
16
|
+
import "./chunk-BU4LJSW2.js";
|
|
17
|
+
import "./chunk-OCIE3POS.js";
|
|
18
|
+
import "./chunk-DMUIMBCE.js";
|
|
19
|
+
import "./chunk-WIK6SGHZ.js";
|
|
20
|
+
import "./chunk-AT5Y62SD.js";
|
|
21
|
+
import "./chunk-2R2Z2VWL.js";
|
|
22
|
+
import "./chunk-SN63VOE6.js";
|
|
23
|
+
import "./chunk-Y5E2WNWB.js";
|
|
24
|
+
import "./chunk-RZ54DSVU.js";
|
|
25
|
+
import "./chunk-ZVVMGPBJ.js";
|
|
26
|
+
export {
|
|
27
|
+
SCHEMA_DIALECT,
|
|
28
|
+
commandContract,
|
|
29
|
+
commandPathOf,
|
|
30
|
+
findCommand,
|
|
31
|
+
outputOf
|
|
32
|
+
};
|
|
@@ -6,12 +6,12 @@ import {
|
|
|
6
6
|
decodeChannels,
|
|
7
7
|
formatOf,
|
|
8
8
|
runFfmpeg
|
|
9
|
-
} from "./chunk-
|
|
10
|
-
import "./chunk-
|
|
11
|
-
import "./chunk-
|
|
12
|
-
import "./chunk-
|
|
9
|
+
} from "./chunk-2PFOLWD3.js";
|
|
10
|
+
import "./chunk-RUZOQ7QN.js";
|
|
11
|
+
import "./chunk-2R2Z2VWL.js";
|
|
12
|
+
import "./chunk-SN63VOE6.js";
|
|
13
13
|
import "./chunk-Y5E2WNWB.js";
|
|
14
|
-
import "./chunk-
|
|
14
|
+
import "./chunk-RZ54DSVU.js";
|
|
15
15
|
import "./chunk-ZVVMGPBJ.js";
|
|
16
16
|
export {
|
|
17
17
|
LONGEST_AUDIO_SECONDS,
|
|
@@ -13,22 +13,22 @@ import {
|
|
|
13
13
|
parseDescribe,
|
|
14
14
|
shimFiles,
|
|
15
15
|
writeShim
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-Y5CAKD4X.js";
|
|
17
17
|
import "./chunk-Y5E2WNWB.js";
|
|
18
18
|
import {
|
|
19
19
|
CliError
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-RZ54DSVU.js";
|
|
21
21
|
import {
|
|
22
22
|
__name,
|
|
23
23
|
__toESM
|
|
24
24
|
} from "./chunk-ZVVMGPBJ.js";
|
|
25
25
|
|
|
26
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
26
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/wcat/dispatch.js
|
|
27
27
|
var import_cross_spawn2 = __toESM(require_cross_spawn(), 1);
|
|
28
28
|
import { randomUUID } from "node:crypto";
|
|
29
29
|
import { constants } from "node:os";
|
|
30
30
|
|
|
31
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
31
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/wcat/path.js
|
|
32
32
|
import { readdirSync, statSync } from "node:fs";
|
|
33
33
|
import { join } from "node:path";
|
|
34
34
|
var variable = /* @__PURE__ */ __name((env, name, platform) => platform === "win32" ? Object.entries(env).find(([key]) => key.toUpperCase() === name)?.[1] : env[name], "variable");
|
|
@@ -100,7 +100,7 @@ var findTools = /* @__PURE__ */ __name((search) => {
|
|
|
100
100
|
}, "findTools");
|
|
101
101
|
var isBuiltIn = /* @__PURE__ */ __name((name) => name === "wcat" || BUILT_IN_COMMANDS.includes(name), "isBuiltIn");
|
|
102
102
|
|
|
103
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
103
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/wcat/probe.js
|
|
104
104
|
var import_cross_spawn = __toESM(require_cross_spawn(), 1);
|
|
105
105
|
import { readFileSync } from "node:fs";
|
|
106
106
|
var MAX_ANSWER_BYTES = 64 * 1024;
|
|
@@ -149,7 +149,7 @@ var baseVersion = /* @__PURE__ */ __name(() => {
|
|
|
149
149
|
}
|
|
150
150
|
}, "baseVersion");
|
|
151
151
|
|
|
152
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
152
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/wcat/shortcuts.js
|
|
153
153
|
import { closeSync, openSync, readSync, realpathSync, rmSync } from "node:fs";
|
|
154
154
|
import { basename, dirname } from "node:path";
|
|
155
155
|
var WIRECAT_PACKAGE = /node_modules[\\/]+@wirecat[\\/]/;
|
|
@@ -241,7 +241,7 @@ var removeShortcuts = /* @__PURE__ */ __name((search, names) => listShortcuts(se
|
|
|
241
241
|
return { ...statusOf(shortcut.name, shortcut.program, search), changed: true };
|
|
242
242
|
}), "removeShortcuts");
|
|
243
243
|
|
|
244
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
244
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/wcat/dispatch.js
|
|
245
245
|
var DEFAULT_DESCRIBE_TIMEOUT_MS = 2e3;
|
|
246
246
|
var listTools = /* @__PURE__ */ __name(async (context) => {
|
|
247
247
|
const installed = installedPrograms(context);
|
|
@@ -338,7 +338,7 @@ var runTool = /* @__PURE__ */ __name((path, args, context) => new Promise((resol
|
|
|
338
338
|
});
|
|
339
339
|
}), "runTool");
|
|
340
340
|
var fail = /* @__PURE__ */ __name(async (error, json, context) => {
|
|
341
|
-
const { errorObjectOf, exitCodeOfError, renderError } = await import("./failure-
|
|
341
|
+
const { errorObjectOf, exitCodeOfError, renderError } = await import("./failure-UJBGB2GP.js");
|
|
342
342
|
const object = errorObjectOf(error);
|
|
343
343
|
context.stderr.write(`${renderError(object, { cli: "wcat", interactive: !json })}
|
|
344
344
|
`);
|