You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+43-3Lines changed: 43 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,20 +5,60 @@ It is built for agent workflows that need both semantic state and visual artifac
5
5
6
6
## Installation
7
7
8
-
### Global installation
8
+
`agent-terminal` currently supports Node `24.x`.
9
+
Released builds install from npm. For prerelease/private use, the guaranteed install path is a built tarball; direct GitHub installs are best-effort and may still fail in some environments.
10
+
11
+
### npm registry installation
12
+
13
+
#### Global installation
9
14
10
15
```bash
11
16
npm install -g agent-terminal
12
17
agent-terminal version --json
13
18
```
14
19
15
-
### Project installation
20
+
####Project installation
16
21
17
22
```bash
18
23
npm install agent-terminal
19
24
./node_modules/.bin/agent-terminal version --json
20
25
```
21
26
27
+
### Direct GitHub installation
28
+
29
+
```bash
30
+
npm install -g github:coder/agent-terminal
31
+
agent-terminal version --json
32
+
```
33
+
34
+
GitHub installs attempt to build from source via npm's `prepare` hook.
35
+
Use this when you want the latest default-branch snapshot and your npm/git-dependency environment can build native dependencies cleanly.
36
+
37
+
Today, the guaranteed prerelease path is still the built tarball route below.
38
+
The repository's install smoke now treats tarball install as the required path and records the current git-install caveat separately, because native dependencies such as `node-pty` can still fail during npm's git-dependency flow in some environments.
39
+
40
+
If your shell setup injects `mise activate` (or similar trust-checked tooling) into npm lifecycle subprocesses, trust the checkout path first or use the tarball route below.
41
+
42
+
### Private tarball installation
43
+
44
+
When you need a deterministic prerelease artifact before the package is published, prefer a built tarball:
45
+
46
+
```bash
47
+
TARBALL_DIR=$(mktemp -d)
48
+
npm ci
49
+
npm run pack:private -- --pack-destination "$TARBALL_DIR"
"$INSTALL_PREFIX"/bin/agent-terminal version --json
54
+
"$INSTALL_PREFIX"/bin/agent-terminal --home "$(mktemp -d)" doctor --json
55
+
```
56
+
57
+
`npm run pack:private` always rebuilds `dist/` before packing, so the tarball matches the private artifact reviewers should install.
58
+
Keep the tarball route as the guaranteed private-distribution fallback even when GitHub installs are convenient.
59
+
60
+
If `doctor --json` reports a missing Playwright browser cache on a fresh machine, run `npx playwright install chromium` once before renderer-backed workflows.
61
+
22
62
## Quick start
23
63
24
64
```bash
@@ -220,7 +260,7 @@ Useful shortcuts:
220
260
npm run verify
221
261
```
222
262
223
-
That runs formatting, linting, typechecking, unit/e2e tests, and the production build.
263
+
That runs formatting, linting, typechecking, unit/e2e tests, the production build, and packaging/install smoke coverage for the required tarball route plus the current git-dependency behavior/caveat check.
224
264
For contributor workflow and release hygiene, see [`docs/CONTRIBUTING.md`](./docs/CONTRIBUTING.md) and [`docs/RELEASE-PROCESS.md`](./docs/RELEASE-PROCESS.md).
Copy file name to clipboardExpand all lines: docs/RELEASE-PROCESS.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -17,6 +17,8 @@ Run the full repo validation command:
17
17
npm run verify
18
18
```
19
19
20
+
That command now includes the tarball packaging smoke plus a git-install caveat check, so release candidates exercise the guaranteed private-distribution path and record the current git-dependency behavior before publish.
-`install.log`, `version.json`, and `doctor.json` capture the successful install + verification outputs.
19
+
-`install.png`, `version.png`, and `doctor.png` are reviewer-facing screenshots.
20
+
-`install-flow.webm` and `install-flow.cast` are the corresponding terminal recordings.
21
+
22
+
### Git route (`git/`)
23
+
24
+
-`install.log` captures a representative direct git install attempt from this workspace.
25
+
-`install.png` and `install-flow.webm` render that transcript for review.
26
+
-`blocker.md` documents why this workspace could not produce installed-binary `version --json` / `doctor --json` outputs for the git route.
27
+
28
+
## Important review note
29
+
30
+
The tarball route is the fully verified private-distribution path in this bundle.
31
+
The git route evidence is intentionally a blocker transcript rather than a successful install proof: the smoke check now accepts a narrow family of known git-install caveats in environments like this one, while keeping the tarball route as the required passing path.
32
+
That caveat is also reflected in the updated installation docs, which keep the tarball route as the guaranteed fallback.
0 commit comments