| commit | a23587b969adfacca40bd443b74fa37d2d91dc79 | [log] [tgz] |
|---|---|---|
| author | Josh Bleecher Snyder <josharian@gmail.com> | Wed May 07 12:42:53 2025 +0000 |
| committer | Josh Bleecher Snyder <josharian@gmail.com> | Wed May 07 14:00:16 2025 -0700 |
| tree | ce1bac36e1e50390e14f1e3a6c7d1543c5f5dbd7 | |
| parent | 07e98cc3bbb33571af4f30b402c611ded849a323 [diff] |
cmd/sketch: make browser flag default behavior conditional on one-shot mode - If the flag is explicitly set (either true or false), respect that choice - If the flag is not set: - In normal mode, default to true (open browser) - In one-shot mode, default to false (don't open browser) This change prevents the browser from opening automatically when in one-shot mode unless explicitly requested with -open=true. Co-Authored-By: sketch <hello@sketch.dev>
Sketch is an agentic coding tool focused on the Go programming language. Sketch runs in your terminal, has a web UI, understands your code, and helps you get work done. To keep your environment pristine, sketch starts a docker container and outputs its work onto a branch in your host git repository.
To get started:
go install sketch.dev/cmd/sketch@latest sketch
Currently sketch runs on macOS and linux. It uses docker for containers.
macOS: brew install colima (or an equivalent, like Docker Desktop or Orbstack) linux: apt install docker.io (or equivalent for your distro) WSL2: install Docker Desktop for Windows (docker entirely inside WSL2 is tricky)
The sketch.dev service is used to provide access to an LLM service and give you a way to access the web UI from anywhere.
We have a discord server to discuss sketch.
Join if you want! https://discord.gg/6w9qNRUDzS
See CONTRIBUTING.md
Sketch is open source. It is right here in this repository! Have a look around and mod away.
If you want to run sketch entirely without the sketch.dev service, you can set the flag -skaband-addr="" and then provide an ANTHROPIC_API_KEY environment variable. (More LLM services coming soon!)