@wirecat/cli-memo 0.131.42 → 0.131.43
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/dist/bin/memo.js +2 -2
- package/dist/bundle/{all-profiles-ZBEW2K6Y.js → all-profiles-NL4TH4VM.js} +5 -5
- package/dist/bundle/{anthropic-2OBFMS2B.js → anthropic-JTVP4FKR.js} +3 -3
- package/dist/bundle/{app-server-2BPUD7XU.js → app-server-FF6PISNB.js} +35 -35
- package/dist/bundle/auto-KUNM4M5S.js +86 -0
- package/dist/bundle/{bun-4NGTZRHL.js → bun-OTDLXIRE.js} +2 -2
- package/dist/bundle/{bun-sqlite-INSVTXFN.js → bun-sqlite-HXOV4SGX.js} +2 -2
- package/dist/bundle/{chunk-CZ2CX43P.js → chunk-2A42QHPZ.js} +4 -4
- package/dist/bundle/{chunk-6BW7SC6A.js → chunk-2LHLMF3R.js} +1 -1
- package/dist/bundle/{chunk-ELPCHMDA.js → chunk-3Z4BMSVX.js} +3 -3
- package/dist/bundle/{chunk-YLJWCB6F.js → chunk-5HCWKNSM.js} +43 -43
- package/dist/bundle/{chunk-IAML53OZ.js → chunk-5MP7XPIP.js} +2 -2
- package/dist/bundle/{chunk-GHLLCV4E.js → chunk-6WDOIKM6.js} +7 -7
- package/dist/bundle/{chunk-OJX6GNQY.js → chunk-AH7TKAUY.js} +20 -20
- package/dist/bundle/{chunk-O4I3BJPM.js → chunk-BGNGOAG6.js} +6 -6
- package/dist/bundle/{chunk-PRL227K7.js → chunk-BIVHDUAX.js} +5 -5
- package/dist/bundle/{chunk-OAIRZNL2.js → chunk-C67763MQ.js} +1 -1
- package/dist/bundle/{chunk-TCNOZZPS.js → chunk-CIN7A3OM.js} +11 -11
- package/dist/bundle/{chunk-CKLLVPTR.js → chunk-DTODXX7Y.js} +1 -1
- package/dist/bundle/{chunk-UX34ZUMK.js → chunk-DYX5ATS5.js} +3 -3
- package/dist/bundle/{chunk-NCBHNEWW.js → chunk-ELAZVPZT.js} +1 -1
- package/dist/bundle/{chunk-WSPCOSYD.js → chunk-FJVQDWVV.js} +4 -4
- package/dist/bundle/{chunk-JWQWLMFP.js → chunk-G7QBCTF6.js} +333 -293
- package/dist/bundle/{chunk-OYHQYCGJ.js → chunk-GCTZK5QV.js} +4 -4
- package/dist/bundle/{chunk-RV4EBFH2.js → chunk-GPT5MFYG.js} +9 -9
- package/dist/bundle/{chunk-KKXXP5RY.js → chunk-IJC57CPU.js} +7 -7
- package/dist/bundle/{chunk-EKFHAT36.js → chunk-IRHRNK2E.js} +1 -1
- package/dist/bundle/{chunk-E3P7PIR3.js → chunk-J3V25QFZ.js} +3 -3
- package/dist/bundle/{chunk-4OYYJSRS.js → chunk-K44PG5V3.js} +31 -31
- package/dist/bundle/{chunk-KHEFBWLH.js → chunk-L5NN6UER.js} +1 -1
- package/dist/bundle/{chunk-QWZUMUA7.js → chunk-LAMKU426.js} +5 -5
- package/dist/bundle/{chunk-QWNEZWGZ.js → chunk-LDQYIKJH.js} +4 -4
- package/dist/bundle/{chunk-WFA2ZLJB.js → chunk-LGQZNRNK.js} +149 -149
- package/dist/bundle/{chunk-UCLNEOQS.js → chunk-LSGFFIMA.js} +12 -12
- package/dist/bundle/{chunk-T4NH7JI6.js → chunk-LUHQEQA4.js} +2 -2
- package/dist/bundle/{chunk-42VOTRWE.js → chunk-LUTZSIA6.js} +1 -1
- package/dist/bundle/{chunk-O6YTC7DC.js → chunk-MISLCCYA.js} +1 -1
- package/dist/bundle/{chunk-2IO2DEBO.js → chunk-MLVYZIXB.js} +8 -8
- package/dist/bundle/{chunk-67TMJCHI.js → chunk-MYOXBUSI.js} +10 -10
- package/dist/bundle/{chunk-GECE7WJD.js → chunk-N5K6NZ2F.js} +2 -2
- package/dist/bundle/{chunk-A2KU4HSF.js → chunk-NYJHYLKS.js} +56 -56
- package/dist/bundle/{chunk-LJDBOXZN.js → chunk-O5FX3Q4U.js} +1 -1
- package/dist/bundle/{chunk-RHIQ34XW.js → chunk-PFWAQGHE.js} +2 -2
- package/dist/bundle/{chunk-DA5YMQCB.js → chunk-PIQUCN4T.js} +2 -2
- package/dist/bundle/{chunk-QWNVEFWY.js → chunk-Q52KLN53.js} +5 -5
- package/dist/bundle/{chunk-TWBJOORY.js → chunk-RCCKUVQP.js} +1 -1
- package/dist/bundle/{chunk-2XCXOI4F.js → chunk-RENUU3BQ.js} +4 -4
- package/dist/bundle/{chunk-5O3T7Z7F.js → chunk-RJM4D644.js} +296 -282
- package/dist/bundle/{chunk-HQQC5JRS.js → chunk-SKV7GYNB.js} +4 -4
- package/dist/bundle/{chunk-KBOLP4OR.js → chunk-TBHX7VF5.js} +27 -27
- package/dist/bundle/{chunk-HCMQGNZU.js → chunk-TVWO7K4U.js} +5 -5
- package/dist/bundle/{chunk-UK2MCVKV.js → chunk-TYIENI7Z.js} +247 -247
- package/dist/bundle/{chunk-MWKPW3RU.js → chunk-U3VDEHXY.js} +1 -1
- package/dist/bundle/{chunk-KVKO4X7K.js → chunk-U7MRZIBF.js} +3 -3
- package/dist/bundle/{chunk-XUNIJW7V.js → chunk-USAH53BQ.js} +9 -9
- package/dist/bundle/{chunk-W7GJREIL.js → chunk-VJ34VFZ5.js} +2 -2
- package/dist/bundle/{chunk-O34QHLL5.js → chunk-VQPUADFF.js} +1 -1
- package/dist/bundle/{chunk-TXU5T7VA.js → chunk-WBNWH2D5.js} +1 -1
- package/dist/bundle/{chunk-2P54ZDQO.js → chunk-WCFGYCVN.js} +7 -7
- package/dist/bundle/{chunk-LBMZ7SQI.js → chunk-WVZIP7Z5.js} +2 -2
- package/dist/bundle/{chunk-NP5FU56F.js → chunk-XCFGMQBF.js} +1 -1
- package/dist/bundle/{chunk-F6UUS3OF.js → chunk-XFSE3ZGY.js} +1 -1
- package/dist/bundle/{chunk-TBGBA45H.js → chunk-YHQ2XNNJ.js} +1 -1
- package/dist/bundle/{chunk-WG6AOUQW.js → chunk-YXPAEW6N.js} +24 -21
- package/dist/bundle/{command-contract-EYE52WTH.js → command-contract-7LYHZI4Y.js} +11 -11
- package/dist/bundle/{decode-JVG6DJJV.js → decode-7PFJ3AKS.js} +2 -2
- package/dist/bundle/{echarts-4IS4IPI4.js → echarts-YDLD5JI2.js} +2 -2
- package/dist/bundle/{embed-7CN33CQR.js → embed-YDR7WSPK.js} +3 -3
- package/dist/bundle/{embedder-TZ345BZF.js → embedder-KQYPQKZA.js} +6 -6
- package/dist/bundle/{entry-5VZRNBLV.js → entry-FD4B2GID.js} +4 -4
- package/dist/bundle/failure-FOZGSUOL.js +66 -0
- package/dist/bundle/{first-run-EMHSBODF.js → first-run-C6HSAXYV.js} +5 -5
- package/dist/bundle/{first-screen-3PJ3HFLG.js → first-screen-ZM3LZRP4.js} +12 -12
- package/dist/bundle/{instructions-BTAYTZIS.js → instructions-O7YN5F6D.js} +1 -1
- package/dist/bundle/{mcp-I5KREUIV.js → mcp-X5XYKVTY.js} +35 -35
- package/dist/bundle/memo.js +6 -6
- package/dist/bundle/{node-FMT4QVUG.js → node-YP265UUP.js} +2 -2
- package/dist/bundle/{node-sqlite-2RDIBVYM.js → node-sqlite-K3PWKXTB.js} +3 -3
- package/dist/bundle/{oauth-MF53KMXM.js → oauth-CUIDTJ5Z.js} +4 -4
- package/dist/bundle/{open-WKKHNBXL.js → open-SHUV2BPO.js} +2 -2
- package/dist/bundle/{openai-36KNG2DB.js → openai-LSBA5CCQ.js} +7 -7
- package/dist/bundle/{process-F2FWK4Q4.js → process-POGO7VDZ.js} +1 -1
- package/dist/bundle/{program-W55Y6LL2.js → program-DZ4TM3PS.js} +56 -56
- package/dist/bundle/{prompt-2TR6X3TJ.js → prompt-V7SEBV7G.js} +2 -2
- package/dist/bundle/{recognize-MOBCGUI7.js → recognize-DK3N2GVZ.js} +1 -1
- package/dist/bundle/{remote-GARKVCO7.js → remote-XYFCKYIQ.js} +4 -4
- package/dist/bundle/{rerank-L3G7P3KX.js → rerank-COKJGAIB.js} +4 -4
- package/dist/bundle/{serve-ABRMEJ7P.js → serve-KW3AGGTZ.js} +6 -6
- package/dist/bundle/{server-XLMROR5L.js → server-72N5XGA6.js} +50 -50
- package/dist/bundle/server-QZPRR4H3.js +48 -0
- package/dist/bundle/server-VPEPJSQM.js +61 -0
- package/dist/bundle/{state-5N2RVH2Y.js → state-KHK3S4AC.js} +3 -3
- package/dist/bundle/{store-4ML7O47C.js → store-GGUL63V7.js} +9 -9
- package/dist/bundle/store-maintenance-command-3KI6LYZB.js +48 -0
- package/dist/bundle/update-OLU3IRV6.js +69 -0
- package/dist/knowledge/project-status-command.d.ts.map +1 -1
- package/dist/knowledge/project-status-command.js +2 -1
- package/dist/knowledge/project-status-command.js.map +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +2 -2
- package/skills/cli-memo/topics/projects.md +2 -1
- package/dist/bundle/auto-NIATDHS4.js +0 -86
- package/dist/bundle/failure-KIFYUUO6.js +0 -66
- package/dist/bundle/server-NMRAFTY3.js +0 -61
- package/dist/bundle/server-VX3L42ED.js +0 -48
- package/dist/bundle/store-maintenance-command-O3OTXKNO.js +0 -48
- package/dist/bundle/update-OWKZLZTS.js +0 -69
- /package/dist/bundle/{chunk-O3EZTSTN.js → chunk-SWSCSMAU.js} +0 -0
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
__name
|
|
8
8
|
} from "./chunk-ZVVMGPBJ.js";
|
|
9
9
|
|
|
10
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.589.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_0ee3f6df6a9715cc0d8fd3b6006034a9/node_modules/@wirecat/cli-core/dist/files/ordinary-file.js
|
|
11
11
|
import { constants } from "node:fs";
|
|
12
12
|
import { lstat, open } from "node:fs/promises";
|
|
13
13
|
var deviceOf = /* @__PURE__ */ __name((dev) => process.platform === "win32" ? BigInt.asUintN(32, dev) : dev, "deviceOf");
|
|
@@ -73,7 +73,7 @@ var syncDirectory = /* @__PURE__ */ __name(async (path) => {
|
|
|
73
73
|
}
|
|
74
74
|
}, "syncDirectory");
|
|
75
75
|
|
|
76
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
76
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.589.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_0ee3f6df6a9715cc0d8fd3b6006034a9/node_modules/@wirecat/cli-core/dist/files/atomic-write.js
|
|
77
77
|
import { randomUUID } from "node:crypto";
|
|
78
78
|
import { constants as constants2 } from "node:fs";
|
|
79
79
|
import { link, open as open2, realpath, rename, unlink } from "node:fs/promises";
|
|
@@ -111,7 +111,7 @@ var writeFileAtomic = /* @__PURE__ */ __name(async (path, content, { mode = 384,
|
|
|
111
111
|
}
|
|
112
112
|
}, "writeFileAtomic");
|
|
113
113
|
|
|
114
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
114
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.589.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_0ee3f6df6a9715cc0d8fd3b6006034a9/node_modules/@wirecat/cli-core/dist/files/bounded-utf8.js
|
|
115
115
|
var readBoundedUtf8File = /* @__PURE__ */ __name(async (path, { maxBytes }) => {
|
|
116
116
|
if (!Number.isSafeInteger(maxBytes) || maxBytes < 1 || maxBytes > 16 * 1024 * 1024)
|
|
117
117
|
throw new CliError("validation_error", "file maxBytes takes 1\u201316777216 bytes");
|
|
@@ -140,21 +140,21 @@ var readBoundedUtf8File = /* @__PURE__ */ __name(async (path, { maxBytes }) => {
|
|
|
140
140
|
}
|
|
141
141
|
}, "readBoundedUtf8File");
|
|
142
142
|
|
|
143
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
143
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.589.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_0ee3f6df6a9715cc0d8fd3b6006034a9/node_modules/@wirecat/cli-core/dist/files/lock.js
|
|
144
144
|
import { mkdir as mkdir2 } from "node:fs/promises";
|
|
145
145
|
import { basename as basename2, dirname as dirname2 } from "node:path";
|
|
146
146
|
|
|
147
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
147
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.589.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_0ee3f6df6a9715cc0d8fd3b6006034a9/node_modules/@wirecat/cli-core/dist/files/native-writer-lease.js
|
|
148
148
|
import { randomUUID as randomUUID2 } from "node:crypto";
|
|
149
149
|
import { lstat as lstat3, mkdir, open as open3, realpath as realpath3, rmdir as rmdir2, unlink as unlink4 } from "node:fs/promises";
|
|
150
150
|
import { hostname as hostname2 } from "node:os";
|
|
151
151
|
import { join as join3 } from "node:path";
|
|
152
152
|
|
|
153
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
153
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.589.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_0ee3f6df6a9715cc0d8fd3b6006034a9/node_modules/@wirecat/cli-core/dist/files/native-lease-inspection.js
|
|
154
154
|
import { lstat as lstat2, readdir, realpath as realpath2, unlink as unlink2 } from "node:fs/promises";
|
|
155
155
|
import { join as join2 } from "node:path";
|
|
156
156
|
|
|
157
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
157
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.589.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_0ee3f6df6a9715cc0d8fd3b6006034a9/node_modules/@wirecat/cli-core/dist/files/native-lease-owner.js
|
|
158
158
|
import { hostname } from "node:os";
|
|
159
159
|
var missingLeaseFile = /* @__PURE__ */ __name((error) => typeof error === "object" && error !== null && "code" in error && error.code === "ENOENT", "missingLeaseFile");
|
|
160
160
|
var readLeaseOwner = /* @__PURE__ */ __name(async (path, name, signal) => {
|
|
@@ -199,7 +199,7 @@ var leaseOwnerStatus = /* @__PURE__ */ __name((owner) => {
|
|
|
199
199
|
}
|
|
200
200
|
}, "leaseOwnerStatus");
|
|
201
201
|
|
|
202
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
202
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.589.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_0ee3f6df6a9715cc0d8fd3b6006034a9/node_modules/@wirecat/cli-core/dist/files/native-lease-inspection.js
|
|
203
203
|
var leaseInspection = /* @__PURE__ */ __name((markerDirectory) => {
|
|
204
204
|
const inspect = /* @__PURE__ */ __name(async (destination, options = {}) => {
|
|
205
205
|
options.signal?.throwIfAborted();
|
|
@@ -258,7 +258,7 @@ var leaseInspection = /* @__PURE__ */ __name((markerDirectory) => {
|
|
|
258
258
|
return { inspect, recover };
|
|
259
259
|
}, "leaseInspection");
|
|
260
260
|
|
|
261
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
261
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.589.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_0ee3f6df6a9715cc0d8fd3b6006034a9/node_modules/@wirecat/cli-core/dist/files/native-lease-release.js
|
|
262
262
|
import { rmdir, unlink as unlink3 } from "node:fs/promises";
|
|
263
263
|
var ownedNativeLease = /* @__PURE__ */ __name((path, name, owner, folder, identity) => {
|
|
264
264
|
let releasing;
|
|
@@ -283,7 +283,7 @@ var ownedNativeLease = /* @__PURE__ */ __name((path, name, owner, folder, identi
|
|
|
283
283
|
};
|
|
284
284
|
}, "ownedNativeLease");
|
|
285
285
|
|
|
286
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
286
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.589.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_0ee3f6df6a9715cc0d8fd3b6006034a9/node_modules/@wirecat/cli-core/dist/files/native-writer-lease.js
|
|
287
287
|
var validName = /* @__PURE__ */ __name((value) => typeof value === "string" && value.length > 0 && value !== "." && value !== ".." && !/[\\/\0:]/.test(value), "validName");
|
|
288
288
|
var nativeWriterLeaseStore = /* @__PURE__ */ __name((layout) => {
|
|
289
289
|
const { markerDirectory, legacyMarker } = layout;
|
|
@@ -354,7 +354,7 @@ var nativeWriterLeaseStore = /* @__PURE__ */ __name((layout) => {
|
|
|
354
354
|
};
|
|
355
355
|
}, "nativeWriterLeaseStore");
|
|
356
356
|
|
|
357
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
357
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.589.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_0ee3f6df6a9715cc0d8fd3b6006034a9/node_modules/@wirecat/cli-core/dist/files/lock.js
|
|
358
358
|
var acquireLock = /* @__PURE__ */ __name(async (path, { signal } = {}) => {
|
|
359
359
|
const folder = dirname2(path);
|
|
360
360
|
await mkdir2(folder, { recursive: true, mode: 448 });
|
|
@@ -369,7 +369,7 @@ var acquireLock = /* @__PURE__ */ __name(async (path, { signal } = {}) => {
|
|
|
369
369
|
});
|
|
370
370
|
}, "acquireLock");
|
|
371
371
|
|
|
372
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
372
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.589.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_0ee3f6df6a9715cc0d8fd3b6006034a9/node_modules/@wirecat/cli-core/dist/files/safe-name.js
|
|
373
373
|
import { basename as basename3 } from "node:path";
|
|
374
374
|
var safeName = /* @__PURE__ */ __name((name, platform = process.platform) => {
|
|
375
375
|
let plain = name === void 0 ? "" : basename3(name.replaceAll("\\", "/")).replace(/[\p{Cc}---]/gu, "").replace(/^\.+/, "");
|
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
describeOptions,
|
|
8
8
|
keyForCommand,
|
|
9
9
|
metaOf
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-LGQZNRNK.js";
|
|
11
11
|
import {
|
|
12
12
|
jsonSchemaOf
|
|
13
13
|
} from "./chunk-SN63VOE6.js";
|
|
@@ -18,7 +18,7 @@ import {
|
|
|
18
18
|
__name
|
|
19
19
|
} from "./chunk-ZVVMGPBJ.js";
|
|
20
20
|
|
|
21
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
21
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.589.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_0ee3f6df6a9715cc0d8fd3b6006034a9/node_modules/@wirecat/cli-core/dist/cli/command-contract.js
|
|
22
22
|
var SCHEMA_DIALECT = "https://json-schema.org/draft/2020-12/schema";
|
|
23
23
|
var outputOf = /* @__PURE__ */ __name((command) => {
|
|
24
24
|
const entity = answerEntitySchema(command);
|
|
@@ -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.589.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_0ee3f6df6a9715cc0d8fd3b6006034a9/node_modules/@wirecat/cli-core/dist/runs/secrets.js
|
|
8
8
|
var SECRET_WORDS = /* @__PURE__ */ new Set([
|
|
9
9
|
"authorization",
|
|
10
10
|
"cookie",
|
|
@@ -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.589.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_0ee3f6df6a9715cc0d8fd3b6006034a9/node_modules/@wirecat/cli-core/dist/store/vector-extension.js
|
|
14
14
|
import { readFileSync } from "node:fs";
|
|
15
15
|
var musl = /* @__PURE__ */ __name(() => {
|
|
16
16
|
if (process.platform !== "linux")
|
|
@@ -2,21 +2,21 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
botInstructions
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-XCFGMQBF.js";
|
|
6
6
|
import {
|
|
7
7
|
answered,
|
|
8
8
|
normal,
|
|
9
9
|
registerCommands,
|
|
10
10
|
runCommandForAgent,
|
|
11
11
|
toolsFromCommands
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-CIN7A3OM.js";
|
|
13
13
|
import {
|
|
14
14
|
agentJson,
|
|
15
15
|
skillResource
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-GPT5MFYG.js";
|
|
17
17
|
import {
|
|
18
18
|
callerOf
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-N5K6NZ2F.js";
|
|
20
20
|
import {
|
|
21
21
|
serveStdio
|
|
22
22
|
} from "./chunk-MM5NVP7F.js";
|
|
@@ -25,17 +25,17 @@ import {
|
|
|
25
25
|
} from "./chunk-H3ZN4YLB.js";
|
|
26
26
|
import {
|
|
27
27
|
wholeList
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-G7QBCTF6.js";
|
|
29
29
|
import {
|
|
30
30
|
changesMessenger,
|
|
31
31
|
flatten,
|
|
32
32
|
itemOf
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-LGQZNRNK.js";
|
|
34
34
|
import {
|
|
35
35
|
MESSENGER_CHANGE_REFUSAL,
|
|
36
36
|
readOnlyLockOf,
|
|
37
37
|
readOnlyRefusal
|
|
38
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-RCCKUVQP.js";
|
|
39
39
|
import {
|
|
40
40
|
mcpErrorResult,
|
|
41
41
|
object
|
|
@@ -44,7 +44,7 @@ import {
|
|
|
44
44
|
__name
|
|
45
45
|
} from "./chunk-ZVVMGPBJ.js";
|
|
46
46
|
|
|
47
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
47
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.589.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_0ee3f6df6a9715cc0d8fd3b6006034a9/node_modules/@wirecat/cli-core/dist/mcp/bot/server.js
|
|
48
48
|
import { randomUUID } from "node:crypto";
|
|
49
49
|
var body = /* @__PURE__ */ __name((command, value) => Array.isArray(value) ? wholeList(`bot ${command}`, value) : value !== null && typeof value === "object" && ("item" in value || "items" in value) ? value : itemOf(value !== null && typeof value === "object" ? value : { value }), "body");
|
|
50
50
|
var createBotServer = /* @__PURE__ */ __name((options) => {
|
|
@@ -8,17 +8,17 @@ import {
|
|
|
8
8
|
readSetupAnswers,
|
|
9
9
|
unanswered,
|
|
10
10
|
writeSetupAnswers
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-3Z4BMSVX.js";
|
|
12
12
|
import {
|
|
13
13
|
DEFAULT_STEMMERS,
|
|
14
14
|
LANGUAGES
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-6WDOIKM6.js";
|
|
16
16
|
import {
|
|
17
17
|
sharedConfigPath
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-GCTZK5QV.js";
|
|
19
19
|
import {
|
|
20
20
|
storePath
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-XFSE3ZGY.js";
|
|
22
22
|
import {
|
|
23
23
|
installerOf
|
|
24
24
|
} from "./chunk-CID4MNRQ.js";
|
|
@@ -26,7 +26,7 @@ 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.589.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_0ee3f6df6a9715cc0d8fd3b6006034a9/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-GGUL63V7.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-SHUV2BPO.js"),
|
|
117
|
+
import("./store-maintenance-command-3KI6LYZB.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-ZM3LZRP4.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:");
|
|
@@ -199,7 +199,7 @@ var setupAtStart = /* @__PURE__ */ __name(async (start) => {
|
|
|
199
199
|
contentLanguages: start.contentLanguages,
|
|
200
200
|
all: start.path[0] === "setup",
|
|
201
201
|
io: {
|
|
202
|
-
ask: /* @__PURE__ */ __name(async (prompt) => (await import("./prompt-
|
|
202
|
+
ask: /* @__PURE__ */ __name(async (prompt) => (await import("./prompt-V7SEBV7G.js")).readSecret(prompt, { input, echo: true }), "ask"),
|
|
203
203
|
say: /* @__PURE__ */ __name((text) => process.stderr.write(`${text}
|
|
204
204
|
`), "say")
|
|
205
205
|
}
|
|
@@ -7,12 +7,12 @@ import {
|
|
|
7
7
|
agentOf,
|
|
8
8
|
clientHash,
|
|
9
9
|
currentCaller
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-WCFGYCVN.js";
|
|
11
11
|
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.589.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_0ee3f6df6a9715cc0d8fd3b6006034a9/node_modules/@wirecat/cli-core/dist/mcp/caller.js
|
|
16
16
|
var callingAgent = /* @__PURE__ */ __name((fallback, caller = currentCaller()) => {
|
|
17
17
|
const client = caller?.agent?.client?.name;
|
|
18
18
|
if (client && client !== "unknown")
|