@wirecat/attio-cli 0.1.0 → 0.2.1

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 (159) hide show
  1. package/CHANGELOG.md +20 -0
  2. package/README.md +6 -5
  3. package/contracts/wirecat.json +20 -2
  4. package/dist/bin/attio.js +2 -2
  5. package/dist/bundle/agent-DYTWDBTT.js +37 -0
  6. package/dist/bundle/{all-profiles-C2NMRQPE.js → all-profiles-LZDKPHN2.js} +10 -10
  7. package/dist/bundle/{anthropic-KOU2ILDK.js → anthropic-BF72H77D.js} +5 -5
  8. package/dist/bundle/{app-server-TINV4NNY.js → app-server-H57FZJX5.js} +61 -61
  9. package/dist/bundle/attio.js +11 -11
  10. package/dist/bundle/{bun-GVNM6IWY.js → bun-WO77T4LG.js} +2 -2
  11. package/dist/bundle/{bun-sqlite-IF6B3EQI.js → bun-sqlite-2BP7JDVO.js} +6 -6
  12. package/dist/bundle/{chunk-RCKRXBJF.js → chunk-2E6JGBM5.js} +14 -14
  13. package/dist/bundle/{chunk-VJ4CPL6F.js → chunk-34FJ26K2.js} +2 -2
  14. package/dist/bundle/{chunk-CBPL3GID.js → chunk-3I2FGNWO.js} +1 -1
  15. package/dist/bundle/{chunk-ICUXAOEM.js → chunk-3NVOKVRY.js} +380 -295
  16. package/dist/bundle/{chunk-KD4EUUER.js → chunk-3YFDZSM3.js} +1 -1
  17. package/dist/bundle/{chunk-ZPSH27BB.js → chunk-4SMGM2Q6.js} +4 -4
  18. package/dist/bundle/{chunk-MMGCGPKM.js → chunk-4STBJZR4.js} +26 -26
  19. package/dist/bundle/{chunk-ZMJZQGCN.js → chunk-5K3FGXZH.js} +1 -1
  20. package/dist/bundle/{chunk-IPHUAWFG.js → chunk-6ALPRBNV.js} +3 -3
  21. package/dist/bundle/{chunk-RK4GN2II.js → chunk-6NDJDDSQ.js} +35 -35
  22. package/dist/bundle/{chunk-PWUQC2GI.js → chunk-6SK3YB2B.js} +12 -12
  23. package/dist/bundle/{chunk-ETSOG6TZ.js → chunk-76RRELCU.js} +418 -396
  24. package/dist/bundle/{chunk-HQJ2TABD.js → chunk-7MXCUMHG.js} +1 -1
  25. package/dist/bundle/{chunk-WIYAMDPP.js → chunk-7ZUOI3HY.js} +3 -3
  26. package/dist/bundle/{chunk-VL25A6V2.js → chunk-AFAULIL5.js} +2 -2
  27. package/dist/bundle/{chunk-RRH7UK7L.js → chunk-AMUONYQR.js} +2 -2
  28. package/dist/bundle/{chunk-MCQOXTAL.js → chunk-ASCUOOLO.js} +1 -1
  29. package/dist/bundle/{chunk-5DCRHSBI.js → chunk-BUGROVF3.js} +2 -2
  30. package/dist/bundle/{chunk-QNQ2OF24.js → chunk-CHZ26CW5.js} +56 -56
  31. package/dist/bundle/{chunk-KB3YJJPN.js → chunk-CMO5ND3Y.js} +34 -34
  32. package/dist/bundle/{chunk-WBEZZGZE.js → chunk-DF2IIO32.js} +158 -158
  33. package/dist/bundle/{chunk-HLLRNP2G.js → chunk-DQ6P3R4B.js} +3 -3
  34. package/dist/bundle/{chunk-XHIVZPQ2.js → chunk-DSRXCLPO.js} +1 -1
  35. package/dist/bundle/{chunk-4HQDT5PF.js → chunk-EEPE3SOW.js} +5 -5
  36. package/dist/bundle/{chunk-SBRFKB77.js → chunk-EQGXEKSV.js} +7 -7
  37. package/dist/bundle/{chunk-DW3V7GTY.js → chunk-EQXT7KO4.js} +6 -6
  38. package/dist/bundle/{chunk-MXDIXBIV.js → chunk-ERW2WOJT.js} +1 -1
  39. package/dist/bundle/{chunk-5ETXE5KF.js → chunk-ESH2QGCA.js} +7 -7
  40. package/dist/bundle/{chunk-4EYKJLWI.js → chunk-G3JTLVVL.js} +7 -7
  41. package/dist/bundle/{chunk-JKCXDIGC.js → chunk-G6FQMVKW.js} +3 -3
  42. package/dist/bundle/{chunk-LWUJZ2E3.js → chunk-GBZ6JUXU.js} +2 -2
  43. package/dist/bundle/{chunk-5WAGTWCS.js → chunk-GLHFJPYS.js} +3 -3
  44. package/dist/bundle/{chunk-LB6D4QF2.js → chunk-GW4G5KLS.js} +8 -8
  45. package/dist/bundle/{chunk-V5K3M7FE.js → chunk-H7QDPW3D.js} +1 -1
  46. package/dist/bundle/{chunk-6B5PSQQ7.js → chunk-HG7FT3H3.js} +7 -7
  47. package/dist/bundle/{chunk-6L5EUGLP.js → chunk-I3WS6V5H.js} +8 -8
  48. package/dist/bundle/{chunk-BHNFRL3H.js → chunk-IDU4ESRZ.js} +1 -1
  49. package/dist/bundle/{chunk-OPXCRQTV.js → chunk-IXCIQ7FZ.js} +4 -4
  50. package/dist/bundle/{chunk-MZNRIH3T.js → chunk-J5P5VSRG.js} +8 -8
  51. package/dist/bundle/{chunk-NEFILPPV.js → chunk-JA26HG7T.js} +8 -8
  52. package/dist/bundle/{chunk-V6EVJXLO.js → chunk-JSTBW7F4.js} +6 -6
  53. package/dist/bundle/{chunk-QCEEPJNN.js → chunk-KHDXRFJZ.js} +8 -8
  54. package/dist/bundle/{chunk-2P7ENEQ7.js → chunk-L5WS6CYZ.js} +2 -2
  55. package/dist/bundle/{chunk-MYVWV5L5.js → chunk-LWJ4ZGUM.js} +13 -13
  56. package/dist/bundle/{chunk-PKNFA5TU.js → chunk-MC2RQ2OB.js} +1 -1
  57. package/dist/bundle/{chunk-QG4WCLGB.js → chunk-MNQACPXG.js} +25 -25
  58. package/dist/bundle/{chunk-IGALQ74S.js → chunk-MOSH2KPD.js} +10 -10
  59. package/dist/bundle/{chunk-A7YQTQ5U.js → chunk-MRREDVPY.js} +13 -13
  60. package/dist/bundle/{chunk-7NFEMS4A.js → chunk-MT2ZUZRA.js} +6 -6
  61. package/dist/bundle/{chunk-FJV3MO57.js → chunk-O4A33Y54.js} +2 -2
  62. package/dist/bundle/{chunk-V2R2BJJU.js → chunk-OBXDRUO4.js} +1 -1
  63. package/dist/bundle/{chunk-4XHWGJXT.js → chunk-OFR3YYT6.js} +1 -1
  64. package/dist/bundle/{chunk-4QE4L7UL.js → chunk-PMP37KLR.js} +3 -3
  65. package/dist/bundle/{chunk-JZMGOVCZ.js → chunk-Q3JCUUOR.js} +3 -3
  66. package/dist/bundle/{chunk-IYMWUL6E.js → chunk-Q7BSTQ3T.js} +1 -1
  67. package/dist/bundle/{chunk-DVN54VPI.js → chunk-QLHDUYGE.js} +1 -1
  68. package/dist/bundle/{chunk-2H2MWGBD.js → chunk-RU5J7DWY.js} +9 -9
  69. package/dist/bundle/{chunk-JTOKDROB.js → chunk-S7K2XFQB.js} +6 -6
  70. package/dist/bundle/{chunk-6BVPS2YY.js → chunk-SQHDE3TC.js} +4 -4
  71. package/dist/bundle/{chunk-WRJGITBX.js → chunk-TF7ZGCOK.js} +3 -3
  72. package/dist/bundle/{chunk-SP6DPFZ4.js → chunk-V6BTAILB.js} +61 -61
  73. package/dist/bundle/{chunk-PO6PLQYL.js → chunk-VDMIJ3JW.js} +3 -3
  74. package/dist/bundle/{chunk-YKN4Y35P.js → chunk-VW5F6FK3.js} +4 -4
  75. package/dist/bundle/{chunk-V6ALLFEE.js → chunk-W6F2CQZ6.js} +17 -17
  76. package/dist/bundle/{chunk-S7WJXELM.js → chunk-WARIIYSW.js} +2 -2
  77. package/dist/bundle/{chunk-ARRQVUJ2.js → chunk-WK7GLHHL.js} +5 -5
  78. package/dist/bundle/{chunk-XTQIXZVM.js → chunk-X5S5KUSU.js} +19 -19
  79. package/dist/bundle/{chunk-O6CVJGGL.js → chunk-X6R74TWX.js} +4 -4
  80. package/dist/bundle/{chunk-AEPOHR4Z.js → chunk-XXLQNHKF.js} +2 -2
  81. package/dist/bundle/{chunk-2343HKEW.js → chunk-XXOTX4M3.js} +7 -7
  82. package/dist/bundle/{chunk-TWCVCW5T.js → chunk-ZDBTYBFR.js} +3 -3
  83. package/dist/bundle/{chunk-SWJDLFDM.js → chunk-ZGADZ4CH.js} +14 -14
  84. package/dist/bundle/command-contract-7M6EPH3D.js +37 -0
  85. package/dist/bundle/{command-server-entry-4XR4GDS7.js → command-server-entry-MNVPYQZ3.js} +25 -25
  86. package/dist/bundle/{decode-24EITKP4.js → decode-MQNKNXLK.js} +5 -5
  87. package/dist/bundle/{definitions-HU62PG4L.js → definitions-FODOIPM2.js} +20 -5
  88. package/dist/bundle/{dispatch-VE6CXCJW.js → dispatch-TAQ7635E.js} +8 -8
  89. package/dist/bundle/{dist-ZSNEZYVF.js → dist-EM7KLEG4.js} +1 -1
  90. package/dist/bundle/{echarts-LEVLEF7L.js → echarts-6ZSUNO4L.js} +2 -2
  91. package/dist/bundle/{embed-G6FGY3VZ.js → embed-PHCCJJ5Z.js} +6 -6
  92. package/dist/bundle/{embedder-B6LNMXZZ.js → embedder-WLZZQTKZ.js} +9 -9
  93. package/dist/bundle/{failure-ASVFQXMF.js → failure-MR2XVHFP.js} +2 -2
  94. package/dist/bundle/{first-run-NVXVVALW.js → first-run-64LREHSV.js} +12 -12
  95. package/dist/bundle/first-screen-YSCAZIYJ.js +37 -0
  96. package/dist/bundle/{instructions-F3KPYMJK.js → instructions-22GCKNR5.js} +1 -1
  97. package/dist/bundle/{mcp-BUCB5ZPE.js → mcp-CNV7F2XZ.js} +2 -2
  98. package/dist/bundle/meeting-combined-YX3T5WJD.js +24 -0
  99. package/dist/bundle/{meeting-model-GJPAIUQL.js → meeting-model-JWDTCGLZ.js} +11 -11
  100. package/dist/bundle/{meeting-semantic-YWY645AH.js → meeting-semantic-375GYPZQ.js} +6 -6
  101. package/dist/bundle/{node-WVUZSDLD.js → node-ITDTNRRZ.js} +2 -2
  102. package/dist/bundle/{node-sqlite-V4NNKABG.js → node-sqlite-IRAGRMEZ.js} +7 -7
  103. package/dist/bundle/{oauth-7CENTQIN.js → oauth-CACOQJEL.js} +7 -7
  104. package/dist/bundle/{open-OLTONZBG.js → open-HU4KHKDR.js} +5 -5
  105. package/dist/bundle/{openai-M6ES74YN.js → openai-JQUPAVKX.js} +15 -15
  106. package/dist/bundle/{process-VFIFK5KO.js → process-QS5OHEUK.js} +1 -1
  107. package/dist/bundle/{program-N72VUDXM.js → program-5OTAVU5S.js} +376 -366
  108. package/dist/bundle/{prompt-TNWPBEBB.js → prompt-VA5MKXJU.js} +5 -5
  109. package/dist/bundle/{recognize-PV2WOUWS.js → recognize-JGA5IVKC.js} +4 -4
  110. package/dist/bundle/{remote-3F6JACS5.js → remote-NPY2KZQ4.js} +9 -9
  111. package/dist/bundle/{rerank-33C67PIV.js → rerank-4H2QR4XU.js} +7 -7
  112. package/dist/bundle/{schemas-RLDEALIJ.js → schemas-THAI3G5S.js} +6 -6
  113. package/dist/bundle/{serve-3DEMACSQ.js → serve-UH46SZQG.js} +9 -9
  114. package/dist/bundle/{server-LIBRGMUZ.js → server-6H7JS6SU.js} +53 -53
  115. package/dist/bundle/server-SR52KBL3.js +79 -0
  116. package/dist/bundle/{sqlite-runtime-SMAREHYG.js → sqlite-runtime-EJWEUTBR.js} +6 -6
  117. package/dist/bundle/{state-WPHAVJIU.js → state-34B6AUQZ.js} +6 -6
  118. package/dist/bundle/{store-A7V4FEXE.js → store-3R4ILTCJ.js} +18 -18
  119. package/dist/bundle/{store-PMAPJNXT.js → store-XSE35P3U.js} +20 -20
  120. package/dist/bundle/store-maintenance-command-ABJARLI4.js +66 -0
  121. package/dist/bundle/surface-NOTIEJB5.js +65 -0
  122. package/dist/generated/definitions.d.ts.map +1 -1
  123. package/dist/generated/definitions.js +15 -0
  124. package/dist/generated/definitions.js.map +1 -1
  125. package/dist/generated/schemas.js +5 -5
  126. package/dist/generated/schemas.js.map +1 -1
  127. package/dist/generated/types.d.ts +15 -5
  128. package/dist/generated/types.d.ts.map +1 -1
  129. package/dist/generated/wirecat-config.d.ts.map +1 -1
  130. package/dist/generated/wirecat-config.js +5 -0
  131. package/dist/generated/wirecat-config.js.map +1 -1
  132. package/dist/identity.js +1 -1
  133. package/dist/identity.js.map +1 -1
  134. package/dist/version.d.ts +1 -1
  135. package/dist/version.js +1 -1
  136. package/package.json +3 -3
  137. package/dist/bundle/agent-KLBL3FYD.js +0 -37
  138. package/dist/bundle/command-contract-3FR7BK72.js +0 -37
  139. package/dist/bundle/first-screen-N3IPK5AT.js +0 -37
  140. package/dist/bundle/meeting-combined-7FREWXMB.js +0 -24
  141. package/dist/bundle/server-AAK2HWQM.js +0 -79
  142. package/dist/bundle/store-maintenance-command-QHRHAEYN.js +0 -66
  143. package/dist/bundle/surface-MN4RTNYW.js +0 -65
  144. package/dist/commands/comments.d.ts +0 -3
  145. package/dist/commands/comments.d.ts.map +0 -1
  146. package/dist/commands/comments.js +0 -114
  147. package/dist/commands/comments.js.map +0 -1
  148. package/dist/sample/comments.d.ts +0 -61
  149. package/dist/sample/comments.d.ts.map +0 -1
  150. package/dist/sample/comments.js +0 -39
  151. package/dist/sample/comments.js.map +0 -1
  152. package/dist/sample/records.d.ts +0 -16
  153. package/dist/sample/records.d.ts.map +0 -1
  154. package/dist/sample/records.js +0 -22
  155. package/dist/sample/records.js.map +0 -1
  156. package/dist/sample/transport.d.ts +0 -42
  157. package/dist/sample/transport.d.ts.map +0 -1
  158. package/dist/sample/transport.js +0 -153
  159. package/dist/sample/transport.js.map +0 -1
