@wirecat/cli-memo 0.131.77 → 0.131.79
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/bundle/{all-profiles-4UWCPMRQ.js → all-profiles-ZMIHTBZD.js} +9 -9
- package/dist/bundle/{anthropic-HECHQVOK.js → anthropic-PNRUKJHS.js} +6 -6
- package/dist/bundle/{app-server-GQEQWFYQ.js → app-server-RNASTWZO.js} +41 -41
- package/dist/bundle/auto-TRSJQGJH.js +91 -0
- package/dist/bundle/{bun-IWGIAD7H.js → bun-QU4I5GWB.js} +2 -2
- package/dist/bundle/{bun-sqlite-VJFM4TVN.js → bun-sqlite-J4KG5VML.js} +10 -6
- package/dist/bundle/{chunk-D7KQYLAN.js → chunk-24FOGKJI.js} +7 -7
- package/dist/bundle/{chunk-JKLJM7EG.js → chunk-2C536VQW.js} +1 -1
- package/dist/bundle/{chunk-3QBRLN6T.js → chunk-2EGS6BXF.js} +2 -2
- package/dist/bundle/{chunk-JSGRDE5Q.js → chunk-2TIK6LHL.js} +443 -344
- package/dist/bundle/{chunk-PPARTGFE.js → chunk-3GOMBG55.js} +8 -8
- package/dist/bundle/{chunk-OQSIFLZS.js → chunk-3HCGK4FN.js} +1 -1
- package/dist/bundle/{chunk-MRUE3BWX.js → chunk-46Z7UUCG.js} +1 -1
- package/dist/bundle/{chunk-ZPB3VTS7.js → chunk-4BSNHOEV.js} +28 -11
- package/dist/bundle/{chunk-BNOSAHVH.js → chunk-4FPSZCWN.js} +2 -2
- package/dist/bundle/{chunk-4VO2RJAE.js → chunk-4XOAQ5EQ.js} +10 -10
- package/dist/bundle/{chunk-6A37YXAL.js → chunk-5LEIPSJG.js} +24 -0
- package/dist/bundle/{chunk-M4MM4QUM.js → chunk-5YS4WS74.js} +1 -1
- package/dist/bundle/{chunk-HFZHXP4U.js → chunk-6ZO2ZVKV.js} +5 -5
- package/dist/bundle/{chunk-C3HS26N5.js → chunk-7SGURCSQ.js} +1 -1
- package/dist/bundle/chunk-A5TSIMI2.js +53 -0
- package/dist/bundle/{chunk-UDRKGCDS.js → chunk-AWUANCLC.js} +1 -1
- package/dist/bundle/{chunk-KYW7RWGE.js → chunk-BBJBWSGN.js} +2 -2
- package/dist/bundle/{chunk-OAWNQZ3V.js → chunk-CLZHPHKI.js} +3 -3
- package/dist/bundle/{chunk-NGWUFB4K.js → chunk-CQPXUMIS.js} +1 -1
- package/dist/bundle/{chunk-LO74ISD6.js → chunk-CX3D6D43.js} +3 -3
- package/dist/bundle/{chunk-5APYWW46.js → chunk-CY7WACM7.js} +31 -31
- package/dist/bundle/{chunk-7YALAAL4.js → chunk-DAJEINOF.js} +1193 -905
- package/dist/bundle/{chunk-EXFRC4OT.js → chunk-DCK5AT3D.js} +1 -1
- package/dist/bundle/{chunk-JTLPFUIQ.js → chunk-DP2RZ6FO.js} +3 -3
- package/dist/bundle/{chunk-YZ4J67GU.js → chunk-FCHVDLEL.js} +3 -3
- package/dist/bundle/{chunk-BFEXVALS.js → chunk-GDSCR5BG.js} +1 -1
- package/dist/bundle/{chunk-AH6V2UJZ.js → chunk-GJ7KTKIP.js} +16 -16
- package/dist/bundle/{chunk-DJYMK7EI.js → chunk-GTYESBB2.js} +3 -3
- package/dist/bundle/{chunk-TIHQFMH2.js → chunk-H6QELEPY.js} +6 -6
- package/dist/bundle/{chunk-6VISMU6R.js → chunk-HKOHKYDY.js} +7 -7
- package/dist/bundle/{chunk-IYINNZQE.js → chunk-IE6AEPW3.js} +10 -10
- package/dist/bundle/{chunk-EY46RMMS.js → chunk-IHWPNLCI.js} +170 -152
- package/dist/bundle/{chunk-76T57Y3Q.js → chunk-IU2QDYBO.js} +5 -5
- package/dist/bundle/{chunk-W36BMC6F.js → chunk-J2KPUG2X.js} +4 -4
- package/dist/bundle/{chunk-VMTTWF2M.js → chunk-JDI7CKLO.js} +7 -7
- package/dist/bundle/{chunk-CPKS7JKX.js → chunk-JX4YNSYT.js} +1 -1
- package/dist/bundle/{chunk-WZZ426CJ.js → chunk-LQBVQX47.js} +80 -80
- package/dist/bundle/{chunk-6RN34ZWU.js → chunk-MQ6XB6BV.js} +5 -5
- package/dist/bundle/{chunk-UIS44ZMF.js → chunk-O4ZIN4AY.js} +6 -6
- package/dist/bundle/{chunk-TFXKS2WG.js → chunk-OP5MKU7T.js} +1 -1
- package/dist/bundle/{chunk-XLZPP5MB.js → chunk-PB4ZGGR4.js} +1 -1
- package/dist/bundle/{chunk-MZHH5XMX.js → chunk-PI42ZHZQ.js} +2 -2
- package/dist/bundle/{chunk-QNJ6O6J4.js → chunk-Q5YM3JWV.js} +2 -2
- package/dist/bundle/{chunk-3URQNBDV.js → chunk-QNI3Q7XS.js} +2 -2
- package/dist/bundle/{chunk-OB3OPV55.js → chunk-QOFD6JSB.js} +5 -5
- package/dist/bundle/{chunk-CFZZUGUD.js → chunk-R24Q24U5.js} +26 -23
- package/dist/bundle/{chunk-X2SA73EE.js → chunk-RK24IARI.js} +1 -1
- package/dist/bundle/{chunk-VIY77EDM.js → chunk-RMKJWDVT.js} +47 -47
- package/dist/bundle/{chunk-TXXKLYJQ.js → chunk-RUHFWDHD.js} +3 -3
- package/dist/bundle/{chunk-2IQWMWMC.js → chunk-SB3AOH3M.js} +3 -3
- package/dist/bundle/{chunk-4EFQOTNQ.js → chunk-SEIRBXJT.js} +7 -7
- package/dist/bundle/{chunk-INXIJXU2.js → chunk-SM7PB5CU.js} +7 -7
- package/dist/bundle/{chunk-UD5JUJES.js → chunk-TBCHID7L.js} +23644 -22657
- package/dist/bundle/{chunk-HKDUGTWQ.js → chunk-TH3LLEA2.js} +3 -3
- package/dist/bundle/{chunk-LHVNZ25W.js → chunk-U3VXKVKI.js} +12 -12
- package/dist/bundle/{chunk-A54EZ6DV.js → chunk-UC5YCXKS.js} +15 -14
- package/dist/bundle/{chunk-DE5BNDIA.js → chunk-UYKKJOND.js} +4 -4
- package/dist/bundle/{chunk-SHO3T3F2.js → chunk-VIZBCX3C.js} +4 -4
- package/dist/bundle/{chunk-DNPE4LOZ.js → chunk-VSSWVVOZ.js} +11 -11
- package/dist/bundle/{chunk-2DLCQ4AK.js → chunk-WN7BSOD2.js} +1 -1
- package/dist/bundle/{chunk-S5T4SO7I.js → chunk-XO6RP5FV.js} +20 -2
- package/dist/bundle/{chunk-KTBPBMNR.js → chunk-YJUVVYS6.js} +5 -5
- package/dist/bundle/{chunk-ZPPMGXER.js → chunk-ZFUYVQII.js} +34 -34
- package/dist/bundle/{chunk-HWIKY7KF.js → chunk-ZIDR2CSX.js} +2 -2
- package/dist/bundle/command-contract-4ZJOMSQ2.js +34 -0
- package/dist/bundle/{command-server-entry-TQBKNSM3.js → command-server-entry-VSWZ5K2Q.js} +21 -21
- package/dist/bundle/{decode-VFRSEIBD.js → decode-OPD4OHCW.js} +6 -6
- package/dist/bundle/{dispatch-N73TJNYM.js → dispatch-BRRZ6TLX.js} +1 -1
- package/dist/bundle/{echarts-DP2GC2C6.js → echarts-AXYKRYU7.js} +2 -2
- package/dist/bundle/{embed-BIINGRNY.js → embed-6DBZRTQ7.js} +7 -7
- package/dist/bundle/{embedder-2AUO2PHQ.js → embedder-SQI6IDZC.js} +10 -10
- package/dist/bundle/{entry-APUFP74B.js → entry-2GKNMGW6.js} +9 -9
- package/dist/bundle/{entry-LGJ2Y7AS.js → entry-RV5QAV44.js} +9 -9
- package/dist/bundle/failure-7RJ4HOL4.js +71 -0
- package/dist/bundle/{failure-IPHFR3KW.js → failure-ECNGLVHX.js} +2 -2
- package/dist/bundle/{first-run-7UMKRQL7.js → first-run-BBMUDHYX.js} +10 -10
- package/dist/bundle/first-screen-4BS5M4JW.js +32 -0
- package/dist/bundle/{instructions-WDKCHEG6.js → instructions-JNAROG65.js} +1 -1
- package/dist/bundle/mcp-3MBYSBNS.js +92 -0
- package/dist/bundle/memo.js +6 -6
- package/dist/bundle/{node-QBL3F2VF.js → node-6OTEDFSP.js} +2 -2
- package/dist/bundle/{node-sqlite-WFKC73E5.js → node-sqlite-HBHJOJX6.js} +11 -7
- package/dist/bundle/{oauth-4PT7N4SE.js → oauth-PVQSSPPE.js} +8 -8
- package/dist/bundle/{open-I7XENSGI.js → open-ARBTD4LX.js} +6 -6
- package/dist/bundle/{openai-DUSBTUFI.js → openai-2JRFTWUA.js} +11 -11
- package/dist/bundle/{process-TVXEHAK6.js → process-4ERCV4WX.js} +1 -1
- package/dist/bundle/{program-3X4EPBEW.js → program-5KVHPFJU.js} +299 -133
- package/dist/bundle/{prompt-QRYXTON7.js → prompt-4I34VBPK.js} +6 -6
- package/dist/bundle/{recognize-ZLDPIN36.js → recognize-22BJ7RWB.js} +5 -5
- package/dist/bundle/{remote-3GRP5YE3.js → remote-BON3MKY5.js} +8 -8
- package/dist/bundle/{rerank-6B2FI6LN.js → rerank-6CCCIZDS.js} +8 -8
- package/dist/bundle/{serve-ZP3TEANT.js → serve-FB54DFIV.js} +10 -10
- package/dist/bundle/server-SG4BOF6U.js +64 -0
- package/dist/bundle/{server-3SJJNNSX.js → server-TL5WPR3I.js} +59 -59
- package/dist/bundle/server-UYEXFEEB.js +50 -0
- package/dist/bundle/{state-JDH2X2CY.js → state-23IF45K6.js} +7 -7
- package/dist/bundle/{store-FDNYGJUF.js → store-FGNXSGJU.js} +13 -13
- package/dist/bundle/store-maintenance-command-PDLIZ4J2.js +49 -0
- package/dist/bundle/update-QTZREQD6.js +74 -0
- package/dist/examples.d.ts.map +1 -1
- package/dist/examples.js +12 -3
- package/dist/examples.js.map +1 -1
- package/dist/mcp/catalogue.d.ts +4 -4
- package/dist/mcp/catalogue.d.ts.map +1 -1
- package/dist/mcp/catalogue.js +2 -2
- package/dist/mcp/catalogue.js.map +1 -1
- 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/doubts-command.d.ts +5 -0
- package/dist/people/doubts-command.d.ts.map +1 -0
- package/dist/people/doubts-command.js +46 -0
- package/dist/people/doubts-command.js.map +1 -0
- package/dist/people/identities-command.d.ts.map +1 -1
- package/dist/people/identities-command.js +54 -57
- package/dist/people/identities-command.js.map +1 -1
- package/dist/people/proposal-rows.d.ts +48 -0
- package/dist/people/proposal-rows.d.ts.map +1 -0
- package/dist/people/proposal-rows.js +61 -0
- package/dist/people/proposal-rows.js.map +1 -0
- package/dist/people/proposals-command.d.ts +5 -0
- package/dist/people/proposals-command.d.ts.map +1 -0
- package/dist/people/proposals-command.js +107 -0
- package/dist/people/proposals-command.js.map +1 -0
- package/dist/reasons.d.ts.map +1 -1
- package/dist/reasons.js +18 -0
- package/dist/reasons.js.map +1 -1
- package/dist/review/kinds.d.ts +1 -1
- package/dist/review/kinds.d.ts.map +1 -1
- package/dist/review/kinds.js +1 -0
- package/dist/review/kinds.js.map +1 -1
- package/dist/sources/readers/ai-model.js +3 -3
- package/dist/sources/readers/ai-model.js.map +1 -1
- package/dist/tasks/shared.d.ts.map +1 -1
- package/dist/tasks/shared.js +14 -2
- package/dist/tasks/shared.js.map +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +2 -2
- package/skills/cli-memo/topics/proposals.md +10 -6
- package/dist/bundle/auto-3O7JD27U.js +0 -91
- package/dist/bundle/chunk-YABNPKKQ.js +0 -35
- package/dist/bundle/command-contract-SEDOYJIJ.js +0 -34
- package/dist/bundle/failure-5QSMH2CD.js +0 -71
- package/dist/bundle/first-screen-H5CQSLIX.js +0 -32
- package/dist/bundle/mcp-3HKOGYHL.js +0 -92
- package/dist/bundle/server-72VZYABL.js +0 -50
- package/dist/bundle/server-UY47EXPQ.js +0 -64
- package/dist/bundle/store-maintenance-command-5LFS45JM.js +0 -49
- package/dist/bundle/update-257J2SPM.js +0 -74
- /package/dist/bundle/{chunk-6AALVDEA.js → chunk-2AFREBSM.js} +0 -0
|
@@ -9,18 +9,18 @@ import {
|
|
|
9
9
|
providerErrorKey,
|
|
10
10
|
renderEvent,
|
|
11
11
|
runContextOf
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-SEIRBXJT.js";
|
|
13
13
|
import {
|
|
14
14
|
carries
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-46Z7UUCG.js";
|
|
16
16
|
import {
|
|
17
17
|
permissionCeiling
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-RUHFWDHD.js";
|
|
19
19
|
import {
|
|
20
20
|
envName,
|
|
21
21
|
readOnlyLockOf,
|
|
22
22
|
readOnlyRefusal
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-AWUANCLC.js";
|
|
24
24
|
import {
|
|
25
25
|
BUSINESS_KINDS,
|
|
26
26
|
CATEGORIES,
|
|
@@ -98,23 +98,23 @@ import {
|
|
|
98
98
|
typedCommand,
|
|
99
99
|
untrusted,
|
|
100
100
|
useAsProcessRun
|
|
101
|
-
} from "./chunk-
|
|
101
|
+
} from "./chunk-LQBVQX47.js";
|
|
102
102
|
import {
|
|
103
103
|
isCliFailure,
|
|
104
104
|
storeDamaged
|
|
105
|
-
} from "./chunk-
|
|
105
|
+
} from "./chunk-ZIDR2CSX.js";
|
|
106
106
|
import {
|
|
107
107
|
readSharedSection,
|
|
108
108
|
sharedConfigPath,
|
|
109
109
|
writeSharedSection
|
|
110
|
-
} from "./chunk-
|
|
110
|
+
} from "./chunk-YJUVVYS6.js";
|
|
111
111
|
import {
|
|
112
112
|
filesPresent,
|
|
113
113
|
sharedModelsDirectory
|
|
114
|
-
} from "./chunk-
|
|
114
|
+
} from "./chunk-CX3D6D43.js";
|
|
115
115
|
import {
|
|
116
116
|
storePath
|
|
117
|
-
} from "./chunk-
|
|
117
|
+
} from "./chunk-A5TSIMI2.js";
|
|
118
118
|
import {
|
|
119
119
|
configFilePath,
|
|
120
120
|
createRecordLog,
|
|
@@ -125,15 +125,15 @@ import {
|
|
|
125
125
|
resolvePaths,
|
|
126
126
|
saveConfigFile,
|
|
127
127
|
writeSecurely
|
|
128
|
-
} from "./chunk-
|
|
128
|
+
} from "./chunk-SB3AOH3M.js";
|
|
129
129
|
import {
|
|
130
130
|
defineLogEvents
|
|
131
|
-
} from "./chunk-
|
|
131
|
+
} from "./chunk-DCK5AT3D.js";
|
|
132
132
|
import {
|
|
133
133
|
EXIT_CODES,
|
|
134
134
|
GENERIC_FAILURE,
|
|
135
135
|
exitCodeOfAnswer
|
|
136
|
-
} from "./chunk-
|
|
136
|
+
} from "./chunk-RK24IARI.js";
|
|
137
137
|
import {
|
|
138
138
|
COMPACT_FLAG,
|
|
139
139
|
MAX_NEXT_STEPS,
|
|
@@ -186,7 +186,7 @@ import {
|
|
|
186
186
|
url,
|
|
187
187
|
variant,
|
|
188
188
|
writes
|
|
189
|
-
} from "./chunk-
|
|
189
|
+
} from "./chunk-5LEIPSJG.js";
|
|
190
190
|
import {
|
|
191
191
|
CliError,
|
|
192
192
|
isCliError,
|
|
@@ -3983,7 +3983,7 @@ var commandsDocument = /* @__PURE__ */ __name((root, about) => ({
|
|
|
3983
3983
|
exit_codes: { ok: 0, internal_error: GENERIC_FAILURE, ...EXIT_CODES }
|
|
3984
3984
|
}), "commandsDocument");
|
|
3985
3985
|
|
|
3986
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3986
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.633.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6b55a08b64e6f66e5ab3a99b7d6b1e87/node_modules/@wirecat/cli-core/dist/sends/permissions.js
|
|
3987
3987
|
var LEVELS = ["deny", "readonly", "ask", "allow"];
|
|
3988
3988
|
var DANGEROUS = /* @__PURE__ */ new Set(["messages.delete", "bot.messages.delete", "topics.delete", "chats.delete", "chats.clear"]);
|
|
3989
3989
|
var skipFlagFor = /* @__PURE__ */ __name((key) => DANGEROUS.has(key) ? "--allow-dangerous" : "--yes", "skipFlagFor");
|
|
@@ -4005,6 +4005,7 @@ var DEFAULT_PERMISSIONS = {
|
|
|
4005
4005
|
"store.migrate": "ask",
|
|
4006
4006
|
"store.repair": "ask",
|
|
4007
4007
|
"store.reset": "ask",
|
|
4008
|
+
"store.import": "ask",
|
|
4008
4009
|
"store.clear": "ask",
|
|
4009
4010
|
"store.decrypt": "ask",
|
|
4010
4011
|
"store.copies.delete": "ask",
|
|
@@ -4383,7 +4384,7 @@ var assertRetentionEvidenceRead = /* @__PURE__ */ __name((permissions) => {
|
|
|
4383
4384
|
}
|
|
4384
4385
|
}, "assertRetentionEvidenceRead");
|
|
4385
4386
|
|
|
4386
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4387
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.633.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6b55a08b64e6f66e5ab3a99b7d6b1e87/node_modules/@wirecat/cli-core/dist/entities/account.js
|
|
4387
4388
|
var account = strictObject({
|
|
4388
4389
|
provider: text,
|
|
4389
4390
|
id,
|
|
@@ -4393,7 +4394,7 @@ var account = strictObject({
|
|
|
4393
4394
|
scope: optional(picklist(["personal", "work"]))
|
|
4394
4395
|
});
|
|
4395
4396
|
|
|
4396
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4397
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.633.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6b55a08b64e6f66e5ab3a99b7d6b1e87/node_modules/@wirecat/cli-core/dist/entities/account-session.js
|
|
4397
4398
|
var accountSession = strictObject({
|
|
4398
4399
|
current: boolean(),
|
|
4399
4400
|
client: nullable(text),
|
|
@@ -4403,7 +4404,7 @@ var accountSession = strictObject({
|
|
|
4403
4404
|
created_at: optional(nullable(time))
|
|
4404
4405
|
});
|
|
4405
4406
|
|
|
4406
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4407
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.633.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6b55a08b64e6f66e5ab3a99b7d6b1e87/node_modules/@wirecat/cli-core/dist/entities/account-change.js
|
|
4407
4408
|
var accountChange = strictObject({ operation_id: id, account: omit(account, ["provider", "scope"]) });
|
|
4408
4409
|
var endedAccountSessions = strictObject({ operation_id: id, sessions: array(accountSession) });
|
|
4409
4410
|
var audience = picklist(["everyone", "contacts", "nobody"]);
|
|
@@ -4432,7 +4433,7 @@ var accountRemoval = strictObject({
|
|
|
4432
4433
|
kept: array(strictObject({ kind: removalKind, target: text, reason: text }))
|
|
4433
4434
|
});
|
|
4434
4435
|
|
|
4435
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4436
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.633.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6b55a08b64e6f66e5ab3a99b7d6b1e87/node_modules/@wirecat/cli-core/dist/entities/account-profile.js
|
|
4436
4437
|
var accountProfile = strictObject({
|
|
4437
4438
|
profile: id,
|
|
4438
4439
|
current: boolean(),
|
|
@@ -4444,7 +4445,7 @@ var accountProfile = strictObject({
|
|
|
4444
4445
|
bot: optional(literal(true))
|
|
4445
4446
|
});
|
|
4446
4447
|
|
|
4447
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4448
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.633.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6b55a08b64e6f66e5ab3a99b7d6b1e87/node_modules/@wirecat/cli-core/dist/entities/counter-reading.js
|
|
4448
4449
|
var milliseconds = pipe(number(), minValue(0));
|
|
4449
4450
|
var counterReading = strictObject({
|
|
4450
4451
|
counter: picklist(["views", "reactions", "comments"]),
|
|
@@ -4456,7 +4457,7 @@ var counterReading = strictObject({
|
|
|
4456
4457
|
});
|
|
4457
4458
|
var selection = record(string(), unknown());
|
|
4458
4459
|
|
|
4459
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4460
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.633.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6b55a08b64e6f66e5ab3a99b7d6b1e87/node_modules/@wirecat/cli-core/dist/entities/admin-report.js
|
|
4460
4461
|
var adminRow = strictObject({
|
|
4461
4462
|
ref: reference,
|
|
4462
4463
|
/** What `stats * evidence` takes: a person id, a stay or a message locator. */
|
|
@@ -4509,7 +4510,7 @@ var adminReport = strictObject({
|
|
|
4509
4510
|
rows: array(adminRow)
|
|
4510
4511
|
});
|
|
4511
4512
|
|
|
4512
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4513
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.633.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6b55a08b64e6f66e5ab3a99b7d6b1e87/node_modules/@wirecat/cli-core/dist/entities/task.js
|
|
4513
4514
|
var closeSuggestion = strictObject({
|
|
4514
4515
|
as: picklist(["done", "dismissed"]),
|
|
4515
4516
|
/** The agent's name. */
|
|
@@ -4571,7 +4572,7 @@ var task = strictObject({
|
|
|
4571
4572
|
updated_at: optional(time)
|
|
4572
4573
|
});
|
|
4573
4574
|
|
|
4574
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4575
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.633.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6b55a08b64e6f66e5ab3a99b7d6b1e87/node_modules/@wirecat/cli-core/dist/entities/agenda.js
|
|
4575
4576
|
var agendaChat = strictObject({
|
|
4576
4577
|
chat: reference,
|
|
4577
4578
|
title: nullable(text),
|
|
@@ -4641,11 +4642,11 @@ var agenda = strictObject({
|
|
|
4641
4642
|
unlisted_categories: array(strictObject({ name: text, open_tasks: number() }))
|
|
4642
4643
|
});
|
|
4643
4644
|
|
|
4644
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4645
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.633.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6b55a08b64e6f66e5ab3a99b7d6b1e87/node_modules/@wirecat/cli-core/dist/entities/analysis-consent.js
|
|
4645
4646
|
var analysisConsent = strictObject({ chat: id, provider: text, at: time });
|
|
4646
4647
|
var analysisConsentRevocation = strictObject({ revoked: boolean() });
|
|
4647
4648
|
|
|
4648
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4649
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.633.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6b55a08b64e6f66e5ab3a99b7d6b1e87/node_modules/@wirecat/cli-core/dist/entities/attachment.js
|
|
4649
4650
|
var attachment = strictObject({
|
|
4650
4651
|
/** The message it came with, as a locator; absent inside that message. */
|
|
4651
4652
|
message: optional(reference),
|
|
@@ -4683,7 +4684,7 @@ var attachment = strictObject({
|
|
|
4683
4684
|
});
|
|
4684
4685
|
var hitFile = strictObject({ position: count, kind: text, name: optional(text), size: optional(count) });
|
|
4685
4686
|
|
|
4686
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4687
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.633.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6b55a08b64e6f66e5ab3a99b7d6b1e87/node_modules/@wirecat/cli-core/dist/entities/batch-result.js
|
|
4687
4688
|
var actionableError = objectWithRest({
|
|
4688
4689
|
code: text,
|
|
4689
4690
|
message: text,
|
|
@@ -4700,7 +4701,7 @@ var batchResult = strictObject({
|
|
|
4700
4701
|
max_error_percent: count
|
|
4701
4702
|
});
|
|
4702
4703
|
|
|
4703
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4704
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.633.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6b55a08b64e6f66e5ab3a99b7d6b1e87/node_modules/@wirecat/cli-core/dist/entities/extraction-report.js
|
|
4704
4705
|
var extractionItem = strictObject({
|
|
4705
4706
|
ref: reference,
|
|
4706
4707
|
attachment: count,
|
|
@@ -4733,7 +4734,7 @@ var extractionReport = strictObject({
|
|
|
4733
4734
|
cursor: optional(text)
|
|
4734
4735
|
});
|
|
4735
4736
|
|
|
4736
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4737
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.633.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6b55a08b64e6f66e5ab3a99b7d6b1e87/node_modules/@wirecat/cli-core/dist/entities/attachment-results.js
|
|
4737
4738
|
var fingerprint = pipe(text, regex(/^[a-f0-9]{64}$/));
|
|
4738
4739
|
var attachmentBytes = strictObject({
|
|
4739
4740
|
ref: reference,
|
|
@@ -4761,7 +4762,7 @@ var attachmentTextChange = strictObject({
|
|
|
4761
4762
|
replaced: nullable(picklist(["extracted", "agent"]))
|
|
4762
4763
|
});
|
|
4763
4764
|
|
|
4764
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4765
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.633.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6b55a08b64e6f66e5ab3a99b7d6b1e87/node_modules/@wirecat/cli-core/dist/botcheck/reasons.js
|
|
4765
4766
|
var WEIGHTS = {
|
|
4766
4767
|
bot: 3,
|
|
4767
4768
|
scam: 3,
|
|
@@ -4786,12 +4787,14 @@ var LINK = /https?:\/\/|t\.me\/|www\./i;
|
|
|
4786
4787
|
var DIGITS = /\d{5,}/;
|
|
4787
4788
|
var oddName = /* @__PURE__ */ __name((name) => !name?.trim() || DIGITS.test(name) || LINK.test(name), "oddName");
|
|
4788
4789
|
|
|
4789
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4790
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.633.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6b55a08b64e6f66e5ab3a99b7d6b1e87/node_modules/@wirecat/cli-core/dist/entities/contact-activity.js
|
|
4790
4791
|
var linkedIdentity = strictObject({
|
|
4791
4792
|
provider: text,
|
|
4792
4793
|
id,
|
|
4793
4794
|
name: nullable(text),
|
|
4794
4795
|
username: nullable(text),
|
|
4796
|
+
phone: optional(nullable(text)),
|
|
4797
|
+
email: optional(nullable(text)),
|
|
4795
4798
|
is_bot: nullable(boolean()),
|
|
4796
4799
|
accounts: array(id),
|
|
4797
4800
|
seen_in: array(strictObject({ account: id, scope: picklist(["personal", "work"]) })),
|
|
@@ -4834,7 +4837,7 @@ var contactCheck = strictObject({
|
|
|
4834
4837
|
checked_at: time
|
|
4835
4838
|
});
|
|
4836
4839
|
|
|
4837
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4840
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.633.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6b55a08b64e6f66e5ab3a99b7d6b1e87/node_modules/@wirecat/cli-core/dist/entities/member.js
|
|
4838
4841
|
var member = strictObject({
|
|
4839
4842
|
id,
|
|
4840
4843
|
name: nullable(text),
|
|
@@ -4857,7 +4860,7 @@ var member = strictObject({
|
|
|
4857
4860
|
check: optional(record(string(), unknown()))
|
|
4858
4861
|
});
|
|
4859
4862
|
|
|
4860
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4863
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.633.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6b55a08b64e6f66e5ab3a99b7d6b1e87/node_modules/@wirecat/cli-core/dist/entities/chat.js
|
|
4861
4864
|
var setting = optional(nullable(boolean()));
|
|
4862
4865
|
var chat = strictObject({
|
|
4863
4866
|
ref: reference,
|
|
@@ -4898,7 +4901,7 @@ var chat = strictObject({
|
|
|
4898
4901
|
members: optional(array(member))
|
|
4899
4902
|
});
|
|
4900
4903
|
|
|
4901
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4904
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.633.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6b55a08b64e6f66e5ab3a99b7d6b1e87/node_modules/@wirecat/cli-core/dist/entities/message.js
|
|
4902
4905
|
var quoted = strictObject({
|
|
4903
4906
|
id,
|
|
4904
4907
|
sender_id: nullable(id),
|
|
@@ -5017,7 +5020,7 @@ var message = strictObject({
|
|
|
5017
5020
|
provider_metadata: providerMetadata
|
|
5018
5021
|
});
|
|
5019
5022
|
|
|
5020
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5023
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.633.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6b55a08b64e6f66e5ab3a99b7d6b1e87/node_modules/@wirecat/cli-core/dist/entities/contact-context.js
|
|
5021
5024
|
var contextPerson = strictObject({ ...linkedPerson.entries, provider: text, id });
|
|
5022
5025
|
var contextMessage = strictObject({
|
|
5023
5026
|
locator: reference,
|
|
@@ -5221,7 +5224,7 @@ var contactPreparation = strictObject({
|
|
|
5221
5224
|
})
|
|
5222
5225
|
});
|
|
5223
5226
|
|
|
5224
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5227
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.633.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6b55a08b64e6f66e5ab3a99b7d6b1e87/node_modules/@wirecat/cli-core/dist/entities/deal.js
|
|
5225
5228
|
var nullableText = nullable(text);
|
|
5226
5229
|
var party = strictObject({ ref: reference, name: nullableText, owner: boolean() });
|
|
5227
5230
|
var outcome = picklist(["open", "won", "lost"]);
|
|
@@ -5313,7 +5316,7 @@ var stage = strictObject({
|
|
|
5313
5316
|
untrusted
|
|
5314
5317
|
});
|
|
5315
5318
|
|
|
5316
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5319
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.633.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6b55a08b64e6f66e5ab3a99b7d6b1e87/node_modules/@wirecat/cli-core/dist/entities/business-context.js
|
|
5317
5320
|
var nullableText2 = nullable(text);
|
|
5318
5321
|
var day2 = nullable(pipe(string(), regex(/^\d{4}-\d{2}-\d{2}$/)));
|
|
5319
5322
|
var standing = picklist(STANDINGS);
|
|
@@ -5487,7 +5490,7 @@ var dealBrief = strictObject({
|
|
|
5487
5490
|
not_read: coverage2.entries.not_read
|
|
5488
5491
|
});
|
|
5489
5492
|
|
|
5490
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5493
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.633.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6b55a08b64e6f66e5ab3a99b7d6b1e87/node_modules/@wirecat/cli-core/dist/entities/chart.js
|
|
5491
5494
|
var chart = strictObject({
|
|
5492
5495
|
version: literal(1),
|
|
5493
5496
|
kind: picklist(["bar", "line", "grouped-bar"]),
|
|
@@ -5502,7 +5505,7 @@ var chart = strictObject({
|
|
|
5502
5505
|
file: optional(strictObject({ path: text, format: picklist(["svg", "png"]), width: count, height: count }))
|
|
5503
5506
|
});
|
|
5504
5507
|
|
|
5505
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5508
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.633.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6b55a08b64e6f66e5ab3a99b7d6b1e87/node_modules/@wirecat/cli-core/dist/entities/folder.js
|
|
5506
5509
|
var named = strictObject({
|
|
5507
5510
|
id,
|
|
5508
5511
|
title: nullable(text),
|
|
@@ -5525,7 +5528,7 @@ var folder = strictObject({
|
|
|
5525
5528
|
excluded_chats: optional(array(named))
|
|
5526
5529
|
});
|
|
5527
5530
|
|
|
5528
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5531
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.633.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6b55a08b64e6f66e5ab3a99b7d6b1e87/node_modules/@wirecat/cli-core/dist/entities/invite-link.js
|
|
5529
5532
|
var inviteLink = strictObject({
|
|
5530
5533
|
link: text,
|
|
5531
5534
|
/** Who joins by it asks first, and an admin lets them in. */
|
|
@@ -5541,7 +5544,7 @@ var inviteLink = strictObject({
|
|
|
5541
5544
|
joined_count: optional(count)
|
|
5542
5545
|
});
|
|
5543
5546
|
|
|
5544
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5547
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.633.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6b55a08b64e6f66e5ab3a99b7d6b1e87/node_modules/@wirecat/cli-core/dist/entities/chat-admin.js
|
|
5545
5548
|
var operated = { operation_id: id, chat_id: id };
|
|
5546
5549
|
var group = strictObject({
|
|
5547
5550
|
...omit(chat, ["ref", "provider", "account", "invite_link", "members"]).entries,
|
|
@@ -5621,7 +5624,7 @@ var chatFolderOrder = strictObject({
|
|
|
5621
5624
|
folders: array(strictObject({ id, title: text }))
|
|
5622
5625
|
});
|
|
5623
5626
|
|
|
5624
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5627
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.633.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6b55a08b64e6f66e5ab3a99b7d6b1e87/node_modules/@wirecat/cli-core/dist/entities/chat-change.js
|
|
5625
5628
|
var operated2 = { operation_id: id, chat_id: id };
|
|
5626
5629
|
var chatRemoval = strictObject(operated2);
|
|
5627
5630
|
var chatMuting = strictObject({
|
|
@@ -5632,7 +5635,7 @@ var chatArchive = strictObject({ ...operated2, archived: boolean() });
|
|
|
5632
5635
|
var chatPin = strictObject({ ...operated2, pinned: boolean() });
|
|
5633
5636
|
var chatUnread = strictObject({ ...operated2, unread: literal(true) });
|
|
5634
5637
|
|
|
5635
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5638
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.633.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6b55a08b64e6f66e5ab3a99b7d6b1e87/node_modules/@wirecat/cli-core/dist/entities/chat-event.js
|
|
5636
5639
|
var who = strictObject({ id: nullable(id), name: nullable(text), username: optional(nullable(text)) });
|
|
5637
5640
|
var chatEvent = strictObject({
|
|
5638
5641
|
chat_id: id,
|
|
@@ -5649,7 +5652,7 @@ var chatEvent = strictObject({
|
|
|
5649
5652
|
before: optional(strictObject({ name: nullable(text), username: nullable(text) }))
|
|
5650
5653
|
});
|
|
5651
5654
|
|
|
5652
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5655
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.633.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6b55a08b64e6f66e5ab3a99b7d6b1e87/node_modules/@wirecat/cli-core/dist/entities/chat-metadata.js
|
|
5653
5656
|
var chatMetadata = strictObject({
|
|
5654
5657
|
chat_id: id,
|
|
5655
5658
|
title: nullable(text),
|
|
@@ -5664,7 +5667,7 @@ var chatMetadataRefresh = strictObject({
|
|
|
5664
5667
|
has_more: boolean()
|
|
5665
5668
|
});
|
|
5666
5669
|
|
|
5667
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5670
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.633.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6b55a08b64e6f66e5ab3a99b7d6b1e87/node_modules/@wirecat/cli-core/dist/entities/chat-moderation.js
|
|
5668
5671
|
var action = picklist(["report", "delete", "remove"]);
|
|
5669
5672
|
var level = picklist(["deny", "readonly", "ask", "allow"]);
|
|
5670
5673
|
var chatRules = strictObject({
|
|
@@ -5701,7 +5704,7 @@ var chatModeration = strictObject({
|
|
|
5701
5704
|
}))
|
|
5702
5705
|
});
|
|
5703
5706
|
|
|
5704
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5707
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.633.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6b55a08b64e6f66e5ab3a99b7d6b1e87/node_modules/@wirecat/cli-core/dist/entities/chat-stats.js
|
|
5705
5708
|
var optionalCount = optional(count);
|
|
5706
5709
|
var minutes = nullable(number());
|
|
5707
5710
|
var chatStats = strictObject({
|
|
@@ -5754,6 +5757,8 @@ var chatStats = strictObject({
|
|
|
5754
5757
|
});
|
|
5755
5758
|
var ms = nullable(pipe(number(), minValue(0)));
|
|
5756
5759
|
var taskStats = strictObject({
|
|
5760
|
+
/** Every account counted, `provider:account`, when the answer reads several (memo without `--source`). */
|
|
5761
|
+
accounts: optional(array(text)),
|
|
5757
5762
|
/** Open tasks across every row. */
|
|
5758
5763
|
open: count,
|
|
5759
5764
|
created: count,
|
|
@@ -5775,7 +5780,7 @@ var taskStats = strictObject({
|
|
|
5775
5780
|
}))
|
|
5776
5781
|
});
|
|
5777
5782
|
|
|
5778
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5783
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.633.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6b55a08b64e6f66e5ab3a99b7d6b1e87/node_modules/@wirecat/cli-core/dist/entities/chat-tracking.js
|
|
5779
5784
|
var memberCount = strictObject({
|
|
5780
5785
|
day: pipe(text, isoDate()),
|
|
5781
5786
|
participants: nullable(count),
|
|
@@ -5798,7 +5803,7 @@ var chatTracking = strictObject({
|
|
|
5798
5803
|
tracked: boolean()
|
|
5799
5804
|
});
|
|
5800
5805
|
|
|
5801
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5806
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.633.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6b55a08b64e6f66e5ab3a99b7d6b1e87/node_modules/@wirecat/cli-core/dist/entities/contact-read.js
|
|
5802
5807
|
var contactLookup = strictObject({ id, name: nullable(text), username: nullable(text) });
|
|
5803
5808
|
var contactSync = strictObject({ added: count, changed: count, known: count });
|
|
5804
5809
|
var profileFields = {
|
|
@@ -5836,7 +5841,7 @@ var profileFields = {
|
|
|
5836
5841
|
}))
|
|
5837
5842
|
};
|
|
5838
5843
|
|
|
5839
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5844
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.633.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6b55a08b64e6f66e5ab3a99b7d6b1e87/node_modules/@wirecat/cli-core/dist/entities/contact.js
|
|
5840
5845
|
var contact = strictObject({
|
|
5841
5846
|
ref: reference,
|
|
5842
5847
|
id,
|
|
@@ -5867,7 +5872,7 @@ var contact = strictObject({
|
|
|
5867
5872
|
notes: optional(array(strictObject({ id, text, revision: count, created_at: time, updated_at: time })))
|
|
5868
5873
|
});
|
|
5869
5874
|
|
|
5870
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5875
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.633.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6b55a08b64e6f66e5ab3a99b7d6b1e87/node_modules/@wirecat/cli-core/dist/entities/contact-note.js
|
|
5871
5876
|
var contactNote = strictObject({
|
|
5872
5877
|
id,
|
|
5873
5878
|
/** The contact, as a `contact:` reference. */
|
|
@@ -5879,13 +5884,13 @@ var contactNote = strictObject({
|
|
|
5879
5884
|
updated_at: time
|
|
5880
5885
|
});
|
|
5881
5886
|
|
|
5882
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5887
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.633.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6b55a08b64e6f66e5ab3a99b7d6b1e87/node_modules/@wirecat/cli-core/dist/entities/contact-write.js
|
|
5883
5888
|
var addressBookPerson = strictObject({ id, name: nullable(text), username: nullable(text) });
|
|
5884
5889
|
var contactUpdate = strictObject({ operation_id: id, person: addressBookPerson });
|
|
5885
5890
|
var contactStateChange = strictObject({ operation_id: id, person_id: id });
|
|
5886
5891
|
var contactImport = strictObject({ operation_id: id, sent: count, recognised: array(addressBookPerson) });
|
|
5887
5892
|
|
|
5888
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5893
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.633.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6b55a08b64e6f66e5ab3a99b7d6b1e87/node_modules/@wirecat/cli-core/dist/entities/conversation.js
|
|
5889
5894
|
var conversation = strictObject({
|
|
5890
5895
|
id,
|
|
5891
5896
|
chat: reference,
|
|
@@ -5900,7 +5905,7 @@ var conversation = strictObject({
|
|
|
5900
5905
|
rules_version: count
|
|
5901
5906
|
});
|
|
5902
5907
|
|
|
5903
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5908
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.633.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6b55a08b64e6f66e5ab3a99b7d6b1e87/node_modules/@wirecat/cli-core/dist/entities/conversation-preparation.js
|
|
5904
5909
|
var conversationBuild = strictObject({
|
|
5905
5910
|
chat: id,
|
|
5906
5911
|
messages: count,
|
|
@@ -5925,7 +5930,7 @@ var catchUpPreparation = strictObject({
|
|
|
5925
5930
|
prepared: optional(conversationPreparation)
|
|
5926
5931
|
});
|
|
5927
5932
|
|
|
5928
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5933
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.633.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6b55a08b64e6f66e5ab3a99b7d6b1e87/node_modules/@wirecat/cli-core/dist/entities/conversation-results.js
|
|
5929
5934
|
var conversationDetails = union([
|
|
5930
5935
|
strictObject({ ...conversation.entries, messages: array(message) }),
|
|
5931
5936
|
message
|
|
@@ -6015,7 +6020,7 @@ var conversationHit = strictObject({
|
|
|
6015
6020
|
stale: boolean()
|
|
6016
6021
|
});
|
|
6017
6022
|
|
|
6018
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6023
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.633.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6b55a08b64e6f66e5ab3a99b7d6b1e87/node_modules/@wirecat/cli-core/dist/entities/counters.js
|
|
6019
6024
|
var counters = strictObject({
|
|
6020
6025
|
cutoff: time,
|
|
6021
6026
|
max_age_ms: milliseconds,
|
|
@@ -6045,7 +6050,7 @@ var counterRefresh = strictObject({
|
|
|
6045
6050
|
complete: optional(boolean())
|
|
6046
6051
|
});
|
|
6047
6052
|
|
|
6048
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6053
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.633.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6b55a08b64e6f66e5ab3a99b7d6b1e87/node_modules/@wirecat/cli-core/dist/entities/document.js
|
|
6049
6054
|
var document = strictObject({
|
|
6050
6055
|
ref: reference,
|
|
6051
6056
|
id,
|
|
@@ -6060,7 +6065,7 @@ var document = strictObject({
|
|
|
6060
6065
|
owners: optional(array(text))
|
|
6061
6066
|
});
|
|
6062
6067
|
|
|
6063
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6068
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.633.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6b55a08b64e6f66e5ab3a99b7d6b1e87/node_modules/@wirecat/cli-core/dist/entities/document-link.js
|
|
6064
6069
|
var documentLink = strictObject({
|
|
6065
6070
|
ref: reference,
|
|
6066
6071
|
url: text,
|
|
@@ -6071,7 +6076,7 @@ var documentLink = strictObject({
|
|
|
6071
6076
|
sender: strictObject({ id: nullable(id), name: nullable(text) })
|
|
6072
6077
|
});
|
|
6073
6078
|
|
|
6074
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6079
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.633.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6b55a08b64e6f66e5ab3a99b7d6b1e87/node_modules/@wirecat/cli-core/dist/entities/evidence.js
|
|
6075
6080
|
var evidenceMessage = pick(message, ["ref", "chat_title", "timestamp", "sender_name", "text"]);
|
|
6076
6081
|
var contribution = strictObject({
|
|
6077
6082
|
message: evidenceMessage,
|
|
@@ -6101,7 +6106,7 @@ var retentionStay = strictObject({
|
|
|
6101
6106
|
});
|
|
6102
6107
|
var evidence = union([contribution, retentionStay]);
|
|
6103
6108
|
|
|
6104
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6109
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.633.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6b55a08b64e6f66e5ab3a99b7d6b1e87/node_modules/@wirecat/cli-core/dist/entities/fact.js
|
|
6105
6110
|
var fact = strictObject({
|
|
6106
6111
|
ref: reference,
|
|
6107
6112
|
id,
|
|
@@ -6132,7 +6137,7 @@ var fact = strictObject({
|
|
|
6132
6137
|
updated_at: time
|
|
6133
6138
|
});
|
|
6134
6139
|
|
|
6135
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6140
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.633.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6b55a08b64e6f66e5ab3a99b7d6b1e87/node_modules/@wirecat/cli-core/dist/entities/hit.js
|
|
6136
6141
|
var hit = strictObject({
|
|
6137
6142
|
kind: picklist(["message", "mail", "note", "document", "event", "meeting", "deal", "lead", ...BUSINESS_KINDS]),
|
|
6138
6143
|
ref: reference,
|
|
@@ -6178,7 +6183,7 @@ var hit = strictObject({
|
|
|
6178
6183
|
untrusted
|
|
6179
6184
|
});
|
|
6180
6185
|
|
|
6181
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6186
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.633.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6b55a08b64e6f66e5ab3a99b7d6b1e87/node_modules/@wirecat/cli-core/dist/entities/identity.js
|
|
6182
6187
|
var identity = strictObject({
|
|
6183
6188
|
ref: reference,
|
|
6184
6189
|
provider: text,
|
|
@@ -6187,11 +6192,14 @@ var identity = strictObject({
|
|
|
6187
6192
|
id,
|
|
6188
6193
|
name: nullable(text),
|
|
6189
6194
|
username: nullable(text),
|
|
6195
|
+
/** The number or address the source gave for them, when it gave one. */
|
|
6196
|
+
phone: optional(nullable(text)),
|
|
6197
|
+
email: optional(nullable(text)),
|
|
6190
6198
|
/** The `person:` they are linked to, when one is. */
|
|
6191
6199
|
person: optional(nullable(reference))
|
|
6192
6200
|
});
|
|
6193
6201
|
|
|
6194
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6202
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.633.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6b55a08b64e6f66e5ab3a99b7d6b1e87/node_modules/@wirecat/cli-core/dist/entities/image-embedding.js
|
|
6195
6203
|
var imageEmbedding = strictObject({
|
|
6196
6204
|
model: text,
|
|
6197
6205
|
embedded: count,
|
|
@@ -6200,13 +6208,13 @@ var imageEmbedding = strictObject({
|
|
|
6200
6208
|
more: boolean()
|
|
6201
6209
|
});
|
|
6202
6210
|
|
|
6203
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6211
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.633.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6b55a08b64e6f66e5ab3a99b7d6b1e87/node_modules/@wirecat/cli-core/dist/services/backfill-jobs.js
|
|
6204
6212
|
import { spawn } from "node:child_process";
|
|
6205
6213
|
import { randomBytes } from "node:crypto";
|
|
6206
6214
|
import { closeSync, existsSync, mkdirSync, openSync, readdirSync, readFileSync, realpathSync, rmSync } from "node:fs";
|
|
6207
6215
|
import { dirname, join } from "node:path";
|
|
6208
6216
|
|
|
6209
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6217
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.633.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6b55a08b64e6f66e5ab3a99b7d6b1e87/node_modules/@wirecat/cli-core/dist/background/checkpoints.js
|
|
6210
6218
|
var progressOf = /* @__PURE__ */ __name((input) => {
|
|
6211
6219
|
const total = input.total ?? null;
|
|
6212
6220
|
const updated = input.updatedAt ?? null;
|
|
@@ -6237,7 +6245,7 @@ var progressLine = /* @__PURE__ */ __name((progress2) => {
|
|
|
6237
6245
|
return `${progress2.job} ${progress2.profile}: ${of} \u2014 ${progress2.state}${when}`;
|
|
6238
6246
|
}, "progressLine");
|
|
6239
6247
|
|
|
6240
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6248
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.633.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6b55a08b64e6f66e5ab3a99b7d6b1e87/node_modules/@wirecat/cli-core/dist/runs/record-log.js
|
|
6241
6249
|
var recordLogFor = /* @__PURE__ */ __name((to, app, { traceId, command } = {}) => {
|
|
6242
6250
|
const run = currentRun();
|
|
6243
6251
|
const trace = traceId ?? run.traceId;
|
|
@@ -6251,7 +6259,7 @@ var recordLogFor = /* @__PURE__ */ __name((to, app, { traceId, command } = {}) =
|
|
|
6251
6259
|
}));
|
|
6252
6260
|
}, "recordLogFor");
|
|
6253
6261
|
|
|
6254
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6262
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.633.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6b55a08b64e6f66e5ab3a99b7d6b1e87/node_modules/@wirecat/cli-core/dist/services/backfill-jobs.js
|
|
6255
6263
|
var JOB_STATES = ["running", "done", "partial", "failed", "cancelled", "died"];
|
|
6256
6264
|
var spawnDetached = /* @__PURE__ */ __name((argv, env, log) => {
|
|
6257
6265
|
const out = openSync(log, "a", 384);
|
|
@@ -6406,7 +6414,7 @@ var startArchiveJob = /* @__PURE__ */ __name((app, env, profile, input, spawnJob
|
|
|
6406
6414
|
return { job: id6, pid, chat: input.chat, log };
|
|
6407
6415
|
}, "startArchiveJob");
|
|
6408
6416
|
|
|
6409
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6417
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.633.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6b55a08b64e6f66e5ab3a99b7d6b1e87/node_modules/@wirecat/cli-core/dist/entities/job.js
|
|
6410
6418
|
var problem = strictObject({ code: text, message: text });
|
|
6411
6419
|
var job = strictObject({
|
|
6412
6420
|
id,
|
|
@@ -6429,7 +6437,7 @@ var job = strictObject({
|
|
|
6429
6437
|
error: optional(problem)
|
|
6430
6438
|
});
|
|
6431
6439
|
|
|
6432
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6440
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.633.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6b55a08b64e6f66e5ab3a99b7d6b1e87/node_modules/@wirecat/cli-core/dist/entities/join-request.js
|
|
6433
6441
|
var joinRequest = strictObject({
|
|
6434
6442
|
person_id: id,
|
|
6435
6443
|
name: nullable(text),
|
|
@@ -6440,7 +6448,7 @@ var joinRequest = strictObject({
|
|
|
6440
6448
|
about: optional(text)
|
|
6441
6449
|
});
|
|
6442
6450
|
|
|
6443
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6451
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.633.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6b55a08b64e6f66e5ab3a99b7d6b1e87/node_modules/@wirecat/cli-core/dist/entities/list-results.js
|
|
6444
6452
|
var botProfile = strictObject({
|
|
6445
6453
|
name: text,
|
|
6446
6454
|
token: text,
|
|
@@ -6537,7 +6545,7 @@ var stickerInventory = strictObject({
|
|
|
6537
6545
|
url: optional(nullable(text))
|
|
6538
6546
|
});
|
|
6539
6547
|
|
|
6540
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6548
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.633.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6b55a08b64e6f66e5ab3a99b7d6b1e87/node_modules/@wirecat/cli-core/dist/entities/poll-vote.js
|
|
6541
6549
|
var pollVote = strictObject({
|
|
6542
6550
|
person_id: id,
|
|
6543
6551
|
name: nullable(text),
|
|
@@ -6547,7 +6555,7 @@ var pollVote = strictObject({
|
|
|
6547
6555
|
voted_at: time
|
|
6548
6556
|
});
|
|
6549
6557
|
|
|
6550
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6558
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.633.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6b55a08b64e6f66e5ab3a99b7d6b1e87/node_modules/@wirecat/cli-core/dist/entities/listener.js
|
|
6551
6559
|
var reactions = unwrap(unwrap(message.entries.reactions));
|
|
6552
6560
|
var observation = strictObject({
|
|
6553
6561
|
value: pipe(number(), minValue(0)),
|
|
@@ -6589,7 +6597,7 @@ var serveSummary = strictObject({
|
|
|
6589
6597
|
tasks: optional(strictObject({ added: count, closed: count, review: count }))
|
|
6590
6598
|
});
|
|
6591
6599
|
|
|
6592
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6600
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.633.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6b55a08b64e6f66e5ab3a99b7d6b1e87/node_modules/@wirecat/cli-core/dist/entities/mail-counts.js
|
|
6593
6601
|
var mailCounts = strictObject({
|
|
6594
6602
|
by: picklist(["day", "week", "sender"]),
|
|
6595
6603
|
received: count,
|
|
@@ -6604,7 +6612,7 @@ var mailCounts = strictObject({
|
|
|
6604
6612
|
}))
|
|
6605
6613
|
});
|
|
6606
6614
|
|
|
6607
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6615
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.633.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6b55a08b64e6f66e5ab3a99b7d6b1e87/node_modules/@wirecat/cli-core/dist/entities/mail-findings.js
|
|
6608
6616
|
var evidence2 = strictObject({ reference, fingerprint: text });
|
|
6609
6617
|
var base = { id, evidence: array(evidence2) };
|
|
6610
6618
|
var finding = variant("kind", [
|
|
@@ -6748,7 +6756,7 @@ var mailFindings = strictObject({
|
|
|
6748
6756
|
receipt: nullable(strictObject({ preview_fingerprint: text, accepted: array(id), items: array(outcome2) }))
|
|
6749
6757
|
});
|
|
6750
6758
|
|
|
6751
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6759
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.633.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6b55a08b64e6f66e5ab3a99b7d6b1e87/node_modules/@wirecat/cli-core/dist/entities/media-archive.js
|
|
6752
6760
|
var mediaArchive = strictObject({
|
|
6753
6761
|
directory: text,
|
|
6754
6762
|
chats: count,
|
|
@@ -6780,7 +6788,7 @@ var mediaArchiveTimer = union([
|
|
|
6780
6788
|
strictObject({ ...timer, action: picklist(["install", "start", "stop", "uninstall"]) })
|
|
6781
6789
|
]);
|
|
6782
6790
|
|
|
6783
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6791
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.633.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6b55a08b64e6f66e5ab3a99b7d6b1e87/node_modules/@wirecat/cli-core/dist/entities/meeting-preparation-parts.js
|
|
6784
6792
|
var preparationId = pipe(string(), minLength(1));
|
|
6785
6793
|
var preparationCount = pipe(number(), integer(), minValue(0));
|
|
6786
6794
|
var preparationTime = nullable(isoTime);
|
|
@@ -6872,7 +6880,7 @@ var preparationMeeting = strictObject({
|
|
|
6872
6880
|
updated_at: isoTime
|
|
6873
6881
|
});
|
|
6874
6882
|
|
|
6875
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6883
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.633.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6b55a08b64e6f66e5ab3a99b7d6b1e87/node_modules/@wirecat/cli-core/dist/entities/meeting-evidence.js
|
|
6876
6884
|
var meetingEvidence = preparationEvidence;
|
|
6877
6885
|
var meetingPersonContext = strictObject({
|
|
6878
6886
|
person: strictObject({ uid: string(), name: nullable(string()) }),
|
|
@@ -6894,7 +6902,7 @@ var meetingPersonContext = strictObject({
|
|
|
6894
6902
|
})
|
|
6895
6903
|
});
|
|
6896
6904
|
|
|
6897
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6905
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.633.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6b55a08b64e6f66e5ab3a99b7d6b1e87/node_modules/@wirecat/cli-core/dist/entities/meeting-findings.js
|
|
6898
6906
|
var evidence3 = strictObject({ reference, fingerprint: text });
|
|
6899
6907
|
var base2 = { id, project: reference, evidence: array(evidence3) };
|
|
6900
6908
|
var finding2 = variant("kind", [
|
|
@@ -6932,7 +6940,7 @@ var meetingFindings = strictObject({
|
|
|
6932
6940
|
receipt: nullable(strictObject({ preview_fingerprint: text, accepted: array(id), items: array(outcome3) }))
|
|
6933
6941
|
});
|
|
6934
6942
|
|
|
6935
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6943
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.633.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6b55a08b64e6f66e5ab3a99b7d6b1e87/node_modules/@wirecat/cli-core/dist/entities/meeting-communications.js
|
|
6936
6944
|
var communicationCoverage = strictObject({
|
|
6937
6945
|
read_usage: strictObject({ reads: preparationCount, charged_bytes: preparationCount, reserved_bytes: preparationCount, remaining_bytes: preparationCount }),
|
|
6938
6946
|
query: string(),
|
|
@@ -6977,7 +6985,7 @@ var preparationCommunications = strictObject({
|
|
|
6977
6985
|
}))
|
|
6978
6986
|
});
|
|
6979
6987
|
|
|
6980
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6988
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.633.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6b55a08b64e6f66e5ab3a99b7d6b1e87/node_modules/@wirecat/cli-core/dist/entities/meeting-preparation.js
|
|
6981
6989
|
var meetingPreparation = strictObject({
|
|
6982
6990
|
communications: optional(preparationCommunications),
|
|
6983
6991
|
schema_version: literal(1),
|
|
@@ -7090,7 +7098,7 @@ var meetingPreparation = strictObject({
|
|
|
7090
7098
|
})
|
|
7091
7099
|
});
|
|
7092
7100
|
|
|
7093
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7101
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.633.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6b55a08b64e6f66e5ab3a99b7d6b1e87/node_modules/@wirecat/cli-core/dist/entities/meeting-project-candidates.js
|
|
7094
7102
|
var count3 = pipe(number(), integer(), minValue(0));
|
|
7095
7103
|
var id3 = pipe(string(), minLength(1));
|
|
7096
7104
|
var text3 = string();
|
|
@@ -7154,7 +7162,7 @@ var meetingProjectCandidates = strictObject({
|
|
|
7154
7162
|
})
|
|
7155
7163
|
});
|
|
7156
7164
|
|
|
7157
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7165
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.633.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6b55a08b64e6f66e5ab3a99b7d6b1e87/node_modules/@wirecat/cli-core/dist/entities/meeting-series-inventory.js
|
|
7158
7166
|
var count4 = pipe(number(), integer(), minValue(0));
|
|
7159
7167
|
var id4 = pipe(string(), minLength(1), maxLength(1e3));
|
|
7160
7168
|
var meetingSeriesInventory = strictObject({
|
|
@@ -7184,7 +7192,7 @@ var meetingSeriesInventory = strictObject({
|
|
|
7184
7192
|
})
|
|
7185
7193
|
});
|
|
7186
7194
|
|
|
7187
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7195
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.633.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6b55a08b64e6f66e5ab3a99b7d6b1e87/node_modules/@wirecat/cli-core/dist/entities/meeting-task-proposal.js
|
|
7188
7196
|
var text4 = string();
|
|
7189
7197
|
var id5 = pipe(number(), integer(), minValue(1));
|
|
7190
7198
|
var revision = picklist(["current", "superseded"]);
|
|
@@ -7201,7 +7209,7 @@ var meetingTaskProposal = strictObject({
|
|
|
7201
7209
|
persistence: literal("proposal-only")
|
|
7202
7210
|
});
|
|
7203
7211
|
|
|
7204
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7212
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.633.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6b55a08b64e6f66e5ab3a99b7d6b1e87/node_modules/@wirecat/cli-core/dist/entities/memory.js
|
|
7205
7213
|
var memory = strictObject({
|
|
7206
7214
|
ref: reference,
|
|
7207
7215
|
id,
|
|
@@ -7229,7 +7237,7 @@ var memory = strictObject({
|
|
|
7229
7237
|
updated_at: time
|
|
7230
7238
|
});
|
|
7231
7239
|
|
|
7232
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7240
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.633.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6b55a08b64e6f66e5ab3a99b7d6b1e87/node_modules/@wirecat/cli-core/dist/entities/mention.js
|
|
7233
7241
|
var kind = picklist(["phone", "email", "url", "document", "person-name", "place"]);
|
|
7234
7242
|
var status = picklist(["found", "linked", "proposed", "dismissed"]);
|
|
7235
7243
|
var mention = strictObject({
|
|
@@ -7273,13 +7281,13 @@ var mentionRebuild = strictObject({
|
|
|
7273
7281
|
mentions: count
|
|
7274
7282
|
});
|
|
7275
7283
|
|
|
7276
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7284
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.633.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6b55a08b64e6f66e5ab3a99b7d6b1e87/node_modules/@wirecat/cli-core/dist/entities/message-change.js
|
|
7277
7285
|
var operated3 = { operation_id: id, chat_id: id };
|
|
7278
7286
|
var messagePin = strictObject({ ...operated3, message_id: id, pinned: boolean() });
|
|
7279
7287
|
var messageStar = strictObject({ ...operated3, message_id: id, starred: boolean() });
|
|
7280
7288
|
var messageDeletion = strictObject({ ...operated3, deleted: array(id), for_everyone: boolean() });
|
|
7281
7289
|
|
|
7282
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7290
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.633.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6b55a08b64e6f66e5ab3a99b7d6b1e87/node_modules/@wirecat/cli-core/dist/entities/message-read.js
|
|
7283
7291
|
var messageTranscript = strictObject({
|
|
7284
7292
|
message_id: id,
|
|
7285
7293
|
text,
|
|
@@ -7337,7 +7345,7 @@ var evidencePacket = strictObject({
|
|
|
7337
7345
|
}))
|
|
7338
7346
|
});
|
|
7339
7347
|
|
|
7340
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7348
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.633.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6b55a08b64e6f66e5ab3a99b7d6b1e87/node_modules/@wirecat/cli-core/dist/entities/message-context.js
|
|
7341
7349
|
var messageThread = strictObject({
|
|
7342
7350
|
ref: reference,
|
|
7343
7351
|
chat: id,
|
|
@@ -7354,7 +7362,7 @@ var messageThread = strictObject({
|
|
|
7354
7362
|
});
|
|
7355
7363
|
var messageContext = union([message, messageThread]);
|
|
7356
7364
|
|
|
7357
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7365
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.633.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6b55a08b64e6f66e5ab3a99b7d6b1e87/node_modules/@wirecat/cli-core/dist/entities/message-counts.js
|
|
7358
7366
|
var messageCounts = strictObject({
|
|
7359
7367
|
by: picklist(["chat", "sender", "day", "hour"]),
|
|
7360
7368
|
total: count,
|
|
@@ -7367,7 +7375,7 @@ var messageCounts = strictObject({
|
|
|
7367
7375
|
}))
|
|
7368
7376
|
});
|
|
7369
7377
|
|
|
7370
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7378
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.633.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6b55a08b64e6f66e5ab3a99b7d6b1e87/node_modules/@wirecat/cli-core/dist/entities/message-link.js
|
|
7371
7379
|
var messageLink = strictObject({
|
|
7372
7380
|
ref: reference,
|
|
7373
7381
|
url: nullable(text),
|
|
@@ -7384,7 +7392,7 @@ var messageLink = strictObject({
|
|
|
7384
7392
|
})))
|
|
7385
7393
|
});
|
|
7386
7394
|
|
|
7387
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7395
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.633.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6b55a08b64e6f66e5ab3a99b7d6b1e87/node_modules/@wirecat/cli-core/dist/entities/message-transfer.js
|
|
7388
7396
|
var savedMessageFile = strictObject({
|
|
7389
7397
|
kind: text,
|
|
7390
7398
|
path: text,
|
|
@@ -7471,7 +7479,7 @@ var messageSyncAll = strictObject({
|
|
|
7471
7479
|
var messageSyncStarted = strictObject({ job: id, pid: count, chat: text, log: text });
|
|
7472
7480
|
var messageSync = union([messageSyncEstimate, messageSyncChat, messageSyncAll, messageSyncStarted]);
|
|
7473
7481
|
|
|
7474
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7482
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.633.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6b55a08b64e6f66e5ab3a99b7d6b1e87/node_modules/@wirecat/cli-core/dist/entities/message-write.js
|
|
7475
7483
|
var messageWrite = strictObject({
|
|
7476
7484
|
operation_id: id,
|
|
7477
7485
|
message,
|
|
@@ -7486,7 +7494,7 @@ var draftWrite = strictObject({
|
|
|
7486
7494
|
});
|
|
7487
7495
|
var messageSend = union([messageWrite, draftWrite]);
|
|
7488
7496
|
|
|
7489
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7497
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.633.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6b55a08b64e6f66e5ab3a99b7d6b1e87/node_modules/@wirecat/cli-core/dist/entities/model.js
|
|
7490
7498
|
var model = strictObject({
|
|
7491
7499
|
id,
|
|
7492
7500
|
kind: picklist(["audio", "text", "image", "reranker"]),
|
|
@@ -7521,7 +7529,7 @@ var chosenModel = strictObject({
|
|
|
7521
7529
|
estimate_seconds: nullable(count)
|
|
7522
7530
|
});
|
|
7523
7531
|
|
|
7524
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7532
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.633.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6b55a08b64e6f66e5ab3a99b7d6b1e87/node_modules/@wirecat/cli-core/dist/entities/model-key.js
|
|
7525
7533
|
var source = picklist(["environment", "keyring", "file"]);
|
|
7526
7534
|
var modelKey = strictObject({
|
|
7527
7535
|
provider: text,
|
|
@@ -7531,7 +7539,7 @@ var modelKey = strictObject({
|
|
|
7531
7539
|
var storedModelKey = strictObject({ ...omit(modelKey, ["removed"]).entries, stored: source });
|
|
7532
7540
|
var removedModelKey = strictObject({ ...omit(modelKey, ["stored"]).entries, removed: array(source) });
|
|
7533
7541
|
|
|
7534
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7542
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.633.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6b55a08b64e6f66e5ab3a99b7d6b1e87/node_modules/@wirecat/cli-core/dist/entities/note.js
|
|
7535
7543
|
var link = {
|
|
7536
7544
|
target_text: nullable(text),
|
|
7537
7545
|
kind: text,
|
|
@@ -7572,7 +7580,7 @@ var note = strictObject({
|
|
|
7572
7580
|
backlinks: optional(array(strictObject({ from: reference, ...link })))
|
|
7573
7581
|
});
|
|
7574
7582
|
|
|
7575
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7583
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.633.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6b55a08b64e6f66e5ab3a99b7d6b1e87/node_modules/@wirecat/cli-core/dist/entities/official-stats.js
|
|
7576
7584
|
var versus = strictObject({ current: number(), previous: number() });
|
|
7577
7585
|
var person = { person_ref: reference, name: nullable(text) };
|
|
7578
7586
|
var graph = strictObject({
|
|
@@ -7606,14 +7614,14 @@ var officialStats = strictObject({
|
|
|
7606
7614
|
graphs: record(string(), union([graph, strictObject({ error: text })]))
|
|
7607
7615
|
});
|
|
7608
7616
|
|
|
7609
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7617
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.633.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6b55a08b64e6f66e5ab3a99b7d6b1e87/node_modules/@wirecat/cli-core/dist/entities/person.js
|
|
7610
7618
|
var person2 = strictObject({
|
|
7611
7619
|
ref: reference,
|
|
7612
7620
|
name: nullable(text),
|
|
7613
7621
|
identities: optional(array(identity))
|
|
7614
7622
|
});
|
|
7615
7623
|
|
|
7616
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7624
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.633.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6b55a08b64e6f66e5ab3a99b7d6b1e87/node_modules/@wirecat/cli-core/dist/entities/poll.js
|
|
7617
7625
|
var poll = strictObject({
|
|
7618
7626
|
chat_id: id,
|
|
7619
7627
|
message_id: id,
|
|
@@ -7629,11 +7637,11 @@ var poll = strictObject({
|
|
|
7629
7637
|
});
|
|
7630
7638
|
var pollChange = strictObject({ operation_id: id, poll });
|
|
7631
7639
|
|
|
7632
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7640
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.633.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6b55a08b64e6f66e5ab3a99b7d6b1e87/node_modules/@wirecat/cli-core/dist/entities/private-contact.js
|
|
7633
7641
|
var contactAlias = strictObject({ person_id: id, alias: nullable(text) });
|
|
7634
7642
|
var contactNoteRemoval = strictObject({ id, person_id: id, removed: boolean() });
|
|
7635
7643
|
|
|
7636
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7644
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.633.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6b55a08b64e6f66e5ab3a99b7d6b1e87/node_modules/@wirecat/cli-core/dist/entities/ranking.js
|
|
7637
7645
|
var figures = record(string(), number());
|
|
7638
7646
|
var freshness = picklist(["fresh", "stale", "partial", "unknown"]);
|
|
7639
7647
|
var rankingRow = strictObject({
|
|
@@ -7680,7 +7688,7 @@ var ranking = strictObject({
|
|
|
7680
7688
|
rows: array(rankingRow)
|
|
7681
7689
|
});
|
|
7682
7690
|
|
|
7683
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7691
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.633.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6b55a08b64e6f66e5ab3a99b7d6b1e87/node_modules/@wirecat/cli-core/dist/entities/reaction.js
|
|
7684
7692
|
var reaction = strictObject({
|
|
7685
7693
|
person: strictObject({ id, name: nullable(text), username: nullable(text) }),
|
|
7686
7694
|
/** The emoji, or `custom:<id>` for a custom one. */
|
|
@@ -7688,7 +7696,7 @@ var reaction = strictObject({
|
|
|
7688
7696
|
reacted_at: time
|
|
7689
7697
|
});
|
|
7690
7698
|
|
|
7691
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7699
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.633.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6b55a08b64e6f66e5ab3a99b7d6b1e87/node_modules/@wirecat/cli-core/dist/entities/reaction-change.js
|
|
7692
7700
|
var reactionChange = strictObject({
|
|
7693
7701
|
operation_id: id,
|
|
7694
7702
|
chat_id: id,
|
|
@@ -7696,7 +7704,7 @@ var reactionChange = strictObject({
|
|
|
7696
7704
|
reaction: nullable(text)
|
|
7697
7705
|
});
|
|
7698
7706
|
|
|
7699
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7707
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.633.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6b55a08b64e6f66e5ab3a99b7d6b1e87/node_modules/@wirecat/cli-core/dist/entities/recipient.js
|
|
7700
7708
|
var recipient = strictObject({ id, title: nullable(text), partner_id: optional(id), added_at: time });
|
|
7701
7709
|
var recipientAdded = strictObject({ id, title: nullable(text), added: boolean() });
|
|
7702
7710
|
var recipientRemoved = strictObject({ id, title: nullable(text), removed: boolean() });
|
|
@@ -7707,7 +7715,7 @@ var recipientChange = strictObject({
|
|
|
7707
7715
|
...partial(recipientOff).entries
|
|
7708
7716
|
});
|
|
7709
7717
|
|
|
7710
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7718
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.633.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6b55a08b64e6f66e5ab3a99b7d6b1e87/node_modules/@wirecat/cli-core/dist/entities/recorded-run.js
|
|
7711
7719
|
var events = array(record(string(), unknown()));
|
|
7712
7720
|
var recordedRun = strictObject({
|
|
7713
7721
|
run_id: id,
|
|
@@ -7779,7 +7787,7 @@ var runHit = strictObject({
|
|
|
7779
7787
|
});
|
|
7780
7788
|
var runLocation = strictObject({ path: text });
|
|
7781
7789
|
|
|
7782
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7790
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.633.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6b55a08b64e6f66e5ab3a99b7d6b1e87/node_modules/@wirecat/cli-core/dist/entities/relationship.js
|
|
7783
7791
|
var relationship = strictObject({
|
|
7784
7792
|
id,
|
|
7785
7793
|
from: reference,
|
|
@@ -7806,7 +7814,7 @@ var relationship = strictObject({
|
|
|
7806
7814
|
created_at: time
|
|
7807
7815
|
});
|
|
7808
7816
|
|
|
7809
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7817
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.633.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6b55a08b64e6f66e5ab3a99b7d6b1e87/node_modules/@wirecat/cli-core/dist/entities/reply-stats.js
|
|
7810
7818
|
var milliseconds2 = nullable(pipe(number(), minValue(0)));
|
|
7811
7819
|
var figures2 = { replies: count, median_ms: milliseconds2, p90_ms: milliseconds2, mean_ms: milliseconds2 };
|
|
7812
7820
|
var responseTimes = strictObject({
|
|
@@ -7823,7 +7831,7 @@ var waitingChats = strictObject({
|
|
|
7823
7831
|
by_kind: strictObject({ private: count, group: count })
|
|
7824
7832
|
});
|
|
7825
7833
|
|
|
7826
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7834
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.633.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6b55a08b64e6f66e5ab3a99b7d6b1e87/node_modules/@wirecat/cli-core/dist/entities/retention.js
|
|
7827
7835
|
var retentionCohort = strictObject({
|
|
7828
7836
|
/** The first day of the joining day or week. */
|
|
7829
7837
|
cohort: text,
|
|
@@ -7871,7 +7879,7 @@ var retention = strictObject({
|
|
|
7871
7879
|
rows: array(retentionCohort)
|
|
7872
7880
|
});
|
|
7873
7881
|
|
|
7874
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7882
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.633.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6b55a08b64e6f66e5ab3a99b7d6b1e87/node_modules/@wirecat/cli-core/dist/entities/saved-search.js
|
|
7875
7883
|
var savedSearch = strictObject({
|
|
7876
7884
|
id,
|
|
7877
7885
|
/** `null` for a run in the history. */
|
|
@@ -7888,7 +7896,7 @@ var savedSearch = strictObject({
|
|
|
7888
7896
|
});
|
|
7889
7897
|
var searchHistoryClear = strictObject({ cleared: count });
|
|
7890
7898
|
|
|
7891
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7899
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.633.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6b55a08b64e6f66e5ab3a99b7d6b1e87/node_modules/@wirecat/cli-core/dist/entities/send-attempt.js
|
|
7892
7900
|
var sendAttempt = strictObject({
|
|
7893
7901
|
at: time,
|
|
7894
7902
|
profile: text,
|
|
@@ -7916,7 +7924,7 @@ var sendAttempt = strictObject({
|
|
|
7916
7924
|
error_code: optional(text)
|
|
7917
7925
|
});
|
|
7918
7926
|
|
|
7919
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7927
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.633.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6b55a08b64e6f66e5ab3a99b7d6b1e87/node_modules/@wirecat/cli-core/dist/entities/store-maintenance.js
|
|
7920
7928
|
var absent = strictObject({ path: text, exists: literal(false) });
|
|
7921
7929
|
var schema = strictObject({ version: count, min_compatible: count, writable: boolean(), speaks: count });
|
|
7922
7930
|
var infoSchema = strictObject({
|
|
@@ -8090,6 +8098,15 @@ var storeRestore = union([
|
|
|
8090
8098
|
foreign_key_violations: count
|
|
8091
8099
|
})
|
|
8092
8100
|
]);
|
|
8101
|
+
var importCounts = strictObject({ chats: count, messages: count });
|
|
8102
|
+
var storeImport = strictObject({
|
|
8103
|
+
store: text,
|
|
8104
|
+
profile: text,
|
|
8105
|
+
account: text,
|
|
8106
|
+
imported: boolean(),
|
|
8107
|
+
file: strictObject({ chats: count, people: count, messages: count }),
|
|
8108
|
+
added: optional(importCounts)
|
|
8109
|
+
});
|
|
8093
8110
|
var storeReset = union([
|
|
8094
8111
|
strictObject({ ...absent.entries, reset: literal(false) }),
|
|
8095
8112
|
strictObject({
|
|
@@ -8137,7 +8154,7 @@ var storeRepair = union([
|
|
|
8137
8154
|
]);
|
|
8138
8155
|
var storeCopyRemoval = strictObject({ path: text, deleted: strictObject({ name: text, rows: count }) });
|
|
8139
8156
|
|
|
8140
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8157
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.633.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6b55a08b64e6f66e5ab3a99b7d6b1e87/node_modules/@wirecat/cli-core/dist/entities/store-records.js
|
|
8141
8158
|
var range = strictObject({ from: number(), to: number() });
|
|
8142
8159
|
var storeChatStatus = strictObject({
|
|
8143
8160
|
chat_id: id,
|
|
@@ -8235,7 +8252,7 @@ var storeJobRetry = union([
|
|
|
8235
8252
|
]);
|
|
8236
8253
|
var storeJobClear = strictObject({ cleared: array(id) });
|
|
8237
8254
|
|
|
8238
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8255
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.633.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6b55a08b64e6f66e5ab3a99b7d6b1e87/node_modules/@wirecat/cli-core/dist/entities/store-table.js
|
|
8239
8256
|
var TABLE_KINDS = ["data", "search_index", "search_index_part", "internal"];
|
|
8240
8257
|
var storeTable = strictObject({
|
|
8241
8258
|
name: text,
|
|
@@ -8244,7 +8261,7 @@ var storeTable = strictObject({
|
|
|
8244
8261
|
bytes: optional(nullable(count))
|
|
8245
8262
|
});
|
|
8246
8263
|
|
|
8247
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8264
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.633.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6b55a08b64e6f66e5ab3a99b7d6b1e87/node_modules/@wirecat/cli-core/dist/entities/tag-change.js
|
|
8248
8265
|
var tagTarget = variant("type", [
|
|
8249
8266
|
strictObject({ type: literal("chat"), chat_id: id }),
|
|
8250
8267
|
strictObject({ type: literal("contact"), person_id: id }),
|
|
@@ -8275,7 +8292,7 @@ var automaticTags = strictObject({
|
|
|
8275
8292
|
dry_run: boolean()
|
|
8276
8293
|
});
|
|
8277
8294
|
|
|
8278
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8295
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.633.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6b55a08b64e6f66e5ab3a99b7d6b1e87/node_modules/@wirecat/cli-core/dist/entities/tagging.js
|
|
8279
8296
|
var tagging = strictObject({
|
|
8280
8297
|
tag: text,
|
|
8281
8298
|
type: picklist(TAG_TYPES),
|
|
@@ -8288,7 +8305,7 @@ var tagging = strictObject({
|
|
|
8288
8305
|
created_at: time
|
|
8289
8306
|
});
|
|
8290
8307
|
|
|
8291
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8308
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.633.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6b55a08b64e6f66e5ab3a99b7d6b1e87/node_modules/@wirecat/cli-core/dist/entities/task-pair.js
|
|
8292
8309
|
var side = strictObject({ ref: reference, key: text, title: text, status: text });
|
|
8293
8310
|
var taskPair = strictObject({
|
|
8294
8311
|
task: nullable(side),
|
|
@@ -8311,7 +8328,7 @@ var taskPair = strictObject({
|
|
|
8311
8328
|
created_at: time
|
|
8312
8329
|
});
|
|
8313
8330
|
|
|
8314
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8331
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.633.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6b55a08b64e6f66e5ab3a99b7d6b1e87/node_modules/@wirecat/cli-core/dist/entities/task-results.js
|
|
8315
8332
|
var nullableTime = nullable(time);
|
|
8316
8333
|
var link2 = strictObject({
|
|
8317
8334
|
id,
|
|
@@ -8485,7 +8502,7 @@ var taskReview = strictObject({
|
|
|
8485
8502
|
untrusted
|
|
8486
8503
|
});
|
|
8487
8504
|
|
|
8488
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8505
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.633.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6b55a08b64e6f66e5ab3a99b7d6b1e87/node_modules/@wirecat/cli-core/dist/entities/template.js
|
|
8489
8506
|
var template = strictObject({
|
|
8490
8507
|
key: text,
|
|
8491
8508
|
channel: picklist(["telegram", "email", "text"]),
|
|
@@ -8497,7 +8514,7 @@ var template = strictObject({
|
|
|
8497
8514
|
updated_by: nullable(text)
|
|
8498
8515
|
});
|
|
8499
8516
|
|
|
8500
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8517
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.633.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6b55a08b64e6f66e5ab3a99b7d6b1e87/node_modules/@wirecat/cli-core/dist/entities/topic.js
|
|
8501
8518
|
var topic = strictObject({
|
|
8502
8519
|
id,
|
|
8503
8520
|
title: text,
|
|
@@ -8511,7 +8528,7 @@ var topic = strictObject({
|
|
|
8511
8528
|
untrusted
|
|
8512
8529
|
});
|
|
8513
8530
|
|
|
8514
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8531
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.633.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6b55a08b64e6f66e5ab3a99b7d6b1e87/node_modules/@wirecat/cli-core/dist/entities/index.js
|
|
8515
8532
|
var ENTITIES = {
|
|
8516
8533
|
sync_progress: progress,
|
|
8517
8534
|
deal,
|
|
@@ -8738,6 +8755,7 @@ var ENTITIES = {
|
|
|
8738
8755
|
store_decrypt: storeDecrypt,
|
|
8739
8756
|
store_restore: storeRestore,
|
|
8740
8757
|
store_reset: storeReset,
|
|
8758
|
+
store_import: storeImport,
|
|
8741
8759
|
store_repair: storeRepair,
|
|
8742
8760
|
store_copy_removal: storeCopyRemoval,
|
|
8743
8761
|
store_table: storeTable,
|
|
@@ -8804,7 +8822,7 @@ var entityDefinitions = /* @__PURE__ */ __name(() => Object.fromEntries(Object.e
|
|
|
8804
8822
|
return [name, definition];
|
|
8805
8823
|
})), "entityDefinitions");
|
|
8806
8824
|
|
|
8807
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8825
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.633.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6b55a08b64e6f66e5ab3a99b7d6b1e87/node_modules/@wirecat/cli-core/dist/cli/answer-entity.js
|
|
8808
8826
|
var schemas = /* @__PURE__ */ new WeakMap();
|
|
8809
8827
|
var answerEntity = /* @__PURE__ */ __name((command, name, schema2, options = {}) => {
|
|
8810
8828
|
if (Object.hasOwn(ENTITIES, name))
|
|
@@ -8838,7 +8856,7 @@ var answerRow = /* @__PURE__ */ __name((command) => {
|
|
|
8838
8856
|
return own && metaOf(command).output?.entity === own.name ? own.row : void 0;
|
|
8839
8857
|
}, "answerRow");
|
|
8840
8858
|
|
|
8841
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8859
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.633.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6b55a08b64e6f66e5ab3a99b7d6b1e87/node_modules/@wirecat/cli-core/dist/cli/command-server-request.js
|
|
8842
8860
|
import { AsyncLocalStorage } from "node:async_hooks";
|
|
8843
8861
|
var requests = new AsyncLocalStorage();
|
|
8844
8862
|
var inCommandServerRequest = /* @__PURE__ */ __name((request, work) => requests.run(request, work), "inCommandServerRequest");
|
|
@@ -8853,7 +8871,7 @@ var exitCodeSet = /* @__PURE__ */ __name(() => {
|
|
|
8853
8871
|
return direct;
|
|
8854
8872
|
}, "exitCodeSet");
|
|
8855
8873
|
|
|
8856
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8874
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.633.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6b55a08b64e6f66e5ab3a99b7d6b1e87/node_modules/@wirecat/cli-core/dist/sends/guarded.js
|
|
8857
8875
|
import { AsyncLocalStorage as AsyncLocalStorage2 } from "node:async_hooks";
|
|
8858
8876
|
var sentIds = /* @__PURE__ */ __name((typed2, message2) => ({
|
|
8859
8877
|
messageId: message2.id,
|
|
@@ -8959,7 +8977,7 @@ var guardedWrite = /* @__PURE__ */ __name(async (guard, attempt, act, settled2 =
|
|
|
8959
8977
|
}, "guardedWrite");
|
|
8960
8978
|
var codeOf = /* @__PURE__ */ __name((error) => typeof error?.code === "string" ? error.code : "unknown", "codeOf");
|
|
8961
8979
|
|
|
8962
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8980
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.633.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6b55a08b64e6f66e5ab3a99b7d6b1e87/node_modules/@wirecat/cli-core/dist/cli/result-fields.js
|
|
8963
8981
|
var named2 = /* @__PURE__ */ __name((work) => {
|
|
8964
8982
|
try {
|
|
8965
8983
|
return work();
|
|
@@ -8986,7 +9004,7 @@ var projectFields2 = /* @__PURE__ */ __name((value, fields) => named2(() => {
|
|
|
8986
9004
|
return projectFields(value, fields);
|
|
8987
9005
|
}), "projectFields");
|
|
8988
9006
|
|
|
8989
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9007
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.633.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6b55a08b64e6f66e5ab3a99b7d6b1e87/node_modules/@wirecat/cli-core/dist/cli/execution.js
|
|
8990
9008
|
var DEFAULT_COOPERATIVE_MS = 5 * 6e4;
|
|
8991
9009
|
var DEFAULT_SYNC_MS = 15 * 6e4;
|
|
8992
9010
|
var DEFAULT_OUTPUT_BYTES = 4 * 1024 * 1024;
|
|
@@ -9008,7 +9026,7 @@ var withAbort = /* @__PURE__ */ __name(async (signal, body) => {
|
|
|
9008
9026
|
}
|
|
9009
9027
|
}, "withAbort");
|
|
9010
9028
|
|
|
9011
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9029
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.633.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6b55a08b64e6f66e5ab3a99b7d6b1e87/node_modules/@wirecat/cli-core/dist/cli/profile.js
|
|
9012
9030
|
var asFirstWord = /* @__PURE__ */ __name((profile) => `${profile} `, "asFirstWord");
|
|
9013
9031
|
var PLAIN_NAME = /^[A-Za-z0-9][A-Za-z0-9._-]*$/;
|
|
9014
9032
|
var isProfileName = /* @__PURE__ */ __name((word) => PLAIN_NAME.test(word), "isProfileName");
|
|
@@ -9068,7 +9086,7 @@ var rootOf = /* @__PURE__ */ __name((command) => {
|
|
|
9068
9086
|
return root;
|
|
9069
9087
|
}, "rootOf");
|
|
9070
9088
|
|
|
9071
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9089
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.633.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6b55a08b64e6f66e5ab3a99b7d6b1e87/node_modules/@wirecat/cli-core/dist/cli/messenger/accounts.js
|
|
9072
9090
|
import { existsSync as existsSync2, readdirSync as readdirSync2, readFileSync as readFileSync2 } from "node:fs";
|
|
9073
9091
|
import { join as join2 } from "node:path";
|
|
9074
9092
|
var accountFileFor = /* @__PURE__ */ __name((app, profile, env) => join2(resolvePaths({ appName: app.appName, prefix: app.envPrefix, env }).state, "accounts", `${profile}.json`), "accountFileFor");
|
|
@@ -9090,12 +9108,12 @@ var profilesWithAccounts = /* @__PURE__ */ __name((app, env) => {
|
|
|
9090
9108
|
}, "profilesWithAccounts");
|
|
9091
9109
|
var profilesHere = /* @__PURE__ */ __name((app, configured, env) => [.../* @__PURE__ */ new Set([...configured, ...profilesWithAccounts(app, env)])].sort(), "profilesHere");
|
|
9092
9110
|
|
|
9093
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9111
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.633.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6b55a08b64e6f66e5ab3a99b7d6b1e87/node_modules/@wirecat/cli-core/dist/background/budget.js
|
|
9094
9112
|
var DEADLINE_MARGIN_MS = 5e3;
|
|
9095
9113
|
var DEADLINE_MARGIN_SHARE = 0.15;
|
|
9096
9114
|
var deadlineMargin = /* @__PURE__ */ __name((deadline) => Math.max(DEADLINE_MARGIN_MS, deadline.ms * DEADLINE_MARGIN_SHARE), "deadlineMargin");
|
|
9097
9115
|
|
|
9098
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9116
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.633.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6b55a08b64e6f66e5ab3a99b7d6b1e87/node_modules/@wirecat/cli-core/dist/output-detail.js
|
|
9099
9117
|
var RARELY_SET = ["editedAt", "replyTo", "forwardedFrom", "reactions"];
|
|
9100
9118
|
var BRIEF = ["locator", "chatTitle", "timestamp", "senderName", "excerpt", "score"];
|
|
9101
9119
|
var SNAKE_BRIEF = ["ref", "chat_title", "timestamp", "sender_name", "excerpt", "score"];
|
|
@@ -9131,7 +9149,7 @@ var atDetail = /* @__PURE__ */ __name((value, detail = "default") => {
|
|
|
9131
9149
|
return value;
|
|
9132
9150
|
}, "atDetail");
|
|
9133
9151
|
|
|
9134
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9152
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.633.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6b55a08b64e6f66e5ab3a99b7d6b1e87/node_modules/@wirecat/cli-core/dist/output.js
|
|
9135
9153
|
var refuseCompact = /* @__PURE__ */ __name(({ json, jsonl, fields, hitDetail }) => {
|
|
9136
9154
|
const other = jsonl ? "--jsonl" : fields !== void 0 ? "--json=\u2026" : json ? "--json" : hitDetail === "brief" ? "--brief" : "";
|
|
9137
9155
|
if (other)
|
|
@@ -9195,7 +9213,7 @@ var silence = /* @__PURE__ */ __name((renderer) => ({
|
|
|
9195
9213
|
}, "warn")
|
|
9196
9214
|
}), "silence");
|
|
9197
9215
|
|
|
9198
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9216
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.633.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6b55a08b64e6f66e5ab3a99b7d6b1e87/node_modules/@wirecat/cli-core/dist/runs/log-events.js
|
|
9199
9217
|
var CORE_LOG_EVENTS = defineLogEvents([
|
|
9200
9218
|
{ id: "provider.request", meaning: "a request went to the messenger", keys: ["operation"] },
|
|
9201
9219
|
{ id: "provider.response", meaning: "the messenger answered the request, or it failed", keys: ["operation"] },
|
|
@@ -9231,7 +9249,7 @@ var DIAGNOSTIC_LOG_EVENTS = {
|
|
|
9231
9249
|
store: "store.write"
|
|
9232
9250
|
};
|
|
9233
9251
|
|
|
9234
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9252
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.633.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6b55a08b64e6f66e5ab3a99b7d6b1e87/node_modules/@wirecat/cli-core/dist/runs/recording.js
|
|
9235
9253
|
var recorded = /* @__PURE__ */ __name(async (options, body) => {
|
|
9236
9254
|
const recording = startRecording(options);
|
|
9237
9255
|
try {
|
|
@@ -9446,7 +9464,7 @@ var partialOutcome = /* @__PURE__ */ __name((answer) => {
|
|
|
9446
9464
|
return void 0;
|
|
9447
9465
|
}, "partialOutcome");
|
|
9448
9466
|
|
|
9449
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9467
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.633.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6b55a08b64e6f66e5ab3a99b7d6b1e87/node_modules/@wirecat/cli-core/dist/cli/deadline.js
|
|
9450
9468
|
var withDeadline = /* @__PURE__ */ __name(async (ms2, closeables, body) => {
|
|
9451
9469
|
if (ms2 === void 0)
|
|
9452
9470
|
return body();
|
|
@@ -9472,10 +9490,10 @@ var withDeadline = /* @__PURE__ */ __name(async (ms2, closeables, body) => {
|
|
|
9472
9490
|
}
|
|
9473
9491
|
}, "withDeadline");
|
|
9474
9492
|
|
|
9475
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9493
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.633.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6b55a08b64e6f66e5ab3a99b7d6b1e87/node_modules/@wirecat/cli-core/dist/cli/settings.js
|
|
9476
9494
|
import { existsSync as existsSync6 } from "node:fs";
|
|
9477
9495
|
|
|
9478
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9496
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.633.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6b55a08b64e6f66e5ab3a99b7d6b1e87/node_modules/@wirecat/cli-core/dist/models/endpoint.js
|
|
9479
9497
|
var endpoint = /* @__PURE__ */ __name((value) => {
|
|
9480
9498
|
try {
|
|
9481
9499
|
const url3 = new URL(value);
|
|
@@ -9485,7 +9503,7 @@ var endpoint = /* @__PURE__ */ __name((value) => {
|
|
|
9485
9503
|
}
|
|
9486
9504
|
}, "endpoint");
|
|
9487
9505
|
|
|
9488
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9506
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.633.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6b55a08b64e6f66e5ab3a99b7d6b1e87/node_modules/@wirecat/cli-core/dist/models/settings.js
|
|
9489
9507
|
var MODEL_FIELDS = ["provider", "model", "base_url"];
|
|
9490
9508
|
var modelSettingsShape = record(pipe(string(), regex(/^[a-z][a-z0-9-]*$/)), strictObject({
|
|
9491
9509
|
provider: optional(picklist(["off", "openai", "anthropic"])),
|
|
@@ -9554,7 +9572,7 @@ var modelTarget = /* @__PURE__ */ __name((settings, purpose) => {
|
|
|
9554
9572
|
};
|
|
9555
9573
|
}, "modelTarget");
|
|
9556
9574
|
|
|
9557
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9575
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.633.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6b55a08b64e6f66e5ab3a99b7d6b1e87/node_modules/@wirecat/cli-core/dist/analysis/settings.js
|
|
9558
9576
|
var model2 = pipe(string(), trim(), minLength(1), maxLength(200));
|
|
9559
9577
|
var url2 = pipe(string(), check(endpoint, "use an HTTP/S endpoint without credentials, query or fragment"));
|
|
9560
9578
|
var AI_FIELDS = {
|
|
@@ -9598,7 +9616,7 @@ var resolveAISettings = /* @__PURE__ */ __name((prefix, layers, env) => {
|
|
|
9598
9616
|
};
|
|
9599
9617
|
}, "resolveAISettings");
|
|
9600
9618
|
|
|
9601
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9619
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.633.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6b55a08b64e6f66e5ab3a99b7d6b1e87/node_modules/@wirecat/cli-core/dist/domain/duration.js
|
|
9602
9620
|
var DURATION = /^(\d+)(ms|s|m|h|d)$/;
|
|
9603
9621
|
var UNIT_MS = { ms: 1, s: 1e3, m: 6e4, h: 36e5, d: 864e5 };
|
|
9604
9622
|
var parseDuration = /* @__PURE__ */ __name((value, source2) => {
|
|
@@ -9612,7 +9630,7 @@ var parseDuration = /* @__PURE__ */ __name((value, source2) => {
|
|
|
9612
9630
|
return ms2;
|
|
9613
9631
|
}, "parseDuration");
|
|
9614
9632
|
|
|
9615
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9633
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.633.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6b55a08b64e6f66e5ab3a99b7d6b1e87/node_modules/@wirecat/cli-core/dist/embeddings/models.js
|
|
9616
9634
|
import { existsSync as existsSync3 } from "node:fs";
|
|
9617
9635
|
import { join as join3 } from "node:path";
|
|
9618
9636
|
var huggingFace = /* @__PURE__ */ __name((repository, commit) => (name) => `https://huggingface.co/${repository}/resolve/${commit}/${name}`, "huggingFace");
|
|
@@ -9889,7 +9907,7 @@ var vectorModelKey = /* @__PURE__ */ __name((model3) => {
|
|
|
9889
9907
|
}, "vectorModelKey");
|
|
9890
9908
|
var meaningFloor = /* @__PURE__ */ __name((key) => key === "local:e5-small:384" ? 0.8 : 0, "meaningFloor");
|
|
9891
9909
|
|
|
9892
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9910
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.633.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6b55a08b64e6f66e5ab3a99b7d6b1e87/node_modules/@wirecat/cli-core/dist/services/history-limits.js
|
|
9893
9911
|
var HISTORY_MAX_DAYS = 1095;
|
|
9894
9912
|
var DEFAULT_HISTORY_LIMITS = { dialogDays: 1095, groupDays: 365, groupMembersMax: 50 };
|
|
9895
9913
|
var DAY_MS = 24 * 60 * 60 * 1e3;
|
|
@@ -9936,7 +9954,7 @@ var limitBatch = /* @__PURE__ */ __name((batch, shapes, included, limits, now =
|
|
|
9936
9954
|
return { batch: { ...batch, messages }, skipped };
|
|
9937
9955
|
}, "limitBatch");
|
|
9938
9956
|
|
|
9939
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9957
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.633.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6b55a08b64e6f66e5ab3a99b7d6b1e87/node_modules/@wirecat/cli-core/dist/cli/bot/registry.js
|
|
9940
9958
|
import { existsSync as existsSync4, readdirSync as readdirSync3, readFileSync as readFileSync3 } from "node:fs";
|
|
9941
9959
|
import { join as join4 } from "node:path";
|
|
9942
9960
|
var botsDirectory = /* @__PURE__ */ __name((app, env = process.env) => join4(resolvePaths({ appName: app.appName, prefix: app.envPrefix, env }).state, "bots"), "botsDirectory");
|
|
@@ -10025,10 +10043,10 @@ var registryProfiles = /* @__PURE__ */ __name((app, env = process.env) => {
|
|
|
10025
10043
|
return readdirSync3(directory, { withFileTypes: true }).filter((entry) => entry.isFile() && entry.name.endsWith(".json")).map((entry) => entry.name).map((name) => name.slice(0, -".json".length));
|
|
10026
10044
|
}, "registryProfiles");
|
|
10027
10045
|
|
|
10028
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10046
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.633.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6b55a08b64e6f66e5ab3a99b7d6b1e87/node_modules/@wirecat/cli-core/dist/cli/config-issues.js
|
|
10029
10047
|
import { readFileSync as readFileSync4 } from "node:fs";
|
|
10030
10048
|
|
|
10031
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10049
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.633.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6b55a08b64e6f66e5ab3a99b7d6b1e87/node_modules/@wirecat/cli-core/dist/cli/config-repair.js
|
|
10032
10050
|
var REPAIR_WORDS = {
|
|
10033
10051
|
byte_order_mark: "an invisible byte-order mark at the start",
|
|
10034
10052
|
comment: "a comment, which JSON does not allow",
|
|
@@ -10269,7 +10287,7 @@ ${parts.join(",\n")}
|
|
|
10269
10287
|
${indent}${close}`;
|
|
10270
10288
|
}, "serialise");
|
|
10271
10289
|
|
|
10272
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10290
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.633.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6b55a08b64e6f66e5ab3a99b7d6b1e87/node_modules/@wirecat/cli-core/dist/cli/config-issues.js
|
|
10273
10291
|
var isNode = /* @__PURE__ */ __name((value) => typeof value === "object" && value !== null && !Array.isArray(value), "isNode");
|
|
10274
10292
|
var SECTIONS = ["personal", "bot"];
|
|
10275
10293
|
var SHELL_SAFE = /^[A-Za-z0-9_.:@-]*$/;
|
|
@@ -10564,7 +10582,7 @@ var readConfigFile = /* @__PURE__ */ __name((path2) => {
|
|
|
10564
10582
|
return "issue" in parsed ? { issue: publicIssue(parsed.issue) } : parsed;
|
|
10565
10583
|
}, "readConfigFile");
|
|
10566
10584
|
|
|
10567
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10585
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.633.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6b55a08b64e6f66e5ab3a99b7d6b1e87/node_modules/@wirecat/cli-core/dist/cli/default-config.js
|
|
10568
10586
|
import { existsSync as existsSync5, linkSync, mkdirSync as mkdirSync2, mkdtempSync, rmSync as rmSync2, writeFileSync } from "node:fs";
|
|
10569
10587
|
import { dirname as dirname2, join as join5 } from "node:path";
|
|
10570
10588
|
var DEFAULT_CONFIG = {
|
|
@@ -10593,7 +10611,7 @@ function ensureDefaultConfig(path2, config = DEFAULT_CONFIG) {
|
|
|
10593
10611
|
}
|
|
10594
10612
|
__name(ensureDefaultConfig, "ensureDefaultConfig");
|
|
10595
10613
|
|
|
10596
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10614
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.633.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6b55a08b64e6f66e5ab3a99b7d6b1e87/node_modules/@wirecat/cli-core/dist/cli/setting-defaults.js
|
|
10597
10615
|
var isNode2 = /* @__PURE__ */ __name((value) => typeof value === "object" && value !== null && !Array.isArray(value), "isNode");
|
|
10598
10616
|
var parentOf = /* @__PURE__ */ __name((config, key) => {
|
|
10599
10617
|
const path2 = key.split(".");
|
|
@@ -10626,7 +10644,7 @@ var settingRows = /* @__PURE__ */ __name((raw, declared) => declared.map((settin
|
|
|
10626
10644
|
};
|
|
10627
10645
|
}), "settingRows");
|
|
10628
10646
|
|
|
10629
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10647
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.633.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6b55a08b64e6f66e5ab3a99b7d6b1e87/node_modules/@wirecat/cli-core/dist/cli/settings.js
|
|
10630
10648
|
var DEFAULT_LIMIT = DEFAULT_CONFIG.defaults.limit;
|
|
10631
10649
|
var DEFAULT_KEEP_RUNS_FOR_DAYS = DEFAULT_CONFIG.defaults.keep_runs_for_days;
|
|
10632
10650
|
var DEFAULT_SENDS_PER_HOUR = DEFAULT_CONFIG.defaults.sends_per_hour;
|
|
@@ -11151,7 +11169,7 @@ var given = /* @__PURE__ */ __name((value) => {
|
|
|
11151
11169
|
return trimmed === void 0 || trimmed === "" ? void 0 : trimmed;
|
|
11152
11170
|
}, "given");
|
|
11153
11171
|
|
|
11154
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11172
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.633.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6b55a08b64e6f66e5ab3a99b7d6b1e87/node_modules/@wirecat/cli-core/dist/cli/context.js
|
|
11155
11173
|
var setExitCode = /* @__PURE__ */ __name((command, code) => {
|
|
11156
11174
|
const slot = environmentOf(command).exit;
|
|
11157
11175
|
const request = commandServerRequest();
|
|
@@ -11277,7 +11295,7 @@ var commandPath = /* @__PURE__ */ __name((command) => {
|
|
|
11277
11295
|
return words2.join(" ");
|
|
11278
11296
|
}, "commandPath");
|
|
11279
11297
|
|
|
11280
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11298
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.633.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6b55a08b64e6f66e5ab3a99b7d6b1e87/node_modules/@wirecat/cli-core/dist/cli/effects.js
|
|
11281
11299
|
var REMOTE_READ = { remote: "read", local: "read" };
|
|
11282
11300
|
var FETCH = { remote: "read", local: "write" };
|
|
11283
11301
|
var REMOTE_WRITE = { remote: "write", local: "write" };
|
|
@@ -11397,7 +11415,7 @@ var refuseUnderReadOnly = /* @__PURE__ */ __name((command, what) => {
|
|
|
11397
11415
|
throw readOnlyRefusal(lock, what);
|
|
11398
11416
|
}, "refuseUnderReadOnly");
|
|
11399
11417
|
|
|
11400
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11418
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.633.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6b55a08b64e6f66e5ab3a99b7d6b1e87/node_modules/@wirecat/cli-core/dist/images/picture/models.js
|
|
11401
11419
|
import { join as join6 } from "node:path";
|
|
11402
11420
|
var clip = /* @__PURE__ */ __name((name) => `https://huggingface.co/Xenova/clip-vit-base-patch32/resolve/d15189d7028b43f1d3e65039190477f6af591c2a/${name}`, "clip");
|
|
11403
11421
|
var IMAGE_MODELS = [
|
|
@@ -11451,7 +11469,7 @@ var imageModelsDirectory = /* @__PURE__ */ __name((env = process.env) => sharedM
|
|
|
11451
11469
|
var placedImage = /* @__PURE__ */ __name((model3, directory) => model3.files.map((file) => [file, join6(directory, model3.id, file.name)]), "placedImage");
|
|
11452
11470
|
var isImageModelInstalled = /* @__PURE__ */ __name((model3, directory) => filesPresent(placedImage(model3, directory)), "isImageModelInstalled");
|
|
11453
11471
|
|
|
11454
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11472
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.633.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6b55a08b64e6f66e5ab3a99b7d6b1e87/node_modules/@wirecat/cli-core/dist/cli/steps.js
|
|
11455
11473
|
var STEPS2 = defineSteps([
|
|
11456
11474
|
...STEPS,
|
|
11457
11475
|
{
|
|
@@ -11723,7 +11741,7 @@ var stepLine = /* @__PURE__ */ __name((root, step2) => {
|
|
|
11723
11741
|
].join(" ");
|
|
11724
11742
|
}, "stepLine");
|
|
11725
11743
|
|
|
11726
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11744
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.633.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6b55a08b64e6f66e5ab3a99b7d6b1e87/node_modules/@wirecat/cli-core/dist/cli/project-status-rows.js
|
|
11727
11745
|
var where = [{ field: "ref" }];
|
|
11728
11746
|
var who2 = { field: ["who.owner", "who.name"], tag: "you" };
|
|
11729
11747
|
var ON_CHAT_ROW = /* @__PURE__ */ new Set(["reply-next", "coverage"]);
|
|
@@ -11815,7 +11833,7 @@ var STATUS_ROWS = {
|
|
|
11815
11833
|
"status.failed": { columns: [{ field: "signal" }], text: ["why"] }
|
|
11816
11834
|
};
|
|
11817
11835
|
|
|
11818
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11836
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.633.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6b55a08b64e6f66e5ab3a99b7d6b1e87/node_modules/@wirecat/cli-core/dist/cli/compact.js
|
|
11819
11837
|
var TEXT_CHARS = 400;
|
|
11820
11838
|
var sender = { field: ["sender_is_me", "sender_name"], tag: "me" };
|
|
11821
11839
|
var messageRow = {
|
|
@@ -12181,7 +12199,7 @@ var compactText = /* @__PURE__ */ __name((body, shape, options, rowsOf = rowsOfE
|
|
|
12181
12199
|
return lines.concat(footerOf(body)).join("\n");
|
|
12182
12200
|
}, "compactText");
|
|
12183
12201
|
|
|
12184
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
12202
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.633.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6b55a08b64e6f66e5ab3a99b7d6b1e87/node_modules/@wirecat/cli-core/dist/cli/output-budget.js
|
|
12185
12203
|
var SOFT_OUTPUT_BYTES = 256 * 1024;
|
|
12186
12204
|
var CARRIED = ["json", "compact", "offline", "timeout", "full", "brief", "maxOutputBytes"];
|
|
12187
12205
|
var NOT_WITH_COMPACT = /* @__PURE__ */ new Set(["json", "brief"]);
|
|
@@ -12228,7 +12246,7 @@ var largeAnswerSteps = /* @__PURE__ */ __name((command) => {
|
|
|
12228
12246
|
return args ? compactStep(command, args, "the answer is large as JSON; one line per item keeps every ref") : [];
|
|
12229
12247
|
}, "largeAnswerSteps");
|
|
12230
12248
|
|
|
12231
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
12249
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.633.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6b55a08b64e6f66e5ab3a99b7d6b1e87/node_modules/@wirecat/cli-core/dist/cli/provider-refs.js
|
|
12232
12250
|
var HIDDEN = /* @__PURE__ */ new Set(["providerRef", "provider_ref"]);
|
|
12233
12251
|
var withoutProviderRefs = /* @__PURE__ */ __name((value) => strip(value), "withoutProviderRefs");
|
|
12234
12252
|
var strip = /* @__PURE__ */ __name((value) => {
|
|
@@ -12242,7 +12260,7 @@ var strip = /* @__PURE__ */ __name((value) => {
|
|
|
12242
12260
|
return Object.fromEntries(Object.entries(value).flatMap(([key, inner]) => HIDDEN.has(key) ? [] : [[key, strip(inner)]]));
|
|
12243
12261
|
}, "strip");
|
|
12244
12262
|
|
|
12245
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
12263
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.633.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6b55a08b64e6f66e5ab3a99b7d6b1e87/node_modules/@wirecat/cli-core/dist/cli/envelope.js
|
|
12246
12264
|
var answerSchema = /* @__PURE__ */ __name((item = unknown()) => union([listEnvelopeSchema(item), itemEnvelopeSchema(item)]), "answerSchema");
|
|
12247
12265
|
var capped2 = /* @__PURE__ */ __name((steps) => steps.length > 0 ? { next: steps.slice(0, MAX_NEXT_STEPS) } : {}, "capped");
|
|
12248
12266
|
var listOf = /* @__PURE__ */ __name((command, input) => {
|