@yagni-app/code-staging 1.1.4-staging.1423.1 → 1.1.4-staging.1424.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 +13 -0
- package/dist/upgrade.js +7 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -23,6 +23,19 @@ correct, autonomous work than a coding agent that starts blank.
|
|
|
23
23
|
npm install -g @yagni-app/code
|
|
24
24
|
```
|
|
25
25
|
|
|
26
|
+
Or use the installer, which also repairs an npm global prefix your user
|
|
27
|
+
cannot write to (common on managed machines) without sudo:
|
|
28
|
+
|
|
29
|
+
```bash
|
|
30
|
+
# macOS / Linux
|
|
31
|
+
curl -fsSL https://yagni.app/install.sh | sh
|
|
32
|
+
```
|
|
33
|
+
|
|
34
|
+
```powershell
|
|
35
|
+
# Windows (PowerShell)
|
|
36
|
+
irm https://yagni.app/install.ps1 | iex
|
|
37
|
+
```
|
|
38
|
+
|
|
26
39
|
Requires Node.js 22.19 or newer (`node --version`); an older Node stops at
|
|
27
40
|
launch with an upgrade message instead of crashing mid-session.
|
|
28
41
|
|
package/dist/upgrade.js
CHANGED
|
@@ -271,7 +271,13 @@ function failureHint(method) {
|
|
|
271
271
|
return `Try \`brew update\` and \`brew reinstall ${BREW_FORMULA}\`, or \`brew doctor\` if that fails too.`;
|
|
272
272
|
}
|
|
273
273
|
// Never suggest sudo: on managed machines the fix is a user-writable
|
|
274
|
-
// prefix, which the installer sets up automatically.
|
|
274
|
+
// prefix, which the installer sets up automatically. Windows has no `sh`,
|
|
275
|
+
// so it gets the PowerShell installer instead of a command that fails with
|
|
276
|
+
// "'sh' is not recognized".
|
|
277
|
+
if (process.platform === "win32") {
|
|
278
|
+
return ("If it was a permissions error, close any running yagni sessions and re-run the installer " +
|
|
279
|
+
"in PowerShell: irm https://yagni.app/install.ps1 | iex");
|
|
280
|
+
}
|
|
275
281
|
return ("If it was a permissions error, the installer repairs the global prefix without sudo: " +
|
|
276
282
|
"curl -fsSL https://yagni.app/install.sh | sh");
|
|
277
283
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@yagni-app/code-staging",
|
|
3
|
-
"version": "1.1.4-staging.
|
|
3
|
+
"version": "1.1.4-staging.1424.1",
|
|
4
4
|
"description": "YAGNI Code: a terminal coding agent that already knows your company. One YAGNI login routes the model and grounds the agent in your team's context.",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
6
6
|
"author": "YAGNI, Inc. <jack@yagni.app> (https://yagni.app)",
|
|
@@ -58,5 +58,5 @@
|
|
|
58
58
|
"turndown": "^7.2.4",
|
|
59
59
|
"typebox": "^1.3.15"
|
|
60
60
|
},
|
|
61
|
-
"yagniSourceSha": "
|
|
61
|
+
"yagniSourceSha": "bd7d06bc8fc95da1e22d6b06146cf7a0ea20ad78"
|
|
62
62
|
}
|