@phreshos/cli 0.1.71 → 0.1.72

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.
@@ -169,10 +169,14 @@ export default class SystemLifecycle {
169
169
  return;
170
170
  }
171
171
  await service.register(definition(installation, await nodeExecutable()));
172
- if (state.enabled)
173
- await service.enable();
174
- else
175
- await service.disable();
172
+ // A background container service has no automatic-startup capability.
173
+ // Restoring its running state must not invoke an unsupported setting.
174
+ if (state.automaticStartup) {
175
+ if (state.enabled)
176
+ await service.enable();
177
+ else
178
+ await service.disable();
179
+ }
176
180
  if (state.running) {
177
181
  await this.launchService();
178
182
  await this.waitUntilReady();
@@ -22,7 +22,7 @@
22
22
  "react-dom": "^19.2.8"
23
23
  },
24
24
  "devDependencies": {
25
- "@phreshos/cli": "^0.1.71",
25
+ "@phreshos/cli": "^0.1.72",
26
26
  "@types/node": "^26.4.0",
27
27
  "@types/react": "^19.2.18",
28
28
  "@types/react-dom": "^19.2.5",
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@phreshos/cli",
3
3
  "type": "module",
4
- "version": "0.1.71",
4
+ "version": "0.1.72",
5
5
  "description": "The Phresh command-line interface for Program projects and system management.",
6
6
  "engines": {
7
7
  "node": ">=20.10"