ework-aio 0.5.18 → 0.5.19

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ework-aio",
3
- "version": "0.5.18",
3
+ "version": "0.5.19",
4
4
  "description": "All-in-one installer for ework (issue tracker) + ework-daemon (AI bridge) + opencode-ework (plugin). One command: npm i -g ework-aio && ework-aio install.",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -271,6 +271,14 @@ export async function runRestart(
271
271
  const paths = resolvePaths({ dataDir: opts.dataDir, scope: opts.scope, useSystemd: false });
272
272
  for (const { sp, label } of iterTargets(paths, target)) {
273
273
  await stopFromSp(sp, label, logger);
274
+ if (label === "router") {
275
+ try {
276
+ await startFromSp(sp, label, logger);
277
+ } catch (e) {
278
+ logger.log(`ework-router skipped (${(e as Error).message})`);
279
+ }
280
+ continue;
281
+ }
274
282
  await startFromSp(sp, label, logger);
275
283
  }
276
284
  }