@habitat-ai/cli 0.5.15 → 0.6.0

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 (65) hide show
  1. package/README.md +62 -4
  2. package/dist/application-gZ8XAszE.js +80 -0
  3. package/dist/application.js +2 -18
  4. package/dist/cli-hhbbymEz.js +4738 -0
  5. package/dist/cli.js +2 -0
  6. package/dist/command-DkmTpQvc.js +74 -0
  7. package/dist/command.d.ts +36 -35
  8. package/dist/command.js +2 -45
  9. package/dist/generators/cli-command.js +263 -0
  10. package/dist/generators/cli-extension.js +192 -0
  11. package/dist/generators/init.js +20 -20
  12. package/dist/generators/preset.js +8 -7
  13. package/dist/generators/remove-hook.js +7 -4
  14. package/dist/generators/service.js +130 -139
  15. package/dist/habitat.app-Cl-58zQB.js +16615 -0
  16. package/dist/habitat.app.js +2 -0
  17. package/dist/host-BcptPYDL.js +293 -0
  18. package/dist/host.d.ts +57 -0
  19. package/dist/host.js +3 -0
  20. package/dist/index.js +8 -5
  21. package/dist/initialization-BWDg3bks.js +249 -0
  22. package/dist/migrations/0-5-7-repository-foundation.js +42 -38
  23. package/dist/nx-generators-DQDXOkMX.js +44 -0
  24. package/dist/nx-generators.js +2 -51
  25. package/dist/nx-plugin.d.ts +4 -1
  26. package/dist/nx-plugin.js +241 -15
  27. package/dist/oclif-CJS8CHjO.js +11 -0
  28. package/dist/oclif.js +3 -0
  29. package/dist/product-version-Bqc0L8lq.js +18 -0
  30. package/dist/publish-generator-tree-CgFdcykY.js +14 -0
  31. package/dist/repository-preset-DYxxe7p3.js +543 -0
  32. package/dist/verified-writes-Cne-zTxS.js +60 -0
  33. package/generators/cli-command/schema.json +20 -0
  34. package/generators/cli-extension/schema.json +20 -0
  35. package/generators/service/files/AGENTS.md.template +2 -2
  36. package/generators/service/files/habitat.toml.template +1 -1
  37. package/generators.json +10 -0
  38. package/oclif.manifest.json +1094 -27
  39. package/package.json +72 -8
  40. package/dist/application.d.ts +0 -14
  41. package/dist/commands/check.d.ts +0 -15
  42. package/dist/commands/check.js +0 -32
  43. package/dist/commands/hook.d.ts +0 -12
  44. package/dist/commands/hook.js +0 -25
  45. package/dist/commands/resolve.d.ts +0 -9
  46. package/dist/commands/resolve.js +0 -15
  47. package/dist/generators/init.d.ts +0 -3
  48. package/dist/generators/preset.d.ts +0 -4
  49. package/dist/generators/remove-hook.d.ts +0 -3
  50. package/dist/generators/service.d.ts +0 -16
  51. package/dist/index.d.ts +0 -1
  52. package/dist/lib/binding.d.ts +0 -10
  53. package/dist/lib/binding.js +0 -16
  54. package/dist/lib/output.d.ts +0 -9
  55. package/dist/lib/output.js +0 -22
  56. package/dist/migrations/0-5-7-repository-foundation.d.ts +0 -3
  57. package/dist/nx/initialization.d.ts +0 -62
  58. package/dist/nx/initialization.js +0 -265
  59. package/dist/nx/projection.d.ts +0 -29
  60. package/dist/nx/projection.js +0 -308
  61. package/dist/nx/repository-preset.d.ts +0 -22
  62. package/dist/nx/repository-preset.js +0 -596
  63. package/dist/nx-generators.d.ts +0 -42
  64. package/dist/product-version.d.ts +0 -2
  65. package/dist/product-version.js +0 -15
