octopi-agent 0.55.0 → 0.55.1

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/cli/webui.js CHANGED
@@ -4,7 +4,7 @@
4
4
  import { resolve } from 'node:path';
5
5
  import { existsSync, readFileSync } from 'node:fs';
6
6
  import { networkInterfaces } from 'node:os';
7
- import { isLanHost, resolveViteHostArg, } from '@octopi-agent/engine/config.js';
7
+ import { isLanHost, resolveListenHost, } from '@octopi-agent/engine/config.js';
8
8
  import { ensureDaemonConfig } from './daemon.js';
9
9
  import { getOctopiHome } from '@octopi-agent/engine/paths.js';
10
10
  import { findWebDist, startWebUi, stopWebUi, readWebUiPidRecord, writeWebUiPidFile, removeWebUiPidFile, } from './helpers.js';
@@ -105,7 +105,8 @@ export async function webuiStartCommand(configPath, options) {
105
105
  console.error(' - ~/.octopi/web/dist');
106
106
  process.exit(1);
107
107
  }
108
- const listenHost = resolveViteHostArg(webHost);
108
+ // Static server must bind IPv4 127.0.0.1 for local (Windows `localhost` may be IPv6-only)
109
+ const listenHost = resolveListenHost(webHost);
109
110
  const lanOpen = isLanHost(webHost);
110
111
  const port = 5173;
111
112
  const pid = startWebUi(webDist, { hostArg: listenHost, port });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "octopi-agent",
3
- "version": "0.55.0",
3
+ "version": "0.55.1",
4
4
  "description": "Octopi suite — CLI (bin: octopi), config IO, and dependency umbrella for core/engine/gateway/webui",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",