@newpeak/barista-cli 0.1.131 → 0.1.133

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (34) hide show
  1. package/README.md +78 -63
  2. package/dist/commands/liberica/issue/close.d.ts +3 -0
  3. package/dist/commands/liberica/issue/close.d.ts.map +1 -0
  4. package/dist/commands/liberica/issue/close.js +87 -0
  5. package/dist/commands/liberica/issue/close.js.map +1 -0
  6. package/dist/commands/liberica/issue/index.d.ts.map +1 -1
  7. package/dist/commands/liberica/issue/index.js +4 -0
  8. package/dist/commands/liberica/issue/index.js.map +1 -1
  9. package/dist/commands/liberica/issue/reopen.d.ts +3 -0
  10. package/dist/commands/liberica/issue/reopen.d.ts.map +1 -0
  11. package/dist/commands/liberica/issue/reopen.js +87 -0
  12. package/dist/commands/liberica/issue/reopen.js.map +1 -0
  13. package/dist/commands/skills/index.d.ts +3 -0
  14. package/dist/commands/skills/index.d.ts.map +1 -0
  15. package/dist/commands/skills/index.js +252 -0
  16. package/dist/commands/skills/index.js.map +1 -0
  17. package/dist/core/api/client.d.ts +9 -1
  18. package/dist/core/api/client.d.ts.map +1 -1
  19. package/dist/core/api/client.js +58 -0
  20. package/dist/core/api/client.js.map +1 -1
  21. package/dist/index.js +2 -0
  22. package/dist/index.js.map +1 -1
  23. package/dist/skills/barista-cli/scripts/generate.d.ts +12 -0
  24. package/dist/skills/barista-cli/scripts/generate.d.ts.map +1 -0
  25. package/dist/skills/barista-cli/scripts/generate.js +312 -0
  26. package/dist/skills/barista-cli/scripts/generate.js.map +1 -0
  27. package/dist/types/issue-report.d.ts +74 -0
  28. package/dist/types/issue-report.d.ts.map +1 -1
  29. package/package.json +4 -2
  30. package/skills/barista-cli/SKILL.md +193 -0
  31. package/skills/barista-cli/data/commands.json +2470 -0
  32. package/skills/barista-cli/data/commands.yaml +1593 -0
  33. package/skills/barista-cli/scripts/search.py +194 -0
  34. package/skills/barista-cli/skill.json +17 -0
