@wirecat/cli-memo 0.131.33 → 0.131.35
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-I67AQBML.js → all-profiles-6666YYUZ.js} +9 -9
- package/dist/bundle/{anthropic-TAN7BXEI.js → anthropic-23OB7KWO.js} +6 -6
- package/dist/bundle/{app-server-BB6D3T5A.js → app-server-2S5OS3OH.js} +42 -42
- package/dist/bundle/auto-XDBIEURD.js +86 -0
- package/dist/bundle/{bun-UQEFISW2.js → bun-BNVO37ZD.js} +2 -2
- package/dist/bundle/{bun-sqlite-2QF3TO47.js → bun-sqlite-USZ27VKM.js} +5 -5
- package/dist/bundle/{chunk-5M4CW3PM.js → chunk-26PVWAKE.js} +374 -323
- package/dist/bundle/{chunk-KJBKP66D.js → chunk-2DTUMEN2.js} +4 -4
- package/dist/bundle/{chunk-7OSMWDV3.js → chunk-2PFOLWD3.js} +3 -3
- package/dist/bundle/{chunk-TZ7WDQPD.js → chunk-2R2Z2VWL.js} +20 -20
- package/dist/bundle/{chunk-EN3D3M3X.js → chunk-2Y4UU4DB.js} +3 -3
- package/dist/bundle/{chunk-NAKJLG6G.js → chunk-3ZZ5OCUO.js} +6 -6
- package/dist/bundle/{chunk-ABORNS53.js → chunk-4OR4HFSL.js} +8 -8
- package/dist/bundle/{chunk-HU2UNNN5.js → chunk-6D47X4KD.js} +1 -1
- package/dist/bundle/{chunk-LUX5CPKS.js → chunk-6H6EXCZY.js} +1 -1
- package/dist/bundle/{chunk-P7AWDFQW.js → chunk-736NNFPY.js} +1 -1
- package/dist/bundle/{chunk-OGOMIZVL.js → chunk-AYIUZUGD.js} +1 -1
- package/dist/bundle/{chunk-3DDGDOTM.js → chunk-BHDNHN55.js} +8 -8
- package/dist/bundle/{chunk-N75EWKKC.js → chunk-BU4LJSW2.js} +1 -1
- package/dist/bundle/{chunk-5DEHFWR4.js → chunk-C2XCIZND.js} +2 -2
- package/dist/bundle/{chunk-KV4267S4.js → chunk-CID4MNRQ.js} +1 -1
- package/dist/bundle/{chunk-AP3AG2BB.js → chunk-CLHGYKYZ.js} +5 -5
- package/dist/bundle/{chunk-RRLIMG4U.js → chunk-CMMKWXFG.js} +35 -35
- package/dist/bundle/{chunk-LDEPGWLS.js → chunk-DCBBLYCI.js} +29 -29
- package/dist/bundle/{chunk-JCFO4LQL.js → chunk-DMU5PAKY.js} +1 -1
- package/dist/bundle/{chunk-BFLYYQZ7.js → chunk-DMUIMBCE.js} +4 -4
- package/dist/bundle/{chunk-MI6OKBKQ.js → chunk-DQ66H456.js} +4 -4
- package/dist/bundle/{chunk-X5WJDJ7B.js → chunk-DYMUJFDK.js} +14 -14
- package/dist/bundle/{chunk-6MDFXQ3P.js → chunk-EIYLAELT.js} +343 -312
- package/dist/bundle/{chunk-SN3VTCKM.js → chunk-FXG3SUIQ.js} +13 -13
- package/dist/bundle/{chunk-3TEBUFO4.js → chunk-FYT6A3UY.js} +1 -1
- package/dist/bundle/{chunk-QMK5MB3I.js → chunk-GAWGZN4F.js} +3 -3
- package/dist/bundle/{chunk-LJZAVL4S.js → chunk-GLFFCRRX.js} +2 -2
- package/dist/bundle/{chunk-5JAYP233.js → chunk-GNLCVNP7.js} +9 -9
- package/dist/bundle/{chunk-SLY3522P.js → chunk-I55VXEI2.js} +4 -4
- package/dist/bundle/{chunk-536BN5HJ.js → chunk-ICBWD2OL.js} +1 -1
- package/dist/bundle/{chunk-FQ23ENBP.js → chunk-IKDHJLSH.js} +277 -277
- package/dist/bundle/{chunk-JOUN3RQQ.js → chunk-JIWQNA2J.js} +168 -184
- package/dist/bundle/{chunk-I7PL5WX2.js → chunk-JY34MQW4.js} +4 -4
- package/dist/bundle/{chunk-GUCICZ5E.js → chunk-L3SMTWCF.js} +7 -7
- package/dist/bundle/{chunk-WSSMVWI6.js → chunk-L7AB7Y4Z.js} +46 -46
- package/dist/bundle/{chunk-YGKZOBRU.js → chunk-LBDMVVVW.js} +12 -12
- package/dist/bundle/{chunk-YPF6OS37.js → chunk-LER7G4XY.js} +1 -1
- package/dist/bundle/{chunk-PI5XHH3B.js → chunk-LQHW4G6G.js} +6 -6
- package/dist/bundle/{chunk-DUQGOBGY.js → chunk-ME5RGIHV.js} +11 -11
- package/dist/bundle/{chunk-3CVPUL6V.js → chunk-MMRM6ZMM.js} +2 -2
- package/dist/bundle/{chunk-S6HHL43A.js → chunk-MNKCFCI7.js} +2 -2
- package/dist/bundle/{chunk-BUYST3RY.js → chunk-N2Y6FTPK.js} +2 -2
- package/dist/bundle/{chunk-2Y2UWMJX.js → chunk-NYELWBUA.js} +6 -6
- package/dist/bundle/{chunk-YBSILL43.js → chunk-OCIE3POS.js} +6 -6
- package/dist/bundle/{chunk-BT6ZZUXC.js → chunk-PYQU4GLK.js} +64 -64
- package/dist/bundle/{chunk-FZXOHGOA.js → chunk-RUZOQ7QN.js} +4 -4
- package/dist/bundle/{chunk-EB2IULWB.js → chunk-RZ54DSVU.js} +2 -2
- package/dist/bundle/{chunk-4BDZUM4Z.js → chunk-SKBMXSQ3.js} +2 -2
- package/dist/bundle/{chunk-L5XW7SRP.js → chunk-SKVRUW57.js} +2 -2
- package/dist/bundle/{chunk-NOBWIWEE.js → chunk-SMJAJWYW.js} +3 -3
- package/dist/bundle/{chunk-G2BB5WY5.js → chunk-SN63VOE6.js} +8 -8
- package/dist/bundle/{chunk-2S5YZCD4.js → chunk-SRHG24V7.js} +4 -4
- package/dist/bundle/{chunk-AFCZMG3T.js → chunk-T3AUEF46.js} +22 -22
- package/dist/bundle/{chunk-PVKETTTH.js → chunk-URQ7ZL5K.js} +10 -10
- package/dist/bundle/{chunk-MZMKZ3FS.js → chunk-V5N65VRU.js} +9 -9
- package/dist/bundle/{chunk-MF2IXW4D.js → chunk-VJSWU4JX.js} +3 -3
- package/dist/bundle/{chunk-BSPNSDJR.js → chunk-VMXESPNG.js} +7 -7
- package/dist/bundle/{chunk-R37MXUSP.js → chunk-VYYPW7YP.js} +31 -23
- package/dist/bundle/{chunk-IT5OORGL.js → chunk-WIK6SGHZ.js} +2 -2
- package/dist/bundle/{chunk-UMWPJXNA.js → chunk-WRUD4OYQ.js} +5 -5
- package/dist/bundle/{chunk-KTGIARY4.js → chunk-XLKJSFQN.js} +2 -2
- package/dist/bundle/{chunk-62H5HS77.js → chunk-XZPE2E3O.js} +8 -8
- package/dist/bundle/{chunk-XBIPSSKI.js → chunk-Y5CAKD4X.js} +4 -4
- package/dist/bundle/{chunk-KBSN3KOJ.js → chunk-YGW3JZVB.js} +22 -22
- package/dist/bundle/command-contract-TBZCPYWZ.js +32 -0
- package/dist/bundle/{decode-AC2QFP22.js → decode-RMAOEVTY.js} +5 -5
- package/dist/bundle/{dispatch-CU5KGRQL.js → dispatch-MLRETSNQ.js} +8 -8
- package/dist/bundle/{echarts-2LGYCSJM.js → echarts-R2MI4OEU.js} +2 -2
- package/dist/bundle/{embed-5G5NJRTM.js → embed-BG2XPLWM.js} +6 -6
- package/dist/bundle/{embedder-AWGIIEIK.js → embedder-65SA34CZ.js} +9 -9
- package/dist/bundle/{entry-J2G7NST5.js → entry-DX3D4TWF.js} +7 -7
- package/dist/bundle/failure-76A5ZD6Y.js +66 -0
- package/dist/bundle/{failure-TUXXI6JT.js → failure-UJBGB2GP.js} +2 -2
- package/dist/bundle/{first-run-CIE4REGV.js → first-run-ZUQRYWEZ.js} +11 -11
- package/dist/bundle/first-screen-O5X3OT77.js +30 -0
- package/dist/bundle/{instructions-5236MVDG.js → instructions-ZDWGTLMU.js} +1 -1
- package/dist/bundle/mcp-B5CUHAKS.js +90 -0
- package/dist/bundle/{mcp-PPVOM4SE.js → mcp-YMXA6IH6.js} +2 -2
- package/dist/bundle/memo.js +16 -16
- package/dist/bundle/{node-7746MVI2.js → node-43BSSPFC.js} +2 -2
- package/dist/bundle/{node-sqlite-2JD5RF5A.js → node-sqlite-RPWFR6H3.js} +6 -6
- package/dist/bundle/{oauth-BUMW77DB.js → oauth-AYAADVSS.js} +7 -7
- package/dist/bundle/{open-CXUGW7QC.js → open-XEZ5CPLR.js} +5 -5
- package/dist/bundle/{openai-ORFEPFYD.js → openai-SQS7OBEI.js} +10 -10
- package/dist/bundle/{process-JXXYNYHP.js → process-HJWMNCUC.js} +1 -1
- package/dist/bundle/{program-4RYVZYD2.js → program-RQO3ZNVL.js} +89 -86
- package/dist/bundle/{prompt-EHLY4L77.js → prompt-STQZGLH7.js} +5 -5
- package/dist/bundle/{recognize-ES7MH57V.js → recognize-HJ6G4OWB.js} +4 -4
- package/dist/bundle/{remote-EZ76X2VI.js → remote-HDTQYFBP.js} +7 -7
- package/dist/bundle/{rerank-CDIZ6AA6.js → rerank-GBKN7RN4.js} +7 -7
- package/dist/bundle/{serve-YRSGBTJY.js → serve-KPTYHWUY.js} +9 -9
- package/dist/bundle/{server-MW5247KA.js → server-ASCI46TB.js} +57 -57
- package/dist/bundle/server-DJVWUOO7.js +61 -0
- package/dist/bundle/server-TEOK5SHM.js +48 -0
- package/dist/bundle/{state-S6A5VAWR.js → state-22MNHAQY.js} +6 -6
- package/dist/bundle/{store-O5CDNS3U.js → store-R7QBCWWM.js} +13 -13
- package/dist/bundle/store-maintenance-command-BZXFY2NT.js +48 -0
- package/dist/bundle/update-I5HTAMBY.js +69 -0
- package/dist/examples.d.ts.map +1 -1
- package/dist/examples.js +5 -1
- package/dist/examples.js.map +1 -1
- package/dist/knowledge/command.d.ts.map +1 -1
- package/dist/knowledge/command.js +23 -8
- package/dist/knowledge/command.js.map +1 -1
- package/dist/knowledge/project-status-command.d.ts.map +1 -1
- package/dist/knowledge/project-status-command.js +12 -19
- package/dist/knowledge/project-status-command.js.map +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +3 -3
- package/dist/bundle/auto-6555QOPH.js +0 -86
- package/dist/bundle/command-contract-LRGVHRDS.js +0 -32
- package/dist/bundle/failure-7SDDOWOC.js +0 -66
- package/dist/bundle/first-screen-PLNL6V5J.js +0 -30
- package/dist/bundle/mcp-IRYWZZMF.js +0 -90
- package/dist/bundle/server-EUYRPM4X.js +0 -48
- package/dist/bundle/server-OHIH2CMF.js +0 -61
- package/dist/bundle/store-maintenance-command-3OFVJT4R.js +0 -48
- package/dist/bundle/update-RC5CLYFY.js +0 -69
- /package/dist/bundle/{chunk-JB5P5WSQ.js → chunk-AT5Y62SD.js} +0 -0
- /package/dist/bundle/{chunk-LU3WKZBA.js → chunk-QMNLI4NV.js} +0 -0
|
@@ -10,18 +10,18 @@ import {
|
|
|
10
10
|
providerErrorKey,
|
|
11
11
|
renderEvent,
|
|
12
12
|
runContextOf
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-GNLCVNP7.js";
|
|
14
14
|
import {
|
|
15
15
|
permissionCeiling
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-2DTUMEN2.js";
|
|
17
17
|
import {
|
|
18
18
|
envName,
|
|
19
19
|
readOnlyLockOf,
|
|
20
20
|
readOnlyRefusal
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-N2Y6FTPK.js";
|
|
22
22
|
import {
|
|
23
23
|
carries
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-6D47X4KD.js";
|
|
25
25
|
import {
|
|
26
26
|
FACT_STATUSES,
|
|
27
27
|
FACT_TYPES,
|
|
@@ -61,17 +61,17 @@ import {
|
|
|
61
61
|
meetingStats,
|
|
62
62
|
meetingSummary,
|
|
63
63
|
meetingTranscript
|
|
64
|
-
} from "./chunk-
|
|
64
|
+
} from "./chunk-PYQU4GLK.js";
|
|
65
65
|
import {
|
|
66
66
|
sharedConfigPath
|
|
67
|
-
} from "./chunk-
|
|
67
|
+
} from "./chunk-OCIE3POS.js";
|
|
68
68
|
import {
|
|
69
69
|
filesPresent,
|
|
70
70
|
sharedModelsDirectory
|
|
71
|
-
} from "./chunk-
|
|
71
|
+
} from "./chunk-DMUIMBCE.js";
|
|
72
72
|
import {
|
|
73
73
|
storePath
|
|
74
|
-
} from "./chunk-
|
|
74
|
+
} from "./chunk-WIK6SGHZ.js";
|
|
75
75
|
import {
|
|
76
76
|
configFilePath,
|
|
77
77
|
createRecordLog,
|
|
@@ -84,7 +84,7 @@ import {
|
|
|
84
84
|
saveConfigFile,
|
|
85
85
|
traceIdOf,
|
|
86
86
|
writeSecurely
|
|
87
|
-
} from "./chunk-
|
|
87
|
+
} from "./chunk-2R2Z2VWL.js";
|
|
88
88
|
import {
|
|
89
89
|
COMPACT_FLAG,
|
|
90
90
|
EXIT_CODES,
|
|
@@ -139,18 +139,18 @@ import {
|
|
|
139
139
|
unwrap,
|
|
140
140
|
variant,
|
|
141
141
|
writes
|
|
142
|
-
} from "./chunk-
|
|
142
|
+
} from "./chunk-SN63VOE6.js";
|
|
143
143
|
import {
|
|
144
144
|
CliError,
|
|
145
145
|
isCliError,
|
|
146
146
|
singleLine,
|
|
147
147
|
visibleControls
|
|
148
|
-
} from "./chunk-
|
|
148
|
+
} from "./chunk-RZ54DSVU.js";
|
|
149
149
|
import {
|
|
150
150
|
__name
|
|
151
151
|
} from "./chunk-ZVVMGPBJ.js";
|
|
152
152
|
|
|
153
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
153
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/commands/registry.js
|
|
154
154
|
var labels = /* @__PURE__ */ new WeakMap();
|
|
155
155
|
var annotate = /* @__PURE__ */ __name((command, meta) => {
|
|
156
156
|
labels.set(command, { ...labels.get(command), ...meta });
|
|
@@ -3651,7 +3651,7 @@ __name(useColor, "useColor");
|
|
|
3651
3651
|
// node_modules/.pnpm/commander@15.0.0/node_modules/commander/index.js
|
|
3652
3652
|
var program = new Command();
|
|
3653
3653
|
|
|
3654
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
3654
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/commands/contracts.js
|
|
3655
3655
|
import { isDeepStrictEqual } from "node:util";
|
|
3656
3656
|
var protectedCommands = /* @__PURE__ */ new WeakMap();
|
|
3657
3657
|
var hasSharedContract = /* @__PURE__ */ __name((command) => protectedCommands.has(command), "hasSharedContract");
|
|
@@ -3853,7 +3853,7 @@ var customizeSharedCommand = /* @__PURE__ */ __name((reference2, reason, build,
|
|
|
3853
3853
|
return command;
|
|
3854
3854
|
}, "customizeSharedCommand");
|
|
3855
3855
|
|
|
3856
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
3856
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/commands/document.js
|
|
3857
3857
|
var argumentInfoSchema = object({
|
|
3858
3858
|
name: string(),
|
|
3859
3859
|
required: boolean(),
|
|
@@ -3936,7 +3936,7 @@ var commandsDocument = /* @__PURE__ */ __name((root, about) => ({
|
|
|
3936
3936
|
exit_codes: { ok: 0, internal_error: GENERIC_FAILURE, ...EXIT_CODES }
|
|
3937
3937
|
}), "commandsDocument");
|
|
3938
3938
|
|
|
3939
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3939
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.579.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_c8215ada444796d31d091c0d7a963d03/node_modules/@wirecat/cli-core/dist/sends/guarded.js
|
|
3940
3940
|
import { AsyncLocalStorage } from "node:async_hooks";
|
|
3941
3941
|
var sentIds = /* @__PURE__ */ __name((typed2, message2) => ({
|
|
3942
3942
|
messageId: message2.id,
|
|
@@ -4042,7 +4042,7 @@ var guardedWrite = /* @__PURE__ */ __name(async (guard, attempt, act, settled2 =
|
|
|
4042
4042
|
}, "guardedWrite");
|
|
4043
4043
|
var codeOf = /* @__PURE__ */ __name((error) => typeof error?.code === "string" ? error.code : "unknown", "codeOf");
|
|
4044
4044
|
|
|
4045
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4045
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.579.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_c8215ada444796d31d091c0d7a963d03/node_modules/@wirecat/cli-core/dist/cli/result-fields.js
|
|
4046
4046
|
var named = /* @__PURE__ */ __name((work) => {
|
|
4047
4047
|
try {
|
|
4048
4048
|
return work();
|
|
@@ -4069,7 +4069,7 @@ var projectFields2 = /* @__PURE__ */ __name((value, fields) => named(() => {
|
|
|
4069
4069
|
return projectFields(value, fields);
|
|
4070
4070
|
}), "projectFields");
|
|
4071
4071
|
|
|
4072
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4072
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.579.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_c8215ada444796d31d091c0d7a963d03/node_modules/@wirecat/cli-core/dist/cli/execution.js
|
|
4073
4073
|
var DEFAULT_COOPERATIVE_MS = 5 * 6e4;
|
|
4074
4074
|
var DEFAULT_SYNC_MS = 15 * 6e4;
|
|
4075
4075
|
var DEFAULT_OUTPUT_BYTES = 4 * 1024 * 1024;
|
|
@@ -4091,7 +4091,7 @@ var withAbort = /* @__PURE__ */ __name(async (signal, body) => {
|
|
|
4091
4091
|
}
|
|
4092
4092
|
}, "withAbort");
|
|
4093
4093
|
|
|
4094
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4094
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.579.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_c8215ada444796d31d091c0d7a963d03/node_modules/@wirecat/cli-core/dist/sends/permissions.js
|
|
4095
4095
|
var LEVELS = ["deny", "readonly", "ask", "allow"];
|
|
4096
4096
|
var DANGEROUS = /* @__PURE__ */ new Set(["messages.delete", "bot.messages.delete", "topics.delete", "chats.delete", "chats.clear"]);
|
|
4097
4097
|
var skipFlagFor = /* @__PURE__ */ __name((key) => DANGEROUS.has(key) ? "--allow-dangerous" : "--yes", "skipFlagFor");
|
|
@@ -4487,7 +4487,7 @@ var assertRetentionEvidenceRead = /* @__PURE__ */ __name((permissions) => {
|
|
|
4487
4487
|
}
|
|
4488
4488
|
}, "assertRetentionEvidenceRead");
|
|
4489
4489
|
|
|
4490
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4490
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.579.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_c8215ada444796d31d091c0d7a963d03/node_modules/@wirecat/cli-core/dist/cli/messenger/accounts.js
|
|
4491
4491
|
import { existsSync, readdirSync, readFileSync } from "node:fs";
|
|
4492
4492
|
import { join } from "node:path";
|
|
4493
4493
|
var accountFileFor = /* @__PURE__ */ __name((app, profile, env) => join(resolvePaths({ appName: app.appName, prefix: app.envPrefix, env }).state, "accounts", `${profile}.json`), "accountFileFor");
|
|
@@ -4509,12 +4509,12 @@ var profilesWithAccounts = /* @__PURE__ */ __name((app, env) => {
|
|
|
4509
4509
|
}, "profilesWithAccounts");
|
|
4510
4510
|
var profilesHere = /* @__PURE__ */ __name((app, configured, env) => [.../* @__PURE__ */ new Set([...configured, ...profilesWithAccounts(app, env)])].sort(), "profilesHere");
|
|
4511
4511
|
|
|
4512
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4512
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.579.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_c8215ada444796d31d091c0d7a963d03/node_modules/@wirecat/cli-core/dist/background/budget.js
|
|
4513
4513
|
var DEADLINE_MARGIN_MS = 5e3;
|
|
4514
4514
|
var DEADLINE_MARGIN_SHARE = 0.15;
|
|
4515
4515
|
var deadlineMargin = /* @__PURE__ */ __name((deadline) => Math.max(DEADLINE_MARGIN_MS, deadline.ms * DEADLINE_MARGIN_SHARE), "deadlineMargin");
|
|
4516
4516
|
|
|
4517
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4517
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.579.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_c8215ada444796d31d091c0d7a963d03/node_modules/@wirecat/cli-core/dist/output-detail.js
|
|
4518
4518
|
var RARELY_SET = ["editedAt", "replyTo", "forwardedFrom", "reactions"];
|
|
4519
4519
|
var BRIEF = ["locator", "chatTitle", "timestamp", "senderName", "excerpt", "score"];
|
|
4520
4520
|
var SNAKE_BRIEF = ["ref", "chat_title", "timestamp", "sender_name", "excerpt", "score"];
|
|
@@ -4550,7 +4550,7 @@ var atDetail = /* @__PURE__ */ __name((value, detail = "default") => {
|
|
|
4550
4550
|
return value;
|
|
4551
4551
|
}, "atDetail");
|
|
4552
4552
|
|
|
4553
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4553
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.579.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_c8215ada444796d31d091c0d7a963d03/node_modules/@wirecat/cli-core/dist/output.js
|
|
4554
4554
|
var refuseCompact = /* @__PURE__ */ __name(({ json, jsonl, fields, hitDetail }) => {
|
|
4555
4555
|
const other = jsonl ? "--jsonl" : fields !== void 0 ? "--json=\u2026" : json ? "--json" : hitDetail === "brief" ? "--brief" : "";
|
|
4556
4556
|
if (other)
|
|
@@ -4614,7 +4614,7 @@ var silence = /* @__PURE__ */ __name((renderer) => ({
|
|
|
4614
4614
|
}, "warn")
|
|
4615
4615
|
}), "silence");
|
|
4616
4616
|
|
|
4617
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4617
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.579.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_c8215ada444796d31d091c0d7a963d03/node_modules/@wirecat/cli-core/dist/runs/log-events.js
|
|
4618
4618
|
var CORE_LOG_EVENTS = defineLogEvents([
|
|
4619
4619
|
{ id: "provider.request", meaning: "a request went to the messenger", keys: ["operation"] },
|
|
4620
4620
|
{ id: "provider.response", meaning: "the messenger answered the request, or it failed", keys: ["operation"] },
|
|
@@ -4648,7 +4648,7 @@ var DIAGNOSTIC_LOG_EVENTS = {
|
|
|
4648
4648
|
cache: "cache.answered"
|
|
4649
4649
|
};
|
|
4650
4650
|
|
|
4651
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4651
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.579.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_c8215ada444796d31d091c0d7a963d03/node_modules/@wirecat/cli-core/dist/runs/log-keys.js
|
|
4652
4652
|
var snake2 = /* @__PURE__ */ __name((key) => key.replace(/[A-Z]/g, (letter) => `_${letter.toLowerCase()}`), "snake");
|
|
4653
4653
|
var camel = /* @__PURE__ */ __name((key) => key.replace(/_([a-z0-9])/g, (_, letter) => letter.toUpperCase()), "camel");
|
|
4654
4654
|
var renamed = /* @__PURE__ */ __name((record2, name) => Object.fromEntries(Object.entries(record2).map(([key, value]) => [name(key), value])), "renamed");
|
|
@@ -4661,13 +4661,13 @@ var snakeLogger = /* @__PURE__ */ __name((logger) => ({
|
|
|
4661
4661
|
error: /* @__PURE__ */ __name((event2, message2) => logger.error(logAttributes(event2), message2), "error")
|
|
4662
4662
|
}), "snakeLogger");
|
|
4663
4663
|
|
|
4664
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4664
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.579.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_c8215ada444796d31d091c0d7a963d03/node_modules/@wirecat/cli-core/dist/runs/run.js
|
|
4665
4665
|
import { randomUUID } from "node:crypto";
|
|
4666
4666
|
import { appendFileSync, mkdirSync, readdirSync as readdirSync2, readFileSync as readFileSync2, rmSync, statSync, writeFileSync } from "node:fs";
|
|
4667
4667
|
import { userInfo } from "node:os";
|
|
4668
4668
|
import { join as join2, sep } from "node:path";
|
|
4669
4669
|
|
|
4670
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4670
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.579.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_c8215ada444796d31d091c0d7a963d03/node_modules/@wirecat/cli-core/dist/runs/log-attributes.js
|
|
4671
4671
|
var diagnostic = {
|
|
4672
4672
|
event: true,
|
|
4673
4673
|
operation: true,
|
|
@@ -4737,7 +4737,7 @@ var LOG_ATTRIBUTES = [
|
|
|
4737
4737
|
...new Set([...Object.keys(diagnostic), ...Object.keys(send), ...background, ...crash, ...dropped].map((key) => Object.keys(logAttributes({ [key]: true }))[0]))
|
|
4738
4738
|
].sort();
|
|
4739
4739
|
|
|
4740
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4740
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.579.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_c8215ada444796d31d091c0d7a963d03/node_modules/@wirecat/cli-core/dist/runs/run.js
|
|
4741
4741
|
var KEEP_RUNS_FOR_DAYS = 30;
|
|
4742
4742
|
var KEEP_SUCCESSFUL_RUNS_FOR_DAYS = 7;
|
|
4743
4743
|
var RUNS_SIZE_LIMIT_MB = 200;
|
|
@@ -5090,7 +5090,7 @@ var metadataOf = /* @__PURE__ */ __name((parsed) => {
|
|
|
5090
5090
|
};
|
|
5091
5091
|
}, "metadataOf");
|
|
5092
5092
|
|
|
5093
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5093
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.579.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_c8215ada444796d31d091c0d7a963d03/node_modules/@wirecat/cli-core/dist/runs/scope.js
|
|
5094
5094
|
import { AsyncLocalStorage as AsyncLocalStorage2 } from "node:async_hooks";
|
|
5095
5095
|
import { randomBytes } from "node:crypto";
|
|
5096
5096
|
var scopes = new AsyncLocalStorage2();
|
|
@@ -5125,7 +5125,7 @@ var childTrace = /* @__PURE__ */ __name(() => {
|
|
|
5125
5125
|
var attempts = new AsyncLocalStorage2();
|
|
5126
5126
|
var withAttempt = /* @__PURE__ */ __name((attempt, work) => attempts.run(attempt, work), "withAttempt");
|
|
5127
5127
|
|
|
5128
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5128
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.579.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_c8215ada444796d31d091c0d7a963d03/node_modules/@wirecat/cli-core/dist/runs/recording.js
|
|
5129
5129
|
var recorded = /* @__PURE__ */ __name(async (options, body) => {
|
|
5130
5130
|
const recording = startRecording(options);
|
|
5131
5131
|
try {
|
|
@@ -5310,7 +5310,7 @@ var partialOutcome = /* @__PURE__ */ __name((answer) => {
|
|
|
5310
5310
|
return void 0;
|
|
5311
5311
|
}, "partialOutcome");
|
|
5312
5312
|
|
|
5313
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5313
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.579.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_c8215ada444796d31d091c0d7a963d03/node_modules/@wirecat/cli-core/dist/cli/deadline.js
|
|
5314
5314
|
var withDeadline = /* @__PURE__ */ __name(async (ms2, closeables, body) => {
|
|
5315
5315
|
if (ms2 === void 0)
|
|
5316
5316
|
return body();
|
|
@@ -5336,7 +5336,7 @@ var withDeadline = /* @__PURE__ */ __name(async (ms2, closeables, body) => {
|
|
|
5336
5336
|
}
|
|
5337
5337
|
}, "withDeadline");
|
|
5338
5338
|
|
|
5339
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5339
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.579.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_c8215ada444796d31d091c0d7a963d03/node_modules/@wirecat/cli-core/dist/cli/profile.js
|
|
5340
5340
|
var asFirstWord = /* @__PURE__ */ __name((profile) => `${profile} `, "asFirstWord");
|
|
5341
5341
|
var PLAIN_NAME = /^[A-Za-z0-9][A-Za-z0-9._-]*$/;
|
|
5342
5342
|
var isProfileName = /* @__PURE__ */ __name((word) => PLAIN_NAME.test(word), "isProfileName");
|
|
@@ -5378,10 +5378,10 @@ var rootOf = /* @__PURE__ */ __name((command) => {
|
|
|
5378
5378
|
return root;
|
|
5379
5379
|
}, "rootOf");
|
|
5380
5380
|
|
|
5381
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5381
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.579.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_c8215ada444796d31d091c0d7a963d03/node_modules/@wirecat/cli-core/dist/cli/settings.js
|
|
5382
5382
|
import { existsSync as existsSync4 } from "node:fs";
|
|
5383
5383
|
|
|
5384
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5384
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.579.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_c8215ada444796d31d091c0d7a963d03/node_modules/@wirecat/cli-core/dist/models/endpoint.js
|
|
5385
5385
|
var endpoint = /* @__PURE__ */ __name((value) => {
|
|
5386
5386
|
try {
|
|
5387
5387
|
const url2 = new URL(value);
|
|
@@ -5391,7 +5391,7 @@ var endpoint = /* @__PURE__ */ __name((value) => {
|
|
|
5391
5391
|
}
|
|
5392
5392
|
}, "endpoint");
|
|
5393
5393
|
|
|
5394
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5394
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.579.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_c8215ada444796d31d091c0d7a963d03/node_modules/@wirecat/cli-core/dist/models/settings.js
|
|
5395
5395
|
var MODEL_FIELDS = ["provider", "model", "base_url"];
|
|
5396
5396
|
var modelSettingsShape = record(pipe(string(), regex(/^[a-z][a-z0-9-]*$/)), strictObject({
|
|
5397
5397
|
provider: optional(picklist(["off", "openai", "anthropic"])),
|
|
@@ -5460,7 +5460,7 @@ var modelTarget = /* @__PURE__ */ __name((settings, purpose) => {
|
|
|
5460
5460
|
};
|
|
5461
5461
|
}, "modelTarget");
|
|
5462
5462
|
|
|
5463
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5463
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.579.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_c8215ada444796d31d091c0d7a963d03/node_modules/@wirecat/cli-core/dist/analysis/settings.js
|
|
5464
5464
|
var model = pipe(string(), trim(), minLength(1), maxLength(200));
|
|
5465
5465
|
var url = pipe(string(), check(endpoint, "use an HTTP/S endpoint without credentials, query or fragment"));
|
|
5466
5466
|
var AI_FIELDS = {
|
|
@@ -5504,7 +5504,7 @@ var resolveAISettings = /* @__PURE__ */ __name((prefix, layers, env) => {
|
|
|
5504
5504
|
};
|
|
5505
5505
|
}, "resolveAISettings");
|
|
5506
5506
|
|
|
5507
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5507
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.579.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_c8215ada444796d31d091c0d7a963d03/node_modules/@wirecat/cli-core/dist/domain/duration.js
|
|
5508
5508
|
var DURATION = /^(\d+)(ms|s|m|h|d)$/;
|
|
5509
5509
|
var UNIT_MS = { ms: 1, s: 1e3, m: 6e4, h: 36e5, d: 864e5 };
|
|
5510
5510
|
var parseDuration = /* @__PURE__ */ __name((value, source2) => {
|
|
@@ -5518,7 +5518,7 @@ var parseDuration = /* @__PURE__ */ __name((value, source2) => {
|
|
|
5518
5518
|
return ms2;
|
|
5519
5519
|
}, "parseDuration");
|
|
5520
5520
|
|
|
5521
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5521
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.579.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_c8215ada444796d31d091c0d7a963d03/node_modules/@wirecat/cli-core/dist/embeddings/models.js
|
|
5522
5522
|
var huggingFace = /* @__PURE__ */ __name((repository, commit) => (name) => `https://huggingface.co/${repository}/resolve/${commit}/${name}`, "huggingFace");
|
|
5523
5523
|
var e5 = huggingFace("Xenova/multilingual-e5-small", "761b726dd34fb83930e26aab4e9ac3899aa1fa78");
|
|
5524
5524
|
var gemma = huggingFace("onnx-community/embeddinggemma-300m-ONNX", "5090578d9565bb06545b4552f76e6bc2c93e4a66");
|
|
@@ -5677,7 +5677,7 @@ var rerankModel = /* @__PURE__ */ __name((id6) => {
|
|
|
5677
5677
|
var vectorModelKey = /* @__PURE__ */ __name((model3) => `local:${model3.id}:${model3.dims}`, "vectorModelKey");
|
|
5678
5678
|
var meaningFloor = /* @__PURE__ */ __name((key) => key === "local:e5-small:384" ? 0.8 : 0, "meaningFloor");
|
|
5679
5679
|
|
|
5680
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5680
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.579.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_c8215ada444796d31d091c0d7a963d03/node_modules/@wirecat/cli-core/dist/services/history-limits.js
|
|
5681
5681
|
var HISTORY_MAX_DAYS = 1095;
|
|
5682
5682
|
var DEFAULT_HISTORY_LIMITS = { dialogDays: 1095, groupDays: 365, groupMembersMax: 50 };
|
|
5683
5683
|
var DAY_MS2 = 24 * 60 * 60 * 1e3;
|
|
@@ -5724,7 +5724,7 @@ var limitBatch = /* @__PURE__ */ __name((batch, shapes, included, limits, now =
|
|
|
5724
5724
|
return { batch: { ...batch, messages }, skipped };
|
|
5725
5725
|
}, "limitBatch");
|
|
5726
5726
|
|
|
5727
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5727
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.579.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_c8215ada444796d31d091c0d7a963d03/node_modules/@wirecat/cli-core/dist/cli/bot/registry.js
|
|
5728
5728
|
import { existsSync as existsSync2, readdirSync as readdirSync3, readFileSync as readFileSync3 } from "node:fs";
|
|
5729
5729
|
import { join as join3 } from "node:path";
|
|
5730
5730
|
var botsDirectory = /* @__PURE__ */ __name((app, env = process.env) => join3(resolvePaths({ appName: app.appName, prefix: app.envPrefix, env }).state, "bots"), "botsDirectory");
|
|
@@ -5813,10 +5813,10 @@ var registryProfiles = /* @__PURE__ */ __name((app, env = process.env) => {
|
|
|
5813
5813
|
return readdirSync3(directory, { withFileTypes: true }).filter((entry) => entry.isFile() && entry.name.endsWith(".json")).map((entry) => entry.name).map((name) => name.slice(0, -".json".length));
|
|
5814
5814
|
}, "registryProfiles");
|
|
5815
5815
|
|
|
5816
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5816
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.579.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_c8215ada444796d31d091c0d7a963d03/node_modules/@wirecat/cli-core/dist/cli/config-issues.js
|
|
5817
5817
|
import { readFileSync as readFileSync4 } from "node:fs";
|
|
5818
5818
|
|
|
5819
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5819
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.579.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_c8215ada444796d31d091c0d7a963d03/node_modules/@wirecat/cli-core/dist/cli/config-repair.js
|
|
5820
5820
|
var REPAIR_WORDS = {
|
|
5821
5821
|
byte_order_mark: "an invisible byte-order mark at the start",
|
|
5822
5822
|
comment: "a comment, which JSON does not allow",
|
|
@@ -6057,7 +6057,7 @@ ${parts.join(",\n")}
|
|
|
6057
6057
|
${indent}${close}`;
|
|
6058
6058
|
}, "serialise");
|
|
6059
6059
|
|
|
6060
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6060
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.579.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_c8215ada444796d31d091c0d7a963d03/node_modules/@wirecat/cli-core/dist/cli/config-issues.js
|
|
6061
6061
|
var isNode = /* @__PURE__ */ __name((value) => typeof value === "object" && value !== null && !Array.isArray(value), "isNode");
|
|
6062
6062
|
var SECTIONS = ["personal", "bot"];
|
|
6063
6063
|
var SHELL_SAFE = /^[A-Za-z0-9_.:@-]*$/;
|
|
@@ -6352,7 +6352,7 @@ var readConfigFile = /* @__PURE__ */ __name((path2) => {
|
|
|
6352
6352
|
return "issue" in parsed ? { issue: publicIssue(parsed.issue) } : parsed;
|
|
6353
6353
|
}, "readConfigFile");
|
|
6354
6354
|
|
|
6355
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6355
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.579.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_c8215ada444796d31d091c0d7a963d03/node_modules/@wirecat/cli-core/dist/cli/default-config.js
|
|
6356
6356
|
import { existsSync as existsSync3, linkSync, mkdirSync as mkdirSync2, mkdtempSync, rmSync as rmSync2, writeFileSync as writeFileSync2 } from "node:fs";
|
|
6357
6357
|
import { dirname, join as join4 } from "node:path";
|
|
6358
6358
|
var DEFAULT_CONFIG = {
|
|
@@ -6381,7 +6381,7 @@ function ensureDefaultConfig(path2, config = DEFAULT_CONFIG) {
|
|
|
6381
6381
|
}
|
|
6382
6382
|
__name(ensureDefaultConfig, "ensureDefaultConfig");
|
|
6383
6383
|
|
|
6384
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6384
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.579.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_c8215ada444796d31d091c0d7a963d03/node_modules/@wirecat/cli-core/dist/cli/setting-defaults.js
|
|
6385
6385
|
var isNode2 = /* @__PURE__ */ __name((value) => typeof value === "object" && value !== null && !Array.isArray(value), "isNode");
|
|
6386
6386
|
var parentOf = /* @__PURE__ */ __name((config, key) => {
|
|
6387
6387
|
const path2 = key.split(".");
|
|
@@ -6414,7 +6414,7 @@ var settingRows = /* @__PURE__ */ __name((raw, declared) => declared.map((settin
|
|
|
6414
6414
|
};
|
|
6415
6415
|
}), "settingRows");
|
|
6416
6416
|
|
|
6417
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6417
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.579.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_c8215ada444796d31d091c0d7a963d03/node_modules/@wirecat/cli-core/dist/cli/settings.js
|
|
6418
6418
|
var DEFAULT_LIMIT = DEFAULT_CONFIG.defaults.limit;
|
|
6419
6419
|
var DEFAULT_KEEP_RUNS_FOR_DAYS = DEFAULT_CONFIG.defaults.keep_runs_for_days;
|
|
6420
6420
|
var DEFAULT_SENDS_PER_HOUR = DEFAULT_CONFIG.defaults.sends_per_hour;
|
|
@@ -6924,7 +6924,7 @@ var given = /* @__PURE__ */ __name((value) => {
|
|
|
6924
6924
|
return trimmed === void 0 || trimmed === "" ? void 0 : trimmed;
|
|
6925
6925
|
}, "given");
|
|
6926
6926
|
|
|
6927
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6927
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.579.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_c8215ada444796d31d091c0d7a963d03/node_modules/@wirecat/cli-core/dist/cli/context.js
|
|
6928
6928
|
var setExitCode = /* @__PURE__ */ __name((command, code) => {
|
|
6929
6929
|
const slot = environmentOf(command).exit;
|
|
6930
6930
|
if (slot)
|
|
@@ -7037,7 +7037,7 @@ var commandPath = /* @__PURE__ */ __name((command) => {
|
|
|
7037
7037
|
return words.join(" ");
|
|
7038
7038
|
}, "commandPath");
|
|
7039
7039
|
|
|
7040
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7040
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.579.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_c8215ada444796d31d091c0d7a963d03/node_modules/@wirecat/cli-core/dist/cli/effects.js
|
|
7041
7041
|
var REMOTE_READ = { remote: "read", local: "read" };
|
|
7042
7042
|
var FETCH = { remote: "read", local: "write" };
|
|
7043
7043
|
var REMOTE_WRITE = { remote: "write", local: "write" };
|
|
@@ -7144,7 +7144,7 @@ var refuseUnderReadOnly = /* @__PURE__ */ __name((command, what) => {
|
|
|
7144
7144
|
throw readOnlyRefusal(lock, what);
|
|
7145
7145
|
}, "refuseUnderReadOnly");
|
|
7146
7146
|
|
|
7147
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7147
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.579.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_c8215ada444796d31d091c0d7a963d03/node_modules/@wirecat/cli-core/dist/entities/fields.js
|
|
7148
7148
|
var text = string();
|
|
7149
7149
|
var id = pipe(string(), minLength(1));
|
|
7150
7150
|
var time = isoTime;
|
|
@@ -7168,7 +7168,7 @@ var author = strictObject({
|
|
|
7168
7168
|
name: nullable(text)
|
|
7169
7169
|
});
|
|
7170
7170
|
|
|
7171
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7171
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.579.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_c8215ada444796d31d091c0d7a963d03/node_modules/@wirecat/cli-core/dist/entities/account.js
|
|
7172
7172
|
var account = strictObject({
|
|
7173
7173
|
provider: text,
|
|
7174
7174
|
id,
|
|
@@ -7178,7 +7178,7 @@ var account = strictObject({
|
|
|
7178
7178
|
scope: optional(picklist(["personal", "work"]))
|
|
7179
7179
|
});
|
|
7180
7180
|
|
|
7181
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7181
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.579.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_c8215ada444796d31d091c0d7a963d03/node_modules/@wirecat/cli-core/dist/entities/account-session.js
|
|
7182
7182
|
var accountSession = strictObject({
|
|
7183
7183
|
current: boolean(),
|
|
7184
7184
|
client: nullable(text),
|
|
@@ -7188,7 +7188,7 @@ var accountSession = strictObject({
|
|
|
7188
7188
|
created_at: optional(nullable(time))
|
|
7189
7189
|
});
|
|
7190
7190
|
|
|
7191
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7191
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.579.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_c8215ada444796d31d091c0d7a963d03/node_modules/@wirecat/cli-core/dist/entities/account-change.js
|
|
7192
7192
|
var accountChange = strictObject({ operation_id: id, account: omit(account, ["provider", "scope"]) });
|
|
7193
7193
|
var endedAccountSessions = strictObject({ operation_id: id, sessions: array(accountSession) });
|
|
7194
7194
|
var audience = picklist(["everyone", "contacts", "nobody"]);
|
|
@@ -7206,7 +7206,7 @@ var accountPrivacy = strictObject({
|
|
|
7206
7206
|
});
|
|
7207
7207
|
var accountPrivacyChange = strictObject({ operation_id: id, privacy: accountPrivacy });
|
|
7208
7208
|
|
|
7209
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7209
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.579.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_c8215ada444796d31d091c0d7a963d03/node_modules/@wirecat/cli-core/dist/entities/account-profile.js
|
|
7210
7210
|
var accountProfile = strictObject({
|
|
7211
7211
|
profile: id,
|
|
7212
7212
|
current: boolean(),
|
|
@@ -7218,7 +7218,7 @@ var accountProfile = strictObject({
|
|
|
7218
7218
|
bot: optional(literal(true))
|
|
7219
7219
|
});
|
|
7220
7220
|
|
|
7221
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7221
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.579.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_c8215ada444796d31d091c0d7a963d03/node_modules/@wirecat/cli-core/dist/entities/counter-reading.js
|
|
7222
7222
|
var milliseconds = pipe(number(), minValue(0));
|
|
7223
7223
|
var counterReading = strictObject({
|
|
7224
7224
|
counter: picklist(["views", "reactions", "comments"]),
|
|
@@ -7230,7 +7230,7 @@ var counterReading = strictObject({
|
|
|
7230
7230
|
});
|
|
7231
7231
|
var selection = record(string(), unknown());
|
|
7232
7232
|
|
|
7233
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7233
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.579.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_c8215ada444796d31d091c0d7a963d03/node_modules/@wirecat/cli-core/dist/entities/admin-report.js
|
|
7234
7234
|
var adminRow = strictObject({
|
|
7235
7235
|
ref: reference,
|
|
7236
7236
|
/** What `stats * evidence` takes: a person id, a stay or a message locator. */
|
|
@@ -7283,7 +7283,7 @@ var adminReport = strictObject({
|
|
|
7283
7283
|
rows: array(adminRow)
|
|
7284
7284
|
});
|
|
7285
7285
|
|
|
7286
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7286
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.579.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_c8215ada444796d31d091c0d7a963d03/node_modules/@wirecat/cli-core/dist/entities/task.js
|
|
7287
7287
|
var closeSuggestion = strictObject({
|
|
7288
7288
|
as: picklist(["done", "dismissed"]),
|
|
7289
7289
|
/** The agent's name. */
|
|
@@ -7345,7 +7345,7 @@ var task = strictObject({
|
|
|
7345
7345
|
updated_at: optional(time)
|
|
7346
7346
|
});
|
|
7347
7347
|
|
|
7348
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7348
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.579.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_c8215ada444796d31d091c0d7a963d03/node_modules/@wirecat/cli-core/dist/entities/agenda.js
|
|
7349
7349
|
var agendaChat = strictObject({
|
|
7350
7350
|
chat: reference,
|
|
7351
7351
|
title: nullable(text),
|
|
@@ -7415,11 +7415,11 @@ var agenda = strictObject({
|
|
|
7415
7415
|
unlisted_categories: array(strictObject({ name: text, open_tasks: number() }))
|
|
7416
7416
|
});
|
|
7417
7417
|
|
|
7418
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7418
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.579.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_c8215ada444796d31d091c0d7a963d03/node_modules/@wirecat/cli-core/dist/entities/analysis-consent.js
|
|
7419
7419
|
var analysisConsent = strictObject({ chat: id, provider: text, at: time });
|
|
7420
7420
|
var analysisConsentRevocation = strictObject({ revoked: boolean() });
|
|
7421
7421
|
|
|
7422
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7422
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.579.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_c8215ada444796d31d091c0d7a963d03/node_modules/@wirecat/cli-core/dist/entities/attachment.js
|
|
7423
7423
|
var attachment = strictObject({
|
|
7424
7424
|
/** The message it came with, as a locator; absent inside that message. */
|
|
7425
7425
|
message: optional(reference),
|
|
@@ -7457,7 +7457,7 @@ var attachment = strictObject({
|
|
|
7457
7457
|
});
|
|
7458
7458
|
var hitFile = strictObject({ position: count2, kind: text, name: optional(text), size: optional(count2) });
|
|
7459
7459
|
|
|
7460
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7460
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.579.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_c8215ada444796d31d091c0d7a963d03/node_modules/@wirecat/cli-core/dist/entities/batch-result.js
|
|
7461
7461
|
var actionableError = objectWithRest({
|
|
7462
7462
|
code: text,
|
|
7463
7463
|
message: text,
|
|
@@ -7474,7 +7474,7 @@ var batchResult = strictObject({
|
|
|
7474
7474
|
max_error_percent: count2
|
|
7475
7475
|
});
|
|
7476
7476
|
|
|
7477
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7477
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.579.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_c8215ada444796d31d091c0d7a963d03/node_modules/@wirecat/cli-core/dist/entities/extraction-report.js
|
|
7478
7478
|
var extractionItem = strictObject({
|
|
7479
7479
|
ref: reference,
|
|
7480
7480
|
attachment: count2,
|
|
@@ -7507,7 +7507,7 @@ var extractionReport = strictObject({
|
|
|
7507
7507
|
cursor: optional(text)
|
|
7508
7508
|
});
|
|
7509
7509
|
|
|
7510
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7510
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.579.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_c8215ada444796d31d091c0d7a963d03/node_modules/@wirecat/cli-core/dist/entities/attachment-results.js
|
|
7511
7511
|
var fingerprint = pipe(text, regex(/^[a-f0-9]{64}$/));
|
|
7512
7512
|
var attachmentBytes = strictObject({
|
|
7513
7513
|
ref: reference,
|
|
@@ -7535,7 +7535,7 @@ var attachmentTextChange = strictObject({
|
|
|
7535
7535
|
replaced: nullable(picklist(["extracted", "agent"]))
|
|
7536
7536
|
});
|
|
7537
7537
|
|
|
7538
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7538
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.579.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_c8215ada444796d31d091c0d7a963d03/node_modules/@wirecat/cli-core/dist/entities/chart.js
|
|
7539
7539
|
var chart = strictObject({
|
|
7540
7540
|
version: literal(1),
|
|
7541
7541
|
kind: picklist(["bar", "line", "grouped-bar"]),
|
|
@@ -7550,7 +7550,7 @@ var chart = strictObject({
|
|
|
7550
7550
|
file: optional(strictObject({ path: text, format: picklist(["svg", "png"]), width: count2, height: count2 }))
|
|
7551
7551
|
});
|
|
7552
7552
|
|
|
7553
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7553
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.579.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_c8215ada444796d31d091c0d7a963d03/node_modules/@wirecat/cli-core/dist/entities/member.js
|
|
7554
7554
|
var member = strictObject({
|
|
7555
7555
|
id,
|
|
7556
7556
|
name: nullable(text),
|
|
@@ -7573,7 +7573,7 @@ var member = strictObject({
|
|
|
7573
7573
|
check: optional(record(string(), unknown()))
|
|
7574
7574
|
});
|
|
7575
7575
|
|
|
7576
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7576
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.579.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_c8215ada444796d31d091c0d7a963d03/node_modules/@wirecat/cli-core/dist/entities/chat.js
|
|
7577
7577
|
var setting = optional(nullable(boolean()));
|
|
7578
7578
|
var chat = strictObject({
|
|
7579
7579
|
ref: reference,
|
|
@@ -7614,7 +7614,7 @@ var chat = strictObject({
|
|
|
7614
7614
|
members: optional(array(member))
|
|
7615
7615
|
});
|
|
7616
7616
|
|
|
7617
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7617
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.579.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_c8215ada444796d31d091c0d7a963d03/node_modules/@wirecat/cli-core/dist/entities/folder.js
|
|
7618
7618
|
var named2 = strictObject({
|
|
7619
7619
|
id,
|
|
7620
7620
|
title: nullable(text),
|
|
@@ -7637,7 +7637,7 @@ var folder = strictObject({
|
|
|
7637
7637
|
excluded_chats: optional(array(named2))
|
|
7638
7638
|
});
|
|
7639
7639
|
|
|
7640
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7640
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.579.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_c8215ada444796d31d091c0d7a963d03/node_modules/@wirecat/cli-core/dist/entities/invite-link.js
|
|
7641
7641
|
var inviteLink = strictObject({
|
|
7642
7642
|
link: text,
|
|
7643
7643
|
/** Who joins by it asks first, and an admin lets them in. */
|
|
@@ -7653,7 +7653,7 @@ var inviteLink = strictObject({
|
|
|
7653
7653
|
joined_count: optional(count2)
|
|
7654
7654
|
});
|
|
7655
7655
|
|
|
7656
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7656
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.579.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_c8215ada444796d31d091c0d7a963d03/node_modules/@wirecat/cli-core/dist/entities/chat-admin.js
|
|
7657
7657
|
var operated = { operation_id: id, chat_id: id };
|
|
7658
7658
|
var group = strictObject({
|
|
7659
7659
|
...omit(chat, ["ref", "provider", "account", "invite_link", "members"]).entries,
|
|
@@ -7733,7 +7733,7 @@ var chatFolderOrder = strictObject({
|
|
|
7733
7733
|
folders: array(strictObject({ id, title: text }))
|
|
7734
7734
|
});
|
|
7735
7735
|
|
|
7736
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7736
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.579.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_c8215ada444796d31d091c0d7a963d03/node_modules/@wirecat/cli-core/dist/entities/chat-change.js
|
|
7737
7737
|
var operated2 = { operation_id: id, chat_id: id };
|
|
7738
7738
|
var chatRemoval = strictObject(operated2);
|
|
7739
7739
|
var chatMuting = strictObject({
|
|
@@ -7744,7 +7744,7 @@ var chatArchive = strictObject({ ...operated2, archived: boolean() });
|
|
|
7744
7744
|
var chatPin = strictObject({ ...operated2, pinned: boolean() });
|
|
7745
7745
|
var chatUnread = strictObject({ ...operated2, unread: literal(true) });
|
|
7746
7746
|
|
|
7747
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7747
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.579.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_c8215ada444796d31d091c0d7a963d03/node_modules/@wirecat/cli-core/dist/entities/chat-event.js
|
|
7748
7748
|
var who = strictObject({ id: nullable(id), name: nullable(text), username: optional(nullable(text)) });
|
|
7749
7749
|
var chatEvent = strictObject({
|
|
7750
7750
|
chat_id: id,
|
|
@@ -7761,7 +7761,7 @@ var chatEvent = strictObject({
|
|
|
7761
7761
|
before: optional(strictObject({ name: nullable(text), username: nullable(text) }))
|
|
7762
7762
|
});
|
|
7763
7763
|
|
|
7764
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7764
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.579.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_c8215ada444796d31d091c0d7a963d03/node_modules/@wirecat/cli-core/dist/entities/chat-metadata.js
|
|
7765
7765
|
var chatMetadata = strictObject({
|
|
7766
7766
|
chat_id: id,
|
|
7767
7767
|
title: nullable(text),
|
|
@@ -7776,7 +7776,7 @@ var chatMetadataRefresh = strictObject({
|
|
|
7776
7776
|
has_more: boolean()
|
|
7777
7777
|
});
|
|
7778
7778
|
|
|
7779
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7779
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.579.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_c8215ada444796d31d091c0d7a963d03/node_modules/@wirecat/cli-core/dist/entities/chat-moderation.js
|
|
7780
7780
|
var action = picklist(["report", "delete", "remove"]);
|
|
7781
7781
|
var level = picklist(["deny", "readonly", "ask", "allow"]);
|
|
7782
7782
|
var chatRules = strictObject({
|
|
@@ -7813,7 +7813,7 @@ var chatModeration = strictObject({
|
|
|
7813
7813
|
}))
|
|
7814
7814
|
});
|
|
7815
7815
|
|
|
7816
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7816
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.579.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_c8215ada444796d31d091c0d7a963d03/node_modules/@wirecat/cli-core/dist/entities/chat-stats.js
|
|
7817
7817
|
var optionalCount = optional(count2);
|
|
7818
7818
|
var minutes = nullable(number());
|
|
7819
7819
|
var chatStats = strictObject({
|
|
@@ -7887,7 +7887,7 @@ var taskStats = strictObject({
|
|
|
7887
7887
|
}))
|
|
7888
7888
|
});
|
|
7889
7889
|
|
|
7890
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7890
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.579.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_c8215ada444796d31d091c0d7a963d03/node_modules/@wirecat/cli-core/dist/entities/chat-tracking.js
|
|
7891
7891
|
var memberCount = strictObject({
|
|
7892
7892
|
day: pipe(text, isoDate()),
|
|
7893
7893
|
participants: nullable(count2),
|
|
@@ -7910,7 +7910,7 @@ var chatTracking = strictObject({
|
|
|
7910
7910
|
tracked: boolean()
|
|
7911
7911
|
});
|
|
7912
7912
|
|
|
7913
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7913
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.579.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_c8215ada444796d31d091c0d7a963d03/node_modules/@wirecat/cli-core/dist/entities/contact-read.js
|
|
7914
7914
|
var contactLookup = strictObject({ id, name: nullable(text), username: nullable(text) });
|
|
7915
7915
|
var contactSync = strictObject({ added: count2, changed: count2, known: count2 });
|
|
7916
7916
|
var profileFields = {
|
|
@@ -7948,7 +7948,7 @@ var profileFields = {
|
|
|
7948
7948
|
}))
|
|
7949
7949
|
};
|
|
7950
7950
|
|
|
7951
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7951
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.579.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_c8215ada444796d31d091c0d7a963d03/node_modules/@wirecat/cli-core/dist/entities/contact.js
|
|
7952
7952
|
var contact = strictObject({
|
|
7953
7953
|
ref: reference,
|
|
7954
7954
|
id,
|
|
@@ -7979,7 +7979,7 @@ var contact = strictObject({
|
|
|
7979
7979
|
notes: optional(array(strictObject({ id, text, revision: count2, created_at: time, updated_at: time })))
|
|
7980
7980
|
});
|
|
7981
7981
|
|
|
7982
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7982
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.579.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_c8215ada444796d31d091c0d7a963d03/node_modules/@wirecat/cli-core/dist/botcheck/reasons.js
|
|
7983
7983
|
var WEIGHTS = {
|
|
7984
7984
|
bot: 3,
|
|
7985
7985
|
scam: 3,
|
|
@@ -8004,7 +8004,7 @@ var LINK = /https?:\/\/|t\.me\/|www\./i;
|
|
|
8004
8004
|
var DIGITS = /\d{5,}/;
|
|
8005
8005
|
var oddName = /* @__PURE__ */ __name((name) => !name?.trim() || DIGITS.test(name) || LINK.test(name), "oddName");
|
|
8006
8006
|
|
|
8007
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8007
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.579.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_c8215ada444796d31d091c0d7a963d03/node_modules/@wirecat/cli-core/dist/entities/contact-activity.js
|
|
8008
8008
|
var linkedIdentity = strictObject({
|
|
8009
8009
|
provider: text,
|
|
8010
8010
|
id,
|
|
@@ -8045,7 +8045,7 @@ var contactCheck = strictObject({
|
|
|
8045
8045
|
checked_at: time
|
|
8046
8046
|
});
|
|
8047
8047
|
|
|
8048
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8048
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.579.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_c8215ada444796d31d091c0d7a963d03/node_modules/@wirecat/cli-core/dist/entities/message.js
|
|
8049
8049
|
var quoted = strictObject({
|
|
8050
8050
|
id,
|
|
8051
8051
|
sender_id: nullable(id),
|
|
@@ -8164,7 +8164,7 @@ var message = strictObject({
|
|
|
8164
8164
|
provider_metadata: providerMetadata
|
|
8165
8165
|
});
|
|
8166
8166
|
|
|
8167
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8167
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.579.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_c8215ada444796d31d091c0d7a963d03/node_modules/@wirecat/cli-core/dist/entities/contact-context.js
|
|
8168
8168
|
var contextPerson = strictObject({ ...linkedPerson.entries, provider: text, id });
|
|
8169
8169
|
var contextMessage = strictObject({
|
|
8170
8170
|
locator: reference,
|
|
@@ -8362,7 +8362,7 @@ var contactPreparation = strictObject({
|
|
|
8362
8362
|
})
|
|
8363
8363
|
});
|
|
8364
8364
|
|
|
8365
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8365
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.579.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_c8215ada444796d31d091c0d7a963d03/node_modules/@wirecat/cli-core/dist/entities/contact-note.js
|
|
8366
8366
|
var contactNote = strictObject({
|
|
8367
8367
|
id,
|
|
8368
8368
|
/** The contact, as a `contact:` reference. */
|
|
@@ -8374,13 +8374,13 @@ var contactNote = strictObject({
|
|
|
8374
8374
|
updated_at: time
|
|
8375
8375
|
});
|
|
8376
8376
|
|
|
8377
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8377
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.579.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_c8215ada444796d31d091c0d7a963d03/node_modules/@wirecat/cli-core/dist/entities/contact-write.js
|
|
8378
8378
|
var addressBookPerson = strictObject({ id, name: nullable(text), username: nullable(text) });
|
|
8379
8379
|
var contactUpdate = strictObject({ operation_id: id, person: addressBookPerson });
|
|
8380
8380
|
var contactStateChange = strictObject({ operation_id: id, person_id: id });
|
|
8381
8381
|
var contactImport = strictObject({ operation_id: id, sent: count2, recognised: array(addressBookPerson) });
|
|
8382
8382
|
|
|
8383
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8383
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.579.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_c8215ada444796d31d091c0d7a963d03/node_modules/@wirecat/cli-core/dist/entities/conversation.js
|
|
8384
8384
|
var conversation = strictObject({
|
|
8385
8385
|
id,
|
|
8386
8386
|
chat: reference,
|
|
@@ -8395,7 +8395,7 @@ var conversation = strictObject({
|
|
|
8395
8395
|
rules_version: count2
|
|
8396
8396
|
});
|
|
8397
8397
|
|
|
8398
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8398
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.579.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_c8215ada444796d31d091c0d7a963d03/node_modules/@wirecat/cli-core/dist/entities/conversation-preparation.js
|
|
8399
8399
|
var conversationBuild = strictObject({
|
|
8400
8400
|
chat: id,
|
|
8401
8401
|
messages: count2,
|
|
@@ -8420,7 +8420,7 @@ var catchUpPreparation = strictObject({
|
|
|
8420
8420
|
prepared: optional(conversationPreparation)
|
|
8421
8421
|
});
|
|
8422
8422
|
|
|
8423
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8423
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.579.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_c8215ada444796d31d091c0d7a963d03/node_modules/@wirecat/cli-core/dist/entities/conversation-results.js
|
|
8424
8424
|
var conversationDetails = union([
|
|
8425
8425
|
strictObject({ ...conversation.entries, messages: array(message) }),
|
|
8426
8426
|
message
|
|
@@ -8510,7 +8510,7 @@ var conversationHit = strictObject({
|
|
|
8510
8510
|
stale: boolean()
|
|
8511
8511
|
});
|
|
8512
8512
|
|
|
8513
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8513
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.579.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_c8215ada444796d31d091c0d7a963d03/node_modules/@wirecat/cli-core/dist/entities/counters.js
|
|
8514
8514
|
var counters = strictObject({
|
|
8515
8515
|
cutoff: time,
|
|
8516
8516
|
max_age_ms: milliseconds,
|
|
@@ -8540,7 +8540,7 @@ var counterRefresh = strictObject({
|
|
|
8540
8540
|
complete: optional(boolean())
|
|
8541
8541
|
});
|
|
8542
8542
|
|
|
8543
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8543
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.579.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_c8215ada444796d31d091c0d7a963d03/node_modules/@wirecat/cli-core/dist/entities/document.js
|
|
8544
8544
|
var document = strictObject({
|
|
8545
8545
|
ref: reference,
|
|
8546
8546
|
id,
|
|
@@ -8555,7 +8555,7 @@ var document = strictObject({
|
|
|
8555
8555
|
owners: optional(array(text))
|
|
8556
8556
|
});
|
|
8557
8557
|
|
|
8558
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8558
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.579.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_c8215ada444796d31d091c0d7a963d03/node_modules/@wirecat/cli-core/dist/entities/document-link.js
|
|
8559
8559
|
var documentLink = strictObject({
|
|
8560
8560
|
ref: reference,
|
|
8561
8561
|
url: text,
|
|
@@ -8566,7 +8566,7 @@ var documentLink = strictObject({
|
|
|
8566
8566
|
sender: strictObject({ id: nullable(id), name: nullable(text) })
|
|
8567
8567
|
});
|
|
8568
8568
|
|
|
8569
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8569
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.579.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_c8215ada444796d31d091c0d7a963d03/node_modules/@wirecat/cli-core/dist/entities/evidence.js
|
|
8570
8570
|
var evidenceMessage = pick(message, ["ref", "chat_title", "timestamp", "sender_name", "text"]);
|
|
8571
8571
|
var contribution = strictObject({
|
|
8572
8572
|
message: evidenceMessage,
|
|
@@ -8596,7 +8596,7 @@ var retentionStay = strictObject({
|
|
|
8596
8596
|
});
|
|
8597
8597
|
var evidence = union([contribution, retentionStay]);
|
|
8598
8598
|
|
|
8599
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8599
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.579.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_c8215ada444796d31d091c0d7a963d03/node_modules/@wirecat/cli-core/dist/entities/fact.js
|
|
8600
8600
|
var fact = strictObject({
|
|
8601
8601
|
ref: reference,
|
|
8602
8602
|
id,
|
|
@@ -8626,7 +8626,7 @@ var fact = strictObject({
|
|
|
8626
8626
|
updated_at: time
|
|
8627
8627
|
});
|
|
8628
8628
|
|
|
8629
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8629
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.579.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_c8215ada444796d31d091c0d7a963d03/node_modules/@wirecat/cli-core/dist/entities/hit.js
|
|
8630
8630
|
var hit = strictObject({
|
|
8631
8631
|
kind: picklist(["message", "mail", "note", "document", "event", "meeting"]),
|
|
8632
8632
|
ref: reference,
|
|
@@ -8664,7 +8664,7 @@ var hit = strictObject({
|
|
|
8664
8664
|
untrusted
|
|
8665
8665
|
});
|
|
8666
8666
|
|
|
8667
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8667
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.579.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_c8215ada444796d31d091c0d7a963d03/node_modules/@wirecat/cli-core/dist/entities/identity.js
|
|
8668
8668
|
var identity = strictObject({
|
|
8669
8669
|
ref: reference,
|
|
8670
8670
|
provider: text,
|
|
@@ -8677,7 +8677,7 @@ var identity = strictObject({
|
|
|
8677
8677
|
person: optional(nullable(reference))
|
|
8678
8678
|
});
|
|
8679
8679
|
|
|
8680
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8680
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.579.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_c8215ada444796d31d091c0d7a963d03/node_modules/@wirecat/cli-core/dist/entities/image-embedding.js
|
|
8681
8681
|
var imageEmbedding = strictObject({
|
|
8682
8682
|
model: text,
|
|
8683
8683
|
embedded: count2,
|
|
@@ -8686,13 +8686,13 @@ var imageEmbedding = strictObject({
|
|
|
8686
8686
|
more: boolean()
|
|
8687
8687
|
});
|
|
8688
8688
|
|
|
8689
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8689
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.579.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_c8215ada444796d31d091c0d7a963d03/node_modules/@wirecat/cli-core/dist/services/backfill-jobs.js
|
|
8690
8690
|
import { spawn } from "node:child_process";
|
|
8691
8691
|
import { randomBytes as randomBytes2 } from "node:crypto";
|
|
8692
8692
|
import { closeSync, existsSync as existsSync5, mkdirSync as mkdirSync3, openSync, readdirSync as readdirSync4, readFileSync as readFileSync5, realpathSync, rmSync as rmSync3 } from "node:fs";
|
|
8693
8693
|
import { dirname as dirname2, join as join5 } from "node:path";
|
|
8694
8694
|
|
|
8695
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8695
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.579.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_c8215ada444796d31d091c0d7a963d03/node_modules/@wirecat/cli-core/dist/background/checkpoints.js
|
|
8696
8696
|
var progressOf = /* @__PURE__ */ __name((input) => {
|
|
8697
8697
|
const total = input.total ?? null;
|
|
8698
8698
|
const updated = input.updatedAt ?? null;
|
|
@@ -8708,7 +8708,7 @@ var progressOf = /* @__PURE__ */ __name((input) => {
|
|
|
8708
8708
|
};
|
|
8709
8709
|
}, "progressOf");
|
|
8710
8710
|
|
|
8711
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8711
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.579.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_c8215ada444796d31d091c0d7a963d03/node_modules/@wirecat/cli-core/dist/runs/record-log.js
|
|
8712
8712
|
var recordLogFor = /* @__PURE__ */ __name((to, app, { traceId, command } = {}) => {
|
|
8713
8713
|
const run = currentRun();
|
|
8714
8714
|
const trace = traceId ?? run.traceId;
|
|
@@ -8722,7 +8722,7 @@ var recordLogFor = /* @__PURE__ */ __name((to, app, { traceId, command } = {}) =
|
|
|
8722
8722
|
}));
|
|
8723
8723
|
}, "recordLogFor");
|
|
8724
8724
|
|
|
8725
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8725
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.579.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_c8215ada444796d31d091c0d7a963d03/node_modules/@wirecat/cli-core/dist/services/backfill-jobs.js
|
|
8726
8726
|
var JOB_STATES = ["running", "done", "partial", "failed", "cancelled", "died"];
|
|
8727
8727
|
var spawnDetached = /* @__PURE__ */ __name((argv, env, log) => {
|
|
8728
8728
|
const out = openSync(log, "a", 384);
|
|
@@ -8877,7 +8877,7 @@ var startArchiveJob = /* @__PURE__ */ __name((app, env, profile, input, spawnJob
|
|
|
8877
8877
|
return { job: id6, pid, chat: input.chat, log };
|
|
8878
8878
|
}, "startArchiveJob");
|
|
8879
8879
|
|
|
8880
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8880
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.579.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_c8215ada444796d31d091c0d7a963d03/node_modules/@wirecat/cli-core/dist/entities/job.js
|
|
8881
8881
|
var problem = strictObject({ code: text, message: text });
|
|
8882
8882
|
var job = strictObject({
|
|
8883
8883
|
id,
|
|
@@ -8900,7 +8900,7 @@ var job = strictObject({
|
|
|
8900
8900
|
error: optional(problem)
|
|
8901
8901
|
});
|
|
8902
8902
|
|
|
8903
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8903
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.579.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_c8215ada444796d31d091c0d7a963d03/node_modules/@wirecat/cli-core/dist/entities/join-request.js
|
|
8904
8904
|
var joinRequest = strictObject({
|
|
8905
8905
|
person_id: id,
|
|
8906
8906
|
name: nullable(text),
|
|
@@ -8911,7 +8911,7 @@ var joinRequest = strictObject({
|
|
|
8911
8911
|
about: optional(text)
|
|
8912
8912
|
});
|
|
8913
8913
|
|
|
8914
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8914
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.579.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_c8215ada444796d31d091c0d7a963d03/node_modules/@wirecat/cli-core/dist/entities/knowledge-lists.js
|
|
8915
8915
|
var organization = strictObject({
|
|
8916
8916
|
id,
|
|
8917
8917
|
ref: reference,
|
|
@@ -8941,7 +8941,7 @@ var reminder = strictObject({
|
|
|
8941
8941
|
receipt: nullable(text)
|
|
8942
8942
|
});
|
|
8943
8943
|
|
|
8944
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8944
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.579.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_c8215ada444796d31d091c0d7a963d03/node_modules/@wirecat/cli-core/dist/entities/list-results.js
|
|
8945
8945
|
var botProfile = strictObject({
|
|
8946
8946
|
name: text,
|
|
8947
8947
|
token: text,
|
|
@@ -9009,7 +9009,7 @@ var stickerInventory = strictObject({
|
|
|
9009
9009
|
url: optional(nullable(text))
|
|
9010
9010
|
});
|
|
9011
9011
|
|
|
9012
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9012
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.579.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_c8215ada444796d31d091c0d7a963d03/node_modules/@wirecat/cli-core/dist/entities/poll-vote.js
|
|
9013
9013
|
var pollVote = strictObject({
|
|
9014
9014
|
person_id: id,
|
|
9015
9015
|
name: nullable(text),
|
|
@@ -9019,7 +9019,7 @@ var pollVote = strictObject({
|
|
|
9019
9019
|
voted_at: time
|
|
9020
9020
|
});
|
|
9021
9021
|
|
|
9022
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9022
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.579.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_c8215ada444796d31d091c0d7a963d03/node_modules/@wirecat/cli-core/dist/entities/listener.js
|
|
9023
9023
|
var reactions = unwrap(unwrap(message.entries.reactions));
|
|
9024
9024
|
var observation = strictObject({
|
|
9025
9025
|
value: pipe(number(), minValue(0)),
|
|
@@ -9061,7 +9061,7 @@ var serveSummary = strictObject({
|
|
|
9061
9061
|
tasks: optional(strictObject({ added: count2, closed: count2, review: count2 }))
|
|
9062
9062
|
});
|
|
9063
9063
|
|
|
9064
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9064
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.579.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_c8215ada444796d31d091c0d7a963d03/node_modules/@wirecat/cli-core/dist/entities/mail-counts.js
|
|
9065
9065
|
var mailCounts = strictObject({
|
|
9066
9066
|
by: picklist(["day", "week", "sender"]),
|
|
9067
9067
|
received: count2,
|
|
@@ -9076,7 +9076,7 @@ var mailCounts = strictObject({
|
|
|
9076
9076
|
}))
|
|
9077
9077
|
});
|
|
9078
9078
|
|
|
9079
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9079
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.579.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_c8215ada444796d31d091c0d7a963d03/node_modules/@wirecat/cli-core/dist/entities/mail-findings.js
|
|
9080
9080
|
var evidence2 = strictObject({ reference, fingerprint: text });
|
|
9081
9081
|
var base = { id, evidence: array(evidence2) };
|
|
9082
9082
|
var finding = variant("kind", [
|
|
@@ -9208,7 +9208,7 @@ var mailFindings = strictObject({
|
|
|
9208
9208
|
receipt: nullable(strictObject({ preview_fingerprint: text, accepted: array(id), items: array(outcome) }))
|
|
9209
9209
|
});
|
|
9210
9210
|
|
|
9211
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9211
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.579.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_c8215ada444796d31d091c0d7a963d03/node_modules/@wirecat/cli-core/dist/entities/media-archive.js
|
|
9212
9212
|
var mediaArchive = strictObject({
|
|
9213
9213
|
directory: text,
|
|
9214
9214
|
chats: count2,
|
|
@@ -9240,7 +9240,7 @@ var mediaArchiveTimer = union([
|
|
|
9240
9240
|
strictObject({ ...timer, action: picklist(["install", "start", "stop", "uninstall"]) })
|
|
9241
9241
|
]);
|
|
9242
9242
|
|
|
9243
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9243
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.579.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_c8215ada444796d31d091c0d7a963d03/node_modules/@wirecat/cli-core/dist/entities/meeting-preparation-parts.js
|
|
9244
9244
|
var preparationId = pipe(string(), minLength(1));
|
|
9245
9245
|
var preparationCount = pipe(number(), integer(), minValue(0));
|
|
9246
9246
|
var preparationTime = nullable(isoTime);
|
|
@@ -9332,7 +9332,7 @@ var preparationMeeting = strictObject({
|
|
|
9332
9332
|
updated_at: isoTime
|
|
9333
9333
|
});
|
|
9334
9334
|
|
|
9335
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9335
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.579.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_c8215ada444796d31d091c0d7a963d03/node_modules/@wirecat/cli-core/dist/entities/meeting-evidence.js
|
|
9336
9336
|
var meetingEvidence = preparationEvidence;
|
|
9337
9337
|
var meetingPersonContext = strictObject({
|
|
9338
9338
|
person: strictObject({ uid: string(), name: nullable(string()) }),
|
|
@@ -9354,7 +9354,7 @@ var meetingPersonContext = strictObject({
|
|
|
9354
9354
|
})
|
|
9355
9355
|
});
|
|
9356
9356
|
|
|
9357
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9357
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.579.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_c8215ada444796d31d091c0d7a963d03/node_modules/@wirecat/cli-core/dist/entities/meeting-findings.js
|
|
9358
9358
|
var evidence3 = strictObject({ reference, fingerprint: text });
|
|
9359
9359
|
var base2 = { id, project: reference, evidence: array(evidence3) };
|
|
9360
9360
|
var finding2 = variant("kind", [
|
|
@@ -9392,7 +9392,7 @@ var meetingFindings = strictObject({
|
|
|
9392
9392
|
receipt: nullable(strictObject({ preview_fingerprint: text, accepted: array(id), items: array(outcome2) }))
|
|
9393
9393
|
});
|
|
9394
9394
|
|
|
9395
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9395
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.579.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_c8215ada444796d31d091c0d7a963d03/node_modules/@wirecat/cli-core/dist/entities/meeting-communications.js
|
|
9396
9396
|
var communicationCoverage = strictObject({
|
|
9397
9397
|
read_usage: strictObject({ reads: preparationCount, charged_bytes: preparationCount, reserved_bytes: preparationCount, remaining_bytes: preparationCount }),
|
|
9398
9398
|
query: string(),
|
|
@@ -9437,7 +9437,7 @@ var preparationCommunications = strictObject({
|
|
|
9437
9437
|
}))
|
|
9438
9438
|
});
|
|
9439
9439
|
|
|
9440
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9440
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.579.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_c8215ada444796d31d091c0d7a963d03/node_modules/@wirecat/cli-core/dist/entities/meeting-preparation.js
|
|
9441
9441
|
var meetingPreparation = strictObject({
|
|
9442
9442
|
communications: optional(preparationCommunications),
|
|
9443
9443
|
schema_version: literal(1),
|
|
@@ -9550,7 +9550,7 @@ var meetingPreparation = strictObject({
|
|
|
9550
9550
|
})
|
|
9551
9551
|
});
|
|
9552
9552
|
|
|
9553
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9553
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.579.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_c8215ada444796d31d091c0d7a963d03/node_modules/@wirecat/cli-core/dist/entities/meeting-project-candidates.js
|
|
9554
9554
|
var count4 = pipe(number(), integer(), minValue(0));
|
|
9555
9555
|
var id3 = pipe(string(), minLength(1));
|
|
9556
9556
|
var text3 = string();
|
|
@@ -9614,7 +9614,7 @@ var meetingProjectCandidates = strictObject({
|
|
|
9614
9614
|
})
|
|
9615
9615
|
});
|
|
9616
9616
|
|
|
9617
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9617
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.579.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_c8215ada444796d31d091c0d7a963d03/node_modules/@wirecat/cli-core/dist/entities/meeting-series-inventory.js
|
|
9618
9618
|
var count5 = pipe(number(), integer(), minValue(0));
|
|
9619
9619
|
var id4 = pipe(string(), minLength(1), maxLength(1e3));
|
|
9620
9620
|
var meetingSeriesInventory = strictObject({
|
|
@@ -9644,7 +9644,7 @@ var meetingSeriesInventory = strictObject({
|
|
|
9644
9644
|
})
|
|
9645
9645
|
});
|
|
9646
9646
|
|
|
9647
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9647
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.579.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_c8215ada444796d31d091c0d7a963d03/node_modules/@wirecat/cli-core/dist/entities/meeting-task-proposal.js
|
|
9648
9648
|
var text4 = string();
|
|
9649
9649
|
var id5 = pipe(number(), integer(), minValue(1));
|
|
9650
9650
|
var revision = picklist(["current", "superseded"]);
|
|
@@ -9661,7 +9661,7 @@ var meetingTaskProposal = strictObject({
|
|
|
9661
9661
|
persistence: literal("proposal-only")
|
|
9662
9662
|
});
|
|
9663
9663
|
|
|
9664
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9664
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.579.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_c8215ada444796d31d091c0d7a963d03/node_modules/@wirecat/cli-core/dist/entities/memory.js
|
|
9665
9665
|
var memory = strictObject({
|
|
9666
9666
|
ref: reference,
|
|
9667
9667
|
id,
|
|
@@ -9688,7 +9688,7 @@ var memory = strictObject({
|
|
|
9688
9688
|
updated_at: time
|
|
9689
9689
|
});
|
|
9690
9690
|
|
|
9691
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9691
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.579.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_c8215ada444796d31d091c0d7a963d03/node_modules/@wirecat/cli-core/dist/entities/mention.js
|
|
9692
9692
|
var kind = picklist(["phone", "email", "url", "document", "person-name", "place"]);
|
|
9693
9693
|
var status = picklist(["found", "linked", "dismissed"]);
|
|
9694
9694
|
var mention = strictObject({
|
|
@@ -9731,13 +9731,13 @@ var mentionRebuild = strictObject({
|
|
|
9731
9731
|
mentions: count2
|
|
9732
9732
|
});
|
|
9733
9733
|
|
|
9734
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9734
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.579.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_c8215ada444796d31d091c0d7a963d03/node_modules/@wirecat/cli-core/dist/entities/message-change.js
|
|
9735
9735
|
var operated3 = { operation_id: id, chat_id: id };
|
|
9736
9736
|
var messagePin = strictObject({ ...operated3, message_id: id, pinned: boolean() });
|
|
9737
9737
|
var messageStar = strictObject({ ...operated3, message_id: id, starred: boolean() });
|
|
9738
9738
|
var messageDeletion = strictObject({ ...operated3, deleted: array(id), for_everyone: boolean() });
|
|
9739
9739
|
|
|
9740
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9740
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.579.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_c8215ada444796d31d091c0d7a963d03/node_modules/@wirecat/cli-core/dist/entities/message-read.js
|
|
9741
9741
|
var messageTranscript = strictObject({
|
|
9742
9742
|
message_id: id,
|
|
9743
9743
|
text,
|
|
@@ -9795,7 +9795,7 @@ var evidencePacket = strictObject({
|
|
|
9795
9795
|
}))
|
|
9796
9796
|
});
|
|
9797
9797
|
|
|
9798
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9798
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.579.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_c8215ada444796d31d091c0d7a963d03/node_modules/@wirecat/cli-core/dist/entities/message-context.js
|
|
9799
9799
|
var messageThread = strictObject({
|
|
9800
9800
|
ref: reference,
|
|
9801
9801
|
chat: id,
|
|
@@ -9812,7 +9812,7 @@ var messageThread = strictObject({
|
|
|
9812
9812
|
});
|
|
9813
9813
|
var messageContext = union([message, messageThread]);
|
|
9814
9814
|
|
|
9815
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9815
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.579.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_c8215ada444796d31d091c0d7a963d03/node_modules/@wirecat/cli-core/dist/entities/message-counts.js
|
|
9816
9816
|
var messageCounts = strictObject({
|
|
9817
9817
|
by: picklist(["chat", "sender", "day", "hour"]),
|
|
9818
9818
|
total: count2,
|
|
@@ -9825,7 +9825,7 @@ var messageCounts = strictObject({
|
|
|
9825
9825
|
}))
|
|
9826
9826
|
});
|
|
9827
9827
|
|
|
9828
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9828
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.579.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_c8215ada444796d31d091c0d7a963d03/node_modules/@wirecat/cli-core/dist/entities/message-link.js
|
|
9829
9829
|
var messageLink = strictObject({
|
|
9830
9830
|
ref: reference,
|
|
9831
9831
|
url: nullable(text),
|
|
@@ -9842,7 +9842,7 @@ var messageLink = strictObject({
|
|
|
9842
9842
|
})))
|
|
9843
9843
|
});
|
|
9844
9844
|
|
|
9845
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9845
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.579.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_c8215ada444796d31d091c0d7a963d03/node_modules/@wirecat/cli-core/dist/entities/message-transfer.js
|
|
9846
9846
|
var savedMessageFile = strictObject({
|
|
9847
9847
|
kind: text,
|
|
9848
9848
|
path: text,
|
|
@@ -9929,7 +9929,7 @@ var messageSyncAll = strictObject({
|
|
|
9929
9929
|
var messageSyncStarted = strictObject({ job: id, pid: count2, chat: text, log: text });
|
|
9930
9930
|
var messageSync = union([messageSyncEstimate, messageSyncChat, messageSyncAll, messageSyncStarted]);
|
|
9931
9931
|
|
|
9932
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9932
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.579.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_c8215ada444796d31d091c0d7a963d03/node_modules/@wirecat/cli-core/dist/entities/message-write.js
|
|
9933
9933
|
var messageWrite = strictObject({
|
|
9934
9934
|
operation_id: id,
|
|
9935
9935
|
message,
|
|
@@ -9944,7 +9944,7 @@ var draftWrite = strictObject({
|
|
|
9944
9944
|
});
|
|
9945
9945
|
var messageSend = union([messageWrite, draftWrite]);
|
|
9946
9946
|
|
|
9947
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9947
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.579.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_c8215ada444796d31d091c0d7a963d03/node_modules/@wirecat/cli-core/dist/entities/model.js
|
|
9948
9948
|
var model2 = strictObject({
|
|
9949
9949
|
id,
|
|
9950
9950
|
kind: picklist(["audio", "text", "image", "reranker"]),
|
|
@@ -9961,7 +9961,7 @@ var model2 = strictObject({
|
|
|
9961
9961
|
path: text
|
|
9962
9962
|
});
|
|
9963
9963
|
|
|
9964
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9964
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.579.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_c8215ada444796d31d091c0d7a963d03/node_modules/@wirecat/cli-core/dist/entities/model-key.js
|
|
9965
9965
|
var source = picklist(["environment", "keyring", "file"]);
|
|
9966
9966
|
var modelKey = strictObject({
|
|
9967
9967
|
provider: text,
|
|
@@ -9971,7 +9971,7 @@ var modelKey = strictObject({
|
|
|
9971
9971
|
var storedModelKey = strictObject({ ...omit(modelKey, ["removed"]).entries, stored: source });
|
|
9972
9972
|
var removedModelKey = strictObject({ ...omit(modelKey, ["stored"]).entries, removed: array(source) });
|
|
9973
9973
|
|
|
9974
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9974
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.579.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_c8215ada444796d31d091c0d7a963d03/node_modules/@wirecat/cli-core/dist/entities/note.js
|
|
9975
9975
|
var link = {
|
|
9976
9976
|
target_text: nullable(text),
|
|
9977
9977
|
kind: text,
|
|
@@ -10012,7 +10012,7 @@ var note = strictObject({
|
|
|
10012
10012
|
backlinks: optional(array(strictObject({ from: reference, ...link })))
|
|
10013
10013
|
});
|
|
10014
10014
|
|
|
10015
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10015
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.579.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_c8215ada444796d31d091c0d7a963d03/node_modules/@wirecat/cli-core/dist/entities/official-stats.js
|
|
10016
10016
|
var versus = strictObject({ current: number(), previous: number() });
|
|
10017
10017
|
var person = { person_ref: reference, name: nullable(text) };
|
|
10018
10018
|
var graph = strictObject({
|
|
@@ -10046,14 +10046,14 @@ var officialStats = strictObject({
|
|
|
10046
10046
|
graphs: record(string(), union([graph, strictObject({ error: text })]))
|
|
10047
10047
|
});
|
|
10048
10048
|
|
|
10049
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10049
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.579.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_c8215ada444796d31d091c0d7a963d03/node_modules/@wirecat/cli-core/dist/entities/person.js
|
|
10050
10050
|
var person2 = strictObject({
|
|
10051
10051
|
ref: reference,
|
|
10052
10052
|
name: nullable(text),
|
|
10053
10053
|
identities: optional(array(identity))
|
|
10054
10054
|
});
|
|
10055
10055
|
|
|
10056
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10056
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.579.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_c8215ada444796d31d091c0d7a963d03/node_modules/@wirecat/cli-core/dist/entities/poll.js
|
|
10057
10057
|
var poll = strictObject({
|
|
10058
10058
|
chat_id: id,
|
|
10059
10059
|
message_id: id,
|
|
@@ -10069,11 +10069,11 @@ var poll = strictObject({
|
|
|
10069
10069
|
});
|
|
10070
10070
|
var pollChange = strictObject({ operation_id: id, poll });
|
|
10071
10071
|
|
|
10072
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10072
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.579.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_c8215ada444796d31d091c0d7a963d03/node_modules/@wirecat/cli-core/dist/entities/private-contact.js
|
|
10073
10073
|
var contactAlias = strictObject({ person_id: id, alias: nullable(text) });
|
|
10074
10074
|
var contactNoteRemoval = strictObject({ id, person_id: id, removed: boolean() });
|
|
10075
10075
|
|
|
10076
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10076
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.579.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_c8215ada444796d31d091c0d7a963d03/node_modules/@wirecat/cli-core/dist/entities/ranking.js
|
|
10077
10077
|
var figures = record(string(), number());
|
|
10078
10078
|
var freshness = picklist(["fresh", "stale", "partial", "unknown"]);
|
|
10079
10079
|
var rankingRow = strictObject({
|
|
@@ -10120,7 +10120,7 @@ var ranking = strictObject({
|
|
|
10120
10120
|
rows: array(rankingRow)
|
|
10121
10121
|
});
|
|
10122
10122
|
|
|
10123
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10123
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.579.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_c8215ada444796d31d091c0d7a963d03/node_modules/@wirecat/cli-core/dist/entities/reaction.js
|
|
10124
10124
|
var reaction = strictObject({
|
|
10125
10125
|
person: strictObject({ id, name: nullable(text), username: nullable(text) }),
|
|
10126
10126
|
/** The emoji, or `custom:<id>` for a custom one. */
|
|
@@ -10128,7 +10128,7 @@ var reaction = strictObject({
|
|
|
10128
10128
|
reacted_at: time
|
|
10129
10129
|
});
|
|
10130
10130
|
|
|
10131
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10131
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.579.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_c8215ada444796d31d091c0d7a963d03/node_modules/@wirecat/cli-core/dist/entities/reaction-change.js
|
|
10132
10132
|
var reactionChange = strictObject({
|
|
10133
10133
|
operation_id: id,
|
|
10134
10134
|
chat_id: id,
|
|
@@ -10136,7 +10136,7 @@ var reactionChange = strictObject({
|
|
|
10136
10136
|
reaction: nullable(text)
|
|
10137
10137
|
});
|
|
10138
10138
|
|
|
10139
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10139
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.579.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_c8215ada444796d31d091c0d7a963d03/node_modules/@wirecat/cli-core/dist/entities/recipient.js
|
|
10140
10140
|
var recipient = strictObject({ id, title: nullable(text), partner_id: optional(id), added_at: time });
|
|
10141
10141
|
var recipientAdded = strictObject({ id, title: nullable(text), added: boolean() });
|
|
10142
10142
|
var recipientRemoved = strictObject({ id, title: nullable(text), removed: boolean() });
|
|
@@ -10147,7 +10147,7 @@ var recipientChange = strictObject({
|
|
|
10147
10147
|
...partial(recipientOff).entries
|
|
10148
10148
|
});
|
|
10149
10149
|
|
|
10150
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10150
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.579.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_c8215ada444796d31d091c0d7a963d03/node_modules/@wirecat/cli-core/dist/entities/recorded-run.js
|
|
10151
10151
|
var events = array(record(string(), unknown()));
|
|
10152
10152
|
var recordedRun = strictObject({
|
|
10153
10153
|
run_id: id,
|
|
@@ -10219,7 +10219,7 @@ var runHit = strictObject({
|
|
|
10219
10219
|
});
|
|
10220
10220
|
var runLocation = strictObject({ path: text });
|
|
10221
10221
|
|
|
10222
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10222
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.579.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_c8215ada444796d31d091c0d7a963d03/node_modules/@wirecat/cli-core/dist/entities/relationship.js
|
|
10223
10223
|
var relationship = strictObject({
|
|
10224
10224
|
id,
|
|
10225
10225
|
from: reference,
|
|
@@ -10236,7 +10236,7 @@ var relationship = strictObject({
|
|
|
10236
10236
|
created_at: time
|
|
10237
10237
|
});
|
|
10238
10238
|
|
|
10239
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10239
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.579.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_c8215ada444796d31d091c0d7a963d03/node_modules/@wirecat/cli-core/dist/entities/reply-stats.js
|
|
10240
10240
|
var milliseconds2 = nullable(pipe(number(), minValue(0)));
|
|
10241
10241
|
var figures2 = { replies: count2, median_ms: milliseconds2, p90_ms: milliseconds2, mean_ms: milliseconds2 };
|
|
10242
10242
|
var responseTimes = strictObject({
|
|
@@ -10253,7 +10253,7 @@ var waitingChats = strictObject({
|
|
|
10253
10253
|
by_kind: strictObject({ private: count2, group: count2 })
|
|
10254
10254
|
});
|
|
10255
10255
|
|
|
10256
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10256
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.579.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_c8215ada444796d31d091c0d7a963d03/node_modules/@wirecat/cli-core/dist/entities/retention.js
|
|
10257
10257
|
var retentionCohort = strictObject({
|
|
10258
10258
|
/** The first day of the joining day or week. */
|
|
10259
10259
|
cohort: text,
|
|
@@ -10301,7 +10301,7 @@ var retention = strictObject({
|
|
|
10301
10301
|
rows: array(retentionCohort)
|
|
10302
10302
|
});
|
|
10303
10303
|
|
|
10304
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10304
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.579.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_c8215ada444796d31d091c0d7a963d03/node_modules/@wirecat/cli-core/dist/entities/saved-search.js
|
|
10305
10305
|
var savedSearch = strictObject({
|
|
10306
10306
|
id,
|
|
10307
10307
|
/** `null` for a run in the history. */
|
|
@@ -10318,7 +10318,7 @@ var savedSearch = strictObject({
|
|
|
10318
10318
|
});
|
|
10319
10319
|
var searchHistoryClear = strictObject({ cleared: count2 });
|
|
10320
10320
|
|
|
10321
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10321
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.579.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_c8215ada444796d31d091c0d7a963d03/node_modules/@wirecat/cli-core/dist/entities/send-attempt.js
|
|
10322
10322
|
var sendAttempt = strictObject({
|
|
10323
10323
|
at: time,
|
|
10324
10324
|
profile: text,
|
|
@@ -10346,7 +10346,7 @@ var sendAttempt = strictObject({
|
|
|
10346
10346
|
error_code: optional(text)
|
|
10347
10347
|
});
|
|
10348
10348
|
|
|
10349
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10349
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.579.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_c8215ada444796d31d091c0d7a963d03/node_modules/@wirecat/cli-core/dist/entities/store-maintenance.js
|
|
10350
10350
|
var absent = strictObject({ path: text, exists: literal(false) });
|
|
10351
10351
|
var schema = strictObject({ version: count2, min_compatible: count2, writable: boolean(), speaks: count2 });
|
|
10352
10352
|
var infoSchema = strictObject({
|
|
@@ -10554,7 +10554,7 @@ var storeRepair = union([
|
|
|
10554
10554
|
]);
|
|
10555
10555
|
var storeCopyRemoval = strictObject({ path: text, deleted: strictObject({ name: text, rows: count2 }) });
|
|
10556
10556
|
|
|
10557
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10557
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.579.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_c8215ada444796d31d091c0d7a963d03/node_modules/@wirecat/cli-core/dist/entities/store-records.js
|
|
10558
10558
|
var range = strictObject({ from: number(), to: number() });
|
|
10559
10559
|
var storeChatStatus = strictObject({
|
|
10560
10560
|
chat_id: id,
|
|
@@ -10652,7 +10652,7 @@ var storeJobRetry = union([
|
|
|
10652
10652
|
]);
|
|
10653
10653
|
var storeJobClear = strictObject({ cleared: array(id) });
|
|
10654
10654
|
|
|
10655
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10655
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.579.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_c8215ada444796d31d091c0d7a963d03/node_modules/@wirecat/cli-core/dist/entities/store-table.js
|
|
10656
10656
|
var TABLE_KINDS = ["data", "search_index", "search_index_part", "internal"];
|
|
10657
10657
|
var storeTable = strictObject({
|
|
10658
10658
|
name: text,
|
|
@@ -10661,7 +10661,7 @@ var storeTable = strictObject({
|
|
|
10661
10661
|
bytes: optional(nullable(count2))
|
|
10662
10662
|
});
|
|
10663
10663
|
|
|
10664
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10664
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.579.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_c8215ada444796d31d091c0d7a963d03/node_modules/@wirecat/cli-core/dist/entities/tag-change.js
|
|
10665
10665
|
var tagTarget = variant("type", [
|
|
10666
10666
|
strictObject({ type: literal("chat"), chat_id: id }),
|
|
10667
10667
|
strictObject({ type: literal("contact"), person_id: id }),
|
|
@@ -10692,7 +10692,7 @@ var automaticTags = strictObject({
|
|
|
10692
10692
|
dry_run: boolean()
|
|
10693
10693
|
});
|
|
10694
10694
|
|
|
10695
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10695
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.579.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_c8215ada444796d31d091c0d7a963d03/node_modules/@wirecat/cli-core/dist/entities/tagging.js
|
|
10696
10696
|
var tagging = strictObject({
|
|
10697
10697
|
tag: text,
|
|
10698
10698
|
type: picklist(TAG_TYPES),
|
|
@@ -10705,7 +10705,7 @@ var tagging = strictObject({
|
|
|
10705
10705
|
created_at: time
|
|
10706
10706
|
});
|
|
10707
10707
|
|
|
10708
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10708
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.579.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_c8215ada444796d31d091c0d7a963d03/node_modules/@wirecat/cli-core/dist/entities/task-pair.js
|
|
10709
10709
|
var side = strictObject({ ref: reference, key: text, title: text, status: text });
|
|
10710
10710
|
var taskPair = strictObject({
|
|
10711
10711
|
task: nullable(side),
|
|
@@ -10728,7 +10728,7 @@ var taskPair = strictObject({
|
|
|
10728
10728
|
created_at: time
|
|
10729
10729
|
});
|
|
10730
10730
|
|
|
10731
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10731
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.579.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_c8215ada444796d31d091c0d7a963d03/node_modules/@wirecat/cli-core/dist/entities/task-results.js
|
|
10732
10732
|
var nullableTime = nullable(time);
|
|
10733
10733
|
var link2 = strictObject({
|
|
10734
10734
|
id,
|
|
@@ -10902,7 +10902,7 @@ var taskReview = strictObject({
|
|
|
10902
10902
|
untrusted
|
|
10903
10903
|
});
|
|
10904
10904
|
|
|
10905
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10905
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.579.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_c8215ada444796d31d091c0d7a963d03/node_modules/@wirecat/cli-core/dist/entities/topic.js
|
|
10906
10906
|
var topic = strictObject({
|
|
10907
10907
|
id,
|
|
10908
10908
|
title: text,
|
|
@@ -10916,7 +10916,7 @@ var topic = strictObject({
|
|
|
10916
10916
|
untrusted
|
|
10917
10917
|
});
|
|
10918
10918
|
|
|
10919
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10919
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.579.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_c8215ada444796d31d091c0d7a963d03/node_modules/@wirecat/cli-core/dist/entities/index.js
|
|
10920
10920
|
var ENTITIES = {
|
|
10921
10921
|
sync_progress: progress,
|
|
10922
10922
|
...MEETING_RESULT_ENTITIES,
|
|
@@ -11198,7 +11198,7 @@ var entityDefinitions = /* @__PURE__ */ __name(() => Object.fromEntries(Object.e
|
|
|
11198
11198
|
return [name, definition];
|
|
11199
11199
|
})), "entityDefinitions");
|
|
11200
11200
|
|
|
11201
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11201
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.579.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_c8215ada444796d31d091c0d7a963d03/node_modules/@wirecat/cli-core/dist/cli/answer-entity.js
|
|
11202
11202
|
var schemas = /* @__PURE__ */ new WeakMap();
|
|
11203
11203
|
var answerEntity = /* @__PURE__ */ __name((command, name, schema2, options = {}) => {
|
|
11204
11204
|
if (Object.hasOwn(ENTITIES, name))
|
|
@@ -11232,7 +11232,7 @@ var answerRow = /* @__PURE__ */ __name((command) => {
|
|
|
11232
11232
|
return own && metaOf(command).output?.entity === own.name ? own.row : void 0;
|
|
11233
11233
|
}, "answerRow");
|
|
11234
11234
|
|
|
11235
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11235
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.579.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_c8215ada444796d31d091c0d7a963d03/node_modules/@wirecat/cli-core/dist/images/picture/models.js
|
|
11236
11236
|
import { join as join6 } from "node:path";
|
|
11237
11237
|
var clip = /* @__PURE__ */ __name((name) => `https://huggingface.co/Xenova/clip-vit-base-patch32/resolve/d15189d7028b43f1d3e65039190477f6af591c2a/${name}`, "clip");
|
|
11238
11238
|
var IMAGE_MODELS = [
|
|
@@ -11286,7 +11286,7 @@ var imageModelsDirectory = /* @__PURE__ */ __name((env = process.env) => sharedM
|
|
|
11286
11286
|
var placedImage = /* @__PURE__ */ __name((model3, directory) => model3.files.map((file) => [file, join6(directory, model3.id, file.name)]), "placedImage");
|
|
11287
11287
|
var isImageModelInstalled = /* @__PURE__ */ __name((model3, directory) => filesPresent(placedImage(model3, directory)), "isImageModelInstalled");
|
|
11288
11288
|
|
|
11289
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11289
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.579.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_c8215ada444796d31d091c0d7a963d03/node_modules/@wirecat/cli-core/dist/cli/steps.js
|
|
11290
11290
|
var STEPS2 = defineSteps([
|
|
11291
11291
|
...STEPS,
|
|
11292
11292
|
{
|
|
@@ -11558,22 +11558,13 @@ var stepLine = /* @__PURE__ */ __name((root, step2) => {
|
|
|
11558
11558
|
].join(" ");
|
|
11559
11559
|
}, "stepLine");
|
|
11560
11560
|
|
|
11561
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11562
|
-
var where = [{ field: "ref" }
|
|
11561
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.579.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_c8215ada444796d31d091c0d7a963d03/node_modules/@wirecat/cli-core/dist/cli/project-status-rows.js
|
|
11562
|
+
var where = [{ field: "ref" }];
|
|
11563
11563
|
var who2 = { field: ["who.owner", "who.name"], tag: "you" };
|
|
11564
|
+
var ON_CHAT_ROW = /* @__PURE__ */ new Set(["reply-next", "coverage"]);
|
|
11564
11565
|
var STATUS_SIGNAL_ROWS = {
|
|
11565
|
-
"status.last-message": { columns: [...where, { field: "at", as: "time" }, who2] },
|
|
11566
|
-
"status.reply-next": {
|
|
11567
|
-
columns: [
|
|
11568
|
-
...where,
|
|
11569
|
-
{ field: "data.next" },
|
|
11570
|
-
{ field: "data.addressed.name" },
|
|
11571
|
-
{ field: "data.waiting_since", as: "day" },
|
|
11572
|
-
{ field: "data.overdue", tag: "overdue" }
|
|
11573
|
-
]
|
|
11574
|
-
},
|
|
11575
11566
|
"status.questions": {
|
|
11576
|
-
columns: [...where, { field: "at", as: "day" },
|
|
11567
|
+
columns: [...where, { field: "at", as: "day" }, who2],
|
|
11577
11568
|
text: ["data.excerpt"]
|
|
11578
11569
|
},
|
|
11579
11570
|
"status.promises": {
|
|
@@ -11607,21 +11598,10 @@ var STATUS_SIGNAL_ROWS = {
|
|
|
11607
11598
|
columns: [
|
|
11608
11599
|
...where,
|
|
11609
11600
|
{ field: "data.query" },
|
|
11610
|
-
{ field: "data.theirs_last", as: "day" },
|
|
11611
11601
|
{ field: "data.yours_last", as: "day" },
|
|
11612
11602
|
{ field: "data.silent_since", as: "day" }
|
|
11613
11603
|
]
|
|
11614
11604
|
},
|
|
11615
|
-
"status.coverage": {
|
|
11616
|
-
columns: [
|
|
11617
|
-
{ field: "chat" },
|
|
11618
|
-
{ field: "chat_title" },
|
|
11619
|
-
{ field: "data.state" },
|
|
11620
|
-
{ field: "data.held.messages", as: "count", tag: "held" },
|
|
11621
|
-
{ field: "data.held.oldest_at", as: "day" },
|
|
11622
|
-
{ field: "sync_command" }
|
|
11623
|
-
]
|
|
11624
|
-
},
|
|
11625
11605
|
"status.children": {
|
|
11626
11606
|
columns: [
|
|
11627
11607
|
{ field: "data.child" },
|
|
@@ -11638,10 +11618,14 @@ var STATUS_ROWS = {
|
|
|
11638
11618
|
columns: [
|
|
11639
11619
|
{ field: "chat" },
|
|
11640
11620
|
{ field: "title" },
|
|
11641
|
-
{ field: "kind" },
|
|
11642
11621
|
{ field: "role" },
|
|
11643
|
-
{ field: "
|
|
11644
|
-
{ field: "
|
|
11622
|
+
{ field: "next", prefix: "next" },
|
|
11623
|
+
{ field: "addressed.name" },
|
|
11624
|
+
{ field: "waiting_since", as: "day" },
|
|
11625
|
+
{ field: "overdue", tag: "overdue" },
|
|
11626
|
+
{ field: "held.messages", as: "count", tag: "held" },
|
|
11627
|
+
{ field: "unlisted.questions", as: "count", tag: "questions unlisted" },
|
|
11628
|
+
{ field: "unlisted.promises", as: "count", tag: "promises unlisted" }
|
|
11645
11629
|
]
|
|
11646
11630
|
},
|
|
11647
11631
|
"status.money": {
|
|
@@ -11652,7 +11636,6 @@ var STATUS_ROWS = {
|
|
|
11652
11636
|
{ field: "rows", as: "count", tag: "rows" }
|
|
11653
11637
|
]
|
|
11654
11638
|
},
|
|
11655
|
-
"status.signal": { columns: [{ field: "id" }, { field: "version" }] },
|
|
11656
11639
|
"status.out-of-scope": {
|
|
11657
11640
|
columns: [
|
|
11658
11641
|
{ field: "chat" },
|
|
@@ -11667,7 +11650,7 @@ var STATUS_ROWS = {
|
|
|
11667
11650
|
"status.failed": { columns: [{ field: "signal" }], text: ["why"] }
|
|
11668
11651
|
};
|
|
11669
11652
|
|
|
11670
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11653
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.579.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_c8215ada444796d31d091c0d7a963d03/node_modules/@wirecat/cli-core/dist/cli/compact.js
|
|
11671
11654
|
var TEXT_CHARS = 400;
|
|
11672
11655
|
var sender = { field: ["sender_is_me", "sender_name"], tag: "me" };
|
|
11673
11656
|
var messageRow = {
|
|
@@ -11989,7 +11972,7 @@ var compactText = /* @__PURE__ */ __name((body, shape, options, rowsOf = rowsOfE
|
|
|
11989
11972
|
lines = (header.length ? [`# ${header.join(" \xB7 ")}`] : []).concat(rows2.length ? rows2 : ["# nothing found"]);
|
|
11990
11973
|
} else if (isFields(body.item)) {
|
|
11991
11974
|
const sections = shape.sections ?? {};
|
|
11992
|
-
const rest = Object.fromEntries(Object.entries(body.item).filter(([name]) => !Object.hasOwn(sections, name)));
|
|
11975
|
+
const rest = Object.fromEntries(Object.entries(body.item).filter(([name]) => !Object.hasOwn(sections, name) && !shape.hidden?.includes(name)));
|
|
11993
11976
|
lines = blockOf(rest, chars, "", shape.whole).map(guarded);
|
|
11994
11977
|
for (const [name, entity] of Object.entries(sections)) {
|
|
11995
11978
|
const list = body.item[name];
|
|
@@ -12003,7 +11986,7 @@ var compactText = /* @__PURE__ */ __name((body, shape, options, rowsOf = rowsOfE
|
|
|
12003
11986
|
return lines.concat(footerOf(body)).join("\n");
|
|
12004
11987
|
}, "compactText");
|
|
12005
11988
|
|
|
12006
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11989
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.579.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_c8215ada444796d31d091c0d7a963d03/node_modules/@wirecat/cli-core/dist/cli/output-budget.js
|
|
12007
11990
|
var SOFT_OUTPUT_BYTES = 256 * 1024;
|
|
12008
11991
|
var CARRIED = ["json", "compact", "offline", "timeout", "full", "brief", "maxOutputBytes"];
|
|
12009
11992
|
var NOT_WITH_COMPACT = /* @__PURE__ */ new Set(["json", "brief"]);
|
|
@@ -12050,7 +12033,7 @@ var largeAnswerSteps = /* @__PURE__ */ __name((command) => {
|
|
|
12050
12033
|
return args ? compactStep(command, args, "the answer is large as JSON; one line per item keeps every ref") : [];
|
|
12051
12034
|
}, "largeAnswerSteps");
|
|
12052
12035
|
|
|
12053
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
12036
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.579.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_c8215ada444796d31d091c0d7a963d03/node_modules/@wirecat/cli-core/dist/cli/provider-refs.js
|
|
12054
12037
|
var HIDDEN = /* @__PURE__ */ new Set(["providerRef", "provider_ref"]);
|
|
12055
12038
|
var withoutProviderRefs = /* @__PURE__ */ __name((value) => strip(value), "withoutProviderRefs");
|
|
12056
12039
|
var strip = /* @__PURE__ */ __name((value) => {
|
|
@@ -12064,7 +12047,7 @@ var strip = /* @__PURE__ */ __name((value) => {
|
|
|
12064
12047
|
return Object.fromEntries(Object.entries(value).flatMap(([key, inner]) => HIDDEN.has(key) ? [] : [[key, strip(inner)]]));
|
|
12065
12048
|
}, "strip");
|
|
12066
12049
|
|
|
12067
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
12050
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.579.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_c8215ada444796d31d091c0d7a963d03/node_modules/@wirecat/cli-core/dist/cli/envelope.js
|
|
12068
12051
|
var answerSchema = /* @__PURE__ */ __name((item = unknown()) => union([listEnvelopeSchema(item), itemEnvelopeSchema(item)]), "answerSchema");
|
|
12069
12052
|
var capped2 = /* @__PURE__ */ __name((steps) => steps.length > 0 ? { next: steps.slice(0, MAX_NEXT_STEPS) } : {}, "capped");
|
|
12070
12053
|
var listOf = /* @__PURE__ */ __name((command, input) => {
|
|
@@ -12426,6 +12409,7 @@ export {
|
|
|
12426
12409
|
answerEntity,
|
|
12427
12410
|
answerEntitySchema,
|
|
12428
12411
|
answerProjectionSchema,
|
|
12412
|
+
ON_CHAT_ROW,
|
|
12429
12413
|
STATUS_SIGNAL_ROWS,
|
|
12430
12414
|
rowsOfEntity,
|
|
12431
12415
|
rowShapeOf,
|