@shllg/emend 0.1.0 → 0.3.0
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 +10 -49
- package/dist/emend.mjs +21531 -19495
- package/dist/publish-worker.mjs +5598 -5138
- package/dist/skills/emend-publish/SKILL.md +15 -7
- package/dist/skills/emend-review/SKILL.md +5 -2
- package/dist/skills/emend-review/references/manifest.md +5 -2
- package/dist/web/assets/App-BGSrPzZU.js +4 -0
- package/dist/web/assets/DiffPane-CnM0c-g-.js +238 -0
- package/dist/web/assets/{app-Bzpxikx1.js → app-CnDYJ1G1.js} +2 -2
- package/dist/web/assets/app-DXKT0r1-.css +2 -0
- package/dist/web/assets/diff-counts-aavca3cx.js +95 -0
- package/dist/web/index.html +2 -2
- package/dist/web/sw.js +1 -1
- package/package.json +1 -1
- package/dist/web/assets/App-DmCsRMr_.js +0 -4
- package/dist/web/assets/DiffPane-DV6oIbim.js +0 -238
- package/dist/web/assets/app-DItdWcRc.css +0 -2
- package/dist/web/assets/diff-counts-BjEBBpbE.js +0 -95
package/README.md
CHANGED
|
@@ -43,8 +43,7 @@ one-time sign-in link. The two `claude plugin` lines add the skills to Claude Co
|
|
|
43
43
|
If `node --version` is older than 24.18 or `git --version` older than 2.44, as on many Linux
|
|
44
44
|
distributions and with Apple's git on macOS, follow step 1 of
|
|
45
45
|
[local.md](https://github.com/shllg/emend/blob/release/docs/setup/local.md#1-install-nodejs-and-git)
|
|
46
|
-
first.
|
|
47
|
-
[Use with sandboxed agents](https://github.com/shllg/emend#use-with-sandboxed-agents) next.
|
|
46
|
+
first.
|
|
48
47
|
|
|
49
48
|
The full walkthrough, with a prompt that lets Claude Code or Codex do it with you, is
|
|
50
49
|
[docs/setup/local.md](https://github.com/shllg/emend/blob/release/docs/setup/local.md).
|
|
@@ -60,7 +59,8 @@ one-prompt setup.
|
|
|
60
59
|
| [One machine](https://github.com/shllg/emend/blob/release/docs/setup/local.md) | You try emend or review agent work on the machine where the agents run. |
|
|
61
60
|
| [Your own hub on Tailscale](https://github.com/shllg/emend/blob/release/docs/setup/hub-tailscale.md) | You have an always-on machine and want to review from your phone and other devices. |
|
|
62
61
|
| [Attach more machines](https://github.com/shllg/emend/blob/release/docs/setup/attach.md) | You run a hub and want the agents on your other machines to publish to it. |
|
|
63
|
-
| [Set up your agents](https://github.com/shllg/emend/blob/release/docs/setup/agents.md) | emend runs and you want Claude Code, Codex or others to use it
|
|
62
|
+
| [Set up your agents](https://github.com/shllg/emend/blob/release/docs/setup/agents.md) | emend runs and you want Claude Code, Codex or others to use it. |
|
|
63
|
+
| [Develop emend from a checkout](https://github.com/shllg/emend/blob/release/docs/setup/development.md) | You change emend itself or run it from a clone. |
|
|
64
64
|
| [Update](https://github.com/shllg/emend/blob/release/docs/setup/update.md) | A new version is out. |
|
|
65
65
|
| [Troubleshooting](https://github.com/shllg/emend/blob/release/docs/setup/troubleshooting.md) | A setup or update step fails. |
|
|
66
66
|
| A hub on your own network (a LAN address or your own HTTPS proxy) | Not supported yet; planned. Today Tailscale is the supported way to reach a hub from other devices. |
|
|
@@ -74,24 +74,14 @@ claude plugin update emend@emend
|
|
|
74
74
|
```
|
|
75
75
|
|
|
76
76
|
With mise, run `mise upgrade npm:@shllg/emend` instead of the `npm` line. If you installed the
|
|
77
|
-
service, run `emend service install` again; it keeps its options.
|
|
77
|
+
service, run `emend service install` again; it keeps its options. Without the service, run
|
|
78
|
+
`emend stop`; the next `emend` starts the new version. If you ran `emend skills install`
|
|
78
79
|
before, run it again. Then restart Claude Code. After `brew upgrade node` or `mise upgrade node`,
|
|
79
80
|
run `emend service install` again too.
|
|
80
81
|
|
|
81
82
|
[docs/setup/update.md](https://github.com/shllg/emend/blob/release/docs/setup/update.md) covers the
|
|
82
83
|
order for a hub and its machines, Node.js upgrades and the phone app.
|
|
83
84
|
|
|
84
|
-
## Use with sandboxed agents
|
|
85
|
-
|
|
86
|
-
Inside an agent's sandbox, `emend publish`, `wait`, `feedback` and `reply` cannot reach the
|
|
87
|
-
emend server or write its state folder, and emend prints a line that points here. Step 3 of
|
|
88
|
-
[docs/setup/agents.md](https://github.com/shllg/emend/blob/release/docs/setup/agents.md#3-use-with-sandboxed-agents)
|
|
89
|
-
says how to let exactly these four commands leave the sandbox, once per machine. Read what that
|
|
90
|
-
allows, and when not to add it, before you do: these commands then run with your full rights.
|
|
91
|
-
Add them only when `emend` on your `PATH` is an install no agent can write, never a development
|
|
92
|
-
checkout. The rules never cover `pair`, `attach` or `detach`, so an agent cannot pair a device or
|
|
93
|
-
attach your machine to a hub.
|
|
94
|
-
|
|
95
85
|
## Uninstall
|
|
96
86
|
|
|
97
87
|
Remove what a setup added with its Undo section: [one machine](https://github.com/shllg/emend/blob/release/docs/setup/local.md#undo)
|
|
@@ -105,40 +95,11 @@ and publishing docs for review.
|
|
|
105
95
|
|
|
106
96
|
## Development
|
|
107
97
|
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
pnpm install
|
|
114
|
-
pnpm install:local
|
|
115
|
-
```
|
|
116
|
-
|
|
117
|
-
If you linked `apps/emend/bin/emend` into a folder on your `PATH` before (the earlier development
|
|
118
|
-
steps and `install.sh` did), remove that link, and stop every emend server that runs from a
|
|
119
|
-
checkout: `pgrep -af '[e]mend.mjs serve'` lists them with their paths (`pgrep -lf` on macOS).
|
|
120
|
-
Otherwise the commands your agents run outside their sandbox, and the server that serves the review
|
|
121
|
-
app, run the checkout's build, which agents can change.
|
|
122
|
-
|
|
123
|
-
With mise on your `PATH`, the package goes to a folder in mise's data folder that `mise link`
|
|
124
|
-
registers as `npm:@shllg/emend@local`; pass `--npm` to use `npm install -g` instead. If `emend` is
|
|
125
|
-
not on your `PATH` yet, the command prints the folder to add. It also restarts an installed
|
|
126
|
-
service, so the new build runs.
|
|
127
|
-
|
|
128
|
-
For Claude Code, add the checkout as a plugin marketplace instead of the GitHub one, never both:
|
|
129
|
-
|
|
130
|
-
```text
|
|
131
|
-
/plugin marketplace add <path to your checkout>
|
|
132
|
-
/plugin install emend@emend
|
|
133
|
-
```
|
|
134
|
-
|
|
135
|
-
Claude Code reads the skills from the checkout's `plugin/` folder, uncommitted changes included. A
|
|
136
|
-
pulled change takes effect at the next session start or after `/reload-plugins`. For other agents,
|
|
137
|
-
run `emend skills install` once; its links point into the installed package.
|
|
138
|
-
|
|
139
|
-
`pnpm verify` runs every check. [AGENTS.md](https://github.com/shllg/emend/blob/main/AGENTS.md)
|
|
140
|
-
holds the working rules. Maintainers: [docs/releasing.md](https://github.com/shllg/emend/blob/main/docs/releasing.md)
|
|
141
|
-
holds the release policy and checklist.
|
|
98
|
+
[Develop emend from a checkout](https://github.com/shllg/emend/blob/release/docs/setup/development.md)
|
|
99
|
+
covers installing from a checkout, the plugin from a checkout and the checks.
|
|
100
|
+
[AGENTS.md](https://github.com/shllg/emend/blob/main/AGENTS.md) holds the working rules.
|
|
101
|
+
Maintainers: [docs/releasing.md](https://github.com/shllg/emend/blob/main/docs/releasing.md) holds
|
|
102
|
+
the release policy and checklist.
|
|
142
103
|
|
|
143
104
|
## License
|
|
144
105
|
|