flockbay 0.10.25 → 0.10.26
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-CTYVAA_M.cjs → index-B8IrJG_V.cjs} +10 -6
- package/dist/{index-B22iDcA0.mjs → index-BneT2Zwr.mjs} +9 -5
- 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/{runCodex-DDxij6Wd.mjs → runCodex-CGUKR560.mjs} +2 -2
- package/dist/{runCodex-DjisgfAa.cjs → runCodex-CKnrY7mP.cjs} +2 -2
- package/dist/{runGemini-B1i5JUTA.cjs → runGemini-BOTCmjdU.cjs} +2 -2
- package/dist/{runGemini-BSz9-pJj.mjs → runGemini-B_PdxGx_.mjs} +2 -2
- package/dist/{types-fWJj1SlT.cjs → types-BbiNp28R.cjs} +2 -2
- package/dist/{types-Cg6Y04sc.mjs → types-PaPDbOuA.mjs} +1 -1
- 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-BbiNp28R.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');
|
|
@@ -1273,7 +1273,7 @@ function buildDaemonSafeEnv(baseEnv, binPath) {
|
|
|
1273
1273
|
env[pathKey] = [...prepend, ...existingParts].join(pathSep);
|
|
1274
1274
|
return env;
|
|
1275
1275
|
}
|
|
1276
|
-
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-
|
|
1276
|
+
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-B8IrJG_V.cjs', document.baseURI).href)));
|
|
1277
1277
|
const __dirname$1 = path.join(__filename$1, "..");
|
|
1278
1278
|
function getGlobalClaudeVersion(claudeExecutable) {
|
|
1279
1279
|
try {
|
|
@@ -3624,13 +3624,17 @@ async function runGit(args, cwd, timeoutMs) {
|
|
|
3624
3624
|
}
|
|
3625
3625
|
async function postJson(path, token, body) {
|
|
3626
3626
|
const base = types.configuration.serverUrl.replace(/\/+$/, "");
|
|
3627
|
-
const
|
|
3627
|
+
const timeoutMsRaw = String(process.env.FLOCKBAY_COORDINATION_HTTP_TIMEOUT_MS || "").trim();
|
|
3628
|
+
const timeoutMs = Number.isFinite(Number(timeoutMsRaw)) && Number(timeoutMsRaw) > 0 ? Number(timeoutMsRaw) : 7e3;
|
|
3629
|
+
const url = `${base}${path}`;
|
|
3630
|
+
const res = await fetch(url, {
|
|
3628
3631
|
method: "POST",
|
|
3629
3632
|
headers: {
|
|
3630
3633
|
Authorization: `Machine ${token}`,
|
|
3631
3634
|
"Content-Type": "application/json"
|
|
3632
3635
|
},
|
|
3633
|
-
body: JSON.stringify(body ?? {})
|
|
3636
|
+
body: JSON.stringify(body ?? {}),
|
|
3637
|
+
signal: AbortSignal.timeout(timeoutMs)
|
|
3634
3638
|
});
|
|
3635
3639
|
const data = await res.json().catch(() => null);
|
|
3636
3640
|
if (!res.ok) {
|
|
@@ -12692,7 +12696,7 @@ ${engineRoot}`, {
|
|
|
12692
12696
|
} else if (subcommand === "codex") {
|
|
12693
12697
|
try {
|
|
12694
12698
|
await chdirToNearestUprojectRootIfPresent();
|
|
12695
|
-
const { runCodex } = await Promise.resolve().then(function () { return require('./runCodex-
|
|
12699
|
+
const { runCodex } = await Promise.resolve().then(function () { return require('./runCodex-CKnrY7mP.cjs'); });
|
|
12696
12700
|
let startedBy = void 0;
|
|
12697
12701
|
let sessionId = void 0;
|
|
12698
12702
|
for (let i = 1; i < args.length; i++) {
|
|
@@ -12794,7 +12798,7 @@ ${engineRoot}`, {
|
|
|
12794
12798
|
}
|
|
12795
12799
|
try {
|
|
12796
12800
|
await chdirToNearestUprojectRootIfPresent();
|
|
12797
|
-
const { runGemini } = await Promise.resolve().then(function () { return require('./runGemini-
|
|
12801
|
+
const { runGemini } = await Promise.resolve().then(function () { return require('./runGemini-BOTCmjdU.cjs'); });
|
|
12798
12802
|
let startedBy = void 0;
|
|
12799
12803
|
let sessionId = void 0;
|
|
12800
12804
|
for (let i = 1; i < args.length; i++) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import{createRequire as _pkgrollCR}from"node:module";const require=_pkgrollCR(import.meta.url);import chalk from 'chalk';
|
|
2
2
|
import os, { homedir } from 'node:os';
|
|
3
3
|
import { randomUUID, createCipheriv, randomBytes } from 'node:crypto';
|
|
4
|
-
import { l as logger, p as projectPath, d as backoff, e as delay, R as RawJSONLinesSchema, c as configuration, f as readDaemonState, g as clearDaemonState, b as packageJson, r as readSettings, h as readCredentials, u as updateSettings, w as writeCredentials, i as unrealMcpPythonDir, j as acquireDaemonLock, k as writeDaemonState, m as ApiMachineClient, n as releaseDaemonLock, s as sendUnrealMcpTcpCommand, A as ApiClient, o as clearCredentials, q as clearMachineId, t as installUnrealMcpPluginToEngine, v as buildAndInstallUnrealMcpPlugin, x as getLatestDaemonLog, y as normalizeServerUrlForNode } from './types-
|
|
4
|
+
import { l as logger, p as projectPath, d as backoff, e as delay, R as RawJSONLinesSchema, c as configuration, f as readDaemonState, g as clearDaemonState, b as packageJson, r as readSettings, h as readCredentials, u as updateSettings, w as writeCredentials, i as unrealMcpPythonDir, j as acquireDaemonLock, k as writeDaemonState, m as ApiMachineClient, n as releaseDaemonLock, s as sendUnrealMcpTcpCommand, A as ApiClient, o as clearCredentials, q as clearMachineId, t as installUnrealMcpPluginToEngine, v as buildAndInstallUnrealMcpPlugin, x as getLatestDaemonLog, y as normalizeServerUrlForNode } from './types-PaPDbOuA.mjs';
|
|
5
5
|
import { spawn, execFileSync, execSync } from 'node:child_process';
|
|
6
6
|
import path, { resolve, join, dirname } from 'node:path';
|
|
7
7
|
import { createInterface } from 'node:readline';
|
|
@@ -3602,13 +3602,17 @@ async function runGit(args, cwd, timeoutMs) {
|
|
|
3602
3602
|
}
|
|
3603
3603
|
async function postJson(path, token, body) {
|
|
3604
3604
|
const base = configuration.serverUrl.replace(/\/+$/, "");
|
|
3605
|
-
const
|
|
3605
|
+
const timeoutMsRaw = String(process.env.FLOCKBAY_COORDINATION_HTTP_TIMEOUT_MS || "").trim();
|
|
3606
|
+
const timeoutMs = Number.isFinite(Number(timeoutMsRaw)) && Number(timeoutMsRaw) > 0 ? Number(timeoutMsRaw) : 7e3;
|
|
3607
|
+
const url = `${base}${path}`;
|
|
3608
|
+
const res = await fetch(url, {
|
|
3606
3609
|
method: "POST",
|
|
3607
3610
|
headers: {
|
|
3608
3611
|
Authorization: `Machine ${token}`,
|
|
3609
3612
|
"Content-Type": "application/json"
|
|
3610
3613
|
},
|
|
3611
|
-
body: JSON.stringify(body ?? {})
|
|
3614
|
+
body: JSON.stringify(body ?? {}),
|
|
3615
|
+
signal: AbortSignal.timeout(timeoutMs)
|
|
3612
3616
|
});
|
|
3613
3617
|
const data = await res.json().catch(() => null);
|
|
3614
3618
|
if (!res.ok) {
|
|
@@ -12670,7 +12674,7 @@ ${engineRoot}`, {
|
|
|
12670
12674
|
} else if (subcommand === "codex") {
|
|
12671
12675
|
try {
|
|
12672
12676
|
await chdirToNearestUprojectRootIfPresent();
|
|
12673
|
-
const { runCodex } = await import('./runCodex-
|
|
12677
|
+
const { runCodex } = await import('./runCodex-CGUKR560.mjs');
|
|
12674
12678
|
let startedBy = void 0;
|
|
12675
12679
|
let sessionId = void 0;
|
|
12676
12680
|
for (let i = 1; i < args.length; i++) {
|
|
@@ -12772,7 +12776,7 @@ ${engineRoot}`, {
|
|
|
12772
12776
|
}
|
|
12773
12777
|
try {
|
|
12774
12778
|
await chdirToNearestUprojectRootIfPresent();
|
|
12775
|
-
const { runGemini } = await import('./runGemini-
|
|
12779
|
+
const { runGemini } = await import('./runGemini-B_PdxGx_.mjs');
|
|
12776
12780
|
let startedBy = void 0;
|
|
12777
12781
|
let sessionId = void 0;
|
|
12778
12782
|
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-PaPDbOuA.mjs';
|
|
2
2
|
import 'axios';
|
|
3
3
|
import 'node:fs';
|
|
4
4
|
import 'node:os';
|
|
@@ -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, r as readSettings, p as projectPath, c as configuration, b as packageJson } from './types-
|
|
3
|
+
import { l as logger, A as ApiClient, r as readSettings, p as projectPath, c as configuration, b as packageJson } from './types-PaPDbOuA.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 from 'node:os';
|
|
11
11
|
import path, { 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, 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, e as buildProjectCapsule, t as trimIdent, g as autoFinalizeCoordinationWorkItem, j as detectScreenshotsForGate, k as applyCoordinationSideEffectsFromMcpToolResult, l as stopCaffeinate } from './index-
|
|
13
|
+
import { s as shouldCountToolCall, c as consumeToolQuota, f as formatQuotaDeniedReason, h as hashObject, 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, e as buildProjectCapsule, t as trimIdent, g as autoFinalizeCoordinationWorkItem, j as detectScreenshotsForGate, k as applyCoordinationSideEffectsFromMcpToolResult, l as stopCaffeinate } from './index-BneT2Zwr.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-BbiNp28R.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-B8IrJG_V.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-BbiNp28R.cjs');
|
|
10
|
+
var index = require('./index-B8IrJG_V.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 from 'node:os';
|
|
5
5
|
import path, { resolve, join as join$1, basename } from 'node:path';
|
|
6
6
|
import { mkdir, writeFile, readFile } from 'node:fs/promises';
|
|
7
|
-
import { l as logger, b as packageJson, A as ApiClient, r as readSettings, p as projectPath, c as configuration } from './types-
|
|
8
|
-
import { s as shouldCountToolCall, c as consumeToolQuota, f as formatQuotaDeniedReason, h as hashObject, i as initialMachineMetadata, n as notifyDaemonSessionStarted, M as MessageQueue2, e as buildProjectCapsule, a as setLatestUserImages, b as MessageBuffer, w as withUserImagesMarker, r as registerKillSessionHandler, d as startFlockbayServer, m as extractUserImagesMarker, o as getLatestUserImages, P as PLATFORM_SYSTEM_PROMPT, g as autoFinalizeCoordinationWorkItem, E as ElicitationHub, j as detectScreenshotsForGate, l as stopCaffeinate } from './index-
|
|
7
|
+
import { l as logger, b as packageJson, A as ApiClient, r as readSettings, p as projectPath, c as configuration } from './types-PaPDbOuA.mjs';
|
|
8
|
+
import { s as shouldCountToolCall, c as consumeToolQuota, f as formatQuotaDeniedReason, h as hashObject, i as initialMachineMetadata, n as notifyDaemonSessionStarted, M as MessageQueue2, e as buildProjectCapsule, a as setLatestUserImages, b as MessageBuffer, w as withUserImagesMarker, r as registerKillSessionHandler, d as startFlockbayServer, m as extractUserImagesMarker, o as getLatestUserImages, P as PLATFORM_SYSTEM_PROMPT, g as autoFinalizeCoordinationWorkItem, E as ElicitationHub, j as detectScreenshotsForGate, l as stopCaffeinate } from './index-BneT2Zwr.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.26";
|
|
46
46
|
var description = "Flockbay CLI (local agent + daemon)";
|
|
47
47
|
var author = "Eduardo Orellana";
|
|
48
48
|
var license = "UNLICENSED";
|
|
@@ -770,7 +770,7 @@ class RpcHandlerManager {
|
|
|
770
770
|
}
|
|
771
771
|
}
|
|
772
772
|
|
|
773
|
-
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-
|
|
773
|
+
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-BbiNp28R.cjs', document.baseURI).href))));
|
|
774
774
|
function projectPath() {
|
|
775
775
|
const path = path$1.resolve(__dirname$1, "..");
|
|
776
776
|
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.
|
|
24
|
+
var version = "0.10.26";
|
|
25
25
|
var description = "Flockbay CLI (local agent + daemon)";
|
|
26
26
|
var author = "Eduardo Orellana";
|
|
27
27
|
var license = "UNLICENSED";
|