Bro code#3
Open
Shyboy0499 wants to merge 5 commits into
Open
Conversation
Adding bit more features and to make it useable
Adding more feature
feat: polish round — REPL history, --help examples, model suggestions…
fix: suppress tracing noise for non-OpenAI providers
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.
Overview
This PR completes the full integration of the Skill Pilot provider, implements a complete ecosystem rebrand to
spcode, and introduces new dynamic skill-loading features.To ensure architectural integrity, no "hacks" were used. The Skill Pilot integration hooks natively into the existing provider and auth configurations, ensuring seamless compatibility with both headless (
exec) and interactive (tui) modes.Key Features & Changes
1. The
spcodeRebrandcodextospcode. Updated allpackage.jsonnamespaces to@skill-pilot/spcode.bin/spcode.js..spcodehome directories, andREADME.mddocumentation to reflect the new brand.2. Skill Pilot Provider & Auth Routing
SKILL_PILOT_BASE_URL. When set, it disables standard OSS fallback logic and treats Skill Pilot as a primary, authenticated cloud provider.SKILL_PILOT_API_KEYto the custom provider profile. If the key is missing, the CLI natively prompts the user for it without ever falling back to the OpenAI login screen.ModelsResponseparser. This ensures the/modelTUI command successfully fetches fromhttp://127.0.0.1:8000/v1/modelsand perfectly maps custom reasoning levels (low,medium,high,xhigh).skill-pilotto prevent "thread not found" database crashes during headless execution.3. Dynamic Skill Loading
Added two new CLI arguments to both
execand TUI modes:--skills-dir <DIR>: Specifies the directory scanned forSKILL.mdfiles (defaults to<project>/.agent, falling back to.agents/skills).--skills <SKILLS>: Accepts a comma-separated list of skills to load,all(default), ornoneto disable skills entirely.4. Proprietary Skill Pilot Agent
core/engine/skill_pilot_agent/utilizing@openai/agents.core/bin/skill-pilot-agent.config/ai_providers.json5to routedefault.background_llmtasks to this new agent.Acceptance Criteria Checklist
All provided test cases have been verified locally:
SKILL_PILOT_BASE_URLbehaves as vanilla Codex (OpenAI login).SKILL_PILOT_API_KEY.SKILL_PILOT_API_KEYthrows a connection/auth error without falling back to OpenAI.SKILL_PILOT_BASE_URLis active./modelscommand fetches directly from the Skill Pilot API and accurately displays all custom models and reasoning efforts.