@wirecat/drive-cli 0.57.0 → 0.58.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.
Files changed (124) hide show
  1. package/dist/bin/drive.js +2 -2
  2. package/dist/bin/drive.js.map +1 -1
  3. package/dist/bundle/{all-profiles-7LSZ3CC3.js → all-profiles-ANDWOJDL.js} +10 -6
  4. package/dist/bundle/{anthropic-3QRM4QXB.js → anthropic-EZPZUWGS.js} +10 -6
  5. package/dist/bundle/{app-server-WWNMUHID.js → app-server-67WL423B.js} +57 -51
  6. package/dist/bundle/{bun-sqlite-GSLSN3OT.js → bun-sqlite-A5ZKTIYC.js} +7 -3
  7. package/dist/bundle/{chunk-L4BBK7UX.js → chunk-2TASMYGM.js} +4 -2
  8. package/dist/bundle/{chunk-VTJF2L5E.js → chunk-34XHR5FL.js} +5 -5
  9. package/dist/bundle/{chunk-JIGMCW4C.js → chunk-3GXNODTB.js} +3 -3
  10. package/dist/bundle/chunk-3RG27IWA.js +201 -0
  11. package/dist/bundle/{chunk-KHNDZNQA.js → chunk-4EEOJ54H.js} +40 -36
  12. package/dist/bundle/{chunk-Q3TMNETS.js → chunk-4GZLX2ME.js} +27 -21
  13. package/dist/bundle/{chunk-B3TPS7BW.js → chunk-4ICWGMHN.js} +6 -4
  14. package/dist/bundle/{chunk-4F2VRJZE.js → chunk-4UU4ONKY.js} +31 -23
  15. package/dist/bundle/{chunk-IJ2S53WJ.js → chunk-5NPFHWLP.js} +7 -7
  16. package/dist/bundle/{chunk-566W4Q6L.js → chunk-6SARLV3Z.js} +1 -1
  17. package/dist/bundle/{chunk-AKPFH3KC.js → chunk-6THTUYPT.js} +1 -1
  18. package/dist/bundle/{chunk-GKHUHRSL.js → chunk-7AL57FCK.js} +1 -1
  19. package/dist/bundle/{chunk-SRNXTXJN.js → chunk-7VFD3UJQ.js} +1 -1
  20. package/dist/bundle/{chunk-CGCQNYB3.js → chunk-7VUHY5LP.js} +1 -1
  21. package/dist/bundle/{chunk-TZHCS5MG.js → chunk-7YUZAEBG.js} +1 -1
  22. package/dist/bundle/{chunk-JUKVJ7M2.js → chunk-A4DHPOFQ.js} +7 -5
  23. package/dist/bundle/chunk-A7FMNTCK.js +166 -0
  24. package/dist/bundle/{chunk-2QLLKDE5.js → chunk-AFZ33AC7.js} +47 -43
  25. package/dist/bundle/{chunk-XGNADVIA.js → chunk-ALTG7BZQ.js} +14 -215
  26. package/dist/bundle/chunk-ASPIEEXN.js +34 -0
  27. package/dist/bundle/{chunk-WJOKTIOJ.js → chunk-BAEIAQWH.js} +1 -1
  28. package/dist/bundle/{chunk-W6FYYQ2J.js → chunk-BKM2CGG2.js} +2 -2
  29. package/dist/bundle/{chunk-G34Y5RAC.js → chunk-BLJVCJZU.js} +5 -5
  30. package/dist/bundle/{chunk-7SNS443B.js → chunk-D72FL3L3.js} +1 -1
  31. package/dist/bundle/{chunk-OYNSFQ7K.js → chunk-D72URWJE.js} +1 -39
  32. package/dist/bundle/{chunk-B64EY2SC.js → chunk-ED5JNYN5.js} +27 -27
  33. package/dist/bundle/{chunk-64E6QXXQ.js → chunk-ESF2B22R.js} +7 -7
  34. package/dist/bundle/{chunk-5KNIVHP6.js → chunk-FD7A6745.js} +6 -19
  35. package/dist/bundle/{chunk-ADLS6FVG.js → chunk-FXBHOCJK.js} +1 -1
  36. package/dist/bundle/{chunk-TKVSJV5P.js → chunk-GDRO4YMH.js} +5 -3
  37. package/dist/bundle/{chunk-KYNTSA6K.js → chunk-I4VUHZSD.js} +5 -5
  38. package/dist/bundle/{chunk-O5KDIVGE.js → chunk-IBJOO5FG.js} +17 -15
  39. package/dist/bundle/{chunk-J2HGHSLX.js → chunk-IH4UCM5K.js} +3 -3
  40. package/dist/bundle/chunk-ITD7WI23.js +45 -0
  41. package/dist/bundle/{chunk-EN7OZ5JH.js → chunk-IXXQZCNK.js} +13 -11
  42. package/dist/bundle/{chunk-R5GJZPRF.js → chunk-J36Z6BDZ.js} +6 -4
  43. package/dist/bundle/{chunk-6CFSDU56.js → chunk-JEMKSWVI.js} +15 -13
  44. package/dist/bundle/chunk-JZ67M3HR.js +46 -0
  45. package/dist/bundle/{chunk-WJPVGXKA.js → chunk-KCBHOYNZ.js} +3 -3
  46. package/dist/bundle/{chunk-QAT6UXZZ.js → chunk-MBNKNWOG.js} +43 -39
  47. package/dist/bundle/{chunk-AHBUTDS7.js → chunk-NKL5XXOM.js} +1 -1
  48. package/dist/bundle/chunk-NYINLKWT.js +23 -0
  49. package/dist/bundle/{chunk-GIQFBXQN.js → chunk-O3K46QRL.js} +5 -120
  50. package/dist/bundle/{chunk-NLLWLCUZ.js → chunk-OG5ERX4S.js} +2 -2
  51. package/dist/bundle/{chunk-RAEKC6TV.js → chunk-OUQVZTF5.js} +7 -5
  52. package/dist/bundle/{chunk-W5FOPSJZ.js → chunk-OZEJA67C.js} +6 -4
  53. package/dist/bundle/{chunk-4UQLL6RJ.js → chunk-P5MCZ635.js} +2 -2
  54. package/dist/bundle/{chunk-YZ6SYLDC.js → chunk-PYPLD7JO.js} +1 -1
  55. package/dist/bundle/{chunk-6ZA4NR5H.js → chunk-QVIJMV22.js} +2 -2
  56. package/dist/bundle/chunk-RRHC5SBB.js +106 -0
  57. package/dist/bundle/{chunk-WBYCUBYM.js → chunk-SPVPKHBQ.js} +25 -23
  58. package/dist/bundle/{chunk-XJVK7ETL.js → chunk-SWFA36F3.js} +5 -3
  59. package/dist/bundle/{chunk-HNUSPNUQ.js → chunk-TCJRJ3TE.js} +1 -1
  60. package/dist/bundle/{chunk-TR5656OS.js → chunk-TIXIB32T.js} +16 -12
  61. package/dist/bundle/{chunk-KM4Y55ZE.js → chunk-TMW526H3.js} +4 -4
  62. package/dist/bundle/{chunk-WAVJWGUC.js → chunk-TNX77VPM.js} +35 -33
  63. package/dist/bundle/{chunk-EE7R457T.js → chunk-UBZ2LH7N.js} +229 -221
  64. package/dist/bundle/{chunk-2ULJW5BA.js → chunk-UMJLXAJI.js} +1 -1
  65. package/dist/bundle/{chunk-ELIYJXIY.js → chunk-UTDL7MKT.js} +1 -1
  66. package/dist/bundle/{chunk-ISK4K7UE.js → chunk-VXI67T7U.js} +1 -1
  67. package/dist/bundle/{chunk-LBFFI6FE.js → chunk-W6KMNO3C.js} +9 -7
  68. package/dist/bundle/{chunk-RB674T6L.js → chunk-WICYDOVL.js} +15 -11
  69. package/dist/bundle/{chunk-UKMFPBAO.js → chunk-X4F3M6L6.js} +3 -3
  70. package/dist/bundle/{chunk-373WJIHE.js → chunk-X5XWUQNU.js} +1 -1
  71. package/dist/bundle/{chunk-CD736BG3.js → chunk-XQMMB6ST.js} +1 -1
  72. package/dist/bundle/{chunk-3BXSLNWW.js → chunk-Y6M2G7JK.js} +12 -10
  73. package/dist/bundle/{chunk-OZJMZSFB.js → chunk-YHRJUZ3O.js} +2 -2
  74. package/dist/bundle/{chunk-JLKNUFL2.js → chunk-Z5GDNCTJ.js} +1 -1
  75. package/dist/bundle/command-contract-ZCXFT764.js +39 -0
  76. package/dist/bundle/{decode-5MHMPYKE.js → decode-2R6DTGRX.js} +9 -5
  77. package/dist/bundle/dispatch-DEXAEMIN.js +412 -0
  78. package/dist/bundle/drive.js +40 -22
  79. package/dist/bundle/{embed-TF66ODAR.js → embed-RJJWOLKN.js} +9 -5
  80. package/dist/bundle/{embedder-EDWOIAC2.js → embedder-DWYS5JYJ.js} +11 -7
  81. package/dist/bundle/entry-E6H7IUPV.js +21 -0
  82. package/dist/bundle/failure-GBZ4L5QO.js +26 -0
  83. package/dist/bundle/first-run-DI2JIG44.js +30 -0
  84. package/dist/bundle/first-screen-X5N4TCKD.js +37 -0
  85. package/dist/bundle/{google-A4F2WFO4.js → google-L776ETP4.js} +13 -9
  86. package/dist/bundle/{google-api-ZXGQOJUI.js → google-api-AI5ZJJ2M.js} +54 -48
  87. package/dist/bundle/grants-HKGYAWL6.js +104 -0
  88. package/dist/bundle/{identity-4IO7WGG4.js → identity-MDLWK2TX.js} +5 -3
  89. package/dist/bundle/{login-A4QHJ5DA.js → login-6HHQLRHY.js} +60 -54
  90. package/dist/bundle/{mcp-VVMPUDSL.js → mcp-ZZUYI44D.js} +4 -2
  91. package/dist/bundle/{node-P4E63KXA.js → node-KM3CUABH.js} +9 -9
  92. package/dist/bundle/{node-sqlite-AFQTE4XZ.js → node-sqlite-AVNHGMVL.js} +7 -3
  93. package/dist/bundle/{oauth-46XBJBML.js → oauth-UVU52X57.js} +9 -5
  94. package/dist/bundle/{open-WJCRBIP7.js → open-BXPLXJC2.js} +7 -3
  95. package/dist/bundle/{openai-3TIBDWZA.js → openai-CRO5GDBY.js} +14 -10
  96. package/dist/bundle/{program-AHZH65IT.js → program-4DWVWSGQ.js} +135 -127
  97. package/dist/bundle/prompt-AFWVGRDG.js +17 -0
  98. package/dist/bundle/{reasons-VHCVYH54.js → reasons-IHPNUP5W.js} +4 -2
  99. package/dist/bundle/{recognize-4EAKIMON.js → recognize-NAISVA56.js} +7 -3
  100. package/dist/bundle/{remote-HX3JP4EH.js → remote-KCUHG5HV.js} +10 -6
  101. package/dist/bundle/{rerank-BW3A4PUU.js → rerank-Q3POCDSK.js} +9 -5
  102. package/dist/bundle/{serve-YYOOLIBS.js → serve-5CUOYLSG.js} +10 -6
  103. package/dist/bundle/server-FTLPSLRU.js +69 -0
  104. package/dist/bundle/{server-G6XTEEFI.js → server-FXW3GARV.js} +42 -36
  105. package/dist/bundle/{services-OAPILZOW.js → services-PEYBXZ3R.js} +30 -24
  106. package/dist/bundle/{sqlite-runtime-GTXDK4PE.js → sqlite-runtime-YMPWN5PM.js} +8 -4
  107. package/dist/bundle/start-PFWEF44R.js +138 -0
  108. package/dist/bundle/{state-XG335LGZ.js → state-5TQ7IOJH.js} +8 -4
  109. package/dist/bundle/{store-N53SJOPS.js → store-E2VWY4O6.js} +18 -14
  110. package/dist/bundle/{store-7KOXJNQP.js → store-P4OYYFW5.js} +15 -11
  111. package/dist/bundle/store-maintenance-command-MWVERNK7.js +58 -0
  112. package/dist/bundle/tokens-OVG4CJO4.js +102 -0
  113. package/dist/version.d.ts +1 -1
  114. package/dist/version.js +1 -1
  115. package/package.json +3 -2
  116. package/dist/bundle/command-contract-XIACCAZL.js +0 -35
  117. package/dist/bundle/entry-CWYCQ53A.js +0 -17
  118. package/dist/bundle/first-run-YIH7EHJI.js +0 -24
  119. package/dist/bundle/first-screen-THH3XD5Y.js +0 -33
  120. package/dist/bundle/grants-3Z7DG3W3.js +0 -98
  121. package/dist/bundle/prompt-FFGBIT4A.js +0 -13
  122. package/dist/bundle/server-YKYEUIJT.js +0 -63
  123. package/dist/bundle/store-maintenance-command-W3TI52X2.js +0 -52
  124. package/dist/bundle/tokens-P7TEHKDD.js +0 -96
