wtagent 0.1.0-alpha.0

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/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 WTAgent contributors
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md ADDED
@@ -0,0 +1,83 @@
1
+ # WTAgent
2
+
3
+ Turn ChatGPT Web into a local CLI agent.
4
+
5
+ 把 ChatGPT 网页版变成一个本地 CLI Agent。
6
+
7
+ [中文](#中文) · [English](#english)
8
+
9
+ ## 中文
10
+
11
+ WTAgent 使用你自己的 ChatGPT Pro 网页会话,提供类似 Codex 的本地 CLI Agent 体验。
12
+
13
+ ChatGPT Web 负责思考,WTAgent 在本机:
14
+
15
+ - 读取和修改本地文件
16
+ - 调用本地 Shell,运行构建、测试和开发服务
17
+
18
+ 不需要 OpenAI API Key。WTAgent 使用独立的 Chrome Profile 保存 ChatGPT 登录状态。
19
+
20
+ ### 快速开始
21
+
22
+ 需要 Node.js 20.17+ 和 Chrome/Chromium。
23
+
24
+ ```bash
25
+ npm install -g wtagent@alpha
26
+ wtagent login
27
+ ```
28
+
29
+ 登录完成后,进入项目目录:
30
+
31
+ ```bash
32
+ cd my-project
33
+ wtagent
34
+ ```
35
+
36
+ 也可以直接附带任务:
37
+
38
+ ```bash
39
+ wtagent "检查这个项目并修复测试"
40
+ wtagent -C ./my-project "创建一个网站"
41
+ ```
42
+
43
+ 之后直接在终端中继续对话。WTAgent 会把任务交给 ChatGPT Web,并在本地执行文件和 Shell 操作。
44
+
45
+ ## English
46
+
47
+ WTAgent turns your own ChatGPT Pro web session into a Codex-like local CLI agent.
48
+
49
+ ChatGPT Web handles reasoning. WTAgent runs locally to:
50
+
51
+ - Read and edit local files
52
+ - Run shell commands, builds, tests, and development servers
53
+
54
+ No OpenAI API key is required. WTAgent stores the ChatGPT session in a dedicated Chrome profile.
55
+
56
+ ### Quick start
57
+
58
+ Requires Node.js 20.17+ and Chrome/Chromium.
59
+
60
+ ```bash
61
+ npm install -g wtagent@alpha
62
+ wtagent login
63
+ ```
64
+
65
+ After signing in, start WTAgent inside a project:
66
+
67
+ ```bash
68
+ cd my-project
69
+ wtagent
70
+ ```
71
+
72
+ Or provide the first task directly:
73
+
74
+ ```bash
75
+ wtagent "inspect this project and fix the tests"
76
+ wtagent -C ./my-project "build a website"
77
+ ```
78
+
79
+ Continue chatting in the terminal. WTAgent sends tasks to ChatGPT Web and executes file and shell operations locally.
80
+
81
+ ## License
82
+
83
+ [MIT](./LICENSE)