Repository navigation
feat(cli): add CLI Apps for CLI-Anything integrations - #3963
Merged
Merged
Conversation
Re-bin
force-pushed
the
codex/cli-apps-mvp
branch
5 times, most recently
from
May 22, 2026 16:14
f7337c0 to
dcedef8
Compare
Re-bin
marked this pull request as ready for review
May 22, 2026 16:21
Re-bin
force-pushed
the
codex/cli-apps-mvp
branch
from
May 22, 2026 16:27
dcedef8 to
1a344aa
Compare
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.
Summary
This PR adds a first-pass CLI Apps capability surface for nanobot, backed by the official CLI-Anything registry and public registry.
The goal is to let users install app-specific CLI adapters from Settings, mention installed apps with
@appin chat, and give the agent a controlledrun_cli_apptool for those installed adapters.What Changed
run_cli_apptool that only runs installed registry CLIs through argv subprocess execution.@appmentions in chat, including app logos/effects in the composer, message transcript, and tool activity UI.CLI-Anything Integration
cli-anything-hubat runtime.SKILL.mdcontent is used when available from trusted CLI-Anything paths; otherwise nanobot generates a small fallback skill from registry metadata.Safety / Scope
pip,npm,brew,uv, andbundledstrategies and disables generic shell/script install commands.SKILL.mdpaths, and installed state writes use atomic replace.Validation
/tmp/nanobot-cli-apps-venv/bin/python -m pytest -q(3555 passed, 3 skipped)/tmp/nanobot-cli-apps-venv/bin/python -m pytest tests/cli_apps tests/tools/test_tool_loader.py tests/agent/test_context_builder.py tests/channels/test_websocket_http_routes.py -q(125 passed)cd webui && bun run test(189 passed)cd webui && bun run builddcedef80:test (ubuntu-latest, 3.13)andtest (ubuntu-latest, 3.14)passed.--help, select@smoke-cliwith Tab, run through the agent, uninstall, refresh, and confirm uninstalled CLIs no longer appear in@suggestions.