patchxnote-agent 0.2.3 → 0.2.5
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 +17 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -4,6 +4,8 @@
|
|
|
4
4
|
|
|
5
5
|
This npm package is the installer wrapper for PatchXNote Agent. It downloads the matching native `patchxnote` CLI binary from GitHub Releases, verifies `checksums.txt`, and installs it into a user-writable directory.
|
|
6
6
|
|
|
7
|
+
PatchXNote Agent is the local AI assistant connector for PatchXNote. It lets an MCP-capable AI assistant find PatchXNote records, inspect AI-generated results, create Markdown drafts, and manually send user-approved messages to Feishu, DingTalk, or another webhook.
|
|
8
|
+
|
|
7
9
|
Give this one-line prompt to a local-command-capable AI assistant:
|
|
8
10
|
|
|
9
11
|
```text
|
|
@@ -13,7 +15,7 @@ Install and connect PatchXNote Agent by following the public guide at https://pa
|
|
|
13
15
|
Or run the install command manually:
|
|
14
16
|
|
|
15
17
|
```sh
|
|
16
|
-
npx -y patchxnote-agent install --print-config
|
|
18
|
+
npx -y patchxnote-agent@0.2.5 install --print-config
|
|
17
19
|
```
|
|
18
20
|
|
|
19
21
|
PatchXNote Agent runs a local stdio MCP server:
|
|
@@ -22,7 +24,20 @@ PatchXNote Agent runs a local stdio MCP server:
|
|
|
22
24
|
patchxnote mcp serve
|
|
23
25
|
```
|
|
24
26
|
|
|
25
|
-
|
|
27
|
+
It currently exposes 19 MCP tools grouped around account/record lookup, webhook configuration and sending, and explicit AI result inspection.
|
|
28
|
+
|
|
29
|
+
Common CLI examples:
|
|
30
|
+
|
|
31
|
+
```sh
|
|
32
|
+
patchxnote model-io list --platform mobile
|
|
33
|
+
patchxnote model-io provider-response --request-id <request_id> --platform mobile --out ./provider-response.json
|
|
34
|
+
patchxnote webhook set "Product Feishu" --type feishu --url-stdin
|
|
35
|
+
patchxnote webhook send --target "Product Feishu" --file ./message.md
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
Webhook aliases can contain Chinese text, spaces, and dots.
|
|
39
|
+
|
|
40
|
+
Server-backed PatchXNote data access remains read-only through dedicated `/v1/agent/**` APIs. Local webhook tools can configure named targets and perform explicit manual sends. AI result tools can inspect source text, AI response, parsed result, and final result when explicitly called. The CLI stores credentials and webhook secrets in the OS-native keychain when available, never lists webhook URLs or signing secrets back, and does not expose raw audio, audio downloads, hardware write actions, payment flows, or Admin APIs.
|
|
26
41
|
|
|
27
42
|
For full installation, MCP setup, security notes, and troubleshooting, read the GitHub documentation:
|
|
28
43
|
|