@just-every/code 0.2.45 → 0.2.46
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/package.json +6 -6
- package/postinstall.js +7 -7
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@just-every/code",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.46",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"description": "Lightweight coding agent that runs in your terminal - fork of OpenAI Codex",
|
|
6
6
|
"bin": {
|
|
@@ -35,10 +35,10 @@
|
|
|
35
35
|
"prettier": "^3.3.3"
|
|
36
36
|
},
|
|
37
37
|
"optionalDependencies": {
|
|
38
|
-
"@just-every/code-darwin-arm64": "0.2.
|
|
39
|
-
"@just-every/code-darwin-x64": "0.2.
|
|
40
|
-
"@just-every/code-linux-x64-musl": "0.2.
|
|
41
|
-
"@just-every/code-linux-arm64-musl": "0.2.
|
|
42
|
-
"@just-every/code-win32-x64": "0.2.
|
|
38
|
+
"@just-every/code-darwin-arm64": "0.2.46",
|
|
39
|
+
"@just-every/code-darwin-x64": "0.2.46",
|
|
40
|
+
"@just-every/code-linux-x64-musl": "0.2.46",
|
|
41
|
+
"@just-every/code-linux-arm64-musl": "0.2.46",
|
|
42
|
+
"@just-every/code-win32-x64": "0.2.46"
|
|
43
43
|
}
|
|
44
44
|
}
|
package/postinstall.js
CHANGED
|
@@ -468,8 +468,8 @@ async function main() {
|
|
|
468
468
|
const list = Array.from(installedCmds).sort().join(', ');
|
|
469
469
|
console.log(`Commands installed (bun): ${list}`);
|
|
470
470
|
if (skippedCmds.length) {
|
|
471
|
-
for (const s of skippedCmds) console.
|
|
472
|
-
console.
|
|
471
|
+
for (const s of skippedCmds) console.error(`Commands skipped: ${s.name} (${s.reason})`);
|
|
472
|
+
console.error('→ Use `coder` to run this tool.');
|
|
473
473
|
}
|
|
474
474
|
// Final friendly usage hint
|
|
475
475
|
if (installedCmds.has('code')) {
|
|
@@ -513,19 +513,19 @@ async function main() {
|
|
|
513
513
|
ensureWrapper('code-exec', 'exec');
|
|
514
514
|
|
|
515
515
|
if (collision) {
|
|
516
|
-
console.
|
|
517
|
-
for (const p of others) console.
|
|
516
|
+
console.error('⚠ Detected existing `code` on PATH:');
|
|
517
|
+
for (const p of others) console.error(` - ${p}`);
|
|
518
518
|
if (globalBin) {
|
|
519
519
|
try {
|
|
520
520
|
if (existsSync(ourShim)) {
|
|
521
521
|
unlinkSync(ourShim);
|
|
522
|
-
console.
|
|
522
|
+
console.error(`✓ Skipped global 'code' shim (removed ${ourShim})`);
|
|
523
523
|
skippedCmds.push({ name: 'code', reason: `existing: ${others[0]}` });
|
|
524
524
|
}
|
|
525
525
|
} catch (e) {
|
|
526
|
-
console.
|
|
526
|
+
console.error(`⚠ Could not remove npm shim '${ourShim}': ${e.message}`);
|
|
527
527
|
}
|
|
528
|
-
console.
|
|
528
|
+
console.error('→ Use `coder` to run this tool.');
|
|
529
529
|
} else {
|
|
530
530
|
console.log('Note: could not determine npm global bin; skipping alias creation.');
|
|
531
531
|
}
|