@@ -0,0 +1,2470 @@
1
+ {
2
+ "_metadata": {
3
+ "generatedAt": "2026-05-06T09:00:41.074Z",
4
+ "source": "src/commands/",
5
+ "generator": "src/skills/barista-cli/scripts/generate.ts"
6
+ },
7
+ "global": {
8
+ "auth": {
9
+ "group": "全局",
10
+ "description": "Manage authentication tokens",
11
+ "commands": {
12
+ "login": {
13
+ "description": "Login with token"
14
+ },
15
+ "status": {
16
+ "description": "Check authentication status"
17
+ },
18
+ "logout": {
19
+ "description": "Logout and clear token"
20
+ }
21
+ }
22
+ },
23
+ "context": {
24
+ "group": "全局",
25
+ "description": "Manage CLI context (environment, service, tenant)",
26
+ "commands": {
27
+ "show": {
28
+ "description": "Show current context"
29
+ },
30
+ "use-env": {
31
+ "description": "Switch environment (dev|test|prod-cn|prod-jp)"
32
+ },
33
+ "use-tenant": {
34
+ "description": "Switch tenant"
35
+ }
36
+ }
37
+ },
38
+ "skills": {
39
+ "group": "全局",
40
+ "description": "Manage Barista CLI AI skills",
41
+ "commands": {
42
+ "install": {
43
+ "description": "Install barista-cli skill for your AI assistant"
44
+ },
45
+ "query": {
46
+ "description": "Search for barista commands by intent"
47
+ }
48
+ }
49
+ }
50
+ },
51
+ "liberica": {
52
+ "calendar": {
53
+ "group": "基础资料",
54
+ "description": "Manage calendar (workdays, holidays)",
55
+ "commands": {
56
+ "list": {
57
+ "description": "List calendar entries (workdays, holidays)",
58
+ "json": true
59
+ },
60
+ "set": {
61
+ "description": "Set calendar date type",
62
+ "json": true,
63
+ "dry-run": true
64
+ }
65
+ }
66
+ },
67
+ "clients": {
68
+ "group": "基础资料",
69
+ "description": "Manage clients",
70
+ "commands": {
71
+ "create": {
72
+ "description": "Create a new client (auto-generates client code if not provided)",
73
+ "json": true,
74
+ "dry-run": true
75
+ },
76
+ "delete": {
77
+ "description": "Delete a client",
78
+ "json": true,
79
+ "dry-run": true,
80
+ "force": true
81
+ },
82
+ "get": {
83
+ "description": "Get client details by ID",
84
+ "json": true
85
+ },
86
+ "list": {
87
+ "description": "List clients with pagination",
88
+ "json": true
89
+ },
90
+ "update": {
91
+ "description": "Update a client",
92
+ "json": true
93
+ }
94
+ }
95
+ },
96
+ "clients/invoice-header": {
97
+ "group": "基础资料",
98
+ "description": "Manage client invoice headers",
99
+ "commands": {
100
+ "create": {
101
+ "description": "Create a client invoice header",
102
+ "json": true,
103
+ "dry-run": true
104
+ },
105
+ "delete": {
106
+ "description": "Delete a client invoice header",
107
+ "json": true
108
+ },
109
+ "list": {
110
+ "description": "List client invoice headers with pagination",
111
+ "json": true
112
+ },
113
+ "update": {
114
+ "description": "Update a client invoice header",
115
+ "json": true,
116
+ "dry-run": true
117
+ }
118
+ }
119
+ },
120
+ "clients/tags": {
121
+ "group": "基础资料",
122
+ "description": "Manage client tags",
123
+ "commands": {
124
+ "create": {
125
+ "description": "Create a client tag",
126
+ "json": true,
127
+ "dry-run": true
128
+ },
129
+ "delete": {
130
+ "description": "Delete a client tag",
131
+ "json": true
132
+ },
133
+ "list": {
134
+ "description": "List client tags with pagination",
135
+ "json": true
136
+ }
137
+ }
138
+ },
139
+ "currency": {
140
+ "group": "基础资料",
141
+ "description": "Manage currencies",
142
+ "commands": {
143
+ "create": {
144
+ "json": true,
145
+ "dry-run": true
146
+ },
147
+ "delete": {
148
+ "description": "Delete a currency",
149
+ "json": true,
150
+ "dry-run": true,
151
+ "force": true
152
+ },
153
+ "disable": {
154
+ "description": "Disable (deactivate) a currency",
155
+ "json": true,
156
+ "dry-run": true,
157
+ "force": true
158
+ },
159
+ "enable": {
160
+ "description": "Enable (activate) a currency",
161
+ "json": true
162
+ },
163
+ "get": {
164
+ "description": "Get currency details by ID",
165
+ "json": true
166
+ },
167
+ "list": {
168
+ "description": "List currencies with pagination",
169
+ "json": true
170
+ },
171
+ "update": {
172
+ "description": "Update currency information",
173
+ "json": true,
174
+ "dry-run": true
175
+ }
176
+ }
177
+ },
178
+ "dict-types": {
179
+ "group": "基础资料",
180
+ "displayName": "字典类型",
181
+ "description": "Manage dictionary types",
182
+ "commands": {
183
+ "get": {
184
+ "description": "Get dictionary type details by ID",
185
+ "json": true
186
+ },
187
+ "list": {
188
+ "description": "List dictionary types with pagination",
189
+ "json": true
190
+ },
191
+ "tenant-items": {
192
+ "description": "List all tenant-customizable dictionary types with their items",
193
+ "json": true
194
+ },
195
+ "update": {
196
+ "description": "Update dictionary type",
197
+ "json": true,
198
+ "dry-run": true
199
+ }
200
+ }
201
+ },
202
+ "dicts": {
203
+ "group": "基础资料",
204
+ "description": "Manage dictionary items",
205
+ "commands": {
206
+ "create": {
207
+ "description": "Create a new dictionary item",
208
+ "json": true,
209
+ "dry-run": true
210
+ },
211
+ "delete": {
212
+ "description": "Delete a dictionary item",
213
+ "json": true,
214
+ "dry-run": true,
215
+ "force": true
216
+ },
217
+ "get": {
218
+ "description": "Get dictionary item details by ID",
219
+ "json": true
220
+ },
221
+ "list": {
222
+ "description": "List dictionary items by type",
223
+ "json": true
224
+ },
225
+ "update": {
226
+ "description": "Update dictionary item",
227
+ "json": true
228
+ }
229
+ }
230
+ },
231
+ "employees": {
232
+ "group": "基础资料",
233
+ "description": "Manage employees",
234
+ "commands": {
235
+ "create": {
236
+ "description": "Create a new employee",
237
+ "json": true,
238
+ "dry-run": true
239
+ },
240
+ "delete": {
241
+ "description": "Delete an employee",
242
+ "json": true,
243
+ "dry-run": true,
244
+ "force": true
245
+ },
246
+ "disable": {
247
+ "description": "Disable (deactivate) an employee account",
248
+ "dry-run": true,
249
+ "force": true
250
+ },
251
+ "enable": {
252
+ "description": "Enable (activate) an employee account",
253
+ "dry-run": true,
254
+ "force": true
255
+ },
256
+ "get": {
257
+ "description": "Get employee details by ID or code",
258
+ "json": true
259
+ },
260
+ "list": {
261
+ "description": "List employees with pagination",
262
+ "json": true
263
+ },
264
+ "update": {
265
+ "description": "Update employee information",
266
+ "json": true,
267
+ "dry-run": true
268
+ }
269
+ }
270
+ },
271
+ "equipment": {
272
+ "group": "基础资料",
273
+ "description": "Manage equipment",
274
+ "commands": {
275
+ "create": {
276
+ "description": "Create new equipment",
277
+ "json": true,
278
+ "dry-run": true
279
+ },
280
+ "delete": {
281
+ "description": "Delete equipment",
282
+ "json": true,
283
+ "dry-run": true,
284
+ "force": true
285
+ },
286
+ "get": {
287
+ "description": "Get equipment details by ID",
288
+ "json": true
289
+ },
290
+ "list": {
291
+ "description": "List equipment with pagination",
292
+ "json": true
293
+ },
294
+ "update": {
295
+ "description": "Update equipment information",
296
+ "json": true,
297
+ "dry-run": true
298
+ }
299
+ }
300
+ },
301
+ "job-types": {
302
+ "group": "基础资料",
303
+ "displayName": "工种",
304
+ "description": "Manage job types (dictionary-based)",
305
+ "commands": {
306
+ "create": {
307
+ "description": "Create a new job type (dictionary entry)",
308
+ "json": true,
309
+ "dry-run": true
310
+ },
311
+ "delete": {
312
+ "description": "Delete a job type (dictionary entry)",
313
+ "json": true,
314
+ "dry-run": true,
315
+ "force": true
316
+ },
317
+ "get": {
318
+ "description": "Get job type details by ID",
319
+ "json": true
320
+ },
321
+ "list": {
322
+ "description": "List job types (dictionary entries)",
323
+ "json": true
324
+ },
325
+ "update": {
326
+ "description": "Update a job type (dictionary entry)",
327
+ "json": true,
328
+ "dry-run": true
329
+ }
330
+ }
331
+ },
332
+ "materials": {
333
+ "group": "基础资料",
334
+ "description": "Manage materials",
335
+ "commands": {
336
+ "create": {
337
+ "description": "Create a new material (optional --code, auto-generated if not specified)",
338
+ "json": true,
339
+ "dry-run": true
340
+ },
341
+ "delete": {
342
+ "description": "Delete a material",
343
+ "json": true,
344
+ "force": true
345
+ },
346
+ "disable": {
347
+ "description": "Disable (deactivate) a material",
348
+ "json": true,
349
+ "dry-run": true,
350
+ "force": true
351
+ },
352
+ "enable": {
353
+ "description": "Enable (activate) a material",
354
+ "json": true
355
+ },
356
+ "get": {
357
+ "description": "Get material details by ID",
358
+ "json": true
359
+ },
360
+ "list": {
361
+ "description": "List materials with pagination",
362
+ "json": true
363
+ },
364
+ "update": {
365
+ "description": "Update material information",
366
+ "json": true,
367
+ "dry-run": true
368
+ }
369
+ }
370
+ },
371
+ "mould": {
372
+ "group": "基础资料",
373
+ "description": "Manage mould entities",
374
+ "commands": {
375
+ "get": {
376
+ "description": "Get mould entity details by ID",
377
+ "json": true
378
+ },
379
+ "list": {
380
+ "description": "List mould entities with pagination",
381
+ "json": true
382
+ },
383
+ "register": {
384
+ "description": "Register new mould entity into the system",
385
+ "json": true,
386
+ "dry-run": true
387
+ },
388
+ "set-status": {
389
+ "description": "Set mould status (FINE | REPAIR | SCRAP)",
390
+ "json": true
391
+ },
392
+ "stock-in": {
393
+ "description": "Create a mould stock-in (入库单) to add mould materials to the entity list",
394
+ "json": true,
395
+ "dry-run": true
396
+ },
397
+ "stock-out": {
398
+ "description": "Create a mould stock-out (领用单) to issue mould materials",
399
+ "json": true,
400
+ "dry-run": true
401
+ }
402
+ }
403
+ },
404
+ "operations": {
405
+ "group": "基础资料",
406
+ "description": "Manage operations",
407
+ "commands": {
408
+ "active": {
409
+ "description": "Enable (activate) operation(s)",
410
+ "json": true,
411
+ "dry-run": true,
412
+ "force": true
413
+ },
414
+ "batch-delete": {
415
+ "description": "Batch delete operations",
416
+ "json": true,
417
+ "dry-run": true,
418
+ "force": true
419
+ },
420
+ "copy": {
421
+ "description": "Copy an operation",
422
+ "json": true,
423
+ "dry-run": true,
424
+ "force": true
425
+ },
426
+ "create": {
427
+ "description": "Create a new operation",
428
+ "json": true,
429
+ "dry-run": true
430
+ },
431
+ "deactive": {
432
+ "description": "Disable (deactivate) operation(s)",
433
+ "json": true,
434
+ "dry-run": true,
435
+ "force": true
436
+ },
437
+ "delete": {
438
+ "description": "Delete an operation",
439
+ "json": true,
440
+ "dry-run": true,
441
+ "force": true
442
+ },
443
+ "get": {
444
+ "description": "Get operation details by ID",
445
+ "json": true
446
+ },
447
+ "list": {
448
+ "description": "List operations with pagination",
449
+ "json": true
450
+ },
451
+ "update": {
452
+ "description": "Update operation information",
453
+ "json": true,
454
+ "dry-run": true
455
+ }
456
+ }
457
+ },
458
+ "orgs": {
459
+ "group": "基础资料",
460
+ "displayName": "组织架构",
461
+ "description": "Manage organizations (departments)",
462
+ "commands": {
463
+ "batch-delete": {
464
+ "description": "Batch delete organizations",
465
+ "json": true,
466
+ "dry-run": true
467
+ },
468
+ "create": {
469
+ "description": "Create a new organization (department)",
470
+ "json": true,
471
+ "dry-run": true
472
+ },
473
+ "disable": {
474
+ "description": "Disable (deactivate) an organization",
475
+ "json": true,
476
+ "dry-run": true,
477
+ "force": true
478
+ },
479
+ "enable": {
480
+ "description": "Enable (activate) an organization",
481
+ "json": true,
482
+ "dry-run": true,
483
+ "force": true
484
+ },
485
+ "get": {
486
+ "description": "Get organization details by ID",
487
+ "json": true
488
+ },
489
+ "list": {
490
+ "description": "List all organizations",
491
+ "json": true
492
+ },
493
+ "update": {
494
+ "description": "Update organization information",
495
+ "json": true,
496
+ "dry-run": true
497
+ }
498
+ }
499
+ },
500
+ "positions": {
501
+ "group": "基础资料",
502
+ "description": "Manage positions",
503
+ "commands": {
504
+ "create": {
505
+ "description": "Create a new position",
506
+ "json": true,
507
+ "dry-run": true
508
+ },
509
+ "list": {
510
+ "description": "List all positions",
511
+ "json": true
512
+ }
513
+ }
514
+ },
515
+ "shifts": {
516
+ "group": "基础资料",
517
+ "description": "Manage shifts",
518
+ "commands": {
519
+ "create": {
520
+ "description": "Create a new shift",
521
+ "json": true,
522
+ "dry-run": true
523
+ },
524
+ "delete": {
525
+ "description": "Delete a shift",
526
+ "json": true,
527
+ "dry-run": true,
528
+ "force": true
529
+ },
530
+ "get": {
531
+ "description": "Get shift details by ID",
532
+ "json": true
533
+ },
534
+ "list": {
535
+ "description": "List shifts with pagination",
536
+ "json": true
537
+ },
538
+ "update": {
539
+ "description": "Update shift information",
540
+ "json": true,
541
+ "dry-run": true
542
+ }
543
+ }
544
+ },
545
+ "suppliers": {
546
+ "group": "基础资料",
547
+ "description": "Manage suppliers",
548
+ "commands": {
549
+ "create": {
550
+ "description": "Create a new supplier (auto-generates supplier code)",
551
+ "json": true,
552
+ "dry-run": true
553
+ },
554
+ "delete": {
555
+ "description": "Delete a supplier",
556
+ "json": true,
557
+ "force": true
558
+ },
559
+ "disable": {
560
+ "description": "Disable (deactivate) a supplier",
561
+ "json": true,
562
+ "dry-run": true,
563
+ "force": true
564
+ },
565
+ "enable": {
566
+ "description": "Enable (activate) a supplier",
567
+ "json": true
568
+ },
569
+ "get": {
570
+ "description": "Get supplier details by ID",
571
+ "json": true
572
+ },
573
+ "list": {
574
+ "description": "List suppliers with pagination",
575
+ "json": true
576
+ },
577
+ "update": {
578
+ "description": "Update supplier information",
579
+ "json": true,
580
+ "dry-run": true
581
+ }
582
+ }
583
+ },
584
+ "uoms": {
585
+ "group": "基础资料",
586
+ "displayName": "计量单位",
587
+ "description": "Manage units of measure",
588
+ "commands": {
589
+ "create": {
590
+ "description": "Create a new UOM",
591
+ "json": true,
592
+ "dry-run": true
593
+ },
594
+ "delete": {
595
+ "description": "Delete a UOM",
596
+ "json": true,
597
+ "force": true
598
+ },
599
+ "disable": {
600
+ "description": "Disable (deactivate) a UOM",
601
+ "json": true,
602
+ "dry-run": true,
603
+ "force": true
604
+ },
605
+ "enable": {
606
+ "description": "Enable (activate) a UOM",
607
+ "json": true
608
+ },
609
+ "get": {
610
+ "description": "Get UOM details by ID",
611
+ "json": true
612
+ },
613
+ "list": {
614
+ "description": "List UOMs with pagination",
615
+ "json": true
616
+ },
617
+ "update": {
618
+ "description": "Update UOM information",
619
+ "json": true,
620
+ "dry-run": true
621
+ }
622
+ }
623
+ },
624
+ "users": {
625
+ "group": "基础资料",
626
+ "description": "Manage users",
627
+ "commands": {
628
+ "create": {
629
+ "description": "Create a new user",
630
+ "json": true,
631
+ "dry-run": true
632
+ },
633
+ "delete": {
634
+ "description": "Delete a user",
635
+ "json": true,
636
+ "dry-run": true,
637
+ "force": true
638
+ },
639
+ "disable": {
640
+ "description": "Disable a user",
641
+ "force": true
642
+ },
643
+ "enable": {
644
+ "description": "Enable a user",
645
+ "force": true
646
+ },
647
+ "get": {
648
+ "description": "Get user details",
649
+ "json": true
650
+ },
651
+ "list": {
652
+ "description": "List users with pagination",
653
+ "json": true
654
+ },
655
+ "me": {
656
+ "description": "Get current user info",
657
+ "json": true
658
+ },
659
+ "reset-password": {
660
+ "description": "Reset user password",
661
+ "force": true
662
+ },
663
+ "update": {
664
+ "description": "Update user information",
665
+ "json": true,
666
+ "dry-run": true
667
+ }
668
+ }
669
+ },
670
+ "warehouses": {
671
+ "group": "基础资料",
672
+ "description": "Manage warehouses",
673
+ "commands": {
674
+ "create": {
675
+ "description": "Create a new warehouse (auto-generates code if not provided)",
676
+ "json": true,
677
+ "dry-run": true
678
+ },
679
+ "delete": {
680
+ "description": "Delete a warehouse",
681
+ "json": true,
682
+ "dry-run": true,
683
+ "force": true
684
+ },
685
+ "disable": {
686
+ "description": "Disable (deactivate) a warehouse",
687
+ "json": true,
688
+ "dry-run": true,
689
+ "force": true
690
+ },
691
+ "enable": {
692
+ "description": "Enable (activate) a warehouse",
693
+ "json": true,
694
+ "dry-run": true,
695
+ "force": true
696
+ },
697
+ "get": {
698
+ "description": "Get warehouse details by ID",
699
+ "json": true
700
+ },
701
+ "list": {
702
+ "description": "List warehouses with pagination",
703
+ "json": true
704
+ },
705
+ "update": {
706
+ "description": "Update warehouse information",
707
+ "json": true,
708
+ "dry-run": true
709
+ }
710
+ }
711
+ },
712
+ "warehouses/locations": {
713
+ "group": "基础资料",
714
+ "description": "Manage warehouse locations",
715
+ "commands": {
716
+ "create": {
717
+ "description": "Create a new warehouse location (--warehouse-id, --code, --name are required)",
718
+ "json": true,
719
+ "dry-run": true
720
+ },
721
+ "delete": {
722
+ "description": "Delete a warehouse location",
723
+ "json": true,
724
+ "dry-run": true,
725
+ "force": true
726
+ },
727
+ "disable": {
728
+ "description": "Disable (deactivate) a warehouse location",
729
+ "json": true,
730
+ "dry-run": true,
731
+ "force": true
732
+ },
733
+ "enable": {
734
+ "description": "Enable (activate) a warehouse location",
735
+ "json": true,
736
+ "dry-run": true,
737
+ "force": true
738
+ },
739
+ "get": {
740
+ "description": "Get warehouse location details by ID",
741
+ "json": true
742
+ },
743
+ "list": {
744
+ "description": "List warehouse locations with pagination",
745
+ "json": true
746
+ },
747
+ "update": {
748
+ "description": "Update warehouse location information",
749
+ "json": true,
750
+ "dry-run": true
751
+ }
752
+ }
753
+ },
754
+ "work-centers": {
755
+ "group": "基础资料",
756
+ "displayName": "工作中心",
757
+ "description": "Manage work centers",
758
+ "commands": {
759
+ "create": {
760
+ "description": "Create a new work center",
761
+ "json": true,
762
+ "dry-run": true
763
+ },
764
+ "delete": {
765
+ "description": "Delete a work center",
766
+ "json": true,
767
+ "dry-run": true,
768
+ "force": true
769
+ },
770
+ "get": {
771
+ "description": "Get work center details by ID",
772
+ "json": true
773
+ },
774
+ "list": {
775
+ "description": "List work centers with pagination",
776
+ "json": true
777
+ },
778
+ "update": {
779
+ "description": "Update work center information",
780
+ "json": true,
781
+ "dry-run": true
782
+ }
783
+ }
784
+ },
785
+ "worker-groups": {
786
+ "group": "基础资料",
787
+ "displayName": "工人班组",
788
+ "description": "Manage worker groups",
789
+ "commands": {
790
+ "create": {
791
+ "description": "Create a new worker group",
792
+ "json": true,
793
+ "dry-run": true
794
+ },
795
+ "delete": {
796
+ "description": "Delete a worker group",
797
+ "json": true,
798
+ "dry-run": true,
799
+ "force": true
800
+ },
801
+ "get": {
802
+ "description": "Get worker group details by ID",
803
+ "json": true
804
+ },
805
+ "list": {
806
+ "description": "List worker groups with pagination",
807
+ "json": true
808
+ },
809
+ "update": {
810
+ "description": "Update worker group information",
811
+ "json": true,
812
+ "dry-run": true
813
+ }
814
+ }
815
+ },
816
+ "client-contacts": {
817
+ "group": "联系人/价格",
818
+ "displayName": "客户联系人",
819
+ "description": "Manage client contacts",
820
+ "commands": {
821
+ "create": {
822
+ "description": "Create a new client contact",
823
+ "json": true,
824
+ "dry-run": true
825
+ },
826
+ "delete": {
827
+ "description": "Delete a client contact",
828
+ "json": true,
829
+ "dry-run": true,
830
+ "force": true
831
+ },
832
+ "get": {
833
+ "description": "Get client contact details by ID",
834
+ "json": true
835
+ },
836
+ "list": {
837
+ "description": "List client contacts with pagination",
838
+ "json": true
839
+ },
840
+ "update": {
841
+ "description": "Update a client contact",
842
+ "json": true,
843
+ "dry-run": true
844
+ }
845
+ }
846
+ },
847
+ "client-price": {
848
+ "group": "联系人/价格",
849
+ "displayName": "客户价格",
850
+ "description": "Client sales price management",
851
+ "commands": {
852
+ "create": {
853
+ "description": "Create a new client price",
854
+ "json": true,
855
+ "dry-run": true
856
+ },
857
+ "delete": {
858
+ "description": "Delete a client price",
859
+ "json": true,
860
+ "force": true
861
+ },
862
+ "diff": {
863
+ "description": "Compare prices at two different dates",
864
+ "json": true
865
+ },
866
+ "disable": {
867
+ "description": "Disable one or more client prices",
868
+ "json": true
869
+ },
870
+ "enable": {
871
+ "description": "Enable one or more client prices",
872
+ "json": true
873
+ },
874
+ "expire": {
875
+ "description": "Show prices pending or expiring soon",
876
+ "json": true
877
+ },
878
+ "get": {
879
+ "description": "Get client price details",
880
+ "json": true
881
+ },
882
+ "history": {
883
+ "description": "View all prices for a client+material combination",
884
+ "json": true
885
+ },
886
+ "list": {
887
+ "description": "Query client price list (paginated)",
888
+ "json": true
889
+ },
890
+ "simulate": {
891
+ "description": "Simulate price calculation for a given quantity",
892
+ "json": true
893
+ },
894
+ "update": {
895
+ "description": "Update an existing client price",
896
+ "json": true,
897
+ "dry-run": true
898
+ }
899
+ }
900
+ },
901
+ "outsourcing-price": {
902
+ "group": "联系人/价格",
903
+ "displayName": "外协价格",
904
+ "description": "Manage outsourcing processing prices",
905
+ "commands": {
906
+ "create": {
907
+ "description": "Create a new outsourcing processing price",
908
+ "json": true,
909
+ "dry-run": true
910
+ },
911
+ "delete": {
912
+ "description": "Delete an outsourcing processing price",
913
+ "json": true
914
+ },
915
+ "list": {
916
+ "description": "List outsourcing prices with pagination",
917
+ "json": true
918
+ },
919
+ "update": {
920
+ "description": "Update an existing outsourcing processing price",
921
+ "json": true,
922
+ "dry-run": true
923
+ }
924
+ }
925
+ },
926
+ "supplier-contacts": {
927
+ "group": "联系人/价格",
928
+ "displayName": "供应商联系人",
929
+ "description": "Manage supplier contacts",
930
+ "commands": {
931
+ "create": {
932
+ "description": "Create a new supplier contact",
933
+ "json": true,
934
+ "dry-run": true
935
+ },
936
+ "delete": {
937
+ "description": "Delete a supplier contact (requires --force to actually delete)",
938
+ "json": true,
939
+ "dry-run": true,
940
+ "force": true
941
+ },
942
+ "get": {
943
+ "description": "Get supplier contact details by ID",
944
+ "json": true
945
+ },
946
+ "list": {
947
+ "description": "List supplier contacts with pagination",
948
+ "json": true
949
+ },
950
+ "update": {
951
+ "description": "Update an existing supplier contact",
952
+ "json": true,
953
+ "dry-run": true
954
+ }
955
+ }
956
+ },
957
+ "supplier-price": {
958
+ "group": "联系人/价格",
959
+ "displayName": "供应商价格",
960
+ "description": "Supplier purchase price management",
961
+ "commands": {
962
+ "create": {
963
+ "description": "Create a new supplier price",
964
+ "json": true,
965
+ "dry-run": true
966
+ },
967
+ "delete": {
968
+ "description": "Delete a supplier price",
969
+ "json": true,
970
+ "force": true
971
+ },
972
+ "diff": {
973
+ "description": "Compare prices at two different dates",
974
+ "json": true
975
+ },
976
+ "disable": {
977
+ "description": "Disable one or more supplier prices",
978
+ "json": true
979
+ },
980
+ "enable": {
981
+ "description": "Enable one or more supplier prices",
982
+ "json": true
983
+ },
984
+ "expire": {
985
+ "description": "Show prices pending or expiring soon",
986
+ "json": true
987
+ },
988
+ "get": {
989
+ "description": "Get supplier price details",
990
+ "json": true
991
+ },
992
+ "history": {
993
+ "description": "View all prices for a supplier+material combination",
994
+ "json": true
995
+ },
996
+ "list": {
997
+ "description": "Query supplier price list (paginated)",
998
+ "json": true
999
+ },
1000
+ "simulate": {
1001
+ "description": "Simulate price calculation for a given quantity",
1002
+ "json": true
1003
+ },
1004
+ "update": {
1005
+ "description": "Update an existing supplier price",
1006
+ "json": true,
1007
+ "dry-run": true
1008
+ }
1009
+ }
1010
+ },
1011
+ "outsourcing-orders": {
1012
+ "group": "供应链",
1013
+ "displayName": "外协订单",
1014
+ "description": "Manage outsourcing orders",
1015
+ "commands": {
1016
+ "create": {
1017
+ "description": "Create a new outsourcing order",
1018
+ "json": true,
1019
+ "dry-run": true
1020
+ },
1021
+ "history": {
1022
+ "description": "Get outsourcing order change history",
1023
+ "json": true
1024
+ },
1025
+ "list": {
1026
+ "description": "List outsourcing orders with pagination",
1027
+ "json": true
1028
+ },
1029
+ "stock-in-create": {
1030
+ "description": "Create an outsourcing stock-in record",
1031
+ "json": true,
1032
+ "dry-run": true
1033
+ }
1034
+ }
1035
+ },
1036
+ "purchase-orders": {
1037
+ "group": "供应链",
1038
+ "displayName": "采购订单",
1039
+ "description": "Manage purchase orders",
1040
+ "commands": {
1041
+ "create": {
1042
+ "description": "Create a new purchase order",
1043
+ "json": true,
1044
+ "dry-run": true
1045
+ },
1046
+ "delete": {
1047
+ "description": "Delete purchase orders (batch)",
1048
+ "json": true,
1049
+ "force": true
1050
+ },
1051
+ "get": {
1052
+ "description": "Get purchase order detail",
1053
+ "json": true
1054
+ },
1055
+ "list": {
1056
+ "description": "List purchase orders with pagination",
1057
+ "json": true
1058
+ },
1059
+ "stock-in-create": {
1060
+ "description": "Create a purchase stock-in based on purchase order(s). First calls fillOrderInfo with --purchase-code, then creates the stock-in.",
1061
+ "json": true,
1062
+ "dry-run": true
1063
+ },
1064
+ "stock-in-list": {
1065
+ "description": "List purchase stock-in records with pagination",
1066
+ "json": true
1067
+ },
1068
+ "track": {
1069
+ "description": "Track purchase orders and view delivery status",
1070
+ "json": true
1071
+ },
1072
+ "update": {
1073
+ "description": "Update a purchase order",
1074
+ "json": true,
1075
+ "dry-run": true
1076
+ }
1077
+ }
1078
+ },
1079
+ "quotations": {
1080
+ "group": "供应链",
1081
+ "displayName": "报价管理",
1082
+ "description": "Manage quotations",
1083
+ "commands": {
1084
+ "create": {
1085
+ "description": "Create a new quotation",
1086
+ "json": true,
1087
+ "dry-run": true
1088
+ },
1089
+ "delete": {
1090
+ "description": "Delete a quotation",
1091
+ "json": true,
1092
+ "dry-run": true,
1093
+ "force": true
1094
+ },
1095
+ "get": {
1096
+ "description": "Get quotation details by ID",
1097
+ "json": true
1098
+ },
1099
+ "list": {
1100
+ "description": "List quotations with pagination",
1101
+ "json": true
1102
+ },
1103
+ "update": {
1104
+ "description": "Update a quotation",
1105
+ "json": true
1106
+ }
1107
+ }
1108
+ },
1109
+ "sales-orders": {
1110
+ "group": "供应链",
1111
+ "displayName": "销售订单",
1112
+ "description": "Manage sales orders",
1113
+ "commands": {
1114
+ "batch-close": {
1115
+ "description": "Batch close sales orders",
1116
+ "json": true,
1117
+ "force": true
1118
+ },
1119
+ "batch-reopen": {
1120
+ "description": "Batch reopen sales orders",
1121
+ "json": true,
1122
+ "force": true
1123
+ },
1124
+ "batch-review": {
1125
+ "description": "Batch review (or unreview) sales orders",
1126
+ "json": true,
1127
+ "force": true
1128
+ },
1129
+ "create-workorder": {
1130
+ "description": "Create a work order from a sales order",
1131
+ "json": true,
1132
+ "dry-run": true
1133
+ },
1134
+ "create": {
1135
+ "description": "Create a sales order (via draft)",
1136
+ "json": true,
1137
+ "dry-run": true
1138
+ },
1139
+ "delete": {
1140
+ "description": "Delete a sales order",
1141
+ "json": true,
1142
+ "force": true
1143
+ },
1144
+ "get": {
1145
+ "description": "Get sales order detail (draft by default, use --submitted for order)",
1146
+ "json": true
1147
+ },
1148
+ "list": {
1149
+ "description": "List sales orders (drafts by default, use --submitted for orders)",
1150
+ "json": true
1151
+ },
1152
+ "submit": {
1153
+ "description": "Submit sales order drafts to become real orders",
1154
+ "json": true,
1155
+ "force": true
1156
+ },
1157
+ "update": {
1158
+ "description": "Update a sales order",
1159
+ "json": true,
1160
+ "dry-run": true
1161
+ }
1162
+ }
1163
+ },
1164
+ "sales-orders/delivery-notes": {
1165
+ "group": "供应链",
1166
+ "description": "Manage delivery notes for sales orders",
1167
+ "commands": {
1168
+ "create": {
1169
+ "description": "Create a delivery note for a sales order",
1170
+ "json": true,
1171
+ "dry-run": true
1172
+ }
1173
+ }
1174
+ },
1175
+ "sales-orders/forecasts": {
1176
+ "group": "供应链",
1177
+ "description": "Manage sales forecasts",
1178
+ "commands": {
1179
+ "create": {
1180
+ "description": "Create a sales forecast",
1181
+ "json": true,
1182
+ "dry-run": true
1183
+ },
1184
+ "list": {
1185
+ "description": "List sales forecasts with pagination",
1186
+ "json": true
1187
+ }
1188
+ }
1189
+ },
1190
+ "inventory-overage": {
1191
+ "group": "库存",
1192
+ "displayName": "盘盈",
1193
+ "description": "Manage inventory overage forms (盘盈单)",
1194
+ "commands": {
1195
+ "create": {
1196
+ "description": "Create an inventory overage form (盘盈单)",
1197
+ "json": true
1198
+ },
1199
+ "list": {
1200
+ "description": "List inventory overage forms with pagination",
1201
+ "json": true
1202
+ }
1203
+ }
1204
+ },
1205
+ "inventory-shortage": {
1206
+ "group": "库存",
1207
+ "displayName": "盘亏",
1208
+ "description": "Manage inventory shortage forms (盘亏单)",
1209
+ "commands": {
1210
+ "create": {
1211
+ "description": "Create an inventory shortage form (盘亏单)",
1212
+ "json": true
1213
+ },
1214
+ "list": {
1215
+ "description": "List inventory shortage forms with pagination",
1216
+ "json": true
1217
+ }
1218
+ }
1219
+ },
1220
+ "material-issue": {
1221
+ "group": "库存",
1222
+ "displayName": "领料",
1223
+ "description": "Manage material stock-out (material-issue) orders",
1224
+ "commands": {
1225
+ "batch-delete": {
1226
+ "description": "Batch delete material stock-out orders",
1227
+ "json": true,
1228
+ "dry-run": true,
1229
+ "force": true
1230
+ },
1231
+ "batch-review": {
1232
+ "description": "Batch review (审核) material stock-out orders",
1233
+ "json": true,
1234
+ "dry-run": true,
1235
+ "force": true
1236
+ },
1237
+ "batch-unreview": {
1238
+ "description": "Batch unreview (反审核) material stock-out orders",
1239
+ "json": true,
1240
+ "dry-run": true,
1241
+ "force": true
1242
+ },
1243
+ "create": {
1244
+ "description": "Create a material stock-out order (material issue)",
1245
+ "json": true,
1246
+ "dry-run": true
1247
+ },
1248
+ "export": {
1249
+ "description": "Export material stock-out orders as CSV",
1250
+ "json": true
1251
+ },
1252
+ "get": {
1253
+ "description": "Get material stock-out order details by ID",
1254
+ "json": true
1255
+ },
1256
+ "list": {
1257
+ "description": "List material stock-out orders with pagination",
1258
+ "json": true
1259
+ },
1260
+ "summary": {
1261
+ "description": "Get material stock-out order summary",
1262
+ "json": true
1263
+ },
1264
+ "update": {
1265
+ "description": "Update a material stock-out order",
1266
+ "json": true,
1267
+ "dry-run": true
1268
+ }
1269
+ }
1270
+ },
1271
+ "material-return": {
1272
+ "group": "库存",
1273
+ "displayName": "退料",
1274
+ "description": "Manage material return orders (退料单)",
1275
+ "commands": {
1276
+ "batch-delete": {
1277
+ "description": "Batch delete material return orders",
1278
+ "json": true,
1279
+ "dry-run": true,
1280
+ "force": true
1281
+ },
1282
+ "batch-review": {
1283
+ "description": "Batch review (审核) material return orders",
1284
+ "json": true,
1285
+ "dry-run": true,
1286
+ "force": true
1287
+ },
1288
+ "batch-unreview": {
1289
+ "description": "Batch unreview (反审核) material return orders",
1290
+ "json": true,
1291
+ "dry-run": true,
1292
+ "force": true
1293
+ },
1294
+ "create": {
1295
+ "description": "Create a material return order",
1296
+ "json": true,
1297
+ "dry-run": true
1298
+ },
1299
+ "export": {
1300
+ "description": "Export material return orders as CSV",
1301
+ "json": true
1302
+ },
1303
+ "get": {
1304
+ "description": "Get material return order details by ID",
1305
+ "json": true
1306
+ },
1307
+ "list": {
1308
+ "description": "List material return orders with pagination",
1309
+ "json": true
1310
+ },
1311
+ "summary": {
1312
+ "description": "Get material return order summary",
1313
+ "json": true
1314
+ },
1315
+ "update": {
1316
+ "description": "Update a material return order",
1317
+ "json": true,
1318
+ "dry-run": true
1319
+ }
1320
+ }
1321
+ },
1322
+ "material-transfers": {
1323
+ "group": "库存",
1324
+ "displayName": "物料移库",
1325
+ "description": "Manage material transfers",
1326
+ "commands": {
1327
+ "batch-review": {
1328
+ "description": "Batch review (审核) material transfers",
1329
+ "json": true,
1330
+ "dry-run": true,
1331
+ "force": true
1332
+ },
1333
+ "create": {
1334
+ "description": "Create a new material transfer",
1335
+ "json": true,
1336
+ "dry-run": true
1337
+ },
1338
+ "list": {
1339
+ "description": "List material transfers with pagination",
1340
+ "json": true
1341
+ }
1342
+ }
1343
+ },
1344
+ "physical-inventory": {
1345
+ "group": "库存",
1346
+ "displayName": "盘点",
1347
+ "description": "Manage physical inventory plans and forms (盘点管理)",
1348
+ "commands": {
1349
+ "create": {
1350
+ "description": "Create a physical inventory item",
1351
+ "json": true
1352
+ },
1353
+ "list": {
1354
+ "description": "List physical inventory items with pagination",
1355
+ "json": true
1356
+ }
1357
+ }
1358
+ },
1359
+ "physical-inventory/form": {
1360
+ "group": "库存",
1361
+ "displayName": "盘点表单",
1362
+ "description": "Manage physical inventory forms (盘点单)",
1363
+ "commands": {
1364
+ "create": {
1365
+ "description": "Create a physical inventory form (盘点单)",
1366
+ "json": true
1367
+ },
1368
+ "list": {
1369
+ "description": "List physical inventory forms with pagination",
1370
+ "json": true
1371
+ }
1372
+ }
1373
+ },
1374
+ "stock": {
1375
+ "group": "库存",
1376
+ "description": "Manage stock inventory and ledger",
1377
+ "commands": {
1378
+ "ledger": {
1379
+ "description": "Query stock ledger/journey (inbound/outbound history)",
1380
+ "json": true
1381
+ },
1382
+ "list": {
1383
+ "description": "Query warehouse stock inventory (paginated)",
1384
+ "json": true
1385
+ }
1386
+ }
1387
+ },
1388
+ "stock-reservation": {
1389
+ "group": "库存",
1390
+ "displayName": "库存预留",
1391
+ "description": "Manage stock reservations (库存预留)",
1392
+ "commands": {
1393
+ "create": {
1394
+ "description": "Create a stock reservation",
1395
+ "json": true
1396
+ },
1397
+ "list": {
1398
+ "description": "List stock reservations with pagination",
1399
+ "json": true
1400
+ },
1401
+ "release": {
1402
+ "description": "Release a stock reservation",
1403
+ "json": true
1404
+ }
1405
+ }
1406
+ },
1407
+ "transfer-in-forms": {
1408
+ "group": "库存",
1409
+ "displayName": "入库单",
1410
+ "description": "Manage transfer-in forms",
1411
+ "commands": {
1412
+ "batch-delete": {
1413
+ "description": "Batch delete transfer-in forms",
1414
+ "json": true,
1415
+ "dry-run": true,
1416
+ "force": true
1417
+ },
1418
+ "batch-review": {
1419
+ "description": "Batch review (审核) transfer-in forms",
1420
+ "json": true,
1421
+ "dry-run": true,
1422
+ "force": true
1423
+ },
1424
+ "batch-unreview": {
1425
+ "description": "Batch unreview (反审核) transfer-in forms",
1426
+ "json": true,
1427
+ "dry-run": true,
1428
+ "force": true
1429
+ },
1430
+ "create": {
1431
+ "description": "Create a transfer-in form",
1432
+ "json": true,
1433
+ "dry-run": true
1434
+ },
1435
+ "get": {
1436
+ "description": "Get transfer-in form details by ID",
1437
+ "json": true
1438
+ },
1439
+ "list": {
1440
+ "description": "List transfer-in forms with pagination",
1441
+ "json": true
1442
+ },
1443
+ "update": {
1444
+ "description": "Update a transfer-in form",
1445
+ "json": true,
1446
+ "dry-run": true
1447
+ }
1448
+ }
1449
+ },
1450
+ "transfer-out-forms": {
1451
+ "group": "库存",
1452
+ "displayName": "出库单",
1453
+ "description": "Manage transfer-out forms",
1454
+ "commands": {
1455
+ "batch-delete": {
1456
+ "description": "Batch delete transfer-out forms",
1457
+ "json": true,
1458
+ "dry-run": true,
1459
+ "force": true
1460
+ },
1461
+ "batch-review": {
1462
+ "description": "Batch review (审核) transfer-out forms",
1463
+ "json": true,
1464
+ "dry-run": true,
1465
+ "force": true
1466
+ },
1467
+ "batch-unreview": {
1468
+ "description": "Batch unreview (反审核) transfer-out forms",
1469
+ "json": true
1470
+ },
1471
+ "create": {
1472
+ "description": "Create a transfer-out form",
1473
+ "json": true,
1474
+ "dry-run": true
1475
+ },
1476
+ "get": {
1477
+ "description": "Get transfer-out form details by ID",
1478
+ "json": true
1479
+ },
1480
+ "list": {
1481
+ "description": "List transfer-out forms with pagination",
1482
+ "json": true
1483
+ },
1484
+ "update": {
1485
+ "description": "Update a transfer-out form",
1486
+ "json": true,
1487
+ "dry-run": true
1488
+ }
1489
+ }
1490
+ },
1491
+ "actual-production": {
1492
+ "group": "生产",
1493
+ "displayName": "生产实绩",
1494
+ "description": "Manage actual production orders (生产实绩单)",
1495
+ "commands": {
1496
+ "compute": {
1497
+ "description": "Compute stock quantity, unit, and amount for items"
1498
+ },
1499
+ "create": {
1500
+ "description": "Create an actual production order",
1501
+ "json": true,
1502
+ "dry-run": true
1503
+ },
1504
+ "delete": {
1505
+ "description": "Batch delete actual production orders",
1506
+ "json": true,
1507
+ "force": true
1508
+ },
1509
+ "export": {
1510
+ "description": "Export actual production orders as CSV",
1511
+ "json": true
1512
+ },
1513
+ "fill-info": {
1514
+ "description": "Fill order info from a work order source code",
1515
+ "json": true
1516
+ },
1517
+ "get": {
1518
+ "description": "Get actual production order details",
1519
+ "json": true
1520
+ },
1521
+ "list": {
1522
+ "description": "List actual production orders with pagination",
1523
+ "json": true
1524
+ },
1525
+ "review": {
1526
+ "description": "Batch review (审核) actual production orders",
1527
+ "json": true,
1528
+ "dry-run": true,
1529
+ "force": true
1530
+ },
1531
+ "summary": {
1532
+ "description": "Get actual production order summary",
1533
+ "json": true
1534
+ },
1535
+ "unreview": {
1536
+ "description": "Batch un-review (反审核) actual production orders",
1537
+ "json": true,
1538
+ "dry-run": true,
1539
+ "force": true
1540
+ },
1541
+ "update": {
1542
+ "description": "Update an actual production order",
1543
+ "json": true,
1544
+ "dry-run": true
1545
+ }
1546
+ }
1547
+ },
1548
+ "bom": {
1549
+ "group": "生产",
1550
+ "description": "Manage BOM (Bill of Materials)",
1551
+ "commands": {
1552
+ "copy": {
1553
+ "description": "Copy a BOM",
1554
+ "json": true,
1555
+ "dry-run": true,
1556
+ "force": true
1557
+ },
1558
+ "create": {
1559
+ "description": "Create a new BOM",
1560
+ "json": true,
1561
+ "dry-run": true
1562
+ },
1563
+ "delete": {
1564
+ "description": "Delete a BOM",
1565
+ "json": true,
1566
+ "dry-run": true,
1567
+ "force": true
1568
+ },
1569
+ "disable": {
1570
+ "description": "Disable (deactivate) BOM(s)",
1571
+ "json": true,
1572
+ "dry-run": true,
1573
+ "force": true
1574
+ },
1575
+ "enable": {
1576
+ "description": "Enable (activate) BOM(s)",
1577
+ "json": true,
1578
+ "dry-run": true,
1579
+ "force": true
1580
+ },
1581
+ "get": {
1582
+ "description": "Get BOM details by ID",
1583
+ "json": true
1584
+ },
1585
+ "history": {
1586
+ "description": "Get BOM change history",
1587
+ "json": true
1588
+ },
1589
+ "list": {
1590
+ "description": "List BOMs with pagination",
1591
+ "json": true
1592
+ },
1593
+ "review": {
1594
+ "description": "Review (approve) BOM(s)",
1595
+ "json": true,
1596
+ "dry-run": true,
1597
+ "force": true
1598
+ },
1599
+ "unReview": {
1600
+ "description": "Un-review (cancel review) BOM(s)",
1601
+ "json": true,
1602
+ "dry-run": true,
1603
+ "force": true
1604
+ },
1605
+ "update": {
1606
+ "description": "Update BOM information",
1607
+ "json": true,
1608
+ "dry-run": true
1609
+ }
1610
+ }
1611
+ },
1612
+ "cutting-material": {
1613
+ "group": "生产",
1614
+ "displayName": "裁切投料",
1615
+ "description": "Manage cutting materials",
1616
+ "commands": {
1617
+ "create": {
1618
+ "description": "Create a cutting material order",
1619
+ "json": true,
1620
+ "dry-run": true
1621
+ },
1622
+ "list": {
1623
+ "description": "List cutting materials with pagination",
1624
+ "json": true
1625
+ }
1626
+ }
1627
+ },
1628
+ "mes-result": {
1629
+ "group": "生产",
1630
+ "displayName": "MES 报工",
1631
+ "description": "Manage MES production results",
1632
+ "commands": {
1633
+ "create": {
1634
+ "description": "Create an MES production result",
1635
+ "json": true,
1636
+ "dry-run": true
1637
+ },
1638
+ "delete": {
1639
+ "description": "Delete an MES production result",
1640
+ "json": true,
1641
+ "force": true
1642
+ },
1643
+ "export-csv": {
1644
+ "description": "Export MES production results to CSV",
1645
+ "json": true
1646
+ },
1647
+ "get": {
1648
+ "description": "Get MES production result details",
1649
+ "json": true
1650
+ },
1651
+ "import-csv": {
1652
+ "description": "Import MES production results from CSV",
1653
+ "json": true
1654
+ },
1655
+ "list": {
1656
+ "description": "List MES production results with pagination",
1657
+ "json": true
1658
+ },
1659
+ "summary": {
1660
+ "description": "Get MES production result summary",
1661
+ "json": true
1662
+ },
1663
+ "update": {
1664
+ "description": "Update an MES production result",
1665
+ "json": true,
1666
+ "dry-run": true
1667
+ }
1668
+ }
1669
+ },
1670
+ "product-stock-in": {
1671
+ "group": "生产",
1672
+ "displayName": "产品入库",
1673
+ "description": "Manage product stock-in orders (成品入库)",
1674
+ "commands": {
1675
+ "batch-delete": {
1676
+ "description": "Batch delete product stock-in orders",
1677
+ "json": true,
1678
+ "dry-run": true,
1679
+ "force": true
1680
+ },
1681
+ "batch-review": {
1682
+ "description": "Batch review (审核) product stock-in orders",
1683
+ "json": true,
1684
+ "dry-run": true,
1685
+ "force": true
1686
+ },
1687
+ "batch-unreview": {
1688
+ "description": "Batch unreview (反审核) product stock-in orders",
1689
+ "json": true,
1690
+ "dry-run": true,
1691
+ "force": true
1692
+ },
1693
+ "compute": {
1694
+ "description": "Compute product stock-in order stock quantity/unit/amount",
1695
+ "json": true,
1696
+ "dry-run": true
1697
+ },
1698
+ "create": {
1699
+ "description": "Create a product stock-in order",
1700
+ "json": true,
1701
+ "dry-run": true
1702
+ },
1703
+ "export-cmd": {
1704
+ "description": "Export product stock-in orders as CSV",
1705
+ "json": true
1706
+ },
1707
+ "fill-info": {
1708
+ "description": "Fill product stock-in order info from work order code",
1709
+ "json": true
1710
+ },
1711
+ "get": {
1712
+ "description": "Get product stock-in order details by ID",
1713
+ "json": true
1714
+ },
1715
+ "import-cmd": {
1716
+ "description": "Import product stock-in orders from CSV",
1717
+ "json": true,
1718
+ "dry-run": true
1719
+ },
1720
+ "list": {
1721
+ "description": "List product stock-in orders with pagination",
1722
+ "json": true
1723
+ },
1724
+ "summary": {
1725
+ "description": "Get product stock-in order summary",
1726
+ "json": true
1727
+ },
1728
+ "update": {
1729
+ "description": "Update a product stock-in order",
1730
+ "json": true,
1731
+ "dry-run": true
1732
+ }
1733
+ }
1734
+ },
1735
+ "product-stock-out": {
1736
+ "group": "生产",
1737
+ "displayName": "产品出库",
1738
+ "description": "Manage product stock-out orders (产品出库)",
1739
+ "commands": {
1740
+ "batch-delete": {
1741
+ "description": "Batch delete product stock-out orders",
1742
+ "json": true,
1743
+ "dry-run": true,
1744
+ "force": true
1745
+ },
1746
+ "batch-review": {
1747
+ "description": "Batch review (审核) product stock-out orders",
1748
+ "json": true,
1749
+ "dry-run": true,
1750
+ "force": true
1751
+ },
1752
+ "batch-unreview": {
1753
+ "description": "Batch unreview (反审核) product stock-out orders",
1754
+ "json": true,
1755
+ "dry-run": true,
1756
+ "force": true
1757
+ },
1758
+ "create": {
1759
+ "description": "Create a product stock-out order",
1760
+ "json": true,
1761
+ "dry-run": true
1762
+ },
1763
+ "export-cmd": {
1764
+ "description": "Export product stock-out orders to CSV",
1765
+ "json": true
1766
+ },
1767
+ "get": {
1768
+ "description": "Get product stock-out order details by ID",
1769
+ "json": true
1770
+ },
1771
+ "list": {
1772
+ "description": "List product stock-out orders with pagination",
1773
+ "json": true
1774
+ },
1775
+ "summary": {
1776
+ "description": "Get product stock-out order summary",
1777
+ "json": true
1778
+ },
1779
+ "update": {
1780
+ "description": "Update a product stock-out order",
1781
+ "json": true,
1782
+ "dry-run": true
1783
+ }
1784
+ }
1785
+ },
1786
+ "routing": {
1787
+ "group": "生产",
1788
+ "description": "Manage production routings",
1789
+ "commands": {
1790
+ "compute": {
1791
+ "description": "Compute routing sequence order",
1792
+ "json": true
1793
+ },
1794
+ "copy": {
1795
+ "description": "Copy a routing",
1796
+ "json": true,
1797
+ "dry-run": true
1798
+ },
1799
+ "create": {
1800
+ "description": "Create a new routing",
1801
+ "json": true,
1802
+ "dry-run": true
1803
+ },
1804
+ "delete": {
1805
+ "description": "Delete a routing",
1806
+ "json": true,
1807
+ "dry-run": true,
1808
+ "force": true
1809
+ },
1810
+ "disable": {
1811
+ "description": "Batch disable routings",
1812
+ "json": true,
1813
+ "dry-run": true,
1814
+ "force": true
1815
+ },
1816
+ "enable": {
1817
+ "description": "Batch enable routings",
1818
+ "json": true,
1819
+ "dry-run": true,
1820
+ "force": true
1821
+ },
1822
+ "get": {
1823
+ "description": "Get routing details by ID",
1824
+ "json": true
1825
+ },
1826
+ "history": {
1827
+ "description": "Get routing history",
1828
+ "json": true
1829
+ },
1830
+ "list": {
1831
+ "description": "List routings with pagination",
1832
+ "json": true
1833
+ },
1834
+ "review": {
1835
+ "description": "Batch review (approve) routings",
1836
+ "json": true,
1837
+ "dry-run": true,
1838
+ "force": true
1839
+ },
1840
+ "unReview": {
1841
+ "description": "Batch un-review routings",
1842
+ "json": true,
1843
+ "dry-run": true,
1844
+ "force": true
1845
+ },
1846
+ "update": {
1847
+ "description": "Update routing information",
1848
+ "json": true,
1849
+ "dry-run": true
1850
+ }
1851
+ }
1852
+ },
1853
+ "work-orders": {
1854
+ "group": "生产",
1855
+ "displayName": "工单",
1856
+ "description": "Manage production work orders",
1857
+ "commands": {
1858
+ "complete": {
1859
+ "description": "Complete (close) work orders",
1860
+ "json": true,
1861
+ "dry-run": true,
1862
+ "force": true
1863
+ },
1864
+ "create": {
1865
+ "description": "Create a work order",
1866
+ "json": true,
1867
+ "dry-run": true
1868
+ },
1869
+ "history": {
1870
+ "description": "List work order change history",
1871
+ "json": true
1872
+ },
1873
+ "list": {
1874
+ "description": "List work orders with pagination",
1875
+ "json": true
1876
+ },
1877
+ "release": {
1878
+ "description": "Release (approve) work orders",
1879
+ "json": true,
1880
+ "dry-run": true,
1881
+ "force": true
1882
+ }
1883
+ }
1884
+ },
1885
+ "aps": {
1886
+ "group": "计划",
1887
+ "displayName": "APS 排程",
1888
+ "description": "Manage APS (Advanced Planning & Scheduling) schedules",
1889
+ "commands": {
1890
+ "list": {
1891
+ "description": "List APS schedules with pagination",
1892
+ "json": true
1893
+ },
1894
+ "schedule-item": {
1895
+ "description": "View APS schedule item details by ID",
1896
+ "json": true
1897
+ },
1898
+ "schedule": {
1899
+ "description": "Execute APS scheduling calculation",
1900
+ "json": true,
1901
+ "dry-run": true
1902
+ }
1903
+ }
1904
+ },
1905
+ "mrp/plan": {
1906
+ "group": "计划",
1907
+ "description": "MRP material requirement plan operations",
1908
+ "commands": {
1909
+ "get": {
1910
+ "description": "Get MRP plan detail",
1911
+ "json": true
1912
+ },
1913
+ "list": {
1914
+ "description": "List MRP material requirement plans (paginated)",
1915
+ "json": true
1916
+ }
1917
+ }
1918
+ },
1919
+ "mrp/task": {
1920
+ "group": "计划",
1921
+ "description": "MRP task management",
1922
+ "commands": {
1923
+ "add-and-run": {
1924
+ "description": "Create and immediately execute an MRP task",
1925
+ "json": true,
1926
+ "dry-run": true
1927
+ },
1928
+ "add": {
1929
+ "description": "Create a new MRP task",
1930
+ "json": true,
1931
+ "dry-run": true
1932
+ },
1933
+ "get": {
1934
+ "description": "Get MRP task detail",
1935
+ "json": true
1936
+ },
1937
+ "list": {
1938
+ "description": "List MRP tasks (paginated)",
1939
+ "json": true
1940
+ },
1941
+ "run": {
1942
+ "description": "Execute an existing MRP task",
1943
+ "json": true,
1944
+ "dry-run": true
1945
+ }
1946
+ }
1947
+ },
1948
+ "plan-orders": {
1949
+ "group": "计划",
1950
+ "displayName": "计划订单",
1951
+ "description": "Manage plan orders",
1952
+ "commands": {
1953
+ "convert": {
1954
+ "description": "Convert plan order to work order",
1955
+ "json": true
1956
+ },
1957
+ "create": {
1958
+ "description": "Create a plan order",
1959
+ "json": true
1960
+ },
1961
+ "delete": {
1962
+ "description": "Delete a plan order",
1963
+ "json": true
1964
+ },
1965
+ "get": {
1966
+ "description": "Get plan order detail",
1967
+ "json": true
1968
+ },
1969
+ "list": {
1970
+ "description": "List plan orders",
1971
+ "json": true
1972
+ },
1973
+ "update": {
1974
+ "description": "Update a plan order",
1975
+ "json": true
1976
+ }
1977
+ }
1978
+ },
1979
+ "quality": {
1980
+ "group": "质量",
1981
+ "displayName": "质量检验",
1982
+ "description": "Manage material QC (quality inspection) forms",
1983
+ "commands": {
1984
+ "create": {
1985
+ "description": "Create a material QC form",
1986
+ "json": true,
1987
+ "dry-run": true
1988
+ },
1989
+ "delete": {
1990
+ "description": "Delete material QC form(s) (single or batch)",
1991
+ "json": true,
1992
+ "dry-run": true,
1993
+ "force": true
1994
+ },
1995
+ "fill-info": {
1996
+ "description": "Fill material QC form info from purchase order",
1997
+ "json": true
1998
+ },
1999
+ "get": {
2000
+ "description": "Get material QC form details by ID",
2001
+ "json": true
2002
+ },
2003
+ "list": {
2004
+ "description": "List material QC forms with pagination",
2005
+ "json": true
2006
+ },
2007
+ "review": {
2008
+ "description": "Review (审核) a material QC form",
2009
+ "json": true,
2010
+ "dry-run": true,
2011
+ "force": true
2012
+ },
2013
+ "unreview": {
2014
+ "description": "Unreview (反审核) a material QC form",
2015
+ "json": true,
2016
+ "dry-run": true,
2017
+ "force": true
2018
+ },
2019
+ "update": {
2020
+ "description": "Update a material QC form",
2021
+ "json": true,
2022
+ "dry-run": true
2023
+ }
2024
+ }
2025
+ },
2026
+ "finance/cost": {
2027
+ "group": "财务",
2028
+ "description": "Manage finance costs",
2029
+ "commands": {
2030
+ "list": {
2031
+ "description": "List finance costs with pagination",
2032
+ "json": true
2033
+ }
2034
+ }
2035
+ },
2036
+ "finance/invoices": {
2037
+ "group": "财务",
2038
+ "description": "Manage finance invoices",
2039
+ "commands": {
2040
+ "create": {
2041
+ "description": "Create a new finance invoice",
2042
+ "json": true,
2043
+ "dry-run": true
2044
+ },
2045
+ "list": {
2046
+ "description": "List finance invoices with pagination",
2047
+ "json": true
2048
+ },
2049
+ "print": {
2050
+ "description": "Print (get details of) a finance invoice by ID",
2051
+ "json": true
2052
+ }
2053
+ }
2054
+ },
2055
+ "finance/management-fee": {
2056
+ "group": "财务",
2057
+ "description": "Manage finance management fees",
2058
+ "commands": {
2059
+ "list": {
2060
+ "description": "List management fees with pagination",
2061
+ "json": true
2062
+ }
2063
+ }
2064
+ },
2065
+ "finance/proceeds": {
2066
+ "group": "财务",
2067
+ "description": "Manage finance proceeds",
2068
+ "commands": {
2069
+ "create": {
2070
+ "description": "Create a new finance proceed",
2071
+ "json": true,
2072
+ "dry-run": true
2073
+ },
2074
+ "list": {
2075
+ "description": "List finance proceeds with pagination",
2076
+ "json": true
2077
+ }
2078
+ }
2079
+ },
2080
+ "finance/production-cost": {
2081
+ "group": "财务",
2082
+ "description": "Manage production costs",
2083
+ "commands": {
2084
+ "list": {
2085
+ "description": "List production costs with pagination",
2086
+ "json": true
2087
+ }
2088
+ }
2089
+ },
2090
+ "hrs/bonus": {
2091
+ "group": "HR",
2092
+ "description": "Manage bonus calculations",
2093
+ "commands": {
2094
+ "list": {
2095
+ "description": "List bonus calculations with pagination",
2096
+ "json": true
2097
+ }
2098
+ }
2099
+ },
2100
+ "hrs/dossier": {
2101
+ "group": "HR",
2102
+ "description": "Manage employee dossiers",
2103
+ "commands": {
2104
+ "get": {
2105
+ "description": "Get employee dossier detail",
2106
+ "json": true
2107
+ },
2108
+ "list": {
2109
+ "description": "List employee dossiers with pagination",
2110
+ "json": true
2111
+ }
2112
+ }
2113
+ },
2114
+ "hrs/kpi": {
2115
+ "group": "HR",
2116
+ "description": "Manage KPI evaluations",
2117
+ "commands": {
2118
+ "items": {
2119
+ "description": "List KPI evaluation items",
2120
+ "json": true
2121
+ }
2122
+ }
2123
+ },
2124
+ "hrs/salary": {
2125
+ "group": "HR",
2126
+ "description": "Manage employee salary",
2127
+ "commands": {
2128
+ "get": {
2129
+ "description": "Get employee salary",
2130
+ "json": true
2131
+ }
2132
+ }
2133
+ },
2134
+ "hrs/skills": {
2135
+ "group": "HR",
2136
+ "description": "Manage employee skills",
2137
+ "commands": {
2138
+ "list": {
2139
+ "description": "List employee skills",
2140
+ "json": true
2141
+ }
2142
+ }
2143
+ },
2144
+ "teams/issues": {
2145
+ "group": "团队",
2146
+ "description": "Manage team issues",
2147
+ "commands": {
2148
+ "close": {
2149
+ "description": "Close a team issue (sets status to CLOSED)",
2150
+ "json": true
2151
+ },
2152
+ "create": {
2153
+ "description": "Create a new team issue",
2154
+ "json": true,
2155
+ "dry-run": true
2156
+ },
2157
+ "delete": {
2158
+ "description": "Delete a team issue",
2159
+ "json": true,
2160
+ "dry-run": true,
2161
+ "force": true
2162
+ },
2163
+ "get": {
2164
+ "description": "Get team issue details by ID",
2165
+ "json": true
2166
+ },
2167
+ "list": {
2168
+ "description": "List team issues with pagination",
2169
+ "json": true
2170
+ },
2171
+ "update": {
2172
+ "description": "Update team issue information",
2173
+ "json": true
2174
+ }
2175
+ }
2176
+ },
2177
+ "teams/project-codes": {
2178
+ "group": "团队",
2179
+ "description": "Manage predefined project codes",
2180
+ "commands": {
2181
+ "create": {
2182
+ "description": "Create a new project code",
2183
+ "json": true,
2184
+ "dry-run": true
2185
+ },
2186
+ "get": {
2187
+ "description": "Get project code details by ID",
2188
+ "json": true
2189
+ },
2190
+ "list": {
2191
+ "description": "List project codes with pagination",
2192
+ "json": true
2193
+ },
2194
+ "update": {
2195
+ "description": "Update project code information",
2196
+ "json": true,
2197
+ "dry-run": true
2198
+ }
2199
+ }
2200
+ },
2201
+ "teams/projects": {
2202
+ "group": "团队",
2203
+ "description": "Manage team projects",
2204
+ "commands": {
2205
+ "create": {
2206
+ "description": "Create a new team project",
2207
+ "json": true,
2208
+ "dry-run": true
2209
+ },
2210
+ "delete": {
2211
+ "description": "Delete a team project",
2212
+ "json": true,
2213
+ "dry-run": true,
2214
+ "force": true
2215
+ },
2216
+ "get": {
2217
+ "description": "Get team project details by ID",
2218
+ "json": true
2219
+ },
2220
+ "list": {
2221
+ "description": "List team projects with pagination",
2222
+ "json": true
2223
+ },
2224
+ "update": {
2225
+ "description": "Update team project information",
2226
+ "json": true,
2227
+ "dry-run": true
2228
+ }
2229
+ }
2230
+ },
2231
+ "teams/tasks": {
2232
+ "group": "团队",
2233
+ "description": "Manage team tasks",
2234
+ "commands": {
2235
+ "create": {
2236
+ "description": "Create a new team task",
2237
+ "json": true,
2238
+ "dry-run": true
2239
+ },
2240
+ "delete": {
2241
+ "description": "Delete a team task",
2242
+ "json": true,
2243
+ "dry-run": true
2244
+ },
2245
+ "get": {
2246
+ "description": "Get team task details",
2247
+ "json": true
2248
+ },
2249
+ "list": {
2250
+ "description": "List team tasks with pagination",
2251
+ "json": true
2252
+ },
2253
+ "update": {
2254
+ "description": "Update a team task",
2255
+ "json": true,
2256
+ "dry-run": true
2257
+ }
2258
+ }
2259
+ },
2260
+ "teams/work-logs": {
2261
+ "group": "团队",
2262
+ "description": "Manage team work logs",
2263
+ "commands": {
2264
+ "create": {
2265
+ "description": "Create a new team work log. Note: --type and --status flags removed in 0.1.90 (not supported by backend)",
2266
+ "json": true,
2267
+ "dry-run": true
2268
+ },
2269
+ "delete": {
2270
+ "description": "Delete a team work log",
2271
+ "json": true,
2272
+ "dry-run": true,
2273
+ "force": true
2274
+ },
2275
+ "get": {
2276
+ "description": "Get team work log details by ID",
2277
+ "json": true
2278
+ },
2279
+ "list": {
2280
+ "description": "List team work logs with pagination",
2281
+ "json": true
2282
+ },
2283
+ "update": {
2284
+ "description": "Update team work log information",
2285
+ "json": true,
2286
+ "dry-run": true
2287
+ }
2288
+ }
2289
+ },
2290
+ "issue": {
2291
+ "group": "其他",
2292
+ "description": "Report and track CLI issues",
2293
+ "commands": {
2294
+ "close": {
2295
+ "description": "Close an issue by tracking code",
2296
+ "json": true,
2297
+ "dry-run": true
2298
+ },
2299
+ "list": {
2300
+ "description": "List my submitted issues",
2301
+ "json": true
2302
+ },
2303
+ "reopen": {
2304
+ "description": "Reopen an issue by tracking code",
2305
+ "json": true,
2306
+ "dry-run": true
2307
+ },
2308
+ "submit": {
2309
+ "description": "Submit an issue report for the Barista CLI",
2310
+ "json": true,
2311
+ "dry-run": true
2312
+ },
2313
+ "track": {
2314
+ "description": "Track an issue by tracking code",
2315
+ "json": true
2316
+ },
2317
+ "validate-project": {
2318
+ "description": "Validate a project code against available projects",
2319
+ "json": true
2320
+ }
2321
+ }
2322
+ },
2323
+ "replenish-orders": {
2324
+ "group": "其他",
2325
+ "displayName": "补货订单",
2326
+ "description": "Manage replenish orders",
2327
+ "commands": {
2328
+ "create": {
2329
+ "description": "Create a replenish order",
2330
+ "json": true,
2331
+ "dry-run": true
2332
+ },
2333
+ "get": {
2334
+ "description": "Get replenish order details by ID",
2335
+ "json": true
2336
+ },
2337
+ "list": {
2338
+ "description": "List replenish orders with pagination",
2339
+ "json": true
2340
+ }
2341
+ }
2342
+ },
2343
+ "todo": {
2344
+ "group": "其他",
2345
+ "description": "Manage todo items",
2346
+ "commands": {
2347
+ "count": {
2348
+ "description": "Get todo count",
2349
+ "json": true
2350
+ },
2351
+ "list": {
2352
+ "description": "List todo items",
2353
+ "json": true
2354
+ }
2355
+ }
2356
+ }
2357
+ },
2358
+ "arabica": {
2359
+ "auth": {
2360
+ "group": "认证",
2361
+ "description": "Manage Arabica authentication",
2362
+ "commands": {
2363
+ "login": {},
2364
+ "logout": {},
2365
+ "register": {},
2366
+ "status": {}
2367
+ }
2368
+ },
2369
+ "plans": {
2370
+ "group": "套餐",
2371
+ "description": "Browse and compare SaaS subscription plans",
2372
+ "commands": {
2373
+ "compare": {
2374
+ "description": "Compare two plans side-by-side"
2375
+ },
2376
+ "get": {
2377
+ "description": "Get detailed information about a specific plan"
2378
+ },
2379
+ "list": {
2380
+ "description": "List available subscription plans"
2381
+ }
2382
+ }
2383
+ },
2384
+ "subscription": {
2385
+ "group": "订阅",
2386
+ "description": "Manage subscription status on the Arabica platform",
2387
+ "commands": {
2388
+ "current": {
2389
+ "description": "View current subscription information"
2390
+ }
2391
+ }
2392
+ },
2393
+ "orders": {
2394
+ "group": "订单",
2395
+ "description": "Manage orders on the Arabica platform",
2396
+ "commands": {
2397
+ "cancel": {
2398
+ "description": "Cancel an Arabica order",
2399
+ "json": true,
2400
+ "dry-run": true
2401
+ },
2402
+ "get": {
2403
+ "description": "Get detailed information about a specific order"
2404
+ },
2405
+ "list": {
2406
+ "description": "List orders"
2407
+ },
2408
+ "submit": {
2409
+ "description": "Submit a new order on the Arabica platform",
2410
+ "dry-run": true
2411
+ }
2412
+ }
2413
+ },
2414
+ "invoices": {
2415
+ "group": "发票",
2416
+ "description": "Manage invoices on the Arabica platform",
2417
+ "commands": {
2418
+ "download": {
2419
+ "description": "Download invoice PDF"
2420
+ },
2421
+ "get": {
2422
+ "description": "Get invoice details"
2423
+ },
2424
+ "list": {
2425
+ "description": "List invoices"
2426
+ }
2427
+ }
2428
+ },
2429
+ "enterprises": {
2430
+ "group": "企业",
2431
+ "description": "Manage enterprises on the Arabica platform",
2432
+ "commands": {
2433
+ "delete": {
2434
+ "description": "Delete an enterprise",
2435
+ "json": true,
2436
+ "dry-run": true,
2437
+ "force": true
2438
+ },
2439
+ "get": {
2440
+ "description": "Get enterprise details",
2441
+ "json": true
2442
+ },
2443
+ "list": {
2444
+ "description": "List all enterprises created by current user",
2445
+ "json": true
2446
+ },
2447
+ "register": {
2448
+ "description": "Register a new enterprise",
2449
+ "json": true,
2450
+ "dry-run": true
2451
+ },
2452
+ "update": {
2453
+ "description": "Update enterprise information",
2454
+ "json": true,
2455
+ "dry-run": true
2456
+ }
2457
+ }
2458
+ },
2459
+ "access": {
2460
+ "group": "访问",
2461
+ "description": "Access management for Arabica platform",
2462
+ "commands": {
2463
+ "url": {
2464
+ "description": "Get Liberica access URL and account suffix",
2465
+ "json": true
2466
+ }
2467
+ }
2468
+ }
2469
+ }
2470
+ }