Repository navigation
Unify Source Control action permissions and card layout #30449
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
brennanb2025
merged 72 commits into
main
from
brennan/sta-11102-chat-ui-launch-ignores-model-argument
Oct 26, 2026
Merged
Changes from all commits
Commits
Show all changes
72 commits
Select commit
Hold shift + click to select a range
bc8b39a
Source control actions start chats and terminals on their saved model
brennanb2025 268f78c
Merge remote-tracking branch 'origin/main' into brennan/sta-11102-cha…
brennanb2025 d3f1a6e
Name the model in the repository override note
brennanb2025 b3de904
Type the dialog's model hand-off; keep Agent in English in Japanese copy
brennanb2025 58a03f2
fix: preserve action chat model choices through launch
brennanb2025 67e02bc
Preserve action selection ownership across chat launches
brennanb2025 27d7e93
Keep terminal host contract fixtures aligned with preflight
brennanb2025 b1ec857
fix: wait for action Settings agent inventory
brennanb2025 990f0ba
Merge main into action chat launch fixes
brennanb2025 ef198aa
fix: consolidate direct agent routing imports
brennanb2025 b2d6aa1
fix: use standard action option labels
brennanb2025 b9c66df
fix: align action launch contracts with shared types
brennanb2025 9841b88
fix: sync action option localization metadata
brennanb2025 c3dc7bf
test: provide action Settings inventory in mounted fixtures
brennanb2025 4cbe2e6
Keep action options row height stable while loading
brennanb2025 efe329d
Merge remote-tracking branch 'origin/main' into brennan/sta-11102-cha…
brennanb2025 6c7a7d9
Let each Source Control action choose its chat permission mode
brennanb2025 3cadfcf
Merge remote-tracking branch 'origin/main' into brennan/sta-11102-cha…
brennanb2025 ec6b407
fix(native-chat): leave older hosts their own permission mode and kee…
brennanb2025 663ce7f
fix(settings): reserve one options row while loading an action with n…
brennanb2025 96d88d6
fix(native-chat): keep the create options mode a checked literal type
brennanb2025 0e81f75
fix(settings): share verified action option fields
brennanb2025 773d306
Merge current main into action options fix
brennanb2025 f05ba6c
fix(settings): keep action selectors on standard typography
brennanb2025 ad8ce46
Merge current main into action launch options
brennanb2025 e93fdfc
Merge remote-tracking branch 'origin/main' into brennan/sta-11102-cha…
brennanb2025 5a914f5
Keep the launch files under their length limits after the main merge
brennanb2025 ea5c913
One action settings section for chat and terminal launches
brennanb2025 eee1ff5
Merge remote-tracking branch 'origin/main' into brennan/sta-11102-cha…
brennanb2025 9509c76
fix(source-control-ai): one terminal projection for saved action choices
brennanb2025 3f7de64
fix(source-control-ai): an edited repository action saves complete
brennanb2025 d91a0eb
fix(settings): style the Extra CLI arguments toggle through Button's …
brennanb2025 877891f
fix: keep saved action and restart launch recipes consistent
brennanb2025 0b7df87
fix: describe inherited arguments and chat-only permissions accurately
brennanb2025 57f0d06
Merge remote-tracking branch 'origin/main' into brennan/sta-11102-cha…
brennanb2025 505317a
test: check repository action settings fixture type
brennanb2025 d91139d
test: map saved action options into terminal compiler inputs
brennanb2025 36572cc
fix: retain saved action controls during agent detection
brennanb2025 cb256a4
Merge pinned main into action launch preferences
brennanb2025 5720cdd
fix(i18n): retire obsolete Portuguese action labels
brennanb2025 5cf3ada
test: align folder launch fallback mock with outcome export
brennanb2025 3cb6845
Merge main into saved action launch preferences
brennanb2025 aaeafd2
Merge origin/main into saved action launch preferences
brennanb2025 fdf410a
Merge origin/main into sta-11102 chat launch model branch
brennanb2025 2c22172
fix: carry resolved connector launch intent and mode together
brennanb2025 f44a2e2
test: pin shared action launch branches to recorded agent output
brennanb2025 97093ab
test: preserve saved source control choices through detection and mig…
brennanb2025 235430a
Merge main into saved agent launch preferences
brennanb2025 93fbd53
test: align launch fixtures with integrated result contract
brennanb2025 3300d51
Merge main to clear final integration conflict
brennanb2025 978c60a
test: retain recipe and restart contracts after main integration
brennanb2025 f997db4
Merge main while preserving saved agent launch choices
brennanb2025 660243e
Merge main and preserve action launch permission precedence
brennanb2025 abe3fa2
Unify Source Control action permission settings
brennanb2025 b7fde11
Keep native Ask copy with its owning change
brennanb2025 556ff0d
Merge main into Source Control launch settings
brennanb2025 a6896a5
Preserve action drafts and old-host permission intent
brennanb2025 7805b18
Consume rejected Source Control action saves
brennanb2025 6a9667d
Merge main to resolve Settings test conflicts
brennanb2025 e89a051
Follow the moved Settings persistence fixture
brennanb2025 4b1e5fe
Keep permission integration contracts in the cross-version test project
brennanb2025 03d298d
Include the action permission inheritance label in English catalogs
brennanb2025 5f39eae
Align launch contracts with shared permission recipes
brennanb2025 b3db16d
Merge main and preserve compiled terminal resume inputs
brennanb2025 1d78cad
Keep Source Control action controls within their Settings columns
brennanb2025 cfbcc5b
Use primitive variants for compact action settings controls
brennanb2025 654bfa5
Show action arguments only for terminal defaults and widen recipe rows
brennanb2025 31f5a68
Merge main and preserve explicit Source Control chat choices
brennanb2025 00bd1fb
Apply terminal-only action arguments visibility to repository overrides
brennanb2025 be14df4
Align action permission control with model controls
brennanb2025 2acf269
Use shared settings label for action permissions
brennanb2025 ea508af
Hide action model controls until argument migration ships
brennanb2025 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,38 @@ | ||
| import type { AgentLaunchIntent } from '../../shared/agent-launch-intent' | ||
| import { workspaceKindForLaunchTarget } from '../../shared/workspace-launch-kind' | ||
| import { | ||
| decideAgentLaunchMode, | ||
| readAgentLaunchModeSettings, | ||
| DEFAULT_LAUNCH_VOCABULARY, | ||
| type AgentLaunchModeReceipt, | ||
| type AgentLaunchModeVocabulary | ||
| } from './agent-launch-mode' | ||
|
|
||
| /** The same preflight is used for admission and execution, before workspace creation. */ | ||
| export function decideAgentLaunchIntentMode(execution: { | ||
| intent: AgentLaunchIntent | ||
| runtime: Parameters<typeof readAgentLaunchModeSettings>[0] | ||
| terminalOnly?: boolean | ||
| callerRendersStructured?: boolean | ||
| vocabulary?: AgentLaunchModeVocabulary | ||
| }): AgentLaunchModeReceipt { | ||
| const { intent, runtime } = execution | ||
| return decideAgentLaunchMode({ | ||
| placement: { | ||
| agent: intent.agent, | ||
| workspaceKind: workspaceKindForLaunchTarget(intent.target), | ||
| ...(intent.reuseTerminal ? { terminal: intent.reuseTerminal.handle } : {}), | ||
| ...(intent.cwd ? { cwd: intent.cwd } : {}), | ||
| ...(intent.target.kind === 'existing' && intent.target.workspacePath | ||
| ? { workspacePath: intent.target.workspacePath } | ||
| : {}), | ||
| ...(execution.callerRendersStructured === false ? { callerRendersStructured: false } : {}) | ||
| }, | ||
| settings: execution.terminalOnly | ||
| ? undefined | ||
| : readAgentLaunchModeSettings(runtime, intent.nativeChatDefault), | ||
| ...(execution.terminalOnly ? { terminalOnly: true } : {}), | ||
| ...(intent.surface ? { surface: intent.surface } : {}), | ||
| vocabulary: execution.vocabulary ?? DEFAULT_LAUNCH_VOCABULARY | ||
| }) | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.