@wirecat/tg-cli 0.123.0 → 0.125.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/contracts/wirecat.json +54 -5
- package/dist/bin/tg.js +2 -2
- package/dist/bundle/{adapter-GAOG65O2.js → adapter-H2LTOLOA.js} +54 -53
- package/dist/bundle/{all-profiles-HLE6PHNI.js → all-profiles-75HGEFL7.js} +10 -10
- package/dist/bundle/{anthropic-FZC4BS7T.js → anthropic-N54MKE4C.js} +17 -10
- package/dist/bundle/{app-server-SHZNMV27.js → app-server-3N5INKKI.js} +62 -52
- package/dist/bundle/{bot-api-LRS2KMDE.js → bot-api-V65KTEAH.js} +53 -52
- package/dist/bundle/{bot-history-IJ7ZZKW5.js → bot-history-TT2EAHEE.js} +18 -18
- package/dist/bundle/{bun-FACL53HM.js → bun-LN4J7PA7.js} +2 -2
- package/dist/bundle/{bun-sqlite-B2MD7RTL.js → bun-sqlite-6PDBFBUI.js} +6 -6
- package/dist/bundle/{chunk-BGUYYKS3.js → chunk-37SZHAEA.js} +343 -112
- package/dist/bundle/{chunk-UB6J5HRW.js → chunk-3GILMKQ2.js} +3 -3
- package/dist/bundle/{chunk-WSLTW6MI.js → chunk-4KIOWSDL.js} +3 -3
- package/dist/bundle/{chunk-VVRWH5VH.js → chunk-4TCBRKWQ.js} +14 -9
- package/dist/bundle/{chunk-MFN5MSIL.js → chunk-6HLB73UN.js} +3 -3
- package/dist/bundle/{chunk-DEMGDKCX.js → chunk-6Y6SSZ34.js} +2406 -2371
- package/dist/bundle/{chunk-Z5HHBTS5.js → chunk-77Z3OGAT.js} +23 -4
- package/dist/bundle/{chunk-VUBZFMGP.js → chunk-7KCBPAQS.js} +2 -2
- package/dist/bundle/{chunk-ZJPXRW65.js → chunk-7OBSIDBJ.js} +4 -4
- package/dist/bundle/{chunk-OOWE2O5U.js → chunk-AI2J3WJT.js} +1 -1
- package/dist/bundle/{chunk-EABZ2CUG.js → chunk-AMPHPP4P.js} +34 -29
- package/dist/bundle/{chunk-STPYSD6W.js → chunk-B252D7V4.js} +3 -3
- package/dist/bundle/{chunk-V4722KYX.js → chunk-BLNMM3AX.js} +2 -2
- package/dist/bundle/{chunk-SWGGYBCW.js → chunk-CNEJQQMD.js} +40 -21
- package/dist/bundle/{chunk-4DCFLHLN.js → chunk-DI3RJ3MJ.js} +4 -4
- package/dist/bundle/{chunk-7EFJHLKW.js → chunk-DNCOELTM.js} +1 -1
- package/dist/bundle/chunk-DYOZ7CUV.js +71 -0
- package/dist/bundle/{chunk-E2Z4C6CQ.js → chunk-E4HDE5DN.js} +6 -6
- package/dist/bundle/chunk-EIGV2JKX.js +13 -0
- package/dist/bundle/{chunk-6KT5BTWL.js → chunk-FHPEUAHQ.js} +367 -184
- package/dist/bundle/{chunk-MCPOZNWG.js → chunk-FIVFP53N.js} +1 -1
- package/dist/bundle/{chunk-SNEJK4SN.js → chunk-FSP74THJ.js} +4 -4
- package/dist/bundle/{chunk-PAHSIORC.js → chunk-FUYCAROL.js} +6 -6
- package/dist/bundle/{chunk-WA7YED3Y.js → chunk-GRDVBJCR.js} +1 -1
- package/dist/bundle/{chunk-OE5JMZSM.js → chunk-GUPMDMFM.js} +9 -9
- package/dist/bundle/{chunk-6FK2Z75N.js → chunk-HHG5FR5H.js} +2 -2
- package/dist/bundle/{chunk-U5FILNK6.js → chunk-IN3NAFUN.js} +69 -6
- package/dist/bundle/{chunk-3BUQXB7B.js → chunk-INZAZMUF.js} +15 -117
- package/dist/bundle/{chunk-4W4EVVL4.js → chunk-IX3GUNGV.js} +4 -4
- package/dist/bundle/{chunk-SCGCDLI7.js → chunk-JB4BO5XZ.js} +1 -1
- package/dist/bundle/{chunk-XDL4L3OI.js → chunk-JC6HMPL7.js} +14229 -12041
- package/dist/bundle/chunk-JCNKGZQG.js +1068 -0
- package/dist/bundle/{chunk-PZQ2MQFX.js → chunk-JKF7LZBU.js} +6 -6
- package/dist/bundle/{chunk-5R5HGV2J.js → chunk-LD42OGKK.js} +4 -4
- package/dist/bundle/{chunk-3P7HWXDJ.js → chunk-LU2CHHPC.js} +14 -5
- package/dist/bundle/{chunk-RX5CJ55S.js → chunk-M4OP5ASJ.js} +1 -1
- package/dist/bundle/{chunk-3JISIGLP.js → chunk-MK4IKICN.js} +2 -2
- package/dist/bundle/{chunk-3S6KZCZ7.js → chunk-NM5GBJME.js} +57 -28
- package/dist/bundle/{chunk-KKMNMQMW.js → chunk-NTHALPDT.js} +2 -2
- package/dist/bundle/{chunk-B6G3TNN4.js → chunk-OG2ONSH6.js} +156 -43
- package/dist/bundle/{chunk-EOUUI5FI.js → chunk-PCC7GWOS.js} +4 -4
- package/dist/bundle/{chunk-ADI5R2MM.js → chunk-QVK7NF3A.js} +51 -51
- package/dist/bundle/{chunk-Q74XVJFT.js → chunk-QYT6HDCL.js} +1 -1
- package/dist/bundle/{chunk-EISV5YWD.js → chunk-RX5GU7GQ.js} +6994 -6232
- package/dist/bundle/{chunk-NYRAW4M5.js → chunk-RZ7KBWDQ.js} +4 -7
- package/dist/bundle/{chunk-V23X3W2W.js → chunk-S4SOS27T.js} +8 -8
- package/dist/bundle/{chunk-V4JEZFW5.js → chunk-SGHF75RQ.js} +2 -2
- package/dist/bundle/{chunk-T5OO7VDT.js → chunk-TAFH5K5D.js} +3900 -3425
- package/dist/bundle/{chunk-QLB3BFSN.js → chunk-TVQBOIWC.js} +1 -1
- package/dist/bundle/{chunk-QLXKWAET.js → chunk-UG66U2T7.js} +88 -21
- package/dist/bundle/{chunk-ZOBRYIUG.js → chunk-URFBZNLU.js} +2 -2
- package/dist/bundle/{chunk-ZQ3WGGKK.js → chunk-UTNK2PFE.js} +13 -13
- package/dist/bundle/{chunk-LVGX7VTD.js → chunk-VG3EQJYV.js} +34 -5
- package/dist/bundle/{chunk-FFHX7VKP.js → chunk-VHD4V64E.js} +1 -1
- package/dist/bundle/{chunk-BAB3ALHZ.js → chunk-VUBSGQ2O.js} +30 -26
- package/dist/bundle/{chunk-UBFDPLFQ.js → chunk-VZDAVZYX.js} +6 -6
- package/dist/bundle/{chunk-QVMAZVSN.js → chunk-WH4T44L3.js} +1 -1
- package/dist/bundle/{chunk-RDKPKS2P.js → chunk-X6436BYW.js} +2 -2
- package/dist/bundle/{chunk-SMFUKHG2.js → chunk-XS5C5TQ7.js} +24 -9
- package/dist/bundle/{chunk-ENEMZAIJ.js → chunk-XTNOBJRP.js} +14 -12
- package/dist/bundle/{chunk-HJLTWT52.js → chunk-YRZXOQOB.js} +2 -2
- package/dist/bundle/{chunk-5IHYZ6ED.js → chunk-ZX5OSZHH.js} +12 -12
- package/dist/bundle/command-contract-JP6SCP7U.js +34 -0
- package/dist/bundle/{command-server-entry-5LKDRLEX.js → command-server-entry-BLSFT3T6.js} +24 -22
- package/dist/bundle/{decode-L4DQDHXA.js → decode-NNLEQU7B.js} +5 -5
- package/dist/bundle/{dispatch-PQSCFHEX.js → dispatch-PRAIGIFS.js} +8 -8
- package/dist/bundle/{echarts-6LES2JIV.js → echarts-XAZHGDOM.js} +2 -2
- package/dist/bundle/{embed-T5MLKX75.js → embed-Q7ZCVSCO.js} +6 -6
- package/dist/bundle/{embedder-56NMRLC5.js → embedder-MVS3PVWQ.js} +9 -9
- package/dist/bundle/{entry-U5GV6Y46.js → entry-XN3ZZAOK.js} +9 -8
- package/dist/bundle/{failure-BX5HJAQE.js → failure-7Y34AUJT.js} +2 -2
- package/dist/bundle/{first-run-ISQ52V3I.js → first-run-G4EFTONI.js} +11 -11
- package/dist/bundle/first-screen-RIDJEPC3.js +32 -0
- package/dist/bundle/{instructions-CJEXDI7E.js → instructions-QDHYYZBU.js} +1 -1
- package/dist/bundle/{mcp-7KQUJNFN.js → mcp-TDKGDB4V.js} +2 -2
- package/dist/bundle/{node-QLWTGZW7.js → node-3Y7OVY2U.js} +2 -2
- package/dist/bundle/{node-sqlite-X2C3RR2Q.js → node-sqlite-R2SBROJM.js} +7 -7
- package/dist/bundle/{oauth-VP3KMHLX.js → oauth-WSPWMWTV.js} +7 -7
- package/dist/bundle/{open-GLR5EUZS.js → open-VFLF4HRQ.js} +5 -5
- package/dist/bundle/{openai-6CDCJ5LQ.js → openai-DFCKZZDV.js} +23 -18
- package/dist/bundle/{process-7FABZ3T2.js → process-VZKFAGNP.js} +1 -1
- package/dist/bundle/{program-KUIAHJDX.js → program-2LB3CUZX.js} +86 -67
- package/dist/bundle/{prompt-XPHIZMD2.js → prompt-RVLA2PEY.js} +5 -5
- package/dist/bundle/{proxy-transport-IIB7ZXIS.js → proxy-transport-DP7SIMIC.js} +5 -5
- package/dist/bundle/{recognize-FVFYI3XX.js → recognize-LEKNA3G5.js} +4 -4
- package/dist/bundle/{remote-3AMCG2P4.js → remote-WG5V2I2G.js} +9 -7
- package/dist/bundle/{rerank-XV4E25ML.js → rerank-ONAEQVJ6.js} +7 -7
- package/dist/bundle/{serve-NVSZA4UN.js → serve-BL2X6FZG.js} +14 -14
- package/dist/bundle/{server-MBMPHRJE.js → server-3LSC4BMK.js} +36 -35
- package/dist/bundle/server-7EYEEGJT.js +62 -0
- package/dist/bundle/sqlite-runtime-RQXPRH6C.js +19 -0
- package/dist/bundle/{state-JBMB2QUR.js → state-O7LRA526.js} +6 -6
- package/dist/bundle/store-7C4UAND2.js +276 -0
- package/dist/bundle/{store-T4SCYTY2.js → store-HMJUPK45.js} +15 -13
- package/dist/bundle/store-maintenance-command-I7PSA3SZ.js +52 -0
- package/dist/bundle/tg.js +13 -13
- package/dist/commands/account-removal.d.ts.map +1 -1
- package/dist/commands/account-removal.js +5 -3
- package/dist/commands/account-removal.js.map +1 -1
- package/dist/commands/session.d.ts.map +1 -1
- package/dist/commands/session.js +21 -3
- package/dist/commands/session.js.map +1 -1
- package/dist/paths.d.ts +6 -0
- package/dist/paths.d.ts.map +1 -1
- package/dist/paths.js +23 -2
- package/dist/paths.js.map +1 -1
- package/dist/program.d.ts +4 -1
- package/dist/program.d.ts.map +1 -1
- package/dist/program.js +5 -2
- package/dist/program.js.map +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +4 -4
- package/skills/tg-cli/SKILL.md +6 -2
- package/dist/bundle/chunk-I7K4OR5Q.js +0 -265
- package/dist/bundle/chunk-PZJXQMSZ.js +0 -27
- package/dist/bundle/command-contract-HWSWHMO4.js +0 -33
- package/dist/bundle/first-screen-7L4AMZDO.js +0 -31
- package/dist/bundle/server-MHVGYRQZ.js +0 -61
- package/dist/bundle/store-maintenance-command-F7WQMTMP.js +0 -49
- /package/dist/bundle/{chunk-YVNHQFLC.js → chunk-XWBPP2HX.js} +0 -0
package/dist/paths.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"paths.js","sourceRoot":"","sources":["../src/paths.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,WAAW,CAAA;
|
|
1
|
+
{"version":3,"file":"paths.js","sourceRoot":"","sources":["../src/paths.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAA;AAClC,OAAO,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,WAAW,CAAA;AACzC,OAAO,EAAE,UAAU,EAAc,kBAAkB,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAA;AAC5F,OAAO,EAAE,EAAE,EAAE,MAAM,UAAU,CAAA;AAE7B,MAAM,CAAC,MAAM,GAAG,GAAG,EAAE,CAAC,OAAO,CAAA;AAE7B,MAAM,CAAC,MAAM,QAAQ,GAAG,CAAC,GAAG,GAAsB,OAAO,CAAC,GAAG,EAAS,EAAE,CACtE,YAAY,CAAC,EAAE,OAAO,EAAE,EAAE,CAAC,OAAO,EAAE,MAAM,EAAE,EAAE,CAAC,SAAS,EAAE,GAAG,EAAE,CAAC,CAAA;AAElE,gGAAgG;AAChG,MAAM,CAAC,MAAM,QAAQ,GAAG,CAAC,GAAG,GAAsB,OAAO,CAAC,GAAG,EAAE,EAAE,CAC/D,kBAAkB,CAAC,EAA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EAAE,OAAO,EAAE,WAAW,KAAK,UAAU,CAAC,CAAA"}
|
package/dist/program.d.ts
CHANGED
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
import { type ProgramDefinition } from "@wirecat/cli-core/cli";
|
|
2
2
|
import type { Command } from "commander";
|
|
3
3
|
import { type Environment } from "./commands/context.js";
|
|
4
|
-
/**
|
|
4
|
+
/**
|
|
5
|
+
* A revoked or missing login, or a profile this computer never had (`profile.unknown`), fails the same on every retry;
|
|
6
|
+
* serve reports a locked keyring with another code.
|
|
7
|
+
*/
|
|
5
8
|
export declare const NO_RESTART_ON: number[];
|
|
6
9
|
/** Builds every later program with `bot api`; the tree walkers' entry (`whole-program.ts`) calls it first. */
|
|
7
10
|
export declare const useBotApi: (group: () => Command) => void;
|
package/dist/program.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"program.d.ts","sourceRoot":"","sources":["../src/program.ts"],"names":[],"mappings":"AAEA,OAAO,EAuBL,KAAK,iBAAiB,EAsBvB,MAAM,uBAAuB,CAAA;AAC9B,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,WAAW,CAAA;AAIxC,OAAO,EAAE,KAAK,WAAW,EAAmB,MAAM,uBAAuB,CAAA;AAOzE
|
|
1
|
+
{"version":3,"file":"program.d.ts","sourceRoot":"","sources":["../src/program.ts"],"names":[],"mappings":"AAEA,OAAO,EAuBL,KAAK,iBAAiB,EAsBvB,MAAM,uBAAuB,CAAA;AAC9B,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,WAAW,CAAA;AAIxC,OAAO,EAAE,KAAK,WAAW,EAAmB,MAAM,uBAAuB,CAAA;AAOzE;;;GAGG;AACH,eAAO,MAAM,aAAa,UAAkE,CAAA;AAK5F,8GAA8G;AAC9G,eAAO,MAAM,SAAS,UAAW,MAAM,OAAO,KAAG,IAEhD,CAAA;AAOD,eAAO,MAAM,UAAU,EAAE,iBA0HxB,CAAA;AAED,0FAA0F;AAC1F,eAAO,MAAM,GAAG,SAAgB,MAAM,EAAE,gBAAe,WAAW,KAAQ,OAAO,CAAC,MAAM,CAYvF,CAAA"}
|
package/dist/program.js
CHANGED
|
@@ -10,8 +10,11 @@ import { sessionCommand } from "./commands/session.js";
|
|
|
10
10
|
import { setupCommand } from "./commands/setup.js";
|
|
11
11
|
import { upgradeCommand } from "./commands/update.js";
|
|
12
12
|
import { updateNotice } from "./update.js";
|
|
13
|
-
/**
|
|
14
|
-
|
|
13
|
+
/**
|
|
14
|
+
* A revoked or missing login, or a profile this computer never had (`profile.unknown`), fails the same on every retry;
|
|
15
|
+
* serve reports a locked keyring with another code.
|
|
16
|
+
*/
|
|
17
|
+
export const NO_RESTART_ON = [exitCodeFor("authentication_error"), exitCodeFor("not_found")];
|
|
15
18
|
// The generated Bot API commands, about 1.5 MB of modules: only a command line that reaches them pays for them.
|
|
16
19
|
let botApi;
|
|
17
20
|
/** Builds every later program with `bot api`; the tree walkers' entry (`whole-program.ts`) calls it first. */
|
package/dist/program.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"program.js","sourceRoot":"","sources":["../src/program.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,UAAU,CAAA;AACxC,OAAO,EAAE,WAAW,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAA;AAC/D,OAAO,EACL,cAAc,EACd,kBAAkB,EAClB,UAAU,EACV,YAAY,EACZ,eAAe,EACf,eAAe,EACf,aAAa,EACb,eAAe,EACf,oBAAoB,EACpB,aAAa,EACb,YAAY,EACZ,YAAY,EACZ,aAAa,EACb,YAAY,EACZ,SAAS,EACT,cAAc,EACd,UAAU,EACV,eAAe,EACf,eAAe,EACf,eAAe,EACf,aAAa,EACb,sBAAsB,EAEtB,YAAY,EACZ,eAAe,EACf,gBAAgB,EAChB,iBAAiB,EACjB,cAAc,EACd,aAAa,EACb,GAAG,IAAI,MAAM,EACb,WAAW,EACX,eAAe,EACf,aAAa,EAC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AW,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,GAAG,EAAE,WAAW,CAAC,GAAG,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC;KACrD,CAAC,CAAA;IACF,MAAM,IAAI,GAAG,MAAM,MAAM,CAAC,IAAI,EAAE,UAAU,EAAE,WAAsC,CAAC,CAAA;IACnF,MAAM,IAAI,GAAG,MAAM,MAAM,CAAA;IACzB,IAAI,IAAI,IAAI,IAAI,KAAK,CAAC;QAAE,CAAC,WAAW,CAAC,OAAO,IAAI,cAAc,CAAC,CAAC,UAAU,CAAC,IAAI,CAAC,CAAA;IAChF,OAAO,IAAI,CAAA;AACb,CAAC,CAAA"}
|
package/dist/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "0.
|
|
1
|
+
export declare const VERSION = "0.125.0";
|
|
2
2
|
//# sourceMappingURL=version.d.ts.map
|
package/dist/version.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export const VERSION = "0.
|
|
1
|
+
export const VERSION = "0.125.0";
|
|
2
2
|
//# sourceMappingURL=version.js.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wirecat/tg-cli",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.125.0",
|
|
4
4
|
"description": "A local command line interface for a personal Telegram account, built for agents and scripts",
|
|
5
5
|
"mcpName": "dev.wirecat/tg-cli",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -72,8 +72,8 @@
|
|
|
72
72
|
},
|
|
73
73
|
"dependencies": {
|
|
74
74
|
"@mtcute/node": "0.32.7",
|
|
75
|
-
"@wirecat/cli-base": "0.
|
|
76
|
-
"@wirecat/cli-core": "0.
|
|
75
|
+
"@wirecat/cli-base": "0.99.0",
|
|
76
|
+
"@wirecat/cli-core": "0.650.0",
|
|
77
77
|
"commander": "15.0.0",
|
|
78
78
|
"undici": "8.12.3",
|
|
79
79
|
"valibot": "1.5.0"
|
|
@@ -87,7 +87,7 @@
|
|
|
87
87
|
"@types/node": "^22.20.5",
|
|
88
88
|
"@valibot/to-json-schema": "1.8.0",
|
|
89
89
|
"@vitest/coverage-v8": "5.0.5",
|
|
90
|
-
"@wirecat/cli-testing": "0.
|
|
90
|
+
"@wirecat/cli-testing": "0.7.0",
|
|
91
91
|
"cspell": "10.4.0",
|
|
92
92
|
"esbuild": "0.28.2",
|
|
93
93
|
"lefthook": "2.2.2",
|
package/skills/tg-cli/SKILL.md
CHANGED
|
@@ -185,7 +185,9 @@ summary; news digests remain separate future work. Permission: `messages.evidenc
|
|
|
185
185
|
the first result and its score do not establish an answer. Explicit syntax remains strict.
|
|
186
186
|
**Without `--discover`, `tg personal search messages` also asks Telegram's search** (`--backend both`; `archive`
|
|
187
187
|
for the archive only). Good search needs downloaded chats: if a search finds nothing and the answer has a `missing`
|
|
188
|
-
`coverage` entry,
|
|
188
|
+
`coverage` entry, first search Telegram too (the same query with `--backend server`, the `search.server` step):
|
|
189
|
+
the local copy may not reach back that far, and Telegram's search does. Then run its `messages.sync` step
|
|
190
|
+
(`tg personal messages sync --all --background`) or ask the owner before saying the message does not exist.
|
|
189
191
|
Words and quoted phrases include word forms;
|
|
190
192
|
use `exact:` or `--exact` for exact forms. Explicit `text:` still matches forms. The default is strict Lucene:
|
|
191
193
|
phrases, AND/OR/NOT, field groups and date ranges. `alpha OR beta gamma` = `(alpha OR beta) AND gamma`.
|
|
@@ -265,7 +267,9 @@ summary; news digests remain separate future work. Permission: `messages.evidenc
|
|
|
265
267
|
|
|
266
268
|
Choose a path from the user's task rather than reading recent messages by default:
|
|
267
269
|
|
|
268
|
-
- **Find an agreement or document:** find the relevant chat IDs, then search the local archive
|
|
270
|
+
- **Find an agreement or document:** find the relevant chat IDs, then `search messages` in them: the local archive
|
|
271
|
+
and Telegram's search together. Keep to `--backend archive` only when the owner asked that nothing leaves the
|
|
272
|
+
machine.
|
|
269
273
|
Inspect search coverage and `store status`; `messages list` alone is only a recent window.
|
|
270
274
|
Follow promising hits with `messages context` or `messages show` and cite their locators.
|
|
271
275
|
Check related chats for a later correction. Empty hits, an empty chat and `page.has_more: false`
|
|
@@ -1,265 +0,0 @@
|
|
|
1
|
-
import { createRequire as __bundleRequire } from "node:module";
|
|
2
|
-
const require = __bundleRequire(import.meta.url);
|
|
3
|
-
import {
|
|
4
|
-
openSqlite
|
|
5
|
-
} from "./chunk-XDL4L3OI.js";
|
|
6
|
-
import {
|
|
7
|
-
__name
|
|
8
|
-
} from "./chunk-ZVVMGPBJ.js";
|
|
9
|
-
|
|
10
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.633.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.93.0_commander@15._d745f308dd36458ab3f46a9ad7a22686/node_modules/@wirecat/cli-core/dist/store/damage.js
|
|
11
|
-
var DERIVED = /* @__PURE__ */ new Set(["mentions", "involvements", "embeddings"]);
|
|
12
|
-
var named = /* @__PURE__ */ __name((tables) => tables.length <= 5 ? tables.join(", ") : `${tables.slice(0, 5).join(", ")} and ${tables.length - 5} more`, "named");
|
|
13
|
-
var isDerivedTable = /* @__PURE__ */ __name((table, searchIndexes) => DERIVED.has(table) || table.startsWith("vector_index_") || searchIndexes.some((index) => table === index || table.startsWith(`${index}_`)), "isDerivedTable");
|
|
14
|
-
var WIRECAT_UNITS = ["memo-*", "mail-*", "tg-*", "max-*", "wirecat-*"];
|
|
15
|
-
var seen = /* @__PURE__ */ __name((mark) => `\`${mark.command}\` found the store damaged at ${mark.at} (${mark.error})`, "seen");
|
|
16
|
-
var journalSeen = /* @__PURE__ */ __name((store, { seen: seen2, command, at }) => {
|
|
17
|
-
const wal = `${store.replace(/^.*\//, "")}-wal`;
|
|
18
|
-
return seen2 === "shm-without-wal" ? `the store's journal file (${wal}) was missing when \`${command}\` opened the store at ${at}: another program deleted it, or a tool crashed while closing` : `the store's journal file (${wal}) was deleted or replaced by another program while \`${command}\` had the store open (${at})`;
|
|
19
|
-
}, "journalSeen");
|
|
20
|
-
var lossUnknown = /* @__PURE__ */ __name((lastOkAt, gone = false) => {
|
|
21
|
-
const since = lastOkAt ? `since the last deep check that passed (${lastOkAt})` : "since the store was made (no deep check that passed is on record)";
|
|
22
|
-
return `${gone ? "more rows may be gone" : "how many rows were lost is unknown"}: damage can take rows written ${since} without leaving a trace; a sync fetches again what the servers still hold`;
|
|
23
|
-
}, "lossUnknown");
|
|
24
|
-
var stopWriters = /* @__PURE__ */ __name((timers) => ({
|
|
25
|
-
command: timers?.length ? `systemctl --user stop ${timers.join(" ")}` : `systemctl --user stop ${WIRECAT_UNITS.map((unit) => `'${unit}'`).join(" ")}`,
|
|
26
|
-
why: "a tool that writes while the store is recovered damages the new file too",
|
|
27
|
-
destructive: false
|
|
28
|
-
}), "stopWriters");
|
|
29
|
-
var storeDamageReport = /* @__PURE__ */ __name(({ health, command, mark = null, journal = null, lastOkAt = null, holders = null, timers = null, sqlite3Usable = true }) => {
|
|
30
|
-
if (health.ok && !mark && !journal)
|
|
31
|
-
return null;
|
|
32
|
-
const indexNames = (health.searchIndexes ?? []).map((index) => index.name);
|
|
33
|
-
const badIndexes = (health.searchIndexes ?? []).filter((index) => !index.ok).map((index) => index.name);
|
|
34
|
-
const tables = (health.damagedTables ?? []).map((one) => one.table).filter((table) => table !== null);
|
|
35
|
-
const sources = tables.filter((table) => !isDerivedTable(table, indexNames));
|
|
36
|
-
const derived = [.../* @__PURE__ */ new Set([...tables.filter((table) => isDerivedTable(table, indexNames)), ...badIndexes])];
|
|
37
|
-
const unopened = health.error !== void 0;
|
|
38
|
-
const json = (health.invalidJson ?? []).map(({ table, column }) => `${table}.${column}`);
|
|
39
|
-
const damaged = !health.ok || mark !== null;
|
|
40
|
-
const folder = health.path.replace(/\/[^/]*$/, "");
|
|
41
|
-
const checked = !damaged ? `every page of the store reads, but ${journalSeen(health.path, journal)}; what was written into it may be lost` : health.ok ? `${seen(mark)}; the quick check reads too little to see it, and a deep check that passes clears it` : unopened ? `the store file cannot be opened: ${health.error}` : health.checked === "quick" ? "the store file's header or schema is damaged" : `the store file is damaged: ${health.problems ?? 0} problems` + (sources.length ? ` in the data of ${named(sources)}` : "") + (derived.length ? `${sources.length ? ", and" : " in"} the search data of ${named(derived)}` : "") + (json.length ? `; values that are not valid JSON in ${named(json)}` : "");
|
|
42
|
-
const whatHappened = mark && !health.ok ? `${checked}; ${seen(mark)}` : checked;
|
|
43
|
-
const impact = [
|
|
44
|
-
...sources.length ? [`some rows of ${named(sources)} cannot be read; a recovery keeps every row it can read and names the rest`] : [],
|
|
45
|
-
...derived.length ? [`searches may miss results or fail; ${named(derived)} hold nothing that is not elsewhere, and are rebuilt`] : [],
|
|
46
|
-
...json.length ? [`a read of a row with a broken JSON value fails ("malformed JSON"); a recovery clears those values`] : [],
|
|
47
|
-
...!damaged ? ["everything works; rows written while the journal was gone may be missing, and a sync fetches them again"] : mark ? [
|
|
48
|
-
"reads that do not touch a damaged page work; every command that writes the store refuses until it is recovered"
|
|
49
|
-
] : ["reads that do not touch a damaged page work; a write that touches one fails until the store is recovered"]
|
|
50
|
-
];
|
|
51
|
-
const likelyCauses = [
|
|
52
|
-
...journal ? [{ cause: journalSeen(health.path, journal), check: `ls -li --time-style=full-iso ${folder}/` }] : [],
|
|
53
|
-
...holders?.length ? [
|
|
54
|
-
{
|
|
55
|
-
cause: `two programs wrote the file without seeing each other: ${holders.map(({ name, pid }) => `${name} (process ${pid})`).join(", ")} still ${holders.length === 1 ? "has" : "have"} it open`,
|
|
56
|
-
check: `fuser -v ${health.path}`
|
|
57
|
-
}
|
|
58
|
-
] : [],
|
|
59
|
-
...damaged ? [
|
|
60
|
-
{
|
|
61
|
-
cause: "the computer lost power or crashed while a tool was writing",
|
|
62
|
-
check: `journalctl --user ${WIRECAT_UNITS.map((unit) => `-u '${unit}'`).join(" ")} --since -14d | grep -i -e malformed -e corrupt -e 'disk full'`
|
|
63
|
-
},
|
|
64
|
-
{ cause: "the disk filled up while a tool was writing", check: `df -h ${folder}` },
|
|
65
|
-
{
|
|
66
|
-
cause: "the file was copied, restored or synced while a tool had it open, or it sits in a synced or network folder",
|
|
67
|
-
check: `findmnt -T ${folder}`
|
|
68
|
-
},
|
|
69
|
-
{
|
|
70
|
-
cause: "a fault of the disk itself",
|
|
71
|
-
check: "journalctl -k --since -14d | grep -i -e 'I/O error' -e nvme -e ata"
|
|
72
|
-
}
|
|
73
|
-
] : []
|
|
74
|
-
];
|
|
75
|
-
const steps = [
|
|
76
|
-
stopWriters(timers),
|
|
77
|
-
...(holders ?? []).map(({ pid, name }) => ({
|
|
78
|
-
command: `kill ${pid}`,
|
|
79
|
-
why: `${name} (process ${pid}) has the store open`,
|
|
80
|
-
destructive: true
|
|
81
|
-
})),
|
|
82
|
-
...damaged && !sqlite3Usable ? [
|
|
83
|
-
{
|
|
84
|
-
command: "sudo apt install sqlite3",
|
|
85
|
-
why: "the recovery copies rows with the sqlite3 program, 3.43 or newer (on macOS: brew install sqlite)",
|
|
86
|
-
destructive: false
|
|
87
|
-
}
|
|
88
|
-
] : [],
|
|
89
|
-
...damaged ? [
|
|
90
|
-
{
|
|
91
|
-
command: `${command} store recover run`,
|
|
92
|
-
why: "copies every readable row into a new file and puts it in place of the store; the damaged file is kept beside it, and it prints the syncs that fetch again what was lost",
|
|
93
|
-
destructive: true
|
|
94
|
-
}
|
|
95
|
-
] : [],
|
|
96
|
-
{
|
|
97
|
-
command: `${command} store recover`,
|
|
98
|
-
why: "checks every page again; a check that passes lifts the damage mark",
|
|
99
|
-
destructive: false
|
|
100
|
-
}
|
|
101
|
-
];
|
|
102
|
-
return {
|
|
103
|
-
whatHappened,
|
|
104
|
-
likelyCauses,
|
|
105
|
-
impact,
|
|
106
|
-
externalDataSafe: "only this computer's copy is damaged: Telegram, MAX, WhatsApp, the mail servers and Google Drive keep their own data, so whatever is lost here can be fetched again by a sync",
|
|
107
|
-
lastOkAt,
|
|
108
|
-
loss: lossUnknown(lastOkAt),
|
|
109
|
-
steps
|
|
110
|
-
};
|
|
111
|
-
}, "storeDamageReport");
|
|
112
|
-
|
|
113
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.633.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.93.0_commander@15._d745f308dd36458ab3f46a9ad7a22686/node_modules/@wirecat/cli-core/dist/store/health.js
|
|
114
|
-
import { existsSync, statSync } from "node:fs";
|
|
115
|
-
var JSON_COLUMNS = {
|
|
116
|
-
accounts: ["settings"],
|
|
117
|
-
account_identities: ["mail_signals"],
|
|
118
|
-
bot_updates: ["payload"],
|
|
119
|
-
documents: ["front_matter"],
|
|
120
|
-
emails: ["headers"],
|
|
121
|
-
meeting_participants: ["sessions"],
|
|
122
|
-
messages: ["mentions", "reply_to"],
|
|
123
|
-
proposed_actions: ["payload", "result"],
|
|
124
|
-
searches: ["params"],
|
|
125
|
-
tag_consolidations: ["source_member_ids", "survivor_member_ids"],
|
|
126
|
-
task_events: ["changes"]
|
|
127
|
-
};
|
|
128
|
-
var jsonColumns = /* @__PURE__ */ __name((database) => database.prepare(`SELECT m.name AS "table", c.name AS "column", c."notnull" AS required FROM sqlite_master m, pragma_table_info(m.name) c
|
|
129
|
-
WHERE m.type = 'table' AND m.sql NOT LIKE 'CREATE VIRTUAL%' ORDER BY 1, 2`).all().map((row) => ({ table: String(row.table), column: String(row.column), required: Number(row.required) === 1 })).filter(({ table, column }) => column === "metadata" || JSON_COLUMNS[table]?.includes(column)), "jsonColumns");
|
|
130
|
-
var invalidJson = /* @__PURE__ */ __name((database) => jsonColumns(database).map((one) => ({
|
|
131
|
-
...one,
|
|
132
|
-
rows: Number(database.prepare(`SELECT count(*) AS n FROM "${one.table}" WHERE "${one.column}" IS NOT NULL AND NOT json_valid("${one.column}")`).get()?.n)
|
|
133
|
-
})).filter(({ rows }) => rows > 0), "invalidJson");
|
|
134
|
-
var QUICK_CHECK_LIMIT = 1e4;
|
|
135
|
-
var QUICK_HEALTH_CHECKS = "the file header, its size against its page count, and the schema's own pages";
|
|
136
|
-
var FTS5 = /^\s*CREATE\s+VIRTUAL\s+TABLE\s+\S+\s+USING\s+fts5\s*\(/i;
|
|
137
|
-
var fts5Tables = /* @__PURE__ */ __name((database) => database.prepare("SELECT name, sql FROM sqlite_master WHERE type = 'table' AND sql LIKE 'CREATE VIRTUAL TABLE%' ORDER BY name").all().filter((row) => FTS5.test(String(row.sql))).map((row) => {
|
|
138
|
-
const sql = String(row.sql);
|
|
139
|
-
return { name: String(row.name), sql, external: /content\s*=\s*'[^']+'/i.test(sql) };
|
|
140
|
-
}), "fts5Tables");
|
|
141
|
-
var messageOf = /* @__PURE__ */ __name((error) => error instanceof Error ? error.message : String(error), "messageOf");
|
|
142
|
-
var bytesOf = /* @__PURE__ */ __name((path) => statSync(path, { throwIfNoEntry: false })?.size ?? 0, "bytesOf");
|
|
143
|
-
var damagedTables = /* @__PURE__ */ __name((database, lines) => {
|
|
144
|
-
const roots = new Map(database.prepare("SELECT rootpage, tbl_name FROM sqlite_master WHERE rootpage > 0").all().map((row) => [Number(row.rootpage), String(row.tbl_name)]));
|
|
145
|
-
const owners = new Map(database.prepare("SELECT name, tbl_name FROM sqlite_master WHERE type = 'index'").all().map((row) => [String(row.name), String(row.tbl_name)]));
|
|
146
|
-
const virtual = database.prepare("SELECT name FROM sqlite_master WHERE type = 'table' AND sql LIKE 'CREATE VIRTUAL TABLE%'").all().map((row) => String(row.name));
|
|
147
|
-
const ownerOf = /* @__PURE__ */ __name((table) => table === null ? null : virtual.find((name) => table.startsWith(`${name}_`)) ?? table, "ownerOf");
|
|
148
|
-
const tables = /* @__PURE__ */ new Map();
|
|
149
|
-
for (const raw of lines) {
|
|
150
|
-
const line = raw.replace(/^\*\*\* in database \w+ \*\*\*\s*/, "");
|
|
151
|
-
const tree = /^Tree (\d+) /.exec(line);
|
|
152
|
-
const column = /value in (\w+)\.\w+/.exec(line) ?? /^table (\w+): /.exec(line);
|
|
153
|
-
const index = /index (\w+)/.exec(line)?.[1];
|
|
154
|
-
const table = ownerOf(tree ? roots.get(Number(tree[1])) ?? null : column ? column[1] ?? null : index ? owners.get(index) ?? null : null);
|
|
155
|
-
const known = tables.get(table);
|
|
156
|
-
if (known)
|
|
157
|
-
known.problems += 1;
|
|
158
|
-
else
|
|
159
|
-
tables.set(table, { table, problems: 1, sample: line.slice(0, 200) });
|
|
160
|
-
}
|
|
161
|
-
return [...tables.values()].sort((a, b) => b.problems - a.problems);
|
|
162
|
-
}, "damagedTables");
|
|
163
|
-
var searchIndexHealth = /* @__PURE__ */ __name((database) => fts5Tables(database).map(({ name }) => {
|
|
164
|
-
try {
|
|
165
|
-
database.exec("BEGIN");
|
|
166
|
-
try {
|
|
167
|
-
database.exec(`INSERT INTO "${name}" ("${name}", rank) VALUES ('integrity-check', 0)`);
|
|
168
|
-
} finally {
|
|
169
|
-
database.exec("ROLLBACK");
|
|
170
|
-
}
|
|
171
|
-
return { name, ok: true };
|
|
172
|
-
} catch (error) {
|
|
173
|
-
return { name, ok: false, error: messageOf(error) };
|
|
174
|
-
}
|
|
175
|
-
}), "searchIndexHealth");
|
|
176
|
-
var pragmaLines = /* @__PURE__ */ __name((database, sql) => database.prepare(sql).all().flatMap((row) => String(Object.values(row)[0]).split("\n")), "pragmaLines");
|
|
177
|
-
var checkLines = /* @__PURE__ */ __name((database) => {
|
|
178
|
-
try {
|
|
179
|
-
return pragmaLines(database, `PRAGMA quick_check(${QUICK_CHECK_LIMIT})`);
|
|
180
|
-
} catch {
|
|
181
|
-
const tables = database.prepare("SELECT name FROM sqlite_master WHERE type = 'table' AND rootpage > 0 ORDER BY name").all().map((row) => String(row.name));
|
|
182
|
-
return tables.flatMap((table) => {
|
|
183
|
-
try {
|
|
184
|
-
return pragmaLines(database, `PRAGMA quick_check("${table}")`).filter((line) => line !== "ok");
|
|
185
|
-
} catch (error) {
|
|
186
|
-
return [`table ${table}: ${messageOf(error)}`];
|
|
187
|
-
}
|
|
188
|
-
});
|
|
189
|
-
}
|
|
190
|
-
}, "checkLines");
|
|
191
|
-
var quickHealth = /* @__PURE__ */ __name((database, path) => {
|
|
192
|
-
const pragma = /* @__PURE__ */ __name((name) => Number(Object.values(database.prepare(`PRAGMA ${name}`).get() ?? {})[0] ?? 0), "pragma");
|
|
193
|
-
const file = {
|
|
194
|
-
bytes: bytesOf(path),
|
|
195
|
-
pages: pragma("page_count"),
|
|
196
|
-
pageSize: pragma("page_size"),
|
|
197
|
-
freePages: pragma("freelist_count")
|
|
198
|
-
};
|
|
199
|
-
const schema = database.prepare("PRAGMA quick_check('sqlite_schema')").all().map((row) => String(Object.values(row)[0]));
|
|
200
|
-
const walFrames = existsSync(`${path}-wal`) && bytesOf(`${path}-wal`) > 0;
|
|
201
|
-
const sized = walFrames || file.bytes === file.pages * file.pageSize;
|
|
202
|
-
const problems = [
|
|
203
|
-
...schema.length === 1 && schema[0] === "ok" ? [] : schema,
|
|
204
|
-
...sized ? [] : [`the file holds ${file.bytes} bytes, its header says ${file.pages * file.pageSize}`]
|
|
205
|
-
];
|
|
206
|
-
return { file, problems };
|
|
207
|
-
}, "quickHealth");
|
|
208
|
-
var storeHealth = /* @__PURE__ */ __name(async (path, { deep = false } = {}) => {
|
|
209
|
-
const started = Date.now();
|
|
210
|
-
const checked = deep ? "deep" : "quick";
|
|
211
|
-
const done = /* @__PURE__ */ __name((health) => ({
|
|
212
|
-
path,
|
|
213
|
-
checked,
|
|
214
|
-
...health,
|
|
215
|
-
ms: Date.now() - started
|
|
216
|
-
}), "done");
|
|
217
|
-
let database;
|
|
218
|
-
try {
|
|
219
|
-
database = (await openSqlite(path, { readOnly: !deep })).database;
|
|
220
|
-
} catch (error) {
|
|
221
|
-
return done({ ok: false, error: messageOf(error) });
|
|
222
|
-
}
|
|
223
|
-
try {
|
|
224
|
-
const { file, problems } = quickHealth(database, path);
|
|
225
|
-
if (!deep) {
|
|
226
|
-
return done({
|
|
227
|
-
ok: problems.length === 0,
|
|
228
|
-
file,
|
|
229
|
-
...problems.length ? {
|
|
230
|
-
problems: problems.length,
|
|
231
|
-
damagedTables: [{ table: null, problems: problems.length, sample: problems[0] }]
|
|
232
|
-
} : {}
|
|
233
|
-
});
|
|
234
|
-
}
|
|
235
|
-
database.exec("PRAGMA busy_timeout = 30000");
|
|
236
|
-
const lines = checkLines(database);
|
|
237
|
-
const pagesOk = lines.length === 1 && lines[0] === "ok";
|
|
238
|
-
const indexes = searchIndexHealth(database);
|
|
239
|
-
const json = pagesOk ? invalidJson(database) : [];
|
|
240
|
-
return done({
|
|
241
|
-
ok: pagesOk && problems.length === 0 && indexes.every((index) => index.ok) && json.length === 0,
|
|
242
|
-
file,
|
|
243
|
-
problems: pagesOk ? 0 : lines.length,
|
|
244
|
-
damagedTables: pagesOk ? [] : damagedTables(database, lines),
|
|
245
|
-
searchIndexes: indexes,
|
|
246
|
-
invalidJson: json
|
|
247
|
-
});
|
|
248
|
-
} catch (error) {
|
|
249
|
-
return done({ ok: false, error: messageOf(error) });
|
|
250
|
-
} finally {
|
|
251
|
-
database.close();
|
|
252
|
-
}
|
|
253
|
-
}, "storeHealth");
|
|
254
|
-
|
|
255
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.633.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.93.0_commander@15._d745f308dd36458ab3f46a9ad7a22686/node_modules/@wirecat/cli-core/dist/store/sqlite/document-transfer/snapshot.js
|
|
256
|
-
var MAX_BYTES = 16 * 1024 * 1024;
|
|
257
|
-
|
|
258
|
-
export {
|
|
259
|
-
lossUnknown,
|
|
260
|
-
storeDamageReport,
|
|
261
|
-
invalidJson,
|
|
262
|
-
QUICK_HEALTH_CHECKS,
|
|
263
|
-
fts5Tables,
|
|
264
|
-
storeHealth
|
|
265
|
-
};
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { createRequire as __bundleRequire } from "node:module";
|
|
2
|
-
const require = __bundleRequire(import.meta.url);
|
|
3
|
-
import {
|
|
4
|
-
CliError
|
|
5
|
-
} from "./chunk-VUBZFMGP.js";
|
|
6
|
-
import {
|
|
7
|
-
__name
|
|
8
|
-
} from "./chunk-ZVVMGPBJ.js";
|
|
9
|
-
|
|
10
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.633.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.93.0_commander@15._d745f308dd36458ab3f46a9ad7a22686/node_modules/@wirecat/cli-core/dist/ports/app.js
|
|
11
|
-
var envName = /* @__PURE__ */ __name((app, name) => `${app.envPrefix}_${name}`, "envName");
|
|
12
|
-
var readOnlyLockOf = /* @__PURE__ */ __name((app, env) => {
|
|
13
|
-
const name = envName(app, "READ_ONLY");
|
|
14
|
-
const value = env[name];
|
|
15
|
-
return value === void 0 || value.trim() === "" || value === "0" ? void 0 : name;
|
|
16
|
-
}, "readOnlyLockOf");
|
|
17
|
-
var mailHolderVariable = /* @__PURE__ */ __name((app) => envName(app, "MAIL_HOLDER"), "mailHolderVariable");
|
|
18
|
-
var MESSENGER_CHANGE_REFUSAL = "send, react, change chats or change the account";
|
|
19
|
-
var readOnlyRefusal = /* @__PURE__ */ __name((lock, what) => new CliError("permission_error", `this process is read-only (${lock}) \u2014 it cannot ${what}`), "readOnlyRefusal");
|
|
20
|
-
|
|
21
|
-
export {
|
|
22
|
-
envName,
|
|
23
|
-
readOnlyLockOf,
|
|
24
|
-
mailHolderVariable,
|
|
25
|
-
MESSENGER_CHANGE_REFUSAL,
|
|
26
|
-
readOnlyRefusal
|
|
27
|
-
};
|
|
@@ -1,33 +0,0 @@
|
|
|
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-ZJPXRW65.js";
|
|
10
|
-
import "./chunk-6KT5BTWL.js";
|
|
11
|
-
import "./chunk-UB6J5HRW.js";
|
|
12
|
-
import "./chunk-QLB3BFSN.js";
|
|
13
|
-
import "./chunk-VVRWH5VH.js";
|
|
14
|
-
import "./chunk-STPYSD6W.js";
|
|
15
|
-
import "./chunk-PZJXQMSZ.js";
|
|
16
|
-
import "./chunk-DEMGDKCX.js";
|
|
17
|
-
import "./chunk-Z5HHBTS5.js";
|
|
18
|
-
import "./chunk-PAHSIORC.js";
|
|
19
|
-
import "./chunk-EOUUI5FI.js";
|
|
20
|
-
import "./chunk-YVNHQFLC.js";
|
|
21
|
-
import "./chunk-KKMNMQMW.js";
|
|
22
|
-
import "./chunk-3S6KZCZ7.js";
|
|
23
|
-
import "./chunk-SMFUKHG2.js";
|
|
24
|
-
import "./chunk-Y5E2WNWB.js";
|
|
25
|
-
import "./chunk-VUBZFMGP.js";
|
|
26
|
-
import "./chunk-ZVVMGPBJ.js";
|
|
27
|
-
export {
|
|
28
|
-
SCHEMA_DIALECT,
|
|
29
|
-
commandContract,
|
|
30
|
-
commandPathOf,
|
|
31
|
-
findCommand,
|
|
32
|
-
outputOf
|
|
33
|
-
};
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import { createRequire as __bundleRequire } from "node:module";
|
|
2
|
-
const require = __bundleRequire(import.meta.url);
|
|
3
|
-
import {
|
|
4
|
-
WIRECAT_TOOLS,
|
|
5
|
-
firstScreen,
|
|
6
|
-
installHelp
|
|
7
|
-
} from "./chunk-3BUQXB7B.js";
|
|
8
|
-
import "./chunk-2ABQZVK4.js";
|
|
9
|
-
import "./chunk-ZJPXRW65.js";
|
|
10
|
-
import "./chunk-6KT5BTWL.js";
|
|
11
|
-
import "./chunk-UB6J5HRW.js";
|
|
12
|
-
import "./chunk-QLB3BFSN.js";
|
|
13
|
-
import "./chunk-VVRWH5VH.js";
|
|
14
|
-
import "./chunk-STPYSD6W.js";
|
|
15
|
-
import "./chunk-PZJXQMSZ.js";
|
|
16
|
-
import "./chunk-DEMGDKCX.js";
|
|
17
|
-
import "./chunk-Z5HHBTS5.js";
|
|
18
|
-
import "./chunk-PAHSIORC.js";
|
|
19
|
-
import "./chunk-EOUUI5FI.js";
|
|
20
|
-
import "./chunk-YVNHQFLC.js";
|
|
21
|
-
import "./chunk-KKMNMQMW.js";
|
|
22
|
-
import "./chunk-3S6KZCZ7.js";
|
|
23
|
-
import "./chunk-SMFUKHG2.js";
|
|
24
|
-
import "./chunk-Y5E2WNWB.js";
|
|
25
|
-
import "./chunk-VUBZFMGP.js";
|
|
26
|
-
import "./chunk-ZVVMGPBJ.js";
|
|
27
|
-
export {
|
|
28
|
-
WIRECAT_TOOLS,
|
|
29
|
-
firstScreen,
|
|
30
|
-
installHelp
|
|
31
|
-
};
|
|
@@ -1,61 +0,0 @@
|
|
|
1
|
-
import { createRequire as __bundleRequire } from "node:module";
|
|
2
|
-
const require = __bundleRequire(import.meta.url);
|
|
3
|
-
import {
|
|
4
|
-
PER_RUN,
|
|
5
|
-
createServer,
|
|
6
|
-
envelope,
|
|
7
|
-
serveOverHttpUntilStopped,
|
|
8
|
-
serveOverStdio
|
|
9
|
-
} from "./chunk-ADI5R2MM.js";
|
|
10
|
-
import "./chunk-B6G3TNN4.js";
|
|
11
|
-
import "./chunk-BAB3ALHZ.js";
|
|
12
|
-
import "./chunk-QLXKWAET.js";
|
|
13
|
-
import "./chunk-7EFJHLKW.js";
|
|
14
|
-
import "./chunk-SNEJK4SN.js";
|
|
15
|
-
import "./chunk-OOWE2O5U.js";
|
|
16
|
-
import "./chunk-3JISIGLP.js";
|
|
17
|
-
import "./chunk-5D4AEUVA.js";
|
|
18
|
-
import "./chunk-EABZ2CUG.js";
|
|
19
|
-
import "./chunk-T5OO7VDT.js";
|
|
20
|
-
import "./chunk-I7K4OR5Q.js";
|
|
21
|
-
import "./chunk-ZQ3WGGKK.js";
|
|
22
|
-
import "./chunk-MFN5MSIL.js";
|
|
23
|
-
import "./chunk-U5FILNK6.js";
|
|
24
|
-
import "./chunk-5R5HGV2J.js";
|
|
25
|
-
import "./chunk-MCPOZNWG.js";
|
|
26
|
-
import "./chunk-V4JEZFW5.js";
|
|
27
|
-
import "./chunk-XDL4L3OI.js";
|
|
28
|
-
import "./chunk-V23X3W2W.js";
|
|
29
|
-
import "./chunk-Q74XVJFT.js";
|
|
30
|
-
import "./chunk-3P7HWXDJ.js";
|
|
31
|
-
import "./chunk-PZQ2MQFX.js";
|
|
32
|
-
import "./chunk-RX5CJ55S.js";
|
|
33
|
-
import "./chunk-D72URWJE.js";
|
|
34
|
-
import "./chunk-QVMAZVSN.js";
|
|
35
|
-
import "./chunk-UBFDPLFQ.js";
|
|
36
|
-
import "./chunk-FFHX7VKP.js";
|
|
37
|
-
import "./chunk-ZJPXRW65.js";
|
|
38
|
-
import "./chunk-6KT5BTWL.js";
|
|
39
|
-
import "./chunk-UB6J5HRW.js";
|
|
40
|
-
import "./chunk-QLB3BFSN.js";
|
|
41
|
-
import "./chunk-VVRWH5VH.js";
|
|
42
|
-
import "./chunk-STPYSD6W.js";
|
|
43
|
-
import "./chunk-PZJXQMSZ.js";
|
|
44
|
-
import "./chunk-DEMGDKCX.js";
|
|
45
|
-
import "./chunk-Z5HHBTS5.js";
|
|
46
|
-
import "./chunk-PAHSIORC.js";
|
|
47
|
-
import "./chunk-EOUUI5FI.js";
|
|
48
|
-
import "./chunk-YVNHQFLC.js";
|
|
49
|
-
import "./chunk-KKMNMQMW.js";
|
|
50
|
-
import "./chunk-3S6KZCZ7.js";
|
|
51
|
-
import "./chunk-SMFUKHG2.js";
|
|
52
|
-
import "./chunk-Y5E2WNWB.js";
|
|
53
|
-
import "./chunk-VUBZFMGP.js";
|
|
54
|
-
import "./chunk-ZVVMGPBJ.js";
|
|
55
|
-
export {
|
|
56
|
-
PER_RUN,
|
|
57
|
-
createServer,
|
|
58
|
-
envelope,
|
|
59
|
-
serveOverHttpUntilStopped,
|
|
60
|
-
serveOverStdio
|
|
61
|
-
};
|
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
import { createRequire as __bundleRequire } from "node:module";
|
|
2
|
-
const require = __bundleRequire(import.meta.url);
|
|
3
|
-
import {
|
|
4
|
-
buildStems,
|
|
5
|
-
storeMaintenanceCommands,
|
|
6
|
-
storeSummary
|
|
7
|
-
} from "./chunk-BGUYYKS3.js";
|
|
8
|
-
import "./chunk-EABZ2CUG.js";
|
|
9
|
-
import "./chunk-T5OO7VDT.js";
|
|
10
|
-
import "./chunk-I7K4OR5Q.js";
|
|
11
|
-
import "./chunk-ZQ3WGGKK.js";
|
|
12
|
-
import "./chunk-MFN5MSIL.js";
|
|
13
|
-
import "./chunk-U5FILNK6.js";
|
|
14
|
-
import "./chunk-2ABQZVK4.js";
|
|
15
|
-
import "./chunk-5R5HGV2J.js";
|
|
16
|
-
import "./chunk-MCPOZNWG.js";
|
|
17
|
-
import "./chunk-WSLTW6MI.js";
|
|
18
|
-
import "./chunk-V4JEZFW5.js";
|
|
19
|
-
import "./chunk-XDL4L3OI.js";
|
|
20
|
-
import "./chunk-V23X3W2W.js";
|
|
21
|
-
import "./chunk-Q74XVJFT.js";
|
|
22
|
-
import "./chunk-3P7HWXDJ.js";
|
|
23
|
-
import "./chunk-PZQ2MQFX.js";
|
|
24
|
-
import "./chunk-RX5CJ55S.js";
|
|
25
|
-
import "./chunk-D72URWJE.js";
|
|
26
|
-
import "./chunk-UBFDPLFQ.js";
|
|
27
|
-
import "./chunk-FFHX7VKP.js";
|
|
28
|
-
import "./chunk-6KT5BTWL.js";
|
|
29
|
-
import "./chunk-UB6J5HRW.js";
|
|
30
|
-
import "./chunk-QLB3BFSN.js";
|
|
31
|
-
import "./chunk-VVRWH5VH.js";
|
|
32
|
-
import "./chunk-STPYSD6W.js";
|
|
33
|
-
import "./chunk-PZJXQMSZ.js";
|
|
34
|
-
import "./chunk-DEMGDKCX.js";
|
|
35
|
-
import "./chunk-Z5HHBTS5.js";
|
|
36
|
-
import "./chunk-PAHSIORC.js";
|
|
37
|
-
import "./chunk-EOUUI5FI.js";
|
|
38
|
-
import "./chunk-YVNHQFLC.js";
|
|
39
|
-
import "./chunk-KKMNMQMW.js";
|
|
40
|
-
import "./chunk-3S6KZCZ7.js";
|
|
41
|
-
import "./chunk-SMFUKHG2.js";
|
|
42
|
-
import "./chunk-Y5E2WNWB.js";
|
|
43
|
-
import "./chunk-VUBZFMGP.js";
|
|
44
|
-
import "./chunk-ZVVMGPBJ.js";
|
|
45
|
-
export {
|
|
46
|
-
buildStems,
|
|
47
|
-
storeMaintenanceCommands,
|
|
48
|
-
storeSummary
|
|
49
|
-
};
|
|
File without changes
|