feat: Programmatic implementation of /gsd:set-profile command (#1007)
* perf: make `/gsd:set-profile`'s implementation more programmatic * perf: run the set-profile script without Claude needing to invoke it - inject the script's output as dynamic context into the set-profile skill, so that Claude doesn't need to invoke it and can simply read + print the output to the user - reference: https://code.claude.com/docs/en/skills#inject-dynamic-context * feat: improve output message for case where model profile wasn't changed * feat: specify haiku model for set-profile command since it's so simple * fix: remove ' (default)' from previousProfile to avoid false negative for didChange * chore: add docstring to MODEL_PROFILES with note about the analogous markdown reference table * chore: delete set-profile workflow file that's no longer needed
This commit is contained in:
@@ -377,6 +377,11 @@ async function main() {
|
||||
break;
|
||||
}
|
||||
|
||||
case "config-set-model-profile": {
|
||||
config.cmdConfigSetModelProfile(cwd, args[1], raw);
|
||||
break;
|
||||
}
|
||||
|
||||
case 'config-get': {
|
||||
config.cmdConfigGet(cwd, args[1], raw);
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user