-
Notifications
You must be signed in to change notification settings - Fork 397
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
feat: allow for multiple values in cli options for adding extensions #1070
base: main
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
curious does this also work?
--with-builtin developer --with-builtin memory
or is it only the comma separated version?
extension: Option<String>, | ||
builtin: Option<String>, | ||
extensions: Vec<String>, | ||
builtin: Vec<String>, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: lets name this builtins
to be consistent with extensions
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: add example to using-extensions.md
doc
@kalvinnchau just tried it, and it works with both appraches |
@angiejones made some documentation updates. feel free to adjust |
|
Currently, you can only specify one extension on the cli through each of the
--with-builtin
and--with-extension
options:goose session --with-extension "npx -y @modelcontextprotocol/server-memory" --with-builtin "developer"
. This PR extends the cli to allow for multiple values to be specified for each of these options:goose session --with-builtin developer,memory --with-extension "npx -y @modelcontextprotocol/server-memory" --with-extension "npx -y @modelcontextprotocol/server-github"
This enables running goose in "headless" mode without modifying configurations and adding extensions on the fly