@wirecat/cli-memo 0.131.78 → 0.131.80
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-ZEUEPNFD.js → all-profiles-RVKEGURX.js} +9 -9
- package/dist/bundle/{anthropic-VF75LSDZ.js → anthropic-FC6XUSWM.js} +6 -6
- package/dist/bundle/{app-server-Z4TY5VP5.js → app-server-IRNKU3IF.js} +41 -41
- package/dist/bundle/auto-GTL4YGZX.js +91 -0
- package/dist/bundle/{bun-OUR5UZAI.js → bun-TYBGE5BX.js} +2 -2
- package/dist/bundle/{bun-sqlite-26ZGEVH3.js → bun-sqlite-YENHHNPL.js} +10 -6
- package/dist/bundle/{chunk-DDPZY27T.js → chunk-2CJIZZSI.js} +16 -16
- package/dist/bundle/{chunk-3QBRLN6T.js → chunk-2EGS6BXF.js} +2 -2
- package/dist/bundle/{chunk-IFANDP3T.js → chunk-2FICCBKH.js} +14 -2
- package/dist/bundle/{chunk-OHMF7LWW.js → chunk-3H56E3VI.js} +5 -5
- package/dist/bundle/{chunk-WYSFOL74.js → chunk-4IKO3JAA.js} +4 -4
- package/dist/bundle/{chunk-6A37YXAL.js → chunk-5LEIPSJG.js} +24 -0
- package/dist/bundle/{chunk-VJLJFLKZ.js → chunk-666J5H2Z.js} +1 -1
- package/dist/bundle/{chunk-ELKRFQ5Y.js → chunk-6W6CLZKX.js} +12 -12
- package/dist/bundle/{chunk-22RYCAAO.js → chunk-BS5JBNGX.js} +9625 -9046
- package/dist/bundle/{chunk-5PCPPT43.js → chunk-C2FE62E5.js} +31 -31
- package/dist/bundle/{chunk-Z4TPRASF.js → chunk-C4TAEYDQ.js} +5 -5
- package/dist/bundle/{chunk-UIJBGS6K.js → chunk-CEGA7A35.js} +2 -2
- package/dist/bundle/{chunk-MUFU4LNS.js → chunk-CUWTYE5A.js} +2 -2
- package/dist/bundle/{chunk-EI7LYQQA.js → chunk-CVQJ7L4C.js} +4 -4
- package/dist/bundle/{chunk-EXFRC4OT.js → chunk-DCK5AT3D.js} +1 -1
- package/dist/bundle/{chunk-DAEPTQ6N.js → chunk-DS5SA5QP.js} +5 -5
- package/dist/bundle/{chunk-OMGNXKSH.js → chunk-EOXWI2EX.js} +4 -4
- package/dist/bundle/{chunk-EF33DKMR.js → chunk-F62N6QMI.js} +1 -1
- package/dist/bundle/{chunk-P3UQGKGY.js → chunk-FIJTCBPQ.js} +10 -10
- package/dist/bundle/{chunk-T37LLOZR.js → chunk-FR646D4S.js} +1 -1
- package/dist/bundle/{chunk-6GHBGGN7.js → chunk-GHYJW4ZH.js} +2 -2
- package/dist/bundle/{chunk-6ABWVQ4T.js → chunk-GNII3UL7.js} +1 -1
- package/dist/bundle/{chunk-YOM4PA3A.js → chunk-HFQXEMRG.js} +1 -1
- package/dist/bundle/{chunk-OMCET4QP.js → chunk-HHZMDFE2.js} +47 -47
- package/dist/bundle/{chunk-WETWQO6X.js → chunk-HKXACNLD.js} +2 -2
- package/dist/bundle/{chunk-QEJHNTCX.js → chunk-HXPU3ABX.js} +511 -349
- package/dist/bundle/{chunk-4LZLU2V3.js → chunk-IJUXHUNZ.js} +3 -3
- package/dist/bundle/{chunk-GXHPPHGB.js → chunk-IW6O2SAG.js} +11 -11
- package/dist/bundle/{chunk-N7CHOWDF.js → chunk-JDQSL2EY.js} +3 -3
- package/dist/bundle/{chunk-WHZJHUK6.js → chunk-JJ6ODCVQ.js} +2 -2
- package/dist/bundle/{chunk-7ENXMVT5.js → chunk-JPC7GSJO.js} +20 -11
- package/dist/bundle/{chunk-E5JVYVRX.js → chunk-JTQAMVZH.js} +15 -14
- package/dist/bundle/{chunk-Q2CQNT3A.js → chunk-K3JEAMTT.js} +1 -1
- package/dist/bundle/{chunk-AZIXZIXT.js → chunk-KDLOSANT.js} +7 -7
- package/dist/bundle/{chunk-D67YDJ35.js → chunk-KNRYIHUJ.js} +1049 -902
- package/dist/bundle/{chunk-B2ZAEF5Z.js → chunk-KVQY7R66.js} +2 -2
- package/dist/bundle/{chunk-H2AQV772.js → chunk-MDIXXKVU.js} +10 -10
- package/dist/bundle/{chunk-LJRXD44C.js → chunk-MLYPJ4EC.js} +7 -7
- package/dist/bundle/{chunk-Y2J52Y3A.js → chunk-NH7KIGIS.js} +3 -3
- package/dist/bundle/{chunk-XC26CUGL.js → chunk-NUKMYB65.js} +6 -6
- package/dist/bundle/{chunk-PTKJIA7M.js → chunk-OFRIG3CX.js} +3 -3
- package/dist/bundle/{chunk-WHMKYJZR.js → chunk-OH4AIBZF.js} +1 -1
- package/dist/bundle/{chunk-TWWYDJBW.js → chunk-OSE7GXAR.js} +1 -1
- package/dist/bundle/{chunk-QU7UPCW2.js → chunk-PX55CRD3.js} +86 -81
- package/dist/bundle/{chunk-7DKS4GIW.js → chunk-Q46O7KXY.js} +5 -5
- package/dist/bundle/chunk-R4XCBPD2.js +53 -0
- package/dist/bundle/{chunk-X2SA73EE.js → chunk-RK24IARI.js} +1 -1
- package/dist/bundle/{chunk-TT5RMHM6.js → chunk-RUM4GGHP.js} +5 -5
- package/dist/bundle/{chunk-5NBQOU5V.js → chunk-RWVB7SLQ.js} +26 -23
- package/dist/bundle/{chunk-MW6IAMUI.js → chunk-S2KXO7MO.js} +1 -1
- package/dist/bundle/{chunk-2IQWMWMC.js → chunk-SB3AOH3M.js} +3 -3
- package/dist/bundle/{chunk-NXQFVHG4.js → chunk-SGV2Z4BO.js} +165 -152
- package/dist/bundle/{chunk-XTCN3VUP.js → chunk-SKX3BNTE.js} +8 -8
- package/dist/bundle/{chunk-OUATPEPP.js → chunk-SULQCO3Y.js} +6 -6
- package/dist/bundle/{chunk-KUY35N7Q.js → chunk-TJ2B36VK.js} +7 -7
- package/dist/bundle/{chunk-ZKCAR2OL.js → chunk-UBUCTVHB.js} +1 -1
- package/dist/bundle/{chunk-T6LXUBXY.js → chunk-UTYGPWUY.js} +3 -3
- package/dist/bundle/{chunk-JHW2ARPA.js → chunk-VQJDYQ55.js} +34 -34
- package/dist/bundle/{chunk-F7MKFYYP.js → chunk-VTBIVTS5.js} +3 -3
- package/dist/bundle/{chunk-EIQ6HCIB.js → chunk-W26VONC6.js} +7 -7
- package/dist/bundle/{chunk-I6CZU7X7.js → chunk-X3NHAO6T.js} +1 -1
- package/dist/bundle/{chunk-3QV5JWFN.js → chunk-XZJUAG7B.js} +3 -3
- package/dist/bundle/{chunk-UWF6WXM7.js → chunk-ZMLDVE22.js} +7 -7
- package/dist/bundle/{chunk-NGWKI3E6.js → chunk-ZMSEKQQQ.js} +1 -1
- package/dist/bundle/command-contract-SR6ONYV4.js +34 -0
- package/dist/bundle/{command-server-entry-A7ZCZWHH.js → command-server-entry-2WXZVYIX.js} +21 -21
- package/dist/bundle/{decode-FO2ELPW6.js → decode-U7VFYQAA.js} +6 -6
- package/dist/bundle/{dispatch-N73TJNYM.js → dispatch-BRRZ6TLX.js} +1 -1
- package/dist/bundle/{echarts-HTY3OB2X.js → echarts-2PXBBLLJ.js} +2 -2
- package/dist/bundle/{embed-2DTGMR7Z.js → embed-DPA5QOIR.js} +7 -7
- package/dist/bundle/{embedder-N3IGQ2M6.js → embedder-IGI2UTFK.js} +10 -10
- package/dist/bundle/{entry-YDEKGRCA.js → entry-7PAYGIQO.js} +9 -9
- package/dist/bundle/{entry-Q7CIJ3TU.js → entry-IFOQTBXC.js} +9 -9
- package/dist/bundle/{failure-IPHFR3KW.js → failure-ECNGLVHX.js} +2 -2
- package/dist/bundle/failure-NAM37T2T.js +71 -0
- package/dist/bundle/{first-run-SAADMYEA.js → first-run-WHDDKA4V.js} +10 -10
- package/dist/bundle/first-screen-P5C57USR.js +32 -0
- package/dist/bundle/{instructions-XB5Y5DFA.js → instructions-W7F7OQZS.js} +1 -1
- package/dist/bundle/mcp-3LAFWOGW.js +92 -0
- package/dist/bundle/memo.js +6 -6
- package/dist/bundle/{node-4ZOD7X75.js → node-K6MWX3SW.js} +2 -2
- package/dist/bundle/{node-sqlite-DWXKYFW6.js → node-sqlite-WV6GCPEC.js} +11 -7
- package/dist/bundle/{oauth-GMIBNJQB.js → oauth-EH2Y54DG.js} +8 -8
- package/dist/bundle/{open-3DBI3MHV.js → open-PB4W3UAM.js} +6 -6
- package/dist/bundle/{openai-HFJAR7W5.js → openai-76OKHXWR.js} +11 -11
- package/dist/bundle/{process-2H5HNPHH.js → process-FMQ7Q7AI.js} +1 -1
- package/dist/bundle/{program-VXKN6DLP.js → program-BR2QHF36.js} +403 -142
- package/dist/bundle/{prompt-WETKFAQS.js → prompt-AW4T6CC2.js} +6 -6
- package/dist/bundle/{recognize-5LC3DQ2W.js → recognize-X5DMT3HH.js} +5 -5
- package/dist/bundle/{remote-FURTWZ25.js → remote-HVKKXNYZ.js} +8 -8
- package/dist/bundle/{rerank-CMQWT3WC.js → rerank-IXMWD7JV.js} +8 -8
- package/dist/bundle/{serve-LEF3PX34.js → serve-42XTYB26.js} +10 -10
- package/dist/bundle/server-HUEXB5QL.js +64 -0
- package/dist/bundle/{server-GYLFN6Y7.js → server-NNE7MUYT.js} +59 -59
- package/dist/bundle/server-YLXOJOTR.js +50 -0
- package/dist/bundle/{state-OVZT24JF.js → state-EOU37GAH.js} +7 -7
- package/dist/bundle/{store-SV46T732.js → store-F3REYMA6.js} +13 -13
- package/dist/bundle/store-maintenance-command-TOBBH3ZK.js +49 -0
- package/dist/bundle/update-3QB752NL.js +74 -0
- package/dist/examples.d.ts.map +1 -1
- package/dist/examples.js +13 -3
- package/dist/examples.js.map +1 -1
- package/dist/knowledge/command.d.ts.map +1 -1
- package/dist/knowledge/command.js +2 -0
- package/dist/knowledge/command.js.map +1 -1
- package/dist/knowledge/document-context.d.ts +14 -0
- package/dist/knowledge/document-context.d.ts.map +1 -0
- package/dist/knowledge/document-context.js +33 -0
- package/dist/knowledge/document-context.js.map +1 -0
- package/dist/knowledge/project-activity-command.d.ts +5 -0
- package/dist/knowledge/project-activity-command.d.ts.map +1 -0
- package/dist/knowledge/project-activity-command.js +71 -0
- package/dist/knowledge/project-activity-command.js.map +1 -0
- package/dist/knowledge/relationships.d.ts +4 -0
- package/dist/knowledge/relationships.d.ts.map +1 -1
- package/dist/knowledge/relationships.js +14 -0
- package/dist/knowledge/relationships.js.map +1 -1
- package/dist/knowledge/roles-command.d.ts.map +1 -1
- package/dist/knowledge/roles-command.js +7 -4
- package/dist/knowledge/roles-command.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/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 +52 -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/program.d.ts.map +1 -1
- package/dist/program.js +1 -0
- package/dist/program.js.map +1 -1
- package/dist/reasons.d.ts.map +1 -1
- package/dist/reasons.js +12 -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/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-SA667UAT.js +0 -91
- package/dist/bundle/chunk-VHA3LJQT.js +0 -35
- package/dist/bundle/command-contract-L5GTW74N.js +0 -34
- package/dist/bundle/failure-QL3RJILP.js +0 -71
- package/dist/bundle/first-screen-WXKAIMY6.js +0 -32
- package/dist/bundle/mcp-IRJS472M.js +0 -92
- package/dist/bundle/server-C2EVLJLW.js +0 -64
- package/dist/bundle/server-L7GHFXJF.js +0 -50
- package/dist/bundle/store-maintenance-command-TZYC5HVL.js +0 -49
- package/dist/bundle/update-PRBIV3RG.js +0 -74
- /package/dist/bundle/{chunk-DK3W4FPW.js → chunk-ID2I2X2Z.js} +0 -0
|
@@ -9,18 +9,18 @@ import {
|
|
|
9
9
|
providerErrorKey,
|
|
10
10
|
renderEvent,
|
|
11
11
|
runContextOf
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-MLYPJ4EC.js";
|
|
13
13
|
import {
|
|
14
14
|
carries
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-K3JEAMTT.js";
|
|
16
16
|
import {
|
|
17
17
|
permissionCeiling
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-VTBIVTS5.js";
|
|
19
19
|
import {
|
|
20
20
|
envName,
|
|
21
21
|
readOnlyLockOf,
|
|
22
22
|
readOnlyRefusal
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-ZMSEKQQQ.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-PX55CRD3.js";
|
|
102
102
|
import {
|
|
103
103
|
isCliFailure,
|
|
104
104
|
storeDamaged
|
|
105
|
-
} from "./chunk-
|
|
105
|
+
} from "./chunk-JJ6ODCVQ.js";
|
|
106
106
|
import {
|
|
107
107
|
readSharedSection,
|
|
108
108
|
sharedConfigPath,
|
|
109
109
|
writeSharedSection
|
|
110
|
-
} from "./chunk-
|
|
110
|
+
} from "./chunk-RUM4GGHP.js";
|
|
111
111
|
import {
|
|
112
112
|
filesPresent,
|
|
113
113
|
sharedModelsDirectory
|
|
114
|
-
} from "./chunk-
|
|
114
|
+
} from "./chunk-UTYGPWUY.js";
|
|
115
115
|
import {
|
|
116
116
|
storePath
|
|
117
|
-
} from "./chunk-
|
|
117
|
+
} from "./chunk-R4XCBPD2.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.634.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_c47469194f2825719a552db4a380e89c/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.634.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_c47469194f2825719a552db4a380e89c/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.634.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_c47469194f2825719a552db4a380e89c/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.634.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_c47469194f2825719a552db4a380e89c/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.634.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_c47469194f2825719a552db4a380e89c/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.634.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_c47469194f2825719a552db4a380e89c/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.634.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_c47469194f2825719a552db4a380e89c/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.634.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_c47469194f2825719a552db4a380e89c/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.634.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_c47469194f2825719a552db4a380e89c/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.634.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_c47469194f2825719a552db4a380e89c/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.634.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_c47469194f2825719a552db4a380e89c/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.634.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_c47469194f2825719a552db4a380e89c/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.634.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_c47469194f2825719a552db4a380e89c/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.634.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_c47469194f2825719a552db4a380e89c/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.634.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_c47469194f2825719a552db4a380e89c/node_modules/@wirecat/cli-core/dist/botcheck/reasons.js
|
|
4765
4766
|
var WEIGHTS = {
|
|
4766
4767
|
bot: 3,
|
|
4767
4768
|
scam: 3,
|
|
@@ -4786,7 +4787,7 @@ 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.634.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_c47469194f2825719a552db4a380e89c/node_modules/@wirecat/cli-core/dist/entities/contact-activity.js
|
|
4790
4791
|
var linkedIdentity = strictObject({
|
|
4791
4792
|
provider: text,
|
|
4792
4793
|
id,
|
|
@@ -4836,7 +4837,7 @@ var contactCheck = strictObject({
|
|
|
4836
4837
|
checked_at: time
|
|
4837
4838
|
});
|
|
4838
4839
|
|
|
4839
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4840
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.634.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_c47469194f2825719a552db4a380e89c/node_modules/@wirecat/cli-core/dist/entities/member.js
|
|
4840
4841
|
var member = strictObject({
|
|
4841
4842
|
id,
|
|
4842
4843
|
name: nullable(text),
|
|
@@ -4859,7 +4860,7 @@ var member = strictObject({
|
|
|
4859
4860
|
check: optional(record(string(), unknown()))
|
|
4860
4861
|
});
|
|
4861
4862
|
|
|
4862
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4863
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.634.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_c47469194f2825719a552db4a380e89c/node_modules/@wirecat/cli-core/dist/entities/chat.js
|
|
4863
4864
|
var setting = optional(nullable(boolean()));
|
|
4864
4865
|
var chat = strictObject({
|
|
4865
4866
|
ref: reference,
|
|
@@ -4900,7 +4901,7 @@ var chat = strictObject({
|
|
|
4900
4901
|
members: optional(array(member))
|
|
4901
4902
|
});
|
|
4902
4903
|
|
|
4903
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4904
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.634.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_c47469194f2825719a552db4a380e89c/node_modules/@wirecat/cli-core/dist/entities/message.js
|
|
4904
4905
|
var quoted = strictObject({
|
|
4905
4906
|
id,
|
|
4906
4907
|
sender_id: nullable(id),
|
|
@@ -5019,7 +5020,7 @@ var message = strictObject({
|
|
|
5019
5020
|
provider_metadata: providerMetadata
|
|
5020
5021
|
});
|
|
5021
5022
|
|
|
5022
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5023
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.634.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_c47469194f2825719a552db4a380e89c/node_modules/@wirecat/cli-core/dist/entities/contact-context.js
|
|
5023
5024
|
var contextPerson = strictObject({ ...linkedPerson.entries, provider: text, id });
|
|
5024
5025
|
var contextMessage = strictObject({
|
|
5025
5026
|
locator: reference,
|
|
@@ -5223,7 +5224,7 @@ var contactPreparation = strictObject({
|
|
|
5223
5224
|
})
|
|
5224
5225
|
});
|
|
5225
5226
|
|
|
5226
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5227
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.634.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_c47469194f2825719a552db4a380e89c/node_modules/@wirecat/cli-core/dist/entities/deal.js
|
|
5227
5228
|
var nullableText = nullable(text);
|
|
5228
5229
|
var party = strictObject({ ref: reference, name: nullableText, owner: boolean() });
|
|
5229
5230
|
var outcome = picklist(["open", "won", "lost"]);
|
|
@@ -5315,7 +5316,7 @@ var stage = strictObject({
|
|
|
5315
5316
|
untrusted
|
|
5316
5317
|
});
|
|
5317
5318
|
|
|
5318
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5319
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.634.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_c47469194f2825719a552db4a380e89c/node_modules/@wirecat/cli-core/dist/entities/business-context.js
|
|
5319
5320
|
var nullableText2 = nullable(text);
|
|
5320
5321
|
var day2 = nullable(pipe(string(), regex(/^\d{4}-\d{2}-\d{2}$/)));
|
|
5321
5322
|
var standing = picklist(STANDINGS);
|
|
@@ -5489,7 +5490,7 @@ var dealBrief = strictObject({
|
|
|
5489
5490
|
not_read: coverage2.entries.not_read
|
|
5490
5491
|
});
|
|
5491
5492
|
|
|
5492
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5493
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.634.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_c47469194f2825719a552db4a380e89c/node_modules/@wirecat/cli-core/dist/entities/chart.js
|
|
5493
5494
|
var chart = strictObject({
|
|
5494
5495
|
version: literal(1),
|
|
5495
5496
|
kind: picklist(["bar", "line", "grouped-bar"]),
|
|
@@ -5504,7 +5505,7 @@ var chart = strictObject({
|
|
|
5504
5505
|
file: optional(strictObject({ path: text, format: picklist(["svg", "png"]), width: count, height: count }))
|
|
5505
5506
|
});
|
|
5506
5507
|
|
|
5507
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5508
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.634.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_c47469194f2825719a552db4a380e89c/node_modules/@wirecat/cli-core/dist/entities/folder.js
|
|
5508
5509
|
var named = strictObject({
|
|
5509
5510
|
id,
|
|
5510
5511
|
title: nullable(text),
|
|
@@ -5527,7 +5528,7 @@ var folder = strictObject({
|
|
|
5527
5528
|
excluded_chats: optional(array(named))
|
|
5528
5529
|
});
|
|
5529
5530
|
|
|
5530
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5531
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.634.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_c47469194f2825719a552db4a380e89c/node_modules/@wirecat/cli-core/dist/entities/invite-link.js
|
|
5531
5532
|
var inviteLink = strictObject({
|
|
5532
5533
|
link: text,
|
|
5533
5534
|
/** Who joins by it asks first, and an admin lets them in. */
|
|
@@ -5543,7 +5544,7 @@ var inviteLink = strictObject({
|
|
|
5543
5544
|
joined_count: optional(count)
|
|
5544
5545
|
});
|
|
5545
5546
|
|
|
5546
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5547
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.634.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_c47469194f2825719a552db4a380e89c/node_modules/@wirecat/cli-core/dist/entities/chat-admin.js
|
|
5547
5548
|
var operated = { operation_id: id, chat_id: id };
|
|
5548
5549
|
var group = strictObject({
|
|
5549
5550
|
...omit(chat, ["ref", "provider", "account", "invite_link", "members"]).entries,
|
|
@@ -5623,7 +5624,7 @@ var chatFolderOrder = strictObject({
|
|
|
5623
5624
|
folders: array(strictObject({ id, title: text }))
|
|
5624
5625
|
});
|
|
5625
5626
|
|
|
5626
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5627
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.634.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_c47469194f2825719a552db4a380e89c/node_modules/@wirecat/cli-core/dist/entities/chat-change.js
|
|
5627
5628
|
var operated2 = { operation_id: id, chat_id: id };
|
|
5628
5629
|
var chatRemoval = strictObject(operated2);
|
|
5629
5630
|
var chatMuting = strictObject({
|
|
@@ -5634,7 +5635,7 @@ var chatArchive = strictObject({ ...operated2, archived: boolean() });
|
|
|
5634
5635
|
var chatPin = strictObject({ ...operated2, pinned: boolean() });
|
|
5635
5636
|
var chatUnread = strictObject({ ...operated2, unread: literal(true) });
|
|
5636
5637
|
|
|
5637
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5638
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.634.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_c47469194f2825719a552db4a380e89c/node_modules/@wirecat/cli-core/dist/entities/chat-event.js
|
|
5638
5639
|
var who = strictObject({ id: nullable(id), name: nullable(text), username: optional(nullable(text)) });
|
|
5639
5640
|
var chatEvent = strictObject({
|
|
5640
5641
|
chat_id: id,
|
|
@@ -5651,7 +5652,7 @@ var chatEvent = strictObject({
|
|
|
5651
5652
|
before: optional(strictObject({ name: nullable(text), username: nullable(text) }))
|
|
5652
5653
|
});
|
|
5653
5654
|
|
|
5654
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5655
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.634.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_c47469194f2825719a552db4a380e89c/node_modules/@wirecat/cli-core/dist/entities/chat-metadata.js
|
|
5655
5656
|
var chatMetadata = strictObject({
|
|
5656
5657
|
chat_id: id,
|
|
5657
5658
|
title: nullable(text),
|
|
@@ -5666,7 +5667,7 @@ var chatMetadataRefresh = strictObject({
|
|
|
5666
5667
|
has_more: boolean()
|
|
5667
5668
|
});
|
|
5668
5669
|
|
|
5669
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5670
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.634.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_c47469194f2825719a552db4a380e89c/node_modules/@wirecat/cli-core/dist/entities/chat-moderation.js
|
|
5670
5671
|
var action = picklist(["report", "delete", "remove"]);
|
|
5671
5672
|
var level = picklist(["deny", "readonly", "ask", "allow"]);
|
|
5672
5673
|
var chatRules = strictObject({
|
|
@@ -5703,7 +5704,7 @@ var chatModeration = strictObject({
|
|
|
5703
5704
|
}))
|
|
5704
5705
|
});
|
|
5705
5706
|
|
|
5706
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5707
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.634.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_c47469194f2825719a552db4a380e89c/node_modules/@wirecat/cli-core/dist/entities/chat-stats.js
|
|
5707
5708
|
var optionalCount = optional(count);
|
|
5708
5709
|
var minutes = nullable(number());
|
|
5709
5710
|
var chatStats = strictObject({
|
|
@@ -5756,6 +5757,8 @@ var chatStats = strictObject({
|
|
|
5756
5757
|
});
|
|
5757
5758
|
var ms = nullable(pipe(number(), minValue(0)));
|
|
5758
5759
|
var taskStats = strictObject({
|
|
5760
|
+
/** Every account counted, `provider:account`, when the answer reads several (memo without `--source`). */
|
|
5761
|
+
accounts: optional(array(text)),
|
|
5759
5762
|
/** Open tasks across every row. */
|
|
5760
5763
|
open: count,
|
|
5761
5764
|
created: count,
|
|
@@ -5777,7 +5780,7 @@ var taskStats = strictObject({
|
|
|
5777
5780
|
}))
|
|
5778
5781
|
});
|
|
5779
5782
|
|
|
5780
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5783
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.634.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_c47469194f2825719a552db4a380e89c/node_modules/@wirecat/cli-core/dist/entities/chat-tracking.js
|
|
5781
5784
|
var memberCount = strictObject({
|
|
5782
5785
|
day: pipe(text, isoDate()),
|
|
5783
5786
|
participants: nullable(count),
|
|
@@ -5800,7 +5803,7 @@ var chatTracking = strictObject({
|
|
|
5800
5803
|
tracked: boolean()
|
|
5801
5804
|
});
|
|
5802
5805
|
|
|
5803
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5806
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.634.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_c47469194f2825719a552db4a380e89c/node_modules/@wirecat/cli-core/dist/entities/contact-read.js
|
|
5804
5807
|
var contactLookup = strictObject({ id, name: nullable(text), username: nullable(text) });
|
|
5805
5808
|
var contactSync = strictObject({ added: count, changed: count, known: count });
|
|
5806
5809
|
var profileFields = {
|
|
@@ -5838,7 +5841,7 @@ var profileFields = {
|
|
|
5838
5841
|
}))
|
|
5839
5842
|
};
|
|
5840
5843
|
|
|
5841
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5844
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.634.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_c47469194f2825719a552db4a380e89c/node_modules/@wirecat/cli-core/dist/entities/contact.js
|
|
5842
5845
|
var contact = strictObject({
|
|
5843
5846
|
ref: reference,
|
|
5844
5847
|
id,
|
|
@@ -5869,7 +5872,7 @@ var contact = strictObject({
|
|
|
5869
5872
|
notes: optional(array(strictObject({ id, text, revision: count, created_at: time, updated_at: time })))
|
|
5870
5873
|
});
|
|
5871
5874
|
|
|
5872
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5875
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.634.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_c47469194f2825719a552db4a380e89c/node_modules/@wirecat/cli-core/dist/entities/contact-note.js
|
|
5873
5876
|
var contactNote = strictObject({
|
|
5874
5877
|
id,
|
|
5875
5878
|
/** The contact, as a `contact:` reference. */
|
|
@@ -5881,13 +5884,13 @@ var contactNote = strictObject({
|
|
|
5881
5884
|
updated_at: time
|
|
5882
5885
|
});
|
|
5883
5886
|
|
|
5884
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5887
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.634.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_c47469194f2825719a552db4a380e89c/node_modules/@wirecat/cli-core/dist/entities/contact-write.js
|
|
5885
5888
|
var addressBookPerson = strictObject({ id, name: nullable(text), username: nullable(text) });
|
|
5886
5889
|
var contactUpdate = strictObject({ operation_id: id, person: addressBookPerson });
|
|
5887
5890
|
var contactStateChange = strictObject({ operation_id: id, person_id: id });
|
|
5888
5891
|
var contactImport = strictObject({ operation_id: id, sent: count, recognised: array(addressBookPerson) });
|
|
5889
5892
|
|
|
5890
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5893
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.634.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_c47469194f2825719a552db4a380e89c/node_modules/@wirecat/cli-core/dist/entities/conversation.js
|
|
5891
5894
|
var conversation = strictObject({
|
|
5892
5895
|
id,
|
|
5893
5896
|
chat: reference,
|
|
@@ -5902,7 +5905,7 @@ var conversation = strictObject({
|
|
|
5902
5905
|
rules_version: count
|
|
5903
5906
|
});
|
|
5904
5907
|
|
|
5905
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5908
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.634.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_c47469194f2825719a552db4a380e89c/node_modules/@wirecat/cli-core/dist/entities/conversation-preparation.js
|
|
5906
5909
|
var conversationBuild = strictObject({
|
|
5907
5910
|
chat: id,
|
|
5908
5911
|
messages: count,
|
|
@@ -5927,7 +5930,7 @@ var catchUpPreparation = strictObject({
|
|
|
5927
5930
|
prepared: optional(conversationPreparation)
|
|
5928
5931
|
});
|
|
5929
5932
|
|
|
5930
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5933
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.634.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_c47469194f2825719a552db4a380e89c/node_modules/@wirecat/cli-core/dist/entities/conversation-results.js
|
|
5931
5934
|
var conversationDetails = union([
|
|
5932
5935
|
strictObject({ ...conversation.entries, messages: array(message) }),
|
|
5933
5936
|
message
|
|
@@ -6017,7 +6020,7 @@ var conversationHit = strictObject({
|
|
|
6017
6020
|
stale: boolean()
|
|
6018
6021
|
});
|
|
6019
6022
|
|
|
6020
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6023
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.634.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_c47469194f2825719a552db4a380e89c/node_modules/@wirecat/cli-core/dist/entities/counters.js
|
|
6021
6024
|
var counters = strictObject({
|
|
6022
6025
|
cutoff: time,
|
|
6023
6026
|
max_age_ms: milliseconds,
|
|
@@ -6047,7 +6050,7 @@ var counterRefresh = strictObject({
|
|
|
6047
6050
|
complete: optional(boolean())
|
|
6048
6051
|
});
|
|
6049
6052
|
|
|
6050
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6053
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.634.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_c47469194f2825719a552db4a380e89c/node_modules/@wirecat/cli-core/dist/entities/document.js
|
|
6051
6054
|
var document = strictObject({
|
|
6052
6055
|
ref: reference,
|
|
6053
6056
|
id,
|
|
@@ -6062,7 +6065,7 @@ var document = strictObject({
|
|
|
6062
6065
|
owners: optional(array(text))
|
|
6063
6066
|
});
|
|
6064
6067
|
|
|
6065
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6068
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.634.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_c47469194f2825719a552db4a380e89c/node_modules/@wirecat/cli-core/dist/entities/document-link.js
|
|
6066
6069
|
var documentLink = strictObject({
|
|
6067
6070
|
ref: reference,
|
|
6068
6071
|
url: text,
|
|
@@ -6073,7 +6076,7 @@ var documentLink = strictObject({
|
|
|
6073
6076
|
sender: strictObject({ id: nullable(id), name: nullable(text) })
|
|
6074
6077
|
});
|
|
6075
6078
|
|
|
6076
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6079
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.634.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_c47469194f2825719a552db4a380e89c/node_modules/@wirecat/cli-core/dist/entities/evidence.js
|
|
6077
6080
|
var evidenceMessage = pick(message, ["ref", "chat_title", "timestamp", "sender_name", "text"]);
|
|
6078
6081
|
var contribution = strictObject({
|
|
6079
6082
|
message: evidenceMessage,
|
|
@@ -6103,7 +6106,7 @@ var retentionStay = strictObject({
|
|
|
6103
6106
|
});
|
|
6104
6107
|
var evidence = union([contribution, retentionStay]);
|
|
6105
6108
|
|
|
6106
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6109
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.634.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_c47469194f2825719a552db4a380e89c/node_modules/@wirecat/cli-core/dist/entities/fact.js
|
|
6107
6110
|
var fact = strictObject({
|
|
6108
6111
|
ref: reference,
|
|
6109
6112
|
id,
|
|
@@ -6134,7 +6137,7 @@ var fact = strictObject({
|
|
|
6134
6137
|
updated_at: time
|
|
6135
6138
|
});
|
|
6136
6139
|
|
|
6137
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6140
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.634.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_c47469194f2825719a552db4a380e89c/node_modules/@wirecat/cli-core/dist/entities/hit.js
|
|
6138
6141
|
var hit = strictObject({
|
|
6139
6142
|
kind: picklist(["message", "mail", "note", "document", "event", "meeting", "deal", "lead", ...BUSINESS_KINDS]),
|
|
6140
6143
|
ref: reference,
|
|
@@ -6180,7 +6183,7 @@ var hit = strictObject({
|
|
|
6180
6183
|
untrusted
|
|
6181
6184
|
});
|
|
6182
6185
|
|
|
6183
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6186
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.634.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_c47469194f2825719a552db4a380e89c/node_modules/@wirecat/cli-core/dist/entities/identity.js
|
|
6184
6187
|
var identity = strictObject({
|
|
6185
6188
|
ref: reference,
|
|
6186
6189
|
provider: text,
|
|
@@ -6196,7 +6199,7 @@ var identity = strictObject({
|
|
|
6196
6199
|
person: optional(nullable(reference))
|
|
6197
6200
|
});
|
|
6198
6201
|
|
|
6199
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6202
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.634.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_c47469194f2825719a552db4a380e89c/node_modules/@wirecat/cli-core/dist/entities/image-embedding.js
|
|
6200
6203
|
var imageEmbedding = strictObject({
|
|
6201
6204
|
model: text,
|
|
6202
6205
|
embedded: count,
|
|
@@ -6205,13 +6208,13 @@ var imageEmbedding = strictObject({
|
|
|
6205
6208
|
more: boolean()
|
|
6206
6209
|
});
|
|
6207
6210
|
|
|
6208
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6211
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.634.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_c47469194f2825719a552db4a380e89c/node_modules/@wirecat/cli-core/dist/services/backfill-jobs.js
|
|
6209
6212
|
import { spawn } from "node:child_process";
|
|
6210
6213
|
import { randomBytes } from "node:crypto";
|
|
6211
6214
|
import { closeSync, existsSync, mkdirSync, openSync, readdirSync, readFileSync, realpathSync, rmSync } from "node:fs";
|
|
6212
6215
|
import { dirname, join } from "node:path";
|
|
6213
6216
|
|
|
6214
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6217
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.634.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_c47469194f2825719a552db4a380e89c/node_modules/@wirecat/cli-core/dist/background/checkpoints.js
|
|
6215
6218
|
var progressOf = /* @__PURE__ */ __name((input) => {
|
|
6216
6219
|
const total = input.total ?? null;
|
|
6217
6220
|
const updated = input.updatedAt ?? null;
|
|
@@ -6242,7 +6245,7 @@ var progressLine = /* @__PURE__ */ __name((progress2) => {
|
|
|
6242
6245
|
return `${progress2.job} ${progress2.profile}: ${of} \u2014 ${progress2.state}${when}`;
|
|
6243
6246
|
}, "progressLine");
|
|
6244
6247
|
|
|
6245
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6248
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.634.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_c47469194f2825719a552db4a380e89c/node_modules/@wirecat/cli-core/dist/runs/record-log.js
|
|
6246
6249
|
var recordLogFor = /* @__PURE__ */ __name((to, app, { traceId, command } = {}) => {
|
|
6247
6250
|
const run = currentRun();
|
|
6248
6251
|
const trace = traceId ?? run.traceId;
|
|
@@ -6256,7 +6259,7 @@ var recordLogFor = /* @__PURE__ */ __name((to, app, { traceId, command } = {}) =
|
|
|
6256
6259
|
}));
|
|
6257
6260
|
}, "recordLogFor");
|
|
6258
6261
|
|
|
6259
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6262
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.634.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_c47469194f2825719a552db4a380e89c/node_modules/@wirecat/cli-core/dist/services/backfill-jobs.js
|
|
6260
6263
|
var JOB_STATES = ["running", "done", "partial", "failed", "cancelled", "died"];
|
|
6261
6264
|
var spawnDetached = /* @__PURE__ */ __name((argv, env, log) => {
|
|
6262
6265
|
const out = openSync(log, "a", 384);
|
|
@@ -6411,7 +6414,7 @@ var startArchiveJob = /* @__PURE__ */ __name((app, env, profile, input, spawnJob
|
|
|
6411
6414
|
return { job: id6, pid, chat: input.chat, log };
|
|
6412
6415
|
}, "startArchiveJob");
|
|
6413
6416
|
|
|
6414
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6417
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.634.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_c47469194f2825719a552db4a380e89c/node_modules/@wirecat/cli-core/dist/entities/job.js
|
|
6415
6418
|
var problem = strictObject({ code: text, message: text });
|
|
6416
6419
|
var job = strictObject({
|
|
6417
6420
|
id,
|
|
@@ -6434,7 +6437,7 @@ var job = strictObject({
|
|
|
6434
6437
|
error: optional(problem)
|
|
6435
6438
|
});
|
|
6436
6439
|
|
|
6437
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6440
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.634.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_c47469194f2825719a552db4a380e89c/node_modules/@wirecat/cli-core/dist/entities/join-request.js
|
|
6438
6441
|
var joinRequest = strictObject({
|
|
6439
6442
|
person_id: id,
|
|
6440
6443
|
name: nullable(text),
|
|
@@ -6445,7 +6448,7 @@ var joinRequest = strictObject({
|
|
|
6445
6448
|
about: optional(text)
|
|
6446
6449
|
});
|
|
6447
6450
|
|
|
6448
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6451
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.634.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_c47469194f2825719a552db4a380e89c/node_modules/@wirecat/cli-core/dist/entities/list-results.js
|
|
6449
6452
|
var botProfile = strictObject({
|
|
6450
6453
|
name: text,
|
|
6451
6454
|
token: text,
|
|
@@ -6542,7 +6545,7 @@ var stickerInventory = strictObject({
|
|
|
6542
6545
|
url: optional(nullable(text))
|
|
6543
6546
|
});
|
|
6544
6547
|
|
|
6545
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6548
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.634.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_c47469194f2825719a552db4a380e89c/node_modules/@wirecat/cli-core/dist/entities/poll-vote.js
|
|
6546
6549
|
var pollVote = strictObject({
|
|
6547
6550
|
person_id: id,
|
|
6548
6551
|
name: nullable(text),
|
|
@@ -6552,7 +6555,7 @@ var pollVote = strictObject({
|
|
|
6552
6555
|
voted_at: time
|
|
6553
6556
|
});
|
|
6554
6557
|
|
|
6555
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6558
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.634.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_c47469194f2825719a552db4a380e89c/node_modules/@wirecat/cli-core/dist/entities/listener.js
|
|
6556
6559
|
var reactions = unwrap(unwrap(message.entries.reactions));
|
|
6557
6560
|
var observation = strictObject({
|
|
6558
6561
|
value: pipe(number(), minValue(0)),
|
|
@@ -6594,7 +6597,7 @@ var serveSummary = strictObject({
|
|
|
6594
6597
|
tasks: optional(strictObject({ added: count, closed: count, review: count }))
|
|
6595
6598
|
});
|
|
6596
6599
|
|
|
6597
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6600
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.634.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_c47469194f2825719a552db4a380e89c/node_modules/@wirecat/cli-core/dist/entities/mail-counts.js
|
|
6598
6601
|
var mailCounts = strictObject({
|
|
6599
6602
|
by: picklist(["day", "week", "sender"]),
|
|
6600
6603
|
received: count,
|
|
@@ -6609,7 +6612,7 @@ var mailCounts = strictObject({
|
|
|
6609
6612
|
}))
|
|
6610
6613
|
});
|
|
6611
6614
|
|
|
6612
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6615
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.634.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_c47469194f2825719a552db4a380e89c/node_modules/@wirecat/cli-core/dist/entities/mail-findings.js
|
|
6613
6616
|
var evidence2 = strictObject({ reference, fingerprint: text });
|
|
6614
6617
|
var base = { id, evidence: array(evidence2) };
|
|
6615
6618
|
var finding = variant("kind", [
|
|
@@ -6753,7 +6756,7 @@ var mailFindings = strictObject({
|
|
|
6753
6756
|
receipt: nullable(strictObject({ preview_fingerprint: text, accepted: array(id), items: array(outcome2) }))
|
|
6754
6757
|
});
|
|
6755
6758
|
|
|
6756
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6759
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.634.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_c47469194f2825719a552db4a380e89c/node_modules/@wirecat/cli-core/dist/entities/media-archive.js
|
|
6757
6760
|
var mediaArchive = strictObject({
|
|
6758
6761
|
directory: text,
|
|
6759
6762
|
chats: count,
|
|
@@ -6785,7 +6788,7 @@ var mediaArchiveTimer = union([
|
|
|
6785
6788
|
strictObject({ ...timer, action: picklist(["install", "start", "stop", "uninstall"]) })
|
|
6786
6789
|
]);
|
|
6787
6790
|
|
|
6788
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6791
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.634.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_c47469194f2825719a552db4a380e89c/node_modules/@wirecat/cli-core/dist/entities/meeting-preparation-parts.js
|
|
6789
6792
|
var preparationId = pipe(string(), minLength(1));
|
|
6790
6793
|
var preparationCount = pipe(number(), integer(), minValue(0));
|
|
6791
6794
|
var preparationTime = nullable(isoTime);
|
|
@@ -6877,7 +6880,7 @@ var preparationMeeting = strictObject({
|
|
|
6877
6880
|
updated_at: isoTime
|
|
6878
6881
|
});
|
|
6879
6882
|
|
|
6880
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6883
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.634.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_c47469194f2825719a552db4a380e89c/node_modules/@wirecat/cli-core/dist/entities/meeting-evidence.js
|
|
6881
6884
|
var meetingEvidence = preparationEvidence;
|
|
6882
6885
|
var meetingPersonContext = strictObject({
|
|
6883
6886
|
person: strictObject({ uid: string(), name: nullable(string()) }),
|
|
@@ -6899,7 +6902,7 @@ var meetingPersonContext = strictObject({
|
|
|
6899
6902
|
})
|
|
6900
6903
|
});
|
|
6901
6904
|
|
|
6902
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6905
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.634.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_c47469194f2825719a552db4a380e89c/node_modules/@wirecat/cli-core/dist/entities/meeting-findings.js
|
|
6903
6906
|
var evidence3 = strictObject({ reference, fingerprint: text });
|
|
6904
6907
|
var base2 = { id, project: reference, evidence: array(evidence3) };
|
|
6905
6908
|
var finding2 = variant("kind", [
|
|
@@ -6937,7 +6940,7 @@ var meetingFindings = strictObject({
|
|
|
6937
6940
|
receipt: nullable(strictObject({ preview_fingerprint: text, accepted: array(id), items: array(outcome3) }))
|
|
6938
6941
|
});
|
|
6939
6942
|
|
|
6940
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6943
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.634.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_c47469194f2825719a552db4a380e89c/node_modules/@wirecat/cli-core/dist/entities/meeting-communications.js
|
|
6941
6944
|
var communicationCoverage = strictObject({
|
|
6942
6945
|
read_usage: strictObject({ reads: preparationCount, charged_bytes: preparationCount, reserved_bytes: preparationCount, remaining_bytes: preparationCount }),
|
|
6943
6946
|
query: string(),
|
|
@@ -6982,7 +6985,7 @@ var preparationCommunications = strictObject({
|
|
|
6982
6985
|
}))
|
|
6983
6986
|
});
|
|
6984
6987
|
|
|
6985
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6988
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.634.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_c47469194f2825719a552db4a380e89c/node_modules/@wirecat/cli-core/dist/entities/meeting-preparation.js
|
|
6986
6989
|
var meetingPreparation = strictObject({
|
|
6987
6990
|
communications: optional(preparationCommunications),
|
|
6988
6991
|
schema_version: literal(1),
|
|
@@ -7095,7 +7098,7 @@ var meetingPreparation = strictObject({
|
|
|
7095
7098
|
})
|
|
7096
7099
|
});
|
|
7097
7100
|
|
|
7098
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7101
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.634.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_c47469194f2825719a552db4a380e89c/node_modules/@wirecat/cli-core/dist/entities/meeting-project-candidates.js
|
|
7099
7102
|
var count3 = pipe(number(), integer(), minValue(0));
|
|
7100
7103
|
var id3 = pipe(string(), minLength(1));
|
|
7101
7104
|
var text3 = string();
|
|
@@ -7159,7 +7162,7 @@ var meetingProjectCandidates = strictObject({
|
|
|
7159
7162
|
})
|
|
7160
7163
|
});
|
|
7161
7164
|
|
|
7162
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7165
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.634.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_c47469194f2825719a552db4a380e89c/node_modules/@wirecat/cli-core/dist/entities/meeting-series-inventory.js
|
|
7163
7166
|
var count4 = pipe(number(), integer(), minValue(0));
|
|
7164
7167
|
var id4 = pipe(string(), minLength(1), maxLength(1e3));
|
|
7165
7168
|
var meetingSeriesInventory = strictObject({
|
|
@@ -7189,7 +7192,7 @@ var meetingSeriesInventory = strictObject({
|
|
|
7189
7192
|
})
|
|
7190
7193
|
});
|
|
7191
7194
|
|
|
7192
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7195
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.634.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_c47469194f2825719a552db4a380e89c/node_modules/@wirecat/cli-core/dist/entities/meeting-task-proposal.js
|
|
7193
7196
|
var text4 = string();
|
|
7194
7197
|
var id5 = pipe(number(), integer(), minValue(1));
|
|
7195
7198
|
var revision = picklist(["current", "superseded"]);
|
|
@@ -7206,7 +7209,7 @@ var meetingTaskProposal = strictObject({
|
|
|
7206
7209
|
persistence: literal("proposal-only")
|
|
7207
7210
|
});
|
|
7208
7211
|
|
|
7209
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7212
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.634.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_c47469194f2825719a552db4a380e89c/node_modules/@wirecat/cli-core/dist/entities/memory.js
|
|
7210
7213
|
var memory = strictObject({
|
|
7211
7214
|
ref: reference,
|
|
7212
7215
|
id,
|
|
@@ -7234,7 +7237,7 @@ var memory = strictObject({
|
|
|
7234
7237
|
updated_at: time
|
|
7235
7238
|
});
|
|
7236
7239
|
|
|
7237
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7240
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.634.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_c47469194f2825719a552db4a380e89c/node_modules/@wirecat/cli-core/dist/entities/mention.js
|
|
7238
7241
|
var kind = picklist(["phone", "email", "url", "document", "person-name", "place"]);
|
|
7239
7242
|
var status = picklist(["found", "linked", "proposed", "dismissed"]);
|
|
7240
7243
|
var mention = strictObject({
|
|
@@ -7278,13 +7281,13 @@ var mentionRebuild = strictObject({
|
|
|
7278
7281
|
mentions: count
|
|
7279
7282
|
});
|
|
7280
7283
|
|
|
7281
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7284
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.634.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_c47469194f2825719a552db4a380e89c/node_modules/@wirecat/cli-core/dist/entities/message-change.js
|
|
7282
7285
|
var operated3 = { operation_id: id, chat_id: id };
|
|
7283
7286
|
var messagePin = strictObject({ ...operated3, message_id: id, pinned: boolean() });
|
|
7284
7287
|
var messageStar = strictObject({ ...operated3, message_id: id, starred: boolean() });
|
|
7285
7288
|
var messageDeletion = strictObject({ ...operated3, deleted: array(id), for_everyone: boolean() });
|
|
7286
7289
|
|
|
7287
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7290
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.634.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_c47469194f2825719a552db4a380e89c/node_modules/@wirecat/cli-core/dist/entities/message-read.js
|
|
7288
7291
|
var messageTranscript = strictObject({
|
|
7289
7292
|
message_id: id,
|
|
7290
7293
|
text,
|
|
@@ -7342,7 +7345,7 @@ var evidencePacket = strictObject({
|
|
|
7342
7345
|
}))
|
|
7343
7346
|
});
|
|
7344
7347
|
|
|
7345
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7348
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.634.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_c47469194f2825719a552db4a380e89c/node_modules/@wirecat/cli-core/dist/entities/message-context.js
|
|
7346
7349
|
var messageThread = strictObject({
|
|
7347
7350
|
ref: reference,
|
|
7348
7351
|
chat: id,
|
|
@@ -7359,7 +7362,7 @@ var messageThread = strictObject({
|
|
|
7359
7362
|
});
|
|
7360
7363
|
var messageContext = union([message, messageThread]);
|
|
7361
7364
|
|
|
7362
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7365
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.634.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_c47469194f2825719a552db4a380e89c/node_modules/@wirecat/cli-core/dist/entities/message-counts.js
|
|
7363
7366
|
var messageCounts = strictObject({
|
|
7364
7367
|
by: picklist(["chat", "sender", "day", "hour"]),
|
|
7365
7368
|
total: count,
|
|
@@ -7372,7 +7375,7 @@ var messageCounts = strictObject({
|
|
|
7372
7375
|
}))
|
|
7373
7376
|
});
|
|
7374
7377
|
|
|
7375
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7378
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.634.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_c47469194f2825719a552db4a380e89c/node_modules/@wirecat/cli-core/dist/entities/message-link.js
|
|
7376
7379
|
var messageLink = strictObject({
|
|
7377
7380
|
ref: reference,
|
|
7378
7381
|
url: nullable(text),
|
|
@@ -7389,7 +7392,7 @@ var messageLink = strictObject({
|
|
|
7389
7392
|
})))
|
|
7390
7393
|
});
|
|
7391
7394
|
|
|
7392
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7395
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.634.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_c47469194f2825719a552db4a380e89c/node_modules/@wirecat/cli-core/dist/entities/message-transfer.js
|
|
7393
7396
|
var savedMessageFile = strictObject({
|
|
7394
7397
|
kind: text,
|
|
7395
7398
|
path: text,
|
|
@@ -7476,7 +7479,7 @@ var messageSyncAll = strictObject({
|
|
|
7476
7479
|
var messageSyncStarted = strictObject({ job: id, pid: count, chat: text, log: text });
|
|
7477
7480
|
var messageSync = union([messageSyncEstimate, messageSyncChat, messageSyncAll, messageSyncStarted]);
|
|
7478
7481
|
|
|
7479
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7482
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.634.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_c47469194f2825719a552db4a380e89c/node_modules/@wirecat/cli-core/dist/entities/message-write.js
|
|
7480
7483
|
var messageWrite = strictObject({
|
|
7481
7484
|
operation_id: id,
|
|
7482
7485
|
message,
|
|
@@ -7491,7 +7494,7 @@ var draftWrite = strictObject({
|
|
|
7491
7494
|
});
|
|
7492
7495
|
var messageSend = union([messageWrite, draftWrite]);
|
|
7493
7496
|
|
|
7494
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7497
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.634.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_c47469194f2825719a552db4a380e89c/node_modules/@wirecat/cli-core/dist/entities/model.js
|
|
7495
7498
|
var model = strictObject({
|
|
7496
7499
|
id,
|
|
7497
7500
|
kind: picklist(["audio", "text", "image", "reranker"]),
|
|
@@ -7526,7 +7529,7 @@ var chosenModel = strictObject({
|
|
|
7526
7529
|
estimate_seconds: nullable(count)
|
|
7527
7530
|
});
|
|
7528
7531
|
|
|
7529
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7532
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.634.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_c47469194f2825719a552db4a380e89c/node_modules/@wirecat/cli-core/dist/entities/model-key.js
|
|
7530
7533
|
var source = picklist(["environment", "keyring", "file"]);
|
|
7531
7534
|
var modelKey = strictObject({
|
|
7532
7535
|
provider: text,
|
|
@@ -7536,7 +7539,7 @@ var modelKey = strictObject({
|
|
|
7536
7539
|
var storedModelKey = strictObject({ ...omit(modelKey, ["removed"]).entries, stored: source });
|
|
7537
7540
|
var removedModelKey = strictObject({ ...omit(modelKey, ["stored"]).entries, removed: array(source) });
|
|
7538
7541
|
|
|
7539
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7542
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.634.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_c47469194f2825719a552db4a380e89c/node_modules/@wirecat/cli-core/dist/entities/note.js
|
|
7540
7543
|
var link = {
|
|
7541
7544
|
target_text: nullable(text),
|
|
7542
7545
|
kind: text,
|
|
@@ -7577,7 +7580,7 @@ var note = strictObject({
|
|
|
7577
7580
|
backlinks: optional(array(strictObject({ from: reference, ...link })))
|
|
7578
7581
|
});
|
|
7579
7582
|
|
|
7580
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7583
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.634.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_c47469194f2825719a552db4a380e89c/node_modules/@wirecat/cli-core/dist/entities/official-stats.js
|
|
7581
7584
|
var versus = strictObject({ current: number(), previous: number() });
|
|
7582
7585
|
var person = { person_ref: reference, name: nullable(text) };
|
|
7583
7586
|
var graph = strictObject({
|
|
@@ -7611,14 +7614,14 @@ var officialStats = strictObject({
|
|
|
7611
7614
|
graphs: record(string(), union([graph, strictObject({ error: text })]))
|
|
7612
7615
|
});
|
|
7613
7616
|
|
|
7614
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7617
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.634.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_c47469194f2825719a552db4a380e89c/node_modules/@wirecat/cli-core/dist/entities/person.js
|
|
7615
7618
|
var person2 = strictObject({
|
|
7616
7619
|
ref: reference,
|
|
7617
7620
|
name: nullable(text),
|
|
7618
7621
|
identities: optional(array(identity))
|
|
7619
7622
|
});
|
|
7620
7623
|
|
|
7621
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7624
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.634.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_c47469194f2825719a552db4a380e89c/node_modules/@wirecat/cli-core/dist/entities/poll.js
|
|
7622
7625
|
var poll = strictObject({
|
|
7623
7626
|
chat_id: id,
|
|
7624
7627
|
message_id: id,
|
|
@@ -7634,11 +7637,11 @@ var poll = strictObject({
|
|
|
7634
7637
|
});
|
|
7635
7638
|
var pollChange = strictObject({ operation_id: id, poll });
|
|
7636
7639
|
|
|
7637
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7640
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.634.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_c47469194f2825719a552db4a380e89c/node_modules/@wirecat/cli-core/dist/entities/private-contact.js
|
|
7638
7641
|
var contactAlias = strictObject({ person_id: id, alias: nullable(text) });
|
|
7639
7642
|
var contactNoteRemoval = strictObject({ id, person_id: id, removed: boolean() });
|
|
7640
7643
|
|
|
7641
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7644
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.634.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_c47469194f2825719a552db4a380e89c/node_modules/@wirecat/cli-core/dist/entities/ranking.js
|
|
7642
7645
|
var figures = record(string(), number());
|
|
7643
7646
|
var freshness = picklist(["fresh", "stale", "partial", "unknown"]);
|
|
7644
7647
|
var rankingRow = strictObject({
|
|
@@ -7685,7 +7688,7 @@ var ranking = strictObject({
|
|
|
7685
7688
|
rows: array(rankingRow)
|
|
7686
7689
|
});
|
|
7687
7690
|
|
|
7688
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7691
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.634.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_c47469194f2825719a552db4a380e89c/node_modules/@wirecat/cli-core/dist/entities/reaction.js
|
|
7689
7692
|
var reaction = strictObject({
|
|
7690
7693
|
person: strictObject({ id, name: nullable(text), username: nullable(text) }),
|
|
7691
7694
|
/** The emoji, or `custom:<id>` for a custom one. */
|
|
@@ -7693,7 +7696,7 @@ var reaction = strictObject({
|
|
|
7693
7696
|
reacted_at: time
|
|
7694
7697
|
});
|
|
7695
7698
|
|
|
7696
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7699
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.634.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_c47469194f2825719a552db4a380e89c/node_modules/@wirecat/cli-core/dist/entities/reaction-change.js
|
|
7697
7700
|
var reactionChange = strictObject({
|
|
7698
7701
|
operation_id: id,
|
|
7699
7702
|
chat_id: id,
|
|
@@ -7701,7 +7704,7 @@ var reactionChange = strictObject({
|
|
|
7701
7704
|
reaction: nullable(text)
|
|
7702
7705
|
});
|
|
7703
7706
|
|
|
7704
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7707
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.634.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_c47469194f2825719a552db4a380e89c/node_modules/@wirecat/cli-core/dist/entities/recipient.js
|
|
7705
7708
|
var recipient = strictObject({ id, title: nullable(text), partner_id: optional(id), added_at: time });
|
|
7706
7709
|
var recipientAdded = strictObject({ id, title: nullable(text), added: boolean() });
|
|
7707
7710
|
var recipientRemoved = strictObject({ id, title: nullable(text), removed: boolean() });
|
|
@@ -7712,7 +7715,7 @@ var recipientChange = strictObject({
|
|
|
7712
7715
|
...partial(recipientOff).entries
|
|
7713
7716
|
});
|
|
7714
7717
|
|
|
7715
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7718
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.634.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_c47469194f2825719a552db4a380e89c/node_modules/@wirecat/cli-core/dist/entities/recorded-run.js
|
|
7716
7719
|
var events = array(record(string(), unknown()));
|
|
7717
7720
|
var recordedRun = strictObject({
|
|
7718
7721
|
run_id: id,
|
|
@@ -7784,7 +7787,7 @@ var runHit = strictObject({
|
|
|
7784
7787
|
});
|
|
7785
7788
|
var runLocation = strictObject({ path: text });
|
|
7786
7789
|
|
|
7787
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7790
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.634.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_c47469194f2825719a552db4a380e89c/node_modules/@wirecat/cli-core/dist/entities/relationship.js
|
|
7788
7791
|
var relationship = strictObject({
|
|
7789
7792
|
id,
|
|
7790
7793
|
from: reference,
|
|
@@ -7811,7 +7814,7 @@ var relationship = strictObject({
|
|
|
7811
7814
|
created_at: time
|
|
7812
7815
|
});
|
|
7813
7816
|
|
|
7814
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7817
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.634.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_c47469194f2825719a552db4a380e89c/node_modules/@wirecat/cli-core/dist/entities/reply-stats.js
|
|
7815
7818
|
var milliseconds2 = nullable(pipe(number(), minValue(0)));
|
|
7816
7819
|
var figures2 = { replies: count, median_ms: milliseconds2, p90_ms: milliseconds2, mean_ms: milliseconds2 };
|
|
7817
7820
|
var responseTimes = strictObject({
|
|
@@ -7828,7 +7831,7 @@ var waitingChats = strictObject({
|
|
|
7828
7831
|
by_kind: strictObject({ private: count, group: count })
|
|
7829
7832
|
});
|
|
7830
7833
|
|
|
7831
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7834
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.634.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_c47469194f2825719a552db4a380e89c/node_modules/@wirecat/cli-core/dist/entities/retention.js
|
|
7832
7835
|
var retentionCohort = strictObject({
|
|
7833
7836
|
/** The first day of the joining day or week. */
|
|
7834
7837
|
cohort: text,
|
|
@@ -7876,7 +7879,7 @@ var retention = strictObject({
|
|
|
7876
7879
|
rows: array(retentionCohort)
|
|
7877
7880
|
});
|
|
7878
7881
|
|
|
7879
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7882
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.634.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_c47469194f2825719a552db4a380e89c/node_modules/@wirecat/cli-core/dist/entities/saved-search.js
|
|
7880
7883
|
var savedSearch = strictObject({
|
|
7881
7884
|
id,
|
|
7882
7885
|
/** `null` for a run in the history. */
|
|
@@ -7893,7 +7896,7 @@ var savedSearch = strictObject({
|
|
|
7893
7896
|
});
|
|
7894
7897
|
var searchHistoryClear = strictObject({ cleared: count });
|
|
7895
7898
|
|
|
7896
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7899
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.634.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_c47469194f2825719a552db4a380e89c/node_modules/@wirecat/cli-core/dist/entities/send-attempt.js
|
|
7897
7900
|
var sendAttempt = strictObject({
|
|
7898
7901
|
at: time,
|
|
7899
7902
|
profile: text,
|
|
@@ -7921,7 +7924,7 @@ var sendAttempt = strictObject({
|
|
|
7921
7924
|
error_code: optional(text)
|
|
7922
7925
|
});
|
|
7923
7926
|
|
|
7924
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7927
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.634.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_c47469194f2825719a552db4a380e89c/node_modules/@wirecat/cli-core/dist/entities/store-maintenance.js
|
|
7925
7928
|
var absent = strictObject({ path: text, exists: literal(false) });
|
|
7926
7929
|
var schema = strictObject({ version: count, min_compatible: count, writable: boolean(), speaks: count });
|
|
7927
7930
|
var infoSchema = strictObject({
|
|
@@ -8095,6 +8098,15 @@ var storeRestore = union([
|
|
|
8095
8098
|
foreign_key_violations: count
|
|
8096
8099
|
})
|
|
8097
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
|
+
});
|
|
8098
8110
|
var storeReset = union([
|
|
8099
8111
|
strictObject({ ...absent.entries, reset: literal(false) }),
|
|
8100
8112
|
strictObject({
|
|
@@ -8142,7 +8154,7 @@ var storeRepair = union([
|
|
|
8142
8154
|
]);
|
|
8143
8155
|
var storeCopyRemoval = strictObject({ path: text, deleted: strictObject({ name: text, rows: count }) });
|
|
8144
8156
|
|
|
8145
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8157
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.634.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_c47469194f2825719a552db4a380e89c/node_modules/@wirecat/cli-core/dist/entities/store-records.js
|
|
8146
8158
|
var range = strictObject({ from: number(), to: number() });
|
|
8147
8159
|
var storeChatStatus = strictObject({
|
|
8148
8160
|
chat_id: id,
|
|
@@ -8240,7 +8252,7 @@ var storeJobRetry = union([
|
|
|
8240
8252
|
]);
|
|
8241
8253
|
var storeJobClear = strictObject({ cleared: array(id) });
|
|
8242
8254
|
|
|
8243
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8255
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.634.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_c47469194f2825719a552db4a380e89c/node_modules/@wirecat/cli-core/dist/entities/store-table.js
|
|
8244
8256
|
var TABLE_KINDS = ["data", "search_index", "search_index_part", "internal"];
|
|
8245
8257
|
var storeTable = strictObject({
|
|
8246
8258
|
name: text,
|
|
@@ -8249,7 +8261,7 @@ var storeTable = strictObject({
|
|
|
8249
8261
|
bytes: optional(nullable(count))
|
|
8250
8262
|
});
|
|
8251
8263
|
|
|
8252
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8264
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.634.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_c47469194f2825719a552db4a380e89c/node_modules/@wirecat/cli-core/dist/entities/tag-change.js
|
|
8253
8265
|
var tagTarget = variant("type", [
|
|
8254
8266
|
strictObject({ type: literal("chat"), chat_id: id }),
|
|
8255
8267
|
strictObject({ type: literal("contact"), person_id: id }),
|
|
@@ -8280,7 +8292,7 @@ var automaticTags = strictObject({
|
|
|
8280
8292
|
dry_run: boolean()
|
|
8281
8293
|
});
|
|
8282
8294
|
|
|
8283
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8295
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.634.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_c47469194f2825719a552db4a380e89c/node_modules/@wirecat/cli-core/dist/entities/tagging.js
|
|
8284
8296
|
var tagging = strictObject({
|
|
8285
8297
|
tag: text,
|
|
8286
8298
|
type: picklist(TAG_TYPES),
|
|
@@ -8293,7 +8305,7 @@ var tagging = strictObject({
|
|
|
8293
8305
|
created_at: time
|
|
8294
8306
|
});
|
|
8295
8307
|
|
|
8296
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8308
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.634.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_c47469194f2825719a552db4a380e89c/node_modules/@wirecat/cli-core/dist/entities/task-pair.js
|
|
8297
8309
|
var side = strictObject({ ref: reference, key: text, title: text, status: text });
|
|
8298
8310
|
var taskPair = strictObject({
|
|
8299
8311
|
task: nullable(side),
|
|
@@ -8316,7 +8328,7 @@ var taskPair = strictObject({
|
|
|
8316
8328
|
created_at: time
|
|
8317
8329
|
});
|
|
8318
8330
|
|
|
8319
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8331
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.634.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_c47469194f2825719a552db4a380e89c/node_modules/@wirecat/cli-core/dist/entities/task-results.js
|
|
8320
8332
|
var nullableTime = nullable(time);
|
|
8321
8333
|
var link2 = strictObject({
|
|
8322
8334
|
id,
|
|
@@ -8490,7 +8502,7 @@ var taskReview = strictObject({
|
|
|
8490
8502
|
untrusted
|
|
8491
8503
|
});
|
|
8492
8504
|
|
|
8493
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8505
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.634.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_c47469194f2825719a552db4a380e89c/node_modules/@wirecat/cli-core/dist/entities/template.js
|
|
8494
8506
|
var template = strictObject({
|
|
8495
8507
|
key: text,
|
|
8496
8508
|
channel: picklist(["telegram", "email", "text"]),
|
|
@@ -8502,7 +8514,7 @@ var template = strictObject({
|
|
|
8502
8514
|
updated_by: nullable(text)
|
|
8503
8515
|
});
|
|
8504
8516
|
|
|
8505
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8517
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.634.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_c47469194f2825719a552db4a380e89c/node_modules/@wirecat/cli-core/dist/entities/topic.js
|
|
8506
8518
|
var topic = strictObject({
|
|
8507
8519
|
id,
|
|
8508
8520
|
title: text,
|
|
@@ -8516,7 +8528,7 @@ var topic = strictObject({
|
|
|
8516
8528
|
untrusted
|
|
8517
8529
|
});
|
|
8518
8530
|
|
|
8519
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8531
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.634.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_c47469194f2825719a552db4a380e89c/node_modules/@wirecat/cli-core/dist/entities/index.js
|
|
8520
8532
|
var ENTITIES = {
|
|
8521
8533
|
sync_progress: progress,
|
|
8522
8534
|
deal,
|
|
@@ -8743,6 +8755,7 @@ var ENTITIES = {
|
|
|
8743
8755
|
store_decrypt: storeDecrypt,
|
|
8744
8756
|
store_restore: storeRestore,
|
|
8745
8757
|
store_reset: storeReset,
|
|
8758
|
+
store_import: storeImport,
|
|
8746
8759
|
store_repair: storeRepair,
|
|
8747
8760
|
store_copy_removal: storeCopyRemoval,
|
|
8748
8761
|
store_table: storeTable,
|
|
@@ -8809,7 +8822,7 @@ var entityDefinitions = /* @__PURE__ */ __name(() => Object.fromEntries(Object.e
|
|
|
8809
8822
|
return [name, definition];
|
|
8810
8823
|
})), "entityDefinitions");
|
|
8811
8824
|
|
|
8812
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8825
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.634.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_c47469194f2825719a552db4a380e89c/node_modules/@wirecat/cli-core/dist/cli/answer-entity.js
|
|
8813
8826
|
var schemas = /* @__PURE__ */ new WeakMap();
|
|
8814
8827
|
var answerEntity = /* @__PURE__ */ __name((command, name, schema2, options = {}) => {
|
|
8815
8828
|
if (Object.hasOwn(ENTITIES, name))
|
|
@@ -8843,7 +8856,7 @@ var answerRow = /* @__PURE__ */ __name((command) => {
|
|
|
8843
8856
|
return own && metaOf(command).output?.entity === own.name ? own.row : void 0;
|
|
8844
8857
|
}, "answerRow");
|
|
8845
8858
|
|
|
8846
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8859
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.634.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_c47469194f2825719a552db4a380e89c/node_modules/@wirecat/cli-core/dist/cli/command-server-request.js
|
|
8847
8860
|
import { AsyncLocalStorage } from "node:async_hooks";
|
|
8848
8861
|
var requests = new AsyncLocalStorage();
|
|
8849
8862
|
var inCommandServerRequest = /* @__PURE__ */ __name((request, work) => requests.run(request, work), "inCommandServerRequest");
|
|
@@ -8858,7 +8871,7 @@ var exitCodeSet = /* @__PURE__ */ __name(() => {
|
|
|
8858
8871
|
return direct;
|
|
8859
8872
|
}, "exitCodeSet");
|
|
8860
8873
|
|
|
8861
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8874
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.634.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_c47469194f2825719a552db4a380e89c/node_modules/@wirecat/cli-core/dist/sends/guarded.js
|
|
8862
8875
|
import { AsyncLocalStorage as AsyncLocalStorage2 } from "node:async_hooks";
|
|
8863
8876
|
var sentIds = /* @__PURE__ */ __name((typed2, message2) => ({
|
|
8864
8877
|
messageId: message2.id,
|
|
@@ -8964,7 +8977,7 @@ var guardedWrite = /* @__PURE__ */ __name(async (guard, attempt, act, settled2 =
|
|
|
8964
8977
|
}, "guardedWrite");
|
|
8965
8978
|
var codeOf = /* @__PURE__ */ __name((error) => typeof error?.code === "string" ? error.code : "unknown", "codeOf");
|
|
8966
8979
|
|
|
8967
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8980
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.634.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_c47469194f2825719a552db4a380e89c/node_modules/@wirecat/cli-core/dist/cli/result-fields.js
|
|
8968
8981
|
var named2 = /* @__PURE__ */ __name((work) => {
|
|
8969
8982
|
try {
|
|
8970
8983
|
return work();
|
|
@@ -8991,7 +9004,7 @@ var projectFields2 = /* @__PURE__ */ __name((value, fields) => named2(() => {
|
|
|
8991
9004
|
return projectFields(value, fields);
|
|
8992
9005
|
}), "projectFields");
|
|
8993
9006
|
|
|
8994
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9007
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.634.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_c47469194f2825719a552db4a380e89c/node_modules/@wirecat/cli-core/dist/cli/execution.js
|
|
8995
9008
|
var DEFAULT_COOPERATIVE_MS = 5 * 6e4;
|
|
8996
9009
|
var DEFAULT_SYNC_MS = 15 * 6e4;
|
|
8997
9010
|
var DEFAULT_OUTPUT_BYTES = 4 * 1024 * 1024;
|
|
@@ -9013,7 +9026,7 @@ var withAbort = /* @__PURE__ */ __name(async (signal, body) => {
|
|
|
9013
9026
|
}
|
|
9014
9027
|
}, "withAbort");
|
|
9015
9028
|
|
|
9016
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9029
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.634.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_c47469194f2825719a552db4a380e89c/node_modules/@wirecat/cli-core/dist/cli/profile.js
|
|
9017
9030
|
var asFirstWord = /* @__PURE__ */ __name((profile) => `${profile} `, "asFirstWord");
|
|
9018
9031
|
var PLAIN_NAME = /^[A-Za-z0-9][A-Za-z0-9._-]*$/;
|
|
9019
9032
|
var isProfileName = /* @__PURE__ */ __name((word) => PLAIN_NAME.test(word), "isProfileName");
|
|
@@ -9073,7 +9086,7 @@ var rootOf = /* @__PURE__ */ __name((command) => {
|
|
|
9073
9086
|
return root;
|
|
9074
9087
|
}, "rootOf");
|
|
9075
9088
|
|
|
9076
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9089
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.634.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_c47469194f2825719a552db4a380e89c/node_modules/@wirecat/cli-core/dist/cli/messenger/accounts.js
|
|
9077
9090
|
import { existsSync as existsSync2, readdirSync as readdirSync2, readFileSync as readFileSync2 } from "node:fs";
|
|
9078
9091
|
import { join as join2 } from "node:path";
|
|
9079
9092
|
var accountFileFor = /* @__PURE__ */ __name((app, profile, env) => join2(resolvePaths({ appName: app.appName, prefix: app.envPrefix, env }).state, "accounts", `${profile}.json`), "accountFileFor");
|
|
@@ -9095,12 +9108,12 @@ var profilesWithAccounts = /* @__PURE__ */ __name((app, env) => {
|
|
|
9095
9108
|
}, "profilesWithAccounts");
|
|
9096
9109
|
var profilesHere = /* @__PURE__ */ __name((app, configured, env) => [.../* @__PURE__ */ new Set([...configured, ...profilesWithAccounts(app, env)])].sort(), "profilesHere");
|
|
9097
9110
|
|
|
9098
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9111
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.634.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_c47469194f2825719a552db4a380e89c/node_modules/@wirecat/cli-core/dist/background/budget.js
|
|
9099
9112
|
var DEADLINE_MARGIN_MS = 5e3;
|
|
9100
9113
|
var DEADLINE_MARGIN_SHARE = 0.15;
|
|
9101
9114
|
var deadlineMargin = /* @__PURE__ */ __name((deadline) => Math.max(DEADLINE_MARGIN_MS, deadline.ms * DEADLINE_MARGIN_SHARE), "deadlineMargin");
|
|
9102
9115
|
|
|
9103
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9116
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.634.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_c47469194f2825719a552db4a380e89c/node_modules/@wirecat/cli-core/dist/output-detail.js
|
|
9104
9117
|
var RARELY_SET = ["editedAt", "replyTo", "forwardedFrom", "reactions"];
|
|
9105
9118
|
var BRIEF = ["locator", "chatTitle", "timestamp", "senderName", "excerpt", "score"];
|
|
9106
9119
|
var SNAKE_BRIEF = ["ref", "chat_title", "timestamp", "sender_name", "excerpt", "score"];
|
|
@@ -9136,7 +9149,7 @@ var atDetail = /* @__PURE__ */ __name((value, detail = "default") => {
|
|
|
9136
9149
|
return value;
|
|
9137
9150
|
}, "atDetail");
|
|
9138
9151
|
|
|
9139
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9152
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.634.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_c47469194f2825719a552db4a380e89c/node_modules/@wirecat/cli-core/dist/output.js
|
|
9140
9153
|
var refuseCompact = /* @__PURE__ */ __name(({ json, jsonl, fields, hitDetail }) => {
|
|
9141
9154
|
const other = jsonl ? "--jsonl" : fields !== void 0 ? "--json=\u2026" : json ? "--json" : hitDetail === "brief" ? "--brief" : "";
|
|
9142
9155
|
if (other)
|
|
@@ -9200,7 +9213,7 @@ var silence = /* @__PURE__ */ __name((renderer) => ({
|
|
|
9200
9213
|
}, "warn")
|
|
9201
9214
|
}), "silence");
|
|
9202
9215
|
|
|
9203
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9216
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.634.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_c47469194f2825719a552db4a380e89c/node_modules/@wirecat/cli-core/dist/runs/log-events.js
|
|
9204
9217
|
var CORE_LOG_EVENTS = defineLogEvents([
|
|
9205
9218
|
{ id: "provider.request", meaning: "a request went to the messenger", keys: ["operation"] },
|
|
9206
9219
|
{ id: "provider.response", meaning: "the messenger answered the request, or it failed", keys: ["operation"] },
|
|
@@ -9236,7 +9249,7 @@ var DIAGNOSTIC_LOG_EVENTS = {
|
|
|
9236
9249
|
store: "store.write"
|
|
9237
9250
|
};
|
|
9238
9251
|
|
|
9239
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9252
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.634.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_c47469194f2825719a552db4a380e89c/node_modules/@wirecat/cli-core/dist/runs/recording.js
|
|
9240
9253
|
var recorded = /* @__PURE__ */ __name(async (options, body) => {
|
|
9241
9254
|
const recording = startRecording(options);
|
|
9242
9255
|
try {
|
|
@@ -9451,7 +9464,7 @@ var partialOutcome = /* @__PURE__ */ __name((answer) => {
|
|
|
9451
9464
|
return void 0;
|
|
9452
9465
|
}, "partialOutcome");
|
|
9453
9466
|
|
|
9454
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9467
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.634.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_c47469194f2825719a552db4a380e89c/node_modules/@wirecat/cli-core/dist/cli/deadline.js
|
|
9455
9468
|
var withDeadline = /* @__PURE__ */ __name(async (ms2, closeables, body) => {
|
|
9456
9469
|
if (ms2 === void 0)
|
|
9457
9470
|
return body();
|
|
@@ -9477,10 +9490,10 @@ var withDeadline = /* @__PURE__ */ __name(async (ms2, closeables, body) => {
|
|
|
9477
9490
|
}
|
|
9478
9491
|
}, "withDeadline");
|
|
9479
9492
|
|
|
9480
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9493
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.634.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_c47469194f2825719a552db4a380e89c/node_modules/@wirecat/cli-core/dist/cli/settings.js
|
|
9481
9494
|
import { existsSync as existsSync6 } from "node:fs";
|
|
9482
9495
|
|
|
9483
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9496
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.634.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_c47469194f2825719a552db4a380e89c/node_modules/@wirecat/cli-core/dist/models/endpoint.js
|
|
9484
9497
|
var endpoint = /* @__PURE__ */ __name((value) => {
|
|
9485
9498
|
try {
|
|
9486
9499
|
const url3 = new URL(value);
|
|
@@ -9490,7 +9503,7 @@ var endpoint = /* @__PURE__ */ __name((value) => {
|
|
|
9490
9503
|
}
|
|
9491
9504
|
}, "endpoint");
|
|
9492
9505
|
|
|
9493
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9506
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.634.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_c47469194f2825719a552db4a380e89c/node_modules/@wirecat/cli-core/dist/models/settings.js
|
|
9494
9507
|
var MODEL_FIELDS = ["provider", "model", "base_url"];
|
|
9495
9508
|
var modelSettingsShape = record(pipe(string(), regex(/^[a-z][a-z0-9-]*$/)), strictObject({
|
|
9496
9509
|
provider: optional(picklist(["off", "openai", "anthropic"])),
|
|
@@ -9559,7 +9572,7 @@ var modelTarget = /* @__PURE__ */ __name((settings, purpose) => {
|
|
|
9559
9572
|
};
|
|
9560
9573
|
}, "modelTarget");
|
|
9561
9574
|
|
|
9562
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9575
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.634.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_c47469194f2825719a552db4a380e89c/node_modules/@wirecat/cli-core/dist/analysis/settings.js
|
|
9563
9576
|
var model2 = pipe(string(), trim(), minLength(1), maxLength(200));
|
|
9564
9577
|
var url2 = pipe(string(), check(endpoint, "use an HTTP/S endpoint without credentials, query or fragment"));
|
|
9565
9578
|
var AI_FIELDS = {
|
|
@@ -9603,7 +9616,7 @@ var resolveAISettings = /* @__PURE__ */ __name((prefix, layers, env) => {
|
|
|
9603
9616
|
};
|
|
9604
9617
|
}, "resolveAISettings");
|
|
9605
9618
|
|
|
9606
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9619
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.634.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_c47469194f2825719a552db4a380e89c/node_modules/@wirecat/cli-core/dist/domain/duration.js
|
|
9607
9620
|
var DURATION = /^(\d+)(ms|s|m|h|d)$/;
|
|
9608
9621
|
var UNIT_MS = { ms: 1, s: 1e3, m: 6e4, h: 36e5, d: 864e5 };
|
|
9609
9622
|
var parseDuration = /* @__PURE__ */ __name((value, source2) => {
|
|
@@ -9617,7 +9630,7 @@ var parseDuration = /* @__PURE__ */ __name((value, source2) => {
|
|
|
9617
9630
|
return ms2;
|
|
9618
9631
|
}, "parseDuration");
|
|
9619
9632
|
|
|
9620
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9633
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.634.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_c47469194f2825719a552db4a380e89c/node_modules/@wirecat/cli-core/dist/embeddings/models.js
|
|
9621
9634
|
import { existsSync as existsSync3 } from "node:fs";
|
|
9622
9635
|
import { join as join3 } from "node:path";
|
|
9623
9636
|
var huggingFace = /* @__PURE__ */ __name((repository, commit) => (name) => `https://huggingface.co/${repository}/resolve/${commit}/${name}`, "huggingFace");
|
|
@@ -9894,7 +9907,7 @@ var vectorModelKey = /* @__PURE__ */ __name((model3) => {
|
|
|
9894
9907
|
}, "vectorModelKey");
|
|
9895
9908
|
var meaningFloor = /* @__PURE__ */ __name((key) => key === "local:e5-small:384" ? 0.8 : 0, "meaningFloor");
|
|
9896
9909
|
|
|
9897
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9910
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.634.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_c47469194f2825719a552db4a380e89c/node_modules/@wirecat/cli-core/dist/services/history-limits.js
|
|
9898
9911
|
var HISTORY_MAX_DAYS = 1095;
|
|
9899
9912
|
var DEFAULT_HISTORY_LIMITS = { dialogDays: 1095, groupDays: 365, groupMembersMax: 50 };
|
|
9900
9913
|
var DAY_MS = 24 * 60 * 60 * 1e3;
|
|
@@ -9941,7 +9954,7 @@ var limitBatch = /* @__PURE__ */ __name((batch, shapes, included, limits, now =
|
|
|
9941
9954
|
return { batch: { ...batch, messages }, skipped };
|
|
9942
9955
|
}, "limitBatch");
|
|
9943
9956
|
|
|
9944
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9957
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.634.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_c47469194f2825719a552db4a380e89c/node_modules/@wirecat/cli-core/dist/cli/bot/registry.js
|
|
9945
9958
|
import { existsSync as existsSync4, readdirSync as readdirSync3, readFileSync as readFileSync3 } from "node:fs";
|
|
9946
9959
|
import { join as join4 } from "node:path";
|
|
9947
9960
|
var botsDirectory = /* @__PURE__ */ __name((app, env = process.env) => join4(resolvePaths({ appName: app.appName, prefix: app.envPrefix, env }).state, "bots"), "botsDirectory");
|
|
@@ -10030,10 +10043,10 @@ var registryProfiles = /* @__PURE__ */ __name((app, env = process.env) => {
|
|
|
10030
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));
|
|
10031
10044
|
}, "registryProfiles");
|
|
10032
10045
|
|
|
10033
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10046
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.634.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_c47469194f2825719a552db4a380e89c/node_modules/@wirecat/cli-core/dist/cli/config-issues.js
|
|
10034
10047
|
import { readFileSync as readFileSync4 } from "node:fs";
|
|
10035
10048
|
|
|
10036
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10049
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.634.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_c47469194f2825719a552db4a380e89c/node_modules/@wirecat/cli-core/dist/cli/config-repair.js
|
|
10037
10050
|
var REPAIR_WORDS = {
|
|
10038
10051
|
byte_order_mark: "an invisible byte-order mark at the start",
|
|
10039
10052
|
comment: "a comment, which JSON does not allow",
|
|
@@ -10274,7 +10287,7 @@ ${parts.join(",\n")}
|
|
|
10274
10287
|
${indent}${close}`;
|
|
10275
10288
|
}, "serialise");
|
|
10276
10289
|
|
|
10277
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10290
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.634.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_c47469194f2825719a552db4a380e89c/node_modules/@wirecat/cli-core/dist/cli/config-issues.js
|
|
10278
10291
|
var isNode = /* @__PURE__ */ __name((value) => typeof value === "object" && value !== null && !Array.isArray(value), "isNode");
|
|
10279
10292
|
var SECTIONS = ["personal", "bot"];
|
|
10280
10293
|
var SHELL_SAFE = /^[A-Za-z0-9_.:@-]*$/;
|
|
@@ -10569,7 +10582,7 @@ var readConfigFile = /* @__PURE__ */ __name((path2) => {
|
|
|
10569
10582
|
return "issue" in parsed ? { issue: publicIssue(parsed.issue) } : parsed;
|
|
10570
10583
|
}, "readConfigFile");
|
|
10571
10584
|
|
|
10572
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10585
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.634.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_c47469194f2825719a552db4a380e89c/node_modules/@wirecat/cli-core/dist/cli/default-config.js
|
|
10573
10586
|
import { existsSync as existsSync5, linkSync, mkdirSync as mkdirSync2, mkdtempSync, rmSync as rmSync2, writeFileSync } from "node:fs";
|
|
10574
10587
|
import { dirname as dirname2, join as join5 } from "node:path";
|
|
10575
10588
|
var DEFAULT_CONFIG = {
|
|
@@ -10598,7 +10611,7 @@ function ensureDefaultConfig(path2, config = DEFAULT_CONFIG) {
|
|
|
10598
10611
|
}
|
|
10599
10612
|
__name(ensureDefaultConfig, "ensureDefaultConfig");
|
|
10600
10613
|
|
|
10601
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10614
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.634.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_c47469194f2825719a552db4a380e89c/node_modules/@wirecat/cli-core/dist/cli/setting-defaults.js
|
|
10602
10615
|
var isNode2 = /* @__PURE__ */ __name((value) => typeof value === "object" && value !== null && !Array.isArray(value), "isNode");
|
|
10603
10616
|
var parentOf = /* @__PURE__ */ __name((config, key) => {
|
|
10604
10617
|
const path2 = key.split(".");
|
|
@@ -10631,7 +10644,7 @@ var settingRows = /* @__PURE__ */ __name((raw, declared) => declared.map((settin
|
|
|
10631
10644
|
};
|
|
10632
10645
|
}), "settingRows");
|
|
10633
10646
|
|
|
10634
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10647
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.634.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_c47469194f2825719a552db4a380e89c/node_modules/@wirecat/cli-core/dist/cli/settings.js
|
|
10635
10648
|
var DEFAULT_LIMIT = DEFAULT_CONFIG.defaults.limit;
|
|
10636
10649
|
var DEFAULT_KEEP_RUNS_FOR_DAYS = DEFAULT_CONFIG.defaults.keep_runs_for_days;
|
|
10637
10650
|
var DEFAULT_SENDS_PER_HOUR = DEFAULT_CONFIG.defaults.sends_per_hour;
|
|
@@ -11156,7 +11169,7 @@ var given = /* @__PURE__ */ __name((value) => {
|
|
|
11156
11169
|
return trimmed === void 0 || trimmed === "" ? void 0 : trimmed;
|
|
11157
11170
|
}, "given");
|
|
11158
11171
|
|
|
11159
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11172
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.634.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_c47469194f2825719a552db4a380e89c/node_modules/@wirecat/cli-core/dist/cli/context.js
|
|
11160
11173
|
var setExitCode = /* @__PURE__ */ __name((command, code) => {
|
|
11161
11174
|
const slot = environmentOf(command).exit;
|
|
11162
11175
|
const request = commandServerRequest();
|
|
@@ -11282,7 +11295,7 @@ var commandPath = /* @__PURE__ */ __name((command) => {
|
|
|
11282
11295
|
return words2.join(" ");
|
|
11283
11296
|
}, "commandPath");
|
|
11284
11297
|
|
|
11285
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11298
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.634.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_c47469194f2825719a552db4a380e89c/node_modules/@wirecat/cli-core/dist/cli/effects.js
|
|
11286
11299
|
var REMOTE_READ = { remote: "read", local: "read" };
|
|
11287
11300
|
var FETCH = { remote: "read", local: "write" };
|
|
11288
11301
|
var REMOTE_WRITE = { remote: "write", local: "write" };
|
|
@@ -11402,7 +11415,7 @@ var refuseUnderReadOnly = /* @__PURE__ */ __name((command, what) => {
|
|
|
11402
11415
|
throw readOnlyRefusal(lock, what);
|
|
11403
11416
|
}, "refuseUnderReadOnly");
|
|
11404
11417
|
|
|
11405
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11418
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.634.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_c47469194f2825719a552db4a380e89c/node_modules/@wirecat/cli-core/dist/images/picture/models.js
|
|
11406
11419
|
import { join as join6 } from "node:path";
|
|
11407
11420
|
var clip = /* @__PURE__ */ __name((name) => `https://huggingface.co/Xenova/clip-vit-base-patch32/resolve/d15189d7028b43f1d3e65039190477f6af591c2a/${name}`, "clip");
|
|
11408
11421
|
var IMAGE_MODELS = [
|
|
@@ -11456,7 +11469,7 @@ var imageModelsDirectory = /* @__PURE__ */ __name((env = process.env) => sharedM
|
|
|
11456
11469
|
var placedImage = /* @__PURE__ */ __name((model3, directory) => model3.files.map((file) => [file, join6(directory, model3.id, file.name)]), "placedImage");
|
|
11457
11470
|
var isImageModelInstalled = /* @__PURE__ */ __name((model3, directory) => filesPresent(placedImage(model3, directory)), "isImageModelInstalled");
|
|
11458
11471
|
|
|
11459
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11472
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.634.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_c47469194f2825719a552db4a380e89c/node_modules/@wirecat/cli-core/dist/cli/steps.js
|
|
11460
11473
|
var STEPS2 = defineSteps([
|
|
11461
11474
|
...STEPS,
|
|
11462
11475
|
{
|
|
@@ -11728,7 +11741,7 @@ var stepLine = /* @__PURE__ */ __name((root, step2) => {
|
|
|
11728
11741
|
].join(" ");
|
|
11729
11742
|
}, "stepLine");
|
|
11730
11743
|
|
|
11731
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11744
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.634.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_c47469194f2825719a552db4a380e89c/node_modules/@wirecat/cli-core/dist/cli/project-status-rows.js
|
|
11732
11745
|
var where = [{ field: "ref" }];
|
|
11733
11746
|
var who2 = { field: ["who.owner", "who.name"], tag: "you" };
|
|
11734
11747
|
var ON_CHAT_ROW = /* @__PURE__ */ new Set(["reply-next", "coverage"]);
|
|
@@ -11820,7 +11833,7 @@ var STATUS_ROWS = {
|
|
|
11820
11833
|
"status.failed": { columns: [{ field: "signal" }], text: ["why"] }
|
|
11821
11834
|
};
|
|
11822
11835
|
|
|
11823
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11836
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.634.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_c47469194f2825719a552db4a380e89c/node_modules/@wirecat/cli-core/dist/cli/compact.js
|
|
11824
11837
|
var TEXT_CHARS = 400;
|
|
11825
11838
|
var sender = { field: ["sender_is_me", "sender_name"], tag: "me" };
|
|
11826
11839
|
var messageRow = {
|
|
@@ -12186,7 +12199,7 @@ var compactText = /* @__PURE__ */ __name((body, shape, options, rowsOf = rowsOfE
|
|
|
12186
12199
|
return lines.concat(footerOf(body)).join("\n");
|
|
12187
12200
|
}, "compactText");
|
|
12188
12201
|
|
|
12189
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
12202
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.634.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_c47469194f2825719a552db4a380e89c/node_modules/@wirecat/cli-core/dist/cli/output-budget.js
|
|
12190
12203
|
var SOFT_OUTPUT_BYTES = 256 * 1024;
|
|
12191
12204
|
var CARRIED = ["json", "compact", "offline", "timeout", "full", "brief", "maxOutputBytes"];
|
|
12192
12205
|
var NOT_WITH_COMPACT = /* @__PURE__ */ new Set(["json", "brief"]);
|
|
@@ -12233,7 +12246,7 @@ var largeAnswerSteps = /* @__PURE__ */ __name((command) => {
|
|
|
12233
12246
|
return args ? compactStep(command, args, "the answer is large as JSON; one line per item keeps every ref") : [];
|
|
12234
12247
|
}, "largeAnswerSteps");
|
|
12235
12248
|
|
|
12236
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
12249
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.634.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_c47469194f2825719a552db4a380e89c/node_modules/@wirecat/cli-core/dist/cli/provider-refs.js
|
|
12237
12250
|
var HIDDEN = /* @__PURE__ */ new Set(["providerRef", "provider_ref"]);
|
|
12238
12251
|
var withoutProviderRefs = /* @__PURE__ */ __name((value) => strip(value), "withoutProviderRefs");
|
|
12239
12252
|
var strip = /* @__PURE__ */ __name((value) => {
|
|
@@ -12247,7 +12260,7 @@ var strip = /* @__PURE__ */ __name((value) => {
|
|
|
12247
12260
|
return Object.fromEntries(Object.entries(value).flatMap(([key, inner]) => HIDDEN.has(key) ? [] : [[key, strip(inner)]]));
|
|
12248
12261
|
}, "strip");
|
|
12249
12262
|
|
|
12250
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
12263
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.634.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_c47469194f2825719a552db4a380e89c/node_modules/@wirecat/cli-core/dist/cli/envelope.js
|
|
12251
12264
|
var answerSchema = /* @__PURE__ */ __name((item = unknown()) => union([listEnvelopeSchema(item), itemEnvelopeSchema(item)]), "answerSchema");
|
|
12252
12265
|
var capped2 = /* @__PURE__ */ __name((steps) => steps.length > 0 ? { next: steps.slice(0, MAX_NEXT_STEPS) } : {}, "capped");
|
|
12253
12266
|
var listOf = /* @__PURE__ */ __name((command, input) => {
|