@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.
Files changed (2) hide show
  1. package/dist/dispatch.js +4 -3
  2. 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
- if (env.DISPATCH_STATE_DIR)
18372
- return env.DISPATCH_STATE_DIR;
18373
- return join(env.XDG_STATE_HOME || join(homedir(), ".local", "state"), "dispatch");
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 === "..") {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sjawhar/opencode-legion-envoy",
3
- "version": "8.12.1",
3
+ "version": "8.14.0",
4
4
  "license": "Apache-2.0",
5
5
  "type": "module",
6
6
  "main": "dist/src/server.js",