ework-aio 0.5.17 → 0.5.18

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.17",
3
+ "version": "0.5.18",
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",
@@ -241,11 +241,12 @@ export async function runStart(
241
241
  const paths = resolvePaths({ dataDir: opts.dataDir, scope: opts.scope, useSystemd: false });
242
242
  for (const { sp, label } of iterTargets(paths, target)) {
243
243
  if (label === "router") {
244
- const binPath = resolveBundledBin(sp.pkg, sp.binRelPath) ?? resolveCommand(sp.bin);
245
- if (!binPath) {
246
- logger.log(`ework-router skipped (binary not found — install with: npm install -g ework-router)`);
247
- continue;
244
+ try {
245
+ await startFromSp(sp, label, logger);
246
+ } catch (e) {
247
+ logger.log(`ework-router skipped (${(e as Error).message})`);
248
248
  }
249
+ continue;
249
250
  }
250
251
  await startFromSp(sp, label, logger);
251
252
  }