feat: support configurable non-Claude runtimes#663
feat: support configurable non-Claude runtimes#663stakeswky wants to merge 1 commit intoqwibitai:mainfrom
Conversation
|
I'm trying to install with this PR. Is there an equivalent to running |
|
Great question — for this PR there isn’t a dedicated -style wizard for yet.\n\nCurrent equivalent is:\n1. Configure for the target group\n2. Provide the runtime credentials in (as documented by runtime secret mapping)\n3. Start/restart NanoClaw normally so the container picks up the runtime\n\nSo yes, the Claude-style guided setup flow is still missing for non-Claude runtimes right now. I’ll track this as follow-up UX work so onboarding for can be as smooth as Claude . |
|
Thanks for flagging this — yes, your understanding is correct. For this PR there is currently no non-Claude equivalent of running Current path is manual:
So the guided onboarding flow is still Claude-specific today. We should add a follow-up onboarding/setup flow for |
|
nevermind. I see that opencode supports claude skills as well. But they are not loaded by default. I think we just need to modify the readme for tools that support claude skills. In my case, on openrouter, I just needed to run |
|
Thanks for confirming, and great catch 🙏\n\nYou’re right that the current README could make the Claude-skills path clearer for non-Claude runtimes. I’ll follow up by tightening the docs around:\n- which runtimes support Claude skills\n- default loading behavior\n- a quick-start example for OpenRouter users\n\nAppreciate you validating this flow in real usage. |
|
@stakeswky This would be really cool to support. How well has it been tested? It looks a bit simple - amazing if it works but I think it needs stress testing to confirm. Also, I'm not sure configurable selection of runtime is the right way to go. This requires a unified interface but the underlying agents don't all support the same feature set. I think to get the full benefit of each agent, the user needs to choose the agent they want to run and have an installation that's customized for that agent and gets all the benefits. Open though to being convinced otherwise if there are clear and common use cases where you need to have different agents runtimes in the same installation |
Closes #80
Summary
This PR adds configurable multi-runtime support so NanoClaw is no longer hard-wired to Claude only.
What changed
containerConfig.runtime?: 'claude' | 'codex' | 'gemini' | 'opencode'src/agent-runtime.ts):claudefallback)src/index.ts).env(src/container-runner.ts)claudecodex/gemini/opencode@openai/codex,@google/gemini-cli,opencode-aiBackward compatibility
containerConfig.runtimeis missing or invalid, NanoClaw defaults toclaude.Validation
npm run build✅npm test✅ (302 tests passing)