Skip to content

Computer use CLI for AI agents

fix: show skill install prompt on all success paths

Lahfir39b2bc634808
diff --git a/npm/scripts/postinstall.js b/npm/scripts/postinstall.js
index 49573268f..4925d7705 100644
--- a/npm/scripts/postinstall.js
+++ b/npm/scripts/postinstall.js
@@ -138,6 +138,7 @@ function main() {
chmodSync(binaryPath, 0o755);
log(`Using binary from AGENT_DESKTOP_BINARY_PATH: ${customPath}`);
fixGlobalInstallBin();
+ promptSkillInstall();
return;
} catch (err) {
log(`Failed to copy from AGENT_DESKTOP_BINARY_PATH: ${err.message}`);
@@ -149,6 +150,7 @@ function main() {
chmodSync(binaryPath, 0o755);
log(`Native binary ready: ${binaryName}`);
fixGlobalInstallBin();
+ promptSkillInstall();
return;
}