@wirecat/attio-cli 0.8.0 → 0.9.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 (118) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/dist/bin/attio.js +2 -2
  3. package/dist/bundle/agent-C3SZOGZS.js +38 -0
  4. package/dist/bundle/{all-profiles-63N3EQ46.js → all-profiles-673VSTRG.js} +7 -7
  5. package/dist/bundle/{anthropic-B4W7MZQE.js → anthropic-V4RZS5XM.js} +3 -3
  6. package/dist/bundle/{app-server-EXNGTHWO.js → app-server-CTEDPA5H.js} +55 -56
  7. package/dist/bundle/attio.js +3 -3
  8. package/dist/bundle/{bun-OPDGMZZQ.js → bun-F4M4KCNA.js} +2 -2
  9. package/dist/bundle/{bun-sqlite-NBAY7FR2.js → bun-sqlite-33JTNHCK.js} +4 -4
  10. package/dist/bundle/{chunk-L72WUJAS.js → chunk-2R2EX5I6.js} +2 -2
  11. package/dist/bundle/{chunk-SCI7QEHF.js → chunk-5EH7S4RM.js} +7 -7
  12. package/dist/bundle/{chunk-V57E7PJQ.js → chunk-5WY6RURV.js} +4 -4
  13. package/dist/bundle/{chunk-UXJZISVL.js → chunk-6E5QWCBK.js} +1 -1
  14. package/dist/bundle/{chunk-RQORQN2V.js → chunk-6V7ZUJI6.js} +51 -51
  15. package/dist/bundle/{chunk-UDSL3MUU.js → chunk-AOKAYQSJ.js} +14 -9
  16. package/dist/bundle/{chunk-VB7FZOYX.js → chunk-AQ5RIOUE.js} +1 -1
  17. package/dist/bundle/{chunk-J6GVVISK.js → chunk-B4DVW2BA.js} +7 -7
  18. package/dist/bundle/{chunk-VZ5PPYDG.js → chunk-C7JPYWYQ.js} +1 -1
  19. package/dist/bundle/{chunk-JIGEJZ4I.js → chunk-DBHZ7TQ7.js} +3696 -2811
  20. package/dist/bundle/{chunk-DPD4FMHN.js → chunk-E2L4R6EI.js} +3 -3
  21. package/dist/bundle/{chunk-YNGU36GW.js → chunk-EDWRHVHD.js} +11 -11
  22. package/dist/bundle/{chunk-4RSWOPKL.js → chunk-EV6B3GHM.js} +7 -7
  23. package/dist/bundle/{chunk-OYEVYOCL.js → chunk-FBWECICU.js} +5 -5
  24. package/dist/bundle/{chunk-JG6LCSEX.js → chunk-FFER7KJI.js} +12 -12
  25. package/dist/bundle/{chunk-3HC5F3P7.js → chunk-FTH6WGYO.js} +1 -1
  26. package/dist/bundle/{chunk-MCLQTCGH.js → chunk-G3PK5BZB.js} +34 -14
  27. package/dist/bundle/{chunk-NISH4UXM.js → chunk-G46PNDWL.js} +1 -1
  28. package/dist/bundle/{chunk-LKH3UKLO.js → chunk-G6NY7LFB.js} +3 -3
  29. package/dist/bundle/{chunk-V7IF2K3P.js → chunk-GLU36VKA.js} +2 -2
  30. package/dist/bundle/{chunk-Q7ICVP25.js → chunk-GZ7WBU5Y.js} +1 -1
  31. package/dist/bundle/{chunk-XQGN2D44.js → chunk-HMYBAVIE.js} +3 -3
  32. package/dist/bundle/{chunk-P7G5HFY3.js → chunk-HOJJPSLU.js} +2 -2
  33. package/dist/bundle/{chunk-WOPVBRPV.js → chunk-HUAHLO6N.js} +1 -1
  34. package/dist/bundle/{chunk-NB7EOAUZ.js → chunk-ISQ23VKV.js} +1 -1
  35. package/dist/bundle/{chunk-M4AC55ZB.js → chunk-J2LSOG3A.js} +205 -172
  36. package/dist/bundle/{chunk-5WD22IXQ.js → chunk-K5L77R7P.js} +2 -2
  37. package/dist/bundle/chunk-KKRFVN4X.js +1835 -0
  38. package/dist/bundle/{chunk-IA7LLLEI.js → chunk-KLRCTMES.js} +2 -2
  39. package/dist/bundle/{chunk-GGMAIIVE.js → chunk-KYRYD4CR.js} +1 -1
  40. package/dist/bundle/{chunk-2QDUP74I.js → chunk-L5QLKUQR.js} +33 -33
  41. package/dist/bundle/{chunk-GTEX4IUO.js → chunk-MFSWMNSZ.js} +4 -4
  42. package/dist/bundle/{chunk-3MSHGNVE.js → chunk-MYK2F5LD.js} +20 -12
  43. package/dist/bundle/{chunk-7Z53MLQP.js → chunk-NBNQLNVV.js} +2 -2
  44. package/dist/bundle/{chunk-LM3W7YOM.js → chunk-O3DZDITT.js} +3 -3
  45. package/dist/bundle/{chunk-2XBDILVW.js → chunk-OEEWVKJX.js} +1 -1
  46. package/dist/bundle/{chunk-L45WN3AR.js → chunk-P5XYQZVW.js} +2 -2
  47. package/dist/bundle/{chunk-TTF5DP4V.js → chunk-P6OJKJJS.js} +6 -6
  48. package/dist/bundle/{chunk-6TD3DCWC.js → chunk-P6S3ZRVW.js} +2 -2
  49. package/dist/bundle/{chunk-UKHF37ZU.js → chunk-QBJRK733.js} +20 -20
  50. package/dist/bundle/{chunk-QSJKSPWF.js → chunk-QBYE26ZC.js} +2 -2
  51. package/dist/bundle/{chunk-APARYILG.js → chunk-R2CEA7MK.js} +13 -13
  52. package/dist/bundle/{chunk-ZZD2YPOX.js → chunk-SKUY7JDA.js} +14 -6
  53. package/dist/bundle/{chunk-4RBMCXZT.js → chunk-T35IOBPJ.js} +28 -24
  54. package/dist/bundle/{chunk-3YM4B2GT.js → chunk-T3W4V4A6.js} +1 -1
  55. package/dist/bundle/{chunk-WXQGA6XK.js → chunk-TB3LN5G2.js} +2 -2
  56. package/dist/bundle/{chunk-4N7PP76S.js → chunk-TCT5D2X2.js} +1 -1
  57. package/dist/bundle/{chunk-YWDFYQOU.js → chunk-TES7MB6I.js} +1 -1
  58. package/dist/bundle/{chunk-DURNR4RO.js → chunk-U7UTYALA.js} +7 -7
  59. package/dist/bundle/{chunk-PAEKXVJW.js → chunk-UOWHMOU3.js} +6 -6
  60. package/dist/bundle/{chunk-5JKTVAXX.js → chunk-UXDUWGX6.js} +3 -0
  61. package/dist/bundle/{chunk-FH6OEGGN.js → chunk-V5I3QHDU.js} +14 -13
  62. package/dist/bundle/{chunk-KVTNYRDO.js → chunk-VCDIKCFE.js} +5 -5
  63. package/dist/bundle/{chunk-RDVTHFPP.js → chunk-VJHUMB7U.js} +4 -4
  64. package/dist/bundle/{chunk-PMQ7GP6X.js → chunk-W4KLHM2K.js} +5 -5
  65. package/dist/bundle/{chunk-HZ3C4WXD.js → chunk-W5LKEOGN.js} +1 -1
  66. package/dist/bundle/{chunk-PLPBEWD4.js → chunk-WLDZWHSF.js} +2 -2
  67. package/dist/bundle/{chunk-DM7KWVDZ.js → chunk-WQEEYEWO.js} +10 -10
  68. package/dist/bundle/{chunk-AATTOFNY.js → chunk-WRF6TY63.js} +96 -620
  69. package/dist/bundle/{chunk-EY36BTKZ.js → chunk-WXYOELRI.js} +2 -2
  70. package/dist/bundle/{chunk-EVUMQKV7.js → chunk-WZBPUOWM.js} +2 -2
  71. package/dist/bundle/chunk-XGNZD52X.js +592 -0
  72. package/dist/bundle/{chunk-FOP6G45D.js → chunk-YQH4J6YZ.js} +9 -9
  73. package/dist/bundle/{chunk-6K4Z6CAM.js → chunk-Z7Y2I5YR.js} +447 -399
  74. package/dist/bundle/{chunk-T4J7XFXT.js → chunk-ZBCC7MBN.js} +62 -58
  75. package/dist/bundle/command-contract-ZL67KMYL.js +37 -0
  76. package/dist/bundle/{command-server-entry-3NPPABQQ.js → command-server-entry-COR2VDRU.js} +22 -22
  77. package/dist/bundle/{decode-26M7XE2B.js → decode-33SGRQM6.js} +3 -3
  78. package/dist/bundle/{echarts-O3TNDAXJ.js → echarts-QMAA7HH5.js} +2 -2
  79. package/dist/bundle/{embed-XJLEAWXE.js → embed-W4ZBXPWD.js} +4 -4
  80. package/dist/bundle/{embedder-OEL6PXEH.js → embedder-73CCZC52.js} +7 -7
  81. package/dist/bundle/{first-run-CIXGBXY6.js → first-run-MOSUMMVX.js} +7 -8
  82. package/dist/bundle/first-screen-GUXBF3SL.js +38 -0
  83. package/dist/bundle/{instructions-AMH5RWVJ.js → instructions-4H7UREH2.js} +1 -1
  84. package/dist/bundle/{meeting-combined-DMVGQNJ7.js → meeting-combined-QMIZOBBJ.js} +11 -11
  85. package/dist/bundle/{meeting-model-2THAT7OH.js → meeting-model-2UYVGXD5.js} +9 -9
  86. package/dist/bundle/{meeting-semantic-Q6XYFYUD.js → meeting-semantic-LEJPUIN3.js} +3 -3
  87. package/dist/bundle/{node-EGMCBAO7.js → node-P3PUHKYH.js} +2 -2
  88. package/dist/bundle/{node-sqlite-2SWWGW6H.js → node-sqlite-UHPODTKB.js} +5 -5
  89. package/dist/bundle/{oauth-V5LGTXF2.js → oauth-T3DWL7OV.js} +5 -5
  90. package/dist/bundle/{open-25EKOTZA.js → open-ODWX32PF.js} +3 -3
  91. package/dist/bundle/{openai-VX3OLIHM.js → openai-GSXXHKPX.js} +13 -13
  92. package/dist/bundle/{process-SGHEN6MQ.js → process-AFIXYXWL.js} +1 -1
  93. package/dist/bundle/{program-Z5NUNXME.js → program-SXSUG335.js} +1916 -880
  94. package/dist/bundle/{prompt-2VSPX5S7.js → prompt-GVTYTFK7.js} +3 -3
  95. package/dist/bundle/{recognize-NA5XUFKK.js → recognize-XDSZEZP5.js} +2 -2
  96. package/dist/bundle/{remote-BOME6XOE.js → remote-ZWZKMEY6.js} +7 -7
  97. package/dist/bundle/{rerank-NG3XMFCV.js → rerank-OBZQ54NL.js} +5 -5
  98. package/dist/bundle/{serve-MR67OBED.js → serve-NY5MUTNW.js} +7 -7
  99. package/dist/bundle/{server-OP2HJNXD.js → server-JK334V5Y.js} +47 -48
  100. package/dist/bundle/server-VOPYQCUD.js +79 -0
  101. package/dist/bundle/{sqlite-runtime-V5U6F5EB.js → sqlite-runtime-2NHF4S6G.js} +4 -4
  102. package/dist/bundle/{state-L4MWAATO.js → state-YGWZZWPM.js} +4 -4
  103. package/dist/bundle/{store-CXZFRG5D.js → store-LRQUTFJR.js} +46 -37
  104. package/dist/bundle/{store-2ALTEH55.js → store-ND6KU4RI.js} +16 -16
  105. package/dist/bundle/store-maintenance-command-GLYGQM2V.js +66 -0
  106. package/dist/bundle/surface-P53WLLXP.js +65 -0
  107. package/dist/version.d.ts +1 -1
  108. package/dist/version.js +1 -1
  109. package/package.json +3 -3
  110. package/dist/bundle/agent-GUXXSLT5.js +0 -38
  111. package/dist/bundle/chunk-2JHVQMVC.js +0 -16
  112. package/dist/bundle/chunk-RRTMPSQR.js +0 -29
  113. package/dist/bundle/chunk-SSA6JBPA.js +0 -778
  114. package/dist/bundle/command-contract-KCCW4LNI.js +0 -37
  115. package/dist/bundle/first-screen-5FK4D45F.js +0 -38
  116. package/dist/bundle/server-4BWAGJQO.js +0 -80
  117. package/dist/bundle/store-maintenance-command-LC55DRQA.js +0 -67
  118. package/dist/bundle/surface-3GRJ7473.js +0 -66
