@bivy/bivy 0.1.0-staging.7 → 0.1.0-staging.8

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.
Files changed (2) hide show
  1. package/bin/bivy.mjs +6 -1
  2. package/package.json +1 -1
package/bin/bivy.mjs CHANGED
@@ -4020,8 +4020,13 @@ An agent's own --help passes through, e.g. 'bivy run claude --help'.`);
4020
4020
  } else if (fs.existsSync(servicePaths().file)) {
4021
4021
  console.error(c.red("Failed to restart the background service."));
4022
4022
  printNodeStartupDiagnostics();
4023
+ process.exitCode = 1;
4023
4024
  } else {
4024
- console.log(c.yellow("No background service to restart. Use 'bivy start'."));
4025
+ // Remote-only: the node must run as a service to be reachable. Point at
4026
+ // setup (which installs one), not a foreground local 'bivy start'. Exit
4027
+ // non-zero so callers like install.sh can tell nothing was restarted.
4028
+ console.log(c.yellow("No background service to restart. Run 'bivy setup' to install one so the node stays reachable."));
4029
+ process.exitCode = 1;
4025
4030
  }
4026
4031
  break;
4027
4032
  case "status":
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bivy/bivy",
3
- "version": "0.1.0-staging.7",
3
+ "version": "0.1.0-staging.8",
4
4
  "type": "module",
5
5
  "license": "FSL-1.1-ALv2",
6
6
  "description": "Run coding agents on machines you own. Source-available, self-hostable agent workspace.",