@@ -1,40 +1,44 @@
1
1
  import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
+ import {
4
+ filesPresent,
5
+ sharedModelsDirectory
6
+ } from "./chunk-YHRJUZ3O.js";
3
7
  import {
4
8
  count,
5
9
  id,
6
10
  text,
7
11
  time
8
- } from "./chunk-7SNS443B.js";
9
- import {
10
- filesPresent,
11
- sharedModelsDirectory
12
- } from "./chunk-OZJMZSFB.js";
12
+ } from "./chunk-D72FL3L3.js";
13
13
  import {
14
14
  PRIORITY_LABELS,
15
15
  TAG_TYPES,
16
16
  TASK_ORIGINS,
17
17
  TASK_STATES,
18
18
  TASK_TYPES
19
- } from "./chunk-R5GJZPRF.js";
19
+ } from "./chunk-J36Z6BDZ.js";
20
20
  import {
21
21
  createRecordLog,
22
22
  resolvePaths,
23
23
  writeSecurely
24
- } from "./chunk-XGNADVIA.js";
24
+ } from "./chunk-ALTG7BZQ.js";
25
+ import {
26
+ traceIdOf
27
+ } from "./chunk-RRHC5SBB.js";
25
28
  import {
26
- CliError,
27
29
  array,
28
30
  boolean,
29
- isCliError,
30
31
  nullable,
31
32
  number,
32
33
  optional,
33
34
  picklist,
34
35
  reference,
35
- strictObject,
36
- traceIdOf
37
- } from "./chunk-GIQFBXQN.js";
36
+ strictObject
37
+ } from "./chunk-O3K46QRL.js";
38
+ import {
39
+ CliError,
40
+ isCliError
41
+ } from "./chunk-ITD7WI23.js";
38
42
  import {
39
43
  __name
40
44
  } from "./chunk-ZVVMGPBJ.js";
