@sjawhar/opencode-legion-envoy 8.12.1 → 8.14.0
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/dispatch.js +4 -3
- package/package.json +1 -1
package/dist/dispatch.js
CHANGED
|
@@ -18368,9 +18368,10 @@ var PICTURE_EXTENSIONS = {
|
|
|
18368
18368
|
"image/webp": "webp"
|
|
18369
18369
|
};
|
|
18370
18370
|
function sessionStateRoot(env) {
|
|
18371
|
-
|
|
18372
|
-
|
|
18373
|
-
|
|
18371
|
+
const stateDir = env["DISPATCH_STATE_DIR"];
|
|
18372
|
+
if (stateDir)
|
|
18373
|
+
return stateDir;
|
|
18374
|
+
return join(env["XDG_STATE_HOME"] || join(homedir(), ".local", "state"), "dispatch");
|
|
18374
18375
|
}
|
|
18375
18376
|
function sessionDirectory(env, sessionId) {
|
|
18376
18377
|
if (!SESSION_ID.test(sessionId) || sessionId === "." || sessionId === "..") {
|