@copado/agentia-cli 0.121.0-alpha.0 → 0.122.0-alpha.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (57) hide show
  1. package/CHANGELOG.md +736 -0
  2. package/README.md +297 -322
  3. package/dist/commands/ai/agent/ask.d.ts +13 -20
  4. package/dist/commands/ai/agent/ask.js +12 -32
  5. package/dist/commands/ai/agent/ask.js.map +1 -1
  6. package/dist/commands/ai/agent/chat.d.ts +11 -19
  7. package/dist/commands/ai/agent/chat.js +11 -34
  8. package/dist/commands/ai/agent/chat.js.map +1 -1
  9. package/dist/commands/cicd/work/commit.d.ts +0 -1
  10. package/dist/commands/cicd/work/commit.js +6 -8
  11. package/dist/commands/cicd/work/commit.js.map +1 -1
  12. package/dist/commands/cicd/work/set.js +12 -5
  13. package/dist/commands/cicd/work/set.js.map +1 -1
  14. package/dist/commands/setup.d.ts +1 -8
  15. package/dist/commands/setup.js +3 -47
  16. package/dist/commands/setup.js.map +1 -1
  17. package/dist/lib/auth-config.d.ts +2 -0
  18. package/dist/lib/auth-config.js +10 -1
  19. package/dist/lib/auth-config.js.map +1 -1
  20. package/dist/lib/cursor-mcp-config.d.ts +4 -0
  21. package/dist/lib/cursor-mcp-config.js +1 -0
  22. package/dist/lib/cursor-mcp-config.js.map +1 -1
  23. package/dist/lib/defaults-store.d.ts +2 -0
  24. package/dist/lib/defaults-store.js +10 -0
  25. package/dist/lib/defaults-store.js.map +1 -1
  26. package/dist/lib/git-worktree.d.ts +9 -1
  27. package/dist/lib/git-worktree.js +41 -14
  28. package/dist/lib/git-worktree.js.map +1 -1
  29. package/dist/lib/mcp/server.js +2 -0
  30. package/dist/lib/mcp/server.js.map +1 -1
  31. package/dist/lib/mcp/tools.d.ts +0 -1
  32. package/dist/lib/mcp/work-tools.d.ts +1 -2
  33. package/dist/lib/mcp/work-tools.js +17 -18
  34. package/dist/lib/mcp/work-tools.js.map +1 -1
  35. package/dist/lib/project-root.d.ts +13 -0
  36. package/dist/lib/project-root.js +65 -0
  37. package/dist/lib/project-root.js.map +1 -0
  38. package/dist/lib/project-setup.js +49 -35
  39. package/dist/lib/project-setup.js.map +1 -1
  40. package/dist/lib/setup-templates.d.ts +3 -1
  41. package/dist/lib/setup-templates.js +3 -1
  42. package/dist/lib/setup-templates.js.map +1 -1
  43. package/dist/lib/setup-wizard.js +58 -29
  44. package/dist/lib/setup-wizard.js.map +1 -1
  45. package/dist/lib/stock-quality-gates.js +1 -1
  46. package/dist/lib/stock-quality-gates.js.map +1 -1
  47. package/dist/lib/work-commit.d.ts +3 -0
  48. package/dist/lib/work-commit.js +45 -8
  49. package/dist/lib/work-commit.js.map +1 -1
  50. package/dist/lib/work-flags.d.ts +3 -1
  51. package/dist/lib/work-flags.js +23 -11
  52. package/dist/lib/work-flags.js.map +1 -1
  53. package/oclif.manifest.json +673 -781
  54. package/package.json +8 -2
  55. package/templates/skills/agentia-ai/SKILL.md +4 -3
  56. package/templates/skills/agentia-ai/references/ai-agents.md +13 -13
  57. package/templates/skills/agentia-cicd/references/work.md +2 -2
