@wirecat/cli-memo 0.131.17 → 0.131.19
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-T5FHXOPF.js → all-profiles-MVF2XGZK.js} +5 -4
- package/dist/bundle/{anthropic-PHVNLFRZ.js → anthropic-OPFHMF2S.js} +3 -3
- package/dist/bundle/{app-server-B3CY5NR7.js → app-server-VHVC55S3.js} +35 -34
- package/dist/bundle/auto-F53FUP45.js +82 -0
- package/dist/bundle/{bun-XU55PNTO.js → bun-P6TMDZGU.js} +2 -2
- package/dist/bundle/{bun-sqlite-KODHIZ3K.js → bun-sqlite-3G3NLK4O.js} +2 -2
- package/dist/bundle/{chunk-LQ5UAGPT.js → chunk-2KOVYXWK.js} +2291 -799
- package/dist/bundle/{chunk-XSILYUVP.js → chunk-2R25UBIH.js} +20 -20
- package/dist/bundle/{chunk-PBBADVLT.js → chunk-36ULPM2W.js} +2 -2
- package/dist/bundle/{chunk-EMI2IDP5.js → chunk-3ORDQ62F.js} +6 -6
- package/dist/bundle/{chunk-6ATZ453X.js → chunk-4MIPN37I.js} +459 -158
- package/dist/bundle/{chunk-GZ7QIMRX.js → chunk-4TERVG26.js} +7 -1
- package/dist/bundle/{chunk-SGVRFADD.js → chunk-4VKNUBD5.js} +5 -5
- package/dist/bundle/{chunk-47U4HRPP.js → chunk-57Q6NXQT.js} +3 -3
- package/dist/bundle/{chunk-CYFMLJRG.js → chunk-5KUPVC5M.js} +1 -1
- package/dist/bundle/{chunk-4WHPVXZ5.js → chunk-5XDYV2YT.js} +1 -1
- package/dist/bundle/{chunk-SSUQPDR7.js → chunk-63XICXGM.js} +1 -1
- package/dist/bundle/{chunk-OO5PSCYL.js → chunk-66YZUX2C.js} +4 -4
- package/dist/bundle/{chunk-7FCFK5A5.js → chunk-6DG7VK3H.js} +2 -2
- package/dist/bundle/{chunk-UXNGJ5KC.js → chunk-7J5HTZCM.js} +1 -1
- package/dist/bundle/{chunk-KLDHQWJ2.js → chunk-BINR6MJ5.js} +1 -1
- package/dist/bundle/{chunk-5VSLMXE2.js → chunk-BMHSGZNE.js} +4 -4
- package/dist/bundle/{chunk-JWZIP2UJ.js → chunk-BPYQYZXA.js} +10 -10
- package/dist/bundle/{chunk-S5HW37G6.js → chunk-D6G23NFJ.js} +1 -1
- package/dist/bundle/{chunk-JX2JC4VV.js → chunk-DLRLOGVU.js} +23 -4
- package/dist/bundle/{chunk-HR3GJMED.js → chunk-EFKEG2BA.js} +2 -2
- package/dist/bundle/{chunk-6N6FNKT4.js → chunk-EL4ZKQUN.js} +2 -2
- package/dist/bundle/{chunk-TPFPWZGB.js → chunk-EMKFG5BP.js} +2 -2
- package/dist/bundle/{chunk-G4H2CVWX.js → chunk-F5CQ2NVA.js} +10 -87
- package/dist/bundle/{chunk-Z7OTEPTP.js → chunk-FMSA2X3E.js} +1 -1
- package/dist/bundle/{chunk-DBSWX4D2.js → chunk-GJKM32WA.js} +20 -20
- package/dist/bundle/{chunk-XRXLLVM2.js → chunk-IW3U6XXI.js} +3 -3
- package/dist/bundle/chunk-JDJDNMCP.js +93 -0
- package/dist/bundle/{chunk-OFOATVS5.js → chunk-JHKTN6NL.js} +9 -9
- package/dist/bundle/{chunk-MP5VZZMR.js → chunk-KO455254.js} +12 -12
- package/dist/bundle/{chunk-5C6B3MNJ.js → chunk-KVVDRD7M.js} +1 -1
- package/dist/bundle/{chunk-2CDGVXXN.js → chunk-LDVU22MF.js} +5 -5
- package/dist/bundle/{chunk-QVM24RSA.js → chunk-LEUNYKL6.js} +2 -2
- package/dist/bundle/{chunk-ASULRGXI.js → chunk-LKYHSVQL.js} +7 -7
- package/dist/bundle/{chunk-PIIK4CAE.js → chunk-LQJ4KHXK.js} +8 -8
- package/dist/bundle/{chunk-EIJMXN2G.js → chunk-NKTAEBCU.js} +3 -3
- package/dist/bundle/{chunk-YTRGKGLT.js → chunk-OTHEM74Z.js} +5 -5
- package/dist/bundle/{chunk-QPARISUU.js → chunk-OVFMY6ZP.js} +1 -1
- package/dist/bundle/{chunk-X6BSGHTT.js → chunk-P22V2OLJ.js} +43 -9
- package/dist/bundle/{chunk-RXDMVHUB.js → chunk-P3TYFDMP.js} +4 -4
- package/dist/bundle/{chunk-HMPSGU4S.js → chunk-RFB5LOYR.js} +4 -4
- package/dist/bundle/{chunk-NZCKOPKU.js → chunk-RITXQKYG.js} +5 -5
- package/dist/bundle/{chunk-65VTPQQA.js → chunk-SHDZVM3B.js} +1 -1
- package/dist/bundle/{chunk-BXUDUNOK.js → chunk-SJLVBJ2L.js} +1 -1
- package/dist/bundle/{chunk-XJHY7NNU.js → chunk-SO6VNTF6.js} +1 -1
- package/dist/bundle/{chunk-YN4FBMXV.js → chunk-T557KUST.js} +2 -2
- package/dist/bundle/{chunk-KA2CKNGF.js → chunk-TQNQS6TR.js} +43 -43
- package/dist/bundle/{chunk-FITNKTJB.js → chunk-UC4IL2P7.js} +1 -1
- package/dist/bundle/{chunk-7AIR3RVV.js → chunk-V7DZG62U.js} +7 -7
- package/dist/bundle/{chunk-NCKQYO23.js → chunk-VQGVPDMH.js} +11 -11
- package/dist/bundle/{chunk-BNWPOSGL.js → chunk-VUWUSGSN.js} +4 -4
- package/dist/bundle/{chunk-RW2YXWQG.js → chunk-WOIRWVDJ.js} +644 -357
- package/dist/bundle/{chunk-LLC2SOAP.js → chunk-WRPRPVZF.js} +27 -27
- package/dist/bundle/{chunk-KPBZ6E3Q.js → chunk-XWS4PTES.js} +621 -466
- package/dist/bundle/{chunk-P4ALQIOM.js → chunk-XZWUBDBG.js} +1 -1
- package/dist/bundle/{chunk-365G3D33.js → chunk-Y3DGAYTD.js} +3 -3
- package/dist/bundle/{chunk-4LLG7DHY.js → chunk-YVECM7XA.js} +3 -3
- package/dist/bundle/{chunk-CUQA5KDN.js → chunk-Z54GPSVH.js} +82 -62
- package/dist/bundle/{chunk-EUIYRXNA.js → chunk-ZYM4M62Q.js} +1 -1
- package/dist/bundle/{command-contract-PX6KPRM4.js → command-contract-NMJKYTS4.js} +11 -10
- package/dist/bundle/{decode-5SW67NPU.js → decode-BUTF6VGO.js} +2 -2
- package/dist/bundle/{echarts-DGITZGC2.js → echarts-KH3YOWMK.js} +2 -2
- package/dist/bundle/{embed-ZNS6M27B.js → embed-WBVM7KQ2.js} +3 -3
- package/dist/bundle/{embedder-FJROMOX4.js → embedder-27HQIFHM.js} +6 -6
- package/dist/bundle/{entry-65WPL5AJ.js → entry-K2WWMF2B.js} +4 -4
- package/dist/bundle/failure-NHDQ5WEW.js +62 -0
- package/dist/bundle/{first-run-NRTHUTDT.js → first-run-7P5N72VR.js} +5 -5
- package/dist/bundle/{first-screen-RKNTSAJJ.js → first-screen-3GM5HC4Y.js} +12 -11
- package/dist/bundle/{instructions-AJ5VTQ2U.js → instructions-POJKHKRZ.js} +1 -1
- package/dist/bundle/mcp-YGWNSJUH.js +86 -0
- package/dist/bundle/memo.js +6 -6
- package/dist/bundle/{node-762GQ2RA.js → node-W245R2OP.js} +2 -2
- package/dist/bundle/{node-sqlite-4LKLWO2T.js → node-sqlite-FUYOXFW5.js} +3 -3
- package/dist/bundle/{oauth-P67IYAGN.js → oauth-ATB3NWQA.js} +4 -4
- package/dist/bundle/{open-ERD25J5M.js → open-HEBEWCYB.js} +2 -2
- package/dist/bundle/{openai-Z77SB2I5.js → openai-DN7NA2IU.js} +7 -7
- package/dist/bundle/{process-Q3NEJZWY.js → process-QTIDOJMF.js} +1 -1
- package/dist/bundle/{program-UF3YO2YK.js → program-WNFCYNGP.js} +3076 -1259
- package/dist/bundle/{prompt-7CVPYADG.js → prompt-RQXVPJ4A.js} +2 -2
- package/dist/bundle/{recognize-2TS3PRPO.js → recognize-G7NIZ3IT.js} +1 -1
- package/dist/bundle/{remote-NOBDTVJN.js → remote-H452UBSK.js} +4 -4
- package/dist/bundle/{rerank-ZQKXRS6O.js → rerank-77UYD2UD.js} +4 -4
- package/dist/bundle/{serve-BJGDW3AS.js → serve-L6R4ODZV.js} +6 -6
- package/dist/bundle/server-SWUSQSRW.js +44 -0
- package/dist/bundle/server-W4IKTTUY.js +57 -0
- package/dist/bundle/{server-XMDCBI42.js → server-ZBX4HFHT.js} +56 -50
- package/dist/bundle/{setup-L7OLXLWU.js → setup-ZGH5OZ7A.js} +39 -38
- package/dist/bundle/{state-Y2657WG3.js → state-KHMYDV4I.js} +3 -3
- package/dist/bundle/{store-YJBO6PVL.js → store-M7KGTLUG.js} +9 -8
- package/dist/bundle/store-maintenance-command-ZPN2ZUL4.js +44 -0
- package/dist/bundle/update-RFTADFRO.js +65 -0
- package/dist/context/command.d.ts +8 -1
- package/dist/context/command.d.ts.map +1 -1
- package/dist/context/command.js +15 -2
- package/dist/context/command.js.map +1 -1
- package/dist/discovery/command.d.ts.map +1 -1
- package/dist/discovery/command.js +3 -0
- package/dist/discovery/command.js.map +1 -1
- package/dist/examples.d.ts.map +1 -1
- package/dist/examples.js +44 -4
- package/dist/examples.js.map +1 -1
- package/dist/facts/fact.d.ts +1 -1
- package/dist/finance/command.d.ts +4 -0
- package/dist/finance/command.d.ts.map +1 -0
- package/dist/finance/command.js +126 -0
- package/dist/finance/command.js.map +1 -0
- package/dist/finance/finance.d.ts +38 -0
- package/dist/finance/finance.d.ts.map +1 -0
- package/dist/finance/finance.js +128 -0
- package/dist/finance/finance.js.map +1 -0
- package/dist/knowledge/command.js +1 -1
- package/dist/knowledge/command.js.map +1 -1
- package/dist/knowledge/project-actions-command.d.ts.map +1 -1
- package/dist/knowledge/project-actions-command.js +4 -1
- package/dist/knowledge/project-actions-command.js.map +1 -1
- package/dist/knowledge/project-actions.d.ts +1 -1
- package/dist/knowledge/project-context.d.ts +12 -2
- package/dist/knowledge/project-context.d.ts.map +1 -1
- package/dist/knowledge/project-context.js +6 -3
- package/dist/knowledge/project-context.js.map +1 -1
- package/dist/knowledge/project-status-command.d.ts.map +1 -1
- package/dist/knowledge/project-status-command.js +21 -10
- package/dist/knowledge/project-status-command.js.map +1 -1
- package/dist/mcp/catalogue.d.ts +3 -0
- package/dist/mcp/catalogue.d.ts.map +1 -1
- package/dist/mcp/catalogue.js +9 -2
- package/dist/mcp/catalogue.js.map +1 -1
- package/dist/program.d.ts.map +1 -1
- package/dist/program.js +75 -0
- package/dist/program.js.map +1 -1
- package/dist/reasons.d.ts.map +1 -1
- package/dist/reasons.js +6 -0
- package/dist/reasons.js.map +1 -1
- package/dist/records/import.d.ts +8 -0
- package/dist/records/import.d.ts.map +1 -0
- package/dist/records/import.js +72 -0
- package/dist/records/import.js.map +1 -0
- package/dist/review/command.d.ts +1 -0
- package/dist/review/command.d.ts.map +1 -1
- package/dist/review/command.js +49 -14
- package/dist/review/command.js.map +1 -1
- package/dist/review/kinds.d.ts +34 -0
- package/dist/review/kinds.d.ts.map +1 -0
- package/dist/review/kinds.js +230 -0
- package/dist/review/kinds.js.map +1 -0
- package/dist/review/review.d.ts +31 -7
- package/dist/review/review.d.ts.map +1 -1
- package/dist/review/review.js +69 -27
- package/dist/review/review.js.map +1 -1
- package/dist/review/status.d.ts +48 -0
- package/dist/review/status.d.ts.map +1 -0
- package/dist/review/status.js +88 -0
- package/dist/review/status.js.map +1 -0
- package/dist/rows.d.ts.map +1 -1
- package/dist/rows.js +19 -0
- package/dist/rows.js.map +1 -1
- package/dist/schedule/command.d.ts +7 -0
- package/dist/schedule/command.d.ts.map +1 -0
- package/dist/schedule/command.js +23 -0
- package/dist/schedule/command.js.map +1 -0
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +2 -2
- package/scenarios/project-state.md +1 -1
- package/skills/cli-memo/SKILL.md +22 -3
- package/dist/bundle/auto-C7ZWP3WY.js +0 -81
- package/dist/bundle/failure-7GV6RULH.js +0 -61
- package/dist/bundle/mcp-FOL2IELJ.js +0 -85
- package/dist/bundle/server-6UZ7GQAX.js +0 -56
- package/dist/bundle/server-ECXA5HKO.js +0 -43
- package/dist/bundle/store-maintenance-command-5SK354IH.js +0 -43
- package/dist/bundle/update-VSANDEPL.js +0 -64
- /package/dist/bundle/{chunk-TCOQYXGZ.js → chunk-7YF2MSEC.js} +0 -0
|
@@ -10,22 +10,22 @@ import {
|
|
|
10
10
|
providerErrorKey,
|
|
11
11
|
renderEvent,
|
|
12
12
|
runContextOf
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-F5CQ2NVA.js";
|
|
14
14
|
import {
|
|
15
15
|
permissionCeiling
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-YVECM7XA.js";
|
|
17
17
|
import {
|
|
18
18
|
envName,
|
|
19
19
|
readOnlyLockOf,
|
|
20
20
|
readOnlyRefusal
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-SHDZVM3B.js";
|
|
22
22
|
import {
|
|
23
23
|
carries
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-SO6VNTF6.js";
|
|
25
25
|
import {
|
|
26
26
|
filesPresent,
|
|
27
27
|
sharedModelsDirectory
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-57Q6NXQT.js";
|
|
29
29
|
import {
|
|
30
30
|
FACT_STATUSES,
|
|
31
31
|
FACT_TYPES,
|
|
@@ -36,8 +36,6 @@ import {
|
|
|
36
36
|
MEMORY_KINDS,
|
|
37
37
|
MEMORY_SCOPES,
|
|
38
38
|
MEMORY_STATUSES,
|
|
39
|
-
PAYMENT_DIRECTIONS,
|
|
40
|
-
PAYMENT_STATES,
|
|
41
39
|
PRIORITY_LABELS,
|
|
42
40
|
QUERY_BACKENDS,
|
|
43
41
|
RELATION_KINDS,
|
|
@@ -62,13 +60,13 @@ import {
|
|
|
62
60
|
meetingStats,
|
|
63
61
|
meetingSummary,
|
|
64
62
|
meetingTranscript
|
|
65
|
-
} from "./chunk-
|
|
63
|
+
} from "./chunk-Z54GPSVH.js";
|
|
66
64
|
import {
|
|
67
65
|
sharedConfigPath
|
|
68
|
-
} from "./chunk-
|
|
66
|
+
} from "./chunk-RFB5LOYR.js";
|
|
69
67
|
import {
|
|
70
68
|
storePath
|
|
71
|
-
} from "./chunk-
|
|
69
|
+
} from "./chunk-7J5HTZCM.js";
|
|
72
70
|
import {
|
|
73
71
|
COMPACT_FLAG,
|
|
74
72
|
CliError,
|
|
@@ -3929,7 +3927,7 @@ var commandsDocument = /* @__PURE__ */ __name((root, about) => ({
|
|
|
3929
3927
|
exit_codes: { ok: 0, internal_error: GENERIC_FAILURE, ...EXIT_CODES }
|
|
3930
3928
|
}), "commandsDocument");
|
|
3931
3929
|
|
|
3932
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3930
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.559.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_907a8c00de2c01e4b50d7050f36772c6/node_modules/@wirecat/cli-core/dist/sends/guarded.js
|
|
3933
3931
|
import { AsyncLocalStorage } from "node:async_hooks";
|
|
3934
3932
|
var sentIds = /* @__PURE__ */ __name((typed, message2) => ({
|
|
3935
3933
|
messageId: message2.id,
|
|
@@ -4035,7 +4033,7 @@ var guardedWrite = /* @__PURE__ */ __name(async (guard, attempt, act, settled2 =
|
|
|
4035
4033
|
}, "guardedWrite");
|
|
4036
4034
|
var codeOf = /* @__PURE__ */ __name((error) => typeof error?.code === "string" ? error.code : "unknown", "codeOf");
|
|
4037
4035
|
|
|
4038
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4036
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.559.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_907a8c00de2c01e4b50d7050f36772c6/node_modules/@wirecat/cli-core/dist/cli/result-fields.js
|
|
4039
4037
|
var named = /* @__PURE__ */ __name((work) => {
|
|
4040
4038
|
try {
|
|
4041
4039
|
return work();
|
|
@@ -4062,7 +4060,7 @@ var projectFields2 = /* @__PURE__ */ __name((value, fields) => named(() => {
|
|
|
4062
4060
|
return projectFields(value, fields);
|
|
4063
4061
|
}), "projectFields");
|
|
4064
4062
|
|
|
4065
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4063
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.559.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_907a8c00de2c01e4b50d7050f36772c6/node_modules/@wirecat/cli-core/dist/cli/execution.js
|
|
4066
4064
|
var DEFAULT_COOPERATIVE_MS = 5 * 6e4;
|
|
4067
4065
|
var DEFAULT_SYNC_MS = 15 * 6e4;
|
|
4068
4066
|
var DEFAULT_OUTPUT_BYTES = 4 * 1024 * 1024;
|
|
@@ -4084,7 +4082,7 @@ var withAbort = /* @__PURE__ */ __name(async (signal, body) => {
|
|
|
4084
4082
|
}
|
|
4085
4083
|
}, "withAbort");
|
|
4086
4084
|
|
|
4087
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4085
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.559.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_907a8c00de2c01e4b50d7050f36772c6/node_modules/@wirecat/cli-core/dist/sends/permissions.js
|
|
4088
4086
|
var LEVELS = ["deny", "readonly", "ask", "allow"];
|
|
4089
4087
|
var DANGEROUS = /* @__PURE__ */ new Set(["messages.delete", "bot.messages.delete", "topics.delete", "chats.delete", "chats.clear"]);
|
|
4090
4088
|
var skipFlagFor = /* @__PURE__ */ __name((key) => DANGEROUS.has(key) ? "--allow-dangerous" : "--yes", "skipFlagFor");
|
|
@@ -4330,6 +4328,7 @@ var NAMED_WRITE_KEYS = [
|
|
|
4330
4328
|
"mentions.reject",
|
|
4331
4329
|
"tags.add",
|
|
4332
4330
|
"tags.remove",
|
|
4331
|
+
"tasks.acknowledge",
|
|
4333
4332
|
"tasks.add",
|
|
4334
4333
|
"tasks.claim",
|
|
4335
4334
|
"tasks.close",
|
|
@@ -4479,7 +4478,7 @@ var assertRetentionEvidenceRead = /* @__PURE__ */ __name((permissions) => {
|
|
|
4479
4478
|
}
|
|
4480
4479
|
}, "assertRetentionEvidenceRead");
|
|
4481
4480
|
|
|
4482
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4481
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.559.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_907a8c00de2c01e4b50d7050f36772c6/node_modules/@wirecat/cli-core/dist/cli/messenger/accounts.js
|
|
4483
4482
|
import { existsSync, readdirSync, readFileSync } from "node:fs";
|
|
4484
4483
|
import { join } from "node:path";
|
|
4485
4484
|
var accountFileFor = /* @__PURE__ */ __name((app, profile, env) => join(resolvePaths({ appName: app.appName, prefix: app.envPrefix, env }).state, "accounts", `${profile}.json`), "accountFileFor");
|
|
@@ -4501,7 +4500,12 @@ var profilesWithAccounts = /* @__PURE__ */ __name((app, env) => {
|
|
|
4501
4500
|
}, "profilesWithAccounts");
|
|
4502
4501
|
var profilesHere = /* @__PURE__ */ __name((app, configured, env) => [.../* @__PURE__ */ new Set([...configured, ...profilesWithAccounts(app, env)])].sort(), "profilesHere");
|
|
4503
4502
|
|
|
4504
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4503
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.559.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_907a8c00de2c01e4b50d7050f36772c6/node_modules/@wirecat/cli-core/dist/background/budget.js
|
|
4504
|
+
var DEADLINE_MARGIN_MS = 5e3;
|
|
4505
|
+
var DEADLINE_MARGIN_SHARE = 0.15;
|
|
4506
|
+
var deadlineMargin = /* @__PURE__ */ __name((deadline) => Math.max(DEADLINE_MARGIN_MS, deadline.ms * DEADLINE_MARGIN_SHARE), "deadlineMargin");
|
|
4507
|
+
|
|
4508
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.559.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_907a8c00de2c01e4b50d7050f36772c6/node_modules/@wirecat/cli-core/dist/output-detail.js
|
|
4505
4509
|
var RARELY_SET = ["editedAt", "replyTo", "forwardedFrom", "reactions"];
|
|
4506
4510
|
var BRIEF = ["locator", "chatTitle", "timestamp", "senderName", "excerpt", "score"];
|
|
4507
4511
|
var SNAKE_BRIEF = ["ref", "chat_title", "timestamp", "sender_name", "excerpt", "score"];
|
|
@@ -4537,7 +4541,7 @@ var atDetail = /* @__PURE__ */ __name((value, detail = "default") => {
|
|
|
4537
4541
|
return value;
|
|
4538
4542
|
}, "atDetail");
|
|
4539
4543
|
|
|
4540
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4544
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.559.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_907a8c00de2c01e4b50d7050f36772c6/node_modules/@wirecat/cli-core/dist/output.js
|
|
4541
4545
|
var refuseCompact = /* @__PURE__ */ __name(({ json, jsonl, fields, hitDetail }) => {
|
|
4542
4546
|
const other = jsonl ? "--jsonl" : fields !== void 0 ? "--json=\u2026" : json ? "--json" : hitDetail === "brief" ? "--brief" : "";
|
|
4543
4547
|
if (other)
|
|
@@ -4601,7 +4605,7 @@ var silence = /* @__PURE__ */ __name((renderer) => ({
|
|
|
4601
4605
|
}, "warn")
|
|
4602
4606
|
}), "silence");
|
|
4603
4607
|
|
|
4604
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4608
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.559.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_907a8c00de2c01e4b50d7050f36772c6/node_modules/@wirecat/cli-core/dist/runs/log-events.js
|
|
4605
4609
|
var CORE_LOG_EVENTS = defineLogEvents([
|
|
4606
4610
|
{ id: "provider.request", meaning: "a request went to the messenger", keys: ["operation"] },
|
|
4607
4611
|
{ id: "provider.response", meaning: "the messenger answered the request, or it failed", keys: ["operation"] },
|
|
@@ -4635,7 +4639,7 @@ var DIAGNOSTIC_LOG_EVENTS = {
|
|
|
4635
4639
|
cache: "cache.answered"
|
|
4636
4640
|
};
|
|
4637
4641
|
|
|
4638
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4642
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.559.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_907a8c00de2c01e4b50d7050f36772c6/node_modules/@wirecat/cli-core/dist/runs/log-keys.js
|
|
4639
4643
|
var snake2 = /* @__PURE__ */ __name((key) => key.replace(/[A-Z]/g, (letter) => `_${letter.toLowerCase()}`), "snake");
|
|
4640
4644
|
var camel = /* @__PURE__ */ __name((key) => key.replace(/_([a-z0-9])/g, (_, letter) => letter.toUpperCase()), "camel");
|
|
4641
4645
|
var renamed = /* @__PURE__ */ __name((record2, name) => Object.fromEntries(Object.entries(record2).map(([key, value]) => [name(key), value])), "renamed");
|
|
@@ -4648,13 +4652,13 @@ var snakeLogger = /* @__PURE__ */ __name((logger) => ({
|
|
|
4648
4652
|
error: /* @__PURE__ */ __name((event2, message2) => logger.error(logAttributes(event2), message2), "error")
|
|
4649
4653
|
}), "snakeLogger");
|
|
4650
4654
|
|
|
4651
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4655
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.559.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_907a8c00de2c01e4b50d7050f36772c6/node_modules/@wirecat/cli-core/dist/runs/run.js
|
|
4652
4656
|
import { randomUUID } from "node:crypto";
|
|
4653
4657
|
import { appendFileSync, mkdirSync, readdirSync as readdirSync2, readFileSync as readFileSync2, rmSync, statSync, writeFileSync } from "node:fs";
|
|
4654
4658
|
import { userInfo } from "node:os";
|
|
4655
4659
|
import { join as join2, sep } from "node:path";
|
|
4656
4660
|
|
|
4657
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4661
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.559.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_907a8c00de2c01e4b50d7050f36772c6/node_modules/@wirecat/cli-core/dist/runs/log-attributes.js
|
|
4658
4662
|
var diagnostic = {
|
|
4659
4663
|
event: true,
|
|
4660
4664
|
operation: true,
|
|
@@ -4724,7 +4728,7 @@ var LOG_ATTRIBUTES = [
|
|
|
4724
4728
|
...new Set([...Object.keys(diagnostic), ...Object.keys(send), ...background, ...crash, ...dropped].map((key) => Object.keys(logAttributes({ [key]: true }))[0]))
|
|
4725
4729
|
].sort();
|
|
4726
4730
|
|
|
4727
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4731
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.559.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_907a8c00de2c01e4b50d7050f36772c6/node_modules/@wirecat/cli-core/dist/runs/run.js
|
|
4728
4732
|
var KEEP_RUNS_FOR_DAYS = 30;
|
|
4729
4733
|
var KEEP_SUCCESSFUL_RUNS_FOR_DAYS = 7;
|
|
4730
4734
|
var RUNS_SIZE_LIMIT_MB = 200;
|
|
@@ -5077,7 +5081,7 @@ var metadataOf = /* @__PURE__ */ __name((parsed) => {
|
|
|
5077
5081
|
};
|
|
5078
5082
|
}, "metadataOf");
|
|
5079
5083
|
|
|
5080
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5084
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.559.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_907a8c00de2c01e4b50d7050f36772c6/node_modules/@wirecat/cli-core/dist/runs/scope.js
|
|
5081
5085
|
import { AsyncLocalStorage as AsyncLocalStorage2 } from "node:async_hooks";
|
|
5082
5086
|
import { randomBytes } from "node:crypto";
|
|
5083
5087
|
var scopes = new AsyncLocalStorage2();
|
|
@@ -5114,7 +5118,7 @@ var attempts = new AsyncLocalStorage2();
|
|
|
5114
5118
|
var withAttempt = /* @__PURE__ */ __name((attempt, work) => attempts.run(attempt, work), "withAttempt");
|
|
5115
5119
|
var currentAttempt = /* @__PURE__ */ __name(() => attempts.getStore(), "currentAttempt");
|
|
5116
5120
|
|
|
5117
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5121
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.559.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_907a8c00de2c01e4b50d7050f36772c6/node_modules/@wirecat/cli-core/dist/runs/recording.js
|
|
5118
5122
|
var recorded = /* @__PURE__ */ __name(async (options, body) => {
|
|
5119
5123
|
const recording = startRecording(options);
|
|
5120
5124
|
try {
|
|
@@ -5299,7 +5303,7 @@ var partialOutcome = /* @__PURE__ */ __name((answer) => {
|
|
|
5299
5303
|
return void 0;
|
|
5300
5304
|
}, "partialOutcome");
|
|
5301
5305
|
|
|
5302
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5306
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.559.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_907a8c00de2c01e4b50d7050f36772c6/node_modules/@wirecat/cli-core/dist/cli/deadline.js
|
|
5303
5307
|
var withDeadline = /* @__PURE__ */ __name(async (ms, closeables, body) => {
|
|
5304
5308
|
if (ms === void 0)
|
|
5305
5309
|
return body();
|
|
@@ -5325,7 +5329,7 @@ var withDeadline = /* @__PURE__ */ __name(async (ms, closeables, body) => {
|
|
|
5325
5329
|
}
|
|
5326
5330
|
}, "withDeadline");
|
|
5327
5331
|
|
|
5328
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5332
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.559.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_907a8c00de2c01e4b50d7050f36772c6/node_modules/@wirecat/cli-core/dist/cli/profile.js
|
|
5329
5333
|
var asFirstWord = /* @__PURE__ */ __name((profile) => `${profile} `, "asFirstWord");
|
|
5330
5334
|
var PLAIN_NAME = /^[A-Za-z0-9][A-Za-z0-9._-]*$/;
|
|
5331
5335
|
var isProfileName = /* @__PURE__ */ __name((word) => PLAIN_NAME.test(word), "isProfileName");
|
|
@@ -5367,10 +5371,10 @@ var rootOf = /* @__PURE__ */ __name((command) => {
|
|
|
5367
5371
|
return root;
|
|
5368
5372
|
}, "rootOf");
|
|
5369
5373
|
|
|
5370
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5374
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.559.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_907a8c00de2c01e4b50d7050f36772c6/node_modules/@wirecat/cli-core/dist/cli/settings.js
|
|
5371
5375
|
import { existsSync as existsSync3 } from "node:fs";
|
|
5372
5376
|
|
|
5373
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5377
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.559.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_907a8c00de2c01e4b50d7050f36772c6/node_modules/@wirecat/cli-core/dist/models/endpoint.js
|
|
5374
5378
|
var endpoint = /* @__PURE__ */ __name((value) => {
|
|
5375
5379
|
try {
|
|
5376
5380
|
const url2 = new URL(value);
|
|
@@ -5380,7 +5384,7 @@ var endpoint = /* @__PURE__ */ __name((value) => {
|
|
|
5380
5384
|
}
|
|
5381
5385
|
}, "endpoint");
|
|
5382
5386
|
|
|
5383
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5387
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.559.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_907a8c00de2c01e4b50d7050f36772c6/node_modules/@wirecat/cli-core/dist/models/settings.js
|
|
5384
5388
|
var MODEL_FIELDS = ["provider", "model", "base_url"];
|
|
5385
5389
|
var modelSettingsShape = record(pipe(string(), regex(/^[a-z][a-z0-9-]*$/)), strictObject({
|
|
5386
5390
|
provider: optional(picklist(["off", "openai", "anthropic"])),
|
|
@@ -5449,7 +5453,7 @@ var modelTarget = /* @__PURE__ */ __name((settings, purpose) => {
|
|
|
5449
5453
|
};
|
|
5450
5454
|
}, "modelTarget");
|
|
5451
5455
|
|
|
5452
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5456
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.559.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_907a8c00de2c01e4b50d7050f36772c6/node_modules/@wirecat/cli-core/dist/analysis/settings.js
|
|
5453
5457
|
var model = pipe(string(), trim(), minLength(1), maxLength(200));
|
|
5454
5458
|
var url = pipe(string(), check(endpoint, "use an HTTP/S endpoint without credentials, query or fragment"));
|
|
5455
5459
|
var AI_FIELDS = {
|
|
@@ -5493,7 +5497,7 @@ var resolveAISettings = /* @__PURE__ */ __name((prefix, layers, env) => {
|
|
|
5493
5497
|
};
|
|
5494
5498
|
}, "resolveAISettings");
|
|
5495
5499
|
|
|
5496
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5500
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.559.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_907a8c00de2c01e4b50d7050f36772c6/node_modules/@wirecat/cli-core/dist/domain/duration.js
|
|
5497
5501
|
var DURATION = /^(\d+)(ms|s|m|h|d)$/;
|
|
5498
5502
|
var UNIT_MS = { ms: 1, s: 1e3, m: 6e4, h: 36e5, d: 864e5 };
|
|
5499
5503
|
var parseDuration = /* @__PURE__ */ __name((value, source2) => {
|
|
@@ -5507,7 +5511,7 @@ var parseDuration = /* @__PURE__ */ __name((value, source2) => {
|
|
|
5507
5511
|
return ms;
|
|
5508
5512
|
}, "parseDuration");
|
|
5509
5513
|
|
|
5510
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5514
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.559.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_907a8c00de2c01e4b50d7050f36772c6/node_modules/@wirecat/cli-core/dist/embeddings/models.js
|
|
5511
5515
|
var huggingFace = /* @__PURE__ */ __name((repository, commit) => (name) => `https://huggingface.co/${repository}/resolve/${commit}/${name}`, "huggingFace");
|
|
5512
5516
|
var e5 = huggingFace("Xenova/multilingual-e5-small", "761b726dd34fb83930e26aab4e9ac3899aa1fa78");
|
|
5513
5517
|
var gemma = huggingFace("onnx-community/embeddinggemma-300m-ONNX", "5090578d9565bb06545b4552f76e6bc2c93e4a66");
|
|
@@ -5666,7 +5670,7 @@ var rerankModel = /* @__PURE__ */ __name((id6) => {
|
|
|
5666
5670
|
var vectorModelKey = /* @__PURE__ */ __name((model3) => `local:${model3.id}:${model3.dims}`, "vectorModelKey");
|
|
5667
5671
|
var meaningFloor = /* @__PURE__ */ __name((key) => key === "local:e5-small:384" ? 0.8 : 0, "meaningFloor");
|
|
5668
5672
|
|
|
5669
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5673
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.559.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_907a8c00de2c01e4b50d7050f36772c6/node_modules/@wirecat/cli-core/dist/services/history-limits.js
|
|
5670
5674
|
var HISTORY_MAX_DAYS = 1095;
|
|
5671
5675
|
var DEFAULT_HISTORY_LIMITS = { dialogDays: 1095, groupDays: 365, groupMembersMax: 50 };
|
|
5672
5676
|
var DAY_MS2 = 24 * 60 * 60 * 1e3;
|
|
@@ -5713,8 +5717,251 @@ var limitBatch = /* @__PURE__ */ __name((batch, shapes, included, limits, now =
|
|
|
5713
5717
|
return { batch: { ...batch, messages }, skipped };
|
|
5714
5718
|
}, "limitBatch");
|
|
5715
5719
|
|
|
5716
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5720
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.559.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_907a8c00de2c01e4b50d7050f36772c6/node_modules/@wirecat/cli-core/dist/cli/config-issues.js
|
|
5717
5721
|
import { readFileSync as readFileSync3 } from "node:fs";
|
|
5722
|
+
|
|
5723
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.559.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_907a8c00de2c01e4b50d7050f36772c6/node_modules/@wirecat/cli-core/dist/cli/config-repair.js
|
|
5724
|
+
var REPAIR_WORDS = {
|
|
5725
|
+
byte_order_mark: "an invisible byte-order mark at the start",
|
|
5726
|
+
comment: "a comment, which JSON does not allow",
|
|
5727
|
+
trailing_comma: "a comma before a closing bracket",
|
|
5728
|
+
missing_comma: "a missing comma",
|
|
5729
|
+
unquoted_key: "a key without double quotes",
|
|
5730
|
+
single_quotes: "text in single quotes",
|
|
5731
|
+
missing_closer: "the file stops before its closing brackets \u2014 whatever followed this line was already lost"
|
|
5732
|
+
};
|
|
5733
|
+
var GiveUp = class {
|
|
5734
|
+
static {
|
|
5735
|
+
__name(this, "GiveUp");
|
|
5736
|
+
}
|
|
5737
|
+
at;
|
|
5738
|
+
why;
|
|
5739
|
+
constructor(at2, why) {
|
|
5740
|
+
this.at = at2;
|
|
5741
|
+
this.why = why;
|
|
5742
|
+
}
|
|
5743
|
+
};
|
|
5744
|
+
var NUMBER = /^-?(0|[1-9]\d*)(\.\d+)?([eE][+-]?\d+)?/;
|
|
5745
|
+
var LITERAL = /^(true|false|null)/;
|
|
5746
|
+
var KEY = /^[A-Za-z_$][\w$.-]*/;
|
|
5747
|
+
var ENDS_VALUE = /^[\s,\]}/]?$/;
|
|
5748
|
+
var repairConfigText = /* @__PURE__ */ __name((text5) => {
|
|
5749
|
+
try {
|
|
5750
|
+
JSON.parse(text5);
|
|
5751
|
+
return { state: "valid" };
|
|
5752
|
+
} catch {
|
|
5753
|
+
}
|
|
5754
|
+
const fixes = [];
|
|
5755
|
+
const lineAt = /* @__PURE__ */ __name((offset) => text5.slice(0, offset).split("\n").length, "lineAt");
|
|
5756
|
+
const fix = /* @__PURE__ */ __name((kind2, offset) => fixes.push({ kind: kind2, line: lineAt(offset) }), "fix");
|
|
5757
|
+
const giveUp = /* @__PURE__ */ __name((why, offset = at2) => {
|
|
5758
|
+
throw new GiveUp(offset, why);
|
|
5759
|
+
}, "giveUp");
|
|
5760
|
+
let at2 = 0;
|
|
5761
|
+
let truncated = false;
|
|
5762
|
+
let last = "open";
|
|
5763
|
+
let lastEnd = 0;
|
|
5764
|
+
const previous = /* @__PURE__ */ __name(() => last, "previous");
|
|
5765
|
+
const skip = /* @__PURE__ */ __name(() => {
|
|
5766
|
+
for (; ; ) {
|
|
5767
|
+
while (/\s/.test(text5[at2] ?? ""))
|
|
5768
|
+
at2++;
|
|
5769
|
+
if (text5.startsWith("//", at2)) {
|
|
5770
|
+
fix("comment", at2);
|
|
5771
|
+
while (at2 < text5.length && text5[at2] !== "\n")
|
|
5772
|
+
at2++;
|
|
5773
|
+
} else if (text5.startsWith("/*", at2)) {
|
|
5774
|
+
const end = text5.indexOf("*/", at2 + 2);
|
|
5775
|
+
if (end < 0)
|
|
5776
|
+
giveUp("a /* comment is never closed");
|
|
5777
|
+
fix("comment", at2);
|
|
5778
|
+
at2 = end + 2;
|
|
5779
|
+
} else
|
|
5780
|
+
return;
|
|
5781
|
+
}
|
|
5782
|
+
}, "skip");
|
|
5783
|
+
const string2 = /* @__PURE__ */ __name(() => {
|
|
5784
|
+
const quote = text5[at2];
|
|
5785
|
+
const start = at2;
|
|
5786
|
+
if (quote === "'")
|
|
5787
|
+
fix("single_quotes", at2);
|
|
5788
|
+
at2++;
|
|
5789
|
+
let body = "";
|
|
5790
|
+
for (; ; ) {
|
|
5791
|
+
if (at2 >= text5.length)
|
|
5792
|
+
giveUp("the file stops inside a quoted text", start);
|
|
5793
|
+
const char = text5[at2];
|
|
5794
|
+
if (char === quote)
|
|
5795
|
+
break;
|
|
5796
|
+
if (text5.charCodeAt(at2) < 32)
|
|
5797
|
+
giveUp("a line break inside a quoted text");
|
|
5798
|
+
if (char === "\\") {
|
|
5799
|
+
const next = text5[at2 + 1] ?? "";
|
|
5800
|
+
if (quote === "'" && next === "'")
|
|
5801
|
+
body += "'";
|
|
5802
|
+
else if (/^["\\/bfnrt]$/.test(next))
|
|
5803
|
+
body += `\\${next}`;
|
|
5804
|
+
else if (next === "u" && /^[0-9a-fA-F]{4}$/.test(text5.slice(at2 + 2, at2 + 6))) {
|
|
5805
|
+
body += text5.slice(at2, at2 + 6);
|
|
5806
|
+
at2 += 4;
|
|
5807
|
+
} else
|
|
5808
|
+
giveUp("an escape JSON has no meaning for");
|
|
5809
|
+
at2 += 2;
|
|
5810
|
+
continue;
|
|
5811
|
+
}
|
|
5812
|
+
body += char === '"' ? '\\"' : char;
|
|
5813
|
+
at2++;
|
|
5814
|
+
}
|
|
5815
|
+
at2++;
|
|
5816
|
+
return JSON.parse(`"${body}"`);
|
|
5817
|
+
}, "string");
|
|
5818
|
+
const key = /* @__PURE__ */ __name(() => {
|
|
5819
|
+
const char = text5[at2] ?? "";
|
|
5820
|
+
if (char === '"' || char === "'")
|
|
5821
|
+
return string2();
|
|
5822
|
+
const word = KEY.exec(text5.slice(at2))?.[0];
|
|
5823
|
+
if (!word)
|
|
5824
|
+
return giveUp("something other than a key where a key should be");
|
|
5825
|
+
fix("unquoted_key", at2);
|
|
5826
|
+
at2 += word.length;
|
|
5827
|
+
return word;
|
|
5828
|
+
}, "key");
|
|
5829
|
+
const scalar = /* @__PURE__ */ __name(() => {
|
|
5830
|
+
const char = text5[at2] ?? "";
|
|
5831
|
+
if (char === '"' || char === "'")
|
|
5832
|
+
return { json: JSON.stringify(string2()) };
|
|
5833
|
+
const word = (NUMBER.exec(text5.slice(at2)) ?? LITERAL.exec(text5.slice(at2)))?.[0];
|
|
5834
|
+
if (!word || !ENDS_VALUE.test(text5[at2 + word.length] ?? ""))
|
|
5835
|
+
return giveUp("a value that is not JSON \u2014 text needs quotes, and only true, false and null go without");
|
|
5836
|
+
if (at2 + word.length === text5.length && NUMBER.test(word))
|
|
5837
|
+
giveUp("the file stops inside a number");
|
|
5838
|
+
at2 += word.length;
|
|
5839
|
+
return { json: word };
|
|
5840
|
+
}, "scalar");
|
|
5841
|
+
const members = /* @__PURE__ */ __name((close, one) => {
|
|
5842
|
+
const out = [];
|
|
5843
|
+
at2++;
|
|
5844
|
+
last = "open";
|
|
5845
|
+
let comma = -1;
|
|
5846
|
+
for (; ; ) {
|
|
5847
|
+
skip();
|
|
5848
|
+
if (truncated)
|
|
5849
|
+
return out;
|
|
5850
|
+
if (at2 >= text5.length) {
|
|
5851
|
+
if (previous() === "close")
|
|
5852
|
+
giveUp("the file stops after a closing bracket, so which brackets are missing has two readings");
|
|
5853
|
+
if (previous() === "comma")
|
|
5854
|
+
fix("trailing_comma", comma);
|
|
5855
|
+
fix("missing_closer", text5.length);
|
|
5856
|
+
truncated = true;
|
|
5857
|
+
return out;
|
|
5858
|
+
}
|
|
5859
|
+
const char = text5[at2];
|
|
5860
|
+
if (char === close) {
|
|
5861
|
+
if (previous() === "comma")
|
|
5862
|
+
fix("trailing_comma", comma);
|
|
5863
|
+
at2++;
|
|
5864
|
+
last = "close";
|
|
5865
|
+
return out;
|
|
5866
|
+
}
|
|
5867
|
+
if (char === "}" || char === "]")
|
|
5868
|
+
giveUp(`a ${char} where ${close} should close`);
|
|
5869
|
+
if (char === ",") {
|
|
5870
|
+
if (previous() !== "value" && previous() !== "close")
|
|
5871
|
+
giveUp("a comma with nothing before it");
|
|
5872
|
+
comma = at2;
|
|
5873
|
+
at2++;
|
|
5874
|
+
last = "comma";
|
|
5875
|
+
continue;
|
|
5876
|
+
}
|
|
5877
|
+
if (previous() === "value" || previous() === "close") {
|
|
5878
|
+
if (lineAt(at2) === lineAt(lastEnd))
|
|
5879
|
+
giveUp("two entries on one line with no comma between them");
|
|
5880
|
+
fix("missing_comma", lastEnd);
|
|
5881
|
+
}
|
|
5882
|
+
out.push(one());
|
|
5883
|
+
}
|
|
5884
|
+
}, "members");
|
|
5885
|
+
const value = /* @__PURE__ */ __name(() => {
|
|
5886
|
+
const char = text5[at2] ?? "";
|
|
5887
|
+
let node;
|
|
5888
|
+
if (char === "{") {
|
|
5889
|
+
const seen = /* @__PURE__ */ new Set();
|
|
5890
|
+
node = {
|
|
5891
|
+
object: members("}", () => {
|
|
5892
|
+
const start = at2;
|
|
5893
|
+
const name = key();
|
|
5894
|
+
if (seen.has(name))
|
|
5895
|
+
giveUp("a key appears twice in one object", start);
|
|
5896
|
+
seen.add(name);
|
|
5897
|
+
skip();
|
|
5898
|
+
if (at2 >= text5.length)
|
|
5899
|
+
giveUp("the file stops after a key, before its value");
|
|
5900
|
+
if (text5[at2] !== ":")
|
|
5901
|
+
giveUp("a key with no colon after it");
|
|
5902
|
+
at2++;
|
|
5903
|
+
skip();
|
|
5904
|
+
if (at2 >= text5.length)
|
|
5905
|
+
giveUp("the file stops after a key, before its value");
|
|
5906
|
+
return [name, value()];
|
|
5907
|
+
})
|
|
5908
|
+
};
|
|
5909
|
+
} else if (char === "[") {
|
|
5910
|
+
node = {
|
|
5911
|
+
array: members("]", () => {
|
|
5912
|
+
return value();
|
|
5913
|
+
})
|
|
5914
|
+
};
|
|
5915
|
+
} else
|
|
5916
|
+
node = scalar();
|
|
5917
|
+
if (!truncated) {
|
|
5918
|
+
last = "json" in node ? "value" : "close";
|
|
5919
|
+
lastEnd = at2;
|
|
5920
|
+
}
|
|
5921
|
+
return node;
|
|
5922
|
+
}, "value");
|
|
5923
|
+
try {
|
|
5924
|
+
if (text5.includes("\0") || text5.includes(String.fromCharCode(65533)))
|
|
5925
|
+
giveUp("the file is not text", 0);
|
|
5926
|
+
if (text5.charCodeAt(0) === 65279) {
|
|
5927
|
+
fix("byte_order_mark", 0);
|
|
5928
|
+
at2 = 1;
|
|
5929
|
+
}
|
|
5930
|
+
skip();
|
|
5931
|
+
if (text5[at2] !== "{")
|
|
5932
|
+
giveUp(at2 >= text5.length ? "the file is empty" : "the file does not start with {");
|
|
5933
|
+
const root = value();
|
|
5934
|
+
skip();
|
|
5935
|
+
if (at2 < text5.length)
|
|
5936
|
+
giveUp("more text after the closing }");
|
|
5937
|
+
const repaired = `${serialise(root, "")}
|
|
5938
|
+
`;
|
|
5939
|
+
JSON.parse(repaired);
|
|
5940
|
+
return { state: "repaired", text: repaired, fixes };
|
|
5941
|
+
} catch (error) {
|
|
5942
|
+
if (!(error instanceof GiveUp))
|
|
5943
|
+
throw error;
|
|
5944
|
+
const before = text5.slice(0, error.at).split("\n");
|
|
5945
|
+
return {
|
|
5946
|
+
state: "refused",
|
|
5947
|
+
line: before.length,
|
|
5948
|
+
column: (before.at(-1)?.length ?? 0) + 1,
|
|
5949
|
+
why: error.why
|
|
5950
|
+
};
|
|
5951
|
+
}
|
|
5952
|
+
}, "repairConfigText");
|
|
5953
|
+
var serialise = /* @__PURE__ */ __name((node, indent) => {
|
|
5954
|
+
if ("json" in node)
|
|
5955
|
+
return node.json;
|
|
5956
|
+
const inner = `${indent} `;
|
|
5957
|
+
const parts = "object" in node ? node.object.map(([name, item]) => `${inner}${JSON.stringify(name)}: ${serialise(item, inner)}`) : node.array.map((item) => `${inner}${serialise(item, inner)}`);
|
|
5958
|
+
const [open, close] = "object" in node ? ["{", "}"] : ["[", "]"];
|
|
5959
|
+
return parts.length === 0 ? `${open}${close}` : `${open}
|
|
5960
|
+
${parts.join(",\n")}
|
|
5961
|
+
${indent}${close}`;
|
|
5962
|
+
}, "serialise");
|
|
5963
|
+
|
|
5964
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.559.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_907a8c00de2c01e4b50d7050f36772c6/node_modules/@wirecat/cli-core/dist/cli/config-issues.js
|
|
5718
5965
|
var isNode = /* @__PURE__ */ __name((value) => typeof value === "object" && value !== null && !Array.isArray(value), "isNode");
|
|
5719
5966
|
var SECTIONS = ["personal", "bot"];
|
|
5720
5967
|
var SHELL_SAFE = /^[A-Za-z0-9_.:@-]*$/;
|
|
@@ -5961,17 +6208,22 @@ var withoutPath = /* @__PURE__ */ __name((raw, at2) => {
|
|
|
5961
6208
|
}, "withoutPath");
|
|
5962
6209
|
var withoutSetting = /* @__PURE__ */ __name((raw, setting2) => withoutPath(raw, settingPathOf(setting2)), "withoutSetting");
|
|
5963
6210
|
var publicIssue = /* @__PURE__ */ __name(({ at: _, ...issue }) => issue, "publicIssue");
|
|
6211
|
+
var fixVerb = /* @__PURE__ */ __name((issue) => issue.kind === "invalid_json" ? "repair" : "remove", "fixVerb");
|
|
5964
6212
|
var issueMessage = /* @__PURE__ */ __name((issues, doctor = "doctor") => {
|
|
5965
6213
|
const [first2] = issues;
|
|
5966
6214
|
if (!first2)
|
|
5967
6215
|
return "";
|
|
5968
6216
|
const more = issues.length - 1;
|
|
5969
|
-
return `${first2.file}: ${first2.what}` + (first2.fix ? ` \u2014
|
|
6217
|
+
return `${first2.file}: ${first2.what}` + (first2.fix ? ` \u2014 ${fixVerb(first2)} it with \`${first2.fix}\`` : "") + (more === 0 ? "" : ` (and ${more} more problem${more === 1 ? "" : "s"} \u2014 \`${doctor}\` lists them all)`);
|
|
5970
6218
|
}, "issueMessage");
|
|
5971
6219
|
var checkConfigText = /* @__PURE__ */ __name((text5, { file, tool, schema: schema2, knownPermissions }) => {
|
|
5972
6220
|
const parsed = parseConfigText(text5, file);
|
|
5973
|
-
if ("issue" in parsed)
|
|
5974
|
-
|
|
6221
|
+
if ("issue" in parsed) {
|
|
6222
|
+
const issue = publicIssue(parsed.issue);
|
|
6223
|
+
if (repairConfigText(text5).state === "repaired")
|
|
6224
|
+
issue.fix = `${tool} config repair`;
|
|
6225
|
+
return { issues: [issue], config: void 0 };
|
|
6226
|
+
}
|
|
5975
6227
|
if (!isNode(parsed.raw))
|
|
5976
6228
|
return { issues: [wholeFile(file, "the file must hold a JSON object")], config: void 0 };
|
|
5977
6229
|
const context2 = { file, tool };
|
|
@@ -6004,7 +6256,7 @@ var readConfigFile = /* @__PURE__ */ __name((path2) => {
|
|
|
6004
6256
|
return "issue" in parsed ? { issue: publicIssue(parsed.issue) } : parsed;
|
|
6005
6257
|
}, "readConfigFile");
|
|
6006
6258
|
|
|
6007
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6259
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.559.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_907a8c00de2c01e4b50d7050f36772c6/node_modules/@wirecat/cli-core/dist/cli/default-config.js
|
|
6008
6260
|
import { existsSync as existsSync2, linkSync, mkdirSync as mkdirSync2, mkdtempSync, rmSync as rmSync2, writeFileSync as writeFileSync2 } from "node:fs";
|
|
6009
6261
|
import { dirname, join as join3 } from "node:path";
|
|
6010
6262
|
var DEFAULT_CONFIG = {
|
|
@@ -6033,7 +6285,7 @@ function ensureDefaultConfig(path2, config = DEFAULT_CONFIG) {
|
|
|
6033
6285
|
}
|
|
6034
6286
|
__name(ensureDefaultConfig, "ensureDefaultConfig");
|
|
6035
6287
|
|
|
6036
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6288
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.559.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_907a8c00de2c01e4b50d7050f36772c6/node_modules/@wirecat/cli-core/dist/cli/settings.js
|
|
6037
6289
|
var DEFAULT_LIMIT = DEFAULT_CONFIG.defaults.limit;
|
|
6038
6290
|
var DEFAULT_KEEP_RUNS_FOR_DAYS = DEFAULT_CONFIG.defaults.keep_runs_for_days;
|
|
6039
6291
|
var DEFAULT_SENDS_PER_HOUR = DEFAULT_CONFIG.defaults.sends_per_hour;
|
|
@@ -6442,7 +6694,7 @@ var given = /* @__PURE__ */ __name((value) => {
|
|
|
6442
6694
|
return trimmed === void 0 || trimmed === "" ? void 0 : trimmed;
|
|
6443
6695
|
}, "given");
|
|
6444
6696
|
|
|
6445
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6697
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.559.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_907a8c00de2c01e4b50d7050f36772c6/node_modules/@wirecat/cli-core/dist/cli/context.js
|
|
6446
6698
|
var setExitCode = /* @__PURE__ */ __name((command, code) => {
|
|
6447
6699
|
const slot = environmentOf(command).exit;
|
|
6448
6700
|
if (slot)
|
|
@@ -6555,7 +6807,7 @@ var commandPath = /* @__PURE__ */ __name((command) => {
|
|
|
6555
6807
|
return words.join(" ");
|
|
6556
6808
|
}, "commandPath");
|
|
6557
6809
|
|
|
6558
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6810
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.559.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_907a8c00de2c01e4b50d7050f36772c6/node_modules/@wirecat/cli-core/dist/cli/effects.js
|
|
6559
6811
|
var REMOTE_READ = { remote: "read", local: "read" };
|
|
6560
6812
|
var FETCH = { remote: "read", local: "write" };
|
|
6561
6813
|
var REMOTE_WRITE = { remote: "write", local: "write" };
|
|
@@ -6650,7 +6902,7 @@ var refuseUnderReadOnly = /* @__PURE__ */ __name((command, what) => {
|
|
|
6650
6902
|
throw readOnlyRefusal(lock, what);
|
|
6651
6903
|
}, "refuseUnderReadOnly");
|
|
6652
6904
|
|
|
6653
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6905
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.559.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_907a8c00de2c01e4b50d7050f36772c6/node_modules/@wirecat/cli-core/dist/entities/fields.js
|
|
6654
6906
|
var text = string();
|
|
6655
6907
|
var id = pipe(string(), minLength(1));
|
|
6656
6908
|
var time = isoTime;
|
|
@@ -6674,7 +6926,7 @@ var author = strictObject({
|
|
|
6674
6926
|
name: nullable(text)
|
|
6675
6927
|
});
|
|
6676
6928
|
|
|
6677
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6929
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.559.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_907a8c00de2c01e4b50d7050f36772c6/node_modules/@wirecat/cli-core/dist/entities/account.js
|
|
6678
6930
|
var account = strictObject({
|
|
6679
6931
|
provider: text,
|
|
6680
6932
|
id,
|
|
@@ -6684,7 +6936,7 @@ var account = strictObject({
|
|
|
6684
6936
|
scope: optional(picklist(["personal", "work"]))
|
|
6685
6937
|
});
|
|
6686
6938
|
|
|
6687
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6939
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.559.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_907a8c00de2c01e4b50d7050f36772c6/node_modules/@wirecat/cli-core/dist/entities/account-session.js
|
|
6688
6940
|
var accountSession = strictObject({
|
|
6689
6941
|
current: boolean(),
|
|
6690
6942
|
client: nullable(text),
|
|
@@ -6694,7 +6946,7 @@ var accountSession = strictObject({
|
|
|
6694
6946
|
created_at: optional(nullable(time))
|
|
6695
6947
|
});
|
|
6696
6948
|
|
|
6697
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6949
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.559.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_907a8c00de2c01e4b50d7050f36772c6/node_modules/@wirecat/cli-core/dist/entities/account-change.js
|
|
6698
6950
|
var accountChange = strictObject({ operation_id: id, account: omit(account, ["provider", "scope"]) });
|
|
6699
6951
|
var endedAccountSessions = strictObject({ operation_id: id, sessions: array(accountSession) });
|
|
6700
6952
|
var audience = picklist(["everyone", "contacts", "nobody"]);
|
|
@@ -6712,7 +6964,7 @@ var accountPrivacy = strictObject({
|
|
|
6712
6964
|
});
|
|
6713
6965
|
var accountPrivacyChange = strictObject({ operation_id: id, privacy: accountPrivacy });
|
|
6714
6966
|
|
|
6715
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6967
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.559.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_907a8c00de2c01e4b50d7050f36772c6/node_modules/@wirecat/cli-core/dist/entities/account-profile.js
|
|
6716
6968
|
var accountProfile = strictObject({
|
|
6717
6969
|
profile: id,
|
|
6718
6970
|
current: boolean(),
|
|
@@ -6722,7 +6974,7 @@ var accountProfile = strictObject({
|
|
|
6722
6974
|
signed_in: optional(boolean())
|
|
6723
6975
|
});
|
|
6724
6976
|
|
|
6725
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6977
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.559.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_907a8c00de2c01e4b50d7050f36772c6/node_modules/@wirecat/cli-core/dist/entities/counter-reading.js
|
|
6726
6978
|
var milliseconds = pipe(number(), minValue(0));
|
|
6727
6979
|
var counterReading = strictObject({
|
|
6728
6980
|
counter: picklist(["views", "reactions", "comments"]),
|
|
@@ -6734,7 +6986,7 @@ var counterReading = strictObject({
|
|
|
6734
6986
|
});
|
|
6735
6987
|
var selection = record(string(), unknown());
|
|
6736
6988
|
|
|
6737
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6989
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.559.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_907a8c00de2c01e4b50d7050f36772c6/node_modules/@wirecat/cli-core/dist/entities/admin-report.js
|
|
6738
6990
|
var adminRow = strictObject({
|
|
6739
6991
|
ref: reference,
|
|
6740
6992
|
/** What `stats * evidence` takes: a person id, a stay or a message locator. */
|
|
@@ -6787,7 +7039,7 @@ var adminReport = strictObject({
|
|
|
6787
7039
|
rows: array(adminRow)
|
|
6788
7040
|
});
|
|
6789
7041
|
|
|
6790
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7042
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.559.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_907a8c00de2c01e4b50d7050f36772c6/node_modules/@wirecat/cli-core/dist/entities/task.js
|
|
6791
7043
|
var closeSuggestion = strictObject({
|
|
6792
7044
|
as: picklist(["done", "dismissed"]),
|
|
6793
7045
|
/** The agent's name. */
|
|
@@ -6845,7 +7097,7 @@ var task = strictObject({
|
|
|
6845
7097
|
updated_at: optional(time)
|
|
6846
7098
|
});
|
|
6847
7099
|
|
|
6848
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7100
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.559.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_907a8c00de2c01e4b50d7050f36772c6/node_modules/@wirecat/cli-core/dist/entities/agenda.js
|
|
6849
7101
|
var agendaChat = strictObject({
|
|
6850
7102
|
chat: reference,
|
|
6851
7103
|
title: nullable(text),
|
|
@@ -6915,11 +7167,11 @@ var agenda = strictObject({
|
|
|
6915
7167
|
unlisted_categories: array(strictObject({ name: text, open_tasks: number() }))
|
|
6916
7168
|
});
|
|
6917
7169
|
|
|
6918
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7170
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.559.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_907a8c00de2c01e4b50d7050f36772c6/node_modules/@wirecat/cli-core/dist/entities/analysis-consent.js
|
|
6919
7171
|
var analysisConsent = strictObject({ chat: id, provider: text, at: time });
|
|
6920
7172
|
var analysisConsentRevocation = strictObject({ revoked: boolean() });
|
|
6921
7173
|
|
|
6922
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7174
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.559.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_907a8c00de2c01e4b50d7050f36772c6/node_modules/@wirecat/cli-core/dist/entities/attachment.js
|
|
6923
7175
|
var attachment = strictObject({
|
|
6924
7176
|
/** The message it came with, as a locator; absent inside that message. */
|
|
6925
7177
|
message: optional(reference),
|
|
@@ -6957,7 +7209,7 @@ var attachment = strictObject({
|
|
|
6957
7209
|
});
|
|
6958
7210
|
var hitFile = strictObject({ position: count2, kind: text, name: optional(text), size: optional(count2) });
|
|
6959
7211
|
|
|
6960
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7212
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.559.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_907a8c00de2c01e4b50d7050f36772c6/node_modules/@wirecat/cli-core/dist/entities/batch-result.js
|
|
6961
7213
|
var actionableError = objectWithRest({
|
|
6962
7214
|
code: text,
|
|
6963
7215
|
message: text,
|
|
@@ -6974,7 +7226,7 @@ var batchResult = strictObject({
|
|
|
6974
7226
|
max_error_percent: count2
|
|
6975
7227
|
});
|
|
6976
7228
|
|
|
6977
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7229
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.559.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_907a8c00de2c01e4b50d7050f36772c6/node_modules/@wirecat/cli-core/dist/entities/extraction-report.js
|
|
6978
7230
|
var extractionItem = strictObject({
|
|
6979
7231
|
ref: reference,
|
|
6980
7232
|
attachment: count2,
|
|
@@ -7007,7 +7259,7 @@ var extractionReport = strictObject({
|
|
|
7007
7259
|
cursor: optional(text)
|
|
7008
7260
|
});
|
|
7009
7261
|
|
|
7010
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7262
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.559.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_907a8c00de2c01e4b50d7050f36772c6/node_modules/@wirecat/cli-core/dist/entities/attachment-results.js
|
|
7011
7263
|
var fingerprint = pipe(text, regex(/^[a-f0-9]{64}$/));
|
|
7012
7264
|
var attachmentBytes = strictObject({
|
|
7013
7265
|
ref: reference,
|
|
@@ -7035,7 +7287,7 @@ var attachmentTextChange = strictObject({
|
|
|
7035
7287
|
replaced: nullable(picklist(["extracted", "agent"]))
|
|
7036
7288
|
});
|
|
7037
7289
|
|
|
7038
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7290
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.559.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_907a8c00de2c01e4b50d7050f36772c6/node_modules/@wirecat/cli-core/dist/entities/chart.js
|
|
7039
7291
|
var chart = strictObject({
|
|
7040
7292
|
version: literal(1),
|
|
7041
7293
|
kind: picklist(["bar", "line", "grouped-bar"]),
|
|
@@ -7050,7 +7302,7 @@ var chart = strictObject({
|
|
|
7050
7302
|
file: optional(strictObject({ path: text, format: picklist(["svg", "png"]), width: count2, height: count2 }))
|
|
7051
7303
|
});
|
|
7052
7304
|
|
|
7053
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7305
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.559.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_907a8c00de2c01e4b50d7050f36772c6/node_modules/@wirecat/cli-core/dist/entities/member.js
|
|
7054
7306
|
var member = strictObject({
|
|
7055
7307
|
id,
|
|
7056
7308
|
name: nullable(text),
|
|
@@ -7073,7 +7325,7 @@ var member = strictObject({
|
|
|
7073
7325
|
check: optional(record(string(), unknown()))
|
|
7074
7326
|
});
|
|
7075
7327
|
|
|
7076
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7328
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.559.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_907a8c00de2c01e4b50d7050f36772c6/node_modules/@wirecat/cli-core/dist/entities/chat.js
|
|
7077
7329
|
var setting = optional(nullable(boolean()));
|
|
7078
7330
|
var chat = strictObject({
|
|
7079
7331
|
ref: reference,
|
|
@@ -7114,7 +7366,7 @@ var chat = strictObject({
|
|
|
7114
7366
|
members: optional(array(member))
|
|
7115
7367
|
});
|
|
7116
7368
|
|
|
7117
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7369
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.559.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_907a8c00de2c01e4b50d7050f36772c6/node_modules/@wirecat/cli-core/dist/entities/folder.js
|
|
7118
7370
|
var named2 = strictObject({
|
|
7119
7371
|
id,
|
|
7120
7372
|
title: nullable(text),
|
|
@@ -7137,7 +7389,7 @@ var folder = strictObject({
|
|
|
7137
7389
|
excluded_chats: optional(array(named2))
|
|
7138
7390
|
});
|
|
7139
7391
|
|
|
7140
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7392
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.559.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_907a8c00de2c01e4b50d7050f36772c6/node_modules/@wirecat/cli-core/dist/entities/invite-link.js
|
|
7141
7393
|
var inviteLink = strictObject({
|
|
7142
7394
|
link: text,
|
|
7143
7395
|
/** Who joins by it asks first, and an admin lets them in. */
|
|
@@ -7153,7 +7405,7 @@ var inviteLink = strictObject({
|
|
|
7153
7405
|
joined_count: optional(count2)
|
|
7154
7406
|
});
|
|
7155
7407
|
|
|
7156
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7408
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.559.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_907a8c00de2c01e4b50d7050f36772c6/node_modules/@wirecat/cli-core/dist/entities/chat-admin.js
|
|
7157
7409
|
var operated = { operation_id: id, chat_id: id };
|
|
7158
7410
|
var group = strictObject({
|
|
7159
7411
|
...omit(chat, ["ref", "provider", "account", "invite_link", "members"]).entries,
|
|
@@ -7233,7 +7485,7 @@ var chatFolderOrder = strictObject({
|
|
|
7233
7485
|
folders: array(strictObject({ id, title: text }))
|
|
7234
7486
|
});
|
|
7235
7487
|
|
|
7236
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7488
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.559.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_907a8c00de2c01e4b50d7050f36772c6/node_modules/@wirecat/cli-core/dist/entities/chat-change.js
|
|
7237
7489
|
var operated2 = { operation_id: id, chat_id: id };
|
|
7238
7490
|
var chatRemoval = strictObject(operated2);
|
|
7239
7491
|
var chatMuting = strictObject({
|
|
@@ -7244,7 +7496,7 @@ var chatArchive = strictObject({ ...operated2, archived: boolean() });
|
|
|
7244
7496
|
var chatPin = strictObject({ ...operated2, pinned: boolean() });
|
|
7245
7497
|
var chatUnread = strictObject({ ...operated2, unread: literal(true) });
|
|
7246
7498
|
|
|
7247
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7499
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.559.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_907a8c00de2c01e4b50d7050f36772c6/node_modules/@wirecat/cli-core/dist/entities/chat-event.js
|
|
7248
7500
|
var who = strictObject({ id: nullable(id), name: nullable(text), username: optional(nullable(text)) });
|
|
7249
7501
|
var chatEvent = strictObject({
|
|
7250
7502
|
chat_id: id,
|
|
@@ -7261,7 +7513,7 @@ var chatEvent = strictObject({
|
|
|
7261
7513
|
before: optional(strictObject({ name: nullable(text), username: nullable(text) }))
|
|
7262
7514
|
});
|
|
7263
7515
|
|
|
7264
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7516
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.559.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_907a8c00de2c01e4b50d7050f36772c6/node_modules/@wirecat/cli-core/dist/entities/chat-metadata.js
|
|
7265
7517
|
var chatMetadata = strictObject({
|
|
7266
7518
|
chat_id: id,
|
|
7267
7519
|
title: nullable(text),
|
|
@@ -7276,7 +7528,7 @@ var chatMetadataRefresh = strictObject({
|
|
|
7276
7528
|
has_more: boolean()
|
|
7277
7529
|
});
|
|
7278
7530
|
|
|
7279
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7531
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.559.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_907a8c00de2c01e4b50d7050f36772c6/node_modules/@wirecat/cli-core/dist/entities/chat-moderation.js
|
|
7280
7532
|
var action = picklist(["report", "delete", "remove"]);
|
|
7281
7533
|
var level = picklist(["deny", "readonly", "ask", "allow"]);
|
|
7282
7534
|
var chatRules = strictObject({
|
|
@@ -7313,7 +7565,7 @@ var chatModeration = strictObject({
|
|
|
7313
7565
|
}))
|
|
7314
7566
|
});
|
|
7315
7567
|
|
|
7316
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7568
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.559.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_907a8c00de2c01e4b50d7050f36772c6/node_modules/@wirecat/cli-core/dist/entities/chat-stats.js
|
|
7317
7569
|
var optionalCount = optional(count2);
|
|
7318
7570
|
var minutes = nullable(number());
|
|
7319
7571
|
var chatStats = strictObject({
|
|
@@ -7375,7 +7627,7 @@ var taskStats = strictObject({
|
|
|
7375
7627
|
}))
|
|
7376
7628
|
});
|
|
7377
7629
|
|
|
7378
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7630
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.559.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_907a8c00de2c01e4b50d7050f36772c6/node_modules/@wirecat/cli-core/dist/entities/chat-tracking.js
|
|
7379
7631
|
var memberCount = strictObject({
|
|
7380
7632
|
day: pipe(text, isoDate()),
|
|
7381
7633
|
participants: nullable(count2),
|
|
@@ -7398,7 +7650,7 @@ var chatTracking = strictObject({
|
|
|
7398
7650
|
tracked: boolean()
|
|
7399
7651
|
});
|
|
7400
7652
|
|
|
7401
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7653
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.559.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_907a8c00de2c01e4b50d7050f36772c6/node_modules/@wirecat/cli-core/dist/entities/contact-read.js
|
|
7402
7654
|
var contactLookup = strictObject({ id, name: nullable(text), username: nullable(text) });
|
|
7403
7655
|
var contactSync = strictObject({ added: count2, changed: count2, known: count2 });
|
|
7404
7656
|
var profileFields = {
|
|
@@ -7436,7 +7688,7 @@ var profileFields = {
|
|
|
7436
7688
|
}))
|
|
7437
7689
|
};
|
|
7438
7690
|
|
|
7439
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7691
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.559.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_907a8c00de2c01e4b50d7050f36772c6/node_modules/@wirecat/cli-core/dist/entities/contact.js
|
|
7440
7692
|
var contact = strictObject({
|
|
7441
7693
|
ref: reference,
|
|
7442
7694
|
id,
|
|
@@ -7467,7 +7719,7 @@ var contact = strictObject({
|
|
|
7467
7719
|
notes: optional(array(strictObject({ id, text, revision: count2, created_at: time, updated_at: time })))
|
|
7468
7720
|
});
|
|
7469
7721
|
|
|
7470
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7722
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.559.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_907a8c00de2c01e4b50d7050f36772c6/node_modules/@wirecat/cli-core/dist/botcheck/reasons.js
|
|
7471
7723
|
var WEIGHTS = {
|
|
7472
7724
|
bot: 3,
|
|
7473
7725
|
scam: 3,
|
|
@@ -7492,7 +7744,7 @@ var LINK = /https?:\/\/|t\.me\/|www\./i;
|
|
|
7492
7744
|
var DIGITS = /\d{5,}/;
|
|
7493
7745
|
var oddName = /* @__PURE__ */ __name((name) => !name?.trim() || DIGITS.test(name) || LINK.test(name), "oddName");
|
|
7494
7746
|
|
|
7495
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7747
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.559.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_907a8c00de2c01e4b50d7050f36772c6/node_modules/@wirecat/cli-core/dist/entities/contact-activity.js
|
|
7496
7748
|
var linkedIdentity = strictObject({
|
|
7497
7749
|
provider: text,
|
|
7498
7750
|
id,
|
|
@@ -7533,7 +7785,7 @@ var contactCheck = strictObject({
|
|
|
7533
7785
|
checked_at: time
|
|
7534
7786
|
});
|
|
7535
7787
|
|
|
7536
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7788
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.559.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_907a8c00de2c01e4b50d7050f36772c6/node_modules/@wirecat/cli-core/dist/entities/message.js
|
|
7537
7789
|
var quoted = strictObject({
|
|
7538
7790
|
id,
|
|
7539
7791
|
sender_id: nullable(id),
|
|
@@ -7646,7 +7898,7 @@ var message = strictObject({
|
|
|
7646
7898
|
provider_metadata: providerMetadata
|
|
7647
7899
|
});
|
|
7648
7900
|
|
|
7649
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7901
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.559.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_907a8c00de2c01e4b50d7050f36772c6/node_modules/@wirecat/cli-core/dist/entities/contact-context.js
|
|
7650
7902
|
var contextPerson = strictObject({ ...linkedPerson.entries, provider: text, id });
|
|
7651
7903
|
var contextMessage = strictObject({
|
|
7652
7904
|
locator: reference,
|
|
@@ -7844,7 +8096,7 @@ var contactPreparation = strictObject({
|
|
|
7844
8096
|
})
|
|
7845
8097
|
});
|
|
7846
8098
|
|
|
7847
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8099
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.559.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_907a8c00de2c01e4b50d7050f36772c6/node_modules/@wirecat/cli-core/dist/entities/contact-note.js
|
|
7848
8100
|
var contactNote = strictObject({
|
|
7849
8101
|
id,
|
|
7850
8102
|
/** The contact, as a `contact:` reference. */
|
|
@@ -7856,13 +8108,13 @@ var contactNote = strictObject({
|
|
|
7856
8108
|
updated_at: time
|
|
7857
8109
|
});
|
|
7858
8110
|
|
|
7859
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8111
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.559.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_907a8c00de2c01e4b50d7050f36772c6/node_modules/@wirecat/cli-core/dist/entities/contact-write.js
|
|
7860
8112
|
var addressBookPerson = strictObject({ id, name: nullable(text), username: nullable(text) });
|
|
7861
8113
|
var contactUpdate = strictObject({ operation_id: id, person: addressBookPerson });
|
|
7862
8114
|
var contactStateChange = strictObject({ operation_id: id, person_id: id });
|
|
7863
8115
|
var contactImport = strictObject({ operation_id: id, sent: count2, recognised: array(addressBookPerson) });
|
|
7864
8116
|
|
|
7865
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8117
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.559.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_907a8c00de2c01e4b50d7050f36772c6/node_modules/@wirecat/cli-core/dist/entities/conversation.js
|
|
7866
8118
|
var conversation = strictObject({
|
|
7867
8119
|
id,
|
|
7868
8120
|
chat: reference,
|
|
@@ -7877,7 +8129,7 @@ var conversation = strictObject({
|
|
|
7877
8129
|
rules_version: count2
|
|
7878
8130
|
});
|
|
7879
8131
|
|
|
7880
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8132
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.559.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_907a8c00de2c01e4b50d7050f36772c6/node_modules/@wirecat/cli-core/dist/entities/conversation-preparation.js
|
|
7881
8133
|
var conversationBuild = strictObject({
|
|
7882
8134
|
chat: id,
|
|
7883
8135
|
messages: count2,
|
|
@@ -7902,7 +8154,7 @@ var catchUpPreparation = strictObject({
|
|
|
7902
8154
|
prepared: optional(conversationPreparation)
|
|
7903
8155
|
});
|
|
7904
8156
|
|
|
7905
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8157
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.559.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_907a8c00de2c01e4b50d7050f36772c6/node_modules/@wirecat/cli-core/dist/entities/conversation-results.js
|
|
7906
8158
|
var conversationDetails = union([
|
|
7907
8159
|
strictObject({ ...conversation.entries, messages: array(message) }),
|
|
7908
8160
|
message
|
|
@@ -7992,7 +8244,7 @@ var conversationHit = strictObject({
|
|
|
7992
8244
|
stale: boolean()
|
|
7993
8245
|
});
|
|
7994
8246
|
|
|
7995
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8247
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.559.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_907a8c00de2c01e4b50d7050f36772c6/node_modules/@wirecat/cli-core/dist/entities/counters.js
|
|
7996
8248
|
var counters = strictObject({
|
|
7997
8249
|
cutoff: time,
|
|
7998
8250
|
max_age_ms: milliseconds,
|
|
@@ -8022,7 +8274,7 @@ var counterRefresh = strictObject({
|
|
|
8022
8274
|
complete: optional(boolean())
|
|
8023
8275
|
});
|
|
8024
8276
|
|
|
8025
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8277
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.559.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_907a8c00de2c01e4b50d7050f36772c6/node_modules/@wirecat/cli-core/dist/entities/document.js
|
|
8026
8278
|
var document = strictObject({
|
|
8027
8279
|
ref: reference,
|
|
8028
8280
|
id,
|
|
@@ -8037,7 +8289,7 @@ var document = strictObject({
|
|
|
8037
8289
|
owners: optional(array(text))
|
|
8038
8290
|
});
|
|
8039
8291
|
|
|
8040
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8292
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.559.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_907a8c00de2c01e4b50d7050f36772c6/node_modules/@wirecat/cli-core/dist/entities/document-link.js
|
|
8041
8293
|
var documentLink = strictObject({
|
|
8042
8294
|
ref: reference,
|
|
8043
8295
|
url: text,
|
|
@@ -8048,7 +8300,7 @@ var documentLink = strictObject({
|
|
|
8048
8300
|
sender: strictObject({ id: nullable(id), name: nullable(text) })
|
|
8049
8301
|
});
|
|
8050
8302
|
|
|
8051
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8303
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.559.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_907a8c00de2c01e4b50d7050f36772c6/node_modules/@wirecat/cli-core/dist/entities/evidence.js
|
|
8052
8304
|
var evidenceMessage = pick(message, ["ref", "chat_title", "timestamp", "sender_name", "text"]);
|
|
8053
8305
|
var contribution = strictObject({
|
|
8054
8306
|
message: evidenceMessage,
|
|
@@ -8078,17 +8330,7 @@ var retentionStay = strictObject({
|
|
|
8078
8330
|
});
|
|
8079
8331
|
var evidence = union([contribution, retentionStay]);
|
|
8080
8332
|
|
|
8081
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8082
|
-
var payment = strictObject({
|
|
8083
|
-
amount: text,
|
|
8084
|
-
currency: text,
|
|
8085
|
-
direction: picklist(PAYMENT_DIRECTIONS),
|
|
8086
|
-
counterparty: nullable(reference),
|
|
8087
|
-
counterparty_name: nullable(text),
|
|
8088
|
-
due_at: nullable(text),
|
|
8089
|
-
state: picklist(PAYMENT_STATES),
|
|
8090
|
-
item: nullable(text)
|
|
8091
|
-
});
|
|
8333
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.559.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_907a8c00de2c01e4b50d7050f36772c6/node_modules/@wirecat/cli-core/dist/entities/fact.js
|
|
8092
8334
|
var fact = strictObject({
|
|
8093
8335
|
ref: reference,
|
|
8094
8336
|
id,
|
|
@@ -8112,15 +8354,13 @@ var fact = strictObject({
|
|
|
8112
8354
|
/** Who recorded it: the owner, or an agent whose fact waits as proposed. */
|
|
8113
8355
|
origin: picklist(["owner", "agent"]),
|
|
8114
8356
|
evidence: array(reference),
|
|
8115
|
-
/** A `payment` fact's fields. */
|
|
8116
|
-
payment: optional(nullable(payment)),
|
|
8117
8357
|
/** With `--sources`: each piece of evidence read back. */
|
|
8118
8358
|
sources: optional(array(evidenceSource)),
|
|
8119
8359
|
created_at: time,
|
|
8120
8360
|
updated_at: time
|
|
8121
8361
|
});
|
|
8122
8362
|
|
|
8123
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8363
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.559.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_907a8c00de2c01e4b50d7050f36772c6/node_modules/@wirecat/cli-core/dist/entities/hit.js
|
|
8124
8364
|
var hit = strictObject({
|
|
8125
8365
|
kind: picklist(["message", "mail", "note", "document", "event", "meeting"]),
|
|
8126
8366
|
ref: reference,
|
|
@@ -8158,7 +8398,7 @@ var hit = strictObject({
|
|
|
8158
8398
|
untrusted
|
|
8159
8399
|
});
|
|
8160
8400
|
|
|
8161
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8401
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.559.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_907a8c00de2c01e4b50d7050f36772c6/node_modules/@wirecat/cli-core/dist/entities/identity.js
|
|
8162
8402
|
var identity = strictObject({
|
|
8163
8403
|
ref: reference,
|
|
8164
8404
|
provider: text,
|
|
@@ -8171,7 +8411,7 @@ var identity = strictObject({
|
|
|
8171
8411
|
person: optional(nullable(reference))
|
|
8172
8412
|
});
|
|
8173
8413
|
|
|
8174
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8414
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.559.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_907a8c00de2c01e4b50d7050f36772c6/node_modules/@wirecat/cli-core/dist/entities/image-embedding.js
|
|
8175
8415
|
var imageEmbedding = strictObject({
|
|
8176
8416
|
model: text,
|
|
8177
8417
|
embedded: count2,
|
|
@@ -8180,13 +8420,13 @@ var imageEmbedding = strictObject({
|
|
|
8180
8420
|
more: boolean()
|
|
8181
8421
|
});
|
|
8182
8422
|
|
|
8183
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8423
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.559.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_907a8c00de2c01e4b50d7050f36772c6/node_modules/@wirecat/cli-core/dist/services/backfill-jobs.js
|
|
8184
8424
|
import { spawn } from "node:child_process";
|
|
8185
8425
|
import { randomBytes as randomBytes2 } from "node:crypto";
|
|
8186
8426
|
import { closeSync, existsSync as existsSync4, mkdirSync as mkdirSync3, openSync, readdirSync as readdirSync3, readFileSync as readFileSync4, realpathSync, rmSync as rmSync3 } from "node:fs";
|
|
8187
8427
|
import { dirname as dirname2, join as join4 } from "node:path";
|
|
8188
8428
|
|
|
8189
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8429
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.559.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_907a8c00de2c01e4b50d7050f36772c6/node_modules/@wirecat/cli-core/dist/background/checkpoints.js
|
|
8190
8430
|
var progressOf = /* @__PURE__ */ __name((input) => {
|
|
8191
8431
|
const total = input.total ?? null;
|
|
8192
8432
|
const updated = input.updatedAt ?? null;
|
|
@@ -8202,7 +8442,7 @@ var progressOf = /* @__PURE__ */ __name((input) => {
|
|
|
8202
8442
|
};
|
|
8203
8443
|
}, "progressOf");
|
|
8204
8444
|
|
|
8205
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8445
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.559.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_907a8c00de2c01e4b50d7050f36772c6/node_modules/@wirecat/cli-core/dist/runs/record-log.js
|
|
8206
8446
|
var recordLogFor = /* @__PURE__ */ __name((to, app, { traceId, command } = {}) => {
|
|
8207
8447
|
const run = currentRun();
|
|
8208
8448
|
const trace = traceId ?? run.traceId;
|
|
@@ -8216,7 +8456,7 @@ var recordLogFor = /* @__PURE__ */ __name((to, app, { traceId, command } = {}) =
|
|
|
8216
8456
|
}));
|
|
8217
8457
|
}, "recordLogFor");
|
|
8218
8458
|
|
|
8219
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8459
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.559.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_907a8c00de2c01e4b50d7050f36772c6/node_modules/@wirecat/cli-core/dist/services/backfill-jobs.js
|
|
8220
8460
|
var JOB_STATES = ["running", "done", "partial", "failed", "cancelled", "died"];
|
|
8221
8461
|
var spawnDetached = /* @__PURE__ */ __name((argv, env, log) => {
|
|
8222
8462
|
const out = openSync(log, "a", 384);
|
|
@@ -8371,7 +8611,7 @@ var startArchiveJob = /* @__PURE__ */ __name((app, env, profile, input, spawnJob
|
|
|
8371
8611
|
return { job: id6, pid, chat: input.chat, log };
|
|
8372
8612
|
}, "startArchiveJob");
|
|
8373
8613
|
|
|
8374
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8614
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.559.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_907a8c00de2c01e4b50d7050f36772c6/node_modules/@wirecat/cli-core/dist/entities/job.js
|
|
8375
8615
|
var problem = strictObject({ code: text, message: text });
|
|
8376
8616
|
var job = strictObject({
|
|
8377
8617
|
id,
|
|
@@ -8394,7 +8634,7 @@ var job = strictObject({
|
|
|
8394
8634
|
error: optional(problem)
|
|
8395
8635
|
});
|
|
8396
8636
|
|
|
8397
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8637
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.559.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_907a8c00de2c01e4b50d7050f36772c6/node_modules/@wirecat/cli-core/dist/entities/join-request.js
|
|
8398
8638
|
var joinRequest = strictObject({
|
|
8399
8639
|
person_id: id,
|
|
8400
8640
|
name: nullable(text),
|
|
@@ -8405,7 +8645,7 @@ var joinRequest = strictObject({
|
|
|
8405
8645
|
about: optional(text)
|
|
8406
8646
|
});
|
|
8407
8647
|
|
|
8408
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8648
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.559.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_907a8c00de2c01e4b50d7050f36772c6/node_modules/@wirecat/cli-core/dist/entities/knowledge-lists.js
|
|
8409
8649
|
var organization = strictObject({
|
|
8410
8650
|
id,
|
|
8411
8651
|
ref: reference,
|
|
@@ -8435,7 +8675,7 @@ var reminder = strictObject({
|
|
|
8435
8675
|
receipt: nullable(text)
|
|
8436
8676
|
});
|
|
8437
8677
|
|
|
8438
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8678
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.559.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_907a8c00de2c01e4b50d7050f36772c6/node_modules/@wirecat/cli-core/dist/entities/list-results.js
|
|
8439
8679
|
var botProfile = strictObject({
|
|
8440
8680
|
name: text,
|
|
8441
8681
|
token: text,
|
|
@@ -8503,7 +8743,7 @@ var stickerInventory = strictObject({
|
|
|
8503
8743
|
url: optional(nullable(text))
|
|
8504
8744
|
});
|
|
8505
8745
|
|
|
8506
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8746
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.559.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_907a8c00de2c01e4b50d7050f36772c6/node_modules/@wirecat/cli-core/dist/entities/poll-vote.js
|
|
8507
8747
|
var pollVote = strictObject({
|
|
8508
8748
|
person_id: id,
|
|
8509
8749
|
name: nullable(text),
|
|
@@ -8513,7 +8753,7 @@ var pollVote = strictObject({
|
|
|
8513
8753
|
voted_at: time
|
|
8514
8754
|
});
|
|
8515
8755
|
|
|
8516
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8756
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.559.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_907a8c00de2c01e4b50d7050f36772c6/node_modules/@wirecat/cli-core/dist/entities/listener.js
|
|
8517
8757
|
var reactions = unwrap(unwrap(message.entries.reactions));
|
|
8518
8758
|
var observation = strictObject({
|
|
8519
8759
|
value: pipe(number(), minValue(0)),
|
|
@@ -8555,7 +8795,7 @@ var serveSummary = strictObject({
|
|
|
8555
8795
|
tasks: optional(strictObject({ added: count2, closed: count2, review: count2 }))
|
|
8556
8796
|
});
|
|
8557
8797
|
|
|
8558
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8798
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.559.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_907a8c00de2c01e4b50d7050f36772c6/node_modules/@wirecat/cli-core/dist/entities/media-archive.js
|
|
8559
8799
|
var mediaArchive = strictObject({
|
|
8560
8800
|
directory: text,
|
|
8561
8801
|
chats: count2,
|
|
@@ -8587,7 +8827,7 @@ var mediaArchiveTimer = union([
|
|
|
8587
8827
|
strictObject({ ...timer, action: picklist(["install", "start", "stop", "uninstall"]) })
|
|
8588
8828
|
]);
|
|
8589
8829
|
|
|
8590
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8830
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.559.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_907a8c00de2c01e4b50d7050f36772c6/node_modules/@wirecat/cli-core/dist/entities/meeting-preparation-parts.js
|
|
8591
8831
|
var preparationId = pipe(string(), minLength(1));
|
|
8592
8832
|
var preparationCount = pipe(number(), integer(), minValue(0));
|
|
8593
8833
|
var preparationTime = nullable(isoTime);
|
|
@@ -8679,7 +8919,7 @@ var preparationMeeting = strictObject({
|
|
|
8679
8919
|
updated_at: isoTime
|
|
8680
8920
|
});
|
|
8681
8921
|
|
|
8682
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8922
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.559.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_907a8c00de2c01e4b50d7050f36772c6/node_modules/@wirecat/cli-core/dist/entities/meeting-evidence.js
|
|
8683
8923
|
var meetingEvidence = preparationEvidence;
|
|
8684
8924
|
var meetingPersonContext = strictObject({
|
|
8685
8925
|
person: strictObject({ uid: string(), name: nullable(string()) }),
|
|
@@ -8701,7 +8941,7 @@ var meetingPersonContext = strictObject({
|
|
|
8701
8941
|
})
|
|
8702
8942
|
});
|
|
8703
8943
|
|
|
8704
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8944
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.559.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_907a8c00de2c01e4b50d7050f36772c6/node_modules/@wirecat/cli-core/dist/entities/meeting-findings.js
|
|
8705
8945
|
var evidence2 = strictObject({ reference, fingerprint: text });
|
|
8706
8946
|
var base = { id, project: reference, evidence: array(evidence2) };
|
|
8707
8947
|
var finding = variant("kind", [
|
|
@@ -8739,7 +8979,7 @@ var meetingFindings = strictObject({
|
|
|
8739
8979
|
receipt: nullable(strictObject({ preview_fingerprint: text, accepted: array(id), items: array(outcome) }))
|
|
8740
8980
|
});
|
|
8741
8981
|
|
|
8742
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8982
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.559.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_907a8c00de2c01e4b50d7050f36772c6/node_modules/@wirecat/cli-core/dist/entities/meeting-communications.js
|
|
8743
8983
|
var communicationCoverage = strictObject({
|
|
8744
8984
|
read_usage: strictObject({ reads: preparationCount, charged_bytes: preparationCount, reserved_bytes: preparationCount, remaining_bytes: preparationCount }),
|
|
8745
8985
|
query: string(),
|
|
@@ -8784,7 +9024,7 @@ var preparationCommunications = strictObject({
|
|
|
8784
9024
|
}))
|
|
8785
9025
|
});
|
|
8786
9026
|
|
|
8787
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9027
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.559.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_907a8c00de2c01e4b50d7050f36772c6/node_modules/@wirecat/cli-core/dist/entities/meeting-preparation.js
|
|
8788
9028
|
var meetingPreparation = strictObject({
|
|
8789
9029
|
communications: optional(preparationCommunications),
|
|
8790
9030
|
schema_version: literal(1),
|
|
@@ -8897,7 +9137,7 @@ var meetingPreparation = strictObject({
|
|
|
8897
9137
|
})
|
|
8898
9138
|
});
|
|
8899
9139
|
|
|
8900
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9140
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.559.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_907a8c00de2c01e4b50d7050f36772c6/node_modules/@wirecat/cli-core/dist/entities/meeting-project-candidates.js
|
|
8901
9141
|
var count4 = pipe(number(), integer(), minValue(0));
|
|
8902
9142
|
var id3 = pipe(string(), minLength(1));
|
|
8903
9143
|
var text3 = string();
|
|
@@ -8961,7 +9201,7 @@ var meetingProjectCandidates = strictObject({
|
|
|
8961
9201
|
})
|
|
8962
9202
|
});
|
|
8963
9203
|
|
|
8964
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9204
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.559.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_907a8c00de2c01e4b50d7050f36772c6/node_modules/@wirecat/cli-core/dist/entities/meeting-series-inventory.js
|
|
8965
9205
|
var count5 = pipe(number(), integer(), minValue(0));
|
|
8966
9206
|
var id4 = pipe(string(), minLength(1), maxLength(1e3));
|
|
8967
9207
|
var meetingSeriesInventory = strictObject({
|
|
@@ -8991,7 +9231,7 @@ var meetingSeriesInventory = strictObject({
|
|
|
8991
9231
|
})
|
|
8992
9232
|
});
|
|
8993
9233
|
|
|
8994
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9234
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.559.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_907a8c00de2c01e4b50d7050f36772c6/node_modules/@wirecat/cli-core/dist/entities/meeting-task-proposal.js
|
|
8995
9235
|
var text4 = string();
|
|
8996
9236
|
var id5 = pipe(number(), integer(), minValue(1));
|
|
8997
9237
|
var revision = picklist(["current", "superseded"]);
|
|
@@ -9008,7 +9248,7 @@ var meetingTaskProposal = strictObject({
|
|
|
9008
9248
|
persistence: literal("proposal-only")
|
|
9009
9249
|
});
|
|
9010
9250
|
|
|
9011
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9251
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.559.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_907a8c00de2c01e4b50d7050f36772c6/node_modules/@wirecat/cli-core/dist/entities/memory.js
|
|
9012
9252
|
var memory = strictObject({
|
|
9013
9253
|
ref: reference,
|
|
9014
9254
|
id,
|
|
@@ -9035,7 +9275,7 @@ var memory = strictObject({
|
|
|
9035
9275
|
updated_at: time
|
|
9036
9276
|
});
|
|
9037
9277
|
|
|
9038
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9278
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.559.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_907a8c00de2c01e4b50d7050f36772c6/node_modules/@wirecat/cli-core/dist/entities/mention.js
|
|
9039
9279
|
var kind = picklist(["phone", "email", "url", "document", "person-name", "place"]);
|
|
9040
9280
|
var status = picklist(["found", "linked", "dismissed"]);
|
|
9041
9281
|
var mention = strictObject({
|
|
@@ -9078,13 +9318,13 @@ var mentionRebuild = strictObject({
|
|
|
9078
9318
|
mentions: count2
|
|
9079
9319
|
});
|
|
9080
9320
|
|
|
9081
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9321
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.559.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_907a8c00de2c01e4b50d7050f36772c6/node_modules/@wirecat/cli-core/dist/entities/message-change.js
|
|
9082
9322
|
var operated3 = { operation_id: id, chat_id: id };
|
|
9083
9323
|
var messagePin = strictObject({ ...operated3, message_id: id, pinned: boolean() });
|
|
9084
9324
|
var messageStar = strictObject({ ...operated3, message_id: id, starred: boolean() });
|
|
9085
9325
|
var messageDeletion = strictObject({ ...operated3, deleted: array(id), for_everyone: boolean() });
|
|
9086
9326
|
|
|
9087
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9327
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.559.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_907a8c00de2c01e4b50d7050f36772c6/node_modules/@wirecat/cli-core/dist/entities/message-read.js
|
|
9088
9328
|
var messageTranscript = strictObject({
|
|
9089
9329
|
message_id: id,
|
|
9090
9330
|
text,
|
|
@@ -9142,7 +9382,7 @@ var evidencePacket = strictObject({
|
|
|
9142
9382
|
}))
|
|
9143
9383
|
});
|
|
9144
9384
|
|
|
9145
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9385
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.559.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_907a8c00de2c01e4b50d7050f36772c6/node_modules/@wirecat/cli-core/dist/entities/message-context.js
|
|
9146
9386
|
var messageThread = strictObject({
|
|
9147
9387
|
ref: reference,
|
|
9148
9388
|
chat: id,
|
|
@@ -9159,7 +9399,7 @@ var messageThread = strictObject({
|
|
|
9159
9399
|
});
|
|
9160
9400
|
var messageContext = union([message, messageThread]);
|
|
9161
9401
|
|
|
9162
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9402
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.559.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_907a8c00de2c01e4b50d7050f36772c6/node_modules/@wirecat/cli-core/dist/entities/message-counts.js
|
|
9163
9403
|
var messageCounts = strictObject({
|
|
9164
9404
|
by: picklist(["chat", "sender", "day", "hour"]),
|
|
9165
9405
|
total: count2,
|
|
@@ -9172,7 +9412,7 @@ var messageCounts = strictObject({
|
|
|
9172
9412
|
}))
|
|
9173
9413
|
});
|
|
9174
9414
|
|
|
9175
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9415
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.559.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_907a8c00de2c01e4b50d7050f36772c6/node_modules/@wirecat/cli-core/dist/entities/message-link.js
|
|
9176
9416
|
var messageLink = strictObject({
|
|
9177
9417
|
ref: reference,
|
|
9178
9418
|
url: nullable(text),
|
|
@@ -9189,7 +9429,7 @@ var messageLink = strictObject({
|
|
|
9189
9429
|
})))
|
|
9190
9430
|
});
|
|
9191
9431
|
|
|
9192
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9432
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.559.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_907a8c00de2c01e4b50d7050f36772c6/node_modules/@wirecat/cli-core/dist/entities/message-transfer.js
|
|
9193
9433
|
var savedMessageFile = strictObject({
|
|
9194
9434
|
kind: text,
|
|
9195
9435
|
path: text,
|
|
@@ -9276,7 +9516,7 @@ var messageSyncAll = strictObject({
|
|
|
9276
9516
|
var messageSyncStarted = strictObject({ job: id, pid: count2, chat: text, log: text });
|
|
9277
9517
|
var messageSync = union([messageSyncEstimate, messageSyncChat, messageSyncAll, messageSyncStarted]);
|
|
9278
9518
|
|
|
9279
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9519
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.559.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_907a8c00de2c01e4b50d7050f36772c6/node_modules/@wirecat/cli-core/dist/entities/message-write.js
|
|
9280
9520
|
var messageWrite = strictObject({
|
|
9281
9521
|
operation_id: id,
|
|
9282
9522
|
message,
|
|
@@ -9291,7 +9531,7 @@ var draftWrite = strictObject({
|
|
|
9291
9531
|
});
|
|
9292
9532
|
var messageSend = union([messageWrite, draftWrite]);
|
|
9293
9533
|
|
|
9294
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9534
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.559.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_907a8c00de2c01e4b50d7050f36772c6/node_modules/@wirecat/cli-core/dist/entities/model.js
|
|
9295
9535
|
var model2 = strictObject({
|
|
9296
9536
|
id,
|
|
9297
9537
|
kind: picklist(["audio", "text", "image", "reranker"]),
|
|
@@ -9308,7 +9548,7 @@ var model2 = strictObject({
|
|
|
9308
9548
|
path: text
|
|
9309
9549
|
});
|
|
9310
9550
|
|
|
9311
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9551
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.559.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_907a8c00de2c01e4b50d7050f36772c6/node_modules/@wirecat/cli-core/dist/entities/model-key.js
|
|
9312
9552
|
var source = picklist(["environment", "keyring", "file"]);
|
|
9313
9553
|
var modelKey = strictObject({
|
|
9314
9554
|
provider: text,
|
|
@@ -9318,7 +9558,7 @@ var modelKey = strictObject({
|
|
|
9318
9558
|
var storedModelKey = strictObject({ ...omit(modelKey, ["removed"]).entries, stored: source });
|
|
9319
9559
|
var removedModelKey = strictObject({ ...omit(modelKey, ["stored"]).entries, removed: array(source) });
|
|
9320
9560
|
|
|
9321
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9561
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.559.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_907a8c00de2c01e4b50d7050f36772c6/node_modules/@wirecat/cli-core/dist/entities/note.js
|
|
9322
9562
|
var link = {
|
|
9323
9563
|
target_text: nullable(text),
|
|
9324
9564
|
kind: text,
|
|
@@ -9359,7 +9599,7 @@ var note = strictObject({
|
|
|
9359
9599
|
backlinks: optional(array(strictObject({ from: reference, ...link })))
|
|
9360
9600
|
});
|
|
9361
9601
|
|
|
9362
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9602
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.559.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_907a8c00de2c01e4b50d7050f36772c6/node_modules/@wirecat/cli-core/dist/entities/official-stats.js
|
|
9363
9603
|
var versus = strictObject({ current: number(), previous: number() });
|
|
9364
9604
|
var person = { person_ref: reference, name: nullable(text) };
|
|
9365
9605
|
var graph = strictObject({
|
|
@@ -9393,14 +9633,14 @@ var officialStats = strictObject({
|
|
|
9393
9633
|
graphs: record(string(), union([graph, strictObject({ error: text })]))
|
|
9394
9634
|
});
|
|
9395
9635
|
|
|
9396
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9636
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.559.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_907a8c00de2c01e4b50d7050f36772c6/node_modules/@wirecat/cli-core/dist/entities/person.js
|
|
9397
9637
|
var person2 = strictObject({
|
|
9398
9638
|
ref: reference,
|
|
9399
9639
|
name: nullable(text),
|
|
9400
9640
|
identities: optional(array(identity))
|
|
9401
9641
|
});
|
|
9402
9642
|
|
|
9403
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9643
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.559.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_907a8c00de2c01e4b50d7050f36772c6/node_modules/@wirecat/cli-core/dist/entities/poll.js
|
|
9404
9644
|
var poll = strictObject({
|
|
9405
9645
|
chat_id: id,
|
|
9406
9646
|
message_id: id,
|
|
@@ -9416,11 +9656,11 @@ var poll = strictObject({
|
|
|
9416
9656
|
});
|
|
9417
9657
|
var pollChange = strictObject({ operation_id: id, poll });
|
|
9418
9658
|
|
|
9419
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9659
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.559.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_907a8c00de2c01e4b50d7050f36772c6/node_modules/@wirecat/cli-core/dist/entities/private-contact.js
|
|
9420
9660
|
var contactAlias = strictObject({ person_id: id, alias: nullable(text) });
|
|
9421
9661
|
var contactNoteRemoval = strictObject({ id, person_id: id, removed: boolean() });
|
|
9422
9662
|
|
|
9423
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9663
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.559.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_907a8c00de2c01e4b50d7050f36772c6/node_modules/@wirecat/cli-core/dist/entities/ranking.js
|
|
9424
9664
|
var figures = record(string(), number());
|
|
9425
9665
|
var freshness = picklist(["fresh", "stale", "partial", "unknown"]);
|
|
9426
9666
|
var rankingRow = strictObject({
|
|
@@ -9467,7 +9707,7 @@ var ranking = strictObject({
|
|
|
9467
9707
|
rows: array(rankingRow)
|
|
9468
9708
|
});
|
|
9469
9709
|
|
|
9470
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9710
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.559.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_907a8c00de2c01e4b50d7050f36772c6/node_modules/@wirecat/cli-core/dist/entities/reaction.js
|
|
9471
9711
|
var reaction = strictObject({
|
|
9472
9712
|
person: strictObject({ id, name: nullable(text), username: nullable(text) }),
|
|
9473
9713
|
/** The emoji, or `custom:<id>` for a custom one. */
|
|
@@ -9475,7 +9715,7 @@ var reaction = strictObject({
|
|
|
9475
9715
|
reacted_at: time
|
|
9476
9716
|
});
|
|
9477
9717
|
|
|
9478
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9718
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.559.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_907a8c00de2c01e4b50d7050f36772c6/node_modules/@wirecat/cli-core/dist/entities/reaction-change.js
|
|
9479
9719
|
var reactionChange = strictObject({
|
|
9480
9720
|
operation_id: id,
|
|
9481
9721
|
chat_id: id,
|
|
@@ -9483,7 +9723,7 @@ var reactionChange = strictObject({
|
|
|
9483
9723
|
reaction: nullable(text)
|
|
9484
9724
|
});
|
|
9485
9725
|
|
|
9486
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9726
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.559.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_907a8c00de2c01e4b50d7050f36772c6/node_modules/@wirecat/cli-core/dist/entities/recipient.js
|
|
9487
9727
|
var recipient = strictObject({ id, title: nullable(text), partner_id: optional(id), added_at: time });
|
|
9488
9728
|
var recipientAdded = strictObject({ id, title: nullable(text), added: boolean() });
|
|
9489
9729
|
var recipientRemoved = strictObject({ id, title: nullable(text), removed: boolean() });
|
|
@@ -9494,7 +9734,7 @@ var recipientChange = strictObject({
|
|
|
9494
9734
|
...partial(recipientOff).entries
|
|
9495
9735
|
});
|
|
9496
9736
|
|
|
9497
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9737
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.559.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_907a8c00de2c01e4b50d7050f36772c6/node_modules/@wirecat/cli-core/dist/entities/recorded-run.js
|
|
9498
9738
|
var events = array(record(string(), unknown()));
|
|
9499
9739
|
var recordedRun = strictObject({
|
|
9500
9740
|
run_id: id,
|
|
@@ -9566,7 +9806,7 @@ var runHit = strictObject({
|
|
|
9566
9806
|
});
|
|
9567
9807
|
var runLocation = strictObject({ path: text });
|
|
9568
9808
|
|
|
9569
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9809
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.559.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_907a8c00de2c01e4b50d7050f36772c6/node_modules/@wirecat/cli-core/dist/entities/relationship.js
|
|
9570
9810
|
var relationship = strictObject({
|
|
9571
9811
|
id,
|
|
9572
9812
|
from: reference,
|
|
@@ -9583,7 +9823,7 @@ var relationship = strictObject({
|
|
|
9583
9823
|
created_at: time
|
|
9584
9824
|
});
|
|
9585
9825
|
|
|
9586
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9826
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.559.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_907a8c00de2c01e4b50d7050f36772c6/node_modules/@wirecat/cli-core/dist/entities/retention.js
|
|
9587
9827
|
var retentionCohort = strictObject({
|
|
9588
9828
|
/** The first day of the joining day or week. */
|
|
9589
9829
|
cohort: text,
|
|
@@ -9631,7 +9871,7 @@ var retention = strictObject({
|
|
|
9631
9871
|
rows: array(retentionCohort)
|
|
9632
9872
|
});
|
|
9633
9873
|
|
|
9634
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9874
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.559.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_907a8c00de2c01e4b50d7050f36772c6/node_modules/@wirecat/cli-core/dist/entities/saved-search.js
|
|
9635
9875
|
var savedSearch = strictObject({
|
|
9636
9876
|
id,
|
|
9637
9877
|
/** `null` for a run in the history. */
|
|
@@ -9648,7 +9888,7 @@ var savedSearch = strictObject({
|
|
|
9648
9888
|
});
|
|
9649
9889
|
var searchHistoryClear = strictObject({ cleared: count2 });
|
|
9650
9890
|
|
|
9651
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9891
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.559.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_907a8c00de2c01e4b50d7050f36772c6/node_modules/@wirecat/cli-core/dist/entities/send-attempt.js
|
|
9652
9892
|
var sendAttempt = strictObject({
|
|
9653
9893
|
at: time,
|
|
9654
9894
|
profile: text,
|
|
@@ -9676,7 +9916,7 @@ var sendAttempt = strictObject({
|
|
|
9676
9916
|
error_code: optional(text)
|
|
9677
9917
|
});
|
|
9678
9918
|
|
|
9679
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9919
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.559.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_907a8c00de2c01e4b50d7050f36772c6/node_modules/@wirecat/cli-core/dist/entities/store-maintenance.js
|
|
9680
9920
|
var absent = strictObject({ path: text, exists: literal(false) });
|
|
9681
9921
|
var schema = strictObject({ version: count2, min_compatible: count2, writable: boolean(), speaks: count2 });
|
|
9682
9922
|
var infoSchema = strictObject({
|
|
@@ -9884,7 +10124,7 @@ var storeRepair = union([
|
|
|
9884
10124
|
]);
|
|
9885
10125
|
var storeCopyRemoval = strictObject({ path: text, deleted: strictObject({ name: text, rows: count2 }) });
|
|
9886
10126
|
|
|
9887
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10127
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.559.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_907a8c00de2c01e4b50d7050f36772c6/node_modules/@wirecat/cli-core/dist/entities/store-records.js
|
|
9888
10128
|
var range = strictObject({ from: number(), to: number() });
|
|
9889
10129
|
var storeChatStatus = strictObject({
|
|
9890
10130
|
chat_id: id,
|
|
@@ -9975,7 +10215,7 @@ var storeJobRetry = union([
|
|
|
9975
10215
|
]);
|
|
9976
10216
|
var storeJobClear = strictObject({ cleared: array(id) });
|
|
9977
10217
|
|
|
9978
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10218
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.559.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_907a8c00de2c01e4b50d7050f36772c6/node_modules/@wirecat/cli-core/dist/entities/store-table.js
|
|
9979
10219
|
var TABLE_KINDS = ["data", "search_index", "search_index_part", "internal"];
|
|
9980
10220
|
var storeTable = strictObject({
|
|
9981
10221
|
name: text,
|
|
@@ -9984,7 +10224,7 @@ var storeTable = strictObject({
|
|
|
9984
10224
|
bytes: optional(nullable(count2))
|
|
9985
10225
|
});
|
|
9986
10226
|
|
|
9987
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10227
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.559.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_907a8c00de2c01e4b50d7050f36772c6/node_modules/@wirecat/cli-core/dist/entities/tag-change.js
|
|
9988
10228
|
var tagTarget = variant("type", [
|
|
9989
10229
|
strictObject({ type: literal("chat"), chat_id: id }),
|
|
9990
10230
|
strictObject({ type: literal("contact"), person_id: id }),
|
|
@@ -10015,7 +10255,7 @@ var automaticTags = strictObject({
|
|
|
10015
10255
|
dry_run: boolean()
|
|
10016
10256
|
});
|
|
10017
10257
|
|
|
10018
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10258
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.559.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_907a8c00de2c01e4b50d7050f36772c6/node_modules/@wirecat/cli-core/dist/entities/tagging.js
|
|
10019
10259
|
var tagging = strictObject({
|
|
10020
10260
|
tag: text,
|
|
10021
10261
|
type: picklist(TAG_TYPES),
|
|
@@ -10028,7 +10268,7 @@ var tagging = strictObject({
|
|
|
10028
10268
|
created_at: time
|
|
10029
10269
|
});
|
|
10030
10270
|
|
|
10031
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10271
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.559.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_907a8c00de2c01e4b50d7050f36772c6/node_modules/@wirecat/cli-core/dist/entities/task-pair.js
|
|
10032
10272
|
var side = strictObject({ ref: reference, key: text, title: text, status: text });
|
|
10033
10273
|
var taskPair = strictObject({
|
|
10034
10274
|
task: nullable(side),
|
|
@@ -10051,7 +10291,7 @@ var taskPair = strictObject({
|
|
|
10051
10291
|
created_at: time
|
|
10052
10292
|
});
|
|
10053
10293
|
|
|
10054
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10294
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.559.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_907a8c00de2c01e4b50d7050f36772c6/node_modules/@wirecat/cli-core/dist/entities/task-results.js
|
|
10055
10295
|
var nullableTime = nullable(time);
|
|
10056
10296
|
var link2 = strictObject({
|
|
10057
10297
|
id,
|
|
@@ -10181,8 +10421,47 @@ var taskScan = strictObject({
|
|
|
10181
10421
|
held_chats: optional(count2),
|
|
10182
10422
|
tasks: array(strictObject({ source: text, kind: picklist(TASK_KINDS), category: nullable(text) }))
|
|
10183
10423
|
});
|
|
10424
|
+
var taskAnalysisMark = strictObject({
|
|
10425
|
+
chat: text,
|
|
10426
|
+
from: time,
|
|
10427
|
+
through: time,
|
|
10428
|
+
through_id: text,
|
|
10429
|
+
by: text,
|
|
10430
|
+
checked_at: time,
|
|
10431
|
+
checked_through: time,
|
|
10432
|
+
at: time
|
|
10433
|
+
});
|
|
10434
|
+
var taskAnalysisMarkMoved = strictObject({ ...taskAnalysisMark.entries, moved: boolean() });
|
|
10435
|
+
var taskAnalysis = strictObject({
|
|
10436
|
+
chat: text,
|
|
10437
|
+
title: nullable(text),
|
|
10438
|
+
kind: text,
|
|
10439
|
+
newest_at: nullableTime,
|
|
10440
|
+
mark: nullable(taskAnalysisMark),
|
|
10441
|
+
waiting: count2,
|
|
10442
|
+
late: count2,
|
|
10443
|
+
untrusted
|
|
10444
|
+
});
|
|
10445
|
+
var taskReview = strictObject({
|
|
10446
|
+
chat: text,
|
|
10447
|
+
from: time,
|
|
10448
|
+
mark: nullable(taskAnalysisMark),
|
|
10449
|
+
late: count2,
|
|
10450
|
+
has_more: boolean(),
|
|
10451
|
+
through: nullable(reference),
|
|
10452
|
+
messages: array(strictObject({
|
|
10453
|
+
ref: reference,
|
|
10454
|
+
at: time,
|
|
10455
|
+
sender: nullable(text),
|
|
10456
|
+
outgoing: boolean(),
|
|
10457
|
+
reply_to: nullable(text),
|
|
10458
|
+
text
|
|
10459
|
+
})),
|
|
10460
|
+
open_tasks: array(strictObject({ key: nullable(text), kind: text, title: nullable(text), source: nullable(text) })),
|
|
10461
|
+
untrusted
|
|
10462
|
+
});
|
|
10184
10463
|
|
|
10185
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10464
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.559.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_907a8c00de2c01e4b50d7050f36772c6/node_modules/@wirecat/cli-core/dist/entities/topic.js
|
|
10186
10465
|
var topic = strictObject({
|
|
10187
10466
|
id,
|
|
10188
10467
|
title: text,
|
|
@@ -10196,7 +10475,7 @@ var topic = strictObject({
|
|
|
10196
10475
|
untrusted
|
|
10197
10476
|
});
|
|
10198
10477
|
|
|
10199
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10478
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.559.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_907a8c00de2c01e4b50d7050f36772c6/node_modules/@wirecat/cli-core/dist/entities/index.js
|
|
10200
10479
|
var ENTITIES = {
|
|
10201
10480
|
sync_progress: progress,
|
|
10202
10481
|
...MEETING_RESULT_ENTITIES,
|
|
@@ -10335,6 +10614,9 @@ var ENTITIES = {
|
|
|
10335
10614
|
task_unmerge: taskUnmerge,
|
|
10336
10615
|
task_categories: taskCategories,
|
|
10337
10616
|
task_scan: taskScan,
|
|
10617
|
+
task_analysis: taskAnalysis,
|
|
10618
|
+
task_analysis_mark: taskAnalysisMarkMoved,
|
|
10619
|
+
task_review: taskReview,
|
|
10338
10620
|
fact,
|
|
10339
10621
|
memory,
|
|
10340
10622
|
meeting,
|
|
@@ -10466,7 +10748,7 @@ var entityDefinitions = /* @__PURE__ */ __name(() => Object.fromEntries(Object.e
|
|
|
10466
10748
|
return [name, definition];
|
|
10467
10749
|
})), "entityDefinitions");
|
|
10468
10750
|
|
|
10469
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10751
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.559.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_907a8c00de2c01e4b50d7050f36772c6/node_modules/@wirecat/cli-core/dist/cli/answer-entity.js
|
|
10470
10752
|
var schemas = /* @__PURE__ */ new WeakMap();
|
|
10471
10753
|
var answerEntity = /* @__PURE__ */ __name((command, name, schema2, options = {}) => {
|
|
10472
10754
|
if (Object.hasOwn(ENTITIES, name))
|
|
@@ -10500,7 +10782,7 @@ var answerRow = /* @__PURE__ */ __name((command) => {
|
|
|
10500
10782
|
return own && metaOf(command).output?.entity === own.name ? own.row : void 0;
|
|
10501
10783
|
}, "answerRow");
|
|
10502
10784
|
|
|
10503
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10785
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.559.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_907a8c00de2c01e4b50d7050f36772c6/node_modules/@wirecat/cli-core/dist/images/picture/models.js
|
|
10504
10786
|
import { join as join5 } from "node:path";
|
|
10505
10787
|
var clip = /* @__PURE__ */ __name((name) => `https://huggingface.co/Xenova/clip-vit-base-patch32/resolve/d15189d7028b43f1d3e65039190477f6af591c2a/${name}`, "clip");
|
|
10506
10788
|
var IMAGE_MODELS = [
|
|
@@ -10554,7 +10836,7 @@ var imageModelsDirectory = /* @__PURE__ */ __name((env = process.env) => sharedM
|
|
|
10554
10836
|
var placedImage = /* @__PURE__ */ __name((model3, directory) => model3.files.map((file) => [file, join5(directory, model3.id, file.name)]), "placedImage");
|
|
10555
10837
|
var isImageModelInstalled = /* @__PURE__ */ __name((model3, directory) => filesPresent(placedImage(model3, directory)), "isImageModelInstalled");
|
|
10556
10838
|
|
|
10557
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10839
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.559.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_907a8c00de2c01e4b50d7050f36772c6/node_modules/@wirecat/cli-core/dist/cli/steps.js
|
|
10558
10840
|
var STEPS2 = defineSteps([
|
|
10559
10841
|
...STEPS,
|
|
10560
10842
|
{
|
|
@@ -10758,6 +11040,16 @@ var STEPS2 = defineSteps([
|
|
|
10758
11040
|
args: [],
|
|
10759
11041
|
why: "serve still runs an older version; a restart runs the one installed now"
|
|
10760
11042
|
},
|
|
11043
|
+
{
|
|
11044
|
+
id: "tasks.acknowledge",
|
|
11045
|
+
command: "tasks acknowledge",
|
|
11046
|
+
args: [
|
|
11047
|
+
{ name: "chat", required: true },
|
|
11048
|
+
{ name: "message", required: true },
|
|
11049
|
+
{ name: "since_time", required: false }
|
|
11050
|
+
],
|
|
11051
|
+
why: "once the tasks these {shown} messages hold are opened, updated or closed, so the next review starts after them"
|
|
11052
|
+
},
|
|
10761
11053
|
{
|
|
10762
11054
|
id: "search.meetings",
|
|
10763
11055
|
command: "*",
|
|
@@ -10816,7 +11108,7 @@ var stepLine = /* @__PURE__ */ __name((root, step) => {
|
|
|
10816
11108
|
].join(" ");
|
|
10817
11109
|
}, "stepLine");
|
|
10818
11110
|
|
|
10819
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11111
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.559.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_907a8c00de2c01e4b50d7050f36772c6/node_modules/@wirecat/cli-core/dist/cli/project-status-rows.js
|
|
10820
11112
|
var where = [{ field: "ref" }, { field: ["chat_title", "chat"] }];
|
|
10821
11113
|
var who2 = { field: ["who.owner", "who.name"], tag: "you" };
|
|
10822
11114
|
var STATUS_SIGNAL_ROWS = {
|
|
@@ -10925,7 +11217,7 @@ var STATUS_ROWS = {
|
|
|
10925
11217
|
"status.failed": { columns: [{ field: "signal" }], text: ["why"] }
|
|
10926
11218
|
};
|
|
10927
11219
|
|
|
10928
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11220
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.559.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_907a8c00de2c01e4b50d7050f36772c6/node_modules/@wirecat/cli-core/dist/cli/compact.js
|
|
10929
11221
|
var TEXT_CHARS = 400;
|
|
10930
11222
|
var sender = { field: ["sender_is_me", "sender_name"], tag: "me" };
|
|
10931
11223
|
var messageRow = {
|
|
@@ -11261,7 +11553,7 @@ var compactText = /* @__PURE__ */ __name((body, shape, options, rowsOf = rowsOfE
|
|
|
11261
11553
|
return lines.concat(footerOf(body)).join("\n");
|
|
11262
11554
|
}, "compactText");
|
|
11263
11555
|
|
|
11264
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11556
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.559.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_907a8c00de2c01e4b50d7050f36772c6/node_modules/@wirecat/cli-core/dist/cli/provider-refs.js
|
|
11265
11557
|
var HIDDEN = /* @__PURE__ */ new Set(["providerRef", "provider_ref"]);
|
|
11266
11558
|
var withoutProviderRefs = /* @__PURE__ */ __name((value) => strip(value), "withoutProviderRefs");
|
|
11267
11559
|
var strip = /* @__PURE__ */ __name((value) => {
|
|
@@ -11275,7 +11567,7 @@ var strip = /* @__PURE__ */ __name((value) => {
|
|
|
11275
11567
|
return Object.fromEntries(Object.entries(value).flatMap(([key, inner]) => HIDDEN.has(key) ? [] : [[key, strip(inner)]]));
|
|
11276
11568
|
}, "strip");
|
|
11277
11569
|
|
|
11278
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11570
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.559.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_907a8c00de2c01e4b50d7050f36772c6/node_modules/@wirecat/cli-core/dist/cli/envelope.js
|
|
11279
11571
|
var answerSchema = /* @__PURE__ */ __name((item = unknown()) => union([listEnvelopeSchema(item), itemEnvelopeSchema(item)]), "answerSchema");
|
|
11280
11572
|
var capped2 = /* @__PURE__ */ __name((steps) => steps.length > 0 ? { next: steps.slice(0, MAX_NEXT_STEPS) } : {}, "capped");
|
|
11281
11573
|
var listOf = /* @__PURE__ */ __name((command, input) => {
|
|
@@ -11438,6 +11730,8 @@ export {
|
|
|
11438
11730
|
sharedContracts,
|
|
11439
11731
|
sharedCommand,
|
|
11440
11732
|
customizeSharedCommand,
|
|
11733
|
+
deadlineMargin,
|
|
11734
|
+
atDetail,
|
|
11441
11735
|
resolveOutput,
|
|
11442
11736
|
logAttributes,
|
|
11443
11737
|
fromLogAttributes,
|
|
@@ -11504,10 +11798,13 @@ export {
|
|
|
11504
11798
|
assertRetentionEvidenceRead,
|
|
11505
11799
|
historyWindow,
|
|
11506
11800
|
limitBatch,
|
|
11801
|
+
REPAIR_WORDS,
|
|
11802
|
+
repairConfigText,
|
|
11507
11803
|
permissionIssues,
|
|
11508
11804
|
settingPathOf,
|
|
11509
11805
|
withoutSetting,
|
|
11510
11806
|
publicIssue,
|
|
11807
|
+
fixVerb,
|
|
11511
11808
|
issueMessage,
|
|
11512
11809
|
checkConfigText,
|
|
11513
11810
|
readConfigText,
|
|
@@ -11546,7 +11843,11 @@ export {
|
|
|
11546
11843
|
judgedEffects,
|
|
11547
11844
|
judgedTargets,
|
|
11548
11845
|
refuseUnderReadOnly,
|
|
11846
|
+
text,
|
|
11847
|
+
time,
|
|
11549
11848
|
zonedTime,
|
|
11849
|
+
count2 as count,
|
|
11850
|
+
untrusted,
|
|
11550
11851
|
accountSession,
|
|
11551
11852
|
accountProfile,
|
|
11552
11853
|
task,
|