@wirecat/wirecat 3.0.0 → 3.2.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/dist/bin/wcat-wirecat.js +6 -2
- package/dist/bundle/{auto-3FV2LT4H.js → auto-IX7NKMPE.js} +6 -6
- package/dist/bundle/{chunk-QCTRIEC4.js → chunk-25SSJFZG.js} +3 -3
- package/dist/bundle/{chunk-ZE2T4EOA.js → chunk-2GHOSCZT.js} +3 -3
- package/dist/bundle/{chunk-ORLHR3ZY.js → chunk-FZ4ZBVAL.js} +1 -1
- package/dist/bundle/{chunk-KR5QSKQ6.js → chunk-JUME66R3.js} +2 -2
- package/dist/bundle/{chunk-TMMASKOU.js → chunk-LO4CIWB2.js} +1 -1
- package/dist/bundle/{chunk-O6KHNKUM.js → chunk-RUZYP3WR.js} +2 -2
- package/dist/bundle/{chunk-LTI3MDYQ.js → chunk-SEMTSIGQ.js} +1 -1
- package/dist/bundle/{chunk-5APBHODO.js → chunk-TWXTKJF5.js} +1 -1
- package/dist/bundle/{chunk-GQOQZT23.js → chunk-UK5NDMLQ.js} +2 -2
- package/dist/bundle/{chunk-DJLUI6E6.js → chunk-XDZRVRCA.js} +3 -3
- package/dist/bundle/{entry-AVDRO3VG.js → entry-VEYQMM5I.js} +6 -6
- package/dist/bundle/{failure-G76RKGKM.js → failure-2TG6DOSP.js} +4 -4
- package/dist/bundle/{from-memo-6KTXNOZ4.js → from-memo-SF47EGZC.js} +7 -7
- package/dist/bundle/{program-Z3B5EUUU.js → program-YQVIJJ7R.js} +11 -11
- package/dist/bundle/{server-7IWWFZ4E.js → server-AL6DV4TU.js} +7 -7
- package/dist/bundle/{update-73FDIPRR.js → update-2ERT7TPE.js} +4 -4
- package/dist/bundle/wcat-wirecat.js +3 -3
- package/dist/version.js +1 -1
- package/package.json +3 -3
- package/skills/wcat/SKILL.md +6 -9
- package/skills/wcat/topics/search.md +1 -0
package/dist/bin/wcat-wirecat.js
CHANGED
|
@@ -9,7 +9,11 @@ if (
|
|
|
9
9
|
(words[0] === "--version" || words[0] === "-V") &&
|
|
10
10
|
!Object.keys(process.env).some((key) => key.endsWith("_TEST_ARGV_LOG"))
|
|
11
11
|
) {
|
|
12
|
-
process.stdout.write("3.
|
|
12
|
+
process.stdout.write("3.2.0\n")
|
|
13
|
+
try {
|
|
14
|
+
const { wcatStart } = await import("@wirecat/cli-base/wcat/start")
|
|
15
|
+
await wcatStart({ command: "wirecat", version: "3.2.0" })
|
|
16
|
+
} catch {}
|
|
13
17
|
} else {
|
|
14
18
|
// Before the bundle compiles: the bundle's own call comes after its chunks.
|
|
15
19
|
module.enableCompileCache()
|
|
@@ -26,7 +30,7 @@ if (
|
|
|
26
30
|
: next(specifier, context),
|
|
27
31
|
})
|
|
28
32
|
}
|
|
29
|
-
const chunks = ["../bundle/auto-
|
|
33
|
+
const chunks = ["../bundle/auto-IX7NKMPE.js","../bundle/entry-VEYQMM5I.js","../bundle/failure-2TG6DOSP.js","../bundle/from-memo-SF47EGZC.js","../bundle/program-YQVIJJ7R.js","../bundle/server-AL6DV4TU.js","../bundle/update-2ERT7TPE.js"]
|
|
30
34
|
const preload = () =>
|
|
31
35
|
Promise.allSettled([
|
|
32
36
|
...chunks.map((chunk) => import(chunk)),
|
|
@@ -17,13 +17,13 @@ import {
|
|
|
17
17
|
serviceUnit,
|
|
18
18
|
timerUnit,
|
|
19
19
|
unitDir
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-2GHOSCZT.js";
|
|
21
21
|
import "./chunk-7O7XM37N.js";
|
|
22
|
-
import "./chunk-
|
|
23
|
-
import "./chunk-
|
|
24
|
-
import "./chunk-
|
|
25
|
-
import "./chunk-
|
|
26
|
-
import "./chunk-
|
|
22
|
+
import "./chunk-25SSJFZG.js";
|
|
23
|
+
import "./chunk-UK5NDMLQ.js";
|
|
24
|
+
import "./chunk-SEMTSIGQ.js";
|
|
25
|
+
import "./chunk-FZ4ZBVAL.js";
|
|
26
|
+
import "./chunk-TWXTKJF5.js";
|
|
27
27
|
export {
|
|
28
28
|
DEFAULT_EVERY,
|
|
29
29
|
PLACE_VARIABLES,
|
|
@@ -2,14 +2,14 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
decisionPolicy
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-UK5NDMLQ.js";
|
|
6
6
|
import {
|
|
7
7
|
terminalOf
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-FZ4ZBVAL.js";
|
|
9
9
|
import {
|
|
10
10
|
STORE_CLIENT,
|
|
11
11
|
__name
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-TWXTKJF5.js";
|
|
13
13
|
|
|
14
14
|
// dist/answer.js
|
|
15
15
|
import { CliError as CliError2, createRenderer } from "@wirecat/cli-base";
|
|
@@ -3,14 +3,14 @@ const require = __bundleRequire(import.meta.url);
|
|
|
3
3
|
import {
|
|
4
4
|
answers,
|
|
5
5
|
itemAnswer
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-25SSJFZG.js";
|
|
7
7
|
import {
|
|
8
8
|
loadConfig,
|
|
9
9
|
updateConfig
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-UK5NDMLQ.js";
|
|
11
11
|
import {
|
|
12
12
|
__name
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-TWXTKJF5.js";
|
|
14
14
|
|
|
15
15
|
// dist/run/auto.js
|
|
16
16
|
import { execFile } from "node:child_process";
|
|
@@ -2,7 +2,7 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
__name
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-TWXTKJF5.js";
|
|
6
6
|
|
|
7
7
|
// dist/terminal.js
|
|
8
8
|
var MACHINE_FLAGS = /* @__PURE__ */ new Set(["--json", "--jsonl"]);
|
|
@@ -2,12 +2,12 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
loadConfig
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-UK5NDMLQ.js";
|
|
6
6
|
import {
|
|
7
7
|
APP,
|
|
8
8
|
VERSION,
|
|
9
9
|
__name
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-TWXTKJF5.js";
|
|
11
11
|
|
|
12
12
|
// dist/update.js
|
|
13
13
|
import { join } from "node:path";
|
|
@@ -4,11 +4,11 @@ import {
|
|
|
4
4
|
inspectConfig,
|
|
5
5
|
loadConfig,
|
|
6
6
|
memoPermissionKeys
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-UK5NDMLQ.js";
|
|
8
8
|
import {
|
|
9
9
|
APP,
|
|
10
10
|
__name
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-TWXTKJF5.js";
|
|
12
12
|
|
|
13
13
|
// dist/read-only.js
|
|
14
14
|
import { metaOf } from "@wirecat/cli-base/commands";
|
|
@@ -2,7 +2,7 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
__name
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-TWXTKJF5.js";
|
|
6
6
|
|
|
7
7
|
// node_modules/.pnpm/valibot@1.5.0_typescript@7.0.2/node_modules/valibot/dist/index.mjs
|
|
8
8
|
var store$4;
|
|
@@ -19,10 +19,10 @@ import {
|
|
|
19
19
|
string,
|
|
20
20
|
union,
|
|
21
21
|
unknown
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-SEMTSIGQ.js";
|
|
23
23
|
import {
|
|
24
24
|
__name
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-TWXTKJF5.js";
|
|
26
26
|
|
|
27
27
|
// dist/config.js
|
|
28
28
|
import { CliError as CliError2, configFilePath, resolvePaths, saveConfigFile } from "@wirecat/cli-base";
|
|
@@ -2,15 +2,15 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
ValiError
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-SEMTSIGQ.js";
|
|
6
6
|
import {
|
|
7
7
|
interactiveOf,
|
|
8
8
|
optionsOf
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-FZ4ZBVAL.js";
|
|
10
10
|
import {
|
|
11
11
|
APP,
|
|
12
12
|
__name
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-TWXTKJF5.js";
|
|
14
14
|
|
|
15
15
|
// dist/failure.js
|
|
16
16
|
import { CliError, errorObjectOf, errorRecordOf, exitCodeOfError, mcpErrorResult, renderError } from "@wirecat/cli-base";
|
|
@@ -2,11 +2,11 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
interactiveOf
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-FZ4ZBVAL.js";
|
|
6
6
|
import {
|
|
7
7
|
APP,
|
|
8
8
|
__name
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-TWXTKJF5.js";
|
|
10
10
|
|
|
11
11
|
// dist/run/entry.js
|
|
12
12
|
import { errorObjectOf, exitCodeOfError, processStreams, renderError } from "@wirecat/cli-base";
|
|
@@ -20,9 +20,9 @@ var memoEntry = /* @__PURE__ */ __name((io) => {
|
|
|
20
20
|
reasons: APP.errors.reasons,
|
|
21
21
|
...io === void 0 ? {} : { io },
|
|
22
22
|
run: /* @__PURE__ */ __name(async (entry) => {
|
|
23
|
-
failure = await import("./failure-
|
|
24
|
-
const { createProgram, liftGroup, refuseJoinedPath } = await import("./program-
|
|
25
|
-
const { autoNotice, followInstall } = await import("./auto-
|
|
23
|
+
failure = await import("./failure-2TG6DOSP.js");
|
|
24
|
+
const { createProgram, liftGroup, refuseJoinedPath } = await import("./program-YQVIJJ7R.js");
|
|
25
|
+
const { autoNotice, followInstall } = await import("./auto-IX7NKMPE.js");
|
|
26
26
|
const lifting = createProgram({ signal: entry.signal });
|
|
27
27
|
programs.set(entry, lifting);
|
|
28
28
|
const { group, rest: args } = await liftGroup(lifting, entry.args, entry.env);
|
|
@@ -33,7 +33,7 @@ var memoEntry = /* @__PURE__ */ __name((io) => {
|
|
|
33
33
|
if (notice2)
|
|
34
34
|
processStreams.diagnostic(notice2);
|
|
35
35
|
}
|
|
36
|
-
const { updateNotice } = await import("./update-
|
|
36
|
+
const { updateNotice } = await import("./update-2ERT7TPE.js");
|
|
37
37
|
const notice = updateNotice(args);
|
|
38
38
|
program.hook("preAction", (_root, command) => entry.atStart(command));
|
|
39
39
|
failure.throwParseFailures(program);
|
|
@@ -6,10 +6,10 @@ import {
|
|
|
6
6
|
recognisable,
|
|
7
7
|
reportFailure,
|
|
8
8
|
throwParseFailures
|
|
9
|
-
} from "./chunk-
|
|
10
|
-
import "./chunk-
|
|
11
|
-
import "./chunk-
|
|
12
|
-
import "./chunk-
|
|
9
|
+
} from "./chunk-XDZRVRCA.js";
|
|
10
|
+
import "./chunk-SEMTSIGQ.js";
|
|
11
|
+
import "./chunk-FZ4ZBVAL.js";
|
|
12
|
+
import "./chunk-TWXTKJF5.js";
|
|
13
13
|
export {
|
|
14
14
|
errorObject,
|
|
15
15
|
mcpFailure,
|
|
@@ -2,21 +2,21 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
replaceMemoSkill
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-LO4CIWB2.js";
|
|
6
6
|
import {
|
|
7
7
|
applyAuto,
|
|
8
8
|
autoState,
|
|
9
9
|
unitDir
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-2GHOSCZT.js";
|
|
11
11
|
import "./chunk-7O7XM37N.js";
|
|
12
|
-
import "./chunk-
|
|
13
|
-
import "./chunk-
|
|
14
|
-
import "./chunk-
|
|
15
|
-
import "./chunk-
|
|
12
|
+
import "./chunk-25SSJFZG.js";
|
|
13
|
+
import "./chunk-UK5NDMLQ.js";
|
|
14
|
+
import "./chunk-SEMTSIGQ.js";
|
|
15
|
+
import "./chunk-FZ4ZBVAL.js";
|
|
16
16
|
import {
|
|
17
17
|
APP,
|
|
18
18
|
__name
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-TWXTKJF5.js";
|
|
20
20
|
|
|
21
21
|
// dist/migrate/from-memo.js
|
|
22
22
|
import { closeSync, cpSync, existsSync, mkdirSync, openSync, readdirSync, readFileSync, renameSync, rmdirSync, rmSync, statSync, writeFileSync } from "node:fs";
|
|
@@ -2,7 +2,7 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
removeMemoSkills
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-LO4CIWB2.js";
|
|
6
6
|
import {
|
|
7
7
|
UNIT,
|
|
8
8
|
applyAuto,
|
|
@@ -10,12 +10,12 @@ import {
|
|
|
10
10
|
autoState,
|
|
11
11
|
lastAutoRun,
|
|
12
12
|
recordAutoRun
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-2GHOSCZT.js";
|
|
14
14
|
import {
|
|
15
15
|
PACKAGE,
|
|
16
16
|
installer,
|
|
17
17
|
upgradeCommand
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-JUME66R3.js";
|
|
19
19
|
import "./chunk-7O7XM37N.js";
|
|
20
20
|
import {
|
|
21
21
|
mcpOwnerAllowed,
|
|
@@ -23,7 +23,7 @@ import {
|
|
|
23
23
|
readOnly,
|
|
24
24
|
readOnlyAvailability,
|
|
25
25
|
refuseWritesUnderLock
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-RUZYP3WR.js";
|
|
27
27
|
import {
|
|
28
28
|
PROPOSAL_ROW,
|
|
29
29
|
answers,
|
|
@@ -48,11 +48,11 @@ import {
|
|
|
48
48
|
trackAnswers,
|
|
49
49
|
wholeList,
|
|
50
50
|
withStore
|
|
51
|
-
} from "./chunk-
|
|
51
|
+
} from "./chunk-25SSJFZG.js";
|
|
52
52
|
import {
|
|
53
53
|
errorObject,
|
|
54
54
|
recognisable
|
|
55
|
-
} from "./chunk-
|
|
55
|
+
} from "./chunk-XDZRVRCA.js";
|
|
56
56
|
import {
|
|
57
57
|
WCAT_SETTINGS,
|
|
58
58
|
agentMergesApply,
|
|
@@ -67,7 +67,7 @@ import {
|
|
|
67
67
|
rawConfig,
|
|
68
68
|
scheduleLimits,
|
|
69
69
|
unsetConfigKey
|
|
70
|
-
} from "./chunk-
|
|
70
|
+
} from "./chunk-UK5NDMLQ.js";
|
|
71
71
|
import {
|
|
72
72
|
array,
|
|
73
73
|
boolean,
|
|
@@ -81,18 +81,18 @@ import {
|
|
|
81
81
|
string,
|
|
82
82
|
union,
|
|
83
83
|
unknown
|
|
84
|
-
} from "./chunk-
|
|
84
|
+
} from "./chunk-SEMTSIGQ.js";
|
|
85
85
|
import {
|
|
86
86
|
provideTerminal,
|
|
87
87
|
terminalOf
|
|
88
|
-
} from "./chunk-
|
|
88
|
+
} from "./chunk-FZ4ZBVAL.js";
|
|
89
89
|
import {
|
|
90
90
|
APP,
|
|
91
91
|
REASONS,
|
|
92
92
|
STORE_CLIENT,
|
|
93
93
|
VERSION,
|
|
94
94
|
__name
|
|
95
|
-
} from "./chunk-
|
|
95
|
+
} from "./chunk-TWXTKJF5.js";
|
|
96
96
|
|
|
97
97
|
// dist/program.js
|
|
98
98
|
import { fileURLToPath } from "node:url";
|
|
@@ -10939,7 +10939,7 @@ var mcpCommandDefinition = /* @__PURE__ */ __name((program, streams, env, create
|
|
|
10939
10939
|
}).summary("serve wcat's commands to an AI agent").description("serve wcat commands over MCP on stdio or authenticated HTTP, limited by saved permissions").option("--permission <key=level>", "tighten one saved permission for this server; repeat for more keys", (value, previous = []) => [...previous, value]).option("--http", "serve on 127.0.0.1 behind an HTTPS tunnel with an owner access-code login").option("--port <port>", `local HTTP port (default ${DEFAULT_PORT}); requires --http`).option("--public-url <url>", "tunnel's HTTPS address without /mcp, or a path of it such as https://<name>.ts.net/memo; requires --http").action(async (options) => {
|
|
10940
10940
|
if (!options.http && (options.port !== void 0 || options.publicUrl !== void 0))
|
|
10941
10941
|
throw new CliError46("validation_error", "--port and --public-url require --http");
|
|
10942
|
-
const { createMemoServer } = await import("./server-
|
|
10942
|
+
const { createMemoServer } = await import("./server-AL6DV4TU.js");
|
|
10943
10943
|
const build = /* @__PURE__ */ __name(() => createMemoServer(env, createProgram2, options.permission), "build");
|
|
10944
10944
|
if (options.http) {
|
|
10945
10945
|
const { httpLockFile, mcpUrlOf, portOf, publicUrlOf, serveOverHttp } = await import("@wirecat/cli-core/mcp");
|
|
@@ -5,18 +5,18 @@ import {
|
|
|
5
5
|
memoLevels,
|
|
6
6
|
readOnly,
|
|
7
7
|
refuseUnknownPermissions
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-RUZYP3WR.js";
|
|
9
9
|
import {
|
|
10
10
|
itemAnswer
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-25SSJFZG.js";
|
|
12
12
|
import {
|
|
13
13
|
errorObject,
|
|
14
14
|
mcpFailure,
|
|
15
15
|
throwParseFailures
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-XDZRVRCA.js";
|
|
17
17
|
import {
|
|
18
18
|
grantLevels
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-UK5NDMLQ.js";
|
|
20
20
|
import {
|
|
21
21
|
description,
|
|
22
22
|
object,
|
|
@@ -25,14 +25,14 @@ import {
|
|
|
25
25
|
pipe,
|
|
26
26
|
strictObject,
|
|
27
27
|
string
|
|
28
|
-
} from "./chunk-
|
|
29
|
-
import "./chunk-
|
|
28
|
+
} from "./chunk-SEMTSIGQ.js";
|
|
29
|
+
import "./chunk-FZ4ZBVAL.js";
|
|
30
30
|
import {
|
|
31
31
|
APP,
|
|
32
32
|
STORE_CLIENT,
|
|
33
33
|
VERSION,
|
|
34
34
|
__name
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-TWXTKJF5.js";
|
|
36
36
|
|
|
37
37
|
// dist/mcp/server.js
|
|
38
38
|
import { McpServer } from "@modelcontextprotocol/server";
|
|
@@ -7,11 +7,11 @@ import {
|
|
|
7
7
|
runUpdate,
|
|
8
8
|
updateNotice,
|
|
9
9
|
upgradeCommand
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-JUME66R3.js";
|
|
11
11
|
import "./chunk-7O7XM37N.js";
|
|
12
|
-
import "./chunk-
|
|
13
|
-
import "./chunk-
|
|
14
|
-
import "./chunk-
|
|
12
|
+
import "./chunk-UK5NDMLQ.js";
|
|
13
|
+
import "./chunk-SEMTSIGQ.js";
|
|
14
|
+
import "./chunk-TWXTKJF5.js";
|
|
15
15
|
export {
|
|
16
16
|
PACKAGE,
|
|
17
17
|
installer,
|
|
@@ -4,7 +4,7 @@ const require = __bundleRequire(import.meta.url);
|
|
|
4
4
|
import {
|
|
5
5
|
APP,
|
|
6
6
|
__name
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-TWXTKJF5.js";
|
|
8
8
|
|
|
9
9
|
// dist/bin/wcat-wirecat.js
|
|
10
10
|
import { enableCompileCache } from "node:module";
|
|
@@ -69,7 +69,7 @@ if (wcat.code !== void 0) {
|
|
|
69
69
|
} else {
|
|
70
70
|
if (mayMigrate(process.env, process.platform, process.argv[1])) {
|
|
71
71
|
try {
|
|
72
|
-
const { migrateFromMemo } = await import("./from-memo-
|
|
72
|
+
const { migrateFromMemo } = await import("./from-memo-SF47EGZC.js");
|
|
73
73
|
await migrateFromMemo({ env: process.env, warn: /* @__PURE__ */ __name((line) => process.stderr.write(`${line}
|
|
74
74
|
`), "warn") });
|
|
75
75
|
} catch (error) {
|
|
@@ -78,6 +78,6 @@ if (wcat.code !== void 0) {
|
|
|
78
78
|
}
|
|
79
79
|
}
|
|
80
80
|
const { startCli } = await import("@wirecat/cli-core/start");
|
|
81
|
-
const { memoEntry } = await import("./entry-
|
|
81
|
+
const { memoEntry } = await import("./entry-VEYQMM5I.js");
|
|
82
82
|
await startCli(memoEntry());
|
|
83
83
|
}
|
package/dist/version.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export const VERSION = "3.
|
|
1
|
+
export const VERSION = "3.2.0";
|
|
2
2
|
//# sourceMappingURL=version.js.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wirecat/wirecat",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.2.0",
|
|
4
4
|
"description": "Local context for AI agents across messengers, mail and notes, from a local store",
|
|
5
5
|
"mcpName": "dev.wirecat/wirecat",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -59,8 +59,8 @@
|
|
|
59
59
|
},
|
|
60
60
|
"dependencies": {
|
|
61
61
|
"@modelcontextprotocol/server": "2.4.0",
|
|
62
|
-
"@wirecat/cli-base": "
|
|
63
|
-
"@wirecat/cli-core": "3.
|
|
62
|
+
"@wirecat/cli-base": "3.0.0",
|
|
63
|
+
"@wirecat/cli-core": "3.4.0",
|
|
64
64
|
"commander": "15.0.0",
|
|
65
65
|
"valibot": "1.5.0"
|
|
66
66
|
},
|
package/skills/wcat/SKILL.md
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: wcat
|
|
3
3
|
description: >-
|
|
4
|
-
|
|
4
|
+
Search the owner's chats, mail, notes, meetings and documents in one place, and record facts and memories. Use first for any question about the owner's past, people, agreements or files that names no single channel: who said what, what we agreed, find the document, what do I know about X. To act in one channel, use its own tool.
|
|
5
5
|
metadata:
|
|
6
6
|
openclaw:
|
|
7
7
|
requires:
|
|
@@ -12,10 +12,10 @@ metadata:
|
|
|
12
12
|
bins: [wcat-wirecat]
|
|
13
13
|
---
|
|
14
14
|
|
|
15
|
-
|
|
16
15
|
# wcat — the owner's context across messengers, mail and notes
|
|
17
16
|
|
|
18
|
-
|
|
17
|
+
Start every question that names no single channel with `wcat search all`. wcat never sends: to send, sync or read
|
|
18
|
+
a chat the owner named, use that channel's own tool (`tg`, `max`, `wa`, `mail`) with the profile the owner names.
|
|
19
19
|
|
|
20
20
|
## Answer a question
|
|
21
21
|
|
|
@@ -24,18 +24,15 @@ wcat reads the local store tg and max write, plus the owner's notes and imported
|
|
|
24
24
|
reference, kind, time, title, sender, then the text. The right record is nearly always in the first five; ask
|
|
25
25
|
for more only when `# more` says there is more and nothing fits.
|
|
26
26
|
2. Not found? Search again in other words: a title, the sender's term, one or two key words, a synonym, the other
|
|
27
|
-
language, or the question itself as a sentence
|
|
28
|
-
|
|
29
|
-
are coverage, not absence.
|
|
27
|
+
language, or the question itself as a sentence: a question also finds a short reply by the message it answers.
|
|
28
|
+
After two or three tries, say what you searched. `# missing` lines are coverage, not absence.
|
|
30
29
|
3. Read the dates: a later message can replace an earlier one, and a suggestion is not a decision.
|
|
31
30
|
4. Cite each record by its reference exactly as printed (`msg:…`, `note:…`, `document:…`, `meeting:…`).
|
|
32
31
|
A line cut short opens with `wcat show <ref>`: a note's text, or the command that reads it.
|
|
33
32
|
|
|
34
|
-
A client, person or deal: a ref from `wcat search people <name>` or `wcat deals list`, then topic `search`.
|
|
35
33
|
A project: `wcat projects context <key>`, then `wcat projects status <key> --compact`. One kind only:
|
|
36
34
|
`wcat search mail`, `wcat search messages` or `wcat search notes`. Open a meeting hit with
|
|
37
|
-
the `meetings passage` step it gives before citing it.
|
|
38
|
-
`wcat events list --compact` (`event_type:call`: calls only).
|
|
35
|
+
the `meetings passage` step it gives before citing it. A client, person, deal or events: topic `search`.
|
|
39
36
|
|
|
40
37
|
## Keep a source the owner hands you
|
|
41
38
|
|
|
@@ -50,6 +50,7 @@ wcat commands search messages --json # one command's contract, by it
|
|
|
50
50
|
wcat show chat:max/<account>/<chat> note:<id> # what any reference is, a note's text, the command that opens it
|
|
51
51
|
wcat search messages '<words>' --compact # one line per hit, each with its reference
|
|
52
52
|
wcat projects evidence <project> --source all --compact # the evidence as rows, every reference kept
|
|
53
|
+
wcat events list --compact # events and calls, newest first; event_type:call for calls only
|
|
53
54
|
```
|
|
54
55
|
|
|
55
56
|
**Business data is a lane of `search all`** (`--only business`): invoices, payments, orders, contracts,
|