ework-web 0.10.110 → 0.10.111
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 +1 -1
- package/src/index.ts +4 -0
package/package.json
CHANGED
package/src/index.ts
CHANGED
|
@@ -811,6 +811,10 @@ async function handle(req: Request, url: URL, ip: string, ctx: { authed: boolean
|
|
|
811
811
|
}
|
|
812
812
|
}
|
|
813
813
|
}
|
|
814
|
+
if (!daemonEp && /^ses_[0-9A-Za-z]{8,}/.test(sid)) {
|
|
815
|
+
const scanned = await tryAllDaemons();
|
|
816
|
+
if (scanned) return scanned;
|
|
817
|
+
}
|
|
814
818
|
const client = daemonEp ? new RemoteOpencodeClient(daemonEp) : opencode;
|
|
815
819
|
try {
|
|
816
820
|
const { html: body } = await buildSessionView(client, sid, desc, cfg.collapseLines, limit, all);
|