@kenkaiiii/gg-boss 4.3.154 → 4.3.156

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.
@@ -87567,7 +87567,12 @@ function ensureLoaded() {
87567
87567
  return void 0;
87568
87568
  loadAttempted = true;
87569
87569
  import("./dist-VXOVSHZ5.js").then((m) => {
87570
- hlModule = m;
87570
+ const candidate = m;
87571
+ if (typeof candidate.supportsLanguage === "function") {
87572
+ hlModule = candidate;
87573
+ } else if (candidate.default && typeof candidate.default.supportsLanguage === "function") {
87574
+ hlModule = candidate.default;
87575
+ }
87571
87576
  }, () => {
87572
87577
  });
87573
87578
  return void 0;
@@ -90786,6 +90791,14 @@ function log2(level, category, message, data) {
90786
90791
  } catch {
90787
90792
  }
90788
90793
  }
90794
+ function closeLogger2() {
90795
+ if (fd2 === null) return;
90796
+ try {
90797
+ fs26.closeSync(fd2);
90798
+ } catch {
90799
+ }
90800
+ fd2 = null;
90801
+ }
90789
90802
 
90790
90803
  // src/worker.ts
90791
90804
  init_esm_shims();
@@ -90849,6 +90862,12 @@ function getSnapshot() {
90849
90862
  function useBossState() {
90850
90863
  return (0, import_react75.useSyncExternalStore)(subscribe, getSnapshot, getSnapshot);
90851
90864
  }
90865
+ function subscribeToBossStore(fn) {
90866
+ return subscribe(fn);
90867
+ }
90868
+ function getBossState() {
90869
+ return getSnapshot();
90870
+ }
90852
90871
  var bossStore = {
90853
90872
  init(opts) {
90854
90873
  state = {
@@ -93547,6 +93566,7 @@ Hint: use /model to switch, or check that your account has access.`;
93547
93566
  }
93548
93567
 
93549
93568
  export {
93569
+ MODELS,
93550
93570
  getContextWindow,
93551
93571
  getAppPaths,
93552
93572
  require_react,
@@ -93580,14 +93600,18 @@ export {
93580
93600
  SelectList,
93581
93601
  ModelSelector,
93582
93602
  useBossState,
93603
+ subscribeToBossStore,
93604
+ getBossState,
93583
93605
  bossStore,
93584
93606
  initLogger2 as initLogger,
93585
93607
  log2 as log,
93608
+ closeLogger2 as closeLogger,
93586
93609
  Worker,
93587
93610
  EventQueue,
93588
93611
  useTasksState,
93589
93612
  tasksStore,
93590
93613
  loadSettings,
93614
+ saveSettings,
93591
93615
  getSplashAudioDurationMs,
93592
93616
  playSplashAudio,
93593
93617
  buildBossSystemPrompt,
@@ -93705,4 +93729,4 @@ react/cjs/react-jsx-runtime.development.js:
93705
93729
  * LICENSE file in the root directory of this source tree.
93706
93730
  *)
93707
93731
  */
93708
- //# sourceMappingURL=chunk-WGJRDNT6.js.map
93732
+ //# sourceMappingURL=chunk-KWWLOD25.js.map