@whoz-oss/coday-client 0.79.2 → 0.80.0
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/3rdpartylicenses.txt +26 -26
- package/browser/chunk-2HJUHP2O.js +1 -0
- package/browser/chunk-2I7BVCFA.js +1 -0
- package/browser/chunk-5CECNE3W.js +1 -0
- package/browser/chunk-ADPUMZCL.js +1 -0
- package/browser/chunk-ASTXTNCW.js +1 -0
- package/browser/chunk-EN34LXVI.js +5 -0
- package/browser/chunk-FYYZME5V.js +10 -0
- package/browser/chunk-JNUPIL7A.js +1 -0
- package/browser/chunk-LRXH43AD.js +1 -0
- package/browser/chunk-M3IE5IWD.js +1 -0
- package/browser/chunk-NP5QKZ3S.js +1 -0
- package/browser/chunk-OM6QEVE5.js +1 -0
- package/browser/chunk-SSDNZR7U.js +1 -0
- package/browser/chunk-TWBSKSZ6.js +1 -0
- package/browser/index.html +1 -1
- package/browser/main-IFLXFZMY.js +374 -0
- package/package.json +1 -1
- package/browser/chunk-C64HFRBU.js +0 -14
- package/browser/chunk-ND7OBRS6.js +0 -1
- package/browser/chunk-PA7BQGOR.js +0 -1
- package/browser/chunk-XDVJJE6Q.js +0 -1
- package/browser/main-T7FHRFIU.js +0 -374
package/3rdpartylicenses.txt
CHANGED
|
@@ -1,30 +1,4 @@
|
|
|
1
1
|
|
|
2
|
-
--------------------------------------------------------------------------------
|
|
3
|
-
Package: @angular/router
|
|
4
|
-
License: "MIT"
|
|
5
|
-
|
|
6
|
-
The MIT License
|
|
7
|
-
|
|
8
|
-
Copyright (c) 2010-2025 Google LLC. https://angular.dev/license
|
|
9
|
-
|
|
10
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
11
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
12
|
-
in the Software without restriction, including without limitation the rights
|
|
13
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
14
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
15
|
-
furnished to do so, subject to the following conditions:
|
|
16
|
-
|
|
17
|
-
The above copyright notice and this permission notice shall be included in
|
|
18
|
-
all copies or substantial portions of the Software.
|
|
19
|
-
|
|
20
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
21
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
22
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
23
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
24
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
25
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
26
|
-
THE SOFTWARE.
|
|
27
|
-
|
|
28
2
|
--------------------------------------------------------------------------------
|
|
29
3
|
Package: @angular/animations
|
|
30
4
|
License: "MIT"
|
|
@@ -1078,6 +1052,32 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
|
1078
1052
|
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
1079
1053
|
THE SOFTWARE.
|
|
1080
1054
|
|
|
1055
|
+
--------------------------------------------------------------------------------
|
|
1056
|
+
Package: @angular/router
|
|
1057
|
+
License: "MIT"
|
|
1058
|
+
|
|
1059
|
+
The MIT License
|
|
1060
|
+
|
|
1061
|
+
Copyright (c) 2010-2025 Google LLC. https://angular.dev/license
|
|
1062
|
+
|
|
1063
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
1064
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
1065
|
+
in the Software without restriction, including without limitation the rights
|
|
1066
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
1067
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
1068
|
+
furnished to do so, subject to the following conditions:
|
|
1069
|
+
|
|
1070
|
+
The above copyright notice and this permission notice shall be included in
|
|
1071
|
+
all copies or substantial portions of the Software.
|
|
1072
|
+
|
|
1073
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
1074
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
1075
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
1076
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
1077
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
1078
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
1079
|
+
THE SOFTWARE.
|
|
1080
|
+
|
|
1081
1081
|
--------------------------------------------------------------------------------
|
|
1082
1082
|
Package: zone.js
|
|
1083
1083
|
License: "MIT"
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a}from"./chunk-NP5QKZ3S.js";import"./chunk-EN34LXVI.js";export{a as AgentosShellComponent};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{d as v}from"./chunk-5CECNE3W.js";import{Oa as f,Pa as b,T as p,Va as o,Wa as s,Xa as i,Ya as _,Za as C,_a as l,ea as g,kc as h,ra as u,sb as y,za as a}from"./chunk-EN34LXVI.js";function O(e,n){e&1&&l(0,"span",1)}function P(e,n){e&1&&l(0,"span",2)}function S(e,n){e&1&&l(0,"span",3)}var r=class e{pluginService=p(v);online=g(null);ngOnInit(){this.pluginService.getAllPlugins().subscribe({next:()=>this.online.set(!0),error:()=>this.online.set(!1)})}static \u0275fac=function(t){return new(t||e)};static \u0275cmp=a({type:e,selectors:[["agentos-backend-status"]],decls:4,vars:1,consts:[[1,"backend-status"],["title","AgentOS online",1,"dot","dot--online"],["title","AgentOS offline",1,"dot","dot--offline"],["title","Checking\u2026",1,"dot","dot--checking"]],template:function(t,d){if(t&1&&(_(0,"div",0),f(1,O,1,0,"span",1)(2,P,1,0,"span",2)(3,S,1,0,"span",3),C()),t&2){let m;u(),b((m=d.online())===!0?1:m===!1?2:3)}},styles:[".backend-status[_ngcontent-%COMP%]{display:flex;align-items:center}.dot[_ngcontent-%COMP%]{width:8px;height:8px;border-radius:50%;flex-shrink:0}.dot--online[_ngcontent-%COMP%]{background:var(--color-success, #34c759)}.dot--offline[_ngcontent-%COMP%]{background:var(--color-error, #ff3b30)}.dot--checking[_ngcontent-%COMP%]{background:var(--color-text-secondary, #6e6e73);opacity:.5;animation:_ngcontent-%COMP%_pulse 1.2s ease-in-out infinite}@keyframes _ngcontent-%COMP%_pulse{0%,to{opacity:.5}50%{opacity:1}}"]})};var c=class e{static \u0275fac=function(t){return new(t||e)};static \u0275cmp=a({type:e,selectors:[["agentos-header"]],decls:7,vars:0,consts:[[1,"header"],[1,"header__brand"],["src","CODAY-Logo.png","alt","Coday",1,"header__logo-img"],[1,"header__logo-text"],[1,"header__nav"]],template:function(t,d){t&1&&(o(0,"header",0)(1,"div",1),i(2,"img",2),o(3,"span",3),y(4,"Coday"),s()(),o(5,"nav",4),i(6,"agentos-backend-status"),s()())},dependencies:[r],styles:[".header[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between;padding:0 1.5rem;height:56px;background:var(--glass-bg, rgba(255, 255, 255, .72));border-bottom:1px solid var(--glass-border, rgba(255, 255, 255, .18));backdrop-filter:var(--glass-backdrop-blur, blur(20px));-webkit-backdrop-filter:var(--glass-backdrop-blur, blur(20px));position:sticky;top:0;z-index:100}.header__brand[_ngcontent-%COMP%]{display:flex;align-items:center;gap:.5rem}.header__logo-img[_ngcontent-%COMP%]{width:24px;height:24px;object-fit:contain}.header__logo-text[_ngcontent-%COMP%]{font-size:1rem;font-weight:600;letter-spacing:-.02em;color:var(--color-text, #1d1d1f)}.header__nav[_ngcontent-%COMP%]{display:flex;align-items:center;gap:.5rem}"]})};var M=class e{static \u0275fac=function(t){return new(t||e)};static \u0275cmp=a({type:e,selectors:[["agentos-layout"]],decls:4,vars:0,consts:[[1,"layout"],[1,"layout__content"]],template:function(t,d){t&1&&(o(0,"div",0),i(1,"agentos-header"),o(2,"main",1),i(3,"router-outlet"),s()())},dependencies:[h,c],styles:[".layout[_ngcontent-%COMP%]{display:flex;flex-direction:column;min-height:100vh}.layout__content[_ngcontent-%COMP%]{flex:1;overflow-y:auto}"]})};export{r as a,c as b,M as c};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{Ha as vt,P as d,S as m,T as nt,cc as gt,dc as bt,ec as Rt,f as ft,fc as l,gc as f,o as r,v as a}from"./chunk-EN34LXVI.js";var c=class p{rootUrl="http://localhost:8123";static \u0275fac=function(t){return new(t||p)};static \u0275prov=d({token:p,factory:p.\u0275fac,providedIn:"root"})};var v=class p{constructor(e,t){this.config=e;this.http=t}_rootUrl;get rootUrl(){return this._rootUrl||this.config.rootUrl}set rootUrl(e){this._rootUrl=e}static \u0275fac=function(t){return new(t||p)(m(c),m(f))};static \u0275prov=d({token:p,factory:p.\u0275fac})};var ot=class{encodeKey(e){return encodeURIComponent(e)}encodeValue(e){return encodeURIComponent(e)}decodeKey(e){return decodeURIComponent(e)}decodeValue(e){return decodeURIComponent(e)}},yt=new ot,P=class{constructor(e,t,o,n,s){this.name=e;this.value=t;this.options=o;this.options=o||{},(this.options.style===null||this.options.style===void 0)&&(this.options.style=n),(this.options.explode===null||this.options.explode===void 0)&&(this.options.explode=s)}serializeValue(e,t=","){if(e==null)return"";if(e instanceof Array)return e.map(o=>this.serializeValue(o).split(t).join(encodeURIComponent(t))).join(t);if(typeof e=="object"){let o=[];for(let n of Object.keys(e)){let s=e[n];s!=null&&(s=this.serializeValue(s).split(t).join(encodeURIComponent(t)),this.options.explode?o.push(`${n}=${s}`):(o.push(n),o.push(s)))}return o.join(t)}else return String(e)}},st=class extends P{constructor(e,t,o){super(e,t,o,"simple",!1)}append(e){let t=this.value;t==null&&(t="");let o=this.options.style==="label"?".":"",n=this.options.explode?o===""?",":o:",",s=!1;return this.options.style==="matrix"&&(o=`;${this.name}=`,this.options.explode&&typeof t=="object"&&(o=";",t instanceof Array?(t=t.map(u=>`${this.name}=${this.serializeValue(u,";")}`),t=t.join(";"),s=!0):(t=this.serializeValue(t,";"),s=!0))),t=o+(s?t:this.serializeValue(t,n)),e=e.replace(`{${this.name}}`,t),e=e.replace(`{${o}${this.name}${this.options.explode?"*":""}}`,t),e}serializeValue(e,t=","){var o=typeof e=="string"?encodeURIComponent(e):super.serializeValue(e,t);return o=o.replace(/%3D/g,"="),o=o.replace(/%3B/g,";"),o=o.replace(/%2C/g,","),o}},rt=class extends P{constructor(e,t,o){super(e,t,o,"form",!0)}append(e){if(this.value instanceof Array)if(this.options.explode)for(let t of this.value)e=e.append(this.name,this.serializeValue(t));else{let t=this.options.style==="spaceDelimited"?" ":this.options.style==="pipeDelimited"?"|":",";return e.append(this.name,this.serializeValue(this.value,t))}else if(this.value!==null&&typeof this.value=="object")if(this.options.style==="deepObject")for(let t of Object.keys(this.value)){let o=this.value[t];o!=null&&(e=e.append(`${this.name}[${t}]`,this.serializeValue(o)))}else if(this.options.explode)for(let t of Object.keys(this.value)){let o=this.value[t];o!=null&&(e=e.append(t,this.serializeValue(o)))}else{let t=[];for(let o of Object.keys(this.value)){let n=this.value[o];n!=null&&(t.push(o),t.push(n))}e=e.append(this.name,this.serializeValue(t))}else this.value!==null&&this.value!==void 0&&(e=e.append(this.name,this.serializeValue(this.value)));return e}},pt=class extends P{constructor(e,t,o){super(e,t,o,"simple",!1)}append(e){if(this.value!==null&&this.value!==void 0)if(this.value instanceof Array)for(let t of this.value)e=e.append(this.name,this.serializeValue(t));else e=e.append(this.name,this.serializeValue(this.value));return e}},i=class{constructor(e,t,o){this.rootUrl=e;this.operationPath=t;this.method=o}_path=new Map;_query=new Map;_header=new Map;_bodyContent;_bodyContentType;path(e,t,o){this._path.set(e,new st(e,t,o||{}))}query(e,t,o){this._query.set(e,new rt(e,t,o||{}))}header(e,t,o){this._header.set(e,new pt(e,t,o||{}))}body(e,t="application/json"){if(e instanceof Blob?this._bodyContentType=e.type:this._bodyContentType=t,this._bodyContentType==="application/x-www-form-urlencoded"&&e!==null&&typeof e=="object"){let o=[];for(let n of Object.keys(e)){let s=e[n];s instanceof Array||(s=[s]);for(let u of s){let y=this.formDataValue(u);y!==null&&o.push([n,y])}}this._bodyContent=o.map(n=>`${encodeURIComponent(n[0])}=${encodeURIComponent(n[1])}`).join("&")}else if(this._bodyContentType==="multipart/form-data"){let o=new FormData;if(e!=null)for(let n of Object.keys(e)){let s=e[n];if(s instanceof Array)for(let u of s){let y=this.formDataValue(u);y!==null&&o.append(n,y)}else{let u=this.formDataValue(s);u!==null&&o.set(n,u)}}this._bodyContent=o}else this._bodyContent=e}formDataValue(e){return e==null?null:e instanceof Blob?e:typeof e=="object"?new Blob([JSON.stringify(e)],{type:"application/json"}):String(e)}build(e){e=e||{};let t=this.operationPath;for(let u of this._path.values())t=u.append(t);let o=this.rootUrl+t,n=new bt({encoder:yt});for(let u of this._query.values())n=u.append(n);let s=new gt;e.accept&&(s=s.append("Accept",e.accept));for(let u of this._header.values())s=u.append(s);return this._bodyContentType&&!(this._bodyContent instanceof FormData)&&(s=s.set("Content-Type",this._bodyContentType)),new Rt(this.method.toUpperCase(),o,this._bodyContent,{params:n,headers:s,responseType:e.responseType,reportProgress:e.reportProgress,context:e.context})}};function H(p,e,t,o){let n=new i(e,H.PATH,"post");return t&&n.body(t.body,"application/json"),p.request(n.build({responseType:"json",accept:"application/json",context:o})).pipe(a(s=>s instanceof l),r(s=>s))}H.PATH="/api/namespaces";function E(p,e,t,o){let n=new i(e,E.PATH,"delete");return t&&n.path("id",t.id,{}),p.request(n.build({responseType:"text",accept:"*/*",context:o})).pipe(a(s=>s instanceof l),r(s=>s.clone({body:void 0})))}E.PATH="/api/namespaces/{id}";function C(p,e,t,o){let n=new i(e,C.PATH,"get");return t&&n.path("id",t.id,{}),p.request(n.build({responseType:"json",accept:"application/json",context:o})).pipe(a(s=>s instanceof l),r(s=>s))}C.PATH="/api/namespaces/{id}";function A(p,e,t,o){let n=new i(e,A.PATH,"post");return t&&n.body(t.body,"application/json"),p.request(n.build({responseType:"json",accept:"application/json",context:o})).pipe(a(s=>s instanceof l),r(s=>s))}A.PATH="/api/namespaces/by-ids";function x(p,e,t,o){let n=new i(e,x.PATH,"get");return p.request(n.build({responseType:"json",accept:"application/json",context:o})).pipe(a(s=>s instanceof l),r(s=>s))}x.PATH="/api/namespaces/list";function h(p,e,t,o){let n=new i(e,h.PATH,"get");return t&&n.path("parentId",t.parentId,{}),p.request(n.build({responseType:"json",accept:"application/json",context:o})).pipe(a(s=>s instanceof l),r(s=>s))}h.PATH="/api/namespaces/by-parentId/{parentId}";function T(p,e,t,o){let n=new i(e,T.PATH,"put");return t&&(n.path("id",t.id,{}),n.body(t.body,"application/json")),p.request(n.build({responseType:"json",accept:"application/json",context:o})).pipe(a(s=>s instanceof l),r(s=>s))}T.PATH="/api/namespaces/{id}";var it=class p extends v{constructor(e,t){super(e,t)}static GetByIdPath="/api/namespaces/{id}";getById$Response(e,t){return C(this.http,this.rootUrl,e,t)}getById(e,t){return this.getById$Response(e,t).pipe(r(n=>n.body))}static UpdatePath="/api/namespaces/{id}";update$Response(e,t){return T(this.http,this.rootUrl,e,t)}update(e,t){return this.update$Response(e,t).pipe(r(n=>n.body))}static DeletePath="/api/namespaces/{id}";delete$Response(e,t){return E(this.http,this.rootUrl,e,t)}delete(e,t){return this.delete$Response(e,t).pipe(r(n=>n.body))}static CreatePath="/api/namespaces";create$Response(e,t){return H(this.http,this.rootUrl,e,t)}create(e,t){return this.create$Response(e,t).pipe(r(n=>n.body))}static GetByIdsPath="/api/namespaces/by-ids";getByIds$Response(e,t){return A(this.http,this.rootUrl,e,t)}getByIds(e,t){return this.getByIds$Response(e,t).pipe(r(n=>n.body))}static ListAllPath="/api/namespaces/list";listAll$Response(e,t){return x(this.http,this.rootUrl,e,t)}listAll(e,t){return this.listAll$Response(e,t).pipe(r(n=>n.body))}static ListByParentPath="/api/namespaces/by-parentId/{parentId}";listByParent$Response(e,t){return h(this.http,this.rootUrl,e,t)}listByParent(e,t){return this.listByParent$Response(e,t).pipe(r(n=>n.body))}static \u0275fac=function(t){return new(t||p)(m(c),m(f))};static \u0275prov=d({token:p,factory:p.\u0275fac,providedIn:"root"})};function S(p,e,t,o){let n=new i(e,S.PATH,"post");return t&&(n.path("caseId",t.caseId,{}),n.body(t.body,"application/json")),p.request(n.build({responseType:"text",accept:"*/*",context:o})).pipe(a(s=>s instanceof l),r(s=>s.clone({body:void 0})))}S.PATH="/api/cases/{caseId}/messages";function $(p,e,t,o){let n=new i(e,$.PATH,"post");return t&&n.body(t.body,"application/json"),p.request(n.build({responseType:"json",accept:"application/json",context:o})).pipe(a(s=>s instanceof l),r(s=>s))}$.PATH="/api/cases";function I(p,e,t,o){let n=new i(e,I.PATH,"delete");return t&&n.path("id",t.id,{}),p.request(n.build({responseType:"text",accept:"*/*",context:o})).pipe(a(s=>s instanceof l),r(s=>s.clone({body:void 0})))}I.PATH="/api/cases/{id}";function O(p,e,t,o){let n=new i(e,O.PATH,"get");return t&&n.path("id",t.id,{}),p.request(n.build({responseType:"json",accept:"application/json",context:o})).pipe(a(s=>s instanceof l),r(s=>s))}O.PATH="/api/cases/{id}";function B(p,e,t,o){let n=new i(e,B.PATH,"post");return t&&n.body(t.body,"application/json"),p.request(n.build({responseType:"json",accept:"application/json",context:o})).pipe(a(s=>s instanceof l),r(s=>s))}B.PATH="/api/cases/by-ids";function q(p,e,t,o){let n=new i(e,q.PATH,"post");return t&&n.path("caseId",t.caseId,{}),p.request(n.build({responseType:"text",accept:"*/*",context:o})).pipe(a(s=>s instanceof l),r(s=>s.clone({body:void 0})))}q.PATH="/api/cases/{caseId}/kill";function k(p,e,t,o){let n=new i(e,k.PATH,"get");return t&&n.path("parentId",t.parentId,{}),p.request(n.build({responseType:"json",accept:"application/json",context:o})).pipe(a(s=>s instanceof l),r(s=>s))}k.PATH="/api/cases/by-parentId/{parentId}";function U(p,e,t,o){let n=new i(e,U.PATH,"post");return t&&n.path("caseId",t.caseId,{}),p.request(n.build({responseType:"text",accept:"*/*",context:o})).pipe(a(s=>s instanceof l),r(s=>s.clone({body:void 0})))}U.PATH="/api/cases/{caseId}/stop";function G(p,e,t,o){let n=new i(e,G.PATH,"put");return t&&(n.path("id",t.id,{}),n.body(t.body,"application/json")),p.request(n.build({responseType:"json",accept:"application/json",context:o})).pipe(a(s=>s instanceof l),r(s=>s))}G.PATH="/api/cases/{id}";var at=class p extends v{constructor(e,t){super(e,t)}static GetById1Path="/api/cases/{id}";getById1$Response(e,t){return O(this.http,this.rootUrl,e,t)}getById1(e,t){return this.getById1$Response(e,t).pipe(r(n=>n.body))}static Update1Path="/api/cases/{id}";update1$Response(e,t){return G(this.http,this.rootUrl,e,t)}update1(e,t){return this.update1$Response(e,t).pipe(r(n=>n.body))}static Delete1Path="/api/cases/{id}";delete1$Response(e,t){return I(this.http,this.rootUrl,e,t)}delete1(e,t){return this.delete1$Response(e,t).pipe(r(n=>n.body))}static Create1Path="/api/cases";create1$Response(e,t){return $(this.http,this.rootUrl,e,t)}create1(e,t){return this.create1$Response(e,t).pipe(r(n=>n.body))}static StopCasePath="/api/cases/{caseId}/stop";stopCase$Response(e,t){return U(this.http,this.rootUrl,e,t)}stopCase(e,t){return this.stopCase$Response(e,t).pipe(r(n=>n.body))}static AddMessagePath="/api/cases/{caseId}/messages";addMessage$Response(e,t){return S(this.http,this.rootUrl,e,t)}addMessage(e,t){return this.addMessage$Response(e,t).pipe(r(n=>n.body))}static KillCasePath="/api/cases/{caseId}/kill";killCase$Response(e,t){return q(this.http,this.rootUrl,e,t)}killCase(e,t){return this.killCase$Response(e,t).pipe(r(n=>n.body))}static GetByIds1Path="/api/cases/by-ids";getByIds1$Response(e,t){return B(this.http,this.rootUrl,e,t)}getByIds1(e,t){return this.getByIds1$Response(e,t).pipe(r(n=>n.body))}static ListByParent1Path="/api/cases/by-parentId/{parentId}";listByParent1$Response(e,t){return k(this.http,this.rootUrl,e,t)}listByParent1(e,t){return this.listByParent1$Response(e,t).pipe(r(n=>n.body))}static \u0275fac=function(t){return new(t||p)(m(c),m(f))};static \u0275prov=d({token:p,factory:p.\u0275fac,providedIn:"root"})};var lt=class p{constructor(e,t){this.config=e;this.http=t}_rootUrl;get rootUrl(){return this._rootUrl||this.config.rootUrl}set rootUrl(e){this._rootUrl=e}invoke(e,t,o){return this.invoke$Response(e,t,o).pipe(r(s=>s.body))}invoke$Response(e,t,o){return e(this.http,this.rootUrl,t,o).pipe(a(s=>s instanceof l),r(s=>s))}static \u0275fac=function(t){return new(t||p)(m(c),m(f))};static \u0275prov=d({token:p,factory:p.\u0275fac,providedIn:"root"})};function w(p,e,t,o){let n=new i(e,w.PATH,"post");return t&&n.body(t.body,"application/json"),p.request(n.build({responseType:"json",accept:"application/json",context:o})).pipe(a(s=>s instanceof l),r(s=>s))}w.PATH="/api/case-events";function M(p,e,t,o){let n=new i(e,M.PATH,"delete");return t&&n.path("id",t.id,{}),p.request(n.build({responseType:"text",accept:"*/*",context:o})).pipe(a(s=>s instanceof l),r(s=>s.clone({body:void 0})))}M.PATH="/api/case-events/{id}";function j(p,e,t,o){let n=new i(e,j.PATH,"get");return t&&n.path("id",t.id,{}),p.request(n.build({responseType:"json",accept:"application/json",context:o})).pipe(a(s=>s instanceof l),r(s=>s))}j.PATH="/api/case-events/{id}";function F(p,e,t,o){let n=new i(e,F.PATH,"post");return t&&n.body(t.body,"application/json"),p.request(n.build({responseType:"json",accept:"application/json",context:o})).pipe(a(s=>s instanceof l),r(s=>s))}F.PATH="/api/case-events/by-ids";function N(p,e,t,o){let n=new i(e,N.PATH,"get");return t&&n.path("parentId",t.parentId,{}),p.request(n.build({responseType:"json",accept:"application/json",context:o})).pipe(a(s=>s instanceof l),r(s=>s))}N.PATH="/api/case-events/by-parentId/{parentId}";function D(p,e,t,o){let n=new i(e,D.PATH,"put");return t&&(n.path("id",t.id,{}),n.body(t.body,"application/json")),p.request(n.build({responseType:"json",accept:"application/json",context:o})).pipe(a(s=>s instanceof l),r(s=>s))}D.PATH="/api/case-events/{id}";var mt=class p extends v{constructor(e,t){super(e,t)}static GetById2Path="/api/case-events/{id}";getById2$Response(e,t){return j(this.http,this.rootUrl,e,t)}getById2(e,t){return this.getById2$Response(e,t).pipe(r(n=>n.body))}static Update2Path="/api/case-events/{id}";update2$Response(e,t){return D(this.http,this.rootUrl,e,t)}update2(e,t){return this.update2$Response(e,t).pipe(r(n=>n.body))}static Delete2Path="/api/case-events/{id}";delete2$Response(e,t){return M(this.http,this.rootUrl,e,t)}delete2(e,t){return this.delete2$Response(e,t).pipe(r(n=>n.body))}static Create2Path="/api/case-events";create2$Response(e,t){return w(this.http,this.rootUrl,e,t)}create2(e,t){return this.create2$Response(e,t).pipe(r(n=>n.body))}static GetByIds2Path="/api/case-events/by-ids";getByIds2$Response(e,t){return F(this.http,this.rootUrl,e,t)}getByIds2(e,t){return this.getByIds2$Response(e,t).pipe(r(n=>n.body))}static ListByParent2Path="/api/case-events/by-parentId/{parentId}";listByParent2$Response(e,t){return N(this.http,this.rootUrl,e,t)}listByParent2(e,t){return this.listByParent2$Response(e,t).pipe(r(n=>n.body))}static \u0275fac=function(t){return new(t||p)(m(c),m(f))};static \u0275prov=d({token:p,factory:p.\u0275fac,providedIn:"root"})};function L(p,e,t,o){let n=new i(e,L.PATH,"post");return t&&(n.path("toolName",t.toolName,{}),n.body(t.body,"application/json")),p.request(n.build({responseType:"blob",accept:"*/*",context:o})).pipe(a(s=>s instanceof l),r(s=>s))}L.PATH="/api/tools/{toolName}/execute";function Q(p,e,t,o){let n=new i(e,Q.PATH,"get");return t&&n.path("toolName",t.toolName,{}),p.request(n.build({responseType:"blob",accept:"*/*",context:o})).pipe(a(s=>s instanceof l),r(s=>s))}Q.PATH="/api/tools/{toolName}";function W(p,e,t,o){let n=new i(e,W.PATH,"get");return p.request(n.build({responseType:"blob",accept:"*/*",context:o})).pipe(a(s=>s instanceof l),r(s=>s))}W.PATH="/api/tools";var ct=class p extends v{constructor(e,t){super(e,t)}static ExecuteToolPath="/api/tools/{toolName}/execute";executeTool$Response(e,t){return L(this.http,this.rootUrl,e,t)}executeTool(e,t){return this.executeTool$Response(e,t).pipe(r(n=>n.body))}static ListToolsPath="/api/tools";listTools$Response(e,t){return W(this.http,this.rootUrl,e,t)}listTools(e,t){return this.listTools$Response(e,t).pipe(r(n=>n.body))}static GetToolPath="/api/tools/{toolName}";getTool$Response(e,t){return Q(this.http,this.rootUrl,e,t)}getTool(e,t){return this.getTool$Response(e,t).pipe(r(n=>n.body))}static \u0275fac=function(t){return new(t||p)(m(c),m(f))};static \u0275prov=d({token:p,factory:p.\u0275fac,providedIn:"root"})};function V(p,e,t,o){let n=new i(e,V.PATH,"get");return p.request(n.build({responseType:"blob",accept:"*/*",context:o})).pipe(a(s=>s instanceof l),r(s=>s))}V.PATH="/api/plugins/debug";function z(p,e,t,o){let n=new i(e,z.PATH,"get");return t&&n.path("pluginId",t.pluginId,{}),p.request(n.build({responseType:"blob",accept:"*/*",context:o})).pipe(a(s=>s instanceof l),r(s=>s))}z.PATH="/api/plugins/{pluginId}/debug";function _(p,e,t,o){let n=new i(e,_.PATH,"get");return p.request(n.build({responseType:"blob",accept:"*/*",context:o})).pipe(a(s=>s instanceof l),r(s=>s))}_.PATH="/api/plugins";function K(p,e,t,o){let n=new i(e,K.PATH,"get");return t&&n.path("pluginId",t.pluginId,{}),p.request(n.build({responseType:"blob",accept:"*/*",context:o})).pipe(a(s=>s instanceof l),r(s=>s))}K.PATH="/api/plugins/{pluginId}";function J(p,e,t,o){let n=new i(e,J.PATH,"post");return p.request(n.build({responseType:"blob",accept:"*/*",context:o})).pipe(a(s=>s instanceof l),r(s=>s))}J.PATH="/api/plugins/reload-agents";function Z(p,e,t,o){let n=new i(e,Z.PATH,"post");return t&&n.path("pluginId",t.pluginId,{}),p.request(n.build({responseType:"blob",accept:"*/*",context:o})).pipe(a(s=>s instanceof l),r(s=>s))}Z.PATH="/api/plugins/{pluginId}/reload";function X(p,e,t,o){let n=new i(e,X.PATH,"post");return t&&n.path("pluginId",t.pluginId,{}),p.request(n.build({responseType:"blob",accept:"*/*",context:o})).pipe(a(s=>s instanceof l),r(s=>s))}X.PATH="/api/plugins/{pluginId}/start";function Y(p,e,t,o){let n=new i(e,Y.PATH,"post");return t&&n.path("pluginId",t.pluginId,{}),p.request(n.build({responseType:"blob",accept:"*/*",context:o})).pipe(a(s=>s instanceof l),r(s=>s))}Y.PATH="/api/plugins/{pluginId}/stop";function tt(p,e,t,o){let n=new i(e,tt.PATH,"delete");return t&&n.path("pluginId",t.pluginId,{}),p.request(n.build({responseType:"blob",accept:"*/*",context:o})).pipe(a(s=>s instanceof l),r(s=>s))}tt.PATH="/api/plugins/{pluginId}";function et(p,e,t,o){let n=new i(e,et.PATH,"post");return t&&n.body(t.body,"multipart/form-data"),p.request(n.build({responseType:"blob",accept:"*/*",context:o})).pipe(a(s=>s instanceof l),r(s=>s))}et.PATH="/api/plugins/upload";var ut=class p extends v{constructor(e,t){super(e,t)}static StopPluginPath="/api/plugins/{pluginId}/stop";stopPlugin$Response(e,t){return Y(this.http,this.rootUrl,e,t)}stopPlugin(e,t){return this.stopPlugin$Response(e,t).pipe(r(n=>n.body))}static StartPluginPath="/api/plugins/{pluginId}/start";startPlugin$Response(e,t){return X(this.http,this.rootUrl,e,t)}startPlugin(e,t){return this.startPlugin$Response(e,t).pipe(r(n=>n.body))}static ReloadPluginPath="/api/plugins/{pluginId}/reload";reloadPlugin$Response(e,t){return Z(this.http,this.rootUrl,e,t)}reloadPlugin(e,t){return this.reloadPlugin$Response(e,t).pipe(r(n=>n.body))}static UploadPluginPath="/api/plugins/upload";uploadPlugin$Response(e,t){return et(this.http,this.rootUrl,e,t)}uploadPlugin(e,t){return this.uploadPlugin$Response(e,t).pipe(r(n=>n.body))}static ReloadAllAgentsPath="/api/plugins/reload-agents";reloadAllAgents$Response(e,t){return J(this.http,this.rootUrl,e,t)}reloadAllAgents(e,t){return this.reloadAllAgents$Response(e,t).pipe(r(n=>n.body))}static GetAllPluginsPath="/api/plugins";getAllPlugins$Response(e,t){return _(this.http,this.rootUrl,e,t)}getAllPlugins(e,t){return this.getAllPlugins$Response(e,t).pipe(r(n=>n.body))}static GetPluginPath="/api/plugins/{pluginId}";getPlugin$Response(e,t){return K(this.http,this.rootUrl,e,t)}getPlugin(e,t){return this.getPlugin$Response(e,t).pipe(r(n=>n.body))}static UnloadPluginPath="/api/plugins/{pluginId}";unloadPlugin$Response(e,t){return tt(this.http,this.rootUrl,e,t)}unloadPlugin(e,t){return this.unloadPlugin$Response(e,t).pipe(r(n=>n.body))}static DebugPluginPath="/api/plugins/{pluginId}/debug";debugPlugin$Response(e,t){return z(this.http,this.rootUrl,e,t)}debugPlugin(e,t){return this.debugPlugin$Response(e,t).pipe(r(n=>n.body))}static DebugAllPluginsPath="/api/plugins/debug";debugAllPlugins$Response(e,t){return V(this.http,this.rootUrl,e,t)}debugAllPlugins(e,t){return this.debugAllPlugins$Response(e,t).pipe(r(n=>n.body))}static \u0275fac=function(t){return new(t||p)(m(c),m(f))};static \u0275prov=d({token:p,factory:p.\u0275fac,providedIn:"root"})};var dt=class p{config=nt(c);zone=nt(vt);connect(e){let t=`${this.config.rootUrl}/api/cases/${e}/events`;return new ft(o=>{let n=this.zone.runOutsideAngular(()=>new EventSource(t));return n.onmessage=s=>{try{let u=JSON.parse(s.data);this.zone.run(()=>o.next(u))}catch(u){this.zone.run(()=>o.error(new Error(`Failed to parse SSE event: ${u}`)))}},n.onerror=s=>{n.readyState===EventSource.CLOSED?this.zone.run(()=>o.complete()):this.zone.run(()=>o.error(new Error(`SSE connection error for case ${e}`))),n.close()},()=>n.close()})}static \u0275fac=function(t){return new(t||p)};static \u0275prov=d({token:p,factory:p.\u0275fac,providedIn:"root"})};export{c as a,it as b,at as c,ut as d};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a}from"./chunk-TWBSKSZ6.js";import"./chunk-FYYZME5V.js";import"./chunk-EN34LXVI.js";export{a as CaseChatComponent};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a}from"./chunk-LRXH43AD.js";import"./chunk-5CECNE3W.js";import"./chunk-EN34LXVI.js";export{a as CaseListComponent};
|