codebolt 1.10.3 → 1.10.4

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.
Files changed (2) hide show
  1. package/dist/index.js +63 -18
  2. package/package.json +2 -1
package/dist/index.js CHANGED
@@ -82110,8 +82110,13 @@ Object.defineProperty(exports, "__esModule", ({ value: true }));
82110
82110
  exports.installAndRun = installAndRun;
82111
82111
  exports.startTask = startTask;
82112
82112
  async function loadFixPath() {
82113
- const fixPath = await Promise.resolve().then(() => __importStar(__webpack_require__(63517)));
82114
- fixPath.default(); // since fix-path exports a default function
82113
+ try {
82114
+ const fixPath = await Promise.resolve().then(() => __importStar(__webpack_require__(63517)));
82115
+ fixPath.default();
82116
+ }
82117
+ catch {
82118
+ // fix-path is optional — only needed in Electron GUI environment
82119
+ }
82115
82120
  }
82116
82121
  //=> '/usr/bin'
82117
82122
  if (true) {
@@ -97191,8 +97196,13 @@ function ensureAgentCodeboltPath() {
97191
97196
  return codeboltPath;
97192
97197
  }
97193
97198
  async function loadFixPath() {
97194
- const fixPath = await Promise.resolve().then(() => __importStar(__webpack_require__(63517)));
97195
- fixPath.default(); // since fix-path exports a default function
97199
+ try {
97200
+ const fixPath = await Promise.resolve().then(() => __importStar(__webpack_require__(63517)));
97201
+ fixPath.default();
97202
+ }
97203
+ catch {
97204
+ // fix-path is optional — only needed in Electron GUI environment
97205
+ }
97196
97206
  }
97197
97207
  //=> '/usr/bin'
97198
97208
  if (true) {
@@ -144584,8 +144594,13 @@ const portScannerService_1 = __webpack_require__(71381);
144584
144594
  const stateService_cli_1 = __webpack_require__(45544);
144585
144595
  const socketManager_1 = __webpack_require__(94351);
144586
144596
  async function loadFixPath() {
144587
- const fixPath = await Promise.resolve().then(() => __importStar(__webpack_require__(63517)));
144588
- fixPath.default(); // since fix-path exports a default function
144597
+ try {
144598
+ const fixPath = await Promise.resolve().then(() => __importStar(__webpack_require__(63517)));
144599
+ fixPath.default();
144600
+ }
144601
+ catch {
144602
+ // fix-path is optional — only needed in Electron GUI environment
144603
+ }
144589
144604
  }
144590
144605
  //=> '/usr/bin'
144591
144606
  if (true) {
@@ -150261,8 +150276,13 @@ const pidToWebSockets = new Map();
150261
150276
  let shellPrompt = os_1.default.platform() === 'win32' ? '> ' : '$ ';
150262
150277
  let powershellCommand = "";
150263
150278
  async function loadFixPath() {
150264
- const fixPath = await Promise.resolve().then(() => __importStar(__webpack_require__(63517)));
150265
- fixPath.default(); // since fix-path exports a default function
150279
+ try {
150280
+ const fixPath = await Promise.resolve().then(() => __importStar(__webpack_require__(63517)));
150281
+ fixPath.default();
150282
+ }
150283
+ catch {
150284
+ // fix-path is optional — only needed in Electron GUI environment
150285
+ }
150266
150286
  }
150267
150287
  if (true) {
150268
150288
  loadFixPath();
@@ -156035,8 +156055,13 @@ const reader_1 = __webpack_require__(56368);
156035
156055
  const writer_1 = __webpack_require__(95452);
156036
156056
  // Removed logger import to prevent main process blocking
156037
156057
  async function loadFixPath() {
156038
- const fixPath = await Promise.resolve().then(() => __importStar(__webpack_require__(63517)));
156039
- fixPath.default(); // since fix-path exports a default function
156058
+ try {
156059
+ const fixPath = await Promise.resolve().then(() => __importStar(__webpack_require__(63517)));
156060
+ fixPath.default();
156061
+ }
156062
+ catch {
156063
+ // fix-path is optional — only needed in Electron GUI environment
156064
+ }
156040
156065
  }
156041
156066
  //=> '/usr/bin'
156042
156067
  if (true) {
@@ -158946,8 +158971,13 @@ const componentType_1 = __webpack_require__(24339);
158946
158971
  const wsPtyMap = new Map();
158947
158972
  let intervalActive = false;
158948
158973
  async function loadFixPath() {
158949
- const fixPath = await Promise.resolve().then(() => __importStar(__webpack_require__(63517)));
158950
- fixPath.default(); // since fix-path exports a default function
158974
+ try {
158975
+ const fixPath = await Promise.resolve().then(() => __importStar(__webpack_require__(63517)));
158976
+ fixPath.default();
158977
+ }
158978
+ catch {
158979
+ // fix-path is optional — only needed in Electron GUI environment
158980
+ }
158951
158981
  }
158952
158982
  if (true) {
158953
158983
  loadFixPath();
@@ -171342,8 +171372,13 @@ const fs_1 = __webpack_require__(94383);
171342
171372
  const handlebars_1 = __webpack_require__(57156);
171343
171373
  const appLogger_1 = __importDefault(__webpack_require__(8479));
171344
171374
  async function loadFixPath() {
171345
- const fixPath = await Promise.resolve().then(() => __importStar(__webpack_require__(63517)));
171346
- fixPath.default(); // since fix-path exports a default function
171375
+ try {
171376
+ const fixPath = await Promise.resolve().then(() => __importStar(__webpack_require__(63517)));
171377
+ fixPath.default();
171378
+ }
171379
+ catch {
171380
+ // fix-path is optional — only needed in Electron GUI environment
171381
+ }
171347
171382
  }
171348
171383
  //=> '/usr/bin'
171349
171384
  if (true) {
@@ -177471,8 +177506,13 @@ exports.killProcessByPort = killProcessByPort;
177471
177506
  const find_process_1 = __importDefault(__webpack_require__(14039));
177472
177507
  const child_process_1 = __webpack_require__(13200);
177473
177508
  async function loadFixPath() {
177474
- const fixPath = await Promise.resolve().then(() => __importStar(__webpack_require__(63517)));
177475
- fixPath.default(); // since fix-path exports a default function
177509
+ try {
177510
+ const fixPath = await Promise.resolve().then(() => __importStar(__webpack_require__(63517)));
177511
+ fixPath.default();
177512
+ }
177513
+ catch {
177514
+ // fix-path is optional — only needed in Electron GUI environment
177515
+ }
177476
177516
  }
177477
177517
  //=> '/usr/bin'
177478
177518
  if (true) {
@@ -177540,8 +177580,13 @@ const path_1 = __importDefault(__webpack_require__(62003));
177540
177580
  const fs_extra_1 = __importDefault(__webpack_require__(44652));
177541
177581
  const appLogger_1 = __importDefault(__webpack_require__(8479));
177542
177582
  async function loadFixPath() {
177543
- const fixPath = await Promise.resolve().then(() => __importStar(__webpack_require__(63517)));
177544
- fixPath.default(); // since fix-path exports a default function
177583
+ try {
177584
+ const fixPath = await Promise.resolve().then(() => __importStar(__webpack_require__(63517)));
177585
+ fixPath.default();
177586
+ }
177587
+ catch {
177588
+ // fix-path is optional — only needed in Electron GUI environment
177589
+ }
177545
177590
  }
177546
177591
  //=> '/usr/bin'
177547
177592
  if (true) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "codebolt",
3
- "version": "1.10.3",
3
+ "version": "1.10.4",
4
4
  "description": "CodeBolt headless server CLI",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -30,6 +30,7 @@
30
30
  "@google-cloud/vertexai": "^1.9.3",
31
31
  "@google/generative-ai": "^0.18.0",
32
32
  "@huggingface/inference": "^3.4.1",
33
+ "@huggingface/tokenizers": "^0.1.2",
33
34
  "@json-schema-tools/traverse": "^1.10.4",
34
35
  "@mistralai/mistralai": "^1.5.0",
35
36
  "@octokit/rest": "^21.1.1",