@spenceriam/impulse 1.1.3 → 1.2.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/bin/impulse +2 -2
- package/package.json +6 -6
- package/postinstall.mjs +5 -5
package/bin/impulse
CHANGED
|
@@ -66,7 +66,7 @@ function findBinary() {
|
|
|
66
66
|
}
|
|
67
67
|
|
|
68
68
|
throw new Error(
|
|
69
|
-
`Could not find
|
|
69
|
+
`Could not find impulse binary for ${platform}-${arch}.\n` +
|
|
70
70
|
`Package ${packageName} may not be installed.\n` +
|
|
71
71
|
`Try reinstalling: npm install -g @spenceriam/impulse`
|
|
72
72
|
);
|
|
@@ -82,7 +82,7 @@ try {
|
|
|
82
82
|
});
|
|
83
83
|
|
|
84
84
|
child.on("error", (err) => {
|
|
85
|
-
console.error("Failed to start
|
|
85
|
+
console.error("Failed to start impulse:", err.message);
|
|
86
86
|
process.exit(1);
|
|
87
87
|
});
|
|
88
88
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@spenceriam/impulse",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.2.0",
|
|
4
4
|
"description": "Provider-flexible terminal AI coding agent",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"bin": {
|
|
@@ -21,10 +21,10 @@
|
|
|
21
21
|
"access": "public"
|
|
22
22
|
},
|
|
23
23
|
"optionalDependencies": {
|
|
24
|
-
"@spenceriam/impulse-linux-x64": "1.
|
|
25
|
-
"@spenceriam/impulse-linux-arm64": "1.
|
|
26
|
-
"@spenceriam/impulse-darwin-x64": "1.
|
|
27
|
-
"@spenceriam/impulse-darwin-arm64": "1.
|
|
28
|
-
"@spenceriam/impulse-windows-x64": "1.
|
|
24
|
+
"@spenceriam/impulse-linux-x64": "1.2.0",
|
|
25
|
+
"@spenceriam/impulse-linux-arm64": "1.2.0",
|
|
26
|
+
"@spenceriam/impulse-darwin-x64": "1.2.0",
|
|
27
|
+
"@spenceriam/impulse-darwin-arm64": "1.2.0",
|
|
28
|
+
"@spenceriam/impulse-windows-x64": "1.2.0"
|
|
29
29
|
}
|
|
30
30
|
}
|
package/postinstall.mjs
CHANGED
|
@@ -60,7 +60,7 @@ function findBinary() {
|
|
|
60
60
|
if (!supportedCombos.includes(combo)) {
|
|
61
61
|
throw new Error(
|
|
62
62
|
`Unsupported platform: ${platform}-${arch}\n` +
|
|
63
|
-
`
|
|
63
|
+
`impulse currently supports: ${supportedCombos.join(", ")}\n` +
|
|
64
64
|
`Windows ARM64 support is pending Bun's cross-compile target.`
|
|
65
65
|
);
|
|
66
66
|
}
|
|
@@ -126,13 +126,13 @@ async function main() {
|
|
|
126
126
|
|
|
127
127
|
symlinkBinary(binaryPath, targetPath);
|
|
128
128
|
|
|
129
|
-
console.log(`
|
|
130
|
-
console.log(`
|
|
129
|
+
console.log(`impulse binary symlinked: ${targetPath} -> ${binaryPath}`);
|
|
130
|
+
console.log(`impulse installed successfully!`);
|
|
131
131
|
}
|
|
132
132
|
|
|
133
133
|
main().catch((error) => {
|
|
134
|
-
console.error("Failed to setup
|
|
135
|
-
console.error("You may need to install Bun and run
|
|
134
|
+
console.error("Failed to setup impulse binary:", error.message);
|
|
135
|
+
console.error("You may need to install Bun and run impulse directly:");
|
|
136
136
|
console.error(" curl -fsSL https://bun.sh/install | bash");
|
|
137
137
|
console.error(" bun x @spenceriam/impulse");
|
|
138
138
|
process.exit(1);
|