Commit c1bf1f4
committed
feat(setup:skills): prompt to overwrite existing skills
When running interactively, detect already-installed skills and prompt
the user to overwrite them rather than requiring the --update flag
up front. Non-interactive behavior (--force, --update, --json)
is preserved.
Widen isSkillInstalled options to include the optional directory
override so the target-path check matches the installer's resolution
when --directory is provided.1 parent 35e9748 commit c1bf1f4
3 files changed
Lines changed: 37 additions & 2 deletions
File tree
- .changeset
- packages
- b2c-cli/src/commands/setup
- b2c-tooling-sdk/src/skills
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| 19 | + | |
19 | 20 | | |
20 | 21 | | |
21 | 22 | | |
| |||
305 | 306 | | |
306 | 307 | | |
307 | 308 | | |
| 309 | + | |
| 310 | + | |
| 311 | + | |
| 312 | + | |
| 313 | + | |
| 314 | + | |
| 315 | + | |
| 316 | + | |
| 317 | + | |
| 318 | + | |
| 319 | + | |
| 320 | + | |
| 321 | + | |
| 322 | + | |
| 323 | + | |
| 324 | + | |
| 325 | + | |
| 326 | + | |
| 327 | + | |
| 328 | + | |
| 329 | + | |
| 330 | + | |
| 331 | + | |
| 332 | + | |
| 333 | + | |
| 334 | + | |
| 335 | + | |
| 336 | + | |
308 | 337 | | |
309 | 338 | | |
310 | 339 | | |
| |||
313 | 342 | | |
314 | 343 | | |
315 | 344 | | |
316 | | - | |
| 345 | + | |
317 | 346 | | |
318 | 347 | | |
319 | 348 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
88 | 88 | | |
89 | 89 | | |
90 | 90 | | |
91 | | - | |
| 91 | + | |
92 | 92 | | |
93 | 93 | | |
94 | 94 | | |
| |||
0 commit comments