@wirecat/wirecat 1.0.0 → 2.0.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/README.md +10 -11
- package/contracts/wirecat.json +1 -1
- package/dist/answer.js +14 -6
- package/dist/bin/wcat-wirecat.js +2 -2
- package/dist/bundle/{auto-YETGUQ2J.js → auto-FUO5KVI4.js} +6 -5
- package/dist/bundle/{chunk-KPJVVFQF.js → chunk-5WFO6JWX.js} +11 -5
- package/dist/bundle/{chunk-3ME37WWB.js → chunk-E6ATHTD4.js} +1 -1
- package/dist/bundle/{chunk-X5OK73GU.js → chunk-EXGRACGB.js} +12 -1
- package/dist/bundle/{chunk-KNFSW562.js → chunk-FJI2GGCP.js} +2 -2
- package/dist/bundle/{chunk-4WI3FO7T.js → chunk-GEOUDXRA.js} +6 -6
- package/dist/bundle/{chunk-GGRL6DTE.js → chunk-KDZBXQEF.js} +3 -3
- package/dist/bundle/{chunk-DWQQRBQV.js → chunk-KGZHDTL7.js} +2 -2
- package/dist/bundle/{chunk-ZC4PRE6C.js → chunk-PFPRK73R.js} +1 -1
- package/dist/bundle/{chunk-FOWR5KJS.js → chunk-VU2Y645U.js} +3 -3
- package/dist/bundle/{chunk-WMPDRWVF.js → chunk-WV25HYY7.js} +3 -3
- package/dist/bundle/{entry-S4DSYEAY.js → entry-5EWNCB5P.js} +6 -6
- package/dist/bundle/{failure-FALOD7QW.js → failure-QMAD62PD.js} +4 -4
- package/dist/bundle/{from-memo-XVOLSUOM.js → from-memo-6657KRIY.js} +7 -6
- package/dist/bundle/{program-XSZSINBU.js → program-TSDADT6D.js} +133 -54
- package/dist/bundle/{server-GQ4NZUDL.js → server-3YTTY2HK.js} +74 -31
- package/dist/bundle/{update-2EH5KHTV.js → update-JVDUBORQ.js} +4 -4
- package/dist/bundle/wcat-wirecat.js +3 -3
- package/dist/config-command.js +1 -1
- package/dist/context/command.js +1 -1
- package/dist/context/context.js +1 -1
- package/dist/knowledge/project-gather-command.js +1 -1
- package/dist/mcp/catalogue.js +2 -0
- package/dist/mcp/permissions.js +1 -1
- package/dist/mcp/server.js +11 -19
- package/dist/reasons.js +5 -5
- package/dist/ref-alias.js +57 -0
- package/dist/run/import.js +37 -6
- package/dist/search/answers.js +22 -17
- package/dist/search/command.js +13 -10
- package/dist/show/command.js +63 -5
- package/dist/store/source-list.js +1 -1
- package/dist/version.js +1 -1
- package/package.json +2 -2
- package/skills/wcat/SKILL.md +1 -1
- package/skills/wcat/topics/mcp.md +3 -3
- package/skills/wcat/topics/search.md +3 -3
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wirecat/wirecat",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "2.0.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",
|
|
@@ -62,7 +62,7 @@
|
|
|
62
62
|
"dependencies": {
|
|
63
63
|
"@modelcontextprotocol/server": "2.4.0",
|
|
64
64
|
"@wirecat/cli-base": "2.1.0",
|
|
65
|
-
"@wirecat/cli-core": "3.
|
|
65
|
+
"@wirecat/cli-core": "3.2.0",
|
|
66
66
|
"commander": "15.0.0",
|
|
67
67
|
"valibot": "1.5.0"
|
|
68
68
|
},
|
package/skills/wcat/SKILL.md
CHANGED
|
@@ -29,7 +29,7 @@ wcat reads the local store tg and max write, plus the owner's notes and imported
|
|
|
29
29
|
are coverage, not absence.
|
|
30
30
|
3. Read the dates: a later message can replace an earlier one, and a suggestion is not a decision.
|
|
31
31
|
4. Cite each record by its reference exactly as printed (`msg:…`, `note:…`, `document:…`, `meeting:…`).
|
|
32
|
-
A line cut short opens with `wcat show <ref
|
|
32
|
+
A line cut short opens with `wcat show <ref>`: a note's text, or the command that reads it.
|
|
33
33
|
|
|
34
34
|
A client, person or deal: a ref from `wcat search people <name>` or `wcat deals list`, then topic `search`.
|
|
35
35
|
A project: `wcat projects context <key>`, then `wcat projects status <key> --compact`. One kind only:
|
|
@@ -9,13 +9,13 @@ Saved dotted `permissions` keys apply to commands. `deny` keeps a command visibl
|
|
|
9
9
|
`readonly` allows reads, and `ask` or `allow` permits a write. `ask` runs without a terminal question over MCP:
|
|
10
10
|
respect the owner's existing authorization before acting. `mcp.authority` defaults to `deny` for source-folder and mail-rule
|
|
11
11
|
changes. `WCAT_READ_ONLY=1` marks writing commands unavailable and refuses calls. `--permission key=level` can only tighten saved levels.
|
|
12
|
-
Find command arguments before calling them. Through `wcat_read`, open a cited note with `
|
|
13
|
-
(`
|
|
12
|
+
Find command arguments before calling them. Through `wcat_read`, open a cited note or document with `show`
|
|
13
|
+
(`ref: [ref]`) or a message/email with `messages show` (`message: ref`, `full: true` for whole attachment text).
|
|
14
14
|
|
|
15
15
|
`WCAT_GROUP_LOCK=<group>` pins the server to one account group, and it fails closed. Only these run: `context`, `show`,
|
|
16
16
|
`messages show`, `search all|messages|mail|notes|people`, `groups list`, `tags add|remove`, the `deals`, `leads`,
|
|
17
17
|
`organizations`, `pipelines list|show`, `memories`, `facts`, `actions`, `review` and `tasks` commands,
|
|
18
|
-
`projects list|add|context|status|key-documents`, `people list|add`,
|
|
18
|
+
`projects list|add|context|status|key-documents`, `people list|add`,
|
|
19
19
|
`relationships list|add|roles list`. Everything else is
|
|
20
20
|
`permission_error`. Your memories, facts and the owner's notes and tasks show in every group; a reference, a bare id of
|
|
21
21
|
one, another group, `--source all` or an account outside the group is `permission_error`. Do not read around it; say
|
|
@@ -47,7 +47,7 @@ wcat search all '<words>' --only meetings --json # every meeting account; next
|
|
|
47
47
|
wcat search messages 'content:invoice' --json # inside files
|
|
48
48
|
wcat search mail '<words>' --source email:<name> --json # add NOT mailbox:bulk when newsletters crowd it
|
|
49
49
|
wcat commands search messages --json # one command's contract, by its path
|
|
50
|
-
wcat show chat:max/<account>/<chat> note:<id> # what any reference is,
|
|
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
53
|
```
|
|
@@ -60,8 +60,8 @@ leads are their own lane. When the owner denies `business.list` to the MCP serve
|
|
|
60
60
|
`meta.issues` says so; `--only business` is then refused.
|
|
61
61
|
|
|
62
62
|
Cite each result by its reference (`msg:…`, `note:…`, `document:…`) so the owner can open it.
|
|
63
|
-
`wcat show <ref>` tells what any reference is and the command that opens it
|
|
64
|
-
reference it may mean. Read with `--compact`: one line per item, every reference kept, paging and next steps as `#`
|
|
63
|
+
`wcat show <ref>` tells what any reference is and the command that opens it, and gives a note's or document's text
|
|
64
|
+
(the first 2000 characters; its next step reads the rest); a bare number is refused with the reference it may mean. Read with `--compact`: one line per item, every reference kept, paging and next steps as `#`
|
|
65
65
|
lines; `--json` when you need the fields. Never write message, mail or note text to a file.
|
|
66
66
|
|
|
67
67
|
Use `--before-time <ISO timestamp with UTC offset>` (MCP `before_time`) to repeat an exact exclusive end time;
|