flockbay 0.10.35 → 0.10.36
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/{index-DwYaKKj_.cjs → index-BNikKvWZ.cjs} +5 -5
- package/dist/{index-BMs-hgAn.mjs → index-CGMEyldR.mjs} +4 -4
- package/dist/index.cjs +2 -2
- package/dist/index.mjs +2 -2
- package/dist/lib.cjs +1 -1
- package/dist/lib.mjs +1 -1
- package/dist/{migratePlugin-BlHy_whP.cjs → migratePlugin-CRFWuUEw.cjs} +1 -1
- package/dist/{migratePlugin-D12Rm64o.mjs → migratePlugin-DtZdlmFb.mjs} +1 -1
- package/dist/{runCodex-BM8Orja_.cjs → runCodex-BluVgwt8.cjs} +2 -2
- package/dist/{runCodex-B1GawdWh.mjs → runCodex-DsHHZkRX.mjs} +2 -2
- package/dist/{runGemini-CM66E2lV.cjs → runGemini-BIfd1bTs.cjs} +2 -2
- package/dist/{runGemini-DkRnAl3E.mjs → runGemini-cX9eDpjD.mjs} +2 -2
- package/dist/{types-Dm3ppWLz.cjs → types-CwRisvq6.cjs} +11 -3
- package/dist/{types-CA4DI_7D.mjs → types-D-KlOy1q.mjs} +10 -2
- package/package.json +1 -1
|
@@ -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-
|
|
6
|
+
var types = require('./types-CwRisvq6.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-
|
|
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-BNikKvWZ.cjs', document.baseURI).href)));
|
|
1321
1321
|
const __dirname$1 = path.join(__filename$1, "..");
|
|
1322
1322
|
function getGlobalClaudeVersion(claudeExecutable) {
|
|
1323
1323
|
try {
|
|
@@ -15549,7 +15549,7 @@ async function authAndSetupMachineIfNeeded() {
|
|
|
15549
15549
|
process.exit(1);
|
|
15550
15550
|
}
|
|
15551
15551
|
try {
|
|
15552
|
-
const { migrateUnrealMcpToFlockbayMcp } = await Promise.resolve().then(function () { return require('./migratePlugin-
|
|
15552
|
+
const { migrateUnrealMcpToFlockbayMcp } = await Promise.resolve().then(function () { return require('./migratePlugin-CRFWuUEw.cjs'); });
|
|
15553
15553
|
const result = migrateUnrealMcpToFlockbayMcp({
|
|
15554
15554
|
engineRoot,
|
|
15555
15555
|
projectUprojectPath: project || void 0,
|
|
@@ -15688,7 +15688,7 @@ ${engineRoot}`, {
|
|
|
15688
15688
|
} else if (subcommand === "codex") {
|
|
15689
15689
|
try {
|
|
15690
15690
|
await chdirToNearestUprojectRootIfPresent();
|
|
15691
|
-
const { runCodex } = await Promise.resolve().then(function () { return require('./runCodex-
|
|
15691
|
+
const { runCodex } = await Promise.resolve().then(function () { return require('./runCodex-BluVgwt8.cjs'); });
|
|
15692
15692
|
let startedBy = void 0;
|
|
15693
15693
|
let sessionId = void 0;
|
|
15694
15694
|
for (let i = 1; i < args.length; i++) {
|
|
@@ -15790,7 +15790,7 @@ ${engineRoot}`, {
|
|
|
15790
15790
|
}
|
|
15791
15791
|
try {
|
|
15792
15792
|
await chdirToNearestUprojectRootIfPresent();
|
|
15793
|
-
const { runGemini } = await Promise.resolve().then(function () { return require('./runGemini-
|
|
15793
|
+
const { runGemini } = await Promise.resolve().then(function () { return require('./runGemini-BIfd1bTs.cjs'); });
|
|
15794
15794
|
let startedBy = void 0;
|
|
15795
15795
|
let sessionId = void 0;
|
|
15796
15796
|
for (let i = 1; i < args.length; i++) {
|
|
@@ -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-
|
|
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-D-KlOy1q.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';
|
|
@@ -15527,7 +15527,7 @@ async function authAndSetupMachineIfNeeded() {
|
|
|
15527
15527
|
process.exit(1);
|
|
15528
15528
|
}
|
|
15529
15529
|
try {
|
|
15530
|
-
const { migrateUnrealMcpToFlockbayMcp } = await import('./migratePlugin-
|
|
15530
|
+
const { migrateUnrealMcpToFlockbayMcp } = await import('./migratePlugin-DtZdlmFb.mjs');
|
|
15531
15531
|
const result = migrateUnrealMcpToFlockbayMcp({
|
|
15532
15532
|
engineRoot,
|
|
15533
15533
|
projectUprojectPath: project || void 0,
|
|
@@ -15666,7 +15666,7 @@ ${engineRoot}`, {
|
|
|
15666
15666
|
} else if (subcommand === "codex") {
|
|
15667
15667
|
try {
|
|
15668
15668
|
await chdirToNearestUprojectRootIfPresent();
|
|
15669
|
-
const { runCodex } = await import('./runCodex-
|
|
15669
|
+
const { runCodex } = await import('./runCodex-DsHHZkRX.mjs');
|
|
15670
15670
|
let startedBy = void 0;
|
|
15671
15671
|
let sessionId = void 0;
|
|
15672
15672
|
for (let i = 1; i < args.length; i++) {
|
|
@@ -15768,7 +15768,7 @@ ${engineRoot}`, {
|
|
|
15768
15768
|
}
|
|
15769
15769
|
try {
|
|
15770
15770
|
await chdirToNearestUprojectRootIfPresent();
|
|
15771
|
-
const { runGemini } = await import('./runGemini-
|
|
15771
|
+
const { runGemini } = await import('./runGemini-cX9eDpjD.mjs');
|
|
15772
15772
|
let startedBy = void 0;
|
|
15773
15773
|
let sessionId = void 0;
|
|
15774
15774
|
for (let i = 1; i < args.length; i++) {
|
package/dist/index.cjs
CHANGED
package/dist/index.mjs
CHANGED
package/dist/lib.cjs
CHANGED
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-
|
|
1
|
+
export { A as ApiClient, a as ApiSessionClient, R as RawJSONLinesSchema, c as configuration, l as logger } from './types-D-KlOy1q.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-
|
|
3
|
+
import { i as installUnrealMcpPluginToEngine } from './types-D-KlOy1q.mjs';
|
|
4
4
|
import 'axios';
|
|
5
5
|
import 'node:os';
|
|
6
6
|
import '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-
|
|
5
|
+
var types = require('./types-CwRisvq6.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-
|
|
15
|
+
var index = require('./index-BNikKvWZ.cjs');
|
|
16
16
|
require('axios');
|
|
17
17
|
require('node:events');
|
|
18
18
|
require('socket.io-client');
|
|
@@ -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-
|
|
3
|
+
import { l as logger, A as ApiClient, p as packageJson, c as configuration, r as readSettings, b as projectPath } from './types-D-KlOy1q.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-
|
|
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-CGMEyldR.mjs';
|
|
14
14
|
import 'axios';
|
|
15
15
|
import 'node:events';
|
|
16
16
|
import 'socket.io-client';
|
|
@@ -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-
|
|
10
|
-
var index = require('./index-
|
|
9
|
+
var types = require('./types-CwRisvq6.cjs');
|
|
10
|
+
var index = require('./index-BNikKvWZ.cjs');
|
|
11
11
|
var node_child_process = require('node:child_process');
|
|
12
12
|
var sdk = require('@agentclientprotocol/sdk');
|
|
13
13
|
var fs = require('fs');
|
|
@@ -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-
|
|
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-
|
|
7
|
+
import { l as logger, p as packageJson, A as ApiClient, c as configuration, r as readSettings, b as projectPath } from './types-D-KlOy1q.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-CGMEyldR.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';
|
|
@@ -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.
|
|
45
|
+
var version = "0.10.36";
|
|
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-
|
|
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-CwRisvq6.cjs', document.baseURI).href))));
|
|
776
776
|
function projectPath() {
|
|
777
777
|
const path = path$1.resolve(__dirname$1, "..");
|
|
778
778
|
return path;
|
|
@@ -3612,7 +3612,15 @@ async function buildAndInstallUnrealMcpPlugin(options) {
|
|
|
3612
3612
|
logStream.write(`args: ${JSON.stringify(args)}
|
|
3613
3613
|
|
|
3614
3614
|
`);
|
|
3615
|
-
const
|
|
3615
|
+
const quoteCmdArg = (value) => {
|
|
3616
|
+
const raw = String(value ?? "");
|
|
3617
|
+
if (!raw) return '""';
|
|
3618
|
+
if (!/[\\s"]/g.test(raw)) return raw;
|
|
3619
|
+
return `"${raw.replace(/"/g, '""')}"`;
|
|
3620
|
+
};
|
|
3621
|
+
const child = process.platform === "win32" ? node_child_process.spawn("cmd.exe", ["/s", "/c", [quoteCmdArg(uat), ...args.map(quoteCmdArg)].join(" ")], {
|
|
3622
|
+
stdio: ["ignore", "pipe", "pipe"]
|
|
3623
|
+
}) : node_child_process.spawn(uat, args, { stdio: ["ignore", "pipe", "pipe"] });
|
|
3616
3624
|
child.stdout?.on("data", (chunk) => logStream.write(chunk));
|
|
3617
3625
|
child.stderr?.on("data", (chunk) => logStream.write(chunk));
|
|
3618
3626
|
const exitCode = await new Promise((resolve) => child.on("close", resolve));
|
|
@@ -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.
|
|
24
|
+
var version = "0.10.36";
|
|
25
25
|
var description = "Flockbay CLI (local agent + daemon)";
|
|
26
26
|
var author = "Eduardo Orellana";
|
|
27
27
|
var license = "UNLICENSED";
|
|
@@ -3591,7 +3591,15 @@ async function buildAndInstallUnrealMcpPlugin(options) {
|
|
|
3591
3591
|
logStream.write(`args: ${JSON.stringify(args)}
|
|
3592
3592
|
|
|
3593
3593
|
`);
|
|
3594
|
-
const
|
|
3594
|
+
const quoteCmdArg = (value) => {
|
|
3595
|
+
const raw = String(value ?? "");
|
|
3596
|
+
if (!raw) return '""';
|
|
3597
|
+
if (!/[\\s"]/g.test(raw)) return raw;
|
|
3598
|
+
return `"${raw.replace(/"/g, '""')}"`;
|
|
3599
|
+
};
|
|
3600
|
+
const child = process.platform === "win32" ? spawn$1("cmd.exe", ["/s", "/c", [quoteCmdArg(uat), ...args.map(quoteCmdArg)].join(" ")], {
|
|
3601
|
+
stdio: ["ignore", "pipe", "pipe"]
|
|
3602
|
+
}) : spawn$1(uat, args, { stdio: ["ignore", "pipe", "pipe"] });
|
|
3595
3603
|
child.stdout?.on("data", (chunk) => logStream.write(chunk));
|
|
3596
3604
|
child.stderr?.on("data", (chunk) => logStream.write(chunk));
|
|
3597
3605
|
const exitCode = await new Promise((resolve) => child.on("close", resolve));
|