@whoz-oss/coday-client 0.0.0-workstream-forge.273 → 0.0.0-workstream-messaging.10

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 (91) hide show
  1. package/browser/chunk-0mZ3Y_ZJ.js +1 -0
  2. package/browser/chunk-1XF6Qsuy.js +1 -0
  3. package/browser/chunk-2KFuV5E5.js +671 -0
  4. package/browser/chunk-ATg3fmRI.js +1 -0
  5. package/browser/{chunk-CDUMxrcp.js → chunk-BFAp9jo2.js} +1 -1
  6. package/browser/chunk-BL1cOmqY.js +1 -0
  7. package/browser/chunk-BMbtNfWQ.js +1 -0
  8. package/browser/chunk-BqHLVmOf.js +1 -0
  9. package/browser/{chunk-BB9Gq9LM.js → chunk-BuwHCrKf.js} +1 -1
  10. package/browser/{chunk-BgL5ewFe.js → chunk-BwyYPrKV.js} +1 -1
  11. package/browser/chunk-C0i49sQV.js +1 -0
  12. package/browser/chunk-C4EP50-g.js +1 -0
  13. package/browser/chunk-C4OG4ewl.js +1 -0
  14. package/browser/chunk-C57t194y.js +1 -0
  15. package/browser/chunk-C7nsTLJX.js +1 -0
  16. package/browser/chunk-CCDRNHex.js +1 -0
  17. package/browser/chunk-CIeSnHU_.js +1 -0
  18. package/browser/chunk-CL0y_n4N.js +1 -0
  19. package/browser/chunk-CMZIhnyc.js +1 -0
  20. package/browser/chunk-CVlOQ_eN.js +1 -0
  21. package/browser/chunk-C_6VN9jF.js +1 -0
  22. package/browser/chunk-C_ual2NQ.js +2 -0
  23. package/browser/{chunk-CBVMv4ai.js → chunk-Cdql7t44.js} +1 -1
  24. package/browser/chunk-CqT7zdSp.js +1 -0
  25. package/browser/chunk-D2x7xu27.js +1 -0
  26. package/browser/chunk-D51v34BD.js +1 -0
  27. package/browser/chunk-D7Yaudd7.js +1 -0
  28. package/browser/chunk-D9gwrCSe.js +1 -0
  29. package/browser/chunk-DAoXL__Q.js +2 -0
  30. package/browser/chunk-DKPVmUTX.js +1 -0
  31. package/browser/{chunk-CZFKR68R.js → chunk-DPNOnAOU.js} +1 -1
  32. package/browser/chunk-D_jkAHyb.js +1 -0
  33. package/browser/{chunk-CBWtz2mG.js → chunk-DoiOjutD.js} +1 -1
  34. package/browser/chunk-DpA9bfvt.js +1 -0
  35. package/browser/chunk-DqrAPruo.js +1 -0
  36. package/browser/chunk-Dt3vfYW7.js +1 -0
  37. package/browser/chunk-DvR4terh.js +1 -0
  38. package/browser/{chunk-BnhHFWL5.js → chunk-R1TauUsQ.js} +1 -1
  39. package/browser/chunk-SMenvxTt.js +1 -0
  40. package/browser/chunk-dszE6BqR.js +1 -0
  41. package/browser/chunk-hCtZ2RNp.js +1 -0
  42. package/browser/chunk-ijPuDimC.js +1 -0
  43. package/browser/chunk-nnH-h9C7.js +1 -0
  44. package/browser/chunk-peLkf2eQ.js +1 -0
  45. package/browser/{chunk-Dadlh5JC.js → chunk-rKr5ufU2.js} +1 -1
  46. package/browser/chunk-tNsYxLDx.js +1 -0
  47. package/browser/chunk-wXEAK6xj.js +1 -0
  48. package/browser/chunk-wmoMXtn0.js +1 -0
  49. package/browser/chunk-x7GGjcqr.js +1 -0
  50. package/browser/index.html +1 -1
  51. package/browser/main-EPHSXFSY.js +1254 -0
  52. package/package.json +1 -1
  53. package/browser/chunk-0ZtY80DW.js +0 -1
  54. package/browser/chunk-14mxT3bD.js +0 -1
  55. package/browser/chunk-9n3XkPN1.js +0 -1
  56. package/browser/chunk-B0xq8HoB.js +0 -1
  57. package/browser/chunk-BQof2LNq.js +0 -1
  58. package/browser/chunk-BSRpGLZu.js +0 -1
  59. package/browser/chunk-BTUoHs1a.js +0 -1
  60. package/browser/chunk-BZjbpPBa.js +0 -671
  61. package/browser/chunk-BbjUb8n0.js +0 -1
  62. package/browser/chunk-BkPDwEh1.js +0 -1
  63. package/browser/chunk-BmsFJQ_v.js +0 -2
  64. package/browser/chunk-Bt4hGQrm.js +0 -1
  65. package/browser/chunk-C1EaR3-9.js +0 -1
  66. package/browser/chunk-C9MRS4KJ.js +0 -1
  67. package/browser/chunk-CAqIYs7P.js +0 -1
  68. package/browser/chunk-C_vj5e-Y.js +0 -1
  69. package/browser/chunk-CaSk42fD.js +0 -1
  70. package/browser/chunk-CeqhBlc6.js +0 -1
  71. package/browser/chunk-CfhLsKNC.js +0 -1
  72. package/browser/chunk-Cix3-0K2.js +0 -1
  73. package/browser/chunk-CjVNMPMk.js +0 -2
  74. package/browser/chunk-Cl72Xnim.js +0 -1
  75. package/browser/chunk-CuwUFZ9P.js +0 -1
  76. package/browser/chunk-CyYuvnGm.js +0 -1
  77. package/browser/chunk-D68ToWiu.js +0 -1
  78. package/browser/chunk-DDZiCKt-.js +0 -1
  79. package/browser/chunk-DKbc-fih.js +0 -1
  80. package/browser/chunk-Daidn0iH.js +0 -1
  81. package/browser/chunk-DgEngWkY.js +0 -1
  82. package/browser/chunk-Dnc62mls.js +0 -1
  83. package/browser/chunk-NON463g4.js +0 -1
  84. package/browser/chunk-PGJjZGrF.js +0 -1
  85. package/browser/chunk-VCV19Z6L.js +0 -1
  86. package/browser/chunk-dCxf5p0L.js +0 -1
  87. package/browser/chunk-hha5EuTF.js +0 -1
  88. package/browser/chunk-hmzIFgbE.js +0 -1
  89. package/browser/chunk-q02QECba.js +0 -1
  90. package/browser/chunk-sKMEQoDc.js +0 -1
  91. package/browser/main-G2NDWI4S.js +0 -1253
