@wirecat/hubspot-cli 0.3.2 → 0.4.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/CHANGELOG.md +18 -0
- package/README.md +6 -5
- package/dist/bin/hubspot.js +2 -2
- package/dist/bundle/agent-NST4YXJR.js +40 -0
- package/dist/bundle/{all-profiles-6452VSJB.js → all-profiles-JVEE4PXX.js} +11 -11
- package/dist/bundle/{anthropic-VQUOVYOW.js → anthropic-6HT57GNF.js} +5 -5
- package/dist/bundle/{app-server-EQZUP4H4.js → app-server-FOBFF6G6.js} +68 -68
- package/dist/bundle/{bun-AJPJ4ZUN.js → bun-GW443QB3.js} +2 -2
- package/dist/bundle/{bun-sqlite-AGXGSF6D.js → bun-sqlite-TGIAICDN.js} +6 -6
- package/dist/bundle/{chunk-ARTJLL7W.js → chunk-2BCWK5BF.js} +5 -5
- package/dist/bundle/{chunk-JUKAIXKY.js → chunk-2Q2XIXDL.js} +1 -1
- package/dist/bundle/{chunk-X5S5KUSU.js → chunk-3BM6KBWP.js} +19 -19
- package/dist/bundle/{chunk-J5P5VSRG.js → chunk-3LMW7U7F.js} +8 -8
- package/dist/bundle/{chunk-NNMU2TDU.js → chunk-3MPMYAII.js} +1 -1
- package/dist/bundle/{chunk-WGBVRDY3.js → chunk-3MUHCLRY.js} +25 -3
- package/dist/bundle/{chunk-TIHDBKA7.js → chunk-3SRGN5MQ.js} +2 -2
- package/dist/bundle/{chunk-EMOVVERN.js → chunk-4OPN3KCN.js} +5 -5
- package/dist/bundle/{chunk-6MFP47XC.js → chunk-5G4L6NQJ.js} +35 -35
- package/dist/bundle/{chunk-DQB5JMTY.js → chunk-5KLNBGPU.js} +1 -1
- package/dist/bundle/{chunk-ABXVU5O4.js → chunk-5OBVICFK.js} +8 -1
- package/dist/bundle/{chunk-LKSNISYV.js → chunk-5WKJFMC3.js} +4 -4
- package/dist/bundle/{chunk-B2W3C4N6.js → chunk-5ZVYIA56.js} +5 -5
- package/dist/bundle/{chunk-AF7DANIR.js → chunk-6NUXFVJQ.js} +1 -1
- package/dist/bundle/{chunk-3PEKYGZ3.js → chunk-6ULR7N3T.js} +2 -2
- package/dist/bundle/{chunk-VW5F6FK3.js → chunk-7JVKQ6NM.js} +4 -4
- package/dist/bundle/{chunk-VQEAZXTV.js → chunk-7OJ43BAH.js} +7 -7
- package/dist/bundle/{chunk-PMP37KLR.js → chunk-7QH5BZUG.js} +3 -3
- package/dist/bundle/{chunk-OJIJVOOA.js → chunk-A6PVEUGN.js} +16 -16
- package/dist/bundle/{chunk-FIVD4HM4.js → chunk-AT43MYQL.js} +8 -8
- package/dist/bundle/{chunk-3R4KRNUZ.js → chunk-ATGD64VO.js} +8 -8
- package/dist/bundle/{chunk-DSRXCLPO.js → chunk-AV2ZJ4WX.js} +1 -1
- package/dist/bundle/{chunk-3DIXAEGH.js → chunk-BXZRSXBL.js} +3 -3
- package/dist/bundle/{chunk-5K3FGXZH.js → chunk-CFQQTDSA.js} +1 -1
- package/dist/bundle/{chunk-KO4VR5NK.js → chunk-DBPFHJXX.js} +4 -4
- package/dist/bundle/{chunk-GRFICQTZ.js → chunk-DG4RBKIV.js} +1 -1
- package/dist/bundle/{chunk-5AYKCKSE.js → chunk-E33KM3DB.js} +11 -11
- package/dist/bundle/{chunk-5ZV7REBE.js → chunk-EBJYK7UM.js} +63 -60
- package/dist/bundle/{chunk-GZZR5U3K.js → chunk-ETKLP4VE.js} +12 -12
- package/dist/bundle/{chunk-BN22EKQQ.js → chunk-EU7AVWSX.js} +2 -2
- package/dist/bundle/{chunk-PLRUUXK7.js → chunk-F3HJ2E3P.js} +6 -6
- package/dist/bundle/{chunk-B3EH22CO.js → chunk-F4ZLRS4B.js} +1 -1
- package/dist/bundle/{chunk-5PPG73G6.js → chunk-FK4LEJZM.js} +3 -3
- package/dist/bundle/{chunk-M763RNWP.js → chunk-FOLKK6FW.js} +13 -13
- package/dist/bundle/{chunk-NTQBS2JL.js → chunk-FWW2CUXH.js} +4 -4
- package/dist/bundle/{chunk-SEELWPRD.js → chunk-GJSHLF43.js} +8 -8
- package/dist/bundle/{chunk-CBCEMFCF.js → chunk-GOOXUCJW.js} +2 -2
- package/dist/bundle/{chunk-BUGROVF3.js → chunk-HM6AMYHR.js} +2 -2
- package/dist/bundle/{chunk-PHXOL5HZ.js → chunk-HM72O37C.js} +156 -156
- package/dist/bundle/{chunk-KVXEEKBB.js → chunk-HPRKSL5S.js} +2 -2
- package/dist/bundle/{chunk-3TEFE6YU.js → chunk-HQYJ66ZX.js} +7 -7
- package/dist/bundle/{chunk-3I2FGNWO.js → chunk-HVXOA4FO.js} +1 -1
- package/dist/bundle/{chunk-IBTMK5KD.js → chunk-IED6MKPU.js} +25 -25
- package/dist/bundle/{chunk-LA3YU4K7.js → chunk-JKNUCEII.js} +1 -1
- package/dist/bundle/{chunk-IQ2XZ62J.js → chunk-JWO3PB5Z.js} +18 -18
- package/dist/bundle/{chunk-BAUK2MD5.js → chunk-K4DWBOO6.js} +43 -64
- package/dist/bundle/{chunk-YIF5M5R6.js → chunk-LS4S7PAP.js} +3 -3
- package/dist/bundle/{chunk-RVWGFD32.js → chunk-LX7QMRRG.js} +13 -13
- package/dist/bundle/{chunk-WCQW4GYO.js → chunk-M25KVDHA.js} +24 -8
- package/dist/bundle/{chunk-L433IDOX.js → chunk-MQACXJLG.js} +8 -8
- package/dist/bundle/{chunk-7VHBS5BJ.js → chunk-N4EIJ53V.js} +2 -2
- package/dist/bundle/{chunk-O3VM5PTJ.js → chunk-NL3RKJR6.js} +1 -1
- package/dist/bundle/{chunk-LT5KE44Q.js → chunk-NLZADZ4F.js} +61 -61
- package/dist/bundle/{chunk-E4X7JAFC.js → chunk-OLDIP4CV.js} +3 -3
- package/dist/bundle/{chunk-AVUMH42T.js → chunk-PKFLSX5F.js} +8 -8
- package/dist/bundle/{chunk-IXZLMFPO.js → chunk-PMJCZIV4.js} +1 -1
- package/dist/bundle/{chunk-NZGI74GS.js → chunk-PQUZ2YDC.js} +6 -6
- package/dist/bundle/{chunk-TKK3ECDS.js → chunk-Q7DIEU6L.js} +7 -7
- package/dist/bundle/{chunk-E4FAMU2S.js → chunk-QIFCH5DZ.js} +347 -313
- package/dist/bundle/{chunk-WRCKE5ND.js → chunk-QJHRRJKD.js} +3 -3
- package/dist/bundle/{chunk-7UEL65GQ.js → chunk-QNQ4V4UT.js} +8 -8
- package/dist/bundle/{chunk-JP2HJXFO.js → chunk-QODPEZC5.js} +3 -3
- package/dist/bundle/{chunk-ODPU3II6.js → chunk-QV4GDVBN.js} +8 -8
- package/dist/bundle/{chunk-2A64XS22.js → chunk-RFGIUCKU.js} +3 -3
- package/dist/bundle/{chunk-GC6FLHZF.js → chunk-T3GZKV5A.js} +12 -12
- package/dist/bundle/{chunk-HPZRUY6S.js → chunk-TAF4PKDS.js} +1 -1
- package/dist/bundle/{chunk-K4X5ZHI2.js → chunk-UHHXZKB2.js} +16 -16
- package/dist/bundle/{chunk-4DNHXRCJ.js → chunk-UIWWAT3C.js} +7 -7
- package/dist/bundle/{chunk-ITGNDZRR.js → chunk-V23OHBGM.js} +3 -3
- package/dist/bundle/{chunk-U6XA3OOM.js → chunk-V2B2OWTC.js} +2 -2
- package/dist/bundle/{chunk-2NCO4E4T.js → chunk-VDAYIXV4.js} +6 -6
- package/dist/bundle/{chunk-7NZT7Y55.js → chunk-VMF2UIQI.js} +1 -1
- package/dist/bundle/{chunk-QBEDVMLZ.js → chunk-W5X37TBC.js} +2 -2
- package/dist/bundle/{chunk-EE4JSYGZ.js → chunk-WATDMTDC.js} +3 -3
- package/dist/bundle/{chunk-Q27QAB4X.js → chunk-WBUVNKHJ.js} +7 -7
- package/dist/bundle/{chunk-7LQRXVQ3.js → chunk-WLFYEAZ6.js} +978 -548
- package/dist/bundle/{chunk-5YNAVVCW.js → chunk-X5U7GLHD.js} +3 -3
- package/dist/bundle/{chunk-JK2SNLU5.js → chunk-XCDRFC6G.js} +17 -17
- package/dist/bundle/{chunk-DJ2GJ77D.js → chunk-XDDTJYGA.js} +434 -371
- package/dist/bundle/{chunk-2PRVWEJC.js → chunk-XJVFXHDI.js} +2 -2
- package/dist/bundle/{chunk-2HYGCLKN.js → chunk-XMWMA2N5.js} +77 -38
- package/dist/bundle/{chunk-BHZUPOQY.js → chunk-YYYRE4AV.js} +26 -26
- package/dist/bundle/{chunk-DW23LM47.js → chunk-Z3YOKGVZ.js} +2 -2
- package/dist/bundle/{chunk-A6UFH3QU.js → chunk-Z4PY5BDP.js} +4 -4
- package/dist/bundle/command-contract-LYX2QNIA.js +40 -0
- package/dist/bundle/{command-server-entry-GJSMDSNE.js → command-server-entry-OJQ55UA2.js} +28 -28
- package/dist/bundle/{decode-6PLXHVHW.js → decode-CDQDRPRJ.js} +5 -5
- package/dist/bundle/{dispatch-TAQ7635E.js → dispatch-JQBAZWCL.js} +8 -8
- package/dist/bundle/{echarts-UZ7QLRE2.js → echarts-GJ5JJG2A.js} +2 -2
- package/dist/bundle/{embed-AWLL4EBF.js → embed-BUQXGMKR.js} +6 -6
- package/dist/bundle/{embedder-MM225YJ6.js → embedder-FCX6LE4O.js} +9 -9
- package/dist/bundle/{failure-MR2XVHFP.js → failure-I6AAF5R5.js} +2 -2
- package/dist/bundle/{first-run-KCZVNFJ7.js → first-run-RPYEXXQK.js} +12 -12
- package/dist/bundle/first-screen-Y4EH3HZS.js +40 -0
- package/dist/bundle/hubspot.js +25 -25
- package/dist/bundle/{instructions-ZJ7U3QUE.js → instructions-LPVTPERS.js} +1 -1
- package/dist/bundle/{mcp-CNV7F2XZ.js → mcp-YGOAUNC3.js} +2 -2
- package/dist/bundle/meeting-combined-FEEVVUGC.js +25 -0
- package/dist/bundle/{meeting-model-OYXB2NOE.js → meeting-model-TRGBEWCY.js} +11 -11
- package/dist/bundle/{meeting-semantic-S3DBB7XD.js → meeting-semantic-RSF5KNKD.js} +6 -6
- package/dist/bundle/{node-HGCZGZ4R.js → node-UAT3EIAP.js} +2 -2
- package/dist/bundle/{node-sqlite-RKYSRKEB.js → node-sqlite-3HKDQNFD.js} +7 -7
- package/dist/bundle/{oauth-PYDCAQ7Y.js → oauth-DYW2NSZP.js} +7 -7
- package/dist/bundle/{open-UCDSQUN2.js → open-KBRXJ5BC.js} +5 -5
- package/dist/bundle/{openai-Y4F5ZC7O.js → openai-YNCLRTSK.js} +15 -15
- package/dist/bundle/{process-P7FB7YO7.js → process-63BB7LKP.js} +1 -1
- package/dist/bundle/{program-VKYZXANH.js → program-VX52OB3O.js} +132 -98
- package/dist/bundle/{prompt-E5TKZ37Q.js → prompt-TWLJ3M2O.js} +5 -5
- package/dist/bundle/{recognize-5NYPTSLT.js → recognize-GQ6DLGE7.js} +4 -4
- package/dist/bundle/{remote-U4LUAHF2.js → remote-RKNSF3TT.js} +9 -9
- package/dist/bundle/{rerank-AJAVKK5L.js → rerank-H4HSGQUJ.js} +7 -7
- package/dist/bundle/{schemas-QLQ2K6DL.js → schemas-LDK7O6VW.js} +1 -1
- package/dist/bundle/{serve-4UJ3R5IP.js → serve-4ZNIAL7H.js} +9 -9
- package/dist/bundle/server-3IYIZEEQ.js +86 -0
- package/dist/bundle/{server-DUKWJUKD.js → server-4G4QB3QN.js} +60 -60
- package/dist/bundle/{source-LJG4BWRU.js → source-2UCNCCO7.js} +79 -79
- package/dist/bundle/{sqlite-runtime-KLEA4XAU.js → sqlite-runtime-C2JYC7JF.js} +6 -6
- package/dist/bundle/{state-COGSYMVH.js → state-3KDXCXHG.js} +6 -6
- package/dist/bundle/store-2MNUHHZC.js +32 -0
- package/dist/bundle/{store-V5UMSWK4.js → store-J5FQBZYR.js} +26 -22
- package/dist/bundle/{store-BJXCSP26.js → store-LXLG5HTS.js} +24 -24
- package/dist/bundle/store-maintenance-command-DDB7TR6V.js +73 -0
- package/dist/bundle/surface-ZTZANYKC.js +72 -0
- package/dist/bundle/writer-X7PGBLDH.js +86 -0
- package/dist/config.d.ts +1 -0
- package/dist/config.d.ts.map +1 -1
- package/dist/config.js +56 -8
- package/dist/config.js.map +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +3 -3
- package/skills/hubspot-cli/references/api/api-basic.md +34 -6
- package/skills/hubspot-cli/references/api/api-batch.md +19 -9
- package/skills/hubspot-cli/references/api/api-search.md +9 -0
- package/dist/bundle/agent-A7ARC3QB.js +0 -40
- package/dist/bundle/command-contract-R2FGN7CQ.js +0 -40
- package/dist/bundle/first-screen-SCDV7TXT.js +0 -40
- package/dist/bundle/meeting-combined-EL5XZIJ5.js +0 -25
- package/dist/bundle/server-UQVV2PPX.js +0 -86
- package/dist/bundle/store-7DQGZH64.js +0 -32
- package/dist/bundle/store-maintenance-command-DQUBBWMD.js +0 -73
- package/dist/bundle/surface-IGBQUYE5.js +0 -72
- package/dist/bundle/writer-QOEJONAD.js +0 -86
|
@@ -3,15 +3,15 @@ const require = __bundleRequire(import.meta.url);
|
|
|
3
3
|
import {
|
|
4
4
|
answerOf,
|
|
5
5
|
messengerContext
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-UHHXZKB2.js";
|
|
7
7
|
import {
|
|
8
8
|
chatEventAnswer,
|
|
9
9
|
memberAnswer,
|
|
10
10
|
pollVoteAnswer
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-QV4GDVBN.js";
|
|
12
12
|
import {
|
|
13
13
|
serveRelay
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-5ZVYIA56.js";
|
|
15
15
|
import {
|
|
16
16
|
FETCHING,
|
|
17
17
|
RULES_VERSION,
|
|
@@ -28,20 +28,20 @@ import {
|
|
|
28
28
|
servicesFor,
|
|
29
29
|
syncsOneChat,
|
|
30
30
|
withTimeLimit
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-QIFCH5DZ.js";
|
|
32
32
|
import {
|
|
33
33
|
capability,
|
|
34
34
|
queryTerms,
|
|
35
35
|
typedQuery,
|
|
36
36
|
withQuery
|
|
37
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-FOLKK6FW.js";
|
|
38
38
|
import {
|
|
39
39
|
holdLock,
|
|
40
40
|
lockPath,
|
|
41
41
|
releaseLock,
|
|
42
42
|
servingProfiles,
|
|
43
43
|
takeLock
|
|
44
|
-
} from "./chunk-
|
|
44
|
+
} from "./chunk-X5U7GLHD.js";
|
|
45
45
|
import {
|
|
46
46
|
Command,
|
|
47
47
|
LOCAL_READ,
|
|
@@ -68,10 +68,10 @@ import {
|
|
|
68
68
|
snakeKeys,
|
|
69
69
|
storeTable,
|
|
70
70
|
withoutProviderRefs
|
|
71
|
-
} from "./chunk-
|
|
71
|
+
} from "./chunk-HM72O37C.js";
|
|
72
72
|
import {
|
|
73
73
|
holdersOf
|
|
74
|
-
} from "./chunk-
|
|
74
|
+
} from "./chunk-PMJCZIV4.js";
|
|
75
75
|
import {
|
|
76
76
|
QUICK_HEALTH_CHECKS,
|
|
77
77
|
fts5Tables,
|
|
@@ -79,7 +79,7 @@ import {
|
|
|
79
79
|
lossUnknown,
|
|
80
80
|
storeDamageReport,
|
|
81
81
|
storeHealth
|
|
82
|
-
} from "./chunk-
|
|
82
|
+
} from "./chunk-XCDRFC6G.js";
|
|
83
83
|
import {
|
|
84
84
|
CORPORA,
|
|
85
85
|
MIGRATIONS,
|
|
@@ -103,6 +103,7 @@ import {
|
|
|
103
103
|
readStoreTables,
|
|
104
104
|
rebuildMentions,
|
|
105
105
|
resetAttachmentWords,
|
|
106
|
+
resetContentPostWords,
|
|
106
107
|
resetCrmFileWords,
|
|
107
108
|
resetNoteIndex,
|
|
108
109
|
resetSearchIndex,
|
|
@@ -116,55 +117,55 @@ import {
|
|
|
116
117
|
storeClients,
|
|
117
118
|
storeContents,
|
|
118
119
|
vectorIndexCounts
|
|
119
|
-
} from "./chunk-
|
|
120
|
+
} from "./chunk-WLFYEAZ6.js";
|
|
120
121
|
import {
|
|
121
122
|
currentRun,
|
|
122
123
|
readDamageMark,
|
|
123
124
|
readHealthMark,
|
|
124
125
|
readJournalMark,
|
|
125
126
|
recordDeepCheck
|
|
126
|
-
} from "./chunk-
|
|
127
|
+
} from "./chunk-IED6MKPU.js";
|
|
127
128
|
import {
|
|
128
129
|
failureKey,
|
|
129
130
|
isStoreDamage
|
|
130
|
-
} from "./chunk-
|
|
131
|
+
} from "./chunk-Z3YOKGVZ.js";
|
|
131
132
|
import {
|
|
132
133
|
modelAddressAllowed,
|
|
133
134
|
onThisComputer
|
|
134
|
-
} from "./chunk-
|
|
135
|
+
} from "./chunk-M25KVDHA.js";
|
|
135
136
|
import {
|
|
136
137
|
readSharedSection,
|
|
137
138
|
sharedConfigPath,
|
|
138
139
|
writeSharedSection
|
|
139
|
-
} from "./chunk-
|
|
140
|
+
} from "./chunk-UIWWAT3C.js";
|
|
140
141
|
import {
|
|
141
142
|
renderMessages
|
|
142
|
-
} from "./chunk-
|
|
143
|
+
} from "./chunk-3SRGN5MQ.js";
|
|
143
144
|
import {
|
|
144
145
|
levelFor
|
|
145
|
-
} from "./chunk-
|
|
146
|
+
} from "./chunk-HQYJ66ZX.js";
|
|
146
147
|
import {
|
|
147
148
|
formatLocator,
|
|
148
149
|
parseLocator
|
|
149
|
-
} from "./chunk-
|
|
150
|
+
} from "./chunk-T3GZKV5A.js";
|
|
150
151
|
import {
|
|
151
152
|
queryFieldsOf
|
|
152
|
-
} from "./chunk-
|
|
153
|
+
} from "./chunk-NLZADZ4F.js";
|
|
153
154
|
import {
|
|
154
155
|
readSecret
|
|
155
|
-
} from "./chunk-
|
|
156
|
+
} from "./chunk-V23OHBGM.js";
|
|
156
157
|
import {
|
|
157
158
|
storePath
|
|
158
|
-
} from "./chunk-
|
|
159
|
+
} from "./chunk-6ULR7N3T.js";
|
|
159
160
|
import {
|
|
160
161
|
openCache
|
|
161
|
-
} from "./chunk-
|
|
162
|
+
} from "./chunk-PQUZ2YDC.js";
|
|
162
163
|
import {
|
|
163
164
|
Credentials,
|
|
164
165
|
isMovedRun,
|
|
165
166
|
resolvePaths,
|
|
166
167
|
writeSecurely
|
|
167
|
-
} from "./chunk-
|
|
168
|
+
} from "./chunk-3BM6KBWP.js";
|
|
168
169
|
import {
|
|
169
170
|
array,
|
|
170
171
|
boolean,
|
|
@@ -189,7 +190,7 @@ import {
|
|
|
189
190
|
} from "./chunk-S4UUN6LD.js";
|
|
190
191
|
import {
|
|
191
192
|
CliError
|
|
192
|
-
} from "./chunk-
|
|
193
|
+
} from "./chunk-HM6AMYHR.js";
|
|
193
194
|
import {
|
|
194
195
|
__commonJS,
|
|
195
196
|
__name,
|
|
@@ -5529,11 +5530,11 @@ var require_liquid_node = __commonJS({
|
|
|
5529
5530
|
}
|
|
5530
5531
|
});
|
|
5531
5532
|
|
|
5532
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5533
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.705.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1668a48934ee0d2606b0d61251c2625b/node_modules/@wirecat/cli-core/dist/cli/messenger/store-maintenance-command.js
|
|
5533
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";
|
|
5534
5535
|
import { dirname as dirname3, resolve } from "node:path";
|
|
5535
5536
|
|
|
5536
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5537
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.705.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1668a48934ee0d2606b0d61251c2625b/node_modules/@wirecat/cli-core/dist/sealed.js
|
|
5537
5538
|
import { createCipheriv, createDecipheriv, createHash, randomBytes, scrypt, timingSafeEqual } from "node:crypto";
|
|
5538
5539
|
import { closeSync, createReadStream, createWriteStream, existsSync, openSync, readSync, renameSync, rmSync, statSync } from "node:fs";
|
|
5539
5540
|
import { Transform } from "node:stream";
|
|
@@ -5640,7 +5641,7 @@ var unsealFile = /* @__PURE__ */ __name(async (from, to, password) => {
|
|
|
5640
5641
|
renameSync(pending, to);
|
|
5641
5642
|
}, "unsealFile");
|
|
5642
5643
|
|
|
5643
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5644
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.705.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1668a48934ee0d2606b0d61251c2625b/node_modules/@wirecat/cli-core/dist/store/compatibility.js
|
|
5644
5645
|
var SPEAKS = MIGRATIONS.at(-1)?.version ?? 0;
|
|
5645
5646
|
var fileSchemaOf = /* @__PURE__ */ __name((database) => {
|
|
5646
5647
|
const tracked = database.prepare("SELECT 1 FROM sqlite_master WHERE name = 'schema_migrations'").get();
|
|
@@ -5664,7 +5665,7 @@ var compatibilityOf = /* @__PURE__ */ __name((file2, migrations = MIGRATIONS) =>
|
|
|
5664
5665
|
};
|
|
5665
5666
|
}, "compatibilityOf");
|
|
5666
5667
|
|
|
5667
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5668
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.705.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1668a48934ee0d2606b0d61251c2625b/node_modules/@wirecat/cli-core/dist/store/repair.js
|
|
5668
5669
|
import { createHash as createHash2 } from "node:crypto";
|
|
5669
5670
|
var COPY_MARK = "__repair_";
|
|
5670
5671
|
var COPY_NAME = /__repair_[0-9a-f]{8}(_\d+)?$/;
|
|
@@ -5918,19 +5919,19 @@ var deleteCopy = /* @__PURE__ */ __name((database, name) => {
|
|
|
5918
5919
|
return found;
|
|
5919
5920
|
}, "deleteCopy");
|
|
5920
5921
|
|
|
5921
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5922
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.705.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1668a48934ee0d2606b0d61251c2625b/node_modules/@wirecat/cli-core/dist/cli/store-info.js
|
|
5922
5923
|
import { existsSync as existsSync4, statSync as statSync3 } from "node:fs";
|
|
5923
5924
|
|
|
5924
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5925
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.705.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1668a48934ee0d2606b0d61251c2625b/node_modules/@wirecat/cli-core/dist/cli/store-recover.js
|
|
5925
5926
|
import { existsSync as existsSync3 } from "node:fs";
|
|
5926
5927
|
|
|
5927
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5928
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.705.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1668a48934ee0d2606b0d61251c2625b/node_modules/@wirecat/cli-core/dist/store/recover.js
|
|
5928
5929
|
import { execFileSync, spawn } from "node:child_process";
|
|
5929
5930
|
import { existsSync as existsSync2, readFileSync, realpathSync, renameSync as renameSync2, rmSync as rmSync2, statfsSync, statSync as statSync2, writeFileSync } from "node:fs";
|
|
5930
5931
|
import { basename, dirname, join } from "node:path";
|
|
5931
5932
|
import { Transform as Transform2 } from "node:stream";
|
|
5932
5933
|
|
|
5933
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5934
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.705.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1668a48934ee0d2606b0d61251c2625b/node_modules/@wirecat/cli-core/dist/store/refill.js
|
|
5934
5935
|
var REFILL_MARGIN_MS = 864e5;
|
|
5935
5936
|
var TIME_KEYS = 1e12;
|
|
5936
5937
|
var integerId = `external_id GLOB '[0-9]*' AND NOT external_id GLOB '*[^0-9]*'`;
|
|
@@ -6010,7 +6011,7 @@ var forgetMail = /* @__PURE__ */ __name((database, cutoff, now) => {
|
|
|
6010
6011
|
return [...folders].map(([account, count3]) => ({ account, folders: count3 }));
|
|
6011
6012
|
}, "forgetMail");
|
|
6012
6013
|
|
|
6013
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6014
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.705.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1668a48934ee0d2606b0d61251c2625b/node_modules/@wirecat/cli-core/dist/store/recover.js
|
|
6014
6015
|
var SQLITE3_MINIMUM = [3, 43, 0];
|
|
6015
6016
|
var STORE_PARTS = ["", "-wal", "-shm"];
|
|
6016
6017
|
var RECOVER_LOCK = ".recover-lock";
|
|
@@ -6289,6 +6290,7 @@ var FILLERS = {
|
|
|
6289
6290
|
attachment_words: /* @__PURE__ */ __name((database) => void resetAttachmentWords(database), "attachment_words"),
|
|
6290
6291
|
crm_file_words: /* @__PURE__ */ __name((database) => void resetCrmFileWords(database), "crm_file_words"),
|
|
6291
6292
|
tracker_item_words: /* @__PURE__ */ __name((database) => void resetTrackerItemWords(database), "tracker_item_words"),
|
|
6293
|
+
content_post_words: /* @__PURE__ */ __name((database) => void resetContentPostWords(database), "content_post_words"),
|
|
6292
6294
|
attachment_name_words: /* @__PURE__ */ __name((database) => (
|
|
6293
6295
|
// As migration 20 filled it: й and ё fold as the triggers fold them.
|
|
6294
6296
|
database.exec("INSERT INTO attachment_name_words (rowid, name) SELECT id, replace(replace(replace(replace(name, '\u0439', '\u0438'), '\u0419', '\u0418'), '\u0451', '\u0435'), '\u0401', '\u0415') FROM attachments WHERE name IS NOT NULL")
|
|
@@ -6540,7 +6542,7 @@ var recoverLocked = /* @__PURE__ */ __name(async ({ path, command, version, sqli
|
|
|
6540
6542
|
}
|
|
6541
6543
|
}, "recoverLocked");
|
|
6542
6544
|
|
|
6543
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6545
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.705.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1668a48934ee0d2606b0d61251c2625b/node_modules/@wirecat/cli-core/dist/cli/store-recover.js
|
|
6544
6546
|
var COUNTED = [
|
|
6545
6547
|
"accounts",
|
|
6546
6548
|
"chats",
|
|
@@ -6696,7 +6698,7 @@ var storeRecoverCommand = /* @__PURE__ */ __name(({ command, version }) => {
|
|
|
6696
6698
|
return recover;
|
|
6697
6699
|
}, "storeRecoverCommand");
|
|
6698
6700
|
|
|
6699
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6701
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.705.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1668a48934ee0d2606b0d61251c2625b/node_modules/@wirecat/cli-core/dist/cli/store-info.js
|
|
6700
6702
|
var pendingIfKnown = /* @__PURE__ */ __name((database) => database.prepare("SELECT 1 FROM pragma_table_info('messages') WHERE name = 'normalized_text'").get() ? pendingNormalization(database) : null, "pendingIfKnown");
|
|
6701
6703
|
var bytesOf = /* @__PURE__ */ __name((path) => existsSync4(path) ? statSync3(path).size : 0, "bytesOf");
|
|
6702
6704
|
var messageOf = /* @__PURE__ */ __name((error) => error instanceof Error ? error.message : String(error), "messageOf");
|
|
@@ -6742,7 +6744,7 @@ var storeInfoCommand = /* @__PURE__ */ __name(() => annotate(new Command("info")
|
|
|
6742
6744
|
renderAnswer(this, outputFor(this), itemOf(answer));
|
|
6743
6745
|
}), "storeInfoCommand");
|
|
6744
6746
|
|
|
6745
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6747
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.705.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1668a48934ee0d2606b0d61251c2625b/node_modules/@wirecat/cli-core/dist/cli/messenger/password.js
|
|
6746
6748
|
var ENCRYPT_OPTION = [
|
|
6747
6749
|
"--encrypt",
|
|
6748
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"
|
|
@@ -6761,7 +6763,7 @@ var passwordOf = /* @__PURE__ */ __name(async (command, { twice }) => {
|
|
|
6761
6763
|
return password;
|
|
6762
6764
|
}, "passwordOf");
|
|
6763
6765
|
|
|
6764
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6766
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.705.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1668a48934ee0d2606b0d61251c2625b/node_modules/@wirecat/cli-core/dist/replies/rules.js
|
|
6765
6767
|
import { existsSync as existsSync5, readFileSync as readFileSync2 } from "node:fs";
|
|
6766
6768
|
import { join as join2 } from "node:path";
|
|
6767
6769
|
var REPLY_ACTIONS = ["reply", "task"];
|
|
@@ -6932,7 +6934,7 @@ var problem = /* @__PURE__ */ __name((issue) => {
|
|
|
6932
6934
|
}, "problem");
|
|
6933
6935
|
var broken = /* @__PURE__ */ __name((path, why) => new CliError("configuration_error", `the reply rules ${path} cannot be read (${why}) \u2014 fix the file`), "broken");
|
|
6934
6936
|
|
|
6935
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6937
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.705.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1668a48934ee0d2606b0d61251c2625b/node_modules/@wirecat/cli-core/dist/replies/state.js
|
|
6936
6938
|
import { existsSync as existsSync6, readFileSync as readFileSync3 } from "node:fs";
|
|
6937
6939
|
import { join as join3 } from "node:path";
|
|
6938
6940
|
var ANSWERED_KEPT = 1e3;
|
|
@@ -6985,7 +6987,7 @@ var recordReply = /* @__PURE__ */ __name((state, rule2, message, now) => {
|
|
|
6985
6987
|
}, "recordReply");
|
|
6986
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");
|
|
6987
6989
|
|
|
6988
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6990
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.705.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1668a48934ee0d2606b0d61251c2625b/node_modules/@wirecat/cli-core/dist/replies/decide.js
|
|
6989
6991
|
var skip = /* @__PURE__ */ __name((why) => ({ skip: why }), "skip");
|
|
6990
6992
|
var decide = /* @__PURE__ */ __name((rule2, incoming, state, now) => {
|
|
6991
6993
|
const { message, chat, owner, sender } = incoming;
|
|
@@ -7091,10 +7093,10 @@ var filled = /* @__PURE__ */ __name((template2, senderName) => {
|
|
|
7091
7093
|
return template2.replaceAll("{firstName}", name.split(/\s+/)[0] ?? name).replaceAll("{name}", name);
|
|
7092
7094
|
}, "filled");
|
|
7093
7095
|
|
|
7094
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7096
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.705.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1668a48934ee0d2606b0d61251c2625b/node_modules/@wirecat/cli-core/dist/replies/template.js
|
|
7095
7097
|
var import_liquidjs2 = __toESM(require_liquid_node(), 1);
|
|
7096
7098
|
|
|
7097
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7099
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.705.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1668a48934ee0d2606b0d61251c2625b/node_modules/@wirecat/cli-core/dist/render/liquid.js
|
|
7098
7100
|
var import_liquidjs = __toESM(require_liquid_node(), 1);
|
|
7099
7101
|
var safeLiquid = /* @__PURE__ */ __name((limits) => {
|
|
7100
7102
|
const engine = new import_liquidjs.Liquid({
|
|
@@ -7121,7 +7123,7 @@ var safeLiquid = /* @__PURE__ */ __name((limits) => {
|
|
|
7121
7123
|
return engine;
|
|
7122
7124
|
}, "safeLiquid");
|
|
7123
7125
|
|
|
7124
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7126
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.705.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1668a48934ee0d2606b0d61251c2625b/node_modules/@wirecat/cli-core/dist/replies/template.js
|
|
7125
7127
|
var TEMPLATE_LIMITS = {
|
|
7126
7128
|
parse: 32768,
|
|
7127
7129
|
renders: 2e3,
|
|
@@ -7260,7 +7262,7 @@ var renderReplyTemplate = /* @__PURE__ */ __name(async (reply, input) => {
|
|
|
7260
7262
|
}
|
|
7261
7263
|
}, "renderReplyTemplate");
|
|
7262
7264
|
|
|
7263
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7265
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.705.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1668a48934ee0d2606b0d61251c2625b/node_modules/@wirecat/cli-core/dist/replies/dry-run.js
|
|
7264
7266
|
var DRY_RUN_DAYS = 7;
|
|
7265
7267
|
var PAGE = 500;
|
|
7266
7268
|
var dryRun = /* @__PURE__ */ __name(async (store, account, rules, { since, until = Date.now(), only, audience, render }) => {
|
|
@@ -7374,7 +7376,7 @@ var storedSince = /* @__PURE__ */ __name(async (store, account, chat, since) =>
|
|
|
7374
7376
|
}
|
|
7375
7377
|
}, "storedSince");
|
|
7376
7378
|
|
|
7377
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7379
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.705.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1668a48934ee0d2606b0d61251c2625b/node_modules/@wirecat/cli-core/dist/models/ai.js
|
|
7378
7380
|
var AI_PROVIDERS = ["anthropic", "openai", "ollama"];
|
|
7379
7381
|
var DEFAULT_BASE_URL = {
|
|
7380
7382
|
anthropic: "https://api.anthropic.com",
|
|
@@ -7524,7 +7526,7 @@ var checkAi = /* @__PURE__ */ __name(async (deps) => {
|
|
|
7524
7526
|
}
|
|
7525
7527
|
}, "checkAi");
|
|
7526
7528
|
|
|
7527
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7529
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.705.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1668a48934ee0d2606b0d61251c2625b/node_modules/@wirecat/cli-core/dist/models/purpose.js
|
|
7528
7530
|
var HOSTED = {
|
|
7529
7531
|
openai: "https://api.openai.com/v1",
|
|
7530
7532
|
anthropic: "https://api.anthropic.com"
|
|
@@ -7545,7 +7547,7 @@ var purposeModel = /* @__PURE__ */ __name((settings, purpose, deps) => {
|
|
|
7545
7547
|
return shared ? { target: shared.target, key: /* @__PURE__ */ __name(() => shared.key, "key"), shared: shared.setting } : void 0;
|
|
7546
7548
|
}, "purposeModel");
|
|
7547
7549
|
|
|
7548
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7550
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.705.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1668a48934ee0d2606b0d61251c2625b/node_modules/@wirecat/cli-core/dist/replies/consents.js
|
|
7549
7551
|
import { existsSync as existsSync7, readFileSync as readFileSync4 } from "node:fs";
|
|
7550
7552
|
import { join as join4 } from "node:path";
|
|
7551
7553
|
var shape = strictObject({
|
|
@@ -7570,7 +7572,7 @@ var mayModelReply = /* @__PURE__ */ __name((path, provider, chat) => {
|
|
|
7570
7572
|
return consent.provider === provider && !consent.deniedChats.includes(chat);
|
|
7571
7573
|
}, "mayModelReply");
|
|
7572
7574
|
|
|
7573
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7575
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.705.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1668a48934ee0d2606b0d61251c2625b/node_modules/@wirecat/cli-core/dist/replies/rendering.js
|
|
7574
7576
|
var replyRenderer = /* @__PURE__ */ __name((app, profile, settings, env, warn, options = {
|
|
7575
7577
|
ai: true
|
|
7576
7578
|
}) => async (rule2, message, chat, now) => {
|
|
@@ -7618,7 +7620,7 @@ var replyRenderer = /* @__PURE__ */ __name((app, profile, settings, env, warn, o
|
|
|
7618
7620
|
return result2;
|
|
7619
7621
|
}, "replyRenderer");
|
|
7620
7622
|
|
|
7621
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7623
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.705.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1668a48934ee0d2606b0d61251c2625b/node_modules/@wirecat/cli-core/dist/replies/serve.js
|
|
7622
7624
|
var NOT_ALLOWED = "replies.send is not allow";
|
|
7623
7625
|
var NO_RULES = "no rules";
|
|
7624
7626
|
var ONLY_TASK = "opened a task, sent nothing";
|
|
@@ -7711,7 +7713,7 @@ var replyTo = /* @__PURE__ */ __name(async (deps, message) => {
|
|
|
7711
7713
|
return { skip: why };
|
|
7712
7714
|
}, "replyTo");
|
|
7713
7715
|
|
|
7714
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7716
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.705.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1668a48934ee0d2606b0d61251c2625b/node_modules/@wirecat/cli-core/dist/cli/messenger/serve-catch-up.js
|
|
7715
7717
|
var START_SYNC_DELAY_MS = 3e4;
|
|
7716
7718
|
var START_SYNC_BUDGET_MS = 5 * 6e4;
|
|
7717
7719
|
var START_SYNC_WINDOW_MS = 7 * 864e5;
|
|
@@ -7788,7 +7790,7 @@ var startSync = /* @__PURE__ */ __name(({ chats, newestHeld, fetch, note, warn,
|
|
|
7788
7790
|
};
|
|
7789
7791
|
}, "startSync");
|
|
7790
7792
|
|
|
7791
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7793
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.705.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1668a48934ee0d2606b0d61251c2625b/node_modules/@wirecat/cli-core/dist/cli/messenger/serve-members.js
|
|
7792
7794
|
var FIRST_FETCH_MS = 6e4;
|
|
7793
7795
|
var DAY_MS = 864e5;
|
|
7794
7796
|
var memberFetches = /* @__PURE__ */ __name(({ withStore, fetch, warn, firstMs = FIRST_FETCH_MS, everyMs = DAY_MS }) => {
|
|
@@ -7842,7 +7844,7 @@ var memberFetches = /* @__PURE__ */ __name(({ withStore, fetch, warn, firstMs =
|
|
|
7842
7844
|
};
|
|
7843
7845
|
}, "memberFetches");
|
|
7844
7846
|
|
|
7845
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7847
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.705.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1668a48934ee0d2606b0d61251c2625b/node_modules/@wirecat/cli-core/dist/cli/messenger/serve-notice.js
|
|
7846
7848
|
var record2 = /* @__PURE__ */ __name((context, app, severity, attributes) => recordLogFor(context.streams.diagnostic, app, { command: currentRun().command || "serve" })[severity](attributes), "record");
|
|
7847
7849
|
var noticeFor = /* @__PURE__ */ __name((context, app, severity = "warn") => ({ text, ...attributes }) => {
|
|
7848
7850
|
if (context.format === "pretty") {
|
|
@@ -7875,7 +7877,7 @@ var recordDiagnostics = /* @__PURE__ */ __name((context, app) => {
|
|
|
7875
7877
|
return context;
|
|
7876
7878
|
}, "recordDiagnostics");
|
|
7877
7879
|
|
|
7878
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7880
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.705.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1668a48934ee0d2606b0d61251c2625b/node_modules/@wirecat/cli-core/dist/cli/messenger/serve-outdated.js
|
|
7879
7881
|
import { existsSync as existsSync8, readFileSync as readFileSync5, realpathSync as realpathSync2 } from "node:fs";
|
|
7880
7882
|
import { dirname as dirname2, join as join5 } from "node:path";
|
|
7881
7883
|
var OUTDATED_CHECK_MS = 6e4;
|
|
@@ -7961,7 +7963,7 @@ var watchOutdated = /* @__PURE__ */ __name(({ check: check2, onOutdated, everyMs
|
|
|
7961
7963
|
};
|
|
7962
7964
|
}, "watchOutdated");
|
|
7963
7965
|
|
|
7964
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7966
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.705.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1668a48934ee0d2606b0d61251c2625b/node_modules/@wirecat/cli-core/dist/cli/messenger/serve-stems.js
|
|
7965
7967
|
var STEMS_EVERY_MS = 3e4;
|
|
7966
7968
|
var STEMS_SLICE_MS = 2e3;
|
|
7967
7969
|
var stemFills = /* @__PURE__ */ __name(({ withStore, warn, everyMs = STEMS_EVERY_MS, sliceMs = STEMS_SLICE_MS }) => {
|
|
@@ -8001,7 +8003,7 @@ var stemFills = /* @__PURE__ */ __name(({ withStore, warn, everyMs = STEMS_EVERY
|
|
|
8001
8003
|
};
|
|
8002
8004
|
}, "stemFills");
|
|
8003
8005
|
|
|
8004
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8006
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.705.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1668a48934ee0d2606b0d61251c2625b/node_modules/@wirecat/cli-core/dist/cli/messenger/message-items.js
|
|
8005
8007
|
var defined = /* @__PURE__ */ __name((value) => Object.fromEntries(Object.entries(value).filter(([, one]) => one !== void 0)), "defined");
|
|
8006
8008
|
var attachmentItem = /* @__PURE__ */ __name((attachment) => defined({
|
|
8007
8009
|
kind: attachment.kind,
|
|
@@ -8097,7 +8099,7 @@ var viewOf = /* @__PURE__ */ __name((context, messenger) => ({
|
|
|
8097
8099
|
locale: messenger.app.locale
|
|
8098
8100
|
}), "viewOf");
|
|
8099
8101
|
|
|
8100
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8102
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.705.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1668a48934ee0d2606b0d61251c2625b/node_modules/@wirecat/cli-core/dist/cli/messenger/watch-answers.js
|
|
8101
8103
|
var observed = /* @__PURE__ */ __name((value) => ({
|
|
8102
8104
|
value: value.value,
|
|
8103
8105
|
observed_at: value.observedAt,
|
|
@@ -8164,7 +8166,7 @@ var watchEventItem = /* @__PURE__ */ __name((value, account) => {
|
|
|
8164
8166
|
}
|
|
8165
8167
|
}, "watchEventItem");
|
|
8166
8168
|
|
|
8167
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8169
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.705.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1668a48934ee0d2606b0d61251c2625b/node_modules/@wirecat/cli-core/dist/cli/messenger/watch-command.js
|
|
8168
8170
|
var watchCommand = /* @__PURE__ */ __name((messenger) => annotate(new Command("watch"), {
|
|
8169
8171
|
output: { entity: "watch_item" },
|
|
8170
8172
|
effects: REMOTE_READ,
|
|
@@ -8319,7 +8321,7 @@ var describe = /* @__PURE__ */ __name((event, render) => {
|
|
|
8319
8321
|
}
|
|
8320
8322
|
}, "describe");
|
|
8321
8323
|
|
|
8322
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8324
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.705.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1668a48934ee0d2606b0d61251c2625b/node_modules/@wirecat/cli-core/dist/cli/messenger/serve-command.js
|
|
8323
8325
|
var serveCommand = /* @__PURE__ */ __name((messenger) => {
|
|
8324
8326
|
const command = annotate(new Command("serve"), {
|
|
8325
8327
|
output: { entity: "serve_summary" },
|
|
@@ -8605,7 +8607,7 @@ var tasking = /* @__PURE__ */ __name((context, warn) => {
|
|
|
8605
8607
|
};
|
|
8606
8608
|
}, "tasking");
|
|
8607
8609
|
|
|
8608
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8610
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.705.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1668a48934ee0d2606b0d61251c2625b/node_modules/@wirecat/cli-core/dist/cli/messenger/store-tables-command.js
|
|
8609
8611
|
import { existsSync as existsSync9 } from "node:fs";
|
|
8610
8612
|
var PATH = "store tables list";
|
|
8611
8613
|
var STORE_TABLES_QUERY = {
|
|
@@ -8648,7 +8650,7 @@ var storeTablesCommand = /* @__PURE__ */ __name((owner) => {
|
|
|
8648
8650
|
return tables;
|
|
8649
8651
|
}, "storeTablesCommand");
|
|
8650
8652
|
|
|
8651
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8653
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.705.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1668a48934ee0d2606b0d61251c2625b/node_modules/@wirecat/cli-core/dist/cli/messenger/store-maintenance-command.js
|
|
8652
8654
|
var SEARCH_INDEXES = ["messages_fts", "chats_fts", "identities_fts"];
|
|
8653
8655
|
var WORD_INDEX = "message_words";
|
|
8654
8656
|
var schemaOf = /* @__PURE__ */ __name((database) => {
|
|
@@ -8892,7 +8894,8 @@ var inspect = /* @__PURE__ */ __name((path) => reading(path, (database) => {
|
|
|
8892
8894
|
...stems ? [["message_stems", indexIntegrity(database, "message_stems", 0)]] : [],
|
|
8893
8895
|
...schema.version > 0 ? [["attachment_words", indexIntegrity(database, "attachment_words", 0)]] : [],
|
|
8894
8896
|
...schema.version >= 68 ? [["crm_file_words", indexIntegrity(database, "crm_file_words", 0)]] : [],
|
|
8895
|
-
...schema.version >= 70 ? [["tracker_item_words", indexIntegrity(database, "tracker_item_words", 0)]] : []
|
|
8897
|
+
...schema.version >= 70 ? [["tracker_item_words", indexIntegrity(database, "tracker_item_words", 0)]] : [],
|
|
8898
|
+
...schema.version >= 71 ? [["content_post_words", indexIntegrity(database, "content_post_words", 0)]] : []
|
|
8896
8899
|
]);
|
|
8897
8900
|
const size = bytesOf2(path) + bytesOf2(`${path}-wal`);
|
|
8898
8901
|
const { bavail, bsize } = statfsSync2(dirname3(path));
|
|
@@ -9060,7 +9063,7 @@ var reindexCommand = /* @__PURE__ */ __name((owner) => destroysNothing(annotate(
|
|
|
9060
9063
|
throw new CliError("validation_error", `the store is behind this build \u2014 \`${lineOf(this, "store migrate")}\` first`);
|
|
9061
9064
|
}
|
|
9062
9065
|
resetSearchIndex(database);
|
|
9063
|
-
const fileTexts = resetAttachmentWords(database) + resetCrmFileWords(database) + resetTrackerItemWords(database);
|
|
9066
|
+
const fileTexts = resetAttachmentWords(database) + resetCrmFileWords(database) + resetTrackerItemWords(database) + resetContentPostWords(database);
|
|
9064
9067
|
const words = buildWordIndex(database, (note) => renderer.note(note));
|
|
9065
9068
|
return {
|
|
9066
9069
|
path,
|
|
@@ -2,31 +2,31 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
updateCommand
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-7QH5BZUG.js";
|
|
6
6
|
import {
|
|
7
7
|
QUESTIONS,
|
|
8
8
|
readSetupAnswers,
|
|
9
9
|
unanswered,
|
|
10
10
|
writeSetupAnswers
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-WATDMTDC.js";
|
|
12
12
|
import {
|
|
13
13
|
DEFAULT_STEMMERS,
|
|
14
14
|
LANGUAGES
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-QNQ4V4UT.js";
|
|
16
16
|
import {
|
|
17
17
|
sharedConfigPath
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-UIWWAT3C.js";
|
|
19
19
|
import {
|
|
20
20
|
installerOf
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-HVXOA4FO.js";
|
|
22
22
|
import {
|
|
23
23
|
storePath
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-6ULR7N3T.js";
|
|
25
25
|
import {
|
|
26
26
|
__name
|
|
27
27
|
} from "./chunk-ZVVMGPBJ.js";
|
|
28
28
|
|
|
29
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
29
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.705.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1668a48934ee0d2606b0d61251c2625b/node_modules/@wirecat/cli-core/dist/cli/first-run.js
|
|
30
30
|
import { spawnSync } from "node:child_process";
|
|
31
31
|
import { accessSync, constants, realpathSync } from "node:fs";
|
|
32
32
|
import { delimiter, join } from "node:path";
|
|
@@ -84,7 +84,7 @@ var suggested = /* @__PURE__ */ __name((env, contentLanguages) => {
|
|
|
84
84
|
return (own.length ? own : LANGUAGES.filter(({ code }) => code === "en" || code === system)).map(({ name }) => name);
|
|
85
85
|
}, "suggested");
|
|
86
86
|
var askLanguages = /* @__PURE__ */ __name(async ({ command, env, io, contentLanguages }) => {
|
|
87
|
-
const { openStore } = await import("./store-
|
|
87
|
+
const { openStore } = await import("./store-J5FQBZYR.js");
|
|
88
88
|
const store = await openStore({ env });
|
|
89
89
|
let rebuild = false;
|
|
90
90
|
try {
|
|
@@ -113,8 +113,8 @@ var askLanguages = /* @__PURE__ */ __name(async ({ command, env, io, contentLang
|
|
|
113
113
|
if (!rebuild)
|
|
114
114
|
return;
|
|
115
115
|
const [{ openCache }, { buildStems }] = await Promise.all([
|
|
116
|
-
import("./open-
|
|
117
|
-
import("./store-maintenance-command-
|
|
116
|
+
import("./open-KBRXJ5BC.js"),
|
|
117
|
+
import("./store-maintenance-command-DDB7TR6V.js")
|
|
118
118
|
]);
|
|
119
119
|
const database = await openCache(storePath(env));
|
|
120
120
|
try {
|
|
@@ -126,7 +126,7 @@ var askLanguages = /* @__PURE__ */ __name(async ({ command, env, io, contentLang
|
|
|
126
126
|
var askTools = /* @__PURE__ */ __name(async (run) => {
|
|
127
127
|
const { command, env, io } = run;
|
|
128
128
|
const installed = run.installed ?? ((name) => onPath(name, env));
|
|
129
|
-
const { WIRECAT_TOOLS } = await import("./first-screen-
|
|
129
|
+
const { WIRECAT_TOOLS } = await import("./first-screen-Y4EH3HZS.js");
|
|
130
130
|
const others = WIRECAT_TOOLS.filter((tool) => tool.command !== command);
|
|
131
131
|
const missing = others.filter((tool) => !installed(tool.command));
|
|
132
132
|
io.say("Other WireCat tools \u2014 they share this store, so one search finds everything:");
|
|
@@ -200,7 +200,7 @@ var setupAtStart = /* @__PURE__ */ __name(async (start) => {
|
|
|
200
200
|
// `setup describe` and `setup apply` are a program's; only the bare walk-through asks everything again.
|
|
201
201
|
all: start.path.length === 1 && start.path[0] === "setup",
|
|
202
202
|
io: {
|
|
203
|
-
ask: /* @__PURE__ */ __name(async (prompt) => (await import("./prompt-
|
|
203
|
+
ask: /* @__PURE__ */ __name(async (prompt) => (await import("./prompt-TWLJ3M2O.js")).readSecret(prompt, { input, echo: true }), "ask"),
|
|
204
204
|
say: /* @__PURE__ */ __name((text) => process.stderr.write(`${text}
|
|
205
205
|
`), "say")
|
|
206
206
|
}
|
|
@@ -3,7 +3,7 @@ const require = __bundleRequire(import.meta.url);
|
|
|
3
3
|
import {
|
|
4
4
|
CAPABILITY_STATEMENTS,
|
|
5
5
|
storeCapable
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-PQUZ2YDC.js";
|
|
7
7
|
import {
|
|
8
8
|
importFrom
|
|
9
9
|
} from "./chunk-Y5E2WNWB.js";
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
__name
|
|
12
12
|
} from "./chunk-ZVVMGPBJ.js";
|
|
13
13
|
|
|
14
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
14
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.705.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1668a48934ee0d2606b0d61251c2625b/node_modules/@wirecat/cli-core/dist/sqlite-runtime.js
|
|
15
15
|
import { spawn, spawnSync } from "node:child_process";
|
|
16
16
|
import { readFileSync } from "node:fs";
|
|
17
17
|
import { dirname } from "node:path";
|
|
@@ -5,31 +5,31 @@ import {
|
|
|
5
5
|
isNewer,
|
|
6
6
|
readNoticeState,
|
|
7
7
|
writeUpdateState
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-7QH5BZUG.js";
|
|
9
9
|
import {
|
|
10
10
|
executableEnvironment,
|
|
11
11
|
executableOnPath
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-CFQQTDSA.js";
|
|
13
13
|
import {
|
|
14
14
|
Command,
|
|
15
15
|
Option,
|
|
16
16
|
annotate
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-HM72O37C.js";
|
|
18
18
|
import {
|
|
19
19
|
require_cross_spawn
|
|
20
20
|
} from "./chunk-D72URWJE.js";
|
|
21
21
|
import {
|
|
22
22
|
refuseOwnerHomeInTests
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-3BM6KBWP.js";
|
|
24
24
|
import {
|
|
25
25
|
CliError
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-HM6AMYHR.js";
|
|
27
27
|
import {
|
|
28
28
|
__name,
|
|
29
29
|
__toESM
|
|
30
30
|
} from "./chunk-ZVVMGPBJ.js";
|
|
31
31
|
|
|
32
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
32
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/skill/index.js
|
|
33
33
|
import { existsSync, mkdirSync, readdirSync, readFileSync, rmSync, writeFileSync } from "node:fs";
|
|
34
34
|
import { homedir } from "node:os";
|
|
35
35
|
import { basename, dirname, join, relative, resolve, sep } from "node:path";
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
__name
|
|
5
5
|
} from "./chunk-ZVVMGPBJ.js";
|
|
6
6
|
|
|
7
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.705.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1668a48934ee0d2606b0d61251c2625b/node_modules/@wirecat/cli-core/dist/mcp/instructions.js
|
|
8
8
|
var instructions = /* @__PURE__ */ __name(({ command, name, profile, writes, skill }) => {
|
|
9
9
|
const all = typeof profile !== "string";
|
|
10
10
|
const offers = /* @__PURE__ */ __name((key) => all || writes.includes(key), "offers");
|
|
@@ -4,15 +4,15 @@ import {
|
|
|
4
4
|
OBJECTS,
|
|
5
5
|
SERVICE,
|
|
6
6
|
segment
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-XDDTJYGA.js";
|
|
8
8
|
import {
|
|
9
9
|
foldFieldName,
|
|
10
10
|
values_exports
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-QIFCH5DZ.js";
|
|
12
12
|
import {
|
|
13
13
|
CliError,
|
|
14
14
|
isCliError
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-HM6AMYHR.js";
|
|
16
16
|
import {
|
|
17
17
|
__name
|
|
18
18
|
} from "./chunk-ZVVMGPBJ.js";
|