mirror of
https://github.com/Sea-Haven-Industries/open-swe.git
synced 2026-09-30 18:33:15 +00:00
* feat: update cli for local * feat: file diff formatting * fix: udate diff format * fix: show green/red diffs * fix: modifications * feat: str based replacement * feat: update streaming to allow submissions * feat: traces * fix: wrap text * feat: update cli * fix: remove json * fix: remove write fill diff * fix: mods * fix: updates to logging * fix: add trace replay service * feat: update logs * fix: remove debugging * fix: lint * fix: unused vars * fix: updates * fix: formatting * fix: update streaming value * fix: replace constants * feat: mods * nit: change interrupt * nit: remove question |
||
|---|---|---|
| .. | ||
| src | ||
| .env.example | ||
| eslint.config.js | ||
| package.json | ||
| README.md | ||
| tsconfig.json | ||
Open SWE CLI
⚠️ Under Development
This CLI is currently under active development and may contain bugs or incomplete features.
A command-line interface for Open SWE that provides a terminal-based chat experience to interact with the autonomous coding agent. Built with React and Ink, it offers real-time streaming of agent logs and works directly on your local codebase without requiring GitHub authentication.
Documentation
Development
- Install dependencies:
yarn install - Create a
.envfile and setOPEN_SWE_LOCAL_PROJECT_PATHto point to an existing git repository:echo "OPEN_SWE_LOCAL_PROJECT_PATH=/path/to/your/git/repository" > .env - Build the CLI:
yarn build - Run the CLI:
yarn cli
Usage
Run the CLI and start chatting with the agent about your local codebase:
yarn cli
The CLI will:
- Start in local mode (no authentication required)
- Work directly on files in your current directory
- Provide interactive chat with the Open SWE agent
- Stream real-time logs and responses
Prerequisites
- An existing git repository that you want to work on
- The repository must be initialized with git and have at least one commit
Features
- Local Mode Only: Works directly on your local codebase without GitHub integration
- Real-time Streaming: See agent logs and responses as they happen
- Interactive Chat: Type your requests and get immediate feedback
- Plan Approval: Review and approve/deny proposed plans before execution