package/CHANGELOG.md ADDED
@@ -0,0 +1,736 @@
1
+ # Agentia CLI Changelog
2
+
3
+ All published sections are mapped to immutable npm publication metadata. New user-visible changes belong under Unreleased.
4
+
5
+ ## [Unreleased]
6
+
7
+ ## [0.122.0-alpha.1] - 2026-09-17
8
+
9
+ ### Changed
10
+
11
+ - Replace boolean AI agent selectors with the `--agent` option (defaulting to `knowledge`); allow `orchestrate` only for interactive chat.
12
+ - Resolve cloud work commit platform experience from the related story or pipeline, and enforce work-item field length limits before gateway calls.
13
+ - Clarify setup authentication scope as global or project-scoped, spell out Personal Access Key guidance, and ignore additional project-user state in `.gitignore`.
14
+ - Format setup authentication details as labeled, multiline blocks for API keys, Personal Access Keys, server URLs, domains, organizations, and workspaces.
15
+ - Resolve MCP project authentication from the IDE workspace root and preserve project `.env`/defaults context.
16
+ - Make `agentia setup` an interactive-only onboarding command; focused setup subcommands retain their explicit automation flags.
17
+
18
+ ## [0.122.0-alpha.0] - 2026-09-16
19
+
20
+ ### Changed
21
+
22
+ - Fetch an existing remote feature branch during `cicd work set` instead of always creating from the base branch.
23
+
24
+ ### Added
25
+
26
+ - Replace automatic npm publication with protected manual prerelease releases and bundle the changelog in the package.
27
+
28
+ ## [0.121.0-alpha.0] - 2026-09-15
29
+
30
+ ### Changed
31
+
32
+ - Published package release.
33
+
34
+ ## [0.120.0-alpha.0] - 2026-09-15
35
+
36
+ ### Security
37
+
38
+ - Security: merge-request pipelines and local `package:verify` block on OpenGrep ERROR findings and high/critical `npm audit` advisories.
39
+
40
+ ## [0.119.0-alpha.0] - 2026-09-14
41
+
42
+ ### Changed
43
+
44
+ - Published package release.
45
+
46
+ ## [0.118.0-alpha.0] - 2026-09-14
47
+
48
+ ### Changed
49
+
50
+ - Report IDE version in Agentia gateway identity
51
+
52
+ ## [0.117.0-alpha.0] - 2026-09-14
53
+
54
+ ### Changed
55
+
56
+ - Published package release.
57
+
58
+ ## [0.116.0-alpha.0] - 2026-09-11
59
+
60
+ ### Changed
61
+
62
+ - Published package release.
63
+
64
+ ## [0.115.0-alpha.0] - 2026-09-11
65
+
66
+ ### Security
67
+
68
+ - Null source environment when setting work source credential
69
+
70
+ ## [0.114.0-alpha.0] - 2026-09-11
71
+
72
+ ### Security
73
+
74
+ - Align Copado credentials with CICD project defaults
75
+
76
+ ## [0.113.0-alpha.0] - 2026-09-10
77
+
78
+ ### Changed
79
+
80
+ - Complete CRT testing parity for Agentia CLI
81
+
82
+ ## [0.112.0-alpha.0] - 2026-09-10
83
+
84
+ ### Changed
85
+
86
+ - Published package release.
87
+
88
+ ## [0.111.0-alpha.0] - 2026-09-10
89
+
90
+ ### Changed
91
+
92
+ - Published package release.
93
+
94
+ ## [0.110.0-alpha.0] - 2026-09-10
95
+
96
+ ### Changed
97
+
98
+ - Published package release.
99
+
100
+ ## [0.109.0-alpha.0] - 2026-09-09
101
+
102
+ ### Added
103
+
104
+ - Add local branch metadata to work status
105
+
106
+ ## [0.108.0-alpha.0] - 2026-09-09
107
+
108
+ ### Changed
109
+
110
+ - Aggregate CRT setup validation
111
+
112
+ ## [0.107.0-alpha.0] - 2026-09-09
113
+
114
+ ### Changed
115
+
116
+ - Published package release.
117
+
118
+ ## [0.106.0-alpha.0] - 2026-09-08
119
+
120
+ ### Security
121
+
122
+ - Remove inline AI and CRT authentication overrides
123
+
124
+ ## [0.105.0-alpha.0] - 2026-09-08
125
+
126
+ ### Changed
127
+
128
+ - Published package release.
129
+
130
+ ## [0.104.0-alpha.0] - 2026-09-08
131
+
132
+ ### Added
133
+
134
+ - Add local paths to nested metadata dependencies
135
+
136
+ ## [0.103.0-alpha.0] - 2026-09-07
137
+
138
+ ### Added
139
+
140
+ - Expose local paths for changed metadata dependencies
141
+
142
+ ## [0.102.0-alpha.0] - 2026-09-07
143
+
144
+ ### Fixed
145
+
146
+ - Fix blank AI workspace setup behavior
147
+
148
+ ## [0.101.0-alpha.0] - 2026-09-07
149
+
150
+ ### Changed
151
+
152
+ - Published package release.
153
+
154
+ ## [0.100.0-alpha.0] - 2026-09-07
155
+
156
+ ### Changed
157
+
158
+ - Published package release.
159
+
160
+ ## [0.99.0-alpha.0] - 2026-09-07
161
+
162
+ ### Changed
163
+
164
+ - Published package release.
165
+
166
+ ## [0.98.0-alpha.0] - 2026-09-05
167
+
168
+ ### Changed
169
+
170
+ - Published package release.
171
+
172
+ ## [0.97.0-alpha.0] - 2026-09-05
173
+
174
+ ### Security
175
+
176
+ - Add agentia cicd credential list command
177
+
178
+ ## [0.96.0-alpha.0] - 2026-09-05
179
+
180
+ ### Changed
181
+
182
+ - Agentia CLI: add job result-file commands
183
+
184
+ ## [0.95.0-alpha.0] - 2026-09-04
185
+
186
+ ### Changed
187
+
188
+ - Improve CICD work skill local and cloud flow guidance
189
+
190
+ ## [0.94.0-alpha.0] - 2026-09-04
191
+
192
+ ### Added
193
+
194
+ - Add "data" skill to cli template
195
+
196
+ ### Changed
197
+
198
+ - Unify Skill creation with Setup and adjust Agents.md reference
199
+
200
+ ## [0.93.0-alpha.0] - 2026-09-03
201
+
202
+ ### Fixed
203
+
204
+ - work submit --done promote path and fixes for permissions/nesteds/full support
205
+
206
+ ## [0.92.0-alpha.0] - 2026-09-02
207
+
208
+ ### Security
209
+
210
+ - Make authentication global or local
211
+
212
+ ## [0.91.0-alpha.0] - 2026-09-02
213
+
214
+ ### Changed
215
+
216
+ - Nested metadata detection and permission selection for work commit and push
217
+
218
+ ## [0.90.0-alpha.0] - 2026-09-02
219
+
220
+ ### Fixed
221
+
222
+ - Data deploy fixes
223
+
224
+ ## [0.89.0-alpha.0] - 2026-09-02
225
+
226
+ ### Changed
227
+
228
+ - Published package release.
229
+
230
+ ## [0.88.0-alpha.0] - 2026-09-02
231
+
232
+ ### Security
233
+
234
+ - Support keychain-less authentication storage
235
+
236
+ ## [0.87.0-alpha.0] - 2026-09-02
237
+
238
+ ### Added
239
+
240
+ - Add notification configuration
241
+
242
+ ## [0.86.0-alpha.0] - 2026-09-01
243
+
244
+ ### Added
245
+
246
+ - Add Agentia setup skill scaffolding
247
+
248
+ ## [0.85.0-alpha.0] - 2026-08-31
249
+
250
+ ### Changed
251
+
252
+ - Pipeline commands
253
+
254
+ ## [0.84.0-alpha.0] - 2026-08-28
255
+
256
+ ### Changed
257
+
258
+ - Dependencies should detect all types in branch, also unstages changes
259
+
260
+ ## [0.83.0-alpha.0] - 2026-08-27
261
+
262
+ ### Added
263
+
264
+ - Add Lovable docs-sync skill with canonical project binding
265
+
266
+ ## [0.82.0-alpha.0] - 2026-08-27
267
+
268
+ ### Changed
269
+
270
+ - Improve work get details and validate acceptance criteria
271
+
272
+ ## [0.81.0-alpha.0] - 2026-08-27
273
+
274
+ ### Changed
275
+
276
+ - Published package release.
277
+
278
+ ## [0.80.0-alpha.0] - 2026-08-27
279
+
280
+ ### Changed
281
+
282
+ - Published package release.
283
+
284
+ ## [0.79.0-alpha.0] - 2026-08-27
285
+
286
+ ### Fixed
287
+
288
+ - Restore work get plan endpoint and get-by-id Salesforce IDs
289
+
290
+ ## [0.78.0-alpha.0] - 2026-08-27
291
+
292
+ ### Changed
293
+
294
+ - Published package release.
295
+
296
+ ## [0.77.0-alpha.0] - 2026-08-26
297
+
298
+ ### Changed
299
+
300
+ - MCP changes for data deploy
301
+
302
+ ## [0.76.0-alpha.0] - 2026-08-25
303
+
304
+ ### Changed
305
+
306
+ - [CLI] Filtering capabilities for repos, functions and data templates + open commands for them
307
+
308
+ ## [0.75.0-alpha.0] - 2026-08-25
309
+
310
+ ### Added
311
+
312
+ - Add pagination to repository and function lists
313
+
314
+ ## [0.74.0-alpha.0] - 2026-08-25
315
+
316
+ ### Changed
317
+
318
+ - Permission management for local commit and headless push retrieveOnly
319
+
320
+ ## [0.73.0-alpha.0] - 2026-08-24
321
+
322
+ ### Changed
323
+
324
+ - Normalize gateway request identity
325
+
326
+ ## [0.72.0-alpha.0] - 2026-08-24
327
+
328
+ ### Changed
329
+
330
+ - Published package release.
331
+
332
+ ## [0.71.0-alpha.0] - 2026-08-21
333
+
334
+ ### Changed
335
+
336
+ - Published package release.
337
+
338
+ ## [0.70.0-alpha.0] - 2026-08-21
339
+
340
+ ### Changed
341
+
342
+ - Published package release.
343
+
344
+ ## [0.69.0-alpha.0] - 2026-08-20
345
+
346
+ ### Changed
347
+
348
+ - Make AI and CRT event logging non-blocking
349
+
350
+ ## [0.68.0-alpha.0] - 2026-08-20
351
+
352
+ ### Added
353
+
354
+ - Add control-org Salesforce Flow discovery
355
+ - Add user story deployment-step commands
356
+
357
+ ## [0.67.0-alpha.0] - 2026-08-20
358
+
359
+ ### Changed
360
+
361
+ - Published package release.
362
+
363
+ ## [0.66.0-alpha.0] - 2026-08-20
364
+
365
+ ### Changed
366
+
367
+ - Keep CICD gateway User-Agent on outer request
368
+
369
+ ## [0.65.0-alpha.0] - 2026-08-19
370
+
371
+ ### Changed
372
+
373
+ - Published package release.
374
+
375
+ ## [0.64.0-alpha.0] - 2026-08-19
376
+
377
+ ### Changed
378
+
379
+ - Published package release.
380
+
381
+ ## [0.63.0-alpha.0] - 2026-08-19
382
+
383
+ ### Changed
384
+
385
+ - Published package release.
386
+
387
+ ## [0.62.0-alpha.0] - 2026-08-18
388
+
389
+ ### Changed
390
+
391
+ - Published package release.
392
+
393
+ ## [0.61.0-alpha.0] - 2026-08-18
394
+
395
+ ### Added
396
+
397
+ - Build portfolio enablement documentation for Agentia CLI
398
+
399
+ ### Fixed
400
+
401
+ - Fix agentia update scoped npm registry
402
+
403
+ ## [0.60.0-alpha.0] - 2026-08-18
404
+
405
+ ### Changed
406
+
407
+ - Published package release.
408
+
409
+ ## [0.59.0-alpha.0] - 2026-08-18
410
+
411
+ ### Changed
412
+
413
+ - Published package release.
414
+
415
+ ## [0.58.0-alpha.0] - 2026-08-18
416
+
417
+ ### Changed
418
+
419
+ - CLI: Release Data Templates (`cicd data`)
420
+
421
+ ### Added
422
+
423
+ - Add CICD function commands for Copado Functions API
424
+
425
+ ## [0.57.0-alpha.0] - 2026-08-18
426
+
427
+ ### Added
428
+
429
+ - Add cloud promotion run commands
430
+
431
+ ## [0.56.0-alpha.0] - 2026-08-17
432
+
433
+ ### Changed
434
+
435
+ - Reduce local code review subagent overhead
436
+
437
+ ### Added
438
+
439
+ - Add cloud commit command for work items
440
+
441
+ ## [0.54.0-alpha.0] - 2026-08-17
442
+
443
+ ### Changed
444
+
445
+ - Published package release.
446
+
447
+ ## [0.53.0-alpha.0] - 2026-08-17
448
+
449
+ ### Added
450
+
451
+ - Add Knowledge agent to CLI AI commands
452
+
453
+ ## [0.52.0-alpha.0] - 2026-08-16
454
+
455
+ ### Changed
456
+
457
+ - Improve CLI update warning visibility and cache interval
458
+
459
+ ## [0.51.0-alpha.0] - 2026-08-16
460
+
461
+ ### Changed
462
+
463
+ - Published package release.
464
+
465
+ ## [0.47.0-alpha.0] - 2026-08-16
466
+
467
+ ### Added
468
+
469
+ - Add CLI version warnings and alpha self-update
470
+
471
+ ## [0.46.0-alpha.0] - 2026-08-14
472
+
473
+ ### Changed
474
+
475
+ - AI Agent Markdown Terminal UX
476
+
477
+ ## [0.45.0-alpha.0] - 2026-08-14
478
+
479
+ ### Changed
480
+
481
+ - Copado AI Phase One CLI Support
482
+
483
+ ## [0.43.0-alpha.0] - 2026-08-13
484
+
485
+ ### Added
486
+
487
+ - Add CICD repository management commands
488
+
489
+ ## [0.42.0-alpha.0] - 2026-08-13
490
+
491
+ ### Changed
492
+
493
+ - Published package release.
494
+
495
+ ## [0.41.0-alpha.0] - 2026-08-13
496
+
497
+ ### Added
498
+
499
+ - Namespace CICD CLI commands
500
+
501
+ ### Changed
502
+
503
+ - Historical merge branch not returned by the current Agentia work-list query
504
+
505
+ ## [0.40.0-alpha.0] - 2026-08-13
506
+
507
+ ### Added
508
+
509
+ - Support CRT Git storage jobs in CLI
510
+
511
+ ### Changed
512
+
513
+ - Setup enhancements
514
+
515
+ ## [0.38.0-alpha.0] - 2026-08-12
516
+
517
+ ### Changed
518
+
519
+ - Extend CRT v4 lifecycle commands
520
+
521
+ ## [0.37.0-alpha.0] - 2026-08-12
522
+
523
+ ### Changed
524
+
525
+ - Record Open Capability
526
+
527
+ ### Fixed
528
+
529
+ - Add CRT live regression integration test
530
+
531
+ ## [0.36.0-alpha.0] - 2026-08-11
532
+
533
+ ### Fixed
534
+
535
+ - Fix CRT job file listing for snapshot jobs
536
+
537
+ ## [0.33.0-alpha.0] - 2026-08-11
538
+
539
+ ### Added
540
+
541
+ - Add Agentia testing get commands
542
+
543
+ ## [0.31.0-alpha.0] - 2026-08-11
544
+
545
+ ### Added
546
+
547
+ - Add Agentia testing CRT commands
548
+
549
+ ## [0.29.0-alpha.0] - 2026-08-10
550
+
551
+ ### Added
552
+
553
+ - Support pagination for newly enabled endpoints
554
+
555
+ ### Changed
556
+
557
+ - Historical merge branch not returned by the current Agentia work-list query
558
+
559
+ ## [0.28.0-alpha.0] - 2026-08-06
560
+
561
+ ### Added
562
+
563
+ - Add new client attribute in metrics gathering
564
+ - Add transaction id to JSON responses
565
+
566
+ ### Changed
567
+
568
+ - Historical merge branch not returned by the current Agentia work-list query
569
+
570
+ ## [0.27.0-alpha.0] - 2026-08-05
571
+
572
+ ### Security
573
+
574
+ - Include credential in project default set and use as default on work create
575
+
576
+ ## [0.26.0-alpha.0] - 2026-08-04
577
+
578
+ ### Added
579
+
580
+ - Add User Story filter for promotions
581
+
582
+ ## [0.24.0-alpha.0] - 2026-08-04
583
+
584
+ ### Changed
585
+
586
+ - Published package release.
587
+
588
+ ## [0.23.0-alpha.0] - 2026-08-04
589
+
590
+ ### Added
591
+
592
+ - Create job log get command
593
+
594
+ ## [0.22.0-alpha.0] - 2026-08-04
595
+
596
+ ### Changed
597
+
598
+ - Remove unnecessary mandatory flags for local development
599
+
600
+ ## [0.21.0-alpha.0] - 2026-08-04
601
+
602
+ ### Changed
603
+
604
+ - Historical merge branch not returned by the current Agentia work-list query
605
+
606
+ ## [0.20.0-alpha.0] - 2026-08-04
607
+
608
+ ### Added
609
+
610
+ - Add project list filters and project detail
611
+
612
+ ## [0.19.0-alpha.0] - 2026-08-03
613
+
614
+ ### Changed
615
+
616
+ - Fetch user context from `/corpus/users`
617
+
618
+ ## [0.18.0-alpha.0] - 2026-08-03
619
+
620
+ ### Changed
621
+
622
+ - Make work get/update use the active User Story by default
623
+
624
+ ## [0.17.0-alpha.0] - 2026-08-03
625
+
626
+ ### Changed
627
+
628
+ - Historical merge branch not returned by the current Agentia work-list query
629
+
630
+ ## [0.16.0-alpha.0] - 2026-07-31
631
+
632
+ ### Changed
633
+
634
+ - Published package release.
635
+
636
+ ## [0.15.0-alpha.0] - 2026-07-31
637
+
638
+ ### Changed
639
+
640
+ - Published package release.
641
+
642
+ ## [0.14.0-alpha.0] - 2026-07-31
643
+
644
+ ### Changed
645
+
646
+ - Document and script local gateway development setup
647
+ - Move project list gateway endpoint to `/plan/projects`
648
+
649
+ ## [0.13.0-alpha.0] - 2026-07-31
650
+
651
+ ### Added
652
+
653
+ - Add promotion list
654
+
655
+ ## [0.11.0-alpha.0] - 2026-07-30
656
+
657
+ ### Added
658
+
659
+ - Add environment filter capabilities
660
+
661
+ ## [0.10.0-alpha.0] - 2026-07-30
662
+
663
+ ### Added
664
+
665
+ - Add work CRUD commands
666
+
667
+ ## [0.9.0-alpha.0] - 2026-07-29
668
+
669
+ ### Added
670
+
671
+ - Add promotion conflict resolution commands
672
+
673
+ ## [0.8.0-alpha.0] - 2026-07-29
674
+
675
+ ### Fixed
676
+
677
+ - Fix environment auth status errors
678
+
679
+ ## [0.7.0-alpha.0] - 2026-07-29
680
+
681
+ ### Fixed
682
+
683
+ - Fix npm package README and command artifacts
684
+
685
+ ### Changed
686
+
687
+ - Document Agentia CLI license in README
688
+
689
+ ## [0.6.0-alpha.0] - 2026-07-29
690
+
691
+ ### Changed
692
+
693
+ - Refresh README command reference via oclif
694
+
695
+ ## [0.5.0-alpha.0] - 2026-07-28
696
+
697
+ ### Added
698
+
699
+ - Add job management CLI commands
700
+ - Add metadata refresh commands
701
+
702
+ ## [0.2.0-alpha.0] - 2026-07-28
703
+
704
+ ### Changed
705
+
706
+ - Published package release.
707
+
708
+ ## [0.1.0-alpha.2] - 2026-07-28
709
+
710
+ ### Added
711
+
712
+ - Add environment auth command
713
+ - Add local Agentia MCP server
714
+ - Add Agentia CLI LICENSE.md
715
+ - Add pipeline commands to Agentia CLI
716
+ - Migrate metadata commands to Agentia CLI
717
+
718
+ ### Changed
719
+
720
+ - Reduce duplication in shared Agentia libraries
721
+
722
+ ## [0.1.0-alpha.1] - 2026-07-28
723
+
724
+ ### Changed
725
+
726
+ - Scaffold new CLI using oclif
727
+
728
+ ### Security
729
+
730
+ - Add CICD authentication using CICD API key
731
+
732
+ ### Added
733
+
734
+ - Add environment list command
735
+ - Add project defaults get/set/unset commands
736
+ - Add environment CRUD commands