@truenine/memory-sync-cli 2026.10411.10132 → 2026.10422.10749

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/package.json CHANGED
@@ -1,8 +1,7 @@
1
1
  {
2
2
  "name": "@truenine/memory-sync-cli",
3
- "type": "module",
4
- "version": "2026.10411.10132",
5
- "description": "TrueNine Memory Synchronization CLI shell",
3
+ "version": "2026.10422.10749",
4
+ "description": "TrueNine Memory Synchronization CLI metadata package",
6
5
  "author": "TrueNine",
7
6
  "license": "AGPL-3.0-only",
8
7
  "homepage": "https://github.com/TrueNine/memory-sync",
@@ -12,85 +11,28 @@
12
11
  "directory": "cli"
13
12
  },
14
13
  "exports": {
15
- ".": {
16
- "types": "./dist/index.d.mts",
17
- "import": "./dist/index.mjs"
18
- },
19
- "./schema.json": "./dist/tnmsc.schema.json",
14
+ "./schema.json": "./schema/tnmsc.schema.json",
20
15
  "./package.json": "./package.json"
21
16
  },
22
- "main": "./dist/index.mjs",
23
- "module": "./dist/index.mjs",
24
- "types": "./dist/index.d.mts",
25
- "bin": {
26
- "tnmsc": "./dist/index.mjs"
27
- },
28
17
  "files": [
29
- "dist",
30
- "dist/tnmsc.schema.json"
18
+ "schema/tnmsc.schema.json"
31
19
  ],
32
- "engines": {
33
- "node": ">= 22"
34
- },
35
- "napi": {
36
- "binaryName": "napi-memory-sync-cli",
37
- "targets": [
38
- "x86_64-pc-windows-msvc",
39
- "x86_64-unknown-linux-gnu",
40
- "aarch64-unknown-linux-gnu",
41
- "aarch64-apple-darwin",
42
- "x86_64-apple-darwin"
43
- ]
44
- },
45
20
  "publishConfig": {
46
21
  "access": "public",
47
22
  "registry": "https://registry.npmjs.org/"
48
23
  },
49
- "dependencies": {
50
- "jiti": "^2.6.1"
51
- },
52
24
  "optionalDependencies": {
53
- "json5": "^2.2.3",
54
- "yaml": "^2.8.3",
55
- "zod": "^4.3.6",
56
- "@truenine/memory-sync-cli-darwin-arm64": "2026.10411.10132",
57
- "@truenine/memory-sync-cli-darwin-x64": "2026.10411.10132",
58
- "@truenine/memory-sync-cli-linux-arm64-gnu": "2026.10411.10132",
59
- "@truenine/memory-sync-cli-linux-x64-gnu": "2026.10411.10132",
60
- "@truenine/memory-sync-cli-win32-x64-msvc": "2026.10411.10132",
61
- "@truenine/script-runtime": "2026.10411.10132"
62
- },
63
- "devDependencies": {
64
- "@truenine/eslint10-config": "^2026.10411.10025",
65
- "@types/node": "^25.6.0",
66
- "@vitest/coverage-v8": "4.1.4",
67
- "eslint": "^10.2.0",
68
- "npm-run-all2": "^8.0.4",
69
- "tsdown": "^0.21.7",
70
- "tsx": "^4.21.0",
71
- "typescript": "6.0.2",
72
- "vitest": "^4.1.4",
73
- "@truenine/logger": "2026.10411.10132",
74
- "@truenine/memory-sync-sdk": "2026.10411.10132"
25
+ "@truenine/memory-sync-cli-darwin-arm64": "2026.10422.10749",
26
+ "@truenine/memory-sync-cli-darwin-x64": "2026.10422.10749",
27
+ "@truenine/memory-sync-cli-linux-arm64-gnu": "2026.10422.10749",
28
+ "@truenine/memory-sync-cli-linux-x64-gnu": "2026.10422.10749",
29
+ "@truenine/memory-sync-cli-win32-x64-msvc": "2026.10422.10749"
75
30
  },
