@truenine/memory-sync-cli 1.0.4 → 2025.12.27

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 +53 -19
  2. package/dist/index.mjs +146 -144
  3. package/package.json +1 -1
package/README.md CHANGED
@@ -1,6 +1,6 @@
1
- # TrueNine Life CLI
1
+ # # memory-sync-cli
2
2
 
3
- Cross-platform prompt sync tool for AI coding assistants. One ruleset, multi-target adaptation.
3
+ Cross-AI programming tool prompt synchronisation utility. One ruleset, multi-platform adaptation.
4
4
 
5
5
  ## Quick Start
6
6
 
@@ -8,28 +8,28 @@ Cross-platform prompt sync tool for AI coding assistants. One ruleset, multi-tar
8
8
  npx @truenine/memory-sync-cli
9
9
  ```
10
10
 
11
- ## Global Install
11
+ ## Global Installation
12
12
 
13
13
  ```bash
14
14
  pnpm add -g @truenine/memory-sync-cli
15
15
  ```
16
16
 
17
- ## Update
17
+ ## Update Version
18
18
 
19
19
  ```bash
20
20
  pnpm update -g @truenine/memory-sync-cli --latest
21
21
  ```
22
22
 
23
- After installation, use directly:
23
+ After installation, use the command directly:
24
24
 
25
25
  ```bash
26
26
  tnmsc
27
27
  ```
28
28
 
29
- Available commands:
29
+ Available features:
30
30
 
31
31
  ```bash
32
- # Sync directly
32
+ # Direct sync
33
33
  tnmsc
34
34
 
35
35
  # Get help
@@ -37,7 +37,15 @@ tnmsc help
37
37
  tnmsc --help
38
38
  tnmsc -h
39
39
 
40
- # Init directory structure from config
40
+ # View version
41
+ tnmsc version
42
+ tnmsc --version
43
+ tnmsc -v
44
+
45
+ # Check for updates
46
+ tnmsc outdated
47
+
48
+ # Initialise directory and file structure based on config file and defaults
41
49
  tnmsc init
42
50
 
43
51
  # Preview export
@@ -50,25 +58,28 @@ tnmsc clean
50
58
  tnmsc clean --dry-run
51
59
  tnmsc clean -n
52
60
 
61
+ # Set config options
62
+ tnmsc set key=value
63
+ tnmsc --set key=value
64
+
53
65
  # Set log level
66
+ tnmsc --trace
54
67
  tnmsc --debug
55
68
  tnmsc --info
56
69
  tnmsc --warn
57
70
  tnmsc --error
58
- tnmsc clean --info
59
- tnmsc dry-run --debug
60
- tnmsc clean dry-run --info
61
71
  ```
62
72
 
63
- ## CLI Config
73
+ ## CLI Configuration
64
74
 
65
- Config can be created in two locations. Example shows defaults:
75
+ Configuration can be created in two locations. Example below shows default config:
66
76
 
67
77
  ```text
68
78
  ~/.aindex/.tnmsc.json
69
79
  cwd()/.tnmsc.json
70
80
  ```
71
- > cwd() represents current working directory.
81
+ > cwd() represents the current command execution directory.
82
+
72
83
 
73
84
  ```json
74
85
  {
@@ -83,7 +94,24 @@ cwd()/.tnmsc.json
83
94
  "excludePatterns": {},
84
95
  "logLevel": "info"
85
96
  }
97
+ ```
98
+
99
+ ### SET Available Config Options
86
100
 
101
+ - `workspaceDir` - Workspace directory
102
+ - `shadowSourceProjectDir` - Shadow source project directory
103
+ - `shadowSkillSourceDir` - Skill source directory
104
+ - `shadowFastCommandDir` - Fast command directory
105
+ - `shadowSubAgentDir` - Sub-agent directory
106
+ - `globalMemoryFile` - Global memory file
107
+ - `shadowProjectsDir` - Shadow projects directory
108
+ - `logLevel` - Log level (trace/debug/info/warn/error)
109
+
110
+ Example:
111
+ ```bash
112
+ tnmsc --set workspaceDir=~/my-project
113
+ tnmsc --set logLevel=debug
114
+ tnmsc set workspaceDir=~/workspace
87
115
  ```
88
116
 
89
117
  ## Supported AI Tools
@@ -108,15 +136,21 @@ cwd()/.tnmsc.json
108
136
 
109
137
  ## Plugin System
110
138
 
111
- Pipeline architecture: input → transform → output
139
+ Uses input → transform → output pipeline architecture:
112
140
 
113
- - **Input Plugins**: Read sources (Aindex, Ref, WorkspaceGroup)
141
+ - **Input Plugins**: Read source files (Aindex, Ref, WorkspaceGroup)
114
142
  - **Transform Plugins**: Process content
115
- - **Output Plugins**: Write target formats (IDE/CLI adapters)
143
+ - **Output Plugins**: Write to target formats (various IDE/CLI adapters)
144
+
145
+ ## Configuration
146
+
147
+ Config file priority: `cwd()/.tnmsc.json` > `~/.aindex/.tnmsc.json`
148
+
149
+ ## Created by
116
150
 
117
- ## Config
151
+ - [Truenine](https://github.com/TrueNine)
152
+ - [zjarlin](https://github.com/zjarlin)
118
153
 
119
- Priority: `cwd()/.tnmsc.json` > `~/.aindex/.tnmsc.json`
120
154
 
121
155
  ## License
122
156