@wirecat/hubspot-cli 0.6.0 → 0.7.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 +22 -0
- package/dist/bin/hubspot.js +2 -2
- package/dist/bundle/agent-JXICB6TB.js +40 -0
- package/dist/bundle/{all-profiles-HFVXPMF6.js → all-profiles-GVEX5MXB.js} +7 -7
- package/dist/bundle/{anthropic-VE6WR6IN.js → anthropic-GK6VBQUD.js} +2 -2
- package/dist/bundle/{app-server-GZ4DCQK7.js → app-server-JRROE463.js} +60 -60
- package/dist/bundle/{bun-2DHMKD34.js → bun-B7XTFPUF.js} +2 -2
- package/dist/bundle/{bun-sqlite-T5XTYL7L.js → bun-sqlite-QSNZ2YP4.js} +3 -3
- package/dist/bundle/{chunk-6DABKZYH.js → chunk-2FLLS5IL.js} +34 -20
- package/dist/bundle/{chunk-UVGJL753.js → chunk-2HSYAKWO.js} +51 -51
- package/dist/bundle/{chunk-PDVMYIBP.js → chunk-2IRBXFIU.js} +1166 -599
- package/dist/bundle/{chunk-YIH2A2PQ.js → chunk-2PCVKD27.js} +1 -1
- package/dist/bundle/{chunk-VR2CJFVL.js → chunk-2V5KOOJV.js} +7 -7
- package/dist/bundle/{chunk-5O5WYSSO.js → chunk-4F62XXF6.js} +495 -375
- package/dist/bundle/{chunk-67YPTVGP.js → chunk-4HZQ5UIY.js} +2 -2
- package/dist/bundle/{chunk-5WDNG4QE.js → chunk-4LHNA6LJ.js} +1 -1
- package/dist/bundle/{chunk-THGAVPRA.js → chunk-52NC5E42.js} +10 -10
- package/dist/bundle/{chunk-XRFYVVFU.js → chunk-5AVU5SF6.js} +1 -1
- package/dist/bundle/{chunk-UCGZRZJA.js → chunk-5EJ3C3JG.js} +1 -1
- package/dist/bundle/{chunk-3W5R3XAH.js → chunk-5ISQ4KJM.js} +6 -6
- package/dist/bundle/{chunk-CU76ZACK.js → chunk-5MFZYHPO.js} +2 -2
- package/dist/bundle/{chunk-K4Y2ZWOO.js → chunk-63YWTFZF.js} +3 -3
- package/dist/bundle/{chunk-GWXTVO43.js → chunk-6EHX762H.js} +6 -6
- package/dist/bundle/{chunk-YDG5FIQB.js → chunk-6IHXKMY6.js} +6 -6
- package/dist/bundle/{chunk-J76CMNWQ.js → chunk-6WKK4UZP.js} +1 -1
- package/dist/bundle/{chunk-CTN4DW2F.js → chunk-A7KGBXBT.js} +3 -3
- package/dist/bundle/{chunk-3YTTWJKL.js → chunk-ALOPYWYY.js} +1 -1
- package/dist/bundle/{chunk-Q6AC7WLD.js → chunk-B3JVNOTB.js} +2 -2
- package/dist/bundle/{chunk-5NIIXJV3.js → chunk-BQPAIGAF.js} +2 -2
- package/dist/bundle/{chunk-HZIGGAC7.js → chunk-BRBBZDMZ.js} +1 -1
- package/dist/bundle/{chunk-E27NRLJZ.js → chunk-BXXU4EXK.js} +17 -17
- package/dist/bundle/{chunk-5IPB5WLB.js → chunk-BY3NKT34.js} +10 -10
- package/dist/bundle/{chunk-HYDXA624.js → chunk-CBTWKTWN.js} +5 -5
- package/dist/bundle/{chunk-MJ24YFXZ.js → chunk-CEHBT7QX.js} +5 -5
- package/dist/bundle/{chunk-RLK2EGQD.js → chunk-DBHJIFDS.js} +28 -15
- package/dist/bundle/{chunk-EJZIEBAR.js → chunk-DIHVN5IC.js} +6 -6
- package/dist/bundle/{chunk-2VUIJ5XB.js → chunk-DMYLQX2O.js} +1 -1
- package/dist/bundle/{chunk-J2SCELII.js → chunk-DWWZAQ4N.js} +13 -13
- package/dist/bundle/{chunk-WE4JSHIG.js → chunk-GD5JTKLS.js} +1 -1
- package/dist/bundle/{chunk-R26OEZOL.js → chunk-GHBJBDTW.js} +1 -1
- package/dist/bundle/{chunk-3HS7JTPI.js → chunk-GYH2AXPO.js} +13 -13
- package/dist/bundle/{chunk-JFLKTYH5.js → chunk-GZD6BYO7.js} +5 -5
- package/dist/bundle/{chunk-AKSWXRIU.js → chunk-I5WHQH5K.js} +1 -1
- package/dist/bundle/{chunk-J4FXBF44.js → chunk-INT5JXGP.js} +1 -1
- package/dist/bundle/{chunk-KKMOKSS5.js → chunk-IRFFXKKK.js} +2 -2
- package/dist/bundle/{chunk-RLNPTES2.js → chunk-J5HHB27S.js} +4 -4
- package/dist/bundle/{chunk-GEJI27GN.js → chunk-JEUYZCWF.js} +5 -5
- package/dist/bundle/{chunk-EB53G4HO.js → chunk-JQUS4KFV.js} +2 -2
- package/dist/bundle/{chunk-GR4HZBWO.js → chunk-KGLMYQXM.js} +1 -1
- package/dist/bundle/{chunk-JDCFHZNU.js → chunk-L3DUZVBP.js} +7 -7
- package/dist/bundle/{chunk-I75ON7VM.js → chunk-LGGBKAVQ.js} +7 -7
- package/dist/bundle/{chunk-ID4GJFE7.js → chunk-LJ52BS6C.js} +6 -6
- package/dist/bundle/{chunk-ZERQSELP.js → chunk-M3JDGRXM.js} +184 -157
- package/dist/bundle/{chunk-3TLNO3VM.js → chunk-MR2BNER3.js} +1 -1
- package/dist/bundle/{chunk-NQOQG7L3.js → chunk-NUPAXK4Z.js} +1 -1
- package/dist/bundle/{chunk-LTU4BQ4S.js → chunk-OX37ZK27.js} +2 -2
- package/dist/bundle/{chunk-LHY5XGIR.js → chunk-P7N3TZLH.js} +56 -56
- package/dist/bundle/{chunk-PZ3QJDTD.js → chunk-QAQK2WXJ.js} +4 -4
- package/dist/bundle/{chunk-BU5CEMUH.js → chunk-QY7EOB66.js} +12 -12
- package/dist/bundle/{chunk-MSQGZHKM.js → chunk-RE55EPBX.js} +25 -24
- package/dist/bundle/{chunk-X2QRCFGJ.js → chunk-SBORPDIQ.js} +3 -3
- package/dist/bundle/{chunk-GHXTNKX2.js → chunk-SFFV2F3Y.js} +2 -2
- package/dist/bundle/{chunk-24HPBWKZ.js → chunk-SMEEFN65.js} +2 -2
- package/dist/bundle/{chunk-UZ2CL435.js → chunk-SVRCPPNI.js} +1 -1
- package/dist/bundle/{chunk-G6LDK6DJ.js → chunk-SZZVNPTI.js} +4 -4
- package/dist/bundle/{chunk-TXO4CJW3.js → chunk-TXCINEH6.js} +5 -5
- package/dist/bundle/{chunk-ZKTYTOF4.js → chunk-UMXA357W.js} +7 -7
- package/dist/bundle/{chunk-KDW7B7AR.js → chunk-VJQLJQHT.js} +4 -4
- package/dist/bundle/{chunk-H4W2OO35.js → chunk-WSTF2MWW.js} +1 -1
- package/dist/bundle/{chunk-TRLV5NWZ.js → chunk-WSUS3MUK.js} +478 -385
- package/dist/bundle/{chunk-M3LRSN6J.js → chunk-WWIYZN67.js} +12 -12
- package/dist/bundle/{chunk-2I2KBCS6.js → chunk-XL3NAXZY.js} +3 -3
- package/dist/bundle/{chunk-QK5HQUHB.js → chunk-XWYYFAML.js} +2 -2
- package/dist/bundle/{chunk-5VTKBGPW.js → chunk-XZLOQNS7.js} +10 -10
- package/dist/bundle/{chunk-TAPQZYXY.js → chunk-YDTFPDAJ.js} +1 -1
- package/dist/bundle/{chunk-4UEYVM46.js → chunk-YFHCKAGU.js} +3 -3
- package/dist/bundle/{chunk-TT75CEYZ.js → chunk-YGZ37OEN.js} +1 -1
- package/dist/bundle/{chunk-V7N2K5OT.js → chunk-YOVIH4QI.js} +22 -22
- package/dist/bundle/{chunk-PR7ZDMGF.js → chunk-YVMLFHWS.js} +2 -2
- package/dist/bundle/{chunk-T4MZJMEJ.js → chunk-ZH76HQDA.js} +16 -16
- package/dist/bundle/{chunk-QH47G73D.js → chunk-ZNNGK73C.js} +2 -2
- package/dist/bundle/{chunk-5ILCAAY4.js → chunk-ZNRZJIRM.js} +33 -33
- package/dist/bundle/{chunk-BM5F2ZNI.js → chunk-ZS6T2PYQ.js} +1 -1
- package/dist/bundle/command-contract-7EWUA6E6.js +40 -0
- package/dist/bundle/{command-server-entry-H6IAJNOF.js → command-server-entry-BFXXPNJO.js} +24 -24
- package/dist/bundle/{decode-TR2EC46M.js → decode-5M7R44BR.js} +2 -2
- package/dist/bundle/{echarts-7OP7I5B2.js → echarts-7MBFY6SZ.js} +2 -2
- package/dist/bundle/{embed-FLGS4LN7.js → embed-Y4GYNHRX.js} +3 -3
- package/dist/bundle/{embedder-JIXQXCP3.js → embedder-FI4T4LQB.js} +6 -6
- package/dist/bundle/{first-run-XJ2NWIK2.js → first-run-YY66AKKG.js} +6 -6
- package/dist/bundle/first-screen-U7Z63VXE.js +40 -0
- package/dist/bundle/hubspot.js +17 -17
- package/dist/bundle/{instructions-PYCYV6QE.js → instructions-SM7TKV6L.js} +1 -1
- package/dist/bundle/{meeting-combined-IHTM5H5B.js → meeting-combined-B444C4NF.js} +11 -11
- package/dist/bundle/{meeting-model-2PA5WJY5.js → meeting-model-DKLMBQXX.js} +8 -8
- package/dist/bundle/{meeting-semantic-5IH63QFV.js → meeting-semantic-C5T6UDVB.js} +2 -2
- package/dist/bundle/{node-6GTNIVBM.js → node-OS6OQF3F.js} +2 -2
- package/dist/bundle/{node-sqlite-FBCEHPNT.js → node-sqlite-2XTWZ4HL.js} +4 -4
- package/dist/bundle/{oauth-BFP4SCL5.js → oauth-BSSJ66FC.js} +4 -4
- package/dist/bundle/{open-MLU4MHGO.js → open-UZ3TKWDY.js} +2 -2
- package/dist/bundle/{openai-R7WJI6SO.js → openai-POVKFBTC.js} +12 -12
- package/dist/bundle/{process-NMNQLJHZ.js → process-A7ZJGQ6G.js} +1 -1
- package/dist/bundle/{program-Z735HPFG.js → program-Q3JFUVC6.js} +193 -102
- package/dist/bundle/{prompt-A6RM55Q4.js → prompt-TYOYTRJM.js} +2 -2
- package/dist/bundle/{recognize-ORRDV45M.js → recognize-GGFRONZT.js} +1 -1
- package/dist/bundle/{remote-UF3WSC4X.js → remote-K4SLWHMI.js} +6 -6
- package/dist/bundle/{rerank-ZSJORUGH.js → rerank-2QTKDUBV.js} +4 -4
- package/dist/bundle/{serve-4KBJ6SIA.js → serve-FG2G2X6Y.js} +6 -6
- package/dist/bundle/{server-IFK4S6LJ.js → server-KRDHBT5Q.js} +52 -52
- package/dist/bundle/server-VFKK6OS4.js +86 -0
- package/dist/bundle/{source-PBCQAG4C.js → source-XP2JNUVU.js} +64 -64
- package/dist/bundle/{sqlite-runtime-XPDUWOPG.js → sqlite-runtime-TWV7KFLA.js} +3 -3
- package/dist/bundle/{state-4M26H7NL.js → state-EFX5ZQED.js} +3 -3
- package/dist/bundle/store-LON2XRIS.js +34 -0
- package/dist/bundle/{store-3W4ZOOIB.js → store-MNQ6YQIS.js} +20 -20
- package/dist/bundle/{store-ICTY3RIF.js → store-QPVH5VPJ.js} +18 -18
- package/dist/bundle/store-maintenance-command-YEMPRNJX.js +73 -0
- package/dist/bundle/surface-UJRMT6QT.js +72 -0
- package/dist/bundle/writer-NOSHE7ZI.js +86 -0
- package/dist/crm/records.d.ts.map +1 -1
- package/dist/crm/records.js +3 -0
- package/dist/crm/records.js.map +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +2 -2
- package/skills/hubspot-cli/SKILL.md +10 -3
- package/dist/bundle/agent-XB35QVOK.js +0 -40
- package/dist/bundle/command-contract-5FXCYQUS.js +0 -40
- package/dist/bundle/first-screen-U73G5CMM.js +0 -40
- package/dist/bundle/server-MNUAZWTN.js +0 -86
- package/dist/bundle/store-CDY2PW6J.js +0 -34
- package/dist/bundle/store-maintenance-command-Y7TC3I43.js +0 -73
- package/dist/bundle/surface-4LNDJZD2.js +0 -72
- package/dist/bundle/writer-WGHWQTC2.js +0 -86
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
__name
|
|
13
13
|
} from "./chunk-ZVVMGPBJ.js";
|
|
14
14
|
|
|
15
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
15
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/node_modules/@wirecat/cli-core/dist/render/messages.js
|
|
16
16
|
import { styleText } from "node:util";
|
|
17
17
|
var TIME_WIDTH = 8;
|
|
18
18
|
var INDENT = " ".repeat(TIME_WIDTH + 2);
|
|
@@ -535,7 +535,7 @@ function toError(value) {
|
|
|
535
535
|
}
|
|
536
536
|
__name(toError, "toError");
|
|
537
537
|
|
|
538
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
538
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/node_modules/@wirecat/cli-core/dist/mcp/stdio-wire.js
|
|
539
539
|
import { PassThrough, Writable } from "node:stream";
|
|
540
540
|
var lineReader = /* @__PURE__ */ __name((onMessage) => {
|
|
541
541
|
let rest = "";
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
MAX_SECRET_INPUT,
|
|
5
5
|
bufferedInput,
|
|
6
6
|
inputPolicy
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-ZS6T2PYQ.js";
|
|
8
8
|
import {
|
|
9
9
|
CliError
|
|
10
10
|
} from "./chunk-AP3CWDRK.js";
|
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
__name
|
|
13
13
|
} from "./chunk-ZVVMGPBJ.js";
|
|
14
14
|
|
|
15
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
15
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/node_modules/@wirecat/cli-core/dist/terminal/prompt.js
|
|
16
16
|
import { createInterface } from "node:readline";
|
|
17
17
|
import { Writable } from "node:stream";
|
|
18
18
|
var EMPTY_TRIES = 3;
|
|
@@ -2,15 +2,15 @@ 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-GYH2AXPO.js";
|
|
6
6
|
import {
|
|
7
7
|
chatEventAnswer,
|
|
8
8
|
memberAnswer,
|
|
9
9
|
pollVoteAnswer
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-2V5KOOJV.js";
|
|
11
11
|
import {
|
|
12
12
|
serveRelay
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-VJQLJQHT.js";
|
|
14
14
|
import {
|
|
15
15
|
FETCHING,
|
|
16
16
|
RULES_VERSION,
|
|
@@ -28,13 +28,13 @@ import {
|
|
|
28
28
|
servicesFor,
|
|
29
29
|
syncsOneChat,
|
|
30
30
|
withTimeLimit
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-4F62XXF6.js";
|
|
32
32
|
import {
|
|
33
33
|
capability,
|
|
34
34
|
queryTerms,
|
|
35
35
|
typedQuery,
|
|
36
36
|
withQuery
|
|
37
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-QY7EOB66.js";
|
|
38
38
|
import {
|
|
39
39
|
holdLock,
|
|
40
40
|
lockPath,
|
|
@@ -42,7 +42,7 @@ import {
|
|
|
42
42
|
releaseLock,
|
|
43
43
|
servingProfiles,
|
|
44
44
|
takeLock
|
|
45
|
-
} from "./chunk-
|
|
45
|
+
} from "./chunk-ZNNGK73C.js";
|
|
46
46
|
import {
|
|
47
47
|
Command,
|
|
48
48
|
LOCAL_READ,
|
|
@@ -69,10 +69,10 @@ import {
|
|
|
69
69
|
snakeKeys,
|
|
70
70
|
storeTable,
|
|
71
71
|
withoutProviderRefs
|
|
72
|
-
} from "./chunk-
|
|
72
|
+
} from "./chunk-M3JDGRXM.js";
|
|
73
73
|
import {
|
|
74
74
|
holdersOf
|
|
75
|
-
} from "./chunk-
|
|
75
|
+
} from "./chunk-INT5JXGP.js";
|
|
76
76
|
import {
|
|
77
77
|
QUICK_HEALTH_CHECKS,
|
|
78
78
|
fts5Tables,
|
|
@@ -80,7 +80,7 @@ import {
|
|
|
80
80
|
lossUnknown,
|
|
81
81
|
storeDamageReport,
|
|
82
82
|
storeHealth
|
|
83
|
-
} from "./chunk-
|
|
83
|
+
} from "./chunk-ZH76HQDA.js";
|
|
84
84
|
import {
|
|
85
85
|
CORPORA,
|
|
86
86
|
MIGRATIONS,
|
|
@@ -118,49 +118,49 @@ import {
|
|
|
118
118
|
storeClients,
|
|
119
119
|
storeContents,
|
|
120
120
|
vectorIndexCounts
|
|
121
|
-
} from "./chunk-
|
|
121
|
+
} from "./chunk-2IRBXFIU.js";
|
|
122
122
|
import {
|
|
123
123
|
currentRun,
|
|
124
124
|
readDamageMark,
|
|
125
125
|
readHealthMark,
|
|
126
126
|
readJournalMark,
|
|
127
127
|
recordDeepCheck
|
|
128
|
-
} from "./chunk-
|
|
128
|
+
} from "./chunk-YOVIH4QI.js";
|
|
129
129
|
import {
|
|
130
130
|
failureKey,
|
|
131
131
|
isStoreDamage
|
|
132
|
-
} from "./chunk-
|
|
132
|
+
} from "./chunk-BRBBZDMZ.js";
|
|
133
133
|
import {
|
|
134
134
|
modelAddressAllowed,
|
|
135
135
|
onThisComputer
|
|
136
|
-
} from "./chunk-
|
|
136
|
+
} from "./chunk-4LHNA6LJ.js";
|
|
137
137
|
import {
|
|
138
138
|
renderMessages
|
|
139
|
-
} from "./chunk-
|
|
139
|
+
} from "./chunk-MR2BNER3.js";
|
|
140
140
|
import {
|
|
141
141
|
levelFor
|
|
142
|
-
} from "./chunk-
|
|
142
|
+
} from "./chunk-SZZVNPTI.js";
|
|
143
143
|
import {
|
|
144
144
|
formatLocator,
|
|
145
145
|
parseLocator
|
|
146
|
-
} from "./chunk-
|
|
146
|
+
} from "./chunk-DBHJIFDS.js";
|
|
147
147
|
import {
|
|
148
148
|
queryFieldsOf
|
|
149
|
-
} from "./chunk-
|
|
149
|
+
} from "./chunk-2HSYAKWO.js";
|
|
150
150
|
import {
|
|
151
151
|
readSharedSection,
|
|
152
152
|
sharedConfigPath,
|
|
153
153
|
writeSharedSection
|
|
154
|
-
} from "./chunk-
|
|
154
|
+
} from "./chunk-CEHBT7QX.js";
|
|
155
155
|
import {
|
|
156
156
|
readSecret
|
|
157
|
-
} from "./chunk-
|
|
157
|
+
} from "./chunk-OX37ZK27.js";
|
|
158
158
|
import {
|
|
159
159
|
storePath
|
|
160
|
-
} from "./chunk-
|
|
160
|
+
} from "./chunk-DMYLQX2O.js";
|
|
161
161
|
import {
|
|
162
162
|
openCache
|
|
163
|
-
} from "./chunk-
|
|
163
|
+
} from "./chunk-CBTWKTWN.js";
|
|
164
164
|
import {
|
|
165
165
|
Credentials,
|
|
166
166
|
isMovedRun,
|
|
@@ -5531,11 +5531,11 @@ var require_liquid_node = __commonJS({
|
|
|
5531
5531
|
}
|
|
5532
5532
|
});
|
|
5533
5533
|
|
|
5534
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5534
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/node_modules/@wirecat/cli-core/dist/cli/messenger/store-maintenance-command.js
|
|
5535
5535
|
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";
|
|
5536
5536
|
import { dirname as dirname3, resolve } from "node:path";
|
|
5537
5537
|
|
|
5538
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5538
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/node_modules/@wirecat/cli-core/dist/sealed.js
|
|
5539
5539
|
import { createCipheriv, createDecipheriv, createHash, randomBytes, scrypt, timingSafeEqual } from "node:crypto";
|
|
5540
5540
|
import { closeSync, createReadStream, createWriteStream, existsSync, openSync, readSync, renameSync, rmSync, statSync } from "node:fs";
|
|
5541
5541
|
import { Transform } from "node:stream";
|
|
@@ -5642,7 +5642,7 @@ var unsealFile = /* @__PURE__ */ __name(async (from, to, password) => {
|
|
|
5642
5642
|
renameSync(pending, to);
|
|
5643
5643
|
}, "unsealFile");
|
|
5644
5644
|
|
|
5645
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5645
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/node_modules/@wirecat/cli-core/dist/store/compatibility.js
|
|
5646
5646
|
var SPEAKS = MIGRATIONS.at(-1)?.version ?? 0;
|
|
5647
5647
|
var fileSchemaOf = /* @__PURE__ */ __name((database) => {
|
|
5648
5648
|
const tracked = database.prepare("SELECT 1 FROM sqlite_master WHERE name = 'schema_migrations'").get();
|
|
@@ -5666,7 +5666,7 @@ var compatibilityOf = /* @__PURE__ */ __name((file2, migrations = MIGRATIONS) =>
|
|
|
5666
5666
|
};
|
|
5667
5667
|
}, "compatibilityOf");
|
|
5668
5668
|
|
|
5669
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5669
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/node_modules/@wirecat/cli-core/dist/store/repair.js
|
|
5670
5670
|
import { createHash as createHash2 } from "node:crypto";
|
|
5671
5671
|
var COPY_MARK = "__repair_";
|
|
5672
5672
|
var COPY_NAME = /__repair_[0-9a-f]{8}(_\d+)?$/;
|
|
@@ -5920,19 +5920,19 @@ var deleteCopy = /* @__PURE__ */ __name((database, name) => {
|
|
|
5920
5920
|
return found;
|
|
5921
5921
|
}, "deleteCopy");
|
|
5922
5922
|
|
|
5923
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5923
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/node_modules/@wirecat/cli-core/dist/cli/store-info.js
|
|
5924
5924
|
import { existsSync as existsSync4, statSync as statSync3 } from "node:fs";
|
|
5925
5925
|
|
|
5926
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5926
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/node_modules/@wirecat/cli-core/dist/cli/store-recover.js
|
|
5927
5927
|
import { existsSync as existsSync3 } from "node:fs";
|
|
5928
5928
|
|
|
5929
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5929
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/node_modules/@wirecat/cli-core/dist/store/recover.js
|
|
5930
5930
|
import { execFileSync, spawn } from "node:child_process";
|
|
5931
5931
|
import { existsSync as existsSync2, readFileSync, realpathSync, renameSync as renameSync2, rmSync as rmSync2, statfsSync, statSync as statSync2, writeFileSync } from "node:fs";
|
|
5932
5932
|
import { basename, dirname, join } from "node:path";
|
|
5933
5933
|
import { Transform as Transform2 } from "node:stream";
|
|
5934
5934
|
|
|
5935
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5935
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/node_modules/@wirecat/cli-core/dist/store/refill.js
|
|
5936
5936
|
var REFILL_MARGIN_MS = 864e5;
|
|
5937
5937
|
var TIME_KEYS = 1e12;
|
|
5938
5938
|
var integerId = `external_id GLOB '[0-9]*' AND NOT external_id GLOB '*[^0-9]*'`;
|
|
@@ -6012,7 +6012,7 @@ var forgetMail = /* @__PURE__ */ __name((database, cutoff, now) => {
|
|
|
6012
6012
|
return [...folders].map(([account, count3]) => ({ account, folders: count3 }));
|
|
6013
6013
|
}, "forgetMail");
|
|
6014
6014
|
|
|
6015
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6015
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/node_modules/@wirecat/cli-core/dist/store/recover.js
|
|
6016
6016
|
var SQLITE3_MINIMUM = [3, 43, 0];
|
|
6017
6017
|
var STORE_PARTS = ["", "-wal", "-shm"];
|
|
6018
6018
|
var RECOVER_LOCK = ".recover-lock";
|
|
@@ -6543,7 +6543,7 @@ var recoverLocked = /* @__PURE__ */ __name(async ({ path, command, version, sqli
|
|
|
6543
6543
|
}
|
|
6544
6544
|
}, "recoverLocked");
|
|
6545
6545
|
|
|
6546
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6546
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/node_modules/@wirecat/cli-core/dist/cli/store-recover.js
|
|
6547
6547
|
var COUNTED = [
|
|
6548
6548
|
"accounts",
|
|
6549
6549
|
"chats",
|
|
@@ -6699,7 +6699,7 @@ var storeRecoverCommand = /* @__PURE__ */ __name(({ command, version }) => {
|
|
|
6699
6699
|
return recover;
|
|
6700
6700
|
}, "storeRecoverCommand");
|
|
6701
6701
|
|
|
6702
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6702
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/node_modules/@wirecat/cli-core/dist/cli/store-info.js
|
|
6703
6703
|
var pendingIfKnown = /* @__PURE__ */ __name((database) => database.prepare("SELECT 1 FROM pragma_table_info('messages') WHERE name = 'normalized_text'").get() ? pendingNormalization(database) : null, "pendingIfKnown");
|
|
6704
6704
|
var bytesOf = /* @__PURE__ */ __name((path) => existsSync4(path) ? statSync3(path).size : 0, "bytesOf");
|
|
6705
6705
|
var messageOf = /* @__PURE__ */ __name((error) => error instanceof Error ? error.message : String(error), "messageOf");
|
|
@@ -6745,7 +6745,7 @@ var storeInfoCommand = /* @__PURE__ */ __name(() => annotate(new Command("info")
|
|
|
6745
6745
|
renderAnswer(this, outputFor(this), itemOf(answer));
|
|
6746
6746
|
}), "storeInfoCommand");
|
|
6747
6747
|
|
|
6748
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6748
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/node_modules/@wirecat/cli-core/dist/cli/messenger/password.js
|
|
6749
6749
|
var ENCRYPT_OPTION = [
|
|
6750
6750
|
"--encrypt",
|
|
6751
6751
|
"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"
|
|
@@ -6764,7 +6764,7 @@ var passwordOf = /* @__PURE__ */ __name(async (command, { twice }) => {
|
|
|
6764
6764
|
return password;
|
|
6765
6765
|
}, "passwordOf");
|
|
6766
6766
|
|
|
6767
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6767
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/node_modules/@wirecat/cli-core/dist/replies/rules.js
|
|
6768
6768
|
import { existsSync as existsSync5, readFileSync as readFileSync2 } from "node:fs";
|
|
6769
6769
|
import { join as join2 } from "node:path";
|
|
6770
6770
|
var REPLY_ACTIONS = ["reply", "task"];
|
|
@@ -6935,7 +6935,7 @@ var problem = /* @__PURE__ */ __name((issue) => {
|
|
|
6935
6935
|
}, "problem");
|
|
6936
6936
|
var broken = /* @__PURE__ */ __name((path, why) => new CliError("configuration_error", `the reply rules ${path} cannot be read (${why}) \u2014 fix the file`), "broken");
|
|
6937
6937
|
|
|
6938
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6938
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/node_modules/@wirecat/cli-core/dist/replies/state.js
|
|
6939
6939
|
import { existsSync as existsSync6, readFileSync as readFileSync3 } from "node:fs";
|
|
6940
6940
|
import { join as join3 } from "node:path";
|
|
6941
6941
|
var ANSWERED_KEPT = 1e3;
|
|
@@ -6988,7 +6988,7 @@ var recordReply = /* @__PURE__ */ __name((state, rule2, message, now) => {
|
|
|
6988
6988
|
}, "recordReply");
|
|
6989
6989
|
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");
|
|
6990
6990
|
|
|
6991
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6991
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/node_modules/@wirecat/cli-core/dist/replies/decide.js
|
|
6992
6992
|
var skip = /* @__PURE__ */ __name((why) => ({ skip: why }), "skip");
|
|
6993
6993
|
var decide = /* @__PURE__ */ __name((rule2, incoming, state, now) => {
|
|
6994
6994
|
const { message, chat, owner, sender } = incoming;
|
|
@@ -7094,10 +7094,10 @@ var filled = /* @__PURE__ */ __name((template2, senderName) => {
|
|
|
7094
7094
|
return template2.replaceAll("{firstName}", name.split(/\s+/)[0] ?? name).replaceAll("{name}", name);
|
|
7095
7095
|
}, "filled");
|
|
7096
7096
|
|
|
7097
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7097
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/node_modules/@wirecat/cli-core/dist/replies/template.js
|
|
7098
7098
|
var import_liquidjs2 = __toESM(require_liquid_node(), 1);
|
|
7099
7099
|
|
|
7100
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7100
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/node_modules/@wirecat/cli-core/dist/render/liquid.js
|
|
7101
7101
|
var import_liquidjs = __toESM(require_liquid_node(), 1);
|
|
7102
7102
|
var safeLiquid = /* @__PURE__ */ __name((limits) => {
|
|
7103
7103
|
const engine = new import_liquidjs.Liquid({
|
|
@@ -7124,7 +7124,7 @@ var safeLiquid = /* @__PURE__ */ __name((limits) => {
|
|
|
7124
7124
|
return engine;
|
|
7125
7125
|
}, "safeLiquid");
|
|
7126
7126
|
|
|
7127
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7127
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/node_modules/@wirecat/cli-core/dist/replies/template.js
|
|
7128
7128
|
var TEMPLATE_LIMITS = {
|
|
7129
7129
|
parse: 32768,
|
|
7130
7130
|
renders: 2e3,
|
|
@@ -7263,7 +7263,7 @@ var renderReplyTemplate = /* @__PURE__ */ __name(async (reply, input) => {
|
|
|
7263
7263
|
}
|
|
7264
7264
|
}, "renderReplyTemplate");
|
|
7265
7265
|
|
|
7266
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7266
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/node_modules/@wirecat/cli-core/dist/replies/dry-run.js
|
|
7267
7267
|
var DRY_RUN_DAYS = 7;
|
|
7268
7268
|
var PAGE = 500;
|
|
7269
7269
|
var dryRun = /* @__PURE__ */ __name(async (store, account, rules, { since, until = Date.now(), only, audience, render }) => {
|
|
@@ -7377,7 +7377,7 @@ var storedSince = /* @__PURE__ */ __name(async (store, account, chat, since) =>
|
|
|
7377
7377
|
}
|
|
7378
7378
|
}, "storedSince");
|
|
7379
7379
|
|
|
7380
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7380
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/node_modules/@wirecat/cli-core/dist/models/ai.js
|
|
7381
7381
|
var AI_PROVIDERS = ["anthropic", "openai", "ollama"];
|
|
7382
7382
|
var DEFAULT_BASE_URL = {
|
|
7383
7383
|
anthropic: "https://api.anthropic.com",
|
|
@@ -7527,7 +7527,7 @@ var checkAi = /* @__PURE__ */ __name(async (deps) => {
|
|
|
7527
7527
|
}
|
|
7528
7528
|
}, "checkAi");
|
|
7529
7529
|
|
|
7530
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7530
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/node_modules/@wirecat/cli-core/dist/models/purpose.js
|
|
7531
7531
|
var HOSTED = {
|
|
7532
7532
|
openai: "https://api.openai.com/v1",
|
|
7533
7533
|
anthropic: "https://api.anthropic.com"
|
|
@@ -7548,7 +7548,7 @@ var purposeModel = /* @__PURE__ */ __name((settings, purpose, deps) => {
|
|
|
7548
7548
|
return shared ? { target: shared.target, key: /* @__PURE__ */ __name(() => shared.key, "key"), shared: shared.setting } : void 0;
|
|
7549
7549
|
}, "purposeModel");
|
|
7550
7550
|
|
|
7551
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7551
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/node_modules/@wirecat/cli-core/dist/replies/consents.js
|
|
7552
7552
|
import { existsSync as existsSync7, readFileSync as readFileSync4 } from "node:fs";
|
|
7553
7553
|
import { join as join4 } from "node:path";
|
|
7554
7554
|
var shape = strictObject({
|
|
@@ -7573,7 +7573,7 @@ var mayModelReply = /* @__PURE__ */ __name((path, provider, chat) => {
|
|
|
7573
7573
|
return consent.provider === provider && !consent.deniedChats.includes(chat);
|
|
7574
7574
|
}, "mayModelReply");
|
|
7575
7575
|
|
|
7576
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7576
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/node_modules/@wirecat/cli-core/dist/replies/rendering.js
|
|
7577
7577
|
var replyRenderer = /* @__PURE__ */ __name((app, profile, settings, env, warn, options = {
|
|
7578
7578
|
ai: true
|
|
7579
7579
|
}) => async (rule2, message, chat, now) => {
|
|
@@ -7621,7 +7621,7 @@ var replyRenderer = /* @__PURE__ */ __name((app, profile, settings, env, warn, o
|
|
|
7621
7621
|
return result2;
|
|
7622
7622
|
}, "replyRenderer");
|
|
7623
7623
|
|
|
7624
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7624
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/node_modules/@wirecat/cli-core/dist/replies/serve.js
|
|
7625
7625
|
var NOT_ALLOWED = "replies.send is not allow";
|
|
7626
7626
|
var NO_RULES = "no rules";
|
|
7627
7627
|
var ONLY_TASK = "opened a task, sent nothing";
|
|
@@ -7714,7 +7714,7 @@ var replyTo = /* @__PURE__ */ __name(async (deps, message) => {
|
|
|
7714
7714
|
return { skip: why };
|
|
7715
7715
|
}, "replyTo");
|
|
7716
7716
|
|
|
7717
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7717
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/node_modules/@wirecat/cli-core/dist/cli/messenger/serve-catch-up.js
|
|
7718
7718
|
var START_SYNC_DELAY_MS = 3e4;
|
|
7719
7719
|
var START_SYNC_BUDGET_MS = 5 * 6e4;
|
|
7720
7720
|
var START_SYNC_WINDOW_MS = 7 * 864e5;
|
|
@@ -7791,7 +7791,7 @@ var startSync = /* @__PURE__ */ __name(({ chats, newestHeld, fetch, note, warn,
|
|
|
7791
7791
|
};
|
|
7792
7792
|
}, "startSync");
|
|
7793
7793
|
|
|
7794
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7794
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/node_modules/@wirecat/cli-core/dist/cli/messenger/serve-members.js
|
|
7795
7795
|
var FIRST_FETCH_MS = 6e4;
|
|
7796
7796
|
var DAY_MS = 864e5;
|
|
7797
7797
|
var memberFetches = /* @__PURE__ */ __name(({ withStore, fetch, warn, firstMs = FIRST_FETCH_MS, everyMs = DAY_MS }) => {
|
|
@@ -7845,7 +7845,7 @@ var memberFetches = /* @__PURE__ */ __name(({ withStore, fetch, warn, firstMs =
|
|
|
7845
7845
|
};
|
|
7846
7846
|
}, "memberFetches");
|
|
7847
7847
|
|
|
7848
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7848
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/node_modules/@wirecat/cli-core/dist/cli/messenger/serve-notice.js
|
|
7849
7849
|
var record2 = /* @__PURE__ */ __name((context, app, severity, attributes) => recordLogFor(context.streams.diagnostic, app, { command: currentRun().command || "serve" })[severity](attributes), "record");
|
|
7850
7850
|
var noticeFor = /* @__PURE__ */ __name((context, app, severity = "warn") => ({ text, ...attributes }) => {
|
|
7851
7851
|
if (context.format === "pretty") {
|
|
@@ -7878,7 +7878,7 @@ var recordDiagnostics = /* @__PURE__ */ __name((context, app) => {
|
|
|
7878
7878
|
return context;
|
|
7879
7879
|
}, "recordDiagnostics");
|
|
7880
7880
|
|
|
7881
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7881
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/node_modules/@wirecat/cli-core/dist/cli/messenger/serve-outdated.js
|
|
7882
7882
|
import { existsSync as existsSync8, readFileSync as readFileSync5, realpathSync as realpathSync2 } from "node:fs";
|
|
7883
7883
|
import { dirname as dirname2, join as join5 } from "node:path";
|
|
7884
7884
|
var OUTDATED_CHECK_MS = 6e4;
|
|
@@ -7964,7 +7964,7 @@ var watchOutdated = /* @__PURE__ */ __name(({ check: check2, onOutdated, everyMs
|
|
|
7964
7964
|
};
|
|
7965
7965
|
}, "watchOutdated");
|
|
7966
7966
|
|
|
7967
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7967
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/node_modules/@wirecat/cli-core/dist/cli/messenger/serve-stems.js
|
|
7968
7968
|
var STEMS_EVERY_MS = 3e4;
|
|
7969
7969
|
var STEMS_SLICE_MS = 2e3;
|
|
7970
7970
|
var stemFills = /* @__PURE__ */ __name(({ withStore, warn, everyMs = STEMS_EVERY_MS, sliceMs = STEMS_SLICE_MS }) => {
|
|
@@ -8004,7 +8004,7 @@ var stemFills = /* @__PURE__ */ __name(({ withStore, warn, everyMs = STEMS_EVERY
|
|
|
8004
8004
|
};
|
|
8005
8005
|
}, "stemFills");
|
|
8006
8006
|
|
|
8007
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8007
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/node_modules/@wirecat/cli-core/dist/cli/messenger/message-items.js
|
|
8008
8008
|
var defined = /* @__PURE__ */ __name((value) => Object.fromEntries(Object.entries(value).filter(([, one]) => one !== void 0)), "defined");
|
|
8009
8009
|
var attachmentItem = /* @__PURE__ */ __name((attachment) => defined({
|
|
8010
8010
|
kind: attachment.kind,
|
|
@@ -8100,7 +8100,7 @@ var viewOf = /* @__PURE__ */ __name((context, messenger) => ({
|
|
|
8100
8100
|
locale: messenger.app.locale
|
|
8101
8101
|
}), "viewOf");
|
|
8102
8102
|
|
|
8103
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8103
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/node_modules/@wirecat/cli-core/dist/cli/messenger/watch-answers.js
|
|
8104
8104
|
var observed = /* @__PURE__ */ __name((value) => ({
|
|
8105
8105
|
value: value.value,
|
|
8106
8106
|
observed_at: value.observedAt,
|
|
@@ -8167,7 +8167,7 @@ var watchEventItem = /* @__PURE__ */ __name((value, account) => {
|
|
|
8167
8167
|
}
|
|
8168
8168
|
}, "watchEventItem");
|
|
8169
8169
|
|
|
8170
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8170
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/node_modules/@wirecat/cli-core/dist/cli/messenger/watch-command.js
|
|
8171
8171
|
var watchCommand = /* @__PURE__ */ __name((messenger) => annotate(new Command("watch"), {
|
|
8172
8172
|
output: { entity: "watch_item" },
|
|
8173
8173
|
effects: REMOTE_READ,
|
|
@@ -8322,7 +8322,7 @@ var describe = /* @__PURE__ */ __name((event, render) => {
|
|
|
8322
8322
|
}
|
|
8323
8323
|
}, "describe");
|
|
8324
8324
|
|
|
8325
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8325
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/node_modules/@wirecat/cli-core/dist/cli/messenger/serve-command.js
|
|
8326
8326
|
var CURRENT_EVERY_MS = 6e4;
|
|
8327
8327
|
var serveCommand = /* @__PURE__ */ __name((messenger) => {
|
|
8328
8328
|
const command = annotate(new Command("serve"), {
|
|
@@ -8622,7 +8622,7 @@ var tasking = /* @__PURE__ */ __name((context, warn) => {
|
|
|
8622
8622
|
};
|
|
8623
8623
|
}, "tasking");
|
|
8624
8624
|
|
|
8625
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8625
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/node_modules/@wirecat/cli-core/dist/cli/messenger/store-tables-command.js
|
|
8626
8626
|
import { existsSync as existsSync9 } from "node:fs";
|
|
8627
8627
|
var PATH = "store tables list";
|
|
8628
8628
|
var STORE_TABLES_QUERY = {
|
|
@@ -8665,7 +8665,7 @@ var storeTablesCommand = /* @__PURE__ */ __name((owner) => {
|
|
|
8665
8665
|
return tables;
|
|
8666
8666
|
}, "storeTablesCommand");
|
|
8667
8667
|
|
|
8668
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8668
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/node_modules/@wirecat/cli-core/dist/cli/messenger/store-maintenance-command.js
|
|
8669
8669
|
var SEARCH_INDEXES = ["messages_fts", "chats_fts", "identities_fts"];
|
|
8670
8670
|
var WORD_INDEX = "message_words";
|
|
8671
8671
|
var schemaOf = /* @__PURE__ */ __name((database) => {
|
|
@@ -3,15 +3,15 @@ const require = __bundleRequire(import.meta.url);
|
|
|
3
3
|
import {
|
|
4
4
|
filesPresent,
|
|
5
5
|
sharedModelsDirectory
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-A7KGBXBT.js";
|
|
7
7
|
import {
|
|
8
8
|
readSharedSection,
|
|
9
9
|
sharedConfigPath,
|
|
10
10
|
writeSharedSection
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-CEHBT7QX.js";
|
|
12
12
|
import {
|
|
13
13
|
storePath
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-DMYLQX2O.js";
|
|
15
15
|
import {
|
|
16
16
|
array,
|
|
17
17
|
check,
|
|
@@ -40,7 +40,7 @@ import {
|
|
|
40
40
|
__name
|
|
41
41
|
} from "./chunk-ZVVMGPBJ.js";
|
|
42
42
|
|
|
43
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
43
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/node_modules/@wirecat/cli-core/dist/embeddings/models.js
|
|
44
44
|
import { existsSync } from "node:fs";
|
|
45
45
|
import { join } from "node:path";
|
|
46
46
|
var huggingFace = /* @__PURE__ */ __name((repository, commit) => (name) => `https://huggingface.co/${repository}/resolve/${commit}/${name}`, "huggingFace");
|
|
@@ -8,10 +8,10 @@ import {
|
|
|
8
8
|
annotateOption,
|
|
9
9
|
listOf,
|
|
10
10
|
sharedCommand
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-M3JDGRXM.js";
|
|
12
12
|
import {
|
|
13
13
|
readMoment
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-5MFZYHPO.js";
|
|
15
15
|
import {
|
|
16
16
|
BACKENDS,
|
|
17
17
|
EVENT_QUERY,
|
|
@@ -51,7 +51,7 @@ import {
|
|
|
51
51
|
validateMeetingHitSearch,
|
|
52
52
|
validateMeetingPassage,
|
|
53
53
|
validateQuery
|
|
54
|
-
} from "./chunk-
|
|
54
|
+
} from "./chunk-2HSYAKWO.js";
|
|
55
55
|
import {
|
|
56
56
|
CliError
|
|
57
57
|
} from "./chunk-AP3CWDRK.js";
|
|
@@ -59,7 +59,7 @@ import {
|
|
|
59
59
|
__name
|
|
60
60
|
} from "./chunk-ZVVMGPBJ.js";
|
|
61
61
|
|
|
62
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
62
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/node_modules/@wirecat/cli-core/dist/services/moment.js
|
|
63
63
|
var read = /* @__PURE__ */ __name((reference, flag, now, at) => {
|
|
64
64
|
const found = readMoment(reference, flag, { ...at, now });
|
|
65
65
|
if (found === void 0)
|
|
@@ -88,7 +88,7 @@ var dateWindow = /* @__PURE__ */ __name(({ sinceTime, untilTime, zone, now = Dat
|
|
|
88
88
|
};
|
|
89
89
|
}, "dateWindow");
|
|
90
90
|
|
|
91
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
91
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/node_modules/@wirecat/cli-core/dist/meetings/cli/management.js
|
|
92
92
|
var REMOTE_READ = { remote: "read", local: "read" };
|
|
93
93
|
var REMOTE_WRITE = { remote: "write", local: "write" };
|
|
94
94
|
var minutes = /* @__PURE__ */ __name((text) => {
|
|
@@ -193,7 +193,7 @@ var addMeetingManagementCommands = /* @__PURE__ */ __name((group, deps) => {
|
|
|
193
193
|
}).description("the invitation text the service writes for a meeting"))).action(async (id, _flags, command) => inRun(command, async () => print({ item: { ...await management.invitation(id, signalled()), untrusted: ["invitation"] } }, command)));
|
|
194
194
|
}, "addMeetingManagementCommands");
|
|
195
195
|
|
|
196
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
196
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/node_modules/@wirecat/cli-core/dist/meetings/cli/query-options.js
|
|
197
197
|
var queryWordsAfterOptions = /* @__PURE__ */ __name((command) => {
|
|
198
198
|
command.allowUnknownOption();
|
|
199
199
|
const parse = command.parseOptions.bind(command);
|
|
@@ -213,7 +213,7 @@ var queryWordsAfterOptions = /* @__PURE__ */ __name((command) => {
|
|
|
213
213
|
return command;
|
|
214
214
|
}, "queryWordsAfterOptions");
|
|
215
215
|
|
|
216
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
216
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/node_modules/@wirecat/cli-core/dist/meetings/cli/passage.js
|
|
217
217
|
var count = /* @__PURE__ */ __name((value) => {
|
|
218
218
|
if (!/^(0|[1-9]\d*)$/.test(value) || !Number.isSafeInteger(Number(value)))
|
|
219
219
|
throw new CliError("validation_error", "expected a nonnegative safe integer");
|
|
@@ -255,7 +255,7 @@ var addMeetingPassageCommandDefinition = /* @__PURE__ */ __name((program, deps)
|
|
|
255
255
|
var createMeetingPassageCommand = sharedCommand(createMeetingPassageCommandDefinition);
|
|
256
256
|
var addMeetingPassageCommand = sharedCommand(addMeetingPassageCommandDefinition);
|
|
257
257
|
|
|
258
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
258
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/node_modules/@wirecat/cli-core/dist/meetings/cli/project-evidence.js
|
|
259
259
|
var integer = /* @__PURE__ */ __name((value) => {
|
|
260
260
|
if (!/^[1-9]\d*$/.test(value) || !Number.isSafeInteger(Number(value)))
|
|
261
261
|
throw new CliError("validation_error", "expected a positive safe integer");
|
|
@@ -278,7 +278,7 @@ ${fieldsHelp(MEETING_PROJECT_EVIDENCE_QUERY)}`).option("--limit <n>", "hits in o
|
|
|
278
278
|
}, "addMeetingProjectEvidenceCommandDefinition");
|
|
279
279
|
var addMeetingProjectEvidenceCommand = sharedCommand(addMeetingProjectEvidenceCommandDefinition);
|
|
280
280
|
|
|
281
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
281
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/node_modules/@wirecat/cli-core/dist/meetings/cli/search.js
|
|
282
282
|
var moment = /* @__PURE__ */ __name((flag, end, readIn) => (value) => {
|
|
283
283
|
const { since, until, meta } = dateWindow(end ? { untilTime: value, names: [flag, flag] } : { sinceTime: value, names: [flag, flag] });
|
|
284
284
|
if (meta.timezone)
|
|
@@ -357,7 +357,7 @@ var addMeetingSearchCommandDefinition = /* @__PURE__ */ __name((program, deps) =
|
|
|
357
357
|
var createMeetingSearchCommand = sharedCommand(createMeetingSearchCommandDefinition);
|
|
358
358
|
var addMeetingSearchCommand = sharedCommand(addMeetingSearchCommandDefinition);
|
|
359
359
|
|
|
360
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
360
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/node_modules/@wirecat/cli-core/dist/meetings/cli/index.js
|
|
361
361
|
var EVENT_UNTRUSTED = ["title", "description", "location"];
|
|
362
362
|
var integer3 = /* @__PURE__ */ __name((text) => {
|
|
363
363
|
if (!/^[1-9]\d*$/.test(text) || !Number.isSafeInteger(Number(text)))
|
|
@@ -543,7 +543,7 @@ ${fieldsHelp(EVENT_QUERY, MEETING_QUERY_GUIDE)}`);
|
|
|
543
543
|
}, "addMeetingCommandsDefinition");
|
|
544
544
|
var addMeetingCommands = sharedCommand(addMeetingCommandsDefinition);
|
|
545
545
|
|
|
546
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
546
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/node_modules/@wirecat/cli-core/dist/cli/list-query.js
|
|
547
547
|
var LIST_QUERY_GUIDE = "https://github.com/WireCatLabs/cli-core/blob/main/docs/search/query-language.md";
|
|
548
548
|
var QUERY_ARGUMENT = "field:value terms that narrow the list \u2014 the fields are below";
|
|
549
549
|
var withQuery = /* @__PURE__ */ __name((command, registry) => {
|
|
@@ -690,7 +690,7 @@ var termField = /* @__PURE__ */ __name((name, type, example, more = {}) => nativ
|
|
|
690
690
|
var queryHelp = /* @__PURE__ */ __name((registry) => `
|
|
691
691
|
${fieldsHelp(registry, LIST_QUERY_GUIDE)}`, "queryHelp");
|
|
692
692
|
|
|
693
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
693
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/node_modules/@wirecat/cli-core/dist/ports/messenger.js
|
|
694
694
|
var throughWrapper = /* @__PURE__ */ __name((inner, handled, wrap = (_, call) => call) => new Proxy(handled, {
|
|
695
695
|
get: /* @__PURE__ */ __name((own, key) => {
|
|
696
696
|
if (key in own)
|