Commit 3aa01f5
committed
fix(integration): refresh shared infra on
`integration switch` previously called _install_shared_infra() with
the default force=False, so vendored scripts under
.specify/scripts/{bash,powershell}/ from a prior install were preserved
even when the new target integration required a newer version.
Concretely, an older update-agent-context.sh that did not list 'pi'
(or any newer agent) in its supported-agent table would silently
override the freshly installed wrapper, producing 'Unknown agent
type ...' errors at command time despite the CLI advertising the
integration.
Pass force=True from integration_switch() so shared infrastructure
is rewritten to the bundled CLI version. User content under specs/
is untouched (shared infra is CLI-version-tied, not user content).
Fixes #2293integration switch
1 parent 171b65a commit 3aa01f5
1 file changed
Lines changed: 7 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2381 | 2381 | | |
2382 | 2382 | | |
2383 | 2383 | | |
2384 | | - | |
2385 | | - | |
2386 | | - | |
| 2384 | + | |
| 2385 | + | |
| 2386 | + | |
| 2387 | + | |
| 2388 | + | |
| 2389 | + | |
| 2390 | + | |
2387 | 2391 | | |
2388 | 2392 | | |
2389 | 2393 | | |
| |||
0 commit comments