harnessed 4.32.0 → 4.32.2
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 +12 -18
- package/dist/cli.mjs +22 -1
- package/dist/cli.mjs.map +1 -1
- package/dist/index.mjs +1 -1
- package/dist/index.mjs.map +1 -1
- package/messages/en.json +4 -0
- package/messages/zh-Hans.json +4 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -99,7 +99,15 @@ Native agents give you primitives; harnessed wires them into a methodology. Wher
|
|
|
99
99
|
|
|
100
100
|
## 📦 Quick Install
|
|
101
101
|
|
|
102
|
-
**
|
|
102
|
+
**Via npm** (recommended — both channels are first-class and stay in sync):
|
|
103
|
+
|
|
104
|
+
```bash
|
|
105
|
+
npm install -g harnessed && harnessed setup
|
|
106
|
+
```
|
|
107
|
+
|
|
108
|
+
> 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.
|
|
109
|
+
|
|
110
|
+
**No Node.js? Standalone binary** — per-platform, self-updates via `harnessed update`:
|
|
103
111
|
|
|
104
112
|
```bash
|
|
105
113
|
# macOS (Apple Silicon) / Linux (x64)
|
|
@@ -111,14 +119,6 @@ curl -fsSL https://raw.githubusercontent.com/easyinplay/harnessed/main/install.s
|
|
|
111
119
|
irm https://raw.githubusercontent.com/easyinplay/harnessed/main/install.ps1 | iex
|
|
112
120
|
```
|
|
113
121
|
|
|
114
|
-
**Or via npm** (both channels are first-class and stay in sync):
|
|
115
|
-
|
|
116
|
-
```bash
|
|
117
|
-
npm install -g harnessed && harnessed setup
|
|
118
|
-
```
|
|
119
|
-
|
|
120
|
-
> 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.
|
|
121
|
-
|
|
122
122
|
🤖 **Or have an AI install it for you** — paste this sentence to Claude Code (or any AI assistant):
|
|
123
123
|
|
|
124
124
|
> Install harnessed for me following the guide at `https://github.com/easyinplay/harnessed/blob/main/INSTALL-WITH-AI.md`
|
|
@@ -135,19 +135,13 @@ The AI will auto-fetch the doc + run the install, handling OS / permissions / PA
|
|
|
135
135
|
|
|
136
136
|
The shortest path from zero to a running workflow:
|
|
137
137
|
|
|
138
|
-
```bash
|
|
139
|
-
# 1. Install (pick a channel — see Quick Install above)
|
|
140
|
-
npm install -g harnessed && harnessed setup
|
|
141
|
-
# or binary (no Node.js): curl -fsSL https://raw.githubusercontent.com/easyinplay/harnessed/main/install.sh | bash && harnessed setup
|
|
142
|
-
```
|
|
143
|
-
|
|
144
138
|
```
|
|
145
|
-
#
|
|
139
|
+
# 1. Inside Claude Code — kick off your first workflow
|
|
146
140
|
/auto "your first requirement" # newcomer default: runs all stages end-to-end
|
|
147
141
|
```
|
|
148
142
|
|
|
149
143
|
```bash
|
|
150
|
-
#
|
|
144
|
+
# 2. Lost? Run harnessed with no arguments — it tells you where you are + what's next
|
|
151
145
|
harnessed
|
|
152
146
|
# → you-are-here dashboard (active phase + per-step status) + a NEXT: auto|manual|done line
|
|
153
147
|
# no need to remember status / next / resume — one command (comet `/comet` analog, read-only)
|
|
@@ -155,7 +149,7 @@ harnessed
|
|
|
155
149
|
```
|
|
156
150
|
|
|
157
151
|
```bash
|
|
158
|
-
#
|
|
152
|
+
# 3. Resume any time after an interruption
|
|
159
153
|
harnessed # same you-are-here view
|
|
160
154
|
harnessed resume # continue from the latest checkpoint
|
|
161
155
|
```
|
package/dist/cli.mjs
CHANGED
|
@@ -38,7 +38,7 @@ var init_package = __esm({
|
|
|
38
38
|
"package.json"() {
|
|
39
39
|
package_default = {
|
|
40
40
|
name: "harnessed",
|
|
41
|
-
version: "4.32.
|
|
41
|
+
version: "4.32.2",
|
|
42
42
|
description: "AI coding harness package manager + composition orchestrator",
|
|
43
43
|
type: "module",
|
|
44
44
|
license: "Apache-2.0",
|
|
@@ -1869,6 +1869,10 @@ var init_en = __esm({
|
|
|
1869
1869
|
"uninstall.unified.removed_state_dir": " removed ~/.claude/harnessed/",
|
|
1870
1870
|
"uninstall.unified.partial_failure": "\n{{count}} item(s) could not be removed (permission denied or already gone):",
|
|
1871
1871
|
"uninstall.unified.complete": "uninstall complete \u2014 harnessed's own files have been removed",
|
|
1872
|
+
"uninstall.unified.cli_hint_header": "\nto remove the harnessed CLI itself (the step above did not \u2014 it only cleared setup files):",
|
|
1873
|
+
"uninstall.unified.cli_hint_binary": " binary: delete {{path}}\n then remove {{dir}} from your PATH",
|
|
1874
|
+
"uninstall.unified.cli_hint_npm": " npm: npm uninstall -g harnessed",
|
|
1875
|
+
"uninstall.unified.cli_hint_other": " installed both ways? remove the other too \u2014 npm: 'npm uninstall -g harnessed' / binary: delete the exe + its bin dir from PATH",
|
|
1872
1876
|
"gc.invalid_duration": "error: invalid --older-than '{{value}}'",
|
|
1873
1877
|
"gc.invalid_duration.fix": " fix: use format <N>{d|h|m|w} e.g. 30d / 24h / 60m / 4w",
|
|
1874
1878
|
"gc.no_backups": "no backups found ({{root}} absent) \u2014 nothing to gc",
|
|
@@ -13619,6 +13623,20 @@ async function removeSettingsEnv(settingsPath) {
|
|
|
13619
13623
|
`, "utf8");
|
|
13620
13624
|
return true;
|
|
13621
13625
|
}
|
|
13626
|
+
function printCliRemovalHint() {
|
|
13627
|
+
console.log(t("uninstall.unified.cli_hint_header"));
|
|
13628
|
+
if (isCompiledRuntime()) {
|
|
13629
|
+
console.log(
|
|
13630
|
+
t("uninstall.unified.cli_hint_binary", {
|
|
13631
|
+
path: process.execPath,
|
|
13632
|
+
dir: dirname(process.execPath)
|
|
13633
|
+
})
|
|
13634
|
+
);
|
|
13635
|
+
} else {
|
|
13636
|
+
console.log(t("uninstall.unified.cli_hint_npm"));
|
|
13637
|
+
}
|
|
13638
|
+
console.log(t("uninstall.unified.cli_hint_other"));
|
|
13639
|
+
}
|
|
13622
13640
|
async function runUnifiedUninstall(home, dryRun) {
|
|
13623
13641
|
const platform = detectPlatform(home);
|
|
13624
13642
|
const commandsDir = platform.commandsDir;
|
|
@@ -13648,6 +13666,7 @@ async function runUnifiedUninstall(home, dryRun) {
|
|
|
13648
13666
|
const discoverable = commandFiles.length + skillDirs.length + (hasSettingsChanges ? 1 : 0);
|
|
13649
13667
|
if (discoverable === 0) {
|
|
13650
13668
|
console.log(t("uninstall.unified.nothing"));
|
|
13669
|
+
printCliRemovalHint();
|
|
13651
13670
|
process.exit(0);
|
|
13652
13671
|
}
|
|
13653
13672
|
console.log(t("uninstall.unified.header"));
|
|
@@ -13659,6 +13678,7 @@ async function runUnifiedUninstall(home, dryRun) {
|
|
|
13659
13678
|
console.log(t("uninstall.unified.upstream_note"));
|
|
13660
13679
|
if (dryRun) {
|
|
13661
13680
|
console.log(t("uninstall.unified.dry_run_hint"));
|
|
13681
|
+
printCliRemovalHint();
|
|
13662
13682
|
process.exit(2);
|
|
13663
13683
|
}
|
|
13664
13684
|
const answer = await p.confirm({
|
|
@@ -13721,6 +13741,7 @@ async function runUnifiedUninstall(home, dryRun) {
|
|
|
13721
13741
|
for (const f of failures) console.error(` ${f}`);
|
|
13722
13742
|
}
|
|
13723
13743
|
console.log(t("uninstall.unified.complete"));
|
|
13744
|
+
printCliRemovalHint();
|
|
13724
13745
|
process.exit(0);
|
|
13725
13746
|
}
|
|
13726
13747
|
function registerUninstall(program2) {
|