@tickernelz/wardmote-ui 2026.1114.0 → 2026.1114.2
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/dist/assets/AccessSelectIdentity-Dp--1kWe.js +1 -0
- package/dist/assets/ActiveAgentsPanel-Budj8e9v.js +1 -0
- package/dist/assets/AdapterManager-DhiW44Eo.js +1 -0
- package/dist/assets/AdvancedToolsRoute-CICI1XRd.js +39 -0
- package/dist/assets/AgentActionButtons-DIhpv51Y.js +1 -0
- package/dist/assets/AgentAvatar-DgGEobSY.js +1 -0
- package/dist/assets/AgentBubbleActionRow-DIr3TdR9.js +1 -0
- package/dist/assets/AgentCharacter-BTEn5MBu.js +2 -0
- package/dist/assets/AgentChat-CeuGtMXr.js +1 -0
- package/dist/assets/AgentChats-CmDtTrMa.js +1 -0
- package/dist/assets/AgentDefaults-DpYaMGkf.js +1 -0
- package/dist/assets/AgentDetail-DFTeFc4-.js +38 -0
- package/dist/assets/AgentIconPicker-D87bSkxE.js +1 -0
- package/dist/assets/AgentIdentity-I_kB4rMX.js +1 -0
- package/dist/assets/AgentMailCredentialField-L4T0REEW.js +1 -0
- package/dist/assets/AgentMultiSelect-DsJfZtR2.js +1 -0
- package/dist/assets/AgentRoleEditor-DTKNKZXs.js +1 -0
- package/dist/assets/AgentSetupPrompt-DYBB5Med.js +30 -0
- package/dist/assets/AgentTodoCard-DRXZ7hmU.js +1 -0
- package/dist/assets/Agents-CClUUMUq.js +3 -0
- package/dist/assets/AppDetail-DfHLFOtj.js +5 -0
- package/dist/assets/AppLogo-CZr1Y48O.js +1 -0
- package/dist/assets/AppNotConnected-CcmXbFtD.js +1 -0
- package/dist/assets/ApprovalCard-uT_9D_uH.js +1 -0
- package/dist/assets/ApprovalDetail-CE41WFbd.js +1 -0
- package/dist/assets/ApprovalPayload-_zU9bukt.js +1 -0
- package/dist/assets/Approvals-BXrjqpKc.js +1 -0
- package/dist/assets/AppsConnect-DH7aSjtS.js +1 -0
- package/dist/assets/AppsReview-C0Y3SxmZ.js +1 -0
- package/dist/assets/ArtifactCard-DKUUBZ0K.js +1 -0
- package/dist/assets/Artifacts-Bsv5m0aU.js +1 -0
- package/dist/assets/AssistantConnection-Dm2PaSeU.js +1 -0
- package/dist/assets/AttentionInteractionResolver-CBjNuhYo.js +1 -0
- package/dist/assets/AuditHub-DbUni0O_.js +1 -0
- package/dist/assets/Auth-_P9t1YSS.js +3 -0
- package/dist/assets/BoardChat-CgzCuFIL.js +18 -0
- package/dist/assets/BoardClaim-CsomHmd6.js +1 -0
- package/dist/assets/BootstrapSetupUxLab-D-niQCV5.js +1 -0
- package/dist/assets/BreadcrumbContext-BVZDZoC0.js +1 -0
- package/dist/assets/Browse-0bmB5mqw.js +1 -0
- package/dist/assets/BudgetPolicyCard-CqFUHqOj.js +1 -0
- package/dist/assets/CaseDetail-DakrB2jI.js +2 -0
- package/dist/assets/CaseIdentifierKey-D8Xi16PS.js +1 -0
- package/dist/assets/Cases-DXbr4HJt.js +2 -0
- package/dist/assets/ChatEndpointDetail-BdDKo-Gq.js +5 -0
- package/dist/assets/ChatEndpointSetup-BX3iDH7N.js +1 -0
- package/dist/assets/ChatIdentityConfirm-DCI5BnWo.js +1 -0
- package/dist/assets/ChoiceControls-Bu-fd6qI.js +1 -0
- package/dist/assets/CliAuth-CRG0c0EH.js +1 -0
- package/dist/assets/CommentAttributionChip-fz5Mn0RW.js +1 -0
- package/dist/assets/Companies-FcUNLIkt.js +1 -0
- package/dist/assets/CompanyAccess-BUcTNg7_.js +1 -0
- package/dist/assets/CompanyActivity-ScpRBz1G.js +1 -0
- package/dist/assets/CompanyConnections-DMEwbZv7.js +1 -0
- package/dist/assets/CompanyContext-CSrVsSze.js +1 -0
- package/dist/assets/CompanyEnvironments-EqXhVruZ.js +3 -0
- package/dist/assets/CompanyExport-DQ9ffuua.js +4 -0
- package/dist/assets/CompanyImport-BhuZu4oc.js +1 -0
- package/dist/assets/CompanySettings-BSkg4ahA.js +1 -0
- package/dist/assets/CompanySettingsPluginPage-BzZkZqh-.js +1 -0
- package/dist/assets/CompanySkills-BbA4RKIw.js +10 -0
- package/dist/assets/ComposerAddMenu-D9z2INup.js +3 -0
- package/dist/assets/ConfigureBuiltInAgentModal-BUJPbmWc.js +1 -0
- package/dist/assets/ConnectionSetupFlow-DKjP5RBZ.js +40 -0
- package/dist/assets/CopyText-Cr673_Kx.js +1 -0
- package/dist/assets/CopyableGatewayUrl-BZyE_jT9.js +1 -0
- package/dist/assets/CrossIssueCollaborationUxLab-CEh5B2iJ.js +1 -0
- package/dist/assets/Dashboard--lTwxjV-.js +2 -0
- package/dist/assets/DashboardLive-BYyTgF5d.js +1 -0
- package/dist/assets/DecisionDateChips-vXwAFdua.js +1 -0
- package/dist/assets/DecisionModelSettings-NrNERkaW.js +1 -0
- package/dist/assets/DecisionQueuePage-BaaKuZBi.js +1 -0
- package/dist/assets/DesignGuide-DS6MuXWY.js +23 -0
- package/dist/assets/DocumentFrameHeader-DTSqcw4Q.js +1 -0
- package/dist/assets/EmailConnectionAccess-DAFMofYX.js +1 -0
- package/dist/assets/EmailEndpointSetup-CJFYu2G0.js +1 -0
- package/dist/assets/EnforcementBanner-DWPluRU0.js +1 -0
- package/dist/assets/EntityRow-BIfupmlZ.js +1 -0
- package/dist/assets/ExecutionWorkspaceDetail-CuD5xWOB.js +19 -0
- package/dist/assets/FilterBar-5ta25FCb.js +1 -0
- package/dist/assets/FoldCurtain-DUAOdtCt.js +1 -0
- package/dist/assets/FolderControls-B7TWghGc.js +1 -0
- package/dist/assets/GatewayDetail-xNVOxSIs.js +2 -0
- package/dist/assets/GatewaysList-DsSKLm1h.js +1 -0
- package/dist/assets/GoalDetail-oN5pyUUY.js +1 -0
- package/dist/assets/GoalTree-DaFizciF.js +1 -0
- package/dist/assets/Goals-xgGKfQZi.js +1 -0
- package/dist/assets/Identity-Cv_2a9qJ.js +1 -0
- package/dist/assets/ImageGalleryModal-CjHED0Lb.js +1 -0
- package/dist/assets/Inbox-wHhHozfr.js +2 -0
- package/dist/assets/InlineBanner-VQ5mstsR.js +1 -0
- package/dist/assets/InlineEditor-BKBqNA21.js +1 -0
- package/dist/assets/InlineEntitySelector-v2Q4C8oT.js +1 -0
- package/dist/assets/InstanceAccess-Ns2rAmva.js +1 -0
- package/dist/assets/InstanceAdvanced-Bdf2a4c_.js +1 -0
- package/dist/assets/InstanceFeatures-DUQnBkxy.js +1 -0
- package/dist/assets/InviteLanding-McBYpNeW.js +1 -0
- package/dist/assets/IssueChatLongThreadPerf-DD3RLbBo.js +2 -0
- package/dist/assets/IssueChatThread-BN-_8hT8.js +40 -0
- package/dist/assets/IssueDetail-CsaD311l.js +9 -0
- package/dist/assets/IssueDocumentAnnotations-BVdH4RTa.js +2 -0
- package/dist/assets/IssueOutputSection-CDIMRaF0.js +1 -0
- package/dist/assets/IssueRecoveryActionCard-C9qJAHes.js +1 -0
- package/dist/assets/IssueReferenceActivitySummary-CbpSjmdV.js +1 -0
- package/dist/assets/IssueReferencePill-DAEplgLd.js +1 -0
- package/dist/assets/IssueThreadInteractionCard-BbigJB2U.js +9 -0
- package/dist/assets/IssueWriteDenialNotice-BCJ74Czu.js +1 -0
- package/dist/assets/Issues-BWoc80Y9.js +3 -0
- package/dist/assets/JoinRequestQueue-ZZq3jWW-.js +1 -0
- package/dist/assets/JsonSchemaForm-ixDd6e-N.js +1 -0
- package/dist/assets/LiveNowTodoLine-B9oTH2L0.js +1 -0
- package/dist/assets/ManagedAiConnectionDetails-B0aWUPkf.js +1 -0
- package/dist/assets/MarkdownBody-BTjuUgFa.js +16 -0
- package/dist/assets/MarkdownEditor-DXD-Cu3u.js +85 -0
- package/dist/assets/McpConnect-Dzf7W2K6.js +1 -0
- package/dist/assets/MembershipAction-oiLtxQm3.js +1 -0
- package/dist/assets/MetricCard-DaAh5x_N.js +1 -0
- package/dist/assets/MissingPluginTabPlaceholder-DT47WyQq.js +1 -0
- package/dist/assets/ModelsAndProviders-BEb4Z38S.js +1 -0
- package/dist/assets/MootMark-DZAfkwdv.js +1 -0
- package/dist/assets/NewAgent-C3MxIRJj.js +1 -0
- package/dist/assets/OmpAllSettings-DBtL1qDL.js +1 -0
- package/dist/assets/OpenwaGatewayManager-DH3bF7fa.js +2 -0
- package/dist/assets/PathInstructionsModal-D4GUYKIT.js +1 -0
- package/dist/assets/PipelineSettings-BcAtsehE.js +2 -0
- package/dist/assets/Pipelines-CkiYUQS-.js +1 -0
- package/dist/assets/PixelsOffice-BSlctoug.js +2 -0
- package/dist/assets/PluginManager-4rrrAOLG.js +1 -0
- package/dist/assets/PluginPage-C6Qnf9ka.js +1 -0
- package/dist/assets/PluginSettings-Do37r6Zu.js +1 -0
- package/dist/assets/ProfileDetailRoute-DRFQNId6.js +1 -0
- package/dist/assets/ProfileSettings-BMwLBQDB.js +1 -0
- package/dist/assets/ProfileWizardRoute-XnnvzH9S.js +1 -0
- package/dist/assets/ProjectDetail-BW6Lr4Iq.js +1 -0
- package/dist/assets/ProjectWorkspaceDetail-DR4JCa1b.js +29 -0
- package/dist/assets/ProjectWorkspacesContent-CadPZn0k.js +1 -0
- package/dist/assets/Projects-DLBFbxcj.js +1 -0
- package/dist/assets/PublicIssueSharePage-C9yRZOdP.js +1 -0
- package/dist/assets/QuestionForm-B8-PWz3B.js +7 -0
- package/dist/assets/QuotaBar-_ok6Pek4.js +1 -0
- package/dist/assets/RepositoryEditor-CFt-HPgf.js +1 -0
- package/dist/assets/ResponsibleUserDenialNotice-DKNk1-BK.js +1 -0
- package/dist/assets/ResponsibleUserDenialUxLab-Bt9vnHJz.js +1 -0
- package/dist/assets/ReviewQueueCard-CIkiY-Lm.js +1 -0
- package/dist/assets/RichWorkProductCard-JGHGU_RI.js +1 -0
- package/dist/assets/RoutineActivityRow-B69N6Hcy.js +1 -0
- package/dist/assets/RoutineDetail-izWzADvA.js +2 -0
- package/dist/assets/RoutineRunVariablesDialog-DiT_o5Dm.js +1 -0
- package/dist/assets/RoutineVariablesEditor-0dQ10yPY.js +1 -0
- package/dist/assets/Routines-CHtabiYj.js +1 -0
- package/dist/assets/ScrollToBottom-pyHLjOjY.js +1 -0
- package/dist/assets/Search-yNNB6kys.js +1 -0
- package/dist/assets/SearchableSelect-CIJ5K8ih.js +1 -0
- package/dist/assets/Secrets-BOyOk5BF.js +4 -0
- package/dist/assets/SetupWizard-C8qzkJn1.js +1 -0
- package/dist/assets/SidebarContext-CF3RWLxh.js +1 -0
- package/dist/assets/SidebarNavItem-DV9nmC7O.js +1 -0
- package/dist/assets/SkillBinaryFile-DNe-MmCv.js +1 -0
- package/dist/assets/SkillCardIcon-BTCafp8l.js +2 -0
- package/dist/assets/SkillSourceTree-M58QwBFF.js +2 -0
- package/dist/assets/SkillSources-Cw4PU-Bz.js +2 -0
- package/dist/assets/SkillStudio-Cj_M3ZJa.js +9 -0
- package/dist/assets/SourceTrustBadge-BZBQe5No.js +1 -0
- package/dist/assets/StatusCards-DaJdQUN5.js +1 -0
- package/dist/assets/StatusIcon-0GcYXDdN.js +1 -0
- package/dist/assets/SummarySlotCard-DlSmN6PL.js +1 -0
- package/dist/assets/TaskChatComposerTakeoverContext-BJAHPHve.js +1 -0
- package/dist/assets/TaskChatLab-CU5eA7nX.js +11 -0
- package/dist/assets/TaskChatMarker-wBVUFL3u.js +2 -0
- package/dist/assets/TaskChatProtocolCard-D-Dwy2EL.js +1 -0
- package/dist/assets/TaskChatThreadView-Crlf9I05.js +4 -0
- package/dist/assets/TaskDetailRelationsPanel-CkktN1EC.js +1 -0
- package/dist/assets/TaskTreeControls-B_ulMOi1.js +3 -0
- package/dist/assets/Terminal-Bo-WuezO.js +1 -0
- package/dist/assets/TerminalView-AkFY5bLC.js +58 -0
- package/dist/assets/ThemeContext-DYRUK81c.js +1 -0
- package/dist/assets/ThemeToggle-BWFlFnSX.js +1 -0
- package/dist/assets/ToastContext-DMdt9oTd.js +1 -0
- package/dist/assets/ToolsAdminGate-BI5-WYC3.js +1 -0
- package/dist/assets/TrustPresetSection-DTc1Rj4q.js +1 -0
- package/dist/assets/UserProfile-C6q55R0Q.js +1 -0
- package/dist/assets/WebhookUrlWarning-D0GLAS0A.js +1 -0
- package/dist/assets/WhatNeedsMe-1igJA4gL.js +1 -0
- package/dist/assets/WorkspaceRuntimeControls-T4YUoZvK.js +1 -0
- package/dist/assets/Workspaces-rtQKliW0.js +1 -0
- package/dist/assets/access-GAosX22P.js +1 -0
- package/dist/assets/activity-BVYJmFzR.js +1 -0
- package/dist/assets/activity-CB9AQzZO.js +1 -0
- package/dist/assets/activity-format-zP89NM00.js +1 -0
- package/dist/assets/adapter-display-registry-Bk0KWAHT.js +1 -0
- package/dist/assets/adapters-Dp0USyWg.js +1 -0
- package/dist/assets/agent-avatar-url-C-slYk2A.js +1 -0
- package/dist/assets/agent-config-primitives-BsZUnbf2.js +1 -0
- package/dist/assets/agentChats-CjHr739f.js +1 -0
- package/dist/assets/agents-DmlgUVso.js +1 -0
- package/dist/assets/alert-dialog-Blls2GnU.js +1 -0
- package/dist/assets/app-connect-policy-CUzbEnhU.js +1 -0
- package/dist/assets/archive-CTfe4zq5.js +1 -0
- package/dist/assets/archive-restore-DeLPtKS0.js +1 -0
- package/dist/assets/arrow-down-Dg4PKbmt.js +1 -0
- package/dist/assets/arrow-down-left-C8jhGqM0.js +1 -0
- package/dist/assets/arrow-left-Ce_LIut0.js +1 -0
- package/dist/assets/arrow-right-BL5kYtCZ.js +1 -0
- package/dist/assets/arrow-up-D_YoSnQD.js +1 -0
- package/dist/assets/arrow-up-down-Bpe9xqCo.js +1 -0
- package/dist/assets/arrow-up-right-BLYWl-we.js +1 -0
- package/dist/assets/artifacts-9HWeqVeB.js +1 -0
- package/dist/assets/assets-TRDkBfss.js +1 -0
- package/dist/assets/attachment-icon-4xDiQblX.js +1 -0
- package/dist/assets/avatar-UO226cef.js +1 -0
- package/dist/assets/badge-DuA2EgZC.js +1 -0
- package/dist/assets/badge-check-Bd7IYIB2.js +1 -0
- package/dist/assets/bot-C9arfJWx.js +1 -0
- package/dist/assets/boxes-fV98p9-r.js +1 -0
- package/dist/assets/braces-BEVhwPeU.js +1 -0
- package/dist/assets/browser-use-D2HTf8rD.js +1 -0
- package/dist/assets/budgets-DvML2uxG.js +1 -0
- package/dist/assets/button-CMwV3L1P.js +1 -0
- package/dist/assets/calendar-clock-BVFltraz.js +1 -0
- package/dist/assets/card-Bru3x_SJ.js +1 -0
- package/dist/assets/cases-m9RZ5Cym.js +1 -0
- package/dist/assets/chatEndpoints-BKsIHowE.js +1 -0
- package/dist/assets/check-Ctsrlfa-.js +1 -0
- package/dist/assets/checkbox-BHQhs41k.js +1 -0
- package/dist/assets/chevron-down-BCvxsWfI.js +1 -0
- package/dist/assets/chevron-left-DP4zwC0G.js +1 -0
- package/dist/assets/chevron-right-s7L6hXXq.js +1 -0
- package/dist/assets/chevron-up-rFDQGA-7.js +1 -0
- package/dist/assets/chip-DsDe6yck.js +1 -0
- package/dist/assets/circle-IAHLDvLO.js +1 -0
- package/dist/assets/circle-alert-C-L4OsHh.js +1 -0
- package/dist/assets/circle-dot-zr8GONq2.js +1 -0
- package/dist/assets/circle-question-mark-B1jR2is9.js +1 -0
- package/dist/assets/circle-slash-Bx5HrFMb.js +1 -0
- package/dist/assets/circle-x-CFlSbYzD.js +1 -0
- package/dist/assets/clipboard-paste-D9rNPVFj.js +1 -0
- package/dist/assets/clock-CzrJT_cP.js +1 -0
- package/dist/assets/cloud-BktKFMPI.js +1 -0
- package/dist/assets/code-xml-BWc3OvMt.js +1 -0
- package/dist/assets/coins-C6QoCoLN.js +1 -0
- package/dist/assets/collapsible-CqjPlqOa.js +1 -0
- package/dist/assets/columns-3-CqC5nP-p.js +1 -0
- package/dist/assets/command-Ca3v36Mu.js +5 -0
- package/dist/assets/companies-query-D9PxIiMT.js +1 -0
- package/dist/assets/connection-identity-YKZfppDS.js +1 -0
- package/dist/assets/connection-owner-CZwxTEuM.js +1 -0
- package/dist/assets/copy-_wvZOjTe.js +1 -0
- package/dist/assets/createLucideIcon-DJi9suAC.js +94 -0
- package/dist/assets/decision-models-CD2AFC2a.js +1 -0
- package/dist/assets/dialog-CKUblzlR.js +1 -0
- package/dist/assets/dist-BNOqBr2U.js +1 -0
- package/dist/assets/dist-Bm2igrAN.js +1 -0
- package/dist/assets/dist-BuHnL0GV.js +1 -0
- package/dist/assets/dist-CClcSLHe.js +1 -0
- package/dist/assets/dist-CtvMIwRC.js +1 -0
- package/dist/assets/dist-CvHBQVAC.js +1 -0
- package/dist/assets/dist-DC4EOH0g.js +1 -0
- package/dist/assets/dist-DMg_vOQs.js +1 -0
- package/dist/assets/dist-DOIzg2vq.js +1 -0
- package/dist/assets/dist-DTFX_1D6.js +1 -0
- package/dist/assets/dist-DcOFbG-W.js +1 -0
- package/dist/assets/dist-SzpVz8Pd.js +1 -0
- package/dist/assets/dropdown-menu-CqRAF7Oj.js +1 -0
- package/dist/assets/ellipsis-BTiLRUn4.js +1 -0
- package/dist/assets/ellipsis-vertical-DWXPf6Ow.js +1 -0
- package/dist/assets/email-BNu4jmOH.js +1 -0
- package/dist/assets/environment-variables-editor-CCxeFKKk.js +1 -0
- package/dist/assets/environments-BLQs1ScE.js +1 -0
- package/dist/assets/es2015-C3hhXnTu.js +41 -0
- package/dist/assets/external-link-nl1b263c.js +1 -0
- package/dist/assets/eye-DRS7RbEp.js +1 -0
- package/dist/assets/eye-off-CVVA-EWh.js +1 -0
- package/dist/assets/fast-responses-DZodQpLv.js +1 -0
- package/dist/assets/file-N19tC0jj.js +1 -0
- package/dist/assets/file-code-corner-CmZ_RihF.js +1 -0
- package/dist/assets/file-pen-line-DX6PZQXR.js +1 -0
- package/dist/assets/file-question-mark-CTomlKBX.js +1 -0
- package/dist/assets/file-search-DZpRLS-j.js +1 -0
- package/dist/assets/file-text-Cw7ntqRx.js +1 -0
- package/dist/assets/flag-R0AVTKGk.js +1 -0
- package/dist/assets/flask-conical-CEYKkO5k.js +1 -0
- package/dist/assets/folder-git-2-D2Hz-CeQ.js +1 -0
- package/dist/assets/folder-open-8WDYv4mw.js +1 -0
- package/dist/assets/folder-search-D0WkVTZt.js +1 -0
- package/dist/assets/funnel-DWwD2WCu.js +1 -0
- package/dist/assets/git-pull-request-CdCSG7CL.js +1 -0
- package/dist/assets/github-icon-Bbgf67tg.js +1 -0
- package/dist/assets/health-DF7yrggW.js +1 -0
- package/dist/assets/heartbeats-DOyojsaN.js +1 -0
- package/dist/assets/inbox-C08arfF_.js +1 -0
- package/dist/assets/inboxArchiveCache-D8QGdg49.js +1 -0
- package/dist/assets/index-DDoARkPG.js +67 -0
- package/dist/assets/info-DXpx_HA2.js +1 -0
- package/dist/assets/input-DobnTAyB.js +1 -0
- package/dist/assets/instanceSettings-D8g_QlS-.js +1 -0
- package/dist/assets/interaction-audience-BRS_4X7S.js +1 -0
- package/dist/assets/interaction-card-visibility-DcyO470L.js +1 -0
- package/dist/assets/issue-blockers-DLfa24KC.js +1 -0
- package/dist/assets/issue-output-CU3gasZ1.js +1 -0
- package/dist/assets/issue-properties-lmRBaUTG.js +4 -0
- package/dist/assets/issue-share-j9E_vLuf.js +1 -0
- package/dist/assets/issue-workspace-selection-4JI2Uh9p.js +1 -0
- package/dist/assets/key-round-0RqEOB_C.js +1 -0
- package/dist/assets/label-BPz3pg9_.js +1 -0
- package/dist/assets/layout-dashboard-DClZjSaR.js +1 -0
- package/dist/assets/link-2-CND-9QZ2.js +1 -0
- package/dist/assets/link-BITB8yRp.js +1 -0
- package/dist/assets/list-filter-h7_mdWEH.js +1 -0
- package/dist/assets/list-todo-BmObdeVq.js +1 -0
- package/dist/assets/log-in-nSyhNjrD.js +1 -0
- package/dist/assets/maximize-2-DgliXYEr.js +1 -0
- package/dist/assets/mention-chips-D8856Q0_.js +17 -0
- package/dist/assets/message-square-plus-yRlSBxPl.js +1 -0
- package/dist/assets/minus-WOgDAWiC.js +1 -0
- package/dist/assets/model-fallback-X_YvC3rj.js +1 -0
- package/dist/assets/model-picker-fields-235ien8Z.js +1 -0
- package/dist/assets/network-RCsafDTP.js +1 -0
- package/dist/assets/octagon-alert-CeNhknXC.js +1 -0
- package/dist/assets/octagon-x-CBcXy1zJ.js +1 -0
- package/dist/assets/omp-settings-model-uqWvMNr2.js +1 -0
- package/dist/assets/package-CYC5MDhY.js +1 -0
- package/dist/assets/pause-CJSwJvLv.js +1 -0
- package/dist/assets/pen-line-CxWwoiP_.js +1 -0
- package/dist/assets/pipeline-stage-presentation-BSuBql6K.js +2 -0
- package/dist/assets/pipelines-vN196fc4.js +1 -0
- package/dist/assets/play-CJNuUj69.js +1 -0
- package/dist/assets/plug-VjpaJcMq.js +1 -0
- package/dist/assets/plugins-CF2QITJB.js +1 -0
- package/dist/assets/plus-C6fnr28l.js +1 -0
- package/dist/assets/popover-BhYHYj7q.js +1 -0
- package/dist/assets/power-B3xsPeS4.js +1 -0
- package/dist/assets/presentation-mode-Bk6TnKr9.js +1 -0
- package/dist/assets/profile-summary-unutni_7.js +1 -0
- package/dist/assets/projects-mixWrT5q.js +1 -0
- package/dist/assets/proposal-review-kucrRJgS.js +1 -0
- package/dist/assets/queryClient-BOli2vjj.js +1 -0
- package/dist/assets/queryKeys-DYV5MhM_.js +1 -0
- package/dist/assets/radio-DnDOdgWd.js +1 -0
- package/dist/assets/radio-card-DVZaXlw0.js +1 -0
- package/dist/assets/recent-agent-chats-DIU_z_qg.js +1 -0
- package/dist/assets/refresh-cw-B_Oki9wZ.js +1 -0
- package/dist/assets/repeat-DGPKlc5I.js +1 -0
- package/dist/assets/resizable-panels-Qjbo0P05.js +1 -0
- package/dist/assets/review-policy-BL48kYvb.js +1 -0
- package/dist/assets/rotate-ccw-CQEJ4ewP.js +1 -0
- package/dist/assets/rotate-cw-DnCrcS38.js +1 -0
- package/dist/assets/router-2UfGeejU.js +1 -0
- package/dist/assets/routines-KPtwxuS7.js +1 -0
- package/dist/assets/runRetryState-BdjK4QQj.js +1 -0
- package/dist/assets/save-CJ1Iqyew.js +1 -0
- package/dist/assets/schema-config-fields-DggSrP5S.js +1 -0
- package/dist/assets/scroll-area-P1KpIQWe.js +1 -0
- package/dist/assets/scroll-text-BpkOrME3.js +1 -0
- package/dist/assets/search-04O7m-IF.js +1 -0
- package/dist/assets/secrets-CZifgF0J.js +1 -0
- package/dist/assets/select-V0Hm_q4f.js +1 -0
- package/dist/assets/send-mNwfi_F1.js +1 -0
- package/dist/assets/separator-B2LFqBpM.js +1 -0
- package/dist/assets/server-DIhG4RDC.js +1 -0
- package/dist/assets/server-cog-DV4ua9lY.js +1 -0
- package/dist/assets/settings-DuZndeX2.js +1 -0
- package/dist/assets/shared-DDwmHbeD.js +1 -0
- package/dist/assets/sheet-jd7y5x4-.js +1 -0
- package/dist/assets/shield-BhaVQdWV.js +1 -0
- package/dist/assets/shield-alert-Be9GuMrS.js +1 -0
- package/dist/assets/shield-check-B0HVjzM_.js +1 -0
- package/dist/assets/shield-question-mark-D1_en6pn.js +1 -0
- package/dist/assets/shield-x-D-Ice3nf.js +1 -0
- package/dist/assets/sidebarPreferences-vEHBC54I.js +1 -0
- package/dist/assets/skeleton-Bv_lQagE.js +1 -0
- package/dist/assets/slots-Dw517dxP.js +49 -0
- package/dist/assets/smoke-lab-matrix-0BhnGQeo.js +1 -0
- package/dist/assets/square-B2aH51tE.js +1 -0
- package/dist/assets/star-BZgQbzhV.js +15 -0
- package/dist/assets/sun-_NIddwh7.js +1 -0
- package/dist/assets/system-notice-comment-CL_SWj_f.js +1 -0
- package/dist/assets/tabs-B2Os_leL.js +1 -0
- package/dist/assets/task-chat-attachments-jZNCAKd4.js +10 -0
- package/dist/assets/terminal-C0CKe_Zz.js +1 -0
- package/dist/assets/textarea-BRPEfJ-g.js +1 -0
- package/dist/assets/thumbs-down-C2BkjZOy.js +1 -0
- package/dist/assets/thumbs-up-OW2IsTL7.js +1 -0
- package/dist/assets/toggle-switch-BHxNtSq9.js +1 -0
- package/dist/assets/tool-taxonomy-DR7Q8sVs.js +1 -0
- package/dist/assets/tools-B-L_sU_9.js +1 -0
- package/dist/assets/tooltip-B5WQ3lq5.js +1 -0
- package/dist/assets/transcript-adapter-wiFIjKfq.js +5 -0
- package/dist/assets/trash-D7zTaHTj.js +1 -0
- package/dist/assets/triangle-alert-CBVKiaXB.js +1 -0
- package/dist/assets/use-adapter-capabilities-Bu8XkVZ9.js +1 -0
- package/dist/assets/use-copy-action-D5dEzo6L.js +1 -0
- package/dist/assets/useAgentChatEnabled-Chi_JXJj.js +1 -0
- package/dist/assets/useAutosaveIndicator-DttGFwx7.js +1 -0
- package/dist/assets/useHiddenSettings-CcaZfHLD.js +1 -0
- package/dist/assets/useInfiniteQuery-B28xptxn.js +1 -0
- package/dist/assets/useInstanceFeatureSettings-CEK6Xn3o.js +1 -0
- package/dist/assets/useManagedSandboxOnly-CO01cDK4.js +1 -0
- package/dist/assets/useMobileEntityPickerViewportStyle-C3R37KtS.js +1 -0
- package/dist/assets/usePrefersReducedMotion-Dw81-akd.js +1 -0
- package/dist/assets/useProfilesData-2L3_71Ql.js +1 -0
- package/dist/assets/useQueries-BIJ7zVTy.js +1 -0
- package/dist/assets/useSecondTick-Gige2l0t.js +1 -0
- package/dist/assets/useSharedPolling-D4Xn8mY2.js +1 -0
- package/dist/assets/useSummaryDraftStream-CWOQt25o.js +3 -0
- package/dist/assets/user-Ccom_Ph0.js +1 -0
- package/dist/assets/user-check-BoBa1Xs_.js +1 -0
- package/dist/assets/user-minus-B4F-9ccK.js +1 -0
- package/dist/assets/user-round-CGxsJ0K8.js +1 -0
- package/dist/assets/user-x-CRO9YVVi.js +1 -0
- package/dist/assets/users-DyKzwIh4.js +1 -0
- package/dist/assets/wand-sparkles-BqnbLKl3.js +1 -0
- package/dist/assets/webhook-BVBCKjlU.js +1 -0
- package/dist/assets/x-DRDFdlYE.js +1 -0
- package/dist/index.html +188 -188
- package/dist/sw.js +1 -1
- package/package.json +1 -1
- package/dist/assets/AccessSelectIdentity-F-2a6ecS.js +0 -1
- package/dist/assets/ActiveAgentsPanel-fPDwbNXe.js +0 -1
- package/dist/assets/AdapterManager-Cy72qmLl.js +0 -1
- package/dist/assets/AdvancedToolsRoute-Dea4M5XG.js +0 -39
- package/dist/assets/AgentActionButtons-TU3K865m.js +0 -1
- package/dist/assets/AgentAvatar-U9UbHZ2I.js +0 -1
- package/dist/assets/AgentBubbleActionRow-BgJXUcNP.js +0 -1
- package/dist/assets/AgentCharacter-CdZutGwJ.js +0 -2
- package/dist/assets/AgentChat-DY8t6jev.js +0 -1
- package/dist/assets/AgentChats-CgTNSgGW.js +0 -1
- package/dist/assets/AgentDefaults-B-jLf0OE.js +0 -1
- package/dist/assets/AgentDetail-C69A3j_f.js +0 -38
- package/dist/assets/AgentIconPicker-DOHQ2j-5.js +0 -1
- package/dist/assets/AgentIdentity-88zCb3Go.js +0 -1
- package/dist/assets/AgentMailCredentialField-BVybfhaF.js +0 -1
- package/dist/assets/AgentMultiSelect-DNCWXCnt.js +0 -1
- package/dist/assets/AgentRoleEditor-Day_Xajj.js +0 -1
- package/dist/assets/AgentSetupPrompt-DDYX89-9.js +0 -30
- package/dist/assets/AgentTodoCard-CfAun_uT.js +0 -1
- package/dist/assets/Agents-VdVlPzrq.js +0 -3
- package/dist/assets/AppDetail-BrUELV4l.js +0 -5
- package/dist/assets/AppLogo-BHz1JwFg.js +0 -1
- package/dist/assets/AppNotConnected-CjOPZ48p.js +0 -1
- package/dist/assets/ApprovalCard-ZnAF8kCp.js +0 -1
- package/dist/assets/ApprovalDetail-DPj_0Fkw.js +0 -1
- package/dist/assets/ApprovalPayload-jOfmARC1.js +0 -1
- package/dist/assets/Approvals-DwPcMIwc.js +0 -1
- package/dist/assets/AppsConnect-CZ1lSH2v.js +0 -1
- package/dist/assets/AppsReview-BkXh21w4.js +0 -1
- package/dist/assets/ArtifactCard-DMOLBDhg.js +0 -1
- package/dist/assets/Artifacts-1dMu5Khy.js +0 -1
- package/dist/assets/AssistantConnection-7YkxQoSX.js +0 -1
- package/dist/assets/AttentionInteractionResolver-CWNTB5PG.js +0 -1
- package/dist/assets/AuditHub-CduZGUr8.js +0 -1
- package/dist/assets/Auth-BvXFSqt1.js +0 -3
- package/dist/assets/BoardChat-Cx1qWaPf.js +0 -18
- package/dist/assets/BoardClaim-DSGJlQ5x.js +0 -1
- package/dist/assets/BootstrapSetupUxLab-Ddrh81el.js +0 -1
- package/dist/assets/BreadcrumbContext-DRZhs-5i.js +0 -1
- package/dist/assets/Browse-CWSUY8Ym.js +0 -1
- package/dist/assets/BudgetPolicyCard-D-xGhM9e.js +0 -1
- package/dist/assets/CaseDetail-BlQP0bNO.js +0 -2
- package/dist/assets/CaseIdentifierKey-DoadL0-N.js +0 -1
- package/dist/assets/Cases-CJMhZCTb.js +0 -2
- package/dist/assets/ChatEndpointDetail-DwkMt8Wq.js +0 -5
- package/dist/assets/ChatEndpointSetup-C-Nm12S8.js +0 -1
- package/dist/assets/ChatIdentityConfirm-W-48mshE.js +0 -1
- package/dist/assets/ChoiceControls-D1i7GepN.js +0 -1
- package/dist/assets/CliAuth-C6qylJ0n.js +0 -1
- package/dist/assets/CommentAttributionChip-BgxQOzqr.js +0 -1
- package/dist/assets/Companies-CPzB9-xt.js +0 -1
- package/dist/assets/CompanyAccess-CMc_gWhQ.js +0 -1
- package/dist/assets/CompanyActivity-Cj_EUdBm.js +0 -1
- package/dist/assets/CompanyConnections-BCBCavN8.js +0 -1
- package/dist/assets/CompanyContext-CPlpA2lb.js +0 -1
- package/dist/assets/CompanyEnvironments-NF7NDS0o.js +0 -3
- package/dist/assets/CompanyExport-BuRYJE3L.js +0 -4
- package/dist/assets/CompanyImport-BBIXQMUw.js +0 -1
- package/dist/assets/CompanySettings-OFHr6IRG.js +0 -1
- package/dist/assets/CompanySettingsPluginPage-CCZEpq82.js +0 -1
- package/dist/assets/CompanySkills-CSY9bF2z.js +0 -10
- package/dist/assets/ComposerAddMenu-DvacZ4GQ.js +0 -3
- package/dist/assets/ConfigureBuiltInAgentModal-BrM5oO3Y.js +0 -1
- package/dist/assets/ConnectionSetupFlow-CXPACouF.js +0 -40
- package/dist/assets/CopyText-D_Zgivv6.js +0 -1
- package/dist/assets/CopyableGatewayUrl-D5vz4PC5.js +0 -1
- package/dist/assets/CrossIssueCollaborationUxLab-BCnuyG3D.js +0 -1
- package/dist/assets/Dashboard-C0zfFWOE.js +0 -2
- package/dist/assets/DashboardLive-QIC_XaBZ.js +0 -1
- package/dist/assets/DecisionDateChips-LW_i7O1w.js +0 -1
- package/dist/assets/DecisionModelSettings-B-0DKQnv.js +0 -1
- package/dist/assets/DecisionQueuePage-CMjEZipC.js +0 -1
- package/dist/assets/DesignGuide-D_mymPmJ.js +0 -23
- package/dist/assets/DocumentFrameHeader-CwSlVbS_.js +0 -1
- package/dist/assets/EmailConnectionAccess-CHOe1NbR.js +0 -1
- package/dist/assets/EmailEndpointSetup-D53SnoCl.js +0 -1
- package/dist/assets/EnforcementBanner-Afwo2-lQ.js +0 -1
- package/dist/assets/EntityRow-Cnr0342e.js +0 -1
- package/dist/assets/ExecutionWorkspaceDetail-_2PziEsW.js +0 -19
- package/dist/assets/FilterBar-CZKam-LD.js +0 -1
- package/dist/assets/FoldCurtain-bbm-UBWP.js +0 -1
- package/dist/assets/FolderControls-Dg6pcOhR.js +0 -1
- package/dist/assets/GatewayDetail-KQfj7nv0.js +0 -2
- package/dist/assets/GatewaysList-QFrL2biI.js +0 -1
- package/dist/assets/GoalDetail-BTaMMKjs.js +0 -1
- package/dist/assets/GoalTree-BQNAEW30.js +0 -1
- package/dist/assets/Goals-Lb6_wdxB.js +0 -1
- package/dist/assets/Identity-8QZumPfI.js +0 -1
- package/dist/assets/ImageGalleryModal-DLsKxA2R.js +0 -1
- package/dist/assets/Inbox-BrInYS5S.js +0 -2
- package/dist/assets/InlineBanner-CoJqbItc.js +0 -1
- package/dist/assets/InlineEditor-CA8kcvA_.js +0 -1
- package/dist/assets/InlineEntitySelector-D-qeOeyL.js +0 -1
- package/dist/assets/InstanceAccess-C1e3jqC7.js +0 -1
- package/dist/assets/InstanceAdvanced-CDd3fZ0P.js +0 -1
- package/dist/assets/InstanceFeatures-CYqCDTw8.js +0 -1
- package/dist/assets/InviteLanding-BkL6BOm5.js +0 -1
- package/dist/assets/IssueChatLongThreadPerf-mk4miG24.js +0 -2
- package/dist/assets/IssueChatThread-D2VF_U0u.js +0 -40
- package/dist/assets/IssueDetail-nhRhGyxw.js +0 -9
- package/dist/assets/IssueDocumentAnnotations-CemZBdYS.js +0 -2
- package/dist/assets/IssueOutputSection-DCAtdLYt.js +0 -1
- package/dist/assets/IssueRecoveryActionCard-KN_UxqFa.js +0 -1
- package/dist/assets/IssueReferenceActivitySummary-Dp70EOc2.js +0 -1
- package/dist/assets/IssueReferencePill-BEVp1Js5.js +0 -1
- package/dist/assets/IssueThreadInteractionCard-ChD6Vc9B.js +0 -9
- package/dist/assets/IssueWriteDenialNotice-CRBGsued.js +0 -1
- package/dist/assets/Issues-B8y2ucca.js +0 -3
- package/dist/assets/JoinRequestQueue-C4W-2FBh.js +0 -1
- package/dist/assets/JsonSchemaForm-BEfBha0-.js +0 -1
- package/dist/assets/LiveNowTodoLine-6INiigWn.js +0 -1
- package/dist/assets/ManagedAiConnectionDetails-pjWPNQpl.js +0 -1
- package/dist/assets/MarkdownBody-B_RYK9iU.js +0 -16
- package/dist/assets/MarkdownEditor-CT3CtHAj.js +0 -85
- package/dist/assets/McpConnect-D4Iyr1ff.js +0 -1
- package/dist/assets/MembershipAction-CujgJyD4.js +0 -1
- package/dist/assets/MetricCard-DG2O-prC.js +0 -1
- package/dist/assets/MissingPluginTabPlaceholder-DgohdTaD.js +0 -1
- package/dist/assets/ModelsAndProviders-P7hcMDxR.js +0 -1
- package/dist/assets/MootMark-BtKQGR6r.js +0 -1
- package/dist/assets/NewAgent-BpFB_Fmh.js +0 -1
- package/dist/assets/OmpAllSettings-RJ-rlnXL.js +0 -1
- package/dist/assets/OpenwaGatewayManager-bhI49yii.js +0 -2
- package/dist/assets/PathInstructionsModal-BUCL02kU.js +0 -1
- package/dist/assets/PipelineSettings-Bf74pEoa.js +0 -2
- package/dist/assets/Pipelines-C9YVDX3a.js +0 -1
- package/dist/assets/PixelsOffice-a6NwZFpn.js +0 -2
- package/dist/assets/PluginManager-BlATaJtd.js +0 -1
- package/dist/assets/PluginPage-CX1Bsbez.js +0 -1
- package/dist/assets/PluginSettings-BB1ML576.js +0 -1
- package/dist/assets/ProfileDetailRoute-DpklWMHU.js +0 -1
- package/dist/assets/ProfileSettings-BefN3hG3.js +0 -1
- package/dist/assets/ProfileWizardRoute-DAiCxAXs.js +0 -1
- package/dist/assets/ProjectDetail-CNoJA4R7.js +0 -1
- package/dist/assets/ProjectWorkspaceDetail-Bmqa3L7z.js +0 -29
- package/dist/assets/ProjectWorkspacesContent-tXfXERlK.js +0 -1
- package/dist/assets/Projects-DgXUf7fs.js +0 -1
- package/dist/assets/PublicIssueSharePage-DeUCrjCO.js +0 -1
- package/dist/assets/QuestionForm-CaOUlqsp.js +0 -7
- package/dist/assets/QuotaBar-BSZ05HlD.js +0 -1
- package/dist/assets/RepositoryEditor-B4F3WCYM.js +0 -1
- package/dist/assets/ResponsibleUserDenialNotice-B3ogb0RX.js +0 -1
- package/dist/assets/ResponsibleUserDenialUxLab-R05mXHUA.js +0 -1
- package/dist/assets/ReviewQueueCard-PSx8OKVe.js +0 -1
- package/dist/assets/RichWorkProductCard-C5d3O8x2.js +0 -1
- package/dist/assets/RoutineActivityRow-DJPqSghi.js +0 -1
- package/dist/assets/RoutineDetail-CW38wUMn.js +0 -2
- package/dist/assets/RoutineRunVariablesDialog-Bwx3NcZP.js +0 -1
- package/dist/assets/RoutineVariablesEditor-BlIqaHD7.js +0 -1
- package/dist/assets/Routines-BtgI64OC.js +0 -1
- package/dist/assets/ScrollToBottom-DXR8Kf8r.js +0 -1
- package/dist/assets/Search-qvbr2i0v.js +0 -1
- package/dist/assets/SearchableSelect-DAxMwf7p.js +0 -1
- package/dist/assets/Secrets-DsNbH2aU.js +0 -4
- package/dist/assets/SetupWizard-CyX1SOfj.js +0 -1
- package/dist/assets/SidebarContext-DM8yeAqZ.js +0 -1
- package/dist/assets/SidebarNavItem-CJfTKpVR.js +0 -1
- package/dist/assets/SkillBinaryFile-ChklNbjJ.js +0 -1
- package/dist/assets/SkillCardIcon-CBiYctTu.js +0 -2
- package/dist/assets/SkillSourceTree-B658V6hQ.js +0 -2
- package/dist/assets/SkillSources-CSPpd3N5.js +0 -2
- package/dist/assets/SkillStudio-D4VqFe2L.js +0 -9
- package/dist/assets/SourceTrustBadge-DPHntkgj.js +0 -1
- package/dist/assets/StatusCards-C8MwOQwi.js +0 -1
- package/dist/assets/StatusIcon-CsDhn7kH.js +0 -1
- package/dist/assets/SummarySlotCard-BmhW7fBt.js +0 -1
- package/dist/assets/TaskChatComposerTakeoverContext-BM0nPI_N.js +0 -1
- package/dist/assets/TaskChatLab-CIKyw9HK.js +0 -11
- package/dist/assets/TaskChatMarker-Vs1DipiY.js +0 -2
- package/dist/assets/TaskChatProtocolCard-Cha-CaFw.js +0 -1
- package/dist/assets/TaskChatThreadView-BwnkoMCu.js +0 -4
- package/dist/assets/TaskDetailRelationsPanel-BQYB-r_n.js +0 -1
- package/dist/assets/TaskTreeControls-DPQW-7CE.js +0 -3
- package/dist/assets/Terminal-BKrgCKkV.js +0 -1
- package/dist/assets/TerminalView-Cp_JlT5m.js +0 -58
- package/dist/assets/ThemeContext-DkIKyApz.js +0 -1
- package/dist/assets/ThemeToggle-B5pGLVBk.js +0 -1
- package/dist/assets/ToastContext-pc_NSDO8.js +0 -1
- package/dist/assets/ToolsAdminGate-DvKJJkYK.js +0 -1
- package/dist/assets/TrustPresetSection-DfqMdmaU.js +0 -1
- package/dist/assets/UserProfile-C3LmtKXG.js +0 -1
- package/dist/assets/WebhookUrlWarning-D5QqIOm5.js +0 -1
- package/dist/assets/WhatNeedsMe-DlqmV2_9.js +0 -1
- package/dist/assets/WorkspaceRuntimeControls-DrJU_LOR.js +0 -1
- package/dist/assets/Workspaces-B-qktWpk.js +0 -1
- package/dist/assets/access-Bcz_4BVJ.js +0 -1
- package/dist/assets/activity-Bc5YbOoF.js +0 -1
- package/dist/assets/activity-NKpSxizv.js +0 -1
- package/dist/assets/activity-format-DKP90biT.js +0 -1
- package/dist/assets/adapter-display-registry-BkHKgkyV.js +0 -1
- package/dist/assets/adapters-CWe3iLLC.js +0 -1
- package/dist/assets/agent-avatar-url-DudwzgFd.js +0 -1
- package/dist/assets/agent-config-primitives-DjmKcW83.js +0 -1
- package/dist/assets/agentChats-B-qVpG-j.js +0 -1
- package/dist/assets/agents-BusZWz59.js +0 -1
- package/dist/assets/alert-dialog-BQFOD0AR.js +0 -1
- package/dist/assets/app-connect-policy-CT1M7cxG.js +0 -1
- package/dist/assets/archive-BqFccWd4.js +0 -1
- package/dist/assets/archive-restore-BBGn1s-I.js +0 -1
- package/dist/assets/arrow-down-BRkMrP1R.js +0 -1
- package/dist/assets/arrow-down-left-D9BZPYo2.js +0 -1
- package/dist/assets/arrow-left-BVSmSuVw.js +0 -1
- package/dist/assets/arrow-right-DyLbbrYf.js +0 -1
- package/dist/assets/arrow-up-D_ylw6qE.js +0 -1
- package/dist/assets/arrow-up-down-DfMUkSUq.js +0 -1
- package/dist/assets/arrow-up-right-Csy74riS.js +0 -1
- package/dist/assets/artifacts-Bp8NM8Dh.js +0 -1
- package/dist/assets/assets-C3CFw8uT.js +0 -1
- package/dist/assets/attachment-icon-0pZ1MbWy.js +0 -1
- package/dist/assets/avatar-Cnzd7y-e.js +0 -1
- package/dist/assets/badge-D6gWCBB2.js +0 -1
- package/dist/assets/badge-check-7kcDeVo4.js +0 -1
- package/dist/assets/bot-DCth3dbg.js +0 -1
- package/dist/assets/boxes-Rm5Dpfew.js +0 -1
- package/dist/assets/braces-DsHvsWtt.js +0 -1
- package/dist/assets/browser-use-C_xA8ZFx.js +0 -1
- package/dist/assets/budgets-Dlh3sft0.js +0 -1
- package/dist/assets/button-Cjm24aCl.js +0 -1
- package/dist/assets/calendar-clock-BxumFXR5.js +0 -1
- package/dist/assets/card-C0pWNeqJ.js +0 -1
- package/dist/assets/cases-BEgzG8fb.js +0 -1
- package/dist/assets/chatEndpoints-BvFp31Wp.js +0 -1
- package/dist/assets/check-D25gbkia.js +0 -1
- package/dist/assets/checkbox-BtBVaRcF.js +0 -1
- package/dist/assets/chevron-down-DRTtaJaL.js +0 -1
- package/dist/assets/chevron-left-DyWGebtA.js +0 -1
- package/dist/assets/chevron-right-DRPBYcaQ.js +0 -1
- package/dist/assets/chevron-up-C1CThLD8.js +0 -1
- package/dist/assets/chip-DEksAzpZ.js +0 -1
- package/dist/assets/circle-5aGwoChc.js +0 -1
- package/dist/assets/circle-alert-Dr23_HXm.js +0 -1
- package/dist/assets/circle-dot-Cq_grJwm.js +0 -1
- package/dist/assets/circle-question-mark-C61IbV2j.js +0 -1
- package/dist/assets/circle-slash-BCT_vPHg.js +0 -1
- package/dist/assets/circle-x-BgZC9NRa.js +0 -1
- package/dist/assets/clipboard-paste-CD9XARY6.js +0 -1
- package/dist/assets/clock-CzExhPDZ.js +0 -1
- package/dist/assets/cloud-B6Bj5ET-.js +0 -1
- package/dist/assets/code-xml-CZORJ1t6.js +0 -1
- package/dist/assets/coins-Dp99swNO.js +0 -1
- package/dist/assets/collapsible-w0Gm1Duf.js +0 -1
- package/dist/assets/columns-3-Dwg6adEi.js +0 -1
- package/dist/assets/command-DRxd9M5m.js +0 -5
- package/dist/assets/companies-query-C5h0ehWr.js +0 -1
- package/dist/assets/connection-identity-B77zUDMx.js +0 -1
- package/dist/assets/connection-owner-D60xEDD7.js +0 -1
- package/dist/assets/copy-Ck432-6W.js +0 -1
- package/dist/assets/createLucideIcon-DFq0_SD5.js +0 -94
- package/dist/assets/decision-models-DAJNV6Ek.js +0 -1
- package/dist/assets/dialog-B6knjPRK.js +0 -1
- package/dist/assets/dist-2G1d7V9E.js +0 -1
- package/dist/assets/dist-BtpC6E52.js +0 -1
- package/dist/assets/dist-BvVm60ff.js +0 -1
- package/dist/assets/dist-CPW84eg0.js +0 -1
- package/dist/assets/dist-Ci-ZUfuY.js +0 -1
- package/dist/assets/dist-CqQt0BcD.js +0 -1
- package/dist/assets/dist-D2VtrOy3.js +0 -1
- package/dist/assets/dist-DVnvJXCY.js +0 -1
- package/dist/assets/dist-Dr85F8WW.js +0 -1
- package/dist/assets/dist-Dz_zv-7l.js +0 -1
- package/dist/assets/dist-oPspc6b7.js +0 -1
- package/dist/assets/dist-wgLSyHIr.js +0 -1
- package/dist/assets/dropdown-menu-Bv-5gi4Z.js +0 -1
- package/dist/assets/ellipsis-6pUps2JA.js +0 -1
- package/dist/assets/ellipsis-vertical-DtmCS_6d.js +0 -1
- package/dist/assets/email-CQEe4aNP.js +0 -1
- package/dist/assets/environment-variables-editor-BkIHpy42.js +0 -1
- package/dist/assets/environments-Dp21mS4n.js +0 -1
- package/dist/assets/es2015-B8GsGeCN.js +0 -41
- package/dist/assets/external-link-BYT2N-qd.js +0 -1
- package/dist/assets/eye-DePHXY9S.js +0 -1
- package/dist/assets/eye-off-BzaGKr4m.js +0 -1
- package/dist/assets/fast-responses-Cbsfq8Ak.js +0 -1
- package/dist/assets/file-CwO10jsS.js +0 -1
- package/dist/assets/file-code-corner-B1hGvhlD.js +0 -1
- package/dist/assets/file-pen-line-DBwntZqZ.js +0 -1
- package/dist/assets/file-question-mark-ByNkGqZU.js +0 -1
- package/dist/assets/file-search-KdZuJEu_.js +0 -1
- package/dist/assets/file-text-CPjqXxv9.js +0 -1
- package/dist/assets/flag-BWH3doOS.js +0 -1
- package/dist/assets/flask-conical-DmYAU0jU.js +0 -1
- package/dist/assets/folder-git-2-BDX-z73H.js +0 -1
- package/dist/assets/folder-open-DdGngi3h.js +0 -1
- package/dist/assets/folder-search-BnlPfb8E.js +0 -1
- package/dist/assets/funnel-qTFYznMQ.js +0 -1
- package/dist/assets/git-pull-request-Bxg55kum.js +0 -1
- package/dist/assets/github-icon-DzdzHvWa.js +0 -1
- package/dist/assets/health-_oZheFQS.js +0 -1
- package/dist/assets/heartbeats-Dn7f2jm7.js +0 -1
- package/dist/assets/inbox-BYzFop55.js +0 -1
- package/dist/assets/inboxArchiveCache-DadMmOlk.js +0 -1
- package/dist/assets/index-CturclrK.js +0 -67
- package/dist/assets/info-CXAQLLHF.js +0 -1
- package/dist/assets/input-OyH1le9F.js +0 -1
- package/dist/assets/instanceSettings-C68LkOh1.js +0 -1
- package/dist/assets/interaction-audience-DSnAFJS-.js +0 -1
- package/dist/assets/interaction-card-visibility-hAotQiNj.js +0 -1
- package/dist/assets/issue-blockers-BfUep25r.js +0 -1
- package/dist/assets/issue-output-D6f2QAoO.js +0 -1
- package/dist/assets/issue-properties-Bq80d68i.js +0 -4
- package/dist/assets/issue-share-CEVooWcy.js +0 -1
- package/dist/assets/issue-workspace-selection-BjDuxgu4.js +0 -1
- package/dist/assets/key-round-Dz2RdZt-.js +0 -1
- package/dist/assets/label-DkXqkneE.js +0 -1
- package/dist/assets/layout-dashboard-K9mAnWo1.js +0 -1
- package/dist/assets/link-2-CqoCP9d2.js +0 -1
- package/dist/assets/link-BeX_9YF4.js +0 -1
- package/dist/assets/list-filter-BO6nka6p.js +0 -1
- package/dist/assets/list-todo-BRs14Knm.js +0 -1
- package/dist/assets/log-in-CDfTjtDB.js +0 -1
- package/dist/assets/maximize-2-CqdFeZg_.js +0 -1
- package/dist/assets/mention-chips-XGBWyjfr.js +0 -17
- package/dist/assets/message-square-plus-DivlmIBl.js +0 -1
- package/dist/assets/minus-DBeRgFHz.js +0 -1
- package/dist/assets/model-fallback-CARdABIB.js +0 -1
- package/dist/assets/model-picker-fields-DyrF_pml.js +0 -1
- package/dist/assets/network-Dn0XzCEV.js +0 -1
- package/dist/assets/octagon-alert-BSE2kxYA.js +0 -1
- package/dist/assets/octagon-x-DeLWIK-1.js +0 -1
- package/dist/assets/omp-settings-model-CKEwCMG9.js +0 -1
- package/dist/assets/package-BXDmAhqA.js +0 -1
- package/dist/assets/pause-BFubuTGL.js +0 -1
- package/dist/assets/pen-line-MixC8OAX.js +0 -1
- package/dist/assets/pipeline-stage-presentation-BlMUfYSm.js +0 -2
- package/dist/assets/pipelines-DGHN_ZDl.js +0 -1
- package/dist/assets/play-BxobhMNN.js +0 -1
- package/dist/assets/plug-B9LpcqxX.js +0 -1
- package/dist/assets/plugins-C1CBwZxr.js +0 -1
- package/dist/assets/plus-3grZEc6D.js +0 -1
- package/dist/assets/popover-Dboikzj7.js +0 -1
- package/dist/assets/power-BwAEcXE3.js +0 -1
- package/dist/assets/presentation-mode-zPteD84U.js +0 -1
- package/dist/assets/profile-summary-Bx6NntA0.js +0 -1
- package/dist/assets/projects-Dhg0tJ68.js +0 -1
- package/dist/assets/proposal-review-CTbLGzM1.js +0 -1
- package/dist/assets/queryClient-ew36hKeJ.js +0 -1
- package/dist/assets/queryKeys-BjE39RB_.js +0 -1
- package/dist/assets/radio-92dOg5hV.js +0 -1
- package/dist/assets/radio-card-BZzGx1bj.js +0 -1
- package/dist/assets/recent-agent-chats-DL_CkTww.js +0 -1
- package/dist/assets/refresh-cw-DRrmw-ua.js +0 -1
- package/dist/assets/repeat-BK1ZQ6UR.js +0 -1
- package/dist/assets/resizable-panels-BGrsZhXV.js +0 -1
- package/dist/assets/review-policy-DddwYdrf.js +0 -1
- package/dist/assets/rotate-ccw-3dpBz4_v.js +0 -1
- package/dist/assets/rotate-cw-BlbJ5W3e.js +0 -1
- package/dist/assets/router-DxxHzV7q.js +0 -1
- package/dist/assets/routines-Czc76kli.js +0 -1
- package/dist/assets/runRetryState-MbpWYOmV.js +0 -1
- package/dist/assets/save-BPGfeNy8.js +0 -1
- package/dist/assets/schema-config-fields-B36htqHz.js +0 -1
- package/dist/assets/scroll-area-vPDcONOE.js +0 -1
- package/dist/assets/scroll-text-D4bbPQHV.js +0 -1
- package/dist/assets/search-DI6_pp-D.js +0 -1
- package/dist/assets/secrets-BbGN8H56.js +0 -1
- package/dist/assets/select-C2DC5rk6.js +0 -1
- package/dist/assets/send-CB6g5rI-.js +0 -1
- package/dist/assets/separator-GuwKN0ly.js +0 -1
- package/dist/assets/server-DvecsSaC.js +0 -1
- package/dist/assets/server-cog-BNds_biT.js +0 -1
- package/dist/assets/settings-COk8eOW7.js +0 -1
- package/dist/assets/shared-C4wh4A72.js +0 -1
- package/dist/assets/sheet-BGB1wcjf.js +0 -1
- package/dist/assets/shield-Da7znhbq.js +0 -1
- package/dist/assets/shield-alert-400pYbWO.js +0 -1
- package/dist/assets/shield-check-rK8cawGy.js +0 -1
- package/dist/assets/shield-question-mark-Bu8HUTd_.js +0 -1
- package/dist/assets/shield-x-DgETIg3u.js +0 -1
- package/dist/assets/sidebarPreferences-C-DSpjIP.js +0 -1
- package/dist/assets/skeleton-6hT0ziyj.js +0 -1
- package/dist/assets/slots-B1jHPd4d.js +0 -49
- package/dist/assets/smoke-lab-matrix-Cc8gF-EO.js +0 -1
- package/dist/assets/square-BcgffFXM.js +0 -1
- package/dist/assets/star-1UakmInq.js +0 -15
- package/dist/assets/sun-BdXf3WK7.js +0 -1
- package/dist/assets/system-notice-comment-yjZiXPNH.js +0 -1
- package/dist/assets/tabs-8fOwp9Wd.js +0 -1
- package/dist/assets/task-chat-attachments-DY3I4nBN.js +0 -10
- package/dist/assets/terminal-9waEsp12.js +0 -1
- package/dist/assets/textarea-yxs96L-d.js +0 -1
- package/dist/assets/thumbs-down-DWl2i7Ea.js +0 -1
- package/dist/assets/thumbs-up-Caxf3HRW.js +0 -1
- package/dist/assets/toggle-switch-C5IT4laE.js +0 -1
- package/dist/assets/tool-taxonomy-4oizLIC4.js +0 -1
- package/dist/assets/tools-XWaOXIHQ.js +0 -1
- package/dist/assets/tooltip-CrjeF5Py.js +0 -1
- package/dist/assets/transcript-adapter-ByJVfKL8.js +0 -5
- package/dist/assets/trash-CEP6t-OK.js +0 -1
- package/dist/assets/triangle-alert-8W9BE8a7.js +0 -1
- package/dist/assets/use-adapter-capabilities-sembMmIT.js +0 -1
- package/dist/assets/use-copy-action-CFzqHTsL.js +0 -1
- package/dist/assets/useAgentChatEnabled-8Pnx26s0.js +0 -1
- package/dist/assets/useAutosaveIndicator-cVaZS2nh.js +0 -1
- package/dist/assets/useHiddenSettings-zU4NvLoR.js +0 -1
- package/dist/assets/useInfiniteQuery-Wx2UMo1u.js +0 -1
- package/dist/assets/useInstanceFeatureSettings-C4g8yZ-P.js +0 -1
- package/dist/assets/useManagedSandboxOnly-DLQ6H9fl.js +0 -1
- package/dist/assets/useMobileEntityPickerViewportStyle-B_Xv_WNu.js +0 -1
- package/dist/assets/usePrefersReducedMotion-DNg4ExJc.js +0 -1
- package/dist/assets/useProfilesData-BfbgbFMa.js +0 -1
- package/dist/assets/useQueries-c0fWgj-2.js +0 -1
- package/dist/assets/useSecondTick-BZz9TShK.js +0 -1
- package/dist/assets/useSharedPolling-DZrr45g8.js +0 -1
- package/dist/assets/useSummaryDraftStream-CyhKO1CH.js +0 -3
- package/dist/assets/user-C_uFK2oS.js +0 -1
- package/dist/assets/user-check-CG1rKDBr.js +0 -1
- package/dist/assets/user-minus-fYGjtB62.js +0 -1
- package/dist/assets/user-round-D1ny1Q1J.js +0 -1
- package/dist/assets/user-x-BhQvIXbB.js +0 -1
- package/dist/assets/users-DpHy-NzY.js +0 -1
- package/dist/assets/wand-sparkles-DOYDAffy.js +0 -1
- package/dist/assets/webhook-Bb869qRq.js +0 -1
- package/dist/assets/x-DezUz_Fi.js +0 -1
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{t as a}from"./createLucideIcon-DFq0_SD5.js";var e={name:"info",size:24,node:[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 16v-4",key:"1dtifu"}],["path",{d:"M12 8h.01",key:"e9boi3"}]]};e.node;var t=a(e);export{t};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
var a=Object.defineProperty;var r=(e,i)=>a(e,"name",{value:i,configurable:!0});import{i as t}from"./rolldown-runtime-ZpX3ckPj.js";import{l as o,na as s,ta as l}from"./createLucideIcon-DFq0_SD5.js";var f=t(s(),1),d=t(l(),1);function m({className:e,type:i,...n}){return(0,d.jsx)("input",{type:i,"data-slot":"input",className:o("file:text-ink placeholder:text-ink-3 selection:bg-accent selection:text-accent-ink dark:bg-line-strong/30 border-line-strong h-9 w-full min-w-0 rounded-md border bg-transparent px-3 py-1 text-base shadow-xs transition-(--tp-color-box-shadow) outline-none file:inline-flex file:h-7 file:border-0 file:bg-transparent file:text-sm file:font-medium disabled:pointer-events-none disabled:cursor-not-allowed disabled:opacity-50 md:text-sm","focus-visible:border-focus focus-visible:ring-focus/50 focus-visible:ring-(length:--rad-3)","aria-invalid:ring-bad/20 dark:aria-invalid:ring-bad/40 aria-invalid:border-bad",e),...n})}r(m,"Input");export{m as t};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
var i=Object.defineProperty;var t=(e,s)=>i(e,"name",{value:s,configurable:!0});import{r as n}from"./queryKeys-BjE39RB_.js";var o={get:t(()=>n.get("/instance/settings"),"get"),update:t(e=>n.patch("/instance/settings",e),"update"),getGeneral:t(()=>n.get("/instance/settings/general"),"getGeneral"),updateGeneral:t(e=>n.patch("/instance/settings/general",e),"updateGeneral"),getLocalRunLimits:t(()=>n.get("/instance/settings/local-run-limits"),"getLocalRunLimits"),getExperimental:t(()=>n.get("/instance/settings/experimental"),"getExperimental"),updateExperimental:t(e=>n.patch("/instance/settings/experimental",e),"updateExperimental"),getAttachmentRetention:t(()=>n.get("/instance/attachment-retention",{cache:"no-store"}),"getAttachmentRetention"),previewAttachmentRetention:t(e=>n.post("/instance/attachment-retention/preview",e?{settings:e}:{}),"previewAttachmentRetention"),listSpeechToTextModels:t(e=>n.post("/instance/settings/general/speech-to-text/models",e),"listSpeechToTextModels"),getSpeechToTextCredentials:t(()=>n.get("/instance/settings/general/speech-to-text/credentials",{cache:"no-store"}),"getSpeechToTextCredentials"),testSpeechToText:t((e,s)=>{const a=new FormData;return a.append("settings",JSON.stringify(e)),a.append("file",s),n.postForm("/instance/settings/general/speech-to-text/test",a)},"testSpeechToText"),runAttachmentRetention:t(()=>n.post("/instance/attachment-retention/run",{}),"runAttachmentRetention")};export{o as t};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
var R=Object.defineProperty;var a=(e,n)=>R(e,"name",{value:n,configurable:!0});import{Ii as g,qi as m}from"./createLucideIcon-DFq0_SD5.js";var O="anyone",t={anyone:"Anyone",not_creator:"Anyone except creator",human_only:"Human only",chat_endpoint_owner:"Channel owners"},E={anyone:"Anyone in the organization can respond — the board or any agent, including the one that asked.",not_creator:"Anyone in the organization except the agent that created the card, and its run. Use this when the answer has to come from someone else.",human_only:"Only a person on the board can respond. Agents are turned away.",chat_endpoint_owner:"Only people linked as current owners of the chat channel can respond. Agents are turned away."};function S(e){return t[m(e)]}a(S,"resolverPolicyLabel");var b=g.map(e=>({value:e,label:t[e],effect:E[e],isDefault:e===O}));function L({interaction:e,creatorLabel:n,addresseeLabel:i}){return _({facts:{effectiveResolverPolicy:e.effectiveResolverPolicy,requestedResolverPolicy:e.requestedResolverPolicy,effectiveResolverPolicySource:e.effectiveResolverPolicySource,resolverPolicyProvenance:e.resolverPolicyProvenance,hasAddressee:!!(e.addresseeAgentId||e.addresseeUserId),isUserAddressee:!!e.addresseeUserId},creatorLabel:n,addresseeLabel:i})}a(L,"describeInteractionAudience");function _({facts:e,creatorLabel:n,addresseeLabel:i}){const o=e.effectiveResolverPolicy,l=e.requestedResolverPolicy,r=e.hasAddressee,c=e.isUserAddressee===!0,y=a(v=>v==="You"?"you":v,"midSentence"),s=y(i?.trim()||(c?"the addressed user":"the addressed agent")),h=y(n?.trim()||"the agent that created it"),p=o==="chat_endpoint_owner"?"Only a current owner of the chat channel can respond — agents cannot resolve this card.":c?`Only ${s} can respond.`:o==="human_only"?`${r?`Assigned to ${s}. `:""}Only a person on the board can respond — agents cannot resolve this card.`:r?`Only ${s} or a person on the board can respond.`:o==="not_creator"?`Anyone in the organization except ${h} can respond.`:"Anyone in the organization can respond — the board or any agent, including the one that asked.",A=o==="chat_endpoint_owner"?"Only channel owners can respond":c?`Only ${s} can respond`:o==="human_only"?r?`Assigned to ${s} · board only`:"Only the board can respond":r?`Only ${s} or the board can respond`:o==="not_creator"?`Anyone except ${h} can respond`:"Anyone can respond",d=e.effectiveResolverPolicySource,u=e.resolverPolicyProvenance,f=d==="governed_action"?"This card runs a governed action, so it stays human-only whatever audience was requested.":d==="company_cap"?`Organization interaction governance narrowed this from ${t[l]} to ${t[o]}.`:u==="legacy_inherited_restriction"?"Created before Anyone became the default, so it stays restricted. A new card would be open.":null,P=d==="governed_action"?"governed_action":d==="company_cap"?"company_cap":u==="legacy_inherited_restriction"?"legacy_restriction":o!=="anyone"?"requested":r?"addressee":null;return{policy:o,requestedPolicy:l,label:(o!=="human_only"||c)&&r?"Addressed":t[o],summary:p,shortSummary:A,isOpen:o==="anyone"&&!r,narrowedBy:P,narrowedNote:f}}a(_,"describeResolverAudience");function U(e){if(e.sourceKind!=="issue_thread_interaction")return null;const n=e.resolverAudience;return n?_({facts:{effectiveResolverPolicy:n.effectiveResolverPolicy,requestedResolverPolicy:n.requestedResolverPolicy,effectiveResolverPolicySource:n.effectiveResolverPolicySource,resolverPolicyProvenance:n.resolverPolicyProvenance,hasAddressee:!!(n.addresseeAgentId||n.addresseeUserId),isUserAddressee:!!n.addresseeUserId},creatorLabel:n.createdByAgentName,addresseeLabel:n.addresseeName}):null}a(U,"describeAttentionResolverAudience");export{L as n,S as r,U as t};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
var u=Object.defineProperty;var n=(e,t)=>u(e,"name",{value:t,configurable:!0});import{i as f}from"./rolldown-runtime-ZpX3ckPj.js";import{na as m}from"./createLucideIcon-DFq0_SD5.js";var l=f(m(),1);function S(e,t){return`wardmote.interaction-card-hidden.${e}:${t}`}n(S,"storageKey");function c(e){if(!e)return!1;try{return sessionStorage.getItem(e)==="1"}catch{return!1}}n(c,"readHidden");function g(e,t){try{t?sessionStorage.setItem(e,"1"):sessionStorage.removeItem(e)}catch{return}}n(g,"writeHidden");function I(e,t){const r=t?S(e,t):null,[o,a]=(0,l.useState)(()=>({key:r,hidden:c(r)}));let i=o;o.key!==r&&(i={key:r,hidden:c(r)},a(i));function d(s){r&&g(r,s),a({key:r,hidden:s})}return n(d,"setHidden"),[i.hidden,d]}n(I,"useInteractionCardHidden");export{I as t};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
var O=Object.defineProperty;var o=(e,t)=>O(e,"name",{value:t,configurable:!0});import{i as L}from"./rolldown-runtime-ZpX3ckPj.js";import{na as P}from"./createLucideIcon-DFq0_SD5.js";import{t as Z}from"./eye-DePHXY9S.js";import{t as Y}from"./octagon-alert-BSE2kxYA.js";import{t as B}from"./refresh-cw-DRrmw-ua.js";import{t as U}from"./triangle-alert-8W9BE8a7.js";var C=L(P(),1),R=1e3,h=60*R,v=60*h,D=24*v,F=h;function c(e){const t=new Date(e).getTime();if(Number.isNaN(t))throw new RangeError("Invalid monitor date");return t}o(c,"toTimestamp");function E(e){if(e<h)return`${Math.max(1,Math.ceil(e/R))}s`;if(e<v)return`${Math.floor(e/h)}m`;if(e<D){const n=Math.floor(e/v),a=Math.floor(e%v/h);return a>0?`${n}h ${a}m`:`${n}h`}const t=Math.floor(e/D),r=Math.floor(e%D/v);return r>0?`${t}d ${r}h`:`${t}d`}o(E,"formatDuration");function T(e,t=new Date){const r=c(e)-c(t);return r>0?`in ${E(r)}`:r>-6e4?"due now":`overdue by ${E(Math.abs(r))}`}o(T,"formatMonitorEta");function ce(e,t=new Date){const r=T(e,t);return`${r.charAt(0).toUpperCase()}${r.slice(1)}`}o(ce,"formatMonitorEtaLabel");function I(e,t,r){const n=new Intl.DateTimeFormat(t,{year:"numeric",month:"numeric",day:"numeric",timeZone:r}).formatToParts(e),a=o(u=>n.find(s=>s.type===u)?.value??"","pick");return{year:a("year"),month:a("month"),day:a("day")}}o(I,"zonedYmd");function me(e,t={},r=new Date){const n=new Date(c(e)),a=new Date(c(r)),u=I(n,t.locale,t.timeZone),s=I(a,t.locale,t.timeZone),f=new Intl.DateTimeFormat(t.locale,{hour:"numeric",minute:"2-digit",timeZone:t.timeZone}).format(n);return u.year===s.year&&u.month===s.month&&u.day===s.day?`Today, ${f}`:`${new Intl.DateTimeFormat(t.locale,{weekday:"short",timeZone:t.timeZone}).format(n)} ${new Intl.DateTimeFormat(t.locale,{month:"short",day:"numeric",year:u.year===s.year?void 0:"numeric",timeZone:t.timeZone}).format(n)}, ${f}`}o(me,"formatMonitorAbsolute");function de(e,t={}){const r=new Date(c(e));return`${new Intl.DateTimeFormat(t.locale,{weekday:"long",year:"numeric",month:"long",day:"numeric",timeZone:t.timeZone}).format(r)}, ${new Intl.DateTimeFormat(t.locale,{hour:"numeric",minute:"2-digit",second:"2-digit",timeZoneName:"short",timeZone:t.timeZone}).format(r)}`}o(de,"formatMonitorAbsoluteFull");function fe(e,t=new Date){if(e.status==="done"||e.status==="cancelled")return{state:"none",source:"none",nextCheckAt:null,attemptCount:0,serviceName:null};const r=e.executionState?.monitor??null,n=e.executionPolicy?.monitor??null,a=e.scheduledRetry??null,u=a?.status==="scheduled_retry",s=r?.nextCheckAt??e.monitorNextCheckAt??n?.nextCheckAt??(u?a?.scheduledRetryAt:null)??null,f=r!==null||n!==null||e.monitorNextCheckAt!=null,m=f?"monitor":u?"scheduled-retry":"none",i=r?.attemptCount??(f?e.monitorAttemptCount:null)??(u?a?.scheduledRetryAttempt:null)??0,l=r?.serviceName??n?.serviceName??null;if(r?.status==="cleared")return{state:"cleared",source:m,nextCheckAt:s,attemptCount:i,serviceName:l};if(!f&&!u)return{state:"none",source:m,nextCheckAt:null,attemptCount:0,serviceName:null};if(!s)return{state:u||i>1?"retrying":"scheduled",source:m,nextCheckAt:s,attemptCount:i,serviceName:l};const d=c(s)-c(t);return d<=-6e4?{state:"overdue",source:m,nextCheckAt:s,attemptCount:i,serviceName:l}:d<=0?{state:"due-now",source:m,nextCheckAt:s,attemptCount:i,serviceName:l}:{state:u||i>1?"retrying":"scheduled",source:m,nextCheckAt:s,attemptCount:i,serviceName:l}}o(fe,"deriveMonitorState");function W(e){const t=c(e)-Date.now();return t>-6e4&&t<F?R:30*R}o(W,"countdownCadence");function ye(e){const[t,r]=(0,C.useState)(()=>new Date(Date.now())),n=e==null?null:c(e);return(0,C.useEffect)(()=>{if(r(new Date(Date.now())),n===null)return;let a=null,u=!1;const s=o(()=>{a=setTimeout(()=>{u||(r(new Date(Date.now())),s())},W(new Date(n)))},"scheduleNextTick");return s(),()=>{u=!0,a!==null&&clearTimeout(a)}},[n]),t}o(ye,"useMonitorCountdown");function q(e){const t=new Date(Date.now()),r=c(e)-t.getTime();if(Math.round(Math.abs(r)/h)===0)return"now";const n=T(e,t);return n==="due now"?"now":n.startsWith("overdue by ")?`${n.slice(11)} ago`:n}o(q,"formatMonitorOffset");var K="bounded_owner_disposition_repair",V="bounded_recovery_owner",G="board_escalation",H="resume_native_run",j=new Set(["queued","running"]),z=3e4;function N(e){return e&&typeof e=="object"&&!Array.isArray(e)?e:null}o(N,"asRecord");function p(e){if(typeof e!="string")return null;const t=e.trim();return t.length>0?t:null}o(p,"asNonEmptyString");function y(e){if(typeof e!="number"||!Number.isFinite(e))return null;const t=Math.floor(e);return t>=0?t:null}o(y,"asCount");function b(e){if(!e||!(e instanceof Date)&&typeof e!="string")return null;const t=e instanceof Date?e:new Date(e);return Number.isNaN(t.getTime())?null:t.toISOString()}o(b,"asIsoDate");function k(e,t){if(!t)return null;const r=p(t.runId),n=p(t.status);return!r||!n||!j.has(n)||e!==null&&e!==r?null:r}o(k,"resolveLiveRunId");function X(e,t){const r=N(e.wakePolicy);if(!r)return null;const n=p(r.type),a=r.kind===H,u=r.preservesSourceAssignee===!0,s=N(e.evidence)??{},f=y(s.sourceAttemptCount),m=y(s.sourceMaxAttempts);let i;if(a)i="native_run";else if(n===K)i="source_owner";else if(n===V)i="recovery_owner";else if(n===G&&(u||m!==null))i="board";else return null;const l=y(r.attempt)??y(e.attemptCount)??0,d=y(r.maxAttempts)??y(e.maxAttempts),A=p(a?r.runId:r.scheduledRunId);if(a&&A===null)return null;const $=a?b(r.notBefore):b(r.retryAt)??b(e.timeoutAt),_=i==="board"||d!==null&&l>=d,w=_?null:$,g=a?k(A,e.nativeRunActivity):k(A,t?.scheduledRetry),x=!_&&g===null&&w!==null&&Date.parse(w)+z<(t?.now??Date.now());return{lane:i,attempt:l,maxAttempts:d,attemptsRemaining:d===null?null:Math.max(0,d-l),exhausted:_,nextRetryAt:w,retryExpired:x,scheduledRunId:A,liveRunId:g,retryAgentId:p(r.retryAgentId)??p(r.ownerAgentId),preservesSourceAssignee:u||i==="source_owner"||a,sourceAttempt:a?null:i==="source_owner"?l:f,sourceMaxAttempts:a?null:i==="source_owner"?d:m,hasDurablePath:a&&g!==null||!_&&(g!==null||w!==null&&!x)}}o(X,"readRecoveryRetryLineage");function J(e){return e.maxAttempts===null?null:`Attempt ${Math.min(e.attempt,e.maxAttempts)} of ${e.maxAttempts}`}o(J,"formatRecoveryAttemptLabel");function Q(e){if(!e.nextRetryAt)return null;try{return q(e.nextRetryAt)}catch{return null}}o(Q,"formatRecoveryRetryOffset");function pe(e){const t=[],r=J(e);r&&t.push(r);const n=Q(e);return e.liveRunId?t.push("attempt running now"):e.retryExpired?t.push(n?`retry missed ${n}`:"retry missed"):n?t.push(n==="now"?"next try now":`next try ${n}`):e.exhausted&&t.push("retries used up"),t.length>0?t.join(" · "):null}o(pe,"formatRecoveryLineageSummary");var ee={needed:{className:"border-amber-500/60 bg-amber-500/15 text-amber-700 dark:text-amber-300",icon:U,label:"Recovery needed"},in_progress:{className:"border-sky-500/60 bg-sky-500/15 text-sky-700 dark:text-sky-300",icon:B,label:"Recovery in progress"},observe_only:{className:"border-line bg-bg-3 text-ink-3",icon:Z,label:"Observing active run"},escalated:{className:"border-red-500/60 bg-red-500/15 text-red-700 dark:text-red-300",icon:Y,label:"Recovery escalated"}};function te(e,t){if(e.status==="resolved"||e.status==="cancelled")return"resolved";const r=X({wakePolicy:e.wakePolicy??null,evidence:e.evidence,attemptCount:e.attemptCount,maxAttempts:e.maxAttempts,timeoutAt:e.timeoutAt,nativeRunActivity:e.nativeRunActivity},t);return r?.lane==="native_run"&&r.liveRunId?"in_progress":e.status==="escalated"?"escalated":e.kind==="active_run_watchdog"?e.ownerType==="board"?"needed":r?r.hasDurablePath?"in_progress":"needed":e.cause?.startsWith("native_")?"needed":"observe_only":r&&r.lane!=="board"&&r.hasDurablePath||e.outcome==="delegated"?"in_progress":"needed"}o(te,"deriveRecoveryDisplayState");function he(e,t){if(e.cause==="native_workspace_sync_out_unsafe_archive")return null;const r=te(e,t);return r==="resolved"?null:r}o(he,"deriveActiveRecoveryDisplayState");function ve(e,t,r){return t==="workspace_validation"&&e==="needed"?"Workspace recovery needed":e==="in_progress"&&r&&r.maxAttempts!==null&&r.attempt>0?`Recovery in progress · ${Math.min(r.attempt,r.maxAttempts)}/${r.maxAttempts}`:ee[e].label}o(ve,"recoveryChipLabel");function re(e,t){return e.status==="done"||e.status==="cancelled"?"done":t.has(e.id)?"running":"queued"}o(re,"classifyWaitingBlocker");var M={done:0,running:1,queued:2};function Ae(e,t){return e.map(r=>({blocker:r,status:re(r,t)})).sort((r,n)=>{const a=M[r.status]-M[n.status];if(a!==0)return a;const u=r.blocker.identifier??r.blocker.id,s=n.blocker.identifier??n.blocker.id;return u.localeCompare(s,void 0,{numeric:!0})})}o(Ae,"orderWaitingBlockers");function S(e){return e.status==="backlog"&&!!e.assigneeAgentId}o(S,"isAssignedBacklogBlocker");function _e(e){return!e||e.length===0?!1:e.some(t=>!!(S(t)||t.terminalBlockers?.some(S)))}o(_e,"hasAssignedBacklogBlocker");export{q as _,he as a,J as c,X as d,fe as f,ce as g,T as h,ee as i,pe as l,de as m,S as n,te as o,me as p,Ae as r,ve as s,_e as t,Q as u,ye as v};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
var c=Object.defineProperty;var n=(i,t)=>c(i,"name",{value:t,configurable:!0});import{yi as m}from"./createLucideIcon-DFq0_SD5.js";function S(i){if(!Number.isFinite(i)||i<0)return"0 B";if(i<1024)return`${Math.round(i)} B`;const t=["KB","MB","GB","TB"];let e=i/1024,a=0;for(;e>=1024&&a<t.length-1;)e/=1024,a+=1;const r=e.toFixed(1);return`${r.endsWith(".0")?r.slice(0,-2):r} ${t[a]}`}n(S,"formatBytes");var o=new Set(["application/octet-stream","binary/octet-stream","application/x-binary"]),f=[".mp4",".m4v",".webm",".mov",".qt",".quicktime"],d=[".png",".jpg",".jpeg",".gif",".webp",".avif",".bmp",".ico"],h=new Set(["application/wasm"]),x=new Set(["application/zip","application/x-zip","application/x-zip-compressed"]),p=new Set(["text/markdown","text/x-markdown","application/markdown","application/x-markdown"]),E=new Set(["application/csv","application/ecmascript","application/graphql","application/html","application/javascript","application/json","application/ld+json","application/sql","application/toml","application/x-httpd-php","application/x-javascript","application/x-python","application/x-sh","application/x-yaml","application/xhtml+xml","application/xml","application/yaml"]),N=[".csv",".css",".graphql",".htm",".html",".js",".json",".jsx",".log",".markdown",".md",".mdx",".php",".py",".sh",".sql",".toml",".ts",".tsx",".txt",".xml",".yaml",".yml"];function s(i){return(i??"").toLowerCase().split(";")[0]?.trim()??""}n(s,"normalizeOutputContentType");function I(i){const t=(i??"").trim().toLowerCase();return t?N.some(e=>t.endsWith(e)):!1}n(I,"hasDocumentLikeFilename");function u(i){return x.has(i)||i.endsWith("+zip")}n(u,"isZipContentType");function v(i){return i?!!(i.startsWith("text/")||p.has(i)||E.has(i)||i.startsWith("application/")&&(i.endsWith("+json")||i.endsWith("+xml"))):!1}n(v,"isDocumentLikeOutputContentType");function g(i,t){const e=s(i);return!e||v(e)||o.has(e)&&I(t)?!1:e.startsWith("video/")||e.startsWith("image/")||e==="application/pdf"||h.has(e)||u(e)||o.has(e)}n(g,"isOutputEligibleContentType");function y(i){const t=s(i);if(t.startsWith("video/")){const e=t.slice(6);return e==="quicktime"?{label:"MOV",tone:"video"}:{label:(e||"vid").toUpperCase().slice(0,4),tone:"video"}}return t==="application/pdf"?{label:"PDF",tone:"pdf"}:u(t)?{label:"ZIP",tone:"zip"}:t.startsWith("image/")?{label:"IMG",tone:"image"}:p.has(t)?{label:"MD",tone:"bin"}:t==="text/plain"?{label:"TXT",tone:"bin"}:t==="text/csv"||t==="application/csv"?{label:"CSV",tone:"bin"}:t==="text/html"||t==="application/html"||t==="application/xhtml+xml"?{label:"HTML",tone:"bin"}:t==="application/json"||t.endsWith("+json")?{label:"JSON",tone:"bin"}:t==="application/xml"||t==="text/xml"||t.endsWith("+xml")?{label:"XML",tone:"bin"}:t==="application/wasm"?{label:"WASM",tone:"bin"}:{label:"BIN",tone:"bin"}}n(y,"getOutputFileGlyph");function W(i,t){const e=s(i);if(e.startsWith("video/"))return!0;if(!o.has(e))return!1;const a=(t??"").trim().toLowerCase();return f.some(r=>a.endsWith(r))}n(W,"isVideoLikeOutput");function b(i){const t=s(i);return t.startsWith("image/")&&t!=="image/svg+xml"}n(b,"isImageContentType");function _(i,t){const e=s(i);if(b(e))return!0;if(e&&!o.has(e))return!1;const a=(t??"").trim().toLowerCase();return d.some(r=>a.endsWith(r))}n(_,"isImageLikeOutput");function l(i){const t=new Date(i).getTime();return Number.isNaN(t)?0:t}n(l,"toTime");function T(i){const t=(i??[]).filter(e=>e.type==="artifact"&&e.provider==="wardmote").flatMap(e=>{const a=m.safeParse(e.metadata);return a.success&&!g(a.data.contentType,a.data.originalFilename)?[]:[{id:e.id,title:e.title,status:typeof e.status=="string"?e.status:"active",isPrimary:!!e.isPrimary,createdAt:e.createdAt,metadata:a.success?a.data:null,degraded:!a.success,workProduct:e}]});return t.sort((e,a)=>e.isPrimary!==a.isPrimary?e.isPrimary?-1:1:l(a.createdAt)-l(e.createdAt)),{items:t,primary:t[0]??null,rest:t.slice(1),count:t.length}}n(T,"getIssueOutputs");function C(i){return i.metadata?.originalFilename||i.title||"output"}n(C,"outputFilename");function A(i){return new Set(T(i).items.flatMap(t=>{const e=t.metadata?.attachmentId;return e?[e]:[]}))}n(A,"getPromotedOutputAttachmentIds");export{b as a,C as c,A as i,T as n,_ as o,y as r,W as s,S as t};
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
var Ol=Object.defineProperty;var a=(t,n)=>Ol(t,"name",{value:n,configurable:!0});import{i as Is}from"./rolldown-runtime-ZpX3ckPj.js";import{O as ks,_i as va,gi as El,h as M,hi as Na,l as g,m as Wl,mi as $l,na as _l,pi as Ml,t as Ca,ta as Ll,w as Fl}from"./createLucideIcon-DFq0_SD5.js";import{l as Bl}from"./dist-BvVm60ff.js";import{a as As,h as Ss}from"./star-1UakmInq.js";import{X as Ia,_ as Ce,n as Aa,t as j,v as A}from"./queryKeys-BjE39RB_.js";import{o as ql}from"./companies-query-C5h0ehWr.js";import{t as Dl}from"./issue-attribution-DfN_3u2W.js";import{n as Ps,t as Rs}from"./IssueDocumentAnnotations-CemZBdYS.js";import{n as zl,r as Ul}from"./WorkspaceRuntimeControls-DrJU_LOR.js";import{n as Kl}from"./CompanyContext-CPlpA2lb.js";import{A as sa,P as Vl,a as Ql,an as jt,at as Hl,ot as It,t as V,v as na,zt as E}from"./router-DxxHzV7q.js";import{i as Gl,p as Xl,r as Yl,t as Zl}from"./dropdown-menu-Bv-5gi4Z.js";import{i as Jl,n as qe,r as ei,t as ti}from"./tabs-8fOwp9Wd.js";import{o as aa,r as ra,t as la}from"./popover-Dboikzj7.js";import{t as si}from"./archive-restore-BBGn1s-I.js";import{t as ni}from"./arrow-right-DyLbbrYf.js";import{t as yt}from"./arrow-up-right-Csy74riS.js";import{t as ne}from"./check-D25gbkia.js";import{t as ws}from"./chevron-down-DRTtaJaL.js";import{t as ai}from"./chevron-left-DyWGebtA.js";import{t as ri}from"./chevron-right-DRPBYcaQ.js";import{t as li}from"./circle-question-mark-C61IbV2j.js";import{t as Sa}from"./clock-CzExhPDZ.js";import{A as ii,E as Pa,I as oi,M as ia,N as ci,S as di,T as ui,j as xi,k as mi,n as Ra,t as Ts,x as hi}from"./MarkdownBody-B_RYK9iU.js";import{t as Ta}from"./external-link-BYT2N-qd.js";import{t as Os}from"./file-text-CPjqXxv9.js";import{t as pi}from"./file-CwO10jsS.js";import{a as Oa,i as fi,n as gi,o as bi,t as ji}from"./RichWorkProductCard-C5d3O8x2.js";import{t as yi}from"./folder-open-DdGngi3h.js";import{t as ki}from"./git-pull-request-Bxg55kum.js";import{r as Ea,t as W}from"./button-Cjm24aCl.js";import{t as vs}from"./plus-3grZEc6D.js";import{t as wi}from"./repeat-BK1ZQ6UR.js";import{t as oa}from"./rotate-ccw-3dpBz4_v.js";import{t as vi}from"./triangle-alert-8W9BE8a7.js";import{t as De}from"./user-C_uFK2oS.js";import{t as Ni}from"./x-DezUz_Fi.js";import{i as Ci,n as Ii,r as Ai,t as Si}from"./tooltip-CrjeF5Py.js";import{t as se}from"./badge-D6gWCBB2.js";import{t as Pi}from"./Identity-8QZumPfI.js";import{t as ve}from"./AgentAvatar-U9UbHZ2I.js";import{t as Wa}from"./agents-BusZWz59.js";import{t as $a}from"./instanceSettings-C68LkOh1.js";import{u as Ri}from"./inboxArchiveCache-DadMmOlk.js";import{t as Ti}from"./projects-Dhg0tJ68.js";import{a as Oi,c as Ei,n as Wi,r as $i,s as _i,t as Mi}from"./dialog-B6knjPRK.js";import{t as Li}from"./access-Bcz_4BVJ.js";import{i as Fi,r as Bi}from"./assignees-DkQNbPzi.js";import{t as qi}from"./activity-NKpSxizv.js";import{t as ca}from"./AgentIdentity-88zCb3Go.js";import{t as Di}from"./textarea-yxs96L-d.js";import{t as zi}from"./recent-selections-BnN_nb6Y.js";import{a as Ui,i as Ki,r as Vi,t as Qi}from"./recent-assignees-DmalYaLf.js";import{t as Hi}from"./InlineEntitySelector-D-qeOeyL.js";import{t as Gi}from"./clipboard-CTLKYvRL.js";import{t as kt}from"./StatusIcon-CsDhn7kH.js";import{_ as Xi,g as Yi,h as Zi,m as da,p as Ji,v as eo}from"./issue-blockers-BfUep25r.js";import{An as to,Gn as so,Ia as no,In as ua,Kn as ao,Ln as ro,Mn as lo,Ra as io,Rn as xa,Vn as oo,Yn as ma,hr as co,kn as uo,nn as xo,nr as mo,pn as ho,qn as po,tr as ha,zn as fo}from"./index-CturclrK.js";import{d as _a,i as go,n as Ma,s as bo,t as jo}from"./ImageGalleryModal-DLsKxA2R.js";import{n as yo,r as ko}from"./TaskDetailRelationsPanel-BQYB-r_n.js";import{t as wo}from"./query-placeholder-data-Bg4z2kcq.js";import{i as vo,o as No,p as Co,r as Io,u as Ao}from"./SourceTrustBadge-DPHntkgj.js";import{n as So}from"./runRetryState-MbpWYOmV.js";import{o as Po,s as Ro}from"./issue-output-D6f2QAoO.js";import{t as wt}from"./IssueReferencePill-BEVp1Js5.js";import{n as To}from"./review-policy-DddwYdrf.js";import{t as Oo}from"./separator-GuwKN0ly.js";import{n as Eo,t as Wo}from"./issue-workspace-selection-BjDuxgu4.js";import{o as $o}from"./cases-BEgzG8fb.js";var La={name:"hard-drive",size:24,node:[["path",{d:"M10 16h.01",key:"1bzywj"}],["path",{d:"M2.212 11.577a2 2 0 0 0-.212.896V18a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-5.527a2 2 0 0 0-.212-.896L18.55 5.11A2 2 0 0 0 16.76 4H7.24a2 2 0 0 0-1.79 1.11z",key:"18tbho"}],["path",{d:"M21.946 12.013H2.054",key:"zqlbp7"}],["path",{d:"M6 16h.01",key:"1pmjb7"}]]};La.node;var _o=Ca(La),Fa={name:"table-2",size:24,node:[["path",{d:"M3 9h18",key:"1pudct"}],["path",{d:"M9 3v18",key:"fh3hqa"}],["rect",{x:"3",y:"3",width:"18",height:"18",rx:"2",key:"h1oib"}]]};Fa.node;var Mo=Ca(Fa),e=Is(Ll(),1),d=Is(_l(),1);function Ba(t){const n=A({queryKey:j.issues.workProducts(t??"__none__"),queryFn:a(({signal:x})=>E.listWorkProducts(t,{signal:x,fresh:!0}),"queryFn"),enabled:!!t,refetchOnMount:"always",placeholderData:wo(t??"__none__")}),r=n.data?.filter(x=>x.type==="pull_request")??[],l=!!t&&r.length>0,c=A({queryKey:[...j.issues.workProductPullRequestRefresh(t??"__none__"),r],queryFn:a(({signal:x})=>E.listWorkProducts(t,{refreshPullRequests:!0,signal:x,fresh:!0}),"queryFn"),enabled:l,refetchOnMount:"always"}),o=(0,d.useMemo)(()=>{const x=new Map(c.data?.map(u=>[u.id,u]));return n.data?.map(u=>{const h=x.get(u.id);return u.type!=="pull_request"||!h||new Date(h.updatedAt).getTime()!==new Date(u.updatedAt).getTime()?u:{...u,metadata:h.metadata}})},[n.data,c.data]);return{...n,data:o,isFetching:n.isFetching||c.isFetching,isError:n.isError||c.isError,error:n.error??c.error,refetch:a(async()=>{await Promise.all([n.refetch(),...l?[c.refetch()]:[]])},"refetch")}}a(Ba,"useIssueWorkProducts");var pa=Is(Bl(),1);function qa(t){return A({queryKey:[...j.issues.documents(t??""),"plan"],enabled:!!t&&!t?.startsWith("chat:"),queryFn:a(async()=>{try{return await E.getDocument(t,"plan")}catch(n){if(n instanceof Aa&&n.status===404)return null;throw n}},"queryFn")})}a(qa,"useIssuePlanDocument");function Lo(t){return t.createdByAgentId?!0:!t.createdByUserId&&!t.issueCommentId}a(Lo,"isAgentAttachment");function Fo(t){const n=new Set;for(const r of t??[]){const l=Na(r);l&&n.add(l.attachmentId)}return n}a(Fo,"getAttachmentBackedWorkProductAttachmentIds");function Da(t,n){const r=Fo(n);return(t??[]).filter(l=>Lo(l)&&!r.has(l.id))}a(Da,"selectAgentArtifactAttachments");function za(t){if(t.url)return t.url;const n=t.metadata;if(!n)return null;for(const r of["openPath","url"]){const l=n[r];if(typeof l=="string"&&l.trim().length>0)return l}return null}a(za,"workProductHref");function Bo(t){if(t.title?.trim())return t.title;const n=t.key.replace(/[-_]+/g," ").trim();return n.charAt(0).toUpperCase()+n.slice(1)}a(Bo,"documentDisplayTitle");var vt=new Set(["merged","closed","archived"]);function Nt(t){return vt.has(t.status)?t.status:typeof t.metadata?.state=="string"?t.metadata.state:t.status}a(Nt,"pullRequestState");function Ns(t){const n=Nt(t);return!vt.has(n)&&n!=="changes_requested"&&t.reviewState==="needs_board_review"}a(Ns,"pullRequestNeedsReview");function At(t){const n=za(t);if(!n)return null;try{const r=new URL(n);return!["http:","https:"].includes(r.protocol)||r.username||r.password?null:r.href}catch{return null}}a(At,"pullRequestHref");function qo(t){const n=At(t);if(n){const r=new URL(n),l=r.pathname.match(/^\/([^/]+)\/([^/]+)\/pull\/(\d+)\/?$/);if(r.hostname==="github.com"&&l)return`${l[1]}/${l[2]}#${l[3]}`}return t.title}a(qo,"pullRequestLabel");function Ue(t){if(!t)return null;try{const n=new URL(t);if(!["http:","https:"].includes(n.protocol)||n.username||n.password)return null;const r=n.pathname.match(/^\/([^/]+)\/([^/]+)\/pull\/(\d+)(?:\/|$)/);return n.hostname==="github.com"&&!n.port&&r?`github.com/${r[1].toLowerCase()}/${r[2].toLowerCase()}/pull/${Number(r[3])}`:n.href}catch{return null}}a(Ue,"pullRequestIdentity");function Do(t){const n=(t??[]).filter(l=>l.type==="pull_request").sort((l,c)=>new Date(c.updatedAt).getTime()-new Date(l.updatedAt).getTime()||Number(vt.has(Nt(c)))-Number(vt.has(Nt(l)))),r=new Set;return n.filter(l=>{const c=Ue(At(l))??l.id;return r.has(c)?!1:(r.add(c),!0)}).sort((l,c)=>Number(Ns(c))-Number(Ns(l))||Number(c.isPrimary)-Number(l.isPrimary))}a(Do,"getIssuePullRequests");function zo({products:t,externalObjects:n=[]}){return(0,e.jsx)("ul",{className:"flex min-w-0 flex-col gap-2",children:t.map(r=>{const l=At(r),c=qo(r),o=Nt(r),x=Ue(l),u=x?n.find(w=>Ue(w.url)===x):void 0,h=u?Pa(u):null,b=u?.liveness==="fresh"&&(u.statusIconKey==="git-merge"||["merged","closed"].includes(h?.toLowerCase()??""));return(0,e.jsxs)("li",{className:"flex min-w-0 flex-wrap items-center gap-2",children:[l?(0,e.jsx)("a",{href:l,target:"_blank",rel:"noopener noreferrer",title:r.title,className:"break-words text-sm text-accent underline-offset-2 hover:underline",children:c}):(0,e.jsxs)("span",{className:"break-words text-sm",children:[c," · No PR link provided"]}),u?(0,e.jsxs)("span",{className:"inline-flex items-center gap-1 text-xs text-ink-3","data-external-status":u.statusCategory,"data-external-liveness":u.liveness,children:[(0,e.jsx)(Ra,{category:u.statusCategory,liveness:u.liveness,statusIconKey:u.statusIconKey,label:h}),(0,e.jsxs)("span",{children:[h,["fresh","unknown"].includes(u.liveness)?"":` (${ii(u.liveness)})`]})]}):null,Ns(r)&&!b?(0,e.jsx)(se,{variant:"outline",children:"Review requested"}):["merged","closed","archived","draft","changes_requested"].includes(o)&&h?.toLowerCase()!==o?(0,e.jsxs)("span",{className:"text-xs text-ink-3",children:[u?"Saved: ":"",o.replaceAll("_"," ")]}):null]},r.id)})})}a(zo,"IssuePullRequestLinks");function Ua(t){return A({queryKey:[...j.issues.documents(t??""),"list"],enabled:!!t&&!t?.startsWith("chat:"),queryFn:a(()=>E.listDocuments(t),"queryFn")})}a(Ua,"useIssueDocuments");function Uo(t){const n=(0,d.useMemo)(()=>ro(t),[t]),r=(0,d.useRef)(!1);return(0,d.useEffect)(()=>{if(n.success||r.current)return;r.current=!0;const l=n.error.issues[0]?.path[0];xo(new Error(`Invalid task execution policy (${l==="stages"?"stages":l==="monitor"?"monitor":l==="authorizationPolicy"?"authorization":l==="reviewPreset"?"review_preset":"policy"})`))},[n]),n}a(Uo,"useExecutionPolicy");function Ko({status:t}){return t==="completed"?(0,e.jsxs)("span",{className:"inline-flex items-center gap-1 rounded-sm border border-emerald-500/50 bg-emerald-500/10 px-2 py-0.5 text-(length:--text-micro) font-medium text-emerald-900 dark:text-emerald-100",children:[(0,e.jsx)(As,{className:"h-3 w-3"}),"Completed"]}):(0,e.jsxs)("span",{className:"inline-flex items-center gap-1 rounded-sm border border-amber-500/50 bg-amber-500/10 px-2 py-0.5 text-(length:--text-micro) font-medium text-amber-900 dark:text-amber-100",children:[(0,e.jsx)(Ea,{className:"h-3 w-3 animate-spin"}),"In flight"]})}a(Ko,"StatusBadge");function Vo({issueId:t,issueIdentifier:n,agentMap:r}){const{data:l}=A({queryKey:j.issues.acceptedPlanDecompositions(t),queryFn:a(()=>E.listAcceptedPlanDecompositions(t),"queryFn")}),c=(0,d.useMemo)(()=>l??[],[l]);return c.length===0?null:(0,e.jsxs)("div",{className:"space-y-3",children:[(0,e.jsxs)("div",{className:"flex items-center justify-between gap-2",children:[(0,e.jsx)("h3",{className:"text-sm font-medium text-ink-3",children:"Plan decomposition"}),(0,e.jsx)("span",{className:"text-(length:--text-micro) text-ink-3/80",children:c.length===1?"1 accepted plan revision":`${c.length} accepted plan revisions`})]}),(0,e.jsx)("ul",{className:"space-y-3",children:c.map(o=>{const x=o.requestedChildCount??0,u=o.childIssueIds?.length??0,h=o.ownerAgentId?r?.get(o.ownerAgentId)?.name??"agent":null,b=o.acceptedPlanRevisionNumber!=null?`revision ${o.acceptedPlanRevisionNumber}`:`revision ${o.acceptedPlanRevisionId.slice(0,8)}`,w=o.completedAt&&typeof o.completedAt=="string"?o.completedAt:o.completedAt instanceof Date?o.completedAt.toISOString():null,k=typeof o.updatedAt=="string"?o.updatedAt:o.updatedAt instanceof Date?o.updatedAt.toISOString():null,$=typeof o.createdAt=="string"?o.createdAt:o.createdAt instanceof Date?o.createdAt.toISOString():null;return(0,e.jsxs)("li",{className:"rounded-md border border-line bg-bg-2/50 p-3 text-sm",children:[(0,e.jsxs)("div",{className:"flex flex-wrap items-center gap-2",children:[(0,e.jsx)(Ko,{status:o.status}),(0,e.jsxs)("span",{className:"text-xs text-ink-3",children:["Plan ",b]}),(0,e.jsx)("span",{className:"text-xs text-ink-3/70",children:"·"}),(0,e.jsxs)("span",{className:"inline-flex items-center gap-1 text-xs text-ink",children:[(0,e.jsx)(It,{className:"h-3 w-3 text-ink-3"}),u," of ",x," child ",x===1?"task":"tasks"," created"]}),o.status==="completed"&&x>0?(0,e.jsxs)("span",{className:"inline-flex items-center gap-1 rounded-sm border border-sky-500/40 bg-sky-500/10 px-1.5 py-0.5 text-(length:--text-nano) font-medium text-sky-900 dark:text-sky-100",title:"Repeat attempts with this fingerprint reuse this record instead of creating new children",children:[(0,e.jsx)(wi,{className:"h-3 w-3"}),"Idempotent claim"]}):null]}),(0,e.jsxs)("div",{className:"mt-1 flex flex-wrap gap-x-3 gap-y-0.5 text-(length:--text-micro) text-ink-3",children:[h?(0,e.jsxs)("span",{children:["Owner: ",h]}):null,$?(0,e.jsxs)("span",{title:M($),children:["Started ",ks($)]}):null,w?(0,e.jsxs)("span",{title:M(w),children:["Completed ",ks(w)]}):k?(0,e.jsxs)("span",{title:M(k),children:["Updated ",ks(k)]}):null,n?(0,e.jsx)(V,{to:`/issues/${n}#document-plan`,className:"underline-offset-2 hover:underline",children:"Plan document"}):null]}),o.childIssues&&o.childIssues.length>0?(0,e.jsx)("ul",{className:"mt-2 flex flex-wrap gap-1.5",children:o.childIssues.map(v=>(0,e.jsx)("li",{children:(0,e.jsxs)(V,{to:`/issues/${v.identifier??v.id}`,className:g("inline-flex max-w-full items-center gap-1 rounded-sm border border-line bg-bg px-2 py-0.5 text-(length:--text-micro) text-ink transition-colors hover:bg-bg-3/40"),title:v.title,children:[(0,e.jsx)("span",{className:"font-medium",children:v.identifier??v.id.slice(0,8)}),(0,e.jsx)("span",{className:"truncate max-w-(--sz-24ch) text-ink-3",children:v.title}),(0,e.jsx)(ri,{className:"h-3 w-3 text-ink-3"})]})},v.id))}):null]},o.id)})})]})}a(Vo,"IssuePlanDecompositionsSection");function Qo(t){return(t??[]).some(n=>n.kind==="request_confirmation"&&n.status==="pending"&&n.payload.target?.type==="issue_document"&&n.payload.target.key==="plan")}a(Qo,"hasPendingPlanConfirmation");function Ho({issue:t}){const{data:n,isLoading:r}=qa(t.id),l=Ss(),[c,o]=(0,d.useState)(!1),{data:x}=A({queryKey:j.issues.acceptedPlanDecompositions(t.id),queryFn:a(()=>E.listAcceptedPlanDecompositions(t.id),"queryFn")}),{data:u}=A({queryKey:j.issues.interactions(t.id),queryFn:a(()=>E.listInteractions(t.id),"queryFn")}),h=(x?.length??0)>0,b=Qo(u);return!n&&!h?(0,e.jsx)("div",{className:"px-1 py-6 text-sm text-ink-3",children:r?"Loading plan…":t.workMode==="planning"?(0,e.jsxs)("div",{className:"space-y-2",children:[(0,e.jsx)("p",{children:"This task is in plan mode but no plan document has been written yet."}),b?(0,e.jsx)("p",{className:"text-amber-foreground",children:"A plan confirmation is pending, but the plan document it should confirm is missing."}):null]}):"No plan yet. The plan document, accepted plans, and their revisions will appear here."}):(0,e.jsxs)("div",{className:"space-y-4 py-2",children:[n?(0,e.jsxs)("section",{"data-testid":"issue-plan-document",className:"space-y-2",children:[(0,e.jsxs)("div",{className:"flex items-center gap-1 text-xs text-ink-3",children:[`Revision ${n.latestRevisionNumber??1} · updated ${new Date(n.updatedAt).toLocaleString([],{month:"short",day:"numeric",hour:"numeric",minute:"2-digit"})}`,(0,e.jsx)(Rs,{issueId:t.id,docKey:"plan",panelOpen:c,onToggle:a(()=>o(w=>!w),"onToggle")})]}),(0,e.jsx)(Ps,{issueId:t.id,doc:{key:"plan",latestRevisionId:n.latestRevisionId,latestRevisionNumber:n.latestRevisionNumber},bodyMarkdown:n.body,draftDirty:!1,draftConflicted:!1,historicalPreview:!1,locationHash:l.hash,panelOpen:c,onPanelOpenChange:o,panelPlacement:"popover",children:(0,e.jsx)(Ts,{children:n.body})})]}):null,h?(0,e.jsx)(Vo,{issueId:t.id,issueIdentifier:t.identifier}):null]})}a(Ho,"IssuePropertiesPlansTab");function T(t,...n){for(const r of n){const l=t?.[r];if(typeof l=="string"&&l.trim())return l.trim()}return""}a(T,"artifactText");function ue(t,...n){for(const r of n){const l=t?.[r];if(typeof l=="number"&&Number.isFinite(l)&&l>=0)return l}return null}a(ue,"artifactNumber");function ae(t){if(!t||/[\u0000-\u0020\\]/.test(t))return"";if(t.startsWith("/")&&!t.startsWith("//"))return t;try{const n=new URL(t);return["https:","http:"].includes(n.protocol)?t:""}catch{return""}}a(ae,"artifactUrl");function Ct(t){return/^\/api\/attachments\/[a-zA-Z0-9-]+\/content$/.test(t)?t:""}a(Ct,"artifactPreviewUrl");function Go(t){return t===null?"":t<1024?`${t} B`:t<1048576?`${(t/1024).toFixed(1)} KB`:`${(t/1048576).toFixed(1)} MB`}a(Go,"artifactFileSize");var Xo=50;function Yo(t){if(new TextEncoder().encode(t).length>1048576)throw new Error("CSV is too large to preview. Download the file to view it.");const n=[];let r=[],l="",c=!1,o=!1;const x=a(()=>{if(r.push(l),r.length>Xo)throw new Error("CSV has too many columns to preview. Download the file to view it.");l="",o=!1},"endField"),u=t.replace(/^\uFEFF/,"");for(let h=0;h<u.length;h++){const b=u[h];if(c)b==='"'&&u[h+1]==='"'?(l+='"',h++):b==='"'?(c=!1,o=!0):l+=b;else if(b===",")x();else if(b===`
|
|
2
|
-
`||b==="\r"){if(x(),n.push(r),r=[],b==="\r"&&u[h+1]===`
|
|
3
|
-
`&&h++,n.length>201)break}else if(b==='"'&&!l&&!o)c=!0;else{if(o||b==='"')throw new Error("CSV could not be previewed. Download the file to view it.");l+=b}}if(c)throw new Error("CSV could not be previewed. Download the file to view it.");return(l||r.length||o)&&(x(),n.push(r)),{columns:n[0]??[],rows:n.slice(1,201),truncated:n.length>201}}a(Yo,"parseArtifactCsv");async function Zo(t,n){if(!/^\/api\/attachments\/[a-zA-Z0-9-]+\/content$/.test(t))throw new Error("CSV preview is unavailable. Download the file to view it.");const r=await fetch(t,{credentials:"same-origin",redirect:"error",signal:n});if(!r.ok)throw new Error("CSV could not be loaded. Try again or download the file.");if(Number(r.headers.get("content-length"))>1048576)throw await r.body?.cancel(),new Error("CSV is too large to preview. Download the file to view it.");const l=r.body?.getReader();if(!l)throw new Error("CSV could not be loaded. Try again or download the file.");const c=new TextDecoder;let o="",x=0;try{for(;;){const{value:u,done:h}=await l.read();if(h)break;if(x+=u.byteLength,x>1048576)throw await l.cancel(),new Error("CSV is too large to preview. Download the file to view it.");o+=c.decode(u,{stream:!0})}o+=c.decode()}finally{l.releaseLock()}return Yo(o)}a(Zo,"loadArtifactCsv");function re({title:t,summary:n}){return(0,e.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,e.jsx)("h2",{className:"break-words text-lg font-semibold leading-snug",children:t}),n&&(0,e.jsx)("p",{className:"whitespace-pre-wrap text-sm leading-relaxed text-ink-3",children:n})]})}a(re,"Identity");function le({author:t,updatedAt:n,action:r,statusBadge:l}){return(0,e.jsxs)("footer",{className:"flex flex-wrap items-center justify-between gap-3 border-t border-line px-5 py-3",children:[(0,e.jsx)("span",{className:"text-xs text-ink-3",children:[t,n].filter(Boolean).join(" · ")}),l,r]})}a(le,"Footer");function ie({children:t}){return(0,e.jsx)("article",{className:"w-full overflow-hidden rounded-lg border border-line bg-bg-2 text-ink",children:t})}a(ie,"Card");function Ke({url:t,children:n}){return t?(0,e.jsx)(W,{variant:"secondary",size:"sm",asChild:!0,children:(0,e.jsxs)("a",{href:t,target:"_blank",rel:"noreferrer",children:[n,(0,e.jsx)(Ta,{className:"size-3"})]})}):(0,e.jsx)(W,{variant:"secondary",size:"sm",disabled:!0,children:n})}a(Ke,"SourceLink");function Es({title:t,description:n,action:r,children:l}){return(0,e.jsxs)(Mi,{children:[(0,e.jsx)(Ei,{asChild:!0,children:(0,e.jsx)(W,{size:"sm",variant:"secondary",children:r})}),(0,e.jsxs)(Wi,{className:"max-h-dvh overflow-y-auto sm:max-w-2xl",children:[(0,e.jsxs)(Oi,{children:[(0,e.jsx)(_i,{className:"pr-6",children:t}),(0,e.jsx)($i,{children:n})]}),l]})]})}a(Es,"Viewer");function Ka({additions:t,deletions:n,filesChanged:r}){return(0,e.jsxs)("div",{className:"flex flex-wrap gap-2 font-mono text-xs",children:[t!=null&&(0,e.jsxs)("span",{className:"text-(--status-task-icon-done)",children:["+",t.toLocaleString("en-US")]}),n!=null&&(0,e.jsxs)("span",{className:"text-(--status-task-icon-blocked)",children:["−",n.toLocaleString("en-US")]}),r!=null&&(0,e.jsxs)("span",{className:"text-ink-3",children:[r," ",r===1?"file":"files"]})]})}a(Ka,"Diff");var Jo={passed:"Checks passed",pending:"Checks pending",failed:"Checks failed",unknown:"Checks not available"},ec={open:"Open",draft:"Draft",merged:"Merged",closed:"Closed",unknown:"State unknown"};function tc(t){const{number:n,repository:r,sourceBranch:l,targetBranch:c,state:o,checks:x,evidenceSource:u,reviewSummary:h,url:b}=t,w={passed:As,pending:Sa,failed:vi,unknown:li}[x],k={passed:"text-(--status-task-icon-done)",pending:"text-ink-3",failed:"text-(--status-task-icon-blocked)",unknown:"text-ink-3"}[x];return(0,e.jsxs)(ie,{children:[(0,e.jsxs)("div",{className:"flex flex-col gap-4 p-5",children:[(0,e.jsxs)("div",{className:"flex items-center justify-between gap-2",children:[(0,e.jsxs)("span",{className:"flex items-center gap-2 text-xs text-ink-3",children:[(0,e.jsx)(ki,{className:"size-4"})," Pull request"," ",n!=null&&(0,e.jsxs)("span",{className:"font-mono",children:["#",n]})]}),(0,e.jsxs)(se,{variant:"outline",className:o==="merged"?"text-(--status-task-icon-done)":"text-ink-3",children:[o==="merged"&&(0,e.jsx)(oi,{className:"size-3"}),ec[o]]})]}),(0,e.jsx)(re,{...t}),(0,e.jsxs)("div",{className:"flex flex-col gap-2 text-xs text-ink-3",children:[(0,e.jsx)("span",{children:r}),(l||c)&&(0,e.jsxs)("div",{className:"flex min-w-0 items-center gap-2",children:[(0,e.jsx)(It,{className:"size-3.5 shrink-0"}),(0,e.jsx)("code",{className:"min-w-0 truncate",title:l,children:l}),l&&c&&(0,e.jsx)(ni,{className:"size-3.5 shrink-0"}),(0,e.jsx)("code",{className:"min-w-0 truncate",title:c,children:c})]})]}),(0,e.jsx)(Ka,{...t})]}),(0,e.jsxs)("div",{className:"flex flex-col gap-2 border-t border-line px-5 py-4",children:[(0,e.jsxs)("span",{className:"flex items-center gap-2 text-xs",children:[(0,e.jsx)(w,{className:`size-4 ${k}`}),Jo[x]]}),h&&(0,e.jsx)("p",{className:"text-xs leading-relaxed",children:h}),u&&(0,e.jsxs)("p",{className:"text-xs text-ink-3",children:["Source: ",u]})]}),(0,e.jsx)(le,{...t,action:(0,e.jsx)(Ke,{url:b,children:"Open pull request"})})]})}a(tc,"PullRequestCard");function sc(t){return(0,e.jsxs)(ie,{children:[(0,e.jsxs)("div",{className:"flex flex-col gap-4 p-5",children:[(0,e.jsxs)("span",{className:"flex items-center gap-2 text-xs text-ink-3",children:[(0,e.jsx)(no,{className:"size-4"})," Commit"," ",(0,e.jsx)("code",{title:t.sha,children:t.sha.slice(0,8)})]}),(0,e.jsx)(re,{...t}),(0,e.jsx)("span",{className:"break-words text-xs text-ink-3",children:t.repository}),t.branch&&(0,e.jsxs)("span",{className:"flex items-center gap-2 text-xs text-ink-3",children:[(0,e.jsx)(It,{className:"size-3.5"}),(0,e.jsx)("code",{className:"min-w-0 truncate",children:t.branch})]}),(0,e.jsx)(Ka,{...t})]}),(0,e.jsx)(le,{...t,action:(0,e.jsx)(Ke,{url:t.url,children:"View commit"})})]})}a(sc,"CommitCard");function fa({body:t}){return(0,e.jsx)("div",{className:"flex flex-col gap-3 text-sm leading-relaxed",children:(0,e.jsx)(di,{components:{h1:a(({children:n})=>(0,e.jsx)("h3",{className:"text-lg font-semibold",children:n}),"h1"),h2:a(({children:n})=>(0,e.jsx)("h3",{className:"text-base font-semibold",children:n}),"h2"),h3:a(({children:n})=>(0,e.jsx)("h4",{className:"text-sm font-semibold",children:n}),"h3"),ul:a(({children:n})=>(0,e.jsx)("ul",{className:"list-disc space-y-1 pl-5",children:n}),"ul"),ol:a(({children:n})=>(0,e.jsx)("ol",{className:"list-decimal space-y-1 pl-5",children:n}),"ol"),img:a(({src:n,alt:r})=>{const l=Ct(typeof n=="string"?n:"");if(l)return(0,e.jsx)("img",{src:l,alt:r??"",loading:"lazy",className:"h-auto max-w-full"});const c=ae(typeof n=="string"?n:"");return c?(0,e.jsx)("a",{href:c,target:"_blank",rel:"noreferrer",className:"underline underline-offset-4",children:r||"Open image"}):(0,e.jsx)("span",{children:r})},"img"),a:a(({children:n,href:r})=>(0,e.jsx)("a",{href:r,target:"_blank",rel:"noreferrer",className:"underline underline-offset-4",children:n}),"a")},children:t})})}a(fa,"Markdown");function Va(t){return(0,e.jsxs)(ie,{children:[t.body&&(0,e.jsx)("div",{className:"max-h-52 overflow-hidden border-b border-line bg-bg-3/20 p-5",inert:!0,children:(0,e.jsx)(fa,{body:t.body.slice(0,4e3)})}),(0,e.jsxs)("div",{className:"flex flex-col gap-3 p-5",children:[(0,e.jsxs)("span",{className:"flex items-center gap-2 text-xs text-ink-3",children:[(0,e.jsx)(Os,{className:"size-4"})," Markdown",t.revision!=null&&` · revision ${t.revision}`]}),(0,e.jsx)(re,{...t}),(0,e.jsx)("span",{className:"break-all font-mono text-xs text-ink-3",children:t.filename})]}),(0,e.jsx)(le,{...t,action:(0,e.jsxs)("div",{className:"flex flex-wrap items-center gap-2",children:[t.actions,t.onOpen?(0,e.jsx)(W,{size:"sm",variant:"secondary","aria-expanded":t.expanded,onClick:t.onOpen,children:t.expanded?"Close document":"Read document"}):(0,e.jsx)(Es,{title:t.title,description:t.filename,action:"Read document",children:(0,e.jsx)(fa,{body:t.body})})]})})]})}a(Va,"DocumentCard");function ga({columns:t,rows:n}){return(0,e.jsxs)("div",{className:"overflow-x-auto",children:[(0,e.jsxs)("table",{className:"w-full text-left text-xs",children:[(0,e.jsx)("thead",{children:(0,e.jsx)("tr",{children:t.map((r,l)=>(0,e.jsx)("th",{className:"border-b border-line px-3 py-3 font-medium text-ink-3",children:r},l))})}),(0,e.jsx)("tbody",{children:n.map((r,l)=>(0,e.jsx)("tr",{children:t.map((c,o)=>(0,e.jsx)("td",{className:"border-b border-line/50 px-3 py-3",children:r[o]??""},o))},l))})]}),n.length===0&&(0,e.jsx)("p",{className:"p-4 text-xs text-ink-3",children:"No rows"})]})}a(ga,"DataTable");function nc(t){const n=[t.columns,...t.rows].map(r=>r.map(l=>`"${String(l).replaceAll('"','""')}"`).join(",")).join(`
|
|
4
|
-
`);return(0,e.jsxs)(ie,{children:[(0,e.jsx)("div",{className:"border-b border-line bg-bg-3/20 px-2",children:(0,e.jsx)(ga,{columns:t.columns,rows:t.rows.slice(0,3)})}),(0,e.jsxs)("div",{className:"flex flex-col gap-3 p-5",children:[(0,e.jsxs)("span",{className:"flex items-center gap-2 text-xs text-ink-3",children:[(0,e.jsx)(Mo,{className:"size-4"})," CSV · ",t.truncated?"First ":"",t.rows.length," ",t.rows.length===1?"row":"rows"," ·"," ",t.columns.length," ",t.columns.length===1?"column":"columns"]}),(0,e.jsx)(re,{...t}),(0,e.jsx)("span",{className:"break-all font-mono text-xs text-ink-3",children:t.filename})]}),(0,e.jsx)(le,{...t,action:(0,e.jsxs)("div",{className:"flex flex-wrap items-center gap-2",children:[t.actions,(0,e.jsxs)(Es,{title:t.title,description:t.filename,action:"View data",children:[(0,e.jsx)(ga,{...t}),(0,e.jsx)(W,{asChild:!0,variant:"secondary",size:"sm",className:"w-fit",children:(0,e.jsx)("a",{download:t.filename,href:t.downloadUrl||`data:text/csv;charset=utf-8,${encodeURIComponent(n)}`,children:"Download CSV"})})]})]})})]})}a(nc,"DataCard");function Cs({src:t,alt:n}){const[r,l]=(0,d.useState)(null);return t&&r!==t?(0,e.jsx)("img",{src:t,alt:n,onError:a(()=>l(t),"onError"),loading:"lazy",className:"aspect-video w-full object-contain"}):(0,e.jsxs)("div",{className:"flex aspect-video flex-col items-center justify-center gap-3 text-ink-3",children:[(0,e.jsx)(Oa,{className:"size-8"}),(0,e.jsx)("span",{className:"text-xs",children:"No preview available"})]})}a(Cs,"ImageContent");function ac(t){return(0,e.jsxs)(ie,{children:[(0,e.jsx)("div",{className:"border-b border-line bg-bg-3/20",children:(0,e.jsx)(Cs,{src:t.imageUrl,alt:t.alt})}),(0,e.jsxs)("div",{className:"flex flex-col gap-3 p-5",children:[(0,e.jsxs)("span",{className:"flex items-center gap-2 text-xs text-ink-3",children:[(0,e.jsx)(Oa,{className:"size-4"})," Image",t.width&&t.height?` · ${t.width} × ${t.height}`:""]}),(0,e.jsx)(re,{...t}),(0,e.jsx)("span",{className:"break-all font-mono text-xs text-ink-3",children:t.filename})]}),(0,e.jsx)(le,{...t,action:t.onOpen?(0,e.jsx)(W,{size:"sm",variant:"secondary","aria-label":`View image: ${t.title}`,onClick:t.onOpen,children:"View image"}):(0,e.jsx)(Es,{title:t.title,description:t.filename,action:"View image",children:(0,e.jsx)(Cs,{src:t.imageUrl,alt:t.alt})})})]})}a(ac,"ImageCard");function rc(t){return(0,e.jsxs)(ie,{children:[(0,e.jsx)("video",{src:t.videoUrl||void 0,poster:t.posterUrl||void 0,controls:!0,preload:"metadata","aria-label":t.title,className:"aspect-video w-full border-b border-line bg-bg-3"},t.videoUrl),(0,e.jsxs)("div",{className:"flex flex-col gap-3 p-5",children:[(0,e.jsxs)("span",{className:"flex items-center gap-2 text-xs text-ink-3",children:[(0,e.jsx)(bi,{className:"size-4"})," Video",t.duration&&` · ${t.duration}`]}),(0,e.jsx)(re,{...t}),(0,e.jsx)("span",{className:"break-all font-mono text-xs text-ink-3",children:t.filename})]}),(0,e.jsx)(le,{...t,action:t.onOpen?(0,e.jsx)(W,{size:"sm",variant:"secondary","aria-label":`Open video: ${t.title}`,onClick:t.onOpen,children:"Open video"}):(0,e.jsx)(Ke,{url:t.videoUrl,children:"Open video"})})]})}a(rc,"VideoCard");function lc(t){return(0,e.jsxs)(ie,{children:[t.imageUrl&&(0,e.jsx)("div",{className:"border-b border-line bg-bg-3/20",children:(0,e.jsx)(Cs,{src:t.imageUrl,alt:t.imageAlt})}),(0,e.jsxs)("div",{className:"flex flex-col gap-4 p-5",children:[(0,e.jsxs)("span",{className:"flex items-center gap-2 text-xs text-ink-3",children:[(0,e.jsx)(Hl,{className:"size-4"})," Link preview"]}),(0,e.jsx)(re,{...t}),(0,e.jsx)("span",{className:"break-all font-mono text-xs text-ink-3",children:t.url})]}),(0,e.jsx)(le,{...t,action:(0,e.jsx)(Ke,{url:t.url,children:"Open link"})})]})}a(lc,"LinkPreviewCard");function ic(t){return(0,e.jsxs)(ie,{children:[(0,e.jsxs)("div",{className:"flex flex-col gap-4 p-5",children:[(0,e.jsxs)("span",{className:"flex items-center gap-2 text-xs text-ink-3",children:[(0,e.jsx)(pi,{className:"size-4"})," File",t.fileSize&&` · ${t.fileSize}`]}),(0,e.jsx)(re,{...t}),(0,e.jsxs)("div",{className:"flex flex-col gap-1",children:[(0,e.jsx)("span",{className:"break-all font-mono text-xs",children:t.filename}),(0,e.jsx)("span",{className:"break-all text-xs text-ink-3",children:t.contentType})]}),t.entries.length>0&&(0,e.jsx)("ul",{className:"flex flex-col gap-2 border-t border-line pt-4",children:t.entries.map((n,r)=>(0,e.jsxs)("li",{className:"flex items-center gap-2 font-mono text-xs text-ink-3",children:[(0,e.jsx)(Os,{className:"size-3.5 shrink-0"}),n]},r))})]}),(0,e.jsx)(le,{...t,action:(0,e.jsxs)("div",{className:"flex flex-wrap items-center gap-2",children:[t.actions,t.openUrl&&(0,e.jsx)(Ke,{url:t.openUrl,children:"Open file"}),t.downloadUrl?(0,e.jsx)(W,{asChild:!0,size:"sm",variant:"secondary",children:(0,e.jsx)("a",{href:t.downloadUrl,download:t.filename,children:"Download file"})}):(0,e.jsx)(W,{size:"sm",variant:"secondary",disabled:!0,children:"Download unavailable"})]})})]})}a(ic,"FileCard");function Qa(t){const{metadata:n=null,attachmentId:r}=t,l=(0,d.useContext)(fi),c=(0,d.useContext)(_a),o=c&&r&&bo({contentType:t.contentType,originalFilename:t.filename})?(0,e.jsx)(W,{variant:"secondary",size:"sm","aria-label":`Open in tab: ${t.title}`,onClick:a(()=>c(r,t.filename),"onClick"),children:"Open in tab"}):null,[x,u]=(0,d.useState)(!1),[h,b]=(0,d.useState)(!1),w=Po(t.contentType,t.filename),k=Ro(t.contentType,t.filename),$=t.contentType.split(";")[0]==="text/csv"||/\.csv$/i.test(t.filename),v=t.byteSize!==null&&t.byteSize>1048576,Q=$&&/^\/api\/attachments\/[a-zA-Z0-9-]+\/content$/.test(t.contentPath),R=A({queryKey:["artifact-csv",t.id,t.contentPath,t.updatedAt],queryFn:a(({signal:P})=>Zo(t.contentPath,P),"queryFn"),enabled:Q&&!v&&h,retry:!1,staleTime:1/0}),S=ae(t.contentPath),N=ae(t.downloadPath),X=a(()=>{l?.(S)||u(!0)},"onOpen");return(w||k)&&S?(0,e.jsxs)(e.Fragment,{children:[k?(0,e.jsx)(rc,{...t,videoUrl:S,posterUrl:Ct(T(n,"posterUrl")),duration:T(n,"durationLabel"),onOpen:X}):(0,e.jsx)(ac,{...t,imageUrl:S,alt:T(n,"alt")||t.title,width:ue(n,"width"),height:ue(n,"height"),onOpen:X}),x&&(0,e.jsx)(jo,{items:[{id:t.id,contentPath:S,contentType:t.contentType,originalFilename:t.filename,downloadPath:N}],initialIndex:0,open:!0,onOpenChange:u})]}):Q&&!v&&R.data?(0,e.jsx)(nc,{...t,...R.data,downloadUrl:N,actions:(0,e.jsxs)(e.Fragment,{children:[o,N?(0,e.jsx)(W,{asChild:!0,size:"sm",variant:"secondary",children:(0,e.jsx)("a",{href:N,download:t.filename,children:"Download file"})}):null]})}):(0,e.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,e.jsx)(ic,{...t,fileSize:Go(t.byteSize),entries:[],downloadUrl:N,openUrl:ae(t.openPath)||S,actions:(0,e.jsxs)(e.Fragment,{children:[o,Q&&!v&&!R.isError?(0,e.jsx)(W,{variant:"secondary",size:"sm",disabled:R.isFetching,onClick:a(()=>b(!0),"onClick"),children:R.isFetching?"Loading preview…":"Preview data"}):null]})}),$&&(v||R.isError||!Q)&&(0,e.jsxs)("div",{className:"px-2 text-xs text-ink-3",role:"status",children:[v?"CSV is too large to preview. Download the file to view it.":R.isError?R.error.message:"CSV preview is unavailable. Download the file to view it.",R.isError&&(0,e.jsx)(W,{variant:"ghost",size:"sm",onClick:a(()=>{R.refetch()},"onClick"),children:"Retry preview"})]})]})}a(Qa,"IssueArtifactFile");function oc({workProduct:t,author:n}){const r=t.metadata,l=ae(za(t)),c=gi(t.type,t.status,t.reviewState),o={title:t.title,summary:t.summary??"",author:n,updatedAt:M(t.updatedAt),statusBadge:t.healthStatus==="unhealthy"?(0,e.jsx)(se,{variant:"destructive",children:"Unhealthy"}):c?(0,e.jsx)(se,{variant:"outline",children:c.label}):void 0},x={additions:ue(r,"additions"),deletions:ue(r,"deletions"),filesChanged:ue(r,"changedFiles","files")};if(t.type==="pull_request"){const u=T(r,"state")||(t.status==="active"?"open":t.status),h=T(r,"checks");return(0,e.jsx)(tc,{...o,...x,number:ue(r,"number","pullRequestNumber"),repository:T(r,"repo","repository","repositoryName"),sourceBranch:T(r,"headRef","head","headBranch","branch"),targetBranch:T(r,"baseRef","base","baseBranch"),state:u==="open"||u==="draft"||u==="merged"||u==="closed"?u:"unknown",checks:h==="passed"||h==="failed"||h==="pending"?h:"unknown",evidenceSource:T(r,"evidenceSource"),reviewSummary:T(r,"reviewSummary"),url:l,statusBadge:t.reviewState==="changes_requested"||t.reviewState==="needs_board_review"||t.status==="ready_for_review"||t.status==="changes_requested"||t.status==="failed"||t.healthStatus==="unhealthy"?o.statusBadge:void 0})}if(t.type==="commit")return(0,e.jsx)(sc,{...o,...x,sha:T(r,"sha","shortSha")||t.externalId||"",repository:T(r,"repo","repository","repositoryName"),branch:T(r,"branch","branchName"),url:l});if(t.type==="preview_url")return(0,e.jsx)(lc,{...o,url:l,imageUrl:Ct(T(r,"imageUrl")),imageAlt:T(r,"imageAlt")||t.title});if(t.type==="artifact"){const u=Na(t),h=ae(u?.contentPath||T(r,"contentPath")||l);return(0,e.jsx)(Qa,{...o,id:t.id,attachmentId:u?.attachmentId,filename:T(r,"originalFilename")||t.title,contentType:T(r,"contentType"),contentPath:h,openPath:ae(T(r,"openPath"))||l||h,downloadPath:ae(T(r,"downloadPath"))||(Ct(h)?Ma({contentPath:h}):l||h),byteSize:ue(r,"byteSize","size"),metadata:r})}return(0,e.jsx)(ji,{workProduct:t,href:l||null})}a(oc,"IssueWorkProductArtifactCard");function cc(t){switch(t){case"active":case"draft":return{label:"In progress",cssVar:"--status-task-in_progress"};case"ready_for_review":return{label:"For review",cssVar:"--status-task-in_review"};case"approved":case"merged":return{label:"Done",cssVar:"--status-task-done"};case"changes_requested":return{label:"Changes requested",cssVar:"--status-task-todo"};case"failed":return{label:"Failed",cssVar:"--status-task-blocked"};default:return null}}a(cc,"workProductStatusBadge");function dc({issueId:t,workProduct:n,metadata:r,reviewDoc:l,author:c,openRequestId:o}){const x=(0,d.useContext)(_a),[u,h]=(0,d.useState)(!1),[b,w]=(0,d.useState)(!1),k=(0,d.useRef)(null),$=Ss(),v=Ia(),Q=cc(n.status),R=r.byteSize>Ml,S=Ce({mutationFn:a(()=>E.ensureWorkProductReviewDocument(t,n.id),"mutationFn"),onSuccess:a(async()=>{await v.invalidateQueries({queryKey:j.issues.documents(t)})},"onSuccess")}),N=a(()=>{l||R||S.isPending||S.isSuccess||S.isError||S.mutate()},"requestPreview"),X=a(()=>{h(H=>(H||N(),!H))},"handleToggle");(0,d.useEffect)(()=>{o!==void 0&&h(!0)},[o]),(0,d.useEffect)(()=>{o===void 0||!u||k.current?.scrollIntoView({behavior:"smooth",block:"center"})},[u,o]),(0,d.useEffect)(()=>{o!==void 0&&N()},[o,l]);const P=S.error instanceof Aa&&[413,415,422].includes(S.error.status);let p;return R?p=(0,e.jsx)("p",{className:"text-sm text-ink-3",children:"This Markdown file is too large to preview. Use Raw or Download instead."}):l?p=l.body.trim().length>0?(0,e.jsx)(Ps,{issueId:t,doc:l,bodyMarkdown:l.body,draftDirty:!1,draftConflicted:!1,historicalPreview:!1,locationHash:$.hash,panelOpen:b,onPanelOpenChange:w,panelPlacement:"popover",children:(0,e.jsx)(Ts,{children:l.body})}):(0,e.jsx)("p",{className:"text-sm text-ink-3",children:"Document is empty."}):S.isError?p=(0,e.jsxs)("div",{className:"flex flex-col items-start gap-1.5",children:[(0,e.jsx)("p",{className:"text-sm text-ink-3",children:P?"This file can't be previewed as Markdown. Use Raw or Download instead.":"Preview failed to load."}),P?null:(0,e.jsx)("button",{type:"button",className:"rounded-md border border-line px-2 py-0.5 text-(length:--text-micro) text-ink-3 hover:bg-bg-3/50",onClick:a(()=>{S.reset(),S.mutate()},"onClick"),children:"Retry"})]}):p=(0,e.jsx)("p",{className:"text-sm text-ink-3",children:"Preparing preview…"}),(0,e.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,e.jsx)("div",{ref:k,children:(0,e.jsx)(Va,{title:n.title,summary:n.summary??"",author:c,updatedAt:M(n.updatedAt),filename:r.originalFilename??n.title,revision:l?.latestRevisionNumber,body:l?.body??"",onOpen:X,expanded:u,statusBadge:Q?(0,e.jsx)("span",{className:"text-xs text-ink-3",children:Q.label}):void 0,actions:(0,e.jsxs)(e.Fragment,{children:[l?(0,e.jsx)(Rs,{issueId:t,docKey:l.key,panelOpen:b,onToggle:a(()=>{h(!0),w(H=>!H)},"onToggle")}):null,x?(0,e.jsx)("button",{type:"button",onClick:a(()=>x(r.attachmentId,r.originalFilename??n.title),"onClick"),"aria-label":`Open in tab: ${n.title}`,title:"Open in tab",className:"shrink-0 px-1.5 py-1.5 text-ink-3 hover:text-ink",children:(0,e.jsx)(Os,{className:"h-3 w-3"})}):null,(0,e.jsx)("a",{href:r.openPath,target:"_blank",rel:"noreferrer","aria-label":`Open raw ${n.title}`,title:"Open raw",className:"shrink-0 px-1.5 py-1.5 text-ink-3 hover:text-ink",children:(0,e.jsx)(Ta,{className:"h-3 w-3"})}),(0,e.jsx)("a",{href:r.downloadPath,"aria-label":`Download ${n.title}`,title:"Download",className:"shrink-0 py-1.5 pr-2 pl-0.5 text-ink-3 hover:text-ink",children:(0,e.jsx)(io,{className:"h-3 w-3"})})]})})}),u?(0,e.jsx)("div",{className:"border-t border-line px-2.5 py-2",children:p}):null]})}a(dc,"MarkdownWorkProductRow");function uc({issueId:t,doc:n,author:r,openRequestId:l,onOpen:c}){const[o,x]=(0,d.useState)(!1),[u,h]=(0,d.useState)(!1),b=(0,d.useRef)(null),w=Ss();return(0,d.useEffect)(()=>{c||l===void 0||x(!0)},[c,l]),(0,d.useEffect)(()=>{c||l===void 0||!o||b.current?.scrollIntoView({behavior:"smooth",block:"center"})},[o,c,l]),(0,e.jsxs)("div",{ref:b,children:[(0,e.jsx)(Va,{title:Bo(n),summary:"",author:r,updatedAt:M(n.updatedAt),filename:`${n.key}.md`,revision:n.latestRevisionNumber,body:n.body,onOpen:c??(()=>x(k=>!k)),expanded:c?void 0:o,actions:c?void 0:(0,e.jsx)(Rs,{issueId:t,docKey:n.key,panelOpen:u,onToggle:a(()=>{x(!0),h(k=>!k)},"onToggle")})}),o?(0,e.jsx)("div",{className:"border-t border-line px-2.5 py-2",children:n.body.trim().length>0?(0,e.jsx)(Ps,{issueId:t,doc:n,bodyMarkdown:n.body,draftDirty:!1,draftConflicted:!1,historicalPreview:!1,locationHash:w.hash,panelOpen:u,onPanelOpenChange:h,panelPlacement:"popover",children:(0,e.jsx)(Ts,{children:n.body})}):(0,e.jsx)("p",{className:"text-sm text-ink-3",children:"Document is empty."})}):null]})}a(uc,"DocumentRow");function xc({issue:t,documentDeepLink:n,onOpenDocument:r}){const{data:l,isPending:c,isError:o,refetch:x}=A({queryKey:j.issues.attachments(t.id),queryFn:a(()=>E.listAttachments(t.id),"queryFn")}),{data:u,isPending:h,isError:b,refetch:w}=Ba(t.id),{data:k,isPending:$,isError:v,refetch:Q}=Ua(t.id),{data:R}=A({queryKey:j.issues.runs(t.id),queryFn:a(()=>qi.runsForIssue(t.id),"queryFn")}),{data:S}=A({queryKey:j.agents.list(t.companyId),queryFn:a(()=>Wa.list(t.companyId),"queryFn")}),N=u??[],X=(k??[]).filter(f=>!va(f.key)),P=new Map((k??[]).map(f=>[f.key,f])),p=Da(l,u),H=(0,d.useMemo)(()=>new Map((R??[]).map(f=>[f.runId,f])),[R]),Ie=(0,d.useMemo)(()=>new Map((S??[]).map(f=>[f.id,f])),[S]),Z=[...(0,d.useMemo)(()=>[...N.map(f=>({kind:"work_product",id:f.id,runId:f.createdByRunId,date:new Date(f.createdAt),value:f})),...X.map(f=>({kind:"document",id:f.id,runId:null,date:new Date(f.createdAt),value:f})),...p.map(f=>({kind:"attachment",id:f.id,runId:null,date:new Date(f.createdAt),value:f}))],[X,p,N]).reduce((f,z)=>{const Y=z.runId??"other",O=f.get(Y)??[];return O.push(z),f.set(Y,O),f},new Map)].map(([f,z])=>({runId:f,rows:z.sort((Y,O)=>O.date.getTime()-Y.date.getTime()),date:f==="other"?z[0]?.date??new Date(0):new Date(H.get(f)?.startedAt??z[0]?.date??0)})).sort((f,z)=>z.date.getTime()-f.date.getTime()),xe=o||b||v?(0,e.jsxs)("div",{role:"alert",className:"px-1 py-3 text-sm text-ink-3",children:["Some artifacts could not be loaded.",(0,e.jsx)("button",{className:"ml-2 underline",onClick:a(()=>{x(),w(),Q()},"onClick"),children:"Retry"})]}):c||h||$?(0,e.jsx)("p",{role:"status",className:"px-1 py-3 text-sm text-ink-3",children:"Loading artifacts…"}):null;return N.length===0&&X.length===0&&p.length===0?xe||(0,e.jsx)("div",{className:"px-1 py-6 text-sm text-ink-3",children:"No artifacts yet. Work products, documents, and agent-produced files will appear here."}):(0,e.jsxs)("div",{className:"@container flex flex-col gap-3 py-2",children:[xe,Z.map(f=>{const z=f.runId==="other"?null:H.get(f.runId),Y=z?Ie.get(z.agentId):null;return(0,e.jsxs)("section",{className:"flex flex-col gap-1.5",children:[f.runId!=="other"?(0,e.jsxs)("header",{className:"flex items-baseline justify-between gap-2 px-1",children:[(0,e.jsx)("h3",{className:"truncate text-xs font-medium text-ink",children:Y?.name??`Run ${f.runId.slice(0,8)}`}),(0,e.jsx)("time",{className:"shrink-0 text-(length:--text-micro) text-ink-3",dateTime:f.date.toISOString(),children:M(f.date)})]}):null,(0,e.jsx)("ul",{className:"grid grid-cols-1 gap-3",children:f.rows.map(O=>{if(O.kind==="work_product"){const L=O.value,Qe=El(L);if(Qe){const He=$l(L.id);return(0,e.jsx)("li",{className:"col-span-full min-w-0",children:(0,e.jsx)(dc,{issueId:t.id,workProduct:L,author:Y?.name??"",metadata:Qe,reviewDoc:P.get(He),openRequestId:n?.documentKey===He?n.requestId:void 0})},O.id)}return(0,e.jsx)("li",{className:"col-span-full min-w-0",children:(0,e.jsx)(oc,{workProduct:L,author:Y?.name??""})},O.id)}if(O.kind==="document"){const L=O.value;return(0,e.jsx)("li",{className:"col-span-full min-w-0",children:(0,e.jsx)(uc,{issueId:t.id,doc:L,author:Ie.get(L.updatedByAgentId??L.createdByAgentId??"")?.name??"",onOpen:r?()=>r(L):void 0,openRequestId:n?.documentKey===L.key?n.requestId:void 0})},O.id)}const B=O.value,Ve=B.originalFilename??B.objectKey;return(0,e.jsx)("li",{className:"col-span-full min-w-0",children:(0,e.jsx)(Qa,{id:B.id,attachmentId:B.id,title:Ve,summary:"",author:Ie.get(B.createdByAgentId??"")?.name??"",updatedAt:M(B.updatedAt),filename:Ve,contentType:B.contentType,contentPath:B.contentPath,openPath:go(B),downloadPath:Ma(B),byteSize:B.byteSize})},O.id)})})]},f.runId)})]})}a(xc,"IssuePropertiesArtifactsTab");function ze({children:t,className:n,title:r,first:l,streamlined:c}){return(0,e.jsxs)("div",{className:n,"data-property-section":"true",children:[r?(0,e.jsx)("div",{className:g(c?"pb-1 font-mono text-(length:--text-nano) font-normal uppercase tracking-wide text-ink-3/70":"text-xs font-semibold uppercase tracking-wide text-ink-3 pb-1",l?"pt-0":"pt-3"),children:r}):null,(0,e.jsx)("div",{className:"space-y-0.5",children:t})]})}a(ze,"PropertySection");function I({label:t,children:n,wrap:r}){return(0,e.jsxs)("div",{className:g("flex w-full min-w-0 gap-3 py-1",r?"items-start":"items-center"),"data-property-row":"true",children:[(0,e.jsx)("span",{className:g("text-xs text-ink-3 shrink-0 w-24 truncate",r&&"mt-0.5"),"data-property-label":typeof t=="string"?t:void 0,title:typeof t=="string"?t:void 0,children:t}),(0,e.jsx)("div",{className:g("flex min-w-0 flex-1 items-center gap-1.5",r&&"flex-col items-start"),"data-property-value":"true",children:n})]})}a(I,"PropertyRow");function ba({children:t,className:n,style:r,title:l}){return(0,e.jsx)(se,{variant:"outline",className:g("max-w-full min-w-0 justify-start truncate font-normal",n),style:r,title:l??(typeof t=="string"?t:void 0),children:t})}a(ba,"PropertyChip");function Ha({hiddenCount:t,expanded:n,onClick:r}){return!n&&t<=0?null:(0,e.jsx)("button",{type:"button",className:"inline-flex items-center gap-1 rounded-full border border-line px-2 py-0.5 text-xs text-ink-3 transition-colors hover:bg-bg-3/50 hover:text-ink",onClick:r,"aria-label":n?"Show fewer items":`Show ${t} more items`,children:n?"Show less":`Show ${t} more`})}a(Ha,"ExpandRelationListButton");var mc=5;function hc(t){return[...t].sort((n,r)=>{const l=ia(n.group.object?.statusTone);return ia(r.group.object?.statusTone)-l})}a(hc,"sortExternalObjectGroups");function Ga(t){const{pill:n}=t,r=n.displayKey?.trim();if(r)return r;if(n.providerKey==="github"){if(n.objectType==="pull_request")return"Github PR";if(n.objectType==="issue")return"Github Issue"}return ui(n.providerKey,n.objectType)}a(Ga,"externalObjectRowDisplayKey");function pc(t){const{pill:n}=t,r=Ga(t),l=mi(n.iconKey);return(0,e.jsxs)("span",{className:"inline-flex min-w-0 items-start gap-1",title:r,children:[l?(0,e.jsx)(l,{"aria-hidden":"true",className:"h-3.5 w-3.5 shrink-0 mt-0.5"}):null,(0,e.jsx)("span",{className:"truncate",children:r})]})}a(pc,"externalObjectRowLabel");function fc(t){if(!t)return null;try{const n=new URL(t);if(n.hostname!=="github.com")return null;const[,r,l,c,o]=n.pathname.split("/");return!r||!l||!o?null:c==="pull"?`PR ${o}`:c==="issues"?`Issue ${o}`:null}catch{return null}}a(fc,"githubObjectPropertyValue");function Ws(t){return Pa(t.pill)}a(Ws,"externalObjectPropertyStatusLabel");function Xa(t){const{pill:n}=t,r=Ws(t),l=(n.providerKey==="github"?fc(n.url):null)??n.displayTitle?.trim()??Ga(t);return r?`${l} - ${r}`:l}a(Xa,"externalObjectPropertyValue");function Ya(t){const n=Ws(t);return t.pill.statusIconKey==="git-merge"||n.toLowerCase()==="merged"}a(Ya,"isMergedExternalObject");function gc(t){return(Ya(t)?sa.merged:sa[t.pill.statusCategory]??"text-ink-3 border-ink-3").split(" ").filter(n=>n.startsWith("text-")).join(" ")}a(gc,"externalObjectPropertyTone");function bc(t){return Ya(t)?t.pill.statusIconKey??"git-merge":t.pill.statusIconKey}a(bc,"externalObjectPropertyStatusIconKey");function ja(t){const{pill:n,sourceLabels:r}=t,l=n.displayTitle??Xa(t);return r.length>0?`${l} - ${r.join(", ")}`:l}a(ja,"externalObjectPropertyTitle");function jc({group:t}){const{pill:n}=t,r=Ws(t),l=xi(n.providerKey),c=ci(n.objectType),o=Xa(t),x=(0,e.jsxs)(e.Fragment,{children:[(0,e.jsx)(Ra,{category:n.statusCategory,liveness:n.liveness,statusIconKey:bc(t),sizeClassName:"h-3.5 w-3.5",label:`${l}: ${r}`}),(0,e.jsx)("span",{className:"min-w-0 truncate",children:o})]}),u=g("inline-flex min-w-0 max-w-full items-center gap-1.5 text-sm no-underline pointer-coarse:min-h-6",gc(t),n.url?"hover:underline focus-visible:outline-none focus-visible:ring-(length:--rad-3) focus-visible:ring-focus":"");return n.url?(0,e.jsx)("a",{href:n.url,target:"_blank",rel:"noopener noreferrer","data-mention-kind":"external-object","data-external-status":n.statusCategory,"data-external-liveness":n.liveness,className:u,title:ja(t),"aria-label":`${l} ${c} - ${r}: ${n.displayTitle??o}`,children:x}):(0,e.jsx)("span",{"data-mention-kind":"external-object","data-external-status":n.statusCategory,"data-external-liveness":n.liveness,className:u,title:ja(t),"aria-label":`${l} ${c} - ${r}: ${n.displayTitle??o}`,children:x})}a(jc,"ExternalObjectPropertyValue");function yc({externalObjects:t,externalObjectsLoading:n,externalObjectsError:r,onRetryExternalObjects:l}){const[c,o]=(0,d.useState)(!1);if((0,d.useEffect)(()=>{o(!1)},[t]),r)return(0,e.jsx)(I,{label:"External objects",children:(0,e.jsxs)("span",{className:"text-xs text-ink-3",children:["Couldn't load external objects.",l?(0,e.jsxs)(e.Fragment,{children:[" ",(0,e.jsx)("button",{type:"button",className:"text-accent underline-offset-2 hover:underline",onClick:l,children:"Retry"})]}):null]})});if(n)return(0,e.jsx)(I,{label:"External objects",children:(0,e.jsx)("span",{className:"h-4 w-24 animate-pulse rounded bg-bg-3/40"})});if(!t||t.length===0)return null;const x=hc(t),u=c?x:x.slice(0,mc),h=x.length-u.length;return(0,e.jsxs)(e.Fragment,{children:[u.map(b=>{const{pill:w,group:k}=b;return(0,e.jsx)(I,{label:pc(b),children:(0,e.jsx)(jc,{group:b})},k.object?.id??`${w.providerKey}:${w.objectType}:${w.url??"anon"}`)}),c||h>0?(0,e.jsx)(I,{label:"References",children:(0,e.jsx)(Ha,{hiddenCount:h,expanded:c,onClick:a(()=>o(b=>!b),"onClick")})}):null]})}a(yc,"ExternalObjectRows");function kc(t){return t?t.executionWorkspacePolicy?.defaultProjectWorkspaceId??t.workspaces?.find(n=>n.isPrimary)?.id??t.workspaces?.[0]?.id??null:null}a(kc,"defaultProjectWorkspaceIdForProject");function wc(t){const n=t?.executionWorkspacePolicy?.enabled?t.executionWorkspacePolicy.defaultMode:null;return n==="isolated_workspace"||n==="operator_branch"?n:n==="adapter_default"?"agent_default":"shared_workspace"}a(wc,"defaultExecutionWorkspaceModeForProject");function vc(t){return t?.primaryWorkspace?.id??t?.workspaces.find(n=>n.isPrimary)?.id??t?.workspaces[0]?.id??null}a(vc,"primaryWorkspaceIdForProject");function Nc(t){const n=t.issue.currentExecutionWorkspace??null,r=vc(t.project),l=n?.projectWorkspaceId??t.issue.projectWorkspaceId??null;return n?n.mode!=="shared_workspace"?!1:!l||!r?!0:n.mode==="shared_workspace"&&l===r:!l||!r?!0:l===r}a(Nc,"isMainIssueWorkspace");function ya(t){if(!t)return"";const n=new Date(t);if(Number.isNaN(n.getTime()))return"";const r=n.getTimezoneOffset()*6e4;return new Date(n.getTime()-r).toISOString().slice(0,16)}a(ya,"toDateTimeLocalValue");function Cc(t){return typeof t=="object"&&t!==null&&!Array.isArray(t)?t:{}}a(Cc,"asRecord");function K({inline:t,label:n,open:r,onOpenChange:l,triggerContent:c,triggerClassName:o,popoverClassName:x,popoverAlign:u="end",extra:h,stacked:b=!1,separateTrigger:w=!1,children:k}){const $=g("inline-flex min-h-5 items-center gap-1.5 cursor-pointer hover:bg-bg-3/50 rounded px-1 -mx-1 py-0.5 transition-colors min-w-0 max-w-full text-left","focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-focus",o);if(w){const v=(0,e.jsx)("button",{type:"button",className:g($,"shrink-0"),"aria-label":`Edit ${n.toLowerCase()}`,"aria-expanded":r,onClick:t?()=>l(!r):void 0,children:(0,e.jsx)(ws,{className:g("h-3 w-3 text-ink-3",r&&"rotate-180"),"aria-hidden":!0})});return(0,e.jsxs)("div",{children:[(0,e.jsxs)(I,{label:n,wrap:b,children:[(0,e.jsxs)("div",{className:"flex min-w-0 max-w-full items-start gap-1.5",children:[c,t?v:(0,e.jsxs)(la,{open:r,onOpenChange:l,children:[(0,e.jsx)(aa,{asChild:!0,children:v}),(0,e.jsx)(ra,{className:g("p-1",x),align:u,collisionPadding:16,children:k})]})]}),h]}),t&&r?(0,e.jsx)("div",{className:g("rounded-md border border-line bg-bg-2 p-1 mb-2",x),children:k}):null]})}return t?(0,e.jsxs)("div",{children:[(0,e.jsxs)(I,{label:n,wrap:b,children:[(0,e.jsxs)("button",{className:g($,b&&"items-start"),onClick:a(()=>l(!r),"onClick"),"aria-expanded":r,children:[c,(0,e.jsx)(ws,{className:g("ml-auto h-3 w-3 shrink-0 text-ink-3 transition-transform",r&&"rotate-180"),"aria-hidden":!0})]}),h]}),r&&(0,e.jsx)("div",{className:g("rounded-md border border-line bg-bg-2 p-1 mb-2",x),children:k})]}):(0,e.jsxs)(I,{label:n,wrap:b,children:[(0,e.jsxs)(la,{open:r,onOpenChange:l,children:[(0,e.jsx)(aa,{asChild:!0,children:(0,e.jsxs)("button",{className:g($,b&&"items-start"),"aria-expanded":r,children:[c,(0,e.jsx)(ws,{className:g("ml-auto h-3 w-3 shrink-0 text-ink-3 transition-transform",r&&"rotate-180"),"aria-hidden":!0})]})}),(0,e.jsx)(ra,{className:g("p-1",x),align:u,collisionPadding:16,children:k})]}),h]})}a(K,"PropertyPicker");var Ic={origin:"origin",work:"work",reference:"reference"};function Ac({issueId:t}){const n=Ql(),{data:r}=A({queryKey:j.instance.experimentalSettings,queryFn:a(()=>$a.getExperimental(),"queryFn")}),l=r?.enableCases===!0,c=A({queryKey:j.cases.forIssue(t),queryFn:a(()=>$o.listForIssue(t),"queryFn"),enabled:l&&!!t});if(!l)return null;const o=c.data??[];return c.isError?(0,e.jsxs)("section",{className:"space-y-2",children:[(0,e.jsx)("h3",{className:"text-xs font-semibold uppercase tracking-wide text-ink-3",children:"Cases"}),(0,e.jsx)("p",{className:"text-sm text-bad",children:"Could not load linked cases."})]}):o.length===0?null:(0,e.jsxs)("section",{className:"space-y-2",children:[(0,e.jsx)("h3",{className:"text-xs font-semibold uppercase tracking-wide text-ink-3",children:"Cases"}),(0,e.jsx)("div",{className:"space-y-1",children:o.map(x=>(0,e.jsxs)(V,{to:n(x.case.identifier),className:"flex items-center gap-2 rounded-md border border-line px-2.5 py-1.5 text-sm transition-colors hover:bg-bg-3/50",children:[(0,e.jsx)("span",{className:"font-mono text-xs text-ink-3 shrink-0",children:x.case.identifier}),(0,e.jsx)("span",{className:"min-w-0 flex-1 truncate",title:x.case.title,children:x.case.title}),(0,e.jsx)(se,{variant:"secondary",className:"shrink-0",children:Ic[x.role]}),(0,e.jsx)(ho,{status:x.case.status})]},x.id))})]})}a(Ac,"IssueCasesPanel");function Sc(t){const n=Math.max(t.lastIndexOf("/"),t.lastIndexOf("\\"));return n<=0||n>=t.length-1?null:{prefix:t.slice(0,n+1),suffix:t.slice(n+1)}}a(Sc,"splitMiddleTruncation");function ka({value:t,icon:n}){const[r,l]=(0,d.useState)(!1),c=(0,d.useRef)(void 0);(0,d.useEffect)(()=>()=>clearTimeout(c.current),[]);const o=(0,d.useCallback)(async()=>{try{await Gi(t),l(!0),clearTimeout(c.current),c.current=setTimeout(()=>l(!1),1500)}catch{}},[t]),x=Sc(t);return(0,e.jsxs)("div",{className:"flex items-center gap-1.5 min-w-0 flex-1",title:t,children:[(0,e.jsx)(n,{className:"h-3.5 w-3.5 text-ink-3 shrink-0"}),(0,e.jsx)("button",{type:"button",className:g("cursor-pointer text-left font-mono text-sm transition-colors hover:text-ink","min-w-0 flex-1"),onClick:o,title:t,"aria-label":`Copy ${t} to clipboard`,children:x?(0,e.jsxs)("span",{className:"flex min-w-0","data-middle-truncate":"true",children:[(0,e.jsx)("span",{className:"min-w-0 truncate",children:x.prefix}),(0,e.jsx)("span",{className:"max-w-1/2 shrink-0 truncate",children:x.suffix})]}):(0,e.jsx)("span",{className:"block truncate",children:t})}),r&&(0,e.jsxs)("span",{className:g("inline-flex items-center gap-1 text-xs shrink-0",Vl.done),role:"status",children:[(0,e.jsx)(ne,{className:"h-3 w-3 shrink-0"}),"Copied"]})]})}a(ka,"TruncatedCopyable");var Ne=50,Pc=5,wa="task-detail-pane-tab h-7 rounded-md text-sm font-medium focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-focus";function Hd({issue:t,childIssues:n=[],issueLinkState:r,onAddSubIssue:l,onUpdate:c,inline:o,hasActiveRun:x=!1,externalObjects:u,externalObjectsLoading:h,externalObjectsError:b,onRetryExternalObjects:w,onCheckMonitorNow:k,checkingMonitorNow:$=!1,documentDeepLink:v,sidePanelContentOnly:Q=!1}){const R=Uo(t.executionPolicy),S=R.success,N=R.success?R.data:null,{selectedCompanyId:X}=Kl(),P=Ia(),p=t.companyId??X,{data:H}=A({queryKey:j.instance.experimentalSettings,queryFn:a(()=>$a.getExperimental(),"queryFn")}),Ie=H===void 0||H.enableManagedSandboxOnly===!0,[Z,xe]=(0,d.useState)(null);(0,d.useEffect)(()=>{if(o){xe(null);return}xe(document.getElementById(co))},[o]);const{data:f}=qa(t.id),{data:z}=A({queryKey:j.issues.acceptedPlanDecompositions(t.id),queryFn:a(()=>E.listAcceptedPlanDecompositions(t.id),"queryFn"),enabled:!0}),{data:Y}=A({queryKey:j.issues.attachments(t.id),queryFn:a(()=>E.listAttachments(t.id),"queryFn"),enabled:!0}),{data:O,isError:B,refetch:Ve}=Ba(t.id),L=(0,d.useMemo)(()=>Do(O),[O]),Qe=(0,d.useMemo)(()=>{const s=new Set(L.map(i=>Ue(At(i))).filter(Boolean));return u?.filter(i=>!s.has(Ue(i.pill.url)))},[u,L]),{data:He}=Ua(t.id),$s=(He??[]).filter(s=>!va(s.key)),me=!!f||(z?.length??0)>0||$s.length>0,Ge=(O?.length??0)>0||$s.length>0||Da(Y,O).length>0,[he,Ae]=(0,d.useState)("properties"),[St,Xe]=(0,d.useState)(()=>new Set),Se=(0,d.useRef)(!1),Za=(0,d.useCallback)(s=>{Se.current=!0,Ae(s)},[]);(0,d.useEffect)(()=>{Xe(new Set)},[t.id]),(0,d.useEffect)(()=>{me&&!Se.current&&Ae("plans")},[me]),(0,d.useEffect)(()=>{if(!v)return;const s=v.tab;s!=="document"&&(Se.current=!0,Ae(s),Xe(i=>{if(!i.has(s))return i;const m=new Set(i);return m.delete(s),m}))},[v]);const[_s,Ms]=(0,d.useState)(!1),[Pt,Rt]=(0,d.useState)(""),[pe,Ye]=(0,d.useState)(null),[Ls,Fs]=(0,d.useState)(!1),[Tt,Bs]=(0,d.useState)(""),[qs,Ds]=(0,d.useState)(!1),[Ja,Ze]=(0,d.useState)("mode"),[Ot,Et]=(0,d.useState)(""),[Je,et]=(0,d.useState)(!1),[zs,tt]=(0,d.useState)(""),[Us,Ks]=(0,d.useState)(!1),[er,st]=(0,d.useState)(!1),[nt,Wt]=(0,d.useState)(!1),[Vs,Qs]=(0,d.useState)(""),[tr,sr]=(0,d.useState)(!1),[nr,Hs]=(0,d.useState)(""),[ar,rr]=(0,d.useState)(!1),[lr,Gs]=(0,d.useState)(""),[ir,at]=(0,d.useState)(!1),[or,Pe]=(0,d.useState)(!1),[cr,dr]=(0,d.useState)(!1),[ur,xr]=(0,d.useState)(!1),[mr,hr]=(0,d.useState)(!1),[$t,Xs]=(0,d.useState)(""),[_t,Ys]=(0,d.useState)(""),[Zs,pr]=(0,d.useState)("#6366f1"),[rt,Js]=(0,d.useState)(()=>ya(N?.monitor?.nextCheckAt)),[en,tn]=(0,d.useState)(N?.monitor?.notes??""),[sn,nn]=(0,d.useState)(N?.monitor?.serviceName??""),[an,rn]=(0,d.useState)(null),[ln,on]=(0,d.useState)(null),[cn,Mt]=(0,d.useState)(null),[Lt,lt]=(0,d.useState)(!1),[Re,Ft]=(0,d.useState)(t.watchdog?.watchdogAgentId??""),[dn,Bt]=(0,d.useState)(t.watchdog?.instructions??""),fe=zs.trim(),Te=Vs.trim();(0,d.useEffect)(()=>{Ks(!1)},[t.id]);const{data:un}=A({queryKey:j.auth.session,queryFn:a(()=>ql.getSession(),"queryFn")}),q=un?.user?.id??un?.session?.userId,{data:D}=A({queryKey:j.agents.list(p),queryFn:a(()=>Wa.list(p),"queryFn"),enabled:!!p}),{data:ge}=A({queryKey:j.access.companyUserDirectory(p),queryFn:a(()=>Li.listUserDirectory(p),"queryFn"),enabled:!!p}),{data:qt}=A({queryKey:j.projects.list(p,{includeArchived:!0}),queryFn:a(()=>Ti.list(p,{includeArchived:!0}),"queryFn"),enabled:!!p}),fr=(0,d.useMemo)(()=>(qt??[]).filter(s=>!s.archivedAt||s.id===t.projectId),[qt,t.projectId]),{orderedProjects:Dt}=oo({projects:fr,companyId:p,userId:q}),{data:zt}=A({queryKey:j.issues.labels(p),queryFn:a(()=>E.listLabels(p),"queryFn"),enabled:!!p}),{data:oe,isFetching:xn}=A({queryKey:j.issues.list(p),queryFn:a(()=>E.list(p),"queryFn"),enabled:!!p&&(nt||Je&&fe.length===0)}),{data:gr,isFetching:br}=A({queryKey:p?j.issues.search(p,fe,void 0,Ne):["issues","blocker-search",fe,Ne],queryFn:a(()=>E.list(p,{q:fe,limit:Ne}),"queryFn"),enabled:!!p&&Je&&fe.length>0}),{data:jr,isFetching:yr}=A({queryKey:p?j.issues.search(p,Te,void 0,Ne):["issues","blocker-search",Te,Ne],queryFn:a(()=>E.list(p,{q:Te,limit:Ne}),"queryFn"),enabled:!!p&&nt&&Te.length>0}),Ut=Ce({mutationFn:a(s=>E.createLabel(p,s),"mutationFn"),onSuccess:a(async s=>{P.setQueryData(j.issues.labels(p),i=>i?i.some(m=>m.id===s.id)?i:[...i,s]:[s]),c({labelIds:[...t.labelIds??[],s.id]}),P.invalidateQueries({queryKey:j.issues.labels(p)}),Ys("")},"onSuccess")}),Kt=Ce({mutationFn:a(()=>E.unarchiveFromInbox(t.id),"mutationFn"),onMutate:a(()=>{Mt(null)},"onMutate"),onSuccess:a(()=>{Mt(null),P.setQueryData(j.issues.detail(t.id),s=>s&&{...s,archivedAt:null,archivedByActorType:null,archivedByAgentId:null,archivedByRunId:null}),P.invalidateQueries({queryKey:j.issues.detail(t.id)}),p&&Ri(P,p)},"onSuccess"),onError:a(s=>{Mt(s instanceof Error&&s.message.trim().length>0?s.message:"Failed to unarchive this issue. Please try again.")},"onError")}),kr=a(s=>{const i=t.labelIds??[];c({labelIds:i.includes(s)?i.filter(m=>m!==s):[...i,s]})},"toggleLabel"),be=a(s=>!s||!D?null:D.find(i=>i.id===s)?.name??s.slice(0,8),"agentName"),mn=a(s=>s?Dt.find(i=>i.id===s)?.name??s.slice(0,8):s?.slice(0,8)??"None","projectName"),wr=t.projectId?Dt.find(s=>s.id===t.projectId)??null:null,je=t.project??wr,{visible:Vt}=mo(),Qt=Vt&&H?.enableIsolatedWorkspaces===!0&&!!je?.executionWorkspacePolicy?.enabled,{data:Ht,isLoading:vr,isError:Nr}=A({queryKey:j.executionWorkspaces.list(p,{projectId:t.projectId??void 0,projectWorkspaceId:t.projectWorkspaceId??void 0,reuseEligible:!0}),queryFn:a(()=>ha.list(p,{projectId:t.projectId??void 0,projectWorkspaceId:t.projectWorkspaceId??void 0,reuseEligible:!0}),"queryFn"),enabled:!!p&&!!t.projectId&&Qt&&qs}),hn=Eo(t,je),Cr=t.executionWorkspacePreference!=null||t.executionWorkspaceSettings!=null,ye=hn==="reuse_existing"?"reuse":Cr&&hn==="isolated_workspace"?"isolated":"default",pn=(0,d.useMemo)(()=>uo(to(Ht??[])).map(s=>({...s,options:s.options.filter(i=>lo(i,Ot))})).filter(s=>s.options.length>0),[Ht,Ot]),fn=(Ht??[]).find(s=>s.id===t.executionWorkspaceId)??t.currentExecutionWorkspace??null,Ir=ye==="isolated"?"New isolated workspace":ye==="reuse"?fn?.name??"Reuse existing workspace":"Default",Ar=ye==="reuse"?fn?.branchName??void 0:void 0,Sr=a(()=>{Ds(!1),Ze("mode"),Et("")},"closeWorkspacePicker"),Gt=a((s,i)=>{const m=Wo(s,i?.id,i?.mode);m&&(c(m),Sr())},"saveWorkspaceSelection"),Xt=(0,d.useMemo)(()=>Nc({issue:t,project:je}),[t,je]),Pr=!!t.executionWorkspaceId&&!Xt,Yt=Xt?null:t.currentExecutionWorkspace?.config?.workspaceRuntime??null,gn=t.currentExecutionWorkspace?.runtimeServices??[],Zt=!!t.currentExecutionWorkspace?.cwd,bn=!!Yt&&Zt,Jt=(0,d.useMemo)(()=>Ul({runtimeConfig:Yt,runtimeServices:gn,canStartServices:bn,canRunJobs:Zt}),[Zt,bn,Yt,gn]),jn=!Xt&&(Jt.services.length>0||Jt.otherServices.length>0),it=Ce({mutationFn:a(s=>{const i=t.currentExecutionWorkspace?.id??t.executionWorkspaceId;if(!i)throw new Error("This task is not attached to a workspace.");return ha.controlRuntimeCommands(i,s.action,s)},"mutationFn"),onSuccess:a((s,i)=>{P.setQueryData(j.executionWorkspaces.detail(s.workspace.id),s.workspace),P.invalidateQueries({queryKey:j.issues.detail(t.id)}),P.invalidateQueries({queryKey:j.projects.detail(s.workspace.projectId)}),P.invalidateQueries({queryKey:j.executionWorkspaces.overview(s.workspace.companyId)}),P.invalidateQueries({queryKey:j.executionWorkspaces.workspaceOperations(s.workspace.id)}),p&&(P.invalidateQueries({queryKey:j.issues.list(p)}),P.invalidateQueries({queryKey:j.executionWorkspaces.list(p)})),on(null),rn(i.action==="run"?"Workspace job completed.":i.action==="stop"?"Workspace service stopped.":i.action==="restart"?"Workspace service restarted.":"Workspace service started.")},"onSuccess"),onError:a(s=>{rn(null),on(s instanceof Error?s.message:"Failed to control workspace commands.")},"onError")}),Rr=it.isPending?it.variables??null:null,yn=t.referencedIssueIdentifiers??[],kn=(0,d.useMemo)(()=>{const s=t.relatedWork?.outbound.map(({issue:i})=>({id:i.id,identifier:i.identifier,title:i.title,status:i.status}))??[];return s.length>0?s:yn.map(i=>({id:i,identifier:i,title:i}))},[t.relatedWork?.outbound,yn]),wn=(0,d.useMemo)(()=>t.relatedWork?.inbound.map(({issue:s})=>({id:s.id,identifier:s.identifier,title:s.title,status:s.status}))??[],[t.relatedWork?.inbound]),Tr=a(s=>{if(!s)return null;const i=qt?.find(m=>m.id===s)??null;return i?Fl(i):`/projects/${s}`},"projectLink"),vn=(0,d.useMemo)(()=>Qi(),[_s]),Nn=(0,d.useMemo)(()=>Vi((D??[]).filter(ma),vn),[D,vn]),Or=(0,d.useMemo)(()=>fo(),[Ls]),es=(0,d.useMemo)(()=>ao(ge?.users),[ge?.users]),Er=(0,d.useMemo)(()=>po(ge?.users),[ge?.users]),Cn=(0,d.useMemo)(()=>so(ge?.users,{excludeUserIds:[q,t.createdByUserId]}),[ge?.users,q,t.createdByUserId]),Oe=t.assigneeAgentId?D?.find(s=>s.id===t.assigneeAgentId):null,ts=t.assigneeAdapterOverrides??null,Wr=ts!==null,ss=Cc(ts?.adapterConfig),$r=typeof ss.model=="string"?ss.model:"",_r=String(ss.effort??""),Mr=a(s=>{c({assigneeAdapterOverrides:s})},"updateAssigneeAdapterOverrides"),Lr=(()=>{if(ts?.adapterConfig){const s=[$r,_r].filter(Boolean),i=s.length>0?`Override · ${s.join(" · ")}`:"Override · adapter options";return(0,e.jsx)("span",{className:"min-w-0 truncate text-sm",title:`Task-level model override — replaces the agent's primary model for this issue.${s.length>0?` (${s.join(" · ")})`:""}`,children:i})}return(0,e.jsx)("span",{className:"text-sm text-ink-3",children:"Primary model"})})(),Fr=(0,e.jsxs)("div",{className:"w-full space-y-2 p-2",children:[(0,e.jsx)("p",{className:"text-xs text-ink-3",children:Oe?"This assignee's adapter does not expose editable task overrides.":"Select a compatible assignee agent to edit these overrides."}),(0,e.jsx)("button",{type:"button",className:"inline-flex items-center rounded-full border border-line px-2 py-0.5 text-xs text-ink-3 transition-colors hover:bg-bg-3/50 hover:text-ink",onClick:a(()=>Mr(null),"onClick"),children:"Clear adapter options"})]}),J=xa(t.executionPolicy,"review"),ee=xa(t.executionPolicy,"approval"),Ee=a(s=>Bi(s,q,es),"userLabel"),In=a(s=>Fi(s,es),"actualUserLabel"),ns=Ee(t.assigneeUserId),We=In(t.createdByUserId),U=Dl(t),An=U?.kind==="user"?Er.get(U.id):null,Sn=U?.kind==="user"&&U.viaAgentId?be(U.viaAgentId)??U.viaAgentId.slice(0,8):null,as=t.assigneeAgentId?`agent:${t.assigneeAgentId}`:t.assigneeUserId?`user:${t.assigneeUserId}`:"",Br=(0,d.useMemo)(()=>({agentMap:new Map((D??[]).map(s=>[s.id,s])),resolveUserLabel:a(s=>Ee(s),"resolveUserLabel")}),[D,es,q]),Pn=(0,d.useMemo)(()=>Co({runningAgentName:Oe?.name??null}),[Oe?.name]),Rn=a(()=>{Ms(!1),Rt(""),Ye(null)},"closeAssigneePicker"),Tn=a((s,i)=>{i?.(),c(s),Rn()},"applyAssignee"),rs=a((s,i,m)=>{if((s.assigneeAgentId?`agent:${s.assigneeAgentId}`:s.assigneeUserId?`user:${s.assigneeUserId}`:"")===as){Rn();return}if(x){Ye({...s,label:i,track:m});return}Tn(s,m)},"selectAssignee"),ls=a((s,i)=>{S&&c({executionPolicy:ua({existingPolicy:t.executionPolicy??null,reviewerValues:s,approverValues:i})})},"updateExecutionPolicy"),ot=a((s,i)=>{const m=s==="review"?J:ee,y=m.includes(i)?m.filter(te=>te!==i):[...m,i];ls(s==="review"?y:J,s==="approval"?y:ee)},"toggleExecutionParticipant"),On=a(s=>s.startsWith("agent:")?be(s.slice(6))??s.slice(6,14):s.startsWith("user:")?Ee(s.slice(5))??"User":s,"executionParticipantLabel"),En=J.map(s=>On(s)).join(", "),Wn=ee.map(s=>On(s)).join(", "),qr=J.length>0?(0,e.jsx)("span",{className:"text-sm truncate min-w-0",title:En,children:En}):(0,e.jsx)("span",{className:"text-sm text-ink-3",children:"None"}),Dr=ee.length>0?(0,e.jsx)("span",{className:"text-sm truncate min-w-0",title:Wn,children:Wn}):(0,e.jsx)("span",{className:"text-sm text-ink-3",children:"None"}),ct=To(t.reviewPolicy),$n=t.executionState?.status==="changes_requested"&&t.executionState.currentStageType?t.executionState.currentStageType:t.executionState?null:J.length>0?"review":ee.length>0?"approval":null,_n=a(s=>(0,e.jsx)(I,{label:"",children:(0,e.jsx)("button",{type:"button",className:"inline-flex items-center rounded-full border border-line px-2 py-0.5 text-xs text-ink-3 transition-colors hover:bg-bg-3/50 hover:text-ink",onClick:a(()=>c({status:"in_review"}),"onClick"),children:s==="review"?"Run review now":"Run approval now"})}),"runExecutionButton"),is=(()=>{if(!t.executionState?.currentStageType)return null;const s=t.executionState.currentStageType==="review"?"Review":"Approval",i=t.executionState.currentParticipant,m=i?i.type==="agent"?be(i.agentId??null):Ee(i.userId??null):null;return t.executionState.status==="changes_requested"?`${s} requested changes${m?` by ${m}`:""}`:`${s} pending${m?` with ${m}`:""}`})();(0,d.useEffect)(()=>{Js(ya(N?.monitor?.nextCheckAt)),tn(N?.monitor?.notes??""),nn(N?.monitor?.serviceName??"")},[N?.monitor?.nextCheckAt,N?.monitor?.notes,N?.monitor?.serviceName]),(0,d.useEffect)(()=>{Lt||(Ft(t.watchdog?.watchdogAgentId??""),Bt(t.watchdog?.instructions??""))},[t.watchdog?.watchdogAgentId,t.watchdog?.instructions,Lt]);const zr=(0,d.useMemo)(()=>(D??[]).filter(ma).map(s=>({id:s.id,label:s.name,searchText:`${s.name} ${s.role} ${s.title??""}`})),[D]),$e=Ce({mutationFn:a(s=>E.upsertWatchdog(t.id,s),"mutationFn"),onSuccess:a(s=>{P.setQueryData(j.issues.detail(t.id),i=>i&&{...i,watchdog:s}),P.invalidateQueries({queryKey:j.issues.detail(t.id)}),lt(!1)},"onSuccess")}),_e=Ce({mutationFn:a(()=>E.deleteWatchdog(t.id),"mutationFn"),onSuccess:a(()=>{P.setQueryData(j.issues.detail(t.id),s=>s&&{...s,watchdog:null}),P.invalidateQueries({queryKey:j.issues.detail(t.id)}),lt(!1)},"onSuccess")}),Ur=a(()=>{Re&&$e.mutate({agentId:Re,instructions:dn.trim()||null})},"saveWatchdog"),Kr=a(()=>{t.watchdog?_e.mutate():lt(!1),Ft(""),Bt("")},"removeWatchdog"),Mn=$e.error instanceof Error?$e.error.message:_e.error instanceof Error?_e.error.message:null,Me=(n??[]).find(s=>s.id===t.watchdog?.watchdogIssueId),Vr=t.watchdog?(0,e.jsxs)("span",{className:"inline-flex min-w-0 max-w-full items-center gap-1.5 text-sm",title:t.watchdog.instructions?.trim()||void 0,children:[(()=>{const s=(D??[]).find(i=>i.id===t.watchdog?.watchdogAgentId);return s?(0,e.jsx)(ve,{agent:s,size:16,className:"h-3.5 w-3.5 shrink-0 text-ink-3"}):null})(),(0,e.jsx)("span",{className:"shrink-0 max-w-40 truncate",children:be(t.watchdog.watchdogAgentId)}),t.watchdog.instructions?.trim()?(0,e.jsxs)("span",{className:"min-w-0 flex-1 truncate text-ink-3",children:["· ",t.watchdog.instructions.trim()]}):null,t.watchdog.status==="disabled"?(0,e.jsx)("span",{className:"shrink-0 text-xs text-ink-3",children:"(disabled)"}):null]}):(0,e.jsx)("span",{className:"text-sm text-ink-3",children:"None"}),Qr=void 0,Hr=(0,e.jsxs)("div",{className:"space-y-3 p-2",children:[(0,e.jsxs)("div",{className:"space-y-1.5",children:[(0,e.jsx)("div",{className:"text-xs font-medium text-ink",children:"Watchdog agent"}),(0,e.jsx)(Hi,{value:Re,options:zr,placeholder:"Select agent",noneLabel:"No watchdog agent",searchPlaceholder:"Search agents...",emptyMessage:"No agents found.",onChange:Ft,renderTriggerValue:a(s=>{if(!s)return(0,e.jsx)("span",{className:"text-ink-3",children:"Select agent"});const i=(D??[]).find(m=>m.id===s.id);return(0,e.jsxs)(e.Fragment,{children:[i?(0,e.jsx)(ve,{agent:i,size:16,className:"h-3 w-3 shrink-0 text-ink-3"}):null,(0,e.jsx)("span",{className:"truncate",children:s.label})]})},"renderTriggerValue"),renderOption:a(s=>{const i=(D??[]).find(m=>m.id===s.id);return(0,e.jsxs)(e.Fragment,{children:[i?(0,e.jsx)(ve,{agent:i,size:16,className:"h-3 w-3 shrink-0 text-ink-3"}):null,(0,e.jsx)("span",{className:"truncate",children:s.label})]})},"renderOption")})]}),(0,e.jsxs)("div",{className:"space-y-1.5",children:[(0,e.jsxs)("div",{className:"text-xs font-medium text-ink",children:["Instructions ",(0,e.jsx)("span",{className:"font-normal text-ink-3",children:"(optional)"})]}),(0,e.jsx)(Di,{value:dn,onChange:a(s=>Bt(s.target.value),"onChange"),placeholder:"What should the watchdog watch for and how should it keep work moving?",rows:4,className:"text-xs"})]}),Me?(0,e.jsxs)("div",{className:"text-xs text-ink-3",children:["Watchdog task:"," ",(0,e.jsx)(V,{to:`/issues/${Me.id}`,className:"text-accent hover:underline",children:Me.identifier??"View task"})]}):null,Mn?(0,e.jsx)("div",{className:"rounded border border-bad/40 bg-bad/10 px-2 py-1 text-xs text-bad",children:Mn}):null,(0,e.jsxs)("div",{className:"flex items-center justify-between",children:[(0,e.jsx)("button",{type:"button",className:"text-xs text-ink-3 hover:text-bad transition-colors disabled:opacity-50",disabled:_e.isPending||!t.watchdog&&!Re,onClick:Kr,children:_e.isPending?"Removing…":"Remove"}),(0,e.jsx)(W,{type:"button",size:"sm",className:"h-7 text-xs",disabled:!Re||$e.isPending,onClick:Ur,children:$e.isPending?"Saving…":t.watchdog?"Update":"Set watchdog"})]})]}),Ln=a(s=>{if(!S)return;const i=ua({existingPolicy:t.executionPolicy??null,reviewerValues:J,approverValues:ee});if(!i&&!s){c({executionPolicy:null});return}const{monitor:m,...y}=i??{};c({executionPolicy:{...y,mode:i?.mode??t.executionPolicy?.mode??"normal",commentRequired:!0,stages:i?.stages??[],...s?{monitor:s}:{}}})},"updateMonitor"),Gr=a(()=>{if(!rt)return;const s=new Date(rt);if(Number.isNaN(s.getTime()))return;const i=sn.trim()||null;Ln({nextCheckAt:s.toISOString(),notes:en.trim()||null,scheduledBy:"board",kind:i?"external_service":null,serviceName:i,externalRef:null}),at(!1)},"saveMonitor"),Fn=a(()=>{Ln(null),at(!1)},"clearMonitor"),ce=t.executionState?.monitor??null,G=ce?.nextCheckAt??t.monitorNextCheckAt??N?.monitor?.nextCheckAt??null,ke=t.monitorAttemptCount??ce?.attemptCount??0,dt=t.monitorLastTriggeredAt??ce?.lastTriggeredAt??null,Xr=N?.monitor?.serviceName??ce?.serviceName??null,Yr=N?.monitor?.notes??ce?.notes??null,os=eo(G),cs=G?Zi(G,os):null,Zr=cs==="due now",Jr=!!cs?.startsWith("overdue by "),el=G?Yi(G,os):ce?.status==="cleared"?"Cleared":"None",Bn=G?Zr?"checking momentarily…":`${Ji(G,{},os)}${Jr?" · fires on next tick":ke>0?` · Attempt ${ke}`:""}`:ce?.status==="cleared"?[dt?`last checked ${jt(dt)}`:null,ke>0?`after attempt ${ke}`:null].filter(Boolean).join(" · "):null,tl=(0,e.jsx)(Ai,{children:(0,e.jsxs)(Si,{open:or,onOpenChange:Pe,children:[(0,e.jsx)(Ci,{asChild:!0,children:(0,e.jsxs)("span",{className:"inline-flex min-w-0 items-start gap-1.5","data-testid":"monitor-row-trigger",onClick:a(()=>Pe(!1),"onClick"),children:[G?(0,e.jsx)(Sa,{className:"mt-0.5 h-3.5 w-3.5 shrink-0 text-ink-3","aria-hidden":"true"}):null,(0,e.jsxs)("span",{className:"flex min-w-0 flex-col items-start",children:[(0,e.jsx)("span",{className:g("text-sm",G?"font-semibold text-ink":"text-ink-3"),children:el}),Bn?(0,e.jsx)("span",{className:"text-xs text-ink-3",children:Bn}):null]})]})}),G?(0,e.jsxs)(Ii,{side:"left",className:"w-80 border border-line bg-bg-2 p-0 text-ink shadow-md",onPointerDown:a(s=>s.stopPropagation(),"onPointerDown"),children:[(0,e.jsxs)("div",{className:"flex items-center justify-between border-b border-line px-4 py-3",children:[(0,e.jsx)("span",{className:"text-sm font-semibold",children:"Monitor"}),ke>0?(0,e.jsxs)("span",{className:"text-xs text-ink-3",children:["Attempt ",ke]}):null]}),(0,e.jsxs)("div",{className:"space-y-3 px-4 py-3 text-left",children:[(0,e.jsxs)("div",{children:[(0,e.jsx)("div",{className:"text-xs text-ink-3",children:"Next check"}),(0,e.jsx)("div",{className:"text-sm",children:da(G)}),(0,e.jsx)("div",{className:"text-xs text-ink-3",children:cs})]}),(0,e.jsxs)("div",{children:[(0,e.jsx)("div",{className:"text-xs text-ink-3",children:"Watching"}),(0,e.jsx)("div",{className:"text-sm",children:Xr??"—"})]}),(0,e.jsxs)("div",{children:[(0,e.jsx)("div",{className:"text-xs text-ink-3",children:"Notes"}),(0,e.jsx)("div",{className:"whitespace-normal text-sm",children:Yr??"—"})]}),(0,e.jsxs)("div",{children:[(0,e.jsx)("div",{className:"text-xs text-ink-3",children:"Last triggered"}),(0,e.jsx)("div",{className:"text-sm",children:dt?da(dt):"— not yet triggered"})]})]}),(0,e.jsxs)("div",{className:"flex gap-2 border-t border-line px-4 py-3",children:[k?(0,e.jsx)(W,{type:"button",size:"sm",variant:"secondary",disabled:$,onClick:a(()=>{Pe(!1),k()},"onClick"),children:$?"Checking…":"Check now"}):null,(0,e.jsx)(W,{type:"button",size:"sm",variant:"secondary",onClick:a(()=>{Pe(!1),at(!0)},"onClick"),children:"Edit"}),(0,e.jsx)(W,{type:"button",size:"sm",variant:"secondary",onClick:a(()=>{Pe(!1),Fn()},"onClick"),children:"Clear"})]})]}):null]})}),C=t.scheduledRetry??null,F=vo(t.id),qn=C&&C.status==="scheduled_retry",Dn=C?.scheduledRetryAt?new Date(C.scheduledRetryAt).toISOString():null,Le=Dn?Xi(Dn):null,ut=C?.scheduledRetryAt?M(C.scheduledRetryAt):null,zn=C?.scheduledRetryAt?Wl(new Date(C.scheduledRetryAt)):null,Un=So(C?.scheduledRetryReason),xt=typeof C?.scheduledRetryAttempt=="number"&&Number.isFinite(C.scheduledRetryAttempt)&&C.scheduledRetryAttempt>0?C.scheduledRetryAttempt:null,ds=C?.scheduledRetryReason==="max_turns_continuation",sl=(()=>{if(!Le)return"Pending schedule";const s=ds?"Continuation":"Retry";return Le==="now"?`${s} due now`:`${s} ${Le}`})(),us=F.isSuccess&&(F.data?.outcome==="promoted"||F.data?.outcome==="already_promoted"),nl=xt!==null?(0,e.jsxs)("span",{className:"whitespace-nowrap shrink-0 text-xs text-ink-3",children:["Attempt ",xt]}):null,al=(0,e.jsxs)("span",{className:"inline-flex min-w-0 items-center gap-1.5",children:[(0,e.jsx)(oa,{className:"h-3.5 w-3.5 shrink-0 text-ink-3","aria-hidden":"true"}),(0,e.jsx)("span",{className:"min-w-0 truncate text-sm text-ink",title:ut??void 0,children:sl}),zn?(0,e.jsx)("span",{className:"shrink-0 text-xs text-ink-3",title:ut??void 0,children:zn}):null]}),Kn=C?(0,e.jsxs)("div",{className:"flex w-full flex-col gap-2 p-2 text-xs",children:[(0,e.jsxs)("div",{className:"flex items-center justify-between",children:[(0,e.jsx)("span",{className:"text-sm font-medium text-ink",children:ds?"Scheduled continuation":"Scheduled retry"}),xt!==null?(0,e.jsxs)("span",{className:"text-xs text-ink-3",children:["Attempt ",xt]}):null]}),(0,e.jsxs)("dl",{className:"grid grid-cols-(--gtc-15) gap-y-1",children:[Un?(0,e.jsxs)(e.Fragment,{children:[(0,e.jsx)("dt",{className:"text-ink-3",children:"Reason"}),(0,e.jsx)("dd",{className:"text-ink",children:Un})]}):null,ut?(0,e.jsxs)(e.Fragment,{children:[(0,e.jsx)("dt",{className:"text-ink-3",children:"Next attempt"}),(0,e.jsxs)("dd",{className:"text-ink",children:[ut,Le?(0,e.jsxs)("span",{className:"ml-1 text-ink-3",children:["· ",Le]}):null]})]}):null,C.retryOfRunId?(0,e.jsxs)(e.Fragment,{children:[(0,e.jsx)("dt",{className:"text-ink-3",children:"Replaces run"}),(0,e.jsx)("dd",{className:"text-ink",children:(0,e.jsx)(V,{to:`/agents/${C.agentId}/runs/${C.retryOfRunId}`,className:"font-mono text-ink hover:underline",children:C.retryOfRunId.slice(0,8)})})]}):null,C.agentName?(0,e.jsxs)(e.Fragment,{children:[(0,e.jsx)("dt",{className:"text-ink-3",children:"Agent"}),(0,e.jsx)("dd",{className:"text-ink",children:(0,e.jsx)(V,{to:`/agents/${C.agentId}`,className:"text-ink hover:underline",children:C.agentName})})]}):null,C.error?(0,e.jsxs)(e.Fragment,{children:[(0,e.jsx)("dt",{className:"text-ink-3",children:"Last error"}),(0,e.jsx)("dd",{className:"text-ink break-words",children:C.error})]}):null]}),(0,e.jsx)(Io,{error:F.lastError,onRetry:a(()=>{F.reset(),F.mutate()},"onRetry")}),(0,e.jsx)(Oo,{className:"my-1"}),(0,e.jsxs)("div",{className:"flex items-center justify-between gap-2",children:[(0,e.jsx)(W,{type:"button",size:"sm",variant:"primary",onClick:a(()=>F.mutate(),"onClick"),disabled:F.isPending||us,"data-testid":"issue-scheduled-retry-properties-retry-now",children:F.isPending?(0,e.jsxs)("span",{className:"inline-flex items-center gap-1.5",children:[(0,e.jsx)(Ea,{className:"h-3.5 w-3.5 animate-spin","aria-hidden":"true"}),"Retrying…"]}):us?(0,e.jsxs)("span",{className:"inline-flex items-center gap-1.5",children:[(0,e.jsx)(As,{className:"h-3.5 w-3.5","aria-hidden":"true"}),F.data?.outcome==="already_promoted"?"Already promoted":"Promoted"]}):(0,e.jsxs)("span",{className:"inline-flex items-center gap-1.5",children:[(0,e.jsx)(oa,{className:"h-3.5 w-3.5","aria-hidden":"true"}),"Retry now"]})}),(0,e.jsx)("span",{className:"text-right text-xs text-ink-3",children:F.isPending?"Promoting scheduled retry":us?F.data?.outcome==="already_promoted"?"Already promoted — run starting":"Promoted — run starting":F.data?.outcome==="waiting"&&F.data.scheduledRetry?.runId===C.runId?F.data.message:ds?"Pulls continuation forward immediately":"Pulls retry forward immediately"})]})]}):null,rl=(0,e.jsxs)("div",{className:"flex w-full flex-col gap-2",children:[(0,e.jsxs)("div",{className:"flex flex-col gap-2 md:flex-row",children:[(0,e.jsx)("input",{type:"datetime-local",className:"rounded-md border border-line bg-transparent px-2 py-1 text-xs",value:rt,onChange:a(s=>Js(s.target.value),"onChange")}),(0,e.jsx)("input",{type:"text",className:"min-w-0 flex-1 rounded-md border border-line bg-transparent px-2 py-1 text-xs",placeholder:"What should the agent re-check?",value:en,onChange:a(s=>tn(s.target.value),"onChange")})]}),(0,e.jsxs)("div",{className:"flex flex-col gap-2 md:flex-row",children:[(0,e.jsx)("input",{type:"text",className:"min-w-0 flex-1 rounded-md border border-line bg-transparent px-2 py-1 text-xs",placeholder:"External service",value:sn,onChange:a(s=>nn(s.target.value),"onChange")}),(0,e.jsxs)("div",{className:"flex items-center gap-2",children:[(0,e.jsx)("button",{type:"button",className:"inline-flex items-center rounded-full border border-line px-2 py-0.5 text-xs text-ink-3 transition-colors hover:bg-bg-3/50 hover:text-ink disabled:opacity-50",disabled:!rt,onClick:Gr,children:"Schedule"}),N?.monitor?(0,e.jsx)("button",{type:"button",className:"inline-flex items-center rounded-full border border-line px-2 py-0.5 text-xs text-ink-3 transition-colors hover:bg-bg-3/50 hover:text-ink",onClick:Fn,children:"Clear"}):null]})]})]}),mt=(0,d.useMemo)(()=>{const s=t.labelIds??[];if(s.length===0)return t.labels??[];const i=new Map;for(const m of zt??[])i.set(m.id,m);for(const m of t.labels??[])i.set(m.id,m);return s.map(m=>i.get(m)).filter(m=>!!m)},[t.labelIds,t.labels,zt]),ll=mt.length>0?(0,e.jsxs)("div",{className:"flex min-w-0 flex-col items-start gap-1",children:[mt.slice(0,3).map(s=>(0,e.jsx)(ba,{className:"border-0",style:{backgroundColor:`${s.color}22`,color:s.color},children:s.name},s.id)),mt.length>3&&(0,e.jsxs)(se,{variant:"outline",className:"border-line text-ink-3",children:["+",mt.length-3," more"]})]}):(0,e.jsx)("span",{className:"text-sm text-ink-3",children:"None"}),il=(0,e.jsxs)(e.Fragment,{children:[(0,e.jsx)("input",{className:"w-full px-2 py-1.5 text-xs bg-transparent outline-none border-b border-line mb-1 placeholder:text-ink-3/50",placeholder:"Search labels...",value:$t,onChange:a(s=>Xs(s.target.value),"onChange"),autoFocus:!o}),(0,e.jsx)("div",{className:"max-h-44 overflow-y-auto overscroll-contain space-y-0.5",children:(zt??[]).filter(s=>$t.trim()?s.name.toLowerCase().includes($t.toLowerCase()):!0).map(s=>{const i=(t.labelIds??[]).includes(s.id);return(0,e.jsxs)("button",{className:g("flex items-center gap-2 w-full px-2 py-1.5 text-xs rounded hover:bg-bg-3/50 text-left",i&&"bg-bg-3"),onClick:a(()=>kr(s.id),"onClick"),children:[(0,e.jsx)("span",{className:"h-2.5 w-2.5 rounded-full shrink-0",style:{backgroundColor:s.color}}),(0,e.jsx)("span",{className:"truncate flex-1",children:s.name}),i&&(0,e.jsx)(ne,{className:"h-3.5 w-3.5 shrink-0 text-ink","aria-hidden":"true"})]},s.id)})}),(0,e.jsxs)("div",{className:"mt-2 border-t border-line pt-2 space-y-1",children:[(0,e.jsxs)("div",{className:"flex items-center gap-1",children:[(0,e.jsx)("input",{className:"h-7 w-7 p-0 rounded bg-transparent",type:"color",value:Zs,onChange:a(s=>pr(s.target.value),"onChange")}),(0,e.jsx)("input",{className:"flex-1 px-2 py-1.5 text-xs bg-transparent outline-none rounded placeholder:text-ink-3/50",placeholder:"New label",value:_t,onChange:a(s=>Ys(s.target.value),"onChange")})]}),(0,e.jsxs)("button",{className:"flex items-center justify-center gap-1.5 w-full px-2 py-1.5 text-xs rounded border border-line hover:bg-bg-3/50 disabled:opacity-50",disabled:!_t.trim()||Ut.isPending,onClick:a(()=>Ut.mutate({name:_t.trim(),color:Zs}),"onClick"),children:[(0,e.jsx)(vs,{className:"h-3 w-3"}),Ut.isPending?"Creating…":"Create label"]})]})]}),ol=Oe?(0,e.jsx)(ca,{agent:Oe,size:"sm"}):ns?(0,e.jsxs)(e.Fragment,{children:[(0,e.jsx)(De,{className:"h-3.5 w-3.5 shrink-0 text-ink-3"}),(0,e.jsx)("span",{className:"min-w-0 truncate text-sm",title:ns,children:ns})]}):(0,e.jsx)("span",{className:"text-sm text-ink-3",children:"Unassigned"}),cl=[...q?[{kind:"user",value:`user:${q}`,userId:q,label:"Assign to me",searchText:Ee(q)??""}]:[],...t.createdByUserId&&t.createdByUserId!==q?[{kind:"user",value:`user:${t.createdByUserId}`,userId:t.createdByUserId,label:We?`Assign to ${We}`:"Assign to requester",searchText:We??"requester"}]:[],...Cn.map(s=>({kind:"user",value:s.id,userId:s.id.slice(5),label:s.label,searchText:s.searchText??""}))],dl=Nn.map(s=>({kind:"agent",value:`agent:${s.id}`,agent:s,label:s.name,searchText:`${s.name} ${s.role} ${s.title??""}`})),xs=a((s,i)=>Pt.trim()?`${s} ${i}`.toLowerCase().includes(Pt.toLowerCase()):!0,"matchesAssigneeSearch"),ms=a(s=>(0,e.jsxs)("button",{className:g("flex items-center gap-2 w-full px-2 py-1.5 text-xs rounded hover:bg-bg-3/50 text-left",s.value===as&&"bg-bg-3"),onClick:a(()=>{s.kind==="agent"?rs({assigneeAgentId:s.agent.id,assigneeUserId:null},s.label,()=>Ki(s.agent.id,p??void 0)):s.kind==="user"?rs({assigneeAgentId:null,assigneeUserId:s.userId},s.label,()=>Ui(s.userId,p??void 0)):rs({assigneeAgentId:null,assigneeUserId:null},s.label)},"onClick"),children:[s.kind==="agent"?(0,e.jsx)(ve,{agent:s.agent,size:16,className:"shrink-0 h-3 w-3 text-ink-3"}):s.kind==="user"?(0,e.jsx)(De,{className:"h-3 w-3 shrink-0 text-ink-3"}):null,(0,e.jsx)("span",{className:"min-w-0 flex-1 truncate",children:s.label}),s.value===as?(0,e.jsx)(ne,{className:"ml-auto h-3.5 w-3.5 shrink-0 text-ink","aria-hidden":"true"}):null]},s.value||"__none__"),"renderAssigneeOption"),hs=cl.filter(s=>xs(s.label,s.searchText)),ps=dl.filter(s=>xs(s.label,s.searchText)),Vn=xs("No assignee",""),Qn=a(s=>(0,e.jsx)("div",{className:"px-2 pb-0.5 pt-1.5 text-xs font-semibold uppercase tracking-wide text-ink-3",children:s}),"sectionHeader"),ul=pe?(0,e.jsx)("div",{className:"space-y-2 p-1",children:(0,e.jsx)(Ao,{copy:Pn,to:{agentId:pe.assigneeAgentId,userId:pe.assigneeUserId},resolvers:Br,onConfirm:a(()=>Tn({assigneeAgentId:pe.assigneeAgentId,assigneeUserId:pe.assigneeUserId},pe.track),"onConfirm"),onCancel:a(()=>Ye(null),"onCancel")})}):(0,e.jsxs)(e.Fragment,{children:[x?(0,e.jsx)("div",{className:"px-1 pt-1",children:(0,e.jsx)(No,{copy:Pn})}):null,(0,e.jsx)("input",{className:"w-full px-2 py-1.5 text-xs bg-transparent outline-none border-b border-line mb-1 placeholder:text-ink-3/50",placeholder:"Search assignees...",value:Pt,onChange:a(s=>Rt(s.target.value),"onChange"),autoFocus:!o}),(0,e.jsxs)("div",{className:"max-h-56 overflow-y-auto overscroll-contain",children:[Vn?ms({kind:"none",value:"",label:"No assignee",searchText:""}):null,ps.length>0?(0,e.jsxs)(e.Fragment,{children:[Qn("Agents"),ps.map(s=>ms(s))]}):null,hs.length>0?(0,e.jsxs)(e.Fragment,{children:[Qn("Board users"),hs.map(s=>ms(s))]}):null,!Vn&&ps.length===0&&hs.length===0?(0,e.jsx)("div",{className:"px-2 py-2 text-xs text-ink-3",children:"No matches."}):null]})]}),Hn=a((s,i,m,y,te)=>(0,e.jsxs)(e.Fragment,{children:[(0,e.jsx)("input",{className:"w-full px-2 py-1.5 text-xs bg-transparent outline-none border-b border-line mb-1 placeholder:text-ink-3/50",placeholder:`Search ${s==="review"?"reviewers":"approvers"}...`,value:m,onChange:a(_=>y(_.target.value),"onChange"),autoFocus:!o}),(0,e.jsxs)("div",{className:"max-h-48 overflow-y-auto overscroll-contain",children:[(0,e.jsxs)("button",{className:g("flex items-center gap-2 w-full px-2 py-1.5 text-xs rounded hover:bg-bg-3/50",i.length===0&&"bg-bg-3"),onClick:te,children:["No ",s==="review"?"reviewers":"approvers"]}),q&&(0,e.jsxs)("button",{className:g("flex items-center gap-2 w-full px-2 py-1.5 text-xs rounded hover:bg-bg-3/50",i.includes(`user:${q}`)&&"bg-bg-3"),onClick:a(()=>ot(s,`user:${q}`),"onClick"),children:[(0,e.jsx)(De,{className:"h-3 w-3 shrink-0 text-ink-3"}),"Assign to me"]}),t.createdByUserId&&t.createdByUserId!==q&&(0,e.jsxs)("button",{className:g("flex items-center gap-2 w-full px-2 py-1.5 text-xs rounded hover:bg-bg-3/50",i.includes(`user:${t.createdByUserId}`)&&"bg-bg-3"),onClick:a(()=>ot(s,`user:${t.createdByUserId}`),"onClick"),children:[(0,e.jsx)(De,{className:"h-3 w-3 shrink-0 text-ink-3"}),We||"Requester"]}),Cn.filter(_=>m.trim()?`${_.label} ${_.searchText??""}`.toLowerCase().includes(m.toLowerCase()):!0).map(_=>(0,e.jsxs)("button",{className:g("flex items-center gap-2 w-full px-2 py-1.5 text-xs rounded hover:bg-bg-3/50",i.includes(_.id)&&"bg-bg-3"),onClick:a(()=>ot(s,_.id),"onClick"),children:[(0,e.jsx)(De,{className:"h-3 w-3 shrink-0 text-ink-3"}),_.label]},`${s}:${_.id}`)),Nn.filter(_=>m.trim()?_.name.toLowerCase().includes(m.toLowerCase()):!0).map(_=>{const ta=`agent:${_.id}`;return(0,e.jsxs)("button",{className:g("flex items-center gap-2 w-full px-2 py-1.5 text-xs rounded hover:bg-bg-3/50",i.includes(ta)&&"bg-bg-3"),onClick:a(()=>ot(s,ta),"onClick"),children:[(0,e.jsx)(ve,{agent:_,size:16,className:"shrink-0 h-3 w-3 text-ink-3"}),_.name]},`${s}:${_.id}`)})]})]}),"executionParticipantsContent"),xl=t.projectId?(0,e.jsxs)(e.Fragment,{children:[(0,e.jsx)(na,{color:je?.color??null,icon:je?.icon??null,size:"sm"}),(0,e.jsx)("span",{className:"text-sm truncate min-w-0",title:mn(t.projectId),children:mn(t.projectId)})]}):(0,e.jsx)("span",{className:"text-sm text-ink-3",children:"None"}),ml=zi([{id:"",kind:"none",name:"No project",color:null},...Dt.map(s=>({id:s.id,kind:"project",project:s,name:s.name,color:s.color??null}))],t.projectId??"",Or),hl=(0,e.jsxs)(e.Fragment,{children:[(0,e.jsx)("input",{className:"w-full px-2 py-1.5 text-xs bg-transparent outline-none border-b border-line mb-1 placeholder:text-ink-3/50",placeholder:"Search projects...",value:Tt,onChange:a(s=>Bs(s.target.value),"onChange"),autoFocus:!o}),(0,e.jsx)("div",{className:"max-h-48 overflow-y-auto overscroll-contain",children:ml.filter(s=>{if(!Tt.trim())return!0;const i=Tt.toLowerCase();return s.name.toLowerCase().includes(i)}).map(s=>(0,e.jsxs)("button",{className:g("flex items-center gap-2 w-full px-2 py-1.5 text-xs rounded hover:bg-bg-3/50 whitespace-nowrap",s.id===(t.projectId??"")&&"bg-bg-3"),onClick:a(()=>{if(s.kind==="project"){const i=wc(s.project);c({projectId:s.project.id,projectWorkspaceId:kc(s.project),executionWorkspaceId:null,executionWorkspacePreference:Vt?i:null,executionWorkspaceSettings:Vt&&s.project.executionWorkspacePolicy?.enabled?{mode:i}:null})}else c({projectId:null,projectWorkspaceId:null,executionWorkspaceId:null,executionWorkspacePreference:null,executionWorkspaceSettings:null});Fs(!1)},"onClick"),children:[s.kind==="project"?(0,e.jsx)(na,{color:s.project.color??null,icon:s.project.icon??null,size:"xs"}):null,s.name]},s.id||"__none__"))})]}),we=t.blockedBy?.map(s=>s.id)??[],Fe=t.blockedBy??[],ht=t.blocks??[],Gn=Us?ht:ht.slice(0,Pc),pl=ht.length-Gn.length,fl=Fe.length>0?(0,e.jsxs)("div",{className:"flex min-w-0 flex-col items-start gap-1",children:[Fe.slice(0,2).map(s=>(0,e.jsx)(wt,{issue:s,onRemove:a(i=>c({blockedByIssueIds:we.filter(m=>m!==i)}),"onRemove")},s.id)),Fe.length>2?(0,e.jsx)(se,{asChild:!0,variant:"outline",className:"border-line text-ink-3 hover:bg-bg-3/50",children:(0,e.jsxs)("button",{type:"button",onClick:a(()=>et(!0),"onClick"),children:["+",Fe.length-2," more"]})}):null]}):(0,e.jsx)("span",{className:"text-sm text-ink-3",children:"None"}),gl=n.length>0?(0,e.jsxs)("div",{className:"flex min-w-0 flex-col items-start gap-1",children:[n.slice(0,2).map(s=>(0,e.jsx)(wt,{variant:"property",issue:s,className:"min-w-0 max-w-full"},s.id)),n.length>2?(0,e.jsx)(se,{asChild:!0,variant:"outline",className:"border-line text-ink-3 hover:bg-bg-3/50",children:(0,e.jsxs)("button",{type:"button",onClick:a(()=>st(!0),"onClick"),children:["+",n.length-2," more"]})}):null]}):(0,e.jsx)("span",{className:"text-sm text-ink-3",children:"None"}),bl=(0,d.useMemo)(()=>{if(!oe?.length)return new Set;const s=new Map;for(const y of oe){if(!y.parentId)continue;const te=s.get(y.parentId)??[];te.push(y.id),s.set(y.parentId,te)}const i=new Set,m=[...s.get(t.id)??[]];for(;m.length>0;){const y=m.pop();!y||i.has(y)||(i.add(y),m.push(...s.get(y)??[]))}return i},[oe,t.id]),fs=(0,d.useMemo)(()=>t.parentId?oe?.find(s=>s.id===t.parentId)??null:null,[oe,t.parentId]),Be=t.ancestors?.find(s=>s.id===t.parentId),jl=Be?.identifier??fs?.identifier,yl=Be?.title??fs?.title??t.parentId?.slice(0,8),kl=t.parentId?(0,e.jsx)(wt,{variant:"property",issue:hi(Be)?Be:{id:t.parentId,identifier:jl??t.parentId,title:yl??"Parent task",status:Be?.status??fs?.status},className:"min-w-0 max-w-full"}):(0,e.jsx)("span",{className:"text-sm text-ink-3",children:"None"}),Xn=Te.length>0,Yn=((Xn?jr:oe)??[]).filter(s=>s.id!==t.id).filter(s=>!bl.has(s.id)).sort((s,i)=>{const m=`${s.identifier??""} ${s.title}`.trim(),y=`${i.identifier??""} ${i.title}`.trim();return m.localeCompare(y)}),wl=nt&&(Xn?yr:xn),vl=(0,e.jsxs)(e.Fragment,{children:[(0,e.jsx)("input",{className:"w-full px-2 py-1.5 text-xs bg-transparent outline-none border-b border-line mb-1 placeholder:text-ink-3/50",placeholder:"Search tasks...",value:Vs,onChange:a(s=>Qs(s.target.value),"onChange"),autoFocus:!o}),(0,e.jsxs)("div",{className:"max-h-48 overflow-y-auto overscroll-contain",children:[(0,e.jsx)("button",{className:g("flex items-center gap-2 w-full px-2 py-1.5 text-xs rounded hover:bg-bg-3/50",!t.parentId&&"bg-bg-3"),onClick:a(()=>{c({parentId:null}),Wt(!1)},"onClick"),children:"No parent"}),Yn.map(s=>(0,e.jsxs)("button",{className:g("flex w-full items-center gap-2 px-2 py-1.5 text-left text-xs rounded hover:bg-bg-3/50",s.id===t.parentId&&"bg-bg-3"),onClick:a(()=>{c({parentId:s.id}),Wt(!1)},"onClick"),children:[(0,e.jsx)(kt,{status:s.status,className:"h-3 w-3"}),(0,e.jsxs)("span",{className:"truncate",children:[s.identifier?`${s.identifier} `:"",s.title]})]},s.id)),wl?(0,e.jsx)("div",{className:"px-2 py-2 text-xs text-ink-3",children:"Searching tasks..."}):Yn.length===0?(0,e.jsx)("div",{className:"px-2 py-2 text-xs text-ink-3",children:"No matching tasks."}):null]})]}),gs=fe.length>0,Nl=gs?gr:[...t.blockedBy??[],...oe??[]],bs=Array.from(new Map((Nl??[]).filter(s=>s.id!==t.id).map(s=>[s.id,s])).values());gs||bs.sort((s,i)=>{const m=`${s.identifier??""} ${s.title}`.trim(),y=`${i.identifier??""} ${i.title}`.trim();return m.localeCompare(y)});const Cl=Je&&(gs?br:xn),Il=a(s=>{c({blockedByIssueIds:we.includes(s)?we.filter(i=>i!==s):[...we,s]}),et(!1),tt("")},"toggleBlockedBy"),Al=(0,e.jsxs)(e.Fragment,{children:[(0,e.jsx)("input",{className:"w-full px-2 py-1.5 text-xs bg-transparent outline-none border-b border-line mb-1 placeholder:text-ink-3/50",placeholder:"Search tasks...",value:zs,onChange:a(s=>tt(s.target.value),"onChange"),autoFocus:!o,"aria-label":"Search tasks to add as blockers"}),(0,e.jsxs)("div",{className:"max-h-48 overflow-y-auto overscroll-contain",children:[(0,e.jsx)("button",{className:g("flex items-center gap-2 w-full px-2 py-1.5 text-xs rounded hover:bg-bg-3/50",we.length===0&&"bg-bg-3"),onClick:a(()=>{c({blockedByIssueIds:[]}),et(!1),tt("")},"onClick"),children:"No blockers"}),bs.map(s=>{const i=we.includes(s.id);return(0,e.jsxs)("button",{className:g("flex w-full items-center gap-2 px-2 py-1.5 text-left text-xs rounded hover:bg-bg-3/50",i&&"bg-bg-3"),onClick:a(()=>Il(s.id),"onClick"),children:[(0,e.jsx)(kt,{status:s.status,className:"h-3 w-3"}),(0,e.jsxs)("span",{className:"truncate",children:[s.identifier?`${s.identifier} `:"",s.title]}),i&&(0,e.jsx)(ne,{className:"ml-auto h-3.5 w-3.5 shrink-0 text-ink","aria-hidden":"true"})]},s.id)}),Cl?(0,e.jsx)("div",{className:"px-2 py-2 text-xs text-ink-3",children:"Searching tasks..."}):bs.length===0?(0,e.jsx)("div",{className:"px-2 py-2 text-xs text-ink-3",children:"No matching tasks."}):null]})]}),Sl=(0,e.jsxs)(e.Fragment,{children:[(0,e.jsx)("div",{className:"max-h-48 overflow-y-auto overscroll-contain",children:n.length>0?n.map(s=>(0,e.jsxs)(V,{to:`/issues/${s.identifier??s.id}`,state:r,className:"flex w-full items-center gap-2 rounded px-2 py-1.5 text-left text-xs hover:bg-bg-3/50",onClick:a(()=>st(!1),"onClick"),children:[(0,e.jsx)(kt,{status:s.status,className:"h-3 w-3"}),(0,e.jsxs)("span",{className:"min-w-0 truncate",children:[s.identifier?`${s.identifier} `:"",s.title]})]},s.id)):(0,e.jsx)("div",{className:"px-2 py-2 text-xs text-ink-3",children:"No subtasks yet."})}),l?(0,e.jsx)("div",{className:"mt-2 border-t border-line pt-2",children:(0,e.jsxs)("button",{type:"button",className:"flex w-full items-center justify-center gap-1.5 rounded border border-line px-2 py-1.5 text-xs hover:bg-bg-3/50",onClick:a(()=>{st(!1),l()},"onClick"),children:[(0,e.jsx)(vs,{className:"h-3 w-3"}),"Add subtask"]})}):null]}),js=(0,e.jsxs)("div",{className:g("task-detail-properties pl-4"),children:[(0,e.jsxs)(ze,{title:"Work",first:!0,streamlined:!0,children:[(0,e.jsx)(I,{label:"Status",children:(0,e.jsx)(kt,{status:t.status,externalConversationState:t.externalConversationState,glyphContainerClassName:"inline-flex size-6 shrink-0 items-center justify-center",blockerAttention:t.blockerAttention,onChange:a(s=>c({status:s}),"onChange"),showLabel:!0})}),!1,(0,e.jsx)(K,{inline:o,label:"Assignee",open:_s,onOpenChange:a(s=>{Ms(s),s||(Rt(""),Ye(null))},"onOpenChange"),triggerContent:ol,popoverClassName:"w-52",extra:t.assigneeAgentId?(0,e.jsx)(V,{to:`/agents/${t.assigneeAgentId}`,className:"inline-flex items-center justify-center h-5 w-5 rounded hover:bg-bg-3/50 transition-colors text-ink-3 hover:text-ink",onClick:a(s=>s.stopPropagation(),"onClick"),children:(0,e.jsx)(yt,{className:"h-3 w-3"})}):void 0,children:ul}),Wr?(0,e.jsx)(K,{inline:o,label:"Model",open:mr,onOpenChange:hr,triggerContent:Lr,triggerClassName:"min-w-0 max-w-full",popoverClassName:g("max-w-full",o?"w-full":"w-72"),children:Fr}):null,(0,e.jsx)(K,{inline:o,label:"Project",open:Ls,onOpenChange:a(s=>{Fs(s),s||Bs("")},"onOpenChange"),triggerContent:xl,triggerClassName:"min-w-0 max-w-full",popoverClassName:"w-fit min-w-(--sz-11rem)",extra:t.projectId?(0,e.jsx)(V,{to:Tr(t.projectId),className:"inline-flex items-center justify-center h-5 w-5 rounded hover:bg-bg-3/50 transition-colors text-ink-3 hover:text-ink",onClick:a(s=>s.stopPropagation(),"onClick"),children:(0,e.jsx)(yt,{className:"h-3 w-3"})}):void 0,children:hl}),(0,e.jsx)(K,{inline:o,label:"Labels",open:ur,onOpenChange:a(s=>{xr(s),s||Xs("")},"onOpenChange"),triggerContent:ll,triggerClassName:"min-w-0 max-w-full",popoverClassName:"w-64",extra:Qr,stacked:!0,children:il})]}),(0,e.jsxs)(ze,{title:"Relationships",streamlined:!0,children:[(0,e.jsx)(K,{inline:o,label:"Parent",open:nt,onOpenChange:a(s=>{Wt(s),s||Qs("")},"onOpenChange"),triggerContent:kl,triggerClassName:"min-w-0 max-w-full",popoverClassName:"w-72",separateTrigger:!!t.parentId,children:vl}),(0,e.jsx)(K,{inline:o,label:"Blocked by",open:Je,onOpenChange:a(s=>{et(s),s||tt("")},"onOpenChange"),separateTrigger:Fe.length>0,triggerContent:fl,triggerClassName:"min-w-0 max-w-full",popoverClassName:"w-72",stacked:!0,children:Al}),(0,e.jsx)(I,{label:"Blocking",wrap:!0,children:ht.length>0?(0,e.jsxs)("div",{className:"flex flex-col items-start gap-1.5",children:[Gn.map(s=>(0,e.jsx)(wt,{variant:"property",issue:s},s.id)),(0,e.jsx)(Ha,{hiddenCount:pl,expanded:Us,onClick:a(()=>Ks(s=>!s),"onClick")})]}):(0,e.jsx)("span",{className:"text-sm text-ink-3",children:"None"})}),(0,e.jsx)(K,{inline:o,label:"Subtasks",open:er,onOpenChange:st,separateTrigger:n.length>0,triggerContent:gl,triggerClassName:"min-w-0 max-w-full",popoverClassName:"w-72",stacked:!0,children:Sl}),L.length>0||B?(0,e.jsx)(I,{label:"Pull requests",wrap:!0,children:(0,e.jsxs)("div",{className:"flex min-w-0 flex-col gap-2",children:[(0,e.jsx)(zo,{products:L,externalObjects:u?.map(s=>s.pill)}),B?(0,e.jsxs)("span",{className:"text-xs text-ink-3",children:["Couldn’t load pull requests. ",(0,e.jsx)("button",{type:"button",className:"text-accent hover:underline",onClick:a(()=>{Ve()},"onClick"),children:"Retry"})]}):null]})}):null,(0,e.jsx)(yc,{externalObjects:Qe,externalObjectsLoading:h,externalObjectsError:b,onRetryExternalObjects:w})]}),(0,e.jsxs)(ze,{title:"Execution",streamlined:!0,children:[ct?(0,e.jsx)(I,{label:"Approvals",children:(0,e.jsxs)(ba,{title:ct.description,children:[(0,e.jsx)(ct.Icon,{className:"shrink-0 text-ink-3","aria-hidden":!0}),(0,e.jsx)("span",{className:"min-w-0 truncate",children:ct.label})]})}):null,S?(0,e.jsxs)(e.Fragment,{children:[(0,e.jsx)(K,{inline:o,label:"Reviewers",open:tr,onOpenChange:a(s=>{sr(s),s||Hs("")},"onOpenChange"),triggerContent:qr,triggerClassName:"min-w-0 max-w-full",popoverClassName:"w-56",children:Hn("review",J,nr,Hs,()=>ls([],ee))}),$n==="review"&&J.length>0?_n("review"):null,(0,e.jsx)(K,{inline:o,label:"Approvers",open:ar,onOpenChange:a(s=>{rr(s),s||Gs("")},"onOpenChange"),triggerContent:Dr,triggerClassName:"min-w-0 max-w-full",popoverClassName:"w-56",children:Hn("approval",ee,lr,Gs,()=>ls(J,[]))}),$n==="approval"&&ee.length>0?_n("approval"):null]}):(0,e.jsx)(I,{label:"Execution policy",wrap:!0,children:(0,e.jsx)("span",{role:"status",className:"text-sm text-ink-3",children:"Execution policy unavailable. Refresh to try again."})}),is&&(0,e.jsx)(I,{label:"Execution",children:(0,e.jsx)("span",{className:"text-sm truncate min-w-0",title:is,children:is})}),qn&&C?.scheduledRetryReason==="workspace_busy"?(0,e.jsx)(I,{label:"Workspace",children:(0,e.jsx)("span",{className:"text-sm text-ink-3",children:"Waiting for workspace"})}):qn&&Kn?(0,e.jsx)(K,{inline:o,label:"Scheduled retry",open:cr,onOpenChange:dr,triggerContent:al,triggerClassName:"min-w-0 max-w-full",popoverClassName:g("max-w-full",o?"w-full":"w-80 sm:w-(--sz-32rem)"),extra:nl,children:Kn}):null,S?(0,e.jsx)(K,{inline:o,label:"Monitor",open:ir,onOpenChange:at,triggerContent:tl,triggerClassName:"min-w-0 max-w-full",popoverClassName:g("max-w-full",o?"w-full":"w-80 sm:w-(--sz-32rem)"),children:rl}):null,(0,e.jsx)(K,{inline:o,label:"Watchdog",open:Lt,onOpenChange:lt,triggerContent:Vr,triggerClassName:"min-w-0 max-w-full",popoverClassName:g("max-w-full",o?"w-full":"w-80 sm:w-96"),extra:Me?(0,e.jsx)(V,{to:`/issues/${Me.id}`,className:"inline-flex items-center justify-center h-5 w-5 rounded hover:bg-bg-3/50 transition-colors text-ink-3 hover:text-ink",title:"Open watchdog task","aria-label":"Open watchdog task",onClick:a(s=>s.stopPropagation(),"onClick"),children:(0,e.jsx)(yt,{className:"h-3 w-3"})}):void 0,children:Hr})]}),Qt||jn||t.currentExecutionWorkspace?.branchName||t.currentExecutionWorkspace?.cwd||t.executionWorkspaceId?(0,e.jsxs)(ze,{title:"Workspace",streamlined:!0,children:[Qt?(0,e.jsx)(K,{inline:o,label:"Execution",open:qs,onOpenChange:a(s=>{Ds(s),s||(Ze("mode"),Et(""))},"onOpenChange"),triggerContent:(0,e.jsx)("span",{className:"truncate",title:Ar,children:Ir}),triggerClassName:"min-w-0 max-w-full",popoverClassName:g("max-w-full",o?"w-full":"w-72"),children:Ja==="mode"?(0,e.jsxs)(e.Fragment,{children:[(0,e.jsxs)("div",{className:"space-y-0.5",children:[(0,e.jsxs)("button",{type:"button",className:"flex w-full items-center gap-2 rounded px-2 py-1.5 text-left hover:bg-bg-3/50",onClick:a(()=>Gt(null),"onClick"),children:[(0,e.jsxs)("span",{className:"min-w-0 flex-1",children:[(0,e.jsx)("span",{className:"block text-sm",children:"Default"}),(0,e.jsx)("span",{className:"block text-xs text-ink-3",children:"Use the project workspace policy"})]}),ye==="default"?(0,e.jsx)(ne,{className:"h-3.5 w-3.5 shrink-0"}):null]}),(0,e.jsxs)("button",{type:"button",className:"flex w-full items-center gap-2 rounded px-2 py-1.5 text-left hover:bg-bg-3/50",onClick:a(()=>Gt("isolated_workspace"),"onClick"),children:[(0,e.jsxs)("span",{className:"min-w-0 flex-1",children:[(0,e.jsx)("span",{className:"block text-sm",children:"New isolated workspace"}),(0,e.jsx)("span",{className:"block text-xs text-ink-3",children:"Create a fresh workspace on the next run"})]}),ye==="isolated"?(0,e.jsx)(ne,{className:"h-3.5 w-3.5 shrink-0"}):null]}),(0,e.jsxs)("button",{type:"button",className:"flex w-full items-center gap-2 rounded px-2 py-1.5 text-left hover:bg-bg-3/50",onClick:a(()=>Ze("reuse"),"onClick"),children:[(0,e.jsxs)("span",{className:"min-w-0 flex-1",children:[(0,e.jsx)("span",{className:"block text-sm",children:"Reuse existing workspace…"}),(0,e.jsx)("span",{className:"block text-xs text-ink-3",children:"Pick a workspace to reuse"})]}),ye==="reuse"?(0,e.jsx)(ne,{className:"h-3.5 w-3.5 shrink-0"}):null]})]}),(0,e.jsx)("div",{className:"mt-1 border-t border-line px-2 py-1.5 text-xs text-ink-3",children:t.executionWorkspaceId?"Current workspace stays active. Applies on the next run.":"Applies on the next run."})]}):(0,e.jsxs)(e.Fragment,{children:[(0,e.jsxs)("div",{className:"border-b border-line pb-1",children:[(0,e.jsxs)("button",{type:"button",className:"inline-flex items-center gap-1 rounded px-1 py-1 text-xs text-ink-3 hover:bg-bg-3/50 hover:text-ink",onClick:a(()=>Ze("mode"),"onClick"),"aria-label":"Back to workspace options",children:[(0,e.jsx)(ai,{className:"h-3.5 w-3.5"}),"Workspace mode"]}),(0,e.jsx)("input",{className:"block w-full bg-transparent px-2 py-1.5 text-xs outline-none placeholder:text-ink-3/50",placeholder:"Search workspaces...",value:Ot,onChange:a(s=>Et(s.target.value),"onChange"),autoFocus:!o,"aria-label":"Search reusable workspaces"})]}),(0,e.jsx)("div",{className:"max-h-48 overflow-y-auto overscroll-contain py-1",children:vr?(0,e.jsx)("div",{className:"px-2 py-2 text-xs text-ink-3",children:"Loading workspaces..."}):Nr?(0,e.jsx)("div",{className:"px-2 py-2 text-xs text-bad",children:"Failed to load workspaces."}):pn.length===0?(0,e.jsx)("div",{className:"px-2 py-2 text-xs text-ink-3",children:"No matching workspaces."}):pn.map(s=>(0,e.jsxs)("div",{className:"py-1",children:[(0,e.jsx)("div",{className:"px-2 pb-1 text-xs font-medium text-ink-3",children:s.label}),s.options.map(i=>(0,e.jsxs)("button",{type:"button",className:"flex w-full items-center gap-2 rounded px-2 py-1.5 text-left hover:bg-bg-3/50",onClick:a(()=>Gt("reuse_existing",i.workspace),"onClick"),children:[(0,e.jsxs)("span",{className:"min-w-0 flex-1",children:[(0,e.jsx)("span",{className:"block truncate text-sm",children:i.label}),(0,e.jsx)("span",{className:"block truncate text-xs text-ink-3",children:i.description})]}),t.executionWorkspaceId===i.workspaceId?(0,e.jsx)(ne,{className:"h-3.5 w-3.5 shrink-0"}):null]},i.key))]},s.id))}),(0,e.jsx)("div",{className:"border-t border-line px-2 py-1.5 text-xs text-ink-3",children:t.executionWorkspaceId?"Current workspace stays active. Applies on the next run.":"Applies on the next run."})]})}):null,Pr&&t.executionWorkspaceId&&(0,e.jsx)(I,{label:"Workspace",children:(0,e.jsxs)(V,{to:`/execution-workspaces/${t.executionWorkspaceId}`,className:"text-sm text-accent hover:underline inline-flex min-w-0 items-center gap-1.5",children:[(0,e.jsx)(_o,{className:"h-3.5 w-3.5 shrink-0 text-ink-3"}),"View workspace",(0,e.jsx)(yt,{className:"h-3 w-3 shrink-0"})]})}),jn&&(0,e.jsx)(I,{label:"Service",children:(0,e.jsxs)("div",{className:"flex min-w-0 flex-1 flex-col gap-1.5",children:[(0,e.jsx)(zl,{sections:Jt,isPending:it.isPending,pendingRequest:Rr,onAction:a(s=>it.mutate(s),"onAction"),square:!0,align:"start",iconOnly:!0}),an?(0,e.jsx)("span",{className:"text-xs text-ink-3",role:"status",children:an}):null,ln?(0,e.jsx)("span",{className:"text-xs text-bad",role:"alert",children:ln}):null]})}),t.currentExecutionWorkspace?.branchName&&(0,e.jsx)(I,{label:"Branch",children:(0,e.jsx)(ka,{value:t.currentExecutionWorkspace.branchName,icon:It})}),t.currentExecutionWorkspace?.cwd&&!Ie&&(0,e.jsx)(I,{label:"Folder",children:(0,e.jsx)(ka,{value:t.currentExecutionWorkspace.cwd,icon:yi})})]}):null,(0,e.jsxs)(ze,{title:"About",streamlined:!0,children:[U?(0,e.jsx)(I,{label:"Originating",children:U.kind==="agent"?(0,e.jsx)(V,{to:`/agents/${U.id}`,className:"hover:underline",children:(0,e.jsx)(ca,{agent:D?.find(s=>s.id===U.id)??{id:U.id,name:be(U.id)??"Agent"},size:"sm"})}):(0,e.jsxs)("span",{className:"flex min-w-0 items-center gap-1.5",children:[(0,e.jsx)(Pi,{name:In(U.id)??An?.label??"User",avatarUrl:An?.image??null,size:"sm"}),Sn?(0,e.jsxs)("span",{className:"shrink-0 truncate text-xs text-ink-3",children:["via ",Sn]}):null]})}):null,t.startedAt&&(0,e.jsx)(I,{label:"Started",children:(0,e.jsx)("span",{className:"min-w-0 truncate whitespace-nowrap text-sm",title:M(t.startedAt),children:M(t.startedAt)})}),t.completedAt&&(0,e.jsx)(I,{label:"Completed",children:(0,e.jsx)("span",{className:"min-w-0 truncate whitespace-nowrap text-sm",title:M(t.completedAt),children:M(t.completedAt)})}),(0,e.jsx)(I,{label:"Created",children:(0,e.jsx)("span",{className:"min-w-0 truncate whitespace-nowrap text-sm",title:M(t.createdAt),children:M(t.createdAt)})}),(0,e.jsx)(I,{label:"Updated",children:(0,e.jsx)("span",{className:"min-w-0 truncate whitespace-nowrap text-sm",title:jt(t.updatedAt),children:jt(t.updatedAt)})}),t.archivedAt&&t.archivedByActorType==="agent"&&t.archivedByAgentId?(()=>{const s=(D??[]).find(m=>m.id===t.archivedByAgentId),i=be(t.archivedByAgentId);return(0,e.jsx)(I,{label:"Archived",children:(0,e.jsxs)("div",{className:"flex min-w-0 max-w-full flex-col items-start gap-1",children:[(0,e.jsxs)("span",{className:"flex min-w-0 max-w-full items-center gap-1.5 text-sm",title:`Archived by ${i} · ${M(t.archivedAt)}`,children:[s?(0,e.jsx)(ve,{agent:s,size:16,className:"h-3.5 w-3.5 shrink-0 text-ink-3"}):null,(0,e.jsx)("span",{className:"min-w-0 truncate",children:i})]}),(0,e.jsxs)("div",{className:"flex min-w-0 max-w-full items-center gap-2",children:[(0,e.jsx)("span",{className:"shrink-0 text-xs text-ink-3",children:jt(t.archivedAt)}),(0,e.jsxs)("button",{type:"button",className:"inline-flex items-center gap-1 rounded-full border border-line px-2 py-0.5 text-xs text-ink-3 transition-colors hover:bg-bg-3/50 hover:text-ink disabled:opacity-50",onClick:a(()=>Kt.mutate(),"onClick"),disabled:Kt.isPending,children:[(0,e.jsx)(si,{className:"h-3 w-3"}),Kt.isPending?"Unarchiving…":"Unarchive"]})]}),cn?(0,e.jsx)("p",{className:"text-xs text-bad",role:"alert",children:cn}):null]})})})():null,t.requestDepth>0&&(0,e.jsx)(I,{label:"Depth",children:(0,e.jsx)("span",{className:"text-sm font-mono",children:t.requestDepth})})]}),(0,e.jsx)("div",{className:"pt-3",children:(0,e.jsx)(Ac,{issueId:t.id})})]});if(Q)return js;const pt=n.length>0,ft=kn.length>0||wn.length>0,gt=[{value:"properties",label:"Properties",closable:!1},...pt?[{value:"subtasks",label:"Subtasks",count:n.length,closable:!0}]:[],...ft?[{value:"references",label:"References",closable:!0}]:[],...me?[{value:"plans",label:"Plan",closable:!0}]:[],...Ge?[{value:"artifacts",label:"Artifacts",closable:!0}]:[]],bt=gt.filter(s=>s.value==="properties"||!St.has(s.value)),ys=gt.filter(s=>St.has(s.value));if(!pt&&!ft&&!me&&!Ge)return(0,e.jsxs)(e.Fragment,{children:[Z?(0,pa.createPortal)((0,e.jsx)("div",{className:"flex items-center",role:"tablist","aria-label":"Properties panel sections",children:(0,e.jsx)("button",{type:"button",role:"tab","aria-selected":"true",className:g(wa,"inline-flex flex-none items-center bg-bg-3 px-3"),children:"Properties"})}),Z):null,js]});const Zn=he==="plans"&&!me||he==="artifacts"&&!Ge||he==="subtasks"&&!pt||he==="references"&&!ft||St.has(he)?"properties":he,Pl=a(s=>{if(s==="properties"||(Se.current=!0,Xe(y=>{const te=new Set(y);return te.add(s),te}),Zn!==s))return;const i=bt.findIndex(y=>y.value===s),m=bt[i-1]??bt[i+1]??gt[0];Ae(m.value)},"closePaneTab"),Rl=a(s=>{Se.current=!0,Xe(i=>{if(!i.has(s))return i;const m=new Set(i);return m.delete(s),m}),Ae(s)},"reopenPaneTab"),de=!!Z,Tl=Z?g(wa,"min-w-0 flex-1 justify-start overflow-hidden after:hidden"):void 0,Jn=(0,e.jsx)(ei,{variant:"line",className:Z?"min-w-0 flex-1 items-center justify-start gap-0 overflow-hidden p-0 group-data-[orientation=horizontal]/tabs:h-full":"w-full justify-start gap-1",children:(de?bt:gt).map((s,i)=>{const m=(0,e.jsxs)(Jl,{value:s.value,className:g(Tl,de&&"mx-1.5 hover:bg-bg-3/50 group-focus-within/pane-tab:bg-bg-3/50",de&&"px-3"),children:[(0,e.jsx)("span",{className:g(de&&"task-detail-pane-tab-label min-w-0 flex-1 overflow-hidden whitespace-nowrap"),title:s.label,children:s.label}),s.count?(0,e.jsx)("span",{className:"shrink-0 font-mono text-(length:--text-nano) text-ink-3 transition-opacity group-hover/pane-tab:opacity-0 group-focus-within/pane-tab:opacity-0",children:s.count}):null]},de?void 0:s.value);return de?(0,e.jsxs)("div",{"data-slot":"task-detail-pane-tab",className:"group/pane-tab relative flex min-w-0 flex-1 basis-0 items-center",children:[i>0?(0,e.jsx)("span",{"data-slot":"task-detail-pane-tab-divider","aria-hidden":"true",className:"absolute left-0 top-1/2 h-4 w-px -translate-y-1/2 bg-line"}):null,m,s.closable?(0,e.jsx)("button",{type:"button",className:"absolute right-2.5 top-1/2 z-20 inline-flex size-5 -translate-y-1/2 items-center justify-center rounded-sm text-ink-3 opacity-0 transition-opacity hover:bg-bg-3 hover:text-ink focus-visible:opacity-100 focus-visible:outline-none focus-visible:ring-(length:--rad-3) focus-visible:ring-focus group-hover/pane-tab:opacity-100 group-focus-within/pane-tab:opacity-100","aria-label":`Close ${s.label} tab`,onPointerDown:a(y=>{y.preventDefault(),y.stopPropagation()},"onPointerDown"),onClick:a(y=>{y.preventDefault(),y.stopPropagation(),Pl(s.value)},"onClick"),children:(0,e.jsx)(Ni,{className:"size-3.5","aria-hidden":!0})}):null]},s.value):m})}),ea=de?(0,e.jsxs)("div",{className:"flex h-full min-w-0 flex-1 items-center",children:[Jn,(0,e.jsxs)(Zl,{children:[(0,e.jsx)(Xl,{asChild:!0,children:(0,e.jsx)(W,{variant:"ghost",size:"icon-xs",className:"size-6 shrink-0",disabled:ys.length===0,"aria-label":"Open closed sidebar tab",title:ys.length===0?"All sidebar tabs are open":"Open closed sidebar tab",children:(0,e.jsx)(vs,{className:"size-3.5","aria-hidden":!0})})}),(0,e.jsx)(Yl,{align:"start",className:"min-w-(--sz-8rem)",children:ys.map(s=>(0,e.jsx)(Gl,{onClick:a(()=>Rl(s.value),"onClick"),children:s.label},s.value))})]})]}):Jn;return(0,e.jsxs)(ti,{value:Zn,onValueChange:Za,className:"flex min-h-0 flex-col gap-3",children:[Z?(0,pa.createPortal)((0,e.jsx)("div",{className:"group/tabs contents","data-orientation":"horizontal",children:ea}),Z):ea,(0,e.jsx)(qe,{value:"properties",children:js}),pt?(0,e.jsx)(qe,{value:"subtasks",children:(0,e.jsx)(ko,{items:n,onAddSubtask:l,issueLinkState:r})}):null,ft?(0,e.jsx)(qe,{value:"references",children:(0,e.jsx)(yo,{referenced:kn,mentionedIn:wn,issueLinkState:r})}):null,me?(0,e.jsx)(qe,{value:"plans",children:(0,e.jsx)(Ho,{issue:t,inline:o})}):null,Ge?(0,e.jsx)(qe,{value:"artifacts",children:(0,e.jsx)(xc,{issue:t,documentDeepLink:v?.tab==="artifacts"?v:null})}):null]})}a(Hd,"IssueProperties");export{xc as a,zo as c,Bo as d,Lo as f,Ba as g,qa as h,ze as i,Do as l,za as m,ba as n,Ho as o,Da as p,I as r,Ua as s,Hd as t,Ns as u};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
var n=Object.defineProperty;var t=(e,s)=>n(e,"name",{value:s,configurable:!0});import{l as o,n as c,r}from"./queryKeys-BjE39RB_.js";var u="/api/public/share";async function i(e){const s=await fetch(`${u}/${e}`,{method:"GET",credentials:"omit",headers:{Accept:"application/json"}});if(s.status===404)return null;const a=await o(s);if(!s.ok)throw new c(a?.error??`Request failed: ${s.status}`,s.status,a);return a}t(i,"getPublicShareView");var l={getShareLink:t(e=>r.get(`/issues/${e}/share-link`),"getShareLink"),createShareLink:t(e=>r.post(`/issues/${e}/share-link`,{}),"createShareLink"),revokeShareLink:t(e=>r.delete(`/issues/${e}/share-link`),"revokeShareLink"),setCommentPublicShare:t((e,s,a)=>r.patch(`/issues/${e}/comments/${s}/public-share`,{visible:a}),"setCommentPublicShare"),getPublicShare:t(e=>i(encodeURIComponent(e)),"getPublicShare"),getPublicShareIssue:t((e,s)=>i(`${encodeURIComponent(e)}/issues/${encodeURIComponent(s)}`),"getPublicShareIssue")};export{l as t};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
var t=Object.defineProperty;var o=(e,r)=>t(e,"name",{value:r,configurable:!0});import{Hn as c,Wn as u}from"./index-CturclrK.js";function s(e,r){const n=e.currentExecutionWorkspace?.mode??e.executionWorkspaceSettings?.mode??e.executionWorkspacePreference;return e.executionWorkspaceId&&(n==="isolated_workspace"||n==="operator_branch")?"reuse_existing":e.executionWorkspacePreference??e.executionWorkspaceSettings?.mode??c(r)}o(s,"currentWorkspaceSelection");function p(e,r,n){return e==="reuse_existing"&&!r?null:e===null?{executionWorkspacePreference:null,executionWorkspaceId:null,executionWorkspaceSettings:null}:{executionWorkspacePreference:e,executionWorkspaceId:e==="reuse_existing"?r:null,executionWorkspaceSettings:{mode:e==="reuse_existing"?u(n):e,environmentId:null}}}o(p,"buildWorkspaceSelectionUpdate");export{s as n,p as t};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{t as e}from"./createLucideIcon-DFq0_SD5.js";var a={name:"key-round",size:24,node:[["path",{d:"M2.586 17.414A2 2 0 0 0 2 18.828V21a1 1 0 0 0 1 1h3a1 1 0 0 0 1-1v-1a1 1 0 0 1 1-1h1a1 1 0 0 0 1-1v-1a1 1 0 0 1 1-1h.172a2 2 0 0 0 1.414-.586l.814-.814a6.5 6.5 0 1 0-4-4z",key:"1s6t7t"}],["circle",{cx:"16.5",cy:"7.5",r:".5",fill:"currentColor",key:"w0ekpg"}]]};a.node;var o=e(a);export{o as t};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
var s=Object.defineProperty;var a=(r,e)=>s(r,"name",{value:e,configurable:!0});import{i as o}from"./rolldown-runtime-ZpX3ckPj.js";import{l,na as u,ta as d}from"./createLucideIcon-DFq0_SD5.js";import{s as m}from"./dist-BvVm60ff.js";var f=o(u(),1),i=o(d(),1),p=Object.defineProperty,c=a((r,e)=>p(r,"name",{value:e,configurable:!0}),"__name"),b=f.forwardRef(c(a(function(e,n){return(0,i.jsx)(m.label,{...e,ref:n,onMouseDown:a(t=>{t.target.closest("button, input, select, textarea")||(e.onMouseDown?.(t),!t.defaultPrevented&&t.detail>1&&t.preventDefault())},"onMouseDown")})},"Label2"),"Label")),_=b;function w({className:r,...e}){return(0,i.jsx)(_,{"data-slot":"label",className:l("flex items-center gap-2 text-sm leading-none font-medium select-none group-data-[disabled=true]:pointer-events-none group-data-[disabled=true]:opacity-50 peer-disabled:cursor-not-allowed peer-disabled:opacity-50",r),...e})}a(w,"Label");export{w as t};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{t}from"./createLucideIcon-DFq0_SD5.js";var e={name:"layout-dashboard",size:24,node:[["rect",{width:"7",height:"9",x:"3",y:"3",rx:"1",key:"10lvy0"}],["rect",{width:"7",height:"5",x:"14",y:"3",rx:"1",key:"16une8"}],["rect",{width:"7",height:"9",x:"14",y:"12",rx:"1",key:"1hutg5"}],["rect",{width:"7",height:"5",x:"3",y:"16",rx:"1",key:"ldoo1y"}]]};e.node;var h=t(e);export{h as t};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{t as a}from"./createLucideIcon-DFq0_SD5.js";var e={name:"link-2",size:24,node:[["path",{d:"M9 17H7A5 5 0 0 1 7 7h2",key:"8i5ue5"}],["path",{d:"M15 7h2a5 5 0 1 1 0 10h-2",key:"1b9ql8"}],["line",{x1:"8",x2:"16",y1:"12",y2:"12",key:"1jonct"}]]};e.node;var t=a(e);export{t};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{t as e}from"./createLucideIcon-DFq0_SD5.js";var a={name:"link",size:24,node:[["path",{d:"M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71",key:"1cjeqo"}],["path",{d:"M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71",key:"19qd67"}]]};a.node;var t=e(a);export{t};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{t}from"./createLucideIcon-DFq0_SD5.js";var e={name:"list-filter",size:24,node:[["path",{d:"M2 5h20",key:"1fs1ex"}],["path",{d:"M6 12h12",key:"8npq4p"}],["path",{d:"M9 19h6",key:"456am0"}]]};e.node;var i=t(e);export{i as t};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{t as e}from"./createLucideIcon-DFq0_SD5.js";var t={name:"list-todo",size:24,node:[["path",{d:"M13 5h8",key:"a7qcls"}],["path",{d:"M13 12h8",key:"h98zly"}],["path",{d:"M13 19h8",key:"c3s6r1"}],["path",{d:"m3 17 2 2 4-4",key:"1jhpwq"}],["rect",{x:"3",y:"4",width:"6",height:"6",rx:"1",key:"cif1o7"}]]};t.node;var h=e(t);export{h as t};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{t as e}from"./createLucideIcon-DFq0_SD5.js";var a={name:"log-in",size:24,node:[["path",{d:"m10 17 5-5-5-5",key:"1bsop3"}],["path",{d:"M15 12H3",key:"6jk70r"}],["path",{d:"M15 3h4a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2h-4",key:"u53s6r"}]]};a.node;var t=e(a);export{t};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{t as e}from"./createLucideIcon-DFq0_SD5.js";var a={name:"maximize-2",size:24,node:[["path",{d:"M15 3h6v6",key:"1q9fwt"}],["path",{d:"m21 3-7 7",key:"1l2asr"}],["path",{d:"m3 21 7-7",key:"tjx5ai"}],["path",{d:"M9 21H3v-6",key:"wtvkvv"}]]};a.node;var i=e(a);export{i as t};
|