@wirecat/drive-cli 0.67.0 → 0.68.0
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/drive.js +2 -2
- package/dist/bundle/{all-profiles-DVZUVAPQ.js → all-profiles-BU6XUFUP.js} +7 -7
- package/dist/bundle/{anthropic-Y45C45O2.js → anthropic-ZP5B7S2Z.js} +2 -2
- package/dist/bundle/{app-server-GTXUOUGD.js → app-server-EB4DH6T7.js} +49 -45
- package/dist/bundle/{bun-QVJV76QJ.js → bun-PWMM6L45.js} +2 -2
- package/dist/bundle/{bun-sqlite-CC7PIAMH.js → bun-sqlite-6VPR2SVC.js} +3 -3
- package/dist/bundle/{chunk-JO7BJYAP.js → chunk-2UHQVRH2.js} +15 -15
- package/dist/bundle/{chunk-NFIR346J.js → chunk-2VYEGKQ3.js} +1 -1
- package/dist/bundle/{chunk-MEY7URZZ.js → chunk-43NEDPXB.js} +4 -4
- package/dist/bundle/{chunk-YVUAG7RF.js → chunk-5G2BY4B6.js} +15 -15
- package/dist/bundle/{chunk-T2VAEDJS.js → chunk-5W65QTYS.js} +3 -3
- package/dist/bundle/{chunk-LSAIXPAX.js → chunk-6HFZZ2PW.js} +1 -1
- package/dist/bundle/{chunk-AJ3DFPRT.js → chunk-6QR7NKMG.js} +1 -1
- package/dist/bundle/{chunk-NWYVOHIX.js → chunk-6WAC2LOS.js} +459 -419
- package/dist/bundle/{chunk-HJF2QGOX.js → chunk-74NCZKRW.js} +29 -16
- package/dist/bundle/{chunk-4VH7M2OD.js → chunk-7A77GYCE.js} +2 -2
- package/dist/bundle/{chunk-2PIA45FC.js → chunk-7BXVI7XF.js} +1 -1
- package/dist/bundle/{chunk-ETAFFY3J.js → chunk-7TNQZKRD.js} +52 -52
- package/dist/bundle/{chunk-E3XA56TS.js → chunk-AIEMFRBU.js} +1 -1
- package/dist/bundle/{chunk-EXWOOST5.js → chunk-AXYG2DDY.js} +111 -83
- package/dist/bundle/{chunk-LXRBTXCZ.js → chunk-BXHFJTU5.js} +2 -2
- package/dist/bundle/{chunk-OOBSSU2G.js → chunk-CK2SQ2CE.js} +14 -13
- package/dist/bundle/{chunk-MF46W7PQ.js → chunk-CMWFYZ45.js} +1 -1
- package/dist/bundle/{chunk-4G7WQNG7.js → chunk-CRIEW4FP.js} +1 -1
- package/dist/bundle/{chunk-RC72RU66.js → chunk-CVAJMRRD.js} +5 -5
- package/dist/bundle/{chunk-YI4DXASF.js → chunk-DIZBJLPM.js} +36 -32
- package/dist/bundle/{chunk-FS2PG2PE.js → chunk-DU23ET2O.js} +18 -18
- package/dist/bundle/{chunk-JY2GZDJL.js → chunk-DYLYH7VE.js} +3 -3
- package/dist/bundle/{chunk-C72WYRXD.js → chunk-EEE4H2PA.js} +10 -10
- package/dist/bundle/{chunk-2MEVCMBW.js → chunk-EOC7RHJ2.js} +3 -3
- package/dist/bundle/{chunk-ZH4H5XTA.js → chunk-EXWZCI5G.js} +1 -1
- package/dist/bundle/{chunk-VZ5KETIX.js → chunk-F7KAMSXA.js} +2 -2
- package/dist/bundle/{chunk-SJE7UGOW.js → chunk-FAMXUI2X.js} +4 -4
- package/dist/bundle/{chunk-IRULPE5M.js → chunk-GTLXBAJV.js} +297 -281
- package/dist/bundle/{chunk-UFNE57VY.js → chunk-IVOG6T6P.js} +2 -2
- package/dist/bundle/{chunk-MBLB4TQI.js → chunk-J5LXL435.js} +18 -18
- package/dist/bundle/{chunk-XZCF5XU7.js → chunk-JMZQBRRZ.js} +5 -5
- package/dist/bundle/{chunk-PDHN4GHU.js → chunk-JZ3MT7IE.js} +1 -1
- package/dist/bundle/{chunk-P6A77LMP.js → chunk-KPKIHJIT.js} +5 -7
- package/dist/bundle/{chunk-2Y3YBDZX.js → chunk-MLSXHTUB.js} +137 -135
- package/dist/bundle/{chunk-ZEPDEFVT.js → chunk-MOKEB656.js} +1 -1
- package/dist/bundle/{chunk-BHSLMJF7.js → chunk-MWCPKUU4.js} +4 -4
- package/dist/bundle/{chunk-ULH3TNUP.js → chunk-NV75QPML.js} +4 -4
- package/dist/bundle/{chunk-CWDC6QJM.js → chunk-O7T3WGCV.js} +4 -4
- package/dist/bundle/{chunk-JJHDV32D.js → chunk-PGPHEC2X.js} +1 -1
- package/dist/bundle/{chunk-AAZPDWRD.js → chunk-PJ3FKBXG.js} +1 -1
- package/dist/bundle/{chunk-MEQNAZ6R.js → chunk-PWIEOATY.js} +5 -5
- package/dist/bundle/{chunk-6ERQE4FS.js → chunk-Q6BD6RUH.js} +40 -40
- package/dist/bundle/{chunk-3RG6LL25.js → chunk-QKY24RWV.js} +10 -10
- package/dist/bundle/{chunk-ABJQ6IDU.js → chunk-QRSPFCRY.js} +16 -16
- package/dist/bundle/{chunk-U2ERT45N.js → chunk-QTRYJZL7.js} +4 -4
- package/dist/bundle/{chunk-SXJDCRXE.js → chunk-QVJMFZFW.js} +1 -1
- package/dist/bundle/{chunk-WBKYZZQT.js → chunk-QWGEOQHA.js} +1 -1
- package/dist/bundle/{chunk-AZKFZ7J7.js → chunk-R5FTCNLJ.js} +1 -1
- package/dist/bundle/{chunk-DAFKV6DJ.js → chunk-RT5NT62B.js} +12 -12
- package/dist/bundle/{chunk-UOAHZV3K.js → chunk-SOS4U2RF.js} +18 -18
- package/dist/bundle/{chunk-ZU5VQYNY.js → chunk-TI2OANJZ.js} +1 -1
- package/dist/bundle/{chunk-5DMPGTNR.js → chunk-U52QE4QV.js} +2 -2
- package/dist/bundle/{chunk-JLUQZZ26.js → chunk-UFPRP7MG.js} +7 -7
- package/dist/bundle/{chunk-WWW7YTFG.js → chunk-UIKVP23D.js} +1 -1
- package/dist/bundle/{chunk-WKIQKGOF.js → chunk-ULNN3LCY.js} +26 -24
- package/dist/bundle/{chunk-5TSILGTO.js → chunk-UUQJVKPB.js} +323 -323
- package/dist/bundle/{chunk-7AZCAUST.js → chunk-UYBLNGZ2.js} +1 -1
- package/dist/bundle/{chunk-V7E25BUU.js → chunk-WCNTDETD.js} +2 -2
- package/dist/bundle/{chunk-ZK46UHDP.js → chunk-WGX4DZPW.js} +2 -2
- package/dist/bundle/{chunk-7J2IP3WL.js → chunk-WUFZGPXX.js} +6 -6
- package/dist/bundle/{chunk-Y5WSRG3F.js → chunk-YUGTJBV3.js} +2 -2
- package/dist/bundle/{chunk-JCNEPYQZ.js → chunk-YYIWPH53.js} +12 -12
- package/dist/bundle/{chunk-RLH6BOEG.js → chunk-Z5BMYI2V.js} +5 -5
- package/dist/bundle/{chunk-FOMQ4MG3.js → chunk-ZAIE3G5I.js} +2 -2
- package/dist/bundle/{chunk-QOKPRFHM.js → chunk-ZSVMZH5O.js} +2 -2
- package/dist/bundle/{chunk-JEMBW6IO.js → chunk-ZVQDOKDY.js} +1 -1
- package/dist/bundle/{cli-U4LSBYDV.js → cli-L7P36YUH.js} +50 -50
- package/dist/bundle/{command-contract-UU5T24ZZ.js → command-contract-EYFGMKIG.js} +16 -16
- package/dist/bundle/{command-server-entry-PK6FBUPO.js → command-server-entry-H3VGPOLJ.js} +23 -23
- package/dist/bundle/{decode-3ZE6NBKV.js → decode-JEU6JWCV.js} +2 -2
- package/dist/bundle/drive.js +3 -3
- package/dist/bundle/{echarts-6FWNCNXK.js → echarts-SDZA2SWG.js} +2 -2
- package/dist/bundle/{embed-DGYBBZUW.js → embed-WUKOASQG.js} +3 -3
- package/dist/bundle/{embedder-O7A6VMWI.js → embedder-UBRAXRDZ.js} +6 -6
- package/dist/bundle/{entry-CDJ2QSU2.js → entry-C4NUQFTF.js} +6 -6
- package/dist/bundle/{first-run-UOQW7DN5.js → first-run-PKHBS7B4.js} +5 -5
- package/dist/bundle/{first-screen-SNDV4YKF.js → first-screen-QOVOM4BF.js} +17 -17
- package/dist/bundle/{google-HPX52KMC.js → google-XXHSMTVK.js} +14 -14
- package/dist/bundle/{google-api-HIMN4XL5.js → google-api-SQQ4BSNR.js} +51 -51
- package/dist/bundle/{grants-RO42I6E4.js → grants-2U4JVT6O.js} +56 -56
- package/dist/bundle/{identity-NFGHDPLL.js → identity-SRL6RSU2.js} +1 -1
- package/dist/bundle/{instructions-6JAQYCM6.js → instructions-7T6JJIFS.js} +1 -1
- package/dist/bundle/{login-RZOQN63N.js → login-N243GGEE.js} +56 -56
- package/dist/bundle/{node-KSIX3GIH.js → node-BZDMUFTW.js} +2 -2
- package/dist/bundle/{node-sqlite-4FJ6WJXN.js → node-sqlite-SZQCCMV2.js} +4 -4
- package/dist/bundle/{oauth-BKZAMFKK.js → oauth-CMAFXX6A.js} +4 -4
- package/dist/bundle/{open-4AQJGH42.js → open-RVTPKDA3.js} +2 -2
- package/dist/bundle/{openai-24F2OX55.js → openai-6NN63BMH.js} +13 -13
- package/dist/bundle/{process-7NOA2T7H.js → process-756VBE7E.js} +1 -1
- package/dist/bundle/{program-7JHMLDEX.js → program-B4QBJYB5.js} +78 -75
- package/dist/bundle/{prompt-NM66MAZ4.js → prompt-HGP2DSRW.js} +2 -2
- package/dist/bundle/{recognize-DBKV2JYZ.js → recognize-26SHB7HI.js} +1 -1
- package/dist/bundle/{remote-ABWUTBVB.js → remote-Z4PWHZ5N.js} +7 -7
- package/dist/bundle/{rerank-FQAU4ENY.js → rerank-QHJZJK3Q.js} +4 -4
- package/dist/bundle/{serve-QLJG4QZD.js → serve-MYJW5IEM.js} +6 -6
- package/dist/bundle/server-HBZPIHDX.js +74 -0
- package/dist/bundle/{server-VGZNK5XD.js → server-XFW3V7CR.js} +38 -36
- package/dist/bundle/{services-5KARVUHK.js → services-IQG2RVTO.js} +25 -25
- package/dist/bundle/{sqlite-runtime-ILF6EFQJ.js → sqlite-runtime-X4GB5PBV.js} +3 -3
- package/dist/bundle/{state-R2M56GPU.js → state-ATQK2X3W.js} +3 -3
- package/dist/bundle/{store-2OBVMUQL.js → store-MEHEUOJH.js} +11 -11
- package/dist/bundle/{store-DA4K7HWW.js → store-QUBUPK6F.js} +13 -13
- package/dist/bundle/store-maintenance-command-33ULVDWY.js +65 -0
- package/dist/bundle/tokens-A2GP4F34.js +111 -0
- package/dist/policy.d.ts +2 -0
- package/dist/policy.d.ts.map +1 -1
- package/dist/policy.js +3 -2
- package/dist/policy.js.map +1 -1
- package/dist/program.d.ts.map +1 -1
- package/dist/program.js +3 -2
- package/dist/program.js.map +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +2 -2
- package/dist/bundle/server-NUBLY5SV.js +0 -74
- package/dist/bundle/store-maintenance-command-KSIPI5B5.js +0 -65
- package/dist/bundle/tokens-VQDGSHRB.js +0 -111
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
id,
|
|
6
6
|
text,
|
|
7
7
|
time
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-AXYG2DDY.js";
|
|
9
9
|
import {
|
|
10
10
|
array,
|
|
11
11
|
nullable,
|
|
@@ -18,7 +18,7 @@ import {
|
|
|
18
18
|
unknown
|
|
19
19
|
} from "./chunk-JRFKCYMW.js";
|
|
20
20
|
|
|
21
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
21
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/note.js
|
|
22
22
|
var link = {
|
|
23
23
|
target_text: nullable(text),
|
|
24
24
|
kind: text,
|
|
@@ -3,7 +3,7 @@ const require = __bundleRequire(import.meta.url);
|
|
|
3
3
|
import {
|
|
4
4
|
filesPresent,
|
|
5
5
|
sharedModelsDirectory
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-5W65QTYS.js";
|
|
7
7
|
import {
|
|
8
8
|
PRIORITY_LABELS,
|
|
9
9
|
TAG_TYPES,
|
|
@@ -14,15 +14,15 @@ import {
|
|
|
14
14
|
id,
|
|
15
15
|
text,
|
|
16
16
|
time
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-AXYG2DDY.js";
|
|
18
18
|
import {
|
|
19
19
|
readSharedSection,
|
|
20
20
|
sharedConfigPath,
|
|
21
21
|
writeSharedSection
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-PWIEOATY.js";
|
|
23
23
|
import {
|
|
24
24
|
storePath
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-CRIEW4FP.js";
|
|
26
26
|
import {
|
|
27
27
|
array,
|
|
28
28
|
boolean,
|
|
@@ -55,7 +55,7 @@ import {
|
|
|
55
55
|
__name
|
|
56
56
|
} from "./chunk-ZVVMGPBJ.js";
|
|
57
57
|
|
|
58
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
58
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/sends/permissions.js
|
|
59
59
|
var LEVELS = ["deny", "readonly", "ask", "allow"];
|
|
60
60
|
var DANGEROUS = /* @__PURE__ */ new Set(["messages.delete", "bot.messages.delete", "topics.delete", "chats.delete", "chats.clear"]);
|
|
61
61
|
var skipFlagFor = /* @__PURE__ */ __name((key) => DANGEROUS.has(key) ? "--allow-dangerous" : "--yes", "skipFlagFor");
|
|
@@ -459,7 +459,7 @@ var assertRetentionEvidenceRead = /* @__PURE__ */ __name((permissions) => {
|
|
|
459
459
|
}
|
|
460
460
|
}, "assertRetentionEvidenceRead");
|
|
461
461
|
|
|
462
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
462
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/domain/duration.js
|
|
463
463
|
var DURATION = /^(\d+)(ms|s|m|h|d)$/;
|
|
464
464
|
var UNIT_MS = { ms: 1, s: 1e3, m: 6e4, h: 36e5, d: 864e5 };
|
|
465
465
|
var parseDuration = /* @__PURE__ */ __name((value, source) => {
|
|
@@ -473,7 +473,7 @@ var parseDuration = /* @__PURE__ */ __name((value, source) => {
|
|
|
473
473
|
return ms;
|
|
474
474
|
}, "parseDuration");
|
|
475
475
|
|
|
476
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
476
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/embeddings/models.js
|
|
477
477
|
import { existsSync } from "node:fs";
|
|
478
478
|
import { join } from "node:path";
|
|
479
479
|
var huggingFace = /* @__PURE__ */ __name((repository, commit) => (name) => `https://huggingface.co/${repository}/resolve/${commit}/${name}`, "huggingFace");
|
|
@@ -750,7 +750,7 @@ var vectorModelKey = /* @__PURE__ */ __name((model) => {
|
|
|
750
750
|
}, "vectorModelKey");
|
|
751
751
|
var meaningFloor = /* @__PURE__ */ __name((key) => key === "local:e5-small:384" ? 0.8 : 0, "meaningFloor");
|
|
752
752
|
|
|
753
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
753
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/task.js
|
|
754
754
|
var closeSuggestion = strictObject({
|
|
755
755
|
as: picklist(["done", "dismissed"]),
|
|
756
756
|
/** The agent's name. */
|
|
@@ -812,7 +812,7 @@ var task = strictObject({
|
|
|
812
812
|
updated_at: optional(time)
|
|
813
813
|
});
|
|
814
814
|
|
|
815
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
815
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/agenda.js
|
|
816
816
|
var agendaChat = strictObject({
|
|
817
817
|
chat: reference,
|
|
818
818
|
title: nullable(text),
|
|
@@ -882,7 +882,7 @@ var agenda = strictObject({
|
|
|
882
882
|
unlisted_categories: array(strictObject({ name: text, open_tasks: number() }))
|
|
883
883
|
});
|
|
884
884
|
|
|
885
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
885
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/attachment.js
|
|
886
886
|
var attachment = strictObject({
|
|
887
887
|
/** The message it came with, as a locator; absent inside that message. */
|
|
888
888
|
message: optional(reference),
|
|
@@ -927,7 +927,7 @@ var hitFile = strictObject({
|
|
|
927
927
|
local_path: optional(text)
|
|
928
928
|
});
|
|
929
929
|
|
|
930
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
930
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/conversation.js
|
|
931
931
|
var conversation = strictObject({
|
|
932
932
|
id,
|
|
933
933
|
chat: reference,
|
|
@@ -942,7 +942,7 @@ var conversation = strictObject({
|
|
|
942
942
|
rules_version: count
|
|
943
943
|
});
|
|
944
944
|
|
|
945
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
945
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/tagging.js
|
|
946
946
|
var tagging = strictObject({
|
|
947
947
|
tag: text,
|
|
948
948
|
type: picklist(TAG_TYPES),
|
|
@@ -955,7 +955,7 @@ var tagging = strictObject({
|
|
|
955
955
|
created_at: time
|
|
956
956
|
});
|
|
957
957
|
|
|
958
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
958
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/background/budget.js
|
|
959
959
|
var DEADLINE_MARGIN_MS = 5e3;
|
|
960
960
|
var DEADLINE_MARGIN_SHARE = 0.15;
|
|
961
961
|
var DEFAULT_REQUEST_MS = 2e3;
|
|
@@ -998,7 +998,7 @@ var runBudget = /* @__PURE__ */ __name(({ requests, deadline, requestMs, signal,
|
|
|
998
998
|
};
|
|
999
999
|
}, "runBudget");
|
|
1000
1000
|
|
|
1001
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1001
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/sends/guarded.js
|
|
1002
1002
|
import { AsyncLocalStorage } from "node:async_hooks";
|
|
1003
1003
|
var sentIds = /* @__PURE__ */ __name((typed, message) => ({
|
|
1004
1004
|
messageId: message.id,
|
|
@@ -1104,7 +1104,7 @@ var guardedWrite = /* @__PURE__ */ __name(async (guard, attempt, act, settled =
|
|
|
1104
1104
|
}, "guardedWrite");
|
|
1105
1105
|
var codeOf = /* @__PURE__ */ __name((error) => typeof error?.code === "string" ? error.code : "unknown", "codeOf");
|
|
1106
1106
|
|
|
1107
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1107
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/services/history-limits.js
|
|
1108
1108
|
var HISTORY_MAX_DAYS = 1095;
|
|
1109
1109
|
var DEFAULT_HISTORY_LIMITS = { dialogDays: 1095, groupDays: 365, groupMembersMax: 50 };
|
|
1110
1110
|
var DAY_MS = 24 * 60 * 60 * 1e3;
|
|
@@ -1151,7 +1151,7 @@ var limitBatch = /* @__PURE__ */ __name((batch, shapes, included, limits, now =
|
|
|
1151
1151
|
return { batch: { ...batch, messages }, skipped };
|
|
1152
1152
|
}, "limitBatch");
|
|
1153
1153
|
|
|
1154
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1154
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/images/picture/models.js
|
|
1155
1155
|
import { join as join2 } from "node:path";
|
|
1156
1156
|
var clip = /* @__PURE__ */ __name((name) => `https://huggingface.co/Xenova/clip-vit-base-patch32/resolve/d15189d7028b43f1d3e65039190477f6af591c2a/${name}`, "clip");
|
|
1157
1157
|
var IMAGE_MODELS = [
|
|
@@ -1205,7 +1205,7 @@ var imageModelsDirectory = /* @__PURE__ */ __name((env = process.env) => sharedM
|
|
|
1205
1205
|
var placedImage = /* @__PURE__ */ __name((model, directory) => model.files.map((file) => [file, join2(directory, model.id, file.name)]), "placedImage");
|
|
1206
1206
|
var isImageModelInstalled = /* @__PURE__ */ __name((model, directory) => filesPresent(placedImage(model, directory)), "isImageModelInstalled");
|
|
1207
1207
|
|
|
1208
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1208
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/botcheck/reasons.js
|
|
1209
1209
|
var WEIGHTS = {
|
|
1210
1210
|
bot: 3,
|
|
1211
1211
|
scam: 3,
|
|
@@ -1230,7 +1230,7 @@ var LINK = /https?:\/\/|t\.me\/|www\./i;
|
|
|
1230
1230
|
var DIGITS = /\d{5,}/;
|
|
1231
1231
|
var oddName = /* @__PURE__ */ __name((name) => !name?.trim() || DIGITS.test(name) || LINK.test(name), "oddName");
|
|
1232
1232
|
|
|
1233
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1233
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/background/checkpoints.js
|
|
1234
1234
|
var progressOf = /* @__PURE__ */ __name((input) => {
|
|
1235
1235
|
const total = input.total ?? null;
|
|
1236
1236
|
const updated = input.updatedAt ?? null;
|
|
@@ -2,17 +2,17 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
stdinFieldOf
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-PJ3FKBXG.js";
|
|
6
6
|
import {
|
|
7
7
|
isCommandServer
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-2VYEGKQ3.js";
|
|
9
9
|
import {
|
|
10
10
|
commandPathOf
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-EOC7RHJ2.js";
|
|
12
12
|
import {
|
|
13
13
|
commandServerRequest,
|
|
14
14
|
metaOf
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-MLSXHTUB.js";
|
|
16
16
|
import {
|
|
17
17
|
errorObjectOf,
|
|
18
18
|
renderError
|
|
@@ -24,7 +24,7 @@ import {
|
|
|
24
24
|
__name
|
|
25
25
|
} from "./chunk-ZVVMGPBJ.js";
|
|
26
26
|
|
|
27
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
27
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/cli/command-server.js
|
|
28
28
|
import { createInterface } from "node:readline";
|
|
29
29
|
var COMMAND_SERVER_PROTOCOL = 1;
|
|
30
30
|
var COMMAND_SERVER_IDLE_MS = 10 * 6e4;
|
|
@@ -4,10 +4,10 @@ import {
|
|
|
4
4
|
readSharedSection,
|
|
5
5
|
sharedConfigPath,
|
|
6
6
|
writeSharedSection
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-PWIEOATY.js";
|
|
8
8
|
import {
|
|
9
9
|
storePath
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-CRIEW4FP.js";
|
|
11
11
|
import {
|
|
12
12
|
CliError
|
|
13
13
|
} from "./chunk-EA2OB75T.js";
|
|
@@ -15,7 +15,7 @@ import {
|
|
|
15
15
|
__name
|
|
16
16
|
} from "./chunk-ZVVMGPBJ.js";
|
|
17
17
|
|
|
18
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
18
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/cli/setup-answers.js
|
|
19
19
|
var PERMISSION_ANSWERS = ["readonly", "allow"];
|
|
20
20
|
var QUESTIONS = ["languages", "tools", "permissions"];
|
|
21
21
|
var SECTION = "setup";
|
|
@@ -40,13 +40,11 @@ var writeSetupAnswers = /* @__PURE__ */ __name((path, answers) => {
|
|
|
40
40
|
writeSharedSection(path, SECTION, { ...kept, ...answers });
|
|
41
41
|
}, "writeSetupAnswers");
|
|
42
42
|
var permissionCeiling = /* @__PURE__ */ __name((path) => {
|
|
43
|
-
let answer;
|
|
44
43
|
try {
|
|
45
|
-
|
|
44
|
+
return readSetupAnswers(path).permissions === "readonly" ? "readonly" : void 0;
|
|
46
45
|
} catch {
|
|
47
|
-
return
|
|
46
|
+
return void 0;
|
|
48
47
|
}
|
|
49
|
-
return answer === "allow" ? void 0 : answer;
|
|
50
48
|
}, "permissionCeiling");
|
|
51
49
|
var setupPermissionCeiling = /* @__PURE__ */ __name((env = process.env) => permissionCeiling(sharedConfigPath(storePath(env), env)), "setupPermissionCeiling");
|
|
52
50
|
|