@@ -8,13 +8,13 @@ import {
8
8
  installFiles,
9
9
  megabytes,
10
10
  sharedModelsDirectory
11
- } from "./chunk-OZJMZSFB.js";
12
- import {
13
- CliError
14
- } from "./chunk-GIQFBXQN.js";
11
+ } from "./chunk-YHRJUZ3O.js";
15
12
  import {
16
13
  importFrom
17
14
  } from "./chunk-Y5E2WNWB.js";
15
+ import {
16
+ CliError
17
+ } from "./chunk-ITD7WI23.js";
18
18
  import {
19
19
  __name
20
20
  } from "./chunk-ZVVMGPBJ.js";
@@ -2,7 +2,7 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  MAX_TEXT_CHARS
5
- } from "./chunk-373WJIHE.js";
5
+ } from "./chunk-X5XWUQNU.js";
6
6
  import {
7
7
  CHAT_MESSAGES_READ,
8
8
  FACT_STATUSES,
@@ -52,7 +52,7 @@ import {
52
52
  validateMeetingPreparationContext,
53
53
  validateMeetingRelatedHistory,
54
54
  validateMeetingSeriesHistory
55
- } from "./chunk-R5GJZPRF.js";
55
+ } from "./chunk-J36Z6BDZ.js";
56
56
  import {
57
57
  OPERATORS_BY_TYPE,
58
58
  QUERY_LIMITS,
@@ -65,7 +65,7 @@ import {
65
65
  validateQuery,
66
66
  walkQuery,
67
67
  zonedMoment
68
- } from "./chunk-XJVK7ETL.js";
68
+ } from "./chunk-SWFA36F3.js";
69
69
  import {
70
70
  DEFAULT_STEMMERS,
71
71
  DEFAULT_STEMMERS_VERSION,
@@ -78,45 +78,21 @@ import {
78
78
  fold,
79
79
  normalize,
80
80
  parseStemmers
81
- } from "./chunk-AHBUTDS7.js";
81
+ } from "./chunk-NKL5XXOM.js";
82
82
  import {
83
83
  DEFAULT_TASK_CATEGORIES,
84
84
  sharedConfigPath,
85
85
  storedTaskCategories,
86
86
  taskCategoriesReader
87
- } from "./chunk-B3TPS7BW.js";
87
+ } from "./chunk-4ICWGMHN.js";
88
88
  import {
89
89
  storePath
90
- } from "./chunk-CGCQNYB3.js";
90
+ } from "./chunk-7VUHY5LP.js";
91
91
  import {
92
92
  PRAGMAS,
93
93
  quietSqliteWarning,
94
94
  storeCapable
95
- } from "./chunk-WJPVGXKA.js";
96
- import {
97
- singleLine
98
- } from "./chunk-XGNADVIA.js";
99
- import {
100
- CliError,
101
- array,
102
- boolean,
103
- literal,
104
- maxLength,
105
- minLength,
106
- minValue,
107
- nullable,
108
- number,
109
- picklist,
110
- pipe,
111
- regex,
112
- safeInteger,
113
- safeParse,
114
- strictObject,
115
- string
116
- } from "./chunk-GIQFBXQN.js";
117
- import {
118
- resolveFrom
119
- } from "./chunk-Y5E2WNWB.js";
95
+ } from "./chunk-KCBHOYNZ.js";
120
96
  import {
121
97
  SQLiteTable,
122
98
  TableAliasProxyHandler,
@@ -142,6 +118,32 @@ import {
142
118
  sqliteTable,
143
119
  text
144
120
  } from "./chunk-LSSIVBQI.js";
121
+ import {
122
+ resolveFrom
123
+ } from "./chunk-Y5E2WNWB.js";
124
+ import {
125
+ singleLine
126
+ } from "./chunk-ASPIEEXN.js";
127
+ import {
128
+ array,
129
+ boolean,
130
+ literal,
131
+ maxLength,
132
+ minLength,
133
+ minValue,
134
+ nullable,
135
+ number,
136
+ picklist,
137
+ pipe,
138
+ regex,
139
+ safeInteger,
140
+ safeParse,
141
+ strictObject,
142
+ string
143
+ } from "./chunk-O3K46QRL.js";
144
+ import {
145
+ CliError
146
+ } from "./chunk-ITD7WI23.js";
145
147
  import {
146
148
  __name
147
149
  } from "./chunk-ZVVMGPBJ.js";
@@ -35401,7 +35403,7 @@ var openSqlite = /* @__PURE__ */ __name(async (path, { readOnly = false } = {})
35401
35403
  var openUnderNode = /* @__PURE__ */ __name(async (path, readOnly) => {
35402
35404
  quietSqliteWarning();
35403
35405
  const { drizzle } = await import("./node-R6ZNQ3NT.js");
35404
- const { cacheOverNodeSqlite, nodeClient } = await import("./node-sqlite-AFQTE4XZ.js");
35406
+ const { cacheOverNodeSqlite, nodeClient } = await import("./node-sqlite-AVNHGMVL.js");
35405
35407
  const client = await nodeClient(path, { readOnly });
35406
35408
  try {
35407
35409
  return { database: cacheOverNodeSqlite(client), orm: drizzle({ client }) };
@@ -35411,7 +35413,7 @@ var openUnderNode = /* @__PURE__ */ __name(async (path, readOnly) => {
35411
35413
  }
35412
35414
  }, "openUnderNode");
35413
35415
  var openUnderBun = /* @__PURE__ */ __name(async (path, readOnly) => {
35414
- const { bunClient, cacheOverBunSqlite } = await import("./bun-sqlite-GSLSN3OT.js");
35416
+ const { bunClient, cacheOverBunSqlite } = await import("./bun-sqlite-A5ZKTIYC.js");
35415
35417
  const { drizzle } = await import("./bun-NIIYUR5F.js");
35416
35418
  const client = await bunClient(path, readOnly ? { readonly: true, create: false } : void 0);
35417
35419
  try {