diff --git a/CLI-ELECTRON.md b/CLI-ELECTRON.md index 0ac42f1..5d752a1 100644 --- a/CLI-ELECTRON.md +++ b/CLI-ELECTRON.md @@ -122,4 +122,4 @@ Core techniques: | Cursor | 9226 | CDP | | ChatWise | 9228 | CDP | | Notion | 9230 | CDP | -| Discord | 9232 | CDP | +| Discord App | 9232 | CDP | diff --git a/README.md b/README.md index 0023e12..794c26f 100644 --- a/README.md +++ b/README.md @@ -155,7 +155,7 @@ Run `opencli list` for the live registry. | **codex** | `status` `send` `read` `new` `extract-diff` `model` `ask` `screenshot` `history` `export` | 🖥️ Desktop | | **chatwise** | `status` `new` `send` `read` `ask` `model` `history` `export` `screenshot` | 🖥️ Desktop | | **notion** | `status` `search` `read` `new` `write` `sidebar` `favorites` `export` | 🖥️ Desktop | -| **discord** | `status` `send` `read` `channels` `servers` `search` `members` | 🖥️ Desktop | +| **discord-app** | `status` `send` `read` `channels` `servers` `search` `members` | 🖥️ Desktop | | **v2ex** | `hot` `latest` `topic` `daily` `me` `notifications` | 🌐 / 🔐 | | **xueqiu** | `feed` `hot-stock` `hot` `search` `stock` `watchlist` | 🔐 Browser | | **antigravity** | `status` `send` `read` `new` `evaluate` | 🖥️ Desktop | diff --git a/README.zh-CN.md b/README.zh-CN.md index f5dbe32..5769584 100644 --- a/README.zh-CN.md +++ b/README.zh-CN.md @@ -156,7 +156,7 @@ npm install -g @jackwener/opencli@latest | **codex** | `status` `send` `read` `new` `extract-diff` `model` `ask` `screenshot` `history` `export` | 🖥️ 桌面端 | | **chatwise** | `status` `new` `send` `read` `ask` `model` `history` `export` `screenshot` | 🖥️ 桌面端 | | **notion** | `status` `search` `read` `new` `write` `sidebar` `favorites` `export` | 🖥️ 桌面端 | -| **discord** | `status` `send` `read` `channels` `servers` `search` `members` | 🖥️ 桌面端 | +| **discord-app** | `status` `send` `read` `channels` `servers` `search` `members` | 🖥️ 桌面端 | | **v2ex** | `hot` `latest` `topic` `daily` `me` `notifications` | 🌐 / 🔐 | | **xueqiu** | `feed` `hot-stock` `hot` `search` `stock` `watchlist` | 🔐 浏览器 | | **antigravity** | `status` `send` `read` `new` `evaluate` | 🖥️ 桌面端 | diff --git a/src/clis/discord/README.md b/src/clis/discord-app/README.md similarity index 100% rename from src/clis/discord/README.md rename to src/clis/discord-app/README.md diff --git a/src/clis/discord/README.zh-CN.md b/src/clis/discord-app/README.zh-CN.md similarity index 100% rename from src/clis/discord/README.zh-CN.md rename to src/clis/discord-app/README.zh-CN.md diff --git a/src/clis/discord/channels.ts b/src/clis/discord-app/channels.ts similarity index 98% rename from src/clis/discord/channels.ts rename to src/clis/discord-app/channels.ts index c0253aa..ac5f940 100644 --- a/src/clis/discord/channels.ts +++ b/src/clis/discord-app/channels.ts @@ -2,7 +2,7 @@ import { cli, Strategy } from '../../registry.js'; import type { IPage } from '../../types.js'; export const channelsCommand = cli({ - site: 'discord', + site: 'discord-app', name: 'channels', description: 'List channels in the current Discord server', domain: 'localhost', diff --git a/src/clis/discord/members.ts b/src/clis/discord-app/members.ts similarity index 98% rename from src/clis/discord/members.ts rename to src/clis/discord-app/members.ts index 613646e..bdbfb82 100644 --- a/src/clis/discord/members.ts +++ b/src/clis/discord-app/members.ts @@ -2,7 +2,7 @@ import { cli, Strategy } from '../../registry.js'; import type { IPage } from '../../types.js'; export const membersCommand = cli({ - site: 'discord', + site: 'discord-app', name: 'members', description: 'List online members in the current Discord channel', domain: 'localhost', diff --git a/src/clis/discord/read.ts b/src/clis/discord-app/read.ts similarity index 98% rename from src/clis/discord/read.ts rename to src/clis/discord-app/read.ts index 160ea62..6fd9e28 100644 --- a/src/clis/discord/read.ts +++ b/src/clis/discord-app/read.ts @@ -2,7 +2,7 @@ import { cli, Strategy } from '../../registry.js'; import type { IPage } from '../../types.js'; export const readCommand = cli({ - site: 'discord', + site: 'discord-app', name: 'read', description: 'Read recent messages from the active Discord channel', domain: 'localhost', diff --git a/src/clis/discord/search.ts b/src/clis/discord-app/search.ts similarity index 98% rename from src/clis/discord/search.ts rename to src/clis/discord-app/search.ts index d45b7b3..e900f70 100644 --- a/src/clis/discord/search.ts +++ b/src/clis/discord-app/search.ts @@ -2,7 +2,7 @@ import { cli, Strategy } from '../../registry.js'; import type { IPage } from '../../types.js'; export const searchCommand = cli({ - site: 'discord', + site: 'discord-app', name: 'search', description: 'Search messages in the current Discord server/channel (Cmd+F)', domain: 'localhost', diff --git a/src/clis/discord/send.ts b/src/clis/discord-app/send.ts similarity index 97% rename from src/clis/discord/send.ts rename to src/clis/discord-app/send.ts index b406129..e899d33 100644 --- a/src/clis/discord/send.ts +++ b/src/clis/discord-app/send.ts @@ -2,7 +2,7 @@ import { cli, Strategy } from '../../registry.js'; import type { IPage } from '../../types.js'; export const sendCommand = cli({ - site: 'discord', + site: 'discord-app', name: 'send', description: 'Send a message in the active Discord channel', domain: 'localhost', diff --git a/src/clis/discord/servers.ts b/src/clis/discord-app/servers.ts similarity index 98% rename from src/clis/discord/servers.ts rename to src/clis/discord-app/servers.ts index f17e4ee..7f6ca11 100644 --- a/src/clis/discord/servers.ts +++ b/src/clis/discord-app/servers.ts @@ -2,7 +2,7 @@ import { cli, Strategy } from '../../registry.js'; import type { IPage } from '../../types.js'; export const serversCommand = cli({ - site: 'discord', + site: 'discord-app', name: 'servers', description: 'List all Discord servers (guilds) in the sidebar', domain: 'localhost', diff --git a/src/clis/discord/status.ts b/src/clis/discord-app/status.ts similarity index 96% rename from src/clis/discord/status.ts rename to src/clis/discord-app/status.ts index 006a260..3072c72 100644 --- a/src/clis/discord/status.ts +++ b/src/clis/discord-app/status.ts @@ -2,7 +2,7 @@ import { cli, Strategy } from '../../registry.js'; import type { IPage } from '../../types.js'; export const statusCommand = cli({ - site: 'discord', + site: 'discord-app', name: 'status', description: 'Check active CDP connection to Discord Desktop', domain: 'localhost',