Skip to content

Commit c42b040

Browse files
authored
Rename chatgpt adapters: desktop → chatgpt-app, web → chatgpt (#989)
* Rename chatgpt adapters: desktop → chatgpt-app, web → chatgpt Aligns with existing `-app` suffix convention (discord-app, doubao-app): - clis/chatgpt/ (desktop, AppleScript) → clis/chatgpt-app/ - clis/chatgptweb/ (browser, chatgpt.com) → clis/chatgpt/ - electron-apps.ts: chatgpt → chatgpt-app - Updated all docs and README references Closes #283 * Fix review findings: update cli-manifest.json and skill docs - cli-manifest.json: update site/modulePath/sourceFile from chatgpt to chatgpt-app - skills/opencli-usage/desktop.md: update commands from chatgpt to chatgpt-app
1 parent 79a15e8 commit c42b040

File tree

17 files changed

+50
-50
lines changed

17 files changed

+50
-50
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -246,7 +246,7 @@ Control Electron desktop apps directly from the terminal. Each adapter has its o
246246
| **Cursor** | Control Cursor IDE — Composer, chat, code extraction | [Doc](./docs/adapters/desktop/cursor.md) |
247247
| **Codex** | Drive OpenAI Codex CLI agent headlessly | [Doc](./docs/adapters/desktop/codex.md) |
248248
| **Antigravity** | Control Antigravity Ultra from terminal | [Doc](./docs/adapters/desktop/antigravity.md) |
249-
| **ChatGPT** | Automate ChatGPT macOS desktop app | [Doc](./docs/adapters/desktop/chatgpt.md) |
249+
| **ChatGPT App** | Automate ChatGPT macOS desktop app | [Doc](./docs/adapters/desktop/chatgpt-app.md) |
250250
| **ChatWise** | Multi-LLM client (GPT-4, Claude, Gemini) | [Doc](./docs/adapters/desktop/chatwise.md) |
251251
| **Notion** | Search, read, write Notion pages | [Doc](./docs/adapters/desktop/notion.md) |
252252
| **Discord** | Discord Desktop — messages, channels, servers | [Doc](./docs/adapters/desktop/discord.md) |

README.zh-CN.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ npm link
202202
| **v2ex** | `hot` `latest` `topic` `node` `user` `member` `replies` `nodes` `daily` `me` `notifications` | 公开 / 浏览器 |
203203
| **xueqiu** | `feed` `hot-stock` `hot` `search` `stock` `comments` `watchlist` `earnings-date` `fund-holdings` `fund-snapshot` | 浏览器 |
204204
| **antigravity** | `status` `send` `read` `new` `dump` `extract-code` `model` `watch` | 桌面端 |
205-
| **chatgpt** | `status` `new` `send` `read` `ask` `model` | 桌面端 |
205+
| **chatgpt-app** | `status` `new` `send` `read` `ask` `model` | 桌面端 |
206206
| **xiaohongshu** | `search` `notifications` `feed` `user` `download` `publish` `creator-notes` `creator-note-detail` `creator-notes-summary` `creator-profile` `creator-stats` | 浏览器 |
207207
| **xiaoe** | `courses` `detail` `catalog` `play-url` `content` | 浏览器 |
208208
| **quark** | `ls` `mkdir` `mv` `rename` `rm` `save` `share-tree` | 浏览器 |
@@ -300,7 +300,7 @@ opencli register mycli
300300
| **Cursor** | 控制 Cursor IDE — Composer、对话、代码提取等 | [Doc](./docs/adapters/desktop/cursor.md) |
301301
| **Codex** | 在后台(无头)驱动 OpenAI Codex CLI Agent | [Doc](./docs/adapters/desktop/codex.md) |
302302
| **Antigravity** | 在终端直接控制 Antigravity Ultra | [Doc](./docs/adapters/desktop/antigravity.md) |
303-
| **ChatGPT** | 自动化操作 ChatGPT macOS 桌面客户端 | [Doc](./docs/adapters/desktop/chatgpt.md) |
303+
| **ChatGPT App** | 自动化操作 ChatGPT macOS 桌面客户端 | [Doc](./docs/adapters/desktop/chatgpt-app.md) |
304304
| **ChatWise** | 多 LLM 客户端(GPT-4、Claude、Gemini) | [Doc](./docs/adapters/desktop/chatwise.md) |
305305
| **Notion** | 搜索、读取、写入 Notion 页面 | [Doc](./docs/adapters/desktop/notion.md) |
306306
| **Discord** | Discord 桌面版 — 消息、频道、服务器 | [Doc](./docs/adapters/desktop/discord.md) |

cli-manifest.json

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -2779,7 +2779,7 @@
27792779
"sourceFile": "chaoxing/exams.js"
27802780
},
27812781
{
2782-
"site": "chatgpt",
2782+
"site": "chatgpt-app",
27832783
"name": "ask",
27842784
"description": "Send a prompt and wait for the AI response (send + wait + read)",
27852785
"domain": "localhost",
@@ -2819,11 +2819,11 @@
28192819
"Text"
28202820
],
28212821
"type": "js",
2822-
"modulePath": "chatgpt/ask.js",
2823-
"sourceFile": "chatgpt/ask.js"
2822+
"modulePath": "chatgpt-app/ask.js",
2823+
"sourceFile": "chatgpt-app/ask.js"
28242824
},
28252825
{
2826-
"site": "chatgpt",
2826+
"site": "chatgpt-app",
28272827
"name": "model",
28282828
"description": "Switch ChatGPT Desktop model/mode (auto, instant, thinking, 5.2-instant, 5.2-thinking)",
28292829
"domain": "localhost",
@@ -2850,11 +2850,11 @@
28502850
"Model"
28512851
],
28522852
"type": "js",
2853-
"modulePath": "chatgpt/model.js",
2854-
"sourceFile": "chatgpt/model.js"
2853+
"modulePath": "chatgpt-app/model.js",
2854+
"sourceFile": "chatgpt-app/model.js"
28552855
},
28562856
{
2857-
"site": "chatgpt",
2857+
"site": "chatgpt-app",
28582858
"name": "new",
28592859
"description": "Open a new chat in ChatGPT Desktop App",
28602860
"domain": "localhost",
@@ -2865,11 +2865,11 @@
28652865
"Status"
28662866
],
28672867
"type": "js",
2868-
"modulePath": "chatgpt/new.js",
2869-
"sourceFile": "chatgpt/new.js"
2868+
"modulePath": "chatgpt-app/new.js",
2869+
"sourceFile": "chatgpt-app/new.js"
28702870
},
28712871
{
2872-
"site": "chatgpt",
2872+
"site": "chatgpt-app",
28732873
"name": "read",
28742874
"description": "Read the last visible message from the focused ChatGPT Desktop window",
28752875
"domain": "localhost",
@@ -2881,11 +2881,11 @@
28812881
"Text"
28822882
],
28832883
"type": "js",
2884-
"modulePath": "chatgpt/read.js",
2885-
"sourceFile": "chatgpt/read.js"
2884+
"modulePath": "chatgpt-app/read.js",
2885+
"sourceFile": "chatgpt-app/read.js"
28862886
},
28872887
{
2888-
"site": "chatgpt",
2888+
"site": "chatgpt-app",
28892889
"name": "send",
28902890
"description": "Send a message to the active ChatGPT Desktop App window",
28912891
"domain": "localhost",
@@ -2917,11 +2917,11 @@
29172917
"Status"
29182918
],
29192919
"type": "js",
2920-
"modulePath": "chatgpt/send.js",
2921-
"sourceFile": "chatgpt/send.js"
2920+
"modulePath": "chatgpt-app/send.js",
2921+
"sourceFile": "chatgpt-app/send.js"
29222922
},
29232923
{
2924-
"site": "chatgpt",
2924+
"site": "chatgpt-app",
29252925
"name": "status",
29262926
"description": "Check if ChatGPT Desktop App is running natively on macOS",
29272927
"domain": "localhost",
@@ -2932,8 +2932,8 @@
29322932
"Status"
29332933
],
29342934
"type": "js",
2935-
"modulePath": "chatgpt/status.js",
2936-
"sourceFile": "chatgpt/status.js"
2935+
"modulePath": "chatgpt-app/status.js",
2936+
"sourceFile": "chatgpt-app/status.js"
29372937
},
29382938
{
29392939
"site": "chatwise",
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { cli, Strategy } from '@jackwener/opencli/registry';
33
import { ConfigError } from '@jackwener/opencli/errors';
44
import { activateChatGPT, getVisibleChatMessages, selectModel, MODEL_CHOICES, isGenerating } from './ax.js';
55
export const askCommand = cli({
6-
site: 'chatgpt',
6+
site: 'chatgpt-app',
77
name: 'ask',
88
description: 'Send a prompt and wait for the AI response (send + wait + read)',
99
domain: 'localhost',
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import { cli, Strategy } from '@jackwener/opencli/registry';
22
import { ConfigError } from '@jackwener/opencli/errors';
33
import { activateChatGPT, selectModel, MODEL_CHOICES } from './ax.js';
44
export const modelCommand = cli({
5-
site: 'chatgpt',
5+
site: 'chatgpt-app',
66
name: 'model',
77
description: 'Switch ChatGPT Desktop model/mode (auto, instant, thinking, 5.2-instant, 5.2-thinking)',
88
domain: 'localhost',
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import { execSync } from 'node:child_process';
22
import { cli, Strategy } from '@jackwener/opencli/registry';
33
import { ConfigError, getErrorMessage } from '@jackwener/opencli/errors';
44
export const newCommand = cli({
5-
site: 'chatgpt',
5+
site: 'chatgpt-app',
66
name: 'new',
77
description: 'Open a new chat in ChatGPT Desktop App',
88
domain: 'localhost',
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { cli, Strategy } from '@jackwener/opencli/registry';
33
import { CommandExecutionError, ConfigError, getErrorMessage } from '@jackwener/opencli/errors';
44
import { getVisibleChatMessages } from './ax.js';
55
export const readCommand = cli({
6-
site: 'chatgpt',
6+
site: 'chatgpt-app',
77
name: 'read',
88
description: 'Read the last visible message from the focused ChatGPT Desktop window',
99
domain: 'localhost',
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { cli, Strategy } from '@jackwener/opencli/registry';
33
import { getErrorMessage } from '@jackwener/opencli/errors';
44
import { activateChatGPT, selectModel, MODEL_CHOICES } from './ax.js';
55
export const sendCommand = cli({
6-
site: 'chatgpt',
6+
site: 'chatgpt-app',
77
name: 'send',
88
description: 'Send a message to the active ChatGPT Desktop App window',
99
domain: 'localhost',
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import { execSync } from 'node:child_process';
22
import { cli, Strategy } from '@jackwener/opencli/registry';
33
import { CommandExecutionError, ConfigError } from '@jackwener/opencli/errors';
44
export const statusCommand = cli({
5-
site: 'chatgpt',
5+
site: 'chatgpt-app',
66
name: 'status',
77
description: 'Check if ChatGPT Desktop App is running natively on macOS',
88
domain: 'localhost',

0 commit comments

Comments
 (0)