@burtson-labs/bandit-engine 2.0.164 → 2.0.165

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 (49) hide show
  1. package/dist/aiProviderStore-M4BVEKUB.mjs +9 -0
  2. package/dist/chat-EMKHB23B.mjs +16 -0
  3. package/dist/chat-provider.js +11 -2
  4. package/dist/chat-provider.js.map +1 -1
  5. package/dist/chat-provider.mjs +7 -7
  6. package/dist/{chunk-TY5VL3SG.mjs → chunk-2EM4ATKI.mjs} +3 -3
  7. package/dist/{chunk-VBHI4TJC.mjs → chunk-6VDL4SLX.mjs} +6 -6
  8. package/dist/{chunk-IZX2J65Q.mjs → chunk-ASWUEAWM.mjs} +2 -2
  9. package/dist/{chunk-J6SWNO7Z.mjs → chunk-FEIDGXVR.mjs} +5 -5
  10. package/dist/{chunk-OCVZVBQQ.mjs → chunk-HNXPDIWC.mjs} +12 -3
  11. package/dist/chunk-HNXPDIWC.mjs.map +1 -0
  12. package/dist/{chunk-CQJGUYRW.mjs → chunk-J6LSSK3G.mjs} +2 -2
  13. package/dist/{chunk-5KBTOCQZ.mjs → chunk-LKGBO5OP.mjs} +4 -4
  14. package/dist/{chunk-O6P37PFR.mjs → chunk-NGGTQVGX.mjs} +4 -4
  15. package/dist/{chunk-URZSIL7X.mjs → chunk-QHGGV4KJ.mjs} +7 -7
  16. package/dist/{chunk-WLNZL6SP.mjs → chunk-RLW4RBIR.mjs} +6 -6
  17. package/dist/{chunk-WLNZL6SP.mjs.map → chunk-RLW4RBIR.mjs.map} +1 -1
  18. package/dist/{chunk-PNQRS5EN.mjs → chunk-RNCASZ2Y.mjs} +11 -11
  19. package/dist/{chunk-JYBQAKSZ.mjs → chunk-WSUUW7T2.mjs} +8 -8
  20. package/dist/index.d.mts +5 -3
  21. package/dist/index.d.ts +5 -3
  22. package/dist/index.js +12 -3
  23. package/dist/index.js.map +1 -1
  24. package/dist/index.mjs +12 -12
  25. package/dist/management/management.js +12 -3
  26. package/dist/management/management.js.map +1 -1
  27. package/dist/management/management.mjs +10 -10
  28. package/dist/modals/chat-modal/chat-modal.js +12 -3
  29. package/dist/modals/chat-modal/chat-modal.js.map +1 -1
  30. package/dist/modals/chat-modal/chat-modal.mjs +6 -6
  31. package/dist/modelStore-7YYELPF6.mjs +9 -0
  32. package/package.json +1 -1
  33. package/dist/aiProviderStore-PEGSX4PK.mjs +0 -9
  34. package/dist/chat-OSAVW6L2.mjs +0 -16
  35. package/dist/chunk-OCVZVBQQ.mjs.map +0 -1
  36. package/dist/modelStore-7XYYDCNC.mjs +0 -9
  37. /package/dist/{aiProviderStore-PEGSX4PK.mjs.map → aiProviderStore-M4BVEKUB.mjs.map} +0 -0
  38. /package/dist/{chat-OSAVW6L2.mjs.map → chat-EMKHB23B.mjs.map} +0 -0
  39. /package/dist/{chunk-TY5VL3SG.mjs.map → chunk-2EM4ATKI.mjs.map} +0 -0
  40. /package/dist/{chunk-VBHI4TJC.mjs.map → chunk-6VDL4SLX.mjs.map} +0 -0
  41. /package/dist/{chunk-IZX2J65Q.mjs.map → chunk-ASWUEAWM.mjs.map} +0 -0
  42. /package/dist/{chunk-J6SWNO7Z.mjs.map → chunk-FEIDGXVR.mjs.map} +0 -0
  43. /package/dist/{chunk-CQJGUYRW.mjs.map → chunk-J6LSSK3G.mjs.map} +0 -0
  44. /package/dist/{chunk-5KBTOCQZ.mjs.map → chunk-LKGBO5OP.mjs.map} +0 -0
  45. /package/dist/{chunk-O6P37PFR.mjs.map → chunk-NGGTQVGX.mjs.map} +0 -0
  46. /package/dist/{chunk-URZSIL7X.mjs.map → chunk-QHGGV4KJ.mjs.map} +0 -0
  47. /package/dist/{chunk-PNQRS5EN.mjs.map → chunk-RNCASZ2Y.mjs.map} +0 -0
  48. /package/dist/{chunk-JYBQAKSZ.mjs.map → chunk-WSUUW7T2.mjs.map} +0 -0
  49. /package/dist/{modelStore-7XYYDCNC.mjs.map → modelStore-7YYELPF6.mjs.map} +0 -0
@@ -0,0 +1,9 @@
1
+ import {
2
+ useAIProviderStore
3
+ } from "./chunk-J6LSSK3G.mjs";
4
+ import "./chunk-HNXPDIWC.mjs";
5
+ import "./chunk-BJTO5JO5.mjs";
6
+ export {
7
+ useAIProviderStore
8
+ };
9
+ //# sourceMappingURL=aiProviderStore-M4BVEKUB.mjs.map
@@ -0,0 +1,16 @@
1
+ import {
2
+ chat_default
3
+ } from "./chunk-WSUUW7T2.mjs";
4
+ import "./chunk-ONQMRE2G.mjs";
5
+ import "./chunk-ASWUEAWM.mjs";
6
+ import "./chunk-NGGTQVGX.mjs";
7
+ import "./chunk-RLW4RBIR.mjs";
8
+ import "./chunk-FEIDGXVR.mjs";
9
+ import "./chunk-2EM4ATKI.mjs";
10
+ import "./chunk-J6LSSK3G.mjs";
11
+ import "./chunk-HNXPDIWC.mjs";
12
+ import "./chunk-BJTO5JO5.mjs";
13
+ export {
14
+ chat_default as default
15
+ };
16
+ //# sourceMappingURL=chat-EMKHB23B.mjs.map
@@ -144,11 +144,20 @@ var init_debugLogger = __esm({
144
144
  */
145
145
  debug(message, context) {
146
146
  }
147
+ verboseEnabled() {
148
+ if (this.isDevelopment) return true;
149
+ try {
150
+ return typeof localStorage !== "undefined" && localStorage.getItem("bandit:debug") === "1";
151
+ } catch {
152
+ return false;
153
+ }
154
+ }
147
155
  /**
148
- * Info logs - shown in both development and production
149
- * Used for important user-facing information
156
+ * Info logs - shown in development, or in production when localStorage
157
+ * `bandit:debug` is "1"
150
158
  */
151
159
  info(message, context) {
160
+ if (!this.verboseEnabled()) return;
152
161
  const prefix = this.isDevelopment ? "\u2139\uFE0F [INFO]" : "[INFO]";
153
162
  if (context) {
154
163
  console.info(`${prefix} ${message}`, context);