module.exports=[923667,a=>{"use strict";var b=a.i(659127),c=a.i(996380);async function d(a){try{let b=(0,c.resolve)("CreateWorkItemUseCase"),d=await b.execute(a);if(!d.ok)return{error:d.error};return{workItem:d.workItem}}catch(a){return{error:a instanceof Error?a.message:"Failed to create work item"}}}(0,a.i(501905).ensureServerEntryExports)([d]),(0,b.registerServerReference)(d,"407d11d4973331f727d62899e0fe075a775d32b5bf",null),a.s(["createWorkItem",0,d])},493811,a=>{"use strict";var b=a.i(912513),c=a.i(889253),d=a.i(723504),e=a.i(408115),f=a.i(827900),g=a.i(673350),h=a.i(673101),i=a.i(654775),j=a.i(265324),k=a.i(659127),l=a.i(996380),m=a.i(501905);async function n(a){if(!a?.trim())return{error:"Work item ID is required"};try{let b=(0,l.resolve)("ListWorkItemRelationsUseCase");return{relations:await b.execute(a)}}catch(a){return{error:a instanceof Error?a.message:"Failed to list relations"}}}async function o(a){if(!a?.trim())return{error:"Relation ID is required"};try{let b=(0,l.resolve)("DeleteWorkItemRelationUseCase"),c=await b.execute(a);if(!c.ok)return{error:c.error};return{}}catch(a){return{error:a instanceof Error?a.message:"Failed to delete relation"}}}async function p(a){try{let b=(0,l.resolve)("CreateWorkItemRelationUseCase"),c=await b.execute(a);if(!c.ok)return{error:c.error};return{relation:c.relation}}catch(a){return{error:a instanceof Error?a.message:"Failed to create relation"}}}(0,m.ensureServerEntryExports)([n]),(0,k.registerServerReference)(n,"404886224da62ae1259097f93a1cbc8cf7e9d31513",null),(0,m.ensureServerEntryExports)([o]),(0,k.registerServerReference)(o,"400de93ad7db9312e1f9ed85d28c883dd4be150ebc",null),(0,m.ensureServerEntryExports)([p]),(0,k.registerServerReference)(p,"40e62b493dc5b50949f34609d272ec7774bcc267a8",null);var q=a.i(923667);async function r(a){try{let b=(0,l.resolve)("ListAttachmentsUseCase");return{attachments:(await b.execute(a)).attachments}}catch(a){return{error:a instanceof Error?a.message:"Failed to list attachments"}}}async function s(a){try{let b=(0,l.resolve)("DeleteAttachmentUseCase"),c=await b.execute(a);if(!c.ok)return{error:c.error};return{}}catch(a){return{error:a instanceof Error?a.message:"Failed to delete attachment"}}}async function t(a,b,c){try{let d=(0,l.resolve)("LogTimeEntryUseCase"),e=await d.execute(a,b,c);if(!e.ok)return{error:e.error};return{timeEntry:e.timeEntry}}catch(a){return{error:a instanceof Error?a.message:"Failed to log time entry"}}}async function u(a){try{let b=(0,l.resolve)("ListTimeEntriesUseCase"),c=await b.execute(a);return{timeEntries:c.timeEntries,totalMinutes:c.totalMinutes}}catch(a){return{error:a instanceof Error?a.message:"Failed to list time entries"}}}async function v(a){try{let b=(0,l.resolve)("DeleteTimeEntryUseCase"),c=await b.execute(a);if(!c.ok)return{error:c.error};return{}}catch(a){return{error:a instanceof Error?a.message:"Failed to delete time entry"}}}(0,m.ensureServerEntryExports)([r,s]),(0,k.registerServerReference)(r,"40a8f02f95e7042496e14dc940c787a818d2bce215",null),(0,k.registerServerReference)(s,"40b4fcbc726aeed438a0ff72dc16536a261fa2f4a5",null),(0,m.ensureServerEntryExports)([t,u,v]),(0,k.registerServerReference)(t,"703a0e1002f12161188fbdd7e7959764214f5a6220",null),(0,k.registerServerReference)(u,"408819d168fbf37fcef9371fda8e8aad710c3f66f0",null),(0,k.registerServerReference)(v,"4087d67f1913cfaee03347b7f60d769b3bc600b565",null),a.s([],947838),a.i(947838),a.s(["00173dba11983ca8bc5eee5202809f1608ecb7b9ee",()=>i.listGitHubOrganizations,"00218fdba1289cf3a0703970456df81e7c2ce879da",()=>b.pickFolder,"003fe82fb16e38877fe4c96020b914dbf66345c10c",()=>d.getAllAgentModels,"0064c6a904ca8939b26e1d7cb971dfe1ce0a736d92",()=>c.getDefaultAgentAndModel,"00a388dfcc45f45365055fb2f8fbd6f5b260c29752",()=>e.checkAllAgentsStatus,"40085450b3d987b1b69c38f877433761c8cee07382",()=>g.globalSearch,"400b2f183f80480ccf6ce3de92037e85218f7dd8b3",()=>h.listGitHubRepositories,"400de93ad7db9312e1f9ed85d28c883dd4be150ebc",0,o,"404886224da62ae1259097f93a1cbc8cf7e9d31513",0,n,"407d11d4973331f727d62899e0fe075a775d32b5bf",()=>q.createWorkItem,"40834634ae55a0b7479981f9f0629fde71c59e080b",()=>j.importGitHubRepository,"4087d67f1913cfaee03347b7f60d769b3bc600b565",0,v,"40b4fcbc726aeed438a0ff72dc16536a261fa2f4a5",0,s,"40e62b493dc5b50949f34609d272ec7774bcc267a8",0,p,"60819c777e2e4ccac54bf78640d89e08f9c04abfd4",()=>f.updateAgentAndModel,"703a0e1002f12161188fbdd7e7959764214f5a6220",0,t],493811)}];

//# sourceMappingURL=src_presentation_web_0k23546._.js.map