@wirecat/cli-memo 0.131.43 → 0.131.45
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-NL4TH4VM.js → all-profiles-ZBASDAVU.js} +5 -5
- package/dist/bundle/{anthropic-JTVP4FKR.js → anthropic-3ZS3RCUH.js} +3 -3
- package/dist/bundle/{app-server-FF6PISNB.js → app-server-PQF22PMD.js} +35 -35
- package/dist/bundle/auto-NW7IP4ST.js +86 -0
- package/dist/bundle/{bun-OTDLXIRE.js → bun-3CGVV3V2.js} +2 -2
- package/dist/bundle/{bun-sqlite-HXOV4SGX.js → bun-sqlite-D6T3ESTG.js} +2 -2
- package/dist/bundle/{chunk-GPT5MFYG.js → chunk-25MS26SH.js} +14 -9
- package/dist/bundle/{chunk-TVWO7K4U.js → chunk-2OYB4PWV.js} +5 -5
- package/dist/bundle/{chunk-NYJHYLKS.js → chunk-5IYS3BWO.js} +56 -56
- package/dist/bundle/{chunk-U3VDEHXY.js → chunk-5ZHM6SZW.js} +1 -1
- package/dist/bundle/{chunk-AH7TKAUY.js → chunk-65MK55RS.js} +53 -44
- package/dist/bundle/{chunk-VJ34VFZ5.js → chunk-6NQTGFAL.js} +2 -2
- package/dist/bundle/{chunk-CIN7A3OM.js → chunk-75EEQB2R.js} +11 -11
- package/dist/bundle/{chunk-MYOXBUSI.js → chunk-75RJJQ2Q.js} +10 -10
- package/dist/bundle/{chunk-LDQYIKJH.js → chunk-7EA6M6RA.js} +4 -4
- package/dist/bundle/{chunk-WCFGYCVN.js → chunk-7G63XPDR.js} +7 -7
- package/dist/bundle/{chunk-DTODXX7Y.js → chunk-7G7N3IUO.js} +1 -1
- package/dist/bundle/{chunk-LUHQEQA4.js → chunk-7WJEQ36E.js} +2 -2
- package/dist/bundle/{chunk-BGNGOAG6.js → chunk-AOSSO4YI.js} +6 -6
- package/dist/bundle/{chunk-MLVYZIXB.js → chunk-B4PZQYGP.js} +8 -8
- package/dist/bundle/{chunk-WBNWH2D5.js → chunk-C6GSSMDG.js} +1 -1
- package/dist/bundle/{chunk-Q52KLN53.js → chunk-CAPDRDQU.js} +5 -5
- package/dist/bundle/{chunk-6WDOIKM6.js → chunk-CGJFYMVZ.js} +7 -7
- package/dist/bundle/{chunk-U7MRZIBF.js → chunk-CH37NCAP.js} +3 -3
- package/dist/bundle/{chunk-K44PG5V3.js → chunk-CRLYBXV5.js} +31 -31
- package/dist/bundle/{chunk-USAH53BQ.js → chunk-CXRCADXS.js} +9 -9
- package/dist/bundle/{chunk-C67763MQ.js → chunk-EJ2PEYQU.js} +1 -1
- package/dist/bundle/{chunk-LUTZSIA6.js → chunk-EJ4X6XH2.js} +1 -1
- package/dist/bundle/{chunk-RCCKUVQP.js → chunk-F2VTAFIT.js} +1 -1
- package/dist/bundle/{chunk-2A42QHPZ.js → chunk-FMMIPFTU.js} +4 -4
- package/dist/bundle/{chunk-TYIENI7Z.js → chunk-FRT7URL7.js} +624 -445
- package/dist/bundle/{chunk-LGQZNRNK.js → chunk-G3FRUKAD.js} +258 -159
- package/dist/bundle/{chunk-WVZIP7Z5.js → chunk-G6TRTDHB.js} +2 -2
- package/dist/bundle/{chunk-5MP7XPIP.js → chunk-GBRK3WXY.js} +2 -2
- package/dist/bundle/{chunk-YXPAEW6N.js → chunk-GOJZ3FQY.js} +20 -20
- package/dist/bundle/{chunk-IJC57CPU.js → chunk-GTPWWGQI.js} +7 -7
- package/dist/bundle/{chunk-LSGFFIMA.js → chunk-HAPE26JK.js} +12 -12
- package/dist/bundle/{chunk-XCFGMQBF.js → chunk-HXCSD2XV.js} +1 -1
- package/dist/bundle/{chunk-ELAZVPZT.js → chunk-IAPKZSC5.js} +1 -1
- package/dist/bundle/{chunk-PIQUCN4T.js → chunk-IJBJ47GI.js} +2 -2
- package/dist/bundle/{chunk-TBHX7VF5.js → chunk-IQ2MW47B.js} +27 -27
- package/dist/bundle/{chunk-LAMKU426.js → chunk-IYJGFBNN.js} +5 -5
- package/dist/bundle/{chunk-MISLCCYA.js → chunk-KE3CYUON.js} +1 -1
- package/dist/bundle/{chunk-O5FX3Q4U.js → chunk-L45FSDH3.js} +1 -1
- package/dist/bundle/{chunk-BIVHDUAX.js → chunk-LL3Z6KA3.js} +5 -5
- package/dist/bundle/{chunk-L5NN6UER.js → chunk-MKVUBQEG.js} +1 -1
- package/dist/bundle/{chunk-SKV7GYNB.js → chunk-NB267XRJ.js} +4 -4
- package/dist/bundle/{chunk-RJM4D644.js → chunk-NBA3GJBR.js} +1011 -726
- package/dist/bundle/{chunk-VQPUADFF.js → chunk-NTFEJ52I.js} +1 -1
- package/dist/bundle/{chunk-2LHLMF3R.js → chunk-OMBFF6Z6.js} +7 -1
- package/dist/bundle/{chunk-J3V25QFZ.js → chunk-OT4CLMVF.js} +3 -3
- package/dist/bundle/{chunk-DYX5ATS5.js → chunk-OTOKJAYR.js} +3 -3
- package/dist/bundle/{chunk-RENUU3BQ.js → chunk-PMUAUR5S.js} +4 -4
- package/dist/bundle/{chunk-5HCWKNSM.js → chunk-PXSGUVZP.js} +43 -43
- package/dist/bundle/{chunk-FJVQDWVV.js → chunk-SK3TPK5Y.js} +4 -4
- package/dist/bundle/{chunk-PFWAQGHE.js → chunk-TKFG75MJ.js} +2 -2
- package/dist/bundle/{chunk-G7QBCTF6.js → chunk-TVZEELSS.js} +339 -351
- package/dist/bundle/{chunk-XFSE3ZGY.js → chunk-U4J7TAOW.js} +1 -1
- package/dist/bundle/{chunk-3Z4BMSVX.js → chunk-UP2K5XUA.js} +3 -3
- package/dist/bundle/{chunk-N5K6NZ2F.js → chunk-WGX73SAA.js} +2 -2
- package/dist/bundle/{chunk-GCTZK5QV.js → chunk-YDNM5KYV.js} +4 -4
- package/dist/bundle/{chunk-YHQ2XNNJ.js → chunk-YWTWDX4F.js} +1 -1
- package/dist/bundle/{chunk-IRHRNK2E.js → chunk-ZJXAYYLF.js} +1 -1
- package/dist/bundle/{command-contract-7LYHZI4Y.js → command-contract-K3GJRRXT.js} +11 -11
- package/dist/bundle/{decode-7PFJ3AKS.js → decode-TTMBMSGQ.js} +2 -2
- package/dist/bundle/{echarts-YDLD5JI2.js → echarts-7XN2RLJT.js} +2 -2
- package/dist/bundle/{embed-YDR7WSPK.js → embed-UKTHDQH5.js} +3 -3
- package/dist/bundle/{embedder-KQYPQKZA.js → embedder-SCKLAVKW.js} +6 -6
- package/dist/bundle/{entry-FD4B2GID.js → entry-VQRYB2HE.js} +4 -4
- package/dist/bundle/failure-JHW2U2OF.js +66 -0
- package/dist/bundle/{first-run-C6HSAXYV.js → first-run-RL6ZRY3Y.js} +5 -5
- package/dist/bundle/{first-screen-ZM3LZRP4.js → first-screen-CRURWNKP.js} +12 -12
- package/dist/bundle/{instructions-O7YN5F6D.js → instructions-KGU67SPR.js} +1 -1
- package/dist/bundle/{mcp-X5XYKVTY.js → mcp-CSN7BDNG.js} +35 -35
- package/dist/bundle/memo.js +6 -6
- package/dist/bundle/{node-YP265UUP.js → node-S5LQLVMO.js} +2 -2
- package/dist/bundle/{node-sqlite-K3PWKXTB.js → node-sqlite-PFCIEDPX.js} +3 -3
- package/dist/bundle/{oauth-CUIDTJ5Z.js → oauth-KJOGYDPV.js} +4 -4
- package/dist/bundle/{open-SHUV2BPO.js → open-TPBENKAD.js} +2 -2
- package/dist/bundle/{openai-LSBA5CCQ.js → openai-UOYTHO32.js} +7 -7
- package/dist/bundle/{process-POGO7VDZ.js → process-JWKE7GPV.js} +1 -1
- package/dist/bundle/{program-DZ4TM3PS.js → program-RJ6X4DXE.js} +945 -425
- package/dist/bundle/{prompt-V7SEBV7G.js → prompt-5HQ3Z7ZS.js} +2 -2
- package/dist/bundle/{recognize-DK3N2GVZ.js → recognize-5ILXEPII.js} +1 -1
- package/dist/bundle/{remote-XYFCKYIQ.js → remote-WIN3HJII.js} +4 -4
- package/dist/bundle/{rerank-COKJGAIB.js → rerank-JKHDSEBI.js} +4 -4
- package/dist/bundle/{serve-KW3AGGTZ.js → serve-VMHFRDYH.js} +6 -6
- package/dist/bundle/server-IBJ23GCB.js +48 -0
- package/dist/bundle/server-SNWCFMJN.js +61 -0
- package/dist/bundle/{server-72N5XGA6.js → server-TKWVP4OJ.js} +50 -50
- package/dist/bundle/{state-KHK3S4AC.js → state-OWOLD7JI.js} +3 -3
- package/dist/bundle/{store-GGUL63V7.js → store-6GFFSNRY.js} +9 -9
- package/dist/bundle/store-maintenance-command-7DMPWFT4.js +48 -0
- package/dist/bundle/update-KSB7VYAW.js +69 -0
- package/dist/context/command.d.ts +4 -0
- package/dist/context/command.d.ts.map +1 -1
- package/dist/context/command.js +7 -5
- package/dist/context/command.js.map +1 -1
- package/dist/context/context.d.ts.map +1 -1
- package/dist/context/context.js +4 -3
- package/dist/context/context.js.map +1 -1
- package/dist/contract-overrides/skill.js +1 -1
- package/dist/contract-overrides/skill.js.map +1 -1
- package/dist/digest/command.d.ts +9 -0
- package/dist/digest/command.d.ts.map +1 -0
- package/dist/digest/command.js +59 -0
- package/dist/digest/command.js.map +1 -0
- package/dist/digest/digest.d.ts +62 -0
- package/dist/digest/digest.d.ts.map +1 -0
- package/dist/digest/digest.js +347 -0
- package/dist/digest/digest.js.map +1 -0
- package/dist/digest/known.d.ts +7 -0
- package/dist/digest/known.d.ts.map +1 -0
- package/dist/digest/known.js +28 -0
- package/dist/digest/known.js.map +1 -0
- package/dist/digest/text.d.ts +8 -0
- package/dist/digest/text.d.ts.map +1 -0
- package/dist/digest/text.js +47 -0
- package/dist/digest/text.js.map +1 -0
- package/dist/doctor/command.d.ts +1 -1
- package/dist/examples.d.ts.map +1 -1
- package/dist/examples.js +3 -2
- package/dist/examples.js.map +1 -1
- package/dist/knowledge/command.d.ts.map +1 -1
- package/dist/knowledge/command.js +17 -33
- package/dist/knowledge/command.js.map +1 -1
- package/dist/knowledge/project-context.d.ts +1 -0
- 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/mail/findings-command.d.ts.map +1 -1
- package/dist/mail/findings-command.js +20 -3
- package/dist/mail/findings-command.js.map +1 -1
- package/dist/mail/findings-duplicates.d.ts +19 -0
- package/dist/mail/findings-duplicates.d.ts.map +1 -0
- package/dist/mail/findings-duplicates.js +159 -0
- package/dist/mail/findings-duplicates.js.map +1 -0
- package/dist/program.d.ts.map +1 -1
- package/dist/program.js +1 -63
- 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/review/command.d.ts.map +1 -1
- package/dist/review/command.js +4 -8
- package/dist/review/command.js.map +1 -1
- package/dist/review/status.d.ts +9 -0
- package/dist/review/status.d.ts.map +1 -1
- package/dist/review/status.js +11 -6
- package/dist/review/status.js.map +1 -1
- package/dist/search/command.d.ts.map +1 -1
- package/dist/search/command.js +3 -1
- package/dist/search/command.js.map +1 -1
- package/dist/search/search.d.ts.map +1 -1
- package/dist/search/search.js +10 -2
- package/dist/search/search.js.map +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +3 -3
- package/skills/cli-memo/SKILL.md +3 -1
- package/skills/cli-memo/topics/projects.md +2 -1
- package/skills/morning-digest/SKILL.md +50 -0
- package/dist/bundle/auto-KUNM4M5S.js +0 -86
- package/dist/bundle/failure-FOZGSUOL.js +0 -66
- package/dist/bundle/server-QZPRR4H3.js +0 -48
- package/dist/bundle/server-VPEPJSQM.js +0 -61
- package/dist/bundle/store-maintenance-command-3KI6LYZB.js +0 -48
- package/dist/bundle/update-OLU3IRV6.js +0 -69
- /package/dist/bundle/{chunk-SWSCSMAU.js → chunk-DL5LDAOS.js} +0 -0
|
@@ -10,18 +10,18 @@ import {
|
|
|
10
10
|
providerErrorKey,
|
|
11
11
|
renderEvent,
|
|
12
12
|
runContextOf
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-7G63XPDR.js";
|
|
14
14
|
import {
|
|
15
15
|
permissionCeiling
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-UP2K5XUA.js";
|
|
17
17
|
import {
|
|
18
18
|
envName,
|
|
19
19
|
readOnlyLockOf,
|
|
20
20
|
readOnlyRefusal
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-F2VTAFIT.js";
|
|
22
22
|
import {
|
|
23
23
|
carries
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-IAPKZSC5.js";
|
|
25
25
|
import {
|
|
26
26
|
FACT_STATUSES,
|
|
27
27
|
FACT_TYPES,
|
|
@@ -72,17 +72,17 @@ import {
|
|
|
72
72
|
text,
|
|
73
73
|
time,
|
|
74
74
|
untrusted
|
|
75
|
-
} from "./chunk-
|
|
75
|
+
} from "./chunk-5IYS3BWO.js";
|
|
76
76
|
import {
|
|
77
77
|
sharedConfigPath
|
|
78
|
-
} from "./chunk-
|
|
78
|
+
} from "./chunk-YDNM5KYV.js";
|
|
79
79
|
import {
|
|
80
80
|
filesPresent,
|
|
81
81
|
sharedModelsDirectory
|
|
82
|
-
} from "./chunk-
|
|
82
|
+
} from "./chunk-OTOKJAYR.js";
|
|
83
83
|
import {
|
|
84
84
|
storePath
|
|
85
|
-
} from "./chunk-
|
|
85
|
+
} from "./chunk-U4J7TAOW.js";
|
|
86
86
|
import {
|
|
87
87
|
configFilePath,
|
|
88
88
|
createRecordLog,
|
|
@@ -3946,7 +3946,7 @@ var commandsDocument = /* @__PURE__ */ __name((root, about) => ({
|
|
|
3946
3946
|
exit_codes: { ok: 0, internal_error: GENERIC_FAILURE, ...EXIT_CODES }
|
|
3947
3947
|
}), "commandsDocument");
|
|
3948
3948
|
|
|
3949
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3949
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.593.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_a38dc1e51ab7f561f21ddbf6a1611494/node_modules/@wirecat/cli-core/dist/sends/guarded.js
|
|
3950
3950
|
import { AsyncLocalStorage } from "node:async_hooks";
|
|
3951
3951
|
var sentIds = /* @__PURE__ */ __name((typed2, message2) => ({
|
|
3952
3952
|
messageId: message2.id,
|
|
@@ -4052,7 +4052,7 @@ var guardedWrite = /* @__PURE__ */ __name(async (guard, attempt, act, settled2 =
|
|
|
4052
4052
|
}, "guardedWrite");
|
|
4053
4053
|
var codeOf = /* @__PURE__ */ __name((error) => typeof error?.code === "string" ? error.code : "unknown", "codeOf");
|
|
4054
4054
|
|
|
4055
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4055
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.593.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_a38dc1e51ab7f561f21ddbf6a1611494/node_modules/@wirecat/cli-core/dist/cli/result-fields.js
|
|
4056
4056
|
var named = /* @__PURE__ */ __name((work) => {
|
|
4057
4057
|
try {
|
|
4058
4058
|
return work();
|
|
@@ -4079,7 +4079,7 @@ var projectFields2 = /* @__PURE__ */ __name((value, fields) => named(() => {
|
|
|
4079
4079
|
return projectFields(value, fields);
|
|
4080
4080
|
}), "projectFields");
|
|
4081
4081
|
|
|
4082
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4082
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.593.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_a38dc1e51ab7f561f21ddbf6a1611494/node_modules/@wirecat/cli-core/dist/cli/execution.js
|
|
4083
4083
|
var DEFAULT_COOPERATIVE_MS = 5 * 6e4;
|
|
4084
4084
|
var DEFAULT_SYNC_MS = 15 * 6e4;
|
|
4085
4085
|
var DEFAULT_OUTPUT_BYTES = 4 * 1024 * 1024;
|
|
@@ -4101,7 +4101,7 @@ var withAbort = /* @__PURE__ */ __name(async (signal, body) => {
|
|
|
4101
4101
|
}
|
|
4102
4102
|
}, "withAbort");
|
|
4103
4103
|
|
|
4104
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4104
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.593.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_a38dc1e51ab7f561f21ddbf6a1611494/node_modules/@wirecat/cli-core/dist/sends/permissions.js
|
|
4105
4105
|
var LEVELS = ["deny", "readonly", "ask", "allow"];
|
|
4106
4106
|
var DANGEROUS = /* @__PURE__ */ new Set(["messages.delete", "bot.messages.delete", "topics.delete", "chats.delete", "chats.clear"]);
|
|
4107
4107
|
var skipFlagFor = /* @__PURE__ */ __name((key) => DANGEROUS.has(key) ? "--allow-dangerous" : "--yes", "skipFlagFor");
|
|
@@ -4497,7 +4497,7 @@ var assertRetentionEvidenceRead = /* @__PURE__ */ __name((permissions) => {
|
|
|
4497
4497
|
}
|
|
4498
4498
|
}, "assertRetentionEvidenceRead");
|
|
4499
4499
|
|
|
4500
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4500
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.593.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_a38dc1e51ab7f561f21ddbf6a1611494/node_modules/@wirecat/cli-core/dist/cli/messenger/accounts.js
|
|
4501
4501
|
import { existsSync, readdirSync, readFileSync } from "node:fs";
|
|
4502
4502
|
import { join } from "node:path";
|
|
4503
4503
|
var accountFileFor = /* @__PURE__ */ __name((app, profile, env) => join(resolvePaths({ appName: app.appName, prefix: app.envPrefix, env }).state, "accounts", `${profile}.json`), "accountFileFor");
|
|
@@ -4519,12 +4519,12 @@ var profilesWithAccounts = /* @__PURE__ */ __name((app, env) => {
|
|
|
4519
4519
|
}, "profilesWithAccounts");
|
|
4520
4520
|
var profilesHere = /* @__PURE__ */ __name((app, configured, env) => [.../* @__PURE__ */ new Set([...configured, ...profilesWithAccounts(app, env)])].sort(), "profilesHere");
|
|
4521
4521
|
|
|
4522
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4522
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.593.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_a38dc1e51ab7f561f21ddbf6a1611494/node_modules/@wirecat/cli-core/dist/background/budget.js
|
|
4523
4523
|
var DEADLINE_MARGIN_MS = 5e3;
|
|
4524
4524
|
var DEADLINE_MARGIN_SHARE = 0.15;
|
|
4525
4525
|
var deadlineMargin = /* @__PURE__ */ __name((deadline) => Math.max(DEADLINE_MARGIN_MS, deadline.ms * DEADLINE_MARGIN_SHARE), "deadlineMargin");
|
|
4526
4526
|
|
|
4527
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4527
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.593.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_a38dc1e51ab7f561f21ddbf6a1611494/node_modules/@wirecat/cli-core/dist/output-detail.js
|
|
4528
4528
|
var RARELY_SET = ["editedAt", "replyTo", "forwardedFrom", "reactions"];
|
|
4529
4529
|
var BRIEF = ["locator", "chatTitle", "timestamp", "senderName", "excerpt", "score"];
|
|
4530
4530
|
var SNAKE_BRIEF = ["ref", "chat_title", "timestamp", "sender_name", "excerpt", "score"];
|
|
@@ -4560,7 +4560,7 @@ var atDetail = /* @__PURE__ */ __name((value, detail = "default") => {
|
|
|
4560
4560
|
return value;
|
|
4561
4561
|
}, "atDetail");
|
|
4562
4562
|
|
|
4563
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4563
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.593.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_a38dc1e51ab7f561f21ddbf6a1611494/node_modules/@wirecat/cli-core/dist/output.js
|
|
4564
4564
|
var refuseCompact = /* @__PURE__ */ __name(({ json, jsonl, fields, hitDetail }) => {
|
|
4565
4565
|
const other = jsonl ? "--jsonl" : fields !== void 0 ? "--json=\u2026" : json ? "--json" : hitDetail === "brief" ? "--brief" : "";
|
|
4566
4566
|
if (other)
|
|
@@ -4624,7 +4624,7 @@ var silence = /* @__PURE__ */ __name((renderer) => ({
|
|
|
4624
4624
|
}, "warn")
|
|
4625
4625
|
}), "silence");
|
|
4626
4626
|
|
|
4627
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4627
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.593.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_a38dc1e51ab7f561f21ddbf6a1611494/node_modules/@wirecat/cli-core/dist/runs/log-events.js
|
|
4628
4628
|
var CORE_LOG_EVENTS = defineLogEvents([
|
|
4629
4629
|
{ id: "provider.request", meaning: "a request went to the messenger", keys: ["operation"] },
|
|
4630
4630
|
{ id: "provider.response", meaning: "the messenger answered the request, or it failed", keys: ["operation"] },
|
|
@@ -4658,7 +4658,7 @@ var DIAGNOSTIC_LOG_EVENTS = {
|
|
|
4658
4658
|
cache: "cache.answered"
|
|
4659
4659
|
};
|
|
4660
4660
|
|
|
4661
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4661
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.593.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_a38dc1e51ab7f561f21ddbf6a1611494/node_modules/@wirecat/cli-core/dist/runs/log-keys.js
|
|
4662
4662
|
var snake2 = /* @__PURE__ */ __name((key) => key.replace(/[A-Z]/g, (letter) => `_${letter.toLowerCase()}`), "snake");
|
|
4663
4663
|
var camel = /* @__PURE__ */ __name((key) => key.replace(/_([a-z0-9])/g, (_, letter) => letter.toUpperCase()), "camel");
|
|
4664
4664
|
var renamed = /* @__PURE__ */ __name((record2, name) => Object.fromEntries(Object.entries(record2).map(([key, value]) => [name(key), value])), "renamed");
|
|
@@ -4671,13 +4671,13 @@ var snakeLogger = /* @__PURE__ */ __name((logger) => ({
|
|
|
4671
4671
|
error: /* @__PURE__ */ __name((event2, message2) => logger.error(logAttributes(event2), message2), "error")
|
|
4672
4672
|
}), "snakeLogger");
|
|
4673
4673
|
|
|
4674
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4674
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.593.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_a38dc1e51ab7f561f21ddbf6a1611494/node_modules/@wirecat/cli-core/dist/runs/run.js
|
|
4675
4675
|
import { randomUUID } from "node:crypto";
|
|
4676
4676
|
import { appendFileSync, mkdirSync, readdirSync as readdirSync2, readFileSync as readFileSync2, rmSync, statSync, writeFileSync } from "node:fs";
|
|
4677
4677
|
import { userInfo } from "node:os";
|
|
4678
4678
|
import { join as join2, sep } from "node:path";
|
|
4679
4679
|
|
|
4680
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4680
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.593.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_a38dc1e51ab7f561f21ddbf6a1611494/node_modules/@wirecat/cli-core/dist/runs/log-attributes.js
|
|
4681
4681
|
var diagnostic = {
|
|
4682
4682
|
event: true,
|
|
4683
4683
|
operation: true,
|
|
@@ -4747,7 +4747,7 @@ var LOG_ATTRIBUTES = [
|
|
|
4747
4747
|
...new Set([...Object.keys(diagnostic), ...Object.keys(send), ...background, ...crash, ...dropped].map((key) => Object.keys(logAttributes({ [key]: true }))[0]))
|
|
4748
4748
|
].sort();
|
|
4749
4749
|
|
|
4750
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4750
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.593.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_a38dc1e51ab7f561f21ddbf6a1611494/node_modules/@wirecat/cli-core/dist/runs/run.js
|
|
4751
4751
|
var KEEP_RUNS_FOR_DAYS = 30;
|
|
4752
4752
|
var KEEP_SUCCESSFUL_RUNS_FOR_DAYS = 7;
|
|
4753
4753
|
var RUNS_SIZE_LIMIT_MB = 200;
|
|
@@ -5100,7 +5100,7 @@ var metadataOf = /* @__PURE__ */ __name((parsed) => {
|
|
|
5100
5100
|
};
|
|
5101
5101
|
}, "metadataOf");
|
|
5102
5102
|
|
|
5103
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5103
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.593.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_a38dc1e51ab7f561f21ddbf6a1611494/node_modules/@wirecat/cli-core/dist/runs/scope.js
|
|
5104
5104
|
import { AsyncLocalStorage as AsyncLocalStorage2 } from "node:async_hooks";
|
|
5105
5105
|
import { randomBytes } from "node:crypto";
|
|
5106
5106
|
var scopes = new AsyncLocalStorage2();
|
|
@@ -5135,7 +5135,7 @@ var childTrace = /* @__PURE__ */ __name(() => {
|
|
|
5135
5135
|
var attempts = new AsyncLocalStorage2();
|
|
5136
5136
|
var withAttempt = /* @__PURE__ */ __name((attempt, work) => attempts.run(attempt, work), "withAttempt");
|
|
5137
5137
|
|
|
5138
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5138
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.593.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_a38dc1e51ab7f561f21ddbf6a1611494/node_modules/@wirecat/cli-core/dist/runs/recording.js
|
|
5139
5139
|
var recorded = /* @__PURE__ */ __name(async (options, body) => {
|
|
5140
5140
|
const recording = startRecording(options);
|
|
5141
5141
|
try {
|
|
@@ -5320,7 +5320,7 @@ var partialOutcome = /* @__PURE__ */ __name((answer) => {
|
|
|
5320
5320
|
return void 0;
|
|
5321
5321
|
}, "partialOutcome");
|
|
5322
5322
|
|
|
5323
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5323
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.593.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_a38dc1e51ab7f561f21ddbf6a1611494/node_modules/@wirecat/cli-core/dist/cli/deadline.js
|
|
5324
5324
|
var withDeadline = /* @__PURE__ */ __name(async (ms2, closeables, body) => {
|
|
5325
5325
|
if (ms2 === void 0)
|
|
5326
5326
|
return body();
|
|
@@ -5346,7 +5346,7 @@ var withDeadline = /* @__PURE__ */ __name(async (ms2, closeables, body) => {
|
|
|
5346
5346
|
}
|
|
5347
5347
|
}, "withDeadline");
|
|
5348
5348
|
|
|
5349
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5349
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.593.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_a38dc1e51ab7f561f21ddbf6a1611494/node_modules/@wirecat/cli-core/dist/cli/profile.js
|
|
5350
5350
|
var asFirstWord = /* @__PURE__ */ __name((profile) => `${profile} `, "asFirstWord");
|
|
5351
5351
|
var PLAIN_NAME = /^[A-Za-z0-9][A-Za-z0-9._-]*$/;
|
|
5352
5352
|
var isProfileName = /* @__PURE__ */ __name((word) => PLAIN_NAME.test(word), "isProfileName");
|
|
@@ -5388,10 +5388,10 @@ var rootOf = /* @__PURE__ */ __name((command) => {
|
|
|
5388
5388
|
return root;
|
|
5389
5389
|
}, "rootOf");
|
|
5390
5390
|
|
|
5391
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5391
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.593.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_a38dc1e51ab7f561f21ddbf6a1611494/node_modules/@wirecat/cli-core/dist/cli/settings.js
|
|
5392
5392
|
import { existsSync as existsSync4 } from "node:fs";
|
|
5393
5393
|
|
|
5394
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5394
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.593.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_a38dc1e51ab7f561f21ddbf6a1611494/node_modules/@wirecat/cli-core/dist/models/endpoint.js
|
|
5395
5395
|
var endpoint = /* @__PURE__ */ __name((value) => {
|
|
5396
5396
|
try {
|
|
5397
5397
|
const url2 = new URL(value);
|
|
@@ -5401,7 +5401,7 @@ var endpoint = /* @__PURE__ */ __name((value) => {
|
|
|
5401
5401
|
}
|
|
5402
5402
|
}, "endpoint");
|
|
5403
5403
|
|
|
5404
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5404
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.593.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_a38dc1e51ab7f561f21ddbf6a1611494/node_modules/@wirecat/cli-core/dist/models/settings.js
|
|
5405
5405
|
var MODEL_FIELDS = ["provider", "model", "base_url"];
|
|
5406
5406
|
var modelSettingsShape = record(pipe(string(), regex(/^[a-z][a-z0-9-]*$/)), strictObject({
|
|
5407
5407
|
provider: optional(picklist(["off", "openai", "anthropic"])),
|
|
@@ -5470,7 +5470,7 @@ var modelTarget = /* @__PURE__ */ __name((settings, purpose) => {
|
|
|
5470
5470
|
};
|
|
5471
5471
|
}, "modelTarget");
|
|
5472
5472
|
|
|
5473
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5473
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.593.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_a38dc1e51ab7f561f21ddbf6a1611494/node_modules/@wirecat/cli-core/dist/analysis/settings.js
|
|
5474
5474
|
var model = pipe(string(), trim(), minLength(1), maxLength(200));
|
|
5475
5475
|
var url = pipe(string(), check(endpoint, "use an HTTP/S endpoint without credentials, query or fragment"));
|
|
5476
5476
|
var AI_FIELDS = {
|
|
@@ -5514,7 +5514,7 @@ var resolveAISettings = /* @__PURE__ */ __name((prefix, layers, env) => {
|
|
|
5514
5514
|
};
|
|
5515
5515
|
}, "resolveAISettings");
|
|
5516
5516
|
|
|
5517
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5517
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.593.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_a38dc1e51ab7f561f21ddbf6a1611494/node_modules/@wirecat/cli-core/dist/domain/duration.js
|
|
5518
5518
|
var DURATION = /^(\d+)(ms|s|m|h|d)$/;
|
|
5519
5519
|
var UNIT_MS = { ms: 1, s: 1e3, m: 6e4, h: 36e5, d: 864e5 };
|
|
5520
5520
|
var parseDuration = /* @__PURE__ */ __name((value, source2) => {
|
|
@@ -5528,7 +5528,7 @@ var parseDuration = /* @__PURE__ */ __name((value, source2) => {
|
|
|
5528
5528
|
return ms2;
|
|
5529
5529
|
}, "parseDuration");
|
|
5530
5530
|
|
|
5531
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5531
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.593.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_a38dc1e51ab7f561f21ddbf6a1611494/node_modules/@wirecat/cli-core/dist/embeddings/models.js
|
|
5532
5532
|
var huggingFace = /* @__PURE__ */ __name((repository, commit) => (name) => `https://huggingface.co/${repository}/resolve/${commit}/${name}`, "huggingFace");
|
|
5533
5533
|
var e5 = huggingFace("Xenova/multilingual-e5-small", "761b726dd34fb83930e26aab4e9ac3899aa1fa78");
|
|
5534
5534
|
var gemma = huggingFace("onnx-community/embeddinggemma-300m-ONNX", "5090578d9565bb06545b4552f76e6bc2c93e4a66");
|
|
@@ -5687,7 +5687,7 @@ var rerankModel = /* @__PURE__ */ __name((id6) => {
|
|
|
5687
5687
|
var vectorModelKey = /* @__PURE__ */ __name((model3) => `local:${model3.id}:${model3.dims}`, "vectorModelKey");
|
|
5688
5688
|
var meaningFloor = /* @__PURE__ */ __name((key) => key === "local:e5-small:384" ? 0.8 : 0, "meaningFloor");
|
|
5689
5689
|
|
|
5690
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5690
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.593.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_a38dc1e51ab7f561f21ddbf6a1611494/node_modules/@wirecat/cli-core/dist/services/history-limits.js
|
|
5691
5691
|
var HISTORY_MAX_DAYS = 1095;
|
|
5692
5692
|
var DEFAULT_HISTORY_LIMITS = { dialogDays: 1095, groupDays: 365, groupMembersMax: 50 };
|
|
5693
5693
|
var DAY_MS2 = 24 * 60 * 60 * 1e3;
|
|
@@ -5734,7 +5734,7 @@ var limitBatch = /* @__PURE__ */ __name((batch, shapes, included, limits, now =
|
|
|
5734
5734
|
return { batch: { ...batch, messages }, skipped };
|
|
5735
5735
|
}, "limitBatch");
|
|
5736
5736
|
|
|
5737
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5737
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.593.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_a38dc1e51ab7f561f21ddbf6a1611494/node_modules/@wirecat/cli-core/dist/cli/bot/registry.js
|
|
5738
5738
|
import { existsSync as existsSync2, readdirSync as readdirSync3, readFileSync as readFileSync3 } from "node:fs";
|
|
5739
5739
|
import { join as join3 } from "node:path";
|
|
5740
5740
|
var botsDirectory = /* @__PURE__ */ __name((app, env = process.env) => join3(resolvePaths({ appName: app.appName, prefix: app.envPrefix, env }).state, "bots"), "botsDirectory");
|
|
@@ -5823,10 +5823,10 @@ var registryProfiles = /* @__PURE__ */ __name((app, env = process.env) => {
|
|
|
5823
5823
|
return readdirSync3(directory, { withFileTypes: true }).filter((entry) => entry.isFile() && entry.name.endsWith(".json")).map((entry) => entry.name).map((name) => name.slice(0, -".json".length));
|
|
5824
5824
|
}, "registryProfiles");
|
|
5825
5825
|
|
|
5826
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5826
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.593.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_a38dc1e51ab7f561f21ddbf6a1611494/node_modules/@wirecat/cli-core/dist/cli/config-issues.js
|
|
5827
5827
|
import { readFileSync as readFileSync4 } from "node:fs";
|
|
5828
5828
|
|
|
5829
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5829
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.593.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_a38dc1e51ab7f561f21ddbf6a1611494/node_modules/@wirecat/cli-core/dist/cli/config-repair.js
|
|
5830
5830
|
var REPAIR_WORDS = {
|
|
5831
5831
|
byte_order_mark: "an invisible byte-order mark at the start",
|
|
5832
5832
|
comment: "a comment, which JSON does not allow",
|
|
@@ -6067,7 +6067,7 @@ ${parts.join(",\n")}
|
|
|
6067
6067
|
${indent}${close}`;
|
|
6068
6068
|
}, "serialise");
|
|
6069
6069
|
|
|
6070
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6070
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.593.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_a38dc1e51ab7f561f21ddbf6a1611494/node_modules/@wirecat/cli-core/dist/cli/config-issues.js
|
|
6071
6071
|
var isNode = /* @__PURE__ */ __name((value) => typeof value === "object" && value !== null && !Array.isArray(value), "isNode");
|
|
6072
6072
|
var SECTIONS = ["personal", "bot"];
|
|
6073
6073
|
var SHELL_SAFE = /^[A-Za-z0-9_.:@-]*$/;
|
|
@@ -6362,7 +6362,7 @@ var readConfigFile = /* @__PURE__ */ __name((path2) => {
|
|
|
6362
6362
|
return "issue" in parsed ? { issue: publicIssue(parsed.issue) } : parsed;
|
|
6363
6363
|
}, "readConfigFile");
|
|
6364
6364
|
|
|
6365
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6365
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.593.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_a38dc1e51ab7f561f21ddbf6a1611494/node_modules/@wirecat/cli-core/dist/cli/default-config.js
|
|
6366
6366
|
import { existsSync as existsSync3, linkSync, mkdirSync as mkdirSync2, mkdtempSync, rmSync as rmSync2, writeFileSync as writeFileSync2 } from "node:fs";
|
|
6367
6367
|
import { dirname, join as join4 } from "node:path";
|
|
6368
6368
|
var DEFAULT_CONFIG = {
|
|
@@ -6391,7 +6391,7 @@ function ensureDefaultConfig(path2, config = DEFAULT_CONFIG) {
|
|
|
6391
6391
|
}
|
|
6392
6392
|
__name(ensureDefaultConfig, "ensureDefaultConfig");
|
|
6393
6393
|
|
|
6394
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6394
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.593.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_a38dc1e51ab7f561f21ddbf6a1611494/node_modules/@wirecat/cli-core/dist/cli/setting-defaults.js
|
|
6395
6395
|
var isNode2 = /* @__PURE__ */ __name((value) => typeof value === "object" && value !== null && !Array.isArray(value), "isNode");
|
|
6396
6396
|
var parentOf = /* @__PURE__ */ __name((config, key) => {
|
|
6397
6397
|
const path2 = key.split(".");
|
|
@@ -6424,7 +6424,7 @@ var settingRows = /* @__PURE__ */ __name((raw, declared) => declared.map((settin
|
|
|
6424
6424
|
};
|
|
6425
6425
|
}), "settingRows");
|
|
6426
6426
|
|
|
6427
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6427
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.593.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_a38dc1e51ab7f561f21ddbf6a1611494/node_modules/@wirecat/cli-core/dist/cli/settings.js
|
|
6428
6428
|
var DEFAULT_LIMIT = DEFAULT_CONFIG.defaults.limit;
|
|
6429
6429
|
var DEFAULT_KEEP_RUNS_FOR_DAYS = DEFAULT_CONFIG.defaults.keep_runs_for_days;
|
|
6430
6430
|
var DEFAULT_SENDS_PER_HOUR = DEFAULT_CONFIG.defaults.sends_per_hour;
|
|
@@ -6934,7 +6934,7 @@ var given = /* @__PURE__ */ __name((value) => {
|
|
|
6934
6934
|
return trimmed === void 0 || trimmed === "" ? void 0 : trimmed;
|
|
6935
6935
|
}, "given");
|
|
6936
6936
|
|
|
6937
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6937
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.593.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_a38dc1e51ab7f561f21ddbf6a1611494/node_modules/@wirecat/cli-core/dist/cli/context.js
|
|
6938
6938
|
var setExitCode = /* @__PURE__ */ __name((command, code) => {
|
|
6939
6939
|
const slot = environmentOf(command).exit;
|
|
6940
6940
|
if (slot)
|
|
@@ -7047,7 +7047,7 @@ var commandPath = /* @__PURE__ */ __name((command) => {
|
|
|
7047
7047
|
return words.join(" ");
|
|
7048
7048
|
}, "commandPath");
|
|
7049
7049
|
|
|
7050
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7050
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.593.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_a38dc1e51ab7f561f21ddbf6a1611494/node_modules/@wirecat/cli-core/dist/cli/effects.js
|
|
7051
7051
|
var REMOTE_READ = { remote: "read", local: "read" };
|
|
7052
7052
|
var FETCH = { remote: "read", local: "write" };
|
|
7053
7053
|
var REMOTE_WRITE = { remote: "write", local: "write" };
|
|
@@ -7154,7 +7154,7 @@ var refuseUnderReadOnly = /* @__PURE__ */ __name((command, what) => {
|
|
|
7154
7154
|
throw readOnlyRefusal(lock, what);
|
|
7155
7155
|
}, "refuseUnderReadOnly");
|
|
7156
7156
|
|
|
7157
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7157
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.593.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_a38dc1e51ab7f561f21ddbf6a1611494/node_modules/@wirecat/cli-core/dist/entities/account.js
|
|
7158
7158
|
var account = strictObject({
|
|
7159
7159
|
provider: text,
|
|
7160
7160
|
id,
|
|
@@ -7164,7 +7164,7 @@ var account = strictObject({
|
|
|
7164
7164
|
scope: optional(picklist(["personal", "work"]))
|
|
7165
7165
|
});
|
|
7166
7166
|
|
|
7167
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7167
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.593.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_a38dc1e51ab7f561f21ddbf6a1611494/node_modules/@wirecat/cli-core/dist/entities/account-session.js
|
|
7168
7168
|
var accountSession = strictObject({
|
|
7169
7169
|
current: boolean(),
|
|
7170
7170
|
client: nullable(text),
|
|
@@ -7174,7 +7174,7 @@ var accountSession = strictObject({
|
|
|
7174
7174
|
created_at: optional(nullable(time))
|
|
7175
7175
|
});
|
|
7176
7176
|
|
|
7177
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7177
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.593.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_a38dc1e51ab7f561f21ddbf6a1611494/node_modules/@wirecat/cli-core/dist/entities/account-change.js
|
|
7178
7178
|
var accountChange = strictObject({ operation_id: id, account: omit(account, ["provider", "scope"]) });
|
|
7179
7179
|
var endedAccountSessions = strictObject({ operation_id: id, sessions: array(accountSession) });
|
|
7180
7180
|
var audience = picklist(["everyone", "contacts", "nobody"]);
|
|
@@ -7192,7 +7192,7 @@ var accountPrivacy = strictObject({
|
|
|
7192
7192
|
});
|
|
7193
7193
|
var accountPrivacyChange = strictObject({ operation_id: id, privacy: accountPrivacy });
|
|
7194
7194
|
|
|
7195
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7195
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.593.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_a38dc1e51ab7f561f21ddbf6a1611494/node_modules/@wirecat/cli-core/dist/entities/account-profile.js
|
|
7196
7196
|
var accountProfile = strictObject({
|
|
7197
7197
|
profile: id,
|
|
7198
7198
|
current: boolean(),
|
|
@@ -7204,7 +7204,7 @@ var accountProfile = strictObject({
|
|
|
7204
7204
|
bot: optional(literal(true))
|
|
7205
7205
|
});
|
|
7206
7206
|
|
|
7207
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7207
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.593.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_a38dc1e51ab7f561f21ddbf6a1611494/node_modules/@wirecat/cli-core/dist/entities/counter-reading.js
|
|
7208
7208
|
var milliseconds = pipe(number(), minValue(0));
|
|
7209
7209
|
var counterReading = strictObject({
|
|
7210
7210
|
counter: picklist(["views", "reactions", "comments"]),
|
|
@@ -7216,7 +7216,7 @@ var counterReading = strictObject({
|
|
|
7216
7216
|
});
|
|
7217
7217
|
var selection = record(string(), unknown());
|
|
7218
7218
|
|
|
7219
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7219
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.593.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_a38dc1e51ab7f561f21ddbf6a1611494/node_modules/@wirecat/cli-core/dist/entities/admin-report.js
|
|
7220
7220
|
var adminRow = strictObject({
|
|
7221
7221
|
ref: reference,
|
|
7222
7222
|
/** What `stats * evidence` takes: a person id, a stay or a message locator. */
|
|
@@ -7269,7 +7269,7 @@ var adminReport = strictObject({
|
|
|
7269
7269
|
rows: array(adminRow)
|
|
7270
7270
|
});
|
|
7271
7271
|
|
|
7272
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7272
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.593.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_a38dc1e51ab7f561f21ddbf6a1611494/node_modules/@wirecat/cli-core/dist/entities/task.js
|
|
7273
7273
|
var closeSuggestion = strictObject({
|
|
7274
7274
|
as: picklist(["done", "dismissed"]),
|
|
7275
7275
|
/** The agent's name. */
|
|
@@ -7331,7 +7331,7 @@ var task = strictObject({
|
|
|
7331
7331
|
updated_at: optional(time)
|
|
7332
7332
|
});
|
|
7333
7333
|
|
|
7334
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7334
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.593.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_a38dc1e51ab7f561f21ddbf6a1611494/node_modules/@wirecat/cli-core/dist/entities/agenda.js
|
|
7335
7335
|
var agendaChat = strictObject({
|
|
7336
7336
|
chat: reference,
|
|
7337
7337
|
title: nullable(text),
|
|
@@ -7401,11 +7401,11 @@ var agenda = strictObject({
|
|
|
7401
7401
|
unlisted_categories: array(strictObject({ name: text, open_tasks: number() }))
|
|
7402
7402
|
});
|
|
7403
7403
|
|
|
7404
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7404
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.593.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_a38dc1e51ab7f561f21ddbf6a1611494/node_modules/@wirecat/cli-core/dist/entities/analysis-consent.js
|
|
7405
7405
|
var analysisConsent = strictObject({ chat: id, provider: text, at: time });
|
|
7406
7406
|
var analysisConsentRevocation = strictObject({ revoked: boolean() });
|
|
7407
7407
|
|
|
7408
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7408
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.593.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_a38dc1e51ab7f561f21ddbf6a1611494/node_modules/@wirecat/cli-core/dist/entities/attachment.js
|
|
7409
7409
|
var attachment = strictObject({
|
|
7410
7410
|
/** The message it came with, as a locator; absent inside that message. */
|
|
7411
7411
|
message: optional(reference),
|
|
@@ -7443,7 +7443,7 @@ var attachment = strictObject({
|
|
|
7443
7443
|
});
|
|
7444
7444
|
var hitFile = strictObject({ position: count, kind: text, name: optional(text), size: optional(count) });
|
|
7445
7445
|
|
|
7446
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7446
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.593.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_a38dc1e51ab7f561f21ddbf6a1611494/node_modules/@wirecat/cli-core/dist/entities/batch-result.js
|
|
7447
7447
|
var actionableError = objectWithRest({
|
|
7448
7448
|
code: text,
|
|
7449
7449
|
message: text,
|
|
@@ -7460,7 +7460,7 @@ var batchResult = strictObject({
|
|
|
7460
7460
|
max_error_percent: count
|
|
7461
7461
|
});
|
|
7462
7462
|
|
|
7463
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7463
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.593.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_a38dc1e51ab7f561f21ddbf6a1611494/node_modules/@wirecat/cli-core/dist/entities/extraction-report.js
|
|
7464
7464
|
var extractionItem = strictObject({
|
|
7465
7465
|
ref: reference,
|
|
7466
7466
|
attachment: count,
|
|
@@ -7493,7 +7493,7 @@ var extractionReport = strictObject({
|
|
|
7493
7493
|
cursor: optional(text)
|
|
7494
7494
|
});
|
|
7495
7495
|
|
|
7496
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7496
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.593.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_a38dc1e51ab7f561f21ddbf6a1611494/node_modules/@wirecat/cli-core/dist/entities/attachment-results.js
|
|
7497
7497
|
var fingerprint = pipe(text, regex(/^[a-f0-9]{64}$/));
|
|
7498
7498
|
var attachmentBytes = strictObject({
|
|
7499
7499
|
ref: reference,
|
|
@@ -7521,7 +7521,7 @@ var attachmentTextChange = strictObject({
|
|
|
7521
7521
|
replaced: nullable(picklist(["extracted", "agent"]))
|
|
7522
7522
|
});
|
|
7523
7523
|
|
|
7524
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7524
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.593.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_a38dc1e51ab7f561f21ddbf6a1611494/node_modules/@wirecat/cli-core/dist/entities/chart.js
|
|
7525
7525
|
var chart = strictObject({
|
|
7526
7526
|
version: literal(1),
|
|
7527
7527
|
kind: picklist(["bar", "line", "grouped-bar"]),
|
|
@@ -7536,7 +7536,7 @@ var chart = strictObject({
|
|
|
7536
7536
|
file: optional(strictObject({ path: text, format: picklist(["svg", "png"]), width: count, height: count }))
|
|
7537
7537
|
});
|
|
7538
7538
|
|
|
7539
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7539
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.593.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_a38dc1e51ab7f561f21ddbf6a1611494/node_modules/@wirecat/cli-core/dist/entities/member.js
|
|
7540
7540
|
var member = strictObject({
|
|
7541
7541
|
id,
|
|
7542
7542
|
name: nullable(text),
|
|
@@ -7559,7 +7559,7 @@ var member = strictObject({
|
|
|
7559
7559
|
check: optional(record(string(), unknown()))
|
|
7560
7560
|
});
|
|
7561
7561
|
|
|
7562
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7562
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.593.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_a38dc1e51ab7f561f21ddbf6a1611494/node_modules/@wirecat/cli-core/dist/entities/chat.js
|
|
7563
7563
|
var setting = optional(nullable(boolean()));
|
|
7564
7564
|
var chat = strictObject({
|
|
7565
7565
|
ref: reference,
|
|
@@ -7600,7 +7600,7 @@ var chat = strictObject({
|
|
|
7600
7600
|
members: optional(array(member))
|
|
7601
7601
|
});
|
|
7602
7602
|
|
|
7603
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7603
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.593.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_a38dc1e51ab7f561f21ddbf6a1611494/node_modules/@wirecat/cli-core/dist/entities/folder.js
|
|
7604
7604
|
var named2 = strictObject({
|
|
7605
7605
|
id,
|
|
7606
7606
|
title: nullable(text),
|
|
@@ -7623,7 +7623,7 @@ var folder = strictObject({
|
|
|
7623
7623
|
excluded_chats: optional(array(named2))
|
|
7624
7624
|
});
|
|
7625
7625
|
|
|
7626
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7626
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.593.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_a38dc1e51ab7f561f21ddbf6a1611494/node_modules/@wirecat/cli-core/dist/entities/invite-link.js
|
|
7627
7627
|
var inviteLink = strictObject({
|
|
7628
7628
|
link: text,
|
|
7629
7629
|
/** Who joins by it asks first, and an admin lets them in. */
|
|
@@ -7639,7 +7639,7 @@ var inviteLink = strictObject({
|
|
|
7639
7639
|
joined_count: optional(count)
|
|
7640
7640
|
});
|
|
7641
7641
|
|
|
7642
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7642
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.593.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_a38dc1e51ab7f561f21ddbf6a1611494/node_modules/@wirecat/cli-core/dist/entities/chat-admin.js
|
|
7643
7643
|
var operated = { operation_id: id, chat_id: id };
|
|
7644
7644
|
var group = strictObject({
|
|
7645
7645
|
...omit(chat, ["ref", "provider", "account", "invite_link", "members"]).entries,
|
|
@@ -7719,7 +7719,7 @@ var chatFolderOrder = strictObject({
|
|
|
7719
7719
|
folders: array(strictObject({ id, title: text }))
|
|
7720
7720
|
});
|
|
7721
7721
|
|
|
7722
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7722
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.593.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_a38dc1e51ab7f561f21ddbf6a1611494/node_modules/@wirecat/cli-core/dist/entities/chat-change.js
|
|
7723
7723
|
var operated2 = { operation_id: id, chat_id: id };
|
|
7724
7724
|
var chatRemoval = strictObject(operated2);
|
|
7725
7725
|
var chatMuting = strictObject({
|
|
@@ -7730,7 +7730,7 @@ var chatArchive = strictObject({ ...operated2, archived: boolean() });
|
|
|
7730
7730
|
var chatPin = strictObject({ ...operated2, pinned: boolean() });
|
|
7731
7731
|
var chatUnread = strictObject({ ...operated2, unread: literal(true) });
|
|
7732
7732
|
|
|
7733
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7733
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.593.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_a38dc1e51ab7f561f21ddbf6a1611494/node_modules/@wirecat/cli-core/dist/entities/chat-event.js
|
|
7734
7734
|
var who = strictObject({ id: nullable(id), name: nullable(text), username: optional(nullable(text)) });
|
|
7735
7735
|
var chatEvent = strictObject({
|
|
7736
7736
|
chat_id: id,
|
|
@@ -7747,7 +7747,7 @@ var chatEvent = strictObject({
|
|
|
7747
7747
|
before: optional(strictObject({ name: nullable(text), username: nullable(text) }))
|
|
7748
7748
|
});
|
|
7749
7749
|
|
|
7750
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7750
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.593.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_a38dc1e51ab7f561f21ddbf6a1611494/node_modules/@wirecat/cli-core/dist/entities/chat-metadata.js
|
|
7751
7751
|
var chatMetadata = strictObject({
|
|
7752
7752
|
chat_id: id,
|
|
7753
7753
|
title: nullable(text),
|
|
@@ -7762,7 +7762,7 @@ var chatMetadataRefresh = strictObject({
|
|
|
7762
7762
|
has_more: boolean()
|
|
7763
7763
|
});
|
|
7764
7764
|
|
|
7765
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7765
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.593.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_a38dc1e51ab7f561f21ddbf6a1611494/node_modules/@wirecat/cli-core/dist/entities/chat-moderation.js
|
|
7766
7766
|
var action = picklist(["report", "delete", "remove"]);
|
|
7767
7767
|
var level = picklist(["deny", "readonly", "ask", "allow"]);
|
|
7768
7768
|
var chatRules = strictObject({
|
|
@@ -7799,7 +7799,7 @@ var chatModeration = strictObject({
|
|
|
7799
7799
|
}))
|
|
7800
7800
|
});
|
|
7801
7801
|
|
|
7802
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7802
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.593.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_a38dc1e51ab7f561f21ddbf6a1611494/node_modules/@wirecat/cli-core/dist/entities/chat-stats.js
|
|
7803
7803
|
var optionalCount = optional(count);
|
|
7804
7804
|
var minutes = nullable(number());
|
|
7805
7805
|
var chatStats = strictObject({
|
|
@@ -7873,7 +7873,7 @@ var taskStats = strictObject({
|
|
|
7873
7873
|
}))
|
|
7874
7874
|
});
|
|
7875
7875
|
|
|
7876
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7876
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.593.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_a38dc1e51ab7f561f21ddbf6a1611494/node_modules/@wirecat/cli-core/dist/entities/chat-tracking.js
|
|
7877
7877
|
var memberCount = strictObject({
|
|
7878
7878
|
day: pipe(text, isoDate()),
|
|
7879
7879
|
participants: nullable(count),
|
|
@@ -7896,7 +7896,7 @@ var chatTracking = strictObject({
|
|
|
7896
7896
|
tracked: boolean()
|
|
7897
7897
|
});
|
|
7898
7898
|
|
|
7899
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7899
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.593.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_a38dc1e51ab7f561f21ddbf6a1611494/node_modules/@wirecat/cli-core/dist/entities/contact-read.js
|
|
7900
7900
|
var contactLookup = strictObject({ id, name: nullable(text), username: nullable(text) });
|
|
7901
7901
|
var contactSync = strictObject({ added: count, changed: count, known: count });
|
|
7902
7902
|
var profileFields = {
|
|
@@ -7934,7 +7934,7 @@ var profileFields = {
|
|
|
7934
7934
|
}))
|
|
7935
7935
|
};
|
|
7936
7936
|
|
|
7937
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7937
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.593.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_a38dc1e51ab7f561f21ddbf6a1611494/node_modules/@wirecat/cli-core/dist/entities/contact.js
|
|
7938
7938
|
var contact = strictObject({
|
|
7939
7939
|
ref: reference,
|
|
7940
7940
|
id,
|
|
@@ -7965,7 +7965,7 @@ var contact = strictObject({
|
|
|
7965
7965
|
notes: optional(array(strictObject({ id, text, revision: count, created_at: time, updated_at: time })))
|
|
7966
7966
|
});
|
|
7967
7967
|
|
|
7968
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7968
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.593.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_a38dc1e51ab7f561f21ddbf6a1611494/node_modules/@wirecat/cli-core/dist/botcheck/reasons.js
|
|
7969
7969
|
var WEIGHTS = {
|
|
7970
7970
|
bot: 3,
|
|
7971
7971
|
scam: 3,
|
|
@@ -7990,7 +7990,7 @@ var LINK = /https?:\/\/|t\.me\/|www\./i;
|
|
|
7990
7990
|
var DIGITS = /\d{5,}/;
|
|
7991
7991
|
var oddName = /* @__PURE__ */ __name((name) => !name?.trim() || DIGITS.test(name) || LINK.test(name), "oddName");
|
|
7992
7992
|
|
|
7993
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7993
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.593.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_a38dc1e51ab7f561f21ddbf6a1611494/node_modules/@wirecat/cli-core/dist/entities/contact-activity.js
|
|
7994
7994
|
var linkedIdentity = strictObject({
|
|
7995
7995
|
provider: text,
|
|
7996
7996
|
id,
|
|
@@ -8031,7 +8031,7 @@ var contactCheck = strictObject({
|
|
|
8031
8031
|
checked_at: time
|
|
8032
8032
|
});
|
|
8033
8033
|
|
|
8034
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8034
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.593.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_a38dc1e51ab7f561f21ddbf6a1611494/node_modules/@wirecat/cli-core/dist/entities/message.js
|
|
8035
8035
|
var quoted = strictObject({
|
|
8036
8036
|
id,
|
|
8037
8037
|
sender_id: nullable(id),
|
|
@@ -8150,7 +8150,7 @@ var message = strictObject({
|
|
|
8150
8150
|
provider_metadata: providerMetadata
|
|
8151
8151
|
});
|
|
8152
8152
|
|
|
8153
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8153
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.593.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_a38dc1e51ab7f561f21ddbf6a1611494/node_modules/@wirecat/cli-core/dist/entities/contact-context.js
|
|
8154
8154
|
var contextPerson = strictObject({ ...linkedPerson.entries, provider: text, id });
|
|
8155
8155
|
var contextMessage = strictObject({
|
|
8156
8156
|
locator: reference,
|
|
@@ -8348,7 +8348,7 @@ var contactPreparation = strictObject({
|
|
|
8348
8348
|
})
|
|
8349
8349
|
});
|
|
8350
8350
|
|
|
8351
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8351
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.593.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_a38dc1e51ab7f561f21ddbf6a1611494/node_modules/@wirecat/cli-core/dist/entities/contact-note.js
|
|
8352
8352
|
var contactNote = strictObject({
|
|
8353
8353
|
id,
|
|
8354
8354
|
/** The contact, as a `contact:` reference. */
|
|
@@ -8360,13 +8360,13 @@ var contactNote = strictObject({
|
|
|
8360
8360
|
updated_at: time
|
|
8361
8361
|
});
|
|
8362
8362
|
|
|
8363
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8363
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.593.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_a38dc1e51ab7f561f21ddbf6a1611494/node_modules/@wirecat/cli-core/dist/entities/contact-write.js
|
|
8364
8364
|
var addressBookPerson = strictObject({ id, name: nullable(text), username: nullable(text) });
|
|
8365
8365
|
var contactUpdate = strictObject({ operation_id: id, person: addressBookPerson });
|
|
8366
8366
|
var contactStateChange = strictObject({ operation_id: id, person_id: id });
|
|
8367
8367
|
var contactImport = strictObject({ operation_id: id, sent: count, recognised: array(addressBookPerson) });
|
|
8368
8368
|
|
|
8369
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8369
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.593.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_a38dc1e51ab7f561f21ddbf6a1611494/node_modules/@wirecat/cli-core/dist/entities/conversation.js
|
|
8370
8370
|
var conversation = strictObject({
|
|
8371
8371
|
id,
|
|
8372
8372
|
chat: reference,
|
|
@@ -8381,7 +8381,7 @@ var conversation = strictObject({
|
|
|
8381
8381
|
rules_version: count
|
|
8382
8382
|
});
|
|
8383
8383
|
|
|
8384
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8384
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.593.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_a38dc1e51ab7f561f21ddbf6a1611494/node_modules/@wirecat/cli-core/dist/entities/conversation-preparation.js
|
|
8385
8385
|
var conversationBuild = strictObject({
|
|
8386
8386
|
chat: id,
|
|
8387
8387
|
messages: count,
|
|
@@ -8406,7 +8406,7 @@ var catchUpPreparation = strictObject({
|
|
|
8406
8406
|
prepared: optional(conversationPreparation)
|
|
8407
8407
|
});
|
|
8408
8408
|
|
|
8409
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8409
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.593.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_a38dc1e51ab7f561f21ddbf6a1611494/node_modules/@wirecat/cli-core/dist/entities/conversation-results.js
|
|
8410
8410
|
var conversationDetails = union([
|
|
8411
8411
|
strictObject({ ...conversation.entries, messages: array(message) }),
|
|
8412
8412
|
message
|
|
@@ -8496,7 +8496,7 @@ var conversationHit = strictObject({
|
|
|
8496
8496
|
stale: boolean()
|
|
8497
8497
|
});
|
|
8498
8498
|
|
|
8499
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8499
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.593.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_a38dc1e51ab7f561f21ddbf6a1611494/node_modules/@wirecat/cli-core/dist/entities/counters.js
|
|
8500
8500
|
var counters = strictObject({
|
|
8501
8501
|
cutoff: time,
|
|
8502
8502
|
max_age_ms: milliseconds,
|
|
@@ -8526,7 +8526,86 @@ var counterRefresh = strictObject({
|
|
|
8526
8526
|
complete: optional(boolean())
|
|
8527
8527
|
});
|
|
8528
8528
|
|
|
8529
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8529
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.593.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_a38dc1e51ab7f561f21ddbf6a1611494/node_modules/@wirecat/cli-core/dist/entities/deal.js
|
|
8530
|
+
var nullableText = nullable(text);
|
|
8531
|
+
var party = strictObject({ ref: reference, name: nullableText, owner: boolean() });
|
|
8532
|
+
var outcome = picklist(["open", "won", "lost"]);
|
|
8533
|
+
var crmAccount = nullable(strictObject({ provider: text, account: text }));
|
|
8534
|
+
var day2 = nullable(pipe(string(), regex(/^\d{4}-\d{2}-\d{2}$/)));
|
|
8535
|
+
var deal = strictObject({
|
|
8536
|
+
id,
|
|
8537
|
+
ref: reference,
|
|
8538
|
+
kind: picklist(["deal", "lead"]),
|
|
8539
|
+
title: text,
|
|
8540
|
+
/** One line with the stage, amount and status. */
|
|
8541
|
+
summary: text,
|
|
8542
|
+
pipeline: reference,
|
|
8543
|
+
pipeline_name: text,
|
|
8544
|
+
stage: text,
|
|
8545
|
+
status: outcome,
|
|
8546
|
+
organization: nullable(party),
|
|
8547
|
+
currency: nullableText,
|
|
8548
|
+
amount: nullableText,
|
|
8549
|
+
close_date: day2,
|
|
8550
|
+
closed_date: day2,
|
|
8551
|
+
closed_reason: nullableText,
|
|
8552
|
+
rank: nullable(number()),
|
|
8553
|
+
/** A lead's deal, once it became one. */
|
|
8554
|
+
deal: nullable(reference),
|
|
8555
|
+
/** The CRM account it is a copy from; `null` for the owner's own. */
|
|
8556
|
+
account: crmAccount,
|
|
8557
|
+
external_id: nullableText,
|
|
8558
|
+
people: array(strictObject({ ...party.entries, role: picklist(["owner", "contact", "decision-maker"]) })),
|
|
8559
|
+
author: strictObject({
|
|
8560
|
+
type: picklist(["person", "bot"]),
|
|
8561
|
+
id,
|
|
8562
|
+
name: nullableText,
|
|
8563
|
+
kind: nullable(picklist(["agent", "rule"]))
|
|
8564
|
+
}),
|
|
8565
|
+
model: nullableText,
|
|
8566
|
+
source: text,
|
|
8567
|
+
reason: nullableText,
|
|
8568
|
+
evidence: array(reference),
|
|
8569
|
+
project: nullable(reference),
|
|
8570
|
+
project_name: nullableText,
|
|
8571
|
+
created_at: time,
|
|
8572
|
+
updated_at: time,
|
|
8573
|
+
untrusted
|
|
8574
|
+
});
|
|
8575
|
+
var lead = deal;
|
|
8576
|
+
var pipelineStage = strictObject({
|
|
8577
|
+
name: text,
|
|
8578
|
+
position: count,
|
|
8579
|
+
outcome,
|
|
8580
|
+
external_id: nullableText,
|
|
8581
|
+
/** Open deals or leads in it now. */
|
|
8582
|
+
open: count,
|
|
8583
|
+
/** With a funnel: rows that got this far, and the share of them that reached the next stage. */
|
|
8584
|
+
reached: optional(count),
|
|
8585
|
+
conversion: optional(nullable(number()))
|
|
8586
|
+
});
|
|
8587
|
+
var pipeline = strictObject({
|
|
8588
|
+
id,
|
|
8589
|
+
ref: reference,
|
|
8590
|
+
name: text,
|
|
8591
|
+
kind: picklist(["deal", "lead"]),
|
|
8592
|
+
account: crmAccount,
|
|
8593
|
+
external_id: nullableText,
|
|
8594
|
+
stages: array(pipelineStage),
|
|
8595
|
+
created_at: time,
|
|
8596
|
+
totals: optional(strictObject({ items: count, open: count, won: count, lost: count, win_rate: nullable(number()) })),
|
|
8597
|
+
since: optional(day2),
|
|
8598
|
+
untrusted
|
|
8599
|
+
});
|
|
8600
|
+
var stage = strictObject({
|
|
8601
|
+
...pipelineStage.entries,
|
|
8602
|
+
pipeline: reference,
|
|
8603
|
+
pipeline_name: text,
|
|
8604
|
+
kind: picklist(["deal", "lead"]),
|
|
8605
|
+
untrusted
|
|
8606
|
+
});
|
|
8607
|
+
|
|
8608
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.593.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_a38dc1e51ab7f561f21ddbf6a1611494/node_modules/@wirecat/cli-core/dist/entities/document.js
|
|
8530
8609
|
var document = strictObject({
|
|
8531
8610
|
ref: reference,
|
|
8532
8611
|
id,
|
|
@@ -8541,7 +8620,7 @@ var document = strictObject({
|
|
|
8541
8620
|
owners: optional(array(text))
|
|
8542
8621
|
});
|
|
8543
8622
|
|
|
8544
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8623
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.593.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_a38dc1e51ab7f561f21ddbf6a1611494/node_modules/@wirecat/cli-core/dist/entities/document-link.js
|
|
8545
8624
|
var documentLink = strictObject({
|
|
8546
8625
|
ref: reference,
|
|
8547
8626
|
url: text,
|
|
@@ -8552,7 +8631,7 @@ var documentLink = strictObject({
|
|
|
8552
8631
|
sender: strictObject({ id: nullable(id), name: nullable(text) })
|
|
8553
8632
|
});
|
|
8554
8633
|
|
|
8555
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8634
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.593.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_a38dc1e51ab7f561f21ddbf6a1611494/node_modules/@wirecat/cli-core/dist/entities/evidence.js
|
|
8556
8635
|
var evidenceMessage = pick(message, ["ref", "chat_title", "timestamp", "sender_name", "text"]);
|
|
8557
8636
|
var contribution = strictObject({
|
|
8558
8637
|
message: evidenceMessage,
|
|
@@ -8582,7 +8661,7 @@ var retentionStay = strictObject({
|
|
|
8582
8661
|
});
|
|
8583
8662
|
var evidence = union([contribution, retentionStay]);
|
|
8584
8663
|
|
|
8585
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8664
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.593.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_a38dc1e51ab7f561f21ddbf6a1611494/node_modules/@wirecat/cli-core/dist/entities/fact.js
|
|
8586
8665
|
var fact = strictObject({
|
|
8587
8666
|
ref: reference,
|
|
8588
8667
|
id,
|
|
@@ -8612,7 +8691,7 @@ var fact = strictObject({
|
|
|
8612
8691
|
updated_at: time
|
|
8613
8692
|
});
|
|
8614
8693
|
|
|
8615
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8694
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.593.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_a38dc1e51ab7f561f21ddbf6a1611494/node_modules/@wirecat/cli-core/dist/entities/hit.js
|
|
8616
8695
|
var hit = strictObject({
|
|
8617
8696
|
kind: picklist(["message", "mail", "note", "document", "event", "meeting", "deal", "lead"]),
|
|
8618
8697
|
ref: reference,
|
|
@@ -8650,7 +8729,7 @@ var hit = strictObject({
|
|
|
8650
8729
|
untrusted
|
|
8651
8730
|
});
|
|
8652
8731
|
|
|
8653
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8732
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.593.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_a38dc1e51ab7f561f21ddbf6a1611494/node_modules/@wirecat/cli-core/dist/entities/identity.js
|
|
8654
8733
|
var identity = strictObject({
|
|
8655
8734
|
ref: reference,
|
|
8656
8735
|
provider: text,
|
|
@@ -8663,7 +8742,7 @@ var identity = strictObject({
|
|
|
8663
8742
|
person: optional(nullable(reference))
|
|
8664
8743
|
});
|
|
8665
8744
|
|
|
8666
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8745
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.593.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_a38dc1e51ab7f561f21ddbf6a1611494/node_modules/@wirecat/cli-core/dist/entities/image-embedding.js
|
|
8667
8746
|
var imageEmbedding = strictObject({
|
|
8668
8747
|
model: text,
|
|
8669
8748
|
embedded: count,
|
|
@@ -8672,13 +8751,13 @@ var imageEmbedding = strictObject({
|
|
|
8672
8751
|
more: boolean()
|
|
8673
8752
|
});
|
|
8674
8753
|
|
|
8675
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8754
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.593.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_a38dc1e51ab7f561f21ddbf6a1611494/node_modules/@wirecat/cli-core/dist/services/backfill-jobs.js
|
|
8676
8755
|
import { spawn } from "node:child_process";
|
|
8677
8756
|
import { randomBytes as randomBytes2 } from "node:crypto";
|
|
8678
8757
|
import { closeSync, existsSync as existsSync5, mkdirSync as mkdirSync3, openSync, readdirSync as readdirSync4, readFileSync as readFileSync5, realpathSync, rmSync as rmSync3 } from "node:fs";
|
|
8679
8758
|
import { dirname as dirname2, join as join5 } from "node:path";
|
|
8680
8759
|
|
|
8681
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8760
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.593.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_a38dc1e51ab7f561f21ddbf6a1611494/node_modules/@wirecat/cli-core/dist/background/checkpoints.js
|
|
8682
8761
|
var progressOf = /* @__PURE__ */ __name((input) => {
|
|
8683
8762
|
const total = input.total ?? null;
|
|
8684
8763
|
const updated = input.updatedAt ?? null;
|
|
@@ -8694,7 +8773,7 @@ var progressOf = /* @__PURE__ */ __name((input) => {
|
|
|
8694
8773
|
};
|
|
8695
8774
|
}, "progressOf");
|
|
8696
8775
|
|
|
8697
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8776
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.593.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_a38dc1e51ab7f561f21ddbf6a1611494/node_modules/@wirecat/cli-core/dist/runs/record-log.js
|
|
8698
8777
|
var recordLogFor = /* @__PURE__ */ __name((to, app, { traceId, command } = {}) => {
|
|
8699
8778
|
const run = currentRun();
|
|
8700
8779
|
const trace = traceId ?? run.traceId;
|
|
@@ -8708,7 +8787,7 @@ var recordLogFor = /* @__PURE__ */ __name((to, app, { traceId, command } = {}) =
|
|
|
8708
8787
|
}));
|
|
8709
8788
|
}, "recordLogFor");
|
|
8710
8789
|
|
|
8711
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8790
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.593.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_a38dc1e51ab7f561f21ddbf6a1611494/node_modules/@wirecat/cli-core/dist/services/backfill-jobs.js
|
|
8712
8791
|
var JOB_STATES = ["running", "done", "partial", "failed", "cancelled", "died"];
|
|
8713
8792
|
var spawnDetached = /* @__PURE__ */ __name((argv, env, log) => {
|
|
8714
8793
|
const out = openSync(log, "a", 384);
|
|
@@ -8758,11 +8837,11 @@ var finishJob = /* @__PURE__ */ __name((app, dir, id6, change) => {
|
|
|
8758
8837
|
const job2 = readJob(dir, id6);
|
|
8759
8838
|
if (!job2)
|
|
8760
8839
|
return;
|
|
8761
|
-
const
|
|
8840
|
+
const outcome4 = stateOf(job2);
|
|
8762
8841
|
recordLogFor(recordsPath(dir, id6), app, job2.traceId ? { traceId: job2.traceId } : {})[job2.error ? "error" : "info"]({
|
|
8763
8842
|
event: "job.exit",
|
|
8764
8843
|
job: id6,
|
|
8765
|
-
outcome:
|
|
8844
|
+
outcome: outcome4,
|
|
8766
8845
|
...job2.error ? { errorCode: job2.error.code } : {}
|
|
8767
8846
|
});
|
|
8768
8847
|
}, "finishJob");
|
|
@@ -8863,7 +8942,7 @@ var startArchiveJob = /* @__PURE__ */ __name((app, env, profile, input, spawnJob
|
|
|
8863
8942
|
return { job: id6, pid, chat: input.chat, log };
|
|
8864
8943
|
}, "startArchiveJob");
|
|
8865
8944
|
|
|
8866
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8945
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.593.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_a38dc1e51ab7f561f21ddbf6a1611494/node_modules/@wirecat/cli-core/dist/entities/job.js
|
|
8867
8946
|
var problem = strictObject({ code: text, message: text });
|
|
8868
8947
|
var job = strictObject({
|
|
8869
8948
|
id,
|
|
@@ -8886,7 +8965,7 @@ var job = strictObject({
|
|
|
8886
8965
|
error: optional(problem)
|
|
8887
8966
|
});
|
|
8888
8967
|
|
|
8889
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8968
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.593.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_a38dc1e51ab7f561f21ddbf6a1611494/node_modules/@wirecat/cli-core/dist/entities/join-request.js
|
|
8890
8969
|
var joinRequest = strictObject({
|
|
8891
8970
|
person_id: id,
|
|
8892
8971
|
name: nullable(text),
|
|
@@ -8897,7 +8976,7 @@ var joinRequest = strictObject({
|
|
|
8897
8976
|
about: optional(text)
|
|
8898
8977
|
});
|
|
8899
8978
|
|
|
8900
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8979
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.593.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_a38dc1e51ab7f561f21ddbf6a1611494/node_modules/@wirecat/cli-core/dist/entities/list-results.js
|
|
8901
8980
|
var botProfile = strictObject({
|
|
8902
8981
|
name: text,
|
|
8903
8982
|
token: text,
|
|
@@ -8928,6 +9007,10 @@ var scheduledJob = strictObject({
|
|
|
8928
9007
|
name: text,
|
|
8929
9008
|
kind: picklist(["command", "agent"]),
|
|
8930
9009
|
when: text,
|
|
9010
|
+
/** When a finished run shows a desktop notice: `always`, `failures` or `never`; the default is shown, not left out. */
|
|
9011
|
+
notify: optional(picklist(["always", "failures", "never"])),
|
|
9012
|
+
/** Where a run's result is sent after it: `telegram-bot:<profile>/<chat>` or `email:<profile>/<address>`. */
|
|
9013
|
+
to: optional(array(text)),
|
|
8931
9014
|
last: nullable(strictObject({
|
|
8932
9015
|
at: time,
|
|
8933
9016
|
exit_code: number(),
|
|
@@ -8939,7 +9022,19 @@ var scheduledJob = strictObject({
|
|
|
8939
9022
|
failures: optional(number()),
|
|
8940
9023
|
cost_usd: optional(number()),
|
|
8941
9024
|
/** The last time a run did not start, and why: the day's cost cap, or too little new mail. */
|
|
8942
|
-
skipped: optional(strictObject({
|
|
9025
|
+
skipped: optional(strictObject({
|
|
9026
|
+
at: time,
|
|
9027
|
+
why: text,
|
|
9028
|
+
/** A dotted id for `why`, so a client can translate it: `cost.day-cap`, `mail.none-new`, `mail.below-threshold`. */
|
|
9029
|
+
reason: optional(pipe(text, regex(/^[a-z][a-z0-9-]*(\.[a-z][a-z0-9-]*)+$/)))
|
|
9030
|
+
})),
|
|
9031
|
+
/** How the run's result went along each route; `reason` a dotted id, `error` the sending CLI's code and reason id. */
|
|
9032
|
+
deliveries: optional(array(strictObject({
|
|
9033
|
+
to: text,
|
|
9034
|
+
ok: boolean(),
|
|
9035
|
+
reason: optional(pipe(text, regex(/^[a-z][a-z0-9-]*(\.[a-z][a-z0-9-]*)+$/))),
|
|
9036
|
+
error: optional(text)
|
|
9037
|
+
})))
|
|
8943
9038
|
})),
|
|
8944
9039
|
/** Agent schedules: what today's runs cost, in US dollars. */
|
|
8945
9040
|
spent_today_usd: optional(number()),
|
|
@@ -8974,7 +9069,7 @@ var stickerInventory = strictObject({
|
|
|
8974
9069
|
url: optional(nullable(text))
|
|
8975
9070
|
});
|
|
8976
9071
|
|
|
8977
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9072
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.593.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_a38dc1e51ab7f561f21ddbf6a1611494/node_modules/@wirecat/cli-core/dist/entities/poll-vote.js
|
|
8978
9073
|
var pollVote = strictObject({
|
|
8979
9074
|
person_id: id,
|
|
8980
9075
|
name: nullable(text),
|
|
@@ -8984,7 +9079,7 @@ var pollVote = strictObject({
|
|
|
8984
9079
|
voted_at: time
|
|
8985
9080
|
});
|
|
8986
9081
|
|
|
8987
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9082
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.593.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_a38dc1e51ab7f561f21ddbf6a1611494/node_modules/@wirecat/cli-core/dist/entities/listener.js
|
|
8988
9083
|
var reactions = unwrap(unwrap(message.entries.reactions));
|
|
8989
9084
|
var observation = strictObject({
|
|
8990
9085
|
value: pipe(number(), minValue(0)),
|
|
@@ -9026,7 +9121,7 @@ var serveSummary = strictObject({
|
|
|
9026
9121
|
tasks: optional(strictObject({ added: count, closed: count, review: count }))
|
|
9027
9122
|
});
|
|
9028
9123
|
|
|
9029
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9124
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.593.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_a38dc1e51ab7f561f21ddbf6a1611494/node_modules/@wirecat/cli-core/dist/entities/mail-counts.js
|
|
9030
9125
|
var mailCounts = strictObject({
|
|
9031
9126
|
by: picklist(["day", "week", "sender"]),
|
|
9032
9127
|
received: count,
|
|
@@ -9041,7 +9136,7 @@ var mailCounts = strictObject({
|
|
|
9041
9136
|
}))
|
|
9042
9137
|
});
|
|
9043
9138
|
|
|
9044
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9139
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.593.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_a38dc1e51ab7f561f21ddbf6a1611494/node_modules/@wirecat/cli-core/dist/entities/mail-findings.js
|
|
9045
9140
|
var evidence2 = strictObject({ reference, fingerprint: text });
|
|
9046
9141
|
var base = { id, evidence: array(evidence2) };
|
|
9047
9142
|
var finding = variant("kind", [
|
|
@@ -9165,7 +9260,7 @@ var finding = variant("kind", [
|
|
|
9165
9260
|
reason: text
|
|
9166
9261
|
})
|
|
9167
9262
|
]);
|
|
9168
|
-
var
|
|
9263
|
+
var outcome2 = strictObject({
|
|
9169
9264
|
id,
|
|
9170
9265
|
fingerprint: text,
|
|
9171
9266
|
status: picklist(["accepted", "rejected"]),
|
|
@@ -9181,11 +9276,11 @@ var mailFindings = strictObject({
|
|
|
9181
9276
|
author,
|
|
9182
9277
|
decided_by: nullable(strictObject({ type: picklist(["person", "bot"]), id })),
|
|
9183
9278
|
decided_at: nullable(time),
|
|
9184
|
-
previous: array(
|
|
9185
|
-
receipt: nullable(strictObject({ preview_fingerprint: text, accepted: array(id), items: array(
|
|
9279
|
+
previous: array(outcome2),
|
|
9280
|
+
receipt: nullable(strictObject({ preview_fingerprint: text, accepted: array(id), items: array(outcome2) }))
|
|
9186
9281
|
});
|
|
9187
9282
|
|
|
9188
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9283
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.593.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_a38dc1e51ab7f561f21ddbf6a1611494/node_modules/@wirecat/cli-core/dist/entities/media-archive.js
|
|
9189
9284
|
var mediaArchive = strictObject({
|
|
9190
9285
|
directory: text,
|
|
9191
9286
|
chats: count,
|
|
@@ -9217,7 +9312,7 @@ var mediaArchiveTimer = union([
|
|
|
9217
9312
|
strictObject({ ...timer, action: picklist(["install", "start", "stop", "uninstall"]) })
|
|
9218
9313
|
]);
|
|
9219
9314
|
|
|
9220
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9315
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.593.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_a38dc1e51ab7f561f21ddbf6a1611494/node_modules/@wirecat/cli-core/dist/entities/meeting-preparation-parts.js
|
|
9221
9316
|
var preparationId = pipe(string(), minLength(1));
|
|
9222
9317
|
var preparationCount = pipe(number(), integer(), minValue(0));
|
|
9223
9318
|
var preparationTime = nullable(isoTime);
|
|
@@ -9309,7 +9404,7 @@ var preparationMeeting = strictObject({
|
|
|
9309
9404
|
updated_at: isoTime
|
|
9310
9405
|
});
|
|
9311
9406
|
|
|
9312
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9407
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.593.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_a38dc1e51ab7f561f21ddbf6a1611494/node_modules/@wirecat/cli-core/dist/entities/meeting-evidence.js
|
|
9313
9408
|
var meetingEvidence = preparationEvidence;
|
|
9314
9409
|
var meetingPersonContext = strictObject({
|
|
9315
9410
|
person: strictObject({ uid: string(), name: nullable(string()) }),
|
|
@@ -9331,7 +9426,7 @@ var meetingPersonContext = strictObject({
|
|
|
9331
9426
|
})
|
|
9332
9427
|
});
|
|
9333
9428
|
|
|
9334
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9429
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.593.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_a38dc1e51ab7f561f21ddbf6a1611494/node_modules/@wirecat/cli-core/dist/entities/meeting-findings.js
|
|
9335
9430
|
var evidence3 = strictObject({ reference, fingerprint: text });
|
|
9336
9431
|
var base2 = { id, project: reference, evidence: array(evidence3) };
|
|
9337
9432
|
var finding2 = variant("kind", [
|
|
@@ -9349,7 +9444,7 @@ var finding2 = variant("kind", [
|
|
|
9349
9444
|
assignee_evidence: optional(array(reference))
|
|
9350
9445
|
})
|
|
9351
9446
|
]);
|
|
9352
|
-
var
|
|
9447
|
+
var outcome3 = strictObject({
|
|
9353
9448
|
id,
|
|
9354
9449
|
fingerprint: text,
|
|
9355
9450
|
status: picklist(["accepted", "rejected"]),
|
|
@@ -9365,11 +9460,11 @@ var meetingFindings = strictObject({
|
|
|
9365
9460
|
author,
|
|
9366
9461
|
decided_by: nullable(strictObject({ type: picklist(["person", "bot"]), id })),
|
|
9367
9462
|
decided_at: nullable(time),
|
|
9368
|
-
previous: array(
|
|
9369
|
-
receipt: nullable(strictObject({ preview_fingerprint: text, accepted: array(id), items: array(
|
|
9463
|
+
previous: array(outcome3),
|
|
9464
|
+
receipt: nullable(strictObject({ preview_fingerprint: text, accepted: array(id), items: array(outcome3) }))
|
|
9370
9465
|
});
|
|
9371
9466
|
|
|
9372
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9467
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.593.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_a38dc1e51ab7f561f21ddbf6a1611494/node_modules/@wirecat/cli-core/dist/entities/meeting-communications.js
|
|
9373
9468
|
var communicationCoverage = strictObject({
|
|
9374
9469
|
read_usage: strictObject({ reads: preparationCount, charged_bytes: preparationCount, reserved_bytes: preparationCount, remaining_bytes: preparationCount }),
|
|
9375
9470
|
query: string(),
|
|
@@ -9414,7 +9509,7 @@ var preparationCommunications = strictObject({
|
|
|
9414
9509
|
}))
|
|
9415
9510
|
});
|
|
9416
9511
|
|
|
9417
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9512
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.593.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_a38dc1e51ab7f561f21ddbf6a1611494/node_modules/@wirecat/cli-core/dist/entities/meeting-preparation.js
|
|
9418
9513
|
var meetingPreparation = strictObject({
|
|
9419
9514
|
communications: optional(preparationCommunications),
|
|
9420
9515
|
schema_version: literal(1),
|
|
@@ -9527,7 +9622,7 @@ var meetingPreparation = strictObject({
|
|
|
9527
9622
|
})
|
|
9528
9623
|
});
|
|
9529
9624
|
|
|
9530
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9625
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.593.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_a38dc1e51ab7f561f21ddbf6a1611494/node_modules/@wirecat/cli-core/dist/entities/meeting-project-candidates.js
|
|
9531
9626
|
var count4 = pipe(number(), integer(), minValue(0));
|
|
9532
9627
|
var id3 = pipe(string(), minLength(1));
|
|
9533
9628
|
var text3 = string();
|
|
@@ -9591,7 +9686,7 @@ var meetingProjectCandidates = strictObject({
|
|
|
9591
9686
|
})
|
|
9592
9687
|
});
|
|
9593
9688
|
|
|
9594
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9689
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.593.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_a38dc1e51ab7f561f21ddbf6a1611494/node_modules/@wirecat/cli-core/dist/entities/meeting-series-inventory.js
|
|
9595
9690
|
var count5 = pipe(number(), integer(), minValue(0));
|
|
9596
9691
|
var id4 = pipe(string(), minLength(1), maxLength(1e3));
|
|
9597
9692
|
var meetingSeriesInventory = strictObject({
|
|
@@ -9621,7 +9716,7 @@ var meetingSeriesInventory = strictObject({
|
|
|
9621
9716
|
})
|
|
9622
9717
|
});
|
|
9623
9718
|
|
|
9624
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9719
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.593.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_a38dc1e51ab7f561f21ddbf6a1611494/node_modules/@wirecat/cli-core/dist/entities/meeting-task-proposal.js
|
|
9625
9720
|
var text4 = string();
|
|
9626
9721
|
var id5 = pipe(number(), integer(), minValue(1));
|
|
9627
9722
|
var revision = picklist(["current", "superseded"]);
|
|
@@ -9638,7 +9733,7 @@ var meetingTaskProposal = strictObject({
|
|
|
9638
9733
|
persistence: literal("proposal-only")
|
|
9639
9734
|
});
|
|
9640
9735
|
|
|
9641
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9736
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.593.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_a38dc1e51ab7f561f21ddbf6a1611494/node_modules/@wirecat/cli-core/dist/entities/memory.js
|
|
9642
9737
|
var memory = strictObject({
|
|
9643
9738
|
ref: reference,
|
|
9644
9739
|
id,
|
|
@@ -9665,7 +9760,7 @@ var memory = strictObject({
|
|
|
9665
9760
|
updated_at: time
|
|
9666
9761
|
});
|
|
9667
9762
|
|
|
9668
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9763
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.593.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_a38dc1e51ab7f561f21ddbf6a1611494/node_modules/@wirecat/cli-core/dist/entities/mention.js
|
|
9669
9764
|
var kind = picklist(["phone", "email", "url", "document", "person-name", "place"]);
|
|
9670
9765
|
var status = picklist(["found", "linked", "dismissed"]);
|
|
9671
9766
|
var mention = strictObject({
|
|
@@ -9708,13 +9803,13 @@ var mentionRebuild = strictObject({
|
|
|
9708
9803
|
mentions: count
|
|
9709
9804
|
});
|
|
9710
9805
|
|
|
9711
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9806
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.593.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_a38dc1e51ab7f561f21ddbf6a1611494/node_modules/@wirecat/cli-core/dist/entities/message-change.js
|
|
9712
9807
|
var operated3 = { operation_id: id, chat_id: id };
|
|
9713
9808
|
var messagePin = strictObject({ ...operated3, message_id: id, pinned: boolean() });
|
|
9714
9809
|
var messageStar = strictObject({ ...operated3, message_id: id, starred: boolean() });
|
|
9715
9810
|
var messageDeletion = strictObject({ ...operated3, deleted: array(id), for_everyone: boolean() });
|
|
9716
9811
|
|
|
9717
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9812
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.593.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_a38dc1e51ab7f561f21ddbf6a1611494/node_modules/@wirecat/cli-core/dist/entities/message-read.js
|
|
9718
9813
|
var messageTranscript = strictObject({
|
|
9719
9814
|
message_id: id,
|
|
9720
9815
|
text,
|
|
@@ -9772,7 +9867,7 @@ var evidencePacket = strictObject({
|
|
|
9772
9867
|
}))
|
|
9773
9868
|
});
|
|
9774
9869
|
|
|
9775
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9870
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.593.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_a38dc1e51ab7f561f21ddbf6a1611494/node_modules/@wirecat/cli-core/dist/entities/message-context.js
|
|
9776
9871
|
var messageThread = strictObject({
|
|
9777
9872
|
ref: reference,
|
|
9778
9873
|
chat: id,
|
|
@@ -9789,7 +9884,7 @@ var messageThread = strictObject({
|
|
|
9789
9884
|
});
|
|
9790
9885
|
var messageContext = union([message, messageThread]);
|
|
9791
9886
|
|
|
9792
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9887
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.593.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_a38dc1e51ab7f561f21ddbf6a1611494/node_modules/@wirecat/cli-core/dist/entities/message-counts.js
|
|
9793
9888
|
var messageCounts = strictObject({
|
|
9794
9889
|
by: picklist(["chat", "sender", "day", "hour"]),
|
|
9795
9890
|
total: count,
|
|
@@ -9802,7 +9897,7 @@ var messageCounts = strictObject({
|
|
|
9802
9897
|
}))
|
|
9803
9898
|
});
|
|
9804
9899
|
|
|
9805
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9900
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.593.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_a38dc1e51ab7f561f21ddbf6a1611494/node_modules/@wirecat/cli-core/dist/entities/message-link.js
|
|
9806
9901
|
var messageLink = strictObject({
|
|
9807
9902
|
ref: reference,
|
|
9808
9903
|
url: nullable(text),
|
|
@@ -9819,7 +9914,7 @@ var messageLink = strictObject({
|
|
|
9819
9914
|
})))
|
|
9820
9915
|
});
|
|
9821
9916
|
|
|
9822
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9917
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.593.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_a38dc1e51ab7f561f21ddbf6a1611494/node_modules/@wirecat/cli-core/dist/entities/message-transfer.js
|
|
9823
9918
|
var savedMessageFile = strictObject({
|
|
9824
9919
|
kind: text,
|
|
9825
9920
|
path: text,
|
|
@@ -9906,7 +10001,7 @@ var messageSyncAll = strictObject({
|
|
|
9906
10001
|
var messageSyncStarted = strictObject({ job: id, pid: count, chat: text, log: text });
|
|
9907
10002
|
var messageSync = union([messageSyncEstimate, messageSyncChat, messageSyncAll, messageSyncStarted]);
|
|
9908
10003
|
|
|
9909
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10004
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.593.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_a38dc1e51ab7f561f21ddbf6a1611494/node_modules/@wirecat/cli-core/dist/entities/message-write.js
|
|
9910
10005
|
var messageWrite = strictObject({
|
|
9911
10006
|
operation_id: id,
|
|
9912
10007
|
message,
|
|
@@ -9921,7 +10016,7 @@ var draftWrite = strictObject({
|
|
|
9921
10016
|
});
|
|
9922
10017
|
var messageSend = union([messageWrite, draftWrite]);
|
|
9923
10018
|
|
|
9924
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10019
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.593.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_a38dc1e51ab7f561f21ddbf6a1611494/node_modules/@wirecat/cli-core/dist/entities/model.js
|
|
9925
10020
|
var model2 = strictObject({
|
|
9926
10021
|
id,
|
|
9927
10022
|
kind: picklist(["audio", "text", "image", "reranker"]),
|
|
@@ -9938,7 +10033,7 @@ var model2 = strictObject({
|
|
|
9938
10033
|
path: text
|
|
9939
10034
|
});
|
|
9940
10035
|
|
|
9941
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10036
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.593.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_a38dc1e51ab7f561f21ddbf6a1611494/node_modules/@wirecat/cli-core/dist/entities/model-key.js
|
|
9942
10037
|
var source = picklist(["environment", "keyring", "file"]);
|
|
9943
10038
|
var modelKey = strictObject({
|
|
9944
10039
|
provider: text,
|
|
@@ -9948,7 +10043,7 @@ var modelKey = strictObject({
|
|
|
9948
10043
|
var storedModelKey = strictObject({ ...omit(modelKey, ["removed"]).entries, stored: source });
|
|
9949
10044
|
var removedModelKey = strictObject({ ...omit(modelKey, ["stored"]).entries, removed: array(source) });
|
|
9950
10045
|
|
|
9951
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10046
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.593.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_a38dc1e51ab7f561f21ddbf6a1611494/node_modules/@wirecat/cli-core/dist/entities/note.js
|
|
9952
10047
|
var link = {
|
|
9953
10048
|
target_text: nullable(text),
|
|
9954
10049
|
kind: text,
|
|
@@ -9989,7 +10084,7 @@ var note = strictObject({
|
|
|
9989
10084
|
backlinks: optional(array(strictObject({ from: reference, ...link })))
|
|
9990
10085
|
});
|
|
9991
10086
|
|
|
9992
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10087
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.593.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_a38dc1e51ab7f561f21ddbf6a1611494/node_modules/@wirecat/cli-core/dist/entities/official-stats.js
|
|
9993
10088
|
var versus = strictObject({ current: number(), previous: number() });
|
|
9994
10089
|
var person = { person_ref: reference, name: nullable(text) };
|
|
9995
10090
|
var graph = strictObject({
|
|
@@ -10023,14 +10118,14 @@ var officialStats = strictObject({
|
|
|
10023
10118
|
graphs: record(string(), union([graph, strictObject({ error: text })]))
|
|
10024
10119
|
});
|
|
10025
10120
|
|
|
10026
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10121
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.593.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_a38dc1e51ab7f561f21ddbf6a1611494/node_modules/@wirecat/cli-core/dist/entities/person.js
|
|
10027
10122
|
var person2 = strictObject({
|
|
10028
10123
|
ref: reference,
|
|
10029
10124
|
name: nullable(text),
|
|
10030
10125
|
identities: optional(array(identity))
|
|
10031
10126
|
});
|
|
10032
10127
|
|
|
10033
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10128
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.593.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_a38dc1e51ab7f561f21ddbf6a1611494/node_modules/@wirecat/cli-core/dist/entities/poll.js
|
|
10034
10129
|
var poll = strictObject({
|
|
10035
10130
|
chat_id: id,
|
|
10036
10131
|
message_id: id,
|
|
@@ -10046,11 +10141,11 @@ var poll = strictObject({
|
|
|
10046
10141
|
});
|
|
10047
10142
|
var pollChange = strictObject({ operation_id: id, poll });
|
|
10048
10143
|
|
|
10049
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10144
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.593.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_a38dc1e51ab7f561f21ddbf6a1611494/node_modules/@wirecat/cli-core/dist/entities/private-contact.js
|
|
10050
10145
|
var contactAlias = strictObject({ person_id: id, alias: nullable(text) });
|
|
10051
10146
|
var contactNoteRemoval = strictObject({ id, person_id: id, removed: boolean() });
|
|
10052
10147
|
|
|
10053
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10148
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.593.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_a38dc1e51ab7f561f21ddbf6a1611494/node_modules/@wirecat/cli-core/dist/entities/ranking.js
|
|
10054
10149
|
var figures = record(string(), number());
|
|
10055
10150
|
var freshness = picklist(["fresh", "stale", "partial", "unknown"]);
|
|
10056
10151
|
var rankingRow = strictObject({
|
|
@@ -10097,7 +10192,7 @@ var ranking = strictObject({
|
|
|
10097
10192
|
rows: array(rankingRow)
|
|
10098
10193
|
});
|
|
10099
10194
|
|
|
10100
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10195
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.593.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_a38dc1e51ab7f561f21ddbf6a1611494/node_modules/@wirecat/cli-core/dist/entities/reaction.js
|
|
10101
10196
|
var reaction = strictObject({
|
|
10102
10197
|
person: strictObject({ id, name: nullable(text), username: nullable(text) }),
|
|
10103
10198
|
/** The emoji, or `custom:<id>` for a custom one. */
|
|
@@ -10105,7 +10200,7 @@ var reaction = strictObject({
|
|
|
10105
10200
|
reacted_at: time
|
|
10106
10201
|
});
|
|
10107
10202
|
|
|
10108
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10203
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.593.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_a38dc1e51ab7f561f21ddbf6a1611494/node_modules/@wirecat/cli-core/dist/entities/reaction-change.js
|
|
10109
10204
|
var reactionChange = strictObject({
|
|
10110
10205
|
operation_id: id,
|
|
10111
10206
|
chat_id: id,
|
|
@@ -10113,7 +10208,7 @@ var reactionChange = strictObject({
|
|
|
10113
10208
|
reaction: nullable(text)
|
|
10114
10209
|
});
|
|
10115
10210
|
|
|
10116
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10211
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.593.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_a38dc1e51ab7f561f21ddbf6a1611494/node_modules/@wirecat/cli-core/dist/entities/recipient.js
|
|
10117
10212
|
var recipient = strictObject({ id, title: nullable(text), partner_id: optional(id), added_at: time });
|
|
10118
10213
|
var recipientAdded = strictObject({ id, title: nullable(text), added: boolean() });
|
|
10119
10214
|
var recipientRemoved = strictObject({ id, title: nullable(text), removed: boolean() });
|
|
@@ -10124,7 +10219,7 @@ var recipientChange = strictObject({
|
|
|
10124
10219
|
...partial(recipientOff).entries
|
|
10125
10220
|
});
|
|
10126
10221
|
|
|
10127
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10222
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.593.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_a38dc1e51ab7f561f21ddbf6a1611494/node_modules/@wirecat/cli-core/dist/entities/recorded-run.js
|
|
10128
10223
|
var events = array(record(string(), unknown()));
|
|
10129
10224
|
var recordedRun = strictObject({
|
|
10130
10225
|
run_id: id,
|
|
@@ -10196,7 +10291,7 @@ var runHit = strictObject({
|
|
|
10196
10291
|
});
|
|
10197
10292
|
var runLocation = strictObject({ path: text });
|
|
10198
10293
|
|
|
10199
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10294
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.593.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_a38dc1e51ab7f561f21ddbf6a1611494/node_modules/@wirecat/cli-core/dist/entities/relationship.js
|
|
10200
10295
|
var relationship = strictObject({
|
|
10201
10296
|
id,
|
|
10202
10297
|
from: reference,
|
|
@@ -10213,7 +10308,7 @@ var relationship = strictObject({
|
|
|
10213
10308
|
created_at: time
|
|
10214
10309
|
});
|
|
10215
10310
|
|
|
10216
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10311
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.593.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_a38dc1e51ab7f561f21ddbf6a1611494/node_modules/@wirecat/cli-core/dist/entities/reply-stats.js
|
|
10217
10312
|
var milliseconds2 = nullable(pipe(number(), minValue(0)));
|
|
10218
10313
|
var figures2 = { replies: count, median_ms: milliseconds2, p90_ms: milliseconds2, mean_ms: milliseconds2 };
|
|
10219
10314
|
var responseTimes = strictObject({
|
|
@@ -10230,7 +10325,7 @@ var waitingChats = strictObject({
|
|
|
10230
10325
|
by_kind: strictObject({ private: count, group: count })
|
|
10231
10326
|
});
|
|
10232
10327
|
|
|
10233
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10328
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.593.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_a38dc1e51ab7f561f21ddbf6a1611494/node_modules/@wirecat/cli-core/dist/entities/retention.js
|
|
10234
10329
|
var retentionCohort = strictObject({
|
|
10235
10330
|
/** The first day of the joining day or week. */
|
|
10236
10331
|
cohort: text,
|
|
@@ -10278,7 +10373,7 @@ var retention = strictObject({
|
|
|
10278
10373
|
rows: array(retentionCohort)
|
|
10279
10374
|
});
|
|
10280
10375
|
|
|
10281
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10376
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.593.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_a38dc1e51ab7f561f21ddbf6a1611494/node_modules/@wirecat/cli-core/dist/entities/saved-search.js
|
|
10282
10377
|
var savedSearch = strictObject({
|
|
10283
10378
|
id,
|
|
10284
10379
|
/** `null` for a run in the history. */
|
|
@@ -10295,7 +10390,7 @@ var savedSearch = strictObject({
|
|
|
10295
10390
|
});
|
|
10296
10391
|
var searchHistoryClear = strictObject({ cleared: count });
|
|
10297
10392
|
|
|
10298
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10393
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.593.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_a38dc1e51ab7f561f21ddbf6a1611494/node_modules/@wirecat/cli-core/dist/entities/send-attempt.js
|
|
10299
10394
|
var sendAttempt = strictObject({
|
|
10300
10395
|
at: time,
|
|
10301
10396
|
profile: text,
|
|
@@ -10323,7 +10418,7 @@ var sendAttempt = strictObject({
|
|
|
10323
10418
|
error_code: optional(text)
|
|
10324
10419
|
});
|
|
10325
10420
|
|
|
10326
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10421
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.593.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_a38dc1e51ab7f561f21ddbf6a1611494/node_modules/@wirecat/cli-core/dist/entities/store-maintenance.js
|
|
10327
10422
|
var absent = strictObject({ path: text, exists: literal(false) });
|
|
10328
10423
|
var schema = strictObject({ version: count, min_compatible: count, writable: boolean(), speaks: count });
|
|
10329
10424
|
var infoSchema = strictObject({
|
|
@@ -10531,7 +10626,7 @@ var storeRepair = union([
|
|
|
10531
10626
|
]);
|
|
10532
10627
|
var storeCopyRemoval = strictObject({ path: text, deleted: strictObject({ name: text, rows: count }) });
|
|
10533
10628
|
|
|
10534
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10629
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.593.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_a38dc1e51ab7f561f21ddbf6a1611494/node_modules/@wirecat/cli-core/dist/entities/store-records.js
|
|
10535
10630
|
var range = strictObject({ from: number(), to: number() });
|
|
10536
10631
|
var storeChatStatus = strictObject({
|
|
10537
10632
|
chat_id: id,
|
|
@@ -10629,7 +10724,7 @@ var storeJobRetry = union([
|
|
|
10629
10724
|
]);
|
|
10630
10725
|
var storeJobClear = strictObject({ cleared: array(id) });
|
|
10631
10726
|
|
|
10632
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10727
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.593.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_a38dc1e51ab7f561f21ddbf6a1611494/node_modules/@wirecat/cli-core/dist/entities/store-table.js
|
|
10633
10728
|
var TABLE_KINDS = ["data", "search_index", "search_index_part", "internal"];
|
|
10634
10729
|
var storeTable = strictObject({
|
|
10635
10730
|
name: text,
|
|
@@ -10638,7 +10733,7 @@ var storeTable = strictObject({
|
|
|
10638
10733
|
bytes: optional(nullable(count))
|
|
10639
10734
|
});
|
|
10640
10735
|
|
|
10641
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10736
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.593.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_a38dc1e51ab7f561f21ddbf6a1611494/node_modules/@wirecat/cli-core/dist/entities/tag-change.js
|
|
10642
10737
|
var tagTarget = variant("type", [
|
|
10643
10738
|
strictObject({ type: literal("chat"), chat_id: id }),
|
|
10644
10739
|
strictObject({ type: literal("contact"), person_id: id }),
|
|
@@ -10669,7 +10764,7 @@ var automaticTags = strictObject({
|
|
|
10669
10764
|
dry_run: boolean()
|
|
10670
10765
|
});
|
|
10671
10766
|
|
|
10672
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10767
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.593.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_a38dc1e51ab7f561f21ddbf6a1611494/node_modules/@wirecat/cli-core/dist/entities/tagging.js
|
|
10673
10768
|
var tagging = strictObject({
|
|
10674
10769
|
tag: text,
|
|
10675
10770
|
type: picklist(TAG_TYPES),
|
|
@@ -10682,7 +10777,7 @@ var tagging = strictObject({
|
|
|
10682
10777
|
created_at: time
|
|
10683
10778
|
});
|
|
10684
10779
|
|
|
10685
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10780
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.593.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_a38dc1e51ab7f561f21ddbf6a1611494/node_modules/@wirecat/cli-core/dist/entities/task-pair.js
|
|
10686
10781
|
var side = strictObject({ ref: reference, key: text, title: text, status: text });
|
|
10687
10782
|
var taskPair = strictObject({
|
|
10688
10783
|
task: nullable(side),
|
|
@@ -10705,7 +10800,7 @@ var taskPair = strictObject({
|
|
|
10705
10800
|
created_at: time
|
|
10706
10801
|
});
|
|
10707
10802
|
|
|
10708
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10803
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.593.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_a38dc1e51ab7f561f21ddbf6a1611494/node_modules/@wirecat/cli-core/dist/entities/task-results.js
|
|
10709
10804
|
var nullableTime = nullable(time);
|
|
10710
10805
|
var link2 = strictObject({
|
|
10711
10806
|
id,
|
|
@@ -10879,7 +10974,7 @@ var taskReview = strictObject({
|
|
|
10879
10974
|
untrusted
|
|
10880
10975
|
});
|
|
10881
10976
|
|
|
10882
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10977
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.593.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_a38dc1e51ab7f561f21ddbf6a1611494/node_modules/@wirecat/cli-core/dist/entities/topic.js
|
|
10883
10978
|
var topic = strictObject({
|
|
10884
10979
|
id,
|
|
10885
10980
|
title: text,
|
|
@@ -10893,9 +10988,13 @@ var topic = strictObject({
|
|
|
10893
10988
|
untrusted
|
|
10894
10989
|
});
|
|
10895
10990
|
|
|
10896
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10991
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.593.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_a38dc1e51ab7f561f21ddbf6a1611494/node_modules/@wirecat/cli-core/dist/entities/index.js
|
|
10897
10992
|
var ENTITIES = {
|
|
10898
10993
|
sync_progress: progress,
|
|
10994
|
+
deal,
|
|
10995
|
+
lead,
|
|
10996
|
+
pipeline,
|
|
10997
|
+
stage,
|
|
10899
10998
|
...MEETING_RESULT_ENTITIES,
|
|
10900
10999
|
message,
|
|
10901
11000
|
message_context: messageContext,
|
|
@@ -11175,7 +11274,7 @@ var entityDefinitions = /* @__PURE__ */ __name(() => Object.fromEntries(Object.e
|
|
|
11175
11274
|
return [name, definition];
|
|
11176
11275
|
})), "entityDefinitions");
|
|
11177
11276
|
|
|
11178
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11277
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.593.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_a38dc1e51ab7f561f21ddbf6a1611494/node_modules/@wirecat/cli-core/dist/cli/answer-entity.js
|
|
11179
11278
|
var schemas = /* @__PURE__ */ new WeakMap();
|
|
11180
11279
|
var answerEntity = /* @__PURE__ */ __name((command, name, schema2, options = {}) => {
|
|
11181
11280
|
if (Object.hasOwn(ENTITIES, name))
|
|
@@ -11209,7 +11308,7 @@ var answerRow = /* @__PURE__ */ __name((command) => {
|
|
|
11209
11308
|
return own && metaOf(command).output?.entity === own.name ? own.row : void 0;
|
|
11210
11309
|
}, "answerRow");
|
|
11211
11310
|
|
|
11212
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11311
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.593.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_a38dc1e51ab7f561f21ddbf6a1611494/node_modules/@wirecat/cli-core/dist/images/picture/models.js
|
|
11213
11312
|
import { join as join6 } from "node:path";
|
|
11214
11313
|
var clip = /* @__PURE__ */ __name((name) => `https://huggingface.co/Xenova/clip-vit-base-patch32/resolve/d15189d7028b43f1d3e65039190477f6af591c2a/${name}`, "clip");
|
|
11215
11314
|
var IMAGE_MODELS = [
|
|
@@ -11263,7 +11362,7 @@ var imageModelsDirectory = /* @__PURE__ */ __name((env = process.env) => sharedM
|
|
|
11263
11362
|
var placedImage = /* @__PURE__ */ __name((model3, directory) => model3.files.map((file) => [file, join6(directory, model3.id, file.name)]), "placedImage");
|
|
11264
11363
|
var isImageModelInstalled = /* @__PURE__ */ __name((model3, directory) => filesPresent(placedImage(model3, directory)), "isImageModelInstalled");
|
|
11265
11364
|
|
|
11266
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11365
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.593.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_a38dc1e51ab7f561f21ddbf6a1611494/node_modules/@wirecat/cli-core/dist/cli/steps.js
|
|
11267
11366
|
var STEPS2 = defineSteps([
|
|
11268
11367
|
...STEPS,
|
|
11269
11368
|
{
|
|
@@ -11535,7 +11634,7 @@ var stepLine = /* @__PURE__ */ __name((root, step2) => {
|
|
|
11535
11634
|
].join(" ");
|
|
11536
11635
|
}, "stepLine");
|
|
11537
11636
|
|
|
11538
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11637
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.593.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_a38dc1e51ab7f561f21ddbf6a1611494/node_modules/@wirecat/cli-core/dist/cli/project-status-rows.js
|
|
11539
11638
|
var where = [{ field: "ref" }];
|
|
11540
11639
|
var who2 = { field: ["who.owner", "who.name"], tag: "you" };
|
|
11541
11640
|
var ON_CHAT_ROW = /* @__PURE__ */ new Set(["reply-next", "coverage"]);
|
|
@@ -11627,7 +11726,7 @@ var STATUS_ROWS = {
|
|
|
11627
11726
|
"status.failed": { columns: [{ field: "signal" }], text: ["why"] }
|
|
11628
11727
|
};
|
|
11629
11728
|
|
|
11630
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11729
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.593.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_a38dc1e51ab7f561f21ddbf6a1611494/node_modules/@wirecat/cli-core/dist/cli/compact.js
|
|
11631
11730
|
var TEXT_CHARS = 400;
|
|
11632
11731
|
var sender = { field: ["sender_is_me", "sender_name"], tag: "me" };
|
|
11633
11732
|
var messageRow = {
|
|
@@ -11812,8 +11911,8 @@ var cellOf = /* @__PURE__ */ __name((item, column, clock) => {
|
|
|
11812
11911
|
const parts = clock.parts(iso);
|
|
11813
11912
|
if (!parts)
|
|
11814
11913
|
return { text: clean(iso) };
|
|
11815
|
-
const
|
|
11816
|
-
return column.as === "day" ? { text:
|
|
11914
|
+
const day3 = parts.date.slice(5);
|
|
11915
|
+
return column.as === "day" ? { text: day3, date: parts.date } : { text: `${day3} ${parts.time}`, date: parts.date, time: parts.time };
|
|
11817
11916
|
}
|
|
11818
11917
|
case "count":
|
|
11819
11918
|
return typeof value === "number" && value !== 0 ? { text: column.tag ? `${value} ${column.tag}` : String(value) } : void 0;
|
|
@@ -11993,7 +12092,7 @@ var compactText = /* @__PURE__ */ __name((body, shape, options, rowsOf = rowsOfE
|
|
|
11993
12092
|
return lines.concat(footerOf(body)).join("\n");
|
|
11994
12093
|
}, "compactText");
|
|
11995
12094
|
|
|
11996
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
12095
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.593.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_a38dc1e51ab7f561f21ddbf6a1611494/node_modules/@wirecat/cli-core/dist/cli/output-budget.js
|
|
11997
12096
|
var SOFT_OUTPUT_BYTES = 256 * 1024;
|
|
11998
12097
|
var CARRIED = ["json", "compact", "offline", "timeout", "full", "brief", "maxOutputBytes"];
|
|
11999
12098
|
var NOT_WITH_COMPACT = /* @__PURE__ */ new Set(["json", "brief"]);
|
|
@@ -12040,7 +12139,7 @@ var largeAnswerSteps = /* @__PURE__ */ __name((command) => {
|
|
|
12040
12139
|
return args ? compactStep(command, args, "the answer is large as JSON; one line per item keeps every ref") : [];
|
|
12041
12140
|
}, "largeAnswerSteps");
|
|
12042
12141
|
|
|
12043
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
12142
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.593.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_a38dc1e51ab7f561f21ddbf6a1611494/node_modules/@wirecat/cli-core/dist/cli/provider-refs.js
|
|
12044
12143
|
var HIDDEN = /* @__PURE__ */ new Set(["providerRef", "provider_ref"]);
|
|
12045
12144
|
var withoutProviderRefs = /* @__PURE__ */ __name((value) => strip(value), "withoutProviderRefs");
|
|
12046
12145
|
var strip = /* @__PURE__ */ __name((value) => {
|
|
@@ -12054,7 +12153,7 @@ var strip = /* @__PURE__ */ __name((value) => {
|
|
|
12054
12153
|
return Object.fromEntries(Object.entries(value).flatMap(([key, inner]) => HIDDEN.has(key) ? [] : [[key, strip(inner)]]));
|
|
12055
12154
|
}, "strip");
|
|
12056
12155
|
|
|
12057
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
12156
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.593.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_a38dc1e51ab7f561f21ddbf6a1611494/node_modules/@wirecat/cli-core/dist/cli/envelope.js
|
|
12058
12157
|
var answerSchema = /* @__PURE__ */ __name((item = unknown()) => union([listEnvelopeSchema(item), itemEnvelopeSchema(item)]), "answerSchema");
|
|
12059
12158
|
var capped2 = /* @__PURE__ */ __name((steps) => steps.length > 0 ? { next: steps.slice(0, MAX_NEXT_STEPS) } : {}, "capped");
|
|
12060
12159
|
var listOf = /* @__PURE__ */ __name((command, input) => {
|