harnessed 4.49.1 → 5.0.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-en.md +60 -12
- package/README-zh.md +663 -0
- package/README.md +328 -280
- package/bin/harnessed-check-docs.mjs +4 -0
- package/dist/cli.mjs +4971 -2731
- package/dist/cli.mjs.map +1 -1
- package/dist/index.mjs +1 -1
- package/dist/index.mjs.map +1 -1
- package/dist/schemas/index.mjs +3 -2
- package/dist/schemas/index.mjs.map +1 -1
- package/manifests/SCHEMA.md +5 -0
- package/manifests/skill-packs/gsd.yaml +39 -5
- package/manifests/skill-packs/gstack.yaml +9 -7
- package/manifests/skill-packs/planning-with-files.yaml +9 -1
- package/manifests/skill-packs/ui-ux-pro-max.yaml +15 -1
- package/manifests/tools/playwright-cli.yaml +66 -0
- package/manifests/tools/playwright-test.yaml +7 -5
- package/manifests/tools/webapp-testing.yaml +86 -0
- package/messages/en.json +2 -0
- package/messages/zh-Hans.json +2 -0
- package/package.json +5 -1
- package/schemas/manifest.v1.schema.json +19 -0
- package/workflows/capabilities.yaml +23 -5
- package/workflows/host-primitives.yaml +10 -1
- package/workflows/host-primitives.zh-Hans.yaml +10 -1
- package/workflows/role-prompts.yaml +3 -3
- package/workflows/role-prompts.zh-Hans.yaml +3 -3
package/README-en.md
CHANGED
|
@@ -2,7 +2,9 @@
|
|
|
2
2
|
<img src="./assets/logo.svg" alt="harnessed" width="440">
|
|
3
3
|
</p>
|
|
4
4
|
|
|
5
|
-
**English** | [简体中文](./README.md) | [繁體中文](./README-tw.md) | [日本語](./README-ja.md) | [한국어](./README-ko.md) | [Português (Brasil)](./README-pt-BR.md) | [Türkçe](./README-tr.md) | [Русский](./README-ru.md) | [Tiếng Việt](./README-vi.md) | [ไทย](./README-th.md)
|
|
5
|
+
**English** | [简体中文](./README-zh.md) | [繁體中文](./README-tw.md) | [日本語](./README-ja.md) | [한국어](./README-ko.md) | [Português (Brasil)](./README-pt-BR.md) | [Türkçe](./README-tr.md) | [Русский](./README-ru.md) | [Tiếng Việt](./README-vi.md) | [ไทย](./README-th.md)
|
|
6
|
+
|
|
7
|
+
> Compatibility mirror of the canonical English [README.md](./README.md).
|
|
6
8
|
|
|
7
9
|
> _AI coding harness package manager + composition orchestrator_ — it assembles the best of the open-source ecosystem into one executable engine, wired by the three-layer **BDD → SDD → TDD** methodology.
|
|
8
10
|
|
|
@@ -18,15 +20,7 @@
|
|
|
18
20
|
|
|
19
21
|
## 📦 Quick Install
|
|
20
22
|
|
|
21
|
-
**
|
|
22
|
-
|
|
23
|
-
```bash
|
|
24
|
-
npm install -g harnessed && harnessed setup
|
|
25
|
-
```
|
|
26
|
-
|
|
27
|
-
> Windows PowerShell 5.x does not support `&&` chaining — use `;` or two lines (`npm install -g harnessed; harnessed setup`). bash / zsh / PowerShell 7+ / cmd.exe all work normally.
|
|
28
|
-
|
|
29
|
-
**No Node.js? Standalone binary** — per-platform, self-updates via `harnessed update`:
|
|
23
|
+
**Standalone binary (recommended)** - per-platform, self-updates via `harnessed update`:
|
|
30
24
|
|
|
31
25
|
```bash
|
|
32
26
|
# macOS (Apple Silicon) / Linux (x64)
|
|
@@ -38,6 +32,51 @@ curl -fsSL https://raw.githubusercontent.com/easyinplay/harnessed/main/install.s
|
|
|
38
32
|
irm https://raw.githubusercontent.com/easyinplay/harnessed/main/install.ps1 | iex
|
|
39
33
|
```
|
|
40
34
|
|
|
35
|
+
> The standalone binary embeds its runtime: harnessed itself needs neither external Node.js nor Bun. Upstream components may still require Node/npm, Git, Bun, Python, or browser system libraries.
|
|
36
|
+
|
|
37
|
+
The binary installer offers setup with your consent in interactive sessions. Do not repeat it if it completed successfully. If setup was skipped or failed, or you installed noninteractively, run `harnessed setup`.
|
|
38
|
+
|
|
39
|
+
**Via Bun (secondary recommendation; optional)**:
|
|
40
|
+
|
|
41
|
+
```bash
|
|
42
|
+
bun install -g harnessed && bun run --bun harnessed setup
|
|
43
|
+
```
|
|
44
|
+
|
|
45
|
+
This installs harnessed and runs setup in one step. `setup` defaults to automatic host detection for Claude Code or Codex; `--platform` is not required.
|
|
46
|
+
|
|
47
|
+
`bun add -g harnessed` is an equivalent install command. Bun is required only if you choose this channel, not for the standalone binary or npm channel. Installing with Bun does not select the runtime: the bare `harnessed` shim may still use a Node.js shebang. Keep the explicit Bun runner for subsequent commands:
|
|
48
|
+
|
|
49
|
+
```bash
|
|
50
|
+
# Optional: verification and maintenance
|
|
51
|
+
bun run --bun harnessed --version
|
|
52
|
+
bun run --bun harnessed doctor --host codex
|
|
53
|
+
bun run --bun harnessed status
|
|
54
|
+
bun add -g harnessed@latest
|
|
55
|
+
```
|
|
56
|
+
|
|
57
|
+
Optional advanced override: use `--platform codex` for Codex or `--platform claude` for Claude Code only when you want to select a host manually:
|
|
58
|
+
|
|
59
|
+
```bash
|
|
60
|
+
# Optional: manual host override (not required after installation)
|
|
61
|
+
bun run --bun harnessed setup --platform codex
|
|
62
|
+
```
|
|
63
|
+
|
|
64
|
+
The runtime does not identify the install manager: package updates keep the npm default. Use `bun add -g harnessed@latest` to update a Bun-managed install across CLI versions. Upstream tools still have their own requirements.
|
|
65
|
+
|
|
66
|
+
Only when you explicitly choose to remove a Bun-managed installation, run `bun remove -g harnessed`; do not uninstall another channel automatically.
|
|
67
|
+
|
|
68
|
+
**Via npm (supported alternative; Node.js >= 22 required)**:
|
|
69
|
+
|
|
70
|
+
Bun is not required for this channel; Node.js >= 22 remains supported.
|
|
71
|
+
|
|
72
|
+
```bash
|
|
73
|
+
npm install -g harnessed && harnessed setup
|
|
74
|
+
```
|
|
75
|
+
|
|
76
|
+
> Windows PowerShell 5.x does not support `&&`. For either package channel, run the install command first, then run setup only if installation succeeds. bash / zsh / PowerShell 7+ / cmd.exe support the chain.
|
|
77
|
+
|
|
78
|
+
Choose one install channel, not all three. The Bun and npm commands above include setup; do not repeat it if it completed successfully.
|
|
79
|
+
|
|
41
80
|
🤖 **Or have an AI install it for you** — paste this sentence to Claude Code (or any AI assistant):
|
|
42
81
|
|
|
43
82
|
> Install harnessed for me following the guide at `https://github.com/easyinplay/harnessed/blob/main/INSTALL-WITH-AI.md`
|
|
@@ -54,11 +93,20 @@ The AI will auto-fetch the doc + run the install, handling OS / permissions / PA
|
|
|
54
93
|
|
|
55
94
|
The shortest path from zero to a running workflow:
|
|
56
95
|
|
|
96
|
+
Step 1 is a prompt inside your host, not a shell command. In **Claude Code**, use:
|
|
97
|
+
|
|
98
|
+
```text
|
|
99
|
+
/auto "your first requirement"
|
|
57
100
|
```
|
|
58
|
-
|
|
59
|
-
|
|
101
|
+
|
|
102
|
+
In **Codex**, use:
|
|
103
|
+
|
|
104
|
+
```text
|
|
105
|
+
$auto "your first requirement"
|
|
60
106
|
```
|
|
61
107
|
|
|
108
|
+
Both start the default end-to-end workflow after setup for that host. The shell examples below use the binary/npm channel; for a Bun-managed install, replace the leading `harnessed` with `bun run --bun harnessed`.
|
|
109
|
+
|
|
62
110
|
```bash
|
|
63
111
|
# 2. Lost? Run harnessed with no arguments — it tells you where you are + what's next
|
|
64
112
|
harnessed
|