@@ -2,31 +2,31 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  updateCommand
5
- } from "./chunk-4QE4L7UL.js";
5
+ } from "./chunk-PMP37KLR.js";
6
6
  import {
7
7
  QUESTIONS,
8
8
  readSetupAnswers,
9
9
  unanswered,
10
10
  writeSetupAnswers
11
- } from "./chunk-JKCXDIGC.js";
11
+ } from "./chunk-G6FQMVKW.js";
12
12
  import {
13
13
  DEFAULT_STEMMERS,
14
14
  LANGUAGES
15
- } from "./chunk-LB6D4QF2.js";
15
+ } from "./chunk-GW4G5KLS.js";
16
16
  import {
17
17
  sharedConfigPath
18
- } from "./chunk-SBRFKB77.js";
18
+ } from "./chunk-EQGXEKSV.js";
19
19
  import {
20
20
  installerOf
21
- } from "./chunk-CBPL3GID.js";
21
+ } from "./chunk-3I2FGNWO.js";
22
22
  import {
23
23
  storePath
24
- } from "./chunk-VJ4CPL6F.js";
24
+ } from "./chunk-34FJ26K2.js";
25
25
  import {
26
26
  __name
27
27
  } from "./chunk-ZVVMGPBJ.js";
28
28
 
29
- // node_modules/.pnpm/@wirecat+cli-core@0.700.0_@wirecat+cli-base@0.118.0_commander@15.0.0_esbuild@0.28.2_typ_365b7216b918b4ff8396dc0e09311081/node_modules/@wirecat/cli-core/dist/cli/first-run.js
29
+ // node_modules/.pnpm/@wirecat+cli-core@0.703.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_5630bd43f49d4f78ecc9c491970e88a0/node_modules/@wirecat/cli-core/dist/cli/first-run.js
30
30
  import { spawnSync } from "node:child_process";
