Feat/sandbox cli v7#103
Merged
Merged
Conversation
…create/exec - sandbox create: add --skill-role-type (existed/new) and --skill-role-name options for IAM role configuration; automatically create role with AgentKitSkillsSandboxAccess policy when type=new, idempotent if role already exists - sandbox create: add --websearch-apikey option to inject WEB_SEARCH_API_KEY env var; mutually exclusive with --skill-role-type - sandbox create: show websearch hint only when neither role nor apikey is configured - sandbox exec: add --enable-websearch-apikey/--disable-websearch-apikey flag for per-session websearch toggle; warn (not error) when used in role mode; error when used without apikey configured on the tool - sandbox exec: fix websearch config lookup to fetch from remote API when --tool-id is specified and local cache doesn't match, preventing false negatives - session_create: add disable_websearch_apikey param to build_model_envs to erase WEB_SEARCH_API_KEY when disabled
innsd
approved these changes
Jul 1, 2026
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
This MR enhances
agentkit sandboxmodel and WebSearch configuration:--model-base-urlsupport tosandbox create/execfor custom model endpoints and custom--model-providervalues.
OPENCODE_BASE_URL,CODEX_BASE_URL,MODEL_BASE_URL, andANTHROPIC_BASE_URL,while skipping built-in Codex model config/catalog generation.
sandbox create:--skill-role-nameto create or reuse an IAM Role.--websearch-apikeyto injectWEB_SEARCH_API_KEY.sandbox execinherit custom model base URLs from the tool and disable API-key based WebSearch per session via--disable-websearch-apikey./home/gem/workspaceand preserves the top-level source directory during uploads.