@wirecat/cli-memo 0.131.76 → 0.131.78
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bin/memo.js +2 -2
- package/dist/bin/memo.js.map +1 -1
- package/dist/bundle/{all-profiles-CGQTLFDM.js → all-profiles-ZEUEPNFD.js} +10 -8
- package/dist/bundle/{anthropic-C744EPRR.js → anthropic-VF75LSDZ.js} +7 -5
- package/dist/bundle/{app-server-LOH7WXAB.js → app-server-Z4TY5VP5.js} +42 -40
- package/dist/bundle/auto-SA667UAT.js +91 -0
- package/dist/bundle/{bun-SQWZDSWT.js → bun-OUR5UZAI.js} +2 -2
- package/dist/bundle/{bun-sqlite-YVBFXNWB.js → bun-sqlite-26ZGEVH3.js} +7 -5
- package/dist/bundle/{chunk-2KGYREGD.js → chunk-22RYCAAO.js} +1604 -1114
- package/dist/bundle/{chunk-W46O6RJ5.js → chunk-2IQWMWMC.js} +42 -130
- package/dist/bundle/{chunk-4O2MYFYC.js → chunk-3EPBPSP6.js} +1 -1
- package/dist/bundle/{chunk-KEBL3PY4.js → chunk-3QBRLN6T.js} +2 -2
- package/dist/bundle/{chunk-Y7YXXWQI.js → chunk-3QV5JWFN.js} +3 -3
- package/dist/bundle/{chunk-LLBZDBPT.js → chunk-4LZLU2V3.js} +4 -4
- package/dist/bundle/{chunk-6RPLAGAL.js → chunk-5NBQOU5V.js} +22 -22
- package/dist/bundle/{chunk-AUCXJVUI.js → chunk-5PCPPT43.js} +34 -32
- package/dist/bundle/{chunk-VYCLOFPC.js → chunk-6A37YXAL.js} +6 -184
- package/dist/bundle/{chunk-3PLYUZAR.js → chunk-6ABWVQ4T.js} +1 -1
- package/dist/bundle/{chunk-NM4QMIOQ.js → chunk-6GHBGGN7.js} +3 -3
- package/dist/bundle/{chunk-RTSRESGX.js → chunk-7DKS4GIW.js} +6 -6
- package/dist/bundle/{chunk-RLRKBPLJ.js → chunk-7ENXMVT5.js} +25 -13
- package/dist/bundle/{chunk-KA5MDFLU.js → chunk-A3QZXQI3.js} +1 -1
- package/dist/bundle/{chunk-ZHAHSVQO.js → chunk-AZIXZIXT.js} +7 -7
- package/dist/bundle/{chunk-NE3UIK5P.js → chunk-B2ZAEF5Z.js} +2 -2
- package/dist/bundle/{chunk-2EZFUIL4.js → chunk-BA6GHX5B.js} +27 -27
- package/dist/bundle/{chunk-V6CRCAWN.js → chunk-D67YDJ35.js} +505 -305
- package/dist/bundle/{chunk-C7OOLF5J.js → chunk-DAEPTQ6N.js} +6 -6
- package/dist/bundle/{chunk-MODHP5VA.js → chunk-DDPZY27T.js} +22 -18
- package/dist/bundle/{chunk-YSOTOUHJ.js → chunk-E5JVYVRX.js} +15 -15
- package/dist/bundle/{chunk-HAMGOLFU.js → chunk-EF33DKMR.js} +1 -1
- package/dist/bundle/{chunk-N2FIIVJV.js → chunk-EI7LYQQA.js} +4 -4
- package/dist/bundle/{chunk-4DTJF6E7.js → chunk-EIQ6HCIB.js} +8 -8
- package/dist/bundle/{chunk-OEH5JUAL.js → chunk-ELKRFQ5Y.js} +13 -13
- package/dist/bundle/chunk-EXFRC4OT.js +106 -0
- package/dist/bundle/{chunk-EVLOYNXC.js → chunk-F7MKFYYP.js} +4 -4
- package/dist/bundle/{chunk-YRJ2576I.js → chunk-GXHPPHGB.js} +11 -11
- package/dist/bundle/{chunk-YNXQAB4X.js → chunk-H2AQV772.js} +11 -11
- package/dist/bundle/{chunk-KYLKZKQ7.js → chunk-I6CZU7X7.js} +2 -2
- package/dist/bundle/{chunk-TGURQ4YH.js → chunk-IFANDP3T.js} +8 -2
- package/dist/bundle/{chunk-MFQTOOHR.js → chunk-JHW2ARPA.js} +35 -35
- package/dist/bundle/{chunk-DUON3SRD.js → chunk-KUY35N7Q.js} +8 -8
- package/dist/bundle/{chunk-SF2OLWBU.js → chunk-LJRXD44C.js} +7 -7
- package/dist/bundle/{chunk-VFJAGY3L.js → chunk-MUFU4LNS.js} +3 -3
- package/dist/bundle/{chunk-3NCRQMEN.js → chunk-MW6IAMUI.js} +1 -1
- package/dist/bundle/{chunk-PFNEOHCY.js → chunk-N7CHOWDF.js} +3 -3
- package/dist/bundle/{chunk-S54Z74G2.js → chunk-NGWKI3E6.js} +2 -2
- package/dist/bundle/{chunk-ODCHYVTW.js → chunk-NXQFVHG4.js} +163 -154
- package/dist/bundle/{chunk-AI6PMW7L.js → chunk-OHMF7LWW.js} +6 -6
- package/dist/bundle/{chunk-XGPSFPLH.js → chunk-OMCET4QP.js} +48 -48
- package/dist/bundle/{chunk-YU7KZW5I.js → chunk-OMGNXKSH.js} +5 -5
- package/dist/bundle/{chunk-4IWOPJL4.js → chunk-OUATPEPP.js} +7 -7
- package/dist/bundle/{chunk-5NY7U6CM.js → chunk-P3UQGKGY.js} +12 -10
- package/dist/bundle/{chunk-DDSKTPU7.js → chunk-PTKJIA7M.js} +4 -4
- package/dist/bundle/{chunk-TD4HM7XL.js → chunk-Q2CQNT3A.js} +1 -1
- package/dist/bundle/{chunk-GB64N6DP.js → chunk-QEJHNTCX.js} +298 -297
- package/dist/bundle/{chunk-FUATAPSB.js → chunk-QU7UPCW2.js} +83 -81
- package/dist/bundle/{chunk-TPWAXJUQ.js → chunk-T37LLOZR.js} +1 -1
- package/dist/bundle/{chunk-OJU774SG.js → chunk-T6LXUBXY.js} +4 -4
- package/dist/bundle/{chunk-TXVXEE7L.js → chunk-TT5RMHM6.js} +6 -6
- package/dist/bundle/{chunk-Z3NRIW4M.js → chunk-TWWYDJBW.js} +1 -1
- package/dist/bundle/{chunk-ZIA7AU7L.js → chunk-UIJBGS6K.js} +2 -2
- package/dist/bundle/{chunk-7PSGKP3R.js → chunk-UWF6WXM7.js} +8 -8
- package/dist/bundle/{chunk-FH753LZS.js → chunk-VHA3LJQT.js} +2 -2
- package/dist/bundle/{chunk-GBU4U55M.js → chunk-VJLJFLKZ.js} +1 -1
- package/dist/bundle/{chunk-H3WELZYK.js → chunk-WETWQO6X.js} +3 -3
- package/dist/bundle/{chunk-7OZEQIK7.js → chunk-WHMKYJZR.js} +1 -1
- package/dist/bundle/{chunk-7XFJRX6F.js → chunk-WHZJHUK6.js} +3 -3
- package/dist/bundle/{chunk-W5ARY4U2.js → chunk-WYSFOL74.js} +4 -4
- package/dist/bundle/chunk-X2SA73EE.js +200 -0
- package/dist/bundle/{chunk-47WS4BML.js → chunk-XC26CUGL.js} +12 -10
- package/dist/bundle/{chunk-6YRVBXFH.js → chunk-XTCN3VUP.js} +10 -10
- package/dist/bundle/{chunk-O3KNZVDZ.js → chunk-Y2J52Y3A.js} +4 -4
- package/dist/bundle/{chunk-42UNPXTC.js → chunk-YOM4PA3A.js} +2 -2
- package/dist/bundle/{chunk-YD7XTYEC.js → chunk-Z4TPRASF.js} +6 -6
- package/dist/bundle/{chunk-5AQIET5P.js → chunk-ZKCAR2OL.js} +2 -2
- package/dist/bundle/command-contract-L5GTW74N.js +34 -0
- package/dist/bundle/{command-server-entry-472XWNSN.js → command-server-entry-A7ZCZWHH.js} +22 -20
- package/dist/bundle/{decode-SFZ67QJN.js → decode-FO2ELPW6.js} +7 -5
- package/dist/bundle/{dispatch-PHB2Y6ZL.js → dispatch-N73TJNYM.js} +3 -3
- package/dist/bundle/{echarts-3U34KH7O.js → echarts-HTY3OB2X.js} +2 -2
- package/dist/bundle/{embed-ZEZXJ45Q.js → embed-2DTGMR7Z.js} +8 -6
- package/dist/bundle/{embedder-AASO2I4Z.js → embedder-N3IGQ2M6.js} +11 -9
- package/dist/bundle/entry-Q7CIJ3TU.js +23 -0
- package/dist/bundle/entry-YDEKGRCA.js +78 -0
- package/dist/bundle/{failure-OBT7CUVW.js → failure-IPHFR3KW.js} +3 -2
- package/dist/bundle/failure-QL3RJILP.js +71 -0
- package/dist/bundle/{first-run-YL3TIUU3.js → first-run-SAADMYEA.js} +11 -9
- package/dist/bundle/first-screen-WXKAIMY6.js +32 -0
- package/dist/bundle/{instructions-HG2ZZ7AP.js → instructions-XB5Y5DFA.js} +1 -1
- package/dist/bundle/mcp-IRJS472M.js +92 -0
- package/dist/bundle/memo.js +9 -56
- package/dist/bundle/{node-7AQN6OTR.js → node-4ZOD7X75.js} +2 -2
- package/dist/bundle/{node-sqlite-55KMFPGI.js → node-sqlite-DWXKYFW6.js} +8 -6
- package/dist/bundle/{oauth-S2GLD4PY.js → oauth-GMIBNJQB.js} +9 -7
- package/dist/bundle/{open-6R4UPST5.js → open-3DBI3MHV.js} +7 -5
- package/dist/bundle/openai-HFJAR7W5.js +26 -0
- package/dist/bundle/{process-C7J3IT7Q.js → process-2H5HNPHH.js} +1 -1
- package/dist/bundle/{program-KWI6M5IB.js → program-VXKN6DLP.js} +300 -149
- package/dist/bundle/{prompt-EEFKVWSA.js → prompt-WETKFAQS.js} +7 -5
- package/dist/bundle/{recognize-STYHVWQ6.js → recognize-5LC3DQ2W.js} +6 -4
- package/dist/bundle/{remote-6MXZXHYY.js → remote-FURTWZ25.js} +9 -7
- package/dist/bundle/{rerank-IMX2ONZG.js → rerank-CMQWT3WC.js} +9 -7
- package/dist/bundle/serve-LEF3PX34.js +24 -0
- package/dist/bundle/server-C2EVLJLW.js +64 -0
- package/dist/bundle/{server-L6OS2MJ5.js → server-GYLFN6Y7.js} +62 -59
- package/dist/bundle/server-L7GHFXJF.js +50 -0
- package/dist/bundle/{state-7MP4KKPG.js → state-OVZT24JF.js} +8 -6
- package/dist/bundle/{store-EMAKEEYI.js → store-SV46T732.js} +14 -12
- package/dist/bundle/store-maintenance-command-TZYC5HVL.js +49 -0
- package/dist/bundle/update-PRBIV3RG.js +74 -0
- package/dist/people/command.d.ts.map +1 -1
- package/dist/people/command.js +3 -2
- package/dist/people/command.js.map +1 -1
- package/dist/people/identities-command.d.ts.map +1 -1
- package/dist/people/identities-command.js +2 -0
- package/dist/people/identities-command.js.map +1 -1
- package/dist/reasons.d.ts.map +1 -1
- package/dist/reasons.js +6 -0
- package/dist/reasons.js.map +1 -1
- package/dist/run/entry.d.ts +7 -0
- package/dist/run/entry.d.ts.map +1 -0
- package/dist/run/entry.js +62 -0
- package/dist/run/entry.js.map +1 -0
- package/dist/sources/command.d.ts.map +1 -1
- package/dist/sources/command.js +29 -3
- package/dist/sources/command.js.map +1 -1
- package/dist/sources/read.d.ts +16 -2
- package/dist/sources/read.d.ts.map +1 -1
- package/dist/sources/read.js +40 -4
- package/dist/sources/read.js.map +1 -1
- package/dist/sources/readers/ai-model.d.ts +4 -0
- package/dist/sources/readers/ai-model.d.ts.map +1 -0
- package/dist/sources/readers/ai-model.js +74 -0
- package/dist/sources/readers/ai-model.js.map +1 -0
- package/dist/sources/readers/index.d.ts +1 -0
- package/dist/sources/readers/index.d.ts.map +1 -1
- package/dist/sources/readers/index.js +3 -1
- package/dist/sources/readers/index.js.map +1 -1
- package/dist/sources/readers/keys.js +1 -1
- package/dist/sources/readers/keys.js.map +1 -1
- package/dist/sources/readers/types.d.ts +5 -2
- package/dist/sources/readers/types.d.ts.map +1 -1
- package/dist/sources/readers/types.js +1 -1
- package/dist/sources/readers/types.js.map +1 -1
- package/dist/sources/suggest-command.d.ts.map +1 -1
- package/dist/sources/suggest-command.js +16 -5
- package/dist/sources/suggest-command.js.map +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +2 -2
- package/dist/bundle/auto-R3ABUML7.js +0 -89
- package/dist/bundle/command-contract-IEUSFI3B.js +0 -32
- package/dist/bundle/entry-7VHMR3LD.js +0 -21
- package/dist/bundle/failure-DJSK3LGN.js +0 -69
- package/dist/bundle/first-screen-OQVOWRYM.js +0 -30
- package/dist/bundle/mcp-EUFDOVMI.js +0 -90
- package/dist/bundle/openai-JK5GCSDK.js +0 -24
- package/dist/bundle/serve-ZNN464BH.js +0 -22
- package/dist/bundle/server-4CHUUMVI.js +0 -48
- package/dist/bundle/server-VCZCAQOB.js +0 -62
- package/dist/bundle/store-maintenance-command-LWN6OUFA.js +0 -47
- package/dist/bundle/update-I4X2UO6J.js +0 -72
- /package/dist/bundle/{chunk-IKIYW7FW.js → chunk-DK3W4FPW.js} +0 -0
|
@@ -9,18 +9,18 @@ import {
|
|
|
9
9
|
providerErrorKey,
|
|
10
10
|
renderEvent,
|
|
11
11
|
runContextOf
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-LJRXD44C.js";
|
|
13
13
|
import {
|
|
14
14
|
carries
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-Q2CQNT3A.js";
|
|
16
16
|
import {
|
|
17
17
|
permissionCeiling
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-F7MKFYYP.js";
|
|
19
19
|
import {
|
|
20
20
|
envName,
|
|
21
21
|
readOnlyLockOf,
|
|
22
22
|
readOnlyRefusal
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-NGWKI3E6.js";
|
|
24
24
|
import {
|
|
25
25
|
BUSINESS_KINDS,
|
|
26
26
|
CATEGORIES,
|
|
@@ -98,39 +98,44 @@ import {
|
|
|
98
98
|
typedCommand,
|
|
99
99
|
untrusted,
|
|
100
100
|
useAsProcessRun
|
|
101
|
-
} from "./chunk-
|
|
101
|
+
} from "./chunk-QU7UPCW2.js";
|
|
102
102
|
import {
|
|
103
103
|
isCliFailure,
|
|
104
104
|
storeDamaged
|
|
105
|
-
} from "./chunk-
|
|
105
|
+
} from "./chunk-WHZJHUK6.js";
|
|
106
106
|
import {
|
|
107
107
|
readSharedSection,
|
|
108
108
|
sharedConfigPath,
|
|
109
109
|
writeSharedSection
|
|
110
|
-
} from "./chunk-
|
|
110
|
+
} from "./chunk-TT5RMHM6.js";
|
|
111
111
|
import {
|
|
112
112
|
filesPresent,
|
|
113
113
|
sharedModelsDirectory
|
|
114
|
-
} from "./chunk-
|
|
114
|
+
} from "./chunk-T6LXUBXY.js";
|
|
115
115
|
import {
|
|
116
116
|
storePath
|
|
117
|
-
} from "./chunk-
|
|
117
|
+
} from "./chunk-VHA3LJQT.js";
|
|
118
118
|
import {
|
|
119
119
|
configFilePath,
|
|
120
120
|
createRecordLog,
|
|
121
121
|
createRenderer,
|
|
122
|
-
defineLogEvents,
|
|
123
122
|
fieldsOf,
|
|
124
123
|
processStreams,
|
|
125
124
|
projectFields,
|
|
126
125
|
resolvePaths,
|
|
127
126
|
saveConfigFile,
|
|
128
127
|
writeSecurely
|
|
129
|
-
} from "./chunk-
|
|
128
|
+
} from "./chunk-2IQWMWMC.js";
|
|
129
|
+
import {
|
|
130
|
+
defineLogEvents
|
|
131
|
+
} from "./chunk-EXFRC4OT.js";
|
|
130
132
|
import {
|
|
131
|
-
COMPACT_FLAG,
|
|
132
133
|
EXIT_CODES,
|
|
133
134
|
GENERIC_FAILURE,
|
|
135
|
+
exitCodeOfAnswer
|
|
136
|
+
} from "./chunk-X2SA73EE.js";
|
|
137
|
+
import {
|
|
138
|
+
COMPACT_FLAG,
|
|
134
139
|
MAX_NEXT_STEPS,
|
|
135
140
|
STEPS,
|
|
136
141
|
array,
|
|
@@ -138,7 +143,6 @@ import {
|
|
|
138
143
|
check,
|
|
139
144
|
defineSteps,
|
|
140
145
|
effectsSchema,
|
|
141
|
-
exitCodeOfAnswer,
|
|
142
146
|
getDotPath,
|
|
143
147
|
integer,
|
|
144
148
|
isoDate,
|
|
@@ -182,13 +186,13 @@ import {
|
|
|
182
186
|
url,
|
|
183
187
|
variant,
|
|
184
188
|
writes
|
|
185
|
-
} from "./chunk-
|
|
189
|
+
} from "./chunk-6A37YXAL.js";
|
|
186
190
|
import {
|
|
187
191
|
CliError,
|
|
188
192
|
isCliError,
|
|
189
193
|
singleLine,
|
|
190
194
|
visibleControls
|
|
191
|
-
} from "./chunk-
|
|
195
|
+
} from "./chunk-BA6GHX5B.js";
|
|
192
196
|
import {
|
|
193
197
|
__name
|
|
194
198
|
} from "./chunk-ZVVMGPBJ.js";
|
|
@@ -3979,7 +3983,7 @@ var commandsDocument = /* @__PURE__ */ __name((root, about) => ({
|
|
|
3979
3983
|
exit_codes: { ok: 0, internal_error: GENERIC_FAILURE, ...EXIT_CODES }
|
|
3980
3984
|
}), "commandsDocument");
|
|
3981
3985
|
|
|
3982
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3986
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/sends/permissions.js
|
|
3983
3987
|
var LEVELS = ["deny", "readonly", "ask", "allow"];
|
|
3984
3988
|
var DANGEROUS = /* @__PURE__ */ new Set(["messages.delete", "bot.messages.delete", "topics.delete", "chats.delete", "chats.clear"]);
|
|
3985
3989
|
var skipFlagFor = /* @__PURE__ */ __name((key) => DANGEROUS.has(key) ? "--allow-dangerous" : "--yes", "skipFlagFor");
|
|
@@ -4379,7 +4383,7 @@ var assertRetentionEvidenceRead = /* @__PURE__ */ __name((permissions) => {
|
|
|
4379
4383
|
}
|
|
4380
4384
|
}, "assertRetentionEvidenceRead");
|
|
4381
4385
|
|
|
4382
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4386
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/entities/account.js
|
|
4383
4387
|
var account = strictObject({
|
|
4384
4388
|
provider: text,
|
|
4385
4389
|
id,
|
|
@@ -4389,7 +4393,7 @@ var account = strictObject({
|
|
|
4389
4393
|
scope: optional(picklist(["personal", "work"]))
|
|
4390
4394
|
});
|
|
4391
4395
|
|
|
4392
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4396
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/entities/account-session.js
|
|
4393
4397
|
var accountSession = strictObject({
|
|
4394
4398
|
current: boolean(),
|
|
4395
4399
|
client: nullable(text),
|
|
@@ -4399,7 +4403,7 @@ var accountSession = strictObject({
|
|
|
4399
4403
|
created_at: optional(nullable(time))
|
|
4400
4404
|
});
|
|
4401
4405
|
|
|
4402
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4406
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/entities/account-change.js
|
|
4403
4407
|
var accountChange = strictObject({ operation_id: id, account: omit(account, ["provider", "scope"]) });
|
|
4404
4408
|
var endedAccountSessions = strictObject({ operation_id: id, sessions: array(accountSession) });
|
|
4405
4409
|
var audience = picklist(["everyone", "contacts", "nobody"]);
|
|
@@ -4428,7 +4432,7 @@ var accountRemoval = strictObject({
|
|
|
4428
4432
|
kept: array(strictObject({ kind: removalKind, target: text, reason: text }))
|
|
4429
4433
|
});
|
|
4430
4434
|
|
|
4431
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4435
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/entities/account-profile.js
|
|
4432
4436
|
var accountProfile = strictObject({
|
|
4433
4437
|
profile: id,
|
|
4434
4438
|
current: boolean(),
|
|
@@ -4440,7 +4444,7 @@ var accountProfile = strictObject({
|
|
|
4440
4444
|
bot: optional(literal(true))
|
|
4441
4445
|
});
|
|
4442
4446
|
|
|
4443
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4447
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/entities/counter-reading.js
|
|
4444
4448
|
var milliseconds = pipe(number(), minValue(0));
|
|
4445
4449
|
var counterReading = strictObject({
|
|
4446
4450
|
counter: picklist(["views", "reactions", "comments"]),
|
|
@@ -4452,7 +4456,7 @@ var counterReading = strictObject({
|
|
|
4452
4456
|
});
|
|
4453
4457
|
var selection = record(string(), unknown());
|
|
4454
4458
|
|
|
4455
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4459
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/entities/admin-report.js
|
|
4456
4460
|
var adminRow = strictObject({
|
|
4457
4461
|
ref: reference,
|
|
4458
4462
|
/** What `stats * evidence` takes: a person id, a stay or a message locator. */
|
|
@@ -4505,7 +4509,7 @@ var adminReport = strictObject({
|
|
|
4505
4509
|
rows: array(adminRow)
|
|
4506
4510
|
});
|
|
4507
4511
|
|
|
4508
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4512
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/entities/task.js
|
|
4509
4513
|
var closeSuggestion = strictObject({
|
|
4510
4514
|
as: picklist(["done", "dismissed"]),
|
|
4511
4515
|
/** The agent's name. */
|
|
@@ -4567,7 +4571,7 @@ var task = strictObject({
|
|
|
4567
4571
|
updated_at: optional(time)
|
|
4568
4572
|
});
|
|
4569
4573
|
|
|
4570
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4574
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/entities/agenda.js
|
|
4571
4575
|
var agendaChat = strictObject({
|
|
4572
4576
|
chat: reference,
|
|
4573
4577
|
title: nullable(text),
|
|
@@ -4637,11 +4641,11 @@ var agenda = strictObject({
|
|
|
4637
4641
|
unlisted_categories: array(strictObject({ name: text, open_tasks: number() }))
|
|
4638
4642
|
});
|
|
4639
4643
|
|
|
4640
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4644
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/entities/analysis-consent.js
|
|
4641
4645
|
var analysisConsent = strictObject({ chat: id, provider: text, at: time });
|
|
4642
4646
|
var analysisConsentRevocation = strictObject({ revoked: boolean() });
|
|
4643
4647
|
|
|
4644
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4648
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/entities/attachment.js
|
|
4645
4649
|
var attachment = strictObject({
|
|
4646
4650
|
/** The message it came with, as a locator; absent inside that message. */
|
|
4647
4651
|
message: optional(reference),
|
|
@@ -4679,7 +4683,7 @@ var attachment = strictObject({
|
|
|
4679
4683
|
});
|
|
4680
4684
|
var hitFile = strictObject({ position: count, kind: text, name: optional(text), size: optional(count) });
|
|
4681
4685
|
|
|
4682
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4686
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/entities/batch-result.js
|
|
4683
4687
|
var actionableError = objectWithRest({
|
|
4684
4688
|
code: text,
|
|
4685
4689
|
message: text,
|
|
@@ -4696,7 +4700,7 @@ var batchResult = strictObject({
|
|
|
4696
4700
|
max_error_percent: count
|
|
4697
4701
|
});
|
|
4698
4702
|
|
|
4699
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4703
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/entities/extraction-report.js
|
|
4700
4704
|
var extractionItem = strictObject({
|
|
4701
4705
|
ref: reference,
|
|
4702
4706
|
attachment: count,
|
|
@@ -4729,7 +4733,7 @@ var extractionReport = strictObject({
|
|
|
4729
4733
|
cursor: optional(text)
|
|
4730
4734
|
});
|
|
4731
4735
|
|
|
4732
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4736
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/entities/attachment-results.js
|
|
4733
4737
|
var fingerprint = pipe(text, regex(/^[a-f0-9]{64}$/));
|
|
4734
4738
|
var attachmentBytes = strictObject({
|
|
4735
4739
|
ref: reference,
|
|
@@ -4757,7 +4761,7 @@ var attachmentTextChange = strictObject({
|
|
|
4757
4761
|
replaced: nullable(picklist(["extracted", "agent"]))
|
|
4758
4762
|
});
|
|
4759
4763
|
|
|
4760
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4764
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/botcheck/reasons.js
|
|
4761
4765
|
var WEIGHTS = {
|
|
4762
4766
|
bot: 3,
|
|
4763
4767
|
scam: 3,
|
|
@@ -4782,12 +4786,14 @@ var LINK = /https?:\/\/|t\.me\/|www\./i;
|
|
|
4782
4786
|
var DIGITS = /\d{5,}/;
|
|
4783
4787
|
var oddName = /* @__PURE__ */ __name((name) => !name?.trim() || DIGITS.test(name) || LINK.test(name), "oddName");
|
|
4784
4788
|
|
|
4785
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4789
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/entities/contact-activity.js
|
|
4786
4790
|
var linkedIdentity = strictObject({
|
|
4787
4791
|
provider: text,
|
|
4788
4792
|
id,
|
|
4789
4793
|
name: nullable(text),
|
|
4790
4794
|
username: nullable(text),
|
|
4795
|
+
phone: optional(nullable(text)),
|
|
4796
|
+
email: optional(nullable(text)),
|
|
4791
4797
|
is_bot: nullable(boolean()),
|
|
4792
4798
|
accounts: array(id),
|
|
4793
4799
|
seen_in: array(strictObject({ account: id, scope: picklist(["personal", "work"]) })),
|
|
@@ -4830,7 +4836,7 @@ var contactCheck = strictObject({
|
|
|
4830
4836
|
checked_at: time
|
|
4831
4837
|
});
|
|
4832
4838
|
|
|
4833
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4839
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/entities/member.js
|
|
4834
4840
|
var member = strictObject({
|
|
4835
4841
|
id,
|
|
4836
4842
|
name: nullable(text),
|
|
@@ -4853,7 +4859,7 @@ var member = strictObject({
|
|
|
4853
4859
|
check: optional(record(string(), unknown()))
|
|
4854
4860
|
});
|
|
4855
4861
|
|
|
4856
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4862
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/entities/chat.js
|
|
4857
4863
|
var setting = optional(nullable(boolean()));
|
|
4858
4864
|
var chat = strictObject({
|
|
4859
4865
|
ref: reference,
|
|
@@ -4894,7 +4900,7 @@ var chat = strictObject({
|
|
|
4894
4900
|
members: optional(array(member))
|
|
4895
4901
|
});
|
|
4896
4902
|
|
|
4897
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4903
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/entities/message.js
|
|
4898
4904
|
var quoted = strictObject({
|
|
4899
4905
|
id,
|
|
4900
4906
|
sender_id: nullable(id),
|
|
@@ -5013,7 +5019,7 @@ var message = strictObject({
|
|
|
5013
5019
|
provider_metadata: providerMetadata
|
|
5014
5020
|
});
|
|
5015
5021
|
|
|
5016
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5022
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/entities/contact-context.js
|
|
5017
5023
|
var contextPerson = strictObject({ ...linkedPerson.entries, provider: text, id });
|
|
5018
5024
|
var contextMessage = strictObject({
|
|
5019
5025
|
locator: reference,
|
|
@@ -5217,7 +5223,7 @@ var contactPreparation = strictObject({
|
|
|
5217
5223
|
})
|
|
5218
5224
|
});
|
|
5219
5225
|
|
|
5220
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5226
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/entities/deal.js
|
|
5221
5227
|
var nullableText = nullable(text);
|
|
5222
5228
|
var party = strictObject({ ref: reference, name: nullableText, owner: boolean() });
|
|
5223
5229
|
var outcome = picklist(["open", "won", "lost"]);
|
|
@@ -5309,7 +5315,7 @@ var stage = strictObject({
|
|
|
5309
5315
|
untrusted
|
|
5310
5316
|
});
|
|
5311
5317
|
|
|
5312
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5318
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/entities/business-context.js
|
|
5313
5319
|
var nullableText2 = nullable(text);
|
|
5314
5320
|
var day2 = nullable(pipe(string(), regex(/^\d{4}-\d{2}-\d{2}$/)));
|
|
5315
5321
|
var standing = picklist(STANDINGS);
|
|
@@ -5483,7 +5489,7 @@ var dealBrief = strictObject({
|
|
|
5483
5489
|
not_read: coverage2.entries.not_read
|
|
5484
5490
|
});
|
|
5485
5491
|
|
|
5486
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5492
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/entities/chart.js
|
|
5487
5493
|
var chart = strictObject({
|
|
5488
5494
|
version: literal(1),
|
|
5489
5495
|
kind: picklist(["bar", "line", "grouped-bar"]),
|
|
@@ -5498,7 +5504,7 @@ var chart = strictObject({
|
|
|
5498
5504
|
file: optional(strictObject({ path: text, format: picklist(["svg", "png"]), width: count, height: count }))
|
|
5499
5505
|
});
|
|
5500
5506
|
|
|
5501
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5507
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/entities/folder.js
|
|
5502
5508
|
var named = strictObject({
|
|
5503
5509
|
id,
|
|
5504
5510
|
title: nullable(text),
|
|
@@ -5521,7 +5527,7 @@ var folder = strictObject({
|
|
|
5521
5527
|
excluded_chats: optional(array(named))
|
|
5522
5528
|
});
|
|
5523
5529
|
|
|
5524
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5530
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/entities/invite-link.js
|
|
5525
5531
|
var inviteLink = strictObject({
|
|
5526
5532
|
link: text,
|
|
5527
5533
|
/** Who joins by it asks first, and an admin lets them in. */
|
|
@@ -5537,7 +5543,7 @@ var inviteLink = strictObject({
|
|
|
5537
5543
|
joined_count: optional(count)
|
|
5538
5544
|
});
|
|
5539
5545
|
|
|
5540
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5546
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/entities/chat-admin.js
|
|
5541
5547
|
var operated = { operation_id: id, chat_id: id };
|
|
5542
5548
|
var group = strictObject({
|
|
5543
5549
|
...omit(chat, ["ref", "provider", "account", "invite_link", "members"]).entries,
|
|
@@ -5617,7 +5623,7 @@ var chatFolderOrder = strictObject({
|
|
|
5617
5623
|
folders: array(strictObject({ id, title: text }))
|
|
5618
5624
|
});
|
|
5619
5625
|
|
|
5620
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5626
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/entities/chat-change.js
|
|
5621
5627
|
var operated2 = { operation_id: id, chat_id: id };
|
|
5622
5628
|
var chatRemoval = strictObject(operated2);
|
|
5623
5629
|
var chatMuting = strictObject({
|
|
@@ -5628,7 +5634,7 @@ var chatArchive = strictObject({ ...operated2, archived: boolean() });
|
|
|
5628
5634
|
var chatPin = strictObject({ ...operated2, pinned: boolean() });
|
|
5629
5635
|
var chatUnread = strictObject({ ...operated2, unread: literal(true) });
|
|
5630
5636
|
|
|
5631
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5637
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/entities/chat-event.js
|
|
5632
5638
|
var who = strictObject({ id: nullable(id), name: nullable(text), username: optional(nullable(text)) });
|
|
5633
5639
|
var chatEvent = strictObject({
|
|
5634
5640
|
chat_id: id,
|
|
@@ -5645,7 +5651,7 @@ var chatEvent = strictObject({
|
|
|
5645
5651
|
before: optional(strictObject({ name: nullable(text), username: nullable(text) }))
|
|
5646
5652
|
});
|
|
5647
5653
|
|
|
5648
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5654
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/entities/chat-metadata.js
|
|
5649
5655
|
var chatMetadata = strictObject({
|
|
5650
5656
|
chat_id: id,
|
|
5651
5657
|
title: nullable(text),
|
|
@@ -5660,7 +5666,7 @@ var chatMetadataRefresh = strictObject({
|
|
|
5660
5666
|
has_more: boolean()
|
|
5661
5667
|
});
|
|
5662
5668
|
|
|
5663
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5669
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/entities/chat-moderation.js
|
|
5664
5670
|
var action = picklist(["report", "delete", "remove"]);
|
|
5665
5671
|
var level = picklist(["deny", "readonly", "ask", "allow"]);
|
|
5666
5672
|
var chatRules = strictObject({
|
|
@@ -5697,7 +5703,7 @@ var chatModeration = strictObject({
|
|
|
5697
5703
|
}))
|
|
5698
5704
|
});
|
|
5699
5705
|
|
|
5700
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5706
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/entities/chat-stats.js
|
|
5701
5707
|
var optionalCount = optional(count);
|
|
5702
5708
|
var minutes = nullable(number());
|
|
5703
5709
|
var chatStats = strictObject({
|
|
@@ -5771,7 +5777,7 @@ var taskStats = strictObject({
|
|
|
5771
5777
|
}))
|
|
5772
5778
|
});
|
|
5773
5779
|
|
|
5774
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5780
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/entities/chat-tracking.js
|
|
5775
5781
|
var memberCount = strictObject({
|
|
5776
5782
|
day: pipe(text, isoDate()),
|
|
5777
5783
|
participants: nullable(count),
|
|
@@ -5794,7 +5800,7 @@ var chatTracking = strictObject({
|
|
|
5794
5800
|
tracked: boolean()
|
|
5795
5801
|
});
|
|
5796
5802
|
|
|
5797
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5803
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/entities/contact-read.js
|
|
5798
5804
|
var contactLookup = strictObject({ id, name: nullable(text), username: nullable(text) });
|
|
5799
5805
|
var contactSync = strictObject({ added: count, changed: count, known: count });
|
|
5800
5806
|
var profileFields = {
|
|
@@ -5832,7 +5838,7 @@ var profileFields = {
|
|
|
5832
5838
|
}))
|
|
5833
5839
|
};
|
|
5834
5840
|
|
|
5835
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5841
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/entities/contact.js
|
|
5836
5842
|
var contact = strictObject({
|
|
5837
5843
|
ref: reference,
|
|
5838
5844
|
id,
|
|
@@ -5863,7 +5869,7 @@ var contact = strictObject({
|
|
|
5863
5869
|
notes: optional(array(strictObject({ id, text, revision: count, created_at: time, updated_at: time })))
|
|
5864
5870
|
});
|
|
5865
5871
|
|
|
5866
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5872
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/entities/contact-note.js
|
|
5867
5873
|
var contactNote = strictObject({
|
|
5868
5874
|
id,
|
|
5869
5875
|
/** The contact, as a `contact:` reference. */
|
|
@@ -5875,13 +5881,13 @@ var contactNote = strictObject({
|
|
|
5875
5881
|
updated_at: time
|
|
5876
5882
|
});
|
|
5877
5883
|
|
|
5878
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5884
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/entities/contact-write.js
|
|
5879
5885
|
var addressBookPerson = strictObject({ id, name: nullable(text), username: nullable(text) });
|
|
5880
5886
|
var contactUpdate = strictObject({ operation_id: id, person: addressBookPerson });
|
|
5881
5887
|
var contactStateChange = strictObject({ operation_id: id, person_id: id });
|
|
5882
5888
|
var contactImport = strictObject({ operation_id: id, sent: count, recognised: array(addressBookPerson) });
|
|
5883
5889
|
|
|
5884
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5890
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/entities/conversation.js
|
|
5885
5891
|
var conversation = strictObject({
|
|
5886
5892
|
id,
|
|
5887
5893
|
chat: reference,
|
|
@@ -5896,7 +5902,7 @@ var conversation = strictObject({
|
|
|
5896
5902
|
rules_version: count
|
|
5897
5903
|
});
|
|
5898
5904
|
|
|
5899
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5905
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/entities/conversation-preparation.js
|
|
5900
5906
|
var conversationBuild = strictObject({
|
|
5901
5907
|
chat: id,
|
|
5902
5908
|
messages: count,
|
|
@@ -5921,7 +5927,7 @@ var catchUpPreparation = strictObject({
|
|
|
5921
5927
|
prepared: optional(conversationPreparation)
|
|
5922
5928
|
});
|
|
5923
5929
|
|
|
5924
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5930
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/entities/conversation-results.js
|
|
5925
5931
|
var conversationDetails = union([
|
|
5926
5932
|
strictObject({ ...conversation.entries, messages: array(message) }),
|
|
5927
5933
|
message
|
|
@@ -6011,7 +6017,7 @@ var conversationHit = strictObject({
|
|
|
6011
6017
|
stale: boolean()
|
|
6012
6018
|
});
|
|
6013
6019
|
|
|
6014
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6020
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/entities/counters.js
|
|
6015
6021
|
var counters = strictObject({
|
|
6016
6022
|
cutoff: time,
|
|
6017
6023
|
max_age_ms: milliseconds,
|
|
@@ -6041,7 +6047,7 @@ var counterRefresh = strictObject({
|
|
|
6041
6047
|
complete: optional(boolean())
|
|
6042
6048
|
});
|
|
6043
6049
|
|
|
6044
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6050
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/entities/document.js
|
|
6045
6051
|
var document = strictObject({
|
|
6046
6052
|
ref: reference,
|
|
6047
6053
|
id,
|
|
@@ -6056,7 +6062,7 @@ var document = strictObject({
|
|
|
6056
6062
|
owners: optional(array(text))
|
|
6057
6063
|
});
|
|
6058
6064
|
|
|
6059
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6065
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/entities/document-link.js
|
|
6060
6066
|
var documentLink = strictObject({
|
|
6061
6067
|
ref: reference,
|
|
6062
6068
|
url: text,
|
|
@@ -6067,7 +6073,7 @@ var documentLink = strictObject({
|
|
|
6067
6073
|
sender: strictObject({ id: nullable(id), name: nullable(text) })
|
|
6068
6074
|
});
|
|
6069
6075
|
|
|
6070
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6076
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/entities/evidence.js
|
|
6071
6077
|
var evidenceMessage = pick(message, ["ref", "chat_title", "timestamp", "sender_name", "text"]);
|
|
6072
6078
|
var contribution = strictObject({
|
|
6073
6079
|
message: evidenceMessage,
|
|
@@ -6097,7 +6103,7 @@ var retentionStay = strictObject({
|
|
|
6097
6103
|
});
|
|
6098
6104
|
var evidence = union([contribution, retentionStay]);
|
|
6099
6105
|
|
|
6100
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6106
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/entities/fact.js
|
|
6101
6107
|
var fact = strictObject({
|
|
6102
6108
|
ref: reference,
|
|
6103
6109
|
id,
|
|
@@ -6128,7 +6134,7 @@ var fact = strictObject({
|
|
|
6128
6134
|
updated_at: time
|
|
6129
6135
|
});
|
|
6130
6136
|
|
|
6131
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6137
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/entities/hit.js
|
|
6132
6138
|
var hit = strictObject({
|
|
6133
6139
|
kind: picklist(["message", "mail", "note", "document", "event", "meeting", "deal", "lead", ...BUSINESS_KINDS]),
|
|
6134
6140
|
ref: reference,
|
|
@@ -6174,7 +6180,7 @@ var hit = strictObject({
|
|
|
6174
6180
|
untrusted
|
|
6175
6181
|
});
|
|
6176
6182
|
|
|
6177
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6183
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/entities/identity.js
|
|
6178
6184
|
var identity = strictObject({
|
|
6179
6185
|
ref: reference,
|
|
6180
6186
|
provider: text,
|
|
@@ -6183,11 +6189,14 @@ var identity = strictObject({
|
|
|
6183
6189
|
id,
|
|
6184
6190
|
name: nullable(text),
|
|
6185
6191
|
username: nullable(text),
|
|
6192
|
+
/** The number or address the source gave for them, when it gave one. */
|
|
6193
|
+
phone: optional(nullable(text)),
|
|
6194
|
+
email: optional(nullable(text)),
|
|
6186
6195
|
/** The `person:` they are linked to, when one is. */
|
|
6187
6196
|
person: optional(nullable(reference))
|
|
6188
6197
|
});
|
|
6189
6198
|
|
|
6190
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6199
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/entities/image-embedding.js
|
|
6191
6200
|
var imageEmbedding = strictObject({
|
|
6192
6201
|
model: text,
|
|
6193
6202
|
embedded: count,
|
|
@@ -6196,13 +6205,13 @@ var imageEmbedding = strictObject({
|
|
|
6196
6205
|
more: boolean()
|
|
6197
6206
|
});
|
|
6198
6207
|
|
|
6199
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6208
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/services/backfill-jobs.js
|
|
6200
6209
|
import { spawn } from "node:child_process";
|
|
6201
6210
|
import { randomBytes } from "node:crypto";
|
|
6202
6211
|
import { closeSync, existsSync, mkdirSync, openSync, readdirSync, readFileSync, realpathSync, rmSync } from "node:fs";
|
|
6203
6212
|
import { dirname, join } from "node:path";
|
|
6204
6213
|
|
|
6205
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6214
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/background/checkpoints.js
|
|
6206
6215
|
var progressOf = /* @__PURE__ */ __name((input) => {
|
|
6207
6216
|
const total = input.total ?? null;
|
|
6208
6217
|
const updated = input.updatedAt ?? null;
|
|
@@ -6233,7 +6242,7 @@ var progressLine = /* @__PURE__ */ __name((progress2) => {
|
|
|
6233
6242
|
return `${progress2.job} ${progress2.profile}: ${of} \u2014 ${progress2.state}${when}`;
|
|
6234
6243
|
}, "progressLine");
|
|
6235
6244
|
|
|
6236
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6245
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/runs/record-log.js
|
|
6237
6246
|
var recordLogFor = /* @__PURE__ */ __name((to, app, { traceId, command } = {}) => {
|
|
6238
6247
|
const run = currentRun();
|
|
6239
6248
|
const trace = traceId ?? run.traceId;
|
|
@@ -6247,7 +6256,7 @@ var recordLogFor = /* @__PURE__ */ __name((to, app, { traceId, command } = {}) =
|
|
|
6247
6256
|
}));
|
|
6248
6257
|
}, "recordLogFor");
|
|
6249
6258
|
|
|
6250
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6259
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/services/backfill-jobs.js
|
|
6251
6260
|
var JOB_STATES = ["running", "done", "partial", "failed", "cancelled", "died"];
|
|
6252
6261
|
var spawnDetached = /* @__PURE__ */ __name((argv, env, log) => {
|
|
6253
6262
|
const out = openSync(log, "a", 384);
|
|
@@ -6402,7 +6411,7 @@ var startArchiveJob = /* @__PURE__ */ __name((app, env, profile, input, spawnJob
|
|
|
6402
6411
|
return { job: id6, pid, chat: input.chat, log };
|
|
6403
6412
|
}, "startArchiveJob");
|
|
6404
6413
|
|
|
6405
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6414
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/entities/job.js
|
|
6406
6415
|
var problem = strictObject({ code: text, message: text });
|
|
6407
6416
|
var job = strictObject({
|
|
6408
6417
|
id,
|
|
@@ -6425,7 +6434,7 @@ var job = strictObject({
|
|
|
6425
6434
|
error: optional(problem)
|
|
6426
6435
|
});
|
|
6427
6436
|
|
|
6428
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6437
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/entities/join-request.js
|
|
6429
6438
|
var joinRequest = strictObject({
|
|
6430
6439
|
person_id: id,
|
|
6431
6440
|
name: nullable(text),
|
|
@@ -6436,7 +6445,7 @@ var joinRequest = strictObject({
|
|
|
6436
6445
|
about: optional(text)
|
|
6437
6446
|
});
|
|
6438
6447
|
|
|
6439
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6448
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/entities/list-results.js
|
|
6440
6449
|
var botProfile = strictObject({
|
|
6441
6450
|
name: text,
|
|
6442
6451
|
token: text,
|
|
@@ -6533,7 +6542,7 @@ var stickerInventory = strictObject({
|
|
|
6533
6542
|
url: optional(nullable(text))
|
|
6534
6543
|
});
|
|
6535
6544
|
|
|
6536
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6545
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/entities/poll-vote.js
|
|
6537
6546
|
var pollVote = strictObject({
|
|
6538
6547
|
person_id: id,
|
|
6539
6548
|
name: nullable(text),
|
|
@@ -6543,7 +6552,7 @@ var pollVote = strictObject({
|
|
|
6543
6552
|
voted_at: time
|
|
6544
6553
|
});
|
|
6545
6554
|
|
|
6546
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6555
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/entities/listener.js
|
|
6547
6556
|
var reactions = unwrap(unwrap(message.entries.reactions));
|
|
6548
6557
|
var observation = strictObject({
|
|
6549
6558
|
value: pipe(number(), minValue(0)),
|
|
@@ -6585,7 +6594,7 @@ var serveSummary = strictObject({
|
|
|
6585
6594
|
tasks: optional(strictObject({ added: count, closed: count, review: count }))
|
|
6586
6595
|
});
|
|
6587
6596
|
|
|
6588
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6597
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/entities/mail-counts.js
|
|
6589
6598
|
var mailCounts = strictObject({
|
|
6590
6599
|
by: picklist(["day", "week", "sender"]),
|
|
6591
6600
|
received: count,
|
|
@@ -6600,7 +6609,7 @@ var mailCounts = strictObject({
|
|
|
6600
6609
|
}))
|
|
6601
6610
|
});
|
|
6602
6611
|
|
|
6603
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6612
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/entities/mail-findings.js
|
|
6604
6613
|
var evidence2 = strictObject({ reference, fingerprint: text });
|
|
6605
6614
|
var base = { id, evidence: array(evidence2) };
|
|
6606
6615
|
var finding = variant("kind", [
|
|
@@ -6744,7 +6753,7 @@ var mailFindings = strictObject({
|
|
|
6744
6753
|
receipt: nullable(strictObject({ preview_fingerprint: text, accepted: array(id), items: array(outcome2) }))
|
|
6745
6754
|
});
|
|
6746
6755
|
|
|
6747
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6756
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/entities/media-archive.js
|
|
6748
6757
|
var mediaArchive = strictObject({
|
|
6749
6758
|
directory: text,
|
|
6750
6759
|
chats: count,
|
|
@@ -6776,7 +6785,7 @@ var mediaArchiveTimer = union([
|
|
|
6776
6785
|
strictObject({ ...timer, action: picklist(["install", "start", "stop", "uninstall"]) })
|
|
6777
6786
|
]);
|
|
6778
6787
|
|
|
6779
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6788
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/entities/meeting-preparation-parts.js
|
|
6780
6789
|
var preparationId = pipe(string(), minLength(1));
|
|
6781
6790
|
var preparationCount = pipe(number(), integer(), minValue(0));
|
|
6782
6791
|
var preparationTime = nullable(isoTime);
|
|
@@ -6868,7 +6877,7 @@ var preparationMeeting = strictObject({
|
|
|
6868
6877
|
updated_at: isoTime
|
|
6869
6878
|
});
|
|
6870
6879
|
|
|
6871
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6880
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/entities/meeting-evidence.js
|
|
6872
6881
|
var meetingEvidence = preparationEvidence;
|
|
6873
6882
|
var meetingPersonContext = strictObject({
|
|
6874
6883
|
person: strictObject({ uid: string(), name: nullable(string()) }),
|
|
@@ -6890,7 +6899,7 @@ var meetingPersonContext = strictObject({
|
|
|
6890
6899
|
})
|
|
6891
6900
|
});
|
|
6892
6901
|
|
|
6893
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6902
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/entities/meeting-findings.js
|
|
6894
6903
|
var evidence3 = strictObject({ reference, fingerprint: text });
|
|
6895
6904
|
var base2 = { id, project: reference, evidence: array(evidence3) };
|
|
6896
6905
|
var finding2 = variant("kind", [
|
|
@@ -6928,7 +6937,7 @@ var meetingFindings = strictObject({
|
|
|
6928
6937
|
receipt: nullable(strictObject({ preview_fingerprint: text, accepted: array(id), items: array(outcome3) }))
|
|
6929
6938
|
});
|
|
6930
6939
|
|
|
6931
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6940
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/entities/meeting-communications.js
|
|
6932
6941
|
var communicationCoverage = strictObject({
|
|
6933
6942
|
read_usage: strictObject({ reads: preparationCount, charged_bytes: preparationCount, reserved_bytes: preparationCount, remaining_bytes: preparationCount }),
|
|
6934
6943
|
query: string(),
|
|
@@ -6973,7 +6982,7 @@ var preparationCommunications = strictObject({
|
|
|
6973
6982
|
}))
|
|
6974
6983
|
});
|
|
6975
6984
|
|
|
6976
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6985
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/entities/meeting-preparation.js
|
|
6977
6986
|
var meetingPreparation = strictObject({
|
|
6978
6987
|
communications: optional(preparationCommunications),
|
|
6979
6988
|
schema_version: literal(1),
|
|
@@ -7086,7 +7095,7 @@ var meetingPreparation = strictObject({
|
|
|
7086
7095
|
})
|
|
7087
7096
|
});
|
|
7088
7097
|
|
|
7089
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7098
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/entities/meeting-project-candidates.js
|
|
7090
7099
|
var count3 = pipe(number(), integer(), minValue(0));
|
|
7091
7100
|
var id3 = pipe(string(), minLength(1));
|
|
7092
7101
|
var text3 = string();
|
|
@@ -7150,7 +7159,7 @@ var meetingProjectCandidates = strictObject({
|
|
|
7150
7159
|
})
|
|
7151
7160
|
});
|
|
7152
7161
|
|
|
7153
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7162
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/entities/meeting-series-inventory.js
|
|
7154
7163
|
var count4 = pipe(number(), integer(), minValue(0));
|
|
7155
7164
|
var id4 = pipe(string(), minLength(1), maxLength(1e3));
|
|
7156
7165
|
var meetingSeriesInventory = strictObject({
|
|
@@ -7180,7 +7189,7 @@ var meetingSeriesInventory = strictObject({
|
|
|
7180
7189
|
})
|
|
7181
7190
|
});
|
|
7182
7191
|
|
|
7183
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7192
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/entities/meeting-task-proposal.js
|
|
7184
7193
|
var text4 = string();
|
|
7185
7194
|
var id5 = pipe(number(), integer(), minValue(1));
|
|
7186
7195
|
var revision = picklist(["current", "superseded"]);
|
|
@@ -7197,7 +7206,7 @@ var meetingTaskProposal = strictObject({
|
|
|
7197
7206
|
persistence: literal("proposal-only")
|
|
7198
7207
|
});
|
|
7199
7208
|
|
|
7200
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7209
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/entities/memory.js
|
|
7201
7210
|
var memory = strictObject({
|
|
7202
7211
|
ref: reference,
|
|
7203
7212
|
id,
|
|
@@ -7225,7 +7234,7 @@ var memory = strictObject({
|
|
|
7225
7234
|
updated_at: time
|
|
7226
7235
|
});
|
|
7227
7236
|
|
|
7228
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7237
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/entities/mention.js
|
|
7229
7238
|
var kind = picklist(["phone", "email", "url", "document", "person-name", "place"]);
|
|
7230
7239
|
var status = picklist(["found", "linked", "proposed", "dismissed"]);
|
|
7231
7240
|
var mention = strictObject({
|
|
@@ -7269,13 +7278,13 @@ var mentionRebuild = strictObject({
|
|
|
7269
7278
|
mentions: count
|
|
7270
7279
|
});
|
|
7271
7280
|
|
|
7272
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7281
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/entities/message-change.js
|
|
7273
7282
|
var operated3 = { operation_id: id, chat_id: id };
|
|
7274
7283
|
var messagePin = strictObject({ ...operated3, message_id: id, pinned: boolean() });
|
|
7275
7284
|
var messageStar = strictObject({ ...operated3, message_id: id, starred: boolean() });
|
|
7276
7285
|
var messageDeletion = strictObject({ ...operated3, deleted: array(id), for_everyone: boolean() });
|
|
7277
7286
|
|
|
7278
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7287
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/entities/message-read.js
|
|
7279
7288
|
var messageTranscript = strictObject({
|
|
7280
7289
|
message_id: id,
|
|
7281
7290
|
text,
|
|
@@ -7333,7 +7342,7 @@ var evidencePacket = strictObject({
|
|
|
7333
7342
|
}))
|
|
7334
7343
|
});
|
|
7335
7344
|
|
|
7336
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7345
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/entities/message-context.js
|
|
7337
7346
|
var messageThread = strictObject({
|
|
7338
7347
|
ref: reference,
|
|
7339
7348
|
chat: id,
|
|
@@ -7350,7 +7359,7 @@ var messageThread = strictObject({
|
|
|
7350
7359
|
});
|
|
7351
7360
|
var messageContext = union([message, messageThread]);
|
|
7352
7361
|
|
|
7353
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7362
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/entities/message-counts.js
|
|
7354
7363
|
var messageCounts = strictObject({
|
|
7355
7364
|
by: picklist(["chat", "sender", "day", "hour"]),
|
|
7356
7365
|
total: count,
|
|
@@ -7363,7 +7372,7 @@ var messageCounts = strictObject({
|
|
|
7363
7372
|
}))
|
|
7364
7373
|
});
|
|
7365
7374
|
|
|
7366
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7375
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/entities/message-link.js
|
|
7367
7376
|
var messageLink = strictObject({
|
|
7368
7377
|
ref: reference,
|
|
7369
7378
|
url: nullable(text),
|
|
@@ -7380,7 +7389,7 @@ var messageLink = strictObject({
|
|
|
7380
7389
|
})))
|
|
7381
7390
|
});
|
|
7382
7391
|
|
|
7383
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7392
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/entities/message-transfer.js
|
|
7384
7393
|
var savedMessageFile = strictObject({
|
|
7385
7394
|
kind: text,
|
|
7386
7395
|
path: text,
|
|
@@ -7467,7 +7476,7 @@ var messageSyncAll = strictObject({
|
|
|
7467
7476
|
var messageSyncStarted = strictObject({ job: id, pid: count, chat: text, log: text });
|
|
7468
7477
|
var messageSync = union([messageSyncEstimate, messageSyncChat, messageSyncAll, messageSyncStarted]);
|
|
7469
7478
|
|
|
7470
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7479
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/entities/message-write.js
|
|
7471
7480
|
var messageWrite = strictObject({
|
|
7472
7481
|
operation_id: id,
|
|
7473
7482
|
message,
|
|
@@ -7482,7 +7491,7 @@ var draftWrite = strictObject({
|
|
|
7482
7491
|
});
|
|
7483
7492
|
var messageSend = union([messageWrite, draftWrite]);
|
|
7484
7493
|
|
|
7485
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7494
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/entities/model.js
|
|
7486
7495
|
var model = strictObject({
|
|
7487
7496
|
id,
|
|
7488
7497
|
kind: picklist(["audio", "text", "image", "reranker"]),
|
|
@@ -7517,7 +7526,7 @@ var chosenModel = strictObject({
|
|
|
7517
7526
|
estimate_seconds: nullable(count)
|
|
7518
7527
|
});
|
|
7519
7528
|
|
|
7520
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7529
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/entities/model-key.js
|
|
7521
7530
|
var source = picklist(["environment", "keyring", "file"]);
|
|
7522
7531
|
var modelKey = strictObject({
|
|
7523
7532
|
provider: text,
|
|
@@ -7527,7 +7536,7 @@ var modelKey = strictObject({
|
|
|
7527
7536
|
var storedModelKey = strictObject({ ...omit(modelKey, ["removed"]).entries, stored: source });
|
|
7528
7537
|
var removedModelKey = strictObject({ ...omit(modelKey, ["stored"]).entries, removed: array(source) });
|
|
7529
7538
|
|
|
7530
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7539
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/entities/note.js
|
|
7531
7540
|
var link = {
|
|
7532
7541
|
target_text: nullable(text),
|
|
7533
7542
|
kind: text,
|
|
@@ -7568,7 +7577,7 @@ var note = strictObject({
|
|
|
7568
7577
|
backlinks: optional(array(strictObject({ from: reference, ...link })))
|
|
7569
7578
|
});
|
|
7570
7579
|
|
|
7571
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7580
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/entities/official-stats.js
|
|
7572
7581
|
var versus = strictObject({ current: number(), previous: number() });
|
|
7573
7582
|
var person = { person_ref: reference, name: nullable(text) };
|
|
7574
7583
|
var graph = strictObject({
|
|
@@ -7602,14 +7611,14 @@ var officialStats = strictObject({
|
|
|
7602
7611
|
graphs: record(string(), union([graph, strictObject({ error: text })]))
|
|
7603
7612
|
});
|
|
7604
7613
|
|
|
7605
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7614
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/entities/person.js
|
|
7606
7615
|
var person2 = strictObject({
|
|
7607
7616
|
ref: reference,
|
|
7608
7617
|
name: nullable(text),
|
|
7609
7618
|
identities: optional(array(identity))
|
|
7610
7619
|
});
|
|
7611
7620
|
|
|
7612
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7621
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/entities/poll.js
|
|
7613
7622
|
var poll = strictObject({
|
|
7614
7623
|
chat_id: id,
|
|
7615
7624
|
message_id: id,
|
|
@@ -7625,11 +7634,11 @@ var poll = strictObject({
|
|
|
7625
7634
|
});
|
|
7626
7635
|
var pollChange = strictObject({ operation_id: id, poll });
|
|
7627
7636
|
|
|
7628
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7637
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/entities/private-contact.js
|
|
7629
7638
|
var contactAlias = strictObject({ person_id: id, alias: nullable(text) });
|
|
7630
7639
|
var contactNoteRemoval = strictObject({ id, person_id: id, removed: boolean() });
|
|
7631
7640
|
|
|
7632
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7641
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/entities/ranking.js
|
|
7633
7642
|
var figures = record(string(), number());
|
|
7634
7643
|
var freshness = picklist(["fresh", "stale", "partial", "unknown"]);
|
|
7635
7644
|
var rankingRow = strictObject({
|
|
@@ -7676,7 +7685,7 @@ var ranking = strictObject({
|
|
|
7676
7685
|
rows: array(rankingRow)
|
|
7677
7686
|
});
|
|
7678
7687
|
|
|
7679
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7688
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/entities/reaction.js
|
|
7680
7689
|
var reaction = strictObject({
|
|
7681
7690
|
person: strictObject({ id, name: nullable(text), username: nullable(text) }),
|
|
7682
7691
|
/** The emoji, or `custom:<id>` for a custom one. */
|
|
@@ -7684,7 +7693,7 @@ var reaction = strictObject({
|
|
|
7684
7693
|
reacted_at: time
|
|
7685
7694
|
});
|
|
7686
7695
|
|
|
7687
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7696
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/entities/reaction-change.js
|
|
7688
7697
|
var reactionChange = strictObject({
|
|
7689
7698
|
operation_id: id,
|
|
7690
7699
|
chat_id: id,
|
|
@@ -7692,7 +7701,7 @@ var reactionChange = strictObject({
|
|
|
7692
7701
|
reaction: nullable(text)
|
|
7693
7702
|
});
|
|
7694
7703
|
|
|
7695
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7704
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/entities/recipient.js
|
|
7696
7705
|
var recipient = strictObject({ id, title: nullable(text), partner_id: optional(id), added_at: time });
|
|
7697
7706
|
var recipientAdded = strictObject({ id, title: nullable(text), added: boolean() });
|
|
7698
7707
|
var recipientRemoved = strictObject({ id, title: nullable(text), removed: boolean() });
|
|
@@ -7703,7 +7712,7 @@ var recipientChange = strictObject({
|
|
|
7703
7712
|
...partial(recipientOff).entries
|
|
7704
7713
|
});
|
|
7705
7714
|
|
|
7706
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7715
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/entities/recorded-run.js
|
|
7707
7716
|
var events = array(record(string(), unknown()));
|
|
7708
7717
|
var recordedRun = strictObject({
|
|
7709
7718
|
run_id: id,
|
|
@@ -7775,7 +7784,7 @@ var runHit = strictObject({
|
|
|
7775
7784
|
});
|
|
7776
7785
|
var runLocation = strictObject({ path: text });
|
|
7777
7786
|
|
|
7778
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7787
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/entities/relationship.js
|
|
7779
7788
|
var relationship = strictObject({
|
|
7780
7789
|
id,
|
|
7781
7790
|
from: reference,
|
|
@@ -7802,7 +7811,7 @@ var relationship = strictObject({
|
|
|
7802
7811
|
created_at: time
|
|
7803
7812
|
});
|
|
7804
7813
|
|
|
7805
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7814
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/entities/reply-stats.js
|
|
7806
7815
|
var milliseconds2 = nullable(pipe(number(), minValue(0)));
|
|
7807
7816
|
var figures2 = { replies: count, median_ms: milliseconds2, p90_ms: milliseconds2, mean_ms: milliseconds2 };
|
|
7808
7817
|
var responseTimes = strictObject({
|
|
@@ -7819,7 +7828,7 @@ var waitingChats = strictObject({
|
|
|
7819
7828
|
by_kind: strictObject({ private: count, group: count })
|
|
7820
7829
|
});
|
|
7821
7830
|
|
|
7822
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7831
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/entities/retention.js
|
|
7823
7832
|
var retentionCohort = strictObject({
|
|
7824
7833
|
/** The first day of the joining day or week. */
|
|
7825
7834
|
cohort: text,
|
|
@@ -7867,7 +7876,7 @@ var retention = strictObject({
|
|
|
7867
7876
|
rows: array(retentionCohort)
|
|
7868
7877
|
});
|
|
7869
7878
|
|
|
7870
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7879
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/entities/saved-search.js
|
|
7871
7880
|
var savedSearch = strictObject({
|
|
7872
7881
|
id,
|
|
7873
7882
|
/** `null` for a run in the history. */
|
|
@@ -7884,7 +7893,7 @@ var savedSearch = strictObject({
|
|
|
7884
7893
|
});
|
|
7885
7894
|
var searchHistoryClear = strictObject({ cleared: count });
|
|
7886
7895
|
|
|
7887
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7896
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/entities/send-attempt.js
|
|
7888
7897
|
var sendAttempt = strictObject({
|
|
7889
7898
|
at: time,
|
|
7890
7899
|
profile: text,
|
|
@@ -7912,7 +7921,7 @@ var sendAttempt = strictObject({
|
|
|
7912
7921
|
error_code: optional(text)
|
|
7913
7922
|
});
|
|
7914
7923
|
|
|
7915
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7924
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/entities/store-maintenance.js
|
|
7916
7925
|
var absent = strictObject({ path: text, exists: literal(false) });
|
|
7917
7926
|
var schema = strictObject({ version: count, min_compatible: count, writable: boolean(), speaks: count });
|
|
7918
7927
|
var infoSchema = strictObject({
|
|
@@ -8133,7 +8142,7 @@ var storeRepair = union([
|
|
|
8133
8142
|
]);
|
|
8134
8143
|
var storeCopyRemoval = strictObject({ path: text, deleted: strictObject({ name: text, rows: count }) });
|
|
8135
8144
|
|
|
8136
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8145
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/entities/store-records.js
|
|
8137
8146
|
var range = strictObject({ from: number(), to: number() });
|
|
8138
8147
|
var storeChatStatus = strictObject({
|
|
8139
8148
|
chat_id: id,
|
|
@@ -8231,7 +8240,7 @@ var storeJobRetry = union([
|
|
|
8231
8240
|
]);
|
|
8232
8241
|
var storeJobClear = strictObject({ cleared: array(id) });
|
|
8233
8242
|
|
|
8234
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8243
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/entities/store-table.js
|
|
8235
8244
|
var TABLE_KINDS = ["data", "search_index", "search_index_part", "internal"];
|
|
8236
8245
|
var storeTable = strictObject({
|
|
8237
8246
|
name: text,
|
|
@@ -8240,7 +8249,7 @@ var storeTable = strictObject({
|
|
|
8240
8249
|
bytes: optional(nullable(count))
|
|
8241
8250
|
});
|
|
8242
8251
|
|
|
8243
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8252
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/entities/tag-change.js
|
|
8244
8253
|
var tagTarget = variant("type", [
|
|
8245
8254
|
strictObject({ type: literal("chat"), chat_id: id }),
|
|
8246
8255
|
strictObject({ type: literal("contact"), person_id: id }),
|
|
@@ -8271,7 +8280,7 @@ var automaticTags = strictObject({
|
|
|
8271
8280
|
dry_run: boolean()
|
|
8272
8281
|
});
|
|
8273
8282
|
|
|
8274
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8283
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/entities/tagging.js
|
|
8275
8284
|
var tagging = strictObject({
|
|
8276
8285
|
tag: text,
|
|
8277
8286
|
type: picklist(TAG_TYPES),
|
|
@@ -8284,7 +8293,7 @@ var tagging = strictObject({
|
|
|
8284
8293
|
created_at: time
|
|
8285
8294
|
});
|
|
8286
8295
|
|
|
8287
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8296
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/entities/task-pair.js
|
|
8288
8297
|
var side = strictObject({ ref: reference, key: text, title: text, status: text });
|
|
8289
8298
|
var taskPair = strictObject({
|
|
8290
8299
|
task: nullable(side),
|
|
@@ -8307,7 +8316,7 @@ var taskPair = strictObject({
|
|
|
8307
8316
|
created_at: time
|
|
8308
8317
|
});
|
|
8309
8318
|
|
|
8310
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8319
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/entities/task-results.js
|
|
8311
8320
|
var nullableTime = nullable(time);
|
|
8312
8321
|
var link2 = strictObject({
|
|
8313
8322
|
id,
|
|
@@ -8481,7 +8490,7 @@ var taskReview = strictObject({
|
|
|
8481
8490
|
untrusted
|
|
8482
8491
|
});
|
|
8483
8492
|
|
|
8484
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8493
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/entities/template.js
|
|
8485
8494
|
var template = strictObject({
|
|
8486
8495
|
key: text,
|
|
8487
8496
|
channel: picklist(["telegram", "email", "text"]),
|
|
@@ -8493,7 +8502,7 @@ var template = strictObject({
|
|
|
8493
8502
|
updated_by: nullable(text)
|
|
8494
8503
|
});
|
|
8495
8504
|
|
|
8496
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8505
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/entities/topic.js
|
|
8497
8506
|
var topic = strictObject({
|
|
8498
8507
|
id,
|
|
8499
8508
|
title: text,
|
|
@@ -8507,7 +8516,7 @@ var topic = strictObject({
|
|
|
8507
8516
|
untrusted
|
|
8508
8517
|
});
|
|
8509
8518
|
|
|
8510
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8519
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/entities/index.js
|
|
8511
8520
|
var ENTITIES = {
|
|
8512
8521
|
sync_progress: progress,
|
|
8513
8522
|
deal,
|
|
@@ -8800,7 +8809,7 @@ var entityDefinitions = /* @__PURE__ */ __name(() => Object.fromEntries(Object.e
|
|
|
8800
8809
|
return [name, definition];
|
|
8801
8810
|
})), "entityDefinitions");
|
|
8802
8811
|
|
|
8803
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8812
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/cli/answer-entity.js
|
|
8804
8813
|
var schemas = /* @__PURE__ */ new WeakMap();
|
|
8805
8814
|
var answerEntity = /* @__PURE__ */ __name((command, name, schema2, options = {}) => {
|
|
8806
8815
|
if (Object.hasOwn(ENTITIES, name))
|
|
@@ -8834,7 +8843,7 @@ var answerRow = /* @__PURE__ */ __name((command) => {
|
|
|
8834
8843
|
return own && metaOf(command).output?.entity === own.name ? own.row : void 0;
|
|
8835
8844
|
}, "answerRow");
|
|
8836
8845
|
|
|
8837
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8846
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/cli/command-server-request.js
|
|
8838
8847
|
import { AsyncLocalStorage } from "node:async_hooks";
|
|
8839
8848
|
var requests = new AsyncLocalStorage();
|
|
8840
8849
|
var inCommandServerRequest = /* @__PURE__ */ __name((request, work) => requests.run(request, work), "inCommandServerRequest");
|
|
@@ -8849,7 +8858,7 @@ var exitCodeSet = /* @__PURE__ */ __name(() => {
|
|
|
8849
8858
|
return direct;
|
|
8850
8859
|
}, "exitCodeSet");
|
|
8851
8860
|
|
|
8852
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8861
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/sends/guarded.js
|
|
8853
8862
|
import { AsyncLocalStorage as AsyncLocalStorage2 } from "node:async_hooks";
|
|
8854
8863
|
var sentIds = /* @__PURE__ */ __name((typed2, message2) => ({
|
|
8855
8864
|
messageId: message2.id,
|
|
@@ -8955,7 +8964,7 @@ var guardedWrite = /* @__PURE__ */ __name(async (guard, attempt, act, settled2 =
|
|
|
8955
8964
|
}, "guardedWrite");
|
|
8956
8965
|
var codeOf = /* @__PURE__ */ __name((error) => typeof error?.code === "string" ? error.code : "unknown", "codeOf");
|
|
8957
8966
|
|
|
8958
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8967
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/cli/result-fields.js
|
|
8959
8968
|
var named2 = /* @__PURE__ */ __name((work) => {
|
|
8960
8969
|
try {
|
|
8961
8970
|
return work();
|
|
@@ -8982,7 +8991,7 @@ var projectFields2 = /* @__PURE__ */ __name((value, fields) => named2(() => {
|
|
|
8982
8991
|
return projectFields(value, fields);
|
|
8983
8992
|
}), "projectFields");
|
|
8984
8993
|
|
|
8985
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8994
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/cli/execution.js
|
|
8986
8995
|
var DEFAULT_COOPERATIVE_MS = 5 * 6e4;
|
|
8987
8996
|
var DEFAULT_SYNC_MS = 15 * 6e4;
|
|
8988
8997
|
var DEFAULT_OUTPUT_BYTES = 4 * 1024 * 1024;
|
|
@@ -9004,7 +9013,7 @@ var withAbort = /* @__PURE__ */ __name(async (signal, body) => {
|
|
|
9004
9013
|
}
|
|
9005
9014
|
}, "withAbort");
|
|
9006
9015
|
|
|
9007
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9016
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/cli/profile.js
|
|
9008
9017
|
var asFirstWord = /* @__PURE__ */ __name((profile) => `${profile} `, "asFirstWord");
|
|
9009
9018
|
var PLAIN_NAME = /^[A-Za-z0-9][A-Za-z0-9._-]*$/;
|
|
9010
9019
|
var isProfileName = /* @__PURE__ */ __name((word) => PLAIN_NAME.test(word), "isProfileName");
|
|
@@ -9064,7 +9073,7 @@ var rootOf = /* @__PURE__ */ __name((command) => {
|
|
|
9064
9073
|
return root;
|
|
9065
9074
|
}, "rootOf");
|
|
9066
9075
|
|
|
9067
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9076
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/cli/messenger/accounts.js
|
|
9068
9077
|
import { existsSync as existsSync2, readdirSync as readdirSync2, readFileSync as readFileSync2 } from "node:fs";
|
|
9069
9078
|
import { join as join2 } from "node:path";
|
|
9070
9079
|
var accountFileFor = /* @__PURE__ */ __name((app, profile, env) => join2(resolvePaths({ appName: app.appName, prefix: app.envPrefix, env }).state, "accounts", `${profile}.json`), "accountFileFor");
|
|
@@ -9086,12 +9095,12 @@ var profilesWithAccounts = /* @__PURE__ */ __name((app, env) => {
|
|
|
9086
9095
|
}, "profilesWithAccounts");
|
|
9087
9096
|
var profilesHere = /* @__PURE__ */ __name((app, configured, env) => [.../* @__PURE__ */ new Set([...configured, ...profilesWithAccounts(app, env)])].sort(), "profilesHere");
|
|
9088
9097
|
|
|
9089
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9098
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/background/budget.js
|
|
9090
9099
|
var DEADLINE_MARGIN_MS = 5e3;
|
|
9091
9100
|
var DEADLINE_MARGIN_SHARE = 0.15;
|
|
9092
9101
|
var deadlineMargin = /* @__PURE__ */ __name((deadline) => Math.max(DEADLINE_MARGIN_MS, deadline.ms * DEADLINE_MARGIN_SHARE), "deadlineMargin");
|
|
9093
9102
|
|
|
9094
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9103
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/output-detail.js
|
|
9095
9104
|
var RARELY_SET = ["editedAt", "replyTo", "forwardedFrom", "reactions"];
|
|
9096
9105
|
var BRIEF = ["locator", "chatTitle", "timestamp", "senderName", "excerpt", "score"];
|
|
9097
9106
|
var SNAKE_BRIEF = ["ref", "chat_title", "timestamp", "sender_name", "excerpt", "score"];
|
|
@@ -9127,7 +9136,7 @@ var atDetail = /* @__PURE__ */ __name((value, detail = "default") => {
|
|
|
9127
9136
|
return value;
|
|
9128
9137
|
}, "atDetail");
|
|
9129
9138
|
|
|
9130
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9139
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/output.js
|
|
9131
9140
|
var refuseCompact = /* @__PURE__ */ __name(({ json, jsonl, fields, hitDetail }) => {
|
|
9132
9141
|
const other = jsonl ? "--jsonl" : fields !== void 0 ? "--json=\u2026" : json ? "--json" : hitDetail === "brief" ? "--brief" : "";
|
|
9133
9142
|
if (other)
|
|
@@ -9191,7 +9200,7 @@ var silence = /* @__PURE__ */ __name((renderer) => ({
|
|
|
9191
9200
|
}, "warn")
|
|
9192
9201
|
}), "silence");
|
|
9193
9202
|
|
|
9194
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9203
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/runs/log-events.js
|
|
9195
9204
|
var CORE_LOG_EVENTS = defineLogEvents([
|
|
9196
9205
|
{ id: "provider.request", meaning: "a request went to the messenger", keys: ["operation"] },
|
|
9197
9206
|
{ id: "provider.response", meaning: "the messenger answered the request, or it failed", keys: ["operation"] },
|
|
@@ -9227,7 +9236,7 @@ var DIAGNOSTIC_LOG_EVENTS = {
|
|
|
9227
9236
|
store: "store.write"
|
|
9228
9237
|
};
|
|
9229
9238
|
|
|
9230
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9239
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/runs/recording.js
|
|
9231
9240
|
var recorded = /* @__PURE__ */ __name(async (options, body) => {
|
|
9232
9241
|
const recording = startRecording(options);
|
|
9233
9242
|
try {
|
|
@@ -9442,7 +9451,7 @@ var partialOutcome = /* @__PURE__ */ __name((answer) => {
|
|
|
9442
9451
|
return void 0;
|
|
9443
9452
|
}, "partialOutcome");
|
|
9444
9453
|
|
|
9445
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9454
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/cli/deadline.js
|
|
9446
9455
|
var withDeadline = /* @__PURE__ */ __name(async (ms2, closeables, body) => {
|
|
9447
9456
|
if (ms2 === void 0)
|
|
9448
9457
|
return body();
|
|
@@ -9468,10 +9477,10 @@ var withDeadline = /* @__PURE__ */ __name(async (ms2, closeables, body) => {
|
|
|
9468
9477
|
}
|
|
9469
9478
|
}, "withDeadline");
|
|
9470
9479
|
|
|
9471
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9480
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/cli/settings.js
|
|
9472
9481
|
import { existsSync as existsSync6 } from "node:fs";
|
|
9473
9482
|
|
|
9474
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9483
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/models/endpoint.js
|
|
9475
9484
|
var endpoint = /* @__PURE__ */ __name((value) => {
|
|
9476
9485
|
try {
|
|
9477
9486
|
const url3 = new URL(value);
|
|
@@ -9481,7 +9490,7 @@ var endpoint = /* @__PURE__ */ __name((value) => {
|
|
|
9481
9490
|
}
|
|
9482
9491
|
}, "endpoint");
|
|
9483
9492
|
|
|
9484
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9493
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/models/settings.js
|
|
9485
9494
|
var MODEL_FIELDS = ["provider", "model", "base_url"];
|
|
9486
9495
|
var modelSettingsShape = record(pipe(string(), regex(/^[a-z][a-z0-9-]*$/)), strictObject({
|
|
9487
9496
|
provider: optional(picklist(["off", "openai", "anthropic"])),
|
|
@@ -9550,7 +9559,7 @@ var modelTarget = /* @__PURE__ */ __name((settings, purpose) => {
|
|
|
9550
9559
|
};
|
|
9551
9560
|
}, "modelTarget");
|
|
9552
9561
|
|
|
9553
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9562
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/analysis/settings.js
|
|
9554
9563
|
var model2 = pipe(string(), trim(), minLength(1), maxLength(200));
|
|
9555
9564
|
var url2 = pipe(string(), check(endpoint, "use an HTTP/S endpoint without credentials, query or fragment"));
|
|
9556
9565
|
var AI_FIELDS = {
|
|
@@ -9594,7 +9603,7 @@ var resolveAISettings = /* @__PURE__ */ __name((prefix, layers, env) => {
|
|
|
9594
9603
|
};
|
|
9595
9604
|
}, "resolveAISettings");
|
|
9596
9605
|
|
|
9597
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9606
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/domain/duration.js
|
|
9598
9607
|
var DURATION = /^(\d+)(ms|s|m|h|d)$/;
|
|
9599
9608
|
var UNIT_MS = { ms: 1, s: 1e3, m: 6e4, h: 36e5, d: 864e5 };
|
|
9600
9609
|
var parseDuration = /* @__PURE__ */ __name((value, source2) => {
|
|
@@ -9608,7 +9617,7 @@ var parseDuration = /* @__PURE__ */ __name((value, source2) => {
|
|
|
9608
9617
|
return ms2;
|
|
9609
9618
|
}, "parseDuration");
|
|
9610
9619
|
|
|
9611
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9620
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/embeddings/models.js
|
|
9612
9621
|
import { existsSync as existsSync3 } from "node:fs";
|
|
9613
9622
|
import { join as join3 } from "node:path";
|
|
9614
9623
|
var huggingFace = /* @__PURE__ */ __name((repository, commit) => (name) => `https://huggingface.co/${repository}/resolve/${commit}/${name}`, "huggingFace");
|
|
@@ -9885,7 +9894,7 @@ var vectorModelKey = /* @__PURE__ */ __name((model3) => {
|
|
|
9885
9894
|
}, "vectorModelKey");
|
|
9886
9895
|
var meaningFloor = /* @__PURE__ */ __name((key) => key === "local:e5-small:384" ? 0.8 : 0, "meaningFloor");
|
|
9887
9896
|
|
|
9888
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9897
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/services/history-limits.js
|
|
9889
9898
|
var HISTORY_MAX_DAYS = 1095;
|
|
9890
9899
|
var DEFAULT_HISTORY_LIMITS = { dialogDays: 1095, groupDays: 365, groupMembersMax: 50 };
|
|
9891
9900
|
var DAY_MS = 24 * 60 * 60 * 1e3;
|
|
@@ -9932,7 +9941,7 @@ var limitBatch = /* @__PURE__ */ __name((batch, shapes, included, limits, now =
|
|
|
9932
9941
|
return { batch: { ...batch, messages }, skipped };
|
|
9933
9942
|
}, "limitBatch");
|
|
9934
9943
|
|
|
9935
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9944
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/cli/bot/registry.js
|
|
9936
9945
|
import { existsSync as existsSync4, readdirSync as readdirSync3, readFileSync as readFileSync3 } from "node:fs";
|
|
9937
9946
|
import { join as join4 } from "node:path";
|
|
9938
9947
|
var botsDirectory = /* @__PURE__ */ __name((app, env = process.env) => join4(resolvePaths({ appName: app.appName, prefix: app.envPrefix, env }).state, "bots"), "botsDirectory");
|
|
@@ -10021,10 +10030,10 @@ var registryProfiles = /* @__PURE__ */ __name((app, env = process.env) => {
|
|
|
10021
10030
|
return readdirSync3(directory, { withFileTypes: true }).filter((entry) => entry.isFile() && entry.name.endsWith(".json")).map((entry) => entry.name).map((name) => name.slice(0, -".json".length));
|
|
10022
10031
|
}, "registryProfiles");
|
|
10023
10032
|
|
|
10024
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10033
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/cli/config-issues.js
|
|
10025
10034
|
import { readFileSync as readFileSync4 } from "node:fs";
|
|
10026
10035
|
|
|
10027
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10036
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/cli/config-repair.js
|
|
10028
10037
|
var REPAIR_WORDS = {
|
|
10029
10038
|
byte_order_mark: "an invisible byte-order mark at the start",
|
|
10030
10039
|
comment: "a comment, which JSON does not allow",
|
|
@@ -10265,7 +10274,7 @@ ${parts.join(",\n")}
|
|
|
10265
10274
|
${indent}${close}`;
|
|
10266
10275
|
}, "serialise");
|
|
10267
10276
|
|
|
10268
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10277
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/cli/config-issues.js
|
|
10269
10278
|
var isNode = /* @__PURE__ */ __name((value) => typeof value === "object" && value !== null && !Array.isArray(value), "isNode");
|
|
10270
10279
|
var SECTIONS = ["personal", "bot"];
|
|
10271
10280
|
var SHELL_SAFE = /^[A-Za-z0-9_.:@-]*$/;
|
|
@@ -10560,7 +10569,7 @@ var readConfigFile = /* @__PURE__ */ __name((path2) => {
|
|
|
10560
10569
|
return "issue" in parsed ? { issue: publicIssue(parsed.issue) } : parsed;
|
|
10561
10570
|
}, "readConfigFile");
|
|
10562
10571
|
|
|
10563
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10572
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/cli/default-config.js
|
|
10564
10573
|
import { existsSync as existsSync5, linkSync, mkdirSync as mkdirSync2, mkdtempSync, rmSync as rmSync2, writeFileSync } from "node:fs";
|
|
10565
10574
|
import { dirname as dirname2, join as join5 } from "node:path";
|
|
10566
10575
|
var DEFAULT_CONFIG = {
|
|
@@ -10589,7 +10598,7 @@ function ensureDefaultConfig(path2, config = DEFAULT_CONFIG) {
|
|
|
10589
10598
|
}
|
|
10590
10599
|
__name(ensureDefaultConfig, "ensureDefaultConfig");
|
|
10591
10600
|
|
|
10592
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10601
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/cli/setting-defaults.js
|
|
10593
10602
|
var isNode2 = /* @__PURE__ */ __name((value) => typeof value === "object" && value !== null && !Array.isArray(value), "isNode");
|
|
10594
10603
|
var parentOf = /* @__PURE__ */ __name((config, key) => {
|
|
10595
10604
|
const path2 = key.split(".");
|
|
@@ -10622,7 +10631,7 @@ var settingRows = /* @__PURE__ */ __name((raw, declared) => declared.map((settin
|
|
|
10622
10631
|
};
|
|
10623
10632
|
}), "settingRows");
|
|
10624
10633
|
|
|
10625
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10634
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/cli/settings.js
|
|
10626
10635
|
var DEFAULT_LIMIT = DEFAULT_CONFIG.defaults.limit;
|
|
10627
10636
|
var DEFAULT_KEEP_RUNS_FOR_DAYS = DEFAULT_CONFIG.defaults.keep_runs_for_days;
|
|
10628
10637
|
var DEFAULT_SENDS_PER_HOUR = DEFAULT_CONFIG.defaults.sends_per_hour;
|
|
@@ -11147,7 +11156,7 @@ var given = /* @__PURE__ */ __name((value) => {
|
|
|
11147
11156
|
return trimmed === void 0 || trimmed === "" ? void 0 : trimmed;
|
|
11148
11157
|
}, "given");
|
|
11149
11158
|
|
|
11150
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11159
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/cli/context.js
|
|
11151
11160
|
var setExitCode = /* @__PURE__ */ __name((command, code) => {
|
|
11152
11161
|
const slot = environmentOf(command).exit;
|
|
11153
11162
|
const request = commandServerRequest();
|
|
@@ -11273,7 +11282,7 @@ var commandPath = /* @__PURE__ */ __name((command) => {
|
|
|
11273
11282
|
return words2.join(" ");
|
|
11274
11283
|
}, "commandPath");
|
|
11275
11284
|
|
|
11276
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11285
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/cli/effects.js
|
|
11277
11286
|
var REMOTE_READ = { remote: "read", local: "read" };
|
|
11278
11287
|
var FETCH = { remote: "read", local: "write" };
|
|
11279
11288
|
var REMOTE_WRITE = { remote: "write", local: "write" };
|
|
@@ -11393,7 +11402,7 @@ var refuseUnderReadOnly = /* @__PURE__ */ __name((command, what) => {
|
|
|
11393
11402
|
throw readOnlyRefusal(lock, what);
|
|
11394
11403
|
}, "refuseUnderReadOnly");
|
|
11395
11404
|
|
|
11396
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11405
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/images/picture/models.js
|
|
11397
11406
|
import { join as join6 } from "node:path";
|
|
11398
11407
|
var clip = /* @__PURE__ */ __name((name) => `https://huggingface.co/Xenova/clip-vit-base-patch32/resolve/d15189d7028b43f1d3e65039190477f6af591c2a/${name}`, "clip");
|
|
11399
11408
|
var IMAGE_MODELS = [
|
|
@@ -11447,7 +11456,7 @@ var imageModelsDirectory = /* @__PURE__ */ __name((env = process.env) => sharedM
|
|
|
11447
11456
|
var placedImage = /* @__PURE__ */ __name((model3, directory) => model3.files.map((file) => [file, join6(directory, model3.id, file.name)]), "placedImage");
|
|
11448
11457
|
var isImageModelInstalled = /* @__PURE__ */ __name((model3, directory) => filesPresent(placedImage(model3, directory)), "isImageModelInstalled");
|
|
11449
11458
|
|
|
11450
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11459
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/cli/steps.js
|
|
11451
11460
|
var STEPS2 = defineSteps([
|
|
11452
11461
|
...STEPS,
|
|
11453
11462
|
{
|
|
@@ -11719,7 +11728,7 @@ var stepLine = /* @__PURE__ */ __name((root, step2) => {
|
|
|
11719
11728
|
].join(" ");
|
|
11720
11729
|
}, "stepLine");
|
|
11721
11730
|
|
|
11722
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11731
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/cli/project-status-rows.js
|
|
11723
11732
|
var where = [{ field: "ref" }];
|
|
11724
11733
|
var who2 = { field: ["who.owner", "who.name"], tag: "you" };
|
|
11725
11734
|
var ON_CHAT_ROW = /* @__PURE__ */ new Set(["reply-next", "coverage"]);
|
|
@@ -11811,7 +11820,7 @@ var STATUS_ROWS = {
|
|
|
11811
11820
|
"status.failed": { columns: [{ field: "signal" }], text: ["why"] }
|
|
11812
11821
|
};
|
|
11813
11822
|
|
|
11814
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11823
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/cli/compact.js
|
|
11815
11824
|
var TEXT_CHARS = 400;
|
|
11816
11825
|
var sender = { field: ["sender_is_me", "sender_name"], tag: "me" };
|
|
11817
11826
|
var messageRow = {
|
|
@@ -12177,7 +12186,7 @@ var compactText = /* @__PURE__ */ __name((body, shape, options, rowsOf = rowsOfE
|
|
|
12177
12186
|
return lines.concat(footerOf(body)).join("\n");
|
|
12178
12187
|
}, "compactText");
|
|
12179
12188
|
|
|
12180
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
12189
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/cli/output-budget.js
|
|
12181
12190
|
var SOFT_OUTPUT_BYTES = 256 * 1024;
|
|
12182
12191
|
var CARRIED = ["json", "compact", "offline", "timeout", "full", "brief", "maxOutputBytes"];
|
|
12183
12192
|
var NOT_WITH_COMPACT = /* @__PURE__ */ new Set(["json", "brief"]);
|
|
@@ -12224,7 +12233,7 @@ var largeAnswerSteps = /* @__PURE__ */ __name((command) => {
|
|
|
12224
12233
|
return args ? compactStep(command, args, "the answer is large as JSON; one line per item keeps every ref") : [];
|
|
12225
12234
|
}, "largeAnswerSteps");
|
|
12226
12235
|
|
|
12227
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
12236
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/cli/provider-refs.js
|
|
12228
12237
|
var HIDDEN = /* @__PURE__ */ new Set(["providerRef", "provider_ref"]);
|
|
12229
12238
|
var withoutProviderRefs = /* @__PURE__ */ __name((value) => strip(value), "withoutProviderRefs");
|
|
12230
12239
|
var strip = /* @__PURE__ */ __name((value) => {
|
|
@@ -12238,7 +12247,7 @@ var strip = /* @__PURE__ */ __name((value) => {
|
|
|
12238
12247
|
return Object.fromEntries(Object.entries(value).flatMap(([key, inner]) => HIDDEN.has(key) ? [] : [[key, strip(inner)]]));
|
|
12239
12248
|
}, "strip");
|
|
12240
12249
|
|
|
12241
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
12250
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/cli/envelope.js
|
|
12242
12251
|
var answerSchema = /* @__PURE__ */ __name((item = unknown()) => union([listEnvelopeSchema(item), itemEnvelopeSchema(item)]), "answerSchema");
|
|
12243
12252
|
var capped2 = /* @__PURE__ */ __name((steps) => steps.length > 0 ? { next: steps.slice(0, MAX_NEXT_STEPS) } : {}, "capped");
|
|
12244
12253
|
var listOf = /* @__PURE__ */ __name((command, input) => {
|