31
31
  import { accessSync, constants, realpathSync } from "node:fs";
32
32
  import { delimiter, join } from "node:path";
@@ -84,7 +84,7 @@ var suggested = /* @__PURE__ */ __name((env, contentLanguages) => {
84
84
  return (own.length ? own : LANGUAGES.filter(({ code }) => code === "en" || code === system)).map(({ name }) => name);
85
85
  }, "suggested");
86
86
  var askLanguages = /* @__PURE__ */ __name(async ({ command, env, io, contentLanguages }) => {
87
- const { openStore } = await import("./store-A7V4FEXE.js");
87
+ const { openStore } = await import("./store-3R4ILTCJ.js");
88
88
  const store = await openStore({ env });
89
89
  let rebuild = false;
90
90
  try {
@@ -113,8 +113,8 @@ var askLanguages = /* @__PURE__ */ __name(async ({ command, env, io, contentLang
113
113
  if (!rebuild)
114
114
  return;
115
115
  const [{ openCache }, { buildStems }] = await Promise.all([
116
- import("./open-OLTONZBG.js"),
117
- import("./store-maintenance-command-QHRHAEYN.js")
116
+ import("./open-HU4KHKDR.js"),
117
+ import("./store-maintenance-command-ABJARLI4.js")
118
118
  ]);
119
119
  const database = await openCache(storePath(env));
120
120
  try {
@@ -126,7 +126,7 @@ var askLanguages = /* @__PURE__ */ __name(async ({ command, env, io, contentLang
126
126
  var askTools = /* @__PURE__ */ __name(async (run) => {
127
127
  const { command, env, io } = run;
128
128
  const installed = run.installed ?? ((name) => onPath(name, env));
129
- const { WIRECAT_TOOLS } = await import("./first-screen-N3IPK5AT.js");
129
+ const { WIRECAT_TOOLS } = await import("./first-screen-YSCAZIYJ.js");
130
130
  const others = WIRECAT_TOOLS.filter((tool) => tool.command !== command);
131
131
  const missing = others.filter((tool) => !installed(tool.command));
132
132
  io.say("Other WireCat tools \u2014 they share this store, so one search finds everything:");
@@ -200,7 +200,7 @@ var setupAtStart = /* @__PURE__ */ __name(async (start) => {
200
200
  // `setup describe` and `setup apply` are a program's; only the bare walk-through asks everything again.
201
201
  all: start.path.length === 1 && start.path[0] === "setup",
202
202
  io: {
203
- ask: /* @__PURE__ */ __name(async (prompt) => (await import("./prompt-TNWPBEBB.js")).readSecret(prompt, { input, echo: true }), "ask"),
203
+ ask: /* @__PURE__ */ __name(async (prompt) => (await import("./prompt-VA5MKXJU.js")).readSecret(prompt, { input, echo: true }), "ask"),
204
204
  say: /* @__PURE__ */ __name((text) => process.stderr.write(`${text}
205
205
  `), "say")
206
206
  }