@kenkaiiii/gg-boss 4.3.155 → 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.
@@ -90791,6 +90791,14 @@ function log2(level, category, message, data) {
90791
90791
  } catch {
90792
90792
  }
90793
90793
  }
90794
+ function closeLogger2() {
90795
+ if (fd2 === null) return;
90796
+ try {
90797
+ fs26.closeSync(fd2);
90798
+ } catch {
90799
+ }
90800
+ fd2 = null;
90801
+ }
90794
90802
 
90795
90803
  // src/worker.ts
90796
90804
  init_esm_shims();
@@ -90854,6 +90862,12 @@ function getSnapshot() {
90854
90862
  function useBossState() {
90855
90863
  return (0, import_react75.useSyncExternalStore)(subscribe, getSnapshot, getSnapshot);
90856
90864
  }
90865
+ function subscribeToBossStore(fn) {
90866
+ return subscribe(fn);
90867
+ }
90868
+ function getBossState() {
90869
+ return getSnapshot();
90870
+ }
90857
90871
  var bossStore = {
90858
90872
  init(opts) {
90859
90873
  state = {
@@ -93552,6 +93566,7 @@ Hint: use /model to switch, or check that your account has access.`;
93552
93566
  }
93553
93567
 
93554
93568
  export {
93569
+ MODELS,
93555
93570
  getContextWindow,
93556
93571
  getAppPaths,
93557
93572
  require_react,
@@ -93585,14 +93600,18 @@ export {
93585
93600
  SelectList,
93586
93601
  ModelSelector,
93587
93602
  useBossState,
93603
+ subscribeToBossStore,
93604
+ getBossState,
93588
93605
  bossStore,
93589
93606
  initLogger2 as initLogger,
93590
93607
  log2 as log,
93608
+ closeLogger2 as closeLogger,
93591
93609
  Worker,
93592
93610
  EventQueue,
93593
93611
  useTasksState,
93594
93612
  tasksStore,
93595
93613
  loadSettings,
93614
+ saveSettings,
93596
93615
  getSplashAudioDurationMs,
93597
93616
  playSplashAudio,
93598
93617
  buildBossSystemPrompt,
@@ -93710,4 +93729,4 @@ react/cjs/react-jsx-runtime.development.js:
93710
93729
  * LICENSE file in the root directory of this source tree.
93711
93730
  *)
93712
93731
  */
93713
- //# sourceMappingURL=chunk-YT5BRKQW.js.map
93732
+ //# sourceMappingURL=chunk-KWWLOD25.js.map