76
31
  "scripts": {
77
- "build": "run-s build:sdk build:shell sync:sdk-assets",
78
- "build:sdk": "pnpm -F @truenine/memory-sync-sdk run build",
79
- "build:napi:copy": "tsx ../scripts/copy-napi.ts",
80
- "build:shell": "tsdown",
81
- "ensure:sdk-build": "tsx scripts/ensure-sdk-build.ts",
82
- "sync:sdk-assets": "tsx scripts/sync-sdk-dist.ts",
83
- "check": "run-s ensure:sdk-build check:run",
84
- "check:run": "run-p lint:run check:type:run",
85
- "lint": "run-s ensure:sdk-build lint:run lint:rust",
86
- "lint:run": "eslint --cache --cache-location .eslintcache .",
87
- "lint:rust": "cargo fmt --check --manifest-path Cargo.toml",
88
- "test": "run-s ensure:sdk-build test:run",
89
- "test:run": "vitest run",
90
- "lint:fix": "run-s ensure:sdk-build lint:fix:run lint:fix:rust",
91
- "lint:fix:run": "eslint --fix --cache --cache-location .eslintcache .",
92
- "lint:fix:rust": "cargo fmt --manifest-path Cargo.toml",
93
- "typecheck": "run-s ensure:sdk-build check:type:run",
94
- "check:type:run": "tsc --noEmit -p tsconfig.lib.json"
32
+ "build": "cargo build --release --manifest-path Cargo.toml",
33
+ "check": "cargo check --manifest-path Cargo.toml --all-targets",
34
+ "lint": "cargo fmt --check --manifest-path Cargo.toml && cargo clippy --manifest-path Cargo.toml --all-targets -- -D warnings",
35
+ "lint:fix": "cargo fmt --manifest-path Cargo.toml",
36
+ "test": "cargo test --manifest-path Cargo.toml"
95
37
  }
96
38
  }