@@ -0,0 +1 @@
1
+ import {x as m,r as k,O as O$1,i as at,d as yn,V as Vo,k as P,w as P$1}from'./chunk-2KFuV5E5.js';import {g,F,v as we,a3 as vr,M as Mi,a5 as Ys,x as U$1,a as ew,o as os,K as qh,z as zu,b as pC,I as Iw,c as IE,J as Vh,w as ww,L as Lw,l as lg,T as Tw,_ as _w,Y as Yu,R as Rw,h as Bh,P as Pd,n as Ld}from'./main-EPHSXFSY.js';var j=(t,e)=>e.id??e.name;function A(t,e){if(t&1&&(os(0,"p",3),pC(1),zu()),t&2){let n=Lw();IE(),lg(n.deletion.error());}}function K(t,e){t&1&&(os(0,"p",4),pC(1,"Loading prompts\u2026"),zu());}function H(t,e){t&1&&(os(0,"p",5),pC(1,"No platform prompts defined yet."),zu());}function U(t,e){t&1&&(os(0,"p",4),pC(1,"No prompts match the current filter."),zu());}function z(t,e){if(t&1){let n=Rw();os(0,"button",18),qh("click",function(){Pd(n);let m=Lw().$implicit,p=Lw(2);return Ld(p.edit(m))}),pC(1,"Edit"),zu();}if(t&2){let n=Lw().$implicit;Bh("aria-label","Edit "+n.name);}}function G(t,e){if(t&1){let n=Rw();os(0,"agentos-row-delete-action",19),qh("deleteRequested",function(){Pd(n);let m=Lw().$implicit,p=Lw(2);return Ld(p.deletion.request(m.id))})("deleteConfirmed",function(){Pd(n);let m=Lw().$implicit,p=Lw(2);return Ld(p.confirmDelete(m))})("deleteCancelled",function(){Pd(n);let m=Lw(3);return Ld(m.deletion.cancel())}),zu();}if(t&2){let n=Lw().$implicit,r=Lw(2);Vh("rowKey",n.id)("rowLabel",n.name)("state",r.deletion);}}function J(t,e){if(t&1&&(os(0,"tr",9)(1,"td",12),pC(2),zu(),os(3,"td",13),pC(4),zu(),os(5,"td",14)(6,"div",15),Iw(7,z,2,1,"button",16),Iw(8,G,1,3,"agentos-row-delete-action",17),zu()()()),t&2){let n=e.$implicit,r=Lw(2);IE(2),lg(n.name),IE(2),Yu(" ",n.description||"\u2014"," "),IE(3),ww(r.deletion.confirmingId()!==n.id?7:-1),IE(),ww(n.id?8:-1);}}function O(t,e){if(t&1&&(os(0,"div",6)(1,"table",7)(2,"thead",8)(3,"tr",9)(4,"th",10),pC(5,"Name"),zu(),os(6,"th",10),pC(7,"Description"),zu(),os(8,"th",10)(9,"span",11),pC(10,"Actions"),zu()()()(),os(11,"tbody",8),Tw(12,J,9,4,"tr",9,j),zu()()()),t&2){let n=Lw();IE(12),_w(n.rowFilter.filteredRows());}}var B=class t{router=g(F);destroyRef=g(we);promptState=g(m);refresh$=new vr(void 0);isLoading=Mi(true);deletion=k();prompts=Mi([]);rowFilter=O$1(this.prompts,e=>[e.name,e.description].filter(Boolean).join(" "));constructor(){this.refresh$.pipe(Ys(()=>(this.isLoading.set(true),this.promptState.listPlatform())),U$1(this.destroyRef)).subscribe({next:e=>{this.prompts.set(e),this.isLoading.set(false);},error:()=>this.isLoading.set(false)});}openCreateForm(){this.router.navigate(["/agentos","admin","prompts","new"]);}edit(e){e.id&&this.router.navigate(["/agentos","admin","prompts",e.id,"edit"]);}confirmDelete(e){e.id&&this.deletion.execute(e.id,{request$:this.promptState.delete(e.id).pipe(U$1(this.destroyRef)),onSuccess:()=>this.refresh$.next(),errorMessage:`Deleting "${e.name}" failed. Try again.`});}static \u0275fac=function(n){return new(n||t)};static \u0275cmp=ew({type:t,selectors:[["agentos-platform-prompts"]],decls:9,vars:3,consts:[["title","Platform prompts","description","Prompts shared across every namespace."],["label","Filter prompts","placeholder","Filter prompts\u2026",3,"queryChange","query"],["dsButton","","variant","primary","type","button",3,"click"],["role","alert",1,"settings-table__error"],["role","status",1,"settings-table__status"],[1,"settings-table__status"],[1,"settings-table__wrap"],["dsTable","","role","table","aria-label","Platform prompts"],["role","rowgroup"],["role","row"],["role","columnheader"],[1,"sr-only"],["role","cell","data-label","Name","data-title","",1,"settings-table__name"],["role","cell","data-label","Description",1,"settings-table__secondary"],["role","cell","data-label","Actions","data-actions",""],[1,"settings-table__actions"],["type","button"],["deleteClass","settings-table__delete","confirmLabelClass","settings-table__confirm-label",3,"rowKey","rowLabel","state"],["type","button",3,"click"],["deleteClass","settings-table__delete","confirmLabelClass","settings-table__confirm-label",3,"deleteRequested","deleteConfirmed","deleteCancelled","rowKey","rowLabel","state"]],template:function(n,r){n&1&&(os(0,"ds-section-header",0)(1,"agentos-table-filter",1),qh("queryChange",function(p){return r.rowFilter.query.set(p)}),zu(),os(2,"button",2),qh("click",function(){return r.openCreateForm()}),pC(3,"New prompt"),zu()(),Iw(4,A,2,1,"p",3),Iw(5,K,2,0,"p",4)(6,H,2,0,"p",5)(7,U,2,0,"p",4)(8,O,14,0,"div",6)),n&2&&(IE(),Vh("query",r.rowFilter.query()),IE(3),ww(r.deletion.error()?4:-1),IE(),ww(r.isLoading()?5:r.prompts().length===0?6:r.rowFilter.filteredRows().length===0?7:8));},dependencies:[at,yn,Vo,P,P$1],encapsulation:2})};export{B as PlatformPromptsComponent};
@@ -0,0 +1 @@
1
+ import {a}from'./chunk-1nyEsjkY.js';import {o}from'./chunk-BuwHCrKf.js';import {F as s,r as k,O,i as at,d as yn,V as Vo,A as Ao,k as P,w as P$1}from'./chunk-2KFuV5E5.js';import {g,W,F,v as we,a3 as vr,M as Mi,a5 as Ys,ag as Gm,a6 as Zs,ae as Dr,ah as te$1,x as U,a as ew,o as os,K as qh,z as zu,b as pC,I as Iw,c as IE,J as Vh,w as ww,L as Lw,l as lg,T as Tw,_ as _w,Y as Yu,$ as dg,R as Rw,P as Pd,n as Ld,h as Bh}from'./main-EPHSXFSY.js';var Y=(n,e)=>e.key;function Z(n,e){if(n&1&&(os(0,"p",3),pC(1),zu()),n&2){let t=Lw();IE(),lg(t.deletion.error());}}function ee(n,e){n&1&&(os(0,"p",4),pC(1,"Loading skills\u2026"),zu());}function te(n,e){n&1&&(os(0,"p",5),pC(1," No skills defined yet. Add one above, or drop a SKILL.md under the namespace config path. "),zu());}function ne(n,e){n&1&&(os(0,"p",4),pC(1,"No skills match the current filter."),zu());}function ie(n,e){if(n&1&&(os(0,"span",14),pC(1),zu()),n&2){let t=Lw().$implicit;IE(),dg(" named by ",t.namedByAgents," ",t.namedByAgents===1?"agent":"agents"," ");}}function ae(n,e){n&1&&(os(0,"ds-tag",20),pC(1,"Read-only"),zu());}function oe(n,e){n&1&&(os(0,"ds-tag",21),pC(1,"SKILL.md"),zu());}function le(n,e){if(n&1){let t=Rw();os(0,"button",25),qh("click",function(){Pd(t);let d=Lw(2).$implicit,c=Lw(2);return Ld(c.edit(d))}),pC(1,"Edit"),zu();}if(n&2){let t=Lw(2).$implicit;Bh("aria-label","Edit "+t.skill.name);}}function re(n,e){if(n&1){let t=Rw();os(0,"button",25),qh("click",function(){Pd(t);let d=Lw().$implicit,c=Lw(2);return Ld(c.inspect(d))}),pC(1," View "),zu(),Iw(2,le,2,1,"button",26);}if(n&2){let t=Lw().$implicit,a=Lw(2);Bh("aria-label","View "+t.skill.name),IE(2),ww(a.isMutable(t)?2:-1);}}function se(n,e){if(n&1){let t=Rw();os(0,"agentos-row-delete-action",27),qh("deleteRequested",function(){Pd(t);let d=Lw().$implicit,c=Lw(2);return Ld(c.requestDelete(d))})("deleteConfirmed",function(){Pd(t);let d=Lw().$implicit,c=Lw(2);return Ld(c.confirmDelete(d))})("deleteCancelled",function(){Pd(t);let d=Lw(3);return Ld(d.deletion.cancel())}),zu();}if(n&2){let t=Lw().$implicit,a=Lw(2);Vh("rowKey",t.key)("rowLabel",t.skill.name)("state",a.deletion);}}function ce(n,e){if(n&1&&(os(0,"tr",9)(1,"td",12)(2,"span",13),pC(3),zu(),Iw(4,ie,2,2,"span",14),zu(),os(5,"td",15),pC(6),zu(),os(7,"td",16),pC(8),zu(),os(9,"td",17)(10,"div",18)(11,"ds-tag",19),pC(12),zu(),Iw(13,ae,2,0,"ds-tag",20),Iw(14,oe,2,0,"ds-tag",21),zu()(),os(15,"td",22)(16,"div",23),Iw(17,re,3,2),Iw(18,se,1,3,"agentos-row-delete-action",24),zu()()()),n&2){let t=e.$implicit,a=Lw(2);IE(3),lg(t.skill.name),IE(),ww(t.namedByAgents>0?4:-1),IE(2),Yu(" ",t.skill.description||"\u2014"," "),IE(2),lg(a.resourceCount(t.skill)),IE(3),Vh("variant",t.scope==="platform"?"neutral":"accent"),IE(),lg(t.scope==="platform"?"Platform":"Namespace"),IE(),ww(t.scope==="platform"?13:-1),IE(),ww(t.skill.readOnly?14:-1),IE(3),ww(a.deletion.confirmingId()!==t.key?17:-1),IE(),ww(a.isMutable(t)?18:-1);}}function de(n,e){if(n&1&&(os(0,"div",6)(1,"table",7)(2,"thead",8)(3,"tr",9)(4,"th",10),pC(5,"Name"),zu(),os(6,"th",10),pC(7,"Description"),zu(),os(8,"th",10),pC(9,"Resources"),zu(),os(10,"th",10),pC(11,"Scope"),zu(),os(12,"th",10)(13,"span",11),pC(14,"Actions"),zu()()()(),os(15,"tbody",8),Tw(16,ce,19,10,"tr",9,Y),zu()()()),n&2){let t=Lw();IE(16),_w(t.rowFilter.filteredRows());}}var Q=class n{route=g(W);router=g(F);destroyRef=g(we);skillState=g(o);agentState=g(s);namespaceId=this.route.snapshot.params.namespaceId;refresh$=new vr(void 0);isLoading=Mi(true);deletion=k();rows=Mi([]);rowFilter=O(this.rows,e=>[e.skill.name,e.skill.description,e.scope].filter(Boolean).join(" "));constructor(){this.refresh$.pipe(Ys(()=>(this.isLoading.set(true),Gm({platform:this.skillState.listPlatform().pipe(Zs(()=>Dr([]))),namespace:this.skillState.listByNamespace(this.namespaceId),agents:Gm({namespace:this.agentState.listByNamespace(this.namespaceId),platform:this.agentState.listPlatform().pipe(Zs(()=>Dr([])))}).pipe(te$1(({namespace:e,platform:t})=>[...e,...t]),Zs(()=>Dr([])))}))),U(this.destroyRef)).subscribe({next:({platform:e,namespace:t,agents:a$1})=>{let d=(c,_,W)=>({key:`${_}:${c.id??W}`,skill:c,scope:_,namedByAgents:a$1.filter(X=>a(X.skillSelectors,c.name)==="named").length});this.rows.set([...e.map((c,_)=>d(c,"platform",_)),...t.map((c,_)=>d(c,"namespace",_))]),this.isLoading.set(false);},error:()=>this.isLoading.set(false)});}resourceCount(e){return Object.keys(e.resources??{}).length}isMutable(e){return e.scope==="namespace"&&e.skill.readOnly!==true&&!!e.skill.id}openCreateForm(){this.router.navigate(["/agentos",this.namespaceId,"skills","new"]);}inspect(e){e.skill.id&&this.router.navigate(e.scope==="platform"?["/agentos","admin","skills",e.skill.id,"inspect"]:["/agentos",this.namespaceId,"skills",e.skill.id,"inspect"]);}edit(e){!this.isMutable(e)||!e.skill.id||this.router.navigate(["/agentos",this.namespaceId,"skills",e.skill.id,"edit"]);}requestDelete(e){this.deletion.request(e.key);}confirmDelete(e){if(!this.isMutable(e)||!e.skill.id)return;let t=e.namedByAgents;this.deletion.execute(e.key,{request$:this.skillState.delete(e.skill.id).pipe(U(this.destroyRef)),onSuccess:()=>this.refresh$.next(),errorMessage:a=>a.status===400?`"${e.skill.name}" is defined by a SKILL.md file and cannot be deleted through the API.`:`Deleting "${e.skill.name}" failed.${t>0?` ${t} agent(s) still name it.`:""}`});}static \u0275fac=function(t){return new(t||n)};static \u0275cmp=ew({type:n,selectors:[["agentos-namespace-skills"]],decls:9,vars:3,consts:[["title","Skills","description","Skills available in this namespace, including skills inherited from the platform."],["label","Filter skills","placeholder","Filter skills\u2026",3,"queryChange","query"],["dsButton","","variant","primary","type","button",3,"click"],["role","alert",1,"settings-table__error"],["role","status",1,"settings-table__status"],[1,"settings-table__status"],[1,"settings-table__wrap"],["dsTable","","role","table","aria-label","Skills"],["role","rowgroup"],["role","row"],["role","columnheader"],[1,"sr-only"],["role","cell","data-label","Name","data-title",""],[1,"settings-table__name","settings-table__stacked"],[1,"settings-table__secondary","settings-table__stacked"],["role","cell","data-label","Description",1,"settings-table__secondary"],["role","cell","data-label","Resources"],["role","cell","data-label","Scope"],[1,"settings-table__tags"],[3,"variant"],["variant","outline"],["variant","neutral"],["role","cell","data-label","Actions","data-actions",""],[1,"settings-table__actions"],["deleteClass","settings-table__delete","confirmLabelClass","settings-table__confirm-label",3,"rowKey","rowLabel","state"],["type","button",3,"click"],["type","button"],["deleteClass","settings-table__delete","confirmLabelClass","settings-table__confirm-label",3,"deleteRequested","deleteConfirmed","deleteCancelled","rowKey","rowLabel","state"]],template:function(t,a){t&1&&(os(0,"ds-section-header",0)(1,"agentos-table-filter",1),qh("queryChange",function(c){return a.rowFilter.query.set(c)}),zu(),os(2,"button",2),qh("click",function(){return a.openCreateForm()}),pC(3,"New skill"),zu()(),Iw(4,Z,2,1,"p",3),Iw(5,ee,2,0,"p",4)(6,te,2,0,"p",5)(7,ne,2,0,"p",4)(8,de,18,0,"div",6)),t&2&&(IE(),Vh("query",a.rowFilter.query()),IE(3),ww(a.deletion.error()?4:-1),IE(),ww(a.isLoading()?5:a.rows().length===0?6:a.rowFilter.filteredRows().length===0?7:8));},dependencies:[at,yn,Vo,Ao,P,P$1],encapsulation:2})};export{Q as NamespaceSkillsComponent};