@@ -2,14 +2,14 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  stdinFieldOf
5
- } from "./chunk-Q7ICVP25.js";
5
+ } from "./chunk-GZ7WBU5Y.js";
6
6
  import {
7
7
  commandPathOf
8
- } from "./chunk-QSJKSPWF.js";
8
+ } from "./chunk-QBYE26ZC.js";
9
9
  import {
10
10
  commandServerRequest,
11
11
  metaOf
12
- } from "./chunk-M4AC55ZB.js";
12
+ } from "./chunk-J2LSOG3A.js";
13
13
  import {
14
14
  errorObjectOf,
15
15
  renderError
@@ -21,14 +21,14 @@ import {
21
21
  __name
22
22
  } from "./chunk-ZVVMGPBJ.js";
23
23
 
24
- // node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/cli/command-server.js
24
+ // node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/cli/command-server.js
25
25
  import { createInterface } from "node:readline";
26
26
 
27
- // node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/cli/command-server-argv.js
27
+ // node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/cli/command-server-argv.js
28
28
  var COMMAND_SERVER_ARGV = ["commands", "--serve"];
29
29
  var isCommandServer = /* @__PURE__ */ __name((args) => args.length === COMMAND_SERVER_ARGV.length && COMMAND_SERVER_ARGV.every((word, at) => args[at] === word), "isCommandServer");
30
30
 
31
- // node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/cli/command-server.js
31
+ // node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/cli/command-server.js
32
32
  var COMMAND_SERVER_PROTOCOL = 1;
33
33
  var COMMAND_SERVER_IDLE_MS = 10 * 6e4;
34
34
  var COMMAND_SERVER_CONCURRENT = 8;
@@ -2313,6 +2313,7 @@ var systemKeyring = {
2313
2313
  };
2314
2314
 
2315
2315
  // node_modules/.pnpm/@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/credentials.js
2316
+ var keyringService = /* @__PURE__ */ __name((service, _configDir, _isolated) => service, "keyringService");
2316
2317
  var movedRunService = /* @__PURE__ */ __name((service, configDir) => `${service}:${resolve(configDir)}`, "movedRunService");
2317
2318
  var warnedRuns = /* @__PURE__ */ new WeakSet();
2318
2319
  var Credentials = class {
@@ -2766,11 +2767,13 @@ export {
2766
2767
  writeSecurely,
2767
2768
  loadConfigFile,
2768
2769
  saveConfigFile,
2770
+ systemKeyring,
2769
2771
  refuseOwnerHomeInTests,
2770
2772
  resolvePaths,
2771
2773
  pathsAreOverridden,
2772
2774
  isMovedRun,
2773
2775
  configFilePath,
2776
+ keyringService,
2774
2777
  Credentials,
2775
2778
  realSleep,
2776
2779
  wallClock,
@@ -6,16 +6,16 @@ import {
6
6
  agentArguments,
7
7
  agentJson,
8
8
  failureContext
9
- } from "./chunk-MCLQTCGH.js";
9
+ } from "./chunk-G3PK5BZB.js";
10
10
  import {
11
11
  onlineDeps,
12
12
  refuseLacking,
13
13
  servicesFor,
14
14
  storeModeDeps
15
- } from "./chunk-6K4Z6CAM.js";
15
+ } from "./chunk-Z7Y2I5YR.js";
16
16
  import {
17
17
  callerOf
18
- } from "./chunk-EY36BTKZ.js";
18
+ } from "./chunk-WXYOELRI.js";
19
19
  import {
20
20
  DEFAULT_OUTPUT_BYTES,
21
21
  ENTITIES,
@@ -32,26 +32,27 @@ import {
32
32
  refuseStoreChange,
33
33
  sealed,
34
34
  startRecording
35
- } from "./chunk-M4AC55ZB.js";
35
+ } from "./chunk-J2LSOG3A.js";
36
36
  import {
37
37
  currentCaller,
38
38
  keepsSuccess,
39
39
  runContextOf,
40
40
  withCaller
41
- } from "./chunk-SCI7QEHF.js";
41
+ } from "./chunk-5EH7S4RM.js";
42
42
  import {
43
43
  MAX_BUFFERED_INPUT
44
- } from "./chunk-YWDFYQOU.js";
44
+ } from "./chunk-TES7MB6I.js";
45
45
  import {
46
46
  inRun,
47
47
  newRunId
48
- } from "./chunk-AATTOFNY.js";
48
+ } from "./chunk-WRF6TY63.js";
49
49
  import {
50
+ storeBusy,
50
51
  storeDamaged
51
- } from "./chunk-ZZD2YPOX.js";
52
+ } from "./chunk-SKUY7JDA.js";
52
53
  import {
53
54
  traceIdOf
54
- } from "./chunk-5JKTVAXX.js";
55
+ } from "./chunk-UXDUWGX6.js";
55
56
  import {
56
57
  errorObjectOf,
57
58
  itemEnvelopeSchema,
@@ -89,10 +90,10 @@ import {
89
90
  __name
90
91
  } from "./chunk-ZVVMGPBJ.js";
91
92
 
92
- // node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/mcp/surface.js
93
+ // node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/mcp/surface.js
93
94
  import { randomUUID } from "node:crypto";
94
95
 
95
- // node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/mcp/tool.js
96
+ // node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/mcp/tool.js
96
97
  var limit = optional(pipe(number(), integer(), minValue(1), maxValue(100), description("how many")));
97
98
  var page = optional(pipe(number(), integer(), minValue(1), description("which page, from 1")));
98
99
  var message = pipe(
@@ -348,10 +349,10 @@ var answered = /* @__PURE__ */ __name((answer, maxBytes = DEFAULT_OUTPUT_BYTES,
348
349
  var failed = /* @__PURE__ */ __name((error, errors, effects) => {
349
350
  const judged = judgedEffects(effects);
350
351
  const context = { ...failureContext(errors), ...judged ? { effects: judged } : {} };
351
- return mcpErrorResult(JSON.parse(agentJson(errorObjectOf(storeDamaged(error), context))));
352
+ return mcpErrorResult(JSON.parse(agentJson(errorObjectOf(storeBusy(storeDamaged(error)), context))));
352
353
  }, "failed");
353
354
 
354
- // node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/mcp/surface.js
355
+ // node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/mcp/surface.js
355
356
  var MATCHES = 8;
356
357
  var ANSWER = answerSchema();
357
358
  var agentAnswer = /* @__PURE__ */ __name((prefix, writes) => {
@@ -5,7 +5,7 @@ import {
5
5
  installFiles,
6
6
  megabytes,
7
7
  sharedModelsDirectory
8
- } from "./chunk-LM3W7YOM.js";
8
+ } from "./chunk-O3DZDITT.js";
9
9
  import {
10
10
  importFrom
11
11
  } from "./chunk-Y5E2WNWB.js";
@@ -16,12 +16,12 @@ import {
16
16
  __name
17
17
  } from "./chunk-ZVVMGPBJ.js";
18
18
 
19
- // node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/embeddings/embed.js
19
+ // node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/embeddings/embed.js
20
20
  import { readFileSync as readFileSync2 } from "node:fs";
21
21
  import { availableParallelism } from "node:os";
22
22
  import { basename, join as join2 } from "node:path";
23
23
 
24
- // node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/embeddings/onnx-runtime.js
24
+ // node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/embeddings/onnx-runtime.js
25
25
  import { createHash } from "node:crypto";
26
26
  import { copyFileSync, mkdirSync, mkdtempSync, readFileSync, renameSync, rmSync, statSync, writeFileSync } from "node:fs";
27
27
  import { join } from "node:path";
@@ -678,7 +678,7 @@ var Unzip = /* @__PURE__ */ (function() {
678
678
  return Unzip2;
679
679
  })();
680
680
 
681
- // node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/embeddings/onnx-runtime.js
681
+ // node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/embeddings/onnx-runtime.js
682
682
  var ONNX_RUNTIME_VERSION = "1.30.0";
683
683
  var REGISTRY = "https://registry.npmjs.org";
684
684
  var wirecat = /* @__PURE__ */ __name((target, sha256, bytes, library) => ({
@@ -837,7 +837,7 @@ var openSession = /* @__PURE__ */ __name(async (bytes, threads, options = {}) =>
837
837
  return { ort, session: await ort.InferenceSession.create(bytes, options) };
838
838
  }, "openSession");
839
839
 
840
- // node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/embeddings/embed.js
840
+ // node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/embeddings/embed.js
841
841
  var textModelsDirectory = /* @__PURE__ */ __name((env = process.env) => sharedModelsDirectory("text", env), "textModelsDirectory");
842
842
  var placedText = /* @__PURE__ */ __name((model, directory) => model.files.map((file) => [file, join2(directory, model.id, file.name)]), "placedText");
843
843
  var isTextModelInstalled = /* @__PURE__ */ __name((model, directory) => filesPresent(placedText(model, directory)), "isTextModelInstalled");
@@ -2,11 +2,11 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  throughWrapper
5
- } from "./chunk-APARYILG.js";
5
+ } from "./chunk-R2CEA7MK.js";
6
6
  import {
7
7
  environmentOf,
8
8
  readOnlyLockOf
9
- } from "./chunk-M4AC55ZB.js";
9
+ } from "./chunk-J2LSOG3A.js";
10
10
  import {
11
11
  array,
12
12
  boolean,
@@ -24,7 +24,7 @@ import {
24
24
  __name
25
25
  } from "./chunk-ZVVMGPBJ.js";
26
26
 
27
- // node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/background/relay.js
27
+ // node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/background/relay.js
28
28
  import { createHash } from "node:crypto";
29
29
  import { chmodSync, lstatSync, mkdirSync, rmSync } from "node:fs";
30
30
  import { createConnection, createServer } from "node:net";
@@ -245,7 +245,7 @@ var relayCommand = /* @__PURE__ */ __name((path, request, options) => new Promis
245
245
  }, () => finish({ error: stopped() }));
246
246
  }), "relayCommand");
247
247
 
248
- // node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/cli/messenger/serve-relay.js
248
+ // node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/cli/messenger/serve-relay.js
249
249
  var lentConnection = /* @__PURE__ */ __name((connection, watchers) => throughWrapper(connection, {
250
250
  close: /* @__PURE__ */ __name(async () => {
251
251
  }, "close"),
@@ -2,7 +2,7 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  PRAGMAS
5
- } from "./chunk-GGMAIIVE.js";
5
+ } from "./chunk-KYRYD4CR.js";
6
6
  import {
7
7
  CliError
8
8
  } from "./chunk-S6JG4YUH.js";
@@ -10,7 +10,7 @@ import {
10
10
  __name
11
11
  } from "./chunk-ZVVMGPBJ.js";
12
12
 
13
- // node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/store/sqlite-warning.js
13
+ // node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/store/sqlite-warning.js
14
14
  var SQLITE_WARNING = "SQLite is an experimental feature";
15
15
  var quieted = /* @__PURE__ */ new WeakSet();
16
16
  var quietSqliteWarning = /* @__PURE__ */ __name((host = process) => {
@@ -31,7 +31,7 @@ var isSqliteWarning = /* @__PURE__ */ __name((warning, options) => {
31
31
  return name === "ExperimentalWarning" && message.startsWith(SQLITE_WARNING);
32
32
  }, "isSqliteWarning");
33
33
 
34
- // node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/store/open.js
34
+ // node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/store/open.js
35
35
  var openCache = /* @__PURE__ */ __name(async (path) => {
36
36
  const database = await openFile(path);
37
37
  try {
@@ -44,12 +44,12 @@ var openCache = /* @__PURE__ */ __name(async (path) => {
44
44
  }, "openCache");
45
45
  var openFile = /* @__PURE__ */ __name((path) => "Bun" in globalThis ? openUnderBun(path) : openUnderNode(path), "openFile");
46
46
  var openUnderBun = /* @__PURE__ */ __name(async (path) => {
47
- const { openWithBunSqlite } = await import("./bun-sqlite-NBAY7FR2.js");
47
+ const { openWithBunSqlite } = await import("./bun-sqlite-33JTNHCK.js");
48
48
  return await openWithBunSqlite(path);
49
49
  }, "openUnderBun");
50
50
  var openUnderNode = /* @__PURE__ */ __name(async (path) => {
51
51
  quietSqliteWarning();
52
- const { openWithNodeSqlite } = await import("./node-sqlite-2SWWGW6H.js");
52
+ const { openWithNodeSqlite } = await import("./node-sqlite-UHPODTKB.js");
53
53
  return openWithNodeSqlite(path);
54
54
  }, "openUnderNode");
55
55
  var runtime = /* @__PURE__ */ __name(() => {
@@ -10,7 +10,7 @@ import {
10
10
  import {
11
11
  loadConfigFile,
12
12
  saveConfigFile
13
- } from "./chunk-5JKTVAXX.js";
13
+ } from "./chunk-UXDUWGX6.js";
14
14
  import {
15
15
  number,
16
16
  object,
@@ -2,7 +2,7 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  formatMeetingReference
5
- } from "./chunk-RQORQN2V.js";
5
+ } from "./chunk-6V7ZUJI6.js";
6
6
  import {
7
7
  CliError
8
8
  } from "./chunk-S6JG4YUH.js";
@@ -10,7 +10,7 @@ import {
10
10
  __name
11
11
  } from "./chunk-ZVVMGPBJ.js";
12
12
 
13
- // node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/services/meeting-semantic.js
13
+ // node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/services/meeting-semantic.js
14
14
  var positive = /* @__PURE__ */ __name((value, name, max) => {
15
15
  if (!Number.isSafeInteger(value) || value < 1 || value > max)
16
16
  throw new CliError("validation_error", `Invalid ${name}`);
@@ -2,34 +2,34 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  commandAvailability
5
- } from "./chunk-WXQGA6XK.js";
5
+ } from "./chunk-TB3LN5G2.js";
6
6
  import {
7
7
  lentConnection
8
- } from "./chunk-RDVTHFPP.js";
8
+ } from "./chunk-VJHUMB7U.js";
9
9
  import {
10
10
  QUERY_ARGUMENT
11
- } from "./chunk-APARYILG.js";
11
+ } from "./chunk-R2CEA7MK.js";
12
12
  import {
13
13
  authorityAllowed,
14
14
  botApiAllowed,
15
15
  changesMessenger,
16
16
  flatten
17
- } from "./chunk-M4AC55ZB.js";
17
+ } from "./chunk-J2LSOG3A.js";
18
18
  import {
19
19
  currentCaller
20
- } from "./chunk-SCI7QEHF.js";
20
+ } from "./chunk-5EH7S4RM.js";
21
21
  import {
22
22
  enclosingTraceId,
23
23
  inRun,
24
24
  newRunId,
25
25
  traceOf
26
- } from "./chunk-AATTOFNY.js";
26
+ } from "./chunk-WRF6TY63.js";
27
27
  import {
28
28
  queryDescription
29
- } from "./chunk-RQORQN2V.js";
29
+ } from "./chunk-6V7ZUJI6.js";
30
30
  import {
31
31
  captureStreams
32
- } from "./chunk-5JKTVAXX.js";
32
+ } from "./chunk-UXDUWGX6.js";
33
33
  import {
34
34
  COMPACT_FLAG,
35
35
  SNAKE_CASE,
@@ -68,7 +68,7 @@ import {
68
68
  __name
69
69
  } from "./chunk-ZVVMGPBJ.js";
70
70
 
71
- // node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/mcp/agent.js
71
+ // node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/mcp/agent.js
72
72
  import { Readable } from "node:stream";
73
73
 
74
74
  // node_modules/.pnpm/@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/lint.js
@@ -3519,7 +3519,7 @@ var VOCABULARY = defineVocabulary({
3519
3519
  ]
3520
3520
  });
3521
3521
 
3522
- // node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/mcp/agent.js
3522
+ // node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/mcp/agent.js
3523
3523
  var TYPES = new Map(VOCABULARY.flags.map((flag) => [flag.name, flag.type]));
3524
3524
  var snake = /* @__PURE__ */ __name((name) => name.replaceAll("|", "_or_").replace(/[^a-z0-9]+/gi, "_"), "snake");
3525
3525
  var longOf = /* @__PURE__ */ __name((option) => option.flags.match(/--[a-z0-9][a-z0-9-]*/)?.[0], "longOf");