@wirecat/cli-memo 0.131.80 → 0.131.81
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-RVKEGURX.js → all-profiles-AG3WU2VX.js} +5 -5
- package/dist/bundle/{anthropic-FC6XUSWM.js → anthropic-5OJ6VVBT.js} +2 -2
- package/dist/bundle/{app-server-IRNKU3IF.js → app-server-CYMFIH4U.js} +36 -36
- package/dist/bundle/auto-PI3CSWZS.js +91 -0
- package/dist/bundle/{bun-TYBGE5BX.js → bun-YI3OK27Z.js} +2 -2
- package/dist/bundle/{bun-sqlite-YENHHNPL.js → bun-sqlite-YXHIEV5I.js} +3 -3
- package/dist/bundle/{chunk-HHZMDFE2.js → chunk-26HACUK7.js} +45 -45
- package/dist/bundle/{chunk-IJUXHUNZ.js → chunk-2DLWUJW2.js} +2 -2
- package/dist/bundle/{chunk-FIJTCBPQ.js → chunk-3UQC4O3L.js} +8 -8
- package/dist/bundle/{chunk-GNII3UL7.js → chunk-5MGGZJAL.js} +1 -1
- package/dist/bundle/{chunk-JDQSL2EY.js → chunk-6GFML7RP.js} +2 -2
- package/dist/bundle/{chunk-SULQCO3Y.js → chunk-6KPJKZNM.js} +5 -5
- package/dist/bundle/{chunk-NUKMYB65.js → chunk-7CU4TLEU.js} +4 -4
- package/dist/bundle/{chunk-MDIXXKVU.js → chunk-7END7RSM.js} +9 -9
- package/dist/bundle/{chunk-X3NHAO6T.js → chunk-7TGAZTZ7.js} +1 -1
- package/dist/bundle/{chunk-OH4AIBZF.js → chunk-ACUFYEMU.js} +1 -1
- package/dist/bundle/{chunk-OFRIG3CX.js → chunk-B44MN5AV.js} +3 -3
- package/dist/bundle/{chunk-JJ6ODCVQ.js → chunk-BM7X632R.js} +2 -2
- package/dist/bundle/{chunk-FR646D4S.js → chunk-BXFFFWJC.js} +1 -1
- package/dist/bundle/{chunk-RWVB7SLQ.js → chunk-C4PKTIIC.js} +20 -20
- package/dist/bundle/{chunk-NH7KIGIS.js → chunk-CYNITS32.js} +2 -2
- package/dist/bundle/{chunk-C2FE62E5.js → chunk-D6QYOZQ7.js} +29 -29
- package/dist/bundle/{chunk-BS5JBNGX.js → chunk-DWWQE6QB.js} +951 -725
- package/dist/bundle/{chunk-ZMSEKQQQ.js → chunk-EHBC5J5T.js} +1 -1
- package/dist/bundle/{chunk-MLYPJ4EC.js → chunk-ENNO7YI4.js} +6 -6
- package/dist/bundle/{chunk-Q46O7KXY.js → chunk-F5G2ECJT.js} +5 -5
- package/dist/bundle/{chunk-2CJIZZSI.js → chunk-FSWVWWK6.js} +12 -12
- package/dist/bundle/{chunk-EOXWI2EX.js → chunk-GAGGDEEV.js} +4 -4
- package/dist/bundle/{chunk-CUWTYE5A.js → chunk-GTOC7CVD.js} +2 -2
- package/dist/bundle/{chunk-OSE7GXAR.js → chunk-HMLUAJ5X.js} +1 -1
- package/dist/bundle/{chunk-VTBIVTS5.js → chunk-IMGEDPEG.js} +3 -3
- package/dist/bundle/{chunk-2FICCBKH.js → chunk-IMOHS6Z4.js} +1 -1
- package/dist/bundle/{chunk-3H56E3VI.js → chunk-ISODMBTI.js} +4 -4
- package/dist/bundle/{chunk-JPC7GSJO.js → chunk-J53G4IDW.js} +14 -9
- package/dist/bundle/{chunk-PX55CRD3.js → chunk-JURO45D4.js} +77 -77
- package/dist/bundle/{chunk-IW6O2SAG.js → chunk-KAJJEVBN.js} +10 -10
- package/dist/bundle/{chunk-UTYGPWUY.js → chunk-L4JRQ3EF.js} +3 -3
- package/dist/bundle/{chunk-666J5H2Z.js → chunk-LEVVMGYP.js} +1 -1
- package/dist/bundle/{chunk-R4XCBPD2.js → chunk-LQRUSNYT.js} +1 -1
- package/dist/bundle/{chunk-SKX3BNTE.js → chunk-M27DVXQY.js} +7 -7
- package/dist/bundle/{chunk-VQJDYQ55.js → chunk-OW7QEJQC.js} +32 -32
- package/dist/bundle/{chunk-TJ2B36VK.js → chunk-OXUVXJQZ.js} +7 -7
- package/dist/bundle/{chunk-KNRYIHUJ.js → chunk-QACKJE66.js} +281 -281
- package/dist/bundle/{chunk-6W6CLZKX.js → chunk-QKDLZFET.js} +12 -12
- package/dist/bundle/{chunk-RUM4GGHP.js → chunk-RRAO2HEO.js} +4 -4
- package/dist/bundle/{chunk-XZJUAG7B.js → chunk-SFZATVW3.js} +3 -3
- package/dist/bundle/{chunk-K3JEAMTT.js → chunk-SUN4Z4O5.js} +1 -1
- package/dist/bundle/{chunk-CVQJ7L4C.js → chunk-SZXP5BLK.js} +4 -4
- package/dist/bundle/{chunk-S2KXO7MO.js → chunk-TGKW746D.js} +1 -1
- package/dist/bundle/{chunk-GHYJW4ZH.js → chunk-TM7HPDDC.js} +2 -2
- package/dist/bundle/{chunk-F62N6QMI.js → chunk-U5KHIIEZ.js} +1 -1
- package/dist/bundle/{chunk-HXPU3ABX.js → chunk-UIPF5ZPZ.js} +326 -301
- package/dist/bundle/{chunk-W26VONC6.js → chunk-UXAVR5L4.js} +5 -5
- package/dist/bundle/{chunk-SGV2Z4BO.js → chunk-VR5JZXFD.js} +148 -148
- package/dist/bundle/{chunk-C4TAEYDQ.js → chunk-W2NETMA4.js} +5 -5
- package/dist/bundle/{chunk-UBUCTVHB.js → chunk-W6JVRWUC.js} +1 -1
- package/dist/bundle/{chunk-HFQXEMRG.js → chunk-WVTH7Q23.js} +1 -1
- package/dist/bundle/{chunk-KDLOSANT.js → chunk-Y22BK4VX.js} +5 -5
- package/dist/bundle/{chunk-HKXACNLD.js → chunk-YMM7JV6G.js} +2 -2
- package/dist/bundle/{chunk-4IKO3JAA.js → chunk-YVY6VV6C.js} +4 -4
- package/dist/bundle/{chunk-DS5SA5QP.js → chunk-YZLQY6MO.js} +5 -5
- package/dist/bundle/{chunk-JTQAMVZH.js → chunk-ZA3QA66B.js} +13 -13
- package/dist/bundle/{chunk-KVQY7R66.js → chunk-ZQRDE63F.js} +2 -2
- package/dist/bundle/{chunk-CEGA7A35.js → chunk-ZSDIUMUQ.js} +2 -2
- package/dist/bundle/{chunk-ZMLDVE22.js → chunk-ZYBFT7EU.js} +6 -6
- package/dist/bundle/{command-contract-SR6ONYV4.js → command-contract-G4GWD3V6.js} +11 -11
- package/dist/bundle/{command-server-entry-2WXZVYIX.js → command-server-entry-CNTXCJJ4.js} +17 -17
- package/dist/bundle/{decode-U7VFYQAA.js → decode-LV4O5H3M.js} +2 -2
- package/dist/bundle/{echarts-2PXBBLLJ.js → echarts-7FYCTGV2.js} +2 -2
- package/dist/bundle/{embed-DPA5QOIR.js → embed-BJ6VBMFC.js} +3 -3
- package/dist/bundle/{embedder-IGI2UTFK.js → embedder-EMU2SEDZ.js} +6 -6
- package/dist/bundle/{entry-IFOQTBXC.js → entry-IXBQ4UNV.js} +5 -5
- package/dist/bundle/{entry-7PAYGIQO.js → entry-SWFZ52CW.js} +5 -5
- package/dist/bundle/failure-KXBXKFBC.js +71 -0
- package/dist/bundle/{first-run-WHDDKA4V.js → first-run-74EADT2V.js} +5 -5
- package/dist/bundle/{first-screen-P5C57USR.js → first-screen-IW4EUPTH.js} +12 -12
- package/dist/bundle/{instructions-W7F7OQZS.js → instructions-HTJ3I5F5.js} +1 -1
- package/dist/bundle/{mcp-3LAFWOGW.js → mcp-RO7CEZ4P.js} +35 -35
- package/dist/bundle/memo.js +3 -3
- package/dist/bundle/{node-K6MWX3SW.js → node-GTF4PZZJ.js} +2 -2
- package/dist/bundle/{node-sqlite-WV6GCPEC.js → node-sqlite-TCF6PKCK.js} +4 -4
- package/dist/bundle/{oauth-EH2Y54DG.js → oauth-MQWM7KWY.js} +4 -4
- package/dist/bundle/{open-PB4W3UAM.js → open-NDV2TOBL.js} +2 -2
- package/dist/bundle/{openai-76OKHXWR.js → openai-BQAQJD34.js} +7 -7
- package/dist/bundle/{process-FMQ7Q7AI.js → process-YWF25XAX.js} +1 -1
- package/dist/bundle/{program-BR2QHF36.js → program-L4PM3UNK.js} +133 -68
- package/dist/bundle/{prompt-AW4T6CC2.js → prompt-ME3B7BVG.js} +2 -2
- package/dist/bundle/{recognize-X5DMT3HH.js → recognize-NJTH7EAF.js} +1 -1
- package/dist/bundle/{remote-HVKKXNYZ.js → remote-2SQT2DEL.js} +4 -4
- package/dist/bundle/{rerank-IXMWD7JV.js → rerank-OYYNHRTD.js} +4 -4
- package/dist/bundle/{serve-42XTYB26.js → serve-KMZU3JKX.js} +6 -6
- package/dist/bundle/server-K3HNYEDO.js +64 -0
- package/dist/bundle/{server-NNE7MUYT.js → server-OPVBIS67.js} +54 -53
- package/dist/bundle/server-QP3EDFBW.js +50 -0
- package/dist/bundle/{state-EOU37GAH.js → state-Y6JT6KT3.js} +3 -3
- package/dist/bundle/{store-F3REYMA6.js → store-X53QOU4W.js} +9 -9
- package/dist/bundle/store-maintenance-command-ELTUGXWJ.js +49 -0
- package/dist/bundle/update-4NPCGZ2P.js +74 -0
- package/dist/examples.d.ts.map +1 -1
- package/dist/examples.js +5 -0
- package/dist/examples.js.map +1 -1
- package/dist/mcp/catalogue.d.ts +3 -0
- package/dist/mcp/catalogue.d.ts.map +1 -1
- package/dist/mcp/catalogue.js +1 -0
- package/dist/mcp/catalogue.js.map +1 -1
- package/dist/people/proposal-rows.d.ts +6 -1
- package/dist/people/proposal-rows.d.ts.map +1 -1
- package/dist/people/proposal-rows.js +14 -5
- package/dist/people/proposal-rows.js.map +1 -1
- package/dist/people/proposals-command.d.ts.map +1 -1
- package/dist/people/proposals-command.js +45 -1
- package/dist/people/proposals-command.js.map +1 -1
- package/dist/store/groups-command.d.ts.map +1 -1
- package/dist/store/groups-command.js +37 -2
- package/dist/store/groups-command.js.map +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +2 -2
- package/dist/bundle/auto-GTL4YGZX.js +0 -91
- package/dist/bundle/failure-NAM37T2T.js +0 -71
- package/dist/bundle/server-HUEXB5QL.js +0 -64
- package/dist/bundle/server-YLXOJOTR.js +0 -50
- package/dist/bundle/store-maintenance-command-TOBBH3ZK.js +0 -49
- package/dist/bundle/update-3QB752NL.js +0 -74
- /package/dist/bundle/{chunk-ID2I2X2Z.js → chunk-VI7FFUEX.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.635.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_3655968b1fddf86e6ebc40f56f82dd2f/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.635.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_3655968b1fddf86e6ebc40f56f82dd2f/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.635.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_3655968b1fddf86e6ebc40f56f82dd2f/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.635.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_3655968b1fddf86e6ebc40f56f82dd2f/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.635.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_3655968b1fddf86e6ebc40f56f82dd2f/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.635.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_3655968b1fddf86e6ebc40f56f82dd2f/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.635.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_3655968b1fddf86e6ebc40f56f82dd2f/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.635.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_3655968b1fddf86e6ebc40f56f82dd2f/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.635.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_3655968b1fddf86e6ebc40f56f82dd2f/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.635.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_3655968b1fddf86e6ebc40f56f82dd2f/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.635.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_3655968b1fddf86e6ebc40f56f82dd2f/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.635.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_3655968b1fddf86e6ebc40f56f82dd2f/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(/^\.+/, "");
|
|
@@ -2,7 +2,7 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
storePath
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-LQRUSNYT.js";
|
|
6
6
|
import {
|
|
7
7
|
resolvePaths
|
|
8
8
|
} from "./chunk-SB3AOH3M.js";
|
|
@@ -14,11 +14,11 @@ import {
|
|
|
14
14
|
__name
|
|
15
15
|
} from "./chunk-ZVVMGPBJ.js";
|
|
16
16
|
|
|
17
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
17
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.635.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_3655968b1fddf86e6ebc40f56f82dd2f/node_modules/@wirecat/cli-core/dist/store/shared-config.js
|
|
18
18
|
import { mkdirSync, readFileSync, renameSync, statSync, writeFileSync } from "node:fs";
|
|
19
19
|
import { dirname, join, resolve } from "node:path";
|
|
20
20
|
|
|
21
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
21
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.635.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_3655968b1fddf86e6ebc40f56f82dd2f/node_modules/@wirecat/cli-core/dist/domain/task-categories.js
|
|
22
22
|
var DEFAULT_TASK_CATEGORIES = [
|
|
23
23
|
{
|
|
24
24
|
name: "taxes",
|
|
@@ -773,7 +773,7 @@ var storedTaskCategories = /* @__PURE__ */ __name((json) => {
|
|
|
773
773
|
}
|
|
774
774
|
}, "storedTaskCategories");
|
|
775
775
|
|
|
776
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
776
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.635.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_3655968b1fddf86e6ebc40f56f82dd2f/node_modules/@wirecat/cli-core/dist/store/shared-config.js
|
|
777
777
|
var SECTION = "task_categories";
|
|
778
778
|
var sharedConfigPath = /* @__PURE__ */ __name((store, env = process.env) => {
|
|
779
779
|
const paths = resolvePaths({ appName: "WireCat", prefix: "WIRECAT", env });
|
|
@@ -3,7 +3,7 @@ const require = __bundleRequire(import.meta.url);
|
|
|
3
3
|
import {
|
|
4
4
|
CAPABILITY_STATEMENTS,
|
|
5
5
|
storeCapable
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-YZLQY6MO.js";
|
|
7
7
|
import {
|
|
8
8
|
importFrom
|
|
9
9
|
} from "./chunk-Y5E2WNWB.js";
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
__name
|
|
12
12
|
} from "./chunk-ZVVMGPBJ.js";
|
|
13
13
|
|
|
14
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
14
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.635.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_3655968b1fddf86e6ebc40f56f82dd2f/node_modules/@wirecat/cli-core/dist/sqlite-runtime.js
|
|
15
15
|
import { spawn, spawnSync } from "node:child_process";
|
|
16
16
|
import { readFileSync } from "node:fs";
|
|
17
17
|
import { dirname } from "node:path";
|
|
@@ -99,7 +99,7 @@ var relay = /* @__PURE__ */ __name((child, host = process) => new Promise(() =>
|
|
|
99
99
|
});
|
|
100
100
|
}), "relay");
|
|
101
101
|
|
|
102
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
102
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.635.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_3655968b1fddf86e6ebc40f56f82dd2f/node_modules/@wirecat/cli-core/dist/cli/command-server-argv.js
|
|
103
103
|
var COMMAND_SERVER_ARGV = ["commands", "--serve"];
|
|
104
104
|
var isCommandServer = /* @__PURE__ */ __name((args) => args.length === COMMAND_SERVER_ARGV.length && COMMAND_SERVER_ARGV.every((word, at) => args[at] === word), "isCommandServer");
|
|
105
105
|
|
|
@@ -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.635.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_3655968b1fddf86e6ebc40f56f82dd2f/node_modules/@wirecat/cli-core/dist/background/processes.js
|
|
8
8
|
import { execFileSync } from "node:child_process";
|
|
9
9
|
import { readdirSync, readFileSync, readlinkSync } from "node:fs";
|
|
10
10
|
var alive = /* @__PURE__ */ __name((pid) => {
|
|
@@ -5,15 +5,15 @@ import {
|
|
|
5
5
|
readLock,
|
|
6
6
|
releaseLock,
|
|
7
7
|
takeLock
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-6GFML7RP.js";
|
|
9
9
|
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.635.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_3655968b1fddf86e6ebc40f56f82dd2f/node_modules/@wirecat/cli-core/dist/mcp/http/state.js
|
|
14
14
|
import { existsSync as existsSync2, readFileSync as readFileSync2 } from "node:fs";
|
|
15
15
|
|
|
16
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
16
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.635.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_3655968b1fddf86e6ebc40f56f82dd2f/node_modules/@wirecat/cli-core/dist/mcp/http/activity.js
|
|
17
17
|
import { randomBytes } from "node:crypto";
|
|
18
18
|
import { chmodSync, existsSync, mkdirSync, readFileSync, renameSync, writeFileSync } from "node:fs";
|
|
19
19
|
import { dirname } from "node:path";
|
|
@@ -86,7 +86,7 @@ var activityRecorder = /* @__PURE__ */ __name((path, now = Date.now) => {
|
|
|
86
86
|
};
|
|
87
87
|
}, "activityRecorder");
|
|
88
88
|
|
|
89
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
89
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.635.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_3655968b1fddf86e6ebc40f56f82dd2f/node_modules/@wirecat/cli-core/dist/mcp/http/state.js
|
|
90
90
|
var ACCESS_SECONDS = 60 * 60;
|
|
91
91
|
var REFRESH_SECONDS = 30 * 24 * 60 * 60;
|
|
92
92
|
var readStored = /* @__PURE__ */ __name((path) => existsSync2(path) ? JSON.parse(readFileSync2(path, "utf8")) : { clients: [], tokens: [] }, "readStored");
|
|
@@ -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.635.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_3655968b1fddf86e6ebc40f56f82dd2f/node_modules/@wirecat/cli-core/dist/store/driver.js
|
|
8
8
|
var TIME_LIMIT_FUNCTION = "wc_time_limit";
|
|
9
9
|
var TimeLimitReached = class extends Error {
|
|
10
10
|
static {
|
|
@@ -2,7 +2,7 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
unit
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-W2NETMA4.js";
|
|
6
6
|
import {
|
|
7
7
|
CliError
|
|
8
8
|
} from "./chunk-BA6GHX5B.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.635.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_3655968b1fddf86e6ebc40f56f82dd2f/node_modules/@wirecat/cli-core/dist/embeddings/remote.js
|
|
14
14
|
import { setTimeout } from "node:timers/promises";
|
|
15
15
|
var OPENAI_URL = "https://api.openai.com/v1";
|
|
16
16
|
var OPENAI_MODELS = {
|
|
@@ -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.635.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_3655968b1fddf86e6ebc40f56f82dd2f/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);
|