opc-agent 4.0.17 → 4.0.18

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.
@@ -105,7 +105,7 @@ class StudioServer {
105
105
  if (!(0, fs_1.existsSync)(cfgPath))
106
106
  (0, fs_1.writeFileSync)(cfgPath, JSON.stringify({}, null, 2));
107
107
  this.server = (0, http_1.createServer)((req, res) => this.handleRequest(req, res));
108
- this.server.listen(this.config.port);
108
+ this.server.listen(this.config.port, '0.0.0.0');
109
109
  this.cronEngine.start();
110
110
  console.log(`🎨 OPC Studio: http://localhost:${this.config.port}`);
111
111
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "opc-agent",
3
- "version": "4.0.17",
3
+ "version": "4.0.18",
4
4
  "description": "Open Agent Framework — Build, test, and run AI Agents for business workstations",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -112,7 +112,7 @@ class StudioServer {
112
112
  if (!existsSync(cfgPath)) writeFileSync(cfgPath, JSON.stringify({}, null, 2));
113
113
 
114
114
  this.server = createServer((req, res) => this.handleRequest(req, res));
115
- this.server.listen(this.config.port);
115
+ this.server.listen(this.config.port, '0.0.0.0');
116
116
  this.cronEngine.start();
117
117
  console.log(`🎨 OPC Studio: http://localhost:${this.config.port}`);
118
118
  }