Package Exports
- xibecode
- xibecode/dist/index.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (xibecode) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
XibeCode
AI-powered autonomous coding assistant for your terminal.
Overview
XibeCode is a CLI agent that can read and edit code, run commands, and iterate on tasks from your terminal using LLMs.
Installation
npm install -g xibecodeFrom source:
git clone https://github.com/iotserver24/xibecode
cd xibecode
npm install
npm run build
npm linkRequirements
- Node.js 18+
- Anthropic API key (or compatible provider/base URL)
Quick Start
# Configure once
xibecode config --set-key YOUR_API_KEY
# Interactive mode
xibecode chat
# Autonomous run
xibecode run "Create an Express API with auth"Main Commands
xibecode run
Autonomous coding workflow.
Useful options:
-f, --file <path>prompt from file-m, --model <model>model override--mode <mode>initial agent mode-b, --base-url <url>custom API URL-k, --api-key <key>API key override--provider <provider>anthropicoropenai-d, --max-iterations <number>default150(0= unlimited)-v, --verbose--dry-run--changed-only
xibecode chat
Interactive chat + tool use.
Useful options:
-m, --model <model>-b, --base-url <url>-k, --api-key <key>--provider <provider>--theme <theme>--session <id>
xibecode config
Manage saved config:
--set-key,--set-url,--set-model--show,--reset- MCP helpers:
--list-mcp-servers,--add-mcp-server,--remove-mcp-server
xibecode mcp
MCP server management:
add,list,remove,file,edit,init,reloadsearch,install,login(Smithery integration)
Core Features
- Autonomous multi-step agent loop
- Smart context gathering across related files
- Verified and line-based editing workflows
- Dry-run mode for safe previews
- Git-aware workflows (
--changed-only, checkpoints/reverts) - Test runner integration support
- MCP server integration
- Skill system (built-in + custom markdown skills)
- Session-aware chat and themed terminal UI
Browser Testing (Playwright)
XibeCode includes comprehensive browser automation and testing capabilities powered by Playwright:
- Screenshots - Capture webpage screenshots
- Console Logs - Collect browser console output for debugging
- Visual Regression - Compare screenshots against baselines to detect UI changes
- Accessibility Audits - Check WCAG compliance (alt text, labels, heading hierarchy)
- Performance Metrics - Measure Core Web Vitals (FCP, LCP, CLS, TTI)
- Responsive Testing - Test across multiple viewports (mobile, tablet, desktop)
- Network Monitoring - Capture all network requests during page load
- E2E Tests - Execute Playwright test files
# Example: Test a page's performance
xibecode run "Measure the performance of http://localhost:3000"
# Example: Check accessibility
xibecode run "Run an accessibility audit on the homepage"
# Example: Visual regression test
xibecode run "Take a screenshot and compare against baseline"Project Docs
CHANGELOG.md— release historyFEATURES.md— feature deep divePUBLISHING.md— npm release process
License
Apache-2.0