@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.
- package/README.md +1 -3
- package/dist/channel/channel.controller.js +1 -0
- package/dist/channel/channel.controller.js.map +1 -1
- package/dist/channel/lib/Handler.d.ts +4 -2
- package/dist/channel/lib/Handler.js +6 -2
- package/dist/channel/lib/Handler.js.map +1 -1
- package/dist/channel/services/source.service.d.ts +1 -0
- package/dist/channel/services/source.service.js +16 -6
- package/dist/channel/services/source.service.js.map +1 -1
- package/dist/config/index.js +11 -55
- package/dist/config/index.js.map +1 -1
- package/dist/extensions/channels/console/i18n/en.translations.json +1 -6
- package/dist/extensions/channels/console/i18n/fr.translations.json +1 -6
- package/dist/extensions/channels/console/index.channel.js +1 -1
- package/dist/extensions/channels/console/index.channel.js.map +1 -1
- package/dist/extensions/channels/console/settings.schema.d.ts +0 -2
- package/dist/extensions/channels/console/settings.schema.js +0 -12
- package/dist/extensions/channels/console/settings.schema.js.map +1 -1
- package/dist/extensions/channels/web/base-web-channel.d.ts +2 -2
- package/dist/extensions/channels/web/base-web-channel.js +5 -7
- package/dist/extensions/channels/web/base-web-channel.js.map +1 -1
- package/dist/extensions/channels/web/services/web-session.service.js +8 -20
- package/dist/extensions/channels/web/services/web-session.service.js.map +1 -1
- package/dist/extensions/channels/web/settings.schema.d.ts +1 -1
- package/dist/extensions/channels/web/settings.schema.js +6 -1
- package/dist/extensions/channels/web/settings.schema.js.map +1 -1
- package/dist/setting/services/setting.service.js +4 -3
- package/dist/setting/services/setting.service.js.map +1 -1
- package/dist/static/assets/browser-ponyfill-DhVZxpvu.js +2 -0
- package/dist/static/assets/{css.worker-BvV5MPou.js → css.worker-B4z49cGk.js} +7 -7
- package/dist/static/assets/cssMode-B7czf8m_.js +1 -0
- package/dist/static/assets/editor.worker-DyuDvpVp.js +26 -0
- package/dist/static/assets/{freemarker2-CY524xfA.js → freemarker2-sX7CP09a.js} +1 -1
- package/dist/static/assets/{handlebars-CZMgsFvP.js → handlebars-BfeDEYiM.js} +1 -1
- package/dist/static/assets/{html-BSnERd5B.js → html-BGT7kcoZ.js} +1 -1
- package/dist/static/assets/{html.worker-BLJhxQJQ.js → html.worker-DtiGdgqp.js} +28 -28
- package/dist/static/assets/htmlMode-BHRj50gQ.js +1 -0
- package/dist/static/assets/{index-DBXu3Xkp.js → index--ZHMc4gF.js} +2269 -2269
- package/dist/static/assets/{index-D-b9KTZd.css → index-BbLr1ieK.css} +1 -1
- package/dist/static/assets/{javascript-DRoDoDZ0.js → javascript-BHtELMeM.js} +1 -1
- package/dist/static/assets/json.worker-leyajbqV.js +58 -0
- package/dist/static/assets/{jsonMode-Dk0pJSE9.js → jsonMode-ZxEJDG58.js} +4 -4
- package/dist/static/assets/{liquid-B_RkKmzQ.js → liquid-xDAkaqm1.js} +1 -1
- package/dist/static/assets/{lspLanguageFeatures-DyblQzeh.js → lspLanguageFeatures-COe6pbco.js} +1 -1
- package/dist/static/assets/{mdx-C8-i5f2E.js → mdx-EKSYt-p_.js} +1 -1
- package/dist/static/assets/{python-D-Vv2hoj.js → python-DBrUPvCj.js} +1 -1
- package/dist/static/assets/{razor-DTMvP6Wu.js → razor-InDPZAGk.js} +1 -1
- package/dist/static/assets/{ts.worker-DGHjMaqB.js → ts.worker-59MjiAqk.js} +63 -63
- package/dist/static/assets/{tsMode-BsZ0Kcwx.js → tsMode-BpkGYMwy.js} +1 -1
- package/dist/static/assets/{typescript-DnUtc54-.js → typescript-CT3d2mAx.js} +1 -1
- package/dist/static/assets/{xml-BZ3tDQX_.js → xml-D7VVWZHB.js} +1 -1
- package/dist/static/assets/{yaml-C2vCOQhf.js → yaml-BA_4AjHB.js} +1 -1
- package/dist/static/assets/yaml.worker.entry-CsihCPlC.js +419 -0
- package/dist/static/index.html +2 -2
- package/dist/static/locales/en/translation.json +4 -0
- package/dist/static/locales/fr/translation.json +4 -0
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/dist/utils/helpers/origin.d.ts +4 -0
- package/dist/utils/helpers/origin.js +37 -0
- package/dist/utils/helpers/origin.js.map +1 -0
- package/dist/utils/helpers/parse.d.ts +4 -0
- package/dist/utils/helpers/parse.js +49 -0
- package/dist/utils/helpers/parse.js.map +1 -0
- package/dist/utils/index.d.ts +1 -0
- package/dist/utils/index.js +1 -0
- package/dist/utils/index.js.map +1 -1
- package/dist/websocket/tokens.d.ts +1 -0
- package/dist/websocket/tokens.js +5 -0
- package/dist/websocket/tokens.js.map +1 -0
- package/dist/websocket/utils/gateway-options.d.ts +10 -1
- package/dist/websocket/utils/gateway-options.js +91 -38
- package/dist/websocket/utils/gateway-options.js.map +1 -1
- package/dist/websocket/websocket.module.js +7 -2
- package/dist/websocket/websocket.module.js.map +1 -1
- package/dist/workflow/services/workflow.service.d.ts +6 -2
- package/dist/workflow/services/workflow.service.js +16 -11
- package/dist/workflow/services/workflow.service.js.map +1 -1
- package/package.json +5 -5
- package/src/channel/README.md +2 -1
- package/src/channel/channel.controller.ts +1 -0
- package/src/channel/lib/Handler.ts +6 -0
- package/src/channel/services/source.service.ts +23 -6
- package/src/config/index.ts +11 -59
- package/src/extensions/channels/console/i18n/en.translations.json +1 -6
- package/src/extensions/channels/console/i18n/fr.translations.json +1 -6
- package/src/extensions/channels/console/index.channel.ts +5 -1
- package/src/extensions/channels/console/settings.schema.ts +0 -12
- package/src/extensions/channels/web/base-web-channel.ts +13 -8
- package/src/extensions/channels/web/services/web-session.service.ts +10 -21
- package/src/extensions/channels/web/settings.schema.ts +10 -4
- package/src/setting/services/setting.service.ts +4 -3
- package/src/utils/helpers/origin.ts +50 -0
- package/src/utils/helpers/parse.ts +68 -0
- package/src/utils/index.ts +2 -0
- package/src/websocket/tokens.ts +7 -0
- package/src/websocket/utils/gateway-options.ts +131 -41
- package/src/websocket/websocket.module.ts +7 -2
- package/src/workflow/services/workflow.service.ts +16 -8
- package/dist/static/assets/browser-ponyfill-DZ-0kLOm.js +0 -2
- package/dist/static/assets/cssMode-C8DJ1hPk.js +0 -1
- package/dist/static/assets/editor.worker-CKy7Pnvo.js +0 -26
- package/dist/static/assets/htmlMode-Drw-CK4H.js +0 -1
- package/dist/static/assets/json.worker-usMZ-FED.js +0 -58
- package/dist/static/assets/yaml.worker.entry-BB81z30Q.js +0 -419
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{c as D,l as t}from"./index--ZHMc4gF.js";import{H as d,D as l,h as c,F as u,b as h,S as m,c as p,f as w,g as _,C as R}from"./lspLanguageFeatures-COe6pbco.js";import{a as E,e as H,d as b,R as y,i as T,j as U,t as x,k as M}from"./lspLanguageFeatures-COe6pbco.js";const I=120*1e3;class f{constructor(n){this._defaults=n,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>I&&this._stopWorker()}_getClient(){return this._lastUsedTime=Date.now(),this._client||(this._worker=D({moduleId:"vs/language/html/htmlWorker",createWorker:()=>new Worker(new URL("/assets/html.worker-DtiGdgqp.js",import.meta.url),{type:"module"}),createData:{languageSettings:this._defaults.options,languageId:this._defaults.languageId},label:this._defaults.languageId}),this._client=this._worker.getProxy()),this._client}getLanguageServiceWorker(...n){let e;return this._getClient().then(r=>{e=r}).then(r=>{if(this._worker)return this._worker.withSyncedResources(n)}).then(r=>e)}}class v extends R{constructor(n){super(n,[".",":","<",'"',"=","/"])}}function C(i){const n=new f(i),e=(...s)=>n.getLanguageServiceWorker(...s);let r=i.languageId;t.registerCompletionItemProvider(r,new v(e)),t.registerHoverProvider(r,new d(e)),t.registerDocumentHighlightProvider(r,new l(e)),t.registerLinkProvider(r,new c(e)),t.registerFoldingRangeProvider(r,new u(e)),t.registerDocumentSymbolProvider(r,new h(e)),t.registerSelectionRangeProvider(r,new m(e)),t.registerRenameProvider(r,new p(e)),r==="html"&&(t.registerDocumentFormattingEditProvider(r,new w(e)),t.registerDocumentRangeFormattingEditProvider(r,new _(e)))}function W(i){const n=[],e=[],r=new f(i);n.push(r);const s=(...o)=>r.getLanguageServiceWorker(...o);function P(){const{languageId:o,modeConfiguration:a}=i;k(e),a.completionItems&&e.push(t.registerCompletionItemProvider(o,new v(s))),a.hovers&&e.push(t.registerHoverProvider(o,new d(s))),a.documentHighlights&&e.push(t.registerDocumentHighlightProvider(o,new l(s))),a.links&&e.push(t.registerLinkProvider(o,new c(s))),a.documentSymbols&&e.push(t.registerDocumentSymbolProvider(o,new h(s))),a.rename&&e.push(t.registerRenameProvider(o,new p(s))),a.foldingRanges&&e.push(t.registerFoldingRangeProvider(o,new u(s))),a.selectionRanges&&e.push(t.registerSelectionRangeProvider(o,new m(s))),a.documentFormattingEdits&&e.push(t.registerDocumentFormattingEditProvider(o,new w(s))),a.documentRangeFormattingEdits&&e.push(t.registerDocumentRangeFormattingEditProvider(o,new _(s)))}return P(),n.push(g(e)),g(n)}function g(i){return{dispose:()=>k(i)}}function k(i){for(;i.length;)i.pop().dispose()}export{R as CompletionAdapter,E as DefinitionAdapter,H as DiagnosticsAdapter,b as DocumentColorAdapter,w as DocumentFormattingEditProvider,l as DocumentHighlightAdapter,c as DocumentLinkAdapter,_ as DocumentRangeFormattingEditProvider,h as DocumentSymbolAdapter,u as FoldingRangeAdapter,d as HoverAdapter,y as ReferenceAdapter,p as RenameAdapter,m as SelectionRangeAdapter,f as WorkerManager,T as fromPosition,U as fromRange,W as setupMode,C as setupMode1,x as toRange,M as toTextEdit};
|