- Preserve deterministic direct xCloud command behavior.
- Add AI mode as a safe orchestration layer, not a privileged bypass.
- Ship
@xcloud/clias the default direct-command backend for xCloud Terminal. - Support
xcloud --aias a first-class entrypoint, alongsidexterm --ai. - Default AI mode to
local, using the xCloud AI/tool layer and the user's provider key. - Support
--agent hostedby loadinghttps://github.com/xCloudDev/xcloud-agent-skillsand using the user's Anthropic/OpenAI/OpenRouter token. - Reuse/adapt concepts from
bashar/metro-vps/ai-chatbot-claud-cli-optimized:- YAML/tool catalog metadata
- ReAct loop
- policy/destructive/billing guards
- step telemetry
- large-output reduction
- Keep Laravel app AI code server-side; do not copy the full branch into this repo.
- Bundle/delegate to direct command bridge from
xCloudDev/xCloud-cli. - Expose
xcloud --aiandxterm --aithrough xCloud Terminal. - Tool catalog and schema validation.
- Provider config and model client.
- Local ReAct loop.
- Hosted skills loader for
xCloudDev/xcloud-agent-skills. - Interactive
xterm --aishell. - Hosted xCloud AI backend compatibility after app branch is stable.