@hexabot-ai/api 3.2.2 → 3.2.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 (104) hide show
  1. package/README.md +1 -3
  2. package/dist/channel/channel.controller.js +1 -0
  3. package/dist/channel/channel.controller.js.map +1 -1
  4. package/dist/channel/lib/Handler.d.ts +4 -2
  5. package/dist/channel/lib/Handler.js +6 -2
  6. package/dist/channel/lib/Handler.js.map +1 -1
  7. package/dist/channel/services/source.service.d.ts +1 -0
  8. package/dist/channel/services/source.service.js +16 -6
  9. package/dist/channel/services/source.service.js.map +1 -1
  10. package/dist/config/index.js +11 -55
  11. package/dist/config/index.js.map +1 -1
  12. package/dist/extensions/channels/console/i18n/en.translations.json +1 -6
  13. package/dist/extensions/channels/console/i18n/fr.translations.json +1 -6
  14. package/dist/extensions/channels/console/index.channel.js +1 -1
  15. package/dist/extensions/channels/console/index.channel.js.map +1 -1
  16. package/dist/extensions/channels/console/settings.schema.d.ts +0 -2
  17. package/dist/extensions/channels/console/settings.schema.js +0 -12
  18. package/dist/extensions/channels/console/settings.schema.js.map +1 -1
  19. package/dist/extensions/channels/web/base-web-channel.d.ts +2 -2
  20. package/dist/extensions/channels/web/base-web-channel.js +5 -7
  21. package/dist/extensions/channels/web/base-web-channel.js.map +1 -1
  22. package/dist/extensions/channels/web/services/web-session.service.js +8 -20
  23. package/dist/extensions/channels/web/services/web-session.service.js.map +1 -1
  24. package/dist/extensions/channels/web/settings.schema.d.ts +1 -1
  25. package/dist/extensions/channels/web/settings.schema.js +6 -1
  26. package/dist/extensions/channels/web/settings.schema.js.map +1 -1
  27. package/dist/setting/services/setting.service.js +4 -3
  28. package/dist/setting/services/setting.service.js.map +1 -1
  29. package/dist/static/assets/browser-ponyfill-DhVZxpvu.js +2 -0
  30. package/dist/static/assets/{css.worker-BvV5MPou.js → css.worker-B4z49cGk.js} +7 -7
  31. package/dist/static/assets/cssMode-B7czf8m_.js +1 -0
  32. package/dist/static/assets/editor.worker-DyuDvpVp.js +26 -0
  33. package/dist/static/assets/{freemarker2-CY524xfA.js → freemarker2-sX7CP09a.js} +1 -1
  34. package/dist/static/assets/{handlebars-CZMgsFvP.js → handlebars-BfeDEYiM.js} +1 -1
  35. package/dist/static/assets/{html-BSnERd5B.js → html-BGT7kcoZ.js} +1 -1
  36. package/dist/static/assets/{html.worker-BLJhxQJQ.js → html.worker-DtiGdgqp.js} +28 -28
  37. package/dist/static/assets/htmlMode-BHRj50gQ.js +1 -0
  38. package/dist/static/assets/{index-DBXu3Xkp.js → index--ZHMc4gF.js} +2269 -2269
  39. package/dist/static/assets/{index-D-b9KTZd.css → index-BbLr1ieK.css} +1 -1
  40. package/dist/static/assets/{javascript-DRoDoDZ0.js → javascript-BHtELMeM.js} +1 -1
  41. package/dist/static/assets/json.worker-leyajbqV.js +58 -0
  42. package/dist/static/assets/{jsonMode-Dk0pJSE9.js → jsonMode-ZxEJDG58.js} +4 -4
  43. package/dist/static/assets/{liquid-B_RkKmzQ.js → liquid-xDAkaqm1.js} +1 -1
  44. package/dist/static/assets/{lspLanguageFeatures-DyblQzeh.js → lspLanguageFeatures-COe6pbco.js} +1 -1
  45. package/dist/static/assets/{mdx-C8-i5f2E.js → mdx-EKSYt-p_.js} +1 -1
  46. package/dist/static/assets/{python-D-Vv2hoj.js → python-DBrUPvCj.js} +1 -1
  47. package/dist/static/assets/{razor-DTMvP6Wu.js → razor-InDPZAGk.js} +1 -1
  48. package/dist/static/assets/{ts.worker-DGHjMaqB.js → ts.worker-59MjiAqk.js} +63 -63
  49. package/dist/static/assets/{tsMode-BsZ0Kcwx.js → tsMode-BpkGYMwy.js} +1 -1
  50. package/dist/static/assets/{typescript-DnUtc54-.js → typescript-CT3d2mAx.js} +1 -1
  51. package/dist/static/assets/{xml-BZ3tDQX_.js → xml-D7VVWZHB.js} +1 -1
  52. package/dist/static/assets/{yaml-C2vCOQhf.js → yaml-BA_4AjHB.js} +1 -1
  53. package/dist/static/assets/yaml.worker.entry-CsihCPlC.js +419 -0
  54. package/dist/static/index.html +2 -2
  55. package/dist/static/locales/en/translation.json +4 -0
  56. package/dist/static/locales/fr/translation.json +4 -0
  57. package/dist/tsconfig.build.tsbuildinfo +1 -1
  58. package/dist/utils/helpers/origin.d.ts +4 -0
  59. package/dist/utils/helpers/origin.js +37 -0
  60. package/dist/utils/helpers/origin.js.map +1 -0
  61. package/dist/utils/helpers/parse.d.ts +4 -0
  62. package/dist/utils/helpers/parse.js +49 -0
  63. package/dist/utils/helpers/parse.js.map +1 -0
  64. package/dist/utils/index.d.ts +1 -0
  65. package/dist/utils/index.js +1 -0
  66. package/dist/utils/index.js.map +1 -1
  67. package/dist/websocket/tokens.d.ts +1 -0
  68. package/dist/websocket/tokens.js +5 -0
  69. package/dist/websocket/tokens.js.map +1 -0
  70. package/dist/websocket/utils/gateway-options.d.ts +10 -1
  71. package/dist/websocket/utils/gateway-options.js +91 -38
  72. package/dist/websocket/utils/gateway-options.js.map +1 -1
  73. package/dist/websocket/websocket.module.js +7 -2
  74. package/dist/websocket/websocket.module.js.map +1 -1
  75. package/dist/workflow/services/workflow.service.d.ts +6 -2
  76. package/dist/workflow/services/workflow.service.js +16 -11
  77. package/dist/workflow/services/workflow.service.js.map +1 -1
  78. package/package.json +5 -5
  79. package/src/channel/README.md +2 -1
  80. package/src/channel/channel.controller.ts +1 -0
  81. package/src/channel/lib/Handler.ts +6 -0
  82. package/src/channel/services/source.service.ts +23 -6
  83. package/src/config/index.ts +11 -59
  84. package/src/extensions/channels/console/i18n/en.translations.json +1 -6
  85. package/src/extensions/channels/console/i18n/fr.translations.json +1 -6
  86. package/src/extensions/channels/console/index.channel.ts +5 -1
  87. package/src/extensions/channels/console/settings.schema.ts +0 -12
  88. package/src/extensions/channels/web/base-web-channel.ts +13 -8
  89. package/src/extensions/channels/web/services/web-session.service.ts +10 -21
  90. package/src/extensions/channels/web/settings.schema.ts +10 -4
  91. package/src/setting/services/setting.service.ts +4 -3
  92. package/src/utils/helpers/origin.ts +50 -0
  93. package/src/utils/helpers/parse.ts +68 -0
  94. package/src/utils/index.ts +2 -0
  95. package/src/websocket/tokens.ts +7 -0
  96. package/src/websocket/utils/gateway-options.ts +131 -41
  97. package/src/websocket/websocket.module.ts +7 -2
  98. package/src/workflow/services/workflow.service.ts +16 -8
  99. package/dist/static/assets/browser-ponyfill-DZ-0kLOm.js +0 -2
  100. package/dist/static/assets/cssMode-C8DJ1hPk.js +0 -1
  101. package/dist/static/assets/editor.worker-CKy7Pnvo.js +0 -26
  102. package/dist/static/assets/htmlMode-Drw-CK4H.js +0 -1
  103. package/dist/static/assets/json.worker-usMZ-FED.js +0 -58
  104. package/dist/static/assets/yaml.worker.entry-BB81z30Q.js +0 -419
