@wirecat/attio-cli 0.5.1 → 0.5.3
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/CHANGELOG.md +18 -0
- package/dist/bin/attio.js +2 -2
- package/dist/bundle/agent-YCPGDAWJ.js +37 -0
- package/dist/bundle/{all-profiles-OVSFABZM.js → all-profiles-ONLZNT2O.js} +6 -6
- package/dist/bundle/{anthropic-ISXRCL4Y.js → anthropic-7NHDUCS7.js} +2 -2
- package/dist/bundle/{app-server-NEHGIO3W.js → app-server-76UZBJNR.js} +53 -53
- package/dist/bundle/attio.js +2 -2
- package/dist/bundle/{bun-K7FMAYXA.js → bun-3M7LDMJY.js} +2 -2
- package/dist/bundle/{bun-sqlite-RA6HOIXV.js → bun-sqlite-WWPYULNT.js} +3 -3
- package/dist/bundle/{chunk-YT4VACIE.js → chunk-2HU7TYQK.js} +1 -1
- package/dist/bundle/{chunk-MGB2AQAA.js → chunk-3MZREGLN.js} +11 -11
- package/dist/bundle/{chunk-VOENQSTT.js → chunk-3QYMX2QX.js} +2 -2
- package/dist/bundle/{chunk-FLEW7XVY.js → chunk-3TFPJCTB.js} +23 -23
- package/dist/bundle/{chunk-UBWALYSW.js → chunk-65OPLJBL.js} +2 -2
- package/dist/bundle/{chunk-QLMMCGAY.js → chunk-6MEPMDWU.js} +183 -159
- package/dist/bundle/{chunk-3CTKGH6N.js → chunk-6MPA7CKD.js} +2 -2
- package/dist/bundle/{chunk-ARFO3IJU.js → chunk-764RTGNI.js} +2 -2
- package/dist/bundle/{chunk-4SUAKG7I.js → chunk-7ONN7UCC.js} +1 -1
- package/dist/bundle/{chunk-JDECYQ5S.js → chunk-A5A2I2DY.js} +1 -1
- package/dist/bundle/{chunk-JRBKNTJA.js → chunk-ABMNYUSQ.js} +11 -11
- package/dist/bundle/{chunk-ACTG2Z3H.js → chunk-AYF2JNHE.js} +2 -2
- package/dist/bundle/{chunk-I7VAGHHF.js → chunk-BSPMRKPS.js} +5 -5
- package/dist/bundle/{chunk-L6EEBPFM.js → chunk-DOTBJMPB.js} +2 -2
- package/dist/bundle/{chunk-VALYZBOY.js → chunk-EKRO2AYG.js} +7 -7
- package/dist/bundle/{chunk-ZHCM7N4J.js → chunk-F5IGO45Z.js} +5 -5
- package/dist/bundle/{chunk-ZFXWL2QZ.js → chunk-FVBZHGFE.js} +1 -1
- package/dist/bundle/{chunk-F6V5TEUQ.js → chunk-GHT7KPTC.js} +32 -32
- package/dist/bundle/{chunk-GBI2NDI4.js → chunk-H7RYW7CD.js} +1 -1
- package/dist/bundle/{chunk-4E26GPWD.js → chunk-HGD4JW37.js} +10 -10
- package/dist/bundle/{chunk-ZXUJDPJA.js → chunk-HPYDPVGU.js} +2 -2
- package/dist/bundle/{chunk-UAZWR6VN.js → chunk-J3ZQ4JWD.js} +32 -32
- package/dist/bundle/{chunk-VUB6OEOZ.js → chunk-JRHDYND7.js} +1 -1
- package/dist/bundle/{chunk-U43KHI4P.js → chunk-KTGIA7CC.js} +467 -408
- package/dist/bundle/{chunk-M3J5LRF3.js → chunk-KWJ4GAYR.js} +3 -3
- package/dist/bundle/{chunk-AGYTUJIQ.js → chunk-LQDZSJ3V.js} +1 -1
- package/dist/bundle/{chunk-FEO364I5.js → chunk-LSFZSGQK.js} +2 -2
- package/dist/bundle/{chunk-BHWVONNC.js → chunk-M62QM7VF.js} +9 -9
- package/dist/bundle/{chunk-S3HPTHNJ.js → chunk-MFPYCWMY.js} +4 -4
- package/dist/bundle/{chunk-7INZNQN4.js → chunk-MUDJABVF.js} +2 -2
- package/dist/bundle/{chunk-5GABY7WX.js → chunk-N6VLRVCC.js} +51 -51
- package/dist/bundle/{chunk-MY6MMJEU.js → chunk-NCYBA5FH.js} +2 -2
- package/dist/bundle/{chunk-3EKBP26W.js → chunk-NGVO2UTA.js} +16 -16
- package/dist/bundle/{chunk-25KK4NZN.js → chunk-NKVJV5GN.js} +1 -1
- package/dist/bundle/{chunk-EB2EH7AT.js → chunk-NN7Z5RK6.js} +7 -7
- package/dist/bundle/{chunk-HCY4SCTJ.js → chunk-OLKDUVWD.js} +12 -12
- package/dist/bundle/{chunk-POC7B6AV.js → chunk-PQHS4Z5G.js} +1 -1
- package/dist/bundle/{chunk-66OD3NCV.js → chunk-PVZK2COW.js} +4 -4
- package/dist/bundle/{chunk-X353GEAF.js → chunk-PYFVVNAD.js} +1 -1
- package/dist/bundle/{chunk-7YC47KTF.js → chunk-PZBQH5B7.js} +2 -2
- package/dist/bundle/{chunk-YNEQYCHF.js → chunk-PZE4D63W.js} +5 -5
- package/dist/bundle/{chunk-ZF5QK3OL.js → chunk-QRHPXZST.js} +2 -2
- package/dist/bundle/{chunk-3YS7VDRY.js → chunk-RDXB7HFB.js} +2 -2
- package/dist/bundle/{chunk-335XEBZP.js → chunk-RUNJPSJ3.js} +324 -280
- package/dist/bundle/{chunk-L3Y7MQVO.js → chunk-S3SA2XXD.js} +9 -9
- package/dist/bundle/{chunk-HCLRMCN5.js → chunk-S552I4P7.js} +1 -1
- package/dist/bundle/{chunk-BC46L5BQ.js → chunk-STEUWWU5.js} +22 -11
- package/dist/bundle/{chunk-OX3RM2OX.js → chunk-T2TW53JB.js} +6 -6
- package/dist/bundle/{chunk-CKXABXRV.js → chunk-T3QKHFGB.js} +12 -12
- package/dist/bundle/{chunk-QTNEKXDY.js → chunk-TF33UDFE.js} +1 -1
- package/dist/bundle/{chunk-3SOHZ6K4.js → chunk-TL7NUBVM.js} +1 -1
- package/dist/bundle/{chunk-OSBMLTHV.js → chunk-TVDBAZFO.js} +5 -5
- package/dist/bundle/{chunk-24MNY5XH.js → chunk-U3KTIE6B.js} +1 -1
- package/dist/bundle/{chunk-3HARYC4G.js → chunk-UFFAPBAP.js} +4 -4
- package/dist/bundle/{chunk-3PRKGRIZ.js → chunk-V2AF7BYP.js} +54 -54
- package/dist/bundle/{chunk-RH3NCNO2.js → chunk-V6RWAUX7.js} +3 -3
- package/dist/bundle/{chunk-4G453WRH.js → chunk-VIXMK7ZG.js} +6 -6
- package/dist/bundle/{chunk-BRXPI7XB.js → chunk-VNGG6O5T.js} +5 -5
- package/dist/bundle/{chunk-FF6P3JJ7.js → chunk-WUECAFAJ.js} +1 -1
- package/dist/bundle/{chunk-NHQXNPOU.js → chunk-WVXEVCMY.js} +7 -7
- package/dist/bundle/{chunk-Y3ZYJLIE.js → chunk-X6NSSCMF.js} +1 -1
- package/dist/bundle/{chunk-EXCKOFIO.js → chunk-Y2HZQMNK.js} +1 -1
- package/dist/bundle/{chunk-IEZWMY65.js → chunk-YQNZFXOW.js} +6 -6
- package/dist/bundle/{command-contract-22E5LBQL.js → command-contract-7BABQLZN.js} +15 -15
- package/dist/bundle/{command-server-entry-R2AAAHM5.js → command-server-entry-6UEGWYW7.js} +21 -21
- package/dist/bundle/{decode-7JSTO4HB.js → decode-BF2CNTOP.js} +2 -2
- package/dist/bundle/{echarts-OT7WULUA.js → echarts-ELZMS7DC.js} +2 -2
- package/dist/bundle/{embed-LN6XDQDI.js → embed-SXU7JVUG.js} +3 -3
- package/dist/bundle/{embedder-A4AXC4PU.js → embedder-ZVNBHGXC.js} +6 -6
- package/dist/bundle/{first-run-ZQD6GFBY.js → first-run-SLIPSHPE.js} +6 -6
- package/dist/bundle/first-screen-UPNPU4MF.js +37 -0
- package/dist/bundle/{instructions-RF5WGIMV.js → instructions-Q6QKH7MV.js} +1 -1
- package/dist/bundle/{meeting-combined-VI4TBXBN.js → meeting-combined-DLXVVC5J.js} +10 -10
- package/dist/bundle/{meeting-model-3S6VF6AM.js → meeting-model-XJ6OWIAP.js} +8 -8
- package/dist/bundle/{meeting-semantic-TFMLBQHQ.js → meeting-semantic-7TJE4HX6.js} +2 -2
- package/dist/bundle/{node-KWIPUN4D.js → node-YNLEE4BB.js} +2 -2
- package/dist/bundle/{node-sqlite-QZ7LM2UX.js → node-sqlite-24VK6J3W.js} +4 -4
- package/dist/bundle/{oauth-EHAFL6WQ.js → oauth-4TLSBITF.js} +4 -4
- package/dist/bundle/{open-SJYZOSWL.js → open-U6M2RLYK.js} +2 -2
- package/dist/bundle/{openai-GRFJ67FY.js → openai-UKD2XQ5J.js} +12 -12
- package/dist/bundle/{process-RJVFXNK3.js → process-UIE2CRFP.js} +1 -1
- package/dist/bundle/{program-RKN662WC.js → program-HXMBQWIM.js} +487 -401
- package/dist/bundle/{prompt-JO77APQ7.js → prompt-TSDXFP3E.js} +2 -2
- package/dist/bundle/{recognize-NQZ5XWLD.js → recognize-Y534SZIK.js} +1 -1
- package/dist/bundle/{remote-LZ4QPBQN.js → remote-PJNOYKXU.js} +6 -6
- package/dist/bundle/{rerank-5DAH5SPK.js → rerank-TE4HIS5A.js} +4 -4
- package/dist/bundle/{serve-QICSA7GZ.js → serve-ZOZWJKHB.js} +6 -6
- package/dist/bundle/{server-66KF772Q.js → server-3K4IC4OA.js} +45 -45
- package/dist/bundle/server-HPHPHKNF.js +79 -0
- package/dist/bundle/{sqlite-runtime-MEXAEM3S.js → sqlite-runtime-6R6CHLEM.js} +3 -3
- package/dist/bundle/{state-QSUH43VB.js → state-DFAH57DP.js} +3 -3
- package/dist/bundle/{store-5P47ROKG.js → store-6B5JF2LC.js} +16 -16
- package/dist/bundle/{store-Y65M7V4H.js → store-LPO5SHGK.js} +14 -14
- package/dist/bundle/store-maintenance-command-UBNM3ADW.js +66 -0
- package/dist/bundle/surface-WQ7UR2NJ.js +65 -0
- package/dist/hooks.d.ts.map +1 -1
- package/dist/hooks.js +7 -4
- package/dist/hooks.js.map +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +2 -2
- package/skills/attio-cli/SKILL.md +9 -2
- package/dist/bundle/agent-VR5OZH73.js +0 -37
- package/dist/bundle/first-screen-V7RM66AG.js +0 -37
- package/dist/bundle/server-TFW2APGU.js +0 -79
- package/dist/bundle/store-maintenance-command-DHBXPPOE.js +0 -66
- package/dist/bundle/surface-FNLKVJJJ.js +0 -65
|
@@ -2,19 +2,19 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
messengerContext
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-3MZREGLN.js";
|
|
6
6
|
import {
|
|
7
7
|
chatEventAnswer,
|
|
8
8
|
memberAnswer,
|
|
9
9
|
pollVoteAnswer
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-NN7Z5RK6.js";
|
|
11
11
|
import {
|
|
12
12
|
stringWidth,
|
|
13
13
|
wrapAnsi
|
|
14
14
|
} from "./chunk-EH6ZEJGT.js";
|
|
15
15
|
import {
|
|
16
16
|
serveRelay
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-PVZK2COW.js";
|
|
18
18
|
import {
|
|
19
19
|
FETCHING,
|
|
20
20
|
RULES_VERSION,
|
|
@@ -32,13 +32,13 @@ import {
|
|
|
32
32
|
servicesFor,
|
|
33
33
|
syncsOneChat,
|
|
34
34
|
withTimeLimit
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-RUNJPSJ3.js";
|
|
36
36
|
import {
|
|
37
37
|
capability,
|
|
38
38
|
queryTerms,
|
|
39
39
|
typedQuery,
|
|
40
40
|
withQuery
|
|
41
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-OLKDUVWD.js";
|
|
42
42
|
import {
|
|
43
43
|
holdLock,
|
|
44
44
|
lockPath,
|
|
@@ -46,7 +46,7 @@ import {
|
|
|
46
46
|
releaseLock,
|
|
47
47
|
servingProfiles,
|
|
48
48
|
takeLock
|
|
49
|
-
} from "./chunk-
|
|
49
|
+
} from "./chunk-65OPLJBL.js";
|
|
50
50
|
import {
|
|
51
51
|
Command,
|
|
52
52
|
LOCAL_READ,
|
|
@@ -74,13 +74,13 @@ import {
|
|
|
74
74
|
snakeKeys,
|
|
75
75
|
storeTable,
|
|
76
76
|
withoutProviderRefs
|
|
77
|
-
} from "./chunk-
|
|
77
|
+
} from "./chunk-6MEPMDWU.js";
|
|
78
78
|
import {
|
|
79
79
|
holdersOf
|
|
80
|
-
} from "./chunk-
|
|
80
|
+
} from "./chunk-A5A2I2DY.js";
|
|
81
81
|
import {
|
|
82
82
|
readSecret
|
|
83
|
-
} from "./chunk-
|
|
83
|
+
} from "./chunk-764RTGNI.js";
|
|
84
84
|
import {
|
|
85
85
|
QUICK_HEALTH_CHECKS,
|
|
86
86
|
fts5Tables,
|
|
@@ -88,7 +88,7 @@ import {
|
|
|
88
88
|
lossUnknown,
|
|
89
89
|
storeDamageReport,
|
|
90
90
|
storeHealth
|
|
91
|
-
} from "./chunk-
|
|
91
|
+
} from "./chunk-NGVO2UTA.js";
|
|
92
92
|
import {
|
|
93
93
|
CORPORA,
|
|
94
94
|
MIGRATIONS,
|
|
@@ -126,7 +126,7 @@ import {
|
|
|
126
126
|
storeClients,
|
|
127
127
|
storeContents,
|
|
128
128
|
vectorIndexCounts
|
|
129
|
-
} from "./chunk-
|
|
129
|
+
} from "./chunk-KTGIA7CC.js";
|
|
130
130
|
import {
|
|
131
131
|
currentRun,
|
|
132
132
|
formatLocator,
|
|
@@ -135,29 +135,29 @@ import {
|
|
|
135
135
|
readHealthMark,
|
|
136
136
|
readJournalMark,
|
|
137
137
|
recordDeepCheck
|
|
138
|
-
} from "./chunk-
|
|
138
|
+
} from "./chunk-J3ZQ4JWD.js";
|
|
139
139
|
import {
|
|
140
140
|
failureKey,
|
|
141
141
|
isStoreDamage
|
|
142
|
-
} from "./chunk-
|
|
142
|
+
} from "./chunk-QRHPXZST.js";
|
|
143
143
|
import {
|
|
144
144
|
queryFieldsOf
|
|
145
|
-
} from "./chunk-
|
|
145
|
+
} from "./chunk-N6VLRVCC.js";
|
|
146
146
|
import {
|
|
147
147
|
modelAddressAllowed,
|
|
148
148
|
onThisComputer
|
|
149
|
-
} from "./chunk-
|
|
149
|
+
} from "./chunk-Y2HZQMNK.js";
|
|
150
150
|
import {
|
|
151
151
|
readSharedSection,
|
|
152
152
|
sharedConfigPath,
|
|
153
153
|
writeSharedSection
|
|
154
|
-
} from "./chunk-
|
|
154
|
+
} from "./chunk-F5IGO45Z.js";
|
|
155
155
|
import {
|
|
156
156
|
storePath
|
|
157
|
-
} from "./chunk-
|
|
157
|
+
} from "./chunk-FVBZHGFE.js";
|
|
158
158
|
import {
|
|
159
159
|
openCache
|
|
160
|
-
} from "./chunk-
|
|
160
|
+
} from "./chunk-PZE4D63W.js";
|
|
161
161
|
import {
|
|
162
162
|
Credentials,
|
|
163
163
|
isMovedRun,
|
|
@@ -5530,11 +5530,11 @@ var require_liquid_node = __commonJS({
|
|
|
5530
5530
|
}
|
|
5531
5531
|
});
|
|
5532
5532
|
|
|
5533
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5533
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.751.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_532b02f06c2b2e2f096ad6d107b7f8b7/node_modules/@wirecat/cli-core/dist/cli/messenger/store-maintenance-command.js
|
|
5534
5534
|
import { chmodSync, constants, copyFileSync, existsSync as existsSync10, mkdirSync, realpathSync as realpathSync3, renameSync as renameSync3, rmSync as rmSync3, statfsSync as statfsSync2, statSync as statSync4, writeFileSync as writeFileSync2 } from "node:fs";
|
|
5535
5535
|
import { dirname as dirname3, resolve } from "node:path";
|
|
5536
5536
|
|
|
5537
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5537
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.751.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_532b02f06c2b2e2f096ad6d107b7f8b7/node_modules/@wirecat/cli-core/dist/sealed.js
|
|
5538
5538
|
import { createCipheriv, createDecipheriv, createHash, randomBytes, scrypt, timingSafeEqual } from "node:crypto";
|
|
5539
5539
|
import { closeSync, createReadStream, createWriteStream, existsSync, openSync, readSync, renameSync, rmSync, statSync } from "node:fs";
|
|
5540
5540
|
import { Transform } from "node:stream";
|
|
@@ -5641,7 +5641,7 @@ var unsealFile = /* @__PURE__ */ __name(async (from, to, password) => {
|
|
|
5641
5641
|
renameSync(pending, to);
|
|
5642
5642
|
}, "unsealFile");
|
|
5643
5643
|
|
|
5644
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5644
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.751.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_532b02f06c2b2e2f096ad6d107b7f8b7/node_modules/@wirecat/cli-core/dist/store/compatibility.js
|
|
5645
5645
|
var SPEAKS = MIGRATIONS.at(-1)?.version ?? 0;
|
|
5646
5646
|
var fileSchemaOf = /* @__PURE__ */ __name((database) => {
|
|
5647
5647
|
const tracked = database.prepare("SELECT 1 FROM sqlite_master WHERE name = 'schema_migrations'").get();
|
|
@@ -5665,7 +5665,7 @@ var compatibilityOf = /* @__PURE__ */ __name((file2, migrations = MIGRATIONS) =>
|
|
|
5665
5665
|
};
|
|
5666
5666
|
}, "compatibilityOf");
|
|
5667
5667
|
|
|
5668
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5668
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.751.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_532b02f06c2b2e2f096ad6d107b7f8b7/node_modules/@wirecat/cli-core/dist/store/repair.js
|
|
5669
5669
|
import { createHash as createHash2 } from "node:crypto";
|
|
5670
5670
|
var COPY_MARK = "__repair_";
|
|
5671
5671
|
var COPY_NAME = /__repair_[0-9a-f]{8}(_\d+)?$/;
|
|
@@ -5919,19 +5919,19 @@ var deleteCopy = /* @__PURE__ */ __name((database, name) => {
|
|
|
5919
5919
|
return found;
|
|
5920
5920
|
}, "deleteCopy");
|
|
5921
5921
|
|
|
5922
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5922
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.751.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_532b02f06c2b2e2f096ad6d107b7f8b7/node_modules/@wirecat/cli-core/dist/cli/store-info.js
|
|
5923
5923
|
import { existsSync as existsSync4, statSync as statSync3 } from "node:fs";
|
|
5924
5924
|
|
|
5925
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5925
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.751.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_532b02f06c2b2e2f096ad6d107b7f8b7/node_modules/@wirecat/cli-core/dist/cli/store-recover.js
|
|
5926
5926
|
import { existsSync as existsSync3 } from "node:fs";
|
|
5927
5927
|
|
|
5928
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5928
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.751.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_532b02f06c2b2e2f096ad6d107b7f8b7/node_modules/@wirecat/cli-core/dist/store/recover.js
|
|
5929
5929
|
import { execFileSync, spawn } from "node:child_process";
|
|
5930
5930
|
import { existsSync as existsSync2, readFileSync, realpathSync, renameSync as renameSync2, rmSync as rmSync2, statfsSync, statSync as statSync2, writeFileSync } from "node:fs";
|
|
5931
5931
|
import { basename, dirname, join } from "node:path";
|
|
5932
5932
|
import { Transform as Transform2 } from "node:stream";
|
|
5933
5933
|
|
|
5934
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5934
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.751.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_532b02f06c2b2e2f096ad6d107b7f8b7/node_modules/@wirecat/cli-core/dist/store/refill.js
|
|
5935
5935
|
var REFILL_MARGIN_MS = 864e5;
|
|
5936
5936
|
var TIME_KEYS = 1e12;
|
|
5937
5937
|
var integerId = `external_id GLOB '[0-9]*' AND NOT external_id GLOB '*[^0-9]*'`;
|
|
@@ -6011,7 +6011,7 @@ var forgetMail = /* @__PURE__ */ __name((database, cutoff, now) => {
|
|
|
6011
6011
|
return [...folders].map(([account, count3]) => ({ account, folders: count3 }));
|
|
6012
6012
|
}, "forgetMail");
|
|
6013
6013
|
|
|
6014
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6014
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.751.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_532b02f06c2b2e2f096ad6d107b7f8b7/node_modules/@wirecat/cli-core/dist/store/recover.js
|
|
6015
6015
|
var SQLITE3_MINIMUM = [3, 43, 0];
|
|
6016
6016
|
var STORE_PARTS = ["", "-wal", "-shm"];
|
|
6017
6017
|
var RECOVER_LOCK = ".recover-lock";
|
|
@@ -6542,7 +6542,7 @@ var recoverLocked = /* @__PURE__ */ __name(async ({ path, command, version, sqli
|
|
|
6542
6542
|
}
|
|
6543
6543
|
}, "recoverLocked");
|
|
6544
6544
|
|
|
6545
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6545
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.751.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_532b02f06c2b2e2f096ad6d107b7f8b7/node_modules/@wirecat/cli-core/dist/cli/store-recover.js
|
|
6546
6546
|
var COUNTED = [
|
|
6547
6547
|
"accounts",
|
|
6548
6548
|
"chats",
|
|
@@ -6698,7 +6698,7 @@ var storeRecoverCommand = /* @__PURE__ */ __name(({ command, version }) => {
|
|
|
6698
6698
|
return recover;
|
|
6699
6699
|
}, "storeRecoverCommand");
|
|
6700
6700
|
|
|
6701
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6701
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.751.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_532b02f06c2b2e2f096ad6d107b7f8b7/node_modules/@wirecat/cli-core/dist/cli/store-info.js
|
|
6702
6702
|
var pendingIfKnown = /* @__PURE__ */ __name((database) => database.prepare("SELECT 1 FROM pragma_table_info('messages') WHERE name = 'normalized_text'").get() ? pendingNormalization(database) : null, "pendingIfKnown");
|
|
6703
6703
|
var bytesOf = /* @__PURE__ */ __name((path) => existsSync4(path) ? statSync3(path).size : 0, "bytesOf");
|
|
6704
6704
|
var messageOf = /* @__PURE__ */ __name((error) => error instanceof Error ? error.message : String(error), "messageOf");
|
|
@@ -6744,7 +6744,7 @@ var storeInfoCommand = /* @__PURE__ */ __name(() => annotate(new Command("info")
|
|
|
6744
6744
|
renderAnswer(this, outputFor(this), itemOf(answer));
|
|
6745
6745
|
}), "storeInfoCommand");
|
|
6746
6746
|
|
|
6747
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6747
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.751.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_532b02f06c2b2e2f096ad6d107b7f8b7/node_modules/@wirecat/cli-core/dist/cli/messenger/password.js
|
|
6748
6748
|
var ENCRYPT_OPTION = [
|
|
6749
6749
|
"--encrypt",
|
|
6750
6750
|
"compress and encrypt with a password, typed at a hidden prompt or piped on stdin; it is never kept \u2014 lose it and the file cannot be opened"
|
|
@@ -6763,7 +6763,7 @@ var passwordOf = /* @__PURE__ */ __name(async (command, { twice }) => {
|
|
|
6763
6763
|
return password;
|
|
6764
6764
|
}, "passwordOf");
|
|
6765
6765
|
|
|
6766
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6766
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.751.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_532b02f06c2b2e2f096ad6d107b7f8b7/node_modules/@wirecat/cli-core/dist/replies/rules.js
|
|
6767
6767
|
import { existsSync as existsSync5, readFileSync as readFileSync2 } from "node:fs";
|
|
6768
6768
|
import { join as join2 } from "node:path";
|
|
6769
6769
|
var REPLY_ACTIONS = ["reply", "task"];
|
|
@@ -6934,7 +6934,7 @@ var problem = /* @__PURE__ */ __name((issue) => {
|
|
|
6934
6934
|
}, "problem");
|
|
6935
6935
|
var broken = /* @__PURE__ */ __name((path, why) => new CliError("configuration_error", `the reply rules ${path} cannot be read (${why}) \u2014 fix the file`), "broken");
|
|
6936
6936
|
|
|
6937
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6937
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.751.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_532b02f06c2b2e2f096ad6d107b7f8b7/node_modules/@wirecat/cli-core/dist/replies/state.js
|
|
6938
6938
|
import { existsSync as existsSync6, readFileSync as readFileSync3 } from "node:fs";
|
|
6939
6939
|
import { join as join3 } from "node:path";
|
|
6940
6940
|
var ANSWERED_KEPT = 1e3;
|
|
@@ -6987,7 +6987,7 @@ var recordReply = /* @__PURE__ */ __name((state, rule2, message, now) => {
|
|
|
6987
6987
|
}, "recordReply");
|
|
6988
6988
|
var broken2 = /* @__PURE__ */ __name((path, why) => new CliError("configuration_error", `the reply state ${path} cannot be read (${why}) \u2014 fix or move the file`), "broken");
|
|
6989
6989
|
|
|
6990
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6990
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.751.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_532b02f06c2b2e2f096ad6d107b7f8b7/node_modules/@wirecat/cli-core/dist/replies/decide.js
|
|
6991
6991
|
var skip = /* @__PURE__ */ __name((why) => ({ skip: why }), "skip");
|
|
6992
6992
|
var decide = /* @__PURE__ */ __name((rule2, incoming, state, now) => {
|
|
6993
6993
|
const { message, chat, owner, sender } = incoming;
|
|
@@ -7093,10 +7093,10 @@ var filled = /* @__PURE__ */ __name((template2, senderName) => {
|
|
|
7093
7093
|
return template2.replaceAll("{firstName}", name.split(/\s+/)[0] ?? name).replaceAll("{name}", name);
|
|
7094
7094
|
}, "filled");
|
|
7095
7095
|
|
|
7096
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7096
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.751.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_532b02f06c2b2e2f096ad6d107b7f8b7/node_modules/@wirecat/cli-core/dist/replies/template.js
|
|
7097
7097
|
var import_liquidjs2 = __toESM(require_liquid_node(), 1);
|
|
7098
7098
|
|
|
7099
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7099
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.751.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_532b02f06c2b2e2f096ad6d107b7f8b7/node_modules/@wirecat/cli-core/dist/render/liquid.js
|
|
7100
7100
|
var import_liquidjs = __toESM(require_liquid_node(), 1);
|
|
7101
7101
|
var safeLiquid = /* @__PURE__ */ __name((limits) => {
|
|
7102
7102
|
const engine = new import_liquidjs.Liquid({
|
|
@@ -7123,7 +7123,7 @@ var safeLiquid = /* @__PURE__ */ __name((limits) => {
|
|
|
7123
7123
|
return engine;
|
|
7124
7124
|
}, "safeLiquid");
|
|
7125
7125
|
|
|
7126
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7126
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.751.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_532b02f06c2b2e2f096ad6d107b7f8b7/node_modules/@wirecat/cli-core/dist/replies/template.js
|
|
7127
7127
|
var TEMPLATE_LIMITS = {
|
|
7128
7128
|
parse: 32768,
|
|
7129
7129
|
renders: 2e3,
|
|
@@ -7262,7 +7262,7 @@ var renderReplyTemplate = /* @__PURE__ */ __name(async (reply, input) => {
|
|
|
7262
7262
|
}
|
|
7263
7263
|
}, "renderReplyTemplate");
|
|
7264
7264
|
|
|
7265
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7265
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.751.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_532b02f06c2b2e2f096ad6d107b7f8b7/node_modules/@wirecat/cli-core/dist/replies/dry-run.js
|
|
7266
7266
|
var DRY_RUN_DAYS = 7;
|
|
7267
7267
|
var PAGE = 500;
|
|
7268
7268
|
var dryRun = /* @__PURE__ */ __name(async (store, account, rules, { since, until = Date.now(), only, audience, render }) => {
|
|
@@ -7376,7 +7376,7 @@ var storedSince = /* @__PURE__ */ __name(async (store, account, chat, since) =>
|
|
|
7376
7376
|
}
|
|
7377
7377
|
}, "storedSince");
|
|
7378
7378
|
|
|
7379
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7379
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.751.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_532b02f06c2b2e2f096ad6d107b7f8b7/node_modules/@wirecat/cli-core/dist/models/ai.js
|
|
7380
7380
|
var AI_PROVIDERS = ["anthropic", "openai", "ollama"];
|
|
7381
7381
|
var DEFAULT_BASE_URL = {
|
|
7382
7382
|
anthropic: "https://api.anthropic.com",
|
|
@@ -7526,7 +7526,7 @@ var checkAi = /* @__PURE__ */ __name(async (deps) => {
|
|
|
7526
7526
|
}
|
|
7527
7527
|
}, "checkAi");
|
|
7528
7528
|
|
|
7529
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7529
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.751.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_532b02f06c2b2e2f096ad6d107b7f8b7/node_modules/@wirecat/cli-core/dist/models/purpose.js
|
|
7530
7530
|
var HOSTED = {
|
|
7531
7531
|
openai: "https://api.openai.com/v1",
|
|
7532
7532
|
anthropic: "https://api.anthropic.com"
|
|
@@ -7547,7 +7547,7 @@ var purposeModel = /* @__PURE__ */ __name((settings, purpose, deps) => {
|
|
|
7547
7547
|
return shared ? { target: shared.target, key: /* @__PURE__ */ __name(() => shared.key, "key"), shared: shared.setting } : void 0;
|
|
7548
7548
|
}, "purposeModel");
|
|
7549
7549
|
|
|
7550
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7550
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.751.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_532b02f06c2b2e2f096ad6d107b7f8b7/node_modules/@wirecat/cli-core/dist/replies/consents.js
|
|
7551
7551
|
import { existsSync as existsSync7, readFileSync as readFileSync4 } from "node:fs";
|
|
7552
7552
|
import { join as join4 } from "node:path";
|
|
7553
7553
|
var shape = strictObject({
|
|
@@ -7572,7 +7572,7 @@ var mayModelReply = /* @__PURE__ */ __name((path, provider, chat) => {
|
|
|
7572
7572
|
return consent.provider === provider && !consent.deniedChats.includes(chat);
|
|
7573
7573
|
}, "mayModelReply");
|
|
7574
7574
|
|
|
7575
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7575
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.751.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_532b02f06c2b2e2f096ad6d107b7f8b7/node_modules/@wirecat/cli-core/dist/replies/rendering.js
|
|
7576
7576
|
var replyRenderer = /* @__PURE__ */ __name((app, profile, settings, env, warn, options = {
|
|
7577
7577
|
ai: true
|
|
7578
7578
|
}) => async (rule2, message, chat, now) => {
|
|
@@ -7620,7 +7620,7 @@ var replyRenderer = /* @__PURE__ */ __name((app, profile, settings, env, warn, o
|
|
|
7620
7620
|
return result2;
|
|
7621
7621
|
}, "replyRenderer");
|
|
7622
7622
|
|
|
7623
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7623
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.751.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_532b02f06c2b2e2f096ad6d107b7f8b7/node_modules/@wirecat/cli-core/dist/replies/serve.js
|
|
7624
7624
|
var NOT_ALLOWED = "replies.send is not allow";
|
|
7625
7625
|
var NO_RULES = "no rules";
|
|
7626
7626
|
var ONLY_TASK = "opened a task, sent nothing";
|
|
@@ -7713,7 +7713,7 @@ var replyTo = /* @__PURE__ */ __name(async (deps, message) => {
|
|
|
7713
7713
|
return { skip: why };
|
|
7714
7714
|
}, "replyTo");
|
|
7715
7715
|
|
|
7716
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7716
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.751.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_532b02f06c2b2e2f096ad6d107b7f8b7/node_modules/@wirecat/cli-core/dist/cli/messenger/serve-catch-up.js
|
|
7717
7717
|
var START_SYNC_DELAY_MS = 3e4;
|
|
7718
7718
|
var START_SYNC_BUDGET_MS = 5 * 6e4;
|
|
7719
7719
|
var START_SYNC_WINDOW_MS = 7 * 864e5;
|
|
@@ -7790,7 +7790,7 @@ var startSync = /* @__PURE__ */ __name(({ chats, newestHeld, fetch, note, warn,
|
|
|
7790
7790
|
};
|
|
7791
7791
|
}, "startSync");
|
|
7792
7792
|
|
|
7793
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7793
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.751.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_532b02f06c2b2e2f096ad6d107b7f8b7/node_modules/@wirecat/cli-core/dist/cli/messenger/serve-members.js
|
|
7794
7794
|
var FIRST_FETCH_MS = 6e4;
|
|
7795
7795
|
var DAY_MS = 864e5;
|
|
7796
7796
|
var memberFetches = /* @__PURE__ */ __name(({ withStore, fetch, warn, firstMs = FIRST_FETCH_MS, everyMs = DAY_MS }) => {
|
|
@@ -7844,7 +7844,7 @@ var memberFetches = /* @__PURE__ */ __name(({ withStore, fetch, warn, firstMs =
|
|
|
7844
7844
|
};
|
|
7845
7845
|
}, "memberFetches");
|
|
7846
7846
|
|
|
7847
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7847
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.751.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_532b02f06c2b2e2f096ad6d107b7f8b7/node_modules/@wirecat/cli-core/dist/cli/messenger/serve-notice.js
|
|
7848
7848
|
var record2 = /* @__PURE__ */ __name((context, app, severity, attributes) => recordLogFor(context.streams.diagnostic, app, { command: currentRun().command || "serve" })[severity](attributes), "record");
|
|
7849
7849
|
var noticeFor = /* @__PURE__ */ __name((context, app, severity = "warn") => ({ text, ...attributes }) => {
|
|
7850
7850
|
if (context.format === "pretty") {
|
|
@@ -7877,7 +7877,7 @@ var recordDiagnostics = /* @__PURE__ */ __name((context, app) => {
|
|
|
7877
7877
|
return context;
|
|
7878
7878
|
}, "recordDiagnostics");
|
|
7879
7879
|
|
|
7880
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7880
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.751.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_532b02f06c2b2e2f096ad6d107b7f8b7/node_modules/@wirecat/cli-core/dist/cli/messenger/serve-outdated.js
|
|
7881
7881
|
import { existsSync as existsSync8, readFileSync as readFileSync5, realpathSync as realpathSync2 } from "node:fs";
|
|
7882
7882
|
import { dirname as dirname2, join as join5 } from "node:path";
|
|
7883
7883
|
var OUTDATED_CHECK_MS = 6e4;
|
|
@@ -7963,7 +7963,7 @@ var watchOutdated = /* @__PURE__ */ __name(({ check: check2, onOutdated, everyMs
|
|
|
7963
7963
|
};
|
|
7964
7964
|
}, "watchOutdated");
|
|
7965
7965
|
|
|
7966
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7966
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.751.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_532b02f06c2b2e2f096ad6d107b7f8b7/node_modules/@wirecat/cli-core/dist/cli/messenger/serve-stems.js
|
|
7967
7967
|
var STEMS_EVERY_MS = 3e4;
|
|
7968
7968
|
var STEMS_SLICE_MS = 2e3;
|
|
7969
7969
|
var stemFills = /* @__PURE__ */ __name(({ withStore, warn, everyMs = STEMS_EVERY_MS, sliceMs = STEMS_SLICE_MS }) => {
|
|
@@ -8003,7 +8003,7 @@ var stemFills = /* @__PURE__ */ __name(({ withStore, warn, everyMs = STEMS_EVERY
|
|
|
8003
8003
|
};
|
|
8004
8004
|
}, "stemFills");
|
|
8005
8005
|
|
|
8006
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8006
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.751.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_532b02f06c2b2e2f096ad6d107b7f8b7/node_modules/@wirecat/cli-core/dist/render/messages.js
|
|
8007
8007
|
import { styleText } from "node:util";
|
|
8008
8008
|
var TIME_WIDTH = 8;
|
|
8009
8009
|
var INDENT = " ".repeat(TIME_WIDTH + 2);
|
|
@@ -8179,7 +8179,7 @@ var editedAt = /* @__PURE__ */ __name((message, options) => {
|
|
|
8179
8179
|
return day(edited) === day(message.timestamp) ? time : `${day(edited)} ${time}`;
|
|
8180
8180
|
}, "editedAt");
|
|
8181
8181
|
|
|
8182
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8182
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.751.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_532b02f06c2b2e2f096ad6d107b7f8b7/node_modules/@wirecat/cli-core/dist/cli/messenger/message-items.js
|
|
8183
8183
|
var defined = /* @__PURE__ */ __name((value) => Object.fromEntries(Object.entries(value).filter(([, one]) => one !== void 0)), "defined");
|
|
8184
8184
|
var attachmentItem = /* @__PURE__ */ __name((attachment) => defined({
|
|
8185
8185
|
kind: attachment.kind,
|
|
@@ -8275,7 +8275,7 @@ var viewOf = /* @__PURE__ */ __name((context, messenger) => ({
|
|
|
8275
8275
|
locale: messenger.app.locale
|
|
8276
8276
|
}), "viewOf");
|
|
8277
8277
|
|
|
8278
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8278
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.751.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_532b02f06c2b2e2f096ad6d107b7f8b7/node_modules/@wirecat/cli-core/dist/cli/messenger/watch-answers.js
|
|
8279
8279
|
var observed = /* @__PURE__ */ __name((value) => ({
|
|
8280
8280
|
value: value.value,
|
|
8281
8281
|
observed_at: value.observedAt,
|
|
@@ -8342,7 +8342,7 @@ var watchEventItem = /* @__PURE__ */ __name((value, account) => {
|
|
|
8342
8342
|
}
|
|
8343
8343
|
}, "watchEventItem");
|
|
8344
8344
|
|
|
8345
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8345
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.751.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_532b02f06c2b2e2f096ad6d107b7f8b7/node_modules/@wirecat/cli-core/dist/cli/messenger/watch-command.js
|
|
8346
8346
|
var watchCommand = /* @__PURE__ */ __name((messenger) => annotate(new Command("watch"), {
|
|
8347
8347
|
output: { entity: "watch_item" },
|
|
8348
8348
|
effects: REMOTE_READ,
|
|
@@ -8497,7 +8497,7 @@ var describe = /* @__PURE__ */ __name((event, render) => {
|
|
|
8497
8497
|
}
|
|
8498
8498
|
}, "describe");
|
|
8499
8499
|
|
|
8500
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8500
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.751.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_532b02f06c2b2e2f096ad6d107b7f8b7/node_modules/@wirecat/cli-core/dist/cli/messenger/serve-command.js
|
|
8501
8501
|
var CURRENT_EVERY_MS = 6e4;
|
|
8502
8502
|
var serveCommand = /* @__PURE__ */ __name((messenger) => {
|
|
8503
8503
|
const command = annotate(new Command("serve"), {
|
|
@@ -8797,7 +8797,7 @@ var tasking = /* @__PURE__ */ __name((context, warn) => {
|
|
|
8797
8797
|
};
|
|
8798
8798
|
}, "tasking");
|
|
8799
8799
|
|
|
8800
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8800
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.751.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_532b02f06c2b2e2f096ad6d107b7f8b7/node_modules/@wirecat/cli-core/dist/cli/messenger/store-tables-command.js
|
|
8801
8801
|
import { existsSync as existsSync9 } from "node:fs";
|
|
8802
8802
|
var PATH = "store tables list";
|
|
8803
8803
|
var STORE_TABLES_QUERY = {
|
|
@@ -8840,7 +8840,7 @@ var storeTablesCommand = /* @__PURE__ */ __name((owner) => {
|
|
|
8840
8840
|
return tables;
|
|
8841
8841
|
}, "storeTablesCommand");
|
|
8842
8842
|
|
|
8843
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8843
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.751.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_532b02f06c2b2e2f096ad6d107b7f8b7/node_modules/@wirecat/cli-core/dist/cli/messenger/store-maintenance-command.js
|
|
8844
8844
|
var SEARCH_INDEXES = ["messages_fts", "chats_fts", "identities_fts"];
|
|
8845
8845
|
var WORD_INDEX = "message_words";
|
|
8846
8846
|
var schemaOf = /* @__PURE__ */ __name((database) => {
|
|
@@ -2,7 +2,7 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
wirecatDirectory
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-FVBZHGFE.js";
|
|
6
6
|
import {
|
|
7
7
|
CliError
|
|
8
8
|
} from "./chunk-TSHMRHL6.js";
|
|
@@ -10,7 +10,7 @@ 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.751.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_532b02f06c2b2e2f096ad6d107b7f8b7/node_modules/@wirecat/cli-core/dist/speech/models.js
|
|
14
14
|
var huggingFace = /* @__PURE__ */ __name((repository, commit) => (name) => `https://huggingface.co/csukuangfj/${repository}/resolve/${commit}/${name}`, "huggingFace");
|
|
15
15
|
var gigaam = huggingFace("sherpa-onnx-nemo-transducer-punct-giga-am-v3-russian-2025-12-16", "a6039be7cee829a9044a69ac0ebaf1c191217c97");
|
|
16
16
|
var gigaamCtc = huggingFace("sherpa-onnx-nemo-ctc-punct-giga-am-v3-russian-2025-12-16", "4fb5407ff028a69fec516cdf4c10fac9ddea7c16");
|
|
@@ -137,7 +137,7 @@ var speechModel = /* @__PURE__ */ __name((id) => {
|
|
|
137
137
|
return model;
|
|
138
138
|
}, "speechModel");
|
|
139
139
|
|
|
140
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
140
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.751.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_532b02f06c2b2e2f096ad6d107b7f8b7/node_modules/@wirecat/cli-core/dist/speech/install.js
|
|
141
141
|
import { createHash, randomUUID } from "node:crypto";
|
|
142
142
|
import { createReadStream, createWriteStream, mkdirSync, statSync } from "node:fs";
|
|
143
143
|
import { rename, rm } from "node:fs/promises";
|
|
@@ -2,7 +2,7 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
tagOf
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-U3KTIE6B.js";
|
|
6
6
|
import {
|
|
7
7
|
QUERY_LIMITS,
|
|
8
8
|
parseLucene,
|
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
queryError,
|
|
11
11
|
validateQuery,
|
|
12
12
|
walkQuery
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-N6VLRVCC.js";
|
|
14
14
|
import {
|
|
15
15
|
safeParse
|
|
16
16
|
} from "./chunk-S4UUN6LD.js";
|
|
@@ -22,7 +22,7 @@ import {
|
|
|
22
22
|
__name
|
|
23
23
|
} from "./chunk-ZVVMGPBJ.js";
|
|
24
24
|
|
|
25
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
25
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.751.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_532b02f06c2b2e2f096ad6d107b7f8b7/node_modules/@wirecat/cli-core/dist/search/fusion.js
|
|
26
26
|
var RRF_K = 60;
|
|
27
27
|
var fuseRanked = /* @__PURE__ */ __name((lists, facts) => {
|
|
28
28
|
const rows = lists.flatMap((list) => list.map((item, rank) => ({ item, vote: 1 / (RRF_K + rank + 1), ...facts(item) })));
|
|
@@ -30,7 +30,7 @@ var fuseRanked = /* @__PURE__ */ __name((lists, facts) => {
|
|
|
30
30
|
return rows.sort((a, b) => Number(b.exact === true) - Number(a.exact === true) || (ranking ? Number(b.ranked) - Number(a.ranked) || b.vote - a.vote : 0) || b.at - a.at).map(({ item }) => item);
|
|
31
31
|
}, "fuseRanked");
|
|
32
32
|
|
|
33
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
33
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.751.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_532b02f06c2b2e2f096ad6d107b7f8b7/node_modules/@wirecat/cli-core/dist/search/lucene/types.js
|
|
34
34
|
var QUERY_VERSION = 1;
|
|
35
35
|
var QUERY_LIMITS2 = {
|
|
36
36
|
...QUERY_LIMITS,
|
|
@@ -81,7 +81,7 @@ function tooWideTerm([term], budget) {
|
|
|
81
81
|
}
|
|
82
82
|
__name(tooWideTerm, "tooWideTerm");
|
|
83
83
|
|
|
84
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
84
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.751.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_532b02f06c2b2e2f096ad6d107b7f8b7/node_modules/@wirecat/cli-core/dist/search/lucene/registry.js
|
|
85
85
|
var FIELD_VERSION = 2;
|
|
86
86
|
var UNITS = {
|
|
87
87
|
"": 1,
|
|
@@ -610,7 +610,7 @@ var validateAst = /* @__PURE__ */ __name((input, options = {}) => {
|
|
|
610
610
|
return validateFields(parsed.output, options);
|
|
611
611
|
}, "validateAst");
|
|
612
612
|
|
|
613
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
613
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.751.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_532b02f06c2b2e2f096ad6d107b7f8b7/node_modules/@wirecat/cli-core/dist/search/lucene/plain.js
|
|
614
614
|
var REPAIRED = /* @__PURE__ */ new Set([
|
|
615
615
|
"query.invalid-syntax",
|
|
616
616
|
"query.unclosed-literal",
|
|
@@ -3,21 +3,21 @@ const require = __bundleRequire(import.meta.url);
|
|
|
3
3
|
import {
|
|
4
4
|
textModel,
|
|
5
5
|
vectorModelKey
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-UFFAPBAP.js";
|
|
7
7
|
import {
|
|
8
8
|
OPENAI_URL,
|
|
9
9
|
openRemote,
|
|
10
10
|
remoteKey,
|
|
11
11
|
remoteModel
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-WVXEVCMY.js";
|
|
13
13
|
import {
|
|
14
14
|
endpointFetch
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-Y2HZQMNK.js";
|
|
16
16
|
import {
|
|
17
17
|
isTextModelInstalled,
|
|
18
18
|
openEmbedder,
|
|
19
19
|
textModelsDirectory
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-BSPMRKPS.js";
|
|
21
21
|
import {
|
|
22
22
|
CliError
|
|
23
23
|
} from "./chunk-TSHMRHL6.js";
|
|
@@ -25,7 +25,7 @@ import {
|
|
|
25
25
|
__name
|
|
26
26
|
} from "./chunk-ZVVMGPBJ.js";
|
|
27
27
|
|
|
28
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
28
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.751.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_532b02f06c2b2e2f096ad6d107b7f8b7/node_modules/@wirecat/cli-core/dist/services/meeting-model.js
|
|
29
29
|
var integer = /* @__PURE__ */ __name((value, name, max) => {
|
|
30
30
|
if (!Number.isSafeInteger(value) || value < 1 || value > max)
|
|
31
31
|
throw new CliError("validation_error", `Invalid ${name}`);
|
|
@@ -10,7 +10,7 @@ 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.751.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_532b02f06c2b2e2f096ad6d107b7f8b7/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")
|
|
@@ -4,18 +4,18 @@ import {
|
|
|
4
4
|
PLAIN_HTTP_REFUSED,
|
|
5
5
|
modelAddressAllowed,
|
|
6
6
|
onThisComputer
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-Y2HZQMNK.js";
|
|
8
8
|
import {
|
|
9
9
|
readSharedSection,
|
|
10
10
|
sharedConfigPath,
|
|
11
11
|
writeSharedSection
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-F5IGO45Z.js";
|
|
13
13
|
import {
|
|
14
14
|
unit
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-BSPMRKPS.js";
|
|
16
16
|
import {
|
|
17
17
|
storePath
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-FVBZHGFE.js";
|
|
19
19
|
import {
|
|
20
20
|
boolean,
|
|
21
21
|
isoTimestamp,
|
|
@@ -31,10 +31,10 @@ import {
|
|
|
31
31
|
__name
|
|
32
32
|
} from "./chunk-ZVVMGPBJ.js";
|
|
33
33
|
|
|
34
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
34
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.751.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_532b02f06c2b2e2f096ad6d107b7f8b7/node_modules/@wirecat/cli-core/dist/embeddings/remote.js
|
|
35
35
|
import { setTimeout } from "node:timers/promises";
|
|
36
36
|
|
|
37
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
37
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.751.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_532b02f06c2b2e2f096ad6d107b7f8b7/node_modules/@wirecat/cli-core/dist/models/local-only.js
|
|
38
38
|
var SECTION = "local_only";
|
|
39
39
|
var Setting = strictObject({
|
|
40
40
|
on: boolean(),
|
|
@@ -68,7 +68,7 @@ var refuseModelAddress = /* @__PURE__ */ __name((env, address, what) => {
|
|
|
68
68
|
refuseOffComputer(env, address, what);
|
|
69
69
|
}, "refuseModelAddress");
|
|
70
70
|
|
|
71
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
71
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.751.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_532b02f06c2b2e2f096ad6d107b7f8b7/node_modules/@wirecat/cli-core/dist/embeddings/remote.js
|
|
72
72
|
var OPENAI_URL = "https://api.openai.com/v1";
|
|
73
73
|
var OPENAI_MODELS = {
|
|
74
74
|
"text-embedding-3-small": { dims: 1536, perMillion: 0.02 },
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { createRequire as __bundleRequire } from "node:module";
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
|
|
4
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.751.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_532b02f06c2b2e2f096ad6d107b7f8b7/node_modules/@wirecat/cli-core/dist/ports/wirecat-tools.js
|
|
5
5
|
var WIRECAT_TOOLS = [
|
|
6
6
|
{
|
|
7
7
|
command: "tg",
|
|
@@ -321,7 +321,7 @@ var retrying = /* @__PURE__ */ __name((send, options = {}) => {
|
|
|
321
321
|
};
|
|
322
322
|
}, "retrying");
|
|
323
323
|
|
|
324
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
324
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.751.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_532b02f06c2b2e2f096ad6d107b7f8b7/node_modules/@wirecat/cli-core/dist/models/endpoint.js
|
|
325
325
|
var endpoint = /* @__PURE__ */ __name((value) => {
|
|
326
326
|
try {
|
|
327
327
|
const url = new URL(value);
|