| commit | e2a8c2f1fae1f8e3162b2533d27825e1bf800574 | [log] [tgz] |
|---|---|---|
| author | Pokey Rule <755842+pokey@users.noreply.github.com> | Wed Apr 23 15:09:25 2025 +0100 |
| committer | Pokey Rule <755842+pokey@users.noreply.github.com> | Wed Apr 23 15:09:49 2025 +0100 |
| tree | 4dcdd7de679c90a4d3ec79b47111ce5e67fd07b2 | |
| parent | d140295fa7d794f5b30feb4eee2f45f9cc9ff383 [diff] |
webui: Improve dx For local development, switch to Vite and update web components for improved demo experience. Note that we haven't changed how we bundle when we're actually running in sketch; that's still the go/esbuild in-memory setup. This just changes demo dev setup to get breakpoints working and a functioning full sketch-app-shell. We still need to add some mock data, but this is a start - Introduced `vite.config.mts` for Vite setup with hot module reloading. - Updated `package.json` and `package-lock.json` to include Vite and related plugins. - Refactored demo scripts to utilize Vite for local development. - Created `launch.json` for VSCode debugging configuration. - Enhanced `Makefile` with a new demo task. - Improved styling and structure in demo HTML and CSS files. - Implemented `aggregateAgentMessages` function for message handling in web components.
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/colima for containers.
macOS: brew install colima linux: apt install docker.io (or equivalent for your distro)
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/2xG3KEG3
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!)