@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,1860 @@
1
+ {
2
+ "contract": "command-documentation",
3
+ "contractVersion": "0.1.0-draft",
4
+ "owner": {
5
+ "packageName": "@hia-doc/cssdoc-runner",
6
+ "packageVersion": "1.0.0"
7
+ },
8
+ "sources": [
9
+ {
10
+ "id": "src/cli.mjs",
11
+ "path": "src/cli.mjs",
12
+ "sha256": "b8dc623556d60300123586ff0d404f5ad171f06f69d6fc848d2cc91c6c16777b",
13
+ "language": "javascript"
14
+ },
15
+ {
16
+ "id": "src/command-content.mjs",
17
+ "path": "src/command-content.mjs",
18
+ "sha256": "97fc8e337e486edf00433c505195704f3d47ebb48cf146b78559d2c123751205",
19
+ "language": "javascript"
20
+ },
21
+ {
22
+ "id": "src/metadata.mjs",
23
+ "path": "src/metadata.mjs",
24
+ "sha256": "27aea061883a3105fe28271f6fd2a1e4b554a73cbfd114fdf19e081ed5447e62",
25
+ "language": "javascript"
26
+ },
27
+ {
28
+ "id": "src/index.mjs",
29
+ "path": "src/index.mjs",
30
+ "sha256": "e7b16c94a22b3b6a7335ce3e60a6471d7a79c614ee573c6873d8aba27e529b25",
31
+ "language": "javascript"
32
+ },
33
+ {
34
+ "id": "src/schema.mjs",
35
+ "path": "src/schema.mjs",
36
+ "sha256": "65a9c7f1765206e569d0da91624884b0cebabce64cb91d0ffc7f8aaf6f304894",
37
+ "language": "javascript"
38
+ },
39
+ {
40
+ "id": "src/config-compatibility.mjs",
41
+ "path": "src/config-compatibility.mjs",
42
+ "sha256": "48e84ecf7316979854c3ae78fcc38caa7a7dbc78d31f3311856614b7f4369bfc",
43
+ "language": "javascript"
44
+ },
45
+ {
46
+ "id": "src/schemas/cssdoc-config-0.1.0-draft.schema.json",
47
+ "path": "src/schemas/cssdoc-config-0.1.0-draft.schema.json",
48
+ "sha256": "7467524764faad0ab3f8a1a9248e022d097198d9584fe179ba9bae9f247a5fe0",
49
+ "language": "json"
50
+ },
51
+ {
52
+ "id": "src/schemas/cssdoc-config-1.0.0.schema.json",
53
+ "path": "src/schemas/cssdoc-config-1.0.0.schema.json",
54
+ "sha256": "fef1ee7048982d62f69e7cb805eed6f429e66af552a6d87b7070de44e3d739dc",
55
+ "language": "json"
56
+ },
57
+ {
58
+ "id": "README.md",
59
+ "path": "README.md",
60
+ "sha256": "ef98236f15a557579ddaeedf78603e8cb4f3c9495d93d1f8aef2a677ca8fc4a2",
61
+ "language": "markdown"
62
+ },
63
+ {
64
+ "id": "package.json",
65
+ "path": "package.json",
66
+ "sha256": "703eb7281b3d65c4a46e4ef8eeacccbd0b22e72afae46a382ab465390e64e9ef",
67
+ "language": "json"
68
+ }
69
+ ],
70
+ "commands": [
71
+ {
72
+ "id": "cssdoc",
73
+ "executable": "cssdoc",
74
+ "path": [],
75
+ "kind": "command",
76
+ "signature": "cssdoc [options] <input...>",
77
+ "i18n": {
78
+ "enabled": true,
79
+ "model": "hia-text-i18n",
80
+ "modelVersion": "1.0.0",
81
+ "defaultLocale": "zh-CN",
82
+ "locales": [
83
+ "zh-CN",
84
+ "en"
85
+ ],
86
+ "fields": {
87
+ "summary": {
88
+ "fieldPath": "summary",
89
+ "kind": "text",
90
+ "defaultLocale": "zh-CN",
91
+ "localizedText": {
92
+ "zh-CN": "提取CSS与设计令牌文档",
93
+ "en": "Extract CSS and design-token documentation"
94
+ }
95
+ },
96
+ "description": {
97
+ "fieldPath": "description",
98
+ "kind": "text",
99
+ "defaultLocale": "zh-CN",
100
+ "localizedText": {
101
+ "zh-CN": "显式配置或直接输入构造运行请求,提取CSS、PostCSS与设计令牌文档。",
102
+ "en": "Build a request from explicit configuration or direct inputs to extract CSS, PostCSS and design-token documentation."
103
+ }
104
+ },
105
+ "configUsage": {
106
+ "fieldPath": "configUsage",
107
+ "kind": "text",
108
+ "defaultLocale": "zh-CN",
109
+ "localizedText": {
110
+ "zh-CN": "cssdoc --config cssdoc.config.json",
111
+ "en": "cssdoc --config cssdoc.config.json"
112
+ }
113
+ },
114
+ "configOverrides": {
115
+ "fieldPath": "configOverrides",
116
+ "kind": "text",
117
+ "defaultLocale": "zh-CN",
118
+ "localizedText": {
119
+ "zh-CN": "配置模式中,CLI可覆盖out-dir、sources-content-policy及no-doc-source-map。",
120
+ "en": "In config mode CLI can override out-dir, sources-content-policy and no-doc-source-map."
121
+ }
122
+ },
123
+ "directOnly": {
124
+ "fieldPath": "directOnly",
125
+ "kind": "text",
126
+ "defaultLocale": "zh-CN",
127
+ "localizedText": {
128
+ "zh-CN": "kind及workspace-root用于直接模式;配置模式忽略它们和位置输入。",
129
+ "en": "kind and workspace-root apply to direct mode; config mode ignores them and positional inputs."
130
+ }
131
+ },
132
+ "paths": {
133
+ "fieldPath": "paths",
134
+ "kind": "text",
135
+ "defaultLocale": "zh-CN",
136
+ "localizedText": {
137
+ "zh-CN": "配置文件相对调用目录,配置工作区相对配置目录;输出相对所选工作区。",
138
+ "en": "Config paths use cwd, configured workspaces use the config directory, and output uses the selected workspace."
139
+ }
140
+ },
141
+ "writes": {
142
+ "fieldPath": "writes",
143
+ "kind": "text",
144
+ "defaultLocale": "zh-CN",
145
+ "localizedText": {
146
+ "zh-CN": "运行会创建目录并写工件,失败时可能已写部分文件。embed策略会写入获准公开的源码正文。",
147
+ "en": "Runs create directories and artifacts; failures may leave partial output. The embed policy includes source bodies authorized for publication."
148
+ }
149
+ },
150
+ "parsing": {
151
+ "fieldPath": "parsing",
152
+ "kind": "text",
153
+ "defaultLocale": "zh-CN",
154
+ "localizedText": {
155
+ "zh-CN": "Node严格解析先于帮助;未知、缺值或类型错误返回1。重复带值选项取最后值,--之后作为位置输入。",
156
+ "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."
157
+ }
158
+ },
159
+ "offline": {
160
+ "fieldPath": "offline",
161
+ "kind": "text",
162
+ "defaultLocale": "zh-CN",
163
+ "localizedText": {
164
+ "zh-CN": "@hia-doc/cssdoc-runner/README.md",
165
+ "en": "@hia-doc/cssdoc-runner/README.md"
166
+ }
167
+ }
168
+ }
169
+ },
170
+ "displayVersion": {
171
+ "kind": "runner",
172
+ "value": "1.0.0"
173
+ },
174
+ "parsing": {
175
+ "helpOrder": "after-argument-validation",
176
+ "unknownOptions": "reject"
177
+ },
178
+ "options": [
179
+ {
180
+ "id": "config",
181
+ "kind": "option",
182
+ "name": "config",
183
+ "short": "c",
184
+ "valueType": "string",
185
+ "required": false,
186
+ "multiple": false,
187
+ "defaultRule": {
188
+ "kind": "not-applicable"
189
+ },
190
+ "i18n": {
191
+ "enabled": true,
192
+ "model": "hia-text-i18n",
193
+ "modelVersion": "1.0.0",
194
+ "defaultLocale": "zh-CN",
195
+ "locales": [
196
+ "zh-CN",
197
+ "en"
198
+ ],
199
+ "fields": {
200
+ "summary": {
201
+ "fieldPath": "summary",
202
+ "kind": "text",
203
+ "defaultLocale": "zh-CN",
204
+ "localizedText": {
205
+ "zh-CN": "从JSON配置构造请求。",
206
+ "en": "Build a request from JSON configuration."
207
+ }
208
+ },
209
+ "description": {
210
+ "fieldPath": "description",
211
+ "kind": "text",
212
+ "defaultLocale": "zh-CN",
213
+ "localizedText": {
214
+ "zh-CN": "从JSON配置构造请求。",
215
+ "en": "Build a request from JSON configuration."
216
+ }
217
+ },
218
+ "metavar": {
219
+ "fieldPath": "metavar",
220
+ "kind": "text",
221
+ "defaultLocale": "zh-CN",
222
+ "localizedText": {
223
+ "zh-CN": "path",
224
+ "en": "path"
225
+ }
226
+ }
227
+ }
228
+ },
229
+ "evidence": [
230
+ {
231
+ "fieldPath": "name",
232
+ "sourceId": "src/cli.mjs",
233
+ "range": {
234
+ "start": {
235
+ "line": 21
236
+ },
237
+ "end": {
238
+ "line": 21
239
+ }
240
+ },
241
+ "rangeConvention": {
242
+ "endBoundary": "unknown",
243
+ "columnUnit": "unknown"
244
+ }
245
+ },
246
+ {
247
+ "fieldPath": "kind",
248
+ "sourceId": "src/command-content.mjs"
249
+ },
250
+ {
251
+ "fieldPath": "kind",
252
+ "sourceId": "src/cli.mjs"
253
+ },
254
+ {
255
+ "fieldPath": "name",
256
+ "sourceId": "src/command-content.mjs"
257
+ },
258
+ {
259
+ "fieldPath": "name",
260
+ "sourceId": "src/cli.mjs"
261
+ },
262
+ {
263
+ "fieldPath": "short",
264
+ "sourceId": "src/command-content.mjs"
265
+ },
266
+ {
267
+ "fieldPath": "short",
268
+ "sourceId": "src/cli.mjs"
269
+ },
270
+ {
271
+ "fieldPath": "valueType",
272
+ "sourceId": "src/command-content.mjs"
273
+ },
274
+ {
275
+ "fieldPath": "valueType",
276
+ "sourceId": "src/cli.mjs"
277
+ },
278
+ {
279
+ "fieldPath": "required",
280
+ "sourceId": "src/command-content.mjs"
281
+ },
282
+ {
283
+ "fieldPath": "required",
284
+ "sourceId": "src/cli.mjs"
285
+ },
286
+ {
287
+ "fieldPath": "multiple",
288
+ "sourceId": "src/command-content.mjs"
289
+ },
290
+ {
291
+ "fieldPath": "multiple",
292
+ "sourceId": "src/cli.mjs"
293
+ },
294
+ {
295
+ "fieldPath": "defaultRule",
296
+ "sourceId": "src/command-content.mjs"
297
+ },
298
+ {
299
+ "fieldPath": "defaultRule",
300
+ "sourceId": "src/cli.mjs"
301
+ },
302
+ {
303
+ "fieldPath": "i18n.fields.summary",
304
+ "sourceId": "src/command-content.mjs"
305
+ },
306
+ {
307
+ "fieldPath": "i18n.fields.summary",
308
+ "sourceId": "README.md"
309
+ },
310
+ {
311
+ "fieldPath": "i18n.fields.description",
312
+ "sourceId": "src/command-content.mjs"
313
+ },
314
+ {
315
+ "fieldPath": "i18n.fields.description",
316
+ "sourceId": "README.md"
317
+ },
318
+ {
319
+ "fieldPath": "i18n.fields.metavar",
320
+ "sourceId": "src/command-content.mjs"
321
+ },
322
+ {
323
+ "fieldPath": "i18n.fields.metavar",
324
+ "sourceId": "README.md"
325
+ },
326
+ {
327
+ "fieldPath": "defaultRule",
328
+ "sourceId": "src/index.mjs"
329
+ },
330
+ {
331
+ "fieldPath": "defaultRule",
332
+ "sourceId": "src/config-compatibility.mjs"
333
+ },
334
+ {
335
+ "fieldPath": "defaultRule",
336
+ "sourceId": "src/schemas/cssdoc-config-1.0.0.schema.json"
337
+ },
338
+ {
339
+ "fieldPath": "defaultRule",
340
+ "sourceId": "src/schemas/cssdoc-config-0.1.0-draft.schema.json"
341
+ }
342
+ ]
343
+ },
344
+ {
345
+ "id": "kind",
346
+ "kind": "option",
347
+ "name": "kind",
348
+ "short": "k",
349
+ "valueType": "string",
350
+ "required": false,
351
+ "multiple": false,
352
+ "choices": [
353
+ "css",
354
+ "postcss-css",
355
+ "design-token"
356
+ ],
357
+ "defaultRule": {
358
+ "kind": "conditional",
359
+ "conditions": [
360
+ "description"
361
+ ]
362
+ },
363
+ "i18n": {
364
+ "enabled": true,
365
+ "model": "hia-text-i18n",
366
+ "modelVersion": "1.0.0",
367
+ "defaultLocale": "zh-CN",
368
+ "locales": [
369
+ "zh-CN",
370
+ "en"
371
+ ],
372
+ "fields": {
373
+ "summary": {
374
+ "fieldPath": "summary",
375
+ "kind": "text",
376
+ "defaultLocale": "zh-CN",
377
+ "localizedText": {
378
+ "zh-CN": "直接输入的类型,省略时从输入推断。",
379
+ "en": "Direct-input kind, inferred from input when omitted."
380
+ }
381
+ },
382
+ "description": {
383
+ "fieldPath": "description",
384
+ "kind": "text",
385
+ "defaultLocale": "zh-CN",
386
+ "localizedText": {
387
+ "zh-CN": "直接输入的类型,省略时从输入推断。",
388
+ "en": "Direct-input kind, inferred from input when omitted."
389
+ }
390
+ },
391
+ "metavar": {
392
+ "fieldPath": "metavar",
393
+ "kind": "text",
394
+ "defaultLocale": "zh-CN",
395
+ "localizedText": {
396
+ "zh-CN": "kind",
397
+ "en": "kind"
398
+ }
399
+ }
400
+ }
401
+ },
402
+ "evidence": [
403
+ {
404
+ "fieldPath": "name",
405
+ "sourceId": "src/cli.mjs",
406
+ "range": {
407
+ "start": {
408
+ "line": 21
409
+ },
410
+ "end": {
411
+ "line": 21
412
+ }
413
+ },
414
+ "rangeConvention": {
415
+ "endBoundary": "unknown",
416
+ "columnUnit": "unknown"
417
+ }
418
+ },
419
+ {
420
+ "fieldPath": "kind",
421
+ "sourceId": "src/command-content.mjs"
422
+ },
423
+ {
424
+ "fieldPath": "kind",
425
+ "sourceId": "src/cli.mjs"
426
+ },
427
+ {
428
+ "fieldPath": "name",
429
+ "sourceId": "src/command-content.mjs"
430
+ },
431
+ {
432
+ "fieldPath": "name",
433
+ "sourceId": "src/cli.mjs"
434
+ },
435
+ {
436
+ "fieldPath": "short",
437
+ "sourceId": "src/command-content.mjs"
438
+ },
439
+ {
440
+ "fieldPath": "short",
441
+ "sourceId": "src/cli.mjs"
442
+ },
443
+ {
444
+ "fieldPath": "valueType",
445
+ "sourceId": "src/command-content.mjs"
446
+ },
447
+ {
448
+ "fieldPath": "valueType",
449
+ "sourceId": "src/cli.mjs"
450
+ },
451
+ {
452
+ "fieldPath": "required",
453
+ "sourceId": "src/command-content.mjs"
454
+ },
455
+ {
456
+ "fieldPath": "required",
457
+ "sourceId": "src/cli.mjs"
458
+ },
459
+ {
460
+ "fieldPath": "multiple",
461
+ "sourceId": "src/command-content.mjs"
462
+ },
463
+ {
464
+ "fieldPath": "multiple",
465
+ "sourceId": "src/cli.mjs"
466
+ },
467
+ {
468
+ "fieldPath": "choices",
469
+ "sourceId": "src/command-content.mjs"
470
+ },
471
+ {
472
+ "fieldPath": "choices",
473
+ "sourceId": "src/cli.mjs"
474
+ },
475
+ {
476
+ "fieldPath": "defaultRule",
477
+ "sourceId": "src/command-content.mjs"
478
+ },
479
+ {
480
+ "fieldPath": "defaultRule",
481
+ "sourceId": "src/cli.mjs"
482
+ },
483
+ {
484
+ "fieldPath": "i18n.fields.summary",
485
+ "sourceId": "src/command-content.mjs"
486
+ },
487
+ {
488
+ "fieldPath": "i18n.fields.summary",
489
+ "sourceId": "README.md"
490
+ },
491
+ {
492
+ "fieldPath": "i18n.fields.description",
493
+ "sourceId": "src/command-content.mjs"
494
+ },
495
+ {
496
+ "fieldPath": "i18n.fields.description",
497
+ "sourceId": "README.md"
498
+ },
499
+ {
500
+ "fieldPath": "i18n.fields.metavar",
501
+ "sourceId": "src/command-content.mjs"
502
+ },
503
+ {
504
+ "fieldPath": "i18n.fields.metavar",
505
+ "sourceId": "README.md"
506
+ },
507
+ {
508
+ "fieldPath": "defaultRule",
509
+ "sourceId": "src/index.mjs"
510
+ },
511
+ {
512
+ "fieldPath": "defaultRule",
513
+ "sourceId": "src/config-compatibility.mjs"
514
+ },
515
+ {
516
+ "fieldPath": "defaultRule",
517
+ "sourceId": "src/schemas/cssdoc-config-1.0.0.schema.json"
518
+ },
519
+ {
520
+ "fieldPath": "defaultRule",
521
+ "sourceId": "src/schemas/cssdoc-config-0.1.0-draft.schema.json"
522
+ }
523
+ ]
524
+ },
525
+ {
526
+ "id": "out-dir",
527
+ "kind": "option",
528
+ "name": "out-dir",
529
+ "short": "o",
530
+ "valueType": "string",
531
+ "required": false,
532
+ "multiple": false,
533
+ "defaultRule": {
534
+ "kind": "conditional",
535
+ "conditions": [
536
+ "description"
537
+ ]
538
+ },
539
+ "i18n": {
540
+ "enabled": true,
541
+ "model": "hia-text-i18n",
542
+ "modelVersion": "1.0.0",
543
+ "defaultLocale": "zh-CN",
544
+ "locales": [
545
+ "zh-CN",
546
+ "en"
547
+ ],
548
+ "fields": {
549
+ "summary": {
550
+ "fieldPath": "summary",
551
+ "kind": "text",
552
+ "defaultLocale": "zh-CN",
553
+ "localizedText": {
554
+ "zh-CN": "配置模式非空值覆盖输出;直接模式缺省dist/cssdoc,空字符串为工作区根。",
555
+ "en": "Nonempty values override configured output; direct mode defaults to dist/cssdoc, with an empty string selecting the workspace root."
556
+ }
557
+ },
558
+ "description": {
559
+ "fieldPath": "description",
560
+ "kind": "text",
561
+ "defaultLocale": "zh-CN",
562
+ "localizedText": {
563
+ "zh-CN": "配置模式非空值覆盖输出;直接模式缺省dist/cssdoc,空字符串为工作区根。",
564
+ "en": "Nonempty values override configured output; direct mode defaults to dist/cssdoc, with an empty string selecting the workspace root."
565
+ }
566
+ },
567
+ "metavar": {
568
+ "fieldPath": "metavar",
569
+ "kind": "text",
570
+ "defaultLocale": "zh-CN",
571
+ "localizedText": {
572
+ "zh-CN": "path",
573
+ "en": "path"
574
+ }
575
+ }
576
+ }
577
+ },
578
+ "evidence": [
579
+ {
580
+ "fieldPath": "name",
581
+ "sourceId": "src/cli.mjs",
582
+ "range": {
583
+ "start": {
584
+ "line": 21
585
+ },
586
+ "end": {
587
+ "line": 21
588
+ }
589
+ },
590
+ "rangeConvention": {
591
+ "endBoundary": "unknown",
592
+ "columnUnit": "unknown"
593
+ }
594
+ },
595
+ {
596
+ "fieldPath": "kind",
597
+ "sourceId": "src/command-content.mjs"
598
+ },
599
+ {
600
+ "fieldPath": "kind",
601
+ "sourceId": "src/cli.mjs"
602
+ },
603
+ {
604
+ "fieldPath": "name",
605
+ "sourceId": "src/command-content.mjs"
606
+ },
607
+ {
608
+ "fieldPath": "name",
609
+ "sourceId": "src/cli.mjs"
610
+ },
611
+ {
612
+ "fieldPath": "short",
613
+ "sourceId": "src/command-content.mjs"
614
+ },
615
+ {
616
+ "fieldPath": "short",
617
+ "sourceId": "src/cli.mjs"
618
+ },
619
+ {
620
+ "fieldPath": "valueType",
621
+ "sourceId": "src/command-content.mjs"
622
+ },
623
+ {
624
+ "fieldPath": "valueType",
625
+ "sourceId": "src/cli.mjs"
626
+ },
627
+ {
628
+ "fieldPath": "required",
629
+ "sourceId": "src/command-content.mjs"
630
+ },
631
+ {
632
+ "fieldPath": "required",
633
+ "sourceId": "src/cli.mjs"
634
+ },
635
+ {
636
+ "fieldPath": "multiple",
637
+ "sourceId": "src/command-content.mjs"
638
+ },
639
+ {
640
+ "fieldPath": "multiple",
641
+ "sourceId": "src/cli.mjs"
642
+ },
643
+ {
644
+ "fieldPath": "defaultRule",
645
+ "sourceId": "src/command-content.mjs"
646
+ },
647
+ {
648
+ "fieldPath": "defaultRule",
649
+ "sourceId": "src/cli.mjs"
650
+ },
651
+ {
652
+ "fieldPath": "i18n.fields.summary",
653
+ "sourceId": "src/command-content.mjs"
654
+ },
655
+ {
656
+ "fieldPath": "i18n.fields.summary",
657
+ "sourceId": "README.md"
658
+ },
659
+ {
660
+ "fieldPath": "i18n.fields.description",
661
+ "sourceId": "src/command-content.mjs"
662
+ },
663
+ {
664
+ "fieldPath": "i18n.fields.description",
665
+ "sourceId": "README.md"
666
+ },
667
+ {
668
+ "fieldPath": "i18n.fields.metavar",
669
+ "sourceId": "src/command-content.mjs"
670
+ },
671
+ {
672
+ "fieldPath": "i18n.fields.metavar",
673
+ "sourceId": "README.md"
674
+ },
675
+ {
676
+ "fieldPath": "defaultRule",
677
+ "sourceId": "src/index.mjs"
678
+ },
679
+ {
680
+ "fieldPath": "defaultRule",
681
+ "sourceId": "src/config-compatibility.mjs"
682
+ },
683
+ {
684
+ "fieldPath": "defaultRule",
685
+ "sourceId": "src/schemas/cssdoc-config-1.0.0.schema.json"
686
+ },
687
+ {
688
+ "fieldPath": "defaultRule",
689
+ "sourceId": "src/schemas/cssdoc-config-0.1.0-draft.schema.json"
690
+ }
691
+ ]
692
+ },
693
+ {
694
+ "id": "workspace-root",
695
+ "kind": "option",
696
+ "name": "workspace-root",
697
+ "valueType": "string",
698
+ "required": false,
699
+ "multiple": false,
700
+ "defaultRule": {
701
+ "kind": "conditional",
702
+ "conditions": [
703
+ "description"
704
+ ]
705
+ },
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": "直接模式的工作区根,省略时使用调用目录。",
722
+ "en": "Workspace root for direct mode, defaulting to cwd."
723
+ }
724
+ },
725
+ "description": {
726
+ "fieldPath": "description",
727
+ "kind": "text",
728
+ "defaultLocale": "zh-CN",
729
+ "localizedText": {
730
+ "zh-CN": "直接模式的工作区根,省略时使用调用目录。",
731
+ "en": "Workspace root for direct mode, defaulting to cwd."
732
+ }
733
+ },
734
+ "metavar": {
735
+ "fieldPath": "metavar",
736
+ "kind": "text",
737
+ "defaultLocale": "zh-CN",
738
+ "localizedText": {
739
+ "zh-CN": "path",
740
+ "en": "path"
741
+ }
742
+ }
743
+ }
744
+ },
745
+ "evidence": [
746
+ {
747
+ "fieldPath": "name",
748
+ "sourceId": "src/cli.mjs",
749
+ "range": {
750
+ "start": {
751
+ "line": 21
752
+ },
753
+ "end": {
754
+ "line": 21
755
+ }
756
+ },
757
+ "rangeConvention": {
758
+ "endBoundary": "unknown",
759
+ "columnUnit": "unknown"
760
+ }
761
+ },
762
+ {
763
+ "fieldPath": "kind",
764
+ "sourceId": "src/command-content.mjs"
765
+ },
766
+ {
767
+ "fieldPath": "kind",
768
+ "sourceId": "src/cli.mjs"
769
+ },
770
+ {
771
+ "fieldPath": "name",
772
+ "sourceId": "src/command-content.mjs"
773
+ },
774
+ {
775
+ "fieldPath": "name",
776
+ "sourceId": "src/cli.mjs"
777
+ },
778
+ {
779
+ "fieldPath": "valueType",
780
+ "sourceId": "src/command-content.mjs"
781
+ },
782
+ {
783
+ "fieldPath": "valueType",
784
+ "sourceId": "src/cli.mjs"
785
+ },
786
+ {
787
+ "fieldPath": "required",
788
+ "sourceId": "src/command-content.mjs"
789
+ },
790
+ {
791
+ "fieldPath": "required",
792
+ "sourceId": "src/cli.mjs"
793
+ },
794
+ {
795
+ "fieldPath": "multiple",
796
+ "sourceId": "src/command-content.mjs"
797
+ },
798
+ {
799
+ "fieldPath": "multiple",
800
+ "sourceId": "src/cli.mjs"
801
+ },
802
+ {
803
+ "fieldPath": "defaultRule",
804
+ "sourceId": "src/command-content.mjs"
805
+ },
806
+ {
807
+ "fieldPath": "defaultRule",
808
+ "sourceId": "src/cli.mjs"
809
+ },
810
+ {
811
+ "fieldPath": "i18n.fields.summary",
812
+ "sourceId": "src/command-content.mjs"
813
+ },
814
+ {
815
+ "fieldPath": "i18n.fields.summary",
816
+ "sourceId": "README.md"
817
+ },
818
+ {
819
+ "fieldPath": "i18n.fields.description",
820
+ "sourceId": "src/command-content.mjs"
821
+ },
822
+ {
823
+ "fieldPath": "i18n.fields.description",
824
+ "sourceId": "README.md"
825
+ },
826
+ {
827
+ "fieldPath": "i18n.fields.metavar",
828
+ "sourceId": "src/command-content.mjs"
829
+ },
830
+ {
831
+ "fieldPath": "i18n.fields.metavar",
832
+ "sourceId": "README.md"
833
+ },
834
+ {
835
+ "fieldPath": "defaultRule",
836
+ "sourceId": "src/index.mjs"
837
+ },
838
+ {
839
+ "fieldPath": "defaultRule",
840
+ "sourceId": "src/config-compatibility.mjs"
841
+ },
842
+ {
843
+ "fieldPath": "defaultRule",
844
+ "sourceId": "src/schemas/cssdoc-config-1.0.0.schema.json"
845
+ },
846
+ {
847
+ "fieldPath": "defaultRule",
848
+ "sourceId": "src/schemas/cssdoc-config-0.1.0-draft.schema.json"
849
+ }
850
+ ]
851
+ },
852
+ {
853
+ "id": "sources-content-policy",
854
+ "kind": "option",
855
+ "name": "sources-content-policy",
856
+ "valueType": "string",
857
+ "required": false,
858
+ "multiple": false,
859
+ "choices": [
860
+ "none",
861
+ "reference",
862
+ "embed"
863
+ ],
864
+ "defaultRule": {
865
+ "kind": "conditional",
866
+ "conditions": [
867
+ "description"
868
+ ]
869
+ },
870
+ "i18n": {
871
+ "enabled": true,
872
+ "model": "hia-text-i18n",
873
+ "modelVersion": "1.0.0",
874
+ "defaultLocale": "zh-CN",
875
+ "locales": [
876
+ "zh-CN",
877
+ "en"
878
+ ],
879
+ "fields": {
880
+ "summary": {
881
+ "fieldPath": "summary",
882
+ "kind": "text",
883
+ "defaultLocale": "zh-CN",
884
+ "localizedText": {
885
+ "zh-CN": "直接模式缺省none;配置模式省略或空值时保留原值,非空值覆盖。",
886
+ "en": "Direct mode defaults to none; config mode retains its policy for omission or empty strings and uses nonempty overrides."
887
+ }
888
+ },
889
+ "description": {
890
+ "fieldPath": "description",
891
+ "kind": "text",
892
+ "defaultLocale": "zh-CN",
893
+ "localizedText": {
894
+ "zh-CN": "直接模式缺省none;配置模式省略或空值时保留原值,非空值覆盖。",
895
+ "en": "Direct mode defaults to none; config mode retains its policy for omission or empty strings and uses nonempty overrides."
896
+ }
897
+ },
898
+ "metavar": {
899
+ "fieldPath": "metavar",
900
+ "kind": "text",
901
+ "defaultLocale": "zh-CN",
902
+ "localizedText": {
903
+ "zh-CN": "none|reference|embed",
904
+ "en": "none|reference|embed"
905
+ }
906
+ }
907
+ }
908
+ },
909
+ "evidence": [
910
+ {
911
+ "fieldPath": "name",
912
+ "sourceId": "src/cli.mjs",
913
+ "range": {
914
+ "start": {
915
+ "line": 21
916
+ },
917
+ "end": {
918
+ "line": 21
919
+ }
920
+ },
921
+ "rangeConvention": {
922
+ "endBoundary": "unknown",
923
+ "columnUnit": "unknown"
924
+ }
925
+ },
926
+ {
927
+ "fieldPath": "kind",
928
+ "sourceId": "src/command-content.mjs"
929
+ },
930
+ {
931
+ "fieldPath": "kind",
932
+ "sourceId": "src/cli.mjs"
933
+ },
934
+ {
935
+ "fieldPath": "name",
936
+ "sourceId": "src/command-content.mjs"
937
+ },
938
+ {
939
+ "fieldPath": "name",
940
+ "sourceId": "src/cli.mjs"
941
+ },
942
+ {
943
+ "fieldPath": "valueType",
944
+ "sourceId": "src/command-content.mjs"
945
+ },
946
+ {
947
+ "fieldPath": "valueType",
948
+ "sourceId": "src/cli.mjs"
949
+ },
950
+ {
951
+ "fieldPath": "required",
952
+ "sourceId": "src/command-content.mjs"
953
+ },
954
+ {
955
+ "fieldPath": "required",
956
+ "sourceId": "src/cli.mjs"
957
+ },
958
+ {
959
+ "fieldPath": "multiple",
960
+ "sourceId": "src/command-content.mjs"
961
+ },
962
+ {
963
+ "fieldPath": "multiple",
964
+ "sourceId": "src/cli.mjs"
965
+ },
966
+ {
967
+ "fieldPath": "choices",
968
+ "sourceId": "src/command-content.mjs"
969
+ },
970
+ {
971
+ "fieldPath": "choices",
972
+ "sourceId": "src/cli.mjs"
973
+ },
974
+ {
975
+ "fieldPath": "defaultRule",
976
+ "sourceId": "src/command-content.mjs"
977
+ },
978
+ {
979
+ "fieldPath": "defaultRule",
980
+ "sourceId": "src/cli.mjs"
981
+ },
982
+ {
983
+ "fieldPath": "i18n.fields.summary",
984
+ "sourceId": "src/command-content.mjs"
985
+ },
986
+ {
987
+ "fieldPath": "i18n.fields.summary",
988
+ "sourceId": "README.md"
989
+ },
990
+ {
991
+ "fieldPath": "i18n.fields.description",
992
+ "sourceId": "src/command-content.mjs"
993
+ },
994
+ {
995
+ "fieldPath": "i18n.fields.description",
996
+ "sourceId": "README.md"
997
+ },
998
+ {
999
+ "fieldPath": "i18n.fields.metavar",
1000
+ "sourceId": "src/command-content.mjs"
1001
+ },
1002
+ {
1003
+ "fieldPath": "i18n.fields.metavar",
1004
+ "sourceId": "README.md"
1005
+ },
1006
+ {
1007
+ "fieldPath": "defaultRule",
1008
+ "sourceId": "src/index.mjs"
1009
+ },
1010
+ {
1011
+ "fieldPath": "defaultRule",
1012
+ "sourceId": "src/config-compatibility.mjs"
1013
+ },
1014
+ {
1015
+ "fieldPath": "defaultRule",
1016
+ "sourceId": "src/schemas/cssdoc-config-1.0.0.schema.json"
1017
+ },
1018
+ {
1019
+ "fieldPath": "defaultRule",
1020
+ "sourceId": "src/schemas/cssdoc-config-0.1.0-draft.schema.json"
1021
+ }
1022
+ ]
1023
+ },
1024
+ {
1025
+ "id": "no-doc-source-map",
1026
+ "kind": "option",
1027
+ "name": "no-doc-source-map",
1028
+ "valueType": "boolean",
1029
+ "required": false,
1030
+ "multiple": false,
1031
+ "defaultRule": {
1032
+ "kind": "conditional",
1033
+ "conditions": [
1034
+ "description"
1035
+ ]
1036
+ },
1037
+ "i18n": {
1038
+ "enabled": true,
1039
+ "model": "hia-text-i18n",
1040
+ "modelVersion": "1.0.0",
1041
+ "defaultLocale": "zh-CN",
1042
+ "locales": [
1043
+ "zh-CN",
1044
+ "en"
1045
+ ],
1046
+ "fields": {
1047
+ "summary": {
1048
+ "fieldPath": "summary",
1049
+ "kind": "text",
1050
+ "defaultLocale": "zh-CN",
1051
+ "localizedText": {
1052
+ "zh-CN": "提供时关闭地图;省略时直接模式生成地图,配置模式保留原值。",
1053
+ "en": "Supplying the flag disables maps; omission enables direct-mode maps and retains the configured value."
1054
+ }
1055
+ },
1056
+ "description": {
1057
+ "fieldPath": "description",
1058
+ "kind": "text",
1059
+ "defaultLocale": "zh-CN",
1060
+ "localizedText": {
1061
+ "zh-CN": "提供时关闭地图;省略时直接模式生成地图,配置模式保留原值。",
1062
+ "en": "Supplying the flag disables maps; omission enables direct-mode maps and retains the configured value."
1063
+ }
1064
+ }
1065
+ }
1066
+ },
1067
+ "evidence": [
1068
+ {
1069
+ "fieldPath": "name",
1070
+ "sourceId": "src/cli.mjs",
1071
+ "range": {
1072
+ "start": {
1073
+ "line": 21
1074
+ },
1075
+ "end": {
1076
+ "line": 21
1077
+ }
1078
+ },
1079
+ "rangeConvention": {
1080
+ "endBoundary": "unknown",
1081
+ "columnUnit": "unknown"
1082
+ }
1083
+ },
1084
+ {
1085
+ "fieldPath": "kind",
1086
+ "sourceId": "src/command-content.mjs"
1087
+ },
1088
+ {
1089
+ "fieldPath": "kind",
1090
+ "sourceId": "src/cli.mjs"
1091
+ },
1092
+ {
1093
+ "fieldPath": "name",
1094
+ "sourceId": "src/command-content.mjs"
1095
+ },
1096
+ {
1097
+ "fieldPath": "name",
1098
+ "sourceId": "src/cli.mjs"
1099
+ },
1100
+ {
1101
+ "fieldPath": "valueType",
1102
+ "sourceId": "src/command-content.mjs"
1103
+ },
1104
+ {
1105
+ "fieldPath": "valueType",
1106
+ "sourceId": "src/cli.mjs"
1107
+ },
1108
+ {
1109
+ "fieldPath": "required",
1110
+ "sourceId": "src/command-content.mjs"
1111
+ },
1112
+ {
1113
+ "fieldPath": "required",
1114
+ "sourceId": "src/cli.mjs"
1115
+ },
1116
+ {
1117
+ "fieldPath": "multiple",
1118
+ "sourceId": "src/command-content.mjs"
1119
+ },
1120
+ {
1121
+ "fieldPath": "multiple",
1122
+ "sourceId": "src/cli.mjs"
1123
+ },
1124
+ {
1125
+ "fieldPath": "defaultRule",
1126
+ "sourceId": "src/command-content.mjs"
1127
+ },
1128
+ {
1129
+ "fieldPath": "defaultRule",
1130
+ "sourceId": "src/cli.mjs"
1131
+ },
1132
+ {
1133
+ "fieldPath": "i18n.fields.summary",
1134
+ "sourceId": "src/command-content.mjs"
1135
+ },
1136
+ {
1137
+ "fieldPath": "i18n.fields.summary",
1138
+ "sourceId": "README.md"
1139
+ },
1140
+ {
1141
+ "fieldPath": "i18n.fields.description",
1142
+ "sourceId": "src/command-content.mjs"
1143
+ },
1144
+ {
1145
+ "fieldPath": "i18n.fields.description",
1146
+ "sourceId": "README.md"
1147
+ },
1148
+ {
1149
+ "fieldPath": "defaultRule",
1150
+ "sourceId": "src/index.mjs"
1151
+ },
1152
+ {
1153
+ "fieldPath": "defaultRule",
1154
+ "sourceId": "src/config-compatibility.mjs"
1155
+ },
1156
+ {
1157
+ "fieldPath": "defaultRule",
1158
+ "sourceId": "src/schemas/cssdoc-config-1.0.0.schema.json"
1159
+ },
1160
+ {
1161
+ "fieldPath": "defaultRule",
1162
+ "sourceId": "src/schemas/cssdoc-config-0.1.0-draft.schema.json"
1163
+ }
1164
+ ]
1165
+ },
1166
+ {
1167
+ "id": "help",
1168
+ "kind": "option",
1169
+ "name": "help",
1170
+ "short": "h",
1171
+ "valueType": "boolean",
1172
+ "required": false,
1173
+ "multiple": false,
1174
+ "defaultRule": {
1175
+ "kind": "not-applicable"
1176
+ },
1177
+ "i18n": {
1178
+ "enabled": true,
1179
+ "model": "hia-text-i18n",
1180
+ "modelVersion": "1.0.0",
1181
+ "defaultLocale": "zh-CN",
1182
+ "locales": [
1183
+ "zh-CN",
1184
+ "en"
1185
+ ],
1186
+ "fields": {
1187
+ "summary": {
1188
+ "fieldPath": "summary",
1189
+ "kind": "text",
1190
+ "defaultLocale": "zh-CN",
1191
+ "localizedText": {
1192
+ "zh-CN": "输出帮助并退出0。",
1193
+ "en": "Print help and exit 0."
1194
+ }
1195
+ },
1196
+ "description": {
1197
+ "fieldPath": "description",
1198
+ "kind": "text",
1199
+ "defaultLocale": "zh-CN",
1200
+ "localizedText": {
1201
+ "zh-CN": "输出帮助并退出0。",
1202
+ "en": "Print help and exit 0."
1203
+ }
1204
+ }
1205
+ }
1206
+ },
1207
+ "evidence": [
1208
+ {
1209
+ "fieldPath": "name",
1210
+ "sourceId": "src/cli.mjs",
1211
+ "range": {
1212
+ "start": {
1213
+ "line": 21
1214
+ },
1215
+ "end": {
1216
+ "line": 21
1217
+ }
1218
+ },
1219
+ "rangeConvention": {
1220
+ "endBoundary": "unknown",
1221
+ "columnUnit": "unknown"
1222
+ }
1223
+ },
1224
+ {
1225
+ "fieldPath": "kind",
1226
+ "sourceId": "src/command-content.mjs"
1227
+ },
1228
+ {
1229
+ "fieldPath": "kind",
1230
+ "sourceId": "src/cli.mjs"
1231
+ },
1232
+ {
1233
+ "fieldPath": "name",
1234
+ "sourceId": "src/command-content.mjs"
1235
+ },
1236
+ {
1237
+ "fieldPath": "name",
1238
+ "sourceId": "src/cli.mjs"
1239
+ },
1240
+ {
1241
+ "fieldPath": "short",
1242
+ "sourceId": "src/command-content.mjs"
1243
+ },
1244
+ {
1245
+ "fieldPath": "short",
1246
+ "sourceId": "src/cli.mjs"
1247
+ },
1248
+ {
1249
+ "fieldPath": "valueType",
1250
+ "sourceId": "src/command-content.mjs"
1251
+ },
1252
+ {
1253
+ "fieldPath": "valueType",
1254
+ "sourceId": "src/cli.mjs"
1255
+ },
1256
+ {
1257
+ "fieldPath": "required",
1258
+ "sourceId": "src/command-content.mjs"
1259
+ },
1260
+ {
1261
+ "fieldPath": "required",
1262
+ "sourceId": "src/cli.mjs"
1263
+ },
1264
+ {
1265
+ "fieldPath": "multiple",
1266
+ "sourceId": "src/command-content.mjs"
1267
+ },
1268
+ {
1269
+ "fieldPath": "multiple",
1270
+ "sourceId": "src/cli.mjs"
1271
+ },
1272
+ {
1273
+ "fieldPath": "defaultRule",
1274
+ "sourceId": "src/command-content.mjs"
1275
+ },
1276
+ {
1277
+ "fieldPath": "defaultRule",
1278
+ "sourceId": "src/cli.mjs"
1279
+ },
1280
+ {
1281
+ "fieldPath": "i18n.fields.summary",
1282
+ "sourceId": "src/command-content.mjs"
1283
+ },
1284
+ {
1285
+ "fieldPath": "i18n.fields.summary",
1286
+ "sourceId": "README.md"
1287
+ },
1288
+ {
1289
+ "fieldPath": "i18n.fields.description",
1290
+ "sourceId": "src/command-content.mjs"
1291
+ },
1292
+ {
1293
+ "fieldPath": "i18n.fields.description",
1294
+ "sourceId": "README.md"
1295
+ },
1296
+ {
1297
+ "fieldPath": "defaultRule",
1298
+ "sourceId": "src/index.mjs"
1299
+ },
1300
+ {
1301
+ "fieldPath": "defaultRule",
1302
+ "sourceId": "src/config-compatibility.mjs"
1303
+ },
1304
+ {
1305
+ "fieldPath": "defaultRule",
1306
+ "sourceId": "src/schemas/cssdoc-config-1.0.0.schema.json"
1307
+ },
1308
+ {
1309
+ "fieldPath": "defaultRule",
1310
+ "sourceId": "src/schemas/cssdoc-config-0.1.0-draft.schema.json"
1311
+ }
1312
+ ]
1313
+ },
1314
+ {
1315
+ "id": "version",
1316
+ "kind": "option",
1317
+ "name": "version",
1318
+ "short": "v",
1319
+ "valueType": "boolean",
1320
+ "required": false,
1321
+ "multiple": false,
1322
+ "defaultRule": {
1323
+ "kind": "not-applicable"
1324
+ },
1325
+ "i18n": {
1326
+ "enabled": true,
1327
+ "model": "hia-text-i18n",
1328
+ "modelVersion": "1.0.0",
1329
+ "defaultLocale": "zh-CN",
1330
+ "locales": [
1331
+ "zh-CN",
1332
+ "en"
1333
+ ],
1334
+ "fields": {
1335
+ "summary": {
1336
+ "fieldPath": "summary",
1337
+ "kind": "text",
1338
+ "defaultLocale": "zh-CN",
1339
+ "localizedText": {
1340
+ "zh-CN": "输出运行器版本并退出0。",
1341
+ "en": "Print runner version and exit 0."
1342
+ }
1343
+ },
1344
+ "description": {
1345
+ "fieldPath": "description",
1346
+ "kind": "text",
1347
+ "defaultLocale": "zh-CN",
1348
+ "localizedText": {
1349
+ "zh-CN": "输出运行器版本并退出0。",
1350
+ "en": "Print runner version and exit 0."
1351
+ }
1352
+ }
1353
+ }
1354
+ },
1355
+ "evidence": [
1356
+ {
1357
+ "fieldPath": "name",
1358
+ "sourceId": "src/cli.mjs",
1359
+ "range": {
1360
+ "start": {
1361
+ "line": 21
1362
+ },
1363
+ "end": {
1364
+ "line": 21
1365
+ }
1366
+ },
1367
+ "rangeConvention": {
1368
+ "endBoundary": "unknown",
1369
+ "columnUnit": "unknown"
1370
+ }
1371
+ },
1372
+ {
1373
+ "fieldPath": "kind",
1374
+ "sourceId": "src/command-content.mjs"
1375
+ },
1376
+ {
1377
+ "fieldPath": "kind",
1378
+ "sourceId": "src/cli.mjs"
1379
+ },
1380
+ {
1381
+ "fieldPath": "name",
1382
+ "sourceId": "src/command-content.mjs"
1383
+ },
1384
+ {
1385
+ "fieldPath": "name",
1386
+ "sourceId": "src/cli.mjs"
1387
+ },
1388
+ {
1389
+ "fieldPath": "short",
1390
+ "sourceId": "src/command-content.mjs"
1391
+ },
1392
+ {
1393
+ "fieldPath": "short",
1394
+ "sourceId": "src/cli.mjs"
1395
+ },
1396
+ {
1397
+ "fieldPath": "valueType",
1398
+ "sourceId": "src/command-content.mjs"
1399
+ },
1400
+ {
1401
+ "fieldPath": "valueType",
1402
+ "sourceId": "src/cli.mjs"
1403
+ },
1404
+ {
1405
+ "fieldPath": "required",
1406
+ "sourceId": "src/command-content.mjs"
1407
+ },
1408
+ {
1409
+ "fieldPath": "required",
1410
+ "sourceId": "src/cli.mjs"
1411
+ },
1412
+ {
1413
+ "fieldPath": "multiple",
1414
+ "sourceId": "src/command-content.mjs"
1415
+ },
1416
+ {
1417
+ "fieldPath": "multiple",
1418
+ "sourceId": "src/cli.mjs"
1419
+ },
1420
+ {
1421
+ "fieldPath": "defaultRule",
1422
+ "sourceId": "src/command-content.mjs"
1423
+ },
1424
+ {
1425
+ "fieldPath": "defaultRule",
1426
+ "sourceId": "src/cli.mjs"
1427
+ },
1428
+ {
1429
+ "fieldPath": "i18n.fields.summary",
1430
+ "sourceId": "src/command-content.mjs"
1431
+ },
1432
+ {
1433
+ "fieldPath": "i18n.fields.summary",
1434
+ "sourceId": "README.md"
1435
+ },
1436
+ {
1437
+ "fieldPath": "i18n.fields.description",
1438
+ "sourceId": "src/command-content.mjs"
1439
+ },
1440
+ {
1441
+ "fieldPath": "i18n.fields.description",
1442
+ "sourceId": "README.md"
1443
+ },
1444
+ {
1445
+ "fieldPath": "defaultRule",
1446
+ "sourceId": "src/index.mjs"
1447
+ },
1448
+ {
1449
+ "fieldPath": "defaultRule",
1450
+ "sourceId": "src/config-compatibility.mjs"
1451
+ },
1452
+ {
1453
+ "fieldPath": "defaultRule",
1454
+ "sourceId": "src/schemas/cssdoc-config-1.0.0.schema.json"
1455
+ },
1456
+ {
1457
+ "fieldPath": "defaultRule",
1458
+ "sourceId": "src/schemas/cssdoc-config-0.1.0-draft.schema.json"
1459
+ }
1460
+ ]
1461
+ }
1462
+ ],
1463
+ "positionals": [
1464
+ {
1465
+ "id": "positionals",
1466
+ "kind": "positional",
1467
+ "name": "positionals",
1468
+ "valueType": "string",
1469
+ "required": false,
1470
+ "multiple": true,
1471
+ "defaultRule": {
1472
+ "kind": "not-applicable"
1473
+ },
1474
+ "i18n": {
1475
+ "enabled": true,
1476
+ "model": "hia-text-i18n",
1477
+ "modelVersion": "1.0.0",
1478
+ "defaultLocale": "zh-CN",
1479
+ "locales": [
1480
+ "zh-CN",
1481
+ "en"
1482
+ ],
1483
+ "fields": {
1484
+ "summary": {
1485
+ "fieldPath": "summary",
1486
+ "kind": "text",
1487
+ "defaultLocale": "zh-CN",
1488
+ "localizedText": {
1489
+ "zh-CN": "直接模式至少一个相对工作区的输入;配置模式忽略。",
1490
+ "en": "Direct mode requires at least one workspace-relative input; config mode ignores positional inputs."
1491
+ }
1492
+ },
1493
+ "description": {
1494
+ "fieldPath": "description",
1495
+ "kind": "text",
1496
+ "defaultLocale": "zh-CN",
1497
+ "localizedText": {
1498
+ "zh-CN": "直接模式至少一个相对工作区的输入;配置模式忽略。",
1499
+ "en": "Direct mode requires at least one workspace-relative input; config mode ignores positional inputs."
1500
+ }
1501
+ },
1502
+ "metavar": {
1503
+ "fieldPath": "metavar",
1504
+ "kind": "text",
1505
+ "defaultLocale": "zh-CN",
1506
+ "localizedText": {
1507
+ "zh-CN": "input...",
1508
+ "en": "input..."
1509
+ }
1510
+ }
1511
+ }
1512
+ },
1513
+ "evidence": [
1514
+ {
1515
+ "fieldPath": "name",
1516
+ "sourceId": "src/cli.mjs",
1517
+ "range": {
1518
+ "start": {
1519
+ "line": 21
1520
+ },
1521
+ "end": {
1522
+ "line": 21
1523
+ }
1524
+ },
1525
+ "rangeConvention": {
1526
+ "endBoundary": "unknown",
1527
+ "columnUnit": "unknown"
1528
+ }
1529
+ },
1530
+ {
1531
+ "fieldPath": "kind",
1532
+ "sourceId": "src/command-content.mjs"
1533
+ },
1534
+ {
1535
+ "fieldPath": "kind",
1536
+ "sourceId": "src/cli.mjs"
1537
+ },
1538
+ {
1539
+ "fieldPath": "name",
1540
+ "sourceId": "src/command-content.mjs"
1541
+ },
1542
+ {
1543
+ "fieldPath": "name",
1544
+ "sourceId": "src/cli.mjs"
1545
+ },
1546
+ {
1547
+ "fieldPath": "valueType",
1548
+ "sourceId": "src/command-content.mjs"
1549
+ },
1550
+ {
1551
+ "fieldPath": "valueType",
1552
+ "sourceId": "src/cli.mjs"
1553
+ },
1554
+ {
1555
+ "fieldPath": "required",
1556
+ "sourceId": "src/command-content.mjs"
1557
+ },
1558
+ {
1559
+ "fieldPath": "required",
1560
+ "sourceId": "src/cli.mjs"
1561
+ },
1562
+ {
1563
+ "fieldPath": "multiple",
1564
+ "sourceId": "src/command-content.mjs"
1565
+ },
1566
+ {
1567
+ "fieldPath": "multiple",
1568
+ "sourceId": "src/cli.mjs"
1569
+ },
1570
+ {
1571
+ "fieldPath": "defaultRule",
1572
+ "sourceId": "src/command-content.mjs"
1573
+ },
1574
+ {
1575
+ "fieldPath": "defaultRule",
1576
+ "sourceId": "src/cli.mjs"
1577
+ },
1578
+ {
1579
+ "fieldPath": "i18n.fields.summary",
1580
+ "sourceId": "src/command-content.mjs"
1581
+ },
1582
+ {
1583
+ "fieldPath": "i18n.fields.summary",
1584
+ "sourceId": "README.md"
1585
+ },
1586
+ {
1587
+ "fieldPath": "i18n.fields.description",
1588
+ "sourceId": "src/command-content.mjs"
1589
+ },
1590
+ {
1591
+ "fieldPath": "i18n.fields.description",
1592
+ "sourceId": "README.md"
1593
+ },
1594
+ {
1595
+ "fieldPath": "i18n.fields.metavar",
1596
+ "sourceId": "src/command-content.mjs"
1597
+ },
1598
+ {
1599
+ "fieldPath": "i18n.fields.metavar",
1600
+ "sourceId": "README.md"
1601
+ },
1602
+ {
1603
+ "fieldPath": "defaultRule",
1604
+ "sourceId": "src/index.mjs"
1605
+ },
1606
+ {
1607
+ "fieldPath": "defaultRule",
1608
+ "sourceId": "src/config-compatibility.mjs"
1609
+ },
1610
+ {
1611
+ "fieldPath": "defaultRule",
1612
+ "sourceId": "src/schemas/cssdoc-config-1.0.0.schema.json"
1613
+ },
1614
+ {
1615
+ "fieldPath": "defaultRule",
1616
+ "sourceId": "src/schemas/cssdoc-config-0.1.0-draft.schema.json"
1617
+ }
1618
+ ]
1619
+ }
1620
+ ],
1621
+ "examples": [
1622
+ "cssdoc --config cssdoc.config.json"
1623
+ ],
1624
+ "effects": {
1625
+ "filesystem": "read-write",
1626
+ "network": "none"
1627
+ },
1628
+ "exitCodes": [
1629
+ {
1630
+ "code": 0,
1631
+ "i18n": {
1632
+ "enabled": true,
1633
+ "model": "hia-text-i18n",
1634
+ "modelVersion": "1.0.0",
1635
+ "defaultLocale": "zh-CN",
1636
+ "locales": [
1637
+ "zh-CN",
1638
+ "en"
1639
+ ],
1640
+ "fields": {
1641
+ "summary": {
1642
+ "fieldPath": "summary",
1643
+ "kind": "text",
1644
+ "defaultLocale": "zh-CN",
1645
+ "localizedText": {
1646
+ "zh-CN": "成功、帮助或版本",
1647
+ "en": "Success, help or version"
1648
+ }
1649
+ },
1650
+ "description": {
1651
+ "fieldPath": "description",
1652
+ "kind": "text",
1653
+ "defaultLocale": "zh-CN",
1654
+ "localizedText": {
1655
+ "zh-CN": "成功、帮助或版本",
1656
+ "en": "Success, help or version"
1657
+ }
1658
+ }
1659
+ }
1660
+ }
1661
+ },
1662
+ {
1663
+ "code": 1,
1664
+ "i18n": {
1665
+ "enabled": true,
1666
+ "model": "hia-text-i18n",
1667
+ "modelVersion": "1.0.0",
1668
+ "defaultLocale": "zh-CN",
1669
+ "locales": [
1670
+ "zh-CN",
1671
+ "en"
1672
+ ],
1673
+ "fields": {
1674
+ "summary": {
1675
+ "fieldPath": "summary",
1676
+ "kind": "text",
1677
+ "defaultLocale": "zh-CN",
1678
+ "localizedText": {
1679
+ "zh-CN": "参数、配置或构建失败",
1680
+ "en": "Argument, configuration or build failure"
1681
+ }
1682
+ },
1683
+ "description": {
1684
+ "fieldPath": "description",
1685
+ "kind": "text",
1686
+ "defaultLocale": "zh-CN",
1687
+ "localizedText": {
1688
+ "zh-CN": "参数、配置、partial或failed构建",
1689
+ "en": "Argument/configuration errors or partial/failed builds"
1690
+ }
1691
+ }
1692
+ }
1693
+ }
1694
+ }
1695
+ ],
1696
+ "evidence": [
1697
+ {
1698
+ "fieldPath": "signature",
1699
+ "sourceId": "src/cli.mjs",
1700
+ "range": {
1701
+ "start": {
1702
+ "line": 21
1703
+ },
1704
+ "end": {
1705
+ "line": 21
1706
+ }
1707
+ },
1708
+ "rangeConvention": {
1709
+ "endBoundary": "unknown",
1710
+ "columnUnit": "unknown"
1711
+ }
1712
+ },
1713
+ {
1714
+ "fieldPath": "executable",
1715
+ "sourceId": "src/command-content.mjs"
1716
+ },
1717
+ {
1718
+ "fieldPath": "executable",
1719
+ "sourceId": "src/cli.mjs"
1720
+ },
1721
+ {
1722
+ "fieldPath": "path",
1723
+ "sourceId": "src/command-content.mjs"
1724
+ },
1725
+ {
1726
+ "fieldPath": "path",
1727
+ "sourceId": "src/cli.mjs"
1728
+ },
1729
+ {
1730
+ "fieldPath": "kind",
1731
+ "sourceId": "src/command-content.mjs"
1732
+ },
1733
+ {
1734
+ "fieldPath": "kind",
1735
+ "sourceId": "src/cli.mjs"
1736
+ },
1737
+ {
1738
+ "fieldPath": "signature",
1739
+ "sourceId": "src/command-content.mjs"
1740
+ },
1741
+ {
1742
+ "fieldPath": "signature",
1743
+ "sourceId": "src/cli.mjs"
1744
+ },
1745
+ {
1746
+ "fieldPath": "displayVersion",
1747
+ "sourceId": "src/command-content.mjs"
1748
+ },
1749
+ {
1750
+ "fieldPath": "displayVersion",
1751
+ "sourceId": "src/cli.mjs"
1752
+ },
1753
+ {
1754
+ "fieldPath": "parsing",
1755
+ "sourceId": "src/command-content.mjs"
1756
+ },
1757
+ {
1758
+ "fieldPath": "parsing",
1759
+ "sourceId": "src/cli.mjs"
1760
+ },
1761
+ {
1762
+ "fieldPath": "examples",
1763
+ "sourceId": "src/command-content.mjs"
1764
+ },
1765
+ {
1766
+ "fieldPath": "examples",
1767
+ "sourceId": "src/cli.mjs"
1768
+ },
1769
+ {
1770
+ "fieldPath": "effects",
1771
+ "sourceId": "src/command-content.mjs"
1772
+ },
1773
+ {
1774
+ "fieldPath": "effects",
1775
+ "sourceId": "src/cli.mjs"
1776
+ },
1777
+ {
1778
+ "fieldPath": "exitCodes",
1779
+ "sourceId": "src/command-content.mjs"
1780
+ },
1781
+ {
1782
+ "fieldPath": "exitCodes",
1783
+ "sourceId": "src/cli.mjs"
1784
+ },
1785
+ {
1786
+ "fieldPath": "i18n.fields.summary",
1787
+ "sourceId": "src/command-content.mjs"
1788
+ },
1789
+ {
1790
+ "fieldPath": "i18n.fields.summary",
1791
+ "sourceId": "README.md"
1792
+ },
1793
+ {
1794
+ "fieldPath": "i18n.fields.description",
1795
+ "sourceId": "src/command-content.mjs"
1796
+ },
1797
+ {
1798
+ "fieldPath": "i18n.fields.description",
1799
+ "sourceId": "README.md"
1800
+ },
1801
+ {
1802
+ "fieldPath": "i18n.fields.configUsage",
1803
+ "sourceId": "src/command-content.mjs"
1804
+ },
1805
+ {
1806
+ "fieldPath": "i18n.fields.configUsage",
1807
+ "sourceId": "README.md"
1808
+ },
1809
+ {
1810
+ "fieldPath": "i18n.fields.configOverrides",
1811
+ "sourceId": "src/command-content.mjs"
1812
+ },
1813
+ {
1814
+ "fieldPath": "i18n.fields.configOverrides",
1815
+ "sourceId": "README.md"
1816
+ },
1817
+ {
1818
+ "fieldPath": "i18n.fields.directOnly",
1819
+ "sourceId": "src/command-content.mjs"
1820
+ },
1821
+ {
1822
+ "fieldPath": "i18n.fields.directOnly",
1823
+ "sourceId": "README.md"
1824
+ },
1825
+ {
1826
+ "fieldPath": "i18n.fields.paths",
1827
+ "sourceId": "src/command-content.mjs"
1828
+ },
1829
+ {
1830
+ "fieldPath": "i18n.fields.paths",
1831
+ "sourceId": "README.md"
1832
+ },
1833
+ {
1834
+ "fieldPath": "i18n.fields.writes",
1835
+ "sourceId": "src/command-content.mjs"
1836
+ },
1837
+ {
1838
+ "fieldPath": "i18n.fields.writes",
1839
+ "sourceId": "README.md"
1840
+ },
1841
+ {
1842
+ "fieldPath": "i18n.fields.parsing",
1843
+ "sourceId": "src/command-content.mjs"
1844
+ },
1845
+ {
1846
+ "fieldPath": "i18n.fields.parsing",
1847
+ "sourceId": "README.md"
1848
+ },
1849
+ {
1850
+ "fieldPath": "i18n.fields.offline",
1851
+ "sourceId": "src/command-content.mjs"
1852
+ },
1853
+ {
1854
+ "fieldPath": "i18n.fields.offline",
1855
+ "sourceId": "README.md"
1856
+ }
1857
+ ]
1858
+ }
1859
+ ]
1860
+ }