@wirecat/drive-cli 0.62.0 → 0.64.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/README.md +2 -1
- package/dist/bin/drive.js +2 -2
- package/dist/bundle/{all-profiles-CKD2DWUK.js → all-profiles-BPPT2AK5.js} +13 -14
- package/dist/bundle/{anthropic-E3T4USLA.js → anthropic-JW6GOJUD.js} +13 -11
- package/dist/bundle/{app-server-JB2AEWWL.js → app-server-KAQIOJMZ.js} +53 -54
- package/dist/bundle/{bun-CC44AAND.js → bun-UT7GNTPV.js} +2 -2
- package/dist/bundle/{bun-sqlite-AUMFKYVR.js → bun-sqlite-2OIVV3LS.js} +8 -8
- package/dist/bundle/{chunk-EOOGWUTP.js → chunk-2FEZ24DK.js} +10 -10
- package/dist/bundle/{chunk-N7OZPKU7.js → chunk-2W464HAE.js} +4 -4
- package/dist/bundle/{chunk-UGXN5D7U.js → chunk-34BIDKF4.js} +332 -430
- package/dist/bundle/{chunk-WZKEU7WR.js → chunk-36GPBPWM.js} +1 -1
- package/dist/bundle/{chunk-LQKD257P.js → chunk-3J5KAFNA.js} +2255 -1125
- package/dist/bundle/{chunk-7W5HYGVW.js → chunk-3NULZGQU.js} +2 -2
- package/dist/bundle/{chunk-XFRRKZHQ.js → chunk-46CD64J2.js} +155 -36
- package/dist/bundle/{chunk-DWJHL6DV.js → chunk-4CNTID2X.js} +4 -4
- package/dist/bundle/{chunk-LWE4JGRN.js → chunk-4YRENUB5.js} +2 -2
- package/dist/bundle/{chunk-SW4I5BR7.js → chunk-5HSRQ53R.js} +2 -2
- package/dist/bundle/{chunk-IR4SQLBR.js → chunk-5OFA5EXE.js} +2 -2
- package/dist/bundle/{chunk-R347FPYU.js → chunk-5ZBR55US.js} +1 -1
- package/dist/bundle/{chunk-Q2LRPOKL.js → chunk-66AF4FBW.js} +4 -4
- package/dist/bundle/{chunk-RWSXVCSG.js → chunk-6B37XO6B.js} +23 -5
- package/dist/bundle/{chunk-ZMOUUOT2.js → chunk-6G53ZFUT.js} +1 -1
- package/dist/bundle/{chunk-HCNQT3QE.js → chunk-AHB4OJCI.js} +1951 -580
- package/dist/bundle/{chunk-JK3U25QZ.js → chunk-B67BLRAI.js} +59 -1
- package/dist/bundle/{chunk-7ZXIWZQ6.js → chunk-B7XBIOMR.js} +12 -12
- package/dist/bundle/{chunk-FEZF3TII.js → chunk-BDYWZ7JE.js} +50 -6
- package/dist/bundle/{chunk-SVPCHFKI.js → chunk-BEUAICUD.js} +2 -2
- package/dist/bundle/{chunk-TDX4GZFO.js → chunk-BEZJA44H.js} +7 -7
- package/dist/bundle/{chunk-RIDQNVZM.js → chunk-BZ2ZKILM.js} +3 -3
- package/dist/bundle/{chunk-FUITWY7O.js → chunk-C7WBNOYW.js} +1 -1
- package/dist/bundle/{chunk-CJHY5YIF.js → chunk-CPMRM3GQ.js} +489 -210
- package/dist/bundle/{chunk-FNWIJ6EJ.js → chunk-DD7EFG6B.js} +2 -2
- package/dist/bundle/{chunk-W4RTIL7S.js → chunk-E2LBCCTG.js} +5 -5
- package/dist/bundle/{chunk-O2XOX4HB.js → chunk-EC2XGDKJ.js} +50 -34
- package/dist/bundle/{chunk-4OSSOWDM.js → chunk-EJ4PNHPP.js} +1 -1
- package/dist/bundle/{chunk-XS5POQST.js → chunk-EQEGJVO2.js} +1 -1
- package/dist/bundle/{chunk-U2BFYSQV.js → chunk-EWGVDFPT.js} +8983 -3343
- package/dist/bundle/{chunk-OBH5BA62.js → chunk-EZ6O3ST3.js} +3 -3
- package/dist/bundle/{chunk-HG6CAYJH.js → chunk-F2VDAG32.js} +3 -3
- package/dist/bundle/{chunk-RPMKG63Z.js → chunk-G3NULXOM.js} +4 -4
- package/dist/bundle/{chunk-OD4U7GUY.js → chunk-G4KEKKDE.js} +20 -20
- package/dist/bundle/{chunk-OTROVC4E.js → chunk-GSMYXGFR.js} +1 -1
- package/dist/bundle/{chunk-XZUS7XRO.js → chunk-GW3U6OLD.js} +1 -1
- package/dist/bundle/{chunk-6EY46GAN.js → chunk-HW4UPST2.js} +2 -2
- package/dist/bundle/{chunk-2HF2MRXI.js → chunk-IDAK4DDK.js} +1 -1
- package/dist/bundle/{chunk-27YUUGXQ.js → chunk-IK6KH3RE.js} +1 -1
- package/dist/bundle/{chunk-QTI6IVHZ.js → chunk-IX7NQJLY.js} +8 -8
- package/dist/bundle/{chunk-YMWENGKH.js → chunk-J62DI53V.js} +1 -1
- package/dist/bundle/{chunk-AH5C3D3D.js → chunk-JRXFW7HE.js} +5 -5
- package/dist/bundle/{chunk-KLFSRKHB.js → chunk-K6BSB53R.js} +1 -1
- package/dist/bundle/{chunk-ONP2IBHY.js → chunk-KE4XPPRQ.js} +98 -81
- package/dist/bundle/{chunk-UQLWMGSD.js → chunk-KG2XKEHL.js} +5 -5
- package/dist/bundle/{chunk-T5NWWXS2.js → chunk-KIN6PDFE.js} +24 -2
- package/dist/bundle/{chunk-QH7DOVO3.js → chunk-KVW4XNKB.js} +45 -29
- package/dist/bundle/{chunk-PEQA6LA5.js → chunk-LOMW6F2E.js} +230 -236
- package/dist/bundle/{chunk-4SIZEJ3M.js → chunk-M73NNJ3X.js} +2 -2
- package/dist/bundle/{chunk-QCKZ3GAA.js → chunk-N622LRPM.js} +4 -4
- package/dist/bundle/{chunk-YPFUYQDP.js → chunk-O2QO5UZC.js} +13 -13
- package/dist/bundle/{chunk-QCX6XZLA.js → chunk-OEVHZOHC.js} +12 -12
- package/dist/bundle/{chunk-VAYB52HF.js → chunk-OH3K2E7X.js} +402 -184
- package/dist/bundle/{chunk-YXYTY4GF.js → chunk-P7DEGRZA.js} +21 -21
- package/dist/bundle/{chunk-YUWPNG7B.js → chunk-PBMSBCVB.js} +1 -1
- package/dist/bundle/{chunk-67ZQCWBV.js → chunk-QEAD2LF4.js} +3 -3
- package/dist/bundle/{chunk-JN5TVEEL.js → chunk-QXCKJUZY.js} +124 -22
- package/dist/bundle/{chunk-T7X53FCJ.js → chunk-SIOIMO62.js} +37 -37
- package/dist/bundle/{chunk-O7ALBI2I.js → chunk-TNV2FXVK.js} +5 -5
- package/dist/bundle/chunk-UD55VB2N.js +87 -0
- package/dist/bundle/{chunk-L7K2MOIC.js → chunk-UIEA6FIV.js} +22 -22
- package/dist/bundle/{chunk-EW7PKB4M.js → chunk-UJR272CP.js} +29 -29
- package/dist/bundle/{chunk-YALI4C7C.js → chunk-USLZE36C.js} +6 -6
- package/dist/bundle/{chunk-YOJDGAPT.js → chunk-VIJ6ACYB.js} +8 -8
- package/dist/bundle/{chunk-MN4VXU3M.js → chunk-VPLFD5RJ.js} +4 -4
- package/dist/bundle/{chunk-VQDD64A4.js → chunk-VT2UFYPJ.js} +8 -10
- package/dist/bundle/{chunk-CZ2GJHLL.js → chunk-WWCYTMAV.js} +2 -2
- package/dist/bundle/{chunk-DJOAMGF4.js → chunk-XPXKD63J.js} +13 -13
- package/dist/bundle/{chunk-E43ENLJJ.js → chunk-ZF6GUZCE.js} +1 -1
- package/dist/bundle/{chunk-XEW2EN6F.js → chunk-ZRZ4HTCK.js} +60 -34
- package/dist/bundle/{chunk-2KN35F32.js → chunk-ZSZJLJIA.js} +10 -10
- package/dist/bundle/command-contract-H5OYJOPF.js +38 -0
- package/dist/bundle/{decode-WIIX3Y2X.js → decode-HTOQ6S3V.js} +8 -8
- package/dist/bundle/{dispatch-GEFIXA6X.js → dispatch-SH5SP6LA.js} +11 -11
- package/dist/bundle/drive.js +11 -11
- package/dist/bundle/{echarts-OYINM4C4.js → echarts-KFHB6SLX.js} +2 -2
- package/dist/bundle/{embed-DWZIYMBX.js → embed-YATFB2PN.js} +9 -9
- package/dist/bundle/{embedder-ILWH7ZRM.js → embedder-MQPDFGTJ.js} +12 -12
- package/dist/bundle/entry-YZBB647C.js +22 -0
- package/dist/bundle/{failure-GV77W3CD.js → failure-4FQL4XJI.js} +4 -4
- package/dist/bundle/first-run-5JT3UQZB.js +30 -0
- package/dist/bundle/first-screen-BEMDEWO7.js +36 -0
- package/dist/bundle/{google-KLZSUAVY.js → google-DVADVICN.js} +13 -13
- package/dist/bundle/{google-api-HZQ5R4ZO.js → google-api-QMFGCXBM.js} +55 -57
- package/dist/bundle/grants-WKB2E4TA.js +103 -0
- package/dist/bundle/{identity-J2DON4IO.js → identity-FYVDK4M2.js} +6 -6
- package/dist/bundle/{instructions-HGOJ23AJ.js → instructions-D3GF3B7M.js} +1 -1
- package/dist/bundle/{login-BD2TS4GY.js → login-COFZ2IWP.js} +61 -63
- package/dist/bundle/{mcp-GWDA3HOA.js → mcp-RKJG22KM.js} +2 -2
- package/dist/bundle/{node-CPKTDPH7.js → node-OFICOKX3.js} +2 -2
- package/dist/bundle/{node-sqlite-IXDCRLSX.js → node-sqlite-DNBTDOXD.js} +9 -9
- package/dist/bundle/oauth-PDQHWFBF.js +22 -0
- package/dist/bundle/{open-O7P3ZV3Y.js → open-PTPR2YWX.js} +8 -8
- package/dist/bundle/{openai-RCFQKCXC.js → openai-2KV5LUW4.js} +17 -17
- package/dist/bundle/{process-KXDRJO22.js → process-EAW6NST2.js} +1 -1
- package/dist/bundle/{program-UCHFC7JQ.js → program-6UV5Q5YN.js} +310 -279
- package/dist/bundle/prompt-634TPMJK.js +19 -0
- package/dist/bundle/{reasons-57J2D77K.js → reasons-DDWCEYSQ.js} +5 -5
- package/dist/bundle/{recognize-MRCYGP2J.js → recognize-SJO6QUDW.js} +7 -7
- package/dist/bundle/{remote-L3L4PHKF.js → remote-6JXZITKF.js} +10 -10
- package/dist/bundle/{rerank-PSOE6XFT.js → rerank-MD5VOPQ6.js} +10 -10
- package/dist/bundle/{serve-72OGS3BF.js → serve-LZTROA2M.js} +12 -12
- package/dist/bundle/server-GT7X666D.js +69 -0
- package/dist/bundle/{server-SCXKYHBO.js → server-NSA3UAFY.js} +43 -44
- package/dist/bundle/{services-YAFTELBI.js → services-F5A6XQCV.js} +69 -34
- package/dist/bundle/{sqlite-runtime-DLK4SU33.js → sqlite-runtime-7YF6REKS.js} +9 -9
- package/dist/bundle/{start-AFFA3LKM.js → start-MUFLE6FA.js} +30 -8
- package/dist/bundle/{state-T5VNAJSZ.js → state-UC54F3YZ.js} +9 -9
- package/dist/bundle/{store-4OFK7PKQ.js → store-F5FJGWMR.js} +58 -20
- package/dist/bundle/{store-R6MSY2IM.js → store-J53YNAH6.js} +43 -18
- package/dist/bundle/store-maintenance-command-GJVXLBAB.js +58 -0
- package/dist/bundle/tokens-H2EJKGA5.js +101 -0
- package/dist/commands/account.d.ts +4 -0
- package/dist/commands/account.d.ts.map +1 -0
- package/dist/commands/account.js +33 -0
- package/dist/commands/account.js.map +1 -0
- package/dist/commands/config.d.ts.map +1 -1
- package/dist/commands/config.js +5 -1
- package/dist/commands/config.js.map +1 -1
- package/dist/profile-lock.d.ts +1 -0
- package/dist/profile-lock.d.ts.map +1 -1
- package/dist/profile-lock.js +1 -0
- package/dist/profile-lock.js.map +1 -1
- package/dist/program.d.ts.map +1 -1
- package/dist/program.js +2 -0
- package/dist/program.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/chunk-AQVUEZEP.js +0 -22
- package/dist/bundle/chunk-DRZZBN3V.js +0 -33
- package/dist/bundle/chunk-UOXOLGNG.js +0 -42
- package/dist/bundle/command-contract-OB5BRABN.js +0 -39
- package/dist/bundle/entry-V5V3TOTY.js +0 -22
- package/dist/bundle/first-run-V3VVLQF4.js +0 -30
- package/dist/bundle/first-screen-Y3RIN7FU.js +0 -37
- package/dist/bundle/grants-L7XLHLUT.js +0 -105
- package/dist/bundle/oauth-HOGY4YBB.js +0 -22
- package/dist/bundle/prompt-EVPPBN5W.js +0 -17
- package/dist/bundle/server-C5TGNFXW.js +0 -70
- package/dist/bundle/store-maintenance-command-QDMCXGV6.js +0 -60
- package/dist/bundle/tokens-HIG36RNS.js +0 -103
- /package/dist/bundle/{chunk-ZQ3GWKDQ.js → chunk-SW6C6WH5.js} +0 -0
|
@@ -2,7 +2,7 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
installerOf
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-IK6KH3RE.js";
|
|
6
6
|
import {
|
|
7
7
|
DESCRIBE_FLAG,
|
|
8
8
|
DISPATCH_FLAG,
|
|
@@ -13,17 +13,20 @@ import {
|
|
|
13
13
|
fileState,
|
|
14
14
|
shimFiles,
|
|
15
15
|
writeShim
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-EC2XGDKJ.js";
|
|
17
17
|
import "./chunk-Y5E2WNWB.js";
|
|
18
|
-
import "./chunk-
|
|
18
|
+
import "./chunk-IDAK4DDK.js";
|
|
19
19
|
import {
|
|
20
20
|
__name
|
|
21
21
|
} from "./chunk-ZVVMGPBJ.js";
|
|
22
22
|
|
|
23
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
23
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/wcat/start.js
|
|
24
|
+
import { createHash } from "node:crypto";
|
|
25
|
+
import { existsSync, readFileSync as readFileSync2, realpathSync } from "node:fs";
|
|
26
|
+
import { dirname as dirname2, join as join2 } from "node:path";
|
|
24
27
|
import { fileURLToPath } from "node:url";
|
|
25
28
|
|
|
26
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
29
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/wcat/launcher.js
|
|
27
30
|
import { readFileSync } from "node:fs";
|
|
28
31
|
import { basename, dirname, join, resolve } from "node:path";
|
|
29
32
|
var posix = /* @__PURE__ */ __name((path) => path.replaceAll("\\", "/"), "posix");
|
|
@@ -109,7 +112,7 @@ var ensureLauncher = /* @__PURE__ */ __name(({ dir, program, platform }) => {
|
|
|
109
112
|
}
|
|
110
113
|
}, "ensureLauncher");
|
|
111
114
|
|
|
112
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
115
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/wcat/start.js
|
|
113
116
|
var wcatStart = /* @__PURE__ */ __name(async (tool, io = {}) => {
|
|
114
117
|
const argv = io.argv ?? process.argv;
|
|
115
118
|
const env = io.env ?? process.env;
|
|
@@ -117,12 +120,12 @@ var wcatStart = /* @__PURE__ */ __name(async (tool, io = {}) => {
|
|
|
117
120
|
const stdout = io.stdout ?? process.stdout;
|
|
118
121
|
const [first, ...rest] = argv.slice(2);
|
|
119
122
|
if (first === DESCRIBE_FLAG) {
|
|
120
|
-
stdout.write(`${JSON.stringify(describeAnswer(tool))}
|
|
123
|
+
stdout.write(`${JSON.stringify(describeAnswer(tool, shippedManifest(argv[1])))}
|
|
121
124
|
`);
|
|
122
125
|
return { code: 0 };
|
|
123
126
|
}
|
|
124
127
|
if (first === DISPATCH_FLAG) {
|
|
125
|
-
const { runWcat } = await import("./dispatch-
|
|
128
|
+
const { runWcat } = await import("./dispatch-SH5SP6LA.js");
|
|
126
129
|
const code = await runWcat(rest, { env, platform, stdout, stderr: io.stderr ?? process.stderr, self: tool });
|
|
127
130
|
return { code };
|
|
128
131
|
}
|
|
@@ -135,6 +138,25 @@ var wcatStart = /* @__PURE__ */ __name(async (tool, io = {}) => {
|
|
|
135
138
|
});
|
|
136
139
|
return folder ? { launcher: ensureLauncher({ ...folder, platform }) } : {};
|
|
137
140
|
}, "wcatStart");
|
|
141
|
+
var shippedManifest = /* @__PURE__ */ __name((bin) => {
|
|
142
|
+
if (!bin)
|
|
143
|
+
return void 0;
|
|
144
|
+
try {
|
|
145
|
+
for (let dir = dirname2(realpathSync(bin)); ; dir = dirname2(dir)) {
|
|
146
|
+
if (existsSync(join2(dir, "package.json"))) {
|
|
147
|
+
const bytes = readFileSync2(join2(dir, "contracts", "wirecat.json"));
|
|
148
|
+
const { wcat_manifest: format, desktop } = JSON.parse(bytes.toString("utf8"));
|
|
149
|
+
if (format !== 2 || typeof desktop !== "object" || desktop === null)
|
|
150
|
+
return void 0;
|
|
151
|
+
return { desktop, sha256: createHash("sha256").update(bytes).digest("hex") };
|
|
152
|
+
}
|
|
153
|
+
if (dirname2(dir) === dir)
|
|
154
|
+
return void 0;
|
|
155
|
+
}
|
|
156
|
+
} catch {
|
|
157
|
+
return void 0;
|
|
158
|
+
}
|
|
159
|
+
}, "shippedManifest");
|
|
138
160
|
export {
|
|
139
161
|
wcatStart
|
|
140
162
|
};
|
|
@@ -12,16 +12,16 @@ import {
|
|
|
12
12
|
readHttpLock,
|
|
13
13
|
readStored,
|
|
14
14
|
signedInClients
|
|
15
|
-
} from "./chunk-
|
|
16
|
-
import "./chunk-
|
|
17
|
-
import "./chunk-
|
|
18
|
-
import "./chunk-
|
|
19
|
-
import "./chunk-
|
|
15
|
+
} from "./chunk-4CNTID2X.js";
|
|
16
|
+
import "./chunk-F2VDAG32.js";
|
|
17
|
+
import "./chunk-J62DI53V.js";
|
|
18
|
+
import "./chunk-G4KEKKDE.js";
|
|
19
|
+
import "./chunk-KG2XKEHL.js";
|
|
20
20
|
import "./chunk-Y5E2WNWB.js";
|
|
21
|
-
import "./chunk-
|
|
22
|
-
import "./chunk-
|
|
23
|
-
import "./chunk-
|
|
24
|
-
import "./chunk-
|
|
21
|
+
import "./chunk-IDAK4DDK.js";
|
|
22
|
+
import "./chunk-HW4UPST2.js";
|
|
23
|
+
import "./chunk-BDYWZ7JE.js";
|
|
24
|
+
import "./chunk-EJ4PNHPP.js";
|
|
25
25
|
import "./chunk-ZVVMGPBJ.js";
|
|
26
26
|
export {
|
|
27
27
|
ACCESS_SECONDS,
|
|
@@ -8,16 +8,21 @@ import {
|
|
|
8
8
|
previewProjectAnnotationSnapshot,
|
|
9
9
|
snapshotProjectAnnotations,
|
|
10
10
|
storeHealth
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-KVW4XNKB.js";
|
|
12
12
|
import {
|
|
13
13
|
note
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-BZ2ZKILM.js";
|
|
15
15
|
import {
|
|
16
|
+
ADDED_KINDS,
|
|
17
|
+
BUSINESS_FIND_MAX,
|
|
16
18
|
CALLBACK_PREFIX,
|
|
17
19
|
CATALOG_QUERY,
|
|
20
|
+
COMPANY_TYPE_MEANINGS,
|
|
21
|
+
CRM_LINK_MODES,
|
|
18
22
|
DECISION_ACTIONS,
|
|
19
23
|
DECISION_TTL_MS,
|
|
20
24
|
DEFAULT_DECISION_POLICY,
|
|
25
|
+
DEFAULT_OWNER_LANGUAGES,
|
|
21
26
|
EVENT_FIELDS,
|
|
22
27
|
EVIDENCE_FINDINGS_KIND,
|
|
23
28
|
IMPORTED_DOCUMENT_QUERY,
|
|
@@ -36,11 +41,14 @@ import {
|
|
|
36
41
|
PROPOSAL_STATUSES,
|
|
37
42
|
REMINDERS_QUERY,
|
|
38
43
|
SCOPES,
|
|
44
|
+
SOURCE_REVIEW_CAUSES,
|
|
45
|
+
SOURCE_REVIEW_KIND,
|
|
39
46
|
TASK_EVENT_KINDS,
|
|
40
47
|
TASK_PAIR_DECISIONS,
|
|
41
48
|
TASK_RELATION_KINDS,
|
|
42
49
|
TASK_ROLES,
|
|
43
50
|
TASK_SORTS,
|
|
51
|
+
addedSourceKeyOf,
|
|
44
52
|
assertGenericAction,
|
|
45
53
|
assertMayDecide,
|
|
46
54
|
backfillNormalized,
|
|
@@ -48,6 +56,7 @@ import {
|
|
|
48
56
|
certaintyOf,
|
|
49
57
|
createTagRedirectIndex,
|
|
50
58
|
crmIdentityId,
|
|
59
|
+
crmSettingKey,
|
|
51
60
|
decodeProjectAnnotationSnapshot,
|
|
52
61
|
decodeProjectAnnotations,
|
|
53
62
|
fillSearchIndex,
|
|
@@ -56,6 +65,7 @@ import {
|
|
|
56
65
|
mayDecide,
|
|
57
66
|
migrate,
|
|
58
67
|
openStore,
|
|
68
|
+
ownerLanguages,
|
|
59
69
|
parseCallbackData,
|
|
60
70
|
pendingNormalization,
|
|
61
71
|
planProjectAnnotationSnapshot,
|
|
@@ -68,10 +78,12 @@ import {
|
|
|
68
78
|
resetSearchIndex,
|
|
69
79
|
searchIndexState,
|
|
70
80
|
validateEvidenceFindings,
|
|
81
|
+
waitingPointer,
|
|
71
82
|
withoutField
|
|
72
|
-
} from "./chunk-
|
|
73
|
-
import "./chunk-
|
|
83
|
+
} from "./chunk-EWGVDFPT.js";
|
|
84
|
+
import "./chunk-UD55VB2N.js";
|
|
74
85
|
import {
|
|
86
|
+
BUSINESS_KINDS,
|
|
75
87
|
CLOSED_STATES,
|
|
76
88
|
FACT_STATUSES,
|
|
77
89
|
FACT_TYPES,
|
|
@@ -84,46 +96,59 @@ import {
|
|
|
84
96
|
TASK_STATES,
|
|
85
97
|
TASK_TYPES,
|
|
86
98
|
WORK_TASK_TYPES,
|
|
99
|
+
clearDamageMark,
|
|
100
|
+
damageMarkPath,
|
|
101
|
+
healthMarkPath,
|
|
87
102
|
isClosedState,
|
|
103
|
+
markStoreDamaged,
|
|
88
104
|
organization,
|
|
89
105
|
paymentTitle,
|
|
90
106
|
priorityLabel,
|
|
91
107
|
priorityOf,
|
|
92
108
|
priorityOption,
|
|
93
109
|
project,
|
|
110
|
+
readDamageMark,
|
|
111
|
+
readHealthMark,
|
|
112
|
+
recordDeepCheck,
|
|
94
113
|
reminder,
|
|
95
114
|
validatePayment
|
|
96
|
-
} from "./chunk-
|
|
97
|
-
import "./chunk-
|
|
98
|
-
import "./chunk-
|
|
99
|
-
import "./chunk-
|
|
100
|
-
import "./chunk-
|
|
115
|
+
} from "./chunk-CPMRM3GQ.js";
|
|
116
|
+
import "./chunk-2FEZ24DK.js";
|
|
117
|
+
import "./chunk-B67BLRAI.js";
|
|
118
|
+
import "./chunk-VIJ6ACYB.js";
|
|
119
|
+
import "./chunk-BEZJA44H.js";
|
|
101
120
|
import {
|
|
102
121
|
storePath
|
|
103
|
-
} from "./chunk-
|
|
122
|
+
} from "./chunk-DD7EFG6B.js";
|
|
104
123
|
import {
|
|
105
124
|
openCache
|
|
106
|
-
} from "./chunk-
|
|
107
|
-
import "./chunk-
|
|
108
|
-
import "./chunk-
|
|
125
|
+
} from "./chunk-USLZE36C.js";
|
|
126
|
+
import "./chunk-EQEGJVO2.js";
|
|
127
|
+
import "./chunk-SW6C6WH5.js";
|
|
109
128
|
import {
|
|
110
129
|
PRAGMAS
|
|
111
|
-
} from "./chunk-
|
|
112
|
-
import "./chunk-
|
|
113
|
-
import "./chunk-
|
|
130
|
+
} from "./chunk-36GPBPWM.js";
|
|
131
|
+
import "./chunk-G4KEKKDE.js";
|
|
132
|
+
import "./chunk-KG2XKEHL.js";
|
|
114
133
|
import "./chunk-Y5E2WNWB.js";
|
|
115
|
-
import "./chunk-
|
|
116
|
-
import "./chunk-
|
|
117
|
-
import "./chunk-
|
|
118
|
-
import "./chunk-
|
|
134
|
+
import "./chunk-IDAK4DDK.js";
|
|
135
|
+
import "./chunk-HW4UPST2.js";
|
|
136
|
+
import "./chunk-BDYWZ7JE.js";
|
|
137
|
+
import "./chunk-EJ4PNHPP.js";
|
|
119
138
|
import "./chunk-ZVVMGPBJ.js";
|
|
120
139
|
export {
|
|
140
|
+
ADDED_KINDS,
|
|
141
|
+
BUSINESS_FIND_MAX,
|
|
142
|
+
BUSINESS_KINDS,
|
|
121
143
|
CALLBACK_PREFIX,
|
|
122
144
|
CATALOG_QUERY,
|
|
123
145
|
CLOSED_STATES,
|
|
146
|
+
COMPANY_TYPE_MEANINGS,
|
|
147
|
+
CRM_LINK_MODES,
|
|
124
148
|
DECISION_ACTIONS,
|
|
125
149
|
DECISION_TTL_MS,
|
|
126
150
|
DEFAULT_DECISION_POLICY,
|
|
151
|
+
DEFAULT_OWNER_LANGUAGES,
|
|
127
152
|
EVENT_FIELDS,
|
|
128
153
|
EVIDENCE_FINDINGS_KIND,
|
|
129
154
|
FACT_STATUSES,
|
|
@@ -152,6 +177,8 @@ export {
|
|
|
152
177
|
QUICK_HEALTH_CHECKS,
|
|
153
178
|
REMINDERS_QUERY,
|
|
154
179
|
SCOPES,
|
|
180
|
+
SOURCE_REVIEW_CAUSES,
|
|
181
|
+
SOURCE_REVIEW_KIND,
|
|
155
182
|
TASK_EVENT_KINDS,
|
|
156
183
|
TASK_PAIR_DECISIONS,
|
|
157
184
|
TASK_RELATION_KINDS,
|
|
@@ -160,27 +187,34 @@ export {
|
|
|
160
187
|
TASK_STATES,
|
|
161
188
|
TASK_TYPES,
|
|
162
189
|
WORK_TASK_TYPES,
|
|
190
|
+
addedSourceKeyOf,
|
|
163
191
|
applyDocumentTransfer,
|
|
164
192
|
assertGenericAction,
|
|
165
193
|
assertMayDecide,
|
|
166
194
|
backfillNormalized,
|
|
167
195
|
callbackDataOf,
|
|
168
196
|
certaintyOf,
|
|
197
|
+
clearDamageMark,
|
|
169
198
|
createTagRedirectIndex,
|
|
170
199
|
crmIdentityId,
|
|
200
|
+
crmSettingKey,
|
|
201
|
+
damageMarkPath,
|
|
171
202
|
decodeProjectAnnotationSnapshot,
|
|
172
203
|
decodeProjectAnnotations,
|
|
173
204
|
explainDamage,
|
|
174
205
|
fillSearchIndex,
|
|
206
|
+
healthMarkPath,
|
|
175
207
|
isClosedState,
|
|
176
208
|
isDecisionToken,
|
|
177
209
|
isOwnerOnlyKind,
|
|
210
|
+
markStoreDamaged,
|
|
178
211
|
mayDecide,
|
|
179
212
|
migrate,
|
|
180
213
|
note,
|
|
181
214
|
openCache,
|
|
182
215
|
openStore,
|
|
183
216
|
organization,
|
|
217
|
+
ownerLanguages,
|
|
184
218
|
parseCallbackData,
|
|
185
219
|
paymentTitle,
|
|
186
220
|
pendingNormalization,
|
|
@@ -196,6 +230,9 @@ export {
|
|
|
196
230
|
projectAnnotationSnapshotSchema,
|
|
197
231
|
projectAnnotationsFingerprint,
|
|
198
232
|
proposerOfAction,
|
|
233
|
+
readDamageMark,
|
|
234
|
+
readHealthMark,
|
|
235
|
+
recordDeepCheck,
|
|
199
236
|
reminder,
|
|
200
237
|
resetAttachmentWords,
|
|
201
238
|
resetSearchIndex,
|
|
@@ -205,5 +242,6 @@ export {
|
|
|
205
242
|
storePath,
|
|
206
243
|
validateEvidenceFindings,
|
|
207
244
|
validatePayment,
|
|
245
|
+
waitingPointer,
|
|
208
246
|
withoutField
|
|
209
247
|
};
|
|
@@ -3,11 +3,14 @@ const require = __bundleRequire(import.meta.url);
|
|
|
3
3
|
import {
|
|
4
4
|
AGENDA_COLUMNS,
|
|
5
5
|
BACKFILL_ON_OPEN,
|
|
6
|
+
BUSINESS_FIND_MAX,
|
|
6
7
|
CHAT_COLUMNS,
|
|
7
8
|
CHAT_LIST_KEY,
|
|
8
9
|
CONVERSATION_COLUMNS,
|
|
9
10
|
DEFAULT_AGENT_CLOSE,
|
|
10
11
|
DEFAULT_FIRST_PASS_PER_CHAT,
|
|
12
|
+
DEFAULT_OWNER_LANGUAGES,
|
|
13
|
+
ENRICHMENT_SUBJECTS,
|
|
11
14
|
MAIL_AGENDA_COLUMNS,
|
|
12
15
|
MENTION_QUERY,
|
|
13
16
|
MENTION_STATUSES,
|
|
@@ -16,6 +19,7 @@ import {
|
|
|
16
19
|
TRACKED_CHAT_COLUMNS,
|
|
17
20
|
accountGroupsOf,
|
|
18
21
|
attachmentColumns,
|
|
22
|
+
crmSettingsOf,
|
|
19
23
|
drainNoteIndex,
|
|
20
24
|
dropAllUnusedVectors,
|
|
21
25
|
fetchedKey,
|
|
@@ -31,6 +35,10 @@ import {
|
|
|
31
35
|
openSqlite,
|
|
32
36
|
openStore,
|
|
33
37
|
orphanPointers,
|
|
38
|
+
ownerLanguages,
|
|
39
|
+
parseCrmSetting,
|
|
40
|
+
parseCrmSettingValue,
|
|
41
|
+
parseOwnerLanguages,
|
|
34
42
|
pendingNormalization,
|
|
35
43
|
queryFilter,
|
|
36
44
|
readStoreTables,
|
|
@@ -41,9 +49,12 @@ import {
|
|
|
41
49
|
resetStems,
|
|
42
50
|
rollBack,
|
|
43
51
|
rowCounts,
|
|
52
|
+
saveCrmSetting,
|
|
53
|
+
saveOwnerLanguages,
|
|
44
54
|
saveStorePhoneCountries,
|
|
45
55
|
savedAgentClose,
|
|
46
56
|
savedFirstPassPerChat,
|
|
57
|
+
savedOwnerLanguages,
|
|
47
58
|
savedPhoneCountries,
|
|
48
59
|
savedStemmers,
|
|
49
60
|
savedTaskCategories,
|
|
@@ -56,34 +67,40 @@ import {
|
|
|
56
67
|
threadConversation,
|
|
57
68
|
titlePart,
|
|
58
69
|
vectorIndexCounts
|
|
59
|
-
} from "./chunk-
|
|
60
|
-
import "./chunk-
|
|
61
|
-
import
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
import "./chunk-
|
|
65
|
-
import "./chunk-
|
|
66
|
-
import "./chunk-
|
|
67
|
-
import "./chunk-
|
|
68
|
-
import "./chunk-
|
|
69
|
-
import "./chunk-
|
|
70
|
-
import "./chunk-
|
|
71
|
-
import "./chunk-
|
|
72
|
-
import "./chunk-
|
|
70
|
+
} from "./chunk-EWGVDFPT.js";
|
|
71
|
+
import "./chunk-UD55VB2N.js";
|
|
72
|
+
import {
|
|
73
|
+
BUSINESS_KINDS
|
|
74
|
+
} from "./chunk-CPMRM3GQ.js";
|
|
75
|
+
import "./chunk-2FEZ24DK.js";
|
|
76
|
+
import "./chunk-B67BLRAI.js";
|
|
77
|
+
import "./chunk-VIJ6ACYB.js";
|
|
78
|
+
import "./chunk-BEZJA44H.js";
|
|
79
|
+
import "./chunk-DD7EFG6B.js";
|
|
80
|
+
import "./chunk-USLZE36C.js";
|
|
81
|
+
import "./chunk-EQEGJVO2.js";
|
|
82
|
+
import "./chunk-SW6C6WH5.js";
|
|
83
|
+
import "./chunk-36GPBPWM.js";
|
|
84
|
+
import "./chunk-G4KEKKDE.js";
|
|
85
|
+
import "./chunk-KG2XKEHL.js";
|
|
73
86
|
import "./chunk-Y5E2WNWB.js";
|
|
74
|
-
import "./chunk-
|
|
75
|
-
import "./chunk-
|
|
76
|
-
import "./chunk-
|
|
77
|
-
import "./chunk-
|
|
87
|
+
import "./chunk-IDAK4DDK.js";
|
|
88
|
+
import "./chunk-HW4UPST2.js";
|
|
89
|
+
import "./chunk-BDYWZ7JE.js";
|
|
90
|
+
import "./chunk-EJ4PNHPP.js";
|
|
78
91
|
import "./chunk-ZVVMGPBJ.js";
|
|
79
92
|
export {
|
|
80
93
|
AGENDA_COLUMNS,
|
|
81
94
|
BACKFILL_ON_OPEN,
|
|
95
|
+
BUSINESS_FIND_MAX,
|
|
96
|
+
BUSINESS_KINDS,
|
|
82
97
|
CHAT_COLUMNS,
|
|
83
98
|
CHAT_LIST_KEY,
|
|
84
99
|
CONVERSATION_COLUMNS,
|
|
85
100
|
DEFAULT_AGENT_CLOSE,
|
|
86
101
|
DEFAULT_FIRST_PASS_PER_CHAT,
|
|
102
|
+
DEFAULT_OWNER_LANGUAGES,
|
|
103
|
+
ENRICHMENT_SUBJECTS,
|
|
87
104
|
MAIL_AGENDA_COLUMNS,
|
|
88
105
|
MENTION_QUERY,
|
|
89
106
|
MENTION_STATUSES,
|
|
@@ -92,6 +109,7 @@ export {
|
|
|
92
109
|
TRACKED_CHAT_COLUMNS,
|
|
93
110
|
accountGroupsOf,
|
|
94
111
|
attachmentColumns,
|
|
112
|
+
crmSettingsOf,
|
|
95
113
|
drainNoteIndex,
|
|
96
114
|
dropAllUnusedVectors,
|
|
97
115
|
fetchedKey,
|
|
@@ -107,6 +125,10 @@ export {
|
|
|
107
125
|
openSqlite,
|
|
108
126
|
openStore,
|
|
109
127
|
orphanPointers,
|
|
128
|
+
ownerLanguages,
|
|
129
|
+
parseCrmSetting,
|
|
130
|
+
parseCrmSettingValue,
|
|
131
|
+
parseOwnerLanguages,
|
|
110
132
|
pendingNormalization,
|
|
111
133
|
queryFilter,
|
|
112
134
|
readStoreTables,
|
|
@@ -117,9 +139,12 @@ export {
|
|
|
117
139
|
resetStems,
|
|
118
140
|
rollBack,
|
|
119
141
|
rowCounts,
|
|
142
|
+
saveCrmSetting,
|
|
143
|
+
saveOwnerLanguages,
|
|
120
144
|
saveStorePhoneCountries,
|
|
121
145
|
savedAgentClose,
|
|
122
146
|
savedFirstPassPerChat,
|
|
147
|
+
savedOwnerLanguages,
|
|
123
148
|
savedPhoneCountries,
|
|
124
149
|
savedStemmers,
|
|
125
150
|
savedTaskCategories,
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
import { createRequire as __bundleRequire } from "node:module";
|
|
2
|
+
const require = __bundleRequire(import.meta.url);
|
|
3
|
+
import {
|
|
4
|
+
buildStems,
|
|
5
|
+
storeMaintenanceCommands,
|
|
6
|
+
storeSummary
|
|
7
|
+
} from "./chunk-34BIDKF4.js";
|
|
8
|
+
import "./chunk-UJR272CP.js";
|
|
9
|
+
import "./chunk-P7DEGRZA.js";
|
|
10
|
+
import "./chunk-HTQTIKWP.js";
|
|
11
|
+
import "./chunk-LOMW6F2E.js";
|
|
12
|
+
import "./chunk-VT2UFYPJ.js";
|
|
13
|
+
import "./chunk-VPLFD5RJ.js";
|
|
14
|
+
import "./chunk-F2VDAG32.js";
|
|
15
|
+
import "./chunk-J62DI53V.js";
|
|
16
|
+
import "./chunk-3J5KAFNA.js";
|
|
17
|
+
import "./chunk-KE4XPPRQ.js";
|
|
18
|
+
import "./chunk-O2QO5UZC.js";
|
|
19
|
+
import "./chunk-OH3K2E7X.js";
|
|
20
|
+
import "./chunk-N622LRPM.js";
|
|
21
|
+
import "./chunk-6G53ZFUT.js";
|
|
22
|
+
import "./chunk-3NULZGQU.js";
|
|
23
|
+
import "./chunk-KIN6PDFE.js";
|
|
24
|
+
import "./chunk-EZ6O3ST3.js";
|
|
25
|
+
import "./chunk-KVW4XNKB.js";
|
|
26
|
+
import "./chunk-BZ2ZKILM.js";
|
|
27
|
+
import "./chunk-JRXFW7HE.js";
|
|
28
|
+
import "./chunk-5DPV7X27.js";
|
|
29
|
+
import "./chunk-66AF4FBW.js";
|
|
30
|
+
import "./chunk-EWGVDFPT.js";
|
|
31
|
+
import "./chunk-UD55VB2N.js";
|
|
32
|
+
import "./chunk-CPMRM3GQ.js";
|
|
33
|
+
import "./chunk-2FEZ24DK.js";
|
|
34
|
+
import "./chunk-B67BLRAI.js";
|
|
35
|
+
import "./chunk-VIJ6ACYB.js";
|
|
36
|
+
import "./chunk-BEZJA44H.js";
|
|
37
|
+
import "./chunk-DD7EFG6B.js";
|
|
38
|
+
import "./chunk-USLZE36C.js";
|
|
39
|
+
import "./chunk-EQEGJVO2.js";
|
|
40
|
+
import "./chunk-6B37XO6B.js";
|
|
41
|
+
import "./chunk-5OFA5EXE.js";
|
|
42
|
+
import "./chunk-D72URWJE.js";
|
|
43
|
+
import "./chunk-IK6KH3RE.js";
|
|
44
|
+
import "./chunk-SW6C6WH5.js";
|
|
45
|
+
import "./chunk-36GPBPWM.js";
|
|
46
|
+
import "./chunk-G4KEKKDE.js";
|
|
47
|
+
import "./chunk-KG2XKEHL.js";
|
|
48
|
+
import "./chunk-Y5E2WNWB.js";
|
|
49
|
+
import "./chunk-IDAK4DDK.js";
|
|
50
|
+
import "./chunk-HW4UPST2.js";
|
|
51
|
+
import "./chunk-BDYWZ7JE.js";
|
|
52
|
+
import "./chunk-EJ4PNHPP.js";
|
|
53
|
+
import "./chunk-ZVVMGPBJ.js";
|
|
54
|
+
export {
|
|
55
|
+
buildStems,
|
|
56
|
+
storeMaintenanceCommands,
|
|
57
|
+
storeSummary
|
|
58
|
+
};
|
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
import { createRequire as __bundleRequire } from "node:module";
|
|
2
|
+
const require = __bundleRequire(import.meta.url);
|
|
3
|
+
import {
|
|
4
|
+
authorizedClient,
|
|
5
|
+
checkAuthorization,
|
|
6
|
+
covers,
|
|
7
|
+
credentials,
|
|
8
|
+
googleProvider,
|
|
9
|
+
grantedScopes,
|
|
10
|
+
notSaved,
|
|
11
|
+
observeRequests,
|
|
12
|
+
operationOf,
|
|
13
|
+
saveSession,
|
|
14
|
+
sessionKeeper
|
|
15
|
+
} from "./chunk-XPXKD63J.js";
|
|
16
|
+
import "./chunk-OEVHZOHC.js";
|
|
17
|
+
import "./chunk-UIEA6FIV.js";
|
|
18
|
+
import {
|
|
19
|
+
ACTIVITY_SCOPE,
|
|
20
|
+
APPS_SCOPE,
|
|
21
|
+
READ_SCOPE,
|
|
22
|
+
WRITE_SCOPE
|
|
23
|
+
} from "./chunk-AHB4OJCI.js";
|
|
24
|
+
import "./chunk-GSMYXGFR.js";
|
|
25
|
+
import "./chunk-K6BSB53R.js";
|
|
26
|
+
import "./chunk-SBZB7HMU.js";
|
|
27
|
+
import "./chunk-GW3U6OLD.js";
|
|
28
|
+
import "./chunk-ZRZ4HTCK.js";
|
|
29
|
+
import "./chunk-QXCKJUZY.js";
|
|
30
|
+
import "./chunk-34BIDKF4.js";
|
|
31
|
+
import "./chunk-UJR272CP.js";
|
|
32
|
+
import "./chunk-P7DEGRZA.js";
|
|
33
|
+
import "./chunk-IX7NQJLY.js";
|
|
34
|
+
import "./chunk-HTQTIKWP.js";
|
|
35
|
+
import "./chunk-TNV2FXVK.js";
|
|
36
|
+
import "./chunk-LOMW6F2E.js";
|
|
37
|
+
import "./chunk-VT2UFYPJ.js";
|
|
38
|
+
import "./chunk-B7XBIOMR.js";
|
|
39
|
+
import "./chunk-VPLFD5RJ.js";
|
|
40
|
+
import "./chunk-ZSZJLJIA.js";
|
|
41
|
+
import "./chunk-4CNTID2X.js";
|
|
42
|
+
import "./chunk-F2VDAG32.js";
|
|
43
|
+
import "./chunk-J62DI53V.js";
|
|
44
|
+
import "./chunk-3J5KAFNA.js";
|
|
45
|
+
import "./chunk-KE4XPPRQ.js";
|
|
46
|
+
import "./chunk-O2QO5UZC.js";
|
|
47
|
+
import "./chunk-OH3K2E7X.js";
|
|
48
|
+
import "./chunk-N622LRPM.js";
|
|
49
|
+
import "./chunk-6G53ZFUT.js";
|
|
50
|
+
import "./chunk-3NULZGQU.js";
|
|
51
|
+
import "./chunk-KIN6PDFE.js";
|
|
52
|
+
import "./chunk-EZ6O3ST3.js";
|
|
53
|
+
import "./chunk-KVW4XNKB.js";
|
|
54
|
+
import "./chunk-BZ2ZKILM.js";
|
|
55
|
+
import "./chunk-JRXFW7HE.js";
|
|
56
|
+
import "./chunk-5DPV7X27.js";
|
|
57
|
+
import "./chunk-66AF4FBW.js";
|
|
58
|
+
import "./chunk-BEUAICUD.js";
|
|
59
|
+
import "./chunk-EWGVDFPT.js";
|
|
60
|
+
import "./chunk-UD55VB2N.js";
|
|
61
|
+
import "./chunk-CPMRM3GQ.js";
|
|
62
|
+
import "./chunk-2FEZ24DK.js";
|
|
63
|
+
import "./chunk-B67BLRAI.js";
|
|
64
|
+
import "./chunk-VIJ6ACYB.js";
|
|
65
|
+
import "./chunk-BEZJA44H.js";
|
|
66
|
+
import "./chunk-DD7EFG6B.js";
|
|
67
|
+
import "./chunk-USLZE36C.js";
|
|
68
|
+
import "./chunk-EQEGJVO2.js";
|
|
69
|
+
import "./chunk-6B37XO6B.js";
|
|
70
|
+
import "./chunk-5OFA5EXE.js";
|
|
71
|
+
import "./chunk-D72URWJE.js";
|
|
72
|
+
import "./chunk-IK6KH3RE.js";
|
|
73
|
+
import "./chunk-M73NNJ3X.js";
|
|
74
|
+
import "./chunk-C7WBNOYW.js";
|
|
75
|
+
import "./chunk-SW6C6WH5.js";
|
|
76
|
+
import "./chunk-36GPBPWM.js";
|
|
77
|
+
import "./chunk-G4KEKKDE.js";
|
|
78
|
+
import "./chunk-KG2XKEHL.js";
|
|
79
|
+
import "./chunk-Y5E2WNWB.js";
|
|
80
|
+
import "./chunk-IDAK4DDK.js";
|
|
81
|
+
import "./chunk-HW4UPST2.js";
|
|
82
|
+
import "./chunk-BDYWZ7JE.js";
|
|
83
|
+
import "./chunk-EJ4PNHPP.js";
|
|
84
|
+
import "./chunk-ZVVMGPBJ.js";
|
|
85
|
+
export {
|
|
86
|
+
ACTIVITY_SCOPE,
|
|
87
|
+
APPS_SCOPE,
|
|
88
|
+
READ_SCOPE,
|
|
89
|
+
WRITE_SCOPE,
|
|
90
|
+
authorizedClient,
|
|
91
|
+
checkAuthorization,
|
|
92
|
+
covers,
|
|
93
|
+
credentials,
|
|
94
|
+
googleProvider,
|
|
95
|
+
grantedScopes,
|
|
96
|
+
notSaved,
|
|
97
|
+
observeRequests,
|
|
98
|
+
operationOf,
|
|
99
|
+
saveSession,
|
|
100
|
+
sessionKeeper
|
|
101
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"account.d.ts","sourceRoot":"","sources":["../../src/commands/account.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,WAAW,CAAA;AAKxC,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,cAAc,CAAA;AAuBlD,eAAO,MAAM,sBAAsB,YAAa,OAAO,YAAY,cAAc,SAIhF,CAAA"}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { join } from "node:path";
|
|
2
|
+
import { annotate } from "@wirecat/cli-base/commands";
|
|
3
|
+
import { accountRemoveCommand, LOCAL_READ } from "@wirecat/cli-core/cli";
|
|
4
|
+
import { application, configuration, paths, readConfig } from "../config.js";
|
|
5
|
+
import { DRIVE_APP } from "../identity.js";
|
|
6
|
+
import { profileLocked } from "../profile-lock.js";
|
|
7
|
+
import { profileDir } from "../state.js";
|
|
8
|
+
const removal = {
|
|
9
|
+
signOut: async (profile, { env, keyring, mayRevoke }) => {
|
|
10
|
+
const storage = readConfig(env).profiles[profile]?.storage ?? "keyring";
|
|
11
|
+
const { sessionKeeper } = await import("../tokens.js");
|
|
12
|
+
const { revoked } = await sessionKeeper({
|
|
13
|
+
env,
|
|
14
|
+
name: profile,
|
|
15
|
+
storage,
|
|
16
|
+
client: application(env, { profile }),
|
|
17
|
+
...(keyring ? { keyring } : {}),
|
|
18
|
+
}).signOut({ revoke: mayRevoke });
|
|
19
|
+
return { revoked, removed: ["the Google sign-in"] };
|
|
20
|
+
},
|
|
21
|
+
account: (profile, { env }) => {
|
|
22
|
+
const principal = readConfig(env).profiles[profile]?.principal;
|
|
23
|
+
return principal ? { provider: "google-drive", account: principal } : undefined;
|
|
24
|
+
},
|
|
25
|
+
dataFiles: (profile, { env }) => [profileDir(env, profile), join(paths(env).cache, "exports", profile)],
|
|
26
|
+
busy: (profile, { env }) => (profileLocked(env, profile) ? "a sync or knowledge operation" : undefined),
|
|
27
|
+
};
|
|
28
|
+
export const installAccountCommands = (program, _context) => {
|
|
29
|
+
annotate(program.command("account"), { effects: LOCAL_READ })
|
|
30
|
+
.description("remove this profile from this computer")
|
|
31
|
+
.addCommand(accountRemoveCommand(DRIVE_APP, removal, { resolveSettings: configuration.resolveSettings }));
|
|
32
|
+
};
|
|
33
|
+
//# sourceMappingURL=account.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"account.js","sourceRoot":"","sources":["../../src/commands/account.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,WAAW,CAAA;AAChC,OAAO,EAAE,QAAQ,EAAE,MAAM,4BAA4B,CAAA;AACrD,OAAO,EAAuB,oBAAoB,EAAE,UAAU,EAAE,MAAM,uBAAuB,CAAA;AAE7F,OAAO,EAAE,WAAW,EAAE,aAAa,EAAE,KAAK,EAAE,UAAU,EAAE,MAAM,cAAc,CAAA;AAC5E,OAAO,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAA;AAC1C,OAAO,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAA;AAClD,OAAO,EAAE,UAAU,EAAE,MAAM,aAAa,CAAA;AAGxC,MAAM,OAAO,GAAmB;IAC9B,OAAO,EAAE,KAAK,EAAE,OAAO,EAAE,EAAE,GAAG,EAAE,OAAO,EAAE,SAAS,EAAE,EAAE,EAAE;QACtD,MAAM,OAAO,GAAG,UAAU,CAAC,GAAG,CAAC,CAAC,QAAQ,CAAC,OAAO,CAAC,EAAE,OAAO,IAAI,SAAS,CAAA;QACvE,MAAM,EAAE,aAAa,EAAE,GAAG,MAAM,MAAM,CAAC,cAAc,CAAC,CAAA;QACtD,MAAM,EAAE,OAAO,EAAE,GAAG,MAAM,aAAa,CAAC;YACtC,GAAG;YACH,IAAI,EAAE,OAAO;YACb,OAAO;YACP,MAAM,EAAE,WAAW,CAAC,GAAG,EAAE,EAAE,OAAO,EAAE,CAAC;YACrC,GAAG,CAAC,OAAO,CAAC,CAAC,CAAC,EAAE,OAAO,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC;SAChC,CAAC,CAAC,OAAO,CAAC,EAAE,MAAM,EAAE,SAAS,EAAE,CAAC,CAAA;QACjC,OAAO,EAAE,OAAO,EAAE,OAAO,EAAE,CAAC,oBAAoB,CAAC,EAAE,CAAA;IACrD,CAAC;IACD,OAAO,EAAE,CAAC,OAAO,EAAE,EAAE,GAAG,EAAE,EAAE,EAAE;QAC5B,MAAM,SAAS,GAAG,UAAU,CAAC,GAAG,CAAC,CAAC,QAAQ,CAAC,OAAO,CAAC,EAAE,SAAS,CAAA;QAC9D,OAAO,SAAS,CAAC,CAAC,CAAC,EAAE,QAAQ,EAAE,cAAc,EAAE,OAAO,EAAE,SAAS,EAAE,CAAC,CAAC,CAAC,SAAS,CAAA;IACjF,CAAC;IACD,SAAS,EAAE,CAAC,OAAO,EAAE,EAAE,GAAG,EAAE,EAAE,EAAE,CAAC,CAAC,UAAU,CAAC,GAAG,EAAE,OAAO,CAAC,EAAE,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,KAAK,EAAE,SAAS,EAAE,OAAO,CAAC,CAAC;IACvG,IAAI,EAAE,CAAC,OAAO,EAAE,EAAE,GAAG,EAAE,EAAE,EAAE,CAAC,CAAC,aAAa,CAAC,GAAG,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,+BAA+B,CAAC,CAAC,CAAC,SAAS,CAAC;CACxG,CAAA;AAED,MAAM,CAAC,MAAM,sBAAsB,GAAG,CAAC,OAAgB,EAAE,QAAwB,EAAE,EAAE;IACnF,QAAQ,CAAC,OAAO,CAAC,OAAO,CAAC,SAAS,CAAC,EAAE,EAAE,OAAO,EAAE,UAAU,EAAE,CAAC;SAC1D,WAAW,CAAC,wCAAwC,CAAC;SACrD,UAAU,CAAC,oBAAoB,CAAC,SAAS,EAAE,OAAO,EAAE,EAAE,eAAe,EAAE,aAAa,CAAC,eAAe,EAAE,CAAC,CAAC,CAAA;AAC7G,CAAC,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"config.d.ts","sourceRoot":"","sources":["../../src/commands/config.ts"],"names":[],"mappings":"AAYA,OAAO,EAAE,KAAK,OAAO,EAAU,MAAM,WAAW,CAAA;AAmBhD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,cAAc,CAAA;AAsClD,eAAO,MAAM,qBAAqB,YACvB,OAAO,gEAC8C,cAAc,SAuJ7E,CAAA;AAED,eAAO,MAAM,oBAAoB,YAAa,OAAO,yCAAyC,cAAc,
|
|
1
|
+
{"version":3,"file":"config.d.ts","sourceRoot":"","sources":["../../src/commands/config.ts"],"names":[],"mappings":"AAYA,OAAO,EAAE,KAAK,OAAO,EAAU,MAAM,WAAW,CAAA;AAmBhD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,cAAc,CAAA;AAsClD,eAAO,MAAM,qBAAqB,YACvB,OAAO,gEAC8C,cAAc,SAuJ7E,CAAA;AAED,eAAO,MAAM,oBAAoB,YAAa,OAAO,yCAAyC,cAAc,SAiF3G,CAAA"}
|
package/dist/commands/config.js
CHANGED
|
@@ -217,8 +217,12 @@ export const installModelCommands = (program, { env, output, streams, policyFlag
|
|
|
217
217
|
diagnostic: (line) => streams.diagnostic(line),
|
|
218
218
|
offline: () => policyFlags().offline === true,
|
|
219
219
|
});
|
|
220
|
+
// Drive's own `models set` chooses the memory provider; the shared one, which picks the embedding model, would
|
|
221
|
+
// collide with it, so drive keeps its own and the choice is made from any other CLI.
|
|
222
|
+
const own = new Set(models.commands.map((command) => command.name()));
|
|
220
223
|
for (const command of sharedModels.commands)
|
|
221
|
-
|
|
224
|
+
if (!own.has(command.name()))
|
|
225
|
+
models.addCommand(command);
|
|
222
226
|
const images = annotate(program.command("images"), { effects: LOCAL_READ }).description("the local model that picture search uses");
|
|
223
227
|
const imageModels = annotate(images.command("models"), { effects: LOCAL_READ }).description("models that read pictures, for picture search");
|
|
224
228
|
examples(annotate(imageModels.command("download"), { effects: FETCH, output: { entity: "model" } }).description("download a picture model once into the folder every WireCat CLI shares"), ["drive images models download clip-b32"])
|