@opentmd/cli 0.1.1 → 0.1.3

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.
Files changed (2) hide show
  1. package/README.md +57 -0
  2. package/package.json +6 -6
package/README.md ADDED
@@ -0,0 +1,57 @@
1
+ # @opentmd/cli
2
+
3
+ OpenTMD — 开源终端 AI 编码助手。用自然语言描述任务,自动阅读代码、编辑文件、执行命令、验证结果。
4
+
5
+ ## 安装
6
+
7
+ ```bash
8
+ npm install -g @opentmd/cli
9
+ ```
10
+
11
+ 安装完成后即可使用:
12
+
13
+ ```bash
14
+ opentmd
15
+ ```
16
+
17
+ > npm 会自动下载匹配当前平台的预编译二进制(darwin / linux / windows × arm64/x64)。
18
+
19
+ ## 使用
20
+
21
+ ```bash
22
+ # 交互模式(TUI)
23
+ opentmd
24
+
25
+ # 指定项目目录
26
+ opentmd -C /path/to/project
27
+
28
+ # 非交互模式(headless)
29
+ opentmd -p "解释这个仓库的架构"
30
+
31
+ # 继续上次对话
32
+ opentmd --continue
33
+ ```
34
+
35
+ ## 卸载
36
+
37
+ ```bash
38
+ npm uninstall -g @opentmd/cli
39
+
40
+ # 或使用脚本卸载(可保留/删除配置)
41
+ curl -fsSL https://raw.githubusercontent.com/opentmd/opentmd-cli/master/scripts/uninstall.sh | bash
42
+ ```
43
+
44
+ ## curl 安装(无需 Node.js)
45
+
46
+ ```bash
47
+ curl -fsSL https://raw.githubusercontent.com/opentmd/opentmd-cli/master/scripts/install.sh | bash
48
+ ```
49
+
50
+ ## 版本对应
51
+
52
+ npm 版本号与 GitHub Release 一致。详见 [Releases](https://github.com/opentmd/opentmd-cli/releases)。
53
+
54
+ ## 链接
55
+
56
+ - [源码仓库](https://github.com/opentmd/opentmd-cli)
57
+ - [文档](https://github.com/opentmd/opentmd-cli#readme)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@opentmd/cli",
3
- "version": "0.1.1",
3
+ "version": "0.1.3",
4
4
  "description": "Open-source terminal AI coding assistant — connect any LLM, edit code, run commands",
5
5
  "keywords": [
6
6
  "ai",
@@ -31,10 +31,10 @@
31
31
  "access": "public"
32
32
  },
33
33
  "optionalDependencies": {
34
- "@opentmd/cli-darwin-arm64": "0.1.1",
35
- "@opentmd/cli-darwin-x64": "0.1.1",
36
- "@opentmd/cli-linux-arm64": "0.1.1",
37
- "@opentmd/cli-linux-x64": "0.1.1",
38
- "@opentmd/cli-win32-x64": "0.1.1"
34
+ "@opentmd/cli-darwin-arm64": "0.1.3",
35
+ "@opentmd/cli-darwin-x64": "0.1.3",
36
+ "@opentmd/cli-linux-arm64": "0.1.3",
37
+ "@opentmd/cli-linux-x64": "0.1.3",
38
+ "@opentmd/cli-win32-x64": "0.1.3"
39
39
  }
40
40
  }