@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 +14 -72
- package/schema/tnmsc.schema.json +294 -0
- package/dist/index.d.mts +0 -5
- package/dist/index.mjs +0 -266
- package/dist/script-runtime-worker.mjs +0 -1
- package/dist/tnmsc.schema.json +0 -312
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import*as e from"node:fs";import{readFileSync as t}from"node:fs";import n from"node:process";import*as r from"node:path";function i(e){return typeof e==`object`&&!!e}function a(e){if(!i(e))return!1;let t=Object.getPrototypeOf(e);return t===Object.prototype||t===null}async function o(){let{createJiti:e}=await import(`jiti`);return e(import.meta.url,{fsCache:!1,moduleCache:!1,interopDefault:!1})}function s(e){if(!i(e))throw Error(`proxy.ts must export a module namespace object`);let t=e.default;if(t==null)throw Error(`proxy.ts must export a default value`);if(typeof t!=`function`&&!a(t))throw TypeError(`proxy.ts default export must be a function or plain object`);let n=e.config;if(n!=null&&!a(n))throw Error(`proxy.ts config export must be a plain object`);let r={default:t};return n==null?r:{...r,config:n}}async function c(t){let n=r.resolve(t);if(!e.existsSync(n))throw Error(`proxy.ts not found: ${n}`);return s(await(await o()).import(n))}function l(e,t){let n=e.config?.matcher?.commands;return n==null||n.length===0?!0:n.includes(t)}function u(e,t){if(e.trim().length===0)throw Error(`${t} cannot be empty`);return e}function d(e){if(typeof e==`function`)return e;let t=e;if(t.resolvePublicPath!=null){if(typeof t.resolvePublicPath!=`function`)throw TypeError(`proxy.ts default export resolvePublicPath must be a function`);return t.resolvePublicPath}}async function f(e,t,n){let r=u(n,`logical public path`),i=await c(e);if(!l(i,t.command))return r;let a=d(i.default);if(a==null)return r;let o=await a(r,t);if(typeof o!=`string`)throw Error(`proxy.ts must resolve public paths to a string`);return u(o,`proxy.ts resolved public path`)}async function p(e,t,n){return f(e,t,n)}async function m(){let[,,e,r,i]=n.argv;if(e==null||r==null||i==null)throw Error(`Usage: script-runtime-worker <file-path> <ctx-json-path> <logical-path>`);let a=t(r,`utf8`),o=await p(e,JSON.parse(a),i);n.stdout.write(`${o}\n`)}m().catch(e=>{n.stderr.write(`${e instanceof Error?e.message:String(e)}\n`),n.exit(1)});export{};
|
package/dist/tnmsc.schema.json
DELETED
|
@@ -1,312 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"type": "object",
|
|
3
|
-
"properties": {
|
|
4
|
-
"version": {
|
|
5
|
-
"type": "string"
|
|
6
|
-
},
|
|
7
|
-
"workspaceDir": {
|
|
8
|
-
"type": "string"
|
|
9
|
-
},
|
|
10
|
-
"logLevel": {
|
|
11
|
-
"type": "string",
|
|
12
|
-
"enum": [
|
|
13
|
-
"trace",
|
|
14
|
-
"debug",
|
|
15
|
-
"info",
|
|
16
|
-
"warn",
|
|
17
|
-
"error"
|
|
18
|
-
]
|
|
19
|
-
},
|
|
20
|
-
"commandSeriesOptions": {
|
|
21
|
-
"type": "object",
|
|
22
|
-
"properties": {
|
|
23
|
-
"includeSeriesPrefix": {
|
|
24
|
-
"type": "boolean"
|
|
25
|
-
},
|
|
26
|
-
"pluginOverrides": {
|
|
27
|
-
"type": "object",
|
|
28
|
-
"additionalProperties": {
|
|
29
|
-
"type": "object",
|
|
30
|
-
"properties": {
|
|
31
|
-
"includeSeriesPrefix": {
|
|
32
|
-
"type": "boolean"
|
|
33
|
-
},
|
|
34
|
-
"seriesSeparator": {
|
|
35
|
-
"type": "string"
|
|
36
|
-
}
|
|
37
|
-
},
|
|
38
|
-
"additionalProperties": false
|
|
39
|
-
}
|
|
40
|
-
}
|
|
41
|
-
},
|
|
42
|
-
"additionalProperties": false
|
|
43
|
-
},
|
|
44
|
-
"outputScopes": {
|
|
45
|
-
"type": "object",
|
|
46
|
-
"properties": {
|
|
47
|
-
"plugins": {
|
|
48
|
-
"type": "object",
|
|
49
|
-
"additionalProperties": {
|
|
50
|
-
"type": "object",
|
|
51
|
-
"properties": {
|
|
52
|
-
"prompt": {
|
|
53
|
-
"anyOf": [
|
|
54
|
-
{
|
|
55
|
-
"type": "string",
|
|
56
|
-
"enum": [
|
|
57
|
-
"project",
|
|
58
|
-
"global"
|
|
59
|
-
]
|
|
60
|
-
},
|
|
61
|
-
{
|
|
62
|
-
"type": "array",
|
|
63
|
-
"items": {
|
|
64
|
-
"type": "string",
|
|
65
|
-
"enum": [
|
|
66
|
-
"project",
|
|
67
|
-
"global"
|
|
68
|
-
]
|
|
69
|
-
},
|
|
70
|
-
"minItems": 1
|
|
71
|
-
}
|
|
72
|
-
]
|
|
73
|
-
},
|
|
74
|
-
"rules": {
|
|
75
|
-
"anyOf": [
|
|
76
|
-
{
|
|
77
|
-
"type": "string",
|
|
78
|
-
"enum": [
|
|
79
|
-
"project",
|
|
80
|
-
"global"
|
|
81
|
-
]
|
|
82
|
-
},
|
|
83
|
-
{
|
|
84
|
-
"type": "array",
|
|
85
|
-
"items": {
|
|
86
|
-
"type": "string",
|
|
87
|
-
"enum": [
|
|
88
|
-
"project",
|
|
89
|
-
"global"
|
|
90
|
-
]
|
|
91
|
-
},
|
|
92
|
-
"minItems": 1
|
|
93
|
-
}
|
|
94
|
-
]
|
|
95
|
-
},
|
|
96
|
-
"commands": {
|
|
97
|
-
"anyOf": [
|
|
98
|
-
{
|
|
99
|
-
"type": "string",
|
|
100
|
-
"enum": [
|
|
101
|
-
"project",
|
|
102
|
-
"global"
|
|
103
|
-
]
|
|
104
|
-
},
|
|
105
|
-
{
|
|
106
|
-
"type": "array",
|
|
107
|
-
"items": {
|
|
108
|
-
"type": "string",
|
|
109
|
-
"enum": [
|
|
110
|
-
"project",
|
|
111
|
-
"global"
|
|
112
|
-
]
|
|
113
|
-
},
|
|
114
|
-
"minItems": 1
|
|
115
|
-
}
|
|
116
|
-
]
|
|
117
|
-
},
|
|
118
|
-
"subagents": {
|
|
119
|
-
"anyOf": [
|
|
120
|
-
{
|
|
121
|
-
"type": "string",
|
|
122
|
-
"enum": [
|
|
123
|
-
"project",
|
|
124
|
-
"global"
|
|
125
|
-
]
|
|
126
|
-
},
|
|
127
|
-
{
|
|
128
|
-
"type": "array",
|
|
129
|
-
"items": {
|
|
130
|
-
"type": "string",
|
|
131
|
-
"enum": [
|
|
132
|
-
"project",
|
|
133
|
-
"global"
|
|
134
|
-
]
|
|
135
|
-
},
|
|
136
|
-
"minItems": 1
|
|
137
|
-
}
|
|
138
|
-
]
|
|
139
|
-
},
|
|
140
|
-
"skills": {
|
|
141
|
-
"anyOf": [
|
|
142
|
-
{
|
|
143
|
-
"type": "string",
|
|
144
|
-
"enum": [
|
|
145
|
-
"project",
|
|
146
|
-
"global"
|
|
147
|
-
]
|
|
148
|
-
},
|
|
149
|
-
{
|
|
150
|
-
"type": "array",
|
|
151
|
-
"items": {
|
|
152
|
-
"type": "string",
|
|
153
|
-
"enum": [
|
|
154
|
-
"project",
|
|
155
|
-
"global"
|
|
156
|
-
]
|
|
157
|
-
},
|
|
158
|
-
"minItems": 1
|
|
159
|
-
}
|
|
160
|
-
]
|
|
161
|
-
},
|
|
162
|
-
"mcp": {
|
|
163
|
-
"anyOf": [
|
|
164
|
-
{
|
|
165
|
-
"type": "string",
|
|
166
|
-
"enum": [
|
|
167
|
-
"project",
|
|
168
|
-
"global"
|
|
169
|
-
]
|
|
170
|
-
},
|
|
171
|
-
{
|
|
172
|
-
"type": "array",
|
|
173
|
-
"items": {
|
|
174
|
-
"type": "string",
|
|
175
|
-
"enum": [
|
|
176
|
-
"project",
|
|
177
|
-
"global"
|
|
178
|
-
]
|
|
179
|
-
},
|
|
180
|
-
"minItems": 1
|
|
181
|
-
}
|
|
182
|
-
]
|
|
183
|
-
}
|
|
184
|
-
},
|
|
185
|
-
"additionalProperties": false
|
|
186
|
-
}
|
|
187
|
-
}
|
|
188
|
-
},
|
|
189
|
-
"additionalProperties": false
|
|
190
|
-
},
|
|
191
|
-
"frontMatter": {
|
|
192
|
-
"type": "object",
|
|
193
|
-
"properties": {
|
|
194
|
-
"blankLineAfter": {
|
|
195
|
-
"type": "boolean"
|
|
196
|
-
}
|
|
197
|
-
},
|
|
198
|
-
"additionalProperties": false
|
|
199
|
-
},
|
|
200
|
-
"codeStyles": {
|
|
201
|
-
"type": "object",
|
|
202
|
-
"properties": {
|
|
203
|
-
"indent": {
|
|
204
|
-
"type": "string",
|
|
205
|
-
"enum": [
|
|
206
|
-
"tab",
|
|
207
|
-
"space"
|
|
208
|
-
],
|
|
209
|
-
"default": "space"
|
|
210
|
-
},
|
|
211
|
-
"tabSize": {
|
|
212
|
-
"type": "integer",
|
|
213
|
-
"exclusiveMinimum": 0,
|
|
214
|
-
"default": 2
|
|
215
|
-
}
|
|
216
|
-
},
|
|
217
|
-
"additionalProperties": {}
|
|
218
|
-
},
|
|
219
|
-
"cleanupProtection": {
|
|
220
|
-
"type": "object",
|
|
221
|
-
"properties": {
|
|
222
|
-
"rules": {
|
|
223
|
-
"type": "array",
|
|
224
|
-
"items": {
|
|
225
|
-
"type": "object",
|
|
226
|
-
"properties": {
|
|
227
|
-
"path": {
|
|
228
|
-
"type": "string"
|
|
229
|
-
},
|
|
230
|
-
"protectionMode": {
|
|
231
|
-
"type": "string",
|
|
232
|
-
"enum": [
|
|
233
|
-
"direct",
|
|
234
|
-
"recursive"
|
|
235
|
-
]
|
|
236
|
-
},
|
|
237
|
-
"matcher": {
|
|
238
|
-
"type": "string",
|
|
239
|
-
"enum": [
|
|
240
|
-
"path",
|
|
241
|
-
"glob"
|
|
242
|
-
]
|
|
243
|
-
},
|
|
244
|
-
"reason": {
|
|
245
|
-
"type": "string"
|
|
246
|
-
}
|
|
247
|
-
},
|
|
248
|
-
"required": [
|
|
249
|
-
"path",
|
|
250
|
-
"protectionMode"
|
|
251
|
-
],
|
|
252
|
-
"additionalProperties": false
|
|
253
|
-
}
|
|
254
|
-
}
|
|
255
|
-
},
|
|
256
|
-
"additionalProperties": false
|
|
257
|
-
},
|
|
258
|
-
"windows": {
|
|
259
|
-
"type": "object",
|
|
260
|
-
"properties": {
|
|
261
|
-
"wsl2": {
|
|
262
|
-
"type": "object",
|
|
263
|
-
"properties": {
|
|
264
|
-
"instances": {
|
|
265
|
-
"anyOf": [
|
|
266
|
-
{
|
|
267
|
-
"type": "string"
|
|
268
|
-
},
|
|
269
|
-
{
|
|
270
|
-
"type": "array",
|
|
271
|
-
"items": {
|
|
272
|
-
"type": "string"
|
|
273
|
-
},
|
|
274
|
-
"minItems": 1
|
|
275
|
-
}
|
|
276
|
-
]
|
|
277
|
-
}
|
|
278
|
-
},
|
|
279
|
-
"additionalProperties": false
|
|
280
|
-
}
|
|
281
|
-
},
|
|
282
|
-
"additionalProperties": false
|
|
283
|
-
},
|
|
284
|
-
"profile": {
|
|
285
|
-
"type": "object",
|
|
286
|
-
"properties": {
|
|
287
|
-
"name": {
|
|
288
|
-
"type": "string"
|
|
289
|
-
},
|
|
290
|
-
"username": {
|
|
291
|
-
"type": "string"
|
|
292
|
-
},
|
|
293
|
-
"gender": {
|
|
294
|
-
"type": "string"
|
|
295
|
-
},
|
|
296
|
-
"birthday": {
|
|
297
|
-
"type": "string"
|
|
298
|
-
}
|
|
299
|
-
},
|
|
300
|
-
"additionalProperties": {}
|
|
301
|
-
},
|
|
302
|
-
"plugins": {
|
|
303
|
-
"type": "object",
|
|
304
|
-
"additionalProperties": {
|
|
305
|
-
"type": "boolean"
|
|
306
|
-
}
|
|
307
|
-
}
|
|
308
|
-
},
|
|
309
|
-
"additionalProperties": false,
|
|
310
|
-
"title": "UserConfigFile",
|
|
311
|
-
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
312
|
-
}
|