@hia-doc/cssdoc-runner 0.0.0-stage → 1.0.0-rc.1

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.
@@ -0,0 +1,2699 @@
1
+ {
2
+ "schemaVersion": "1.0.0",
3
+ "id": "command-documentation:[\"@hia-doc/cssdoc-runner\",\"1.0.0\"]",
4
+ "title": "@hia-doc/cssdoc-runner 命令参考 / Command reference",
5
+ "defaultLocale": "zh-CN",
6
+ "locales": [
7
+ "zh-CN",
8
+ "en"
9
+ ],
10
+ "nodes": [
11
+ {
12
+ "id": "command:[\"@hia-doc/cssdoc-runner\",\"cssdoc\"]",
13
+ "kind": "operation",
14
+ "title": "cssdoc",
15
+ "symbolIds": [
16
+ "command:[\"@hia-doc/cssdoc-runner\",\"cssdoc\"]"
17
+ ],
18
+ "children": [
19
+ {
20
+ "id": "command-parameter:[\"@hia-doc/cssdoc-runner\",\"cssdoc\",\"option\",\"config\"]",
21
+ "kind": "operation",
22
+ "title": "--config",
23
+ "symbolIds": [
24
+ "command-parameter:[\"@hia-doc/cssdoc-runner\",\"cssdoc\",\"option\",\"config\"]"
25
+ ]
26
+ },
27
+ {
28
+ "id": "command-parameter:[\"@hia-doc/cssdoc-runner\",\"cssdoc\",\"option\",\"kind\"]",
29
+ "kind": "operation",
30
+ "title": "--kind",
31
+ "symbolIds": [
32
+ "command-parameter:[\"@hia-doc/cssdoc-runner\",\"cssdoc\",\"option\",\"kind\"]"
33
+ ]
34
+ },
35
+ {
36
+ "id": "command-parameter:[\"@hia-doc/cssdoc-runner\",\"cssdoc\",\"option\",\"out-dir\"]",
37
+ "kind": "operation",
38
+ "title": "--out-dir",
39
+ "symbolIds": [
40
+ "command-parameter:[\"@hia-doc/cssdoc-runner\",\"cssdoc\",\"option\",\"out-dir\"]"
41
+ ]
42
+ },
43
+ {
44
+ "id": "command-parameter:[\"@hia-doc/cssdoc-runner\",\"cssdoc\",\"option\",\"workspace-root\"]",
45
+ "kind": "operation",
46
+ "title": "--workspace-root",
47
+ "symbolIds": [
48
+ "command-parameter:[\"@hia-doc/cssdoc-runner\",\"cssdoc\",\"option\",\"workspace-root\"]"
49
+ ]
50
+ },
51
+ {
52
+ "id": "command-parameter:[\"@hia-doc/cssdoc-runner\",\"cssdoc\",\"option\",\"sources-content-policy\"]",
53
+ "kind": "operation",
54
+ "title": "--sources-content-policy",
55
+ "symbolIds": [
56
+ "command-parameter:[\"@hia-doc/cssdoc-runner\",\"cssdoc\",\"option\",\"sources-content-policy\"]"
57
+ ]
58
+ },
59
+ {
60
+ "id": "command-parameter:[\"@hia-doc/cssdoc-runner\",\"cssdoc\",\"option\",\"no-doc-source-map\"]",
61
+ "kind": "operation",
62
+ "title": "--no-doc-source-map",
63
+ "symbolIds": [
64
+ "command-parameter:[\"@hia-doc/cssdoc-runner\",\"cssdoc\",\"option\",\"no-doc-source-map\"]"
65
+ ]
66
+ },
67
+ {
68
+ "id": "command-parameter:[\"@hia-doc/cssdoc-runner\",\"cssdoc\",\"option\",\"help\"]",
69
+ "kind": "operation",
70
+ "title": "--help",
71
+ "symbolIds": [
72
+ "command-parameter:[\"@hia-doc/cssdoc-runner\",\"cssdoc\",\"option\",\"help\"]"
73
+ ]
74
+ },
75
+ {
76
+ "id": "command-parameter:[\"@hia-doc/cssdoc-runner\",\"cssdoc\",\"option\",\"version\"]",
77
+ "kind": "operation",
78
+ "title": "--version",
79
+ "symbolIds": [
80
+ "command-parameter:[\"@hia-doc/cssdoc-runner\",\"cssdoc\",\"option\",\"version\"]"
81
+ ]
82
+ },
83
+ {
84
+ "id": "command-parameter:[\"@hia-doc/cssdoc-runner\",\"cssdoc\",\"positional\",\"positionals\"]",
85
+ "kind": "operation",
86
+ "title": "positionals",
87
+ "symbolIds": [
88
+ "command-parameter:[\"@hia-doc/cssdoc-runner\",\"cssdoc\",\"positional\",\"positionals\"]"
89
+ ]
90
+ }
91
+ ]
92
+ }
93
+ ],
94
+ "symbols": [
95
+ {
96
+ "id": "command:[\"@hia-doc/cssdoc-runner\",\"cssdoc\"]",
97
+ "name": "cssdoc",
98
+ "longname": "cssdoc",
99
+ "kind": "command",
100
+ "path": [
101
+ "cssdoc"
102
+ ],
103
+ "signature": "cssdoc [options] <input...>",
104
+ "i18n": {
105
+ "enabled": true,
106
+ "model": "hia-text-i18n",
107
+ "modelVersion": "1.0.0",
108
+ "defaultLocale": "zh-CN",
109
+ "locales": [
110
+ "zh-CN",
111
+ "en"
112
+ ],
113
+ "fields": {
114
+ "summary": {
115
+ "fieldPath": "summary",
116
+ "kind": "text",
117
+ "defaultLocale": "zh-CN",
118
+ "localizedText": {
119
+ "zh-CN": "提取CSS与设计令牌文档",
120
+ "en": "Extract CSS and design-token documentation"
121
+ }
122
+ },
123
+ "description": {
124
+ "fieldPath": "description",
125
+ "kind": "text",
126
+ "defaultLocale": "zh-CN",
127
+ "localizedText": {
128
+ "zh-CN": "显式配置或直接输入构造运行请求,提取CSS、PostCSS与设计令牌文档。",
129
+ "en": "Build a request from explicit configuration or direct inputs to extract CSS, PostCSS and design-token documentation."
130
+ }
131
+ },
132
+ "configUsage": {
133
+ "fieldPath": "configUsage",
134
+ "kind": "text",
135
+ "defaultLocale": "zh-CN",
136
+ "localizedText": {
137
+ "zh-CN": "cssdoc --config cssdoc.config.json",
138
+ "en": "cssdoc --config cssdoc.config.json"
139
+ }
140
+ },
141
+ "configOverrides": {
142
+ "fieldPath": "configOverrides",
143
+ "kind": "text",
144
+ "defaultLocale": "zh-CN",
145
+ "localizedText": {
146
+ "zh-CN": "配置模式中,CLI可覆盖out-dir、sources-content-policy及no-doc-source-map。",
147
+ "en": "In config mode CLI can override out-dir, sources-content-policy and no-doc-source-map."
148
+ }
149
+ },
150
+ "directOnly": {
151
+ "fieldPath": "directOnly",
152
+ "kind": "text",
153
+ "defaultLocale": "zh-CN",
154
+ "localizedText": {
155
+ "zh-CN": "kind及workspace-root用于直接模式;配置模式忽略它们和位置输入。",
156
+ "en": "kind and workspace-root apply to direct mode; config mode ignores them and positional inputs."
157
+ }
158
+ },
159
+ "paths": {
160
+ "fieldPath": "paths",
161
+ "kind": "text",
162
+ "defaultLocale": "zh-CN",
163
+ "localizedText": {
164
+ "zh-CN": "配置文件相对调用目录,配置工作区相对配置目录;输出相对所选工作区。",
165
+ "en": "Config paths use cwd, configured workspaces use the config directory, and output uses the selected workspace."
166
+ }
167
+ },
168
+ "writes": {
169
+ "fieldPath": "writes",
170
+ "kind": "text",
171
+ "defaultLocale": "zh-CN",
172
+ "localizedText": {
173
+ "zh-CN": "运行会创建目录并写工件,失败时可能已写部分文件。embed策略会写入获准公开的源码正文。",
174
+ "en": "Runs create directories and artifacts; failures may leave partial output. The embed policy includes source bodies authorized for publication."
175
+ }
176
+ },
177
+ "parsing": {
178
+ "fieldPath": "parsing",
179
+ "kind": "text",
180
+ "defaultLocale": "zh-CN",
181
+ "localizedText": {
182
+ "zh-CN": "Node严格解析先于帮助;未知、缺值或类型错误返回1。重复带值选项取最后值,--之后作为位置输入。",
183
+ "en": "Node strict parsing precedes help; unknown, missing or invalid option values exit 1. Repeated value options use the last value, and tokens after -- are positional inputs."
184
+ }
185
+ },
186
+ "offline": {
187
+ "fieldPath": "offline",
188
+ "kind": "text",
189
+ "defaultLocale": "zh-CN",
190
+ "localizedText": {
191
+ "zh-CN": "@hia-doc/cssdoc-runner/README.md",
192
+ "en": "@hia-doc/cssdoc-runner/README.md"
193
+ }
194
+ }
195
+ }
196
+ },
197
+ "metadata": {
198
+ "commandDocumentation": {
199
+ "nativeId": "cssdoc"
200
+ }
201
+ },
202
+ "source": {
203
+ "model": "hia-source",
204
+ "modelVersion": "1.0.0",
205
+ "mode": "link",
206
+ "primaryBlock": null,
207
+ "definedIn": {
208
+ "kind": "defined-in",
209
+ "relativePath": "src/cli.mjs",
210
+ "language": "javascript",
211
+ "position": {
212
+ "line": 21
213
+ }
214
+ }
215
+ }
216
+ },
217
+ {
218
+ "id": "command-parameter:[\"@hia-doc/cssdoc-runner\",\"cssdoc\",\"option\",\"config\"]",
219
+ "name": "--config",
220
+ "kind": "option",
221
+ "parentId": "command:[\"@hia-doc/cssdoc-runner\",\"cssdoc\"]",
222
+ "path": [
223
+ "cssdoc",
224
+ "--config"
225
+ ],
226
+ "signature": "[-c, --config <string>]",
227
+ "i18n": {
228
+ "enabled": true,
229
+ "model": "hia-text-i18n",
230
+ "modelVersion": "1.0.0",
231
+ "defaultLocale": "zh-CN",
232
+ "locales": [
233
+ "zh-CN",
234
+ "en"
235
+ ],
236
+ "fields": {
237
+ "summary": {
238
+ "fieldPath": "summary",
239
+ "kind": "text",
240
+ "defaultLocale": "zh-CN",
241
+ "localizedText": {
242
+ "zh-CN": "从JSON配置构造请求。",
243
+ "en": "Build a request from JSON configuration."
244
+ }
245
+ },
246
+ "description": {
247
+ "fieldPath": "description",
248
+ "kind": "text",
249
+ "defaultLocale": "zh-CN",
250
+ "localizedText": {
251
+ "zh-CN": "从JSON配置构造请求。",
252
+ "en": "Build a request from JSON configuration."
253
+ }
254
+ },
255
+ "metavar": {
256
+ "fieldPath": "metavar",
257
+ "kind": "text",
258
+ "defaultLocale": "zh-CN",
259
+ "localizedText": {
260
+ "zh-CN": "path",
261
+ "en": "path"
262
+ }
263
+ }
264
+ }
265
+ },
266
+ "metadata": {
267
+ "commandDocumentation": {
268
+ "commandId": "cssdoc",
269
+ "nativeId": "config",
270
+ "kind": "option"
271
+ }
272
+ },
273
+ "source": {
274
+ "model": "hia-source",
275
+ "modelVersion": "1.0.0",
276
+ "mode": "link",
277
+ "primaryBlock": null,
278
+ "definedIn": {
279
+ "kind": "defined-in",
280
+ "relativePath": "src/cli.mjs",
281
+ "language": "javascript",
282
+ "position": {
283
+ "line": 21
284
+ }
285
+ }
286
+ }
287
+ },
288
+ {
289
+ "id": "command-parameter:[\"@hia-doc/cssdoc-runner\",\"cssdoc\",\"option\",\"kind\"]",
290
+ "name": "--kind",
291
+ "kind": "option",
292
+ "parentId": "command:[\"@hia-doc/cssdoc-runner\",\"cssdoc\"]",
293
+ "path": [
294
+ "cssdoc",
295
+ "--kind"
296
+ ],
297
+ "signature": "[-k, --kind <string>]",
298
+ "i18n": {
299
+ "enabled": true,
300
+ "model": "hia-text-i18n",
301
+ "modelVersion": "1.0.0",
302
+ "defaultLocale": "zh-CN",
303
+ "locales": [
304
+ "zh-CN",
305
+ "en"
306
+ ],
307
+ "fields": {
308
+ "summary": {
309
+ "fieldPath": "summary",
310
+ "kind": "text",
311
+ "defaultLocale": "zh-CN",
312
+ "localizedText": {
313
+ "zh-CN": "直接输入的类型,省略时从输入推断。",
314
+ "en": "Direct-input kind, inferred from input when omitted."
315
+ }
316
+ },
317
+ "description": {
318
+ "fieldPath": "description",
319
+ "kind": "text",
320
+ "defaultLocale": "zh-CN",
321
+ "localizedText": {
322
+ "zh-CN": "直接输入的类型,省略时从输入推断。",
323
+ "en": "Direct-input kind, inferred from input when omitted."
324
+ }
325
+ },
326
+ "metavar": {
327
+ "fieldPath": "metavar",
328
+ "kind": "text",
329
+ "defaultLocale": "zh-CN",
330
+ "localizedText": {
331
+ "zh-CN": "kind",
332
+ "en": "kind"
333
+ }
334
+ }
335
+ }
336
+ },
337
+ "metadata": {
338
+ "commandDocumentation": {
339
+ "commandId": "cssdoc",
340
+ "nativeId": "kind",
341
+ "kind": "option"
342
+ }
343
+ },
344
+ "source": {
345
+ "model": "hia-source",
346
+ "modelVersion": "1.0.0",
347
+ "mode": "link",
348
+ "primaryBlock": null,
349
+ "definedIn": {
350
+ "kind": "defined-in",
351
+ "relativePath": "src/cli.mjs",
352
+ "language": "javascript",
353
+ "position": {
354
+ "line": 21
355
+ }
356
+ }
357
+ }
358
+ },
359
+ {
360
+ "id": "command-parameter:[\"@hia-doc/cssdoc-runner\",\"cssdoc\",\"option\",\"out-dir\"]",
361
+ "name": "--out-dir",
362
+ "kind": "option",
363
+ "parentId": "command:[\"@hia-doc/cssdoc-runner\",\"cssdoc\"]",
364
+ "path": [
365
+ "cssdoc",
366
+ "--out-dir"
367
+ ],
368
+ "signature": "[-o, --out-dir <string>]",
369
+ "i18n": {
370
+ "enabled": true,
371
+ "model": "hia-text-i18n",
372
+ "modelVersion": "1.0.0",
373
+ "defaultLocale": "zh-CN",
374
+ "locales": [
375
+ "zh-CN",
376
+ "en"
377
+ ],
378
+ "fields": {
379
+ "summary": {
380
+ "fieldPath": "summary",
381
+ "kind": "text",
382
+ "defaultLocale": "zh-CN",
383
+ "localizedText": {
384
+ "zh-CN": "配置模式非空值覆盖输出;直接模式缺省dist/cssdoc,空字符串为工作区根。",
385
+ "en": "Nonempty values override configured output; direct mode defaults to dist/cssdoc, with an empty string selecting the workspace root."
386
+ }
387
+ },
388
+ "description": {
389
+ "fieldPath": "description",
390
+ "kind": "text",
391
+ "defaultLocale": "zh-CN",
392
+ "localizedText": {
393
+ "zh-CN": "配置模式非空值覆盖输出;直接模式缺省dist/cssdoc,空字符串为工作区根。",
394
+ "en": "Nonempty values override configured output; direct mode defaults to dist/cssdoc, with an empty string selecting the workspace root."
395
+ }
396
+ },
397
+ "metavar": {
398
+ "fieldPath": "metavar",
399
+ "kind": "text",
400
+ "defaultLocale": "zh-CN",
401
+ "localizedText": {
402
+ "zh-CN": "path",
403
+ "en": "path"
404
+ }
405
+ }
406
+ }
407
+ },
408
+ "metadata": {
409
+ "commandDocumentation": {
410
+ "commandId": "cssdoc",
411
+ "nativeId": "out-dir",
412
+ "kind": "option"
413
+ }
414
+ },
415
+ "source": {
416
+ "model": "hia-source",
417
+ "modelVersion": "1.0.0",
418
+ "mode": "link",
419
+ "primaryBlock": null,
420
+ "definedIn": {
421
+ "kind": "defined-in",
422
+ "relativePath": "src/cli.mjs",
423
+ "language": "javascript",
424
+ "position": {
425
+ "line": 21
426
+ }
427
+ }
428
+ }
429
+ },
430
+ {
431
+ "id": "command-parameter:[\"@hia-doc/cssdoc-runner\",\"cssdoc\",\"option\",\"workspace-root\"]",
432
+ "name": "--workspace-root",
433
+ "kind": "option",
434
+ "parentId": "command:[\"@hia-doc/cssdoc-runner\",\"cssdoc\"]",
435
+ "path": [
436
+ "cssdoc",
437
+ "--workspace-root"
438
+ ],
439
+ "signature": "[--workspace-root <string>]",
440
+ "i18n": {
441
+ "enabled": true,
442
+ "model": "hia-text-i18n",
443
+ "modelVersion": "1.0.0",
444
+ "defaultLocale": "zh-CN",
445
+ "locales": [
446
+ "zh-CN",
447
+ "en"
448
+ ],
449
+ "fields": {
450
+ "summary": {
451
+ "fieldPath": "summary",
452
+ "kind": "text",
453
+ "defaultLocale": "zh-CN",
454
+ "localizedText": {
455
+ "zh-CN": "直接模式的工作区根,省略时使用调用目录。",
456
+ "en": "Workspace root for direct mode, defaulting to cwd."
457
+ }
458
+ },
459
+ "description": {
460
+ "fieldPath": "description",
461
+ "kind": "text",
462
+ "defaultLocale": "zh-CN",
463
+ "localizedText": {
464
+ "zh-CN": "直接模式的工作区根,省略时使用调用目录。",
465
+ "en": "Workspace root for direct mode, defaulting to cwd."
466
+ }
467
+ },
468
+ "metavar": {
469
+ "fieldPath": "metavar",
470
+ "kind": "text",
471
+ "defaultLocale": "zh-CN",
472
+ "localizedText": {
473
+ "zh-CN": "path",
474
+ "en": "path"
475
+ }
476
+ }
477
+ }
478
+ },
479
+ "metadata": {
480
+ "commandDocumentation": {
481
+ "commandId": "cssdoc",
482
+ "nativeId": "workspace-root",
483
+ "kind": "option"
484
+ }
485
+ },
486
+ "source": {
487
+ "model": "hia-source",
488
+ "modelVersion": "1.0.0",
489
+ "mode": "link",
490
+ "primaryBlock": null,
491
+ "definedIn": {
492
+ "kind": "defined-in",
493
+ "relativePath": "src/cli.mjs",
494
+ "language": "javascript",
495
+ "position": {
496
+ "line": 21
497
+ }
498
+ }
499
+ }
500
+ },
501
+ {
502
+ "id": "command-parameter:[\"@hia-doc/cssdoc-runner\",\"cssdoc\",\"option\",\"sources-content-policy\"]",
503
+ "name": "--sources-content-policy",
504
+ "kind": "option",
505
+ "parentId": "command:[\"@hia-doc/cssdoc-runner\",\"cssdoc\"]",
506
+ "path": [
507
+ "cssdoc",
508
+ "--sources-content-policy"
509
+ ],
510
+ "signature": "[--sources-content-policy <string>]",
511
+ "i18n": {
512
+ "enabled": true,
513
+ "model": "hia-text-i18n",
514
+ "modelVersion": "1.0.0",
515
+ "defaultLocale": "zh-CN",
516
+ "locales": [
517
+ "zh-CN",
518
+ "en"
519
+ ],
520
+ "fields": {
521
+ "summary": {
522
+ "fieldPath": "summary",
523
+ "kind": "text",
524
+ "defaultLocale": "zh-CN",
525
+ "localizedText": {
526
+ "zh-CN": "直接模式缺省none;配置模式省略或空值时保留原值,非空值覆盖。",
527
+ "en": "Direct mode defaults to none; config mode retains its policy for omission or empty strings and uses nonempty overrides."
528
+ }
529
+ },
530
+ "description": {
531
+ "fieldPath": "description",
532
+ "kind": "text",
533
+ "defaultLocale": "zh-CN",
534
+ "localizedText": {
535
+ "zh-CN": "直接模式缺省none;配置模式省略或空值时保留原值,非空值覆盖。",
536
+ "en": "Direct mode defaults to none; config mode retains its policy for omission or empty strings and uses nonempty overrides."
537
+ }
538
+ },
539
+ "metavar": {
540
+ "fieldPath": "metavar",
541
+ "kind": "text",
542
+ "defaultLocale": "zh-CN",
543
+ "localizedText": {
544
+ "zh-CN": "none|reference|embed",
545
+ "en": "none|reference|embed"
546
+ }
547
+ }
548
+ }
549
+ },
550
+ "metadata": {
551
+ "commandDocumentation": {
552
+ "commandId": "cssdoc",
553
+ "nativeId": "sources-content-policy",
554
+ "kind": "option"
555
+ }
556
+ },
557
+ "source": {
558
+ "model": "hia-source",
559
+ "modelVersion": "1.0.0",
560
+ "mode": "link",
561
+ "primaryBlock": null,
562
+ "definedIn": {
563
+ "kind": "defined-in",
564
+ "relativePath": "src/cli.mjs",
565
+ "language": "javascript",
566
+ "position": {
567
+ "line": 21
568
+ }
569
+ }
570
+ }
571
+ },
572
+ {
573
+ "id": "command-parameter:[\"@hia-doc/cssdoc-runner\",\"cssdoc\",\"option\",\"no-doc-source-map\"]",
574
+ "name": "--no-doc-source-map",
575
+ "kind": "option",
576
+ "parentId": "command:[\"@hia-doc/cssdoc-runner\",\"cssdoc\"]",
577
+ "path": [
578
+ "cssdoc",
579
+ "--no-doc-source-map"
580
+ ],
581
+ "signature": "[--no-doc-source-map]",
582
+ "i18n": {
583
+ "enabled": true,
584
+ "model": "hia-text-i18n",
585
+ "modelVersion": "1.0.0",
586
+ "defaultLocale": "zh-CN",
587
+ "locales": [
588
+ "zh-CN",
589
+ "en"
590
+ ],
591
+ "fields": {
592
+ "summary": {
593
+ "fieldPath": "summary",
594
+ "kind": "text",
595
+ "defaultLocale": "zh-CN",
596
+ "localizedText": {
597
+ "zh-CN": "提供时关闭地图;省略时直接模式生成地图,配置模式保留原值。",
598
+ "en": "Supplying the flag disables maps; omission enables direct-mode maps and retains the configured value."
599
+ }
600
+ },
601
+ "description": {
602
+ "fieldPath": "description",
603
+ "kind": "text",
604
+ "defaultLocale": "zh-CN",
605
+ "localizedText": {
606
+ "zh-CN": "提供时关闭地图;省略时直接模式生成地图,配置模式保留原值。",
607
+ "en": "Supplying the flag disables maps; omission enables direct-mode maps and retains the configured value."
608
+ }
609
+ }
610
+ }
611
+ },
612
+ "metadata": {
613
+ "commandDocumentation": {
614
+ "commandId": "cssdoc",
615
+ "nativeId": "no-doc-source-map",
616
+ "kind": "option"
617
+ }
618
+ },
619
+ "source": {
620
+ "model": "hia-source",
621
+ "modelVersion": "1.0.0",
622
+ "mode": "link",
623
+ "primaryBlock": null,
624
+ "definedIn": {
625
+ "kind": "defined-in",
626
+ "relativePath": "src/cli.mjs",
627
+ "language": "javascript",
628
+ "position": {
629
+ "line": 21
630
+ }
631
+ }
632
+ }
633
+ },
634
+ {
635
+ "id": "command-parameter:[\"@hia-doc/cssdoc-runner\",\"cssdoc\",\"option\",\"help\"]",
636
+ "name": "--help",
637
+ "kind": "option",
638
+ "parentId": "command:[\"@hia-doc/cssdoc-runner\",\"cssdoc\"]",
639
+ "path": [
640
+ "cssdoc",
641
+ "--help"
642
+ ],
643
+ "signature": "[-h, --help]",
644
+ "i18n": {
645
+ "enabled": true,
646
+ "model": "hia-text-i18n",
647
+ "modelVersion": "1.0.0",
648
+ "defaultLocale": "zh-CN",
649
+ "locales": [
650
+ "zh-CN",
651
+ "en"
652
+ ],
653
+ "fields": {
654
+ "summary": {
655
+ "fieldPath": "summary",
656
+ "kind": "text",
657
+ "defaultLocale": "zh-CN",
658
+ "localizedText": {
659
+ "zh-CN": "输出帮助并退出0。",
660
+ "en": "Print help and exit 0."
661
+ }
662
+ },
663
+ "description": {
664
+ "fieldPath": "description",
665
+ "kind": "text",
666
+ "defaultLocale": "zh-CN",
667
+ "localizedText": {
668
+ "zh-CN": "输出帮助并退出0。",
669
+ "en": "Print help and exit 0."
670
+ }
671
+ }
672
+ }
673
+ },
674
+ "metadata": {
675
+ "commandDocumentation": {
676
+ "commandId": "cssdoc",
677
+ "nativeId": "help",
678
+ "kind": "option"
679
+ }
680
+ },
681
+ "source": {
682
+ "model": "hia-source",
683
+ "modelVersion": "1.0.0",
684
+ "mode": "link",
685
+ "primaryBlock": null,
686
+ "definedIn": {
687
+ "kind": "defined-in",
688
+ "relativePath": "src/cli.mjs",
689
+ "language": "javascript",
690
+ "position": {
691
+ "line": 21
692
+ }
693
+ }
694
+ }
695
+ },
696
+ {
697
+ "id": "command-parameter:[\"@hia-doc/cssdoc-runner\",\"cssdoc\",\"option\",\"version\"]",
698
+ "name": "--version",
699
+ "kind": "option",
700
+ "parentId": "command:[\"@hia-doc/cssdoc-runner\",\"cssdoc\"]",
701
+ "path": [
702
+ "cssdoc",
703
+ "--version"
704
+ ],
705
+ "signature": "[-v, --version]",
706
+ "i18n": {
707
+ "enabled": true,
708
+ "model": "hia-text-i18n",
709
+ "modelVersion": "1.0.0",
710
+ "defaultLocale": "zh-CN",
711
+ "locales": [
712
+ "zh-CN",
713
+ "en"
714
+ ],
715
+ "fields": {
716
+ "summary": {
717
+ "fieldPath": "summary",
718
+ "kind": "text",
719
+ "defaultLocale": "zh-CN",
720
+ "localizedText": {
721
+ "zh-CN": "输出运行器版本并退出0。",
722
+ "en": "Print runner version and exit 0."
723
+ }
724
+ },
725
+ "description": {
726
+ "fieldPath": "description",
727
+ "kind": "text",
728
+ "defaultLocale": "zh-CN",
729
+ "localizedText": {
730
+ "zh-CN": "输出运行器版本并退出0。",
731
+ "en": "Print runner version and exit 0."
732
+ }
733
+ }
734
+ }
735
+ },
736
+ "metadata": {
737
+ "commandDocumentation": {
738
+ "commandId": "cssdoc",
739
+ "nativeId": "version",
740
+ "kind": "option"
741
+ }
742
+ },
743
+ "source": {
744
+ "model": "hia-source",
745
+ "modelVersion": "1.0.0",
746
+ "mode": "link",
747
+ "primaryBlock": null,
748
+ "definedIn": {
749
+ "kind": "defined-in",
750
+ "relativePath": "src/cli.mjs",
751
+ "language": "javascript",
752
+ "position": {
753
+ "line": 21
754
+ }
755
+ }
756
+ }
757
+ },
758
+ {
759
+ "id": "command-parameter:[\"@hia-doc/cssdoc-runner\",\"cssdoc\",\"positional\",\"positionals\"]",
760
+ "name": "positionals",
761
+ "kind": "argument",
762
+ "parentId": "command:[\"@hia-doc/cssdoc-runner\",\"cssdoc\"]",
763
+ "path": [
764
+ "cssdoc",
765
+ "positionals"
766
+ ],
767
+ "signature": "[positionals <string...>]",
768
+ "i18n": {
769
+ "enabled": true,
770
+ "model": "hia-text-i18n",
771
+ "modelVersion": "1.0.0",
772
+ "defaultLocale": "zh-CN",
773
+ "locales": [
774
+ "zh-CN",
775
+ "en"
776
+ ],
777
+ "fields": {
778
+ "summary": {
779
+ "fieldPath": "summary",
780
+ "kind": "text",
781
+ "defaultLocale": "zh-CN",
782
+ "localizedText": {
783
+ "zh-CN": "直接模式至少一个相对工作区的输入;配置模式忽略。",
784
+ "en": "Direct mode requires at least one workspace-relative input; config mode ignores positional inputs."
785
+ }
786
+ },
787
+ "description": {
788
+ "fieldPath": "description",
789
+ "kind": "text",
790
+ "defaultLocale": "zh-CN",
791
+ "localizedText": {
792
+ "zh-CN": "直接模式至少一个相对工作区的输入;配置模式忽略。",
793
+ "en": "Direct mode requires at least one workspace-relative input; config mode ignores positional inputs."
794
+ }
795
+ },
796
+ "metavar": {
797
+ "fieldPath": "metavar",
798
+ "kind": "text",
799
+ "defaultLocale": "zh-CN",
800
+ "localizedText": {
801
+ "zh-CN": "input...",
802
+ "en": "input..."
803
+ }
804
+ }
805
+ }
806
+ },
807
+ "metadata": {
808
+ "commandDocumentation": {
809
+ "commandId": "cssdoc",
810
+ "nativeId": "positionals",
811
+ "kind": "positional"
812
+ }
813
+ },
814
+ "source": {
815
+ "model": "hia-source",
816
+ "modelVersion": "1.0.0",
817
+ "mode": "link",
818
+ "primaryBlock": null,
819
+ "definedIn": {
820
+ "kind": "defined-in",
821
+ "relativePath": "src/cli.mjs",
822
+ "language": "javascript",
823
+ "position": {
824
+ "line": 21
825
+ }
826
+ }
827
+ }
828
+ }
829
+ ],
830
+ "metadata": {
831
+ "commandDocumentation": {
832
+ "artifact": {
833
+ "contract": "command-documentation",
834
+ "contractVersion": "0.1.0-draft",
835
+ "owner": {
836
+ "packageName": "@hia-doc/cssdoc-runner",
837
+ "packageVersion": "1.0.0"
838
+ },
839
+ "sources": [
840
+ {
841
+ "id": "src/cli.mjs",
842
+ "path": "src/cli.mjs",
843
+ "sha256": "b8dc623556d60300123586ff0d404f5ad171f06f69d6fc848d2cc91c6c16777b",
844
+ "language": "javascript"
845
+ },
846
+ {
847
+ "id": "src/command-content.mjs",
848
+ "path": "src/command-content.mjs",
849
+ "sha256": "97fc8e337e486edf00433c505195704f3d47ebb48cf146b78559d2c123751205",
850
+ "language": "javascript"
851
+ },
852
+ {
853
+ "id": "src/metadata.mjs",
854
+ "path": "src/metadata.mjs",
855
+ "sha256": "27aea061883a3105fe28271f6fd2a1e4b554a73cbfd114fdf19e081ed5447e62",
856
+ "language": "javascript"
857
+ },
858
+ {
859
+ "id": "src/index.mjs",
860
+ "path": "src/index.mjs",
861
+ "sha256": "e7b16c94a22b3b6a7335ce3e60a6471d7a79c614ee573c6873d8aba27e529b25",
862
+ "language": "javascript"
863
+ },
864
+ {
865
+ "id": "src/schema.mjs",
866
+ "path": "src/schema.mjs",
867
+ "sha256": "65a9c7f1765206e569d0da91624884b0cebabce64cb91d0ffc7f8aaf6f304894",
868
+ "language": "javascript"
869
+ },
870
+ {
871
+ "id": "src/config-compatibility.mjs",
872
+ "path": "src/config-compatibility.mjs",
873
+ "sha256": "48e84ecf7316979854c3ae78fcc38caa7a7dbc78d31f3311856614b7f4369bfc",
874
+ "language": "javascript"
875
+ },
876
+ {
877
+ "id": "src/schemas/cssdoc-config-0.1.0-draft.schema.json",
878
+ "path": "src/schemas/cssdoc-config-0.1.0-draft.schema.json",
879
+ "sha256": "7467524764faad0ab3f8a1a9248e022d097198d9584fe179ba9bae9f247a5fe0",
880
+ "language": "json"
881
+ },
882
+ {
883
+ "id": "src/schemas/cssdoc-config-1.0.0.schema.json",
884
+ "path": "src/schemas/cssdoc-config-1.0.0.schema.json",
885
+ "sha256": "fef1ee7048982d62f69e7cb805eed6f429e66af552a6d87b7070de44e3d739dc",
886
+ "language": "json"
887
+ },
888
+ {
889
+ "id": "README.md",
890
+ "path": "README.md",
891
+ "sha256": "ef98236f15a557579ddaeedf78603e8cb4f3c9495d93d1f8aef2a677ca8fc4a2",
892
+ "language": "markdown"
893
+ },
894
+ {
895
+ "id": "package.json",
896
+ "path": "package.json",
897
+ "sha256": "703eb7281b3d65c4a46e4ef8eeacccbd0b22e72afae46a382ab465390e64e9ef",
898
+ "language": "json"
899
+ }
900
+ ],
901
+ "commands": [
902
+ {
903
+ "id": "cssdoc",
904
+ "executable": "cssdoc",
905
+ "path": [],
906
+ "kind": "command",
907
+ "signature": "cssdoc [options] <input...>",
908
+ "i18n": {
909
+ "enabled": true,
910
+ "model": "hia-text-i18n",
911
+ "modelVersion": "1.0.0",
912
+ "defaultLocale": "zh-CN",
913
+ "locales": [
914
+ "zh-CN",
915
+ "en"
916
+ ],
917
+ "fields": {
918
+ "summary": {
919
+ "fieldPath": "summary",
920
+ "kind": "text",
921
+ "defaultLocale": "zh-CN",
922
+ "localizedText": {
923
+ "zh-CN": "提取CSS与设计令牌文档",
924
+ "en": "Extract CSS and design-token documentation"
925
+ }
926
+ },
927
+ "description": {
928
+ "fieldPath": "description",
929
+ "kind": "text",
930
+ "defaultLocale": "zh-CN",
931
+ "localizedText": {
932
+ "zh-CN": "显式配置或直接输入构造运行请求,提取CSS、PostCSS与设计令牌文档。",
933
+ "en": "Build a request from explicit configuration or direct inputs to extract CSS, PostCSS and design-token documentation."
934
+ }
935
+ },
936
+ "configUsage": {
937
+ "fieldPath": "configUsage",
938
+ "kind": "text",
939
+ "defaultLocale": "zh-CN",
940
+ "localizedText": {
941
+ "zh-CN": "cssdoc --config cssdoc.config.json",
942
+ "en": "cssdoc --config cssdoc.config.json"
943
+ }
944
+ },
945
+ "configOverrides": {
946
+ "fieldPath": "configOverrides",
947
+ "kind": "text",
948
+ "defaultLocale": "zh-CN",
949
+ "localizedText": {
950
+ "zh-CN": "配置模式中,CLI可覆盖out-dir、sources-content-policy及no-doc-source-map。",
951
+ "en": "In config mode CLI can override out-dir, sources-content-policy and no-doc-source-map."
952
+ }
953
+ },
954
+ "directOnly": {
955
+ "fieldPath": "directOnly",
956
+ "kind": "text",
957
+ "defaultLocale": "zh-CN",
958
+ "localizedText": {
959
+ "zh-CN": "kind及workspace-root用于直接模式;配置模式忽略它们和位置输入。",
960
+ "en": "kind and workspace-root apply to direct mode; config mode ignores them and positional inputs."
961
+ }
962
+ },
963
+ "paths": {
964
+ "fieldPath": "paths",
965
+ "kind": "text",
966
+ "defaultLocale": "zh-CN",
967
+ "localizedText": {
968
+ "zh-CN": "配置文件相对调用目录,配置工作区相对配置目录;输出相对所选工作区。",
969
+ "en": "Config paths use cwd, configured workspaces use the config directory, and output uses the selected workspace."
970
+ }
971
+ },
972
+ "writes": {
973
+ "fieldPath": "writes",
974
+ "kind": "text",
975
+ "defaultLocale": "zh-CN",
976
+ "localizedText": {
977
+ "zh-CN": "运行会创建目录并写工件,失败时可能已写部分文件。embed策略会写入获准公开的源码正文。",
978
+ "en": "Runs create directories and artifacts; failures may leave partial output. The embed policy includes source bodies authorized for publication."
979
+ }
980
+ },
981
+ "parsing": {
982
+ "fieldPath": "parsing",
983
+ "kind": "text",
984
+ "defaultLocale": "zh-CN",
985
+ "localizedText": {
986
+ "zh-CN": "Node严格解析先于帮助;未知、缺值或类型错误返回1。重复带值选项取最后值,--之后作为位置输入。",
987
+ "en": "Node strict parsing precedes help; unknown, missing or invalid option values exit 1. Repeated value options use the last value, and tokens after -- are positional inputs."
988
+ }
989
+ },
990
+ "offline": {
991
+ "fieldPath": "offline",
992
+ "kind": "text",
993
+ "defaultLocale": "zh-CN",
994
+ "localizedText": {
995
+ "zh-CN": "@hia-doc/cssdoc-runner/README.md",
996
+ "en": "@hia-doc/cssdoc-runner/README.md"
997
+ }
998
+ }
999
+ }
1000
+ },
1001
+ "displayVersion": {
1002
+ "kind": "runner",
1003
+ "value": "1.0.0"
1004
+ },
1005
+ "parsing": {
1006
+ "helpOrder": "after-argument-validation",
1007
+ "unknownOptions": "reject"
1008
+ },
1009
+ "options": [
1010
+ {
1011
+ "id": "config",
1012
+ "kind": "option",
1013
+ "name": "config",
1014
+ "short": "c",
1015
+ "valueType": "string",
1016
+ "required": false,
1017
+ "multiple": false,
1018
+ "defaultRule": {
1019
+ "kind": "not-applicable"
1020
+ },
1021
+ "i18n": {
1022
+ "enabled": true,
1023
+ "model": "hia-text-i18n",
1024
+ "modelVersion": "1.0.0",
1025
+ "defaultLocale": "zh-CN",
1026
+ "locales": [
1027
+ "zh-CN",
1028
+ "en"
1029
+ ],
1030
+ "fields": {
1031
+ "summary": {
1032
+ "fieldPath": "summary",
1033
+ "kind": "text",
1034
+ "defaultLocale": "zh-CN",
1035
+ "localizedText": {
1036
+ "zh-CN": "从JSON配置构造请求。",
1037
+ "en": "Build a request from JSON configuration."
1038
+ }
1039
+ },
1040
+ "description": {
1041
+ "fieldPath": "description",
1042
+ "kind": "text",
1043
+ "defaultLocale": "zh-CN",
1044
+ "localizedText": {
1045
+ "zh-CN": "从JSON配置构造请求。",
1046
+ "en": "Build a request from JSON configuration."
1047
+ }
1048
+ },
1049
+ "metavar": {
1050
+ "fieldPath": "metavar",
1051
+ "kind": "text",
1052
+ "defaultLocale": "zh-CN",
1053
+ "localizedText": {
1054
+ "zh-CN": "path",
1055
+ "en": "path"
1056
+ }
1057
+ }
1058
+ }
1059
+ },
1060
+ "evidence": [
1061
+ {
1062
+ "fieldPath": "name",
1063
+ "sourceId": "src/cli.mjs",
1064
+ "range": {
1065
+ "start": {
1066
+ "line": 21
1067
+ },
1068
+ "end": {
1069
+ "line": 21
1070
+ }
1071
+ },
1072
+ "rangeConvention": {
1073
+ "endBoundary": "unknown",
1074
+ "columnUnit": "unknown"
1075
+ }
1076
+ },
1077
+ {
1078
+ "fieldPath": "kind",
1079
+ "sourceId": "src/command-content.mjs"
1080
+ },
1081
+ {
1082
+ "fieldPath": "kind",
1083
+ "sourceId": "src/cli.mjs"
1084
+ },
1085
+ {
1086
+ "fieldPath": "name",
1087
+ "sourceId": "src/command-content.mjs"
1088
+ },
1089
+ {
1090
+ "fieldPath": "name",
1091
+ "sourceId": "src/cli.mjs"
1092
+ },
1093
+ {
1094
+ "fieldPath": "short",
1095
+ "sourceId": "src/command-content.mjs"
1096
+ },
1097
+ {
1098
+ "fieldPath": "short",
1099
+ "sourceId": "src/cli.mjs"
1100
+ },
1101
+ {
1102
+ "fieldPath": "valueType",
1103
+ "sourceId": "src/command-content.mjs"
1104
+ },
1105
+ {
1106
+ "fieldPath": "valueType",
1107
+ "sourceId": "src/cli.mjs"
1108
+ },
1109
+ {
1110
+ "fieldPath": "required",
1111
+ "sourceId": "src/command-content.mjs"
1112
+ },
1113
+ {
1114
+ "fieldPath": "required",
1115
+ "sourceId": "src/cli.mjs"
1116
+ },
1117
+ {
1118
+ "fieldPath": "multiple",
1119
+ "sourceId": "src/command-content.mjs"
1120
+ },
1121
+ {
1122
+ "fieldPath": "multiple",
1123
+ "sourceId": "src/cli.mjs"
1124
+ },
1125
+ {
1126
+ "fieldPath": "defaultRule",
1127
+ "sourceId": "src/command-content.mjs"
1128
+ },
1129
+ {
1130
+ "fieldPath": "defaultRule",
1131
+ "sourceId": "src/cli.mjs"
1132
+ },
1133
+ {
1134
+ "fieldPath": "i18n.fields.summary",
1135
+ "sourceId": "src/command-content.mjs"
1136
+ },
1137
+ {
1138
+ "fieldPath": "i18n.fields.summary",
1139
+ "sourceId": "README.md"
1140
+ },
1141
+ {
1142
+ "fieldPath": "i18n.fields.description",
1143
+ "sourceId": "src/command-content.mjs"
1144
+ },
1145
+ {
1146
+ "fieldPath": "i18n.fields.description",
1147
+ "sourceId": "README.md"
1148
+ },
1149
+ {
1150
+ "fieldPath": "i18n.fields.metavar",
1151
+ "sourceId": "src/command-content.mjs"
1152
+ },
1153
+ {
1154
+ "fieldPath": "i18n.fields.metavar",
1155
+ "sourceId": "README.md"
1156
+ },
1157
+ {
1158
+ "fieldPath": "defaultRule",
1159
+ "sourceId": "src/index.mjs"
1160
+ },
1161
+ {
1162
+ "fieldPath": "defaultRule",
1163
+ "sourceId": "src/config-compatibility.mjs"
1164
+ },
1165
+ {
1166
+ "fieldPath": "defaultRule",
1167
+ "sourceId": "src/schemas/cssdoc-config-1.0.0.schema.json"
1168
+ },
1169
+ {
1170
+ "fieldPath": "defaultRule",
1171
+ "sourceId": "src/schemas/cssdoc-config-0.1.0-draft.schema.json"
1172
+ }
1173
+ ]
1174
+ },
1175
+ {
1176
+ "id": "kind",
1177
+ "kind": "option",
1178
+ "name": "kind",
1179
+ "short": "k",
1180
+ "valueType": "string",
1181
+ "required": false,
1182
+ "multiple": false,
1183
+ "choices": [
1184
+ "css",
1185
+ "postcss-css",
1186
+ "design-token"
1187
+ ],
1188
+ "defaultRule": {
1189
+ "kind": "conditional",
1190
+ "conditions": [
1191
+ "description"
1192
+ ]
1193
+ },
1194
+ "i18n": {
1195
+ "enabled": true,
1196
+ "model": "hia-text-i18n",
1197
+ "modelVersion": "1.0.0",
1198
+ "defaultLocale": "zh-CN",
1199
+ "locales": [
1200
+ "zh-CN",
1201
+ "en"
1202
+ ],
1203
+ "fields": {
1204
+ "summary": {
1205
+ "fieldPath": "summary",
1206
+ "kind": "text",
1207
+ "defaultLocale": "zh-CN",
1208
+ "localizedText": {
1209
+ "zh-CN": "直接输入的类型,省略时从输入推断。",
1210
+ "en": "Direct-input kind, inferred from input when omitted."
1211
+ }
1212
+ },
1213
+ "description": {
1214
+ "fieldPath": "description",
1215
+ "kind": "text",
1216
+ "defaultLocale": "zh-CN",
1217
+ "localizedText": {
1218
+ "zh-CN": "直接输入的类型,省略时从输入推断。",
1219
+ "en": "Direct-input kind, inferred from input when omitted."
1220
+ }
1221
+ },
1222
+ "metavar": {
1223
+ "fieldPath": "metavar",
1224
+ "kind": "text",
1225
+ "defaultLocale": "zh-CN",
1226
+ "localizedText": {
1227
+ "zh-CN": "kind",
1228
+ "en": "kind"
1229
+ }
1230
+ }
1231
+ }
1232
+ },
1233
+ "evidence": [
1234
+ {
1235
+ "fieldPath": "name",
1236
+ "sourceId": "src/cli.mjs",
1237
+ "range": {
1238
+ "start": {
1239
+ "line": 21
1240
+ },
1241
+ "end": {
1242
+ "line": 21
1243
+ }
1244
+ },
1245
+ "rangeConvention": {
1246
+ "endBoundary": "unknown",
1247
+ "columnUnit": "unknown"
1248
+ }
1249
+ },
1250
+ {
1251
+ "fieldPath": "kind",
1252
+ "sourceId": "src/command-content.mjs"
1253
+ },
1254
+ {
1255
+ "fieldPath": "kind",
1256
+ "sourceId": "src/cli.mjs"
1257
+ },
1258
+ {
1259
+ "fieldPath": "name",
1260
+ "sourceId": "src/command-content.mjs"
1261
+ },
1262
+ {
1263
+ "fieldPath": "name",
1264
+ "sourceId": "src/cli.mjs"
1265
+ },
1266
+ {
1267
+ "fieldPath": "short",
1268
+ "sourceId": "src/command-content.mjs"
1269
+ },
1270
+ {
1271
+ "fieldPath": "short",
1272
+ "sourceId": "src/cli.mjs"
1273
+ },
1274
+ {
1275
+ "fieldPath": "valueType",
1276
+ "sourceId": "src/command-content.mjs"
1277
+ },
1278
+ {
1279
+ "fieldPath": "valueType",
1280
+ "sourceId": "src/cli.mjs"
1281
+ },
1282
+ {
1283
+ "fieldPath": "required",
1284
+ "sourceId": "src/command-content.mjs"
1285
+ },
1286
+ {
1287
+ "fieldPath": "required",
1288
+ "sourceId": "src/cli.mjs"
1289
+ },
1290
+ {
1291
+ "fieldPath": "multiple",
1292
+ "sourceId": "src/command-content.mjs"
1293
+ },
1294
+ {
1295
+ "fieldPath": "multiple",
1296
+ "sourceId": "src/cli.mjs"
1297
+ },
1298
+ {
1299
+ "fieldPath": "choices",
1300
+ "sourceId": "src/command-content.mjs"
1301
+ },
1302
+ {
1303
+ "fieldPath": "choices",
1304
+ "sourceId": "src/cli.mjs"
1305
+ },
1306
+ {
1307
+ "fieldPath": "defaultRule",
1308
+ "sourceId": "src/command-content.mjs"
1309
+ },
1310
+ {
1311
+ "fieldPath": "defaultRule",
1312
+ "sourceId": "src/cli.mjs"
1313
+ },
1314
+ {
1315
+ "fieldPath": "i18n.fields.summary",
1316
+ "sourceId": "src/command-content.mjs"
1317
+ },
1318
+ {
1319
+ "fieldPath": "i18n.fields.summary",
1320
+ "sourceId": "README.md"
1321
+ },
1322
+ {
1323
+ "fieldPath": "i18n.fields.description",
1324
+ "sourceId": "src/command-content.mjs"
1325
+ },
1326
+ {
1327
+ "fieldPath": "i18n.fields.description",
1328
+ "sourceId": "README.md"
1329
+ },
1330
+ {
1331
+ "fieldPath": "i18n.fields.metavar",
1332
+ "sourceId": "src/command-content.mjs"
1333
+ },
1334
+ {
1335
+ "fieldPath": "i18n.fields.metavar",
1336
+ "sourceId": "README.md"
1337
+ },
1338
+ {
1339
+ "fieldPath": "defaultRule",
1340
+ "sourceId": "src/index.mjs"
1341
+ },
1342
+ {
1343
+ "fieldPath": "defaultRule",
1344
+ "sourceId": "src/config-compatibility.mjs"
1345
+ },
1346
+ {
1347
+ "fieldPath": "defaultRule",
1348
+ "sourceId": "src/schemas/cssdoc-config-1.0.0.schema.json"
1349
+ },
1350
+ {
1351
+ "fieldPath": "defaultRule",
1352
+ "sourceId": "src/schemas/cssdoc-config-0.1.0-draft.schema.json"
1353
+ }
1354
+ ]
1355
+ },
1356
+ {
1357
+ "id": "out-dir",
1358
+ "kind": "option",
1359
+ "name": "out-dir",
1360
+ "short": "o",
1361
+ "valueType": "string",
1362
+ "required": false,
1363
+ "multiple": false,
1364
+ "defaultRule": {
1365
+ "kind": "conditional",
1366
+ "conditions": [
1367
+ "description"
1368
+ ]
1369
+ },
1370
+ "i18n": {
1371
+ "enabled": true,
1372
+ "model": "hia-text-i18n",
1373
+ "modelVersion": "1.0.0",
1374
+ "defaultLocale": "zh-CN",
1375
+ "locales": [
1376
+ "zh-CN",
1377
+ "en"
1378
+ ],
1379
+ "fields": {
1380
+ "summary": {
1381
+ "fieldPath": "summary",
1382
+ "kind": "text",
1383
+ "defaultLocale": "zh-CN",
1384
+ "localizedText": {
1385
+ "zh-CN": "配置模式非空值覆盖输出;直接模式缺省dist/cssdoc,空字符串为工作区根。",
1386
+ "en": "Nonempty values override configured output; direct mode defaults to dist/cssdoc, with an empty string selecting the workspace root."
1387
+ }
1388
+ },
1389
+ "description": {
1390
+ "fieldPath": "description",
1391
+ "kind": "text",
1392
+ "defaultLocale": "zh-CN",
1393
+ "localizedText": {
1394
+ "zh-CN": "配置模式非空值覆盖输出;直接模式缺省dist/cssdoc,空字符串为工作区根。",
1395
+ "en": "Nonempty values override configured output; direct mode defaults to dist/cssdoc, with an empty string selecting the workspace root."
1396
+ }
1397
+ },
1398
+ "metavar": {
1399
+ "fieldPath": "metavar",
1400
+ "kind": "text",
1401
+ "defaultLocale": "zh-CN",
1402
+ "localizedText": {
1403
+ "zh-CN": "path",
1404
+ "en": "path"
1405
+ }
1406
+ }
1407
+ }
1408
+ },
1409
+ "evidence": [
1410
+ {
1411
+ "fieldPath": "name",
1412
+ "sourceId": "src/cli.mjs",
1413
+ "range": {
1414
+ "start": {
1415
+ "line": 21
1416
+ },
1417
+ "end": {
1418
+ "line": 21
1419
+ }
1420
+ },
1421
+ "rangeConvention": {
1422
+ "endBoundary": "unknown",
1423
+ "columnUnit": "unknown"
1424
+ }
1425
+ },
1426
+ {
1427
+ "fieldPath": "kind",
1428
+ "sourceId": "src/command-content.mjs"
1429
+ },
1430
+ {
1431
+ "fieldPath": "kind",
1432
+ "sourceId": "src/cli.mjs"
1433
+ },
1434
+ {
1435
+ "fieldPath": "name",
1436
+ "sourceId": "src/command-content.mjs"
1437
+ },
1438
+ {
1439
+ "fieldPath": "name",
1440
+ "sourceId": "src/cli.mjs"
1441
+ },
1442
+ {
1443
+ "fieldPath": "short",
1444
+ "sourceId": "src/command-content.mjs"
1445
+ },
1446
+ {
1447
+ "fieldPath": "short",
1448
+ "sourceId": "src/cli.mjs"
1449
+ },
1450
+ {
1451
+ "fieldPath": "valueType",
1452
+ "sourceId": "src/command-content.mjs"
1453
+ },
1454
+ {
1455
+ "fieldPath": "valueType",
1456
+ "sourceId": "src/cli.mjs"
1457
+ },
1458
+ {
1459
+ "fieldPath": "required",
1460
+ "sourceId": "src/command-content.mjs"
1461
+ },
1462
+ {
1463
+ "fieldPath": "required",
1464
+ "sourceId": "src/cli.mjs"
1465
+ },
1466
+ {
1467
+ "fieldPath": "multiple",
1468
+ "sourceId": "src/command-content.mjs"
1469
+ },
1470
+ {
1471
+ "fieldPath": "multiple",
1472
+ "sourceId": "src/cli.mjs"
1473
+ },
1474
+ {
1475
+ "fieldPath": "defaultRule",
1476
+ "sourceId": "src/command-content.mjs"
1477
+ },
1478
+ {
1479
+ "fieldPath": "defaultRule",
1480
+ "sourceId": "src/cli.mjs"
1481
+ },
1482
+ {
1483
+ "fieldPath": "i18n.fields.summary",
1484
+ "sourceId": "src/command-content.mjs"
1485
+ },
1486
+ {
1487
+ "fieldPath": "i18n.fields.summary",
1488
+ "sourceId": "README.md"
1489
+ },
1490
+ {
1491
+ "fieldPath": "i18n.fields.description",
1492
+ "sourceId": "src/command-content.mjs"
1493
+ },
1494
+ {
1495
+ "fieldPath": "i18n.fields.description",
1496
+ "sourceId": "README.md"
1497
+ },
1498
+ {
1499
+ "fieldPath": "i18n.fields.metavar",
1500
+ "sourceId": "src/command-content.mjs"
1501
+ },
1502
+ {
1503
+ "fieldPath": "i18n.fields.metavar",
1504
+ "sourceId": "README.md"
1505
+ },
1506
+ {
1507
+ "fieldPath": "defaultRule",
1508
+ "sourceId": "src/index.mjs"
1509
+ },
1510
+ {
1511
+ "fieldPath": "defaultRule",
1512
+ "sourceId": "src/config-compatibility.mjs"
1513
+ },
1514
+ {
1515
+ "fieldPath": "defaultRule",
1516
+ "sourceId": "src/schemas/cssdoc-config-1.0.0.schema.json"
1517
+ },
1518
+ {
1519
+ "fieldPath": "defaultRule",
1520
+ "sourceId": "src/schemas/cssdoc-config-0.1.0-draft.schema.json"
1521
+ }
1522
+ ]
1523
+ },
1524
+ {
1525
+ "id": "workspace-root",
1526
+ "kind": "option",
1527
+ "name": "workspace-root",
1528
+ "valueType": "string",
1529
+ "required": false,
1530
+ "multiple": false,
1531
+ "defaultRule": {
1532
+ "kind": "conditional",
1533
+ "conditions": [
1534
+ "description"
1535
+ ]
1536
+ },
1537
+ "i18n": {
1538
+ "enabled": true,
1539
+ "model": "hia-text-i18n",
1540
+ "modelVersion": "1.0.0",
1541
+ "defaultLocale": "zh-CN",
1542
+ "locales": [
1543
+ "zh-CN",
1544
+ "en"
1545
+ ],
1546
+ "fields": {
1547
+ "summary": {
1548
+ "fieldPath": "summary",
1549
+ "kind": "text",
1550
+ "defaultLocale": "zh-CN",
1551
+ "localizedText": {
1552
+ "zh-CN": "直接模式的工作区根,省略时使用调用目录。",
1553
+ "en": "Workspace root for direct mode, defaulting to cwd."
1554
+ }
1555
+ },
1556
+ "description": {
1557
+ "fieldPath": "description",
1558
+ "kind": "text",
1559
+ "defaultLocale": "zh-CN",
1560
+ "localizedText": {
1561
+ "zh-CN": "直接模式的工作区根,省略时使用调用目录。",
1562
+ "en": "Workspace root for direct mode, defaulting to cwd."
1563
+ }
1564
+ },
1565
+ "metavar": {
1566
+ "fieldPath": "metavar",
1567
+ "kind": "text",
1568
+ "defaultLocale": "zh-CN",
1569
+ "localizedText": {
1570
+ "zh-CN": "path",
1571
+ "en": "path"
1572
+ }
1573
+ }
1574
+ }
1575
+ },
1576
+ "evidence": [
1577
+ {
1578
+ "fieldPath": "name",
1579
+ "sourceId": "src/cli.mjs",
1580
+ "range": {
1581
+ "start": {
1582
+ "line": 21
1583
+ },
1584
+ "end": {
1585
+ "line": 21
1586
+ }
1587
+ },
1588
+ "rangeConvention": {
1589
+ "endBoundary": "unknown",
1590
+ "columnUnit": "unknown"
1591
+ }
1592
+ },
1593
+ {
1594
+ "fieldPath": "kind",
1595
+ "sourceId": "src/command-content.mjs"
1596
+ },
1597
+ {
1598
+ "fieldPath": "kind",
1599
+ "sourceId": "src/cli.mjs"
1600
+ },
1601
+ {
1602
+ "fieldPath": "name",
1603
+ "sourceId": "src/command-content.mjs"
1604
+ },
1605
+ {
1606
+ "fieldPath": "name",
1607
+ "sourceId": "src/cli.mjs"
1608
+ },
1609
+ {
1610
+ "fieldPath": "valueType",
1611
+ "sourceId": "src/command-content.mjs"
1612
+ },
1613
+ {
1614
+ "fieldPath": "valueType",
1615
+ "sourceId": "src/cli.mjs"
1616
+ },
1617
+ {
1618
+ "fieldPath": "required",
1619
+ "sourceId": "src/command-content.mjs"
1620
+ },
1621
+ {
1622
+ "fieldPath": "required",
1623
+ "sourceId": "src/cli.mjs"
1624
+ },
1625
+ {
1626
+ "fieldPath": "multiple",
1627
+ "sourceId": "src/command-content.mjs"
1628
+ },
1629
+ {
1630
+ "fieldPath": "multiple",
1631
+ "sourceId": "src/cli.mjs"
1632
+ },
1633
+ {
1634
+ "fieldPath": "defaultRule",
1635
+ "sourceId": "src/command-content.mjs"
1636
+ },
1637
+ {
1638
+ "fieldPath": "defaultRule",
1639
+ "sourceId": "src/cli.mjs"
1640
+ },
1641
+ {
1642
+ "fieldPath": "i18n.fields.summary",
1643
+ "sourceId": "src/command-content.mjs"
1644
+ },
1645
+ {
1646
+ "fieldPath": "i18n.fields.summary",
1647
+ "sourceId": "README.md"
1648
+ },
1649
+ {
1650
+ "fieldPath": "i18n.fields.description",
1651
+ "sourceId": "src/command-content.mjs"
1652
+ },
1653
+ {
1654
+ "fieldPath": "i18n.fields.description",
1655
+ "sourceId": "README.md"
1656
+ },
1657
+ {
1658
+ "fieldPath": "i18n.fields.metavar",
1659
+ "sourceId": "src/command-content.mjs"
1660
+ },
1661
+ {
1662
+ "fieldPath": "i18n.fields.metavar",
1663
+ "sourceId": "README.md"
1664
+ },
1665
+ {
1666
+ "fieldPath": "defaultRule",
1667
+ "sourceId": "src/index.mjs"
1668
+ },
1669
+ {
1670
+ "fieldPath": "defaultRule",
1671
+ "sourceId": "src/config-compatibility.mjs"
1672
+ },
1673
+ {
1674
+ "fieldPath": "defaultRule",
1675
+ "sourceId": "src/schemas/cssdoc-config-1.0.0.schema.json"
1676
+ },
1677
+ {
1678
+ "fieldPath": "defaultRule",
1679
+ "sourceId": "src/schemas/cssdoc-config-0.1.0-draft.schema.json"
1680
+ }
1681
+ ]
1682
+ },
1683
+ {
1684
+ "id": "sources-content-policy",
1685
+ "kind": "option",
1686
+ "name": "sources-content-policy",
1687
+ "valueType": "string",
1688
+ "required": false,
1689
+ "multiple": false,
1690
+ "choices": [
1691
+ "none",
1692
+ "reference",
1693
+ "embed"
1694
+ ],
1695
+ "defaultRule": {
1696
+ "kind": "conditional",
1697
+ "conditions": [
1698
+ "description"
1699
+ ]
1700
+ },
1701
+ "i18n": {
1702
+ "enabled": true,
1703
+ "model": "hia-text-i18n",
1704
+ "modelVersion": "1.0.0",
1705
+ "defaultLocale": "zh-CN",
1706
+ "locales": [
1707
+ "zh-CN",
1708
+ "en"
1709
+ ],
1710
+ "fields": {
1711
+ "summary": {
1712
+ "fieldPath": "summary",
1713
+ "kind": "text",
1714
+ "defaultLocale": "zh-CN",
1715
+ "localizedText": {
1716
+ "zh-CN": "直接模式缺省none;配置模式省略或空值时保留原值,非空值覆盖。",
1717
+ "en": "Direct mode defaults to none; config mode retains its policy for omission or empty strings and uses nonempty overrides."
1718
+ }
1719
+ },
1720
+ "description": {
1721
+ "fieldPath": "description",
1722
+ "kind": "text",
1723
+ "defaultLocale": "zh-CN",
1724
+ "localizedText": {
1725
+ "zh-CN": "直接模式缺省none;配置模式省略或空值时保留原值,非空值覆盖。",
1726
+ "en": "Direct mode defaults to none; config mode retains its policy for omission or empty strings and uses nonempty overrides."
1727
+ }
1728
+ },
1729
+ "metavar": {
1730
+ "fieldPath": "metavar",
1731
+ "kind": "text",
1732
+ "defaultLocale": "zh-CN",
1733
+ "localizedText": {
1734
+ "zh-CN": "none|reference|embed",
1735
+ "en": "none|reference|embed"
1736
+ }
1737
+ }
1738
+ }
1739
+ },
1740
+ "evidence": [
1741
+ {
1742
+ "fieldPath": "name",
1743
+ "sourceId": "src/cli.mjs",
1744
+ "range": {
1745
+ "start": {
1746
+ "line": 21
1747
+ },
1748
+ "end": {
1749
+ "line": 21
1750
+ }
1751
+ },
1752
+ "rangeConvention": {
1753
+ "endBoundary": "unknown",
1754
+ "columnUnit": "unknown"
1755
+ }
1756
+ },
1757
+ {
1758
+ "fieldPath": "kind",
1759
+ "sourceId": "src/command-content.mjs"
1760
+ },
1761
+ {
1762
+ "fieldPath": "kind",
1763
+ "sourceId": "src/cli.mjs"
1764
+ },
1765
+ {
1766
+ "fieldPath": "name",
1767
+ "sourceId": "src/command-content.mjs"
1768
+ },
1769
+ {
1770
+ "fieldPath": "name",
1771
+ "sourceId": "src/cli.mjs"
1772
+ },
1773
+ {
1774
+ "fieldPath": "valueType",
1775
+ "sourceId": "src/command-content.mjs"
1776
+ },
1777
+ {
1778
+ "fieldPath": "valueType",
1779
+ "sourceId": "src/cli.mjs"
1780
+ },
1781
+ {
1782
+ "fieldPath": "required",
1783
+ "sourceId": "src/command-content.mjs"
1784
+ },
1785
+ {
1786
+ "fieldPath": "required",
1787
+ "sourceId": "src/cli.mjs"
1788
+ },
1789
+ {
1790
+ "fieldPath": "multiple",
1791
+ "sourceId": "src/command-content.mjs"
1792
+ },
1793
+ {
1794
+ "fieldPath": "multiple",
1795
+ "sourceId": "src/cli.mjs"
1796
+ },
1797
+ {
1798
+ "fieldPath": "choices",
1799
+ "sourceId": "src/command-content.mjs"
1800
+ },
1801
+ {
1802
+ "fieldPath": "choices",
1803
+ "sourceId": "src/cli.mjs"
1804
+ },
1805
+ {
1806
+ "fieldPath": "defaultRule",
1807
+ "sourceId": "src/command-content.mjs"
1808
+ },
1809
+ {
1810
+ "fieldPath": "defaultRule",
1811
+ "sourceId": "src/cli.mjs"
1812
+ },
1813
+ {
1814
+ "fieldPath": "i18n.fields.summary",
1815
+ "sourceId": "src/command-content.mjs"
1816
+ },
1817
+ {
1818
+ "fieldPath": "i18n.fields.summary",
1819
+ "sourceId": "README.md"
1820
+ },
1821
+ {
1822
+ "fieldPath": "i18n.fields.description",
1823
+ "sourceId": "src/command-content.mjs"
1824
+ },
1825
+ {
1826
+ "fieldPath": "i18n.fields.description",
1827
+ "sourceId": "README.md"
1828
+ },
1829
+ {
1830
+ "fieldPath": "i18n.fields.metavar",
1831
+ "sourceId": "src/command-content.mjs"
1832
+ },
1833
+ {
1834
+ "fieldPath": "i18n.fields.metavar",
1835
+ "sourceId": "README.md"
1836
+ },
1837
+ {
1838
+ "fieldPath": "defaultRule",
1839
+ "sourceId": "src/index.mjs"
1840
+ },
1841
+ {
1842
+ "fieldPath": "defaultRule",
1843
+ "sourceId": "src/config-compatibility.mjs"
1844
+ },
1845
+ {
1846
+ "fieldPath": "defaultRule",
1847
+ "sourceId": "src/schemas/cssdoc-config-1.0.0.schema.json"
1848
+ },
1849
+ {
1850
+ "fieldPath": "defaultRule",
1851
+ "sourceId": "src/schemas/cssdoc-config-0.1.0-draft.schema.json"
1852
+ }
1853
+ ]
1854
+ },
1855
+ {
1856
+ "id": "no-doc-source-map",
1857
+ "kind": "option",
1858
+ "name": "no-doc-source-map",
1859
+ "valueType": "boolean",
1860
+ "required": false,
1861
+ "multiple": false,
1862
+ "defaultRule": {
1863
+ "kind": "conditional",
1864
+ "conditions": [
1865
+ "description"
1866
+ ]
1867
+ },
1868
+ "i18n": {
1869
+ "enabled": true,
1870
+ "model": "hia-text-i18n",
1871
+ "modelVersion": "1.0.0",
1872
+ "defaultLocale": "zh-CN",
1873
+ "locales": [
1874
+ "zh-CN",
1875
+ "en"
1876
+ ],
1877
+ "fields": {
1878
+ "summary": {
1879
+ "fieldPath": "summary",
1880
+ "kind": "text",
1881
+ "defaultLocale": "zh-CN",
1882
+ "localizedText": {
1883
+ "zh-CN": "提供时关闭地图;省略时直接模式生成地图,配置模式保留原值。",
1884
+ "en": "Supplying the flag disables maps; omission enables direct-mode maps and retains the configured value."
1885
+ }
1886
+ },
1887
+ "description": {
1888
+ "fieldPath": "description",
1889
+ "kind": "text",
1890
+ "defaultLocale": "zh-CN",
1891
+ "localizedText": {
1892
+ "zh-CN": "提供时关闭地图;省略时直接模式生成地图,配置模式保留原值。",
1893
+ "en": "Supplying the flag disables maps; omission enables direct-mode maps and retains the configured value."
1894
+ }
1895
+ }
1896
+ }
1897
+ },
1898
+ "evidence": [
1899
+ {
1900
+ "fieldPath": "name",
1901
+ "sourceId": "src/cli.mjs",
1902
+ "range": {
1903
+ "start": {
1904
+ "line": 21
1905
+ },
1906
+ "end": {
1907
+ "line": 21
1908
+ }
1909
+ },
1910
+ "rangeConvention": {
1911
+ "endBoundary": "unknown",
1912
+ "columnUnit": "unknown"
1913
+ }
1914
+ },
1915
+ {
1916
+ "fieldPath": "kind",
1917
+ "sourceId": "src/command-content.mjs"
1918
+ },
1919
+ {
1920
+ "fieldPath": "kind",
1921
+ "sourceId": "src/cli.mjs"
1922
+ },
1923
+ {
1924
+ "fieldPath": "name",
1925
+ "sourceId": "src/command-content.mjs"
1926
+ },
1927
+ {
1928
+ "fieldPath": "name",
1929
+ "sourceId": "src/cli.mjs"
1930
+ },
1931
+ {
1932
+ "fieldPath": "valueType",
1933
+ "sourceId": "src/command-content.mjs"
1934
+ },
1935
+ {
1936
+ "fieldPath": "valueType",
1937
+ "sourceId": "src/cli.mjs"
1938
+ },
1939
+ {
1940
+ "fieldPath": "required",
1941
+ "sourceId": "src/command-content.mjs"
1942
+ },
1943
+ {
1944
+ "fieldPath": "required",
1945
+ "sourceId": "src/cli.mjs"
1946
+ },
1947
+ {
1948
+ "fieldPath": "multiple",
1949
+ "sourceId": "src/command-content.mjs"
1950
+ },
1951
+ {
1952
+ "fieldPath": "multiple",
1953
+ "sourceId": "src/cli.mjs"
1954
+ },
1955
+ {
1956
+ "fieldPath": "defaultRule",
1957
+ "sourceId": "src/command-content.mjs"
1958
+ },
1959
+ {
1960
+ "fieldPath": "defaultRule",
1961
+ "sourceId": "src/cli.mjs"
1962
+ },
1963
+ {
1964
+ "fieldPath": "i18n.fields.summary",
1965
+ "sourceId": "src/command-content.mjs"
1966
+ },
1967
+ {
1968
+ "fieldPath": "i18n.fields.summary",
1969
+ "sourceId": "README.md"
1970
+ },
1971
+ {
1972
+ "fieldPath": "i18n.fields.description",
1973
+ "sourceId": "src/command-content.mjs"
1974
+ },
1975
+ {
1976
+ "fieldPath": "i18n.fields.description",
1977
+ "sourceId": "README.md"
1978
+ },
1979
+ {
1980
+ "fieldPath": "defaultRule",
1981
+ "sourceId": "src/index.mjs"
1982
+ },
1983
+ {
1984
+ "fieldPath": "defaultRule",
1985
+ "sourceId": "src/config-compatibility.mjs"
1986
+ },
1987
+ {
1988
+ "fieldPath": "defaultRule",
1989
+ "sourceId": "src/schemas/cssdoc-config-1.0.0.schema.json"
1990
+ },
1991
+ {
1992
+ "fieldPath": "defaultRule",
1993
+ "sourceId": "src/schemas/cssdoc-config-0.1.0-draft.schema.json"
1994
+ }
1995
+ ]
1996
+ },
1997
+ {
1998
+ "id": "help",
1999
+ "kind": "option",
2000
+ "name": "help",
2001
+ "short": "h",
2002
+ "valueType": "boolean",
2003
+ "required": false,
2004
+ "multiple": false,
2005
+ "defaultRule": {
2006
+ "kind": "not-applicable"
2007
+ },
2008
+ "i18n": {
2009
+ "enabled": true,
2010
+ "model": "hia-text-i18n",
2011
+ "modelVersion": "1.0.0",
2012
+ "defaultLocale": "zh-CN",
2013
+ "locales": [
2014
+ "zh-CN",
2015
+ "en"
2016
+ ],
2017
+ "fields": {
2018
+ "summary": {
2019
+ "fieldPath": "summary",
2020
+ "kind": "text",
2021
+ "defaultLocale": "zh-CN",
2022
+ "localizedText": {
2023
+ "zh-CN": "输出帮助并退出0。",
2024
+ "en": "Print help and exit 0."
2025
+ }
2026
+ },
2027
+ "description": {
2028
+ "fieldPath": "description",
2029
+ "kind": "text",
2030
+ "defaultLocale": "zh-CN",
2031
+ "localizedText": {
2032
+ "zh-CN": "输出帮助并退出0。",
2033
+ "en": "Print help and exit 0."
2034
+ }
2035
+ }
2036
+ }
2037
+ },
2038
+ "evidence": [
2039
+ {
2040
+ "fieldPath": "name",
2041
+ "sourceId": "src/cli.mjs",
2042
+ "range": {
2043
+ "start": {
2044
+ "line": 21
2045
+ },
2046
+ "end": {
2047
+ "line": 21
2048
+ }
2049
+ },
2050
+ "rangeConvention": {
2051
+ "endBoundary": "unknown",
2052
+ "columnUnit": "unknown"
2053
+ }
2054
+ },
2055
+ {
2056
+ "fieldPath": "kind",
2057
+ "sourceId": "src/command-content.mjs"
2058
+ },
2059
+ {
2060
+ "fieldPath": "kind",
2061
+ "sourceId": "src/cli.mjs"
2062
+ },
2063
+ {
2064
+ "fieldPath": "name",
2065
+ "sourceId": "src/command-content.mjs"
2066
+ },
2067
+ {
2068
+ "fieldPath": "name",
2069
+ "sourceId": "src/cli.mjs"
2070
+ },
2071
+ {
2072
+ "fieldPath": "short",
2073
+ "sourceId": "src/command-content.mjs"
2074
+ },
2075
+ {
2076
+ "fieldPath": "short",
2077
+ "sourceId": "src/cli.mjs"
2078
+ },
2079
+ {
2080
+ "fieldPath": "valueType",
2081
+ "sourceId": "src/command-content.mjs"
2082
+ },
2083
+ {
2084
+ "fieldPath": "valueType",
2085
+ "sourceId": "src/cli.mjs"
2086
+ },
2087
+ {
2088
+ "fieldPath": "required",
2089
+ "sourceId": "src/command-content.mjs"
2090
+ },
2091
+ {
2092
+ "fieldPath": "required",
2093
+ "sourceId": "src/cli.mjs"
2094
+ },
2095
+ {
2096
+ "fieldPath": "multiple",
2097
+ "sourceId": "src/command-content.mjs"
2098
+ },
2099
+ {
2100
+ "fieldPath": "multiple",
2101
+ "sourceId": "src/cli.mjs"
2102
+ },
2103
+ {
2104
+ "fieldPath": "defaultRule",
2105
+ "sourceId": "src/command-content.mjs"
2106
+ },
2107
+ {
2108
+ "fieldPath": "defaultRule",
2109
+ "sourceId": "src/cli.mjs"
2110
+ },
2111
+ {
2112
+ "fieldPath": "i18n.fields.summary",
2113
+ "sourceId": "src/command-content.mjs"
2114
+ },
2115
+ {
2116
+ "fieldPath": "i18n.fields.summary",
2117
+ "sourceId": "README.md"
2118
+ },
2119
+ {
2120
+ "fieldPath": "i18n.fields.description",
2121
+ "sourceId": "src/command-content.mjs"
2122
+ },
2123
+ {
2124
+ "fieldPath": "i18n.fields.description",
2125
+ "sourceId": "README.md"
2126
+ },
2127
+ {
2128
+ "fieldPath": "defaultRule",
2129
+ "sourceId": "src/index.mjs"
2130
+ },
2131
+ {
2132
+ "fieldPath": "defaultRule",
2133
+ "sourceId": "src/config-compatibility.mjs"
2134
+ },
2135
+ {
2136
+ "fieldPath": "defaultRule",
2137
+ "sourceId": "src/schemas/cssdoc-config-1.0.0.schema.json"
2138
+ },
2139
+ {
2140
+ "fieldPath": "defaultRule",
2141
+ "sourceId": "src/schemas/cssdoc-config-0.1.0-draft.schema.json"
2142
+ }
2143
+ ]
2144
+ },
2145
+ {
2146
+ "id": "version",
2147
+ "kind": "option",
2148
+ "name": "version",
2149
+ "short": "v",
2150
+ "valueType": "boolean",
2151
+ "required": false,
2152
+ "multiple": false,
2153
+ "defaultRule": {
2154
+ "kind": "not-applicable"
2155
+ },
2156
+ "i18n": {
2157
+ "enabled": true,
2158
+ "model": "hia-text-i18n",
2159
+ "modelVersion": "1.0.0",
2160
+ "defaultLocale": "zh-CN",
2161
+ "locales": [
2162
+ "zh-CN",
2163
+ "en"
2164
+ ],
2165
+ "fields": {
2166
+ "summary": {
2167
+ "fieldPath": "summary",
2168
+ "kind": "text",
2169
+ "defaultLocale": "zh-CN",
2170
+ "localizedText": {
2171
+ "zh-CN": "输出运行器版本并退出0。",
2172
+ "en": "Print runner version and exit 0."
2173
+ }
2174
+ },
2175
+ "description": {
2176
+ "fieldPath": "description",
2177
+ "kind": "text",
2178
+ "defaultLocale": "zh-CN",
2179
+ "localizedText": {
2180
+ "zh-CN": "输出运行器版本并退出0。",
2181
+ "en": "Print runner version and exit 0."
2182
+ }
2183
+ }
2184
+ }
2185
+ },
2186
+ "evidence": [
2187
+ {
2188
+ "fieldPath": "name",
2189
+ "sourceId": "src/cli.mjs",
2190
+ "range": {
2191
+ "start": {
2192
+ "line": 21
2193
+ },
2194
+ "end": {
2195
+ "line": 21
2196
+ }
2197
+ },
2198
+ "rangeConvention": {
2199
+ "endBoundary": "unknown",
2200
+ "columnUnit": "unknown"
2201
+ }
2202
+ },
2203
+ {
2204
+ "fieldPath": "kind",
2205
+ "sourceId": "src/command-content.mjs"
2206
+ },
2207
+ {
2208
+ "fieldPath": "kind",
2209
+ "sourceId": "src/cli.mjs"
2210
+ },
2211
+ {
2212
+ "fieldPath": "name",
2213
+ "sourceId": "src/command-content.mjs"
2214
+ },
2215
+ {
2216
+ "fieldPath": "name",
2217
+ "sourceId": "src/cli.mjs"
2218
+ },
2219
+ {
2220
+ "fieldPath": "short",
2221
+ "sourceId": "src/command-content.mjs"
2222
+ },
2223
+ {
2224
+ "fieldPath": "short",
2225
+ "sourceId": "src/cli.mjs"
2226
+ },
2227
+ {
2228
+ "fieldPath": "valueType",
2229
+ "sourceId": "src/command-content.mjs"
2230
+ },
2231
+ {
2232
+ "fieldPath": "valueType",
2233
+ "sourceId": "src/cli.mjs"
2234
+ },
2235
+ {
2236
+ "fieldPath": "required",
2237
+ "sourceId": "src/command-content.mjs"
2238
+ },
2239
+ {
2240
+ "fieldPath": "required",
2241
+ "sourceId": "src/cli.mjs"
2242
+ },
2243
+ {
2244
+ "fieldPath": "multiple",
2245
+ "sourceId": "src/command-content.mjs"
2246
+ },
2247
+ {
2248
+ "fieldPath": "multiple",
2249
+ "sourceId": "src/cli.mjs"
2250
+ },
2251
+ {
2252
+ "fieldPath": "defaultRule",
2253
+ "sourceId": "src/command-content.mjs"
2254
+ },
2255
+ {
2256
+ "fieldPath": "defaultRule",
2257
+ "sourceId": "src/cli.mjs"
2258
+ },
2259
+ {
2260
+ "fieldPath": "i18n.fields.summary",
2261
+ "sourceId": "src/command-content.mjs"
2262
+ },
2263
+ {
2264
+ "fieldPath": "i18n.fields.summary",
2265
+ "sourceId": "README.md"
2266
+ },
2267
+ {
2268
+ "fieldPath": "i18n.fields.description",
2269
+ "sourceId": "src/command-content.mjs"
2270
+ },
2271
+ {
2272
+ "fieldPath": "i18n.fields.description",
2273
+ "sourceId": "README.md"
2274
+ },
2275
+ {
2276
+ "fieldPath": "defaultRule",
2277
+ "sourceId": "src/index.mjs"
2278
+ },
2279
+ {
2280
+ "fieldPath": "defaultRule",
2281
+ "sourceId": "src/config-compatibility.mjs"
2282
+ },
2283
+ {
2284
+ "fieldPath": "defaultRule",
2285
+ "sourceId": "src/schemas/cssdoc-config-1.0.0.schema.json"
2286
+ },
2287
+ {
2288
+ "fieldPath": "defaultRule",
2289
+ "sourceId": "src/schemas/cssdoc-config-0.1.0-draft.schema.json"
2290
+ }
2291
+ ]
2292
+ }
2293
+ ],
2294
+ "positionals": [
2295
+ {
2296
+ "id": "positionals",
2297
+ "kind": "positional",
2298
+ "name": "positionals",
2299
+ "valueType": "string",
2300
+ "required": false,
2301
+ "multiple": true,
2302
+ "defaultRule": {
2303
+ "kind": "not-applicable"
2304
+ },
2305
+ "i18n": {
2306
+ "enabled": true,
2307
+ "model": "hia-text-i18n",
2308
+ "modelVersion": "1.0.0",
2309
+ "defaultLocale": "zh-CN",
2310
+ "locales": [
2311
+ "zh-CN",
2312
+ "en"
2313
+ ],
2314
+ "fields": {
2315
+ "summary": {
2316
+ "fieldPath": "summary",
2317
+ "kind": "text",
2318
+ "defaultLocale": "zh-CN",
2319
+ "localizedText": {
2320
+ "zh-CN": "直接模式至少一个相对工作区的输入;配置模式忽略。",
2321
+ "en": "Direct mode requires at least one workspace-relative input; config mode ignores positional inputs."
2322
+ }
2323
+ },
2324
+ "description": {
2325
+ "fieldPath": "description",
2326
+ "kind": "text",
2327
+ "defaultLocale": "zh-CN",
2328
+ "localizedText": {
2329
+ "zh-CN": "直接模式至少一个相对工作区的输入;配置模式忽略。",
2330
+ "en": "Direct mode requires at least one workspace-relative input; config mode ignores positional inputs."
2331
+ }
2332
+ },
2333
+ "metavar": {
2334
+ "fieldPath": "metavar",
2335
+ "kind": "text",
2336
+ "defaultLocale": "zh-CN",
2337
+ "localizedText": {
2338
+ "zh-CN": "input...",
2339
+ "en": "input..."
2340
+ }
2341
+ }
2342
+ }
2343
+ },
2344
+ "evidence": [
2345
+ {
2346
+ "fieldPath": "name",
2347
+ "sourceId": "src/cli.mjs",
2348
+ "range": {
2349
+ "start": {
2350
+ "line": 21
2351
+ },
2352
+ "end": {
2353
+ "line": 21
2354
+ }
2355
+ },
2356
+ "rangeConvention": {
2357
+ "endBoundary": "unknown",
2358
+ "columnUnit": "unknown"
2359
+ }
2360
+ },
2361
+ {
2362
+ "fieldPath": "kind",
2363
+ "sourceId": "src/command-content.mjs"
2364
+ },
2365
+ {
2366
+ "fieldPath": "kind",
2367
+ "sourceId": "src/cli.mjs"
2368
+ },
2369
+ {
2370
+ "fieldPath": "name",
2371
+ "sourceId": "src/command-content.mjs"
2372
+ },
2373
+ {
2374
+ "fieldPath": "name",
2375
+ "sourceId": "src/cli.mjs"
2376
+ },
2377
+ {
2378
+ "fieldPath": "valueType",
2379
+ "sourceId": "src/command-content.mjs"
2380
+ },
2381
+ {
2382
+ "fieldPath": "valueType",
2383
+ "sourceId": "src/cli.mjs"
2384
+ },
2385
+ {
2386
+ "fieldPath": "required",
2387
+ "sourceId": "src/command-content.mjs"
2388
+ },
2389
+ {
2390
+ "fieldPath": "required",
2391
+ "sourceId": "src/cli.mjs"
2392
+ },
2393
+ {
2394
+ "fieldPath": "multiple",
2395
+ "sourceId": "src/command-content.mjs"
2396
+ },
2397
+ {
2398
+ "fieldPath": "multiple",
2399
+ "sourceId": "src/cli.mjs"
2400
+ },
2401
+ {
2402
+ "fieldPath": "defaultRule",
2403
+ "sourceId": "src/command-content.mjs"
2404
+ },
2405
+ {
2406
+ "fieldPath": "defaultRule",
2407
+ "sourceId": "src/cli.mjs"
2408
+ },
2409
+ {
2410
+ "fieldPath": "i18n.fields.summary",
2411
+ "sourceId": "src/command-content.mjs"
2412
+ },
2413
+ {
2414
+ "fieldPath": "i18n.fields.summary",
2415
+ "sourceId": "README.md"
2416
+ },
2417
+ {
2418
+ "fieldPath": "i18n.fields.description",
2419
+ "sourceId": "src/command-content.mjs"
2420
+ },
2421
+ {
2422
+ "fieldPath": "i18n.fields.description",
2423
+ "sourceId": "README.md"
2424
+ },
2425
+ {
2426
+ "fieldPath": "i18n.fields.metavar",
2427
+ "sourceId": "src/command-content.mjs"
2428
+ },
2429
+ {
2430
+ "fieldPath": "i18n.fields.metavar",
2431
+ "sourceId": "README.md"
2432
+ },
2433
+ {
2434
+ "fieldPath": "defaultRule",
2435
+ "sourceId": "src/index.mjs"
2436
+ },
2437
+ {
2438
+ "fieldPath": "defaultRule",
2439
+ "sourceId": "src/config-compatibility.mjs"
2440
+ },
2441
+ {
2442
+ "fieldPath": "defaultRule",
2443
+ "sourceId": "src/schemas/cssdoc-config-1.0.0.schema.json"
2444
+ },
2445
+ {
2446
+ "fieldPath": "defaultRule",
2447
+ "sourceId": "src/schemas/cssdoc-config-0.1.0-draft.schema.json"
2448
+ }
2449
+ ]
2450
+ }
2451
+ ],
2452
+ "examples": [
2453
+ "cssdoc --config cssdoc.config.json"
2454
+ ],
2455
+ "effects": {
2456
+ "filesystem": "read-write",
2457
+ "network": "none"
2458
+ },
2459
+ "exitCodes": [
2460
+ {
2461
+ "code": 0,
2462
+ "i18n": {
2463
+ "enabled": true,
2464
+ "model": "hia-text-i18n",
2465
+ "modelVersion": "1.0.0",
2466
+ "defaultLocale": "zh-CN",
2467
+ "locales": [
2468
+ "zh-CN",
2469
+ "en"
2470
+ ],
2471
+ "fields": {
2472
+ "summary": {
2473
+ "fieldPath": "summary",
2474
+ "kind": "text",
2475
+ "defaultLocale": "zh-CN",
2476
+ "localizedText": {
2477
+ "zh-CN": "成功、帮助或版本",
2478
+ "en": "Success, help or version"
2479
+ }
2480
+ },
2481
+ "description": {
2482
+ "fieldPath": "description",
2483
+ "kind": "text",
2484
+ "defaultLocale": "zh-CN",
2485
+ "localizedText": {
2486
+ "zh-CN": "成功、帮助或版本",
2487
+ "en": "Success, help or version"
2488
+ }
2489
+ }
2490
+ }
2491
+ }
2492
+ },
2493
+ {
2494
+ "code": 1,
2495
+ "i18n": {
2496
+ "enabled": true,
2497
+ "model": "hia-text-i18n",
2498
+ "modelVersion": "1.0.0",
2499
+ "defaultLocale": "zh-CN",
2500
+ "locales": [
2501
+ "zh-CN",
2502
+ "en"
2503
+ ],
2504
+ "fields": {
2505
+ "summary": {
2506
+ "fieldPath": "summary",
2507
+ "kind": "text",
2508
+ "defaultLocale": "zh-CN",
2509
+ "localizedText": {
2510
+ "zh-CN": "参数、配置或构建失败",
2511
+ "en": "Argument, configuration or build failure"
2512
+ }
2513
+ },
2514
+ "description": {
2515
+ "fieldPath": "description",
2516
+ "kind": "text",
2517
+ "defaultLocale": "zh-CN",
2518
+ "localizedText": {
2519
+ "zh-CN": "参数、配置、partial或failed构建",
2520
+ "en": "Argument/configuration errors or partial/failed builds"
2521
+ }
2522
+ }
2523
+ }
2524
+ }
2525
+ }
2526
+ ],
2527
+ "evidence": [
2528
+ {
2529
+ "fieldPath": "signature",
2530
+ "sourceId": "src/cli.mjs",
2531
+ "range": {
2532
+ "start": {
2533
+ "line": 21
2534
+ },
2535
+ "end": {
2536
+ "line": 21
2537
+ }
2538
+ },
2539
+ "rangeConvention": {
2540
+ "endBoundary": "unknown",
2541
+ "columnUnit": "unknown"
2542
+ }
2543
+ },
2544
+ {
2545
+ "fieldPath": "executable",
2546
+ "sourceId": "src/command-content.mjs"
2547
+ },
2548
+ {
2549
+ "fieldPath": "executable",
2550
+ "sourceId": "src/cli.mjs"
2551
+ },
2552
+ {
2553
+ "fieldPath": "path",
2554
+ "sourceId": "src/command-content.mjs"
2555
+ },
2556
+ {
2557
+ "fieldPath": "path",
2558
+ "sourceId": "src/cli.mjs"
2559
+ },
2560
+ {
2561
+ "fieldPath": "kind",
2562
+ "sourceId": "src/command-content.mjs"
2563
+ },
2564
+ {
2565
+ "fieldPath": "kind",
2566
+ "sourceId": "src/cli.mjs"
2567
+ },
2568
+ {
2569
+ "fieldPath": "signature",
2570
+ "sourceId": "src/command-content.mjs"
2571
+ },
2572
+ {
2573
+ "fieldPath": "signature",
2574
+ "sourceId": "src/cli.mjs"
2575
+ },
2576
+ {
2577
+ "fieldPath": "displayVersion",
2578
+ "sourceId": "src/command-content.mjs"
2579
+ },
2580
+ {
2581
+ "fieldPath": "displayVersion",
2582
+ "sourceId": "src/cli.mjs"
2583
+ },
2584
+ {
2585
+ "fieldPath": "parsing",
2586
+ "sourceId": "src/command-content.mjs"
2587
+ },
2588
+ {
2589
+ "fieldPath": "parsing",
2590
+ "sourceId": "src/cli.mjs"
2591
+ },
2592
+ {
2593
+ "fieldPath": "examples",
2594
+ "sourceId": "src/command-content.mjs"
2595
+ },
2596
+ {
2597
+ "fieldPath": "examples",
2598
+ "sourceId": "src/cli.mjs"
2599
+ },
2600
+ {
2601
+ "fieldPath": "effects",
2602
+ "sourceId": "src/command-content.mjs"
2603
+ },
2604
+ {
2605
+ "fieldPath": "effects",
2606
+ "sourceId": "src/cli.mjs"
2607
+ },
2608
+ {
2609
+ "fieldPath": "exitCodes",
2610
+ "sourceId": "src/command-content.mjs"
2611
+ },
2612
+ {
2613
+ "fieldPath": "exitCodes",
2614
+ "sourceId": "src/cli.mjs"
2615
+ },
2616
+ {
2617
+ "fieldPath": "i18n.fields.summary",
2618
+ "sourceId": "src/command-content.mjs"
2619
+ },
2620
+ {
2621
+ "fieldPath": "i18n.fields.summary",
2622
+ "sourceId": "README.md"
2623
+ },
2624
+ {
2625
+ "fieldPath": "i18n.fields.description",
2626
+ "sourceId": "src/command-content.mjs"
2627
+ },
2628
+ {
2629
+ "fieldPath": "i18n.fields.description",
2630
+ "sourceId": "README.md"
2631
+ },
2632
+ {
2633
+ "fieldPath": "i18n.fields.configUsage",
2634
+ "sourceId": "src/command-content.mjs"
2635
+ },
2636
+ {
2637
+ "fieldPath": "i18n.fields.configUsage",
2638
+ "sourceId": "README.md"
2639
+ },
2640
+ {
2641
+ "fieldPath": "i18n.fields.configOverrides",
2642
+ "sourceId": "src/command-content.mjs"
2643
+ },
2644
+ {
2645
+ "fieldPath": "i18n.fields.configOverrides",
2646
+ "sourceId": "README.md"
2647
+ },
2648
+ {
2649
+ "fieldPath": "i18n.fields.directOnly",
2650
+ "sourceId": "src/command-content.mjs"
2651
+ },
2652
+ {
2653
+ "fieldPath": "i18n.fields.directOnly",
2654
+ "sourceId": "README.md"
2655
+ },
2656
+ {
2657
+ "fieldPath": "i18n.fields.paths",
2658
+ "sourceId": "src/command-content.mjs"
2659
+ },
2660
+ {
2661
+ "fieldPath": "i18n.fields.paths",
2662
+ "sourceId": "README.md"
2663
+ },
2664
+ {
2665
+ "fieldPath": "i18n.fields.writes",
2666
+ "sourceId": "src/command-content.mjs"
2667
+ },
2668
+ {
2669
+ "fieldPath": "i18n.fields.writes",
2670
+ "sourceId": "README.md"
2671
+ },
2672
+ {
2673
+ "fieldPath": "i18n.fields.parsing",
2674
+ "sourceId": "src/command-content.mjs"
2675
+ },
2676
+ {
2677
+ "fieldPath": "i18n.fields.parsing",
2678
+ "sourceId": "README.md"
2679
+ },
2680
+ {
2681
+ "fieldPath": "i18n.fields.offline",
2682
+ "sourceId": "src/command-content.mjs"
2683
+ },
2684
+ {
2685
+ "fieldPath": "i18n.fields.offline",
2686
+ "sourceId": "README.md"
2687
+ }
2688
+ ]
2689
+ }
2690
+ ]
2691
+ },
2692
+ "verification": {
2693
+ "sourceBytes": "matched",
2694
+ "declarationObservations": "host-observation-matched",
2695
+ "rangeCoordinates": "declared"
2696
+ }
2697
+ }
2698
+ }
2699
+ }