flockbay 0.10.34 → 0.10.35
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-CFIt2UQM.mjs → index-BMs-hgAn.mjs} +26 -14
- package/dist/{index-BSHR3vFn.cjs → index-DwYaKKj_.cjs} +27 -15
- 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-XkprCGx-.cjs → migratePlugin-BlHy_whP.cjs} +1 -1
- package/dist/{migratePlugin-DqLNBne5.mjs → migratePlugin-D12Rm64o.mjs} +1 -1
- package/dist/{runCodex-Brmg3z1X.mjs → runCodex-B1GawdWh.mjs} +2 -2
- package/dist/{runCodex-fSft9eMT.cjs → runCodex-BM8Orja_.cjs} +2 -2
- package/dist/{runGemini-BRaGD3rV.cjs → runGemini-CM66E2lV.cjs} +2 -2
- package/dist/{runGemini-CgxsCrs5.mjs → runGemini-DkRnAl3E.mjs} +2 -2
- package/dist/{types-oqZqP-H_.mjs → types-CA4DI_7D.mjs} +2 -2
- package/dist/{types-bI7HKSsa.cjs → types-Dm3ppWLz.cjs} +3 -3
- package/package.json +1 -1
|
@@ -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-CA4DI_7D.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';
|
|
@@ -14831,6 +14831,15 @@ async function handleSmokeTestCommand(args) {
|
|
|
14831
14831
|
}
|
|
14832
14832
|
}
|
|
14833
14833
|
|
|
14834
|
+
function parseStartOptions(args) {
|
|
14835
|
+
const a = args || [];
|
|
14836
|
+
return {
|
|
14837
|
+
showHelp: a.includes("--help") || a.includes("-h") || a.includes("help"),
|
|
14838
|
+
openWebapp: a.includes("--open"),
|
|
14839
|
+
skipUnreal: a.includes("--skip-unreal")
|
|
14840
|
+
};
|
|
14841
|
+
}
|
|
14842
|
+
|
|
14834
14843
|
function readArgValue$1(args, key) {
|
|
14835
14844
|
const idx = args.indexOf(key);
|
|
14836
14845
|
if (idx === -1) return null;
|
|
@@ -15207,7 +15216,7 @@ Switch this profile to production (https://api.flockbay.com) and re-authenticate
|
|
|
15207
15216
|
{ defaultYes: true }
|
|
15208
15217
|
);
|
|
15209
15218
|
if (!shouldSwitch) return;
|
|
15210
|
-
const nextWebappUrl = String(settings?.webappUrl || "").trim() || "https://flockbay.com";
|
|
15219
|
+
const nextWebappUrl = String(settings?.webappUrl || "").trim() || "https://flockbay.com/app";
|
|
15211
15220
|
await updateSettings((s) => ({
|
|
15212
15221
|
...s,
|
|
15213
15222
|
serverUrl: "https://api.flockbay.com",
|
|
@@ -15316,7 +15325,7 @@ async function startDaemonDetachedOrExit(opts) {
|
|
|
15316
15325
|
console.log(chalk.gray(`Workspace:${auth?.orgId ? ` ${auth.orgId}` : " missing"}`));
|
|
15317
15326
|
console.log(chalk.gray(`Daemon: ${daemon?.pid ? `pid=${daemon.pid} port=${daemon.httpPort}` : "not running"}`));
|
|
15318
15327
|
console.log("");
|
|
15319
|
-
openUrlBestEffort(configuration.webappUrl);
|
|
15328
|
+
if (opts?.openWebapp) openUrlBestEffort(configuration.webappUrl);
|
|
15320
15329
|
process.exit(0);
|
|
15321
15330
|
}
|
|
15322
15331
|
const authMismatch = lastUpsertStatus === 401 || /unauthorized/i.test(lastConnectError);
|
|
@@ -15387,7 +15396,7 @@ async function startDaemonDetachedOrExit(opts) {
|
|
|
15387
15396
|
console.log(chalk.gray(`Workspace:${auth?.orgId ? ` ${auth.orgId}` : " missing"}`));
|
|
15388
15397
|
console.log(chalk.gray(`Daemon: ${daemon?.pid ? `pid=${daemon.pid} port=${daemon.httpPort}` : "not running"}`));
|
|
15389
15398
|
console.log("");
|
|
15390
|
-
openUrlBestEffort(configuration.webappUrl);
|
|
15399
|
+
if (opts?.openWebapp) openUrlBestEffort(configuration.webappUrl);
|
|
15391
15400
|
process.exit(0);
|
|
15392
15401
|
} else {
|
|
15393
15402
|
const latest = await getLatestDaemonLog();
|
|
@@ -15431,11 +15440,12 @@ function showStartHelp() {
|
|
|
15431
15440
|
${chalk.bold("flockbay start")} - One-command setup
|
|
15432
15441
|
|
|
15433
15442
|
${chalk.bold("Usage:")}
|
|
15434
|
-
flockbay start [--engine-root <path>] [--profile <name>] Ensure login + daemon running
|
|
15443
|
+
flockbay start [--open] [--engine-root <path>] [--profile <name>] Ensure login + daemon running
|
|
15435
15444
|
|
|
15436
15445
|
${chalk.bold("Options:")}
|
|
15437
15446
|
--profile <name> CLI profile (isolates server/workspace/machine state)
|
|
15438
15447
|
--engine-root <path> Unreal Engine install folder (UE_5.5\u2013UE_5.7)
|
|
15448
|
+
--open Open dashboard in browser (default: disabled)
|
|
15439
15449
|
--skip-unreal Skip Flockbay MCP plugin install
|
|
15440
15450
|
`);
|
|
15441
15451
|
}
|
|
@@ -15517,7 +15527,7 @@ async function authAndSetupMachineIfNeeded() {
|
|
|
15517
15527
|
process.exit(1);
|
|
15518
15528
|
}
|
|
15519
15529
|
try {
|
|
15520
|
-
const { migrateUnrealMcpToFlockbayMcp } = await import('./migratePlugin-
|
|
15530
|
+
const { migrateUnrealMcpToFlockbayMcp } = await import('./migratePlugin-D12Rm64o.mjs');
|
|
15521
15531
|
const result = migrateUnrealMcpToFlockbayMcp({
|
|
15522
15532
|
engineRoot,
|
|
15523
15533
|
projectUprojectPath: project || void 0,
|
|
@@ -15616,15 +15626,15 @@ async function authAndSetupMachineIfNeeded() {
|
|
|
15616
15626
|
return;
|
|
15617
15627
|
} else if (subcommand === "start") {
|
|
15618
15628
|
const startArgs = args.slice(1);
|
|
15619
|
-
|
|
15629
|
+
const parsed = parseStartOptions(startArgs);
|
|
15630
|
+
if (parsed.showHelp) {
|
|
15620
15631
|
showStartHelp();
|
|
15621
15632
|
return;
|
|
15622
15633
|
}
|
|
15623
15634
|
try {
|
|
15624
15635
|
await ensureProdServerWhenLocalDevUnreachable();
|
|
15625
15636
|
await ensureMachineAuthOrLogin();
|
|
15626
|
-
|
|
15627
|
-
if (!skipUnreal) {
|
|
15637
|
+
if (!parsed.skipUnreal) {
|
|
15628
15638
|
const engineRoot = readArgValue(startArgs, "--engine-root") || (process.env.UE_ENGINE_ROOT || "").trim() || (process.env.ENGINE_ROOT || "").trim() || null;
|
|
15629
15639
|
if (engineRoot) {
|
|
15630
15640
|
const shouldInstall = await promptYesNo(`Install Flockbay MCP plugin into this Unreal Engine folder?
|
|
@@ -15644,7 +15654,7 @@ ${engineRoot}`, {
|
|
|
15644
15654
|
}
|
|
15645
15655
|
}
|
|
15646
15656
|
}
|
|
15647
|
-
await startDaemonDetachedOrExit();
|
|
15657
|
+
await startDaemonDetachedOrExit({ openWebapp: parsed.openWebapp });
|
|
15648
15658
|
} catch (error) {
|
|
15649
15659
|
console.error(chalk.red("Error:"), error instanceof Error ? error.message : "Unknown error");
|
|
15650
15660
|
if (process.env.DEBUG) {
|
|
@@ -15656,7 +15666,7 @@ ${engineRoot}`, {
|
|
|
15656
15666
|
} else if (subcommand === "codex") {
|
|
15657
15667
|
try {
|
|
15658
15668
|
await chdirToNearestUprojectRootIfPresent();
|
|
15659
|
-
const { runCodex } = await import('./runCodex-
|
|
15669
|
+
const { runCodex } = await import('./runCodex-B1GawdWh.mjs');
|
|
15660
15670
|
let startedBy = void 0;
|
|
15661
15671
|
let sessionId = void 0;
|
|
15662
15672
|
for (let i = 1; i < args.length; i++) {
|
|
@@ -15758,7 +15768,7 @@ ${engineRoot}`, {
|
|
|
15758
15768
|
}
|
|
15759
15769
|
try {
|
|
15760
15770
|
await chdirToNearestUprojectRootIfPresent();
|
|
15761
|
-
const { runGemini } = await import('./runGemini-
|
|
15771
|
+
const { runGemini } = await import('./runGemini-DkRnAl3E.mjs');
|
|
15762
15772
|
let startedBy = void 0;
|
|
15763
15773
|
let sessionId = void 0;
|
|
15764
15774
|
for (let i = 1; i < args.length; i++) {
|
|
@@ -15831,7 +15841,9 @@ ${engineRoot}`, {
|
|
|
15831
15841
|
}
|
|
15832
15842
|
return;
|
|
15833
15843
|
} else if (daemonSubcommand === "start") {
|
|
15834
|
-
|
|
15844
|
+
const daemonArgs = args.slice(2);
|
|
15845
|
+
const openWebapp = daemonArgs.includes("--open");
|
|
15846
|
+
await startDaemonDetachedOrExit({ openWebapp });
|
|
15835
15847
|
} else if (daemonSubcommand === "start-sync") {
|
|
15836
15848
|
const isInteractive = Boolean(process.stdout.isTTY || process.stderr.isTTY);
|
|
15837
15849
|
if (isInteractive) {
|
|
@@ -15965,7 +15977,7 @@ ${chalk.bold("Usage:")}
|
|
|
15965
15977
|
|
|
15966
15978
|
${chalk.bold("Environment variables (optional):")}
|
|
15967
15979
|
FLOCKBAY_SERVER_URL API base URL (default: https://api.flockbay.com)
|
|
15968
|
-
FLOCKBAY_WEBAPP_URL Web app base URL (default: https://flockbay.com)
|
|
15980
|
+
FLOCKBAY_WEBAPP_URL Web app base URL (default: https://flockbay.com/app)
|
|
15969
15981
|
FLOCKBAY_HOME_DIR Home directory for local CLI state (default: ~/.flockbay)
|
|
15970
15982
|
FLOCKBAY_DISABLE_CAFFEINATE Disable macOS sleep prevention (true/1/yes)
|
|
15971
15983
|
FLOCKBAY_EXPERIMENTAL Enable experimental features (true/1/yes)
|
|
@@ -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-Dm3ppWLz.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-DwYaKKj_.cjs', document.baseURI).href)));
|
|
1321
1321
|
const __dirname$1 = path.join(__filename$1, "..");
|
|
1322
1322
|
function getGlobalClaudeVersion(claudeExecutable) {
|
|
1323
1323
|
try {
|
|
@@ -14853,6 +14853,15 @@ async function handleSmokeTestCommand(args) {
|
|
|
14853
14853
|
}
|
|
14854
14854
|
}
|
|
14855
14855
|
|
|
14856
|
+
function parseStartOptions(args) {
|
|
14857
|
+
const a = args || [];
|
|
14858
|
+
return {
|
|
14859
|
+
showHelp: a.includes("--help") || a.includes("-h") || a.includes("help"),
|
|
14860
|
+
openWebapp: a.includes("--open"),
|
|
14861
|
+
skipUnreal: a.includes("--skip-unreal")
|
|
14862
|
+
};
|
|
14863
|
+
}
|
|
14864
|
+
|
|
14856
14865
|
function readArgValue$1(args, key) {
|
|
14857
14866
|
const idx = args.indexOf(key);
|
|
14858
14867
|
if (idx === -1) return null;
|
|
@@ -15229,7 +15238,7 @@ Switch this profile to production (https://api.flockbay.com) and re-authenticate
|
|
|
15229
15238
|
{ defaultYes: true }
|
|
15230
15239
|
);
|
|
15231
15240
|
if (!shouldSwitch) return;
|
|
15232
|
-
const nextWebappUrl = String(settings?.webappUrl || "").trim() || "https://flockbay.com";
|
|
15241
|
+
const nextWebappUrl = String(settings?.webappUrl || "").trim() || "https://flockbay.com/app";
|
|
15233
15242
|
await types.updateSettings((s) => ({
|
|
15234
15243
|
...s,
|
|
15235
15244
|
serverUrl: "https://api.flockbay.com",
|
|
@@ -15338,7 +15347,7 @@ async function startDaemonDetachedOrExit(opts) {
|
|
|
15338
15347
|
console.log(chalk.gray(`Workspace:${auth?.orgId ? ` ${auth.orgId}` : " missing"}`));
|
|
15339
15348
|
console.log(chalk.gray(`Daemon: ${daemon?.pid ? `pid=${daemon.pid} port=${daemon.httpPort}` : "not running"}`));
|
|
15340
15349
|
console.log("");
|
|
15341
|
-
openUrlBestEffort(types.configuration.webappUrl);
|
|
15350
|
+
if (opts?.openWebapp) openUrlBestEffort(types.configuration.webappUrl);
|
|
15342
15351
|
process.exit(0);
|
|
15343
15352
|
}
|
|
15344
15353
|
const authMismatch = lastUpsertStatus === 401 || /unauthorized/i.test(lastConnectError);
|
|
@@ -15409,7 +15418,7 @@ async function startDaemonDetachedOrExit(opts) {
|
|
|
15409
15418
|
console.log(chalk.gray(`Workspace:${auth?.orgId ? ` ${auth.orgId}` : " missing"}`));
|
|
15410
15419
|
console.log(chalk.gray(`Daemon: ${daemon?.pid ? `pid=${daemon.pid} port=${daemon.httpPort}` : "not running"}`));
|
|
15411
15420
|
console.log("");
|
|
15412
|
-
openUrlBestEffort(types.configuration.webappUrl);
|
|
15421
|
+
if (opts?.openWebapp) openUrlBestEffort(types.configuration.webappUrl);
|
|
15413
15422
|
process.exit(0);
|
|
15414
15423
|
} else {
|
|
15415
15424
|
const latest = await types.getLatestDaemonLog();
|
|
@@ -15453,11 +15462,12 @@ function showStartHelp() {
|
|
|
15453
15462
|
${chalk.bold("flockbay start")} - One-command setup
|
|
15454
15463
|
|
|
15455
15464
|
${chalk.bold("Usage:")}
|
|
15456
|
-
flockbay start [--engine-root <path>] [--profile <name>] Ensure login + daemon running
|
|
15465
|
+
flockbay start [--open] [--engine-root <path>] [--profile <name>] Ensure login + daemon running
|
|
15457
15466
|
|
|
15458
15467
|
${chalk.bold("Options:")}
|
|
15459
15468
|
--profile <name> CLI profile (isolates server/workspace/machine state)
|
|
15460
15469
|
--engine-root <path> Unreal Engine install folder (UE_5.5\u2013UE_5.7)
|
|
15470
|
+
--open Open dashboard in browser (default: disabled)
|
|
15461
15471
|
--skip-unreal Skip Flockbay MCP plugin install
|
|
15462
15472
|
`);
|
|
15463
15473
|
}
|
|
@@ -15539,7 +15549,7 @@ async function authAndSetupMachineIfNeeded() {
|
|
|
15539
15549
|
process.exit(1);
|
|
15540
15550
|
}
|
|
15541
15551
|
try {
|
|
15542
|
-
const { migrateUnrealMcpToFlockbayMcp } = await Promise.resolve().then(function () { return require('./migratePlugin-
|
|
15552
|
+
const { migrateUnrealMcpToFlockbayMcp } = await Promise.resolve().then(function () { return require('./migratePlugin-BlHy_whP.cjs'); });
|
|
15543
15553
|
const result = migrateUnrealMcpToFlockbayMcp({
|
|
15544
15554
|
engineRoot,
|
|
15545
15555
|
projectUprojectPath: project || void 0,
|
|
@@ -15638,15 +15648,15 @@ async function authAndSetupMachineIfNeeded() {
|
|
|
15638
15648
|
return;
|
|
15639
15649
|
} else if (subcommand === "start") {
|
|
15640
15650
|
const startArgs = args.slice(1);
|
|
15641
|
-
|
|
15651
|
+
const parsed = parseStartOptions(startArgs);
|
|
15652
|
+
if (parsed.showHelp) {
|
|
15642
15653
|
showStartHelp();
|
|
15643
15654
|
return;
|
|
15644
15655
|
}
|
|
15645
15656
|
try {
|
|
15646
15657
|
await ensureProdServerWhenLocalDevUnreachable();
|
|
15647
15658
|
await ensureMachineAuthOrLogin();
|
|
15648
|
-
|
|
15649
|
-
if (!skipUnreal) {
|
|
15659
|
+
if (!parsed.skipUnreal) {
|
|
15650
15660
|
const engineRoot = readArgValue(startArgs, "--engine-root") || (process.env.UE_ENGINE_ROOT || "").trim() || (process.env.ENGINE_ROOT || "").trim() || null;
|
|
15651
15661
|
if (engineRoot) {
|
|
15652
15662
|
const shouldInstall = await promptYesNo(`Install Flockbay MCP plugin into this Unreal Engine folder?
|
|
@@ -15666,7 +15676,7 @@ ${engineRoot}`, {
|
|
|
15666
15676
|
}
|
|
15667
15677
|
}
|
|
15668
15678
|
}
|
|
15669
|
-
await startDaemonDetachedOrExit();
|
|
15679
|
+
await startDaemonDetachedOrExit({ openWebapp: parsed.openWebapp });
|
|
15670
15680
|
} catch (error) {
|
|
15671
15681
|
console.error(chalk.red("Error:"), error instanceof Error ? error.message : "Unknown error");
|
|
15672
15682
|
if (process.env.DEBUG) {
|
|
@@ -15678,7 +15688,7 @@ ${engineRoot}`, {
|
|
|
15678
15688
|
} else if (subcommand === "codex") {
|
|
15679
15689
|
try {
|
|
15680
15690
|
await chdirToNearestUprojectRootIfPresent();
|
|
15681
|
-
const { runCodex } = await Promise.resolve().then(function () { return require('./runCodex-
|
|
15691
|
+
const { runCodex } = await Promise.resolve().then(function () { return require('./runCodex-BM8Orja_.cjs'); });
|
|
15682
15692
|
let startedBy = void 0;
|
|
15683
15693
|
let sessionId = void 0;
|
|
15684
15694
|
for (let i = 1; i < args.length; i++) {
|
|
@@ -15780,7 +15790,7 @@ ${engineRoot}`, {
|
|
|
15780
15790
|
}
|
|
15781
15791
|
try {
|
|
15782
15792
|
await chdirToNearestUprojectRootIfPresent();
|
|
15783
|
-
const { runGemini } = await Promise.resolve().then(function () { return require('./runGemini-
|
|
15793
|
+
const { runGemini } = await Promise.resolve().then(function () { return require('./runGemini-CM66E2lV.cjs'); });
|
|
15784
15794
|
let startedBy = void 0;
|
|
15785
15795
|
let sessionId = void 0;
|
|
15786
15796
|
for (let i = 1; i < args.length; i++) {
|
|
@@ -15853,7 +15863,9 @@ ${engineRoot}`, {
|
|
|
15853
15863
|
}
|
|
15854
15864
|
return;
|
|
15855
15865
|
} else if (daemonSubcommand === "start") {
|
|
15856
|
-
|
|
15866
|
+
const daemonArgs = args.slice(2);
|
|
15867
|
+
const openWebapp = daemonArgs.includes("--open");
|
|
15868
|
+
await startDaemonDetachedOrExit({ openWebapp });
|
|
15857
15869
|
} else if (daemonSubcommand === "start-sync") {
|
|
15858
15870
|
const isInteractive = Boolean(process.stdout.isTTY || process.stderr.isTTY);
|
|
15859
15871
|
if (isInteractive) {
|
|
@@ -15987,7 +15999,7 @@ ${chalk.bold("Usage:")}
|
|
|
15987
15999
|
|
|
15988
16000
|
${chalk.bold("Environment variables (optional):")}
|
|
15989
16001
|
FLOCKBAY_SERVER_URL API base URL (default: https://api.flockbay.com)
|
|
15990
|
-
FLOCKBAY_WEBAPP_URL Web app base URL (default: https://flockbay.com)
|
|
16002
|
+
FLOCKBAY_WEBAPP_URL Web app base URL (default: https://flockbay.com/app)
|
|
15991
16003
|
FLOCKBAY_HOME_DIR Home directory for local CLI state (default: ~/.flockbay)
|
|
15992
16004
|
FLOCKBAY_DISABLE_CAFFEINATE Disable macOS sleep prevention (true/1/yes)
|
|
15993
16005
|
FLOCKBAY_EXPERIMENTAL Enable experimental features (true/1/yes)
|
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-CA4DI_7D.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-CA4DI_7D.mjs';
|
|
4
4
|
import 'axios';
|
|
5
5
|
import 'node:os';
|
|
6
6
|
import 'node:events';
|
|
@@ -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-CA4DI_7D.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-BMs-hgAn.mjs';
|
|
14
14
|
import 'axios';
|
|
15
15
|
import 'node:events';
|
|
16
16
|
import 'socket.io-client';
|
|
@@ -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-Dm3ppWLz.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-DwYaKKj_.cjs');
|
|
16
16
|
require('axios');
|
|
17
17
|
require('node:events');
|
|
18
18
|
require('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-Dm3ppWLz.cjs');
|
|
10
|
+
var index = require('./index-DwYaKKj_.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-CA4DI_7D.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-BMs-hgAn.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';
|
|
@@ -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.35";
|
|
25
25
|
var description = "Flockbay CLI (local agent + daemon)";
|
|
26
26
|
var author = "Eduardo Orellana";
|
|
27
27
|
var license = "UNLICENSED";
|
|
@@ -248,7 +248,7 @@ class Configuration {
|
|
|
248
248
|
}
|
|
249
249
|
const rawServerUrl = process.env.FLOCKBAY_SERVER_URL || persistedSettings?.serverUrl || "https://api.flockbay.com";
|
|
250
250
|
this.serverUrl = normalizeServerUrlForNode(rawServerUrl);
|
|
251
|
-
this.webappUrl = process.env.FLOCKBAY_WEBAPP_URL || persistedSettings?.webappUrl || "https://flockbay.com";
|
|
251
|
+
this.webappUrl = process.env.FLOCKBAY_WEBAPP_URL || persistedSettings?.webappUrl || "https://flockbay.com/app";
|
|
252
252
|
this.isExperimentalEnabled = ["true", "1", "yes"].includes(
|
|
253
253
|
(process.env.FLOCKBAY_EXPERIMENTAL || "").toLowerCase()
|
|
254
254
|
);
|
|
@@ -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.35";
|
|
46
46
|
var description = "Flockbay CLI (local agent + daemon)";
|
|
47
47
|
var author = "Eduardo Orellana";
|
|
48
48
|
var license = "UNLICENSED";
|
|
@@ -269,7 +269,7 @@ class Configuration {
|
|
|
269
269
|
}
|
|
270
270
|
const rawServerUrl = process.env.FLOCKBAY_SERVER_URL || persistedSettings?.serverUrl || "https://api.flockbay.com";
|
|
271
271
|
this.serverUrl = normalizeServerUrlForNode(rawServerUrl);
|
|
272
|
-
this.webappUrl = process.env.FLOCKBAY_WEBAPP_URL || persistedSettings?.webappUrl || "https://flockbay.com";
|
|
272
|
+
this.webappUrl = process.env.FLOCKBAY_WEBAPP_URL || persistedSettings?.webappUrl || "https://flockbay.com/app";
|
|
273
273
|
this.isExperimentalEnabled = ["true", "1", "yes"].includes(
|
|
274
274
|
(process.env.FLOCKBAY_EXPERIMENTAL || "").toLowerCase()
|
|
275
275
|
);
|
|
@@ -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-Dm3ppWLz.cjs', document.baseURI).href))));
|
|
776
776
|
function projectPath() {
|
|
777
777
|
const path = path$1.resolve(__dirname$1, "..");
|
|
778
778
|
return path;
|