@serendb/serendesktop 0.1.1 → 0.1.2
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/dist/server.js +3 -3
- package/package.json +1 -1
package/dist/server.js
CHANGED
|
@@ -348,8 +348,8 @@ function findAgentBinary(binBase) {
|
|
|
348
348
|
const binName = `${binBase}${ext}`;
|
|
349
349
|
const home2 = process.env.HOME ?? "~";
|
|
350
350
|
const candidates = [
|
|
351
|
-
// 1. runtime/bin/ (bundled with seren-local)
|
|
352
|
-
resolve(import.meta.dirname, "
|
|
351
|
+
// 1. runtime/bin/ (bundled with seren-local — dist/ is one level below bin/)
|
|
352
|
+
resolve(import.meta.dirname, "../bin", binName),
|
|
353
353
|
// 2. ~/.seren-local/bin/ (user install location)
|
|
354
354
|
resolve(home2, ".seren-local/bin", binName),
|
|
355
355
|
// 3. Seren Desktop embedded-runtime (development)
|
|
@@ -358,7 +358,7 @@ function findAgentBinary(binBase) {
|
|
|
358
358
|
if (binBase === "seren-acp-claude") {
|
|
359
359
|
const legacyName = `acp_agent${ext}`;
|
|
360
360
|
candidates.push(
|
|
361
|
-
resolve(import.meta.dirname, "
|
|
361
|
+
resolve(import.meta.dirname, "../bin", legacyName),
|
|
362
362
|
resolve(home2, ".seren-local/bin", legacyName),
|
|
363
363
|
resolve(home2, "Projects/Seren_Projects/seren-desktop/src-tauri/embedded-runtime/bin", legacyName)
|
|
364
364
|
);
|