@@ -0,0 +1 @@
1
+ import{c,l as s}from"./index--ZHMc4gF.js";import{C as h,H as u,D as p,a as m,R as f,b as _,c as w,d as k,F as v,e as D,S as P,f as R,g as I}from"./lspLanguageFeatures-COe6pbco.js";import{h as b,i as H,j as y,t as U,k as T}from"./lspLanguageFeatures-COe6pbco.js";const C=120*1e3;class A{constructor(o){this._defaults=o,this._worker=null,this._client=null,this._idleCheckInterval=window.setInterval(()=>this._checkIfIdle(),30*1e3),this._lastUsedTime=0,this._configChangeListener=this._defaults.onDidChange(()=>this._stopWorker())}_stopWorker(){this._worker&&(this._worker.dispose(),this._worker=null),this._client=null}dispose(){clearInterval(this._idleCheckInterval),this._configChangeListener.dispose(),this._stopWorker()}_checkIfIdle(){if(!this._worker)return;Date.now()-this._lastUsedTime>C&&this._stopWorker()}_getClient(){return this._lastUsedTime=Date.now(),this._client||(this._worker=c({moduleId:"vs/language/css/cssWorker",createWorker:()=>new Worker(new URL("/assets/css.worker-B4z49cGk.js",import.meta.url),{type:"module"}),label:this._defaults.languageId,createData:{options:this._defaults.options,languageId:this._defaults.languageId}}),this._client=this._worker.getProxy()),this._client}getLanguageServiceWorker(...o){let e;return this._getClient().then(a=>{e=a}).then(a=>{if(this._worker)return this._worker.withSyncedResources(o)}).then(a=>e)}}function F(n){const o=[],e=[],a=new A(n);o.push(a);const r=(...t)=>a.getLanguageServiceWorker(...t);function l(){const{languageId:t,modeConfiguration:i}=n;g(e),i.completionItems&&e.push(s.registerCompletionItemProvider(t,new h(r,["/","-",":"]))),i.hovers&&e.push(s.registerHoverProvider(t,new u(r))),i.documentHighlights&&e.push(s.registerDocumentHighlightProvider(t,new p(r))),i.definitions&&e.push(s.registerDefinitionProvider(t,new m(r))),i.references&&e.push(s.registerReferenceProvider(t,new f(r))),i.documentSymbols&&e.push(s.registerDocumentSymbolProvider(t,new _(r))),i.rename&&e.push(s.registerRenameProvider(t,new w(r))),i.colors&&e.push(s.registerColorProvider(t,new k(r))),i.foldingRanges&&e.push(s.registerFoldingRangeProvider(t,new v(r))),i.diagnostics&&e.push(new D(t,r,n.onDidChange)),i.selectionRanges&&e.push(s.registerSelectionRangeProvider(t,new P(r))),i.documentFormattingEdits&&e.push(s.registerDocumentFormattingEditProvider(t,new R(r))),i.documentRangeFormattingEdits&&e.push(s.registerDocumentRangeFormattingEditProvider(t,new I(r)))}return l(),o.push(d(e)),d(o)}function d(n){return{dispose:()=>g(n)}}function g(n){for(;n.length;)n.pop().dispose()}export{h as CompletionAdapter,m as DefinitionAdapter,D as DiagnosticsAdapter,k as DocumentColorAdapter,R as DocumentFormattingEditProvider,p as DocumentHighlightAdapter,b as DocumentLinkAdapter,I as DocumentRangeFormattingEditProvider,_ as DocumentSymbolAdapter,v as FoldingRangeAdapter,u as HoverAdapter,f as ReferenceAdapter,w as RenameAdapter,P as SelectionRangeAdapter,A as WorkerManager,H as fromPosition,y as fromRange,F as setupMode,U as toRange,T as toTextEdit};