@iwsdk/cli 0.4.0 → 0.4.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.js CHANGED
@@ -5846,7 +5846,7 @@ function inferRuntimeIssueCause(message, browser, explicitCause) {
5846
5846
  async function trySendRuntimeCommand(protocol, port, method, params, timeoutMs, browser) {
5847
5847
  return new Promise((resolve, reject) => {
5848
5848
  const requestId = `${Date.now()}-${Math.random().toString(16).slice(2)}`;
5849
- const wsUrl = `${protocol}://localhost:${port}/__iwer_mcp`;
5849
+ const wsUrl = `${protocol}://127.0.0.1:${port}/__iwer_mcp`;
5850
5850
  const ws = new WebSocket$1(wsUrl, {
5851
5851
  rejectUnauthorized: false,
5852
5852
  });
package/dist/index.js CHANGED
@@ -5845,7 +5845,7 @@ function inferRuntimeIssueCause(message, browser, explicitCause) {
5845
5845
  async function trySendRuntimeCommand(protocol, port, method, params, timeoutMs, browser) {
5846
5846
  return new Promise((resolve, reject) => {
5847
5847
  const requestId = `${Date.now()}-${Math.random().toString(16).slice(2)}`;
5848
- const wsUrl = `${protocol}://localhost:${port}/__iwer_mcp`;
5848
+ const wsUrl = `${protocol}://127.0.0.1:${port}/__iwer_mcp`;
5849
5849
  const ws = new WebSocket$1(wsUrl, {
5850
5850
  rejectUnauthorized: false,
5851
5851
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@iwsdk/cli",
3
- "version": "0.4.0",
3
+ "version": "0.4.1",
4
4
  "description": "Runtime-first CLI for IWSDK dev servers, adapters, and MCP access",
5
5
  "private": false,
6
6
  "type": "module",