@hermespilot/link 0.7.7 → 0.7.8
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/{chunk-JQYZZDVU.js → chunk-7JPQICDK.js} +642 -275
- package/dist/cli/index.js +5 -3
- package/dist/http/app.js +1 -1
- package/package.json +1 -1
package/dist/cli/index.js
CHANGED
|
@@ -43,6 +43,7 @@ import {
|
|
|
43
43
|
readTuiGatewayStatus,
|
|
44
44
|
reportLinkStatusToServer,
|
|
45
45
|
resolveConversationRunBackend,
|
|
46
|
+
resolveHermesBin,
|
|
46
47
|
resolveHermesConfigPath,
|
|
47
48
|
resolveHermesProfileDir,
|
|
48
49
|
resolveLanguage,
|
|
@@ -54,7 +55,7 @@ import {
|
|
|
54
55
|
stopDaemonProcess,
|
|
55
56
|
summarizeUsageProbeEnsure,
|
|
56
57
|
translate
|
|
57
|
-
} from "../chunk-
|
|
58
|
+
} from "../chunk-7JPQICDK.js";
|
|
58
59
|
|
|
59
60
|
// src/cli/index.ts
|
|
60
61
|
import { Command } from "commander";
|
|
@@ -263,8 +264,9 @@ function autostartEnvironment() {
|
|
|
263
264
|
if (pathValue) {
|
|
264
265
|
environment.PATH = pathValue;
|
|
265
266
|
}
|
|
266
|
-
const
|
|
267
|
-
|
|
267
|
+
const explicitHermesBin = process.env.HERMES_BIN?.trim();
|
|
268
|
+
const hermesBin = explicitHermesBin || resolveHermesBin();
|
|
269
|
+
if (explicitHermesBin || path.isAbsolute(hermesBin)) {
|
|
268
270
|
environment.HERMES_BIN = hermesBin;
|
|
269
271
|
}
|
|
270
272
|
const hermesPython = process.env.HERMES_PYTHON?.trim();
|
package/dist/http/app.js
CHANGED