toyon 0.4.0 → 0.4.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +9 -12
- package/dist/cli.js +1 -1
- package/dist/daemon.js +296 -196
- package/dist/shell/assets/{Editor-CgKsVXHS.js → Editor-BV5mlMUd.js} +4 -4
- package/dist/shell/assets/{XTerm-CMRoVDAh.js → XTerm-vYHVHYnx.js} +1 -1
- package/dist/shell/assets/{cssMode-Dg15kh0f.js → cssMode-DmPPq0RM.js} +1 -1
- package/dist/shell/assets/{freemarker2-CU21n-BA.js → freemarker2-D0jw6qr7.js} +1 -1
- package/dist/shell/assets/{grammar-DGBFIuP2.js → grammar-SjzA6dB3.js} +1 -1
- package/dist/shell/assets/{handlebars-DVAbWe34.js → handlebars-DP51I8rr.js} +1 -1
- package/dist/shell/assets/{html-BkxU7kNX.js → html-lErft7TP.js} +1 -1
- package/dist/shell/assets/{htmlMode-Brl4kLPo.js → htmlMode-B8WYzHvO.js} +1 -1
- package/dist/shell/assets/index-2d0IGh4f.js +232 -0
- package/dist/shell/assets/index-DZ08PVmu.css +1 -0
- package/dist/shell/assets/{javascript-DoIo3Pg8.js → javascript-2o8dwNxB.js} +1 -1
- package/dist/shell/assets/{jsonMode-B9qq6lCy.js → jsonMode-BzyCh8f1.js} +1 -1
- package/dist/shell/assets/{liquid-Cn1aqWby.js → liquid-DwwOicEv.js} +1 -1
- package/dist/shell/assets/{lspLanguageFeatures-C5ez8E_9.js → lspLanguageFeatures-BSPiRlDO.js} +1 -1
- package/dist/shell/assets/{mdx-1MuVz0xd.js → mdx-Dx7gR42C.js} +1 -1
- package/dist/shell/assets/{python-DFhVdcGk.js → python-B09pxq08.js} +1 -1
- package/dist/shell/assets/{razor-BitqUXpg.js → razor-DO8UQZDP.js} +1 -1
- package/dist/shell/assets/{tsMode-loK_YDOL.js → tsMode-1xhdljsc.js} +1 -1
- package/dist/shell/assets/{xml-Cc4ljERX.js → xml-Be6HmYJA.js} +1 -1
- package/dist/shell/assets/{yaml-0hpVC8PU.js → yaml-D4xpEWFo.js} +1 -1
- package/dist/shell/index.html +2 -2
- package/package.json +1 -1
- package/dist/shell/assets/index-DUmxVabc.css +0 -1
- package/dist/shell/assets/index-WHwsRrlj.js +0 -232
package/README.md
CHANGED
|
@@ -4,12 +4,10 @@ Toyon is where you ask for changes to your web app and try them as they happen.
|
|
|
4
4
|
|
|
5
5
|
Each copy runs on your own machine, and the next one is pre-warmed. Works with Claude Code, Codex and OpenCode over the Agent Client Protocol (ACP).
|
|
6
6
|
|
|
7
|
-

|
|
8
|
-
|
|
9
|
-
**Status: pre-alpha, built in the open.** Runs on macOS and Linux. Windows through WSL2 is next. Expect rough edges, and say so in an issue.
|
|
10
|
-
|
|
11
7
|
[How it works](#how-it-works) · [Install](#install) · [Under the hood](#under-the-hood) · [Trust](#trust) · [Uninstall](#uninstall)
|
|
12
8
|
|
|
9
|
+

|
|
10
|
+
|
|
13
11
|
## Why
|
|
14
12
|
|
|
15
13
|
A diff says what changed, not whether the page still looks right. A preview link at the end of a run shows you the result after the agent has stopped, too late to steer it. And with more than one agent going it gets worse: terminal splits, copies of the repo made by hand, dev servers fighting over a port.
|
|
@@ -18,13 +16,11 @@ In Toyon you point at a button in the page and ask for it to be bigger, watch it
|
|
|
18
16
|
|
|
19
17
|
## How it works
|
|
20
18
|
|
|
21
|
-
-
|
|
22
|
-
-
|
|
23
|
-
-
|
|
24
|
-
-
|
|
25
|
-
-
|
|
26
|
-
- **Nothing is kept until you say so.** Only land pushes, and only when you press it.
|
|
27
|
-
- **Your editor stays yours.** Any file opens back in it from its menu.
|
|
19
|
+
- Every idea gets its own running copy of your project.
|
|
20
|
+
- You judge the work by using the app first, then read the change.
|
|
21
|
+
- Watch and steer while it works, or leave and come back to it later.
|
|
22
|
+
- Kick off more work or check in remotely from your phone.
|
|
23
|
+
- Nothing is kept until you press land.
|
|
28
24
|
|
|
29
25
|
Each copy is a branch and a git worktree with your dependencies and `.env` files; one spare per project is kept warm.
|
|
30
26
|
|
|
@@ -56,6 +52,7 @@ toyon ~/projects/app
|
|
|
56
52
|
|
|
57
53
|
You need:
|
|
58
54
|
|
|
55
|
+
- macOS or Linux. Windows through WSL2 is not supported yet.
|
|
59
56
|
- git and Node 18 or newer. Bun comes with the package.
|
|
60
57
|
- An account for the agent you pick: a Claude plan or an Anthropic API key for Claude Code, a ChatGPT plan or an OpenAI API key for Codex, or any provider OpenCode signs into.
|
|
61
58
|
- On Linux, bubblewrap and socat for the agents' sandbox (`sudo apt install bubblewrap socat`). `toyon doctor` checks both and prints the AppArmor profile Ubuntu 24.04 and later ask for.
|
|
@@ -105,7 +102,7 @@ Copies start when you open them, and stop their servers when nobody has looked a
|
|
|
105
102
|
|
|
106
103
|
Toyon can also run on a box you open from your phone, or on your own Fly account with the laptop closed. This moves Toyon and its copies off your laptop; it does not publish your app. None of it passes through a Toyon server; there is none. `toyon remote` puts a box on your own domain behind Caddy or on your Tailscale tailnet, `toyon deploy fly up` builds a machine on your Fly account and prints the link, and the Dockerfile in the package runs on any host with a disk and a port range. A Fly machine measured about $4-6 a month in ordinary use, plus whatever your agents spend, and its first chat can sign in with your Claude plan. [toyon.cloud](https://toyon.cloud) keeps a list of your machines in your browser, and nothing else.
|
|
107
104
|
|
|
108
|
-
These routes are new
|
|
105
|
+
These routes are new. How to set each one up, and what it has been checked with, is in [docs/remote.md](https://github.com/toyon-dev/toyon/blob/main/docs/remote.md).
|
|
109
106
|
|
|
110
107
|
## Disk
|
|
111
108
|
|
package/dist/cli.js
CHANGED
|
@@ -140,7 +140,7 @@ function parseVersion(v) {
|
|
|
140
140
|
// package.json
|
|
141
141
|
var package_default = {
|
|
142
142
|
name: "toyon",
|
|
143
|
-
version: "0.4.
|
|
143
|
+
version: "0.4.1",
|
|
144
144
|
description: "Toyon is where coding agents work on your web app while you check each change by using it. Every chat gets its own running copy with a live preview.",
|
|
145
145
|
license: "MIT",
|
|
146
146
|
type: "module",
|