@wirecat/drive-cli 0.64.0 → 0.66.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/contracts/wirecat.json +2871 -0
- package/dist/bin/drive.js +2 -2
- package/dist/bin/drive.js.map +1 -1
- package/dist/browse.d.ts +1 -1
- package/dist/browse.d.ts.map +1 -1
- package/dist/browse.js +1 -1
- package/dist/bundle/{all-profiles-BPPT2AK5.js → all-profiles-WCQLIHUG.js} +14 -13
- package/dist/bundle/{anthropic-JW6GOJUD.js → anthropic-5RJMB6O7.js} +32 -16
- package/dist/bundle/{app-server-KAQIOJMZ.js → app-server-3RGYXPKG.js} +72 -58
- package/dist/bundle/{bun-UT7GNTPV.js → bun-L34VEKGG.js} +2 -2
- package/dist/bundle/{bun-sqlite-2OIVV3LS.js → bun-sqlite-H6IAXQXI.js} +12 -8
- package/dist/bundle/chunk-2AF77WMH.js +13 -0
- package/dist/bundle/{chunk-KVW4XNKB.js → chunk-2S3E2HVV.js} +107 -48
- package/dist/bundle/{chunk-IX7NQJLY.js → chunk-3NYH756U.js} +49 -116
- package/dist/bundle/chunk-3QFUDXMQ.js +53 -0
- package/dist/bundle/{chunk-5ZBR55US.js → chunk-3SDJIMZB.js} +1 -1
- package/dist/bundle/{chunk-AHB4OJCI.js → chunk-4UHBJSMI.js} +21735 -27143
- package/dist/bundle/chunk-5HVJK3ZJ.js +101 -0
- package/dist/bundle/{chunk-GSMYXGFR.js → chunk-5K54RZBK.js} +13 -5
- package/dist/bundle/{chunk-LOMW6F2E.js → chunk-5PLINHEY.js} +5403 -4847
- package/dist/bundle/{chunk-J62DI53V.js → chunk-5VDVGDOC.js} +1 -1
- package/dist/bundle/{chunk-66AF4FBW.js → chunk-5XLU4NN6.js} +4 -4
- package/dist/bundle/{chunk-4CNTID2X.js → chunk-6UJCCOZC.js} +4 -4
- package/dist/bundle/{chunk-G4KEKKDE.js → chunk-6X3KUFRQ.js} +60 -29
- package/dist/bundle/{chunk-QEAD2LF4.js → chunk-7EP4AU6A.js} +3 -3
- package/dist/bundle/{chunk-ZRZ4HTCK.js → chunk-7LT2G5BC.js} +171 -174
- package/dist/bundle/{chunk-2W464HAE.js → chunk-7ZGJRVBH.js} +7 -5
- package/dist/bundle/{chunk-FXBHOCJK.js → chunk-ADLS6FVG.js} +1 -1
- package/dist/bundle/{chunk-KG2XKEHL.js → chunk-ALE67WRR.js} +5 -5
- package/dist/bundle/{chunk-ZSZJLJIA.js → chunk-AP4MX247.js} +38 -28
- package/dist/bundle/{chunk-EWGVDFPT.js → chunk-BIJW6AYA.js} +41873 -36466
- package/dist/bundle/{chunk-B7XBIOMR.js → chunk-BQXSE645.js} +16 -16
- package/dist/bundle/{chunk-F2VDAG32.js → chunk-COGWKO2T.js} +3 -3
- package/dist/bundle/{chunk-EZ6O3ST3.js → chunk-D4MIMH2N.js} +12 -6
- package/dist/bundle/{chunk-4YRENUB5.js → chunk-D7KOAPG6.js} +2 -2
- package/dist/bundle/chunk-E2F2XIX6.js +224 -0
- package/dist/bundle/{chunk-36GPBPWM.js → chunk-FA2TNA5X.js} +3 -1
- package/dist/bundle/{chunk-SIOIMO62.js → chunk-FHBTQPA3.js} +69 -63
- package/dist/bundle/{chunk-34BIDKF4.js → chunk-FKKPVPZR.js} +649 -212
- package/dist/bundle/chunk-G4TNKBDX.js +185 -0
- package/dist/bundle/{chunk-2FEZ24DK.js → chunk-GVA3KTCD.js} +20 -20
- package/dist/bundle/chunk-GY4DAJSK.js +167 -0
- package/dist/bundle/{chunk-5OFA5EXE.js → chunk-H7XL6WTW.js} +2 -2
- package/dist/bundle/{chunk-K6BSB53R.js → chunk-HHRJPLFO.js} +1 -1
- package/dist/bundle/{chunk-P7DEGRZA.js → chunk-HPKE2GDP.js} +49 -28
- package/dist/bundle/{chunk-QXCKJUZY.js → chunk-HPSHQVJU.js} +633 -465
- package/dist/bundle/{chunk-BEZJA44H.js → chunk-HQBLJLYH.js} +7 -7
- package/dist/bundle/{chunk-JRXFW7HE.js → chunk-I5R5CMQR.js} +5 -5
- package/dist/bundle/{chunk-EJ4PNHPP.js → chunk-IIHZTV6V.js} +1 -1
- package/dist/bundle/{chunk-G3NULXOM.js → chunk-IRNDYNQX.js} +4 -4
- package/dist/bundle/{chunk-N622LRPM.js → chunk-JCHF7LZT.js} +4 -4
- package/dist/bundle/{chunk-WWCYTMAV.js → chunk-JHMEETXI.js} +2 -2
- package/dist/bundle/{chunk-ZF6GUZCE.js → chunk-JLCR24UM.js} +1 -1
- package/dist/bundle/{chunk-IDAK4DDK.js → chunk-JQXK3M5M.js} +1 -1
- package/dist/bundle/{chunk-KIN6PDFE.js → chunk-KOY5HUBY.js} +14 -5
- package/dist/bundle/{chunk-5HSRQ53R.js → chunk-KRG5X5PH.js} +2 -2
- package/dist/bundle/{chunk-VIJ6ACYB.js → chunk-LVAPSAHF.js} +8 -8
- package/dist/bundle/{chunk-OEVHZOHC.js → chunk-M7543RUJ.js} +50 -18
- package/dist/bundle/{chunk-BZ2ZKILM.js → chunk-MZWXTJ4O.js} +3 -3
- package/dist/bundle/{chunk-EC2XGDKJ.js → chunk-NK4GVFJH.js} +4 -4
- package/dist/bundle/chunk-NYECVHFH.js +10283 -0
- package/dist/bundle/{chunk-HW4UPST2.js → chunk-NYZS2LKF.js} +2 -2
- package/dist/bundle/chunk-O53WLYX3.js +72 -0
- package/dist/bundle/{chunk-IK6KH3RE.js → chunk-OIF4B526.js} +1 -1
- package/dist/bundle/{chunk-UJR272CP.js → chunk-OT7SQQJK.js} +359 -903
- package/dist/bundle/chunk-OZOQLAWK.js +72 -0
- package/dist/bundle/{chunk-VT2UFYPJ.js → chunk-P7HQFII6.js} +22 -15
- package/dist/bundle/{chunk-6G53ZFUT.js → chunk-PJGOQSE5.js} +1 -1
- package/dist/bundle/{chunk-OH3K2E7X.js → chunk-PKM55ZRR.js} +704 -1214
- package/dist/bundle/{chunk-GW3U6OLD.js → chunk-PUMDOCAF.js} +1 -1
- package/dist/bundle/{chunk-EQEGJVO2.js → chunk-QF7VL4C3.js} +1 -1
- package/dist/bundle/{chunk-CPMRM3GQ.js → chunk-QJ57PV55.js} +1941 -662
- package/dist/bundle/{chunk-O2QO5UZC.js → chunk-QSELSDWE.js} +13 -13
- package/dist/bundle/{chunk-BEUAICUD.js → chunk-SOOU5WO6.js} +2 -2
- package/dist/bundle/{chunk-46CD64J2.js → chunk-SZ6JFOL4.js} +269 -64
- package/dist/bundle/{chunk-UD55VB2N.js → chunk-T3ULDA7C.js} +3 -3
- package/dist/bundle/{chunk-E2LBCCTG.js → chunk-TAHISPDE.js} +5 -5
- package/dist/bundle/{chunk-6B37XO6B.js → chunk-TYLEICTX.js} +3 -3
- package/dist/bundle/{chunk-TNV2FXVK.js → chunk-UAKX6DP4.js} +5 -5
- package/dist/bundle/{chunk-VPLFD5RJ.js → chunk-UG3GHFGY.js} +4 -4
- package/dist/bundle/{chunk-B67BLRAI.js → chunk-ULXEW6FT.js} +3 -60
- package/dist/bundle/{chunk-C7WBNOYW.js → chunk-UNTIVT47.js} +26 -2
- package/dist/bundle/chunk-UQPW42HF.js +18 -0
- package/dist/bundle/{chunk-USLZE36C.js → chunk-V2WXTILT.js} +6 -6
- package/dist/bundle/{chunk-BDYWZ7JE.js → chunk-VQKNKJYL.js} +46 -7
- package/dist/bundle/{chunk-XPXKD63J.js → chunk-VR3YKXHL.js} +93 -31
- package/dist/bundle/{chunk-UIEA6FIV.js → chunk-VUUPFDRU.js} +27 -28
- package/dist/bundle/{chunk-KE4XPPRQ.js → chunk-WYTYHUFH.js} +1750 -138
- package/dist/bundle/{chunk-PBMSBCVB.js → chunk-XLGDNI4S.js} +1 -1
- package/dist/bundle/{chunk-3J5KAFNA.js → chunk-XVZNFA2P.js} +4935 -3623
- package/dist/bundle/chunk-Y5U4HIZS.js +71 -0
- package/dist/bundle/chunk-YTIPTHEE.js +47 -0
- package/dist/bundle/cli-KW6QQVS5.js +1101 -0
- package/dist/bundle/command-contract-CE543JBN.js +41 -0
- package/dist/bundle/command-server-entry-OC4E4DED.js +171 -0
- package/dist/bundle/{decode-HTOQ6S3V.js → decode-AH5ZLLDK.js} +8 -8
- package/dist/bundle/{dispatch-SH5SP6LA.js → dispatch-CDWZZ54Q.js} +9 -9
- package/dist/bundle/drive.js +13 -13
- package/dist/bundle/{echarts-KFHB6SLX.js → echarts-VC7MTXWY.js} +2 -2
- package/dist/bundle/{embed-YATFB2PN.js → embed-EPSQY6QG.js} +9 -9
- package/dist/bundle/{embedder-MQPDFGTJ.js → embedder-TK4U4TJR.js} +12 -12
- package/dist/bundle/entry-3VN23M7M.js +25 -0
- package/dist/bundle/{failure-4FQL4XJI.js → failure-WSVZOPFE.js} +4 -4
- package/dist/bundle/first-run-7ZYJ7EB3.js +30 -0
- package/dist/bundle/first-screen-CZDH7QY3.js +39 -0
- package/dist/bundle/google-OBZMWA7J.js +45 -0
- package/dist/bundle/{google-api-QMFGCXBM.js → google-api-AV4X2JH3.js} +68 -57
- package/dist/bundle/grants-WTRLN4ZI.js +111 -0
- package/dist/bundle/{identity-FYVDK4M2.js → identity-CGHHF7AK.js} +8 -6
- package/dist/bundle/{instructions-D3GF3B7M.js → instructions-24PHDBBE.js} +1 -1
- package/dist/bundle/{login-COFZ2IWP.js → login-XHFESAFM.js} +73 -64
- package/dist/bundle/{mcp-RKJG22KM.js → mcp-M5YCSWJJ.js} +2 -2
- package/dist/bundle/{node-OFICOKX3.js → node-GIDULTV5.js} +2 -2
- package/dist/bundle/{node-KM3CUABH.js → node-P4E63KXA.js} +9 -9
- package/dist/bundle/{node-sqlite-DNBTDOXD.js → node-sqlite-LINBOAWK.js} +13 -9
- package/dist/bundle/oauth-JHUX3KE3.js +22 -0
- package/dist/bundle/{open-PTPR2YWX.js → open-RYFKPNCJ.js} +8 -8
- package/dist/bundle/{openai-2KV5LUW4.js → openai-Q7YYUHJF.js} +28 -42
- package/dist/bundle/{process-EAW6NST2.js → process-VPIZTIJR.js} +1 -1
- package/dist/bundle/{program-6UV5Q5YN.js → program-IUXFRBZA.js} +419 -604
- package/dist/bundle/{prompt-634TPMJK.js → prompt-LF4KX3XL.js} +8 -8
- package/dist/bundle/{reasons-DDWCEYSQ.js → reasons-JPYOU5GV.js} +5 -5
- package/dist/bundle/{recognize-SJO6QUDW.js → recognize-KEWTJXFH.js} +7 -7
- package/dist/bundle/{remote-6JXZITKF.js → remote-HGGLB76S.js} +13 -10
- package/dist/bundle/{rerank-MD5VOPQ6.js → rerank-TDUKETFT.js} +10 -10
- package/dist/bundle/{serve-LZTROA2M.js → serve-XFYMKW5W.js} +12 -12
- package/dist/bundle/server-BDEV3CZJ.js +74 -0
- package/dist/bundle/{server-NSA3UAFY.js → server-PXIPSGFP.js} +48 -44
- package/dist/bundle/{services-F5A6XQCV.js → services-2BOCGMJU.js} +111 -41
- package/dist/bundle/{sqlite-runtime-7YF6REKS.js → sqlite-runtime-R7M5XUMW.js} +9 -9
- package/dist/bundle/{start-MUFLE6FA.js → start-YRLT4MQZ.js} +7 -7
- package/dist/bundle/{state-UC54F3YZ.js → state-NZ7WRJWH.js} +9 -9
- package/dist/bundle/{store-F5FJGWMR.js → store-7LCVDO7G.js} +63 -28
- package/dist/bundle/{store-J53YNAH6.js → store-ICDGPSEN.js} +27 -18
- package/dist/bundle/store-maintenance-command-SJPLY6IH.js +65 -0
- package/dist/bundle/tokens-FGTBE7VW.js +111 -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/discovery.d.ts +0 -1
- package/dist/commands/discovery.d.ts.map +1 -1
- package/dist/commands/discovery.js +6 -26
- package/dist/commands/discovery.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/commands/knowledge.d.ts.map +1 -1
- package/dist/commands/knowledge.js +7 -6
- package/dist/commands/knowledge.js.map +1 -1
- package/dist/commands/search.d.ts.map +1 -1
- package/dist/commands/search.js +11 -8
- package/dist/commands/search.js.map +1 -1
- package/dist/config.d.ts +14 -0
- package/dist/config.d.ts.map +1 -1
- package/dist/config.js +35 -4
- package/dist/config.js.map +1 -1
- package/dist/contract-overrides.d.ts +16 -4
- package/dist/contract-overrides.d.ts.map +1 -1
- package/dist/contract-overrides.js +86 -410
- package/dist/contract-overrides.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 +13 -1
- package/dist/errors.js.map +1 -1
- package/dist/google-api.d.ts.map +1 -1
- package/dist/google-api.js +4 -1
- package/dist/google-api.js.map +1 -1
- package/dist/identity.d.ts +4 -0
- package/dist/identity.d.ts.map +1 -1
- package/dist/identity.js +22 -0
- package/dist/identity.js.map +1 -1
- package/dist/knowledge.d.ts +1 -1
- package/dist/knowledge.d.ts.map +1 -1
- package/dist/knowledge.js +17 -19
- package/dist/knowledge.js.map +1 -1
- package/dist/login.d.ts.map +1 -1
- package/dist/login.js +2 -2
- package/dist/login.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/program.d.ts.map +1 -1
- package/dist/program.js +30 -21
- package/dist/program.js.map +1 -1
- package/dist/reasons.d.ts.map +1 -1
- package/dist/reasons.js +25 -1
- package/dist/reasons.js.map +1 -1
- package/dist/store-transition.js +2 -2
- package/dist/store-transition.js.map +1 -1
- package/dist/store.d.ts.map +1 -1
- package/dist/store.js +27 -7
- package/dist/store.js.map +1 -1
- package/dist/tokens.d.ts +9 -2
- package/dist/tokens.d.ts.map +1 -1
- package/dist/tokens.js +18 -15
- package/dist/tokens.js.map +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/dist/wcat.d.ts +3 -0
- package/dist/wcat.d.ts.map +1 -0
- package/dist/wcat.js +4 -0
- package/dist/wcat.js.map +1 -0
- package/package.json +8 -8
- package/dist/bundle/chunk-3NULZGQU.js +0 -27
- package/dist/bundle/chunk-DD7EFG6B.js +0 -35
- package/dist/bundle/chunk-M73NNJ3X.js +0 -26
- package/dist/bundle/chunk-SBZB7HMU.js +0 -1055
- package/dist/bundle/command-contract-H5OYJOPF.js +0 -38
- package/dist/bundle/dist-PY3MVR3G.js +0 -21
- package/dist/bundle/entry-YZBB647C.js +0 -22
- package/dist/bundle/first-run-5JT3UQZB.js +0 -30
- package/dist/bundle/first-screen-BEMDEWO7.js +0 -36
- package/dist/bundle/google-DVADVICN.js +0 -36
- package/dist/bundle/grants-WKB2E4TA.js +0 -103
- package/dist/bundle/oauth-PDQHWFBF.js +0 -22
- package/dist/bundle/server-GT7X666D.js +0 -69
- package/dist/bundle/store-maintenance-command-GJVXLBAB.js +0 -58
- package/dist/bundle/tokens-H2EJKGA5.js +0 -101
- package/dist/bundle/{chunk-SW6C6WH5.js → chunk-HVJJWJYQ.js} +0 -0
- package/dist/bundle/{mdast-util-from-markdown-FXEPSNER.js → mdast-util-from-markdown-CE73EWJ2.js} +3 -3
|
@@ -1,53 +1,64 @@
|
|
|
1
|
+
import { createHash } from "node:crypto";
|
|
2
|
+
import { sharedContracts } from "@wirecat/cli-base/commands";
|
|
1
3
|
const NOTES_REASON = "Drive notes annotate one explicitly selected imported document; document-bound arguments and receipts replace the generic note scope.";
|
|
2
4
|
const SEARCH_REASON = "Drive searches imported documents and embeddings rather than live messenger messages; its default action and pagination are explicitly provider-specific.";
|
|
5
|
+
const canonical = (value) => Array.isArray(value)
|
|
6
|
+
? value.map(canonical)
|
|
7
|
+
: value && typeof value === "object"
|
|
8
|
+
? Object.fromEntries(Object.keys(value)
|
|
9
|
+
.sort()
|
|
10
|
+
.map((key) => [key, canonical(value[key])]))
|
|
11
|
+
: value;
|
|
12
|
+
export const fingerprint = (value) => createHash("sha256")
|
|
13
|
+
.update(JSON.stringify(canonical(value ?? null)))
|
|
14
|
+
.digest("hex")
|
|
15
|
+
.slice(0, 16);
|
|
16
|
+
/**
|
|
17
|
+
* The overrides cli-base checks, with Core's current value where its fingerprint is the reviewed one. A Core value
|
|
18
|
+
* that changed keeps the fingerprint, so the shared check still refuses it and names the new value to review.
|
|
19
|
+
*/
|
|
20
|
+
export const reviewedOverrides = (reference, reviewed) => reviewed.map((override) => {
|
|
21
|
+
let node = reference;
|
|
22
|
+
for (const name of override.command.slice(1))
|
|
23
|
+
node = node.commands.find((child) => child.name() === name) ?? node;
|
|
24
|
+
const before = sharedContracts(node)[node.name()]?.[override.field] ?? null;
|
|
25
|
+
return { ...override, before: fingerprint(before) === override.before ? before : override.before };
|
|
26
|
+
});
|
|
3
27
|
// Reviewed differences from Core. A changed default requires reviewing this declaration.
|
|
4
28
|
export const SHELL_OVERRIDES = {
|
|
5
29
|
notes: [
|
|
6
30
|
{
|
|
7
31
|
command: ["notes"],
|
|
8
32
|
field: "description",
|
|
9
|
-
before: "
|
|
33
|
+
before: "073d38b6d7256579",
|
|
10
34
|
after: "write notes about an imported document",
|
|
11
35
|
reason: NOTES_REASON,
|
|
12
36
|
},
|
|
13
37
|
{
|
|
14
38
|
command: ["notes"],
|
|
15
39
|
field: "effects",
|
|
16
|
-
before:
|
|
17
|
-
|
|
18
|
-
local: "none",
|
|
19
|
-
},
|
|
20
|
-
after: {
|
|
21
|
-
remote: "none",
|
|
22
|
-
local: "read",
|
|
23
|
-
},
|
|
40
|
+
before: "b98c7b06ed808dfb",
|
|
41
|
+
after: { remote: "none", local: "read" },
|
|
24
42
|
reason: NOTES_REASON,
|
|
25
43
|
},
|
|
26
44
|
{
|
|
27
45
|
command: ["notes"],
|
|
28
46
|
field: "children",
|
|
29
|
-
before:
|
|
47
|
+
before: "6cfec8425c19582f",
|
|
30
48
|
after: ["add", "list", "show", "edit", "remove"],
|
|
31
49
|
reason: NOTES_REASON,
|
|
32
50
|
},
|
|
33
51
|
{
|
|
34
52
|
command: ["notes", "add"],
|
|
35
53
|
field: "description",
|
|
36
|
-
before: "
|
|
54
|
+
before: "98b319044cba6b7f",
|
|
37
55
|
after: "write a note about a document",
|
|
38
56
|
reason: NOTES_REASON,
|
|
39
57
|
},
|
|
40
58
|
{
|
|
41
59
|
command: ["notes", "add"],
|
|
42
60
|
field: "arguments",
|
|
43
|
-
before:
|
|
44
|
-
{
|
|
45
|
-
name: "text",
|
|
46
|
-
required: true,
|
|
47
|
-
variadic: false,
|
|
48
|
-
description: "note text",
|
|
49
|
-
},
|
|
50
|
-
],
|
|
61
|
+
before: "d5010f078464b8d0",
|
|
51
62
|
after: [
|
|
52
63
|
{
|
|
53
64
|
name: "document",
|
|
@@ -55,303 +66,58 @@ export const SHELL_OVERRIDES = {
|
|
|
55
66
|
variadic: false,
|
|
56
67
|
description: "Google file or folder id or URL in the local catalog, or a document:<n> ref",
|
|
57
68
|
},
|
|
58
|
-
{
|
|
59
|
-
name: "text",
|
|
60
|
-
required: true,
|
|
61
|
-
variadic: false,
|
|
62
|
-
description: "the note's text",
|
|
63
|
-
},
|
|
69
|
+
{ name: "text", required: true, variadic: false, description: "the note's text" },
|
|
64
70
|
],
|
|
65
71
|
reason: NOTES_REASON,
|
|
66
72
|
},
|
|
67
73
|
{
|
|
68
74
|
command: ["notes", "add"],
|
|
69
75
|
field: "options",
|
|
70
|
-
before:
|
|
71
|
-
|
|
72
|
-
flags: "--subject <ref>",
|
|
73
|
-
description: "stored resource the note describes",
|
|
74
|
-
takes_value: true,
|
|
75
|
-
mandatory: false,
|
|
76
|
-
},
|
|
77
|
-
],
|
|
78
|
-
after: [
|
|
79
|
-
{
|
|
80
|
-
flags: "--title <title>",
|
|
81
|
-
description: "a title for the note",
|
|
82
|
-
takes_value: true,
|
|
83
|
-
mandatory: false,
|
|
84
|
-
},
|
|
85
|
-
],
|
|
76
|
+
before: "213adb539c248d7f",
|
|
77
|
+
after: [{ flags: "--title <title>", description: "a title for the note", takes_value: true, mandatory: false }],
|
|
86
78
|
reason: NOTES_REASON,
|
|
87
79
|
},
|
|
88
80
|
{
|
|
89
81
|
command: ["notes", "add"],
|
|
90
82
|
field: "examples",
|
|
91
|
-
before:
|
|
83
|
+
before: "74234e98afe7498f",
|
|
92
84
|
after: ['drive personal notes add DOC_ID "Check the numbers" --title Review'],
|
|
93
85
|
reason: NOTES_REASON,
|
|
94
86
|
},
|
|
95
87
|
{
|
|
96
88
|
command: ["notes", "list"],
|
|
97
89
|
field: "description",
|
|
98
|
-
before: "
|
|
90
|
+
before: "6b866a022b5e84ce",
|
|
99
91
|
after: "list a document's notes",
|
|
100
92
|
reason: NOTES_REASON,
|
|
101
93
|
},
|
|
102
94
|
{
|
|
103
95
|
command: ["notes", "list"],
|
|
104
96
|
field: "query",
|
|
105
|
-
before:
|
|
106
|
-
entity: "note",
|
|
107
|
-
backend: "native",
|
|
108
|
-
fields: [
|
|
109
|
-
{
|
|
110
|
-
name: "ref",
|
|
111
|
-
type: "ref",
|
|
112
|
-
operators: ["term", "phrase"],
|
|
113
|
-
example: 'ref:"note:42"',
|
|
114
|
-
},
|
|
115
|
-
{
|
|
116
|
-
name: "kind",
|
|
117
|
-
type: "enum",
|
|
118
|
-
values: ["note", "document"],
|
|
119
|
-
operators: ["term"],
|
|
120
|
-
example: "kind:note",
|
|
121
|
-
},
|
|
122
|
-
{
|
|
123
|
-
name: "provider",
|
|
124
|
-
type: "kw",
|
|
125
|
-
operators: ["term", "phrase", "wildcard"],
|
|
126
|
-
example: "provider:abc",
|
|
127
|
-
},
|
|
128
|
-
{
|
|
129
|
-
name: "account",
|
|
130
|
-
type: "kw",
|
|
131
|
-
operators: ["term", "phrase", "wildcard"],
|
|
132
|
-
example: "account:abc",
|
|
133
|
-
},
|
|
134
|
-
{
|
|
135
|
-
name: "url",
|
|
136
|
-
type: "kw",
|
|
137
|
-
operators: ["term", "phrase", "wildcard"],
|
|
138
|
-
example: "url:abc",
|
|
139
|
-
},
|
|
140
|
-
{
|
|
141
|
-
name: "id",
|
|
142
|
-
type: "kw",
|
|
143
|
-
operators: ["term", "phrase", "wildcard"],
|
|
144
|
-
example: "id:abc",
|
|
145
|
-
},
|
|
146
|
-
{
|
|
147
|
-
name: "source",
|
|
148
|
-
type: "enum",
|
|
149
|
-
values: ["file", "internal"],
|
|
150
|
-
operators: ["term"],
|
|
151
|
-
example: "source:file",
|
|
152
|
-
},
|
|
153
|
-
{
|
|
154
|
-
name: "folder_id",
|
|
155
|
-
type: "kw",
|
|
156
|
-
operators: ["term", "phrase", "wildcard"],
|
|
157
|
-
example: "folder_id:abc",
|
|
158
|
-
},
|
|
159
|
-
{
|
|
160
|
-
name: "path",
|
|
161
|
-
type: "kw",
|
|
162
|
-
operators: ["term", "phrase", "wildcard"],
|
|
163
|
-
example: "path:abc",
|
|
164
|
-
},
|
|
165
|
-
{
|
|
166
|
-
name: "title",
|
|
167
|
-
type: "kw",
|
|
168
|
-
operators: ["term", "phrase", "wildcard"],
|
|
169
|
-
example: "title:abc",
|
|
170
|
-
},
|
|
171
|
-
{
|
|
172
|
-
name: "text",
|
|
173
|
-
type: "kw",
|
|
174
|
-
operators: ["term", "phrase", "wildcard"],
|
|
175
|
-
example: "text:abc",
|
|
176
|
-
},
|
|
177
|
-
{
|
|
178
|
-
name: "revision",
|
|
179
|
-
type: "num",
|
|
180
|
-
operators: ["term", "range"],
|
|
181
|
-
example: "revision>0",
|
|
182
|
-
},
|
|
183
|
-
{
|
|
184
|
-
name: "content_hash",
|
|
185
|
-
type: "kw",
|
|
186
|
-
operators: ["term", "phrase", "wildcard"],
|
|
187
|
-
example: "content_hash:abc",
|
|
188
|
-
},
|
|
189
|
-
{
|
|
190
|
-
name: "export_path",
|
|
191
|
-
type: "kw",
|
|
192
|
-
operators: ["term", "phrase", "wildcard"],
|
|
193
|
-
example: "export_path:abc",
|
|
194
|
-
},
|
|
195
|
-
{
|
|
196
|
-
name: "created_at",
|
|
197
|
-
type: "time",
|
|
198
|
-
operators: ["term", "range"],
|
|
199
|
-
example: "created_at>=7d",
|
|
200
|
-
},
|
|
201
|
-
{
|
|
202
|
-
name: "updated_at",
|
|
203
|
-
type: "time",
|
|
204
|
-
operators: ["term", "range"],
|
|
205
|
-
example: "updated_at>=7d",
|
|
206
|
-
},
|
|
207
|
-
{
|
|
208
|
-
name: "deleted_at",
|
|
209
|
-
type: "time",
|
|
210
|
-
operators: ["term", "range"],
|
|
211
|
-
example: "deleted_at>=7d",
|
|
212
|
-
},
|
|
213
|
-
{
|
|
214
|
-
name: "tags",
|
|
215
|
-
type: "kw",
|
|
216
|
-
operators: ["term", "phrase", "wildcard"],
|
|
217
|
-
example: "tags:abc",
|
|
218
|
-
},
|
|
219
|
-
{
|
|
220
|
-
name: "excerpt",
|
|
221
|
-
type: "kw",
|
|
222
|
-
operators: ["term", "phrase", "wildcard"],
|
|
223
|
-
example: "excerpt:abc",
|
|
224
|
-
},
|
|
225
|
-
{
|
|
226
|
-
name: "found_by",
|
|
227
|
-
type: "enum",
|
|
228
|
-
values: ["title", "words", "meaning"],
|
|
229
|
-
operators: ["term"],
|
|
230
|
-
example: "found_by:title",
|
|
231
|
-
},
|
|
232
|
-
],
|
|
233
|
-
},
|
|
97
|
+
before: "0b0517429a4f9613",
|
|
234
98
|
after: {
|
|
235
99
|
entity: "note",
|
|
236
100
|
backend: "native",
|
|
237
101
|
fields: [
|
|
238
|
-
{
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
},
|
|
244
|
-
{
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
},
|
|
251
|
-
{
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
},
|
|
257
|
-
{
|
|
258
|
-
name: "account",
|
|
259
|
-
type: "kw",
|
|
260
|
-
operators: ["term", "phrase", "wildcard"],
|
|
261
|
-
example: "account:abc",
|
|
262
|
-
},
|
|
263
|
-
{
|
|
264
|
-
name: "url",
|
|
265
|
-
type: "kw",
|
|
266
|
-
operators: ["term", "phrase", "wildcard"],
|
|
267
|
-
example: "url:abc",
|
|
268
|
-
},
|
|
269
|
-
{
|
|
270
|
-
name: "id",
|
|
271
|
-
type: "kw",
|
|
272
|
-
operators: ["term", "phrase", "wildcard"],
|
|
273
|
-
example: "id:abc",
|
|
274
|
-
},
|
|
275
|
-
{
|
|
276
|
-
name: "source",
|
|
277
|
-
type: "enum",
|
|
278
|
-
values: ["file", "internal"],
|
|
279
|
-
operators: ["term"],
|
|
280
|
-
example: "source:file",
|
|
281
|
-
},
|
|
282
|
-
{
|
|
283
|
-
name: "folder_id",
|
|
284
|
-
type: "kw",
|
|
285
|
-
operators: ["term", "phrase", "wildcard"],
|
|
286
|
-
example: "folder_id:abc",
|
|
287
|
-
},
|
|
288
|
-
{
|
|
289
|
-
name: "path",
|
|
290
|
-
type: "kw",
|
|
291
|
-
operators: ["term", "phrase", "wildcard"],
|
|
292
|
-
example: "path:abc",
|
|
293
|
-
},
|
|
294
|
-
{
|
|
295
|
-
name: "title",
|
|
296
|
-
type: "kw",
|
|
297
|
-
operators: ["term", "phrase", "wildcard"],
|
|
298
|
-
example: "title:abc",
|
|
299
|
-
},
|
|
300
|
-
{
|
|
301
|
-
name: "text",
|
|
302
|
-
type: "kw",
|
|
303
|
-
operators: ["term", "phrase"],
|
|
304
|
-
example: "text:review",
|
|
305
|
-
native: true,
|
|
306
|
-
},
|
|
307
|
-
{
|
|
308
|
-
name: "revision",
|
|
309
|
-
type: "num",
|
|
310
|
-
operators: ["term", "range"],
|
|
311
|
-
example: "revision>0",
|
|
312
|
-
},
|
|
313
|
-
{
|
|
314
|
-
name: "content_hash",
|
|
315
|
-
type: "kw",
|
|
316
|
-
operators: ["term", "phrase", "wildcard"],
|
|
317
|
-
example: "content_hash:abc",
|
|
318
|
-
},
|
|
319
|
-
{
|
|
320
|
-
name: "export_path",
|
|
321
|
-
type: "kw",
|
|
322
|
-
operators: ["term", "phrase", "wildcard"],
|
|
323
|
-
example: "export_path:abc",
|
|
324
|
-
},
|
|
325
|
-
{
|
|
326
|
-
name: "created_at",
|
|
327
|
-
type: "time",
|
|
328
|
-
operators: ["term", "range"],
|
|
329
|
-
example: "created_at>=7d",
|
|
330
|
-
},
|
|
331
|
-
{
|
|
332
|
-
name: "updated_at",
|
|
333
|
-
type: "time",
|
|
334
|
-
operators: ["term", "range"],
|
|
335
|
-
example: "updated_at>=7d",
|
|
336
|
-
},
|
|
337
|
-
{
|
|
338
|
-
name: "deleted_at",
|
|
339
|
-
type: "time",
|
|
340
|
-
operators: ["term", "range"],
|
|
341
|
-
example: "deleted_at>=7d",
|
|
342
|
-
},
|
|
343
|
-
{
|
|
344
|
-
name: "tags",
|
|
345
|
-
type: "kw",
|
|
346
|
-
operators: ["term", "phrase", "wildcard"],
|
|
347
|
-
example: "tags:abc",
|
|
348
|
-
},
|
|
349
|
-
{
|
|
350
|
-
name: "excerpt",
|
|
351
|
-
type: "kw",
|
|
352
|
-
operators: ["term", "phrase", "wildcard"],
|
|
353
|
-
example: "excerpt:abc",
|
|
354
|
-
},
|
|
102
|
+
{ name: "ref", type: "ref", operators: ["term", "phrase"], example: 'ref:"note:42"' },
|
|
103
|
+
{ name: "kind", type: "enum", values: ["note", "document"], operators: ["term"], example: "kind:note" },
|
|
104
|
+
{ name: "provider", type: "kw", operators: ["term", "phrase", "wildcard"], example: "provider:abc" },
|
|
105
|
+
{ name: "account", type: "kw", operators: ["term", "phrase", "wildcard"], example: "account:abc" },
|
|
106
|
+
{ name: "url", type: "kw", operators: ["term", "phrase", "wildcard"], example: "url:abc" },
|
|
107
|
+
{ name: "id", type: "kw", operators: ["term", "phrase", "wildcard"], example: "id:abc" },
|
|
108
|
+
{ name: "source", type: "enum", values: ["file", "internal"], operators: ["term"], example: "source:file" },
|
|
109
|
+
{ name: "folder_id", type: "kw", operators: ["term", "phrase", "wildcard"], example: "folder_id:abc" },
|
|
110
|
+
{ name: "path", type: "kw", operators: ["term", "phrase", "wildcard"], example: "path:abc" },
|
|
111
|
+
{ name: "title", type: "kw", operators: ["term", "phrase", "wildcard"], example: "title:abc" },
|
|
112
|
+
{ name: "text", type: "kw", operators: ["term", "phrase"], example: "text:review", native: true },
|
|
113
|
+
{ name: "revision", type: "num", operators: ["term", "range"], example: "revision>0" },
|
|
114
|
+
{ name: "content_hash", type: "kw", operators: ["term", "phrase", "wildcard"], example: "content_hash:abc" },
|
|
115
|
+
{ name: "export_path", type: "kw", operators: ["term", "phrase", "wildcard"], example: "export_path:abc" },
|
|
116
|
+
{ name: "created_at", type: "time", operators: ["term", "range"], example: "created_at>=7d" },
|
|
117
|
+
{ name: "updated_at", type: "time", operators: ["term", "range"], example: "updated_at>=7d" },
|
|
118
|
+
{ name: "deleted_at", type: "time", operators: ["term", "range"], example: "deleted_at>=7d" },
|
|
119
|
+
{ name: "tags", type: "kw", operators: ["term", "phrase", "wildcard"], example: "tags:abc" },
|
|
120
|
+
{ name: "excerpt", type: "kw", operators: ["term", "phrase", "wildcard"], example: "excerpt:abc" },
|
|
355
121
|
{
|
|
356
122
|
name: "found_by",
|
|
357
123
|
type: "enum",
|
|
@@ -366,14 +132,7 @@ export const SHELL_OVERRIDES = {
|
|
|
366
132
|
{
|
|
367
133
|
command: ["notes", "list"],
|
|
368
134
|
field: "arguments",
|
|
369
|
-
before:
|
|
370
|
-
{
|
|
371
|
-
name: "query",
|
|
372
|
-
required: false,
|
|
373
|
-
variadic: true,
|
|
374
|
-
description: "field:value terms; this list filters by none yet",
|
|
375
|
-
},
|
|
376
|
-
],
|
|
135
|
+
before: "350998d1fcef909c",
|
|
377
136
|
after: [
|
|
378
137
|
{
|
|
379
138
|
name: "document",
|
|
@@ -393,7 +152,7 @@ export const SHELL_OVERRIDES = {
|
|
|
393
152
|
{
|
|
394
153
|
command: ["notes", "list"],
|
|
395
154
|
field: "options",
|
|
396
|
-
before:
|
|
155
|
+
before: "4f53cda18c2baa0c",
|
|
397
156
|
after: [
|
|
398
157
|
{
|
|
399
158
|
flags: "--limit <n>",
|
|
@@ -402,34 +161,21 @@ export const SHELL_OVERRIDES = {
|
|
|
402
161
|
mandatory: false,
|
|
403
162
|
default: 50,
|
|
404
163
|
},
|
|
405
|
-
{
|
|
406
|
-
flags: "--page <n>",
|
|
407
|
-
description: "which page to return",
|
|
408
|
-
takes_value: true,
|
|
409
|
-
mandatory: false,
|
|
410
|
-
default: 1,
|
|
411
|
-
},
|
|
164
|
+
{ flags: "--page <n>", description: "which page to return", takes_value: true, mandatory: false, default: 1 },
|
|
412
165
|
],
|
|
413
166
|
reason: NOTES_REASON,
|
|
414
167
|
},
|
|
415
168
|
{
|
|
416
169
|
command: ["notes", "list"],
|
|
417
170
|
field: "examples",
|
|
418
|
-
before:
|
|
171
|
+
before: "74234e98afe7498f",
|
|
419
172
|
after: ["drive personal notes list DOC_ID", "drive personal notes list DOC_ID text:review --limit 10"],
|
|
420
173
|
reason: NOTES_REASON,
|
|
421
174
|
},
|
|
422
175
|
{
|
|
423
176
|
command: ["notes", "show"],
|
|
424
177
|
field: "arguments",
|
|
425
|
-
before:
|
|
426
|
-
{
|
|
427
|
-
name: "note",
|
|
428
|
-
required: true,
|
|
429
|
-
variadic: false,
|
|
430
|
-
description: "stored note reference",
|
|
431
|
-
},
|
|
432
|
-
],
|
|
178
|
+
before: "ae549d47fb4ad5ab",
|
|
433
179
|
after: [
|
|
434
180
|
{
|
|
435
181
|
name: "document",
|
|
@@ -437,46 +183,28 @@ export const SHELL_OVERRIDES = {
|
|
|
437
183
|
variadic: false,
|
|
438
184
|
description: "Google file or folder id or URL in the local catalog, or a document:<n> ref",
|
|
439
185
|
},
|
|
440
|
-
{
|
|
441
|
-
name: "note",
|
|
442
|
-
required: true,
|
|
443
|
-
variadic: false,
|
|
444
|
-
description: "note:<id> reference, as notes list prints it",
|
|
445
|
-
},
|
|
186
|
+
{ name: "note", required: true, variadic: false, description: "note:<id> reference, as notes list prints it" },
|
|
446
187
|
],
|
|
447
188
|
reason: NOTES_REASON,
|
|
448
189
|
},
|
|
449
190
|
{
|
|
450
191
|
command: ["notes", "show"],
|
|
451
192
|
field: "examples",
|
|
452
|
-
before:
|
|
193
|
+
before: "74234e98afe7498f",
|
|
453
194
|
after: ["drive personal notes show DOC_ID note:NOTE_ID"],
|
|
454
195
|
reason: NOTES_REASON,
|
|
455
196
|
},
|
|
456
197
|
{
|
|
457
198
|
command: ["notes", "edit"],
|
|
458
199
|
field: "description",
|
|
459
|
-
before: "
|
|
200
|
+
before: "e67289f2731a50ff",
|
|
460
201
|
after: "replace a note's text",
|
|
461
202
|
reason: NOTES_REASON,
|
|
462
203
|
},
|
|
463
204
|
{
|
|
464
205
|
command: ["notes", "edit"],
|
|
465
206
|
field: "arguments",
|
|
466
|
-
before:
|
|
467
|
-
{
|
|
468
|
-
name: "note",
|
|
469
|
-
required: true,
|
|
470
|
-
variadic: false,
|
|
471
|
-
description: "stored note reference",
|
|
472
|
-
},
|
|
473
|
-
{
|
|
474
|
-
name: "text",
|
|
475
|
-
required: true,
|
|
476
|
-
variadic: false,
|
|
477
|
-
description: "replacement text",
|
|
478
|
-
},
|
|
479
|
-
],
|
|
207
|
+
before: "c7d2686d3041bb14",
|
|
480
208
|
after: [
|
|
481
209
|
{
|
|
482
210
|
name: "document",
|
|
@@ -484,25 +212,15 @@ export const SHELL_OVERRIDES = {
|
|
|
484
212
|
variadic: false,
|
|
485
213
|
description: "Google file or folder id or URL in the local catalog, or a document:<n> ref",
|
|
486
214
|
},
|
|
487
|
-
{
|
|
488
|
-
|
|
489
|
-
required: true,
|
|
490
|
-
variadic: false,
|
|
491
|
-
description: "note:<id> reference, as notes list prints it",
|
|
492
|
-
},
|
|
493
|
-
{
|
|
494
|
-
name: "text",
|
|
495
|
-
required: true,
|
|
496
|
-
variadic: false,
|
|
497
|
-
description: "the note's new text",
|
|
498
|
-
},
|
|
215
|
+
{ name: "note", required: true, variadic: false, description: "note:<id> reference, as notes list prints it" },
|
|
216
|
+
{ name: "text", required: true, variadic: false, description: "the note's new text" },
|
|
499
217
|
],
|
|
500
218
|
reason: NOTES_REASON,
|
|
501
219
|
},
|
|
502
220
|
{
|
|
503
221
|
command: ["notes", "edit"],
|
|
504
222
|
field: "options",
|
|
505
|
-
before:
|
|
223
|
+
before: "4f53cda18c2baa0c",
|
|
506
224
|
after: [
|
|
507
225
|
{
|
|
508
226
|
flags: "--revision <n>",
|
|
@@ -516,28 +234,21 @@ export const SHELL_OVERRIDES = {
|
|
|
516
234
|
{
|
|
517
235
|
command: ["notes", "edit"],
|
|
518
236
|
field: "examples",
|
|
519
|
-
before:
|
|
237
|
+
before: "74234e98afe7498f",
|
|
520
238
|
after: ['drive personal notes edit DOC_ID note:NOTE_ID "Numbers checked" --revision 2'],
|
|
521
239
|
reason: NOTES_REASON,
|
|
522
240
|
},
|
|
523
241
|
{
|
|
524
242
|
command: ["notes", "remove"],
|
|
525
243
|
field: "description",
|
|
526
|
-
before: "
|
|
244
|
+
before: "aa644f1603858b41",
|
|
527
245
|
after: "delete one note",
|
|
528
246
|
reason: NOTES_REASON,
|
|
529
247
|
},
|
|
530
248
|
{
|
|
531
249
|
command: ["notes", "remove"],
|
|
532
250
|
field: "arguments",
|
|
533
|
-
before:
|
|
534
|
-
{
|
|
535
|
-
name: "note",
|
|
536
|
-
required: true,
|
|
537
|
-
variadic: false,
|
|
538
|
-
description: "stored note reference",
|
|
539
|
-
},
|
|
540
|
-
],
|
|
251
|
+
before: "ae549d47fb4ad5ab",
|
|
541
252
|
after: [
|
|
542
253
|
{
|
|
543
254
|
name: "document",
|
|
@@ -545,19 +256,14 @@ export const SHELL_OVERRIDES = {
|
|
|
545
256
|
variadic: false,
|
|
546
257
|
description: "Google file or folder id or URL in the local catalog, or a document:<n> ref",
|
|
547
258
|
},
|
|
548
|
-
{
|
|
549
|
-
name: "note",
|
|
550
|
-
required: true,
|
|
551
|
-
variadic: false,
|
|
552
|
-
description: "note:<id> reference, as notes list prints it",
|
|
553
|
-
},
|
|
259
|
+
{ name: "note", required: true, variadic: false, description: "note:<id> reference, as notes list prints it" },
|
|
554
260
|
],
|
|
555
261
|
reason: NOTES_REASON,
|
|
556
262
|
},
|
|
557
263
|
{
|
|
558
264
|
command: ["notes", "remove"],
|
|
559
265
|
field: "examples",
|
|
560
|
-
before:
|
|
266
|
+
before: "74234e98afe7498f",
|
|
561
267
|
after: ["drive personal notes remove DOC_ID note:NOTE_ID"],
|
|
562
268
|
reason: NOTES_REASON,
|
|
563
269
|
},
|
|
@@ -566,49 +272,28 @@ export const SHELL_OVERRIDES = {
|
|
|
566
272
|
{
|
|
567
273
|
command: ["commands"],
|
|
568
274
|
field: "arguments",
|
|
569
|
-
before:
|
|
570
|
-
|
|
571
|
-
name: "path",
|
|
572
|
-
required: false,
|
|
573
|
-
variadic: true,
|
|
574
|
-
description: "one command path, for example: commands info; inspect other groups in separate calls",
|
|
575
|
-
},
|
|
576
|
-
],
|
|
577
|
-
after: [
|
|
578
|
-
{
|
|
579
|
-
name: "path",
|
|
580
|
-
required: false,
|
|
581
|
-
variadic: true,
|
|
582
|
-
description: "only this command or group, as words",
|
|
583
|
-
},
|
|
584
|
-
],
|
|
275
|
+
before: "2a309b1318d3ae57",
|
|
276
|
+
after: [{ name: "path", required: false, variadic: true, description: "only this command or group, as words" }],
|
|
585
277
|
reason: "Drive binds discovery to its profile-aware usage renderer while retaining the shared command document and evidence endpoint.",
|
|
586
278
|
},
|
|
587
279
|
{
|
|
588
280
|
command: ["commands"],
|
|
589
281
|
field: "examples",
|
|
590
|
-
before:
|
|
282
|
+
before: "74234e98afe7498f",
|
|
591
283
|
after: ["drive commands", "drive commands files copy --json"],
|
|
592
284
|
reason: "Drive binds discovery to its profile-aware usage renderer while retaining the shared command document and evidence endpoint.",
|
|
593
285
|
},
|
|
594
286
|
{
|
|
595
287
|
command: ["commands", "info"],
|
|
596
288
|
field: "examples",
|
|
597
|
-
before:
|
|
289
|
+
before: "b5111d1de1d39c3d",
|
|
598
290
|
after: ["drive commands info --json"],
|
|
599
291
|
reason: "Drive binds discovery to its profile-aware usage renderer while retaining the shared command document and evidence endpoint.",
|
|
600
292
|
},
|
|
601
293
|
{
|
|
602
294
|
command: ["commands", "info"],
|
|
603
295
|
field: "arguments",
|
|
604
|
-
before:
|
|
605
|
-
{
|
|
606
|
-
name: "path",
|
|
607
|
-
required: false,
|
|
608
|
-
variadic: true,
|
|
609
|
-
description: "one command path; without one, export schemas, error reasons and explicit overrides",
|
|
610
|
-
},
|
|
611
|
-
],
|
|
296
|
+
before: "51e2a792c77a31bd",
|
|
612
297
|
after: [
|
|
613
298
|
{
|
|
614
299
|
name: "path",
|
|
@@ -624,21 +309,21 @@ export const SHELL_OVERRIDES = {
|
|
|
624
309
|
{
|
|
625
310
|
command: ["search"],
|
|
626
311
|
field: "summary",
|
|
627
|
-
before: "
|
|
312
|
+
before: "d8f6dac5b4fe912b",
|
|
628
313
|
after: null,
|
|
629
314
|
reason: SEARCH_REASON,
|
|
630
315
|
},
|
|
631
316
|
{
|
|
632
317
|
command: ["search"],
|
|
633
318
|
field: "description",
|
|
634
|
-
before: "
|
|
319
|
+
before: "600ae3fd56e9ef36",
|
|
635
320
|
after: "search imported documents by words, and by meaning when indexed",
|
|
636
321
|
reason: SEARCH_REASON,
|
|
637
322
|
},
|
|
638
323
|
{
|
|
639
324
|
command: ["search"],
|
|
640
325
|
field: "arguments",
|
|
641
|
-
before:
|
|
326
|
+
before: "4f53cda18c2baa0c",
|
|
642
327
|
after: [
|
|
643
328
|
{
|
|
644
329
|
name: "query",
|
|
@@ -652,7 +337,7 @@ export const SHELL_OVERRIDES = {
|
|
|
652
337
|
{
|
|
653
338
|
command: ["search"],
|
|
654
339
|
field: "options",
|
|
655
|
-
before:
|
|
340
|
+
before: "4f53cda18c2baa0c",
|
|
656
341
|
after: [
|
|
657
342
|
{
|
|
658
343
|
flags: "--limit <n>",
|
|
@@ -661,13 +346,7 @@ export const SHELL_OVERRIDES = {
|
|
|
661
346
|
mandatory: false,
|
|
662
347
|
default: 20,
|
|
663
348
|
},
|
|
664
|
-
{
|
|
665
|
-
flags: "--page <n>",
|
|
666
|
-
description: "which page to return",
|
|
667
|
-
takes_value: true,
|
|
668
|
-
mandatory: false,
|
|
669
|
-
default: 1,
|
|
670
|
-
},
|
|
349
|
+
{ flags: "--page <n>", description: "which page to return", takes_value: true, mandatory: false, default: 1 },
|
|
671
350
|
{
|
|
672
351
|
flags: "--exact",
|
|
673
352
|
description: "match the words exactly: no word forms, no meaning",
|
|
@@ -680,24 +359,21 @@ export const SHELL_OVERRIDES = {
|
|
|
680
359
|
{
|
|
681
360
|
command: ["search"],
|
|
682
361
|
field: "children",
|
|
683
|
-
before:
|
|
362
|
+
before: "595cc576273270f2",
|
|
684
363
|
after: [],
|
|
685
364
|
reason: SEARCH_REASON,
|
|
686
365
|
},
|
|
687
366
|
{
|
|
688
367
|
command: ["search"],
|
|
689
368
|
field: "effects",
|
|
690
|
-
before:
|
|
691
|
-
after: {
|
|
692
|
-
remote: "none",
|
|
693
|
-
local: "read",
|
|
694
|
-
},
|
|
369
|
+
before: "74234e98afe7498f",
|
|
370
|
+
after: { remote: "none", local: "read" },
|
|
695
371
|
reason: SEARCH_REASON,
|
|
696
372
|
},
|
|
697
373
|
{
|
|
698
374
|
command: ["search"],
|
|
699
375
|
field: "examples",
|
|
700
|
-
before:
|
|
376
|
+
before: "74234e98afe7498f",
|
|
701
377
|
after: ["drive personal search budget", 'drive personal search "quarterly plan" --exact --limit 5'],
|
|
702
378
|
reason: SEARCH_REASON,
|
|
703
379
|
},
|