refactor: rename discord → discord-app to distinguish from web version

Desktop Electron app adapters should use '-app' suffix when a web version also exists.
This commit is contained in:
jackwener committed 2026-03-18 22:43:26 +08:00
1 parent 63489fb596
commit be194a1849
12 files changed
+10 -10

No files matched your search

+1 -1
View File
@@ -122,4 +122,4 @@ Core techniques:
| Cursor | 9226 | CDP |
| ChatWise | 9228 | CDP |
| Notion | 9230 | CDP |
| Discord | 9232 | CDP |
| Discord App | 9232 | CDP |
+1 -1
View File
@@ -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 |
+1 -1
View File
@@ -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` | 🖥️ 桌面端 |
File renamed without changes.
File renamed without changes.
@@ -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',
@@ -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',
@@ -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',
@@ -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',
@@ -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',
@@ -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',
@@ -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',