feat: profile解決とmodel catalogを更新

This commit is contained in:
2026-07-30 22:12:25 +09:00
parent d94ef81b43
commit 3e217adc14
34 changed files with 421 additions and 347 deletions
-1
View File
@@ -363,7 +363,6 @@ mod tests {
display_name: "label".to_string(),
singleton_key: None,
tags: Vec::new(),
role: None,
profile: profile.map(str::to_string),
workspace: BackendWorkerWorkspaceSummary {
visibility: "workspace".to_string(),
+1 -1
View File
@@ -2782,7 +2782,7 @@ fn dashboard_ticket_intake_finish_success_clears_composer_and_reports_pod() {
implementation_worktree_root: PathBuf::from("/tmp/workspace/.worktree"),
role: TicketRole::Intake,
worker_name: "intake-worker".to_string(),
profile: "builtin:default".to_string(),
profile: "builtin:companion".to_string(),
launch_prompt_ref: None,
run_segments: vec![],
},
+2 -2
View File
@@ -699,10 +699,10 @@ description = "Project coder"
.unwrap();
let (choices, default_index) = profile_choices_for_cwd(&project);
assert_eq!(choices[0].selector.as_deref(), Some("builtin:default"));
assert_eq!(choices[0].selector.as_deref(), Some("builtin:companion"));
assert_eq!(
choices[0].label,
"builtin:default — Bundled default Yoi coding profile"
"builtin:companion — Bundled Companion role profile"
);
let project_index = choices
.iter()