@wirecat/cli-memo 0.131.65 → 0.131.67
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-W3GRNNLJ.js} +9 -9
- package/dist/bundle/{anthropic-42PADP4V.js → anthropic-GWMYHBO4.js} +5 -5
- package/dist/bundle/{app-server-7KM4MSDA.js → app-server-RQ26EXNI.js} +42 -42
- package/dist/bundle/auto-FR6LX5KO.js +85 -0
- package/dist/bundle/{bun-NYSNYHAD.js → bun-KKLPQTG5.js} +2 -2
- package/dist/bundle/{bun-sqlite-B46U7KI7.js → bun-sqlite-WKIZJNTG.js} +5 -5
- package/dist/bundle/{chunk-724DPWN6.js → chunk-32ROGX5N.js} +2 -2
- package/dist/bundle/{chunk-YLG2M2TF.js → chunk-4C6RU7DG.js} +7 -7
- package/dist/bundle/{chunk-ZUQXDJ7A.js → chunk-4JTCNMW6.js} +1 -1
- package/dist/bundle/{chunk-5D7BPC33.js → chunk-6SFTVGNL.js} +1 -1
- package/dist/bundle/{chunk-FHZKHKBJ.js → chunk-7DANHJF6.js} +37 -35
- package/dist/bundle/{chunk-V7TJSYFK.js → chunk-7IKET6ES.js} +2 -2
- package/dist/bundle/{chunk-FWRBJAQZ.js → chunk-7KYVUVDS.js} +3 -3
- package/dist/bundle/{chunk-QTF4ZXOL.js → chunk-7OMKWYFN.js} +38 -15
- package/dist/bundle/{chunk-TKPIS4G2.js → chunk-AGNWFOAJ.js} +1 -1
- package/dist/bundle/{chunk-37E74SKW.js → chunk-BOOEDDVY.js} +86 -72
- package/dist/bundle/{chunk-ACG5QN77.js → chunk-CQNYBTWP.js} +3 -3
- package/dist/bundle/{chunk-K5VF47E2.js → chunk-DNDELSVT.js} +6 -6
- package/dist/bundle/{chunk-347UBASY.js → chunk-DNS2QWK3.js} +4 -4
- package/dist/bundle/{chunk-IK6KH3RE.js → chunk-DSU6UR2X.js} +1 -1
- package/dist/bundle/{chunk-2XVXF4RW.js → chunk-ECMYCWG2.js} +3 -3
- package/dist/bundle/{chunk-NRHF7TQ4.js → chunk-FBSHWCIZ.js} +11 -11
- package/dist/bundle/{chunk-3SCHFNUH.js → chunk-GHN2KYMO.js} +23 -23
- package/dist/bundle/{chunk-SOQGV3ZM.js → chunk-GJ3P7RJF.js} +6 -6
- package/dist/bundle/{chunk-I5L7MLZ6.js → chunk-GU3MRYK2.js} +1 -1
- package/dist/bundle/{chunk-VX4HNQLN.js → chunk-GUWRR7F2.js} +3 -3
- package/dist/bundle/{chunk-RCGFSWZE.js → chunk-HE2F4JII.js} +8 -8
- package/dist/bundle/{chunk-XVREIQ2N.js → chunk-HUPZ6XYH.js} +2 -2
- package/dist/bundle/{chunk-3YNJBKGV.js → chunk-IKZBO7NV.js} +1488 -1150
- package/dist/bundle/{chunk-X5CRFU4E.js → chunk-JEKIBI7P.js} +7 -7
- package/dist/bundle/{chunk-RLX5SC2X.js → chunk-JG7EDH7K.js} +1 -1
- package/dist/bundle/{chunk-6G53ZFUT.js → chunk-L62FWN3Y.js} +1 -1
- package/dist/bundle/{chunk-ASWLM74P.js → chunk-LJCT7YG6.js} +4 -4
- package/dist/bundle/{chunk-FUIUS3IG.js → chunk-MCA265JM.js} +8 -2
- package/dist/bundle/{chunk-FG4Q6T72.js → chunk-MLF5FLAP.js} +5 -5
- package/dist/bundle/{chunk-RP6VV35S.js → chunk-NNUJWCEJ.js} +2 -2
- package/dist/bundle/{chunk-LVLFLWGY.js → chunk-ORKWFXWV.js} +12 -12
- package/dist/bundle/{chunk-RGZUDHAQ.js → chunk-OU4PN7PF.js} +8 -8
- package/dist/bundle/{chunk-DKO7WEXJ.js → chunk-OUSLPKWY.js} +2 -2
- package/dist/bundle/{chunk-UXAP7MNL.js → chunk-PBOVHHYG.js} +9 -9
- package/dist/bundle/{chunk-DXTNBVLV.js → chunk-Q4JYHQ47.js} +10872 -10868
- package/dist/bundle/{chunk-4GTZSCUE.js → chunk-QCWA3JUT.js} +3 -3
- package/dist/bundle/{chunk-NZJUMLTD.js → chunk-QFSMJTEA.js} +2 -2
- package/dist/bundle/{chunk-NH3A5QTW.js → chunk-QMTCYKAA.js} +9 -8
- package/dist/bundle/{chunk-RTLQHLHG.js → chunk-R4H5HSQZ.js} +4 -4
- package/dist/bundle/{chunk-ML46T7UC.js → chunk-SKBDI7LU.js} +30 -30
- package/dist/bundle/{chunk-SIBQ34LX.js → chunk-SUCG5HBF.js} +1 -1
- package/dist/bundle/{chunk-FKUA3BTM.js → chunk-TFAUB6JO.js} +1545 -603
- package/dist/bundle/{chunk-VLUDHCCX.js → chunk-TNHFKR6P.js} +23 -23
- package/dist/bundle/{chunk-C4DJLVJQ.js → chunk-TPYXULNG.js} +8 -8
- package/dist/bundle/{chunk-B3SERZMP.js → chunk-TQXXOUOX.js} +1 -1
- package/dist/bundle/{chunk-6OS7PTOC.js → chunk-TWTAWPC7.js} +131 -38
- package/dist/bundle/{chunk-FH4P5UQA.js → chunk-TXWVZVDK.js} +4 -4
- package/dist/bundle/{chunk-EMNQPMZO.js → chunk-UUBV5ATQ.js} +22 -20
- package/dist/bundle/{chunk-EBDX6DNB.js → chunk-V3JOIUVB.js} +4 -4
- package/dist/bundle/{chunk-VTKLHYCZ.js → chunk-VUCD4DAQ.js} +4 -4
- package/dist/bundle/{chunk-BEMVAPYA.js → chunk-VVTC2YAX.js} +6 -6
- package/dist/bundle/{chunk-SIJA2UYC.js → chunk-W7FYMZOW.js} +7 -7
- package/dist/bundle/{chunk-HKC7GDJD.js → chunk-WJ2OYD2D.js} +6 -6
- package/dist/bundle/{chunk-A524HPDV.js → chunk-XI5UABKO.js} +2 -2
- package/dist/bundle/{chunk-NIJZXGJN.js → chunk-XK4VVGMH.js} +4 -4
- package/dist/bundle/{chunk-PKUBC2ME.js → chunk-XVPMSMSP.js} +4 -4
- package/dist/bundle/{chunk-SIOUPPN7.js → chunk-XYL7GDCX.js} +6 -6
- package/dist/bundle/{chunk-FC5PK6M6.js → chunk-YAFSD345.js} +13 -13
- package/dist/bundle/{chunk-PVGK67AJ.js → chunk-ZNBLWLCD.js} +198 -159
- package/dist/bundle/{chunk-MWAXS4BX.js → chunk-ZOIW2YEU.js} +14 -10
- package/dist/bundle/{chunk-4ZW6ZJ2V.js → chunk-ZTONSM5X.js} +2 -2
- package/dist/bundle/{chunk-QHNAPLVB.js → chunk-ZU6HZLZP.js} +45 -45
- package/dist/bundle/{chunk-4SUROBD4.js → chunk-ZVXXJYNW.js} +4 -4
- package/dist/bundle/command-contract-46BU5YKL.js +32 -0
- package/dist/bundle/{decode-2Z4GCIGA.js → decode-KRVQZPSB.js} +5 -5
- package/dist/bundle/{dispatch-CRYB6Q2V.js → dispatch-VJSUBAUM.js} +8 -8
- package/dist/bundle/{echarts-JADCSUD7.js → echarts-O6QQRVZE.js} +2 -2
- package/dist/bundle/{embed-ZLEPINEK.js → embed-DA4H2F4F.js} +6 -6
- package/dist/bundle/{embedder-E3DHPZCK.js → embedder-HWAFLIYM.js} +9 -9
- package/dist/bundle/{entry-MUE6HWX3.js → entry-DE7GJOIZ.js} +7 -7
- package/dist/bundle/{failure-ZMQJF3RO.js → failure-GLF7OMMM.js} +2 -2
- package/dist/bundle/failure-U3VNIQNX.js +65 -0
- package/dist/bundle/{first-run-3JYWLJCH.js → first-run-GOBPIKQF.js} +11 -11
- package/dist/bundle/first-screen-3V3HWSQM.js +30 -0
- package/dist/bundle/{instructions-ECXOBMWS.js → instructions-GYYMBSZW.js} +1 -1
- package/dist/bundle/mcp-6RDHWRXG.js +90 -0
- package/dist/bundle/{mcp-RKJG22KM.js → mcp-H2WYFBNW.js} +2 -2
- package/dist/bundle/memo.js +16 -16
- package/dist/bundle/{node-A6363DJ4.js → node-R3OFASC5.js} +2 -2
- package/dist/bundle/{node-sqlite-FA2P77PW.js → node-sqlite-DYHDZJ5A.js} +6 -6
- package/dist/bundle/{oauth-DBGARGR7.js → oauth-SMCDSCXQ.js} +7 -7
- package/dist/bundle/{open-5YYG2VWH.js → open-GX7RPGQW.js} +5 -5
- package/dist/bundle/{openai-BPVP7TZ7.js → openai-WM4TRXCC.js} +10 -10
- package/dist/bundle/{process-DGPZRHQA.js → process-NT5OZH2V.js} +1 -1
- package/dist/bundle/{program-RM2L3LIT.js → program-YQ3UT2LI.js} +5748 -4695
- package/dist/bundle/{prompt-NTAZWPWA.js → prompt-5XJNSXCW.js} +5 -5
- package/dist/bundle/{recognize-OGEP5VD3.js → recognize-DQNGZLRX.js} +4 -4
- package/dist/bundle/{remote-DER2PFH6.js → remote-RMRYJZSZ.js} +7 -7
- package/dist/bundle/{rerank-PB5ACFHS.js → rerank-5J6JM43S.js} +7 -7
- package/dist/bundle/{serve-KNEY4BXK.js → serve-4RVWOQVC.js} +9 -9
- package/dist/bundle/server-HH2X6G7V.js +61 -0
- package/dist/bundle/server-MS3JKMGF.js +48 -0
- package/dist/bundle/{server-XKSIHWM2.js → server-NKCRFK26.js} +99 -66
- package/dist/bundle/{state-JMCWHHZM.js → state-MGVPOLPZ.js} +6 -6
- package/dist/bundle/{store-M5QSIRWJ.js → store-IEK4PPOE.js} +19 -13
- package/dist/bundle/store-maintenance-command-GSS2AY4J.js +47 -0
- package/dist/bundle/update-S5XRRWTH.js +68 -0
- package/dist/digest/command.d.ts.map +1 -1
- package/dist/digest/command.js +2 -1
- package/dist/digest/command.js.map +1 -1
- package/dist/digest/digest.d.ts +2 -2
- package/dist/digest/digest.d.ts.map +1 -1
- package/dist/digest/digest.js +36 -2
- package/dist/digest/digest.js.map +1 -1
- package/dist/discovery/command.d.ts.map +1 -1
- package/dist/discovery/command.js +3 -0
- package/dist/discovery/command.js.map +1 -1
- package/dist/examples.d.ts.map +1 -1
- package/dist/examples.js +33 -4
- package/dist/examples.js.map +1 -1
- package/dist/facts/command.d.ts.map +1 -1
- package/dist/facts/command.js +7 -4
- package/dist/facts/command.js.map +1 -1
- package/dist/facts/fact.d.ts +1 -0
- package/dist/facts/fact.d.ts.map +1 -1
- package/dist/facts/fact.js +1 -0
- package/dist/facts/fact.js.map +1 -1
- package/dist/finance/subscriptions-command.js +3 -3
- package/dist/finance/subscriptions-command.js.map +1 -1
- package/dist/knowledge/project-context.d.ts +1 -0
- package/dist/knowledge/project-context.d.ts.map +1 -1
- package/dist/mcp/catalogue.d.ts +3 -0
- package/dist/mcp/catalogue.d.ts.map +1 -1
- package/dist/mcp/catalogue.js +47 -13
- package/dist/mcp/catalogue.js.map +1 -1
- package/dist/memories/command.d.ts.map +1 -1
- package/dist/memories/command.js +9 -5
- package/dist/memories/command.js.map +1 -1
- package/dist/memories/memories.d.ts +6 -3
- package/dist/memories/memories.d.ts.map +1 -1
- package/dist/memories/memories.js +15 -20
- package/dist/memories/memories.js.map +1 -1
- package/dist/memories/memory.d.ts +1 -0
- package/dist/memories/memory.d.ts.map +1 -1
- package/dist/memories/memory.js +1 -0
- package/dist/memories/memory.js.map +1 -1
- package/dist/memories/sources.d.ts +27 -0
- package/dist/memories/sources.d.ts.map +1 -0
- package/dist/memories/sources.js +111 -0
- package/dist/memories/sources.js.map +1 -0
- package/dist/notes/embed.d.ts +2 -0
- package/dist/notes/embed.d.ts.map +1 -1
- package/dist/notes/embed.js +13 -0
- package/dist/notes/embed.js.map +1 -1
- package/dist/notes/files.d.ts.map +1 -1
- package/dist/notes/files.js +2 -0
- package/dist/notes/files.js.map +1 -1
- package/dist/program.d.ts +4 -1
- package/dist/program.d.ts.map +1 -1
- package/dist/program.js +44 -1
- package/dist/program.js.map +1 -1
- package/dist/read-only.d.ts +1 -1
- package/dist/reasons.d.ts.map +1 -1
- package/dist/reasons.js +6 -0
- package/dist/reasons.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/review/command.d.ts +2 -0
- package/dist/review/command.d.ts.map +1 -1
- package/dist/review/command.js +18 -3
- package/dist/review/command.js.map +1 -1
- package/dist/review/kinds.d.ts +1 -1
- package/dist/review/kinds.d.ts.map +1 -1
- package/dist/review/kinds.js +2 -1
- package/dist/review/kinds.js.map +1 -1
- package/dist/review/review.d.ts +64 -1
- package/dist/review/review.d.ts.map +1 -1
- package/dist/review/review.js +45 -0
- package/dist/review/review.js.map +1 -1
- package/dist/run/import.d.ts +9 -0
- package/dist/run/import.d.ts.map +1 -1
- package/dist/run/import.js +20 -0
- package/dist/run/import.js.map +1 -1
- package/dist/sources/command.d.ts +7 -0
- package/dist/sources/command.d.ts.map +1 -0
- package/dist/sources/command.js +246 -0
- package/dist/sources/command.js.map +1 -0
- package/dist/sources/copy.d.ts +13 -0
- package/dist/sources/copy.d.ts.map +1 -0
- package/dist/sources/copy.js +32 -0
- package/dist/sources/copy.js.map +1 -0
- package/dist/sources/mentions.d.ts +21 -0
- package/dist/sources/mentions.d.ts.map +1 -0
- package/dist/sources/mentions.js +78 -0
- package/dist/sources/mentions.js.map +1 -0
- package/dist/sources/read.d.ts +30 -0
- package/dist/sources/read.d.ts.map +1 -0
- package/dist/sources/read.js +181 -0
- package/dist/sources/read.js.map +1 -0
- package/dist/templates/command.d.ts +5 -0
- package/dist/templates/command.d.ts.map +1 -0
- package/dist/templates/command.js +18 -0
- package/dist/templates/command.js.map +1 -0
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +4 -4
- package/scenarios/project-state.md +2 -2
- package/skills/cli-memo/SKILL.md +9 -0
- package/skills/cli-memo/topics/proposals.md +13 -2
- package/skills/cli-memo/topics/search.md +7 -0
- package/dist/bundle/auto-4KOZDLIU.js +0 -85
- package/dist/bundle/command-contract-PLB2JGFJ.js +0 -32
- package/dist/bundle/failure-CRWMZZBO.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-PQUASMQN.js +0 -68
- /package/dist/bundle/{chunk-C3XNJQD7.js → chunk-DS7NXKAN.js} +0 -0
- /package/dist/bundle/{chunk-SW6C6WH5.js → chunk-SYWHHQMC.js} +0 -0
|
@@ -4,18 +4,18 @@ import {
|
|
|
4
4
|
readSharedSection,
|
|
5
5
|
sharedConfigPath,
|
|
6
6
|
writeSharedSection
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-WJ2OYD2D.js";
|
|
8
8
|
import {
|
|
9
9
|
storePath
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-QFSMJTEA.js";
|
|
11
11
|
import {
|
|
12
12
|
CliError
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-ZTONSM5X.js";
|
|
14
14
|
import {
|
|
15
15
|
__name
|
|
16
16
|
} from "./chunk-ZVVMGPBJ.js";
|
|
17
17
|
|
|
18
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
18
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.616.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_8665abbf6fdc3acbe46baf279794bee0/node_modules/@wirecat/cli-core/dist/cli/setup-answers.js
|
|
19
19
|
var PERMISSION_ANSWERS = ["readonly", "allow"];
|
|
20
20
|
var QUESTIONS = ["languages", "tools", "permissions"];
|
|
21
21
|
var SECTION = "setup";
|
|
@@ -19,12 +19,12 @@ import {
|
|
|
19
19
|
string,
|
|
20
20
|
text,
|
|
21
21
|
unknown
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-HE2F4JII.js";
|
|
23
23
|
import {
|
|
24
24
|
CliError,
|
|
25
25
|
isCliError,
|
|
26
26
|
visibleControls
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-ZTONSM5X.js";
|
|
28
28
|
import {
|
|
29
29
|
__commonJS,
|
|
30
30
|
__name,
|
|
@@ -1897,7 +1897,7 @@ var require_cli_table3 = __commonJS({
|
|
|
1897
1897
|
}
|
|
1898
1898
|
});
|
|
1899
1899
|
|
|
1900
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
1900
|
+
// 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/paths.js
|
|
1901
1901
|
import { homedir, userInfo } from "node:os";
|
|
1902
1902
|
import { join, posix, win32 } from "node:path";
|
|
1903
1903
|
var PATH_KINDS = ["config", "state", "cache"];
|
|
@@ -1946,9 +1946,10 @@ var homeIsMoved = /* @__PURE__ */ __name(({ env = process.env, platform = proces
|
|
|
1946
1946
|
const owners = defaultPaths({ appName, env: { HOME: home, USERPROFILE: home }, platform });
|
|
1947
1947
|
return PATH_KINDS.some((kind) => actual[kind] !== owners[kind]);
|
|
1948
1948
|
}, "homeIsMoved");
|
|
1949
|
+
var isMovedRun = /* @__PURE__ */ __name((options) => pathsAreOverridden(options) || homeIsMoved(options), "isMovedRun");
|
|
1949
1950
|
var configFilePath = /* @__PURE__ */ __name((configDir, fileName = "config.json") => join(configDir, fileName), "configFilePath");
|
|
1950
1951
|
|
|
1951
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
1952
|
+
// 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/drain.js
|
|
1952
1953
|
var waitForDrain = /* @__PURE__ */ __name((stream, signal) => {
|
|
1953
1954
|
if (signal?.aborted)
|
|
1954
1955
|
return Promise.reject(signal.reason);
|
|
@@ -1976,7 +1977,7 @@ var waitForDrain = /* @__PURE__ */ __name((stream, signal) => {
|
|
|
1976
1977
|
});
|
|
1977
1978
|
}, "waitForDrain");
|
|
1978
1979
|
|
|
1979
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
1980
|
+
// 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/streams.js
|
|
1980
1981
|
var processStreams = {
|
|
1981
1982
|
drain: /* @__PURE__ */ __name(async (signal) => {
|
|
1982
1983
|
await Promise.all([waitForDrain(process.stdout, signal), waitForDrain(process.stderr, signal)]);
|
|
@@ -2005,7 +2006,7 @@ var captureStreams = /* @__PURE__ */ __name(() => {
|
|
|
2005
2006
|
};
|
|
2006
2007
|
}, "captureStreams");
|
|
2007
2008
|
|
|
2008
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
2009
|
+
// 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/pretty.js
|
|
2009
2010
|
var import_cli_table3 = __toESM(require_cli_table3(), 1);
|
|
2010
2011
|
import { styleText } from "node:util";
|
|
2011
2012
|
var renderPretty = /* @__PURE__ */ __name((value, options) => {
|
|
@@ -2079,7 +2080,7 @@ var BORDERLESS = {
|
|
|
2079
2080
|
middle: ""
|
|
2080
2081
|
};
|
|
2081
2082
|
|
|
2082
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
2083
|
+
// 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/renderer.js
|
|
2083
2084
|
var createRenderer = /* @__PURE__ */ __name(({ format, color, streams = processStreams, quiet = false }) => {
|
|
2084
2085
|
const mark = /* @__PURE__ */ __name((symbol, message) => format === "pretty" ? `${symbol} ${visibleControls(message)}` : visibleControls(message), "mark");
|
|
2085
2086
|
const say = /* @__PURE__ */ __name((symbol) => (message) => {
|
|
@@ -2116,7 +2117,7 @@ var createRenderer = /* @__PURE__ */ __name(({ format, color, streams = processS
|
|
|
2116
2117
|
};
|
|
2117
2118
|
}, "createRenderer");
|
|
2118
2119
|
|
|
2119
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
2120
|
+
// 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/retry.js
|
|
2120
2121
|
var DEFAULT_RETRY = {
|
|
2121
2122
|
retries: 1,
|
|
2122
2123
|
baseDelayMs: 250,
|
|
@@ -2128,7 +2129,7 @@ var backoffMs = /* @__PURE__ */ __name((attempt, config, random) => {
|
|
|
2128
2129
|
return Math.round(random() * ceiling);
|
|
2129
2130
|
}, "backoffMs");
|
|
2130
2131
|
|
|
2131
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
2132
|
+
// 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/result-fields.js
|
|
2132
2133
|
var forbidden = /* @__PURE__ */ new Set(["__proto__", "prototype", "constructor"]);
|
|
2133
2134
|
var validate = /* @__PURE__ */ __name((paths) => {
|
|
2134
2135
|
if (paths.length === 0 || paths.length > 128 || paths.some((path) => path.length > 256 || !/^[A-Za-z][A-Za-z0-9_]*(?:\.[A-Za-z][A-Za-z0-9_]*)*$/.test(path) || path.split(".").some((part) => forbidden.has(part))))
|
|
@@ -2193,7 +2194,7 @@ var projectFields = /* @__PURE__ */ __name((value, fields) => {
|
|
|
2193
2194
|
return project(value, fields);
|
|
2194
2195
|
}, "projectFields");
|
|
2195
2196
|
|
|
2196
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
2197
|
+
// 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/batch.js
|
|
2197
2198
|
var BATCH_LIMITS = Object.freeze({
|
|
2198
2199
|
requests: 32,
|
|
2199
2200
|
input_bytes: 262144,
|
|
@@ -2340,7 +2341,7 @@ var runBatch = /* @__PURE__ */ __name(async (requests, options = {}) => {
|
|
|
2340
2341
|
};
|
|
2341
2342
|
}, "runBatch");
|
|
2342
2343
|
|
|
2343
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
2344
|
+
// 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/config.js
|
|
2344
2345
|
import { randomBytes } from "node:crypto";
|
|
2345
2346
|
import { mkdirSync, readFileSync, renameSync, rmSync, writeFileSync } from "node:fs";
|
|
2346
2347
|
import { dirname, join as join2 } from "node:path";
|
|
@@ -2384,16 +2385,16 @@ var saveConfigFile = /* @__PURE__ */ __name((path, config) => {
|
|
|
2384
2385
|
`, 384);
|
|
2385
2386
|
}, "saveConfigFile");
|
|
2386
2387
|
|
|
2387
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
2388
|
+
// 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/constants.js
|
|
2388
2389
|
var BASE_CONSTANTS = new URL("../constants.json", new URL("constants.js", import.meta.resolve("@wirecat/cli-base")).href);
|
|
2389
2390
|
var baseConstantsSchema = object({});
|
|
2390
2391
|
var LayerSchema = record(string(), unknown());
|
|
2391
2392
|
|
|
2392
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
2393
|
+
// 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/credentials.js
|
|
2393
2394
|
import { readFileSync as readFileSync2 } from "node:fs";
|
|
2394
2395
|
import { join as join3, resolve } from "node:path";
|
|
2395
2396
|
|
|
2396
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
2397
|
+
// 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/keyring.js
|
|
2397
2398
|
import { createRequire } from "node:module";
|
|
2398
2399
|
var ENTRY_OPTIONS = { linux: { store: "secret-service" } };
|
|
2399
2400
|
var require2 = createRequire(new URL("keyring.js", import.meta.resolve("@wirecat/cli-base")).href);
|
|
@@ -2413,7 +2414,7 @@ var systemKeyring = {
|
|
|
2413
2414
|
delete: /* @__PURE__ */ __name((service, account) => entry(service, account).deletePassword(), "delete")
|
|
2414
2415
|
};
|
|
2415
2416
|
|
|
2416
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
2417
|
+
// 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/credentials.js
|
|
2417
2418
|
var movedRunService = /* @__PURE__ */ __name((service, configDir) => `${service}:${resolve(configDir)}`, "movedRunService");
|
|
2418
2419
|
var warnedRuns = /* @__PURE__ */ new WeakSet();
|
|
2419
2420
|
var Credentials = class {
|
|
@@ -2548,7 +2549,7 @@ var Credentials = class {
|
|
|
2548
2549
|
}
|
|
2549
2550
|
};
|
|
2550
2551
|
|
|
2551
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
2552
|
+
// 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/time.js
|
|
2552
2553
|
var abortError = /* @__PURE__ */ __name(() => new DOMException("The operation was aborted.", "AbortError"), "abortError");
|
|
2553
2554
|
var realSleep = /* @__PURE__ */ __name((ms, signal) => new Promise((resolve2, reject) => {
|
|
2554
2555
|
if (signal?.aborted) {
|
|
@@ -2562,7 +2563,7 @@ var realSleep = /* @__PURE__ */ __name((ms, signal) => new Promise((resolve2, re
|
|
|
2562
2563
|
}, { once: true });
|
|
2563
2564
|
}), "realSleep");
|
|
2564
2565
|
|
|
2565
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
2566
|
+
// 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/deadline.js
|
|
2566
2567
|
var createDeadline = /* @__PURE__ */ __name(({ timeoutMs, signal, sleep = realSleep } = {}) => {
|
|
2567
2568
|
if (timeoutMs !== void 0 && (!Number.isSafeInteger(timeoutMs) || timeoutMs < 0 || timeoutMs > 2147483647))
|
|
2568
2569
|
throw new CliError("validation_error", "timeoutMs must be an integer from zero through 2147483647");
|
|
@@ -2646,10 +2647,10 @@ var createDeadline = /* @__PURE__ */ __name(({ timeoutMs, signal, sleep = realSl
|
|
|
2646
2647
|
};
|
|
2647
2648
|
}, "createDeadline");
|
|
2648
2649
|
|
|
2649
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
2650
|
+
// 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/logging.js
|
|
2650
2651
|
import { appendFileSync } from "node:fs";
|
|
2651
2652
|
|
|
2652
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
2653
|
+
// 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/log.js
|
|
2653
2654
|
var LOG_SEVERITIES = ["trace", "debug", "info", "warn", "error", "fatal"];
|
|
2654
2655
|
var logRecordSchema = strictObject({
|
|
2655
2656
|
time: isoTime,
|
|
@@ -2727,7 +2728,7 @@ var traceIdOf = /* @__PURE__ */ __name((traceparent) => {
|
|
|
2727
2728
|
return traceId;
|
|
2728
2729
|
}, "traceIdOf");
|
|
2729
2730
|
|
|
2730
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
2731
|
+
// 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/logging.js
|
|
2731
2732
|
var REDACTED_FIELDS = [
|
|
2732
2733
|
"authorization",
|
|
2733
2734
|
"Authorization",
|
|
@@ -2833,6 +2834,7 @@ export {
|
|
|
2833
2834
|
saveConfigFile,
|
|
2834
2835
|
resolvePaths,
|
|
2835
2836
|
pathsAreOverridden,
|
|
2837
|
+
isMovedRun,
|
|
2836
2838
|
configFilePath,
|
|
2837
2839
|
Credentials,
|
|
2838
2840
|
realSleep,
|
|
@@ -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-ZTONSM5X.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.91.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" },
|
|
@@ -31,7 +31,7 @@ var DESCRIBE_FLAG = "--wcat-describe";
|
|
|
31
31
|
var DESCRIBE_MAX_BYTES = 64 * 1024;
|
|
32
32
|
var DISPATCH_FLAG = "--wcat-dispatch";
|
|
33
33
|
|
|
34
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
34
|
+
// 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/wcat/describe.js
|
|
35
35
|
var DESCRIBE_FORMAT = 1;
|
|
36
36
|
var DESCRIBE_MANIFEST_FORMAT = 2;
|
|
37
37
|
var describeAnswer = /* @__PURE__ */ __name((tool, manifest) => {
|
|
@@ -74,7 +74,7 @@ var parseDescribe = /* @__PURE__ */ __name((text) => {
|
|
|
74
74
|
};
|
|
75
75
|
}, "parseDescribe");
|
|
76
76
|
|
|
77
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
77
|
+
// 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/wcat/shim.js
|
|
78
78
|
import { lstatSync, readFileSync, renameSync, rmSync, statSync, writeFileSync } from "node:fs";
|
|
79
79
|
import { join } from "node:path";
|
|
80
80
|
var SHIM_FORMAT = 2;
|
|
@@ -2,12 +2,12 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
answeredWire
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-TQXXOUOX.js";
|
|
6
6
|
import {
|
|
7
7
|
CALLER_META_KEY,
|
|
8
8
|
PROXY_CLIENT_NAME,
|
|
9
9
|
callerOf
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-HUPZ6XYH.js";
|
|
11
11
|
import {
|
|
12
12
|
StdioServerTransport,
|
|
13
13
|
serveStdio
|
|
@@ -19,7 +19,7 @@ import {
|
|
|
19
19
|
__name
|
|
20
20
|
} from "./chunk-ZVVMGPBJ.js";
|
|
21
21
|
|
|
22
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
22
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.616.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_8665abbf6fdc3acbe46baf279794bee0/node_modules/@wirecat/cli-core/dist/mcp/all-profiles.js
|
|
23
23
|
import { spawn } from "node:child_process";
|
|
24
24
|
import { randomUUID } from "node:crypto";
|
|
25
25
|
var PROTOCOL = "2025-06-18";
|
|
@@ -253,7 +253,7 @@ var serveAllProfilesOverStdio = /* @__PURE__ */ __name(async (options, io = {})
|
|
|
253
253
|
}, "serveAllProfilesOverStdio");
|
|
254
254
|
var serveAllProfilesOverHttp = /* @__PURE__ */ __name(async (options, http) => {
|
|
255
255
|
const { build, close } = allProfilesServer(options);
|
|
256
|
-
const { serveOverHttp } = await import("./serve-
|
|
256
|
+
const { serveOverHttp } = await import("./serve-4RVWOQVC.js");
|
|
257
257
|
const listening = await serveOverHttp(build, {
|
|
258
258
|
...http,
|
|
259
259
|
appName: options.command,
|
|
@@ -3,22 +3,22 @@ const require = __bundleRequire(import.meta.url);
|
|
|
3
3
|
import {
|
|
4
4
|
agentResult,
|
|
5
5
|
failureContext
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-7OMKWYFN.js";
|
|
7
7
|
import {
|
|
8
8
|
CommanderError,
|
|
9
9
|
judgedEffects,
|
|
10
10
|
metaOf
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-ZNBLWLCD.js";
|
|
12
12
|
import {
|
|
13
13
|
storeDamaged
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-ECMYCWG2.js";
|
|
15
15
|
import {
|
|
16
16
|
interactiveOf,
|
|
17
17
|
optionsOf
|
|
18
18
|
} from "./chunk-BPGYTJNB.js";
|
|
19
19
|
import {
|
|
20
20
|
APP
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-MCA265JM.js";
|
|
22
22
|
import {
|
|
23
23
|
ValiError,
|
|
24
24
|
errorObjectOf,
|
|
@@ -26,10 +26,10 @@ import {
|
|
|
26
26
|
exitCodeOfError,
|
|
27
27
|
mcpErrorResult,
|
|
28
28
|
renderError
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-HE2F4JII.js";
|
|
30
30
|
import {
|
|
31
31
|
CliError
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-ZTONSM5X.js";
|
|
33
33
|
import {
|
|
34
34
|
__name
|
|
35
35
|
} from "./chunk-ZVVMGPBJ.js";
|
|
@@ -4,22 +4,22 @@ import {
|
|
|
4
4
|
isCliFailure,
|
|
5
5
|
secretNamed,
|
|
6
6
|
withoutSecrets
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-ECMYCWG2.js";
|
|
8
8
|
import {
|
|
9
9
|
isContentKey
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-UUBV5ATQ.js";
|
|
11
11
|
import {
|
|
12
12
|
__name
|
|
13
13
|
} from "./chunk-ZVVMGPBJ.js";
|
|
14
14
|
|
|
15
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
15
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.616.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_8665abbf6fdc3acbe46baf279794bee0/node_modules/@wirecat/cli-core/dist/runs/run-context.js
|
|
16
16
|
import { AsyncLocalStorage } from "node:async_hooks";
|
|
17
17
|
import { createHash } from "node:crypto";
|
|
18
18
|
|
|
19
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
19
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.616.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_8665abbf6fdc3acbe46baf279794bee0/node_modules/@wirecat/cli-core/dist/runs/error-detail.js
|
|
20
20
|
import { homedir } from "node:os";
|
|
21
21
|
|
|
22
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
22
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.616.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_8665abbf6fdc3acbe46baf279794bee0/node_modules/@wirecat/cli-core/dist/runs/events.js
|
|
23
23
|
var providerErrorKey = /* @__PURE__ */ __name((value) => typeof value === "string" && /^[A-Za-z][A-Za-z0-9._-]{0,63}$/.test(value) ? value : void 0, "providerErrorKey");
|
|
24
24
|
var renderEvent = /* @__PURE__ */ __name((event) => {
|
|
25
25
|
if (event.event === "warning") {
|
|
@@ -67,7 +67,7 @@ var MARK = { request: "\u2192", response: "\u2190", cache: "\u2022", warning: "!
|
|
|
67
67
|
var age = /* @__PURE__ */ __name((ms) => ms < 1e3 ? `${ms}ms` : `${Math.round(ms / 1e3)}s`, "age");
|
|
68
68
|
var size = /* @__PURE__ */ __name((bytes) => bytes < 1e3 ? `${bytes} B` : `${(bytes / 1e3).toFixed(1)} kB`, "size");
|
|
69
69
|
|
|
70
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
70
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.616.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_8665abbf6fdc3acbe46baf279794bee0/node_modules/@wirecat/cli-core/dist/runs/error-detail.js
|
|
71
71
|
var MESSAGE_AT_MOST = 500;
|
|
72
72
|
var CAUSES_AT_MOST = 5;
|
|
73
73
|
var FRAMES_AT_MOST = 15;
|
|
@@ -176,7 +176,7 @@ var redactText = /* @__PURE__ */ __name((text) => {
|
|
|
176
176
|
return out.length > MESSAGE_AT_MOST ? `${out.slice(0, MESSAGE_AT_MOST)}\u2026` : out;
|
|
177
177
|
}, "redactText");
|
|
178
178
|
|
|
179
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
179
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.616.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_8665abbf6fdc3acbe46baf279794bee0/node_modules/@wirecat/cli-core/dist/runs/run-context.js
|
|
180
180
|
var REDACTED = "[redacted]";
|
|
181
181
|
var keepsSuccess = /* @__PURE__ */ __name(({ record, fromFlag, env, caller, persistent = false }) => {
|
|
182
182
|
if (!record)
|
|
@@ -2,23 +2,23 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
storePath
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-QFSMJTEA.js";
|
|
6
6
|
import {
|
|
7
7
|
resolvePaths
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-UUBV5ATQ.js";
|
|
9
9
|
import {
|
|
10
10
|
CliError,
|
|
11
11
|
singleLine
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-ZTONSM5X.js";
|
|
13
13
|
import {
|
|
14
14
|
__name
|
|
15
15
|
} from "./chunk-ZVVMGPBJ.js";
|
|
16
16
|
|
|
17
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
17
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.616.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_8665abbf6fdc3acbe46baf279794bee0/node_modules/@wirecat/cli-core/dist/store/shared-config.js
|
|
18
18
|
import { mkdirSync, readFileSync, renameSync, statSync, writeFileSync } from "node:fs";
|
|
19
19
|
import { dirname, join, resolve } from "node:path";
|
|
20
20
|
|
|
21
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
21
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.616.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_8665abbf6fdc3acbe46baf279794bee0/node_modules/@wirecat/cli-core/dist/domain/task-categories.js
|
|
22
22
|
var DEFAULT_TASK_CATEGORIES = [
|
|
23
23
|
{
|
|
24
24
|
name: "taxes",
|
|
@@ -773,7 +773,7 @@ var storedTaskCategories = /* @__PURE__ */ __name((json) => {
|
|
|
773
773
|
}
|
|
774
774
|
}, "storedTaskCategories");
|
|
775
775
|
|
|
776
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
776
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.616.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_8665abbf6fdc3acbe46baf279794bee0/node_modules/@wirecat/cli-core/dist/store/shared-config.js
|
|
777
777
|
var SECTION = "task_categories";
|
|
778
778
|
var sharedConfigPath = /* @__PURE__ */ __name((store, env = process.env) => {
|
|
779
779
|
const paths = resolvePaths({ appName: "WireCat", prefix: "WIRECAT", env });
|
|
@@ -5,12 +5,12 @@ import {
|
|
|
5
5
|
} from "./chunk-Y5E2WNWB.js";
|
|
6
6
|
import {
|
|
7
7
|
CliError
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-ZTONSM5X.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.616.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_8665abbf6fdc3acbe46baf279794bee0/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,18 +7,18 @@ import {
|
|
|
7
7
|
describeOptions,
|
|
8
8
|
keyForCommand,
|
|
9
9
|
metaOf
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-ZNBLWLCD.js";
|
|
11
11
|
import {
|
|
12
12
|
jsonSchemaOf
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-HE2F4JII.js";
|
|
14
14
|
import {
|
|
15
15
|
CliError
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-ZTONSM5X.js";
|
|
17
17
|
import {
|
|
18
18
|
__name
|
|
19
19
|
} from "./chunk-ZVVMGPBJ.js";
|
|
20
20
|
|
|
21
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
21
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.616.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_8665abbf6fdc3acbe46baf279794bee0/node_modules/@wirecat/cli-core/dist/cli/command-contract.js
|
|
22
22
|
var SCHEMA_DIALECT = "https://json-schema.org/draft/2020-12/schema";
|
|
23
23
|
var outputOf = /* @__PURE__ */ __name((command) => {
|
|
24
24
|
const entity = answerEntitySchema(command);
|
|
@@ -5,15 +5,15 @@ import {
|
|
|
5
5
|
} from "./chunk-Y5E2WNWB.js";
|
|
6
6
|
import {
|
|
7
7
|
CliError
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-ZTONSM5X.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.616.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_8665abbf6fdc3acbe46baf279794bee0/node_modules/@wirecat/cli-core/dist/speech/recognize.js
|
|
14
14
|
import { createRequire } from "node:module";
|
|
15
15
|
|
|
16
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
16
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.616.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_8665abbf6fdc3acbe46baf279794bee0/node_modules/@wirecat/cli-core/dist/speech/ogg-limit.js
|
|
17
17
|
var invalid = /* @__PURE__ */ __name(() => new CliError("validation_error", "local transcription needs a complete mono or stereo Ogg Opus recording"), "invalid");
|
|
18
18
|
var checkOggDuration = /* @__PURE__ */ __name((bytes) => {
|
|
19
19
|
const view = new DataView(bytes.buffer, bytes.byteOffset, bytes.byteLength);
|
|
@@ -70,7 +70,7 @@ var checkOggDuration = /* @__PURE__ */ __name((bytes) => {
|
|
|
70
70
|
throw invalid();
|
|
71
71
|
}, "checkOggDuration");
|
|
72
72
|
|
|
73
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
73
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.616.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_8665abbf6fdc3acbe46baf279794bee0/node_modules/@wirecat/cli-core/dist/speech/recognize.js
|
|
74
74
|
var SAMPLE_RATE = 16e3;
|
|
75
75
|
var LEAD = SAMPLE_RATE / 2;
|
|
76
76
|
var toModelRate = /* @__PURE__ */ __name((samples, rate) => {
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
inspectConfig,
|
|
5
5
|
loadConfig,
|
|
6
6
|
memoPermissionKeys
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-7DANHJF6.js";
|
|
8
8
|
import {
|
|
9
9
|
CEILING_KEY,
|
|
10
10
|
changesAuthority,
|
|
@@ -13,20 +13,20 @@ import {
|
|
|
13
13
|
layerPermissions,
|
|
14
14
|
levelFor,
|
|
15
15
|
metaOf
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-ZNBLWLCD.js";
|
|
17
17
|
import {
|
|
18
18
|
setupPermissionCeiling
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-TXWVZVDK.js";
|
|
20
20
|
import {
|
|
21
21
|
readOnlyLockOf,
|
|
22
22
|
readOnlyRefusal
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-NNUJWCEJ.js";
|
|
24
24
|
import {
|
|
25
25
|
APP
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-MCA265JM.js";
|
|
27
27
|
import {
|
|
28
28
|
CliError
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-ZTONSM5X.js";
|
|
30
30
|
import {
|
|
31
31
|
__name
|
|
32
32
|
} from "./chunk-ZVVMGPBJ.js";
|
|
@@ -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.
|
|
10
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.616.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_8665abbf6fdc3acbe46baf279794bee0/node_modules/@wirecat/cli-core/dist/files/ordinary-file.js
|
|
11
11
|
import { constants } from "node:fs";
|
|
12
12
|
import { lstat, open } from "node:fs/promises";
|
|
13
13
|
var deviceOf = /* @__PURE__ */ __name((dev) => process.platform === "win32" ? BigInt.asUintN(32, dev) : dev, "deviceOf");
|
|
@@ -73,7 +73,7 @@ var syncDirectory = /* @__PURE__ */ __name(async (path) => {
|
|
|
73
73
|
}
|
|
74
74
|
}, "syncDirectory");
|
|
75
75
|
|
|
76
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
76
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.616.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_8665abbf6fdc3acbe46baf279794bee0/node_modules/@wirecat/cli-core/dist/files/atomic-write.js
|
|
77
77
|
import { randomUUID } from "node:crypto";
|
|
78
78
|
import { constants as constants2 } from "node:fs";
|
|
79
79
|
import { link, open as open2, realpath, rename, unlink } from "node:fs/promises";
|
|
@@ -111,7 +111,7 @@ var writeFileAtomic = /* @__PURE__ */ __name(async (path, content, { mode = 384,
|
|
|
111
111
|
}
|
|
112
112
|
}, "writeFileAtomic");
|
|
113
113
|
|
|
114
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
114
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.616.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_8665abbf6fdc3acbe46baf279794bee0/node_modules/@wirecat/cli-core/dist/files/bounded-utf8.js
|
|
115
115
|
var readBoundedUtf8File = /* @__PURE__ */ __name(async (path, { maxBytes }) => {
|
|
116
116
|
if (!Number.isSafeInteger(maxBytes) || maxBytes < 1 || maxBytes > 16 * 1024 * 1024)
|
|
117
117
|
throw new CliError("validation_error", "file maxBytes takes 1\u201316777216 bytes");
|
|
@@ -140,21 +140,21 @@ var readBoundedUtf8File = /* @__PURE__ */ __name(async (path, { maxBytes }) => {
|
|
|
140
140
|
}
|
|
141
141
|
}, "readBoundedUtf8File");
|
|
142
142
|
|
|
143
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
143
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.616.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_8665abbf6fdc3acbe46baf279794bee0/node_modules/@wirecat/cli-core/dist/files/lock.js
|
|
144
144
|
import { mkdir as mkdir2 } from "node:fs/promises";
|
|
145
145
|
import { basename as basename2, dirname as dirname2 } from "node:path";
|
|
146
146
|
|
|
147
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
147
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.616.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_8665abbf6fdc3acbe46baf279794bee0/node_modules/@wirecat/cli-core/dist/files/native-writer-lease.js
|
|
148
148
|
import { randomUUID as randomUUID2 } from "node:crypto";
|
|
149
149
|
import { lstat as lstat3, mkdir, open as open3, realpath as realpath3, rmdir as rmdir2, unlink as unlink4 } from "node:fs/promises";
|
|
150
150
|
import { hostname as hostname2 } from "node:os";
|
|
151
151
|
import { join as join3 } from "node:path";
|
|
152
152
|
|
|
153
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
153
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.616.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_8665abbf6fdc3acbe46baf279794bee0/node_modules/@wirecat/cli-core/dist/files/native-lease-inspection.js
|
|
154
154
|
import { lstat as lstat2, readdir, realpath as realpath2, unlink as unlink2 } from "node:fs/promises";
|
|
155
155
|
import { join as join2 } from "node:path";
|
|
156
156
|
|
|
157
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
157
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.616.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_8665abbf6fdc3acbe46baf279794bee0/node_modules/@wirecat/cli-core/dist/files/native-lease-owner.js
|
|
158
158
|
import { hostname } from "node:os";
|
|
159
159
|
var missingLeaseFile = /* @__PURE__ */ __name((error) => typeof error === "object" && error !== null && "code" in error && error.code === "ENOENT", "missingLeaseFile");
|
|
160
160
|
var readLeaseOwner = /* @__PURE__ */ __name(async (path, name, signal) => {
|
|
@@ -199,7 +199,7 @@ var leaseOwnerStatus = /* @__PURE__ */ __name((owner) => {
|
|
|
199
199
|
}
|
|
200
200
|
}, "leaseOwnerStatus");
|
|
201
201
|
|
|
202
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
202
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.616.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_8665abbf6fdc3acbe46baf279794bee0/node_modules/@wirecat/cli-core/dist/files/native-lease-inspection.js
|
|
203
203
|
var leaseInspection = /* @__PURE__ */ __name((markerDirectory) => {
|
|
204
204
|
const inspect = /* @__PURE__ */ __name(async (destination, options = {}) => {
|
|
205
205
|
options.signal?.throwIfAborted();
|
|
@@ -258,7 +258,7 @@ var leaseInspection = /* @__PURE__ */ __name((markerDirectory) => {
|
|
|
258
258
|
return { inspect, recover };
|
|
259
259
|
}, "leaseInspection");
|
|
260
260
|
|
|
261
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
261
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.616.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_8665abbf6fdc3acbe46baf279794bee0/node_modules/@wirecat/cli-core/dist/files/native-lease-release.js
|
|
262
262
|
import { rmdir, unlink as unlink3 } from "node:fs/promises";
|
|
263
263
|
var ownedNativeLease = /* @__PURE__ */ __name((path, name, owner, folder, identity) => {
|
|
264
264
|
let releasing;
|
|
@@ -283,7 +283,7 @@ var ownedNativeLease = /* @__PURE__ */ __name((path, name, owner, folder, identi
|
|
|
283
283
|
};
|
|
284
284
|
}, "ownedNativeLease");
|
|
285
285
|
|
|
286
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
286
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.616.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_8665abbf6fdc3acbe46baf279794bee0/node_modules/@wirecat/cli-core/dist/files/native-writer-lease.js
|
|
287
287
|
var validName = /* @__PURE__ */ __name((value) => typeof value === "string" && value.length > 0 && value !== "." && value !== ".." && !/[\\/\0:]/.test(value), "validName");
|
|
288
288
|
var nativeWriterLeaseStore = /* @__PURE__ */ __name((layout) => {
|
|
289
289
|
const { markerDirectory, legacyMarker } = layout;
|
|
@@ -354,7 +354,7 @@ var nativeWriterLeaseStore = /* @__PURE__ */ __name((layout) => {
|
|
|
354
354
|
};
|
|
355
355
|
}, "nativeWriterLeaseStore");
|
|
356
356
|
|
|
357
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
357
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.616.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_8665abbf6fdc3acbe46baf279794bee0/node_modules/@wirecat/cli-core/dist/files/lock.js
|
|
358
358
|
var acquireLock = /* @__PURE__ */ __name(async (path, { signal } = {}) => {
|
|
359
359
|
const folder = dirname2(path);
|
|
360
360
|
await mkdir2(folder, { recursive: true, mode: 448 });
|
|
@@ -369,7 +369,7 @@ var acquireLock = /* @__PURE__ */ __name(async (path, { signal } = {}) => {
|
|
|
369
369
|
});
|
|
370
370
|
}, "acquireLock");
|
|
371
371
|
|
|
372
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
372
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.616.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_8665abbf6fdc3acbe46baf279794bee0/node_modules/@wirecat/cli-core/dist/files/safe-name.js
|
|
373
373
|
import { basename as basename3 } from "node:path";
|
|
374
374
|
var safeName = /* @__PURE__ */ __name((name, platform = process.platform) => {
|
|
375
375
|
let plain = name === void 0 ? "" : basename3(name.replaceAll("\\", "/")).replace(/[\p{Cc}---]/gu, "").replace(/^\.+/, "");
|