Repository navigation
Commit 39cf3a7
feat(copilot): add --no-model-invocation integration option (#5118)
* feat(copilot): add --no-model-invocation integration option
`specify init --integration copilot --integration-options="--no-model-invocation"`
writes `disable-model-invocation: true` on the core command skills in the
skills layout (#2654). VS Code documents the field as requiring manual `/`
invocation; Copilot CLI docs do not list it. The default is unchanged, the
option persists through integration.json so `integration upgrade` reapplies
it, extension skills stay model-invocable, and `--commands` ignores it.
Confined to the Copilot integration, its tests and docs.
Assisted-by: Claude Code (claude-sonnet-5-5)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01XhaPZg7kBwheHtH9wf2AZv
* docs(copilot): record Copilot CLI behaviour of --no-model-invocation
Assisted-by: Claude Code (claude-sonnet-5-5)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01XhaPZg7kBwheHtH9wf2AZv
* fix(copilot): reset model-invocation flag when event emission fails
Move emit_events() inside the protected block in setup() so a failure
while installing native hooks no longer leaves _disable_model_invocation
set for later core-skill rendering in the same process.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_015w5WirGUspLsYEpCkaHWxV
* Update documentation on option effects with commands
Clarify the effect of the option in commands layout.
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
* docs(copilot): warn that the --skills migration drops stored options
The documented commands-to-skills migration passes --integration-options,
which replaces all stored options. A stored --no-model-invocation is
dropped without warning and the skills become model-invocable, so say so
where the migration command is documented.
Assisted-by: Claude Code (model: claude-opus-5-5, autonomous)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_015w5WiqwEFQkgenh2YdQLV8
---------
Co-authored-by: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>1 parent 738fc22 commit 39cf3a7
3 files changed
Lines changed: 426 additions & 12 deletions
File tree
- docs/integrations
- src/specify_cli/integrations/copilot
- tests/integrations
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | | - | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
26 | 70 | | |
27 | 71 | | |
28 | 72 | | |
| |||
39 | 83 | | |
40 | 84 | | |
41 | 85 | | |
42 | | - | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
43 | 89 | | |
44 | 90 | | |
45 | 91 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
178 | 178 | | |
179 | 179 | | |
180 | 180 | | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
181 | 189 | | |
182 | 190 | | |
183 | 191 | | |
| |||
299 | 307 | | |
300 | 308 | | |
301 | 309 | | |
| 310 | + | |
| 311 | + | |
| 312 | + | |
| 313 | + | |
| 314 | + | |
| 315 | + | |
| 316 | + | |
| 317 | + | |
| 318 | + | |
| 319 | + | |
| 320 | + | |
302 | 321 | | |
303 | 322 | | |
304 | 323 | | |
| |||
482 | 501 | | |
483 | 502 | | |
484 | 503 | | |
| 504 | + | |
| 505 | + | |
| 506 | + | |
| 507 | + | |
| 508 | + | |
| 509 | + | |
| 510 | + | |
| 511 | + | |
| 512 | + | |
| 513 | + | |
| 514 | + | |
| 515 | + | |
| 516 | + | |
| 517 | + | |
| 518 | + | |
| 519 | + | |
| 520 | + | |
| 521 | + | |
| 522 | + | |
| 523 | + | |
| 524 | + | |
| 525 | + | |
| 526 | + | |
| 527 | + | |
| 528 | + | |
| 529 | + | |
| 530 | + | |
| 531 | + | |
| 532 | + | |
| 533 | + | |
| 534 | + | |
| 535 | + | |
| 536 | + | |
| 537 | + | |
| 538 | + | |
| 539 | + | |
| 540 | + | |
| 541 | + | |
| 542 | + | |
| 543 | + | |
| 544 | + | |
| 545 | + | |
| 546 | + | |
| 547 | + | |
| 548 | + | |
| 549 | + | |
| 550 | + | |
| 551 | + | |
| 552 | + | |
| 553 | + | |
| 554 | + | |
| 555 | + | |
485 | 556 | | |
486 | 557 | | |
487 | 558 | | |
488 | 559 | | |
489 | 560 | | |
490 | 561 | | |
| 562 | + | |
| 563 | + | |
| 564 | + | |
| 565 | + | |
| 566 | + | |
491 | 567 | | |
492 | | - | |
| 568 | + | |
| 569 | + | |
| 570 | + | |
| 571 | + | |
| 572 | + | |
| 573 | + | |
| 574 | + | |
| 575 | + | |
493 | 576 | | |
494 | 577 | | |
495 | 578 | | |
| |||
506 | 589 | | |
507 | 590 | | |
508 | 591 | | |
509 | | - | |
510 | | - | |
511 | | - | |
512 | | - | |
513 | | - | |
514 | | - | |
515 | | - | |
516 | | - | |
517 | | - | |
| 592 | + | |
| 593 | + | |
518 | 594 | | |
| 595 | + | |
| 596 | + | |
| 597 | + | |
| 598 | + | |
| 599 | + | |
| 600 | + | |
| 601 | + | |
| 602 | + | |
| 603 | + | |
| 604 | + | |
| 605 | + | |
| 606 | + | |
| 607 | + | |
| 608 | + | |
| 609 | + | |
519 | 610 | | |
520 | 611 | | |
521 | 612 | | |
| |||
0 commit comments