@wirecat/drive-cli 0.63.0 → 0.65.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-GZJS3UKC.js → all-profiles-PD7GJHFA.js} +14 -13
- package/dist/bundle/{anthropic-RGV3WXX5.js → anthropic-PJKFON5H.js} +25 -14
- package/dist/bundle/{app-server-AA2PJ7PV.js → app-server-6ELQA6FJ.js} +59 -56
- package/dist/bundle/{bun-OXZYIA3R.js → bun-P54TGES2.js} +2 -2
- package/dist/bundle/{bun-sqlite-D45NSDM3.js → bun-sqlite-TND5ZRJH.js} +12 -8
- package/dist/bundle/chunk-2AFI4KGI.js +185 -0
- package/dist/bundle/{chunk-Q5DJTRKV.js → chunk-3HXNDF6Q.js} +2 -2
- package/dist/bundle/{chunk-DJHLVUL6.js → chunk-3ONWN3IA.js} +278 -49
- package/dist/bundle/{chunk-WYGWWHZP.js → chunk-42G2XNPN.js} +2 -2
- package/dist/bundle/chunk-4AOINPN2.js +66 -0
- package/dist/bundle/{chunk-J4DIHPZ6.js → chunk-4EDWLR22.js} +1 -1
- package/dist/bundle/{chunk-ABYGSJZ4.js → chunk-4Y5YBFMS.js} +7 -7
- package/dist/bundle/{chunk-YGU6ULU5.js → chunk-54V4H6PM.js} +16 -16
- package/dist/bundle/{chunk-2TFXK3R4.js → chunk-5XSBCMAF.js} +4 -4
- package/dist/bundle/{chunk-2HF2MRXI.js → chunk-6DCLZLGX.js} +1 -1
- package/dist/bundle/{chunk-OD4U7GUY.js → chunk-7AQGVX5O.js} +20 -20
- package/dist/bundle/{chunk-YIP7ELON.js → chunk-7TAP7Y2E.js} +727 -518
- package/dist/bundle/{chunk-TF23BZW5.js → chunk-A27UVLPK.js} +3 -3
- package/dist/bundle/{chunk-LZEOQW7S.js → chunk-A4QNADEX.js} +58 -52
- package/dist/bundle/{chunk-FXBHOCJK.js → chunk-ADLS6FVG.js} +1 -1
- package/dist/bundle/{chunk-LMAVCYLQ.js → chunk-B2LPCHQN.js} +4 -4
- package/dist/bundle/{chunk-5PPL7JDM.js → chunk-CGQRZRTH.js} +2 -2
- package/dist/bundle/{chunk-VAUMOZU5.js → chunk-CWLL63JD.js} +107 -48
- package/dist/bundle/{chunk-V3NVXIQR.js → chunk-D6Z43SOG.js} +1563 -266
- package/dist/bundle/{chunk-OXY6SSZG.js → chunk-D7WB54P7.js} +127 -28
- package/dist/bundle/{chunk-VJEOGKAN.js → chunk-DA63E2UM.js} +13 -9
- package/dist/bundle/{chunk-EOOGWUTP.js → chunk-ECEP4SO3.js} +20 -20
- package/dist/bundle/{chunk-NEFSGCVA.js → chunk-EHU6EYGO.js} +38 -28
- package/dist/bundle/{chunk-4OSSOWDM.js → chunk-ELJUBPY4.js} +1 -1
- package/dist/bundle/{chunk-FRIJUILO.js → chunk-EM7NL5ES.js} +3 -3
- package/dist/bundle/{chunk-3BZRKLJ6.js → chunk-EU5MD24W.js} +13 -13
- package/dist/bundle/{chunk-MOTRI3SY.js → chunk-EZ2OLYEK.js} +24 -2
- package/dist/bundle/{chunk-6MQSQ4LX.js → chunk-F56DRBGY.js} +370 -717
- package/dist/bundle/{chunk-ZOJU7ZFI.js → chunk-FA6JNXCC.js} +8 -8
- package/dist/bundle/{chunk-ND6LLYGF.js → chunk-FBHSWQU7.js} +1531 -136
- package/dist/bundle/{chunk-Z42YYLTS.js → chunk-GW3LBY3T.js} +74 -72
- package/dist/bundle/{chunk-Y6GNA7HE.js → chunk-HP3NT6JJ.js} +23 -5
- package/dist/bundle/{chunk-DJ3SDJZY.js → chunk-I272E6UR.js} +9 -8
- package/dist/bundle/{chunk-L37LMMRJ.js → chunk-IBO23OID.js} +2 -2
- package/dist/bundle/{chunk-CE2TJBLP.js → chunk-II4S2DBJ.js} +3 -3
- package/dist/bundle/{chunk-ZM5J6ZMB.js → chunk-IKHOIXJR.js} +2 -2
- package/dist/bundle/{chunk-PO5RQQIG.js → chunk-IMHW7VIV.js} +5 -5
- package/dist/bundle/{chunk-3HK5WMI5.js → chunk-JMJIH6JH.js} +6 -6
- package/dist/bundle/{chunk-FUITWY7O.js → chunk-JPPPLKAO.js} +26 -1
- package/dist/bundle/{chunk-4S4JMW6I.js → chunk-LMKPP2JP.js} +1 -1
- package/dist/bundle/{chunk-HZZCEQTH.js → chunk-M7ELUGU6.js} +4 -4
- package/dist/bundle/{chunk-ZMOUUOT2.js → chunk-MCPOZNWG.js} +1 -1
- package/dist/bundle/{chunk-XNVFKMVR.js → chunk-NI5PD5KM.js} +39485 -35729
- package/dist/bundle/{chunk-2TDUGC5D.js → chunk-NQ5XMSLA.js} +4927 -1978
- package/dist/bundle/chunk-NQRTKYJB.js +257 -0
- package/dist/bundle/{chunk-44SBK6KB.js → chunk-O6K2E7OA.js} +4201 -2565
- package/dist/bundle/{chunk-534OBX5Y.js → chunk-O7ZDCOZE.js} +1 -1
- package/dist/bundle/{chunk-7EMQ26BA.js → chunk-OFJXHEFT.js} +13 -13
- package/dist/bundle/chunk-OWMZUWCM.js +109 -0
- package/dist/bundle/chunk-PHOL2DZM.js +138 -0
- package/dist/bundle/{chunk-UQLWMGSD.js → chunk-PLP5527C.js} +5 -5
- package/dist/bundle/{chunk-3QINVLZI.js → chunk-RNHGQ35R.js} +1 -1
- package/dist/bundle/{chunk-27YUUGXQ.js → chunk-RX5CJ55S.js} +1 -1
- package/dist/bundle/{chunk-XIUDS3OK.js → chunk-SE352DBY.js} +1 -1
- package/dist/bundle/chunk-SEQWBZYH.js +18 -0
- package/dist/bundle/{chunk-33MGFUED.js → chunk-SIWXYB4E.js} +3789 -3538
- package/dist/bundle/{chunk-4CIZWCXV.js → chunk-SNLSEYJO.js} +1 -1
- package/dist/bundle/{chunk-XDC3TWTL.js → chunk-SS4LKLD7.js} +52 -605
- package/dist/bundle/{chunk-BKYMKVHT.js → chunk-TMHF4BCL.js} +2 -2
- package/dist/bundle/{chunk-FEZF3TII.js → chunk-TOVWMURV.js} +74 -6
- package/dist/bundle/{chunk-QCKZ3GAA.js → chunk-TTP4NOP3.js} +4 -4
- package/dist/bundle/chunk-UTNRBOEN.js +53 -0
- package/dist/bundle/{chunk-2NIC72HH.js → chunk-VDZY3L7U.js} +3 -1
- package/dist/bundle/chunk-VHQYWFWV.js +13 -0
- package/dist/bundle/{chunk-VKPCONDQ.js → chunk-VLXWAH5E.js} +4 -4
- package/dist/bundle/{chunk-6KQJSFYF.js → chunk-VMAMRFFC.js} +23 -23
- package/dist/bundle/{chunk-6EY46GAN.js → chunk-W2XY6C5S.js} +2 -2
- package/dist/bundle/{chunk-J24ZFCWM.js → chunk-WRAUO5EJ.js} +22 -24
- package/dist/bundle/{chunk-S4RXABDR.js → chunk-WRMJN6UQ.js} +3 -3
- package/dist/bundle/{chunk-UPOSDTPT.js → chunk-WVJHZIDH.js} +3 -3
- package/dist/bundle/{chunk-E4SDKMBJ.js → chunk-X7YGGWXI.js} +1 -59
- package/dist/bundle/{chunk-O2XOX4HB.js → chunk-XPWZSW6Y.js} +50 -34
- package/dist/bundle/{chunk-PDCCYHCH.js → chunk-XYE7XZPB.js} +5 -5
- package/dist/bundle/{chunk-RKELRWH7.js → chunk-Y5PKRITX.js} +5 -5
- package/dist/bundle/{chunk-XR6ESRU6.js → chunk-Z2ADO6UA.js} +2 -2
- package/dist/bundle/{chunk-YUWPNG7B.js → chunk-ZD4MB7NH.js} +1 -1
- package/dist/bundle/{chunk-TWUH22Z5.js → chunk-ZILALBYQ.js} +4 -4
- package/dist/bundle/{chunk-SXM6MHRR.js → chunk-ZR2EJPMQ.js} +44 -15
- package/dist/bundle/command-contract-25E4PYMD.js +40 -0
- package/dist/bundle/command-server-entry-36JXYIJB.js +170 -0
- package/dist/bundle/{decode-G5YEIPNC.js → decode-T5ZW57WZ.js} +8 -8
- package/dist/bundle/{dispatch-GEFIXA6X.js → dispatch-RMA2XFYA.js} +11 -11
- package/dist/bundle/drive.js +11 -11
- package/dist/bundle/{echarts-W2CWHNXR.js → echarts-KQ44LPSF.js} +2 -2
- package/dist/bundle/{embed-OBFFPVF4.js → embed-Q7XST53J.js} +9 -9
- package/dist/bundle/{embedder-NGCBQHIG.js → embedder-RWZSBVW2.js} +12 -12
- package/dist/bundle/entry-HPLW4QL2.js +25 -0
- package/dist/bundle/{failure-GV77W3CD.js → failure-7NP4QPIN.js} +4 -4
- package/dist/bundle/first-run-RL3RKYZW.js +30 -0
- package/dist/bundle/first-screen-NX3TM2VJ.js +38 -0
- package/dist/bundle/google-DPD5N6AQ.js +42 -0
- package/dist/bundle/{google-api-Z3NSTBBR.js → google-api-P5DRHD7L.js} +61 -56
- package/dist/bundle/grants-TX4MHLI4.js +109 -0
- package/dist/bundle/{identity-OM6GFZ7T.js → identity-VDV6CHRW.js} +6 -6
- package/dist/bundle/{instructions-YQBQSYSS.js → instructions-Q45FVY6H.js} +1 -1
- package/dist/bundle/{login-7RYSDVN3.js → login-XKN3NI6X.js} +67 -62
- package/dist/bundle/{mcp-GWDA3HOA.js → mcp-7KQUJNFN.js} +2 -2
- package/dist/bundle/{node-IVU33RL7.js → node-MSW565D3.js} +2 -2
- package/dist/bundle/{node-KM3CUABH.js → node-P4E63KXA.js} +9 -9
- package/dist/bundle/{node-sqlite-SIH5BEW2.js → node-sqlite-S74XVVHL.js} +13 -9
- package/dist/bundle/oauth-6R7AWAES.js +22 -0
- package/dist/bundle/{open-IAO2SNII.js → open-P7UQG7XJ.js} +8 -8
- package/dist/bundle/{openai-SGOUBHXP.js → openai-DDHJ57KZ.js} +19 -40
- package/dist/bundle/{process-BPBMV3AT.js → process-NMUB5SHK.js} +1 -1
- package/dist/bundle/{program-MYKKJ4F6.js → program-PJNWP6JW.js} +517 -330
- package/dist/bundle/prompt-VOSMK4C2.js +19 -0
- package/dist/bundle/{reasons-57J2D77K.js → reasons-KDAXOC5S.js} +5 -5
- package/dist/bundle/{recognize-A5C5RPB3.js → recognize-GZIY63HS.js} +7 -7
- package/dist/bundle/{remote-VWYFLRGO.js → remote-V3YGN7LN.js} +10 -10
- package/dist/bundle/{rerank-4NGQWREA.js → rerank-XRU6AVN7.js} +10 -10
- package/dist/bundle/{serve-Y6LQTFH5.js → serve-NDOAFA57.js} +12 -12
- package/dist/bundle/{server-6AUHIIUA.js → server-BKGWJYMC.js} +46 -44
- package/dist/bundle/server-QD2MUJJZ.js +72 -0
- package/dist/bundle/{services-2W4J7EMW.js → services-TYDMFQCA.js} +129 -39
- package/dist/bundle/{sqlite-runtime-P6BBDX2H.js → sqlite-runtime-UAFJKSJR.js} +9 -9
- package/dist/bundle/{start-AFFA3LKM.js → start-2ZLDP2OE.js} +30 -8
- package/dist/bundle/{state-PXKKXR3R.js → state-6SP27J2K.js} +9 -9
- package/dist/bundle/{store-CN6JEUC4.js → store-4UUY545Q.js} +42 -18
- package/dist/bundle/{store-IVV2BAGZ.js → store-EJN27MXI.js} +69 -28
- package/dist/bundle/store-maintenance-command-LETURZDC.js +60 -0
- package/dist/bundle/tokens-MTFJPTYT.js +107 -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 +6 -5
- package/dist/commands/config.js.map +1 -1
- package/dist/commands/context.d.ts +4 -2
- package/dist/commands/context.d.ts.map +1 -1
- package/dist/commands/context.js.map +1 -1
- package/dist/commands/documents.d.ts +2 -0
- package/dist/commands/documents.d.ts.map +1 -1
- package/dist/commands/documents.js +39 -3
- package/dist/commands/documents.js.map +1 -1
- package/dist/config.d.ts +13 -0
- package/dist/config.d.ts.map +1 -1
- package/dist/config.js +32 -2
- package/dist/config.js.map +1 -1
- package/dist/documents-add.d.ts +49 -0
- package/dist/documents-add.d.ts.map +1 -0
- package/dist/documents-add.js +122 -0
- package/dist/documents-add.js.map +1 -0
- package/dist/errors.d.ts +1 -0
- package/dist/errors.d.ts.map +1 -1
- package/dist/errors.js +9 -1
- package/dist/errors.js.map +1 -1
- package/dist/knowledge.d.ts +1 -1
- package/dist/knowledge.d.ts.map +1 -1
- package/dist/knowledge.js +15 -17
- package/dist/knowledge.js.map +1 -1
- package/dist/model.d.ts +3 -0
- package/dist/model.d.ts.map +1 -1
- package/dist/model.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 +24 -15
- package/dist/program.js.map +1 -1
- package/dist/reasons.d.ts.map +1 -1
- package/dist/reasons.js +25 -0
- package/dist/reasons.js.map +1 -1
- package/dist/store.d.ts.map +1 -1
- package/dist/store.js +20 -0
- package/dist/store.js.map +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +4 -4
- package/dist/bundle/chunk-AEX37ETW.js +0 -35
- package/dist/bundle/chunk-OTROVC4E.js +0 -62
- package/dist/bundle/chunk-Z5KC7XBR.js +0 -33
- package/dist/bundle/command-contract-BRW3AP44.js +0 -38
- package/dist/bundle/entry-ET6HGM7A.js +0 -22
- package/dist/bundle/first-run-JG52UZVO.js +0 -30
- package/dist/bundle/first-screen-CIL3GFAA.js +0 -36
- package/dist/bundle/google-CIWUVJ5C.js +0 -36
- package/dist/bundle/grants-3S4RL3WB.js +0 -104
- package/dist/bundle/oauth-PT4JEHLL.js +0 -22
- package/dist/bundle/prompt-3ZM64DCB.js +0 -17
- package/dist/bundle/server-PFHI35HA.js +0 -69
- package/dist/bundle/store-maintenance-command-MSY2QNEH.js +0 -59
- package/dist/bundle/tokens-P4LPNUFW.js +0 -102
- package/dist/bundle/{chunk-ZQ3GWKDQ.js → chunk-YVNHQFLC.js} +0 -0
- package/dist/bundle/{mdast-util-from-markdown-FXEPSNER.js → mdast-util-from-markdown-CE73EWJ2.js} +3 -3
|
@@ -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,
|
|
@@ -27,13 +30,17 @@ import {
|
|
|
27
30
|
historyStartKey,
|
|
28
31
|
inboxKey,
|
|
29
32
|
involvementStoreOver,
|
|
33
|
+
mergeId,
|
|
30
34
|
messageOfEmail,
|
|
31
35
|
noteIndexState,
|
|
32
36
|
openSqlite,
|
|
33
37
|
openStore,
|
|
34
38
|
orphanPointers,
|
|
39
|
+
ownerLanguages,
|
|
35
40
|
parseCrmSetting,
|
|
36
41
|
parseCrmSettingValue,
|
|
42
|
+
parseMergeId,
|
|
43
|
+
parseOwnerLanguages,
|
|
37
44
|
pendingNormalization,
|
|
38
45
|
queryFilter,
|
|
39
46
|
readStoreTables,
|
|
@@ -45,9 +52,11 @@ import {
|
|
|
45
52
|
rollBack,
|
|
46
53
|
rowCounts,
|
|
47
54
|
saveCrmSetting,
|
|
55
|
+
saveOwnerLanguages,
|
|
48
56
|
saveStorePhoneCountries,
|
|
49
57
|
savedAgentClose,
|
|
50
58
|
savedFirstPassPerChat,
|
|
59
|
+
savedOwnerLanguages,
|
|
51
60
|
savedPhoneCountries,
|
|
52
61
|
savedStemmers,
|
|
53
62
|
savedTaskCategories,
|
|
@@ -57,37 +66,45 @@ import {
|
|
|
57
66
|
stemsState,
|
|
58
67
|
storeClients,
|
|
59
68
|
storeContents,
|
|
69
|
+
storedTemplateBodies,
|
|
60
70
|
threadConversation,
|
|
61
71
|
titlePart,
|
|
62
72
|
vectorIndexCounts
|
|
63
|
-
} from "./chunk-
|
|
64
|
-
import "./chunk-
|
|
65
|
-
import "./chunk-
|
|
66
|
-
import "./chunk-
|
|
67
|
-
import
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
import "./chunk-
|
|
71
|
-
import "./chunk-
|
|
72
|
-
import "./chunk-
|
|
73
|
-
import "./chunk-
|
|
74
|
-
import "./chunk-
|
|
75
|
-
import "./chunk-
|
|
76
|
-
import "./chunk-
|
|
73
|
+
} from "./chunk-NI5PD5KM.js";
|
|
74
|
+
import "./chunk-WVJHZIDH.js";
|
|
75
|
+
import "./chunk-FA6JNXCC.js";
|
|
76
|
+
import "./chunk-JMJIH6JH.js";
|
|
77
|
+
import {
|
|
78
|
+
BUSINESS_KINDS
|
|
79
|
+
} from "./chunk-D6Z43SOG.js";
|
|
80
|
+
import "./chunk-ECEP4SO3.js";
|
|
81
|
+
import "./chunk-X7YGGWXI.js";
|
|
82
|
+
import "./chunk-4AOINPN2.js";
|
|
83
|
+
import "./chunk-4Y5YBFMS.js";
|
|
84
|
+
import "./chunk-LMKPP2JP.js";
|
|
85
|
+
import "./chunk-YVNHQFLC.js";
|
|
86
|
+
import "./chunk-VDZY3L7U.js";
|
|
87
|
+
import "./chunk-UTNRBOEN.js";
|
|
88
|
+
import "./chunk-7AQGVX5O.js";
|
|
89
|
+
import "./chunk-PLP5527C.js";
|
|
77
90
|
import "./chunk-Y5E2WNWB.js";
|
|
78
|
-
import "./chunk-
|
|
79
|
-
import "./chunk-
|
|
80
|
-
import "./chunk-
|
|
81
|
-
import "./chunk-
|
|
91
|
+
import "./chunk-6DCLZLGX.js";
|
|
92
|
+
import "./chunk-W2XY6C5S.js";
|
|
93
|
+
import "./chunk-TOVWMURV.js";
|
|
94
|
+
import "./chunk-ELJUBPY4.js";
|
|
82
95
|
import "./chunk-ZVVMGPBJ.js";
|
|
83
96
|
export {
|
|
84
97
|
AGENDA_COLUMNS,
|
|
85
98
|
BACKFILL_ON_OPEN,
|
|
99
|
+
BUSINESS_FIND_MAX,
|
|
100
|
+
BUSINESS_KINDS,
|
|
86
101
|
CHAT_COLUMNS,
|
|
87
102
|
CHAT_LIST_KEY,
|
|
88
103
|
CONVERSATION_COLUMNS,
|
|
89
104
|
DEFAULT_AGENT_CLOSE,
|
|
90
105
|
DEFAULT_FIRST_PASS_PER_CHAT,
|
|
106
|
+
DEFAULT_OWNER_LANGUAGES,
|
|
107
|
+
ENRICHMENT_SUBJECTS,
|
|
91
108
|
MAIL_AGENDA_COLUMNS,
|
|
92
109
|
MENTION_QUERY,
|
|
93
110
|
MENTION_STATUSES,
|
|
@@ -107,13 +124,17 @@ export {
|
|
|
107
124
|
historyStartKey,
|
|
108
125
|
inboxKey,
|
|
109
126
|
involvementStoreOver,
|
|
127
|
+
mergeId,
|
|
110
128
|
messageOfEmail,
|
|
111
129
|
noteIndexState,
|
|
112
130
|
openSqlite,
|
|
113
131
|
openStore,
|
|
114
132
|
orphanPointers,
|
|
133
|
+
ownerLanguages,
|
|
115
134
|
parseCrmSetting,
|
|
116
135
|
parseCrmSettingValue,
|
|
136
|
+
parseMergeId,
|
|
137
|
+
parseOwnerLanguages,
|
|
117
138
|
pendingNormalization,
|
|
118
139
|
queryFilter,
|
|
119
140
|
readStoreTables,
|
|
@@ -125,9 +146,11 @@ export {
|
|
|
125
146
|
rollBack,
|
|
126
147
|
rowCounts,
|
|
127
148
|
saveCrmSetting,
|
|
149
|
+
saveOwnerLanguages,
|
|
128
150
|
saveStorePhoneCountries,
|
|
129
151
|
savedAgentClose,
|
|
130
152
|
savedFirstPassPerChat,
|
|
153
|
+
savedOwnerLanguages,
|
|
131
154
|
savedPhoneCountries,
|
|
132
155
|
savedStemmers,
|
|
133
156
|
savedTaskCategories,
|
|
@@ -137,6 +160,7 @@ export {
|
|
|
137
160
|
stemsState,
|
|
138
161
|
storeClients,
|
|
139
162
|
storeContents,
|
|
163
|
+
storedTemplateBodies,
|
|
140
164
|
threadConversation,
|
|
141
165
|
titlePart,
|
|
142
166
|
vectorIndexCounts
|
|
@@ -3,17 +3,19 @@ const require = __bundleRequire(import.meta.url);
|
|
|
3
3
|
import {
|
|
4
4
|
QUICK_HEALTH_CHECKS,
|
|
5
5
|
applyDocumentTransfer,
|
|
6
|
-
explainDamage,
|
|
7
6
|
previewDocumentTransfer,
|
|
8
7
|
previewProjectAnnotationSnapshot,
|
|
9
8
|
snapshotProjectAnnotations,
|
|
9
|
+
storeDamageReport,
|
|
10
10
|
storeHealth
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-CWLL63JD.js";
|
|
12
12
|
import {
|
|
13
13
|
note
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-A27UVLPK.js";
|
|
15
15
|
import {
|
|
16
16
|
ADDED_KINDS,
|
|
17
|
+
ALWAYS_SHOWN,
|
|
18
|
+
BUSINESS_FIND_MAX,
|
|
17
19
|
CALLBACK_PREFIX,
|
|
18
20
|
CATALOG_QUERY,
|
|
19
21
|
COMPANY_TYPE_MEANINGS,
|
|
@@ -21,8 +23,13 @@ import {
|
|
|
21
23
|
DECISION_ACTIONS,
|
|
22
24
|
DECISION_TTL_MS,
|
|
23
25
|
DEFAULT_DECISION_POLICY,
|
|
26
|
+
DEFAULT_OWNER_LANGUAGES,
|
|
27
|
+
DOUBT_REASONS,
|
|
24
28
|
EVENT_FIELDS,
|
|
25
29
|
EVIDENCE_FINDINGS_KIND,
|
|
30
|
+
IDENTITY_LINK_KIND,
|
|
31
|
+
IDENTITY_LINK_SIGNALS,
|
|
32
|
+
IDENTITY_SPLIT_KIND,
|
|
26
33
|
IMPORTED_DOCUMENT_QUERY,
|
|
27
34
|
MAIL_FINDINGS_KIND,
|
|
28
35
|
MENTION_QUERY,
|
|
@@ -32,15 +39,18 @@ import {
|
|
|
32
39
|
ORGANIZATIONS_QUERY,
|
|
33
40
|
ORGANIZATION_KINDS,
|
|
34
41
|
OTHER_SOURCES,
|
|
42
|
+
PEOPLE_SORTS,
|
|
43
|
+
PERSON_KINDS,
|
|
44
|
+
PERSON_TIES,
|
|
35
45
|
PROJECTS_QUERY,
|
|
36
46
|
PROJECT_ANNOTATIONS_MAX_BYTES,
|
|
37
47
|
PROJECT_TASK_FIELDS,
|
|
38
48
|
PROJECT_TYPES,
|
|
39
49
|
PROPOSAL_STATUSES,
|
|
50
|
+
QUOTE_LIMIT,
|
|
40
51
|
REMINDERS_QUERY,
|
|
41
52
|
SCOPES,
|
|
42
|
-
|
|
43
|
-
SOURCE_REVIEW_KIND,
|
|
53
|
+
SMALL_GROUP_MEMBERS,
|
|
44
54
|
TASK_EVENT_KINDS,
|
|
45
55
|
TASK_PAIR_DECISIONS,
|
|
46
56
|
TASK_RELATION_KINDS,
|
|
@@ -50,6 +60,7 @@ import {
|
|
|
50
60
|
assertGenericAction,
|
|
51
61
|
assertMayDecide,
|
|
52
62
|
backfillNormalized,
|
|
63
|
+
baseSettingKey,
|
|
53
64
|
callbackDataOf,
|
|
54
65
|
certaintyOf,
|
|
55
66
|
createTagRedirectIndex,
|
|
@@ -61,9 +72,12 @@ import {
|
|
|
61
72
|
isDecisionToken,
|
|
62
73
|
isOwnerOnlyKind,
|
|
63
74
|
mayDecide,
|
|
75
|
+
mergeId,
|
|
64
76
|
migrate,
|
|
65
77
|
openStore,
|
|
78
|
+
ownerLanguages,
|
|
66
79
|
parseCallbackData,
|
|
80
|
+
parseMergeId,
|
|
67
81
|
pendingNormalization,
|
|
68
82
|
planProjectAnnotationSnapshot,
|
|
69
83
|
planProjectAnnotations,
|
|
@@ -71,15 +85,21 @@ import {
|
|
|
71
85
|
projectAnnotationSnapshotSchema,
|
|
72
86
|
projectAnnotationsFingerprint,
|
|
73
87
|
proposerOfAction,
|
|
88
|
+
quoteKept,
|
|
74
89
|
resetAttachmentWords,
|
|
75
90
|
resetSearchIndex,
|
|
76
91
|
searchIndexState,
|
|
77
92
|
validateEvidenceFindings,
|
|
78
93
|
waitingPointer,
|
|
79
94
|
withoutField
|
|
80
|
-
} from "./chunk-
|
|
81
|
-
import "./chunk-
|
|
95
|
+
} from "./chunk-NI5PD5KM.js";
|
|
96
|
+
import "./chunk-WVJHZIDH.js";
|
|
97
|
+
import "./chunk-FA6JNXCC.js";
|
|
98
|
+
import {
|
|
99
|
+
openCache
|
|
100
|
+
} from "./chunk-JMJIH6JH.js";
|
|
82
101
|
import {
|
|
102
|
+
BUSINESS_KINDS,
|
|
83
103
|
CLOSED_STATES,
|
|
84
104
|
FACT_STATUSES,
|
|
85
105
|
FACT_TYPES,
|
|
@@ -89,6 +109,8 @@ import {
|
|
|
89
109
|
PAYMENT_DIRECTIONS,
|
|
90
110
|
PAYMENT_STATES,
|
|
91
111
|
PRIORITY_LABELS,
|
|
112
|
+
SOURCE_REVIEW_CAUSES,
|
|
113
|
+
SOURCE_REVIEW_KIND,
|
|
92
114
|
TASK_STATES,
|
|
93
115
|
TASK_TYPES,
|
|
94
116
|
WORK_TASK_TYPES,
|
|
@@ -96,6 +118,7 @@ import {
|
|
|
96
118
|
damageMarkPath,
|
|
97
119
|
healthMarkPath,
|
|
98
120
|
isClosedState,
|
|
121
|
+
journalMarkPath,
|
|
99
122
|
markStoreDamaged,
|
|
100
123
|
organization,
|
|
101
124
|
paymentTitle,
|
|
@@ -105,35 +128,36 @@ import {
|
|
|
105
128
|
project,
|
|
106
129
|
readDamageMark,
|
|
107
130
|
readHealthMark,
|
|
131
|
+
readJournalMark,
|
|
108
132
|
recordDeepCheck,
|
|
109
133
|
reminder,
|
|
110
134
|
validatePayment
|
|
111
|
-
} from "./chunk-
|
|
112
|
-
import "./chunk-
|
|
113
|
-
import "./chunk-
|
|
114
|
-
import "./chunk-
|
|
115
|
-
import "./chunk-
|
|
116
|
-
import
|
|
117
|
-
|
|
118
|
-
} from "./chunk-AEX37ETW.js";
|
|
119
|
-
import {
|
|
120
|
-
openCache
|
|
121
|
-
} from "./chunk-3HK5WMI5.js";
|
|
122
|
-
import "./chunk-4S4JMW6I.js";
|
|
123
|
-
import "./chunk-ZQ3GWKDQ.js";
|
|
135
|
+
} from "./chunk-D6Z43SOG.js";
|
|
136
|
+
import "./chunk-ECEP4SO3.js";
|
|
137
|
+
import "./chunk-X7YGGWXI.js";
|
|
138
|
+
import "./chunk-4AOINPN2.js";
|
|
139
|
+
import "./chunk-4Y5YBFMS.js";
|
|
140
|
+
import "./chunk-LMKPP2JP.js";
|
|
141
|
+
import "./chunk-YVNHQFLC.js";
|
|
124
142
|
import {
|
|
125
143
|
PRAGMAS
|
|
126
|
-
} from "./chunk-
|
|
127
|
-
import
|
|
128
|
-
|
|
144
|
+
} from "./chunk-VDZY3L7U.js";
|
|
145
|
+
import {
|
|
146
|
+
storePath
|
|
147
|
+
} from "./chunk-UTNRBOEN.js";
|
|
148
|
+
import "./chunk-7AQGVX5O.js";
|
|
149
|
+
import "./chunk-PLP5527C.js";
|
|
129
150
|
import "./chunk-Y5E2WNWB.js";
|
|
130
|
-
import "./chunk-
|
|
131
|
-
import "./chunk-
|
|
132
|
-
import "./chunk-
|
|
133
|
-
import "./chunk-
|
|
151
|
+
import "./chunk-6DCLZLGX.js";
|
|
152
|
+
import "./chunk-W2XY6C5S.js";
|
|
153
|
+
import "./chunk-TOVWMURV.js";
|
|
154
|
+
import "./chunk-ELJUBPY4.js";
|
|
134
155
|
import "./chunk-ZVVMGPBJ.js";
|
|
135
156
|
export {
|
|
136
157
|
ADDED_KINDS,
|
|
158
|
+
ALWAYS_SHOWN,
|
|
159
|
+
BUSINESS_FIND_MAX,
|
|
160
|
+
BUSINESS_KINDS,
|
|
137
161
|
CALLBACK_PREFIX,
|
|
138
162
|
CATALOG_QUERY,
|
|
139
163
|
CLOSED_STATES,
|
|
@@ -142,10 +166,15 @@ export {
|
|
|
142
166
|
DECISION_ACTIONS,
|
|
143
167
|
DECISION_TTL_MS,
|
|
144
168
|
DEFAULT_DECISION_POLICY,
|
|
169
|
+
DEFAULT_OWNER_LANGUAGES,
|
|
170
|
+
DOUBT_REASONS,
|
|
145
171
|
EVENT_FIELDS,
|
|
146
172
|
EVIDENCE_FINDINGS_KIND,
|
|
147
173
|
FACT_STATUSES,
|
|
148
174
|
FACT_TYPES,
|
|
175
|
+
IDENTITY_LINK_KIND,
|
|
176
|
+
IDENTITY_LINK_SIGNALS,
|
|
177
|
+
IDENTITY_SPLIT_KIND,
|
|
149
178
|
IMPORTED_DOCUMENT_QUERY,
|
|
150
179
|
MAIL_FINDINGS_KIND,
|
|
151
180
|
MEMORY_KINDS,
|
|
@@ -160,6 +189,9 @@ export {
|
|
|
160
189
|
OTHER_SOURCES,
|
|
161
190
|
PAYMENT_DIRECTIONS,
|
|
162
191
|
PAYMENT_STATES,
|
|
192
|
+
PEOPLE_SORTS,
|
|
193
|
+
PERSON_KINDS,
|
|
194
|
+
PERSON_TIES,
|
|
163
195
|
PRAGMAS,
|
|
164
196
|
PRIORITY_LABELS,
|
|
165
197
|
PROJECTS_QUERY,
|
|
@@ -168,8 +200,10 @@ export {
|
|
|
168
200
|
PROJECT_TYPES,
|
|
169
201
|
PROPOSAL_STATUSES,
|
|
170
202
|
QUICK_HEALTH_CHECKS,
|
|
203
|
+
QUOTE_LIMIT,
|
|
171
204
|
REMINDERS_QUERY,
|
|
172
205
|
SCOPES,
|
|
206
|
+
SMALL_GROUP_MEMBERS,
|
|
173
207
|
SOURCE_REVIEW_CAUSES,
|
|
174
208
|
SOURCE_REVIEW_KIND,
|
|
175
209
|
TASK_EVENT_KINDS,
|
|
@@ -185,6 +219,7 @@ export {
|
|
|
185
219
|
assertGenericAction,
|
|
186
220
|
assertMayDecide,
|
|
187
221
|
backfillNormalized,
|
|
222
|
+
baseSettingKey,
|
|
188
223
|
callbackDataOf,
|
|
189
224
|
certaintyOf,
|
|
190
225
|
clearDamageMark,
|
|
@@ -194,20 +229,23 @@ export {
|
|
|
194
229
|
damageMarkPath,
|
|
195
230
|
decodeProjectAnnotationSnapshot,
|
|
196
231
|
decodeProjectAnnotations,
|
|
197
|
-
explainDamage,
|
|
198
232
|
fillSearchIndex,
|
|
199
233
|
healthMarkPath,
|
|
200
234
|
isClosedState,
|
|
201
235
|
isDecisionToken,
|
|
202
236
|
isOwnerOnlyKind,
|
|
237
|
+
journalMarkPath,
|
|
203
238
|
markStoreDamaged,
|
|
204
239
|
mayDecide,
|
|
240
|
+
mergeId,
|
|
205
241
|
migrate,
|
|
206
242
|
note,
|
|
207
243
|
openCache,
|
|
208
244
|
openStore,
|
|
209
245
|
organization,
|
|
246
|
+
ownerLanguages,
|
|
210
247
|
parseCallbackData,
|
|
248
|
+
parseMergeId,
|
|
211
249
|
paymentTitle,
|
|
212
250
|
pendingNormalization,
|
|
213
251
|
planProjectAnnotationSnapshot,
|
|
@@ -222,14 +260,17 @@ export {
|
|
|
222
260
|
projectAnnotationSnapshotSchema,
|
|
223
261
|
projectAnnotationsFingerprint,
|
|
224
262
|
proposerOfAction,
|
|
263
|
+
quoteKept,
|
|
225
264
|
readDamageMark,
|
|
226
265
|
readHealthMark,
|
|
266
|
+
readJournalMark,
|
|
227
267
|
recordDeepCheck,
|
|
228
268
|
reminder,
|
|
229
269
|
resetAttachmentWords,
|
|
230
270
|
resetSearchIndex,
|
|
231
271
|
searchIndexState,
|
|
232
272
|
snapshotProjectAnnotations,
|
|
273
|
+
storeDamageReport,
|
|
233
274
|
storeHealth,
|
|
234
275
|
storePath,
|
|
235
276
|
validateEvidenceFindings,
|
|
@@ -0,0 +1,60 @@
|
|
|
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-7TAP7Y2E.js";
|
|
8
|
+
import "./chunk-SS4LKLD7.js";
|
|
9
|
+
import "./chunk-WRAUO5EJ.js";
|
|
10
|
+
import "./chunk-O6K2E7OA.js";
|
|
11
|
+
import "./chunk-FBHSWQU7.js";
|
|
12
|
+
import "./chunk-EU5MD24W.js";
|
|
13
|
+
import "./chunk-HTQTIKWP.js";
|
|
14
|
+
import "./chunk-TTP4NOP3.js";
|
|
15
|
+
import "./chunk-MCPOZNWG.js";
|
|
16
|
+
import "./chunk-EM7NL5ES.js";
|
|
17
|
+
import "./chunk-EZ2OLYEK.js";
|
|
18
|
+
import "./chunk-II4S2DBJ.js";
|
|
19
|
+
import "./chunk-CWLL63JD.js";
|
|
20
|
+
import "./chunk-IMHW7VIV.js";
|
|
21
|
+
import "./chunk-5DPV7X27.js";
|
|
22
|
+
import "./chunk-SIWXYB4E.js";
|
|
23
|
+
import "./chunk-DA63E2UM.js";
|
|
24
|
+
import "./chunk-F56DRBGY.js";
|
|
25
|
+
import "./chunk-OWMZUWCM.js";
|
|
26
|
+
import "./chunk-VLXWAH5E.js";
|
|
27
|
+
import "./chunk-IKHOIXJR.js";
|
|
28
|
+
import "./chunk-O7ZDCOZE.js";
|
|
29
|
+
import "./chunk-A27UVLPK.js";
|
|
30
|
+
import "./chunk-B2LPCHQN.js";
|
|
31
|
+
import "./chunk-HP3NT6JJ.js";
|
|
32
|
+
import "./chunk-Z2ADO6UA.js";
|
|
33
|
+
import "./chunk-NI5PD5KM.js";
|
|
34
|
+
import "./chunk-WVJHZIDH.js";
|
|
35
|
+
import "./chunk-FA6JNXCC.js";
|
|
36
|
+
import "./chunk-JMJIH6JH.js";
|
|
37
|
+
import "./chunk-D6Z43SOG.js";
|
|
38
|
+
import "./chunk-ECEP4SO3.js";
|
|
39
|
+
import "./chunk-X7YGGWXI.js";
|
|
40
|
+
import "./chunk-4AOINPN2.js";
|
|
41
|
+
import "./chunk-4Y5YBFMS.js";
|
|
42
|
+
import "./chunk-LMKPP2JP.js";
|
|
43
|
+
import "./chunk-D72URWJE.js";
|
|
44
|
+
import "./chunk-RX5CJ55S.js";
|
|
45
|
+
import "./chunk-YVNHQFLC.js";
|
|
46
|
+
import "./chunk-VDZY3L7U.js";
|
|
47
|
+
import "./chunk-UTNRBOEN.js";
|
|
48
|
+
import "./chunk-7AQGVX5O.js";
|
|
49
|
+
import "./chunk-PLP5527C.js";
|
|
50
|
+
import "./chunk-Y5E2WNWB.js";
|
|
51
|
+
import "./chunk-6DCLZLGX.js";
|
|
52
|
+
import "./chunk-W2XY6C5S.js";
|
|
53
|
+
import "./chunk-TOVWMURV.js";
|
|
54
|
+
import "./chunk-ELJUBPY4.js";
|
|
55
|
+
import "./chunk-ZVVMGPBJ.js";
|
|
56
|
+
export {
|
|
57
|
+
buildStems,
|
|
58
|
+
storeMaintenanceCommands,
|
|
59
|
+
storeSummary
|
|
60
|
+
};
|
|
@@ -0,0 +1,107 @@
|
|
|
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-OFJXHEFT.js";
|
|
16
|
+
import "./chunk-ZR2EJPMQ.js";
|
|
17
|
+
import "./chunk-VMAMRFFC.js";
|
|
18
|
+
import {
|
|
19
|
+
ACTIVITY_SCOPE,
|
|
20
|
+
APPS_SCOPE,
|
|
21
|
+
READ_SCOPE,
|
|
22
|
+
WRITE_SCOPE
|
|
23
|
+
} from "./chunk-NQ5XMSLA.js";
|
|
24
|
+
import "./chunk-NQRTKYJB.js";
|
|
25
|
+
import "./chunk-SE352DBY.js";
|
|
26
|
+
import "./chunk-SBZB7HMU.js";
|
|
27
|
+
import "./chunk-PHOL2DZM.js";
|
|
28
|
+
import "./chunk-SNLSEYJO.js";
|
|
29
|
+
import "./chunk-GW3LBY3T.js";
|
|
30
|
+
import "./chunk-D7WB54P7.js";
|
|
31
|
+
import "./chunk-7TAP7Y2E.js";
|
|
32
|
+
import "./chunk-SS4LKLD7.js";
|
|
33
|
+
import "./chunk-WRAUO5EJ.js";
|
|
34
|
+
import "./chunk-O6K2E7OA.js";
|
|
35
|
+
import "./chunk-FBHSWQU7.js";
|
|
36
|
+
import "./chunk-EU5MD24W.js";
|
|
37
|
+
import "./chunk-I272E6UR.js";
|
|
38
|
+
import "./chunk-HTQTIKWP.js";
|
|
39
|
+
import "./chunk-54V4H6PM.js";
|
|
40
|
+
import "./chunk-TTP4NOP3.js";
|
|
41
|
+
import "./chunk-MCPOZNWG.js";
|
|
42
|
+
import "./chunk-EHU6EYGO.js";
|
|
43
|
+
import "./chunk-5XSBCMAF.js";
|
|
44
|
+
import "./chunk-EM7NL5ES.js";
|
|
45
|
+
import "./chunk-EZ2OLYEK.js";
|
|
46
|
+
import "./chunk-II4S2DBJ.js";
|
|
47
|
+
import "./chunk-CWLL63JD.js";
|
|
48
|
+
import "./chunk-IMHW7VIV.js";
|
|
49
|
+
import "./chunk-5DPV7X27.js";
|
|
50
|
+
import "./chunk-2AFI4KGI.js";
|
|
51
|
+
import "./chunk-SEQWBZYH.js";
|
|
52
|
+
import "./chunk-VHQYWFWV.js";
|
|
53
|
+
import "./chunk-TMHF4BCL.js";
|
|
54
|
+
import "./chunk-Y5PKRITX.js";
|
|
55
|
+
import "./chunk-SIWXYB4E.js";
|
|
56
|
+
import "./chunk-DA63E2UM.js";
|
|
57
|
+
import "./chunk-F56DRBGY.js";
|
|
58
|
+
import "./chunk-OWMZUWCM.js";
|
|
59
|
+
import "./chunk-VLXWAH5E.js";
|
|
60
|
+
import "./chunk-IKHOIXJR.js";
|
|
61
|
+
import "./chunk-O7ZDCOZE.js";
|
|
62
|
+
import "./chunk-A27UVLPK.js";
|
|
63
|
+
import "./chunk-B2LPCHQN.js";
|
|
64
|
+
import "./chunk-HP3NT6JJ.js";
|
|
65
|
+
import "./chunk-Z2ADO6UA.js";
|
|
66
|
+
import "./chunk-NI5PD5KM.js";
|
|
67
|
+
import "./chunk-WVJHZIDH.js";
|
|
68
|
+
import "./chunk-FA6JNXCC.js";
|
|
69
|
+
import "./chunk-JMJIH6JH.js";
|
|
70
|
+
import "./chunk-D6Z43SOG.js";
|
|
71
|
+
import "./chunk-ECEP4SO3.js";
|
|
72
|
+
import "./chunk-X7YGGWXI.js";
|
|
73
|
+
import "./chunk-4AOINPN2.js";
|
|
74
|
+
import "./chunk-4Y5YBFMS.js";
|
|
75
|
+
import "./chunk-LMKPP2JP.js";
|
|
76
|
+
import "./chunk-D72URWJE.js";
|
|
77
|
+
import "./chunk-RX5CJ55S.js";
|
|
78
|
+
import "./chunk-CGQRZRTH.js";
|
|
79
|
+
import "./chunk-JPPPLKAO.js";
|
|
80
|
+
import "./chunk-YVNHQFLC.js";
|
|
81
|
+
import "./chunk-VDZY3L7U.js";
|
|
82
|
+
import "./chunk-UTNRBOEN.js";
|
|
83
|
+
import "./chunk-7AQGVX5O.js";
|
|
84
|
+
import "./chunk-PLP5527C.js";
|
|
85
|
+
import "./chunk-Y5E2WNWB.js";
|
|
86
|
+
import "./chunk-6DCLZLGX.js";
|
|
87
|
+
import "./chunk-W2XY6C5S.js";
|
|
88
|
+
import "./chunk-TOVWMURV.js";
|
|
89
|
+
import "./chunk-ELJUBPY4.js";
|
|
90
|
+
import "./chunk-ZVVMGPBJ.js";
|
|
91
|
+
export {
|
|
92
|
+
ACTIVITY_SCOPE,
|
|
93
|
+
APPS_SCOPE,
|
|
94
|
+
READ_SCOPE,
|
|
95
|
+
WRITE_SCOPE,
|
|
96
|
+
authorizedClient,
|
|
97
|
+
checkAuthorization,
|
|
98
|
+
covers,
|
|
99
|
+
credentials,
|
|
100
|
+
googleProvider,
|
|
101
|
+
grantedScopes,
|
|
102
|
+
notSaved,
|
|
103
|
+
observeRequests,
|
|
104
|
+
operationOf,
|
|
105
|
+
saveSession,
|
|
106
|
+
sessionKeeper
|
|
107
|
+
};
|
|
@@ -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;
|
|
1
|
+
{"version":3,"file":"config.d.ts","sourceRoot":"","sources":["../../src/commands/config.ts"],"names":[],"mappings":"AAYA,OAAO,EAAE,KAAK,OAAO,EAAU,MAAM,WAAW,CAAA;AAqBhD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,cAAc,CAAA;AAsClD,eAAO,MAAM,qBAAqB,YACvB,OAAO,gEAC8C,cAAc,SAwJ7E,CAAA;AAED,eAAO,MAAM,oBAAoB,YAAa,OAAO,yCAAyC,cAAc,SA8E3G,CAAA"}
|
package/dist/commands/config.js
CHANGED
|
@@ -3,7 +3,8 @@ import { CliError, saveConfigFile } from "@wirecat/cli-base";
|
|
|
3
3
|
import { annotate } from "@wirecat/cli-base/commands";
|
|
4
4
|
import { FETCH, grantsAuthority, itemOf, LOCAL_READ, LOCAL_WRITE, modelCatalogueCommand, settingRows, } from "@wirecat/cli-core/cli";
|
|
5
5
|
import { Option } from "commander";
|
|
6
|
-
import { checkTextLimit, configIssues, configPath, configuration, DEFAULTS_ONLY, inspectConfig, readConfig, refusal, SETTING_NAMES, unknownProfile, withDefaults, writeConfig, } from "../config.js";
|
|
6
|
+
import { checkAddProfiles, checkTextLimit, configIssues, configPath, configuration, DEFAULTS_ONLY, inspectConfig, readConfig, refusal, SETTING_NAMES, unknownProfile, withDefaults, writeConfig, } from "../config.js";
|
|
7
|
+
import { offlineRefused } from "../errors.js";
|
|
7
8
|
import { DRIVE_APP, permissionNames } from "../policy.js";
|
|
8
9
|
import { examples } from "../registry.js";
|
|
9
10
|
const isNode = (value) => typeof value === "object" && value !== null && !Array.isArray(value);
|
|
@@ -73,7 +74,7 @@ export const installConfigCommands = (program, { env, selected, output, streams,
|
|
|
73
74
|
`drive personal config set permissions.files '"readonly"' --defaults`,
|
|
74
75
|
"drive personal config set record true --defaults",
|
|
75
76
|
])
|
|
76
|
-
.argument("<key>", "max_text_chars, picture_search, google_client_id, record, record_input, keep_runs_for_days, keep_successful_runs_for_days, runs_size_limit_mb, shared AI settings, permissions.<key> or models.<purpose>.<field>")
|
|
77
|
+
.argument("<key>", "max_text_chars, picture_search, google_client_id, max_add_profiles, record, record_input, keep_runs_for_days, keep_successful_runs_for_days, runs_size_limit_mb, shared AI settings, permissions.<key> or models.<purpose>.<field>")
|
|
77
78
|
.argument("<json-value>", "the new value, as JSON")
|
|
78
79
|
.option("--defaults", "change the defaults instead of this profile")
|
|
79
80
|
.action((key, raw, args) => {
|
|
@@ -99,6 +100,8 @@ export const installConfigCommands = (program, { env, selected, output, streams,
|
|
|
99
100
|
throw new CliError("validation_error", "picture_search is true or false, set per profile");
|
|
100
101
|
if (head === "max_text_chars")
|
|
101
102
|
parsed = checkTextLimit(parsed);
|
|
103
|
+
if (head === "max_add_profiles")
|
|
104
|
+
parsed = checkAddProfiles(parsed);
|
|
102
105
|
const at = [...scope, ...setting];
|
|
103
106
|
const next = isNode(file.raw) ? structuredClone(file.raw) : {};
|
|
104
107
|
let node = next;
|
|
@@ -188,9 +191,7 @@ export const installModelCommands = (program, { env, output, streams, policyFlag
|
|
|
188
191
|
});
|
|
189
192
|
const download = async (kind, id, acceptTerms) => {
|
|
190
193
|
if (policyFlags().offline)
|
|
191
|
-
throw
|
|
192
|
-
reason: "offline.refused",
|
|
193
|
-
});
|
|
194
|
+
throw offlineRefused("downloading a model needs the network");
|
|
194
195
|
const { downloadImageModel, downloadTextModel } = await import("@wirecat/cli-core/services");
|
|
195
196
|
const progress = (line) => {
|
|
196
197
|
if (!program.opts().quiet)
|