patchxnote-agent 0.2.12 → 0.2.13

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 CHANGED
@@ -6,12 +6,14 @@ This npm package is the installer and thin launcher wrapper for PatchXNote Agent
6
6
 
7
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
8
 
9
- Version `0.2.12` defaults to the production API at `https://freenote.patch-x.cn`. When upgrading from test, update or remove explicit server-address overrides in your CLI and MCP host configuration, then run `mcp login` in the same runtime and profile that launches MCP. Test credentials and records do not migrate to production.
9
+ Version `0.2.13` defaults to the production API at `https://freenote.patch-x.cn`. When upgrading from test, update or remove explicit server-address overrides in your CLI and MCP host configuration, then run `mcp login` in the same runtime and profile that launches MCP. Test credentials and records do not migrate to production.
10
+
11
+ Production service: [https://freenote.patch-x.cn/](https://freenote.patch-x.cn/) · [MCP setup](https://freenote.patch-x.cn/mcp/setup/) · [Download App](https://freenote.patch-x.cn/download/)
10
12
 
11
13
  Give this one-line prompt to an AI assistant:
12
14
 
13
15
  ```text
14
- Help me connect PatchXNote MCP and install the PatchXNote MCP Skill when the client supports Agent Skills. First, if this is a local command-capable environment, run npx -y patchxnote-agent@latest skill install on this machine so future or long sessions remember the PatchXNote SOP; if the current client does not support Skill installation, do not treat that as a connection blocker and continue with MCP setup according to the client's capabilities. Identify the MCP client you are running in: if this is a local MCP client such as Codex, Cursor, VS Code, Claude Desktop, Claude Code, or Windsurf, run npx -y patchxnote-agent@latest setup --client <client-id> on this machine in the same OS/runtime that will later launch the MCP server. If this is an AI client or cloud platform that cannot run local commands but supports Remote MCP, custom connectors, custom MCP services, or tool plugins, create a custom MCP connector named PatchXNote MCP and connect it with this PatchXNote Remote MCP URL: https://freenote.patch-x.cn/mcp. If you are not sure which client ID or config format to use, local clients should first run npx -y patchxnote-agent@latest mcp config and use the printed generic stdio config, while remote clients should look for a Remote MCP Server URL, MCP Server URL, or Custom Connector setup entry. For login, open the browser and let me complete PatchXNote phone-code authorization there; do not ask me to paste OTP codes, OAuth codes, authorization codes, access tokens, refresh tokens, or webhook secrets into chat. After setup, call patchxnote_get_current_user and patchxnote_list_memories with {"platform":"mobile","limit":5} to verify it works. References: https://github.com/ZsTs119/patchxnote-agent and https://patchx2025.feishu.cn/wiki/PnVRwYT7IirFPckairGcWPnHnCd
16
+ Help me connect PatchXNote MCP and install the PatchXNote MCP Skill when the client supports Agent Skills. Use the production service at https://freenote.patch-x.cn/ and the setup page at https://freenote.patch-x.cn/mcp/setup/; if existing configuration explicitly points to the old test service, update the server address used for this connection to production first. First, if this is a local command-capable environment, run npx -y patchxnote-agent@latest skill install on this machine so future or long sessions remember the PatchXNote SOP; if the current client does not support Skill installation, do not treat that as a connection blocker and continue with MCP setup according to the client's capabilities. Identify the MCP client you are running in: if this is a local MCP client such as Codex, Cursor, VS Code, Claude Desktop, Claude Code, or Windsurf, run npx -y patchxnote-agent@latest setup --client <client-id> on this machine in the same OS/runtime that will later launch the MCP server. If this is an AI client or cloud platform that cannot run local commands but supports Remote MCP, custom connectors, custom MCP services, or tool plugins, create a custom MCP connector named PatchXNote MCP and connect it with this PatchXNote Remote MCP URL: https://freenote.patch-x.cn/mcp. If you are not sure which client ID or config format to use, local clients should first run npx -y patchxnote-agent@latest mcp config and use the printed generic stdio config, while remote clients should look for a Remote MCP Server URL, MCP Server URL, or Custom Connector setup entry. For login, open the browser and let me complete PatchXNote phone-code authorization there; do not ask me to paste OTP codes, OAuth codes, authorization codes, access tokens, refresh tokens, or webhook secrets into chat. After setup, call patchxnote_get_current_user and patchxnote_list_memories with {"platform":"mobile","limit":5} to verify it works. References: https://github.com/ZsTs119/patchxnote-agent and https://patchx2025.feishu.cn/wiki/PnVRwYT7IirFPckairGcWPnHnCd
15
17
  ```
16
18
 
17
19
  The npm package includes an Agent Skills package at `skills/patchxnote-mcp/`. Compatible agents can install or refresh it with:
package/package.json CHANGED
@@ -1,13 +1,13 @@
1
1
  {
2
2
  "name": "patchxnote-agent",
3
- "version": "0.2.12",
3
+ "version": "0.2.13",
4
4
  "mcpName": "io.github.zsts119/patchxnote-agent",
5
5
  "description": "Installer wrapper for the PatchXNote Agent CLI, local MCP server, and PatchXNote MCP Skill.",
6
6
  "repository": {
7
7
  "type": "git",
8
8
  "url": "git+https://github.com/ZsTs119/patchxnote-agent.git"
9
9
  },
10
- "homepage": "https://github.com/ZsTs119/patchxnote-agent#readme",
10
+ "homepage": "https://freenote.patch-x.cn/mcp/setup/",
11
11
  "bin": {
12
12
  "patchxnote-agent": "bin/patchxnote-agent.js"
13
13
  },
@@ -7,13 +7,13 @@ Use this reference when installing, repairing, or verifying PatchXNote MCP for a
7
7
  Chinese:
8
8
 
9
9
  ```text
10
- 请帮我接入 PatchXNote MCP,并在客户端支持 Agent Skills 时安装 PatchXNote MCP Skill。首先,如果当前是支持本地命令执行的环境,请在本机执行 npx -y patchxnote-agent@latest skill install,让后续新会话或长上下文能记住 PatchXNote SOP;如果当前客户端不支持 Skill 安装,就直接继续 MCP setup。请识别你所在的 MCP 客户端,如果是 Codex、Cursor、VS Code、Claude Desktop、Claude Code、Windsurf 等本地 MCP 客户端,请在当前本机、并且在后续会启动 MCP 服务的同一个运行时执行 npx -y patchxnote-agent@latest setup --client <client-id>;如果不确定客户端 ID,就先执行 npx -y patchxnote-agent@latest mcp config 并使用打印出的通用 stdio 配置。登录时请打开浏览器让我完成 PatchXNote 手机号验证码授权,不要让我把验证码、OAuth code、授权码、access token、refresh token 或 webhook secret 粘贴到聊天里。完成后请调用 patchxnote_get_current_user 和 patchxnote_list_memories,参数 {"platform":"mobile","limit":5} 验证可用。参考资料:https://github.com/ZsTs119/patchxnote-agent 和 https://patchx2025.feishu.cn/wiki/PnVRwYT7IirFPckairGcWPnHnCd。
10
+ 请帮我接入 PatchXNote MCP,并在客户端支持 Agent Skills 时安装 PatchXNote MCP Skill。请使用生产服务地址 https://freenote.patch-x.cn/,接入页面为 https://freenote.patch-x.cn/mcp/setup/;如现有配置显式指定了旧测试地址,请先将本次接入使用的服务地址调整为上述生产地址。首先,如果当前是支持本地命令执行的环境,请在本机执行 npx -y patchxnote-agent@latest skill install,让后续新会话或长上下文能记住 PatchXNote SOP;如果当前客户端不支持 Skill 安装,不要判定为不能接入,请继续按客户端能力完成 MCP 接入。请识别你所在的 MCP 客户端:如果是 Codex、Cursor、VS Code、Claude Desktop、Claude Code、Windsurf 等本地 MCP 客户端,请在当前本机、并且在后续会启动 MCP 服务的同一个运行时执行 npx -y patchxnote-agent@latest setup --client <client-id>;如果是不支持本机命令但支持 Remote MCP、自定义连接器、自定义 MCP 服务或工具插件的 AI 客户端/云平台,请创建名为 PatchXNote MCP 的自定义 MCP 连接器,并使用这个 PatchXNote Remote MCP URL 完成接入:https://freenote.patch-x.cn/mcp。如果不确定客户端 ID 或配置格式,本地客户端先执行 npx -y patchxnote-agent@latest mcp config 并使用打印出的通用 stdio 配置,远程客户端则优先寻找 Remote MCP Server URL / MCP Server URL / Custom Connector 配置入口。登录时请打开浏览器让我完成 PatchXNote 手机号验证码授权,不要让我把验证码、OAuth code、授权码、access token、refresh token 或 webhook secret 粘贴到聊天里。完成后请调用 patchxnote_get_current_user 和 patchxnote_list_memories,参数 {"platform":"mobile","limit":5} 验证可用。参考资料:https://github.com/ZsTs119/patchxnote-agent 和 https://patchx2025.feishu.cn/wiki/PnVRwYT7IirFPckairGcWPnHnCd。
11
11
  ```
12
12
 
13
13
  English:
14
14
 
15
15
  ```text
16
- Help me connect PatchXNote MCP and install the PatchXNote MCP Skill when the client supports Agent Skills. First, if this is a local command-capable environment, execute npx -y patchxnote-agent@latest skill install on this machine so future or long sessions remember the PatchXNote SOP; if skill installation is not supported, continue with MCP setup directly. Identify the MCP client you are running in; if this is a local MCP client such as Codex, Cursor, VS Code, Claude Desktop, Claude Code, or Windsurf, run npx -y patchxnote-agent@latest setup --client <client-id> on this machine in the same OS/runtime that will later launch the MCP server. If you are not sure which client ID to use, first run npx -y patchxnote-agent@latest mcp config and use the printed generic stdio config. For login, open the browser and let me complete PatchXNote phone-code authorization there; do not ask me to paste OTP codes, OAuth codes, authorization codes, access tokens, refresh tokens, or webhook secrets into chat. After setup, call patchxnote_get_current_user and patchxnote_list_memories with {"platform":"mobile","limit":5} to verify it works. References: https://github.com/ZsTs119/patchxnote-agent and https://patchx2025.feishu.cn/wiki/PnVRwYT7IirFPckairGcWPnHnCd
16
+ Help me connect PatchXNote MCP and install the PatchXNote MCP Skill when the client supports Agent Skills. Use the production service at https://freenote.patch-x.cn/ and the setup page at https://freenote.patch-x.cn/mcp/setup/; if existing configuration explicitly points to the old test service, update the server address used for this connection to production first. First, if this is a local command-capable environment, run npx -y patchxnote-agent@latest skill install on this machine so future or long sessions remember the PatchXNote SOP; if the current client does not support Skill installation, do not treat that as a connection blocker and continue with MCP setup according to the client's capabilities. Identify the MCP client you are running in: if this is a local MCP client such as Codex, Cursor, VS Code, Claude Desktop, Claude Code, or Windsurf, run npx -y patchxnote-agent@latest setup --client <client-id> on this machine in the same OS/runtime that will later launch the MCP server. If this is an AI client or cloud platform that cannot run local commands but supports Remote MCP, custom connectors, custom MCP services, or tool plugins, create a custom MCP connector named PatchXNote MCP and connect it with this PatchXNote Remote MCP URL: https://freenote.patch-x.cn/mcp. If you are not sure which client ID or config format to use, local clients should first run npx -y patchxnote-agent@latest mcp config and use the printed generic stdio config, while remote clients should look for a Remote MCP Server URL, MCP Server URL, or Custom Connector setup entry. For login, open the browser and let me complete PatchXNote phone-code authorization there; do not ask me to paste OTP codes, OAuth codes, authorization codes, access tokens, refresh tokens, or webhook secrets into chat. After setup, call patchxnote_get_current_user and patchxnote_list_memories with {"platform":"mobile","limit":5} to verify it works. References: https://github.com/ZsTs119/patchxnote-agent and https://patchx2025.feishu.cn/wiki/PnVRwYT7IirFPckairGcWPnHnCd
17
17
  ```
18
18
 
19
19
  ## Client Detection
@@ -97,4 +97,4 @@ If the client asks for a current tool count, answer from `tools/list`, not from
97
97
 
98
98
  ## Cloud Or Hosted Clients
99
99
 
100
- Cloud-only clients cannot run the user's local `npx` process. For Feishu Aily, Doubao Work Partner, Tencent Agent Development Platform, and enterprise WorkBuddy platform mode, use a hosted remote MCP path only when that channel has evidence. Do not claim local stdio setup proves remote platform acceptance.
100
+ Cloud-only clients cannot run the user's local `npx` process. The production Remote MCP URL is `https://freenote.patch-x.cn/mcp`; the service base URL alone is not the MCP endpoint. For Feishu Aily, Doubao Work Partner, Tencent Agent Development Platform, and enterprise WorkBuddy platform mode, use a hosted remote MCP path only when that channel has evidence. Do not claim local stdio setup proves remote platform acceptance.
@@ -4,6 +4,11 @@ Use this reference when links, versions, marketplace claims, or platform-specifi
4
4
 
5
5
  ## PatchXNote Links
6
6
 
7
+ - Production API base URL: `https://freenote.patch-x.cn/`
8
+ - MCP setup page: `https://freenote.patch-x.cn/mcp/setup/`
9
+ - Remote MCP endpoint: `https://freenote.patch-x.cn/mcp`
10
+ - App download: `https://freenote.patch-x.cn/download/`
11
+
7
12
  - GitHub repository: `https://github.com/ZsTs119/patchxnote-agent`
8
13
  - npm package: `https://www.npmjs.com/package/patchxnote-agent`
9
14
  - Feishu public guide: `https://patchx2025.feishu.cn/wiki/PnVRwYT7IirFPckairGcWPnHnCd`