@truenine/memory-sync-cli 0.0.16 → 0.0.17

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 (3) hide show
  1. package/README.md +43 -36
  2. package/dist/index.mjs +72 -60
  3. package/package.json +1 -1
package/README.md CHANGED
@@ -1,65 +1,74 @@
1
1
  # TrueNine Life CLI
2
2
 
3
- AI 编程工具的提示词同步工具。一套规则,多端适配。
3
+ Cross-platform prompt sync tool for AI coding assistants. One ruleset, multi-target adaptation.
4
4
 
5
- ## 快速开始
5
+ ## Quick Start
6
6
 
7
7
  ```bash
8
8
  npx @truenine/memory-sync-cli
9
9
  ```
10
10
 
11
- ## 全局安装
11
+ ## Global Install
12
12
 
13
13
  ```bash
14
14
  pnpm add -g @truenine/memory-sync-cli
15
15
  ```
16
- ## 更新版本
16
+
17
+ ## Update
17
18
 
18
19
  ```bash
19
20
  pnpm update -g @truenine/memory-sync-cli --latest
20
21
  ```
21
22
 
22
- 安装后可直接使用命令:
23
+ After installation, use directly:
23
24
 
24
25
  ```bash
25
26
  tnmsc
26
27
  ```
27
28
 
28
- 可用功能:
29
+ Available commands:
29
30
 
30
31
  ```bash
31
- # 直接同步
32
+ # Sync directly
32
33
  tnmsc
33
34
 
34
- # 获取参数列表
35
+ # Get help
36
+ tnmsc help
35
37
  tnmsc --help
36
38
  tnmsc -h
37
39
 
38
- # 根据配置文件以及默认配置,初始化目录以及文件结构
39
- tnmsc --init
40
- tnmsc -i
40
+ # Init directory structure from config
41
+ tnmsc init
41
42
 
42
- # 预览导出
43
- tnmsc --dry-run
44
- tnmsc -n
43
+ # Preview export
44
+ tnmsc dry-run
45
45
 
46
- # 清理所有导出
47
- tnmsc --clean
48
- tnmsc -c
49
- # 预览清理目标
50
- tnmsc --clean --dry-run
51
- ```
46
+ # Clean all exports
47
+ tnmsc clean
52
48
 
53
- ## CLI 配置
49
+ # Preview clean targets
50
+ tnmsc clean --dry-run
51
+ tnmsc clean -n
52
+
53
+ # Set log level
54
+ tnmsc --debug
55
+ tnmsc --info
56
+ tnmsc --warn
57
+ tnmsc --error
58
+ tnmsc clean --info
59
+ tnmsc dry-run --debug
60
+ tnmsc clean dry-run --info
54
61
  ```
55
- 可以在两个地方创建配置,来适配,以下示例为默认配置
62
+
63
+ ## CLI Config
64
+
65
+ Config can be created in two locations. Example shows defaults:
56
66
 
57
67
  ```text
58
68
  ~/.aindex/.tnmsc.json
59
69
  cwd()/.tnmsc.json
60
70
  ```
61
- > cwd() 代表当前执行命令的目录。
62
-
71
+ > cwd() represents current working directory.
63
72
 
64
73
  ```json
65
74
  {
@@ -76,8 +85,7 @@ cwd()/.tnmsc.json
76
85
  }
77
86
  ```
78
87
 
79
-
80
- ## 支持的 AI 工具
88
+ ## Supported AI Tools
81
89
 
82
90
  **IDE**
83
91
  - Cursor IDE
@@ -87,28 +95,27 @@ cwd()/.tnmsc.json
87
95
  - CodeBuddy IDE
88
96
  - Antigravity IDE
89
97
 
90
- **CLI 工具**
98
+ **CLI Tools**
91
99
  - Claude Code CLI
92
100
  - Codex CLI
93
101
  - Gemini CLI
94
102
  - FactoryDroid CLI
95
103
 
96
- **配置文件**
104
+ **Config Files**
97
105
  - JetBrains IDE
98
106
  - VSCode IDE
99
107
 
100
- ## 插件体系
101
-
102
- 采用 input → transform → output 管道架构:
108
+ ## Plugin System
103
109
 
104
- - **Input 插件**: 读取源文件(Aindex、Ref、WorkspaceGroup)
105
- - **Transform 插件**: 处理内容
106
- - **Output 插件**: 写入目标格式(各 IDE/CLI 适配器)
110
+ Pipeline architecture: input → transform → output
107
111
 
108
- ## 配置
112
+ - **Input Plugins**: Read sources (Aindex, Ref, WorkspaceGroup)
113
+ - **Transform Plugins**: Process content
114
+ - **Output Plugins**: Write target formats (IDE/CLI adapters)
109
115
 
110
- 配置文件优先级:`cwd()/.tnmsc.json` > `~/.aindex/.tnmsc.json`
116
+ ## Config
111
117
 
118
+ Priority: `cwd()/.tnmsc.json` > `~/.aindex/.tnmsc.json`
112
119
 
113
120
  ## License
114
121