@@ -1,30 +1,735 @@
1
1
  {
2
2
  "commands": {
3
- "resolve": {
3
+ "agent:plugins:check": {
4
4
  "aliases": [],
5
5
  "args": {},
6
- "description": "Resolve the current Habitat authority catalog",
7
- "flags": {},
6
+ "description": "Check explicit agent-plugin release, repository or channel data",
7
+ "flags": {
8
+ "json": {
9
+ "name": "json",
10
+ "allowNo": false,
11
+ "type": "boolean"
12
+ },
13
+ "content-workspace": {
14
+ "description": "Absolute content workspace",
15
+ "name": "content-workspace",
16
+ "hasDynamicHelp": false,
17
+ "multiple": false,
18
+ "type": "option"
19
+ },
20
+ "repository-identity": {
21
+ "description": "Expected repository identity",
22
+ "name": "repository-identity",
23
+ "hasDynamicHelp": false,
24
+ "multiple": false,
25
+ "type": "option"
26
+ },
27
+ "content-authority": {
28
+ "description": "Declared content authority",
29
+ "name": "content-authority",
30
+ "hasDynamicHelp": false,
31
+ "multiple": false,
32
+ "type": "option"
33
+ },
34
+ "remote-name": {
35
+ "description": "Expected Git remote name",
36
+ "name": "remote-name",
37
+ "hasDynamicHelp": false,
38
+ "multiple": false,
39
+ "type": "option"
40
+ },
41
+ "remote-url": {
42
+ "description": "Expected Git remote URL",
43
+ "name": "remote-url",
44
+ "hasDynamicHelp": false,
45
+ "multiple": false,
46
+ "type": "option"
47
+ },
48
+ "ref": {
49
+ "description": "Qualified Git branch ref",
50
+ "name": "ref",
51
+ "hasDynamicHelp": false,
52
+ "multiple": false,
53
+ "type": "option"
54
+ },
55
+ "source-commit": {
56
+ "description": "Exact Git commit",
57
+ "name": "source-commit",
58
+ "hasDynamicHelp": false,
59
+ "multiple": false,
60
+ "type": "option"
61
+ },
62
+ "source-tree": {
63
+ "description": "Exact Git tree",
64
+ "name": "source-tree",
65
+ "hasDynamicHelp": false,
66
+ "multiple": false,
67
+ "type": "option"
68
+ },
69
+ "release-input": {
70
+ "description": "Repository-relative release input",
71
+ "name": "release-input",
72
+ "hasDynamicHelp": false,
73
+ "multiple": false,
74
+ "type": "option"
75
+ },
76
+ "plugin-root": {
77
+ "description": "Repository-relative plugin root",
78
+ "name": "plugin-root",
79
+ "hasDynamicHelp": false,
80
+ "multiple": false,
81
+ "type": "option"
82
+ },
83
+ "plugin": {
84
+ "exclusive": [
85
+ "complete-set"
86
+ ],
87
+ "name": "plugin",
88
+ "hasDynamicHelp": false,
89
+ "multiple": false,
90
+ "type": "option"
91
+ },
92
+ "complete-set": {
93
+ "exclusive": [
94
+ "plugin"
95
+ ],
96
+ "name": "complete-set",
97
+ "allowNo": false,
98
+ "type": "boolean"
99
+ },
100
+ "member": {
101
+ "name": "member",
102
+ "hasDynamicHelp": false,
103
+ "multiple": true,
104
+ "type": "option"
105
+ },
106
+ "current-main-body-json": {
107
+ "exclusive": [
108
+ "current-main-record-json"
109
+ ],
110
+ "name": "current-main-body-json",
111
+ "hasDynamicHelp": false,
112
+ "multiple": false,
113
+ "type": "option"
114
+ },
115
+ "current-main-record-json": {
116
+ "exclusive": [
117
+ "current-main-body-json"
118
+ ],
119
+ "name": "current-main-record-json",
120
+ "hasDynamicHelp": false,
121
+ "multiple": false,
122
+ "type": "option"
123
+ },
124
+ "mode": {
125
+ "name": "mode",
126
+ "relationships": [
127
+ {
128
+ "type": "all",
129
+ "flags": [
130
+ {
131
+ "name": "content-workspace"
132
+ },
133
+ {
134
+ "name": "repository-identity"
135
+ },
136
+ {
137
+ "name": "content-authority"
138
+ },
139
+ {
140
+ "name": "remote-name"
141
+ },
142
+ {
143
+ "name": "remote-url"
144
+ },
145
+ {
146
+ "name": "ref"
147
+ },
148
+ {
149
+ "name": "release-input"
150
+ },
151
+ {
152
+ "name": "plugin-root"
153
+ },
154
+ {
155
+ "name": "source-commit"
156
+ },
157
+ {
158
+ "name": "source-tree"
159
+ },
160
+ {
161
+ "name": "plugin"
162
+ },
163
+ {
164
+ "name": "complete-set"
165
+ },
166
+ {
167
+ "name": "member"
168
+ },
169
+ {
170
+ "name": "current-main-body-json"
171
+ },
172
+ {
173
+ "name": "current-main-record-json"
174
+ }
175
+ ]
176
+ },
177
+ {
178
+ "type": "none",
179
+ "flags": [
180
+ {
181
+ "name": "content-workspace"
182
+ },
183
+ {
184
+ "name": "repository-identity"
185
+ },
186
+ {
187
+ "name": "content-authority"
188
+ },
189
+ {
190
+ "name": "remote-name"
191
+ },
192
+ {
193
+ "name": "remote-url"
194
+ },
195
+ {
196
+ "name": "ref"
197
+ },
198
+ {
199
+ "name": "release-input"
200
+ },
201
+ {
202
+ "name": "plugin-root"
203
+ },
204
+ {
205
+ "name": "source-commit"
206
+ },
207
+ {
208
+ "name": "source-tree"
209
+ },
210
+ {
211
+ "name": "plugin"
212
+ },
213
+ {
214
+ "name": "complete-set"
215
+ },
216
+ {
217
+ "name": "member"
218
+ },
219
+ {
220
+ "name": "current-main-body-json"
221
+ },
222
+ {
223
+ "name": "current-main-record-json"
224
+ }
225
+ ]
226
+ },
227
+ {
228
+ "type": "some",
229
+ "flags": [
230
+ {
231
+ "name": "plugin"
232
+ },
233
+ {
234
+ "name": "complete-set"
235
+ },
236
+ {
237
+ "name": "current-main-body-json"
238
+ },
239
+ {
240
+ "name": "current-main-record-json"
241
+ },
242
+ {
243
+ "name": "mode"
244
+ }
245
+ ]
246
+ }
247
+ ],
248
+ "required": true,
249
+ "hasDynamicHelp": false,
250
+ "multiple": false,
251
+ "options": [
252
+ "release",
253
+ "repository-staged",
254
+ "repository-clean",
255
+ "release-input-record",
256
+ "release-input-refresh",
257
+ "current-main-record",
258
+ "current-main-selection"
259
+ ],
260
+ "type": "option"
261
+ }
262
+ },
8
263
  "hasDynamicHelp": false,
9
264
  "hiddenAliases": [],
10
- "id": "resolve",
265
+ "id": "agent:plugins:check",
266
+ "pluginAlias": "@habitat-ai/cli",
267
+ "pluginName": "@habitat-ai/cli",
268
+ "pluginType": "core",
269
+ "strict": true,
270
+ "enableJsonFlag": false
271
+ },
272
+ "agent:plugins:package": {
273
+ "aliases": [],
274
+ "args": {},
275
+ "description": "Package exact selected agent-plugin content",
276
+ "flags": {
277
+ "json": {
278
+ "name": "json",
279
+ "allowNo": false,
280
+ "type": "boolean"
281
+ },
282
+ "content-workspace": {
283
+ "description": "Absolute content workspace",
284
+ "name": "content-workspace",
285
+ "required": true,
286
+ "hasDynamicHelp": false,
287
+ "multiple": false,
288
+ "type": "option"
289
+ },
290
+ "repository-identity": {
291
+ "description": "Expected repository identity",
292
+ "name": "repository-identity",
293
+ "required": true,
294
+ "hasDynamicHelp": false,
295
+ "multiple": false,
296
+ "type": "option"
297
+ },
298
+ "content-authority": {
299
+ "description": "Declared content authority",
300
+ "name": "content-authority",
301
+ "required": true,
302
+ "hasDynamicHelp": false,
303
+ "multiple": false,
304
+ "type": "option"
305
+ },
306
+ "remote-name": {
307
+ "description": "Expected Git remote name",
308
+ "name": "remote-name",
309
+ "required": true,
310
+ "hasDynamicHelp": false,
311
+ "multiple": false,
312
+ "type": "option"
313
+ },
314
+ "remote-url": {
315
+ "description": "Expected Git remote URL",
316
+ "name": "remote-url",
317
+ "required": true,
318
+ "hasDynamicHelp": false,
319
+ "multiple": false,
320
+ "type": "option"
321
+ },
322
+ "ref": {
323
+ "description": "Qualified Git branch ref",
324
+ "name": "ref",
325
+ "required": true,
326
+ "hasDynamicHelp": false,
327
+ "multiple": false,
328
+ "type": "option"
329
+ },
330
+ "source-commit": {
331
+ "description": "Exact Git commit",
332
+ "name": "source-commit",
333
+ "required": true,
334
+ "hasDynamicHelp": false,
335
+ "multiple": false,
336
+ "type": "option"
337
+ },
338
+ "source-tree": {
339
+ "description": "Exact Git tree",
340
+ "name": "source-tree",
341
+ "required": true,
342
+ "hasDynamicHelp": false,
343
+ "multiple": false,
344
+ "type": "option"
345
+ },
346
+ "release-input": {
347
+ "description": "Repository-relative release input",
348
+ "name": "release-input",
349
+ "required": true,
350
+ "hasDynamicHelp": false,
351
+ "multiple": false,
352
+ "type": "option"
353
+ },
354
+ "plugin-root": {
355
+ "description": "Repository-relative plugin root",
356
+ "name": "plugin-root",
357
+ "required": true,
358
+ "hasDynamicHelp": false,
359
+ "multiple": false,
360
+ "type": "option"
361
+ },
362
+ "plugin": {
363
+ "name": "plugin",
364
+ "hasDynamicHelp": false,
365
+ "multiple": false,
366
+ "type": "option"
367
+ },
368
+ "complete-set": {
369
+ "name": "complete-set",
370
+ "allowNo": false,
371
+ "type": "boolean"
372
+ },
373
+ "format": {
374
+ "name": "format",
375
+ "required": true,
376
+ "hasDynamicHelp": false,
377
+ "multiple": false,
378
+ "options": [
379
+ "cowork-v1"
380
+ ],
381
+ "type": "option"
382
+ },
383
+ "output": {
384
+ "name": "output",
385
+ "required": true,
386
+ "hasDynamicHelp": false,
387
+ "multiple": false,
388
+ "type": "option"
389
+ }
390
+ },
391
+ "hasDynamicHelp": false,
392
+ "hiddenAliases": [],
393
+ "id": "agent:plugins:package",
394
+ "pluginAlias": "@habitat-ai/cli",
395
+ "pluginName": "@habitat-ai/cli",
396
+ "pluginType": "core",
397
+ "strict": true,
398
+ "enableJsonFlag": false
399
+ },
400
+ "agent:plugins:status": {
401
+ "aliases": [],
402
+ "args": {},
403
+ "description": "Observe native provider convergence",
404
+ "flags": {
405
+ "json": {
406
+ "name": "json",
407
+ "allowNo": false,
408
+ "type": "boolean"
409
+ },
410
+ "channel": {
411
+ "name": "channel",
412
+ "required": true,
413
+ "hasDynamicHelp": false,
414
+ "multiple": false,
415
+ "options": [
416
+ "current-main"
417
+ ],
418
+ "type": "option"
419
+ },
420
+ "content-workspace": {
421
+ "description": "Absolute content workspace",
422
+ "name": "content-workspace",
423
+ "required": true,
424
+ "hasDynamicHelp": false,
425
+ "multiple": false,
426
+ "type": "option"
427
+ },
428
+ "repository-identity": {
429
+ "description": "Expected repository identity",
430
+ "name": "repository-identity",
431
+ "required": true,
432
+ "hasDynamicHelp": false,
433
+ "multiple": false,
434
+ "type": "option"
435
+ },
436
+ "target": {
437
+ "name": "target",
438
+ "required": true,
439
+ "hasDynamicHelp": false,
440
+ "multiple": true,
441
+ "type": "option"
442
+ }
443
+ },
444
+ "hasDynamicHelp": false,
445
+ "hiddenAliases": [],
446
+ "id": "agent:plugins:status",
447
+ "pluginAlias": "@habitat-ai/cli",
448
+ "pluginName": "@habitat-ai/cli",
449
+ "pluginType": "core",
450
+ "strict": true,
451
+ "enableJsonFlag": false
452
+ },
453
+ "agent:plugins:sync": {
454
+ "aliases": [],
455
+ "args": {},
456
+ "description": "Converge native providers to the reviewed channel",
457
+ "flags": {
458
+ "json": {
459
+ "name": "json",
460
+ "allowNo": false,
461
+ "type": "boolean"
462
+ },
463
+ "channel": {
464
+ "name": "channel",
465
+ "required": true,
466
+ "hasDynamicHelp": false,
467
+ "multiple": false,
468
+ "options": [
469
+ "current-main"
470
+ ],
471
+ "type": "option"
472
+ },
473
+ "content-workspace": {
474
+ "description": "Absolute content workspace",
475
+ "name": "content-workspace",
476
+ "required": true,
477
+ "hasDynamicHelp": false,
478
+ "multiple": false,
479
+ "type": "option"
480
+ },
481
+ "repository-identity": {
482
+ "description": "Expected repository identity",
483
+ "name": "repository-identity",
484
+ "required": true,
485
+ "hasDynamicHelp": false,
486
+ "multiple": false,
487
+ "type": "option"
488
+ },
489
+ "target": {
490
+ "name": "target",
491
+ "required": true,
492
+ "hasDynamicHelp": false,
493
+ "multiple": true,
494
+ "type": "option"
495
+ }
496
+ },
497
+ "hasDynamicHelp": false,
498
+ "hiddenAliases": [],
499
+ "id": "agent:plugins:sync",
500
+ "pluginAlias": "@habitat-ai/cli",
501
+ "pluginName": "@habitat-ai/cli",
502
+ "pluginType": "core",
503
+ "strict": true,
504
+ "enableJsonFlag": false
505
+ },
506
+ "agent:plugins:test": {
507
+ "aliases": [],
508
+ "args": {},
509
+ "description": "Test explicit content in disposable provider homes",
510
+ "flags": {
511
+ "json": {
512
+ "name": "json",
513
+ "allowNo": false,
514
+ "type": "boolean"
515
+ },
516
+ "content-workspace": {
517
+ "description": "Absolute content workspace",
518
+ "name": "content-workspace",
519
+ "required": true,
520
+ "hasDynamicHelp": false,
521
+ "multiple": false,
522
+ "type": "option"
523
+ },
524
+ "repository-identity": {
525
+ "description": "Expected repository identity",
526
+ "name": "repository-identity",
527
+ "required": true,
528
+ "hasDynamicHelp": false,
529
+ "multiple": false,
530
+ "type": "option"
531
+ },
532
+ "content-authority": {
533
+ "description": "Declared content authority",
534
+ "name": "content-authority",
535
+ "required": true,
536
+ "hasDynamicHelp": false,
537
+ "multiple": false,
538
+ "type": "option"
539
+ },
540
+ "remote-name": {
541
+ "description": "Expected Git remote name",
542
+ "name": "remote-name",
543
+ "required": true,
544
+ "hasDynamicHelp": false,
545
+ "multiple": false,
546
+ "type": "option"
547
+ },
548
+ "remote-url": {
549
+ "description": "Expected Git remote URL",
550
+ "name": "remote-url",
551
+ "required": true,
552
+ "hasDynamicHelp": false,
553
+ "multiple": false,
554
+ "type": "option"
555
+ },
556
+ "ref": {
557
+ "description": "Qualified Git branch ref",
558
+ "name": "ref",
559
+ "required": true,
560
+ "hasDynamicHelp": false,
561
+ "multiple": false,
562
+ "type": "option"
563
+ },
564
+ "source-commit": {
565
+ "description": "Exact Git commit",
566
+ "name": "source-commit",
567
+ "required": true,
568
+ "hasDynamicHelp": false,
569
+ "multiple": false,
570
+ "type": "option"
571
+ },
572
+ "source-tree": {
573
+ "description": "Exact Git tree",
574
+ "name": "source-tree",
575
+ "required": true,
576
+ "hasDynamicHelp": false,
577
+ "multiple": false,
578
+ "type": "option"
579
+ },
580
+ "release-input": {
581
+ "description": "Repository-relative release input",
582
+ "name": "release-input",
583
+ "required": true,
584
+ "hasDynamicHelp": false,
585
+ "multiple": false,
586
+ "type": "option"
587
+ },
588
+ "plugin-root": {
589
+ "description": "Repository-relative plugin root",
590
+ "name": "plugin-root",
591
+ "required": true,
592
+ "hasDynamicHelp": false,
593
+ "multiple": false,
594
+ "type": "option"
595
+ },
596
+ "plugin": {
597
+ "name": "plugin",
598
+ "hasDynamicHelp": false,
599
+ "multiple": true,
600
+ "type": "option"
601
+ },
602
+ "complete-set": {
603
+ "name": "complete-set",
604
+ "allowNo": false,
605
+ "type": "boolean"
606
+ },
607
+ "disposable-root": {
608
+ "name": "disposable-root",
609
+ "required": true,
610
+ "hasDynamicHelp": false,
611
+ "multiple": false,
612
+ "type": "option"
613
+ },
614
+ "target": {
615
+ "name": "target",
616
+ "required": true,
617
+ "hasDynamicHelp": false,
618
+ "multiple": true,
619
+ "type": "option"
620
+ }
621
+ },
622
+ "hasDynamicHelp": false,
623
+ "hiddenAliases": [],
624
+ "id": "agent:plugins:test",
11
625
  "pluginAlias": "@habitat-ai/cli",
12
626
  "pluginName": "@habitat-ai/cli",
13
627
  "pluginType": "core",
14
628
  "strict": true,
15
- "enableJsonFlag": false,
16
- "isESM": true,
17
- "relativePath": [
18
- "dist",
19
- "commands",
20
- "resolve.js"
21
- ]
629
+ "enableJsonFlag": false
630
+ },
631
+ "agent:plugins:vendors:update": {
632
+ "aliases": [],
633
+ "args": {},
634
+ "description": "Author reviewable updates to declared vendor sources",
635
+ "flags": {
636
+ "json": {
637
+ "name": "json",
638
+ "allowNo": false,
639
+ "type": "boolean"
640
+ },
641
+ "content-workspace": {
642
+ "description": "Absolute content workspace",
643
+ "name": "content-workspace",
644
+ "required": true,
645
+ "hasDynamicHelp": false,
646
+ "multiple": false,
647
+ "type": "option"
648
+ },
649
+ "repository-identity": {
650
+ "description": "Expected repository identity",
651
+ "name": "repository-identity",
652
+ "required": true,
653
+ "hasDynamicHelp": false,
654
+ "multiple": false,
655
+ "type": "option"
656
+ },
657
+ "content-authority": {
658
+ "description": "Declared content authority",
659
+ "name": "content-authority",
660
+ "required": true,
661
+ "hasDynamicHelp": false,
662
+ "multiple": false,
663
+ "type": "option"
664
+ },
665
+ "remote-url": {
666
+ "description": "Expected Git remote URL",
667
+ "name": "remote-url",
668
+ "required": true,
669
+ "hasDynamicHelp": false,
670
+ "multiple": false,
671
+ "type": "option"
672
+ },
673
+ "ref": {
674
+ "description": "Qualified Git branch ref",
675
+ "name": "ref",
676
+ "required": true,
677
+ "hasDynamicHelp": false,
678
+ "multiple": false,
679
+ "type": "option"
680
+ },
681
+ "source-commit": {
682
+ "description": "Exact Git commit",
683
+ "name": "source-commit",
684
+ "required": true,
685
+ "hasDynamicHelp": false,
686
+ "multiple": false,
687
+ "type": "option"
688
+ },
689
+ "source-tree": {
690
+ "description": "Exact Git tree",
691
+ "name": "source-tree",
692
+ "required": true,
693
+ "hasDynamicHelp": false,
694
+ "multiple": false,
695
+ "type": "option"
696
+ },
697
+ "release-input": {
698
+ "description": "Repository-relative release input",
699
+ "name": "release-input",
700
+ "required": true,
701
+ "hasDynamicHelp": false,
702
+ "multiple": false,
703
+ "type": "option"
704
+ },
705
+ "source": {
706
+ "name": "source",
707
+ "required": true,
708
+ "hasDynamicHelp": false,
709
+ "multiple": true,
710
+ "type": "option"
711
+ }
712
+ },
713
+ "hasDynamicHelp": false,
714
+ "hiddenAliases": [],
715
+ "id": "agent:plugins:vendors:update",
716
+ "pluginAlias": "@habitat-ai/cli",
717
+ "pluginName": "@habitat-ai/cli",
718
+ "pluginType": "core",
719
+ "strict": true,
720
+ "enableJsonFlag": false
22
721
  },
23
722
  "check": {
24
723
  "aliases": [],
25
724
  "args": {},
26
725
  "description": "Check resolved Habitat applications",
27
726
  "flags": {
727
+ "json": {
728
+ "description": "Output machine-readable JSON",
729
+ "name": "json",
730
+ "allowNo": false,
731
+ "type": "boolean"
732
+ },
28
733
  "instance": {
29
734
  "description": "Exact Habitat instance identity",
30
735
  "name": "instance",
@@ -61,13 +766,353 @@
61
766
  "pluginName": "@habitat-ai/cli",
62
767
  "pluginType": "core",
63
768
  "strict": true,
64
- "enableJsonFlag": false,
65
- "isESM": true,
66
- "relativePath": [
67
- "dist",
68
- "commands",
69
- "check.js"
70
- ]
769
+ "enableJsonFlag": false
770
+ },
771
+ "cli:command:create": {
772
+ "aliases": [],
773
+ "args": {
774
+ "topic": {
775
+ "name": "topic",
776
+ "required": true
777
+ },
778
+ "name": {
779
+ "name": "name",
780
+ "required": true
781
+ }
782
+ },
783
+ "description": "Create an official Habitat command",
784
+ "flags": {
785
+ "json": {
786
+ "description": "Output machine-readable JSON",
787
+ "name": "json",
788
+ "allowNo": false,
789
+ "type": "boolean"
790
+ },
791
+ "dry-run": {
792
+ "name": "dry-run",
793
+ "allowNo": false,
794
+ "type": "boolean"
795
+ }
796
+ },
797
+ "hasDynamicHelp": false,
798
+ "hiddenAliases": [],
799
+ "id": "cli:command:create",
800
+ "pluginAlias": "@habitat-ai/cli",
801
+ "pluginName": "@habitat-ai/cli",
802
+ "pluginType": "core",
803
+ "strict": true,
804
+ "enableJsonFlag": false
805
+ },
806
+ "cli:extension:create": {
807
+ "aliases": [],
808
+ "args": {
809
+ "id": {
810
+ "name": "id",
811
+ "required": true
812
+ }
813
+ },
814
+ "description": "Create a standalone Oclif extension",
815
+ "flags": {
816
+ "json": {
817
+ "description": "Output machine-readable JSON",
818
+ "name": "json",
819
+ "allowNo": false,
820
+ "type": "boolean"
821
+ },
822
+ "destination": {
823
+ "name": "destination",
824
+ "required": true,
825
+ "hasDynamicHelp": false,
826
+ "multiple": false,
827
+ "type": "option"
828
+ },
829
+ "dry-run": {
830
+ "name": "dry-run",
831
+ "allowNo": false,
832
+ "type": "boolean"
833
+ }
834
+ },
835
+ "hasDynamicHelp": false,
836
+ "hiddenAliases": [],
837
+ "id": "cli:extension:create",
838
+ "pluginAlias": "@habitat-ai/cli",
839
+ "pluginName": "@habitat-ai/cli",
840
+ "pluginType": "core",
841
+ "strict": true,
842
+ "enableJsonFlag": false
843
+ },
844
+ "dev:repo:sync-upstream": {
845
+ "aliases": [],
846
+ "args": {},
847
+ "description": "Plan or apply a native Git fast-forward update of the current checkout",
848
+ "flags": {
849
+ "json": {
850
+ "description": "Output machine-readable JSON",
851
+ "name": "json",
852
+ "allowNo": false,
853
+ "type": "boolean"
854
+ },
855
+ "repository": {
856
+ "description": "Repository path (defaults to the invoking directory)",
857
+ "name": "repository",
858
+ "hasDynamicHelp": false,
859
+ "multiple": false,
860
+ "type": "option"
861
+ },
862
+ "apply": {
863
+ "description": "Apply the admitted operation",
864
+ "name": "apply",
865
+ "allowNo": false,
866
+ "type": "boolean"
867
+ },
868
+ "dry-run": {
869
+ "description": "Plan without mutation, overriding --apply",
870
+ "name": "dry-run",
871
+ "allowNo": false,
872
+ "type": "boolean"
873
+ },
874
+ "scratch-file": {
875
+ "description": "Explicit scratch evidence file (repeatable)",
876
+ "name": "scratch-file",
877
+ "hasDynamicHelp": false,
878
+ "multiple": true,
879
+ "type": "option"
880
+ },
881
+ "scratch-mode": {
882
+ "dependsOn": [
883
+ "scratch-file"
884
+ ],
885
+ "description": "Missing scratch evidence policy (defaults to warn when files are supplied)",
886
+ "name": "scratch-mode",
887
+ "hasDynamicHelp": false,
888
+ "multiple": false,
889
+ "options": [
890
+ "warn",
891
+ "block"
892
+ ],
893
+ "type": "option"
894
+ },
895
+ "remote": {
896
+ "dependsOn": [
897
+ "branch"
898
+ ],
899
+ "description": "Git remote override (requires --branch)",
900
+ "name": "remote",
901
+ "hasDynamicHelp": false,
902
+ "multiple": false,
903
+ "type": "option"
904
+ },
905
+ "branch": {
906
+ "dependsOn": [
907
+ "remote"
908
+ ],
909
+ "description": "Upstream branch override (requires --remote)",
910
+ "name": "branch",
911
+ "hasDynamicHelp": false,
912
+ "multiple": false,
913
+ "type": "option"
914
+ }
915
+ },
916
+ "hasDynamicHelp": false,
917
+ "hiddenAliases": [],
918
+ "id": "dev:repo:sync-upstream",
919
+ "pluginAlias": "@habitat-ai/cli",
920
+ "pluginName": "@habitat-ai/cli",
921
+ "pluginType": "core",
922
+ "strict": true,
923
+ "enableJsonFlag": false
924
+ },
925
+ "dev:stack:doctor": {
926
+ "aliases": [],
927
+ "args": {},
928
+ "description": "Inspect the current Git checkout, worktrees, and native Graphite ancestry",
929
+ "flags": {
930
+ "json": {
931
+ "description": "Output machine-readable JSON",
932
+ "name": "json",
933
+ "allowNo": false,
934
+ "type": "boolean"
935
+ },
936
+ "repository": {
937
+ "description": "Repository path (defaults to the invoking directory)",
938
+ "name": "repository",
939
+ "hasDynamicHelp": false,
940
+ "multiple": false,
941
+ "type": "option"
942
+ },
943
+ "no-fail": {
944
+ "description": "Return zero for an observed needs-attention result",
945
+ "name": "no-fail",
946
+ "allowNo": false,
947
+ "type": "boolean"
948
+ }
949
+ },
950
+ "hasDynamicHelp": false,
951
+ "hiddenAliases": [],
952
+ "id": "dev:stack:doctor",
953
+ "pluginAlias": "@habitat-ai/cli",
954
+ "pluginName": "@habitat-ai/cli",
955
+ "pluginType": "core",
956
+ "strict": true,
957
+ "enableJsonFlag": false
958
+ },
959
+ "dev:stack:drain": {
960
+ "aliases": [],
961
+ "args": {},
962
+ "description": "Plan or request a native Graphite merge of the current branch and its ancestors",
963
+ "flags": {
964
+ "json": {
965
+ "description": "Output machine-readable JSON",
966
+ "name": "json",
967
+ "allowNo": false,
968
+ "type": "boolean"
969
+ },
970
+ "repository": {
971
+ "description": "Repository path (defaults to the invoking directory)",
972
+ "name": "repository",
973
+ "hasDynamicHelp": false,
974
+ "multiple": false,
975
+ "type": "option"
976
+ },
977
+ "apply": {
978
+ "description": "Apply the admitted operation",
979
+ "name": "apply",
980
+ "allowNo": false,
981
+ "type": "boolean"
982
+ },
983
+ "dry-run": {
984
+ "description": "Plan without mutation, overriding --apply",
985
+ "name": "dry-run",
986
+ "allowNo": false,
987
+ "type": "boolean"
988
+ },
989
+ "scratch-file": {
990
+ "description": "Explicit scratch evidence file (repeatable)",
991
+ "name": "scratch-file",
992
+ "hasDynamicHelp": false,
993
+ "multiple": true,
994
+ "type": "option"
995
+ },
996
+ "scratch-mode": {
997
+ "dependsOn": [
998
+ "scratch-file"
999
+ ],
1000
+ "description": "Missing scratch evidence policy (defaults to warn when files are supplied)",
1001
+ "name": "scratch-mode",
1002
+ "hasDynamicHelp": false,
1003
+ "multiple": false,
1004
+ "options": [
1005
+ "warn",
1006
+ "block"
1007
+ ],
1008
+ "type": "option"
1009
+ }
1010
+ },
1011
+ "hasDynamicHelp": false,
1012
+ "hiddenAliases": [],
1013
+ "id": "dev:stack:drain",
1014
+ "pluginAlias": "@habitat-ai/cli",
1015
+ "pluginName": "@habitat-ai/cli",
1016
+ "pluginType": "core",
1017
+ "strict": true,
1018
+ "enableJsonFlag": false
1019
+ },
1020
+ "dev:worktree:cleanup": {
1021
+ "aliases": [],
1022
+ "args": {},
1023
+ "description": "Plan or remove admitted worktrees matching an explicit basename prefix",
1024
+ "flags": {
1025
+ "json": {
1026
+ "description": "Output machine-readable JSON",
1027
+ "name": "json",
1028
+ "allowNo": false,
1029
+ "type": "boolean"
1030
+ },
1031
+ "repository": {
1032
+ "description": "Repository path (defaults to the invoking directory)",
1033
+ "name": "repository",
1034
+ "hasDynamicHelp": false,
1035
+ "multiple": false,
1036
+ "type": "option"
1037
+ },
1038
+ "apply": {
1039
+ "description": "Apply the admitted operation",
1040
+ "name": "apply",
1041
+ "allowNo": false,
1042
+ "type": "boolean"
1043
+ },
1044
+ "dry-run": {
1045
+ "description": "Plan without mutation, overriding --apply",
1046
+ "name": "dry-run",
1047
+ "allowNo": false,
1048
+ "type": "boolean"
1049
+ },
1050
+ "scratch-file": {
1051
+ "description": "Explicit scratch evidence file (repeatable)",
1052
+ "name": "scratch-file",
1053
+ "hasDynamicHelp": false,
1054
+ "multiple": true,
1055
+ "type": "option"
1056
+ },
1057
+ "scratch-mode": {
1058
+ "dependsOn": [
1059
+ "scratch-file"
1060
+ ],
1061
+ "description": "Missing scratch evidence policy (defaults to warn when files are supplied)",
1062
+ "name": "scratch-mode",
1063
+ "hasDynamicHelp": false,
1064
+ "multiple": false,
1065
+ "options": [
1066
+ "warn",
1067
+ "block"
1068
+ ],
1069
+ "type": "option"
1070
+ },
1071
+ "prefix": {
1072
+ "description": "Required worktree basename prefix",
1073
+ "name": "prefix",
1074
+ "required": true,
1075
+ "hasDynamicHelp": false,
1076
+ "multiple": false,
1077
+ "type": "option"
1078
+ },
1079
+ "trunk": {
1080
+ "description": "Local trunk branch protected from removal",
1081
+ "name": "trunk",
1082
+ "required": true,
1083
+ "hasDynamicHelp": false,
1084
+ "multiple": false,
1085
+ "type": "option"
1086
+ },
1087
+ "merged-only": {
1088
+ "description": "Remove only worktrees whose branches are merged into trunk",
1089
+ "name": "merged-only",
1090
+ "allowNo": true,
1091
+ "type": "boolean"
1092
+ },
1093
+ "pin-path": {
1094
+ "description": "Worktree path to preserve (repeatable)",
1095
+ "name": "pin-path",
1096
+ "hasDynamicHelp": false,
1097
+ "multiple": true,
1098
+ "type": "option"
1099
+ },
1100
+ "pin-branch": {
1101
+ "description": "Branch to preserve (repeatable)",
1102
+ "name": "pin-branch",
1103
+ "hasDynamicHelp": false,
1104
+ "multiple": true,
1105
+ "type": "option"
1106
+ }
1107
+ },
1108
+ "hasDynamicHelp": false,
1109
+ "hiddenAliases": [],
1110
+ "id": "dev:worktree:cleanup",
1111
+ "pluginAlias": "@habitat-ai/cli",
1112
+ "pluginName": "@habitat-ai/cli",
1113
+ "pluginType": "core",
1114
+ "strict": true,
1115
+ "enableJsonFlag": false
71
1116
  },
72
1117
  "hook": {
73
1118
  "aliases": [],
@@ -82,7 +1127,14 @@
82
1127
  }
83
1128
  },
84
1129
  "description": "Run a Habitat local-hook entrypoint",
85
- "flags": {},
1130
+ "flags": {
1131
+ "json": {
1132
+ "description": "Output machine-readable JSON",
1133
+ "name": "json",
1134
+ "allowNo": false,
1135
+ "type": "boolean"
1136
+ }
1137
+ },
86
1138
  "hasDynamicHelp": false,
87
1139
  "hiddenAliases": [],
88
1140
  "id": "hook",
@@ -90,14 +1142,29 @@
90
1142
  "pluginName": "@habitat-ai/cli",
91
1143
  "pluginType": "core",
92
1144
  "strict": true,
93
- "enableJsonFlag": false,
94
- "isESM": true,
95
- "relativePath": [
96
- "dist",
97
- "commands",
98
- "hook.js"
99
- ]
1145
+ "enableJsonFlag": false
1146
+ },
1147
+ "resolve": {
1148
+ "aliases": [],
1149
+ "args": {},
1150
+ "description": "Resolve Habitat applications",
1151
+ "flags": {
1152
+ "json": {
1153
+ "description": "Output machine-readable JSON",
1154
+ "name": "json",
1155
+ "allowNo": false,
1156
+ "type": "boolean"
1157
+ }
1158
+ },
1159
+ "hasDynamicHelp": false,
1160
+ "hiddenAliases": [],
1161
+ "id": "resolve",
1162
+ "pluginAlias": "@habitat-ai/cli",
1163
+ "pluginName": "@habitat-ai/cli",
1164
+ "pluginType": "core",
1165
+ "strict": true,
1166
+ "enableJsonFlag": false
100
1167
  }
101
1168
  },
102
- "version": "0.5.15"
1169
+ "version": "0.6.0"
103
1170
  }