This repo is a thin fork of qwibitai/nanoclaw customized for OneCLI Cloud users.
It tracks upstream closely — the goal is to stay one commit ahead with only the changes listed below.
Upstream assumes a self-hosted OneCLI gateway running locally (http://127.0.0.1:10254). This fork points everything at OneCLI Cloud (https://app.onecli.sh):
src/config.ts— addsONECLI_API_KEYto env reader and exports it (cloud auth requires an API key, local does not)src/container-runner.tsandsrc/index.ts— passapiKeytonew OneCLI()constructorsetup/SKILL.mdandinit-onecli/SKILL.md— rewritten to:- Skip local gateway install (
curl onecli.sh/install | shremoved, only CLI installed) - Default
ONECLI_URLtohttps://app.onecli.sh - Add
ONECLI_API_KEYsetup flow (dashboard Settings > API Keys) - Authenticate CLI via
onecli auth login --api-key - Use cloud dashboard URLs (
${ONECLI_URL}/connections/secrets) - Remove local-only troubleshooting (port conflicts,
onecli start, gateway polling)
- Skip local gateway install (
All upstream remote references changed from qwibitai/nanoclaw to onecli/nanoclaw across skill files (add-compact, add-emacs, add-ollama-tool, channel-formatting, convert-to-apple-container, update-nanoclaw, update-skills, use-native-credential-proxy).
git fetch upstream
git rebase upstream/main| File | What upstream changes | What we need to keep |
|---|---|---|
src/config.ts |
ONECLI_URL definition, env reader |
Our ONECLI_API_KEY export + no hardcoded localhost default |
src/container-runner.ts |
new OneCLI(...) constructor |
apiKey: ONECLI_API_KEY in constructor |
src/index.ts |
new OneCLI(...) constructor |
apiKey: ONECLI_API_KEY in constructor |
init-onecli/SKILL.md |
OneCLI setup flow, dashboard URLs | Cloud flow: no gateway install, API key auth, cloud URLs |
setup/SKILL.md |
Section 4a (credential system), troubleshooting | Cloud flow: no gateway install, API key auth, cloud URLs |
*.SKILL.md (various) |
Upstream remote URL | onecli/nanoclaw instead of qwibitai/nanoclaw |
- Code (
src/): take upstream's structural changes, layer ourONECLI_API_KEYadditions on top - Skill files: take upstream's new content/instructions, but keep our cloud-oriented language, URLs, and auth flow — never reintroduce local gateway install or
http://127.0.0.1:10254references - Org renames: always resolve to
onecli/nanoclaw