@@ -0,0 +1,294 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "title": "UserConfigFile",
4
+ "description": "User configuration file (.tnmsc.json).\nAll fields are optional — missing fields use default values.",
5
+ "type": "object",
6
+ "properties": {
7
+ "version": {
8
+ "type": [
9
+ "string",
10
+ "null"
11
+ ]
12
+ },
13
+ "workspaceDir": {
14
+ "type": [
15
+ "string",
16
+ "null"
17
+ ]
18
+ },
19
+ "logLevel": {
20
+ "type": [
21
+ "string",
22
+ "null"
23
+ ]
24
+ },
25
+ "profile": {
26
+ "anyOf": [
27
+ {
28
+ "$ref": "#/$defs/UserProfile"
29
+ },
30
+ {
31
+ "type": "null"
32
+ }
33
+ ]
34
+ },
35
+ "codeStyles": {
36
+ "anyOf": [
37
+ {
38
+ "$ref": "#/$defs/CodeStyles"
39
+ },
40
+ {
41
+ "type": "null"
42
+ }
43
+ ]
44
+ },
45
+ "windows": {
46
+ "anyOf": [
47
+ {
48
+ "$ref": "#/$defs/WindowsOptions"
49
+ },
50
+ {
51
+ "type": "null"
52
+ }
53
+ ]
54
+ },
55
+ "plugins": {
56
+ "anyOf": [
57
+ {
58
+ "$ref": "#/$defs/PluginsConfig"
59
+ },
60
+ {
61
+ "type": "null"
62
+ }
63
+ ]
64
+ }
65
+ },
66
+ "$defs": {
67
+ "UserProfile": {
68
+ "description": "User profile information. Supports arbitrary key-value pairs.",
69
+ "type": "object",
70
+ "properties": {
71
+ "name": {
72
+ "type": [
73
+ "string",
74
+ "null"
75
+ ]
76
+ },
77
+ "username": {
78
+ "type": [
79
+ "string",
80
+ "null"
81
+ ]
82
+ },
83
+ "gender": {
84
+ "type": [
85
+ "string",
86
+ "null"
87
+ ]
88
+ },
89
+ "birthday": {
90
+ "type": [
91
+ "string",
92
+ "null"
93
+ ]
94
+ }
95
+ },
96
+ "additionalProperties": true
97
+ },
98
+ "CodeStyles": {
99
+ "type": "object",
100
+ "properties": {
101
+ "indent": {
102
+ "anyOf": [
103
+ {
104
+ "$ref": "#/$defs/CodeStyleIndent"
105
+ },
106
+ {
107
+ "type": "null"
108
+ }
109
+ ]
110
+ },
111
+ "tabSize": {
112
+ "type": [
113
+ "integer",
114
+ "null"
115
+ ],
116
+ "format": "uint16",
117
+ "minimum": 0,
118
+ "maximum": 65535
119
+ }
120
+ },
121
+ "additionalProperties": true
122
+ },
123
+ "CodeStyleIndent": {
124
+ "type": "string",
125
+ "enum": [
126
+ "tab",
127
+ "space"
128
+ ]
129
+ },
130
+ "WindowsOptions": {
131
+ "type": "object",
132
+ "properties": {
133
+ "wsl2": {
134
+ "anyOf": [
135
+ {
136
+ "$ref": "#/$defs/WindowsWsl2Options"
137
+ },
138
+ {
139
+ "type": "null"
140
+ }
141
+ ]
142
+ }
143
+ }
144
+ },
145
+ "WindowsWsl2Options": {
146
+ "type": "object",
147
+ "properties": {
148
+ "instances": {
149
+ "anyOf": [
150
+ {
151
+ "$ref": "#/$defs/StringOrStrings"
152
+ },
153
+ {
154
+ "type": "null"
155
+ }
156
+ ]
157
+ }
158
+ }
159
+ },
160
+ "StringOrStrings": {
161
+ "anyOf": [
162
+ {
163
+ "type": "string"
164
+ },
165
+ {
166
+ "type": "array",
167
+ "items": {
168
+ "type": "string"
169
+ }
170
+ }
171
+ ]
172
+ },
173
+ "PluginsConfig": {
174
+ "type": "object",
175
+ "properties": {
176
+ "agentsMd": {
177
+ "type": [
178
+ "boolean",
179
+ "null"
180
+ ]
181
+ },
182
+ "claudeCode": {
183
+ "type": [
184
+ "boolean",
185
+ "null"
186
+ ]
187
+ },
188
+ "codex": {
189
+ "type": [
190
+ "boolean",
191
+ "null"
192
+ ]
193
+ },
194
+ "cursor": {
195
+ "type": [
196
+ "boolean",
197
+ "null"
198
+ ]
199
+ },
200
+ "droid": {
201
+ "type": [
202
+ "boolean",
203
+ "null"
204
+ ]
205
+ },
206
+ "gemini": {
207
+ "type": [
208
+ "boolean",
209
+ "null"
210
+ ]
211
+ },
212
+ "git": {
213
+ "type": [
214
+ "boolean",
215
+ "null"
216
+ ]
217
+ },
218
+ "jetbrains": {
219
+ "type": [
220
+ "boolean",
221
+ "null"
222
+ ]
223
+ },
224
+ "jetbrainsCodeStyle": {
225
+ "type": [
226
+ "boolean",
227
+ "null"
228
+ ]
229
+ },
230
+ "kiro": {
231
+ "type": [
232
+ "boolean",
233
+ "null"
234
+ ]
235
+ },
236
+ "opencode": {
237
+ "type": [
238
+ "boolean",
239
+ "null"
240
+ ]
241
+ },
242
+ "qoder": {
243
+ "type": [
244
+ "boolean",
245
+ "null"
246
+ ]
247
+ },
248
+ "readme": {
249
+ "type": [
250
+ "boolean",
251
+ "null"
252
+ ]
253
+ },
254
+ "trae": {
255
+ "type": [
256
+ "boolean",
257
+ "null"
258
+ ]
259
+ },
260
+ "traeCn": {
261
+ "type": [
262
+ "boolean",
263
+ "null"
264
+ ]
265
+ },
266
+ "vscode": {
267
+ "type": [
268
+ "boolean",
269
+ "null"
270
+ ]
271
+ },
272
+ "warp": {
273
+ "type": [
274
+ "boolean",
275
+ "null"
276
+ ]
277
+ },
278
+ "windsurf": {
279
+ "type": [
280
+ "boolean",
281
+ "null"
282
+ ]
283
+ },
284
+ "zed": {
285
+ "type": [
286
+ "boolean",
287
+ "null"
288
+ ]
289
+ }
290
+ },
291
+ "additionalProperties": false
292
+ }
293
+ }
294
+ }
package/dist/index.d.mts DELETED
@@ -1,5 +0,0 @@
1
- //#region src/cli-runtime.d.ts
2
- declare function getCliVersion(): string;
3
- declare function runCli(argv?: readonly string[]): Promise<number>;
4
- //#endregion
5
- export { getCliVersion, runCli };