flockbay 0.10.39 → 0.10.40

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.
@@ -2,7 +2,7 @@ import{createRequire as _pkgrollCR}from"node:module";const require=_pkgrollCR(im
2
2
  import * as os from 'node:os';
3
3
  import os__default, { homedir } from 'node:os';
4
4
  import { randomUUID, createCipheriv, randomBytes, createHash as createHash$1 } from 'node:crypto';
5
- import { l as logger, b as projectPath, d as backoff, e as delay, R as RawJSONLinesSchema, c as configuration, f as readDaemonState, g as clearDaemonState, p as packageJson, r as readSettings, h as readCredentials, u as updateSettings, w as writeCredentials, j as unrealMcpPythonDir, k as acquireDaemonLock, m as writeDaemonState, n as ApiMachineClient, o as releaseDaemonLock, s as sendUnrealMcpTcpCommand, A as ApiClient, v as validatePath, q as run, t as run$1, x as buildShellInvocation, y as clearCredentials, z as clearMachineId, i as installUnrealMcpPluginToEngine, B as buildAndInstallUnrealMcpPlugin, C as getLatestDaemonLog, D as normalizeServerUrlForNode } from './types-EDt189vg.mjs';
5
+ import { l as logger, b as projectPath, d as backoff, e as delay, R as RawJSONLinesSchema, c as configuration, f as readDaemonState, g as clearDaemonState, p as packageJson, r as readSettings, h as readCredentials, u as updateSettings, w as writeCredentials, j as unrealMcpPythonDir, k as acquireDaemonLock, m as writeDaemonState, n as ApiMachineClient, o as releaseDaemonLock, s as sendUnrealMcpTcpCommand, A as ApiClient, v as validatePath, q as run, t as run$1, x as buildShellInvocation, y as clearCredentials, z as clearMachineId, i as installUnrealMcpPluginToEngine, B as buildAndInstallUnrealMcpPlugin, C as getLatestDaemonLog, D as normalizeServerUrlForNode } from './types-4acLcOdW.mjs';
6
6
  import { spawn, execFileSync, execSync } from 'node:child_process';
7
7
  import * as path from 'node:path';
8
8
  import path__default, { resolve, join, dirname } from 'node:path';
@@ -15540,7 +15540,7 @@ async function authAndSetupMachineIfNeeded() {
15540
15540
  process.exit(1);
15541
15541
  }
15542
15542
  try {
15543
- const { migrateUnrealMcpToFlockbayMcp } = await import('./migratePlugin-BTCVP1kl.mjs');
15543
+ const { migrateUnrealMcpToFlockbayMcp } = await import('./migratePlugin-Beo3Vgvz.mjs');
15544
15544
  const result = migrateUnrealMcpToFlockbayMcp({
15545
15545
  engineRoot,
15546
15546
  projectUprojectPath: project || void 0,
@@ -15679,7 +15679,7 @@ ${engineRoot}`, {
15679
15679
  } else if (subcommand === "codex") {
15680
15680
  try {
15681
15681
  await chdirToNearestUprojectRootIfPresent();
15682
- const { runCodex } = await import('./runCodex-CfdMLuT9.mjs');
15682
+ const { runCodex } = await import('./runCodex-BAbRZt7Y.mjs');
15683
15683
  let startedBy = void 0;
15684
15684
  let sessionId = void 0;
15685
15685
  for (let i = 1; i < args.length; i++) {
@@ -15781,7 +15781,7 @@ ${engineRoot}`, {
15781
15781
  }
15782
15782
  try {
15783
15783
  await chdirToNearestUprojectRootIfPresent();
15784
- const { runGemini } = await import('./runGemini-CRM_-Mlk.mjs');
15784
+ const { runGemini } = await import('./runGemini-D9WGwILY.mjs');
15785
15785
  let startedBy = void 0;
15786
15786
  let sessionId = void 0;
15787
15787
  for (let i = 1; i < args.length; i++) {
@@ -3,7 +3,7 @@
3
3
  var chalk = require('chalk');
4
4
  var os = require('node:os');
5
5
  var node_crypto = require('node:crypto');
6
- var types = require('./types-Bo2Zb4JA.cjs');
6
+ var types = require('./types-2Bs_CNcy.cjs');
7
7
  var node_child_process = require('node:child_process');
8
8
  var path = require('node:path');
9
9
  var node_readline = require('node:readline');
@@ -1317,7 +1317,7 @@ function buildDaemonSafeEnv(baseEnv, binPath) {
1317
1317
  env[pathKey] = [...prepend, ...existingParts].join(pathSep);
1318
1318
  return env;
1319
1319
  }
1320
- const __filename$1 = node_url.fileURLToPath((typeof document === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : (_documentCurrentScript && _documentCurrentScript.tagName.toUpperCase() === 'SCRIPT' && _documentCurrentScript.src || new URL('index-BtKowQPb.cjs', document.baseURI).href)));
1320
+ const __filename$1 = node_url.fileURLToPath((typeof document === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : (_documentCurrentScript && _documentCurrentScript.tagName.toUpperCase() === 'SCRIPT' && _documentCurrentScript.src || new URL('index-hc8sYVfl.cjs', document.baseURI).href)));
1321
1321
  const __dirname$1 = path.join(__filename$1, "..");
1322
1322
  function getGlobalClaudeVersion(claudeExecutable) {
1323
1323
  try {
@@ -15562,7 +15562,7 @@ async function authAndSetupMachineIfNeeded() {
15562
15562
  process.exit(1);
15563
15563
  }
15564
15564
  try {
15565
- const { migrateUnrealMcpToFlockbayMcp } = await Promise.resolve().then(function () { return require('./migratePlugin-DHz-XWEt.cjs'); });
15565
+ const { migrateUnrealMcpToFlockbayMcp } = await Promise.resolve().then(function () { return require('./migratePlugin-DNHywpj6.cjs'); });
15566
15566
  const result = migrateUnrealMcpToFlockbayMcp({
15567
15567
  engineRoot,
15568
15568
  projectUprojectPath: project || void 0,
@@ -15701,7 +15701,7 @@ ${engineRoot}`, {
15701
15701
  } else if (subcommand === "codex") {
15702
15702
  try {
15703
15703
  await chdirToNearestUprojectRootIfPresent();
15704
- const { runCodex } = await Promise.resolve().then(function () { return require('./runCodex-DneafO-p.cjs'); });
15704
+ const { runCodex } = await Promise.resolve().then(function () { return require('./runCodex-B3Qjwkr6.cjs'); });
15705
15705
  let startedBy = void 0;
15706
15706
  let sessionId = void 0;
15707
15707
  for (let i = 1; i < args.length; i++) {
@@ -15803,7 +15803,7 @@ ${engineRoot}`, {
15803
15803
  }
15804
15804
  try {
15805
15805
  await chdirToNearestUprojectRootIfPresent();
15806
- const { runGemini } = await Promise.resolve().then(function () { return require('./runGemini-BAhwd99k.cjs'); });
15806
+ const { runGemini } = await Promise.resolve().then(function () { return require('./runGemini-BED5hBNz.cjs'); });
15807
15807
  let startedBy = void 0;
15808
15808
  let sessionId = void 0;
15809
15809
  for (let i = 1; i < args.length; i++) {
package/dist/index.cjs CHANGED
@@ -1,8 +1,8 @@
1
1
  'use strict';
2
2
 
3
3
  require('chalk');
4
- require('./index-BtKowQPb.cjs');
5
- require('./types-Bo2Zb4JA.cjs');
4
+ require('./index-hc8sYVfl.cjs');
5
+ require('./types-2Bs_CNcy.cjs');
6
6
  require('zod');
7
7
  require('node:child_process');
8
8
  require('node:fs');
package/dist/index.mjs CHANGED
@@ -1,6 +1,6 @@
1
1
  import 'chalk';
2
- import './index-BGzZtZy-.mjs';
3
- import './types-EDt189vg.mjs';
2
+ import './index-COD6HpzC.mjs';
3
+ import './types-4acLcOdW.mjs';
4
4
  import 'zod';
5
5
  import 'node:child_process';
6
6
  import 'node:fs';
package/dist/lib.cjs CHANGED
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var types = require('./types-Bo2Zb4JA.cjs');
3
+ var types = require('./types-2Bs_CNcy.cjs');
4
4
  require('axios');
5
5
  require('node:fs');
6
6
  require('node:os');
package/dist/lib.mjs CHANGED
@@ -1,4 +1,4 @@
1
- export { A as ApiClient, a as ApiSessionClient, R as RawJSONLinesSchema, c as configuration, l as logger } from './types-EDt189vg.mjs';
1
+ export { A as ApiClient, a as ApiSessionClient, R as RawJSONLinesSchema, c as configuration, l as logger } from './types-4acLcOdW.mjs';
2
2
  import 'axios';
3
3
  import 'node:fs';
4
4
  import 'node:os';
@@ -1,6 +1,6 @@
1
1
  import fs__default from 'node:fs';
2
2
  import path__default from 'node:path';
3
- import { i as installUnrealMcpPluginToEngine } from './types-EDt189vg.mjs';
3
+ import { i as installUnrealMcpPluginToEngine } from './types-4acLcOdW.mjs';
4
4
  import 'axios';
5
5
  import 'node:os';
6
6
  import 'node:events';
@@ -2,7 +2,7 @@
2
2
 
3
3
  var fs = require('node:fs');
4
4
  var path = require('node:path');
5
- var types = require('./types-Bo2Zb4JA.cjs');
5
+ var types = require('./types-2Bs_CNcy.cjs');
6
6
  require('axios');
7
7
  require('node:os');
8
8
  require('node:events');
@@ -2,7 +2,7 @@
2
2
 
3
3
  var ink = require('ink');
4
4
  var React = require('react');
5
- var types = require('./types-Bo2Zb4JA.cjs');
5
+ var types = require('./types-2Bs_CNcy.cjs');
6
6
  var index_js = require('@modelcontextprotocol/sdk/client/index.js');
7
7
  var stdio_js = require('@modelcontextprotocol/sdk/client/stdio.js');
8
8
  var z = require('zod');
@@ -12,7 +12,7 @@ var fs = require('node:fs');
12
12
  var os = require('node:os');
13
13
  var path = require('node:path');
14
14
  var node_child_process = require('node:child_process');
15
- var index = require('./index-BtKowQPb.cjs');
15
+ var index = require('./index-hc8sYVfl.cjs');
16
16
  require('axios');
17
17
  require('node:events');
18
18
  require('socket.io-client');
@@ -3532,11 +3532,12 @@ Update: ${updateCommand}`);
3532
3532
  }
3533
3533
  });
3534
3534
  })();
3535
- const bridgeCommand = path.join(types.projectPath(), "bin", "flockbay-mcp.mjs");
3535
+ const bridgePath = path.join(types.projectPath(), "bin", "flockbay-mcp.mjs");
3536
3536
  const mcpServers = {
3537
3537
  flockbay: {
3538
- command: bridgeCommand,
3539
- args: ["--url", flockbayServer.url]
3538
+ // Use the current Node runtime so Windows doesn't rely on .mjs shell execution.
3539
+ command: process.execPath,
3540
+ args: [bridgePath, "--url", flockbayServer.url]
3540
3541
  }
3541
3542
  };
3542
3543
  let first = true;
@@ -1,6 +1,6 @@
1
1
  import { useStdout, useInput, Box, Text, render } from 'ink';
2
2
  import React, { useState, useRef, useEffect, useCallback } from 'react';
3
- import { l as logger, A as ApiClient, p as packageJson, c as configuration, r as readSettings, b as projectPath } from './types-EDt189vg.mjs';
3
+ import { l as logger, A as ApiClient, p as packageJson, c as configuration, r as readSettings, b as projectPath } from './types-4acLcOdW.mjs';
4
4
  import { Client } from '@modelcontextprotocol/sdk/client/index.js';
5
5
  import { StdioClientTransport } from '@modelcontextprotocol/sdk/client/stdio.js';
6
6
  import { z } from 'zod';
@@ -10,7 +10,7 @@ import fs__default from 'node:fs';
10
10
  import os__default from 'node:os';
11
11
  import path__default, { resolve, join } from 'node:path';
12
12
  import { spawnSync } from 'node:child_process';
13
- import { s as shouldCountToolCall, c as consumeToolQuota, f as formatQuotaDeniedReason, h as hashObject, e as enforceCliVersionPolicy, i as initialMachineMetadata, E as ElicitationHub, n as notifyDaemonSessionStarted, M as MessageQueue2, P as PLATFORM_SYSTEM_PROMPT, a as setLatestUserImages, w as withUserImagesMarker, r as registerKillSessionHandler, b as MessageBuffer, d as startFlockbayServer, g as buildProjectCapsule, t as trimIdent, j as autoFinalizeCoordinationWorkItem, k as detectScreenshotsForGate, l as applyCoordinationSideEffectsFromMcpToolResult, m as stopCaffeinate } from './index-BGzZtZy-.mjs';
13
+ import { s as shouldCountToolCall, c as consumeToolQuota, f as formatQuotaDeniedReason, h as hashObject, e as enforceCliVersionPolicy, i as initialMachineMetadata, E as ElicitationHub, n as notifyDaemonSessionStarted, M as MessageQueue2, P as PLATFORM_SYSTEM_PROMPT, a as setLatestUserImages, w as withUserImagesMarker, r as registerKillSessionHandler, b as MessageBuffer, d as startFlockbayServer, g as buildProjectCapsule, t as trimIdent, j as autoFinalizeCoordinationWorkItem, k as detectScreenshotsForGate, l as applyCoordinationSideEffectsFromMcpToolResult, m as stopCaffeinate } from './index-COD6HpzC.mjs';
14
14
  import 'axios';
15
15
  import 'node:events';
16
16
  import 'socket.io-client';
@@ -3530,11 +3530,12 @@ Update: ${updateCommand}`);
3530
3530
  }
3531
3531
  });
3532
3532
  })();
3533
- const bridgeCommand = join(projectPath(), "bin", "flockbay-mcp.mjs");
3533
+ const bridgePath = join(projectPath(), "bin", "flockbay-mcp.mjs");
3534
3534
  const mcpServers = {
3535
3535
  flockbay: {
3536
- command: bridgeCommand,
3537
- args: ["--url", flockbayServer.url]
3536
+ // Use the current Node runtime so Windows doesn't rely on .mjs shell execution.
3537
+ command: process.execPath,
3538
+ args: [bridgePath, "--url", flockbayServer.url]
3538
3539
  }
3539
3540
  };
3540
3541
  let first = true;
@@ -6,8 +6,8 @@ var node_crypto = require('node:crypto');
6
6
  var os = require('node:os');
7
7
  var path = require('node:path');
8
8
  var fs$2 = require('node:fs/promises');
9
- var types = require('./types-Bo2Zb4JA.cjs');
10
- var index = require('./index-BtKowQPb.cjs');
9
+ var types = require('./types-2Bs_CNcy.cjs');
10
+ var index = require('./index-hc8sYVfl.cjs');
11
11
  var node_child_process = require('node:child_process');
12
12
  var sdk = require('@agentclientprotocol/sdk');
13
13
  var fs = require('fs');
@@ -2854,11 +2854,12 @@ ${transcript}`;
2854
2854
  }
2855
2855
  });
2856
2856
  })();
2857
- const bridgeCommand = path.join(types.projectPath(), "bin", "flockbay-mcp.mjs");
2857
+ const bridgePath = path.join(types.projectPath(), "bin", "flockbay-mcp.mjs");
2858
2858
  const mcpServers = {
2859
2859
  flockbay: {
2860
- command: bridgeCommand,
2861
- args: ["--url", flockbayServer.url]
2860
+ // Use the current Node runtime so Windows doesn't rely on .mjs shell execution.
2861
+ command: process.execPath,
2862
+ args: [bridgePath, "--url", flockbayServer.url]
2862
2863
  }
2863
2864
  };
2864
2865
  const permissionHandler = new GeminiPermissionHandler(session);
@@ -4,8 +4,8 @@ import { randomUUID, createHash } from 'node:crypto';
4
4
  import os__default from 'node:os';
5
5
  import path__default, { resolve, join as join$1, basename } from 'node:path';
6
6
  import { mkdir, writeFile, readFile } from 'node:fs/promises';
7
- import { l as logger, p as packageJson, A as ApiClient, c as configuration, r as readSettings, b as projectPath } from './types-EDt189vg.mjs';
8
- import { s as shouldCountToolCall, c as consumeToolQuota, f as formatQuotaDeniedReason, h as hashObject, e as enforceCliVersionPolicy, i as initialMachineMetadata, n as notifyDaemonSessionStarted, M as MessageQueue2, g as buildProjectCapsule, a as setLatestUserImages, b as MessageBuffer, w as withUserImagesMarker, r as registerKillSessionHandler, d as startFlockbayServer, o as extractUserImagesMarker, p as getLatestUserImages, P as PLATFORM_SYSTEM_PROMPT, j as autoFinalizeCoordinationWorkItem, E as ElicitationHub, k as detectScreenshotsForGate, m as stopCaffeinate } from './index-BGzZtZy-.mjs';
7
+ import { l as logger, p as packageJson, A as ApiClient, c as configuration, r as readSettings, b as projectPath } from './types-4acLcOdW.mjs';
8
+ import { s as shouldCountToolCall, c as consumeToolQuota, f as formatQuotaDeniedReason, h as hashObject, e as enforceCliVersionPolicy, i as initialMachineMetadata, n as notifyDaemonSessionStarted, M as MessageQueue2, g as buildProjectCapsule, a as setLatestUserImages, b as MessageBuffer, w as withUserImagesMarker, r as registerKillSessionHandler, d as startFlockbayServer, o as extractUserImagesMarker, p as getLatestUserImages, P as PLATFORM_SYSTEM_PROMPT, j as autoFinalizeCoordinationWorkItem, E as ElicitationHub, k as detectScreenshotsForGate, m as stopCaffeinate } from './index-COD6HpzC.mjs';
9
9
  import { spawn, spawnSync } from 'node:child_process';
10
10
  import { ndJsonStream, ClientSideConnection } from '@agentclientprotocol/sdk';
11
11
  import { existsSync, readFileSync, mkdirSync, writeFileSync } from 'fs';
@@ -2852,11 +2852,12 @@ ${transcript}`;
2852
2852
  }
2853
2853
  });
2854
2854
  })();
2855
- const bridgeCommand = join$1(projectPath(), "bin", "flockbay-mcp.mjs");
2855
+ const bridgePath = join$1(projectPath(), "bin", "flockbay-mcp.mjs");
2856
2856
  const mcpServers = {
2857
2857
  flockbay: {
2858
- command: bridgeCommand,
2859
- args: ["--url", flockbayServer.url]
2858
+ // Use the current Node runtime so Windows doesn't rely on .mjs shell execution.
2859
+ command: process.execPath,
2860
+ args: [bridgePath, "--url", flockbayServer.url]
2860
2861
  }
2861
2862
  };
2862
2863
  const permissionHandler = new GeminiPermissionHandler(session);
@@ -42,7 +42,7 @@ function _interopNamespaceDefault(e) {
42
42
  var z__namespace = /*#__PURE__*/_interopNamespaceDefault(z);
43
43
 
44
44
  var name = "flockbay";
45
- var version = "0.10.39";
45
+ var version = "0.10.40";
46
46
  var description = "Flockbay CLI (local agent + daemon)";
47
47
  var author = "Eduardo Orellana";
48
48
  var license = "UNLICENSED";
@@ -772,7 +772,7 @@ class RpcHandlerManager {
772
772
  }
773
773
  }
774
774
 
775
- const __dirname$1 = path$1.dirname(url.fileURLToPath((typeof document === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : (_documentCurrentScript && _documentCurrentScript.tagName.toUpperCase() === 'SCRIPT' && _documentCurrentScript.src || new URL('types-Bo2Zb4JA.cjs', document.baseURI).href))));
775
+ const __dirname$1 = path$1.dirname(url.fileURLToPath((typeof document === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : (_documentCurrentScript && _documentCurrentScript.tagName.toUpperCase() === 'SCRIPT' && _documentCurrentScript.src || new URL('types-2Bs_CNcy.cjs', document.baseURI).href))));
776
776
  function projectPath() {
777
777
  const path = path$1.resolve(__dirname$1, "..");
778
778
  return path;
@@ -21,7 +21,7 @@ import net from 'node:net';
21
21
  import { spawn as spawn$1 } from 'node:child_process';
22
22
 
23
23
  var name = "flockbay";
24
- var version = "0.10.39";
24
+ var version = "0.10.40";
25
25
  var description = "Flockbay CLI (local agent + daemon)";
26
26
  var author = "Eduardo Orellana";
27
27
  var license = "UNLICENSED";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "flockbay",
3
- "version": "0.10.39",
3
+ "version": "0.10.40",
4
4
  "description": "Flockbay CLI (local agent + daemon)",
5
5
  "author": "Eduardo Orellana",
6
6
  "license": "UNLICENSED",