@wirecat/attio-cli 0.4.1 → 0.5.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/CHANGELOG.md +14 -0
- package/dist/bin/attio.js +2 -2
- package/dist/bundle/agent-EIWQ37E3.js +37 -0
- package/dist/bundle/{all-profiles-KCZGH7JK.js → all-profiles-ZM2ULOTA.js} +6 -6
- package/dist/bundle/{anthropic-4HCGQIHA.js → anthropic-CIJQLJ7U.js} +2 -2
- package/dist/bundle/{app-server-VSYG36ER.js → app-server-56GKE6BE.js} +53 -53
- package/dist/bundle/attio.js +2 -2
- package/dist/bundle/{bun-CZK3ZADI.js → bun-3D6UYEKL.js} +2 -2
- package/dist/bundle/{bun-sqlite-CM5FSNH3.js → bun-sqlite-TWXFZF7R.js} +3 -3
- package/dist/bundle/{chunk-32BIODCI.js → chunk-33HYI76J.js} +2 -2
- package/dist/bundle/{chunk-YFAATLLR.js → chunk-46U5WHCF.js} +7 -7
- package/dist/bundle/{chunk-YC3F3RCL.js → chunk-4KLCWI57.js} +2 -2
- package/dist/bundle/{chunk-A3Y5GPG3.js → chunk-4V6ARVEH.js} +152 -151
- package/dist/bundle/{chunk-JLFXUXSQ.js → chunk-6C6RHNUB.js} +4 -4
- package/dist/bundle/{chunk-ISNUT525.js → chunk-6ITXXXQN.js} +2 -2
- package/dist/bundle/{chunk-XUU3NNAO.js → chunk-6ZEG7MR3.js} +1 -1
- package/dist/bundle/{chunk-WPOOZGQ7.js → chunk-7JUZNTYO.js} +9 -9
- package/dist/bundle/{chunk-MWFJX3K6.js → chunk-7PXDDBH7.js} +1 -1
- package/dist/bundle/{chunk-5ZNVTVDU.js → chunk-AXJNIMPZ.js} +1 -1
- package/dist/bundle/{chunk-KYAJ5AVG.js → chunk-BMDM6I5G.js} +4 -4
- package/dist/bundle/{chunk-MSASR6MQ.js → chunk-CQZREDFS.js} +3 -3
- package/dist/bundle/{chunk-RGFBK5DJ.js → chunk-CRK3LRCL.js} +10 -10
- package/dist/bundle/{chunk-EAWMBNAO.js → chunk-CVHEO4HS.js} +882 -541
- package/dist/bundle/{chunk-6WVUBU7T.js → chunk-DBAZ5TBW.js} +5 -5
- package/dist/bundle/{chunk-DJCGJRAD.js → chunk-DYLNV6GY.js} +11 -11
- package/dist/bundle/{chunk-HTQ5HUXV.js → chunk-EPLC6LQP.js} +51 -51
- package/dist/bundle/{chunk-AV7762PN.js → chunk-EPWOY5UJ.js} +1 -1
- package/dist/bundle/{chunk-EGZ6N56Z.js → chunk-EXWFB2XY.js} +1 -1
- package/dist/bundle/{chunk-Y4AOEDGO.js → chunk-GSA2HYGF.js} +6 -6
- package/dist/bundle/{chunk-4E4IGABE.js → chunk-HMORLIGS.js} +1 -1
- package/dist/bundle/{chunk-OKK2CBVW.js → chunk-HNH7EVWO.js} +12 -12
- package/dist/bundle/{chunk-PTTSHIYR.js → chunk-HTTGJI6G.js} +23 -23
- package/dist/bundle/{chunk-23POG3B3.js → chunk-HU6HKKIH.js} +2 -2
- package/dist/bundle/{chunk-ZOVX5VVZ.js → chunk-HXHQBYLN.js} +1 -1
- package/dist/bundle/{chunk-TU4U3YEM.js → chunk-JQ5NTPT5.js} +1 -1
- package/dist/bundle/{chunk-CYF6ECG7.js → chunk-K45K3AJU.js} +1 -1
- package/dist/bundle/{chunk-WHA23FJC.js → chunk-KNJ5W5ZZ.js} +30 -23
- package/dist/bundle/{chunk-FNIYIYDK.js → chunk-KYGX7XUZ.js} +16 -16
- package/dist/bundle/{chunk-CSKKZTWI.js → chunk-LTMLSN6W.js} +11 -11
- package/dist/bundle/{chunk-7XSJ6LTE.js → chunk-M7UG4UBJ.js} +2 -2
- package/dist/bundle/{chunk-52GTOWNB.js → chunk-MH55F2Z2.js} +5 -5
- package/dist/bundle/{chunk-YBCGG6JY.js → chunk-MOTQBDFB.js} +2 -2
- package/dist/bundle/{chunk-N64IK3XS.js → chunk-MVSBV6U7.js} +1 -1
- package/dist/bundle/{chunk-C4DJ4OTP.js → chunk-NJSWOZED.js} +6 -6
- package/dist/bundle/{chunk-AJT4BERP.js → chunk-O3GNIUUI.js} +2 -2
- package/dist/bundle/{chunk-X3PQFXYL.js → chunk-OE3J3P24.js} +2 -2
- package/dist/bundle/{chunk-LTGWE5L6.js → chunk-OI4WM2AM.js} +1 -1
- package/dist/bundle/{chunk-5WZBGDPL.js → chunk-OJ7P7IK5.js} +6 -6
- package/dist/bundle/{chunk-55CDR7VJ.js → chunk-ORMKVY7L.js} +54 -54
- package/dist/bundle/{chunk-WF7TKMZ7.js → chunk-Q5VVEFXR.js} +7 -7
- package/dist/bundle/{chunk-UMJ7OKJD.js → chunk-QA5WIEW5.js} +5 -5
- package/dist/bundle/{chunk-JAUTKJYJ.js → chunk-QD7INIE3.js} +1 -1
- package/dist/bundle/{chunk-NMKAEONQ.js → chunk-QDU4MLUN.js} +5 -5
- package/dist/bundle/{chunk-4BQDHDZA.js → chunk-QWBCCZNQ.js} +2 -2
- package/dist/bundle/{chunk-KK3IESFZ.js → chunk-R5TIPW5A.js} +9 -9
- package/dist/bundle/{chunk-MOUF6JHB.js → chunk-SQOHCWB2.js} +1 -1
- package/dist/bundle/{chunk-2ILCSLXY.js → chunk-T4SPEBOI.js} +7 -7
- package/dist/bundle/{chunk-EO3X3QWY.js → chunk-TBRD6I2W.js} +2 -2
- package/dist/bundle/{chunk-ZGFRTWSW.js → chunk-U6W3NW74.js} +32 -32
- package/dist/bundle/{chunk-UZW73WTM.js → chunk-V6GEPZWY.js} +32 -32
- package/dist/bundle/{chunk-RMOSNURU.js → chunk-VE6L6TDH.js} +2 -2
- package/dist/bundle/{chunk-2SVDLRLQ.js → chunk-VTAZ4LL7.js} +12 -12
- package/dist/bundle/{chunk-CYAWDFBI.js → chunk-WQKMBZRF.js} +4 -4
- package/dist/bundle/{chunk-5R255HLF.js → chunk-WZAQ7U2F.js} +1 -1
- package/dist/bundle/{chunk-U3Y2AC2K.js → chunk-X5TBQOYI.js} +2 -2
- package/dist/bundle/{chunk-TSL3PZAZ.js → chunk-XBMJAFXC.js} +1 -1
- package/dist/bundle/{chunk-NIV4S25C.js → chunk-XJ7LTHXM.js} +421 -351
- package/dist/bundle/{chunk-PO6DVZUY.js → chunk-Y7SRFHYL.js} +2 -2
- package/dist/bundle/{chunk-SQMN3CME.js → chunk-YITSNC3D.js} +3 -3
- package/dist/bundle/{chunk-XSHMRXOW.js → chunk-YSA36HJM.js} +1 -1
- package/dist/bundle/{chunk-4LEB7SUS.js → chunk-ZLCTHTOK.js} +1 -1
- package/dist/bundle/{chunk-YGPZCVBI.js → chunk-ZNQ3NNAB.js} +5 -5
- package/dist/bundle/{command-contract-JZGX4E3W.js → command-contract-SLVMJ557.js} +15 -15
- package/dist/bundle/{command-server-entry-FOFPJGYW.js → command-server-entry-MIZABAB2.js} +21 -21
- package/dist/bundle/{decode-2W6JJN3B.js → decode-3K7AMIIK.js} +2 -2
- package/dist/bundle/{echarts-R4BLGOSP.js → echarts-HQ3M6PY5.js} +2 -2
- package/dist/bundle/{embed-DIFO7RH4.js → embed-MYNNE2KU.js} +3 -3
- package/dist/bundle/{embedder-S5FKW4XZ.js → embedder-MZM52STR.js} +6 -6
- package/dist/bundle/{first-run-RNGP4IWU.js → first-run-FNH4L2MF.js} +6 -6
- package/dist/bundle/first-screen-TJE6JEAN.js +37 -0
- package/dist/bundle/{instructions-F22KNH4O.js → instructions-JCYBL6AU.js} +1 -1
- package/dist/bundle/{meeting-combined-HX3LC5FD.js → meeting-combined-FIPUL6DF.js} +10 -10
- package/dist/bundle/{meeting-model-P34GVZRK.js → meeting-model-36UKUPUK.js} +8 -8
- package/dist/bundle/{meeting-semantic-RC25X3UB.js → meeting-semantic-NX6AQT6U.js} +2 -2
- package/dist/bundle/{node-SF2NI2UT.js → node-US26HP3Q.js} +2 -2
- package/dist/bundle/{node-sqlite-WH3MF6PF.js → node-sqlite-7SJYGLZB.js} +4 -4
- package/dist/bundle/{oauth-EWHT3YJ4.js → oauth-GMDEZTLF.js} +4 -4
- package/dist/bundle/{open-LHEJSQCI.js → open-WJINQYGM.js} +2 -2
- package/dist/bundle/{openai-DDXBF7KV.js → openai-DNLCKN6O.js} +12 -12
- package/dist/bundle/{process-TEQQZ3C5.js → process-2TFFZAX6.js} +1 -1
- package/dist/bundle/{program-OFL6GNQV.js → program-Y3GX3KE4.js} +479 -368
- package/dist/bundle/{prompt-6OEYPNAI.js → prompt-OEPGHWMQ.js} +2 -2
- package/dist/bundle/{recognize-5CRXQMAQ.js → recognize-7C4PENI6.js} +1 -1
- package/dist/bundle/{remote-UZUYKGYQ.js → remote-HNRRZA6M.js} +6 -6
- package/dist/bundle/{rerank-IQ6GPSJ6.js → rerank-JNDOOOIZ.js} +4 -4
- package/dist/bundle/{serve-63YMTENV.js → serve-ATTJW7LZ.js} +6 -6
- package/dist/bundle/server-IMVPAMM6.js +79 -0
- package/dist/bundle/{server-WQUM4JX4.js → server-OHKISLVN.js} +45 -45
- package/dist/bundle/{sqlite-runtime-UO32UZHC.js → sqlite-runtime-TEZ56D53.js} +3 -3
- package/dist/bundle/{state-XSRJFYSU.js → state-SMWKWKIB.js} +3 -3
- package/dist/bundle/{store-A2J7I2NU.js → store-6SKOO4IN.js} +14 -14
- package/dist/bundle/{store-QB5FEGT4.js → store-YCWZZ3LG.js} +16 -16
- package/dist/bundle/store-maintenance-command-I5BNK4RE.js +66 -0
- package/dist/bundle/surface-NXFOGLLG.js +65 -0
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +2 -2
- package/skills/attio-cli/SKILL.md +1 -1
- package/dist/bundle/agent-63P427ER.js +0 -37
- package/dist/bundle/first-screen-K6YMX3G5.js +0 -37
- package/dist/bundle/server-LKXXSTXK.js +0 -79
- package/dist/bundle/store-maintenance-command-TOLBEUMR.js +0 -66
- package/dist/bundle/surface-NURI2TAG.js +0 -65
|
@@ -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-
|
|
5
|
+
} from "./chunk-HNH7EVWO.js";
|
|
6
6
|
import {
|
|
7
7
|
environmentOf,
|
|
8
8
|
readOnlyLockOf
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-4V6ARVEH.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@0.
|
|
27
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.744.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_2f0d3b329244c2cf3a4ca36fb50fc9e0/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@0.
|
|
248
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.744.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_2f0d3b329244c2cf3a4ca36fb50fc9e0/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"),
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
MAX_SECRET_INPUT,
|
|
5
5
|
bufferedInput,
|
|
6
6
|
inputPolicy
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-QD7INIE3.js";
|
|
8
8
|
import {
|
|
9
9
|
CliError
|
|
10
10
|
} from "./chunk-TSHMRHL6.js";
|
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
__name
|
|
13
13
|
} from "./chunk-ZVVMGPBJ.js";
|
|
14
14
|
|
|
15
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
15
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.744.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_2f0d3b329244c2cf3a4ca36fb50fc9e0/node_modules/@wirecat/cli-core/dist/terminal/prompt.js
|
|
16
16
|
import { createInterface } from "node:readline";
|
|
17
17
|
import { Writable } from "node:stream";
|
|
18
18
|
var EMPTY_TRIES = 3;
|
|
@@ -2,17 +2,17 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
validateVector
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-VE6L6TDH.js";
|
|
6
6
|
import {
|
|
7
7
|
meaningFloor
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-BMDM6I5G.js";
|
|
9
9
|
import {
|
|
10
10
|
MESSAGE_PARSING,
|
|
11
11
|
RRF_K
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-NJSWOZED.js";
|
|
13
13
|
import {
|
|
14
14
|
normalize
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-JQ5NTPT5.js";
|
|
16
16
|
import {
|
|
17
17
|
formatMeetingReference,
|
|
18
18
|
implicitTextTerms,
|
|
@@ -21,7 +21,7 @@ import {
|
|
|
21
21
|
parseMeetingReference,
|
|
22
22
|
refreshMeetingIndex,
|
|
23
23
|
walkQuery
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-EPLC6LQP.js";
|
|
25
25
|
import {
|
|
26
26
|
CliError
|
|
27
27
|
} from "./chunk-TSHMRHL6.js";
|
|
@@ -29,10 +29,10 @@ import {
|
|
|
29
29
|
__name
|
|
30
30
|
} from "./chunk-ZVVMGPBJ.js";
|
|
31
31
|
|
|
32
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
32
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.744.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_2f0d3b329244c2cf3a4ca36fb50fc9e0/node_modules/@wirecat/cli-core/dist/services/meeting-combined.js
|
|
33
33
|
import { createHash } from "node:crypto";
|
|
34
34
|
|
|
35
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
35
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.744.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_2f0d3b329244c2cf3a4ca36fb50fc9e0/node_modules/@wirecat/cli-core/dist/search/question-plan.js
|
|
36
36
|
var words = /* @__PURE__ */ __name((text) => normalize(text).match(/[\p{L}\p{N}]+/gu) ?? [], "words");
|
|
37
37
|
var joinedHyphens = /* @__PURE__ */ __name((text) => (normalize(text).match(new RegExp("(?<![:\\p{L}\\p{N}-])\\p{L}[\\p{L}\\p{N}]*(?:-\\p{L}[\\p{L}\\p{N}]*)+", "gu")) ?? []).map((word) => word.replaceAll("-", "")), "joinedHyphens");
|
|
38
38
|
var scaffolding = new Set(words("what which how many much who where when is are was were do does did can could should we the a an for of to under from in on at has have \u0441\u043A\u043E\u043B\u044C\u043A\u043E \u043A\u0430\u043A\u043E\u0439 \u043A\u0430\u043A\u0430\u044F \u043A\u0430\u043A\u0438\u0435 \u043A\u0430\u043A\u043E\u0435 \u043A\u0442\u043E \u043A\u043E\u043C\u0443 \u043A\u0435\u043C \u0433\u0434\u0435 \u043A\u043E\u0433\u0434\u0430 \u043A\u0430\u043A \u0447\u0442\u043E \u0432\u043E \u043F\u043E \u043D\u0430 \u0432 \u043A \u0441 \u0443 \u0447\u0435\u0440\u0435\u0437 \u043B\u0438 \u0434\u043E\u043B\u0436\u0435\u043D \u0434\u043E\u043B\u0436\u043D\u0430 \u043D\u0443\u0436\u043D\u043E \u0438\u0434\u0451\u0442 \u0438\u0434\u0435\u0442 \u043C\u043E\u0436\u043D\u043E \u043C\u043E\u0436\u0435\u0442 \u043C\u043E\u0433\u0443\u0442"));
|
|
@@ -169,7 +169,7 @@ var questionLookup = /* @__PURE__ */ __name((text) => {
|
|
|
169
169
|
return terms.length ? anyOfTerms(terms, plan.scope) : void 0;
|
|
170
170
|
}, "questionLookup");
|
|
171
171
|
|
|
172
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
172
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.744.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_2f0d3b329244c2cf3a4ca36fb50fc9e0/node_modules/@wirecat/cli-core/dist/services/meeting-hit-search.js
|
|
173
173
|
var resolveMeetingSelection = /* @__PURE__ */ __name(async (store, request) => {
|
|
174
174
|
const { project, tag, topic, ...input } = request;
|
|
175
175
|
input.signal?.throwIfAborted();
|
|
@@ -207,7 +207,7 @@ var resolveMeetingSelection = /* @__PURE__ */ __name(async (store, request) => {
|
|
|
207
207
|
return { input, selection };
|
|
208
208
|
}, "resolveMeetingSelection");
|
|
209
209
|
|
|
210
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
210
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.744.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_2f0d3b329244c2cf3a4ca36fb50fc9e0/node_modules/@wirecat/cli-core/dist/services/meeting-combined.js
|
|
211
211
|
var DEPTH = 200;
|
|
212
212
|
var cursorOf = /* @__PURE__ */ __name((value, key) => {
|
|
213
213
|
if (value === void 0)
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
__name
|
|
5
5
|
} from "./chunk-ZVVMGPBJ.js";
|
|
6
6
|
|
|
7
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.744.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_2f0d3b329244c2cf3a4ca36fb50fc9e0/node_modules/@wirecat/cli-core/dist/cli/stdin-field.js
|
|
8
8
|
var fields = /* @__PURE__ */ new WeakMap();
|
|
9
9
|
var readsStdin = /* @__PURE__ */ __name((command, field) => {
|
|
10
10
|
fields.set(command, field);
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
__name
|
|
5
5
|
} from "./chunk-ZVVMGPBJ.js";
|
|
6
6
|
|
|
7
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.744.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_2f0d3b329244c2cf3a4ca36fb50fc9e0/node_modules/@wirecat/cli-core/dist/store/sqlite/drizzle/shared-5XR7K42U.js
|
|
8
8
|
var entityKind = /* @__PURE__ */ Symbol.for("drizzle:entityKind");
|
|
9
9
|
var kindsByConstructor = /* @__PURE__ */ new WeakMap();
|
|
10
10
|
function collectKinds(ctor) {
|
|
@@ -4,14 +4,14 @@ import {
|
|
|
4
4
|
readSharedSection,
|
|
5
5
|
sharedConfigPath,
|
|
6
6
|
writeSharedSection
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-DBAZ5TBW.js";
|
|
8
8
|
import {
|
|
9
9
|
filesPresent,
|
|
10
10
|
sharedModelsDirectory
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-CQZREDFS.js";
|
|
12
12
|
import {
|
|
13
13
|
storePath
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-EXWFB2XY.js";
|
|
15
15
|
import {
|
|
16
16
|
array,
|
|
17
17
|
check,
|
|
@@ -40,7 +40,7 @@ import {
|
|
|
40
40
|
__name
|
|
41
41
|
} from "./chunk-ZVVMGPBJ.js";
|
|
42
42
|
|
|
43
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
43
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.744.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_2f0d3b329244c2cf3a4ca36fb50fc9e0/node_modules/@wirecat/cli-core/dist/embeddings/models.js
|
|
44
44
|
import { existsSync } from "node:fs";
|
|
45
45
|
import { join } from "node:path";
|
|
46
46
|
var huggingFace = /* @__PURE__ */ __name((repository, commit) => (name) => `https://huggingface.co/${repository}/resolve/${commit}/${name}`, "huggingFace");
|
|
@@ -2,7 +2,7 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
wirecatDirectory
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-EXWFB2XY.js";
|
|
6
6
|
import {
|
|
7
7
|
CliError
|
|
8
8
|
} from "./chunk-TSHMRHL6.js";
|
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
__name
|
|
11
11
|
} from "./chunk-ZVVMGPBJ.js";
|
|
12
12
|
|
|
13
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
13
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.744.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_2f0d3b329244c2cf3a4ca36fb50fc9e0/node_modules/@wirecat/cli-core/dist/speech/models.js
|
|
14
14
|
var huggingFace = /* @__PURE__ */ __name((repository, commit) => (name) => `https://huggingface.co/csukuangfj/${repository}/resolve/${commit}/${name}`, "huggingFace");
|
|
15
15
|
var gigaam = huggingFace("sherpa-onnx-nemo-transducer-punct-giga-am-v3-russian-2025-12-16", "a6039be7cee829a9044a69ac0ebaf1c191217c97");
|
|
16
16
|
var gigaamCtc = huggingFace("sherpa-onnx-nemo-ctc-punct-giga-am-v3-russian-2025-12-16", "4fb5407ff028a69fec516cdf4c10fac9ddea7c16");
|
|
@@ -137,7 +137,7 @@ var speechModel = /* @__PURE__ */ __name((id) => {
|
|
|
137
137
|
return model;
|
|
138
138
|
}, "speechModel");
|
|
139
139
|
|
|
140
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
140
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.744.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_2f0d3b329244c2cf3a4ca36fb50fc9e0/node_modules/@wirecat/cli-core/dist/speech/install.js
|
|
141
141
|
import { createHash, randomUUID } from "node:crypto";
|
|
142
142
|
import { createReadStream, createWriteStream, mkdirSync, statSync } from "node:fs";
|
|
143
143
|
import { rename, rm } from "node:fs/promises";
|
|
@@ -8,25 +8,25 @@ import {
|
|
|
8
8
|
readSetupAnswers,
|
|
9
9
|
unanswered,
|
|
10
10
|
writeSetupAnswers
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-MOTQBDFB.js";
|
|
12
12
|
import {
|
|
13
13
|
DEFAULT_STEMMERS,
|
|
14
14
|
LANGUAGES
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-T4SPEBOI.js";
|
|
16
16
|
import {
|
|
17
17
|
sharedConfigPath
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-DBAZ5TBW.js";
|
|
19
19
|
import {
|
|
20
20
|
installerOf
|
|
21
21
|
} from "./chunk-K34B37AP.js";
|
|
22
22
|
import {
|
|
23
23
|
storePath
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-EXWFB2XY.js";
|
|
25
25
|
import {
|
|
26
26
|
__name
|
|
27
27
|
} from "./chunk-ZVVMGPBJ.js";
|
|
28
28
|
|
|
29
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
29
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.744.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_2f0d3b329244c2cf3a4ca36fb50fc9e0/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-
|
|
87
|
+
const { openStore } = await import("./store-6SKOO4IN.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-
|
|
117
|
-
import("./store-maintenance-command-
|
|
116
|
+
import("./open-WJINQYGM.js"),
|
|
117
|
+
import("./store-maintenance-command-I5BNK4RE.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-
|
|
129
|
+
const { WIRECAT_TOOLS } = await import("./first-screen-TJE6JEAN.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-
|
|
203
|
+
ask: /* @__PURE__ */ __name(async (prompt) => (await import("./prompt-OEPGHWMQ.js")).readSecret(prompt, { input, echo: true }), "ask"),
|
|
204
204
|
say: /* @__PURE__ */ __name((text) => process.stderr.write(`${text}
|
|
205
205
|
`), "say")
|
|
206
206
|
}
|